mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 13:20:28 -05:00
New Btrfs support using IOCTLs to get UUID and low level devices
This commit is contained in:
parent
b51307269a
commit
ee6acba9a9
3 changed files with 169 additions and 207 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue