CONFIG_DEVTMPFS

Patryk Zawadzki patrys at pld-linux.org
Wed Dec 16 12:22:50 CET 2009


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?

-- 
Patryk Zawadzki


More information about the pld-devel-en mailing list