gparted/include
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.h Remove unused read-only functionality from internal block copy 2013-06-05 10:57:39 -06:00
DMRaid.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Device.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
DialogFeatures.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
DialogManageFlags.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Base_Partition.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Disklabel.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Copy.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Label.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_New.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Resize_Move.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Progress.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Rescue_Data.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
DrawingAreaVisualDisk.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
FS_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
FileSystem.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Frame_Resizer_Base.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Frame_Resizer_Extended.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
GParted_Core.h Remove unused read-only functionality from internal block copy 2013-06-05 10:57:39 -06:00
HBoxOperations.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
LVM2_PV_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Makefile.am Combine duplicate code for fat16/32 2013-05-17 09:23:56 -06:00
Operation.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationChangeUUID.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationCheck.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationCopy.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationCreate.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationDelete.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationDetail.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationFormat.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationLabelPartition.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationResizeMove.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Partition.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
PipeCapture.h Enhance line discipline in PipeCapture::OnReadable() (#709276) 2013-10-03 10:23:46 -06:00
Proc_Partitions_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
TreeView_Detail.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Utils.h Detect busy status of Linux Software RAID members (#709640) 2013-10-19 10:21:03 -06:00
Win_GParted.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
btrfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
exfat.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
ext2.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
f2fs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
fat16.h Recognise new dosfstools program names (#704629) 2013-07-27 11:32:20 -06:00
hfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
hfsplus.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
i18n.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
jfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
linux_swap.h Add reporting of linux-swap usage (#708107) 2013-09-24 09:49:10 -06:00
lvm2_pv.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
nilfs2.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
ntfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
reiser4.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
reiserfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
ufs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
xfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00