fstab

Differences between revisions 11 and 12
Revision 11 as of 2007-06-16 22:01:08
Size: 1883
Editor: host85-36-dynamic
Comment:
Revision 12 as of 2007-06-16 22:25:40
Size: 52
Editor: ppp-98-66
Comment: content moved to support wiki h.u.c/community/Fstab
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Introduction =
The configuration file {{{/etc/fstab}}} contains the necessary information to ''mount'' the disk. This file comes read at the start of the system and can be modified only by [:SudoRoot:root] user.

= Content of file =
It is possible to visualize this file with the followed command:

{{{
cat /etc/fstab }}}

The result of the previous commando will be similar to following:
{{{
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0

# /dev/hda1
UUID=12102C02102CEB83 /media/windows ntfs silent,umask=0,locale=it_IT.utf8 0 0

# /dev/hda2
UUID=cee15eca-5b2e-48ad-9735-eae5ac14bc90 none swap sw 0 0

# /dev/hda3
UUID=98E0-6D24 /media/dati vfat defaults,utf8,umask=007,uid=0,gid=46,auto,rw,nouser 0 0

# /dev/hda4
UUID=0aa86c61-0df9-4f1a-8b0b-34abbee6b769 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 0

/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
}}}

Every no-commented line is composed by six fields:

||<style="background-color:#FEB76D ; ":>'''fields''' ||<style="background-color:#FEB76D ; ":>'''description''' ||
|| file system || it indicates the devices that containing a file system ||
|| mount point || it indicates the directory (or mount point) from which it will be possible to approach the content of the device (for the swap is not demanded the mount point) ||
|| type || type of file system ||
|| options || options of access to the device (command mount) ||
|| dump || turn ON/OFF the backup of file system (the command dump). This option is __obsolete__. ||
|| pass || turn ON/OFF the control of coherence of the disc (the command fsck) ||


= Other resources =
 * [:UsingUUID:UUID]
 * http://doc.gwos.org/index.php/Understanding_fstab
#REFRESH 0 https://help.ubuntu.com/community/Fstab

fstab (last edited 2008-08-06 17:00:36 by localhost)