]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: (gpt) accept tiny devices
authorKarel Zak <kzak@redhat.com>
Wed, 30 Sep 2020 11:11:01 +0000 (13:11 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Sep 2020 11:11:01 +0000 (13:11 +0200)
commit4b2e840c115ac574ed1b5df7039ebcad78090e31
tree40d7693d22707a4425ccc0ff8b66346f49b1ea66
parentb11e1b7ea12f220d1c9be085d56dbd5ccfc3bce0
libblkid: (gpt) accept tiny devices

GPT prober reads 2 first sectors. There is no overhead as we already
read begin of the device for another filesystems (like FAT) and we
have these sectors already in memory.

Addresses: https://github.com/karelzak/util-linux/issues/1147
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/partitions/gpt.c