On 01/01/18 17:33, Michael Heimpold wrote:
Hi John,
Am Montag, 1. Januar 2018, 12:12:35 CET schrieb John Crispin:
On 21/12/17 23:59, Michael Heimpold wrote:
At the moment, the image file operated on is always truncated
to 512 bytes. This limits the usage of ptgen somewhat.
O_TRUNC
Hi John,
Am Montag, 1. Januar 2018, 12:12:35 CET schrieb John Crispin:
>
> On 21/12/17 23:59, Michael Heimpold wrote:
> > At the moment, the image file operated on is always truncated
> > to 512 bytes. This limits the usage of ptgen somewhat.
>
> O_TRUNC truncates to 0 and not 512 ?!
when the
On 21/12/17 23:59, Michael Heimpold wrote:
At the moment, the image file operated on is always truncated
to 512 bytes. This limits the usage of ptgen somewhat.
O_TRUNC truncates to 0 and not 512 ?!
John
This change allows to use ptgen on existing, larger image files.
In this case,
At the moment, the image file operated on is always truncated
to 512 bytes. This limits the usage of ptgen somewhat.
This change allows to use ptgen on existing, larger image files.
In this case, only the partition table is written/updated while
the rest of the image file is left alone.