mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
New Btrfs support using IOCTLs to get UUID and low level devices
This commit is contained in:
parent
b3cdb01de6
commit
1b45752f90
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