Signed-off-by: Axel Burri <a...@tty0.ch> --- Documentation/btrfs-subvolume.asciidoc | 2 ++ cmds-subvolume.c | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/btrfs-subvolume.asciidoc b/Documentation/btrfs-subvolume.asciidoc index c187fd8..afbec83 100644 --- a/Documentation/btrfs-subvolume.asciidoc +++ b/Documentation/btrfs-subvolume.asciidoc @@ -114,6 +114,8 @@ print the UUID of the subvolume. print the parent uuid of subvolumes (and snapshots). -R:::: print the UUID of the sent subvolume, where the subvolume is the result of a receive operation +-A:::: +print all available subvolume information. -t:::: print the result as a table. -s:::: diff --git a/cmds-subvolume.c b/cmds-subvolume.c index 82173c0..26a08f1 100644 --- a/cmds-subvolume.c +++ b/cmds-subvolume.c @@ -428,6 +428,7 @@ static const char * const cmd_subvol_list_usage[] = { "-u print the uuid of subvolumes (and snapshots)", "-q print the parent uuid of the snapshots", "-R print the uuid of the received snapshots", + "-A print all available subvolume information", "-t print the result as a table", "-s list snapshots only in the filesystem", "-r list readonly subvolumes (including snapshots)", @@ -471,7 +472,7 @@ static int cmd_subvol_list(int argc, char **argv) }; c = getopt_long(argc, argv, - "acdgopqsurRG:C:t", long_options, NULL); + "acdgopqsurRAG:C:t", long_options, NULL); if (c < 0) break; @@ -515,6 +516,9 @@ static int cmd_subvol_list(int argc, char **argv) case 'R': btrfs_list_setup_print_column(BTRFS_LIST_RUUID); break; + case 'A': + btrfs_list_setup_print_column(BTRFS_LIST_ALL); + break; case 'r': flags |= BTRFS_ROOT_SUBVOL_RDONLY; break; -- 2.4.9 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html