From b7ca915de8e8b6d9592ff52699ff271d99eaebc0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Jun 1996 03:42:06 +0000 Subject: documented the "max disk size" option. I'm sure I've done this before, we must have lost some patches a while ago? (This used to be commit 0c96ac512fe1f9baf35a8c1c0eb83e001ffb54df) --- docs/manpages/smb.conf.5 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs') diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5 index d5100181de..86cfc83276 100644 --- a/docs/manpages/smb.conf.5 +++ b/docs/manpages/smb.conf.5 @@ -1419,6 +1419,28 @@ software. Use this option to set it to whatever you prefer. .B Example: mangling char = ^ +.SS max disk size (G) +This option allows you to put an upper limit on the apparent size of +disks. If you set this option to 100 then all shares will appear to be +not larger than 100 MB in size. + +Note that this option does not limit the amount of data you can put on +the disk. In the above case you could still store much more than 100 +MB on the disk, but if a client ever asks for the amount of free disk +space or the total disk size then the result will be bounded by the +amount specified in "max disk size". + +This option is primarily useful to work around bugs in some pieces of +software that can't handle very large disks, particularly disks over +1GB in size. + +A "max disk size" of 0 means no limit. + +.B Default: + max disk size = 0 + +.B Example: + max disk size = 1000 .SS max log size (G) This option (an integer in kilobytes) specifies the max size the log -- cgit