Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8929c77a authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "init: remove mkdir /dev /proc /sys"

parents 6ce5625d a1f6a4b1
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);