On 2016-04-14 21:55, Chris Murphy wrote:
Hi,
I'm realizing instead of doing 'btrfs subvolume -t' and then 'btrfs
subvolume -tr' and comparing, it would be better if -t just had a
column for whether a subvolume is ro. And maybe it's useful to know if
a subvolume is a snapshot or not (?). I'm not super picky about the
last one. But being able to see if it's ro or not is a nice to have.
If you're just wanting info about one subvolume, just use 'subvol show'.
As far as 'subvol list', that was mentioned in discussion on github of
future changes for btrfs-progs (although I don't think that's gone
anywhere).
Checking if something is a snapshot is easy though, do 'btrfs subvolume
show -qt', if the Parent UUID column is a -, it's a regular subvolume,
if not, it was created as a snapshot.
--
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