man-pages/man-pages-2.43-swapon.patch
Ivana Varekova d7fdae7b8a - fix rt_sigprocmask.2 (#219074)
- remove pciconfig_{read,write,iobase}.2 (#219827)
- fix swapon.2 (#222493)
2007-01-29 13:29:13 +00:00

22 lines
685 B
Diff

--- man-pages-2.43/man2/swapon.2.pom 2007-01-29 13:58:32.000000000 +0100
+++ man-pages-2.43/man2/swapon.2 2007-01-29 14:22:04.000000000 +0100
@@ -134,9 +134,15 @@
.B EPERM
The caller does not have the
.B CAP_SYS_ADMIN
-capability, or all
-.B MAX_SWAPFILES
-(earlier 8; 32 since Linux 2.4.10) are in use.
+capability.
+If all swapfiles are in use.
+(If
+.B CONFIG_MIGRATION
+is enabled then the maximal number of swap files is
+.B MAX_SWAPFILES-2
+(30 since linux 2.4.10), otherwise
+.B MAX_SWAPFILES
+(32 since Linux 2.4.10, 8 earlier) swap files could be used)
.SH "CONFORMING TO"
These functions are Linux specific and should not be used in programs
intended to be portable.