On Fre, 2006-04-07 at 16:48 -0500, Randy McMurchy wrote:
> On Fri, 2006-04-07 at 14:40 -0700, Dan Nicholson wrote:
> 
> > In that case, I'm guessing fam (gamin) is providing the notification.
> 
> This is a good discussion, I am going to learn something here. It was
> my understanding that the File Alteration Monitor is used to tell the
> operating system when there are changes to files in monitored
> filesystems.
That's still correct.

> 
> When you plug in a device, there is no filesystem for that device yet,
> so how does FAM notify anything?

It doesn't, FAM doesn't detect device changes.

> 
> And then what does it notify so that an appropriate fstab entry is
> created. And what tells the operating how to create that fstab entry?

It's the other way round. udev notifies HAL of new devices, older HAL
versions call fstab-sync to create fstab entries on demand and
the /etc/fstab change gets noticed by FAM which notifies gnome-vfs. But
gnome-vfs is not responsible for automounting, that's what
gnome-volume-manager does. gnome-volume-manager gets notified directly
by HAL.

HTH,

Jürg

--
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