X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/feca6c877113cffb95775ea334d0834949f91956..fd690c8bad529cad947d11d1df4ad3d44f3a306f:/usr/src/lib/libc/sys/swapon.2?ds=inline diff --git a/usr/src/lib/libc/sys/swapon.2 b/usr/src/lib/libc/sys/swapon.2 index d4bd82a9e0..fc1ef13d13 100644 --- a/usr/src/lib/libc/sys/swapon.2 +++ b/usr/src/lib/libc/sys/swapon.2 @@ -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