about summary refs log tree commit diff
path: root/doc/s6-mount.html
blob: b12c505ef87f68732daea877641402bc352cf222 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en" />
    <title>s6-linux-utils: the s6-mount program</title>
    <meta name="Description" content="s6-linux-utils: the s6-mount program" />
    <meta name="Keywords" content="s6 linux administration root utilities mount" />
    <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> -->
  </head>
<body>

<p>
<a href="index.html">s6-linux-utils</a><br />
<a href="http://skarnet.org/software/">Software</a><br />
<a href="http://skarnet.org/">skarnet.org</a>
</p>

<h1> The <tt>s6-mount</tt> program </h1>

<p>
<tt>s6-mount</tt> mounts filesystems.
</p>

<h2> Interface </h2>

<pre>
     s6-mount -a
     s6-mount [ -r | -w ] [ -t fstype ] [ -o option[,option...] ] <em>device</em> <em>mntpoint</em>
</pre>

<ul>
 <li> <tt>s6-mount -a</tt> mounts all partitions according to <tt>/etc/fstab</tt>. </li>
 <li> If the <tt>-a</tt> option is not given,
<tt>s6-mount</tt> mounts <em>device</em> on <em>mntpoint</em>. </li>
 <li> <tt>s6-mount</tt> does not touch <tt>/etc/mtab</tt>. </li>
</ul>

<h2> Options </h2>

<ul>
 <li> <tt>-a</tt>&nbsp;: read <tt>/etc/fstab</tt> instead of other arguments </li>
 <li> <tt>-t</tt> <em>fstype</em>&nbsp;: filesystem is of type <em>fstype</em>. Default: ext2. </li>
 <li> <tt>-r</tt>&nbsp;: mount read-only </li>
 <li> <tt>-w</tt>&nbsp;: mount read-write (default) </li>
 <li> <tt>-o</tt> <em>option</em>&nbsp;: mount with option <em>option</em>.
Currently recognized options: defaults, ro, rw, remount, sync, async,
nodev, dev, noexec, exec, nosuid, suid, noatime, atime, nodiratime, diratime,
bind, nobind, move, nomove. Unrecognized options are given directly to the kernel. </li>
</ul>

</body>
</html>