Skip to content

Instantly share code, notes, and snippets.

@flyser
Created July 22, 2014 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flyser/d1ba34125cb5ad14cd03 to your computer and use it in GitHub Desktop.
Save flyser/d1ba34125cb5ad14cd03 to your computer and use it in GitHub Desktop.
sh-3.2# cat ./systemd/system/local-fs.target.wants/system.mount
[Unit]
Description=Droid mount for /system
Before=local-fs.target systemd-modules-load.service
[Mount]
What=/dev/mmcblk0p37
Where=/system
Type=ext4
Options=ro,remount
# Options had SELinux context option:
# Default is 90 which makes mount period too long in case of
# errors so drop it down a notch.
TimeoutSec=10
[Install]
WantedBy=local-fs.target
# From ./out/target/product/xt897/root/init.target.rc :
# mount ext4 /dev/mmcblk0p37 /system ro remount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment