Somewhere among the updates 'btrfs fi show LABEL' stopped working and
xfstests/btrfs/006 fails. I did not know that this functionality exists so I
haven't paid attention to it during reviews.
btrfs/006 5s ... [18:10:35] [18:10:40] - output mismatch (see /root/xfstests/results//btrfs/006.out.bad)
--- tests/btrfs/006.out 2013-08-29 11:58:37.000000000 +0200
+++ /root/xfstests/results//btrfs/006.out.bad 2013-10-22 18:10:40.000000000 +0200
@@ -4,15 +4,44 @@
TestLabel.006
== Mount.
== Show filesystem by label
-Label: 'TestLabel.006' uuid: <UUID>
- Total devices <EXACTNUM> FS bytes used <SIZE>
- devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
+ERROR: arg type unknown
+usage: btrfs filesystem show [options|<path>|<uuid>]
+
+ Show the structure of a filesystem
+
+ -d|--all-devices show only disks under /dev containing btrfs filesystem
+ -m|--mounted show only mounted btrfs
+ If no argument is given, structure of all present filesystems is shown.
+
+ERROR: arg type unknown
+usage: btrfs filesystem show [options|<path>|<uuid>]
+
+ Show the structure of a filesystem
+
+ -d|--all-devices show only disks under /dev containing btrfs filesystem
+ -m|--mounted show only mounted btrfs
+ If no argument is given, structure of all present filesystems is shown.
== Show filesystem by UUID
-Label: 'TestLabel.006' uuid: <EXACTUUID>
+Label: none uuid: <UUID>
+ Total devices 4 FS bytes used <SIZE>
+ devid <DEVID> size <SIZE> used <SIZE> path /dev/sda5
+ devid <DEVID> size <SIZE> used <SIZE> path /dev/sda6
+ devid <DEVID> size <SIZE> used <SIZE> path /dev/sda7
+ devid <DEVID> size <SIZE> used <SIZE> path /dev/sda8
+
+Label: TestLabel.006 uuid: <UUID>
Total devices <EXACTNUM> FS bytes used <SIZE>
devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
+Label: none uuid: <UUID>
+ Total devices 1 FS bytes used <SIZE>
+ devid <DEVID> size <SIZE> used <SIZE> path /dev/sdb
+
+Label: none uuid: <UUID>
+ Total devices 1 FS bytes used <SIZE>
+ devid <DEVID> size <SIZE> used <SIZE> path /dev/sda15
+
== Sync filesystem
FSSync 'SCRATCH_MNT'
== Show device stats by mountpoint
I did a quick tested with some older integration branch with
"btrfs-progs: btrfs_list_find_updated_files: Fix memory leak" on top and it
worked.
david
--
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