Mount.getUuid

string getUuid()

Gets the UUID for the mount. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns null if there is no UUID available.

Returns

the UUID for mount or null if no UUID

can be computed. The returned string should be freed with [glib.global.gfree] when no longer needed.