diff options
author | kevin.granade@gmail.com <kevin.granade@gmail.com> | 2009-09-07 18:16:55 -0500 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-09-22 15:24:15 +0200 |
commit | 34fa5bc8e80b9710fd7841a21755f06be4139f3f (patch) | |
tree | bb6e511cb7f9d3de5ce65457253261268ac743dd /mount | |
parent | ec7498784c9c79952d5fda36a1195e8242d382f7 (diff) | |
download | util-linux-old-34fa5bc8e80b9710fd7841a21755f06be4139f3f.tar.gz |
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')
-rw-r--r-- | mount/mount.8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/mount.8 b/mount/mount.8 index 5752c96c..27fde4c9 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% |