diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-05 18:08:10 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-05 18:08:10 +0000 |
commit | 94e930551169f95593cd8732f8d9dcb452902ed0 (patch) | |
tree | 6cd7ea7c595fa979179b1893f0e98e310c45f4ea /init/builtins.cpp | |
parent | 7c271bdc3b240779ad78ab379ae98925785fac70 (diff) | |
parent | 880d566400d38743e75be0ae88b142bc5ba27c57 (diff) |
Merge "init: add TODO for mount operations."
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r-- | init/builtins.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp index 7cbb7a083..be259c2e3 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -1032,6 +1032,10 @@ const BuiltinFunctionMap::Map& BuiltinFunctionMap::map() const { {"load_system_props", {0, 0, {false, do_load_system_props}}}, {"loglevel", {1, 1, {false, do_loglevel}}}, {"mkdir", {1, 4, {true, do_mkdir}}}, + // TODO: Do mount operations in vendor_init. + // mount_all is currently too complex to run in vendor_init as it queues action triggers, + // imports rc scripts, etc. It should be simplified and run in vendor_init context. + // mount and umount are run in the same context as mount_all for symmetry. {"mount_all", {1, kMax, {false, do_mount_all}}}, {"mount", {3, kMax, {false, do_mount}}}, {"umount", {1, 1, {false, do_umount}}}, |