Subject: Re: Supporting sector size != DEV_BSIZE
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 06/12/2002 18:08:27
On Wed, Jun 12, 2002 at 09:05:15PM +0700, Robert Elz wrote:
> 
>   | 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'.
> 
> That is historical du from way back.   Other than reading the raw
> filesys, there was no other way (nor for ls -s).  I saw some versions
> of du that attempted to compensate for the indirect blocks, etc, by
> calculating how many a file of that size simply had to have, but holes
> were never handled properly.

Trouble is it had worked 'properly' in the earlier version!
Maybe some 'bod' at SCO changed it to be compatible with the
archaic openserver.....
Unfortunatley I don't have an old off-site archive of the
SVR4 sources lurking at home :-(

	David

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