Populate member mount point with SWRaid array device (#756829)
Busy file systems are accessed via a mount point, LVM Physical Volumes are activated via the Volume Group name and busy SWRaid members are accessed via the array device, /dev entry. Therefore choose to show the array device in the mount point field for busy SWRaid members. The kernel device name for an SWRaid array (without leading "/dev/") is the same as used in /proc/mdstat and /proc/partitions. Therefore the array device (with leading "/dev/") displayed in GParted will match between the mount point for busy SWRaid members and the array itself as used in the device combo box. # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sda1[2] sdb1[3] 524224 blocks super 1.0 [2/2] [UU] ... # cat /proc/partitions major minor #blocks name 8 0 33554432 sda 8 1 524288 sda1 ... 8 16 33554432 sdb 8 17 524288 sdb1 ... 9 1 524224 md1 ... Bug 756829 - SWRaid member detection enhancements
parent
7255c8af