summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/vfs/setquotacommand.xml
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-07 23:41:12 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-08 01:29:00 +0200
commit869b67764d06995e232a97118737be6779ad4929 (patch)
tree410c9c60400fd4a71f7e85599218c19d54164361 /docs-xml/smbdotconf/vfs/setquotacommand.xml
parent4abccf0b65235d6a01c0dc194f06fac748ee4029 (diff)
downloadsamba-869b67764d06995e232a97118737be6779ad4929.tar.gz
samba-869b67764d06995e232a97118737be6779ad4929.tar.bz2
samba-869b67764d06995e232a97118737be6779ad4929.zip
doc: improve quotacommand man page docu
Diffstat (limited to 'docs-xml/smbdotconf/vfs/setquotacommand.xml')
-rw-r--r--docs-xml/smbdotconf/vfs/setquotacommand.xml24
1 files changed, 13 insertions, 11 deletions
diff --git a/docs-xml/smbdotconf/vfs/setquotacommand.xml b/docs-xml/smbdotconf/vfs/setquotacommand.xml
index 03e40a9e3d..cf62715ca5 100644
--- a/docs-xml/smbdotconf/vfs/setquotacommand.xml
+++ b/docs-xml/smbdotconf/vfs/setquotacommand.xml
@@ -8,9 +8,8 @@
whenever there is no operating system API available from the OS that
samba can use.</para>
- <para>This option is only available if Samba was configured with the argument <command>--with-sys-quotas</command> or
- on Linux when <command>./configure --with-quotas</command> was used and a working quota api
- was found in the system. Most packages are configured with these options already.</para>
+ <para>This option is only available if Samba was compiled with
+ quota support.</para>
<para>This parameter should specify the path to a script that
can set quota for the specified arguments.</para>
@@ -18,20 +17,23 @@
<para>The specified script should take the following arguments:</para>
<itemizedlist>
- <listitem><para>1 - quota type
+ <listitem><para>1 - path to where the quota needs to be set.
+ This needs to be interpreted relative to the current working
+ directory that the script may also check for.</para></listitem>
+ <listitem><para>2 - quota type
<itemizedlist>
<listitem><para>1 - user quotas</para></listitem>
<listitem><para>2 - user default quotas (uid = -1)</para></listitem>
<listitem><para>3 - group quotas</para></listitem>
<listitem><para>4 - group default quotas (gid = -1)</para></listitem>
</itemizedlist></para></listitem>
- <listitem><para>2 - id (uid for user, gid for group, -1 if N/A)</para></listitem>
- <listitem><para>3 - quota state (0 = disable, 1 = enable, 2 = enable and enforce)</para></listitem>
- <listitem><para>4 - block softlimit</para></listitem>
- <listitem><para>5 - block hardlimit</para></listitem>
- <listitem><para>6 - inode softlimit</para></listitem>
- <listitem><para>7 - inode hardlimit</para></listitem>
- <listitem><para>8(optional) - block size, defaults to 1024</para></listitem>
+ <listitem><para>3 - id (uid for user, gid for group, -1 if N/A)</para></listitem>
+ <listitem><para>4 - quota state (0 = disable, 1 = enable, 2 = enable and enforce)</para></listitem>
+ <listitem><para>5 - block softlimit</para></listitem>
+ <listitem><para>6 - block hardlimit</para></listitem>
+ <listitem><para>7 - inode softlimit</para></listitem>
+ <listitem><para>8 - inode hardlimit</para></listitem>
+ <listitem><para>9(optional) - block size, defaults to 1024</para></listitem>
</itemizedlist>
<para>The script should output at least one line of data on success. And nothing on failure.</para>