Hotplug: no more fstab entries
David Zeuthen
david at fubar.dk
Thu Feb 23 16:18:11 UTC 2006
On Thu, 2006-02-23 at 11:05 -0500, Bill Nottingham wrote:
> David Zeuthen (david at fubar.dk) said:
> > > Can I restore the old behaviour somehow?
> >
> > Not really, no. But nothing prevents you from write an fstab-sync like
> > program yourself and submitting it to Fedora Extras.
>
> That's a cheat, though - the introduction is removing functionality from
> the OS.
Strong disagreement.
You can use gnome-mount and/or mount(1) - they work just fine and
gnome-mount will (at least in the future) do so much more than we could
ever do with the fstab-sync approach. KDE also got some stuff for this
but I don't follow KDE development very closely, sorry.
You can also use dbus-send in conjunction with hal-find-by-property...
it's not exactly rocket science
[davidz at daxter ~]$ dbus-send --system --dest=org.freedesktop.Hal --print-reply /org/freedesktop/Hal/devices/volume_uuid_43F1_517C org.freedesktop.Hal.Device.Volume.Unmount array:string:
method return sender=:1.2 -> dest=:1.62
uint32 0
[davidz at daxter ~]$ dbus-send --system --dest=org.freedesktop.Hal --print-reply /org/freedesktop/Hal/devices/volume_uuid_43F1_517C org.freedesktop.Hal.Device.Volume.Mount string: string: array:string:
method return sender=:1.2 -> dest=:1.65
uint32 0
Seriously, if someone really cared about this they would sit down and
write two 20-lines shell script so you could do 'hal-mount /dev/sda1'
and 'hal-umount /dev/sda1'. I'm really tired of people complaining
without doing.
> This is all documented in the release notes, right?
If you think it's necessary.. feel free to add it.
David
More information about the fedora-devel-list
mailing list