Deleted Added
full compact
swapon.2 (108028) swapon.2 (108087)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)swapon.2 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)swapon.2 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/sys/swapon.2 108028 2002-12-18 09:22:32Z ru $
33.\" $FreeBSD: head/lib/libc/sys/swapon.2 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd June 4, 1993
36.Dt SWAPON 2
37.Os
38.Sh NAME
39.Nm swapon , swapoff
40.Nd control devices for interleaved paging/swapping
41.Sh LIBRARY

--- 43 unchanged lines hidden (view full) ---

85The named device does not exist.
86.It Bq Er EACCES
87Search permission is denied for a component of the path prefix.
88.It Bq Er ELOOP
89Too many symbolic links were encountered in translating the pathname.
90.It Bq Er EPERM
91The caller is not the super-user.
92.It Bq Er EFAULT
34.\"
35.Dd June 4, 1993
36.Dt SWAPON 2
37.Os
38.Sh NAME
39.Nm swapon , swapoff
40.Nd control devices for interleaved paging/swapping
41.Sh LIBRARY

--- 43 unchanged lines hidden (view full) ---

85The named device does not exist.
86.It Bq Er EACCES
87Search permission is denied for a component of the path prefix.
88.It Bq Er ELOOP
89Too many symbolic links were encountered in translating the pathname.
90.It Bq Er EPERM
91The caller is not the super-user.
92.It Bq Er EFAULT
93.Fa Special
93The
94.Fa special
95argument
94points outside the process's allocated address space.
95.El
96.Pp
97Additionally,
98.Fn swapon
99can fail for the following reasons:
100.Bl -tag -width Er
101.It Bq Er EINVAL
102The system has reached the boot-time limit on the number of
103swap devices,
104.Va vm.nswapdev .
105.It Bq Er ENOTBLK
96points outside the process's allocated address space.
97.El
98.Pp
99Additionally,
100.Fn swapon
101can fail for the following reasons:
102.Bl -tag -width Er
103.It Bq Er EINVAL
104The system has reached the boot-time limit on the number of
105swap devices,
106.Va vm.nswapdev .
107.It Bq Er ENOTBLK
106.Fa Special
108The
109.Fa special
110argument
107is not a block device.
108.It Bq Er EBUSY
109The device specified by
110.Fa special
111has already
112been made available for swapping
113.It Bq Er ENXIO
114The major device number of

--- 31 unchanged lines hidden ---
111is not a block device.
112.It Bq Er EBUSY
113The device specified by
114.Fa special
115has already
116been made available for swapping
117.It Bq Er ENXIO
118The major device number of

--- 31 unchanged lines hidden ---