[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

How does autofs/udev decide where to mount partitions?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]