Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!decwrl!uunet!sco!md From: md@sco.COM (Michael Davidson) Newsgroups: comp.unix.wizards Subject: Re: What, exactly, are stat.st_blocks, statfs.f_bsize? Message-ID: <10539@scolex.sco.COM> Date: 1 Mar 91 21:38:54 GMT References: <1991Feb25.205932.16587@athena.mit.edu> <10283@dog.ee.lbl.gov> <1991Feb26.010146.27490@athena.mit.edu> Sender: news@sco.COM Lines: 17 jik@athena.mit.edu (Jonathan I. Kamens) writes: > And, on a historical note, what led to the decision to measure in terms of >512-byte blocks, and why do some sites measure in terms of 1k blocks instead? I'm sure that, like most design decisions, it was essentially arbitrary. It was, however, a very natural choice in the context of the machines on which the early UNIX filesystems were implemented. These machines had small disks with a physical sector size of 512 bytes and small amounts of main memory. So, 512 bytes was a natural choice. Try reading some of Ritchie and Thompson's papers on UNIX for an introduction to the design philosophy (Bell System Technical Journal for July-August 1978 is a good place to start). A more interesting question is "why did it stay that way so long ..."