aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2012-01-06 19:09:42 -0800
committerKen Sumrall <ksumrall@android.com>2012-05-01 13:14:14 -0700
commitc1bf89663ca71949b508007d4df2b5b06038f96d (patch)
tree6a6807d5322576a30c9b2e0953cc8c42f2d8dede /include
parent190b6e2698dc47ddb4888b9c51abb23f69fcf064 (diff)
downloadsystem_core-c1bf89663ca71949b508007d4df2b5b06038f96d.tar.gz
system_core-c1bf89663ca71949b508007d4df2b5b06038f96d.tar.bz2
system_core-c1bf89663ca71949b508007d4df2b5b06038f96d.zip
A filesystem manager library to mount filesystems for init.
Instead of specifying in init what to mount, and having various hacks in init itself to deal with encryption, use a filesystem manager library to do the work, that can also be invoked by vold when mounting an encrypted volume. Keep all the magic filesystem info an a device specific fstab file. Change-Id: Ib988f1e4fb0638ba1d5fd98407fa6d8cf862aaca
Diffstat (limited to 'include')
-rw-r--r--include/private/android_filesystem_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 16bedb5c..68928ebe 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -224,6 +224,8 @@ static struct fs_path_config android_files[] = {
{ 00755, AID_ROOT, AID_ROOT, "bin/*" },
{ 00750, AID_ROOT, AID_SHELL, "init*" },
{ 00750, AID_ROOT, AID_SHELL, "charger*" },
+ { 00750, AID_ROOT, AID_SHELL, "sbin/fs_mgr" },
+ { 00640, AID_ROOT, AID_SHELL, "fstab.*" },
{ 00644, AID_ROOT, AID_ROOT, 0 },
};