On Don, 2005-09-29 at 16:42 -0500, Randy McMurchy wrote:
> Jürg Billeter wrote these words on 09/29/05 16:31 CST:
> > On Don, 2005-09-29 at 16:22 -0500, Randy McMurchy wrote:
> >>And the weirdest part of this is that I don't even think it is using
> >>D-BUS/HAL to do this. Sticking the device in the hub will automatically
> >>create the appropriate /dev entries. And clicking on the icon/folder
> >>automatically mounts the device.
> > 
> > Does the icon in 'Computer' show up upon inserting the device or is it
> > there all the time?
> 
> It is there all the time, apparently because it reads an entry in
> /etc/fstab.
> 
> 
> > And if I understand you correctly, there is no fstab entry for the
> > device - neither written by fstab-sync nor manually, right?
> 
> No, there *is* an entry for this in /etc/fstab. But I would like
> to get away from this because:
> 
> I have some plugin devices that are vfat partitions and some are
> Linux partitions. Having dedicated fstab entries means that I
> cannot just insert whichever device whenever as the fstab entry
> for /dev/sda1 may be set up for a vfat partition, and if I plug
> in a linux partitioned device as the first USB device, it probably
> wouldn't mount (though I haven't tried this).

Sure, static fstab entries aren't really suited for USB devices...

> 
> Bottom line is that I cannot get hotplug events, nor fstab-sync
> to work properly.
> 
> Any suggestions?

Don't really know where the origin of the problem is. Maybe you should
try to debug step by step, e.g. create a simple wrapper script for
hal.hotplug and check that it gets called when plugging in the device,
then see whether fstab-sync gets called, etc.

You may of course compare your installation with my specifications[1] or
my hal-enabled rescue-cd[2] if that helps you but I don't use classic
hotplug anymore.

Jürg

[1] http://www.paldo.org/paldo/specs/hal.xml
http://www.paldo.org/paldo/specs/dbus.xml
http://www.paldo.org/paldo/specs/udev.xml

[2] http://www.paldo.org/rescue-cd-testing.iso (116 MB)
-- 
Jürg Billeter <[EMAIL PROTECTED]>

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to