am ecfb3664: am 8929c77a: Merge "init: remove mkdir /dev /proc /sys"

* commit 'ecfb3664fea6cbe39d94459ceb06a91f57006820':
  init: remove mkdir /dev /proc /sys
This commit is contained in:
Nick Kralevich 2015-04-25 21:30:45 +00:00 committed by Android Git Automerger
commit 04faed7aba

View file

@ -985,10 +985,6 @@ int main(int argc, char** argv) {
// 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);