bin/77260: df behaviour has changed between 4.x and 5.x
Kris Kennaway
kris at obsecurity.org
Tue Feb 8 20:30:28 PST 2005
The following reply was made to PR bin/77260; it has been noted by GNATS.
From: Kris Kennaway <kris at obsecurity.org>
To: Jamie Heckford <jamie at tridentmicrosystems.co.uk>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: bin/77260: df behaviour has changed between 4.x and 5.x
Date: Tue, 8 Feb 2005 20:21:22 -0800
On Tue, Feb 08, 2005 at 11:58:46AM +0000, Jamie Heckford wrote:
> * 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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This indicates that the statfs call failed, e.g. you don't have read
access to the filesystem mount, or there's some other error condition.
Certainly I see nfs filesystem mounts from plain 'df' on 5.x and 6.x.
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> data1:/backup 229592288 160110224 69252472 70% /backup
Kris
More information about the freebsd-bugs
mailing list