[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patches for the Hurd on OSF Mach/PowerPC

From: M. Gerards
Subject: Re: Patches for the Hurd on OSF Mach/PowerPC
Date: Thu, 12 Jun 2003 16:00:04 +0200
User-agent: Internet Messaging Program (IMP) 3.1

> The ext2 file system uses little-endian order, whereas htons etc. convert
> from
> native to network (big-endian) byte-order.  So using htons would give you
> exactly the wrong result.  (Actually, I didn't even think of using htons,
> since
> I looked at the Linux code for ext2fs and copied the le**_to_cpu functions
> from
> there.)

htons if used to convert from network order to host order. There are also 
reverse functions.
> I haven't tried the other filesystems yet, but isofs and ufs might have the
> same
> problem.  I don't know about fatfs; I see Marcus's implementation already
> uses
> endian-dependent functions for reading and writing, but I haven't tested it
> yet.

Fatfs should work.

> > Could you please write ChangeLog entries. I know this is boring work,
> > but that makes the code easier to read and it is a requirement for
> > submition AFAIK.
> Hmm, I knew I forgot something... 8-)  Thanks, I'll do that!

Ahh, great! :)

On what kind of PPCs does it work now? I have an old Powerbook 1400cs laptop. 
Will it run on this PPC? Which bootloader do you use?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]