summaryrefslogtreecommitdiffstats
path: root/init/readme.txt
diff options
context:
space:
mode:
authorNiklas Tibbling <niklas.tibbling@sonymobile.com>2012-08-01 13:15:38 +0200
committerJohan Redestig <johan.redestig@sonymobile.com>2015-03-15 16:20:44 +0000
commitbc3f69f19026e860ef45399066791f4969f23289 (patch)
tree09fa303667261f2b4022d6cf479088d31cb100ff /init/readme.txt
parentf1c2ba490ef979b3d347f08535ab8b817e917e62 (diff)
downloadsystem_core-bc3f69f19026e860ef45399066791f4969f23289.zip
system_core-bc3f69f19026e860ef45399066791f4969f23289.tar.gz
system_core-bc3f69f19026e860ef45399066791f4969f23289.tar.bz2
Document the mount option string in the readme.txt
also make a distinction between flag and option. Change-Id: Ia872bc8dc98b3459f9c1e992d096c115699357af
Diffstat (limited to 'init/readme.txt')
-rw-r--r--init/readme.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/init/readme.txt b/init/readme.txt
index d2933b9..66b4a4f 100644
--- a/init/readme.txt
+++ b/init/readme.txt
@@ -207,11 +207,13 @@ mkdir <path> [mode] [owner] [group]
group. If not provided, the directory is created with permissions 755 and
owned by the root user and root group.
-mount <type> <device> <dir> [ <mountoption> ]*
+mount <type> <device> <dir> [ <flag> ]* [<options>]
Attempt to mount the named device at the directory <dir>
<device> may be of the form mtd@name to specify a mtd block
device by name.
- <mountoption>s include "ro", "rw", "remount", "noatime", ...
+ <flag>s include "ro", "rw", "remount", "noatime", ...
+ <options> include "barrier=1", "noauto_da_alloc", "discard", ... as
+ a comma separated string, eg: barrier=1,noauto_da_alloc
restorecon <path> [ <path> ]*
Restore the file named by <path> to the security context specified