Linus,
Attached is a patch against 2.3.99-pre6-pre3 which makes 'devfs=nomount'
the default, when devfs is built into the kernel.
I like devfs but since including it in MandrakeSoft's hackkernel
package[1], it has been a fairly big PITA, since it forces people to
immediately upgrade their system, either installing devfsd package or
updating their lilo.conf. Otherwise they have a non-bootable system.
Subsystem upgrades often require userspace updates, but this is a fairly
harsh one.
This patch returns devfs to the [IMNSHO] correct Unix way: not mounting
a filesystem until the user requests it. While I would like all apps
and userland to be devfs friendly, making them all smarter ain't gonna
happen overnight... :)
Regards,
Jeff
[1] the RPM where I package the latest and great 2.3.x test release
-- Jeff Garzik | Nothing cures insomnia like the Building 1024 | realization that it's time to get up. MandrakeSoft, Inc. | -- random fortune
--- vanilla/linux-2.3.99-pre6-pre3/fs/devfs/base.c Mon Apr 17 10:43:56 2000 +++ linux/fs/devfs/base.c Tue Apr 18 15:23:21 2000 @@ -679,7 +679,9 @@ static unsigned int devfs_debug = DEBUG_NONE; # endif #endif -static unsigned int boot_options = OPTION_NONE; + +/* by default, we do not mount devfs on bootup */ +static unsigned int boot_options = OPTION_NOMOUNT; /* Forward function declarations */ static struct devfs_entry *search_for_entry (struct devfs_entry *dir,
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:14 EST