Re: [RFC PATCH 0/2 v1] Ioctl for reading block queue information

From: Lukas Czerner
Date: Fri Dec 10 2010 - 13:38:48 EST


On Fri, 10 Dec 2010, Kay Sievers wrote:

> On Fri, Dec 10, 2010 at 18:59, Lukas Czerner <lczerner@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/