Path: utzoo!attcan!uunet!seismo!ukma!psuvax1!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.unix.wizards Subject: what are st_blksize and st_blocks exactly? Message-ID: Date: 13 Jul 90 17:38:59 GMT Sender: news@eng.umd.edu (The News System) Distribution: na Organization: Free Software Foundation Lines: 12 The stat(2) documentation for SunOS 4.0.3 says: long st_blksize; /* preferred blocksize for file system I/O*/ long st_blocks; /* actual number of blocks allocated */ It doesn't mention what units st_blocks is measured in, but those units don't look like they're the value of st_blksize. How are these two fields related, if at all? Is st_blocks always measured in 512 byte units, or is there a value somewhere that indicates the block size for it? -- David J. MacKenzie