--- switch_root.c.orig 2005-11-01 00:55:39.000000000 +0100 +++ switch_root.c 2005-12-14 20:54:05.000000000 +0100 @@ -90,13 +90,13 @@ // we mean it. (I could make this a CONFIG option, but I would get email // from all the people who WILL eat their filesystemss.) - if (stat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) || +/* if (stat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) || (stfs.f_type != RAMFS_MAGIC && stfs.f_type != TMPFS_MAGIC) || getpid() != 1) { bb_error_msg_and_die("not rootfs"); } - +*/ // Zap everything out of rootdev delete_contents("/");