--- In Triffid Hunter <>
wrote:
>
> On Sat, 29 Mar 2008, j.chitte wrote:
>
> > Hi,
> >
> > I am trying to copy a tested nfs image over to a 7250. In order
to
> > preserve the permissions I chose to tar parts I had changed an
untar
> > on the sbc.
> >
> > Having booted the board off it's internal fs and copied the bz2
> > across via ftp it fails to tar -tf with tar invalid magic.
> >
> > This rather esoteric message would appear to mean that it is not
a
> > valid archive (obviously it is tested before transfer).
> >
> > A quick google turns up a short thread about a bug on busybox
> > http://www.busybox.net/lists/busybox/2003-January/007824.html
> >
> > which ends "Now that i can reproduce the problem i should be
able to
> > fix it."
> >
> > Well that was five years back, so I wont hold by breath.
> >
> > What is a reliable way to transfer files or an image to the SBC?
>
> Of course tar won't work, your tar archive is bzip2ed! you need
bzcat or
> tar's -j flag
>
oops, silly me. Perhaps a less mystic error msg would have helped me
see that straight away.
> When I had my nfs image working beautifully, I just cp -avx /* /
mnt/flash/
> and made sure that /dev contained console and null.
>
It sounds like you are refering to your use of a usb device for root
here. I dont seem to have support for yaffs2 in my x86 kernel (2.6.x)
so I'd need to hack about adding that to mount the mtd thing.
If that is available from a std kernel tree what "fs" to give to
mount? Maybe I'm missing what module it uses.
anyway , tar -xjf seems a good solution for the limited changes I've
made.
thanks again for your help.
/js
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|