update error messages (mostly from sun!guy)
[unix-history] / usr / src / lib / libc / sys / swapon.2
index d4bd82a..fc1ef13 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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
@@ -49,6 +49,31 @@ Too many symbolic links were encountered in translating the pathname.
 .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