New Btrfs support using IOCTLs to get UUID and low level devices

This commit is contained in:
Andrea Mazzoleni 2026-04-23 00:19:03 +02:00
parent b51307269a
commit ee6acba9a9
3 changed files with 169 additions and 207 deletions

View file

@ -322,7 +322,7 @@ static inline int hardlink(const char* a, const char* b)
* Get the device UUID.
* Return 0 on success.
*/
int devuuid(uint64_t device, const char* path, char* uuid, size_t size);
int devuuid(uint64_t device_id, const char* device_path, char* uuid, size_t size);
/**
* Physical offset not yet read.