Commit Graph

17666 Commits

Author SHA1 Message Date
Michael Kerrisk 2f4765212d slabinfo.5: Rudimentary documentation of 'batchcount'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 35737fdb0a slabinfo.5: Note constraints for values written to slabinfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk fa6cebc821 slabinfo.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk e00b5ddbbb proc.5: Simplify /proc/slabinfo entry
Don't repeat (out-of-date) info from slabinfo(5); just defer to
that page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 2b5139c524 slabinfo.5: /proc/meminfo 'Slab' shows total memory used by SLAB/SLUB cache
Verified by experiment (summing [pagesperslab * num_slabs] across
all records in /proc/slabinfo).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 27e78df197 slabinfo.5: Rewrite to try to bring the content close to current reality
There's still gaps to fill in, but the existing page
was in any case hugely out of date.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 2c43dda391 ttyname.3: wfix
Reported-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 0289964456 ttyname.3: Minor edits to Christian Brauner's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Christian Brauner 953385d532 ttyname(3): NOTES: warn about a confusing case that may occur with mount namespaces
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk baf7fedbab setjmp.3: tfix
Reported-by: Ben Dog <wsy2220@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 1b206bd82f statx.2: Minor fix: ERRORS in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 790314d7ea statx.2: Minor edits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 393c5b58c3 statx.2: Clarify that the kernel does not reject invalid 'mask' values
And also explain why.

Reported-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk f4572b658c statx.2: Minor edit to STATX_* list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 7e43caf4db statx.2: Rework discussion of identification of target file
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk c8701bafb9 statx.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 7a192d0df6 statx.2: Add CONFORMING TO section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk f49a8cccd5 statx.2: statx() has no wrapper and must be called using syscall()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk e6fc15962c chmod.2, fsync.2, mkdir.2, mknod.2, open.2, truncate.2, umask.2, utime.2, utimensat.2: Add/replace references to inode(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 3b363b623c getdents.2, open.2, stat.2, statx.2: SEE ALSO: add inode(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:15 +02:00
Michael Kerrisk 19cda35de9 statx.2: Remove information migrated to inode(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:14 +02:00
Michael Kerrisk 96dea201cd stat.2: Minor edits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:21:14 +02:00
Michael Kerrisk e8ff4f53ab stat.2: Remove information migrated to inode(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:19:43 +02:00
Michael Kerrisk b48c75727c inode.7: New page with information about inodes
David Howells provided a statx(2) page that duplicated
much of the information from form stat(2). Such duplication
is undesirable, and there are two possible solutions:

* merge the statx() description into the existing
  stat(2) page.
* move the common information in stat(2) and statx(2)
  to a new page.

The first option suffers from the fact that the stat(2) page
is already rather overloaded with a description of four APIs;
adding a fifth would make the page even more unwieldy!
This patch opts for the second solution. After this,
we must remove the duplicated material from stat(2) and
statx(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:19:43 +02:00
Michael Kerrisk 835f429363 statx.2: Minor edits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 20:19:43 +02:00
Michael Kerrisk 108cd6a3d0 statx.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk 46711e96c6 statx.2: spfix (American spelling)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk 77a09ad741 statx.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk ffe297ee2a statx.2: srcfix: rewrap source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:59 +02:00
Michael Kerrisk 709f7bb642 statx.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:58 +02:00
Michael Kerrisk 14b5d02a46 statx.2: srcfix: rewrap source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:58 +02:00
Michael Kerrisk 6a4667aaa3 statx.2: Minor wording and formatting fix-ups
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:58 +02:00
David Howells 9905e59b55 statx.2: New page describing statx(2) system call added in Linux 4.11
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:34:55 +02:00
Michael Kerrisk b3deaf0f74 stat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:33:30 +02:00
David Howells 97ee9f3732 stat.2: ERRORS: correct description of ENOENT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:30:35 +02:00
Michael Kerrisk fb00408109 syscalls.2: Linux 4.11 added statx()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-23 13:30:35 +02:00
Michael Kerrisk f6eae219d9 stat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 22:01:55 +02:00
Michael Kerrisk 58441c4fc0 stat.2: Remove "Other systems" subsection
These details about other systems were added in 1999,
and were probably of limited use then, and even less today.
However, they do clutter the page, so remove them.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 22:01:40 +02:00
Michael Kerrisk 520caa5540 man-pages.7: Note preferred approach for 'duplicate' errors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:39:23 +02:00
Michael Kerrisk 9152b8c9cf stat.2: Add some subsection headings to ease readability
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:29:28 +02:00
Michael Kerrisk 28f042cca7 stat.2: Minor list reordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:26:22 +02:00
Michael Kerrisk 78909f3e1d stat.2: DESCRIPTION: add list entries for 'st_uid' and 'st_gid'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:23:55 +02:00
Michael Kerrisk d41bfb204e stat.2: DESCRIPTION: add a list entry for 'st_nlinks' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:20:59 +02:00
Michael Kerrisk cafa975264 stat.2: DESCRIPTION: add a list entry for 'st_ino'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:19:33 +02:00
Michael Kerrisk c61617be60 stat.2: Add slightly expanded description oif 'st_ino' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:17:52 +02:00
Michael Kerrisk 53cb52e502 stat.2: Restructure filed descriptions as a hanging list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 15:06:09 +02:00
Michael Kerrisk ba29187129 stat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 14:44:25 +02:00
Michael Kerrisk bb0b0beecd ioctl_ns.2: Document the NS_GET_OWNER_UID operation added in Linux 4.11
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 12:32:01 +02:00
Michael Kerrisk a1a3cae896 ioctl_ns.2: ERRORS: document ENOTTY
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 12:20:05 +02:00
Michael Kerrisk 2546f8a637 ioctl_ns.2: Document the NS_GET_NSTYPE operation added in Linux 4.11
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-21 12:15:00 +02:00