ts-7000
[Top] [All Lists]

[ts-7000] Re: tar invalid magic

To:
Subject: [ts-7000] Re: tar invalid magic
From: "j.chitte" <>
Date: Sat, 29 Mar 2008 12:43:50 -0000
--- 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU