I'm not a total newbie, but there are still some things that I'm not familiar with. One of them is fstab. For the past months, I've accumulated some modifications to fstab that I have forgotten why I added or what they do. So my fstab looks like a mess. I'm not even sure if they're the correct or default values. They just worked, and didn't bother trying to find out how/why. I'm wondering if some more experienced users could help me clean it up a bit, and probably understand it.
Here's my fstab. I've added some comments to indicated what filesystem the partitions use and which ones I want to mount at startup.
Thanks for anyone who would have the patience and time for this.
Here's my fstab. I've added some comments to indicated what filesystem the partitions use and which ones I want to mount at startup.
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / (root) and swap partitions
/dev/hdb1 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
/dev/hdb2 none swap sw 0 0
# Windowx XP (NTFS)
/dev/hda1 /media/hda1 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,ro,u ser 0 1
# FAT32 shared partition
# needs to be mounted at startup and files belong to me
/dev/hda3 /media/idagurl vfat defaults,utf8,umask=007,uid=1000,gid=1000,auto,rw, owner 0 1
# /home partition
/dev/hdb3 /home ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# hdb4 is an extended partition containing hdb5 and hdb6
# extra partition (for other distros)
/dev/hdb5 /media/other ext3 user,defaults,atime,auto,rw,dev,exec,suid 0 2
# FAT32 shared partition
# needs to be mounted at startup and files belong to me
/dev/hdb6 /media/shared vfat defaults,utf8,umask=007,uid=1000,gid=1000,auto,rw, owner 0 1
#CD-RW
/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
#CD-ROM
/dev/hdd /media/cdrom1 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / (root) and swap partitions
/dev/hdb1 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
/dev/hdb2 none swap sw 0 0
# Windowx XP (NTFS)
/dev/hda1 /media/hda1 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,ro,u ser 0 1
# FAT32 shared partition
# needs to be mounted at startup and files belong to me
/dev/hda3 /media/idagurl vfat defaults,utf8,umask=007,uid=1000,gid=1000,auto,rw, owner 0 1
# /home partition
/dev/hdb3 /home ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# hdb4 is an extended partition containing hdb5 and hdb6
# extra partition (for other distros)
/dev/hdb5 /media/other ext3 user,defaults,atime,auto,rw,dev,exec,suid 0 2
# FAT32 shared partition
# needs to be mounted at startup and files belong to me
/dev/hdb6 /media/shared vfat defaults,utf8,umask=007,uid=1000,gid=1000,auto,rw, owner 0 1
#CD-RW
/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
#CD-ROM
/dev/hdd /media/cdrom1 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
Comment