public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [QUESTION/PROPOSAL] udev (fwd)
@ 2004-03-03 19:27 Grzegorz Kulewski
  2004-03-03 19:40 ` Tim Hockin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Grzegorz Kulewski @ 2004-03-03 19:27 UTC (permalink / raw)
  To: linux-hotplug-devel; +Cc: greg, linux-kernel

[PLEASE CC LKML or me because I am not subscribed to LHD!]

Greg asked for it, so here it is:

Question:

If I understand well, currently, when kernel detects new device, it 
creates all important files in /sys for it, excluding device file.

So, (sorry if it was asked 100000000 times...
... but) why when kernel detects new device or module is loaded, no device 
file in sysfs is created? The device files in /dev would be only links to 
these in /sys. 

This way we could stop care about major/minor numbers and leave it to sysfs...
And it maybe could decrease the possible races related to udev because it 
would only create or remove links to files in /sys.

Programs will be able to easily find, for what device and where located in 
system (buses, etc.) the device file in /dev is - with readlink.

And it should make the entire process more clear.

What You think about it?



thanks and sorry for my english

Grzegorz Kulewski


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

end of thread, other threads:[~2004-03-03 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03 19:27 [QUESTION/PROPOSAL] udev (fwd) Grzegorz Kulewski
2004-03-03 19:40 ` Tim Hockin
2004-03-03 20:51   ` Grzegorz Kulewski
2004-03-03 22:10     ` Tim Hockin
2004-03-03 19:41 ` Chris Friesen
2004-03-03 20:04 ` Felipe Alfaro Solana
2004-03-03 21:08 ` Greg KH

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