[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1012101932440.2813@dhcp-lab-213.englab.brq.redhat.com>
Date: Fri, 10 Dec 2010 19:38:21 +0100 (CET)
From: Lukas Czerner <lczerner@...hat.com>
To: Kay Sievers <kay.sievers@...y.org>
cc: Lukas Czerner <lczerner@...hat.com>, Greg KH <gregkh@...e.de>,
Andreas Dilger <adilger.kernel@...ger.ca>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
tytso@....edu, sandeen@...hat.com, hch@...radead.org,
axboe@...nel.dk
Subject: Re: [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@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists