diff options
author | Phillip Susi <psusi@ubuntu.com> | 2012-10-19 17:32:00 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2012-10-29 21:52:38 +0100 |
commit | 3cb820632a13a91e0c2e579aedbe8e86b4f0040e (patch) | |
tree | ad217944b9b127dd1669e3d44063c82bd0fa9e52 /tests/Makefile.am | |
parent | f87ff28d1aa8eff085e737ab22d031b0519e5510 (diff) | |
download | parted-3cb820632a13a91e0c2e579aedbe8e86b4f0040e.tar.gz |
libparted: don't probe every dm device in probe_all
We were probing every dm device. Only probe dmraid whole disk
(non-partition) devices instead. This removes the clutter of
LVM logical volumes, and dmraid partitions from the list, which
usually do not make sense to partition.
* NEWS (Changes in behavior): Mention it.
* libparted/arch/linux.c (_is_dmraid_device): New function.
(_dm_is_part): Likewise.
(_probe_dm_devices): Use the latter.
* tests/t6003-dm-hide.sh: New test.
* tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 4649c0a..4ec08da 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -59,6 +59,7 @@ TESTS = \ t6000-dm.sh \ t6001-psep.sh \ t6002-dm-busy.sh \ + t6003-dm-hide.sh \ t6100-mdraid-partitions.sh \ t7000-scripting.sh \ t8000-loop.sh \ |