Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!decvax!harpo!utah-cs!sask!derek From: derek@sask.UUCP (Derek Andrew) Newsgroups: net.unix-wizards Subject: Re: USG 5.0 "find" and "ls" blocksize questions Message-ID: <300@sask.UUCP> Date: Sat, 8-Oct-83 23:54:19 EDT Article-I.D.: sask.300 Posted: Sat Oct 8 23:54:19 1983 Date-Received: Thu, 13-Oct-83 02:00:53 EDT References: rlgvax.1226 Lines: 14 While some systems use 512 byte blocks and others use 1024 byte blocks, it would indeed be handy if the output of ls and df reported the same numbers so one could compare different systems. I think that these programs should not report blocks, but rather Kilobytes used. This removes the hardware dependencies. This brings up the question: If a file is less than 512 bytes and the system uses 512 byte blocks, is it alright for du to say the file consumes 1K? This message is posted in response to the ongoing discussion of the differences between what the different programs (ls, du, df, find) consider the file size to be. Derek Andrew; U of Saskatchewan; utah-cs!sask!derek