where is swap dev defined?

From: T. S. Horsnell <tsh_at_mrc-lmb.cam.ac.uk>
Date: Thu, 29 Jul 1999 19:33:22 +0100 (BST)

TU64 v4.0F on an ES40.

Can anyone tell me where the default swap device is defined?
I've just moved my system disk to a different SCSI position
(to rz0 from rz9), done the doconfig stuff and everything boots
nicely, except that the system still insists on using
rz9b as its default swap, despite the fact that I've edited
/etc/fstab and /etc/rc.config to change all the rz9's to rz0's.

My /etc/fstab says:

/dev/rz0a / ufs rw 1 1
/dev/rz0b swap1 ufs sw 0 2
/dev/rz0d /var ufs rw 1 2
/dev/rz0e /var/spool/mail ufs rw 1 2
/dev/rz0g /usr ufs rw 1 2
/dev/rz0h /tmp ufs rw 1 2
/proc /proc procfs rw 0 0

And swapon -s reports:

Swap partition /dev/rz9b (default swap):
                          ^^^^^^^^^^^^^ Where is this defined?


    Allocated space: 16384 pages (128MB)
    In-use space: 1 pages ( 0%)
    Free space: 16383 pages ( 99%)

Swap partition /dev/rz0b:
    Allocated space: 500000 pages (3906MB)
    In-use space: 1 pages ( 0%)
    Free space: 499999 pages ( 99%)


Total swap allocation:
    Allocated space: 516384 pages (4034MB)
    Reserved space: 6665 pages ( 1%)
    In-use space: 2 pages ( 0%)
    Available space: 509719 pages ( 98%)


I've grepped for rz9b through the whole of / and /usr, and the SRM
>>>SH * doesnt show up anything about swap, so I'm stumped.

Cheers,
Terry.



Terry Horsnell (tsh_at_mrc-lmb.cam.ac.uk)
Computer Manager
Medical Research Council
Lab of Molecular Biology
Hills Road
CAMBRIDGE CB2 2QH
U.K.
+44 (0)1223 248011
Received on Thu Jul 29 1999 - 18:36:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT