Xref: utzoo comp.sys.hp:6423 comp.unix.internals:511 comp.protocols.nfs:1322 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!samsung!uunet!mcsun!ukc!edcastle!cs.ed.ac.uk!cs.edinburgh.ac.uk!paul From: paul@cs.edinburgh.ac.uk (Paul Anderson) Newsgroups: comp.sys.hp,comp.unix.internals,comp.protocols.nfs Subject: Re: du(1) returns funny sizes Keywords: HP9000 Solbourne NFS du Message-ID: <526@skye.cs.ed.ac.uk> Date: 5 Oct 90 11:43:49 GMT References: <383@pacer.UUCP> Sender: nnews@cs.ed.ac.uk Reply-To: paul@cs.edinburgh.ac.uk (Paul Anderson) Organization: Department of Computer Science, University of Edinburgh Lines: 12 I have seen this problem between Suns and a Pyramid. It seems that du works out the sizes using the st_blocks field of the stat structure, but different system have different ideas about what constitutes a "block". I have not managed to find any definitive answer to what a "block" should be - If I remember correctly, Suns assume it to 512 fixed, always, but other systems treat it as some property of the filesystem. -- Paul Anderson JANET: paul@uk.ac.ed.lfcs LFCS, Dept. of Computer Science UUCP: ..!mcvax!ukc!lfcs!paul University of Edinburgh ARPA: paul%lfcs.ed.ac.uk@nsfnet-relay.ac.uk Edinburgh EH9 3JZ, UK. Tel: 031-667-1081 Ext 2788