FS#3514 - about hal package and fstab-sync disabling

Attached to Project: Arch Linux
Opened by Morgan LEFIEUX (Comete) - Monday, 21 November 2005, 21:51 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 21 November 2005, 22:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hi,

i've just noticed that fstab-sync has been disabled in hal, so the mount points are not created when plugin an usb stick or external device.
Why this choice, i don't understand ? pmount works well but a lot of apps use /etc/fstab and don't support pmount (xfe, rox-filer, etc... )
I can't imagine telling my users: "Now you have to type pmount /dev/sda /media/usbdisk to access your usb stick..." they don't even know what /dev/sda is and how does linux name external devices !
Could it be possible to enable fstab-sync and pmount together ?
PLEASE...
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 23 November 2005, 13:18 GMT
Reason for closing:  Won't fix
Additional comments about closing:  hal was never meant to be used like this. ivman and pmount are good options to use instead of fstab-sync.
Weird daemons making modifications to files in /etc is a wrong thing, this is more important to us than a filemanager that is limited to the use of /etc/fstab.
Comment by Jan de Groot (JGC) - Monday, 21 November 2005, 22:21 GMT
fstab-sync corrupted my fstab more than three times after plugging a USB device that resulted in a system crash, I couldn't boot the system anymore without recovery media or single user mode. Since pmount can handle these things too, I decided to get rid of fstab-sync forgood. Other distributions do the same, so why shouldn't we do it?
Comment by Morgan LEFIEUX (Comete) - Monday, 21 November 2005, 22:48 GMT
the answer to your question is in mine...
Comment by arjan timmerman (blaasvis) - Tuesday, 22 November 2005, 15:45 GMT
did you look at pmount-hal ?
Comment by Morgan LEFIEUX (Comete) - Tuesday, 22 November 2005, 21:19 GMT
not yet, but could you please tell me if it could replace correctly fstab-sync and how to use it ?

thanks a lot !
Comment by Jan de Groot (JGC) - Tuesday, 22 November 2005, 21:27 GMT
You can use pmount /dev/dvd to mount the DVD device as user, or if you know the hal UDI, you can feed that to pmount-hal. I think the easiest thing to do is install ivman or gnome-volume-manager to automount media detected by hal.
Comment by Morgan LEFIEUX (Comete) - Wednesday, 23 November 2005, 08:44 GMT
I know that i can use pmount manually, and as i told it before my users can't do that and file managers like Rox don't support it... (Sorry, but did you really read my question ?)
I don't like ivman at all: another daemon to launch and a user process too, too much ! And my users don't use Gnome... So could it be possible to let the Archers choose what they want to use between fstab-sync and pmount ? (and i would like you to notice that a lot of Archers are disappointed that you (devs) didn't ask them before what they prefer...)

According to this article: http://gentoo-wiki.com/HOWTO_D-BUS,_HAL,_KDE_media:/ and the fstab-sync manpage, it is possible to disable fstab-sync by removing /etc/hal/device.d/50-fstab-sync.hal but there's no /etc/hal/device.d in our distribution, do you know why ?

thanks

Loading...