Re: /* we have /subsystem/, forget all the old stuff */

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 7, 2009 at 17:39, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
> I don't have /subsystem/ (v2.6.32-rc5, no CONFIG_SYSFS_DEPRECATED).
>
> $ ls /sys
> block  bus  class  dev  devices  firmware  fs  hypervisor  kernel  module
>  power
>
> Yet there is some code in udev_enumerate_scan_devices() which tries to use
> /sys/subsystem/.  Will it be implemented in some future kernel?  If not,
> should the code be removed from udev?  If it is currently necessary for
> backwards compatability, perhaps the comment should be updated :-).

It will come some day, and unify the access across all subsystems and
allow proper per-subsys attribute for "classes". I just need to some
more time to finish it properly.

References are here:
  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/sysfs-rules.txt;hb=HEAD
  http://git.kernel.org/?p=linux/kernel/git/kay/patches.git;a=blob;f=subsys.patch;hb=HEAD

Cheers,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux