Re: command to get quota limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AFAIK you don't need subvolume id, `btrfs qgroup show -ref /path/to/subvolume` shows necessary qgroup for me. Separating value you need is more involved:

btrfs qgroup show -ref --raw /path/to/subvolume | tail -n +3 | tr -s ' ' | cut -d ' ' -f 4
Not sure how robust is this though.

--

With Best Regards,
Marat Khalili

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux