[Buildroot] [PATCH v6 1/5] package/bmap-tools: new package

Yann E. MORIN yann.morin.1998 at free.fr
Fri Jun 25 12:54:47 UTC 2021


On 2021-06-25 14:45 +0200, Thomas Petazzoni spake thusly:
> On Fri, 25 Jun 2021 14:35:14 +0200
> "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> > I am not too sure what bmap provides over 'dd conv=sparse'...
[--SNIP--]
> Well, this is precisely avoided by bmaptools I believe. bmaptools is
> not about skipping zeroes, it's about skipping holes in sparse files.
> So if a filesystem utility has explicitly written a huge amount of
> zeroes, it's not a hole in the file, and therefore they will be written
> as expected by bmaptools.
> 
> And with that, there are no risk: block filesystems do not make
> assumptions about the state of the data they have not explicitly
> written/initialized at the time of mkfs.

Ah, bmap-tool is really just about skipping holes. And it is assumed
that the image has no hole where the data is relevant, even if only
zeroes.

Thanks.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list