Subject: RE: Big/Little endian conversion in FS
To: Paul Evans <paule@martex.gen.oh.us>
From: Manuel Bouyer <bouyer@chassiron.ensta.fr>
List: tech-kern
Date: 09/16/1997 20:13:51
On Sep 15, Paul Evans wrote
> 
> Just a Thought:
> 
> Would it be a valid function of fsck (or mkfs) to actually swap the bytes in a filesystem on a disk?  To change the native host from big to little and vice-versa?
> 
> I was specifically thinking of creating installation disks  from  remote machines of a different endianess. As well as moving disks from dead computers for re-use..

This can be done. Should be easy as fsck will read all the fs metadatas.
But note that this won't convert the disklabel, and this is a much harder work
as disklabels changes from a port to another.

--
Manuel Bouyer, MASI, Universite Paris VI.
email: bouyer@rp.lip6.fr
       bouyer@ensta.fr
--