source:
npl/system/busybox/nocheck.patch
@
105afb5
Last change on this file since 105afb5 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 622 bytes |
-
switch_root.c
old new 90 90 // we mean it. (I could make this a CONFIG option, but I would get email 91 91 // from all the people who WILL eat their filesystemss.) 92 92 93 if (stat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) ||93 /* if (stat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) || 94 94 (stfs.f_type != RAMFS_MAGIC && stfs.f_type != TMPFS_MAGIC) || 95 95 getpid() != 1) 96 96 { 97 97 bb_error_msg_and_die("not rootfs"); 98 98 } 99 99 */ 100 100 // Zap everything out of rootdev 101 101 delete_contents("/"); 102 102
Note: See TracBrowser
for help on using the repository browser.