Is fstab-sync in newest cvs broken?

David Zeuthen david at fubar.dk
Thu Aug 26 13:12:24 PDT 2004


On Thu, 2004-08-26 at 20:51 +0200, Thomas Gufler wrote:
> On Thursday 26 August 2004 18:03, David Zeuthen wrote:
> > On Thu, 2004-08-26 at 14:09 +0200, Thomas Gufler wrote:
> > > Hi,
> > >
> > > I have updated my local copy of hal to the newest cvs version. I use
> > > fstab-sync to create the entries for my DVD-Drive, usb-stick, digital
> > > camera (mass storage) which went well till the update of hal. Now I only
> > > get a entry for my DVD-Drive but not for my usb based devices (usb-stick,
> > > ..). In /media I get also just one entry for my DVD-Drive.
> > > hal-device-manager still shows my usb-devices.
> > >
> > > Any suggestions?
> >
> > Seems to work for me; please attach the output of starting the hal
> > daemon
> >
> >  'HALD_VERBOSE=1 ./hald --daemon=no'
> Ok, done. See output_hald
> 

Seems a little sparse, should begin with

[root at laptop hald]# HALD_VERBOSE=1 ./hald --daemon=no
22:07:13.661 [D] hald.c:317: opt_become_daemon = 0
22:07:13.755 [I] linux/osspec.c:193: Mountpoint for sysfs is /sys
22:07:13.905 [I] linux/osspec.c:1212: ******************************************22:07:13.905 [I] linux/osspec.c:1213: **** hotplug_counter is now 1
22:07:13.905 [I] linux/osspec.c:1214: ******************************************22:07:13.907 [I] callout.c:332: Invoking 40-hal-hotplug-map.hal
22:07:14.025 [I] callout.c:332: Invoking 50-fstab-sync.hal
7908: ###################################
7908: fstab-sync entering; add udi=/org/freedesktop/Hal/devices/computer
7908: mount_root=/media use_managed=yes managed_keyword=kudzu
7908: Acquiring advisory lock on /etc/fstab
7908: Lock acquired
7908: Releasing advisory lock on /etc/fstab
7908: Lock released
7908: fstab-sync exiting; add udi=/org/freedesktop/Hal/devices/computer
7908: ###################################
 
22:07:14.264 [I] hald.c:73: Added device to GDL; udi=/org/freedesktop/Hal/devices/computer
22:07:14.264 [I] linux/osspec.c:742: handling /sys/devices/pci0000:00/0000:00:08.0 pci
...

> > and the output of lshal when device detection is done.

The lshal output looks good. 

Did you remember to install the new fstab-sync callout? That would
require configuring the source tree with --enable-fstab-sync (think I
just put that in). I guess that would be something to look after. I
always symlink /usr/local/hal/devices.d/50-fstab-sync.hal into fstab-
sync into my build tree.

Thanks,
David

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list