On Jul 9, 21:59, Ralf Baechle wrote:
>I've finally commited my rewrite of dvhtool into the CVS archive on
>oss. It's not yet complete but hackers may be interested in taking a
>look at it.
[..]
This looks great. Just for fun I did a quick compile under irix 6.5.8 on
an SGI Octane, dvhtool --print-all and dvhtool --print-all /dev/rdsk/dksXXXvh
worked fine. --vh-to-unix failed with 'Short read: Error 0', I assume this
simply isn't finished yet (or maybe it doesn't work under irix).
BTW it compiled fine with gcc as well as with the MIPSPro compiler (after
replacing this little gcc'ism:)
--- dvhlib.c.orig Fri Jul 7 04:24:53 2000
+++ dvhlib.c Mon Jul 10 15:43:51 2000
@@ -40,7 +40,7 @@
case PTYPE_XFS: return "XFS";
case PTYPE_XFSLOG: return "XFS Log";
case PTYPE_XLV: return "XLV Volume";
- case 13 ... 15: return "Unknown Partition Type";
+ default: return "Unknown Partition Type";
}
return "Invalid Type";