summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/misc/dfreecommand.xml
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-04-15 07:47:02 +0000
committerAlexander Bokovoy <ab@samba.org>2003-04-15 07:47:02 +0000
commit084684468dd99d0879843dd0c38db25e28c73937 (patch)
tree152749f9e6e33aaf25c5a22d3c142e4bc64d6982 /docs/docbook/smbdotconf/misc/dfreecommand.xml
parent75913ec2a92c8cfce7d73e779e5167cd7dfc68e1 (diff)
downloadsamba-084684468dd99d0879843dd0c38db25e28c73937.tar.gz
samba-084684468dd99d0879843dd0c38db25e28c73937.tar.bz2
samba-084684468dd99d0879843dd0c38db25e28c73937.zip
Convert another group of options in Misc section
(This used to be commit a690ff1f8a068e66ffcbfdaf0be215f887a02b9c)
Diffstat (limited to 'docs/docbook/smbdotconf/misc/dfreecommand.xml')
-rw-r--r--docs/docbook/smbdotconf/misc/dfreecommand.xml66
1 files changed, 34 insertions, 32 deletions
diff --git a/docs/docbook/smbdotconf/misc/dfreecommand.xml b/docs/docbook/smbdotconf/misc/dfreecommand.xml
index c71ec8e00b..1e839a5242 100644
--- a/docs/docbook/smbdotconf/misc/dfreecommand.xml
+++ b/docs/docbook/smbdotconf/misc/dfreecommand.xml
@@ -1,50 +1,52 @@
-<samba:parameter xmlns:samba="http://samba.org/common">
- <term><anchor id="DFREECOMMAND"/>dfree command (G)</term>
- <listitem><para>The <parameter moreinfo="none">dfree command</parameter> setting should
- only be used on systems where a problem occurs with the internal
- disk space calculations. This has been known to happen with Ultrix,
- but may occur with other operating systems. The symptom that was
- seen was an error of &quot;Abort Retry Ignore&quot; at the end of each
- directory listing.</para>
+<samba:parameter name="dfree command"
+ context="G"
+ advanced="1" developer="1"
+ xmlns:samba="http://samba.org/common">
+<listitem>
+
+ <para>The <parameter moreinfo="none">dfree command</parameter> setting
+ should only be used on systems where a problem occurs with the
+ internal disk space calculations. This has been known to happen
+ with Ultrix, but may occur with other operating systems. The
+ symptom that was seen was an error of &quot;Abort Retry
+ Ignore&quot; at the end of each directory listing.</para>
- <para>This setting allows the replacement of the internal routines to
- calculate the total disk space and amount available with an external
- routine. The example below gives a possible script that might fulfill
- this function.</para>
+ <para>This setting allows the replacement of the internal routines to
+ calculate the total disk space and amount available with an external
+ routine. The example below gives a possible script that might fulfill
+ this function.</para>
- <para>The external program will be passed a single parameter indicating
- a directory in the filesystem being queried. This will typically consist
- of the string <filename moreinfo="none">./</filename>. The script should return two
- integers in ASCII. The first should be the total disk space in blocks,
- and the second should be the number of available blocks. An optional
- third return value can give the block size in bytes. The default
- blocksize is 1024 bytes.</para>
+ <para>The external program will be passed a single parameter indicating
+ a directory in the filesystem being queried. This will typically consist
+ of the string <filename moreinfo="none">./</filename>. The script should return two
+ integers in ASCII. The first should be the total disk space in blocks,
+ and the second should be the number of available blocks. An optional
+ third return value can give the block size in bytes. The default
+ blocksize is 1024 bytes.</para>
- <para>Note: Your script should <emphasis>NOT</emphasis> be setuid or
- setgid and should be owned by (and writeable only by) root!</para>
+ <para>Note: Your script should <emphasis>NOT</emphasis> be setuid or
+ setgid and should be owned by (and writeable only by) root!</para>
- <para>Default: <emphasis>By default internal routines for
- determining the disk capacity and remaining space will be used.
- </emphasis></para>
+ <para>Default: <emphasis>By default internal routines for
+ determining the disk capacity and remaining space will be used.
+ </emphasis></para>
- <para>Example: <command moreinfo="none">dfree command = /usr/local/samba/bin/dfree
- </command></para>
+ <para>Example: <command moreinfo="none">dfree command = /usr/local/samba/bin/dfree</command></para>
- <para>Where the script dfree (which must be made executable) could be:</para>
+ <para>Where the script dfree (which must be made executable) could be:</para>
<para><programlisting format="linespecific">
#!/bin/sh
df $1 | tail -1 | awk '{print $2&quot; &quot;$4}'
</programlisting></para>
- <para>or perhaps (on Sys V based systems):</para>
+ <para>or perhaps (on Sys V based systems):</para>
<para><programlisting format="linespecific">
#!/bin/sh
/usr/bin/df -k $1 | tail -1 | awk '{print $3&quot; &quot;$5}'
</programlisting></para>
- <para>Note that you may have to replace the command names
- with full path names on some systems.</para>
- </listitem>
- </samba:parameter>
+ <para>Note that you may have to replace the command names with full path names on some systems.</para>
+</listitem>
+</samba:parameter>