ts-7000
[Top] [All Lists]

Re: [ts-7000] tar invalid magic

To:
Subject: Re: [ts-7000] tar invalid magic
From: Triffid Hunter <>
Date: Sat, 29 Mar 2008 21:16:48 +1000 (EST)
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

When I had my nfs image working beautifully, I just cp -avx /* /mnt/flash/ 
and made sure that /dev contained console and null.


------------------------------------

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