Subject: Re: Supporting sector size != DEV_BSIZE
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 06/10/2002 18:07:42
> 
> "The -b option was added to an early proposal to provide a resolution to
> the situation where System V and BSD systems give figures for file sizes in
> blocks, which is an implementation-defined concept. (In common usage, the
> block size is 512 bytes for System V and 1024 bytes for BSD systems.)
> However, -b was later deleted, since the default was eventually decided as
> 512-byte units."

Of course 'du' is confused further by some bods at SCO who changed
it (probably between UW2 and UW7) to count 'file size' instead
of 'space taken up by file'.  They can be considerably different
since the former excludes indirect blocks and includes gaps.
(made du particularly useless!)

	David

-- 
David Laight: david@l8s.co.uk