Details
-
Suggestion
-
Resolution: Invalid
-
Not Evaluated
-
None
-
None
-
None
-
any
Description
For qt / qtsystems we have method uriForDrive(...) for QStorageInfo (systeminfo).
It works well (and usable, for example, for mounting volumes), but what about to implement similar method for getting real storage partitions UUID's?
I mean when we using uriForDrive(...) method we getting different uri-values for storage partition in different operating systems.
Different OSes (expect linux-based I suppose) uses their own unique identifiers, even though the most popular filesystem formats supports having partition UUID at their superblock (don’t know about all the filesystem formats though)
So I suppose it would be nice to implement new QSystemStorage method, similar to uriForDrive(…), that returns OS-independent UUID for filesystem partition (volume), that is stored at filesystem superblock. So developer could recognize similar removable device volumes at any OS.
Here's more info and my attempt to implement it: http://aa13q.ru/2014/04/06/qt-qtsystems-qstrorageinfo-better-uuids-support.html
Sorry if I made mistakes, any advice will be very helpful.