Display array device as mount point of mdadm started ATARAID members (#75)
This matches how other non-file systems are handled, by displaying the access reference in the mount point column. For LVM Physical Volumes the Volume Group name is displayed [1] and for an active Linux Software RAID array the array device is displayed [2]. [1]8083f11d84
Display LVM2 VGNAME as the PV's mount point (#160787) [2]f6c2f00df7
Populate member mount point with SWRaid array device (#756829) Closes #75 - Errors with GPT on RAID 0 ATARAID array
This commit is contained in:
parent
6e990ea48a
commit
538c866d09
|
@ -1423,6 +1423,12 @@ void GParted_Core::set_mountpoints( Partition & partition )
|
|||
if ( ! array_path.empty() )
|
||||
partition.add_mountpoint( array_path );
|
||||
}
|
||||
else if (partition.filesystem == FS_ATARAID)
|
||||
{
|
||||
Glib::ustring array_path = SWRaid_Info::get_array(partition.get_path());
|
||||
if (! array_path.empty())
|
||||
partition.add_mountpoint(array_path);
|
||||
}
|
||||
else if ( partition.filesystem == FS_LUKS )
|
||||
{
|
||||
LUKS_Mapping mapping = LUKS_Info::get_cache_entry( partition.get_path() );
|
||||
|
|
Loading…
Reference in New Issue