Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swap(1M) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dpme(4)




swap(1M) swap(1M)
NAME swap - adds disk blocks to or deletes them from the swap area SYNOPSIS swap -a [swapdev [swaplow [swaplen]]] swap -d swapdev [swaplow] swap -l ARGUMENTS -a [swapdev [swaplow [swaplen]]] Specifies the swap area to be added to the existing swap space in terms of a disk device file (swapdev), a start disk-block (swaplow), and the number of 512-byte disk-blocks (swaplen). The default start disk-block and length are 0 when you don't specify swaplow or swaplen. When you specify swaplen as 0, the length of the swap is determined from the size of the partition and disk drive identified by swapdev. This information is obtained from the disk partition map. (See dpme(4) for more information about the disk partition map.) If you don't specify any arguments for -a, all entries in /etc/fstab of type swap are added to the existing swap space. -d swapdev [swaplow] Deletes the specified swap area by marking it deleted. The system does not allocate new blocks from the area but instead tries to free blocks from it. The area remains in use until all its blocks are freed. (See the description of the -l option.) You must be logged in to the root account to use this option. The replacement values for swapdev and swaplow arguments are the same as those described for the -a option. -l Lists the status of all the swap areas in a five-column report. Each of the columns of information is described here. path This column lists the device files corresponding to disk partitions currently in use as swap space. dev This column lists the major and minor device numbers associated with each device file (disk partition) in use as swap space. swaplo This column lists the offset values, in 512-byte disk-blocks, to the beginning disk-block of each January 1992 1



swap(1M) swap(1M)
of the swap areas currently in use. blocks This column lists the length of each of the swap areas in terms of 512-byte disk blocks. free This column lists the number of usable 512-byte blocks in the swap area. If you're deleting the swap area, this column is labeled indel. DESCRIPTION swap lets you list, add to, or delete from the disk swap areas used by the A/UX operating system to support virtual memory. Beyond the default swap area given by the following line, swap areas are normally added by placing swap commands in the system startup file /etc/rc. /dev/rdsk/croot-scsid0s1 By placing swap commands in the system startup file, the additional swap space becomes available whenever the system enters multi-user mode. You must be logged in to the root account to use this option. WARNINGS When you are adding swap areas, this command doesn't check for overlapping swap areas or file systems. FILES /etc/fstab List of mountable file systems /etc/swap Executable file SEE ALSO dpme(4) 2 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026