etc/fstab: notes on encryption, tmpfs, cleanup

This commit is contained in:
Aminda Suomalainen 2019-09-10 00:21:48 +03:00
parent 541a4a4f15
commit 01cd9e7b45
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -9,10 +9,15 @@
# # swapon /swap # # swapon /swap
# and to /etc/fstab: # and to /etc/fstab:
/swap none swap sw 0 0 /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 # Don't mount Windows partition automatically, allow normal users to mount
# noauto,user # it without root: noauto,user
UUID=105AB1525AB13576 /media/Windows ntfs defaults,rw,noauto,user 0 0 UUID= /media/Windows ntfs defaults,rw,noauto,user 0 0
# Mount my external HDD automatically on boot. # Mount my external HDD automatically on boot.
UUID=2A2C535742C3A3D4 /media/Mikaelan ntfs defaults,rw 0 0 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