Mounting fat drives in fstab..
I have 2 fat drives (dualbooting windows) i want to mount correctly in fstab so my one user and root will have access on startup, so i dont have to mount these again....
What do i write in fstab??? |
Re: Mounting fat drives in fstab..
Quote:
/dev/hda1 /mnt/disk2 vfat auto,users 0 0 Means: Mount hardisk 1 at partition 1 at mountpoint /mnt/disk2 with filesystem fvat, automatically at boot, and users are able to mount this device. Hope this helps, |
Here is an example for /etc/fstab:
Code:
/dev/hda6 /mnt/hd/games vfat auto,owner,rw,uid=0,gid=306,umask=0022,fmask=0133,dmask=0022,noexec 0 0 The umask the inverse of a file mask. (it's a mask :p) 0 = all allowed 1 = no execute (file) or browse (directories) 2 = no write 4 = no read 2 + 4 = 6 = no read+write ;) the fmask and dmask doesn't seam to work though :( for some reason, the files at the vfat drive are always marked as executable. (that's why I have the 'noexec' flag enabled too) "man fstab" (console), or "man:fstab" (konqueror) could be a great help too :) |
Well i think ill try both of the solutions on 2 differents fat drives...
thx for the help guys.. |
All times are GMT -5. The time now is 03:41 PM. |