source: npl/system/busybox/nocheck.patch @ a87727a

Last change on this file since a87727a was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 622 bytes
  • switch_root.c

    old new  
    9090        // we mean it.  (I could make this a CONFIG option, but I would get email
    9191        // from all the people who WILL eat their filesystemss.)
    9292
    93         if (stat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) ||
     93/*      if (stat("/init", &st1) || !S_ISREG(st1.st_mode) || statfs("/", &stfs) ||
    9494                (stfs.f_type != RAMFS_MAGIC && stfs.f_type != TMPFS_MAGIC) ||
    9595                getpid() != 1)
    9696        {
    9797                bb_error_msg_and_die("not rootfs");
    9898        }
    99 
     99*/
    100100        // Zap everything out of rootdev
    101101        delete_contents("/");
    102102       
Note: See TracBrowser for help on using the repository browser.