summaryrefslogtreecommitdiff
path: root/Documentation/vm
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@nexedi.com>2014-10-22 19:54:46 +0400
committerJonathan Corbet <corbet@lwn.net>2014-10-22 14:26:04 -0400
commit011bc4870fb2265fcd0cc941d0c5d06a3fd581b5 (patch)
tree5ac16c728716bc8653a943042f74dc2c23a7f176 /Documentation/vm
parent0684d84ce0e2f694a7818c16cb0c5c00c4ed7cb8 (diff)
downloadlwn-011bc4870fb2265fcd0cc941d0c5d06a3fd581b5.tar.gz
lwn-011bc4870fb2265fcd0cc941d0c5d06a3fd581b5.zip
Docs: Document that the sticky bit is understood by hugetlbfs
Commit 75897d60 (hugetlb: allow sticky directory mount option) added support for mounting hugetlbfs with sticky option set, like /tmp is usually mounted, but forgot to document that. Acked-by: Ken Chen <kenchen@google.com> Signed-off-by: Kirill Smelkov <kirr@nexedi.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/vm')
-rw-r--r--Documentation/vm/hugetlbpage.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
index bdd4bb97fff7..b64e0af9cc56 100644
--- a/Documentation/vm/hugetlbpage.txt
+++ b/Documentation/vm/hugetlbpage.txt
@@ -274,7 +274,7 @@ This command mounts a (pseudo) filesystem of type hugetlbfs on the directory
/mnt/huge. Any files created on /mnt/huge uses huge pages. The uid and gid
options sets the owner and group of the root of the file system. By default
the uid and gid of the current process are taken. The mode option sets the
-mode of root of file system to value & 0777. This value is given in octal.
+mode of root of file system to value & 01777. This value is given in octal.
By default the value 0755 is picked. The size option sets the maximum value of
memory (huge pages) allowed for that filesystem (/mnt/huge). The size is
rounded down to HPAGE_SIZE. The option nr_inodes sets the maximum number of