X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman2%2Fswapon.2;h=93ee1cdf3e0c88cc15bfafe84c04906d81d960af;hb=361fd72f831aabd8a0aa6fe7bc4ef66ef4f89a1b;hp=b933608e51ff3250b8fc55906a4ee27dd444dbd2;hpb=504d22d4a96ccb4837812eca7e370714a5ed57f3;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man2/swapon.2 b/original/man2/swapon.2 index b933608e..93ee1cdf 100644 --- a/original/man2/swapon.2 +++ b/original/man2/swapon.2 @@ -34,7 +34,7 @@ .\" 2007-06-22 Ivana Varekova , mtk .\" Update text describing limit on number of swap files. .\" -.TH SWAPON 2 2010-11-15 "Linux" "Linux Programmer's Manual" +.TH SWAPON 2 2014-02-26 "Linux" "Linux Programmer's Manual" .SH NAME swapon, swapoff \- start/stop swapping to file/device .SH SYNOPSIS @@ -123,11 +123,19 @@ is already being used as a swap area. The file .I path exists, but refers neither to a regular file nor to a block device; -or, for -.BR swapon (), -the indicated path does not contain a valid swap signature or -resides on an in-memory file system like tmpfs; or, for -.BR swapoff (), +.TP +.B EINVAL +.RB ( swapon ()) +The indicated path does not contain a valid swap signature or +resides on an in-memory filesystem such as tmpfs. +.TP +.BR EINVAL " (since Linux 3.4)" +.RB ( swapon ()) +An invalid flag value was specified in +.IR flags . +.TP +.B EINVAL +.RB ( swapoff ()) .I path is not currently a swap area. .TP @@ -192,3 +200,11 @@ is called, even if that flag bit is not set. .BR mkswap (8), .BR swapoff (8), .BR swapon (8) +.SH COLOPHON +This page is part of release 3.65 of the Linux +.I man-pages +project. +A description of the project, +and information about reporting bugs, +can be found at +\%http://www.kernel.org/doc/man\-pages/.