Subject: misc/17694: cd9660 file system size reported by 'df -k' is incorrect
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 07/24/2002 22:11:30
>Number:         17694
>Category:       misc
>Synopsis:       cd9660 file system size reported by 'df -k' is incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 23 19:11:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Grant Beattie
>Release:        NetBSD 1.6_BETA4 (20020713)
>Organization:
>Environment:
NetBSD willow 1.6_BETA4 NetBSD 1.6_BETA4 (GENERIC) #0: Sun Jul 14 04:06:56 EST 2002 grant@mofo:/work/netbsd/netbsd-1-6/20020713/i386/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
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.
>How-To-Repeat:
Mount strange cd9660 file system, observe difference between df and du
output.

I will investigate further on other systems and report the results.
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: