> 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? Thanks, Marco _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd