Captive release update: 1.1.6.1
[www.jankratochvil.net.git] / project / captive / man / captive-install-fstab.pod.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>captive-install-fstab - Manage B&lt;captive-ntfs&gt; B&lt;/etc/fstab&gt; entries</title>
5 </head>
6
7 <body style="background-color: white">
8
9 <p><a name="__index__"></a></p>
10 <!-- INDEX BEGIN -->
11
12 <ul>
13         <li><a href="#name">NAME</a></li>
14         <li><a href="#synopsis">SYNOPSIS</a></li>
15         <li><a href="#description">DESCRIPTION</a></li>
16         <li><a href="#options">OPTIONS</a></li>
17         <li><a href="#see_also">SEE ALSO</a></li>
18         <li><a href="#author">AUTHOR</a></li>
19 </ul>
20 <!-- INDEX END -->
21
22 <hr />
23 <p>
24 </p>
25 <h1><a name="name">NAME</a></h1>
26 <p>captive-install-fstab - Manage <strong>captive-ntfs</strong> <strong>/etc/fstab</strong> entries</p>
27 <p>
28 </p>
29 <hr />
30 <h1><a name="synopsis">SYNOPSIS</a></h1>
31 <p>
32 </p>
33 <hr />
34 <h1><a name="description">DESCRIPTION</a></h1>
35 <p>Program will scan your local disk drive partitions (from <strong>/proc/partitions</strong>)
36 and it will add/remove appropriate file-system type <strong>captive-ntfs</strong> entries
37 in <strong>/etc/fstab</strong>.</p>
38 <p>Destination directory is chosen automatically as <strong>/mnt/captive-</strong>LABEL_NAME
39 where <strong>LABEL_NAME</strong> is the label used for the <strong>NTFS</strong> partition. Directory
40 <strong>/mnt/captive-</strong> may be used if no volume label is set. Different (numbered)
41 directory name is used if multiple disks have the same volume label set.</p>
42 <p>
43 </p>
44 <hr />
45 <h1><a name="options">OPTIONS</a></h1>
46 <dl>
47 <dt><strong><a name="item__2dv_7c_2d_2dverbose"><strong>-v</strong>|<strong>--verbose</strong></a></strong></dt>
48
49 <dd>
50 <p>Display additional information during disks scanning.</p>
51 </dd>
52 <dt><strong><a name="item__2dn_7c_2d_2ddry"><strong>-n</strong>|<strong>--dry</strong></a></strong></dt>
53
54 <dd>
55 <p>Perform all the operations but do not modify anything (file <strong>/etc/fstab</strong>).
56 You will probably use this option together with [<strong>-v</strong>|<strong>--verbose</strong>].</p>
57 </dd>
58 <dt><strong><a name="item__2d_2dadd"><strong>--add</strong></a></strong></dt>
59
60 <dd>
61 <p>Add all the found <strong>NTFS</strong> disk drive partitions to <strong>/etc/fstab</strong>.
62 Previous <strong>captive-ntfs</strong> entries for the same device will be kept
63 if <strong>--replace</strong> is not used.</p>
64 </dd>
65 <dt><strong><a name="item__2d_2dremove"><strong>--remove</strong></a></strong></dt>
66
67 <dd>
68 <p>Remove all lines of filesystem type <strong>captive-ntfs</strong> and device name in
69 <strong>/dev</strong> directory.</p>
70 </dd>
71 <dt><strong><a name="item__2d_2dreplace"><strong>--replace</strong></a></strong></dt>
72
73 <dd>
74 <p>Replace existing entries by new ones on <strong>--add</strong>. By default the existing
75 <strong>captive-ntfs</strong> entries are kept untouched.</p>
76 </dd>
77 </dl>
78 <p>
79 </p>
80 <hr />
81 <h1><a name="see_also">SEE ALSO</a></h1>
82 <p><strong>captive-install-acquire</strong>(1), <strong>captive</strong>(7), <strong>mount.captive</strong>(8)</p>
83 <p>
84 </p>
85 <hr />
86 <h1><a name="author">AUTHOR</a></h1>
87 <p><table cellspacing="0" cellpadding="0"><tr><td>Jan Kratochvil &lt;<strong><a href="mailto:project-captive@jankratochvil.net">project-captive@jankratochvil.net</a></strong>&gt;,
88 <tr><td><td><em><a href="http://www.jankratochvil.net/">http://www.jankratochvil.net/</a></em></table></p>
89
90 </body>
91
92 </html>