gparted/src
Mike Fleetwood d2e1130ad2 Detect busy status of Linux Software RAID members (#709640)
Read the contents of /proc/mdstat file to determine if a device is a
member of of an active RAID array.

    $ cat /proc/mdstat
    Personalities : [raid1]
    md1 : active raid1 sda1[2] sdb1[3]
          524224 blocks super 1.0 [2/2] [UU]

    md2 : active raid1 sdb2[2] sda2[3](F)
          5238720 blocks super 1.1 [2/1] [U_]

    md3 : active raid1 sdb3[1]
          10477440 blocks super 1.1 [2/1] [_U]
          bitmap: 1/1 pages [4KB], 65536KB chunk

    md4 : inactive sda4[0](S)
          1048564 blocks super 1.2

    unused devices: <none>

There are 5 example Linux Software RAID arrays, md1 to md5.  All are
RAID1 mirrors with 2 members, in various states.

    Array  Members     Status
    md1    sda1, sdb2  Fully operational.
    md2    sda2, sdb2  Member sda2 marked as faulty.  (Device sda2 is
                       still in use).
    md3    sda3, sdb3  Member sda3 has been removed.  (Device sda3 is
                       not in use).
    md4    sda4, sdb4  Incremental start of member sda4 only.  (Neither
                       member devices is in use).
    md5    sda5, sdb5  Array stopped.  (Neither member device is in
                       use).

Also disable "Unmount" in the partition menu for active RAID array
members.

Bug #709640 - Linux Swap Suspend and Software RAID partitions not
              recognised
2013-10-19 10:21:03 -06:00
..
.cvsignore added *.swp some modifications to pass 'make distcheck' minor cleanups 2005-11-25 12:59:47 +00:00
Copy_Blocks.cc Remove unused read-only functionality from internal block copy 2013-06-05 10:57:39 -06:00
DMRaid.cc Fix ignoring return value compiler warnings 2011-07-18 13:31:54 -06:00
Device.cc Add sector size to device display pane 2010-02-20 15:12:26 -07:00
DialogFeatures.cc Recognise Linux Swap Suspend and Software RAID partitions (#709640) 2013-10-19 10:05:54 -06:00
DialogManageFlags.cc disabled resizing of this dialog renamed 'Filesystems' to 'Features' in 2006-04-05 09:33:04 +00:00
Dialog_Base_Partition.cc Prevent crash from pressing Esc in dialogs with number entry (#682658) 2012-08-30 13:14:04 -06:00
Dialog_Disklabel.cc Stop using deprecated widget alignment enumerators (#652044) 2013-10-18 10:17:22 -06:00
Dialog_Partition_Copy.cc Disallow resizing of LVM2 PVs which are members of exported VGs (#670171) 2012-08-30 13:47:46 -06:00
Dialog_Partition_Info.cc Stop using deprecated widget alignment enumerators (#652044) 2013-10-18 10:17:22 -06:00
Dialog_Partition_Label.cc Make the partition label length dependent from the file system (#689318) 2012-12-30 16:55:03 +00:00
Dialog_Partition_New.cc Recognise Linux Swap Suspend and Software RAID partitions (#709640) 2013-10-19 10:05:54 -06:00
Dialog_Partition_Resize_Move.cc Disallow resizing of LVM2 PVs which are members of exported VGs (#670171) 2012-08-30 13:47:46 -06:00
Dialog_Progress.cc Further RHEL / CentOS 5.9 compile fixes (#695279) 2013-04-28 13:51:06 -06:00
Dialog_Rescue_Data.cc Remove full stops from the end of primary text in dialogs 2012-08-30 13:47:46 -06:00
DrawingAreaVisualDisk.cc Stop using deprecated method free_colors() (#652044) 2013-10-15 10:09:15 -06:00
FS_Info.cc Fix long scan problem when BIOS floppy setting incorrect 2012-01-06 10:31:14 -07:00
FileSystem.cc Rename function relay_update 2013-05-10 10:03:53 -06:00
Frame_Resizer_Base.cc Stop using deprecated method free_colors() (#652044) 2013-10-15 10:09:15 -06:00
Frame_Resizer_Extended.cc Limit graphic movement according to required boot record space 2010-05-25 16:26:08 -06:00
GParted_Core.cc Detect busy status of Linux Software RAID members (#709640) 2013-10-19 10:21:03 -06:00
HBoxOperations.cc added popupmenu to operationslist and did some (higrelated) cleanups 2006-09-17 13:23:47 +00:00
LVM2_PV_Info.cc Recognise lvm command immediately when rescanning for supported actions 2012-08-30 13:47:46 -06:00
Makefile.am Combine duplicate code for fat16/32 2013-05-17 09:23:56 -06:00
Operation.cc Fix off by 1 sector math when looking for unallocated space 2010-05-27 10:59:12 -06:00
OperationChangeUUID.cc Restructure and word-smith UUID translatable text 2012-02-10 10:33:13 -07:00
OperationCheck.cc Fixed incorrect spelling of filesystem and mountpoint 2008-11-18 23:58:17 +00:00
OperationCopy.cc Replace default sector size with appropriate sector size 2010-04-26 11:52:33 -06:00
OperationCreate.cc Rename get_length method to get_sector_length 2010-04-28 09:11:44 -06:00
OperationDelete.cc Rename get_length method to get_sector_length 2010-04-28 09:11:44 -06:00
OperationDetail.cc Clean up OperationDetail timer initialization 2013-03-11 18:40:31 -06:00
OperationFormat.cc renamed some enums 2006-07-29 15:20:32 +00:00
OperationLabelPartition.cc Make GParted recognise reading blank file system labels (#685656) 2012-11-04 12:26:09 +00:00
OperationResizeMove.cc Rename get_length method to get_sector_length 2010-04-28 09:11:44 -06:00
Partition.cc Make GParted recognise reading blank file system labels (#685656) 2012-11-04 12:26:09 +00:00
PipeCapture.cc Enhance line discipline in PipeCapture::OnReadable() (#709276) 2013-10-03 10:23:46 -06:00
Proc_Partitions_Info.cc Add regexp for Linux SW RAID devices in /proc/partitions (#678379) 2012-12-05 09:51:50 -07:00
TreeView_Detail.cc Make GParted recognise reading blank file system labels (#685656) 2012-11-04 12:26:09 +00:00
Utils.cc Detect busy status of Linux Software RAID members (#709640) 2013-10-19 10:21:03 -06:00
Win_GParted.cc Detect busy status of Linux Software RAID members (#709640) 2013-10-19 10:21:03 -06:00
btrfs.cc Allow GParted to read the UUID from older btrfs-show command 2013-09-24 09:49:10 -06:00
exfat.cc Cleanup duplicate fs code 2013-03-11 18:40:31 -06:00
ext2.cc Turn on resize2fs text progress bar (#709276) 2013-10-03 10:23:46 -06:00
f2fs.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
fat16.cc Recognise new dosfstools program names (#704629) 2013-07-27 11:32:20 -06:00
hfs.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
hfsplus.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
jfs.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
linux_swap.cc Add reporting of linux-swap usage (#708107) 2013-09-24 09:49:10 -06:00
lvm2_pv.cc Cleanup duplicate fs code 2013-03-11 18:40:31 -06:00
main.cc Ensure running GParted is named correctly under GNOME Shell (#705323) 2013-08-13 15:17:34 -06:00
nilfs2.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
ntfs.cc Allow ntfsresize command to report real-time %age progress (#697662) 2013-09-09 09:23:58 -06:00
reiser4.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
reiserfs.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00
ufs.cc Cleanup duplicate fs code 2013-03-11 18:40:31 -06:00
xfs.cc Add create_with_label flag to struct FS (#701569) 2013-06-09 09:50:54 -06:00