Skip to contentSkip to conversation

Enable devtmpfs by default

PATCH In review Anton Blanchard 3 participants 3 messages Jul 23, 2012 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable devtmpfs by default

udev now requires CONFIG_DEVTMPFS so make it default to y.

I noticed this when booting a ppc64 pseries_defconfig on Fedora 17 and it paniced because it couldn't mount the root device.

---

drivers/base/Kconfig +1 -0
Index: b/drivers/base/Kconfig
===================================================================
@@ -24,6 +24,7 @@ config UEVENT_HELPER_PATH
 config DEVTMPFS
 	bool "Maintain a devtmpfs filesystem to mount at /dev"
 	depends on HOTPLUG
+	default y
 	help
 	  This creates a tmpfs/ramfs filesystem instance early at bootup.
 	  In this filesystem, the kernel driver core maintains device
#1 lore raw
Quoted 5 lines · On Mon, 23 Jul 2012 11:54:14 +1000 Anton Blanchard <[email protected]> wrote:

udev now requires CONFIG_DEVTMPFS so make it default to y.

I noticed this when booting a ppc64 pseries_defconfig on Fedora 17 and it paniced because it couldn't mount the root device.

NAK. As Linus keeps saying we shouldn't go randomly turning features on at people.

See the discussion on having a distro configuration - that will fix this problem properly and for good.

You need half a dozen other things enabled to make Fedora boot many of them quite obscure LVM settings.

Alan

maintainer
#2 lore raw
In reply to Anton Blanchard
Quoted 5 lines · Anton Blanchard

udev now requires CONFIG_DEVTMPFS so make it default to y.

I noticed this when booting a ppc64 pseries_defconfig on Fedora 17 and it paniced because it couldn't mount the root device.

All the world isn't Fedora :)

See Linus's recent thread about distro configs, that's the best solution for something like this.

greg k-h