How does autofs/udev decide where to mount partitions?

Steve zephod at cfl.rr.com
Sun Jan 11 23:10:11 UTC 2009


I'm trying to figure out how my Windows partition gets automagically mounted as /media/disk. 

# mount
...
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sdb1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
...

I used to have a line in /etc/fstab that mounted it at /mnt/c_drive but something overwrote fstab and removed the line

Now in /etc/init.d/fuse I see this line
   if ! mount -t fusectl fusectl $MOUNTPOINT >/dev/null 2>&1; then  

which explains the first mount output line but I can't find ant reference to /media/disk for the second line. I would guess that is has something to do with udev. I see a file 
/etc/udev/makedev.d/99-fuse.nodes that just says fuse

Can someone give me an overview on how this is supposed to work.

Thanks,
Steve




More information about the fedora-list mailing list