USG 5.0 "find" and "ls" blocksize questions

Henry Spencer henry at utzoo.UUCP
Fri Oct 14 06:16:40 AEST 1983


The folks from Interactive Systems addressed this issue a little
while ago in a talk about how they handled portability issues among
the different Unixes.  (Yes, I am aware that Interactive doesn't
always practice what it preaches...)  They took the view that all
software which reports numbers of blocks reports numbers of 512-byte
blocks, regardless of the prejudices of the particular filesystem it
happens to be using.  Consider System V with both 512-byte and 1024-
byte filesystems on the same machine.  Or, worse, 4.2BSD.  If the
notion of "block" is to be visible to the user at all, it has to be
something reasonably implementation-independent.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.unix.wizards mailing list