[Buildroot] [PATCH 2/3] fs/squashfs: align size to 1MiB

Yann E. MORIN yann.morin.1998 at free.fr
Mon Jul 10 21:35:16 UTC 2017


Thomas, All,

On 2017-07-10 23:24 +0200, Thomas Petazzoni spake thusly:
> On Mon, 10 Jul 2017 18:26:19 +0200, Yann E. MORIN wrote:
> > The Linux kernel will refuse to mount a squashfs image/partition that is
> > not padded to a 1MiB boundary.
> 
> Besides experimental evidence, do you have a pointer to a place in the
> Linux kernel documentation / code that confirms this statement ?
> 
> If you don't, that's fine, but if you have such a reference, it would
> be useful to add it to the commit log.

Sorry, I have no such reference. As you say, it is experimental
evidence... Which turns out to be wrong.

Now I tried to round it to 128KiB (the block size), but it was no good.

Then I tried to round it to 256KiB (just for fun). And it works.

Damn... :-/

Regards,
Yann E. MORIN.

> Thanks!
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com

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


More information about the buildroot mailing list