[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#823881: dosfstools: mmd fails right after mkfs.msdos (sectors/tracks mismatch)

[ Poke Steve. ]

Andreas Bombe <aeb@debian.org> (2016-05-11):
> On Tue, May 10, 2016 at 02:15:42PM +0200, Andreas Bombe wrote:
> > Since 416 blocks is a rather odd value, the default is used and that has
> > changed. I think mtools is overzealous in checking those values and
> > refusing to work. Still, it probably makes sense to use 64/32 as the
> > default for smaller filesystem sizes (up to 512 MB possibly) and I'll
> > prepare a version that implements this.
> Uploading this now.
> As far as I'm concerned, I consider this an aesthetic change. There is
> still no guarantee that the total number of sectors is a multiple of
> sectors per track. It just happens to work with the current values.

Steve → we probably don't want to be hardcoding such things in so many
places right? 3 calls in src:debian-installer, plus debian-cd, and maybe

> If you want to make this robust, you'll either have to explicitly
> specify matched size/sectors/heads on the command line to mkfs.msdos or
> disable the bogus mtools check like everyone else does when encountering
> that error.

Thanks for your input and the proposed change.

I think Steven mentioned (when we first diagnosed this) a possibly
bogus/overzealous check on mtools side as well. You seem to agree. So,
if this check is bogus, why not fix it/remove it upstream then?

> Seriously, searching for that error message in your favorite search
> engine will give you pages upon pages of hits, all of them describing
> how to turn it off.

Seriously, I read the man^Winfo page and implemented a workaround in
src:debian-installer already.

I filed this against dosfstools anyway to make sure our findings /
intuitions were correct.

Thanks for the swift replies.


Attachment: signature.asc
Description: Digital signature

Reply to: