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
53
54
55
56
57
58
|
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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="//skarnet.org/default.css" /> -->
</head>
<body>
<p>
<a href="index.html">s6-linux-utils</a><br />
<a href="//skarnet.org/software/">Software</a><br />
<a href="//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 [ -z <em>fstab</em> ]
s6-mount [ -n ] [ -r | -w ] [ -t <em>fstype</em> ] [ -o <em>option</em>[,<em>option</em>...] ] <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> : process <tt>/etc/fstab</tt> instead of command
line arguments </li>
<li> <tt>-z</tt> <em>fstab</em> : read file at <em>fstab</em>
instead of <tt>/etc/fstab</tt> </li>
<li> <tt>-n</tt> : ignored
<li> <tt>-t</tt> <em>fstype</em> : filesystem is of type <em>fstype</em>.
You probably need to specify this. </li>
<li> <tt>-r</tt> : mount read-only </li>
<li> <tt>-w</tt> : mount read-write (default) </li>
<li> <tt>-o</tt> <em>option</em> : 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>
|