Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just loaded up Redhat 7.2 for the first time, and I don't know how to mount my vfat partitions because I am used to using linuxconf with earlier versions of Redhat.
First, as root type in mkdir /mnt/vfat and then once that's done, use fdisk to figure out which partition is your vfat partition (unless you already know this info) and then type mount -t vfat /dev/hd? /mnt/vfat (where hd? is the actual partition you want to mount), and then once you've got the parition mounted, edit your etc/fstab and add the the following line: /dev/hd? /mnt/vfat vfat noauto,owner,users 0 0
Just line that info up with the other entries in the etc/fstab, exit and save the changes and you should be good to go. If I screwed this up at all please forgive me cause I'm still a newbie myself but I've dealt quite a bit with getting the vfat partitions mounted and useable for my system.
I've actually been wondering about what the difference between having auto and noauto there would make. The only guess I could come up with would be that with auto, it automatically mounted the partitions when the system was booted up instead of having to manually mount them via the KDE desktop or whatever other means desired. Am I correct in that? Also, what does the rw in your entry mean?
Last edited by Dayewalker; 11-25-2001 at 12:56 PM.
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
the auto does mean that it is mounted automatically when linux is started up. rw just tells it to mount it read-write rather than ro (read-only - used on cdroms and NTFS drives like windows 2000/XP)
I put the entry into /etc/fstab with the rw bit, and I can access the files O.K.
Then, to let myself write to it without logging in as root I ran 'chmod 777 /mnt/vfatd' however, I can't write to /mnt/vfatd without being root. Is there anything I'm missing?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.