Advertisement
ajuzer

fstab

Jun 2nd, 2018
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. # /etc/fstab: static file system information.
  2. #
  3. # noatime turns off atimes for increased performance (atimes normally aren't
  4. # needed); notail increases performance of ReiserFS (at the expense of storage
  5. # efficiency). It's safe to drop the noatime options if you want and to
  6. # switch between notail / tail freely.
  7. #
  8. # The root filesystem should have a pass number of either 0 or 1.
  9. # All other filesystems should have a pass number of 0 or greater than 1.
  10. #
  11. # See the manpage fstab(5) for more information.
  12. #
  13.  
  14. # <fs> <mountpoint> <type> <opts> <dump/pass>
  15.  
  16. # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
  17. #
  18. # NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
  19. # filesystems. This just tells the kernel to use the ext4 driver.
  20. #
  21. # NOTE: You can use full paths to devices like /dev/sda3, but it is often
  22. # more reliable to use filesystem labels or UUIDs. See your filesystem
  23. # documentation for details on setting a label. To obtain the UUID, use
  24. # the blkid(8) command.
  25.  
  26. #LABEL=boot /boot ext4 noauto,noatime 1 2
  27. #UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
  28. #LABEL=swap none swap sw 0 0
  29. #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
  30.  
  31. #ssd
  32. #/dev/sda1 - bootloader
  33. PARTLABEL=boot /boot vfat defaults,noatime 0 2
  34. PARTLABEL=rootfs / ext4 defaults,noatime,discard 0 1
  35. PARTLABEL=home /home ext4 defaults,noatime,discard 0 2
  36.  
  37. #ssd bay
  38. PARTLABEL=swap none swap sw 0 0
  39. PARTLABEL=support /mnt/support ext4 defaults,noatime,discard 0 2
  40. /mnt/support/tmp /tmp none defaults,bind 0 0
  41. /mnt/support/var_tmp /var/tmp none defaults,bind 0 0
  42. /mnt/support/portage /usr/portage none defaults,bind 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement