[gparted/ataraid: 10/17] Display array uuid of mdadm recognised ATARAID members (#75)



commit f6c86835ebedef473baec5a7dc973bc80f4df969
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sun Nov 17 19:25:50 2019 +0000

    Display array uuid of mdadm recognised ATARAID members (#75)
    
    Closes #75 - Errors with GPT on RAID 0 ATARAID array

 src/GParted_Core.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index 757c0b30..50c6a354 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -1037,7 +1037,8 @@ void GParted_Core::set_partition_label_and_uuid( Partition & partition )
        // For SWRaid members only get the label and UUID from SWRaid_Info.  Never use
        // values from FS_Info to avoid showing incorrect information in cases where blkid
        // reports the wrong values.
-       if ( partition.filesystem == FS_LINUX_SWRAID )
+       if (partition.filesystem == FS_LINUX_SWRAID ||
+           partition.filesystem == FS_ATARAID        )
        {
                Glib::ustring label = SWRaid_Info::get_label( partition_path );
                if ( ! label.empty() )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]