From 37ef87ddaf666736ff914d841a636be9e22a90d7 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 16 Apr 2021 15:19:32 +0200 Subject: [PATCH] btrbk: add url to fs_list raw format --- btrbk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/btrbk b/btrbk index c27eb52..2e6ad87 100755 --- a/btrbk +++ b/btrbk @@ -255,7 +255,7 @@ my %table_formats = ( fs_list => { table => [ qw( -host mount_source mount_subvol mount_point id flags subvolume_path path ) ], short => [ qw( -host mount_source id flags path ) ], long => [ qw( -host mount_source id top cgen gen uuid parent_uuid received_uuid flags path ) ], - raw => [ qw( host mount_source mount_subvol mount_point mount_subvolid id top_level cgen gen uuid parent_uuid received_uuid readonly path subvolume_path subvolume_rel_path ) ], + raw => [ qw( host mount_source mount_subvol mount_point mount_subvolid id top_level cgen gen uuid parent_uuid received_uuid readonly path subvolume_path subvolume_rel_path url ) ], }, extent_diff => { table => [ qw( total exclusive -diff -set subvol ) ], @@ -5928,6 +5928,7 @@ MAIN: mount_subvol => $mnt->{MNTOPS}{subvol}, subvolume_path => $svol->{node}{path}, subvolume_rel_path => $svol->{node}{REL_PATH}, + url => $svol->{URL}, host => $svol->{HOST}, path => $svol_path, flags => ($svol->{node}{readonly} ? "readonly" : undef),