9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Kotsopoulos steve@ecf.toronto.edu
Subject: /dev/swap acting weird?
Date: Wed, 27 Sep 1995 15:45:48 -0400	[thread overview]
Message-ID: <19950927194548.uqNxCaivBINNysT8FGKOxBSbBVmBXsFo3Lhq62uMRIE@z> (raw)

When my Magnum cpuserver boots, I don't have any swap configured.
At that time, here's what /dev/swap reports (I'm bootes on the console):

plan9% cat /dev/swap
304/4300 memory 0/19200 swap

I have 2 identical disks on this system, and I used disk/prep to create
a different sized swap partition on each one. However, when I use
the swap command to enable swapping to these devices, the 'total available'
field doesn't change at all:

plan9% ls -l /dev/sd*swap
--rw-rw-rw- w 0 bootes bootes 35225600 Sep 27 09:59 /dev/sd0swap
--rw-rw-rw- w 8 bootes bootes 67108864 Sep 27 09:59 /dev/sd1swap
plan9% swap /dev/sd0swap
swap: /dev/sd0swap
plan9%
plan9% cat /dev/swap
305/4300 memory 0/19200 swap
plan9%
plan9% swap /dev/sd1swap
swap: /dev/sd1swap
plan9% cat /dev/swap
305/4300 memory 0/19200 swap

I was expecting it to track the size of the swap partition in use.
Am I missing something?






             reply	other threads:[~1995-09-27 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-27 19:45 Steve [this message]
1995-09-28 17:06 philw
1995-09-30  2:29 Steve
1995-09-30  2:52 philw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950927194548.uqNxCaivBINNysT8FGKOxBSbBVmBXsFo3Lhq62uMRIE@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).