From 21aa90b847bf63a60e957600978174c29a7aaa44 Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Sun, 15 Sep 2013 12:28:53 +0100 Subject: [PATCH] Allow GParted to read the UUID from older btrfs-show command All the code was there in btrfs::read_uuid() to read the UUID from the btrfs-show command. It just needed enabling. This is only relevant when: (1) the blkid command is unavailable as GParted primarily reads the UUID through the FS_Info cache using the blkid command, and (2) the btrfs command is unavailable and the btrfs module uses the older btrfs-show command instead. --- src/btrfs.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/btrfs.cc b/src/btrfs.cc index e5ac32f3..cecb0897 100644 --- a/src/btrfs.cc +++ b/src/btrfs.cc @@ -78,6 +78,7 @@ FS btrfs::get_filesystem_support() { fs .read = GParted::FS::EXTERNAL ; fs .read_label = FS::EXTERNAL ; + fs .read_uuid = FS::EXTERNAL ; } //Resizing of btrfs requires btrfsctl, mount, umount