Summary: Quick plug in swap space? - PART 4 of 4

From: Daniel_V._D'Errico.RochXES@xerox.com
Date: Mon Jul 17 1995 - 11:34:35 CDT


From: Reto Lichtensteiger <rali@hri.com>

% man mkfile
NAME
     mkfile - create a file

SYNOPSIS
     mkfile [ -nv ] size[k|b|m] filename ...

DESCRIPTION
     mkfile creates one or more files that are suitable for use
     as NFS-mounted swap areas, or as local swap areas. The
     sticky bit is set, and the file is padded with zeroes by
     default. The default size is in bytes, but it can be
     flagged as kilobytes, blocks, or megabytes, with the k, b,
     or m suffixes, respectively.

OPTIONS
     -n Create an empty filename. The size is noted, but disk
          blocks aren't allocated until data is written to them.

     -v Verbose. Report the names and sizes of created files.

SEE ALSO
     swapon(2), fstab(5), swapon(8)

Sounds like the thing to do ...

And ...

%man swapon

NAME
     swapon - specify additional device for paging and swapping

SYNOPSIS
     /usr/etc/swapon -a

     /usr/etc/swapon name...

DESCRIPTION
     swapon specifies additional devices or files on which paging
     and swapping are to take place. The system begins by swap-
     ping and paging on only a single device so that only one
     disk is required at bootstrap time. Calls to swapon nor-
     mally occur in the system multi-user initialization file
     /etc/rc making all swap devices available, so that the pag-
     ing and swapping activity is interleaved across several dev-
     ices.

     The second form gives individual block devices or files as
     given in the system swap configuration table. The call
     makes only this space available to the system for swap allo-
     cation.

     Note: "swap files" made with mkfile(8) can be used as swap
     areas over NFS.
--------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:29 CDT