linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /* we have /subsystem/, forget all the old stuff */
@ 2009-11-07 16:39 Alan Jenkins
  2009-11-07 18:16 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Jenkins @ 2009-11-07 16:39 UTC (permalink / raw)
  To: linux-hotplug

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 :-).

Regards
Alan

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

* Re: /* we have /subsystem/, forget all the old stuff */
  2009-11-07 16:39 /* we have /subsystem/, forget all the old stuff */ Alan Jenkins
@ 2009-11-07 18:16 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2009-11-07 18:16 UTC (permalink / raw)
  To: linux-hotplug

On Sat, Nov 7, 2009 at 17:39, Alan Jenkins <alan-jenkins@tuffmail.co.uk> 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

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

end of thread, other threads:[~2009-11-07 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-07 16:39 /* we have /subsystem/, forget all the old stuff */ Alan Jenkins
2009-11-07 18:16 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).