diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-08 07:16:52 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-08 07:16:52 -0800 |
| commit | 11197e8808b2b58565b86653554acf40da3299dc (patch) | |
| tree | 2dbbe4a79bd8eb2590fb6b1e1a8ffcaf4cb06fd2 | |
| parent | a9a206b3478ab900541d5bd898a42820567ae8fd (diff) | |
| download | patches-11197e8808b2b58565b86653554acf40da3299dc.tar.gz | |
remove "default y" from devtmpfs patch
| -rw-r--r-- | driver-core/driver-core-devtmpfs-remove-experimental-and-enable-it-by-default.patch | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/driver-core/driver-core-devtmpfs-remove-experimental-and-enable-it-by-default.patch b/driver-core/driver-core-devtmpfs-remove-experimental-and-enable-it-by-default.patch index 8bd76020ec03a1..24b805b7e0b2b8 100644 --- a/driver-core/driver-core-devtmpfs-remove-experimental-and-enable-it-by-default.patch +++ b/driver-core/driver-core-devtmpfs-remove-experimental-and-enable-it-by-default.patch @@ -1,32 +1,30 @@ From kay.sievers@vrfy.org Thu Jan 14 16:48:33 2010 From: Kay Sievers <kay.sievers@vrfy.org> Date: Thu, 14 Jan 2010 22:47:57 +0100 -Subject: Driver-Core: devtmpfs - remove EXPERIMENTAL and enable it by default +Subject: Driver-Core: devtmpfs - remove EXPERIMENTAL and flush out the description To: Greg KH <greg@kroah.com> Message-ID: <1263505677.2074.2.camel@yio.site> All major distros enable devtmpfs on recent systems, so remove -the EXPERIMENTAL flag, and enable it by default to reflect how it -is used today. +the EXPERIMENTAL flag, and make the description a bit more instructive. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- - drivers/base/Kconfig | 45 ++++++++++++++++++++++++++++----------------- - 1 file changed, 28 insertions(+), 17 deletions(-) + drivers/base/Kconfig | 41 ++++++++++++++++++++++++----------------- + 1 file changed, 24 insertions(+), 17 deletions(-) --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig -@@ -9,29 +9,40 @@ config UEVENT_HELPER_PATH +@@ -9,29 +9,36 @@ config UEVENT_HELPER_PATH every uevent. config DEVTMPFS - bool "Create a kernel maintained /dev tmpfs (EXPERIMENTAL)" + bool "Maintain a devtmpfs filesystem to mount at /dev" depends on HOTPLUG && SHMEM && TMPFS -+ default y help - This creates a tmpfs filesystem, and mounts it at bootup - and mounts it at /dev. The kernel driver core creates device @@ -52,13 +50,11 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + In very limited environments, it may provide a sufficient + functional /dev without any further help. It also allows simple + rescue systems, and reliably handles dynamic major/minor numbers. -+ If unsure, say Y here. config DEVTMPFS_MOUNT - bool "Automount devtmpfs at /dev" + bool "Automount devtmpfs at /dev, after the kernel mounted the rootfs" depends on DEVTMPFS -+ default y help - This will mount devtmpfs at /dev if the kernel mounts the root - filesystem. It will not affect initramfs based mounting. @@ -73,7 +69,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + With this option enabled, it allows to bring up a system in + rescue mode with init=/bin/sh, even when the /dev directory + on the rootfs is completely empty. -+ If unsure, say Y here. config STANDALONE bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL |
