Minimal initramfs support (based on Al Viro's work).
[linux-flexiantxendom0-3.2.10.git] / init / do_mounts.c
index 040e867..b00b776 100644 (file)
@@ -748,9 +748,7 @@ void prepare_namespace(void)
                mount_initrd = 0;
        real_root_dev = ROOT_DEV;
 #endif
-       sys_mkdir("/dev", 0700);
-       sys_mkdir("/root", 0700);
-       sys_mknod("/dev/console", S_IFCHR|0600, MKDEV(TTYAUX_MAJOR, 1));
+
 #ifdef CONFIG_DEVFS_FS
        sys_mount("devfs", "/dev", "devfs", 0, NULL);
        do_devfs = 1;