OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Able to access data on HD on platforms with different endianness?

From: Seth Brundle (cdanza335googlemail.com)
Date: Wed Jan 02 2008 - 09:31:27 CST


2008/1/2, Marco Peereboom <slashpeereboom.us>:
>
> Don't mix endianess on filesystems. It won't work.

Thanks. Surely saved some time for me.

On Wed, Jan 02, 2008 at 12:34:52PM +0100, Seth Brundle wrote:
> > Hello list & happy new year,
> >
> > due to some problems with a x86 machine I got here I have the problem of
> > accessing data on one of its hard discs. The machine runned OpenBSD 4.2,
> and
> > its first (system) HD died. I have a 500GByte SATA drive connected to it
> on
> > a dedicated controller, which contains a lot of my data.
> >
> > As I need to access it ASAP, I thought of connecting it to my G4 Power
> Mac,
> > after I built in the Promise SATA HBA that was used in the PC (this
> device
> > will be operatable under OpenBSD as there's a driver for it; however,
> the
> > machine wouldn't be able to boot off of it, but that's not needed
> anyways).
> >
> > Now my question: The x86 machine is little endian, the PowerPC is big
> > endian. Is there a chance to have access to my data or will it all be
> > 'upside down' (or, even worse, would I destroy the disklabel)?
> >
> > Thanks,
> >
> > Seth