Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 02:18:48 -0700
From:      David Greenman <dg@root.com>
To:        Morgan Davis <mdavis@cts.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: FP exception in df 
Message-ID:  <199808110918.CAA01826@implode.root.com>
In-Reply-To: Your message of "Tue, 11 Aug 1998 01:47:06 PDT." <199808110847.BAA02282@io.cts.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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).

   The information is displayed similarly, but the way that the system gets
the info is entirely different - "swap" in FreeBSD isn't a filesystem.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808110918.CAA01826>