X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=405f9031af873c1d4631e597e65f123d2fe95e65;hb=936813a8807c5684c6a97f1081b31027403d4a93;hp=4def882d0b317f8fa59188875c3efa0c18875c2f;hpb=2a322e4c08be4e7cb0c04b427ddaaa679fd88863;p=linux-2.6 diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 4def882d0b..405f9031af 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -56,6 +56,7 @@ static void __init handle_initrd(void) sys_chroot("."); mount_devfs_fs (); + current->flags |= PF_NOFREEZE; pid = kernel_thread(do_linuxrc, "/linuxrc", SIGCHLD); if (pid > 0) { while (pid != sys_wait4(-1, NULL, 0, NULL)) @@ -86,7 +87,10 @@ static void __init handle_initrd(void) printk("okay\n"); else { int fd = sys_open("/dev/root.old", O_RDWR, 0); - printk("failed\n"); + if (error == -ENOENT) + printk("/initrd does not exist. Ignored.\n"); + else + printk("failed\n"); printk(KERN_NOTICE "Unmounting old root\n"); sys_umount("/old", MNT_DETACH); printk(KERN_NOTICE "Trying to free ramdisk memory ... ");