From owner-freebsd-stable Tue Aug 11 01:47:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00720 for freebsd-stable-outgoing; Tue, 11 Aug 1998 01:47:31 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from mh2.cts.com (mh2.cts.com [209.68.192.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA00714 for ; Tue, 11 Aug 1998 01:47:29 -0700 (PDT) (envelope-from mdavis@io.cts.com) Received: from io.cts.com (io.cts.com [198.68.174.34]) by mh2.cts.com (8.8.7/8.8.5) with ESMTP id BAA05628 for ; Tue, 11 Aug 1998 01:47:07 -0700 (PDT) Received: (from mdavis@localhost) by io.cts.com (8.8.8/8.8.8) id BAA02282 for stable@freebsd.org; Tue, 11 Aug 1998 01:47:06 -0700 (PDT) (envelope-from mdavis) From: Morgan Davis Message-Id: <199808110847.BAA02282@io.cts.com> Subject: FP exception in df To: stable@FreeBSD.ORG Date: Tue, 11 Aug 1998 01:47:06 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I noticed that swapinfo returns what looks exactly like a df entry but for the swap device. Seeing as how this might be useful to aggregate that information with one df command, I thought I'd add the swap device to df's argument list. But this gives: # df /dev/sd0s1b Filesystem 1K-blocks Used Avail Capacity Mounted on Floating point exception Using the -t option doesn't seem to allow for an fstype of "swap". Of course, the work around is to get the desired result is: df; swapinfo | tail -1 which lines up everything nice and neat. Just seems that df should (or might) be able to do this itself (or at least not throw an FP exception). --Morgan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message