Menu

#7 Support for big-endian data?

open
nobody
None
5
2010-05-16
2010-05-16
Anonymous
No

I just tried to run disktype on a disk from a NetBSD system (I think). There should be a disklabel and a FFS file system, byt disktype could not recognize them.

After a while it dawned on me that the magic number of the disklabel was in big-endian format instead of litte-endian as expected. I suspecxt the disklabel is created in a struct in-core and then just written -- so byte-reordering of these fields should probably be expected.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.