Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpfcso!hpfcdc!rsh From: rsh@hpfcdc.HP.COM (Scott Holbrook) Newsgroups: comp.sys.hp Subject: Re: du(1) returns funny sizes Message-ID: <5570503@hpfcdc.HP.COM> Date: 4 Oct 90 18:51:50 GMT References: <383@pacer.UUCP> Organization: HP Fort Collins, Co. Lines: 26 > Yesterday, I noticed that du(1) was reporting funny values when run > on a remote directory. For example (this is a directory on the HP): > rabbit% /usr/5bin/du /d0/users/davidb/misc > 1417 /d0/users/davidb/misc > > pacer% du /d0/users/davidb/misc > 2834 /d0/users/davidb/misc > As you can see, running du on the remote system reports only half > as many blocks as there really are. The reverse is true if we > run du on a Solbourne directory--du reports the correct number > of blocks on the Solbourne, but reports twice as many as there > really are when run from the HP. > This looks like a du bug (or feature :-) ), because only du is > affected. Your analysis of the problem is correct. There is a known bug in the HP-UX version du(1) that has been fixed for the next major release after the 7.0 release. It sounds like the Solbourne version has the same bug too. Scott Holbrook HP-UX commands