Subject: Re: misc/17694: cd9660 file system size reported by 'df -k' is incorrect
To: None <grant@netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 07/24/2002 11:52:45
On Wed, 24 Jul 2002 22:11:30 +1000 (EST)
grant@netbsd.org wrote:

> A cdrom given to me by a colleague has it's size reported incorrectly
> by 'df -k'.
> 
> # pwd
> /cdrom
> # du -ks .
> 662549  .
> # df -k .
> Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
> /dev/cd0a      297814   297814         0   100%    /cdrom
> 
> I am yet to determine what is "wrong" with the file system for this to
> occur.

Mmm... is the CD multisession? Maybe df is only reporting last session's size, and
du counts them all.

Regards

-- 
HispaBSD admin - http://www.hispabsd.org
Julio Merino <jmmv@hispabsd.org>