The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] System V Release 2, adding swap?
@ 2021-01-25 15:46 Arnold Robbins
  2021-01-26 16:05 ` Henry Bent
  0 siblings, 1 reply; 7+ messages in thread
From: Arnold Robbins @ 2021-01-25 15:46 UTC (permalink / raw)
  To: tuhs

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.

Thanks,

Arnold

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [TUHS] System V Release 2, adding swap?
  2021-01-25 15:46 [TUHS] System V Release 2, adding swap? Arnold Robbins
@ 2021-01-26 16:05 ` Henry Bent
  2021-01-26 16:46   ` Charles H. Sauer
  2021-01-26 18:33   ` arnold
  0 siblings, 2 replies; 7+ messages in thread
From: Henry Bent @ 2021-01-26 16:05 UTC (permalink / raw)
  To: Arnold Robbins; +Cc: The Eunuchs Hysterical Society

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

On Mon, 25 Jan 2021 at 11:02, Arnold Robbins <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

But I don't have one of those systems, so I have no way to verify.

-Henry

[-- Attachment #2: Type: text/html, Size: 944 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [TUHS] System V Release 2, adding swap?
  2021-01-26 16:05 ` Henry Bent
@ 2021-01-26 16:46   ` Charles H. Sauer
  2021-01-26 18:43     ` arnold
  2021-01-26 18:33   ` arnold
  1 sibling, 1 reply; 7+ messages in thread
From: Charles H. Sauer @ 2021-01-26 16:46 UTC (permalink / raw)
  To: tuhs

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [TUHS] System V Release 2, adding swap?
  2021-01-26 16:05 ` Henry Bent
  2021-01-26 16:46   ` Charles H. Sauer
@ 2021-01-26 18:33   ` arnold
  1 sibling, 0 replies; 7+ messages in thread
From: arnold @ 2021-01-26 18:33 UTC (permalink / raw)
  To: henry.r.bent, arnold; +Cc: tuhs

Hi.

Henry Bent <henry.r.bent@gmail.com> wrote:

> On Mon, 25 Jan 2021 at 11:02, Arnold Robbins <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

That's very helpful!

> But I don't have one of those systems, so I have no way to verify.

But I do - in emulation. I will try this out shortly.

Thanks!

Arnold

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [TUHS] System V Release 2, adding swap?
  2021-01-26 16:46   ` Charles H. Sauer
@ 2021-01-26 18:43     ` arnold
  0 siblings, 0 replies; 7+ messages in thread
From: arnold @ 2021-01-26 18:43 UTC (permalink / raw)
  To: tuhs, sauer

"Charles H. Sauer" <sauer@technologists.com> wrote:

> 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
> ...

Yes - I was looking for something like that.  SVR4 is after a lot of
additional kernel technology from Sun. The S5R2 vintage system seems to
have had the swap device configured in at kernel compile time. :-(

Thanks,

Arnold

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [TUHS] System V Release 2, adding swap?
@ 2021-01-27  0:50 Jason Stevens
  2021-01-27  0:40 ` Larry McVoy
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Stevens @ 2021-01-27  0:50 UTC (permalink / raw)
  To: 'Henry Bent', Arnold Robbins; +Cc: The Eunuchs Hysterical Society

SIMH has 3b2 emulation...

Much of the work was documented here:

https://loomcom.com/3b2/emulator.html
<https://loomcom.com/3b2/emulator.html> 



	-----Original Message-----
	From:	Henry Bent [SMTP:henry.r.bent@gmail.com]
	Sent:	Wednesday, January 27, 2021 12:05 AM
	To:	Arnold Robbins
	Cc:	The Eunuchs Hysterical Society
	Subject:	Re: [TUHS] System V Release 2, adding swap?

	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
	

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [TUHS] System V Release 2, adding swap?
  2021-01-27  0:50 Jason Stevens
@ 2021-01-27  0:40 ` Larry McVoy
  0 siblings, 0 replies; 7+ messages in thread
From: Larry McVoy @ 2021-01-27  0:40 UTC (permalink / raw)
  To: Jason Stevens; +Cc: The Eunuchs Hysterical Society

On Wed, Jan 27, 2021 at 08:50:52AM +0800, Jason Stevens wrote:
> SIMH has 3b2 emulation...

I think he was looking for 3b1 which was a 68K of some sort.  The 3b2
was some weird processor out of labs.  Found it:

https://en.wikipedia.org/wiki/Bellmac_32

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-27  0:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 15:46 [TUHS] System V Release 2, adding swap? Arnold Robbins
2021-01-26 16:05 ` Henry Bent
2021-01-26 16:46   ` Charles H. Sauer
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

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).