Results 1 to 5 of 5
I have a vfat partition under RedHat RHEL5 that I currently must mount manualy after each boot. I would like it to auto-mount but I cannot find a way to ...
- 11-01-2010 #1Just Joined!
- Join Date
- Jun 2005
- Location
- Alstead, NH, USA
- Posts
- 20
auto-mount a vfat partition as user
I have a vfat partition under RedHat RHEL5 that I currently must mount manualy after each boot. I would like it to auto-mount but I cannot find a way to do this without it becoming ro except for root. My other partitions auto-mount just fine. I have tried the vfat as a separate partition and as a VLM logical drive (as it currently is).
The fstab statement:
"/dev/VolGroup00/LogVolDos /dos vfat noauto,users 0 0"
allows me to mount it as a user.
The statement:
"/dev/VolGroup00/LogVolDos /dos vfat defaults 1 2"
is what I use for other VLM partitions, but for the vfat it seems to only allow root access. Manually mount this partition is OK, it's just that I have sometimes forgotten and then it is not included in backups. What do I need to do to make the vfat auto-mount as accessible for a user? Thanks.
Rees
- 11-02-2010 #2
read this it work
http://www.linuxforums.org/forum/red...artitions.htmlTake risks: if you win, you will be happy; if you lose, you will be wise.
New Users : Read This First
- 11-02-2010 #3Just Joined!
- Join Date
- Jun 2005
- Location
- Alstead, NH, USA
- Posts
- 20
I read the thread you suggested and replaced my "noauto,users 0 0" with "defaults,umask=0 0 0". But the partion is still only writeable by root. Only root can mount it, only root can write to it. Further, even root cannot change permissions for the a group ro rw. I'm missing something.
- 11-02-2010 #4Remove noauto and it will mount at boot time./dev/VolGroup00/LogVolDos /dos vfat noauto,users 0 0
- 11-02-2010 #5Just Joined!
- Join Date
- Jun 2005
- Location
- Alstead, NH, USA
- Posts
- 20
I have not yet tried removing the noauto. Thank you for the suggestion. But I was able to get the vfat partition to automount with the following fstab entry:
/dev/VolGroup00/LogVolDos /dos vfat uid=500,gid=503 0 0
500 is my own ID, 503 my group. I was then able to change permissions.
It seems to work.
I might now try your last suggestion.
Thanks,
Rees


Reply With Quote