Le dim. 11 avr. 2021 à 17:51, Robert Elz <k...@munnari.oz.au> a écrit :
>
>     Date:        Sun, 11 Apr 2021 14:25:40 -0000 (UTC)
>     From:        mlel...@serpens.de (Michael van Elst)
>     Message-ID:  <s4v0t4$5c8$1...@serpens.de>
>
>   | +       dg->dg_secperunit = vnd->sc_size / DEV_BSIZE;
>
> While it shouldn't make any difference for any properly created image
> file, make it be
>
>                         (vnd->sc_size + DEV_BSIZE - 1) / DEV_BSIZE;
>
> so that any trailing partial sector remains in the image.

I don't think it's a good idea to include the sector which can't be written to.

Jaromir

Reply via email to