]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: make sure libblkid uses the same sector size
authorKarel Zak <kzak@redhat.com>
Mon, 14 Oct 2024 09:45:32 +0000 (11:45 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Oct 2024 09:45:32 +0000 (11:45 +0200)
commit7ada6547fcd1f649fadaa8021ff21e3e0f431459
tree3bbeecb7017f0eb609732944fd20f3e79797fc8c
parentfda5dc760a0501554f079558ebd95a4f91fba7cd
libfdisk: make sure libblkid uses the same sector size

Libfdisk uses libblkid to check for filesystems on the device. It
makes sense for both libraries to share the logical sector size
setting, as this setting can be modified by using the fdisk command
line.

We do not see this as an issue, as filesystem detection rarely depends
on sector size (with the exception of some RAIDs). Additionally,
libblkid is usually intelligent enough to check multiple locations
independently of the current device's sector size setting.

Addresses: https://github.com/util-linux/util-linux/pull/3235
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/wipe.c