Package: mount
Version: 2.29.2-1
Severity: wishlist
File: /sbin/losetup
Tags: lfs

Issue:

Images from devices with block sizes other than 512 bytes may behave
oddly with loop devices due to block size.

Example:

Some IDE floptical drives report a block size of 1024, and some USB
floptical drives report may not (I do not know if these are typical
samples as I only have access to the two devices) and in either case
the image copied with dd and loop mounted reports a block size of 512.
This does not appear to affect the ext family of file-systems when
used without a partition table, but is a defiantly an issue with mbr
style partitions. The mbr was written assuming a larger block size,
and mis-positions the partitions, making them both too small and too
early.

Proposal:

By adding a block size specification to losetup we can fix such issues
by allowing the reported block size to match the image source's.
Additionally intentional block size mismatches may be created for testing.

Reply via email to