Linux Hotplug development
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: libudev and /sys/devices/system/cpu
Date: Thu, 13 Jan 2011 19:45:53 +0000	[thread overview]
Message-ID: <20110113194553.GA8201@kroah.com> (raw)
In-Reply-To: <A0B1A1FD-CDA5-4333-B2CD-B686A8FBF3E9@gmail.com>

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

      reply	other threads:[~2011-01-13 19:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 19:21 libudev and /sys/devices/system/cpu Martin Grund
2011-01-13 19:45 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110113194553.GA8201@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox