[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] DU Problems



On Fri, Dec 03, 1999 at 06:41:54PM +0530, Babu Kalakrishnan wrote:
> What does this imply ? Is linux  lying or FreeBSD ? (I assume you got the
> outputs above by mounting the same e2fs drive under the 2 systems)

They were different filesystems - ufs and ext2fs.

> 
> Since "man du" specifies that the number indicated is disk *usage*, I would
> say that the linux implementation is the more correct one. Does match
> pretty well with the theory I had given - i.e. For files from 1 to 12K in
> size the disk usage would exactly correspond to the filesize, sizes from 13
> to 268K  should show 1 extra block, and sizes above that should show at
> least 2 extra - (for 1K blocksize).

You're right.

> What do you say ? Is this a bug in du under FreeBSD ?

Neither. As long as the man pages document what they do. In the large
scheme of things, this difference is only of academic interest, IMO.

	-Arun

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.