commit | 8929c77ab9aa9be612291809669e9162837c54ae | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Sat Apr 25 21:08:12 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Apr 25 21:08:12 2015 +0000 |
tree | 0edd84d09e49194202228860b4345b7edac0109f | |
parent | 6ce5625d58c2376b719802a0ae0b56bcd3afcdc8 [diff] | |
parent | a1f6a4b13921f61799be14a2544bdbf95958eae7 [diff] |
Merge "init: remove mkdir /dev /proc /sys"
diff --git a/init/init.cpp b/init/init.cpp index 90cbea0..377b89c 100644 --- a/init/init.cpp +++ b/init/init.cpp
@@ -985,10 +985,6 @@ // Get the basic filesystem setup we need put together in the initramdisk // on / and then we'll let the rc file figure out the rest. - mkdir("/dev", 0755); - mkdir("/proc", 0755); - mkdir("/sys", 0755); - mount("tmpfs", "/dev", "tmpfs", MS_NOSUID, "mode=0755"); mkdir("/dev/pts", 0755); mkdir("/dev/socket", 0755);