]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: ignore empty MBR on LVM device
authorKarel Zak <kzak@redhat.com>
Tue, 30 Aug 2016 10:07:40 +0000 (12:07 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Aug 2016 10:07:40 +0000 (12:07 +0200)
commit4db236f7e4b9c54b04cb1bb4e4dcdbdc11aec2cc
tree8bf91584f6d072435ad62403ae2bcfffe3ea217b
parenta1df9c9d4e8908ef5942ca0d58ee490352930c5b
libblkid: ignore empty MBR on LVM device

It's possible to use boot sector and empty MBR on LVM physical volume
to make LVM disk bootable. In this case MBR should be ignored and disk
reported as LVM.

Just for the record, this is ugly non-default LVM setup maintained for
backward compatibility (yes, LVM guys don't like it too).

Unfortunately people still use it. The proper way is to use regular
partitioned disk.

Reported-by: Xen <list@xenhideout.nl>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/partitions/dos.c