mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Enable devtmpfs by default
@ 2012-07-23  1:54 Anton Blanchard
  2012-07-23  9:52 ` Alan Cox
  2012-07-23 15:14 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Anton Blanchard @ 2012-07-23  1:54 UTC (permalink / raw)
  To: gregkh, kay; +Cc: linux-kernel


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.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: b/drivers/base/Kconfig
===================================================================
--- a/drivers/base/Kconfig
+++ 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Enable devtmpfs by default
  2012-07-23  1:54 [PATCH] Enable devtmpfs by default Anton Blanchard
@ 2012-07-23  9:52 ` Alan Cox
  2012-07-23 15:14 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2012-07-23  9:52 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: gregkh, kay, linux-kernel

On Mon, 23 Jul 2012 11:54:14 +1000
Anton Blanchard <anton@samba.org> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Enable devtmpfs by default
  2012-07-23  1:54 [PATCH] Enable devtmpfs by default Anton Blanchard
  2012-07-23  9:52 ` Alan Cox
@ 2012-07-23 15:14 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2012-07-23 15:14 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: kay, linux-kernel

On Mon, Jul 23, 2012 at 11:54:14AM +1000, Anton Blanchard 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-23 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-23  1:54 [PATCH] Enable devtmpfs by default Anton Blanchard
2012-07-23  9:52 ` Alan Cox
2012-07-23 15:14 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome