Path: utzoo!news-server.csri.toronto.edu!rutgers!mcnc!decwrl!world!bzs From: bzs@world.std.com (Barry Shein) Newsgroups: comp.unix.wizards Subject: Re: What, exactly, are stat.st_blocks, statfs.f_bsize? Message-ID: Date: 3 Mar 91 18:38:28 GMT References: <1991Feb25.205932.16587@athena.mit.edu> <10283@dog.ee.lbl.gov> <124359@uunet.UU.NET> Sender: bzs@world.std.com (Barry Shein) Organization: The World Lines: 21 In-Reply-To: rbj@uunet.UU.NET's message of 1 Mar 91 07:18:04 GMT >To make it worse, Pyramid's FS block sizes are 2K to 16K (yes, the >sectors are 2K), and so they report blocks in 2K increments. It is >rather sad to see filesystems quadruple in size when reported >between NFS partitions mounted to or from a Pyramid. Oh well... That's a real bug, I bet their NFS is based on an older LAI version. There are two different values kept in the server, one for the local unit and another for the external unit. They're confused in a few places in the code, particularly in the call that does whatever it is that "df" wants, I forget the NFS name for this op. I've fixed this before in that code, it's just a matter of changing the name of the struct element used in a few places to the correct one. -- -Barry Shein Software Tool & Die | bzs@world.std.com | uunet!world!bzs Purveyors to the Trade | Voice: 617-739-0202 | Login: 617-739-WRLD