Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 08:04:52 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Roman Neuhauser <neuhauser@bellavista.cz>
Cc:        Peter Leftwich <Hostmaster@Video2Video.Com>, FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: ls, du, df, and fstab
Message-ID:  <20020617070452.GA63056@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020617052509.GW64435@freepuppy.bellavista.cz>
References:  <20020616213840.M423-100000@66-75-1-142.san.rr.com> <20020617052509.GW64435@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 17, 2002 at 07:25:10AM +0200, Roman Neuhauser wrote:
> > From: Peter Leftwich <Hostmaster@Video2Video.Com>

> > 3. Why does the df command not include a listing for the "swap" that my
> > /etc/fstab appoints?
> 
>     no idea

df only shows the status of mounted file systems, and swap areas don't
have file systems on them --- well, unless you count such things as
MFS (mount_mfs(8)) or md(4), but those will show up in df output if
you've any of them mounted.

Use `swapinfo' to see the status of your swap areas:

   happy-idiot-talk:~:% swapinfo 
   Device          1K-blocks     Used    Avail Capacity  Type
   /dev/da0s1b       1048448        0  1048448     0%    Interleaved

Curiously similar to the output of df...

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

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




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