mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 22:59:29 +01:00
24 lines
867 B
Plaintext
24 lines
867 B
Plaintext
# 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
|
|
# # fallocate -l 4G /swap
|
|
# # chmod 600 /swap
|
|
# # mkswap /swap
|
|
# # swapon /swap
|
|
# and to /etc/fstab:
|
|
/swap none swap sw 0 0
|
|
# Note that swap shouldn't be used if there is encryption present.
|
|
|
|
# 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
|
|
|
|
# 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
|