Skip to content

devtmpfs patches

Greg KH lkml 1 version NAK

Status from this message: Nacked-by: "Eric W. Biederman" <[email protected]>

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 81 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/13Driver Core: add nodename callbacksdrivers/base/core.c include/linux/device.h+54 -13 replies
2/13Driver Core: misc: add nodename support for misc devices.arch/x86/kernel/microcode_core.c drivers/char/hw_random/core.c drivers/char/misc.c +3 more+17 -34 replies
3/13Driver Core: usb: add nodename support for usb drivers.drivers/hid/usbhid/hiddev.c drivers/media/video/dabusb.c drivers/usb/class/usblp.c +5 more+56 -20 replies
4/13Driver Core: block: add nodename support for block drivers.block/genhd.c drivers/block/pktcdvd.c include/linux/genhd.h+18 -10 replies
5/13Driver Core: x86: add nodename for cpuid and msr drivers.arch/x86/kernel/cpuid.c arch/x86/kernel/msr.c+12 -00 replies
6/13Driver Core: dvb: add nodename for dvb driversdrivers/media/dvb/dvb-core/dvbdev.c+10 -00 replies
7/13Driver Core: input: add nodename for input driversdrivers/input/input.c+6 -00 replies
8/13Driver Core: sound: add nodename for sound driverssound/sound_core.c+7 -00 replies
9/13Driver Core: raw: add nodename for raw devicesdrivers/char/raw.c+6 -00 replies
10/13Driver Core: drm: add nodename for drm devicesdrivers/gpu/drm/drm_sysfs.c+7 -00 replies
11/13Driver Core: aoe: add nodename for aoe devicesdrivers/block/aoe/aoechr.c+7 -00 replies
12/13Driver Core: bsg: add nodename for bsg driverblock/bsg.c+6 -00 replies
13/13Driver Core: devtmpfs - driver core maintained /dev tmpfsdrivers/base/Kconfig drivers/base/Makefile drivers/base/base.h +9 more+401 -50 replies

Reviews trailers per patch

None of the 13 patches has a Reviewed-by or Acked-by.

PatchEric W. Biederman
SeriesNacked-by
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/13] devtmpfs patches

Here's the latest version of the devtmpfs patch, broken up into 13 different patches to make it easier to review and merge properly.

This series does the following:
- creates a new callback within the driver core to allow drivers and subsystems to provide a name for their subsystem to properly reflect what userspace should use for their device nodes. This allows for things like the sound/ and input/ subdirectories to be properly told to userspace. Note these names and subdirectories are the ones that have been used for years, and are standardized across all distributions and synced up with the LANANA naming scheme which is specified by LSB. We aren't creating anything new here.
- fills in the callbacks by the various subsystems that need to define it, including the misc device layer. This is the majority of the patches in the series.
- adds the devtmpfs core code. Description of what this is, why it is needed, and how it works is within this patch.

All of these patches have been tested for a number of weeks now in SuSE's kernel trees and have proved to increase boot time a measurable ammount (a few seconds at the very least) on both traditional systems (servers / desktops) as well as on netbooks using a non-SuSE based userspace infrastructure.

This feature also allows rescue systems to work properly by allowing systems to boot into /bin/bash with full access to all of their device nodes. It is also a big win on embedded systems with no local users yet they need to provide dynamic names as their hardware configuration can be changed by external forces.

All of the previous objections to this patch series seems to have been properly addressed, but as always, comments are welcome, just make them substantial please :)

These patches are now in the driver-core git tree of quilt patches.

thanks,

greg k-h