wiktorek140

firmaware.mount

Sep 16th, 2016
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sh-3.2# cat /lib/systemd/system/firmware.mount
  2. [Unit]
  3. Description=Droid mount for /firmware
  4. Before=local-fs.target systemd-modules-load.service
  5.  
  6. [Mount]
  7. What=/dev/block/mmcblk0p1
  8. Where=/firmware
  9. Type=ext4
  10. Options=ro,nosuid,nodev,barrier=0
  11. # Options had SELinux context option: context=u:object_r:firmware_file:s0
  12.  
  13. # Default is 90 which makes mount period too long in case of
  14. # errors so drop it down a notch.
  15. TimeoutSec=10
  16.  
  17. [Install]
  18. WantedBy=local-fs.target
  19.  
  20. # From ./out/target/product/surnia/root/fstab.qcom :
  21. # /dev/block/mmcblk0p1 /firmware ext4 ro,nosuid,nodev,barrier=0,context=u:object_r:firmware_file:s0 wait,check
  22. sh-3.2#
RAW Paste Data