]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: remove workaround for FAT+MBR on whole-disk
authorKarel Zak <kzak@redhat.com>
Fri, 9 Apr 2021 12:42:18 +0000 (14:42 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Apr 2021 12:42:18 +0000 (14:42 +0200)
commit751eca28fcfa1e325770904d7181b22e48c72b29
tree6b8f253c0a885bd508e007feeb2ed8e56f10b0b7
parent33ef6ce910134b88b41bd448b3253f29de791803
libblkid: remove workaround for FAT+MBR on whole-disk

The current libblkid ignores FAT when created on the same whole-disk
device as valid MBR. This restriction is not compatible with many
devices (like USB flash disk) created by Windows or the latest
dosfstools where the first partition is used for entire device and
where is also valid FAT. The filesystem is accessible from partition
as well as from whole-disk device.

The conclusion (between util-linux, dosfstools and udisks) is that
libblkid has to provide all details, not hide anything and the proper
policy (hide/show) has to be implemented by udisks (or so).

CC: Tomáš Bžatek <tbzatek@redhat.com>
CC: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/vfat.c
tests/ts/blkid/mbr-wholedisk [deleted file]
tests/ts/blkid/mbr-wholedisk-vfat.img [deleted file]