bkerby

fstab

Feb 7th, 2012
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. #> cat /etc/fstab
  2. # /etc/fstab: static file system information.
  3. #
  4. # noatime turns off atimes for increased performance (atimes normally aren't
  5. # needed; notail increases performance of ReiserFS (at the expense of storage
  6. # efficiency). It's safe to drop the noatime options if you want and to
  7. # switch between notail / tail freely.
  8. #
  9. # The root filesystem should have a pass number of either 0 or 1.
  10. # All other filesystems should have a pass number of 0 or greater than 1.
  11. #
  12. # See the manpage fstab(5) for more information.
  13. #
  14.  
  15. # <fs> <mountpoint> <type> <opts> <dump/pass>
  16.  
  17. # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
  18. /dev/sda1 /boot ext2 noauto,noatime 1 2
  19. /dev/sda3 / ext3 noatime 0 1
  20. /dev/sda4 none swap sw 0 0
  21. /dev/sda2 /home ext3 defaults 0 0
  22. /dev/sdb1 /mnt/wdt ext4 defaults 0 0
  23. #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
  24. #/dev/fd0 /mnt/floppy auto noauto 0 0
  25.  
  26. # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
  27. # POSIX shared memory (shm_open, shm_unlink).
  28. # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
  29. # use almost no memory if not populated with files)
  30. shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Advertisement
Add Comment
Please, Sign In to add comment