From owner-cvs-all Sun May 12 12:24:13 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4AAFE37B403; Sun, 12 May 2002 12:24:10 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4CJOAt46891; Sun, 12 May 2002 12:24:10 -0700 (PDT) (envelope-from phk) Message-Id: <200205121924.g4CJOAt46891@freefall.freebsd.org> From: Poul-Henning Kamp Date: Sun, 12 May 2002 12:24:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/df Makefile df.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2002/05/12 12:24:10 PDT Modified files: bin/df Makefile df.c Log: Remove the private code for reading UFS superblocks, this does not belong in df(1) when we have multiple filesystem types, and the complications of handling UFS2 pushes this over the edge. Use the .../mount/extern.h to get prototypes of the functions we borrow from there. Constify things to match. (why aren't these functions in a lib anyway ?) Make everything static and set WARNS?=5. The way the "df diskdevice" thing works for unmounted diskdevices is not very general. Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.15 +2 -0 src/bin/df/Makefile 1.38 +33 -109 src/bin/df/df.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message