From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98224670406346.tru64-unix-managers.marc@archive.invalid> From: tsh () mrc-lmb ! cam ! ac ! uk (Horsnell T ! ) Date: Thu, 15 Feb 2001 14:17:30 +0000 To: tru64-unix-managers Subject: SUMMARY: sum/cksum woes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98224670406346 No, sum and cksum are NOT portable. The recommendation is to use m5sum. Thanks to: spd@gtc1.cps.unizar.es sysadmin@astro.su.se for a fast reply. Original question: ------------------ Hi all, In an attempt to investigate a possible network funny, I came across the following oddity with sum and cksum on different architecture machines. ES40, TU64 V5.0a sum 1bytefile 00010 1 cksum 1bytefile 3772115230 1 sum 97621364bytefile 47205 95334 cksum 97621364bytefile 824828288 97621364 SGI Octane IRIX 6.5.10 sum 1bytefile 10 1 cksum 1bytefile 3515105045 1 sum 97621364bytefile 61232 190667 cksum 97621364bytefile 1918009660 97621364 i586 RH Linux 7.0 sum 1bytefile 00010 1 cksum 1bytefile 3515105045 1 sum 97621364bytefile 47205 95334 cksum 97621364bytefile 1918009660 97621364 1bytefile and 97621364bytefile sit on a disk hosted by the ES40, and are NFS-exported to the SGI and PC Should the results of sum and/or cksum be architecture independant? Which of these systems is right? Cheers, Terry Terry Horsnell (tsh@mrc-lmb.cam.ac.uk) I.T. Manager Medical Research Council Lab of Molecular Biology Hills Road CAMBRIDGE CB2 2QH U.K. Phone: +44 (0)1223 248011 Fax: +44 (0)1223 213556 ----- End of forwarded message from Horsnell T. -----