(This bug was found by Xianghua Chen) Description of problem: mkfs fat does not set the block size correctly: $ rm test.img $ truncate -s 100M test.img $ guestfish -a test.img \ run : part-disk /dev/sda mbr : mkfs fat /dev/sda1 blocksize:512 : mount /dev/sda1 / : statvfs / ... bsize: 2048 bsize is expected to be 512 because we set blocksize:512 when creating the filesystem. Version-Release number of selected component (if applicable): libguestfs 1.37.35 How reproducible: 100% Steps to Reproduce: 1. See reproducer above. Additional info: We're adding ’-b 512’ to the command line, but that option to mkfs.fat sets the backup boot sector location, so that's completely wrong. This is a bug introduced when we fixed the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=599464
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.
Reopening because Virtualization Tools has not been discontinued.