home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / util-linux / examples / fstab.example2 next >
Encoding:
Text File  |  2009-02-18  |  1.6 KB  |  40 lines

  1. # /etc/fstab: static file system information.
  2. #
  3. # The following is an example. Please see fstab(5) for further details.
  4. # Please refer to mount(1) for a complete description of mount options.
  5. #
  6. # Format:
  7. #  <file system>         <mount point>   <type>  <options>    <dump>    <pass>
  8. #
  9. # dump(8) uses the <dump> field to determine which file systems need
  10. # to be dumped. fsck(8) uses the <pass> column to determine which file
  11. # systems need to be checked--the root file system should have a 1 in
  12. # this field, other file systems a 2, and any file systems that should
  13. # not be checked (such as MS-DOS or NFS file systems) a 0.
  14. #
  15. # The `sw' option indicates that the swap partition is to be activated
  16. # with `swapon -a'.
  17. /dev/hda2    none        swap    sw                0 0
  18.  
  19. # The `bsdgroups' option indicates that the file system is to be mounted
  20. # with BSD semantics (files inherit the group ownership of the directory
  21. # in which they live). `ro' can be used to mount a file system read-only.
  22. /dev/hda3    /        ext2    defaults            0 1
  23. /dev/hda5    /home        ext2    defaults            0 2
  24. /dev/hda6    /var        ext2    defaults            0 2
  25. /dev/hda7    /usr        ext2    defaults,ro            0 2
  26. /dev/hda8    /usr/local    ext2    defaults,bsdgroups        0 2
  27.  
  28. # The `noauto' option indicates that the file system should not be mounted
  29. # with `mount -a'. `user' indicates that normal users are allowed to mount
  30. # the file system.
  31. /dev/cdrom    /cdrom        iso9660    defaults,noauto,ro,user        0 0
  32. /dev/fd0    /floppy        minix    defaults,noauto,user        0 0
  33. /dev/fd1    /floppy        minix    defaults,noauto,user        0 0
  34.  
  35. # NFS file systems:
  36. server:/export/usr    /usr    nfs    defaults            0 0
  37.  
  38. # proc file system:
  39. proc        /proc        proc    defaults            0 0
  40.