Date: Sat, 11 Feb 2006 00:52:17 -0500 From: James Tanis <jtanis@pycoder.org> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-sparc64@freebsd.org Subject: Re: moving disks between archs Message-ID: <65dcde740602102152r2fa8b788r1d035222a66ec958@mail.gmail.com> In-Reply-To: <20060210201417.GC67059@xor.obsecurity.org> References: <43EA72B9.5070307@gmail.com> <20060209203330.GA11506@xor.obsecurity.org> <65dcde740602100951k17bf8330o15e1b78bd2ee55be@mail.gmail.com> <20060210201417.GC67059@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/10/06, Kris Kennaway <kris@obsecurity.org> wrote: > On Fri, Feb 10, 2006 at 12:51:18PM -0500, James Tanis wrote: > > Tar will work, but not a drive formatted on an i386 with a tar file on > > it. > > Not if you store the tar file in a UFS filesystem on the drive, but I > suggested writing it to the raw disk where it is just a stream of bits > and therefore endian-neutral. > That would imply that endianness is a function of the OS/filesystem rather than the architecture, which is wrong. If you don't take my word for it, a quick google will find you, (http://developers.sun.com/solaris/articles/support_for_x86.html).. "File systems are neutral to endianness in general, and swapping files between Solaris SPARC and x86 is not an issue. But applications storing raw data that can be shared between platforms would be an issue. For example, if an application on the Solaris SPARC platform writes the data structures in a raw format to the files, then the data stored in these files would be endian-dependent." > > P.S. Don't top-post, it ruins continuity. > Bah, think outside the box. > If its a sparc, why not just plug it into the network temporarily? > > Ive never seen a sparc without an integrated ethernet card. > > > > On 2/9/06, Kris Kennaway <kris@obsecurity.org> wrote: > > > On Wed, Feb 08, 2006 at 11:37:45PM +0100, Paolino wrote: > > > > I'm using a disk to bring data to an network-isolated machine runn= ing > > > > sparc. What filesystem can I use to get some compatibility? > > > > > > > > Having placed an UFS from an i386, makes it unreadable on the sparc= , IRC > > > > guys tought me it's an endiannes problem. > > > > > > > > Is tar going to work ? > > > > > > tar will work, so you can always write the tar file to the raw disk > > > (i.e. use no filesystem). > > > > > > Kris > > > > > > > > > > > > > > > -- > > James Tanis > > jtanis@pycoder.org > > http://pycoder.org > > > > > -- James Tanis jtanis@pycoder.org http://pycoder.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65dcde740602102152r2fa8b788r1d035222a66ec958>