shell-things/etc/fstab

26 lines
968 B
Plaintext
Raw Permalink Normal View History

2014-12-27 10:09:00 +01:00
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
## swap file creation and auto-mount
# btrfs? # btrfs filesystem mkswapfile --size 8G /swap # proceed to step 4.
# Otherwise:
# 1. # fallocate -l 8G /swap
# 2. # chmod 600 /swap
# 3. # mkswap /swap
# 4. # swapon /swap
2014-12-27 10:09:00 +01:00
# and to /etc/fstab:
/swap none swap sw 0 0
# Note that swap shouldn't be used if there is encryption present.
2014-12-27 10:09:00 +01:00
# Don't mount Windows partition automatically, allow normal users to mount
# it without root: noauto,user
UUID= /media/Windows ntfs defaults,rw,noauto,user 0 0
2014-12-27 10:09:00 +01:00
# Mount my external HDD automatically on boot.
UUID= /media/Mikaelan ntfs defaults,rw 0 0
# tmpfs means stored on RAM, size defaults to half of it, can be forced
# with size=<number><M|G>
tmpfs /tmp tmpfs rw,nodev,nosuid 0 0