Didn't try but I'm sure you're right :-)
Diff against 2.4.18-pre6 will be attached as soon as diff will finish
(it's over NFS).
I changed "none" to "devfs" in do_mount("none", "/dev", "devfs", 0, ""):
"none is busy" is misleading at umount time :-)
Aha, it's ready!
-- vda
diff -u --recursive linux-2.4.18-pre6mhv_ll/fs/devfs/base.c linux-2.4.18-pre6mhv_ll.devfs/fs/devfs/base.c --- linux-2.4.18-pre6mhv_ll/fs/devfs/base.c Fri Jan 25 15:49:53 2002 +++ linux-2.4.18-pre6mhv_ll.devfs/fs/devfs/base.c Mon Jan 28 23:05:44 2002 @@ -3464,17 +3464,16 @@ { int err;
- printk ("%s: v%s Richard Gooch (rgooch@atnf.csiro.au)\n", - DEVFS_NAME, DEVFS_VERSION); + printk (KERN_INFO DEVFS_NAME ": v" DEVFS_VERSION " Richard Gooch (rgooch@atnf.csiro.au)\n"); devfsd_buf_cache = kmem_cache_create ("devfsd_event", sizeof (struct devfsd_buf_entry), 0, 0, NULL, NULL); if (!devfsd_buf_cache) OOPS ("(): unable to allocate event slab\n"); #ifdef CONFIG_DEVFS_DEBUG devfs_debug = devfs_debug_init; - printk ("%s: devfs_debug: 0x%0x\n", DEVFS_NAME, devfs_debug); + printk (KERN_INFO DEVFS_NAME ": devfs_debug: 0x%0x\n", devfs_debug); #endif - printk ("%s: boot_options: 0x%0x\n", DEVFS_NAME, boot_options); + printk (KERN_INFO DEVFS_NAME ": boot_options: 0x%0x\n", boot_options); err = register_filesystem (&devfs_fs_type); if (!err) { @@ -3490,8 +3489,8 @@ int err;
if ( !(boot_options & OPTION_MOUNT) ) return; - err = do_mount ("none", "/dev", "devfs", 0, ""); - if (err == 0) printk ("Mounted devfs on /dev\n"); + err = do_mount ("devfs", "/dev", "devfs", 0, ""); + if (err == 0) printk (KERN_INFO "Mounted devfs on /dev\n"); else printk ("Warning: unable to mount devfs, err: %d\n", err); } /* End Function mount_devfs_fs */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/