Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  3. #3
    Just 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.

  4. #4
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    /dev/VolGroup00/LogVolDos /dos vfat noauto,users 0 0
    Remove noauto and it will mount at boot time.

  5. #5
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...