mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 21:30:14 -05:00
Extends the status command to show free space.
This commit is contained in:
parent
4886a5d13f
commit
3e2d805d08
7 changed files with 205 additions and 35 deletions
|
|
@ -1352,7 +1352,7 @@ void state_scan(struct snapraid_state* state, int output)
|
|||
printf("Scanning disk %s...\n", disk->name);
|
||||
|
||||
/* check if the disk supports persistent inodes */
|
||||
ret = fsinfo(disk->dir, &has_persistent_inode);
|
||||
ret = fsinfo(disk->dir, &has_persistent_inode, 0);
|
||||
if (ret < 0) {
|
||||
/* LCOV_EXCL_START */
|
||||
fprintf(stderr, "Error accessing disk '%s' to get filesystem info. %s.\n", disk->dir, strerror(errno));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue