CONFIG_DEVTMPFS

Pawel Golaszewski blues at pld-linux.org
Wed Dec 16 13:46:04 CET 2009


On Wed, 16 Dec 2009, Jan Rękorajski wrote:
> > Linux 2.6.32.* comes with a handy function:
> > 
> > CONFIG_DEVTMPFS:
> > 
> > "This creates a tmpfs filesystem, and mounts it at bootup
> > and mounts it at /dev. The kernel driver core creates device
> > nodes for all registered devices in that filesystem. All device
> > nodes are owned by root and have the default mode of 0600.
> > Userspace can add and delete the nodes as needed. This is
> > intended to simplify bootup, and make it possible to delay
> > the initial coldplug at bootup done by udev in userspace.
> > It should also provide a simpler way for rescue systems
> > to bring up a kernel with dynamic major/minor numbers.
> > Meaningful symlinks, permissions and device ownership must
> > still be handled by userspace."
> > 
> > Maybe we could simplify our geninitrd?
> Better not. 
> http://readlist.com/lists/vger.kernel.org/linux-kernel/148/740255.html

Maybe not now because it's too fresh and buggy.
But in general - IMvHO it's the right direction.

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list