Subject: RE: Big/Little endian conversion in FS
To: 'Scott Reynolds' <scottr@Plexus.COM>
From: Paul Evans <paule@martex.gen.oh.us>
List: tech-kern
Date: 09/15/1997 20:51:28
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..
-Paul
-----Original Message-----
From: Scott Reynolds [SMTP:scottr@Plexus.COM]
Sent: Monday, September 15, 1997 5:02 PM
To: Manuel BOUYER
Cc: tech-kern@NetBSD.ORG
Subject: Re: Big/Little endian conversion in FS
On Mon, 15 Sep 1997, Manuel BOUYER wrote:
> I can see 2 way to decide if we need byte swapping or not:
> - with a mount option,
> - autodetect, based on the magic number.
>=20
> I prefer the second one.
The first may be useful, as well (particularly if the disk is a bit
scrambled). I say do both.
--scott