2012-10-23 19:40:13 +02:00
|
|
|
---
|
|
|
|
lib/filters/filter.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
|
|
|
--- LVM2.2.02.98.orig/lib/filters/filter.c
|
|
|
|
+++ LVM2.2.02.98/lib/filters/filter.c
|
|
|
|
@@ -180,6 +180,10 @@ static int _scan_proc_dev(const char *pr
|
2012-10-18 10:15:42 +02:00
|
|
|
/* All types unrecognised initially */
|
2012-10-23 19:40:13 +02:00
|
|
|
memset(_partitions, 0, sizeof(_partitions));
|
2012-10-18 10:15:42 +02:00
|
|
|
|
|
|
|
+ /* Extended devt will use MAJOR 259
|
|
|
|
+ Consider it an non-partitionable block device */
|
2012-10-23 19:40:13 +02:00
|
|
|
+ _partitions[259].max_partitions = 1;
|
2012-10-18 10:15:42 +02:00
|
|
|
+
|
|
|
|
if (dm_snprintf(proc_devices, sizeof(proc_devices),
|
|
|
|
"%s/devices", proc) < 0) {
|
|
|
|
log_error("Failed to create /proc/devices string");
|