public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* An idea on devfs vs. udev
@ 2005-10-30 18:07 Daniele Orlandi
  2005-10-30 21:18 ` Neil Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Daniele Orlandi @ 2005-10-30 18:07 UTC (permalink / raw)
  To: linux-kernel


Disclaimer: My knowledge about devfs/udev/sysfs is superficial, all the 
following text maybe nonsense. In case, please ignore it, complain, insult 
me, whatever you prefer, I'm not going to be offended :)


I see /dev as an abstraction layer above /sys, where udev implements the 
abstraction. udev takes information from /sys and "translates" it to device 
files organized in a nice way, following several policies configured on the 
system.

Embedded people say "We don't need that kind of abstraction, we are ok with 
working at the lower level".

So, why cannot we substitute the "dev" file within /sys with the actual device 
file?

udev could continue to work in the same fashion, just stat(2)ing the file, 
instead of parsing its contents.

embedded software could directly access the device file in /sys following a 
path that is often meaningful and persistant between reboots.

This is *not* meant to be alternative to udev, just a possibility for people 
who cannot run hotplug/udev and still want to access dynamic devices and are 
prepared to adapt their software and libraries to another scheme.

Bye,

-- 
  Daniele Orlandi

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

end of thread, other threads:[~2005-11-08 22:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-30 18:07 An idea on devfs vs. udev Daniele Orlandi
2005-10-30 21:18 ` Neil Brown
2005-10-30 22:23   ` Greg KH
2005-10-30 21:32     ` Neil Brown
2005-11-08 18:41     ` Matt Mackall
2005-11-08 18:51       ` Greg KH
2005-11-08 19:17         ` Matt Mackall
2005-11-08 22:13           ` Bill Davidsen
2005-10-30 21:57 ` Rob Landley
2005-10-31  9:21   ` Frank Sorenson
2005-10-30 22:18 ` Greg KH
2005-10-30 21:35   ` Neil Brown
2005-10-30 21:48     ` Daniele Orlandi

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