[Kde-hardware-devel] How to get Solid::Device having device path only

Rafał Miłecki zajec5 at gmail.com
Thu Sep 17 01:53:45 CEST 2009


Hi,

I play with kio_sysinfo, kdecore and kdelibs to get (un)mounting
working "everywhere" (not just in DeviceNotifier).

Could you help me getting Solid::Device when I have device path (ex.
/dev/sdb1) only? Is this possible?

I guess I've to use findDevicesFromQuery with some magic predicate,
but don't know that predicate. Tried to browse results from
http://lxr.kde.org/ident?i=listFromQuery but it didn't help.

-- 
Rafał


More information about the Kde-hardware-devel mailing list