Subject: misc/17694: cd9660 file system size reported by 'df -k' is incorrect
To: None <>
From: None <>
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
>Originator:     Grant Beattie
>Release:        NetBSD 1.6_BETA4 (20020713)
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
A cdrom given to me by a colleague has it's size reported incorrectly
by 'df -k'.

# pwd
# 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
Mount strange cd9660 file system, observe difference between df and du

I will investigate further on other systems and report the results.