public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env
@ 2005-01-23  4:19 Kay Sievers
  2005-02-01 22:56 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Kay Sievers @ 2005-01-23  4:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg KH

This patch sequence moves the creation of the sysfs "dev" file of the class
devices into the driver core. The struct class_device contains a dev_t
value now. If set, the driver core will create the "dev" file containing
the major/minor numbers automatically.

The MAJOR/MINOR values are also exported to the hotplug environment. This
makes it easy for userspace, especially udev to know if it should wait for
a "dev" file to create a device node or if it can just ignore the event.
We currently carry a compiled in blacklist around for that reason.

It would also be possible to run some "tiny udev" while sysfs is not
available - just by reading the hotplug call or the netlink-uevent.

Thanks,
Kay


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

end of thread, other threads:[~2005-02-05 21:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23  4:19 [PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env Kay Sievers
2005-02-01 22:56 ` Greg KH
2005-02-02  0:48   ` Kay Sievers
2005-02-05  6:16     ` Greg KH
2005-02-05 21:49       ` Kay Sievers

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