LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2006, 11:46 AM   #1
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Rep: Reputation: 30
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Submount, "permission denied" when writing to floppy as normal user DaneM Linux - Software 5 02-22-2006 02:05 PM
Submount and ide-scsi Orkie Linux - Hardware 4 04-28-2005 02:26 AM
submount and kde devices fransemail Linux - Software 2 09-16-2004 12:27 PM
Submount and /dev/hdc r_jensen11 Linux - Hardware 4 08-20-2004 12:11 PM
Supermount vs Submount AxelFendersson Slackware 2 07-15-2004 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration