]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkid: print ID_PART_ENTRY_* for small devices
authorKarel Zak <kzak@redhat.com>
Thu, 20 Oct 2011 22:12:47 +0000 (00:12 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 20 Oct 2011 22:37:06 +0000 (00:37 +0200)
commit6a2f2f58a428890a33b382876bab78c608cc7c1c
tree9e9ea800c2e0702c08315f163623e14e1e7a436f
parentacb03ad46a0f5160fe7a1c9d9ec09c35494d3051
blkid: print ID_PART_ENTRY_* for small devices

The current optimization for small devices (1.4MiB) is broken. It
checks for partition table, but if nothing is detected then details
(ID_PART_ENTRY_*) about the current partition are not gathered.

The optimization should be enabled for small *whole* disks only.

Reported-by: David Zeuthen <davidz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/blkid.c