On Wednesday 13 June 2007, souf wrote:
> example (kernel >= 2.6.20 without CONFIG_SYSFS_DEPRECATED [= n]):
> /sys/class/sound/timer : timer is a symlink towards
> ../../devices/virtual/sound/timer realpath(symlink, device_path);
> device_path = /sys/devices/virtual/sound/timer
> make_device(/sys/devices/virtual/sound/timer, 0);
>
> I believe that this is quicker than to do 3 recursions.

yours may be quicker right now, but i'd rather have a slightly slower one that 
does not need modification in the future for next time they change the system

plus, i think we're talking microseconds difference here, not seconds

> mdev (svn) cannot create devices in directories, neither subdirs  nor
> symlinks

i'm doing it in pieces: bugfixes and quickies first, then the larger stuff 
(like mdev.conf changes)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to