Last active
November 18, 2016 21:43
-
-
Save Nokius/523ad96d2bb01254c92e7cb466f11666 to your computer and use it in GitHub Desktop.
[SFOS] scorpion tmp.mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Droid mount for /tmp | |
Before=local-fs.target systemd-modules-load.service | |
[Mount] | |
What=tmpfs | |
Where=/tmp | |
Type=tmpfs | |
Options=nosuid,mode=0755,uid=0,gid=0 | |
# 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/scorpion/root/init.qcom.rc : | |
# mount tmpfs tmpfs /tmp nosuid mode=0755,uid=0,gid=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of systemd. | |
# | |
# systemd is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2.1 of the License, or | |
# (at your option) any later version. | |
[Unit] | |
Description=Temporary Directory | |
Documentation=man:hier(7) | |
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems | |
DefaultDependencies=no | |
Conflicts=umount.target | |
Before=local-fs.target umount.target | |
[Mount] | |
What=tmpfs | |
Where=/tmp | |
Type=tmpfs | |
Options=mode=1777,strictatime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment