mirror of https://github.com/mkerrisk/man-pages
swapon.2: Add EINVAL error for invalid flags to swapon()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e5e05abdeb
commit
81c096f2ed
|
@ -129,6 +129,11 @@ exists, but refers neither to a regular file nor to a block device;
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue