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

Re: ARAnyM base image and /var/cache/pbuilder/base.cow tarball



On Sat, 21 Apr 2012, Thorsten Glaser wrote:

> Finn Thain dixit:
> 
> >Here's what I did (on x86 Linux):
> 
> >$ xz -dc disk.ima.xz | dd conv=swab skip=1 | cp --sparse=always /dev/stdin partition.ext4
>                            ^^^^^^^^^
> 
> Urgh.

That's what I thought at first. Then I figured that it was an Aranym 
optimisation (i.e. the aranym disk image format is big-endian to save 
work).

Maybe ext4 on m68k is meant to be byte swapped on disk? I decided that 
this can't be the case, since an x86 kernel doesn't recognise the byte 
swapped filesystem at all and therefore conv=swab would be correct here.

Finn


Reply to: