Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SWAPON(8)		  BSD System Manager's Manual		     SWAPON(8)

NAME
     swapon -- specify additional device for paging and	swapping

SYNOPSIS
     swapon -a
     swapon special_file ...

DESCRIPTION
     The swapon	utility	is used	to specify additional devices on which paging
     and swapping are to take place.  The system begins	by swapping and	paging
     on	only a single device so	that only one disk is required at bootstrap
     time.  Calls to swapon normally occur in the system multi-user initial-
     ization file /etc/rc making all swap devices available, so	that the pag-
     ing and swapping activity is interleaved across several devices.

     Normally, the first form is used:

     -a	     All devices marked	as ``sw'' swap devices in /etc/fstab are made
	     available unless their ``noauto'' option is also set.

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

SEE ALSO
     swapon(2),	fstab(5), init(8), mdconfig(8),	pstat(8), rc(8)

FILES
     /dev/{ad,da}?s?b  standard	paging devices
     /dev/md?	       memory disk devices
     /etc/fstab	       ASCII file system description table

BUGS
     There is no way to	stop paging and	swapping on a device.  It is therefore
     not possible to dismount swap devices which are mounted during system op-
     eration.

HISTORY
     The swapon	utility	appeared in 4.0BSD.

BSD				 June 5, 1993				   BSD

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | FILES | BUGS | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=swapon&sektion=8&manpath=FreeBSD+5.0-RELEASE>

home | help