1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/device
Zdenek Kabelac d37a26b680 devices: handle partscan loop devices
Treat loop device created with 'losetup -P' as regular
partitioned device - so if it has partition table,
prevent its usage in commands like 'pvcreate'.

Before 'pvcreate /dev/loop0' could have erased and formated as PV,
after this patch, device is filtered out and cannot be used.
2016-06-01 17:37:47 +02:00
..
dev-cache.c coverity: use wider type for whole expression 2016-04-22 01:12:34 +02:00
dev-cache.h dev-cache: also index VGIDs and LVIDs if using persistent .cache file 2016-03-30 11:00:01 +02:00
dev-dasd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dev-ext-udev-constants.h filters: partitioned: fix partition table filter with external_device_info_source="udev" and blkid<2.20 2016-02-02 13:28:11 +01:00
dev-ext.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dev-io.c device: Retry open without O_NOATIME if it fails. 2016-05-12 01:05:52 +01:00
dev-luks.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dev-md.c gcc: logical-op warning go away 2016-02-23 14:41:24 +01:00
dev-swap.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dev-type.c devices: handle partscan loop devices 2016-06-01 17:37:47 +02:00
dev-type.h devices: handle partscan loop devices 2016-06-01 17:37:47 +02:00
device-types.h doc: change fsf address 2016-01-21 12:11:37 +01:00
device.h device: Retry open without O_NOATIME if it fails. 2016-05-12 01:05:52 +01:00