[PATCH] Get fstab information

Florent Mertens flomertens at gmail.com
Wed Oct 24 17:15:44 PDT 2007


Hello all,

This patch try to integrate fstab information into HAL.
For each volume, it set the following properties :

linux.in_fstab (boolean)
linux.fstab.mountpoint (string)
linux.fstab.options (string)

/etc/fstab is poll via hal-file-monitor so that we get up to date
information.

This patch could make life of developers that try to create some kind of
disk manager utility, by giving reliable way to get fstab informations,
and notifications of change.

But i'm still not really happy with it because of this bug :

http://mail.gnome.org/archives/gedit-list/2007-October/msg00018.html

So do whatever you want with it.

Cheers,

Mertens Florent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-fstab.diff
Type: text/x-patch
Size: 5278 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071025/5baca001/attachment.bin 


More information about the hal mailing list