Date: Tue, 8 Feb 2005 11:58:46 +0000 (GMT) From: Jamie Heckford <jamie@tridentmicrosystems.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/77260: df behaviour has changed between 4.x and 5.x Message-ID: <20050208115846.473CE6484@m0ng.noc.trident-uk.co.uk> Resent-Message-ID: <200502081200.j18C0iFw070220@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@cobain:~> uname -v FreeBSD 4.9-RELEASE #1: Thu Apr 15 10:00:08 GMT 2004 admin@cobain.trident-uk.co.uk:/usr/src/sys/compile/COBAIN admin@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@lennon:~> uname -v FreeBSD 5.3-RELEASE #0: Sun Dec 12 13:42:02 GMT 2004 root@lennon.trident-uk.co.uk:/usr/obj/usr/src/sys/LENNON admin@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208115846.473CE6484>