Re: [WARNING] devfs mount default changed

From: Daniel Podlejski (underley@witch.underley.eu.org)
Date: Mon May 01 2000 - 11:57:35 EST


On linux-kernel, Richard Gooch wrote:
[...]
: If this is not present, add "devfs=mount" to your boot options.

maybe you should add config option "devfs mount at bootup" ?

Something like this:

Index: Config.in
===================================================================
RCS file: /arc/lcvs/linux/fs/Config.in,v
retrieving revision 1.9
diff -u -r1.9 Config.in
--- Config.in 2000/04/28 18:09:32 1.9
+++ Config.in 2000/05/01 16:51:44
@@ -42,6 +42,7 @@
 
 dep_bool '/dev file system support (EXPERIMENTAL)' CONFIG_DEVFS_FS $CONFIG_EXPERIMENTAL
 dep_bool ' Debug devfs' CONFIG_DEVFS_DEBUG $CONFIG_DEVFS_FS
+dep_bool ' Mount at bootup' CONFIG_DEVFS_MOUNT_AT_BOOTUP $CONFIG_DEVFS_FS
 
 # It compiles as a module for testing only. It should not be used
 # as a module in general. If we make this "tristate", a bunch of people
Index: devfs/base.c
===================================================================
RCS file: /arc/lcvs/linux/fs/devfs/base.c,v
retrieving revision 1.9
diff -u -r1.9 base.c
--- devfs/base.c 2000/04/28 18:09:52 1.9
+++ devfs/base.c 2000/05/01 16:53:41
@@ -691,8 +691,13 @@
 # endif
 #endif
 
+#ifndef CONFIG_DEVFS_MOUNT_AT_BOOTUP
 /* by default, we do not mount devfs on bootup */
 static unsigned int boot_options = OPTION_NOMOUNT;
+#else
+/* we prefer to mount devfs on bootup */
+static unsigned int boot_options = OPTION_NONE;
+#endif
 
 /* Forward function declarations */
 static struct devfs_entry *search_for_entry (struct devfs_entry *dir,

-- 
Daniel Podlejski <underley@underley.eu.org>
   ... Seven deadly sins, Seven ways to win
   Seven holy paths to hell, And your trip begins ...

- 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 May 07 2000 - 21:00:08 EST