The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: "Charles H. Sauer" <sauer@technologists.com>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] System V Release 2, adding swap?
Date: Tue, 26 Jan 2021 10:46:56 -0600	[thread overview]
Message-ID: <8a17ae54-1b00-e9f7-ea44-763c29c4023f@technologists.com> (raw)
In-Reply-To: <CAEdTPBfZRVVQzmT28MoLsGpz1z-kNea5n3zpupvzn5Ts=Dg6Qw@mail.gmail.com>

On 1/26/2021 10:05 AM, Henry Bent wrote:
> On Mon, 25 Jan 2021 at 11:02, Arnold Robbins <arnold@skeeve.com 
> <mailto:arnold@skeeve.com>> wrote:
> 
>     Hi.
> 
>     Does anyone know how to add swap space on a System V Release 2 system?
>     In particular, on an emulated AT&T 3B1. The kernel is S5R1 or S5R2
>     vintage.
> 
>     I don't see any commands with 'swap' in their names.
> 
> A little bit of Google Groups trawling turned up this: 
> https://groups.google.com/g/comp.sys.att/c/8XLILI3K8-Y/m/VxVMJNdt9NQJ 
> <https://groups.google.com/g/comp.sys.att/c/8XLILI3K8-Y/m/VxVMJNdt9NQJ>
> 
> But I don't have one of those systems, so I have no way to verify.
> 
> -Henry

I don't know about 3B versions, but on Dell SVR4 on 86Box 
(https://notes.technologists.com/notes/2021/01/19/koko-dell-unix-sustainable/) 
I see
/ # apropos swap
swap(1m): swap - swap administrative interface
swapctl(2): swapctl - manage swap space
...

I've never tried to adjust swap, just trust that our install did the 
right thing. On this system, freshly booted, with 32M memory and 5G 
"disk", I see
/ # swap -l
path                 dev  swaplo blocks   free
/dev/swap            0,2       0  98784  90960

Here's the beginning of man swap:
NAME
      swap - swap administrative interface

SYNOPSIS
      /usr/sbin/swap -a swapname swaplow swaplen
      /usr/sbin/swap -d swapname swaplow
      /usr/sbin/swap -l [ -s ]
      /usr/sbin/swap -s

DESCRIPTION
      swap provides a method of adding, deleting, and monitoring the  system
      swap  areas  used  by  the  memory manager.  The following options are
      recognized:

      -a   Add the specified swap area.  swapname is the name of  the  block
           special partition, e.g., /dev/dsk/0s2 or a regular file.  swaplow
           is the offset in 512-byte blocks into  the  partition  where  the
           swap  area  should begin.  swaplen is the length of the swap area
           in 512-byte blocks.  This option can only be used by  the  super-
           user.   If  additional  swap areas are added, it is normally done
           during the system start up routine  /etc/rc2.d  when  going  into
           multi-user mode.
...

Charlie
-- 
voice: +1.512.784.7526       e-mail: sauer@technologists.com
fax: +1.512.346.5240         Web: https://technologists.com/sauer/
Facebook/Google/Skype/Twitter: CharlesHSauer

  reply	other threads:[~2021-01-26 17:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 15:46 Arnold Robbins
2021-01-26 16:05 ` Henry Bent
2021-01-26 16:46   ` Charles H. Sauer [this message]
2021-01-26 18:43     ` arnold
2021-01-26 18:33   ` arnold
2021-01-27  0:50 Jason Stevens
2021-01-27  0:40 ` Larry McVoy

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=8a17ae54-1b00-e9f7-ea44-763c29c4023f@technologists.com \
    --to=sauer@technologists.com \
    --cc=tuhs@minnie.tuhs.org \
    /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).