lkml.org 
[lkml]   [2010]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 0/2 v1] Ioctl for reading block queue information
On Fri, 10 Dec 2010, Kay Sievers wrote:

> On Fri, Dec 10, 2010 at 18:59, Lukas Czerner <lczerner@redhat.com> wrote:
>
> > I do not really see how, reference manual is not exactly helpful with
> > this and I have got the impression that libudev functions are not able
> > to retrieve queue information, but rather device properties, basically
> > only from /sys/block/sda/* directory, not subdirectories.
>
> Device subdirs are like attribute groups, the actual attribute just
> has a / in it.
>
> Kay
>

*hrm* it would _really_ use better documentation! I already tried what
you've described without any success using:

udev_device_get_property_value() <- no description at all!

however it does work with:

udev_device_get_sysattr_value ()

sysattr ? property ? tags ? this is all confusing and again, reference
manual is not documentation. But it works, so thanks!

-Lukas


\
 
 \ /
  Last update: 2010-12-10 19:41    [W:0.046 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site