[PATCH] Get fstab information
Danny Kukawka
danny.kukawka at web.de
Fri Oct 26 05:03:14 PDT 2007
On Donnerstag, 25. Oktober 2007, Florent Mertens wrote:
> 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.
I don't see why we would need this in HAL. fstab is a config file which every
user can read IIRC and there are also already libraries which make it easy
for a delevoper to get the info from fstab.
I would vote against adding this into HAL (HAL is about hardware and not about
config-file-parsing).
Danny
More information about the hal
mailing list