LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Controlling submount (https://www.linuxquestions.org/questions/linux-software-2/controlling-submount-403631/)

TomalakBORG 01-15-2006 11:46 AM

Controlling submount
 
Hey guys - I'm using suse 10 pro with a firewire external hdd.

Normally when this drive gets hotplugged it mounts to /media/iee1494disk , but I added the following line in fstab-

/dev/sda1 /media/filevault subfs auto,fs=ext2,uid=tux,gid=users,umask=0027

This works very well at bootup, because it mounts the drive where I want, and uses my specified permissions. My problem is when I unplug the drive and plug it back in while the machine is running. When it mounts the drive again, it reverts to its standard permissions, and /media/ieee1394disk. I thought by adding in that line it would use that for any time it mounted /dev/sda1. Turns out not.

I also know that the same devnode is being used again. (in some cases I've seen sda be unplugged, and the next device get sdb, even though sda is unused) Any suggestions on how to control this?


All times are GMT -5. The time now is 04:57 AM.