Skip to content

Instantly share code, notes, and snippets.

@dweinstein
Last active December 21, 2015 22:59
Show Gist options
  • Save dweinstein/6379461 to your computer and use it in GitHub Desktop.
Save dweinstein/6379461 to your computer and use it in GitHub Desktop.
archlinux arm fstab file using read-only root
/dev/root / ext3 ro,relatime,user_xattr,barrier=1,nodelalloc,data=ordered 0 0
ramfs /tmp ramfs defaults,noatime,mode=1777 0 0
ramfs /var/cache/pacman tmpfs defaults,noatime,nosuid,nodev,size=128M 0 0
ramfs /var/log ramfs defaults,noatime,mode=1777 0 0
ramfs /var/tmp ramfs defaults,noatime,mode=1777 0 0
ramfs /home/user/filerelay ramfs defaults,noatime,mode=1777 0 0
@dweinstein
Copy link
Author

It's helpful to use tmpfs for /var/cache/pacman so that pacman installations will still work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment