/etc/fstab notes
Jani Reinikainen, 
21. March 20031.
Adding a user readable, writable and mountable FAT (Windows) partition to /etc/fstab: login as root and create an appropriate mount point directory in, for example, /mnt. I called this directory "windows", since I was mounting my Windows partition.
2.Edit your /etc/fstab file using for example vi or pico or some other text editor.
3.Add the following line to your /etc/fstab:
# <file system> <mount point> <type> <options> <dump> <pass> /dev/hda4 /mnt/windows vfat defaults,rw,user,uid=0,gid=6,umask=002 0 04.
As you can see, my Windows partition is partition number 4 on the first harddrive. You will obviously have to change this to yours.
5.See the manual pages for fstab and mount for more information.
6.Quick example of mounting a partition with user and group quota:
# <file system> <mount point> <type> <options> <dump> <pass> /dev/hda3 /mnt/data ext3 defaults,grpquota,usrquota 0 0
Copyright © 2007 Jani Reinikainen. All rights reserved.
Permission granted to replicate information found on these pages, provided that all copyright headers/footers remain intact.
Permission granted to replicate information found on these pages, provided that all copyright headers/footers remain intact.









