Re: libudev and /sys/devices/system/cpu

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

 



On Thu, Jan 13, 2011 at 08:21:02PM +0100, Martin Grund wrote:
> Hi,
> 
> I try to access the info stored in /sys/devices/system/cpu to gather
> information about available CPUs and their architecture ( cache size,
> levels etc). However, when enumerating over devices and subsystems
> using  udev_enumerate_scan_devices()  and
> udev_enumerate_scan_subsystems() the result list does not contain any
> entry from /sys/devices/system.

That's because the entries there are not "real" devices as far as the
kernel is concerned.

It's a real problem, and Kay has some initial patches floating around
for the kernel to resolve this issue.  I just need to get some spare
time to look them over and get them accepted into the kernel tree.

sorry,

greg k-h
--
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