From 99bde6889d3d8b7a9e950c86c30e82662e1dacdd Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 9 Sep 2003 02:58:53 +0000 Subject: syncing files from 3.0 into HEAD again (This used to be commit bca0bba209255d0effbae6a3d3b6d298f0952c3a) --- docs/docbook/smbdotconf/vfs/getquotacommand.xml | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 docs/docbook/smbdotconf/vfs/getquotacommand.xml (limited to 'docs/docbook/smbdotconf/vfs/getquotacommand.xml') diff --git a/docs/docbook/smbdotconf/vfs/getquotacommand.xml b/docs/docbook/smbdotconf/vfs/getquotacommand.xml new file mode 100644 index 0000000000..93c9089519 --- /dev/null +++ b/docs/docbook/smbdotconf/vfs/getquotacommand.xml @@ -0,0 +1,52 @@ + + + The get quota command should only be used + whenever there is no operating system API available from the OS that + samba can use. + + This parameter should specify the path to a script that + queries the quota information for the specified + user/group for the partition that + the specified directory is on. + + Such a script should take 3 arguments: + + + directory + type of query + uid of user or gid of group + + + The type of query can be one of : + + + 1 - user quotas + 2 - user default quotas (uid = -1) + 3 - group quotas + 4 - group default quotas (gid = -1) + + + This script should print its output according to the following format: + + + Line 1 - quota flags (0 = no quotas, 1 = quotas enabled, 2 = quotas enabled and enforced) + Line 2 - number of currently used blocks + Line 3 - the softlimit number of blocks + Line 4 - the hardlimit number of blocks + Line 5 - currently used number of inodes + Line 6 - the softlimit number of inodes + Line 7 - the hardlimit number of inodes + Line 8(optional) - the number of bytes in a block(default is 1024) + + + See also the set quota command parameter. + + + Default: get quota command = + + Example: get quota command = /usr/local/sbin/query_quota + + -- cgit