diff options
author | Mike Snitzer <snitzer@redhat.com> | 2009-07-09 22:34:02 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2009-07-09 22:34:02 +0000 |
commit | 08f0d365fd6dfd458a735d74e4e90f64d0f30781 (patch) | |
tree | 3c776c532b9e08ed12a54880832b3690e3343e8c /lib/filters/filter.c | |
parent | d09a7dfc6ed660f81201e3ea28202d81b1b7dbb3 (diff) | |
download | lvm2-08f0d365fd6dfd458a735d74e4e90f64d0f30781.tar.gz lvm2-08f0d365fd6dfd458a735d74e4e90f64d0f30781.tar.xz lvm2-08f0d365fd6dfd458a735d74e4e90f64d0f30781.zip |
Add extended device (blkext) and MD partition (mdp) types to filters.
Both types were added with a 'max_partitions' of 1 because these devices
are _not_ partitionable (they are the partitions).
Diffstat (limited to 'lib/filters/filter.c')
-rw-r--r-- | lib/filters/filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/filters/filter.c b/lib/filters/filter.c index bc07cb64..c218d548 100644 --- a/lib/filters/filter.c +++ b/lib/filters/filter.c @@ -57,6 +57,7 @@ static const device_info_t device_info[] = { {"ide", 64}, /* IDE disk */ {"sd", 16}, /* SCSI disk */ {"md", 1}, /* Multiple Disk driver (SoftRAID) */ + {"mdp", 1}, /* Partitionable MD */ {"loop", 1}, /* Loop device */ {"dasd", 4}, /* DASD disk (IBM S/390, zSeries) */ {"dac960", 8}, /* DAC960 */ @@ -79,6 +80,7 @@ static const device_info_t device_info[] = { {"ps3disk", 16}, /* PlayStation 3 internal disk */ {"virtblk", 8}, /* VirtIO disk */ {"mmc", 16}, /* MMC block device */ + {"blkext", 1}, /* Extended device partitions */ {NULL, 0} }; |