Support for big-endian data?
Brought to you by:
chrisp
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.