bin/77260: df behaviour has changed between 4.x and 5.x
Jamie Heckford
jamie at tridentmicrosystems.co.uk
Tue Feb 8 04:00:48 PST 2005
>Number: 77260
>Category: bin
>Synopsis: df behaviour has changed between 4.x and 5.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 08 12:00:44 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: sparc
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD nipples.trident-uk.co.uk 5.3-RELEASE FreeBSD 5.3-RELEASE #5: Fri Jan 21 12:46:39 GMT 2005 sparc at nipples.trident-uk.co.uk:/usr/obj/usr/src/sys/NIPPLES i386
>Description:
Behaviour of df has changed between 4.x and 5.x when displaying NFS volumes
According to the manual page NFS volumes should be displayed unless the switch
-t nonfs is used.
>How-To-Repeat:
On 4.x with NFS mounts, do df. Repeat on 5.x. example below:
* 4.x *
=======
admin at cobain:~> uname -v
FreeBSD 4.9-RELEASE #1: Thu Apr 15 10:00:08 GMT 2004 admin at cobain.trident-uk.co.uk:/usr/src/sys/compile/COBAIN
admin at morrison:~> df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s1a 604718 50564 505778 9% /
/dev/da0s1e 100750 202 92488 0% /tmp
/dev/da0s1g 10050414 1699344 7547038 18% /usr
/dev/da0s1f 6193438 1458468 4239496 26% /var
procfs 4 4 0 100% /proc
lennon:/u 538172626 215128824 279989992 43% /u <===== NFS SHOWN
* 5.x *
=======
admin at lennon:~> uname -v
FreeBSD 5.3-RELEASE #0: Sun Dec 12 13:42:02 GMT 2004 root at lennon.trident-uk.co.uk:/usr/obj/usr/src/sys/LENNON
admin at lennon:~> df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s1a 1012974 52206 879732 6% /
devfs 1 1 0 100% /dev
/dev/da0s1e 1012974 6 931932 0% /tmp
/dev/da0s1g 538172626 215265926 279852890 43% /u
/dev/da0s1f 10154158 1556208 7785618 17% /usr
/dev/da0s1d 4058062 22098 3711320 1% /var
admin at lennon:~> df -t nfs
df: /backup stats possibly stale
Filesystem 1K-blocks Used Avail Capacity Mounted on
data1:/backup 229592288 160110224 69252472 70% /backup
>Fix:
In 5.x add the -t nfs switch to df to display just the NFS volume.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list