[PATCH] Document changed semantics of tmpfs size option in mount.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
Please cc me as I'm not subscribed to this list.

 mount/mount.8 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mount/mount.8 b/mount/mount.8
index 4e1b572..433d780 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -1937,7 +1937,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%
-- 
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux