File: guestfsd.8

package info (click to toggle)
libguestfs 1%3A1.54.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 98,892 kB
  • sloc: ansic: 379,443; ml: 38,771; sh: 10,329; java: 9,631; cs: 6,377; haskell: 5,729; makefile: 5,178; python: 3,821; perl: 2,467; erlang: 2,461; ruby: 349; xml: 275; pascal: 257; javascript: 157; cpp: 10
file content (191 lines) | stat: -rw-r--r-- 7,407 bytes parent folder | download | duplicates (2)
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
.\" -*- mode: troff; coding: utf-8 -*-
.\" Automatically generated by Podwrapper::Man 1.54.1 (Pod::Simple 3.45)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
.ie n \{\
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\"
.\" Required to disable full justification in groff 1.23.0.
.if n .ds AD l
.\" ========================================================================
.\"
.IX Title "guestfsd 8"
.TH guestfsd 8 2025-02-18 libguestfs-1.54.1 "Virtualization Support"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH 名前
.IX Header "名前"
guestfsd \- guestfs デーモン
.SH 書式
.IX Header "書式"
.Vb 1
\& guestfsd [\-r] [\-v|\-\-verbose]
.Ve
.SH 説明
.IX Header "説明"
\&\f(CW\*(C`guestfsd\*(C'\fR は libguestfs デーモンです。一般ユーザーはこのプログラムを明示的に実行する必要がありません。このマニュアルページは、\f(CW\*(C`guestfsd\*(C'\fR が libguestfs アプライアンスにおいて、および libguestfs ライブにおいて実行することを説明しています。
.SS "libguestfs アプライアンス"
.IX Subsection "libguestfs アプライアンス"
libguestfs アプライアンスのアーキテクチャーは "アーキテクチャー" in \fBguestfs\fR\|(3) を参照してください。
.PP
After the appliance boots, the \fI/init\fR script in the appliance starts \f(CW\*(C`guestfsd\*(C'\fR with no arguments.  \f(CW\*(C`guestfsd\*(C'\fR opens the virtio\-serial port on a known path (see "FILES").  It initiates the protocol (see "COMMUNICATION PROTOCOL" in \fBguestfs\fR\|(3)) and processes requests one at a time from the library until the appliance is destroyed.
.PP
Filesystems are mounted under \fI/sysroot\fR and all filesystem operations happen relative to this directory.
.SS "LIBGUESTFS LIVE"
.IX Subsection "LIBGUESTFS LIVE"
In the libguestfs live case, \f(CW\*(C`guestfsd \-r\*(C'\fR is started from the rc\-scripts, systemd, etc.
.PP
The \f(CW\*(C`\-r\*(C'\fR option causes the daemon to operate on the root filesystem instead of \fI/sysroot\fR.
.PP
Currently (because of limitations in virtio\-serial) only one client can connect at a time, and \f(CW\*(C`guestfsd\*(C'\fR must be restarted after each client disconnects.  If libguestfs live were changed to use a different transport such as TCP/IP then this limitation could be removed.
.SH オプション
.IX Header "オプション"
.IP \fB\-?\fR 4
.IX Item "-?"
.PD 0
.IP \fB\-\-help\fR 4
.IX Item "--help"
.PD
簡単なヘルプを表示します。
.IP "\fB\-c\fR CHANNEL" 4
.IX Item "-c CHANNEL"
.PD 0
.IP "\fB\-\-channel\fR CHANNEL" 4
.IX Item "--channel CHANNEL"
.IP "\fB\-\-channel\fR fd:N" 4
.IX Item "--channel fd:N"
.PD
Pass the name of the virtio\-serial channel, serial port, etc.  over which guestfsd will communicate with the library.  If this parameter is not given, then an internal default port is used.
.Sp
The \f(CW\*(C`fd:N\*(C'\fR form causes guestfsd to use the file descriptor \f(CW\*(C`N\*(C'\fR directly.
.IP \fB\-l\fR 4
.IX Item "-l"
.PD 0
.IP \fB\-\-listen\fR 4
.IX Item "--listen"
.PD
Instead of opening the \f(CW\*(C`guestfs_channel\*(C'\fR and thus expecting that it already exists, create the channel as a Unix domain socket, listen on it, and accept a single connection.  This is mainly used for testing the daemon.
.IP \fB\-n\fR 4
.IX Item "-n"
.PD 0
.IP \fB\-\-network\fR 4
.IX Item "--network"
.PD
Enable network features in the daemon.
.IP \fB\-r\fR 4
.IX Item "-r"
Set the root filesystem to be \fI/\fR (instead of the default which is \fI/sysroot\fR).  Also do not unmount filesystems when the daemon exits.
.Sp
This option is used to enable libguestfs live.
.IP \fB\-v\fR 4
.IX Item "-v"
.PD 0
.IP \fB\-\-verbose\fR 4
.IX Item "--verbose"
.PD
デバッグ用の冗長なメッセージを有効にします。
.Sp
The verbose flag is also set if the Linux command line contains the substring \f(CW\*(C`guestfs_verbose=1\*(C'\fR.
.SH 終了ステータス
.IX Header "終了ステータス"
このプログラムは、成功すると 0 を、エラーがあると 0 以外を返します。
.SH ファイル
.IX Header "ファイル"
.IP \fI/dev/virtio\-ports/org.libguestfs.channel.0\fR 4
.IX Item "/dev/virtio-ports/org.libguestfs.channel.0"
\&\f(CW\*(C`guestfsd\*(C'\fR が接続する virtio シリアルポート。
.IP \fI/proc/cmdline\fR 4
.IX Item "/proc/cmdline"
The Linux command line is parsed to discover \f(CW\*(C`guestfs_*\*(C'\fR flags.  The following flags are understood:
.RS 4
.IP \fBguestfs_verbose=1\fR 4
.IX Item "guestfs_verbose=1"
Enable verbose messages.  This flag is passed by the libguestfs library to the appliance to make the daemon more verbose (it acts like the \fI\-v\fR flag on the command line).  Unrelated to the daemon, it also causes the appliance init script to print out a lot more debugging information.
.IP \fBguestfs_channel=PATH\fR 4
.IX Item "guestfs_channel=PATH"
Set the path to the virtio\-serial channel to something other than the default (which is \fI/dev/virtio\-ports/org.libguestfs.channel.0\fR).  This is used by the User\-Mode Linux backend to use a regular emulated serial port instead of virtio\-serial.
.IP \fBguestfs_network=1\fR 4
.IX Item "guestfs_network=1"
This is set if the appliance network is enabled (see \f(CW\*(C`guestfs_set_network\*(C'\fR).
.RE
.RS 4
.RE
.SH 関連項目
.IX Header "関連項目"
\&\fBguestfs\fR\|(3), http://libguestfs.org/.
.SH 著者
.IX Header "著者"
Richard W.M. Jones http://people.redhat.com/~rjones/
.SH COPYRIGHT
.IX Header "COPYRIGHT"
Copyright (C) 2009\-2023 Red Hat Inc.
.SH LICENSE
.IX Header "LICENSE"
.SH BUGS
.IX Header "BUGS"
To get a list of bugs against libguestfs, use this link:
https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
.PP
To report a new bug against libguestfs, use this link:
https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
.PP
When reporting a bug, please supply:
.IP \(bu 4
The version of libguestfs.
.IP \(bu 4
Where you got libguestfs (eg. which Linux distro, compiled from source, etc)
.IP \(bu 4
Describe the bug accurately and give a way to reproduce it.
.IP \(bu 4
Run \fBlibguestfs\-test\-tool\fR\|(1) and paste the \fBcomplete, unedited\fR
output into the bug report.