-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvumount.1.html
112 lines (94 loc) · 3.57 KB
/
vumount.1.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Content-type: text/html; charset=UTF-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of VUMOUNT</TITLE>
</HEAD><BODY>
<H1>VUMOUNT</H1>
Section: General Commands Manual (1)<BR>Updated: December 2022<BR><A HREF="#index">Index</A>
<A HREF="/#/man/index">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
<P>
vumount - mount a filesystem or a resource
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<P>
vumount [options ...]
source destination
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<P>
Everything is (or can be seen) as a file.
It is part of the philosophy of UNIX.
The file hierarchy is the global naming facility.
<P>
VUOS follows this principle: VUOS modules use <A HREF="/#/man/man2/mount.2.html">mount</A>(2) not
only to mount virtual filesystems but also to activate other virual
services.
The mountpoint, destination in the synopsis, is the name that
will be used to identify the virtual entity/service.
<P>
For example, in vudev it is possible to mount devices, in
vunet the mountpoint is the name of the networking stack,
<A HREF="/#/man/man1/vustack.1.html">vustack</A>(1) uses the path ofthe mountpoint to set the current
stack for processes.
<P>
vumount is just a command interface to <A HREF="/#/man/man2/mount.2.html">mount</A>(2).
The <A HREF="/#/man/man8/mount.8.html">mount</A>(8) command is a complex tool which includes several
features like the management of /etc/fstab and /etc/mtab.
<A HREF="/#/man/man8/mount.8.html">mount</A>(8) is a root setuid executable and performs security
checks before the actual <A HREF="/#/man/man2/mount.2.html">mount</A>(2) syscall request.
<A HREF="/#/man/man8/mount.8.html">mount</A>(8) can be used in VUOS in place of vumount but
it requires the (virtual) real uid of the executing process to be 0
(root).
e.g. <A HREF="/#/man/man1/vusu.1.html">vusu</A>(1) can be used to set the virtual real uid to 0.
vumount has been designed for VUOS but can be used to run the
mount system call directly, without all the other management
actions provided by <A HREF="/#/man/man8/mount.8.html">mount</A>(8).
vumount is not setuid root.
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT>-h, --help<DD>
Print a short help message and exit.
<DT>-o list, --options list<DD>
comma-separated list of mount options
<DT>-t fstype, --types fstype<DD>
define the filesystem type
<DT>-r, --read-only<DD>
mount the filesystem read-only (same as -o ro)
<DT>-w, --rw, --read-write<DD>
mount the filesystem read-write (default)
<DT>-B, --bind<DD>
mount a subtree somewhere else (same as -o bind)
<DT>-M, --move<DD>
move a subtree to some other place
<DT>-R, --rbind<DD>
mount a subtree and all submounts somewhere else
</DL>
<A NAME="lbAF"> </A>
<H2>SEE ALSO</H2>
<P>
<A HREF="/#/man/man1/umvu.1.html">umvu</A>(1), <A HREF="/#/man/man1/vu_insmod.1.html">vu_insmod</A>(1), <A HREF="/#/man/man1/vu_lsmod.1.html">vu_lsmod</A>(1), <A HREF="/#/man/man1/vu_rmmod.1.html">vu_rmmod</A>(1), <A HREF="/#/man/man1/vuumount.1.html">vuumount</A>(1), <A HREF="/#/man/man1/vudebug.1.html">vudebug</A>(1)
<A NAME="lbAG"> </A>
<H2>AUTHOR</H2>
<P>
VirtualSquare.
Project leader: Renzo Davoli
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
<DT><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 15:22:07 GMT, November 27, 2023
</BODY>
</HTML>