File: guestmount.1

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 (499 lines) | stat: -rw-r--r-- 21,970 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
.\" -*- 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 "guestmount 1"
.TH guestmount 1 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 "名前"
guestmount \- Mount a guest filesystem on the host using FUSE and libguestfs
.SH 書式
.IX Header "書式"
.Vb 1
\& guestmount [\-\-options] \-a disk.img \-m device [\-\-ro] mountpoint
\&
\& guestmount [\-\-options] \-a disk.img \-i [\-\-ro] mountpoint
\&
\& guestmount [\-\-options] \-d Guest \-i [\-\-ro] mountpoint
.Ve
.SH 説明
.IX Header "説明"
The guestmount program can be used to mount virtual machine filesystems and other disk images on the host.  It uses libguestfs for access to the guest filesystem, and FUSE (the "filesystem in userspace") to make it appear as a mountable device.
.PP
Along with other options, you have to give at least one device (\fI\-a\fR option) or libvirt domain (\fI\-d\fR option), and at least one mountpoint (\fI\-m\fR option) or use the \fI\-i\fR inspection option.  How this works is better explained in the \fBguestfish\fR\|(1) manual page, or by looking at the examples below.
.PP
FUSE lets you mount filesystems as non\-root.  The mountpoint must be owned by you.  The filesystem will not be visible to any other users unless you make configuration changes, see "NOTES" below.
.PP
To unmount the filesystem, use the \fBguestunmount\fR\|(1) command.
.SH 例
.IX Header "例"
For a typical Windows guest which has its main filesystem on the first partition:
.PP
.Vb 1
\& guestmount \-a windows.img \-m /dev/sda1 \-\-ro /mnt
.Ve
.PP
For a typical Linux guest which has a /boot filesystem on the first partition, and the root filesystem on a logical volume:
.PP
.Vb 1
\& guestmount \-a linux.img \-m /dev/VG/LV \-m /dev/sda1:/boot \-\-ro /mnt
.Ve
.PP
To get libguestfs to detect guest mountpoints for you:
.PP
.Vb 1
\& guestmount \-a guest.img \-i \-\-ro /mnt
.Ve
.PP
For a libvirt guest called "Guest" you could do:
.PP
.Vb 1
\& guestmount \-d Guest \-i \-\-ro /mnt
.Ve
.PP
If you don’t know what filesystems are contained in a guest or disk image, use \fBvirt\-filesystems\fR\|(1) first:
.PP
.Vb 1
\& virt\-filesystems \-d MyGuest
.Ve
.PP
If you want to trace the libguestfs calls but without excessive debugging information, we recommend:
.PP
.Vb 1
\& guestmount [...] \-\-trace /mnt
.Ve
.PP
If you want to debug the program, we recommend:
.PP
.Vb 1
\& guestmount [...] \-\-trace \-\-verbose /mnt
.Ve
.PP
To unmount the filesystem after using it:
.PP
.Vb 1
\& guestunmount /mnt
.Ve
.SH 注記
.IX Header "注記"
.SS 他のユーザーは標準でファイルシステムを参照できません。
.IX Subsection "他のユーザーは標準でファイルシステムを参照できません。"
If you mount a filesystem as one user (eg. root), then other users will not be able to see it by default.  The fix is to add the FUSE \f(CW\*(C`allow_other\*(C'\fR option when mounting:
.PP
.Vb 1
\& sudo guestmount [...] \-o allow_other /mnt
.Ve
.PP
\&\fBand\fR to enable this option in \fI/etc/fuse.conf\fR.
.SS "Enabling FUSE"
.IX Subsection "Enabling FUSE"
On some distros, you may need to add yourself to a special group (eg. \f(CW\*(C`fuse\*(C'\fR) before you can use any FUSE filesystem.  This is necessary on Debian and derivatives.
.PP
On other distros, no special group is required.  It is not necessary on Fedora or Red Hat Enterprise Linux.
.SS "fusermount エラー: ""デバイスまたはリソースがビジーです"""
.IX Subsection "fusermount エラー: ""デバイスまたはリソースがビジーです"""
You can see this error when another process on the system jumps into the mountpoint you have just created, holding it open and preventing you from unmounting it.  The usual culprits are various GUI "indexing" programs.
.PP
The popular workaround for this problem is to retry the \f(CW\*(C`fusermount \-u\*(C'\fR command a few times until it works (\fBguestunmount\fR\|(1) does this for you). Unfortunately this isn\*(Aqt a reliable fix if (for example)  the mounted filesystem is particularly large and the intruding program particularly persistent.
.PP
A proper fix is to use a private mountpoint by creating a new mount namespace using the Linux\-specific \fBclone\fR\|(2)/\fBunshare\fR\|(2) flag \f(CW\*(C`CLONE_NEWNS\*(C'\fR.  Unfortunately at the moment this requires root and we would also probably need to add it as a feature to guestmount.
.SS "Race conditions possible when shutting down the connection"
.IX Subsection "Race conditions possible when shutting down the connection"
When \fBguestunmount\fR\|(1)/\fBfusermount\fR\|(1) exits, guestmount may still be running and cleaning up the mountpoint.  The disk image will not be fully finalized.
.PP
This means that scripts like the following have a nasty race condition:
.PP
.Vb 4
\& guestmount \-a disk.img \-i /mnt
\& # copy things into /mnt
\& guestunmount /mnt
\& # immediately try to use \*(Aqdisk.img\*(Aq ** UNSAFE **
.Ve
.PP
The solution is to use the \fI\-\-pid\-file\fR option to write the guestmount PID to a file, then after guestunmount spin waiting for this PID to exit.
.PP
.Vb 1
\& guestmount \-a disk.img \-i \-\-pid\-file guestmount.pid /mnt
\& 
\& # ...
\& # ...
\& 
\& # Save the PID of guestmount *before* calling guestunmount.
\& pid="$(cat guestmount.pid)"
\& 
\& # Unmount the filesystem.
\& guestunmount /mnt
\& 
\& timeout=10
\& 
\& count=$timeout
\& while kill \-0 "$pid" 2>/dev/null && [ $count \-gt 0 ]; do
\&     sleep 1
\&     ((count\-\-))
\& done
\& if [ $count \-eq 0 ]; then
\&     echo "$0: wait for guestmount to exit failed after $timeout seconds"
\&     exit 1
\& fi
\& 
\& # Now it is safe to use the disk image.
.Ve
.PP
Note that if you use the \f(CW\*(C`guestfs_mount_local\*(C'\fR API directly (see "MOUNT LOCAL" in \fBguestfs\fR\|(3)) then it is much easier to write a safe, race\-free program.
.SH オプション
.IX Header "オプション"
.IP "\fB\-a\fR IMAGE" 4
.IX Item "-a IMAGE"
.PD 0
.IP "\fB\-\-add\fR IMAGE" 4
.IX Item "--add IMAGE"
.PD
ブロックデバイスまたは仮想マシンイメージを追加します。
.Sp
ディスクイメージの形式は自動検知されます。 これを上書きして強制的に特定の形式を使用する場合、 \fI\-\-format=..\fR オプションを使用します。
.IP "\fB\-a\fR URI" 4
.IX Item "-a URI"
.PD 0
.IP "\fB\-\-add\fR URI" 4
.IX Item "--add URI"
.PD
リモートディスクを追加します。 "リモートストレージの追加" in \fBguestfish\fR\|(1) 参照。
.IP \fB\-\-blocksize=512\fR 4
.IX Item "--blocksize=512"
.PD 0
.IP \fB\-\-blocksize=4096\fR 4
.IX Item "--blocksize=4096"
.IP \fB\-\-blocksize\fR 4
.IX Item "--blocksize"
.PD
This parameter sets the sector size of the disk image.  It affects all explicitly added subsequent disks after this parameter.  Using \fI\-\-blocksize\fR with no argument switches the disk sector size to the default value which is usually 512 bytes.  See also "guestfs_add_drive_opts" in \fBguestfs\fR\|(3).
.IP "\fB\-c\fR URI" 4
.IX Item "-c URI"
.PD 0
.IP "\fB\-\-connect\fR URI" 4
.IX Item "--connect URI"
.PD
.Vb 1
\& I<\-d> オプションと同時に使用するとき、 これは使用する libvirt URI を指定します。 標準状態で標準の libvirt 接続を使用します。
.Ve
.IP "\fB\-d\fR LIBVIRT\-DOMAIN" 4
.IX Item "-d LIBVIRT-DOMAIN"
.PD 0
.IP "\fB\-\-domain\fR LIBVIRT\-DOMAIN" 4
.IX Item "--domain LIBVIRT-DOMAIN"
.PD
名前付き libvirt 仮想マシンからディスクを追加します。 \fI\-\-ro\fR オプションも使用されている場合、すべての libvirt 仮想マシンを使用できます。 しかしながら、書き込みモードでは、 停止状態の libvirt 仮想マシンのみ指定できます。
.Sp
名前の代わりに仮想マシンの UUID を使用できます。
.IP "\fB\-\-dir\-cache\-timeout\fR N" 4
.IX Item "--dir-cache-timeout N"
Set the readdir cache timeout to \fIN\fR seconds, the default being 60 seconds.  The readdir cache [actually, there are several semi\-independent caches] is populated after a \fBreaddir\fR\|(2) call with the stat and extended attributes of the files in the directory, in anticipation that they will be requested soon after.
.Sp
There is also a different attribute cache implemented by FUSE (see the FUSE option \fI\-o attr_timeout\fR), but the FUSE cache does not anticipate future requests, only cache existing ones.
.IP \fB\-\-echo\-keys\fR 4
.IX Item "--echo-keys"
キーやパスフレーズを入力するとき、通常 guestfish はエコーを無効化します。 そのため、入力内容を確認できません。 テンペスト攻撃の心配がなく、 部屋に誰も居なければ、 入力内容を確認するためにこのフラグを指定できます。
.IP \fB\-\-fd=\fRFD 4
.IX Item "--fd=FD"
Specify a pipe or eventfd file descriptor.  When the mountpoint is ready to be used, guestmount writes a single byte to this file descriptor.  This can be used in conjunction with \fI\-\-no\-fork\fR in order to run guestmount captive under another process.
.IP \fB\-\-format=raw|qcow2|..\fR 4
.IX Item "--format=raw|qcow2|.."
.PD 0
.IP \fB\-\-format\fR 4
.IX Item "--format"
.PD
\&\fI\-a\fR オプションは標準状態でディスクイメージの形式を自動検知します。 これを使用することにより、コマンドラインで後続の \fI\-a\fR オプションのディスク形式を強制的に指定できます。 引数なしで \fI\-\-format\fR を使用することにより、 後続の \fI\-a\fR オプションに対して自動検知に戻せます。
.Sp
仮想マシンのディスクイメージが信頼できない raw 形式である場合、 ディスク形式を指定するためにこのオプションを使用すべきです。 これにより、悪意のある仮想マシンにより起こり得る セキュリティ問題を回避できます (CVE\-2010\-3851)。 "\fBguestfs\fR\|(3)/guestfs_add_drive_opts" 参照。
.IP \fB\-\-fuse\-help\fR 4
.IX Item "--fuse-help"
Display help on special FUSE options (see \fI\-o\fR below).
.IP \fB\-\-help\fR 4
.IX Item "--help"
簡単なヘルプを表示して、終了します。
.IP \fB\-i\fR 4
.IX Item "-i"
.PD 0
.IP \fB\-\-inspector\fR 4
.IX Item "--inspector"
.PD
\&\fBvirt\-inspector\fR\|(1) コードを使用すると、 オペレーティングシステムを判定するためにディスクを検査します。 また、実際の仮想マシンにマウントすることと同じように ファイルシステムをマウントします。
.IP "\fB\-\-key\fR SELECTOR" 4
.IX Item "--key SELECTOR"
Specify a key for LUKS, to automatically open a LUKS device when using the inspection.
.RS 4
.IP "\fB\-\-key\fR NAME\fB:key:\fRKEY_STRING" 4
.IX Item "--key NAME:key:KEY_STRING"
.PD 0
.IP "\fB\-\-key\fR UUID\fB:key:\fRKEY_STRING" 4
.IX Item "--key UUID:key:KEY_STRING"
.IP "\fB\-\-key\fR \fBall:key:\fRKEY_STRING" 4
.IX Item "--key all:key:KEY_STRING"
.PD
\&\f(CW\*(C`NAME\*(C'\fR is the libguestfs device name (eg. \f(CW\*(C`/dev/sda1\*(C'\fR).  \f(CW\*(C`UUID\*(C'\fR is the device UUID.  \f(CW\*(C`all\*(C'\fR means try the key against any encrypted device.
.Sp
Use the specified \f(CW\*(C`KEY_STRING\*(C'\fR as passphrase.
.IP "\fB\-\-key\fR NAME\fB:file:\fRFILENAME" 4
.IX Item "--key NAME:file:FILENAME"
.PD 0
.IP "\fB\-\-key\fR UUID\fB:file:\fRFILENAME" 4
.IX Item "--key UUID:file:FILENAME"
.IP "\fB\-\-key\fR \fBall:file:\fRFILENAME" 4
.IX Item "--key all:file:FILENAME"
.PD
Read the passphrase from \fIFILENAME\fR.
.IP "\fB\-\-key\fR NAME\fB:clevis\fR" 4
.IX Item "--key NAME:clevis"
.PD 0
.IP "\fB\-\-key\fR UUID\fB:clevis\fR" 4
.IX Item "--key UUID:clevis"
.IP "\fB\-\-key\fR \fBall:clevis\fR" 4
.IX Item "--key all:clevis"
.PD
Attempt passphrase\-less unlocking for the device with Clevis, over the network.  Please refer to "ENCRYPTED DISKS" in \fBguestfs\fR\|(3) for more information on network\-bound disk encryption (NBDE).
.Sp
Note that if any such option is present on the command line, QEMU user networking will be automatically enabled for the libguestfs appliance.
.RE
.RS 4
.RE
.IP \fB\-\-keys\-from\-stdin\fR 4
.IX Item "--keys-from-stdin"
Read key or passphrase parameters from stdin.  The default is to try to read passphrases from the user by opening \fI/dev/tty\fR.
.Sp
If there are multiple encrypted devices then you may need to supply multiple keys on stdin, one per line.
.IP "\fB\-m\fR dev[:mountpoint[:options[:fstype]]" 4
.IX Item "-m dev[:mountpoint[:options[:fstype]]"
.PD 0
.IP "\fB\-\-mount\fR dev[:mountpoint[:options[:fstype]]]" 4
.IX Item "--mount dev[:mountpoint[:options[:fstype]]]"
.PD
Mount the named partition or logical volume on the given mountpoint \fBin the guest\fR (this has nothing to do with mountpoints in the host).
.Sp
If the mountpoint is omitted, it defaults to \fI/\fR.  You have to mount something on \fI/\fR.
.Sp
マウントパラメーターの三番目の (ほとんど使用されない) 項目は、 バックエンドのファイルシステムをマウントするために使用される マウントオプションの一覧です。 これが指定されていない場合、 マウントオプションは空文字列または \f(CW\*(C`ro\*(C'\fR (\fI\-\-ro\fR フラグが使用されている場合) になります。
.Sp
.Vb 1
\& \-m /dev/sda1:/:acl,user_xattr
.Ve
.Sp
パラメーターの四番目の項目は使用するファイルシステムドライバー (\f(CW\*(C`ext3\*(C'\fR や \f(CW\*(C`ntfs\*(C'\fR など) です。 これはほとんど必要ありません。 しかし、複数のドライバーがファイルシステムに対して有効である場合 (例: \f(CW\*(C`ext2\*(C'\fR と \f(CW\*(C`ext3\*(C'\fR)、 または libguestfs がファイルシステムを誤検知している場合、 これは有用です。
.IP \fB\-\-no\-fork\fR 4
.IX Item "--no-fork"
Don’t daemonize (or fork into the background).
.IP \fB\-n\fR 4
.IX Item "-n"
.PD 0
.IP \fB\-\-no\-sync\fR 4
.IX Item "--no-sync"
.PD
By default, we attempt to sync the guest disk when the FUSE mountpoint is unmounted.  If you specify this option, then we don\*(Aqt attempt to sync the disk.  See the discussion of autosync in the \fBguestfs\fR\|(3) manpage.
.IP "\fB\-o\fR OPTION" 4
.IX Item "-o OPTION"
.PD 0
.IP "\fB\-\-option\fR OPTION" 4
.IX Item "--option OPTION"
.PD
追加オプションを FUSE に渡します。
.Sp
To get a list of all the extra options supported by FUSE, use the command below.  Note that only the FUSE \fI\-o\fR options can be passed, and only some of them are a good idea.
.Sp
.Vb 1
\& guestmount \-\-fuse\-help
.Ve
.Sp
Some potentially useful FUSE options:
.RS 4
.IP "\fB\-o\fR \fBallow_other\fR" 4
.IX Item "-o allow_other"
Allow other users to see the filesystem.  This option has no effect unless you enable it globally in \fI/etc/fuse.conf\fR.
.IP "\fB\-o\fR \fBattr_timeout=N\fR" 4
.IX Item "-o attr_timeout=N"
Enable attribute caching by FUSE, and set the timeout to \fIN\fR seconds.
.IP "\fB\-o\fR \fBkernel_cache\fR" 4
.IX Item "-o kernel_cache"
Allow the kernel to cache files (reduces the number of reads that have to go through the \fBguestfs\fR\|(3) API).  This is generally a good idea if you can afford the extra memory usage.
.IP "\fB\-o\fR \fBuid=N\fR \fB\-o\fR \fBgid=N\fR" 4
.IX Item "-o uid=N -o gid=N"
Use these options to map all UIDs and GIDs inside the guest filesystem to the chosen values.
.IP "\fB\-o\fR \fBuse_ino\fR" 4
.IX Item "-o use_ino"
Preserve inode numbers from the underlying filesystem.
.Sp
Without this option, FUSE makes up its own inode numbers.  The inode numbers you see in \fBstat\fR\|(2), \f(CW\*(C`ls \-i\*(C'\fR etc aren\*(Aqt the inode numbers of the underlying filesystem.
.Sp
\&\fBNote\fR this option is potentially dangerous if the underlying filesystem consists of multiple mountpoints, as you may see duplicate inode numbers appearing through FUSE.  Use of this option can confuse some software.
.RE
.RS 4
.RE
.IP "\fB\-\-pid\-file\fR FILENAME" 4
.IX Item "--pid-file FILENAME"
\&\f(CW\*(C`filename\*(C'\fR に guestmount ワーカープロセスの PID を書き込みます。
.IP \fB\-r\fR 4
.IX Item "-r"
.PD 0
.IP \fB\-\-ro\fR 4
.IX Item "--ro"
.PD
Add devices and mount everything read\-only.  Also disallow writes and make the disk appear read\-only to FUSE.
.Sp
This is highly recommended if you are not going to edit the guest disk.  If the guest is running and this option is \fInot\fR supplied, then there is a strong risk of disk corruption in the guest.  We try to prevent this from happening, but it is not always possible.
.Sp
"OPENING DISKS FOR READ AND WRITE" in \fBguestfish\fR\|(1) 参照。
.IP \fB\-\-selinux\fR 4
.IX Item "--selinux"
This option is provided for backwards compatibility and does nothing.
.IP \fB\-v\fR 4
.IX Item "-v"
.PD 0
.IP \fB\-\-verbose\fR 4
.IX Item "--verbose"
.PD
libguestfs からの冗長なメッセージを有効にします。
.IP \fB\-V\fR 4
.IX Item "-V"
.PD 0
.IP \fB\-\-version\fR 4
.IX Item "--version"
.PD
プログラムのバージョンを表示して、終了します。
.IP \fB\-w\fR 4
.IX Item "-w"
.PD 0
.IP \fB\-\-rw\fR 4
.IX Item "--rw"
.PD
ディスクが追加され、読み書き可能でマウントされるよう、 \fI\-a\fR, \fI\-d\fR, \fI\-m\fR オプションを変更します。
.Sp
"OPENING DISKS FOR READ AND WRITE" in \fBguestfish\fR\|(1) 参照。
.IP \fB\-x\fR 4
.IX Item "-x"
.PD 0
.IP \fB\-\-trace\fR 4
.IX Item "--trace"
.PD
Trace libguestfs calls and entry into each FUSE function.
.Sp
This also stops the daemon from forking into the background (see \fI\-\-no\-fork\fR).
.SH ファイル
.IX Header "ファイル"
.ie n .IP $XDG_CONFIG_HOME/libguestfs/libguestfs\-tools.conf 4
.el .IP \f(CW$XDG_CONFIG_HOME\fR/libguestfs/libguestfs\-tools.conf 4
.IX Item "$XDG_CONFIG_HOME/libguestfs/libguestfs-tools.conf"
.PD 0
.ie n .IP $HOME/.libguestfs\-tools.rc 4
.el .IP \f(CW$HOME\fR/.libguestfs\-tools.rc 4
.IX Item "$HOME/.libguestfs-tools.rc"
.ie n .IP $XDG_CONFIG_DIRS/libguestfs/libguestfs\-tools.conf 4
.el .IP \f(CW$XDG_CONFIG_DIRS\fR/libguestfs/libguestfs\-tools.conf 4
.IX Item "$XDG_CONFIG_DIRS/libguestfs/libguestfs-tools.conf"
.IP /etc/libguestfs\-tools.conf 4
.IX Item "/etc/libguestfs-tools.conf"
.PD
This configuration file controls the default read\-only or read\-write mode (\fI\-\-ro\fR or \fI\-\-rw\fR).
.Sp
See \fBlibguestfs\-tools.conf\fR\|(5).
.SH 終了ステータス
.IX Header "終了ステータス"
このプログラムは、成功すると 0 を、エラーがあると 0 以外を返します。
.SH 関連項目
.IX Header "関連項目"
\&\fBguestunmount\fR\|(1), \fBfusermount\fR\|(1), \fBguestfish\fR\|(1), \fBvirt\-inspector\fR\|(1), \fBvirt\-cat\fR\|(1), \fBvirt\-edit\fR\|(1), \fBvirt\-tar\fR\|(1), \fBlibguestfs\-tools.conf\fR\|(5), "MOUNT LOCAL" in \fBguestfs\fR\|(3), http://libguestfs.org/, http://fuse.sf.net/.
.SH 著者
.IX Header "著者"
Richard W.M. Jones (\f(CW\*(C`rjones at redhat dot com\*(C'\fR)
.SH COPYRIGHT
.IX Header "COPYRIGHT"
Copyright (C) 2009\-2023 Red Hat Inc.
.SH LICENSE
.IX Header "LICENSE"
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
.PP
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.
.PP
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA.
.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.