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

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

 



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-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux