See the \ilink {Edit Codes}{mountcodes} section below for more details of
the editing codes that can be used in this directive.
+ If you need to specify multiple commands, create a shell script.
\item [Unmount Command = {\it name-string}]
\index[sd]{Unmount Command}
See the \ilink {Edit Codes}{mountcodes} section below for more details of
the editing codes that can be used in this directive.
+ If you need to specify multiple commands, create a shell script.
\item [Minimum block size = {\it size-in-bytes}]
\index[sd]{Minimum block size}
\end{verbatim}
\normalsize
+For some media, you may need multiple commands. If so, it is recommended
+that you use a shell script instead of putting them all into the Mount
+Command. For example, instead of this:
+
+\footnotesize
+\begin{verbatim}
+ Mount Command = "/usr/local/bin/mymount"
+\end{verbatim}
+\normalsize
+
+Where that script contains:
+
+\footnotesize
+\begin{verbatim}
+#!/bin/sh
+ndasadmin enable -s 1 -o w
+sleep 2
+mount /dev/ndas-00323794-0p1 /backup
+\end{verbatim}
+\normalsize
+
+Similar consideration should be given to all other Command parameters.
+
\item [Unmount Command = {\it name-string}]
\index[sd]{Unmount Command}
\index[sd]{Directive!Unmount Command}
\end{verbatim}
\normalsize
+ If you need to specify multiple commands, create a shell script.
+
\item [Write Part Command = {\it name-string}]
\index[sd]{Write Part Command}
\index[sd]{Directive!Write Part Command}
in the default bacula-sd.conf file. To use it, simply remove
the comment (\#) symbol.
+ If you need to specify multiple commands, create a shell script.
+
\item [Free Space Command = {\it name-string}]
\index[sd]{Free Space Command}
If you do not set it, Bacula will expect there is always free space on the
device.
+ If you need to specify multiple commands, create a shell script.
+
\end{description}
%% This pulls in the Autochanger resource from another file.