summaryrefslogtreecommitdiffstats
path: root/mount/mount.8
diff options
context:
space:
mode:
authorkevin.granade@gmail.com2009-09-08 01:16:55 +0200
committerKarel Zak2009-09-22 15:24:15 +0200
commit34fa5bc8e80b9710fd7841a21755f06be4139f3f (patch)
treebb6e511cb7f9d3de5ce65457253261268ac743dd /mount/mount.8
parentlibblkid: prefer ISO9660 PVD Label to Joliet Label (diff)
downloadkernel-qcow2-util-linux-34fa5bc8e80b9710fd7841a21755f06be4139f3f.tar.gz
kernel-qcow2-util-linux-34fa5bc8e80b9710fd7841a21755f06be4139f3f.tar.xz
kernel-qcow2-util-linux-34fa5bc8e80b9710fd7841a21755f06be4139f3f.zip
mount: document changed semantics of tmpfs size option in mount.8
Linux kernel commit 818db35992c249dc32c1d86daf7d533fb0952f5d fixed a problem where invoking mount -t tmpfs with a size argument smaler than the size of one page caused the limits on the size of a tmpfs to not operate. The commit also caused the number supplied by the size option to be rounded up to the nearest page size instead of down. This alters the man page to match the behavior of the kernel in this instance. Signed-off-by: Kevin Granade <kevin.granade@gmail.com>
Diffstat (limited to 'mount/mount.8')
-rw-r--r--mount/mount.82
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/mount.8 b/mount/mount.8
index 5752c96ca..27fde4c95 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -1945,7 +1945,7 @@ None.
.TP
.BI size= nbytes
Override default maximum size of the filesystem.
-The size is given in bytes, and rounded down to entire pages.
+The size is given in bytes, and rounded up to entire pages.
The default is half of the memory. The size parameter also accepts a suffix %
to limit this tmpfs instance to that percentage of your physical RAM:
the default, when neither size nor nr_blocks is specified, is size=50%