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

Kevin Ottens ervin at kde.org
Thu Sep 17 12:22:51 CEST 2009


On Thursday 17 September 2009 07:18:46 Ben Cooksley wrote:
> Storage Access appears to have a property "File Path" which seems to
> be what you are looking for.

In fact that'd be Block.device that is needed. As "/dev/sdfoo" is a device 
node for a block device.

StorageAccess.filePath is the mountpoint if any.
 
Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20090917/a0b357d5/attachment.sig 


More information about the Kde-hardware-devel mailing list