Subject: bin/25319: df(1) doesn't show correct values for smbfs shares.
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/25/2004 21:09:14
>Number:         25319
>Category:       bin
>Synopsis:       df(1) doesn't show correct values for smbfs shares.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 25 19:09:00 UTC 2004
>Originator:     Juan RP
>Release:        NetBSD 2.0_BETA
System: NetBSD Mandylion 2.0_BETA NetBSD 2.0_BETA (Mandylion) #8: Tue Apr 20 20:57:35 CEST 2004 juan@Mandylion:/home/juan/httpd/nbsd/obj/sys/arch/i386/compile/Mandylion i386

	After upgrade my workstation to 2.0E, df(1) is not able to show
	correctly the total/used/available size for smbfs shares. I think all
	worked fine before statvfs changes.

	That's the output:

[juan@Nocturno][~]> df -h
Filesystem                   Size     Used     Avail Capacity  Mounted on
/dev/wd0a                     44M      26M       16M    62%    /
/dev/wd0f                    252M      59M      181M    24%    /var
/dev/wd0e                    7.7G     1.8G      5.5G    25%    /usr
/dev/wd0g                     14G     8.5G      5.2G    61%    /home
/dev/wd0h                     15G     9.6G      5.0G    65%    /winxp
Mandylion:/usr/src           7.6G     2.7G      4.5G    37%    /usr/src
Mandylion:/usr/pkgsrc        7.6G     2.7G      4.5G    37%    /usr/remote_pkgsrc
Mandylion:/home/juan/httpd   7.6G     4.0G      3.2G    55%    /home/juan/httpd
//GUEST@MANDYLION/PUBLIC      15M     8.7M      6.4M    57%    /home/juan/smb/public
//GUEST@MADRE/INCOMING        38M      37M      1.1M    97%    /home/juan/smb/multi

//GUEST@MANDYLION/PUBLIC should be 8G total, and 4G free.
//GUEST@MADRE/INCOMING should be 19G total, and 7G free.


	No idea, sorry.