.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)swapon.2 6.2 (Berkeley) %G%
+.\" @(#)swapon.2 6.3 (Berkeley) %G%
.\"
.TH SWAPON 2 ""
.UC 4
.TP 15
[EPERM]
The caller is not the super-user.
+.TP 15
+[ENOTBLK]
+.I Special
+is not a block device.
+.TP 15
+[EBUSY]
+The device specified by \fIspecial\fP has already
+been made available for swapping
+.TP 15
+[EINVAL]
+The device configured by \fIspecial\fP was not
+configured into the system as a swap device.
+.TP 15
+[ENXIO]
+The major device number of
+.I special
+is out of range (this indicates no device driver exists
+for the associated hardware).
+.TP 15
+[EIO]
+An I/O error occurred while opening the swap device.
+.TP 15
+[EFAULT]
+.I Special
+points outside the process's allocated address space.
.SH "SEE ALSO"
swapon(8), config(8)
.SH BUGS