Subject: Re: FFS_EI isn't mounting little on bigendian.
To: Simon Burge <simonb@wasabisystems.com>
From: Charlie Allom <charlie@rubberduck.com>
List: current-users
Date: 05/30/2003 11:31:09
On Fri, May 30, 2003 at 11:21:44AM +1000, Simon Burge wrote:
> 
> It's not in the same place on the disk:
> 
> i386/include/disklabel.h:#define        LABELSECTOR             1       /* sector containing label */
> i386/include/disklabel.h:#define        LABELOFFSET             0       /* offset of label in sector */
> macppc/include/disklabel.h:#define      LABELSECTOR     0               /* sector containing label */
> macppc/include/disklabel.h:#define      LABELOFFSET     64              /* offset of label in sector */
> 
> I've found I've always needed to re-do the disklabel when I've moved
> disks between architectures.  If there's a better way, I'm all ears :-)

Thanks for that,

should my partition offsets also be different then?

I should really reply with some examples.
-- 
 charlie@rubberduck.com - Melbourne, Australia
 http://rubberduck.com/~yeled/
 PGP: 0x14AA7941 || finger yeled@lazy.spodder.com