tech-toolchain archive

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

disklabel endian issues



Hi all,
Is it my imagination, or is disklabel not endian aware? $TOOLDIR/bin/ nbdisklabel-i386 on my Power Mac G5 seems to be creating big endian disklabels. This is somewhat less than useful.

Would anyone object if I added a couple of functions to sbin/disklabel/ main.c to byte swap the struct fields? The hard thing will be working out if byte swapping will be needed.

Cheers,
Lloyd



Home | Main Index | Thread Index | Old Index