captive-1.1.1.2
[www.jankratochvil.net.git] / project / captive / man / mount.captive.pod.html
index 04514c0..0756067 100644 (file)
@@ -40,7 +40,7 @@
 <hr />
 <h1><a name="description">DESCRIPTION</a></h1>
 <p><strong>mount.captive</strong>(8) provides <strong>mount</strong>(8) interface to <strong>lufs-captivefs</strong>(7)
-by calling <strong>lufsmount</strong>(1) with appropriate arguments. You should never call
+by calling <strong>lufsd</strong>(1) with appropriate arguments. You should never call
 this command directly - use <strong>mount</strong>(8) instead.</p>
 <p><strong>mount.captive</strong>(8) (<strong>captive</strong> filesystem type) is never used - this command
 is provided just as a base <code>mount(8)</code> interface to <strong>captive</strong>(7). You must always
@@ -78,22 +78,75 @@ Do not modify <strong>/etc/mtab</strong>. This option is currently not supported
 <dt><strong><a name="item_%2dv"><strong>-v</strong></a></strong><br />
 </dt>
 <dd>
-Enable verbose mode. Command <strong>lufsmount</strong>(1) being called is shown.
+Enable verbose mode. Command <strong>lufsd</strong>(1) being called is shown.
 </dd>
 <p></p>
 <dt><strong><a name="item_%2do_options"><strong>-o</strong> <strong>options</strong></a></strong><br />
 </dt>
 <dd>
-Custom options passed to <strong>captive</strong>(7). See its manpage for details.  Options
-double-dashes (<strong>--</strong>) can be omitted for <strong>lufs-captivefs</strong>(7) or
-<strong>mount.captive</strong>(8).
+Custom options passed to <strong>captive</strong>(7) separated by comma (<strong>,</strong>).
+See the <strong>captive</strong>(7) manpage for details on options prefixed by
+double-dashes (<strong>--</strong>) will be used for <strong>lufs-captivefs</strong>(7) /
+<strong>mount.captive</strong>(8). Options without double-dashes (<strong>--</strong>) will be used for
+<strong>lufsd</strong>(1). You may be interested in these unprefixed options:
+</dd>
+<dl>
+<dt><strong><a name="item_force"><strong>force</strong></a></strong><br />
+</dt>
+<dd>
+Force the mount of {<strong>image-file</strong>|<strong>device</strong>} despite it appears to be already
+mounted according to <strong>mtab</strong>(5). You should never mount a device multiple
+times in read-write mode. It is safe to mount it multiple times in read-only
+mode. It is safe to mount it once in read-write mode and multiple times
+in read-only mode although you may encounter filesystem errors by the read-only
+filesystems in such case.
+</dd>
+<dd>
+<p>This is the only option is interpreted by <strong>mount.captive</strong> itself; it is not
+<strong>lufs-captivefs</strong>(7) nor <strong>lufsd</strong>(1) option.</p>
+</dd>
+<p></p>
+<dt><strong><a name="item_private"><strong>private</strong></a></strong><br />
+</dt>
+<dd>
+<strong>mount.captive</strong>(8) defaults to filesystem files <strong>644</strong> - read-write for system
+root (or the regular user owner) and read-only for others. You can force the
+mode <strong>600</strong> by this option (read-write for the owner, inaccessible for others).
+Mode <strong>755</strong> or &lt;700&gt; applies to directories. Options <strong>fmask</strong>/<strong>dmask</strong> will
+be OR-ed to the private/public permissions set by this option.
+</dd>
+<p></p>
+<dt><strong><a name="item_fmask%3d666"><strong>fmask</strong>=<strong>666</strong></a></strong><br />
+</dt>
+<dd>
+Octal mask to be OR-ed on file permissions (minimum file permissions).
+</dd>
+<p></p>
+<dt><strong><a name="item_dmask%3d777"><strong>dmask</strong>=<strong>777</strong></a></strong><br />
+</dt>
+<dd>
+Octal mask to be OR-ed on directory permissions (minimum directory
+permissions).
+</dd>
+<p></p>
+<dt><strong><a name="item_uid%3d500"><strong>uid</strong>=<strong>500</strong></a></strong><br />
+</dt>
+<dd>
+Supply the <strong>UID</strong> to be the user identification number owning all the files.
+</dd>
+<p></p>
+<dt><strong><a name="item_gid%3d500"><strong>gid</strong>=<strong>500</strong></a></strong><br />
+</dt>
+<dd>
+Supply the <strong>GID</strong> to be the group identification number owning all the files.
 </dd>
 <p></p></dl>
+</dl>
 <p>
 </p>
 <hr />
 <h1><a name="see_also">SEE ALSO</a></h1>
-<p><strong>lufs-captivefs</strong>(7), <strong>lufsmount</strong>(1)</p>
+<p><strong>lufs-captivefs</strong>(7), <strong>lufsd</strong>(1)</p>
 <p>
 </p>
 <hr />