Skip to content

Instantly share code, notes, and snippets.

@slobdell
Created January 5, 2018 17:07
Show Gist options
  • Save slobdell/5a63b04e755cdc966865351def9e6517 to your computer and use it in GitHub Desktop.
Save slobdell/5a63b04e755cdc966865351def9e6517 to your computer and use it in GitHub Desktop.
Example fstab for read-only hard drive and in-memory filesystem
proc /proc proc defaults 0 0
PARTUUID=34506aa4-01 /boot vfat ro 0 2
PARTUUID=34506aa4-02 / ext4 ro,noatime 0 1
tmpfs /mnt/in_memory_filesystem tmpfs nodev,nosuid,size=256M 0 0
mount_unionfs /etc fuse defaults 0 0
mount_unionfs /var fuse defaults 0 0
none /tmp tmpfs defaults 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment