Finalize release notes for 1.12 release.
[libguestfs.git] / po-docs / ja.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
4 #
5 # rjones <rjones@redhat.com>, 2011.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: libguestfs\n"
9 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
10 "POT-Creation-Date: 2011-07-19 18:42+0200\n"
11 "PO-Revision-Date: 2011-07-17 20:50+0000\n"
12 "Last-Translator: rjones <rjones@redhat.com>\n"
13 "Language-Team: Japanese (http://www.transifex.net/projects/p/fedora/team/"
14 "ja/)\n"
15 "Language: ja\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=1; plural=0\n"
20
21 #. type: =head1
22 #: ../cat/virt-cat.pod:3 ../cat/virt-filesystems.pod:3 ../cat/virt-ls.pod:3
23 #: ../df/virt-df.pod:3 ../edit/virt-edit.pod:3
24 #: ../examples/guestfs-examples.pod:3 ../examples/guestfs-recipes.pod:14
25 #: ../fish/guestfish.pod:3 ../fish/virt-copy-in.pod:3
26 #: ../fish/virt-copy-out.pod:3 ../fish/virt-tar-in.pod:3
27 #: ../fish/virt-tar-out.pod:3 ../fuse/guestmount.pod:3
28 #: ../inspector/virt-inspector.pod:3 ../java/examples/guestfs-java.pod:3
29 #: ../libguestfs-1.11.20/cat/virt-cat.pod:3
30 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:3
31 #: ../libguestfs-1.11.20/cat/virt-ls.pod:3
32 #: ../libguestfs-1.11.20/df/virt-df.pod:3
33 #: ../libguestfs-1.11.20/edit/virt-edit.pod:3
34 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:3
35 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:14
36 #: ../libguestfs-1.11.20/fish/guestfish.pod:3
37 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:3
38 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:3
39 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:3
40 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:3
41 #: ../libguestfs-1.11.20/fuse/guestmount.pod:3
42 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:3
43 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:3
44 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:3
45 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:3
46 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:3
47 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:3
48 #: ../libguestfs-1.11.20/resize/virt-resize.pod:3
49 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:3
50 #: ../libguestfs-1.11.20/src/guestfs.pod:3
51 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:3
52 #: ../ocaml/examples/guestfs-ocaml.pod:3 ../perl/examples/guestfs-perl.pod:3
53 #: ../python/examples/guestfs-python.pod:3 ../rescue/virt-rescue.pod:3
54 #: ../resize/virt-resize.pod:3 ../ruby/examples/guestfs-ruby.pod:3
55 #: ../src/guestfs.pod:3 ../test-tool/libguestfs-test-tool.pod:3
56 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
57 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31
58 #: ../tools/virt-win-reg.pl:35
59 msgid "NAME"
60 msgstr "名前"
61
62 #. type: textblock
63 #: ../cat/virt-cat.pod:5 ../libguestfs-1.11.20/cat/virt-cat.pod:5
64 msgid "virt-cat - Display files in a virtual machine"
65 msgstr ""
66
67 #. type: =head1
68 #: ../cat/virt-cat.pod:7 ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7
69 #: ../df/virt-df.pod:7 ../edit/virt-edit.pod:7
70 #: ../examples/guestfs-examples.pod:7 ../fish/guestfish.pod:7
71 #: ../fish/virt-copy-in.pod:7 ../fish/virt-copy-out.pod:7
72 #: ../fish/virt-tar-in.pod:7 ../fish/virt-tar-out.pod:7
73 #: ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pod:7
74 #: ../java/examples/guestfs-java.pod:7
75 #: ../libguestfs-1.11.20/cat/virt-cat.pod:7
76 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:7
77 #: ../libguestfs-1.11.20/cat/virt-ls.pod:7
78 #: ../libguestfs-1.11.20/df/virt-df.pod:7
79 #: ../libguestfs-1.11.20/edit/virt-edit.pod:7
80 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:7
81 #: ../libguestfs-1.11.20/fish/guestfish.pod:7
82 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:7
83 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:7
84 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:7
85 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:7
86 #: ../libguestfs-1.11.20/fuse/guestmount.pod:7
87 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:7
88 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:7
89 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:7
90 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:7
91 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:7
92 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:7
93 #: ../libguestfs-1.11.20/resize/virt-resize.pod:7
94 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:7
95 #: ../libguestfs-1.11.20/src/guestfs.pod:7
96 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:7
97 #: ../ocaml/examples/guestfs-ocaml.pod:7 ../perl/examples/guestfs-perl.pod:7
98 #: ../python/examples/guestfs-python.pod:7 ../rescue/virt-rescue.pod:7
99 #: ../resize/virt-resize.pod:7 ../ruby/examples/guestfs-ruby.pod:7
100 #: ../src/guestfs.pod:7 ../test-tool/libguestfs-test-tool.pod:7
101 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
102 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35
103 #: ../tools/virt-win-reg.pl:39
104 msgid "SYNOPSIS"
105 msgstr ""
106
107 #. type: verbatim
108 #: ../cat/virt-cat.pod:9 ../libguestfs-1.11.20/cat/virt-cat.pod:9
109 #, no-wrap
110 msgid ""
111 " virt-cat [--options] -d domname file [file ...]\n"
112 "\n"
113 msgstr ""
114
115 #. type: verbatim
116 #: ../cat/virt-cat.pod:11 ../libguestfs-1.11.20/cat/virt-cat.pod:11
117 #, no-wrap
118 msgid ""
119 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
120 "\n"
121 msgstr ""
122
123 #. type: textblock
124 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
125 #: ../inspector/virt-inspector.pod:13
126 #: ../libguestfs-1.11.20/cat/virt-cat.pod:13
127 #: ../libguestfs-1.11.20/edit/virt-edit.pod:15
128 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:13
129 msgid "Old-style:"
130 msgstr ""
131
132 #. type: verbatim
133 #: ../cat/virt-cat.pod:15 ../libguestfs-1.11.20/cat/virt-cat.pod:15
134 #, no-wrap
135 msgid ""
136 " virt-cat domname file\n"
137 "\n"
138 msgstr ""
139
140 #. type: verbatim
141 #: ../cat/virt-cat.pod:17 ../libguestfs-1.11.20/cat/virt-cat.pod:17
142 #, no-wrap
143 msgid ""
144 " virt-cat disk.img file\n"
145 "\n"
146 msgstr ""
147
148 #. type: =head1
149 #: ../cat/virt-cat.pod:19 ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
150 #: ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
151 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
152 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19
153 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21
154 #: ../fish/virt-tar-out.pod:15 ../fuse/guestmount.pod:20
155 #: ../inspector/virt-inspector.pod:19 ../java/examples/guestfs-java.pod:15
156 #: ../libguestfs-1.11.20/cat/virt-cat.pod:19
157 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:13
158 #: ../libguestfs-1.11.20/cat/virt-ls.pod:19
159 #: ../libguestfs-1.11.20/df/virt-df.pod:21
160 #: ../libguestfs-1.11.20/edit/virt-edit.pod:27
161 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:19
162 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:18
163 #: ../libguestfs-1.11.20/fish/guestfish.pod:30
164 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:19
165 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:13
166 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:21
167 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:15
168 #: ../libguestfs-1.11.20/fuse/guestmount.pod:20
169 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:19
170 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:15
171 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:25
172 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:18
173 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:14
174 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:29
175 #: ../libguestfs-1.11.20/resize/virt-resize.pod:13
176 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:15
177 #: ../libguestfs-1.11.20/src/guestfs.pod:23
178 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:11
179 #: ../ocaml/examples/guestfs-ocaml.pod:25 ../perl/examples/guestfs-perl.pod:18
180 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:29
181 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
182 #: ../src/guestfs.pod:23 ../test-tool/libguestfs-test-tool.pod:11
183 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
184 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
185 #: ../tools/virt-win-reg.pl:63
186 msgid "DESCRIPTION"
187 msgstr ""
188
189 #. type: textblock
190 #: ../cat/virt-cat.pod:21 ../libguestfs-1.11.20/cat/virt-cat.pod:21
191 msgid ""
192 "C<virt-cat> is a command line tool to display the contents of C<file> where "
193 "C<file> exists in the named virtual machine (or disk image)."
194 msgstr ""
195
196 #. type: textblock
197 #: ../cat/virt-cat.pod:24 ../libguestfs-1.11.20/cat/virt-cat.pod:24
198 msgid ""
199 "Multiple filenames can be given, in which case they are concatenated "
200 "together.  Each filename must be a full path, starting at the root directory "
201 "(starting with '/')."
202 msgstr ""
203
204 #. type: textblock
205 #: ../cat/virt-cat.pod:28 ../libguestfs-1.11.20/cat/virt-cat.pod:28
206 msgid ""
207 "C<virt-cat> can be used to quickly view a file.  To edit a file, use C<virt-"
208 "edit>.  For more complex cases you should look at the L<guestfish(1)> tool "
209 "(see L</USING GUESTFISH> below)."
210 msgstr ""
211
212 #. type: =head1
213 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
214 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
215 #: ../fish/guestfish.pod:1007 ../fish/virt-copy-in.pod:29
216 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
217 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
218 #: ../libguestfs-1.11.20/cat/virt-cat.pod:32
219 #: ../libguestfs-1.11.20/cat/virt-ls.pod:35
220 #: ../libguestfs-1.11.20/df/virt-df.pod:43
221 #: ../libguestfs-1.11.20/edit/virt-edit.pod:44
222 #: ../libguestfs-1.11.20/fish/guestfish.pod:41
223 #: ../libguestfs-1.11.20/fish/guestfish.pod:1007
224 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:29
225 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:21
226 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:30
227 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:24
228 #: ../libguestfs-1.11.20/fuse/guestmount.pod:39
229 #: ../libguestfs-1.11.20/resize/virt-resize.pod:27
230 #: ../resize/virt-resize.pod:27 ../tools/virt-tar.pl:50
231 msgid "EXAMPLES"
232 msgstr ""
233
234 #. type: textblock
235 #: ../cat/virt-cat.pod:34 ../libguestfs-1.11.20/cat/virt-cat.pod:34
236 msgid ""
237 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
238 msgstr ""
239
240 #. type: verbatim
241 #: ../cat/virt-cat.pod:37 ../libguestfs-1.11.20/cat/virt-cat.pod:37
242 #, no-wrap
243 msgid ""
244 " virt-cat -d mydomain /etc/fstab\n"
245 "\n"
246 msgstr ""
247
248 #. type: textblock
249 #: ../cat/virt-cat.pod:39 ../libguestfs-1.11.20/cat/virt-cat.pod:39
250 msgid "List syslog messages from a VM disk image file:"
251 msgstr ""
252
253 #. type: verbatim
254 #: ../cat/virt-cat.pod:41 ../libguestfs-1.11.20/cat/virt-cat.pod:41
255 #, no-wrap
256 msgid ""
257 " virt-cat -a disk.img /var/log/messages | tail\n"
258 "\n"
259 msgstr ""
260
261 #. type: textblock
262 #: ../cat/virt-cat.pod:43 ../libguestfs-1.11.20/cat/virt-cat.pod:43
263 msgid "Find out what DHCP IP address a VM acquired:"
264 msgstr ""
265
266 #. type: verbatim
267 #: ../cat/virt-cat.pod:45 ../libguestfs-1.11.20/cat/virt-cat.pod:45
268 #, no-wrap
269 msgid ""
270 " virt-cat -d mydomain /var/log/messages | \\\n"
271 "   grep 'dhclient: bound to' | tail\n"
272 "\n"
273 msgstr ""
274
275 #. type: textblock
276 #: ../cat/virt-cat.pod:48 ../libguestfs-1.11.20/cat/virt-cat.pod:48
277 msgid "Find out what packages were recently installed:"
278 msgstr ""
279
280 #. type: verbatim
281 #: ../cat/virt-cat.pod:50 ../libguestfs-1.11.20/cat/virt-cat.pod:50
282 #, no-wrap
283 msgid ""
284 " virt-cat -d mydomain /var/log/yum.log | tail\n"
285 "\n"
286 msgstr ""
287
288 #. type: textblock
289 #: ../cat/virt-cat.pod:52 ../libguestfs-1.11.20/cat/virt-cat.pod:52
290 msgid "Find out who is logged on inside a virtual machine:"
291 msgstr ""
292
293 #. type: verbatim
294 #: ../cat/virt-cat.pod:54 ../libguestfs-1.11.20/cat/virt-cat.pod:54
295 #, no-wrap
296 msgid ""
297 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
298 " who /tmp/utmp\n"
299 "\n"
300 msgstr ""
301
302 #. type: textblock
303 #: ../cat/virt-cat.pod:57 ../libguestfs-1.11.20/cat/virt-cat.pod:57
304 msgid "or who was logged on:"
305 msgstr ""
306
307 #. type: verbatim
308 #: ../cat/virt-cat.pod:59 ../libguestfs-1.11.20/cat/virt-cat.pod:59
309 #, no-wrap
310 msgid ""
311 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
312 " last -f /tmp/wtmp\n"
313 "\n"
314 msgstr ""
315
316 #. type: =head1
317 #: ../cat/virt-cat.pod:62 ../cat/virt-filesystems.pod:91
318 #: ../cat/virt-ls.pod:261 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
319 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
320 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
321 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:83
322 #: ../inspector/virt-inspector.pod:55
323 #: ../libguestfs-1.11.20/cat/virt-cat.pod:62
324 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:91
325 #: ../libguestfs-1.11.20/cat/virt-ls.pod:261
326 #: ../libguestfs-1.11.20/df/virt-df.pod:59
327 #: ../libguestfs-1.11.20/edit/virt-edit.pod:62
328 #: ../libguestfs-1.11.20/fish/guestfish.pod:148
329 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:45
330 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:34
331 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:42
332 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:36
333 #: ../libguestfs-1.11.20/fuse/guestmount.pod:83
334 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:55
335 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:84
336 #: ../libguestfs-1.11.20/resize/virt-resize.pod:241
337 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:37
338 #: ../rescue/virt-rescue.pod:84 ../resize/virt-resize.pod:241
339 #: ../test-tool/libguestfs-test-tool.pod:37
340 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
341 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
342 #: ../tools/virt-win-reg.pl:96
343 msgid "OPTIONS"
344 msgstr ""
345
346 #. type: =item
347 #: ../cat/virt-cat.pod:66 ../cat/virt-filesystems.pod:95
348 #: ../cat/virt-ls.pod:265 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
349 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:151
350 #: ../inspector/virt-inspector.pod:59
351 #: ../libguestfs-1.11.20/cat/virt-cat.pod:66
352 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:95
353 #: ../libguestfs-1.11.20/cat/virt-ls.pod:265
354 #: ../libguestfs-1.11.20/df/virt-df.pod:63
355 #: ../libguestfs-1.11.20/edit/virt-edit.pod:66
356 #: ../libguestfs-1.11.20/fish/guestfish.pod:152
357 #: ../libguestfs-1.11.20/fuse/guestmount.pod:151
358 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:59
359 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:88
360 #: ../libguestfs-1.11.20/resize/virt-resize.pod:245
361 #: ../rescue/virt-rescue.pod:88 ../resize/virt-resize.pod:245
362 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
363 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
364 #: ../tools/virt-win-reg.pl:104
365 msgid "B<--help>"
366 msgstr ""
367
368 #. type: textblock
369 #: ../cat/virt-cat.pod:68 ../cat/virt-filesystems.pod:97
370 #: ../cat/virt-ls.pod:267 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
371 #: ../inspector/virt-inspector.pod:61
372 #: ../libguestfs-1.11.20/cat/virt-cat.pod:68
373 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:97
374 #: ../libguestfs-1.11.20/cat/virt-ls.pod:267
375 #: ../libguestfs-1.11.20/df/virt-df.pod:65
376 #: ../libguestfs-1.11.20/edit/virt-edit.pod:68
377 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:61
378 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:90
379 #: ../rescue/virt-rescue.pod:90 ../tools/virt-list-filesystems.pl:63
380 #: ../tools/virt-list-partitions.pl:64 ../tools/virt-make-fs.pl:163
381 #: ../tools/virt-tar.pl:113 ../tools/virt-win-reg.pl:106
382 msgid "Display brief help."
383 msgstr ""
384
385 #. type: =item
386 #: ../cat/virt-cat.pod:70 ../cat/virt-filesystems.pod:99
387 #: ../cat/virt-ls.pod:269 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
388 #: ../inspector/virt-inspector.pod:63
389 #: ../libguestfs-1.11.20/cat/virt-cat.pod:70
390 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:99
391 #: ../libguestfs-1.11.20/cat/virt-ls.pod:269
392 #: ../libguestfs-1.11.20/df/virt-df.pod:67
393 #: ../libguestfs-1.11.20/edit/virt-edit.pod:70
394 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:63
395 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:92
396 #: ../rescue/virt-rescue.pod:92
397 msgid "B<-a> file"
398 msgstr ""
399
400 #. type: =item
401 #: ../cat/virt-cat.pod:72 ../cat/virt-filesystems.pod:101
402 #: ../cat/virt-ls.pod:271 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
403 #: ../inspector/virt-inspector.pod:65
404 #: ../libguestfs-1.11.20/cat/virt-cat.pod:72
405 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:101
406 #: ../libguestfs-1.11.20/cat/virt-ls.pod:271
407 #: ../libguestfs-1.11.20/df/virt-df.pod:69
408 #: ../libguestfs-1.11.20/edit/virt-edit.pod:72
409 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:65
410 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:94
411 #: ../rescue/virt-rescue.pod:94
412 msgid "B<--add> file"
413 msgstr ""
414
415 #. type: textblock
416 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
417 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
418 #: ../inspector/virt-inspector.pod:67
419 #: ../libguestfs-1.11.20/cat/virt-cat.pod:74
420 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:103
421 #: ../libguestfs-1.11.20/cat/virt-ls.pod:273
422 #: ../libguestfs-1.11.20/df/virt-df.pod:71
423 #: ../libguestfs-1.11.20/edit/virt-edit.pod:74
424 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:67
425 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:96
426 #: ../rescue/virt-rescue.pod:96
427 msgid ""
428 "Add I<file> which should be a disk image from a virtual machine.  If the "
429 "virtual machine has multiple block devices, you must supply all of them with "
430 "separate I<-a> options."
431 msgstr ""
432
433 #. type: textblock
434 #: ../cat/virt-cat.pod:78 ../cat/virt-filesystems.pod:107
435 #: ../cat/virt-ls.pod:277 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
436 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:93
437 #: ../inspector/virt-inspector.pod:71
438 #: ../libguestfs-1.11.20/cat/virt-cat.pod:78
439 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:107
440 #: ../libguestfs-1.11.20/cat/virt-ls.pod:277
441 #: ../libguestfs-1.11.20/df/virt-df.pod:75
442 #: ../libguestfs-1.11.20/edit/virt-edit.pod:78
443 #: ../libguestfs-1.11.20/fish/guestfish.pod:174
444 #: ../libguestfs-1.11.20/fuse/guestmount.pod:93
445 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:71
446 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:100
447 #: ../rescue/virt-rescue.pod:100
448 msgid ""
449 "The format of the disk image is auto-detected.  To override this and force a "
450 "particular format use the I<--format=..> option."
451 msgstr ""
452
453 #. type: =item
454 #: ../cat/virt-cat.pod:81 ../cat/virt-filesystems.pod:125
455 #: ../cat/virt-ls.pod:291 ../df/virt-df.pod:78
456 #: ../libguestfs-1.11.20/cat/virt-cat.pod:81
457 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:125
458 #: ../libguestfs-1.11.20/cat/virt-ls.pod:291
459 #: ../libguestfs-1.11.20/df/virt-df.pod:78
460 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:107
461 #: ../rescue/virt-rescue.pod:107
462 msgid "B<-c> URI"
463 msgstr ""
464
465 #. type: =item
466 #: ../cat/virt-cat.pod:83 ../cat/virt-filesystems.pod:127
467 #: ../cat/virt-ls.pod:293 ../df/virt-df.pod:80
468 #: ../libguestfs-1.11.20/cat/virt-cat.pod:83
469 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:127
470 #: ../libguestfs-1.11.20/cat/virt-ls.pod:293
471 #: ../libguestfs-1.11.20/df/virt-df.pod:80
472 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:109
473 #: ../rescue/virt-rescue.pod:109
474 msgid "B<--connect> URI"
475 msgstr ""
476
477 #. type: textblock
478 #: ../cat/virt-cat.pod:85 ../cat/virt-filesystems.pod:129
479 #: ../cat/virt-ls.pod:295 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
480 #: ../inspector/virt-inspector.pod:78
481 #: ../libguestfs-1.11.20/cat/virt-cat.pod:85
482 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:129
483 #: ../libguestfs-1.11.20/cat/virt-ls.pod:295
484 #: ../libguestfs-1.11.20/df/virt-df.pod:82
485 #: ../libguestfs-1.11.20/edit/virt-edit.pod:99
486 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:78
487 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:111
488 #: ../rescue/virt-rescue.pod:111 ../tools/virt-list-filesystems.pl:81
489 #: ../tools/virt-list-partitions.pl:82 ../tools/virt-tar.pl:131
490 #: ../tools/virt-win-reg.pl:132
491 msgid ""
492 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
493 "to the default libvirt hypervisor."
494 msgstr ""
495
496 #. type: textblock
497 #: ../cat/virt-cat.pod:88 ../cat/virt-filesystems.pod:132
498 #: ../cat/virt-ls.pod:298 ../df/virt-df.pod:85
499 #: ../libguestfs-1.11.20/cat/virt-cat.pod:88
500 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:132
501 #: ../libguestfs-1.11.20/cat/virt-ls.pod:298
502 #: ../libguestfs-1.11.20/df/virt-df.pod:85
503 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:114
504 #: ../rescue/virt-rescue.pod:114
505 msgid ""
506 "If you specify guest block devices directly (I<-a>), then libvirt is not "
507 "used at all."
508 msgstr ""
509
510 #. type: =item
511 #: ../cat/virt-cat.pod:91 ../cat/virt-filesystems.pod:141
512 #: ../cat/virt-ls.pod:307 ../df/virt-df.pod:88 ../edit/virt-edit.pod:105
513 #: ../inspector/virt-inspector.pod:85
514 #: ../libguestfs-1.11.20/cat/virt-cat.pod:91
515 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:141
516 #: ../libguestfs-1.11.20/cat/virt-ls.pod:307
517 #: ../libguestfs-1.11.20/df/virt-df.pod:88
518 #: ../libguestfs-1.11.20/edit/virt-edit.pod:105
519 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:85
520 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:117
521 #: ../rescue/virt-rescue.pod:117
522 msgid "B<-d> guest"
523 msgstr ""
524
525 #. type: =item
526 #: ../cat/virt-cat.pod:93 ../cat/virt-filesystems.pod:143
527 #: ../cat/virt-ls.pod:309 ../df/virt-df.pod:90 ../edit/virt-edit.pod:107
528 #: ../inspector/virt-inspector.pod:87
529 #: ../libguestfs-1.11.20/cat/virt-cat.pod:93
530 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:143
531 #: ../libguestfs-1.11.20/cat/virt-ls.pod:309
532 #: ../libguestfs-1.11.20/df/virt-df.pod:90
533 #: ../libguestfs-1.11.20/edit/virt-edit.pod:107
534 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:87
535 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:119
536 #: ../rescue/virt-rescue.pod:119
537 msgid "B<--domain> guest"
538 msgstr ""
539
540 #. type: textblock
541 #: ../cat/virt-cat.pod:95 ../cat/virt-filesystems.pod:145
542 #: ../cat/virt-ls.pod:311 ../df/virt-df.pod:92 ../edit/virt-edit.pod:109
543 #: ../inspector/virt-inspector.pod:89
544 #: ../libguestfs-1.11.20/cat/virt-cat.pod:95
545 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:145
546 #: ../libguestfs-1.11.20/cat/virt-ls.pod:311
547 #: ../libguestfs-1.11.20/df/virt-df.pod:92
548 #: ../libguestfs-1.11.20/edit/virt-edit.pod:109
549 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:89
550 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:121
551 #: ../rescue/virt-rescue.pod:121
552 msgid ""
553 "Add all the disks from the named libvirt guest.  Domain UUIDs can be used "
554 "instead of names."
555 msgstr ""
556
557 #. type: =item
558 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
559 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
560 #: ../fuse/guestmount.pod:126 ../inspector/virt-inspector.pod:92
561 #: ../libguestfs-1.11.20/cat/virt-cat.pod:98
562 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:148
563 #: ../libguestfs-1.11.20/cat/virt-ls.pod:314
564 #: ../libguestfs-1.11.20/edit/virt-edit.pod:112
565 #: ../libguestfs-1.11.20/fish/guestfish.pod:217
566 #: ../libguestfs-1.11.20/fuse/guestmount.pod:126
567 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:92
568 msgid "B<--echo-keys>"
569 msgstr ""
570
571 #. type: textblock
572 #: ../cat/virt-cat.pod:100 ../libguestfs-1.11.20/cat/virt-cat.pod:100
573 msgid ""
574 "When prompting for keys and passphrases, virt-cat normally turns echoing off "
575 "so you cannot see what you are typing.  If you are not worried about Tempest "
576 "attacks and there is no one else in the room you can specify this flag to "
577 "see what you are typing."
578 msgstr ""
579
580 #. type: =item
581 #: ../cat/virt-cat.pod:105 ../cat/virt-filesystems.pod:170
582 #: ../cat/virt-ls.pod:328 ../df/virt-df.pod:95 ../fish/guestfish.pod:233
583 #: ../fuse/guestmount.pod:133 ../inspector/virt-inspector.pod:99
584 #: ../libguestfs-1.11.20/cat/virt-cat.pod:105
585 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:170
586 #: ../libguestfs-1.11.20/cat/virt-ls.pod:328
587 #: ../libguestfs-1.11.20/df/virt-df.pod:95
588 #: ../libguestfs-1.11.20/fish/guestfish.pod:233
589 #: ../libguestfs-1.11.20/fuse/guestmount.pod:133
590 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:99
591 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:124
592 #: ../rescue/virt-rescue.pod:124
593 msgid "B<--format=raw|qcow2|..>"
594 msgstr ""
595
596 #. type: =item
597 #: ../cat/virt-cat.pod:107 ../cat/virt-filesystems.pod:172
598 #: ../cat/virt-ls.pod:330 ../df/virt-df.pod:97 ../edit/virt-edit.pod:134
599 #: ../fish/guestfish.pod:235 ../fuse/guestmount.pod:135
600 #: ../inspector/virt-inspector.pod:101
601 #: ../libguestfs-1.11.20/cat/virt-cat.pod:107
602 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:172
603 #: ../libguestfs-1.11.20/cat/virt-ls.pod:330
604 #: ../libguestfs-1.11.20/df/virt-df.pod:97
605 #: ../libguestfs-1.11.20/edit/virt-edit.pod:134
606 #: ../libguestfs-1.11.20/fish/guestfish.pod:235
607 #: ../libguestfs-1.11.20/fuse/guestmount.pod:135
608 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:101
609 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:126
610 #: ../rescue/virt-rescue.pod:126
611 msgid "B<--format>"
612 msgstr ""
613
614 #. type: textblock
615 #: ../cat/virt-cat.pod:109 ../cat/virt-filesystems.pod:174
616 #: ../cat/virt-ls.pod:332 ../df/virt-df.pod:99 ../edit/virt-edit.pod:136
617 #: ../fish/guestfish.pod:237 ../fuse/guestmount.pod:137
618 #: ../libguestfs-1.11.20/cat/virt-cat.pod:109
619 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:174
620 #: ../libguestfs-1.11.20/cat/virt-ls.pod:332
621 #: ../libguestfs-1.11.20/df/virt-df.pod:99
622 #: ../libguestfs-1.11.20/edit/virt-edit.pod:136
623 #: ../libguestfs-1.11.20/fish/guestfish.pod:237
624 #: ../libguestfs-1.11.20/fuse/guestmount.pod:137
625 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:128
626 #: ../rescue/virt-rescue.pod:128
627 msgid ""
628 "The default for the I<-a> option is to auto-detect the format of the disk "
629 "image.  Using this forces the disk format for I<-a> options which follow on "
630 "the command line.  Using I<--format> with no argument switches back to auto-"
631 "detection for subsequent I<-a> options."
632 msgstr ""
633
634 #. type: textblock
635 #: ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179
636 #: ../cat/virt-ls.pod:337 ../df/virt-df.pod:104 ../edit/virt-edit.pod:141
637 #: ../fish/guestfish.pod:242 ../fish/guestfish.pod:673
638 #: ../inspector/virt-inspector.pod:335
639 #: ../libguestfs-1.11.20/cat/virt-cat.pod:114
640 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:179
641 #: ../libguestfs-1.11.20/cat/virt-ls.pod:337
642 #: ../libguestfs-1.11.20/df/virt-df.pod:104
643 #: ../libguestfs-1.11.20/edit/virt-edit.pod:141
644 #: ../libguestfs-1.11.20/fish/guestfish.pod:242
645 #: ../libguestfs-1.11.20/fish/guestfish.pod:673
646 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:335
647 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:133
648 #: ../libguestfs-1.11.20/src/guestfs.pod:2652 ../rescue/virt-rescue.pod:133
649 #: ../src/guestfs.pod:2652
650 msgid "For example:"
651 msgstr ""
652
653 #. type: verbatim
654 #: ../cat/virt-cat.pod:116 ../libguestfs-1.11.20/cat/virt-cat.pod:116
655 #, no-wrap
656 msgid ""
657 " virt-cat --format=raw -a disk.img file\n"
658 "\n"
659 msgstr ""
660
661 #. type: textblock
662 #: ../cat/virt-cat.pod:118 ../cat/virt-filesystems.pod:183
663 #: ../cat/virt-ls.pod:341 ../df/virt-df.pod:108 ../edit/virt-edit.pod:145
664 #: ../fish/guestfish.pod:246 ../libguestfs-1.11.20/cat/virt-cat.pod:118
665 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:183
666 #: ../libguestfs-1.11.20/cat/virt-ls.pod:341
667 #: ../libguestfs-1.11.20/df/virt-df.pod:108
668 #: ../libguestfs-1.11.20/edit/virt-edit.pod:145
669 #: ../libguestfs-1.11.20/fish/guestfish.pod:246
670 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:137
671 #: ../rescue/virt-rescue.pod:137
672 msgid "forces raw format (no auto-detection) for C<disk.img>."
673 msgstr ""
674
675 #. type: verbatim
676 #: ../cat/virt-cat.pod:120 ../libguestfs-1.11.20/cat/virt-cat.pod:120
677 #, no-wrap
678 msgid ""
679 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
680 "\n"
681 msgstr ""
682
683 #. type: textblock
684 #: ../cat/virt-cat.pod:122 ../cat/virt-filesystems.pod:187
685 #: ../cat/virt-ls.pod:345 ../df/virt-df.pod:112 ../edit/virt-edit.pod:149
686 #: ../fish/guestfish.pod:250 ../libguestfs-1.11.20/cat/virt-cat.pod:122
687 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:187
688 #: ../libguestfs-1.11.20/cat/virt-ls.pod:345
689 #: ../libguestfs-1.11.20/df/virt-df.pod:112
690 #: ../libguestfs-1.11.20/edit/virt-edit.pod:149
691 #: ../libguestfs-1.11.20/fish/guestfish.pod:250
692 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:141
693 #: ../rescue/virt-rescue.pod:141
694 msgid ""
695 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
696 "detection for C<another.img>."
697 msgstr ""
698
699 #. type: textblock
700 #: ../cat/virt-cat.pod:125 ../cat/virt-filesystems.pod:190
701 #: ../cat/virt-ls.pod:348 ../df/virt-df.pod:115 ../edit/virt-edit.pod:152
702 #: ../libguestfs-1.11.20/cat/virt-cat.pod:125
703 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:190
704 #: ../libguestfs-1.11.20/cat/virt-ls.pod:348
705 #: ../libguestfs-1.11.20/df/virt-df.pod:115
706 #: ../libguestfs-1.11.20/edit/virt-edit.pod:152
707 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:144
708 #: ../rescue/virt-rescue.pod:144
709 msgid ""
710 "If you have untrusted raw-format guest disk images, you should use this "
711 "option to specify the disk format.  This avoids a possible security problem "
712 "with malicious guests (CVE-2010-3851)."
713 msgstr ""
714
715 #. type: =item
716 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
717 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
718 #: ../fuse/guestmount.pod:163 ../inspector/virt-inspector.pod:114
719 #: ../libguestfs-1.11.20/cat/virt-cat.pod:129
720 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:200
721 #: ../libguestfs-1.11.20/cat/virt-ls.pod:361
722 #: ../libguestfs-1.11.20/edit/virt-edit.pod:156
723 #: ../libguestfs-1.11.20/fish/guestfish.pod:289
724 #: ../libguestfs-1.11.20/fuse/guestmount.pod:163
725 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:114
726 msgid "B<--keys-from-stdin>"
727 msgstr ""
728
729 #. type: textblock
730 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
731 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
732 #: ../fuse/guestmount.pod:165 ../inspector/virt-inspector.pod:116
733 #: ../libguestfs-1.11.20/cat/virt-cat.pod:131
734 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:202
735 #: ../libguestfs-1.11.20/cat/virt-ls.pod:363
736 #: ../libguestfs-1.11.20/edit/virt-edit.pod:158
737 #: ../libguestfs-1.11.20/fish/guestfish.pod:291
738 #: ../libguestfs-1.11.20/fuse/guestmount.pod:165
739 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:116
740 msgid ""
741 "Read key or passphrase parameters from stdin.  The default is to try to read "
742 "passphrases from the user by opening C</dev/tty>."
743 msgstr ""
744
745 #. type: =item
746 #: ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261
747 #: ../cat/virt-ls.pod:425 ../df/virt-df.pod:167 ../edit/virt-edit.pod:161
748 #: ../fish/guestfish.pod:390 ../fuse/guestmount.pod:257
749 #: ../inspector/virt-inspector.pod:119
750 #: ../libguestfs-1.11.20/cat/virt-cat.pod:134
751 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:261
752 #: ../libguestfs-1.11.20/cat/virt-ls.pod:425
753 #: ../libguestfs-1.11.20/df/virt-df.pod:167
754 #: ../libguestfs-1.11.20/edit/virt-edit.pod:161
755 #: ../libguestfs-1.11.20/fish/guestfish.pod:390
756 #: ../libguestfs-1.11.20/fuse/guestmount.pod:257
757 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:119
758 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:178
759 #: ../rescue/virt-rescue.pod:178
760 msgid "B<-v>"
761 msgstr ""
762
763 #. type: =item
764 #: ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263
765 #: ../cat/virt-ls.pod:427 ../df/virt-df.pod:169 ../edit/virt-edit.pod:163
766 #: ../fish/guestfish.pod:392 ../fuse/guestmount.pod:259
767 #: ../inspector/virt-inspector.pod:121
768 #: ../libguestfs-1.11.20/cat/virt-cat.pod:136
769 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:263
770 #: ../libguestfs-1.11.20/cat/virt-ls.pod:427
771 #: ../libguestfs-1.11.20/df/virt-df.pod:169
772 #: ../libguestfs-1.11.20/edit/virt-edit.pod:163
773 #: ../libguestfs-1.11.20/fish/guestfish.pod:392
774 #: ../libguestfs-1.11.20/fuse/guestmount.pod:259
775 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:121
776 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:180
777 #: ../rescue/virt-rescue.pod:180
778 msgid "B<--verbose>"
779 msgstr ""
780
781 #. type: textblock
782 #: ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265
783 #: ../cat/virt-ls.pod:429 ../df/virt-df.pod:171 ../edit/virt-edit.pod:165
784 #: ../inspector/virt-inspector.pod:123
785 #: ../libguestfs-1.11.20/cat/virt-cat.pod:138
786 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:265
787 #: ../libguestfs-1.11.20/cat/virt-ls.pod:429
788 #: ../libguestfs-1.11.20/df/virt-df.pod:171
789 #: ../libguestfs-1.11.20/edit/virt-edit.pod:165
790 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:123
791 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:182
792 #: ../rescue/virt-rescue.pod:182
793 msgid "Enable verbose messages for debugging."
794 msgstr ""
795
796 #. type: =item
797 #: ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267
798 #: ../cat/virt-ls.pod:431 ../df/virt-df.pod:173 ../edit/virt-edit.pod:167
799 #: ../fish/guestfish.pod:397 ../fuse/guestmount.pod:263
800 #: ../inspector/virt-inspector.pod:125
801 #: ../libguestfs-1.11.20/cat/virt-cat.pod:140
802 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:267
803 #: ../libguestfs-1.11.20/cat/virt-ls.pod:431
804 #: ../libguestfs-1.11.20/df/virt-df.pod:173
805 #: ../libguestfs-1.11.20/edit/virt-edit.pod:167
806 #: ../libguestfs-1.11.20/fish/guestfish.pod:397
807 #: ../libguestfs-1.11.20/fuse/guestmount.pod:263
808 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:125
809 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:184
810 #: ../libguestfs-1.11.20/resize/virt-resize.pod:478
811 #: ../rescue/virt-rescue.pod:184 ../resize/virt-resize.pod:478
812 msgid "B<-V>"
813 msgstr ""
814
815 #. type: =item
816 #: ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269
817 #: ../cat/virt-ls.pod:433 ../df/virt-df.pod:175 ../edit/virt-edit.pod:169
818 #: ../fish/guestfish.pod:399 ../fuse/guestmount.pod:265
819 #: ../inspector/virt-inspector.pod:127
820 #: ../libguestfs-1.11.20/cat/virt-cat.pod:142
821 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:269
822 #: ../libguestfs-1.11.20/cat/virt-ls.pod:433
823 #: ../libguestfs-1.11.20/df/virt-df.pod:175
824 #: ../libguestfs-1.11.20/edit/virt-edit.pod:169
825 #: ../libguestfs-1.11.20/fish/guestfish.pod:399
826 #: ../libguestfs-1.11.20/fuse/guestmount.pod:265
827 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:127
828 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:186
829 #: ../libguestfs-1.11.20/resize/virt-resize.pod:480
830 #: ../rescue/virt-rescue.pod:186 ../resize/virt-resize.pod:480
831 #: ../tools/virt-list-filesystems.pl:69 ../tools/virt-list-partitions.pl:70
832 #: ../tools/virt-make-fs.pl:169 ../tools/virt-tar.pl:119
833 #: ../tools/virt-win-reg.pl:112
834 msgid "B<--version>"
835 msgstr ""
836
837 #. type: textblock
838 #: ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271
839 #: ../cat/virt-ls.pod:435 ../df/virt-df.pod:177 ../edit/virt-edit.pod:171
840 #: ../inspector/virt-inspector.pod:129
841 #: ../libguestfs-1.11.20/cat/virt-cat.pod:144
842 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:271
843 #: ../libguestfs-1.11.20/cat/virt-ls.pod:435
844 #: ../libguestfs-1.11.20/df/virt-df.pod:177
845 #: ../libguestfs-1.11.20/edit/virt-edit.pod:171
846 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:129
847 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:188
848 #: ../libguestfs-1.11.20/resize/virt-resize.pod:482
849 #: ../rescue/virt-rescue.pod:188 ../resize/virt-resize.pod:482
850 #: ../tools/virt-list-filesystems.pl:71 ../tools/virt-list-partitions.pl:72
851 #: ../tools/virt-make-fs.pl:171 ../tools/virt-tar.pl:121
852 #: ../tools/virt-win-reg.pl:114
853 msgid "Display version number and exit."
854 msgstr ""
855
856 #. type: =item
857 #: ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281
858 #: ../cat/virt-ls.pod:437 ../df/virt-df.pod:179 ../edit/virt-edit.pod:173
859 #: ../fish/guestfish.pod:412 ../fuse/guestmount.pod:278
860 #: ../inspector/virt-inspector.pod:131
861 #: ../libguestfs-1.11.20/cat/virt-cat.pod:146
862 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:281
863 #: ../libguestfs-1.11.20/cat/virt-ls.pod:437
864 #: ../libguestfs-1.11.20/df/virt-df.pod:179
865 #: ../libguestfs-1.11.20/edit/virt-edit.pod:173
866 #: ../libguestfs-1.11.20/fish/guestfish.pod:412
867 #: ../libguestfs-1.11.20/fuse/guestmount.pod:278
868 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:131
869 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:199
870 #: ../rescue/virt-rescue.pod:199 ../tools/virt-tar.pl:158
871 msgid "B<-x>"
872 msgstr ""
873
874 #. type: textblock
875 #: ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283
876 #: ../cat/virt-ls.pod:439 ../df/virt-df.pod:181 ../edit/virt-edit.pod:175
877 #: ../inspector/virt-inspector.pod:133
878 #: ../libguestfs-1.11.20/cat/virt-cat.pod:148
879 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:283
880 #: ../libguestfs-1.11.20/cat/virt-ls.pod:439
881 #: ../libguestfs-1.11.20/df/virt-df.pod:181
882 #: ../libguestfs-1.11.20/edit/virt-edit.pod:175
883 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:133
884 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:201
885 #: ../rescue/virt-rescue.pod:201
886 msgid "Enable tracing of libguestfs API calls."
887 msgstr ""
888
889 #. type: =head1
890 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
891 #: ../inspector/virt-inspector.pod:137
892 #: ../libguestfs-1.11.20/cat/virt-cat.pod:152
893 #: ../libguestfs-1.11.20/cat/virt-ls.pod:443
894 #: ../libguestfs-1.11.20/edit/virt-edit.pod:179
895 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:137
896 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:205
897 #: ../rescue/virt-rescue.pod:205
898 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
899 msgstr ""
900
901 #. type: textblock
902 #: ../cat/virt-cat.pod:154 ../libguestfs-1.11.20/cat/virt-cat.pod:154
903 msgid "Previous versions of virt-cat allowed you to write either:"
904 msgstr ""
905
906 #. type: verbatim
907 #: ../cat/virt-cat.pod:156 ../libguestfs-1.11.20/cat/virt-cat.pod:156
908 #, no-wrap
909 msgid ""
910 " virt-cat disk.img [disk.img ...] file\n"
911 "\n"
912 msgstr ""
913
914 #. type: textblock
915 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
916 #: ../inspector/virt-inspector.pod:143
917 #: ../libguestfs-1.11.20/cat/virt-cat.pod:158
918 #: ../libguestfs-1.11.20/cat/virt-ls.pod:449
919 #: ../libguestfs-1.11.20/edit/virt-edit.pod:185
920 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:143
921 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:211
922 #: ../rescue/virt-rescue.pod:211
923 msgid "or"
924 msgstr ""
925
926 #. type: verbatim
927 #: ../cat/virt-cat.pod:160 ../libguestfs-1.11.20/cat/virt-cat.pod:160
928 #, no-wrap
929 msgid ""
930 " virt-cat guestname file\n"
931 "\n"
932 msgstr ""
933
934 #. type: textblock
935 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
936 #: ../inspector/virt-inspector.pod:147
937 #: ../libguestfs-1.11.20/cat/virt-cat.pod:162
938 #: ../libguestfs-1.11.20/cat/virt-ls.pod:453
939 #: ../libguestfs-1.11.20/edit/virt-edit.pod:189
940 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:147
941 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:215
942 #: ../rescue/virt-rescue.pod:215
943 msgid ""
944 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
945 "the confusing case where a disk image might have the same name as a guest."
946 msgstr ""
947
948 #. type: textblock
949 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
950 #: ../inspector/virt-inspector.pod:151
951 #: ../libguestfs-1.11.20/cat/virt-cat.pod:166
952 #: ../libguestfs-1.11.20/cat/virt-ls.pod:457
953 #: ../libguestfs-1.11.20/edit/virt-edit.pod:193
954 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:151
955 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:219
956 #: ../rescue/virt-rescue.pod:219
957 msgid "For compatibility the old style is still supported."
958 msgstr ""
959
960 #. type: =head1
961 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:297
962 #: ../libguestfs-1.11.20/cat/virt-cat.pod:168
963 #: ../libguestfs-1.11.20/edit/virt-edit.pod:297
964 msgid "USING GUESTFISH"
965 msgstr ""
966
967 #. type: textblock
968 #: ../cat/virt-cat.pod:170 ../libguestfs-1.11.20/cat/virt-cat.pod:170
969 msgid ""
970 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
971 "C<virt-cat> doesn't work."
972 msgstr ""
973
974 #. type: textblock
975 #: ../cat/virt-cat.pod:173 ../libguestfs-1.11.20/cat/virt-cat.pod:173
976 msgid "Using C<virt-cat> is approximately equivalent to doing:"
977 msgstr ""
978
979 #. type: verbatim
980 #: ../cat/virt-cat.pod:175 ../libguestfs-1.11.20/cat/virt-cat.pod:175
981 #, no-wrap
982 msgid ""
983 " guestfish --ro -i -d domname download file -\n"
984 "\n"
985 msgstr ""
986
987 #. type: textblock
988 #: ../cat/virt-cat.pod:177 ../libguestfs-1.11.20/cat/virt-cat.pod:177
989 msgid ""
990 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
991 "path to the file.  Note the final C<-> (meaning \"output to stdout\")."
992 msgstr ""
993
994 #. type: textblock
995 #: ../cat/virt-cat.pod:181 ../libguestfs-1.11.20/cat/virt-cat.pod:181
996 msgid ""
997 "The command above uses libguestfs's guest inspection feature and so does not "
998 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
999 "disk images that don't contain guests.  To display a file from a disk image "
1000 "directly, use:"
1001 msgstr ""
1002
1003 #. type: verbatim
1004 #: ../cat/virt-cat.pod:186 ../libguestfs-1.11.20/cat/virt-cat.pod:186
1005 #, no-wrap
1006 msgid ""
1007 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
1008 "\n"
1009 msgstr ""
1010
1011 #. type: textblock
1012 #: ../cat/virt-cat.pod:188 ../libguestfs-1.11.20/cat/virt-cat.pod:188
1013 msgid ""
1014 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
1015 "the disk image to edit, and C<file> is the full path to the file."
1016 msgstr ""
1017
1018 #. type: =head1
1019 #: ../cat/virt-cat.pod:192 ../cat/virt-filesystems.pod:365
1020 #: ../cat/virt-ls.pod:483 ../df/virt-df.pod:209 ../edit/virt-edit.pod:342
1021 #: ../inspector/virt-inspector.pod:349
1022 #: ../libguestfs-1.11.20/cat/virt-cat.pod:192
1023 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:365
1024 #: ../libguestfs-1.11.20/cat/virt-ls.pod:483
1025 #: ../libguestfs-1.11.20/df/virt-df.pod:209
1026 #: ../libguestfs-1.11.20/edit/virt-edit.pod:342
1027 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:349
1028 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:262
1029 #: ../libguestfs-1.11.20/resize/virt-resize.pod:543
1030 #: ../rescue/virt-rescue.pod:262 ../resize/virt-resize.pod:543
1031 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
1032 #: ../tools/virt-make-fs.pl:532 ../tools/virt-tar.pl:289
1033 #: ../tools/virt-win-reg.pl:733
1034 msgid "SHELL QUOTING"
1035 msgstr ""
1036
1037 #. type: textblock
1038 #: ../cat/virt-cat.pod:194 ../cat/virt-filesystems.pod:367
1039 #: ../cat/virt-ls.pod:485 ../df/virt-df.pod:211 ../edit/virt-edit.pod:344
1040 #: ../inspector/virt-inspector.pod:351
1041 #: ../libguestfs-1.11.20/cat/virt-cat.pod:194
1042 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:367
1043 #: ../libguestfs-1.11.20/cat/virt-ls.pod:485
1044 #: ../libguestfs-1.11.20/df/virt-df.pod:211
1045 #: ../libguestfs-1.11.20/edit/virt-edit.pod:344
1046 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:351
1047 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:264
1048 #: ../libguestfs-1.11.20/resize/virt-resize.pod:545
1049 #: ../rescue/virt-rescue.pod:264 ../resize/virt-resize.pod:545
1050 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
1051 #: ../tools/virt-make-fs.pl:534 ../tools/virt-tar.pl:291
1052 #: ../tools/virt-win-reg.pl:741
1053 msgid ""
1054 "Libvirt guest names can contain arbitrary characters, some of which have "
1055 "meaning to the shell such as C<#> and space.  You may need to quote or "
1056 "escape these characters on the command line.  See the shell manual page L<sh"
1057 "(1)> for details."
1058 msgstr ""
1059
1060 #. type: =head1
1061 #: ../cat/virt-cat.pod:199 ../cat/virt-filesystems.pod:372
1062 #: ../cat/virt-ls.pod:490 ../df/virt-df.pod:216 ../edit/virt-edit.pod:349
1063 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
1064 #: ../fish/guestfish.pod:1214 ../fish/virt-copy-in.pod:50
1065 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47
1066 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:303
1067 #: ../inspector/virt-inspector.pod:372 ../java/examples/guestfs-java.pod:45
1068 #: ../libguestfs-1.11.20/cat/virt-cat.pod:199
1069 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:372
1070 #: ../libguestfs-1.11.20/cat/virt-ls.pod:490
1071 #: ../libguestfs-1.11.20/df/virt-df.pod:216
1072 #: ../libguestfs-1.11.20/edit/virt-edit.pod:349
1073 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:33
1074 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:384
1075 #: ../libguestfs-1.11.20/fish/guestfish.pod:1214
1076 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:50
1077 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:39
1078 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:47
1079 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:41
1080 #: ../libguestfs-1.11.20/fuse/guestmount.pod:303
1081 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:372
1082 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:45
1083 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:78
1084 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:39
1085 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:42
1086 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:284
1087 #: ../libguestfs-1.11.20/resize/virt-resize.pod:550
1088 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:36
1089 #: ../libguestfs-1.11.20/src/guestfs.pod:3011
1090 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:87
1091 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39
1092 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:284
1093 #: ../resize/virt-resize.pod:550 ../ruby/examples/guestfs-ruby.pod:36
1094 #: ../src/guestfs.pod:3011 ../test-tool/libguestfs-test-tool.pod:87
1095 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
1096 #: ../tools/virt-make-fs.pl:539 ../tools/virt-tar.pl:296
1097 #: ../tools/virt-win-reg.pl:746
1098 msgid "SEE ALSO"
1099 msgstr ""
1100
1101 #. type: textblock
1102 #: ../cat/virt-cat.pod:201 ../libguestfs-1.11.20/cat/virt-cat.pod:201
1103 msgid ""
1104 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1105 "tar-out(1)>, L<http://libguestfs.org/>."
1106 msgstr ""
1107
1108 #. type: =head1
1109 #: ../cat/virt-cat.pod:208 ../cat/virt-filesystems.pod:383
1110 #: ../cat/virt-ls.pod:502 ../df/virt-df.pod:224 ../edit/virt-edit.pod:363
1111 #: ../libguestfs-1.11.20/cat/virt-cat.pod:208
1112 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:383
1113 #: ../libguestfs-1.11.20/cat/virt-ls.pod:502
1114 #: ../libguestfs-1.11.20/df/virt-df.pod:224
1115 #: ../libguestfs-1.11.20/edit/virt-edit.pod:363
1116 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:292
1117 #: ../libguestfs-1.11.20/resize/virt-resize.pod:571
1118 #: ../rescue/virt-rescue.pod:292 ../resize/virt-resize.pod:571
1119 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
1120 #: ../tools/virt-make-fs.pl:564 ../tools/virt-tar.pl:311
1121 #: ../tools/virt-win-reg.pl:772
1122 msgid "AUTHOR"
1123 msgstr ""
1124
1125 #. type: textblock
1126 #: ../cat/virt-cat.pod:210 ../cat/virt-filesystems.pod:385
1127 #: ../cat/virt-ls.pod:504 ../df/virt-df.pod:226 ../edit/virt-edit.pod:365
1128 #: ../inspector/virt-inspector.pod:386
1129 #: ../libguestfs-1.11.20/cat/virt-cat.pod:210
1130 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:385
1131 #: ../libguestfs-1.11.20/cat/virt-ls.pod:504
1132 #: ../libguestfs-1.11.20/df/virt-df.pod:226
1133 #: ../libguestfs-1.11.20/edit/virt-edit.pod:365
1134 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:386
1135 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:294
1136 #: ../libguestfs-1.11.20/resize/virt-resize.pod:573
1137 #: ../rescue/virt-rescue.pod:294 ../resize/virt-resize.pod:573
1138 #: ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279
1139 #: ../tools/virt-make-fs.pl:566 ../tools/virt-tar.pl:313
1140 #: ../tools/virt-win-reg.pl:774
1141 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1142 msgstr ""
1143
1144 #. type: =head1
1145 #: ../cat/virt-cat.pod:212 ../cat/virt-filesystems.pod:387
1146 #: ../cat/virt-ls.pod:506 ../df/virt-df.pod:228 ../edit/virt-edit.pod:367
1147 #: ../examples/guestfs-examples.pod:48 ../examples/guestfs-recipes.pod:400
1148 #: ../fish/guestfish.pod:1242 ../fish/virt-copy-in.pod:64
1149 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62
1150 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:318
1151 #: ../inspector/virt-inspector.pod:394 ../java/examples/guestfs-java.pod:61
1152 #: ../libguestfs-1.11.20/cat/virt-cat.pod:212
1153 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:387
1154 #: ../libguestfs-1.11.20/cat/virt-ls.pod:506
1155 #: ../libguestfs-1.11.20/df/virt-df.pod:228
1156 #: ../libguestfs-1.11.20/edit/virt-edit.pod:367
1157 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:48
1158 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:400
1159 #: ../libguestfs-1.11.20/fish/guestfish.pod:1242
1160 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:64
1161 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:53
1162 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:62
1163 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:55
1164 #: ../libguestfs-1.11.20/fuse/guestmount.pod:318
1165 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:394
1166 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:61
1167 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:94
1168 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:55
1169 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:57
1170 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:296
1171 #: ../libguestfs-1.11.20/resize/virt-resize.pod:575
1172 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:51
1173 #: ../libguestfs-1.11.20/src/guestfs.pod:3086
1174 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:97
1175 #: ../ocaml/examples/guestfs-ocaml.pod:94 ../perl/examples/guestfs-perl.pod:55
1176 #: ../python/examples/guestfs-python.pod:57 ../rescue/virt-rescue.pod:296
1177 #: ../resize/virt-resize.pod:575 ../ruby/examples/guestfs-ruby.pod:51
1178 #: ../src/guestfs.pod:3086 ../test-tool/libguestfs-test-tool.pod:97
1179 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
1180 #: ../tools/virt-make-fs.pl:568 ../tools/virt-tar.pl:315
1181 #: ../tools/virt-win-reg.pl:776
1182 msgid "COPYRIGHT"
1183 msgstr ""
1184
1185 #. type: textblock
1186 #: ../cat/virt-cat.pod:214 ../inspector/virt-inspector.pod:396
1187 #: ../libguestfs-1.11.20/cat/virt-cat.pod:214
1188 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:396
1189 #: ../libguestfs-1.11.20/resize/virt-resize.pod:577
1190 #: ../resize/virt-resize.pod:577
1191 msgid "Copyright (C) 2010-2011 Red Hat Inc."
1192 msgstr ""
1193
1194 #. type: textblock
1195 #: ../cat/virt-cat.pod:216 ../cat/virt-filesystems.pod:391
1196 #: ../cat/virt-ls.pod:510 ../df/virt-df.pod:232 ../edit/virt-edit.pod:371
1197 #: ../fish/guestfish.pod:1247 ../fish/virt-copy-in.pod:69
1198 #: ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67
1199 #: ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:323
1200 #: ../inspector/virt-inspector.pod:398
1201 #: ../libguestfs-1.11.20/cat/virt-cat.pod:216
1202 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:391
1203 #: ../libguestfs-1.11.20/cat/virt-ls.pod:510
1204 #: ../libguestfs-1.11.20/df/virt-df.pod:232
1205 #: ../libguestfs-1.11.20/edit/virt-edit.pod:371
1206 #: ../libguestfs-1.11.20/fish/guestfish.pod:1247
1207 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:69
1208 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:58
1209 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:67
1210 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:60
1211 #: ../libguestfs-1.11.20/fuse/guestmount.pod:323
1212 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:398
1213 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:300
1214 #: ../libguestfs-1.11.20/resize/virt-resize.pod:579
1215 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:102
1216 #: ../rescue/virt-rescue.pod:300 ../resize/virt-resize.pod:579
1217 #: ../test-tool/libguestfs-test-tool.pod:102
1218 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
1219 #: ../tools/virt-make-fs.pl:572 ../tools/virt-tar.pl:319
1220 #: ../tools/virt-win-reg.pl:780
1221 msgid ""
1222 "This program is free software; you can redistribute it and/or modify it "
1223 "under the terms of the GNU General Public License as published by the Free "
1224 "Software Foundation; either version 2 of the License, or (at your option) "
1225 "any later version."
1226 msgstr ""
1227
1228 #. type: textblock
1229 #: ../cat/virt-cat.pod:221 ../cat/virt-filesystems.pod:396
1230 #: ../cat/virt-ls.pod:515 ../df/virt-df.pod:237 ../edit/virt-edit.pod:376
1231 #: ../fish/guestfish.pod:1252 ../fish/virt-copy-in.pod:74
1232 #: ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72
1233 #: ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:328
1234 #: ../inspector/virt-inspector.pod:403
1235 #: ../libguestfs-1.11.20/cat/virt-cat.pod:221
1236 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:396
1237 #: ../libguestfs-1.11.20/cat/virt-ls.pod:515
1238 #: ../libguestfs-1.11.20/df/virt-df.pod:237
1239 #: ../libguestfs-1.11.20/edit/virt-edit.pod:376
1240 #: ../libguestfs-1.11.20/fish/guestfish.pod:1252
1241 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:74
1242 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:63
1243 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:72
1244 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:65
1245 #: ../libguestfs-1.11.20/fuse/guestmount.pod:328
1246 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:403
1247 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:305
1248 #: ../libguestfs-1.11.20/resize/virt-resize.pod:584
1249 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:107
1250 #: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:584
1251 #: ../test-tool/libguestfs-test-tool.pod:107
1252 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
1253 #: ../tools/virt-make-fs.pl:577 ../tools/virt-tar.pl:324
1254 #: ../tools/virt-win-reg.pl:785
1255 msgid ""
1256 "This program is distributed in the hope that it will be useful, but WITHOUT "
1257 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
1258 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
1259 "more details."
1260 msgstr ""
1261
1262 #. type: textblock
1263 #: ../cat/virt-cat.pod:226 ../cat/virt-filesystems.pod:401
1264 #: ../cat/virt-ls.pod:520 ../df/virt-df.pod:242 ../edit/virt-edit.pod:381
1265 #: ../fish/guestfish.pod:1257 ../fish/virt-copy-in.pod:79
1266 #: ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77
1267 #: ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:333
1268 #: ../inspector/virt-inspector.pod:408
1269 #: ../libguestfs-1.11.20/cat/virt-cat.pod:226
1270 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:401
1271 #: ../libguestfs-1.11.20/cat/virt-ls.pod:520
1272 #: ../libguestfs-1.11.20/df/virt-df.pod:242
1273 #: ../libguestfs-1.11.20/edit/virt-edit.pod:381
1274 #: ../libguestfs-1.11.20/fish/guestfish.pod:1257
1275 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:79
1276 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:68
1277 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:77
1278 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:70
1279 #: ../libguestfs-1.11.20/fuse/guestmount.pod:333
1280 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:408
1281 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:310
1282 #: ../libguestfs-1.11.20/resize/virt-resize.pod:589
1283 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:112
1284 #: ../rescue/virt-rescue.pod:310 ../resize/virt-resize.pod:589
1285 #: ../test-tool/libguestfs-test-tool.pod:112
1286 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
1287 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:329
1288 #: ../tools/virt-win-reg.pl:790
1289 msgid ""
1290 "You should have received a copy of the GNU General Public License along with "
1291 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
1292 "Ave, Cambridge, MA 02139, USA."
1293 msgstr ""
1294
1295 #. type: textblock
1296 #: ../cat/virt-filesystems.pod:5
1297 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:5
1298 msgid ""
1299 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
1300 "virtual machine or disk image"
1301 msgstr ""
1302
1303 #. type: verbatim
1304 #: ../cat/virt-filesystems.pod:9
1305 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:9
1306 #, no-wrap
1307 msgid ""
1308 " virt-filesystems [--options] -d domname\n"
1309 "\n"
1310 msgstr ""
1311
1312 #. type: verbatim
1313 #: ../cat/virt-filesystems.pod:11
1314 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:11
1315 #, no-wrap
1316 msgid ""
1317 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
1318 "\n"
1319 msgstr ""
1320
1321 #. type: textblock
1322 #: ../cat/virt-filesystems.pod:15
1323 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:15
1324 msgid ""
1325 "This tool allows you to discover filesystems, partitions, logical volumes, "
1326 "and their sizes in a disk image or virtual machine.  It is a replacement for "
1327 "L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
1328 msgstr ""
1329
1330 #. type: textblock
1331 #: ../cat/virt-filesystems.pod:20
1332 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:20
1333 msgid ""
1334 "One use for this tool is from shell scripts to iterate over all filesystems "
1335 "from a disk image:"
1336 msgstr ""
1337
1338 #. type: verbatim
1339 #: ../cat/virt-filesystems.pod:23
1340 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:23
1341 #, no-wrap
1342 msgid ""
1343 " for fs in $(virt-filesystems -a disk.img); do\n"
1344 "   # ...\n"
1345 " done\n"
1346 "\n"
1347 msgstr ""
1348
1349 #. type: textblock
1350 #: ../cat/virt-filesystems.pod:27
1351 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:27
1352 msgid ""
1353 "Another use is to list partitions before using another tool to modify those "
1354 "partitions (such as L<virt-resize(1)>).  If you are curious about what an "
1355 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
1356 msgstr ""
1357
1358 #. type: textblock
1359 #: ../cat/virt-filesystems.pod:32
1360 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:32
1361 msgid ""
1362 "Various command line options control what this program displays.  You need "
1363 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
1364 "guest respectively.  If you just specify that then the program shows "
1365 "filesystems found, one per line, like this:"
1366 msgstr ""
1367
1368 #. type: verbatim
1369 #: ../cat/virt-filesystems.pod:37
1370 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:37
1371 #, no-wrap
1372 msgid ""
1373 " $ virt-filesystems -a disk.img\n"
1374 " /dev/sda1\n"
1375 " /dev/vg_guest/lv_root\n"
1376 "\n"
1377 msgstr ""
1378
1379 #. type: textblock
1380 #: ../cat/virt-filesystems.pod:41
1381 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:41
1382 msgid ""
1383 "If you add I<-l> or I<--long> then the output includes extra information:"
1384 msgstr ""
1385
1386 #. type: verbatim
1387 #: ../cat/virt-filesystems.pod:44
1388 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:44
1389 #, no-wrap
1390 msgid ""
1391 " $ virt-filesystems -a disk.img -l\n"
1392 " Name                   Type         VFS   Label  Size\n"
1393 " /dev/sda1              filesystem   ext4  boot   524288000\n"
1394 " /dev/vg_guest/lv_root  filesystem   ext4  root   10212081664\n"
1395 "\n"
1396 msgstr ""
1397
1398 #. type: textblock
1399 #: ../cat/virt-filesystems.pod:49
1400 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:49
1401 msgid ""
1402 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
1403 "shown as well:"
1404 msgstr ""
1405
1406 #. type: verbatim
1407 #: ../cat/virt-filesystems.pod:52
1408 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:52
1409 #, no-wrap
1410 msgid ""
1411 " $ virt-filesystems -a disk.img --extra\n"
1412 " /dev/sda1\n"
1413 " /dev/vg_guest/lv_root\n"
1414 " /dev/vg_guest/lv_swap\n"
1415 " /dev/vg_guest/lv_data\n"
1416 "\n"
1417 msgstr ""
1418
1419 #. type: textblock
1420 #: ../cat/virt-filesystems.pod:58
1421 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:58
1422 msgid ""
1423 "If you add I<--partitions> then partitions are shown instead of filesystems:"
1424 msgstr ""
1425
1426 #. type: verbatim
1427 #: ../cat/virt-filesystems.pod:60
1428 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:60
1429 #, no-wrap
1430 msgid ""
1431 " $ virt-filesystems -a disk.img --partitions\n"
1432 " /dev/sda1\n"
1433 " /dev/sda2\n"
1434 "\n"
1435 msgstr ""
1436
1437 #. type: textblock
1438 #: ../cat/virt-filesystems.pod:64
1439 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:64
1440 msgid ""
1441 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I<--physical-"
1442 "volumes>, I<--block-devices> to list those items."
1443 msgstr ""
1444
1445 #. type: textblock
1446 #: ../cat/virt-filesystems.pod:67
1447 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:67
1448 msgid ""
1449 "You can use these options in combination as well (if you want a combination "
1450 "including filesystems, you have to add I<--filesystems>).  Notice that some "
1451 "items fall into several categories (eg. C</dev/sda1> might be both a "
1452 "partition and a filesystem).  These items are listed several times.  To get "
1453 "a list which includes absolutely everything that virt-filesystems knows "
1454 "about, use the I<--all> option."
1455 msgstr ""
1456
1457 #. type: textblock
1458 #: ../cat/virt-filesystems.pod:74
1459 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:74
1460 msgid ""
1461 "UUIDs (because they are quite long) are not shown by default.  Add the I<--"
1462 "uuid> option to display device and filesystem UUIDs in the long output."
1463 msgstr ""
1464
1465 #. type: textblock
1466 #: ../cat/virt-filesystems.pod:78
1467 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:78
1468 msgid ""
1469 "I<--all --long --uuid> is a useful combination to display all possible "
1470 "information about everything."
1471 msgstr ""
1472
1473 #. type: verbatim
1474 #: ../cat/virt-filesystems.pod:81
1475 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:81
1476 #, no-wrap
1477 msgid ""
1478 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1479 " Name      Type       VFS  Label           Size Parent   UUID\n"
1480 " /dev/sda1 filesystem ntfs System Reserved 100M -        F81C92571C92112C\n"
1481 " /dev/sda2 filesystem ntfs -               20G  -        F2E8996AE8992E3B\n"
1482 " /dev/sda1 partition  -    -               100M /dev/sda -\n"
1483 " /dev/sda2 partition  -    -               20G  /dev/sda -\n"
1484 " /dev/sda  device     -    -               20G  -        -\n"
1485 "\n"
1486 msgstr ""
1487
1488 #. type: textblock
1489 #: ../cat/virt-filesystems.pod:89
1490 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:89
1491 msgid ""
1492 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1493 msgstr ""
1494
1495 #. type: =item
1496 #: ../cat/virt-filesystems.pod:110
1497 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:110
1498 #: ../tools/virt-list-filesystems.pl:121
1499 msgid "B<--all>"
1500 msgstr ""
1501
1502 #. type: textblock
1503 #: ../cat/virt-filesystems.pod:112
1504 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:112
1505 msgid ""
1506 "Display everything.  This is currently the same as specifying these options: "
1507 "I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I<--"
1508 "logical-volumes>, I<--volume-groups>, I<--physical-volumes>.  (More may be "
1509 "added to this list in future)."
1510 msgstr ""
1511
1512 #. type: textblock
1513 #: ../cat/virt-filesystems.pod:117
1514 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:117
1515 msgid "See also I<--long>."
1516 msgstr ""
1517
1518 #. type: =item
1519 #: ../cat/virt-filesystems.pod:119
1520 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:119
1521 msgid "B<--blkdevs>"
1522 msgstr ""
1523
1524 #. type: =item
1525 #: ../cat/virt-filesystems.pod:121
1526 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:121
1527 msgid "B<--block-devices>"
1528 msgstr ""
1529
1530 #. type: textblock
1531 #: ../cat/virt-filesystems.pod:123
1532 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:123
1533 msgid "Display block devices."
1534 msgstr ""
1535
1536 #. type: =item
1537 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301
1538 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:135
1539 #: ../libguestfs-1.11.20/cat/virt-ls.pod:301
1540 msgid "B<--csv>"
1541 msgstr ""
1542
1543 #. type: textblock
1544 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303
1545 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:137
1546 #: ../libguestfs-1.11.20/cat/virt-ls.pod:303
1547 msgid ""
1548 "Write out the results in CSV format (comma-separated values).  This format "
1549 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1550 "ABOUT CSV FORMAT> below."
1551 msgstr ""
1552
1553 #. type: textblock
1554 #: ../cat/virt-filesystems.pod:150
1555 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:150
1556 msgid ""
1557 "When prompting for keys and passphrases, virt-filesystems normally turns "
1558 "echoing off so you cannot see what you are typing.  If you are not worried "
1559 "about Tempest attacks and there is no one else in the room you can specify "
1560 "this flag to see what you are typing."
1561 msgstr ""
1562
1563 #. type: =item
1564 #: ../cat/virt-filesystems.pod:155
1565 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:155
1566 msgid "B<--extra>"
1567 msgstr ""
1568
1569 #. type: textblock
1570 #: ../cat/virt-filesystems.pod:157
1571 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:157
1572 msgid ""
1573 "This causes filesystems that are not ordinary, mountable filesystems to be "
1574 "displayed.  This category includes swapspace, and filesystems that are empty "
1575 "or contain unknown data."
1576 msgstr ""
1577
1578 #. type: textblock
1579 #: ../cat/virt-filesystems.pod:161
1580 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:161
1581 msgid "This option implies I<--filesystems>."
1582 msgstr ""
1583
1584 #. type: =item
1585 #: ../cat/virt-filesystems.pod:163
1586 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:163
1587 msgid "B<--filesystems>"
1588 msgstr ""
1589
1590 #. type: textblock
1591 #: ../cat/virt-filesystems.pod:165
1592 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:165
1593 msgid ""
1594 "Display mountable filesystems.  If no display option was selected then this "
1595 "option is implied."
1596 msgstr ""
1597
1598 #. type: textblock
1599 #: ../cat/virt-filesystems.pod:168
1600 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:168
1601 msgid "With I<--extra>, non-mountable filesystems are shown too."
1602 msgstr ""
1603
1604 #. type: verbatim
1605 #: ../cat/virt-filesystems.pod:181
1606 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:181
1607 #, no-wrap
1608 msgid ""
1609 " virt-filesystems --format=raw -a disk.img\n"
1610 "\n"
1611 msgstr ""
1612
1613 #. type: verbatim
1614 #: ../cat/virt-filesystems.pod:185
1615 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:185
1616 #, no-wrap
1617 msgid ""
1618 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1619 "\n"
1620 msgstr ""
1621
1622 #. type: =item
1623 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1624 #: ../df/virt-df.pod:119 ../fish/guestfish.pod:156
1625 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:194
1626 #: ../libguestfs-1.11.20/cat/virt-ls.pod:352
1627 #: ../libguestfs-1.11.20/df/virt-df.pod:119
1628 #: ../libguestfs-1.11.20/fish/guestfish.pod:156
1629 #: ../tools/virt-list-partitions.pl:109
1630 msgid "B<-h>"
1631 msgstr ""
1632
1633 #. type: =item
1634 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1635 #: ../df/virt-df.pod:121 ../libguestfs-1.11.20/cat/virt-filesystems.pod:196
1636 #: ../libguestfs-1.11.20/cat/virt-ls.pod:354
1637 #: ../libguestfs-1.11.20/df/virt-df.pod:121
1638 #: ../tools/virt-list-partitions.pl:111
1639 msgid "B<--human-readable>"
1640 msgstr ""
1641
1642 #. type: textblock
1643 #: ../cat/virt-filesystems.pod:198
1644 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:198
1645 msgid "In I<--long> mode, display sizes in human-readable format."
1646 msgstr ""
1647
1648 #. type: =item
1649 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1650 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:205
1651 #: ../libguestfs-1.11.20/cat/virt-ls.pod:366
1652 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1653 msgid "B<-l>"
1654 msgstr ""
1655
1656 #. type: =item
1657 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1658 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:207
1659 #: ../libguestfs-1.11.20/cat/virt-ls.pod:368
1660 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1661 msgid "B<--long>"
1662 msgstr ""
1663
1664 #. type: textblock
1665 #: ../cat/virt-filesystems.pod:209
1666 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:209
1667 msgid "Display extra columns of data (\"long format\")."
1668 msgstr ""
1669
1670 #. type: textblock
1671 #: ../cat/virt-filesystems.pod:211
1672 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:211
1673 msgid "A title row is added unless you also specify I<--no-title>."
1674 msgstr ""
1675
1676 #. type: textblock
1677 #: ../cat/virt-filesystems.pod:213
1678 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:213
1679 msgid ""
1680 "The extra columns displayed depend on what output you select, and the "
1681 "ordering of columns may change in future versions.  Use the title row, I<--"
1682 "csv> output and/or L<csvtool(1)> to match columns to data in external "
1683 "programs."
1684 msgstr ""
1685
1686 #. type: textblock
1687 #: ../cat/virt-filesystems.pod:218
1688 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:218
1689 msgid ""
1690 "Use I<-h> if you want sizes to be displayed in human-readable format.  The "
1691 "default is to show raw numbers of I<bytes>."
1692 msgstr ""
1693
1694 #. type: textblock
1695 #: ../cat/virt-filesystems.pod:221
1696 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:221
1697 msgid "Use I<--uuid> to display UUIDs too."
1698 msgstr ""
1699
1700 #. type: =item
1701 #: ../cat/virt-filesystems.pod:223
1702 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:223
1703 msgid "B<--lvs>"
1704 msgstr ""
1705
1706 #. type: =item
1707 #: ../cat/virt-filesystems.pod:225
1708 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:225
1709 msgid "B<--logvols>"
1710 msgstr ""
1711
1712 #. type: =item
1713 #: ../cat/virt-filesystems.pod:227
1714 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:227
1715 msgid "B<--logical-volumes>"
1716 msgstr ""
1717
1718 #. type: textblock
1719 #: ../cat/virt-filesystems.pod:229
1720 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:229
1721 msgid ""
1722 "Display LVM logical volumes.  In this mode, these are displayed irrespective "
1723 "of whether the LVs contain filesystems."
1724 msgstr ""
1725
1726 #. type: =item
1727 #: ../cat/virt-filesystems.pod:232
1728 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:232
1729 msgid "B<--no-title>"
1730 msgstr ""
1731
1732 #. type: textblock
1733 #: ../cat/virt-filesystems.pod:234
1734 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:234
1735 msgid "In I<--long> mode, don't add a title row."
1736 msgstr ""
1737
1738 #. type: textblock
1739 #: ../cat/virt-filesystems.pod:236
1740 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:236
1741 msgid ""
1742 "Note that the order of the columns is not fixed, and may change in future "
1743 "versions of virt-filesystems, so using this option may give you unexpected "
1744 "surprises."
1745 msgstr ""
1746
1747 #. type: =item
1748 #: ../cat/virt-filesystems.pod:240
1749 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:240
1750 msgid "B<--parts>"
1751 msgstr ""
1752
1753 #. type: =item
1754 #: ../cat/virt-filesystems.pod:242
1755 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:242
1756 msgid "B<--partitions>"
1757 msgstr ""
1758
1759 #. type: textblock
1760 #: ../cat/virt-filesystems.pod:244
1761 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:244
1762 msgid ""
1763 "Display partitions.  In this mode, these are displayed irrespective of "
1764 "whether the partitions contain filesystems."
1765 msgstr ""
1766
1767 #. type: =item
1768 #: ../cat/virt-filesystems.pod:247
1769 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:247
1770 msgid "B<--pvs>"
1771 msgstr ""
1772
1773 #. type: =item
1774 #: ../cat/virt-filesystems.pod:249
1775 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:249
1776 msgid "B<--physvols>"
1777 msgstr ""
1778
1779 #. type: =item
1780 #: ../cat/virt-filesystems.pod:251
1781 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:251
1782 msgid "B<--physical-volumes>"
1783 msgstr ""
1784
1785 #. type: textblock
1786 #: ../cat/virt-filesystems.pod:253
1787 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:253
1788 msgid "Display LVM physical volumes."
1789 msgstr ""
1790
1791 #. type: =item
1792 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:157
1793 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:255
1794 #: ../libguestfs-1.11.20/df/virt-df.pod:157
1795 msgid "B<--uuid>"
1796 msgstr ""
1797
1798 #. type: =item
1799 #: ../cat/virt-filesystems.pod:257
1800 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:257
1801 msgid "B<--uuids>"
1802 msgstr ""
1803
1804 #. type: textblock
1805 #: ../cat/virt-filesystems.pod:259
1806 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:259
1807 msgid "In I<--long> mode, display UUIDs as well."
1808 msgstr ""
1809
1810 #. type: =item
1811 #: ../cat/virt-filesystems.pod:273
1812 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:273
1813 msgid "B<--vgs>"
1814 msgstr ""
1815
1816 #. type: =item
1817 #: ../cat/virt-filesystems.pod:275
1818 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:275
1819 msgid "B<--volgroups>"
1820 msgstr ""
1821
1822 #. type: =item
1823 #: ../cat/virt-filesystems.pod:277
1824 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:277
1825 msgid "B<--volume-groups>"
1826 msgstr ""
1827
1828 #. type: textblock
1829 #: ../cat/virt-filesystems.pod:279
1830 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:279
1831 msgid "Display LVM volume groups."
1832 msgstr ""
1833
1834 #. type: =head1
1835 #: ../cat/virt-filesystems.pod:287
1836 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:287
1837 msgid "COLUMNS"
1838 msgstr ""
1839
1840 #. type: textblock
1841 #: ../cat/virt-filesystems.pod:289
1842 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:289
1843 msgid ""
1844 "Note that columns in the output are subject to reordering and change in "
1845 "future versions of this tool."
1846 msgstr ""
1847
1848 #. type: =item
1849 #: ../cat/virt-filesystems.pod:294
1850 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:294
1851 msgid "B<Name>"
1852 msgstr ""
1853
1854 #. type: textblock
1855 #: ../cat/virt-filesystems.pod:296
1856 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:296
1857 msgid "The filesystem, partition, block device or LVM name."
1858 msgstr ""
1859
1860 #. type: textblock
1861 #: ../cat/virt-filesystems.pod:298
1862 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:298
1863 msgid ""
1864 "For device and partition names these are displayed as canonical libguestfs "
1865 "names, so that for example C</dev/sda2> is the second partition on the first "
1866 "device."
1867 msgstr ""
1868
1869 #. type: textblock
1870 #: ../cat/virt-filesystems.pod:302
1871 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:302
1872 msgid ""
1873 "If the I<--long> option is B<not> specified, then only the name column is "
1874 "shown in the output."
1875 msgstr ""
1876
1877 #. type: =item
1878 #: ../cat/virt-filesystems.pod:305
1879 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:305
1880 msgid "B<Type>"
1881 msgstr ""
1882
1883 #. type: textblock
1884 #: ../cat/virt-filesystems.pod:307
1885 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:307
1886 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
1887 msgstr ""
1888
1889 #. type: =item
1890 #: ../cat/virt-filesystems.pod:309
1891 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:309
1892 msgid "B<VFS>"
1893 msgstr ""
1894
1895 #. type: textblock
1896 #: ../cat/virt-filesystems.pod:311
1897 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:311
1898 msgid ""
1899 "If there is a filesystem, then this column displays the filesystem type if "
1900 "one could be detected, eg. C<ext4>."
1901 msgstr ""
1902
1903 #. type: =item
1904 #: ../cat/virt-filesystems.pod:314
1905 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:314
1906 msgid "B<Label>"
1907 msgstr ""
1908
1909 #. type: textblock
1910 #: ../cat/virt-filesystems.pod:316
1911 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:316
1912 msgid ""
1913 "If the object has a label (used for identifying and mounting filesystems) "
1914 "then this column contains the label."
1915 msgstr ""
1916
1917 #. type: =item
1918 #: ../cat/virt-filesystems.pod:319
1919 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:319
1920 msgid "B<Size>"
1921 msgstr ""
1922
1923 #. type: textblock
1924 #: ../cat/virt-filesystems.pod:321
1925 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:321
1926 msgid ""
1927 "The size of the object in bytes.  If the I<--human> option is used then the "
1928 "size is displayed in a human-readable form."
1929 msgstr ""
1930
1931 #. type: =item
1932 #: ../cat/virt-filesystems.pod:324
1933 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:324
1934 msgid "B<Parent>"
1935 msgstr ""
1936
1937 #. type: textblock
1938 #: ../cat/virt-filesystems.pod:326
1939 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:326
1940 msgid ""
1941 "The parent column records the parent relationship between objects.  For "
1942 "example, if the object is a partition, then this column contains the name of "
1943 "the containing device.  If the object is a logical volume, then this column "
1944 "is the name of the volume group."
1945 msgstr ""
1946
1947 #. type: =item
1948 #: ../cat/virt-filesystems.pod:331
1949 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:331
1950 msgid "B<UUID>"
1951 msgstr ""
1952
1953 #. type: textblock
1954 #: ../cat/virt-filesystems.pod:333
1955 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:333
1956 msgid ""
1957 "If the object has a UUID (used for identifying and mounting filesystems and "
1958 "block devices) then this column contains the UUID as a string."
1959 msgstr ""
1960
1961 #. type: textblock
1962 #: ../cat/virt-filesystems.pod:337
1963 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:337
1964 msgid "The UUID is only displayed if the I<--uuid> option is given."
1965 msgstr ""
1966
1967 #. type: =head1
1968 #: ../cat/virt-filesystems.pod:341 ../cat/virt-ls.pod:459
1969 #: ../df/virt-df.pod:185 ../libguestfs-1.11.20/cat/virt-filesystems.pod:341
1970 #: ../libguestfs-1.11.20/cat/virt-ls.pod:459
1971 #: ../libguestfs-1.11.20/df/virt-df.pod:185
1972 msgid "NOTE ABOUT CSV FORMAT"
1973 msgstr ""
1974
1975 #. type: textblock
1976 #: ../cat/virt-filesystems.pod:343 ../cat/virt-ls.pod:461
1977 #: ../df/virt-df.pod:187 ../libguestfs-1.11.20/cat/virt-filesystems.pod:343
1978 #: ../libguestfs-1.11.20/cat/virt-ls.pod:461
1979 #: ../libguestfs-1.11.20/df/virt-df.pod:187
1980 msgid ""
1981 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
1982 "should be easy to parse, but it is definitely not easy to parse."
1983 msgstr ""
1984
1985 #. type: textblock
1986 #: ../cat/virt-filesystems.pod:346 ../cat/virt-ls.pod:464
1987 #: ../df/virt-df.pod:190 ../libguestfs-1.11.20/cat/virt-filesystems.pod:346
1988 #: ../libguestfs-1.11.20/cat/virt-ls.pod:464
1989 #: ../libguestfs-1.11.20/df/virt-df.pod:190
1990 msgid ""
1991 "Myth: Just split fields at commas.  Reality: This does I<not> work "
1992 "reliably.  This example has two columns:"
1993 msgstr ""
1994
1995 #. type: verbatim
1996 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:467
1997 #: ../df/virt-df.pod:193 ../libguestfs-1.11.20/cat/virt-filesystems.pod:349
1998 #: ../libguestfs-1.11.20/cat/virt-ls.pod:467
1999 #: ../libguestfs-1.11.20/df/virt-df.pod:193
2000 #, no-wrap
2001 msgid ""
2002 " \"foo,bar\",baz\n"
2003 "\n"
2004 msgstr ""
2005
2006 #. type: textblock
2007 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:469
2008 #: ../df/virt-df.pod:195 ../libguestfs-1.11.20/cat/virt-filesystems.pod:351
2009 #: ../libguestfs-1.11.20/cat/virt-ls.pod:469
2010 #: ../libguestfs-1.11.20/df/virt-df.pod:195
2011 msgid ""
2012 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
2013 "reliably.  This example has one row:"
2014 msgstr ""
2015
2016 #. type: verbatim
2017 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:472
2018 #: ../df/virt-df.pod:198 ../libguestfs-1.11.20/cat/virt-filesystems.pod:354
2019 #: ../libguestfs-1.11.20/cat/virt-ls.pod:472
2020 #: ../libguestfs-1.11.20/df/virt-df.pod:198
2021 #, no-wrap
2022 msgid ""
2023 " \"foo\n"
2024 " bar\",baz\n"
2025 "\n"
2026 msgstr ""
2027
2028 #. type: textblock
2029 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:475
2030 #: ../df/virt-df.pod:201 ../libguestfs-1.11.20/cat/virt-filesystems.pod:357
2031 #: ../libguestfs-1.11.20/cat/virt-ls.pod:475
2032 #: ../libguestfs-1.11.20/df/virt-df.pod:201
2033 msgid ""
2034 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
2035 "packaged in major Linux distributions)."
2036 msgstr ""
2037
2038 #. type: textblock
2039 #: ../cat/virt-filesystems.pod:360 ../cat/virt-ls.pod:478
2040 #: ../df/virt-df.pod:204 ../libguestfs-1.11.20/cat/virt-filesystems.pod:360
2041 #: ../libguestfs-1.11.20/cat/virt-ls.pod:478
2042 #: ../libguestfs-1.11.20/df/virt-df.pod:204
2043 msgid ""
2044 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
2045 "or Python's built-in csv library)."
2046 msgstr ""
2047
2048 #. type: textblock
2049 #: ../cat/virt-filesystems.pod:363 ../cat/virt-ls.pod:481
2050 #: ../df/virt-df.pod:207 ../libguestfs-1.11.20/cat/virt-filesystems.pod:363
2051 #: ../libguestfs-1.11.20/cat/virt-ls.pod:481
2052 #: ../libguestfs-1.11.20/df/virt-df.pod:207
2053 msgid "Most spreadsheets and databases can import CSV directly."
2054 msgstr ""
2055
2056 #. type: textblock
2057 #: ../cat/virt-filesystems.pod:374
2058 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:374
2059 msgid ""
2060 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2061 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2062 "libguestfs.org/>."
2063 msgstr ""
2064
2065 #. type: textblock
2066 #: ../cat/virt-filesystems.pod:389
2067 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:389
2068 #: ../tools/virt-make-fs.pl:570 ../tools/virt-win-reg.pl:778
2069 msgid "Copyright (C) 2010 Red Hat Inc."
2070 msgstr ""
2071
2072 #. type: textblock
2073 #: ../cat/virt-ls.pod:5 ../libguestfs-1.11.20/cat/virt-ls.pod:5
2074 msgid "virt-ls - List files in a virtual machine"
2075 msgstr ""
2076
2077 #. type: verbatim
2078 #: ../cat/virt-ls.pod:9 ../libguestfs-1.11.20/cat/virt-ls.pod:9
2079 #, no-wrap
2080 msgid ""
2081 " virt-ls [--options] -d domname directory [directory ...]\n"
2082 "\n"
2083 msgstr ""
2084
2085 #. type: verbatim
2086 #: ../cat/virt-ls.pod:11 ../libguestfs-1.11.20/cat/virt-ls.pod:11
2087 #, no-wrap
2088 msgid ""
2089 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
2090 "\n"
2091 msgstr ""
2092
2093 #. type: textblock
2094 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15
2095 #: ../libguestfs-1.11.20/cat/virt-ls.pod:13
2096 #: ../libguestfs-1.11.20/df/virt-df.pod:15
2097 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:13
2098 #: ../rescue/virt-rescue.pod:13
2099 msgid "Old style:"
2100 msgstr ""
2101
2102 #. type: verbatim
2103 #: ../cat/virt-ls.pod:15 ../libguestfs-1.11.20/cat/virt-ls.pod:15
2104 #, no-wrap
2105 msgid ""
2106 " virt-ls [--options] domname directory\n"
2107 "\n"
2108 msgstr ""
2109
2110 #. type: verbatim
2111 #: ../cat/virt-ls.pod:17 ../libguestfs-1.11.20/cat/virt-ls.pod:17
2112 #, no-wrap
2113 msgid ""
2114 " virt-ls [--options] disk.img [disk.img ...] directory\n"
2115 "\n"
2116 msgstr ""
2117
2118 #. type: textblock
2119 #: ../cat/virt-ls.pod:21 ../libguestfs-1.11.20/cat/virt-ls.pod:21
2120 msgid ""
2121 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
2122 "more from a virtual machine or disk image."
2123 msgstr ""
2124
2125 #. type: textblock
2126 #: ../cat/virt-ls.pod:24 ../libguestfs-1.11.20/cat/virt-ls.pod:24
2127 msgid ""
2128 "Multiple directory names can be given, in which case the output from each is "
2129 "concatenated."
2130 msgstr ""
2131
2132 #. type: textblock
2133 #: ../cat/virt-ls.pod:27 ../libguestfs-1.11.20/cat/virt-ls.pod:27
2134 msgid ""
2135 "To list directories from a libvirt guest use the I<-d> option to specify the "
2136 "name of the guest.  For a disk image, use the I<-a> option."
2137 msgstr ""
2138
2139 #. type: textblock
2140 #: ../cat/virt-ls.pod:31 ../libguestfs-1.11.20/cat/virt-ls.pod:31
2141 msgid ""
2142 "C<virt-ls> can do many simple file listings.  For more complicated cases you "
2143 "may need to use L<guestfish(1)>, or write a program directly to the L<guestfs"
2144 "(3)> API."
2145 msgstr ""
2146
2147 #. type: textblock
2148 #: ../cat/virt-ls.pod:37 ../libguestfs-1.11.20/cat/virt-ls.pod:37
2149 msgid "Get a list of all files and directories in a virtual machine:"
2150 msgstr ""
2151
2152 #. type: verbatim
2153 #: ../cat/virt-ls.pod:39 ../libguestfs-1.11.20/cat/virt-ls.pod:39
2154 #, no-wrap
2155 msgid ""
2156 " virt-ls -R -d guest /\n"
2157 "\n"
2158 msgstr ""
2159
2160 #. type: textblock
2161 #: ../cat/virt-ls.pod:41 ../libguestfs-1.11.20/cat/virt-ls.pod:41
2162 msgid "List all setuid or setgid programs in a Linux virtual machine:"
2163 msgstr ""
2164
2165 #. type: verbatim
2166 #: ../cat/virt-ls.pod:43 ../libguestfs-1.11.20/cat/virt-ls.pod:43
2167 #, no-wrap
2168 msgid ""
2169 " virt-ls -lR -d guest / | grep '^- [42]'\n"
2170 "\n"
2171 msgstr ""
2172
2173 #. type: textblock
2174 #: ../cat/virt-ls.pod:45 ../libguestfs-1.11.20/cat/virt-ls.pod:45
2175 msgid "List all public-writable directories in a Linux virtual machine:"
2176 msgstr ""
2177
2178 #. type: verbatim
2179 #: ../cat/virt-ls.pod:47 ../libguestfs-1.11.20/cat/virt-ls.pod:47
2180 #, no-wrap
2181 msgid ""
2182 " virt-ls -lR -d guest / | grep '^d ...7'\n"
2183 "\n"
2184 msgstr ""
2185
2186 #. type: textblock
2187 #: ../cat/virt-ls.pod:49 ../libguestfs-1.11.20/cat/virt-ls.pod:49
2188 msgid "List all Unix domain sockets in a Linux virtual machine:"
2189 msgstr ""
2190
2191 #. type: verbatim
2192 #: ../cat/virt-ls.pod:51 ../libguestfs-1.11.20/cat/virt-ls.pod:51
2193 #, no-wrap
2194 msgid ""
2195 " virt-ls -lR -d guest / | grep '^s'\n"
2196 "\n"
2197 msgstr ""
2198
2199 #. type: textblock
2200 #: ../cat/virt-ls.pod:53 ../libguestfs-1.11.20/cat/virt-ls.pod:53
2201 msgid "List all regular files with filenames ending in '.png':"
2202 msgstr ""
2203
2204 #. type: verbatim
2205 #: ../cat/virt-ls.pod:55 ../libguestfs-1.11.20/cat/virt-ls.pod:55
2206 #, no-wrap
2207 msgid ""
2208 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
2209 "\n"
2210 msgstr ""
2211
2212 #. type: textblock
2213 #: ../cat/virt-ls.pod:57 ../libguestfs-1.11.20/cat/virt-ls.pod:57
2214 msgid "To display files larger than 10MB in home directories:"
2215 msgstr ""
2216
2217 #. type: verbatim
2218 #: ../cat/virt-ls.pod:59 ../libguestfs-1.11.20/cat/virt-ls.pod:59
2219 #, no-wrap
2220 msgid ""
2221 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
2222 "\n"
2223 msgstr ""
2224
2225 #. type: textblock
2226 #: ../cat/virt-ls.pod:61 ../libguestfs-1.11.20/cat/virt-ls.pod:61
2227 msgid "Find everything modified in the last 7 days:"
2228 msgstr ""
2229
2230 #. type: verbatim
2231 #: ../cat/virt-ls.pod:63 ../libguestfs-1.11.20/cat/virt-ls.pod:63
2232 #, no-wrap
2233 msgid ""
2234 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
2235 "\n"
2236 msgstr ""
2237
2238 #. type: textblock
2239 #: ../cat/virt-ls.pod:65 ../libguestfs-1.11.20/cat/virt-ls.pod:65
2240 msgid "Find regular files modified in the last 24 hours:"
2241 msgstr ""
2242
2243 #. type: verbatim
2244 #: ../cat/virt-ls.pod:67 ../libguestfs-1.11.20/cat/virt-ls.pod:67
2245 #, no-wrap
2246 msgid ""
2247 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
2248 "\n"
2249 msgstr ""
2250
2251 #. type: =head2
2252 #: ../cat/virt-ls.pod:69 ../libguestfs-1.11.20/cat/virt-ls.pod:69
2253 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
2254 msgstr ""
2255
2256 #. type: textblock
2257 #: ../cat/virt-ls.pod:71 ../libguestfs-1.11.20/cat/virt-ls.pod:71
2258 msgid ""
2259 "Find the differences between files in a guest and an earlier snapshot of the "
2260 "same guest."
2261 msgstr ""
2262
2263 #. type: verbatim
2264 #: ../cat/virt-ls.pod:74 ../libguestfs-1.11.20/cat/virt-ls.pod:74
2265 #, no-wrap
2266 msgid ""
2267 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
2268 " virt-ls -lR -a current.img / --uids --time-t > new\n"
2269 " diff -u old new | less\n"
2270 "\n"
2271 msgstr ""
2272
2273 #. type: textblock
2274 #: ../cat/virt-ls.pod:78 ../libguestfs-1.11.20/cat/virt-ls.pod:78
2275 msgid ""
2276 "The commands above won't find files where the content has changed but the "
2277 "metadata (eg. file size and modification date) is the same.  To do that, you "
2278 "need to add the I<--checksum> parameter to both C<virt-ls> commands.  I<--"
2279 "checksum> can be quite slow since it has to read and compute a checksum of "
2280 "every regular file in the virtual machine."
2281 msgstr ""
2282
2283 #. type: =head1
2284 #: ../cat/virt-ls.pod:84 ../libguestfs-1.11.20/cat/virt-ls.pod:84
2285 msgid "OUTPUT MODES"
2286 msgstr ""
2287
2288 #. type: textblock
2289 #: ../cat/virt-ls.pod:86 ../libguestfs-1.11.20/cat/virt-ls.pod:86
2290 msgid ""
2291 "C<virt-ls> has four output modes, controlled by different combinations of "
2292 "the I<-l> and I<-R> options."
2293 msgstr ""
2294
2295 #. type: =head2
2296 #: ../cat/virt-ls.pod:89 ../libguestfs-1.11.20/cat/virt-ls.pod:89
2297 msgid "SIMPLE LISTING"
2298 msgstr ""
2299
2300 #. type: textblock
2301 #: ../cat/virt-ls.pod:91 ../libguestfs-1.11.20/cat/virt-ls.pod:91
2302 msgid "A simple listing is like the ordinary L<ls(1)> command:"
2303 msgstr ""
2304
2305 #. type: verbatim
2306 #: ../cat/virt-ls.pod:93 ../libguestfs-1.11.20/cat/virt-ls.pod:93
2307 #, no-wrap
2308 msgid ""
2309 " $ virt-ls -d guest /\n"
2310 " bin\n"
2311 " boot\n"
2312 " [etc.]\n"
2313 "\n"
2314 msgstr ""
2315
2316 #. type: =head2
2317 #: ../cat/virt-ls.pod:98 ../libguestfs-1.11.20/cat/virt-ls.pod:98
2318 msgid "LONG LISTING"
2319 msgstr ""
2320
2321 #. type: textblock
2322 #: ../cat/virt-ls.pod:100 ../libguestfs-1.11.20/cat/virt-ls.pod:100
2323 msgid ""
2324 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
2325 "(more specifically, like the C<guestfs_ll> function)."
2326 msgstr ""
2327
2328 #. type: verbatim
2329 #: ../cat/virt-ls.pod:103 ../libguestfs-1.11.20/cat/virt-ls.pod:103
2330 #, no-wrap
2331 msgid ""
2332 " $ virt-ls -l -d guest /\n"
2333 " total 204\n"
2334 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2335 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2336 " [etc.]\n"
2337 "\n"
2338 msgstr ""
2339
2340 #. type: textblock
2341 #: ../cat/virt-ls.pod:109 ../libguestfs-1.11.20/cat/virt-ls.pod:109
2342 msgid ""
2343 "Note that while this is useful for displaying a directory, do not try "
2344 "parsing this output in another program.  Use L</RECURSIVE LONG LISTING> "
2345 "instead."
2346 msgstr ""
2347
2348 #. type: =head2
2349 #: ../cat/virt-ls.pod:113 ../libguestfs-1.11.20/cat/virt-ls.pod:113
2350 msgid "RECURSIVE LISTING"
2351 msgstr ""
2352
2353 #. type: textblock
2354 #: ../cat/virt-ls.pod:115 ../libguestfs-1.11.20/cat/virt-ls.pod:115
2355 msgid ""
2356 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
2357 "and directories recursively:"
2358 msgstr ""
2359
2360 #. type: verbatim
2361 #: ../cat/virt-ls.pod:118 ../libguestfs-1.11.20/cat/virt-ls.pod:118
2362 #, no-wrap
2363 msgid ""
2364 " $ virt-ls -R -d guest /tmp\n"
2365 " foo\n"
2366 " foo/bar\n"
2367 " [etc.]\n"
2368 "\n"
2369 msgstr ""
2370
2371 #. type: textblock
2372 #: ../cat/virt-ls.pod:123 ../libguestfs-1.11.20/cat/virt-ls.pod:123
2373 msgid ""
2374 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
2375 "converts C<\\0> characters to C<\\n>."
2376 msgstr ""
2377
2378 #. type: =head2
2379 #: ../cat/virt-ls.pod:126 ../libguestfs-1.11.20/cat/virt-ls.pod:126
2380 msgid "RECURSIVE LONG LISTING"
2381 msgstr ""
2382
2383 #. type: textblock
2384 #: ../cat/virt-ls.pod:128 ../libguestfs-1.11.20/cat/virt-ls.pod:128
2385 msgid ""
2386 "Using I<-lR> options together changes the output to display directories "
2387 "recursively, with file stats, and optionally other features such as "
2388 "checksums and extended attributes."
2389 msgstr ""
2390
2391 #. type: textblock
2392 #: ../cat/virt-ls.pod:132 ../libguestfs-1.11.20/cat/virt-ls.pod:132
2393 msgid ""
2394 "Most of the interesting features of C<virt-ls> are only available when using "
2395 "I<-lR> mode."
2396 msgstr ""
2397
2398 #. type: textblock
2399 #: ../cat/virt-ls.pod:135 ../libguestfs-1.11.20/cat/virt-ls.pod:135
2400 msgid ""
2401 "The fields are normally space-separated.  Filenames are B<not> quoted, so "
2402 "you cannot use the output in another program (because filenames can contain "
2403 "spaces and other unsafe characters).  If the guest was untrusted and someone "
2404 "knew you were using C<virt-ls> to analyze the guest, they could play tricks "
2405 "on you by creating filenames with embedded newline characters.  To B<safely> "
2406 "parse the output in another program, use the I<--csv> (Comma-Separated "
2407 "Values) option."
2408 msgstr ""
2409
2410 #. type: textblock
2411 #: ../cat/virt-ls.pod:143 ../libguestfs-1.11.20/cat/virt-ls.pod:143
2412 msgid ""
2413 "Note that this output format is completely unrelated to the C<ls -lR> "
2414 "command."
2415 msgstr ""
2416
2417 #. type: verbatim
2418 #: ../cat/virt-ls.pod:146 ../libguestfs-1.11.20/cat/virt-ls.pod:146
2419 #, no-wrap
2420 msgid ""
2421 " $ virt-ls -lR -d guest /bin\n"
2422 " d 0555       4096 /bin\n"
2423 " - 0755        123 /bin/alsaunmute\n"
2424 " - 0755      28328 /bin/arch\n"
2425 " l 0777          4 /bin/awk -> gawk\n"
2426 " - 0755      27216 /bin/basename\n"
2427 " - 0755     943360 /bin/bash\n"
2428 " [etc.]\n"
2429 "\n"
2430 msgstr ""
2431
2432 #. type: textblock
2433 #: ../cat/virt-ls.pod:155 ../libguestfs-1.11.20/cat/virt-ls.pod:155
2434 msgid "These basic fields are always shown:"
2435 msgstr ""
2436
2437 #. type: =item
2438 #: ../cat/virt-ls.pod:159 ../libguestfs-1.11.20/cat/virt-ls.pod:159
2439 msgid "type"
2440 msgstr ""
2441
2442 #. type: textblock
2443 #: ../cat/virt-ls.pod:161 ../libguestfs-1.11.20/cat/virt-ls.pod:161
2444 msgid ""
2445 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
2446 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
2447 "link), C<s> (socket) or C<u> (unknown)."
2448 msgstr ""
2449
2450 #. type: =item
2451 #: ../cat/virt-ls.pod:171 ../libguestfs-1.11.20/cat/virt-ls.pod:171
2452 msgid "permissions"
2453 msgstr ""
2454
2455 #. type: textblock
2456 #: ../cat/virt-ls.pod:173 ../libguestfs-1.11.20/cat/virt-ls.pod:173
2457 msgid "The Unix permissions, displayed as a 4 digit octal number."
2458 msgstr ""
2459
2460 #. type: =item
2461 #: ../cat/virt-ls.pod:175 ../libguestfs-1.11.20/cat/virt-ls.pod:175
2462 msgid "size"
2463 msgstr ""
2464
2465 #. type: textblock
2466 #: ../cat/virt-ls.pod:177 ../libguestfs-1.11.20/cat/virt-ls.pod:177
2467 msgid ""
2468 "The size of the file.  This is shown in bytes unless I<-h> or I<--human-"
2469 "readable> option is given, in which case this is shown as a human-readable "
2470 "number."
2471 msgstr ""
2472
2473 #. type: =head2
2474 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4183
2475 #: ../libguestfs-1.11.20/cat/virt-ls.pod:181
2476 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4183
2477 msgid "path"
2478 msgstr ""
2479
2480 #. type: textblock
2481 #: ../cat/virt-ls.pod:183 ../libguestfs-1.11.20/cat/virt-ls.pod:183
2482 msgid "The full path of the file or directory."
2483 msgstr ""
2484
2485 #. type: =item
2486 #: ../cat/virt-ls.pod:185 ../libguestfs-1.11.20/cat/virt-ls.pod:185
2487 msgid "link"
2488 msgstr ""
2489
2490 #. type: textblock
2491 #: ../cat/virt-ls.pod:187 ../libguestfs-1.11.20/cat/virt-ls.pod:187
2492 msgid "For symbolic links only, the link target."
2493 msgstr ""
2494
2495 #. type: textblock
2496 #: ../cat/virt-ls.pod:191 ../libguestfs-1.11.20/cat/virt-ls.pod:191
2497 msgid ""
2498 "In I<-lR> mode, additional command line options enable the display of more "
2499 "fields."
2500 msgstr ""
2501
2502 #. type: textblock
2503 #: ../cat/virt-ls.pod:194 ../libguestfs-1.11.20/cat/virt-ls.pod:194
2504 msgid ""
2505 "With the I<--uids> flag, these additional fields are displayed before the "
2506 "path:"
2507 msgstr ""
2508
2509 #. type: =item
2510 #: ../cat/virt-ls.pod:199 ../libguestfs-1.11.20/cat/virt-ls.pod:199
2511 msgid "uid"
2512 msgstr ""
2513
2514 #. type: =item
2515 #: ../cat/virt-ls.pod:201 ../libguestfs-1.11.20/cat/virt-ls.pod:201
2516 msgid "gid"
2517 msgstr ""
2518
2519 #. type: textblock
2520 #: ../cat/virt-ls.pod:203 ../libguestfs-1.11.20/cat/virt-ls.pod:203
2521 msgid ""
2522 "The UID and GID of the owner of the file (displayed numerically).  Note "
2523 "these only make sense in the context of a Unix-like guest."
2524 msgstr ""
2525
2526 #. type: textblock
2527 #: ../cat/virt-ls.pod:208 ../libguestfs-1.11.20/cat/virt-ls.pod:208
2528 msgid "With the I<--times> flag, these additional fields are displayed:"
2529 msgstr ""
2530
2531 #. type: =item
2532 #: ../cat/virt-ls.pod:212 ../libguestfs-1.11.20/cat/virt-ls.pod:212
2533 msgid "atime"
2534 msgstr ""
2535
2536 #. type: textblock
2537 #: ../cat/virt-ls.pod:214 ../libguestfs-1.11.20/cat/virt-ls.pod:214
2538 msgid "The time of last access."
2539 msgstr ""
2540
2541 #. type: =item
2542 #: ../cat/virt-ls.pod:216 ../libguestfs-1.11.20/cat/virt-ls.pod:216
2543 msgid "mtime"
2544 msgstr ""
2545
2546 #. type: textblock
2547 #: ../cat/virt-ls.pod:218 ../libguestfs-1.11.20/cat/virt-ls.pod:218
2548 msgid "The time of last modification."
2549 msgstr ""
2550
2551 #. type: =item
2552 #: ../cat/virt-ls.pod:220 ../libguestfs-1.11.20/cat/virt-ls.pod:220
2553 msgid "ctime"
2554 msgstr ""
2555
2556 #. type: textblock
2557 #: ../cat/virt-ls.pod:222 ../libguestfs-1.11.20/cat/virt-ls.pod:222
2558 msgid "The time of last status change."
2559 msgstr ""
2560
2561 #. type: textblock
2562 #: ../cat/virt-ls.pod:226 ../libguestfs-1.11.20/cat/virt-ls.pod:226
2563 msgid ""
2564 "The time fields are displayed as string dates and times, unless one of the "
2565 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2566 msgstr ""
2567
2568 #. type: textblock
2569 #: ../cat/virt-ls.pod:229 ../libguestfs-1.11.20/cat/virt-ls.pod:229
2570 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2571 msgstr ""
2572
2573 #. type: =item
2574 #: ../cat/virt-ls.pod:233 ../libguestfs-1.11.20/cat/virt-ls.pod:233
2575 msgid "device"
2576 msgstr ""
2577
2578 #. type: textblock
2579 #: ../cat/virt-ls.pod:235 ../libguestfs-1.11.20/cat/virt-ls.pod:235
2580 msgid ""
2581 "The device containing the file (displayed as major:minor).  This may not "
2582 "match devices as known to the guest."
2583 msgstr ""
2584
2585 #. type: =item
2586 #: ../cat/virt-ls.pod:238 ../libguestfs-1.11.20/cat/virt-ls.pod:238
2587 msgid "inode"
2588 msgstr ""
2589
2590 #. type: textblock
2591 #: ../cat/virt-ls.pod:240 ../libguestfs-1.11.20/cat/virt-ls.pod:240
2592 msgid "The inode number."
2593 msgstr ""
2594
2595 #. type: =item
2596 #: ../cat/virt-ls.pod:242 ../libguestfs-1.11.20/cat/virt-ls.pod:242
2597 msgid "nlink"
2598 msgstr ""
2599
2600 #. type: textblock
2601 #: ../cat/virt-ls.pod:244 ../libguestfs-1.11.20/cat/virt-ls.pod:244
2602 msgid "The number of hard links."
2603 msgstr ""
2604
2605 #. type: =item
2606 #: ../cat/virt-ls.pod:246 ../libguestfs-1.11.20/cat/virt-ls.pod:246
2607 msgid "rdev"
2608 msgstr ""
2609
2610 #. type: textblock
2611 #: ../cat/virt-ls.pod:248 ../libguestfs-1.11.20/cat/virt-ls.pod:248
2612 msgid ""
2613 "For block and char special files, the device (displayed as major:minor)."
2614 msgstr ""
2615
2616 #. type: =item
2617 #: ../cat/virt-ls.pod:251 ../libguestfs-1.11.20/cat/virt-ls.pod:251
2618 msgid "blocks"
2619 msgstr ""
2620
2621 #. type: textblock
2622 #: ../cat/virt-ls.pod:253 ../libguestfs-1.11.20/cat/virt-ls.pod:253
2623 msgid "The number of 512 byte blocks allocated to the file."
2624 msgstr ""
2625
2626 #. type: textblock
2627 #: ../cat/virt-ls.pod:257 ../libguestfs-1.11.20/cat/virt-ls.pod:257
2628 msgid ""
2629 "With the I<--checksum> flag, the checksum of the file contents is shown "
2630 "(only for regular files).  Computing file checksums can take a considerable "
2631 "amount of time."
2632 msgstr ""
2633
2634 #. type: =item
2635 #: ../cat/virt-ls.pod:280 ../libguestfs-1.11.20/cat/virt-ls.pod:280
2636 msgid "B<--checksum>"
2637 msgstr ""
2638
2639 #. type: =item
2640 #: ../cat/virt-ls.pod:282 ../libguestfs-1.11.20/cat/virt-ls.pod:282
2641 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2642 msgstr ""
2643
2644 #. type: textblock
2645 #: ../cat/virt-ls.pod:284 ../libguestfs-1.11.20/cat/virt-ls.pod:284
2646 msgid ""
2647 "Display checksum over file contents for regular files.  With no argument, "
2648 "this defaults to using I<md5>.  Using an argument, you can select the "
2649 "checksum type to use."
2650 msgstr ""
2651
2652 #. type: textblock
2653 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2654 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2655 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2656 #: ../libguestfs-1.11.20/cat/virt-ls.pod:288
2657 #: ../libguestfs-1.11.20/cat/virt-ls.pod:325
2658 #: ../libguestfs-1.11.20/cat/virt-ls.pod:358
2659 #: ../libguestfs-1.11.20/cat/virt-ls.pod:391
2660 #: ../libguestfs-1.11.20/cat/virt-ls.pod:401
2661 #: ../libguestfs-1.11.20/cat/virt-ls.pod:408
2662 #: ../libguestfs-1.11.20/cat/virt-ls.pod:415
2663 #: ../libguestfs-1.11.20/cat/virt-ls.pod:422
2664 msgid ""
2665 "This option only has effect in I<-lR> output mode.  See L</RECURSIVE LONG "
2666 "LISTING> above."
2667 msgstr ""
2668
2669 #. type: textblock
2670 #: ../cat/virt-ls.pod:316 ../libguestfs-1.11.20/cat/virt-ls.pod:316
2671 msgid ""
2672 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2673 "so you cannot see what you are typing.  If you are not worried about Tempest "
2674 "attacks and there is no one else in the room you can specify this flag to "
2675 "see what you are typing."
2676 msgstr ""
2677
2678 #. type: =item
2679 #: ../cat/virt-ls.pod:321 ../libguestfs-1.11.20/cat/virt-ls.pod:321
2680 msgid "B<--extra-stats>"
2681 msgstr ""
2682
2683 #. type: textblock
2684 #: ../cat/virt-ls.pod:323 ../libguestfs-1.11.20/cat/virt-ls.pod:323
2685 msgid "Display extra stats."
2686 msgstr ""
2687
2688 #. type: verbatim
2689 #: ../cat/virt-ls.pod:339 ../libguestfs-1.11.20/cat/virt-ls.pod:339
2690 #, no-wrap
2691 msgid ""
2692 " virt-ls --format=raw -a disk.img /dir\n"
2693 "\n"
2694 msgstr ""
2695
2696 #. type: verbatim
2697 #: ../cat/virt-ls.pod:343 ../libguestfs-1.11.20/cat/virt-ls.pod:343
2698 #, no-wrap
2699 msgid ""
2700 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2701 "\n"
2702 msgstr ""
2703
2704 #. type: textblock
2705 #: ../cat/virt-ls.pod:356 ../libguestfs-1.11.20/cat/virt-ls.pod:356
2706 msgid "Display file sizes in human-readable format."
2707 msgstr ""
2708
2709 #. type: =item
2710 #: ../cat/virt-ls.pod:370 ../libguestfs-1.11.20/cat/virt-ls.pod:370
2711 msgid "B<-R>"
2712 msgstr ""
2713
2714 #. type: =item
2715 #: ../cat/virt-ls.pod:372 ../libguestfs-1.11.20/cat/virt-ls.pod:372
2716 msgid "B<--recursive>"
2717 msgstr ""
2718
2719 #. type: textblock
2720 #: ../cat/virt-ls.pod:374 ../libguestfs-1.11.20/cat/virt-ls.pod:374
2721 msgid ""
2722 "Select the mode.  With neither of these options, C<virt-ls> produces a "
2723 "simple, flat list of the files in the named directory.  See L</SIMPLE "
2724 "LISTING>."
2725 msgstr ""
2726
2727 #. type: textblock
2728 #: ../cat/virt-ls.pod:378 ../libguestfs-1.11.20/cat/virt-ls.pod:378
2729 msgid ""
2730 "C<virt-ls -l> produces a \"long listing\", which shows more detail.  See L</"
2731 "LONG LISTING>."
2732 msgstr ""
2733
2734 #. type: textblock
2735 #: ../cat/virt-ls.pod:381 ../libguestfs-1.11.20/cat/virt-ls.pod:381
2736 msgid ""
2737 "C<virt-ls -R> produces a recursive list of files starting at the named "
2738 "directory.  See L</RECURSIVE LISTING>."
2739 msgstr ""
2740
2741 #. type: textblock
2742 #: ../cat/virt-ls.pod:384 ../libguestfs-1.11.20/cat/virt-ls.pod:384
2743 msgid ""
2744 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2745 "parsed.  See L</RECURSIVE LONG LISTING>."
2746 msgstr ""
2747
2748 #. type: =item
2749 #: ../cat/virt-ls.pod:387 ../libguestfs-1.11.20/cat/virt-ls.pod:387
2750 msgid "B<--times>"
2751 msgstr ""
2752
2753 #. type: textblock
2754 #: ../cat/virt-ls.pod:389 ../libguestfs-1.11.20/cat/virt-ls.pod:389
2755 msgid "Display time fields."
2756 msgstr ""
2757
2758 #. type: =item
2759 #: ../cat/virt-ls.pod:394 ../libguestfs-1.11.20/cat/virt-ls.pod:394
2760 msgid "B<--time-days>"
2761 msgstr ""
2762
2763 #. type: textblock
2764 #: ../cat/virt-ls.pod:396 ../libguestfs-1.11.20/cat/virt-ls.pod:396
2765 msgid "Display time fields as days before now (negative if in the future)."
2766 msgstr ""
2767
2768 #. type: textblock
2769 #: ../cat/virt-ls.pod:398 ../libguestfs-1.11.20/cat/virt-ls.pod:398
2770 msgid ""
2771 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
2772 "of the file is between 0 and 86399 seconds."
2773 msgstr ""
2774
2775 #. type: =item
2776 #: ../cat/virt-ls.pod:404 ../libguestfs-1.11.20/cat/virt-ls.pod:404
2777 msgid "B<--time-relative>"
2778 msgstr ""
2779
2780 #. type: textblock
2781 #: ../cat/virt-ls.pod:406 ../libguestfs-1.11.20/cat/virt-ls.pod:406
2782 msgid "Display time fields as seconds before now (negative if in the future)."
2783 msgstr ""
2784
2785 #. type: =item
2786 #: ../cat/virt-ls.pod:411 ../libguestfs-1.11.20/cat/virt-ls.pod:411
2787 msgid "B<--time-t>"
2788 msgstr ""
2789
2790 #. type: textblock
2791 #: ../cat/virt-ls.pod:413 ../libguestfs-1.11.20/cat/virt-ls.pod:413
2792 msgid "Display time fields as seconds since the Unix epoch."
2793 msgstr ""
2794
2795 #. type: =item
2796 #: ../cat/virt-ls.pod:418 ../libguestfs-1.11.20/cat/virt-ls.pod:418
2797 msgid "B<--uids>"
2798 msgstr ""
2799
2800 #. type: textblock
2801 #: ../cat/virt-ls.pod:420 ../libguestfs-1.11.20/cat/virt-ls.pod:420
2802 msgid "Display UID and GID fields."
2803 msgstr ""
2804
2805 #. type: textblock
2806 #: ../cat/virt-ls.pod:445 ../libguestfs-1.11.20/cat/virt-ls.pod:445
2807 msgid "Previous versions of virt-ls allowed you to write either:"
2808 msgstr ""
2809
2810 #. type: verbatim
2811 #: ../cat/virt-ls.pod:447 ../libguestfs-1.11.20/cat/virt-ls.pod:447
2812 #, no-wrap
2813 msgid ""
2814 " virt-ls disk.img [disk.img ...] /dir\n"
2815 "\n"
2816 msgstr ""
2817
2818 #. type: verbatim
2819 #: ../cat/virt-ls.pod:451 ../libguestfs-1.11.20/cat/virt-ls.pod:451
2820 #, no-wrap
2821 msgid ""
2822 " virt-ls guestname /dir\n"
2823 "\n"
2824 msgstr ""
2825
2826 #. type: textblock
2827 #: ../cat/virt-ls.pod:492 ../libguestfs-1.11.20/cat/virt-ls.pod:492
2828 msgid ""
2829 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
2830 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
2831 "L<http://libguestfs.org/>."
2832 msgstr ""
2833
2834 #. type: textblock
2835 #: ../cat/virt-ls.pod:508 ../df/virt-df.pod:230 ../edit/virt-edit.pod:369
2836 #: ../libguestfs-1.11.20/cat/virt-ls.pod:508
2837 #: ../libguestfs-1.11.20/df/virt-df.pod:230
2838 #: ../libguestfs-1.11.20/edit/virt-edit.pod:369
2839 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:298
2840 #: ../rescue/virt-rescue.pod:298
2841 msgid "Copyright (C) 2009-2011 Red Hat Inc."
2842 msgstr ""
2843
2844 #. type: textblock
2845 #: ../df/virt-df.pod:5 ../libguestfs-1.11.20/df/virt-df.pod:5
2846 msgid "virt-df - Display free space on virtual filesystems"
2847 msgstr ""
2848
2849 #. type: verbatim
2850 #: ../df/virt-df.pod:9 ../libguestfs-1.11.20/df/virt-df.pod:9
2851 #, no-wrap
2852 msgid ""
2853 " virt-df [--options]\n"
2854 "\n"
2855 msgstr ""
2856
2857 #. type: verbatim
2858 #: ../df/virt-df.pod:11 ../libguestfs-1.11.20/df/virt-df.pod:11
2859 #, no-wrap
2860 msgid ""
2861 " virt-df [--options] -d domname\n"
2862 "\n"
2863 msgstr ""
2864
2865 #. type: verbatim
2866 #: ../df/virt-df.pod:13 ../libguestfs-1.11.20/df/virt-df.pod:13
2867 #, no-wrap
2868 msgid ""
2869 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
2870 "\n"
2871 msgstr ""
2872
2873 #. type: verbatim
2874 #: ../df/virt-df.pod:17 ../libguestfs-1.11.20/df/virt-df.pod:17
2875 #, no-wrap
2876 msgid ""
2877 " virt-df [--options] domname\n"
2878 "\n"
2879 msgstr ""
2880
2881 #. type: verbatim
2882 #: ../df/virt-df.pod:19 ../libguestfs-1.11.20/df/virt-df.pod:19
2883 #, no-wrap
2884 msgid ""
2885 " virt-df [--options] disk.img [disk.img ...]\n"
2886 "\n"
2887 msgstr ""
2888
2889 #. type: textblock
2890 #: ../df/virt-df.pod:23 ../libguestfs-1.11.20/df/virt-df.pod:23
2891 msgid ""
2892 "C<virt-df> is a command line tool to display free space on virtual machine "
2893 "filesystems.  Unlike other tools, it doesn't just display the size of disk "
2894 "allocated to a virtual machine, but can look inside disk images to see how "
2895 "much space is really being used."
2896 msgstr ""
2897
2898 #. type: textblock
2899 #: ../df/virt-df.pod:28 ../libguestfs-1.11.20/df/virt-df.pod:28
2900 msgid ""
2901 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt "
2902 "to get a list of all active and inactive guests, and performs a C<df>-type "
2903 "operation on each one in turn, printing out the results."
2904 msgstr ""
2905
2906 #. type: textblock
2907 #: ../df/virt-df.pod:32 ../libguestfs-1.11.20/df/virt-df.pod:32
2908 msgid ""
2909 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a C<df>-"
2910 "type operation on either the single named libvirt domain, or on the disk "
2911 "image(s) listed on the command line (which must all belong to a single VM).  "
2912 "In this mode (with arguments), C<virt-df> will I<only work for a single "
2913 "guest>.  If you want to run on multiple guests, then you have to invoke "
2914 "C<virt-df> multiple times."
2915 msgstr ""
2916
2917 #. type: textblock
2918 #: ../df/virt-df.pod:39 ../libguestfs-1.11.20/df/virt-df.pod:39
2919 msgid ""
2920 "Use the I<--csv> option to get a format which can be easily parsed by other "
2921 "programs.  Other options are similar to the standard L<df(1)> command."
2922 msgstr ""
2923
2924 #. type: textblock
2925 #: ../df/virt-df.pod:45 ../libguestfs-1.11.20/df/virt-df.pod:45
2926 msgid ""
2927 "Show disk usage for a single libvirt guest called C<F14x64>.  Make the "
2928 "output human-readable:"
2929 msgstr ""
2930
2931 #. type: verbatim
2932 #: ../df/virt-df.pod:48 ../libguestfs-1.11.20/df/virt-df.pod:48
2933 #, no-wrap
2934 msgid ""
2935 " # virt-df -d F14x64 -h\n"
2936 " Filesystem                       Size     Used  Available  Use%\n"
2937 " F14x64:/dev/sda1                 484M      66M       393M   14%\n"
2938 " F14x64:/dev/vg_f13x64/lv_root    7.4G     3.4G       4.0G   46%\n"
2939 "\n"
2940 msgstr ""
2941
2942 #. type: textblock
2943 #: ../df/virt-df.pod:53 ../libguestfs-1.11.20/df/virt-df.pod:53
2944 msgid "Show disk usage for a disk image file called C<test.img>:"
2945 msgstr ""
2946
2947 #. type: verbatim
2948 #: ../df/virt-df.pod:55 ../libguestfs-1.11.20/df/virt-df.pod:55
2949 #, no-wrap
2950 msgid ""
2951 " $ virt-df -a test1.img\n"
2952 " Filesystem                  1K-blocks     Used  Available  Use%\n"
2953 " test1.img:/dev/sda1             99099     1551      92432    2%\n"
2954 "\n"
2955 msgstr ""
2956
2957 #. type: verbatim
2958 #: ../df/virt-df.pod:106 ../libguestfs-1.11.20/df/virt-df.pod:106
2959 #, no-wrap
2960 msgid ""
2961 " virt-df --format=raw -a disk.img\n"
2962 "\n"
2963 msgstr ""
2964
2965 #. type: verbatim
2966 #: ../df/virt-df.pod:110 ../libguestfs-1.11.20/df/virt-df.pod:110
2967 #, no-wrap
2968 msgid ""
2969 " virt-df --format=raw -a disk.img --format -a another.img\n"
2970 "\n"
2971 msgstr ""
2972
2973 #. type: textblock
2974 #: ../df/virt-df.pod:123 ../libguestfs-1.11.20/df/virt-df.pod:123
2975 msgid "Print sizes in human-readable format."
2976 msgstr ""
2977
2978 #. type: textblock
2979 #: ../df/virt-df.pod:125 ../libguestfs-1.11.20/df/virt-df.pod:125
2980 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
2981 msgstr ""
2982
2983 #. type: =item
2984 #: ../df/virt-df.pod:127 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:155
2985 #: ../libguestfs-1.11.20/df/virt-df.pod:127
2986 #: ../libguestfs-1.11.20/fish/guestfish.pod:258
2987 #: ../libguestfs-1.11.20/fuse/guestmount.pod:155
2988 msgid "B<-i>"
2989 msgstr ""
2990
2991 #. type: =item
2992 #: ../df/virt-df.pod:129 ../libguestfs-1.11.20/df/virt-df.pod:129
2993 msgid "B<--inodes>"
2994 msgstr ""
2995
2996 #. type: textblock
2997 #: ../df/virt-df.pod:131 ../libguestfs-1.11.20/df/virt-df.pod:131
2998 msgid "Print inodes instead of blocks."
2999 msgstr ""
3000
3001 #. type: =item
3002 #: ../df/virt-df.pod:133 ../libguestfs-1.11.20/df/virt-df.pod:133
3003 msgid "B<--one-per-guest>"
3004 msgstr ""
3005
3006 #. type: textblock
3007 #: ../df/virt-df.pod:135 ../libguestfs-1.11.20/df/virt-df.pod:135
3008 msgid ""
3009 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
3010 "disks from several guests to a single libguestfs appliance."
3011 msgstr ""
3012
3013 #. type: textblock
3014 #: ../df/virt-df.pod:138 ../libguestfs-1.11.20/df/virt-df.pod:138
3015 msgid "You might use this option in the following circumstances:"
3016 msgstr ""
3017
3018 #. type: =item
3019 #: ../df/virt-df.pod:142 ../df/virt-df.pod:148 ../edit/virt-edit.pod:266
3020 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
3021 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
3022 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
3023 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
3024 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
3025 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
3026 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
3027 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
3028 #: ../fish/guestfish-actions.pod:385 ../fish/guestfish-actions.pod:393
3029 #: ../fish/guestfish-actions.pod:400 ../fish/guestfish-actions.pod:407
3030 #: ../fish/guestfish-actions.pod:1099 ../fish/guestfish-actions.pod:1103
3031 #: ../fish/guestfish-actions.pod:1107 ../fish/guestfish-actions.pod:1111
3032 #: ../fish/guestfish-actions.pod:1119 ../fish/guestfish-actions.pod:1123
3033 #: ../fish/guestfish-actions.pod:1127 ../fish/guestfish-actions.pod:1137
3034 #: ../fish/guestfish-actions.pod:1141 ../fish/guestfish-actions.pod:1145
3035 #: ../fish/guestfish-actions.pod:1235 ../fish/guestfish-actions.pod:1239
3036 #: ../fish/guestfish-actions.pod:1244 ../fish/guestfish-actions.pod:1249
3037 #: ../fish/guestfish-actions.pod:1291 ../fish/guestfish-actions.pod:1295
3038 #: ../fish/guestfish-actions.pod:1300 ../fish/guestfish-actions.pod:1933
3039 #: ../fish/guestfish-actions.pod:1939 ../fish/guestfish-actions.pod:1947
3040 #: ../fish/guestfish-actions.pod:1954 ../fish/guestfish-actions.pod:1961
3041 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
3042 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
3043 #: ../inspector/virt-inspector.pod:384 ../inspector/virt-inspector.pod:388
3044 #: ../libguestfs-1.11.20/df/virt-df.pod:142
3045 #: ../libguestfs-1.11.20/df/virt-df.pod:148
3046 #: ../libguestfs-1.11.20/edit/virt-edit.pod:266
3047 #: ../libguestfs-1.11.20/edit/virt-edit.pod:271
3048 #: ../libguestfs-1.11.20/edit/virt-edit.pod:276
3049 #: ../libguestfs-1.11.20/edit/virt-edit.pod:287
3050 #: ../libguestfs-1.11.20/edit/virt-edit.pod:291
3051 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:98
3052 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:102
3053 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:106
3054 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:132
3055 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:137
3056 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:227
3057 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:231
3058 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:235
3059 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:239
3060 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:243
3061 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:13
3062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:20
3063 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:385
3064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:393
3065 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:400
3066 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:407
3067 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1099
3068 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1103
3069 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1107
3070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1111
3071 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1119
3072 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1123
3073 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1127
3074 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1137
3075 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1141
3076 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1145
3077 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1235
3078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1239
3079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1244
3080 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1249
3081 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1291
3082 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1295
3083 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1300
3084 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1933
3085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1939
3086 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1947
3087 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1954
3088 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1961
3089 #: ../libguestfs-1.11.20/fish/guestfish.pod:445
3090 #: ../libguestfs-1.11.20/fish/guestfish.pod:449
3091 #: ../libguestfs-1.11.20/fish/guestfish.pod:453
3092 #: ../libguestfs-1.11.20/fish/guestfish.pod:457
3093 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:384
3094 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:388
3095 #: ../libguestfs-1.11.20/resize/virt-resize.pod:282
3096 #: ../libguestfs-1.11.20/resize/virt-resize.pod:286
3097 #: ../libguestfs-1.11.20/resize/virt-resize.pod:295
3098 #: ../libguestfs-1.11.20/resize/virt-resize.pod:301
3099 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:15
3100 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:22
3101 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:583
3102 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:591
3103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:598
3104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:605
3105 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1662
3106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1666
3107 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1670
3108 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1674
3109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1682
3110 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1686
3111 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1690
3112 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1700
3113 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1704
3114 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1708
3115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1846
3116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1850
3117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1855
3118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1860
3119 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1921
3120 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1925
3121 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1930
3122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2859
3123 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2865
3124 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2873
3125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2880
3126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2887
3127 #: ../libguestfs-1.11.20/src/guestfs.pod:388
3128 #: ../libguestfs-1.11.20/src/guestfs.pod:393
3129 #: ../libguestfs-1.11.20/src/guestfs.pod:398
3130 #: ../libguestfs-1.11.20/src/guestfs.pod:402
3131 #: ../libguestfs-1.11.20/src/guestfs.pod:407
3132 #: ../libguestfs-1.11.20/src/guestfs.pod:411
3133 #: ../libguestfs-1.11.20/src/guestfs.pod:416
3134 #: ../libguestfs-1.11.20/src/guestfs.pod:421
3135 #: ../libguestfs-1.11.20/src/guestfs.pod:1064
3136 #: ../libguestfs-1.11.20/src/guestfs.pod:1068
3137 #: ../libguestfs-1.11.20/src/guestfs.pod:1072
3138 #: ../libguestfs-1.11.20/src/guestfs.pod:1077
3139 #: ../libguestfs-1.11.20/src/guestfs.pod:1085
3140 #: ../libguestfs-1.11.20/src/guestfs.pod:1104
3141 #: ../libguestfs-1.11.20/src/guestfs.pod:1112
3142 #: ../libguestfs-1.11.20/src/guestfs.pod:1134
3143 #: ../libguestfs-1.11.20/src/guestfs.pod:1138
3144 #: ../libguestfs-1.11.20/src/guestfs.pod:1142
3145 #: ../libguestfs-1.11.20/src/guestfs.pod:1146
3146 #: ../libguestfs-1.11.20/src/guestfs.pod:1150
3147 #: ../libguestfs-1.11.20/src/guestfs.pod:1154
3148 #: ../libguestfs-1.11.20/src/guestfs.pod:1643
3149 #: ../libguestfs-1.11.20/src/guestfs.pod:1648
3150 #: ../libguestfs-1.11.20/src/guestfs.pod:1652
3151 #: ../libguestfs-1.11.20/src/guestfs.pod:1754
3152 #: ../libguestfs-1.11.20/src/guestfs.pod:1759
3153 #: ../libguestfs-1.11.20/src/guestfs.pod:1763
3154 #: ../libguestfs-1.11.20/src/guestfs.pod:1773
3155 #: ../libguestfs-1.11.20/src/guestfs.pod:2047
3156 #: ../libguestfs-1.11.20/src/guestfs.pod:2052
3157 #: ../libguestfs-1.11.20/src/guestfs.pod:2058
3158 #: ../libguestfs-1.11.20/src/guestfs.pod:2066
3159 #: ../libguestfs-1.11.20/src/guestfs.pod:2420
3160 #: ../libguestfs-1.11.20/src/guestfs.pod:2426
3161 #: ../libguestfs-1.11.20/src/guestfs.pod:2431
3162 #: ../libguestfs-1.11.20/src/guestfs.pod:2437
3163 #: ../libguestfs-1.11.20/src/guestfs.pod:2818
3164 #: ../libguestfs-1.11.20/src/guestfs.pod:2822
3165 #: ../libguestfs-1.11.20/src/guestfs.pod:2826
3166 #: ../libguestfs-1.11.20/src/guestfs.pod:2830
3167 #: ../libguestfs-1.11.20/src/guestfs.pod:2844
3168 #: ../libguestfs-1.11.20/src/guestfs.pod:2849
3169 #: ../libguestfs-1.11.20/src/guestfs.pod:3063
3170 #: ../libguestfs-1.11.20/src/guestfs.pod:3067
3171 #: ../libguestfs-1.11.20/src/guestfs.pod:3071
3172 #: ../libguestfs-1.11.20/src/guestfs.pod:3075 ../resize/virt-resize.pod:282
3173 #: ../resize/virt-resize.pod:286 ../resize/virt-resize.pod:295
3174 #: ../resize/virt-resize.pod:301 ../src/guestfs-actions.pod:15
3175 #: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:583
3176 #: ../src/guestfs-actions.pod:591 ../src/guestfs-actions.pod:598
3177 #: ../src/guestfs-actions.pod:605 ../src/guestfs-actions.pod:1662
3178 #: ../src/guestfs-actions.pod:1666 ../src/guestfs-actions.pod:1670
3179 #: ../src/guestfs-actions.pod:1674 ../src/guestfs-actions.pod:1682
3180 #: ../src/guestfs-actions.pod:1686 ../src/guestfs-actions.pod:1690
3181 #: ../src/guestfs-actions.pod:1700 ../src/guestfs-actions.pod:1704
3182 #: ../src/guestfs-actions.pod:1708 ../src/guestfs-actions.pod:1846
3183 #: ../src/guestfs-actions.pod:1850 ../src/guestfs-actions.pod:1855
3184 #: ../src/guestfs-actions.pod:1860 ../src/guestfs-actions.pod:1921
3185 #: ../src/guestfs-actions.pod:1925 ../src/guestfs-actions.pod:1930
3186 #: ../src/guestfs-actions.pod:2859 ../src/guestfs-actions.pod:2865
3187 #: ../src/guestfs-actions.pod:2873 ../src/guestfs-actions.pod:2880
3188 #: ../src/guestfs-actions.pod:2887 ../src/guestfs.pod:388
3189 #: ../src/guestfs.pod:393 ../src/guestfs.pod:398 ../src/guestfs.pod:402
3190 #: ../src/guestfs.pod:407 ../src/guestfs.pod:411 ../src/guestfs.pod:416
3191 #: ../src/guestfs.pod:421 ../src/guestfs.pod:1064 ../src/guestfs.pod:1068
3192 #: ../src/guestfs.pod:1072 ../src/guestfs.pod:1077 ../src/guestfs.pod:1085
3193 #: ../src/guestfs.pod:1104 ../src/guestfs.pod:1112 ../src/guestfs.pod:1134
3194 #: ../src/guestfs.pod:1138 ../src/guestfs.pod:1142 ../src/guestfs.pod:1146
3195 #: ../src/guestfs.pod:1150 ../src/guestfs.pod:1154 ../src/guestfs.pod:1643
3196 #: ../src/guestfs.pod:1648 ../src/guestfs.pod:1652 ../src/guestfs.pod:1754
3197 #: ../src/guestfs.pod:1759 ../src/guestfs.pod:1763 ../src/guestfs.pod:1773
3198 #: ../src/guestfs.pod:2047 ../src/guestfs.pod:2052 ../src/guestfs.pod:2058
3199 #: ../src/guestfs.pod:2066 ../src/guestfs.pod:2420 ../src/guestfs.pod:2426
3200 #: ../src/guestfs.pod:2431 ../src/guestfs.pod:2437 ../src/guestfs.pod:2818
3201 #: ../src/guestfs.pod:2822 ../src/guestfs.pod:2826 ../src/guestfs.pod:2830
3202 #: ../src/guestfs.pod:2844 ../src/guestfs.pod:2849 ../src/guestfs.pod:3063
3203 #: ../src/guestfs.pod:3067 ../src/guestfs.pod:3071 ../src/guestfs.pod:3075
3204 #: ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202
3205 #: ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:710
3206 #: ../tools/virt-win-reg.pl:716 ../tools/virt-win-reg.pl:722
3207 msgid "*"
3208 msgstr ""
3209
3210 #. type: textblock
3211 #: ../df/virt-df.pod:144 ../libguestfs-1.11.20/df/virt-df.pod:144
3212 msgid ""
3213 "If you think an untrusted guest might actively try to exploit the libguestfs "
3214 "appliance kernel, then this prevents one guest from interfering with the "
3215 "stats printed for another guest."
3216 msgstr ""
3217
3218 #. type: textblock
3219 #: ../df/virt-df.pod:150 ../libguestfs-1.11.20/df/virt-df.pod:150
3220 msgid ""
3221 "If the kernel has a bug which stops it from accessing a filesystem in one "
3222 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
3223 "and report stats for further guests."
3224 msgstr ""
3225
3226 #. type: textblock
3227 #: ../df/virt-df.pod:159 ../libguestfs-1.11.20/df/virt-df.pod:159
3228 msgid ""
3229 "Print UUIDs instead of names.  This is useful for following a guest even "
3230 "when the guest is migrated or renamed, or when two guests happen to have the "
3231 "same name."
3232 msgstr ""
3233
3234 #. type: textblock
3235 #: ../df/virt-df.pod:163 ../libguestfs-1.11.20/df/virt-df.pod:163
3236 msgid ""
3237 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk "
3238 "images, we still print the disk image name even when this option is "
3239 "specified."
3240 msgstr ""
3241
3242 #. type: textblock
3243 #: ../df/virt-df.pod:218 ../libguestfs-1.11.20/df/virt-df.pod:218
3244 msgid ""
3245 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<http://"
3246 "libguestfs.org/>."
3247 msgstr ""
3248
3249 #. type: textblock
3250 #: ../edit/virt-edit.pod:5 ../libguestfs-1.11.20/edit/virt-edit.pod:5
3251 msgid "virt-edit - Edit a file in a virtual machine"
3252 msgstr ""
3253
3254 #. type: verbatim
3255 #: ../edit/virt-edit.pod:9 ../libguestfs-1.11.20/edit/virt-edit.pod:9
3256 #, no-wrap
3257 msgid ""
3258 " virt-edit [--options] -d domname file [file ...]\n"
3259 "\n"
3260 msgstr ""
3261
3262 #. type: verbatim
3263 #: ../edit/virt-edit.pod:11 ../libguestfs-1.11.20/edit/virt-edit.pod:11
3264 #, no-wrap
3265 msgid ""
3266 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
3267 "\n"
3268 msgstr ""
3269
3270 #. type: verbatim
3271 #: ../edit/virt-edit.pod:13 ../libguestfs-1.11.20/edit/virt-edit.pod:13
3272 #, no-wrap
3273 msgid ""
3274 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
3275 "\n"
3276 msgstr ""
3277
3278 #. type: verbatim
3279 #: ../edit/virt-edit.pod:17 ../libguestfs-1.11.20/edit/virt-edit.pod:17
3280 #, no-wrap
3281 msgid ""
3282 " virt-edit domname file\n"
3283 "\n"
3284 msgstr ""
3285
3286 #. type: verbatim
3287 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
3288 #: ../libguestfs-1.11.20/edit/virt-edit.pod:19
3289 #: ../libguestfs-1.11.20/edit/virt-edit.pod:183
3290 #, no-wrap
3291 msgid ""
3292 " virt-edit disk.img [disk.img ...] file\n"
3293 "\n"
3294 msgstr ""
3295
3296 #. type: =head1
3297 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
3298 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
3299 #: ../fuse/guestmount.pod:15 ../libguestfs-1.11.20/edit/virt-edit.pod:21
3300 #: ../libguestfs-1.11.20/fish/guestfish.pod:23
3301 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:13
3302 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:15
3303 #: ../libguestfs-1.11.20/fuse/guestmount.pod:15
3304 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:19
3305 #: ../rescue/virt-rescue.pod:19 ../tools/virt-tar.pl:64
3306 #: ../tools/virt-win-reg.pl:51
3307 msgid "WARNING"
3308 msgstr ""
3309
3310 #. type: textblock
3311 #: ../edit/virt-edit.pod:23 ../libguestfs-1.11.20/edit/virt-edit.pod:23
3312 msgid ""
3313 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
3314 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
3315 "doing this, but doesn't catch all cases."
3316 msgstr ""
3317
3318 #. type: textblock
3319 #: ../edit/virt-edit.pod:29 ../libguestfs-1.11.20/edit/virt-edit.pod:29
3320 msgid ""
3321 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
3322 "exists in the named virtual machine (or disk image)."
3323 msgstr ""
3324
3325 #. type: textblock
3326 #: ../edit/virt-edit.pod:32 ../libguestfs-1.11.20/edit/virt-edit.pod:32
3327 msgid ""
3328 "Multiple filenames can be given, in which case they are each edited in "
3329 "turn.  Each filename must be a full path, starting at the root directory "
3330 "(starting with '/')."
3331 msgstr ""
3332
3333 #. type: textblock
3334 #: ../edit/virt-edit.pod:36 ../libguestfs-1.11.20/edit/virt-edit.pod:36
3335 msgid "If you want to just view a file, use L<virt-cat(1)>."
3336 msgstr ""
3337
3338 #. type: textblock
3339 #: ../edit/virt-edit.pod:38 ../libguestfs-1.11.20/edit/virt-edit.pod:38
3340 msgid ""
3341 "For more complex cases you should look at the L<guestfish(1)> tool (see L</"
3342 "USING GUESTFISH> below)."
3343 msgstr ""
3344
3345 #. type: textblock
3346 #: ../edit/virt-edit.pod:41 ../libguestfs-1.11.20/edit/virt-edit.pod:41
3347 msgid ""
3348 "C<virt-edit> cannot be used to create a new file.  L<guestfish(1)> can do "
3349 "that and much more."
3350 msgstr ""
3351
3352 #. type: textblock
3353 #: ../edit/virt-edit.pod:46 ../libguestfs-1.11.20/edit/virt-edit.pod:46
3354 msgid "Edit the named files interactively:"
3355 msgstr ""
3356
3357 #. type: verbatim
3358 #: ../edit/virt-edit.pod:48 ../libguestfs-1.11.20/edit/virt-edit.pod:48
3359 #, no-wrap
3360 msgid ""
3361 " virt-edit -d mydomain /boot/grub/grub.conf\n"
3362 "\n"
3363 msgstr ""
3364
3365 #. type: verbatim
3366 #: ../edit/virt-edit.pod:50 ../libguestfs-1.11.20/edit/virt-edit.pod:50
3367 #, no-wrap
3368 msgid ""
3369 " virt-edit -d mydomain /etc/passwd\n"
3370 "\n"
3371 msgstr ""
3372
3373 #. type: textblock
3374 #: ../edit/virt-edit.pod:52 ../libguestfs-1.11.20/edit/virt-edit.pod:52
3375 msgid "For Windows guests, some Windows paths are understood:"
3376 msgstr ""
3377
3378 #. type: verbatim
3379 #: ../edit/virt-edit.pod:54 ../libguestfs-1.11.20/edit/virt-edit.pod:54
3380 #, no-wrap
3381 msgid ""
3382 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
3383 "\n"
3384 msgstr ""
3385
3386 #. type: textblock
3387 #: ../edit/virt-edit.pod:56 ../libguestfs-1.11.20/edit/virt-edit.pod:56
3388 msgid ""
3389 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
3390 "INTERACTIVE EDITING> below).  To change the init default level to 5:"
3391 msgstr ""
3392
3393 #. type: verbatim
3394 #: ../edit/virt-edit.pod:60 ../libguestfs-1.11.20/edit/virt-edit.pod:60
3395 #, no-wrap
3396 msgid ""
3397 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
3398 "\n"
3399 msgstr ""
3400
3401 #. type: =item
3402 #: ../edit/virt-edit.pod:81 ../libguestfs-1.11.20/edit/virt-edit.pod:81
3403 msgid "B<-b> extension"
3404 msgstr ""
3405
3406 #. type: =item
3407 #: ../edit/virt-edit.pod:83 ../libguestfs-1.11.20/edit/virt-edit.pod:83
3408 msgid "B<--backup> extension"
3409 msgstr ""
3410
3411 #. type: textblock
3412 #: ../edit/virt-edit.pod:85 ../libguestfs-1.11.20/edit/virt-edit.pod:85
3413 msgid ""
3414 "Create a backup of the original file I<in the guest disk image>.  The backup "
3415 "has the original filename with C<extension> added."
3416 msgstr ""
3417
3418 #. type: textblock
3419 #: ../edit/virt-edit.pod:88 ../libguestfs-1.11.20/edit/virt-edit.pod:88
3420 msgid ""
3421 "Usually the first character of C<extension> would be a dot C<.> so you would "
3422 "write:"
3423 msgstr ""
3424
3425 #. type: verbatim
3426 #: ../edit/virt-edit.pod:91 ../libguestfs-1.11.20/edit/virt-edit.pod:91
3427 #, no-wrap
3428 msgid ""
3429 " virt-edit -b .orig [etc]\n"
3430 "\n"
3431 msgstr ""
3432
3433 #. type: textblock
3434 #: ../edit/virt-edit.pod:93 ../libguestfs-1.11.20/edit/virt-edit.pod:93
3435 msgid "By default, no backup file is made."
3436 msgstr ""
3437
3438 #. type: =item
3439 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
3440 #: ../fuse/guestmount.pod:96 ../inspector/virt-inspector.pod:74
3441 #: ../libguestfs-1.11.20/edit/virt-edit.pod:95
3442 #: ../libguestfs-1.11.20/fish/guestfish.pod:181
3443 #: ../libguestfs-1.11.20/fuse/guestmount.pod:96
3444 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:74
3445 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
3446 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
3447 msgid "B<-c URI>"
3448 msgstr ""
3449
3450 #. type: =item
3451 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
3452 #: ../fuse/guestmount.pod:98 ../inspector/virt-inspector.pod:76
3453 #: ../libguestfs-1.11.20/edit/virt-edit.pod:97
3454 #: ../libguestfs-1.11.20/fish/guestfish.pod:183
3455 #: ../libguestfs-1.11.20/fuse/guestmount.pod:98
3456 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:76
3457 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
3458 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
3459 msgid "B<--connect URI>"
3460 msgstr ""
3461
3462 #. type: textblock
3463 #: ../edit/virt-edit.pod:102 ../libguestfs-1.11.20/edit/virt-edit.pod:102
3464 #: ../tools/virt-list-filesystems.pl:84 ../tools/virt-list-partitions.pl:85
3465 #: ../tools/virt-tar.pl:134 ../tools/virt-win-reg.pl:135
3466 msgid ""
3467 "If you specify guest block devices directly, then libvirt is not used at all."
3468 msgstr ""
3469
3470 #. type: textblock
3471 #: ../edit/virt-edit.pod:114 ../libguestfs-1.11.20/edit/virt-edit.pod:114
3472 msgid ""
3473 "When prompting for keys and passphrases, virt-edit normally turns echoing "
3474 "off so you cannot see what you are typing.  If you are not worried about "
3475 "Tempest attacks and there is no one else in the room you can specify this "
3476 "flag to see what you are typing."
3477 msgstr ""
3478
3479 #. type: =item
3480 #: ../edit/virt-edit.pod:119 ../libguestfs-1.11.20/edit/virt-edit.pod:119
3481 msgid "B<-e> EXPR"
3482 msgstr ""
3483
3484 #. type: =item
3485 #: ../edit/virt-edit.pod:121 ../libguestfs-1.11.20/edit/virt-edit.pod:121
3486 msgid "B<--expr> EXPR"
3487 msgstr ""
3488
3489 #. type: textblock
3490 #: ../edit/virt-edit.pod:123 ../libguestfs-1.11.20/edit/virt-edit.pod:123
3491 msgid ""
3492 "Instead of launching the external editor, non-interactively apply the Perl "
3493 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
3494 "EDITING> below."
3495 msgstr ""
3496
3497 #. type: textblock
3498 #: ../edit/virt-edit.pod:127 ../libguestfs-1.11.20/edit/virt-edit.pod:127
3499 msgid ""
3500 "Be careful to properly quote the expression to prevent it from being altered "
3501 "by the shell."
3502 msgstr ""
3503
3504 #. type: textblock
3505 #: ../edit/virt-edit.pod:130 ../libguestfs-1.11.20/edit/virt-edit.pod:130
3506 msgid "Note that this option is only available when Perl 5 is installed."
3507 msgstr ""
3508
3509 #. type: =item
3510 #: ../edit/virt-edit.pod:132 ../libguestfs-1.11.20/edit/virt-edit.pod:132
3511 msgid "B<--format> raw|qcow2|..."
3512 msgstr ""
3513
3514 #. type: verbatim
3515 #: ../edit/virt-edit.pod:143 ../libguestfs-1.11.20/edit/virt-edit.pod:143
3516 #, no-wrap
3517 msgid ""
3518 " virt-edit --format=raw -a disk.img file\n"
3519 "\n"
3520 msgstr ""
3521
3522 #. type: verbatim
3523 #: ../edit/virt-edit.pod:147 ../libguestfs-1.11.20/edit/virt-edit.pod:147
3524 #, no-wrap
3525 msgid ""
3526 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
3527 "\n"
3528 msgstr ""
3529
3530 #. type: textblock
3531 #: ../edit/virt-edit.pod:181 ../libguestfs-1.11.20/edit/virt-edit.pod:181
3532 msgid "Previous versions of virt-edit allowed you to write either:"
3533 msgstr ""
3534
3535 #. type: verbatim
3536 #: ../edit/virt-edit.pod:187 ../libguestfs-1.11.20/edit/virt-edit.pod:187
3537 #, no-wrap
3538 msgid ""
3539 " virt-edit guestname file\n"
3540 "\n"
3541 msgstr ""
3542
3543 #. type: =head1
3544 #: ../edit/virt-edit.pod:195 ../libguestfs-1.11.20/edit/virt-edit.pod:195
3545 msgid "NON-INTERACTIVE EDITING"
3546 msgstr ""
3547
3548 #. type: textblock
3549 #: ../edit/virt-edit.pod:197 ../libguestfs-1.11.20/edit/virt-edit.pod:197
3550 msgid ""
3551 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
3552 "administrator can interactively edit the file."
3553 msgstr ""
3554
3555 #. type: textblock
3556 #: ../edit/virt-edit.pod:200 ../libguestfs-1.11.20/edit/virt-edit.pod:200
3557 msgid ""
3558 "There are two ways also to use C<virt-edit> from scripts in order to make "
3559 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
3560 "like this, it's less error-prone to write scripts directly using the "
3561 "libguestfs API and Augeas for configuration file editing.)"
3562 msgstr ""
3563
3564 #. type: textblock
3565 #: ../edit/virt-edit.pod:206 ../libguestfs-1.11.20/edit/virt-edit.pod:206
3566 msgid ""
3567 "The first method is to temporarily set C<$EDITOR> to any script or program "
3568 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
3569 "update C<tmpfile> in place however it likes."
3570 msgstr ""
3571
3572 #. type: textblock
3573 #: ../edit/virt-edit.pod:210 ../libguestfs-1.11.20/edit/virt-edit.pod:210
3574 msgid ""
3575 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
3576 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
3577 "instances of C<foo> with C<bar> in a file:"
3578 msgstr ""
3579
3580 #. type: verbatim
3581 #: ../edit/virt-edit.pod:214 ../libguestfs-1.11.20/edit/virt-edit.pod:214
3582 #, no-wrap
3583 msgid ""
3584 " virt-edit -d domname filename -e 's/foo/bar/'\n"
3585 "\n"
3586 msgstr ""
3587
3588 #. type: textblock
3589 #: ../edit/virt-edit.pod:216 ../libguestfs-1.11.20/edit/virt-edit.pod:216
3590 msgid ""
3591 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
3592 "For example to delete root's password you could do:"
3593 msgstr ""
3594
3595 #. type: verbatim
3596 #: ../edit/virt-edit.pod:219 ../libguestfs-1.11.20/edit/virt-edit.pod:219
3597 #, no-wrap
3598 msgid ""
3599 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
3600 "\n"
3601 msgstr ""
3602
3603 #. type: textblock
3604 #: ../edit/virt-edit.pod:221 ../libguestfs-1.11.20/edit/virt-edit.pod:221
3605 msgid ""
3606 "What really happens is that the snippet is evaluated as a Perl expression "
3607 "for each line of the file.  The line, including the final C<\\n>, is passed "
3608 "in C<$_> and the expression should update C<$_> or leave it unchanged."
3609 msgstr ""
3610
3611 #. type: textblock
3612 #: ../edit/virt-edit.pod:226 ../libguestfs-1.11.20/edit/virt-edit.pod:226
3613 msgid ""
3614 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
3615 "C<apache> user account from the password file you can do:"
3616 msgstr ""
3617
3618 #. type: verbatim
3619 #: ../edit/virt-edit.pod:229 ../libguestfs-1.11.20/edit/virt-edit.pod:229
3620 #, no-wrap
3621 msgid ""
3622 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
3623 "\n"
3624 msgstr ""
3625
3626 #. type: textblock
3627 #: ../edit/virt-edit.pod:231 ../libguestfs-1.11.20/edit/virt-edit.pod:231
3628 msgid ""
3629 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
3630 "the end of the file is rather difficult this way since there is no concept "
3631 "of \"last line of the file\" - your expression just doesn't get called "
3632 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
3633 "want to do this."
3634 msgstr ""
3635
3636 #. type: textblock
3637 #: ../edit/virt-edit.pod:237 ../libguestfs-1.11.20/edit/virt-edit.pod:237
3638 msgid ""
3639 "The variable C<$lineno> contains the current line number.  As is "
3640 "traditional, the first line in the file is number C<1>."
3641 msgstr ""
3642
3643 #. type: textblock
3644 #: ../edit/virt-edit.pod:240 ../libguestfs-1.11.20/edit/virt-edit.pod:240
3645 msgid ""
3646 "The return value from the expression is ignored, but the expression may call "
3647 "C<die> in order to abort the whole program, leaving the original file "
3648 "untouched."
3649 msgstr ""
3650
3651 #. type: textblock
3652 #: ../edit/virt-edit.pod:244 ../libguestfs-1.11.20/edit/virt-edit.pod:244
3653 msgid ""
3654 "Remember when matching the end of a line that C<$_> may contain the final C<"
3655 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
3656 "newline then neither of these.  Thus to match or substitute some text at the "
3657 "end of a line, use this regular expression:"
3658 msgstr ""
3659
3660 #. type: verbatim
3661 #: ../edit/virt-edit.pod:249 ../libguestfs-1.11.20/edit/virt-edit.pod:249
3662 #, no-wrap
3663 msgid ""
3664 " /some text(\\r?\\n)?$/\n"
3665 "\n"
3666 msgstr ""
3667
3668 #. type: textblock
3669 #: ../edit/virt-edit.pod:251 ../libguestfs-1.11.20/edit/virt-edit.pod:251
3670 msgid ""
3671 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
3672 "$_> itself (since that would remove all newlines from the file):"
3673 msgstr ""
3674
3675 #. type: verbatim
3676 #: ../edit/virt-edit.pod:255 ../libguestfs-1.11.20/edit/virt-edit.pod:255
3677 #, no-wrap
3678 msgid ""
3679 " my $m = $_; chomp $m; $m =~ /some text$/\n"
3680 "\n"
3681 msgstr ""
3682
3683 #. type: =head1
3684 #: ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
3685 #: ../libguestfs-1.11.20/edit/virt-edit.pod:257
3686 #: ../libguestfs-1.11.20/fish/guestfish.pod:858
3687 msgid "WINDOWS PATHS"
3688 msgstr ""
3689
3690 #. type: textblock
3691 #: ../edit/virt-edit.pod:259 ../libguestfs-1.11.20/edit/virt-edit.pod:259
3692 msgid ""
3693 "C<virt-edit> has a limited ability to understand Windows drive letters and "
3694 "paths (eg. C<E:\\foo\\bar.txt>)."
3695 msgstr ""
3696
3697 #. type: textblock
3698 #: ../edit/virt-edit.pod:262 ../libguestfs-1.11.20/edit/virt-edit.pod:262
3699 msgid "If and only if the guest is running Windows then:"
3700 msgstr ""
3701
3702 #. type: textblock
3703 #: ../edit/virt-edit.pod:268 ../libguestfs-1.11.20/edit/virt-edit.pod:268
3704 msgid ""
3705 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
3706 "to the correct filesystem."
3707 msgstr ""
3708
3709 #. type: textblock
3710 #: ../edit/virt-edit.pod:273 ../libguestfs-1.11.20/edit/virt-edit.pod:273
3711 msgid ""
3712 "Any backslash (C<\\>) characters in the path are replaced with forward "
3713 "slashes so that libguestfs can process it."
3714 msgstr ""
3715
3716 #. type: textblock
3717 #: ../edit/virt-edit.pod:278 ../libguestfs-1.11.20/edit/virt-edit.pod:278
3718 msgid ""
3719 "The path is resolved case insensitively to locate the file that should be "
3720 "edited."
3721 msgstr ""
3722
3723 #. type: textblock
3724 #: ../edit/virt-edit.pod:283 ../libguestfs-1.11.20/edit/virt-edit.pod:283
3725 msgid "There are some known shortcomings:"
3726 msgstr ""
3727
3728 #. type: textblock
3729 #: ../edit/virt-edit.pod:289 ../libguestfs-1.11.20/edit/virt-edit.pod:289
3730 msgid "Some NTFS symbolic links may not be followed correctly."
3731 msgstr ""
3732
3733 #. type: textblock
3734 #: ../edit/virt-edit.pod:293 ../libguestfs-1.11.20/edit/virt-edit.pod:293
3735 msgid "NTFS junction points that cross filesystems are not followed."
3736 msgstr ""
3737
3738 #. type: textblock
3739 #: ../edit/virt-edit.pod:299 ../libguestfs-1.11.20/edit/virt-edit.pod:299
3740 msgid ""
3741 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
3742 "C<virt-edit> doesn't work."
3743 msgstr ""
3744
3745 #. type: textblock
3746 #: ../edit/virt-edit.pod:302 ../libguestfs-1.11.20/edit/virt-edit.pod:302
3747 msgid "Using C<virt-edit> is approximately equivalent to doing:"
3748 msgstr ""
3749
3750 #. type: verbatim
3751 #: ../edit/virt-edit.pod:304 ../libguestfs-1.11.20/edit/virt-edit.pod:304
3752 #, no-wrap
3753 msgid ""
3754 " guestfish --rw -i -d domname edit /file\n"
3755 "\n"
3756 msgstr ""
3757
3758 #. type: textblock
3759 #: ../edit/virt-edit.pod:306 ../libguestfs-1.11.20/edit/virt-edit.pod:306
3760 msgid ""
3761 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
3762 "path to the file."
3763 msgstr ""
3764
3765 #. type: textblock
3766 #: ../edit/virt-edit.pod:309 ../libguestfs-1.11.20/edit/virt-edit.pod:309
3767 msgid ""
3768 "The command above uses libguestfs's guest inspection feature and so does not "
3769 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
3770 "disk images that don't contain guests.  To edit a file on a disk image "
3771 "directly, use:"
3772 msgstr ""
3773
3774 #. type: verbatim
3775 #: ../edit/virt-edit.pod:314 ../libguestfs-1.11.20/edit/virt-edit.pod:314
3776 #, no-wrap
3777 msgid ""
3778 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
3779 "\n"
3780 msgstr ""
3781
3782 #. type: textblock
3783 #: ../edit/virt-edit.pod:316 ../libguestfs-1.11.20/edit/virt-edit.pod:316
3784 msgid ""
3785 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
3786 "the disk image to edit, and C</file> is the full path to the file."
3787 msgstr ""
3788
3789 #. type: textblock
3790 #: ../edit/virt-edit.pod:320 ../libguestfs-1.11.20/edit/virt-edit.pod:320
3791 msgid ""
3792 "C<virt-edit> cannot create new files.  Use the guestfish commands C<touch>, "
3793 "C<write> or C<upload> instead:"
3794 msgstr ""
3795
3796 #. type: verbatim
3797 #: ../edit/virt-edit.pod:323 ../libguestfs-1.11.20/edit/virt-edit.pod:323
3798 #, no-wrap
3799 msgid ""
3800 " guestfish --rw -i -d domname touch /newfile\n"
3801 "\n"
3802 msgstr ""
3803
3804 #. type: verbatim
3805 #: ../edit/virt-edit.pod:325 ../libguestfs-1.11.20/edit/virt-edit.pod:325
3806 #, no-wrap
3807 msgid ""
3808 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
3809 "\n"
3810 msgstr ""
3811
3812 #. type: verbatim
3813 #: ../edit/virt-edit.pod:327 ../libguestfs-1.11.20/edit/virt-edit.pod:327
3814 #, no-wrap
3815 msgid ""
3816 " guestfish --rw -i -d domname upload localfile /newfile\n"
3817 "\n"
3818 msgstr ""
3819
3820 #. type: =head1
3821 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1075
3822 #: ../libguestfs-1.11.20/edit/virt-edit.pod:329
3823 #: ../libguestfs-1.11.20/fish/guestfish.pod:1075
3824 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:257
3825 #: ../libguestfs-1.11.20/src/guestfs.pod:2960
3826 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:82
3827 #: ../rescue/virt-rescue.pod:257 ../src/guestfs.pod:2960
3828 #: ../test-tool/libguestfs-test-tool.pod:82
3829 msgid "ENVIRONMENT VARIABLES"
3830 msgstr ""
3831
3832 #. type: =item
3833 #: ../edit/virt-edit.pod:333 ../libguestfs-1.11.20/edit/virt-edit.pod:333
3834 msgid "C<EDITOR>"
3835 msgstr ""
3836
3837 #. type: textblock
3838 #: ../edit/virt-edit.pod:335 ../libguestfs-1.11.20/edit/virt-edit.pod:335
3839 msgid ""
3840 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
3841 "\"emacs -nw\">"
3842 msgstr ""
3843
3844 #. type: textblock
3845 #: ../edit/virt-edit.pod:338 ../libguestfs-1.11.20/edit/virt-edit.pod:338
3846 msgid "If not set, C<vi> is used."
3847 msgstr ""
3848
3849 #. type: textblock
3850 #: ../edit/virt-edit.pod:351 ../libguestfs-1.11.20/edit/virt-edit.pod:351
3851 msgid ""
3852 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
3853 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3854 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
3855 msgstr ""
3856
3857 #. type: textblock
3858 #: ../examples/guestfs-examples.pod:5
3859 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:5
3860 msgid "guestfs-examples - Examples of using libguestfs from C"
3861 msgstr ""
3862
3863 #. type: verbatim
3864 #: ../examples/guestfs-examples.pod:9
3865 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:9
3866 #: ../libguestfs-1.11.20/src/guestfs.pod:9 ../src/guestfs.pod:9
3867 #, no-wrap
3868 msgid ""
3869 " #include <guestfs.h>\n"
3870 " \n"
3871 msgstr ""
3872
3873 #. type: verbatim
3874 #: ../examples/guestfs-examples.pod:11
3875 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:11
3876 #, no-wrap
3877 msgid ""
3878 " guestfs_h *g = guestfs_create ();\n"
3879 " guestfs_add_drive_ro (g, \"disk.img\");\n"
3880 " guestfs_launch (g);\n"
3881 "\n"
3882 msgstr ""
3883
3884 #. type: verbatim
3885 #: ../examples/guestfs-examples.pod:15
3886 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:15
3887 #: ../libguestfs-1.11.20/src/guestfs.pod:19 ../src/guestfs.pod:19
3888 #, no-wrap
3889 msgid ""
3890 " cc prog.c -o prog -lguestfs\n"
3891 "or:\n"
3892 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
3893 "\n"
3894 msgstr ""
3895
3896 #. type: textblock
3897 #: ../examples/guestfs-examples.pod:21
3898 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:21
3899 msgid ""
3900 "This manual page contains examples of calling libguestfs from the C "
3901 "programming language.  If you are not familiar with using libguestfs, you "
3902 "also need to read L<guestfs(3)>."
3903 msgstr ""
3904
3905 #. type: =head1
3906 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
3907 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:25
3908 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:37
3909 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:70
3910 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:31
3911 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:34
3912 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:28
3913 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
3914 #: ../python/examples/guestfs-python.pod:34
3915 #: ../ruby/examples/guestfs-ruby.pod:28
3916 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
3917 msgstr ""
3918
3919 #. type: textblock
3920 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
3921 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:27
3922 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:39
3923 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:72
3924 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:33
3925 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:36
3926 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:30
3927 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
3928 #: ../python/examples/guestfs-python.pod:36
3929 #: ../ruby/examples/guestfs-ruby.pod:30
3930 msgid "@EXAMPLE1@"
3931 msgstr ""
3932
3933 #. type: =head1
3934 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
3935 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:29
3936 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:41
3937 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:74
3938 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:35
3939 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:38
3940 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:32
3941 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
3942 #: ../python/examples/guestfs-python.pod:38
3943 #: ../ruby/examples/guestfs-ruby.pod:32
3944 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
3945 msgstr ""
3946
3947 #. type: textblock
3948 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
3949 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:31
3950 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:43
3951 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:76
3952 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:37
3953 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:40
3954 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:34
3955 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
3956 #: ../python/examples/guestfs-python.pod:40
3957 #: ../ruby/examples/guestfs-ruby.pod:34
3958 msgid "@EXAMPLE2@"
3959 msgstr ""
3960
3961 #. type: textblock
3962 #: ../examples/guestfs-examples.pod:35
3963 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:35
3964 msgid ""
3965 "L<guestfs(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, "
3966 "L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
3967 "libguestfs.org/>."
3968 msgstr ""
3969
3970 #. type: =head1
3971 #: ../examples/guestfs-examples.pod:44 ../examples/guestfs-recipes.pod:396
3972 #: ../fish/guestfish.pod:1238 ../fish/virt-copy-in.pod:60
3973 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
3974 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:314
3975 #: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:57
3976 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:44
3977 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:396
3978 #: ../libguestfs-1.11.20/fish/guestfish.pod:1238
3979 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:60
3980 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:49
3981 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:58
3982 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:51
3983 #: ../libguestfs-1.11.20/fuse/guestmount.pod:314
3984 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:380
3985 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:57
3986 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:90
3987 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:51
3988 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:53
3989 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:47
3990 #: ../libguestfs-1.11.20/src/guestfs.pod:3082
3991 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:93
3992 #: ../ocaml/examples/guestfs-ocaml.pod:90 ../perl/examples/guestfs-perl.pod:51
3993 #: ../python/examples/guestfs-python.pod:53
3994 #: ../ruby/examples/guestfs-ruby.pod:47 ../src/guestfs.pod:3082
3995 #: ../test-tool/libguestfs-test-tool.pod:93
3996 msgid "AUTHORS"
3997 msgstr ""
3998
3999 #. type: textblock
4000 #: ../examples/guestfs-examples.pod:46 ../examples/guestfs-recipes.pod:398
4001 #: ../fish/guestfish.pod:1240 ../fish/virt-copy-in.pod:62
4002 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
4003 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:316
4004 #: ../java/examples/guestfs-java.pod:59
4005 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:46
4006 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:398
4007 #: ../libguestfs-1.11.20/fish/guestfish.pod:1240
4008 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:62
4009 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:51
4010 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:60
4011 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:53
4012 #: ../libguestfs-1.11.20/fuse/guestmount.pod:316
4013 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:59
4014 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:92
4015 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:53
4016 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:55
4017 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:49
4018 #: ../libguestfs-1.11.20/src/guestfs.pod:3084
4019 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:95
4020 #: ../ocaml/examples/guestfs-ocaml.pod:92 ../perl/examples/guestfs-perl.pod:53
4021 #: ../python/examples/guestfs-python.pod:55
4022 #: ../ruby/examples/guestfs-ruby.pod:49 ../src/guestfs.pod:3084
4023 #: ../test-tool/libguestfs-test-tool.pod:95
4024 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
4025 msgstr ""
4026
4027 #. type: textblock
4028 #: ../examples/guestfs-examples.pod:50
4029 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:50
4030 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:96
4031 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:59
4032 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:53
4033 #: ../ocaml/examples/guestfs-ocaml.pod:96
4034 #: ../python/examples/guestfs-python.pod:59
4035 #: ../ruby/examples/guestfs-ruby.pod:53
4036 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
4037 msgstr ""
4038
4039 #. type: textblock
4040 #: ../examples/guestfs-examples.pod:52 ../examples/guestfs-recipes.pod:404
4041 #: ../java/examples/guestfs-java.pod:65
4042 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:52
4043 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:404
4044 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:65
4045 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:98
4046 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:59
4047 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:61
4048 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:55
4049 #: ../ocaml/examples/guestfs-ocaml.pod:98 ../perl/examples/guestfs-perl.pod:59
4050 #: ../python/examples/guestfs-python.pod:61
4051 #: ../ruby/examples/guestfs-ruby.pod:55
4052 msgid ""
4053 "The examples in this manual page may be freely copied, modified and "
4054 "distributed without any restrictions."
4055 msgstr ""
4056
4057 #. type: textblock
4058 #: ../examples/guestfs-examples.pod:55 ../examples/guestfs-recipes.pod:407
4059 #: ../java/examples/guestfs-java.pod:68
4060 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:55
4061 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:407
4062 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:68
4063 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:101
4064 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:62
4065 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:64
4066 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:58
4067 #: ../libguestfs-1.11.20/src/guestfs.pod:3091
4068 #: ../ocaml/examples/guestfs-ocaml.pod:101
4069 #: ../perl/examples/guestfs-perl.pod:62
4070 #: ../python/examples/guestfs-python.pod:64
4071 #: ../ruby/examples/guestfs-ruby.pod:58 ../src/guestfs.pod:3091
4072 msgid ""
4073 "This library is free software; you can redistribute it and/or modify it "
4074 "under the terms of the GNU Lesser General Public License as published by the "
4075 "Free Software Foundation; either version 2 of the License, or (at your "
4076 "option) any later version."
4077 msgstr ""
4078
4079 #. type: textblock
4080 #: ../examples/guestfs-examples.pod:60 ../examples/guestfs-recipes.pod:412
4081 #: ../java/examples/guestfs-java.pod:73
4082 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:60
4083 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:412
4084 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:73
4085 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:106
4086 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:67
4087 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:69
4088 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:63
4089 #: ../libguestfs-1.11.20/src/guestfs.pod:3096
4090 #: ../ocaml/examples/guestfs-ocaml.pod:106
4091 #: ../perl/examples/guestfs-perl.pod:67
4092 #: ../python/examples/guestfs-python.pod:69
4093 #: ../ruby/examples/guestfs-ruby.pod:63 ../src/guestfs.pod:3096
4094 msgid ""
4095 "This library is distributed in the hope that it will be useful, but WITHOUT "
4096 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
4097 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
4098 "for more details."
4099 msgstr ""
4100
4101 #. type: textblock
4102 #: ../examples/guestfs-examples.pod:65 ../examples/guestfs-recipes.pod:417
4103 #: ../java/examples/guestfs-java.pod:78
4104 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:65
4105 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:417
4106 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:78
4107 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:111
4108 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:72
4109 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:74
4110 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:68
4111 #: ../libguestfs-1.11.20/src/guestfs.pod:3101
4112 #: ../ocaml/examples/guestfs-ocaml.pod:111
4113 #: ../perl/examples/guestfs-perl.pod:72
4114 #: ../python/examples/guestfs-python.pod:74
4115 #: ../ruby/examples/guestfs-ruby.pod:68 ../src/guestfs.pod:3101
4116 msgid ""
4117 "You should have received a copy of the GNU Lesser General Public License "
4118 "along with this library; if not, write to the Free Software Foundation, "
4119 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
4120 msgstr ""
4121
4122 #. type: =end
4123 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
4124 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:3
4125 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:12
4126 msgid "comment"
4127 msgstr ""
4128
4129 #. type: textblock
4130 #: ../examples/guestfs-recipes.pod:5
4131 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:5
4132 msgid ""
4133 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
4134 "here.  The only way which works for both sorts of output is to just write "
4135 "the URL directly.  Do NOT use L<...> for URLs."
4136 msgstr ""
4137
4138 #. type: textblock
4139 #: ../examples/guestfs-recipes.pod:9
4140 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:9
4141 msgid ""
4142 "We break with tradition here and don't use ALL CAPS for the section "
4143 "headings, as this makes them much easier to read."
4144 msgstr ""
4145
4146 #. type: textblock
4147 #: ../examples/guestfs-recipes.pod:16
4148 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:16
4149 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
4150 msgstr ""
4151
4152 #. type: textblock
4153 #: ../examples/guestfs-recipes.pod:20
4154 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:20
4155 msgid ""
4156 "This page contains recipes for and links to things you can do using "
4157 "libguestfs, L<guestfish(1)> and the virt tools."
4158 msgstr ""
4159
4160 #. type: =head1
4161 #: ../examples/guestfs-recipes.pod:23
4162 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:23
4163 msgid "Audit a virtual machine for setuid files"
4164 msgstr ""
4165
4166 #. type: textblock
4167 #: ../examples/guestfs-recipes.pod:25
4168 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:25
4169 msgid ""
4170 "The link below contains a small program which can be used to audit a Linux "
4171 "virtual machine to see what setuid and setgid files it contains."
4172 msgstr ""
4173
4174 #. type: textblock
4175 #: ../examples/guestfs-recipes.pod:28
4176 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:28
4177 msgid ""
4178 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
4179 "files/#content"
4180 msgstr ""
4181
4182 #. type: =head1
4183 #: ../examples/guestfs-recipes.pod:30
4184 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:30
4185 msgid "Change the background image in a Windows XP VM"
4186 msgstr ""
4187
4188 #. type: textblock
4189 #: ../examples/guestfs-recipes.pod:32
4190 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:32
4191 msgid ""
4192 "The links below explain how to use L<guestfish(1)> to change the background "
4193 "image for a user of a Windows XP VM.  Unfortunately the technique appears to "
4194 "be substantially different for each version of Windows."
4195 msgstr ""
4196
4197 #. type: textblock
4198 #: ../examples/guestfs-recipes.pod:37
4199 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:37
4200 msgid ""
4201 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
4202 "lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
4203 msgstr ""
4204
4205 #. type: =head1
4206 #: ../examples/guestfs-recipes.pod:40
4207 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:40
4208 msgid "Cloning a virtual machine (Linux)"
4209 msgstr ""
4210
4211 #. type: textblock
4212 #: ../examples/guestfs-recipes.pod:42
4213 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:42
4214 msgid ""
4215 "The guestfish technique described in the link below works well for most "
4216 "Linux VMs.  Depending on the Linux distro you may need to change the paths "
4217 "slightly."
4218 msgstr ""
4219
4220 #. type: textblock
4221 #: ../examples/guestfs-recipes.pod:46
4222 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:46
4223 msgid ""
4224 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
4225 "vm/#content"
4226 msgstr ""
4227
4228 #. type: textblock
4229 #: ../examples/guestfs-recipes.pod:48
4230 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:48
4231 msgid ""
4232 "Avoid L<virt-clone(1)>.  Currently what to do about virt-clone is under "
4233 "discussion."
4234 msgstr ""
4235
4236 #. type: textblock
4237 #: ../examples/guestfs-recipes.pod:51
4238 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:51
4239 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
4240 msgstr ""
4241
4242 #. type: =head1
4243 #: ../examples/guestfs-recipes.pod:53
4244 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:53
4245 msgid "Cloning a virtual machine (Windows)"
4246 msgstr ""
4247
4248 #. type: textblock
4249 #: ../examples/guestfs-recipes.pod:55
4250 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:55
4251 msgid ""
4252 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
4253 "straightforward.  Currently there is code in the Aeolus Oz project which "
4254 "does this (using libguestfs).  As part of our review of the virt-clone tool, "
4255 "we may add sysprepping ability."
4256 msgstr ""
4257
4258 #. type: textblock
4259 #: ../examples/guestfs-recipes.pod:60
4260 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:60
4261 msgid ""
4262 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
4263 "list/2011-May/msg00019.html"
4264 msgstr ""
4265
4266 #. type: =head1
4267 #: ../examples/guestfs-recipes.pod:63
4268 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:63
4269 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
4270 msgstr ""
4271
4272 #. type: textblock
4273 #: ../examples/guestfs-recipes.pod:65
4274 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:65
4275 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
4276 msgstr ""
4277
4278 #. type: verbatim
4279 #: ../examples/guestfs-recipes.pod:67
4280 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:67
4281 #, no-wrap
4282 msgid ""
4283 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
4284 "\n"
4285 msgstr ""
4286
4287 #. type: textblock
4288 #: ../examples/guestfs-recipes.pod:69
4289 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:69
4290 msgid "To export just a subdirectory, eg. C</files>, do:"
4291 msgstr ""
4292
4293 #. type: verbatim
4294 #: ../examples/guestfs-recipes.pod:71
4295 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:71
4296 #, no-wrap
4297 msgid ""
4298 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
4299 "\n"
4300 msgstr ""
4301
4302 #. type: =head1
4303 #: ../examples/guestfs-recipes.pod:73
4304 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:73
4305 msgid "Create empty disk images"
4306 msgstr ""
4307
4308 #. type: textblock
4309 #: ../examples/guestfs-recipes.pod:75
4310 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:75
4311 msgid ""
4312 "You can use the L<guestfish(1)> I<-N> option to create empty disk images.  "
4313 "The useful guide below explains the options available."
4314 msgstr ""
4315
4316 #. type: textblock
4317 #: ../examples/guestfs-recipes.pod:78
4318 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:78
4319 msgid ""
4320 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
4321 "#content"
4322 msgstr ""
4323
4324 #. type: =head1
4325 #: ../examples/guestfs-recipes.pod:80
4326 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:80
4327 msgid "Dump raw filesystem content from inside a disk image or VM"
4328 msgstr ""
4329
4330 #. type: textblock
4331 #: ../examples/guestfs-recipes.pod:82
4332 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:82
4333 msgid ""
4334 "You can use the L<guestfish(1)> C<download> command to extract the raw "
4335 "filesystem content from any filesystem in a disk image or a VM (even one "
4336 "which is encrypted or buried inside an LV):"
4337 msgstr ""
4338
4339 #. type: verbatim
4340 #: ../examples/guestfs-recipes.pod:86
4341 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:86
4342 #, no-wrap
4343 msgid ""
4344 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
4345 "\n"
4346 msgstr ""
4347
4348 #. type: verbatim
4349 #: ../examples/guestfs-recipes.pod:88
4350 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:88
4351 #, no-wrap
4352 msgid ""
4353 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
4354 "\n"
4355 msgstr ""
4356
4357 #. type: textblock
4358 #: ../examples/guestfs-recipes.pod:90
4359 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:90
4360 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
4361 msgstr ""
4362
4363 #. type: =head1
4364 #: ../examples/guestfs-recipes.pod:92
4365 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:92
4366 msgid "Edit grub configuration in a VM"
4367 msgstr ""
4368
4369 #. type: textblock
4370 #: ../examples/guestfs-recipes.pod:94
4371 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:94
4372 msgid "You can use this to:"
4373 msgstr ""
4374
4375 #. type: textblock
4376 #: ../examples/guestfs-recipes.pod:100
4377 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:100
4378 msgid "Fix a virtual machine that does not boot."
4379 msgstr ""
4380
4381 #. type: textblock
4382 #: ../examples/guestfs-recipes.pod:104
4383 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:104
4384 msgid "Change which kernel is used to boot the VM."
4385 msgstr ""
4386
4387 #. type: textblock
4388 #: ../examples/guestfs-recipes.pod:108
4389 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:108
4390 msgid "Change kernel command line options."
4391 msgstr ""
4392
4393 #. type: textblock
4394 #: ../examples/guestfs-recipes.pod:112
4395 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:112
4396 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
4397 msgstr ""
4398
4399 #. type: verbatim
4400 #: ../examples/guestfs-recipes.pod:114
4401 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:114
4402 #, no-wrap
4403 msgid ""
4404 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
4405 "\n"
4406 msgstr ""
4407
4408 #. type: textblock
4409 #: ../examples/guestfs-recipes.pod:116
4410 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:116
4411 msgid ""
4412 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
4413 "this:"
4414 msgstr ""
4415
4416 #. type: verbatim
4417 #: ../examples/guestfs-recipes.pod:119
4418 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:119
4419 #, no-wrap
4420 msgid ""
4421 " virt-rescue -d BrokenGuest\n"
4422 "\n"
4423 msgstr ""
4424
4425 #. type: =head1
4426 #: ../examples/guestfs-recipes.pod:121
4427 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:121
4428 msgid "Export any directory from a VM"
4429 msgstr ""
4430
4431 #. type: textblock
4432 #: ../examples/guestfs-recipes.pod:123
4433 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:123
4434 msgid ""
4435 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
4436 msgstr ""
4437
4438 #. type: verbatim
4439 #: ../examples/guestfs-recipes.pod:126
4440 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:126
4441 #, no-wrap
4442 msgid ""
4443 " virt-copy-out -d Guest /home .\n"
4444 "\n"
4445 msgstr ""
4446
4447 #. type: textblock
4448 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
4449 #: ../fish/guestfish-actions.pod:1287 ../fish/guestfish-actions.pod:1929
4450 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:128
4451 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:9
4452 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1287
4453 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1929
4454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:11
4455 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1917
4456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2855
4457 #: ../libguestfs-1.11.20/src/guestfs.pod:1639 ../src/guestfs-actions.pod:11
4458 #: ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:2855
4459 #: ../src/guestfs.pod:1639 ../tools/virt-win-reg.pl:706
4460 msgid "Notes:"
4461 msgstr ""
4462
4463 #. type: textblock
4464 #: ../examples/guestfs-recipes.pod:134
4465 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:134
4466 msgid ""
4467 "The final dot of the command is not a printing error.  It means we want to "
4468 "copy out to the current directory."
4469 msgstr ""
4470
4471 #. type: textblock
4472 #: ../examples/guestfs-recipes.pod:139
4473 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:139
4474 msgid "This creates a directory called C<home> under the current directory."
4475 msgstr ""
4476
4477 #. type: textblock
4478 #: ../examples/guestfs-recipes.pod:143
4479 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:143
4480 msgid ""
4481 "If the guest is a Windows guest then you can use drive letters and "
4482 "backslashes, but you must prefix the path with C<win:> and quote it to "
4483 "protect it from the shell, like this:"
4484 msgstr ""
4485
4486 #. type: verbatim
4487 #: ../examples/guestfs-recipes.pod:147
4488 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:147
4489 #, no-wrap
4490 msgid ""
4491 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
4492 "\n"
4493 msgstr ""
4494
4495 #. type: textblock
4496 #: ../examples/guestfs-recipes.pod:149
4497 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:149
4498 msgid "To get the output as a compressed tarball, do:"
4499 msgstr ""
4500
4501 #. type: verbatim
4502 #: ../examples/guestfs-recipes.pod:151
4503 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:151
4504 #, no-wrap
4505 msgid ""
4506 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
4507 "\n"
4508 msgstr ""
4509
4510 #. type: textblock
4511 #: ../examples/guestfs-recipes.pod:153
4512 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:153
4513 msgid ""
4514 "Although it sounds tempting, this is usually not a reliable way to get a "
4515 "backup from a running guest.  See the entry in the FAQ: http://libguestfs."
4516 "org/FAQ.html#backup"
4517 msgstr ""
4518
4519 #. type: =head1
4520 #: ../examples/guestfs-recipes.pod:157
4521 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:157
4522 msgid "Find out which user is using the most space"
4523 msgstr ""
4524
4525 #. type: textblock
4526 #: ../examples/guestfs-recipes.pod:159
4527 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:159
4528 msgid ""
4529 "This simple script examines a Linux guest to find out which user is using "
4530 "the most space in their home directory:"
4531 msgstr ""
4532
4533 #. type: verbatim
4534 #: ../examples/guestfs-recipes.pod:162
4535 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:162
4536 #, no-wrap
4537 msgid ""
4538 " #!/bin/sh -\n"
4539 " \n"
4540 msgstr ""
4541
4542 #. type: verbatim
4543 #: ../examples/guestfs-recipes.pod:164
4544 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:164
4545 #, no-wrap
4546 msgid ""
4547 " set -e\n"
4548 " \n"
4549 msgstr ""
4550
4551 #. type: verbatim
4552 #: ../examples/guestfs-recipes.pod:166
4553 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:166
4554 #, no-wrap
4555 msgid ""
4556 " vm=\"$1\"\n"
4557 " dir=/home\n"
4558 " \n"
4559 msgstr ""
4560
4561 #. type: verbatim
4562 #: ../examples/guestfs-recipes.pod:169
4563 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:169
4564 #, no-wrap
4565 msgid ""
4566 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
4567 " \n"
4568 msgstr ""
4569
4570 #. type: verbatim
4571 #: ../examples/guestfs-recipes.pod:171
4572 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:171
4573 #, no-wrap
4574 msgid ""
4575 " for d in $(guestfish --remote ls \"$dir\"); do\n"
4576 "     echo -n \"$dir/$d\"\n"
4577 "     echo -ne '\\t'\n"
4578 "     guestfish --remote du \"$dir/$d\";\n"
4579 " done | sort -nr -k 2\n"
4580 " \n"
4581 msgstr ""
4582
4583 #. type: verbatim
4584 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
4585 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:177
4586 #: ../libguestfs-1.11.20/fish/guestfish.pod:941
4587 #, no-wrap
4588 msgid ""
4589 " guestfish --remote exit\n"
4590 "\n"
4591 msgstr ""
4592
4593 #. type: =head1
4594 #: ../examples/guestfs-recipes.pod:179
4595 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:179
4596 msgid "Get DHCP address from a VM"
4597 msgstr ""
4598
4599 #. type: textblock
4600 #: ../examples/guestfs-recipes.pod:181
4601 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:181
4602 msgid ""
4603 "The link below explains the many different possible techniques for getting "
4604 "the last assigned DHCP address of a virtual machine."
4605 msgstr ""
4606
4607 #. type: textblock
4608 #: ../examples/guestfs-recipes.pod:184
4609 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:184
4610 msgid ""
4611 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
4612 "a-virtual-machine-disk-image/#content"
4613 msgstr ""
4614
4615 #. type: textblock
4616 #: ../examples/guestfs-recipes.pod:186
4617 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:186
4618 msgid ""
4619 "In the libguestfs source examples directory you will find the latest version "
4620 "of the C<virt-dhcp-address.c> program."
4621 msgstr ""
4622
4623 #. type: =head1
4624 #: ../examples/guestfs-recipes.pod:189
4625 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:189
4626 msgid "Get the operating system product name string"
4627 msgstr ""
4628
4629 #. type: textblock
4630 #: ../examples/guestfs-recipes.pod:191
4631 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:191
4632 msgid "Save the following script into a file called C<product-name.sh>:"
4633 msgstr ""
4634
4635 #. type: verbatim
4636 #: ../examples/guestfs-recipes.pod:193
4637 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:193
4638 #, no-wrap
4639 msgid ""
4640 " #!/bin/sh -\n"
4641 " set -e\n"
4642 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
4643 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
4644 " guestfish --remote inspect-get-product-name \"$root\"\n"
4645 " guestfish --remote exit\n"
4646 "\n"
4647 msgstr ""
4648
4649 #. type: textblock
4650 #: ../examples/guestfs-recipes.pod:200
4651 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:200
4652 msgid "Make the script executable and run it on a named guest:"
4653 msgstr ""
4654
4655 #. type: verbatim
4656 #: ../examples/guestfs-recipes.pod:202
4657 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:202
4658 #, no-wrap
4659 msgid ""
4660 " # product-name.sh RHEL60x64\n"
4661 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
4662 "\n"
4663 msgstr ""
4664
4665 #. type: textblock
4666 #: ../examples/guestfs-recipes.pod:205
4667 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:205
4668 msgid ""
4669 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
4670 "C<xpath> command line tool or from your favourite programming language:"
4671 msgstr ""
4672
4673 #. type: verbatim
4674 #: ../examples/guestfs-recipes.pod:209
4675 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:209
4676 #, no-wrap
4677 msgid ""
4678 " # virt-inspector RHEL60x64 > xml\n"
4679 " # xpath '//product_name' < xml\n"
4680 " Found 1 nodes:\n"
4681 " -- NODE --\n"
4682 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
4683 "\n"
4684 msgstr ""
4685
4686 #. type: =head1
4687 #: ../examples/guestfs-recipes.pod:215
4688 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:215
4689 msgid "Get the default boot kernel for a Linux VM"
4690 msgstr ""
4691
4692 #. type: textblock
4693 #: ../examples/guestfs-recipes.pod:217
4694 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:217
4695 msgid ""
4696 "The link below contains a program to print the default boot kernel for a "
4697 "Linux VM."
4698 msgstr ""
4699
4700 #. type: textblock
4701 #: ../examples/guestfs-recipes.pod:220
4702 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:220
4703 msgid ""
4704 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
4705 "kernel-for-a-vm/#content"
4706 msgstr ""
4707
4708 #. type: textblock
4709 #: ../examples/guestfs-recipes.pod:222
4710 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:222
4711 msgid ""
4712 "It uses Augeas, and the technique is generally applicable for many different "
4713 "tasks, such as:"
4714 msgstr ""
4715
4716 #. type: textblock
4717 #: ../examples/guestfs-recipes.pod:229
4718 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:229
4719 msgid "listing the user accounts in the guest"
4720 msgstr ""
4721
4722 #. type: textblock
4723 #: ../examples/guestfs-recipes.pod:233
4724 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:233
4725 msgid "what repositories is it configured to use"
4726 msgstr ""
4727
4728 #. type: textblock
4729 #: ../examples/guestfs-recipes.pod:237
4730 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:237
4731 msgid "what NTP servers does it connect to"
4732 msgstr ""
4733
4734 #. type: textblock
4735 #: ../examples/guestfs-recipes.pod:241
4736 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:241
4737 msgid "what were the boot messages last time it booted"
4738 msgstr ""
4739
4740 #. type: textblock
4741 #: ../examples/guestfs-recipes.pod:245
4742 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:245
4743 msgid "listing who was logged in recently"
4744 msgstr ""
4745
4746 #. type: textblock
4747 #: ../examples/guestfs-recipes.pod:249
4748 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:249
4749 msgid "http://augeas.net/"
4750 msgstr ""
4751
4752 #. type: =head1
4753 #: ../examples/guestfs-recipes.pod:251
4754 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:251
4755 msgid "Install RPMs in a guest"
4756 msgstr ""
4757
4758 #. type: textblock
4759 #: ../examples/guestfs-recipes.pod:253
4760 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:253
4761 msgid ""
4762 "The link below contains a method to install RPMs in a guest.  In fact the "
4763 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
4764 "installs them next time the guest is booted.  You could use this technique "
4765 "to install vital security updates in an offline guest."
4766 msgstr ""
4767
4768 #. type: textblock
4769 #: ../examples/guestfs-recipes.pod:259
4770 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:259
4771 msgid ""
4772 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
4773 msgstr ""
4774
4775 #. type: =head1
4776 #: ../examples/guestfs-recipes.pod:261
4777 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:261
4778 msgid "List applications installed in a VM"
4779 msgstr ""
4780
4781 #. type: textblock
4782 #: ../examples/guestfs-recipes.pod:263
4783 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:263
4784 msgid "Save the following to a file C<list-apps.sh>:"
4785 msgstr ""
4786
4787 #. type: verbatim
4788 #: ../examples/guestfs-recipes.pod:265
4789 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:265
4790 #, no-wrap
4791 msgid ""
4792 " #!/bin/sh -\n"
4793 " set -e\n"
4794 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
4795 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
4796 " guestfish --remote inspect-list-applications \"$root\"\n"
4797 " guestfish --remote exit\n"
4798 "\n"
4799 msgstr ""
4800
4801 #. type: textblock
4802 #: ../examples/guestfs-recipes.pod:272
4803 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:272
4804 msgid ""
4805 "Make the file executable and then you can run it on any named virtual "
4806 "machine:"
4807 msgstr ""
4808
4809 #. type: verbatim
4810 #: ../examples/guestfs-recipes.pod:275
4811 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:275
4812 #, no-wrap
4813 msgid ""
4814 " # list-apps.sh WinGuest\n"
4815 " [0] = {\n"
4816 "   app_name: Mozilla Firefox (3.6.12)\n"
4817 "   app_display_name: Mozilla Firefox (3.6.12)\n"
4818 "   app_epoch: 0\n"
4819 "   app_version: 3.6.12 (en-GB)\n"
4820 "   app_release:\n"
4821 "   app_install_path: C:\\Program Files\\Mozilla Firefox\n"
4822 "   app_trans_path:\n"
4823 "   app_publisher: Mozilla\n"
4824 "   app_url: http://www.mozilla.com/en-GB/\n"
4825 "   app_source_package:\n"
4826 "   app_summary:\n"
4827 "   app_description: Mozilla Firefox\n"
4828 " }\n"
4829 " [1] = {\n"
4830 "   app_name: VLC media player\n"
4831 "   app_display_name: VLC media player 1.1.5\n"
4832 "   app_epoch: 0\n"
4833 "   app_version: 1.1.5\n"
4834 "   app_release:\n"
4835 "   app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
4836 "   app_trans_path:\n"
4837 "   app_publisher: VideoLAN\n"
4838 "   app_url: http://www.videolan.org/\n"
4839 "   app_source_package:\n"
4840 "   app_summary:\n"
4841 "   app_description:\n"
4842 " }\n"
4843 "\n"
4844 msgstr ""
4845
4846 #. type: textblock
4847 #: ../examples/guestfs-recipes.pod:305
4848 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:305
4849 msgid ""
4850 "If you want to run the script on disk images (instead of libvirt virtual "
4851 "machines), change C<-d \"$1\"> to C<-a \"$1\">.  See also L<virt-inspector(1)"
4852 ">."
4853 msgstr ""
4854
4855 #. type: =head1
4856 #: ../examples/guestfs-recipes.pod:309
4857 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:309
4858 msgid "List files and directories in a VM"
4859 msgstr ""
4860
4861 #. type: textblock
4862 #: ../examples/guestfs-recipes.pod:311
4863 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:311
4864 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
4865 msgstr ""
4866
4867 #. type: verbatim
4868 #: ../examples/guestfs-recipes.pod:313
4869 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:313
4870 #, no-wrap
4871 msgid ""
4872 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
4873 "\n"
4874 msgstr ""
4875
4876 #. type: =head1
4877 #: ../examples/guestfs-recipes.pod:315
4878 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:315
4879 msgid "List services in a Windows VM"
4880 msgstr ""
4881
4882 #. type: textblock
4883 #: ../examples/guestfs-recipes.pod:317
4884 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:317
4885 msgid ""
4886 "The link below contains a script that can be used to list out the services "
4887 "from a Windows VM, and whether those services run at boot time or are loaded "
4888 "on demand."
4889 msgstr ""
4890
4891 #. type: textblock
4892 #: ../examples/guestfs-recipes.pod:321
4893 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:321
4894 msgid ""
4895 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
4896 "#content"
4897 msgstr ""
4898
4899 #. type: =head1
4900 #: ../examples/guestfs-recipes.pod:323
4901 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:323
4902 msgid "Make a disk image sparse"
4903 msgstr ""
4904
4905 #. type: textblock
4906 #: ../examples/guestfs-recipes.pod:325
4907 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:325
4908 msgid ""
4909 "The link below contains some guides for making a disk image sparse (or "
4910 "reintroducing sparseness)."
4911 msgstr ""
4912
4913 #. type: textblock
4914 #: ../examples/guestfs-recipes.pod:328
4915 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:328
4916 msgid ""
4917 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/#content"
4918 msgstr ""
4919
4920 #. type: =head1
4921 #: ../examples/guestfs-recipes.pod:330
4922 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:330
4923 msgid "Monitor disk usage over time"
4924 msgstr ""
4925
4926 #. type: textblock
4927 #: ../examples/guestfs-recipes.pod:332
4928 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:332
4929 msgid ""
4930 "You can use L<virt-df(1)> to monitor disk usage of your guests over time.  "
4931 "The link below contains a guide."
4932 msgstr ""
4933
4934 #. type: textblock
4935 #: ../examples/guestfs-recipes.pod:335
4936 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:335
4937 msgid "http://virt-tools.org/learning/advanced-virt-df/"
4938 msgstr ""
4939
4940 #. type: =head1
4941 #: ../examples/guestfs-recipes.pod:337
4942 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:337
4943 msgid "Reading the Windows Event Log from Windows Vista (or later)"
4944 msgstr ""
4945
4946 #. type: textblock
4947 #: ../examples/guestfs-recipes.pod:339
4948 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:339
4949 msgid ""
4950 "L<guestfish(1)> plus the tools described in the link below can be used to "
4951 "read out the Windows Event Log from any virtual machine running Windows "
4952 "Vista or a later version."
4953 msgstr ""
4954
4955 #. type: textblock
4956 #: ../examples/guestfs-recipes.pod:343
4957 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:343
4958 msgid ""
4959 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
4960 "guestfish/#content"
4961 msgstr ""
4962
4963 #. type: =head1
4964 #: ../examples/guestfs-recipes.pod:345
4965 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:345
4966 msgid "Remove root password (Linux)"
4967 msgstr ""
4968
4969 #. type: textblock
4970 #: ../examples/guestfs-recipes.pod:347
4971 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:347
4972 msgid ""
4973 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
4974 "files.  One use is to remove the root password from a Linux guest:"
4975 msgstr ""
4976
4977 #. type: verbatim
4978 #: ../examples/guestfs-recipes.pod:350
4979 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:350
4980 #, no-wrap
4981 msgid ""
4982 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
4983 "\n"
4984 msgstr ""
4985
4986 #. type: =head1
4987 #: ../examples/guestfs-recipes.pod:352
4988 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:352
4989 msgid "Remove Administrator password (Windows)"
4990 msgstr ""
4991
4992 #. type: textblock
4993 #: ../examples/guestfs-recipes.pod:354
4994 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:354
4995 msgid ""
4996 "The link below contains one technique for removing the Administrator "
4997 "password from a Windows VM, or to be more precise, it gives you a command "
4998 "prompt the next time you log in which you can use to bypass any security:"
4999 msgstr ""
5000
5001 #. type: textblock
5002 #: ../examples/guestfs-recipes.pod:359
5003 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:359
5004 msgid ""
5005 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
5006 "administrator-password-with-guestfish/"
5007 msgstr ""
5008
5009 #. type: =head1
5010 #: ../examples/guestfs-recipes.pod:361
5011 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:361
5012 msgid "Unpack a live CD"
5013 msgstr ""
5014
5015 #. type: textblock
5016 #: ../examples/guestfs-recipes.pod:363
5017 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:363
5018 msgid ""
5019 "Linux live CDs often contain multiple layers of disk images wrapped like a "
5020 "Russian doll.  You can use L<guestfish(1)> to look inside these multiple "
5021 "layers, as outlined in the guide below."
5022 msgstr ""
5023
5024 #. type: textblock
5025 #: ../examples/guestfs-recipes.pod:367
5026 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:367
5027 msgid ""
5028 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
5029 "cd/#content"
5030 msgstr ""
5031
5032 #. type: =head1
5033 #: ../examples/guestfs-recipes.pod:369
5034 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:369
5035 msgid "Uploading and downloading files"
5036 msgstr ""
5037
5038 #. type: textblock
5039 #: ../examples/guestfs-recipes.pod:371
5040 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:371
5041 msgid ""
5042 "The link below contains general tips on uploading (copying in)  and "
5043 "downloading (copying out) files from VMs."
5044 msgstr ""
5045
5046 #. type: textblock
5047 #: ../examples/guestfs-recipes.pod:374
5048 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:374
5049 msgid ""
5050 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
5051 msgstr ""
5052
5053 #. type: =head1
5054 #: ../examples/guestfs-recipes.pod:376
5055 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:376
5056 msgid "Use libguestfs tools on VMware ESX guests"
5057 msgstr ""
5058
5059 #. type: textblock
5060 #: ../examples/guestfs-recipes.pod:378
5061 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:378
5062 msgid ""
5063 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
5064 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
5065 msgstr ""
5066
5067 #. type: textblock
5068 #: ../examples/guestfs-recipes.pod:382
5069 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:382
5070 msgid ""
5071 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
5072 "guests/#content"
5073 msgstr ""
5074
5075 #. type: textblock
5076 #: ../examples/guestfs-recipes.pod:386
5077 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:386
5078 msgid ""
5079 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, "
5080 "L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby"
5081 "(3)>, L<http://libguestfs.org/>."
5082 msgstr ""
5083
5084 #. type: textblock
5085 #: ../examples/guestfs-recipes.pod:402
5086 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:402
5087 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
5088 msgstr ""
5089
5090 #. type: =head2
5091 #: ../fish/guestfish-actions.pod:1
5092 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1
5093 msgid "add-cdrom"
5094 msgstr ""
5095
5096 #. type: verbatim
5097 #: ../fish/guestfish-actions.pod:3
5098 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3
5099 #, no-wrap
5100 msgid ""
5101 " add-cdrom filename\n"
5102 "\n"
5103 msgstr ""
5104
5105 #. type: textblock
5106 #: ../fish/guestfish-actions.pod:5
5107 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5
5108 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7
5109 #: ../src/guestfs-actions.pod:7
5110 msgid "This function adds a virtual CD-ROM disk image to the guest."
5111 msgstr ""
5112
5113 #. type: textblock
5114 #: ../fish/guestfish-actions.pod:7
5115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:7
5116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:9
5117 #: ../src/guestfs-actions.pod:9
5118 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
5119 msgstr ""
5120
5121 #. type: textblock
5122 #: ../fish/guestfish-actions.pod:15
5123 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:15
5124 msgid ""
5125 "This call checks for the existence of C<filename>.  This stops you from "
5126 "specifying other types of drive which are supported by qemu such as C<nbd:> "
5127 "and C<http:> URLs.  To specify those, use the general L</config> call "
5128 "instead."
5129 msgstr ""
5130
5131 #. type: textblock
5132 #: ../fish/guestfish-actions.pod:22
5133 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:22
5134 msgid ""
5135 "If you just want to add an ISO file (often you use this as an efficient way "
5136 "to transfer large files into the guest), then you should probably use L</add-"
5137 "drive-ro> instead."
5138 msgstr ""
5139
5140 #. type: textblock
5141 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:163
5142 #: ../fish/guestfish-actions.pod:177
5143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:28
5144 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:163
5145 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:177
5146 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:32
5147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:254
5148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:275
5149 #: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:254
5150 #: ../src/guestfs-actions.pod:275
5151 msgid ""
5152 "This function is deprecated.  In new code, use the C<add_drive_opts> call "
5153 "instead."
5154 msgstr ""
5155
5156 #. type: textblock
5157 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:166
5158 #: ../fish/guestfish-actions.pod:180 ../fish/guestfish-actions.pod:986
5159 #: ../fish/guestfish-actions.pod:1346 ../fish/guestfish-actions.pod:1360
5160 #: ../fish/guestfish-actions.pod:3085 ../fish/guestfish-actions.pod:3292
5161 #: ../fish/guestfish-actions.pod:3406 ../fish/guestfish-actions.pod:3454
5162 #: ../fish/guestfish-actions.pod:4355 ../fish/guestfish-actions.pod:4378
5163 #: ../fish/guestfish-actions.pod:4400 ../fish/guestfish-actions.pod:4438
5164 #: ../fish/guestfish-actions.pod:5087 ../fish/guestfish-actions.pod:5185
5165 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:31
5166 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:166
5167 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:180
5168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:986
5169 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1346
5170 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1360
5171 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3085
5172 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3292
5173 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3406
5174 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3454
5175 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4355
5176 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4378
5177 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4400
5178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4438
5179 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5087
5180 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5185
5181 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:35
5182 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:257
5183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:278
5184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1513
5185 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2008
5186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2029
5187 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4628
5188 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4947
5189 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5165
5190 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5255
5191 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6544
5192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6574
5193 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6607
5194 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6666
5195 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7602
5196 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7714
5197 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7884
5198 #: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:257
5199 #: ../src/guestfs-actions.pod:278 ../src/guestfs-actions.pod:1513
5200 #: ../src/guestfs-actions.pod:2008 ../src/guestfs-actions.pod:2029
5201 #: ../src/guestfs-actions.pod:4628 ../src/guestfs-actions.pod:4947
5202 #: ../src/guestfs-actions.pod:5165 ../src/guestfs-actions.pod:5255
5203 #: ../src/guestfs-actions.pod:6544 ../src/guestfs-actions.pod:6574
5204 #: ../src/guestfs-actions.pod:6607 ../src/guestfs-actions.pod:6666
5205 #: ../src/guestfs-actions.pod:7602 ../src/guestfs-actions.pod:7714
5206 #: ../src/guestfs-actions.pod:7884
5207 msgid ""
5208 "Deprecated functions will not be removed from the API, but the fact that "
5209 "they are deprecated indicates that there are problems with correct use of "
5210 "these functions."
5211 msgstr ""
5212
5213 #. type: =head2
5214 #: ../fish/guestfish-actions.pod:35
5215 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:35
5216 msgid "add-domain"
5217 msgstr ""
5218
5219 #. type: =head2
5220 #: ../fish/guestfish-actions.pod:37
5221 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:37
5222 msgid "domain"
5223 msgstr ""
5224
5225 #. type: verbatim
5226 #: ../fish/guestfish-actions.pod:39
5227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:39
5228 #, no-wrap
5229 msgid ""
5230 " add-domain dom [libvirturi:..] [readonly:..] [iface:..] [live:..] [allowuuid:..]\n"
5231 "\n"
5232 msgstr ""
5233
5234 #. type: textblock
5235 #: ../fish/guestfish-actions.pod:41
5236 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:41
5237 msgid ""
5238 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
5239 "It works by connecting to libvirt, requesting the domain and domain XML from "
5240 "libvirt, parsing it for disks, and calling L</add-drive-opts> on each one."
5241 msgstr ""
5242
5243 #. type: textblock
5244 #: ../fish/guestfish-actions.pod:46
5245 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:46
5246 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:64
5247 #: ../src/guestfs-actions.pod:64
5248 msgid ""
5249 "The number of disks added is returned.  This operation is atomic: if an "
5250 "error is returned, then no disks are added."
5251 msgstr ""
5252
5253 #. type: textblock
5254 #: ../fish/guestfish-actions.pod:49
5255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:49
5256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:67
5257 #: ../src/guestfs-actions.pod:67
5258 msgid ""
5259 "This function does some minimal checks to make sure the libvirt domain is "
5260 "not running (unless C<readonly> is true).  In a future version we will try "
5261 "to acquire the libvirt lock on each disk."
5262 msgstr ""
5263
5264 #. type: textblock
5265 #: ../fish/guestfish-actions.pod:53
5266 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:53
5267 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:71
5268 #: ../src/guestfs-actions.pod:71
5269 msgid ""
5270 "Disks must be accessible locally.  This often means that adding disks from a "
5271 "remote libvirt connection (see L<http://libvirt.org/remote.html>)  will fail "
5272 "unless those disks are accessible via the same device path locally too."
5273 msgstr ""
5274
5275 #. type: textblock
5276 #: ../fish/guestfish-actions.pod:58
5277 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:58
5278 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:76
5279 #: ../src/guestfs-actions.pod:76
5280 msgid ""
5281 "The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
5282 "libvirt.org/uri.html>).  If this is not set then we connect to the default "
5283 "libvirt URI (or one set through an environment variable, see the libvirt "
5284 "documentation for full details)."
5285 msgstr ""
5286
5287 #. type: textblock
5288 #: ../fish/guestfish-actions.pod:64
5289 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:64
5290 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:82
5291 #: ../src/guestfs-actions.pod:82
5292 msgid ""
5293 "The optional C<live> flag controls whether this call will try to connect to "
5294 "a running virtual machine C<guestfsd> process if it sees a suitable "
5295 "E<lt>channelE<gt> element in the libvirt XML definition.  The default (if "
5296 "the flag is omitted) is never to try.  See L<guestfs(3)/ATTACHING TO RUNNING "
5297 "DAEMONS> for more information."
5298 msgstr ""
5299
5300 #. type: textblock
5301 #: ../fish/guestfish-actions.pod:71
5302 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:71
5303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:89
5304 #: ../src/guestfs-actions.pod:89
5305 msgid ""
5306 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
5307 "passed instead of the domain name.  The C<dom> string is treated as a UUID "
5308 "first and looked up, and if that lookup fails then we treat C<dom> as a name "
5309 "as usual."
5310 msgstr ""
5311
5312 #. type: textblock
5313 #: ../fish/guestfish-actions.pod:76
5314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:76
5315 msgid ""
5316 "The other optional parameters are passed directly through to L</add-drive-"
5317 "opts>."
5318 msgstr ""
5319
5320 #. type: textblock
5321 #: ../fish/guestfish-actions.pod:79 ../fish/guestfish-actions.pod:143
5322 #: ../fish/guestfish-actions.pod:568 ../fish/guestfish-actions.pod:1968
5323 #: ../fish/guestfish-actions.pod:3134 ../fish/guestfish-actions.pod:3307
5324 #: ../fish/guestfish-actions.pod:3442
5325 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:79
5326 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:143
5327 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:568
5328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1968
5329 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3134
5330 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3307
5331 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3442
5332 msgid ""
5333 "This command has one or more optional arguments.  See L</OPTIONAL ARGUMENTS>."
5334 msgstr ""
5335
5336 #. type: =head2
5337 #: ../fish/guestfish-actions.pod:81
5338 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:81
5339 msgid "add-drive"
5340 msgstr ""
5341
5342 #. type: verbatim
5343 #: ../fish/guestfish-actions.pod:83
5344 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:83
5345 #, no-wrap
5346 msgid ""
5347 " add-drive filename\n"
5348 "\n"
5349 msgstr ""
5350
5351 #. type: textblock
5352 #: ../fish/guestfish-actions.pod:85
5353 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:85
5354 msgid ""
5355 "This function is the equivalent of calling L</add-drive-opts> with no "
5356 "optional parameters, so the disk is added writable, with the format being "
5357 "detected automatically."
5358 msgstr ""
5359
5360 #. type: textblock
5361 #: ../fish/guestfish-actions.pod:89
5362 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:89
5363 msgid ""
5364 "Automatic detection of the format opens you up to a potential security hole "
5365 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
5366 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
5367 "you should think about replacing calls to this function with calls to L</add-"
5368 "drive-opts>, and specifying the format."
5369 msgstr ""
5370
5371 #. type: =head2
5372 #: ../fish/guestfish-actions.pod:96
5373 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:96
5374 msgid "add-drive-opts"
5375 msgstr ""
5376
5377 #. type: =head2
5378 #: ../fish/guestfish-actions.pod:98
5379 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:98
5380 msgid "add"
5381 msgstr ""
5382
5383 #. type: verbatim
5384 #: ../fish/guestfish-actions.pod:100
5385 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:100
5386 #, no-wrap
5387 msgid ""
5388 " add-drive-opts filename [readonly:..] [format:..] [iface:..]\n"
5389 "\n"
5390 msgstr ""
5391
5392 #. type: textblock
5393 #: ../fish/guestfish-actions.pod:102
5394 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:102
5395 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:160
5396 #: ../src/guestfs-actions.pod:160
5397 msgid ""
5398 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
5399 "The first time you call this function, the disk appears as C</dev/sda>, the "
5400 "second time as C</dev/sdb>, and so on."
5401 msgstr ""
5402
5403 #. type: textblock
5404 #: ../fish/guestfish-actions.pod:107
5405 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:107
5406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:165
5407 #: ../src/guestfs-actions.pod:165
5408 msgid ""
5409 "You don't necessarily need to be root when using libguestfs.  However you "
5410 "obviously do need sufficient permissions to access the filename for whatever "
5411 "operations you want to perform (ie. read access if you just want to read the "
5412 "image or write access if you want to modify the image)."
5413 msgstr ""
5414
5415 #. type: textblock
5416 #: ../fish/guestfish-actions.pod:113
5417 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:113
5418 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:171
5419 #: ../src/guestfs-actions.pod:171
5420 msgid "This call checks that C<filename> exists."
5421 msgstr ""
5422
5423 #. type: textblock
5424 #: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3096
5425 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:115
5426 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3096
5427 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:173
5428 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4655
5429 #: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4655
5430 msgid "The optional arguments are:"
5431 msgstr ""
5432
5433 #. type: =item
5434 #: ../fish/guestfish-actions.pod:119
5435 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:119
5436 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:177
5437 #: ../src/guestfs-actions.pod:177
5438 msgid "C<readonly>"
5439 msgstr ""
5440
5441 #. type: textblock
5442 #: ../fish/guestfish-actions.pod:121
5443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:121
5444 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:179
5445 #: ../src/guestfs-actions.pod:179
5446 msgid ""
5447 "If true then the image is treated as read-only.  Writes are still allowed, "
5448 "but they are stored in a temporary snapshot overlay which is discarded at "
5449 "the end.  The disk that you add is not modified."
5450 msgstr ""
5451
5452 #. type: =item
5453 #: ../fish/guestfish-actions.pod:125
5454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:125
5455 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:183
5456 #: ../src/guestfs-actions.pod:183
5457 msgid "C<format>"
5458 msgstr ""
5459
5460 #. type: textblock
5461 #: ../fish/guestfish-actions.pod:127
5462 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:127
5463 msgid ""
5464 "This forces the image format.  If you omit this (or use L</add-drive> or L</"
5465 "add-drive-ro>) then the format is automatically detected.  Possible formats "
5466 "include C<raw> and C<qcow2>."
5467 msgstr ""
5468
5469 #. type: textblock
5470 #: ../fish/guestfish-actions.pod:131
5471 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:131
5472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:189
5473 #: ../src/guestfs-actions.pod:189
5474 msgid ""
5475 "Automatic detection of the format opens you up to a potential security hole "
5476 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
5477 "RHBZ#642934.  Specifying the format closes this security hole."
5478 msgstr ""
5479
5480 #. type: =item
5481 #: ../fish/guestfish-actions.pod:136
5482 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:136
5483 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:194
5484 #: ../src/guestfs-actions.pod:194
5485 msgid "C<iface>"
5486 msgstr ""
5487
5488 #. type: textblock
5489 #: ../fish/guestfish-actions.pod:138
5490 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:138
5491 msgid ""
5492 "This rarely-used option lets you emulate the behaviour of the deprecated L</"
5493 "add-drive-with-if> call (q.v.)"
5494 msgstr ""
5495
5496 #. type: =head2
5497 #: ../fish/guestfish-actions.pod:145
5498 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:145
5499 msgid "add-drive-ro"
5500 msgstr ""
5501
5502 #. type: =head2
5503 #: ../fish/guestfish-actions.pod:147
5504 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:147
5505 msgid "add-ro"
5506 msgstr ""
5507
5508 #. type: verbatim
5509 #: ../fish/guestfish-actions.pod:149
5510 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:149
5511 #, no-wrap
5512 msgid ""
5513 " add-drive-ro filename\n"
5514 "\n"
5515 msgstr ""
5516
5517 #. type: textblock
5518 #: ../fish/guestfish-actions.pod:151
5519 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:151
5520 msgid ""
5521 "This function is the equivalent of calling L</add-drive-opts> with the "
5522 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
5523 "is added read-only, with the format being detected automatically."
5524 msgstr ""
5525
5526 #. type: =head2
5527 #: ../fish/guestfish-actions.pod:156
5528 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:156
5529 msgid "add-drive-ro-with-if"
5530 msgstr ""
5531
5532 #. type: verbatim
5533 #: ../fish/guestfish-actions.pod:158
5534 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:158
5535 #, no-wrap
5536 msgid ""
5537 " add-drive-ro-with-if filename iface\n"
5538 "\n"
5539 msgstr ""
5540
5541 #. type: textblock
5542 #: ../fish/guestfish-actions.pod:160
5543 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:160
5544 msgid ""
5545 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
5546 "interface emulation to use at run time."
5547 msgstr ""
5548
5549 #. type: =head2
5550 #: ../fish/guestfish-actions.pod:170
5551 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:170
5552 msgid "add-drive-with-if"
5553 msgstr ""
5554
5555 #. type: verbatim
5556 #: ../fish/guestfish-actions.pod:172
5557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:172
5558 #, no-wrap
5559 msgid ""
5560 " add-drive-with-if filename iface\n"
5561 "\n"
5562 msgstr ""
5563
5564 #. type: textblock
5565 #: ../fish/guestfish-actions.pod:174
5566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:174
5567 msgid ""
5568 "This is the same as L</add-drive> but it allows you to specify the QEMU "
5569 "interface emulation to use at run time."
5570 msgstr ""
5571
5572 #. type: =head2
5573 #: ../fish/guestfish-actions.pod:184
5574 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:184
5575 msgid "aug-clear"
5576 msgstr ""
5577
5578 #. type: verbatim
5579 #: ../fish/guestfish-actions.pod:186
5580 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:186
5581 #, no-wrap
5582 msgid ""
5583 " aug-clear augpath\n"
5584 "\n"
5585 msgstr ""
5586
5587 #. type: textblock
5588 #: ../fish/guestfish-actions.pod:188
5589 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:188
5590 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:290
5591 #: ../src/guestfs-actions.pod:290
5592 msgid ""
5593 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
5594 "L<augtool(1)> C<clear> command."
5595 msgstr ""
5596
5597 #. type: =head2
5598 #: ../fish/guestfish-actions.pod:191
5599 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:191
5600 msgid "aug-close"
5601 msgstr ""
5602
5603 #. type: verbatim
5604 #: ../fish/guestfish-actions.pod:193
5605 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:193
5606 #, no-wrap
5607 msgid ""
5608 " aug-close\n"
5609 "\n"
5610 msgstr ""
5611
5612 #. type: textblock
5613 #: ../fish/guestfish-actions.pod:195
5614 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:195
5615 msgid ""
5616 "Close the current Augeas handle and free up any resources used by it.  After "
5617 "calling this, you have to call L</aug-init> again before you can use any "
5618 "other Augeas functions."
5619 msgstr ""
5620
5621 #. type: =head2
5622 #: ../fish/guestfish-actions.pod:200
5623 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:200
5624 msgid "aug-defnode"
5625 msgstr ""
5626
5627 #. type: verbatim
5628 #: ../fish/guestfish-actions.pod:202
5629 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:202
5630 #, no-wrap
5631 msgid ""
5632 " aug-defnode name expr val\n"
5633 "\n"
5634 msgstr ""
5635
5636 #. type: textblock
5637 #: ../fish/guestfish-actions.pod:204
5638 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:204
5639 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:319
5640 #: ../src/guestfs-actions.pod:319
5641 msgid ""
5642 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
5643 msgstr ""
5644
5645 #. type: textblock
5646 #: ../fish/guestfish-actions.pod:207
5647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:207
5648 msgid ""
5649 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
5650 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
5651 "containing that single node."
5652 msgstr ""
5653
5654 #. type: textblock
5655 #: ../fish/guestfish-actions.pod:211
5656 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:211
5657 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:326
5658 #: ../src/guestfs-actions.pod:326
5659 msgid ""
5660 "On success this returns a pair containing the number of nodes in the "
5661 "nodeset, and a boolean flag if a node was created."
5662 msgstr ""
5663
5664 #. type: =head2
5665 #: ../fish/guestfish-actions.pod:215
5666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:215
5667 msgid "aug-defvar"
5668 msgstr ""
5669
5670 #. type: verbatim
5671 #: ../fish/guestfish-actions.pod:217
5672 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:217
5673 #, no-wrap
5674 msgid ""
5675 " aug-defvar name expr\n"
5676 "\n"
5677 msgstr ""
5678
5679 #. type: textblock
5680 #: ../fish/guestfish-actions.pod:219
5681 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:219
5682 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:343
5683 #: ../src/guestfs-actions.pod:343
5684 msgid ""
5685 "Defines an Augeas variable C<name> whose value is the result of evaluating "
5686 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
5687 msgstr ""
5688
5689 #. type: textblock
5690 #: ../fish/guestfish-actions.pod:223
5691 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:223
5692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:347
5693 #: ../src/guestfs-actions.pod:347
5694 msgid ""
5695 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
5696 "evaluates to something which is not a nodeset."
5697 msgstr ""
5698
5699 #. type: =head2
5700 #: ../fish/guestfish-actions.pod:226
5701 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:226
5702 msgid "aug-get"
5703 msgstr ""
5704
5705 #. type: verbatim
5706 #: ../fish/guestfish-actions.pod:228
5707 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:228
5708 #, no-wrap
5709 msgid ""
5710 " aug-get augpath\n"
5711 "\n"
5712 msgstr ""
5713
5714 #. type: textblock
5715 #: ../fish/guestfish-actions.pod:230
5716 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:230
5717 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:360
5718 #: ../src/guestfs-actions.pod:360
5719 msgid ""
5720 "Look up the value associated with C<path>.  If C<path> matches exactly one "
5721 "node, the C<value> is returned."
5722 msgstr ""
5723
5724 #. type: =head2
5725 #: ../fish/guestfish-actions.pod:233
5726 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:233
5727 msgid "aug-init"
5728 msgstr ""
5729
5730 #. type: verbatim
5731 #: ../fish/guestfish-actions.pod:235
5732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:235
5733 #, no-wrap
5734 msgid ""
5735 " aug-init root flags\n"
5736 "\n"
5737 msgstr ""
5738
5739 #. type: textblock
5740 #: ../fish/guestfish-actions.pod:237
5741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:237
5742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:375
5743 #: ../src/guestfs-actions.pod:375
5744 msgid ""
5745 "Create a new Augeas handle for editing configuration files.  If there was "
5746 "any previous Augeas handle associated with this guestfs session, then it is "
5747 "closed."
5748 msgstr ""
5749
5750 #. type: textblock
5751 #: ../fish/guestfish-actions.pod:241
5752 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:241
5753 msgid "You must call this before using any other L</aug-*> commands."
5754 msgstr ""
5755
5756 #. type: textblock
5757 #: ../fish/guestfish-actions.pod:244
5758 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:244
5759 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:382
5760 #: ../src/guestfs-actions.pod:382
5761 msgid ""
5762 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
5763 msgstr ""
5764
5765 #. type: textblock
5766 #: ../fish/guestfish-actions.pod:247
5767 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:247
5768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:385
5769 #: ../src/guestfs-actions.pod:385
5770 msgid ""
5771 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
5772 "logical I<or> of the following integers:"
5773 msgstr ""
5774
5775 #. type: =item
5776 #: ../fish/guestfish-actions.pod:253
5777 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:253
5778 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:391
5779 #: ../src/guestfs-actions.pod:391
5780 msgid "C<AUG_SAVE_BACKUP> = 1"
5781 msgstr ""
5782
5783 #. type: textblock
5784 #: ../fish/guestfish-actions.pod:255
5785 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:255
5786 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:393
5787 #: ../src/guestfs-actions.pod:393
5788 msgid "Keep the original file with a C<.augsave> extension."
5789 msgstr ""
5790
5791 #. type: =item
5792 #: ../fish/guestfish-actions.pod:257
5793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:257
5794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:395
5795 #: ../src/guestfs-actions.pod:395
5796 msgid "C<AUG_SAVE_NEWFILE> = 2"
5797 msgstr ""
5798
5799 #. type: textblock
5800 #: ../fish/guestfish-actions.pod:259
5801 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:259
5802 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:397
5803 #: ../src/guestfs-actions.pod:397
5804 msgid ""
5805 "Save changes into a file with extension C<.augnew>, and do not overwrite "
5806 "original.  Overrides C<AUG_SAVE_BACKUP>."
5807 msgstr ""
5808
5809 #. type: =item
5810 #: ../fish/guestfish-actions.pod:262
5811 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:262
5812 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:400
5813 #: ../src/guestfs-actions.pod:400
5814 msgid "C<AUG_TYPE_CHECK> = 4"
5815 msgstr ""
5816
5817 #. type: textblock
5818 #: ../fish/guestfish-actions.pod:264
5819 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:264
5820 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:402
5821 #: ../src/guestfs-actions.pod:402
5822 msgid "Typecheck lenses (can be expensive)."
5823 msgstr ""
5824
5825 #. type: =item
5826 #: ../fish/guestfish-actions.pod:266
5827 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:266
5828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:404
5829 #: ../src/guestfs-actions.pod:404
5830 msgid "C<AUG_NO_STDINC> = 8"
5831 msgstr ""
5832
5833 #. type: textblock
5834 #: ../fish/guestfish-actions.pod:268
5835 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:268
5836 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:406
5837 #: ../src/guestfs-actions.pod:406
5838 msgid "Do not use standard load path for modules."
5839 msgstr ""
5840
5841 #. type: =item
5842 #: ../fish/guestfish-actions.pod:270
5843 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:270
5844 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:408
5845 #: ../src/guestfs-actions.pod:408
5846 msgid "C<AUG_SAVE_NOOP> = 16"
5847 msgstr ""
5848
5849 #. type: textblock
5850 #: ../fish/guestfish-actions.pod:272
5851 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:272
5852 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:410
5853 #: ../src/guestfs-actions.pod:410
5854 msgid "Make save a no-op, just record what would have been changed."
5855 msgstr ""
5856
5857 #. type: =item
5858 #: ../fish/guestfish-actions.pod:274
5859 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:274
5860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:412
5861 #: ../src/guestfs-actions.pod:412
5862 msgid "C<AUG_NO_LOAD> = 32"
5863 msgstr ""
5864
5865 #. type: textblock
5866 #: ../fish/guestfish-actions.pod:276
5867 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:276
5868 msgid "Do not load the tree in L</aug-init>."
5869 msgstr ""
5870
5871 #. type: textblock
5872 #: ../fish/guestfish-actions.pod:280
5873 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:280
5874 msgid "To close the handle, you can call L</aug-close>."
5875 msgstr ""
5876
5877 #. type: textblock
5878 #: ../fish/guestfish-actions.pod:282
5879 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:282
5880 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:420
5881 #: ../src/guestfs-actions.pod:420
5882 msgid "To find out more about Augeas, see L<http://augeas.net/>."
5883 msgstr ""
5884
5885 #. type: =head2
5886 #: ../fish/guestfish-actions.pod:284
5887 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:284
5888 msgid "aug-insert"
5889 msgstr ""
5890
5891 #. type: verbatim
5892 #: ../fish/guestfish-actions.pod:286
5893 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:286
5894 #, no-wrap
5895 msgid ""
5896 " aug-insert augpath label true|false\n"
5897 "\n"
5898 msgstr ""
5899
5900 #. type: textblock
5901 #: ../fish/guestfish-actions.pod:288
5902 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:288
5903 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:434
5904 #: ../src/guestfs-actions.pod:434
5905 msgid ""
5906 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
5907 "or after C<path> (depending on the boolean flag C<before>)."
5908 msgstr ""
5909
5910 #. type: textblock
5911 #: ../fish/guestfish-actions.pod:292
5912 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:292
5913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:438
5914 #: ../src/guestfs-actions.pod:438
5915 msgid ""
5916 "C<path> must match exactly one existing node in the tree, and C<label> must "
5917 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
5918 msgstr ""
5919
5920 #. type: =head2
5921 #: ../fish/guestfish-actions.pod:296
5922 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:296
5923 msgid "aug-load"
5924 msgstr ""
5925
5926 #. type: verbatim
5927 #: ../fish/guestfish-actions.pod:298
5928 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:298
5929 #, no-wrap
5930 msgid ""
5931 " aug-load\n"
5932 "\n"
5933 msgstr ""
5934
5935 #. type: textblock
5936 #: ../fish/guestfish-actions.pod:300
5937 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:300
5938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:451
5939 #: ../src/guestfs-actions.pod:451
5940 msgid "Load files into the tree."
5941 msgstr ""
5942
5943 #. type: textblock
5944 #: ../fish/guestfish-actions.pod:302
5945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:302
5946 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:453
5947 #: ../src/guestfs-actions.pod:453
5948 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
5949 msgstr ""
5950
5951 #. type: =head2
5952 #: ../fish/guestfish-actions.pod:305
5953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:305
5954 msgid "aug-ls"
5955 msgstr ""
5956
5957 #. type: verbatim
5958 #: ../fish/guestfish-actions.pod:307
5959 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:307
5960 #, no-wrap
5961 msgid ""
5962 " aug-ls augpath\n"
5963 "\n"
5964 msgstr ""
5965
5966 #. type: textblock
5967 #: ../fish/guestfish-actions.pod:309
5968 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:309
5969 msgid ""
5970 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
5971 "resulting nodes into alphabetical order."
5972 msgstr ""
5973
5974 #. type: =head2
5975 #: ../fish/guestfish-actions.pod:312
5976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:312
5977 msgid "aug-match"
5978 msgstr ""
5979
5980 #. type: verbatim
5981 #: ../fish/guestfish-actions.pod:314
5982 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:314
5983 #, no-wrap
5984 msgid ""
5985 " aug-match augpath\n"
5986 "\n"
5987 msgstr ""
5988
5989 #. type: textblock
5990 #: ../fish/guestfish-actions.pod:316
5991 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:316
5992 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:481
5993 #: ../src/guestfs-actions.pod:481
5994 msgid ""
5995 "Returns a list of paths which match the path expression C<path>.  The "
5996 "returned paths are sufficiently qualified so that they match exactly one "
5997 "node in the current tree."
5998 msgstr ""
5999
6000 #. type: =head2
6001 #: ../fish/guestfish-actions.pod:320
6002 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:320
6003 msgid "aug-mv"
6004 msgstr ""
6005
6006 #. type: verbatim
6007 #: ../fish/guestfish-actions.pod:322
6008 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:322
6009 #, no-wrap
6010 msgid ""
6011 " aug-mv src dest\n"
6012 "\n"
6013 msgstr ""
6014
6015 #. type: textblock
6016 #: ../fish/guestfish-actions.pod:324
6017 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:324
6018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:498
6019 #: ../src/guestfs-actions.pod:498
6020 msgid ""
6021 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
6022 "C<dest> is overwritten if it exists."
6023 msgstr ""
6024
6025 #. type: =head2
6026 #: ../fish/guestfish-actions.pod:327
6027 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:327
6028 msgid "aug-rm"
6029 msgstr ""
6030
6031 #. type: verbatim
6032 #: ../fish/guestfish-actions.pod:329
6033 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:329
6034 #, no-wrap
6035 msgid ""
6036 " aug-rm augpath\n"
6037 "\n"
6038 msgstr ""
6039
6040 #. type: textblock
6041 #: ../fish/guestfish-actions.pod:331
6042 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:331
6043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:511
6044 #: ../src/guestfs-actions.pod:511
6045 msgid "Remove C<path> and all of its children."
6046 msgstr ""
6047
6048 #. type: textblock
6049 #: ../fish/guestfish-actions.pod:333
6050 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:333
6051 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:513
6052 #: ../src/guestfs-actions.pod:513
6053 msgid "On success this returns the number of entries which were removed."
6054 msgstr ""
6055
6056 #. type: =head2
6057 #: ../fish/guestfish-actions.pod:335
6058 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:335
6059 msgid "aug-save"
6060 msgstr ""
6061
6062 #. type: verbatim
6063 #: ../fish/guestfish-actions.pod:337
6064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:337
6065 #, no-wrap
6066 msgid ""
6067 " aug-save\n"
6068 "\n"
6069 msgstr ""
6070
6071 #. type: textblock
6072 #: ../fish/guestfish-actions.pod:339
6073 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:339
6074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:524
6075 #: ../src/guestfs-actions.pod:524
6076 msgid "This writes all pending changes to disk."
6077 msgstr ""
6078
6079 #. type: textblock
6080 #: ../fish/guestfish-actions.pod:341
6081 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:341
6082 msgid ""
6083 "The flags which were passed to L</aug-init> affect exactly how files are "
6084 "saved."
6085 msgstr ""
6086
6087 #. type: =head2
6088 #: ../fish/guestfish-actions.pod:344
6089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:344
6090 msgid "aug-set"
6091 msgstr ""
6092
6093 #. type: verbatim
6094 #: ../fish/guestfish-actions.pod:346
6095 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:346
6096 #, no-wrap
6097 msgid ""
6098 " aug-set augpath val\n"
6099 "\n"
6100 msgstr ""
6101
6102 #. type: textblock
6103 #: ../fish/guestfish-actions.pod:348
6104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:348
6105 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:540
6106 #: ../src/guestfs-actions.pod:540
6107 msgid "Set the value associated with C<path> to C<val>."
6108 msgstr ""
6109
6110 #. type: textblock
6111 #: ../fish/guestfish-actions.pod:350
6112 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:350
6113 msgid ""
6114 "In the Augeas API, it is possible to clear a node by setting the value to "
6115 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
6116 "this call.  Instead you must use the L</aug-clear> call."
6117 msgstr ""
6118
6119 #. type: =head2
6120 #: ../fish/guestfish-actions.pod:355
6121 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:355
6122 msgid "available"
6123 msgstr ""
6124
6125 #. type: verbatim
6126 #: ../fish/guestfish-actions.pod:357
6127 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:357
6128 #, no-wrap
6129 msgid ""
6130 " available 'groups ...'\n"
6131 "\n"
6132 msgstr ""
6133
6134 #. type: textblock
6135 #: ../fish/guestfish-actions.pod:359
6136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:359
6137 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:557
6138 #: ../src/guestfs-actions.pod:557
6139 msgid ""
6140 "This command is used to check the availability of some groups of "
6141 "functionality in the appliance, which not all builds of the libguestfs "
6142 "appliance will be able to provide."
6143 msgstr ""
6144
6145 #. type: textblock
6146 #: ../fish/guestfish-actions.pod:363
6147 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:363
6148 msgid ""
6149 "The libguestfs groups, and the functions that those groups correspond to, "
6150 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
6151 "runtime by calling L</available-all-groups>."
6152 msgstr ""
6153
6154 #. type: textblock
6155 #: ../fish/guestfish-actions.pod:368
6156 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:368
6157 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:566
6158 #: ../src/guestfs-actions.pod:566
6159 msgid ""
6160 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
6161 "\"]> would check for the availability of the Linux inotify functions and "
6162 "Augeas (configuration file editing) functions."
6163 msgstr ""
6164
6165 #. type: textblock
6166 #: ../fish/guestfish-actions.pod:373
6167 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:373
6168 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:571
6169 #: ../src/guestfs-actions.pod:571
6170 msgid "The command returns no error if I<all> requested groups are available."
6171 msgstr ""
6172
6173 #. type: textblock
6174 #: ../fish/guestfish-actions.pod:375
6175 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:375
6176 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:573
6177 #: ../src/guestfs-actions.pod:573
6178 msgid ""
6179 "It fails with an error if one or more of the requested groups is unavailable "
6180 "in the appliance."
6181 msgstr ""
6182
6183 #. type: textblock
6184 #: ../fish/guestfish-actions.pod:378
6185 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:378
6186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:576
6187 #: ../src/guestfs-actions.pod:576
6188 msgid ""
6189 "If an unknown group name is included in the list of groups then an error is "
6190 "always returned."
6191 msgstr ""
6192
6193 #. type: textblock
6194 #: ../fish/guestfish-actions.pod:381
6195 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:381
6196 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:579
6197 #: ../src/guestfs-actions.pod:579
6198 msgid "I<Notes:>"
6199 msgstr ""
6200
6201 #. type: textblock
6202 #: ../fish/guestfish-actions.pod:387
6203 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:387
6204 msgid "You must call L</launch> before calling this function."
6205 msgstr ""
6206
6207 #. type: textblock
6208 #: ../fish/guestfish-actions.pod:389
6209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:389
6210 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:587
6211 #: ../src/guestfs-actions.pod:587
6212 msgid ""
6213 "The reason is because we don't know what groups are supported by the "
6214 "appliance/daemon until it is running and can be queried."
6215 msgstr ""
6216
6217 #. type: textblock
6218 #: ../fish/guestfish-actions.pod:395
6219 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:395
6220 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:593
6221 #: ../src/guestfs-actions.pod:593
6222 msgid ""
6223 "If a group of functions is available, this does not necessarily mean that "
6224 "they will work.  You still have to check for errors when calling individual "
6225 "API functions even if they are available."
6226 msgstr ""
6227
6228 #. type: textblock
6229 #: ../fish/guestfish-actions.pod:402
6230 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:402
6231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:600
6232 #: ../src/guestfs-actions.pod:600
6233 msgid ""
6234 "It is usually the job of distro packagers to build complete functionality "
6235 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
6236 "with all requirements satisfied, will support everything."
6237 msgstr ""
6238
6239 #. type: textblock
6240 #: ../fish/guestfish-actions.pod:409
6241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:409
6242 msgid ""
6243 "This call was added in version C<1.0.80>.  In previous versions of "
6244 "libguestfs all you could do would be to speculatively execute a command to "
6245 "find out if the daemon implemented it.  See also L</version>."
6246 msgstr ""
6247
6248 #. type: =head2
6249 #: ../fish/guestfish-actions.pod:416
6250 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:416
6251 msgid "available-all-groups"
6252 msgstr ""
6253
6254 #. type: verbatim
6255 #: ../fish/guestfish-actions.pod:418
6256 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:418
6257 #, no-wrap
6258 msgid ""
6259 " available-all-groups\n"
6260 "\n"
6261 msgstr ""
6262
6263 #. type: textblock
6264 #: ../fish/guestfish-actions.pod:420
6265 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:420
6266 msgid ""
6267 "This command returns a list of all optional groups that this daemon knows "
6268 "about.  Note this returns both supported and unsupported groups.  To find "
6269 "out which ones the daemon can actually support you have to call L</"
6270 "available> on each member of the returned list."
6271 msgstr ""
6272
6273 #. type: textblock
6274 #: ../fish/guestfish-actions.pod:426
6275 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:426
6276 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
6277 msgstr ""
6278
6279 #. type: =head2
6280 #: ../fish/guestfish-actions.pod:428
6281 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:428
6282 msgid "base64-in"
6283 msgstr ""
6284
6285 #. type: verbatim
6286 #: ../fish/guestfish-actions.pod:430
6287 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:430
6288 #, no-wrap
6289 msgid ""
6290 " base64-in (base64file|-) filename\n"
6291 "\n"
6292 msgstr ""
6293
6294 #. type: textblock
6295 #: ../fish/guestfish-actions.pod:432
6296 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:432
6297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:644
6298 #: ../src/guestfs-actions.pod:644
6299 msgid ""
6300 "This command uploads base64-encoded data from C<base64file> to C<filename>."
6301 msgstr ""
6302
6303 #. type: textblock
6304 #: ../fish/guestfish-actions.pod:435 ../fish/guestfish-actions.pod:444
6305 #: ../fish/guestfish-actions.pod:693 ../fish/guestfish-actions.pod:862
6306 #: ../fish/guestfish-actions.pod:881 ../fish/guestfish-actions.pod:1255
6307 #: ../fish/guestfish-actions.pod:4658 ../fish/guestfish-actions.pod:4670
6308 #: ../fish/guestfish-actions.pod:4681 ../fish/guestfish-actions.pod:4692
6309 #: ../fish/guestfish-actions.pod:4744 ../fish/guestfish-actions.pod:4753
6310 #: ../fish/guestfish-actions.pod:4807 ../fish/guestfish-actions.pod:4830
6311 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:435
6312 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:444
6313 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:693
6314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:862
6315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:881
6316 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1255
6317 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4658
6318 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4670
6319 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4681
6320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4692
6321 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4744
6322 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4753
6323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4807
6324 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4830
6325 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
6326 msgstr ""
6327
6328 #. type: =head2
6329 #: ../fish/guestfish-actions.pod:437
6330 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:437
6331 msgid "base64-out"
6332 msgstr ""
6333
6334 #. type: verbatim
6335 #: ../fish/guestfish-actions.pod:439
6336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:439
6337 #, no-wrap
6338 msgid ""
6339 " base64-out filename (base64file|-)\n"
6340 "\n"
6341 msgstr ""
6342
6343 #. type: textblock
6344 #: ../fish/guestfish-actions.pod:441
6345 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:441
6346 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:658
6347 #: ../src/guestfs-actions.pod:658
6348 msgid ""
6349 "This command downloads the contents of C<filename>, writing it out to local "
6350 "file C<base64file> encoded as base64."
6351 msgstr ""
6352
6353 #. type: =head2
6354 #: ../fish/guestfish-actions.pod:446
6355 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:446
6356 msgid "blockdev-flushbufs"
6357 msgstr ""
6358
6359 #. type: verbatim
6360 #: ../fish/guestfish-actions.pod:448
6361 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:448
6362 #, no-wrap
6363 msgid ""
6364 " blockdev-flushbufs device\n"
6365 "\n"
6366 msgstr ""
6367
6368 #. type: textblock
6369 #: ../fish/guestfish-actions.pod:450
6370 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:450
6371 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:671
6372 #: ../src/guestfs-actions.pod:671
6373 msgid ""
6374 "This tells the kernel to flush internal buffers associated with C<device>."
6375 msgstr ""
6376
6377 #. type: textblock
6378 #: ../fish/guestfish-actions.pod:453 ../fish/guestfish-actions.pod:464
6379 #: ../fish/guestfish-actions.pod:473 ../fish/guestfish-actions.pod:483
6380 #: ../fish/guestfish-actions.pod:495 ../fish/guestfish-actions.pod:508
6381 #: ../fish/guestfish-actions.pod:516 ../fish/guestfish-actions.pod:527
6382 #: ../fish/guestfish-actions.pod:535 ../fish/guestfish-actions.pod:543
6383 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:453
6384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:464
6385 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:473
6386 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:483
6387 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:495
6388 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:508
6389 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:516
6390 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:527
6391 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:535
6392 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:543
6393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:674
6394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:691
6395 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:706
6396 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:722
6397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:740
6398 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:759
6399 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:773
6400 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:791
6401 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:805
6402 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:819
6403 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:691
6404 #: ../src/guestfs-actions.pod:706 ../src/guestfs-actions.pod:722
6405 #: ../src/guestfs-actions.pod:740 ../src/guestfs-actions.pod:759
6406 #: ../src/guestfs-actions.pod:773 ../src/guestfs-actions.pod:791
6407 #: ../src/guestfs-actions.pod:805 ../src/guestfs-actions.pod:819
6408 msgid "This uses the L<blockdev(8)> command."
6409 msgstr ""
6410
6411 #. type: =head2
6412 #: ../fish/guestfish-actions.pod:455
6413 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:455
6414 msgid "blockdev-getbsz"
6415 msgstr ""
6416
6417 #. type: verbatim
6418 #: ../fish/guestfish-actions.pod:457
6419 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:457
6420 #, no-wrap
6421 msgid ""
6422 " blockdev-getbsz device\n"
6423 "\n"
6424 msgstr ""
6425
6426 #. type: textblock
6427 #: ../fish/guestfish-actions.pod:459
6428 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:459
6429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:686
6430 #: ../src/guestfs-actions.pod:686
6431 msgid "This returns the block size of a device."
6432 msgstr ""
6433
6434 #. type: textblock
6435 #: ../fish/guestfish-actions.pod:461 ../fish/guestfish-actions.pod:524
6436 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:461
6437 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:524
6438 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:688
6439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:788
6440 #: ../src/guestfs-actions.pod:688 ../src/guestfs-actions.pod:788
6441 msgid ""
6442 "(Note this is different from both I<size in blocks> and I<filesystem block "
6443 "size>)."
6444 msgstr ""
6445
6446 #. type: =head2
6447 #: ../fish/guestfish-actions.pod:466
6448 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:466
6449 msgid "blockdev-getro"
6450 msgstr ""
6451
6452 #. type: verbatim
6453 #: ../fish/guestfish-actions.pod:468
6454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:468
6455 #, no-wrap
6456 msgid ""
6457 " blockdev-getro device\n"
6458 "\n"
6459 msgstr ""
6460
6461 #. type: textblock
6462 #: ../fish/guestfish-actions.pod:470
6463 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:470
6464 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:703
6465 #: ../src/guestfs-actions.pod:703
6466 msgid ""
6467 "Returns a boolean indicating if the block device is read-only (true if read-"
6468 "only, false if not)."
6469 msgstr ""
6470
6471 #. type: =head2
6472 #: ../fish/guestfish-actions.pod:475
6473 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:475
6474 msgid "blockdev-getsize64"
6475 msgstr ""
6476
6477 #. type: verbatim
6478 #: ../fish/guestfish-actions.pod:477
6479 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:477
6480 #, no-wrap
6481 msgid ""
6482 " blockdev-getsize64 device\n"
6483 "\n"
6484 msgstr ""
6485
6486 #. type: textblock
6487 #: ../fish/guestfish-actions.pod:479
6488 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:479
6489 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:718
6490 #: ../src/guestfs-actions.pod:718
6491 msgid "This returns the size of the device in bytes."
6492 msgstr ""
6493
6494 #. type: textblock
6495 #: ../fish/guestfish-actions.pod:481
6496 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:481
6497 msgid "See also L</blockdev-getsz>."
6498 msgstr ""
6499
6500 #. type: =head2
6501 #: ../fish/guestfish-actions.pod:485
6502 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:485
6503 msgid "blockdev-getss"
6504 msgstr ""
6505
6506 #. type: verbatim
6507 #: ../fish/guestfish-actions.pod:487
6508 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:487
6509 #, no-wrap
6510 msgid ""
6511 " blockdev-getss device\n"
6512 "\n"
6513 msgstr ""
6514
6515 #. type: textblock
6516 #: ../fish/guestfish-actions.pod:489
6517 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:489
6518 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:734
6519 #: ../src/guestfs-actions.pod:734
6520 msgid ""
6521 "This returns the size of sectors on a block device.  Usually 512, but can be "
6522 "larger for modern devices."
6523 msgstr ""
6524
6525 #. type: textblock
6526 #: ../fish/guestfish-actions.pod:492
6527 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:492
6528 msgid ""
6529 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
6530 msgstr ""
6531
6532 #. type: =head2
6533 #: ../fish/guestfish-actions.pod:497
6534 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:497
6535 msgid "blockdev-getsz"
6536 msgstr ""
6537
6538 #. type: verbatim
6539 #: ../fish/guestfish-actions.pod:499
6540 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:499
6541 #, no-wrap
6542 msgid ""
6543 " blockdev-getsz device\n"
6544 "\n"
6545 msgstr ""
6546
6547 #. type: textblock
6548 #: ../fish/guestfish-actions.pod:501
6549 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:501
6550 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:752
6551 #: ../src/guestfs-actions.pod:752
6552 msgid ""
6553 "This returns the size of the device in units of 512-byte sectors (even if "
6554 "the sectorsize isn't 512 bytes ... weird)."
6555 msgstr ""
6556
6557 #. type: textblock
6558 #: ../fish/guestfish-actions.pod:504
6559 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:504
6560 msgid ""
6561 "See also L</blockdev-getss> for the real sector size of the device, and L</"
6562 "blockdev-getsize64> for the more useful I<size in bytes>."
6563 msgstr ""
6564
6565 #. type: =head2
6566 #: ../fish/guestfish-actions.pod:510
6567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:510
6568 msgid "blockdev-rereadpt"
6569 msgstr ""
6570
6571 #. type: verbatim
6572 #: ../fish/guestfish-actions.pod:512
6573 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:512
6574 #, no-wrap
6575 msgid ""
6576 " blockdev-rereadpt device\n"
6577 "\n"
6578 msgstr ""
6579
6580 #. type: textblock
6581 #: ../fish/guestfish-actions.pod:514
6582 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:514
6583 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:771
6584 #: ../src/guestfs-actions.pod:771
6585 msgid "Reread the partition table on C<device>."
6586 msgstr ""
6587
6588 #. type: =head2
6589 #: ../fish/guestfish-actions.pod:518
6590 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:518
6591 msgid "blockdev-setbsz"
6592 msgstr ""
6593
6594 #. type: verbatim
6595 #: ../fish/guestfish-actions.pod:520
6596 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:520
6597 #, no-wrap
6598 msgid ""
6599 " blockdev-setbsz device blocksize\n"
6600 "\n"
6601 msgstr ""
6602
6603 #. type: textblock
6604 #: ../fish/guestfish-actions.pod:522
6605 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:522
6606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:786
6607 #: ../src/guestfs-actions.pod:786
6608 msgid "This sets the block size of a device."
6609 msgstr ""
6610
6611 #. type: =head2
6612 #: ../fish/guestfish-actions.pod:529
6613 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:529
6614 msgid "blockdev-setro"
6615 msgstr ""
6616
6617 #. type: verbatim
6618 #: ../fish/guestfish-actions.pod:531
6619 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:531
6620 #, no-wrap
6621 msgid ""
6622 " blockdev-setro device\n"
6623 "\n"
6624 msgstr ""
6625
6626 #. type: textblock
6627 #: ../fish/guestfish-actions.pod:533
6628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:533
6629 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:803
6630 #: ../src/guestfs-actions.pod:803
6631 msgid "Sets the block device named C<device> to read-only."
6632 msgstr ""
6633
6634 #. type: =head2
6635 #: ../fish/guestfish-actions.pod:537
6636 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:537
6637 msgid "blockdev-setrw"
6638 msgstr ""
6639
6640 #. type: verbatim
6641 #: ../fish/guestfish-actions.pod:539
6642 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:539
6643 #, no-wrap
6644 msgid ""
6645 " blockdev-setrw device\n"
6646 "\n"
6647 msgstr ""
6648
6649 #. type: textblock
6650 #: ../fish/guestfish-actions.pod:541
6651 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:541
6652 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:817
6653 #: ../src/guestfs-actions.pod:817
6654 msgid "Sets the block device named C<device> to read-write."
6655 msgstr ""
6656
6657 #. type: =head2
6658 #: ../fish/guestfish-actions.pod:545
6659 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:545
6660 msgid "btrfs-filesystem-resize"
6661 msgstr ""
6662
6663 #. type: verbatim
6664 #: ../fish/guestfish-actions.pod:547
6665 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:547
6666 #, no-wrap
6667 msgid ""
6668 " btrfs-filesystem-resize mountpoint [size:..]\n"
6669 "\n"
6670 msgstr ""
6671
6672 #. type: textblock
6673 #: ../fish/guestfish-actions.pod:549
6674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:549
6675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:839
6676 #: ../src/guestfs-actions.pod:839
6677 msgid "This command resizes a btrfs filesystem."
6678 msgstr ""
6679
6680 #. type: textblock
6681 #: ../fish/guestfish-actions.pod:551
6682 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:551
6683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:841
6684 #: ../src/guestfs-actions.pod:841
6685 msgid ""
6686 "Note that unlike other resize calls, the filesystem has to be mounted and "
6687 "the parameter is the mountpoint not the device (this is a requirement of "
6688 "btrfs itself)."
6689 msgstr ""
6690
6691 #. type: textblock
6692 #: ../fish/guestfish-actions.pod:555 ../fish/guestfish-actions.pod:3417
6693 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:555
6694 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3417
6695 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:845
6696 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5189
6697 #: ../src/guestfs-actions.pod:845 ../src/guestfs-actions.pod:5189
6698 msgid "The optional parameters are:"
6699 msgstr ""
6700
6701 #. type: =item
6702 #: ../fish/guestfish-actions.pod:559 ../fish/guestfish-actions.pod:3421
6703 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:559
6704 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3421
6705 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:849
6706 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5193
6707 #: ../src/guestfs-actions.pod:849 ../src/guestfs-actions.pod:5193
6708 msgid "C<size>"
6709 msgstr ""
6710
6711 #. type: textblock
6712 #: ../fish/guestfish-actions.pod:561
6713 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:561
6714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:851
6715 #: ../src/guestfs-actions.pod:851
6716 msgid ""
6717 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
6718 "resized to the maximum size."
6719 msgstr ""
6720
6721 #. type: textblock
6722 #: ../fish/guestfish-actions.pod:566
6723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:566
6724 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:856
6725 #: ../src/guestfs-actions.pod:856
6726 msgid "See also L<btrfs(8)>."
6727 msgstr ""
6728
6729 #. type: =head2
6730 #: ../fish/guestfish-actions.pod:570
6731 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:570
6732 msgid "case-sensitive-path"
6733 msgstr ""
6734
6735 #. type: verbatim
6736 #: ../fish/guestfish-actions.pod:572
6737 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:572
6738 #, no-wrap
6739 msgid ""
6740 " case-sensitive-path path\n"
6741 "\n"
6742 msgstr ""
6743
6744 #. type: textblock
6745 #: ../fish/guestfish-actions.pod:574
6746 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:574
6747 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:890
6748 #: ../src/guestfs-actions.pod:890
6749 msgid ""
6750 "This can be used to resolve case insensitive paths on a filesystem which is "
6751 "case sensitive.  The use case is to resolve paths which you have read from "
6752 "Windows configuration files or the Windows Registry, to the true path."
6753 msgstr ""
6754
6755 #. type: textblock
6756 #: ../fish/guestfish-actions.pod:579
6757 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:579
6758 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:895
6759 #: ../src/guestfs-actions.pod:895
6760 msgid ""
6761 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
6762 "(and probably others), which is that although the underlying filesystem is "
6763 "case-insensitive, the driver exports the filesystem to Linux as case-"
6764 "sensitive."
6765 msgstr ""
6766
6767 #. type: textblock
6768 #: ../fish/guestfish-actions.pod:584
6769 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:584
6770 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:900
6771 #: ../src/guestfs-actions.pod:900
6772 msgid ""
6773 "One consequence of this is that special directories such as C<c:\\windows> "
6774 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
6775 "precise details of how they were created.  In Windows itself this would not "
6776 "be a problem."
6777 msgstr ""
6778
6779 #. type: textblock
6780 #: ../fish/guestfish-actions.pod:590
6781 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:590
6782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:906
6783 #: ../src/guestfs-actions.pod:906
6784 msgid ""
6785 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
6786 "#posixfilenames1>"
6787 msgstr ""
6788
6789 #. type: textblock
6790 #: ../fish/guestfish-actions.pod:593
6791 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:593
6792 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:909
6793 #: ../src/guestfs-actions.pod:909
6794 msgid ""
6795 "This function resolves the true case of each element in the path and returns "
6796 "the case-sensitive path."
6797 msgstr ""
6798
6799 #. type: textblock
6800 #: ../fish/guestfish-actions.pod:596
6801 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:596
6802 msgid ""
6803 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
6804 "WINDOWS/system32\"> (the exact return value would depend on details of how "
6805 "the directories were originally created under Windows)."
6806 msgstr ""
6807
6808 #. type: textblock
6809 #: ../fish/guestfish-actions.pod:601
6810 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:601
6811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:917
6812 #: ../src/guestfs-actions.pod:917
6813 msgid "I<Note>: This function does not handle drive names, backslashes etc."
6814 msgstr ""
6815
6816 #. type: textblock
6817 #: ../fish/guestfish-actions.pod:604
6818 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:604
6819 msgid "See also L</realpath>."
6820 msgstr ""
6821
6822 #. type: =head2
6823 #: ../fish/guestfish-actions.pod:606
6824 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:606
6825 msgid "cat"
6826 msgstr ""
6827
6828 #. type: verbatim
6829 #: ../fish/guestfish-actions.pod:608
6830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:608
6831 #, no-wrap
6832 msgid ""
6833 " cat path\n"
6834 "\n"
6835 msgstr ""
6836
6837 #. type: textblock
6838 #: ../fish/guestfish-actions.pod:610 ../fish/guestfish-actions.pod:3837
6839 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:610
6840 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3837
6841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:933
6842 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5832
6843 #: ../src/guestfs-actions.pod:933 ../src/guestfs-actions.pod:5832
6844 msgid "Return the contents of the file named C<path>."
6845 msgstr ""
6846
6847 #. type: textblock
6848 #: ../fish/guestfish-actions.pod:612
6849 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:612
6850 msgid ""
6851 "Note that this function cannot correctly handle binary files (specifically, "
6852 "files containing C<\\0> character which is treated as end of string).  For "
6853 "those you need to use the L</read-file> or L</download> functions which have "
6854 "a more complex interface."
6855 msgstr ""
6856
6857 #. type: textblock
6858 #: ../fish/guestfish-actions.pod:617 ../fish/guestfish-actions.pod:752
6859 #: ../fish/guestfish-actions.pod:764 ../fish/guestfish-actions.pod:940
6860 #: ../fish/guestfish-actions.pod:950 ../fish/guestfish-actions.pod:1017
6861 #: ../fish/guestfish-actions.pod:1027 ../fish/guestfish-actions.pod:1219
6862 #: ../fish/guestfish-actions.pod:1526 ../fish/guestfish-actions.pod:1536
6863 #: ../fish/guestfish-actions.pod:1564 ../fish/guestfish-actions.pod:1579
6864 #: ../fish/guestfish-actions.pod:1589 ../fish/guestfish-actions.pod:1608
6865 #: ../fish/guestfish-actions.pod:3707 ../fish/guestfish-actions.pod:3722
6866 #: ../fish/guestfish-actions.pod:3798 ../fish/guestfish-actions.pod:3815
6867 #: ../fish/guestfish-actions.pod:3830 ../fish/guestfish-actions.pod:4499
6868 #: ../fish/guestfish-actions.pod:4545 ../fish/guestfish-actions.pod:4630
6869 #: ../fish/guestfish-actions.pod:4645 ../fish/guestfish-actions.pod:5051
6870 #: ../fish/guestfish-actions.pod:5063 ../fish/guestfish-actions.pod:5081
6871 #: ../fish/guestfish-actions.pod:5098 ../fish/guestfish-actions.pod:5108
6872 #: ../fish/guestfish-actions.pod:5157 ../fish/guestfish-actions.pod:5167
6873 #: ../fish/guestfish-actions.pod:5196 ../fish/guestfish-actions.pod:5206
6874 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:617
6875 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:752
6876 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:764
6877 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:940
6878 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:950
6879 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1017
6880 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1027
6881 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1219
6882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1526
6883 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1536
6884 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1564
6885 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1579
6886 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1589
6887 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1608
6888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3707
6889 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3722
6890 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3798
6891 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3815
6892 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3830
6893 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4499
6894 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4545
6895 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4630
6896 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4645
6897 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5051
6898 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5063
6899 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5081
6900 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5098
6901 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5108
6902 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5157
6903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5167
6904 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5196
6905 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5206
6906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:943
6907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1122
6908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1142
6909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1438
6910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1457
6911 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1560
6912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1579
6913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1825
6914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2296
6915 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2315
6916 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2358
6917 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2382
6918 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2399
6919 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2428
6920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5614
6921 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5640
6922 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5771
6923 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5797
6924 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5821
6925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6772
6926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6827
6927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6973
6928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6997
6929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7662
6930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7682
6931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7708
6932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7734
6933 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7753
6934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7839
6935 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7858
6936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7904
6937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7923
6938 #: ../src/guestfs-actions.pod:943 ../src/guestfs-actions.pod:1122
6939 #: ../src/guestfs-actions.pod:1142 ../src/guestfs-actions.pod:1438
6940 #: ../src/guestfs-actions.pod:1457 ../src/guestfs-actions.pod:1560
6941 #: ../src/guestfs-actions.pod:1579 ../src/guestfs-actions.pod:1825
6942 #: ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2315
6943 #: ../src/guestfs-actions.pod:2358 ../src/guestfs-actions.pod:2382
6944 #: ../src/guestfs-actions.pod:2399 ../src/guestfs-actions.pod:2428
6945 #: ../src/guestfs-actions.pod:5614 ../src/guestfs-actions.pod:5640
6946 #: ../src/guestfs-actions.pod:5771 ../src/guestfs-actions.pod:5797
6947 #: ../src/guestfs-actions.pod:5821 ../src/guestfs-actions.pod:6772
6948 #: ../src/guestfs-actions.pod:6827 ../src/guestfs-actions.pod:6973
6949 #: ../src/guestfs-actions.pod:6997 ../src/guestfs-actions.pod:7662
6950 #: ../src/guestfs-actions.pod:7682 ../src/guestfs-actions.pod:7708
6951 #: ../src/guestfs-actions.pod:7734 ../src/guestfs-actions.pod:7753
6952 #: ../src/guestfs-actions.pod:7839 ../src/guestfs-actions.pod:7858
6953 #: ../src/guestfs-actions.pod:7904 ../src/guestfs-actions.pod:7923
6954 msgid ""
6955 "Because of the message protocol, there is a transfer limit of somewhere "
6956 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
6957 msgstr ""
6958
6959 #. type: =head2
6960 #: ../fish/guestfish-actions.pod:620
6961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:620
6962 msgid "checksum"
6963 msgstr ""
6964
6965 #. type: verbatim
6966 #: ../fish/guestfish-actions.pod:622
6967 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:622
6968 #, no-wrap
6969 msgid ""
6970 " checksum csumtype path\n"
6971 "\n"
6972 msgstr ""
6973
6974 #. type: textblock
6975 #: ../fish/guestfish-actions.pod:624
6976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:624
6977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:955
6978 #: ../src/guestfs-actions.pod:955
6979 msgid ""
6980 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
6981 msgstr ""
6982
6983 #. type: textblock
6984 #: ../fish/guestfish-actions.pod:627
6985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:627
6986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:958
6987 #: ../src/guestfs-actions.pod:958
6988 msgid ""
6989 "The type of checksum to compute is given by the C<csumtype> parameter which "
6990 "must have one of the following values:"
6991 msgstr ""
6992
6993 #. type: =item
6994 #: ../fish/guestfish-actions.pod:632
6995 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:632
6996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:963
6997 #: ../src/guestfs-actions.pod:963
6998 msgid "C<crc>"
6999 msgstr ""
7000
7001 #. type: textblock
7002 #: ../fish/guestfish-actions.pod:634
7003 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:634
7004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:965
7005 #: ../src/guestfs-actions.pod:965
7006 msgid ""
7007 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
7008 "C<cksum> command."
7009 msgstr ""
7010
7011 #. type: =item
7012 #: ../fish/guestfish-actions.pod:637
7013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:637
7014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:968
7015 #: ../src/guestfs-actions.pod:968
7016 msgid "C<md5>"
7017 msgstr ""
7018
7019 #. type: textblock
7020 #: ../fish/guestfish-actions.pod:639
7021 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:639
7022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:970
7023 #: ../src/guestfs-actions.pod:970
7024 msgid "Compute the MD5 hash (using the C<md5sum> program)."
7025 msgstr ""
7026
7027 #. type: =item
7028 #: ../fish/guestfish-actions.pod:641
7029 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:641
7030 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:972
7031 #: ../src/guestfs-actions.pod:972
7032 msgid "C<sha1>"
7033 msgstr ""
7034
7035 #. type: textblock
7036 #: ../fish/guestfish-actions.pod:643
7037 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:643
7038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:974
7039 #: ../src/guestfs-actions.pod:974
7040 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
7041 msgstr ""
7042
7043 #. type: =item
7044 #: ../fish/guestfish-actions.pod:645
7045 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:645
7046 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:976
7047 #: ../src/guestfs-actions.pod:976
7048 msgid "C<sha224>"
7049 msgstr ""
7050
7051 #. type: textblock
7052 #: ../fish/guestfish-actions.pod:647
7053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:647
7054 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:978
7055 #: ../src/guestfs-actions.pod:978
7056 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
7057 msgstr ""
7058
7059 #. type: =item
7060 #: ../fish/guestfish-actions.pod:649
7061 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:649
7062 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:980
7063 #: ../src/guestfs-actions.pod:980
7064 msgid "C<sha256>"
7065 msgstr ""
7066
7067 #. type: textblock
7068 #: ../fish/guestfish-actions.pod:651
7069 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:651
7070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:982
7071 #: ../src/guestfs-actions.pod:982
7072 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
7073 msgstr ""
7074
7075 #. type: =item
7076 #: ../fish/guestfish-actions.pod:653
7077 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:653
7078 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:984
7079 #: ../src/guestfs-actions.pod:984
7080 msgid "C<sha384>"
7081 msgstr ""
7082
7083 #. type: textblock
7084 #: ../fish/guestfish-actions.pod:655
7085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:655
7086 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:986
7087 #: ../src/guestfs-actions.pod:986
7088 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
7089 msgstr ""
7090
7091 #. type: =item
7092 #: ../fish/guestfish-actions.pod:657
7093 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:657
7094 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:988
7095 #: ../src/guestfs-actions.pod:988
7096 msgid "C<sha512>"
7097 msgstr ""
7098
7099 #. type: textblock
7100 #: ../fish/guestfish-actions.pod:659
7101 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:659
7102 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:990
7103 #: ../src/guestfs-actions.pod:990
7104 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
7105 msgstr ""
7106
7107 #. type: textblock
7108 #: ../fish/guestfish-actions.pod:663
7109 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:663
7110 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:994
7111 #: ../src/guestfs-actions.pod:994
7112 msgid "The checksum is returned as a printable string."
7113 msgstr ""
7114
7115 #. type: textblock
7116 #: ../fish/guestfish-actions.pod:665
7117 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:665
7118 msgid "To get the checksum for a device, use L</checksum-device>."
7119 msgstr ""
7120
7121 #. type: textblock
7122 #: ../fish/guestfish-actions.pod:667
7123 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:667
7124 msgid "To get the checksums for many files, use L</checksums-out>."
7125 msgstr ""
7126
7127 #. type: =head2
7128 #: ../fish/guestfish-actions.pod:669
7129 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:669
7130 msgid "checksum-device"
7131 msgstr ""
7132
7133 #. type: verbatim
7134 #: ../fish/guestfish-actions.pod:671
7135 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:671
7136 #, no-wrap
7137 msgid ""
7138 " checksum-device csumtype device\n"
7139 "\n"
7140 msgstr ""
7141
7142 #. type: textblock
7143 #: ../fish/guestfish-actions.pod:673
7144 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:673
7145 msgid ""
7146 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
7147 "device named C<device>.  For the types of checksums supported see the L</"
7148 "checksum> command."
7149 msgstr ""
7150
7151 #. type: =head2
7152 #: ../fish/guestfish-actions.pod:677
7153 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:677
7154 msgid "checksums-out"
7155 msgstr ""
7156
7157 #. type: verbatim
7158 #: ../fish/guestfish-actions.pod:679
7159 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:679
7160 #, no-wrap
7161 msgid ""
7162 " checksums-out csumtype directory (sumsfile|-)\n"
7163 "\n"
7164 msgstr ""
7165
7166 #. type: textblock
7167 #: ../fish/guestfish-actions.pod:681
7168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:681
7169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1029
7170 #: ../src/guestfs-actions.pod:1029
7171 msgid ""
7172 "This command computes the checksums of all regular files in C<directory> and "
7173 "then emits a list of those checksums to the local output file C<sumsfile>."
7174 msgstr ""
7175
7176 #. type: textblock
7177 #: ../fish/guestfish-actions.pod:685
7178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:685
7179 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1033
7180 #: ../src/guestfs-actions.pod:1033
7181 msgid ""
7182 "This can be used for verifying the integrity of a virtual machine.  However "
7183 "to be properly secure you should pay attention to the output of the checksum "
7184 "command (it uses the ones from GNU coreutils).  In particular when the "
7185 "filename is not printable, coreutils uses a special backslash syntax.  For "
7186 "more information, see the GNU coreutils info file."
7187 msgstr ""
7188
7189 #. type: =head2
7190 #: ../fish/guestfish-actions.pod:695
7191 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:695
7192 msgid "chmod"
7193 msgstr ""
7194
7195 #. type: verbatim
7196 #: ../fish/guestfish-actions.pod:697
7197 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:697
7198 #, no-wrap
7199 msgid ""
7200 " chmod mode path\n"
7201 "\n"
7202 msgstr ""
7203
7204 #. type: textblock
7205 #: ../fish/guestfish-actions.pod:699
7206 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:699
7207 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1052
7208 #: ../src/guestfs-actions.pod:1052
7209 msgid ""
7210 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
7211 "supported."
7212 msgstr ""
7213
7214 #. type: textblock
7215 #: ../fish/guestfish-actions.pod:702
7216 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:702
7217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1055
7218 #: ../src/guestfs-actions.pod:1055
7219 msgid ""
7220 "I<Note>: When using this command from guestfish, C<mode> by default would be "
7221 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
7222 "C<700>."
7223 msgstr ""
7224
7225 #. type: textblock
7226 #: ../fish/guestfish-actions.pod:706 ../fish/guestfish-actions.pod:3060
7227 #: ../fish/guestfish-actions.pod:3199 ../fish/guestfish-actions.pod:3209
7228 #: ../fish/guestfish-actions.pod:3219
7229 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:706
7230 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3060
7231 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3199
7232 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3209
7233 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3219
7234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1059
7235 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4586
7236 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4795
7237 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4814
7238 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4833
7239 #: ../src/guestfs-actions.pod:1059 ../src/guestfs-actions.pod:4586
7240 #: ../src/guestfs-actions.pod:4795 ../src/guestfs-actions.pod:4814
7241 #: ../src/guestfs-actions.pod:4833
7242 msgid "The mode actually set is affected by the umask."
7243 msgstr ""
7244
7245 #. type: =head2
7246 #: ../fish/guestfish-actions.pod:708
7247 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:708
7248 msgid "chown"
7249 msgstr ""
7250
7251 #. type: verbatim
7252 #: ../fish/guestfish-actions.pod:710
7253 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:710
7254 #, no-wrap
7255 msgid ""
7256 " chown owner group path\n"
7257 "\n"
7258 msgstr ""
7259
7260 #. type: textblock
7261 #: ../fish/guestfish-actions.pod:712
7262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:712
7263 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1073
7264 #: ../src/guestfs-actions.pod:1073
7265 msgid "Change the file owner to C<owner> and group to C<group>."
7266 msgstr ""
7267
7268 #. type: textblock
7269 #: ../fish/guestfish-actions.pod:714 ../fish/guestfish-actions.pod:2495
7270 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:714
7271 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2495
7272 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1075
7273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3657
7274 #: ../src/guestfs-actions.pod:1075 ../src/guestfs-actions.pod:3657
7275 msgid ""
7276 "Only numeric uid and gid are supported.  If you want to use names, you will "
7277 "need to locate and parse the password file yourself (Augeas support makes "
7278 "this relatively easy)."
7279 msgstr ""
7280
7281 #. type: =head2
7282 #: ../fish/guestfish-actions.pod:718
7283 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:718
7284 msgid "command"
7285 msgstr ""
7286
7287 #. type: verbatim
7288 #: ../fish/guestfish-actions.pod:720
7289 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:720
7290 #, no-wrap
7291 msgid ""
7292 " command 'arguments ...'\n"
7293 "\n"
7294 msgstr ""
7295
7296 #. type: textblock
7297 #: ../fish/guestfish-actions.pod:722
7298 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:722
7299 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1089
7300 #: ../src/guestfs-actions.pod:1089
7301 msgid ""
7302 "This call runs a command from the guest filesystem.  The filesystem must be "
7303 "mounted, and must contain a compatible operating system (ie. something "
7304 "Linux, with the same or compatible processor architecture)."
7305 msgstr ""
7306
7307 #. type: textblock
7308 #: ../fish/guestfish-actions.pod:727
7309 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:727
7310 msgid ""
7311 "The single parameter is an argv-style list of arguments.  The first element "
7312 "is the name of the program to run.  Subsequent elements are parameters.  The "
7313 "list must be non-empty (ie. must contain a program name).  Note that the "
7314 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
7315 msgstr ""
7316
7317 #. type: textblock
7318 #: ../fish/guestfish-actions.pod:734
7319 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:734
7320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1101
7321 #: ../src/guestfs-actions.pod:1101
7322 msgid "The return value is anything printed to I<stdout> by the command."
7323 msgstr ""
7324
7325 #. type: textblock
7326 #: ../fish/guestfish-actions.pod:737
7327 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:737
7328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1104
7329 #: ../src/guestfs-actions.pod:1104
7330 msgid ""
7331 "If the command returns a non-zero exit status, then this function returns an "
7332 "error message.  The error message string is the content of I<stderr> from "
7333 "the command."
7334 msgstr ""
7335
7336 #. type: textblock
7337 #: ../fish/guestfish-actions.pod:741
7338 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:741
7339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1108
7340 #: ../src/guestfs-actions.pod:1108
7341 msgid ""
7342 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
7343 "bin>.  If you require a program from another location, you should provide "
7344 "the full path in the first parameter."
7345 msgstr ""
7346
7347 #. type: textblock
7348 #: ../fish/guestfish-actions.pod:746
7349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:746
7350 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1113
7351 #: ../src/guestfs-actions.pod:1113
7352 msgid ""
7353 "Shared libraries and data files required by the program must be available on "
7354 "filesystems which are mounted in the correct places.  It is the caller's "
7355 "responsibility to ensure all filesystems that are needed are mounted at the "
7356 "right locations."
7357 msgstr ""
7358
7359 #. type: =head2
7360 #: ../fish/guestfish-actions.pod:755
7361 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:755
7362 msgid "command-lines"
7363 msgstr ""
7364
7365 #. type: verbatim
7366 #: ../fish/guestfish-actions.pod:757
7367 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:757
7368 #, no-wrap
7369 msgid ""
7370 " command-lines 'arguments ...'\n"
7371 "\n"
7372 msgstr ""
7373
7374 #. type: textblock
7375 #: ../fish/guestfish-actions.pod:759
7376 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:759
7377 msgid ""
7378 "This is the same as L</command>, but splits the result into a list of lines."
7379 msgstr ""
7380
7381 #. type: textblock
7382 #: ../fish/guestfish-actions.pod:762
7383 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:762
7384 msgid "See also: L</sh-lines>"
7385 msgstr ""
7386
7387 #. type: =head2
7388 #: ../fish/guestfish-actions.pod:767
7389 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:767
7390 msgid "config"
7391 msgstr ""
7392
7393 #. type: verbatim
7394 #: ../fish/guestfish-actions.pod:769
7395 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:769
7396 #, no-wrap
7397 msgid ""
7398 " config qemuparam qemuvalue\n"
7399 "\n"
7400 msgstr ""
7401
7402 #. type: textblock
7403 #: ../fish/guestfish-actions.pod:771
7404 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:771
7405 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1154
7406 #: ../src/guestfs-actions.pod:1154
7407 msgid ""
7408 "This can be used to add arbitrary qemu command line parameters of the form "
7409 "I<-param value>.  Actually it's not quite arbitrary - we prevent you from "
7410 "setting some parameters which would interfere with parameters that we use."
7411 msgstr ""
7412
7413 #. type: textblock
7414 #: ../fish/guestfish-actions.pod:776
7415 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:776
7416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1159
7417 #: ../src/guestfs-actions.pod:1159
7418 msgid "The first character of C<param> string must be a C<-> (dash)."
7419 msgstr ""
7420
7421 #. type: textblock
7422 #: ../fish/guestfish-actions.pod:778
7423 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:778
7424 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1161
7425 #: ../src/guestfs-actions.pod:1161
7426 msgid "C<value> can be NULL."
7427 msgstr ""
7428
7429 #. type: =head2
7430 #: ../fish/guestfish-actions.pod:780
7431 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:780
7432 msgid "copy-size"
7433 msgstr ""
7434
7435 #. type: verbatim
7436 #: ../fish/guestfish-actions.pod:782
7437 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:782
7438 #, no-wrap
7439 msgid ""
7440 " copy-size src dest size\n"
7441 "\n"
7442 msgstr ""
7443
7444 #. type: textblock
7445 #: ../fish/guestfish-actions.pod:784
7446 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:784
7447 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1175
7448 #: ../src/guestfs-actions.pod:1175
7449 msgid ""
7450 "This command copies exactly C<size> bytes from one source device or file "
7451 "C<src> to another destination device or file C<dest>."
7452 msgstr ""
7453
7454 #. type: textblock
7455 #: ../fish/guestfish-actions.pod:787
7456 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:787
7457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1178
7458 #: ../src/guestfs-actions.pod:1178
7459 msgid ""
7460 "Note this will fail if the source is too short or if the destination is not "
7461 "large enough."
7462 msgstr ""
7463
7464 #. type: =head2
7465 #: ../fish/guestfish-actions.pod:790
7466 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:790
7467 msgid "cp"
7468 msgstr ""
7469
7470 #. type: verbatim
7471 #: ../fish/guestfish-actions.pod:792
7472 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:792
7473 #, no-wrap
7474 msgid ""
7475 " cp src dest\n"
7476 "\n"
7477 msgstr ""
7478
7479 #. type: textblock
7480 #: ../fish/guestfish-actions.pod:794
7481 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:794
7482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1197
7483 #: ../src/guestfs-actions.pod:1197
7484 msgid ""
7485 "This copies a file from C<src> to C<dest> where C<dest> is either a "
7486 "destination filename or destination directory."
7487 msgstr ""
7488
7489 #. type: =head2
7490 #: ../fish/guestfish-actions.pod:797
7491 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:797
7492 msgid "cp-a"
7493 msgstr ""
7494
7495 #. type: verbatim
7496 #: ../fish/guestfish-actions.pod:799
7497 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:799
7498 #, no-wrap
7499 msgid ""
7500 " cp-a src dest\n"
7501 "\n"
7502 msgstr ""
7503
7504 #. type: textblock
7505 #: ../fish/guestfish-actions.pod:801
7506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:801
7507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1211
7508 #: ../src/guestfs-actions.pod:1211
7509 msgid ""
7510 "This copies a file or directory from C<src> to C<dest> recursively using the "
7511 "C<cp -a> command."
7512 msgstr ""
7513
7514 #. type: =head2
7515 #: ../fish/guestfish-actions.pod:804
7516 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:804
7517 msgid "dd"
7518 msgstr ""
7519
7520 #. type: verbatim
7521 #: ../fish/guestfish-actions.pod:806
7522 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:806
7523 #, no-wrap
7524 msgid ""
7525 " dd src dest\n"
7526 "\n"
7527 msgstr ""
7528
7529 #. type: textblock
7530 #: ../fish/guestfish-actions.pod:808
7531 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:808
7532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1225
7533 #: ../src/guestfs-actions.pod:1225
7534 msgid ""
7535 "This command copies from one source device or file C<src> to another "
7536 "destination device or file C<dest>.  Normally you would use this to copy to "
7537 "or from a device or partition, for example to duplicate a filesystem."
7538 msgstr ""
7539
7540 #. type: textblock
7541 #: ../fish/guestfish-actions.pod:813
7542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:813
7543 msgid ""
7544 "If the destination is a device, it must be as large or larger than the "
7545 "source file or device, otherwise the copy will fail.  This command cannot do "
7546 "partial copies (see L</copy-size>)."
7547 msgstr ""
7548
7549 #. type: =head2
7550 #: ../fish/guestfish-actions.pod:817
7551 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:817
7552 msgid "df"
7553 msgstr ""
7554
7555 #. type: verbatim
7556 #: ../fish/guestfish-actions.pod:819
7557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:819
7558 #, no-wrap
7559 msgid ""
7560 " df\n"
7561 "\n"
7562 msgstr ""
7563
7564 #. type: textblock
7565 #: ../fish/guestfish-actions.pod:821
7566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:821
7567 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1243
7568 #: ../src/guestfs-actions.pod:1243
7569 msgid "This command runs the C<df> command to report disk space used."
7570 msgstr ""
7571
7572 #. type: textblock
7573 #: ../fish/guestfish-actions.pod:823 ../fish/guestfish-actions.pod:834
7574 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:823
7575 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:834
7576 msgid ""
7577 "This command is mostly useful for interactive sessions.  It is I<not> "
7578 "intended that you try to parse the output string.  Use L</statvfs> from "
7579 "programs."
7580 msgstr ""
7581
7582 #. type: =head2
7583 #: ../fish/guestfish-actions.pod:827
7584 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:827
7585 msgid "df-h"
7586 msgstr ""
7587
7588 #. type: verbatim
7589 #: ../fish/guestfish-actions.pod:829
7590 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:829
7591 #, no-wrap
7592 msgid ""
7593 " df-h\n"
7594 "\n"
7595 msgstr ""
7596
7597 #. type: textblock
7598 #: ../fish/guestfish-actions.pod:831
7599 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:831
7600 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1259
7601 #: ../src/guestfs-actions.pod:1259
7602 msgid ""
7603 "This command runs the C<df -h> command to report disk space used in human-"
7604 "readable format."
7605 msgstr ""
7606
7607 #. type: =head2
7608 #: ../fish/guestfish-actions.pod:838
7609 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:838
7610 msgid "dmesg"
7611 msgstr ""
7612
7613 #. type: verbatim
7614 #: ../fish/guestfish-actions.pod:840
7615 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:840
7616 #, no-wrap
7617 msgid ""
7618 " dmesg\n"
7619 "\n"
7620 msgstr ""
7621
7622 #. type: textblock
7623 #: ../fish/guestfish-actions.pod:842
7624 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:842
7625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1276
7626 #: ../src/guestfs-actions.pod:1276
7627 msgid ""
7628 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
7629 "This is sometimes useful for extended debugging of problems."
7630 msgstr ""
7631
7632 #. type: textblock
7633 #: ../fish/guestfish-actions.pod:846
7634 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:846
7635 msgid ""
7636 "Another way to get the same information is to enable verbose messages with "
7637 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
7638 "before running the program."
7639 msgstr ""
7640
7641 #. type: =head2
7642 #: ../fish/guestfish-actions.pod:851
7643 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:851
7644 msgid "download"
7645 msgstr ""
7646
7647 #. type: verbatim
7648 #: ../fish/guestfish-actions.pod:853
7649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:853
7650 #, no-wrap
7651 msgid ""
7652 " download remotefilename (filename|-)\n"
7653 "\n"
7654 msgstr ""
7655
7656 #. type: textblock
7657 #: ../fish/guestfish-actions.pod:855 ../fish/guestfish-actions.pod:868
7658 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:855
7659 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:868
7660 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1297
7661 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1322
7662 #: ../src/guestfs-actions.pod:1297 ../src/guestfs-actions.pod:1322
7663 msgid ""
7664 "Download file C<remotefilename> and save it as C<filename> on the local "
7665 "machine."
7666 msgstr ""
7667
7668 #. type: textblock
7669 #: ../fish/guestfish-actions.pod:858 ../fish/guestfish-actions.pod:4803
7670 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:858
7671 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4803
7672 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1300
7673 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7232
7674 #: ../src/guestfs-actions.pod:1300 ../src/guestfs-actions.pod:7232
7675 msgid "C<filename> can also be a named pipe."
7676 msgstr ""
7677
7678 #. type: textblock
7679 #: ../fish/guestfish-actions.pod:860
7680 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:860
7681 msgid "See also L</upload>, L</cat>."
7682 msgstr ""
7683
7684 #. type: =head2
7685 #: ../fish/guestfish-actions.pod:864
7686 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:864
7687 msgid "download-offset"
7688 msgstr ""
7689
7690 #. type: verbatim
7691 #: ../fish/guestfish-actions.pod:866
7692 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:866
7693 #, no-wrap
7694 msgid ""
7695 " download-offset remotefilename (filename|-) offset size\n"
7696 "\n"
7697 msgstr ""
7698
7699 #. type: textblock
7700 #: ../fish/guestfish-actions.pod:871
7701 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:871
7702 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1325
7703 #: ../src/guestfs-actions.pod:1325
7704 msgid ""
7705 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
7706 "region must be within the file or device)."
7707 msgstr ""
7708
7709 #. type: textblock
7710 #: ../fish/guestfish-actions.pod:874
7711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:874
7712 msgid ""
7713 "Note that there is no limit on the amount of data that can be downloaded "
7714 "with this call, unlike with L</pread>, and this call always reads the full "
7715 "amount unless an error occurs."
7716 msgstr ""
7717
7718 #. type: textblock
7719 #: ../fish/guestfish-actions.pod:879
7720 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:879
7721 msgid "See also L</download>, L</pread>."
7722 msgstr ""
7723
7724 #. type: =head2
7725 #: ../fish/guestfish-actions.pod:883
7726 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:883
7727 msgid "drop-caches"
7728 msgstr ""
7729
7730 #. type: verbatim
7731 #: ../fish/guestfish-actions.pod:885
7732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:885
7733 #, no-wrap
7734 msgid ""
7735 " drop-caches whattodrop\n"
7736 "\n"
7737 msgstr ""
7738
7739 #. type: textblock
7740 #: ../fish/guestfish-actions.pod:887
7741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:887
7742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1350
7743 #: ../src/guestfs-actions.pod:1350
7744 msgid ""
7745 "This instructs the guest kernel to drop its page cache, and/or dentries and "
7746 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
7747 "to drop, see L<http://linux-mm.org/Drop_Caches>"
7748 msgstr ""
7749
7750 #. type: textblock
7751 #: ../fish/guestfish-actions.pod:892
7752 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:892
7753 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1355
7754 #: ../src/guestfs-actions.pod:1355
7755 msgid "Setting C<whattodrop> to 3 should drop everything."
7756 msgstr ""
7757
7758 #. type: textblock
7759 #: ../fish/guestfish-actions.pod:894
7760 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:894
7761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1357
7762 #: ../src/guestfs-actions.pod:1357
7763 msgid ""
7764 "This automatically calls L<sync(2)> before the operation, so that the "
7765 "maximum guest memory is freed."
7766 msgstr ""
7767
7768 #. type: =head2
7769 #: ../fish/guestfish-actions.pod:897
7770 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:897
7771 msgid "du"
7772 msgstr ""
7773
7774 #. type: verbatim
7775 #: ../fish/guestfish-actions.pod:899
7776 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:899
7777 #, no-wrap
7778 msgid ""
7779 " du path\n"
7780 "\n"
7781 msgstr ""
7782
7783 #. type: textblock
7784 #: ../fish/guestfish-actions.pod:901
7785 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:901
7786 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1370
7787 #: ../src/guestfs-actions.pod:1370
7788 msgid ""
7789 "This command runs the C<du -s> command to estimate file space usage for "
7790 "C<path>."
7791 msgstr ""
7792
7793 #. type: textblock
7794 #: ../fish/guestfish-actions.pod:904
7795 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:904
7796 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1373
7797 #: ../src/guestfs-actions.pod:1373
7798 msgid ""
7799 "C<path> can be a file or a directory.  If C<path> is a directory then the "
7800 "estimate includes the contents of the directory and all subdirectories "
7801 "(recursively)."
7802 msgstr ""
7803
7804 #. type: textblock
7805 #: ../fish/guestfish-actions.pod:908
7806 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:908
7807 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1377
7808 #: ../src/guestfs-actions.pod:1377
7809 msgid ""
7810 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
7811 msgstr ""
7812
7813 #. type: =head2
7814 #: ../fish/guestfish-actions.pod:911
7815 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:911
7816 msgid "e2fsck-f"
7817 msgstr ""
7818
7819 #. type: verbatim
7820 #: ../fish/guestfish-actions.pod:913
7821 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:913
7822 #, no-wrap
7823 msgid ""
7824 " e2fsck-f device\n"
7825 "\n"
7826 msgstr ""
7827
7828 #. type: textblock
7829 #: ../fish/guestfish-actions.pod:915
7830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:915
7831 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1395
7832 #: ../src/guestfs-actions.pod:1395
7833 msgid ""
7834 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
7835 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
7836 "clean (I<-f>)."
7837 msgstr ""
7838
7839 #. type: textblock
7840 #: ../fish/guestfish-actions.pod:919
7841 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:919
7842 msgid ""
7843 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
7844 "should use L</fsck>."
7845 msgstr ""
7846
7847 #. type: =head2
7848 #: ../fish/guestfish-actions.pod:922
7849 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:922
7850 msgid "echo-daemon"
7851 msgstr ""
7852
7853 #. type: verbatim
7854 #: ../fish/guestfish-actions.pod:924
7855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:924
7856 #, no-wrap
7857 msgid ""
7858 " echo-daemon 'words ...'\n"
7859 "\n"
7860 msgstr ""
7861
7862 #. type: textblock
7863 #: ../fish/guestfish-actions.pod:926
7864 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:926
7865 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1412
7866 #: ../src/guestfs-actions.pod:1412
7867 msgid ""
7868 "This command concatenates the list of C<words> passed with single spaces "
7869 "between them and returns the resulting string."
7870 msgstr ""
7871
7872 #. type: textblock
7873 #: ../fish/guestfish-actions.pod:929
7874 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:929
7875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1415
7876 #: ../src/guestfs-actions.pod:1415
7877 msgid "You can use this command to test the connection through to the daemon."
7878 msgstr ""
7879
7880 #. type: textblock
7881 #: ../fish/guestfish-actions.pod:931
7882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:931
7883 msgid "See also L</ping-daemon>."
7884 msgstr ""
7885
7886 #. type: =head2
7887 #: ../fish/guestfish-actions.pod:933
7888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:933
7889 msgid "egrep"
7890 msgstr ""
7891
7892 #. type: verbatim
7893 #: ../fish/guestfish-actions.pod:935
7894 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:935
7895 #, no-wrap
7896 msgid ""
7897 " egrep regex path\n"
7898 "\n"
7899 msgstr ""
7900
7901 #. type: textblock
7902 #: ../fish/guestfish-actions.pod:937
7903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:937
7904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1431
7905 #: ../src/guestfs-actions.pod:1431
7906 msgid ""
7907 "This calls the external C<egrep> program and returns the matching lines."
7908 msgstr ""
7909
7910 #. type: =head2
7911 #: ../fish/guestfish-actions.pod:943
7912 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:943
7913 msgid "egrepi"
7914 msgstr ""
7915
7916 #. type: verbatim
7917 #: ../fish/guestfish-actions.pod:945
7918 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:945
7919 #, no-wrap
7920 msgid ""
7921 " egrepi regex path\n"
7922 "\n"
7923 msgstr ""
7924
7925 #. type: textblock
7926 #: ../fish/guestfish-actions.pod:947
7927 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:947
7928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1450
7929 #: ../src/guestfs-actions.pod:1450
7930 msgid ""
7931 "This calls the external C<egrep -i> program and returns the matching lines."
7932 msgstr ""
7933
7934 #. type: =head2
7935 #: ../fish/guestfish-actions.pod:953
7936 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:953
7937 msgid "equal"
7938 msgstr ""
7939
7940 #. type: verbatim
7941 #: ../fish/guestfish-actions.pod:955
7942 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:955
7943 #, no-wrap
7944 msgid ""
7945 " equal file1 file2\n"
7946 "\n"
7947 msgstr ""
7948
7949 #. type: textblock
7950 #: ../fish/guestfish-actions.pod:957
7951 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:957
7952 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1469
7953 #: ../src/guestfs-actions.pod:1469
7954 msgid ""
7955 "This compares the two files C<file1> and C<file2> and returns true if their "
7956 "content is exactly equal, or false otherwise."
7957 msgstr ""
7958
7959 #. type: textblock
7960 #: ../fish/guestfish-actions.pod:960
7961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:960
7962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1472
7963 #: ../src/guestfs-actions.pod:1472
7964 msgid "The external L<cmp(1)> program is used for the comparison."
7965 msgstr ""
7966
7967 #. type: =head2
7968 #: ../fish/guestfish-actions.pod:962
7969 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:962
7970 msgid "exists"
7971 msgstr ""
7972
7973 #. type: verbatim
7974 #: ../fish/guestfish-actions.pod:964
7975 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:964
7976 #, no-wrap
7977 msgid ""
7978 " exists path\n"
7979 "\n"
7980 msgstr ""
7981
7982 #. type: textblock
7983 #: ../fish/guestfish-actions.pod:966
7984 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:966
7985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1484
7986 #: ../src/guestfs-actions.pod:1484
7987 msgid ""
7988 "This returns C<true> if and only if there is a file, directory (or anything) "
7989 "with the given C<path> name."
7990 msgstr ""
7991
7992 #. type: textblock
7993 #: ../fish/guestfish-actions.pod:969
7994 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:969
7995 msgid "See also L</is-file>, L</is-dir>, L</stat>."
7996 msgstr ""
7997
7998 #. type: =head2
7999 #: ../fish/guestfish-actions.pod:971
8000 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:971
8001 msgid "fallocate"
8002 msgstr ""
8003
8004 #. type: verbatim
8005 #: ../fish/guestfish-actions.pod:973
8006 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:973
8007 #, no-wrap
8008 msgid ""
8009 " fallocate path len\n"
8010 "\n"
8011 msgstr ""
8012
8013 #. type: textblock
8014 #: ../fish/guestfish-actions.pod:975 ../fish/guestfish-actions.pod:994
8015 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:975
8016 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:994
8017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1500
8018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1526
8019 #: ../src/guestfs-actions.pod:1500 ../src/guestfs-actions.pod:1526
8020 msgid ""
8021 "This command preallocates a file (containing zero bytes) named C<path> of "
8022 "size C<len> bytes.  If the file exists already, it is overwritten."
8023 msgstr ""
8024
8025 #. type: textblock
8026 #: ../fish/guestfish-actions.pod:979
8027 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:979
8028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1504
8029 #: ../src/guestfs-actions.pod:1504
8030 msgid ""
8031 "Do not confuse this with the guestfish-specific C<alloc> command which "
8032 "allocates a file in the host and attaches it as a device."
8033 msgstr ""
8034
8035 #. type: textblock
8036 #: ../fish/guestfish-actions.pod:983
8037 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:983
8038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1510
8039 #: ../src/guestfs-actions.pod:1510
8040 msgid ""
8041 "This function is deprecated.  In new code, use the C<fallocate64> call "
8042 "instead."
8043 msgstr ""
8044
8045 #. type: =head2
8046 #: ../fish/guestfish-actions.pod:990
8047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:990
8048 msgid "fallocate64"
8049 msgstr ""
8050
8051 #. type: verbatim
8052 #: ../fish/guestfish-actions.pod:992
8053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:992
8054 #, no-wrap
8055 msgid ""
8056 " fallocate64 path len\n"
8057 "\n"
8058 msgstr ""
8059
8060 #. type: textblock
8061 #: ../fish/guestfish-actions.pod:998
8062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:998
8063 msgid ""
8064 "Note that this call allocates disk blocks for the file.  To create a sparse "
8065 "file use L</truncate-size> instead."
8066 msgstr ""
8067
8068 #. type: textblock
8069 #: ../fish/guestfish-actions.pod:1001
8070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1001
8071 msgid ""
8072 "The deprecated call L</fallocate> does the same, but owing to an oversight "
8073 "it only allowed 30 bit lengths to be specified, effectively limiting the "
8074 "maximum size of files created through that call to 1GB."
8075 msgstr ""
8076
8077 #. type: textblock
8078 #: ../fish/guestfish-actions.pod:1006
8079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1006
8080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1538
8081 #: ../src/guestfs-actions.pod:1538
8082 msgid ""
8083 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
8084 "commands which create a file in the host and attach it as a device."
8085 msgstr ""
8086
8087 #. type: =head2
8088 #: ../fish/guestfish-actions.pod:1010
8089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1010
8090 msgid "fgrep"
8091 msgstr ""
8092
8093 #. type: verbatim
8094 #: ../fish/guestfish-actions.pod:1012
8095 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1012
8096 #, no-wrap
8097 msgid ""
8098 " fgrep pattern path\n"
8099 "\n"
8100 msgstr ""
8101
8102 #. type: textblock
8103 #: ../fish/guestfish-actions.pod:1014
8104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1014
8105 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1553
8106 #: ../src/guestfs-actions.pod:1553
8107 msgid ""
8108 "This calls the external C<fgrep> program and returns the matching lines."
8109 msgstr ""
8110
8111 #. type: =head2
8112 #: ../fish/guestfish-actions.pod:1020
8113 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1020
8114 msgid "fgrepi"
8115 msgstr ""
8116
8117 #. type: verbatim
8118 #: ../fish/guestfish-actions.pod:1022
8119 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1022
8120 #, no-wrap
8121 msgid ""
8122 " fgrepi pattern path\n"
8123 "\n"
8124 msgstr ""
8125
8126 #. type: textblock
8127 #: ../fish/guestfish-actions.pod:1024
8128 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1024
8129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1572
8130 #: ../src/guestfs-actions.pod:1572
8131 msgid ""
8132 "This calls the external C<fgrep -i> program and returns the matching lines."
8133 msgstr ""
8134
8135 #. type: =head2
8136 #: ../fish/guestfish-actions.pod:1030
8137 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1030
8138 msgid "file"
8139 msgstr ""
8140
8141 #. type: verbatim
8142 #: ../fish/guestfish-actions.pod:1032
8143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1032
8144 #, no-wrap
8145 msgid ""
8146 " file path\n"
8147 "\n"
8148 msgstr ""
8149
8150 #. type: textblock
8151 #: ../fish/guestfish-actions.pod:1034
8152 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1034
8153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1590
8154 #: ../src/guestfs-actions.pod:1590
8155 msgid ""
8156 "This call uses the standard L<file(1)> command to determine the type or "
8157 "contents of the file."
8158 msgstr ""
8159
8160 #. type: textblock
8161 #: ../fish/guestfish-actions.pod:1037
8162 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1037
8163 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1593
8164 #: ../src/guestfs-actions.pod:1593
8165 msgid ""
8166 "This call will also transparently look inside various types of compressed "
8167 "file."
8168 msgstr ""
8169
8170 #. type: textblock
8171 #: ../fish/guestfish-actions.pod:1040
8172 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1040
8173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1596
8174 #: ../src/guestfs-actions.pod:1596
8175 msgid ""
8176 "The exact command which runs is C<file -zb path>.  Note in particular that "
8177 "the filename is not prepended to the output (the I<-b> option)."
8178 msgstr ""
8179
8180 #. type: textblock
8181 #: ../fish/guestfish-actions.pod:1044
8182 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1044
8183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1600
8184 #: ../src/guestfs-actions.pod:1600
8185 msgid ""
8186 "The output depends on the output of the underlying L<file(1)> command and it "
8187 "can change in future in ways beyond our control.  In other words, the output "
8188 "is not guaranteed by the ABI."
8189 msgstr ""
8190
8191 #. type: textblock
8192 #: ../fish/guestfish-actions.pod:1048
8193 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1048
8194 msgid ""
8195 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
8196 "(etc), L</is-zero>."
8197 msgstr ""
8198
8199 #. type: =head2
8200 #: ../fish/guestfish-actions.pod:1051
8201 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1051
8202 msgid "file-architecture"
8203 msgstr ""
8204
8205 #. type: verbatim
8206 #: ../fish/guestfish-actions.pod:1053
8207 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1053
8208 #, no-wrap
8209 msgid ""
8210 " file-architecture filename\n"
8211 "\n"
8212 msgstr ""
8213
8214 #. type: textblock
8215 #: ../fish/guestfish-actions.pod:1055
8216 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1055
8217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1618
8218 #: ../src/guestfs-actions.pod:1618
8219 msgid ""
8220 "This detects the architecture of the binary C<filename>, and returns it if "
8221 "known."
8222 msgstr ""
8223
8224 #. type: textblock
8225 #: ../fish/guestfish-actions.pod:1058
8226 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1058
8227 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1621
8228 #: ../src/guestfs-actions.pod:1621
8229 msgid "Currently defined architectures are:"
8230 msgstr ""
8231
8232 #. type: =item
8233 #: ../fish/guestfish-actions.pod:1062
8234 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1062
8235 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1625
8236 #: ../src/guestfs-actions.pod:1625
8237 msgid "\"i386\""
8238 msgstr ""
8239
8240 #. type: textblock
8241 #: ../fish/guestfish-actions.pod:1064
8242 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1064
8243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1627
8244 #: ../src/guestfs-actions.pod:1627
8245 msgid ""
8246 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
8247 "irrespective of the precise processor requirements of the binary."
8248 msgstr ""
8249
8250 #. type: =item
8251 #: ../fish/guestfish-actions.pod:1067
8252 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1067
8253 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1630
8254 #: ../src/guestfs-actions.pod:1630
8255 msgid "\"x86_64\""
8256 msgstr ""
8257
8258 #. type: textblock
8259 #: ../fish/guestfish-actions.pod:1069
8260 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1069
8261 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1632
8262 #: ../src/guestfs-actions.pod:1632
8263 msgid "64 bit x86-64."
8264 msgstr ""
8265
8266 #. type: =item
8267 #: ../fish/guestfish-actions.pod:1071
8268 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1071
8269 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1634
8270 #: ../src/guestfs-actions.pod:1634
8271 msgid "\"sparc\""
8272 msgstr ""
8273
8274 #. type: textblock
8275 #: ../fish/guestfish-actions.pod:1073
8276 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1073
8277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1636
8278 #: ../src/guestfs-actions.pod:1636
8279 msgid "32 bit SPARC."
8280 msgstr ""
8281
8282 #. type: =item
8283 #: ../fish/guestfish-actions.pod:1075
8284 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1075
8285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1638
8286 #: ../src/guestfs-actions.pod:1638
8287 msgid "\"sparc64\""
8288 msgstr ""
8289
8290 #. type: textblock
8291 #: ../fish/guestfish-actions.pod:1077
8292 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1077
8293 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1640
8294 #: ../src/guestfs-actions.pod:1640
8295 msgid "64 bit SPARC V9 and above."
8296 msgstr ""
8297
8298 #. type: =item
8299 #: ../fish/guestfish-actions.pod:1079
8300 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1079
8301 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1642
8302 #: ../src/guestfs-actions.pod:1642
8303 msgid "\"ia64\""
8304 msgstr ""
8305
8306 #. type: textblock
8307 #: ../fish/guestfish-actions.pod:1081
8308 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1081
8309 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1644
8310 #: ../src/guestfs-actions.pod:1644
8311 msgid "Intel Itanium."
8312 msgstr ""
8313
8314 #. type: =item
8315 #: ../fish/guestfish-actions.pod:1083
8316 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1083
8317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1646
8318 #: ../src/guestfs-actions.pod:1646
8319 msgid "\"ppc\""
8320 msgstr ""
8321
8322 #. type: textblock
8323 #: ../fish/guestfish-actions.pod:1085
8324 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1085
8325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1648
8326 #: ../src/guestfs-actions.pod:1648
8327 msgid "32 bit Power PC."
8328 msgstr ""
8329
8330 #. type: =item
8331 #: ../fish/guestfish-actions.pod:1087
8332 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1087
8333 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1650
8334 #: ../src/guestfs-actions.pod:1650
8335 msgid "\"ppc64\""
8336 msgstr ""
8337
8338 #. type: textblock
8339 #: ../fish/guestfish-actions.pod:1089
8340 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1089
8341 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1652
8342 #: ../src/guestfs-actions.pod:1652
8343 msgid "64 bit Power PC."
8344 msgstr ""
8345
8346 #. type: textblock
8347 #: ../fish/guestfish-actions.pod:1093
8348 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1093
8349 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1656
8350 #: ../src/guestfs-actions.pod:1656
8351 msgid "Libguestfs may return other architecture strings in future."
8352 msgstr ""
8353
8354 #. type: textblock
8355 #: ../fish/guestfish-actions.pod:1095
8356 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1095
8357 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1658
8358 #: ../src/guestfs-actions.pod:1658
8359 msgid "The function works on at least the following types of files:"
8360 msgstr ""
8361
8362 #. type: textblock
8363 #: ../fish/guestfish-actions.pod:1101
8364 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1101
8365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1664
8366 #: ../src/guestfs-actions.pod:1664
8367 msgid "many types of Un*x and Linux binary"
8368 msgstr ""
8369
8370 #. type: textblock
8371 #: ../fish/guestfish-actions.pod:1105
8372 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1105
8373 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1668
8374 #: ../src/guestfs-actions.pod:1668
8375 msgid "many types of Un*x and Linux shared library"
8376 msgstr ""
8377
8378 #. type: textblock
8379 #: ../fish/guestfish-actions.pod:1109
8380 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1109
8381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1672
8382 #: ../src/guestfs-actions.pod:1672
8383 msgid "Windows Win32 and Win64 binaries"
8384 msgstr ""
8385
8386 #. type: textblock
8387 #: ../fish/guestfish-actions.pod:1113
8388 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1113
8389 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1676
8390 #: ../src/guestfs-actions.pod:1676
8391 msgid "Windows Win32 and Win64 DLLs"
8392 msgstr ""
8393
8394 #. type: textblock
8395 #: ../fish/guestfish-actions.pod:1115
8396 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1115
8397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1678
8398 #: ../src/guestfs-actions.pod:1678
8399 msgid "Win32 binaries and DLLs return C<i386>."
8400 msgstr ""
8401
8402 #. type: textblock
8403 #: ../fish/guestfish-actions.pod:1117
8404 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1117
8405 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1680
8406 #: ../src/guestfs-actions.pod:1680
8407 msgid "Win64 binaries and DLLs return C<x86_64>."
8408 msgstr ""
8409
8410 #. type: textblock
8411 #: ../fish/guestfish-actions.pod:1121
8412 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1121
8413 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1684
8414 #: ../src/guestfs-actions.pod:1684
8415 msgid "Linux kernel modules"
8416 msgstr ""
8417
8418 #. type: textblock
8419 #: ../fish/guestfish-actions.pod:1125
8420 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1125
8421 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1688
8422 #: ../src/guestfs-actions.pod:1688
8423 msgid "Linux new-style initrd images"
8424 msgstr ""
8425
8426 #. type: textblock
8427 #: ../fish/guestfish-actions.pod:1129
8428 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1129
8429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1692
8430 #: ../src/guestfs-actions.pod:1692
8431 msgid "some non-x86 Linux vmlinuz kernels"
8432 msgstr ""
8433
8434 #. type: textblock
8435 #: ../fish/guestfish-actions.pod:1133
8436 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1133
8437 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1696
8438 #: ../src/guestfs-actions.pod:1696
8439 msgid "What it can't do currently:"
8440 msgstr ""
8441
8442 #. type: textblock
8443 #: ../fish/guestfish-actions.pod:1139
8444 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1139
8445 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1702
8446 #: ../src/guestfs-actions.pod:1702
8447 msgid "static libraries (libfoo.a)"
8448 msgstr ""
8449
8450 #. type: textblock
8451 #: ../fish/guestfish-actions.pod:1143
8452 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1143
8453 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1706
8454 #: ../src/guestfs-actions.pod:1706
8455 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
8456 msgstr ""
8457
8458 #. type: textblock
8459 #: ../fish/guestfish-actions.pod:1147
8460 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1147
8461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1710
8462 #: ../src/guestfs-actions.pod:1710
8463 msgid "x86 Linux vmlinuz kernels"
8464 msgstr ""
8465
8466 #. type: textblock
8467 #: ../fish/guestfish-actions.pod:1149
8468 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1149
8469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1712
8470 #: ../src/guestfs-actions.pod:1712
8471 msgid ""
8472 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
8473 "compressed code, and are horribly hard to unpack.  If you want to find the "
8474 "architecture of a kernel, use the architecture of the associated initrd or "
8475 "kernel module(s) instead."
8476 msgstr ""
8477
8478 #. type: =head2
8479 #: ../fish/guestfish-actions.pod:1156
8480 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1156
8481 msgid "filesize"
8482 msgstr ""
8483
8484 #. type: verbatim
8485 #: ../fish/guestfish-actions.pod:1158
8486 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1158
8487 #, no-wrap
8488 msgid ""
8489 " filesize file\n"
8490 "\n"
8491 msgstr ""
8492
8493 #. type: textblock
8494 #: ../fish/guestfish-actions.pod:1160
8495 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1160
8496 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1730
8497 #: ../src/guestfs-actions.pod:1730
8498 msgid "This command returns the size of C<file> in bytes."
8499 msgstr ""
8500
8501 #. type: textblock
8502 #: ../fish/guestfish-actions.pod:1162
8503 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1162
8504 msgid ""
8505 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
8506 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
8507 msgstr ""
8508
8509 #. type: =head2
8510 #: ../fish/guestfish-actions.pod:1166
8511 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1166
8512 msgid "fill"
8513 msgstr ""
8514
8515 #. type: verbatim
8516 #: ../fish/guestfish-actions.pod:1168
8517 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1168
8518 #, no-wrap
8519 msgid ""
8520 " fill c len path\n"
8521 "\n"
8522 msgstr ""
8523
8524 #. type: textblock
8525 #: ../fish/guestfish-actions.pod:1170
8526 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1170
8527 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1748
8528 #: ../src/guestfs-actions.pod:1748
8529 msgid ""
8530 "This command creates a new file called C<path>.  The initial content of the "
8531 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
8532 "[0..255]>."
8533 msgstr ""
8534
8535 #. type: textblock
8536 #: ../fish/guestfish-actions.pod:1174
8537 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1174
8538 msgid ""
8539 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
8540 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
8541 "L</fill-pattern>."
8542 msgstr ""
8543
8544 #. type: =head2
8545 #: ../fish/guestfish-actions.pod:1179
8546 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1179
8547 msgid "fill-pattern"
8548 msgstr ""
8549
8550 #. type: verbatim
8551 #: ../fish/guestfish-actions.pod:1181
8552 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1181
8553 #, no-wrap
8554 msgid ""
8555 " fill-pattern pattern len path\n"
8556 "\n"
8557 msgstr ""
8558
8559 #. type: textblock
8560 #: ../fish/guestfish-actions.pod:1183
8561 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1183
8562 msgid ""
8563 "This function is like L</fill> except that it creates a new file of length "
8564 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
8565 "is truncated if necessary to ensure the length of the file is exactly C<len> "
8566 "bytes."
8567 msgstr ""
8568
8569 #. type: =head2
8570 #: ../fish/guestfish-actions.pod:1188
8571 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1188
8572 msgid "find"
8573 msgstr ""
8574
8575 #. type: verbatim
8576 #: ../fish/guestfish-actions.pod:1190
8577 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1190
8578 #, no-wrap
8579 msgid ""
8580 " find directory\n"
8581 "\n"
8582 msgstr ""
8583
8584 #. type: textblock
8585 #: ../fish/guestfish-actions.pod:1192
8586 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1192
8587 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1794
8588 #: ../src/guestfs-actions.pod:1794
8589 msgid ""
8590 "This command lists out all files and directories, recursively, starting at "
8591 "C<directory>.  It is essentially equivalent to running the shell command "
8592 "C<find directory -print> but some post-processing happens on the output, "
8593 "described below."
8594 msgstr ""
8595
8596 #. type: textblock
8597 #: ../fish/guestfish-actions.pod:1197
8598 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1197
8599 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1799
8600 #: ../src/guestfs-actions.pod:1799
8601 msgid ""
8602 "This returns a list of strings I<without any prefix>.  Thus if the directory "
8603 "structure was:"
8604 msgstr ""
8605
8606 #. type: verbatim
8607 #: ../fish/guestfish-actions.pod:1200
8608 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1200
8609 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1802
8610 #: ../src/guestfs-actions.pod:1802
8611 #, no-wrap
8612 msgid ""
8613 " /tmp/a\n"
8614 " /tmp/b\n"
8615 " /tmp/c/d\n"
8616 "\n"
8617 msgstr ""
8618
8619 #. type: textblock
8620 #: ../fish/guestfish-actions.pod:1204
8621 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1204
8622 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
8623 msgstr ""
8624
8625 #. type: verbatim
8626 #: ../fish/guestfish-actions.pod:1207
8627 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1207
8628 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1809
8629 #: ../src/guestfs-actions.pod:1809
8630 #, no-wrap
8631 msgid ""
8632 " a\n"
8633 " b\n"
8634 " c\n"
8635 " c/d\n"
8636 "\n"
8637 msgstr ""
8638
8639 #. type: textblock
8640 #: ../fish/guestfish-actions.pod:1212
8641 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1212
8642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1814
8643 #: ../src/guestfs-actions.pod:1814
8644 msgid "If C<directory> is not a directory, then this command returns an error."
8645 msgstr ""
8646
8647 #. type: textblock
8648 #: ../fish/guestfish-actions.pod:1215
8649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1215
8650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1817
8651 #: ../src/guestfs-actions.pod:1817
8652 msgid "The returned list is sorted."
8653 msgstr ""
8654
8655 #. type: textblock
8656 #: ../fish/guestfish-actions.pod:1217
8657 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1217
8658 msgid "See also L</find0>."
8659 msgstr ""
8660
8661 #. type: =head2
8662 #: ../fish/guestfish-actions.pod:1222
8663 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1222
8664 msgid "find0"
8665 msgstr ""
8666
8667 #. type: verbatim
8668 #: ../fish/guestfish-actions.pod:1224
8669 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1224
8670 #, no-wrap
8671 msgid ""
8672 " find0 directory (files|-)\n"
8673 "\n"
8674 msgstr ""
8675
8676 #. type: textblock
8677 #: ../fish/guestfish-actions.pod:1226
8678 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1226
8679 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1837
8680 #: ../src/guestfs-actions.pod:1837
8681 msgid ""
8682 "This command lists out all files and directories, recursively, starting at "
8683 "C<directory>, placing the resulting list in the external file called "
8684 "C<files>."
8685 msgstr ""
8686
8687 #. type: textblock
8688 #: ../fish/guestfish-actions.pod:1230
8689 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1230
8690 msgid ""
8691 "This command works the same way as L</find> with the following exceptions:"
8692 msgstr ""
8693
8694 #. type: textblock
8695 #: ../fish/guestfish-actions.pod:1237
8696 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1237
8697 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1848
8698 #: ../src/guestfs-actions.pod:1848
8699 msgid "The resulting list is written to an external file."
8700 msgstr ""
8701
8702 #. type: textblock
8703 #: ../fish/guestfish-actions.pod:1241
8704 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1241
8705 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1852
8706 #: ../src/guestfs-actions.pod:1852
8707 msgid ""
8708 "Items (filenames) in the result are separated by C<\\0> characters.  See "
8709 "L<find(1)> option I<-print0>."
8710 msgstr ""
8711
8712 #. type: textblock
8713 #: ../fish/guestfish-actions.pod:1246
8714 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1246
8715 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1857
8716 #: ../src/guestfs-actions.pod:1857
8717 msgid "This command is not limited in the number of names that it can return."
8718 msgstr ""
8719
8720 #. type: textblock
8721 #: ../fish/guestfish-actions.pod:1251
8722 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1251
8723 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1862
8724 #: ../src/guestfs-actions.pod:1862
8725 msgid "The result list is not sorted."
8726 msgstr ""
8727
8728 #. type: =head2
8729 #: ../fish/guestfish-actions.pod:1257
8730 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1257
8731 msgid "findfs-label"
8732 msgstr ""
8733
8734 #. type: verbatim
8735 #: ../fish/guestfish-actions.pod:1259
8736 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1259
8737 #, no-wrap
8738 msgid ""
8739 " findfs-label label\n"
8740 "\n"
8741 msgstr ""
8742
8743 #. type: textblock
8744 #: ../fish/guestfish-actions.pod:1261
8745 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1261
8746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1876
8747 #: ../src/guestfs-actions.pod:1876
8748 msgid ""
8749 "This command searches the filesystems and returns the one which has the "
8750 "given label.  An error is returned if no such filesystem can be found."
8751 msgstr ""
8752
8753 #. type: textblock
8754 #: ../fish/guestfish-actions.pod:1265
8755 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1265
8756 msgid "To find the label of a filesystem, use L</vfs-label>."
8757 msgstr ""
8758
8759 #. type: =head2
8760 #: ../fish/guestfish-actions.pod:1267
8761 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1267
8762 msgid "findfs-uuid"
8763 msgstr ""
8764
8765 #. type: verbatim
8766 #: ../fish/guestfish-actions.pod:1269
8767 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1269
8768 #, no-wrap
8769 msgid ""
8770 " findfs-uuid uuid\n"
8771 "\n"
8772 msgstr ""
8773
8774 #. type: textblock
8775 #: ../fish/guestfish-actions.pod:1271
8776 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1271
8777 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1893
8778 #: ../src/guestfs-actions.pod:1893
8779 msgid ""
8780 "This command searches the filesystems and returns the one which has the "
8781 "given UUID.  An error is returned if no such filesystem can be found."
8782 msgstr ""
8783
8784 #. type: textblock
8785 #: ../fish/guestfish-actions.pod:1275
8786 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1275
8787 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
8788 msgstr ""
8789
8790 #. type: =head2
8791 #: ../fish/guestfish-actions.pod:1277
8792 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1277
8793 msgid "fsck"
8794 msgstr ""
8795
8796 #. type: verbatim
8797 #: ../fish/guestfish-actions.pod:1279
8798 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1279
8799 #, no-wrap
8800 msgid ""
8801 " fsck fstype device\n"
8802 "\n"
8803 msgstr ""
8804
8805 #. type: textblock
8806 #: ../fish/guestfish-actions.pod:1281
8807 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1281
8808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1911
8809 #: ../src/guestfs-actions.pod:1911
8810 msgid ""
8811 "This runs the filesystem checker (fsck) on C<device> which should have "
8812 "filesystem type C<fstype>."
8813 msgstr ""
8814
8815 #. type: textblock
8816 #: ../fish/guestfish-actions.pod:1284
8817 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1284
8818 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1914
8819 #: ../src/guestfs-actions.pod:1914
8820 msgid ""
8821 "The returned integer is the status.  See L<fsck(8)> for the list of status "
8822 "codes from C<fsck>."
8823 msgstr ""
8824
8825 #. type: textblock
8826 #: ../fish/guestfish-actions.pod:1293
8827 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1293
8828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1923
8829 #: ../src/guestfs-actions.pod:1923
8830 msgid "Multiple status codes can be summed together."
8831 msgstr ""
8832
8833 #. type: textblock
8834 #: ../fish/guestfish-actions.pod:1297
8835 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1297
8836 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1927
8837 #: ../src/guestfs-actions.pod:1927
8838 msgid ""
8839 "A non-zero return code can mean \"success\", for example if errors have been "
8840 "corrected on the filesystem."
8841 msgstr ""
8842
8843 #. type: textblock
8844 #: ../fish/guestfish-actions.pod:1302
8845 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1302
8846 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1932
8847 #: ../src/guestfs-actions.pod:1932
8848 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
8849 msgstr ""
8850
8851 #. type: textblock
8852 #: ../fish/guestfish-actions.pod:1307
8853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1307
8854 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1937
8855 #: ../src/guestfs-actions.pod:1937
8856 msgid ""
8857 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
8858 msgstr ""
8859
8860 #. type: =head2
8861 #: ../fish/guestfish-actions.pod:1309
8862 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1309
8863 msgid "get-append"
8864 msgstr ""
8865
8866 #. type: verbatim
8867 #: ../fish/guestfish-actions.pod:1311
8868 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1311
8869 #, no-wrap
8870 msgid ""
8871 " get-append\n"
8872 "\n"
8873 msgstr ""
8874
8875 #. type: textblock
8876 #: ../fish/guestfish-actions.pod:1313
8877 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1313
8878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1948
8879 #: ../src/guestfs-actions.pod:1948
8880 msgid ""
8881 "Return the additional kernel options which are added to the guest kernel "
8882 "command line."
8883 msgstr ""
8884
8885 #. type: textblock
8886 #: ../fish/guestfish-actions.pod:1316
8887 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1316
8888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1951
8889 #: ../src/guestfs-actions.pod:1951
8890 msgid "If C<NULL> then no options are added."
8891 msgstr ""
8892
8893 #. type: =head2
8894 #: ../fish/guestfish-actions.pod:1318
8895 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1318
8896 msgid "get-attach-method"
8897 msgstr ""
8898
8899 #. type: verbatim
8900 #: ../fish/guestfish-actions.pod:1320
8901 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1320
8902 #, no-wrap
8903 msgid ""
8904 " get-attach-method\n"
8905 "\n"
8906 msgstr ""
8907
8908 #. type: textblock
8909 #: ../fish/guestfish-actions.pod:1322
8910 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1322
8911 msgid "Return the current attach method.  See L</set-attach-method>."
8912 msgstr ""
8913
8914 #. type: =head2
8915 #: ../fish/guestfish-actions.pod:1324
8916 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1324
8917 msgid "get-autosync"
8918 msgstr ""
8919
8920 #. type: verbatim
8921 #: ../fish/guestfish-actions.pod:1326
8922 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1326
8923 #, no-wrap
8924 msgid ""
8925 " get-autosync\n"
8926 "\n"
8927 msgstr ""
8928
8929 #. type: textblock
8930 #: ../fish/guestfish-actions.pod:1328
8931 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1328
8932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1976
8933 #: ../src/guestfs-actions.pod:1976
8934 msgid "Get the autosync flag."
8935 msgstr ""
8936
8937 #. type: =head2
8938 #: ../fish/guestfish-actions.pod:1330
8939 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1330
8940 msgid "get-direct"
8941 msgstr ""
8942
8943 #. type: verbatim
8944 #: ../fish/guestfish-actions.pod:1332
8945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1332
8946 #, no-wrap
8947 msgid ""
8948 " get-direct\n"
8949 "\n"
8950 msgstr ""
8951
8952 #. type: textblock
8953 #: ../fish/guestfish-actions.pod:1334
8954 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1334
8955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1987
8956 #: ../src/guestfs-actions.pod:1987
8957 msgid "Return the direct appliance mode flag."
8958 msgstr ""
8959
8960 #. type: =head2
8961 #: ../fish/guestfish-actions.pod:1336
8962 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1336
8963 msgid "get-e2label"
8964 msgstr ""
8965
8966 #. type: verbatim
8967 #: ../fish/guestfish-actions.pod:1338
8968 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1338
8969 #, no-wrap
8970 msgid ""
8971 " get-e2label device\n"
8972 "\n"
8973 msgstr ""
8974
8975 #. type: textblock
8976 #: ../fish/guestfish-actions.pod:1340
8977 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1340
8978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1999
8979 #: ../src/guestfs-actions.pod:1999
8980 msgid ""
8981 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
8982 msgstr ""
8983
8984 #. type: textblock
8985 #: ../fish/guestfish-actions.pod:1343
8986 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1343
8987 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2005
8988 #: ../src/guestfs-actions.pod:2005
8989 msgid ""
8990 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
8991 msgstr ""
8992
8993 #. type: =head2
8994 #: ../fish/guestfish-actions.pod:1350
8995 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1350
8996 msgid "get-e2uuid"
8997 msgstr ""
8998
8999 #. type: verbatim
9000 #: ../fish/guestfish-actions.pod:1352
9001 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1352
9002 #, no-wrap
9003 msgid ""
9004 " get-e2uuid device\n"
9005 "\n"
9006 msgstr ""
9007
9008 #. type: textblock
9009 #: ../fish/guestfish-actions.pod:1354
9010 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1354
9011 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2020
9012 #: ../src/guestfs-actions.pod:2020
9013 msgid ""
9014 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
9015 msgstr ""
9016
9017 #. type: textblock
9018 #: ../fish/guestfish-actions.pod:1357
9019 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1357
9020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2026
9021 #: ../src/guestfs-actions.pod:2026
9022 msgid ""
9023 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
9024 msgstr ""
9025
9026 #. type: =head2
9027 #: ../fish/guestfish-actions.pod:1364
9028 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1364
9029 msgid "get-memsize"
9030 msgstr ""
9031
9032 #. type: verbatim
9033 #: ../fish/guestfish-actions.pod:1366
9034 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1366
9035 #, no-wrap
9036 msgid ""
9037 " get-memsize\n"
9038 "\n"
9039 msgstr ""
9040
9041 #. type: textblock
9042 #: ../fish/guestfish-actions.pod:1368
9043 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1368
9044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2040
9045 #: ../src/guestfs-actions.pod:2040
9046 msgid ""
9047 "This gets the memory size in megabytes allocated to the qemu subprocess."
9048 msgstr ""
9049
9050 #. type: textblock
9051 #: ../fish/guestfish-actions.pod:1371
9052 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1371
9053 msgid ""
9054 "If L</set-memsize> was not called on this handle, and if "
9055 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
9056 "value for memsize."
9057 msgstr ""
9058
9059 #. type: textblock
9060 #: ../fish/guestfish-actions.pod:1375 ../fish/guestfish-actions.pod:1432
9061 #: ../fish/guestfish-actions.pod:4163 ../fish/guestfish-actions.pod:4265
9062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1375
9063 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1432
9064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4163
9065 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4265
9066 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2047
9067 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2139
9068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6293
9069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6419
9070 #: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2139
9071 #: ../src/guestfs-actions.pod:6293 ../src/guestfs-actions.pod:6419
9072 msgid ""
9073 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
9074 msgstr ""
9075
9076 #. type: =head2
9077 #: ../fish/guestfish-actions.pod:1378
9078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1378
9079 msgid "get-network"
9080 msgstr ""
9081
9082 #. type: verbatim
9083 #: ../fish/guestfish-actions.pod:1380
9084 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1380
9085 #, no-wrap
9086 msgid ""
9087 " get-network\n"
9088 "\n"
9089 msgstr ""
9090
9091 #. type: textblock
9092 #: ../fish/guestfish-actions.pod:1382
9093 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1382
9094 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2059
9095 #: ../src/guestfs-actions.pod:2059
9096 msgid "This returns the enable network flag."
9097 msgstr ""
9098
9099 #. type: =head2
9100 #: ../fish/guestfish-actions.pod:1384
9101 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1384
9102 msgid "get-path"
9103 msgstr ""
9104
9105 #. type: verbatim
9106 #: ../fish/guestfish-actions.pod:1386
9107 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1386
9108 #, no-wrap
9109 msgid ""
9110 " get-path\n"
9111 "\n"
9112 msgstr ""
9113
9114 #. type: textblock
9115 #: ../fish/guestfish-actions.pod:1388
9116 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1388
9117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2070
9118 #: ../src/guestfs-actions.pod:2070
9119 msgid "Return the current search path."
9120 msgstr ""
9121
9122 #. type: textblock
9123 #: ../fish/guestfish-actions.pod:1390
9124 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1390
9125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2072
9126 #: ../src/guestfs-actions.pod:2072
9127 msgid ""
9128 "This is always non-NULL.  If it wasn't set already, then this will return "
9129 "the default path."
9130 msgstr ""
9131
9132 #. type: =head2
9133 #: ../fish/guestfish-actions.pod:1393
9134 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1393
9135 msgid "get-pgroup"
9136 msgstr ""
9137
9138 #. type: verbatim
9139 #: ../fish/guestfish-actions.pod:1395
9140 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1395
9141 #, no-wrap
9142 msgid ""
9143 " get-pgroup\n"
9144 "\n"
9145 msgstr ""
9146
9147 #. type: textblock
9148 #: ../fish/guestfish-actions.pod:1397
9149 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1397
9150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2085
9151 #: ../src/guestfs-actions.pod:2085
9152 msgid "This returns the process group flag."
9153 msgstr ""
9154
9155 #. type: =head2
9156 #: ../fish/guestfish-actions.pod:1399
9157 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1399
9158 msgid "get-pid"
9159 msgstr ""
9160
9161 #. type: =head2
9162 #: ../fish/guestfish-actions.pod:1401
9163 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1401
9164 msgid "pid"
9165 msgstr ""
9166
9167 #. type: verbatim
9168 #: ../fish/guestfish-actions.pod:1403
9169 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1403
9170 #, no-wrap
9171 msgid ""
9172 " get-pid\n"
9173 "\n"
9174 msgstr ""
9175
9176 #. type: textblock
9177 #: ../fish/guestfish-actions.pod:1405
9178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1405
9179 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2096
9180 #: ../src/guestfs-actions.pod:2096
9181 msgid ""
9182 "Return the process ID of the qemu subprocess.  If there is no qemu "
9183 "subprocess, then this will return an error."
9184 msgstr ""
9185
9186 #. type: textblock
9187 #: ../fish/guestfish-actions.pod:1408
9188 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1408
9189 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2099
9190 #: ../src/guestfs-actions.pod:2099
9191 msgid "This is an internal call used for debugging and testing."
9192 msgstr ""
9193
9194 #. type: =head2
9195 #: ../fish/guestfish-actions.pod:1410
9196 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1410
9197 msgid "get-qemu"
9198 msgstr ""
9199
9200 #. type: verbatim
9201 #: ../fish/guestfish-actions.pod:1412
9202 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1412
9203 #, no-wrap
9204 msgid ""
9205 " get-qemu\n"
9206 "\n"
9207 msgstr ""
9208
9209 #. type: textblock
9210 #: ../fish/guestfish-actions.pod:1414
9211 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1414
9212 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2110
9213 #: ../src/guestfs-actions.pod:2110
9214 msgid "Return the current qemu binary."
9215 msgstr ""
9216
9217 #. type: textblock
9218 #: ../fish/guestfish-actions.pod:1416
9219 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1416
9220 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2112
9221 #: ../src/guestfs-actions.pod:2112
9222 msgid ""
9223 "This is always non-NULL.  If it wasn't set already, then this will return "
9224 "the default qemu binary name."
9225 msgstr ""
9226
9227 #. type: =head2
9228 #: ../fish/guestfish-actions.pod:1419
9229 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1419
9230 msgid "get-recovery-proc"
9231 msgstr ""
9232
9233 #. type: verbatim
9234 #: ../fish/guestfish-actions.pod:1421
9235 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1421
9236 #, no-wrap
9237 msgid ""
9238 " get-recovery-proc\n"
9239 "\n"
9240 msgstr ""
9241
9242 #. type: textblock
9243 #: ../fish/guestfish-actions.pod:1423
9244 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1423
9245 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2125
9246 #: ../src/guestfs-actions.pod:2125
9247 msgid "Return the recovery process enabled flag."
9248 msgstr ""
9249
9250 #. type: =head2
9251 #: ../fish/guestfish-actions.pod:1425
9252 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1425
9253 msgid "get-selinux"
9254 msgstr ""
9255
9256 #. type: verbatim
9257 #: ../fish/guestfish-actions.pod:1427
9258 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1427
9259 #, no-wrap
9260 msgid ""
9261 " get-selinux\n"
9262 "\n"
9263 msgstr ""
9264
9265 #. type: textblock
9266 #: ../fish/guestfish-actions.pod:1429
9267 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1429
9268 msgid ""
9269 "This returns the current setting of the selinux flag which is passed to the "
9270 "appliance at boot time.  See L</set-selinux>."
9271 msgstr ""
9272
9273 #. type: =head2
9274 #: ../fish/guestfish-actions.pod:1435
9275 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1435
9276 msgid "get-state"
9277 msgstr ""
9278
9279 #. type: verbatim
9280 #: ../fish/guestfish-actions.pod:1437
9281 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1437
9282 #, no-wrap
9283 msgid ""
9284 " get-state\n"
9285 "\n"
9286 msgstr ""
9287
9288 #. type: textblock
9289 #: ../fish/guestfish-actions.pod:1439
9290 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1439
9291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2151
9292 #: ../src/guestfs-actions.pod:2151
9293 msgid ""
9294 "This returns the current state as an opaque integer.  This is only useful "
9295 "for printing debug and internal error messages."
9296 msgstr ""
9297
9298 #. type: textblock
9299 #: ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:2362
9300 #: ../fish/guestfish-actions.pod:2380 ../fish/guestfish-actions.pod:2418
9301 #: ../fish/guestfish-actions.pod:2434
9302 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1442
9303 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2362
9304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2380
9305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2418
9306 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2434
9307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2154
9308 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3434
9309 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3463
9310 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3524
9311 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3551
9312 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:3434
9313 #: ../src/guestfs-actions.pod:3463 ../src/guestfs-actions.pod:3524
9314 #: ../src/guestfs-actions.pod:3551
9315 msgid "For more information on states, see L<guestfs(3)>."
9316 msgstr ""
9317
9318 #. type: =head2
9319 #: ../fish/guestfish-actions.pod:1444
9320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1444
9321 msgid "get-trace"
9322 msgstr ""
9323
9324 #. type: verbatim
9325 #: ../fish/guestfish-actions.pod:1446
9326 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1446
9327 #, no-wrap
9328 msgid ""
9329 " get-trace\n"
9330 "\n"
9331 msgstr ""
9332
9333 #. type: textblock
9334 #: ../fish/guestfish-actions.pod:1448
9335 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1448
9336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2165
9337 #: ../src/guestfs-actions.pod:2165
9338 msgid "Return the command trace flag."
9339 msgstr ""
9340
9341 #. type: =head2
9342 #: ../fish/guestfish-actions.pod:1450
9343 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1450
9344 msgid "get-umask"
9345 msgstr ""
9346
9347 #. type: verbatim
9348 #: ../fish/guestfish-actions.pod:1452
9349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1452
9350 #, no-wrap
9351 msgid ""
9352 " get-umask\n"
9353 "\n"
9354 msgstr ""
9355
9356 #. type: textblock
9357 #: ../fish/guestfish-actions.pod:1454
9358 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1454
9359 msgid ""
9360 "Return the current umask.  By default the umask is C<022> unless it has been "
9361 "set by calling L</umask>."
9362 msgstr ""
9363
9364 #. type: =head2
9365 #: ../fish/guestfish-actions.pod:1457
9366 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1457
9367 msgid "get-verbose"
9368 msgstr ""
9369
9370 #. type: verbatim
9371 #: ../fish/guestfish-actions.pod:1459
9372 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1459
9373 #, no-wrap
9374 msgid ""
9375 " get-verbose\n"
9376 "\n"
9377 msgstr ""
9378
9379 #. type: textblock
9380 #: ../fish/guestfish-actions.pod:1461
9381 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1461
9382 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2188
9383 #: ../src/guestfs-actions.pod:2188
9384 msgid "This returns the verbose messages flag."
9385 msgstr ""
9386
9387 #. type: =head2
9388 #: ../fish/guestfish-actions.pod:1463
9389 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1463
9390 msgid "getcon"
9391 msgstr ""
9392
9393 #. type: verbatim
9394 #: ../fish/guestfish-actions.pod:1465
9395 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1465
9396 #, no-wrap
9397 msgid ""
9398 " getcon\n"
9399 "\n"
9400 msgstr ""
9401
9402 #. type: textblock
9403 #: ../fish/guestfish-actions.pod:1467
9404 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1467
9405 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2199
9406 #: ../src/guestfs-actions.pod:2199
9407 msgid "This gets the SELinux security context of the daemon."
9408 msgstr ""
9409
9410 #. type: textblock
9411 #: ../fish/guestfish-actions.pod:1469
9412 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1469
9413 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
9414 msgstr ""
9415
9416 #. type: =head2
9417 #: ../fish/guestfish-actions.pod:1472
9418 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1472
9419 msgid "getxattr"
9420 msgstr ""
9421
9422 #. type: verbatim
9423 #: ../fish/guestfish-actions.pod:1474
9424 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1474
9425 #, no-wrap
9426 msgid ""
9427 " getxattr path name\n"
9428 "\n"
9429 msgstr ""
9430
9431 #. type: textblock
9432 #: ../fish/guestfish-actions.pod:1476
9433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1476
9434 msgid ""
9435 "Get a single extended attribute from file C<path> named C<name>.  This call "
9436 "follows symlinks.  If you want to lookup an extended attribute for the "
9437 "symlink itself, use L</lgetxattr>."
9438 msgstr ""
9439
9440 #. type: textblock
9441 #: ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:2507
9442 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1480
9443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2507
9444 msgid ""
9445 "Normally it is better to get all extended attributes from a file in one go "
9446 "by calling L</getxattrs>.  However some Linux filesystem implementations are "
9447 "buggy and do not provide a way to list out attributes.  For these "
9448 "filesystems (notably ntfs-3g)  you have to know the names of the extended "
9449 "attributes you want in advance and call this function."
9450 msgstr ""
9451
9452 #. type: textblock
9453 #: ../fish/guestfish-actions.pod:1487 ../fish/guestfish-actions.pod:2514
9454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1487
9455 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2514
9456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2228
9457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3684
9458 #: ../src/guestfs-actions.pod:2228 ../src/guestfs-actions.pod:3684
9459 msgid ""
9460 "Extended attribute values are blobs of binary data.  If there is no extended "
9461 "attribute named C<name>, this returns an error."
9462 msgstr ""
9463
9464 #. type: textblock
9465 #: ../fish/guestfish-actions.pod:1490
9466 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1490
9467 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9468 msgstr ""
9469
9470 #. type: =head2
9471 #: ../fish/guestfish-actions.pod:1492
9472 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1492
9473 msgid "getxattrs"
9474 msgstr ""
9475
9476 #. type: verbatim
9477 #: ../fish/guestfish-actions.pod:1494
9478 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1494
9479 #, no-wrap
9480 msgid ""
9481 " getxattrs path\n"
9482 "\n"
9483 msgstr ""
9484
9485 #. type: textblock
9486 #: ../fish/guestfish-actions.pod:1496
9487 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1496
9488 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2245
9489 #: ../src/guestfs-actions.pod:2245
9490 msgid ""
9491 "This call lists the extended attributes of the file or directory C<path>."
9492 msgstr ""
9493
9494 #. type: textblock
9495 #: ../fish/guestfish-actions.pod:1499
9496 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1499
9497 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2248
9498 #: ../src/guestfs-actions.pod:2248
9499 msgid ""
9500 "At the system call level, this is a combination of the L<listxattr(2)> and "
9501 "L<getxattr(2)> calls."
9502 msgstr ""
9503
9504 #. type: textblock
9505 #: ../fish/guestfish-actions.pod:1502
9506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1502
9507 msgid "See also: L</lgetxattrs>, L<attr(5)>."
9508 msgstr ""
9509
9510 #. type: =head2
9511 #: ../fish/guestfish-actions.pod:1504
9512 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1504
9513 msgid "glob-expand"
9514 msgstr ""
9515
9516 #. type: verbatim
9517 #: ../fish/guestfish-actions.pod:1506
9518 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1506
9519 #, no-wrap
9520 msgid ""
9521 " glob-expand pattern\n"
9522 "\n"
9523 msgstr ""
9524
9525 #. type: textblock
9526 #: ../fish/guestfish-actions.pod:1508
9527 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1508
9528 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2265
9529 #: ../src/guestfs-actions.pod:2265
9530 msgid ""
9531 "This command searches for all the pathnames matching C<pattern> according to "
9532 "the wildcard expansion rules used by the shell."
9533 msgstr ""
9534
9535 #. type: textblock
9536 #: ../fish/guestfish-actions.pod:1512
9537 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1512
9538 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2269
9539 #: ../src/guestfs-actions.pod:2269
9540 msgid ""
9541 "If no paths match, then this returns an empty list (note: not an error)."
9542 msgstr ""
9543
9544 #. type: textblock
9545 #: ../fish/guestfish-actions.pod:1515
9546 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1515
9547 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2272
9548 #: ../src/guestfs-actions.pod:2272
9549 msgid ""
9550 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
9551 "GLOB_BRACE>.  See that manual page for more details."
9552 msgstr ""
9553
9554 #. type: =head2
9555 #: ../fish/guestfish-actions.pod:1519
9556 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1519
9557 msgid "grep"
9558 msgstr ""
9559
9560 #. type: verbatim
9561 #: ../fish/guestfish-actions.pod:1521
9562 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1521
9563 #, no-wrap
9564 msgid ""
9565 " grep regex path\n"
9566 "\n"
9567 msgstr ""
9568
9569 #. type: textblock
9570 #: ../fish/guestfish-actions.pod:1523
9571 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1523
9572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2289
9573 #: ../src/guestfs-actions.pod:2289
9574 msgid "This calls the external C<grep> program and returns the matching lines."
9575 msgstr ""
9576
9577 #. type: =head2
9578 #: ../fish/guestfish-actions.pod:1529
9579 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1529
9580 msgid "grepi"
9581 msgstr ""
9582
9583 #. type: verbatim
9584 #: ../fish/guestfish-actions.pod:1531
9585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1531
9586 #, no-wrap
9587 msgid ""
9588 " grepi regex path\n"
9589 "\n"
9590 msgstr ""
9591
9592 #. type: textblock
9593 #: ../fish/guestfish-actions.pod:1533
9594 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1533
9595 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2308
9596 #: ../src/guestfs-actions.pod:2308
9597 msgid ""
9598 "This calls the external C<grep -i> program and returns the matching lines."
9599 msgstr ""
9600
9601 #. type: =head2
9602 #: ../fish/guestfish-actions.pod:1539
9603 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1539
9604 msgid "grub-install"
9605 msgstr ""
9606
9607 #. type: verbatim
9608 #: ../fish/guestfish-actions.pod:1541
9609 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1541
9610 #, no-wrap
9611 msgid ""
9612 " grub-install root device\n"
9613 "\n"
9614 msgstr ""
9615
9616 #. type: textblock
9617 #: ../fish/guestfish-actions.pod:1543
9618 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1543
9619 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2327
9620 #: ../src/guestfs-actions.pod:2327
9621 msgid ""
9622 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
9623 "the root directory being C<root>."
9624 msgstr ""
9625
9626 #. type: textblock
9627 #: ../fish/guestfish-actions.pod:1546
9628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1546
9629 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2330
9630 #: ../src/guestfs-actions.pod:2330
9631 msgid ""
9632 "Note: If grub-install reports the error \"No suitable drive was found in the "
9633 "generated device map.\" it may be that you need to create a C</boot/grub/"
9634 "device.map> file first that contains the mapping between grub device names "
9635 "and Linux device names.  It is usually sufficient to create a file "
9636 "containing:"
9637 msgstr ""
9638
9639 #. type: verbatim
9640 #: ../fish/guestfish-actions.pod:1553
9641 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1553
9642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2337
9643 #: ../src/guestfs-actions.pod:2337
9644 #, no-wrap
9645 msgid ""
9646 " (hd0) /dev/vda\n"
9647 "\n"
9648 msgstr ""
9649
9650 #. type: textblock
9651 #: ../fish/guestfish-actions.pod:1555
9652 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1555
9653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2339
9654 #: ../src/guestfs-actions.pod:2339
9655 msgid "replacing C</dev/vda> with the name of the installation device."
9656 msgstr ""
9657
9658 #. type: =head2
9659 #: ../fish/guestfish-actions.pod:1557
9660 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1557
9661 msgid "head"
9662 msgstr ""
9663
9664 #. type: verbatim
9665 #: ../fish/guestfish-actions.pod:1559
9666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1559
9667 #, no-wrap
9668 msgid ""
9669 " head path\n"
9670 "\n"
9671 msgstr ""
9672
9673 #. type: textblock
9674 #: ../fish/guestfish-actions.pod:1561
9675 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1561
9676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2351
9677 #: ../src/guestfs-actions.pod:2351
9678 msgid ""
9679 "This command returns up to the first 10 lines of a file as a list of strings."
9680 msgstr ""
9681
9682 #. type: =head2
9683 #: ../fish/guestfish-actions.pod:1567
9684 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1567
9685 msgid "head-n"
9686 msgstr ""
9687
9688 #. type: verbatim
9689 #: ../fish/guestfish-actions.pod:1569
9690 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1569
9691 #, no-wrap
9692 msgid ""
9693 " head-n nrlines path\n"
9694 "\n"
9695 msgstr ""
9696
9697 #. type: textblock
9698 #: ../fish/guestfish-actions.pod:1571
9699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1571
9700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2370
9701 #: ../src/guestfs-actions.pod:2370
9702 msgid ""
9703 "If the parameter C<nrlines> is a positive number, this returns the first "
9704 "C<nrlines> lines of the file C<path>."
9705 msgstr ""
9706
9707 #. type: textblock
9708 #: ../fish/guestfish-actions.pod:1574
9709 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1574
9710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2373
9711 #: ../src/guestfs-actions.pod:2373
9712 msgid ""
9713 "If the parameter C<nrlines> is a negative number, this returns lines from "
9714 "the file C<path>, excluding the last C<nrlines> lines."
9715 msgstr ""
9716
9717 #. type: textblock
9718 #: ../fish/guestfish-actions.pod:1577 ../fish/guestfish-actions.pod:4643
9719 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1577
9720 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4643
9721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2376
9722 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6991
9723 #: ../src/guestfs-actions.pod:2376 ../src/guestfs-actions.pod:6991
9724 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
9725 msgstr ""
9726
9727 #. type: =head2
9728 #: ../fish/guestfish-actions.pod:1582
9729 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1582
9730 msgid "hexdump"
9731 msgstr ""
9732
9733 #. type: verbatim
9734 #: ../fish/guestfish-actions.pod:1584
9735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1584
9736 #, no-wrap
9737 msgid ""
9738 " hexdump path\n"
9739 "\n"
9740 msgstr ""
9741
9742 #. type: textblock
9743 #: ../fish/guestfish-actions.pod:1586
9744 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1586
9745 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2393
9746 #: ../src/guestfs-actions.pod:2393
9747 msgid ""
9748 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
9749 "readable, canonical hex dump of the file."
9750 msgstr ""
9751
9752 #. type: =head2
9753 #: ../fish/guestfish-actions.pod:1592
9754 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1592
9755 msgid "initrd-cat"
9756 msgstr ""
9757
9758 #. type: verbatim
9759 #: ../fish/guestfish-actions.pod:1594
9760 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1594
9761 #, no-wrap
9762 msgid ""
9763 " initrd-cat initrdpath filename\n"
9764 "\n"
9765 msgstr ""
9766
9767 #. type: textblock
9768 #: ../fish/guestfish-actions.pod:1596
9769 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1596
9770 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2412
9771 #: ../src/guestfs-actions.pod:2412
9772 msgid ""
9773 "This command unpacks the file C<filename> from the initrd file called "
9774 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
9775 "character."
9776 msgstr ""
9777
9778 #. type: textblock
9779 #: ../fish/guestfish-actions.pod:1600
9780 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1600
9781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2416
9782 #: ../src/guestfs-actions.pod:2416
9783 msgid ""
9784 "For example, in guestfish you could use the following command to examine the "
9785 "boot script (usually called C</init>)  contained in a Linux initrd or "
9786 "initramfs image:"
9787 msgstr ""
9788
9789 #. type: verbatim
9790 #: ../fish/guestfish-actions.pod:1604
9791 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1604
9792 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2420
9793 #: ../src/guestfs-actions.pod:2420
9794 #, no-wrap
9795 msgid ""
9796 " initrd-cat /boot/initrd-<version>.img init\n"
9797 "\n"
9798 msgstr ""
9799
9800 #. type: textblock
9801 #: ../fish/guestfish-actions.pod:1606
9802 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1606
9803 msgid "See also L</initrd-list>."
9804 msgstr ""
9805
9806 #. type: =head2
9807 #: ../fish/guestfish-actions.pod:1611
9808 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1611
9809 msgid "initrd-list"
9810 msgstr ""
9811
9812 #. type: verbatim
9813 #: ../fish/guestfish-actions.pod:1613
9814 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1613
9815 #, no-wrap
9816 msgid ""
9817 " initrd-list path\n"
9818 "\n"
9819 msgstr ""
9820
9821 #. type: textblock
9822 #: ../fish/guestfish-actions.pod:1615
9823 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1615
9824 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2439
9825 #: ../src/guestfs-actions.pod:2439
9826 msgid "This command lists out files contained in an initrd."
9827 msgstr ""
9828
9829 #. type: textblock
9830 #: ../fish/guestfish-actions.pod:1617
9831 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1617
9832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2441
9833 #: ../src/guestfs-actions.pod:2441
9834 msgid ""
9835 "The files are listed without any initial C</> character.  The files are "
9836 "listed in the order they appear (not necessarily alphabetical).  Directory "
9837 "names are listed as separate items."
9838 msgstr ""
9839
9840 #. type: textblock
9841 #: ../fish/guestfish-actions.pod:1621
9842 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1621
9843 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2445
9844 #: ../src/guestfs-actions.pod:2445
9845 msgid ""
9846 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
9847 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
9848 "files)."
9849 msgstr ""
9850
9851 #. type: =head2
9852 #: ../fish/guestfish-actions.pod:1625
9853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1625
9854 msgid "inotify-add-watch"
9855 msgstr ""
9856
9857 #. type: verbatim
9858 #: ../fish/guestfish-actions.pod:1627
9859 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1627
9860 #, no-wrap
9861 msgid ""
9862 " inotify-add-watch path mask\n"
9863 "\n"
9864 msgstr ""
9865
9866 #. type: textblock
9867 #: ../fish/guestfish-actions.pod:1629
9868 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1629
9869 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2462
9870 #: ../src/guestfs-actions.pod:2462
9871 msgid "Watch C<path> for the events listed in C<mask>."
9872 msgstr ""
9873
9874 #. type: textblock
9875 #: ../fish/guestfish-actions.pod:1631
9876 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1631
9877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2464
9878 #: ../src/guestfs-actions.pod:2464
9879 msgid ""
9880 "Note that if C<path> is a directory then events within that directory are "
9881 "watched, but this does I<not> happen recursively (in subdirectories)."
9882 msgstr ""
9883
9884 #. type: textblock
9885 #: ../fish/guestfish-actions.pod:1635
9886 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1635
9887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2468
9888 #: ../src/guestfs-actions.pod:2468
9889 msgid ""
9890 "Note for non-C or non-Linux callers: the inotify events are defined by the "
9891 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
9892 msgstr ""
9893
9894 #. type: =head2
9895 #: ../fish/guestfish-actions.pod:1639
9896 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1639
9897 msgid "inotify-close"
9898 msgstr ""
9899
9900 #. type: verbatim
9901 #: ../fish/guestfish-actions.pod:1641
9902 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1641
9903 #, no-wrap
9904 msgid ""
9905 " inotify-close\n"
9906 "\n"
9907 msgstr ""
9908
9909 #. type: textblock
9910 #: ../fish/guestfish-actions.pod:1643
9911 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1643
9912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2481
9913 #: ../src/guestfs-actions.pod:2481
9914 msgid ""
9915 "This closes the inotify handle which was previously opened by inotify_init.  "
9916 "It removes all watches, throws away any pending events, and deallocates all "
9917 "resources."
9918 msgstr ""
9919
9920 #. type: =head2
9921 #: ../fish/guestfish-actions.pod:1647
9922 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1647
9923 msgid "inotify-files"
9924 msgstr ""
9925
9926 #. type: verbatim
9927 #: ../fish/guestfish-actions.pod:1649
9928 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1649
9929 #, no-wrap
9930 msgid ""
9931 " inotify-files\n"
9932 "\n"
9933 msgstr ""
9934
9935 #. type: textblock
9936 #: ../fish/guestfish-actions.pod:1651
9937 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1651
9938 msgid ""
9939 "This function is a helpful wrapper around L</inotify-read> which just "
9940 "returns a list of pathnames of objects that were touched.  The returned "
9941 "pathnames are sorted and deduplicated."
9942 msgstr ""
9943
9944 #. type: =head2
9945 #: ../fish/guestfish-actions.pod:1655
9946 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1655
9947 msgid "inotify-init"
9948 msgstr ""
9949
9950 #. type: verbatim
9951 #: ../fish/guestfish-actions.pod:1657
9952 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1657
9953 #, no-wrap
9954 msgid ""
9955 " inotify-init maxevents\n"
9956 "\n"
9957 msgstr ""
9958
9959 #. type: textblock
9960 #: ../fish/guestfish-actions.pod:1659
9961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1659
9962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2510
9963 #: ../src/guestfs-actions.pod:2510
9964 msgid ""
9965 "This command creates a new inotify handle.  The inotify subsystem can be "
9966 "used to notify events which happen to objects in the guest filesystem."
9967 msgstr ""
9968
9969 #. type: textblock
9970 #: ../fish/guestfish-actions.pod:1663
9971 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1663
9972 msgid ""
9973 "C<maxevents> is the maximum number of events which will be queued up between "
9974 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
9975 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
9976 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
9977 "but records the fact that it threw them away by setting a flag "
9978 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
9979 msgstr ""
9980
9981 #. type: textblock
9982 #: ../fish/guestfish-actions.pod:1673
9983 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1673
9984 msgid ""
9985 "Before any events are generated, you have to add some watches to the "
9986 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
9987 "L</inotify-watch-all>."
9988 msgstr ""
9989
9990 #. type: textblock
9991 #: ../fish/guestfish-actions.pod:1679
9992 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1679
9993 msgid ""
9994 "Queued up events should be read periodically by calling L</inotify-read> (or "
9995 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
9996 "If you don't read the events out often enough then you risk the internal "
9997 "queue overflowing."
9998 msgstr ""
9999
10000 #. type: textblock
10001 #: ../fish/guestfish-actions.pod:1686
10002 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1686
10003 msgid ""
10004 "The handle should be closed after use by calling L</inotify-close>.  This "
10005 "also removes any watches automatically."
10006 msgstr ""
10007
10008 #. type: textblock
10009 #: ../fish/guestfish-actions.pod:1690
10010 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1690
10011 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2541
10012 #: ../src/guestfs-actions.pod:2541
10013 msgid ""
10014 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
10015 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
10016 "that there is one global inotify handle per libguestfs instance."
10017 msgstr ""
10018
10019 #. type: =head2
10020 #: ../fish/guestfish-actions.pod:1695
10021 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1695
10022 msgid "inotify-read"
10023 msgstr ""
10024
10025 #. type: verbatim
10026 #: ../fish/guestfish-actions.pod:1697
10027 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1697
10028 #, no-wrap
10029 msgid ""
10030 " inotify-read\n"
10031 "\n"
10032 msgstr ""
10033
10034 #. type: textblock
10035 #: ../fish/guestfish-actions.pod:1699
10036 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1699
10037 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2555
10038 #: ../src/guestfs-actions.pod:2555
10039 msgid ""
10040 "Return the complete queue of events that have happened since the previous "
10041 "read call."
10042 msgstr ""
10043
10044 #. type: textblock
10045 #: ../fish/guestfish-actions.pod:1702
10046 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1702
10047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2558
10048 #: ../src/guestfs-actions.pod:2558
10049 msgid "If no events have happened, this returns an empty list."
10050 msgstr ""
10051
10052 #. type: textblock
10053 #: ../fish/guestfish-actions.pod:1704
10054 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1704
10055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2560
10056 #: ../src/guestfs-actions.pod:2560
10057 msgid ""
10058 "I<Note>: In order to make sure that all events have been read, you must call "
10059 "this function repeatedly until it returns an empty list.  The reason is that "
10060 "the call will read events up to the maximum appliance-to-host message size "
10061 "and leave remaining events in the queue."
10062 msgstr ""
10063
10064 #. type: =head2
10065 #: ../fish/guestfish-actions.pod:1710
10066 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1710
10067 msgid "inotify-rm-watch"
10068 msgstr ""
10069
10070 #. type: verbatim
10071 #: ../fish/guestfish-actions.pod:1712
10072 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1712
10073 #, no-wrap
10074 msgid ""
10075 " inotify-rm-watch wd\n"
10076 "\n"
10077 msgstr ""
10078
10079 #. type: textblock
10080 #: ../fish/guestfish-actions.pod:1714
10081 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1714
10082 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
10083 msgstr ""
10084
10085 #. type: =head2
10086 #: ../fish/guestfish-actions.pod:1717
10087 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1717
10088 msgid "inspect-get-arch"
10089 msgstr ""
10090
10091 #. type: verbatim
10092 #: ../fish/guestfish-actions.pod:1719
10093 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1719
10094 #, no-wrap
10095 msgid ""
10096 " inspect-get-arch root\n"
10097 "\n"
10098 msgstr ""
10099
10100 #. type: textblock
10101 #: ../fish/guestfish-actions.pod:1721
10102 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1721
10103 msgid ""
10104 "This returns the architecture of the inspected operating system.  The "
10105 "possible return values are listed under L</file-architecture>."
10106 msgstr ""
10107
10108 #. type: textblock
10109 #: ../fish/guestfish-actions.pod:1725
10110 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1725
10111 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2595
10112 #: ../src/guestfs-actions.pod:2595
10113 msgid ""
10114 "If the architecture could not be determined, then the string C<unknown> is "
10115 "returned."
10116 msgstr ""
10117
10118 #. type: textblock
10119 #: ../fish/guestfish-actions.pod:1728 ../fish/guestfish-actions.pod:1811
10120 #: ../fish/guestfish-actions.pod:1890 ../fish/guestfish-actions.pod:1902
10121 #: ../fish/guestfish-actions.pod:1986 ../fish/guestfish-actions.pod:2047
10122 #: ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2082
10123 #: ../fish/guestfish-actions.pod:2122 ../fish/guestfish-actions.pod:2154
10124 #: ../fish/guestfish-actions.pod:2167 ../fish/guestfish-actions.pod:2180
10125 #: ../fish/guestfish-actions.pod:2190 ../fish/guestfish-actions.pod:2200
10126 #: ../fish/guestfish-actions.pod:2212 ../fish/guestfish-actions.pod:2308
10127 #: ../fish/guestfish-actions.pod:2342
10128 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1728
10129 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1811
10130 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1890
10131 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1902
10132 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1986
10133 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2047
10134 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2068
10135 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2082
10136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2122
10137 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2154
10138 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2167
10139 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2180
10140 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2190
10141 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2200
10142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2212
10143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2308
10144 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2342
10145 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2598
10146 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2688
10147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2792
10148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2811
10149 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2942
10150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3025
10151 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3053
10152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3074
10153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3127
10154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3167
10155 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3187
10156 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3207
10157 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3224
10158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3240
10159 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3258
10160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3360
10161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3401
10162 #: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2688
10163 #: ../src/guestfs-actions.pod:2792 ../src/guestfs-actions.pod:2811
10164 #: ../src/guestfs-actions.pod:2942 ../src/guestfs-actions.pod:3025
10165 #: ../src/guestfs-actions.pod:3053 ../src/guestfs-actions.pod:3074
10166 #: ../src/guestfs-actions.pod:3127 ../src/guestfs-actions.pod:3167
10167 #: ../src/guestfs-actions.pod:3187 ../src/guestfs-actions.pod:3207
10168 #: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3240
10169 #: ../src/guestfs-actions.pod:3258 ../src/guestfs-actions.pod:3360
10170 #: ../src/guestfs-actions.pod:3401
10171 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
10172 msgstr ""
10173
10174 #. type: =head2
10175 #: ../fish/guestfish-actions.pod:1730
10176 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1730
10177 msgid "inspect-get-distro"
10178 msgstr ""
10179
10180 #. type: verbatim
10181 #: ../fish/guestfish-actions.pod:1732
10182 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1732
10183 #, no-wrap
10184 msgid ""
10185 " inspect-get-distro root\n"
10186 "\n"
10187 msgstr ""
10188
10189 #. type: textblock
10190 #: ../fish/guestfish-actions.pod:1734
10191 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1734
10192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2611
10193 #: ../src/guestfs-actions.pod:2611
10194 msgid ""
10195 "This returns the distro (distribution) of the inspected operating system."
10196 msgstr ""
10197
10198 #. type: textblock
10199 #: ../fish/guestfish-actions.pod:1737
10200 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1737
10201 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2614
10202 #: ../src/guestfs-actions.pod:2614
10203 msgid "Currently defined distros are:"
10204 msgstr ""
10205
10206 #. type: =item
10207 #: ../fish/guestfish-actions.pod:1741
10208 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1741
10209 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2618
10210 #: ../src/guestfs-actions.pod:2618
10211 msgid "\"archlinux\""
10212 msgstr ""
10213
10214 #. type: textblock
10215 #: ../fish/guestfish-actions.pod:1743
10216 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1743
10217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2620
10218 #: ../src/guestfs-actions.pod:2620
10219 msgid "Arch Linux."
10220 msgstr ""
10221
10222 #. type: =item
10223 #: ../fish/guestfish-actions.pod:1745
10224 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1745
10225 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2622
10226 #: ../src/guestfs-actions.pod:2622
10227 msgid "\"centos\""
10228 msgstr ""
10229
10230 #. type: textblock
10231 #: ../fish/guestfish-actions.pod:1747
10232 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1747
10233 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2624
10234 #: ../src/guestfs-actions.pod:2624
10235 msgid "CentOS."
10236 msgstr ""
10237
10238 #. type: =item
10239 #: ../fish/guestfish-actions.pod:1749
10240 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1749
10241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2626
10242 #: ../src/guestfs-actions.pod:2626
10243 msgid "\"debian\""
10244 msgstr ""
10245
10246 #. type: textblock
10247 #: ../fish/guestfish-actions.pod:1751
10248 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1751
10249 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2628
10250 #: ../src/guestfs-actions.pod:2628
10251 msgid "Debian."
10252 msgstr ""
10253
10254 #. type: =item
10255 #: ../fish/guestfish-actions.pod:1753
10256 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1753
10257 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2630
10258 #: ../src/guestfs-actions.pod:2630
10259 msgid "\"fedora\""
10260 msgstr ""
10261
10262 #. type: textblock
10263 #: ../fish/guestfish-actions.pod:1755
10264 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1755
10265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2632
10266 #: ../src/guestfs-actions.pod:2632
10267 msgid "Fedora."
10268 msgstr ""
10269
10270 #. type: =item
10271 #: ../fish/guestfish-actions.pod:1757
10272 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1757
10273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2634
10274 #: ../src/guestfs-actions.pod:2634
10275 msgid "\"gentoo\""
10276 msgstr ""
10277
10278 #. type: textblock
10279 #: ../fish/guestfish-actions.pod:1759
10280 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1759
10281 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2636
10282 #: ../src/guestfs-actions.pod:2636
10283 msgid "Gentoo."
10284 msgstr ""
10285
10286 #. type: =item
10287 #: ../fish/guestfish-actions.pod:1761
10288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1761
10289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2638
10290 #: ../src/guestfs-actions.pod:2638
10291 msgid "\"linuxmint\""
10292 msgstr ""
10293
10294 #. type: textblock
10295 #: ../fish/guestfish-actions.pod:1763
10296 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1763
10297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2640
10298 #: ../src/guestfs-actions.pod:2640
10299 msgid "Linux Mint."
10300 msgstr ""
10301
10302 #. type: =item
10303 #: ../fish/guestfish-actions.pod:1765
10304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1765
10305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2642
10306 #: ../src/guestfs-actions.pod:2642
10307 msgid "\"mandriva\""
10308 msgstr ""
10309
10310 #. type: textblock
10311 #: ../fish/guestfish-actions.pod:1767
10312 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1767
10313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2644
10314 #: ../src/guestfs-actions.pod:2644
10315 msgid "Mandriva."
10316 msgstr ""
10317
10318 #. type: =item
10319 #: ../fish/guestfish-actions.pod:1769
10320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1769
10321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2646
10322 #: ../src/guestfs-actions.pod:2646
10323 msgid "\"meego\""
10324 msgstr ""
10325
10326 #. type: textblock
10327 #: ../fish/guestfish-actions.pod:1771
10328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1771
10329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2648
10330 #: ../src/guestfs-actions.pod:2648
10331 msgid "MeeGo."
10332 msgstr ""
10333
10334 #. type: =item
10335 #: ../fish/guestfish-actions.pod:1773
10336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1773
10337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2650
10338 #: ../src/guestfs-actions.pod:2650
10339 msgid "\"pardus\""
10340 msgstr ""
10341
10342 #. type: textblock
10343 #: ../fish/guestfish-actions.pod:1775
10344 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1775
10345 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2652
10346 #: ../src/guestfs-actions.pod:2652
10347 msgid "Pardus."
10348 msgstr ""
10349
10350 #. type: =item
10351 #: ../fish/guestfish-actions.pod:1777
10352 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1777
10353 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2654
10354 #: ../src/guestfs-actions.pod:2654
10355 msgid "\"redhat-based\""
10356 msgstr ""
10357
10358 #. type: textblock
10359 #: ../fish/guestfish-actions.pod:1779
10360 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1779
10361 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2656
10362 #: ../src/guestfs-actions.pod:2656
10363 msgid "Some Red Hat-derived distro."
10364 msgstr ""
10365
10366 #. type: =item
10367 #: ../fish/guestfish-actions.pod:1781
10368 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1781
10369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2658
10370 #: ../src/guestfs-actions.pod:2658
10371 msgid "\"rhel\""
10372 msgstr ""
10373
10374 #. type: textblock
10375 #: ../fish/guestfish-actions.pod:1783
10376 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1783
10377 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2660
10378 #: ../src/guestfs-actions.pod:2660
10379 msgid "Red Hat Enterprise Linux."
10380 msgstr ""
10381
10382 #. type: =item
10383 #: ../fish/guestfish-actions.pod:1785
10384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1785
10385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2662
10386 #: ../src/guestfs-actions.pod:2662
10387 msgid "\"scientificlinux\""
10388 msgstr ""
10389
10390 #. type: textblock
10391 #: ../fish/guestfish-actions.pod:1787
10392 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1787
10393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2664
10394 #: ../src/guestfs-actions.pod:2664
10395 msgid "Scientific Linux."
10396 msgstr ""
10397
10398 #. type: =item
10399 #: ../fish/guestfish-actions.pod:1789
10400 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1789
10401 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2666
10402 #: ../src/guestfs-actions.pod:2666
10403 msgid "\"slackware\""
10404 msgstr ""
10405
10406 #. type: textblock
10407 #: ../fish/guestfish-actions.pod:1791
10408 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1791
10409 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2668
10410 #: ../src/guestfs-actions.pod:2668
10411 msgid "Slackware."
10412 msgstr ""
10413
10414 #. type: =item
10415 #: ../fish/guestfish-actions.pod:1793
10416 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1793
10417 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2670
10418 #: ../src/guestfs-actions.pod:2670
10419 msgid "\"ubuntu\""
10420 msgstr ""
10421
10422 #. type: textblock
10423 #: ../fish/guestfish-actions.pod:1795
10424 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1795
10425 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2672
10426 #: ../src/guestfs-actions.pod:2672
10427 msgid "Ubuntu."
10428 msgstr ""
10429
10430 #. type: =item
10431 #: ../fish/guestfish-actions.pod:1797 ../fish/guestfish-actions.pod:1881
10432 #: ../fish/guestfish-actions.pod:2145
10433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1797
10434 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1881
10435 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2145
10436 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2674
10437 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2783
10438 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3158
10439 #: ../src/guestfs-actions.pod:2674 ../src/guestfs-actions.pod:2783
10440 #: ../src/guestfs-actions.pod:3158
10441 msgid "\"unknown\""
10442 msgstr ""
10443
10444 #. type: textblock
10445 #: ../fish/guestfish-actions.pod:1799
10446 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1799
10447 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2676
10448 #: ../src/guestfs-actions.pod:2676
10449 msgid "The distro could not be determined."
10450 msgstr ""
10451
10452 #. type: =item
10453 #: ../fish/guestfish-actions.pod:1801 ../fish/guestfish-actions.pod:2137
10454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1801
10455 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2137
10456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2678
10457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3150
10458 #: ../src/guestfs-actions.pod:2678 ../src/guestfs-actions.pod:3150
10459 msgid "\"windows\""
10460 msgstr ""
10461
10462 #. type: textblock
10463 #: ../fish/guestfish-actions.pod:1803
10464 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1803
10465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2680
10466 #: ../src/guestfs-actions.pod:2680
10467 msgid ""
10468 "Windows does not have distributions.  This string is returned if the OS type "
10469 "is Windows."
10470 msgstr ""
10471
10472 #. type: textblock
10473 #: ../fish/guestfish-actions.pod:1808 ../fish/guestfish-actions.pod:1887
10474 #: ../fish/guestfish-actions.pod:2151
10475 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1808
10476 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1887
10477 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2151
10478 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2685
10479 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2789
10480 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3164
10481 #: ../src/guestfs-actions.pod:2685 ../src/guestfs-actions.pod:2789
10482 #: ../src/guestfs-actions.pod:3164
10483 msgid ""
10484 "Future versions of libguestfs may return other strings here.  The caller "
10485 "should be prepared to handle any string."
10486 msgstr ""
10487
10488 #. type: =head2
10489 #: ../fish/guestfish-actions.pod:1813
10490 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1813
10491 msgid "inspect-get-drive-mappings"
10492 msgstr ""
10493
10494 #. type: verbatim
10495 #: ../fish/guestfish-actions.pod:1815
10496 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1815
10497 #, no-wrap
10498 msgid ""
10499 " inspect-get-drive-mappings root\n"
10500 "\n"
10501 msgstr ""
10502
10503 #. type: textblock
10504 #: ../fish/guestfish-actions.pod:1817
10505 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1817
10506 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2701
10507 #: ../src/guestfs-actions.pod:2701
10508 msgid ""
10509 "This call is useful for Windows which uses a primitive system of assigning "
10510 "drive letters (like \"C:\") to partitions.  This inspection API examines the "
10511 "Windows Registry to find out how disks/partitions are mapped to drive "
10512 "letters, and returns a hash table as in the example below:"
10513 msgstr ""
10514
10515 #. type: verbatim
10516 #: ../fish/guestfish-actions.pod:1823
10517 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1823
10518 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2707
10519 #: ../src/guestfs-actions.pod:2707
10520 #, no-wrap
10521 msgid ""
10522 " C      =>     /dev/vda2\n"
10523 " E      =>     /dev/vdb1\n"
10524 " F      =>     /dev/vdc1\n"
10525 "\n"
10526 msgstr ""
10527
10528 #. type: textblock
10529 #: ../fish/guestfish-actions.pod:1827
10530 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1827
10531 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2711
10532 #: ../src/guestfs-actions.pod:2711
10533 msgid ""
10534 "Note that keys are drive letters.  For Windows, the key is case insensitive "
10535 "and just contains the drive letter, without the customary colon separator "
10536 "character."
10537 msgstr ""
10538
10539 #. type: textblock
10540 #: ../fish/guestfish-actions.pod:1831
10541 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1831
10542 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2715
10543 #: ../src/guestfs-actions.pod:2715
10544 msgid ""
10545 "In future we may support other operating systems that also used drive "
10546 "letters, but the keys for those might not be case insensitive and might be "
10547 "longer than 1 character.  For example in OS-9, hard drives were named C<h0>, "
10548 "C<h1> etc."
10549 msgstr ""
10550
10551 #. type: textblock
10552 #: ../fish/guestfish-actions.pod:1836
10553 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1836
10554 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2720
10555 #: ../src/guestfs-actions.pod:2720
10556 msgid ""
10557 "For Windows guests, currently only hard drive mappings are returned.  "
10558 "Removable disks (eg. DVD-ROMs) are ignored."
10559 msgstr ""
10560
10561 #. type: textblock
10562 #: ../fish/guestfish-actions.pod:1839
10563 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1839
10564 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2723
10565 #: ../src/guestfs-actions.pod:2723
10566 msgid ""
10567 "For guests that do not use drive mappings, or if the drive mappings could "
10568 "not be determined, this returns an empty hash table."
10569 msgstr ""
10570
10571 #. type: textblock
10572 #: ../fish/guestfish-actions.pod:1842
10573 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1842
10574 msgid ""
10575 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10576 "get-mountpoints>, L</inspect-get-filesystems>."
10577 msgstr ""
10578
10579 #. type: =head2
10580 #: ../fish/guestfish-actions.pod:1846
10581 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1846
10582 msgid "inspect-get-filesystems"
10583 msgstr ""
10584
10585 #. type: verbatim
10586 #: ../fish/guestfish-actions.pod:1848
10587 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1848
10588 #, no-wrap
10589 msgid ""
10590 " inspect-get-filesystems root\n"
10591 "\n"
10592 msgstr ""
10593
10594 #. type: textblock
10595 #: ../fish/guestfish-actions.pod:1850
10596 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1850
10597 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2744
10598 #: ../src/guestfs-actions.pod:2744
10599 msgid ""
10600 "This returns a list of all the filesystems that we think are associated with "
10601 "this operating system.  This includes the root filesystem, other ordinary "
10602 "filesystems, and non-mounted devices like swap partitions."
10603 msgstr ""
10604
10605 #. type: textblock
10606 #: ../fish/guestfish-actions.pod:1855
10607 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1855
10608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2749
10609 #: ../src/guestfs-actions.pod:2749
10610 msgid ""
10611 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
10612 "to be shared between operating systems."
10613 msgstr ""
10614
10615 #. type: textblock
10616 #: ../fish/guestfish-actions.pod:1858
10617 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1858
10618 msgid ""
10619 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10620 "get-mountpoints>."
10621 msgstr ""
10622
10623 #. type: =head2
10624 #: ../fish/guestfish-actions.pod:1861
10625 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1861
10626 msgid "inspect-get-format"
10627 msgstr ""
10628
10629 #. type: verbatim
10630 #: ../fish/guestfish-actions.pod:1863
10631 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1863
10632 #, no-wrap
10633 msgid ""
10634 " inspect-get-format root\n"
10635 "\n"
10636 msgstr ""
10637
10638 #. type: textblock
10639 #: ../fish/guestfish-actions.pod:1865
10640 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1865
10641 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2767
10642 #: ../src/guestfs-actions.pod:2767
10643 msgid ""
10644 "This returns the format of the inspected operating system.  You can use it "
10645 "to detect install images, live CDs and similar."
10646 msgstr ""
10647
10648 #. type: textblock
10649 #: ../fish/guestfish-actions.pod:1868
10650 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1868
10651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2770
10652 #: ../src/guestfs-actions.pod:2770
10653 msgid "Currently defined formats are:"
10654 msgstr ""
10655
10656 #. type: =item
10657 #: ../fish/guestfish-actions.pod:1872
10658 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1872
10659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2774
10660 #: ../src/guestfs-actions.pod:2774
10661 msgid "\"installed\""
10662 msgstr ""
10663
10664 #. type: textblock
10665 #: ../fish/guestfish-actions.pod:1874
10666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1874
10667 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2776
10668 #: ../src/guestfs-actions.pod:2776
10669 msgid "This is an installed operating system."
10670 msgstr ""
10671
10672 #. type: =item
10673 #: ../fish/guestfish-actions.pod:1876
10674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1876
10675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2778
10676 #: ../src/guestfs-actions.pod:2778
10677 msgid "\"installer\""
10678 msgstr ""
10679
10680 #. type: textblock
10681 #: ../fish/guestfish-actions.pod:1878
10682 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1878
10683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2780
10684 #: ../src/guestfs-actions.pod:2780
10685 msgid ""
10686 "The disk image being inspected is not an installed operating system, but a "
10687 "I<bootable> install disk, live CD, or similar."
10688 msgstr ""
10689
10690 #. type: textblock
10691 #: ../fish/guestfish-actions.pod:1883
10692 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1883
10693 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2785
10694 #: ../src/guestfs-actions.pod:2785
10695 msgid "The format of this disk image is not known."
10696 msgstr ""
10697
10698 #. type: =head2
10699 #: ../fish/guestfish-actions.pod:1892
10700 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1892
10701 msgid "inspect-get-hostname"
10702 msgstr ""
10703
10704 #. type: verbatim
10705 #: ../fish/guestfish-actions.pod:1894
10706 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1894
10707 #, no-wrap
10708 msgid ""
10709 " inspect-get-hostname root\n"
10710 "\n"
10711 msgstr ""
10712
10713 #. type: textblock
10714 #: ../fish/guestfish-actions.pod:1896
10715 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1896
10716 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2805
10717 #: ../src/guestfs-actions.pod:2805
10718 msgid ""
10719 "This function returns the hostname of the operating system as found by "
10720 "inspection of the guest's configuration files."
10721 msgstr ""
10722
10723 #. type: textblock
10724 #: ../fish/guestfish-actions.pod:1899
10725 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1899
10726 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2808
10727 #: ../src/guestfs-actions.pod:2808
10728 msgid ""
10729 "If the hostname could not be determined, then the string C<unknown> is "
10730 "returned."
10731 msgstr ""
10732
10733 #. type: =head2
10734 #: ../fish/guestfish-actions.pod:1904
10735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1904
10736 msgid "inspect-get-icon"
10737 msgstr ""
10738
10739 #. type: verbatim
10740 #: ../fish/guestfish-actions.pod:1906
10741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1906
10742 #, no-wrap
10743 msgid ""
10744 " inspect-get-icon root [favicon:..] [highquality:..]\n"
10745 "\n"
10746 msgstr ""
10747
10748 #. type: textblock
10749 #: ../fish/guestfish-actions.pod:1908
10750 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1908
10751 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2834
10752 #: ../src/guestfs-actions.pod:2834
10753 msgid ""
10754 "This function returns an icon corresponding to the inspected operating "
10755 "system.  The icon is returned as a buffer containing a PNG image (re-encoded "
10756 "to PNG if necessary)."
10757 msgstr ""
10758
10759 #. type: textblock
10760 #: ../fish/guestfish-actions.pod:1912
10761 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1912
10762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2838
10763 #: ../src/guestfs-actions.pod:2838
10764 msgid ""
10765 "If it was not possible to get an icon this function returns a zero-length "
10766 "(non-NULL) buffer.  I<Callers must check for this case>."
10767 msgstr ""
10768
10769 #. type: textblock
10770 #: ../fish/guestfish-actions.pod:1915
10771 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1915
10772 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2841
10773 #: ../src/guestfs-actions.pod:2841
10774 msgid ""
10775 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
10776 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
10777 "this file will be returned.  You can disable favicons by passing the "
10778 "optional C<favicon> boolean as false (default is true)."
10779 msgstr ""
10780
10781 #. type: textblock
10782 #: ../fish/guestfish-actions.pod:1921
10783 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1921
10784 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2847
10785 #: ../src/guestfs-actions.pod:2847
10786 msgid ""
10787 "If finding the favicon fails, then we look in other places in the guest for "
10788 "a suitable icon."
10789 msgstr ""
10790
10791 #. type: textblock
10792 #: ../fish/guestfish-actions.pod:1924
10793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1924
10794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2850
10795 #: ../src/guestfs-actions.pod:2850
10796 msgid ""
10797 "If the optional C<highquality> boolean is true then only high quality icons "
10798 "are returned, which means only icons of high resolution with an alpha "
10799 "channel.  The default (false) is to return any icon we can, even if it is of "
10800 "substandard quality."
10801 msgstr ""
10802
10803 #. type: textblock
10804 #: ../fish/guestfish-actions.pod:1935
10805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1935
10806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2861
10807 #: ../src/guestfs-actions.pod:2861
10808 msgid ""
10809 "Unlike most other inspection API calls, the guest's disks must be mounted up "
10810 "before you call this, since it needs to read information from the guest "
10811 "filesystem during the call."
10812 msgstr ""
10813
10814 #. type: textblock
10815 #: ../fish/guestfish-actions.pod:1941
10816 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1941
10817 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2867
10818 #: ../src/guestfs-actions.pod:2867
10819 msgid ""
10820 "B<Security:> The icon data comes from the untrusted guest, and should be "
10821 "treated with caution.  PNG files have been known to contain exploits.  "
10822 "Ensure that libpng (or other relevant libraries) are fully up to date before "
10823 "trying to process or display the icon."
10824 msgstr ""
10825
10826 #. type: textblock
10827 #: ../fish/guestfish-actions.pod:1949
10828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1949
10829 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2875
10830 #: ../src/guestfs-actions.pod:2875
10831 msgid ""
10832 "The PNG image returned can be any size.  It might not be square.  Libguestfs "
10833 "tries to return the largest, highest quality icon available.  The "
10834 "application must scale the icon to the required size."
10835 msgstr ""
10836
10837 #. type: textblock
10838 #: ../fish/guestfish-actions.pod:1956
10839 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1956
10840 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2882
10841 #: ../src/guestfs-actions.pod:2882
10842 msgid ""
10843 "Extracting icons from Windows guests requires the external C<wrestool> "
10844 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
10845 "C<pnmtopng>, C<pamcut>)  from the C<netpbm> package.  These must be "
10846 "installed separately."
10847 msgstr ""
10848
10849 #. type: textblock
10850 #: ../fish/guestfish-actions.pod:1963
10851 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1963
10852 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2889
10853 #: ../src/guestfs-actions.pod:2889
10854 msgid ""
10855 "Operating system icons are usually trademarks.  Seek legal advice before "
10856 "using trademarks in applications."
10857 msgstr ""
10858
10859 #. type: =head2
10860 #: ../fish/guestfish-actions.pod:1970
10861 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1970
10862 msgid "inspect-get-major-version"
10863 msgstr ""
10864
10865 #. type: verbatim
10866 #: ../fish/guestfish-actions.pod:1972
10867 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1972
10868 #, no-wrap
10869 msgid ""
10870 " inspect-get-major-version root\n"
10871 "\n"
10872 msgstr ""
10873
10874 #. type: textblock
10875 #: ../fish/guestfish-actions.pod:1974
10876 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1974
10877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2930
10878 #: ../src/guestfs-actions.pod:2930
10879 msgid ""
10880 "This returns the major version number of the inspected operating system."
10881 msgstr ""
10882
10883 #. type: textblock
10884 #: ../fish/guestfish-actions.pod:1977
10885 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1977
10886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2933
10887 #: ../src/guestfs-actions.pod:2933
10888 msgid ""
10889 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
10890 "popular public names used by the operating system.  Notably the operating "
10891 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
10892 "1).  You can find out the real versions corresponding to releases of Windows "
10893 "by consulting Wikipedia or MSDN."
10894 msgstr ""
10895
10896 #. type: textblock
10897 #: ../fish/guestfish-actions.pod:1984 ../fish/guestfish-actions.pod:1995
10898 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1984
10899 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1995
10900 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2940
10901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2957
10902 #: ../src/guestfs-actions.pod:2940 ../src/guestfs-actions.pod:2957
10903 msgid "If the version could not be determined, then C<0> is returned."
10904 msgstr ""
10905
10906 #. type: =head2
10907 #: ../fish/guestfish-actions.pod:1988
10908 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1988
10909 msgid "inspect-get-minor-version"
10910 msgstr ""
10911
10912 #. type: verbatim
10913 #: ../fish/guestfish-actions.pod:1990
10914 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1990
10915 #, no-wrap
10916 msgid ""
10917 " inspect-get-minor-version root\n"
10918 "\n"
10919 msgstr ""
10920
10921 #. type: textblock
10922 #: ../fish/guestfish-actions.pod:1992
10923 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1992
10924 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2954
10925 #: ../src/guestfs-actions.pod:2954
10926 msgid ""
10927 "This returns the minor version number of the inspected operating system."
10928 msgstr ""
10929
10930 #. type: textblock
10931 #: ../fish/guestfish-actions.pod:1997
10932 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1997
10933 msgid ""
10934 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10935 "get-major-version>."
10936 msgstr ""
10937
10938 #. type: =head2
10939 #: ../fish/guestfish-actions.pod:2000
10940 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2000
10941 msgid "inspect-get-mountpoints"
10942 msgstr ""
10943
10944 #. type: verbatim
10945 #: ../fish/guestfish-actions.pod:2002
10946 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2002
10947 #, no-wrap
10948 msgid ""
10949 " inspect-get-mountpoints root\n"
10950 "\n"
10951 msgstr ""
10952
10953 #. type: textblock
10954 #: ../fish/guestfish-actions.pod:2004
10955 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2004
10956 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2972
10957 #: ../src/guestfs-actions.pod:2972
10958 msgid ""
10959 "This returns a hash of where we think the filesystems associated with this "
10960 "operating system should be mounted.  Callers should note that this is at "
10961 "best an educated guess made by reading configuration files such as C</etc/"
10962 "fstab>.  I<In particular note> that this may return filesystems which are "
10963 "non-existent or not mountable and callers should be prepared to handle or "
10964 "ignore failures if they try to mount them."
10965 msgstr ""
10966
10967 #. type: textblock
10968 #: ../fish/guestfish-actions.pod:2013
10969 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2013
10970 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2981
10971 #: ../src/guestfs-actions.pod:2981
10972 msgid ""
10973 "Each element in the returned hashtable has a key which is the path of the "
10974 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
10975 "mounted there (eg. C</dev/sda1>)."
10976 msgstr ""
10977
10978 #. type: textblock
10979 #: ../fish/guestfish-actions.pod:2018
10980 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2018
10981 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2986
10982 #: ../src/guestfs-actions.pod:2986
10983 msgid ""
10984 "Non-mounted devices such as swap devices are I<not> returned in this list."
10985 msgstr ""
10986
10987 #. type: textblock
10988 #: ../fish/guestfish-actions.pod:2021
10989 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2021
10990 msgid ""
10991 "For operating systems like Windows which still use drive letters, this call "
10992 "will only return an entry for the first drive \"mounted on\" C</>.  For "
10993 "information about the mapping of drive letters to partitions, see L</inspect-"
10994 "get-drive-mappings>."
10995 msgstr ""
10996
10997 #. type: textblock
10998 #: ../fish/guestfish-actions.pod:2027
10999 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2027
11000 msgid ""
11001 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11002 "get-filesystems>."
11003 msgstr ""
11004
11005 #. type: =head2
11006 #: ../fish/guestfish-actions.pod:2030
11007 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2030
11008 msgid "inspect-get-package-format"
11009 msgstr ""
11010
11011 #. type: verbatim
11012 #: ../fish/guestfish-actions.pod:2032
11013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2032
11014 #, no-wrap
11015 msgid ""
11016 " inspect-get-package-format root\n"
11017 "\n"
11018 msgstr ""
11019
11020 #. type: textblock
11021 #: ../fish/guestfish-actions.pod:2034
11022 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2034
11023 msgid ""
11024 "This function and L</inspect-get-package-management> return the package "
11025 "format and package management tool used by the inspected operating system.  "
11026 "For example for Fedora these functions would return C<rpm> (package format) "
11027 "and C<yum> (package management)."
11028 msgstr ""
11029
11030 #. type: textblock
11031 #: ../fish/guestfish-actions.pod:2040
11032 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2040
11033 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3018
11034 #: ../src/guestfs-actions.pod:3018
11035 msgid ""
11036 "This returns the string C<unknown> if we could not determine the package "
11037 "format I<or> if the operating system does not have a real packaging system "
11038 "(eg. Windows)."
11039 msgstr ""
11040
11041 #. type: textblock
11042 #: ../fish/guestfish-actions.pod:2044
11043 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2044
11044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3022
11045 #: ../src/guestfs-actions.pod:3022
11046 msgid ""
11047 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>.  "
11048 "Future versions of libguestfs may return other strings."
11049 msgstr ""
11050
11051 #. type: =head2
11052 #: ../fish/guestfish-actions.pod:2049
11053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2049
11054 msgid "inspect-get-package-management"
11055 msgstr ""
11056
11057 #. type: verbatim
11058 #: ../fish/guestfish-actions.pod:2051
11059 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2051
11060 #, no-wrap
11061 msgid ""
11062 " inspect-get-package-management root\n"
11063 "\n"
11064 msgstr ""
11065
11066 #. type: textblock
11067 #: ../fish/guestfish-actions.pod:2053
11068 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2053
11069 msgid ""
11070 "L</inspect-get-package-format> and this function return the package format "
11071 "and package management tool used by the inspected operating system.  For "
11072 "example for Fedora these functions would return C<rpm> (package format) and "
11073 "C<yum> (package management)."
11074 msgstr ""
11075
11076 #. type: textblock
11077 #: ../fish/guestfish-actions.pod:2059
11078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2059
11079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3044
11080 #: ../src/guestfs-actions.pod:3044
11081 msgid ""
11082 "This returns the string C<unknown> if we could not determine the package "
11083 "management tool I<or> if the operating system does not have a real packaging "
11084 "system (eg. Windows)."
11085 msgstr ""
11086
11087 #. type: textblock
11088 #: ../fish/guestfish-actions.pod:2063
11089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2063
11090 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3048
11091 #: ../src/guestfs-actions.pod:3048
11092 msgid ""
11093 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
11094 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>.  Future versions of "
11095 "libguestfs may return other strings."
11096 msgstr ""
11097
11098 #. type: =head2
11099 #: ../fish/guestfish-actions.pod:2070
11100 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2070
11101 msgid "inspect-get-product-name"
11102 msgstr ""
11103
11104 #. type: verbatim
11105 #: ../fish/guestfish-actions.pod:2072
11106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2072
11107 #, no-wrap
11108 msgid ""
11109 " inspect-get-product-name root\n"
11110 "\n"
11111 msgstr ""
11112
11113 #. type: textblock
11114 #: ../fish/guestfish-actions.pod:2074
11115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2074
11116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3066
11117 #: ../src/guestfs-actions.pod:3066
11118 msgid ""
11119 "This returns the product name of the inspected operating system.  The "
11120 "product name is generally some freeform string which can be displayed to the "
11121 "user, but should not be parsed by programs."
11122 msgstr ""
11123
11124 #. type: textblock
11125 #: ../fish/guestfish-actions.pod:2079
11126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2079
11127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3071
11128 #: ../src/guestfs-actions.pod:3071
11129 msgid ""
11130 "If the product name could not be determined, then the string C<unknown> is "
11131 "returned."
11132 msgstr ""
11133
11134 #. type: =head2
11135 #: ../fish/guestfish-actions.pod:2084
11136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2084
11137 msgid "inspect-get-product-variant"
11138 msgstr ""
11139
11140 #. type: verbatim
11141 #: ../fish/guestfish-actions.pod:2086
11142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2086
11143 #, no-wrap
11144 msgid ""
11145 " inspect-get-product-variant root\n"
11146 "\n"
11147 msgstr ""
11148
11149 #. type: textblock
11150 #: ../fish/guestfish-actions.pod:2088
11151 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2088
11152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3087
11153 #: ../src/guestfs-actions.pod:3087
11154 msgid "This returns the product variant of the inspected operating system."
11155 msgstr ""
11156
11157 #. type: textblock
11158 #: ../fish/guestfish-actions.pod:2091
11159 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2091
11160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3090
11161 #: ../src/guestfs-actions.pod:3090
11162 msgid ""
11163 "For Windows guests, this returns the contents of the Registry key C<HKLM"
11164 "\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType> which "
11165 "is usually a string such as C<Client> or C<Server> (other values are "
11166 "possible).  This can be used to distinguish consumer and enterprise versions "
11167 "of Windows that have the same version number (for example, Windows 7 and "
11168 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
11169 "the latter is C<Server>)."
11170 msgstr ""
11171
11172 #. type: textblock
11173 #: ../fish/guestfish-actions.pod:2100
11174 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2100
11175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3099
11176 #: ../src/guestfs-actions.pod:3099
11177 msgid ""
11178 "For enterprise Linux guests, in future we intend this to return the product "
11179 "variant such as C<Desktop>, C<Server> and so on.  But this is not "
11180 "implemented at present."
11181 msgstr ""
11182
11183 #. type: textblock
11184 #: ../fish/guestfish-actions.pod:2104
11185 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2104
11186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3103
11187 #: ../src/guestfs-actions.pod:3103
11188 msgid ""
11189 "If the product variant could not be determined, then the string C<unknown> "
11190 "is returned."
11191 msgstr ""
11192
11193 #. type: textblock
11194 #: ../fish/guestfish-actions.pod:2107
11195 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2107
11196 msgid ""
11197 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
11198 "get-product-name>, L</inspect-get-major-version>."
11199 msgstr ""
11200
11201 #. type: =head2
11202 #: ../fish/guestfish-actions.pod:2111
11203 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2111
11204 msgid "inspect-get-roots"
11205 msgstr ""
11206
11207 #. type: verbatim
11208 #: ../fish/guestfish-actions.pod:2113
11209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2113
11210 #, no-wrap
11211 msgid ""
11212 " inspect-get-roots\n"
11213 "\n"
11214 msgstr ""
11215
11216 #. type: textblock
11217 #: ../fish/guestfish-actions.pod:2115
11218 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2115
11219 msgid ""
11220 "This function is a convenient way to get the list of root devices, as "
11221 "returned from a previous call to L</inspect-os>, but without redoing the "
11222 "whole inspection process."
11223 msgstr ""
11224
11225 #. type: textblock
11226 #: ../fish/guestfish-actions.pod:2119
11227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2119
11228 msgid ""
11229 "This returns an empty list if either no root devices were found or the "
11230 "caller has not called L</inspect-os>."
11231 msgstr ""
11232
11233 #. type: =head2
11234 #: ../fish/guestfish-actions.pod:2124
11235 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2124
11236 msgid "inspect-get-type"
11237 msgstr ""
11238
11239 #. type: verbatim
11240 #: ../fish/guestfish-actions.pod:2126
11241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2126
11242 #, no-wrap
11243 msgid ""
11244 " inspect-get-type root\n"
11245 "\n"
11246 msgstr ""
11247
11248 #. type: textblock
11249 #: ../fish/guestfish-actions.pod:2128
11250 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2128
11251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3141
11252 #: ../src/guestfs-actions.pod:3141
11253 msgid ""
11254 "This returns the type of the inspected operating system.  Currently defined "
11255 "types are:"
11256 msgstr ""
11257
11258 #. type: =item
11259 #: ../fish/guestfish-actions.pod:2133
11260 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2133
11261 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3146
11262 #: ../src/guestfs-actions.pod:3146
11263 msgid "\"linux\""
11264 msgstr ""
11265
11266 #. type: textblock
11267 #: ../fish/guestfish-actions.pod:2135
11268 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2135
11269 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3148
11270 #: ../src/guestfs-actions.pod:3148
11271 msgid "Any Linux-based operating system."
11272 msgstr ""
11273
11274 #. type: textblock
11275 #: ../fish/guestfish-actions.pod:2139
11276 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2139
11277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3152
11278 #: ../src/guestfs-actions.pod:3152
11279 msgid "Any Microsoft Windows operating system."
11280 msgstr ""
11281
11282 #. type: =item
11283 #: ../fish/guestfish-actions.pod:2141
11284 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2141
11285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3154
11286 #: ../src/guestfs-actions.pod:3154
11287 msgid "\"freebsd\""
11288 msgstr ""
11289
11290 #. type: textblock
11291 #: ../fish/guestfish-actions.pod:2143
11292 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2143
11293 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3156
11294 #: ../src/guestfs-actions.pod:3156
11295 msgid "FreeBSD."
11296 msgstr ""
11297
11298 #. type: textblock
11299 #: ../fish/guestfish-actions.pod:2147
11300 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2147
11301 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3160
11302 #: ../src/guestfs-actions.pod:3160
11303 msgid "The operating system type could not be determined."
11304 msgstr ""
11305
11306 #. type: =head2
11307 #: ../fish/guestfish-actions.pod:2156
11308 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2156
11309 msgid "inspect-get-windows-current-control-set"
11310 msgstr ""
11311
11312 #. type: verbatim
11313 #: ../fish/guestfish-actions.pod:2158
11314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2158
11315 #, no-wrap
11316 msgid ""
11317 " inspect-get-windows-current-control-set root\n"
11318 "\n"
11319 msgstr ""
11320
11321 #. type: textblock
11322 #: ../fish/guestfish-actions.pod:2160
11323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2160
11324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3180
11325 #: ../src/guestfs-actions.pod:3180
11326 msgid ""
11327 "This returns the Windows CurrentControlSet of the inspected guest.  The "
11328 "CurrentControlSet is a registry key name such as C<ControlSet001>."
11329 msgstr ""
11330
11331 #. type: textblock
11332 #: ../fish/guestfish-actions.pod:2163
11333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2163
11334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3183
11335 #: ../src/guestfs-actions.pod:3183
11336 msgid ""
11337 "This call assumes that the guest is Windows and that the Registry could be "
11338 "examined by inspection.  If this is not the case then an error is returned."
11339 msgstr ""
11340
11341 #. type: =head2
11342 #: ../fish/guestfish-actions.pod:2169
11343 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2169
11344 msgid "inspect-get-windows-systemroot"
11345 msgstr ""
11346
11347 #. type: verbatim
11348 #: ../fish/guestfish-actions.pod:2171
11349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2171
11350 #, no-wrap
11351 msgid ""
11352 " inspect-get-windows-systemroot root\n"
11353 "\n"
11354 msgstr ""
11355
11356 #. type: textblock
11357 #: ../fish/guestfish-actions.pod:2173
11358 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2173
11359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3200
11360 #: ../src/guestfs-actions.pod:3200
11361 msgid ""
11362 "This returns the Windows systemroot of the inspected guest.  The systemroot "
11363 "is a directory path such as C</WINDOWS>."
11364 msgstr ""
11365
11366 #. type: textblock
11367 #: ../fish/guestfish-actions.pod:2176
11368 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2176
11369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3203
11370 #: ../src/guestfs-actions.pod:3203
11371 msgid ""
11372 "This call assumes that the guest is Windows and that the systemroot could be "
11373 "determined by inspection.  If this is not the case then an error is returned."
11374 msgstr ""
11375
11376 #. type: =head2
11377 #: ../fish/guestfish-actions.pod:2182
11378 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2182
11379 msgid "inspect-is-live"
11380 msgstr ""
11381
11382 #. type: verbatim
11383 #: ../fish/guestfish-actions.pod:2184
11384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2184
11385 #, no-wrap
11386 msgid ""
11387 " inspect-is-live root\n"
11388 "\n"
11389 msgstr ""
11390
11391 #. type: textblock
11392 #: ../fish/guestfish-actions.pod:2186
11393 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2186
11394 msgid ""
11395 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11396 "then this returns true if a live image was detected on the disk."
11397 msgstr ""
11398
11399 #. type: =head2
11400 #: ../fish/guestfish-actions.pod:2192
11401 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2192
11402 msgid "inspect-is-multipart"
11403 msgstr ""
11404
11405 #. type: verbatim
11406 #: ../fish/guestfish-actions.pod:2194
11407 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2194
11408 #, no-wrap
11409 msgid ""
11410 " inspect-is-multipart root\n"
11411 "\n"
11412 msgstr ""
11413
11414 #. type: textblock
11415 #: ../fish/guestfish-actions.pod:2196
11416 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2196
11417 msgid ""
11418 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11419 "then this returns true if the disk is part of a set."
11420 msgstr ""
11421
11422 #. type: =head2
11423 #: ../fish/guestfish-actions.pod:2202
11424 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2202
11425 msgid "inspect-is-netinst"
11426 msgstr ""
11427
11428 #. type: verbatim
11429 #: ../fish/guestfish-actions.pod:2204
11430 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2204
11431 #, no-wrap
11432 msgid ""
11433 " inspect-is-netinst root\n"
11434 "\n"
11435 msgstr ""
11436
11437 #. type: textblock
11438 #: ../fish/guestfish-actions.pod:2206
11439 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2206
11440 msgid ""
11441 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11442 "then this returns true if the disk is a network installer, ie. not a self-"
11443 "contained install CD but one which is likely to require network access to "
11444 "complete the install."
11445 msgstr ""
11446
11447 #. type: =head2
11448 #: ../fish/guestfish-actions.pod:2214
11449 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2214
11450 msgid "inspect-list-applications"
11451 msgstr ""
11452
11453 #. type: verbatim
11454 #: ../fish/guestfish-actions.pod:2216
11455 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2216
11456 #, no-wrap
11457 msgid ""
11458 " inspect-list-applications root\n"
11459 "\n"
11460 msgstr ""
11461
11462 #. type: textblock
11463 #: ../fish/guestfish-actions.pod:2218
11464 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2218
11465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3270
11466 #: ../src/guestfs-actions.pod:3270
11467 msgid "Return the list of applications installed in the operating system."
11468 msgstr ""
11469
11470 #. type: textblock
11471 #: ../fish/guestfish-actions.pod:2220
11472 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2220
11473 msgid ""
11474 "I<Note:> This call works differently from other parts of the inspection "
11475 "API.  You have to call L</inspect-os>, then L</inspect-get-mountpoints>, "
11476 "then mount up the disks, before calling this.  Listing applications is a "
11477 "significantly more difficult operation which requires access to the full "
11478 "filesystem.  Also note that unlike the other L</inspect-get-*> calls which "
11479 "are just returning data cached in the libguestfs handle, this call actually "
11480 "reads parts of the mounted filesystems during the call."
11481 msgstr ""
11482
11483 #. type: textblock
11484 #: ../fish/guestfish-actions.pod:2230
11485 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2230
11486 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3282
11487 #: ../src/guestfs-actions.pod:3282
11488 msgid ""
11489 "This returns an empty list if the inspection code was not able to determine "
11490 "the list of applications."
11491 msgstr ""
11492
11493 #. type: textblock
11494 #: ../fish/guestfish-actions.pod:2233
11495 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2233
11496 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3285
11497 #: ../src/guestfs-actions.pod:3285
11498 msgid "The application structure contains the following fields:"
11499 msgstr ""
11500
11501 #. type: =item
11502 #: ../fish/guestfish-actions.pod:2237
11503 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2237
11504 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3289
11505 #: ../src/guestfs-actions.pod:3289
11506 msgid "C<app_name>"
11507 msgstr ""
11508
11509 #. type: textblock
11510 #: ../fish/guestfish-actions.pod:2239
11511 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2239
11512 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3291
11513 #: ../src/guestfs-actions.pod:3291
11514 msgid ""
11515 "The name of the application.  For Red Hat-derived and Debian-derived Linux "
11516 "guests, this is the package name."
11517 msgstr ""
11518
11519 #. type: =item
11520 #: ../fish/guestfish-actions.pod:2242
11521 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2242
11522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3294
11523 #: ../src/guestfs-actions.pod:3294
11524 msgid "C<app_display_name>"
11525 msgstr ""
11526
11527 #. type: textblock
11528 #: ../fish/guestfish-actions.pod:2244
11529 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2244
11530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3296
11531 #: ../src/guestfs-actions.pod:3296
11532 msgid ""
11533 "The display name of the application, sometimes localized to the install "
11534 "language of the guest operating system."
11535 msgstr ""
11536
11537 #. type: textblock
11538 #: ../fish/guestfish-actions.pod:2247
11539 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2247
11540 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3299
11541 #: ../src/guestfs-actions.pod:3299
11542 msgid ""
11543 "If unavailable this is returned as an empty string C<\"\">.  Callers needing "
11544 "to display something can use C<app_name> instead."
11545 msgstr ""
11546
11547 #. type: =item
11548 #: ../fish/guestfish-actions.pod:2250
11549 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2250
11550 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3302
11551 #: ../src/guestfs-actions.pod:3302
11552 msgid "C<app_epoch>"
11553 msgstr ""
11554
11555 #. type: textblock
11556 #: ../fish/guestfish-actions.pod:2252
11557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2252
11558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3304
11559 #: ../src/guestfs-actions.pod:3304
11560 msgid ""
11561 "For package managers which use epochs, this contains the epoch of the "
11562 "package (an integer).  If unavailable, this is returned as C<0>."
11563 msgstr ""
11564
11565 #. type: =item
11566 #: ../fish/guestfish-actions.pod:2255
11567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2255
11568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3307
11569 #: ../src/guestfs-actions.pod:3307
11570 msgid "C<app_version>"
11571 msgstr ""
11572
11573 #. type: textblock
11574 #: ../fish/guestfish-actions.pod:2257
11575 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2257
11576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3309
11577 #: ../src/guestfs-actions.pod:3309
11578 msgid ""
11579 "The version string of the application or package.  If unavailable this is "
11580 "returned as an empty string C<\"\">."
11581 msgstr ""
11582
11583 #. type: =item
11584 #: ../fish/guestfish-actions.pod:2260
11585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2260
11586 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3312
11587 #: ../src/guestfs-actions.pod:3312
11588 msgid "C<app_release>"
11589 msgstr ""
11590
11591 #. type: textblock
11592 #: ../fish/guestfish-actions.pod:2262
11593 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2262
11594 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3314
11595 #: ../src/guestfs-actions.pod:3314
11596 msgid ""
11597 "The release string of the application or package, for package managers that "
11598 "use this.  If unavailable this is returned as an empty string C<\"\">."
11599 msgstr ""
11600
11601 #. type: =item
11602 #: ../fish/guestfish-actions.pod:2266
11603 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2266
11604 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3318
11605 #: ../src/guestfs-actions.pod:3318
11606 msgid "C<app_install_path>"
11607 msgstr ""
11608
11609 #. type: textblock
11610 #: ../fish/guestfish-actions.pod:2268
11611 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2268
11612 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3320
11613 #: ../src/guestfs-actions.pod:3320
11614 msgid ""
11615 "The installation path of the application (on operating systems such as "
11616 "Windows which use installation paths).  This path is in the format used by "
11617 "the guest operating system, it is not a libguestfs path."
11618 msgstr ""
11619
11620 #. type: textblock
11621 #: ../fish/guestfish-actions.pod:2273
11622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2273
11623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3325
11624 #: ../src/guestfs-actions.pod:3325
11625 msgid "If unavailable this is returned as an empty string C<\"\">."
11626 msgstr ""
11627
11628 #. type: =item
11629 #: ../fish/guestfish-actions.pod:2275
11630 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2275
11631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3327
11632 #: ../src/guestfs-actions.pod:3327
11633 msgid "C<app_trans_path>"
11634 msgstr ""
11635
11636 #. type: textblock
11637 #: ../fish/guestfish-actions.pod:2277
11638 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2277
11639 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3329
11640 #: ../src/guestfs-actions.pod:3329
11641 msgid ""
11642 "The install path translated into a libguestfs path.  If unavailable this is "
11643 "returned as an empty string C<\"\">."
11644 msgstr ""
11645
11646 #. type: =item
11647 #: ../fish/guestfish-actions.pod:2280
11648 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2280
11649 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3332
11650 #: ../src/guestfs-actions.pod:3332
11651 msgid "C<app_publisher>"
11652 msgstr ""
11653
11654 #. type: textblock
11655 #: ../fish/guestfish-actions.pod:2282
11656 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2282
11657 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3334
11658 #: ../src/guestfs-actions.pod:3334
11659 msgid ""
11660 "The name of the publisher of the application, for package managers that use "
11661 "this.  If unavailable this is returned as an empty string C<\"\">."
11662 msgstr ""
11663
11664 #. type: =item
11665 #: ../fish/guestfish-actions.pod:2286
11666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2286
11667 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3338
11668 #: ../src/guestfs-actions.pod:3338
11669 msgid "C<app_url>"
11670 msgstr ""
11671
11672 #. type: textblock
11673 #: ../fish/guestfish-actions.pod:2288
11674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2288
11675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3340
11676 #: ../src/guestfs-actions.pod:3340
11677 msgid ""
11678 "The URL (eg. upstream URL) of the application.  If unavailable this is "
11679 "returned as an empty string C<\"\">."
11680 msgstr ""
11681
11682 #. type: =item
11683 #: ../fish/guestfish-actions.pod:2291
11684 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2291
11685 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3343
11686 #: ../src/guestfs-actions.pod:3343
11687 msgid "C<app_source_package>"
11688 msgstr ""
11689
11690 #. type: textblock
11691 #: ../fish/guestfish-actions.pod:2293
11692 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2293
11693 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3345
11694 #: ../src/guestfs-actions.pod:3345
11695 msgid ""
11696 "For packaging systems which support this, the name of the source package.  "
11697 "If unavailable this is returned as an empty string C<\"\">."
11698 msgstr ""
11699
11700 #. type: =item
11701 #: ../fish/guestfish-actions.pod:2296
11702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2296
11703 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3348
11704 #: ../src/guestfs-actions.pod:3348
11705 msgid "C<app_summary>"
11706 msgstr ""
11707
11708 #. type: textblock
11709 #: ../fish/guestfish-actions.pod:2298
11710 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2298
11711 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3350
11712 #: ../src/guestfs-actions.pod:3350
11713 msgid ""
11714 "A short (usually one line) description of the application or package.  If "
11715 "unavailable this is returned as an empty string C<\"\">."
11716 msgstr ""
11717
11718 #. type: =item
11719 #: ../fish/guestfish-actions.pod:2301
11720 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2301
11721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3353
11722 #: ../src/guestfs-actions.pod:3353
11723 msgid "C<app_description>"
11724 msgstr ""
11725
11726 #. type: textblock
11727 #: ../fish/guestfish-actions.pod:2303
11728 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2303
11729 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3355
11730 #: ../src/guestfs-actions.pod:3355
11731 msgid ""
11732 "A longer description of the application or package.  If unavailable this is "
11733 "returned as an empty string C<\"\">."
11734 msgstr ""
11735
11736 #. type: =head2
11737 #: ../fish/guestfish-actions.pod:2310
11738 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2310
11739 msgid "inspect-os"
11740 msgstr ""
11741
11742 #. type: verbatim
11743 #: ../fish/guestfish-actions.pod:2312
11744 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2312
11745 #, no-wrap
11746 msgid ""
11747 " inspect-os\n"
11748 "\n"
11749 msgstr ""
11750
11751 #. type: textblock
11752 #: ../fish/guestfish-actions.pod:2314
11753 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2314
11754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3373
11755 #: ../src/guestfs-actions.pod:3373
11756 msgid ""
11757 "This function uses other libguestfs functions and certain heuristics to "
11758 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
11759 "for operating systems."
11760 msgstr ""
11761
11762 #. type: textblock
11763 #: ../fish/guestfish-actions.pod:2318
11764 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2318
11765 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3377
11766 #: ../src/guestfs-actions.pod:3377
11767 msgid "The list returned is empty if no operating systems were found."
11768 msgstr ""
11769
11770 #. type: textblock
11771 #: ../fish/guestfish-actions.pod:2320
11772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2320
11773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3379
11774 #: ../src/guestfs-actions.pod:3379
11775 msgid ""
11776 "If one operating system was found, then this returns a list with a single "
11777 "element, which is the name of the root filesystem of this operating system.  "
11778 "It is also possible for this function to return a list containing more than "
11779 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
11780 "element being the root filesystem of one of the operating systems."
11781 msgstr ""
11782
11783 #. type: textblock
11784 #: ../fish/guestfish-actions.pod:2327
11785 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2327
11786 msgid ""
11787 "You can pass the root string(s) returned to other L</inspect-get-*> "
11788 "functions in order to query further information about each operating system, "
11789 "such as the name and version."
11790 msgstr ""
11791
11792 #. type: textblock
11793 #: ../fish/guestfish-actions.pod:2332
11794 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2332
11795 msgid ""
11796 "This function uses other libguestfs features such as L</mount-ro> and L</"
11797 "umount-all> in order to mount and unmount filesystems and look at the "
11798 "contents.  This should be called with no disks currently mounted.  The "
11799 "function may also use Augeas, so any existing Augeas handle will be closed."
11800 msgstr ""
11801
11802 #. type: textblock
11803 #: ../fish/guestfish-actions.pod:2338
11804 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2338
11805 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3397
11806 #: ../src/guestfs-actions.pod:3397
11807 msgid ""
11808 "This function cannot decrypt encrypted disks.  The caller must do that first "
11809 "(supplying the necessary keys) if the disk is encrypted."
11810 msgstr ""
11811
11812 #. type: textblock
11813 #: ../fish/guestfish-actions.pod:2344 ../fish/guestfish-actions.pod:2542
11814 #: ../fish/guestfish-actions.pod:2601
11815 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2344
11816 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2542
11817 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2601
11818 msgid "See also L</list-filesystems>."
11819 msgstr ""
11820
11821 #. type: =head2
11822 #: ../fish/guestfish-actions.pod:2346
11823 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2346
11824 msgid "is-blockdev"
11825 msgstr ""
11826
11827 #. type: verbatim
11828 #: ../fish/guestfish-actions.pod:2348
11829 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2348
11830 #, no-wrap
11831 msgid ""
11832 " is-blockdev path\n"
11833 "\n"
11834 msgstr ""
11835
11836 #. type: textblock
11837 #: ../fish/guestfish-actions.pod:2350
11838 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2350
11839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3417
11840 #: ../src/guestfs-actions.pod:3417
11841 msgid ""
11842 "This returns C<true> if and only if there is a block device with the given "
11843 "C<path> name."
11844 msgstr ""
11845
11846 #. type: textblock
11847 #: ../fish/guestfish-actions.pod:2353 ../fish/guestfish-actions.pod:2371
11848 #: ../fish/guestfish-actions.pod:2390 ../fish/guestfish-actions.pod:2399
11849 #: ../fish/guestfish-actions.pod:2409 ../fish/guestfish-actions.pod:2443
11850 #: ../fish/guestfish-actions.pod:2452
11851 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2353
11852 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2371
11853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2390
11854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2399
11855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2409
11856 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2443
11857 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2452
11858 msgid "See also L</stat>."
11859 msgstr ""
11860
11861 #. type: =head2
11862 #: ../fish/guestfish-actions.pod:2355
11863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2355
11864 msgid "is-busy"
11865 msgstr ""
11866
11867 #. type: verbatim
11868 #: ../fish/guestfish-actions.pod:2357
11869 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2357
11870 #, no-wrap
11871 msgid ""
11872 " is-busy\n"
11873 "\n"
11874 msgstr ""
11875
11876 #. type: textblock
11877 #: ../fish/guestfish-actions.pod:2359
11878 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2359
11879 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3431
11880 #: ../src/guestfs-actions.pod:3431
11881 msgid ""
11882 "This returns true iff this handle is busy processing a command (in the "
11883 "C<BUSY> state)."
11884 msgstr ""
11885
11886 #. type: =head2
11887 #: ../fish/guestfish-actions.pod:2364
11888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2364
11889 msgid "is-chardev"
11890 msgstr ""
11891
11892 #. type: verbatim
11893 #: ../fish/guestfish-actions.pod:2366
11894 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2366
11895 #, no-wrap
11896 msgid ""
11897 " is-chardev path\n"
11898 "\n"
11899 msgstr ""
11900
11901 #. type: textblock
11902 #: ../fish/guestfish-actions.pod:2368
11903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2368
11904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3446
11905 #: ../src/guestfs-actions.pod:3446
11906 msgid ""
11907 "This returns C<true> if and only if there is a character device with the "
11908 "given C<path> name."
11909 msgstr ""
11910
11911 #. type: =head2
11912 #: ../fish/guestfish-actions.pod:2373
11913 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2373
11914 msgid "is-config"
11915 msgstr ""
11916
11917 #. type: verbatim
11918 #: ../fish/guestfish-actions.pod:2375
11919 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2375
11920 #, no-wrap
11921 msgid ""
11922 " is-config\n"
11923 "\n"
11924 msgstr ""
11925
11926 #. type: textblock
11927 #: ../fish/guestfish-actions.pod:2377
11928 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2377
11929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3460
11930 #: ../src/guestfs-actions.pod:3460
11931 msgid ""
11932 "This returns true iff this handle is being configured (in the C<CONFIG> "
11933 "state)."
11934 msgstr ""
11935
11936 #. type: =head2
11937 #: ../fish/guestfish-actions.pod:2382
11938 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2382
11939 msgid "is-dir"
11940 msgstr ""
11941
11942 #. type: verbatim
11943 #: ../fish/guestfish-actions.pod:2384
11944 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2384
11945 #, no-wrap
11946 msgid ""
11947 " is-dir path\n"
11948 "\n"
11949 msgstr ""
11950
11951 #. type: textblock
11952 #: ../fish/guestfish-actions.pod:2386
11953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2386
11954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3475
11955 #: ../src/guestfs-actions.pod:3475
11956 msgid ""
11957 "This returns C<true> if and only if there is a directory with the given "
11958 "C<path> name.  Note that it returns false for other objects like files."
11959 msgstr ""
11960
11961 #. type: =head2
11962 #: ../fish/guestfish-actions.pod:2392
11963 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2392
11964 msgid "is-fifo"
11965 msgstr ""
11966
11967 #. type: verbatim
11968 #: ../fish/guestfish-actions.pod:2394
11969 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2394
11970 #, no-wrap
11971 msgid ""
11972 " is-fifo path\n"
11973 "\n"
11974 msgstr ""
11975
11976 #. type: textblock
11977 #: ../fish/guestfish-actions.pod:2396
11978 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2396
11979 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3491
11980 #: ../src/guestfs-actions.pod:3491
11981 msgid ""
11982 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
11983 "given C<path> name."
11984 msgstr ""
11985
11986 #. type: =head2
11987 #: ../fish/guestfish-actions.pod:2401
11988 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2401
11989 msgid "is-file"
11990 msgstr ""
11991
11992 #. type: verbatim
11993 #: ../fish/guestfish-actions.pod:2403
11994 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2403
11995 #, no-wrap
11996 msgid ""
11997 " is-file path\n"
11998 "\n"
11999 msgstr ""
12000
12001 #. type: textblock
12002 #: ../fish/guestfish-actions.pod:2405
12003 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2405
12004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3506
12005 #: ../src/guestfs-actions.pod:3506
12006 msgid ""
12007 "This returns C<true> if and only if there is a regular file with the given "
12008 "C<path> name.  Note that it returns false for other objects like directories."
12009 msgstr ""
12010
12011 #. type: =head2
12012 #: ../fish/guestfish-actions.pod:2411
12013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2411
12014 msgid "is-launching"
12015 msgstr ""
12016
12017 #. type: verbatim
12018 #: ../fish/guestfish-actions.pod:2413
12019 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2413
12020 #, no-wrap
12021 msgid ""
12022 " is-launching\n"
12023 "\n"
12024 msgstr ""
12025
12026 #. type: textblock
12027 #: ../fish/guestfish-actions.pod:2415
12028 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2415
12029 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3521
12030 #: ../src/guestfs-actions.pod:3521
12031 msgid ""
12032 "This returns true iff this handle is launching the subprocess (in the "
12033 "C<LAUNCHING> state)."
12034 msgstr ""
12035
12036 #. type: =head2
12037 #: ../fish/guestfish-actions.pod:2420
12038 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2420
12039 msgid "is-lv"
12040 msgstr ""
12041
12042 #. type: verbatim
12043 #: ../fish/guestfish-actions.pod:2422
12044 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2422
12045 #, no-wrap
12046 msgid ""
12047 " is-lv device\n"
12048 "\n"
12049 msgstr ""
12050
12051 #. type: textblock
12052 #: ../fish/guestfish-actions.pod:2424
12053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2424
12054 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3536
12055 #: ../src/guestfs-actions.pod:3536
12056 msgid ""
12057 "This command tests whether C<device> is a logical volume, and returns true "
12058 "iff this is the case."
12059 msgstr ""
12060
12061 #. type: =head2
12062 #: ../fish/guestfish-actions.pod:2427
12063 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2427
12064 msgid "is-ready"
12065 msgstr ""
12066
12067 #. type: verbatim
12068 #: ../fish/guestfish-actions.pod:2429
12069 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2429
12070 #, no-wrap
12071 msgid ""
12072 " is-ready\n"
12073 "\n"
12074 msgstr ""
12075
12076 #. type: textblock
12077 #: ../fish/guestfish-actions.pod:2431
12078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2431
12079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3548
12080 #: ../src/guestfs-actions.pod:3548
12081 msgid ""
12082 "This returns true iff this handle is ready to accept commands (in the "
12083 "C<READY> state)."
12084 msgstr ""
12085
12086 #. type: =head2
12087 #: ../fish/guestfish-actions.pod:2436
12088 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2436
12089 msgid "is-socket"
12090 msgstr ""
12091
12092 #. type: verbatim
12093 #: ../fish/guestfish-actions.pod:2438
12094 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2438
12095 #, no-wrap
12096 msgid ""
12097 " is-socket path\n"
12098 "\n"
12099 msgstr ""
12100
12101 #. type: textblock
12102 #: ../fish/guestfish-actions.pod:2440
12103 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2440
12104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3563
12105 #: ../src/guestfs-actions.pod:3563
12106 msgid ""
12107 "This returns C<true> if and only if there is a Unix domain socket with the "
12108 "given C<path> name."
12109 msgstr ""
12110
12111 #. type: =head2
12112 #: ../fish/guestfish-actions.pod:2445
12113 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2445
12114 msgid "is-symlink"
12115 msgstr ""
12116
12117 #. type: verbatim
12118 #: ../fish/guestfish-actions.pod:2447
12119 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2447
12120 #, no-wrap
12121 msgid ""
12122 " is-symlink path\n"
12123 "\n"
12124 msgstr ""
12125
12126 #. type: textblock
12127 #: ../fish/guestfish-actions.pod:2449
12128 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2449
12129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3578
12130 #: ../src/guestfs-actions.pod:3578
12131 msgid ""
12132 "This returns C<true> if and only if there is a symbolic link with the given "
12133 "C<path> name."
12134 msgstr ""
12135
12136 #. type: =head2
12137 #: ../fish/guestfish-actions.pod:2454
12138 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2454
12139 msgid "is-zero"
12140 msgstr ""
12141
12142 #. type: verbatim
12143 #: ../fish/guestfish-actions.pod:2456
12144 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2456
12145 #, no-wrap
12146 msgid ""
12147 " is-zero path\n"
12148 "\n"
12149 msgstr ""
12150
12151 #. type: textblock
12152 #: ../fish/guestfish-actions.pod:2458
12153 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2458
12154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3593
12155 #: ../src/guestfs-actions.pod:3593
12156 msgid ""
12157 "This returns true iff the file exists and the file is empty or it contains "
12158 "all zero bytes."
12159 msgstr ""
12160
12161 #. type: =head2
12162 #: ../fish/guestfish-actions.pod:2461
12163 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2461
12164 msgid "is-zero-device"
12165 msgstr ""
12166
12167 #. type: verbatim
12168 #: ../fish/guestfish-actions.pod:2463
12169 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2463
12170 #, no-wrap
12171 msgid ""
12172 " is-zero-device device\n"
12173 "\n"
12174 msgstr ""
12175
12176 #. type: textblock
12177 #: ../fish/guestfish-actions.pod:2465
12178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2465
12179 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3606
12180 #: ../src/guestfs-actions.pod:3606
12181 msgid "This returns true iff the device exists and contains all zero bytes."
12182 msgstr ""
12183
12184 #. type: textblock
12185 #: ../fish/guestfish-actions.pod:2467
12186 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2467
12187 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3608
12188 #: ../src/guestfs-actions.pod:3608
12189 msgid "Note that for large devices this can take a long time to run."
12190 msgstr ""
12191
12192 #. type: =head2
12193 #: ../fish/guestfish-actions.pod:2469
12194 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2469
12195 msgid "kill-subprocess"
12196 msgstr ""
12197
12198 #. type: verbatim
12199 #: ../fish/guestfish-actions.pod:2471
12200 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2471
12201 #, no-wrap
12202 msgid ""
12203 " kill-subprocess\n"
12204 "\n"
12205 msgstr ""
12206
12207 #. type: textblock
12208 #: ../fish/guestfish-actions.pod:2473
12209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2473
12210 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3619
12211 #: ../src/guestfs-actions.pod:3619
12212 msgid "This kills the qemu subprocess.  You should never need to call this."
12213 msgstr ""
12214
12215 #. type: =head2
12216 #: ../fish/guestfish-actions.pod:2475
12217 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2475
12218 msgid "launch"
12219 msgstr ""
12220
12221 #. type: =head2
12222 #: ../fish/guestfish-actions.pod:2477
12223 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2477
12224 msgid "run"
12225 msgstr ""
12226
12227 #. type: verbatim
12228 #: ../fish/guestfish-actions.pod:2479
12229 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2479
12230 #, no-wrap
12231 msgid ""
12232 " launch\n"
12233 "\n"
12234 msgstr ""
12235
12236 #. type: textblock
12237 #: ../fish/guestfish-actions.pod:2481
12238 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2481
12239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3630
12240 #: ../src/guestfs-actions.pod:3630
12241 msgid ""
12242 "Internally libguestfs is implemented by running a virtual machine using "
12243 "L<qemu(1)>."
12244 msgstr ""
12245
12246 #. type: textblock
12247 #: ../fish/guestfish-actions.pod:2484
12248 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2484
12249 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3633
12250 #: ../src/guestfs-actions.pod:3633
12251 msgid ""
12252 "You should call this after configuring the handle (eg. adding drives) but "
12253 "before performing any actions."
12254 msgstr ""
12255
12256 #. type: =head2
12257 #: ../fish/guestfish-actions.pod:2487
12258 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2487
12259 msgid "lchown"
12260 msgstr ""
12261
12262 #. type: verbatim
12263 #: ../fish/guestfish-actions.pod:2489
12264 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2489
12265 #, no-wrap
12266 msgid ""
12267 " lchown owner group path\n"
12268 "\n"
12269 msgstr ""
12270
12271 #. type: textblock
12272 #: ../fish/guestfish-actions.pod:2491
12273 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2491
12274 msgid ""
12275 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
12276 "chown> but if C<path> is a symlink then the link itself is changed, not the "
12277 "target."
12278 msgstr ""
12279
12280 #. type: =head2
12281 #: ../fish/guestfish-actions.pod:2499
12282 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2499
12283 msgid "lgetxattr"
12284 msgstr ""
12285
12286 #. type: verbatim
12287 #: ../fish/guestfish-actions.pod:2501
12288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2501
12289 #, no-wrap
12290 msgid ""
12291 " lgetxattr path name\n"
12292 "\n"
12293 msgstr ""
12294
12295 #. type: textblock
12296 #: ../fish/guestfish-actions.pod:2503
12297 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2503
12298 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3673
12299 #: ../src/guestfs-actions.pod:3673
12300 msgid ""
12301 "Get a single extended attribute from file C<path> named C<name>.  If C<path> "
12302 "is a symlink, then this call returns an extended attribute from the symlink."
12303 msgstr ""
12304
12305 #. type: textblock
12306 #: ../fish/guestfish-actions.pod:2517
12307 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2517
12308 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12309 msgstr ""
12310
12311 #. type: =head2
12312 #: ../fish/guestfish-actions.pod:2519
12313 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2519
12314 msgid "lgetxattrs"
12315 msgstr ""
12316
12317 #. type: verbatim
12318 #: ../fish/guestfish-actions.pod:2521
12319 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2521
12320 #, no-wrap
12321 msgid ""
12322 " lgetxattrs path\n"
12323 "\n"
12324 msgstr ""
12325
12326 #. type: textblock
12327 #: ../fish/guestfish-actions.pod:2523
12328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2523
12329 msgid ""
12330 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
12331 "it returns the extended attributes of the link itself."
12332 msgstr ""
12333
12334 #. type: =head2
12335 #: ../fish/guestfish-actions.pod:2527
12336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2527
12337 msgid "list-9p"
12338 msgstr ""
12339
12340 #. type: verbatim
12341 #: ../fish/guestfish-actions.pod:2529
12342 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2529
12343 #, no-wrap
12344 msgid ""
12345 " list-9p\n"
12346 "\n"
12347 msgstr ""
12348
12349 #. type: textblock
12350 #: ../fish/guestfish-actions.pod:2531
12351 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2531
12352 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3716
12353 #: ../src/guestfs-actions.pod:3716
12354 msgid ""
12355 "List all 9p filesystems attached to the guest.  A list of mount tags is "
12356 "returned."
12357 msgstr ""
12358
12359 #. type: =head2
12360 #: ../fish/guestfish-actions.pod:2534
12361 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2534
12362 msgid "list-devices"
12363 msgstr ""
12364
12365 #. type: verbatim
12366 #: ../fish/guestfish-actions.pod:2536
12367 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2536
12368 #, no-wrap
12369 msgid ""
12370 " list-devices\n"
12371 "\n"
12372 msgstr ""
12373
12374 #. type: textblock
12375 #: ../fish/guestfish-actions.pod:2538
12376 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2538
12377 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3730
12378 #: ../src/guestfs-actions.pod:3730
12379 msgid "List all the block devices."
12380 msgstr ""
12381
12382 #. type: textblock
12383 #: ../fish/guestfish-actions.pod:2540
12384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2540
12385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3732
12386 #: ../src/guestfs-actions.pod:3732
12387 msgid "The full block device names are returned, eg. C</dev/sda>."
12388 msgstr ""
12389
12390 #. type: =head2
12391 #: ../fish/guestfish-actions.pod:2544
12392 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2544
12393 msgid "list-dm-devices"
12394 msgstr ""
12395
12396 #. type: verbatim
12397 #: ../fish/guestfish-actions.pod:2546
12398 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2546
12399 #, no-wrap
12400 msgid ""
12401 " list-dm-devices\n"
12402 "\n"
12403 msgstr ""
12404
12405 #. type: textblock
12406 #: ../fish/guestfish-actions.pod:2548
12407 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2548
12408 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3747
12409 #: ../src/guestfs-actions.pod:3747
12410 msgid "List all device mapper devices."
12411 msgstr ""
12412
12413 #. type: textblock
12414 #: ../fish/guestfish-actions.pod:2550
12415 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2550
12416 msgid ""
12417 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
12418 "previous call to L</luks-open>."
12419 msgstr ""
12420
12421 #. type: textblock
12422 #: ../fish/guestfish-actions.pod:2553
12423 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2553
12424 msgid ""
12425 "Device mapper devices which correspond to logical volumes are I<not> "
12426 "returned in this list.  Call L</lvs> if you want to list logical volumes."
12427 msgstr ""
12428
12429 #. type: =head2
12430 #: ../fish/guestfish-actions.pod:2557
12431 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2557
12432 msgid "list-filesystems"
12433 msgstr ""
12434
12435 #. type: verbatim
12436 #: ../fish/guestfish-actions.pod:2559
12437 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2559
12438 #, no-wrap
12439 msgid ""
12440 " list-filesystems\n"
12441 "\n"
12442 msgstr ""
12443
12444 #. type: textblock
12445 #: ../fish/guestfish-actions.pod:2561
12446 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2561
12447 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3767
12448 #: ../src/guestfs-actions.pod:3767
12449 msgid ""
12450 "This inspection command looks for filesystems on partitions, block devices "
12451 "and logical volumes, returning a list of devices containing filesystems and "
12452 "their type."
12453 msgstr ""
12454
12455 #. type: textblock
12456 #: ../fish/guestfish-actions.pod:2565
12457 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2565
12458 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3771
12459 #: ../src/guestfs-actions.pod:3771
12460 msgid ""
12461 "The return value is a hash, where the keys are the devices containing "
12462 "filesystems, and the values are the filesystem types.  For example:"
12463 msgstr ""
12464
12465 #. type: verbatim
12466 #: ../fish/guestfish-actions.pod:2569
12467 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2569
12468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3775
12469 #: ../src/guestfs-actions.pod:3775
12470 #, no-wrap
12471 msgid ""
12472 " \"/dev/sda1\" => \"ntfs\"\n"
12473 " \"/dev/sda2\" => \"ext2\"\n"
12474 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
12475 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
12476 "\n"
12477 msgstr ""
12478
12479 #. type: textblock
12480 #: ../fish/guestfish-actions.pod:2574
12481 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2574
12482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3780
12483 #: ../src/guestfs-actions.pod:3780
12484 msgid ""
12485 "The value can have the special value \"unknown\", meaning the content of the "
12486 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
12487 msgstr ""
12488
12489 #. type: textblock
12490 #: ../fish/guestfish-actions.pod:2578
12491 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2578
12492 msgid ""
12493 "This command runs other libguestfs commands, which might include L</mount> "
12494 "and L</umount>, and therefore you should use this soon after launch and only "
12495 "when nothing is mounted."
12496 msgstr ""
12497
12498 #. type: textblock
12499 #: ../fish/guestfish-actions.pod:2582
12500 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2582
12501 msgid ""
12502 "Not all of the filesystems returned will be mountable.  In particular, swap "
12503 "partitions are returned in the list.  Also this command does not check that "
12504 "each filesystem found is valid and mountable, and some filesystems might be "
12505 "mountable but require special options.  Filesystems may not all belong to a "
12506 "single logical operating system (use L</inspect-os> to look for OSes)."
12507 msgstr ""
12508
12509 #. type: =head2
12510 #: ../fish/guestfish-actions.pod:2590
12511 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2590
12512 msgid "list-partitions"
12513 msgstr ""
12514
12515 #. type: verbatim
12516 #: ../fish/guestfish-actions.pod:2592
12517 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2592
12518 #, no-wrap
12519 msgid ""
12520 " list-partitions\n"
12521 "\n"
12522 msgstr ""
12523
12524 #. type: textblock
12525 #: ../fish/guestfish-actions.pod:2594
12526 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2594
12527 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3809
12528 #: ../src/guestfs-actions.pod:3809
12529 msgid "List all the partitions detected on all block devices."
12530 msgstr ""
12531
12532 #. type: textblock
12533 #: ../fish/guestfish-actions.pod:2596
12534 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2596
12535 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3811
12536 #: ../src/guestfs-actions.pod:3811
12537 msgid "The full partition device names are returned, eg. C</dev/sda1>"
12538 msgstr ""
12539
12540 #. type: textblock
12541 #: ../fish/guestfish-actions.pod:2598
12542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2598
12543 msgid ""
12544 "This does not return logical volumes.  For that you will need to call L</"
12545 "lvs>."
12546 msgstr ""
12547
12548 #. type: =head2
12549 #: ../fish/guestfish-actions.pod:2603
12550 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2603
12551 msgid "ll"
12552 msgstr ""
12553
12554 #. type: verbatim
12555 #: ../fish/guestfish-actions.pod:2605
12556 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2605
12557 #, no-wrap
12558 msgid ""
12559 " ll directory\n"
12560 "\n"
12561 msgstr ""
12562
12563 #. type: textblock
12564 #: ../fish/guestfish-actions.pod:2607
12565 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2607
12566 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3830
12567 #: ../src/guestfs-actions.pod:3830
12568 msgid ""
12569 "List the files in C<directory> (relative to the root directory, there is no "
12570 "cwd) in the format of 'ls -la'."
12571 msgstr ""
12572
12573 #. type: textblock
12574 #: ../fish/guestfish-actions.pod:2610
12575 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2610
12576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3833
12577 #: ../src/guestfs-actions.pod:3833
12578 msgid ""
12579 "This command is mostly useful for interactive sessions.  It is I<not> "
12580 "intended that you try to parse the output string."
12581 msgstr ""
12582
12583 #. type: =head2
12584 #: ../fish/guestfish-actions.pod:2613
12585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2613
12586 msgid "ln"
12587 msgstr ""
12588
12589 #. type: verbatim
12590 #: ../fish/guestfish-actions.pod:2615
12591 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2615
12592 #, no-wrap
12593 msgid ""
12594 " ln target linkname\n"
12595 "\n"
12596 msgstr ""
12597
12598 #. type: textblock
12599 #: ../fish/guestfish-actions.pod:2617
12600 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2617
12601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3848
12602 #: ../src/guestfs-actions.pod:3848
12603 msgid "This command creates a hard link using the C<ln> command."
12604 msgstr ""
12605
12606 #. type: =head2
12607 #: ../fish/guestfish-actions.pod:2619
12608 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2619
12609 msgid "ln-f"
12610 msgstr ""
12611
12612 #. type: verbatim
12613 #: ../fish/guestfish-actions.pod:2621
12614 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2621
12615 #, no-wrap
12616 msgid ""
12617 " ln-f target linkname\n"
12618 "\n"
12619 msgstr ""
12620
12621 #. type: textblock
12622 #: ../fish/guestfish-actions.pod:2623
12623 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2623
12624 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3861
12625 #: ../src/guestfs-actions.pod:3861
12626 msgid ""
12627 "This command creates a hard link using the C<ln -f> command.  The I<-f> "
12628 "option removes the link (C<linkname>) if it exists already."
12629 msgstr ""
12630
12631 #. type: =head2
12632 #: ../fish/guestfish-actions.pod:2626
12633 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2626
12634 msgid "ln-s"
12635 msgstr ""
12636
12637 #. type: verbatim
12638 #: ../fish/guestfish-actions.pod:2628
12639 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2628
12640 #, no-wrap
12641 msgid ""
12642 " ln-s target linkname\n"
12643 "\n"
12644 msgstr ""
12645
12646 #. type: textblock
12647 #: ../fish/guestfish-actions.pod:2630
12648 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2630
12649 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3875
12650 #: ../src/guestfs-actions.pod:3875
12651 msgid "This command creates a symbolic link using the C<ln -s> command."
12652 msgstr ""
12653
12654 #. type: =head2
12655 #: ../fish/guestfish-actions.pod:2632
12656 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2632
12657 msgid "ln-sf"
12658 msgstr ""
12659
12660 #. type: verbatim
12661 #: ../fish/guestfish-actions.pod:2634
12662 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2634
12663 #, no-wrap
12664 msgid ""
12665 " ln-sf target linkname\n"
12666 "\n"
12667 msgstr ""
12668
12669 #. type: textblock
12670 #: ../fish/guestfish-actions.pod:2636
12671 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2636
12672 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3888
12673 #: ../src/guestfs-actions.pod:3888
12674 msgid ""
12675 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
12676 "option removes the link (C<linkname>) if it exists already."
12677 msgstr ""
12678
12679 #. type: =head2
12680 #: ../fish/guestfish-actions.pod:2639
12681 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2639
12682 msgid "lremovexattr"
12683 msgstr ""
12684
12685 #. type: verbatim
12686 #: ../fish/guestfish-actions.pod:2641
12687 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2641
12688 #, no-wrap
12689 msgid ""
12690 " lremovexattr xattr path\n"
12691 "\n"
12692 msgstr ""
12693
12694 #. type: textblock
12695 #: ../fish/guestfish-actions.pod:2643
12696 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2643
12697 msgid ""
12698 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
12699 "it removes an extended attribute of the link itself."
12700 msgstr ""
12701
12702 #. type: =head2
12703 #: ../fish/guestfish-actions.pod:2647
12704 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2647
12705 msgid "ls"
12706 msgstr ""
12707
12708 #. type: verbatim
12709 #: ../fish/guestfish-actions.pod:2649
12710 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2649
12711 #, no-wrap
12712 msgid ""
12713 " ls directory\n"
12714 "\n"
12715 msgstr ""
12716
12717 #. type: textblock
12718 #: ../fish/guestfish-actions.pod:2651
12719 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2651
12720 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3916
12721 #: ../src/guestfs-actions.pod:3916
12722 msgid ""
12723 "List the files in C<directory> (relative to the root directory, there is no "
12724 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
12725 msgstr ""
12726
12727 #. type: textblock
12728 #: ../fish/guestfish-actions.pod:2655
12729 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2655
12730 msgid ""
12731 "This command is mostly useful for interactive sessions.  Programs should "
12732 "probably use L</readdir> instead."
12733 msgstr ""
12734
12735 #. type: =head2
12736 #: ../fish/guestfish-actions.pod:2658
12737 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2658
12738 msgid "lsetxattr"
12739 msgstr ""
12740
12741 #. type: verbatim
12742 #: ../fish/guestfish-actions.pod:2660
12743 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2660
12744 #, no-wrap
12745 msgid ""
12746 " lsetxattr xattr val vallen path\n"
12747 "\n"
12748 msgstr ""
12749
12750 #. type: textblock
12751 #: ../fish/guestfish-actions.pod:2662
12752 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2662
12753 msgid ""
12754 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
12755 "sets an extended attribute of the link itself."
12756 msgstr ""
12757
12758 #. type: =head2
12759 #: ../fish/guestfish-actions.pod:2666
12760 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2666
12761 msgid "lstat"
12762 msgstr ""
12763
12764 #. type: verbatim
12765 #: ../fish/guestfish-actions.pod:2668
12766 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2668
12767 #, no-wrap
12768 msgid ""
12769 " lstat path\n"
12770 "\n"
12771 msgstr ""
12772
12773 #. type: textblock
12774 #: ../fish/guestfish-actions.pod:2670 ../fish/guestfish-actions.pod:4478
12775 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2670
12776 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4478
12777 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3952
12778 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6731
12779 #: ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:6731
12780 msgid "Returns file information for the given C<path>."
12781 msgstr ""
12782
12783 #. type: textblock
12784 #: ../fish/guestfish-actions.pod:2672
12785 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2672
12786 msgid ""
12787 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
12788 "the link is stat-ed, not the file it refers to."
12789 msgstr ""
12790
12791 #. type: textblock
12792 #: ../fish/guestfish-actions.pod:2676
12793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2676
12794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3958
12795 #: ../src/guestfs-actions.pod:3958
12796 msgid "This is the same as the C<lstat(2)> system call."
12797 msgstr ""
12798
12799 #. type: =head2
12800 #: ../fish/guestfish-actions.pod:2678
12801 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2678
12802 msgid "lstatlist"
12803 msgstr ""
12804
12805 #. type: verbatim
12806 #: ../fish/guestfish-actions.pod:2680
12807 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2680
12808 #, no-wrap
12809 msgid ""
12810 " lstatlist path 'names ...'\n"
12811 "\n"
12812 msgstr ""
12813
12814 #. type: textblock
12815 #: ../fish/guestfish-actions.pod:2682
12816 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2682
12817 msgid ""
12818 "This call allows you to perform the L</lstat> operation on multiple files, "
12819 "where all files are in the directory C<path>.  C<names> is the list of files "
12820 "from this directory."
12821 msgstr ""
12822
12823 #. type: textblock
12824 #: ../fish/guestfish-actions.pod:2686
12825 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2686
12826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3977
12827 #: ../src/guestfs-actions.pod:3977
12828 msgid ""
12829 "On return you get a list of stat structs, with a one-to-one correspondence "
12830 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
12831 "then the C<ino> field of that structure is set to C<-1>."
12832 msgstr ""
12833
12834 #. type: textblock
12835 #: ../fish/guestfish-actions.pod:2691
12836 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2691
12837 msgid ""
12838 "This call is intended for programs that want to efficiently list a directory "
12839 "contents without making many round-trips.  See also L</lxattrlist> for a "
12840 "similarly efficient call for getting extended attributes.  Very long "
12841 "directory listings might cause the protocol message size to be exceeded, "
12842 "causing this call to fail.  The caller must split up such requests into "
12843 "smaller groups of names."
12844 msgstr ""
12845
12846 #. type: =head2
12847 #: ../fish/guestfish-actions.pod:2699
12848 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2699
12849 msgid "luks-add-key"
12850 msgstr ""
12851
12852 #. type: verbatim
12853 #: ../fish/guestfish-actions.pod:2701
12854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2701
12855 #, no-wrap
12856 msgid ""
12857 " luks-add-key device keyslot\n"
12858 "\n"
12859 msgstr ""
12860
12861 #. type: textblock
12862 #: ../fish/guestfish-actions.pod:2703
12863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2703
12864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4005
12865 #: ../src/guestfs-actions.pod:4005
12866 msgid ""
12867 "This command adds a new key on LUKS device C<device>.  C<key> is any "
12868 "existing key, and is used to access the device.  C<newkey> is the new key to "
12869 "add.  C<keyslot> is the key slot that will be replaced."
12870 msgstr ""
12871
12872 #. type: textblock
12873 #: ../fish/guestfish-actions.pod:2708
12874 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2708
12875 msgid ""
12876 "Note that if C<keyslot> already contains a key, then this command will "
12877 "fail.  You have to use L</luks-kill-slot> first to remove that key."
12878 msgstr ""
12879
12880 #. type: textblock
12881 #: ../fish/guestfish-actions.pod:2712 ../fish/guestfish-actions.pod:2734
12882 #: ../fish/guestfish-actions.pod:2747 ../fish/guestfish-actions.pod:2761
12883 #: ../fish/guestfish-actions.pod:2787 ../fish/guestfish-actions.pod:2797
12884 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2712
12885 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2734
12886 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2747
12887 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2761
12888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2787
12889 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2797
12890 msgid ""
12891 "This command has one or more key or passphrase parameters.  Guestfish will "
12892 "prompt for these separately."
12893 msgstr ""
12894
12895 #. type: =head2
12896 #: ../fish/guestfish-actions.pod:2715
12897 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2715
12898 msgid "luks-close"
12899 msgstr ""
12900
12901 #. type: verbatim
12902 #: ../fish/guestfish-actions.pod:2717
12903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2717
12904 #, no-wrap
12905 msgid ""
12906 " luks-close device\n"
12907 "\n"
12908 msgstr ""
12909
12910 #. type: textblock
12911 #: ../fish/guestfish-actions.pod:2719
12912 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2719
12913 msgid ""
12914 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
12915 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
12916 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
12917 "block device."
12918 msgstr ""
12919
12920 #. type: =head2
12921 #: ../fish/guestfish-actions.pod:2725
12922 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2725
12923 msgid "luks-format"
12924 msgstr ""
12925
12926 #. type: verbatim
12927 #: ../fish/guestfish-actions.pod:2727
12928 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2727
12929 #, no-wrap
12930 msgid ""
12931 " luks-format device keyslot\n"
12932 "\n"
12933 msgstr ""
12934
12935 #. type: textblock
12936 #: ../fish/guestfish-actions.pod:2729
12937 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2729
12938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4046
12939 #: ../src/guestfs-actions.pod:4046
12940 msgid ""
12941 "This command erases existing data on C<device> and formats the device as a "
12942 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
12943 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
12944 msgstr ""
12945
12946 #. type: textblock
12947 #: ../fish/guestfish-actions.pod:2737 ../fish/guestfish-actions.pod:2750
12948 #: ../fish/guestfish-actions.pod:2837 ../fish/guestfish-actions.pod:3498
12949 #: ../fish/guestfish-actions.pod:4024 ../fish/guestfish-actions.pod:4349
12950 #: ../fish/guestfish-actions.pod:4372 ../fish/guestfish-actions.pod:4394
12951 #: ../fish/guestfish-actions.pod:5132
12952 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2737
12953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2750
12954 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2837
12955 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3498
12956 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4024
12957 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4349
12958 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4372
12959 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4394
12960 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5132
12961 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4053
12962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4076
12963 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4219
12964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5322
12965 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6110
12966 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6538
12967 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6568
12968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6601
12969 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7799
12970 #: ../src/guestfs-actions.pod:4053 ../src/guestfs-actions.pod:4076
12971 #: ../src/guestfs-actions.pod:4219 ../src/guestfs-actions.pod:5322
12972 #: ../src/guestfs-actions.pod:6110 ../src/guestfs-actions.pod:6538
12973 #: ../src/guestfs-actions.pod:6568 ../src/guestfs-actions.pod:6601
12974 #: ../src/guestfs-actions.pod:7799
12975 msgid ""
12976 "B<This command is dangerous.  Without careful use you can easily destroy all "
12977 "your data>."
12978 msgstr ""
12979
12980 #. type: =head2
12981 #: ../fish/guestfish-actions.pod:2740
12982 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2740
12983 msgid "luks-format-cipher"
12984 msgstr ""
12985
12986 #. type: verbatim
12987 #: ../fish/guestfish-actions.pod:2742
12988 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2742
12989 #, no-wrap
12990 msgid ""
12991 " luks-format-cipher device keyslot cipher\n"
12992 "\n"
12993 msgstr ""
12994
12995 #. type: textblock
12996 #: ../fish/guestfish-actions.pod:2744
12997 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2744
12998 msgid ""
12999 "This command is the same as L</luks-format> but it also allows you to set "
13000 "the C<cipher> used."
13001 msgstr ""
13002
13003 #. type: =head2
13004 #: ../fish/guestfish-actions.pod:2753
13005 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2753
13006 msgid "luks-kill-slot"
13007 msgstr ""
13008
13009 #. type: verbatim
13010 #: ../fish/guestfish-actions.pod:2755
13011 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2755
13012 #, no-wrap
13013 msgid ""
13014 " luks-kill-slot device keyslot\n"
13015 "\n"
13016 msgstr ""
13017
13018 #. type: textblock
13019 #: ../fish/guestfish-actions.pod:2757
13020 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2757
13021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4093
13022 #: ../src/guestfs-actions.pod:4093
13023 msgid ""
13024 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
13025 "device C<device>.  C<key> must be one of the I<other> keys."
13026 msgstr ""
13027
13028 #. type: =head2
13029 #: ../fish/guestfish-actions.pod:2764
13030 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2764
13031 msgid "luks-open"
13032 msgstr ""
13033
13034 #. type: verbatim
13035 #: ../fish/guestfish-actions.pod:2766
13036 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2766
13037 #, no-wrap
13038 msgid ""
13039 " luks-open device mapname\n"
13040 "\n"
13041 msgstr ""
13042
13043 #. type: textblock
13044 #: ../fish/guestfish-actions.pod:2768
13045 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2768
13046 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4113
13047 #: ../src/guestfs-actions.pod:4113
13048 msgid ""
13049 "This command opens a block device which has been encrypted according to the "
13050 "Linux Unified Key Setup (LUKS) standard."
13051 msgstr ""
13052
13053 #. type: textblock
13054 #: ../fish/guestfish-actions.pod:2771
13055 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2771
13056 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4116
13057 #: ../src/guestfs-actions.pod:4116
13058 msgid "C<device> is the encrypted block device or partition."
13059 msgstr ""
13060
13061 #. type: textblock
13062 #: ../fish/guestfish-actions.pod:2773
13063 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2773
13064 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4118
13065 #: ../src/guestfs-actions.pod:4118
13066 msgid ""
13067 "The caller must supply one of the keys associated with the LUKS block "
13068 "device, in the C<key> parameter."
13069 msgstr ""
13070
13071 #. type: textblock
13072 #: ../fish/guestfish-actions.pod:2776
13073 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2776
13074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4121
13075 #: ../src/guestfs-actions.pod:4121
13076 msgid ""
13077 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
13078 "writes to this block device are decrypted from and encrypted to the "
13079 "underlying C<device> respectively."
13080 msgstr ""
13081
13082 #. type: textblock
13083 #: ../fish/guestfish-actions.pod:2780
13084 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2780
13085 msgid ""
13086 "If this block device contains LVM volume groups, then calling L</vgscan> "
13087 "followed by L</vg-activate-all> will make them visible."
13088 msgstr ""
13089
13090 #. type: textblock
13091 #: ../fish/guestfish-actions.pod:2784
13092 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2784
13093 msgid "Use L</list-dm-devices> to list all device mapper devices."
13094 msgstr ""
13095
13096 #. type: =head2
13097 #: ../fish/guestfish-actions.pod:2790
13098 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2790
13099 msgid "luks-open-ro"
13100 msgstr ""
13101
13102 #. type: verbatim
13103 #: ../fish/guestfish-actions.pod:2792
13104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2792
13105 #, no-wrap
13106 msgid ""
13107 " luks-open-ro device mapname\n"
13108 "\n"
13109 msgstr ""
13110
13111 #. type: textblock
13112 #: ../fish/guestfish-actions.pod:2794
13113 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2794
13114 msgid ""
13115 "This is the same as L</luks-open> except that a read-only mapping is created."
13116 msgstr ""
13117
13118 #. type: =head2
13119 #: ../fish/guestfish-actions.pod:2800
13120 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2800
13121 msgid "lvcreate"
13122 msgstr ""
13123
13124 #. type: verbatim
13125 #: ../fish/guestfish-actions.pod:2802
13126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2802
13127 #, no-wrap
13128 msgid ""
13129 " lvcreate logvol volgroup mbytes\n"
13130 "\n"
13131 msgstr ""
13132
13133 #. type: textblock
13134 #: ../fish/guestfish-actions.pod:2804
13135 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2804
13136 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4167
13137 #: ../src/guestfs-actions.pod:4167
13138 msgid ""
13139 "This creates an LVM logical volume called C<logvol> on the volume group "
13140 "C<volgroup>, with C<size> megabytes."
13141 msgstr ""
13142
13143 #. type: =head2
13144 #: ../fish/guestfish-actions.pod:2807
13145 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2807
13146 msgid "lvm-canonical-lv-name"
13147 msgstr ""
13148
13149 #. type: verbatim
13150 #: ../fish/guestfish-actions.pod:2809
13151 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2809
13152 #, no-wrap
13153 msgid ""
13154 " lvm-canonical-lv-name lvname\n"
13155 "\n"
13156 msgstr ""
13157
13158 #. type: textblock
13159 #: ../fish/guestfish-actions.pod:2811
13160 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2811
13161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4180
13162 #: ../src/guestfs-actions.pod:4180
13163 msgid ""
13164 "This converts alternative naming schemes for LVs that you might find to the "
13165 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to C</dev/VG/"
13166 "LV>."
13167 msgstr ""
13168
13169 #. type: textblock
13170 #: ../fish/guestfish-actions.pod:2815
13171 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2815
13172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4184
13173 #: ../src/guestfs-actions.pod:4184
13174 msgid ""
13175 "This command returns an error if the C<lvname> parameter does not refer to a "
13176 "logical volume."
13177 msgstr ""
13178
13179 #. type: textblock
13180 #: ../fish/guestfish-actions.pod:2818
13181 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2818
13182 msgid "See also L</is-lv>."
13183 msgstr ""
13184
13185 #. type: =head2
13186 #: ../fish/guestfish-actions.pod:2820
13187 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2820
13188 msgid "lvm-clear-filter"
13189 msgstr ""
13190
13191 #. type: verbatim
13192 #: ../fish/guestfish-actions.pod:2822
13193 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2822
13194 #, no-wrap
13195 msgid ""
13196 " lvm-clear-filter\n"
13197 "\n"
13198 msgstr ""
13199
13200 #. type: textblock
13201 #: ../fish/guestfish-actions.pod:2824
13202 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2824
13203 msgid ""
13204 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
13205 "block device."
13206 msgstr ""
13207
13208 #. type: textblock
13209 #: ../fish/guestfish-actions.pod:2827 ../fish/guestfish-actions.pod:2858
13210 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2827
13211 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2858
13212 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4202
13213 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4244
13214 #: ../src/guestfs-actions.pod:4202 ../src/guestfs-actions.pod:4244
13215 msgid ""
13216 "This command also clears the LVM cache and performs a volume group scan."
13217 msgstr ""
13218
13219 #. type: =head2
13220 #: ../fish/guestfish-actions.pod:2830
13221 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2830
13222 msgid "lvm-remove-all"
13223 msgstr ""
13224
13225 #. type: verbatim
13226 #: ../fish/guestfish-actions.pod:2832
13227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2832
13228 #, no-wrap
13229 msgid ""
13230 " lvm-remove-all\n"
13231 "\n"
13232 msgstr ""
13233
13234 #. type: textblock
13235 #: ../fish/guestfish-actions.pod:2834
13236 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2834
13237 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4214
13238 #: ../src/guestfs-actions.pod:4214
13239 msgid ""
13240 "This command removes all LVM logical volumes, volume groups and physical "
13241 "volumes."
13242 msgstr ""
13243
13244 #. type: =head2
13245 #: ../fish/guestfish-actions.pod:2840
13246 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2840
13247 msgid "lvm-set-filter"
13248 msgstr ""
13249
13250 #. type: verbatim
13251 #: ../fish/guestfish-actions.pod:2842
13252 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2842
13253 #, no-wrap
13254 msgid ""
13255 " lvm-set-filter 'devices ...'\n"
13256 "\n"
13257 msgstr ""
13258
13259 #. type: textblock
13260 #: ../fish/guestfish-actions.pod:2844
13261 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2844
13262 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4230
13263 #: ../src/guestfs-actions.pod:4230
13264 msgid ""
13265 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
13266 "block devices in the list C<devices>, and will ignore all other attached "
13267 "block devices."
13268 msgstr ""
13269
13270 #. type: textblock
13271 #: ../fish/guestfish-actions.pod:2848
13272 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2848
13273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4234
13274 #: ../src/guestfs-actions.pod:4234
13275 msgid ""
13276 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
13277 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
13278 "there are two types of duplication possible: either cloned PVs/VGs which "
13279 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
13280 "same name.  In normal operation you cannot create this situation, but you "
13281 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
13282 "inside the LVM metadata."
13283 msgstr ""
13284
13285 #. type: textblock
13286 #: ../fish/guestfish-actions.pod:2861
13287 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2861
13288 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4247
13289 #: ../src/guestfs-actions.pod:4247
13290 msgid "You can filter whole block devices or individual partitions."
13291 msgstr ""
13292
13293 #. type: textblock
13294 #: ../fish/guestfish-actions.pod:2863
13295 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2863
13296 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4249
13297 #: ../src/guestfs-actions.pod:4249
13298 msgid ""
13299 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
13300 "filesystem), even if you are not filtering out that VG."
13301 msgstr ""
13302
13303 #. type: =head2
13304 #: ../fish/guestfish-actions.pod:2867
13305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2867
13306 msgid "lvremove"
13307 msgstr ""
13308
13309 #. type: verbatim
13310 #: ../fish/guestfish-actions.pod:2869
13311 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2869
13312 #, no-wrap
13313 msgid ""
13314 " lvremove device\n"
13315 "\n"
13316 msgstr ""
13317
13318 #. type: textblock
13319 #: ../fish/guestfish-actions.pod:2871
13320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2871
13321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4263
13322 #: ../src/guestfs-actions.pod:4263
13323 msgid ""
13324 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
13325 "LV, such as C</dev/VG/LV>."
13326 msgstr ""
13327
13328 #. type: textblock
13329 #: ../fish/guestfish-actions.pod:2874
13330 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2874
13331 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4266
13332 #: ../src/guestfs-actions.pod:4266
13333 msgid ""
13334 "You can also remove all LVs in a volume group by specifying the VG name, C</"
13335 "dev/VG>."
13336 msgstr ""
13337
13338 #. type: =head2
13339 #: ../fish/guestfish-actions.pod:2877
13340 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2877
13341 msgid "lvrename"
13342 msgstr ""
13343
13344 #. type: verbatim
13345 #: ../fish/guestfish-actions.pod:2879
13346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2879
13347 #, no-wrap
13348 msgid ""
13349 " lvrename logvol newlogvol\n"
13350 "\n"
13351 msgstr ""
13352
13353 #. type: textblock
13354 #: ../fish/guestfish-actions.pod:2881
13355 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2881
13356 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4280
13357 #: ../src/guestfs-actions.pod:4280
13358 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
13359 msgstr ""
13360
13361 #. type: =head2
13362 #: ../fish/guestfish-actions.pod:2883
13363 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2883
13364 msgid "lvresize"
13365 msgstr ""
13366
13367 #. type: verbatim
13368 #: ../fish/guestfish-actions.pod:2885
13369 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2885
13370 #, no-wrap
13371 msgid ""
13372 " lvresize device mbytes\n"
13373 "\n"
13374 msgstr ""
13375
13376 #. type: textblock
13377 #: ../fish/guestfish-actions.pod:2887
13378 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2887
13379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4293
13380 #: ../src/guestfs-actions.pod:4293
13381 msgid ""
13382 "This resizes (expands or shrinks) an existing LVM logical volume to "
13383 "C<mbytes>.  When reducing, data in the reduced part is lost."
13384 msgstr ""
13385
13386 #. type: =head2
13387 #: ../fish/guestfish-actions.pod:2891
13388 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2891
13389 msgid "lvresize-free"
13390 msgstr ""
13391
13392 #. type: verbatim
13393 #: ../fish/guestfish-actions.pod:2893
13394 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2893
13395 #, no-wrap
13396 msgid ""
13397 " lvresize-free lv percent\n"
13398 "\n"
13399 msgstr ""
13400
13401 #. type: textblock
13402 #: ../fish/guestfish-actions.pod:2895
13403 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2895
13404 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4308
13405 #: ../src/guestfs-actions.pod:4308
13406 msgid ""
13407 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
13408 "remaining free space in the volume group.  Commonly you would call this with "
13409 "pc = 100 which expands the logical volume as much as possible, using all "
13410 "remaining free space in the volume group."
13411 msgstr ""
13412
13413 #. type: =head2
13414 #: ../fish/guestfish-actions.pod:2901
13415 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2901
13416 msgid "lvs"
13417 msgstr ""
13418
13419 #. type: verbatim
13420 #: ../fish/guestfish-actions.pod:2903
13421 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2903
13422 #, no-wrap
13423 msgid ""
13424 " lvs\n"
13425 "\n"
13426 msgstr ""
13427
13428 #. type: textblock
13429 #: ../fish/guestfish-actions.pod:2905
13430 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2905
13431 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4323
13432 #: ../src/guestfs-actions.pod:4323
13433 msgid ""
13434 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
13435 "(8)> command."
13436 msgstr ""
13437
13438 #. type: textblock
13439 #: ../fish/guestfish-actions.pod:2908
13440 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2908
13441 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4326
13442 #: ../src/guestfs-actions.pod:4326
13443 msgid ""
13444 "This returns a list of the logical volume device names (eg. C</dev/"
13445 "VolGroup00/LogVol00>)."
13446 msgstr ""
13447
13448 #. type: textblock
13449 #: ../fish/guestfish-actions.pod:2911
13450 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2911
13451 msgid "See also L</lvs-full>, L</list-filesystems>."
13452 msgstr ""
13453
13454 #. type: =head2
13455 #: ../fish/guestfish-actions.pod:2913
13456 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2913
13457 msgid "lvs-full"
13458 msgstr ""
13459
13460 #. type: verbatim
13461 #: ../fish/guestfish-actions.pod:2915
13462 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2915
13463 #, no-wrap
13464 msgid ""
13465 " lvs-full\n"
13466 "\n"
13467 msgstr ""
13468
13469 #. type: textblock
13470 #: ../fish/guestfish-actions.pod:2917
13471 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2917
13472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4342
13473 #: ../src/guestfs-actions.pod:4342
13474 msgid ""
13475 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
13476 "(8)> command.  The \"full\" version includes all fields."
13477 msgstr ""
13478
13479 #. type: =head2
13480 #: ../fish/guestfish-actions.pod:2920
13481 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2920
13482 msgid "lvuuid"
13483 msgstr ""
13484
13485 #. type: verbatim
13486 #: ../fish/guestfish-actions.pod:2922
13487 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2922
13488 #, no-wrap
13489 msgid ""
13490 " lvuuid device\n"
13491 "\n"
13492 msgstr ""
13493
13494 #. type: textblock
13495 #: ../fish/guestfish-actions.pod:2924
13496 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2924
13497 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4357
13498 #: ../src/guestfs-actions.pod:4357
13499 msgid "This command returns the UUID of the LVM LV C<device>."
13500 msgstr ""
13501
13502 #. type: =head2
13503 #: ../fish/guestfish-actions.pod:2926
13504 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2926
13505 msgid "lxattrlist"
13506 msgstr ""
13507
13508 #. type: verbatim
13509 #: ../fish/guestfish-actions.pod:2928
13510 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2928
13511 #, no-wrap
13512 msgid ""
13513 " lxattrlist path 'names ...'\n"
13514 "\n"
13515 msgstr ""
13516
13517 #. type: textblock
13518 #: ../fish/guestfish-actions.pod:2930
13519 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2930
13520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4371
13521 #: ../src/guestfs-actions.pod:4371
13522 msgid ""
13523 "This call allows you to get the extended attributes of multiple files, where "
13524 "all files are in the directory C<path>.  C<names> is the list of files from "
13525 "this directory."
13526 msgstr ""
13527
13528 #. type: textblock
13529 #: ../fish/guestfish-actions.pod:2934
13530 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2934
13531 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4375
13532 #: ../src/guestfs-actions.pod:4375
13533 msgid ""
13534 "On return you get a flat list of xattr structs which must be interpreted "
13535 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
13536 "C<attrval> in this struct is zero-length to indicate there was an error "
13537 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
13538 "number (the number of following attributes for this file, which could be C<"
13539 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
13540 "for the first named file.  This repeats for the second and subsequent files."
13541 msgstr ""
13542
13543 #. type: textblock
13544 #: ../fish/guestfish-actions.pod:2944
13545 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2944
13546 msgid ""
13547 "This call is intended for programs that want to efficiently list a directory "
13548 "contents without making many round-trips.  See also L</lstatlist> for a "
13549 "similarly efficient call for getting standard stats.  Very long directory "
13550 "listings might cause the protocol message size to be exceeded, causing this "
13551 "call to fail.  The caller must split up such requests into smaller groups of "
13552 "names."
13553 msgstr ""
13554
13555 #. type: =head2
13556 #: ../fish/guestfish-actions.pod:2952
13557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2952
13558 msgid "mkdir"
13559 msgstr ""
13560
13561 #. type: verbatim
13562 #: ../fish/guestfish-actions.pod:2954
13563 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2954
13564 #, no-wrap
13565 msgid ""
13566 " mkdir path\n"
13567 "\n"
13568 msgstr ""
13569
13570 #. type: textblock
13571 #: ../fish/guestfish-actions.pod:2956
13572 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2956
13573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4405
13574 #: ../src/guestfs-actions.pod:4405
13575 msgid "Create a directory named C<path>."
13576 msgstr ""
13577
13578 #. type: =head2
13579 #: ../fish/guestfish-actions.pod:2958
13580 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2958
13581 msgid "mkdir-mode"
13582 msgstr ""
13583
13584 #. type: verbatim
13585 #: ../fish/guestfish-actions.pod:2960
13586 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2960
13587 #, no-wrap
13588 msgid ""
13589 " mkdir-mode path mode\n"
13590 "\n"
13591 msgstr ""
13592
13593 #. type: textblock
13594 #: ../fish/guestfish-actions.pod:2962
13595 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2962
13596 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4418
13597 #: ../src/guestfs-actions.pod:4418
13598 msgid ""
13599 "This command creates a directory, setting the initial permissions of the "
13600 "directory to C<mode>."
13601 msgstr ""
13602
13603 #. type: textblock
13604 #: ../fish/guestfish-actions.pod:2965
13605 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2965
13606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4421
13607 #: ../src/guestfs-actions.pod:4421
13608 msgid ""
13609 "For common Linux filesystems, the actual mode which is set will be C<mode & "
13610 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
13611 "other ways."
13612 msgstr ""
13613
13614 #. type: textblock
13615 #: ../fish/guestfish-actions.pod:2969
13616 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2969
13617 msgid "See also L</mkdir>, L</umask>"
13618 msgstr ""
13619
13620 #. type: =head2
13621 #: ../fish/guestfish-actions.pod:2971
13622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2971
13623 msgid "mkdir-p"
13624 msgstr ""
13625
13626 #. type: verbatim
13627 #: ../fish/guestfish-actions.pod:2973
13628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2973
13629 #, no-wrap
13630 msgid ""
13631 " mkdir-p path\n"
13632 "\n"
13633 msgstr ""
13634
13635 #. type: textblock
13636 #: ../fish/guestfish-actions.pod:2975
13637 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2975
13638 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4437
13639 #: ../src/guestfs-actions.pod:4437
13640 msgid ""
13641 "Create a directory named C<path>, creating any parent directories as "
13642 "necessary.  This is like the C<mkdir -p> shell command."
13643 msgstr ""
13644
13645 #. type: =head2
13646 #: ../fish/guestfish-actions.pod:2978
13647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2978
13648 msgid "mkdtemp"
13649 msgstr ""
13650
13651 #. type: verbatim
13652 #: ../fish/guestfish-actions.pod:2980
13653 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2980
13654 #, no-wrap
13655 msgid ""
13656 " mkdtemp template\n"
13657 "\n"
13658 msgstr ""
13659
13660 #. type: textblock
13661 #: ../fish/guestfish-actions.pod:2982
13662 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2982
13663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4450
13664 #: ../src/guestfs-actions.pod:4450
13665 msgid ""
13666 "This command creates a temporary directory.  The C<template> parameter "
13667 "should be a full pathname for the temporary directory name with the final "
13668 "six characters being \"XXXXXX\"."
13669 msgstr ""
13670
13671 #. type: textblock
13672 #: ../fish/guestfish-actions.pod:2987
13673 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2987
13674 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4455
13675 #: ../src/guestfs-actions.pod:4455
13676 msgid ""
13677 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
13678 "being suitable for Windows filesystems."
13679 msgstr ""
13680
13681 #. type: textblock
13682 #: ../fish/guestfish-actions.pod:2990
13683 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2990
13684 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4458
13685 #: ../src/guestfs-actions.pod:4458
13686 msgid "The name of the temporary directory that was created is returned."
13687 msgstr ""
13688
13689 #. type: textblock
13690 #: ../fish/guestfish-actions.pod:2993
13691 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2993
13692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4461
13693 #: ../src/guestfs-actions.pod:4461
13694 msgid "The temporary directory is created with mode 0700 and is owned by root."
13695 msgstr ""
13696
13697 #. type: textblock
13698 #: ../fish/guestfish-actions.pod:2996
13699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2996
13700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4464
13701 #: ../src/guestfs-actions.pod:4464
13702 msgid ""
13703 "The caller is responsible for deleting the temporary directory and its "
13704 "contents after use."
13705 msgstr ""
13706
13707 #. type: textblock
13708 #: ../fish/guestfish-actions.pod:2999
13709 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2999
13710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4467
13711 #: ../src/guestfs-actions.pod:4467
13712 msgid "See also: L<mkdtemp(3)>"
13713 msgstr ""
13714
13715 #. type: =head2
13716 #: ../fish/guestfish-actions.pod:3001
13717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3001
13718 msgid "mke2fs-J"
13719 msgstr ""
13720
13721 #. type: verbatim
13722 #: ../fish/guestfish-actions.pod:3003
13723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3003
13724 #, no-wrap
13725 msgid ""
13726 " mke2fs-J fstype blocksize device journal\n"
13727 "\n"
13728 msgstr ""
13729
13730 #. type: textblock
13731 #: ../fish/guestfish-actions.pod:3005
13732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3005
13733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4483
13734 #: ../src/guestfs-actions.pod:4483
13735 msgid ""
13736 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
13737 "C<journal>.  It is equivalent to the command:"
13738 msgstr ""
13739
13740 #. type: verbatim
13741 #: ../fish/guestfish-actions.pod:3009
13742 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3009
13743 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4487
13744 #: ../src/guestfs-actions.pod:4487
13745 #, no-wrap
13746 msgid ""
13747 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
13748 "\n"
13749 msgstr ""
13750
13751 #. type: textblock
13752 #: ../fish/guestfish-actions.pod:3011
13753 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3011
13754 msgid "See also L</mke2journal>."
13755 msgstr ""
13756
13757 #. type: =head2
13758 #: ../fish/guestfish-actions.pod:3013
13759 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3013
13760 msgid "mke2fs-JL"
13761 msgstr ""
13762
13763 #. type: verbatim
13764 #: ../fish/guestfish-actions.pod:3015
13765 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3015
13766 #, no-wrap
13767 msgid ""
13768 " mke2fs-JL fstype blocksize device label\n"
13769 "\n"
13770 msgstr ""
13771
13772 #. type: textblock
13773 #: ../fish/guestfish-actions.pod:3017
13774 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3017
13775 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4504
13776 #: ../src/guestfs-actions.pod:4504
13777 msgid ""
13778 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
13779 "the journal labeled C<label>."
13780 msgstr ""
13781
13782 #. type: textblock
13783 #: ../fish/guestfish-actions.pod:3020
13784 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3020
13785 msgid "See also L</mke2journal-L>."
13786 msgstr ""
13787
13788 #. type: =head2
13789 #: ../fish/guestfish-actions.pod:3022
13790 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3022
13791 msgid "mke2fs-JU"
13792 msgstr ""
13793
13794 #. type: verbatim
13795 #: ../fish/guestfish-actions.pod:3024
13796 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3024
13797 #, no-wrap
13798 msgid ""
13799 " mke2fs-JU fstype blocksize device uuid\n"
13800 "\n"
13801 msgstr ""
13802
13803 #. type: textblock
13804 #: ../fish/guestfish-actions.pod:3026
13805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3026
13806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4522
13807 #: ../src/guestfs-actions.pod:4522
13808 msgid ""
13809 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
13810 "the journal with UUID C<uuid>."
13811 msgstr ""
13812
13813 #. type: textblock
13814 #: ../fish/guestfish-actions.pod:3029
13815 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3029
13816 msgid "See also L</mke2journal-U>."
13817 msgstr ""
13818
13819 #. type: =head2
13820 #: ../fish/guestfish-actions.pod:3031
13821 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3031
13822 msgid "mke2journal"
13823 msgstr ""
13824
13825 #. type: verbatim
13826 #: ../fish/guestfish-actions.pod:3033
13827 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3033
13828 #, no-wrap
13829 msgid ""
13830 " mke2journal blocksize device\n"
13831 "\n"
13832 msgstr ""
13833
13834 #. type: textblock
13835 #: ../fish/guestfish-actions.pod:3035
13836 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3035
13837 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4538
13838 #: ../src/guestfs-actions.pod:4538
13839 msgid ""
13840 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
13841 "command:"
13842 msgstr ""
13843
13844 #. type: verbatim
13845 #: ../fish/guestfish-actions.pod:3038
13846 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3038
13847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4541
13848 #: ../src/guestfs-actions.pod:4541
13849 #, no-wrap
13850 msgid ""
13851 " mke2fs -O journal_dev -b blocksize device\n"
13852 "\n"
13853 msgstr ""
13854
13855 #. type: =head2
13856 #: ../fish/guestfish-actions.pod:3040
13857 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3040
13858 msgid "mke2journal-L"
13859 msgstr ""
13860
13861 #. type: verbatim
13862 #: ../fish/guestfish-actions.pod:3042
13863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3042
13864 #, no-wrap
13865 msgid ""
13866 " mke2journal-L blocksize label device\n"
13867 "\n"
13868 msgstr ""
13869
13870 #. type: textblock
13871 #: ../fish/guestfish-actions.pod:3044
13872 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3044
13873 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4555
13874 #: ../src/guestfs-actions.pod:4555
13875 msgid "This creates an ext2 external journal on C<device> with label C<label>."
13876 msgstr ""
13877
13878 #. type: =head2
13879 #: ../fish/guestfish-actions.pod:3046
13880 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3046
13881 msgid "mke2journal-U"
13882 msgstr ""
13883
13884 #. type: verbatim
13885 #: ../fish/guestfish-actions.pod:3048
13886 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3048
13887 #, no-wrap
13888 msgid ""
13889 " mke2journal-U blocksize uuid device\n"
13890 "\n"
13891 msgstr ""
13892
13893 #. type: textblock
13894 #: ../fish/guestfish-actions.pod:3050
13895 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3050
13896 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4569
13897 #: ../src/guestfs-actions.pod:4569
13898 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
13899 msgstr ""
13900
13901 #. type: =head2
13902 #: ../fish/guestfish-actions.pod:3052
13903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3052
13904 msgid "mkfifo"
13905 msgstr ""
13906
13907 #. type: verbatim
13908 #: ../fish/guestfish-actions.pod:3054
13909 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3054
13910 #, no-wrap
13911 msgid ""
13912 " mkfifo mode path\n"
13913 "\n"
13914 msgstr ""
13915
13916 #. type: textblock
13917 #: ../fish/guestfish-actions.pod:3056
13918 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3056
13919 msgid ""
13920 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
13921 "is just a convenient wrapper around L</mknod>."
13922 msgstr ""
13923
13924 #. type: =head2
13925 #: ../fish/guestfish-actions.pod:3062
13926 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3062
13927 msgid "mkfs"
13928 msgstr ""
13929
13930 #. type: verbatim
13931 #: ../fish/guestfish-actions.pod:3064
13932 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3064
13933 #, no-wrap
13934 msgid ""
13935 " mkfs fstype device\n"
13936 "\n"
13937 msgstr ""
13938
13939 #. type: textblock
13940 #: ../fish/guestfish-actions.pod:3066
13941 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3066
13942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4599
13943 #: ../src/guestfs-actions.pod:4599
13944 msgid ""
13945 "This creates a filesystem on C<device> (usually a partition or LVM logical "
13946 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
13947 msgstr ""
13948
13949 #. type: =head2
13950 #: ../fish/guestfish-actions.pod:3070
13951 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3070
13952 msgid "mkfs-b"
13953 msgstr ""
13954
13955 #. type: verbatim
13956 #: ../fish/guestfish-actions.pod:3072
13957 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3072
13958 #, no-wrap
13959 msgid ""
13960 " mkfs-b fstype blocksize device\n"
13961 "\n"
13962 msgstr ""
13963
13964 #. type: textblock
13965 #: ../fish/guestfish-actions.pod:3074
13966 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3074
13967 msgid ""
13968 "This call is similar to L</mkfs>, but it allows you to control the block "
13969 "size of the resulting filesystem.  Supported block sizes depend on the "
13970 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
13971 msgstr ""
13972
13973 #. type: textblock
13974 #: ../fish/guestfish-actions.pod:3079 ../fish/guestfish-actions.pod:3106
13975 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3079
13976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3106
13977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4620
13978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4665
13979 #: ../src/guestfs-actions.pod:4620 ../src/guestfs-actions.pod:4665
13980 msgid ""
13981 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
13982 "cluster size."
13983 msgstr ""
13984
13985 #. type: textblock
13986 #: ../fish/guestfish-actions.pod:3082
13987 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3082
13988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4625
13989 #: ../src/guestfs-actions.pod:4625
13990 msgid ""
13991 "This function is deprecated.  In new code, use the C<mkfs_opts> call instead."
13992 msgstr ""
13993
13994 #. type: =head2
13995 #: ../fish/guestfish-actions.pod:3089
13996 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3089
13997 msgid "mkfs-opts"
13998 msgstr ""
13999
14000 #. type: verbatim
14001 #: ../fish/guestfish-actions.pod:3091
14002 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3091
14003 #, no-wrap
14004 msgid ""
14005 " mkfs-opts fstype device [blocksize:..] [features:..] [inode:..] [sectorsize:..]\n"
14006 "\n"
14007 msgstr ""
14008
14009 #. type: textblock
14010 #: ../fish/guestfish-actions.pod:3093
14011 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3093
14012 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4652
14013 #: ../src/guestfs-actions.pod:4652
14014 msgid ""
14015 "This function creates a filesystem on C<device>.  The filesystem type is "
14016 "C<fstype>, for example C<ext3>."
14017 msgstr ""
14018
14019 #. type: =item
14020 #: ../fish/guestfish-actions.pod:3100
14021 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3100
14022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4659
14023 #: ../src/guestfs-actions.pod:4659
14024 msgid "C<blocksize>"
14025 msgstr ""
14026
14027 #. type: textblock
14028 #: ../fish/guestfish-actions.pod:3102
14029 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3102
14030 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4661
14031 #: ../src/guestfs-actions.pod:4661
14032 msgid ""
14033 "The filesystem block size.  Supported block sizes depend on the filesystem "
14034 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
14035 "filesystems."
14036 msgstr ""
14037
14038 #. type: textblock
14039 #: ../fish/guestfish-actions.pod:3109
14040 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3109
14041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4668
14042 #: ../src/guestfs-actions.pod:4668
14043 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
14044 msgstr ""
14045
14046 #. type: =item
14047 #: ../fish/guestfish-actions.pod:3111
14048 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3111
14049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4670
14050 #: ../src/guestfs-actions.pod:4670
14051 msgid "C<features>"
14052 msgstr ""
14053
14054 #. type: textblock
14055 #: ../fish/guestfish-actions.pod:3113
14056 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3113
14057 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4672
14058 #: ../src/guestfs-actions.pod:4672
14059 msgid "This passes the I<-O> parameter to the external mkfs program."
14060 msgstr ""
14061
14062 #. type: textblock
14063 #: ../fish/guestfish-actions.pod:3115
14064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3115
14065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4674
14066 #: ../src/guestfs-actions.pod:4674
14067 msgid ""
14068 "For certain filesystem types, this allows extra filesystem features to be "
14069 "selected.  See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
14070 msgstr ""
14071
14072 #. type: textblock
14073 #: ../fish/guestfish-actions.pod:3119
14074 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3119
14075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4678
14076 #: ../src/guestfs-actions.pod:4678
14077 msgid ""
14078 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem "
14079 "type."
14080 msgstr ""
14081
14082 #. type: =item
14083 #: ../fish/guestfish-actions.pod:3122
14084 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3122
14085 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4681
14086 #: ../src/guestfs-actions.pod:4681
14087 msgid "C<inode>"
14088 msgstr ""
14089
14090 #. type: textblock
14091 #: ../fish/guestfish-actions.pod:3124
14092 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3124
14093 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4683
14094 #: ../src/guestfs-actions.pod:4683
14095 msgid ""
14096 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
14097 "sets the inode size (only for ext2/3/4 filesystems at present)."
14098 msgstr ""
14099
14100 #. type: =item
14101 #: ../fish/guestfish-actions.pod:3127
14102 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3127
14103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4686
14104 #: ../src/guestfs-actions.pod:4686
14105 msgid "C<sectorsize>"
14106 msgstr ""
14107
14108 #. type: textblock
14109 #: ../fish/guestfish-actions.pod:3129
14110 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3129
14111 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4688
14112 #: ../src/guestfs-actions.pod:4688
14113 msgid ""
14114 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
14115 "sets sector size for ufs filesystem."
14116 msgstr ""
14117
14118 #. type: =head2
14119 #: ../fish/guestfish-actions.pod:3136
14120 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3136
14121 msgid "mkmountpoint"
14122 msgstr ""
14123
14124 #. type: verbatim
14125 #: ../fish/guestfish-actions.pod:3138
14126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3138
14127 #, no-wrap
14128 msgid ""
14129 " mkmountpoint exemptpath\n"
14130 "\n"
14131 msgstr ""
14132
14133 #. type: textblock
14134 #: ../fish/guestfish-actions.pod:3140
14135 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3140
14136 msgid ""
14137 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
14138 "to create extra mountpoints before mounting the first filesystem."
14139 msgstr ""
14140
14141 #. type: textblock
14142 #: ../fish/guestfish-actions.pod:3144
14143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3144
14144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4731
14145 #: ../src/guestfs-actions.pod:4731
14146 msgid ""
14147 "These calls are I<only> necessary in some very limited circumstances, mainly "
14148 "the case where you want to mount a mix of unrelated and/or read-only "
14149 "filesystems together."
14150 msgstr ""
14151
14152 #. type: textblock
14153 #: ../fish/guestfish-actions.pod:3148
14154 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3148
14155 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4735
14156 #: ../src/guestfs-actions.pod:4735
14157 msgid ""
14158 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
14159 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
14160 "inside that.  You can unpack this as follows in guestfish:"
14161 msgstr ""
14162
14163 #. type: verbatim
14164 #: ../fish/guestfish-actions.pod:3153
14165 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3153
14166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4740
14167 #: ../src/guestfs-actions.pod:4740
14168 #, no-wrap
14169 msgid ""
14170 " add-ro Fedora-11-i686-Live.iso\n"
14171 " run\n"
14172 " mkmountpoint /cd\n"
14173 " mkmountpoint /sqsh\n"
14174 " mkmountpoint /ext3fs\n"
14175 " mount /dev/sda /cd\n"
14176 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14177 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14178 "\n"
14179 msgstr ""
14180
14181 #. type: textblock
14182 #: ../fish/guestfish-actions.pod:3162
14183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3162
14184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4749
14185 #: ../src/guestfs-actions.pod:4749
14186 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
14187 msgstr ""
14188
14189 #. type: textblock
14190 #: ../fish/guestfish-actions.pod:3164
14191 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3164
14192 msgid ""
14193 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
14194 "unexpected errors if you try to mix these calls.  It is safest to manually "
14195 "unmount filesystems and remove mountpoints after use."
14196 msgstr ""
14197
14198 #. type: textblock
14199 #: ../fish/guestfish-actions.pod:3168
14200 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3168
14201 msgid ""
14202 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
14203 "for this to work for manual mountpoints, you must ensure that the innermost "
14204 "mountpoints have the longest pathnames, as in the example code above."
14205 msgstr ""
14206
14207 #. type: textblock
14208 #: ../fish/guestfish-actions.pod:3173
14209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3173
14210 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4760
14211 #: ../src/guestfs-actions.pod:4760
14212 msgid ""
14213 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
14214 msgstr ""
14215
14216 #. type: textblock
14217 #: ../fish/guestfish-actions.pod:3175
14218 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3175
14219 msgid ""
14220 "Autosync [see L</set-autosync>, this is set by default on handles] can cause "
14221 "L</umount-all> to be called when the handle is closed which can also trigger "
14222 "these issues."
14223 msgstr ""
14224
14225 #. type: =head2
14226 #: ../fish/guestfish-actions.pod:3179
14227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3179
14228 msgid "mknod"
14229 msgstr ""
14230
14231 #. type: verbatim
14232 #: ../fish/guestfish-actions.pod:3181
14233 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3181
14234 #, no-wrap
14235 msgid ""
14236 " mknod mode devmajor devminor path\n"
14237 "\n"
14238 msgstr ""
14239
14240 #. type: textblock
14241 #: ../fish/guestfish-actions.pod:3183
14242 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3183
14243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4779
14244 #: ../src/guestfs-actions.pod:4779
14245 msgid ""
14246 "This call creates block or character special devices, or named pipes (FIFOs)."
14247 msgstr ""
14248
14249 #. type: textblock
14250 #: ../fish/guestfish-actions.pod:3186
14251 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3186
14252 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4782
14253 #: ../src/guestfs-actions.pod:4782
14254 msgid ""
14255 "The C<mode> parameter should be the mode, using the standard constants.  "
14256 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
14257 "used when creating block and character special devices."
14258 msgstr ""
14259
14260 #. type: textblock
14261 #: ../fish/guestfish-actions.pod:3191
14262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3191
14263 msgid ""
14264 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
14265 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
14266 "regular file).  These constants are available in the standard Linux header "
14267 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
14268 "wrappers around this command which bitwise OR in the appropriate constant "
14269 "for you."
14270 msgstr ""
14271
14272 #. type: =head2
14273 #: ../fish/guestfish-actions.pod:3201
14274 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3201
14275 msgid "mknod-b"
14276 msgstr ""
14277
14278 #. type: verbatim
14279 #: ../fish/guestfish-actions.pod:3203
14280 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3203
14281 #, no-wrap
14282 msgid ""
14283 " mknod-b mode devmajor devminor path\n"
14284 "\n"
14285 msgstr ""
14286
14287 #. type: textblock
14288 #: ../fish/guestfish-actions.pod:3205
14289 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3205
14290 msgid ""
14291 "This call creates a block device node called C<path> with mode C<mode> and "
14292 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
14293 "wrapper around L</mknod>."
14294 msgstr ""
14295
14296 #. type: =head2
14297 #: ../fish/guestfish-actions.pod:3211
14298 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3211
14299 msgid "mknod-c"
14300 msgstr ""
14301
14302 #. type: verbatim
14303 #: ../fish/guestfish-actions.pod:3213
14304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3213
14305 #, no-wrap
14306 msgid ""
14307 " mknod-c mode devmajor devminor path\n"
14308 "\n"
14309 msgstr ""
14310
14311 #. type: textblock
14312 #: ../fish/guestfish-actions.pod:3215
14313 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3215
14314 msgid ""
14315 "This call creates a char device node called C<path> with mode C<mode> and "
14316 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
14317 "wrapper around L</mknod>."
14318 msgstr ""
14319
14320 #. type: =head2
14321 #: ../fish/guestfish-actions.pod:3221
14322 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3221
14323 msgid "mkswap"
14324 msgstr ""
14325
14326 #. type: verbatim
14327 #: ../fish/guestfish-actions.pod:3223
14328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3223
14329 #, no-wrap
14330 msgid ""
14331 " mkswap device\n"
14332 "\n"
14333 msgstr ""
14334
14335 #. type: textblock
14336 #: ../fish/guestfish-actions.pod:3225
14337 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3225
14338 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4845
14339 #: ../src/guestfs-actions.pod:4845
14340 msgid "Create a swap partition on C<device>."
14341 msgstr ""
14342
14343 #. type: =head2
14344 #: ../fish/guestfish-actions.pod:3227
14345 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3227
14346 msgid "mkswap-L"
14347 msgstr ""
14348
14349 #. type: verbatim
14350 #: ../fish/guestfish-actions.pod:3229
14351 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3229
14352 #, no-wrap
14353 msgid ""
14354 " mkswap-L label device\n"
14355 "\n"
14356 msgstr ""
14357
14358 #. type: textblock
14359 #: ../fish/guestfish-actions.pod:3231
14360 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3231
14361 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4858
14362 #: ../src/guestfs-actions.pod:4858
14363 msgid "Create a swap partition on C<device> with label C<label>."
14364 msgstr ""
14365
14366 #. type: textblock
14367 #: ../fish/guestfish-actions.pod:3233
14368 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3233
14369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4860
14370 #: ../src/guestfs-actions.pod:4860
14371 msgid ""
14372 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
14373 "sda>), just to a partition.  This appears to be a limitation of the kernel "
14374 "or swap tools."
14375 msgstr ""
14376
14377 #. type: =head2
14378 #: ../fish/guestfish-actions.pod:3237
14379 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3237
14380 msgid "mkswap-U"
14381 msgstr ""
14382
14383 #. type: verbatim
14384 #: ../fish/guestfish-actions.pod:3239
14385 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3239
14386 #, no-wrap
14387 msgid ""
14388 " mkswap-U uuid device\n"
14389 "\n"
14390 msgstr ""
14391
14392 #. type: textblock
14393 #: ../fish/guestfish-actions.pod:3241
14394 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3241
14395 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4875
14396 #: ../src/guestfs-actions.pod:4875
14397 msgid "Create a swap partition on C<device> with UUID C<uuid>."
14398 msgstr ""
14399
14400 #. type: =head2
14401 #: ../fish/guestfish-actions.pod:3243
14402 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3243
14403 msgid "mkswap-file"
14404 msgstr ""
14405
14406 #. type: verbatim
14407 #: ../fish/guestfish-actions.pod:3245
14408 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3245
14409 #, no-wrap
14410 msgid ""
14411 " mkswap-file path\n"
14412 "\n"
14413 msgstr ""
14414
14415 #. type: textblock
14416 #: ../fish/guestfish-actions.pod:3247
14417 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3247
14418 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4887
14419 #: ../src/guestfs-actions.pod:4887
14420 msgid "Create a swap file."
14421 msgstr ""
14422
14423 #. type: textblock
14424 #: ../fish/guestfish-actions.pod:3249
14425 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3249
14426 msgid ""
14427 "This command just writes a swap file signature to an existing file.  To "
14428 "create the file itself, use something like L</fallocate>."
14429 msgstr ""
14430
14431 #. type: =head2
14432 #: ../fish/guestfish-actions.pod:3252
14433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3252
14434 msgid "modprobe"
14435 msgstr ""
14436
14437 #. type: verbatim
14438 #: ../fish/guestfish-actions.pod:3254
14439 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3254
14440 #, no-wrap
14441 msgid ""
14442 " modprobe modulename\n"
14443 "\n"
14444 msgstr ""
14445
14446 #. type: textblock
14447 #: ../fish/guestfish-actions.pod:3256
14448 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3256
14449 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4902
14450 #: ../src/guestfs-actions.pod:4902
14451 msgid "This loads a kernel module in the appliance."
14452 msgstr ""
14453
14454 #. type: textblock
14455 #: ../fish/guestfish-actions.pod:3258
14456 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3258
14457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4904
14458 #: ../src/guestfs-actions.pod:4904
14459 msgid ""
14460 "The kernel module must have been whitelisted when libguestfs was built (see "
14461 "C<appliance/kmod.whitelist.in> in the source)."
14462 msgstr ""
14463
14464 #. type: =head2
14465 #: ../fish/guestfish-actions.pod:3261
14466 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3261
14467 msgid "mount"
14468 msgstr ""
14469
14470 #. type: verbatim
14471 #: ../fish/guestfish-actions.pod:3263
14472 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3263
14473 #, no-wrap
14474 msgid ""
14475 " mount device mountpoint\n"
14476 "\n"
14477 msgstr ""
14478
14479 #. type: textblock
14480 #: ../fish/guestfish-actions.pod:3265
14481 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3265
14482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4918
14483 #: ../src/guestfs-actions.pod:4918
14484 msgid ""
14485 "Mount a guest disk at a position in the filesystem.  Block devices are named "
14486 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
14487 "those block devices contain partitions, they will have the usual names (eg. "
14488 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
14489 msgstr ""
14490
14491 #. type: textblock
14492 #: ../fish/guestfish-actions.pod:3271
14493 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3271
14494 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4924
14495 #: ../src/guestfs-actions.pod:4924
14496 msgid ""
14497 "The rules are the same as for L<mount(2)>: A filesystem must first be "
14498 "mounted on C</> before others can be mounted.  Other filesystems can only be "
14499 "mounted on directories which already exist."
14500 msgstr ""
14501
14502 #. type: textblock
14503 #: ../fish/guestfish-actions.pod:3276
14504 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3276
14505 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4929
14506 #: ../src/guestfs-actions.pod:4929
14507 msgid ""
14508 "The mounted filesystem is writable, if we have sufficient permissions on the "
14509 "underlying device."
14510 msgstr ""
14511
14512 #. type: textblock
14513 #: ../fish/guestfish-actions.pod:3279
14514 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3279
14515 msgid ""
14516 "B<Important note:> When you use this call, the filesystem options C<sync> "
14517 "and C<noatime> are set implicitly.  This was originally done because we "
14518 "thought it would improve reliability, but it turns out that I<-o sync> has a "
14519 "very large negative performance impact and negligible effect on "
14520 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
14521 "code that needs performance, and instead use L</mount-options> (use an empty "
14522 "string for the first parameter if you don't want any options)."
14523 msgstr ""
14524
14525 #. type: textblock
14526 #: ../fish/guestfish-actions.pod:3289
14527 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3289
14528 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4944
14529 #: ../src/guestfs-actions.pod:4944
14530 msgid ""
14531 "This function is deprecated.  In new code, use the C<mount_options> call "
14532 "instead."
14533 msgstr ""
14534
14535 #. type: =head2
14536 #: ../fish/guestfish-actions.pod:3296
14537 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3296
14538 msgid "mount-9p"
14539 msgstr ""
14540
14541 #. type: verbatim
14542 #: ../fish/guestfish-actions.pod:3298
14543 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3298
14544 #, no-wrap
14545 msgid ""
14546 " mount-9p mounttag mountpoint [options:..]\n"
14547 "\n"
14548 msgstr ""
14549
14550 #. type: textblock
14551 #: ../fish/guestfish-actions.pod:3300
14552 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3300
14553 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4968
14554 #: ../src/guestfs-actions.pod:4968
14555 msgid ""
14556 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
14557 "C<mountpoint>."
14558 msgstr ""
14559
14560 #. type: textblock
14561 #: ../fish/guestfish-actions.pod:3303
14562 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3303
14563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4971
14564 #: ../src/guestfs-actions.pod:4971
14565 msgid ""
14566 "If required, C<trans=virtio> will be automatically added to the options.  "
14567 "Any other options required can be passed in the optional C<options> "
14568 "parameter."
14569 msgstr ""
14570
14571 #. type: =head2
14572 #: ../fish/guestfish-actions.pod:3309
14573 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3309
14574 msgid "mount-loop"
14575 msgstr ""
14576
14577 #. type: verbatim
14578 #: ../fish/guestfish-actions.pod:3311
14579 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3311
14580 #, no-wrap
14581 msgid ""
14582 " mount-loop file mountpoint\n"
14583 "\n"
14584 msgstr ""
14585
14586 #. type: textblock
14587 #: ../fish/guestfish-actions.pod:3313
14588 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3313
14589 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5010
14590 #: ../src/guestfs-actions.pod:5010
14591 msgid ""
14592 "This command lets you mount C<file> (a filesystem image in a file) on a "
14593 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
14594 "mountpoint>."
14595 msgstr ""
14596
14597 #. type: =head2
14598 #: ../fish/guestfish-actions.pod:3317
14599 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3317
14600 msgid "mount-options"
14601 msgstr ""
14602
14603 #. type: verbatim
14604 #: ../fish/guestfish-actions.pod:3319
14605 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3319
14606 #, no-wrap
14607 msgid ""
14608 " mount-options options device mountpoint\n"
14609 "\n"
14610 msgstr ""
14611
14612 #. type: textblock
14613 #: ../fish/guestfish-actions.pod:3321
14614 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3321
14615 msgid ""
14616 "This is the same as the L</mount> command, but it allows you to set the "
14617 "mount options as for the L<mount(8)> I<-o> flag."
14618 msgstr ""
14619
14620 #. type: textblock
14621 #: ../fish/guestfish-actions.pod:3325
14622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3325
14623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5030
14624 #: ../src/guestfs-actions.pod:5030
14625 msgid ""
14626 "If the C<options> parameter is an empty string, then no options are passed "
14627 "(all options default to whatever the filesystem uses)."
14628 msgstr ""
14629
14630 #. type: =head2
14631 #: ../fish/guestfish-actions.pod:3329
14632 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3329
14633 msgid "mount-ro"
14634 msgstr ""
14635
14636 #. type: verbatim
14637 #: ../fish/guestfish-actions.pod:3331
14638 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3331
14639 #, no-wrap
14640 msgid ""
14641 " mount-ro device mountpoint\n"
14642 "\n"
14643 msgstr ""
14644
14645 #. type: textblock
14646 #: ../fish/guestfish-actions.pod:3333
14647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3333
14648 msgid ""
14649 "This is the same as the L</mount> command, but it mounts the filesystem with "
14650 "the read-only (I<-o ro>) flag."
14651 msgstr ""
14652
14653 #. type: =head2
14654 #: ../fish/guestfish-actions.pod:3336
14655 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3336
14656 msgid "mount-vfs"
14657 msgstr ""
14658
14659 #. type: verbatim
14660 #: ../fish/guestfish-actions.pod:3338
14661 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3338
14662 #, no-wrap
14663 msgid ""
14664 " mount-vfs options vfstype device mountpoint\n"
14665 "\n"
14666 msgstr ""
14667
14668 #. type: textblock
14669 #: ../fish/guestfish-actions.pod:3340
14670 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3340
14671 msgid ""
14672 "This is the same as the L</mount> command, but it allows you to set both the "
14673 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
14674 msgstr ""
14675
14676 #. type: =head2
14677 #: ../fish/guestfish-actions.pod:3344
14678 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3344
14679 msgid "mountpoints"
14680 msgstr ""
14681
14682 #. type: verbatim
14683 #: ../fish/guestfish-actions.pod:3346
14684 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3346
14685 #, no-wrap
14686 msgid ""
14687 " mountpoints\n"
14688 "\n"
14689 msgstr ""
14690
14691 #. type: textblock
14692 #: ../fish/guestfish-actions.pod:3348
14693 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3348
14694 msgid ""
14695 "This call is similar to L</mounts>.  That call returns a list of devices.  "
14696 "This one returns a hash table (map) of device name to directory where the "
14697 "device is mounted."
14698 msgstr ""
14699
14700 #. type: =head2
14701 #: ../fish/guestfish-actions.pod:3352
14702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3352
14703 msgid "mounts"
14704 msgstr ""
14705
14706 #. type: verbatim
14707 #: ../fish/guestfish-actions.pod:3354
14708 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3354
14709 #, no-wrap
14710 msgid ""
14711 " mounts\n"
14712 "\n"
14713 msgstr ""
14714
14715 #. type: textblock
14716 #: ../fish/guestfish-actions.pod:3356
14717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3356
14718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5091
14719 #: ../src/guestfs-actions.pod:5091
14720 msgid ""
14721 "This returns the list of currently mounted filesystems.  It returns the list "
14722 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
14723 msgstr ""
14724
14725 #. type: textblock
14726 #: ../fish/guestfish-actions.pod:3359
14727 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3359
14728 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5094
14729 #: ../src/guestfs-actions.pod:5094
14730 msgid "Some internal mounts are not shown."
14731 msgstr ""
14732
14733 #. type: textblock
14734 #: ../fish/guestfish-actions.pod:3361
14735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3361
14736 msgid "See also: L</mountpoints>"
14737 msgstr ""
14738
14739 #. type: =head2
14740 #: ../fish/guestfish-actions.pod:3363
14741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3363
14742 msgid "mv"
14743 msgstr ""
14744
14745 #. type: verbatim
14746 #: ../fish/guestfish-actions.pod:3365
14747 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3365
14748 #, no-wrap
14749 msgid ""
14750 " mv src dest\n"
14751 "\n"
14752 msgstr ""
14753
14754 #. type: textblock
14755 #: ../fish/guestfish-actions.pod:3367
14756 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3367
14757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5111
14758 #: ../src/guestfs-actions.pod:5111
14759 msgid ""
14760 "This moves a file from C<src> to C<dest> where C<dest> is either a "
14761 "destination filename or destination directory."
14762 msgstr ""
14763
14764 #. type: =head2
14765 #: ../fish/guestfish-actions.pod:3370
14766 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3370
14767 msgid "ntfs-3g-probe"
14768 msgstr ""
14769
14770 #. type: verbatim
14771 #: ../fish/guestfish-actions.pod:3372
14772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3372
14773 #, no-wrap
14774 msgid ""
14775 " ntfs-3g-probe true|false device\n"
14776 "\n"
14777 msgstr ""
14778
14779 #. type: textblock
14780 #: ../fish/guestfish-actions.pod:3374
14781 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3374
14782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5125
14783 #: ../src/guestfs-actions.pod:5125
14784 msgid ""
14785 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
14786 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
14787 "write, and some cannot be mounted at all)."
14788 msgstr ""
14789
14790 #. type: textblock
14791 #: ../fish/guestfish-actions.pod:3378
14792 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3378
14793 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5129
14794 #: ../src/guestfs-actions.pod:5129
14795 msgid ""
14796 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
14797 "can be mounted read-write.  Set it to false if you want to test if the "
14798 "volume can be mounted read-only."
14799 msgstr ""
14800
14801 #. type: textblock
14802 #: ../fish/guestfish-actions.pod:3382
14803 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3382
14804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5133
14805 #: ../src/guestfs-actions.pod:5133
14806 msgid ""
14807 "The return value is an integer which C<0> if the operation would succeed, or "
14808 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
14809 msgstr ""
14810
14811 #. type: =head2
14812 #: ../fish/guestfish-actions.pod:3386
14813 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3386
14814 msgid "ntfsresize"
14815 msgstr ""
14816
14817 #. type: verbatim
14818 #: ../fish/guestfish-actions.pod:3388
14819 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3388
14820 #, no-wrap
14821 msgid ""
14822 " ntfsresize device\n"
14823 "\n"
14824 msgstr ""
14825
14826 #. type: textblock
14827 #: ../fish/guestfish-actions.pod:3390 ../fish/guestfish-actions.pod:3414
14828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3390
14829 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3414
14830 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5147
14831 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5186
14832 #: ../src/guestfs-actions.pod:5147 ../src/guestfs-actions.pod:5186
14833 msgid ""
14834 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
14835 "size of the underlying device."
14836 msgstr ""
14837
14838 #. type: textblock
14839 #: ../fish/guestfish-actions.pod:3393
14840 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3393
14841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5150
14842 #: ../src/guestfs-actions.pod:5150
14843 msgid ""
14844 "I<Note:> After the resize operation, the filesystem is marked as requiring a "
14845 "consistency check (for safety).  You have to boot into Windows to perform "
14846 "this check and clear this condition.  Furthermore, ntfsresize refuses to "
14847 "resize filesystems which have been marked in this way.  So in effect it is "
14848 "not possible to call ntfsresize multiple times on a single filesystem "
14849 "without booting into Windows between each resize."
14850 msgstr ""
14851
14852 #. type: textblock
14853 #: ../fish/guestfish-actions.pod:3401 ../fish/guestfish-actions.pod:3440
14854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3401
14855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3440
14856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5158
14857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5212
14858 #: ../src/guestfs-actions.pod:5158 ../src/guestfs-actions.pod:5212
14859 msgid "See also L<ntfsresize(8)>."
14860 msgstr ""
14861
14862 #. type: textblock
14863 #: ../fish/guestfish-actions.pod:3403 ../fish/guestfish-actions.pod:3451
14864 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3403
14865 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3451
14866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5162
14867 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5252
14868 #: ../src/guestfs-actions.pod:5162 ../src/guestfs-actions.pod:5252
14869 msgid ""
14870 "This function is deprecated.  In new code, use the C<ntfsresize_opts> call "
14871 "instead."
14872 msgstr ""
14873
14874 #. type: =head2
14875 #: ../fish/guestfish-actions.pod:3410
14876 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3410
14877 msgid "ntfsresize-opts"
14878 msgstr ""
14879
14880 #. type: verbatim
14881 #: ../fish/guestfish-actions.pod:3412
14882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3412
14883 #, no-wrap
14884 msgid ""
14885 " ntfsresize-opts device [size:..] [force:..]\n"
14886 "\n"
14887 msgstr ""
14888
14889 #. type: textblock
14890 #: ../fish/guestfish-actions.pod:3423
14891 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3423
14892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5195
14893 #: ../src/guestfs-actions.pod:5195
14894 msgid ""
14895 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
14896 "resized to fit the container (eg. partition)."
14897 msgstr ""
14898
14899 #. type: =item
14900 #: ../fish/guestfish-actions.pod:3426
14901 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3426
14902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5198
14903 #: ../src/guestfs-actions.pod:5198
14904 msgid "C<force>"
14905 msgstr ""
14906
14907 #. type: textblock
14908 #: ../fish/guestfish-actions.pod:3428
14909 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3428
14910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5200
14911 #: ../src/guestfs-actions.pod:5200
14912 msgid ""
14913 "If this option is true, then force the resize of the filesystem even if the "
14914 "filesystem is marked as requiring a consistency check."
14915 msgstr ""
14916
14917 #. type: textblock
14918 #: ../fish/guestfish-actions.pod:3431
14919 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3431
14920 msgid ""
14921 "After the resize operation, the filesystem is always marked as requiring a "
14922 "consistency check (for safety).  You have to boot into Windows to perform "
14923 "this check and clear this condition.  If you I<don't> set the C<force> "
14924 "option then it is not possible to call L</ntfsresize-opts> multiple times on "
14925 "a single filesystem without booting into Windows between each resize."
14926 msgstr ""
14927
14928 #. type: =head2
14929 #: ../fish/guestfish-actions.pod:3444
14930 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3444
14931 msgid "ntfsresize-size"
14932 msgstr ""
14933
14934 #. type: verbatim
14935 #: ../fish/guestfish-actions.pod:3446
14936 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3446
14937 #, no-wrap
14938 msgid ""
14939 " ntfsresize-size device size\n"
14940 "\n"
14941 msgstr ""
14942
14943 #. type: textblock
14944 #: ../fish/guestfish-actions.pod:3448
14945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3448
14946 msgid ""
14947 "This command is the same as L</ntfsresize> except that it allows you to "
14948 "specify the new size (in bytes) explicitly."
14949 msgstr ""
14950
14951 #. type: =head2
14952 #: ../fish/guestfish-actions.pod:3458
14953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3458
14954 msgid "part-add"
14955 msgstr ""
14956
14957 #. type: verbatim
14958 #: ../fish/guestfish-actions.pod:3460
14959 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3460
14960 #, no-wrap
14961 msgid ""
14962 " part-add device prlogex startsect endsect\n"
14963 "\n"
14964 msgstr ""
14965
14966 #. type: textblock
14967 #: ../fish/guestfish-actions.pod:3462
14968 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3462
14969 msgid ""
14970 "This command adds a partition to C<device>.  If there is no partition table "
14971 "on the device, call L</part-init> first."
14972 msgstr ""
14973
14974 #. type: textblock
14975 #: ../fish/guestfish-actions.pod:3465
14976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3465
14977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5273
14978 #: ../src/guestfs-actions.pod:5273
14979 msgid ""
14980 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
14981 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
14982 "C<logical>) and C<e> (or C<extended>) partition types."
14983 msgstr ""
14984
14985 #. type: textblock
14986 #: ../fish/guestfish-actions.pod:3470
14987 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3470
14988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5278
14989 #: ../src/guestfs-actions.pod:5278
14990 msgid ""
14991 "C<startsect> and C<endsect> are the start and end of the partition in "
14992 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
14993 "from the end of the disk (C<-1> is the last sector)."
14994 msgstr ""
14995
14996 #. type: textblock
14997 #: ../fish/guestfish-actions.pod:3474
14998 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3474
14999 msgid ""
15000 "Creating a partition which covers the whole disk is not so easy.  Use L</"
15001 "part-disk> to do that."
15002 msgstr ""
15003
15004 #. type: =head2
15005 #: ../fish/guestfish-actions.pod:3477
15006 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3477
15007 msgid "part-del"
15008 msgstr ""
15009
15010 #. type: verbatim
15011 #: ../fish/guestfish-actions.pod:3479
15012 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3479
15013 #, no-wrap
15014 msgid ""
15015 " part-del device partnum\n"
15016 "\n"
15017 msgstr ""
15018
15019 #. type: textblock
15020 #: ../fish/guestfish-actions.pod:3481
15021 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3481
15022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5296
15023 #: ../src/guestfs-actions.pod:5296
15024 msgid "This command deletes the partition numbered C<partnum> on C<device>."
15025 msgstr ""
15026
15027 #. type: textblock
15028 #: ../fish/guestfish-actions.pod:3483
15029 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3483
15030 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5298
15031 #: ../src/guestfs-actions.pod:5298
15032 msgid ""
15033 "Note that in the case of MBR partitioning, deleting an extended partition "
15034 "also deletes any logical partitions it contains."
15035 msgstr ""
15036
15037 #. type: =head2
15038 #: ../fish/guestfish-actions.pod:3487
15039 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3487
15040 msgid "part-disk"
15041 msgstr ""
15042
15043 #. type: verbatim
15044 #: ../fish/guestfish-actions.pod:3489
15045 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3489
15046 #, no-wrap
15047 msgid ""
15048 " part-disk device parttype\n"
15049 "\n"
15050 msgstr ""
15051
15052 #. type: textblock
15053 #: ../fish/guestfish-actions.pod:3491
15054 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3491
15055 msgid ""
15056 "This command is simply a combination of L</part-init> followed by L</part-"
15057 "add> to create a single primary partition covering the whole disk."
15058 msgstr ""
15059
15060 #. type: textblock
15061 #: ../fish/guestfish-actions.pod:3495
15062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3495
15063 msgid ""
15064 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
15065 "possible values are described in L</part-init>."
15066 msgstr ""
15067
15068 #. type: =head2
15069 #: ../fish/guestfish-actions.pod:3501
15070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3501
15071 msgid "part-get-bootable"
15072 msgstr ""
15073
15074 #. type: verbatim
15075 #: ../fish/guestfish-actions.pod:3503
15076 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3503
15077 #, no-wrap
15078 msgid ""
15079 " part-get-bootable device partnum\n"
15080 "\n"
15081 msgstr ""
15082
15083 #. type: textblock
15084 #: ../fish/guestfish-actions.pod:3505
15085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3505
15086 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5334
15087 #: ../src/guestfs-actions.pod:5334
15088 msgid ""
15089 "This command returns true if the partition C<partnum> on C<device> has the "
15090 "bootable flag set."
15091 msgstr ""
15092
15093 #. type: textblock
15094 #: ../fish/guestfish-actions.pod:3508
15095 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3508
15096 msgid "See also L</part-set-bootable>."
15097 msgstr ""
15098
15099 #. type: =head2
15100 #: ../fish/guestfish-actions.pod:3510
15101 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3510
15102 msgid "part-get-mbr-id"
15103 msgstr ""
15104
15105 #. type: verbatim
15106 #: ../fish/guestfish-actions.pod:3512
15107 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3512
15108 #, no-wrap
15109 msgid ""
15110 " part-get-mbr-id device partnum\n"
15111 "\n"
15112 msgstr ""
15113
15114 #. type: textblock
15115 #: ../fish/guestfish-actions.pod:3514
15116 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3514
15117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5350
15118 #: ../src/guestfs-actions.pod:5350
15119 msgid ""
15120 "Returns the MBR type byte (also known as the ID byte) from the numbered "
15121 "partition C<partnum>."
15122 msgstr ""
15123
15124 #. type: textblock
15125 #: ../fish/guestfish-actions.pod:3517 ../fish/guestfish-actions.pod:3661
15126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3517
15127 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3661
15128 msgid ""
15129 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
15130 "undefined results for other partition table types (see L</part-get-"
15131 "parttype>)."
15132 msgstr ""
15133
15134 #. type: =head2
15135 #: ../fish/guestfish-actions.pod:3521
15136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3521
15137 msgid "part-get-parttype"
15138 msgstr ""
15139
15140 #. type: verbatim
15141 #: ../fish/guestfish-actions.pod:3523
15142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3523
15143 #, no-wrap
15144 msgid ""
15145 " part-get-parttype device\n"
15146 "\n"
15147 msgstr ""
15148
15149 #. type: textblock
15150 #: ../fish/guestfish-actions.pod:3525
15151 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3525
15152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5367
15153 #: ../src/guestfs-actions.pod:5367
15154 msgid ""
15155 "This command examines the partition table on C<device> and returns the "
15156 "partition table type (format) being used."
15157 msgstr ""
15158
15159 #. type: textblock
15160 #: ../fish/guestfish-actions.pod:3528
15161 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3528
15162 msgid ""
15163 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
15164 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
15165 "possible, although unusual.  See L</part-init> for a full list."
15166 msgstr ""
15167
15168 #. type: =head2
15169 #: ../fish/guestfish-actions.pod:3533
15170 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3533
15171 msgid "part-init"
15172 msgstr ""
15173
15174 #. type: verbatim
15175 #: ../fish/guestfish-actions.pod:3535
15176 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3535
15177 #, no-wrap
15178 msgid ""
15179 " part-init device parttype\n"
15180 "\n"
15181 msgstr ""
15182
15183 #. type: textblock
15184 #: ../fish/guestfish-actions.pod:3537
15185 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3537
15186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5387
15187 #: ../src/guestfs-actions.pod:5387
15188 msgid ""
15189 "This creates an empty partition table on C<device> of one of the partition "
15190 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
15191 "(for large disks)."
15192 msgstr ""
15193
15194 #. type: textblock
15195 #: ../fish/guestfish-actions.pod:3541
15196 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3541
15197 msgid ""
15198 "Initially there are no partitions.  Following this, you should call L</part-"
15199 "add> for each partition required."
15200 msgstr ""
15201
15202 #. type: textblock
15203 #: ../fish/guestfish-actions.pod:3544
15204 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3544
15205 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5394
15206 #: ../src/guestfs-actions.pod:5394
15207 msgid "Possible values for C<parttype> are:"
15208 msgstr ""
15209
15210 #. type: =item
15211 #: ../fish/guestfish-actions.pod:3548
15212 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3548
15213 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5398
15214 #: ../src/guestfs-actions.pod:5398
15215 msgid "B<efi>"
15216 msgstr ""
15217
15218 #. type: =item
15219 #: ../fish/guestfish-actions.pod:3550
15220 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3550
15221 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5400
15222 #: ../src/guestfs-actions.pod:5400
15223 msgid "B<gpt>"
15224 msgstr ""
15225
15226 #. type: textblock
15227 #: ../fish/guestfish-actions.pod:3552
15228 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3552
15229 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5402
15230 #: ../src/guestfs-actions.pod:5402
15231 msgid "Intel EFI / GPT partition table."
15232 msgstr ""
15233
15234 #. type: textblock
15235 #: ../fish/guestfish-actions.pod:3554
15236 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3554
15237 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5404
15238 #: ../src/guestfs-actions.pod:5404
15239 msgid ""
15240 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
15241 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
15242 "the C<mbr> format."
15243 msgstr ""
15244
15245 #. type: =item
15246 #: ../fish/guestfish-actions.pod:3558
15247 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3558
15248 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5408
15249 #: ../src/guestfs-actions.pod:5408
15250 msgid "B<mbr>"
15251 msgstr ""
15252
15253 #. type: =item
15254 #: ../fish/guestfish-actions.pod:3560
15255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3560
15256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5410
15257 #: ../src/guestfs-actions.pod:5410
15258 msgid "B<msdos>"
15259 msgstr ""
15260
15261 #. type: textblock
15262 #: ../fish/guestfish-actions.pod:3562
15263 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3562
15264 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5412
15265 #: ../src/guestfs-actions.pod:5412
15266 msgid ""
15267 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
15268 "Windows.  This partition type will B<only> work for device sizes up to 2 "
15269 "TB.  For large disks we recommend using C<gpt>."
15270 msgstr ""
15271
15272 #. type: textblock
15273 #: ../fish/guestfish-actions.pod:3569
15274 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3569
15275 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5419
15276 #: ../src/guestfs-actions.pod:5419
15277 msgid ""
15278 "Other partition table types that may work but are not supported include:"
15279 msgstr ""
15280
15281 #. type: =item
15282 #: ../fish/guestfish-actions.pod:3574
15283 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3574
15284 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5424
15285 #: ../src/guestfs-actions.pod:5424
15286 msgid "B<aix>"
15287 msgstr ""
15288
15289 #. type: textblock
15290 #: ../fish/guestfish-actions.pod:3576
15291 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3576
15292 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5426
15293 #: ../src/guestfs-actions.pod:5426
15294 msgid "AIX disk labels."
15295 msgstr ""
15296
15297 #. type: =item
15298 #: ../fish/guestfish-actions.pod:3578
15299 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3578
15300 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5428
15301 #: ../src/guestfs-actions.pod:5428
15302 msgid "B<amiga>"
15303 msgstr ""
15304
15305 #. type: =item
15306 #: ../fish/guestfish-actions.pod:3580
15307 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3580
15308 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5430
15309 #: ../src/guestfs-actions.pod:5430
15310 msgid "B<rdb>"
15311 msgstr ""
15312
15313 #. type: textblock
15314 #: ../fish/guestfish-actions.pod:3582
15315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3582
15316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5432
15317 #: ../src/guestfs-actions.pod:5432
15318 msgid "Amiga \"Rigid Disk Block\" format."
15319 msgstr ""
15320
15321 #. type: =item
15322 #: ../fish/guestfish-actions.pod:3584
15323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3584
15324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5434
15325 #: ../src/guestfs-actions.pod:5434
15326 msgid "B<bsd>"
15327 msgstr ""
15328
15329 #. type: textblock
15330 #: ../fish/guestfish-actions.pod:3586
15331 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3586
15332 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5436
15333 #: ../src/guestfs-actions.pod:5436
15334 msgid "BSD disk labels."
15335 msgstr ""
15336
15337 #. type: =item
15338 #: ../fish/guestfish-actions.pod:3588
15339 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3588
15340 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5438
15341 #: ../src/guestfs-actions.pod:5438
15342 msgid "B<dasd>"
15343 msgstr ""
15344
15345 #. type: textblock
15346 #: ../fish/guestfish-actions.pod:3590
15347 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3590
15348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5440
15349 #: ../src/guestfs-actions.pod:5440
15350 msgid "DASD, used on IBM mainframes."
15351 msgstr ""
15352
15353 #. type: =item
15354 #: ../fish/guestfish-actions.pod:3592
15355 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3592
15356 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5442
15357 #: ../src/guestfs-actions.pod:5442
15358 msgid "B<dvh>"
15359 msgstr ""
15360
15361 #. type: textblock
15362 #: ../fish/guestfish-actions.pod:3594
15363 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3594
15364 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5444
15365 #: ../src/guestfs-actions.pod:5444
15366 msgid "MIPS/SGI volumes."
15367 msgstr ""
15368
15369 #. type: =item
15370 #: ../fish/guestfish-actions.pod:3596
15371 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3596
15372 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5446
15373 #: ../src/guestfs-actions.pod:5446
15374 msgid "B<mac>"
15375 msgstr ""
15376
15377 #. type: textblock
15378 #: ../fish/guestfish-actions.pod:3598
15379 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3598
15380 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5448
15381 #: ../src/guestfs-actions.pod:5448
15382 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
15383 msgstr ""
15384
15385 #. type: =item
15386 #: ../fish/guestfish-actions.pod:3600
15387 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3600
15388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5450
15389 #: ../src/guestfs-actions.pod:5450
15390 msgid "B<pc98>"
15391 msgstr ""
15392
15393 #. type: textblock
15394 #: ../fish/guestfish-actions.pod:3602
15395 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3602
15396 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5452
15397 #: ../src/guestfs-actions.pod:5452
15398 msgid "NEC PC-98 format, common in Japan apparently."
15399 msgstr ""
15400
15401 #. type: =item
15402 #: ../fish/guestfish-actions.pod:3604
15403 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3604
15404 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5454
15405 #: ../src/guestfs-actions.pod:5454
15406 msgid "B<sun>"
15407 msgstr ""
15408
15409 #. type: textblock
15410 #: ../fish/guestfish-actions.pod:3606
15411 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3606
15412 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5456
15413 #: ../src/guestfs-actions.pod:5456
15414 msgid "Sun disk labels."
15415 msgstr ""
15416
15417 #. type: =head2
15418 #: ../fish/guestfish-actions.pod:3610
15419 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3610
15420 msgid "part-list"
15421 msgstr ""
15422
15423 #. type: verbatim
15424 #: ../fish/guestfish-actions.pod:3612
15425 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3612
15426 #, no-wrap
15427 msgid ""
15428 " part-list device\n"
15429 "\n"
15430 msgstr ""
15431
15432 #. type: textblock
15433 #: ../fish/guestfish-actions.pod:3614
15434 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3614
15435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5470
15436 #: ../src/guestfs-actions.pod:5470
15437 msgid ""
15438 "This command parses the partition table on C<device> and returns the list of "
15439 "partitions found."
15440 msgstr ""
15441
15442 #. type: textblock
15443 #: ../fish/guestfish-actions.pod:3617
15444 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3617
15445 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5473
15446 #: ../src/guestfs-actions.pod:5473
15447 msgid "The fields in the returned structure are:"
15448 msgstr ""
15449
15450 #. type: =item
15451 #: ../fish/guestfish-actions.pod:3621
15452 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3621
15453 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5477
15454 #: ../src/guestfs-actions.pod:5477
15455 msgid "B<part_num>"
15456 msgstr ""
15457
15458 #. type: textblock
15459 #: ../fish/guestfish-actions.pod:3623
15460 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3623
15461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5479
15462 #: ../src/guestfs-actions.pod:5479
15463 msgid "Partition number, counting from 1."
15464 msgstr ""
15465
15466 #. type: =item
15467 #: ../fish/guestfish-actions.pod:3625
15468 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3625
15469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5481
15470 #: ../src/guestfs-actions.pod:5481
15471 msgid "B<part_start>"
15472 msgstr ""
15473
15474 #. type: textblock
15475 #: ../fish/guestfish-actions.pod:3627
15476 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3627
15477 msgid ""
15478 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
15479 "the device's sector size, see L</blockdev-getss>."
15480 msgstr ""
15481
15482 #. type: =item
15483 #: ../fish/guestfish-actions.pod:3630
15484 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3630
15485 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5486
15486 #: ../src/guestfs-actions.pod:5486
15487 msgid "B<part_end>"
15488 msgstr ""
15489
15490 #. type: textblock
15491 #: ../fish/guestfish-actions.pod:3632
15492 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3632
15493 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5488
15494 #: ../src/guestfs-actions.pod:5488
15495 msgid "End of the partition in bytes."
15496 msgstr ""
15497
15498 #. type: =item
15499 #: ../fish/guestfish-actions.pod:3634
15500 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3634
15501 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5490
15502 #: ../src/guestfs-actions.pod:5490
15503 msgid "B<part_size>"
15504 msgstr ""
15505
15506 #. type: textblock
15507 #: ../fish/guestfish-actions.pod:3636
15508 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3636
15509 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5492
15510 #: ../src/guestfs-actions.pod:5492
15511 msgid "Size of the partition in bytes."
15512 msgstr ""
15513
15514 #. type: =head2
15515 #: ../fish/guestfish-actions.pod:3640
15516 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3640
15517 msgid "part-set-bootable"
15518 msgstr ""
15519
15520 #. type: verbatim
15521 #: ../fish/guestfish-actions.pod:3642
15522 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3642
15523 #, no-wrap
15524 msgid ""
15525 " part-set-bootable device partnum true|false\n"
15526 "\n"
15527 msgstr ""
15528
15529 #. type: textblock
15530 #: ../fish/guestfish-actions.pod:3644
15531 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3644
15532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5510
15533 #: ../src/guestfs-actions.pod:5510
15534 msgid ""
15535 "This sets the bootable flag on partition numbered C<partnum> on device "
15536 "C<device>.  Note that partitions are numbered from 1."
15537 msgstr ""
15538
15539 #. type: textblock
15540 #: ../fish/guestfish-actions.pod:3647
15541 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3647
15542 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5513
15543 #: ../src/guestfs-actions.pod:5513
15544 msgid ""
15545 "The bootable flag is used by some operating systems (notably Windows) to "
15546 "determine which partition to boot from.  It is by no means universally "
15547 "recognized."
15548 msgstr ""
15549
15550 #. type: =head2
15551 #: ../fish/guestfish-actions.pod:3651
15552 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3651
15553 msgid "part-set-mbr-id"
15554 msgstr ""
15555
15556 #. type: verbatim
15557 #: ../fish/guestfish-actions.pod:3653
15558 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3653
15559 #, no-wrap
15560 msgid ""
15561 " part-set-mbr-id device partnum idbyte\n"
15562 "\n"
15563 msgstr ""
15564
15565 #. type: textblock
15566 #: ../fish/guestfish-actions.pod:3655
15567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3655
15568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5529
15569 #: ../src/guestfs-actions.pod:5529
15570 msgid ""
15571 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
15572 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
15573 "documentation are in fact hexadecimal numbers, but usually documented "
15574 "without any leading \"0x\" which might be confusing."
15575 msgstr ""
15576
15577 #. type: =head2
15578 #: ../fish/guestfish-actions.pod:3665
15579 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3665
15580 msgid "part-set-name"
15581 msgstr ""
15582
15583 #. type: verbatim
15584 #: ../fish/guestfish-actions.pod:3667
15585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3667
15586 #, no-wrap
15587 msgid ""
15588 " part-set-name device partnum name\n"
15589 "\n"
15590 msgstr ""
15591
15592 #. type: textblock
15593 #: ../fish/guestfish-actions.pod:3669
15594 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3669
15595 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5551
15596 #: ../src/guestfs-actions.pod:5551
15597 msgid ""
15598 "This sets the partition name on partition numbered C<partnum> on device "
15599 "C<device>.  Note that partitions are numbered from 1."
15600 msgstr ""
15601
15602 #. type: textblock
15603 #: ../fish/guestfish-actions.pod:3672
15604 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3672
15605 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5554
15606 #: ../src/guestfs-actions.pod:5554
15607 msgid ""
15608 "The partition name can only be set on certain types of partition table.  "
15609 "This works on C<gpt> but not on C<mbr> partitions."
15610 msgstr ""
15611
15612 #. type: =head2
15613 #: ../fish/guestfish-actions.pod:3675
15614 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3675
15615 msgid "part-to-dev"
15616 msgstr ""
15617
15618 #. type: verbatim
15619 #: ../fish/guestfish-actions.pod:3677
15620 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3677
15621 #, no-wrap
15622 msgid ""
15623 " part-to-dev partition\n"
15624 "\n"
15625 msgstr ""
15626
15627 #. type: textblock
15628 #: ../fish/guestfish-actions.pod:3679
15629 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3679
15630 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5567
15631 #: ../src/guestfs-actions.pod:5567
15632 msgid ""
15633 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
15634 "partition number, returning the device name (eg. \"/dev/sdb\")."
15635 msgstr ""
15636
15637 #. type: textblock
15638 #: ../fish/guestfish-actions.pod:3683
15639 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3683
15640 msgid ""
15641 "The named partition must exist, for example as a string returned from L</"
15642 "list-partitions>."
15643 msgstr ""
15644
15645 #. type: =head2
15646 #: ../fish/guestfish-actions.pod:3686
15647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3686
15648 msgid "ping-daemon"
15649 msgstr ""
15650
15651 #. type: verbatim
15652 #: ../fish/guestfish-actions.pod:3688
15653 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3688
15654 #, no-wrap
15655 msgid ""
15656 " ping-daemon\n"
15657 "\n"
15658 msgstr ""
15659
15660 #. type: textblock
15661 #: ../fish/guestfish-actions.pod:3690
15662 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3690
15663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5584
15664 #: ../src/guestfs-actions.pod:5584
15665 msgid ""
15666 "This is a test probe into the guestfs daemon running inside the qemu "
15667 "subprocess.  Calling this function checks that the daemon responds to the "
15668 "ping message, without affecting the daemon or attached block device(s) in "
15669 "any other way."
15670 msgstr ""
15671
15672 #. type: =head2
15673 #: ../fish/guestfish-actions.pod:3695
15674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3695
15675 msgid "pread"
15676 msgstr ""
15677
15678 #. type: verbatim
15679 #: ../fish/guestfish-actions.pod:3697
15680 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3697
15681 #, no-wrap
15682 msgid ""
15683 " pread path count offset\n"
15684 "\n"
15685 msgstr ""
15686
15687 #. type: textblock
15688 #: ../fish/guestfish-actions.pod:3699
15689 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3699
15690 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5602
15691 #: ../src/guestfs-actions.pod:5602
15692 msgid ""
15693 "This command lets you read part of a file.  It reads C<count> bytes of the "
15694 "file, starting at C<offset>, from file C<path>."
15695 msgstr ""
15696
15697 #. type: textblock
15698 #: ../fish/guestfish-actions.pod:3702 ../fish/guestfish-actions.pod:3717
15699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3702
15700 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3717
15701 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5605
15702 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5631
15703 #: ../src/guestfs-actions.pod:5605 ../src/guestfs-actions.pod:5631
15704 msgid ""
15705 "This may read fewer bytes than requested.  For further details see the "
15706 "L<pread(2)> system call."
15707 msgstr ""
15708
15709 #. type: textblock
15710 #: ../fish/guestfish-actions.pod:3705
15711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3705
15712 msgid "See also L</pwrite>, L</pread-device>."
15713 msgstr ""
15714
15715 #. type: =head2
15716 #: ../fish/guestfish-actions.pod:3710
15717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3710
15718 msgid "pread-device"
15719 msgstr ""
15720
15721 #. type: verbatim
15722 #: ../fish/guestfish-actions.pod:3712
15723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3712
15724 #, no-wrap
15725 msgid ""
15726 " pread-device device count offset\n"
15727 "\n"
15728 msgstr ""
15729
15730 #. type: textblock
15731 #: ../fish/guestfish-actions.pod:3714
15732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3714
15733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5628
15734 #: ../src/guestfs-actions.pod:5628
15735 msgid ""
15736 "This command lets you read part of a file.  It reads C<count> bytes of "
15737 "C<device>, starting at C<offset>."
15738 msgstr ""
15739
15740 #. type: textblock
15741 #: ../fish/guestfish-actions.pod:3720
15742 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3720
15743 msgid "See also L</pread>."
15744 msgstr ""
15745
15746 #. type: =head2
15747 #: ../fish/guestfish-actions.pod:3725
15748 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3725
15749 msgid "pvcreate"
15750 msgstr ""
15751
15752 #. type: verbatim
15753 #: ../fish/guestfish-actions.pod:3727
15754 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3727
15755 #, no-wrap
15756 msgid ""
15757 " pvcreate device\n"
15758 "\n"
15759 msgstr ""
15760
15761 #. type: textblock
15762 #: ../fish/guestfish-actions.pod:3729
15763 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3729
15764 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5651
15765 #: ../src/guestfs-actions.pod:5651
15766 msgid ""
15767 "This creates an LVM physical volume on the named C<device>, where C<device> "
15768 "should usually be a partition name such as C</dev/sda1>."
15769 msgstr ""
15770
15771 #. type: =head2
15772 #: ../fish/guestfish-actions.pod:3733
15773 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3733
15774 msgid "pvremove"
15775 msgstr ""
15776
15777 #. type: verbatim
15778 #: ../fish/guestfish-actions.pod:3735
15779 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3735
15780 #, no-wrap
15781 msgid ""
15782 " pvremove device\n"
15783 "\n"
15784 msgstr ""
15785
15786 #. type: textblock
15787 #: ../fish/guestfish-actions.pod:3737
15788 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3737
15789 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5665
15790 #: ../src/guestfs-actions.pod:5665
15791 msgid ""
15792 "This wipes a physical volume C<device> so that LVM will no longer recognise "
15793 "it."
15794 msgstr ""
15795
15796 #. type: textblock
15797 #: ../fish/guestfish-actions.pod:3740
15798 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3740
15799 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5668
15800 #: ../src/guestfs-actions.pod:5668
15801 msgid ""
15802 "The implementation uses the C<pvremove> command which refuses to wipe "
15803 "physical volumes that contain any volume groups, so you have to remove those "
15804 "first."
15805 msgstr ""
15806
15807 #. type: =head2
15808 #: ../fish/guestfish-actions.pod:3744
15809 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3744
15810 msgid "pvresize"
15811 msgstr ""
15812
15813 #. type: verbatim
15814 #: ../fish/guestfish-actions.pod:3746
15815 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3746
15816 #, no-wrap
15817 msgid ""
15818 " pvresize device\n"
15819 "\n"
15820 msgstr ""
15821
15822 #. type: textblock
15823 #: ../fish/guestfish-actions.pod:3748
15824 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3748
15825 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5682
15826 #: ../src/guestfs-actions.pod:5682
15827 msgid ""
15828 "This resizes (expands or shrinks) an existing LVM physical volume to match "
15829 "the new size of the underlying device."
15830 msgstr ""
15831
15832 #. type: =head2
15833 #: ../fish/guestfish-actions.pod:3751
15834 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3751
15835 msgid "pvresize-size"
15836 msgstr ""
15837
15838 #. type: verbatim
15839 #: ../fish/guestfish-actions.pod:3753
15840 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3753
15841 #, no-wrap
15842 msgid ""
15843 " pvresize-size device size\n"
15844 "\n"
15845 msgstr ""
15846
15847 #. type: textblock
15848 #: ../fish/guestfish-actions.pod:3755
15849 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3755
15850 msgid ""
15851 "This command is the same as L</pvresize> except that it allows you to "
15852 "specify the new size (in bytes) explicitly."
15853 msgstr ""
15854
15855 #. type: =head2
15856 #: ../fish/guestfish-actions.pod:3758
15857 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3758
15858 msgid "pvs"
15859 msgstr ""
15860
15861 #. type: verbatim
15862 #: ../fish/guestfish-actions.pod:3760
15863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3760
15864 #, no-wrap
15865 msgid ""
15866 " pvs\n"
15867 "\n"
15868 msgstr ""
15869
15870 #. type: textblock
15871 #: ../fish/guestfish-actions.pod:3762
15872 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3762
15873 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5708
15874 #: ../src/guestfs-actions.pod:5708
15875 msgid ""
15876 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
15877 "(8)> command."
15878 msgstr ""
15879
15880 #. type: textblock
15881 #: ../fish/guestfish-actions.pod:3765
15882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3765
15883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5711
15884 #: ../src/guestfs-actions.pod:5711
15885 msgid ""
15886 "This returns a list of just the device names that contain PVs (eg. C</dev/"
15887 "sda2>)."
15888 msgstr ""
15889
15890 #. type: textblock
15891 #: ../fish/guestfish-actions.pod:3768
15892 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3768
15893 msgid "See also L</pvs-full>."
15894 msgstr ""
15895
15896 #. type: =head2
15897 #: ../fish/guestfish-actions.pod:3770
15898 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3770
15899 msgid "pvs-full"
15900 msgstr ""
15901
15902 #. type: verbatim
15903 #: ../fish/guestfish-actions.pod:3772
15904 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3772
15905 #, no-wrap
15906 msgid ""
15907 " pvs-full\n"
15908 "\n"
15909 msgstr ""
15910
15911 #. type: textblock
15912 #: ../fish/guestfish-actions.pod:3774
15913 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3774
15914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5727
15915 #: ../src/guestfs-actions.pod:5727
15916 msgid ""
15917 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
15918 "(8)> command.  The \"full\" version includes all fields."
15919 msgstr ""
15920
15921 #. type: =head2
15922 #: ../fish/guestfish-actions.pod:3777
15923 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3777
15924 msgid "pvuuid"
15925 msgstr ""
15926
15927 #. type: verbatim
15928 #: ../fish/guestfish-actions.pod:3779
15929 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3779
15930 #, no-wrap
15931 msgid ""
15932 " pvuuid device\n"
15933 "\n"
15934 msgstr ""
15935
15936 #. type: textblock
15937 #: ../fish/guestfish-actions.pod:3781
15938 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3781
15939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5742
15940 #: ../src/guestfs-actions.pod:5742
15941 msgid "This command returns the UUID of the LVM PV C<device>."
15942 msgstr ""
15943
15944 #. type: =head2
15945 #: ../fish/guestfish-actions.pod:3783
15946 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3783
15947 msgid "pwrite"
15948 msgstr ""
15949
15950 #. type: verbatim
15951 #: ../fish/guestfish-actions.pod:3785
15952 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3785
15953 #, no-wrap
15954 msgid ""
15955 " pwrite path content offset\n"
15956 "\n"
15957 msgstr ""
15958
15959 #. type: textblock
15960 #: ../fish/guestfish-actions.pod:3787
15961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3787
15962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5758
15963 #: ../src/guestfs-actions.pod:5758
15964 msgid ""
15965 "This command writes to part of a file.  It writes the data buffer C<content> "
15966 "to the file C<path> starting at offset C<offset>."
15967 msgstr ""
15968
15969 #. type: textblock
15970 #: ../fish/guestfish-actions.pod:3790
15971 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3790
15972 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5761
15973 #: ../src/guestfs-actions.pod:5761
15974 msgid ""
15975 "This command implements the L<pwrite(2)> system call, and like that system "
15976 "call it may not write the full data requested.  The return value is the "
15977 "number of bytes that were actually written to the file.  This could even be "
15978 "0, although short writes are unlikely for regular files in ordinary "
15979 "circumstances."
15980 msgstr ""
15981
15982 #. type: textblock
15983 #: ../fish/guestfish-actions.pod:3796
15984 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3796
15985 msgid "See also L</pread>, L</pwrite-device>."
15986 msgstr ""
15987
15988 #. type: =head2
15989 #: ../fish/guestfish-actions.pod:3801
15990 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3801
15991 msgid "pwrite-device"
15992 msgstr ""
15993
15994 #. type: verbatim
15995 #: ../fish/guestfish-actions.pod:3803
15996 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3803
15997 #, no-wrap
15998 msgid ""
15999 " pwrite-device device content offset\n"
16000 "\n"
16001 msgstr ""
16002
16003 #. type: textblock
16004 #: ../fish/guestfish-actions.pod:3805
16005 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3805
16006 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5785
16007 #: ../src/guestfs-actions.pod:5785
16008 msgid ""
16009 "This command writes to part of a device.  It writes the data buffer "
16010 "C<content> to C<device> starting at offset C<offset>."
16011 msgstr ""
16012
16013 #. type: textblock
16014 #: ../fish/guestfish-actions.pod:3808
16015 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3808
16016 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5788
16017 #: ../src/guestfs-actions.pod:5788
16018 msgid ""
16019 "This command implements the L<pwrite(2)> system call, and like that system "
16020 "call it may not write the full data requested (although short writes to disk "
16021 "devices and partitions are probably impossible with standard Linux kernels)."
16022 msgstr ""
16023
16024 #. type: textblock
16025 #: ../fish/guestfish-actions.pod:3813
16026 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3813
16027 msgid "See also L</pwrite>."
16028 msgstr ""
16029
16030 #. type: =head2
16031 #: ../fish/guestfish-actions.pod:3818
16032 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3818
16033 msgid "read-file"
16034 msgstr ""
16035
16036 #. type: verbatim
16037 #: ../fish/guestfish-actions.pod:3820
16038 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3820
16039 #, no-wrap
16040 msgid ""
16041 " read-file path\n"
16042 "\n"
16043 msgstr ""
16044
16045 #. type: textblock
16046 #: ../fish/guestfish-actions.pod:3822
16047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3822
16048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5809
16049 #: ../src/guestfs-actions.pod:5809
16050 msgid "This calls returns the contents of the file C<path> as a buffer."
16051 msgstr ""
16052
16053 #. type: textblock
16054 #: ../fish/guestfish-actions.pod:3825
16055 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3825
16056 msgid ""
16057 "Unlike L</cat>, this function can correctly handle files that contain "
16058 "embedded ASCII NUL characters.  However unlike L</download>, this function "
16059 "is limited in the total size of file that can be handled."
16060 msgstr ""
16061
16062 #. type: =head2
16063 #: ../fish/guestfish-actions.pod:3833
16064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3833
16065 msgid "read-lines"
16066 msgstr ""
16067
16068 #. type: verbatim
16069 #: ../fish/guestfish-actions.pod:3835
16070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3835
16071 #, no-wrap
16072 msgid ""
16073 " read-lines path\n"
16074 "\n"
16075 msgstr ""
16076
16077 #. type: textblock
16078 #: ../fish/guestfish-actions.pod:3839
16079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3839
16080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5834
16081 #: ../src/guestfs-actions.pod:5834
16082 msgid ""
16083 "The file contents are returned as a list of lines.  Trailing C<LF> and "
16084 "C<CRLF> character sequences are I<not> returned."
16085 msgstr ""
16086
16087 #. type: textblock
16088 #: ../fish/guestfish-actions.pod:3842
16089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3842
16090 msgid ""
16091 "Note that this function cannot correctly handle binary files (specifically, "
16092 "files containing C<\\0> character which is treated as end of line).  For "
16093 "those you need to use the L</read-file> function which has a more complex "
16094 "interface."
16095 msgstr ""
16096
16097 #. type: =head2
16098 #: ../fish/guestfish-actions.pod:3847
16099 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3847
16100 msgid "readdir"
16101 msgstr ""
16102
16103 #. type: verbatim
16104 #: ../fish/guestfish-actions.pod:3849
16105 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3849
16106 #, no-wrap
16107 msgid ""
16108 " readdir dir\n"
16109 "\n"
16110 msgstr ""
16111
16112 #. type: textblock
16113 #: ../fish/guestfish-actions.pod:3851
16114 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3851
16115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5854
16116 #: ../src/guestfs-actions.pod:5854
16117 msgid "This returns the list of directory entries in directory C<dir>."
16118 msgstr ""
16119
16120 #. type: textblock
16121 #: ../fish/guestfish-actions.pod:3853
16122 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3853
16123 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5856
16124 #: ../src/guestfs-actions.pod:5856
16125 msgid ""
16126 "All entries in the directory are returned, including C<.> and C<..>.  The "
16127 "entries are I<not> sorted, but returned in the same order as the underlying "
16128 "filesystem."
16129 msgstr ""
16130
16131 #. type: textblock
16132 #: ../fish/guestfish-actions.pod:3857
16133 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3857
16134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5860
16135 #: ../src/guestfs-actions.pod:5860
16136 msgid ""
16137 "Also this call returns basic file type information about each file.  The "
16138 "C<ftyp> field will contain one of the following characters:"
16139 msgstr ""
16140
16141 #. type: =item
16142 #: ../fish/guestfish-actions.pod:3862
16143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3862
16144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5865
16145 #: ../src/guestfs-actions.pod:5865
16146 msgid "'b'"
16147 msgstr ""
16148
16149 #. type: textblock
16150 #: ../fish/guestfish-actions.pod:3864
16151 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3864
16152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5867
16153 #: ../src/guestfs-actions.pod:5867
16154 msgid "Block special"
16155 msgstr ""
16156
16157 #. type: =item
16158 #: ../fish/guestfish-actions.pod:3866
16159 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3866
16160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5869
16161 #: ../src/guestfs-actions.pod:5869
16162 msgid "'c'"
16163 msgstr ""
16164
16165 #. type: textblock
16166 #: ../fish/guestfish-actions.pod:3868
16167 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3868
16168 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5871
16169 #: ../src/guestfs-actions.pod:5871
16170 msgid "Char special"
16171 msgstr ""
16172
16173 #. type: =item
16174 #: ../fish/guestfish-actions.pod:3870
16175 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3870
16176 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5873
16177 #: ../src/guestfs-actions.pod:5873
16178 msgid "'d'"
16179 msgstr ""
16180
16181 #. type: textblock
16182 #: ../fish/guestfish-actions.pod:3872
16183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3872
16184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5875
16185 #: ../src/guestfs-actions.pod:5875
16186 msgid "Directory"
16187 msgstr ""
16188
16189 #. type: =item
16190 #: ../fish/guestfish-actions.pod:3874
16191 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3874
16192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5877
16193 #: ../src/guestfs-actions.pod:5877
16194 msgid "'f'"
16195 msgstr ""
16196
16197 #. type: textblock
16198 #: ../fish/guestfish-actions.pod:3876
16199 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3876
16200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5879
16201 #: ../src/guestfs-actions.pod:5879
16202 msgid "FIFO (named pipe)"
16203 msgstr ""
16204
16205 #. type: =item
16206 #: ../fish/guestfish-actions.pod:3878
16207 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3878
16208 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5881
16209 #: ../src/guestfs-actions.pod:5881
16210 msgid "'l'"
16211 msgstr ""
16212
16213 #. type: textblock
16214 #: ../fish/guestfish-actions.pod:3880
16215 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3880
16216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5883
16217 #: ../src/guestfs-actions.pod:5883
16218 msgid "Symbolic link"
16219 msgstr ""
16220
16221 #. type: =item
16222 #: ../fish/guestfish-actions.pod:3882
16223 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3882
16224 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5885
16225 #: ../src/guestfs-actions.pod:5885
16226 msgid "'r'"
16227 msgstr ""
16228
16229 #. type: textblock
16230 #: ../fish/guestfish-actions.pod:3884
16231 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3884
16232 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5887
16233 #: ../src/guestfs-actions.pod:5887
16234 msgid "Regular file"
16235 msgstr ""
16236
16237 #. type: =item
16238 #: ../fish/guestfish-actions.pod:3886
16239 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3886
16240 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5889
16241 #: ../src/guestfs-actions.pod:5889
16242 msgid "'s'"
16243 msgstr ""
16244
16245 #. type: textblock
16246 #: ../fish/guestfish-actions.pod:3888
16247 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3888
16248 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5891
16249 #: ../src/guestfs-actions.pod:5891
16250 msgid "Socket"
16251 msgstr ""
16252
16253 #. type: =item
16254 #: ../fish/guestfish-actions.pod:3890
16255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3890
16256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5893
16257 #: ../src/guestfs-actions.pod:5893
16258 msgid "'u'"
16259 msgstr ""
16260
16261 #. type: textblock
16262 #: ../fish/guestfish-actions.pod:3892
16263 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3892
16264 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5895
16265 #: ../src/guestfs-actions.pod:5895
16266 msgid "Unknown file type"
16267 msgstr ""
16268
16269 #. type: =item
16270 #: ../fish/guestfish-actions.pod:3894
16271 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3894
16272 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5897
16273 #: ../src/guestfs-actions.pod:5897
16274 msgid "'?'"
16275 msgstr ""
16276
16277 #. type: textblock
16278 #: ../fish/guestfish-actions.pod:3896
16279 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3896
16280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5899
16281 #: ../src/guestfs-actions.pod:5899
16282 msgid ""
16283 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
16284 msgstr ""
16285
16286 #. type: textblock
16287 #: ../fish/guestfish-actions.pod:3901
16288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3901
16289 msgid ""
16290 "This function is primarily intended for use by programs.  To get a simple "
16291 "list of names, use L</ls>.  To get a printable directory for human "
16292 "consumption, use L</ll>."
16293 msgstr ""
16294
16295 #. type: =head2
16296 #: ../fish/guestfish-actions.pod:3905
16297 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3905
16298 msgid "readlink"
16299 msgstr ""
16300
16301 #. type: verbatim
16302 #: ../fish/guestfish-actions.pod:3907
16303 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3907
16304 #, no-wrap
16305 msgid ""
16306 " readlink path\n"
16307 "\n"
16308 msgstr ""
16309
16310 #. type: textblock
16311 #: ../fish/guestfish-actions.pod:3909
16312 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3909
16313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5920
16314 #: ../src/guestfs-actions.pod:5920
16315 msgid "This command reads the target of a symbolic link."
16316 msgstr ""
16317
16318 #. type: =head2
16319 #: ../fish/guestfish-actions.pod:3911
16320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3911
16321 msgid "readlinklist"
16322 msgstr ""
16323
16324 #. type: verbatim
16325 #: ../fish/guestfish-actions.pod:3913
16326 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3913
16327 #, no-wrap
16328 msgid ""
16329 " readlinklist path 'names ...'\n"
16330 "\n"
16331 msgstr ""
16332
16333 #. type: textblock
16334 #: ../fish/guestfish-actions.pod:3915
16335 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3915
16336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5934
16337 #: ../src/guestfs-actions.pod:5934
16338 msgid ""
16339 "This call allows you to do a C<readlink> operation on multiple files, where "
16340 "all files are in the directory C<path>.  C<names> is the list of files from "
16341 "this directory."
16342 msgstr ""
16343
16344 #. type: textblock
16345 #: ../fish/guestfish-actions.pod:3919
16346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3919
16347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5938
16348 #: ../src/guestfs-actions.pod:5938
16349 msgid ""
16350 "On return you get a list of strings, with a one-to-one correspondence to the "
16351 "C<names> list.  Each string is the value of the symbolic link."
16352 msgstr ""
16353
16354 #. type: textblock
16355 #: ../fish/guestfish-actions.pod:3923
16356 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3923
16357 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5942
16358 #: ../src/guestfs-actions.pod:5942
16359 msgid ""
16360 "If the C<readlink(2)> operation fails on any name, then the corresponding "
16361 "result string is the empty string C<\"\">.  However the whole operation is "
16362 "completed even if there were C<readlink(2)> errors, and so you can call this "
16363 "function with names where you don't know if they are symbolic links already "
16364 "(albeit slightly less efficient)."
16365 msgstr ""
16366
16367 #. type: textblock
16368 #: ../fish/guestfish-actions.pod:3930
16369 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3930
16370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5949
16371 #: ../src/guestfs-actions.pod:5949
16372 msgid ""
16373 "This call is intended for programs that want to efficiently list a directory "
16374 "contents without making many round-trips.  Very long directory listings "
16375 "might cause the protocol message size to be exceeded, causing this call to "
16376 "fail.  The caller must split up such requests into smaller groups of names."
16377 msgstr ""
16378
16379 #. type: =head2
16380 #: ../fish/guestfish-actions.pod:3937
16381 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3937
16382 msgid "realpath"
16383 msgstr ""
16384
16385 #. type: verbatim
16386 #: ../fish/guestfish-actions.pod:3939
16387 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3939
16388 #, no-wrap
16389 msgid ""
16390 " realpath path\n"
16391 "\n"
16392 msgstr ""
16393
16394 #. type: textblock
16395 #: ../fish/guestfish-actions.pod:3941
16396 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3941
16397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5968
16398 #: ../src/guestfs-actions.pod:5968
16399 msgid ""
16400 "Return the canonicalized absolute pathname of C<path>.  The returned path "
16401 "has no C<.>, C<..> or symbolic link path elements."
16402 msgstr ""
16403
16404 #. type: =head2
16405 #: ../fish/guestfish-actions.pod:3944
16406 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3944
16407 msgid "removexattr"
16408 msgstr ""
16409
16410 #. type: verbatim
16411 #: ../fish/guestfish-actions.pod:3946
16412 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3946
16413 #, no-wrap
16414 msgid ""
16415 " removexattr xattr path\n"
16416 "\n"
16417 msgstr ""
16418
16419 #. type: textblock
16420 #: ../fish/guestfish-actions.pod:3948
16421 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3948
16422 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5983
16423 #: ../src/guestfs-actions.pod:5983
16424 msgid ""
16425 "This call removes the extended attribute named C<xattr> of the file C<path>."
16426 msgstr ""
16427
16428 #. type: textblock
16429 #: ../fish/guestfish-actions.pod:3951
16430 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3951
16431 msgid "See also: L</lremovexattr>, L<attr(5)>."
16432 msgstr ""
16433
16434 #. type: =head2
16435 #: ../fish/guestfish-actions.pod:3953
16436 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3953
16437 msgid "resize2fs"
16438 msgstr ""
16439
16440 #. type: verbatim
16441 #: ../fish/guestfish-actions.pod:3955
16442 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3955
16443 #, no-wrap
16444 msgid ""
16445 " resize2fs device\n"
16446 "\n"
16447 msgstr ""
16448
16449 #. type: textblock
16450 #: ../fish/guestfish-actions.pod:3957
16451 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3957
16452 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5998
16453 #: ../src/guestfs-actions.pod:5998
16454 msgid ""
16455 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
16456 "underlying device."
16457 msgstr ""
16458
16459 #. type: textblock
16460 #: ../fish/guestfish-actions.pod:3960
16461 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3960
16462 msgid ""
16463 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
16464 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
16465 "gives an error about this and sometimes not.  In any case, it is always safe "
16466 "to call L</e2fsck-f> before calling this function."
16467 msgstr ""
16468
16469 #. type: =head2
16470 #: ../fish/guestfish-actions.pod:3966
16471 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3966
16472 msgid "resize2fs-M"
16473 msgstr ""
16474
16475 #. type: verbatim
16476 #: ../fish/guestfish-actions.pod:3968
16477 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3968
16478 #, no-wrap
16479 msgid ""
16480 " resize2fs-M device\n"
16481 "\n"
16482 msgstr ""
16483
16484 #. type: textblock
16485 #: ../fish/guestfish-actions.pod:3970
16486 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3970
16487 msgid ""
16488 "This command is the same as L</resize2fs>, but the filesystem is resized to "
16489 "its minimum size.  This works like the I<-M> option to the C<resize2fs> "
16490 "command."
16491 msgstr ""
16492
16493 #. type: textblock
16494 #: ../fish/guestfish-actions.pod:3974
16495 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3974
16496 msgid ""
16497 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
16498 "and read the C<Block size> and C<Block count> values.  These two numbers, "
16499 "multiplied together, give the resulting size of the minimal filesystem in "
16500 "bytes."
16501 msgstr ""
16502
16503 #. type: =head2
16504 #: ../fish/guestfish-actions.pod:3979
16505 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3979
16506 msgid "resize2fs-size"
16507 msgstr ""
16508
16509 #. type: verbatim
16510 #: ../fish/guestfish-actions.pod:3981
16511 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3981
16512 #, no-wrap
16513 msgid ""
16514 " resize2fs-size device size\n"
16515 "\n"
16516 msgstr ""
16517
16518 #. type: textblock
16519 #: ../fish/guestfish-actions.pod:3983
16520 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3983
16521 msgid ""
16522 "This command is the same as L</resize2fs> except that it allows you to "
16523 "specify the new size (in bytes) explicitly."
16524 msgstr ""
16525
16526 #. type: =head2
16527 #: ../fish/guestfish-actions.pod:3986
16528 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3986
16529 msgid "rm"
16530 msgstr ""
16531
16532 #. type: verbatim
16533 #: ../fish/guestfish-actions.pod:3988
16534 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3988
16535 #, no-wrap
16536 msgid ""
16537 " rm path\n"
16538 "\n"
16539 msgstr ""
16540
16541 #. type: textblock
16542 #: ../fish/guestfish-actions.pod:3990
16543 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3990
16544 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6050
16545 #: ../src/guestfs-actions.pod:6050
16546 msgid "Remove the single file C<path>."
16547 msgstr ""
16548
16549 #. type: =head2
16550 #: ../fish/guestfish-actions.pod:3992
16551 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3992
16552 msgid "rm-rf"
16553 msgstr ""
16554
16555 #. type: verbatim
16556 #: ../fish/guestfish-actions.pod:3994
16557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3994
16558 #, no-wrap
16559 msgid ""
16560 " rm-rf path\n"
16561 "\n"
16562 msgstr ""
16563
16564 #. type: textblock
16565 #: ../fish/guestfish-actions.pod:3996
16566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3996
16567 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6062
16568 #: ../src/guestfs-actions.pod:6062
16569 msgid ""
16570 "Remove the file or directory C<path>, recursively removing the contents if "
16571 "its a directory.  This is like the C<rm -rf> shell command."
16572 msgstr ""
16573
16574 #. type: =head2
16575 #: ../fish/guestfish-actions.pod:4000
16576 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4000
16577 msgid "rmdir"
16578 msgstr ""
16579
16580 #. type: verbatim
16581 #: ../fish/guestfish-actions.pod:4002
16582 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4002
16583 #, no-wrap
16584 msgid ""
16585 " rmdir path\n"
16586 "\n"
16587 msgstr ""
16588
16589 #. type: textblock
16590 #: ../fish/guestfish-actions.pod:4004
16591 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4004
16592 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6076
16593 #: ../src/guestfs-actions.pod:6076
16594 msgid "Remove the single directory C<path>."
16595 msgstr ""
16596
16597 #. type: =head2
16598 #: ../fish/guestfish-actions.pod:4006
16599 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4006
16600 msgid "rmmountpoint"
16601 msgstr ""
16602
16603 #. type: verbatim
16604 #: ../fish/guestfish-actions.pod:4008
16605 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4008
16606 #, no-wrap
16607 msgid ""
16608 " rmmountpoint exemptpath\n"
16609 "\n"
16610 msgstr ""
16611
16612 #. type: textblock
16613 #: ../fish/guestfish-actions.pod:4010
16614 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4010
16615 msgid ""
16616 "This calls removes a mountpoint that was previously created with L</"
16617 "mkmountpoint>.  See L</mkmountpoint> for full details."
16618 msgstr ""
16619
16620 #. type: =head2
16621 #: ../fish/guestfish-actions.pod:4014
16622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4014
16623 msgid "scrub-device"
16624 msgstr ""
16625
16626 #. type: verbatim
16627 #: ../fish/guestfish-actions.pod:4016
16628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4016
16629 #, no-wrap
16630 msgid ""
16631 " scrub-device device\n"
16632 "\n"
16633 msgstr ""
16634
16635 #. type: textblock
16636 #: ../fish/guestfish-actions.pod:4018
16637 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4018
16638 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6102
16639 #: ../src/guestfs-actions.pod:6102
16640 msgid ""
16641 "This command writes patterns over C<device> to make data retrieval more "
16642 "difficult."
16643 msgstr ""
16644
16645 #. type: textblock
16646 #: ../fish/guestfish-actions.pod:4021 ../fish/guestfish-actions.pod:4036
16647 #: ../fish/guestfish-actions.pod:4049
16648 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4021
16649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4036
16650 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4049
16651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6105
16652 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6126
16653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6145
16654 #: ../src/guestfs-actions.pod:6105 ../src/guestfs-actions.pod:6126
16655 #: ../src/guestfs-actions.pod:6145
16656 msgid ""
16657 "It is an interface to the L<scrub(1)> program.  See that manual page for "
16658 "more details."
16659 msgstr ""
16660
16661 #. type: =head2
16662 #: ../fish/guestfish-actions.pod:4027
16663 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4027
16664 msgid "scrub-file"
16665 msgstr ""
16666
16667 #. type: verbatim
16668 #: ../fish/guestfish-actions.pod:4029
16669 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4029
16670 #, no-wrap
16671 msgid ""
16672 " scrub-file file\n"
16673 "\n"
16674 msgstr ""
16675
16676 #. type: textblock
16677 #: ../fish/guestfish-actions.pod:4031
16678 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4031
16679 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6121
16680 #: ../src/guestfs-actions.pod:6121
16681 msgid ""
16682 "This command writes patterns over a file to make data retrieval more "
16683 "difficult."
16684 msgstr ""
16685
16686 #. type: textblock
16687 #: ../fish/guestfish-actions.pod:4034
16688 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4034
16689 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6124
16690 #: ../src/guestfs-actions.pod:6124
16691 msgid "The file is I<removed> after scrubbing."
16692 msgstr ""
16693
16694 #. type: =head2
16695 #: ../fish/guestfish-actions.pod:4039
16696 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4039
16697 msgid "scrub-freespace"
16698 msgstr ""
16699
16700 #. type: verbatim
16701 #: ../fish/guestfish-actions.pod:4041
16702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4041
16703 #, no-wrap
16704 msgid ""
16705 " scrub-freespace dir\n"
16706 "\n"
16707 msgstr ""
16708
16709 #. type: textblock
16710 #: ../fish/guestfish-actions.pod:4043
16711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4043
16712 msgid ""
16713 "This command creates the directory C<dir> and then fills it with files until "
16714 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
16715 "deletes them.  The intention is to scrub any free space on the partition "
16716 "containing C<dir>."
16717 msgstr ""
16718
16719 #. type: =head2
16720 #: ../fish/guestfish-actions.pod:4052
16721 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4052
16722 msgid "set-append"
16723 msgstr ""
16724
16725 #. type: =head2
16726 #: ../fish/guestfish-actions.pod:4054
16727 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4054
16728 msgid "append"
16729 msgstr ""
16730
16731 #. type: verbatim
16732 #: ../fish/guestfish-actions.pod:4056
16733 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4056
16734 #, no-wrap
16735 msgid ""
16736 " set-append append\n"
16737 "\n"
16738 msgstr ""
16739
16740 #. type: textblock
16741 #: ../fish/guestfish-actions.pod:4058
16742 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4058
16743 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6158
16744 #: ../src/guestfs-actions.pod:6158
16745 msgid ""
16746 "This function is used to add additional options to the guest kernel command "
16747 "line."
16748 msgstr ""
16749
16750 #. type: textblock
16751 #: ../fish/guestfish-actions.pod:4061
16752 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4061
16753 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6161
16754 #: ../src/guestfs-actions.pod:6161
16755 msgid ""
16756 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
16757 "environment variable."
16758 msgstr ""
16759
16760 #. type: textblock
16761 #: ../fish/guestfish-actions.pod:4064
16762 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4064
16763 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6164
16764 #: ../src/guestfs-actions.pod:6164
16765 msgid ""
16766 "Setting C<append> to C<NULL> means I<no> additional options are passed "
16767 "(libguestfs always adds a few of its own)."
16768 msgstr ""
16769
16770 #. type: =head2
16771 #: ../fish/guestfish-actions.pod:4067
16772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4067
16773 msgid "set-attach-method"
16774 msgstr ""
16775
16776 #. type: =head2
16777 #: ../fish/guestfish-actions.pod:4069
16778 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4069
16779 msgid "attach-method"
16780 msgstr ""
16781
16782 #. type: verbatim
16783 #: ../fish/guestfish-actions.pod:4071
16784 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4071
16785 #, no-wrap
16786 msgid ""
16787 " set-attach-method attachmethod\n"
16788 "\n"
16789 msgstr ""
16790
16791 #. type: textblock
16792 #: ../fish/guestfish-actions.pod:4073
16793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4073
16794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6177
16795 #: ../src/guestfs-actions.pod:6177
16796 msgid ""
16797 "Set the method that libguestfs uses to connect to the back end guestfsd "
16798 "daemon.  Possible methods are:"
16799 msgstr ""
16800
16801 #. type: =item
16802 #: ../fish/guestfish-actions.pod:4078
16803 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4078
16804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6182
16805 #: ../libguestfs-1.11.20/src/guestfs.pod:2687 ../src/guestfs-actions.pod:6182
16806 #: ../src/guestfs.pod:2687
16807 msgid "C<appliance>"
16808 msgstr ""
16809
16810 #. type: textblock
16811 #: ../fish/guestfish-actions.pod:4080
16812 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4080
16813 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6184
16814 #: ../src/guestfs-actions.pod:6184
16815 msgid ""
16816 "Launch an appliance and connect to it.  This is the ordinary method and the "
16817 "default."
16818 msgstr ""
16819
16820 #. type: =item
16821 #: ../fish/guestfish-actions.pod:4083
16822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4083
16823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6187
16824 #: ../src/guestfs-actions.pod:6187
16825 msgid "C<unix:I<path>>"
16826 msgstr ""
16827
16828 #. type: textblock
16829 #: ../fish/guestfish-actions.pod:4085
16830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4085
16831 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6189
16832 #: ../src/guestfs-actions.pod:6189
16833 msgid "Connect to the Unix domain socket I<path>."
16834 msgstr ""
16835
16836 #. type: textblock
16837 #: ../fish/guestfish-actions.pod:4087
16838 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4087
16839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6191
16840 #: ../src/guestfs-actions.pod:6191
16841 msgid ""
16842 "This method lets you connect to an existing daemon or (using virtio-serial) "
16843 "to a live guest.  For more information, see L<guestfs(3)/ATTACHING TO "
16844 "RUNNING DAEMONS>."
16845 msgstr ""
16846
16847 #. type: =head2
16848 #: ../fish/guestfish-actions.pod:4093
16849 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4093
16850 msgid "set-autosync"
16851 msgstr ""
16852
16853 #. type: =head2
16854 #: ../fish/guestfish-actions.pod:4095
16855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4095
16856 msgid "autosync"
16857 msgstr ""
16858
16859 #. type: verbatim
16860 #: ../fish/guestfish-actions.pod:4097
16861 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4097
16862 #, no-wrap
16863 msgid ""
16864 " set-autosync true|false\n"
16865 "\n"
16866 msgstr ""
16867
16868 #. type: textblock
16869 #: ../fish/guestfish-actions.pod:4099
16870 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4099
16871 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6207
16872 #: ../src/guestfs-actions.pod:6207
16873 msgid ""
16874 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
16875 "effort attempt to make filesystems consistent and synchronized when the "
16876 "handle is closed (also if the program exits without closing handles)."
16877 msgstr ""
16878
16879 #. type: textblock
16880 #: ../fish/guestfish-actions.pod:4104
16881 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4104
16882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6212
16883 #: ../src/guestfs-actions.pod:6212
16884 msgid ""
16885 "This is enabled by default (since libguestfs 1.5.24, previously it was "
16886 "disabled by default)."
16887 msgstr ""
16888
16889 #. type: =head2
16890 #: ../fish/guestfish-actions.pod:4107
16891 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4107
16892 msgid "set-direct"
16893 msgstr ""
16894
16895 #. type: =head2
16896 #: ../fish/guestfish-actions.pod:4109
16897 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4109
16898 msgid "direct"
16899 msgstr ""
16900
16901 #. type: verbatim
16902 #: ../fish/guestfish-actions.pod:4111
16903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4111
16904 #, no-wrap
16905 msgid ""
16906 " set-direct true|false\n"
16907 "\n"
16908 msgstr ""
16909
16910 #. type: textblock
16911 #: ../fish/guestfish-actions.pod:4113
16912 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4113
16913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6225
16914 #: ../src/guestfs-actions.pod:6225
16915 msgid ""
16916 "If the direct appliance mode flag is enabled, then stdin and stdout are "
16917 "passed directly through to the appliance once it is launched."
16918 msgstr ""
16919
16920 #. type: textblock
16921 #: ../fish/guestfish-actions.pod:4117
16922 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4117
16923 msgid ""
16924 "One consequence of this is that log messages aren't caught by the library "
16925 "and handled by L</set-log-message-callback>, but go straight to stdout."
16926 msgstr ""
16927
16928 #. type: textblock
16929 #: ../fish/guestfish-actions.pod:4121
16930 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4121
16931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6233
16932 #: ../src/guestfs-actions.pod:6233
16933 msgid "You probably don't want to use this unless you know what you are doing."
16934 msgstr ""
16935
16936 #. type: textblock
16937 #: ../fish/guestfish-actions.pod:4124
16938 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4124
16939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6236
16940 #: ../src/guestfs-actions.pod:6236
16941 msgid "The default is disabled."
16942 msgstr ""
16943
16944 #. type: =head2
16945 #: ../fish/guestfish-actions.pod:4126
16946 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4126
16947 msgid "set-e2label"
16948 msgstr ""
16949
16950 #. type: verbatim
16951 #: ../fish/guestfish-actions.pod:4128
16952 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4128
16953 #, no-wrap
16954 msgid ""
16955 " set-e2label device label\n"
16956 "\n"
16957 msgstr ""
16958
16959 #. type: textblock
16960 #: ../fish/guestfish-actions.pod:4130
16961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4130
16962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6249
16963 #: ../src/guestfs-actions.pod:6249
16964 msgid ""
16965 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
16966 "C<label>.  Filesystem labels are limited to 16 characters."
16967 msgstr ""
16968
16969 #. type: textblock
16970 #: ../fish/guestfish-actions.pod:4134
16971 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4134
16972 msgid ""
16973 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
16974 "label on a filesystem."
16975 msgstr ""
16976
16977 #. type: =head2
16978 #: ../fish/guestfish-actions.pod:4137
16979 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4137
16980 msgid "set-e2uuid"
16981 msgstr ""
16982
16983 #. type: verbatim
16984 #: ../fish/guestfish-actions.pod:4139
16985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4139
16986 #, no-wrap
16987 msgid ""
16988 " set-e2uuid device uuid\n"
16989 "\n"
16990 msgstr ""
16991
16992 #. type: textblock
16993 #: ../fish/guestfish-actions.pod:4141
16994 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4141
16995 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6267
16996 #: ../src/guestfs-actions.pod:6267
16997 msgid ""
16998 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
16999 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
17000 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
17001 msgstr ""
17002
17003 #. type: textblock
17004 #: ../fish/guestfish-actions.pod:4146
17005 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4146
17006 msgid ""
17007 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
17008 "UUID of a filesystem."
17009 msgstr ""
17010
17011 #. type: =head2
17012 #: ../fish/guestfish-actions.pod:4149
17013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4149
17014 msgid "set-memsize"
17015 msgstr ""
17016
17017 #. type: =head2
17018 #: ../fish/guestfish-actions.pod:4151
17019 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4151
17020 msgid "memsize"
17021 msgstr ""
17022
17023 #. type: verbatim
17024 #: ../fish/guestfish-actions.pod:4153
17025 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4153
17026 #, no-wrap
17027 msgid ""
17028 " set-memsize memsize\n"
17029 "\n"
17030 msgstr ""
17031
17032 #. type: textblock
17033 #: ../fish/guestfish-actions.pod:4155
17034 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4155
17035 msgid ""
17036 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
17037 "This only has any effect if called before L</launch>."
17038 msgstr ""
17039
17040 #. type: textblock
17041 #: ../fish/guestfish-actions.pod:4159
17042 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4159
17043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6289
17044 #: ../src/guestfs-actions.pod:6289
17045 msgid ""
17046 "You can also change this by setting the environment variable "
17047 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
17048 msgstr ""
17049
17050 #. type: =head2
17051 #: ../fish/guestfish-actions.pod:4166
17052 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4166
17053 msgid "set-network"
17054 msgstr ""
17055
17056 #. type: =head2
17057 #: ../fish/guestfish-actions.pod:4168
17058 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4168
17059 msgid "network"
17060 msgstr ""
17061
17062 #. type: verbatim
17063 #: ../fish/guestfish-actions.pod:4170
17064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4170
17065 #, no-wrap
17066 msgid ""
17067 " set-network true|false\n"
17068 "\n"
17069 msgstr ""
17070
17071 #. type: textblock
17072 #: ../fish/guestfish-actions.pod:4172
17073 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4172
17074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6306
17075 #: ../src/guestfs-actions.pod:6306
17076 msgid ""
17077 "If C<network> is true, then the network is enabled in the libguestfs "
17078 "appliance.  The default is false."
17079 msgstr ""
17080
17081 #. type: textblock
17082 #: ../fish/guestfish-actions.pod:4175
17083 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4175
17084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6309
17085 #: ../src/guestfs-actions.pod:6309
17086 msgid ""
17087 "This affects whether commands are able to access the network (see L<guestfs"
17088 "(3)/RUNNING COMMANDS>)."
17089 msgstr ""
17090
17091 #. type: textblock
17092 #: ../fish/guestfish-actions.pod:4178
17093 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4178
17094 msgid ""
17095 "You must call this before calling L</launch>, otherwise it has no effect."
17096 msgstr ""
17097
17098 #. type: =head2
17099 #: ../fish/guestfish-actions.pod:4181
17100 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4181
17101 msgid "set-path"
17102 msgstr ""
17103
17104 #. type: verbatim
17105 #: ../fish/guestfish-actions.pod:4185
17106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4185
17107 #, no-wrap
17108 msgid ""
17109 " set-path searchpath\n"
17110 "\n"
17111 msgstr ""
17112
17113 #. type: textblock
17114 #: ../fish/guestfish-actions.pod:4187
17115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4187
17116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6325
17117 #: ../src/guestfs-actions.pod:6325
17118 msgid "Set the path that libguestfs searches for kernel and initrd.img."
17119 msgstr ""
17120
17121 #. type: textblock
17122 #: ../fish/guestfish-actions.pod:4189
17123 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4189
17124 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6327
17125 #: ../src/guestfs-actions.pod:6327
17126 msgid ""
17127 "The default is C<$libdir/guestfs> unless overridden by setting "
17128 "C<LIBGUESTFS_PATH> environment variable."
17129 msgstr ""
17130
17131 #. type: textblock
17132 #: ../fish/guestfish-actions.pod:4192
17133 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4192
17134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6330
17135 #: ../src/guestfs-actions.pod:6330
17136 msgid "Setting C<path> to C<NULL> restores the default path."
17137 msgstr ""
17138
17139 #. type: =head2
17140 #: ../fish/guestfish-actions.pod:4194
17141 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4194
17142 msgid "set-pgroup"
17143 msgstr ""
17144
17145 #. type: =head2
17146 #: ../fish/guestfish-actions.pod:4196
17147 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4196
17148 msgid "pgroup"
17149 msgstr ""
17150
17151 #. type: verbatim
17152 #: ../fish/guestfish-actions.pod:4198
17153 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4198
17154 #, no-wrap
17155 msgid ""
17156 " set-pgroup true|false\n"
17157 "\n"
17158 msgstr ""
17159
17160 #. type: textblock
17161 #: ../fish/guestfish-actions.pod:4200
17162 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4200
17163 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6342
17164 #: ../src/guestfs-actions.pod:6342
17165 msgid ""
17166 "If C<pgroup> is true, child processes are placed into their own process "
17167 "group."
17168 msgstr ""
17169
17170 #. type: textblock
17171 #: ../fish/guestfish-actions.pod:4203
17172 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4203
17173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6345
17174 #: ../src/guestfs-actions.pod:6345
17175 msgid ""
17176 "The practical upshot of this is that signals like C<SIGINT> (from users "
17177 "pressing C<^C>) won't be received by the child process."
17178 msgstr ""
17179
17180 #. type: textblock
17181 #: ../fish/guestfish-actions.pod:4206
17182 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4206
17183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6348
17184 #: ../src/guestfs-actions.pod:6348
17185 msgid ""
17186 "The default for this flag is false, because usually you want C<^C> to kill "
17187 "the subprocess."
17188 msgstr ""
17189
17190 #. type: =head2
17191 #: ../fish/guestfish-actions.pod:4209
17192 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4209
17193 msgid "set-qemu"
17194 msgstr ""
17195
17196 #. type: =head2
17197 #: ../fish/guestfish-actions.pod:4211
17198 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4211
17199 msgid "qemu"
17200 msgstr ""
17201
17202 #. type: verbatim
17203 #: ../fish/guestfish-actions.pod:4213
17204 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4213
17205 #, no-wrap
17206 msgid ""
17207 " set-qemu qemu\n"
17208 "\n"
17209 msgstr ""
17210
17211 #. type: textblock
17212 #: ../fish/guestfish-actions.pod:4215
17213 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4215
17214 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6361
17215 #: ../src/guestfs-actions.pod:6361
17216 msgid "Set the qemu binary that we will use."
17217 msgstr ""
17218
17219 #. type: textblock
17220 #: ../fish/guestfish-actions.pod:4217
17221 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4217
17222 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6363
17223 #: ../src/guestfs-actions.pod:6363
17224 msgid ""
17225 "The default is chosen when the library was compiled by the configure script."
17226 msgstr ""
17227
17228 #. type: textblock
17229 #: ../fish/guestfish-actions.pod:4220
17230 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4220
17231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6366
17232 #: ../src/guestfs-actions.pod:6366
17233 msgid ""
17234 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
17235 "variable."
17236 msgstr ""
17237
17238 #. type: textblock
17239 #: ../fish/guestfish-actions.pod:4223
17240 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4223
17241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6369
17242 #: ../src/guestfs-actions.pod:6369
17243 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
17244 msgstr ""
17245
17246 #. type: textblock
17247 #: ../fish/guestfish-actions.pod:4225
17248 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4225
17249 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6371
17250 #: ../src/guestfs-actions.pod:6371
17251 msgid ""
17252 "Note that you should call this function as early as possible after creating "
17253 "the handle.  This is because some pre-launch operations depend on testing "
17254 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
17255 "don't retest features, and so you might see inconsistent results.  Using the "
17256 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
17257 "the qemu binary at the same time as the handle is created."
17258 msgstr ""
17259
17260 #. type: =head2
17261 #: ../fish/guestfish-actions.pod:4233
17262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4233
17263 msgid "set-recovery-proc"
17264 msgstr ""
17265
17266 #. type: =head2
17267 #: ../fish/guestfish-actions.pod:4235
17268 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4235
17269 msgid "recovery-proc"
17270 msgstr ""
17271
17272 #. type: verbatim
17273 #: ../fish/guestfish-actions.pod:4237
17274 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4237
17275 #, no-wrap
17276 msgid ""
17277 " set-recovery-proc true|false\n"
17278 "\n"
17279 msgstr ""
17280
17281 #. type: textblock
17282 #: ../fish/guestfish-actions.pod:4239
17283 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4239
17284 msgid ""
17285 "If this is called with the parameter C<false> then L</launch> does not "
17286 "create a recovery process.  The purpose of the recovery process is to stop "
17287 "runaway qemu processes in the case where the main program aborts abruptly."
17288 msgstr ""
17289
17290 #. type: textblock
17291 #: ../fish/guestfish-actions.pod:4244
17292 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4244
17293 msgid ""
17294 "This only has any effect if called before L</launch>, and the default is "
17295 "true."
17296 msgstr ""
17297
17298 #. type: textblock
17299 #: ../fish/guestfish-actions.pod:4247
17300 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4247
17301 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6397
17302 #: ../src/guestfs-actions.pod:6397
17303 msgid ""
17304 "About the only time when you would want to disable this is if the main "
17305 "process will fork itself into the background (\"daemonize\" itself).  In "
17306 "this case the recovery process thinks that the main program has disappeared "
17307 "and so kills qemu, which is not very helpful."
17308 msgstr ""
17309
17310 #. type: =head2
17311 #: ../fish/guestfish-actions.pod:4253
17312 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4253
17313 msgid "set-selinux"
17314 msgstr ""
17315
17316 #. type: =head2
17317 #: ../fish/guestfish-actions.pod:4255
17318 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4255
17319 msgid "selinux"
17320 msgstr ""
17321
17322 #. type: verbatim
17323 #: ../fish/guestfish-actions.pod:4257
17324 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4257
17325 #, no-wrap
17326 msgid ""
17327 " set-selinux true|false\n"
17328 "\n"
17329 msgstr ""
17330
17331 #. type: textblock
17332 #: ../fish/guestfish-actions.pod:4259
17333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4259
17334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6413
17335 #: ../src/guestfs-actions.pod:6413
17336 msgid ""
17337 "This sets the selinux flag that is passed to the appliance at boot time.  "
17338 "The default is C<selinux=0> (disabled)."
17339 msgstr ""
17340
17341 #. type: textblock
17342 #: ../fish/guestfish-actions.pod:4262
17343 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4262
17344 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6416
17345 #: ../src/guestfs-actions.pod:6416
17346 msgid ""
17347 "Note that if SELinux is enabled, it is always in Permissive mode "
17348 "(C<enforcing=0>)."
17349 msgstr ""
17350
17351 #. type: =head2
17352 #: ../fish/guestfish-actions.pod:4268
17353 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4268
17354 msgid "set-trace"
17355 msgstr ""
17356
17357 #. type: =head2
17358 #: ../fish/guestfish-actions.pod:4270
17359 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4270
17360 msgid "trace"
17361 msgstr ""
17362
17363 #. type: verbatim
17364 #: ../fish/guestfish-actions.pod:4272
17365 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4272
17366 #, no-wrap
17367 msgid ""
17368 " set-trace true|false\n"
17369 "\n"
17370 msgstr ""
17371
17372 #. type: textblock
17373 #: ../fish/guestfish-actions.pod:4274
17374 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4274
17375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6432
17376 #: ../src/guestfs-actions.pod:6432
17377 msgid ""
17378 "If the command trace flag is set to 1, then libguestfs calls, parameters and "
17379 "return values are traced."
17380 msgstr ""
17381
17382 #. type: textblock
17383 #: ../fish/guestfish-actions.pod:4277
17384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4277
17385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6435
17386 #: ../src/guestfs-actions.pod:6435
17387 msgid ""
17388 "If you want to trace C API calls into libguestfs (and other libraries) then "
17389 "possibly a better way is to use the external ltrace(1) command."
17390 msgstr ""
17391
17392 #. type: textblock
17393 #: ../fish/guestfish-actions.pod:4281
17394 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4281
17395 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6439
17396 #: ../src/guestfs-actions.pod:6439
17397 msgid ""
17398 "Command traces are disabled unless the environment variable "
17399 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
17400 msgstr ""
17401
17402 #. type: textblock
17403 #: ../fish/guestfish-actions.pod:4284
17404 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4284
17405 msgid ""
17406 "Trace messages are normally sent to C<stderr>, unless you register a "
17407 "callback to send them somewhere else (see L</set-event-callback>)."
17408 msgstr ""
17409
17410 #. type: =head2
17411 #: ../fish/guestfish-actions.pod:4288
17412 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4288
17413 msgid "set-verbose"
17414 msgstr ""
17415
17416 #. type: =head2
17417 #: ../fish/guestfish-actions.pod:4290
17418 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4290
17419 msgid "verbose"
17420 msgstr ""
17421
17422 #. type: verbatim
17423 #: ../fish/guestfish-actions.pod:4292
17424 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4292
17425 #, no-wrap
17426 msgid ""
17427 " set-verbose true|false\n"
17428 "\n"
17429 msgstr ""
17430
17431 #. type: textblock
17432 #: ../fish/guestfish-actions.pod:4294
17433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4294
17434 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6456
17435 #: ../src/guestfs-actions.pod:6456
17436 msgid "If C<verbose> is true, this turns on verbose messages."
17437 msgstr ""
17438
17439 #. type: textblock
17440 #: ../fish/guestfish-actions.pod:4296
17441 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4296
17442 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6458
17443 #: ../src/guestfs-actions.pod:6458
17444 msgid ""
17445 "Verbose messages are disabled unless the environment variable "
17446 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
17447 msgstr ""
17448
17449 #. type: textblock
17450 #: ../fish/guestfish-actions.pod:4299
17451 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4299
17452 msgid ""
17453 "Verbose messages are normally sent to C<stderr>, unless you register a "
17454 "callback to send them somewhere else (see L</set-event-callback>)."
17455 msgstr ""
17456
17457 #. type: =head2
17458 #: ../fish/guestfish-actions.pod:4303
17459 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4303
17460 msgid "setcon"
17461 msgstr ""
17462
17463 #. type: verbatim
17464 #: ../fish/guestfish-actions.pod:4305
17465 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4305
17466 #, no-wrap
17467 msgid ""
17468 " setcon context\n"
17469 "\n"
17470 msgstr ""
17471
17472 #. type: textblock
17473 #: ../fish/guestfish-actions.pod:4307
17474 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4307
17475 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6475
17476 #: ../src/guestfs-actions.pod:6475
17477 msgid ""
17478 "This sets the SELinux security context of the daemon to the string "
17479 "C<context>."
17480 msgstr ""
17481
17482 #. type: textblock
17483 #: ../fish/guestfish-actions.pod:4310
17484 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4310
17485 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6478
17486 #: ../src/guestfs-actions.pod:6478
17487 msgid "See the documentation about SELINUX in L<guestfs(3)>."
17488 msgstr ""
17489
17490 #. type: =head2
17491 #: ../fish/guestfish-actions.pod:4312
17492 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4312
17493 msgid "setxattr"
17494 msgstr ""
17495
17496 #. type: verbatim
17497 #: ../fish/guestfish-actions.pod:4314
17498 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4314
17499 #, no-wrap
17500 msgid ""
17501 " setxattr xattr val vallen path\n"
17502 "\n"
17503 msgstr ""
17504
17505 #. type: textblock
17506 #: ../fish/guestfish-actions.pod:4316
17507 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4316
17508 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6493
17509 #: ../src/guestfs-actions.pod:6493
17510 msgid ""
17511 "This call sets the extended attribute named C<xattr> of the file C<path> to "
17512 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
17513 msgstr ""
17514
17515 #. type: textblock
17516 #: ../fish/guestfish-actions.pod:4320
17517 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4320
17518 msgid "See also: L</lsetxattr>, L<attr(5)>."
17519 msgstr ""
17520
17521 #. type: =head2
17522 #: ../fish/guestfish-actions.pod:4322
17523 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4322
17524 msgid "sfdisk"
17525 msgstr ""
17526
17527 #. type: verbatim
17528 #: ../fish/guestfish-actions.pod:4324
17529 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4324
17530 #, no-wrap
17531 msgid ""
17532 " sfdisk device cyls heads sectors 'lines ...'\n"
17533 "\n"
17534 msgstr ""
17535
17536 #. type: textblock
17537 #: ../fish/guestfish-actions.pod:4326
17538 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4326
17539 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6513
17540 #: ../src/guestfs-actions.pod:6513
17541 msgid ""
17542 "This is a direct interface to the L<sfdisk(8)> program for creating "
17543 "partitions on block devices."
17544 msgstr ""
17545
17546 #. type: textblock
17547 #: ../fish/guestfish-actions.pod:4329
17548 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4329
17549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6516
17550 #: ../src/guestfs-actions.pod:6516
17551 msgid "C<device> should be a block device, for example C</dev/sda>."
17552 msgstr ""
17553
17554 #. type: textblock
17555 #: ../fish/guestfish-actions.pod:4331
17556 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4331
17557 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6518
17558 #: ../src/guestfs-actions.pod:6518
17559 msgid ""
17560 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
17561 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
17562 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
17563 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
17564 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
17565 "the kernel) cannot work out the right geometry and you will need to tell it."
17566 msgstr ""
17567
17568 #. type: textblock
17569 #: ../fish/guestfish-actions.pod:4339
17570 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4339
17571 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6526
17572 #: ../src/guestfs-actions.pod:6526
17573 msgid ""
17574 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
17575 "refer to the L<sfdisk(8)> manpage."
17576 msgstr ""
17577
17578 #. type: textblock
17579 #: ../fish/guestfish-actions.pod:4342
17580 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4342
17581 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6529
17582 #: ../src/guestfs-actions.pod:6529
17583 msgid ""
17584 "To create a single partition occupying the whole disk, you would pass "
17585 "C<lines> as a single element list, when the single element being the string "
17586 "C<,> (comma)."
17587 msgstr ""
17588
17589 #. type: textblock
17590 #: ../fish/guestfish-actions.pod:4346
17591 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4346
17592 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
17593 msgstr ""
17594
17595 #. type: textblock
17596 #: ../fish/guestfish-actions.pod:4352 ../fish/guestfish-actions.pod:4375
17597 #: ../fish/guestfish-actions.pod:4397
17598 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4352
17599 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4375
17600 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4397
17601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6541
17602 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6571
17603 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6604
17604 #: ../src/guestfs-actions.pod:6541 ../src/guestfs-actions.pod:6571
17605 #: ../src/guestfs-actions.pod:6604
17606 msgid ""
17607 "This function is deprecated.  In new code, use the C<part_add> call instead."
17608 msgstr ""
17609
17610 #. type: =head2
17611 #: ../fish/guestfish-actions.pod:4359
17612 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4359
17613 msgid "sfdiskM"
17614 msgstr ""
17615
17616 #. type: verbatim
17617 #: ../fish/guestfish-actions.pod:4361
17618 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4361
17619 #, no-wrap
17620 msgid ""
17621 " sfdiskM device 'lines ...'\n"
17622 "\n"
17623 msgstr ""
17624
17625 #. type: textblock
17626 #: ../fish/guestfish-actions.pod:4363
17627 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4363
17628 msgid ""
17629 "This is a simplified interface to the L</sfdisk> command, where partition "
17630 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
17631 "you don't need to specify the cyls, heads and sectors parameters which were "
17632 "rarely if ever used anyway."
17633 msgstr ""
17634
17635 #. type: textblock
17636 #: ../fish/guestfish-actions.pod:4369
17637 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4369
17638 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
17639 msgstr ""
17640
17641 #. type: =head2
17642 #: ../fish/guestfish-actions.pod:4382
17643 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4382
17644 msgid "sfdisk-N"
17645 msgstr ""
17646
17647 #. type: verbatim
17648 #: ../fish/guestfish-actions.pod:4384
17649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4384
17650 #, no-wrap
17651 msgid ""
17652 " sfdisk-N device partnum cyls heads sectors line\n"
17653 "\n"
17654 msgstr ""
17655
17656 #. type: textblock
17657 #: ../fish/guestfish-actions.pod:4386
17658 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4386
17659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6591
17660 #: ../src/guestfs-actions.pod:6591
17661 msgid ""
17662 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
17663 "(note: C<n> counts from 1)."
17664 msgstr ""
17665
17666 #. type: textblock
17667 #: ../fish/guestfish-actions.pod:4389
17668 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4389
17669 msgid ""
17670 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
17671 "cyls/heads/sectors parameters."
17672 msgstr ""
17673
17674 #. type: textblock
17675 #: ../fish/guestfish-actions.pod:4392
17676 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4392
17677 msgid "See also: L</part-add>"
17678 msgstr ""
17679
17680 #. type: =head2
17681 #: ../fish/guestfish-actions.pod:4404
17682 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4404
17683 msgid "sfdisk-disk-geometry"
17684 msgstr ""
17685
17686 #. type: verbatim
17687 #: ../fish/guestfish-actions.pod:4406
17688 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4406
17689 #, no-wrap
17690 msgid ""
17691 " sfdisk-disk-geometry device\n"
17692 "\n"
17693 msgstr ""
17694
17695 #. type: textblock
17696 #: ../fish/guestfish-actions.pod:4408
17697 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4408
17698 msgid ""
17699 "This displays the disk geometry of C<device> read from the partition table.  "
17700 "Especially in the case where the underlying block device has been resized, "
17701 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
17702 "kernel-geometry>)."
17703 msgstr ""
17704
17705 #. type: textblock
17706 #: ../fish/guestfish-actions.pod:4413 ../fish/guestfish-actions.pod:4422
17707 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4413
17708 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4422
17709 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6624
17710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6640
17711 #: ../src/guestfs-actions.pod:6624 ../src/guestfs-actions.pod:6640
17712 msgid "The result is in human-readable format, and not designed to be parsed."
17713 msgstr ""
17714
17715 #. type: =head2
17716 #: ../fish/guestfish-actions.pod:4416
17717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4416
17718 msgid "sfdisk-kernel-geometry"
17719 msgstr ""
17720
17721 #. type: verbatim
17722 #: ../fish/guestfish-actions.pod:4418
17723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4418
17724 #, no-wrap
17725 msgid ""
17726 " sfdisk-kernel-geometry device\n"
17727 "\n"
17728 msgstr ""
17729
17730 #. type: textblock
17731 #: ../fish/guestfish-actions.pod:4420
17732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4420
17733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6638
17734 #: ../src/guestfs-actions.pod:6638
17735 msgid "This displays the kernel's idea of the geometry of C<device>."
17736 msgstr ""
17737
17738 #. type: =head2
17739 #: ../fish/guestfish-actions.pod:4425
17740 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4425
17741 msgid "sfdisk-l"
17742 msgstr ""
17743
17744 #. type: verbatim
17745 #: ../fish/guestfish-actions.pod:4427
17746 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4427
17747 #, no-wrap
17748 msgid ""
17749 " sfdisk-l device\n"
17750 "\n"
17751 msgstr ""
17752
17753 #. type: textblock
17754 #: ../fish/guestfish-actions.pod:4429
17755 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4429
17756 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6654
17757 #: ../src/guestfs-actions.pod:6654
17758 msgid ""
17759 "This displays the partition table on C<device>, in the human-readable output "
17760 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
17761 msgstr ""
17762
17763 #. type: textblock
17764 #: ../fish/guestfish-actions.pod:4433
17765 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4433
17766 msgid "See also: L</part-list>"
17767 msgstr ""
17768
17769 #. type: textblock
17770 #: ../fish/guestfish-actions.pod:4435
17771 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4435
17772 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6663
17773 #: ../src/guestfs-actions.pod:6663
17774 msgid ""
17775 "This function is deprecated.  In new code, use the C<part_list> call instead."
17776 msgstr ""
17777
17778 #. type: =head2
17779 #: ../fish/guestfish-actions.pod:4442
17780 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4442
17781 msgid "sh"
17782 msgstr ""
17783
17784 #. type: verbatim
17785 #: ../fish/guestfish-actions.pod:4444
17786 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4444
17787 #, no-wrap
17788 msgid ""
17789 " sh command\n"
17790 "\n"
17791 msgstr ""
17792
17793 #. type: textblock
17794 #: ../fish/guestfish-actions.pod:4446
17795 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4446
17796 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6678
17797 #: ../src/guestfs-actions.pod:6678
17798 msgid ""
17799 "This call runs a command from the guest filesystem via the guest's C</bin/"
17800 "sh>."
17801 msgstr ""
17802
17803 #. type: textblock
17804 #: ../fish/guestfish-actions.pod:4449
17805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4449
17806 msgid "This is like L</command>, but passes the command to:"
17807 msgstr ""
17808
17809 #. type: verbatim
17810 #: ../fish/guestfish-actions.pod:4451
17811 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4451
17812 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6683
17813 #: ../src/guestfs-actions.pod:6683
17814 #, no-wrap
17815 msgid ""
17816 " /bin/sh -c \"command\"\n"
17817 "\n"
17818 msgstr ""
17819
17820 #. type: textblock
17821 #: ../fish/guestfish-actions.pod:4453
17822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4453
17823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6685
17824 #: ../src/guestfs-actions.pod:6685
17825 msgid ""
17826 "Depending on the guest's shell, this usually results in wildcards being "
17827 "expanded, shell expressions being interpolated and so on."
17828 msgstr ""
17829
17830 #. type: textblock
17831 #: ../fish/guestfish-actions.pod:4457
17832 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4457
17833 msgid "All the provisos about L</command> apply to this call."
17834 msgstr ""
17835
17836 #. type: =head2
17837 #: ../fish/guestfish-actions.pod:4459
17838 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4459
17839 msgid "sh-lines"
17840 msgstr ""
17841
17842 #. type: verbatim
17843 #: ../fish/guestfish-actions.pod:4461
17844 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4461
17845 #, no-wrap
17846 msgid ""
17847 " sh-lines command\n"
17848 "\n"
17849 msgstr ""
17850
17851 #. type: textblock
17852 #: ../fish/guestfish-actions.pod:4463
17853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4463
17854 msgid "This is the same as L</sh>, but splits the result into a list of lines."
17855 msgstr ""
17856
17857 #. type: textblock
17858 #: ../fish/guestfish-actions.pod:4466
17859 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4466
17860 msgid "See also: L</command-lines>"
17861 msgstr ""
17862
17863 #. type: =head2
17864 #: ../fish/guestfish-actions.pod:4468
17865 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4468
17866 msgid "sleep"
17867 msgstr ""
17868
17869 #. type: verbatim
17870 #: ../fish/guestfish-actions.pod:4470
17871 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4470
17872 #, no-wrap
17873 msgid ""
17874 " sleep secs\n"
17875 "\n"
17876 msgstr ""
17877
17878 #. type: textblock
17879 #: ../fish/guestfish-actions.pod:4472
17880 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4472
17881 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6719
17882 #: ../src/guestfs-actions.pod:6719
17883 msgid "Sleep for C<secs> seconds."
17884 msgstr ""
17885
17886 #. type: =head2
17887 #: ../fish/guestfish-actions.pod:4474
17888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4474
17889 msgid "stat"
17890 msgstr ""
17891
17892 #. type: verbatim
17893 #: ../fish/guestfish-actions.pod:4476
17894 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4476
17895 #, no-wrap
17896 msgid ""
17897 " stat path\n"
17898 "\n"
17899 msgstr ""
17900
17901 #. type: textblock
17902 #: ../fish/guestfish-actions.pod:4480
17903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4480
17904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6733
17905 #: ../src/guestfs-actions.pod:6733
17906 msgid "This is the same as the C<stat(2)> system call."
17907 msgstr ""
17908
17909 #. type: =head2
17910 #: ../fish/guestfish-actions.pod:4482
17911 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4482
17912 msgid "statvfs"
17913 msgstr ""
17914
17915 #. type: verbatim
17916 #: ../fish/guestfish-actions.pod:4484
17917 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4484
17918 #, no-wrap
17919 msgid ""
17920 " statvfs path\n"
17921 "\n"
17922 msgstr ""
17923
17924 #. type: textblock
17925 #: ../fish/guestfish-actions.pod:4486
17926 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4486
17927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6747
17928 #: ../src/guestfs-actions.pod:6747
17929 msgid ""
17930 "Returns file system statistics for any mounted file system.  C<path> should "
17931 "be a file or directory in the mounted file system (typically it is the mount "
17932 "point itself, but it doesn't need to be)."
17933 msgstr ""
17934
17935 #. type: textblock
17936 #: ../fish/guestfish-actions.pod:4490
17937 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4490
17938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6751
17939 #: ../src/guestfs-actions.pod:6751
17940 msgid "This is the same as the C<statvfs(2)> system call."
17941 msgstr ""
17942
17943 #. type: =head2
17944 #: ../fish/guestfish-actions.pod:4492
17945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4492
17946 msgid "strings"
17947 msgstr ""
17948
17949 #. type: verbatim
17950 #: ../fish/guestfish-actions.pod:4494
17951 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4494
17952 #, no-wrap
17953 msgid ""
17954 " strings path\n"
17955 "\n"
17956 msgstr ""
17957
17958 #. type: textblock
17959 #: ../fish/guestfish-actions.pod:4496
17960 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4496
17961 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6765
17962 #: ../src/guestfs-actions.pod:6765
17963 msgid ""
17964 "This runs the L<strings(1)> command on a file and returns the list of "
17965 "printable strings found."
17966 msgstr ""
17967
17968 #. type: =head2
17969 #: ../fish/guestfish-actions.pod:4502
17970 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4502
17971 msgid "strings-e"
17972 msgstr ""
17973
17974 #. type: verbatim
17975 #: ../fish/guestfish-actions.pod:4504
17976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4504
17977 #, no-wrap
17978 msgid ""
17979 " strings-e encoding path\n"
17980 "\n"
17981 msgstr ""
17982
17983 #. type: textblock
17984 #: ../fish/guestfish-actions.pod:4506
17985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4506
17986 msgid ""
17987 "This is like the L</strings> command, but allows you to specify the encoding "
17988 "of strings that are looked for in the source file C<path>."
17989 msgstr ""
17990
17991 #. type: textblock
17992 #: ../fish/guestfish-actions.pod:4510
17993 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4510
17994 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6788
17995 #: ../src/guestfs-actions.pod:6788
17996 msgid "Allowed encodings are:"
17997 msgstr ""
17998
17999 #. type: =item
18000 #: ../fish/guestfish-actions.pod:4514
18001 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4514
18002 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6792
18003 #: ../src/guestfs-actions.pod:6792
18004 msgid "s"
18005 msgstr ""
18006
18007 #. type: textblock
18008 #: ../fish/guestfish-actions.pod:4516
18009 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4516
18010 msgid ""
18011 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
18012 "ISO-8859-X (this is what L</strings> uses)."
18013 msgstr ""
18014
18015 #. type: =item
18016 #: ../fish/guestfish-actions.pod:4519
18017 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4519
18018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6797
18019 #: ../src/guestfs-actions.pod:6797
18020 msgid "S"
18021 msgstr ""
18022
18023 #. type: textblock
18024 #: ../fish/guestfish-actions.pod:4521
18025 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4521
18026 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6799
18027 #: ../src/guestfs-actions.pod:6799
18028 msgid "Single 8-bit-byte characters."
18029 msgstr ""
18030
18031 #. type: =item
18032 #: ../fish/guestfish-actions.pod:4523
18033 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4523
18034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6801
18035 #: ../src/guestfs-actions.pod:6801
18036 msgid "b"
18037 msgstr ""
18038
18039 #. type: textblock
18040 #: ../fish/guestfish-actions.pod:4525
18041 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4525
18042 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6803
18043 #: ../src/guestfs-actions.pod:6803
18044 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
18045 msgstr ""
18046
18047 #. type: =item
18048 #: ../fish/guestfish-actions.pod:4528
18049 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4528
18050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6806
18051 #: ../src/guestfs-actions.pod:6806
18052 msgid "l (lower case letter L)"
18053 msgstr ""
18054
18055 #. type: textblock
18056 #: ../fish/guestfish-actions.pod:4530
18057 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4530
18058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6808
18059 #: ../src/guestfs-actions.pod:6808
18060 msgid ""
18061 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
18062 "examining binaries in Windows guests."
18063 msgstr ""
18064
18065 #. type: =item
18066 #: ../fish/guestfish-actions.pod:4533
18067 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4533
18068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6811
18069 #: ../src/guestfs-actions.pod:6811
18070 msgid "B"
18071 msgstr ""
18072
18073 #. type: textblock
18074 #: ../fish/guestfish-actions.pod:4535
18075 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4535
18076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6813
18077 #: ../src/guestfs-actions.pod:6813
18078 msgid "32-bit big endian such as UCS-4BE."
18079 msgstr ""
18080
18081 #. type: =item
18082 #: ../fish/guestfish-actions.pod:4537
18083 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4537
18084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6815
18085 #: ../src/guestfs-actions.pod:6815
18086 msgid "L"
18087 msgstr ""
18088
18089 #. type: textblock
18090 #: ../fish/guestfish-actions.pod:4539
18091 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4539
18092 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6817
18093 #: ../src/guestfs-actions.pod:6817
18094 msgid "32-bit little endian such as UCS-4LE."
18095 msgstr ""
18096
18097 #. type: textblock
18098 #: ../fish/guestfish-actions.pod:4543
18099 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4543
18100 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6821
18101 #: ../src/guestfs-actions.pod:6821
18102 msgid "The returned strings are transcoded to UTF-8."
18103 msgstr ""
18104
18105 #. type: =head2
18106 #: ../fish/guestfish-actions.pod:4548
18107 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4548
18108 msgid "swapoff-device"
18109 msgstr ""
18110
18111 #. type: verbatim
18112 #: ../fish/guestfish-actions.pod:4550
18113 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4550
18114 #, no-wrap
18115 msgid ""
18116 " swapoff-device device\n"
18117 "\n"
18118 msgstr ""
18119
18120 #. type: textblock
18121 #: ../fish/guestfish-actions.pod:4552
18122 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4552
18123 msgid ""
18124 "This command disables the libguestfs appliance swap device or partition "
18125 "named C<device>.  See L</swapon-device>."
18126 msgstr ""
18127
18128 #. type: =head2
18129 #: ../fish/guestfish-actions.pod:4556
18130 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4556
18131 msgid "swapoff-file"
18132 msgstr ""
18133
18134 #. type: verbatim
18135 #: ../fish/guestfish-actions.pod:4558
18136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4558
18137 #, no-wrap
18138 msgid ""
18139 " swapoff-file file\n"
18140 "\n"
18141 msgstr ""
18142
18143 #. type: textblock
18144 #: ../fish/guestfish-actions.pod:4560
18145 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4560
18146 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6852
18147 #: ../src/guestfs-actions.pod:6852
18148 msgid "This command disables the libguestfs appliance swap on file."
18149 msgstr ""
18150
18151 #. type: =head2
18152 #: ../fish/guestfish-actions.pod:4562
18153 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4562
18154 msgid "swapoff-label"
18155 msgstr ""
18156
18157 #. type: verbatim
18158 #: ../fish/guestfish-actions.pod:4564
18159 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4564
18160 #, no-wrap
18161 msgid ""
18162 " swapoff-label label\n"
18163 "\n"
18164 msgstr ""
18165
18166 #. type: textblock
18167 #: ../fish/guestfish-actions.pod:4566
18168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4566
18169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6864
18170 #: ../src/guestfs-actions.pod:6864
18171 msgid ""
18172 "This command disables the libguestfs appliance swap on labeled swap "
18173 "partition."
18174 msgstr ""
18175
18176 #. type: =head2
18177 #: ../fish/guestfish-actions.pod:4569
18178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4569
18179 msgid "swapoff-uuid"
18180 msgstr ""
18181
18182 #. type: verbatim
18183 #: ../fish/guestfish-actions.pod:4571
18184 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4571
18185 #, no-wrap
18186 msgid ""
18187 " swapoff-uuid uuid\n"
18188 "\n"
18189 msgstr ""
18190
18191 #. type: textblock
18192 #: ../fish/guestfish-actions.pod:4573
18193 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4573
18194 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6877
18195 #: ../src/guestfs-actions.pod:6877
18196 msgid ""
18197 "This command disables the libguestfs appliance swap partition with the given "
18198 "UUID."
18199 msgstr ""
18200
18201 #. type: =head2
18202 #: ../fish/guestfish-actions.pod:4576
18203 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4576
18204 msgid "swapon-device"
18205 msgstr ""
18206
18207 #. type: verbatim
18208 #: ../fish/guestfish-actions.pod:4578
18209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4578
18210 #, no-wrap
18211 msgid ""
18212 " swapon-device device\n"
18213 "\n"
18214 msgstr ""
18215
18216 #. type: textblock
18217 #: ../fish/guestfish-actions.pod:4580
18218 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4580
18219 msgid ""
18220 "This command enables the libguestfs appliance to use the swap device or "
18221 "partition named C<device>.  The increased memory is made available for all "
18222 "commands, for example those run using L</command> or L</sh>."
18223 msgstr ""
18224
18225 #. type: textblock
18226 #: ../fish/guestfish-actions.pod:4585
18227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4585
18228 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6895
18229 #: ../src/guestfs-actions.pod:6895
18230 msgid ""
18231 "Note that you should not swap to existing guest swap partitions unless you "
18232 "know what you are doing.  They may contain hibernation information, or other "
18233 "information that the guest doesn't want you to trash.  You also risk leaking "
18234 "information about the host to the guest this way.  Instead, attach a new "
18235 "host device to the guest and swap on that."
18236 msgstr ""
18237
18238 #. type: =head2
18239 #: ../fish/guestfish-actions.pod:4592
18240 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4592
18241 msgid "swapon-file"
18242 msgstr ""
18243
18244 #. type: verbatim
18245 #: ../fish/guestfish-actions.pod:4594
18246 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4594
18247 #, no-wrap
18248 msgid ""
18249 " swapon-file file\n"
18250 "\n"
18251 msgstr ""
18252
18253 #. type: textblock
18254 #: ../fish/guestfish-actions.pod:4596
18255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4596
18256 msgid ""
18257 "This command enables swap to a file.  See L</swapon-device> for other notes."
18258 msgstr ""
18259
18260 #. type: =head2
18261 #: ../fish/guestfish-actions.pod:4599
18262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4599
18263 msgid "swapon-label"
18264 msgstr ""
18265
18266 #. type: verbatim
18267 #: ../fish/guestfish-actions.pod:4601
18268 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4601
18269 #, no-wrap
18270 msgid ""
18271 " swapon-label label\n"
18272 "\n"
18273 msgstr ""
18274
18275 #. type: textblock
18276 #: ../fish/guestfish-actions.pod:4603
18277 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4603
18278 msgid ""
18279 "This command enables swap to a labeled swap partition.  See L</swapon-"
18280 "device> for other notes."
18281 msgstr ""
18282
18283 #. type: =head2
18284 #: ../fish/guestfish-actions.pod:4606
18285 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4606
18286 msgid "swapon-uuid"
18287 msgstr ""
18288
18289 #. type: verbatim
18290 #: ../fish/guestfish-actions.pod:4608
18291 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4608
18292 #, no-wrap
18293 msgid ""
18294 " swapon-uuid uuid\n"
18295 "\n"
18296 msgstr ""
18297
18298 #. type: textblock
18299 #: ../fish/guestfish-actions.pod:4610
18300 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4610
18301 msgid ""
18302 "This command enables swap to a swap partition with the given UUID.  See L</"
18303 "swapon-device> for other notes."
18304 msgstr ""
18305
18306 #. type: =head2
18307 #: ../fish/guestfish-actions.pod:4613
18308 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4613
18309 msgid "sync"
18310 msgstr ""
18311
18312 #. type: verbatim
18313 #: ../fish/guestfish-actions.pod:4615
18314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4615
18315 #, no-wrap
18316 msgid ""
18317 " sync\n"
18318 "\n"
18319 msgstr ""
18320
18321 #. type: textblock
18322 #: ../fish/guestfish-actions.pod:4617
18323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4617
18324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6950
18325 #: ../src/guestfs-actions.pod:6950
18326 msgid ""
18327 "This syncs the disk, so that any writes are flushed through to the "
18328 "underlying disk image."
18329 msgstr ""
18330
18331 #. type: textblock
18332 #: ../fish/guestfish-actions.pod:4620
18333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4620
18334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6953
18335 #: ../src/guestfs-actions.pod:6953
18336 msgid ""
18337 "You should always call this if you have modified a disk image, before "
18338 "closing the handle."
18339 msgstr ""
18340
18341 #. type: =head2
18342 #: ../fish/guestfish-actions.pod:4623
18343 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4623
18344 msgid "tail"
18345 msgstr ""
18346
18347 #. type: verbatim
18348 #: ../fish/guestfish-actions.pod:4625
18349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4625
18350 #, no-wrap
18351 msgid ""
18352 " tail path\n"
18353 "\n"
18354 msgstr ""
18355
18356 #. type: textblock
18357 #: ../fish/guestfish-actions.pod:4627
18358 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4627
18359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6966
18360 #: ../src/guestfs-actions.pod:6966
18361 msgid ""
18362 "This command returns up to the last 10 lines of a file as a list of strings."
18363 msgstr ""
18364
18365 #. type: =head2
18366 #: ../fish/guestfish-actions.pod:4633
18367 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4633
18368 msgid "tail-n"
18369 msgstr ""
18370
18371 #. type: verbatim
18372 #: ../fish/guestfish-actions.pod:4635
18373 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4635
18374 #, no-wrap
18375 msgid ""
18376 " tail-n nrlines path\n"
18377 "\n"
18378 msgstr ""
18379
18380 #. type: textblock
18381 #: ../fish/guestfish-actions.pod:4637
18382 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4637
18383 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6985
18384 #: ../src/guestfs-actions.pod:6985
18385 msgid ""
18386 "If the parameter C<nrlines> is a positive number, this returns the last "
18387 "C<nrlines> lines of the file C<path>."
18388 msgstr ""
18389
18390 #. type: textblock
18391 #: ../fish/guestfish-actions.pod:4640
18392 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4640
18393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6988
18394 #: ../src/guestfs-actions.pod:6988
18395 msgid ""
18396 "If the parameter C<nrlines> is a negative number, this returns lines from "
18397 "the file C<path>, starting with the C<-nrlines>th line."
18398 msgstr ""
18399
18400 #. type: =head2
18401 #: ../fish/guestfish-actions.pod:4648
18402 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4648
18403 msgid "tar-in"
18404 msgstr ""
18405
18406 #. type: verbatim
18407 #: ../fish/guestfish-actions.pod:4650
18408 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4650
18409 #, no-wrap
18410 msgid ""
18411 " tar-in (tarfile|-) directory\n"
18412 "\n"
18413 msgstr ""
18414
18415 #. type: textblock
18416 #: ../fish/guestfish-actions.pod:4652
18417 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4652
18418 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7009
18419 #: ../src/guestfs-actions.pod:7009
18420 msgid ""
18421 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
18422 "tar file) into C<directory>."
18423 msgstr ""
18424
18425 #. type: textblock
18426 #: ../fish/guestfish-actions.pod:4655
18427 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4655
18428 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
18429 msgstr ""
18430
18431 #. type: =head2
18432 #: ../fish/guestfish-actions.pod:4660
18433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4660
18434 msgid "tar-out"
18435 msgstr ""
18436
18437 #. type: verbatim
18438 #: ../fish/guestfish-actions.pod:4662
18439 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4662
18440 #, no-wrap
18441 msgid ""
18442 " tar-out directory (tarfile|-)\n"
18443 "\n"
18444 msgstr ""
18445
18446 #. type: textblock
18447 #: ../fish/guestfish-actions.pod:4664
18448 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4664
18449 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7026
18450 #: ../src/guestfs-actions.pod:7026
18451 msgid ""
18452 "This command packs the contents of C<directory> and downloads it to local "
18453 "file C<tarfile>."
18454 msgstr ""
18455
18456 #. type: textblock
18457 #: ../fish/guestfish-actions.pod:4667
18458 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4667
18459 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
18460 msgstr ""
18461
18462 #. type: =head2
18463 #: ../fish/guestfish-actions.pod:4672
18464 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4672
18465 msgid "tgz-in"
18466 msgstr ""
18467
18468 #. type: verbatim
18469 #: ../fish/guestfish-actions.pod:4674
18470 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4674
18471 #, no-wrap
18472 msgid ""
18473 " tgz-in (tarball|-) directory\n"
18474 "\n"
18475 msgstr ""
18476
18477 #. type: textblock
18478 #: ../fish/guestfish-actions.pod:4676
18479 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4676
18480 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7043
18481 #: ../src/guestfs-actions.pod:7043
18482 msgid ""
18483 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
18484 "tar file) into C<directory>."
18485 msgstr ""
18486
18487 #. type: textblock
18488 #: ../fish/guestfish-actions.pod:4679
18489 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4679
18490 msgid "To upload an uncompressed tarball, use L</tar-in>."
18491 msgstr ""
18492
18493 #. type: =head2
18494 #: ../fish/guestfish-actions.pod:4683
18495 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4683
18496 msgid "tgz-out"
18497 msgstr ""
18498
18499 #. type: verbatim
18500 #: ../fish/guestfish-actions.pod:4685
18501 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4685
18502 #, no-wrap
18503 msgid ""
18504 " tgz-out directory (tarball|-)\n"
18505 "\n"
18506 msgstr ""
18507
18508 #. type: textblock
18509 #: ../fish/guestfish-actions.pod:4687
18510 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4687
18511 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7059
18512 #: ../src/guestfs-actions.pod:7059
18513 msgid ""
18514 "This command packs the contents of C<directory> and downloads it to local "
18515 "file C<tarball>."
18516 msgstr ""
18517
18518 #. type: textblock
18519 #: ../fish/guestfish-actions.pod:4690
18520 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4690
18521 msgid "To download an uncompressed tarball, use L</tar-out>."
18522 msgstr ""
18523
18524 #. type: =head2
18525 #: ../fish/guestfish-actions.pod:4694
18526 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4694
18527 msgid "touch"
18528 msgstr ""
18529
18530 #. type: verbatim
18531 #: ../fish/guestfish-actions.pod:4696
18532 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4696
18533 #, no-wrap
18534 msgid ""
18535 " touch path\n"
18536 "\n"
18537 msgstr ""
18538
18539 #. type: textblock
18540 #: ../fish/guestfish-actions.pod:4698
18541 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4698
18542 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7074
18543 #: ../src/guestfs-actions.pod:7074
18544 msgid ""
18545 "Touch acts like the L<touch(1)> command.  It can be used to update the "
18546 "timestamps on a file, or, if the file does not exist, to create a new zero-"
18547 "length file."
18548 msgstr ""
18549
18550 #. type: textblock
18551 #: ../fish/guestfish-actions.pod:4702
18552 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4702
18553 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7078
18554 #: ../src/guestfs-actions.pod:7078
18555 msgid ""
18556 "This command only works on regular files, and will fail on other file types "
18557 "such as directories, symbolic links, block special etc."
18558 msgstr ""
18559
18560 #. type: =head2
18561 #: ../fish/guestfish-actions.pod:4705
18562 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4705
18563 msgid "truncate"
18564 msgstr ""
18565
18566 #. type: verbatim
18567 #: ../fish/guestfish-actions.pod:4707
18568 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4707
18569 #, no-wrap
18570 msgid ""
18571 " truncate path\n"
18572 "\n"
18573 msgstr ""
18574
18575 #. type: textblock
18576 #: ../fish/guestfish-actions.pod:4709
18577 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4709
18578 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7091
18579 #: ../src/guestfs-actions.pod:7091
18580 msgid ""
18581 "This command truncates C<path> to a zero-length file.  The file must exist "
18582 "already."
18583 msgstr ""
18584
18585 #. type: =head2
18586 #: ../fish/guestfish-actions.pod:4712
18587 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4712
18588 msgid "truncate-size"
18589 msgstr ""
18590
18591 #. type: verbatim
18592 #: ../fish/guestfish-actions.pod:4714
18593 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4714
18594 #, no-wrap
18595 msgid ""
18596 " truncate-size path size\n"
18597 "\n"
18598 msgstr ""
18599
18600 #. type: textblock
18601 #: ../fish/guestfish-actions.pod:4716
18602 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4716
18603 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7105
18604 #: ../src/guestfs-actions.pod:7105
18605 msgid ""
18606 "This command truncates C<path> to size C<size> bytes.  The file must exist "
18607 "already."
18608 msgstr ""
18609
18610 #. type: textblock
18611 #: ../fish/guestfish-actions.pod:4719
18612 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4719
18613 msgid ""
18614 "If the current file size is less than C<size> then the file is extended to "
18615 "the required size with zero bytes.  This creates a sparse file (ie. disk "
18616 "blocks are not allocated for the file until you write to it).  To create a "
18617 "non-sparse file of zeroes, use L</fallocate64> instead."
18618 msgstr ""
18619
18620 #. type: =head2
18621 #: ../fish/guestfish-actions.pod:4725
18622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4725
18623 msgid "tune2fs-l"
18624 msgstr ""
18625
18626 #. type: verbatim
18627 #: ../fish/guestfish-actions.pod:4727
18628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4727
18629 #, no-wrap
18630 msgid ""
18631 " tune2fs-l device\n"
18632 "\n"
18633 msgstr ""
18634
18635 #. type: textblock
18636 #: ../fish/guestfish-actions.pod:4729
18637 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4729
18638 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7124
18639 #: ../src/guestfs-actions.pod:7124
18640 msgid ""
18641 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
18642 "C<device>."
18643 msgstr ""
18644
18645 #. type: textblock
18646 #: ../fish/guestfish-actions.pod:4732
18647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4732
18648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7127
18649 #: ../src/guestfs-actions.pod:7127
18650 msgid ""
18651 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
18652 "for more details.  The list of fields returned isn't clearly defined, and "
18653 "depends on both the version of C<tune2fs> that libguestfs was built against, "
18654 "and the filesystem itself."
18655 msgstr ""
18656
18657 #. type: =head2
18658 #: ../fish/guestfish-actions.pod:4737
18659 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4737
18660 msgid "txz-in"
18661 msgstr ""
18662
18663 #. type: verbatim
18664 #: ../fish/guestfish-actions.pod:4739
18665 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4739
18666 #, no-wrap
18667 msgid ""
18668 " txz-in (tarball|-) directory\n"
18669 "\n"
18670 msgstr ""
18671
18672 #. type: textblock
18673 #: ../fish/guestfish-actions.pod:4741
18674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4741
18675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7147
18676 #: ../src/guestfs-actions.pod:7147
18677 msgid ""
18678 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
18679 "tar file) into C<directory>."
18680 msgstr ""
18681
18682 #. type: =head2
18683 #: ../fish/guestfish-actions.pod:4746
18684 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4746
18685 msgid "txz-out"
18686 msgstr ""
18687
18688 #. type: verbatim
18689 #: ../fish/guestfish-actions.pod:4748
18690 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4748
18691 #, no-wrap
18692 msgid ""
18693 " txz-out directory (tarball|-)\n"
18694 "\n"
18695 msgstr ""
18696
18697 #. type: textblock
18698 #: ../fish/guestfish-actions.pod:4750
18699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4750
18700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7161
18701 #: ../src/guestfs-actions.pod:7161
18702 msgid ""
18703 "This command packs the contents of C<directory> and downloads it to local "
18704 "file C<tarball> (as an xz compressed tar archive)."
18705 msgstr ""
18706
18707 #. type: =head2
18708 #: ../fish/guestfish-actions.pod:4755
18709 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4755
18710 msgid "umask"
18711 msgstr ""
18712
18713 #. type: verbatim
18714 #: ../fish/guestfish-actions.pod:4757
18715 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4757
18716 #, no-wrap
18717 msgid ""
18718 " umask mask\n"
18719 "\n"
18720 msgstr ""
18721
18722 #. type: textblock
18723 #: ../fish/guestfish-actions.pod:4759
18724 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4759
18725 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7174
18726 #: ../src/guestfs-actions.pod:7174
18727 msgid ""
18728 "This function sets the mask used for creating new files and device nodes to "
18729 "C<mask & 0777>."
18730 msgstr ""
18731
18732 #. type: textblock
18733 #: ../fish/guestfish-actions.pod:4762
18734 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4762
18735 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7177
18736 #: ../src/guestfs-actions.pod:7177
18737 msgid ""
18738 "Typical umask values would be C<022> which creates new files with "
18739 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
18740 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
18741 msgstr ""
18742
18743 #. type: textblock
18744 #: ../fish/guestfish-actions.pod:4767
18745 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4767
18746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7182
18747 #: ../src/guestfs-actions.pod:7182
18748 msgid ""
18749 "The default umask is C<022>.  This is important because it means that "
18750 "directories and device nodes will be created with C<0644> or C<0755> mode "
18751 "even if you specify C<0777>."
18752 msgstr ""
18753
18754 #. type: textblock
18755 #: ../fish/guestfish-actions.pod:4771
18756 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4771
18757 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
18758 msgstr ""
18759
18760 #. type: textblock
18761 #: ../fish/guestfish-actions.pod:4774
18762 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4774
18763 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7189
18764 #: ../src/guestfs-actions.pod:7189
18765 msgid "This call returns the previous umask."
18766 msgstr ""
18767
18768 #. type: =head2
18769 #: ../fish/guestfish-actions.pod:4776
18770 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4776
18771 msgid "umount"
18772 msgstr ""
18773
18774 #. type: =head2
18775 #: ../fish/guestfish-actions.pod:4778
18776 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4778
18777 msgid "unmount"
18778 msgstr ""
18779
18780 #. type: verbatim
18781 #: ../fish/guestfish-actions.pod:4780
18782 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4780
18783 #, no-wrap
18784 msgid ""
18785 " umount pathordevice\n"
18786 "\n"
18787 msgstr ""
18788
18789 #. type: textblock
18790 #: ../fish/guestfish-actions.pod:4782
18791 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4782
18792 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7201
18793 #: ../src/guestfs-actions.pod:7201
18794 msgid ""
18795 "This unmounts the given filesystem.  The filesystem may be specified either "
18796 "by its mountpoint (path) or the device which contains the filesystem."
18797 msgstr ""
18798
18799 #. type: =head2
18800 #: ../fish/guestfish-actions.pod:4786
18801 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4786
18802 msgid "umount-all"
18803 msgstr ""
18804
18805 #. type: =head2
18806 #: ../fish/guestfish-actions.pod:4788
18807 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4788
18808 msgid "unmount-all"
18809 msgstr ""
18810
18811 #. type: verbatim
18812 #: ../fish/guestfish-actions.pod:4790
18813 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4790
18814 #, no-wrap
18815 msgid ""
18816 " umount-all\n"
18817 "\n"
18818 msgstr ""
18819
18820 #. type: textblock
18821 #: ../fish/guestfish-actions.pod:4792
18822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4792
18823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7214
18824 #: ../src/guestfs-actions.pod:7214
18825 msgid "This unmounts all mounted filesystems."
18826 msgstr ""
18827
18828 #. type: textblock
18829 #: ../fish/guestfish-actions.pod:4794
18830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4794
18831 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7216
18832 #: ../src/guestfs-actions.pod:7216
18833 msgid "Some internal mounts are not unmounted by this call."
18834 msgstr ""
18835
18836 #. type: =head2
18837 #: ../fish/guestfish-actions.pod:4796
18838 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4796
18839 msgid "upload"
18840 msgstr ""
18841
18842 #. type: verbatim
18843 #: ../fish/guestfish-actions.pod:4798
18844 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4798
18845 #, no-wrap
18846 msgid ""
18847 " upload (filename|-) remotefilename\n"
18848 "\n"
18849 msgstr ""
18850
18851 #. type: textblock
18852 #: ../fish/guestfish-actions.pod:4800 ../fish/guestfish-actions.pod:4813
18853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4800
18854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4813
18855 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7229
18856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7253
18857 #: ../src/guestfs-actions.pod:7229 ../src/guestfs-actions.pod:7253
18858 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
18859 msgstr ""
18860
18861 #. type: textblock
18862 #: ../fish/guestfish-actions.pod:4805
18863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4805
18864 msgid "See also L</download>."
18865 msgstr ""
18866
18867 #. type: =head2
18868 #: ../fish/guestfish-actions.pod:4809
18869 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4809
18870 msgid "upload-offset"
18871 msgstr ""
18872
18873 #. type: verbatim
18874 #: ../fish/guestfish-actions.pod:4811
18875 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4811
18876 #, no-wrap
18877 msgid ""
18878 " upload-offset (filename|-) remotefilename offset\n"
18879 "\n"
18880 msgstr ""
18881
18882 #. type: textblock
18883 #: ../fish/guestfish-actions.pod:4816
18884 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4816
18885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7256
18886 #: ../src/guestfs-actions.pod:7256
18887 msgid ""
18888 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
18889 "The intention is to overwrite parts of existing files or devices, although "
18890 "if a non-existant file is specified then it is created with a \"hole\" "
18891 "before C<offset>.  The size of the data written is implicit in the size of "
18892 "the source C<filename>."
18893 msgstr ""
18894
18895 #. type: textblock
18896 #: ../fish/guestfish-actions.pod:4823
18897 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4823
18898 msgid ""
18899 "Note that there is no limit on the amount of data that can be uploaded with "
18900 "this call, unlike with L</pwrite>, and this call always writes the full "
18901 "amount unless an error occurs."
18902 msgstr ""
18903
18904 #. type: textblock
18905 #: ../fish/guestfish-actions.pod:4828
18906 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4828
18907 msgid "See also L</upload>, L</pwrite>."
18908 msgstr ""
18909
18910 #. type: =head2
18911 #: ../fish/guestfish-actions.pod:4832
18912 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4832
18913 msgid "utimens"
18914 msgstr ""
18915
18916 #. type: verbatim
18917 #: ../fish/guestfish-actions.pod:4834
18918 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4834
18919 #, no-wrap
18920 msgid ""
18921 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
18922 "\n"
18923 msgstr ""
18924
18925 #. type: textblock
18926 #: ../fish/guestfish-actions.pod:4836
18927 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4836
18928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7289
18929 #: ../src/guestfs-actions.pod:7289
18930 msgid "This command sets the timestamps of a file with nanosecond precision."
18931 msgstr ""
18932
18933 #. type: textblock
18934 #: ../fish/guestfish-actions.pod:4839
18935 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4839
18936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7292
18937 #: ../src/guestfs-actions.pod:7292
18938 msgid ""
18939 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
18940 "from the epoch."
18941 msgstr ""
18942
18943 #. type: textblock
18944 #: ../fish/guestfish-actions.pod:4842
18945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4842
18946 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7295
18947 #: ../src/guestfs-actions.pod:7295
18948 msgid ""
18949 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
18950 "nanoseconds from the epoch."
18951 msgstr ""
18952
18953 #. type: textblock
18954 #: ../fish/guestfish-actions.pod:4845
18955 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4845
18956 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7298
18957 #: ../src/guestfs-actions.pod:7298
18958 msgid ""
18959 "If the C<*nsecs> field contains the special value C<-1> then the "
18960 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
18961 "ignored in this case)."
18962 msgstr ""
18963
18964 #. type: textblock
18965 #: ../fish/guestfish-actions.pod:4849
18966 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4849
18967 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7302
18968 #: ../src/guestfs-actions.pod:7302
18969 msgid ""
18970 "If the C<*nsecs> field contains the special value C<-2> then the "
18971 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
18972 "in this case)."
18973 msgstr ""
18974
18975 #. type: =head2
18976 #: ../fish/guestfish-actions.pod:4853
18977 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4853
18978 msgid "version"
18979 msgstr ""
18980
18981 #. type: verbatim
18982 #: ../fish/guestfish-actions.pod:4855
18983 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4855
18984 #, no-wrap
18985 msgid ""
18986 " version\n"
18987 "\n"
18988 msgstr ""
18989
18990 #. type: textblock
18991 #: ../fish/guestfish-actions.pod:4857
18992 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4857
18993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7315
18994 #: ../src/guestfs-actions.pod:7315
18995 msgid ""
18996 "Return the libguestfs version number that the program is linked against."
18997 msgstr ""
18998
18999 #. type: textblock
19000 #: ../fish/guestfish-actions.pod:4860
19001 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4860
19002 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7318
19003 #: ../src/guestfs-actions.pod:7318
19004 msgid ""
19005 "Note that because of dynamic linking this is not necessarily the version of "
19006 "libguestfs that you compiled against.  You can compile the program, and then "
19007 "at runtime dynamically link against a completely different C<libguestfs.so> "
19008 "library."
19009 msgstr ""
19010
19011 #. type: textblock
19012 #: ../fish/guestfish-actions.pod:4865
19013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4865
19014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7323
19015 #: ../src/guestfs-actions.pod:7323
19016 msgid ""
19017 "This call was added in version C<1.0.58>.  In previous versions of "
19018 "libguestfs there was no way to get the version number.  From C code you can "
19019 "use dynamic linker functions to find out if this symbol exists (if it "
19020 "doesn't, then it's an earlier version)."
19021 msgstr ""
19022
19023 #. type: textblock
19024 #: ../fish/guestfish-actions.pod:4871
19025 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4871
19026 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7329
19027 #: ../src/guestfs-actions.pod:7329
19028 msgid ""
19029 "The call returns a structure with four elements.  The first three (C<major>, "
19030 "C<minor> and C<release>) are numbers and correspond to the usual version "
19031 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
19032 "but may be used for distro-specific information."
19033 msgstr ""
19034
19035 #. type: textblock
19036 #: ../fish/guestfish-actions.pod:4877
19037 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4877
19038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7335
19039 #: ../src/guestfs-actions.pod:7335
19040 msgid ""
19041 "To construct the original version string: C<$major.$minor.$release$extra>"
19042 msgstr ""
19043
19044 #. type: textblock
19045 #: ../fish/guestfish-actions.pod:4880
19046 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4880
19047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7338
19048 #: ../src/guestfs-actions.pod:7338
19049 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
19050 msgstr ""
19051
19052 #. type: textblock
19053 #: ../fish/guestfish-actions.pod:4882
19054 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4882
19055 msgid ""
19056 "I<Note:> Don't use this call to test for availability of features.  In "
19057 "enterprise distributions we backport features from later versions into "
19058 "earlier versions, making this an unreliable way to test for features.  Use "
19059 "L</available> instead."
19060 msgstr ""
19061
19062 #. type: =head2
19063 #: ../fish/guestfish-actions.pod:4888
19064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4888
19065 msgid "vfs-label"
19066 msgstr ""
19067
19068 #. type: verbatim
19069 #: ../fish/guestfish-actions.pod:4890
19070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4890
19071 #, no-wrap
19072 msgid ""
19073 " vfs-label device\n"
19074 "\n"
19075 msgstr ""
19076
19077 #. type: textblock
19078 #: ../fish/guestfish-actions.pod:4892
19079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4892
19080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7358
19081 #: ../src/guestfs-actions.pod:7358
19082 msgid "This returns the filesystem label of the filesystem on C<device>."
19083 msgstr ""
19084
19085 #. type: textblock
19086 #: ../fish/guestfish-actions.pod:4895
19087 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4895
19088 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7361
19089 #: ../src/guestfs-actions.pod:7361
19090 msgid "If the filesystem is unlabeled, this returns the empty string."
19091 msgstr ""
19092
19093 #. type: textblock
19094 #: ../fish/guestfish-actions.pod:4897
19095 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4897
19096 msgid "To find a filesystem from the label, use L</findfs-label>."
19097 msgstr ""
19098
19099 #. type: =head2
19100 #: ../fish/guestfish-actions.pod:4899
19101 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4899
19102 msgid "vfs-type"
19103 msgstr ""
19104
19105 #. type: verbatim
19106 #: ../fish/guestfish-actions.pod:4901
19107 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4901
19108 #, no-wrap
19109 msgid ""
19110 " vfs-type device\n"
19111 "\n"
19112 msgstr ""
19113
19114 #. type: textblock
19115 #: ../fish/guestfish-actions.pod:4903
19116 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4903
19117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7376
19118 #: ../src/guestfs-actions.pod:7376
19119 msgid ""
19120 "This command gets the filesystem type corresponding to the filesystem on "
19121 "C<device>."
19122 msgstr ""
19123
19124 #. type: textblock
19125 #: ../fish/guestfish-actions.pod:4906
19126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4906
19127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7379
19128 #: ../src/guestfs-actions.pod:7379
19129 msgid ""
19130 "For most filesystems, the result is the name of the Linux VFS module which "
19131 "would be used to mount this filesystem if you mounted it without specifying "
19132 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
19133 msgstr ""
19134
19135 #. type: =head2
19136 #: ../fish/guestfish-actions.pod:4911
19137 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4911
19138 msgid "vfs-uuid"
19139 msgstr ""
19140
19141 #. type: verbatim
19142 #: ../fish/guestfish-actions.pod:4913
19143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4913
19144 #, no-wrap
19145 msgid ""
19146 " vfs-uuid device\n"
19147 "\n"
19148 msgstr ""
19149
19150 #. type: textblock
19151 #: ../fish/guestfish-actions.pod:4915
19152 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4915
19153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7395
19154 #: ../src/guestfs-actions.pod:7395
19155 msgid "This returns the filesystem UUID of the filesystem on C<device>."
19156 msgstr ""
19157
19158 #. type: textblock
19159 #: ../fish/guestfish-actions.pod:4918
19160 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4918
19161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7398
19162 #: ../src/guestfs-actions.pod:7398
19163 msgid "If the filesystem does not have a UUID, this returns the empty string."
19164 msgstr ""
19165
19166 #. type: textblock
19167 #: ../fish/guestfish-actions.pod:4920
19168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4920
19169 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
19170 msgstr ""
19171
19172 #. type: =head2
19173 #: ../fish/guestfish-actions.pod:4922
19174 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4922
19175 msgid "vg-activate"
19176 msgstr ""
19177
19178 #. type: verbatim
19179 #: ../fish/guestfish-actions.pod:4924
19180 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4924
19181 #, no-wrap
19182 msgid ""
19183 " vg-activate true|false 'volgroups ...'\n"
19184 "\n"
19185 msgstr ""
19186
19187 #. type: textblock
19188 #: ../fish/guestfish-actions.pod:4926
19189 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4926
19190 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7414
19191 #: ../src/guestfs-actions.pod:7414
19192 msgid ""
19193 "This command activates or (if C<activate> is false) deactivates all logical "
19194 "volumes in the listed volume groups C<volgroups>."
19195 msgstr ""
19196
19197 #. type: textblock
19198 #: ../fish/guestfish-actions.pod:4929
19199 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4929
19200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7417
19201 #: ../src/guestfs-actions.pod:7417
19202 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
19203 msgstr ""
19204
19205 #. type: textblock
19206 #: ../fish/guestfish-actions.pod:4931
19207 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4931
19208 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7419
19209 #: ../src/guestfs-actions.pod:7419
19210 msgid ""
19211 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
19212 "activated or deactivated."
19213 msgstr ""
19214
19215 #. type: =head2
19216 #: ../fish/guestfish-actions.pod:4934
19217 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4934
19218 msgid "vg-activate-all"
19219 msgstr ""
19220
19221 #. type: verbatim
19222 #: ../fish/guestfish-actions.pod:4936
19223 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4936
19224 #, no-wrap
19225 msgid ""
19226 " vg-activate-all true|false\n"
19227 "\n"
19228 msgstr ""
19229
19230 #. type: textblock
19231 #: ../fish/guestfish-actions.pod:4938
19232 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4938
19233 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7432
19234 #: ../src/guestfs-actions.pod:7432
19235 msgid ""
19236 "This command activates or (if C<activate> is false) deactivates all logical "
19237 "volumes in all volume groups."
19238 msgstr ""
19239
19240 #. type: textblock
19241 #: ../fish/guestfish-actions.pod:4941
19242 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4941
19243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7435
19244 #: ../src/guestfs-actions.pod:7435
19245 msgid "This command is the same as running C<vgchange -a y|n>"
19246 msgstr ""
19247
19248 #. type: =head2
19249 #: ../fish/guestfish-actions.pod:4943
19250 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4943
19251 msgid "vgcreate"
19252 msgstr ""
19253
19254 #. type: verbatim
19255 #: ../fish/guestfish-actions.pod:4945
19256 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4945
19257 #, no-wrap
19258 msgid ""
19259 " vgcreate volgroup 'physvols ...'\n"
19260 "\n"
19261 msgstr ""
19262
19263 #. type: textblock
19264 #: ../fish/guestfish-actions.pod:4947
19265 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4947
19266 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7448
19267 #: ../src/guestfs-actions.pod:7448
19268 msgid ""
19269 "This creates an LVM volume group called C<volgroup> from the non-empty list "
19270 "of physical volumes C<physvols>."
19271 msgstr ""
19272
19273 #. type: =head2
19274 #: ../fish/guestfish-actions.pod:4950
19275 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4950
19276 msgid "vglvuuids"
19277 msgstr ""
19278
19279 #. type: verbatim
19280 #: ../fish/guestfish-actions.pod:4952
19281 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4952
19282 #, no-wrap
19283 msgid ""
19284 " vglvuuids vgname\n"
19285 "\n"
19286 msgstr ""
19287
19288 #. type: textblock
19289 #: ../fish/guestfish-actions.pod:4954
19290 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4954
19291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7461
19292 #: ../src/guestfs-actions.pod:7461
19293 msgid ""
19294 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
19295 "volumes created in this volume group."
19296 msgstr ""
19297
19298 #. type: textblock
19299 #: ../fish/guestfish-actions.pod:4957
19300 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4957
19301 msgid ""
19302 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
19303 "logical volumes and volume groups."
19304 msgstr ""
19305
19306 #. type: textblock
19307 #: ../fish/guestfish-actions.pod:4960
19308 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4960
19309 msgid "See also L</vgpvuuids>."
19310 msgstr ""
19311
19312 #. type: =head2
19313 #: ../fish/guestfish-actions.pod:4962
19314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4962
19315 msgid "vgpvuuids"
19316 msgstr ""
19317
19318 #. type: verbatim
19319 #: ../fish/guestfish-actions.pod:4964
19320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4964
19321 #, no-wrap
19322 msgid ""
19323 " vgpvuuids vgname\n"
19324 "\n"
19325 msgstr ""
19326
19327 #. type: textblock
19328 #: ../fish/guestfish-actions.pod:4966
19329 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4966
19330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7481
19331 #: ../src/guestfs-actions.pod:7481
19332 msgid ""
19333 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
19334 "volumes that this volume group resides on."
19335 msgstr ""
19336
19337 #. type: textblock
19338 #: ../fish/guestfish-actions.pod:4969
19339 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4969
19340 msgid ""
19341 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
19342 "physical volumes and volume groups."
19343 msgstr ""
19344
19345 #. type: textblock
19346 #: ../fish/guestfish-actions.pod:4972
19347 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4972
19348 msgid "See also L</vglvuuids>."
19349 msgstr ""
19350
19351 #. type: =head2
19352 #: ../fish/guestfish-actions.pod:4974
19353 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4974
19354 msgid "vgremove"
19355 msgstr ""
19356
19357 #. type: verbatim
19358 #: ../fish/guestfish-actions.pod:4976
19359 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4976
19360 #, no-wrap
19361 msgid ""
19362 " vgremove vgname\n"
19363 "\n"
19364 msgstr ""
19365
19366 #. type: textblock
19367 #: ../fish/guestfish-actions.pod:4978
19368 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4978
19369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7501
19370 #: ../src/guestfs-actions.pod:7501
19371 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
19372 msgstr ""
19373
19374 #. type: textblock
19375 #: ../fish/guestfish-actions.pod:4980
19376 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4980
19377 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7503
19378 #: ../src/guestfs-actions.pod:7503
19379 msgid ""
19380 "This also forcibly removes all logical volumes in the volume group (if any)."
19381 msgstr ""
19382
19383 #. type: =head2
19384 #: ../fish/guestfish-actions.pod:4983
19385 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4983
19386 msgid "vgrename"
19387 msgstr ""
19388
19389 #. type: verbatim
19390 #: ../fish/guestfish-actions.pod:4985
19391 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4985
19392 #, no-wrap
19393 msgid ""
19394 " vgrename volgroup newvolgroup\n"
19395 "\n"
19396 msgstr ""
19397
19398 #. type: textblock
19399 #: ../fish/guestfish-actions.pod:4987
19400 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4987
19401 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7517
19402 #: ../src/guestfs-actions.pod:7517
19403 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
19404 msgstr ""
19405
19406 #. type: =head2
19407 #: ../fish/guestfish-actions.pod:4989
19408 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4989
19409 msgid "vgs"
19410 msgstr ""
19411
19412 #. type: verbatim
19413 #: ../fish/guestfish-actions.pod:4991
19414 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4991
19415 #, no-wrap
19416 msgid ""
19417 " vgs\n"
19418 "\n"
19419 msgstr ""
19420
19421 #. type: textblock
19422 #: ../fish/guestfish-actions.pod:4993
19423 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4993
19424 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7528
19425 #: ../src/guestfs-actions.pod:7528
19426 msgid ""
19427 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
19428 "> command."
19429 msgstr ""
19430
19431 #. type: textblock
19432 #: ../fish/guestfish-actions.pod:4996
19433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4996
19434 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7531
19435 #: ../src/guestfs-actions.pod:7531
19436 msgid ""
19437 "This returns a list of just the volume group names that were detected (eg. "
19438 "C<VolGroup00>)."
19439 msgstr ""
19440
19441 #. type: textblock
19442 #: ../fish/guestfish-actions.pod:4999
19443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4999
19444 msgid "See also L</vgs-full>."
19445 msgstr ""
19446
19447 #. type: =head2
19448 #: ../fish/guestfish-actions.pod:5001
19449 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5001
19450 msgid "vgs-full"
19451 msgstr ""
19452
19453 #. type: verbatim
19454 #: ../fish/guestfish-actions.pod:5003
19455 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5003
19456 #, no-wrap
19457 msgid ""
19458 " vgs-full\n"
19459 "\n"
19460 msgstr ""
19461
19462 #. type: textblock
19463 #: ../fish/guestfish-actions.pod:5005
19464 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5005
19465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7547
19466 #: ../src/guestfs-actions.pod:7547
19467 msgid ""
19468 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
19469 "> command.  The \"full\" version includes all fields."
19470 msgstr ""
19471
19472 #. type: =head2
19473 #: ../fish/guestfish-actions.pod:5008
19474 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5008
19475 msgid "vgscan"
19476 msgstr ""
19477
19478 #. type: verbatim
19479 #: ../fish/guestfish-actions.pod:5010
19480 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5010
19481 #, no-wrap
19482 msgid ""
19483 " vgscan\n"
19484 "\n"
19485 msgstr ""
19486
19487 #. type: textblock
19488 #: ../fish/guestfish-actions.pod:5012
19489 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5012
19490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7561
19491 #: ../src/guestfs-actions.pod:7561
19492 msgid ""
19493 "This rescans all block devices and rebuilds the list of LVM physical "
19494 "volumes, volume groups and logical volumes."
19495 msgstr ""
19496
19497 #. type: =head2
19498 #: ../fish/guestfish-actions.pod:5015
19499 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5015
19500 msgid "vguuid"
19501 msgstr ""
19502
19503 #. type: verbatim
19504 #: ../fish/guestfish-actions.pod:5017
19505 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5017
19506 #, no-wrap
19507 msgid ""
19508 " vguuid vgname\n"
19509 "\n"
19510 msgstr ""
19511
19512 #. type: textblock
19513 #: ../fish/guestfish-actions.pod:5019
19514 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5019
19515 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7574
19516 #: ../src/guestfs-actions.pod:7574
19517 msgid "This command returns the UUID of the LVM VG named C<vgname>."
19518 msgstr ""
19519
19520 #. type: =head2
19521 #: ../fish/guestfish-actions.pod:5021
19522 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5021
19523 msgid "wc-c"
19524 msgstr ""
19525
19526 #. type: verbatim
19527 #: ../fish/guestfish-actions.pod:5023
19528 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5023
19529 #, no-wrap
19530 msgid ""
19531 " wc-c path\n"
19532 "\n"
19533 msgstr ""
19534
19535 #. type: textblock
19536 #: ../fish/guestfish-actions.pod:5025
19537 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5025
19538 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7614
19539 #: ../src/guestfs-actions.pod:7614
19540 msgid ""
19541 "This command counts the characters in a file, using the C<wc -c> external "
19542 "command."
19543 msgstr ""
19544
19545 #. type: =head2
19546 #: ../fish/guestfish-actions.pod:5028
19547 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5028
19548 msgid "wc-l"
19549 msgstr ""
19550
19551 #. type: verbatim
19552 #: ../fish/guestfish-actions.pod:5030
19553 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5030
19554 #, no-wrap
19555 msgid ""
19556 " wc-l path\n"
19557 "\n"
19558 msgstr ""
19559
19560 #. type: textblock
19561 #: ../fish/guestfish-actions.pod:5032
19562 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5032
19563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7627
19564 #: ../src/guestfs-actions.pod:7627
19565 msgid ""
19566 "This command counts the lines in a file, using the C<wc -l> external command."
19567 msgstr ""
19568
19569 #. type: =head2
19570 #: ../fish/guestfish-actions.pod:5035
19571 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5035
19572 msgid "wc-w"
19573 msgstr ""
19574
19575 #. type: verbatim
19576 #: ../fish/guestfish-actions.pod:5037
19577 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5037
19578 #, no-wrap
19579 msgid ""
19580 " wc-w path\n"
19581 "\n"
19582 msgstr ""
19583
19584 #. type: textblock
19585 #: ../fish/guestfish-actions.pod:5039
19586 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5039
19587 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7640
19588 #: ../src/guestfs-actions.pod:7640
19589 msgid ""
19590 "This command counts the words in a file, using the C<wc -w> external command."
19591 msgstr ""
19592
19593 #. type: =head2
19594 #: ../fish/guestfish-actions.pod:5042
19595 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5042
19596 msgid "write"
19597 msgstr ""
19598
19599 #. type: verbatim
19600 #: ../fish/guestfish-actions.pod:5044
19601 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5044
19602 #, no-wrap
19603 msgid ""
19604 " write path content\n"
19605 "\n"
19606 msgstr ""
19607
19608 #. type: textblock
19609 #: ../fish/guestfish-actions.pod:5046
19610 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5046
19611 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7655
19612 #: ../src/guestfs-actions.pod:7655
19613 msgid ""
19614 "This call creates a file called C<path>.  The content of the file is the "
19615 "string C<content> (which can contain any 8 bit data)."
19616 msgstr ""
19617
19618 #. type: textblock
19619 #: ../fish/guestfish-actions.pod:5049
19620 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5049
19621 msgid "See also L</write-append>."
19622 msgstr ""
19623
19624 #. type: =head2
19625 #: ../fish/guestfish-actions.pod:5054
19626 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5054
19627 msgid "write-append"
19628 msgstr ""
19629
19630 #. type: verbatim
19631 #: ../fish/guestfish-actions.pod:5056
19632 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5056
19633 #, no-wrap
19634 msgid ""
19635 " write-append path content\n"
19636 "\n"
19637 msgstr ""
19638
19639 #. type: textblock
19640 #: ../fish/guestfish-actions.pod:5058
19641 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5058
19642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7675
19643 #: ../src/guestfs-actions.pod:7675
19644 msgid ""
19645 "This call appends C<content> to the end of file C<path>.  If C<path> does "
19646 "not exist, then a new file is created."
19647 msgstr ""
19648
19649 #. type: textblock
19650 #: ../fish/guestfish-actions.pod:5061
19651 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5061
19652 msgid "See also L</write>."
19653 msgstr ""
19654
19655 #. type: =head2
19656 #: ../fish/guestfish-actions.pod:5066
19657 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5066
19658 msgid "write-file"
19659 msgstr ""
19660
19661 #. type: verbatim
19662 #: ../fish/guestfish-actions.pod:5068
19663 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5068
19664 #, no-wrap
19665 msgid ""
19666 " write-file path content size\n"
19667 "\n"
19668 msgstr ""
19669
19670 #. type: textblock
19671 #: ../fish/guestfish-actions.pod:5070
19672 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5070
19673 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7695
19674 #: ../src/guestfs-actions.pod:7695
19675 msgid ""
19676 "This call creates a file called C<path>.  The contents of the file is the "
19677 "string C<content> (which can contain any 8 bit data), with length C<size>."
19678 msgstr ""
19679
19680 #. type: textblock
19681 #: ../fish/guestfish-actions.pod:5074
19682 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5074
19683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7699
19684 #: ../src/guestfs-actions.pod:7699
19685 msgid ""
19686 "As a special case, if C<size> is C<0> then the length is calculated using "
19687 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
19688 msgstr ""
19689
19690 #. type: textblock
19691 #: ../fish/guestfish-actions.pod:5078
19692 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5078
19693 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7703
19694 #: ../src/guestfs-actions.pod:7703
19695 msgid ""
19696 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
19697 "I<not> work, even if the length is specified."
19698 msgstr ""
19699
19700 #. type: textblock
19701 #: ../fish/guestfish-actions.pod:5084
19702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5084
19703 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7711
19704 #: ../src/guestfs-actions.pod:7711
19705 msgid ""
19706 "This function is deprecated.  In new code, use the C<write> call instead."
19707 msgstr ""
19708
19709 #. type: =head2
19710 #: ../fish/guestfish-actions.pod:5091
19711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5091
19712 msgid "zegrep"
19713 msgstr ""
19714
19715 #. type: verbatim
19716 #: ../fish/guestfish-actions.pod:5093
19717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5093
19718 #, no-wrap
19719 msgid ""
19720 " zegrep regex path\n"
19721 "\n"
19722 msgstr ""
19723
19724 #. type: textblock
19725 #: ../fish/guestfish-actions.pod:5095
19726 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5095
19727 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7727
19728 #: ../src/guestfs-actions.pod:7727
19729 msgid ""
19730 "This calls the external C<zegrep> program and returns the matching lines."
19731 msgstr ""
19732
19733 #. type: =head2
19734 #: ../fish/guestfish-actions.pod:5101
19735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5101
19736 msgid "zegrepi"
19737 msgstr ""
19738
19739 #. type: verbatim
19740 #: ../fish/guestfish-actions.pod:5103
19741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5103
19742 #, no-wrap
19743 msgid ""
19744 " zegrepi regex path\n"
19745 "\n"
19746 msgstr ""
19747
19748 #. type: textblock
19749 #: ../fish/guestfish-actions.pod:5105
19750 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5105
19751 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7746
19752 #: ../src/guestfs-actions.pod:7746
19753 msgid ""
19754 "This calls the external C<zegrep -i> program and returns the matching lines."
19755 msgstr ""
19756
19757 #. type: =head2
19758 #: ../fish/guestfish-actions.pod:5111
19759 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5111
19760 msgid "zero"
19761 msgstr ""
19762
19763 #. type: verbatim
19764 #: ../fish/guestfish-actions.pod:5113
19765 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5113
19766 #, no-wrap
19767 msgid ""
19768 " zero device\n"
19769 "\n"
19770 msgstr ""
19771
19772 #. type: textblock
19773 #: ../fish/guestfish-actions.pod:5115
19774 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5115
19775 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7764
19776 #: ../src/guestfs-actions.pod:7764
19777 msgid "This command writes zeroes over the first few blocks of C<device>."
19778 msgstr ""
19779
19780 #. type: textblock
19781 #: ../fish/guestfish-actions.pod:5117
19782 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5117
19783 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7766
19784 #: ../src/guestfs-actions.pod:7766
19785 msgid ""
19786 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
19787 "securely wipe the device).  It should be sufficient to remove any partition "
19788 "tables, filesystem superblocks and so on."
19789 msgstr ""
19790
19791 #. type: textblock
19792 #: ../fish/guestfish-actions.pod:5121
19793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5121
19794 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
19795 msgstr ""
19796
19797 #. type: =head2
19798 #: ../fish/guestfish-actions.pod:5124
19799 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5124
19800 msgid "zero-device"
19801 msgstr ""
19802
19803 #. type: verbatim
19804 #: ../fish/guestfish-actions.pod:5126
19805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5126
19806 #, no-wrap
19807 msgid ""
19808 " zero-device device\n"
19809 "\n"
19810 msgstr ""
19811
19812 #. type: textblock
19813 #: ../fish/guestfish-actions.pod:5128
19814 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5128
19815 msgid ""
19816 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
19817 "which just zeroes the first few blocks of a device."
19818 msgstr ""
19819
19820 #. type: =head2
19821 #: ../fish/guestfish-actions.pod:5135
19822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5135
19823 msgid "zerofree"
19824 msgstr ""
19825
19826 #. type: verbatim
19827 #: ../fish/guestfish-actions.pod:5137
19828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5137
19829 #, no-wrap
19830 msgid ""
19831 " zerofree device\n"
19832 "\n"
19833 msgstr ""
19834
19835 #. type: textblock
19836 #: ../fish/guestfish-actions.pod:5139
19837 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5139
19838 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7810
19839 #: ../src/guestfs-actions.pod:7810
19840 msgid ""
19841 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
19842 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
19843 "possible to compress the filesystem more effectively."
19844 msgstr ""
19845
19846 #. type: textblock
19847 #: ../fish/guestfish-actions.pod:5144
19848 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5144
19849 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7815
19850 #: ../src/guestfs-actions.pod:7815
19851 msgid "You should B<not> run this program if the filesystem is mounted."
19852 msgstr ""
19853
19854 #. type: textblock
19855 #: ../fish/guestfish-actions.pod:5147
19856 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5147
19857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7818
19858 #: ../src/guestfs-actions.pod:7818
19859 msgid ""
19860 "It is possible that using this program can damage the filesystem or data on "
19861 "the filesystem."
19862 msgstr ""
19863
19864 #. type: =head2
19865 #: ../fish/guestfish-actions.pod:5150
19866 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5150
19867 msgid "zfgrep"
19868 msgstr ""
19869
19870 #. type: verbatim
19871 #: ../fish/guestfish-actions.pod:5152
19872 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5152
19873 #, no-wrap
19874 msgid ""
19875 " zfgrep pattern path\n"
19876 "\n"
19877 msgstr ""
19878
19879 #. type: textblock
19880 #: ../fish/guestfish-actions.pod:5154
19881 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5154
19882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7832
19883 #: ../src/guestfs-actions.pod:7832
19884 msgid ""
19885 "This calls the external C<zfgrep> program and returns the matching lines."
19886 msgstr ""
19887
19888 #. type: =head2
19889 #: ../fish/guestfish-actions.pod:5160
19890 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5160
19891 msgid "zfgrepi"
19892 msgstr ""
19893
19894 #. type: verbatim
19895 #: ../fish/guestfish-actions.pod:5162
19896 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5162
19897 #, no-wrap
19898 msgid ""
19899 " zfgrepi pattern path\n"
19900 "\n"
19901 msgstr ""
19902
19903 #. type: textblock
19904 #: ../fish/guestfish-actions.pod:5164
19905 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5164
19906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7851
19907 #: ../src/guestfs-actions.pod:7851
19908 msgid ""
19909 "This calls the external C<zfgrep -i> program and returns the matching lines."
19910 msgstr ""
19911
19912 #. type: =head2
19913 #: ../fish/guestfish-actions.pod:5170
19914 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5170
19915 msgid "zfile"
19916 msgstr ""
19917
19918 #. type: verbatim
19919 #: ../fish/guestfish-actions.pod:5172
19920 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5172
19921 #, no-wrap
19922 msgid ""
19923 " zfile meth path\n"
19924 "\n"
19925 msgstr ""
19926
19927 #. type: textblock
19928 #: ../fish/guestfish-actions.pod:5174
19929 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5174
19930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7870
19931 #: ../src/guestfs-actions.pod:7870
19932 msgid ""
19933 "This command runs C<file> after first decompressing C<path> using C<method>."
19934 msgstr ""
19935
19936 #. type: textblock
19937 #: ../fish/guestfish-actions.pod:5177
19938 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5177
19939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7873
19940 #: ../src/guestfs-actions.pod:7873
19941 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
19942 msgstr ""
19943
19944 #. type: textblock
19945 #: ../fish/guestfish-actions.pod:5179
19946 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5179
19947 msgid ""
19948 "Since 1.0.63, use L</file> instead which can now process compressed files."
19949 msgstr ""
19950
19951 #. type: textblock
19952 #: ../fish/guestfish-actions.pod:5182
19953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5182
19954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7881
19955 #: ../src/guestfs-actions.pod:7881
19956 msgid ""
19957 "This function is deprecated.  In new code, use the C<file> call instead."
19958 msgstr ""
19959
19960 #. type: =head2
19961 #: ../fish/guestfish-actions.pod:5189
19962 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5189
19963 msgid "zgrep"
19964 msgstr ""
19965
19966 #. type: verbatim
19967 #: ../fish/guestfish-actions.pod:5191
19968 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5191
19969 #, no-wrap
19970 msgid ""
19971 " zgrep regex path\n"
19972 "\n"
19973 msgstr ""
19974
19975 #. type: textblock
19976 #: ../fish/guestfish-actions.pod:5193
19977 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5193
19978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7897
19979 #: ../src/guestfs-actions.pod:7897
19980 msgid ""
19981 "This calls the external C<zgrep> program and returns the matching lines."
19982 msgstr ""
19983
19984 #. type: =head2
19985 #: ../fish/guestfish-actions.pod:5199
19986 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5199
19987 msgid "zgrepi"
19988 msgstr ""
19989
19990 #. type: verbatim
19991 #: ../fish/guestfish-actions.pod:5201
19992 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5201
19993 #, no-wrap
19994 msgid ""
19995 " zgrepi regex path\n"
19996 "\n"
19997 msgstr ""
19998
19999 #. type: textblock
20000 #: ../fish/guestfish-actions.pod:5203
20001 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5203
20002 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7916
20003 #: ../src/guestfs-actions.pod:7916
20004 msgid ""
20005 "This calls the external C<zgrep -i> program and returns the matching lines."
20006 msgstr ""
20007
20008 #. type: =head2
20009 #: ../fish/guestfish-commands.pod:1
20010 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:1
20011 msgid "alloc"
20012 msgstr ""
20013
20014 #. type: =head2
20015 #: ../fish/guestfish-commands.pod:3
20016 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:3
20017 msgid "allocate"
20018 msgstr ""
20019
20020 #. type: verbatim
20021 #: ../fish/guestfish-commands.pod:5
20022 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:5
20023 #, no-wrap
20024 msgid ""
20025 " alloc filename size\n"
20026 "\n"
20027 msgstr ""
20028
20029 #. type: textblock
20030 #: ../fish/guestfish-commands.pod:7
20031 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:7
20032 msgid ""
20033 "This creates an empty (zeroed) file of the given size, and then adds so it "
20034 "can be further examined."
20035 msgstr ""
20036
20037 #. type: textblock
20038 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:182
20039 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:10
20040 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:182
20041 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
20042 msgstr ""
20043
20044 #. type: textblock
20045 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:184
20046 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:12
20047 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:184
20048 msgid "Size can be specified using standard suffixes, eg. C<1M>."
20049 msgstr ""
20050
20051 #. type: textblock
20052 #: ../fish/guestfish-commands.pod:14
20053 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:14
20054 msgid ""
20055 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
20056 "image, see L</PREPARED DISK IMAGES>."
20057 msgstr ""
20058
20059 #. type: =head2
20060 #: ../fish/guestfish-commands.pod:17
20061 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:17
20062 msgid "copy-in"
20063 msgstr ""
20064
20065 #. type: verbatim
20066 #: ../fish/guestfish-commands.pod:19
20067 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:19
20068 #, no-wrap
20069 msgid ""
20070 " copy-in local [local ...] /remotedir\n"
20071 "\n"
20072 msgstr ""
20073
20074 #. type: textblock
20075 #: ../fish/guestfish-commands.pod:21
20076 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:21
20077 msgid ""
20078 "C<copy-in> copies local files or directories recursively into the disk "
20079 "image, placing them in the directory called C</remotedir> (which must "
20080 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
20081 "other commands as necessary."
20082 msgstr ""
20083
20084 #. type: textblock
20085 #: ../fish/guestfish-commands.pod:26
20086 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:26
20087 msgid ""
20088 "Multiple local files and directories can be specified, but the last "
20089 "parameter must always be a remote directory.  Wildcards cannot be used."
20090 msgstr ""
20091
20092 #. type: =head2
20093 #: ../fish/guestfish-commands.pod:30
20094 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:30
20095 msgid "copy-out"
20096 msgstr ""
20097
20098 #. type: verbatim
20099 #: ../fish/guestfish-commands.pod:32
20100 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:32
20101 #, no-wrap
20102 msgid ""
20103 " copy-out remote [remote ...] localdir\n"
20104 "\n"
20105 msgstr ""
20106
20107 #. type: textblock
20108 #: ../fish/guestfish-commands.pod:34
20109 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:34
20110 msgid ""
20111 "C<copy-out> copies remote files or directories recursively out of the disk "
20112 "image, placing them on the host disk in a local directory called C<localdir> "
20113 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
20114 "download>, L</tar-out> and other commands as necessary."
20115 msgstr ""
20116
20117 #. type: textblock
20118 #: ../fish/guestfish-commands.pod:40
20119 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:40
20120 msgid ""
20121 "Multiple remote files and directories can be specified, but the last "
20122 "parameter must always be a local directory.  To download to the current "
20123 "directory, use C<.> as in:"
20124 msgstr ""
20125
20126 #. type: verbatim
20127 #: ../fish/guestfish-commands.pod:44
20128 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:44
20129 #, no-wrap
20130 msgid ""
20131 " copy-out /home .\n"
20132 "\n"
20133 msgstr ""
20134
20135 #. type: textblock
20136 #: ../fish/guestfish-commands.pod:46
20137 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:46
20138 msgid ""
20139 "Wildcards cannot be used in the ordinary command, but you can use them with "
20140 "the help of L</glob> like this:"
20141 msgstr ""
20142
20143 #. type: verbatim
20144 #: ../fish/guestfish-commands.pod:49
20145 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:49
20146 #, no-wrap
20147 msgid ""
20148 " glob copy-out /home/* .\n"
20149 "\n"
20150 msgstr ""
20151
20152 #. type: =head2
20153 #: ../fish/guestfish-commands.pod:51
20154 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:51
20155 msgid "display"
20156 msgstr ""
20157
20158 #. type: verbatim
20159 #: ../fish/guestfish-commands.pod:53
20160 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:53
20161 #, no-wrap
20162 msgid ""
20163 " display filename\n"
20164 "\n"
20165 msgstr ""
20166
20167 #. type: textblock
20168 #: ../fish/guestfish-commands.pod:55
20169 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:55
20170 msgid ""
20171 "Use C<display> (a graphical display program) to display an image file.  It "
20172 "downloads the file, and runs C<display> on it."
20173 msgstr ""
20174
20175 #. type: textblock
20176 #: ../fish/guestfish-commands.pod:58
20177 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:58
20178 msgid ""
20179 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
20180 "environment variable.  For example to use the GNOME display program:"
20181 msgstr ""
20182
20183 #. type: verbatim
20184 #: ../fish/guestfish-commands.pod:61
20185 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:61
20186 #, no-wrap
20187 msgid ""
20188 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
20189 "\n"
20190 msgstr ""
20191
20192 #. type: textblock
20193 #: ../fish/guestfish-commands.pod:63
20194 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:63
20195 msgid "See also L<display(1)>."
20196 msgstr ""
20197
20198 #. type: =head2
20199 #: ../fish/guestfish-commands.pod:65
20200 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:65
20201 msgid "echo"
20202 msgstr ""
20203
20204 #. type: verbatim
20205 #: ../fish/guestfish-commands.pod:67
20206 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:67
20207 #, no-wrap
20208 msgid ""
20209 " echo [params ...]\n"
20210 "\n"
20211 msgstr ""
20212
20213 #. type: textblock
20214 #: ../fish/guestfish-commands.pod:69
20215 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:69
20216 msgid "This echos the parameters to the terminal."
20217 msgstr ""
20218
20219 #. type: =head2
20220 #: ../fish/guestfish-commands.pod:71
20221 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:71
20222 msgid "edit"
20223 msgstr ""
20224
20225 #. type: =head2
20226 #: ../fish/guestfish-commands.pod:73
20227 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:73
20228 msgid "vi"
20229 msgstr ""
20230
20231 #. type: =head2
20232 #: ../fish/guestfish-commands.pod:75
20233 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:75
20234 msgid "emacs"
20235 msgstr ""
20236
20237 #. type: verbatim
20238 #: ../fish/guestfish-commands.pod:77
20239 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:77
20240 #, no-wrap
20241 msgid ""
20242 " edit filename\n"
20243 "\n"
20244 msgstr ""
20245
20246 #. type: textblock
20247 #: ../fish/guestfish-commands.pod:79
20248 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:79
20249 msgid ""
20250 "This is used to edit a file.  It downloads the file, edits it locally using "
20251 "your editor, then uploads the result."
20252 msgstr ""
20253
20254 #. type: textblock
20255 #: ../fish/guestfish-commands.pod:82
20256 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:82
20257 msgid ""
20258 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
20259 "or C<emacs> you will get those corresponding editors."
20260 msgstr ""
20261
20262 #. type: =head2
20263 #: ../fish/guestfish-commands.pod:86
20264 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:86
20265 msgid "glob"
20266 msgstr ""
20267
20268 #. type: verbatim
20269 #: ../fish/guestfish-commands.pod:88
20270 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:88
20271 #, no-wrap
20272 msgid ""
20273 " glob command args...\n"
20274 "\n"
20275 msgstr ""
20276
20277 #. type: textblock
20278 #: ../fish/guestfish-commands.pod:90
20279 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:90
20280 msgid ""
20281 "Expand wildcards in any paths in the args list, and run C<command> "
20282 "repeatedly on each matching path."
20283 msgstr ""
20284
20285 #. type: textblock
20286 #: ../fish/guestfish-commands.pod:93
20287 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:93
20288 msgid "See L</WILDCARDS AND GLOBBING>."
20289 msgstr ""
20290
20291 #. type: =head2
20292 #: ../fish/guestfish-commands.pod:95
20293 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:95
20294 msgid "hexedit"
20295 msgstr ""
20296
20297 #. type: verbatim
20298 #: ../fish/guestfish-commands.pod:97
20299 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:97
20300 #, no-wrap
20301 msgid ""
20302 " hexedit <filename|device>\n"
20303 " hexedit <filename|device> <max>\n"
20304 " hexedit <filename|device> <start> <max>\n"
20305 "\n"
20306 msgstr ""
20307
20308 #. type: textblock
20309 #: ../fish/guestfish-commands.pod:101
20310 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:101
20311 msgid ""
20312 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
20313 "device."
20314 msgstr ""
20315
20316 #. type: textblock
20317 #: ../fish/guestfish-commands.pod:104
20318 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:104
20319 msgid ""
20320 "This command works by downloading potentially the whole file or device, "
20321 "editing it locally, then uploading it.  If the file or device is large, you "
20322 "have to specify which part you wish to edit by using C<max> and/or C<start> "
20323 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
20324 "usual modifiers allowed such as C<1M> (1 megabyte)."
20325 msgstr ""
20326
20327 #. type: textblock
20328 #: ../fish/guestfish-commands.pod:111
20329 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:111
20330 msgid "For example to edit the first few sectors of a disk you might do:"
20331 msgstr ""
20332
20333 #. type: verbatim
20334 #: ../fish/guestfish-commands.pod:114
20335 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:114
20336 #, no-wrap
20337 msgid ""
20338 " hexedit /dev/sda 1M\n"
20339 "\n"
20340 msgstr ""
20341
20342 #. type: textblock
20343 #: ../fish/guestfish-commands.pod:116
20344 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:116
20345 msgid ""
20346 "which would allow you to edit anywhere within the first megabyte of the disk."
20347 msgstr ""
20348
20349 #. type: textblock
20350 #: ../fish/guestfish-commands.pod:119
20351 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:119
20352 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
20353 msgstr ""
20354
20355 #. type: verbatim
20356 #: ../fish/guestfish-commands.pod:121
20357 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:121
20358 #, no-wrap
20359 msgid ""
20360 " hexedit /dev/sda1 0x400 0x400\n"
20361 "\n"
20362 msgstr ""
20363
20364 #. type: textblock
20365 #: ../fish/guestfish-commands.pod:123
20366 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:123
20367 msgid "(assuming the superblock is in the standard location)."
20368 msgstr ""
20369
20370 #. type: textblock
20371 #: ../fish/guestfish-commands.pod:125
20372 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:125
20373 msgid ""
20374 "This command requires the external L<hexedit(1)> program.  You can specify "
20375 "another program to use by setting the C<HEXEDITOR> environment variable."
20376 msgstr ""
20377
20378 #. type: textblock
20379 #: ../fish/guestfish-commands.pod:129
20380 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:129
20381 msgid "See also L</hexdump>."
20382 msgstr ""
20383
20384 #. type: =head2
20385 #: ../fish/guestfish-commands.pod:131
20386 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:131
20387 msgid "lcd"
20388 msgstr ""
20389
20390 #. type: verbatim
20391 #: ../fish/guestfish-commands.pod:133
20392 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:133
20393 #, no-wrap
20394 msgid ""
20395 " lcd directory\n"
20396 "\n"
20397 msgstr ""
20398
20399 #. type: textblock
20400 #: ../fish/guestfish-commands.pod:135
20401 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:135
20402 msgid ""
20403 "Change the local directory, ie. the current directory of guestfish itself."
20404 msgstr ""
20405
20406 #. type: textblock
20407 #: ../fish/guestfish-commands.pod:138
20408 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:138
20409 msgid "Note that C<!cd> won't do what you might expect."
20410 msgstr ""
20411
20412 #. type: =head2
20413 #: ../fish/guestfish-commands.pod:140
20414 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:140
20415 msgid "man"
20416 msgstr ""
20417
20418 #. type: =head2
20419 #: ../fish/guestfish-commands.pod:142
20420 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:142
20421 msgid "manual"
20422 msgstr ""
20423
20424 #. type: verbatim
20425 #: ../fish/guestfish-commands.pod:144
20426 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:144
20427 #, no-wrap
20428 msgid ""
20429 "  man\n"
20430 "\n"
20431 msgstr ""
20432
20433 #. type: textblock
20434 #: ../fish/guestfish-commands.pod:146
20435 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:146
20436 msgid "Opens the manual page for guestfish."
20437 msgstr ""
20438
20439 #. type: =head2
20440 #: ../fish/guestfish-commands.pod:148
20441 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:148
20442 msgid "more"
20443 msgstr ""
20444
20445 #. type: =head2
20446 #: ../fish/guestfish-commands.pod:150
20447 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:150
20448 msgid "less"
20449 msgstr ""
20450
20451 #. type: verbatim
20452 #: ../fish/guestfish-commands.pod:152
20453 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:152
20454 #, no-wrap
20455 msgid ""
20456 " more filename\n"
20457 "\n"
20458 msgstr ""
20459
20460 #. type: verbatim
20461 #: ../fish/guestfish-commands.pod:154
20462 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:154
20463 #, no-wrap
20464 msgid ""
20465 " less filename\n"
20466 "\n"
20467 msgstr ""
20468
20469 #. type: textblock
20470 #: ../fish/guestfish-commands.pod:156
20471 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:156
20472 msgid "This is used to view a file."
20473 msgstr ""
20474
20475 #. type: textblock
20476 #: ../fish/guestfish-commands.pod:158
20477 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:158
20478 msgid ""
20479 "The default viewer is C<$PAGER>.  However if you use the alternate command "
20480 "C<less> you will get the C<less> command specifically."
20481 msgstr ""
20482
20483 #. type: =head2
20484 #: ../fish/guestfish-commands.pod:161
20485 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:161
20486 msgid "reopen"
20487 msgstr ""
20488
20489 #. type: verbatim
20490 #: ../fish/guestfish-commands.pod:163
20491 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:163
20492 #, no-wrap
20493 msgid ""
20494 "  reopen\n"
20495 "\n"
20496 msgstr ""
20497
20498 #. type: textblock
20499 #: ../fish/guestfish-commands.pod:165
20500 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:165
20501 msgid ""
20502 "Close and reopen the libguestfs handle.  It is not necessary to use this "
20503 "normally, because the handle is closed properly when guestfish exits.  "
20504 "However this is occasionally useful for testing."
20505 msgstr ""
20506
20507 #. type: =head2
20508 #: ../fish/guestfish-commands.pod:169
20509 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:169
20510 msgid "sparse"
20511 msgstr ""
20512
20513 #. type: verbatim
20514 #: ../fish/guestfish-commands.pod:171
20515 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:171
20516 #, no-wrap
20517 msgid ""
20518 " sparse filename size\n"
20519 "\n"
20520 msgstr ""
20521
20522 #. type: textblock
20523 #: ../fish/guestfish-commands.pod:173
20524 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:173
20525 msgid ""
20526 "This creates an empty sparse file of the given size, and then adds so it can "
20527 "be further examined."
20528 msgstr ""
20529
20530 #. type: textblock
20531 #: ../fish/guestfish-commands.pod:176
20532 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:176
20533 msgid ""
20534 "In all respects it works the same as the L</alloc> command, except that the "
20535 "image file is allocated sparsely, which means that disk blocks are not "
20536 "assigned to the file until they are needed.  Sparse disk files only use "
20537 "space when written to, but they are slower and there is a danger you could "
20538 "run out of real disk space during a write operation."
20539 msgstr ""
20540
20541 #. type: =head2
20542 #: ../fish/guestfish-commands.pod:186
20543 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:186
20544 msgid "supported"
20545 msgstr ""
20546
20547 #. type: verbatim
20548 #: ../fish/guestfish-commands.pod:188
20549 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:188
20550 #, no-wrap
20551 msgid ""
20552 " supported\n"
20553 "\n"
20554 msgstr ""
20555
20556 #. type: textblock
20557 #: ../fish/guestfish-commands.pod:190
20558 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:190
20559 msgid ""
20560 "This command returns a list of the optional groups known to the daemon, and "
20561 "indicates which ones are supported by this build of the libguestfs appliance."
20562 msgstr ""
20563
20564 #. type: textblock
20565 #: ../fish/guestfish-commands.pod:194
20566 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:194
20567 msgid "See also L<guestfs(3)/AVAILABILITY>."
20568 msgstr ""
20569
20570 #. type: =head2
20571 #: ../fish/guestfish-commands.pod:196
20572 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:196
20573 msgid "time"
20574 msgstr ""
20575
20576 #. type: verbatim
20577 #: ../fish/guestfish-commands.pod:198
20578 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:198
20579 #, no-wrap
20580 msgid ""
20581 " time command args...\n"
20582 "\n"
20583 msgstr ""
20584
20585 #. type: textblock
20586 #: ../fish/guestfish-commands.pod:200
20587 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:200
20588 msgid ""
20589 "Run the command as usual, but print the elapsed time afterwards.  This can "
20590 "be useful for benchmarking operations."
20591 msgstr ""
20592
20593 #. type: textblock
20594 #: ../fish/guestfish.pod:5 ../libguestfs-1.11.20/fish/guestfish.pod:5
20595 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
20596 msgstr ""
20597
20598 #. type: verbatim
20599 #: ../fish/guestfish.pod:9 ../libguestfs-1.11.20/fish/guestfish.pod:9
20600 #, no-wrap
20601 msgid ""
20602 " guestfish [--options] [commands]\n"
20603 "\n"
20604 msgstr ""
20605
20606 #. type: verbatim
20607 #: ../fish/guestfish.pod:11 ../libguestfs-1.11.20/fish/guestfish.pod:11
20608 #, no-wrap
20609 msgid ""
20610 " guestfish\n"
20611 "\n"
20612 msgstr ""
20613
20614 #. type: verbatim
20615 #: ../fish/guestfish.pod:13 ../libguestfs-1.11.20/fish/guestfish.pod:13
20616 #, no-wrap
20617 msgid ""
20618 " guestfish [--ro|--rw] -a disk.img\n"
20619 "\n"
20620 msgstr ""
20621
20622 #. type: verbatim
20623 #: ../fish/guestfish.pod:15 ../libguestfs-1.11.20/fish/guestfish.pod:15
20624 #, no-wrap
20625 msgid ""
20626 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
20627 "\n"
20628 msgstr ""
20629
20630 #. type: verbatim
20631 #: ../fish/guestfish.pod:17 ../libguestfs-1.11.20/fish/guestfish.pod:17
20632 #, no-wrap
20633 msgid ""
20634 " guestfish -d libvirt-domain\n"
20635 "\n"
20636 msgstr ""
20637
20638 #. type: verbatim
20639 #: ../fish/guestfish.pod:19 ../libguestfs-1.11.20/fish/guestfish.pod:19
20640 #, no-wrap
20641 msgid ""
20642 " guestfish [--ro|--rw] -a disk.img -i\n"
20643 "\n"
20644 msgstr ""
20645
20646 #. type: verbatim
20647 #: ../fish/guestfish.pod:21 ../libguestfs-1.11.20/fish/guestfish.pod:21
20648 #, no-wrap
20649 msgid ""
20650 " guestfish -d libvirt-domain -i\n"
20651 "\n"
20652 msgstr ""
20653
20654 #. type: textblock
20655 #: ../fish/guestfish.pod:25 ../libguestfs-1.11.20/fish/guestfish.pod:25
20656 msgid ""
20657 "Using guestfish in read/write mode on live virtual machines can be "
20658 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
20659 "option to use guestfish safely if the disk image or virtual machine might be "
20660 "live."
20661 msgstr ""
20662
20663 #. type: textblock
20664 #: ../fish/guestfish.pod:32 ../libguestfs-1.11.20/fish/guestfish.pod:32
20665 msgid ""
20666 "Guestfish is a shell and command-line tool for examining and modifying "
20667 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
20668 "functionality of the guestfs API, see L<guestfs(3)>."
20669 msgstr ""
20670
20671 #. type: textblock
20672 #: ../fish/guestfish.pod:36 ../libguestfs-1.11.20/fish/guestfish.pod:36
20673 msgid ""
20674 "Guestfish gives you structured access to the libguestfs API, from shell "
20675 "scripts or the command line or interactively.  If you want to rescue a "
20676 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
20677 "command."
20678 msgstr ""
20679
20680 #. type: =head2
20681 #: ../fish/guestfish.pod:43 ../libguestfs-1.11.20/fish/guestfish.pod:43
20682 msgid "As an interactive shell"
20683 msgstr ""
20684
20685 #. type: verbatim
20686 #: ../fish/guestfish.pod:45 ../libguestfs-1.11.20/fish/guestfish.pod:45
20687 #, no-wrap
20688 msgid ""
20689 " $ guestfish\n"
20690 " \n"
20691 msgstr ""
20692
20693 #. type: verbatim
20694 #: ../fish/guestfish.pod:47 ../libguestfs-1.11.20/fish/guestfish.pod:47
20695 #, no-wrap
20696 msgid ""
20697 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
20698 " editing virtual machine filesystems.\n"
20699 " \n"
20700 msgstr ""
20701
20702 #. type: verbatim
20703 #: ../fish/guestfish.pod:50 ../libguestfs-1.11.20/fish/guestfish.pod:50
20704 #, no-wrap
20705 msgid ""
20706 " Type: 'help' for a list of commands\n"
20707 "       'man' to read the manual\n"
20708 "       'quit' to quit the shell\n"
20709 " \n"
20710 msgstr ""
20711
20712 #. type: verbatim
20713 #: ../fish/guestfish.pod:54 ../libguestfs-1.11.20/fish/guestfish.pod:54
20714 #, no-wrap
20715 msgid ""
20716 " ><fs> add-ro disk.img\n"
20717 " ><fs> run\n"
20718 " ><fs> list-filesystems\n"
20719 " /dev/sda1: ext4\n"
20720 " /dev/vg_guest/lv_root: ext4\n"
20721 " /dev/vg_guest/lv_swap: swap\n"
20722 " ><fs> mount /dev/vg_guest/lv_root /\n"
20723 " ><fs> cat /etc/fstab\n"
20724 " # /etc/fstab\n"
20725 " # Created by anaconda\n"
20726 " [...]\n"
20727 " ><fs> exit\n"
20728 "\n"
20729 msgstr ""
20730
20731 #. type: =head2
20732 #: ../fish/guestfish.pod:67 ../libguestfs-1.11.20/fish/guestfish.pod:67
20733 msgid "From shell scripts"
20734 msgstr ""
20735
20736 #. type: textblock
20737 #: ../fish/guestfish.pod:69 ../libguestfs-1.11.20/fish/guestfish.pod:69
20738 msgid "Create a new C</etc/motd> file in a guest or disk image:"
20739 msgstr ""
20740
20741 #. type: verbatim
20742 #: ../fish/guestfish.pod:71 ../libguestfs-1.11.20/fish/guestfish.pod:71
20743 #, no-wrap
20744 msgid ""
20745 " guestfish <<_EOF_\n"
20746 " add disk.img\n"
20747 " run\n"
20748 " mount /dev/vg_guest/lv_root /\n"
20749 " write /etc/motd \"Welcome, new users\"\n"
20750 " _EOF_\n"
20751 "\n"
20752 msgstr ""
20753
20754 #. type: textblock
20755 #: ../fish/guestfish.pod:78 ../libguestfs-1.11.20/fish/guestfish.pod:78
20756 msgid "List the LVM logical volumes in a disk image:"
20757 msgstr ""
20758
20759 #. type: verbatim
20760 #: ../fish/guestfish.pod:80 ../libguestfs-1.11.20/fish/guestfish.pod:80
20761 #, no-wrap
20762 msgid ""
20763 " guestfish -a disk.img --ro <<_EOF_\n"
20764 " run\n"
20765 " lvs\n"
20766 " _EOF_\n"
20767 "\n"
20768 msgstr ""
20769
20770 #. type: textblock
20771 #: ../fish/guestfish.pod:85 ../libguestfs-1.11.20/fish/guestfish.pod:85
20772 msgid "List all the filesystems in a disk image:"
20773 msgstr ""
20774
20775 #. type: verbatim
20776 #: ../fish/guestfish.pod:87 ../libguestfs-1.11.20/fish/guestfish.pod:87
20777 #, no-wrap
20778 msgid ""
20779 " guestfish -a disk.img --ro <<_EOF_\n"
20780 " run\n"
20781 " list-filesystems\n"
20782 " _EOF_\n"
20783 "\n"
20784 msgstr ""
20785
20786 #. type: =head2
20787 #: ../fish/guestfish.pod:92 ../libguestfs-1.11.20/fish/guestfish.pod:92
20788 msgid "On one command line"
20789 msgstr ""
20790
20791 #. type: textblock
20792 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
20793 #: ../libguestfs-1.11.20/fish/guestfish.pod:94
20794 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:31
20795 msgid "Update C</etc/resolv.conf> in a guest:"
20796 msgstr ""
20797
20798 #. type: verbatim
20799 #: ../fish/guestfish.pod:96 ../libguestfs-1.11.20/fish/guestfish.pod:96
20800 #, no-wrap
20801 msgid ""
20802 " guestfish \\\n"
20803 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
20804 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
20805 "\n"
20806 msgstr ""
20807
20808 #. type: textblock
20809 #: ../fish/guestfish.pod:100 ../libguestfs-1.11.20/fish/guestfish.pod:100
20810 msgid "Edit C</boot/grub/grub.conf> interactively:"
20811 msgstr ""
20812
20813 #. type: verbatim
20814 #: ../fish/guestfish.pod:102 ../libguestfs-1.11.20/fish/guestfish.pod:102
20815 #, no-wrap
20816 msgid ""
20817 " guestfish --rw --add disk.img \\\n"
20818 "   --mount /dev/vg_guest/lv_root \\\n"
20819 "   --mount /dev/sda1:/boot \\\n"
20820 "   edit /boot/grub/grub.conf\n"
20821 "\n"
20822 msgstr ""
20823
20824 #. type: =head2
20825 #: ../fish/guestfish.pod:107 ../libguestfs-1.11.20/fish/guestfish.pod:107
20826 msgid "Mount disks automatically"
20827 msgstr ""
20828
20829 #. type: textblock
20830 #: ../fish/guestfish.pod:109 ../libguestfs-1.11.20/fish/guestfish.pod:109
20831 msgid ""
20832 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
20833 msgstr ""
20834
20835 #. type: verbatim
20836 #: ../fish/guestfish.pod:112 ../libguestfs-1.11.20/fish/guestfish.pod:112
20837 #, no-wrap
20838 msgid ""
20839 " guestfish --ro -a disk.img -i cat /etc/group\n"
20840 "\n"
20841 msgstr ""
20842
20843 #. type: verbatim
20844 #: ../fish/guestfish.pod:114 ../libguestfs-1.11.20/fish/guestfish.pod:114
20845 #, no-wrap
20846 msgid ""
20847 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
20848 "\n"
20849 msgstr ""
20850
20851 #. type: textblock
20852 #: ../fish/guestfish.pod:116 ../libguestfs-1.11.20/fish/guestfish.pod:116
20853 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
20854 msgstr ""
20855
20856 #. type: verbatim
20857 #: ../fish/guestfish.pod:118 ../libguestfs-1.11.20/fish/guestfish.pod:118
20858 #, no-wrap
20859 msgid ""
20860 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
20861 "\n"
20862 msgstr ""
20863
20864 #. type: =head2
20865 #: ../fish/guestfish.pod:120 ../libguestfs-1.11.20/fish/guestfish.pod:120
20866 msgid "As a script interpreter"
20867 msgstr ""
20868
20869 #. type: textblock
20870 #: ../fish/guestfish.pod:122 ../libguestfs-1.11.20/fish/guestfish.pod:122
20871 msgid "Create a 100MB disk containing an ext2-formatted partition:"
20872 msgstr ""
20873
20874 #. type: verbatim
20875 #: ../fish/guestfish.pod:124 ../libguestfs-1.11.20/fish/guestfish.pod:124
20876 #, no-wrap
20877 msgid ""
20878 " #!/usr/bin/guestfish -f\n"
20879 " sparse test1.img 100M\n"
20880 " run\n"
20881 " part-disk /dev/sda mbr\n"
20882 " mkfs ext2 /dev/sda1\n"
20883 "\n"
20884 msgstr ""
20885
20886 #. type: =head2
20887 #: ../fish/guestfish.pod:130 ../libguestfs-1.11.20/fish/guestfish.pod:130
20888 msgid "Start with a prepared disk"
20889 msgstr ""
20890
20891 #. type: textblock
20892 #: ../fish/guestfish.pod:132 ../libguestfs-1.11.20/fish/guestfish.pod:132
20893 msgid ""
20894 "An alternate way to create a 100MB disk called C<test1.img> containing a "
20895 "single ext2-formatted partition:"
20896 msgstr ""
20897
20898 #. type: verbatim
20899 #: ../fish/guestfish.pod:135 ../libguestfs-1.11.20/fish/guestfish.pod:135
20900 #, no-wrap
20901 msgid ""
20902 " guestfish -N fs\n"
20903 "\n"
20904 msgstr ""
20905
20906 #. type: textblock
20907 #: ../fish/guestfish.pod:137 ../libguestfs-1.11.20/fish/guestfish.pod:137
20908 msgid "To list what is available do:"
20909 msgstr ""
20910
20911 #. type: verbatim
20912 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:998
20913 #: ../libguestfs-1.11.20/fish/guestfish.pod:139
20914 #: ../libguestfs-1.11.20/fish/guestfish.pod:998
20915 #, no-wrap
20916 msgid ""
20917 " guestfish -N help | less\n"
20918 "\n"
20919 msgstr ""
20920
20921 #. type: =head2
20922 #: ../fish/guestfish.pod:141 ../libguestfs-1.11.20/fish/guestfish.pod:141
20923 msgid "Remote control"
20924 msgstr ""
20925
20926 #. type: verbatim
20927 #: ../fish/guestfish.pod:143 ../libguestfs-1.11.20/fish/guestfish.pod:143
20928 #, no-wrap
20929 msgid ""
20930 " eval \"`guestfish --listen`\"\n"
20931 " guestfish --remote add-ro disk.img\n"
20932 " guestfish --remote run\n"
20933 " guestfish --remote lvs\n"
20934 "\n"
20935 msgstr ""
20936
20937 #. type: textblock
20938 #: ../fish/guestfish.pod:154 ../libguestfs-1.11.20/fish/guestfish.pod:154
20939 msgid "Displays general help on options."
20940 msgstr ""
20941
20942 #. type: =item
20943 #: ../fish/guestfish.pod:158 ../libguestfs-1.11.20/fish/guestfish.pod:158
20944 msgid "B<--cmd-help>"
20945 msgstr ""
20946
20947 #. type: textblock
20948 #: ../fish/guestfish.pod:160 ../libguestfs-1.11.20/fish/guestfish.pod:160
20949 msgid "Lists all available guestfish commands."
20950 msgstr ""
20951
20952 #. type: =item
20953 #: ../fish/guestfish.pod:162 ../libguestfs-1.11.20/fish/guestfish.pod:162
20954 msgid "B<-h cmd>"
20955 msgstr ""
20956
20957 #. type: =item
20958 #: ../fish/guestfish.pod:164 ../libguestfs-1.11.20/fish/guestfish.pod:164
20959 msgid "B<--cmd-help cmd>"
20960 msgstr ""
20961
20962 #. type: textblock
20963 #: ../fish/guestfish.pod:166 ../libguestfs-1.11.20/fish/guestfish.pod:166
20964 msgid "Displays detailed help on a single command C<cmd>."
20965 msgstr ""
20966
20967 #. type: =item
20968 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:87
20969 #: ../libguestfs-1.11.20/fish/guestfish.pod:168
20970 #: ../libguestfs-1.11.20/fuse/guestmount.pod:87
20971 msgid "B<-a image>"
20972 msgstr ""
20973
20974 #. type: =item
20975 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:89
20976 #: ../libguestfs-1.11.20/fish/guestfish.pod:170
20977 #: ../libguestfs-1.11.20/fuse/guestmount.pod:89
20978 msgid "B<--add image>"
20979 msgstr ""
20980
20981 #. type: textblock
20982 #: ../fish/guestfish.pod:172 ../libguestfs-1.11.20/fish/guestfish.pod:172
20983 msgid "Add a block device or virtual machine image to the shell."
20984 msgstr ""
20985
20986 #. type: textblock
20987 #: ../fish/guestfish.pod:177 ../libguestfs-1.11.20/fish/guestfish.pod:177
20988 msgid ""
20989 "Using this flag is mostly equivalent to using the C<add> command, with "
20990 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
20991 "the I<--format=...> flag was given."
20992 msgstr ""
20993
20994 #. type: textblock
20995 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:100
20996 #: ../libguestfs-1.11.20/fish/guestfish.pod:185
20997 #: ../libguestfs-1.11.20/fuse/guestmount.pod:100
20998 msgid ""
20999 "When used in conjunction with the I<-d> option, this specifies the libvirt "
21000 "URI to use.  The default is to use the default libvirt connection."
21001 msgstr ""
21002
21003 #. type: =item
21004 #: ../fish/guestfish.pod:189 ../libguestfs-1.11.20/fish/guestfish.pod:189
21005 msgid "B<--csh>"
21006 msgstr ""
21007
21008 #. type: textblock
21009 #: ../fish/guestfish.pod:191 ../libguestfs-1.11.20/fish/guestfish.pod:191
21010 msgid ""
21011 "If using the I<--listen> option and a csh-like shell, use this option.  See "
21012 "section L</REMOTE CONTROL AND CSH> below."
21013 msgstr ""
21014
21015 #. type: =item
21016 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:104
21017 #: ../libguestfs-1.11.20/fish/guestfish.pod:194
21018 #: ../libguestfs-1.11.20/fuse/guestmount.pod:104
21019 msgid "B<-d libvirt-domain>"
21020 msgstr ""
21021
21022 #. type: =item
21023 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:106
21024 #: ../libguestfs-1.11.20/fish/guestfish.pod:196
21025 #: ../libguestfs-1.11.20/fuse/guestmount.pod:106
21026 msgid "B<--domain libvirt-domain>"
21027 msgstr ""
21028
21029 #. type: textblock
21030 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:108
21031 #: ../libguestfs-1.11.20/fish/guestfish.pod:198
21032 #: ../libguestfs-1.11.20/fuse/guestmount.pod:108
21033 msgid ""
21034 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
21035 "used, then any libvirt domain can be used.  However in write mode, only "
21036 "libvirt domains which are shut down can be named here."
21037 msgstr ""
21038
21039 #. type: textblock
21040 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:112
21041 #: ../libguestfs-1.11.20/fish/guestfish.pod:202
21042 #: ../libguestfs-1.11.20/fuse/guestmount.pod:112
21043 msgid "Domain UUIDs can be used instead of names."
21044 msgstr ""
21045
21046 #. type: textblock
21047 #: ../fish/guestfish.pod:204 ../libguestfs-1.11.20/fish/guestfish.pod:204
21048 msgid ""
21049 "Using this flag is mostly equivalent to using the C<add-domain> command, "
21050 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
21051 "if the I<--format:...> flag was given."
21052 msgstr ""
21053
21054 #. type: =item
21055 #: ../fish/guestfish.pod:208 ../libguestfs-1.11.20/fish/guestfish.pod:208
21056 msgid "B<-D>"
21057 msgstr ""
21058
21059 #. type: =item
21060 #: ../fish/guestfish.pod:210 ../libguestfs-1.11.20/fish/guestfish.pod:210
21061 msgid "B<--no-dest-paths>"
21062 msgstr ""
21063
21064 #. type: textblock
21065 #: ../fish/guestfish.pod:212 ../libguestfs-1.11.20/fish/guestfish.pod:212
21066 msgid ""
21067 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
21068 "to hit the tab key to complete paths on the guest filesystem, but this "
21069 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
21070 "allow this feature to be disabled."
21071 msgstr ""
21072
21073 #. type: textblock
21074 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:128
21075 #: ../libguestfs-1.11.20/fish/guestfish.pod:219
21076 #: ../libguestfs-1.11.20/fuse/guestmount.pod:128
21077 msgid ""
21078 "When prompting for keys and passphrases, guestfish normally turns echoing "
21079 "off so you cannot see what you are typing.  If you are not worried about "
21080 "Tempest attacks and there is no one else in the room you can specify this "
21081 "flag to see what you are typing."
21082 msgstr ""
21083
21084 #. type: =item
21085 #: ../fish/guestfish.pod:224 ../libguestfs-1.11.20/fish/guestfish.pod:224
21086 msgid "B<-f file>"
21087 msgstr ""
21088
21089 #. type: =item
21090 #: ../fish/guestfish.pod:226 ../libguestfs-1.11.20/fish/guestfish.pod:226
21091 msgid "B<--file file>"
21092 msgstr ""
21093
21094 #. type: textblock
21095 #: ../fish/guestfish.pod:228 ../libguestfs-1.11.20/fish/guestfish.pod:228
21096 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
21097 msgstr ""
21098
21099 #. type: verbatim
21100 #: ../fish/guestfish.pod:231 ../libguestfs-1.11.20/fish/guestfish.pod:231
21101 #, no-wrap
21102 msgid ""
21103 " #!/usr/bin/guestfish -f\n"
21104 "\n"
21105 msgstr ""
21106
21107 #. type: verbatim
21108 #: ../fish/guestfish.pod:244 ../libguestfs-1.11.20/fish/guestfish.pod:244
21109 #, no-wrap
21110 msgid ""
21111 " guestfish --format=raw -a disk.img\n"
21112 "\n"
21113 msgstr ""
21114
21115 #. type: verbatim
21116 #: ../fish/guestfish.pod:248 ../libguestfs-1.11.20/fish/guestfish.pod:248
21117 #, no-wrap
21118 msgid ""
21119 " guestfish --format=raw -a disk.img --format -a another.img\n"
21120 "\n"
21121 msgstr ""
21122
21123 #. type: textblock
21124 #: ../fish/guestfish.pod:253 ../libguestfs-1.11.20/fish/guestfish.pod:253
21125 msgid ""
21126 "If you have untrusted raw-format guest disk images, you should use this "
21127 "option to specify the disk format.  This avoids a possible security problem "
21128 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
21129 msgstr ""
21130
21131 #. type: =item
21132 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:157
21133 #: ../libguestfs-1.11.20/fish/guestfish.pod:260
21134 #: ../libguestfs-1.11.20/fuse/guestmount.pod:157
21135 msgid "B<--inspector>"
21136 msgstr ""
21137
21138 #. type: textblock
21139 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:159
21140 #: ../libguestfs-1.11.20/fish/guestfish.pod:262
21141 #: ../libguestfs-1.11.20/fuse/guestmount.pod:159
21142 msgid ""
21143 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
21144 "system and mount filesystems as they would be mounted on the real virtual "
21145 "machine."
21146 msgstr ""
21147
21148 #. type: textblock
21149 #: ../fish/guestfish.pod:266 ../libguestfs-1.11.20/fish/guestfish.pod:266
21150 msgid "Typical usage is either:"
21151 msgstr ""
21152
21153 #. type: verbatim
21154 #: ../fish/guestfish.pod:268 ../libguestfs-1.11.20/fish/guestfish.pod:268
21155 #, no-wrap
21156 msgid ""
21157 " guestfish -d myguest -i\n"
21158 "\n"
21159 msgstr ""
21160
21161 #. type: textblock
21162 #: ../fish/guestfish.pod:270 ../libguestfs-1.11.20/fish/guestfish.pod:270
21163 msgid "(for an inactive libvirt domain called I<myguest>), or:"
21164 msgstr ""
21165
21166 #. type: verbatim
21167 #: ../fish/guestfish.pod:272 ../libguestfs-1.11.20/fish/guestfish.pod:272
21168 #, no-wrap
21169 msgid ""
21170 " guestfish --ro -d myguest -i\n"
21171 "\n"
21172 msgstr ""
21173
21174 #. type: textblock
21175 #: ../fish/guestfish.pod:274 ../libguestfs-1.11.20/fish/guestfish.pod:274
21176 msgid "(for active domains, readonly), or specify the block device directly:"
21177 msgstr ""
21178
21179 #. type: verbatim
21180 #: ../fish/guestfish.pod:276 ../libguestfs-1.11.20/fish/guestfish.pod:276
21181 #, no-wrap
21182 msgid ""
21183 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
21184 "\n"
21185 msgstr ""
21186
21187 #. type: textblock
21188 #: ../fish/guestfish.pod:278 ../libguestfs-1.11.20/fish/guestfish.pod:278
21189 msgid ""
21190 "Note that the command line syntax changed slightly over older versions of "
21191 "guestfish.  You can still use the old syntax:"
21192 msgstr ""
21193
21194 #. type: verbatim
21195 #: ../fish/guestfish.pod:281 ../libguestfs-1.11.20/fish/guestfish.pod:281
21196 #, no-wrap
21197 msgid ""
21198 " guestfish [--ro] -i disk.img\n"
21199 "\n"
21200 msgstr ""
21201
21202 #. type: verbatim
21203 #: ../fish/guestfish.pod:283 ../libguestfs-1.11.20/fish/guestfish.pod:283
21204 #, no-wrap
21205 msgid ""
21206 " guestfish [--ro] -i libvirt-domain\n"
21207 "\n"
21208 msgstr ""
21209
21210 #. type: textblock
21211 #: ../fish/guestfish.pod:285 ../libguestfs-1.11.20/fish/guestfish.pod:285
21212 msgid ""
21213 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
21214 "then using other commands to mount the filesystems that were found."
21215 msgstr ""
21216
21217 #. type: =item
21218 #: ../fish/guestfish.pod:294 ../libguestfs-1.11.20/fish/guestfish.pod:294
21219 msgid "B<--listen>"
21220 msgstr ""
21221
21222 #. type: textblock
21223 #: ../fish/guestfish.pod:296 ../libguestfs-1.11.20/fish/guestfish.pod:296
21224 msgid ""
21225 "Fork into the background and listen for remote commands.  See section L</"
21226 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
21227 msgstr ""
21228
21229 #. type: =item
21230 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:168
21231 #: ../libguestfs-1.11.20/fish/guestfish.pod:299
21232 #: ../libguestfs-1.11.20/fuse/guestmount.pod:168
21233 msgid "B<--live>"
21234 msgstr ""
21235
21236 #. type: textblock
21237 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:170
21238 #: ../libguestfs-1.11.20/fish/guestfish.pod:301
21239 #: ../libguestfs-1.11.20/fuse/guestmount.pod:170
21240 msgid ""
21241 "Connect to a live virtual machine.  (Experimental, see L<guestfs(3)/"
21242 "ATTACHING TO RUNNING DAEMONS>)."
21243 msgstr ""
21244
21245 #. type: =item
21246 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:173
21247 #: ../libguestfs-1.11.20/fish/guestfish.pod:304
21248 #: ../libguestfs-1.11.20/fuse/guestmount.pod:173
21249 msgid "B<-m dev[:mountpoint[:options]]>"
21250 msgstr ""
21251
21252 #. type: =item
21253 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:175
21254 #: ../libguestfs-1.11.20/fish/guestfish.pod:306
21255 #: ../libguestfs-1.11.20/fuse/guestmount.pod:175
21256 msgid "B<--mount dev[:mountpoint[:options]]>"
21257 msgstr ""
21258
21259 #. type: textblock
21260 #: ../fish/guestfish.pod:308 ../libguestfs-1.11.20/fish/guestfish.pod:308
21261 msgid "Mount the named partition or logical volume on the given mountpoint."
21262 msgstr ""
21263
21264 #. type: textblock
21265 #: ../fish/guestfish.pod:310 ../libguestfs-1.11.20/fish/guestfish.pod:310
21266 msgid "If the mountpoint is omitted, it defaults to C</>."
21267 msgstr ""
21268
21269 #. type: textblock
21270 #: ../fish/guestfish.pod:312 ../libguestfs-1.11.20/fish/guestfish.pod:312
21271 msgid "You have to mount something on C</> before most commands will work."
21272 msgstr ""
21273
21274 #. type: textblock
21275 #: ../fish/guestfish.pod:314 ../libguestfs-1.11.20/fish/guestfish.pod:314
21276 msgid ""
21277 "If any I<-m> or I<--mount> options are given, the guest is automatically "
21278 "launched."
21279 msgstr ""
21280
21281 #. type: textblock
21282 #: ../fish/guestfish.pod:317 ../libguestfs-1.11.20/fish/guestfish.pod:317
21283 msgid ""
21284 "If you don't know what filesystems a disk image contains, you can either run "
21285 "guestfish without this option, then list the partitions, filesystems and LVs "
21286 "available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
21287 "commands), or you can use the L<virt-filesystems(1)> program."
21288 msgstr ""
21289
21290 #. type: textblock
21291 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:183
21292 #: ../libguestfs-1.11.20/fish/guestfish.pod:323
21293 #: ../libguestfs-1.11.20/fuse/guestmount.pod:183
21294 msgid ""
21295 "The third (and rarely used) part of the mount parameter is the list of mount "
21296 "options used to mount the underlying filesystem.  If this is not given, then "
21297 "the mount options are either the empty string or C<ro> (the latter if the "
21298 "I<--ro> flag is used).  By specifying the mount options, you override this "
21299 "default choice.  Probably the only time you would use this is to enable ACLs "
21300 "and/or extended attributes if the filesystem can support them:"
21301 msgstr ""
21302
21303 #. type: verbatim
21304 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:191
21305 #: ../libguestfs-1.11.20/fish/guestfish.pod:331
21306 #: ../libguestfs-1.11.20/fuse/guestmount.pod:191
21307 #, no-wrap
21308 msgid ""
21309 " -m /dev/sda1:/:acl,user_xattr\n"
21310 "\n"
21311 msgstr ""
21312
21313 #. type: textblock
21314 #: ../fish/guestfish.pod:333 ../libguestfs-1.11.20/fish/guestfish.pod:333
21315 msgid "Using this flag is equivalent to using the C<mount-options> command."
21316 msgstr ""
21317
21318 #. type: =item
21319 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:193
21320 #: ../libguestfs-1.11.20/fish/guestfish.pod:335
21321 #: ../libguestfs-1.11.20/fuse/guestmount.pod:193
21322 #: ../libguestfs-1.11.20/resize/virt-resize.pod:352
21323 #: ../resize/virt-resize.pod:352
21324 msgid "B<-n>"
21325 msgstr ""
21326
21327 #. type: =item
21328 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:195
21329 #: ../libguestfs-1.11.20/fish/guestfish.pod:337
21330 #: ../libguestfs-1.11.20/fuse/guestmount.pod:195
21331 msgid "B<--no-sync>"
21332 msgstr ""
21333
21334 #. type: textblock
21335 #: ../fish/guestfish.pod:339 ../libguestfs-1.11.20/fish/guestfish.pod:339
21336 msgid ""
21337 "Disable autosync.  This is enabled by default.  See the discussion of "
21338 "autosync in the L<guestfs(3)> manpage."
21339 msgstr ""
21340
21341 #. type: =item
21342 #: ../fish/guestfish.pod:342 ../libguestfs-1.11.20/fish/guestfish.pod:342
21343 msgid "B<-N type>"
21344 msgstr ""
21345
21346 #. type: =item
21347 #: ../fish/guestfish.pod:344 ../libguestfs-1.11.20/fish/guestfish.pod:344
21348 msgid "B<--new type>"
21349 msgstr ""
21350
21351 #. type: =item
21352 #: ../fish/guestfish.pod:346 ../libguestfs-1.11.20/fish/guestfish.pod:346
21353 msgid "B<-N help>"
21354 msgstr ""
21355
21356 #. type: textblock
21357 #: ../fish/guestfish.pod:348 ../libguestfs-1.11.20/fish/guestfish.pod:348
21358 msgid ""
21359 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
21360 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
21361 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
21362 "IMAGES> below."
21363 msgstr ""
21364
21365 #. type: =item
21366 #: ../fish/guestfish.pod:353 ../libguestfs-1.11.20/fish/guestfish.pod:353
21367 msgid "B<--progress-bars>"
21368 msgstr ""
21369
21370 #. type: textblock
21371 #: ../fish/guestfish.pod:355 ../libguestfs-1.11.20/fish/guestfish.pod:355
21372 msgid "Enable progress bars, even when guestfish is used non-interactively."
21373 msgstr ""
21374
21375 #. type: textblock
21376 #: ../fish/guestfish.pod:357 ../libguestfs-1.11.20/fish/guestfish.pod:357
21377 msgid ""
21378 "Progress bars are enabled by default when guestfish is used as an "
21379 "interactive shell."
21380 msgstr ""
21381
21382 #. type: =item
21383 #: ../fish/guestfish.pod:360 ../libguestfs-1.11.20/fish/guestfish.pod:360
21384 msgid "B<--no-progress-bars>"
21385 msgstr ""
21386
21387 #. type: textblock
21388 #: ../fish/guestfish.pod:362 ../libguestfs-1.11.20/fish/guestfish.pod:362
21389 msgid "Disable progress bars."
21390 msgstr ""
21391
21392 #. type: =item
21393 #: ../fish/guestfish.pod:364 ../libguestfs-1.11.20/fish/guestfish.pod:364
21394 msgid "B<--remote[=pid]>"
21395 msgstr ""
21396
21397 #. type: textblock
21398 #: ../fish/guestfish.pod:366 ../libguestfs-1.11.20/fish/guestfish.pod:366
21399 msgid ""
21400 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
21401 "CONTROL GUESTFISH OVER A SOCKET> below."
21402 msgstr ""
21403
21404 #. type: =item
21405 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:239
21406 #: ../libguestfs-1.11.20/fish/guestfish.pod:369
21407 #: ../libguestfs-1.11.20/fuse/guestmount.pod:239
21408 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:161
21409 #: ../rescue/virt-rescue.pod:161
21410 msgid "B<-r>"
21411 msgstr ""
21412
21413 #. type: =item
21414 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:241
21415 #: ../libguestfs-1.11.20/fish/guestfish.pod:371
21416 #: ../libguestfs-1.11.20/fuse/guestmount.pod:241
21417 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:163
21418 #: ../rescue/virt-rescue.pod:163
21419 msgid "B<--ro>"
21420 msgstr ""
21421
21422 #. type: textblock
21423 #: ../fish/guestfish.pod:373 ../libguestfs-1.11.20/fish/guestfish.pod:373
21424 msgid ""
21425 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
21426 "mounts are done read-only."
21427 msgstr ""
21428
21429 #. type: textblock
21430 #: ../fish/guestfish.pod:376 ../libguestfs-1.11.20/fish/guestfish.pod:376
21431 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:167
21432 #: ../rescue/virt-rescue.pod:167
21433 msgid ""
21434 "The option must always be used if the disk image or virtual machine might be "
21435 "running, and is generally recommended in cases where you don't need write "
21436 "access to the disk."
21437 msgstr ""
21438
21439 #. type: textblock
21440 #: ../fish/guestfish.pod:380 ../libguestfs-1.11.20/fish/guestfish.pod:380
21441 msgid ""
21442 "Note that prepared disk images created with I<-N> are not affected by this "
21443 "option.  Also commands like C<add> are not affected - you have to specify "
21444 "the C<readonly:true> option explicitly if you need it."
21445 msgstr ""
21446
21447 #. type: textblock
21448 #: ../fish/guestfish.pod:384 ../libguestfs-1.11.20/fish/guestfish.pod:384
21449 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
21450 msgstr ""
21451
21452 #. type: =item
21453 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:253
21454 #: ../libguestfs-1.11.20/fish/guestfish.pod:386
21455 #: ../libguestfs-1.11.20/fuse/guestmount.pod:253
21456 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:173
21457 #: ../rescue/virt-rescue.pod:173
21458 msgid "B<--selinux>"
21459 msgstr ""
21460
21461 #. type: textblock
21462 #: ../fish/guestfish.pod:388 ../libguestfs-1.11.20/fish/guestfish.pod:388
21463 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
21464 msgstr ""
21465
21466 #. type: textblock
21467 #: ../fish/guestfish.pod:394 ../libguestfs-1.11.20/fish/guestfish.pod:394
21468 msgid ""
21469 "Enable very verbose messages.  This is particularly useful if you find a bug."
21470 msgstr ""
21471
21472 #. type: textblock
21473 #: ../fish/guestfish.pod:401 ../libguestfs-1.11.20/fish/guestfish.pod:401
21474 msgid "Display the guestfish / libguestfs version number and exit."
21475 msgstr ""
21476
21477 #. type: =item
21478 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:269
21479 #: ../libguestfs-1.11.20/fish/guestfish.pod:403
21480 #: ../libguestfs-1.11.20/fuse/guestmount.pod:269
21481 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:190
21482 #: ../rescue/virt-rescue.pod:190
21483 msgid "B<-w>"
21484 msgstr ""
21485
21486 #. type: =item
21487 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:271
21488 #: ../libguestfs-1.11.20/fish/guestfish.pod:405
21489 #: ../libguestfs-1.11.20/fuse/guestmount.pod:271
21490 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:192
21491 #: ../rescue/virt-rescue.pod:192
21492 msgid "B<--rw>"
21493 msgstr ""
21494
21495 #. type: textblock
21496 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:273
21497 #: ../libguestfs-1.11.20/fish/guestfish.pod:407
21498 #: ../libguestfs-1.11.20/fuse/guestmount.pod:273
21499 msgid ""
21500 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
21501 "mounts are done read-write."
21502 msgstr ""
21503
21504 #. type: textblock
21505 #: ../fish/guestfish.pod:410 ../libguestfs-1.11.20/fish/guestfish.pod:410
21506 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
21507 msgstr ""
21508
21509 #. type: textblock
21510 #: ../fish/guestfish.pod:414 ../libguestfs-1.11.20/fish/guestfish.pod:414
21511 msgid "Echo each command before executing it."
21512 msgstr ""
21513
21514 #. type: =head1
21515 #: ../fish/guestfish.pod:418 ../libguestfs-1.11.20/fish/guestfish.pod:418
21516 msgid "COMMANDS ON COMMAND LINE"
21517 msgstr ""
21518
21519 #. type: textblock
21520 #: ../fish/guestfish.pod:420 ../libguestfs-1.11.20/fish/guestfish.pod:420
21521 msgid ""
21522 "Any additional (non-option) arguments are treated as commands to execute."
21523 msgstr ""
21524
21525 #. type: textblock
21526 #: ../fish/guestfish.pod:423 ../libguestfs-1.11.20/fish/guestfish.pod:423
21527 msgid ""
21528 "Commands to execute should be separated by a colon (C<:>), where the colon "
21529 "is a separate parameter.  Thus:"
21530 msgstr ""
21531
21532 #. type: verbatim
21533 #: ../fish/guestfish.pod:426 ../libguestfs-1.11.20/fish/guestfish.pod:426
21534 #, no-wrap
21535 msgid ""
21536 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
21537 "\n"
21538 msgstr ""
21539
21540 #. type: textblock
21541 #: ../fish/guestfish.pod:428 ../libguestfs-1.11.20/fish/guestfish.pod:428
21542 msgid ""
21543 "If there are no additional arguments, then we enter a shell, either an "
21544 "interactive shell with a prompt (if the input is a terminal) or a non-"
21545 "interactive shell."
21546 msgstr ""
21547
21548 #. type: textblock
21549 #: ../fish/guestfish.pod:432 ../libguestfs-1.11.20/fish/guestfish.pod:432
21550 msgid ""
21551 "In either command line mode or non-interactive shell, the first command that "
21552 "gives an error causes the whole shell to exit.  In interactive mode (with a "
21553 "prompt) if a command fails, you can continue to enter commands."
21554 msgstr ""
21555
21556 #. type: =head1
21557 #: ../fish/guestfish.pod:437 ../libguestfs-1.11.20/fish/guestfish.pod:437
21558 msgid "USING launch (OR run)"
21559 msgstr ""
21560
21561 #. type: textblock
21562 #: ../fish/guestfish.pod:439 ../libguestfs-1.11.20/fish/guestfish.pod:439
21563 msgid ""
21564 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
21565 "then launch it, then mount any disks you need, and finally issue actions/"
21566 "commands.  So the general order of the day is:"
21567 msgstr ""
21568
21569 #. type: textblock
21570 #: ../fish/guestfish.pod:447 ../libguestfs-1.11.20/fish/guestfish.pod:447
21571 msgid "add or -a/--add"
21572 msgstr ""
21573
21574 #. type: textblock
21575 #: ../fish/guestfish.pod:451 ../libguestfs-1.11.20/fish/guestfish.pod:451
21576 msgid "launch (aka run)"
21577 msgstr ""
21578
21579 #. type: textblock
21580 #: ../fish/guestfish.pod:455 ../libguestfs-1.11.20/fish/guestfish.pod:455
21581 msgid "mount or -m/--mount"
21582 msgstr ""
21583
21584 #. type: textblock
21585 #: ../fish/guestfish.pod:459 ../libguestfs-1.11.20/fish/guestfish.pod:459
21586 msgid "any other commands"
21587 msgstr ""
21588
21589 #. type: textblock
21590 #: ../fish/guestfish.pod:463 ../libguestfs-1.11.20/fish/guestfish.pod:463
21591 msgid ""
21592 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
21593 "guest before mounting or performing any other commands."
21594 msgstr ""
21595
21596 #. type: textblock
21597 #: ../fish/guestfish.pod:466 ../libguestfs-1.11.20/fish/guestfish.pod:466
21598 msgid ""
21599 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
21600 "I<--new> options were given then C<run> is done automatically, simply "
21601 "because guestfish can't perform the action you asked for without doing this."
21602 msgstr ""
21603
21604 #. type: =head1
21605 #: ../fish/guestfish.pod:471 ../libguestfs-1.11.20/fish/guestfish.pod:471
21606 msgid "OPENING DISKS FOR READ AND WRITE"
21607 msgstr ""
21608
21609 #. type: textblock
21610 #: ../fish/guestfish.pod:473 ../libguestfs-1.11.20/fish/guestfish.pod:473
21611 msgid ""
21612 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
21613 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
21614 "I<-i> and I<-m> open disk images read-only or for writing."
21615 msgstr ""
21616
21617 #. type: textblock
21618 #: ../fish/guestfish.pod:478 ../libguestfs-1.11.20/fish/guestfish.pod:478
21619 msgid ""
21620 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to "
21621 "opening disk images supplied on the command line for write.  To open a disk "
21622 "image read-only you have to do I<-a image --ro>."
21623 msgstr ""
21624
21625 #. type: textblock
21626 #: ../fish/guestfish.pod:482 ../libguestfs-1.11.20/fish/guestfish.pod:482
21627 msgid ""
21628 "This matters: If you accidentally open a live VM disk image writable then "
21629 "you will cause irreversible disk corruption."
21630 msgstr ""
21631
21632 #. type: textblock
21633 #: ../fish/guestfish.pod:485 ../libguestfs-1.11.20/fish/guestfish.pod:485
21634 msgid ""
21635 "In a future libguestfs we intend to change the default the other way.  Disk "
21636 "images will be opened read-only.  You will have to either specify "
21637 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
21638 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
21639 "access for disk images specified by those other command line options."
21640 msgstr ""
21641
21642 #. type: textblock
21643 #: ../fish/guestfish.pod:492 ../libguestfs-1.11.20/fish/guestfish.pod:492
21644 msgid ""
21645 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
21646 "which does nothing (it is already the default).  However it is highly "
21647 "recommended that you use this option to indicate that you need write access, "
21648 "and prepare your scripts for the day when this option will be required for "
21649 "write access."
21650 msgstr ""
21651
21652 #. type: textblock
21653 #: ../fish/guestfish.pod:498 ../libguestfs-1.11.20/fish/guestfish.pod:498
21654 msgid ""
21655 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any "
21656 "other libguestfs program apart from guestfish and guestmount."
21657 msgstr ""
21658
21659 #. type: =head1
21660 #: ../fish/guestfish.pod:501 ../libguestfs-1.11.20/fish/guestfish.pod:501
21661 msgid "QUOTING"
21662 msgstr ""
21663
21664 #. type: textblock
21665 #: ../fish/guestfish.pod:503 ../libguestfs-1.11.20/fish/guestfish.pod:503
21666 msgid ""
21667 "You can quote ordinary parameters using either single or double quotes.  For "
21668 "example:"
21669 msgstr ""
21670
21671 #. type: verbatim
21672 #: ../fish/guestfish.pod:506 ../libguestfs-1.11.20/fish/guestfish.pod:506
21673 #, no-wrap
21674 msgid ""
21675 " add \"file with a space.img\"\n"
21676 "\n"
21677 msgstr ""
21678
21679 #. type: verbatim
21680 #: ../fish/guestfish.pod:508 ../libguestfs-1.11.20/fish/guestfish.pod:508
21681 #, no-wrap
21682 msgid ""
21683 " rm '/file name'\n"
21684 "\n"
21685 msgstr ""
21686
21687 #. type: verbatim
21688 #: ../fish/guestfish.pod:510 ../libguestfs-1.11.20/fish/guestfish.pod:510
21689 #, no-wrap
21690 msgid ""
21691 " rm '/\"'\n"
21692 "\n"
21693 msgstr ""
21694
21695 #. type: textblock
21696 #: ../fish/guestfish.pod:512 ../libguestfs-1.11.20/fish/guestfish.pod:512
21697 msgid ""
21698 "A few commands require a list of strings to be passed.  For these, use a "
21699 "whitespace-separated list, enclosed in quotes.  Strings containing "
21700 "whitespace to be passed through must be enclosed in single quotes.  A "
21701 "literal single quote must be escaped with a backslash."
21702 msgstr ""
21703
21704 #. type: verbatim
21705 #: ../fish/guestfish.pod:517 ../libguestfs-1.11.20/fish/guestfish.pod:517
21706 #, no-wrap
21707 msgid ""
21708 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
21709 " command \"/bin/echo 'foo      bar'\"\n"
21710 " command \"/bin/echo \\'foo\\'\"\n"
21711 "\n"
21712 msgstr ""
21713
21714 #. type: =head2
21715 #: ../fish/guestfish.pod:521 ../libguestfs-1.11.20/fish/guestfish.pod:521
21716 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
21717 msgstr ""
21718
21719 #. type: textblock
21720 #: ../fish/guestfish.pod:523 ../libguestfs-1.11.20/fish/guestfish.pod:523
21721 msgid ""
21722 "In double-quoted arguments (only) use backslash to insert special characters:"
21723 msgstr ""
21724
21725 #. type: =item
21726 #: ../fish/guestfish.pod:528 ../libguestfs-1.11.20/fish/guestfish.pod:528
21727 msgid "C<\\a>"
21728 msgstr ""
21729
21730 #. type: textblock
21731 #: ../fish/guestfish.pod:530 ../libguestfs-1.11.20/fish/guestfish.pod:530
21732 msgid "Alert (bell) character."
21733 msgstr ""
21734
21735 #. type: =item
21736 #: ../fish/guestfish.pod:532 ../libguestfs-1.11.20/fish/guestfish.pod:532
21737 msgid "C<\\b>"
21738 msgstr ""
21739
21740 #. type: textblock
21741 #: ../fish/guestfish.pod:534 ../libguestfs-1.11.20/fish/guestfish.pod:534
21742 msgid "Backspace character."
21743 msgstr ""
21744
21745 #. type: =item
21746 #: ../fish/guestfish.pod:536 ../libguestfs-1.11.20/fish/guestfish.pod:536
21747 msgid "C<\\f>"
21748 msgstr ""
21749
21750 #. type: textblock
21751 #: ../fish/guestfish.pod:538 ../libguestfs-1.11.20/fish/guestfish.pod:538
21752 msgid "Form feed character."
21753 msgstr ""
21754
21755 #. type: =item
21756 #: ../fish/guestfish.pod:540 ../libguestfs-1.11.20/fish/guestfish.pod:540
21757 msgid "C<\\n>"
21758 msgstr ""
21759
21760 #. type: textblock
21761 #: ../fish/guestfish.pod:542 ../libguestfs-1.11.20/fish/guestfish.pod:542
21762 msgid "Newline character."
21763 msgstr ""
21764
21765 #. type: =item
21766 #: ../fish/guestfish.pod:544 ../libguestfs-1.11.20/fish/guestfish.pod:544
21767 msgid "C<\\r>"
21768 msgstr ""
21769
21770 #. type: textblock
21771 #: ../fish/guestfish.pod:546 ../libguestfs-1.11.20/fish/guestfish.pod:546
21772 msgid "Carriage return character."
21773 msgstr ""
21774
21775 #. type: =item
21776 #: ../fish/guestfish.pod:548 ../libguestfs-1.11.20/fish/guestfish.pod:548
21777 msgid "C<\\t>"
21778 msgstr ""
21779
21780 #. type: textblock
21781 #: ../fish/guestfish.pod:550 ../libguestfs-1.11.20/fish/guestfish.pod:550
21782 msgid "Horizontal tab character."
21783 msgstr ""
21784
21785 #. type: =item
21786 #: ../fish/guestfish.pod:552 ../libguestfs-1.11.20/fish/guestfish.pod:552
21787 msgid "C<\\v>"
21788 msgstr ""
21789
21790 #. type: textblock
21791 #: ../fish/guestfish.pod:554 ../libguestfs-1.11.20/fish/guestfish.pod:554
21792 msgid "Vertical tab character."
21793 msgstr ""
21794
21795 #. type: =item
21796 #: ../fish/guestfish.pod:556 ../libguestfs-1.11.20/fish/guestfish.pod:556
21797 msgid "C<\\\">"
21798 msgstr ""
21799
21800 #. type: textblock
21801 #: ../fish/guestfish.pod:558 ../libguestfs-1.11.20/fish/guestfish.pod:558
21802 msgid "A literal double quote character."
21803 msgstr ""
21804
21805 #. type: =item
21806 #: ../fish/guestfish.pod:560 ../libguestfs-1.11.20/fish/guestfish.pod:560
21807 msgid "C<\\ooo>"
21808 msgstr ""
21809
21810 #. type: textblock
21811 #: ../fish/guestfish.pod:562 ../libguestfs-1.11.20/fish/guestfish.pod:562
21812 msgid ""
21813 "A character with octal value I<ooo>.  There must be precisely 3 octal digits "
21814 "(unlike C)."
21815 msgstr ""
21816
21817 #. type: =item
21818 #: ../fish/guestfish.pod:565 ../libguestfs-1.11.20/fish/guestfish.pod:565
21819 msgid "C<\\xhh>"
21820 msgstr ""
21821
21822 #. type: textblock
21823 #: ../fish/guestfish.pod:567 ../libguestfs-1.11.20/fish/guestfish.pod:567
21824 msgid ""
21825 "A character with hex value I<hh>.  There must be precisely 2 hex digits."
21826 msgstr ""
21827
21828 #. type: textblock
21829 #: ../fish/guestfish.pod:570 ../libguestfs-1.11.20/fish/guestfish.pod:570
21830 msgid ""
21831 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
21832 "strings."
21833 msgstr ""
21834
21835 #. type: =item
21836 #: ../fish/guestfish.pod:573 ../libguestfs-1.11.20/fish/guestfish.pod:573
21837 msgid "C<\\\\>"
21838 msgstr ""
21839
21840 #. type: textblock
21841 #: ../fish/guestfish.pod:575 ../libguestfs-1.11.20/fish/guestfish.pod:575
21842 msgid "A literal backslash character."
21843 msgstr ""
21844
21845 #. type: =head1
21846 #: ../fish/guestfish.pod:579 ../libguestfs-1.11.20/fish/guestfish.pod:579
21847 msgid "OPTIONAL ARGUMENTS"
21848 msgstr ""
21849
21850 #. type: textblock
21851 #: ../fish/guestfish.pod:581 ../libguestfs-1.11.20/fish/guestfish.pod:581
21852 msgid ""
21853 "Some commands take optional arguments.  These arguments appear in this "
21854 "documentation as C<[argname:..]>.  You can use them as in these examples:"
21855 msgstr ""
21856
21857 #. type: verbatim
21858 #: ../fish/guestfish.pod:585 ../libguestfs-1.11.20/fish/guestfish.pod:585
21859 #, no-wrap
21860 msgid ""
21861 " add-drive-opts filename\n"
21862 "\n"
21863 msgstr ""
21864
21865 #. type: verbatim
21866 #: ../fish/guestfish.pod:587 ../libguestfs-1.11.20/fish/guestfish.pod:587
21867 #, no-wrap
21868 msgid ""
21869 " add-drive-opts filename readonly:true\n"
21870 "\n"
21871 msgstr ""
21872
21873 #. type: verbatim
21874 #: ../fish/guestfish.pod:589 ../libguestfs-1.11.20/fish/guestfish.pod:589
21875 #, no-wrap
21876 msgid ""
21877 " add-drive-opts filename format:qcow2 readonly:false\n"
21878 "\n"
21879 msgstr ""
21880
21881 #. type: textblock
21882 #: ../fish/guestfish.pod:591 ../libguestfs-1.11.20/fish/guestfish.pod:591
21883 msgid ""
21884 "Each optional argument can appear at most once.  All optional arguments must "
21885 "appear after the required ones."
21886 msgstr ""
21887
21888 #. type: =head1
21889 #: ../fish/guestfish.pod:594 ../libguestfs-1.11.20/fish/guestfish.pod:594
21890 msgid "NUMBERS"
21891 msgstr ""
21892
21893 #. type: textblock
21894 #: ../fish/guestfish.pod:596 ../libguestfs-1.11.20/fish/guestfish.pod:596
21895 msgid ""
21896 "This section applies to all commands which can take integers as parameters."
21897 msgstr ""
21898
21899 #. type: =head2
21900 #: ../fish/guestfish.pod:599 ../libguestfs-1.11.20/fish/guestfish.pod:599
21901 msgid "SIZE SUFFIX"
21902 msgstr ""
21903
21904 #. type: textblock
21905 #: ../fish/guestfish.pod:601 ../libguestfs-1.11.20/fish/guestfish.pod:601
21906 msgid ""
21907 "When the command takes a parameter measured in bytes, you can use one of the "
21908 "following suffixes to specify kilobytes, megabytes and larger sizes:"
21909 msgstr ""
21910
21911 #. type: =item
21912 #: ../fish/guestfish.pod:607 ../libguestfs-1.11.20/fish/guestfish.pod:607
21913 msgid "B<k> or B<K> or B<KiB>"
21914 msgstr ""
21915
21916 #. type: textblock
21917 #: ../fish/guestfish.pod:609 ../libguestfs-1.11.20/fish/guestfish.pod:609
21918 msgid "The size in kilobytes (multiplied by 1024)."
21919 msgstr ""
21920
21921 #. type: =item
21922 #: ../fish/guestfish.pod:611 ../libguestfs-1.11.20/fish/guestfish.pod:611
21923 msgid "B<KB>"
21924 msgstr ""
21925
21926 #. type: textblock
21927 #: ../fish/guestfish.pod:613 ../libguestfs-1.11.20/fish/guestfish.pod:613
21928 msgid "The size in SI 1000 byte units."
21929 msgstr ""
21930
21931 #. type: =item
21932 #: ../fish/guestfish.pod:615 ../libguestfs-1.11.20/fish/guestfish.pod:615
21933 msgid "B<M> or B<MiB>"
21934 msgstr ""
21935
21936 #. type: textblock
21937 #: ../fish/guestfish.pod:617 ../libguestfs-1.11.20/fish/guestfish.pod:617
21938 msgid "The size in megabytes (multiplied by 1048576)."
21939 msgstr ""
21940
21941 #. type: =item
21942 #: ../fish/guestfish.pod:619 ../libguestfs-1.11.20/fish/guestfish.pod:619
21943 msgid "B<MB>"
21944 msgstr ""
21945
21946 #. type: textblock
21947 #: ../fish/guestfish.pod:621 ../libguestfs-1.11.20/fish/guestfish.pod:621
21948 msgid "The size in SI 1000000 byte units."
21949 msgstr ""
21950
21951 #. type: =item
21952 #: ../fish/guestfish.pod:623 ../libguestfs-1.11.20/fish/guestfish.pod:623
21953 msgid "B<G> or B<GiB>"
21954 msgstr ""
21955
21956 #. type: textblock
21957 #: ../fish/guestfish.pod:625 ../libguestfs-1.11.20/fish/guestfish.pod:625
21958 msgid "The size in gigabytes (multiplied by 2**30)."
21959 msgstr ""
21960
21961 #. type: =item
21962 #: ../fish/guestfish.pod:627 ../libguestfs-1.11.20/fish/guestfish.pod:627
21963 msgid "B<GB>"
21964 msgstr ""
21965
21966 #. type: textblock
21967 #: ../fish/guestfish.pod:629 ../libguestfs-1.11.20/fish/guestfish.pod:629
21968 msgid "The size in SI 10**9 byte units."
21969 msgstr ""
21970
21971 #. type: =item
21972 #: ../fish/guestfish.pod:631 ../libguestfs-1.11.20/fish/guestfish.pod:631
21973 msgid "B<T> or B<TiB>"
21974 msgstr ""
21975
21976 #. type: textblock
21977 #: ../fish/guestfish.pod:633 ../libguestfs-1.11.20/fish/guestfish.pod:633
21978 msgid "The size in terabytes (multiplied by 2**40)."
21979 msgstr ""
21980
21981 #. type: =item
21982 #: ../fish/guestfish.pod:635 ../libguestfs-1.11.20/fish/guestfish.pod:635
21983 msgid "B<TB>"
21984 msgstr ""
21985
21986 #. type: textblock
21987 #: ../fish/guestfish.pod:637 ../libguestfs-1.11.20/fish/guestfish.pod:637
21988 msgid "The size in SI 10**12 byte units."
21989 msgstr ""
21990
21991 #. type: =item
21992 #: ../fish/guestfish.pod:639 ../libguestfs-1.11.20/fish/guestfish.pod:639
21993 msgid "B<P> or B<PiB>"
21994 msgstr ""
21995
21996 #. type: textblock
21997 #: ../fish/guestfish.pod:641 ../libguestfs-1.11.20/fish/guestfish.pod:641
21998 msgid "The size in petabytes (multiplied by 2**50)."
21999 msgstr ""
22000
22001 #. type: =item
22002 #: ../fish/guestfish.pod:643 ../libguestfs-1.11.20/fish/guestfish.pod:643
22003 msgid "B<PB>"
22004 msgstr ""
22005
22006 #. type: textblock
22007 #: ../fish/guestfish.pod:645 ../libguestfs-1.11.20/fish/guestfish.pod:645
22008 msgid "The size in SI 10**15 byte units."
22009 msgstr ""
22010
22011 #. type: =item
22012 #: ../fish/guestfish.pod:647 ../libguestfs-1.11.20/fish/guestfish.pod:647
22013 msgid "B<E> or B<EiB>"
22014 msgstr ""
22015
22016 #. type: textblock
22017 #: ../fish/guestfish.pod:649 ../libguestfs-1.11.20/fish/guestfish.pod:649
22018 msgid "The size in exabytes (multiplied by 2**60)."
22019 msgstr ""
22020
22021 #. type: =item
22022 #: ../fish/guestfish.pod:651 ../libguestfs-1.11.20/fish/guestfish.pod:651
22023 msgid "B<EB>"
22024 msgstr ""
22025
22026 #. type: textblock
22027 #: ../fish/guestfish.pod:653 ../libguestfs-1.11.20/fish/guestfish.pod:653
22028 msgid "The size in SI 10**18 byte units."
22029 msgstr ""
22030
22031 #. type: =item
22032 #: ../fish/guestfish.pod:655 ../libguestfs-1.11.20/fish/guestfish.pod:655
22033 msgid "B<Z> or B<ZiB>"
22034 msgstr ""
22035
22036 #. type: textblock
22037 #: ../fish/guestfish.pod:657 ../libguestfs-1.11.20/fish/guestfish.pod:657
22038 msgid "The size in zettabytes (multiplied by 2**70)."
22039 msgstr ""
22040
22041 #. type: =item
22042 #: ../fish/guestfish.pod:659 ../libguestfs-1.11.20/fish/guestfish.pod:659
22043 msgid "B<ZB>"
22044 msgstr ""
22045
22046 #. type: textblock
22047 #: ../fish/guestfish.pod:661 ../libguestfs-1.11.20/fish/guestfish.pod:661
22048 msgid "The size in SI 10**21 byte units."
22049 msgstr ""
22050
22051 #. type: =item
22052 #: ../fish/guestfish.pod:663 ../libguestfs-1.11.20/fish/guestfish.pod:663
22053 msgid "B<Y> or B<YiB>"
22054 msgstr ""
22055
22056 #. type: textblock
22057 #: ../fish/guestfish.pod:665 ../libguestfs-1.11.20/fish/guestfish.pod:665
22058 msgid "The size in yottabytes (multiplied by 2**80)."
22059 msgstr ""
22060
22061 #. type: =item
22062 #: ../fish/guestfish.pod:667 ../libguestfs-1.11.20/fish/guestfish.pod:667
22063 msgid "B<YB>"
22064 msgstr ""
22065
22066 #. type: textblock
22067 #: ../fish/guestfish.pod:669 ../libguestfs-1.11.20/fish/guestfish.pod:669
22068 msgid "The size in SI 10**24 byte units."
22069 msgstr ""
22070
22071 #. type: verbatim
22072 #: ../fish/guestfish.pod:675 ../libguestfs-1.11.20/fish/guestfish.pod:675
22073 #, no-wrap
22074 msgid ""
22075 " truncate-size /file 1G\n"
22076 "\n"
22077 msgstr ""
22078
22079 #. type: textblock
22080 #: ../fish/guestfish.pod:677 ../libguestfs-1.11.20/fish/guestfish.pod:677
22081 msgid "would truncate the file to 1 gigabyte."
22082 msgstr ""
22083
22084 #. type: textblock
22085 #: ../fish/guestfish.pod:679 ../libguestfs-1.11.20/fish/guestfish.pod:679
22086 msgid ""
22087 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
22088 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
22089 "suffix will probably not do what you expect."
22090 msgstr ""
22091
22092 #. type: =head2
22093 #: ../fish/guestfish.pod:683 ../libguestfs-1.11.20/fish/guestfish.pod:683
22094 msgid "OCTAL AND HEXADECIMAL NUMBERS"
22095 msgstr ""
22096
22097 #. type: textblock
22098 #: ../fish/guestfish.pod:685 ../libguestfs-1.11.20/fish/guestfish.pod:685
22099 msgid ""
22100 "For specifying the radix (base) use the C convention: C<0> to prefix an "
22101 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
22102 msgstr ""
22103
22104 #. type: verbatim
22105 #: ../fish/guestfish.pod:688 ../libguestfs-1.11.20/fish/guestfish.pod:688
22106 #, no-wrap
22107 msgid ""
22108 " 1234      decimal number 1234\n"
22109 " 02322     octal number, equivalent to decimal 1234\n"
22110 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
22111 "\n"
22112 msgstr ""
22113
22114 #. type: textblock
22115 #: ../fish/guestfish.pod:692 ../libguestfs-1.11.20/fish/guestfish.pod:692
22116 msgid ""
22117 "When using the C<chmod> command, you almost always want to specify an octal "
22118 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
22119 "L<chmod(1)> program):"
22120 msgstr ""
22121
22122 #. type: verbatim
22123 #: ../fish/guestfish.pod:696 ../libguestfs-1.11.20/fish/guestfish.pod:696
22124 #, no-wrap
22125 msgid ""
22126 " chmod 0777 /public  # OK\n"
22127 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
22128 "\n"
22129 msgstr ""
22130
22131 #. type: textblock
22132 #: ../fish/guestfish.pod:699 ../libguestfs-1.11.20/fish/guestfish.pod:699
22133 msgid ""
22134 "Commands that return numbers usually print them in decimal, but some "
22135 "commands print numbers in other radices (eg. C<umask> prints the mode in "
22136 "octal, preceeded by C<0>)."
22137 msgstr ""
22138
22139 #. type: =head1
22140 #: ../fish/guestfish.pod:703 ../libguestfs-1.11.20/fish/guestfish.pod:703
22141 msgid "WILDCARDS AND GLOBBING"
22142 msgstr ""
22143
22144 #. type: textblock
22145 #: ../fish/guestfish.pod:705 ../libguestfs-1.11.20/fish/guestfish.pod:705
22146 msgid ""
22147 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
22148 "(globbing) by default.  So for example the following will not do what you "
22149 "expect:"
22150 msgstr ""
22151
22152 #. type: verbatim
22153 #: ../fish/guestfish.pod:709 ../libguestfs-1.11.20/fish/guestfish.pod:709
22154 #, no-wrap
22155 msgid ""
22156 " rm-rf /home/*\n"
22157 "\n"
22158 msgstr ""
22159
22160 #. type: textblock
22161 #: ../fish/guestfish.pod:711 ../libguestfs-1.11.20/fish/guestfish.pod:711
22162 msgid ""
22163 "Assuming you don't have a directory called literally C</home/*> then the "
22164 "above command will return an error."
22165 msgstr ""
22166
22167 #. type: textblock
22168 #: ../fish/guestfish.pod:714 ../libguestfs-1.11.20/fish/guestfish.pod:714
22169 msgid "To perform wildcard expansion, use the C<glob> command."
22170 msgstr ""
22171
22172 #. type: verbatim
22173 #: ../fish/guestfish.pod:716 ../libguestfs-1.11.20/fish/guestfish.pod:716
22174 #, no-wrap
22175 msgid ""
22176 " glob rm-rf /home/*\n"
22177 "\n"
22178 msgstr ""
22179
22180 #. type: textblock
22181 #: ../fish/guestfish.pod:718 ../libguestfs-1.11.20/fish/guestfish.pod:718
22182 msgid ""
22183 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
22184 "many times), equivalent to:"
22185 msgstr ""
22186
22187 #. type: verbatim
22188 #: ../fish/guestfish.pod:721 ../libguestfs-1.11.20/fish/guestfish.pod:721
22189 #, no-wrap
22190 msgid ""
22191 " rm-rf /home/jim\n"
22192 " rm-rf /home/joe\n"
22193 " rm-rf /home/mary\n"
22194 "\n"
22195 msgstr ""
22196
22197 #. type: textblock
22198 #: ../fish/guestfish.pod:725 ../libguestfs-1.11.20/fish/guestfish.pod:725
22199 msgid "C<glob> only works on simple guest paths and not on device names."
22200 msgstr ""
22201
22202 #. type: textblock
22203 #: ../fish/guestfish.pod:727 ../libguestfs-1.11.20/fish/guestfish.pod:727
22204 msgid ""
22205 "If you have several parameters, each containing a wildcard, then glob will "
22206 "perform a Cartesian product."
22207 msgstr ""
22208
22209 #. type: =head1
22210 #: ../fish/guestfish.pod:730 ../libguestfs-1.11.20/fish/guestfish.pod:730
22211 msgid "COMMENTS"
22212 msgstr ""
22213
22214 #. type: textblock
22215 #: ../fish/guestfish.pod:732 ../libguestfs-1.11.20/fish/guestfish.pod:732
22216 msgid ""
22217 "Any line which starts with a I<#> character is treated as a comment and "
22218 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
22219 "a command.  For example:"
22220 msgstr ""
22221
22222 #. type: verbatim
22223 #: ../fish/guestfish.pod:736 ../libguestfs-1.11.20/fish/guestfish.pod:736
22224 #, no-wrap
22225 msgid ""
22226 " # this is a comment\n"
22227 "         # this is a comment\n"
22228 " foo # NOT a comment\n"
22229 "\n"
22230 msgstr ""
22231
22232 #. type: textblock
22233 #: ../fish/guestfish.pod:740 ../libguestfs-1.11.20/fish/guestfish.pod:740
22234 msgid "Blank lines are also ignored."
22235 msgstr ""
22236
22237 #. type: =head1
22238 #: ../fish/guestfish.pod:742 ../libguestfs-1.11.20/fish/guestfish.pod:742
22239 msgid "RUNNING COMMANDS LOCALLY"
22240 msgstr ""
22241
22242 #. type: textblock
22243 #: ../fish/guestfish.pod:744 ../libguestfs-1.11.20/fish/guestfish.pod:744
22244 msgid ""
22245 "Any line which starts with a I<!> character is treated as a command sent to "
22246 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
22247 msgstr ""
22248
22249 #. type: verbatim
22250 #: ../fish/guestfish.pod:748 ../libguestfs-1.11.20/fish/guestfish.pod:748
22251 #, no-wrap
22252 msgid ""
22253 " !mkdir local\n"
22254 " tgz-out /remote local/remote-data.tar.gz\n"
22255 "\n"
22256 msgstr ""
22257
22258 #. type: textblock
22259 #: ../fish/guestfish.pod:751 ../libguestfs-1.11.20/fish/guestfish.pod:751
22260 msgid ""
22261 "will create a directory C<local> on the host, and then export the contents "
22262 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
22263 "(See C<tgz-out>)."
22264 msgstr ""
22265
22266 #. type: textblock
22267 #: ../fish/guestfish.pod:755 ../libguestfs-1.11.20/fish/guestfish.pod:755
22268 msgid ""
22269 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
22270 "effect, due to the way that subprocesses work in Unix."
22271 msgstr ""
22272
22273 #. type: =head2
22274 #: ../fish/guestfish.pod:758 ../libguestfs-1.11.20/fish/guestfish.pod:758
22275 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
22276 msgstr ""
22277
22278 #. type: textblock
22279 #: ../fish/guestfish.pod:760 ../libguestfs-1.11.20/fish/guestfish.pod:760
22280 msgid ""
22281 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
22282 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
22283 "and executed as guestfish commands."
22284 msgstr ""
22285
22286 #. type: textblock
22287 #: ../fish/guestfish.pod:764 ../libguestfs-1.11.20/fish/guestfish.pod:764
22288 msgid ""
22289 "Thus you can use shell script to construct arbitrary guestfish commands "
22290 "which are then parsed by guestfish."
22291 msgstr ""
22292
22293 #. type: textblock
22294 #: ../fish/guestfish.pod:767 ../libguestfs-1.11.20/fish/guestfish.pod:767
22295 msgid ""
22296 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
22297 "through C</foo.100>) using guestfish commands alone.  However this is simple "
22298 "if we use a shell script to create the guestfish commands for us:"
22299 msgstr ""
22300
22301 #. type: verbatim
22302 #: ../fish/guestfish.pod:772 ../libguestfs-1.11.20/fish/guestfish.pod:772
22303 #, no-wrap
22304 msgid ""
22305 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
22306 "\n"
22307 msgstr ""
22308
22309 #. type: textblock
22310 #: ../fish/guestfish.pod:774 ../libguestfs-1.11.20/fish/guestfish.pod:774
22311 msgid "or with names like C</foo.001>:"
22312 msgstr ""
22313
22314 #. type: verbatim
22315 #: ../fish/guestfish.pod:776 ../libguestfs-1.11.20/fish/guestfish.pod:776
22316 #, no-wrap
22317 msgid ""
22318 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
22319 "\n"
22320 msgstr ""
22321
22322 #. type: textblock
22323 #: ../fish/guestfish.pod:778 ../libguestfs-1.11.20/fish/guestfish.pod:778
22324 msgid ""
22325 "When using guestfish interactively it can be helpful to just run the shell "
22326 "script first (ie. remove the initial C<E<lt>> character so it is just an "
22327 "ordinary I<!> local command), see what guestfish commands it would run, and "
22328 "when you are happy with those prepend the C<E<lt>> character to run the "
22329 "guestfish commands for real."
22330 msgstr ""
22331
22332 #. type: =head1
22333 #: ../fish/guestfish.pod:784 ../libguestfs-1.11.20/fish/guestfish.pod:784
22334 msgid "PIPES"
22335 msgstr ""
22336
22337 #. type: textblock
22338 #: ../fish/guestfish.pod:786 ../libguestfs-1.11.20/fish/guestfish.pod:786
22339 msgid ""
22340 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
22341 "command (a guestfish command) to the second command (any host command).  For "
22342 "example:"
22343 msgstr ""
22344
22345 #. type: verbatim
22346 #: ../fish/guestfish.pod:790 ../libguestfs-1.11.20/fish/guestfish.pod:790
22347 #, no-wrap
22348 msgid ""
22349 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
22350 "\n"
22351 msgstr ""
22352
22353 #. type: textblock
22354 #: ../fish/guestfish.pod:792 ../libguestfs-1.11.20/fish/guestfish.pod:792
22355 msgid ""
22356 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
22357 "program).  The above command would list all accounts in the guest filesystem "
22358 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
22359 msgstr ""
22360
22361 #. type: verbatim
22362 #: ../fish/guestfish.pod:797 ../libguestfs-1.11.20/fish/guestfish.pod:797
22363 #, no-wrap
22364 msgid ""
22365 " hexdump /bin/ls | head\n"
22366 " list-devices | tail -1\n"
22367 " tgz-out / - | tar ztf -\n"
22368 "\n"
22369 msgstr ""
22370
22371 #. type: textblock
22372 #: ../fish/guestfish.pod:801 ../libguestfs-1.11.20/fish/guestfish.pod:801
22373 msgid ""
22374 "The space before the pipe symbol is required, any space after the pipe "
22375 "symbol is optional.  Everything after the pipe symbol is just passed "
22376 "straight to the host shell, so it can contain redirections, globs and "
22377 "anything else that makes sense on the host side."
22378 msgstr ""
22379
22380 #. type: textblock
22381 #: ../fish/guestfish.pod:806 ../libguestfs-1.11.20/fish/guestfish.pod:806
22382 msgid ""
22383 "To use a literal argument which begins with a pipe symbol, you have to quote "
22384 "it, eg:"
22385 msgstr ""
22386
22387 #. type: verbatim
22388 #: ../fish/guestfish.pod:809 ../libguestfs-1.11.20/fish/guestfish.pod:809
22389 #, no-wrap
22390 msgid ""
22391 " echo \"|\"\n"
22392 "\n"
22393 msgstr ""
22394
22395 #. type: =head1
22396 #: ../fish/guestfish.pod:811 ../libguestfs-1.11.20/fish/guestfish.pod:811
22397 msgid "HOME DIRECTORIES"
22398 msgstr ""
22399
22400 #. type: textblock
22401 #: ../fish/guestfish.pod:813 ../libguestfs-1.11.20/fish/guestfish.pod:813
22402 msgid ""
22403 "If a parameter starts with the character C<~> then the tilde may be expanded "
22404 "as a home directory path (either C<~> for the current user's home directory, "
22405 "or C<~user> for another user)."
22406 msgstr ""
22407
22408 #. type: textblock
22409 #: ../fish/guestfish.pod:817 ../libguestfs-1.11.20/fish/guestfish.pod:817
22410 msgid ""
22411 "Note that home directory expansion happens for users known I<on the host>, "
22412 "not in the guest filesystem."
22413 msgstr ""
22414
22415 #. type: textblock
22416 #: ../fish/guestfish.pod:820 ../libguestfs-1.11.20/fish/guestfish.pod:820
22417 msgid ""
22418 "To use a literal argument which begins with a tilde, you have to quote it, "
22419 "eg:"
22420 msgstr ""
22421
22422 #. type: verbatim
22423 #: ../fish/guestfish.pod:823 ../libguestfs-1.11.20/fish/guestfish.pod:823
22424 #, no-wrap
22425 msgid ""
22426 " echo \"~\"\n"
22427 "\n"
22428 msgstr ""
22429
22430 #. type: =head2
22431 #: ../fish/guestfish.pod:825 ../libguestfs-1.11.20/fish/guestfish.pod:825
22432 #: ../libguestfs-1.11.20/src/guestfs.pod:519 ../src/guestfs.pod:519
22433 msgid "ENCRYPTED DISKS"
22434 msgstr ""
22435
22436 #. type: textblock
22437 #: ../fish/guestfish.pod:827 ../libguestfs-1.11.20/fish/guestfish.pod:827
22438 msgid ""
22439 "Libguestfs has some support for Linux guests encrypted according to the "
22440 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
22441 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
22442 "LUKS is supported."
22443 msgstr ""
22444
22445 #. type: textblock
22446 #: ../fish/guestfish.pod:832 ../libguestfs-1.11.20/fish/guestfish.pod:832
22447 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
22448 msgstr ""
22449
22450 #. type: verbatim
22451 #: ../fish/guestfish.pod:834 ../libguestfs-1.11.20/fish/guestfish.pod:834
22452 #, no-wrap
22453 msgid ""
22454 " ><fs> vfs-type /dev/sda2\n"
22455 " crypto_LUKS\n"
22456 "\n"
22457 msgstr ""
22458
22459 #. type: textblock
22460 #: ../fish/guestfish.pod:837 ../libguestfs-1.11.20/fish/guestfish.pod:837
22461 msgid ""
22462 "Then open those devices using L</luks-open>.  This creates a device-mapper "
22463 "device called C</dev/mapper/luksdev>."
22464 msgstr ""
22465
22466 #. type: verbatim
22467 #: ../fish/guestfish.pod:840 ../libguestfs-1.11.20/fish/guestfish.pod:840
22468 #, no-wrap
22469 msgid ""
22470 " ><fs> luks-open /dev/sda2 luksdev\n"
22471 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
22472 "\n"
22473 msgstr ""
22474
22475 #. type: textblock
22476 #: ../fish/guestfish.pod:843 ../libguestfs-1.11.20/fish/guestfish.pod:843
22477 msgid ""
22478 "Finally you have to tell LVM to scan for volume groups on the newly created "
22479 "mapper device:"
22480 msgstr ""
22481
22482 #. type: verbatim
22483 #: ../fish/guestfish.pod:846 ../libguestfs-1.11.20/fish/guestfish.pod:846
22484 #, no-wrap
22485 msgid ""
22486 " vgscan\n"
22487 " vg-activate-all true\n"
22488 "\n"
22489 msgstr ""
22490
22491 #. type: textblock
22492 #: ../fish/guestfish.pod:849 ../libguestfs-1.11.20/fish/guestfish.pod:849
22493 msgid "The logical volume(s) can now be mounted in the usual way."
22494 msgstr ""
22495
22496 #. type: textblock
22497 #: ../fish/guestfish.pod:851 ../libguestfs-1.11.20/fish/guestfish.pod:851
22498 msgid ""
22499 "Before closing a LUKS device you must unmount any logical volumes on it and "
22500 "deactivate the volume groups by calling C<vg-activate false VG> on each "
22501 "one.  Then you can close the mapper device:"
22502 msgstr ""
22503
22504 #. type: verbatim
22505 #: ../fish/guestfish.pod:855 ../libguestfs-1.11.20/fish/guestfish.pod:855
22506 #, no-wrap
22507 msgid ""
22508 " vg-activate false /dev/VG\n"
22509 " luks-close /dev/mapper/luksdev\n"
22510 "\n"
22511 msgstr ""
22512
22513 #. type: textblock
22514 #: ../fish/guestfish.pod:860 ../libguestfs-1.11.20/fish/guestfish.pod:860
22515 msgid ""
22516 "If a path is prefixed with C<win:> then you can use Windows-style drive "
22517 "letters and paths (with some limitations).  The following commands are "
22518 "equivalent:"
22519 msgstr ""
22520
22521 #. type: verbatim
22522 #: ../fish/guestfish.pod:864 ../libguestfs-1.11.20/fish/guestfish.pod:864
22523 #, no-wrap
22524 msgid ""
22525 " file /WINDOWS/system32/config/system.LOG\n"
22526 "\n"
22527 msgstr ""
22528
22529 #. type: verbatim
22530 #: ../fish/guestfish.pod:866 ../libguestfs-1.11.20/fish/guestfish.pod:866
22531 #, no-wrap
22532 msgid ""
22533 " file win:\\windows\\system32\\config\\system.log\n"
22534 "\n"
22535 msgstr ""
22536
22537 #. type: verbatim
22538 #: ../fish/guestfish.pod:868 ../libguestfs-1.11.20/fish/guestfish.pod:868
22539 #, no-wrap
22540 msgid ""
22541 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
22542 "\n"
22543 msgstr ""
22544
22545 #. type: textblock
22546 #: ../fish/guestfish.pod:870 ../libguestfs-1.11.20/fish/guestfish.pod:870
22547 msgid ""
22548 "The parameter is rewritten \"behind the scenes\" by looking up the position "
22549 "where the drive is mounted, prepending that to the path, changing all "
22550 "backslash characters to forward slash, then resolving the result using L</"
22551 "case-sensitive-path>.  For example if the E: drive was mounted on C</e> then "
22552 "the parameter might be rewritten like this:"
22553 msgstr ""
22554
22555 #. type: verbatim
22556 #: ../fish/guestfish.pod:876 ../libguestfs-1.11.20/fish/guestfish.pod:876
22557 #, no-wrap
22558 msgid ""
22559 " win:e:\\foo\\bar => /e/FOO/bar\n"
22560 "\n"
22561 msgstr ""
22562
22563 #. type: textblock
22564 #: ../fish/guestfish.pod:878 ../libguestfs-1.11.20/fish/guestfish.pod:878
22565 msgid "This only works in argument positions that expect a path."
22566 msgstr ""
22567
22568 #. type: =head1
22569 #: ../fish/guestfish.pod:880 ../libguestfs-1.11.20/fish/guestfish.pod:880
22570 msgid "UPLOADING AND DOWNLOADING FILES"
22571 msgstr ""
22572
22573 #. type: textblock
22574 #: ../fish/guestfish.pod:882 ../libguestfs-1.11.20/fish/guestfish.pod:882
22575 msgid ""
22576 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
22577 "others which upload from or download to a local file, you can use the "
22578 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
22579 msgstr ""
22580
22581 #. type: verbatim
22582 #: ../fish/guestfish.pod:886 ../libguestfs-1.11.20/fish/guestfish.pod:886
22583 #, no-wrap
22584 msgid ""
22585 " upload - /foo\n"
22586 "\n"
22587 msgstr ""
22588
22589 #. type: textblock
22590 #: ../fish/guestfish.pod:888 ../libguestfs-1.11.20/fish/guestfish.pod:888
22591 msgid ""
22592 "reads stdin and creates from that a file C</foo> in the disk image, and:"
22593 msgstr ""
22594
22595 #. type: verbatim
22596 #: ../fish/guestfish.pod:891 ../libguestfs-1.11.20/fish/guestfish.pod:891
22597 #, no-wrap
22598 msgid ""
22599 " tar-out /etc - | tar tf -\n"
22600 "\n"
22601 msgstr ""
22602
22603 #. type: textblock
22604 #: ../fish/guestfish.pod:893 ../libguestfs-1.11.20/fish/guestfish.pod:893
22605 msgid ""
22606 "writes the tarball to stdout and then pipes that into the external \"tar\" "
22607 "command (see L</PIPES>)."
22608 msgstr ""
22609
22610 #. type: textblock
22611 #: ../fish/guestfish.pod:896 ../libguestfs-1.11.20/fish/guestfish.pod:896
22612 msgid ""
22613 "When using C<-> to read from stdin, the input is read up to the end of "
22614 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
22615 "some arbitrary end marker:"
22616 msgstr ""
22617
22618 #. type: verbatim
22619 #: ../fish/guestfish.pod:900 ../libguestfs-1.11.20/fish/guestfish.pod:900
22620 #, no-wrap
22621 msgid ""
22622 " upload -<<END /foo\n"
22623 " input line 1\n"
22624 " input line 2\n"
22625 " input line 3\n"
22626 " END\n"
22627 "\n"
22628 msgstr ""
22629
22630 #. type: textblock
22631 #: ../fish/guestfish.pod:906 ../libguestfs-1.11.20/fish/guestfish.pod:906
22632 msgid ""
22633 "Any string of characters can be used instead of C<END>.  The end marker must "
22634 "appear on a line of its own, without any preceeding or following characters "
22635 "(not even spaces)."
22636 msgstr ""
22637
22638 #. type: textblock
22639 #: ../fish/guestfish.pod:910 ../libguestfs-1.11.20/fish/guestfish.pod:910
22640 msgid ""
22641 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
22642 "upload local files (so-called \"FileIn\" parameters in the generator)."
22643 msgstr ""
22644
22645 #. type: =head1
22646 #: ../fish/guestfish.pod:913 ../libguestfs-1.11.20/fish/guestfish.pod:913
22647 msgid "EXIT ON ERROR BEHAVIOUR"
22648 msgstr ""
22649
22650 #. type: textblock
22651 #: ../fish/guestfish.pod:915 ../libguestfs-1.11.20/fish/guestfish.pod:915
22652 msgid ""
22653 "By default, guestfish will ignore any errors when in interactive mode (ie. "
22654 "taking commands from a human over a tty), and will exit on the first error "
22655 "in non-interactive mode (scripts, commands given on the command line)."
22656 msgstr ""
22657
22658 #. type: textblock
22659 #: ../fish/guestfish.pod:920 ../libguestfs-1.11.20/fish/guestfish.pod:920
22660 msgid ""
22661 "If you prefix a command with a I<-> character, then that command will not "
22662 "cause guestfish to exit, even if that (one) command returns an error."
22663 msgstr ""
22664
22665 #. type: =head1
22666 #: ../fish/guestfish.pod:924 ../libguestfs-1.11.20/fish/guestfish.pod:924
22667 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
22668 msgstr ""
22669
22670 #. type: textblock
22671 #: ../fish/guestfish.pod:926 ../libguestfs-1.11.20/fish/guestfish.pod:926
22672 msgid ""
22673 "Guestfish can be remote-controlled over a socket.  This is useful "
22674 "particularly in shell scripts where you want to make several different "
22675 "changes to a filesystem, but you don't want the overhead of starting up a "
22676 "guestfish process each time."
22677 msgstr ""
22678
22679 #. type: textblock
22680 #: ../fish/guestfish.pod:931 ../libguestfs-1.11.20/fish/guestfish.pod:931
22681 msgid "Start a guestfish server process using:"
22682 msgstr ""
22683
22684 #. type: verbatim
22685 #: ../fish/guestfish.pod:933 ../libguestfs-1.11.20/fish/guestfish.pod:933
22686 #, no-wrap
22687 msgid ""
22688 " eval \"`guestfish --listen`\"\n"
22689 "\n"
22690 msgstr ""
22691
22692 #. type: textblock
22693 #: ../fish/guestfish.pod:935 ../libguestfs-1.11.20/fish/guestfish.pod:935
22694 msgid "and then send it commands by doing:"
22695 msgstr ""
22696
22697 #. type: verbatim
22698 #: ../fish/guestfish.pod:937 ../libguestfs-1.11.20/fish/guestfish.pod:937
22699 #, no-wrap
22700 msgid ""
22701 " guestfish --remote cmd [...]\n"
22702 "\n"
22703 msgstr ""
22704
22705 #. type: textblock
22706 #: ../fish/guestfish.pod:939 ../libguestfs-1.11.20/fish/guestfish.pod:939
22707 msgid "To cause the server to exit, send it the exit command:"
22708 msgstr ""
22709
22710 #. type: textblock
22711 #: ../fish/guestfish.pod:943 ../libguestfs-1.11.20/fish/guestfish.pod:943
22712 msgid ""
22713 "Note that the server will normally exit if there is an error in a command.  "
22714 "You can change this in the usual way.  See section L</EXIT ON ERROR "
22715 "BEHAVIOUR>."
22716 msgstr ""
22717
22718 #. type: =head2
22719 #: ../fish/guestfish.pod:947 ../libguestfs-1.11.20/fish/guestfish.pod:947
22720 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
22721 msgstr ""
22722
22723 #. type: textblock
22724 #: ../fish/guestfish.pod:949 ../libguestfs-1.11.20/fish/guestfish.pod:949
22725 msgid ""
22726 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
22727 "is how the I<--remote> option knows where to send the commands.  You can "
22728 "have several guestfish listener processes running using:"
22729 msgstr ""
22730
22731 #. type: verbatim
22732 #: ../fish/guestfish.pod:953 ../libguestfs-1.11.20/fish/guestfish.pod:953
22733 #, no-wrap
22734 msgid ""
22735 " eval \"`guestfish --listen`\"\n"
22736 " pid1=$GUESTFISH_PID\n"
22737 " eval \"`guestfish --listen`\"\n"
22738 " pid2=$GUESTFISH_PID\n"
22739 " ...\n"
22740 " guestfish --remote=$pid1 cmd\n"
22741 " guestfish --remote=$pid2 cmd\n"
22742 "\n"
22743 msgstr ""
22744
22745 #. type: =head2
22746 #: ../fish/guestfish.pod:961 ../libguestfs-1.11.20/fish/guestfish.pod:961
22747 msgid "REMOTE CONTROL AND CSH"
22748 msgstr ""
22749
22750 #. type: textblock
22751 #: ../fish/guestfish.pod:963 ../libguestfs-1.11.20/fish/guestfish.pod:963
22752 msgid ""
22753 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
22754 "option:"
22755 msgstr ""
22756
22757 #. type: verbatim
22758 #: ../fish/guestfish.pod:966 ../libguestfs-1.11.20/fish/guestfish.pod:966
22759 #, no-wrap
22760 msgid ""
22761 " eval \"`guestfish --listen --csh`\"\n"
22762 "\n"
22763 msgstr ""
22764
22765 #. type: =head2
22766 #: ../fish/guestfish.pod:968 ../libguestfs-1.11.20/fish/guestfish.pod:968
22767 msgid "REMOTE CONTROL DETAILS"
22768 msgstr ""
22769
22770 #. type: textblock
22771 #: ../fish/guestfish.pod:970 ../libguestfs-1.11.20/fish/guestfish.pod:970
22772 msgid ""
22773 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
22774 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
22775 "and C<$PID> is the process ID of the server."
22776 msgstr ""
22777
22778 #. type: textblock
22779 #: ../fish/guestfish.pod:974 ../libguestfs-1.11.20/fish/guestfish.pod:974
22780 msgid "Guestfish client and server versions must match exactly."
22781 msgstr ""
22782
22783 #. type: =head1
22784 #: ../fish/guestfish.pod:976 ../libguestfs-1.11.20/fish/guestfish.pod:976
22785 msgid "PREPARED DISK IMAGES"
22786 msgstr ""
22787
22788 #. type: textblock
22789 #: ../fish/guestfish.pod:978 ../libguestfs-1.11.20/fish/guestfish.pod:978
22790 msgid ""
22791 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
22792 "preformatted disk images that guestfish can make for you to save typing.  "
22793 "This is particularly useful for testing purposes.  This option is used "
22794 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
22795 "can be mixed with I<-a>)."
22796 msgstr ""
22797
22798 #. type: textblock
22799 #: ../fish/guestfish.pod:984 ../libguestfs-1.11.20/fish/guestfish.pod:984
22800 msgid ""
22801 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
22802 "the second and so on.  Existing files in the current directory are "
22803 "I<overwritten>."
22804 msgstr ""
22805
22806 #. type: textblock
22807 #: ../fish/guestfish.pod:988 ../libguestfs-1.11.20/fish/guestfish.pod:988
22808 msgid ""
22809 "The type briefly describes how the disk should be sized, partitioned, how "
22810 "filesystem(s) should be created, and how content should be added.  "
22811 "Optionally the type can be followed by extra parameters, separated by C<:> "
22812 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
22813 "allocated disk, containing a single partition, with the partition formatted "
22814 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
22815 "disk instead."
22816 msgstr ""
22817
22818 #. type: textblock
22819 #: ../fish/guestfish.pod:996 ../libguestfs-1.11.20/fish/guestfish.pod:996
22820 msgid "To list the available types and any extra parameters they take, run:"
22821 msgstr ""
22822
22823 #. type: textblock
22824 #: ../fish/guestfish.pod:1000 ../libguestfs-1.11.20/fish/guestfish.pod:1000
22825 msgid ""
22826 "Note that the prepared filesystem is not mounted.  You would usually have to "
22827 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
22828 msgstr ""
22829
22830 #. type: textblock
22831 #: ../fish/guestfish.pod:1004 ../libguestfs-1.11.20/fish/guestfish.pod:1004
22832 msgid ""
22833 "If any I<-N> or I<--new> options are given, the guest is automatically "
22834 "launched."
22835 msgstr ""
22836
22837 #. type: textblock
22838 #: ../fish/guestfish.pod:1009 ../libguestfs-1.11.20/fish/guestfish.pod:1009
22839 msgid "Create a 100MB disk with an ext4-formatted partition:"
22840 msgstr ""
22841
22842 #. type: verbatim
22843 #: ../fish/guestfish.pod:1011 ../libguestfs-1.11.20/fish/guestfish.pod:1011
22844 #, no-wrap
22845 msgid ""
22846 " guestfish -N fs:ext4\n"
22847 "\n"
22848 msgstr ""
22849
22850 #. type: textblock
22851 #: ../fish/guestfish.pod:1013 ../libguestfs-1.11.20/fish/guestfish.pod:1013
22852 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
22853 msgstr ""
22854
22855 #. type: verbatim
22856 #: ../fish/guestfish.pod:1015 ../libguestfs-1.11.20/fish/guestfish.pod:1015
22857 #, no-wrap
22858 msgid ""
22859 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
22860 "\n"
22861 msgstr ""
22862
22863 #. type: textblock
22864 #: ../fish/guestfish.pod:1017 ../libguestfs-1.11.20/fish/guestfish.pod:1017
22865 msgid "Create a blank 200MB disk:"
22866 msgstr ""
22867
22868 #. type: verbatim
22869 #: ../fish/guestfish.pod:1019 ../libguestfs-1.11.20/fish/guestfish.pod:1019
22870 #, no-wrap
22871 msgid ""
22872 " guestfish -N disk:200M\n"
22873 "\n"
22874 msgstr ""
22875
22876 #. type: =head1
22877 #: ../fish/guestfish.pod:1021 ../libguestfs-1.11.20/fish/guestfish.pod:1021
22878 msgid "PROGRESS BARS"
22879 msgstr ""
22880
22881 #. type: textblock
22882 #: ../fish/guestfish.pod:1023 ../libguestfs-1.11.20/fish/guestfish.pod:1023
22883 msgid ""
22884 "Some (not all) long-running commands send progress notification messages as "
22885 "they are running.  Guestfish turns these messages into progress bars."
22886 msgstr ""
22887
22888 #. type: textblock
22889 #: ../fish/guestfish.pod:1027 ../libguestfs-1.11.20/fish/guestfish.pod:1027
22890 msgid ""
22891 "When a command that supports progress bars takes longer than two seconds to "
22892 "run, and if progress bars are enabled, then you will see one appearing below "
22893 "the command:"
22894 msgstr ""
22895
22896 #. type: verbatim
22897 #: ../fish/guestfish.pod:1031 ../libguestfs-1.11.20/fish/guestfish.pod:1031
22898 #, no-wrap
22899 msgid ""
22900 " ><fs> copy-size /large-file /another-file 2048M\n"
22901 " / 10% [#####-----------------------------------------] 00:30\n"
22902 "\n"
22903 msgstr ""
22904
22905 #. type: textblock
22906 #: ../fish/guestfish.pod:1034 ../libguestfs-1.11.20/fish/guestfish.pod:1034
22907 msgid ""
22908 "The spinner on the left hand side moves round once for every progress "
22909 "notification received from the backend.  This is a (reasonably) golden "
22910 "assurance that the command is \"doing something\" even if the progress bar "
22911 "is not moving, because the command is able to send the progress "
22912 "notifications.  When the bar reaches 100% and the command finishes, the "
22913 "spinner disappears."
22914 msgstr ""
22915
22916 #. type: textblock
22917 #: ../fish/guestfish.pod:1041 ../libguestfs-1.11.20/fish/guestfish.pod:1041
22918 msgid ""
22919 "Progress bars are enabled by default when guestfish is used interactively.  "
22920 "You can enable them even for non-interactive modes using I<--progress-bars>, "
22921 "and you can disable them completely using I<--no-progress-bars>."
22922 msgstr ""
22923
22924 #. type: =head1
22925 #: ../fish/guestfish.pod:1046 ../libguestfs-1.11.20/fish/guestfish.pod:1046
22926 msgid "GUESTFISH COMMANDS"
22927 msgstr ""
22928
22929 #. type: textblock
22930 #: ../fish/guestfish.pod:1048 ../libguestfs-1.11.20/fish/guestfish.pod:1048
22931 msgid ""
22932 "The commands in this section are guestfish convenience commands, in other "
22933 "words, they are not part of the L<guestfs(3)> API."
22934 msgstr ""
22935
22936 #. type: =head2
22937 #: ../fish/guestfish.pod:1051 ../libguestfs-1.11.20/fish/guestfish.pod:1051
22938 msgid "help"
22939 msgstr ""
22940
22941 #. type: verbatim
22942 #: ../fish/guestfish.pod:1053 ../libguestfs-1.11.20/fish/guestfish.pod:1053
22943 #, no-wrap
22944 msgid ""
22945 " help\n"
22946 " help cmd\n"
22947 "\n"
22948 msgstr ""
22949
22950 #. type: textblock
22951 #: ../fish/guestfish.pod:1056 ../libguestfs-1.11.20/fish/guestfish.pod:1056
22952 msgid "Without any parameter, this provides general help."
22953 msgstr ""
22954
22955 #. type: textblock
22956 #: ../fish/guestfish.pod:1058 ../libguestfs-1.11.20/fish/guestfish.pod:1058
22957 msgid "With a C<cmd> parameter, this displays detailed help for that command."
22958 msgstr ""
22959
22960 #. type: =head2
22961 #: ../fish/guestfish.pod:1060 ../libguestfs-1.11.20/fish/guestfish.pod:1060
22962 msgid "quit | exit"
22963 msgstr ""
22964
22965 #. type: textblock
22966 #: ../fish/guestfish.pod:1062 ../libguestfs-1.11.20/fish/guestfish.pod:1062
22967 msgid "This exits guestfish.  You can also use C<^D> key."
22968 msgstr ""
22969
22970 #. type: textblock
22971 #: ../fish/guestfish.pod:1064 ../libguestfs-1.11.20/fish/guestfish.pod:1064
22972 msgid "@FISH_COMMANDS@"
22973 msgstr ""
22974
22975 #. type: =head1
22976 #: ../fish/guestfish.pod:1066 ../libguestfs-1.11.20/fish/guestfish.pod:1066
22977 msgid "COMMANDS"
22978 msgstr ""
22979
22980 #. type: textblock
22981 #: ../fish/guestfish.pod:1068 ../libguestfs-1.11.20/fish/guestfish.pod:1068
22982 #: ../libguestfs-1.11.20/src/guestfs.pod:1474 ../src/guestfs.pod:1474
22983 msgid "@ACTIONS@"
22984 msgstr ""
22985
22986 #. type: =head1
22987 #: ../fish/guestfish.pod:1070 ../libguestfs-1.11.20/fish/guestfish.pod:1070
22988 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:77
22989 #: ../test-tool/libguestfs-test-tool.pod:77
22990 msgid "EXIT CODE"
22991 msgstr ""
22992
22993 #. type: textblock
22994 #: ../fish/guestfish.pod:1072 ../libguestfs-1.11.20/fish/guestfish.pod:1072
22995 msgid ""
22996 "guestfish returns 0 if the commands completed without error, or 1 if there "
22997 "was an error."
22998 msgstr ""
22999
23000 #. type: =item
23001 #: ../fish/guestfish.pod:1079 ../libguestfs-1.11.20/fish/guestfish.pod:1079
23002 msgid "EDITOR"
23003 msgstr ""
23004
23005 #. type: textblock
23006 #: ../fish/guestfish.pod:1081 ../libguestfs-1.11.20/fish/guestfish.pod:1081
23007 msgid ""
23008 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
23009 "C<vi>."
23010 msgstr ""
23011
23012 #. type: =item
23013 #: ../fish/guestfish.pod:1084 ../libguestfs-1.11.20/fish/guestfish.pod:1084
23014 msgid "GUESTFISH_DISPLAY_IMAGE"
23015 msgstr ""
23016
23017 #. type: textblock
23018 #: ../fish/guestfish.pod:1086 ../libguestfs-1.11.20/fish/guestfish.pod:1086
23019 msgid ""
23020 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images.  "
23021 "If not set, it uses L<display(1)>."
23022 msgstr ""
23023
23024 #. type: =item
23025 #: ../fish/guestfish.pod:1089 ../libguestfs-1.11.20/fish/guestfish.pod:1089
23026 msgid "GUESTFISH_PID"
23027 msgstr ""
23028
23029 #. type: textblock
23030 #: ../fish/guestfish.pod:1091 ../libguestfs-1.11.20/fish/guestfish.pod:1091
23031 msgid ""
23032 "Used with the I<--remote> option to specify the remote guestfish process to "
23033 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
23034 msgstr ""
23035
23036 #. type: =item
23037 #: ../fish/guestfish.pod:1095 ../libguestfs-1.11.20/fish/guestfish.pod:1095
23038 msgid "HEXEDITOR"
23039 msgstr ""
23040
23041 #. type: textblock
23042 #: ../fish/guestfish.pod:1097 ../libguestfs-1.11.20/fish/guestfish.pod:1097
23043 msgid ""
23044 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
23045 "not specified, the external L<hexedit(1)> program is used."
23046 msgstr ""
23047
23048 #. type: =item
23049 #: ../fish/guestfish.pod:1101 ../libguestfs-1.11.20/fish/guestfish.pod:1101
23050 msgid "HOME"
23051 msgstr ""
23052
23053 #. type: textblock
23054 #: ../fish/guestfish.pod:1103 ../libguestfs-1.11.20/fish/guestfish.pod:1103
23055 msgid ""
23056 "If compiled with GNU readline support, various files in the home directory "
23057 "can be used.  See L</FILES>."
23058 msgstr ""
23059
23060 #. type: =item
23061 #: ../fish/guestfish.pod:1106 ../libguestfs-1.11.20/fish/guestfish.pod:1106
23062 #: ../libguestfs-1.11.20/src/guestfs.pod:2964 ../src/guestfs.pod:2964
23063 msgid "LIBGUESTFS_APPEND"
23064 msgstr ""
23065
23066 #. type: textblock
23067 #: ../fish/guestfish.pod:1108 ../libguestfs-1.11.20/fish/guestfish.pod:1108
23068 #: ../libguestfs-1.11.20/src/guestfs.pod:2966 ../src/guestfs.pod:2966
23069 msgid "Pass additional options to the guest kernel."
23070 msgstr ""
23071
23072 #. type: =item
23073 #: ../fish/guestfish.pod:1110 ../libguestfs-1.11.20/fish/guestfish.pod:1110
23074 #: ../libguestfs-1.11.20/src/guestfs.pod:2968 ../src/guestfs.pod:2968
23075 msgid "LIBGUESTFS_DEBUG"
23076 msgstr ""
23077
23078 #. type: textblock
23079 #: ../fish/guestfish.pod:1112 ../libguestfs-1.11.20/fish/guestfish.pod:1112
23080 msgid ""
23081 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
23082 "effect as using the B<-v> option."
23083 msgstr ""
23084
23085 #. type: =item
23086 #: ../fish/guestfish.pod:1115 ../libguestfs-1.11.20/fish/guestfish.pod:1115
23087 #: ../libguestfs-1.11.20/src/guestfs.pod:2973 ../src/guestfs.pod:2973
23088 msgid "LIBGUESTFS_MEMSIZE"
23089 msgstr ""
23090
23091 #. type: textblock
23092 #: ../fish/guestfish.pod:1117 ../libguestfs-1.11.20/fish/guestfish.pod:1117
23093 #: ../libguestfs-1.11.20/src/guestfs.pod:2975 ../src/guestfs.pod:2975
23094 msgid ""
23095 "Set the memory allocated to the qemu process, in megabytes.  For example:"
23096 msgstr ""
23097
23098 #. type: verbatim
23099 #: ../fish/guestfish.pod:1120 ../libguestfs-1.11.20/fish/guestfish.pod:1120
23100 #: ../libguestfs-1.11.20/src/guestfs.pod:2978 ../src/guestfs.pod:2978
23101 #, no-wrap
23102 msgid ""
23103 " LIBGUESTFS_MEMSIZE=700\n"
23104 "\n"
23105 msgstr ""
23106
23107 #. type: =item
23108 #: ../fish/guestfish.pod:1122 ../libguestfs-1.11.20/fish/guestfish.pod:1122
23109 #: ../libguestfs-1.11.20/src/guestfs.pod:2980 ../src/guestfs.pod:2980
23110 msgid "LIBGUESTFS_PATH"
23111 msgstr ""
23112
23113 #. type: textblock
23114 #: ../fish/guestfish.pod:1124 ../libguestfs-1.11.20/fish/guestfish.pod:1124
23115 msgid ""
23116 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
23117 "the discussion of paths in L<guestfs(3)>."
23118 msgstr ""
23119
23120 #. type: =item
23121 #: ../fish/guestfish.pod:1127 ../libguestfs-1.11.20/fish/guestfish.pod:1127
23122 #: ../libguestfs-1.11.20/src/guestfs.pod:2985 ../src/guestfs.pod:2985
23123 msgid "LIBGUESTFS_QEMU"
23124 msgstr ""
23125
23126 #. type: textblock
23127 #: ../fish/guestfish.pod:1129 ../libguestfs-1.11.20/fish/guestfish.pod:1129
23128 #: ../libguestfs-1.11.20/src/guestfs.pod:2987 ../src/guestfs.pod:2987
23129 msgid ""
23130 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
23131 "which was found at compile time by the configure script is used."
23132 msgstr ""
23133
23134 #. type: =item
23135 #: ../fish/guestfish.pod:1133 ../libguestfs-1.11.20/fish/guestfish.pod:1133
23136 #: ../libguestfs-1.11.20/src/guestfs.pod:2993 ../src/guestfs.pod:2993
23137 msgid "LIBGUESTFS_TRACE"
23138 msgstr ""
23139
23140 #. type: textblock
23141 #: ../fish/guestfish.pod:1135 ../libguestfs-1.11.20/fish/guestfish.pod:1135
23142 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
23143 msgstr ""
23144
23145 #. type: =item
23146 #: ../fish/guestfish.pod:1137 ../libguestfs-1.11.20/fish/guestfish.pod:1137
23147 msgid "PAGER"
23148 msgstr ""
23149
23150 #. type: textblock
23151 #: ../fish/guestfish.pod:1139 ../libguestfs-1.11.20/fish/guestfish.pod:1139
23152 msgid ""
23153 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
23154 "C<more>."
23155 msgstr ""
23156
23157 #. type: =item
23158 #: ../fish/guestfish.pod:1142 ../libguestfs-1.11.20/fish/guestfish.pod:1142
23159 #: ../libguestfs-1.11.20/src/guestfs.pod:2998 ../src/guestfs.pod:2998
23160 msgid "TMPDIR"
23161 msgstr ""
23162
23163 #. type: textblock
23164 #: ../fish/guestfish.pod:1144 ../libguestfs-1.11.20/fish/guestfish.pod:1144
23165 #: ../libguestfs-1.11.20/src/guestfs.pod:3000 ../src/guestfs.pod:3000
23166 msgid ""
23167 "Location of temporary directory, defaults to C</tmp> except for the cached "
23168 "supermin appliance which defaults to C</var/tmp>."
23169 msgstr ""
23170
23171 #. type: textblock
23172 #: ../fish/guestfish.pod:1147 ../libguestfs-1.11.20/fish/guestfish.pod:1147
23173 #: ../libguestfs-1.11.20/src/guestfs.pod:3003 ../src/guestfs.pod:3003
23174 msgid ""
23175 "If libguestfs was compiled to use the supermin appliance then the real "
23176 "appliance is cached in this directory, shared between all handles belonging "
23177 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
23178 "use in case C</var/tmp> is not large enough."
23179 msgstr ""
23180
23181 #. type: =head1
23182 #: ../fish/guestfish.pod:1155 ../fuse/guestmount.pod:288
23183 #: ../libguestfs-1.11.20/fish/guestfish.pod:1155
23184 #: ../libguestfs-1.11.20/fuse/guestmount.pod:288
23185 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:269
23186 #: ../rescue/virt-rescue.pod:269
23187 msgid "FILES"
23188 msgstr ""
23189
23190 #. type: =item
23191 #: ../fish/guestfish.pod:1159 ../fuse/guestmount.pod:292
23192 #: ../libguestfs-1.11.20/fish/guestfish.pod:1159
23193 #: ../libguestfs-1.11.20/fuse/guestmount.pod:292
23194 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:273
23195 #: ../rescue/virt-rescue.pod:273
23196 msgid "$HOME/.libguestfs-tools.rc"
23197 msgstr ""
23198
23199 #. type: =item
23200 #: ../fish/guestfish.pod:1161 ../fuse/guestmount.pod:294
23201 #: ../libguestfs-1.11.20/fish/guestfish.pod:1161
23202 #: ../libguestfs-1.11.20/fuse/guestmount.pod:294
23203 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:275
23204 #: ../rescue/virt-rescue.pod:275
23205 msgid "/etc/libguestfs-tools.conf"
23206 msgstr ""
23207
23208 #. type: textblock
23209 #: ../fish/guestfish.pod:1163 ../fuse/guestmount.pod:296
23210 #: ../libguestfs-1.11.20/fish/guestfish.pod:1163
23211 #: ../libguestfs-1.11.20/fuse/guestmount.pod:296
23212 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:277
23213 #: ../rescue/virt-rescue.pod:277
23214 msgid ""
23215 "This configuration file controls the default read-only or read-write mode "
23216 "(I<--ro> or I<--rw>)."
23217 msgstr ""
23218
23219 #. type: textblock
23220 #: ../fish/guestfish.pod:1166 ../libguestfs-1.11.20/fish/guestfish.pod:1166
23221 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
23222 msgstr ""
23223
23224 #. type: =item
23225 #: ../fish/guestfish.pod:1168 ../libguestfs-1.11.20/fish/guestfish.pod:1168
23226 msgid "$HOME/.guestfish"
23227 msgstr ""
23228
23229 #. type: textblock
23230 #: ../fish/guestfish.pod:1170 ../libguestfs-1.11.20/fish/guestfish.pod:1170
23231 msgid ""
23232 "If compiled with GNU readline support, then the command history is saved in "
23233 "this file."
23234 msgstr ""
23235
23236 #. type: =item
23237 #: ../fish/guestfish.pod:1173 ../libguestfs-1.11.20/fish/guestfish.pod:1173
23238 msgid "$HOME/.inputrc"
23239 msgstr ""
23240
23241 #. type: =item
23242 #: ../fish/guestfish.pod:1175 ../libguestfs-1.11.20/fish/guestfish.pod:1175
23243 msgid "/etc/inputrc"
23244 msgstr ""
23245
23246 #. type: textblock
23247 #: ../fish/guestfish.pod:1177 ../libguestfs-1.11.20/fish/guestfish.pod:1177
23248 msgid ""
23249 "If compiled with GNU readline support, then these files can be used to "
23250 "configure readline.  For further information, please see L<readline(3)/"
23251 "INITIALIZATION FILE>."
23252 msgstr ""
23253
23254 #. type: textblock
23255 #: ../fish/guestfish.pod:1181 ../libguestfs-1.11.20/fish/guestfish.pod:1181
23256 msgid "To write rules which only apply to guestfish, use:"
23257 msgstr ""
23258
23259 #. type: verbatim
23260 #: ../fish/guestfish.pod:1183 ../libguestfs-1.11.20/fish/guestfish.pod:1183
23261 #, no-wrap
23262 msgid ""
23263 " $if guestfish\n"
23264 " ...\n"
23265 " $endif\n"
23266 "\n"
23267 msgstr ""
23268
23269 #. type: textblock
23270 #: ../fish/guestfish.pod:1187 ../libguestfs-1.11.20/fish/guestfish.pod:1187
23271 msgid ""
23272 "Variables that you can set in inputrc that change the behaviour of guestfish "
23273 "in useful ways include:"
23274 msgstr ""
23275
23276 #. type: =item
23277 #: ../fish/guestfish.pod:1192 ../libguestfs-1.11.20/fish/guestfish.pod:1192
23278 msgid "completion-ignore-case (default: on)"
23279 msgstr ""
23280
23281 #. type: textblock
23282 #: ../fish/guestfish.pod:1194 ../libguestfs-1.11.20/fish/guestfish.pod:1194
23283 msgid ""
23284 "By default, guestfish will ignore case when tab-completing paths on the "
23285 "disk.  Use:"
23286 msgstr ""
23287
23288 #. type: verbatim
23289 #: ../fish/guestfish.pod:1197 ../libguestfs-1.11.20/fish/guestfish.pod:1197
23290 #, no-wrap
23291 msgid ""
23292 " set completion-ignore-case off\n"
23293 "\n"
23294 msgstr ""
23295
23296 #. type: textblock
23297 #: ../fish/guestfish.pod:1199 ../libguestfs-1.11.20/fish/guestfish.pod:1199
23298 msgid "to make guestfish case sensitive."
23299 msgstr ""
23300
23301 #. type: =item
23302 #: ../fish/guestfish.pod:1203 ../libguestfs-1.11.20/fish/guestfish.pod:1203
23303 msgid "test1.img"
23304 msgstr ""
23305
23306 #. type: =item
23307 #: ../fish/guestfish.pod:1205 ../libguestfs-1.11.20/fish/guestfish.pod:1205
23308 msgid "test2.img (etc)"
23309 msgstr ""
23310
23311 #. type: textblock
23312 #: ../fish/guestfish.pod:1207 ../libguestfs-1.11.20/fish/guestfish.pod:1207
23313 msgid ""
23314 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
23315 "will be created in the file C<test1.img> in the current directory.  The "
23316 "second use of I<-N> will use C<test2.img> and so on.  Any existing file with "
23317 "the same name will be overwritten."
23318 msgstr ""
23319
23320 #. type: textblock
23321 #: ../fish/guestfish.pod:1216 ../libguestfs-1.11.20/fish/guestfish.pod:1216
23322 msgid ""
23323 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-copy-in(1)"
23324 ">, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)"
23325 ">, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions"
23326 "(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)"
23327 ">, L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)"
23328 ">, L<display(1)>, L<hexedit(1)>."
23329 msgstr ""
23330
23331 #. type: textblock
23332 #: ../fish/guestfish.pod:1244 ../libguestfs-1.11.20/fish/guestfish.pod:1244
23333 #: ../libguestfs-1.11.20/src/guestfs.pod:3088
23334 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:99
23335 #: ../src/guestfs.pod:3088 ../test-tool/libguestfs-test-tool.pod:99
23336 msgid "Copyright (C) 2009-2011 Red Hat Inc.  L<http://libguestfs.org/>"
23337 msgstr ""
23338
23339 #. type: textblock
23340 #: ../fish/virt-copy-in.pod:5 ../libguestfs-1.11.20/fish/virt-copy-in.pod:5
23341 msgid ""
23342 "virt-copy-in - Copy files and directories into a virtual machine disk image."
23343 msgstr ""
23344
23345 #. type: verbatim
23346 #: ../fish/virt-copy-in.pod:9 ../libguestfs-1.11.20/fish/virt-copy-in.pod:9
23347 #, no-wrap
23348 msgid ""
23349 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
23350 "\n"
23351 msgstr ""
23352
23353 #. type: verbatim
23354 #: ../fish/virt-copy-in.pod:11 ../libguestfs-1.11.20/fish/virt-copy-in.pod:11
23355 #, no-wrap
23356 msgid ""
23357 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
23358 "\n"
23359 msgstr ""
23360
23361 #. type: textblock
23362 #: ../fish/virt-copy-in.pod:15 ../libguestfs-1.11.20/fish/virt-copy-in.pod:15
23363 msgid ""
23364 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially "
23365 "causing disk corruption.  The virtual machine must be shut down before you "
23366 "use this command."
23367 msgstr ""
23368
23369 #. type: textblock
23370 #: ../fish/virt-copy-in.pod:21 ../libguestfs-1.11.20/fish/virt-copy-in.pod:21
23371 msgid ""
23372 "C<virt-copy-in> copies files and directories from the local disk into a "
23373 "virtual machine disk image or named libvirt domain."
23374 msgstr ""
23375
23376 #. type: textblock
23377 #: ../fish/virt-copy-in.pod:24 ../libguestfs-1.11.20/fish/virt-copy-in.pod:24
23378 msgid ""
23379 "You can give one of more filenames and directories on the command line.  "
23380 "Directories are copied in recursively.  The final parameter must be the "
23381 "destination directory in the disk image which must be an absolute path "
23382 "starting with a C</> character."
23383 msgstr ""
23384
23385 #. type: verbatim
23386 #: ../fish/virt-copy-in.pod:33 ../libguestfs-1.11.20/fish/virt-copy-in.pod:33
23387 #, no-wrap
23388 msgid ""
23389 " virt-copy-in -d MyGuest resolv.conf /etc\n"
23390 "\n"
23391 msgstr ""
23392
23393 #. type: textblock
23394 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
23395 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:35
23396 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:32
23397 msgid "Upload a home directory to a guest:"
23398 msgstr ""
23399
23400 #. type: verbatim
23401 #: ../fish/virt-copy-in.pod:37 ../libguestfs-1.11.20/fish/virt-copy-in.pod:37
23402 #, no-wrap
23403 msgid ""
23404 " virt-copy-in -d MyGuest skel /home\n"
23405 "\n"
23406 msgstr ""
23407
23408 #. type: =head1
23409 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
23410 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
23411 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:39
23412 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:28
23413 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:36
23414 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:30
23415 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
23416 msgstr ""
23417
23418 #. type: textblock
23419 #: ../fish/virt-copy-in.pod:41 ../libguestfs-1.11.20/fish/virt-copy-in.pod:41
23420 msgid ""
23421 "This command is just a simple shell script wrapper around the L<guestfish(1)"
23422 "> C<copy-in> command.  For anything more complex than a trivial copy, you "
23423 "are probably better off using guestfish directly."
23424 msgstr ""
23425
23426 #. type: textblock
23427 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
23428 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
23429 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:47
23430 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:36
23431 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:44
23432 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:38
23433 msgid ""
23434 "Since the shell script just passes options straight to guestfish, read "
23435 "L<guestfish(1)> to see the full list of options."
23436 msgstr ""
23437
23438 #. type: textblock
23439 #: ../fish/virt-copy-in.pod:52 ../libguestfs-1.11.20/fish/virt-copy-in.pod:52
23440 msgid ""
23441 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
23442 "L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
23443 msgstr ""
23444
23445 #. type: textblock
23446 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
23447 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
23448 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:66
23449 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:55
23450 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:64
23451 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:57
23452 msgid "Copyright (C) 2011 Red Hat Inc.  L<http://libguestfs.org/>"
23453 msgstr ""
23454
23455 #. type: textblock
23456 #: ../fish/virt-copy-out.pod:5 ../libguestfs-1.11.20/fish/virt-copy-out.pod:5
23457 msgid ""
23458 "virt-copy-out - Copy files and directories out of a virtual machine disk "
23459 "image."
23460 msgstr ""
23461
23462 #. type: verbatim
23463 #: ../fish/virt-copy-out.pod:9 ../libguestfs-1.11.20/fish/virt-copy-out.pod:9
23464 #, no-wrap
23465 msgid ""
23466 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
23467 "\n"
23468 msgstr ""
23469
23470 #. type: verbatim
23471 #: ../fish/virt-copy-out.pod:11
23472 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:11
23473 #, no-wrap
23474 msgid ""
23475 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
23476 "\n"
23477 msgstr ""
23478
23479 #. type: textblock
23480 #: ../fish/virt-copy-out.pod:15
23481 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:15
23482 msgid ""
23483 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
23484 "image or named libvirt domain."
23485 msgstr ""
23486
23487 #. type: textblock
23488 #: ../fish/virt-copy-out.pod:18
23489 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:18
23490 msgid ""
23491 "You can give one of more filenames and directories on the command line.  "
23492 "Directories are copied out recursively."
23493 msgstr ""
23494
23495 #. type: textblock
23496 #: ../fish/virt-copy-out.pod:23
23497 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:23
23498 msgid "Download the home directories from a virtual machine:"
23499 msgstr ""
23500
23501 #. type: verbatim
23502 #: ../fish/virt-copy-out.pod:25
23503 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:25
23504 #, no-wrap
23505 msgid ""
23506 " mkdir homes\n"
23507 " virt-copy-out -d MyGuest /home homes\n"
23508 "\n"
23509 msgstr ""
23510
23511 #. type: textblock
23512 #: ../fish/virt-copy-out.pod:30
23513 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:30
23514 msgid ""
23515 "This command is just a simple shell script wrapper around the L<guestfish(1)"
23516 "> C<copy-out> command.  For anything more complex than a trivial copy, you "
23517 "are probably better off using guestfish directly."
23518 msgstr ""
23519
23520 #. type: textblock
23521 #: ../fish/virt-copy-out.pod:41
23522 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:41
23523 msgid ""
23524 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L<virt-"
23525 "tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
23526 msgstr ""
23527
23528 #. type: textblock
23529 #: ../fish/virt-tar-in.pod:5 ../libguestfs-1.11.20/fish/virt-tar-in.pod:5
23530 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
23531 msgstr ""
23532
23533 #. type: verbatim
23534 #: ../fish/virt-tar-in.pod:9 ../libguestfs-1.11.20/fish/virt-tar-in.pod:9
23535 #, no-wrap
23536 msgid ""
23537 " virt-tar-in -a disk.img data.tar /destination\n"
23538 "\n"
23539 msgstr ""
23540
23541 #. type: verbatim
23542 #: ../fish/virt-tar-in.pod:11 ../libguestfs-1.11.20/fish/virt-tar-in.pod:11
23543 #, no-wrap
23544 msgid ""
23545 " virt-tar-in -d domain data.tar /destination\n"
23546 "\n"
23547 msgstr ""
23548
23549 #. type: verbatim
23550 #: ../fish/virt-tar-in.pod:13 ../libguestfs-1.11.20/fish/virt-tar-in.pod:13
23551 #, no-wrap
23552 msgid ""
23553 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
23554 "\n"
23555 msgstr ""
23556
23557 #. type: textblock
23558 #: ../fish/virt-tar-in.pod:17 ../libguestfs-1.11.20/fish/virt-tar-in.pod:17
23559 msgid ""
23560 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
23561 "causing disk corruption.  The virtual machine must be shut down before you "
23562 "use this command."
23563 msgstr ""
23564
23565 #. type: textblock
23566 #: ../fish/virt-tar-in.pod:23 ../libguestfs-1.11.20/fish/virt-tar-in.pod:23
23567 msgid ""
23568 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
23569 "image or named libvirt domain."
23570 msgstr ""
23571
23572 #. type: textblock
23573 #: ../fish/virt-tar-in.pod:26 ../libguestfs-1.11.20/fish/virt-tar-in.pod:26
23574 msgid ""
23575 "The first parameter is the tar file.  Use C<-> to read the tar file from "
23576 "standard input.  The second parameter is the absolute target directory to "
23577 "unpack into."
23578 msgstr ""
23579
23580 #. type: verbatim
23581 #: ../fish/virt-tar-in.pod:34 ../libguestfs-1.11.20/fish/virt-tar-in.pod:34
23582 #, no-wrap
23583 msgid ""
23584 " virt-tar-in -d MyGuest homes.tar /home\n"
23585 "\n"
23586 msgstr ""
23587
23588 #. type: textblock
23589 #: ../fish/virt-tar-in.pod:38 ../libguestfs-1.11.20/fish/virt-tar-in.pod:38
23590 msgid ""
23591 "This command is just a simple shell script wrapper around the L<guestfish(1)"
23592 "> C<tar-in> command.  For anything more complex than a trivial copy, you are "
23593 "probably better off using guestfish directly."
23594 msgstr ""
23595
23596 #. type: textblock
23597 #: ../fish/virt-tar-in.pod:49 ../libguestfs-1.11.20/fish/virt-tar-in.pod:49
23598 msgid ""
23599 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
23600 "L<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, L<http://libguestfs."
23601 "org/>."
23602 msgstr ""
23603
23604 #. type: textblock
23605 #: ../fish/virt-tar-out.pod:5 ../libguestfs-1.11.20/fish/virt-tar-out.pod:5
23606 msgid ""
23607 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
23608 msgstr ""
23609
23610 #. type: verbatim
23611 #: ../fish/virt-tar-out.pod:9 ../libguestfs-1.11.20/fish/virt-tar-out.pod:9
23612 #, no-wrap
23613 msgid ""
23614 " virt-tar-out -a disk.img /dir files.tar\n"
23615 "\n"
23616 msgstr ""
23617
23618 #. type: verbatim
23619 #: ../fish/virt-tar-out.pod:11 ../libguestfs-1.11.20/fish/virt-tar-out.pod:11
23620 #, no-wrap
23621 msgid ""
23622 " virt-tar-out -d domain /dir files.tar\n"
23623 "\n"
23624 msgstr ""
23625
23626 #. type: verbatim
23627 #: ../fish/virt-tar-out.pod:13 ../libguestfs-1.11.20/fish/virt-tar-out.pod:13
23628 #, no-wrap
23629 msgid ""
23630 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
23631 "\n"
23632 msgstr ""
23633
23634 #. type: textblock
23635 #: ../fish/virt-tar-out.pod:17 ../libguestfs-1.11.20/fish/virt-tar-out.pod:17
23636 msgid ""
23637 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
23638 msgstr ""
23639
23640 #. type: textblock
23641 #: ../fish/virt-tar-out.pod:20 ../libguestfs-1.11.20/fish/virt-tar-out.pod:20
23642 msgid ""
23643 "The first parameter is the absolute path of the virtual machine directory.  "
23644 "The second parameter is the tar file to write.  Use C<-> to write to "
23645 "standard output."
23646 msgstr ""
23647
23648 #. type: textblock
23649 #: ../fish/virt-tar-out.pod:26 ../libguestfs-1.11.20/fish/virt-tar-out.pod:26
23650 msgid "Download the home directories from a guest:"
23651 msgstr ""
23652
23653 #. type: verbatim
23654 #: ../fish/virt-tar-out.pod:28 ../libguestfs-1.11.20/fish/virt-tar-out.pod:28
23655 #, no-wrap
23656 msgid ""
23657 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
23658 "\n"
23659 msgstr ""
23660
23661 #. type: textblock
23662 #: ../fish/virt-tar-out.pod:32 ../libguestfs-1.11.20/fish/virt-tar-out.pod:32
23663 msgid ""
23664 "This command is just a simple shell script wrapper around the L<guestfish(1)"
23665 "> C<tar-out> command.  For anything more complex than a trivial copy, you "
23666 "are probably better off using guestfish directly."
23667 msgstr ""
23668
23669 #. type: textblock
23670 #: ../fish/virt-tar-out.pod:43 ../libguestfs-1.11.20/fish/virt-tar-out.pod:43
23671 msgid ""
23672 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
23673 "L<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
23674 msgstr ""
23675
23676 #. type: textblock
23677 #: ../fuse/guestmount.pod:5 ../libguestfs-1.11.20/fuse/guestmount.pod:5
23678 msgid ""
23679 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
23680 msgstr ""
23681
23682 #. type: verbatim
23683 #: ../fuse/guestmount.pod:9 ../libguestfs-1.11.20/fuse/guestmount.pod:9
23684 #, no-wrap
23685 msgid ""
23686 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
23687 "\n"
23688 msgstr ""
23689
23690 #. type: verbatim
23691 #: ../fuse/guestmount.pod:11 ../libguestfs-1.11.20/fuse/guestmount.pod:11
23692 #, no-wrap
23693 msgid ""
23694 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
23695 "\n"
23696 msgstr ""
23697
23698 #. type: verbatim
23699 #: ../fuse/guestmount.pod:13 ../libguestfs-1.11.20/fuse/guestmount.pod:13
23700 #, no-wrap
23701 msgid ""
23702 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
23703 "\n"
23704 msgstr ""
23705
23706 #. type: textblock
23707 #: ../fuse/guestmount.pod:17 ../libguestfs-1.11.20/fuse/guestmount.pod:17
23708 msgid ""
23709 "You must I<not> use C<guestmount> in read-write mode on live virtual "
23710 "machines.  If you do this, you risk disk corruption in the VM."
23711 msgstr ""
23712
23713 #. type: textblock
23714 #: ../fuse/guestmount.pod:22 ../libguestfs-1.11.20/fuse/guestmount.pod:22
23715 msgid ""
23716 "The guestmount program can be used to mount virtual machine filesystems and "
23717 "other disk images on the host.  It uses libguestfs for access to the guest "
23718 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
23719 "a mountable device."
23720 msgstr ""
23721
23722 #. type: textblock
23723 #: ../fuse/guestmount.pod:27 ../libguestfs-1.11.20/fuse/guestmount.pod:27
23724 msgid ""
23725 "Along with other options, you have to give at least one device (I<-a> "
23726 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
23727 "option) or use the I<-i> inspection option.  How this works is better "
23728 "explained in the L<guestfish(1)> manual page, or by looking at the examples "
23729 "below."
23730 msgstr ""
23731
23732 #. type: textblock
23733 #: ../fuse/guestmount.pod:33 ../libguestfs-1.11.20/fuse/guestmount.pod:33
23734 msgid ""
23735 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
23736 "by you, and the filesystem will not be visible to any other users unless you "
23737 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
23738 "the filesystem, use the C<fusermount -u> command."
23739 msgstr ""
23740
23741 #. type: textblock
23742 #: ../fuse/guestmount.pod:41 ../libguestfs-1.11.20/fuse/guestmount.pod:41
23743 msgid ""
23744 "For a typical Windows guest which has its main filesystem on the first "
23745 "partition:"
23746 msgstr ""
23747
23748 #. type: verbatim
23749 #: ../fuse/guestmount.pod:44 ../libguestfs-1.11.20/fuse/guestmount.pod:44
23750 #, no-wrap
23751 msgid ""
23752 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
23753 "\n"
23754 msgstr ""
23755
23756 #. type: textblock
23757 #: ../fuse/guestmount.pod:46 ../libguestfs-1.11.20/fuse/guestmount.pod:46
23758 msgid ""
23759 "For a typical Linux guest which has a /boot filesystem on the first "
23760 "partition, and the root filesystem on a logical volume:"
23761 msgstr ""
23762
23763 #. type: verbatim
23764 #: ../fuse/guestmount.pod:49 ../libguestfs-1.11.20/fuse/guestmount.pod:49
23765 #, no-wrap
23766 msgid ""
23767 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
23768 "\n"
23769 msgstr ""
23770
23771 #. type: textblock
23772 #: ../fuse/guestmount.pod:51 ../libguestfs-1.11.20/fuse/guestmount.pod:51
23773 msgid "To get libguestfs to detect guest mountpoints for you:"
23774 msgstr ""
23775
23776 #. type: verbatim
23777 #: ../fuse/guestmount.pod:53 ../libguestfs-1.11.20/fuse/guestmount.pod:53
23778 #, no-wrap
23779 msgid ""
23780 " guestmount -a guest.img -i --ro /mnt\n"
23781 "\n"
23782 msgstr ""
23783
23784 #. type: textblock
23785 #: ../fuse/guestmount.pod:55 ../libguestfs-1.11.20/fuse/guestmount.pod:55
23786 msgid "For a libvirt guest called \"Guest\" you could do:"
23787 msgstr ""
23788
23789 #. type: verbatim
23790 #: ../fuse/guestmount.pod:57 ../libguestfs-1.11.20/fuse/guestmount.pod:57
23791 #, no-wrap
23792 msgid ""
23793 " guestmount -d Guest -i --ro /mnt\n"
23794 "\n"
23795 msgstr ""
23796
23797 #. type: textblock
23798 #: ../fuse/guestmount.pod:59 ../libguestfs-1.11.20/fuse/guestmount.pod:59
23799 msgid ""
23800 "If you don't know what filesystems are contained in a guest or disk image, "
23801 "use L<virt-filesystems(1)> first:"
23802 msgstr ""
23803
23804 #. type: verbatim
23805 #: ../fuse/guestmount.pod:62 ../libguestfs-1.11.20/fuse/guestmount.pod:62
23806 #, no-wrap
23807 msgid ""
23808 " virt-filesystems MyGuest\n"
23809 "\n"
23810 msgstr ""
23811
23812 #. type: textblock
23813 #: ../fuse/guestmount.pod:64 ../libguestfs-1.11.20/fuse/guestmount.pod:64
23814 msgid ""
23815 "If you want to trace the libguestfs calls but without excessive debugging "
23816 "information, we recommend:"
23817 msgstr ""
23818
23819 #. type: verbatim
23820 #: ../fuse/guestmount.pod:67 ../libguestfs-1.11.20/fuse/guestmount.pod:67
23821 #, no-wrap
23822 msgid ""
23823 " guestmount [...] --trace /mnt\n"
23824 "\n"
23825 msgstr ""
23826
23827 #. type: textblock
23828 #: ../fuse/guestmount.pod:69 ../libguestfs-1.11.20/fuse/guestmount.pod:69
23829 msgid "If you want to debug the program, we recommend:"
23830 msgstr ""
23831
23832 #. type: verbatim
23833 #: ../fuse/guestmount.pod:71 ../libguestfs-1.11.20/fuse/guestmount.pod:71
23834 #, no-wrap
23835 msgid ""
23836 " guestmount [...] --trace --verbose /mnt\n"
23837 "\n"
23838 msgstr ""
23839
23840 #. type: =head1
23841 #: ../fuse/guestmount.pod:73 ../libguestfs-1.11.20/fuse/guestmount.pod:73
23842 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:68
23843 #: ../libguestfs-1.11.20/resize/virt-resize.pod:486
23844 #: ../rescue/virt-rescue.pod:68 ../resize/virt-resize.pod:486
23845 msgid "NOTES"
23846 msgstr ""
23847
23848 #. type: =head2
23849 #: ../fuse/guestmount.pod:75 ../libguestfs-1.11.20/fuse/guestmount.pod:75
23850 msgid "Other users cannot see the filesystem by default"
23851 msgstr ""
23852
23853 #. type: textblock
23854 #: ../fuse/guestmount.pod:77 ../libguestfs-1.11.20/fuse/guestmount.pod:77
23855 msgid ""
23856 "If you mount a filesystem as one user (eg. root), then other users will not "
23857 "be able to see it by default.  The fix is to add the FUSE C<allow_other> "
23858 "option when mounting:"
23859 msgstr ""
23860
23861 #. type: verbatim
23862 #: ../fuse/guestmount.pod:81 ../libguestfs-1.11.20/fuse/guestmount.pod:81
23863 #, no-wrap
23864 msgid ""
23865 " sudo guestmount [...] -o allow_other /mnt\n"
23866 "\n"
23867 msgstr ""
23868
23869 #. type: textblock
23870 #: ../fuse/guestmount.pod:91 ../libguestfs-1.11.20/fuse/guestmount.pod:91
23871 msgid "Add a block device or virtual machine image."
23872 msgstr ""
23873
23874 #. type: =item
23875 #: ../fuse/guestmount.pod:114 ../libguestfs-1.11.20/fuse/guestmount.pod:114
23876 msgid "B<--dir-cache-timeout N>"
23877 msgstr ""
23878
23879 #. type: textblock
23880 #: ../fuse/guestmount.pod:116 ../libguestfs-1.11.20/fuse/guestmount.pod:116
23881 msgid ""
23882 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23883 "seconds.  The readdir cache [actually, there are several semi-independent "
23884 "caches] is populated after a readdir(2) call with the stat and extended "
23885 "attributes of the files in the directory, in anticipation that they will be "
23886 "requested soon after."
23887 msgstr ""
23888
23889 #. type: textblock
23890 #: ../fuse/guestmount.pod:122 ../libguestfs-1.11.20/fuse/guestmount.pod:122
23891 msgid ""
23892 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23893 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23894 "requests, only cache existing ones."
23895 msgstr ""
23896
23897 #. type: textblock
23898 #: ../fuse/guestmount.pod:142 ../libguestfs-1.11.20/fuse/guestmount.pod:142
23899 msgid ""
23900 "If you have untrusted raw-format guest disk images, you should use this "
23901 "option to specify the disk format.  This avoids a possible security problem "
23902 "with malicious guests (CVE-2010-3851).  See also L<guestfs(3)/"
23903 "guestfs_add_drive_opts>."
23904 msgstr ""
23905
23906 #. type: =item
23907 #: ../fuse/guestmount.pod:147 ../libguestfs-1.11.20/fuse/guestmount.pod:147
23908 msgid "B<--fuse-help>"
23909 msgstr ""
23910
23911 #. type: textblock
23912 #: ../fuse/guestmount.pod:149 ../libguestfs-1.11.20/fuse/guestmount.pod:149
23913 msgid "Display help on special FUSE options (see I<-o> below)."
23914 msgstr ""
23915
23916 #. type: textblock
23917 #: ../fuse/guestmount.pod:153 ../libguestfs-1.11.20/fuse/guestmount.pod:153
23918 msgid "Display brief help and exit."
23919 msgstr ""
23920
23921 #. type: textblock
23922 #: ../fuse/guestmount.pod:177 ../libguestfs-1.11.20/fuse/guestmount.pod:177
23923 msgid ""
23924 "Mount the named partition or logical volume on the given mountpoint B<in the "
23925 "guest> (this has nothing to do with mountpoints in the host)."
23926 msgstr ""
23927
23928 #. type: textblock
23929 #: ../fuse/guestmount.pod:180 ../libguestfs-1.11.20/fuse/guestmount.pod:180
23930 msgid ""
23931 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23932 "something on C</>."
23933 msgstr ""
23934
23935 #. type: textblock
23936 #: ../fuse/guestmount.pod:197 ../libguestfs-1.11.20/fuse/guestmount.pod:197
23937 msgid ""
23938 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23939 "unmounted.  If you specify this option, then we don't attempt to sync the "
23940 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23941 msgstr ""
23942
23943 #. type: =item
23944 #: ../fuse/guestmount.pod:202 ../libguestfs-1.11.20/fuse/guestmount.pod:202
23945 msgid "B<-o option>"
23946 msgstr ""
23947
23948 #. type: =item
23949 #: ../fuse/guestmount.pod:204 ../libguestfs-1.11.20/fuse/guestmount.pod:204
23950 msgid "B<--option option>"
23951 msgstr ""
23952
23953 #. type: textblock
23954 #: ../fuse/guestmount.pod:206 ../libguestfs-1.11.20/fuse/guestmount.pod:206
23955 msgid "Pass extra options to FUSE."
23956 msgstr ""
23957
23958 #. type: textblock
23959 #: ../fuse/guestmount.pod:208 ../libguestfs-1.11.20/fuse/guestmount.pod:208
23960 msgid ""
23961 "To get a list of all the extra options supported by FUSE, use the command "
23962 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23963 "of them are a good idea."
23964 msgstr ""
23965
23966 #. type: verbatim
23967 #: ../fuse/guestmount.pod:212 ../libguestfs-1.11.20/fuse/guestmount.pod:212
23968 #, no-wrap
23969 msgid ""
23970 " guestmount --fuse-help\n"
23971 "\n"
23972 msgstr ""
23973
23974 #. type: textblock
23975 #: ../fuse/guestmount.pod:214 ../libguestfs-1.11.20/fuse/guestmount.pod:214
23976 msgid "Some potentially useful FUSE options:"
23977 msgstr ""
23978
23979 #. type: =item
23980 #: ../fuse/guestmount.pod:218 ../libguestfs-1.11.20/fuse/guestmount.pod:218
23981 msgid "B<-o allow_other>"
23982 msgstr ""
23983
23984 #. type: textblock
23985 #: ../fuse/guestmount.pod:220 ../libguestfs-1.11.20/fuse/guestmount.pod:220
23986 msgid "Allow other users to see the filesystem."
23987 msgstr ""
23988
23989 #. type: =item
23990 #: ../fuse/guestmount.pod:222 ../libguestfs-1.11.20/fuse/guestmount.pod:222
23991 msgid "B<-o attr_timeout=N>"
23992 msgstr ""
23993
23994 #. type: textblock
23995 #: ../fuse/guestmount.pod:224 ../libguestfs-1.11.20/fuse/guestmount.pod:224
23996 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23997 msgstr ""
23998
23999 #. type: =item
24000 #: ../fuse/guestmount.pod:226 ../libguestfs-1.11.20/fuse/guestmount.pod:226
24001 msgid "B<-o kernel_cache>"
24002 msgstr ""
24003
24004 #. type: textblock
24005 #: ../fuse/guestmount.pod:228 ../libguestfs-1.11.20/fuse/guestmount.pod:228
24006 msgid ""
24007 "Allow the kernel to cache files (reduces the number of reads that have to go "
24008 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
24009 "afford the extra memory usage."
24010 msgstr ""
24011
24012 #. type: =item
24013 #: ../fuse/guestmount.pod:232 ../libguestfs-1.11.20/fuse/guestmount.pod:232
24014 msgid "B<-o uid=N> B<-o gid=N>"
24015 msgstr ""
24016
24017 #. type: textblock
24018 #: ../fuse/guestmount.pod:234 ../libguestfs-1.11.20/fuse/guestmount.pod:234
24019 msgid ""
24020 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
24021 "the chosen values."
24022 msgstr ""
24023
24024 #. type: textblock
24025 #: ../fuse/guestmount.pod:243 ../libguestfs-1.11.20/fuse/guestmount.pod:243
24026 msgid ""
24027 "Add devices and mount everything read-only.  Also disallow writes and make "
24028 "the disk appear read-only to FUSE."
24029 msgstr ""
24030
24031 #. type: textblock
24032 #: ../fuse/guestmount.pod:246 ../libguestfs-1.11.20/fuse/guestmount.pod:246
24033 msgid ""
24034 "This is highly recommended if you are not going to edit the guest disk.  If "
24035 "the guest is running and this option is I<not> supplied, then there is a "
24036 "strong risk of disk corruption in the guest.  We try to prevent this from "
24037 "happening, but it is not always possible."
24038 msgstr ""
24039
24040 #. type: textblock
24041 #: ../fuse/guestmount.pod:251 ../libguestfs-1.11.20/fuse/guestmount.pod:251
24042 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:171
24043 #: ../rescue/virt-rescue.pod:171
24044 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
24045 msgstr ""
24046
24047 #. type: textblock
24048 #: ../fuse/guestmount.pod:255 ../libguestfs-1.11.20/fuse/guestmount.pod:255
24049 msgid "Enable SELinux support for the guest."
24050 msgstr ""
24051
24052 #. type: textblock
24053 #: ../fuse/guestmount.pod:261 ../libguestfs-1.11.20/fuse/guestmount.pod:261
24054 msgid "Enable verbose messages from underlying libguestfs."
24055 msgstr ""
24056
24057 #. type: textblock
24058 #: ../fuse/guestmount.pod:267 ../libguestfs-1.11.20/fuse/guestmount.pod:267
24059 msgid "Display the program version and exit."
24060 msgstr ""
24061
24062 #. type: textblock
24063 #: ../fuse/guestmount.pod:276 ../fuse/guestmount.pod:299
24064 #: ../libguestfs-1.11.20/fuse/guestmount.pod:276
24065 #: ../libguestfs-1.11.20/fuse/guestmount.pod:299
24066 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:197
24067 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:280
24068 #: ../rescue/virt-rescue.pod:197 ../rescue/virt-rescue.pod:280
24069 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
24070 msgstr ""
24071
24072 #. type: =item
24073 #: ../fuse/guestmount.pod:280 ../libguestfs-1.11.20/fuse/guestmount.pod:280
24074 msgid "B<--trace>"
24075 msgstr ""
24076
24077 #. type: textblock
24078 #: ../fuse/guestmount.pod:282 ../libguestfs-1.11.20/fuse/guestmount.pod:282
24079 msgid "Trace libguestfs calls and entry into each FUSE function."
24080 msgstr ""
24081
24082 #. type: textblock
24083 #: ../fuse/guestmount.pod:284 ../libguestfs-1.11.20/fuse/guestmount.pod:284
24084 msgid "This also stops the daemon from forking into the background."
24085 msgstr ""
24086
24087 #. type: textblock
24088 #: ../fuse/guestmount.pod:305 ../libguestfs-1.11.20/fuse/guestmount.pod:305
24089 msgid ""
24090 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
24091 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
24092 "net/>."
24093 msgstr ""
24094
24095 #. type: textblock
24096 #: ../fuse/guestmount.pod:320 ../libguestfs-1.11.20/fuse/guestmount.pod:320
24097 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
24098 msgstr ""
24099
24100 #. type: textblock
24101 #: ../inspector/virt-inspector.pod:5
24102 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:5
24103 msgid ""
24104 "virt-inspector - Display operating system version and other information "
24105 "about a virtual machine"
24106 msgstr ""
24107
24108 #. type: verbatim
24109 #: ../inspector/virt-inspector.pod:9
24110 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:9
24111 #, no-wrap
24112 msgid ""
24113 " virt-inspector [--options] -d domname\n"
24114 "\n"
24115 msgstr ""
24116
24117 #. type: verbatim
24118 #: ../inspector/virt-inspector.pod:11
24119 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:11
24120 #, no-wrap
24121 msgid ""
24122 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
24123 "\n"
24124 msgstr ""
24125
24126 #. type: verbatim
24127 #: ../inspector/virt-inspector.pod:15
24128 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:15
24129 #, no-wrap
24130 msgid ""
24131 " virt-inspector domname\n"
24132 "\n"
24133 msgstr ""
24134
24135 #. type: verbatim
24136 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141
24137 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:17
24138 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:141
24139 #, no-wrap
24140 msgid ""
24141 " virt-inspector disk.img [disk.img ...]\n"
24142 "\n"
24143 msgstr ""
24144
24145 #. type: textblock
24146 #: ../inspector/virt-inspector.pod:21
24147 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:21
24148 msgid ""
24149 "B<virt-inspector> examines a virtual machine or disk image and tries to "
24150 "determine the version of the operating system and other information about "
24151 "the virtual machine."
24152 msgstr ""
24153
24154 #. type: textblock
24155 #: ../inspector/virt-inspector.pod:25
24156 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:25
24157 msgid "Virt-inspector produces XML output for feeding into other programs."
24158 msgstr ""
24159
24160 #. type: textblock
24161 #: ../inspector/virt-inspector.pod:27
24162 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:27
24163 msgid ""
24164 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
24165 "the libvirt domain (see: C<virsh list --all>)."
24166 msgstr ""
24167
24168 #. type: textblock
24169 #: ../inspector/virt-inspector.pod:30
24170 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:30
24171 msgid ""
24172 "You can also run virt-inspector directly on disk images from a single "
24173 "virtual machine.  Use C<virt-inspector -a disk.img>.  In rare cases a domain "
24174 "has several block devices, in which case you should list several I<-a> "
24175 "options one after another, with the first corresponding to the guest's C</"
24176 "dev/sda>, the second to the guest's C</dev/sdb> and so on."
24177 msgstr ""
24178
24179 #. type: textblock
24180 #: ../inspector/virt-inspector.pod:37
24181 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:37
24182 msgid ""
24183 "You can also run virt-inspector on install disks, live CDs, bootable USB "
24184 "keys and similar."
24185 msgstr ""
24186
24187 #. type: textblock
24188 #: ../inspector/virt-inspector.pod:40
24189 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:40
24190 msgid ""
24191 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
24192 "inspect several virtual machines, you have to run virt-inspector several "
24193 "times (for example, from a shell script for-loop)."
24194 msgstr ""
24195
24196 #. type: textblock
24197 #: ../inspector/virt-inspector.pod:45
24198 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:45
24199 msgid ""
24200 "Because virt-inspector needs direct access to guest images, it won't "
24201 "normally work over remote libvirt connections."
24202 msgstr ""
24203
24204 #. type: textblock
24205 #: ../inspector/virt-inspector.pod:48
24206 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:48
24207 msgid ""
24208 "All of the information available from virt-inspector is also available "
24209 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>).  "
24210 "The same information can also be fetched using guestfish or via libguestfs "
24211 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
24212 "WITH OTHER PROGRAMMING LANGUAGES>)."
24213 msgstr ""
24214
24215 #. type: textblock
24216 #: ../inspector/virt-inspector.pod:81
24217 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:81
24218 msgid ""
24219 "Libvirt is only used if you specify a C<domname> on the command line.  If "
24220 "you specify guest block devices directly (I<-a>), then libvirt is not used "
24221 "at all."
24222 msgstr ""
24223
24224 #. type: textblock
24225 #: ../inspector/virt-inspector.pod:94
24226 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:94
24227 msgid ""
24228 "When prompting for keys and passphrases, virt-inspector normally turns "
24229 "echoing off so you cannot see what you are typing.  If you are not worried "
24230 "about Tempest attacks and there is no one else in the room you can specify "
24231 "this flag to see what you are typing."
24232 msgstr ""
24233
24234 #. type: textblock
24235 #: ../inspector/virt-inspector.pod:103
24236 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:103
24237 #: ../tools/virt-list-filesystems.pl:93 ../tools/virt-list-partitions.pl:94
24238 #: ../tools/virt-tar.pl:143 ../tools/virt-win-reg.pl:144
24239 msgid ""
24240 "Specify the format of disk images given on the command line.  If this is "
24241 "omitted then the format is autodetected from the content of the disk image."
24242 msgstr ""
24243
24244 #. type: textblock
24245 #: ../inspector/virt-inspector.pod:107
24246 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:107
24247 #: ../tools/virt-list-filesystems.pl:97 ../tools/virt-list-partitions.pl:98
24248 #: ../tools/virt-tar.pl:147 ../tools/virt-win-reg.pl:148
24249 msgid ""
24250 "If disk images are requested from libvirt, then this program asks libvirt "
24251 "for this information.  In this case, the value of the format parameter is "
24252 "ignored."
24253 msgstr ""
24254
24255 #. type: textblock
24256 #: ../inspector/virt-inspector.pod:111
24257 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:111
24258 #: ../libguestfs-1.11.20/resize/virt-resize.pod:314
24259 #: ../libguestfs-1.11.20/resize/virt-resize.pod:400
24260 #: ../resize/virt-resize.pod:314 ../resize/virt-resize.pod:400
24261 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
24262 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
24263 msgid ""
24264 "If working with untrusted raw-format guest disk images, you should ensure "
24265 "the format is always specified."
24266 msgstr ""
24267
24268 #. type: textblock
24269 #: ../inspector/virt-inspector.pod:139
24270 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:139
24271 msgid "Previous versions of virt-inspector allowed you to write either:"
24272 msgstr ""
24273
24274 #. type: verbatim
24275 #: ../inspector/virt-inspector.pod:145
24276 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:145
24277 #, no-wrap
24278 msgid ""
24279 " virt-inspector guestname\n"
24280 "\n"
24281 msgstr ""
24282
24283 #. type: =head1
24284 #: ../inspector/virt-inspector.pod:153
24285 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:153
24286 msgid "XML FORMAT"
24287 msgstr ""
24288
24289 #. type: textblock
24290 #: ../inspector/virt-inspector.pod:155
24291 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:155
24292 msgid ""
24293 "The virt-inspector XML is described precisely in a RELAX NG schema file "
24294 "C<virt-inspector.rng> which is supplied with libguestfs.  This section is "
24295 "just an overview."
24296 msgstr ""
24297
24298 #. type: textblock
24299 #: ../inspector/virt-inspector.pod:159
24300 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:159
24301 msgid ""
24302 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
24303 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
24304 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
24305 "which is vanishingly rare in real world VMs."
24306 msgstr ""
24307
24308 #. type: =head2
24309 #: ../inspector/virt-inspector.pod:164
24310 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:164
24311 msgid "E<lt>operatingsystemE<gt>"
24312 msgstr ""
24313
24314 #. type: textblock
24315 #: ../inspector/virt-inspector.pod:166
24316 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:166
24317 msgid ""
24318 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
24319 "describe the operating system, its architecture, the descriptive \"product "
24320 "name\" string, the type of OS and so on, as in this example:"
24321 msgstr ""
24322
24323 #. type: verbatim
24324 #: ../inspector/virt-inspector.pod:170
24325 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:170
24326 #, no-wrap
24327 msgid ""
24328 " <operatingsystems>\n"
24329 "   <operatingsystem>\n"
24330 "     <root>/dev/sda2</root>\n"
24331 "     <name>windows</name>\n"
24332 "     <arch>i386</arch>\n"
24333 "     <distro>windows</distro>\n"
24334 "     <product_name>Windows 7 Enterprise</product_name>\n"
24335 "     <product_variant>Client</product_variant>\n"
24336 "     <major_version>6</major_version>\n"
24337 "     <minor_version>1</minor_version>\n"
24338 "     <windows_systemroot>/Windows</windows_systemroot>\n"
24339 "     <format>installed</format>\n"
24340 "\n"
24341 msgstr ""
24342
24343 #. type: textblock
24344 #: ../inspector/virt-inspector.pod:183
24345 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:183
24346 msgid ""
24347 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
24348 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
24349 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
24350 "architecture.  The other fields are fairly self-explanatory, but because "
24351 "these fields are taken directly from the libguestfs inspection API you can "
24352 "find precise information from L<guestfs(3)/INSPECTION>."
24353 msgstr ""
24354
24355 #. type: textblock
24356 #: ../inspector/virt-inspector.pod:191
24357 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:191
24358 msgid ""
24359 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
24360 "of view of libguestfs (block devices may have completely different names "
24361 "inside the VM itself)."
24362 msgstr ""
24363
24364 #. type: =head2
24365 #: ../inspector/virt-inspector.pod:195
24366 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:195
24367 msgid "E<lt>mountpointsE<gt>"
24368 msgstr ""
24369
24370 #. type: textblock
24371 #: ../inspector/virt-inspector.pod:197
24372 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:197
24373 msgid ""
24374 "Un*x-like guests typically have multiple filesystems which are mounted at "
24375 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
24376 "element which looks like this:"
24377 msgstr ""
24378
24379 #. type: verbatim
24380 #: ../inspector/virt-inspector.pod:201
24381 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:201
24382 #, no-wrap
24383 msgid ""
24384 " <operatingsystems>\n"
24385 "   <operatingsystem>\n"
24386 "     ...\n"
24387 "     <mountpoints>\n"
24388 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
24389 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
24390 "     </mountpoints>\n"
24391 "\n"
24392 msgstr ""
24393
24394 #. type: textblock
24395 #: ../inspector/virt-inspector.pod:209
24396 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:209
24397 msgid ""
24398 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
24399 "and may have completely different names inside the guest.  Only mountable "
24400 "filesystems appear in this list, not things like swap devices."
24401 msgstr ""
24402
24403 #. type: =head2
24404 #: ../inspector/virt-inspector.pod:214
24405 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:214
24406 msgid "E<lt>filesystemsE<gt>"
24407 msgstr ""
24408
24409 #. type: textblock
24410 #: ../inspector/virt-inspector.pod:216
24411 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:216
24412 msgid ""
24413 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
24414 "filesystems belonging to the guest, including swap and empty partitions.  "
24415 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
24416 "this OS or shared with this OS and other OSes)."
24417 msgstr ""
24418
24419 #. type: textblock
24420 #: ../inspector/virt-inspector.pod:222
24421 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:222
24422 msgid "You might see something like this:"
24423 msgstr ""
24424
24425 #. type: verbatim
24426 #: ../inspector/virt-inspector.pod:224
24427 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:224
24428 #, no-wrap
24429 msgid ""
24430 " <operatingsystems>\n"
24431 "   <operatingsystem>\n"
24432 "     ...\n"
24433 "     <filesystems>\n"
24434 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
24435 "         <type>ext4</type>\n"
24436 "         <label>Fedora-13-x86_64</label>\n"
24437 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
24438 "       </filesystem>\n"
24439 "\n"
24440 msgstr ""
24441
24442 #. type: textblock
24443 #: ../inspector/virt-inspector.pod:234
24444 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:234
24445 msgid ""
24446 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
24447 "the label, and the UUID."
24448 msgstr ""
24449
24450 #. type: =head2
24451 #: ../inspector/virt-inspector.pod:237
24452 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:237
24453 msgid "E<lt>applicationsE<gt>"
24454 msgstr ""
24455
24456 #. type: textblock
24457 #: ../inspector/virt-inspector.pod:239
24458 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:239
24459 msgid ""
24460 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
24461 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
24462 "machine."
24463 msgstr ""
24464
24465 #. type: textblock
24466 #: ../inspector/virt-inspector.pod:243
24467 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:243
24468 msgid ""
24469 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
24470 "Typical values would be C<rpm> and C<deb>."
24471 msgstr ""
24472
24473 #. type: textblock
24474 #: ../inspector/virt-inspector.pod:246
24475 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:246
24476 msgid ""
24477 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
24478 "Typical values include C<yum>, C<up2date> and C<apt>"
24479 msgstr ""
24480
24481 #. type: textblock
24482 #: ../inspector/virt-inspector.pod:249
24483 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:249
24484 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
24485 msgstr ""
24486
24487 #. type: verbatim
24488 #: ../inspector/virt-inspector.pod:252
24489 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:252
24490 #, no-wrap
24491 msgid ""
24492 " <operatingsystems>\n"
24493 "   <operatingsystem>\n"
24494 "     ...\n"
24495 "     <applications>\n"
24496 "       <application>\n"
24497 "         <name>coreutils</name>\n"
24498 "         <version>8.5</version>\n"
24499 "         <release>1</release>\n"
24500 "       </application>\n"
24501 "\n"
24502 msgstr ""
24503
24504 #. type: textblock
24505 #: ../inspector/virt-inspector.pod:262
24506 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:262
24507 msgid ""
24508 "The version and release fields may not be available for some types guests.  "
24509 "Other fields are possible, see L<guestfs(3)/"
24510 "guestfs_inspect_list_applications>."
24511 msgstr ""
24512
24513 #. type: =head2
24514 #: ../inspector/virt-inspector.pod:266
24515 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:266
24516 msgid "E<lt>drive_mappingsE<gt>"
24517 msgstr ""
24518
24519 #. type: textblock
24520 #: ../inspector/virt-inspector.pod:268
24521 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:268
24522 msgid ""
24523 "For operating systems like Windows which use drive letters, virt-inspector "
24524 "is able to find out how drive letters map to filesystems."
24525 msgstr ""
24526
24527 #. type: verbatim
24528 #: ../inspector/virt-inspector.pod:272
24529 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:272
24530 #, no-wrap
24531 msgid ""
24532 " <operatingsystems>\n"
24533 "   <operatingsystem>\n"
24534 "     ...\n"
24535 "     <drive_mappings>\n"
24536 "       <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
24537 "       <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
24538 "     </drive_mappings>\n"
24539 "\n"
24540 msgstr ""
24541
24542 #. type: textblock
24543 #: ../inspector/virt-inspector.pod:280
24544 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:280
24545 msgid ""
24546 "In the example above, drive C maps to the filesystem on the second partition "
24547 "on the first disk, and drive E maps to the filesystem on the first partition "
24548 "on the second disk."
24549 msgstr ""
24550
24551 #. type: textblock
24552 #: ../inspector/virt-inspector.pod:284
24553 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:284
24554 msgid ""
24555 "Note that this only covers permanent local filesystem mappings, not things "
24556 "like network shares.  Furthermore NTFS volume mount points may not be listed "
24557 "here."
24558 msgstr ""
24559
24560 #. type: =head2
24561 #: ../inspector/virt-inspector.pod:288
24562 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:288
24563 msgid "E<lt>iconE<gt>"
24564 msgstr ""
24565
24566 #. type: textblock
24567 #: ../inspector/virt-inspector.pod:290
24568 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:290
24569 msgid ""
24570 "Virt-inspector is sometimes able to extract an icon or logo for the guest.  "
24571 "The icon is returned as base64-encoded PNG data.  Note that the icon can be "
24572 "very large and high quality."
24573 msgstr ""
24574
24575 #. type: verbatim
24576 #: ../inspector/virt-inspector.pod:294
24577 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:294
24578 #, no-wrap
24579 msgid ""
24580 " <operatingsystems>\n"
24581 "   <operatingsystem>\n"
24582 "     ...\n"
24583 "     <icon>\n"
24584 "       iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
24585 "       [... many lines of base64 data ...]\n"
24586 "     </icon>\n"
24587 "\n"
24588 msgstr ""
24589
24590 #. type: textblock
24591 #: ../inspector/virt-inspector.pod:302
24592 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:302
24593 msgid ""
24594 "To display the icon, you have to extract it and convert the base64 data back "
24595 "to a binary file.  Use an XPath query or simply an editor to extract the "
24596 "data, then use the coreutils L<base64(1)> program to do the conversion back "
24597 "to a PNG file:"
24598 msgstr ""
24599
24600 #. type: verbatim
24601 #: ../inspector/virt-inspector.pod:307
24602 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:307
24603 #, no-wrap
24604 msgid ""
24605 " base64 -i -d < icon.data > icon.png\n"
24606 "\n"
24607 msgstr ""
24608
24609 #. type: =head2
24610 #: ../inspector/virt-inspector.pod:309
24611 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:309
24612 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
24613 msgstr ""
24614
24615 #. type: textblock
24616 #: ../inspector/virt-inspector.pod:311
24617 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:311
24618 msgid ""
24619 "Virt-inspector can detect some operating system installers on install disks, "
24620 "live CDs, bootable USB keys and more."
24621 msgstr ""
24622
24623 #. type: textblock
24624 #: ../inspector/virt-inspector.pod:314
24625 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:314
24626 msgid ""
24627 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
24628 "fields may be present to indicate a live CD, network installer, or one part "
24629 "of a multipart CD.  For example:"
24630 msgstr ""
24631
24632 #. type: verbatim
24633 #: ../inspector/virt-inspector.pod:318
24634 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:318
24635 #, no-wrap
24636 msgid ""
24637 " <operatingsystems>\n"
24638 "   <operatingsystem>\n"
24639 "     <root>/dev/sda</root>\n"
24640 "     <name>linux</name>\n"
24641 "     <arch>i386</arch>\n"
24642 "     <distro>ubuntu</distro>\n"
24643 "     <product_name>Ubuntu 10.10 &quot;Maverick Meerkat&quot;</product_name>\n"
24644 "     <major_version>10</major_version>\n"
24645 "     <minor_version>10</minor_version>\n"
24646 "     <format>installer</format>\n"
24647 "     <live/>\n"
24648 "\n"
24649 msgstr ""
24650
24651 #. type: =head1
24652 #: ../inspector/virt-inspector.pod:330
24653 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:330
24654 msgid "USING XPATH"
24655 msgstr ""
24656
24657 #. type: textblock
24658 #: ../inspector/virt-inspector.pod:332
24659 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:332
24660 msgid ""
24661 "You can use the XPath query language, and/or the xpath tool, in order to "
24662 "select parts of the XML."
24663 msgstr ""
24664
24665 #. type: verbatim
24666 #: ../inspector/virt-inspector.pod:337
24667 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:337
24668 #, no-wrap
24669 msgid ""
24670 " $ virt-inspector -d Guest | xpath //filesystems\n"
24671 " Found 1 nodes:\n"
24672 " -- NODE --\n"
24673 " <filesystems>\n"
24674 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
24675 "        <type>ext4</type>\n"
24676 " [etc]\n"
24677 "\n"
24678 msgstr ""
24679
24680 #. type: verbatim
24681 #: ../inspector/virt-inspector.pod:345
24682 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:345
24683 #, no-wrap
24684 msgid ""
24685 " $ virt-inspector -d Guest | \\\n"
24686 "     xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
24687 " Query didn't return a nodeset. Value: ext4\n"
24688 "\n"
24689 msgstr ""
24690
24691 #. type: =head1
24692 #: ../inspector/virt-inspector.pod:356
24693 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:356
24694 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
24695 msgstr ""
24696
24697 #. type: textblock
24698 #: ../inspector/virt-inspector.pod:358
24699 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:358
24700 msgid ""
24701 "Early versions of libguestfs shipped with a different virt-inspector program "
24702 "written in Perl (the current version is written in C).  The XML output of "
24703 "the Perl virt-inspector was different and it could also output in other "
24704 "formats like text."
24705 msgstr ""
24706
24707 #. type: textblock
24708 #: ../inspector/virt-inspector.pod:363
24709 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:363
24710 msgid ""
24711 "The old virt-inspector is no longer supported or shipped with libguestfs."
24712 msgstr ""
24713
24714 #. type: textblock
24715 #: ../inspector/virt-inspector.pod:366
24716 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:366
24717 msgid ""
24718 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
24719 "versions of virt-inspector with different names:"
24720 msgstr ""
24721
24722 #. type: verbatim
24723 #: ../inspector/virt-inspector.pod:369
24724 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:369
24725 #, no-wrap
24726 msgid ""
24727 " virt-inspector     Old Perl version.\n"
24728 " virt-inspector2    New C version.\n"
24729 "\n"
24730 msgstr ""
24731
24732 #. type: textblock
24733 #: ../inspector/virt-inspector.pod:374
24734 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:374
24735 msgid ""
24736 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
24737 ">, L<http://libguestfs.org/>."
24738 msgstr ""
24739
24740 #. type: textblock
24741 #: ../inspector/virt-inspector.pod:390
24742 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:390
24743 msgid "Matthew Booth L<mbooth@redhat.com>"
24744 msgstr ""
24745
24746 #. type: textblock
24747 #: ../java/examples/guestfs-java.pod:5
24748 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:5
24749 msgid "guestfs-java - How to use libguestfs from Java"
24750 msgstr ""
24751
24752 #. type: verbatim
24753 #: ../java/examples/guestfs-java.pod:9
24754 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:9
24755 #, no-wrap
24756 msgid ""
24757 " import com.redhat.et.libguestfs.*;\n"
24758 " \n"
24759 msgstr ""
24760
24761 #. type: verbatim
24762 #: ../java/examples/guestfs-java.pod:11
24763 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:11
24764 #, no-wrap
24765 msgid ""
24766 " GuestFS g = new GuestFS ();\n"
24767 " g.add_drive_opts (\"disk.img\", null);\n"
24768 " g.launch ();\n"
24769 "\n"
24770 msgstr ""
24771
24772 #. type: textblock
24773 #: ../java/examples/guestfs-java.pod:17
24774 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:17
24775 msgid ""
24776 "This manual page documents how to call libguestfs from the Java programming "
24777 "language.  This page just documents the differences from the C API and gives "
24778 "some examples.  If you are not familiar with using libguestfs, you also need "
24779 "to read L<guestfs(3)>."
24780 msgstr ""
24781
24782 #. type: =head2
24783 #: ../java/examples/guestfs-java.pod:22
24784 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:22
24785 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:53
24786 #: ../ocaml/examples/guestfs-ocaml.pod:53
24787 msgid "CLOSING THE HANDLE"
24788 msgstr ""
24789
24790 #. type: textblock
24791 #: ../java/examples/guestfs-java.pod:24
24792 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:24
24793 msgid ""
24794 "The handle is closed when it is reaped by the garbage collector.  Because "
24795 "libguestfs handles include a lot of state, it is also possible to close (and "
24796 "hence free) them explicitly by calling the C<close> method."
24797 msgstr ""
24798
24799 #. type: =head2
24800 #: ../java/examples/guestfs-java.pod:29
24801 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:29
24802 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:60
24803 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:21
24804 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:22
24805 #: ../ocaml/examples/guestfs-ocaml.pod:60
24806 #: ../python/examples/guestfs-python.pod:21
24807 #: ../ruby/examples/guestfs-ruby.pod:22
24808 msgid "EXCEPTIONS"
24809 msgstr ""
24810
24811 #. type: textblock
24812 #: ../java/examples/guestfs-java.pod:31
24813 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:31
24814 msgid ""
24815 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
24816 "exception.  This has a single parameter which is the error message (a "
24817 "C<String>)."
24818 msgstr ""
24819
24820 #. type: textblock
24821 #: ../java/examples/guestfs-java.pod:35
24822 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:35
24823 msgid "Calling any method on a closed handle raises the same exception."
24824 msgstr ""
24825
24826 #. type: textblock
24827 #: ../java/examples/guestfs-java.pod:47
24828 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:47
24829 msgid ""
24830 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)"
24831 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
24832 "libguestfs.org/>, L<http://caml.inria.fr/>."
24833 msgstr ""
24834
24835 #. type: textblock
24836 #: ../java/examples/guestfs-java.pod:63
24837 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:63
24838 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:57
24839 #: ../perl/examples/guestfs-perl.pod:57
24840 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
24841 msgstr ""
24842
24843 #. type: textblock
24844 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:5
24845 #: ../ocaml/examples/guestfs-ocaml.pod:5
24846 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
24847 msgstr ""
24848
24849 #. type: textblock
24850 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:9
24851 #: ../ocaml/examples/guestfs-ocaml.pod:9
24852 msgid "Module style:"
24853 msgstr ""
24854
24855 #. type: verbatim
24856 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:11
24857 #: ../ocaml/examples/guestfs-ocaml.pod:11
24858 #, no-wrap
24859 msgid ""
24860 " let g = Guestfs.create () in\n"
24861 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
24862 " Guestfs.launch g;\n"
24863 "\n"
24864 msgstr ""
24865
24866 #. type: textblock
24867 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:15
24868 #: ../ocaml/examples/guestfs-ocaml.pod:15
24869 msgid "Object-oriented style:"
24870 msgstr ""
24871
24872 #. type: verbatim
24873 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:17
24874 #: ../ocaml/examples/guestfs-ocaml.pod:17
24875 #, no-wrap
24876 msgid ""
24877 " let g = new Guestfs.guestfs () in\n"
24878 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
24879 " g#launch ();\n"
24880 "\n"
24881 msgstr ""
24882
24883 #. type: verbatim
24884 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:21
24885 #: ../ocaml/examples/guestfs-ocaml.pod:21
24886 #, no-wrap
24887 msgid ""
24888 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
24889 "or:\n"
24890 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
24891 "\n"
24892 msgstr ""
24893
24894 #. type: textblock
24895 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:27
24896 #: ../ocaml/examples/guestfs-ocaml.pod:27
24897 msgid ""
24898 "This manual page documents how to call libguestfs from the OCaml programming "
24899 "language.  This page just documents the differences from the C API and gives "
24900 "some examples.  If you are not familiar with using libguestfs, you also need "
24901 "to read L<guestfs(3)>."
24902 msgstr ""
24903
24904 #. type: =head2
24905 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:32
24906 #: ../ocaml/examples/guestfs-ocaml.pod:32
24907 msgid "PROGRAMMING STYLES"
24908 msgstr ""
24909
24910 #. type: textblock
24911 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:34
24912 #: ../ocaml/examples/guestfs-ocaml.pod:34
24913 msgid ""
24914 "There are two different programming styles supported by the OCaml bindings.  "
24915 "You can use a module style, with each C function mapped to an OCaml function:"
24916 msgstr ""
24917
24918 #. type: verbatim
24919 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:38
24920 #: ../ocaml/examples/guestfs-ocaml.pod:38
24921 #, no-wrap
24922 msgid ""
24923 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
24924 "\n"
24925 msgstr ""
24926
24927 #. type: textblock
24928 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:40
24929 #: ../ocaml/examples/guestfs-ocaml.pod:40
24930 msgid "becomes:"
24931 msgstr ""
24932
24933 #. type: verbatim
24934 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:42
24935 #: ../ocaml/examples/guestfs-ocaml.pod:42
24936 #, no-wrap
24937 msgid ""
24938 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
24939 "\n"
24940 msgstr ""
24941
24942 #. type: textblock
24943 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:44
24944 #: ../ocaml/examples/guestfs-ocaml.pod:44
24945 msgid ""
24946 "Alternately you can use an object-oriented style, calling methods on the "
24947 "class C<Guestfs.guestfs>:"
24948 msgstr ""
24949
24950 #. type: verbatim
24951 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:47
24952 #: ../ocaml/examples/guestfs-ocaml.pod:47
24953 #, no-wrap
24954 msgid ""
24955 " method set_verbose : bool -> unit\n"
24956 "\n"
24957 msgstr ""
24958
24959 #. type: textblock
24960 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:49
24961 #: ../ocaml/examples/guestfs-ocaml.pod:49
24962 msgid ""
24963 "The object-oriented style is usually briefer, and the minor performance "
24964 "penalty isn't noticable in the general overhead of performing libguestfs "
24965 "functions."
24966 msgstr ""
24967
24968 #. type: textblock
24969 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:55
24970 #: ../ocaml/examples/guestfs-ocaml.pod:55
24971 msgid ""
24972 "The handle is closed when it is reaped by the garbage collector.  Because "
24973 "libguestfs handles include a lot of state, it is also possible to close (and "
24974 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
24975 "method."
24976 msgstr ""
24977
24978 #. type: textblock
24979 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:62
24980 #: ../ocaml/examples/guestfs-ocaml.pod:62
24981 msgid ""
24982 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
24983 "exception.  This has a single parameter which is the error message (a "
24984 "string)."
24985 msgstr ""
24986
24987 #. type: textblock
24988 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:66
24989 #: ../ocaml/examples/guestfs-ocaml.pod:66
24990 msgid ""
24991 "Calling any function/method on a closed handle raises C<Guestfs."
24992 "Handle_closed>.  The single parameter is the name of the function that you "
24993 "called."
24994 msgstr ""
24995
24996 #. type: textblock
24997 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:80
24998 #: ../ocaml/examples/guestfs-ocaml.pod:80
24999 msgid ""
25000 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-perl(3)"
25001 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
25002 "libguestfs.org/>, L<http://caml.inria.fr/>."
25003 msgstr ""
25004
25005 #. type: textblock
25006 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:5
25007 #: ../perl/examples/guestfs-perl.pod:5
25008 msgid "guestfs-perl - How to use libguestfs from Perl"
25009 msgstr ""
25010
25011 #. type: verbatim
25012 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:9
25013 #: ../perl/examples/guestfs-perl.pod:9
25014 #, no-wrap
25015 msgid ""
25016 " use Sys::Guestfs;\n"
25017 " \n"
25018 msgstr ""
25019
25020 #. type: verbatim
25021 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:11
25022 #: ../perl/examples/guestfs-perl.pod:11
25023 #, no-wrap
25024 msgid ""
25025 " my $h = Sys::Guestfs->new ();\n"
25026 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
25027 " $h->launch ();\n"
25028 " $h->mount_options ('', '/dev/sda1', '/');\n"
25029 " $h->touch ('/hello');\n"
25030 " $h->sync ();\n"
25031 "\n"
25032 msgstr ""
25033
25034 #. type: textblock
25035 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:20
25036 #: ../perl/examples/guestfs-perl.pod:20
25037 msgid ""
25038 "This manual page documents how to call libguestfs from the Perl programming "
25039 "language.  This page just documents the differences from the C API and gives "
25040 "some examples.  If you are not familiar with using libguestfs, you also need "
25041 "to read L<guestfs(3)>.  To read the full Perl API, see L<Sys::Guestfs(3)>."
25042 msgstr ""
25043
25044 #. type: =head2
25045 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:26
25046 #: ../perl/examples/guestfs-perl.pod:26
25047 msgid "ERRORS"
25048 msgstr ""
25049
25050 #. type: textblock
25051 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:28
25052 #: ../perl/examples/guestfs-perl.pod:28
25053 msgid ""
25054 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
25055 ">)."
25056 msgstr ""
25057
25058 #. type: textblock
25059 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:41
25060 #: ../perl/examples/guestfs-perl.pod:41
25061 msgid ""
25062 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)"
25063 ">, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
25064 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
25065 msgstr ""
25066
25067 #. type: textblock
25068 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:5
25069 #: ../python/examples/guestfs-python.pod:5
25070 msgid "guestfs-python - How to use libguestfs from Python"
25071 msgstr ""
25072
25073 #. type: verbatim
25074 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:9
25075 #: ../python/examples/guestfs-python.pod:9
25076 #, no-wrap
25077 msgid ""
25078 " import guestfs\n"
25079 " g = guestfs.GuestFS ()\n"
25080 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
25081 " g.launch\n"
25082 "\n"
25083 msgstr ""
25084
25085 #. type: textblock
25086 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:16
25087 #: ../python/examples/guestfs-python.pod:16
25088 msgid ""
25089 "This manual page documents how to call libguestfs from the Python "
25090 "programming language.  This page just documents the differences from the C "
25091 "API and gives some examples.  If you are not familiar with using libguestfs, "
25092 "you also need to read L<guestfs(3)>."
25093 msgstr ""
25094
25095 #. type: textblock
25096 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:23
25097 #: ../python/examples/guestfs-python.pod:23
25098 msgid ""
25099 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
25100 "single string argument which is the error message."
25101 msgstr ""
25102
25103 #. type: =head2
25104 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:26
25105 #: ../python/examples/guestfs-python.pod:26
25106 msgid "MORE DOCUMENTATION"
25107 msgstr ""
25108
25109 #. type: textblock
25110 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:28
25111 #: ../python/examples/guestfs-python.pod:28
25112 msgid "Type:"
25113 msgstr ""
25114
25115 #. type: verbatim
25116 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:30
25117 #: ../python/examples/guestfs-python.pod:30
25118 #, no-wrap
25119 msgid ""
25120 " $ python\n"
25121 " >>> import guestfs\n"
25122 " >>> help (guestfs)\n"
25123 "\n"
25124 msgstr ""
25125
25126 #. type: textblock
25127 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:44
25128 #: ../python/examples/guestfs-python.pod:44
25129 msgid ""
25130 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
25131 ">, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
25132 "libguestfs.org/>."
25133 msgstr ""
25134
25135 #. type: textblock
25136 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:5 ../rescue/virt-rescue.pod:5
25137 msgid "virt-rescue - Run a rescue shell on a virtual machine"
25138 msgstr ""
25139
25140 #. type: verbatim
25141 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:9 ../rescue/virt-rescue.pod:9
25142 #, no-wrap
25143 msgid ""
25144 " virt-rescue [--options] -d domname\n"
25145 "\n"
25146 msgstr ""
25147
25148 #. type: verbatim
25149 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:11
25150 #: ../rescue/virt-rescue.pod:11
25151 #, no-wrap
25152 msgid ""
25153 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
25154 "\n"
25155 msgstr ""
25156
25157 #. type: verbatim
25158 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:15
25159 #: ../rescue/virt-rescue.pod:15
25160 #, no-wrap
25161 msgid ""
25162 " virt-rescue [--options] domname\n"
25163 "\n"
25164 msgstr ""
25165
25166 #. type: verbatim
25167 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:17
25168 #: ../rescue/virt-rescue.pod:17
25169 #, no-wrap
25170 msgid ""
25171 " virt-rescue [--options] disk.img [disk.img ...]\n"
25172 "\n"
25173 msgstr ""
25174
25175 #. type: textblock
25176 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:21
25177 #: ../rescue/virt-rescue.pod:21
25178 msgid ""
25179 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
25180 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
25181 "you from doing this, but doesn't catch all cases."
25182 msgstr ""
25183
25184 #. type: textblock
25185 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:25
25186 #: ../rescue/virt-rescue.pod:25
25187 msgid ""
25188 "However if you use the I<--ro> (read only) option, then you can attach a "
25189 "shell to a live virtual machine.  The results might be strange or "
25190 "inconsistent at times but you won't get disk corruption."
25191 msgstr ""
25192
25193 #. type: textblock
25194 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:31
25195 #: ../rescue/virt-rescue.pod:31
25196 msgid ""
25197 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
25198 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
25199 "recovery tools which you can use to examine or rescue a virtual machine or "
25200 "disk image."
25201 msgstr ""
25202
25203 #. type: textblock
25204 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:36
25205 #: ../rescue/virt-rescue.pod:36
25206 msgid ""
25207 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
25208 "on disk image(s):"
25209 msgstr ""
25210
25211 #. type: verbatim
25212 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:39
25213 #: ../rescue/virt-rescue.pod:39
25214 #, no-wrap
25215 msgid ""
25216 " virt-rescue -d GuestName\n"
25217 "\n"
25218 msgstr ""
25219
25220 #. type: verbatim
25221 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:41
25222 #: ../rescue/virt-rescue.pod:41
25223 #, no-wrap
25224 msgid ""
25225 " virt-rescue --ro -a /path/to/disk.img\n"
25226 "\n"
25227 msgstr ""
25228
25229 #. type: verbatim
25230 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:43
25231 #: ../rescue/virt-rescue.pod:43
25232 #, no-wrap
25233 msgid ""
25234 " virt-rescue -a /dev/sdc\n"
25235 "\n"
25236 msgstr ""
25237
25238 #. type: textblock
25239 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:45
25240 #: ../rescue/virt-rescue.pod:45
25241 msgid "For live VMs you I<must> use the --ro option."
25242 msgstr ""
25243
25244 #. type: textblock
25245 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:47
25246 #: ../rescue/virt-rescue.pod:47
25247 msgid ""
25248 "When you run virt-rescue on a virtual machine or disk image, you are placed "
25249 "in an interactive bash shell where you can use many ordinary Linux "
25250 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
25251 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
25252 "is an empty directory called C</sysroot> where you can mount filesystems."
25253 msgstr ""
25254
25255 #. type: textblock
25256 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:54
25257 #: ../rescue/virt-rescue.pod:54
25258 msgid ""
25259 "In the example below, we list logical volumes, then choose one to mount "
25260 "under C</sysroot>:"
25261 msgstr ""
25262
25263 #. type: verbatim
25264 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:57
25265 #: ../rescue/virt-rescue.pod:57
25266 #, no-wrap
25267 msgid ""
25268 " ><rescue> lvs\n"
25269 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
25270 " lv_root vg_f11x64 -wi-a-   8.83G\n"
25271 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
25272 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
25273 " ><rescue> ls /sysroot\n"
25274 "\n"
25275 msgstr ""
25276
25277 #. type: textblock
25278 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:64
25279 #: ../rescue/virt-rescue.pod:64
25280 msgid ""
25281 "If you don't know what filesystems are available on the virtual machine then "
25282 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
25283 msgstr ""
25284
25285 #. type: textblock
25286 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:70
25287 #: ../rescue/virt-rescue.pod:70
25288 msgid ""
25289 "Virt-rescue can be used on I<any> disk image file or device, not just a "
25290 "virtual machine.  For example you can use it on a blank file if you want to "
25291 "partition that file (although we would recommend using L<guestfish(1)> "
25292 "instead as it is more suitable for this purpose).  You can even use virt-"
25293 "rescue on things like SD cards."
25294 msgstr ""
25295
25296 #. type: textblock
25297 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:76
25298 #: ../rescue/virt-rescue.pod:76
25299 msgid ""
25300 "Virt-rescue does not require root.  You only need to run it as root if you "
25301 "need root to open the disk image."
25302 msgstr ""
25303
25304 #. type: textblock
25305 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:79
25306 #: ../rescue/virt-rescue.pod:79
25307 msgid ""
25308 "This tool is just designed for quick interactive hacking on a virtual "
25309 "machine.  For more structured access to a virtual machine disk image, you "
25310 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
25311 "make scripted changes to guests, use L<guestfish(1)>."
25312 msgstr ""
25313
25314 #. type: =item
25315 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:103
25316 #: ../rescue/virt-rescue.pod:103
25317 msgid "B<--append kernelopts>"
25318 msgstr ""
25319
25320 #. type: textblock
25321 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:105
25322 #: ../rescue/virt-rescue.pod:105
25323 msgid "Pass additional options to the rescue kernel."
25324 msgstr ""
25325
25326 #. type: verbatim
25327 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:135
25328 #: ../rescue/virt-rescue.pod:135
25329 #, no-wrap
25330 msgid ""
25331 " virt-rescue --format=raw -a disk.img\n"
25332 "\n"
25333 msgstr ""
25334
25335 #. type: verbatim
25336 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:139
25337 #: ../rescue/virt-rescue.pod:139
25338 #, no-wrap
25339 msgid ""
25340 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
25341 "\n"
25342 msgstr ""
25343
25344 #. type: =item
25345 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:148
25346 #: ../rescue/virt-rescue.pod:148
25347 msgid "B<-m MB>"
25348 msgstr ""
25349
25350 #. type: =item
25351 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:150
25352 #: ../rescue/virt-rescue.pod:150
25353 msgid "B<--memsize MB>"
25354 msgstr ""
25355
25356 #. type: textblock
25357 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:152
25358 #: ../rescue/virt-rescue.pod:152
25359 msgid ""
25360 "Change the amount of memory allocated to the rescue system.  The default is "
25361 "set by libguestfs and is small but adequate for running system tools.  The "
25362 "occasional program might need more memory.  The parameter is specified in "
25363 "megabytes."
25364 msgstr ""
25365
25366 #. type: =item
25367 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:157
25368 #: ../rescue/virt-rescue.pod:157
25369 msgid "B<--network>"
25370 msgstr ""
25371
25372 #. type: textblock
25373 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:159
25374 #: ../rescue/virt-rescue.pod:159
25375 msgid "Enable QEMU user networking in the guest.  See L</NETWORK>."
25376 msgstr ""
25377
25378 #. type: textblock
25379 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:165
25380 #: ../rescue/virt-rescue.pod:165
25381 msgid "Open the image read-only."
25382 msgstr ""
25383
25384 #. type: textblock
25385 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:175
25386 #: ../rescue/virt-rescue.pod:175
25387 msgid ""
25388 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
25389 "SELINUX> before using this option."
25390 msgstr ""
25391
25392 #. type: textblock
25393 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:194
25394 #: ../rescue/virt-rescue.pod:194
25395 msgid ""
25396 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
25397 "are done read-write."
25398 msgstr ""
25399
25400 #. type: textblock
25401 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:207
25402 #: ../rescue/virt-rescue.pod:207
25403 msgid "Previous versions of virt-rescue allowed you to write either:"
25404 msgstr ""
25405
25406 #. type: verbatim
25407 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:209
25408 #: ../rescue/virt-rescue.pod:209
25409 #, no-wrap
25410 msgid ""
25411 " virt-rescue disk.img [disk.img ...]\n"
25412 "\n"
25413 msgstr ""
25414
25415 #. type: verbatim
25416 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:213
25417 #: ../rescue/virt-rescue.pod:213
25418 #, no-wrap
25419 msgid ""
25420 " virt-rescue guestname\n"
25421 "\n"
25422 msgstr ""
25423
25424 #. type: =head1
25425 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:221
25426 #: ../rescue/virt-rescue.pod:221
25427 msgid "NETWORK"
25428 msgstr ""
25429
25430 #. type: textblock
25431 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:223
25432 #: ../rescue/virt-rescue.pod:223
25433 msgid ""
25434 "Adding the I<--network> option enables QEMU user networking in the rescue "
25435 "appliance.  There are some differences between user networking and ordinary "
25436 "networking:"
25437 msgstr ""
25438
25439 #. type: =item
25440 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:229
25441 #: ../rescue/virt-rescue.pod:229
25442 msgid "ping does not work"
25443 msgstr ""
25444
25445 #. type: textblock
25446 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:231
25447 #: ../rescue/virt-rescue.pod:231
25448 msgid ""
25449 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
25450 "send the ping packets, and because virt-rescue must be able to run as non-"
25451 "root, QEMU user networking is not able to emulate the L<ping(8)> command.  "
25452 "The ping command will appear to resolve addresses but will not be able to "
25453 "send or receive any packets.  This does not mean that the network is not "
25454 "working."
25455 msgstr ""
25456
25457 #. type: =item
25458 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:238
25459 #: ../rescue/virt-rescue.pod:238
25460 msgid "cannot receive connections"
25461 msgstr ""
25462
25463 #. type: textblock
25464 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:240
25465 #: ../rescue/virt-rescue.pod:240
25466 msgid "QEMU user networking cannot receive incoming connections."
25467 msgstr ""
25468
25469 #. type: =item
25470 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:242
25471 #: ../rescue/virt-rescue.pod:242
25472 msgid "making TCP connections"
25473 msgstr ""
25474
25475 #. type: textblock
25476 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:244
25477 #: ../rescue/virt-rescue.pod:244
25478 msgid ""
25479 "The virt-rescue appliance needs to be small and so does not include many "
25480 "network tools.  In particular there is no L<telnet(1)> command.  You can "
25481 "make TCP connections from the shell using the magical C</dev/tcp/"
25482 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
25483 msgstr ""
25484
25485 #. type: verbatim
25486 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:249
25487 #: ../rescue/virt-rescue.pod:249
25488 #, no-wrap
25489 msgid ""
25490 " exec 3<>/dev/tcp/redhat.com/80\n"
25491 " echo \"GET /\" >&3\n"
25492 " cat <&3\n"
25493 "\n"
25494 msgstr ""
25495
25496 #. type: textblock
25497 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:253
25498 #: ../rescue/virt-rescue.pod:253
25499 msgid "See L<bash(1)> for more details."
25500 msgstr ""
25501
25502 #. type: textblock
25503 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:259
25504 #: ../rescue/virt-rescue.pod:259
25505 msgid ""
25506 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
25507 "ENVIRONMENT VARIABLES> for the complete list."
25508 msgstr ""
25509
25510 #. type: textblock
25511 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:286
25512 #: ../rescue/virt-rescue.pod:286
25513 msgid ""
25514 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<http://"
25515 "libguestfs.org/>."
25516 msgstr ""
25517
25518 #. type: textblock
25519 #: ../libguestfs-1.11.20/resize/virt-resize.pod:5 ../resize/virt-resize.pod:5
25520 msgid "virt-resize - Resize a virtual machine disk"
25521 msgstr ""
25522
25523 #. type: verbatim
25524 #: ../libguestfs-1.11.20/resize/virt-resize.pod:9 ../resize/virt-resize.pod:9
25525 #, no-wrap
25526 msgid ""
25527 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
25528 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
25529 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
25530 "\n"
25531 msgstr ""
25532
25533 #. type: textblock
25534 #: ../libguestfs-1.11.20/resize/virt-resize.pod:15
25535 #: ../resize/virt-resize.pod:15
25536 msgid ""
25537 "Virt-resize is a tool which can resize a virtual machine disk, making it "
25538 "larger or smaller overall, and resizing or deleting any partitions contained "
25539 "within."
25540 msgstr ""
25541
25542 #. type: textblock
25543 #: ../libguestfs-1.11.20/resize/virt-resize.pod:19
25544 #: ../resize/virt-resize.pod:19
25545 msgid ""
25546 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
25547 "not> be used on live virtual machines - for consistent results, shut the "
25548 "virtual machine down before resizing it."
25549 msgstr ""
25550
25551 #. type: textblock
25552 #: ../libguestfs-1.11.20/resize/virt-resize.pod:23
25553 #: ../resize/virt-resize.pod:23
25554 msgid ""
25555 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
25556 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
25557 msgstr ""
25558
25559 #. type: =item
25560 #: ../libguestfs-1.11.20/resize/virt-resize.pod:31
25561 #: ../libguestfs-1.11.20/src/guestfs.pod:469
25562 #: ../libguestfs-1.11.20/src/guestfs.pod:1257
25563 #: ../libguestfs-1.11.20/src/guestfs.pod:1395
25564 #: ../libguestfs-1.11.20/src/guestfs.pod:2465 ../resize/virt-resize.pod:31
25565 #: ../src/guestfs.pod:469 ../src/guestfs.pod:1257 ../src/guestfs.pod:1395
25566 #: ../src/guestfs.pod:2465
25567 msgid "1."
25568 msgstr ""
25569
25570 #. type: textblock
25571 #: ../libguestfs-1.11.20/resize/virt-resize.pod:33
25572 #: ../resize/virt-resize.pod:33
25573 msgid ""
25574 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25575 "fill the extra 5GB of space."
25576 msgstr ""
25577
25578 #. type: verbatim
25579 #: ../libguestfs-1.11.20/resize/virt-resize.pod:36
25580 #: ../resize/virt-resize.pod:36
25581 #, no-wrap
25582 msgid ""
25583 " virt-filesystems --long -h --all -a olddisk\n"
25584 " \n"
25585 msgstr ""
25586
25587 #. type: verbatim
25588 #: ../libguestfs-1.11.20/resize/virt-resize.pod:38
25589 #: ../resize/virt-resize.pod:38
25590 #, no-wrap
25591 msgid ""
25592 " truncate -r olddisk newdisk\n"
25593 " truncate -s +5G newdisk\n"
25594 " \n"
25595 msgstr ""
25596
25597 #. type: verbatim
25598 #: ../libguestfs-1.11.20/resize/virt-resize.pod:41
25599 #: ../resize/virt-resize.pod:41
25600 #, no-wrap
25601 msgid ""
25602 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25603 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25604 "\n"
25605 msgstr ""
25606
25607 #. type: =item
25608 #: ../libguestfs-1.11.20/resize/virt-resize.pod:44
25609 #: ../libguestfs-1.11.20/src/guestfs.pod:475
25610 #: ../libguestfs-1.11.20/src/guestfs.pod:1261
25611 #: ../libguestfs-1.11.20/src/guestfs.pod:1399
25612 #: ../libguestfs-1.11.20/src/guestfs.pod:2490 ../resize/virt-resize.pod:44
25613 #: ../src/guestfs.pod:475 ../src/guestfs.pod:1261 ../src/guestfs.pod:1399
25614 #: ../src/guestfs.pod:2490
25615 msgid "2."
25616 msgstr ""
25617
25618 #. type: textblock
25619 #: ../libguestfs-1.11.20/resize/virt-resize.pod:46
25620 #: ../resize/virt-resize.pod:46
25621 msgid ""
25622 "As above, but make the /boot partition 200MB bigger, while giving the "
25623 "remaining space to /dev/sda2:"
25624 msgstr ""
25625
25626 #. type: verbatim
25627 #: ../libguestfs-1.11.20/resize/virt-resize.pod:49
25628 #: ../resize/virt-resize.pod:49
25629 #, no-wrap
25630 msgid ""
25631 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25632 "   olddisk newdisk\n"
25633 "\n"
25634 msgstr ""
25635
25636 #. type: =item
25637 #: ../libguestfs-1.11.20/resize/virt-resize.pod:52
25638 #: ../libguestfs-1.11.20/src/guestfs.pod:486
25639 #: ../libguestfs-1.11.20/src/guestfs.pod:1405 ../resize/virt-resize.pod:52
25640 #: ../src/guestfs.pod:486 ../src/guestfs.pod:1405
25641 msgid "3."
25642 msgstr ""
25643
25644 #. type: textblock
25645 #: ../libguestfs-1.11.20/resize/virt-resize.pod:54
25646 #: ../resize/virt-resize.pod:54
25647 msgid ""
25648 "As in the first example, but expand a logical volume as the final step.  "
25649 "This is what you would typically use for Linux guests that use LVM:"
25650 msgstr ""
25651
25652 #. type: verbatim
25653 #: ../libguestfs-1.11.20/resize/virt-resize.pod:58
25654 #: ../resize/virt-resize.pod:58
25655 #, no-wrap
25656 msgid ""
25657 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
25658 "   olddisk newdisk\n"
25659 "\n"
25660 msgstr ""
25661
25662 #. type: =item
25663 #: ../libguestfs-1.11.20/resize/virt-resize.pod:61
25664 #: ../resize/virt-resize.pod:61
25665 msgid "4."
25666 msgstr ""
25667
25668 #. type: textblock
25669 #: ../libguestfs-1.11.20/resize/virt-resize.pod:63
25670 #: ../resize/virt-resize.pod:63
25671 msgid ""
25672 "As in the first example, but the output format will be qcow2 instead of a "
25673 "raw disk:"
25674 msgstr ""
25675
25676 #. type: verbatim
25677 #: ../libguestfs-1.11.20/resize/virt-resize.pod:66
25678 #: ../resize/virt-resize.pod:66
25679 #, no-wrap
25680 msgid ""
25681 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
25682 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
25683 "\n"
25684 msgstr ""
25685
25686 #. type: =head1
25687 #: ../libguestfs-1.11.20/resize/virt-resize.pod:71
25688 #: ../resize/virt-resize.pod:71
25689 msgid "DETAILED USAGE"
25690 msgstr ""
25691
25692 #. type: =head2
25693 #: ../libguestfs-1.11.20/resize/virt-resize.pod:73
25694 #: ../resize/virt-resize.pod:73
25695 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25696 msgstr ""
25697
25698 #. type: =item
25699 #: ../libguestfs-1.11.20/resize/virt-resize.pod:77
25700 #: ../resize/virt-resize.pod:77
25701 msgid "1. Shut down the virtual machine"
25702 msgstr ""
25703
25704 #. type: =item
25705 #: ../libguestfs-1.11.20/resize/virt-resize.pod:79
25706 #: ../resize/virt-resize.pod:79
25707 msgid "2. Locate input disk image"
25708 msgstr ""
25709
25710 #. type: textblock
25711 #: ../libguestfs-1.11.20/resize/virt-resize.pod:81
25712 #: ../resize/virt-resize.pod:81
25713 msgid ""
25714 "Locate the input disk image (ie. the file or device on the host containing "
25715 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25716 "dumpxml> like this to find the disk image name:"
25717 msgstr ""
25718
25719 #. type: verbatim
25720 #: ../libguestfs-1.11.20/resize/virt-resize.pod:85
25721 #: ../resize/virt-resize.pod:85
25722 #, no-wrap
25723 msgid ""
25724 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25725 " Found 1 nodes:\n"
25726 " -- NODE --\n"
25727 " <source dev=\"/dev/vg/lv_guest\" />\n"
25728 "\n"
25729 msgstr ""
25730
25731 #. type: =item
25732 #: ../libguestfs-1.11.20/resize/virt-resize.pod:90
25733 #: ../resize/virt-resize.pod:90
25734 msgid "3. Look at current sizing"
25735 msgstr ""
25736
25737 #. type: textblock
25738 #: ../libguestfs-1.11.20/resize/virt-resize.pod:92
25739 #: ../resize/virt-resize.pod:92
25740 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
25741 msgstr ""
25742
25743 #. type: verbatim
25744 #: ../libguestfs-1.11.20/resize/virt-resize.pod:95
25745 #: ../resize/virt-resize.pod:95
25746 #, no-wrap
25747 msgid ""
25748 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
25749 " Name       Type       Size  Parent\n"
25750 " /dev/sda1  partition  101M  /dev/sda\n"
25751 " /dev/sda2  partition  7.9G  /dev/sda\n"
25752 " /dev/sda   device     8.0G  -\n"
25753 "\n"
25754 msgstr ""
25755
25756 #. type: textblock
25757 #: ../libguestfs-1.11.20/resize/virt-resize.pod:101
25758 #: ../resize/virt-resize.pod:101
25759 msgid ""
25760 "(This example is a virtual machine with an 8 GB disk which we would like to "
25761 "expand up to 10 GB)."
25762 msgstr ""
25763
25764 #. type: =item
25765 #: ../libguestfs-1.11.20/resize/virt-resize.pod:104
25766 #: ../resize/virt-resize.pod:104
25767 msgid "4. Create output disk"
25768 msgstr ""
25769
25770 #. type: textblock
25771 #: ../libguestfs-1.11.20/resize/virt-resize.pod:106
25772 #: ../resize/virt-resize.pod:106
25773 msgid ""
25774 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25775 "to store the resized output disk."
25776 msgstr ""
25777
25778 #. type: textblock
25779 #: ../libguestfs-1.11.20/resize/virt-resize.pod:109
25780 #: ../resize/virt-resize.pod:109
25781 msgid ""
25782 "To store the resized disk image in a file, create a file of a suitable size:"
25783 msgstr ""
25784
25785 #. type: verbatim
25786 #: ../libguestfs-1.11.20/resize/virt-resize.pod:112
25787 #: ../resize/virt-resize.pod:112
25788 #, no-wrap
25789 msgid ""
25790 " # rm -f outdisk\n"
25791 " # truncate -s 10G outdisk\n"
25792 "\n"
25793 msgstr ""
25794
25795 #. type: textblock
25796 #: ../libguestfs-1.11.20/resize/virt-resize.pod:115
25797 #: ../resize/virt-resize.pod:115
25798 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25799 msgstr ""
25800
25801 #. type: verbatim
25802 #: ../libguestfs-1.11.20/resize/virt-resize.pod:117
25803 #: ../resize/virt-resize.pod:117
25804 #, no-wrap
25805 msgid ""
25806 " # lvcreate -L 10G -n lv_name vg_name\n"
25807 "\n"
25808 msgstr ""
25809
25810 #. type: textblock
25811 #: ../libguestfs-1.11.20/resize/virt-resize.pod:119
25812 #: ../resize/virt-resize.pod:119
25813 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25814 msgstr ""
25815
25816 #. type: verbatim
25817 #: ../libguestfs-1.11.20/resize/virt-resize.pod:121
25818 #: ../resize/virt-resize.pod:121
25819 #, no-wrap
25820 msgid ""
25821 " # virsh pool-list\n"
25822 " # virsh vol-create-as poolname newvol 10G\n"
25823 "\n"
25824 msgstr ""
25825
25826 #. type: =item
25827 #: ../libguestfs-1.11.20/resize/virt-resize.pod:124
25828 #: ../resize/virt-resize.pod:124
25829 msgid "5. Resize"
25830 msgstr ""
25831
25832 #. type: textblock
25833 #: ../libguestfs-1.11.20/resize/virt-resize.pod:126
25834 #: ../resize/virt-resize.pod:126
25835 msgid ""
25836 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25837 "file) and the output disk.  The output disk is the one created in the "
25838 "previous step."
25839 msgstr ""
25840
25841 #. type: verbatim
25842 #: ../libguestfs-1.11.20/resize/virt-resize.pod:130
25843 #: ../resize/virt-resize.pod:130
25844 #, no-wrap
25845 msgid ""
25846 " # virt-resize indisk outdisk\n"
25847 "\n"
25848 msgstr ""
25849
25850 #. type: textblock
25851 #: ../libguestfs-1.11.20/resize/virt-resize.pod:132
25852 #: ../resize/virt-resize.pod:132
25853 msgid ""
25854 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25855 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25856 "larger, then an extra, empty partition is created at the end of the disk "
25857 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25858 "error."
25859 msgstr ""
25860
25861 #. type: textblock
25862 #: ../libguestfs-1.11.20/resize/virt-resize.pod:138
25863 #: ../resize/virt-resize.pod:138
25864 msgid ""
25865 "More realistically you'd want to expand existing partitions in the disk "
25866 "image by passing extra options (for the full list see the L</OPTIONS> "
25867 "section below)."
25868 msgstr ""
25869
25870 #. type: textblock
25871 #: ../libguestfs-1.11.20/resize/virt-resize.pod:142
25872 #: ../resize/virt-resize.pod:142
25873 msgid ""
25874 "L</--expand> is the most useful option.  It expands the named partition "
25875 "within the disk to fill any extra space:"
25876 msgstr ""
25877
25878 #. type: verbatim
25879 #: ../libguestfs-1.11.20/resize/virt-resize.pod:145
25880 #: ../resize/virt-resize.pod:145
25881 #, no-wrap
25882 msgid ""
25883 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25884 "\n"
25885 msgstr ""
25886
25887 #. type: textblock
25888 #: ../libguestfs-1.11.20/resize/virt-resize.pod:147
25889 #: ../resize/virt-resize.pod:147
25890 msgid ""
25891 "(In this case, an extra partition is I<not> created at the end of the disk, "
25892 "because there will be no unused space)."
25893 msgstr ""
25894
25895 #. type: textblock
25896 #: ../libguestfs-1.11.20/resize/virt-resize.pod:150
25897 #: ../resize/virt-resize.pod:150
25898 msgid ""
25899 "L</--resize> is the other commonly used option.  The following would "
25900 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25901 "rest of the available space:"
25902 msgstr ""
25903
25904 #. type: verbatim
25905 #: ../libguestfs-1.11.20/resize/virt-resize.pod:154
25906 #: ../resize/virt-resize.pod:154
25907 #, no-wrap
25908 msgid ""
25909 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25910 "     indisk outdisk\n"
25911 "\n"
25912 msgstr ""
25913
25914 #. type: textblock
25915 #: ../libguestfs-1.11.20/resize/virt-resize.pod:157
25916 #: ../resize/virt-resize.pod:157
25917 msgid ""
25918 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25919 "if virt-resize knows how, it will resize the contents, the equivalent of "
25920 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
25921 "or L<btrfs(8)>.  However virt-resize does not know how to resize some "
25922 "filesystems, so you would have to online resize them after booting the guest."
25923 msgstr ""
25924
25925 #. type: textblock
25926 #: ../libguestfs-1.11.20/resize/virt-resize.pod:164
25927 #: ../resize/virt-resize.pod:164
25928 msgid "Other options are covered below."
25929 msgstr ""
25930
25931 #. type: =item
25932 #: ../libguestfs-1.11.20/resize/virt-resize.pod:166
25933 #: ../resize/virt-resize.pod:166
25934 msgid "6. Test"
25935 msgstr ""
25936
25937 #. type: textblock
25938 #: ../libguestfs-1.11.20/resize/virt-resize.pod:168
25939 #: ../resize/virt-resize.pod:168
25940 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25941 msgstr ""
25942
25943 #. type: textblock
25944 #: ../libguestfs-1.11.20/resize/virt-resize.pod:170
25945 #: ../resize/virt-resize.pod:170
25946 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25947 msgstr ""
25948
25949 #. type: verbatim
25950 #: ../libguestfs-1.11.20/resize/virt-resize.pod:172
25951 #: ../resize/virt-resize.pod:172
25952 #, no-wrap
25953 msgid ""
25954 " # virsh edit guestname\n"
25955 "\n"
25956 msgstr ""
25957
25958 #. type: textblock
25959 #: ../libguestfs-1.11.20/resize/virt-resize.pod:174
25960 #: ../resize/virt-resize.pod:174
25961 msgid ""
25962 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
25963 "html#elementsDisks>"
25964 msgstr ""
25965
25966 #. type: textblock
25967 #: ../libguestfs-1.11.20/resize/virt-resize.pod:177
25968 #: ../resize/virt-resize.pod:177
25969 msgid "Then start up the domain with the new, resized disk:"
25970 msgstr ""
25971
25972 #. type: verbatim
25973 #: ../libguestfs-1.11.20/resize/virt-resize.pod:179
25974 #: ../resize/virt-resize.pod:179
25975 #, no-wrap
25976 msgid ""
25977 " # virsh start guestname\n"
25978 "\n"
25979 msgstr ""
25980
25981 #. type: textblock
25982 #: ../libguestfs-1.11.20/resize/virt-resize.pod:181
25983 #: ../resize/virt-resize.pod:181
25984 msgid ""
25985 "and check that it still works.  See also the L</NOTES> section below for "
25986 "additional information."
25987 msgstr ""
25988
25989 #. type: =item
25990 #: ../libguestfs-1.11.20/resize/virt-resize.pod:184
25991 #: ../resize/virt-resize.pod:184
25992 msgid "7. Resize LVs etc inside the guest"
25993 msgstr ""
25994
25995 #. type: textblock
25996 #: ../libguestfs-1.11.20/resize/virt-resize.pod:186
25997 #: ../resize/virt-resize.pod:186
25998 msgid "(This can also be done offline using L<guestfish(1)>)"
25999 msgstr ""
26000
26001 #. type: textblock
26002 #: ../libguestfs-1.11.20/resize/virt-resize.pod:188
26003 #: ../resize/virt-resize.pod:188
26004 msgid ""
26005 "Once the guest has booted you should see the new space available, at least "
26006 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
26007 "may need to resize LVs inside PVs, and also resize filesystem types that "
26008 "virt-resize does not know how to expand."
26009 msgstr ""
26010
26011 #. type: =head2
26012 #: ../libguestfs-1.11.20/resize/virt-resize.pod:195
26013 #: ../resize/virt-resize.pod:195
26014 msgid "SHRINKING A VIRTUAL MACHINE DISK"
26015 msgstr ""
26016
26017 #. type: textblock
26018 #: ../libguestfs-1.11.20/resize/virt-resize.pod:197
26019 #: ../resize/virt-resize.pod:197
26020 msgid ""
26021 "Shrinking is somewhat more complex than expanding, and only an overview is "
26022 "given here."
26023 msgstr ""
26024
26025 #. type: textblock
26026 #: ../libguestfs-1.11.20/resize/virt-resize.pod:200
26027 #: ../resize/virt-resize.pod:200
26028 msgid ""
26029 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
26030 "filesystems).  The user has to shrink content before passing the disk image "
26031 "to virt-resize, and virt-resize will check that the content has been shrunk "
26032 "properly."
26033 msgstr ""
26034
26035 #. type: textblock
26036 #: ../libguestfs-1.11.20/resize/virt-resize.pod:205
26037 #: ../resize/virt-resize.pod:205
26038 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
26039 msgstr ""
26040
26041 #. type: textblock
26042 #: ../libguestfs-1.11.20/resize/virt-resize.pod:207
26043 #: ../resize/virt-resize.pod:207
26044 msgid ""
26045 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
26046 "steps 3 and 4 above to allocate a new disk image."
26047 msgstr ""
26048
26049 #. type: textblock
26050 #: ../libguestfs-1.11.20/resize/virt-resize.pod:210
26051 #: ../resize/virt-resize.pod:210
26052 msgid ""
26053 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
26054 msgstr ""
26055
26056 #. type: =head2
26057 #: ../libguestfs-1.11.20/resize/virt-resize.pod:213
26058 #: ../resize/virt-resize.pod:213
26059 msgid "IGNORING OR DELETING PARTITIONS"
26060 msgstr ""
26061
26062 #. type: textblock
26063 #: ../libguestfs-1.11.20/resize/virt-resize.pod:215
26064 #: ../resize/virt-resize.pod:215
26065 msgid ""
26066 "virt-resize also gives a convenient way to ignore or delete partitions when "
26067 "copying from the input disk to the output disk.  Ignoring a partition speeds "
26068 "up the copy where you don't care about the existing contents of a "
26069 "partition.  Deleting a partition removes it completely, but note that it "
26070 "also renumbers any partitions after the one which is deleted, which can "
26071 "leave some guests unbootable."
26072 msgstr ""
26073
26074 #. type: =head2
26075 #: ../libguestfs-1.11.20/resize/virt-resize.pod:222
26076 #: ../resize/virt-resize.pod:222
26077 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
26078 msgstr ""
26079
26080 #. type: textblock
26081 #: ../libguestfs-1.11.20/resize/virt-resize.pod:224
26082 #: ../resize/virt-resize.pod:224
26083 msgid ""
26084 "If the input disk is in qcow2 format, then you may prefer that the output is "
26085 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
26086 "the fly.  The output format is simply determined by the format of the empty "
26087 "output container that you provide.  Thus to create qcow2 output, use:"
26088 msgstr ""
26089
26090 #. type: verbatim
26091 #: ../libguestfs-1.11.20/resize/virt-resize.pod:230
26092 #: ../resize/virt-resize.pod:230
26093 #, no-wrap
26094 msgid ""
26095 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
26096 "\n"
26097 msgstr ""
26098
26099 #. type: textblock
26100 #: ../libguestfs-1.11.20/resize/virt-resize.pod:232
26101 #: ../resize/virt-resize.pod:232
26102 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
26103 msgstr ""
26104
26105 #. type: textblock
26106 #: ../libguestfs-1.11.20/resize/virt-resize.pod:234
26107 #: ../resize/virt-resize.pod:234
26108 msgid "Similarly, to get non-sparse raw output use:"
26109 msgstr ""
26110
26111 #. type: verbatim
26112 #: ../libguestfs-1.11.20/resize/virt-resize.pod:236
26113 #: ../resize/virt-resize.pod:236
26114 #, no-wrap
26115 msgid ""
26116 " fallocate -l size outdisk\n"
26117 "\n"
26118 msgstr ""
26119
26120 #. type: textblock
26121 #: ../libguestfs-1.11.20/resize/virt-resize.pod:238
26122 #: ../resize/virt-resize.pod:238
26123 msgid ""
26124 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
26125 "dev/zero of=outdisk bs=1M count=..>)"
26126 msgstr ""
26127
26128 #. type: textblock
26129 #: ../libguestfs-1.11.20/resize/virt-resize.pod:247
26130 #: ../resize/virt-resize.pod:247
26131 msgid "Display help."
26132 msgstr ""
26133
26134 #. type: =item
26135 #: ../libguestfs-1.11.20/resize/virt-resize.pod:249
26136 #: ../resize/virt-resize.pod:249
26137 msgid "B<-d>"
26138 msgstr ""
26139
26140 #. type: =item
26141 #: ../libguestfs-1.11.20/resize/virt-resize.pod:251
26142 #: ../resize/virt-resize.pod:251 ../tools/virt-make-fs.pl:177
26143 #: ../tools/virt-win-reg.pl:120
26144 msgid "B<--debug>"
26145 msgstr ""
26146
26147 #. type: textblock
26148 #: ../libguestfs-1.11.20/resize/virt-resize.pod:253
26149 #: ../resize/virt-resize.pod:253 ../tools/virt-win-reg.pl:122
26150 msgid "Enable debugging messages."
26151 msgstr ""
26152
26153 #. type: =item
26154 #: ../libguestfs-1.11.20/resize/virt-resize.pod:255
26155 #: ../resize/virt-resize.pod:255
26156 msgid "B<--delete part>"
26157 msgstr ""
26158
26159 #. type: textblock
26160 #: ../libguestfs-1.11.20/resize/virt-resize.pod:257
26161 #: ../resize/virt-resize.pod:257
26162 msgid ""
26163 "Delete the named partition.  It would be more accurate to describe this as "
26164 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
26165 "the original disk image is left intact."
26166 msgstr ""
26167
26168 #. type: textblock
26169 #: ../libguestfs-1.11.20/resize/virt-resize.pod:261
26170 #: ../resize/virt-resize.pod:261
26171 msgid ""
26172 "Note that when you delete a partition, then anything contained in the "
26173 "partition is also deleted.  Furthermore, this causes any partitions that "
26174 "come after to be I<renumbered>, which can easily make your guest unbootable."
26175 msgstr ""
26176
26177 #. type: textblock
26178 #: ../libguestfs-1.11.20/resize/virt-resize.pod:266
26179 #: ../libguestfs-1.11.20/resize/virt-resize.pod:327
26180 #: ../libguestfs-1.11.20/resize/virt-resize.pod:448
26181 #: ../resize/virt-resize.pod:266 ../resize/virt-resize.pod:327
26182 #: ../resize/virt-resize.pod:448
26183 msgid "You can give this option multiple times."
26184 msgstr ""
26185
26186 #. type: =item
26187 #: ../libguestfs-1.11.20/resize/virt-resize.pod:268
26188 #: ../resize/virt-resize.pod:268
26189 msgid "B<--expand part>"
26190 msgstr ""
26191
26192 #. type: textblock
26193 #: ../libguestfs-1.11.20/resize/virt-resize.pod:270
26194 #: ../resize/virt-resize.pod:270
26195 msgid ""
26196 "Expand the named partition so it uses up all extra space (space left over "
26197 "after any other resize changes that you request have been done)."
26198 msgstr ""
26199
26200 #. type: textblock
26201 #: ../libguestfs-1.11.20/resize/virt-resize.pod:273
26202 #: ../resize/virt-resize.pod:273
26203 msgid ""
26204 "If virt-resize knows how, it will expand the direct content of the "
26205 "partition.  For example, if the partition is an LVM PV, it will expand the "
26206 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
26207 "content it doesn't know about alone."
26208 msgstr ""
26209
26210 #. type: textblock
26211 #: ../libguestfs-1.11.20/resize/virt-resize.pod:278
26212 #: ../resize/virt-resize.pod:278
26213 msgid "Currently virt-resize can resize:"
26214 msgstr ""
26215
26216 #. type: textblock
26217 #: ../libguestfs-1.11.20/resize/virt-resize.pod:284
26218 #: ../resize/virt-resize.pod:284
26219 msgid "ext2, ext3 and ext4 filesystems."
26220 msgstr ""
26221
26222 #. type: textblock
26223 #: ../libguestfs-1.11.20/resize/virt-resize.pod:288
26224 #: ../resize/virt-resize.pod:288
26225 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
26226 msgstr ""
26227
26228 #. type: textblock
26229 #: ../libguestfs-1.11.20/resize/virt-resize.pod:290
26230 #: ../resize/virt-resize.pod:290
26231 msgid ""
26232 "The filesystem must have been shut down consistently last time it was used.  "
26233 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
26234 "consistency check, so at the first boot after resizing Windows will check "
26235 "the disk."
26236 msgstr ""
26237
26238 #. type: textblock
26239 #: ../libguestfs-1.11.20/resize/virt-resize.pod:297
26240 #: ../resize/virt-resize.pod:297
26241 msgid ""
26242 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
26243 "inside the PV, but see the I<--LV-expand> option.  The user could also "
26244 "resize LVs as desired after boot."
26245 msgstr ""
26246
26247 #. type: textblock
26248 #: ../libguestfs-1.11.20/resize/virt-resize.pod:303
26249 #: ../resize/virt-resize.pod:303
26250 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
26251 msgstr ""
26252
26253 #. type: textblock
26254 #: ../libguestfs-1.11.20/resize/virt-resize.pod:307
26255 #: ../libguestfs-1.11.20/resize/virt-resize.pod:476
26256 #: ../resize/virt-resize.pod:307 ../resize/virt-resize.pod:476
26257 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
26258 msgstr ""
26259
26260 #. type: =item
26261 #: ../libguestfs-1.11.20/resize/virt-resize.pod:309
26262 #: ../resize/virt-resize.pod:309 ../tools/virt-list-filesystems.pl:91
26263 #: ../tools/virt-list-partitions.pl:92 ../tools/virt-tar.pl:141
26264 #: ../tools/virt-win-reg.pl:142
26265 msgid "B<--format> raw"
26266 msgstr ""
26267
26268 #. type: textblock
26269 #: ../libguestfs-1.11.20/resize/virt-resize.pod:311
26270 #: ../resize/virt-resize.pod:311
26271 msgid ""
26272 "Specify the format of the input disk image.  If this flag is not given then "
26273 "it is auto-detected from the image itself."
26274 msgstr ""
26275
26276 #. type: textblock
26277 #: ../libguestfs-1.11.20/resize/virt-resize.pod:317
26278 #: ../resize/virt-resize.pod:317
26279 msgid ""
26280 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
26281 "AND NON-SPARSE RAW FORMATS>."
26282 msgstr ""
26283
26284 #. type: =item
26285 #: ../libguestfs-1.11.20/resize/virt-resize.pod:320
26286 #: ../resize/virt-resize.pod:320
26287 msgid "B<--ignore part>"
26288 msgstr ""
26289
26290 #. type: textblock
26291 #: ../libguestfs-1.11.20/resize/virt-resize.pod:322
26292 #: ../resize/virt-resize.pod:322
26293 msgid ""
26294 "Ignore the named partition.  Effectively this means the partition is "
26295 "allocated on the destination disk, but the content is not copied across from "
26296 "the source disk.  The content of the partition will be blank (all zero "
26297 "bytes)."
26298 msgstr ""
26299
26300 #. type: =item
26301 #: ../libguestfs-1.11.20/resize/virt-resize.pod:329
26302 #: ../resize/virt-resize.pod:329
26303 msgid "B<--LV-expand logvol>"
26304 msgstr ""
26305
26306 #. type: textblock
26307 #: ../libguestfs-1.11.20/resize/virt-resize.pod:331
26308 #: ../resize/virt-resize.pod:331
26309 msgid ""
26310 "This takes the logical volume and, as a final step, expands it to fill all "
26311 "the space available in its volume group.  A typical usage, assuming a Linux "
26312 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
26313 "lv_root> would be:"
26314 msgstr ""
26315
26316 #. type: verbatim
26317 #: ../libguestfs-1.11.20/resize/virt-resize.pod:336
26318 #: ../resize/virt-resize.pod:336
26319 #, no-wrap
26320 msgid ""
26321 " virt-resize indisk outdisk \\\n"
26322 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
26323 "\n"
26324 msgstr ""
26325
26326 #. type: textblock
26327 #: ../libguestfs-1.11.20/resize/virt-resize.pod:339
26328 #: ../resize/virt-resize.pod:339
26329 msgid ""
26330 "This would first expand the partition (and PV), and then expand the root "
26331 "device to fill the extra space in the PV."
26332 msgstr ""
26333
26334 #. type: textblock
26335 #: ../libguestfs-1.11.20/resize/virt-resize.pod:342
26336 #: ../resize/virt-resize.pod:342
26337 msgid ""
26338 "The contents of the LV are also resized if virt-resize knows how to do "
26339 "that.  You can stop virt-resize from trying to expand the content by using "
26340 "the option I<--no-expand-content>."
26341 msgstr ""
26342
26343 #. type: textblock
26344 #: ../libguestfs-1.11.20/resize/virt-resize.pod:346
26345 #: ../resize/virt-resize.pod:346
26346 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
26347 msgstr ""
26348
26349 #. type: textblock
26350 #: ../libguestfs-1.11.20/resize/virt-resize.pod:348
26351 #: ../resize/virt-resize.pod:348
26352 msgid ""
26353 "You can give this option multiple times, I<but> it doesn't make sense to do "
26354 "this unless the logical volumes you specify are all in different volume "
26355 "groups."
26356 msgstr ""
26357
26358 #. type: =item
26359 #: ../libguestfs-1.11.20/resize/virt-resize.pod:354
26360 #: ../resize/virt-resize.pod:354
26361 msgid "B<--dryrun>"
26362 msgstr ""
26363
26364 #. type: textblock
26365 #: ../libguestfs-1.11.20/resize/virt-resize.pod:356
26366 #: ../resize/virt-resize.pod:356
26367 msgid "Print a summary of what would be done, but don't do anything."
26368 msgstr ""
26369
26370 #. type: =item
26371 #: ../libguestfs-1.11.20/resize/virt-resize.pod:358
26372 #: ../resize/virt-resize.pod:358
26373 msgid "B<--no-copy-boot-loader>"
26374 msgstr ""
26375
26376 #. type: textblock
26377 #: ../libguestfs-1.11.20/resize/virt-resize.pod:360
26378 #: ../resize/virt-resize.pod:360
26379 msgid ""
26380 "By default, virt-resize copies over some sectors at the start of the disk "
26381 "(up to the beginning of the first partition).  Commonly these sectors "
26382 "contain the Master Boot Record (MBR) and the boot loader, and are required "
26383 "in order for the guest to boot correctly."
26384 msgstr ""
26385
26386 #. type: textblock
26387 #: ../libguestfs-1.11.20/resize/virt-resize.pod:365
26388 #: ../resize/virt-resize.pod:365
26389 msgid ""
26390 "If you specify this flag, then this initial copy is not done.  You may need "
26391 "to reinstall the boot loader in this case."
26392 msgstr ""
26393
26394 #. type: =item
26395 #: ../libguestfs-1.11.20/resize/virt-resize.pod:368
26396 #: ../resize/virt-resize.pod:368
26397 msgid "B<--no-extra-partition>"
26398 msgstr ""
26399
26400 #. type: textblock
26401 #: ../libguestfs-1.11.20/resize/virt-resize.pod:370
26402 #: ../resize/virt-resize.pod:370
26403 msgid ""
26404 "By default, virt-resize creates an extra partition if there is any extra, "
26405 "unused space after all resizing has happened.  Use this option to prevent "
26406 "the extra partition from being created.  If you do this then the extra space "
26407 "will be inaccessible until you run fdisk, parted, or some other partitioning "
26408 "tool in the guest."
26409 msgstr ""
26410
26411 #. type: textblock
26412 #: ../libguestfs-1.11.20/resize/virt-resize.pod:376
26413 #: ../resize/virt-resize.pod:376
26414 msgid ""
26415 "Note that if the surplus space is smaller than 10 MB, no extra partition "
26416 "will be created."
26417 msgstr ""
26418
26419 #. type: =item
26420 #: ../libguestfs-1.11.20/resize/virt-resize.pod:379
26421 #: ../resize/virt-resize.pod:379
26422 msgid "B<--no-expand-content>"
26423 msgstr ""
26424
26425 #. type: textblock
26426 #: ../libguestfs-1.11.20/resize/virt-resize.pod:381
26427 #: ../resize/virt-resize.pod:381
26428 msgid ""
26429 "By default, virt-resize will try to expand the direct contents of "
26430 "partitions, if it knows how (see I<--expand> option above)."
26431 msgstr ""
26432
26433 #. type: textblock
26434 #: ../libguestfs-1.11.20/resize/virt-resize.pod:384
26435 #: ../resize/virt-resize.pod:384
26436 msgid ""
26437 "If you give the I<--no-expand-content> option then virt-resize will not "
26438 "attempt this."
26439 msgstr ""
26440
26441 #. type: =item
26442 #: ../libguestfs-1.11.20/resize/virt-resize.pod:387
26443 #: ../resize/virt-resize.pod:387
26444 msgid "B<--ntfsresize-force>"
26445 msgstr ""
26446
26447 #. type: textblock
26448 #: ../libguestfs-1.11.20/resize/virt-resize.pod:389
26449 #: ../resize/virt-resize.pod:389
26450 msgid ""
26451 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
26452 "the NTFS disk is marked as needing a consistency check.  You have to use "
26453 "this option if you want to resize a Windows guest multiple times without "
26454 "booting into Windows between each resize."
26455 msgstr ""
26456
26457 #. type: =item
26458 #: ../libguestfs-1.11.20/resize/virt-resize.pod:395
26459 #: ../resize/virt-resize.pod:395
26460 msgid "B<--output-format> raw"
26461 msgstr ""
26462
26463 #. type: textblock
26464 #: ../libguestfs-1.11.20/resize/virt-resize.pod:397
26465 #: ../resize/virt-resize.pod:397
26466 msgid ""
26467 "Specify the format of the output disk image.  If this flag is not given then "
26468 "it is auto-detected from the image itself."
26469 msgstr ""
26470
26471 #. type: textblock
26472 #: ../libguestfs-1.11.20/resize/virt-resize.pod:403
26473 #: ../resize/virt-resize.pod:403
26474 msgid ""
26475 "Note that this option I<does not create> the output format.  This option "
26476 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
26477 "need to create the output disk with the right format.  See L</QCOW2 AND NON-"
26478 "SPARSE RAW FORMATS>."
26479 msgstr ""
26480
26481 #. type: =item
26482 #: ../libguestfs-1.11.20/resize/virt-resize.pod:408
26483 #: ../resize/virt-resize.pod:408
26484 msgid "B<-q>"
26485 msgstr ""
26486
26487 #. type: =item
26488 #: ../libguestfs-1.11.20/resize/virt-resize.pod:410
26489 #: ../resize/virt-resize.pod:410
26490 msgid "B<--quiet>"
26491 msgstr ""
26492
26493 #. type: textblock
26494 #: ../libguestfs-1.11.20/resize/virt-resize.pod:412
26495 #: ../resize/virt-resize.pod:412
26496 msgid "Don't print the summary."
26497 msgstr ""
26498
26499 #. type: =item
26500 #: ../libguestfs-1.11.20/resize/virt-resize.pod:414
26501 #: ../resize/virt-resize.pod:414
26502 msgid "B<--resize part=size>"
26503 msgstr ""
26504
26505 #. type: textblock
26506 #: ../libguestfs-1.11.20/resize/virt-resize.pod:416
26507 #: ../resize/virt-resize.pod:416
26508 msgid ""
26509 "Resize the named partition (expanding or shrinking it) so that it has the "
26510 "given size."
26511 msgstr ""
26512
26513 #. type: textblock
26514 #: ../libguestfs-1.11.20/resize/virt-resize.pod:419
26515 #: ../resize/virt-resize.pod:419
26516 msgid ""
26517 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
26518 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
26519 "size; or as a relative number or percentage.  For example:"
26520 msgstr ""
26521
26522 #. type: verbatim
26523 #: ../libguestfs-1.11.20/resize/virt-resize.pod:425
26524 #: ../resize/virt-resize.pod:425
26525 #, no-wrap
26526 msgid ""
26527 " --resize /dev/sda2=10G\n"
26528 "\n"
26529 msgstr ""
26530
26531 #. type: verbatim
26532 #: ../libguestfs-1.11.20/resize/virt-resize.pod:427
26533 #: ../resize/virt-resize.pod:427
26534 #, no-wrap
26535 msgid ""
26536 " --resize /dev/sda4=90%\n"
26537 "\n"
26538 msgstr ""
26539
26540 #. type: verbatim
26541 #: ../libguestfs-1.11.20/resize/virt-resize.pod:429
26542 #: ../resize/virt-resize.pod:429
26543 #, no-wrap
26544 msgid ""
26545 " --resize /dev/sda2=+1G\n"
26546 "\n"
26547 msgstr ""
26548
26549 #. type: verbatim
26550 #: ../libguestfs-1.11.20/resize/virt-resize.pod:431
26551 #: ../resize/virt-resize.pod:431
26552 #, no-wrap
26553 msgid ""
26554 " --resize /dev/sda2=-200M\n"
26555 "\n"
26556 msgstr ""
26557
26558 #. type: verbatim
26559 #: ../libguestfs-1.11.20/resize/virt-resize.pod:433
26560 #: ../resize/virt-resize.pod:433
26561 #, no-wrap
26562 msgid ""
26563 " --resize /dev/sda1=+128K\n"
26564 "\n"
26565 msgstr ""
26566
26567 #. type: verbatim
26568 #: ../libguestfs-1.11.20/resize/virt-resize.pod:435
26569 #: ../resize/virt-resize.pod:435
26570 #, no-wrap
26571 msgid ""
26572 " --resize /dev/sda1=+10%\n"
26573 "\n"
26574 msgstr ""
26575
26576 #. type: verbatim
26577 #: ../libguestfs-1.11.20/resize/virt-resize.pod:437
26578 #: ../resize/virt-resize.pod:437
26579 #, no-wrap
26580 msgid ""
26581 " --resize /dev/sda1=-10%\n"
26582 "\n"
26583 msgstr ""
26584
26585 #. type: textblock
26586 #: ../libguestfs-1.11.20/resize/virt-resize.pod:439
26587 #: ../resize/virt-resize.pod:439
26588 msgid ""
26589 "You can increase the size of any partition.  Virt-resize will expand the "
26590 "direct content of the partition if it knows how (see I<--expand> below)."
26591 msgstr ""
26592
26593 #. type: textblock
26594 #: ../libguestfs-1.11.20/resize/virt-resize.pod:443
26595 #: ../resize/virt-resize.pod:443
26596 msgid ""
26597 "You can only I<decrease> the size of partitions that contain filesystems or "
26598 "PVs which have already been shrunk.  Virt-resize will check this has been "
26599 "done before proceeding, or else will print an error (see also I<--resize-"
26600 "force>)."
26601 msgstr ""
26602
26603 #. type: =item
26604 #: ../libguestfs-1.11.20/resize/virt-resize.pod:450
26605 #: ../resize/virt-resize.pod:450
26606 msgid "B<--resize-force part=size>"
26607 msgstr ""
26608
26609 #. type: textblock
26610 #: ../libguestfs-1.11.20/resize/virt-resize.pod:452
26611 #: ../resize/virt-resize.pod:452
26612 msgid ""
26613 "This is the same as I<--resize> except that it will let you decrease the "
26614 "size of any partition.  Generally this means you will lose any data which "
26615 "was at the end of the partition you shrink, but you may not care about that "
26616 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
26617 "as a swap partition)."
26618 msgstr ""
26619
26620 #. type: textblock
26621 #: ../libguestfs-1.11.20/resize/virt-resize.pod:458
26622 #: ../resize/virt-resize.pod:458
26623 msgid "See also the I<--ignore> option."
26624 msgstr ""
26625
26626 #. type: =item
26627 #: ../libguestfs-1.11.20/resize/virt-resize.pod:460
26628 #: ../resize/virt-resize.pod:460
26629 msgid "B<--shrink part>"
26630 msgstr ""
26631
26632 #. type: textblock
26633 #: ../libguestfs-1.11.20/resize/virt-resize.pod:462
26634 #: ../resize/virt-resize.pod:462
26635 msgid ""
26636 "Shrink the named partition until the overall disk image fits in the "
26637 "destination.  The named partition B<must> contain a filesystem or PV which "
26638 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
26639 "online tools).  Virt-resize will check this and give an error if it has not "
26640 "been done."
26641 msgstr ""
26642
26643 #. type: textblock
26644 #: ../libguestfs-1.11.20/resize/virt-resize.pod:468
26645 #: ../resize/virt-resize.pod:468
26646 msgid ""
26647 "The amount by which the overall disk must be shrunk (after carrying out all "
26648 "other operations requested by the user) is called the \"deficit\".  For "
26649 "example, a straight copy (assume no other operations)  from a 5GB disk image "
26650 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
26651 "would give an error unless the user specified a partition to shrink and that "
26652 "partition had more than a gigabyte of free space."
26653 msgstr ""
26654
26655 #. type: =head2
26656 #: ../libguestfs-1.11.20/resize/virt-resize.pod:488
26657 #: ../resize/virt-resize.pod:488
26658 msgid "\"Partition 1 does not end on cylinder boundary.\""
26659 msgstr ""
26660
26661 #. type: textblock
26662 #: ../libguestfs-1.11.20/resize/virt-resize.pod:490
26663 #: ../resize/virt-resize.pod:490
26664 msgid ""
26665 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
26666 "means the partitions will not be aligned to the ancient CHS geometry.  "
26667 "However CHS geometry is meaningless for disks manufactured since the early "
26668 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
26669 "cylinders is not required by any modern operating system."
26670 msgstr ""
26671
26672 #. type: =head2
26673 #: ../libguestfs-1.11.20/resize/virt-resize.pod:497
26674 #: ../resize/virt-resize.pod:497
26675 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
26676 msgstr ""
26677
26678 #. type: textblock
26679 #: ../libguestfs-1.11.20/resize/virt-resize.pod:499
26680 #: ../resize/virt-resize.pod:499
26681 msgid ""
26682 "In Windows Vista and later versions, Microsoft switched to using a separate "
26683 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
26684 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
26685 "the boot partition.  Doing so seems to break the guest completely.  However "
26686 "expanding the second partition (ie. C: drive) should work."
26687 msgstr ""
26688
26689 #. type: textblock
26690 #: ../libguestfs-1.11.20/resize/virt-resize.pod:506
26691 #: ../resize/virt-resize.pod:506
26692 msgid ""
26693 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
26694 "NTFS partitions have been expanded.  This is just a safety check and (unless "
26695 "it find errors) is nothing to worry about."
26696 msgstr ""
26697
26698 #. type: =head2
26699 #: ../libguestfs-1.11.20/resize/virt-resize.pod:510
26700 #: ../resize/virt-resize.pod:510
26701 msgid "GUEST BOOT STUCK AT \"GRUB\""
26702 msgstr ""
26703
26704 #. type: textblock
26705 #: ../libguestfs-1.11.20/resize/virt-resize.pod:512
26706 #: ../resize/virt-resize.pod:512
26707 msgid ""
26708 "If a Linux guest does not boot after resizing, and the boot is stuck after "
26709 "printing C<GRUB> on the console, try reinstalling grub.  This sometimes "
26710 "happens on older (RHEL 5-era) guests, for reasons we don't fully understand, "
26711 "although we think is to do with partition alignment."
26712 msgstr ""
26713
26714 #. type: verbatim
26715 #: ../libguestfs-1.11.20/resize/virt-resize.pod:517
26716 #: ../resize/virt-resize.pod:517
26717 #, no-wrap
26718 msgid ""
26719 " guestfish -i -a newdisk\n"
26720 " ><fs> cat /boot/grub/device.map\n"
26721 " # check the contents of this file are sensible or\n"
26722 " # edit the file if necessary\n"
26723 " ><fs> grub-install / /dev/vda\n"
26724 " ><fs> exit\n"
26725 "\n"
26726 msgstr ""
26727
26728 #. type: textblock
26729 #: ../libguestfs-1.11.20/resize/virt-resize.pod:524
26730 #: ../resize/virt-resize.pod:524
26731 msgid ""
26732 "For more flexible guest reconfiguration, including if you need to specify "
26733 "other parameters to grub-install, use L<virt-rescue(1)>."
26734 msgstr ""
26735
26736 #. type: =head1
26737 #: ../libguestfs-1.11.20/resize/virt-resize.pod:527
26738 #: ../resize/virt-resize.pod:527
26739 msgid "ALTERNATIVE TOOLS"
26740 msgstr ""
26741
26742 #. type: textblock
26743 #: ../libguestfs-1.11.20/resize/virt-resize.pod:529
26744 #: ../resize/virt-resize.pod:529
26745 msgid ""
26746 "There are several proprietary tools for resizing partitions.  We won't "
26747 "mention any here."
26748 msgstr ""
26749
26750 #. type: textblock
26751 #: ../libguestfs-1.11.20/resize/virt-resize.pod:532
26752 #: ../resize/virt-resize.pod:532
26753 msgid ""
26754 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
26755 "operations on disk images.  They can resize and move partitions, but I don't "
26756 "think they can do anything with the contents, and they certainly don't "
26757 "understand LVM."
26758 msgstr ""
26759
26760 #. type: textblock
26761 #: ../libguestfs-1.11.20/resize/virt-resize.pod:537
26762 #: ../resize/virt-resize.pod:537
26763 msgid ""
26764 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
26765 "but at a much lower level.  You will probably end up hand-calculating sector "
26766 "offsets, which is something that virt-resize was designed to avoid.  If you "
26767 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
26768 "I<--debug> flag."
26769 msgstr ""
26770
26771 #. type: textblock
26772 #: ../libguestfs-1.11.20/resize/virt-resize.pod:552
26773 #: ../resize/virt-resize.pod:552
26774 msgid ""
26775 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
26776 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
26777 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
26778 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<http://libguestfs.org/>."
26779 msgstr ""
26780
26781 #. type: textblock
26782 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:5
26783 #: ../ruby/examples/guestfs-ruby.pod:5
26784 msgid "guestfs-ruby - How to use libguestfs from Ruby"
26785 msgstr ""
26786
26787 #. type: verbatim
26788 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:9
26789 #: ../ruby/examples/guestfs-ruby.pod:9
26790 #, no-wrap
26791 msgid ""
26792 " require 'guestfs'\n"
26793 " g = Guestfs::Guestfs.new()\n"
26794 " g.add_drive_opts(\"disk.img\",\n"
26795 "                  :readonly => 1, :format => \"raw\")\n"
26796 " g.launch()\n"
26797 "\n"
26798 msgstr ""
26799
26800 #. type: textblock
26801 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:17
26802 #: ../ruby/examples/guestfs-ruby.pod:17
26803 msgid ""
26804 "This manual page documents how to call libguestfs from the Ruby programming "
26805 "language.  This page just documents the differences from the C API and gives "
26806 "some examples.  If you are not familiar with using libguestfs, you also need "
26807 "to read L<guestfs(3)>."
26808 msgstr ""
26809
26810 #. type: textblock
26811 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:24
26812 #: ../ruby/examples/guestfs-ruby.pod:24
26813 msgid ""
26814 "Errors from libguestfs functions are mapped into the C<Error> exception.  "
26815 "This has a single parameter which is the error message (a string)."
26816 msgstr ""
26817
26818 #. type: textblock
26819 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:38
26820 #: ../ruby/examples/guestfs-ruby.pod:38
26821 msgid ""
26822 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
26823 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<http://"
26824 "libguestfs.org/>."
26825 msgstr ""
26826
26827 #. type: =head2
26828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1
26829 #: ../src/guestfs-actions.pod:1
26830 msgid "guestfs_add_cdrom"
26831 msgstr ""
26832
26833 #. type: verbatim
26834 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3
26835 #: ../src/guestfs-actions.pod:3
26836 #, no-wrap
26837 msgid ""
26838 " int\n"
26839 " guestfs_add_cdrom (guestfs_h *g,\n"
26840 "                    const char *filename);\n"
26841 "\n"
26842 msgstr ""
26843
26844 #. type: textblock
26845 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:17
26846 #: ../src/guestfs-actions.pod:17
26847 msgid ""
26848 "This call checks for the existence of C<filename>.  This stops you from "
26849 "specifying other types of drive which are supported by qemu such as C<nbd:> "
26850 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
26851 "instead."
26852 msgstr ""
26853
26854 #. type: textblock
26855 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:24
26856 #: ../src/guestfs-actions.pod:24
26857 msgid ""
26858 "If you just want to add an ISO file (often you use this as an efficient way "
26859 "to transfer large files into the guest), then you should probably use "
26860 "C<guestfs_add_drive_ro> instead."
26861 msgstr ""
26862
26863 #. type: textblock
26864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:30
26865 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:140
26866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:201
26867 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:238
26868 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:252
26869 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:273
26870 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:293
26871 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:307
26872 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:422
26873 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:442
26874 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:456
26875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:501
26876 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:529
26877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:547
26878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:614
26879 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:647
26880 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:661
26881 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:676
26882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:775
26883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:793
26884 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:807
26885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:821
26886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:858
26887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1041
26888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1061
26889 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1079
26890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1163
26891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1181
26892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1200
26893 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1214
26894 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1234
26895 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1304
26896 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1335
26897 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1360
26898 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1402
26899 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1508
26900 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1542
26901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1757
26902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1779
26903 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1866
26904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2341
26905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2485
26906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2546
26907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2581
26908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3621
26909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3636
26910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3661
26911 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3850
26912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3864
26913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3877
26914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3891
26915 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3906
26916 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3942
26917 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4014
26918 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4034
26919 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4051
26920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4074
26921 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4097
26922 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4132
26923 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4151
26924 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4170
26925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4205
26926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4217
26927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4253
26928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4269
26929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4282
26930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4297
26931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4314
26932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4407
26933 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4427
26934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4440
26935 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4491
26936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4509
26937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4527
26938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4543
26939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4557
26940 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4571
26941 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4588
26942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4603
26943 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4623
26944 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4693
26945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4766
26946 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4797
26947 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4816
26948 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4835
26949 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4847
26950 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4864
26951 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4877
26952 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4892
26953 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4907
26954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4942
26955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4975
26956 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5014
26957 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5034
26958 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5048
26959 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5065
26960 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5114
26961 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5160
26962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5214
26963 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5250
26964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5285
26965 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5302
26966 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5320
26967 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5460
26968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5517
26969 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5539
26970 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5557
26971 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5589
26972 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5655
26973 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5672
26974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5685
26975 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5699
26976 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5988
26977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6007
26978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6026
26979 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6040
26980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6052
26981 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6066
26982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6078
26983 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6092
26984 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6108
26985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6129
26986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6148
26987 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6167
26988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6197
26989 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6215
26990 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6238
26991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6256
26992 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6275
26993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6296
26994 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6315
26995 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6332
26996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6351
26997 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6379
26998 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6403
26999 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6422
27000 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6446
27001 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6465
27002 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6480
27003 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6499
27004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6536
27005 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6566
27006 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6599
27007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6721
27008 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6842
27009 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6854
27010 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6867
27011 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6880
27012 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6902
27013 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6915
27014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6928
27015 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6941
27016 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6956
27017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7015
27018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7032
27019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7048
27020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7064
27021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7081
27022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7094
27023 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7114
27024 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7150
27025 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7164
27026 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7205
27027 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7218
27028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7236
27029 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7270
27030 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7306
27031 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7422
27032 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7437
27033 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7451
27034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7506
27035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7519
27036 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7564
27037 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7597
27038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7660
27039 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7680
27040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7706
27041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7773
27042 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7792
27043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7821
27044 #: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:140
27045 #: ../src/guestfs-actions.pod:201 ../src/guestfs-actions.pod:238
27046 #: ../src/guestfs-actions.pod:252 ../src/guestfs-actions.pod:273
27047 #: ../src/guestfs-actions.pod:293 ../src/guestfs-actions.pod:307
27048 #: ../src/guestfs-actions.pod:422 ../src/guestfs-actions.pod:442
27049 #: ../src/guestfs-actions.pod:456 ../src/guestfs-actions.pod:501
27050 #: ../src/guestfs-actions.pod:529 ../src/guestfs-actions.pod:547
27051 #: ../src/guestfs-actions.pod:614 ../src/guestfs-actions.pod:647
27052 #: ../src/guestfs-actions.pod:661 ../src/guestfs-actions.pod:676
27053 #: ../src/guestfs-actions.pod:775 ../src/guestfs-actions.pod:793
27054 #: ../src/guestfs-actions.pod:807 ../src/guestfs-actions.pod:821
27055 #: ../src/guestfs-actions.pod:858 ../src/guestfs-actions.pod:1041
27056 #: ../src/guestfs-actions.pod:1061 ../src/guestfs-actions.pod:1079
27057 #: ../src/guestfs-actions.pod:1163 ../src/guestfs-actions.pod:1181
27058 #: ../src/guestfs-actions.pod:1200 ../src/guestfs-actions.pod:1214
27059 #: ../src/guestfs-actions.pod:1234 ../src/guestfs-actions.pod:1304
27060 #: ../src/guestfs-actions.pod:1335 ../src/guestfs-actions.pod:1360
27061 #: ../src/guestfs-actions.pod:1402 ../src/guestfs-actions.pod:1508
27062 #: ../src/guestfs-actions.pod:1542 ../src/guestfs-actions.pod:1757
27063 #: ../src/guestfs-actions.pod:1779 ../src/guestfs-actions.pod:1866
27064 #: ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:2485
27065 #: ../src/guestfs-actions.pod:2546 ../src/guestfs-actions.pod:2581
27066 #: ../src/guestfs-actions.pod:3621 ../src/guestfs-actions.pod:3636
27067 #: ../src/guestfs-actions.pod:3661 ../src/guestfs-actions.pod:3850
27068 #: ../src/guestfs-actions.pod:3864 ../src/guestfs-actions.pod:3877
27069 #: ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:3906
27070 #: ../src/guestfs-actions.pod:3942 ../src/guestfs-actions.pod:4014
27071 #: ../src/guestfs-actions.pod:4034 ../src/guestfs-actions.pod:4051
27072 #: ../src/guestfs-actions.pod:4074 ../src/guestfs-actions.pod:4097
27073 #: ../src/guestfs-actions.pod:4132 ../src/guestfs-actions.pod:4151
27074 #: ../src/guestfs-actions.pod:4170 ../src/guestfs-actions.pod:4205
27075 #: ../src/guestfs-actions.pod:4217 ../src/guestfs-actions.pod:4253
27076 #: ../src/guestfs-actions.pod:4269 ../src/guestfs-actions.pod:4282
27077 #: ../src/guestfs-actions.pod:4297 ../src/guestfs-actions.pod:4314
27078 #: ../src/guestfs-actions.pod:4407 ../src/guestfs-actions.pod:4427
27079 #: ../src/guestfs-actions.pod:4440 ../src/guestfs-actions.pod:4491
27080 #: ../src/guestfs-actions.pod:4509 ../src/guestfs-actions.pod:4527
27081 #: ../src/guestfs-actions.pod:4543 ../src/guestfs-actions.pod:4557
27082 #: ../src/guestfs-actions.pod:4571 ../src/guestfs-actions.pod:4588
27083 #: ../src/guestfs-actions.pod:4603 ../src/guestfs-actions.pod:4623
27084 #: ../src/guestfs-actions.pod:4693 ../src/guestfs-actions.pod:4766
27085 #: ../src/guestfs-actions.pod:4797 ../src/guestfs-actions.pod:4816
27086 #: ../src/guestfs-actions.pod:4835 ../src/guestfs-actions.pod:4847
27087 #: ../src/guestfs-actions.pod:4864 ../src/guestfs-actions.pod:4877
27088 #: ../src/guestfs-actions.pod:4892 ../src/guestfs-actions.pod:4907
27089 #: ../src/guestfs-actions.pod:4942 ../src/guestfs-actions.pod:4975
27090 #: ../src/guestfs-actions.pod:5014 ../src/guestfs-actions.pod:5034
27091 #: ../src/guestfs-actions.pod:5048 ../src/guestfs-actions.pod:5065
27092 #: ../src/guestfs-actions.pod:5114 ../src/guestfs-actions.pod:5160
27093 #: ../src/guestfs-actions.pod:5214 ../src/guestfs-actions.pod:5250
27094 #: ../src/guestfs-actions.pod:5285 ../src/guestfs-actions.pod:5302
27095 #: ../src/guestfs-actions.pod:5320 ../src/guestfs-actions.pod:5460
27096 #: ../src/guestfs-actions.pod:5517 ../src/guestfs-actions.pod:5539
27097 #: ../src/guestfs-actions.pod:5557 ../src/guestfs-actions.pod:5589
27098 #: ../src/guestfs-actions.pod:5655 ../src/guestfs-actions.pod:5672
27099 #: ../src/guestfs-actions.pod:5685 ../src/guestfs-actions.pod:5699
27100 #: ../src/guestfs-actions.pod:5988 ../src/guestfs-actions.pod:6007
27101 #: ../src/guestfs-actions.pod:6026 ../src/guestfs-actions.pod:6040
27102 #: ../src/guestfs-actions.pod:6052 ../src/guestfs-actions.pod:6066
27103 #: ../src/guestfs-actions.pod:6078 ../src/guestfs-actions.pod:6092
27104 #: ../src/guestfs-actions.pod:6108 ../src/guestfs-actions.pod:6129
27105 #: ../src/guestfs-actions.pod:6148 ../src/guestfs-actions.pod:6167
27106 #: ../src/guestfs-actions.pod:6197 ../src/guestfs-actions.pod:6215
27107 #: ../src/guestfs-actions.pod:6238 ../src/guestfs-actions.pod:6256
27108 #: ../src/guestfs-actions.pod:6275 ../src/guestfs-actions.pod:6296
27109 #: ../src/guestfs-actions.pod:6315 ../src/guestfs-actions.pod:6332
27110 #: ../src/guestfs-actions.pod:6351 ../src/guestfs-actions.pod:6379
27111 #: ../src/guestfs-actions.pod:6403 ../src/guestfs-actions.pod:6422
27112 #: ../src/guestfs-actions.pod:6446 ../src/guestfs-actions.pod:6465
27113 #: ../src/guestfs-actions.pod:6480 ../src/guestfs-actions.pod:6499
27114 #: ../src/guestfs-actions.pod:6536 ../src/guestfs-actions.pod:6566
27115 #: ../src/guestfs-actions.pod:6599 ../src/guestfs-actions.pod:6721
27116 #: ../src/guestfs-actions.pod:6842 ../src/guestfs-actions.pod:6854
27117 #: ../src/guestfs-actions.pod:6867 ../src/guestfs-actions.pod:6880
27118 #: ../src/guestfs-actions.pod:6902 ../src/guestfs-actions.pod:6915
27119 #: ../src/guestfs-actions.pod:6928 ../src/guestfs-actions.pod:6941
27120 #: ../src/guestfs-actions.pod:6956 ../src/guestfs-actions.pod:7015
27121 #: ../src/guestfs-actions.pod:7032 ../src/guestfs-actions.pod:7048
27122 #: ../src/guestfs-actions.pod:7064 ../src/guestfs-actions.pod:7081
27123 #: ../src/guestfs-actions.pod:7094 ../src/guestfs-actions.pod:7114
27124 #: ../src/guestfs-actions.pod:7150 ../src/guestfs-actions.pod:7164
27125 #: ../src/guestfs-actions.pod:7205 ../src/guestfs-actions.pod:7218
27126 #: ../src/guestfs-actions.pod:7236 ../src/guestfs-actions.pod:7270
27127 #: ../src/guestfs-actions.pod:7306 ../src/guestfs-actions.pod:7422
27128 #: ../src/guestfs-actions.pod:7437 ../src/guestfs-actions.pod:7451
27129 #: ../src/guestfs-actions.pod:7506 ../src/guestfs-actions.pod:7519
27130 #: ../src/guestfs-actions.pod:7564 ../src/guestfs-actions.pod:7597
27131 #: ../src/guestfs-actions.pod:7660 ../src/guestfs-actions.pod:7680
27132 #: ../src/guestfs-actions.pod:7706 ../src/guestfs-actions.pod:7773
27133 #: ../src/guestfs-actions.pod:7792 ../src/guestfs-actions.pod:7821
27134 msgid "This function returns 0 on success or -1 on error."
27135 msgstr ""
27136
27137 #. type: textblock
27138 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:39
27139 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:142
27140 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1165
27141 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1980
27142 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2078
27143 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2192
27144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3623
27145 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3643
27146 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4951
27147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6217
27148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6334
27149 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6467
27150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6958
27151 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7083
27152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7606
27153 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:142
27154 #: ../src/guestfs-actions.pod:1165 ../src/guestfs-actions.pod:1980
27155 #: ../src/guestfs-actions.pod:2078 ../src/guestfs-actions.pod:2192
27156 #: ../src/guestfs-actions.pod:3623 ../src/guestfs-actions.pod:3643
27157 #: ../src/guestfs-actions.pod:4951 ../src/guestfs-actions.pod:6217
27158 #: ../src/guestfs-actions.pod:6334 ../src/guestfs-actions.pod:6467
27159 #: ../src/guestfs-actions.pod:6958 ../src/guestfs-actions.pod:7083
27160 #: ../src/guestfs-actions.pod:7606
27161 msgid "(Added in 0.3)"
27162 msgstr ""
27163
27164 #. type: =head2
27165 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:41
27166 #: ../src/guestfs-actions.pod:41
27167 msgid "guestfs_add_domain"
27168 msgstr ""
27169
27170 #. type: verbatim
27171 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:43
27172 #: ../src/guestfs-actions.pod:43
27173 #, no-wrap
27174 msgid ""
27175 " int\n"
27176 " guestfs_add_domain (guestfs_h *g,\n"
27177 "                     const char *dom,\n"
27178 "                     ...);\n"
27179 "\n"
27180 msgstr ""
27181
27182 #. type: textblock
27183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:48
27184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:151
27185 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:832
27186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2826
27187 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4642
27188 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4961
27189 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5178
27190 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:151
27191 #: ../src/guestfs-actions.pod:832 ../src/guestfs-actions.pod:2826
27192 #: ../src/guestfs-actions.pod:4642 ../src/guestfs-actions.pod:4961
27193 #: ../src/guestfs-actions.pod:5178
27194 msgid ""
27195 "You may supply a list of optional arguments to this call.  Use zero or more "
27196 "of the following pairs of parameters, and terminate the list with C<-1> on "
27197 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
27198 msgstr ""
27199
27200 #. type: verbatim
27201 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:53
27202 #: ../src/guestfs-actions.pod:53
27203 #, no-wrap
27204 msgid ""
27205 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
27206 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
27207 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
27208 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
27209 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
27210 "\n"
27211 msgstr ""
27212
27213 #. type: textblock
27214 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:59
27215 #: ../src/guestfs-actions.pod:59
27216 msgid ""
27217 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
27218 "It works by connecting to libvirt, requesting the domain and domain XML from "
27219 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
27220 "one."
27221 msgstr ""
27222
27223 #. type: textblock
27224 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:94
27225 #: ../src/guestfs-actions.pod:94
27226 msgid ""
27227 "The other optional parameters are passed directly through to "
27228 "C<guestfs_add_drive_opts>."
27229 msgstr ""
27230
27231 #. type: textblock
27232 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:97
27233 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:350
27234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:515
27235 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:693
27236 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:724
27237 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:742
27238 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:761
27239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1380
27240 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1736
27241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1939
27242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2050
27243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2101
27244 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2156
27245 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2179
27246 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2472
27247 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2944
27248 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2962
27249 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5137
27250 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5357
27251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5769
27252 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5795
27253 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7191
27254 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7617
27255 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7630
27256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7643
27257 #: ../src/guestfs-actions.pod:97 ../src/guestfs-actions.pod:350
27258 #: ../src/guestfs-actions.pod:515 ../src/guestfs-actions.pod:693
27259 #: ../src/guestfs-actions.pod:724 ../src/guestfs-actions.pod:742
27260 #: ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:1380
27261 #: ../src/guestfs-actions.pod:1736 ../src/guestfs-actions.pod:1939
27262 #: ../src/guestfs-actions.pod:2050 ../src/guestfs-actions.pod:2101
27263 #: ../src/guestfs-actions.pod:2156 ../src/guestfs-actions.pod:2179
27264 #: ../src/guestfs-actions.pod:2472 ../src/guestfs-actions.pod:2944
27265 #: ../src/guestfs-actions.pod:2962 ../src/guestfs-actions.pod:5137
27266 #: ../src/guestfs-actions.pod:5357 ../src/guestfs-actions.pod:5769
27267 #: ../src/guestfs-actions.pod:5795 ../src/guestfs-actions.pod:7191
27268 #: ../src/guestfs-actions.pod:7617 ../src/guestfs-actions.pod:7630
27269 #: ../src/guestfs-actions.pod:7643
27270 msgid "On error this function returns -1."
27271 msgstr ""
27272
27273 #. type: textblock
27274 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:99
27275 #: ../src/guestfs-actions.pod:99
27276 msgid "(Added in 1.7.4)"
27277 msgstr ""
27278
27279 #. type: =head2
27280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:101
27281 #: ../src/guestfs-actions.pod:101
27282 msgid "guestfs_add_domain_va"
27283 msgstr ""
27284
27285 #. type: verbatim
27286 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:103
27287 #: ../src/guestfs-actions.pod:103
27288 #, no-wrap
27289 msgid ""
27290 " int\n"
27291 " guestfs_add_domain_va (guestfs_h *g,\n"
27292 "                        const char *dom,\n"
27293 "                        va_list args);\n"
27294 "\n"
27295 msgstr ""
27296
27297 #. type: textblock
27298 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:108
27299 #: ../src/guestfs-actions.pod:108
27300 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
27301 msgstr ""
27302
27303 #. type: textblock
27304 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:110
27305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:121
27306 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:214
27307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:225
27308 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:871
27309 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:882
27310 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2910
27311 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2922
27312 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4707
27313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4719
27314 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4989
27315 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5001
27316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5227
27317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5238
27318 #: ../src/guestfs-actions.pod:110 ../src/guestfs-actions.pod:121
27319 #: ../src/guestfs-actions.pod:214 ../src/guestfs-actions.pod:225
27320 #: ../src/guestfs-actions.pod:871 ../src/guestfs-actions.pod:882
27321 #: ../src/guestfs-actions.pod:2910 ../src/guestfs-actions.pod:2922
27322 #: ../src/guestfs-actions.pod:4707 ../src/guestfs-actions.pod:4719
27323 #: ../src/guestfs-actions.pod:4989 ../src/guestfs-actions.pod:5001
27324 #: ../src/guestfs-actions.pod:5227 ../src/guestfs-actions.pod:5238
27325 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
27326 msgstr ""
27327
27328 #. type: =head2
27329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:112
27330 #: ../src/guestfs-actions.pod:112
27331 msgid "guestfs_add_domain_argv"
27332 msgstr ""
27333
27334 #. type: verbatim
27335 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:114
27336 #: ../src/guestfs-actions.pod:114
27337 #, no-wrap
27338 msgid ""
27339 " int\n"
27340 " guestfs_add_domain_argv (guestfs_h *g,\n"
27341 "                          const char *dom,\n"
27342 "                          const struct guestfs_add_domain_argv *optargs);\n"
27343 "\n"
27344 msgstr ""
27345
27346 #. type: textblock
27347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:119
27348 #: ../src/guestfs-actions.pod:119
27349 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
27350 msgstr ""
27351
27352 #. type: =head2
27353 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:123
27354 #: ../src/guestfs-actions.pod:123
27355 msgid "guestfs_add_drive"
27356 msgstr ""
27357
27358 #. type: verbatim
27359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:125
27360 #: ../src/guestfs-actions.pod:125
27361 #, no-wrap
27362 msgid ""
27363 " int\n"
27364 " guestfs_add_drive (guestfs_h *g,\n"
27365 "                    const char *filename);\n"
27366 "\n"
27367 msgstr ""
27368
27369 #. type: textblock
27370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:129
27371 #: ../src/guestfs-actions.pod:129
27372 msgid ""
27373 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
27374 "optional parameters, so the disk is added writable, with the format being "
27375 "detected automatically."
27376 msgstr ""
27377
27378 #. type: textblock
27379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:133
27380 #: ../src/guestfs-actions.pod:133
27381 msgid ""
27382 "Automatic detection of the format opens you up to a potential security hole "
27383 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
27384 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
27385 "you should think about replacing calls to this function with calls to "
27386 "C<guestfs_add_drive_opts>, and specifying the format."
27387 msgstr ""
27388
27389 #. type: =head2
27390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:144
27391 #: ../src/guestfs-actions.pod:144
27392 msgid "guestfs_add_drive_opts"
27393 msgstr ""
27394
27395 #. type: verbatim
27396 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:146
27397 #: ../src/guestfs-actions.pod:146
27398 #, no-wrap
27399 msgid ""
27400 " int\n"
27401 " guestfs_add_drive_opts (guestfs_h *g,\n"
27402 "                         const char *filename,\n"
27403 "                         ...);\n"
27404 "\n"
27405 msgstr ""
27406
27407 #. type: verbatim
27408 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:156
27409 #: ../src/guestfs-actions.pod:156
27410 #, no-wrap
27411 msgid ""
27412 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
27413 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
27414 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
27415 "\n"
27416 msgstr ""
27417
27418 #. type: textblock
27419 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:185
27420 #: ../src/guestfs-actions.pod:185
27421 msgid ""
27422 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
27423 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
27424 "Possible formats include C<raw> and C<qcow2>."
27425 msgstr ""
27426
27427 #. type: textblock
27428 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:196
27429 #: ../src/guestfs-actions.pod:196
27430 msgid ""
27431 "This rarely-used option lets you emulate the behaviour of the deprecated "
27432 "C<guestfs_add_drive_with_if> call (q.v.)"
27433 msgstr ""
27434
27435 #. type: textblock
27436 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:203
27437 #: ../src/guestfs-actions.pod:203
27438 msgid "(Added in 1.5.23)"
27439 msgstr ""
27440
27441 #. type: =head2
27442 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:205
27443 #: ../src/guestfs-actions.pod:205
27444 msgid "guestfs_add_drive_opts_va"
27445 msgstr ""
27446
27447 #. type: verbatim
27448 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:207
27449 #: ../src/guestfs-actions.pod:207
27450 #, no-wrap
27451 msgid ""
27452 " int\n"
27453 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
27454 "                            const char *filename,\n"
27455 "                            va_list args);\n"
27456 "\n"
27457 msgstr ""
27458
27459 #. type: textblock
27460 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:212
27461 #: ../src/guestfs-actions.pod:212
27462 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
27463 msgstr ""
27464
27465 #. type: =head2
27466 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:216
27467 #: ../src/guestfs-actions.pod:216
27468 msgid "guestfs_add_drive_opts_argv"
27469 msgstr ""
27470
27471 #. type: verbatim
27472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:218
27473 #: ../src/guestfs-actions.pod:218
27474 #, no-wrap
27475 msgid ""
27476 " int\n"
27477 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
27478 "                              const char *filename,\n"
27479 "                              const struct guestfs_add_drive_opts_argv *optargs);\n"
27480 "\n"
27481 msgstr ""
27482
27483 #. type: textblock
27484 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:223
27485 #: ../src/guestfs-actions.pod:223
27486 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
27487 msgstr ""
27488
27489 #. type: =head2
27490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:227
27491 #: ../src/guestfs-actions.pod:227
27492 msgid "guestfs_add_drive_ro"
27493 msgstr ""
27494
27495 #. type: verbatim
27496 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:229
27497 #: ../src/guestfs-actions.pod:229
27498 #, no-wrap
27499 msgid ""
27500 " int\n"
27501 " guestfs_add_drive_ro (guestfs_h *g,\n"
27502 "                       const char *filename);\n"
27503 "\n"
27504 msgstr ""
27505
27506 #. type: textblock
27507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:233
27508 #: ../src/guestfs-actions.pod:233
27509 msgid ""
27510 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
27511 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
27512 "disk is added read-only, with the format being detected automatically."
27513 msgstr ""
27514
27515 #. type: textblock
27516 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:240
27517 #: ../src/guestfs-actions.pod:240
27518 msgid "(Added in 1.0.38)"
27519 msgstr ""
27520
27521 #. type: =head2
27522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:242
27523 #: ../src/guestfs-actions.pod:242
27524 msgid "guestfs_add_drive_ro_with_if"
27525 msgstr ""
27526
27527 #. type: verbatim
27528 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:244
27529 #: ../src/guestfs-actions.pod:244
27530 #, no-wrap
27531 msgid ""
27532 " int\n"
27533 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
27534 "                               const char *filename,\n"
27535 "                               const char *iface);\n"
27536 "\n"
27537 msgstr ""
27538
27539 #. type: textblock
27540 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:249
27541 #: ../src/guestfs-actions.pod:249
27542 msgid ""
27543 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
27544 "QEMU interface emulation to use at run time."
27545 msgstr ""
27546
27547 #. type: textblock
27548 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:261
27549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:282
27550 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2431
27551 #: ../src/guestfs-actions.pod:261 ../src/guestfs-actions.pod:282
27552 #: ../src/guestfs-actions.pod:2431
27553 msgid "(Added in 1.0.84)"
27554 msgstr ""
27555
27556 #. type: =head2
27557 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:263
27558 #: ../src/guestfs-actions.pod:263
27559 msgid "guestfs_add_drive_with_if"
27560 msgstr ""
27561
27562 #. type: verbatim
27563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:265
27564 #: ../src/guestfs-actions.pod:265
27565 #, no-wrap
27566 msgid ""
27567 " int\n"
27568 " guestfs_add_drive_with_if (guestfs_h *g,\n"
27569 "                            const char *filename,\n"
27570 "                            const char *iface);\n"
27571 "\n"
27572 msgstr ""
27573
27574 #. type: textblock
27575 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:270
27576 #: ../src/guestfs-actions.pod:270
27577 msgid ""
27578 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
27579 "QEMU interface emulation to use at run time."
27580 msgstr ""
27581
27582 #. type: =head2
27583 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:284
27584 #: ../src/guestfs-actions.pod:284
27585 msgid "guestfs_aug_clear"
27586 msgstr ""
27587
27588 #. type: verbatim
27589 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:286
27590 #: ../src/guestfs-actions.pod:286
27591 #, no-wrap
27592 msgid ""
27593 " int\n"
27594 " guestfs_aug_clear (guestfs_h *g,\n"
27595 "                    const char *augpath);\n"
27596 "\n"
27597 msgstr ""
27598
27599 #. type: textblock
27600 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:295
27601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2181
27602 #: ../src/guestfs-actions.pod:295 ../src/guestfs-actions.pod:2181
27603 msgid "(Added in 1.3.4)"
27604 msgstr ""
27605
27606 #. type: =head2
27607 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:297
27608 #: ../src/guestfs-actions.pod:297
27609 msgid "guestfs_aug_close"
27610 msgstr ""
27611
27612 #. type: verbatim
27613 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:299
27614 #: ../src/guestfs-actions.pod:299
27615 #, no-wrap
27616 msgid ""
27617 " int\n"
27618 " guestfs_aug_close (guestfs_h *g);\n"
27619 "\n"
27620 msgstr ""
27621
27622 #. type: textblock
27623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:302
27624 #: ../src/guestfs-actions.pod:302
27625 msgid ""
27626 "Close the current Augeas handle and free up any resources used by it.  After "
27627 "calling this, you have to call C<guestfs_aug_init> again before you can use "
27628 "any other Augeas functions."
27629 msgstr ""
27630
27631 #. type: textblock
27632 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:309
27633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:334
27634 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:352
27635 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:366
27636 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:424
27637 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:444
27638 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:458
27639 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:489
27640 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:503
27641 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:517
27642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:531
27643 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:549
27644 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5846
27645 #: ../src/guestfs-actions.pod:309 ../src/guestfs-actions.pod:334
27646 #: ../src/guestfs-actions.pod:352 ../src/guestfs-actions.pod:366
27647 #: ../src/guestfs-actions.pod:424 ../src/guestfs-actions.pod:444
27648 #: ../src/guestfs-actions.pod:458 ../src/guestfs-actions.pod:489
27649 #: ../src/guestfs-actions.pod:503 ../src/guestfs-actions.pod:517
27650 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:549
27651 #: ../src/guestfs-actions.pod:5846
27652 msgid "(Added in 0.7)"
27653 msgstr ""
27654
27655 #. type: =head2
27656 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:311
27657 #: ../src/guestfs-actions.pod:311
27658 msgid "guestfs_aug_defnode"
27659 msgstr ""
27660
27661 #. type: verbatim
27662 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:313
27663 #: ../src/guestfs-actions.pod:313
27664 #, no-wrap
27665 msgid ""
27666 " struct guestfs_int_bool *\n"
27667 " guestfs_aug_defnode (guestfs_h *g,\n"
27668 "                      const char *name,\n"
27669 "                      const char *expr,\n"
27670 "                      const char *val);\n"
27671 "\n"
27672 msgstr ""
27673
27674 #. type: textblock
27675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:322
27676 #: ../src/guestfs-actions.pod:322
27677 msgid ""
27678 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
27679 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
27680 "containing that single node."
27681 msgstr ""
27682
27683 #. type: textblock
27684 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:330
27685 #: ../src/guestfs-actions.pod:330
27686 msgid ""
27687 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
27688 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
27689 msgstr ""
27690
27691 #. type: =head2
27692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:336
27693 #: ../src/guestfs-actions.pod:336
27694 msgid "guestfs_aug_defvar"
27695 msgstr ""
27696
27697 #. type: verbatim
27698 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:338
27699 #: ../src/guestfs-actions.pod:338
27700 #, no-wrap
27701 msgid ""
27702 " int\n"
27703 " guestfs_aug_defvar (guestfs_h *g,\n"
27704 "                     const char *name,\n"
27705 "                     const char *expr);\n"
27706 "\n"
27707 msgstr ""
27708
27709 #. type: =head2
27710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:354
27711 #: ../src/guestfs-actions.pod:354
27712 msgid "guestfs_aug_get"
27713 msgstr ""
27714
27715 #. type: verbatim
27716 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:356
27717 #: ../src/guestfs-actions.pod:356
27718 #, no-wrap
27719 msgid ""
27720 " char *\n"
27721 " guestfs_aug_get (guestfs_h *g,\n"
27722 "                  const char *augpath);\n"
27723 "\n"
27724 msgstr ""
27725
27726 #. type: textblock
27727 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:363
27728 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:922
27729 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:940
27730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1000
27731 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1016
27732 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1119
27733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1249
27734 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1266
27735 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1285
27736 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1419
27737 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1607
27738 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1719
27739 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1882
27740 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1899
27741 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1966
27742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2002
27743 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2023
27744 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2204
27745 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2396
27746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2600
27747 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2690
27748 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2794
27749 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2813
27750 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3027
27751 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3055
27752 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3076
27753 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3110
27754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3169
27755 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3189
27756 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3209
27757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3836
27758 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4189
27759 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4359
27760 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4469
27761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5375
27762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5574
27763 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5744
27764 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5922
27765 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5971
27766 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6627
27767 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6643
27768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6660
27769 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6691
27770 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7365
27771 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7384
27772 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7402
27773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7576
27774 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7878
27775 #: ../src/guestfs-actions.pod:363 ../src/guestfs-actions.pod:922
27776 #: ../src/guestfs-actions.pod:940 ../src/guestfs-actions.pod:1000
27777 #: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:1119
27778 #: ../src/guestfs-actions.pod:1249 ../src/guestfs-actions.pod:1266
27779 #: ../src/guestfs-actions.pod:1285 ../src/guestfs-actions.pod:1419
27780 #: ../src/guestfs-actions.pod:1607 ../src/guestfs-actions.pod:1719
27781 #: ../src/guestfs-actions.pod:1882 ../src/guestfs-actions.pod:1899
27782 #: ../src/guestfs-actions.pod:1966 ../src/guestfs-actions.pod:2002
27783 #: ../src/guestfs-actions.pod:2023 ../src/guestfs-actions.pod:2204
27784 #: ../src/guestfs-actions.pod:2396 ../src/guestfs-actions.pod:2600
27785 #: ../src/guestfs-actions.pod:2690 ../src/guestfs-actions.pod:2794
27786 #: ../src/guestfs-actions.pod:2813 ../src/guestfs-actions.pod:3027
27787 #: ../src/guestfs-actions.pod:3055 ../src/guestfs-actions.pod:3076
27788 #: ../src/guestfs-actions.pod:3110 ../src/guestfs-actions.pod:3169
27789 #: ../src/guestfs-actions.pod:3189 ../src/guestfs-actions.pod:3209
27790 #: ../src/guestfs-actions.pod:3836 ../src/guestfs-actions.pod:4189
27791 #: ../src/guestfs-actions.pod:4359 ../src/guestfs-actions.pod:4469
27792 #: ../src/guestfs-actions.pod:5375 ../src/guestfs-actions.pod:5574
27793 #: ../src/guestfs-actions.pod:5744 ../src/guestfs-actions.pod:5922
27794 #: ../src/guestfs-actions.pod:5971 ../src/guestfs-actions.pod:6627
27795 #: ../src/guestfs-actions.pod:6643 ../src/guestfs-actions.pod:6660
27796 #: ../src/guestfs-actions.pod:6691 ../src/guestfs-actions.pod:7365
27797 #: ../src/guestfs-actions.pod:7384 ../src/guestfs-actions.pod:7402
27798 #: ../src/guestfs-actions.pod:7576 ../src/guestfs-actions.pod:7878
27799 msgid ""
27800 "This function returns a string, or NULL on error.  I<The caller must free "
27801 "the returned string after use>."
27802 msgstr ""
27803
27804 #. type: =head2
27805 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:368
27806 #: ../src/guestfs-actions.pod:368
27807 msgid "guestfs_aug_init"
27808 msgstr ""
27809
27810 #. type: verbatim
27811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:370
27812 #: ../src/guestfs-actions.pod:370
27813 #, no-wrap
27814 msgid ""
27815 " int\n"
27816 " guestfs_aug_init (guestfs_h *g,\n"
27817 "                   const char *root,\n"
27818 "                   int flags);\n"
27819 "\n"
27820 msgstr ""
27821
27822 #. type: textblock
27823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:379
27824 #: ../src/guestfs-actions.pod:379
27825 msgid "You must call this before using any other C<guestfs_aug_*> commands."
27826 msgstr ""
27827
27828 #. type: textblock
27829 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:414
27830 #: ../src/guestfs-actions.pod:414
27831 msgid "Do not load the tree in C<guestfs_aug_init>."
27832 msgstr ""
27833
27834 #. type: textblock
27835 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:418
27836 #: ../src/guestfs-actions.pod:418
27837 msgid "To close the handle, you can call C<guestfs_aug_close>."
27838 msgstr ""
27839
27840 #. type: =head2
27841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:426
27842 #: ../src/guestfs-actions.pod:426
27843 msgid "guestfs_aug_insert"
27844 msgstr ""
27845
27846 #. type: verbatim
27847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:428
27848 #: ../src/guestfs-actions.pod:428
27849 #, no-wrap
27850 msgid ""
27851 " int\n"
27852 " guestfs_aug_insert (guestfs_h *g,\n"
27853 "                     const char *augpath,\n"
27854 "                     const char *label,\n"
27855 "                     int before);\n"
27856 "\n"
27857 msgstr ""
27858
27859 #. type: =head2
27860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:446
27861 #: ../src/guestfs-actions.pod:446
27862 msgid "guestfs_aug_load"
27863 msgstr ""
27864
27865 #. type: verbatim
27866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:448
27867 #: ../src/guestfs-actions.pod:448
27868 #, no-wrap
27869 msgid ""
27870 " int\n"
27871 " guestfs_aug_load (guestfs_h *g);\n"
27872 "\n"
27873 msgstr ""
27874
27875 #. type: =head2
27876 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:460
27877 #: ../src/guestfs-actions.pod:460
27878 msgid "guestfs_aug_ls"
27879 msgstr ""
27880
27881 #. type: verbatim
27882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:462
27883 #: ../src/guestfs-actions.pod:462
27884 #, no-wrap
27885 msgid ""
27886 " char **\n"
27887 " guestfs_aug_ls (guestfs_h *g,\n"
27888 "                 const char *augpath);\n"
27889 "\n"
27890 msgstr ""
27891
27892 #. type: textblock
27893 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:466
27894 #: ../src/guestfs-actions.pod:466
27895 msgid ""
27896 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
27897 "sorting the resulting nodes into alphabetical order."
27898 msgstr ""
27899
27900 #. type: textblock
27901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:469
27902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:485
27903 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:631
27904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1138
27905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1434
27906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1453
27907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1556
27908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1575
27909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1821
27910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2276
27911 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2292
27912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2311
27913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2354
27914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2378
27915 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2449
27916 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2498
27917 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2755
27918 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3129
27919 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3405
27920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3719
27921 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3736
27922 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3756
27923 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3818
27924 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3923
27925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4331
27926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5098
27927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5716
27928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5842
27929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5956
27930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6707
27931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6768
27932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6823
27933 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6969
27934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6993
27935 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7469
27936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7489
27937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7536
27938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7730
27939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7749
27940 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7835
27941 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7854
27942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7900
27943 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7919
27944 #: ../src/guestfs-actions.pod:469 ../src/guestfs-actions.pod:485
27945 #: ../src/guestfs-actions.pod:631 ../src/guestfs-actions.pod:1138
27946 #: ../src/guestfs-actions.pod:1434 ../src/guestfs-actions.pod:1453
27947 #: ../src/guestfs-actions.pod:1556 ../src/guestfs-actions.pod:1575
27948 #: ../src/guestfs-actions.pod:1821 ../src/guestfs-actions.pod:2276
27949 #: ../src/guestfs-actions.pod:2292 ../src/guestfs-actions.pod:2311
27950 #: ../src/guestfs-actions.pod:2354 ../src/guestfs-actions.pod:2378
27951 #: ../src/guestfs-actions.pod:2449 ../src/guestfs-actions.pod:2498
27952 #: ../src/guestfs-actions.pod:2755 ../src/guestfs-actions.pod:3129
27953 #: ../src/guestfs-actions.pod:3405 ../src/guestfs-actions.pod:3719
27954 #: ../src/guestfs-actions.pod:3736 ../src/guestfs-actions.pod:3756
27955 #: ../src/guestfs-actions.pod:3818 ../src/guestfs-actions.pod:3923
27956 #: ../src/guestfs-actions.pod:4331 ../src/guestfs-actions.pod:5098
27957 #: ../src/guestfs-actions.pod:5716 ../src/guestfs-actions.pod:5842
27958 #: ../src/guestfs-actions.pod:5956 ../src/guestfs-actions.pod:6707
27959 #: ../src/guestfs-actions.pod:6768 ../src/guestfs-actions.pod:6823
27960 #: ../src/guestfs-actions.pod:6969 ../src/guestfs-actions.pod:6993
27961 #: ../src/guestfs-actions.pod:7469 ../src/guestfs-actions.pod:7489
27962 #: ../src/guestfs-actions.pod:7536 ../src/guestfs-actions.pod:7730
27963 #: ../src/guestfs-actions.pod:7749 ../src/guestfs-actions.pod:7835
27964 #: ../src/guestfs-actions.pod:7854 ../src/guestfs-actions.pod:7900
27965 #: ../src/guestfs-actions.pod:7919
27966 msgid ""
27967 "This function returns a NULL-terminated array of strings (like L<environ(3)"
27968 ">), or NULL if there was an error.  I<The caller must free the strings and "
27969 "the array after use>."
27970 msgstr ""
27971
27972 #. type: textblock
27973 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:473
27974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1063
27975 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1081
27976 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1491
27977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3483
27978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3514
27979 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4172
27980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4222
27981 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4409
27982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4442
27983 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4605
27984 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5102
27985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5657
27986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6054
27987 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6068
27988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6080
27989 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6548
27990 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7207
27991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7220
27992 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7453
27993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7718
27994 #: ../src/guestfs-actions.pod:473 ../src/guestfs-actions.pod:1063
27995 #: ../src/guestfs-actions.pod:1081 ../src/guestfs-actions.pod:1491
27996 #: ../src/guestfs-actions.pod:3483 ../src/guestfs-actions.pod:3514
27997 #: ../src/guestfs-actions.pod:4172 ../src/guestfs-actions.pod:4222
27998 #: ../src/guestfs-actions.pod:4409 ../src/guestfs-actions.pod:4442
27999 #: ../src/guestfs-actions.pod:4605 ../src/guestfs-actions.pod:5102
28000 #: ../src/guestfs-actions.pod:5657 ../src/guestfs-actions.pod:6054
28001 #: ../src/guestfs-actions.pod:6068 ../src/guestfs-actions.pod:6080
28002 #: ../src/guestfs-actions.pod:6548 ../src/guestfs-actions.pod:7207
28003 #: ../src/guestfs-actions.pod:7220 ../src/guestfs-actions.pod:7453
28004 #: ../src/guestfs-actions.pod:7718
28005 msgid "(Added in 0.8)"
28006 msgstr ""
28007
28008 #. type: =head2
28009 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:475
28010 #: ../src/guestfs-actions.pod:475
28011 msgid "guestfs_aug_match"
28012 msgstr ""
28013
28014 #. type: verbatim
28015 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:477
28016 #: ../src/guestfs-actions.pod:477
28017 #, no-wrap
28018 msgid ""
28019 " char **\n"
28020 " guestfs_aug_match (guestfs_h *g,\n"
28021 "                    const char *augpath);\n"
28022 "\n"
28023 msgstr ""
28024
28025 #. type: =head2
28026 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:491
28027 #: ../src/guestfs-actions.pod:491
28028 msgid "guestfs_aug_mv"
28029 msgstr ""
28030
28031 #. type: verbatim
28032 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:493
28033 #: ../src/guestfs-actions.pod:493
28034 #, no-wrap
28035 msgid ""
28036 " int\n"
28037 " guestfs_aug_mv (guestfs_h *g,\n"
28038 "                 const char *src,\n"
28039 "                 const char *dest);\n"
28040 "\n"
28041 msgstr ""
28042
28043 #. type: =head2
28044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:505
28045 #: ../src/guestfs-actions.pod:505
28046 msgid "guestfs_aug_rm"
28047 msgstr ""
28048
28049 #. type: verbatim
28050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:507
28051 #: ../src/guestfs-actions.pod:507
28052 #, no-wrap
28053 msgid ""
28054 " int\n"
28055 " guestfs_aug_rm (guestfs_h *g,\n"
28056 "                 const char *augpath);\n"
28057 "\n"
28058 msgstr ""
28059
28060 #. type: =head2
28061 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:519
28062 #: ../src/guestfs-actions.pod:519
28063 msgid "guestfs_aug_save"
28064 msgstr ""
28065
28066 #. type: verbatim
28067 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:521
28068 #: ../src/guestfs-actions.pod:521
28069 #, no-wrap
28070 msgid ""
28071 " int\n"
28072 " guestfs_aug_save (guestfs_h *g);\n"
28073 "\n"
28074 msgstr ""
28075
28076 #. type: textblock
28077 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:526
28078 #: ../src/guestfs-actions.pod:526
28079 msgid ""
28080 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
28081 "are saved."
28082 msgstr ""
28083
28084 #. type: =head2
28085 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:533
28086 #: ../src/guestfs-actions.pod:533
28087 msgid "guestfs_aug_set"
28088 msgstr ""
28089
28090 #. type: verbatim
28091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:535
28092 #: ../src/guestfs-actions.pod:535
28093 #, no-wrap
28094 msgid ""
28095 " int\n"
28096 " guestfs_aug_set (guestfs_h *g,\n"
28097 "                  const char *augpath,\n"
28098 "                  const char *val);\n"
28099 "\n"
28100 msgstr ""
28101
28102 #. type: textblock
28103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:542
28104 #: ../src/guestfs-actions.pod:542
28105 msgid ""
28106 "In the Augeas API, it is possible to clear a node by setting the value to "
28107 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
28108 "this call.  Instead you must use the C<guestfs_aug_clear> call."
28109 msgstr ""
28110
28111 #. type: =head2
28112 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:551
28113 #: ../src/guestfs-actions.pod:551
28114 msgid "guestfs_available"
28115 msgstr ""
28116
28117 #. type: verbatim
28118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:553
28119 #: ../src/guestfs-actions.pod:553
28120 #, no-wrap
28121 msgid ""
28122 " int\n"
28123 " guestfs_available (guestfs_h *g,\n"
28124 "                    char *const *groups);\n"
28125 "\n"
28126 msgstr ""
28127
28128 #. type: textblock
28129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:561
28130 #: ../src/guestfs-actions.pod:561
28131 msgid ""
28132 "The libguestfs groups, and the functions that those groups correspond to, "
28133 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
28134 "runtime by calling C<guestfs_available_all_groups>."
28135 msgstr ""
28136
28137 #. type: textblock
28138 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:585
28139 #: ../src/guestfs-actions.pod:585
28140 msgid "You must call C<guestfs_launch> before calling this function."
28141 msgstr ""
28142
28143 #. type: textblock
28144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:607
28145 #: ../src/guestfs-actions.pod:607
28146 msgid ""
28147 "This call was added in version C<1.0.80>.  In previous versions of "
28148 "libguestfs all you could do would be to speculatively execute a command to "
28149 "find out if the daemon implemented it.  See also C<guestfs_version>."
28150 msgstr ""
28151
28152 #. type: textblock
28153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:616
28154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1236
28155 #: ../src/guestfs-actions.pod:616 ../src/guestfs-actions.pod:1236
28156 msgid "(Added in 1.0.80)"
28157 msgstr ""
28158
28159 #. type: =head2
28160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:618
28161 #: ../src/guestfs-actions.pod:618
28162 msgid "guestfs_available_all_groups"
28163 msgstr ""
28164
28165 #. type: verbatim
28166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:620
28167 #: ../src/guestfs-actions.pod:620
28168 #, no-wrap
28169 msgid ""
28170 " char **\n"
28171 " guestfs_available_all_groups (guestfs_h *g);\n"
28172 "\n"
28173 msgstr ""
28174
28175 #. type: textblock
28176 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:623
28177 #: ../src/guestfs-actions.pod:623
28178 msgid ""
28179 "This command returns a list of all optional groups that this daemon knows "
28180 "about.  Note this returns both supported and unsupported groups.  To find "
28181 "out which ones the daemon can actually support you have to call "
28182 "C<guestfs_available> on each member of the returned list."
28183 msgstr ""
28184
28185 #. type: textblock
28186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:629
28187 #: ../src/guestfs-actions.pod:629
28188 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
28189 msgstr ""
28190
28191 #. type: textblock
28192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:635
28193 #: ../src/guestfs-actions.pod:635
28194 msgid "(Added in 1.3.15)"
28195 msgstr ""
28196
28197 #. type: =head2
28198 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:637
28199 #: ../src/guestfs-actions.pod:637
28200 msgid "guestfs_base64_in"
28201 msgstr ""
28202
28203 #. type: verbatim
28204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:639
28205 #: ../src/guestfs-actions.pod:639
28206 #, no-wrap
28207 msgid ""
28208 " int\n"
28209 " guestfs_base64_in (guestfs_h *g,\n"
28210 "                    const char *base64file,\n"
28211 "                    const char *filename);\n"
28212 "\n"
28213 msgstr ""
28214
28215 #. type: textblock
28216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:649
28217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:663
28218 #: ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:663
28219 msgid "(Added in 1.3.5)"
28220 msgstr ""
28221
28222 #. type: =head2
28223 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:651
28224 #: ../src/guestfs-actions.pod:651
28225 msgid "guestfs_base64_out"
28226 msgstr ""
28227
28228 #. type: verbatim
28229 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:653
28230 #: ../src/guestfs-actions.pod:653
28231 #, no-wrap
28232 msgid ""
28233 " int\n"
28234 " guestfs_base64_out (guestfs_h *g,\n"
28235 "                     const char *filename,\n"
28236 "                     const char *base64file);\n"
28237 "\n"
28238 msgstr ""
28239
28240 #. type: =head2
28241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:665
28242 #: ../src/guestfs-actions.pod:665
28243 msgid "guestfs_blockdev_flushbufs"
28244 msgstr ""
28245
28246 #. type: verbatim
28247 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:667
28248 #: ../src/guestfs-actions.pod:667
28249 #, no-wrap
28250 msgid ""
28251 " int\n"
28252 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
28253 "                             const char *device);\n"
28254 "\n"
28255 msgstr ""
28256
28257 #. type: textblock
28258 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:678
28259 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:695
28260 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:710
28261 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:726
28262 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:744
28263 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:763
28264 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:777
28265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:795
28266 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:809
28267 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:823
28268 #: ../src/guestfs-actions.pod:678 ../src/guestfs-actions.pod:695
28269 #: ../src/guestfs-actions.pod:710 ../src/guestfs-actions.pod:726
28270 #: ../src/guestfs-actions.pod:744 ../src/guestfs-actions.pod:763
28271 #: ../src/guestfs-actions.pod:777 ../src/guestfs-actions.pod:795
28272 #: ../src/guestfs-actions.pod:809 ../src/guestfs-actions.pod:823
28273 msgid "(Added in 0.9.3)"
28274 msgstr ""
28275
28276 #. type: =head2
28277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:680
28278 #: ../src/guestfs-actions.pod:680
28279 msgid "guestfs_blockdev_getbsz"
28280 msgstr ""
28281
28282 #. type: verbatim
28283 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:682
28284 #: ../src/guestfs-actions.pod:682
28285 #, no-wrap
28286 msgid ""
28287 " int\n"
28288 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
28289 "                          const char *device);\n"
28290 "\n"
28291 msgstr ""
28292
28293 #. type: =head2
28294 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:697
28295 #: ../src/guestfs-actions.pod:697
28296 msgid "guestfs_blockdev_getro"
28297 msgstr ""
28298
28299 #. type: verbatim
28300 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:699
28301 #: ../src/guestfs-actions.pod:699
28302 #, no-wrap
28303 msgid ""
28304 " int\n"
28305 " guestfs_blockdev_getro (guestfs_h *g,\n"
28306 "                         const char *device);\n"
28307 "\n"
28308 msgstr ""
28309
28310 #. type: textblock
28311 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:708
28312 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1474
28313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1489
28314 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1978
28315 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1989
28316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2061
28317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2087
28318 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2127
28319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2142
28320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2167
28321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2190
28322 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3226
28323 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3242
28324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3260
28325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3422
28326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3436
28327 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3451
28328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3465
28329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3481
28330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3496
28331 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3512
28332 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3526
28333 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3539
28334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3553
28335 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3568
28336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3583
28337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3596
28338 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3610
28339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5339
28340 #: ../src/guestfs-actions.pod:708 ../src/guestfs-actions.pod:1474
28341 #: ../src/guestfs-actions.pod:1489 ../src/guestfs-actions.pod:1978
28342 #: ../src/guestfs-actions.pod:1989 ../src/guestfs-actions.pod:2061
28343 #: ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2127
28344 #: ../src/guestfs-actions.pod:2142 ../src/guestfs-actions.pod:2167
28345 #: ../src/guestfs-actions.pod:2190 ../src/guestfs-actions.pod:3226
28346 #: ../src/guestfs-actions.pod:3242 ../src/guestfs-actions.pod:3260
28347 #: ../src/guestfs-actions.pod:3422 ../src/guestfs-actions.pod:3436
28348 #: ../src/guestfs-actions.pod:3451 ../src/guestfs-actions.pod:3465
28349 #: ../src/guestfs-actions.pod:3481 ../src/guestfs-actions.pod:3496
28350 #: ../src/guestfs-actions.pod:3512 ../src/guestfs-actions.pod:3526
28351 #: ../src/guestfs-actions.pod:3539 ../src/guestfs-actions.pod:3553
28352 #: ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3583
28353 #: ../src/guestfs-actions.pod:3596 ../src/guestfs-actions.pod:3610
28354 #: ../src/guestfs-actions.pod:5339
28355 msgid "This function returns a C truth value on success or -1 on error."
28356 msgstr ""
28357
28358 #. type: =head2
28359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:712
28360 #: ../src/guestfs-actions.pod:712
28361 msgid "guestfs_blockdev_getsize64"
28362 msgstr ""
28363
28364 #. type: verbatim
28365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:714
28366 #: ../src/guestfs-actions.pod:714
28367 #, no-wrap
28368 msgid ""
28369 " int64_t\n"
28370 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
28371 "                             const char *device);\n"
28372 "\n"
28373 msgstr ""
28374
28375 #. type: textblock
28376 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:720
28377 #: ../src/guestfs-actions.pod:720
28378 msgid "See also C<guestfs_blockdev_getsz>."
28379 msgstr ""
28380
28381 #. type: =head2
28382 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:728
28383 #: ../src/guestfs-actions.pod:728
28384 msgid "guestfs_blockdev_getss"
28385 msgstr ""
28386
28387 #. type: verbatim
28388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:730
28389 #: ../src/guestfs-actions.pod:730
28390 #, no-wrap
28391 msgid ""
28392 " int\n"
28393 " guestfs_blockdev_getss (guestfs_h *g,\n"
28394 "                         const char *device);\n"
28395 "\n"
28396 msgstr ""
28397
28398 #. type: textblock
28399 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:737
28400 #: ../src/guestfs-actions.pod:737
28401 msgid ""
28402 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
28403 "that)."
28404 msgstr ""
28405
28406 #. type: =head2
28407 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:746
28408 #: ../src/guestfs-actions.pod:746
28409 msgid "guestfs_blockdev_getsz"
28410 msgstr ""
28411
28412 #. type: verbatim
28413 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:748
28414 #: ../src/guestfs-actions.pod:748
28415 #, no-wrap
28416 msgid ""
28417 " int64_t\n"
28418 " guestfs_blockdev_getsz (guestfs_h *g,\n"
28419 "                         const char *device);\n"
28420 "\n"
28421 msgstr ""
28422
28423 #. type: textblock
28424 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:755
28425 #: ../src/guestfs-actions.pod:755
28426 msgid ""
28427 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
28428 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
28429 msgstr ""
28430
28431 #. type: =head2
28432 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:765
28433 #: ../src/guestfs-actions.pod:765
28434 msgid "guestfs_blockdev_rereadpt"
28435 msgstr ""
28436
28437 #. type: verbatim
28438 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:767
28439 #: ../src/guestfs-actions.pod:767
28440 #, no-wrap
28441 msgid ""
28442 " int\n"
28443 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
28444 "                            const char *device);\n"
28445 "\n"
28446 msgstr ""
28447
28448 #. type: =head2
28449 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:779
28450 #: ../src/guestfs-actions.pod:779
28451 msgid "guestfs_blockdev_setbsz"
28452 msgstr ""
28453
28454 #. type: verbatim
28455 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:781
28456 #: ../src/guestfs-actions.pod:781
28457 #, no-wrap
28458 msgid ""
28459 " int\n"
28460 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
28461 "                          const char *device,\n"
28462 "                          int blocksize);\n"
28463 "\n"
28464 msgstr ""
28465
28466 #. type: =head2
28467 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:797
28468 #: ../src/guestfs-actions.pod:797
28469 msgid "guestfs_blockdev_setro"
28470 msgstr ""
28471
28472 #. type: verbatim
28473 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:799
28474 #: ../src/guestfs-actions.pod:799
28475 #, no-wrap
28476 msgid ""
28477 " int\n"
28478 " guestfs_blockdev_setro (guestfs_h *g,\n"
28479 "                         const char *device);\n"
28480 "\n"
28481 msgstr ""
28482
28483 #. type: =head2
28484 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:811
28485 #: ../src/guestfs-actions.pod:811
28486 msgid "guestfs_blockdev_setrw"
28487 msgstr ""
28488
28489 #. type: verbatim
28490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:813
28491 #: ../src/guestfs-actions.pod:813
28492 #, no-wrap
28493 msgid ""
28494 " int\n"
28495 " guestfs_blockdev_setrw (guestfs_h *g,\n"
28496 "                         const char *device);\n"
28497 "\n"
28498 msgstr ""
28499
28500 #. type: =head2
28501 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:825
28502 #: ../src/guestfs-actions.pod:825
28503 msgid "guestfs_btrfs_filesystem_resize"
28504 msgstr ""
28505
28506 #. type: verbatim
28507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:827
28508 #: ../src/guestfs-actions.pod:827
28509 #, no-wrap
28510 msgid ""
28511 " int\n"
28512 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
28513 "                                  const char *mountpoint,\n"
28514 "                                  ...);\n"
28515 "\n"
28516 msgstr ""
28517
28518 #. type: verbatim
28519 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:837
28520 #: ../src/guestfs-actions.pod:837
28521 #, no-wrap
28522 msgid ""
28523 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
28524 "\n"
28525 msgstr ""
28526
28527 #. type: textblock
28528 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:860
28529 #: ../src/guestfs-actions.pod:860
28530 msgid "(Added in 1.11.17)"
28531 msgstr ""
28532
28533 #. type: =head2
28534 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:862
28535 #: ../src/guestfs-actions.pod:862
28536 msgid "guestfs_btrfs_filesystem_resize_va"
28537 msgstr ""
28538
28539 #. type: verbatim
28540 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:864
28541 #: ../src/guestfs-actions.pod:864
28542 #, no-wrap
28543 msgid ""
28544 " int\n"
28545 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
28546 "                                     const char *mountpoint,\n"
28547 "                                     va_list args);\n"
28548 "\n"
28549 msgstr ""
28550
28551 #. type: textblock
28552 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:869
28553 #: ../src/guestfs-actions.pod:869
28554 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
28555 msgstr ""
28556
28557 #. type: =head2
28558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:873
28559 #: ../src/guestfs-actions.pod:873
28560 msgid "guestfs_btrfs_filesystem_resize_argv"
28561 msgstr ""
28562
28563 #. type: verbatim
28564 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:875
28565 #: ../src/guestfs-actions.pod:875
28566 #, no-wrap
28567 msgid ""
28568 " int\n"
28569 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
28570 "                                       const char *mountpoint,\n"
28571 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
28572 "\n"
28573 msgstr ""
28574
28575 #. type: textblock
28576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:880
28577 #: ../src/guestfs-actions.pod:880
28578 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
28579 msgstr ""
28580
28581 #. type: =head2
28582 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:884
28583 #: ../src/guestfs-actions.pod:884
28584 msgid "guestfs_case_sensitive_path"
28585 msgstr ""
28586
28587 #. type: verbatim
28588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:886
28589 #: ../src/guestfs-actions.pod:886
28590 #, no-wrap
28591 msgid ""
28592 " char *\n"
28593 " guestfs_case_sensitive_path (guestfs_h *g,\n"
28594 "                              const char *path);\n"
28595 "\n"
28596 msgstr ""
28597
28598 #. type: textblock
28599 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:912
28600 #: ../src/guestfs-actions.pod:912
28601 msgid ""
28602 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
28603 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
28604 "how the directories were originally created under Windows)."
28605 msgstr ""
28606
28607 #. type: textblock
28608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:920
28609 #: ../src/guestfs-actions.pod:920
28610 msgid "See also C<guestfs_realpath>."
28611 msgstr ""
28612
28613 #. type: textblock
28614 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:925
28615 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7387
28616 #: ../src/guestfs-actions.pod:925 ../src/guestfs-actions.pod:7387
28617 msgid "(Added in 1.0.75)"
28618 msgstr ""
28619
28620 #. type: =head2
28621 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:927
28622 #: ../src/guestfs-actions.pod:927
28623 msgid "guestfs_cat"
28624 msgstr ""
28625
28626 #. type: verbatim
28627 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:929
28628 #: ../src/guestfs-actions.pod:929
28629 #, no-wrap
28630 msgid ""
28631 " char *\n"
28632 " guestfs_cat (guestfs_h *g,\n"
28633 "              const char *path);\n"
28634 "\n"
28635 msgstr ""
28636
28637 #. type: textblock
28638 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:935
28639 #: ../src/guestfs-actions.pod:935
28640 msgid ""
28641 "Note that this function cannot correctly handle binary files (specifically, "
28642 "files containing C<\\0> character which is treated as end of string).  For "
28643 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
28644 "functions which have a more complex interface."
28645 msgstr ""
28646
28647 #. type: textblock
28648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:946
28649 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3740
28650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3822
28651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3839
28652 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3927
28653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4335
28654 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4349
28655 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5720
28656 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5734
28657 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7540
28658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7554
28659 #: ../src/guestfs-actions.pod:946 ../src/guestfs-actions.pod:3740
28660 #: ../src/guestfs-actions.pod:3822 ../src/guestfs-actions.pod:3839
28661 #: ../src/guestfs-actions.pod:3927 ../src/guestfs-actions.pod:4335
28662 #: ../src/guestfs-actions.pod:4349 ../src/guestfs-actions.pod:5720
28663 #: ../src/guestfs-actions.pod:5734 ../src/guestfs-actions.pod:7540
28664 #: ../src/guestfs-actions.pod:7554
28665 msgid "(Added in 0.4)"
28666 msgstr ""
28667
28668 #. type: =head2
28669 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:948
28670 #: ../src/guestfs-actions.pod:948
28671 msgid "guestfs_checksum"
28672 msgstr ""
28673
28674 #. type: verbatim
28675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:950
28676 #: ../src/guestfs-actions.pod:950
28677 #, no-wrap
28678 msgid ""
28679 " char *\n"
28680 " guestfs_checksum (guestfs_h *g,\n"
28681 "                   const char *csumtype,\n"
28682 "                   const char *path);\n"
28683 "\n"
28684 msgstr ""
28685
28686 #. type: textblock
28687 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:996
28688 #: ../src/guestfs-actions.pod:996
28689 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
28690 msgstr ""
28691
28692 #. type: textblock
28693 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:998
28694 #: ../src/guestfs-actions.pod:998
28695 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
28696 msgstr ""
28697
28698 #. type: textblock
28699 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1003
28700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1311
28701 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2158
28702 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3438
28703 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3467
28704 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3528
28705 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3555
28706 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7243
28707 #: ../src/guestfs-actions.pod:1003 ../src/guestfs-actions.pod:1311
28708 #: ../src/guestfs-actions.pod:2158 ../src/guestfs-actions.pod:3438
28709 #: ../src/guestfs-actions.pod:3467 ../src/guestfs-actions.pod:3528
28710 #: ../src/guestfs-actions.pod:3555 ../src/guestfs-actions.pod:7243
28711 msgid "(Added in 1.0.2)"
28712 msgstr ""
28713
28714 #. type: =head2
28715 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1005
28716 #: ../src/guestfs-actions.pod:1005
28717 msgid "guestfs_checksum_device"
28718 msgstr ""
28719
28720 #. type: verbatim
28721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1007
28722 #: ../src/guestfs-actions.pod:1007
28723 #, no-wrap
28724 msgid ""
28725 " char *\n"
28726 " guestfs_checksum_device (guestfs_h *g,\n"
28727 "                          const char *csumtype,\n"
28728 "                          const char *device);\n"
28729 "\n"
28730 msgstr ""
28731
28732 #. type: textblock
28733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1012
28734 #: ../src/guestfs-actions.pod:1012
28735 msgid ""
28736 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
28737 "device named C<device>.  For the types of checksums supported see the "
28738 "C<guestfs_checksum> command."
28739 msgstr ""
28740
28741 #. type: textblock
28742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1019
28743 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5169
28744 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5304
28745 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5341
28746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5359
28747 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5541
28748 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7152
28749 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7166
28750 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7566
28751 #: ../src/guestfs-actions.pod:1019 ../src/guestfs-actions.pod:5169
28752 #: ../src/guestfs-actions.pod:5304 ../src/guestfs-actions.pod:5341
28753 #: ../src/guestfs-actions.pod:5359 ../src/guestfs-actions.pod:5541
28754 #: ../src/guestfs-actions.pod:7152 ../src/guestfs-actions.pod:7166
28755 #: ../src/guestfs-actions.pod:7566
28756 msgid "(Added in 1.3.2)"
28757 msgstr ""
28758
28759 #. type: =head2
28760 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1021
28761 #: ../src/guestfs-actions.pod:1021
28762 msgid "guestfs_checksums_out"
28763 msgstr ""
28764
28765 #. type: verbatim
28766 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1023
28767 #: ../src/guestfs-actions.pod:1023
28768 #, no-wrap
28769 msgid ""
28770 " int\n"
28771 " guestfs_checksums_out (guestfs_h *g,\n"
28772 "                        const char *csumtype,\n"
28773 "                        const char *directory,\n"
28774 "                        const char *sumsfile);\n"
28775 "\n"
28776 msgstr ""
28777
28778 #. type: textblock
28779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1043
28780 #: ../src/guestfs-actions.pod:1043
28781 msgid "(Added in 1.3.7)"
28782 msgstr ""
28783
28784 #. type: =head2
28785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1045
28786 #: ../src/guestfs-actions.pod:1045
28787 msgid "guestfs_chmod"
28788 msgstr ""
28789
28790 #. type: verbatim
28791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1047
28792 #: ../src/guestfs-actions.pod:1047
28793 #, no-wrap
28794 msgid ""
28795 " int\n"
28796 " guestfs_chmod (guestfs_h *g,\n"
28797 "                int mode,\n"
28798 "                const char *path);\n"
28799 "\n"
28800 msgstr ""
28801
28802 #. type: =head2
28803 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1065
28804 #: ../src/guestfs-actions.pod:1065
28805 msgid "guestfs_chown"
28806 msgstr ""
28807
28808 #. type: verbatim
28809 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1067
28810 #: ../src/guestfs-actions.pod:1067
28811 #, no-wrap
28812 msgid ""
28813 " int\n"
28814 " guestfs_chown (guestfs_h *g,\n"
28815 "                int owner,\n"
28816 "                int group,\n"
28817 "                const char *path);\n"
28818 "\n"
28819 msgstr ""
28820
28821 #. type: =head2
28822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1083
28823 #: ../src/guestfs-actions.pod:1083
28824 msgid "guestfs_command"
28825 msgstr ""
28826
28827 #. type: verbatim
28828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1085
28829 #: ../src/guestfs-actions.pod:1085
28830 #, no-wrap
28831 msgid ""
28832 " char *\n"
28833 " guestfs_command (guestfs_h *g,\n"
28834 "                  char *const *arguments);\n"
28835 "\n"
28836 msgstr ""
28837
28838 #. type: textblock
28839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1094
28840 #: ../src/guestfs-actions.pod:1094
28841 msgid ""
28842 "The single parameter is an argv-style list of arguments.  The first element "
28843 "is the name of the program to run.  Subsequent elements are parameters.  The "
28844 "list must be non-empty (ie. must contain a program name).  Note that the "
28845 "command runs directly, and is I<not> invoked via the shell (see "
28846 "C<guestfs_sh>)."
28847 msgstr ""
28848
28849 #. type: textblock
28850 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1125
28851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1145
28852 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1610
28853 #: ../src/guestfs-actions.pod:1125 ../src/guestfs-actions.pod:1145
28854 #: ../src/guestfs-actions.pod:1610
28855 msgid "(Added in 0.9.1)"
28856 msgstr ""
28857
28858 #. type: =head2
28859 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1127
28860 #: ../src/guestfs-actions.pod:1127
28861 msgid "guestfs_command_lines"
28862 msgstr ""
28863
28864 #. type: verbatim
28865 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1129
28866 #: ../src/guestfs-actions.pod:1129
28867 #, no-wrap
28868 msgid ""
28869 " char **\n"
28870 " guestfs_command_lines (guestfs_h *g,\n"
28871 "                        char *const *arguments);\n"
28872 "\n"
28873 msgstr ""
28874
28875 #. type: textblock
28876 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1133
28877 #: ../src/guestfs-actions.pod:1133
28878 msgid ""
28879 "This is the same as C<guestfs_command>, but splits the result into a list of "
28880 "lines."
28881 msgstr ""
28882
28883 #. type: textblock
28884 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1136
28885 #: ../src/guestfs-actions.pod:1136
28886 msgid "See also: C<guestfs_sh_lines>"
28887 msgstr ""
28888
28889 #. type: =head2
28890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1147
28891 #: ../src/guestfs-actions.pod:1147
28892 msgid "guestfs_config"
28893 msgstr ""
28894
28895 #. type: verbatim
28896 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1149
28897 #: ../src/guestfs-actions.pod:1149
28898 #, no-wrap
28899 msgid ""
28900 " int\n"
28901 " guestfs_config (guestfs_h *g,\n"
28902 "                 const char *qemuparam,\n"
28903 "                 const char *qemuvalue);\n"
28904 "\n"
28905 msgstr ""
28906
28907 #. type: =head2
28908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1167
28909 #: ../src/guestfs-actions.pod:1167
28910 msgid "guestfs_copy_size"
28911 msgstr ""
28912
28913 #. type: verbatim
28914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1169
28915 #: ../src/guestfs-actions.pod:1169
28916 #, no-wrap
28917 msgid ""
28918 " int\n"
28919 " guestfs_copy_size (guestfs_h *g,\n"
28920 "                    const char *src,\n"
28921 "                    const char *dest,\n"
28922 "                    int64_t size);\n"
28923 "\n"
28924 msgstr ""
28925
28926 #. type: textblock
28927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1183
28928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1306
28929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1337
28930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1382
28931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1759
28932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1781
28933 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3638
28934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7238
28935 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7272
28936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7775
28937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7794
28938 #: ../src/guestfs-actions.pod:1183 ../src/guestfs-actions.pod:1306
28939 #: ../src/guestfs-actions.pod:1337 ../src/guestfs-actions.pod:1382
28940 #: ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:1781
28941 #: ../src/guestfs-actions.pod:3638 ../src/guestfs-actions.pod:7238
28942 #: ../src/guestfs-actions.pod:7272 ../src/guestfs-actions.pod:7775
28943 #: ../src/guestfs-actions.pod:7794
28944 msgid ""
28945 "This long-running command can generate progress notification messages so "
28946 "that the caller can display a progress bar or indicator.  To receive these "
28947 "messages, the caller must register a progress event callback.  See L<guestfs"
28948 "(3)/GUESTFS_EVENT_PROGRESS>."
28949 msgstr ""
28950
28951 #. type: textblock
28952 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1188
28953 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4362
28954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5747
28955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7473
28956 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7493
28957 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7579
28958 #: ../src/guestfs-actions.pod:1188 ../src/guestfs-actions.pod:4362
28959 #: ../src/guestfs-actions.pod:5747 ../src/guestfs-actions.pod:7473
28960 #: ../src/guestfs-actions.pod:7493 ../src/guestfs-actions.pod:7579
28961 msgid "(Added in 1.0.87)"
28962 msgstr ""
28963
28964 #. type: =head2
28965 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1190
28966 #: ../src/guestfs-actions.pod:1190
28967 msgid "guestfs_cp"
28968 msgstr ""
28969
28970 #. type: verbatim
28971 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1192
28972 #: ../src/guestfs-actions.pod:1192
28973 #, no-wrap
28974 msgid ""
28975 " int\n"
28976 " guestfs_cp (guestfs_h *g,\n"
28977 "             const char *src,\n"
28978 "             const char *dest);\n"
28979 "\n"
28980 msgstr ""
28981
28982 #. type: textblock
28983 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1202
28984 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1216
28985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1288
28986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1362
28987 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1476
28988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5116
28989 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5591
28990 #: ../src/guestfs-actions.pod:1202 ../src/guestfs-actions.pod:1216
28991 #: ../src/guestfs-actions.pod:1288 ../src/guestfs-actions.pod:1362
28992 #: ../src/guestfs-actions.pod:1476 ../src/guestfs-actions.pod:5116
28993 #: ../src/guestfs-actions.pod:5591
28994 msgid "(Added in 1.0.18)"
28995 msgstr ""
28996
28997 #. type: =head2
28998 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1204
28999 #: ../src/guestfs-actions.pod:1204
29000 msgid "guestfs_cp_a"
29001 msgstr ""
29002
29003 #. type: verbatim
29004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1206
29005 #: ../src/guestfs-actions.pod:1206
29006 #, no-wrap
29007 msgid ""
29008 " int\n"
29009 " guestfs_cp_a (guestfs_h *g,\n"
29010 "               const char *src,\n"
29011 "               const char *dest);\n"
29012 "\n"
29013 msgstr ""
29014
29015 #. type: =head2
29016 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1218
29017 #: ../src/guestfs-actions.pod:1218
29018 msgid "guestfs_dd"
29019 msgstr ""
29020
29021 #. type: verbatim
29022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1220
29023 #: ../src/guestfs-actions.pod:1220
29024 #, no-wrap
29025 msgid ""
29026 " int\n"
29027 " guestfs_dd (guestfs_h *g,\n"
29028 "             const char *src,\n"
29029 "             const char *dest);\n"
29030 "\n"
29031 msgstr ""
29032
29033 #. type: textblock
29034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1230
29035 #: ../src/guestfs-actions.pod:1230
29036 msgid ""
29037 "If the destination is a device, it must be as large or larger than the "
29038 "source file or device, otherwise the copy will fail.  This command cannot do "
29039 "partial copies (see C<guestfs_copy_size>)."
29040 msgstr ""
29041
29042 #. type: =head2
29043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1238
29044 #: ../src/guestfs-actions.pod:1238
29045 msgid "guestfs_df"
29046 msgstr ""
29047
29048 #. type: verbatim
29049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1240
29050 #: ../src/guestfs-actions.pod:1240
29051 #, no-wrap
29052 msgid ""
29053 " char *\n"
29054 " guestfs_df (guestfs_h *g);\n"
29055 "\n"
29056 msgstr ""
29057
29058 #. type: textblock
29059 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1245
29060 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1262
29061 #: ../src/guestfs-actions.pod:1245 ../src/guestfs-actions.pod:1262
29062 msgid ""
29063 "This command is mostly useful for interactive sessions.  It is I<not> "
29064 "intended that you try to parse the output string.  Use C<guestfs_statvfs> "
29065 "from programs."
29066 msgstr ""
29067
29068 #. type: textblock
29069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1252
29070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1269
29071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1387
29072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2361
29073 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2385
29074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2453
29075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4472
29076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5016
29077 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6976
29078 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7000
29079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7619
29080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7632
29081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7645
29082 #: ../src/guestfs-actions.pod:1252 ../src/guestfs-actions.pod:1269
29083 #: ../src/guestfs-actions.pod:1387 ../src/guestfs-actions.pod:2361
29084 #: ../src/guestfs-actions.pod:2385 ../src/guestfs-actions.pod:2453
29085 #: ../src/guestfs-actions.pod:4472 ../src/guestfs-actions.pod:5016
29086 #: ../src/guestfs-actions.pod:6976 ../src/guestfs-actions.pod:7000
29087 #: ../src/guestfs-actions.pod:7619 ../src/guestfs-actions.pod:7632
29088 #: ../src/guestfs-actions.pod:7645
29089 msgid "(Added in 1.0.54)"
29090 msgstr ""
29091
29092 #. type: =head2
29093 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1254
29094 #: ../src/guestfs-actions.pod:1254
29095 msgid "guestfs_df_h"
29096 msgstr ""
29097
29098 #. type: verbatim
29099 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1256
29100 #: ../src/guestfs-actions.pod:1256
29101 #, no-wrap
29102 msgid ""
29103 " char *\n"
29104 " guestfs_df_h (guestfs_h *g);\n"
29105 "\n"
29106 msgstr ""
29107
29108 #. type: =head2
29109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1271
29110 #: ../src/guestfs-actions.pod:1271
29111 msgid "guestfs_dmesg"
29112 msgstr ""
29113
29114 #. type: verbatim
29115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1273
29116 #: ../src/guestfs-actions.pod:1273
29117 #, no-wrap
29118 msgid ""
29119 " char *\n"
29120 " guestfs_dmesg (guestfs_h *g);\n"
29121 "\n"
29122 msgstr ""
29123
29124 #. type: textblock
29125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1280
29126 #: ../src/guestfs-actions.pod:1280
29127 msgid ""
29128 "Another way to get the same information is to enable verbose messages with "
29129 "C<guestfs_set_verbose> or by setting the environment variable "
29130 "C<LIBGUESTFS_DEBUG=1> before running the program."
29131 msgstr ""
29132
29133 #. type: =head2
29134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1290
29135 #: ../src/guestfs-actions.pod:1290
29136 msgid "guestfs_download"
29137 msgstr ""
29138
29139 #. type: verbatim
29140 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1292
29141 #: ../src/guestfs-actions.pod:1292
29142 #, no-wrap
29143 msgid ""
29144 " int\n"
29145 " guestfs_download (guestfs_h *g,\n"
29146 "                   const char *remotefilename,\n"
29147 "                   const char *filename);\n"
29148 "\n"
29149 msgstr ""
29150
29151 #. type: textblock
29152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1302
29153 #: ../src/guestfs-actions.pod:1302
29154 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
29155 msgstr ""
29156
29157 #. type: =head2
29158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1313
29159 #: ../src/guestfs-actions.pod:1313
29160 msgid "guestfs_download_offset"
29161 msgstr ""
29162
29163 #. type: verbatim
29164 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1315
29165 #: ../src/guestfs-actions.pod:1315
29166 #, no-wrap
29167 msgid ""
29168 " int\n"
29169 " guestfs_download_offset (guestfs_h *g,\n"
29170 "                          const char *remotefilename,\n"
29171 "                          const char *filename,\n"
29172 "                          int64_t offset,\n"
29173 "                          int64_t size);\n"
29174 "\n"
29175 msgstr ""
29176
29177 #. type: textblock
29178 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1328
29179 #: ../src/guestfs-actions.pod:1328
29180 msgid ""
29181 "Note that there is no limit on the amount of data that can be downloaded "
29182 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
29183 "full amount unless an error occurs."
29184 msgstr ""
29185
29186 #. type: textblock
29187 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1333
29188 #: ../src/guestfs-actions.pod:1333
29189 msgid "See also C<guestfs_download>, C<guestfs_pread>."
29190 msgstr ""
29191
29192 #. type: textblock
29193 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1342
29194 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7277
29195 #: ../src/guestfs-actions.pod:1342 ../src/guestfs-actions.pod:7277
29196 msgid "(Added in 1.5.17)"
29197 msgstr ""
29198
29199 #. type: =head2
29200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1344
29201 #: ../src/guestfs-actions.pod:1344
29202 msgid "guestfs_drop_caches"
29203 msgstr ""
29204
29205 #. type: verbatim
29206 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1346
29207 #: ../src/guestfs-actions.pod:1346
29208 #, no-wrap
29209 msgid ""
29210 " int\n"
29211 " guestfs_drop_caches (guestfs_h *g,\n"
29212 "                      int whattodrop);\n"
29213 "\n"
29214 msgstr ""
29215
29216 #. type: =head2
29217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1364
29218 #: ../src/guestfs-actions.pod:1364
29219 msgid "guestfs_du"
29220 msgstr ""
29221
29222 #. type: verbatim
29223 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1366
29224 #: ../src/guestfs-actions.pod:1366
29225 #, no-wrap
29226 msgid ""
29227 " int64_t\n"
29228 " guestfs_du (guestfs_h *g,\n"
29229 "             const char *path);\n"
29230 "\n"
29231 msgstr ""
29232
29233 #. type: =head2
29234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1389
29235 #: ../src/guestfs-actions.pod:1389
29236 msgid "guestfs_e2fsck_f"
29237 msgstr ""
29238
29239 #. type: verbatim
29240 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1391
29241 #: ../src/guestfs-actions.pod:1391
29242 #, no-wrap
29243 msgid ""
29244 " int\n"
29245 " guestfs_e2fsck_f (guestfs_h *g,\n"
29246 "                   const char *device);\n"
29247 "\n"
29248 msgstr ""
29249
29250 #. type: textblock
29251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1399
29252 #: ../src/guestfs-actions.pod:1399
29253 msgid ""
29254 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
29255 "Normally you should use C<guestfs_fsck>."
29256 msgstr ""
29257
29258 #. type: textblock
29259 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1404
29260 #: ../src/guestfs-actions.pod:1404
29261 msgid "(Added in 1.0.29)"
29262 msgstr ""
29263
29264 #. type: =head2
29265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1406
29266 #: ../src/guestfs-actions.pod:1406
29267 msgid "guestfs_echo_daemon"
29268 msgstr ""
29269
29270 #. type: verbatim
29271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1408
29272 #: ../src/guestfs-actions.pod:1408
29273 #, no-wrap
29274 msgid ""
29275 " char *\n"
29276 " guestfs_echo_daemon (guestfs_h *g,\n"
29277 "                      char *const *words);\n"
29278 "\n"
29279 msgstr ""
29280
29281 #. type: textblock
29282 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1417
29283 #: ../src/guestfs-actions.pod:1417
29284 msgid "See also C<guestfs_ping_daemon>."
29285 msgstr ""
29286
29287 #. type: textblock
29288 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1422
29289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2169
29290 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6448
29291 #: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:2169
29292 #: ../src/guestfs-actions.pod:6448
29293 msgid "(Added in 1.0.69)"
29294 msgstr ""
29295
29296 #. type: =head2
29297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1424
29298 #: ../src/guestfs-actions.pod:1424
29299 msgid "guestfs_egrep"
29300 msgstr ""
29301
29302 #. type: verbatim
29303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1426
29304 #: ../src/guestfs-actions.pod:1426
29305 #, no-wrap
29306 msgid ""
29307 " char **\n"
29308 " guestfs_egrep (guestfs_h *g,\n"
29309 "                const char *regex,\n"
29310 "                const char *path);\n"
29311 "\n"
29312 msgstr ""
29313
29314 #. type: textblock
29315 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1441
29316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1460
29317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1517
29318 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1563
29319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1582
29320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2299
29321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2318
29322 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2474
29323 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2487
29324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2502
29325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2548
29326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2570
29327 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2583
29328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3852
29329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3866
29330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3879
29331 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3893
29332 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4894
29333 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5925
29334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5974
29335 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6844
29336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6856
29337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6869
29338 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6882
29339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6904
29340 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6917
29341 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6930
29342 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6943
29343 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7737
29344 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7756
29345 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7842
29346 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7861
29347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7907
29348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7926
29349 #: ../src/guestfs-actions.pod:1441 ../src/guestfs-actions.pod:1460
29350 #: ../src/guestfs-actions.pod:1517 ../src/guestfs-actions.pod:1563
29351 #: ../src/guestfs-actions.pod:1582 ../src/guestfs-actions.pod:2299
29352 #: ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2474
29353 #: ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2502
29354 #: ../src/guestfs-actions.pod:2548 ../src/guestfs-actions.pod:2570
29355 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:3852
29356 #: ../src/guestfs-actions.pod:3866 ../src/guestfs-actions.pod:3879
29357 #: ../src/guestfs-actions.pod:3893 ../src/guestfs-actions.pod:4894
29358 #: ../src/guestfs-actions.pod:5925 ../src/guestfs-actions.pod:5974
29359 #: ../src/guestfs-actions.pod:6844 ../src/guestfs-actions.pod:6856
29360 #: ../src/guestfs-actions.pod:6869 ../src/guestfs-actions.pod:6882
29361 #: ../src/guestfs-actions.pod:6904 ../src/guestfs-actions.pod:6917
29362 #: ../src/guestfs-actions.pod:6930 ../src/guestfs-actions.pod:6943
29363 #: ../src/guestfs-actions.pod:7737 ../src/guestfs-actions.pod:7756
29364 #: ../src/guestfs-actions.pod:7842 ../src/guestfs-actions.pod:7861
29365 #: ../src/guestfs-actions.pod:7907 ../src/guestfs-actions.pod:7926
29366 msgid "(Added in 1.0.66)"
29367 msgstr ""
29368
29369 #. type: =head2
29370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1443
29371 #: ../src/guestfs-actions.pod:1443
29372 msgid "guestfs_egrepi"
29373 msgstr ""
29374
29375 #. type: verbatim
29376 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1445
29377 #: ../src/guestfs-actions.pod:1445
29378 #, no-wrap
29379 msgid ""
29380 " char **\n"
29381 " guestfs_egrepi (guestfs_h *g,\n"
29382 "                 const char *regex,\n"
29383 "                 const char *path);\n"
29384 "\n"
29385 msgstr ""
29386
29387 #. type: =head2
29388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1462
29389 #: ../src/guestfs-actions.pod:1462
29390 msgid "guestfs_equal"
29391 msgstr ""
29392
29393 #. type: verbatim
29394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1464
29395 #: ../src/guestfs-actions.pod:1464
29396 #, no-wrap
29397 msgid ""
29398 " int\n"
29399 " guestfs_equal (guestfs_h *g,\n"
29400 "                const char *file1,\n"
29401 "                const char *file2);\n"
29402 "\n"
29403 msgstr ""
29404
29405 #. type: =head2
29406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1478
29407 #: ../src/guestfs-actions.pod:1478
29408 msgid "guestfs_exists"
29409 msgstr ""
29410
29411 #. type: verbatim
29412 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1480
29413 #: ../src/guestfs-actions.pod:1480
29414 #, no-wrap
29415 msgid ""
29416 " int\n"
29417 " guestfs_exists (guestfs_h *g,\n"
29418 "                 const char *path);\n"
29419 "\n"
29420 msgstr ""
29421
29422 #. type: textblock
29423 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1487
29424 #: ../src/guestfs-actions.pod:1487
29425 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
29426 msgstr ""
29427
29428 #. type: =head2
29429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1493
29430 #: ../src/guestfs-actions.pod:1493
29431 msgid "guestfs_fallocate"
29432 msgstr ""
29433
29434 #. type: verbatim
29435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1495
29436 #: ../src/guestfs-actions.pod:1495
29437 #, no-wrap
29438 msgid ""
29439 " int\n"
29440 " guestfs_fallocate (guestfs_h *g,\n"
29441 "                    const char *path,\n"
29442 "                    int len);\n"
29443 "\n"
29444 msgstr ""
29445
29446 #. type: =head2
29447 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1519
29448 #: ../src/guestfs-actions.pod:1519
29449 msgid "guestfs_fallocate64"
29450 msgstr ""
29451
29452 #. type: verbatim
29453 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1521
29454 #: ../src/guestfs-actions.pod:1521
29455 #, no-wrap
29456 msgid ""
29457 " int\n"
29458 " guestfs_fallocate64 (guestfs_h *g,\n"
29459 "                      const char *path,\n"
29460 "                      int64_t len);\n"
29461 "\n"
29462 msgstr ""
29463
29464 #. type: textblock
29465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1530
29466 #: ../src/guestfs-actions.pod:1530
29467 msgid ""
29468 "Note that this call allocates disk blocks for the file.  To create a sparse "
29469 "file use C<guestfs_truncate_size> instead."
29470 msgstr ""
29471
29472 #. type: textblock
29473 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1533
29474 #: ../src/guestfs-actions.pod:1533
29475 msgid ""
29476 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
29477 "oversight it only allowed 30 bit lengths to be specified, effectively "
29478 "limiting the maximum size of files created through that call to 1GB."
29479 msgstr ""
29480
29481 #. type: textblock
29482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1544
29483 #: ../src/guestfs-actions.pod:1544
29484 msgid "(Added in 1.3.17)"
29485 msgstr ""
29486
29487 #. type: =head2
29488 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1546
29489 #: ../src/guestfs-actions.pod:1546
29490 msgid "guestfs_fgrep"
29491 msgstr ""
29492
29493 #. type: verbatim
29494 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1548
29495 #: ../src/guestfs-actions.pod:1548
29496 #, no-wrap
29497 msgid ""
29498 " char **\n"
29499 " guestfs_fgrep (guestfs_h *g,\n"
29500 "                const char *pattern,\n"
29501 "                const char *path);\n"
29502 "\n"
29503 msgstr ""
29504
29505 #. type: =head2
29506 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1565
29507 #: ../src/guestfs-actions.pod:1565
29508 msgid "guestfs_fgrepi"
29509 msgstr ""
29510
29511 #. type: verbatim
29512 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1567
29513 #: ../src/guestfs-actions.pod:1567
29514 #, no-wrap
29515 msgid ""
29516 " char **\n"
29517 " guestfs_fgrepi (guestfs_h *g,\n"
29518 "                 const char *pattern,\n"
29519 "                 const char *path);\n"
29520 "\n"
29521 msgstr ""
29522
29523 #. type: =head2
29524 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1584
29525 #: ../src/guestfs-actions.pod:1584
29526 msgid "guestfs_file"
29527 msgstr ""
29528
29529 #. type: verbatim
29530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1586
29531 #: ../src/guestfs-actions.pod:1586
29532 #, no-wrap
29533 msgid ""
29534 " char *\n"
29535 " guestfs_file (guestfs_h *g,\n"
29536 "               const char *path);\n"
29537 "\n"
29538 msgstr ""
29539
29540 #. type: textblock
29541 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1604
29542 #: ../src/guestfs-actions.pod:1604
29543 msgid ""
29544 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
29545 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
29546 msgstr ""
29547
29548 #. type: =head2
29549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1612
29550 #: ../src/guestfs-actions.pod:1612
29551 msgid "guestfs_file_architecture"
29552 msgstr ""
29553
29554 #. type: verbatim
29555 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1614
29556 #: ../src/guestfs-actions.pod:1614
29557 #, no-wrap
29558 msgid ""
29559 " char *\n"
29560 " guestfs_file_architecture (guestfs_h *g,\n"
29561 "                            const char *filename);\n"
29562 "\n"
29563 msgstr ""
29564
29565 #. type: textblock
29566 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1722
29567 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1885
29568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1902
29569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2603
29570 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2693
29571 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2759
29572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2946
29573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2964
29574 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3004
29575 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3079
29576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3172
29577 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3409
29578 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3541
29579 #: ../src/guestfs-actions.pod:1722 ../src/guestfs-actions.pod:1885
29580 #: ../src/guestfs-actions.pod:1902 ../src/guestfs-actions.pod:2603
29581 #: ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2759
29582 #: ../src/guestfs-actions.pod:2946 ../src/guestfs-actions.pod:2964
29583 #: ../src/guestfs-actions.pod:3004 ../src/guestfs-actions.pod:3079
29584 #: ../src/guestfs-actions.pod:3172 ../src/guestfs-actions.pod:3409
29585 #: ../src/guestfs-actions.pod:3541
29586 msgid "(Added in 1.5.3)"
29587 msgstr ""
29588
29589 #. type: =head2
29590 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1724
29591 #: ../src/guestfs-actions.pod:1724
29592 msgid "guestfs_filesize"
29593 msgstr ""
29594
29595 #. type: verbatim
29596 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1726
29597 #: ../src/guestfs-actions.pod:1726
29598 #, no-wrap
29599 msgid ""
29600 " int64_t\n"
29601 " guestfs_filesize (guestfs_h *g,\n"
29602 "                   const char *file);\n"
29603 "\n"
29604 msgstr ""
29605
29606 #. type: textblock
29607 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1732
29608 #: ../src/guestfs-actions.pod:1732
29609 msgid ""
29610 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
29611 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
29612 "devices, use C<guestfs_blockdev_getsize64>."
29613 msgstr ""
29614
29615 #. type: textblock
29616 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1738
29617 #: ../src/guestfs-actions.pod:1738
29618 msgid "(Added in 1.0.82)"
29619 msgstr ""
29620
29621 #. type: =head2
29622 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1740
29623 #: ../src/guestfs-actions.pod:1740
29624 msgid "guestfs_fill"
29625 msgstr ""
29626
29627 #. type: verbatim
29628 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1742
29629 #: ../src/guestfs-actions.pod:1742
29630 #, no-wrap
29631 msgid ""
29632 " int\n"
29633 " guestfs_fill (guestfs_h *g,\n"
29634 "               int c,\n"
29635 "               int len,\n"
29636 "               const char *path);\n"
29637 "\n"
29638 msgstr ""
29639
29640 #. type: textblock
29641 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1752
29642 #: ../src/guestfs-actions.pod:1752
29643 msgid ""
29644 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
29645 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
29646 "bytes use C<guestfs_fill_pattern>."
29647 msgstr ""
29648
29649 #. type: textblock
29650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1764
29651 #: ../src/guestfs-actions.pod:1764
29652 msgid "(Added in 1.0.79)"
29653 msgstr ""
29654
29655 #. type: =head2
29656 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1766
29657 #: ../src/guestfs-actions.pod:1766
29658 msgid "guestfs_fill_pattern"
29659 msgstr ""
29660
29661 #. type: verbatim
29662 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1768
29663 #: ../src/guestfs-actions.pod:1768
29664 #, no-wrap
29665 msgid ""
29666 " int\n"
29667 " guestfs_fill_pattern (guestfs_h *g,\n"
29668 "                       const char *pattern,\n"
29669 "                       int len,\n"
29670 "                       const char *path);\n"
29671 "\n"
29672 msgstr ""
29673
29674 #. type: textblock
29675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1774
29676 #: ../src/guestfs-actions.pod:1774
29677 msgid ""
29678 "This function is like C<guestfs_fill> except that it creates a new file of "
29679 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
29680 "pattern is truncated if necessary to ensure the length of the file is "
29681 "exactly C<len> bytes."
29682 msgstr ""
29683
29684 #. type: textblock
29685 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1786
29686 #: ../src/guestfs-actions.pod:1786
29687 msgid "(Added in 1.3.12)"
29688 msgstr ""
29689
29690 #. type: =head2
29691 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1788
29692 #: ../src/guestfs-actions.pod:1788
29693 msgid "guestfs_find"
29694 msgstr ""
29695
29696 #. type: verbatim
29697 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1790
29698 #: ../src/guestfs-actions.pod:1790
29699 #, no-wrap
29700 msgid ""
29701 " char **\n"
29702 " guestfs_find (guestfs_h *g,\n"
29703 "               const char *directory);\n"
29704 "\n"
29705 msgstr ""
29706
29707 #. type: textblock
29708 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1806
29709 #: ../src/guestfs-actions.pod:1806
29710 msgid ""
29711 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
29712 msgstr ""
29713
29714 #. type: textblock
29715 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1819
29716 #: ../src/guestfs-actions.pod:1819
29717 msgid "See also C<guestfs_find0>."
29718 msgstr ""
29719
29720 #. type: textblock
29721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1828
29722 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4299
29723 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6009
29724 #: ../src/guestfs-actions.pod:1828 ../src/guestfs-actions.pod:4299
29725 #: ../src/guestfs-actions.pod:6009
29726 msgid "(Added in 1.0.27)"
29727 msgstr ""
29728
29729 #. type: =head2
29730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1830
29731 #: ../src/guestfs-actions.pod:1830
29732 msgid "guestfs_find0"
29733 msgstr ""
29734
29735 #. type: verbatim
29736 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1832
29737 #: ../src/guestfs-actions.pod:1832
29738 #, no-wrap
29739 msgid ""
29740 " int\n"
29741 " guestfs_find0 (guestfs_h *g,\n"
29742 "                const char *directory,\n"
29743 "                const char *files);\n"
29744 "\n"
29745 msgstr ""
29746
29747 #. type: textblock
29748 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1841
29749 #: ../src/guestfs-actions.pod:1841
29750 msgid ""
29751 "This command works the same way as C<guestfs_find> with the following "
29752 "exceptions:"
29753 msgstr ""
29754
29755 #. type: textblock
29756 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1868
29757 #: ../src/guestfs-actions.pod:1868
29758 msgid "(Added in 1.0.74)"
29759 msgstr ""
29760
29761 #. type: =head2
29762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1870
29763 #: ../src/guestfs-actions.pod:1870
29764 msgid "guestfs_findfs_label"
29765 msgstr ""
29766
29767 #. type: verbatim
29768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1872
29769 #: ../src/guestfs-actions.pod:1872
29770 #, no-wrap
29771 msgid ""
29772 " char *\n"
29773 " guestfs_findfs_label (guestfs_h *g,\n"
29774 "                       const char *label);\n"
29775 "\n"
29776 msgstr ""
29777
29778 #. type: textblock
29779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1880
29780 #: ../src/guestfs-actions.pod:1880
29781 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
29782 msgstr ""
29783
29784 #. type: =head2
29785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1887
29786 #: ../src/guestfs-actions.pod:1887
29787 msgid "guestfs_findfs_uuid"
29788 msgstr ""
29789
29790 #. type: verbatim
29791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1889
29792 #: ../src/guestfs-actions.pod:1889
29793 #, no-wrap
29794 msgid ""
29795 " char *\n"
29796 " guestfs_findfs_uuid (guestfs_h *g,\n"
29797 "                      const char *uuid);\n"
29798 "\n"
29799 msgstr ""
29800
29801 #. type: textblock
29802 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1897
29803 #: ../src/guestfs-actions.pod:1897
29804 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
29805 msgstr ""
29806
29807 #. type: =head2
29808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1904
29809 #: ../src/guestfs-actions.pod:1904
29810 msgid "guestfs_fsck"
29811 msgstr ""
29812
29813 #. type: verbatim
29814 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1906
29815 #: ../src/guestfs-actions.pod:1906
29816 #, no-wrap
29817 msgid ""
29818 " int\n"
29819 " guestfs_fsck (guestfs_h *g,\n"
29820 "               const char *fstype,\n"
29821 "               const char *device);\n"
29822 "\n"
29823 msgstr ""
29824
29825 #. type: textblock
29826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1941
29827 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7780
29828 #: ../src/guestfs-actions.pod:1941 ../src/guestfs-actions.pod:7780
29829 msgid "(Added in 1.0.16)"
29830 msgstr ""
29831
29832 #. type: =head2
29833 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1943
29834 #: ../src/guestfs-actions.pod:1943
29835 msgid "guestfs_get_append"
29836 msgstr ""
29837
29838 #. type: verbatim
29839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1945
29840 #: ../src/guestfs-actions.pod:1945
29841 #, no-wrap
29842 msgid ""
29843 " const char *\n"
29844 " guestfs_get_append (guestfs_h *g);\n"
29845 "\n"
29846 msgstr ""
29847
29848 #. type: textblock
29849 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1953
29850 #: ../src/guestfs-actions.pod:1953
29851 msgid ""
29852 "This function returns a string which may be NULL.  There is no way to return "
29853 "an error from this function.  The string is owned by the guest handle and "
29854 "must I<not> be freed."
29855 msgstr ""
29856
29857 #. type: textblock
29858 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1957
29859 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5687
29860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6169
29861 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6611
29862 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6630
29863 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6646
29864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6670
29865 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7424
29866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7439
29867 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7823
29868 #: ../src/guestfs-actions.pod:1957 ../src/guestfs-actions.pod:5687
29869 #: ../src/guestfs-actions.pod:6169 ../src/guestfs-actions.pod:6611
29870 #: ../src/guestfs-actions.pod:6630 ../src/guestfs-actions.pod:6646
29871 #: ../src/guestfs-actions.pod:6670 ../src/guestfs-actions.pod:7424
29872 #: ../src/guestfs-actions.pod:7439 ../src/guestfs-actions.pod:7823
29873 msgid "(Added in 1.0.26)"
29874 msgstr ""
29875
29876 #. type: =head2
29877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1959
29878 #: ../src/guestfs-actions.pod:1959
29879 msgid "guestfs_get_attach_method"
29880 msgstr ""
29881
29882 #. type: verbatim
29883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1961
29884 #: ../src/guestfs-actions.pod:1961
29885 #, no-wrap
29886 msgid ""
29887 " char *\n"
29888 " guestfs_get_attach_method (guestfs_h *g);\n"
29889 "\n"
29890 msgstr ""
29891
29892 #. type: textblock
29893 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1964
29894 #: ../src/guestfs-actions.pod:1964
29895 msgid "Return the current attach method.  See C<guestfs_set_attach_method>."
29896 msgstr ""
29897
29898 #. type: textblock
29899 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1969
29900 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6199
29901 #: ../src/guestfs-actions.pod:1969 ../src/guestfs-actions.pod:6199
29902 msgid "(Added in 1.9.8)"
29903 msgstr ""
29904
29905 #. type: =head2
29906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1971
29907 #: ../src/guestfs-actions.pod:1971
29908 msgid "guestfs_get_autosync"
29909 msgstr ""
29910
29911 #. type: verbatim
29912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1973
29913 #: ../src/guestfs-actions.pod:1973
29914 #, no-wrap
29915 msgid ""
29916 " int\n"
29917 " guestfs_get_autosync (guestfs_h *g);\n"
29918 "\n"
29919 msgstr ""
29920
29921 #. type: =head2
29922 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1982
29923 #: ../src/guestfs-actions.pod:1982
29924 msgid "guestfs_get_direct"
29925 msgstr ""
29926
29927 #. type: verbatim
29928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1984
29929 #: ../src/guestfs-actions.pod:1984
29930 #, no-wrap
29931 msgid ""
29932 " int\n"
29933 " guestfs_get_direct (guestfs_h *g);\n"
29934 "\n"
29935 msgstr ""
29936
29937 #. type: textblock
29938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1991
29939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6240
29940 #: ../src/guestfs-actions.pod:1991 ../src/guestfs-actions.pod:6240
29941 msgid "(Added in 1.0.72)"
29942 msgstr ""
29943
29944 #. type: =head2
29945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1993
29946 #: ../src/guestfs-actions.pod:1993
29947 msgid "guestfs_get_e2label"
29948 msgstr ""
29949
29950 #. type: verbatim
29951 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1995
29952 #: ../src/guestfs-actions.pod:1995
29953 #, no-wrap
29954 msgid ""
29955 " char *\n"
29956 " guestfs_get_e2label (guestfs_h *g,\n"
29957 "                      const char *device);\n"
29958 "\n"
29959 msgstr ""
29960
29961 #. type: textblock
29962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2012
29963 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2033
29964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6258
29965 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6277
29966 #: ../src/guestfs-actions.pod:2012 ../src/guestfs-actions.pod:2033
29967 #: ../src/guestfs-actions.pod:6258 ../src/guestfs-actions.pod:6277
29968 msgid "(Added in 1.0.15)"
29969 msgstr ""
29970
29971 #. type: =head2
29972 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2014
29973 #: ../src/guestfs-actions.pod:2014
29974 msgid "guestfs_get_e2uuid"
29975 msgstr ""
29976
29977 #. type: verbatim
29978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2016
29979 #: ../src/guestfs-actions.pod:2016
29980 #, no-wrap
29981 msgid ""
29982 " char *\n"
29983 " guestfs_get_e2uuid (guestfs_h *g,\n"
29984 "                     const char *device);\n"
29985 "\n"
29986 msgstr ""
29987
29988 #. type: =head2
29989 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2035
29990 #: ../src/guestfs-actions.pod:2035
29991 msgid "guestfs_get_memsize"
29992 msgstr ""
29993
29994 #. type: verbatim
29995 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2037
29996 #: ../src/guestfs-actions.pod:2037
29997 #, no-wrap
29998 msgid ""
29999 " int\n"
30000 " guestfs_get_memsize (guestfs_h *g);\n"
30001 "\n"
30002 msgstr ""
30003
30004 #. type: textblock
30005 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2043
30006 #: ../src/guestfs-actions.pod:2043
30007 msgid ""
30008 "If C<guestfs_set_memsize> was not called on this handle, and if "
30009 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
30010 "value for memsize."
30011 msgstr ""
30012
30013 #. type: textblock
30014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2052
30015 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4590
30016 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4799
30017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4818
30018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4837
30019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4849
30020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4866
30021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4879
30022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5912
30023 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6298
30024 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6578
30025 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7193
30026 #: ../src/guestfs-actions.pod:2052 ../src/guestfs-actions.pod:4590
30027 #: ../src/guestfs-actions.pod:4799 ../src/guestfs-actions.pod:4818
30028 #: ../src/guestfs-actions.pod:4837 ../src/guestfs-actions.pod:4849
30029 #: ../src/guestfs-actions.pod:4866 ../src/guestfs-actions.pod:4879
30030 #: ../src/guestfs-actions.pod:5912 ../src/guestfs-actions.pod:6298
30031 #: ../src/guestfs-actions.pod:6578 ../src/guestfs-actions.pod:7193
30032 msgid "(Added in 1.0.55)"
30033 msgstr ""
30034
30035 #. type: =head2
30036 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2054
30037 #: ../src/guestfs-actions.pod:2054
30038 msgid "guestfs_get_network"
30039 msgstr ""
30040
30041 #. type: verbatim
30042 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2056
30043 #: ../src/guestfs-actions.pod:2056
30044 #, no-wrap
30045 msgid ""
30046 " int\n"
30047 " guestfs_get_network (guestfs_h *g);\n"
30048 "\n"
30049 msgstr ""
30050
30051 #. type: textblock
30052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2063
30053 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6317
30054 #: ../src/guestfs-actions.pod:2063 ../src/guestfs-actions.pod:6317
30055 msgid "(Added in 1.5.4)"
30056 msgstr ""
30057
30058 #. type: =head2
30059 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2065
30060 #: ../src/guestfs-actions.pod:2065
30061 msgid "guestfs_get_path"
30062 msgstr ""
30063
30064 #. type: verbatim
30065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2067
30066 #: ../src/guestfs-actions.pod:2067
30067 #, no-wrap
30068 msgid ""
30069 " const char *\n"
30070 " guestfs_get_path (guestfs_h *g);\n"
30071 "\n"
30072 msgstr ""
30073
30074 #. type: textblock
30075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2075
30076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2115
30077 #: ../src/guestfs-actions.pod:2075 ../src/guestfs-actions.pod:2115
30078 msgid ""
30079 "This function returns a string, or NULL on error.  The string is owned by "
30080 "the guest handle and must I<not> be freed."
30081 msgstr ""
30082
30083 #. type: =head2
30084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2080
30085 #: ../src/guestfs-actions.pod:2080
30086 msgid "guestfs_get_pgroup"
30087 msgstr ""
30088
30089 #. type: verbatim
30090 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2082
30091 #: ../src/guestfs-actions.pod:2082
30092 #, no-wrap
30093 msgid ""
30094 " int\n"
30095 " guestfs_get_pgroup (guestfs_h *g);\n"
30096 "\n"
30097 msgstr ""
30098
30099 #. type: textblock
30100 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2089
30101 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6353
30102 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7685
30103 #: ../src/guestfs-actions.pod:2089 ../src/guestfs-actions.pod:6353
30104 #: ../src/guestfs-actions.pod:7685
30105 msgid "(Added in 1.11.18)"
30106 msgstr ""
30107
30108 #. type: =head2
30109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2091
30110 #: ../src/guestfs-actions.pod:2091
30111 msgid "guestfs_get_pid"
30112 msgstr ""
30113
30114 #. type: verbatim
30115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2093
30116 #: ../src/guestfs-actions.pod:2093
30117 #, no-wrap
30118 msgid ""
30119 " int\n"
30120 " guestfs_get_pid (guestfs_h *g);\n"
30121 "\n"
30122 msgstr ""
30123
30124 #. type: textblock
30125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2103
30126 #: ../src/guestfs-actions.pod:2103
30127 msgid "(Added in 1.0.56)"
30128 msgstr ""
30129
30130 #. type: =head2
30131 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2105
30132 #: ../src/guestfs-actions.pod:2105
30133 msgid "guestfs_get_qemu"
30134 msgstr ""
30135
30136 #. type: verbatim
30137 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2107
30138 #: ../src/guestfs-actions.pod:2107
30139 #, no-wrap
30140 msgid ""
30141 " const char *\n"
30142 " guestfs_get_qemu (guestfs_h *g);\n"
30143 "\n"
30144 msgstr ""
30145
30146 #. type: textblock
30147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2118
30148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6381
30149 #: ../src/guestfs-actions.pod:2118 ../src/guestfs-actions.pod:6381
30150 msgid "(Added in 1.0.6)"
30151 msgstr ""
30152
30153 #. type: =head2
30154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2120
30155 #: ../src/guestfs-actions.pod:2120
30156 msgid "guestfs_get_recovery_proc"
30157 msgstr ""
30158
30159 #. type: verbatim
30160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2122
30161 #: ../src/guestfs-actions.pod:2122
30162 #, no-wrap
30163 msgid ""
30164 " int\n"
30165 " guestfs_get_recovery_proc (guestfs_h *g);\n"
30166 "\n"
30167 msgstr ""
30168
30169 #. type: textblock
30170 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2129
30171 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3663
30172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3994
30173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4397
30174 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4429
30175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5617
30176 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5960
30177 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6405
30178 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7096
30179 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7116
30180 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7308
30181 #: ../src/guestfs-actions.pod:2129 ../src/guestfs-actions.pod:3663
30182 #: ../src/guestfs-actions.pod:3994 ../src/guestfs-actions.pod:4397
30183 #: ../src/guestfs-actions.pod:4429 ../src/guestfs-actions.pod:5617
30184 #: ../src/guestfs-actions.pod:5960 ../src/guestfs-actions.pod:6405
30185 #: ../src/guestfs-actions.pod:7096 ../src/guestfs-actions.pod:7116
30186 #: ../src/guestfs-actions.pod:7308
30187 msgid "(Added in 1.0.77)"
30188 msgstr ""
30189
30190 #. type: =head2
30191 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2131
30192 #: ../src/guestfs-actions.pod:2131
30193 msgid "guestfs_get_selinux"
30194 msgstr ""
30195
30196 #. type: verbatim
30197 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2133
30198 #: ../src/guestfs-actions.pod:2133
30199 #, no-wrap
30200 msgid ""
30201 " int\n"
30202 " guestfs_get_selinux (guestfs_h *g);\n"
30203 "\n"
30204 msgstr ""
30205
30206 #. type: textblock
30207 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2136
30208 #: ../src/guestfs-actions.pod:2136
30209 msgid ""
30210 "This returns the current setting of the selinux flag which is passed to the "
30211 "appliance at boot time.  See C<guestfs_set_selinux>."
30212 msgstr ""
30213
30214 #. type: textblock
30215 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2144
30216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2207
30217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6424
30218 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6482
30219 #: ../src/guestfs-actions.pod:2144 ../src/guestfs-actions.pod:2207
30220 #: ../src/guestfs-actions.pod:6424 ../src/guestfs-actions.pod:6482
30221 msgid "(Added in 1.0.67)"
30222 msgstr ""
30223
30224 #. type: =head2
30225 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2146
30226 #: ../src/guestfs-actions.pod:2146
30227 msgid "guestfs_get_state"
30228 msgstr ""
30229
30230 #. type: verbatim
30231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2148
30232 #: ../src/guestfs-actions.pod:2148
30233 #, no-wrap
30234 msgid ""
30235 " int\n"
30236 " guestfs_get_state (guestfs_h *g);\n"
30237 "\n"
30238 msgstr ""
30239
30240 #. type: =head2
30241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2160
30242 #: ../src/guestfs-actions.pod:2160
30243 msgid "guestfs_get_trace"
30244 msgstr ""
30245
30246 #. type: verbatim
30247 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2162
30248 #: ../src/guestfs-actions.pod:2162
30249 #, no-wrap
30250 msgid ""
30251 " int\n"
30252 " guestfs_get_trace (guestfs_h *g);\n"
30253 "\n"
30254 msgstr ""
30255
30256 #. type: =head2
30257 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2171
30258 #: ../src/guestfs-actions.pod:2171
30259 msgid "guestfs_get_umask"
30260 msgstr ""
30261
30262 #. type: verbatim
30263 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2173
30264 #: ../src/guestfs-actions.pod:2173
30265 #, no-wrap
30266 msgid ""
30267 " int\n"
30268 " guestfs_get_umask (guestfs_h *g);\n"
30269 "\n"
30270 msgstr ""
30271
30272 #. type: textblock
30273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2176
30274 #: ../src/guestfs-actions.pod:2176
30275 msgid ""
30276 "Return the current umask.  By default the umask is C<022> unless it has been "
30277 "set by calling C<guestfs_umask>."
30278 msgstr ""
30279
30280 #. type: =head2
30281 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2183
30282 #: ../src/guestfs-actions.pod:2183
30283 msgid "guestfs_get_verbose"
30284 msgstr ""
30285
30286 #. type: verbatim
30287 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2185
30288 #: ../src/guestfs-actions.pod:2185
30289 #, no-wrap
30290 msgid ""
30291 " int\n"
30292 " guestfs_get_verbose (guestfs_h *g);\n"
30293 "\n"
30294 msgstr ""
30295
30296 #. type: =head2
30297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2194
30298 #: ../src/guestfs-actions.pod:2194
30299 msgid "guestfs_getcon"
30300 msgstr ""
30301
30302 #. type: verbatim
30303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2196
30304 #: ../src/guestfs-actions.pod:2196
30305 #, no-wrap
30306 msgid ""
30307 " char *\n"
30308 " guestfs_getcon (guestfs_h *g);\n"
30309 "\n"
30310 msgstr ""
30311
30312 #. type: textblock
30313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2201
30314 #: ../src/guestfs-actions.pod:2201
30315 msgid ""
30316 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
30317 msgstr ""
30318
30319 #. type: =head2
30320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2209
30321 #: ../src/guestfs-actions.pod:2209
30322 msgid "guestfs_getxattr"
30323 msgstr ""
30324
30325 #. type: verbatim
30326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2211
30327 #: ../src/guestfs-actions.pod:2211
30328 #, no-wrap
30329 msgid ""
30330 " char *\n"
30331 " guestfs_getxattr (guestfs_h *g,\n"
30332 "                   const char *path,\n"
30333 "                   const char *name,\n"
30334 "                   size_t *size_r);\n"
30335 "\n"
30336 msgstr ""
30337
30338 #. type: textblock
30339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2217
30340 #: ../src/guestfs-actions.pod:2217
30341 msgid ""
30342 "Get a single extended attribute from file C<path> named C<name>.  This call "
30343 "follows symlinks.  If you want to lookup an extended attribute for the "
30344 "symlink itself, use C<guestfs_lgetxattr>."
30345 msgstr ""
30346
30347 #. type: textblock
30348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2221
30349 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3677
30350 #: ../src/guestfs-actions.pod:2221 ../src/guestfs-actions.pod:3677
30351 msgid ""
30352 "Normally it is better to get all extended attributes from a file in one go "
30353 "by calling C<guestfs_getxattrs>.  However some Linux filesystem "
30354 "implementations are buggy and do not provide a way to list out attributes.  "
30355 "For these filesystems (notably ntfs-3g)  you have to know the names of the "
30356 "extended attributes you want in advance and call this function."
30357 msgstr ""
30358
30359 #. type: textblock
30360 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2231
30361 #: ../src/guestfs-actions.pod:2231
30362 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
30363 msgstr ""
30364
30365 #. type: textblock
30366 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2233
30367 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2424
30368 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2894
30369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3689
30370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5610
30371 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5636
30372 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5817
30373 #: ../src/guestfs-actions.pod:2233 ../src/guestfs-actions.pod:2424
30374 #: ../src/guestfs-actions.pod:2894 ../src/guestfs-actions.pod:3689
30375 #: ../src/guestfs-actions.pod:5610 ../src/guestfs-actions.pod:5636
30376 #: ../src/guestfs-actions.pod:5817
30377 msgid ""
30378 "This function returns a buffer, or NULL on error.  The size of the returned "
30379 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
30380 "after use>."
30381 msgstr ""
30382
30383 #. type: textblock
30384 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2237
30385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3693
30386 #: ../src/guestfs-actions.pod:2237 ../src/guestfs-actions.pod:3693
30387 msgid "(Added in 1.7.24)"
30388 msgstr ""
30389
30390 #. type: =head2
30391 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2239
30392 #: ../src/guestfs-actions.pod:2239
30393 msgid "guestfs_getxattrs"
30394 msgstr ""
30395
30396 #. type: verbatim
30397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2241
30398 #: ../src/guestfs-actions.pod:2241
30399 #, no-wrap
30400 msgid ""
30401 " struct guestfs_xattr_list *\n"
30402 " guestfs_getxattrs (guestfs_h *g,\n"
30403 "                    const char *path);\n"
30404 "\n"
30405 msgstr ""
30406
30407 #. type: textblock
30408 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2251
30409 #: ../src/guestfs-actions.pod:2251
30410 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
30411 msgstr ""
30412
30413 #. type: textblock
30414 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2253
30415 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3705
30416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4393
30417 #: ../src/guestfs-actions.pod:2253 ../src/guestfs-actions.pod:3705
30418 #: ../src/guestfs-actions.pod:4393
30419 msgid ""
30420 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
30421 "an error.  I<The caller must call C<guestfs_free_xattr_list> after use>."
30422 msgstr ""
30423
30424 #. type: textblock
30425 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2257
30426 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3709
30427 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3908
30428 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3944
30429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5990
30430 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6501
30431 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7888
30432 #: ../src/guestfs-actions.pod:2257 ../src/guestfs-actions.pod:3709
30433 #: ../src/guestfs-actions.pod:3908 ../src/guestfs-actions.pod:3944
30434 #: ../src/guestfs-actions.pod:5990 ../src/guestfs-actions.pod:6501
30435 #: ../src/guestfs-actions.pod:7888
30436 msgid "(Added in 1.0.59)"
30437 msgstr ""
30438
30439 #. type: =head2
30440 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2259
30441 #: ../src/guestfs-actions.pod:2259
30442 msgid "guestfs_glob_expand"
30443 msgstr ""
30444
30445 #. type: verbatim
30446 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2261
30447 #: ../src/guestfs-actions.pod:2261
30448 #, no-wrap
30449 msgid ""
30450 " char **\n"
30451 " guestfs_glob_expand (guestfs_h *g,\n"
30452 "                      const char *pattern);\n"
30453 "\n"
30454 msgstr ""
30455
30456 #. type: textblock
30457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2280
30458 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6694
30459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6711
30460 #: ../src/guestfs-actions.pod:2280 ../src/guestfs-actions.pod:6694
30461 #: ../src/guestfs-actions.pod:6711
30462 msgid "(Added in 1.0.50)"
30463 msgstr ""
30464
30465 #. type: =head2
30466 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2282
30467 #: ../src/guestfs-actions.pod:2282
30468 msgid "guestfs_grep"
30469 msgstr ""
30470
30471 #. type: verbatim
30472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2284
30473 #: ../src/guestfs-actions.pod:2284
30474 #, no-wrap
30475 msgid ""
30476 " char **\n"
30477 " guestfs_grep (guestfs_h *g,\n"
30478 "               const char *regex,\n"
30479 "               const char *path);\n"
30480 "\n"
30481 msgstr ""
30482
30483 #. type: =head2
30484 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2301
30485 #: ../src/guestfs-actions.pod:2301
30486 msgid "guestfs_grepi"
30487 msgstr ""
30488
30489 #. type: verbatim
30490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2303
30491 #: ../src/guestfs-actions.pod:2303
30492 #, no-wrap
30493 msgid ""
30494 " char **\n"
30495 " guestfs_grepi (guestfs_h *g,\n"
30496 "                const char *regex,\n"
30497 "                const char *path);\n"
30498 "\n"
30499 msgstr ""
30500
30501 #. type: =head2
30502 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2320
30503 #: ../src/guestfs-actions.pod:2320
30504 msgid "guestfs_grub_install"
30505 msgstr ""
30506
30507 #. type: verbatim
30508 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2322
30509 #: ../src/guestfs-actions.pod:2322
30510 #, no-wrap
30511 msgid ""
30512 " int\n"
30513 " guestfs_grub_install (guestfs_h *g,\n"
30514 "                       const char *root,\n"
30515 "                       const char *device);\n"
30516 "\n"
30517 msgstr ""
30518
30519 #. type: textblock
30520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2343
30521 #: ../src/guestfs-actions.pod:2343
30522 msgid "(Added in 1.0.17)"
30523 msgstr ""
30524
30525 #. type: =head2
30526 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2345
30527 #: ../src/guestfs-actions.pod:2345
30528 msgid "guestfs_head"
30529 msgstr ""
30530
30531 #. type: verbatim
30532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2347
30533 #: ../src/guestfs-actions.pod:2347
30534 #, no-wrap
30535 msgid ""
30536 " char **\n"
30537 " guestfs_head (guestfs_h *g,\n"
30538 "               const char *path);\n"
30539 "\n"
30540 msgstr ""
30541
30542 #. type: =head2
30543 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2363
30544 #: ../src/guestfs-actions.pod:2363
30545 msgid "guestfs_head_n"
30546 msgstr ""
30547
30548 #. type: verbatim
30549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2365
30550 #: ../src/guestfs-actions.pod:2365
30551 #, no-wrap
30552 msgid ""
30553 " char **\n"
30554 " guestfs_head_n (guestfs_h *g,\n"
30555 "                 int nrlines,\n"
30556 "                 const char *path);\n"
30557 "\n"
30558 msgstr ""
30559
30560 #. type: =head2
30561 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2387
30562 #: ../src/guestfs-actions.pod:2387
30563 msgid "guestfs_hexdump"
30564 msgstr ""
30565
30566 #. type: verbatim
30567 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2389
30568 #: ../src/guestfs-actions.pod:2389
30569 #, no-wrap
30570 msgid ""
30571 " char *\n"
30572 " guestfs_hexdump (guestfs_h *g,\n"
30573 "                  const char *path);\n"
30574 "\n"
30575 msgstr ""
30576
30577 #. type: textblock
30578 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2402
30579 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6775
30580 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6830
30581 #: ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:6775
30582 #: ../src/guestfs-actions.pod:6830
30583 msgid "(Added in 1.0.22)"
30584 msgstr ""
30585
30586 #. type: =head2
30587 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2404
30588 #: ../src/guestfs-actions.pod:2404
30589 msgid "guestfs_initrd_cat"
30590 msgstr ""
30591
30592 #. type: verbatim
30593 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2406
30594 #: ../src/guestfs-actions.pod:2406
30595 #, no-wrap
30596 msgid ""
30597 " char *\n"
30598 " guestfs_initrd_cat (guestfs_h *g,\n"
30599 "                     const char *initrdpath,\n"
30600 "                     const char *filename,\n"
30601 "                     size_t *size_r);\n"
30602 "\n"
30603 msgstr ""
30604
30605 #. type: textblock
30606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2422
30607 #: ../src/guestfs-actions.pod:2422
30608 msgid "See also C<guestfs_initrd_list>."
30609 msgstr ""
30610
30611 #. type: =head2
30612 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2433
30613 #: ../src/guestfs-actions.pod:2433
30614 msgid "guestfs_initrd_list"
30615 msgstr ""
30616
30617 #. type: verbatim
30618 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2435
30619 #: ../src/guestfs-actions.pod:2435
30620 #, no-wrap
30621 msgid ""
30622 " char **\n"
30623 " guestfs_initrd_list (guestfs_h *g,\n"
30624 "                      const char *path);\n"
30625 "\n"
30626 msgstr ""
30627
30628 #. type: =head2
30629 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2455
30630 #: ../src/guestfs-actions.pod:2455
30631 msgid "guestfs_inotify_add_watch"
30632 msgstr ""
30633
30634 #. type: verbatim
30635 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2457
30636 #: ../src/guestfs-actions.pod:2457
30637 #, no-wrap
30638 msgid ""
30639 " int64_t\n"
30640 " guestfs_inotify_add_watch (guestfs_h *g,\n"
30641 "                            const char *path,\n"
30642 "                            int mask);\n"
30643 "\n"
30644 msgstr ""
30645
30646 #. type: =head2
30647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2476
30648 #: ../src/guestfs-actions.pod:2476
30649 msgid "guestfs_inotify_close"
30650 msgstr ""
30651
30652 #. type: verbatim
30653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2478
30654 #: ../src/guestfs-actions.pod:2478
30655 #, no-wrap
30656 msgid ""
30657 " int\n"
30658 " guestfs_inotify_close (guestfs_h *g);\n"
30659 "\n"
30660 msgstr ""
30661
30662 #. type: =head2
30663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2489
30664 #: ../src/guestfs-actions.pod:2489
30665 msgid "guestfs_inotify_files"
30666 msgstr ""
30667
30668 #. type: verbatim
30669 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2491
30670 #: ../src/guestfs-actions.pod:2491
30671 #, no-wrap
30672 msgid ""
30673 " char **\n"
30674 " guestfs_inotify_files (guestfs_h *g);\n"
30675 "\n"
30676 msgstr ""
30677
30678 #. type: textblock
30679 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2494
30680 #: ../src/guestfs-actions.pod:2494
30681 msgid ""
30682 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
30683 "returns a list of pathnames of objects that were touched.  The returned "
30684 "pathnames are sorted and deduplicated."
30685 msgstr ""
30686
30687 #. type: =head2
30688 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2504
30689 #: ../src/guestfs-actions.pod:2504
30690 msgid "guestfs_inotify_init"
30691 msgstr ""
30692
30693 #. type: verbatim
30694 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2506
30695 #: ../src/guestfs-actions.pod:2506
30696 #, no-wrap
30697 msgid ""
30698 " int\n"
30699 " guestfs_inotify_init (guestfs_h *g,\n"
30700 "                       int maxevents);\n"
30701 "\n"
30702 msgstr ""
30703
30704 #. type: textblock
30705 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2514
30706 #: ../src/guestfs-actions.pod:2514
30707 msgid ""
30708 "C<maxevents> is the maximum number of events which will be queued up between "
30709 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
30710 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
30711 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
30712 "throws away events, but records the fact that it threw them away by setting "
30713 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
30714 "C<guestfs_inotify_read>)."
30715 msgstr ""
30716
30717 #. type: textblock
30718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2524
30719 #: ../src/guestfs-actions.pod:2524
30720 msgid ""
30721 "Before any events are generated, you have to add some watches to the "
30722 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
30723 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
30724 msgstr ""
30725
30726 #. type: textblock
30727 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2530
30728 #: ../src/guestfs-actions.pod:2530
30729 msgid ""
30730 "Queued up events should be read periodically by calling "
30731 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
30732 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
30733 "often enough then you risk the internal queue overflowing."
30734 msgstr ""
30735
30736 #. type: textblock
30737 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2537
30738 #: ../src/guestfs-actions.pod:2537
30739 msgid ""
30740 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
30741 "This also removes any watches automatically."
30742 msgstr ""
30743
30744 #. type: =head2
30745 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2550
30746 #: ../src/guestfs-actions.pod:2550
30747 msgid "guestfs_inotify_read"
30748 msgstr ""
30749
30750 #. type: verbatim
30751 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2552
30752 #: ../src/guestfs-actions.pod:2552
30753 #, no-wrap
30754 msgid ""
30755 " struct guestfs_inotify_event_list *\n"
30756 " guestfs_inotify_read (guestfs_h *g);\n"
30757 "\n"
30758 msgstr ""
30759
30760 #. type: textblock
30761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2566
30762 #: ../src/guestfs-actions.pod:2566
30763 msgid ""
30764 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
30765 "there was an error.  I<The caller must call "
30766 "C<guestfs_free_inotify_event_list> after use>."
30767 msgstr ""
30768
30769 #. type: =head2
30770 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2572
30771 #: ../src/guestfs-actions.pod:2572
30772 msgid "guestfs_inotify_rm_watch"
30773 msgstr ""
30774
30775 #. type: verbatim
30776 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2574
30777 #: ../src/guestfs-actions.pod:2574
30778 #, no-wrap
30779 msgid ""
30780 " int\n"
30781 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
30782 "                           int wd);\n"
30783 "\n"
30784 msgstr ""
30785
30786 #. type: textblock
30787 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2578
30788 #: ../src/guestfs-actions.pod:2578
30789 msgid ""
30790 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
30791 msgstr ""
30792
30793 #. type: =head2
30794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2585
30795 #: ../src/guestfs-actions.pod:2585
30796 msgid "guestfs_inspect_get_arch"
30797 msgstr ""
30798
30799 #. type: verbatim
30800 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2587
30801 #: ../src/guestfs-actions.pod:2587
30802 #, no-wrap
30803 msgid ""
30804 " char *\n"
30805 " guestfs_inspect_get_arch (guestfs_h *g,\n"
30806 "                           const char *root);\n"
30807 "\n"
30808 msgstr ""
30809
30810 #. type: textblock
30811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2591
30812 #: ../src/guestfs-actions.pod:2591
30813 msgid ""
30814 "This returns the architecture of the inspected operating system.  The "
30815 "possible return values are listed under C<guestfs_file_architecture>."
30816 msgstr ""
30817
30818 #. type: =head2
30819 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2605
30820 #: ../src/guestfs-actions.pod:2605
30821 msgid "guestfs_inspect_get_distro"
30822 msgstr ""
30823
30824 #. type: verbatim
30825 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2607
30826 #: ../src/guestfs-actions.pod:2607
30827 #, no-wrap
30828 msgid ""
30829 " char *\n"
30830 " guestfs_inspect_get_distro (guestfs_h *g,\n"
30831 "                             const char *root);\n"
30832 "\n"
30833 msgstr ""
30834
30835 #. type: =head2
30836 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2695
30837 #: ../src/guestfs-actions.pod:2695
30838 msgid "guestfs_inspect_get_drive_mappings"
30839 msgstr ""
30840
30841 #. type: verbatim
30842 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2697
30843 #: ../src/guestfs-actions.pod:2697
30844 #, no-wrap
30845 msgid ""
30846 " char **\n"
30847 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
30848 "                                     const char *root);\n"
30849 "\n"
30850 msgstr ""
30851
30852 #. type: textblock
30853 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2726
30854 #: ../src/guestfs-actions.pod:2726
30855 msgid ""
30856 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30857 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
30858 msgstr ""
30859
30860 #. type: textblock
30861 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2730
30862 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2998
30863 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3796
30864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5078
30865 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7132
30866 #: ../src/guestfs-actions.pod:2730 ../src/guestfs-actions.pod:2998
30867 #: ../src/guestfs-actions.pod:3796 ../src/guestfs-actions.pod:5078
30868 #: ../src/guestfs-actions.pod:7132
30869 msgid ""
30870 "This function returns a NULL-terminated array of strings, or NULL if there "
30871 "was an error.  The array of strings will always have length C<2n+1>, where "
30872 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
30873 "caller must free the strings and the array after use>."
30874 msgstr ""
30875
30876 #. type: textblock
30877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2736
30878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3192
30879 #: ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3192
30880 msgid "(Added in 1.9.17)"
30881 msgstr ""
30882
30883 #. type: =head2
30884 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2738
30885 #: ../src/guestfs-actions.pod:2738
30886 msgid "guestfs_inspect_get_filesystems"
30887 msgstr ""
30888
30889 #. type: verbatim
30890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2740
30891 #: ../src/guestfs-actions.pod:2740
30892 #, no-wrap
30893 msgid ""
30894 " char **\n"
30895 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
30896 "                                  const char *root);\n"
30897 "\n"
30898 msgstr ""
30899
30900 #. type: textblock
30901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2752
30902 #: ../src/guestfs-actions.pod:2752
30903 msgid ""
30904 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
30905 "C<guestfs_inspect_get_mountpoints>."
30906 msgstr ""
30907
30908 #. type: =head2
30909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2761
30910 #: ../src/guestfs-actions.pod:2761
30911 msgid "guestfs_inspect_get_format"
30912 msgstr ""
30913
30914 #. type: verbatim
30915 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2763
30916 #: ../src/guestfs-actions.pod:2763
30917 #, no-wrap
30918 msgid ""
30919 " char *\n"
30920 " guestfs_inspect_get_format (guestfs_h *g,\n"
30921 "                             const char *root);\n"
30922 "\n"
30923 msgstr ""
30924
30925 #. type: textblock
30926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2797
30927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3228
30928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3244
30929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3262
30930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6028
30931 #: ../src/guestfs-actions.pod:2797 ../src/guestfs-actions.pod:3228
30932 #: ../src/guestfs-actions.pod:3244 ../src/guestfs-actions.pod:3262
30933 #: ../src/guestfs-actions.pod:6028
30934 msgid "(Added in 1.9.4)"
30935 msgstr ""
30936
30937 #. type: =head2
30938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2799
30939 #: ../src/guestfs-actions.pod:2799
30940 msgid "guestfs_inspect_get_hostname"
30941 msgstr ""
30942
30943 #. type: verbatim
30944 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2801
30945 #: ../src/guestfs-actions.pod:2801
30946 #, no-wrap
30947 msgid ""
30948 " char *\n"
30949 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
30950 "                               const char *root);\n"
30951 "\n"
30952 msgstr ""
30953
30954 #. type: textblock
30955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2816
30956 #: ../src/guestfs-actions.pod:2816
30957 msgid "(Added in 1.7.9)"
30958 msgstr ""
30959
30960 #. type: =head2
30961 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2818
30962 #: ../src/guestfs-actions.pod:2818
30963 msgid "guestfs_inspect_get_icon"
30964 msgstr ""
30965
30966 #. type: verbatim
30967 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2820
30968 #: ../src/guestfs-actions.pod:2820
30969 #, no-wrap
30970 msgid ""
30971 " char *\n"
30972 " guestfs_inspect_get_icon (guestfs_h *g,\n"
30973 "                           const char *root,\n"
30974 "                           size_t *size_r,\n"
30975 "                           ...);\n"
30976 "\n"
30977 msgstr ""
30978
30979 #. type: verbatim
30980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2831
30981 #: ../src/guestfs-actions.pod:2831
30982 #, no-wrap
30983 msgid ""
30984 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
30985 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
30986 "\n"
30987 msgstr ""
30988
30989 #. type: textblock
30990 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2898
30991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3723
30992 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4977
30993 #: ../src/guestfs-actions.pod:2898 ../src/guestfs-actions.pod:3723
30994 #: ../src/guestfs-actions.pod:4977
30995 msgid "(Added in 1.11.12)"
30996 msgstr ""
30997
30998 #. type: =head2
30999 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2900
31000 #: ../src/guestfs-actions.pod:2900
31001 msgid "guestfs_inspect_get_icon_va"
31002 msgstr ""
31003
31004 #. type: verbatim
31005 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2902
31006 #: ../src/guestfs-actions.pod:2902
31007 #, no-wrap
31008 msgid ""
31009 " char *\n"
31010 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
31011 "                              const char *root,\n"
31012 "                              size_t *size_r,\n"
31013 "                              va_list args);\n"
31014 "\n"
31015 msgstr ""
31016
31017 #. type: textblock
31018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2908
31019 #: ../src/guestfs-actions.pod:2908
31020 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
31021 msgstr ""
31022
31023 #. type: =head2
31024 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2912
31025 #: ../src/guestfs-actions.pod:2912
31026 msgid "guestfs_inspect_get_icon_argv"
31027 msgstr ""
31028
31029 #. type: verbatim
31030 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2914
31031 #: ../src/guestfs-actions.pod:2914
31032 #, no-wrap
31033 msgid ""
31034 " char *\n"
31035 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
31036 "                                const char *root,\n"
31037 "                                size_t *size_r,\n"
31038 "                                const struct guestfs_inspect_get_icon_argv *optargs);\n"
31039 "\n"
31040 msgstr ""
31041
31042 #. type: textblock
31043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2920
31044 #: ../src/guestfs-actions.pod:2920
31045 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
31046 msgstr ""
31047
31048 #. type: =head2
31049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2924
31050 #: ../src/guestfs-actions.pod:2924
31051 msgid "guestfs_inspect_get_major_version"
31052 msgstr ""
31053
31054 #. type: verbatim
31055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2926
31056 #: ../src/guestfs-actions.pod:2926
31057 #, no-wrap
31058 msgid ""
31059 " int\n"
31060 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
31061 "                                    const char *root);\n"
31062 "\n"
31063 msgstr ""
31064
31065 #. type: =head2
31066 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2948
31067 #: ../src/guestfs-actions.pod:2948
31068 msgid "guestfs_inspect_get_minor_version"
31069 msgstr ""
31070
31071 #. type: verbatim
31072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2950
31073 #: ../src/guestfs-actions.pod:2950
31074 #, no-wrap
31075 msgid ""
31076 " int\n"
31077 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
31078 "                                    const char *root);\n"
31079 "\n"
31080 msgstr ""
31081
31082 #. type: textblock
31083 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2959
31084 #: ../src/guestfs-actions.pod:2959
31085 msgid ""
31086 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
31087 "C<guestfs_inspect_get_major_version>."
31088 msgstr ""
31089
31090 #. type: =head2
31091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2966
31092 #: ../src/guestfs-actions.pod:2966
31093 msgid "guestfs_inspect_get_mountpoints"
31094 msgstr ""
31095
31096 #. type: verbatim
31097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2968
31098 #: ../src/guestfs-actions.pod:2968
31099 #, no-wrap
31100 msgid ""
31101 " char **\n"
31102 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
31103 "                                  const char *root);\n"
31104 "\n"
31105 msgstr ""
31106
31107 #. type: textblock
31108 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2989
31109 #: ../src/guestfs-actions.pod:2989
31110 msgid ""
31111 "For operating systems like Windows which still use drive letters, this call "
31112 "will only return an entry for the first drive \"mounted on\" C</>.  For "
31113 "information about the mapping of drive letters to partitions, see "
31114 "C<guestfs_inspect_get_drive_mappings>."
31115 msgstr ""
31116
31117 #. type: textblock
31118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2995
31119 #: ../src/guestfs-actions.pod:2995
31120 msgid ""
31121 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
31122 "C<guestfs_inspect_get_filesystems>."
31123 msgstr ""
31124
31125 #. type: =head2
31126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3006
31127 #: ../src/guestfs-actions.pod:3006
31128 msgid "guestfs_inspect_get_package_format"
31129 msgstr ""
31130
31131 #. type: verbatim
31132 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3008
31133 #: ../src/guestfs-actions.pod:3008
31134 #, no-wrap
31135 msgid ""
31136 " char *\n"
31137 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
31138 "                                     const char *root);\n"
31139 "\n"
31140 msgstr ""
31141
31142 #. type: textblock
31143 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3012
31144 #: ../src/guestfs-actions.pod:3012
31145 msgid ""
31146 "This function and C<guestfs_inspect_get_package_management> return the "
31147 "package format and package management tool used by the inspected operating "
31148 "system.  For example for Fedora these functions would return C<rpm> (package "
31149 "format) and C<yum> (package management)."
31150 msgstr ""
31151
31152 #. type: textblock
31153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3030
31154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3058
31155 #: ../src/guestfs-actions.pod:3030 ../src/guestfs-actions.pod:3058
31156 msgid "(Added in 1.7.5)"
31157 msgstr ""
31158
31159 #. type: =head2
31160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3032
31161 #: ../src/guestfs-actions.pod:3032
31162 msgid "guestfs_inspect_get_package_management"
31163 msgstr ""
31164
31165 #. type: verbatim
31166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3034
31167 #: ../src/guestfs-actions.pod:3034
31168 #, no-wrap
31169 msgid ""
31170 " char *\n"
31171 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
31172 "                                         const char *root);\n"
31173 "\n"
31174 msgstr ""
31175
31176 #. type: textblock
31177 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3038
31178 #: ../src/guestfs-actions.pod:3038
31179 msgid ""
31180 "C<guestfs_inspect_get_package_format> and this function return the package "
31181 "format and package management tool used by the inspected operating system.  "
31182 "For example for Fedora these functions would return C<rpm> (package format) "
31183 "and C<yum> (package management)."
31184 msgstr ""
31185
31186 #. type: =head2
31187 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3060
31188 #: ../src/guestfs-actions.pod:3060
31189 msgid "guestfs_inspect_get_product_name"
31190 msgstr ""
31191
31192 #. type: verbatim
31193 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3062
31194 #: ../src/guestfs-actions.pod:3062
31195 #, no-wrap
31196 msgid ""
31197 " char *\n"
31198 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
31199 "                                   const char *root);\n"
31200 "\n"
31201 msgstr ""
31202
31203 #. type: =head2
31204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3081
31205 #: ../src/guestfs-actions.pod:3081
31206 msgid "guestfs_inspect_get_product_variant"
31207 msgstr ""
31208
31209 #. type: verbatim
31210 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3083
31211 #: ../src/guestfs-actions.pod:3083
31212 #, no-wrap
31213 msgid ""
31214 " char *\n"
31215 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
31216 "                                      const char *root);\n"
31217 "\n"
31218 msgstr ""
31219
31220 #. type: textblock
31221 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3106
31222 #: ../src/guestfs-actions.pod:3106
31223 msgid ""
31224 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
31225 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
31226 msgstr ""
31227
31228 #. type: textblock
31229 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3113
31230 #: ../src/guestfs-actions.pod:3113
31231 msgid "(Added in 1.9.13)"
31232 msgstr ""
31233
31234 #. type: =head2
31235 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3115
31236 #: ../src/guestfs-actions.pod:3115
31237 msgid "guestfs_inspect_get_roots"
31238 msgstr ""
31239
31240 #. type: verbatim
31241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3117
31242 #: ../src/guestfs-actions.pod:3117
31243 #, no-wrap
31244 msgid ""
31245 " char **\n"
31246 " guestfs_inspect_get_roots (guestfs_h *g);\n"
31247 "\n"
31248 msgstr ""
31249
31250 #. type: textblock
31251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3120
31252 #: ../src/guestfs-actions.pod:3120
31253 msgid ""
31254 "This function is a convenient way to get the list of root devices, as "
31255 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
31256 "the whole inspection process."
31257 msgstr ""
31258
31259 #. type: textblock
31260 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3124
31261 #: ../src/guestfs-actions.pod:3124
31262 msgid ""
31263 "This returns an empty list if either no root devices were found or the "
31264 "caller has not called C<guestfs_inspect_os>."
31265 msgstr ""
31266
31267 #. type: textblock
31268 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3133
31269 #: ../src/guestfs-actions.pod:3133
31270 msgid "(Added in 1.7.3)"
31271 msgstr ""
31272
31273 #. type: =head2
31274 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3135
31275 #: ../src/guestfs-actions.pod:3135
31276 msgid "guestfs_inspect_get_type"
31277 msgstr ""
31278
31279 #. type: verbatim
31280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3137
31281 #: ../src/guestfs-actions.pod:3137
31282 #, no-wrap
31283 msgid ""
31284 " char *\n"
31285 " guestfs_inspect_get_type (guestfs_h *g,\n"
31286 "                           const char *root);\n"
31287 "\n"
31288 msgstr ""
31289
31290 #. type: =head2
31291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3174
31292 #: ../src/guestfs-actions.pod:3174
31293 msgid "guestfs_inspect_get_windows_current_control_set"
31294 msgstr ""
31295
31296 #. type: verbatim
31297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3176
31298 #: ../src/guestfs-actions.pod:3176
31299 #, no-wrap
31300 msgid ""
31301 " char *\n"
31302 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
31303 "                                                  const char *root);\n"
31304 "\n"
31305 msgstr ""
31306
31307 #. type: =head2
31308 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3194
31309 #: ../src/guestfs-actions.pod:3194
31310 msgid "guestfs_inspect_get_windows_systemroot"
31311 msgstr ""
31312
31313 #. type: verbatim
31314 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3196
31315 #: ../src/guestfs-actions.pod:3196
31316 #, no-wrap
31317 msgid ""
31318 " char *\n"
31319 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
31320 "                                         const char *root);\n"
31321 "\n"
31322 msgstr ""
31323
31324 #. type: textblock
31325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3212
31326 #: ../src/guestfs-actions.pod:3212
31327 msgid "(Added in 1.5.25)"
31328 msgstr ""
31329
31330 #. type: =head2
31331 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3214
31332 #: ../src/guestfs-actions.pod:3214
31333 msgid "guestfs_inspect_is_live"
31334 msgstr ""
31335
31336 #. type: verbatim
31337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3216
31338 #: ../src/guestfs-actions.pod:3216
31339 #, no-wrap
31340 msgid ""
31341 " int\n"
31342 " guestfs_inspect_is_live (guestfs_h *g,\n"
31343 "                          const char *root);\n"
31344 "\n"
31345 msgstr ""
31346
31347 #. type: textblock
31348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3220
31349 #: ../src/guestfs-actions.pod:3220
31350 msgid ""
31351 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
31352 "disk), then this returns true if a live image was detected on the disk."
31353 msgstr ""
31354
31355 #. type: =head2
31356 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3230
31357 #: ../src/guestfs-actions.pod:3230
31358 msgid "guestfs_inspect_is_multipart"
31359 msgstr ""
31360
31361 #. type: verbatim
31362 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3232
31363 #: ../src/guestfs-actions.pod:3232
31364 #, no-wrap
31365 msgid ""
31366 " int\n"
31367 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
31368 "                               const char *root);\n"
31369 "\n"
31370 msgstr ""
31371
31372 #. type: textblock
31373 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3236
31374 #: ../src/guestfs-actions.pod:3236
31375 msgid ""
31376 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
31377 "disk), then this returns true if the disk is part of a set."
31378 msgstr ""
31379
31380 #. type: =head2
31381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3246
31382 #: ../src/guestfs-actions.pod:3246
31383 msgid "guestfs_inspect_is_netinst"
31384 msgstr ""
31385
31386 #. type: verbatim
31387 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3248
31388 #: ../src/guestfs-actions.pod:3248
31389 #, no-wrap
31390 msgid ""
31391 " int\n"
31392 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
31393 "                             const char *root);\n"
31394 "\n"
31395 msgstr ""
31396
31397 #. type: textblock
31398 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3252
31399 #: ../src/guestfs-actions.pod:3252
31400 msgid ""
31401 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
31402 "disk), then this returns true if the disk is a network installer, ie. not a "
31403 "self-contained install CD but one which is likely to require network access "
31404 "to complete the install."
31405 msgstr ""
31406
31407 #. type: =head2
31408 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3264
31409 #: ../src/guestfs-actions.pod:3264
31410 msgid "guestfs_inspect_list_applications"
31411 msgstr ""
31412
31413 #. type: verbatim
31414 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3266
31415 #: ../src/guestfs-actions.pod:3266
31416 #, no-wrap
31417 msgid ""
31418 " struct guestfs_application_list *\n"
31419 " guestfs_inspect_list_applications (guestfs_h *g,\n"
31420 "                                    const char *root);\n"
31421 "\n"
31422 msgstr ""
31423
31424 #. type: textblock
31425 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3272
31426 #: ../src/guestfs-actions.pod:3272
31427 msgid ""
31428 "I<Note:> This call works differently from other parts of the inspection "
31429 "API.  You have to call C<guestfs_inspect_os>, then "
31430 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
31431 "this.  Listing applications is a significantly more difficult operation "
31432 "which requires access to the full filesystem.  Also note that unlike the "
31433 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
31434 "the libguestfs handle, this call actually reads parts of the mounted "
31435 "filesystems during the call."
31436 msgstr ""
31437
31438 #. type: textblock
31439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3362
31440 #: ../src/guestfs-actions.pod:3362
31441 msgid ""
31442 "This function returns a C<struct guestfs_application_list *>, or NULL if "
31443 "there was an error.  I<The caller must call C<guestfs_free_application_list> "
31444 "after use>."
31445 msgstr ""
31446
31447 #. type: textblock
31448 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3366
31449 #: ../src/guestfs-actions.pod:3366
31450 msgid "(Added in 1.7.8)"
31451 msgstr ""
31452
31453 #. type: =head2
31454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3368
31455 #: ../src/guestfs-actions.pod:3368
31456 msgid "guestfs_inspect_os"
31457 msgstr ""
31458
31459 #. type: verbatim
31460 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3370
31461 #: ../src/guestfs-actions.pod:3370
31462 #, no-wrap
31463 msgid ""
31464 " char **\n"
31465 " guestfs_inspect_os (guestfs_h *g);\n"
31466 "\n"
31467 msgstr ""
31468
31469 #. type: textblock
31470 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3386
31471 #: ../src/guestfs-actions.pod:3386
31472 msgid ""
31473 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
31474 "functions in order to query further information about each operating system, "
31475 "such as the name and version."
31476 msgstr ""
31477
31478 #. type: textblock
31479 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3391
31480 #: ../src/guestfs-actions.pod:3391
31481 msgid ""
31482 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
31483 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
31484 "the contents.  This should be called with no disks currently mounted.  The "
31485 "function may also use Augeas, so any existing Augeas handle will be closed."
31486 msgstr ""
31487
31488 #. type: textblock
31489 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3403
31490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3734
31491 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3816
31492 #: ../src/guestfs-actions.pod:3403 ../src/guestfs-actions.pod:3734
31493 #: ../src/guestfs-actions.pod:3816
31494 msgid "See also C<guestfs_list_filesystems>."
31495 msgstr ""
31496
31497 #. type: =head2
31498 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3411
31499 #: ../src/guestfs-actions.pod:3411
31500 msgid "guestfs_is_blockdev"
31501 msgstr ""
31502
31503 #. type: verbatim
31504 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3413
31505 #: ../src/guestfs-actions.pod:3413
31506 #, no-wrap
31507 msgid ""
31508 " int\n"
31509 " guestfs_is_blockdev (guestfs_h *g,\n"
31510 "                      const char *path);\n"
31511 "\n"
31512 msgstr ""
31513
31514 #. type: textblock
31515 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3420
31516 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3449
31517 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3479
31518 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3494
31519 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3510
31520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3566
31521 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3581
31522 #: ../src/guestfs-actions.pod:3420 ../src/guestfs-actions.pod:3449
31523 #: ../src/guestfs-actions.pod:3479 ../src/guestfs-actions.pod:3494
31524 #: ../src/guestfs-actions.pod:3510 ../src/guestfs-actions.pod:3566
31525 #: ../src/guestfs-actions.pod:3581
31526 msgid "See also C<guestfs_stat>."
31527 msgstr ""
31528
31529 #. type: textblock
31530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3424
31531 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3453
31532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3498
31533 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3570
31534 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3585
31535 #: ../src/guestfs-actions.pod:3424 ../src/guestfs-actions.pod:3453
31536 #: ../src/guestfs-actions.pod:3498 ../src/guestfs-actions.pod:3570
31537 #: ../src/guestfs-actions.pod:3585
31538 msgid "(Added in 1.5.10)"
31539 msgstr ""
31540
31541 #. type: =head2
31542 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3426
31543 #: ../src/guestfs-actions.pod:3426
31544 msgid "guestfs_is_busy"
31545 msgstr ""
31546
31547 #. type: verbatim
31548 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3428
31549 #: ../src/guestfs-actions.pod:3428
31550 #, no-wrap
31551 msgid ""
31552 " int\n"
31553 " guestfs_is_busy (guestfs_h *g);\n"
31554 "\n"
31555 msgstr ""
31556
31557 #. type: =head2
31558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3440
31559 #: ../src/guestfs-actions.pod:3440
31560 msgid "guestfs_is_chardev"
31561 msgstr ""
31562
31563 #. type: verbatim
31564 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3442
31565 #: ../src/guestfs-actions.pod:3442
31566 #, no-wrap
31567 msgid ""
31568 " int\n"
31569 " guestfs_is_chardev (guestfs_h *g,\n"
31570 "                     const char *path);\n"
31571 "\n"
31572 msgstr ""
31573
31574 #. type: =head2
31575 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3455
31576 #: ../src/guestfs-actions.pod:3455
31577 msgid "guestfs_is_config"
31578 msgstr ""
31579
31580 #. type: verbatim
31581 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3457
31582 #: ../src/guestfs-actions.pod:3457
31583 #, no-wrap
31584 msgid ""
31585 " int\n"
31586 " guestfs_is_config (guestfs_h *g);\n"
31587 "\n"
31588 msgstr ""
31589
31590 #. type: =head2
31591 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3469
31592 #: ../src/guestfs-actions.pod:3469
31593 msgid "guestfs_is_dir"
31594 msgstr ""
31595
31596 #. type: verbatim
31597 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3471
31598 #: ../src/guestfs-actions.pod:3471
31599 #, no-wrap
31600 msgid ""
31601 " int\n"
31602 " guestfs_is_dir (guestfs_h *g,\n"
31603 "                 const char *path);\n"
31604 "\n"
31605 msgstr ""
31606
31607 #. type: =head2
31608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3485
31609 #: ../src/guestfs-actions.pod:3485
31610 msgid "guestfs_is_fifo"
31611 msgstr ""
31612
31613 #. type: verbatim
31614 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3487
31615 #: ../src/guestfs-actions.pod:3487
31616 #, no-wrap
31617 msgid ""
31618 " int\n"
31619 " guestfs_is_fifo (guestfs_h *g,\n"
31620 "                  const char *path);\n"
31621 "\n"
31622 msgstr ""
31623
31624 #. type: =head2
31625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3500
31626 #: ../src/guestfs-actions.pod:3500
31627 msgid "guestfs_is_file"
31628 msgstr ""
31629
31630 #. type: verbatim
31631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3502
31632 #: ../src/guestfs-actions.pod:3502
31633 #, no-wrap
31634 msgid ""
31635 " int\n"
31636 " guestfs_is_file (guestfs_h *g,\n"
31637 "                  const char *path);\n"
31638 "\n"
31639 msgstr ""
31640
31641 #. type: =head2
31642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3516
31643 #: ../src/guestfs-actions.pod:3516
31644 msgid "guestfs_is_launching"
31645 msgstr ""
31646
31647 #. type: verbatim
31648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3518
31649 #: ../src/guestfs-actions.pod:3518
31650 #, no-wrap
31651 msgid ""
31652 " int\n"
31653 " guestfs_is_launching (guestfs_h *g);\n"
31654 "\n"
31655 msgstr ""
31656
31657 #. type: =head2
31658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3530
31659 #: ../src/guestfs-actions.pod:3530
31660 msgid "guestfs_is_lv"
31661 msgstr ""
31662
31663 #. type: verbatim
31664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3532
31665 #: ../src/guestfs-actions.pod:3532
31666 #, no-wrap
31667 msgid ""
31668 " int\n"
31669 " guestfs_is_lv (guestfs_h *g,\n"
31670 "                const char *device);\n"
31671 "\n"
31672 msgstr ""
31673
31674 #. type: =head2
31675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3543
31676 #: ../src/guestfs-actions.pod:3543
31677 msgid "guestfs_is_ready"
31678 msgstr ""
31679
31680 #. type: verbatim
31681 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3545
31682 #: ../src/guestfs-actions.pod:3545
31683 #, no-wrap
31684 msgid ""
31685 " int\n"
31686 " guestfs_is_ready (guestfs_h *g);\n"
31687 "\n"
31688 msgstr ""
31689
31690 #. type: =head2
31691 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3557
31692 #: ../src/guestfs-actions.pod:3557
31693 msgid "guestfs_is_socket"
31694 msgstr ""
31695
31696 #. type: verbatim
31697 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3559
31698 #: ../src/guestfs-actions.pod:3559
31699 #, no-wrap
31700 msgid ""
31701 " int\n"
31702 " guestfs_is_socket (guestfs_h *g,\n"
31703 "                    const char *path);\n"
31704 "\n"
31705 msgstr ""
31706
31707 #. type: =head2
31708 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3572
31709 #: ../src/guestfs-actions.pod:3572
31710 msgid "guestfs_is_symlink"
31711 msgstr ""
31712
31713 #. type: verbatim
31714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3574
31715 #: ../src/guestfs-actions.pod:3574
31716 #, no-wrap
31717 msgid ""
31718 " int\n"
31719 " guestfs_is_symlink (guestfs_h *g,\n"
31720 "                     const char *path);\n"
31721 "\n"
31722 msgstr ""
31723
31724 #. type: =head2
31725 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3587
31726 #: ../src/guestfs-actions.pod:3587
31727 msgid "guestfs_is_zero"
31728 msgstr ""
31729
31730 #. type: verbatim
31731 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3589
31732 #: ../src/guestfs-actions.pod:3589
31733 #, no-wrap
31734 msgid ""
31735 " int\n"
31736 " guestfs_is_zero (guestfs_h *g,\n"
31737 "                  const char *path);\n"
31738 "\n"
31739 msgstr ""
31740
31741 #. type: textblock
31742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3598
31743 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3612
31744 #: ../src/guestfs-actions.pod:3598 ../src/guestfs-actions.pod:3612
31745 msgid "(Added in 1.11.8)"
31746 msgstr ""
31747
31748 #. type: =head2
31749 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3600
31750 #: ../src/guestfs-actions.pod:3600
31751 msgid "guestfs_is_zero_device"
31752 msgstr ""
31753
31754 #. type: verbatim
31755 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3602
31756 #: ../src/guestfs-actions.pod:3602
31757 #, no-wrap
31758 msgid ""
31759 " int\n"
31760 " guestfs_is_zero_device (guestfs_h *g,\n"
31761 "                         const char *device);\n"
31762 "\n"
31763 msgstr ""
31764
31765 #. type: =head2
31766 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3614
31767 #: ../src/guestfs-actions.pod:3614
31768 msgid "guestfs_kill_subprocess"
31769 msgstr ""
31770
31771 #. type: verbatim
31772 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3616
31773 #: ../src/guestfs-actions.pod:3616
31774 #, no-wrap
31775 msgid ""
31776 " int\n"
31777 " guestfs_kill_subprocess (guestfs_h *g);\n"
31778 "\n"
31779 msgstr ""
31780
31781 #. type: =head2
31782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3625
31783 #: ../src/guestfs-actions.pod:3625
31784 msgid "guestfs_launch"
31785 msgstr ""
31786
31787 #. type: verbatim
31788 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3627
31789 #: ../src/guestfs-actions.pod:3627
31790 #, no-wrap
31791 msgid ""
31792 " int\n"
31793 " guestfs_launch (guestfs_h *g);\n"
31794 "\n"
31795 msgstr ""
31796
31797 #. type: =head2
31798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3645
31799 #: ../src/guestfs-actions.pod:3645
31800 msgid "guestfs_lchown"
31801 msgstr ""
31802
31803 #. type: verbatim
31804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3647
31805 #: ../src/guestfs-actions.pod:3647
31806 #, no-wrap
31807 msgid ""
31808 " int\n"
31809 " guestfs_lchown (guestfs_h *g,\n"
31810 "                 int owner,\n"
31811 "                 int group,\n"
31812 "                 const char *path);\n"
31813 "\n"
31814 msgstr ""
31815
31816 #. type: textblock
31817 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3653
31818 #: ../src/guestfs-actions.pod:3653
31819 msgid ""
31820 "Change the file owner to C<owner> and group to C<group>.  This is like "
31821 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
31822 "changed, not the target."
31823 msgstr ""
31824
31825 #. type: =head2
31826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3665
31827 #: ../src/guestfs-actions.pod:3665
31828 msgid "guestfs_lgetxattr"
31829 msgstr ""
31830
31831 #. type: verbatim
31832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3667
31833 #: ../src/guestfs-actions.pod:3667
31834 #, no-wrap
31835 msgid ""
31836 " char *\n"
31837 " guestfs_lgetxattr (guestfs_h *g,\n"
31838 "                    const char *path,\n"
31839 "                    const char *name,\n"
31840 "                    size_t *size_r);\n"
31841 "\n"
31842 msgstr ""
31843
31844 #. type: textblock
31845 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3687
31846 #: ../src/guestfs-actions.pod:3687
31847 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
31848 msgstr ""
31849
31850 #. type: =head2
31851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3695
31852 #: ../src/guestfs-actions.pod:3695
31853 msgid "guestfs_lgetxattrs"
31854 msgstr ""
31855
31856 #. type: verbatim
31857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3697
31858 #: ../src/guestfs-actions.pod:3697
31859 #, no-wrap
31860 msgid ""
31861 " struct guestfs_xattr_list *\n"
31862 " guestfs_lgetxattrs (guestfs_h *g,\n"
31863 "                     const char *path);\n"
31864 "\n"
31865 msgstr ""
31866
31867 #. type: textblock
31868 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3701
31869 #: ../src/guestfs-actions.pod:3701
31870 msgid ""
31871 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
31872 "then it returns the extended attributes of the link itself."
31873 msgstr ""
31874
31875 #. type: =head2
31876 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3711
31877 #: ../src/guestfs-actions.pod:3711
31878 msgid "guestfs_list_9p"
31879 msgstr ""
31880
31881 #. type: verbatim
31882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3713
31883 #: ../src/guestfs-actions.pod:3713
31884 #, no-wrap
31885 msgid ""
31886 " char **\n"
31887 " guestfs_list_9p (guestfs_h *g);\n"
31888 "\n"
31889 msgstr ""
31890
31891 #. type: =head2
31892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3725
31893 #: ../src/guestfs-actions.pod:3725
31894 msgid "guestfs_list_devices"
31895 msgstr ""
31896
31897 #. type: verbatim
31898 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3727
31899 #: ../src/guestfs-actions.pod:3727
31900 #, no-wrap
31901 msgid ""
31902 " char **\n"
31903 " guestfs_list_devices (guestfs_h *g);\n"
31904 "\n"
31905 msgstr ""
31906
31907 #. type: =head2
31908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3742
31909 #: ../src/guestfs-actions.pod:3742
31910 msgid "guestfs_list_dm_devices"
31911 msgstr ""
31912
31913 #. type: verbatim
31914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3744
31915 #: ../src/guestfs-actions.pod:3744
31916 #, no-wrap
31917 msgid ""
31918 " char **\n"
31919 " guestfs_list_dm_devices (guestfs_h *g);\n"
31920 "\n"
31921 msgstr ""
31922
31923 #. type: textblock
31924 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3749
31925 #: ../src/guestfs-actions.pod:3749
31926 msgid ""
31927 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
31928 "previous call to C<guestfs_luks_open>."
31929 msgstr ""
31930
31931 #. type: textblock
31932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3752
31933 #: ../src/guestfs-actions.pod:3752
31934 msgid ""
31935 "Device mapper devices which correspond to logical volumes are I<not> "
31936 "returned in this list.  Call C<guestfs_lvs> if you want to list logical "
31937 "volumes."
31938 msgstr ""
31939
31940 #. type: textblock
31941 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3760
31942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5216
31943 #: ../src/guestfs-actions.pod:3760 ../src/guestfs-actions.pod:5216
31944 msgid "(Added in 1.11.15)"
31945 msgstr ""
31946
31947 #. type: =head2
31948 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3762
31949 #: ../src/guestfs-actions.pod:3762
31950 msgid "guestfs_list_filesystems"
31951 msgstr ""
31952
31953 #. type: verbatim
31954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3764
31955 #: ../src/guestfs-actions.pod:3764
31956 #, no-wrap
31957 msgid ""
31958 " char **\n"
31959 " guestfs_list_filesystems (guestfs_h *g);\n"
31960 "\n"
31961 msgstr ""
31962
31963 #. type: textblock
31964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3784
31965 #: ../src/guestfs-actions.pod:3784
31966 msgid ""
31967 "This command runs other libguestfs commands, which might include "
31968 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
31969 "soon after launch and only when nothing is mounted."
31970 msgstr ""
31971
31972 #. type: textblock
31973 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3788
31974 #: ../src/guestfs-actions.pod:3788
31975 msgid ""
31976 "Not all of the filesystems returned will be mountable.  In particular, swap "
31977 "partitions are returned in the list.  Also this command does not check that "
31978 "each filesystem found is valid and mountable, and some filesystems might be "
31979 "mountable but require special options.  Filesystems may not all belong to a "
31980 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
31981 msgstr ""
31982
31983 #. type: textblock
31984 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3802
31985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5577
31986 #: ../src/guestfs-actions.pod:3802 ../src/guestfs-actions.pod:5577
31987 msgid "(Added in 1.5.15)"
31988 msgstr ""
31989
31990 #. type: =head2
31991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3804
31992 #: ../src/guestfs-actions.pod:3804
31993 msgid "guestfs_list_partitions"
31994 msgstr ""
31995
31996 #. type: verbatim
31997 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3806
31998 #: ../src/guestfs-actions.pod:3806
31999 #, no-wrap
32000 msgid ""
32001 " char **\n"
32002 " guestfs_list_partitions (guestfs_h *g);\n"
32003 "\n"
32004 msgstr ""
32005
32006 #. type: textblock
32007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3813
32008 #: ../src/guestfs-actions.pod:3813
32009 msgid ""
32010 "This does not return logical volumes.  For that you will need to call "
32011 "C<guestfs_lvs>."
32012 msgstr ""
32013
32014 #. type: =head2
32015 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3824
32016 #: ../src/guestfs-actions.pod:3824
32017 msgid "guestfs_ll"
32018 msgstr ""
32019
32020 #. type: verbatim
32021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3826
32022 #: ../src/guestfs-actions.pod:3826
32023 #, no-wrap
32024 msgid ""
32025 " char *\n"
32026 " guestfs_ll (guestfs_h *g,\n"
32027 "             const char *directory);\n"
32028 "\n"
32029 msgstr ""
32030
32031 #. type: =head2
32032 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3841
32033 #: ../src/guestfs-actions.pod:3841
32034 msgid "guestfs_ln"
32035 msgstr ""
32036
32037 #. type: verbatim
32038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3843
32039 #: ../src/guestfs-actions.pod:3843
32040 #, no-wrap
32041 msgid ""
32042 " int\n"
32043 " guestfs_ln (guestfs_h *g,\n"
32044 "             const char *target,\n"
32045 "             const char *linkname);\n"
32046 "\n"
32047 msgstr ""
32048
32049 #. type: =head2
32050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3854
32051 #: ../src/guestfs-actions.pod:3854
32052 msgid "guestfs_ln_f"
32053 msgstr ""
32054
32055 #. type: verbatim
32056 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3856
32057 #: ../src/guestfs-actions.pod:3856
32058 #, no-wrap
32059 msgid ""
32060 " int\n"
32061 " guestfs_ln_f (guestfs_h *g,\n"
32062 "               const char *target,\n"
32063 "               const char *linkname);\n"
32064 "\n"
32065 msgstr ""
32066
32067 #. type: =head2
32068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3868
32069 #: ../src/guestfs-actions.pod:3868
32070 msgid "guestfs_ln_s"
32071 msgstr ""
32072
32073 #. type: verbatim
32074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3870
32075 #: ../src/guestfs-actions.pod:3870
32076 #, no-wrap
32077 msgid ""
32078 " int\n"
32079 " guestfs_ln_s (guestfs_h *g,\n"
32080 "               const char *target,\n"
32081 "               const char *linkname);\n"
32082 "\n"
32083 msgstr ""
32084
32085 #. type: =head2
32086 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3881
32087 #: ../src/guestfs-actions.pod:3881
32088 msgid "guestfs_ln_sf"
32089 msgstr ""
32090
32091 #. type: verbatim
32092 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3883
32093 #: ../src/guestfs-actions.pod:3883
32094 #, no-wrap
32095 msgid ""
32096 " int\n"
32097 " guestfs_ln_sf (guestfs_h *g,\n"
32098 "                const char *target,\n"
32099 "                const char *linkname);\n"
32100 "\n"
32101 msgstr ""
32102
32103 #. type: =head2
32104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3895
32105 #: ../src/guestfs-actions.pod:3895
32106 msgid "guestfs_lremovexattr"
32107 msgstr ""
32108
32109 #. type: verbatim
32110 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3897
32111 #: ../src/guestfs-actions.pod:3897
32112 #, no-wrap
32113 msgid ""
32114 " int\n"
32115 " guestfs_lremovexattr (guestfs_h *g,\n"
32116 "                       const char *xattr,\n"
32117 "                       const char *path);\n"
32118 "\n"
32119 msgstr ""
32120
32121 #. type: textblock
32122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3902
32123 #: ../src/guestfs-actions.pod:3902
32124 msgid ""
32125 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
32126 "link, then it removes an extended attribute of the link itself."
32127 msgstr ""
32128
32129 #. type: =head2
32130 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3910
32131 #: ../src/guestfs-actions.pod:3910
32132 msgid "guestfs_ls"
32133 msgstr ""
32134
32135 #. type: verbatim
32136 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3912
32137 #: ../src/guestfs-actions.pod:3912
32138 #, no-wrap
32139 msgid ""
32140 " char **\n"
32141 " guestfs_ls (guestfs_h *g,\n"
32142 "             const char *directory);\n"
32143 "\n"
32144 msgstr ""
32145
32146 #. type: textblock
32147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3920
32148 #: ../src/guestfs-actions.pod:3920
32149 msgid ""
32150 "This command is mostly useful for interactive sessions.  Programs should "
32151 "probably use C<guestfs_readdir> instead."
32152 msgstr ""
32153
32154 #. type: =head2
32155 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3929
32156 #: ../src/guestfs-actions.pod:3929
32157 msgid "guestfs_lsetxattr"
32158 msgstr ""
32159
32160 #. type: verbatim
32161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3931
32162 #: ../src/guestfs-actions.pod:3931
32163 #, no-wrap
32164 msgid ""
32165 " int\n"
32166 " guestfs_lsetxattr (guestfs_h *g,\n"
32167 "                    const char *xattr,\n"
32168 "                    const char *val,\n"
32169 "                    int vallen,\n"
32170 "                    const char *path);\n"
32171 "\n"
32172 msgstr ""
32173
32174 #. type: textblock
32175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3938
32176 #: ../src/guestfs-actions.pod:3938
32177 msgid ""
32178 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
32179 "then it sets an extended attribute of the link itself."
32180 msgstr ""
32181
32182 #. type: =head2
32183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3946
32184 #: ../src/guestfs-actions.pod:3946
32185 msgid "guestfs_lstat"
32186 msgstr ""
32187
32188 #. type: verbatim
32189 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3948
32190 #: ../src/guestfs-actions.pod:3948
32191 #, no-wrap
32192 msgid ""
32193 " struct guestfs_stat *\n"
32194 " guestfs_lstat (guestfs_h *g,\n"
32195 "                const char *path);\n"
32196 "\n"
32197 msgstr ""
32198
32199 #. type: textblock
32200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3954
32201 #: ../src/guestfs-actions.pod:3954
32202 msgid ""
32203 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
32204 "link, then the link is stat-ed, not the file it refers to."
32205 msgstr ""
32206
32207 #. type: textblock
32208 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3960
32209 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6735
32210 #: ../src/guestfs-actions.pod:3960 ../src/guestfs-actions.pod:6735
32211 msgid ""
32212 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
32213 "error.  I<The caller must call C<guestfs_free_stat> after use>."
32214 msgstr ""
32215
32216 #. type: textblock
32217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3964
32218 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6739
32219 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6757
32220 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7138
32221 #: ../src/guestfs-actions.pod:3964 ../src/guestfs-actions.pod:6739
32222 #: ../src/guestfs-actions.pod:6757 ../src/guestfs-actions.pod:7138
32223 msgid "(Added in 0.9.2)"
32224 msgstr ""
32225
32226 #. type: =head2
32227 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3966
32228 #: ../src/guestfs-actions.pod:3966
32229 msgid "guestfs_lstatlist"
32230 msgstr ""
32231
32232 #. type: verbatim
32233 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3968
32234 #: ../src/guestfs-actions.pod:3968
32235 #, no-wrap
32236 msgid ""
32237 " struct guestfs_stat_list *\n"
32238 " guestfs_lstatlist (guestfs_h *g,\n"
32239 "                    const char *path,\n"
32240 "                    char *const *names);\n"
32241 "\n"
32242 msgstr ""
32243
32244 #. type: textblock
32245 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3973
32246 #: ../src/guestfs-actions.pod:3973
32247 msgid ""
32248 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
32249 "files, where all files are in the directory C<path>.  C<names> is the list "
32250 "of files from this directory."
32251 msgstr ""
32252
32253 #. type: textblock
32254 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3982
32255 #: ../src/guestfs-actions.pod:3982
32256 msgid ""
32257 "This call is intended for programs that want to efficiently list a directory "
32258 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
32259 "for a similarly efficient call for getting extended attributes.  Very long "
32260 "directory listings might cause the protocol message size to be exceeded, "
32261 "causing this call to fail.  The caller must split up such requests into "
32262 "smaller groups of names."
32263 msgstr ""
32264
32265 #. type: textblock
32266 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3990
32267 #: ../src/guestfs-actions.pod:3990
32268 msgid ""
32269 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
32270 "an error.  I<The caller must call C<guestfs_free_stat_list> after use>."
32271 msgstr ""
32272
32273 #. type: =head2
32274 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3996
32275 #: ../src/guestfs-actions.pod:3996
32276 msgid "guestfs_luks_add_key"
32277 msgstr ""
32278
32279 #. type: verbatim
32280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3998
32281 #: ../src/guestfs-actions.pod:3998
32282 #, no-wrap
32283 msgid ""
32284 " int\n"
32285 " guestfs_luks_add_key (guestfs_h *g,\n"
32286 "                       const char *device,\n"
32287 "                       const char *key,\n"
32288 "                       const char *newkey,\n"
32289 "                       int keyslot);\n"
32290 "\n"
32291 msgstr ""
32292
32293 #. type: textblock
32294 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4010
32295 #: ../src/guestfs-actions.pod:4010
32296 msgid ""
32297 "Note that if C<keyslot> already contains a key, then this command will "
32298 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
32299 msgstr ""
32300
32301 #. type: textblock
32302 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4016
32303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4056
32304 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4079
32305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4099
32306 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4134
32307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4153
32308 #: ../src/guestfs-actions.pod:4016 ../src/guestfs-actions.pod:4056
32309 #: ../src/guestfs-actions.pod:4079 ../src/guestfs-actions.pod:4099
32310 #: ../src/guestfs-actions.pod:4134 ../src/guestfs-actions.pod:4153
32311 msgid ""
32312 "This function takes a key or passphrase parameter which could contain "
32313 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
32314 "information."
32315 msgstr ""
32316
32317 #. type: textblock
32318 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4020
32319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4060
32320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4083
32321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4103
32322 #: ../src/guestfs-actions.pod:4020 ../src/guestfs-actions.pod:4060
32323 #: ../src/guestfs-actions.pod:4083 ../src/guestfs-actions.pod:4103
32324 msgid "(Added in 1.5.2)"
32325 msgstr ""
32326
32327 #. type: =head2
32328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4022
32329 #: ../src/guestfs-actions.pod:4022
32330 msgid "guestfs_luks_close"
32331 msgstr ""
32332
32333 #. type: verbatim
32334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4024
32335 #: ../src/guestfs-actions.pod:4024
32336 #, no-wrap
32337 msgid ""
32338 " int\n"
32339 " guestfs_luks_close (guestfs_h *g,\n"
32340 "                     const char *device);\n"
32341 "\n"
32342 msgstr ""
32343
32344 #. type: textblock
32345 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4028
32346 #: ../src/guestfs-actions.pod:4028
32347 msgid ""
32348 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
32349 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
32350 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
32351 "underlying block device."
32352 msgstr ""
32353
32354 #. type: textblock
32355 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4036
32356 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4138
32357 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4157
32358 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4207
32359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4255
32360 #: ../src/guestfs-actions.pod:4036 ../src/guestfs-actions.pod:4138
32361 #: ../src/guestfs-actions.pod:4157 ../src/guestfs-actions.pod:4207
32362 #: ../src/guestfs-actions.pod:4255
32363 msgid "(Added in 1.5.1)"
32364 msgstr ""
32365
32366 #. type: =head2
32367 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4038
32368 #: ../src/guestfs-actions.pod:4038
32369 msgid "guestfs_luks_format"
32370 msgstr ""
32371
32372 #. type: verbatim
32373 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4040
32374 #: ../src/guestfs-actions.pod:4040
32375 #, no-wrap
32376 msgid ""
32377 " int\n"
32378 " guestfs_luks_format (guestfs_h *g,\n"
32379 "                      const char *device,\n"
32380 "                      const char *key,\n"
32381 "                      int keyslot);\n"
32382 "\n"
32383 msgstr ""
32384
32385 #. type: =head2
32386 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4062
32387 #: ../src/guestfs-actions.pod:4062
32388 msgid "guestfs_luks_format_cipher"
32389 msgstr ""
32390
32391 #. type: verbatim
32392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4064
32393 #: ../src/guestfs-actions.pod:4064
32394 #, no-wrap
32395 msgid ""
32396 " int\n"
32397 " guestfs_luks_format_cipher (guestfs_h *g,\n"
32398 "                             const char *device,\n"
32399 "                             const char *key,\n"
32400 "                             int keyslot,\n"
32401 "                             const char *cipher);\n"
32402 "\n"
32403 msgstr ""
32404
32405 #. type: textblock
32406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4071
32407 #: ../src/guestfs-actions.pod:4071
32408 msgid ""
32409 "This command is the same as C<guestfs_luks_format> but it also allows you to "
32410 "set the C<cipher> used."
32411 msgstr ""
32412
32413 #. type: =head2
32414 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4085
32415 #: ../src/guestfs-actions.pod:4085
32416 msgid "guestfs_luks_kill_slot"
32417 msgstr ""
32418
32419 #. type: verbatim
32420 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4087
32421 #: ../src/guestfs-actions.pod:4087
32422 #, no-wrap
32423 msgid ""
32424 " int\n"
32425 " guestfs_luks_kill_slot (guestfs_h *g,\n"
32426 "                         const char *device,\n"
32427 "                         const char *key,\n"
32428 "                         int keyslot);\n"
32429 "\n"
32430 msgstr ""
32431
32432 #. type: =head2
32433 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4105
32434 #: ../src/guestfs-actions.pod:4105
32435 msgid "guestfs_luks_open"
32436 msgstr ""
32437
32438 #. type: verbatim
32439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4107
32440 #: ../src/guestfs-actions.pod:4107
32441 #, no-wrap
32442 msgid ""
32443 " int\n"
32444 " guestfs_luks_open (guestfs_h *g,\n"
32445 "                    const char *device,\n"
32446 "                    const char *key,\n"
32447 "                    const char *mapname);\n"
32448 "\n"
32449 msgstr ""
32450
32451 #. type: textblock
32452 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4125
32453 #: ../src/guestfs-actions.pod:4125
32454 msgid ""
32455 "If this block device contains LVM volume groups, then calling "
32456 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
32457 "visible."
32458 msgstr ""
32459
32460 #. type: textblock
32461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4129
32462 #: ../src/guestfs-actions.pod:4129
32463 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
32464 msgstr ""
32465
32466 #. type: =head2
32467 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4140
32468 #: ../src/guestfs-actions.pod:4140
32469 msgid "guestfs_luks_open_ro"
32470 msgstr ""
32471
32472 #. type: verbatim
32473 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4142
32474 #: ../src/guestfs-actions.pod:4142
32475 #, no-wrap
32476 msgid ""
32477 " int\n"
32478 " guestfs_luks_open_ro (guestfs_h *g,\n"
32479 "                       const char *device,\n"
32480 "                       const char *key,\n"
32481 "                       const char *mapname);\n"
32482 "\n"
32483 msgstr ""
32484
32485 #. type: textblock
32486 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4148
32487 #: ../src/guestfs-actions.pod:4148
32488 msgid ""
32489 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
32490 "created."
32491 msgstr ""
32492
32493 #. type: =head2
32494 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4159
32495 #: ../src/guestfs-actions.pod:4159
32496 msgid "guestfs_lvcreate"
32497 msgstr ""
32498
32499 #. type: verbatim
32500 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4161
32501 #: ../src/guestfs-actions.pod:4161
32502 #, no-wrap
32503 msgid ""
32504 " int\n"
32505 " guestfs_lvcreate (guestfs_h *g,\n"
32506 "                   const char *logvol,\n"
32507 "                   const char *volgroup,\n"
32508 "                   int mbytes);\n"
32509 "\n"
32510 msgstr ""
32511
32512 #. type: =head2
32513 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4174
32514 #: ../src/guestfs-actions.pod:4174
32515 msgid "guestfs_lvm_canonical_lv_name"
32516 msgstr ""
32517
32518 #. type: verbatim
32519 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4176
32520 #: ../src/guestfs-actions.pod:4176
32521 #, no-wrap
32522 msgid ""
32523 " char *\n"
32524 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
32525 "                                const char *lvname);\n"
32526 "\n"
32527 msgstr ""
32528
32529 #. type: textblock
32530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4187
32531 #: ../src/guestfs-actions.pod:4187
32532 msgid "See also C<guestfs_is_lv>."
32533 msgstr ""
32534
32535 #. type: textblock
32536 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4192
32537 #: ../src/guestfs-actions.pod:4192
32538 msgid "(Added in 1.5.24)"
32539 msgstr ""
32540
32541 #. type: =head2
32542 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4194
32543 #: ../src/guestfs-actions.pod:4194
32544 msgid "guestfs_lvm_clear_filter"
32545 msgstr ""
32546
32547 #. type: verbatim
32548 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4196
32549 #: ../src/guestfs-actions.pod:4196
32550 #, no-wrap
32551 msgid ""
32552 " int\n"
32553 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
32554 "\n"
32555 msgstr ""
32556
32557 #. type: textblock
32558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4199
32559 #: ../src/guestfs-actions.pod:4199
32560 msgid ""
32561 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
32562 "see every block device."
32563 msgstr ""
32564
32565 #. type: =head2
32566 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4209
32567 #: ../src/guestfs-actions.pod:4209
32568 msgid "guestfs_lvm_remove_all"
32569 msgstr ""
32570
32571 #. type: verbatim
32572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4211
32573 #: ../src/guestfs-actions.pod:4211
32574 #, no-wrap
32575 msgid ""
32576 " int\n"
32577 " guestfs_lvm_remove_all (guestfs_h *g);\n"
32578 "\n"
32579 msgstr ""
32580
32581 #. type: =head2
32582 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4224
32583 #: ../src/guestfs-actions.pod:4224
32584 msgid "guestfs_lvm_set_filter"
32585 msgstr ""
32586
32587 #. type: verbatim
32588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4226
32589 #: ../src/guestfs-actions.pod:4226
32590 #, no-wrap
32591 msgid ""
32592 " int\n"
32593 " guestfs_lvm_set_filter (guestfs_h *g,\n"
32594 "                         char *const *devices);\n"
32595 "\n"
32596 msgstr ""
32597
32598 #. type: =head2
32599 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4257
32600 #: ../src/guestfs-actions.pod:4257
32601 msgid "guestfs_lvremove"
32602 msgstr ""
32603
32604 #. type: verbatim
32605 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4259
32606 #: ../src/guestfs-actions.pod:4259
32607 #, no-wrap
32608 msgid ""
32609 " int\n"
32610 " guestfs_lvremove (guestfs_h *g,\n"
32611 "                   const char *device);\n"
32612 "\n"
32613 msgstr ""
32614
32615 #. type: textblock
32616 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4271
32617 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5674
32618 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7508
32619 #: ../src/guestfs-actions.pod:4271 ../src/guestfs-actions.pod:5674
32620 #: ../src/guestfs-actions.pod:7508
32621 msgid "(Added in 1.0.13)"
32622 msgstr ""
32623
32624 #. type: =head2
32625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4273
32626 #: ../src/guestfs-actions.pod:4273
32627 msgid "guestfs_lvrename"
32628 msgstr ""
32629
32630 #. type: verbatim
32631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4275
32632 #: ../src/guestfs-actions.pod:4275
32633 #, no-wrap
32634 msgid ""
32635 " int\n"
32636 " guestfs_lvrename (guestfs_h *g,\n"
32637 "                   const char *logvol,\n"
32638 "                   const char *newlogvol);\n"
32639 "\n"
32640 msgstr ""
32641
32642 #. type: textblock
32643 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4284
32644 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7521
32645 #: ../src/guestfs-actions.pod:4284 ../src/guestfs-actions.pod:7521
32646 msgid "(Added in 1.0.83)"
32647 msgstr ""
32648
32649 #. type: =head2
32650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4286
32651 #: ../src/guestfs-actions.pod:4286
32652 msgid "guestfs_lvresize"
32653 msgstr ""
32654
32655 #. type: verbatim
32656 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4288
32657 #: ../src/guestfs-actions.pod:4288
32658 #, no-wrap
32659 msgid ""
32660 " int\n"
32661 " guestfs_lvresize (guestfs_h *g,\n"
32662 "                   const char *device,\n"
32663 "                   int mbytes);\n"
32664 "\n"
32665 msgstr ""
32666
32667 #. type: =head2
32668 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4301
32669 #: ../src/guestfs-actions.pod:4301
32670 msgid "guestfs_lvresize_free"
32671 msgstr ""
32672
32673 #. type: verbatim
32674 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4303
32675 #: ../src/guestfs-actions.pod:4303
32676 #, no-wrap
32677 msgid ""
32678 " int\n"
32679 " guestfs_lvresize_free (guestfs_h *g,\n"
32680 "                        const char *lv,\n"
32681 "                        int percent);\n"
32682 "\n"
32683 msgstr ""
32684
32685 #. type: textblock
32686 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4316
32687 #: ../src/guestfs-actions.pod:4316
32688 msgid "(Added in 1.3.3)"
32689 msgstr ""
32690
32691 #. type: =head2
32692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4318
32693 #: ../src/guestfs-actions.pod:4318
32694 msgid "guestfs_lvs"
32695 msgstr ""
32696
32697 #. type: verbatim
32698 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4320
32699 #: ../src/guestfs-actions.pod:4320
32700 #, no-wrap
32701 msgid ""
32702 " char **\n"
32703 " guestfs_lvs (guestfs_h *g);\n"
32704 "\n"
32705 msgstr ""
32706
32707 #. type: textblock
32708 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4329
32709 #: ../src/guestfs-actions.pod:4329
32710 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
32711 msgstr ""
32712
32713 #. type: =head2
32714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4337
32715 #: ../src/guestfs-actions.pod:4337
32716 msgid "guestfs_lvs_full"
32717 msgstr ""
32718
32719 #. type: verbatim
32720 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4339
32721 #: ../src/guestfs-actions.pod:4339
32722 #, no-wrap
32723 msgid ""
32724 " struct guestfs_lvm_lv_list *\n"
32725 " guestfs_lvs_full (guestfs_h *g);\n"
32726 "\n"
32727 msgstr ""
32728
32729 #. type: textblock
32730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4345
32731 #: ../src/guestfs-actions.pod:4345
32732 msgid ""
32733 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
32734 "was an error.  I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
32735 msgstr ""
32736
32737 #. type: =head2
32738 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4351
32739 #: ../src/guestfs-actions.pod:4351
32740 msgid "guestfs_lvuuid"
32741 msgstr ""
32742
32743 #. type: verbatim
32744 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4353
32745 #: ../src/guestfs-actions.pod:4353
32746 #, no-wrap
32747 msgid ""
32748 " char *\n"
32749 " guestfs_lvuuid (guestfs_h *g,\n"
32750 "                 const char *device);\n"
32751 "\n"
32752 msgstr ""
32753
32754 #. type: =head2
32755 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4364
32756 #: ../src/guestfs-actions.pod:4364
32757 msgid "guestfs_lxattrlist"
32758 msgstr ""
32759
32760 #. type: verbatim
32761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4366
32762 #: ../src/guestfs-actions.pod:4366
32763 #, no-wrap
32764 msgid ""
32765 " struct guestfs_xattr_list *\n"
32766 " guestfs_lxattrlist (guestfs_h *g,\n"
32767 "                     const char *path,\n"
32768 "                     char *const *names);\n"
32769 "\n"
32770 msgstr ""
32771
32772 #. type: textblock
32773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4385
32774 #: ../src/guestfs-actions.pod:4385
32775 msgid ""
32776 "This call is intended for programs that want to efficiently list a directory "
32777 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
32778 "a similarly efficient call for getting standard stats.  Very long directory "
32779 "listings might cause the protocol message size to be exceeded, causing this "
32780 "call to fail.  The caller must split up such requests into smaller groups of "
32781 "names."
32782 msgstr ""
32783
32784 #. type: =head2
32785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4399
32786 #: ../src/guestfs-actions.pod:4399
32787 msgid "guestfs_mkdir"
32788 msgstr ""
32789
32790 #. type: verbatim
32791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4401
32792 #: ../src/guestfs-actions.pod:4401
32793 #, no-wrap
32794 msgid ""
32795 " int\n"
32796 " guestfs_mkdir (guestfs_h *g,\n"
32797 "                const char *path);\n"
32798 "\n"
32799 msgstr ""
32800
32801 #. type: =head2
32802 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4411
32803 #: ../src/guestfs-actions.pod:4411
32804 msgid "guestfs_mkdir_mode"
32805 msgstr ""
32806
32807 #. type: verbatim
32808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4413
32809 #: ../src/guestfs-actions.pod:4413
32810 #, no-wrap
32811 msgid ""
32812 " int\n"
32813 " guestfs_mkdir_mode (guestfs_h *g,\n"
32814 "                     const char *path,\n"
32815 "                     int mode);\n"
32816 "\n"
32817 msgstr ""
32818
32819 #. type: textblock
32820 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4425
32821 #: ../src/guestfs-actions.pod:4425
32822 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
32823 msgstr ""
32824
32825 #. type: =head2
32826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4431
32827 #: ../src/guestfs-actions.pod:4431
32828 msgid "guestfs_mkdir_p"
32829 msgstr ""
32830
32831 #. type: verbatim
32832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4433
32833 #: ../src/guestfs-actions.pod:4433
32834 #, no-wrap
32835 msgid ""
32836 " int\n"
32837 " guestfs_mkdir_p (guestfs_h *g,\n"
32838 "                  const char *path);\n"
32839 "\n"
32840 msgstr ""
32841
32842 #. type: =head2
32843 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4444
32844 #: ../src/guestfs-actions.pod:4444
32845 msgid "guestfs_mkdtemp"
32846 msgstr ""
32847
32848 #. type: verbatim
32849 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4446
32850 #: ../src/guestfs-actions.pod:4446
32851 #, no-wrap
32852 msgid ""
32853 " char *\n"
32854 " guestfs_mkdtemp (guestfs_h *g,\n"
32855 "                  const char *template);\n"
32856 "\n"
32857 msgstr ""
32858
32859 #. type: =head2
32860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4474
32861 #: ../src/guestfs-actions.pod:4474
32862 msgid "guestfs_mke2fs_J"
32863 msgstr ""
32864
32865 #. type: verbatim
32866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4476
32867 #: ../src/guestfs-actions.pod:4476
32868 #, no-wrap
32869 msgid ""
32870 " int\n"
32871 " guestfs_mke2fs_J (guestfs_h *g,\n"
32872 "                   const char *fstype,\n"
32873 "                   int blocksize,\n"
32874 "                   const char *device,\n"
32875 "                   const char *journal);\n"
32876 "\n"
32877 msgstr ""
32878
32879 #. type: textblock
32880 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4489
32881 #: ../src/guestfs-actions.pod:4489
32882 msgid "See also C<guestfs_mke2journal>."
32883 msgstr ""
32884
32885 #. type: textblock
32886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4493
32887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4511
32888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4529
32889 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4545
32890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4559
32891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4573
32892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4632
32893 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4909
32894 #: ../src/guestfs-actions.pod:4493 ../src/guestfs-actions.pod:4511
32895 #: ../src/guestfs-actions.pod:4529 ../src/guestfs-actions.pod:4545
32896 #: ../src/guestfs-actions.pod:4559 ../src/guestfs-actions.pod:4573
32897 #: ../src/guestfs-actions.pod:4632 ../src/guestfs-actions.pod:4909
32898 msgid "(Added in 1.0.68)"
32899 msgstr ""
32900
32901 #. type: =head2
32902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4495
32903 #: ../src/guestfs-actions.pod:4495
32904 msgid "guestfs_mke2fs_JL"
32905 msgstr ""
32906
32907 #. type: verbatim
32908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4497
32909 #: ../src/guestfs-actions.pod:4497
32910 #, no-wrap
32911 msgid ""
32912 " int\n"
32913 " guestfs_mke2fs_JL (guestfs_h *g,\n"
32914 "                    const char *fstype,\n"
32915 "                    int blocksize,\n"
32916 "                    const char *device,\n"
32917 "                    const char *label);\n"
32918 "\n"
32919 msgstr ""
32920
32921 #. type: textblock
32922 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4507
32923 #: ../src/guestfs-actions.pod:4507
32924 msgid "See also C<guestfs_mke2journal_L>."
32925 msgstr ""
32926
32927 #. type: =head2
32928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4513
32929 #: ../src/guestfs-actions.pod:4513
32930 msgid "guestfs_mke2fs_JU"
32931 msgstr ""
32932
32933 #. type: verbatim
32934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4515
32935 #: ../src/guestfs-actions.pod:4515
32936 #, no-wrap
32937 msgid ""
32938 " int\n"
32939 " guestfs_mke2fs_JU (guestfs_h *g,\n"
32940 "                    const char *fstype,\n"
32941 "                    int blocksize,\n"
32942 "                    const char *device,\n"
32943 "                    const char *uuid);\n"
32944 "\n"
32945 msgstr ""
32946
32947 #. type: textblock
32948 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4525
32949 #: ../src/guestfs-actions.pod:4525
32950 msgid "See also C<guestfs_mke2journal_U>."
32951 msgstr ""
32952
32953 #. type: =head2
32954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4531
32955 #: ../src/guestfs-actions.pod:4531
32956 msgid "guestfs_mke2journal"
32957 msgstr ""
32958
32959 #. type: verbatim
32960 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4533
32961 #: ../src/guestfs-actions.pod:4533
32962 #, no-wrap
32963 msgid ""
32964 " int\n"
32965 " guestfs_mke2journal (guestfs_h *g,\n"
32966 "                      int blocksize,\n"
32967 "                      const char *device);\n"
32968 "\n"
32969 msgstr ""
32970
32971 #. type: =head2
32972 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4547
32973 #: ../src/guestfs-actions.pod:4547
32974 msgid "guestfs_mke2journal_L"
32975 msgstr ""
32976
32977 #. type: verbatim
32978 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4549
32979 #: ../src/guestfs-actions.pod:4549
32980 #, no-wrap
32981 msgid ""
32982 " int\n"
32983 " guestfs_mke2journal_L (guestfs_h *g,\n"
32984 "                        int blocksize,\n"
32985 "                        const char *label,\n"
32986 "                        const char *device);\n"
32987 "\n"
32988 msgstr ""
32989
32990 #. type: =head2
32991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4561
32992 #: ../src/guestfs-actions.pod:4561
32993 msgid "guestfs_mke2journal_U"
32994 msgstr ""
32995
32996 #. type: verbatim
32997 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4563
32998 #: ../src/guestfs-actions.pod:4563
32999 #, no-wrap
33000 msgid ""
33001 " int\n"
33002 " guestfs_mke2journal_U (guestfs_h *g,\n"
33003 "                        int blocksize,\n"
33004 "                        const char *uuid,\n"
33005 "                        const char *device);\n"
33006 "\n"
33007 msgstr ""
33008
33009 #. type: =head2
33010 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4575
33011 #: ../src/guestfs-actions.pod:4575
33012 msgid "guestfs_mkfifo"
33013 msgstr ""
33014
33015 #. type: verbatim
33016 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4577
33017 #: ../src/guestfs-actions.pod:4577
33018 #, no-wrap
33019 msgid ""
33020 " int\n"
33021 " guestfs_mkfifo (guestfs_h *g,\n"
33022 "                 int mode,\n"
33023 "                 const char *path);\n"
33024 "\n"
33025 msgstr ""
33026
33027 #. type: textblock
33028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4582
33029 #: ../src/guestfs-actions.pod:4582
33030 msgid ""
33031 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
33032 "is just a convenient wrapper around C<guestfs_mknod>."
33033 msgstr ""
33034
33035 #. type: =head2
33036 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4592
33037 #: ../src/guestfs-actions.pod:4592
33038 msgid "guestfs_mkfs"
33039 msgstr ""
33040
33041 #. type: verbatim
33042 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4594
33043 #: ../src/guestfs-actions.pod:4594
33044 #, no-wrap
33045 msgid ""
33046 " int\n"
33047 " guestfs_mkfs (guestfs_h *g,\n"
33048 "               const char *fstype,\n"
33049 "               const char *device);\n"
33050 "\n"
33051 msgstr ""
33052
33053 #. type: =head2
33054 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4607
33055 #: ../src/guestfs-actions.pod:4607
33056 msgid "guestfs_mkfs_b"
33057 msgstr ""
33058
33059 #. type: verbatim
33060 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4609
33061 #: ../src/guestfs-actions.pod:4609
33062 #, no-wrap
33063 msgid ""
33064 " int\n"
33065 " guestfs_mkfs_b (guestfs_h *g,\n"
33066 "                 const char *fstype,\n"
33067 "                 int blocksize,\n"
33068 "                 const char *device);\n"
33069 "\n"
33070 msgstr ""
33071
33072 #. type: textblock
33073 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4615
33074 #: ../src/guestfs-actions.pod:4615
33075 msgid ""
33076 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
33077 "block size of the resulting filesystem.  Supported block sizes depend on the "
33078 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
33079 msgstr ""
33080
33081 #. type: =head2
33082 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4634
33083 #: ../src/guestfs-actions.pod:4634
33084 msgid "guestfs_mkfs_opts"
33085 msgstr ""
33086
33087 #. type: verbatim
33088 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4636
33089 #: ../src/guestfs-actions.pod:4636
33090 #, no-wrap
33091 msgid ""
33092 " int\n"
33093 " guestfs_mkfs_opts (guestfs_h *g,\n"
33094 "                    const char *fstype,\n"
33095 "                    const char *device,\n"
33096 "                    ...);\n"
33097 "\n"
33098 msgstr ""
33099
33100 #. type: verbatim
33101 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4647
33102 #: ../src/guestfs-actions.pod:4647
33103 #, no-wrap
33104 msgid ""
33105 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
33106 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
33107 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
33108 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
33109 "\n"
33110 msgstr ""
33111
33112 #. type: textblock
33113 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4695
33114 #: ../src/guestfs-actions.pod:4695
33115 msgid "(Added in 1.7.19)"
33116 msgstr ""
33117
33118 #. type: =head2
33119 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4697
33120 #: ../src/guestfs-actions.pod:4697
33121 msgid "guestfs_mkfs_opts_va"
33122 msgstr ""
33123
33124 #. type: verbatim
33125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4699
33126 #: ../src/guestfs-actions.pod:4699
33127 #, no-wrap
33128 msgid ""
33129 " int\n"
33130 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
33131 "                       const char *fstype,\n"
33132 "                       const char *device,\n"
33133 "                       va_list args);\n"
33134 "\n"
33135 msgstr ""
33136
33137 #. type: textblock
33138 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4705
33139 #: ../src/guestfs-actions.pod:4705
33140 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
33141 msgstr ""
33142
33143 #. type: =head2
33144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4709
33145 #: ../src/guestfs-actions.pod:4709
33146 msgid "guestfs_mkfs_opts_argv"
33147 msgstr ""
33148
33149 #. type: verbatim
33150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4711
33151 #: ../src/guestfs-actions.pod:4711
33152 #, no-wrap
33153 msgid ""
33154 " int\n"
33155 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
33156 "                         const char *fstype,\n"
33157 "                         const char *device,\n"
33158 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
33159 "\n"
33160 msgstr ""
33161
33162 #. type: textblock
33163 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4717
33164 #: ../src/guestfs-actions.pod:4717
33165 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
33166 msgstr ""
33167
33168 #. type: =head2
33169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4721
33170 #: ../src/guestfs-actions.pod:4721
33171 msgid "guestfs_mkmountpoint"
33172 msgstr ""
33173
33174 #. type: verbatim
33175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4723
33176 #: ../src/guestfs-actions.pod:4723
33177 #, no-wrap
33178 msgid ""
33179 " int\n"
33180 " guestfs_mkmountpoint (guestfs_h *g,\n"
33181 "                       const char *exemptpath);\n"
33182 "\n"
33183 msgstr ""
33184
33185 #. type: textblock
33186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4727
33187 #: ../src/guestfs-actions.pod:4727
33188 msgid ""
33189 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
33190 "that can be used to create extra mountpoints before mounting the first "
33191 "filesystem."
33192 msgstr ""
33193
33194 #. type: textblock
33195 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4751
33196 #: ../src/guestfs-actions.pod:4751
33197 msgid ""
33198 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
33199 "may get unexpected errors if you try to mix these calls.  It is safest to "
33200 "manually unmount filesystems and remove mountpoints after use."
33201 msgstr ""
33202
33203 #. type: textblock
33204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4755
33205 #: ../src/guestfs-actions.pod:4755
33206 msgid ""
33207 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
33208 "first, so for this to work for manual mountpoints, you must ensure that the "
33209 "innermost mountpoints have the longest pathnames, as in the example code "
33210 "above."
33211 msgstr ""
33212
33213 #. type: textblock
33214 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4762
33215 #: ../src/guestfs-actions.pod:4762
33216 msgid ""
33217 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
33218 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
33219 "can also trigger these issues."
33220 msgstr ""
33221
33222 #. type: textblock
33223 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4768
33224 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5084
33225 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6094
33226 #: ../src/guestfs-actions.pod:4768 ../src/guestfs-actions.pod:5084
33227 #: ../src/guestfs-actions.pod:6094
33228 msgid "(Added in 1.0.62)"
33229 msgstr ""
33230
33231 #. type: =head2
33232 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4770
33233 #: ../src/guestfs-actions.pod:4770
33234 msgid "guestfs_mknod"
33235 msgstr ""
33236
33237 #. type: verbatim
33238 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4772
33239 #: ../src/guestfs-actions.pod:4772
33240 #, no-wrap
33241 msgid ""
33242 " int\n"
33243 " guestfs_mknod (guestfs_h *g,\n"
33244 "                int mode,\n"
33245 "                int devmajor,\n"
33246 "                int devminor,\n"
33247 "                const char *path);\n"
33248 "\n"
33249 msgstr ""
33250
33251 #. type: textblock
33252 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4787
33253 #: ../src/guestfs-actions.pod:4787
33254 msgid ""
33255 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
33256 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
33257 "regular file).  These constants are available in the standard Linux header "
33258 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
33259 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
33260 "the appropriate constant for you."
33261 msgstr ""
33262
33263 #. type: =head2
33264 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4801
33265 #: ../src/guestfs-actions.pod:4801
33266 msgid "guestfs_mknod_b"
33267 msgstr ""
33268
33269 #. type: verbatim
33270 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4803
33271 #: ../src/guestfs-actions.pod:4803
33272 #, no-wrap
33273 msgid ""
33274 " int\n"
33275 " guestfs_mknod_b (guestfs_h *g,\n"
33276 "                  int mode,\n"
33277 "                  int devmajor,\n"
33278 "                  int devminor,\n"
33279 "                  const char *path);\n"
33280 "\n"
33281 msgstr ""
33282
33283 #. type: textblock
33284 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4810
33285 #: ../src/guestfs-actions.pod:4810
33286 msgid ""
33287 "This call creates a block device node called C<path> with mode C<mode> and "
33288 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
33289 "wrapper around C<guestfs_mknod>."
33290 msgstr ""
33291
33292 #. type: =head2
33293 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4820
33294 #: ../src/guestfs-actions.pod:4820
33295 msgid "guestfs_mknod_c"
33296 msgstr ""
33297
33298 #. type: verbatim
33299 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4822
33300 #: ../src/guestfs-actions.pod:4822
33301 #, no-wrap
33302 msgid ""
33303 " int\n"
33304 " guestfs_mknod_c (guestfs_h *g,\n"
33305 "                  int mode,\n"
33306 "                  int devmajor,\n"
33307 "                  int devminor,\n"
33308 "                  const char *path);\n"
33309 "\n"
33310 msgstr ""
33311
33312 #. type: textblock
33313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4829
33314 #: ../src/guestfs-actions.pod:4829
33315 msgid ""
33316 "This call creates a char device node called C<path> with mode C<mode> and "
33317 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
33318 "wrapper around C<guestfs_mknod>."
33319 msgstr ""
33320
33321 #. type: =head2
33322 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4839
33323 #: ../src/guestfs-actions.pod:4839
33324 msgid "guestfs_mkswap"
33325 msgstr ""
33326
33327 #. type: verbatim
33328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4841
33329 #: ../src/guestfs-actions.pod:4841
33330 #, no-wrap
33331 msgid ""
33332 " int\n"
33333 " guestfs_mkswap (guestfs_h *g,\n"
33334 "                 const char *device);\n"
33335 "\n"
33336 msgstr ""
33337
33338 #. type: =head2
33339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4851
33340 #: ../src/guestfs-actions.pod:4851
33341 msgid "guestfs_mkswap_L"
33342 msgstr ""
33343
33344 #. type: verbatim
33345 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4853
33346 #: ../src/guestfs-actions.pod:4853
33347 #, no-wrap
33348 msgid ""
33349 " int\n"
33350 " guestfs_mkswap_L (guestfs_h *g,\n"
33351 "                   const char *label,\n"
33352 "                   const char *device);\n"
33353 "\n"
33354 msgstr ""
33355
33356 #. type: =head2
33357 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4868
33358 #: ../src/guestfs-actions.pod:4868
33359 msgid "guestfs_mkswap_U"
33360 msgstr ""
33361
33362 #. type: verbatim
33363 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4870
33364 #: ../src/guestfs-actions.pod:4870
33365 #, no-wrap
33366 msgid ""
33367 " int\n"
33368 " guestfs_mkswap_U (guestfs_h *g,\n"
33369 "                   const char *uuid,\n"
33370 "                   const char *device);\n"
33371 "\n"
33372 msgstr ""
33373
33374 #. type: =head2
33375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4881
33376 #: ../src/guestfs-actions.pod:4881
33377 msgid "guestfs_mkswap_file"
33378 msgstr ""
33379
33380 #. type: verbatim
33381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4883
33382 #: ../src/guestfs-actions.pod:4883
33383 #, no-wrap
33384 msgid ""
33385 " int\n"
33386 " guestfs_mkswap_file (guestfs_h *g,\n"
33387 "                      const char *path);\n"
33388 "\n"
33389 msgstr ""
33390
33391 #. type: textblock
33392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4889
33393 #: ../src/guestfs-actions.pod:4889
33394 msgid ""
33395 "This command just writes a swap file signature to an existing file.  To "
33396 "create the file itself, use something like C<guestfs_fallocate>."
33397 msgstr ""
33398
33399 #. type: =head2
33400 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4896
33401 #: ../src/guestfs-actions.pod:4896
33402 msgid "guestfs_modprobe"
33403 msgstr ""
33404
33405 #. type: verbatim
33406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4898
33407 #: ../src/guestfs-actions.pod:4898
33408 #, no-wrap
33409 msgid ""
33410 " int\n"
33411 " guestfs_modprobe (guestfs_h *g,\n"
33412 "                   const char *modulename);\n"
33413 "\n"
33414 msgstr ""
33415
33416 #. type: =head2
33417 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4911
33418 #: ../src/guestfs-actions.pod:4911
33419 msgid "guestfs_mount"
33420 msgstr ""
33421
33422 #. type: verbatim
33423 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4913
33424 #: ../src/guestfs-actions.pod:4913
33425 #, no-wrap
33426 msgid ""
33427 " int\n"
33428 " guestfs_mount (guestfs_h *g,\n"
33429 "                const char *device,\n"
33430 "                const char *mountpoint);\n"
33431 "\n"
33432 msgstr ""
33433
33434 #. type: textblock
33435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4932
33436 #: ../src/guestfs-actions.pod:4932
33437 msgid ""
33438 "B<Important note:> When you use this call, the filesystem options C<sync> "
33439 "and C<noatime> are set implicitly.  This was originally done because we "
33440 "thought it would improve reliability, but it turns out that I<-o sync> has a "
33441 "very large negative performance impact and negligible effect on "
33442 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
33443 "in any code that needs performance, and instead use C<guestfs_mount_options> "
33444 "(use an empty string for the first parameter if you don't want any options)."
33445 msgstr ""
33446
33447 #. type: =head2
33448 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4953
33449 #: ../src/guestfs-actions.pod:4953
33450 msgid "guestfs_mount_9p"
33451 msgstr ""
33452
33453 #. type: verbatim
33454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4955
33455 #: ../src/guestfs-actions.pod:4955
33456 #, no-wrap
33457 msgid ""
33458 " int\n"
33459 " guestfs_mount_9p (guestfs_h *g,\n"
33460 "                   const char *mounttag,\n"
33461 "                   const char *mountpoint,\n"
33462 "                   ...);\n"
33463 "\n"
33464 msgstr ""
33465
33466 #. type: verbatim
33467 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4966
33468 #: ../src/guestfs-actions.pod:4966
33469 #, no-wrap
33470 msgid ""
33471 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
33472 "\n"
33473 msgstr ""
33474
33475 #. type: =head2
33476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4979
33477 #: ../src/guestfs-actions.pod:4979
33478 msgid "guestfs_mount_9p_va"
33479 msgstr ""
33480
33481 #. type: verbatim
33482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4981
33483 #: ../src/guestfs-actions.pod:4981
33484 #, no-wrap
33485 msgid ""
33486 " int\n"
33487 " guestfs_mount_9p_va (guestfs_h *g,\n"
33488 "                      const char *mounttag,\n"
33489 "                      const char *mountpoint,\n"
33490 "                      va_list args);\n"
33491 "\n"
33492 msgstr ""
33493
33494 #. type: textblock
33495 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4987
33496 #: ../src/guestfs-actions.pod:4987
33497 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
33498 msgstr ""
33499
33500 #. type: =head2
33501 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4991
33502 #: ../src/guestfs-actions.pod:4991
33503 msgid "guestfs_mount_9p_argv"
33504 msgstr ""
33505
33506 #. type: verbatim
33507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4993
33508 #: ../src/guestfs-actions.pod:4993
33509 #, no-wrap
33510 msgid ""
33511 " int\n"
33512 " guestfs_mount_9p_argv (guestfs_h *g,\n"
33513 "                        const char *mounttag,\n"
33514 "                        const char *mountpoint,\n"
33515 "                        const struct guestfs_mount_9p_argv *optargs);\n"
33516 "\n"
33517 msgstr ""
33518
33519 #. type: textblock
33520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4999
33521 #: ../src/guestfs-actions.pod:4999
33522 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
33523 msgstr ""
33524
33525 #. type: =head2
33526 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5003
33527 #: ../src/guestfs-actions.pod:5003
33528 msgid "guestfs_mount_loop"
33529 msgstr ""
33530
33531 #. type: verbatim
33532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5005
33533 #: ../src/guestfs-actions.pod:5005
33534 #, no-wrap
33535 msgid ""
33536 " int\n"
33537 " guestfs_mount_loop (guestfs_h *g,\n"
33538 "                     const char *file,\n"
33539 "                     const char *mountpoint);\n"
33540 "\n"
33541 msgstr ""
33542
33543 #. type: =head2
33544 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5018
33545 #: ../src/guestfs-actions.pod:5018
33546 msgid "guestfs_mount_options"
33547 msgstr ""
33548
33549 #. type: verbatim
33550 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5020
33551 #: ../src/guestfs-actions.pod:5020
33552 #, no-wrap
33553 msgid ""
33554 " int\n"
33555 " guestfs_mount_options (guestfs_h *g,\n"
33556 "                        const char *options,\n"
33557 "                        const char *device,\n"
33558 "                        const char *mountpoint);\n"
33559 "\n"
33560 msgstr ""
33561
33562 #. type: textblock
33563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5026
33564 #: ../src/guestfs-actions.pod:5026
33565 msgid ""
33566 "This is the same as the C<guestfs_mount> command, but it allows you to set "
33567 "the mount options as for the L<mount(8)> I<-o> flag."
33568 msgstr ""
33569
33570 #. type: textblock
33571 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5036
33572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5050
33573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5067
33574 #: ../src/guestfs-actions.pod:5036 ../src/guestfs-actions.pod:5050
33575 #: ../src/guestfs-actions.pod:5067
33576 msgid "(Added in 1.0.10)"
33577 msgstr ""
33578
33579 #. type: =head2
33580 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5038
33581 #: ../src/guestfs-actions.pod:5038
33582 msgid "guestfs_mount_ro"
33583 msgstr ""
33584
33585 #. type: verbatim
33586 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5040
33587 #: ../src/guestfs-actions.pod:5040
33588 #, no-wrap
33589 msgid ""
33590 " int\n"
33591 " guestfs_mount_ro (guestfs_h *g,\n"
33592 "                   const char *device,\n"
33593 "                   const char *mountpoint);\n"
33594 "\n"
33595 msgstr ""
33596
33597 #. type: textblock
33598 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5045
33599 #: ../src/guestfs-actions.pod:5045
33600 msgid ""
33601 "This is the same as the C<guestfs_mount> command, but it mounts the "
33602 "filesystem with the read-only (I<-o ro>) flag."
33603 msgstr ""
33604
33605 #. type: =head2
33606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5052
33607 #: ../src/guestfs-actions.pod:5052
33608 msgid "guestfs_mount_vfs"
33609 msgstr ""
33610
33611 #. type: verbatim
33612 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5054
33613 #: ../src/guestfs-actions.pod:5054
33614 #, no-wrap
33615 msgid ""
33616 " int\n"
33617 " guestfs_mount_vfs (guestfs_h *g,\n"
33618 "                    const char *options,\n"
33619 "                    const char *vfstype,\n"
33620 "                    const char *device,\n"
33621 "                    const char *mountpoint);\n"
33622 "\n"
33623 msgstr ""
33624
33625 #. type: textblock
33626 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5061
33627 #: ../src/guestfs-actions.pod:5061
33628 msgid ""
33629 "This is the same as the C<guestfs_mount> command, but it allows you to set "
33630 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
33631 "t> flags."
33632 msgstr ""
33633
33634 #. type: =head2
33635 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5069
33636 #: ../src/guestfs-actions.pod:5069
33637 msgid "guestfs_mountpoints"
33638 msgstr ""
33639
33640 #. type: verbatim
33641 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5071
33642 #: ../src/guestfs-actions.pod:5071
33643 #, no-wrap
33644 msgid ""
33645 " char **\n"
33646 " guestfs_mountpoints (guestfs_h *g);\n"
33647 "\n"
33648 msgstr ""
33649
33650 #. type: textblock
33651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5074
33652 #: ../src/guestfs-actions.pod:5074
33653 msgid ""
33654 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
33655 "devices.  This one returns a hash table (map) of device name to directory "
33656 "where the device is mounted."
33657 msgstr ""
33658
33659 #. type: =head2
33660 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5086
33661 #: ../src/guestfs-actions.pod:5086
33662 msgid "guestfs_mounts"
33663 msgstr ""
33664
33665 #. type: verbatim
33666 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5088
33667 #: ../src/guestfs-actions.pod:5088
33668 #, no-wrap
33669 msgid ""
33670 " char **\n"
33671 " guestfs_mounts (guestfs_h *g);\n"
33672 "\n"
33673 msgstr ""
33674
33675 #. type: textblock
33676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5096
33677 #: ../src/guestfs-actions.pod:5096
33678 msgid "See also: C<guestfs_mountpoints>"
33679 msgstr ""
33680
33681 #. type: =head2
33682 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5104
33683 #: ../src/guestfs-actions.pod:5104
33684 msgid "guestfs_mv"
33685 msgstr ""
33686
33687 #. type: verbatim
33688 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5106
33689 #: ../src/guestfs-actions.pod:5106
33690 #, no-wrap
33691 msgid ""
33692 " int\n"
33693 " guestfs_mv (guestfs_h *g,\n"
33694 "             const char *src,\n"
33695 "             const char *dest);\n"
33696 "\n"
33697 msgstr ""
33698
33699 #. type: =head2
33700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5118
33701 #: ../src/guestfs-actions.pod:5118
33702 msgid "guestfs_ntfs_3g_probe"
33703 msgstr ""
33704
33705 #. type: verbatim
33706 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5120
33707 #: ../src/guestfs-actions.pod:5120
33708 #, no-wrap
33709 msgid ""
33710 " int\n"
33711 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
33712 "                        int rw,\n"
33713 "                        const char *device);\n"
33714 "\n"
33715 msgstr ""
33716
33717 #. type: textblock
33718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5139
33719 #: ../src/guestfs-actions.pod:5139
33720 msgid "(Added in 1.0.43)"
33721 msgstr ""
33722
33723 #. type: =head2
33724 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5141
33725 #: ../src/guestfs-actions.pod:5141
33726 msgid "guestfs_ntfsresize"
33727 msgstr ""
33728
33729 #. type: verbatim
33730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5143
33731 #: ../src/guestfs-actions.pod:5143
33732 #, no-wrap
33733 msgid ""
33734 " int\n"
33735 " guestfs_ntfsresize (guestfs_h *g,\n"
33736 "                     const char *device);\n"
33737 "\n"
33738 msgstr ""
33739
33740 #. type: =head2
33741 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5171
33742 #: ../src/guestfs-actions.pod:5171
33743 msgid "guestfs_ntfsresize_opts"
33744 msgstr ""
33745
33746 #. type: verbatim
33747 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5173
33748 #: ../src/guestfs-actions.pod:5173
33749 #, no-wrap
33750 msgid ""
33751 " int\n"
33752 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
33753 "                          const char *device,\n"
33754 "                          ...);\n"
33755 "\n"
33756 msgstr ""
33757
33758 #. type: verbatim
33759 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5183
33760 #: ../src/guestfs-actions.pod:5183
33761 #, no-wrap
33762 msgid ""
33763 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
33764 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
33765 "\n"
33766 msgstr ""
33767
33768 #. type: textblock
33769 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5203
33770 #: ../src/guestfs-actions.pod:5203
33771 msgid ""
33772 "After the resize operation, the filesystem is always marked as requiring a "
33773 "consistency check (for safety).  You have to boot into Windows to perform "
33774 "this check and clear this condition.  If you I<don't> set the C<force> "
33775 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
33776 "times on a single filesystem without booting into Windows between each "
33777 "resize."
33778 msgstr ""
33779
33780 #. type: =head2
33781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5218
33782 #: ../src/guestfs-actions.pod:5218
33783 msgid "guestfs_ntfsresize_opts_va"
33784 msgstr ""
33785
33786 #. type: verbatim
33787 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5220
33788 #: ../src/guestfs-actions.pod:5220
33789 #, no-wrap
33790 msgid ""
33791 " int\n"
33792 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
33793 "                             const char *device,\n"
33794 "                             va_list args);\n"
33795 "\n"
33796 msgstr ""
33797
33798 #. type: textblock
33799 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5225
33800 #: ../src/guestfs-actions.pod:5225
33801 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
33802 msgstr ""
33803
33804 #. type: =head2
33805 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5229
33806 #: ../src/guestfs-actions.pod:5229
33807 msgid "guestfs_ntfsresize_opts_argv"
33808 msgstr ""
33809
33810 #. type: verbatim
33811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5231
33812 #: ../src/guestfs-actions.pod:5231
33813 #, no-wrap
33814 msgid ""
33815 " int\n"
33816 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
33817 "                               const char *device,\n"
33818 "                               const struct guestfs_ntfsresize_opts_argv *optargs);\n"
33819 "\n"
33820 msgstr ""
33821
33822 #. type: textblock
33823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5236
33824 #: ../src/guestfs-actions.pod:5236
33825 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
33826 msgstr ""
33827
33828 #. type: =head2
33829 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5240
33830 #: ../src/guestfs-actions.pod:5240
33831 msgid "guestfs_ntfsresize_size"
33832 msgstr ""
33833
33834 #. type: verbatim
33835 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5242
33836 #: ../src/guestfs-actions.pod:5242
33837 #, no-wrap
33838 msgid ""
33839 " int\n"
33840 " guestfs_ntfsresize_size (guestfs_h *g,\n"
33841 "                          const char *device,\n"
33842 "                          int64_t size);\n"
33843 "\n"
33844 msgstr ""
33845
33846 #. type: textblock
33847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5247
33848 #: ../src/guestfs-actions.pod:5247
33849 msgid ""
33850 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
33851 "to specify the new size (in bytes) explicitly."
33852 msgstr ""
33853
33854 #. type: textblock
33855 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5259
33856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5701
33857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5774
33858 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6042
33859 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7665
33860 #: ../src/guestfs-actions.pod:5259 ../src/guestfs-actions.pod:5701
33861 #: ../src/guestfs-actions.pod:5774 ../src/guestfs-actions.pod:6042
33862 #: ../src/guestfs-actions.pod:7665
33863 msgid "(Added in 1.3.14)"
33864 msgstr ""
33865
33866 #. type: =head2
33867 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5261
33868 #: ../src/guestfs-actions.pod:5261
33869 msgid "guestfs_part_add"
33870 msgstr ""
33871
33872 #. type: verbatim
33873 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5263
33874 #: ../src/guestfs-actions.pod:5263
33875 #, no-wrap
33876 msgid ""
33877 " int\n"
33878 " guestfs_part_add (guestfs_h *g,\n"
33879 "                   const char *device,\n"
33880 "                   const char *prlogex,\n"
33881 "                   int64_t startsect,\n"
33882 "                   int64_t endsect);\n"
33883 "\n"
33884 msgstr ""
33885
33886 #. type: textblock
33887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5270
33888 #: ../src/guestfs-actions.pod:5270
33889 msgid ""
33890 "This command adds a partition to C<device>.  If there is no partition table "
33891 "on the device, call C<guestfs_part_init> first."
33892 msgstr ""
33893
33894 #. type: textblock
33895 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5282
33896 #: ../src/guestfs-actions.pod:5282
33897 msgid ""
33898 "Creating a partition which covers the whole disk is not so easy.  Use "
33899 "C<guestfs_part_disk> to do that."
33900 msgstr ""
33901
33902 #. type: textblock
33903 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5287
33904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5325
33905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5378
33906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5462
33907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5500
33908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5519
33909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5559
33910 #: ../src/guestfs-actions.pod:5287 ../src/guestfs-actions.pod:5325
33911 #: ../src/guestfs-actions.pod:5378 ../src/guestfs-actions.pod:5462
33912 #: ../src/guestfs-actions.pod:5500 ../src/guestfs-actions.pod:5519
33913 #: ../src/guestfs-actions.pod:5559
33914 msgid "(Added in 1.0.78)"
33915 msgstr ""
33916
33917 #. type: =head2
33918 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5289
33919 #: ../src/guestfs-actions.pod:5289
33920 msgid "guestfs_part_del"
33921 msgstr ""
33922
33923 #. type: verbatim
33924 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5291
33925 #: ../src/guestfs-actions.pod:5291
33926 #, no-wrap
33927 msgid ""
33928 " int\n"
33929 " guestfs_part_del (guestfs_h *g,\n"
33930 "                   const char *device,\n"
33931 "                   int partnum);\n"
33932 "\n"
33933 msgstr ""
33934
33935 #. type: =head2
33936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5306
33937 #: ../src/guestfs-actions.pod:5306
33938 msgid "guestfs_part_disk"
33939 msgstr ""
33940
33941 #. type: verbatim
33942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5308
33943 #: ../src/guestfs-actions.pod:5308
33944 #, no-wrap
33945 msgid ""
33946 " int\n"
33947 " guestfs_part_disk (guestfs_h *g,\n"
33948 "                    const char *device,\n"
33949 "                    const char *parttype);\n"
33950 "\n"
33951 msgstr ""
33952
33953 #. type: textblock
33954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5313
33955 #: ../src/guestfs-actions.pod:5313
33956 msgid ""
33957 "This command is simply a combination of C<guestfs_part_init> followed by "
33958 "C<guestfs_part_add> to create a single primary partition covering the whole "
33959 "disk."
33960 msgstr ""
33961
33962 #. type: textblock
33963 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5317
33964 #: ../src/guestfs-actions.pod:5317
33965 msgid ""
33966 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
33967 "possible values are described in C<guestfs_part_init>."
33968 msgstr ""
33969
33970 #. type: =head2
33971 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5327
33972 #: ../src/guestfs-actions.pod:5327
33973 msgid "guestfs_part_get_bootable"
33974 msgstr ""
33975
33976 #. type: verbatim
33977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5329
33978 #: ../src/guestfs-actions.pod:5329
33979 #, no-wrap
33980 msgid ""
33981 " int\n"
33982 " guestfs_part_get_bootable (guestfs_h *g,\n"
33983 "                            const char *device,\n"
33984 "                            int partnum);\n"
33985 "\n"
33986 msgstr ""
33987
33988 #. type: textblock
33989 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5337
33990 #: ../src/guestfs-actions.pod:5337
33991 msgid "See also C<guestfs_part_set_bootable>."
33992 msgstr ""
33993
33994 #. type: =head2
33995 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5343
33996 #: ../src/guestfs-actions.pod:5343
33997 msgid "guestfs_part_get_mbr_id"
33998 msgstr ""
33999
34000 #. type: verbatim
34001 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5345
34002 #: ../src/guestfs-actions.pod:5345
34003 #, no-wrap
34004 msgid ""
34005 " int\n"
34006 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
34007 "                          const char *device,\n"
34008 "                          int partnum);\n"
34009 "\n"
34010 msgstr ""
34011
34012 #. type: textblock
34013 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5353
34014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5535
34015 #: ../src/guestfs-actions.pod:5353 ../src/guestfs-actions.pod:5535
34016 msgid ""
34017 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
34018 "undefined results for other partition table types (see "
34019 "C<guestfs_part_get_parttype>)."
34020 msgstr ""
34021
34022 #. type: =head2
34023 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5361
34024 #: ../src/guestfs-actions.pod:5361
34025 msgid "guestfs_part_get_parttype"
34026 msgstr ""
34027
34028 #. type: verbatim
34029 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5363
34030 #: ../src/guestfs-actions.pod:5363
34031 #, no-wrap
34032 msgid ""
34033 " char *\n"
34034 " guestfs_part_get_parttype (guestfs_h *g,\n"
34035 "                            const char *device);\n"
34036 "\n"
34037 msgstr ""
34038
34039 #. type: textblock
34040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5370
34041 #: ../src/guestfs-actions.pod:5370
34042 msgid ""
34043 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
34044 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
34045 "possible, although unusual.  See C<guestfs_part_init> for a full list."
34046 msgstr ""
34047
34048 #. type: =head2
34049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5380
34050 #: ../src/guestfs-actions.pod:5380
34051 msgid "guestfs_part_init"
34052 msgstr ""
34053
34054 #. type: verbatim
34055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5382
34056 #: ../src/guestfs-actions.pod:5382
34057 #, no-wrap
34058 msgid ""
34059 " int\n"
34060 " guestfs_part_init (guestfs_h *g,\n"
34061 "                    const char *device,\n"
34062 "                    const char *parttype);\n"
34063 "\n"
34064 msgstr ""
34065
34066 #. type: textblock
34067 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5391
34068 #: ../src/guestfs-actions.pod:5391
34069 msgid ""
34070 "Initially there are no partitions.  Following this, you should call "
34071 "C<guestfs_part_add> for each partition required."
34072 msgstr ""
34073
34074 #. type: =head2
34075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5464
34076 #: ../src/guestfs-actions.pod:5464
34077 msgid "guestfs_part_list"
34078 msgstr ""
34079
34080 #. type: verbatim
34081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5466
34082 #: ../src/guestfs-actions.pod:5466
34083 #, no-wrap
34084 msgid ""
34085 " struct guestfs_partition_list *\n"
34086 " guestfs_part_list (guestfs_h *g,\n"
34087 "                    const char *device);\n"
34088 "\n"
34089 msgstr ""
34090
34091 #. type: textblock
34092 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5483
34093 #: ../src/guestfs-actions.pod:5483
34094 msgid ""
34095 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
34096 "the device's sector size, see C<guestfs_blockdev_getss>."
34097 msgstr ""
34098
34099 #. type: textblock
34100 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5496
34101 #: ../src/guestfs-actions.pod:5496
34102 msgid ""
34103 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
34104 "was an error.  I<The caller must call C<guestfs_free_partition_list> after "
34105 "use>."
34106 msgstr ""
34107
34108 #. type: =head2
34109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5502
34110 #: ../src/guestfs-actions.pod:5502
34111 msgid "guestfs_part_set_bootable"
34112 msgstr ""
34113
34114 #. type: verbatim
34115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5504
34116 #: ../src/guestfs-actions.pod:5504
34117 #, no-wrap
34118 msgid ""
34119 " int\n"
34120 " guestfs_part_set_bootable (guestfs_h *g,\n"
34121 "                            const char *device,\n"
34122 "                            int partnum,\n"
34123 "                            int bootable);\n"
34124 "\n"
34125 msgstr ""
34126
34127 #. type: =head2
34128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5521
34129 #: ../src/guestfs-actions.pod:5521
34130 msgid "guestfs_part_set_mbr_id"
34131 msgstr ""
34132
34133 #. type: verbatim
34134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5523
34135 #: ../src/guestfs-actions.pod:5523
34136 #, no-wrap
34137 msgid ""
34138 " int\n"
34139 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
34140 "                          const char *device,\n"
34141 "                          int partnum,\n"
34142 "                          int idbyte);\n"
34143 "\n"
34144 msgstr ""
34145
34146 #. type: =head2
34147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5543
34148 #: ../src/guestfs-actions.pod:5543
34149 msgid "guestfs_part_set_name"
34150 msgstr ""
34151
34152 #. type: verbatim
34153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5545
34154 #: ../src/guestfs-actions.pod:5545
34155 #, no-wrap
34156 msgid ""
34157 " int\n"
34158 " guestfs_part_set_name (guestfs_h *g,\n"
34159 "                        const char *device,\n"
34160 "                        int partnum,\n"
34161 "                        const char *name);\n"
34162 "\n"
34163 msgstr ""
34164
34165 #. type: =head2
34166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5561
34167 #: ../src/guestfs-actions.pod:5561
34168 msgid "guestfs_part_to_dev"
34169 msgstr ""
34170
34171 #. type: verbatim
34172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5563
34173 #: ../src/guestfs-actions.pod:5563
34174 #, no-wrap
34175 msgid ""
34176 " char *\n"
34177 " guestfs_part_to_dev (guestfs_h *g,\n"
34178 "                      const char *partition);\n"
34179 "\n"
34180 msgstr ""
34181
34182 #. type: textblock
34183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5571
34184 #: ../src/guestfs-actions.pod:5571
34185 msgid ""
34186 "The named partition must exist, for example as a string returned from "
34187 "C<guestfs_list_partitions>."
34188 msgstr ""
34189
34190 #. type: =head2
34191 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5579
34192 #: ../src/guestfs-actions.pod:5579
34193 msgid "guestfs_ping_daemon"
34194 msgstr ""
34195
34196 #. type: verbatim
34197 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5581
34198 #: ../src/guestfs-actions.pod:5581
34199 #, no-wrap
34200 msgid ""
34201 " int\n"
34202 " guestfs_ping_daemon (guestfs_h *g);\n"
34203 "\n"
34204 msgstr ""
34205
34206 #. type: =head2
34207 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5593
34208 #: ../src/guestfs-actions.pod:5593
34209 msgid "guestfs_pread"
34210 msgstr ""
34211
34212 #. type: verbatim
34213 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5595
34214 #: ../src/guestfs-actions.pod:5595
34215 #, no-wrap
34216 msgid ""
34217 " char *\n"
34218 " guestfs_pread (guestfs_h *g,\n"
34219 "                const char *path,\n"
34220 "                int count,\n"
34221 "                int64_t offset,\n"
34222 "                size_t *size_r);\n"
34223 "\n"
34224 msgstr ""
34225
34226 #. type: textblock
34227 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5608
34228 #: ../src/guestfs-actions.pod:5608
34229 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
34230 msgstr ""
34231
34232 #. type: =head2
34233 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5619
34234 #: ../src/guestfs-actions.pod:5619
34235 msgid "guestfs_pread_device"
34236 msgstr ""
34237
34238 #. type: verbatim
34239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5621
34240 #: ../src/guestfs-actions.pod:5621
34241 #, no-wrap
34242 msgid ""
34243 " char *\n"
34244 " guestfs_pread_device (guestfs_h *g,\n"
34245 "                       const char *device,\n"
34246 "                       int count,\n"
34247 "                       int64_t offset,\n"
34248 "                       size_t *size_r);\n"
34249 "\n"
34250 msgstr ""
34251
34252 #. type: textblock
34253 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5634
34254 #: ../src/guestfs-actions.pod:5634
34255 msgid "See also C<guestfs_pread>."
34256 msgstr ""
34257
34258 #. type: textblock
34259 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5643
34260 #: ../src/guestfs-actions.pod:5643
34261 msgid "(Added in 1.5.21)"
34262 msgstr ""
34263
34264 #. type: =head2
34265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5645
34266 #: ../src/guestfs-actions.pod:5645
34267 msgid "guestfs_pvcreate"
34268 msgstr ""
34269
34270 #. type: verbatim
34271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5647
34272 #: ../src/guestfs-actions.pod:5647
34273 #, no-wrap
34274 msgid ""
34275 " int\n"
34276 " guestfs_pvcreate (guestfs_h *g,\n"
34277 "                   const char *device);\n"
34278 "\n"
34279 msgstr ""
34280
34281 #. type: =head2
34282 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5659
34283 #: ../src/guestfs-actions.pod:5659
34284 msgid "guestfs_pvremove"
34285 msgstr ""
34286
34287 #. type: verbatim
34288 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5661
34289 #: ../src/guestfs-actions.pod:5661
34290 #, no-wrap
34291 msgid ""
34292 " int\n"
34293 " guestfs_pvremove (guestfs_h *g,\n"
34294 "                   const char *device);\n"
34295 "\n"
34296 msgstr ""
34297
34298 #. type: =head2
34299 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5676
34300 #: ../src/guestfs-actions.pod:5676
34301 msgid "guestfs_pvresize"
34302 msgstr ""
34303
34304 #. type: verbatim
34305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5678
34306 #: ../src/guestfs-actions.pod:5678
34307 #, no-wrap
34308 msgid ""
34309 " int\n"
34310 " guestfs_pvresize (guestfs_h *g,\n"
34311 "                   const char *device);\n"
34312 "\n"
34313 msgstr ""
34314
34315 #. type: =head2
34316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5689
34317 #: ../src/guestfs-actions.pod:5689
34318 msgid "guestfs_pvresize_size"
34319 msgstr ""
34320
34321 #. type: verbatim
34322 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5691
34323 #: ../src/guestfs-actions.pod:5691
34324 #, no-wrap
34325 msgid ""
34326 " int\n"
34327 " guestfs_pvresize_size (guestfs_h *g,\n"
34328 "                        const char *device,\n"
34329 "                        int64_t size);\n"
34330 "\n"
34331 msgstr ""
34332
34333 #. type: textblock
34334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5696
34335 #: ../src/guestfs-actions.pod:5696
34336 msgid ""
34337 "This command is the same as C<guestfs_pvresize> except that it allows you to "
34338 "specify the new size (in bytes) explicitly."
34339 msgstr ""
34340
34341 #. type: =head2
34342 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5703
34343 #: ../src/guestfs-actions.pod:5703
34344 msgid "guestfs_pvs"
34345 msgstr ""
34346
34347 #. type: verbatim
34348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5705
34349 #: ../src/guestfs-actions.pod:5705
34350 #, no-wrap
34351 msgid ""
34352 " char **\n"
34353 " guestfs_pvs (guestfs_h *g);\n"
34354 "\n"
34355 msgstr ""
34356
34357 #. type: textblock
34358 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5714
34359 #: ../src/guestfs-actions.pod:5714
34360 msgid "See also C<guestfs_pvs_full>."
34361 msgstr ""
34362
34363 #. type: =head2
34364 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5722
34365 #: ../src/guestfs-actions.pod:5722
34366 msgid "guestfs_pvs_full"
34367 msgstr ""
34368
34369 #. type: verbatim
34370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5724
34371 #: ../src/guestfs-actions.pod:5724
34372 #, no-wrap
34373 msgid ""
34374 " struct guestfs_lvm_pv_list *\n"
34375 " guestfs_pvs_full (guestfs_h *g);\n"
34376 "\n"
34377 msgstr ""
34378
34379 #. type: textblock
34380 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5730
34381 #: ../src/guestfs-actions.pod:5730
34382 msgid ""
34383 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
34384 "was an error.  I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
34385 msgstr ""
34386
34387 #. type: =head2
34388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5736
34389 #: ../src/guestfs-actions.pod:5736
34390 msgid "guestfs_pvuuid"
34391 msgstr ""
34392
34393 #. type: verbatim
34394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5738
34395 #: ../src/guestfs-actions.pod:5738
34396 #, no-wrap
34397 msgid ""
34398 " char *\n"
34399 " guestfs_pvuuid (guestfs_h *g,\n"
34400 "                 const char *device);\n"
34401 "\n"
34402 msgstr ""
34403
34404 #. type: =head2
34405 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5749
34406 #: ../src/guestfs-actions.pod:5749
34407 msgid "guestfs_pwrite"
34408 msgstr ""
34409
34410 #. type: verbatim
34411 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5751
34412 #: ../src/guestfs-actions.pod:5751
34413 #, no-wrap
34414 msgid ""
34415 " int\n"
34416 " guestfs_pwrite (guestfs_h *g,\n"
34417 "                 const char *path,\n"
34418 "                 const char *content,\n"
34419 "                 size_t content_size,\n"
34420 "                 int64_t offset);\n"
34421 "\n"
34422 msgstr ""
34423
34424 #. type: textblock
34425 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5767
34426 #: ../src/guestfs-actions.pod:5767
34427 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
34428 msgstr ""
34429
34430 #. type: =head2
34431 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5776
34432 #: ../src/guestfs-actions.pod:5776
34433 msgid "guestfs_pwrite_device"
34434 msgstr ""
34435
34436 #. type: verbatim
34437 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5778
34438 #: ../src/guestfs-actions.pod:5778
34439 #, no-wrap
34440 msgid ""
34441 " int\n"
34442 " guestfs_pwrite_device (guestfs_h *g,\n"
34443 "                        const char *device,\n"
34444 "                        const char *content,\n"
34445 "                        size_t content_size,\n"
34446 "                        int64_t offset);\n"
34447 "\n"
34448 msgstr ""
34449
34450 #. type: textblock
34451 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5793
34452 #: ../src/guestfs-actions.pod:5793
34453 msgid "See also C<guestfs_pwrite>."
34454 msgstr ""
34455
34456 #. type: textblock
34457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5800
34458 #: ../src/guestfs-actions.pod:5800
34459 msgid "(Added in 1.5.20)"
34460 msgstr ""
34461
34462 #. type: =head2
34463 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5802
34464 #: ../src/guestfs-actions.pod:5802
34465 msgid "guestfs_read_file"
34466 msgstr ""
34467
34468 #. type: verbatim
34469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5804
34470 #: ../src/guestfs-actions.pod:5804
34471 #, no-wrap
34472 msgid ""
34473 " char *\n"
34474 " guestfs_read_file (guestfs_h *g,\n"
34475 "                    const char *path,\n"
34476 "                    size_t *size_r);\n"
34477 "\n"
34478 msgstr ""
34479
34480 #. type: textblock
34481 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5812
34482 #: ../src/guestfs-actions.pod:5812
34483 msgid ""
34484 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
34485 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
34486 "function is limited in the total size of file that can be handled."
34487 msgstr ""
34488
34489 #. type: textblock
34490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5824
34491 #: ../src/guestfs-actions.pod:5824
34492 msgid "(Added in 1.0.63)"
34493 msgstr ""
34494
34495 #. type: =head2
34496 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5826
34497 #: ../src/guestfs-actions.pod:5826
34498 msgid "guestfs_read_lines"
34499 msgstr ""
34500
34501 #. type: verbatim
34502 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5828
34503 #: ../src/guestfs-actions.pod:5828
34504 #, no-wrap
34505 msgid ""
34506 " char **\n"
34507 " guestfs_read_lines (guestfs_h *g,\n"
34508 "                     const char *path);\n"
34509 "\n"
34510 msgstr ""
34511
34512 #. type: textblock
34513 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5837
34514 #: ../src/guestfs-actions.pod:5837
34515 msgid ""
34516 "Note that this function cannot correctly handle binary files (specifically, "
34517 "files containing C<\\0> character which is treated as end of line).  For "
34518 "those you need to use the C<guestfs_read_file> function which has a more "
34519 "complex interface."
34520 msgstr ""
34521
34522 #. type: =head2
34523 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5848
34524 #: ../src/guestfs-actions.pod:5848
34525 msgid "guestfs_readdir"
34526 msgstr ""
34527
34528 #. type: verbatim
34529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5850
34530 #: ../src/guestfs-actions.pod:5850
34531 #, no-wrap
34532 msgid ""
34533 " struct guestfs_dirent_list *\n"
34534 " guestfs_readdir (guestfs_h *g,\n"
34535 "                  const char *dir);\n"
34536 "\n"
34537 msgstr ""
34538
34539 #. type: textblock
34540 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5904
34541 #: ../src/guestfs-actions.pod:5904
34542 msgid ""
34543 "This function is primarily intended for use by programs.  To get a simple "
34544 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
34545 "consumption, use C<guestfs_ll>."
34546 msgstr ""
34547
34548 #. type: textblock
34549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5908
34550 #: ../src/guestfs-actions.pod:5908
34551 msgid ""
34552 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
34553 "was an error.  I<The caller must call C<guestfs_free_dirent_list> after use>."
34554 msgstr ""
34555
34556 #. type: =head2
34557 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5914
34558 #: ../src/guestfs-actions.pod:5914
34559 msgid "guestfs_readlink"
34560 msgstr ""
34561
34562 #. type: verbatim
34563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5916
34564 #: ../src/guestfs-actions.pod:5916
34565 #, no-wrap
34566 msgid ""
34567 " char *\n"
34568 " guestfs_readlink (guestfs_h *g,\n"
34569 "                   const char *path);\n"
34570 "\n"
34571 msgstr ""
34572
34573 #. type: =head2
34574 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5927
34575 #: ../src/guestfs-actions.pod:5927
34576 msgid "guestfs_readlinklist"
34577 msgstr ""
34578
34579 #. type: verbatim
34580 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5929
34581 #: ../src/guestfs-actions.pod:5929
34582 #, no-wrap
34583 msgid ""
34584 " char **\n"
34585 " guestfs_readlinklist (guestfs_h *g,\n"
34586 "                       const char *path,\n"
34587 "                       char *const *names);\n"
34588 "\n"
34589 msgstr ""
34590
34591 #. type: =head2
34592 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5962
34593 #: ../src/guestfs-actions.pod:5962
34594 msgid "guestfs_realpath"
34595 msgstr ""
34596
34597 #. type: verbatim
34598 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5964
34599 #: ../src/guestfs-actions.pod:5964
34600 #, no-wrap
34601 msgid ""
34602 " char *\n"
34603 " guestfs_realpath (guestfs_h *g,\n"
34604 "                   const char *path);\n"
34605 "\n"
34606 msgstr ""
34607
34608 #. type: =head2
34609 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5976
34610 #: ../src/guestfs-actions.pod:5976
34611 msgid "guestfs_removexattr"
34612 msgstr ""
34613
34614 #. type: verbatim
34615 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5978
34616 #: ../src/guestfs-actions.pod:5978
34617 #, no-wrap
34618 msgid ""
34619 " int\n"
34620 " guestfs_removexattr (guestfs_h *g,\n"
34621 "                      const char *xattr,\n"
34622 "                      const char *path);\n"
34623 "\n"
34624 msgstr ""
34625
34626 #. type: textblock
34627 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5986
34628 #: ../src/guestfs-actions.pod:5986
34629 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
34630 msgstr ""
34631
34632 #. type: =head2
34633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5992
34634 #: ../src/guestfs-actions.pod:5992
34635 msgid "guestfs_resize2fs"
34636 msgstr ""
34637
34638 #. type: verbatim
34639 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5994
34640 #: ../src/guestfs-actions.pod:5994
34641 #, no-wrap
34642 msgid ""
34643 " int\n"
34644 " guestfs_resize2fs (guestfs_h *g,\n"
34645 "                    const char *device);\n"
34646 "\n"
34647 msgstr ""
34648
34649 #. type: textblock
34650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6001
34651 #: ../src/guestfs-actions.pod:6001
34652 msgid ""
34653 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
34654 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
34655 "sometimes gives an error about this and sometimes not.  In any case, it is "
34656 "always safe to call C<guestfs_e2fsck_f> before calling this function."
34657 msgstr ""
34658
34659 #. type: =head2
34660 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6011
34661 #: ../src/guestfs-actions.pod:6011
34662 msgid "guestfs_resize2fs_M"
34663 msgstr ""
34664
34665 #. type: verbatim
34666 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6013
34667 #: ../src/guestfs-actions.pod:6013
34668 #, no-wrap
34669 msgid ""
34670 " int\n"
34671 " guestfs_resize2fs_M (guestfs_h *g,\n"
34672 "                      const char *device);\n"
34673 "\n"
34674 msgstr ""
34675
34676 #. type: textblock
34677 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6017
34678 #: ../src/guestfs-actions.pod:6017
34679 msgid ""
34680 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
34681 "resized to its minimum size.  This works like the I<-M> option to the "
34682 "C<resize2fs> command."
34683 msgstr ""
34684
34685 #. type: textblock
34686 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6021
34687 #: ../src/guestfs-actions.pod:6021
34688 msgid ""
34689 "To get the resulting size of the filesystem you should call "
34690 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values.  "
34691 "These two numbers, multiplied together, give the resulting size of the "
34692 "minimal filesystem in bytes."
34693 msgstr ""
34694
34695 #. type: =head2
34696 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6030
34697 #: ../src/guestfs-actions.pod:6030
34698 msgid "guestfs_resize2fs_size"
34699 msgstr ""
34700
34701 #. type: verbatim
34702 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6032
34703 #: ../src/guestfs-actions.pod:6032
34704 #, no-wrap
34705 msgid ""
34706 " int\n"
34707 " guestfs_resize2fs_size (guestfs_h *g,\n"
34708 "                         const char *device,\n"
34709 "                         int64_t size);\n"
34710 "\n"
34711 msgstr ""
34712
34713 #. type: textblock
34714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6037
34715 #: ../src/guestfs-actions.pod:6037
34716 msgid ""
34717 "This command is the same as C<guestfs_resize2fs> except that it allows you "
34718 "to specify the new size (in bytes) explicitly."
34719 msgstr ""
34720
34721 #. type: =head2
34722 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6044
34723 #: ../src/guestfs-actions.pod:6044
34724 msgid "guestfs_rm"
34725 msgstr ""
34726
34727 #. type: verbatim
34728 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6046
34729 #: ../src/guestfs-actions.pod:6046
34730 #, no-wrap
34731 msgid ""
34732 " int\n"
34733 " guestfs_rm (guestfs_h *g,\n"
34734 "             const char *path);\n"
34735 "\n"
34736 msgstr ""
34737
34738 #. type: =head2
34739 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6056
34740 #: ../src/guestfs-actions.pod:6056
34741 msgid "guestfs_rm_rf"
34742 msgstr ""
34743
34744 #. type: verbatim
34745 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6058
34746 #: ../src/guestfs-actions.pod:6058
34747 #, no-wrap
34748 msgid ""
34749 " int\n"
34750 " guestfs_rm_rf (guestfs_h *g,\n"
34751 "                const char *path);\n"
34752 "\n"
34753 msgstr ""
34754
34755 #. type: =head2
34756 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6070
34757 #: ../src/guestfs-actions.pod:6070
34758 msgid "guestfs_rmdir"
34759 msgstr ""
34760
34761 #. type: verbatim
34762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6072
34763 #: ../src/guestfs-actions.pod:6072
34764 #, no-wrap
34765 msgid ""
34766 " int\n"
34767 " guestfs_rmdir (guestfs_h *g,\n"
34768 "                const char *path);\n"
34769 "\n"
34770 msgstr ""
34771
34772 #. type: =head2
34773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6082
34774 #: ../src/guestfs-actions.pod:6082
34775 msgid "guestfs_rmmountpoint"
34776 msgstr ""
34777
34778 #. type: verbatim
34779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6084
34780 #: ../src/guestfs-actions.pod:6084
34781 #, no-wrap
34782 msgid ""
34783 " int\n"
34784 " guestfs_rmmountpoint (guestfs_h *g,\n"
34785 "                       const char *exemptpath);\n"
34786 "\n"
34787 msgstr ""
34788
34789 #. type: textblock
34790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6088
34791 #: ../src/guestfs-actions.pod:6088
34792 msgid ""
34793 "This calls removes a mountpoint that was previously created with "
34794 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
34795 msgstr ""
34796
34797 #. type: =head2
34798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6096
34799 #: ../src/guestfs-actions.pod:6096
34800 msgid "guestfs_scrub_device"
34801 msgstr ""
34802
34803 #. type: verbatim
34804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6098
34805 #: ../src/guestfs-actions.pod:6098
34806 #, no-wrap
34807 msgid ""
34808 " int\n"
34809 " guestfs_scrub_device (guestfs_h *g,\n"
34810 "                       const char *device);\n"
34811 "\n"
34812 msgstr ""
34813
34814 #. type: textblock
34815 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6113
34816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6131
34817 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6150
34818 #: ../src/guestfs-actions.pod:6113 ../src/guestfs-actions.pod:6131
34819 #: ../src/guestfs-actions.pod:6150
34820 msgid "(Added in 1.0.52)"
34821 msgstr ""
34822
34823 #. type: =head2
34824 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6115
34825 #: ../src/guestfs-actions.pod:6115
34826 msgid "guestfs_scrub_file"
34827 msgstr ""
34828
34829 #. type: verbatim
34830 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6117
34831 #: ../src/guestfs-actions.pod:6117
34832 #, no-wrap
34833 msgid ""
34834 " int\n"
34835 " guestfs_scrub_file (guestfs_h *g,\n"
34836 "                     const char *file);\n"
34837 "\n"
34838 msgstr ""
34839
34840 #. type: =head2
34841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6133
34842 #: ../src/guestfs-actions.pod:6133
34843 msgid "guestfs_scrub_freespace"
34844 msgstr ""
34845
34846 #. type: verbatim
34847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6135
34848 #: ../src/guestfs-actions.pod:6135
34849 #, no-wrap
34850 msgid ""
34851 " int\n"
34852 " guestfs_scrub_freespace (guestfs_h *g,\n"
34853 "                          const char *dir);\n"
34854 "\n"
34855 msgstr ""
34856
34857 #. type: textblock
34858 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6139
34859 #: ../src/guestfs-actions.pod:6139
34860 msgid ""
34861 "This command creates the directory C<dir> and then fills it with files until "
34862 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
34863 "and deletes them.  The intention is to scrub any free space on the partition "
34864 "containing C<dir>."
34865 msgstr ""
34866
34867 #. type: =head2
34868 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6152
34869 #: ../src/guestfs-actions.pod:6152
34870 msgid "guestfs_set_append"
34871 msgstr ""
34872
34873 #. type: verbatim
34874 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6154
34875 #: ../src/guestfs-actions.pod:6154
34876 #, no-wrap
34877 msgid ""
34878 " int\n"
34879 " guestfs_set_append (guestfs_h *g,\n"
34880 "                     const char *append);\n"
34881 "\n"
34882 msgstr ""
34883
34884 #. type: =head2
34885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6171
34886 #: ../src/guestfs-actions.pod:6171
34887 msgid "guestfs_set_attach_method"
34888 msgstr ""
34889
34890 #. type: verbatim
34891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6173
34892 #: ../src/guestfs-actions.pod:6173
34893 #, no-wrap
34894 msgid ""
34895 " int\n"
34896 " guestfs_set_attach_method (guestfs_h *g,\n"
34897 "                            const char *attachmethod);\n"
34898 "\n"
34899 msgstr ""
34900
34901 #. type: =head2
34902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6201
34903 #: ../src/guestfs-actions.pod:6201
34904 msgid "guestfs_set_autosync"
34905 msgstr ""
34906
34907 #. type: verbatim
34908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6203
34909 #: ../src/guestfs-actions.pod:6203
34910 #, no-wrap
34911 msgid ""
34912 " int\n"
34913 " guestfs_set_autosync (guestfs_h *g,\n"
34914 "                       int autosync);\n"
34915 "\n"
34916 msgstr ""
34917
34918 #. type: =head2
34919 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6219
34920 #: ../src/guestfs-actions.pod:6219
34921 msgid "guestfs_set_direct"
34922 msgstr ""
34923
34924 #. type: verbatim
34925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6221
34926 #: ../src/guestfs-actions.pod:6221
34927 #, no-wrap
34928 msgid ""
34929 " int\n"
34930 " guestfs_set_direct (guestfs_h *g,\n"
34931 "                     int direct);\n"
34932 "\n"
34933 msgstr ""
34934
34935 #. type: textblock
34936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6229
34937 #: ../src/guestfs-actions.pod:6229
34938 msgid ""
34939 "One consequence of this is that log messages aren't caught by the library "
34940 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
34941 "stdout."
34942 msgstr ""
34943
34944 #. type: =head2
34945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6242
34946 #: ../src/guestfs-actions.pod:6242
34947 msgid "guestfs_set_e2label"
34948 msgstr ""
34949
34950 #. type: verbatim
34951 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6244
34952 #: ../src/guestfs-actions.pod:6244
34953 #, no-wrap
34954 msgid ""
34955 " int\n"
34956 " guestfs_set_e2label (guestfs_h *g,\n"
34957 "                      const char *device,\n"
34958 "                      const char *label);\n"
34959 "\n"
34960 msgstr ""
34961
34962 #. type: textblock
34963 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6253
34964 #: ../src/guestfs-actions.pod:6253
34965 msgid ""
34966 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
34967 "the existing label on a filesystem."
34968 msgstr ""
34969
34970 #. type: =head2
34971 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6260
34972 #: ../src/guestfs-actions.pod:6260
34973 msgid "guestfs_set_e2uuid"
34974 msgstr ""
34975
34976 #. type: verbatim
34977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6262
34978 #: ../src/guestfs-actions.pod:6262
34979 #, no-wrap
34980 msgid ""
34981 " int\n"
34982 " guestfs_set_e2uuid (guestfs_h *g,\n"
34983 "                     const char *device,\n"
34984 "                     const char *uuid);\n"
34985 "\n"
34986 msgstr ""
34987
34988 #. type: textblock
34989 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6272
34990 #: ../src/guestfs-actions.pod:6272
34991 msgid ""
34992 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
34993 "the existing UUID of a filesystem."
34994 msgstr ""
34995
34996 #. type: =head2
34997 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6279
34998 #: ../src/guestfs-actions.pod:6279
34999 msgid "guestfs_set_memsize"
35000 msgstr ""
35001
35002 #. type: verbatim
35003 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6281
35004 #: ../src/guestfs-actions.pod:6281
35005 #, no-wrap
35006 msgid ""
35007 " int\n"
35008 " guestfs_set_memsize (guestfs_h *g,\n"
35009 "                      int memsize);\n"
35010 "\n"
35011 msgstr ""
35012
35013 #. type: textblock
35014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6285
35015 #: ../src/guestfs-actions.pod:6285
35016 msgid ""
35017 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
35018 "This only has any effect if called before C<guestfs_launch>."
35019 msgstr ""
35020
35021 #. type: =head2
35022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6300
35023 #: ../src/guestfs-actions.pod:6300
35024 msgid "guestfs_set_network"
35025 msgstr ""
35026
35027 #. type: verbatim
35028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6302
35029 #: ../src/guestfs-actions.pod:6302
35030 #, no-wrap
35031 msgid ""
35032 " int\n"
35033 " guestfs_set_network (guestfs_h *g,\n"
35034 "                      int network);\n"
35035 "\n"
35036 msgstr ""
35037
35038 #. type: textblock
35039 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6312
35040 #: ../src/guestfs-actions.pod:6312
35041 msgid ""
35042 "You must call this before calling C<guestfs_launch>, otherwise it has no "
35043 "effect."
35044 msgstr ""
35045
35046 #. type: =head2
35047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6319
35048 #: ../src/guestfs-actions.pod:6319
35049 msgid "guestfs_set_path"
35050 msgstr ""
35051
35052 #. type: verbatim
35053 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6321
35054 #: ../src/guestfs-actions.pod:6321
35055 #, no-wrap
35056 msgid ""
35057 " int\n"
35058 " guestfs_set_path (guestfs_h *g,\n"
35059 "                   const char *searchpath);\n"
35060 "\n"
35061 msgstr ""
35062
35063 #. type: =head2
35064 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6336
35065 #: ../src/guestfs-actions.pod:6336
35066 msgid "guestfs_set_pgroup"
35067 msgstr ""
35068
35069 #. type: verbatim
35070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6338
35071 #: ../src/guestfs-actions.pod:6338
35072 #, no-wrap
35073 msgid ""
35074 " int\n"
35075 " guestfs_set_pgroup (guestfs_h *g,\n"
35076 "                     int pgroup);\n"
35077 "\n"
35078 msgstr ""
35079
35080 #. type: =head2
35081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6355
35082 #: ../src/guestfs-actions.pod:6355
35083 msgid "guestfs_set_qemu"
35084 msgstr ""
35085
35086 #. type: verbatim
35087 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6357
35088 #: ../src/guestfs-actions.pod:6357
35089 #, no-wrap
35090 msgid ""
35091 " int\n"
35092 " guestfs_set_qemu (guestfs_h *g,\n"
35093 "                   const char *qemu);\n"
35094 "\n"
35095 msgstr ""
35096
35097 #. type: =head2
35098 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6383
35099 #: ../src/guestfs-actions.pod:6383
35100 msgid "guestfs_set_recovery_proc"
35101 msgstr ""
35102
35103 #. type: verbatim
35104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6385
35105 #: ../src/guestfs-actions.pod:6385
35106 #, no-wrap
35107 msgid ""
35108 " int\n"
35109 " guestfs_set_recovery_proc (guestfs_h *g,\n"
35110 "                            int recoveryproc);\n"
35111 "\n"
35112 msgstr ""
35113
35114 #. type: textblock
35115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6389
35116 #: ../src/guestfs-actions.pod:6389
35117 msgid ""
35118 "If this is called with the parameter C<false> then C<guestfs_launch> does "
35119 "not create a recovery process.  The purpose of the recovery process is to "
35120 "stop runaway qemu processes in the case where the main program aborts "
35121 "abruptly."
35122 msgstr ""
35123
35124 #. type: textblock
35125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6394
35126 #: ../src/guestfs-actions.pod:6394
35127 msgid ""
35128 "This only has any effect if called before C<guestfs_launch>, and the default "
35129 "is true."
35130 msgstr ""
35131
35132 #. type: =head2
35133 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6407
35134 #: ../src/guestfs-actions.pod:6407
35135 msgid "guestfs_set_selinux"
35136 msgstr ""
35137
35138 #. type: verbatim
35139 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6409
35140 #: ../src/guestfs-actions.pod:6409
35141 #, no-wrap
35142 msgid ""
35143 " int\n"
35144 " guestfs_set_selinux (guestfs_h *g,\n"
35145 "                      int selinux);\n"
35146 "\n"
35147 msgstr ""
35148
35149 #. type: =head2
35150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6426
35151 #: ../src/guestfs-actions.pod:6426
35152 msgid "guestfs_set_trace"
35153 msgstr ""
35154
35155 #. type: verbatim
35156 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6428
35157 #: ../src/guestfs-actions.pod:6428
35158 #, no-wrap
35159 msgid ""
35160 " int\n"
35161 " guestfs_set_trace (guestfs_h *g,\n"
35162 "                    int trace);\n"
35163 "\n"
35164 msgstr ""
35165
35166 #. type: textblock
35167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6442
35168 #: ../src/guestfs-actions.pod:6442
35169 msgid ""
35170 "Trace messages are normally sent to C<stderr>, unless you register a "
35171 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
35172 msgstr ""
35173
35174 #. type: =head2
35175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6450
35176 #: ../src/guestfs-actions.pod:6450
35177 msgid "guestfs_set_verbose"
35178 msgstr ""
35179
35180 #. type: verbatim
35181 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6452
35182 #: ../src/guestfs-actions.pod:6452
35183 #, no-wrap
35184 msgid ""
35185 " int\n"
35186 " guestfs_set_verbose (guestfs_h *g,\n"
35187 "                      int verbose);\n"
35188 "\n"
35189 msgstr ""
35190
35191 #. type: textblock
35192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6461
35193 #: ../src/guestfs-actions.pod:6461
35194 msgid ""
35195 "Verbose messages are normally sent to C<stderr>, unless you register a "
35196 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
35197 msgstr ""
35198
35199 #. type: =head2
35200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6469
35201 #: ../src/guestfs-actions.pod:6469
35202 msgid "guestfs_setcon"
35203 msgstr ""
35204
35205 #. type: verbatim
35206 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6471
35207 #: ../src/guestfs-actions.pod:6471
35208 #, no-wrap
35209 msgid ""
35210 " int\n"
35211 " guestfs_setcon (guestfs_h *g,\n"
35212 "                 const char *context);\n"
35213 "\n"
35214 msgstr ""
35215
35216 #. type: =head2
35217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6484
35218 #: ../src/guestfs-actions.pod:6484
35219 msgid "guestfs_setxattr"
35220 msgstr ""
35221
35222 #. type: verbatim
35223 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6486
35224 #: ../src/guestfs-actions.pod:6486
35225 #, no-wrap
35226 msgid ""
35227 " int\n"
35228 " guestfs_setxattr (guestfs_h *g,\n"
35229 "                   const char *xattr,\n"
35230 "                   const char *val,\n"
35231 "                   int vallen,\n"
35232 "                   const char *path);\n"
35233 "\n"
35234 msgstr ""
35235
35236 #. type: textblock
35237 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6497
35238 #: ../src/guestfs-actions.pod:6497
35239 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
35240 msgstr ""
35241
35242 #. type: =head2
35243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6503
35244 #: ../src/guestfs-actions.pod:6503
35245 msgid "guestfs_sfdisk"
35246 msgstr ""
35247
35248 #. type: verbatim
35249 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6505
35250 #: ../src/guestfs-actions.pod:6505
35251 #, no-wrap
35252 msgid ""
35253 " int\n"
35254 " guestfs_sfdisk (guestfs_h *g,\n"
35255 "                 const char *device,\n"
35256 "                 int cyls,\n"
35257 "                 int heads,\n"
35258 "                 int sectors,\n"
35259 "                 char *const *lines);\n"
35260 "\n"
35261 msgstr ""
35262
35263 #. type: textblock
35264 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6533
35265 #: ../src/guestfs-actions.pod:6533
35266 msgid ""
35267 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
35268 msgstr ""
35269
35270 #. type: =head2
35271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6550
35272 #: ../src/guestfs-actions.pod:6550
35273 msgid "guestfs_sfdiskM"
35274 msgstr ""
35275
35276 #. type: verbatim
35277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6552
35278 #: ../src/guestfs-actions.pod:6552
35279 #, no-wrap
35280 msgid ""
35281 " int\n"
35282 " guestfs_sfdiskM (guestfs_h *g,\n"
35283 "                  const char *device,\n"
35284 "                  char *const *lines);\n"
35285 "\n"
35286 msgstr ""
35287
35288 #. type: textblock
35289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6557
35290 #: ../src/guestfs-actions.pod:6557
35291 msgid ""
35292 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
35293 "partition sizes are specified in megabytes only (rounded to the nearest "
35294 "cylinder) and you don't need to specify the cyls, heads and sectors "
35295 "parameters which were rarely if ever used anyway."
35296 msgstr ""
35297
35298 #. type: textblock
35299 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6563
35300 #: ../src/guestfs-actions.pod:6563
35301 msgid ""
35302 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
35303 "C<guestfs_part_disk>"
35304 msgstr ""
35305
35306 #. type: =head2
35307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6580
35308 #: ../src/guestfs-actions.pod:6580
35309 msgid "guestfs_sfdisk_N"
35310 msgstr ""
35311
35312 #. type: verbatim
35313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6582
35314 #: ../src/guestfs-actions.pod:6582
35315 #, no-wrap
35316 msgid ""
35317 " int\n"
35318 " guestfs_sfdisk_N (guestfs_h *g,\n"
35319 "                   const char *device,\n"
35320 "                   int partnum,\n"
35321 "                   int cyls,\n"
35322 "                   int heads,\n"
35323 "                   int sectors,\n"
35324 "                   const char *line);\n"
35325 "\n"
35326 msgstr ""
35327
35328 #. type: textblock
35329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6594
35330 #: ../src/guestfs-actions.pod:6594
35331 msgid ""
35332 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
35333 "for the cyls/heads/sectors parameters."
35334 msgstr ""
35335
35336 #. type: textblock
35337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6597
35338 #: ../src/guestfs-actions.pod:6597
35339 msgid "See also: C<guestfs_part_add>"
35340 msgstr ""
35341
35342 #. type: =head2
35343 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6613
35344 #: ../src/guestfs-actions.pod:6613
35345 msgid "guestfs_sfdisk_disk_geometry"
35346 msgstr ""
35347
35348 #. type: verbatim
35349 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6615
35350 #: ../src/guestfs-actions.pod:6615
35351 #, no-wrap
35352 msgid ""
35353 " char *\n"
35354 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
35355 "                               const char *device);\n"
35356 "\n"
35357 msgstr ""
35358
35359 #. type: textblock
35360 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6619
35361 #: ../src/guestfs-actions.pod:6619
35362 msgid ""
35363 "This displays the disk geometry of C<device> read from the partition table.  "
35364 "Especially in the case where the underlying block device has been resized, "
35365 "this can be different from the kernel's idea of the geometry (see "
35366 "C<guestfs_sfdisk_kernel_geometry>)."
35367 msgstr ""
35368
35369 #. type: =head2
35370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6632
35371 #: ../src/guestfs-actions.pod:6632
35372 msgid "guestfs_sfdisk_kernel_geometry"
35373 msgstr ""
35374
35375 #. type: verbatim
35376 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6634
35377 #: ../src/guestfs-actions.pod:6634
35378 #, no-wrap
35379 msgid ""
35380 " char *\n"
35381 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
35382 "                                 const char *device);\n"
35383 "\n"
35384 msgstr ""
35385
35386 #. type: =head2
35387 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6648
35388 #: ../src/guestfs-actions.pod:6648
35389 msgid "guestfs_sfdisk_l"
35390 msgstr ""
35391
35392 #. type: verbatim
35393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6650
35394 #: ../src/guestfs-actions.pod:6650
35395 #, no-wrap
35396 msgid ""
35397 " char *\n"
35398 " guestfs_sfdisk_l (guestfs_h *g,\n"
35399 "                   const char *device);\n"
35400 "\n"
35401 msgstr ""
35402
35403 #. type: textblock
35404 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6658
35405 #: ../src/guestfs-actions.pod:6658
35406 msgid "See also: C<guestfs_part_list>"
35407 msgstr ""
35408
35409 #. type: =head2
35410 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6672
35411 #: ../src/guestfs-actions.pod:6672
35412 msgid "guestfs_sh"
35413 msgstr ""
35414
35415 #. type: verbatim
35416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6674
35417 #: ../src/guestfs-actions.pod:6674
35418 #, no-wrap
35419 msgid ""
35420 " char *\n"
35421 " guestfs_sh (guestfs_h *g,\n"
35422 "             const char *command);\n"
35423 "\n"
35424 msgstr ""
35425
35426 #. type: textblock
35427 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6681
35428 #: ../src/guestfs-actions.pod:6681
35429 msgid "This is like C<guestfs_command>, but passes the command to:"
35430 msgstr ""
35431
35432 #. type: textblock
35433 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6689
35434 #: ../src/guestfs-actions.pod:6689
35435 msgid "All the provisos about C<guestfs_command> apply to this call."
35436 msgstr ""
35437
35438 #. type: =head2
35439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6696
35440 #: ../src/guestfs-actions.pod:6696
35441 msgid "guestfs_sh_lines"
35442 msgstr ""
35443
35444 #. type: verbatim
35445 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6698
35446 #: ../src/guestfs-actions.pod:6698
35447 #, no-wrap
35448 msgid ""
35449 " char **\n"
35450 " guestfs_sh_lines (guestfs_h *g,\n"
35451 "                   const char *command);\n"
35452 "\n"
35453 msgstr ""
35454
35455 #. type: textblock
35456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6702
35457 #: ../src/guestfs-actions.pod:6702
35458 msgid ""
35459 "This is the same as C<guestfs_sh>, but splits the result into a list of "
35460 "lines."
35461 msgstr ""
35462
35463 #. type: textblock
35464 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6705
35465 #: ../src/guestfs-actions.pod:6705
35466 msgid "See also: C<guestfs_command_lines>"
35467 msgstr ""
35468
35469 #. type: =head2
35470 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6713
35471 #: ../src/guestfs-actions.pod:6713
35472 msgid "guestfs_sleep"
35473 msgstr ""
35474
35475 #. type: verbatim
35476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6715
35477 #: ../src/guestfs-actions.pod:6715
35478 #, no-wrap
35479 msgid ""
35480 " int\n"
35481 " guestfs_sleep (guestfs_h *g,\n"
35482 "                int secs);\n"
35483 "\n"
35484 msgstr ""
35485
35486 #. type: textblock
35487 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6723
35488 #: ../src/guestfs-actions.pod:6723
35489 msgid "(Added in 1.0.41)"
35490 msgstr ""
35491
35492 #. type: =head2
35493 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6725
35494 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:109
35495 #: ../src/guestfs-actions.pod:6725 ../src/guestfs-structs.pod:109
35496 msgid "guestfs_stat"
35497 msgstr ""
35498
35499 #. type: verbatim
35500 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6727
35501 #: ../src/guestfs-actions.pod:6727
35502 #, no-wrap
35503 msgid ""
35504 " struct guestfs_stat *\n"
35505 " guestfs_stat (guestfs_h *g,\n"
35506 "               const char *path);\n"
35507 "\n"
35508 msgstr ""
35509
35510 #. type: =head2
35511 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6741
35512 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:135
35513 #: ../src/guestfs-actions.pod:6741 ../src/guestfs-structs.pod:135
35514 msgid "guestfs_statvfs"
35515 msgstr ""
35516
35517 #. type: verbatim
35518 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6743
35519 #: ../src/guestfs-actions.pod:6743
35520 #, no-wrap
35521 msgid ""
35522 " struct guestfs_statvfs *\n"
35523 " guestfs_statvfs (guestfs_h *g,\n"
35524 "                  const char *path);\n"
35525 "\n"
35526 msgstr ""
35527
35528 #. type: textblock
35529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6753
35530 #: ../src/guestfs-actions.pod:6753
35531 msgid ""
35532 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
35533 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
35534 msgstr ""
35535
35536 #. type: =head2
35537 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6759
35538 #: ../src/guestfs-actions.pod:6759
35539 msgid "guestfs_strings"
35540 msgstr ""
35541
35542 #. type: verbatim
35543 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6761
35544 #: ../src/guestfs-actions.pod:6761
35545 #, no-wrap
35546 msgid ""
35547 " char **\n"
35548 " guestfs_strings (guestfs_h *g,\n"
35549 "                  const char *path);\n"
35550 "\n"
35551 msgstr ""
35552
35553 #. type: =head2
35554 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6777
35555 #: ../src/guestfs-actions.pod:6777
35556 msgid "guestfs_strings_e"
35557 msgstr ""
35558
35559 #. type: verbatim
35560 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6779
35561 #: ../src/guestfs-actions.pod:6779
35562 #, no-wrap
35563 msgid ""
35564 " char **\n"
35565 " guestfs_strings_e (guestfs_h *g,\n"
35566 "                    const char *encoding,\n"
35567 "                    const char *path);\n"
35568 "\n"
35569 msgstr ""
35570
35571 #. type: textblock
35572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6784
35573 #: ../src/guestfs-actions.pod:6784
35574 msgid ""
35575 "This is like the C<guestfs_strings> command, but allows you to specify the "
35576 "encoding of strings that are looked for in the source file C<path>."
35577 msgstr ""
35578
35579 #. type: textblock
35580 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6794
35581 #: ../src/guestfs-actions.pod:6794
35582 msgid ""
35583 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
35584 "ISO-8859-X (this is what C<guestfs_strings> uses)."
35585 msgstr ""
35586
35587 #. type: =head2
35588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6832
35589 #: ../src/guestfs-actions.pod:6832
35590 msgid "guestfs_swapoff_device"
35591 msgstr ""
35592
35593 #. type: verbatim
35594 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6834
35595 #: ../src/guestfs-actions.pod:6834
35596 #, no-wrap
35597 msgid ""
35598 " int\n"
35599 " guestfs_swapoff_device (guestfs_h *g,\n"
35600 "                         const char *device);\n"
35601 "\n"
35602 msgstr ""
35603
35604 #. type: textblock
35605 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6838
35606 #: ../src/guestfs-actions.pod:6838
35607 msgid ""
35608 "This command disables the libguestfs appliance swap device or partition "
35609 "named C<device>.  See C<guestfs_swapon_device>."
35610 msgstr ""
35611
35612 #. type: =head2
35613 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6846
35614 #: ../src/guestfs-actions.pod:6846
35615 msgid "guestfs_swapoff_file"
35616 msgstr ""
35617
35618 #. type: verbatim
35619 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6848
35620 #: ../src/guestfs-actions.pod:6848
35621 #, no-wrap
35622 msgid ""
35623 " int\n"
35624 " guestfs_swapoff_file (guestfs_h *g,\n"
35625 "                       const char *file);\n"
35626 "\n"
35627 msgstr ""
35628
35629 #. type: =head2
35630 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6858
35631 #: ../src/guestfs-actions.pod:6858
35632 msgid "guestfs_swapoff_label"
35633 msgstr ""
35634
35635 #. type: verbatim
35636 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6860
35637 #: ../src/guestfs-actions.pod:6860
35638 #, no-wrap
35639 msgid ""
35640 " int\n"
35641 " guestfs_swapoff_label (guestfs_h *g,\n"
35642 "                        const char *label);\n"
35643 "\n"
35644 msgstr ""
35645
35646 #. type: =head2
35647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6871
35648 #: ../src/guestfs-actions.pod:6871
35649 msgid "guestfs_swapoff_uuid"
35650 msgstr ""
35651
35652 #. type: verbatim
35653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6873
35654 #: ../src/guestfs-actions.pod:6873
35655 #, no-wrap
35656 msgid ""
35657 " int\n"
35658 " guestfs_swapoff_uuid (guestfs_h *g,\n"
35659 "                       const char *uuid);\n"
35660 "\n"
35661 msgstr ""
35662
35663 #. type: =head2
35664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6884
35665 #: ../src/guestfs-actions.pod:6884
35666 msgid "guestfs_swapon_device"
35667 msgstr ""
35668
35669 #. type: verbatim
35670 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6886
35671 #: ../src/guestfs-actions.pod:6886
35672 #, no-wrap
35673 msgid ""
35674 " int\n"
35675 " guestfs_swapon_device (guestfs_h *g,\n"
35676 "                        const char *device);\n"
35677 "\n"
35678 msgstr ""
35679
35680 #. type: textblock
35681 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6890
35682 #: ../src/guestfs-actions.pod:6890
35683 msgid ""
35684 "This command enables the libguestfs appliance to use the swap device or "
35685 "partition named C<device>.  The increased memory is made available for all "
35686 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
35687 msgstr ""
35688
35689 #. type: =head2
35690 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6906
35691 #: ../src/guestfs-actions.pod:6906
35692 msgid "guestfs_swapon_file"
35693 msgstr ""
35694
35695 #. type: verbatim
35696 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6908
35697 #: ../src/guestfs-actions.pod:6908
35698 #, no-wrap
35699 msgid ""
35700 " int\n"
35701 " guestfs_swapon_file (guestfs_h *g,\n"
35702 "                      const char *file);\n"
35703 "\n"
35704 msgstr ""
35705
35706 #. type: textblock
35707 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6912
35708 #: ../src/guestfs-actions.pod:6912
35709 msgid ""
35710 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
35711 "notes."
35712 msgstr ""
35713
35714 #. type: =head2
35715 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6919
35716 #: ../src/guestfs-actions.pod:6919
35717 msgid "guestfs_swapon_label"
35718 msgstr ""
35719
35720 #. type: verbatim
35721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6921
35722 #: ../src/guestfs-actions.pod:6921
35723 #, no-wrap
35724 msgid ""
35725 " int\n"
35726 " guestfs_swapon_label (guestfs_h *g,\n"
35727 "                       const char *label);\n"
35728 "\n"
35729 msgstr ""
35730
35731 #. type: textblock
35732 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6925
35733 #: ../src/guestfs-actions.pod:6925
35734 msgid ""
35735 "This command enables swap to a labeled swap partition.  See "
35736 "C<guestfs_swapon_device> for other notes."
35737 msgstr ""
35738
35739 #. type: =head2
35740 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6932
35741 #: ../src/guestfs-actions.pod:6932
35742 msgid "guestfs_swapon_uuid"
35743 msgstr ""
35744
35745 #. type: verbatim
35746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6934
35747 #: ../src/guestfs-actions.pod:6934
35748 #, no-wrap
35749 msgid ""
35750 " int\n"
35751 " guestfs_swapon_uuid (guestfs_h *g,\n"
35752 "                      const char *uuid);\n"
35753 "\n"
35754 msgstr ""
35755
35756 #. type: textblock
35757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6938
35758 #: ../src/guestfs-actions.pod:6938
35759 msgid ""
35760 "This command enables swap to a swap partition with the given UUID.  See "
35761 "C<guestfs_swapon_device> for other notes."
35762 msgstr ""
35763
35764 #. type: =head2
35765 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6945
35766 #: ../src/guestfs-actions.pod:6945
35767 msgid "guestfs_sync"
35768 msgstr ""
35769
35770 #. type: verbatim
35771 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6947
35772 #: ../src/guestfs-actions.pod:6947
35773 #, no-wrap
35774 msgid ""
35775 " int\n"
35776 " guestfs_sync (guestfs_h *g);\n"
35777 "\n"
35778 msgstr ""
35779
35780 #. type: =head2
35781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6960
35782 #: ../src/guestfs-actions.pod:6960
35783 msgid "guestfs_tail"
35784 msgstr ""
35785
35786 #. type: verbatim
35787 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6962
35788 #: ../src/guestfs-actions.pod:6962
35789 #, no-wrap
35790 msgid ""
35791 " char **\n"
35792 " guestfs_tail (guestfs_h *g,\n"
35793 "               const char *path);\n"
35794 "\n"
35795 msgstr ""
35796
35797 #. type: =head2
35798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6978
35799 #: ../src/guestfs-actions.pod:6978
35800 msgid "guestfs_tail_n"
35801 msgstr ""
35802
35803 #. type: verbatim
35804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6980
35805 #: ../src/guestfs-actions.pod:6980
35806 #, no-wrap
35807 msgid ""
35808 " char **\n"
35809 " guestfs_tail_n (guestfs_h *g,\n"
35810 "                 int nrlines,\n"
35811 "                 const char *path);\n"
35812 "\n"
35813 msgstr ""
35814
35815 #. type: =head2
35816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7002
35817 #: ../src/guestfs-actions.pod:7002
35818 msgid "guestfs_tar_in"
35819 msgstr ""
35820
35821 #. type: verbatim
35822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7004
35823 #: ../src/guestfs-actions.pod:7004
35824 #, no-wrap
35825 msgid ""
35826 " int\n"
35827 " guestfs_tar_in (guestfs_h *g,\n"
35828 "                 const char *tarfile,\n"
35829 "                 const char *directory);\n"
35830 "\n"
35831 msgstr ""
35832
35833 #. type: textblock
35834 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7012
35835 #: ../src/guestfs-actions.pod:7012
35836 msgid ""
35837 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
35838 msgstr ""
35839
35840 #. type: textblock
35841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7017
35842 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7034
35843 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7050
35844 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7066
35845 #: ../src/guestfs-actions.pod:7017 ../src/guestfs-actions.pod:7034
35846 #: ../src/guestfs-actions.pod:7050 ../src/guestfs-actions.pod:7066
35847 msgid "(Added in 1.0.3)"
35848 msgstr ""
35849
35850 #. type: =head2
35851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7019
35852 #: ../src/guestfs-actions.pod:7019
35853 msgid "guestfs_tar_out"
35854 msgstr ""
35855
35856 #. type: verbatim
35857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7021
35858 #: ../src/guestfs-actions.pod:7021
35859 #, no-wrap
35860 msgid ""
35861 " int\n"
35862 " guestfs_tar_out (guestfs_h *g,\n"
35863 "                  const char *directory,\n"
35864 "                  const char *tarfile);\n"
35865 "\n"
35866 msgstr ""
35867
35868 #. type: textblock
35869 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7029
35870 #: ../src/guestfs-actions.pod:7029
35871 msgid ""
35872 "To download a compressed tarball, use C<guestfs_tgz_out> or "
35873 "C<guestfs_txz_out>."
35874 msgstr ""
35875
35876 #. type: =head2
35877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7036
35878 #: ../src/guestfs-actions.pod:7036
35879 msgid "guestfs_tgz_in"
35880 msgstr ""
35881
35882 #. type: verbatim
35883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7038
35884 #: ../src/guestfs-actions.pod:7038
35885 #, no-wrap
35886 msgid ""
35887 " int\n"
35888 " guestfs_tgz_in (guestfs_h *g,\n"
35889 "                 const char *tarball,\n"
35890 "                 const char *directory);\n"
35891 "\n"
35892 msgstr ""
35893
35894 #. type: textblock
35895 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7046
35896 #: ../src/guestfs-actions.pod:7046
35897 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
35898 msgstr ""
35899
35900 #. type: =head2
35901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7052
35902 #: ../src/guestfs-actions.pod:7052
35903 msgid "guestfs_tgz_out"
35904 msgstr ""
35905
35906 #. type: verbatim
35907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7054
35908 #: ../src/guestfs-actions.pod:7054
35909 #, no-wrap
35910 msgid ""
35911 " int\n"
35912 " guestfs_tgz_out (guestfs_h *g,\n"
35913 "                  const char *directory,\n"
35914 "                  const char *tarball);\n"
35915 "\n"
35916 msgstr ""
35917
35918 #. type: textblock
35919 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7062
35920 #: ../src/guestfs-actions.pod:7062
35921 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
35922 msgstr ""
35923
35924 #. type: =head2
35925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7068
35926 #: ../src/guestfs-actions.pod:7068
35927 msgid "guestfs_touch"
35928 msgstr ""
35929
35930 #. type: verbatim
35931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7070
35932 #: ../src/guestfs-actions.pod:7070
35933 #, no-wrap
35934 msgid ""
35935 " int\n"
35936 " guestfs_touch (guestfs_h *g,\n"
35937 "                const char *path);\n"
35938 "\n"
35939 msgstr ""
35940
35941 #. type: =head2
35942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7085
35943 #: ../src/guestfs-actions.pod:7085
35944 msgid "guestfs_truncate"
35945 msgstr ""
35946
35947 #. type: verbatim
35948 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7087
35949 #: ../src/guestfs-actions.pod:7087
35950 #, no-wrap
35951 msgid ""
35952 " int\n"
35953 " guestfs_truncate (guestfs_h *g,\n"
35954 "                   const char *path);\n"
35955 "\n"
35956 msgstr ""
35957
35958 #. type: =head2
35959 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7098
35960 #: ../src/guestfs-actions.pod:7098
35961 msgid "guestfs_truncate_size"
35962 msgstr ""
35963
35964 #. type: verbatim
35965 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7100
35966 #: ../src/guestfs-actions.pod:7100
35967 #, no-wrap
35968 msgid ""
35969 " int\n"
35970 " guestfs_truncate_size (guestfs_h *g,\n"
35971 "                        const char *path,\n"
35972 "                        int64_t size);\n"
35973 "\n"
35974 msgstr ""
35975
35976 #. type: textblock
35977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7108
35978 #: ../src/guestfs-actions.pod:7108
35979 msgid ""
35980 "If the current file size is less than C<size> then the file is extended to "
35981 "the required size with zero bytes.  This creates a sparse file (ie. disk "
35982 "blocks are not allocated for the file until you write to it).  To create a "
35983 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
35984 msgstr ""
35985
35986 #. type: =head2
35987 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7118
35988 #: ../src/guestfs-actions.pod:7118
35989 msgid "guestfs_tune2fs_l"
35990 msgstr ""
35991
35992 #. type: verbatim
35993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7120
35994 #: ../src/guestfs-actions.pod:7120
35995 #, no-wrap
35996 msgid ""
35997 " char **\n"
35998 " guestfs_tune2fs_l (guestfs_h *g,\n"
35999 "                    const char *device);\n"
36000 "\n"
36001 msgstr ""
36002
36003 #. type: =head2
36004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7140
36005 #: ../src/guestfs-actions.pod:7140
36006 msgid "guestfs_txz_in"
36007 msgstr ""
36008
36009 #. type: verbatim
36010 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7142
36011 #: ../src/guestfs-actions.pod:7142
36012 #, no-wrap
36013 msgid ""
36014 " int\n"
36015 " guestfs_txz_in (guestfs_h *g,\n"
36016 "                 const char *tarball,\n"
36017 "                 const char *directory);\n"
36018 "\n"
36019 msgstr ""
36020
36021 #. type: =head2
36022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7154
36023 #: ../src/guestfs-actions.pod:7154
36024 msgid "guestfs_txz_out"
36025 msgstr ""
36026
36027 #. type: verbatim
36028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7156
36029 #: ../src/guestfs-actions.pod:7156
36030 #, no-wrap
36031 msgid ""
36032 " int\n"
36033 " guestfs_txz_out (guestfs_h *g,\n"
36034 "                  const char *directory,\n"
36035 "                  const char *tarball);\n"
36036 "\n"
36037 msgstr ""
36038
36039 #. type: =head2
36040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7168
36041 #: ../src/guestfs-actions.pod:7168
36042 msgid "guestfs_umask"
36043 msgstr ""
36044
36045 #. type: verbatim
36046 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7170
36047 #: ../src/guestfs-actions.pod:7170
36048 #, no-wrap
36049 msgid ""
36050 " int\n"
36051 " guestfs_umask (guestfs_h *g,\n"
36052 "                int mask);\n"
36053 "\n"
36054 msgstr ""
36055
36056 #. type: textblock
36057 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7186
36058 #: ../src/guestfs-actions.pod:7186
36059 msgid ""
36060 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
36061 "C<guestfs_mkdir>."
36062 msgstr ""
36063
36064 #. type: =head2
36065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7195
36066 #: ../src/guestfs-actions.pod:7195
36067 msgid "guestfs_umount"
36068 msgstr ""
36069
36070 #. type: verbatim
36071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7197
36072 #: ../src/guestfs-actions.pod:7197
36073 #, no-wrap
36074 msgid ""
36075 " int\n"
36076 " guestfs_umount (guestfs_h *g,\n"
36077 "                 const char *pathordevice);\n"
36078 "\n"
36079 msgstr ""
36080
36081 #. type: =head2
36082 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7209
36083 #: ../src/guestfs-actions.pod:7209
36084 msgid "guestfs_umount_all"
36085 msgstr ""
36086
36087 #. type: verbatim
36088 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7211
36089 #: ../src/guestfs-actions.pod:7211
36090 #, no-wrap
36091 msgid ""
36092 " int\n"
36093 " guestfs_umount_all (guestfs_h *g);\n"
36094 "\n"
36095 msgstr ""
36096
36097 #. type: =head2
36098 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7222
36099 #: ../src/guestfs-actions.pod:7222
36100 msgid "guestfs_upload"
36101 msgstr ""
36102
36103 #. type: verbatim
36104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7224
36105 #: ../src/guestfs-actions.pod:7224
36106 #, no-wrap
36107 msgid ""
36108 " int\n"
36109 " guestfs_upload (guestfs_h *g,\n"
36110 "                 const char *filename,\n"
36111 "                 const char *remotefilename);\n"
36112 "\n"
36113 msgstr ""
36114
36115 #. type: textblock
36116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7234
36117 #: ../src/guestfs-actions.pod:7234
36118 msgid "See also C<guestfs_download>."
36119 msgstr ""
36120
36121 #. type: =head2
36122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7245
36123 #: ../src/guestfs-actions.pod:7245
36124 msgid "guestfs_upload_offset"
36125 msgstr ""
36126
36127 #. type: verbatim
36128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7247
36129 #: ../src/guestfs-actions.pod:7247
36130 #, no-wrap
36131 msgid ""
36132 " int\n"
36133 " guestfs_upload_offset (guestfs_h *g,\n"
36134 "                        const char *filename,\n"
36135 "                        const char *remotefilename,\n"
36136 "                        int64_t offset);\n"
36137 "\n"
36138 msgstr ""
36139
36140 #. type: textblock
36141 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7263
36142 #: ../src/guestfs-actions.pod:7263
36143 msgid ""
36144 "Note that there is no limit on the amount of data that can be uploaded with "
36145 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
36146 "full amount unless an error occurs."
36147 msgstr ""
36148
36149 #. type: textblock
36150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7268
36151 #: ../src/guestfs-actions.pod:7268
36152 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
36153 msgstr ""
36154
36155 #. type: =head2
36156 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7279
36157 #: ../src/guestfs-actions.pod:7279
36158 msgid "guestfs_utimens"
36159 msgstr ""
36160
36161 #. type: verbatim
36162 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7281
36163 #: ../src/guestfs-actions.pod:7281
36164 #, no-wrap
36165 msgid ""
36166 " int\n"
36167 " guestfs_utimens (guestfs_h *g,\n"
36168 "                  const char *path,\n"
36169 "                  int64_t atsecs,\n"
36170 "                  int64_t atnsecs,\n"
36171 "                  int64_t mtsecs,\n"
36172 "                  int64_t mtnsecs);\n"
36173 "\n"
36174 msgstr ""
36175
36176 #. type: =head2
36177 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7310
36178 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:175
36179 #: ../src/guestfs-actions.pod:7310 ../src/guestfs-structs.pod:175
36180 msgid "guestfs_version"
36181 msgstr ""
36182
36183 #. type: verbatim
36184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7312
36185 #: ../src/guestfs-actions.pod:7312
36186 #, no-wrap
36187 msgid ""
36188 " struct guestfs_version *\n"
36189 " guestfs_version (guestfs_h *g);\n"
36190 "\n"
36191 msgstr ""
36192
36193 #. type: textblock
36194 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7340
36195 #: ../src/guestfs-actions.pod:7340
36196 msgid ""
36197 "I<Note:> Don't use this call to test for availability of features.  In "
36198 "enterprise distributions we backport features from later versions into "
36199 "earlier versions, making this an unreliable way to test for features.  Use "
36200 "C<guestfs_available> instead."
36201 msgstr ""
36202
36203 #. type: textblock
36204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7346
36205 #: ../src/guestfs-actions.pod:7346
36206 msgid ""
36207 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
36208 "error.  I<The caller must call C<guestfs_free_version> after use>."
36209 msgstr ""
36210
36211 #. type: textblock
36212 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7350
36213 #: ../src/guestfs-actions.pod:7350
36214 msgid "(Added in 1.0.58)"
36215 msgstr ""
36216
36217 #. type: =head2
36218 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7352
36219 #: ../src/guestfs-actions.pod:7352
36220 msgid "guestfs_vfs_label"
36221 msgstr ""
36222
36223 #. type: verbatim
36224 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7354
36225 #: ../src/guestfs-actions.pod:7354
36226 #, no-wrap
36227 msgid ""
36228 " char *\n"
36229 " guestfs_vfs_label (guestfs_h *g,\n"
36230 "                    const char *device);\n"
36231 "\n"
36232 msgstr ""
36233
36234 #. type: textblock
36235 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7363
36236 #: ../src/guestfs-actions.pod:7363
36237 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
36238 msgstr ""
36239
36240 #. type: textblock
36241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7368
36242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7405
36243 #: ../src/guestfs-actions.pod:7368 ../src/guestfs-actions.pod:7405
36244 msgid "(Added in 1.3.18)"
36245 msgstr ""
36246
36247 #. type: =head2
36248 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7370
36249 #: ../src/guestfs-actions.pod:7370
36250 msgid "guestfs_vfs_type"
36251 msgstr ""
36252
36253 #. type: verbatim
36254 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7372
36255 #: ../src/guestfs-actions.pod:7372
36256 #, no-wrap
36257 msgid ""
36258 " char *\n"
36259 " guestfs_vfs_type (guestfs_h *g,\n"
36260 "                   const char *device);\n"
36261 "\n"
36262 msgstr ""
36263
36264 #. type: =head2
36265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7389
36266 #: ../src/guestfs-actions.pod:7389
36267 msgid "guestfs_vfs_uuid"
36268 msgstr ""
36269
36270 #. type: verbatim
36271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7391
36272 #: ../src/guestfs-actions.pod:7391
36273 #, no-wrap
36274 msgid ""
36275 " char *\n"
36276 " guestfs_vfs_uuid (guestfs_h *g,\n"
36277 "                   const char *device);\n"
36278 "\n"
36279 msgstr ""
36280
36281 #. type: textblock
36282 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7400
36283 #: ../src/guestfs-actions.pod:7400
36284 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
36285 msgstr ""
36286
36287 #. type: =head2
36288 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7407
36289 #: ../src/guestfs-actions.pod:7407
36290 msgid "guestfs_vg_activate"
36291 msgstr ""
36292
36293 #. type: verbatim
36294 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7409
36295 #: ../src/guestfs-actions.pod:7409
36296 #, no-wrap
36297 msgid ""
36298 " int\n"
36299 " guestfs_vg_activate (guestfs_h *g,\n"
36300 "                      int activate,\n"
36301 "                      char *const *volgroups);\n"
36302 "\n"
36303 msgstr ""
36304
36305 #. type: =head2
36306 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7426
36307 #: ../src/guestfs-actions.pod:7426
36308 msgid "guestfs_vg_activate_all"
36309 msgstr ""
36310
36311 #. type: verbatim
36312 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7428
36313 #: ../src/guestfs-actions.pod:7428
36314 #, no-wrap
36315 msgid ""
36316 " int\n"
36317 " guestfs_vg_activate_all (guestfs_h *g,\n"
36318 "                          int activate);\n"
36319 "\n"
36320 msgstr ""
36321
36322 #. type: =head2
36323 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7441
36324 #: ../src/guestfs-actions.pod:7441
36325 msgid "guestfs_vgcreate"
36326 msgstr ""
36327
36328 #. type: verbatim
36329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7443
36330 #: ../src/guestfs-actions.pod:7443
36331 #, no-wrap
36332 msgid ""
36333 " int\n"
36334 " guestfs_vgcreate (guestfs_h *g,\n"
36335 "                   const char *volgroup,\n"
36336 "                   char *const *physvols);\n"
36337 "\n"
36338 msgstr ""
36339
36340 #. type: =head2
36341 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7455
36342 #: ../src/guestfs-actions.pod:7455
36343 msgid "guestfs_vglvuuids"
36344 msgstr ""
36345
36346 #. type: verbatim
36347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7457
36348 #: ../src/guestfs-actions.pod:7457
36349 #, no-wrap
36350 msgid ""
36351 " char **\n"
36352 " guestfs_vglvuuids (guestfs_h *g,\n"
36353 "                    const char *vgname);\n"
36354 "\n"
36355 msgstr ""
36356
36357 #. type: textblock
36358 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7464
36359 #: ../src/guestfs-actions.pod:7464
36360 msgid ""
36361 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
36362 "associate logical volumes and volume groups."
36363 msgstr ""
36364
36365 #. type: textblock
36366 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7467
36367 #: ../src/guestfs-actions.pod:7467
36368 msgid "See also C<guestfs_vgpvuuids>."
36369 msgstr ""
36370
36371 #. type: =head2
36372 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7475
36373 #: ../src/guestfs-actions.pod:7475
36374 msgid "guestfs_vgpvuuids"
36375 msgstr ""
36376
36377 #. type: verbatim
36378 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7477
36379 #: ../src/guestfs-actions.pod:7477
36380 #, no-wrap
36381 msgid ""
36382 " char **\n"
36383 " guestfs_vgpvuuids (guestfs_h *g,\n"
36384 "                    const char *vgname);\n"
36385 "\n"
36386 msgstr ""
36387
36388 #. type: textblock
36389 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7484
36390 #: ../src/guestfs-actions.pod:7484
36391 msgid ""
36392 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
36393 "associate physical volumes and volume groups."
36394 msgstr ""
36395
36396 #. type: textblock
36397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7487
36398 #: ../src/guestfs-actions.pod:7487
36399 msgid "See also C<guestfs_vglvuuids>."
36400 msgstr ""
36401
36402 #. type: =head2
36403 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7495
36404 #: ../src/guestfs-actions.pod:7495
36405 msgid "guestfs_vgremove"
36406 msgstr ""
36407
36408 #. type: verbatim
36409 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7497
36410 #: ../src/guestfs-actions.pod:7497
36411 #, no-wrap
36412 msgid ""
36413 " int\n"
36414 " guestfs_vgremove (guestfs_h *g,\n"
36415 "                   const char *vgname);\n"
36416 "\n"
36417 msgstr ""
36418
36419 #. type: =head2
36420 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7510
36421 #: ../src/guestfs-actions.pod:7510
36422 msgid "guestfs_vgrename"
36423 msgstr ""
36424
36425 #. type: verbatim
36426 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7512
36427 #: ../src/guestfs-actions.pod:7512
36428 #, no-wrap
36429 msgid ""
36430 " int\n"
36431 " guestfs_vgrename (guestfs_h *g,\n"
36432 "                   const char *volgroup,\n"
36433 "                   const char *newvolgroup);\n"
36434 "\n"
36435 msgstr ""
36436
36437 #. type: =head2
36438 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7523
36439 #: ../src/guestfs-actions.pod:7523
36440 msgid "guestfs_vgs"
36441 msgstr ""
36442
36443 #. type: verbatim
36444 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7525
36445 #: ../src/guestfs-actions.pod:7525
36446 #, no-wrap
36447 msgid ""
36448 " char **\n"
36449 " guestfs_vgs (guestfs_h *g);\n"
36450 "\n"
36451 msgstr ""
36452
36453 #. type: textblock
36454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7534
36455 #: ../src/guestfs-actions.pod:7534
36456 msgid "See also C<guestfs_vgs_full>."
36457 msgstr ""
36458
36459 #. type: =head2
36460 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7542
36461 #: ../src/guestfs-actions.pod:7542
36462 msgid "guestfs_vgs_full"
36463 msgstr ""
36464
36465 #. type: verbatim
36466 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7544
36467 #: ../src/guestfs-actions.pod:7544
36468 #, no-wrap
36469 msgid ""
36470 " struct guestfs_lvm_vg_list *\n"
36471 " guestfs_vgs_full (guestfs_h *g);\n"
36472 "\n"
36473 msgstr ""
36474
36475 #. type: textblock
36476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7550
36477 #: ../src/guestfs-actions.pod:7550
36478 msgid ""
36479 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
36480 "was an error.  I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
36481 msgstr ""
36482
36483 #. type: =head2
36484 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7556
36485 #: ../src/guestfs-actions.pod:7556
36486 msgid "guestfs_vgscan"
36487 msgstr ""
36488
36489 #. type: verbatim
36490 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7558
36491 #: ../src/guestfs-actions.pod:7558
36492 #, no-wrap
36493 msgid ""
36494 " int\n"
36495 " guestfs_vgscan (guestfs_h *g);\n"
36496 "\n"
36497 msgstr ""
36498
36499 #. type: =head2
36500 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7568
36501 #: ../src/guestfs-actions.pod:7568
36502 msgid "guestfs_vguuid"
36503 msgstr ""
36504
36505 #. type: verbatim
36506 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7570
36507 #: ../src/guestfs-actions.pod:7570
36508 #, no-wrap
36509 msgid ""
36510 " char *\n"
36511 " guestfs_vguuid (guestfs_h *g,\n"
36512 "                 const char *vgname);\n"
36513 "\n"
36514 msgstr ""
36515
36516 #. type: =head2
36517 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7581
36518 #: ../src/guestfs-actions.pod:7581
36519 msgid "guestfs_wait_ready"
36520 msgstr ""
36521
36522 #. type: verbatim
36523 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7583
36524 #: ../src/guestfs-actions.pod:7583
36525 #, no-wrap
36526 msgid ""
36527 " int\n"
36528 " guestfs_wait_ready (guestfs_h *g);\n"
36529 "\n"
36530 msgstr ""
36531
36532 #. type: textblock
36533 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7586
36534 #: ../src/guestfs-actions.pod:7586
36535 msgid "This function is a no op."
36536 msgstr ""
36537
36538 #. type: textblock
36539 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7588
36540 #: ../src/guestfs-actions.pod:7588
36541 msgid ""
36542 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
36543 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
36544 "is no longer necessary because C<guestfs_launch> now does the waiting."
36545 msgstr ""
36546
36547 #. type: textblock
36548 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7593
36549 #: ../src/guestfs-actions.pod:7593
36550 msgid ""
36551 "If you see any calls to this function in code then you can just remove them, "
36552 "unless you want to retain compatibility with older versions of the API."
36553 msgstr ""
36554
36555 #. type: textblock
36556 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7599
36557 #: ../src/guestfs-actions.pod:7599
36558 msgid ""
36559 "This function is deprecated.  In new code, use the C<launch> call instead."
36560 msgstr ""
36561
36562 #. type: =head2
36563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7608
36564 #: ../src/guestfs-actions.pod:7608
36565 msgid "guestfs_wc_c"
36566 msgstr ""
36567
36568 #. type: verbatim
36569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7610
36570 #: ../src/guestfs-actions.pod:7610
36571 #, no-wrap
36572 msgid ""
36573 " int\n"
36574 " guestfs_wc_c (guestfs_h *g,\n"
36575 "               const char *path);\n"
36576 "\n"
36577 msgstr ""
36578
36579 #. type: =head2
36580 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7621
36581 #: ../src/guestfs-actions.pod:7621
36582 msgid "guestfs_wc_l"
36583 msgstr ""
36584
36585 #. type: verbatim
36586 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7623
36587 #: ../src/guestfs-actions.pod:7623
36588 #, no-wrap
36589 msgid ""
36590 " int\n"
36591 " guestfs_wc_l (guestfs_h *g,\n"
36592 "               const char *path);\n"
36593 "\n"
36594 msgstr ""
36595
36596 #. type: =head2
36597 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7634
36598 #: ../src/guestfs-actions.pod:7634
36599 msgid "guestfs_wc_w"
36600 msgstr ""
36601
36602 #. type: verbatim
36603 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7636
36604 #: ../src/guestfs-actions.pod:7636
36605 #, no-wrap
36606 msgid ""
36607 " int\n"
36608 " guestfs_wc_w (guestfs_h *g,\n"
36609 "               const char *path);\n"
36610 "\n"
36611 msgstr ""
36612
36613 #. type: =head2
36614 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7647
36615 #: ../src/guestfs-actions.pod:7647
36616 msgid "guestfs_write"
36617 msgstr ""
36618
36619 #. type: verbatim
36620 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7649
36621 #: ../src/guestfs-actions.pod:7649
36622 #, no-wrap
36623 msgid ""
36624 " int\n"
36625 " guestfs_write (guestfs_h *g,\n"
36626 "                const char *path,\n"
36627 "                const char *content,\n"
36628 "                size_t content_size);\n"
36629 "\n"
36630 msgstr ""
36631
36632 #. type: textblock
36633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7658
36634 #: ../src/guestfs-actions.pod:7658
36635 msgid "See also C<guestfs_write_append>."
36636 msgstr ""
36637
36638 #. type: =head2
36639 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7667
36640 #: ../src/guestfs-actions.pod:7667
36641 msgid "guestfs_write_append"
36642 msgstr ""
36643
36644 #. type: verbatim
36645 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7669
36646 #: ../src/guestfs-actions.pod:7669
36647 #, no-wrap
36648 msgid ""
36649 " int\n"
36650 " guestfs_write_append (guestfs_h *g,\n"
36651 "                       const char *path,\n"
36652 "                       const char *content,\n"
36653 "                       size_t content_size);\n"
36654 "\n"
36655 msgstr ""
36656
36657 #. type: textblock
36658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7678
36659 #: ../src/guestfs-actions.pod:7678
36660 msgid "See also C<guestfs_write>."
36661 msgstr ""
36662
36663 #. type: =head2
36664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7687
36665 #: ../src/guestfs-actions.pod:7687
36666 msgid "guestfs_write_file"
36667 msgstr ""
36668
36669 #. type: verbatim
36670 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7689
36671 #: ../src/guestfs-actions.pod:7689
36672 #, no-wrap
36673 msgid ""
36674 " int\n"
36675 " guestfs_write_file (guestfs_h *g,\n"
36676 "                     const char *path,\n"
36677 "                     const char *content,\n"
36678 "                     int size);\n"
36679 "\n"
36680 msgstr ""
36681
36682 #. type: =head2
36683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7720
36684 #: ../src/guestfs-actions.pod:7720
36685 msgid "guestfs_zegrep"
36686 msgstr ""
36687
36688 #. type: verbatim
36689 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7722
36690 #: ../src/guestfs-actions.pod:7722
36691 #, no-wrap
36692 msgid ""
36693 " char **\n"
36694 " guestfs_zegrep (guestfs_h *g,\n"
36695 "                 const char *regex,\n"
36696 "                 const char *path);\n"
36697 "\n"
36698 msgstr ""
36699
36700 #. type: =head2
36701 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7739
36702 #: ../src/guestfs-actions.pod:7739
36703 msgid "guestfs_zegrepi"
36704 msgstr ""
36705
36706 #. type: verbatim
36707 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7741
36708 #: ../src/guestfs-actions.pod:7741
36709 #, no-wrap
36710 msgid ""
36711 " char **\n"
36712 " guestfs_zegrepi (guestfs_h *g,\n"
36713 "                  const char *regex,\n"
36714 "                  const char *path);\n"
36715 "\n"
36716 msgstr ""
36717
36718 #. type: =head2
36719 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7758
36720 #: ../src/guestfs-actions.pod:7758
36721 msgid "guestfs_zero"
36722 msgstr ""
36723
36724 #. type: verbatim
36725 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7760
36726 #: ../src/guestfs-actions.pod:7760
36727 #, no-wrap
36728 msgid ""
36729 " int\n"
36730 " guestfs_zero (guestfs_h *g,\n"
36731 "               const char *device);\n"
36732 "\n"
36733 msgstr ""
36734
36735 #. type: textblock
36736 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7770
36737 #: ../src/guestfs-actions.pod:7770
36738 msgid ""
36739 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
36740 "C<guestfs_is_zero_device>"
36741 msgstr ""
36742
36743 #. type: =head2
36744 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7782
36745 #: ../src/guestfs-actions.pod:7782
36746 msgid "guestfs_zero_device"
36747 msgstr ""
36748
36749 #. type: verbatim
36750 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7784
36751 #: ../src/guestfs-actions.pod:7784
36752 #, no-wrap
36753 msgid ""
36754 " int\n"
36755 " guestfs_zero_device (guestfs_h *g,\n"
36756 "                      const char *device);\n"
36757 "\n"
36758 msgstr ""
36759
36760 #. type: textblock
36761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7788
36762 #: ../src/guestfs-actions.pod:7788
36763 msgid ""
36764 "This command writes zeroes over the entire C<device>.  Compare with "
36765 "C<guestfs_zero> which just zeroes the first few blocks of a device."
36766 msgstr ""
36767
36768 #. type: textblock
36769 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7802
36770 #: ../src/guestfs-actions.pod:7802
36771 msgid "(Added in 1.3.1)"
36772 msgstr ""
36773
36774 #. type: =head2
36775 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7804
36776 #: ../src/guestfs-actions.pod:7804
36777 msgid "guestfs_zerofree"
36778 msgstr ""
36779
36780 #. type: verbatim
36781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7806
36782 #: ../src/guestfs-actions.pod:7806
36783 #, no-wrap
36784 msgid ""
36785 " int\n"
36786 " guestfs_zerofree (guestfs_h *g,\n"
36787 "                   const char *device);\n"
36788 "\n"
36789 msgstr ""
36790
36791 #. type: =head2
36792 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7825
36793 #: ../src/guestfs-actions.pod:7825
36794 msgid "guestfs_zfgrep"
36795 msgstr ""
36796
36797 #. type: verbatim
36798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7827
36799 #: ../src/guestfs-actions.pod:7827
36800 #, no-wrap
36801 msgid ""
36802 " char **\n"
36803 " guestfs_zfgrep (guestfs_h *g,\n"
36804 "                 const char *pattern,\n"
36805 "                 const char *path);\n"
36806 "\n"
36807 msgstr ""
36808
36809 #. type: =head2
36810 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7844
36811 #: ../src/guestfs-actions.pod:7844
36812 msgid "guestfs_zfgrepi"
36813 msgstr ""
36814
36815 #. type: verbatim
36816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7846
36817 #: ../src/guestfs-actions.pod:7846
36818 #, no-wrap
36819 msgid ""
36820 " char **\n"
36821 " guestfs_zfgrepi (guestfs_h *g,\n"
36822 "                  const char *pattern,\n"
36823 "                  const char *path);\n"
36824 "\n"
36825 msgstr ""
36826
36827 #. type: =head2
36828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7863
36829 #: ../src/guestfs-actions.pod:7863
36830 msgid "guestfs_zfile"
36831 msgstr ""
36832
36833 #. type: verbatim
36834 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7865
36835 #: ../src/guestfs-actions.pod:7865
36836 #, no-wrap
36837 msgid ""
36838 " char *\n"
36839 " guestfs_zfile (guestfs_h *g,\n"
36840 "                const char *meth,\n"
36841 "                const char *path);\n"
36842 "\n"
36843 msgstr ""
36844
36845 #. type: textblock
36846 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7875
36847 #: ../src/guestfs-actions.pod:7875
36848 msgid ""
36849 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
36850 "files."
36851 msgstr ""
36852
36853 #. type: =head2
36854 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7890
36855 #: ../src/guestfs-actions.pod:7890
36856 msgid "guestfs_zgrep"
36857 msgstr ""
36858
36859 #. type: verbatim
36860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7892
36861 #: ../src/guestfs-actions.pod:7892
36862 #, no-wrap
36863 msgid ""
36864 " char **\n"
36865 " guestfs_zgrep (guestfs_h *g,\n"
36866 "                const char *regex,\n"
36867 "                const char *path);\n"
36868 "\n"
36869 msgstr ""
36870
36871 #. type: =head2
36872 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7909
36873 #: ../src/guestfs-actions.pod:7909
36874 msgid "guestfs_zgrepi"
36875 msgstr ""
36876
36877 #. type: verbatim
36878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7911
36879 #: ../src/guestfs-actions.pod:7911
36880 #, no-wrap
36881 msgid ""
36882 " char **\n"
36883 " guestfs_zgrepi (guestfs_h *g,\n"
36884 "                 const char *regex,\n"
36885 "                 const char *path);\n"
36886 "\n"
36887 msgstr ""
36888
36889 #. type: =item
36890 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:3
36891 #: ../src/guestfs-availability.pod:3
36892 msgid "B<augeas>"
36893 msgstr ""
36894
36895 #. type: textblock
36896 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:5
36897 #: ../src/guestfs-availability.pod:5
36898 msgid ""
36899 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
36900 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
36901 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
36902 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
36903 "L</guestfs_aug_save> L</guestfs_aug_set>"
36904 msgstr ""
36905
36906 #. type: =item
36907 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:21
36908 #: ../src/guestfs-availability.pod:21
36909 msgid "B<btrfs>"
36910 msgstr ""
36911
36912 #. type: textblock
36913 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:23
36914 #: ../src/guestfs-availability.pod:23
36915 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
36916 msgstr ""
36917
36918 #. type: =item
36919 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:26
36920 #: ../src/guestfs-availability.pod:26
36921 msgid "B<inotify>"
36922 msgstr ""
36923
36924 #. type: textblock
36925 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:28
36926 #: ../src/guestfs-availability.pod:28
36927 msgid ""
36928 "The following functions: L</guestfs_inotify_add_watch> L</"
36929 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
36930 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
36931 msgstr ""
36932
36933 #. type: =item
36934 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:36
36935 #: ../src/guestfs-availability.pod:36
36936 msgid "B<linuxfsuuid>"
36937 msgstr ""
36938
36939 #. type: textblock
36940 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:38
36941 #: ../src/guestfs-availability.pod:38
36942 msgid ""
36943 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
36944 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
36945 msgstr ""
36946
36947 #. type: =item
36948 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:45
36949 #: ../src/guestfs-availability.pod:45
36950 msgid "B<linuxmodules>"
36951 msgstr ""
36952
36953 #. type: textblock
36954 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:47
36955 #: ../src/guestfs-availability.pod:47
36956 msgid "The following functions: L</guestfs_modprobe>"
36957 msgstr ""
36958
36959 #. type: =item
36960 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:50
36961 #: ../src/guestfs-availability.pod:50
36962 msgid "B<linuxxattrs>"
36963 msgstr ""
36964
36965 #. type: textblock
36966 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:52
36967 #: ../src/guestfs-availability.pod:52
36968 msgid ""
36969 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
36970 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
36971 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
36972 "guestfs_setxattr>"
36973 msgstr ""
36974
36975 #. type: =item
36976 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:63
36977 #: ../src/guestfs-availability.pod:63
36978 msgid "B<luks>"
36979 msgstr ""
36980
36981 #. type: textblock
36982 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:65
36983 #: ../src/guestfs-availability.pod:65
36984 msgid ""
36985 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
36986 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
36987 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
36988 msgstr ""
36989
36990 #. type: =item
36991 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:74
36992 #: ../src/guestfs-availability.pod:74
36993 msgid "B<lvm2>"
36994 msgstr ""
36995
36996 #. type: textblock
36997 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:76
36998 #: ../src/guestfs-availability.pod:76
36999 msgid ""
37000 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
37001 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
37002 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
37003 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
37004 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
37005 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
37006 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
37007 msgstr ""
37008
37009 #. type: =item
37010 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:99
37011 #: ../src/guestfs-availability.pod:99
37012 msgid "B<mknod>"
37013 msgstr ""
37014
37015 #. type: textblock
37016 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:101
37017 #: ../src/guestfs-availability.pod:101
37018 msgid ""
37019 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
37020 "guestfs_mknod_b> L</guestfs_mknod_c>"
37021 msgstr ""
37022
37023 #. type: =item
37024 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:107
37025 #: ../src/guestfs-availability.pod:107
37026 msgid "B<ntfs3g>"
37027 msgstr ""
37028
37029 #. type: textblock
37030 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:109
37031 #: ../src/guestfs-availability.pod:109
37032 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
37033 msgstr ""
37034
37035 #. type: =item
37036 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:112
37037 #: ../src/guestfs-availability.pod:112
37038 msgid "B<ntfsprogs>"
37039 msgstr ""
37040
37041 #. type: textblock
37042 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:114
37043 #: ../src/guestfs-availability.pod:114
37044 msgid ""
37045 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
37046 "L</guestfs_ntfsresize_size>"
37047 msgstr ""
37048
37049 #. type: =item
37050 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:119
37051 #: ../src/guestfs-availability.pod:119
37052 msgid "B<realpath>"
37053 msgstr ""
37054
37055 #. type: textblock
37056 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:121
37057 #: ../src/guestfs-availability.pod:121
37058 msgid "The following functions: L</guestfs_realpath>"
37059 msgstr ""
37060
37061 #. type: =item
37062 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:124
37063 #: ../src/guestfs-availability.pod:124
37064 msgid "B<scrub>"
37065 msgstr ""
37066
37067 #. type: textblock
37068 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:126
37069 #: ../src/guestfs-availability.pod:126
37070 msgid ""
37071 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
37072 "guestfs_scrub_freespace>"
37073 msgstr ""
37074
37075 #. type: =item
37076 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:131
37077 #: ../src/guestfs-availability.pod:131
37078 msgid "B<selinux>"
37079 msgstr ""
37080
37081 #. type: textblock
37082 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:133
37083 #: ../src/guestfs-availability.pod:133
37084 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
37085 msgstr ""
37086
37087 #. type: =item
37088 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:137
37089 #: ../src/guestfs-availability.pod:137
37090 msgid "B<xz>"
37091 msgstr ""
37092
37093 #. type: textblock
37094 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:139
37095 #: ../src/guestfs-availability.pod:139
37096 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
37097 msgstr ""
37098
37099 #. type: =item
37100 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:143
37101 #: ../src/guestfs-availability.pod:143
37102 msgid "B<zerofree>"
37103 msgstr ""
37104
37105 #. type: textblock
37106 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:145
37107 #: ../src/guestfs-availability.pod:145
37108 msgid "The following functions: L</guestfs_zerofree>"
37109 msgstr ""
37110
37111 #. type: =head2
37112 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:1
37113 #: ../src/guestfs-structs.pod:1
37114 msgid "guestfs_int_bool"
37115 msgstr ""
37116
37117 #. type: verbatim
37118 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:3
37119 #: ../src/guestfs-structs.pod:3
37120 #, no-wrap
37121 msgid ""
37122 " struct guestfs_int_bool {\n"
37123 "   int32_t i;\n"
37124 "   int32_t b;\n"
37125 " };\n"
37126 " \n"
37127 msgstr ""
37128
37129 #. type: verbatim
37130 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:8
37131 #: ../src/guestfs-structs.pod:8
37132 #, no-wrap
37133 msgid ""
37134 " struct guestfs_int_bool_list {\n"
37135 "   uint32_t len; /* Number of elements in list. */\n"
37136 "   struct guestfs_int_bool *val; /* Elements. */\n"
37137 " };\n"
37138 " \n"
37139 msgstr ""
37140
37141 #. type: verbatim
37142 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:13
37143 #: ../src/guestfs-structs.pod:13
37144 #, no-wrap
37145 msgid ""
37146 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
37147 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
37148 "\n"
37149 msgstr ""
37150
37151 #. type: =head2
37152 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:16
37153 #: ../src/guestfs-structs.pod:16
37154 msgid "guestfs_lvm_pv"
37155 msgstr ""
37156
37157 #. type: verbatim
37158 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:18
37159 #: ../src/guestfs-structs.pod:18
37160 #, no-wrap
37161 msgid ""
37162 " struct guestfs_lvm_pv {\n"
37163 "   char *pv_name;\n"
37164 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
37165 "   char pv_uuid[32];\n"
37166 "   char *pv_fmt;\n"
37167 "   uint64_t pv_size;\n"
37168 "   uint64_t dev_size;\n"
37169 "   uint64_t pv_free;\n"
37170 "   uint64_t pv_used;\n"
37171 "   char *pv_attr;\n"
37172 "   int64_t pv_pe_count;\n"
37173 "   int64_t pv_pe_alloc_count;\n"
37174 "   char *pv_tags;\n"
37175 "   uint64_t pe_start;\n"
37176 "   int64_t pv_mda_count;\n"
37177 "   uint64_t pv_mda_free;\n"
37178 " };\n"
37179 " \n"
37180 msgstr ""
37181
37182 #. type: verbatim
37183 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:36
37184 #: ../src/guestfs-structs.pod:36
37185 #, no-wrap
37186 msgid ""
37187 " struct guestfs_lvm_pv_list {\n"
37188 "   uint32_t len; /* Number of elements in list. */\n"
37189 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
37190 " };\n"
37191 " \n"
37192 msgstr ""
37193
37194 #. type: verbatim
37195 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:41
37196 #: ../src/guestfs-structs.pod:41
37197 #, no-wrap
37198 msgid ""
37199 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
37200 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
37201 "\n"
37202 msgstr ""
37203
37204 #. type: =head2
37205 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:44
37206 #: ../src/guestfs-structs.pod:44
37207 msgid "guestfs_lvm_vg"
37208 msgstr ""
37209
37210 #. type: verbatim
37211 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:46
37212 #: ../src/guestfs-structs.pod:46
37213 #, no-wrap
37214 msgid ""
37215 " struct guestfs_lvm_vg {\n"
37216 "   char *vg_name;\n"
37217 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
37218 "   char vg_uuid[32];\n"
37219 "   char *vg_fmt;\n"
37220 "   char *vg_attr;\n"
37221 "   uint64_t vg_size;\n"
37222 "   uint64_t vg_free;\n"
37223 "   char *vg_sysid;\n"
37224 "   uint64_t vg_extent_size;\n"
37225 "   int64_t vg_extent_count;\n"
37226 "   int64_t vg_free_count;\n"
37227 "   int64_t max_lv;\n"
37228 "   int64_t max_pv;\n"
37229 "   int64_t pv_count;\n"
37230 "   int64_t lv_count;\n"
37231 "   int64_t snap_count;\n"
37232 "   int64_t vg_seqno;\n"
37233 "   char *vg_tags;\n"
37234 "   int64_t vg_mda_count;\n"
37235 "   uint64_t vg_mda_free;\n"
37236 " };\n"
37237 " \n"
37238 msgstr ""
37239
37240 #. type: verbatim
37241 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:69
37242 #: ../src/guestfs-structs.pod:69
37243 #, no-wrap
37244 msgid ""
37245 " struct guestfs_lvm_vg_list {\n"
37246 "   uint32_t len; /* Number of elements in list. */\n"
37247 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
37248 " };\n"
37249 " \n"
37250 msgstr ""
37251
37252 #. type: verbatim
37253 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:74
37254 #: ../src/guestfs-structs.pod:74
37255 #, no-wrap
37256 msgid ""
37257 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
37258 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
37259 "\n"
37260 msgstr ""
37261
37262 #. type: =head2
37263 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:77
37264 #: ../src/guestfs-structs.pod:77
37265 msgid "guestfs_lvm_lv"
37266 msgstr ""
37267
37268 #. type: verbatim
37269 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:79
37270 #: ../src/guestfs-structs.pod:79
37271 #, no-wrap
37272 msgid ""
37273 " struct guestfs_lvm_lv {\n"
37274 "   char *lv_name;\n"
37275 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
37276 "   char lv_uuid[32];\n"
37277 "   char *lv_attr;\n"
37278 "   int64_t lv_major;\n"
37279 "   int64_t lv_minor;\n"
37280 "   int64_t lv_kernel_major;\n"
37281 "   int64_t lv_kernel_minor;\n"
37282 "   uint64_t lv_size;\n"
37283 "   int64_t seg_count;\n"
37284 "   char *origin;\n"
37285 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
37286 "   float snap_percent;\n"
37287 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
37288 "   float copy_percent;\n"
37289 "   char *move_pv;\n"
37290 "   char *lv_tags;\n"
37291 "   char *mirror_log;\n"
37292 "   char *modules;\n"
37293 " };\n"
37294 " \n"
37295 msgstr ""
37296
37297 #. type: verbatim
37298 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:101
37299 #: ../src/guestfs-structs.pod:101
37300 #, no-wrap
37301 msgid ""
37302 " struct guestfs_lvm_lv_list {\n"
37303 "   uint32_t len; /* Number of elements in list. */\n"
37304 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
37305 " };\n"
37306 " \n"
37307 msgstr ""
37308
37309 #. type: verbatim
37310 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:106
37311 #: ../src/guestfs-structs.pod:106
37312 #, no-wrap
37313 msgid ""
37314 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
37315 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
37316 "\n"
37317 msgstr ""
37318
37319 #. type: verbatim
37320 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:111
37321 #: ../src/guestfs-structs.pod:111
37322 #, no-wrap
37323 msgid ""
37324 " struct guestfs_stat {\n"
37325 "   int64_t dev;\n"
37326 "   int64_t ino;\n"
37327 "   int64_t mode;\n"
37328 "   int64_t nlink;\n"
37329 "   int64_t uid;\n"
37330 "   int64_t gid;\n"
37331 "   int64_t rdev;\n"
37332 "   int64_t size;\n"
37333 "   int64_t blksize;\n"
37334 "   int64_t blocks;\n"
37335 "   int64_t atime;\n"
37336 "   int64_t mtime;\n"
37337 "   int64_t ctime;\n"
37338 " };\n"
37339 " \n"
37340 msgstr ""
37341
37342 #. type: verbatim
37343 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:127
37344 #: ../src/guestfs-structs.pod:127
37345 #, no-wrap
37346 msgid ""
37347 " struct guestfs_stat_list {\n"
37348 "   uint32_t len; /* Number of elements in list. */\n"
37349 "   struct guestfs_stat *val; /* Elements. */\n"
37350 " };\n"
37351 " \n"
37352 msgstr ""
37353
37354 #. type: verbatim
37355 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:132
37356 #: ../src/guestfs-structs.pod:132
37357 #, no-wrap
37358 msgid ""
37359 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
37360 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
37361 "\n"
37362 msgstr ""
37363
37364 #. type: verbatim
37365 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:137
37366 #: ../src/guestfs-structs.pod:137
37367 #, no-wrap
37368 msgid ""
37369 " struct guestfs_statvfs {\n"
37370 "   int64_t bsize;\n"
37371 "   int64_t frsize;\n"
37372 "   int64_t blocks;\n"
37373 "   int64_t bfree;\n"
37374 "   int64_t bavail;\n"
37375 "   int64_t files;\n"
37376 "   int64_t ffree;\n"
37377 "   int64_t favail;\n"
37378 "   int64_t fsid;\n"
37379 "   int64_t flag;\n"
37380 "   int64_t namemax;\n"
37381 " };\n"
37382 " \n"
37383 msgstr ""
37384
37385 #. type: verbatim
37386 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:151
37387 #: ../src/guestfs-structs.pod:151
37388 #, no-wrap
37389 msgid ""
37390 " struct guestfs_statvfs_list {\n"
37391 "   uint32_t len; /* Number of elements in list. */\n"
37392 "   struct guestfs_statvfs *val; /* Elements. */\n"
37393 " };\n"
37394 " \n"
37395 msgstr ""
37396
37397 #. type: verbatim
37398 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:156
37399 #: ../src/guestfs-structs.pod:156
37400 #, no-wrap
37401 msgid ""
37402 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
37403 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
37404 "\n"
37405 msgstr ""
37406
37407 #. type: =head2
37408 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:159
37409 #: ../src/guestfs-structs.pod:159
37410 msgid "guestfs_dirent"
37411 msgstr ""
37412
37413 #. type: verbatim
37414 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:161
37415 #: ../src/guestfs-structs.pod:161
37416 #, no-wrap
37417 msgid ""
37418 " struct guestfs_dirent {\n"
37419 "   int64_t ino;\n"
37420 "   char ftyp;\n"
37421 "   char *name;\n"
37422 " };\n"
37423 " \n"
37424 msgstr ""
37425
37426 #. type: verbatim
37427 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:167
37428 #: ../src/guestfs-structs.pod:167
37429 #, no-wrap
37430 msgid ""
37431 " struct guestfs_dirent_list {\n"
37432 "   uint32_t len; /* Number of elements in list. */\n"
37433 "   struct guestfs_dirent *val; /* Elements. */\n"
37434 " };\n"
37435 " \n"
37436 msgstr ""
37437
37438 #. type: verbatim
37439 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:172
37440 #: ../src/guestfs-structs.pod:172
37441 #, no-wrap
37442 msgid ""
37443 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
37444 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
37445 "\n"
37446 msgstr ""
37447
37448 #. type: verbatim
37449 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:177
37450 #: ../src/guestfs-structs.pod:177
37451 #, no-wrap
37452 msgid ""
37453 " struct guestfs_version {\n"
37454 "   int64_t major;\n"
37455 "   int64_t minor;\n"
37456 "   int64_t release;\n"
37457 "   char *extra;\n"
37458 " };\n"
37459 " \n"
37460 msgstr ""
37461
37462 #. type: verbatim
37463 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:184
37464 #: ../src/guestfs-structs.pod:184
37465 #, no-wrap
37466 msgid ""
37467 " struct guestfs_version_list {\n"
37468 "   uint32_t len; /* Number of elements in list. */\n"
37469 "   struct guestfs_version *val; /* Elements. */\n"
37470 " };\n"
37471 " \n"
37472 msgstr ""
37473
37474 #. type: verbatim
37475 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:189
37476 #: ../src/guestfs-structs.pod:189
37477 #, no-wrap
37478 msgid ""
37479 " void guestfs_free_version (struct guestfs_free_version *);\n"
37480 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
37481 "\n"
37482 msgstr ""
37483
37484 #. type: =head2
37485 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:192
37486 #: ../src/guestfs-structs.pod:192
37487 msgid "guestfs_xattr"
37488 msgstr ""
37489
37490 #. type: verbatim
37491 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:194
37492 #: ../src/guestfs-structs.pod:194
37493 #, no-wrap
37494 msgid ""
37495 " struct guestfs_xattr {\n"
37496 "   char *attrname;\n"
37497 "   /* The next two fields describe a byte array. */\n"
37498 "   uint32_t attrval_len;\n"
37499 "   char *attrval;\n"
37500 " };\n"
37501 " \n"
37502 msgstr ""
37503
37504 #. type: verbatim
37505 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:201
37506 #: ../src/guestfs-structs.pod:201
37507 #, no-wrap
37508 msgid ""
37509 " struct guestfs_xattr_list {\n"
37510 "   uint32_t len; /* Number of elements in list. */\n"
37511 "   struct guestfs_xattr *val; /* Elements. */\n"
37512 " };\n"
37513 " \n"
37514 msgstr ""
37515
37516 #. type: verbatim
37517 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:206
37518 #: ../src/guestfs-structs.pod:206
37519 #, no-wrap
37520 msgid ""
37521 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
37522 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
37523 "\n"
37524 msgstr ""
37525
37526 #. type: =head2
37527 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:209
37528 #: ../src/guestfs-structs.pod:209
37529 msgid "guestfs_inotify_event"
37530 msgstr ""
37531
37532 #. type: verbatim
37533 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:211
37534 #: ../src/guestfs-structs.pod:211
37535 #, no-wrap
37536 msgid ""
37537 " struct guestfs_inotify_event {\n"
37538 "   int64_t in_wd;\n"
37539 "   uint32_t in_mask;\n"
37540 "   uint32_t in_cookie;\n"
37541 "   char *in_name;\n"
37542 " };\n"
37543 " \n"
37544 msgstr ""
37545
37546 #. type: verbatim
37547 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:218
37548 #: ../src/guestfs-structs.pod:218
37549 #, no-wrap
37550 msgid ""
37551 " struct guestfs_inotify_event_list {\n"
37552 "   uint32_t len; /* Number of elements in list. */\n"
37553 "   struct guestfs_inotify_event *val; /* Elements. */\n"
37554 " };\n"
37555 " \n"
37556 msgstr ""
37557
37558 #. type: verbatim
37559 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:223
37560 #: ../src/guestfs-structs.pod:223
37561 #, no-wrap
37562 msgid ""
37563 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
37564 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
37565 "\n"
37566 msgstr ""
37567
37568 #. type: =head2
37569 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:226
37570 #: ../src/guestfs-structs.pod:226
37571 msgid "guestfs_partition"
37572 msgstr ""
37573
37574 #. type: verbatim
37575 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:228
37576 #: ../src/guestfs-structs.pod:228
37577 #, no-wrap
37578 msgid ""
37579 " struct guestfs_partition {\n"
37580 "   int32_t part_num;\n"
37581 "   uint64_t part_start;\n"
37582 "   uint64_t part_end;\n"
37583 "   uint64_t part_size;\n"
37584 " };\n"
37585 " \n"
37586 msgstr ""
37587
37588 #. type: verbatim
37589 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:235
37590 #: ../src/guestfs-structs.pod:235
37591 #, no-wrap
37592 msgid ""
37593 " struct guestfs_partition_list {\n"
37594 "   uint32_t len; /* Number of elements in list. */\n"
37595 "   struct guestfs_partition *val; /* Elements. */\n"
37596 " };\n"
37597 " \n"
37598 msgstr ""
37599
37600 #. type: verbatim
37601 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:240
37602 #: ../src/guestfs-structs.pod:240
37603 #, no-wrap
37604 msgid ""
37605 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
37606 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
37607 "\n"
37608 msgstr ""
37609
37610 #. type: =head2
37611 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:243
37612 #: ../src/guestfs-structs.pod:243
37613 msgid "guestfs_application"
37614 msgstr ""
37615
37616 #. type: verbatim
37617 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:245
37618 #: ../src/guestfs-structs.pod:245
37619 #, no-wrap
37620 msgid ""
37621 " struct guestfs_application {\n"
37622 "   char *app_name;\n"
37623 "   char *app_display_name;\n"
37624 "   int32_t app_epoch;\n"
37625 "   char *app_version;\n"
37626 "   char *app_release;\n"
37627 "   char *app_install_path;\n"
37628 "   char *app_trans_path;\n"
37629 "   char *app_publisher;\n"
37630 "   char *app_url;\n"
37631 "   char *app_source_package;\n"
37632 "   char *app_summary;\n"
37633 "   char *app_description;\n"
37634 " };\n"
37635 " \n"
37636 msgstr ""
37637
37638 #. type: verbatim
37639 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:260
37640 #: ../src/guestfs-structs.pod:260
37641 #, no-wrap
37642 msgid ""
37643 " struct guestfs_application_list {\n"
37644 "   uint32_t len; /* Number of elements in list. */\n"
37645 "   struct guestfs_application *val; /* Elements. */\n"
37646 " };\n"
37647 " \n"
37648 msgstr ""
37649
37650 #. type: verbatim
37651 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:265
37652 #: ../src/guestfs-structs.pod:265
37653 #, no-wrap
37654 msgid ""
37655 " void guestfs_free_application (struct guestfs_free_application *);\n"
37656 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
37657 "\n"
37658 msgstr ""
37659
37660 #. type: textblock
37661 #: ../libguestfs-1.11.20/src/guestfs.pod:5 ../src/guestfs.pod:5
37662 msgid "guestfs - Library for accessing and modifying virtual machine images"
37663 msgstr ""
37664
37665 #. type: verbatim
37666 #: ../libguestfs-1.11.20/src/guestfs.pod:11 ../src/guestfs.pod:11
37667 #, no-wrap
37668 msgid ""
37669 " guestfs_h *g = guestfs_create ();\n"
37670 " guestfs_add_drive (g, \"guest.img\");\n"
37671 " guestfs_launch (g);\n"
37672 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
37673 " guestfs_touch (g, \"/hello\");\n"
37674 " guestfs_umount (g, \"/\");\n"
37675 " guestfs_close (g);\n"
37676 "\n"
37677 msgstr ""
37678
37679 #. type: textblock
37680 #: ../libguestfs-1.11.20/src/guestfs.pod:25 ../src/guestfs.pod:25
37681 msgid ""
37682 "Libguestfs is a library for accessing and modifying guest disk images.  "
37683 "Amongst the things this is good for: making batch configuration changes to "
37684 "guests, getting disk used/free statistics (see also: virt-df), migrating "
37685 "between virtualization systems (see also: virt-p2v), performing partial "
37686 "backups, performing partial guest clones, cloning guests and changing "
37687 "registry/UUID/hostname info, and much else besides."
37688 msgstr ""
37689
37690 #. type: textblock
37691 #: ../libguestfs-1.11.20/src/guestfs.pod:33 ../src/guestfs.pod:33
37692 msgid ""
37693 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
37694 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
37695 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
37696 "qcow2, vmdk."
37697 msgstr ""
37698
37699 #. type: textblock
37700 #: ../libguestfs-1.11.20/src/guestfs.pod:38 ../src/guestfs.pod:38
37701 msgid ""
37702 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
37703 "what filesystem is in each LV, etc.).  It can also run commands in the "
37704 "context of the guest.  Also you can access filesystems over FUSE."
37705 msgstr ""
37706
37707 #. type: textblock
37708 #: ../libguestfs-1.11.20/src/guestfs.pod:43 ../src/guestfs.pod:43
37709 msgid ""
37710 "Libguestfs is a library that can be linked with C and C++ management "
37711 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
37712 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
37713 "line."
37714 msgstr ""
37715
37716 #. type: textblock
37717 #: ../libguestfs-1.11.20/src/guestfs.pod:48 ../src/guestfs.pod:48
37718 msgid ""
37719 "You don't need to be root to use libguestfs, although obviously you do need "
37720 "enough permissions to access the disk images."
37721 msgstr ""
37722
37723 #. type: textblock
37724 #: ../libguestfs-1.11.20/src/guestfs.pod:51 ../src/guestfs.pod:51
37725 msgid ""
37726 "Libguestfs is a large API because it can do many things.  For a gentle "
37727 "introduction, please read the L</API OVERVIEW> section next."
37728 msgstr ""
37729
37730 #. type: textblock
37731 #: ../libguestfs-1.11.20/src/guestfs.pod:54 ../src/guestfs.pod:54
37732 msgid ""
37733 "There are also some example programs in the L<guestfs-examples(3)> manual "
37734 "page."
37735 msgstr ""
37736
37737 #. type: =head1
37738 #: ../libguestfs-1.11.20/src/guestfs.pod:57 ../src/guestfs.pod:57
37739 msgid "API OVERVIEW"
37740 msgstr ""
37741
37742 #. type: textblock
37743 #: ../libguestfs-1.11.20/src/guestfs.pod:59 ../src/guestfs.pod:59
37744 msgid ""
37745 "This section provides a gentler overview of the libguestfs API.  We also try "
37746 "to group API calls together, where that may not be obvious from reading "
37747 "about the individual calls in the main section of this manual."
37748 msgstr ""
37749
37750 #. type: =head2
37751 #: ../libguestfs-1.11.20/src/guestfs.pod:64 ../src/guestfs.pod:64
37752 msgid "HANDLES"
37753 msgstr ""
37754
37755 #. type: textblock
37756 #: ../libguestfs-1.11.20/src/guestfs.pod:66 ../src/guestfs.pod:66
37757 msgid ""
37758 "Before you can use libguestfs calls, you have to create a handle.  Then you "
37759 "must add at least one disk image to the handle, followed by launching the "
37760 "handle, then performing whatever operations you want, and finally closing "
37761 "the handle.  By convention we use the single letter C<g> for the name of the "
37762 "handle variable, although of course you can use any name you want."
37763 msgstr ""
37764
37765 #. type: textblock
37766 #: ../libguestfs-1.11.20/src/guestfs.pod:73 ../src/guestfs.pod:73
37767 msgid "The general structure of all libguestfs-using programs looks like this:"
37768 msgstr ""
37769
37770 #. type: verbatim
37771 #: ../libguestfs-1.11.20/src/guestfs.pod:76 ../src/guestfs.pod:76
37772 #, no-wrap
37773 msgid ""
37774 " guestfs_h *g = guestfs_create ();\n"
37775 " \n"
37776 msgstr ""
37777
37778 #. type: verbatim
37779 #: ../libguestfs-1.11.20/src/guestfs.pod:78 ../src/guestfs.pod:78
37780 #, no-wrap
37781 msgid ""
37782 " /* Call guestfs_add_drive additional times if there are\n"
37783 "  * multiple disk images.\n"
37784 "  */\n"
37785 " guestfs_add_drive (g, \"guest.img\");\n"
37786 " \n"
37787 msgstr ""
37788
37789 #. type: verbatim
37790 #: ../libguestfs-1.11.20/src/guestfs.pod:83 ../src/guestfs.pod:83
37791 #, no-wrap
37792 msgid ""
37793 " /* Most manipulation calls won't work until you've launched\n"
37794 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
37795 "  * and _before_ other commands.\n"
37796 "  */\n"
37797 " guestfs_launch (g);\n"
37798 " \n"
37799 msgstr ""
37800
37801 #. type: verbatim
37802 #: ../libguestfs-1.11.20/src/guestfs.pod:89 ../src/guestfs.pod:89
37803 #, no-wrap
37804 msgid ""
37805 " /* Now you can examine what partitions, LVs etc are available.\n"
37806 "  */\n"
37807 " char **partitions = guestfs_list_partitions (g);\n"
37808 " char **logvols = guestfs_lvs (g);\n"
37809 " \n"
37810 msgstr ""
37811
37812 #. type: verbatim
37813 #: ../libguestfs-1.11.20/src/guestfs.pod:94 ../src/guestfs.pod:94
37814 #, no-wrap
37815 msgid ""
37816 " /* To access a filesystem in the image, you must mount it.\n"
37817 "  */\n"
37818 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
37819 " \n"
37820 msgstr ""
37821
37822 #. type: verbatim
37823 #: ../libguestfs-1.11.20/src/guestfs.pod:98 ../src/guestfs.pod:98
37824 #, no-wrap
37825 msgid ""
37826 " /* Now you can perform filesystem actions on the guest\n"
37827 "  * disk image.\n"
37828 "  */\n"
37829 " guestfs_touch (g, \"/hello\");\n"
37830 " \n"
37831 msgstr ""
37832
37833 #. type: verbatim
37834 #: ../libguestfs-1.11.20/src/guestfs.pod:103 ../src/guestfs.pod:103
37835 #, no-wrap
37836 msgid ""
37837 " /* This is only needed for libguestfs < 1.5.24.  Since then\n"
37838 "  * it is done automatically when you close the handle.  See\n"
37839 "  * discussion of autosync in this page.\n"
37840 "  */\n"
37841 " guestfs_sync (g);\n"
37842 " \n"
37843 msgstr ""
37844
37845 #. type: verbatim
37846 #: ../libguestfs-1.11.20/src/guestfs.pod:109 ../src/guestfs.pod:109
37847 #, no-wrap
37848 msgid ""
37849 " /* Close the handle 'g'. */\n"
37850 " guestfs_close (g);\n"
37851 "\n"
37852 msgstr ""
37853
37854 #. type: textblock
37855 #: ../libguestfs-1.11.20/src/guestfs.pod:112 ../src/guestfs.pod:112
37856 msgid ""
37857 "The code above doesn't include any error checking.  In real code you should "
37858 "check return values carefully for errors.  In general all functions that "
37859 "return integers return C<-1> on error, and all functions that return "
37860 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
37861 "how to handle errors, and consult the documentation for each function call "
37862 "below to see precisely how they return error indications.  See L<guestfs-"
37863 "examples(3)> for fully worked examples."
37864 msgstr ""
37865
37866 #. type: =head2
37867 #: ../libguestfs-1.11.20/src/guestfs.pod:121 ../src/guestfs.pod:121
37868 msgid "DISK IMAGES"
37869 msgstr ""
37870
37871 #. type: textblock
37872 #: ../libguestfs-1.11.20/src/guestfs.pod:123 ../src/guestfs.pod:123
37873 msgid ""
37874 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
37875 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
37876 "actual block device, or simply an empty file of zeroes that you have created "
37877 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
37878 "of these."
37879 msgstr ""
37880
37881 #. type: textblock
37882 #: ../libguestfs-1.11.20/src/guestfs.pod:129 ../src/guestfs.pod:129
37883 msgid ""
37884 "The call you should use in modern code for adding drives is L</"
37885 "guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
37886 "specifying that the format is raw, do:"
37887 msgstr ""
37888
37889 #. type: verbatim
37890 #: ../libguestfs-1.11.20/src/guestfs.pod:133 ../src/guestfs.pod:133
37891 #, no-wrap
37892 msgid ""
37893 " guestfs_add_drive_opts (g, filename,\n"
37894 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
37895 "                         -1);\n"
37896 "\n"
37897 msgstr ""
37898
37899 #. type: textblock
37900 #: ../libguestfs-1.11.20/src/guestfs.pod:137 ../src/guestfs.pod:137
37901 msgid "You can add a disk read-only using:"
37902 msgstr ""
37903
37904 #. type: verbatim
37905 #: ../libguestfs-1.11.20/src/guestfs.pod:139 ../src/guestfs.pod:139
37906 #, no-wrap
37907 msgid ""
37908 " guestfs_add_drive_opts (g, filename,\n"
37909 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
37910 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
37911 "                         -1);\n"
37912 "\n"
37913 msgstr ""
37914
37915 #. type: textblock
37916 #: ../libguestfs-1.11.20/src/guestfs.pod:144 ../src/guestfs.pod:144
37917 msgid ""
37918 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
37919 "libguestfs won't modify the file."
37920 msgstr ""
37921
37922 #. type: textblock
37923 #: ../libguestfs-1.11.20/src/guestfs.pod:147 ../src/guestfs.pod:147
37924 msgid ""
37925 "Be extremely cautious if the disk image is in use, eg. if it is being used "
37926 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
37927 "corruption, but adding it read-only is safe."
37928 msgstr ""
37929
37930 #. type: textblock
37931 #: ../libguestfs-1.11.20/src/guestfs.pod:151 ../src/guestfs.pod:151
37932 msgid ""
37933 "You must add at least one disk image, and you may add multiple disk images.  "
37934 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
37935 "first one you added), C</dev/sdb> (for the second one you added), etc."
37936 msgstr ""
37937
37938 #. type: textblock
37939 #: ../libguestfs-1.11.20/src/guestfs.pod:156 ../src/guestfs.pod:156
37940 msgid ""
37941 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
37942 "can call L</guestfs_list_devices> to get a list of the device names, in the "
37943 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
37944 msgstr ""
37945
37946 #. type: =head2
37947 #: ../libguestfs-1.11.20/src/guestfs.pod:161 ../src/guestfs.pod:161
37948 msgid "MOUNTING"
37949 msgstr ""
37950
37951 #. type: textblock
37952 #: ../libguestfs-1.11.20/src/guestfs.pod:163 ../src/guestfs.pod:163
37953 msgid ""
37954 "Before you can read or write files, create directories and so on in a disk "
37955 "image that contains filesystems, you have to mount those filesystems using "
37956 "L</guestfs_mount_options> or L</guestfs_mount_ro>.  If you already know that "
37957 "a disk image contains (for example) one partition with a filesystem on that "
37958 "partition, then you can mount it directly:"
37959 msgstr ""
37960
37961 #. type: verbatim
37962 #: ../libguestfs-1.11.20/src/guestfs.pod:170 ../src/guestfs.pod:170
37963 #, no-wrap
37964 msgid ""
37965 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
37966 "\n"
37967 msgstr ""
37968
37969 #. type: textblock
37970 #: ../libguestfs-1.11.20/src/guestfs.pod:172 ../src/guestfs.pod:172
37971 msgid ""
37972 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
37973 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
37974 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>).  Note "
37975 "that these are libguestfs virtual devices, and are nothing to do with host "
37976 "devices."
37977 msgstr ""
37978
37979 #. type: textblock
37980 #: ../libguestfs-1.11.20/src/guestfs.pod:178 ../src/guestfs.pod:178
37981 msgid ""
37982 "If you are given a disk image and you don't know what it contains then you "
37983 "have to find out.  Libguestfs can do that too: use L</"
37984 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
37985 "LVs, and either try mounting each to see what is mountable, or else examine "
37986 "them with L</guestfs_vfs_type> or L</guestfs_file>.  To list just "
37987 "filesystems, use L</guestfs_list_filesystems>."
37988 msgstr ""
37989
37990 #. type: textblock
37991 #: ../libguestfs-1.11.20/src/guestfs.pod:186 ../src/guestfs.pod:186
37992 msgid ""
37993 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
37994 "L</INSPECTION> below).  But you might find it easier to look at higher level "
37995 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
37996 msgstr ""
37997
37998 #. type: textblock
37999 #: ../libguestfs-1.11.20/src/guestfs.pod:191 ../src/guestfs.pod:191
38000 msgid ""
38001 "To mount a filesystem read-only, use L</guestfs_mount_ro>.  There are "
38002 "several other variations of the C<guestfs_mount_*> call."
38003 msgstr ""
38004
38005 #. type: =head2
38006 #: ../libguestfs-1.11.20/src/guestfs.pod:194 ../src/guestfs.pod:194
38007 msgid "FILESYSTEM ACCESS AND MODIFICATION"
38008 msgstr ""
38009
38010 #. type: textblock
38011 #: ../libguestfs-1.11.20/src/guestfs.pod:196 ../src/guestfs.pod:196
38012 msgid ""
38013 "The majority of the libguestfs API consists of fairly low-level calls for "
38014 "accessing and modifying the files, directories, symlinks etc on mounted "
38015 "filesystems.  There are over a hundred such calls which you can find listed "
38016 "in detail below in this man page, and we don't even pretend to cover them "
38017 "all in this overview."
38018 msgstr ""
38019
38020 #. type: textblock
38021 #: ../libguestfs-1.11.20/src/guestfs.pod:202 ../src/guestfs.pod:202
38022 msgid ""
38023 "Specify filenames as full paths, starting with C<\"/\"> and including the "
38024 "mount point."
38025 msgstr ""
38026
38027 #. type: textblock
38028 #: ../libguestfs-1.11.20/src/guestfs.pod:205 ../src/guestfs.pod:205
38029 msgid ""
38030 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
38031 "the file called C<\"etc/passwd\"> then you could do:"
38032 msgstr ""
38033
38034 #. type: verbatim
38035 #: ../libguestfs-1.11.20/src/guestfs.pod:208 ../src/guestfs.pod:208
38036 #, no-wrap
38037 msgid ""
38038 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
38039 "\n"
38040 msgstr ""
38041
38042 #. type: textblock
38043 #: ../libguestfs-1.11.20/src/guestfs.pod:210 ../src/guestfs.pod:210
38044 msgid ""
38045 "This would return C<data> as a newly allocated buffer containing the full "
38046 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
38047 "or C<NULL> if there was an error."
38048 msgstr ""
38049
38050 #. type: textblock
38051 #: ../libguestfs-1.11.20/src/guestfs.pod:214 ../src/guestfs.pod:214
38052 msgid ""
38053 "As another example, to create a top-level directory on that filesystem "
38054 "called C<\"var\"> you would do:"
38055 msgstr ""
38056
38057 #. type: verbatim
38058 #: ../libguestfs-1.11.20/src/guestfs.pod:217 ../src/guestfs.pod:217
38059 #, no-wrap
38060 msgid ""
38061 " guestfs_mkdir (g, \"/var\");\n"
38062 "\n"
38063 msgstr ""
38064
38065 #. type: textblock
38066 #: ../libguestfs-1.11.20/src/guestfs.pod:219 ../src/guestfs.pod:219
38067 msgid "To create a symlink you could do:"
38068 msgstr ""
38069
38070 #. type: verbatim
38071 #: ../libguestfs-1.11.20/src/guestfs.pod:221 ../src/guestfs.pod:221
38072 #, no-wrap
38073 msgid ""
38074 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
38075 "               \"/etc/rc3.d/S30portmap\");\n"
38076 "\n"
38077 msgstr ""
38078
38079 #. type: textblock
38080 #: ../libguestfs-1.11.20/src/guestfs.pod:224 ../src/guestfs.pod:224
38081 msgid ""
38082 "Libguestfs will reject attempts to use relative paths and there is no "
38083 "concept of a current working directory."
38084 msgstr ""
38085
38086 #. type: textblock
38087 #: ../libguestfs-1.11.20/src/guestfs.pod:227 ../src/guestfs.pod:227
38088 msgid ""
38089 "Libguestfs can return errors in many situations: for example if the "
38090 "filesystem isn't writable, or if a file or directory that you requested "
38091 "doesn't exist.  If you are using the C API (documented here)  you have to "
38092 "check for those error conditions after each call.  (Other language bindings "
38093 "turn these errors into exceptions)."
38094 msgstr ""
38095
38096 #. type: textblock
38097 #: ../libguestfs-1.11.20/src/guestfs.pod:233 ../src/guestfs.pod:233
38098 msgid ""
38099 "File writes are affected by the per-handle umask, set by calling L</"
38100 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
38101 msgstr ""
38102
38103 #. type: =head2
38104 #: ../libguestfs-1.11.20/src/guestfs.pod:236 ../src/guestfs.pod:236
38105 msgid "PARTITIONING"
38106 msgstr ""
38107
38108 #. type: textblock
38109 #: ../libguestfs-1.11.20/src/guestfs.pod:238 ../src/guestfs.pod:238
38110 msgid ""
38111 "Libguestfs contains API calls to read, create and modify partition tables on "
38112 "disk images."
38113 msgstr ""
38114
38115 #. type: textblock
38116 #: ../libguestfs-1.11.20/src/guestfs.pod:241 ../src/guestfs.pod:241
38117 msgid ""
38118 "In the common case where you want to create a single partition covering the "
38119 "whole disk, you should use the L</guestfs_part_disk> call:"
38120 msgstr ""
38121
38122 #. type: verbatim
38123 #: ../libguestfs-1.11.20/src/guestfs.pod:245 ../src/guestfs.pod:245
38124 #, no-wrap
38125 msgid ""
38126 " const char *parttype = \"mbr\";\n"
38127 " if (disk_is_larger_than_2TB)\n"
38128 "   parttype = \"gpt\";\n"
38129 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
38130 "\n"
38131 msgstr ""
38132
38133 #. type: textblock
38134 #: ../libguestfs-1.11.20/src/guestfs.pod:250 ../src/guestfs.pod:250
38135 msgid ""
38136 "Obviously this effectively wipes anything that was on that disk image before."
38137 msgstr ""
38138
38139 #. type: =head2
38140 #: ../libguestfs-1.11.20/src/guestfs.pod:253 ../src/guestfs.pod:253
38141 msgid "LVM2"
38142 msgstr ""
38143
38144 #. type: textblock
38145 #: ../libguestfs-1.11.20/src/guestfs.pod:255 ../src/guestfs.pod:255
38146 msgid ""
38147 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
38148 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
38149 "you familiarize yourself with the concepts of physical volumes, volume "
38150 "groups and logical volumes."
38151 msgstr ""
38152
38153 #. type: textblock
38154 #: ../libguestfs-1.11.20/src/guestfs.pod:260 ../src/guestfs.pod:260
38155 msgid ""
38156 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
38157 "tldp.org/HOWTO/LVM-HOWTO/>."
38158 msgstr ""
38159
38160 #. type: =head2
38161 #: ../libguestfs-1.11.20/src/guestfs.pod:263 ../src/guestfs.pod:263
38162 msgid "DOWNLOADING"
38163 msgstr ""
38164
38165 #. type: textblock
38166 #: ../libguestfs-1.11.20/src/guestfs.pod:265 ../src/guestfs.pod:265
38167 msgid ""
38168 "Use L</guestfs_cat> to download small, text only files.  This call is "
38169 "limited to files which are less than 2 MB and which cannot contain any ASCII "
38170 "NUL (C<\\0>) characters.  However the API is very simple to use."
38171 msgstr ""
38172
38173 #. type: textblock
38174 #: ../libguestfs-1.11.20/src/guestfs.pod:269 ../src/guestfs.pod:269
38175 msgid ""
38176 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
38177 "bit data, since it returns a (pointer, size) pair.  However it is still "
38178 "limited to \"small\" files, less than 2 MB."
38179 msgstr ""
38180
38181 #. type: textblock
38182 #: ../libguestfs-1.11.20/src/guestfs.pod:273 ../src/guestfs.pod:273
38183 msgid ""
38184 "L</guestfs_download> can be used to download any file, with no limits on "
38185 "content or size (even files larger than 4 GB)."
38186 msgstr ""
38187
38188 #. type: textblock
38189 #: ../libguestfs-1.11.20/src/guestfs.pod:276 ../src/guestfs.pod:276
38190 msgid ""
38191 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
38192 msgstr ""
38193
38194 #. type: =head2
38195 #: ../libguestfs-1.11.20/src/guestfs.pod:279 ../src/guestfs.pod:279
38196 msgid "UPLOADING"
38197 msgstr ""
38198
38199 #. type: textblock
38200 #: ../libguestfs-1.11.20/src/guestfs.pod:281 ../src/guestfs.pod:281
38201 msgid ""
38202 "It's often the case that you want to write a file or files to the disk image."
38203 msgstr ""
38204
38205 #. type: textblock
38206 #: ../libguestfs-1.11.20/src/guestfs.pod:284 ../src/guestfs.pod:284
38207 msgid ""
38208 "To write a small file with fixed content, use L</guestfs_write>.  To create "
38209 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
38210 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
38211 "of other functions for creating test files, for example L</guestfs_fill> and "
38212 "L</guestfs_fill_pattern>."
38213 msgstr ""
38214
38215 #. type: textblock
38216 #: ../libguestfs-1.11.20/src/guestfs.pod:290 ../src/guestfs.pod:290
38217 msgid ""
38218 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
38219 "file content or size (even files larger than 4 GB)."
38220 msgstr ""
38221
38222 #. type: textblock
38223 #: ../libguestfs-1.11.20/src/guestfs.pod:293 ../src/guestfs.pod:293
38224 msgid ""
38225 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
38226 msgstr ""
38227
38228 #. type: textblock
38229 #: ../libguestfs-1.11.20/src/guestfs.pod:295 ../src/guestfs.pod:295
38230 msgid ""
38231 "However the fastest way to upload I<large numbers of arbitrary files> is to "
38232 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
38233 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
38234 "in a predictable way (eg. adding it last after all other drives) then you "
38235 "can get the device name from L</guestfs_list_devices> and mount it directly "
38236 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
38237 "portable between kernel versions, and they don't support labels or UUIDs.  "
38238 "If you want to pre-build an image or you need to mount it using a label or "
38239 "UUID, use an ISO image instead."
38240 msgstr ""
38241
38242 #. type: =head2
38243 #: ../libguestfs-1.11.20/src/guestfs.pod:306 ../src/guestfs.pod:306
38244 msgid "COPYING"
38245 msgstr ""
38246
38247 #. type: textblock
38248 #: ../libguestfs-1.11.20/src/guestfs.pod:308 ../src/guestfs.pod:308
38249 msgid ""
38250 "There are various different commands for copying between files and devices "
38251 "and in and out of the guest filesystem.  These are summarised in the table "
38252 "below."
38253 msgstr ""
38254
38255 #. type: =item
38256 #: ../libguestfs-1.11.20/src/guestfs.pod:314 ../src/guestfs.pod:314
38257 msgid "B<file> to B<file>"
38258 msgstr ""
38259
38260 #. type: textblock
38261 #: ../libguestfs-1.11.20/src/guestfs.pod:316 ../src/guestfs.pod:316
38262 msgid ""
38263 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
38264 "directories recursively."
38265 msgstr ""
38266
38267 #. type: =item
38268 #: ../libguestfs-1.11.20/src/guestfs.pod:319 ../src/guestfs.pod:319
38269 msgid "B<file or device> to B<file or device>"
38270 msgstr ""
38271
38272 #. type: textblock
38273 #: ../libguestfs-1.11.20/src/guestfs.pod:321 ../src/guestfs.pod:321
38274 msgid ""
38275 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
38276 "devices in the guest."
38277 msgstr ""
38278
38279 #. type: textblock
38280 #: ../libguestfs-1.11.20/src/guestfs.pod:324 ../src/guestfs.pod:324
38281 msgid "Example: duplicate the contents of an LV:"
38282 msgstr ""
38283
38284 #. type: verbatim
38285 #: ../libguestfs-1.11.20/src/guestfs.pod:326 ../src/guestfs.pod:326
38286 #, no-wrap
38287 msgid ""
38288 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
38289 "\n"
38290 msgstr ""
38291
38292 #. type: textblock
38293 #: ../libguestfs-1.11.20/src/guestfs.pod:328 ../src/guestfs.pod:328
38294 msgid ""
38295 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
38296 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
38297 "guestfs_copy_size>."
38298 msgstr ""
38299
38300 #. type: =item
38301 #: ../libguestfs-1.11.20/src/guestfs.pod:332 ../src/guestfs.pod:332
38302 msgid "B<file on the host> to B<file or device>"
38303 msgstr ""
38304
38305 #. type: textblock
38306 #: ../libguestfs-1.11.20/src/guestfs.pod:334 ../src/guestfs.pod:334
38307 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
38308 msgstr ""
38309
38310 #. type: =item
38311 #: ../libguestfs-1.11.20/src/guestfs.pod:336 ../src/guestfs.pod:336
38312 msgid "B<file or device> to B<file on the host>"
38313 msgstr ""
38314
38315 #. type: textblock
38316 #: ../libguestfs-1.11.20/src/guestfs.pod:338 ../src/guestfs.pod:338
38317 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
38318 msgstr ""
38319
38320 #. type: =head2
38321 #: ../libguestfs-1.11.20/src/guestfs.pod:342 ../src/guestfs.pod:342
38322 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
38323 msgstr ""
38324
38325 #. type: textblock
38326 #: ../libguestfs-1.11.20/src/guestfs.pod:344 ../src/guestfs.pod:344
38327 msgid ""
38328 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
38329 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
38330 "appears you can only upload and download to files.  However many Un*x-like "
38331 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
38332 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
38333 "and arbitrary file descriptor N."
38334 msgstr ""
38335
38336 #. type: textblock
38337 #: ../libguestfs-1.11.20/src/guestfs.pod:352 ../src/guestfs.pod:352
38338 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
38339 msgstr ""
38340
38341 #. type: verbatim
38342 #: ../libguestfs-1.11.20/src/guestfs.pod:355 ../src/guestfs.pod:355
38343 #, no-wrap
38344 msgid ""
38345 " guestfs_download (g, filename, \"/dev/stdout\");\n"
38346 "\n"
38347 msgstr ""
38348
38349 #. type: textblock
38350 #: ../libguestfs-1.11.20/src/guestfs.pod:357 ../src/guestfs.pod:357
38351 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
38352 msgstr ""
38353
38354 #. type: verbatim
38355 #: ../libguestfs-1.11.20/src/guestfs.pod:359 ../src/guestfs.pod:359
38356 #, no-wrap
38357 msgid ""
38358 " char devfd[64];\n"
38359 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
38360 " guestfs_tar_out (g, \"/\", devfd);\n"
38361 "\n"
38362 msgstr ""
38363
38364 #. type: =head2
38365 #: ../libguestfs-1.11.20/src/guestfs.pod:363 ../src/guestfs.pod:363
38366 msgid "LISTING FILES"
38367 msgstr ""
38368
38369 #. type: textblock
38370 #: ../libguestfs-1.11.20/src/guestfs.pod:365 ../src/guestfs.pod:365
38371 msgid ""
38372 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
38373 "L<guestfish(1)>-equivalent command C<ll>)."
38374 msgstr ""
38375
38376 #. type: textblock
38377 #: ../libguestfs-1.11.20/src/guestfs.pod:368 ../src/guestfs.pod:368
38378 msgid ""
38379 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
38380 "programs, as a flat list of strings."
38381 msgstr ""
38382
38383 #. type: textblock
38384 #: ../libguestfs-1.11.20/src/guestfs.pod:371 ../src/guestfs.pod:371
38385 msgid ""
38386 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
38387 "directory, plus additional information about each one.  It is more "
38388 "equivalent to using the L<readdir(3)> call on a local filesystem."
38389 msgstr ""
38390
38391 #. type: textblock
38392 #: ../libguestfs-1.11.20/src/guestfs.pod:375 ../src/guestfs.pod:375
38393 msgid ""
38394 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
38395 msgstr ""
38396
38397 #. type: =head2
38398 #: ../libguestfs-1.11.20/src/guestfs.pod:378 ../src/guestfs.pod:378
38399 msgid "RUNNING COMMANDS"
38400 msgstr ""
38401
38402 #. type: textblock
38403 #: ../libguestfs-1.11.20/src/guestfs.pod:380 ../src/guestfs.pod:380
38404 msgid ""
38405 "Although libguestfs is primarily an API for manipulating files inside guest "
38406 "images, we also provide some limited facilities for running commands inside "
38407 "guests."
38408 msgstr ""
38409
38410 #. type: textblock
38411 #: ../libguestfs-1.11.20/src/guestfs.pod:384 ../src/guestfs.pod:384
38412 msgid "There are many limitations to this:"
38413 msgstr ""
38414
38415 #. type: textblock
38416 #: ../libguestfs-1.11.20/src/guestfs.pod:390 ../src/guestfs.pod:390
38417 msgid ""
38418 "The kernel version that the command runs under will be different from what "
38419 "it expects."
38420 msgstr ""
38421
38422 #. type: textblock
38423 #: ../libguestfs-1.11.20/src/guestfs.pod:395 ../src/guestfs.pod:395
38424 msgid ""
38425 "If the command needs to communicate with daemons, then most likely they "
38426 "won't be running."
38427 msgstr ""
38428
38429 #. type: textblock
38430 #: ../libguestfs-1.11.20/src/guestfs.pod:400 ../src/guestfs.pod:400
38431 msgid "The command will be running in limited memory."
38432 msgstr ""
38433
38434 #. type: textblock
38435 #: ../libguestfs-1.11.20/src/guestfs.pod:404 ../src/guestfs.pod:404
38436 msgid ""
38437 "The network may not be available unless you enable it (see L</"
38438 "guestfs_set_network>)."
38439 msgstr ""
38440
38441 #. type: textblock
38442 #: ../libguestfs-1.11.20/src/guestfs.pod:409 ../src/guestfs.pod:409
38443 msgid "Only supports Linux guests (not Windows, BSD, etc)."
38444 msgstr ""
38445
38446 #. type: textblock
38447 #: ../libguestfs-1.11.20/src/guestfs.pod:413 ../src/guestfs.pod:413
38448 msgid ""
38449 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
38450 msgstr ""
38451
38452 #. type: textblock
38453 #: ../libguestfs-1.11.20/src/guestfs.pod:418 ../src/guestfs.pod:418
38454 msgid ""
38455 "For SELinux guests, you may need to enable SELinux and load policy first.  "
38456 "See L</SELINUX> in this manpage."
38457 msgstr ""
38458
38459 #. type: textblock
38460 #: ../libguestfs-1.11.20/src/guestfs.pod:423 ../src/guestfs.pod:423
38461 msgid ""
38462 "I<Security:> It is not safe to run commands from untrusted, possibly "
38463 "malicious guests.  These commands may attempt to exploit your program by "
38464 "sending unexpected output.  They could also try to exploit the Linux kernel "
38465 "or qemu provided by the libguestfs appliance.  They could use the network "
38466 "provided by the libguestfs appliance to bypass ordinary network partitions "
38467 "and firewalls.  They could use the elevated privileges or different SELinux "
38468 "context of your program to their advantage."
38469 msgstr ""
38470
38471 #. type: textblock
38472 #: ../libguestfs-1.11.20/src/guestfs.pod:432 ../src/guestfs.pod:432
38473 msgid ""
38474 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
38475 "(a script which runs when the guest next boots normally), and to have this "
38476 "script run the commands you want in the normal context of the running guest, "
38477 "network security and so on.  For information about other security issues, "
38478 "see L</SECURITY>."
38479 msgstr ""
38480
38481 #. type: textblock
38482 #: ../libguestfs-1.11.20/src/guestfs.pod:440 ../src/guestfs.pod:440
38483 msgid ""
38484 "The two main API calls to run commands are L</guestfs_command> and L</"
38485 "guestfs_sh> (there are also variations)."
38486 msgstr ""
38487
38488 #. type: textblock
38489 #: ../libguestfs-1.11.20/src/guestfs.pod:443 ../src/guestfs.pod:443
38490 msgid ""
38491 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
38492 "shell globs, redirections, etc will work."
38493 msgstr ""
38494
38495 #. type: =head2
38496 #: ../libguestfs-1.11.20/src/guestfs.pod:446 ../src/guestfs.pod:446
38497 msgid "CONFIGURATION FILES"
38498 msgstr ""
38499
38500 #. type: textblock
38501 #: ../libguestfs-1.11.20/src/guestfs.pod:448 ../src/guestfs.pod:448
38502 msgid ""
38503 "To read and write configuration files in Linux guest filesystems, we "
38504 "strongly recommend using Augeas.  For example, Augeas understands how to "
38505 "read and write, say, a Linux shadow password file or X.org configuration "
38506 "file, and so avoids you having to write that code."
38507 msgstr ""
38508
38509 #. type: textblock
38510 #: ../libguestfs-1.11.20/src/guestfs.pod:453 ../src/guestfs.pod:453
38511 msgid ""
38512 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
38513 "document Augeas itself here because there is excellent documentation on the "
38514 "L<http://augeas.net/> website."
38515 msgstr ""
38516
38517 #. type: textblock
38518 #: ../libguestfs-1.11.20/src/guestfs.pod:457 ../src/guestfs.pod:457
38519 msgid ""
38520 "If you don't want to use Augeas (you fool!) then try calling L</"
38521 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
38522 "over."
38523 msgstr ""
38524
38525 #. type: =head2
38526 #: ../libguestfs-1.11.20/src/guestfs.pod:461 ../src/guestfs.pod:461
38527 msgid "SELINUX"
38528 msgstr ""
38529
38530 #. type: textblock
38531 #: ../libguestfs-1.11.20/src/guestfs.pod:463 ../src/guestfs.pod:463
38532 msgid ""
38533 "We support SELinux guests.  To ensure that labeling happens correctly in "
38534 "SELinux guests, you need to enable SELinux and load the guest's policy:"
38535 msgstr ""
38536
38537 #. type: textblock
38538 #: ../libguestfs-1.11.20/src/guestfs.pod:471 ../src/guestfs.pod:471
38539 msgid "Before launching, do:"
38540 msgstr ""
38541
38542 #. type: verbatim
38543 #: ../libguestfs-1.11.20/src/guestfs.pod:473 ../src/guestfs.pod:473
38544 #, no-wrap
38545 msgid ""
38546 " guestfs_set_selinux (g, 1);\n"
38547 "\n"
38548 msgstr ""
38549
38550 #. type: textblock
38551 #: ../libguestfs-1.11.20/src/guestfs.pod:477 ../src/guestfs.pod:477
38552 msgid ""
38553 "After mounting the guest's filesystem(s), load the policy.  This is best "
38554 "done by running the L<load_policy(8)> command in the guest itself:"
38555 msgstr ""
38556
38557 #. type: verbatim
38558 #: ../libguestfs-1.11.20/src/guestfs.pod:481 ../src/guestfs.pod:481
38559 #, no-wrap
38560 msgid ""
38561 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
38562 "\n"
38563 msgstr ""
38564
38565 #. type: textblock
38566 #: ../libguestfs-1.11.20/src/guestfs.pod:483 ../src/guestfs.pod:483
38567 msgid ""
38568 "(Older versions of C<load_policy> require you to specify the name of the "
38569 "policy file)."
38570 msgstr ""
38571
38572 #. type: textblock
38573 #: ../libguestfs-1.11.20/src/guestfs.pod:488 ../src/guestfs.pod:488
38574 msgid ""
38575 "Optionally, set the security context for the API.  The correct security "
38576 "context to use can only be known by inspecting the guest.  As an example:"
38577 msgstr ""
38578
38579 #. type: verbatim
38580 #: ../libguestfs-1.11.20/src/guestfs.pod:492 ../src/guestfs.pod:492
38581 #, no-wrap
38582 msgid ""
38583 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
38584 "\n"
38585 msgstr ""
38586
38587 #. type: textblock
38588 #: ../libguestfs-1.11.20/src/guestfs.pod:496 ../src/guestfs.pod:496
38589 msgid "This will work for running commands and editing existing files."
38590 msgstr ""
38591
38592 #. type: textblock
38593 #: ../libguestfs-1.11.20/src/guestfs.pod:498 ../src/guestfs.pod:498
38594 msgid ""
38595 "When new files are created, you may need to label them explicitly, for "
38596 "example by running the external command C<restorecon pathname>."
38597 msgstr ""
38598
38599 #. type: =head2
38600 #: ../libguestfs-1.11.20/src/guestfs.pod:502 ../src/guestfs.pod:502
38601 msgid "UMASK"
38602 msgstr ""
38603
38604 #. type: textblock
38605 #: ../libguestfs-1.11.20/src/guestfs.pod:504 ../src/guestfs.pod:504
38606 msgid ""
38607 "Certain calls are affected by the current file mode creation mask (the "
38608 "\"umask\").  In particular ones which create files or directories, such as "
38609 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
38610 "either the default mode that the file is created with or modifies the mode "
38611 "that you supply."
38612 msgstr ""
38613
38614 #. type: textblock
38615 #: ../libguestfs-1.11.20/src/guestfs.pod:510 ../src/guestfs.pod:510
38616 msgid ""
38617 "The default umask is C<022>, so files are created with modes such as C<0644> "
38618 "and directories with C<0755>."
38619 msgstr ""
38620
38621 #. type: textblock
38622 #: ../libguestfs-1.11.20/src/guestfs.pod:513 ../src/guestfs.pod:513
38623 msgid ""
38624 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
38625 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
38626 "guestfs_chmod> after creating each file or directory."
38627 msgstr ""
38628
38629 #. type: textblock
38630 #: ../libguestfs-1.11.20/src/guestfs.pod:517 ../src/guestfs.pod:517
38631 msgid "For more information about umask, see L<umask(2)>."
38632 msgstr ""
38633
38634 #. type: textblock
38635 #: ../libguestfs-1.11.20/src/guestfs.pod:521 ../src/guestfs.pod:521
38636 msgid ""
38637 "Libguestfs allows you to access Linux guests which have been encrypted using "
38638 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
38639 "standard.  This includes nearly all whole disk encryption systems used by "
38640 "modern Linux guests."
38641 msgstr ""
38642
38643 #. type: textblock
38644 #: ../libguestfs-1.11.20/src/guestfs.pod:527 ../src/guestfs.pod:527
38645 msgid ""
38646 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
38647 "returns the string C<crypto_LUKS>)."
38648 msgstr ""
38649
38650 #. type: textblock
38651 #: ../libguestfs-1.11.20/src/guestfs.pod:530 ../src/guestfs.pod:530
38652 msgid ""
38653 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
38654 "will require the passphrase!"
38655 msgstr ""
38656
38657 #. type: textblock
38658 #: ../libguestfs-1.11.20/src/guestfs.pod:533 ../src/guestfs.pod:533
38659 msgid ""
38660 "Opening a LUKS device creates a new device mapper device called C</dev/"
38661 "mapper/mapname> (where C<mapname> is the string you supply to L</"
38662 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
38663 "from and encrypted to the underlying block device respectively."
38664 msgstr ""
38665
38666 #. type: textblock
38667 #: ../libguestfs-1.11.20/src/guestfs.pod:539 ../src/guestfs.pod:539
38668 msgid ""
38669 "LVM volume groups on the device can be made visible by calling L</"
38670 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
38671 "(s) can now be mounted in the usual way."
38672 msgstr ""
38673
38674 #. type: textblock
38675 #: ../libguestfs-1.11.20/src/guestfs.pod:543 ../src/guestfs.pod:543
38676 msgid ""
38677 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
38678 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
38679 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
38680 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
38681 "underlying encrypted block device)."
38682 msgstr ""
38683
38684 #. type: =head2
38685 #: ../libguestfs-1.11.20/src/guestfs.pod:550 ../src/guestfs.pod:550
38686 msgid "INSPECTION"
38687 msgstr ""
38688
38689 #. type: textblock
38690 #: ../libguestfs-1.11.20/src/guestfs.pod:552 ../src/guestfs.pod:552
38691 msgid ""
38692 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
38693 "contains operating systems, an install CD or a live CD.  (These APIs used to "
38694 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
38695 "version 1.5.3 the most frequently used part of this library has been "
38696 "rewritten in C and moved into the core code)."
38697 msgstr ""
38698
38699 #. type: textblock
38700 #: ../libguestfs-1.11.20/src/guestfs.pod:559 ../src/guestfs.pod:559
38701 msgid ""
38702 "Add all disks belonging to the unknown virtual machine and call L</"
38703 "guestfs_launch> in the usual way."
38704 msgstr ""
38705
38706 #. type: textblock
38707 #: ../libguestfs-1.11.20/src/guestfs.pod:562 ../src/guestfs.pod:562
38708 msgid ""
38709 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
38710 "and certain heuristics, and returns a list of operating systems that were "
38711 "found.  An empty list means none were found.  A single element is the root "
38712 "filesystem of the operating system.  For dual- or multi-boot guests, "
38713 "multiple roots can be returned, each one corresponding to a separate "
38714 "operating system.  (Multi-boot virtual machines are extremely rare in the "
38715 "world of virtualization, but since this scenario can happen, we have built "
38716 "libguestfs to deal with it.)"
38717 msgstr ""
38718
38719 #. type: textblock
38720 #: ../libguestfs-1.11.20/src/guestfs.pod:571 ../src/guestfs.pod:571
38721 msgid ""
38722 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
38723 "to get additional details about that operating system.  For example, call L</"
38724 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
38725 "Windows and Linux-based operating systems respectively."
38726 msgstr ""
38727
38728 #. type: textblock
38729 #: ../libguestfs-1.11.20/src/guestfs.pod:577 ../src/guestfs.pod:577
38730 msgid ""
38731 "Un*x-like and Linux-based operating systems usually consist of several "
38732 "filesystems which are mounted at boot time (for example, a separate boot "
38733 "partition mounted on C</boot>).  The inspection rules are able to detect how "
38734 "filesystems correspond to mount points.  Call "
38735 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
38736 "hash table like this example:"
38737 msgstr ""
38738
38739 #. type: verbatim
38740 #: ../libguestfs-1.11.20/src/guestfs.pod:584 ../src/guestfs.pod:584
38741 #, no-wrap
38742 msgid ""
38743 " /boot => /dev/sda1\n"
38744 " /     => /dev/vg_guest/lv_root\n"
38745 " /usr  => /dev/vg_guest/lv_usr\n"
38746 "\n"
38747 msgstr ""
38748
38749 #. type: textblock
38750 #: ../libguestfs-1.11.20/src/guestfs.pod:588 ../src/guestfs.pod:588
38751 msgid ""
38752 "The caller can then make calls to L</guestfs_mount_options> to mount the "
38753 "filesystems as suggested."
38754 msgstr ""
38755
38756 #. type: textblock
38757 #: ../libguestfs-1.11.20/src/guestfs.pod:591 ../src/guestfs.pod:591
38758 msgid ""
38759 "Be careful to mount filesystems in the right order (eg. C</> before C</"
38760 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
38761 msgstr ""
38762
38763 #. type: textblock
38764 #: ../libguestfs-1.11.20/src/guestfs.pod:595 ../src/guestfs.pod:595
38765 msgid ""
38766 "Inspection currently only works for some common operating systems.  "
38767 "Contributors are welcome to send patches for other operating systems that we "
38768 "currently cannot detect."
38769 msgstr ""
38770
38771 #. type: textblock
38772 #: ../libguestfs-1.11.20/src/guestfs.pod:599 ../src/guestfs.pod:599
38773 msgid ""
38774 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
38775 "for more details.  The L</guestfs_inspect_os> function just ignores any "
38776 "encrypted devices."
38777 msgstr ""
38778
38779 #. type: textblock
38780 #: ../libguestfs-1.11.20/src/guestfs.pod:603 ../src/guestfs.pod:603
38781 msgid ""
38782 "A note on the implementation: The call L</guestfs_inspect_os> performs "
38783 "inspection and caches the results in the guest handle.  Subsequent calls to "
38784 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
38785 "read the disks.  If you change the content of the guest disks, you can redo "
38786 "inspection by calling L</guestfs_inspect_os> again.  (L</"
38787 "guestfs_inspect_list_applications> works a little differently from the other "
38788 "calls and does read the disks.  See documentation for that function for "
38789 "details)."
38790 msgstr ""
38791
38792 #. type: =head3
38793 #: ../libguestfs-1.11.20/src/guestfs.pod:612 ../src/guestfs.pod:612
38794 msgid "INSPECTING INSTALL DISKS"
38795 msgstr ""
38796
38797 #. type: textblock
38798 #: ../libguestfs-1.11.20/src/guestfs.pod:614 ../src/guestfs.pod:614
38799 msgid ""
38800 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
38801 "CDs and more."
38802 msgstr ""
38803
38804 #. type: textblock
38805 #: ../libguestfs-1.11.20/src/guestfs.pod:617 ../src/guestfs.pod:617
38806 msgid ""
38807 "Call L</guestfs_inspect_get_format> to return the format of the operating "
38808 "system, which currently can be C<installed> (a regular operating system) or "
38809 "C<installer> (some sort of install disk)."
38810 msgstr ""
38811
38812 #. type: textblock
38813 #: ../libguestfs-1.11.20/src/guestfs.pod:621 ../src/guestfs.pod:621
38814 msgid ""
38815 "Further information is available about the operating system that can be "
38816 "installed using the regular inspection APIs like L</"
38817 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
38818 msgstr ""
38819
38820 #. type: textblock
38821 #: ../libguestfs-1.11.20/src/guestfs.pod:626 ../src/guestfs.pod:626
38822 msgid ""
38823 "Some additional information specific to installer disks is also available "
38824 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
38825 "guestfs_inspect_is_multipart> calls."
38826 msgstr ""
38827
38828 #. type: =head2
38829 #: ../libguestfs-1.11.20/src/guestfs.pod:631 ../src/guestfs.pod:631
38830 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
38831 msgstr ""
38832
38833 #. type: textblock
38834 #: ../libguestfs-1.11.20/src/guestfs.pod:633 ../src/guestfs.pod:633
38835 msgid ""
38836 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
38837 "ntfs-3g.org/> driver."
38838 msgstr ""
38839
38840 #. type: =head3
38841 #: ../libguestfs-1.11.20/src/guestfs.pod:636 ../src/guestfs.pod:636
38842 msgid "DRIVE LETTERS AND PATHS"
38843 msgstr ""
38844
38845 #. type: textblock
38846 #: ../libguestfs-1.11.20/src/guestfs.pod:638 ../src/guestfs.pod:638
38847 msgid ""
38848 "DOS and Windows still use drive letters, and the filesystems are always "
38849 "treated as case insensitive by Windows itself, and therefore you might find "
38850 "a Windows configuration file referring to a path like C<c:\\windows"
38851 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
38852 "might be referred to as C</WINDOWS/System32>."
38853 msgstr ""
38854
38855 #. type: textblock
38856 #: ../libguestfs-1.11.20/src/guestfs.pod:644 ../src/guestfs.pod:644
38857 msgid ""
38858 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
38859 "L</guestfs_inspect_get_drive_mappings>)"
38860 msgstr ""
38861
38862 #. type: textblock
38863 #: ../libguestfs-1.11.20/src/guestfs.pod:647 ../src/guestfs.pod:647
38864 msgid ""
38865 "Dealing with separator characters (backslash vs forward slash) is outside "
38866 "the scope of libguestfs, but usually a simple character replacement will "
38867 "work."
38868 msgstr ""
38869
38870 #. type: textblock
38871 #: ../libguestfs-1.11.20/src/guestfs.pod:651 ../src/guestfs.pod:651
38872 msgid ""
38873 "To resolve the case insensitivity of paths, call L</"
38874 "guestfs_case_sensitive_path>."
38875 msgstr ""
38876
38877 #. type: =head3
38878 #: ../libguestfs-1.11.20/src/guestfs.pod:654 ../src/guestfs.pod:654
38879 msgid "ACCESSING THE WINDOWS REGISTRY"
38880 msgstr ""
38881
38882 #. type: textblock
38883 #: ../libguestfs-1.11.20/src/guestfs.pod:656 ../src/guestfs.pod:656
38884 msgid ""
38885 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
38886 "files, through the library C<hivex> which is part of the libguestfs project "
38887 "although ships as a separate tarball.  You have to locate and download the "
38888 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
38889 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
38890 "reg(1)> for more help on this issue."
38891 msgstr ""
38892
38893 #. type: =head3
38894 #: ../libguestfs-1.11.20/src/guestfs.pod:664 ../src/guestfs.pod:664
38895 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
38896 msgstr ""
38897
38898 #. type: textblock
38899 #: ../libguestfs-1.11.20/src/guestfs.pod:666 ../src/guestfs.pod:666
38900 msgid ""
38901 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
38902 "provide something which looks like a Linux symlink.  The way it tries to do "
38903 "the rewriting is described here:"
38904 msgstr ""
38905
38906 #. type: textblock
38907 #: ../libguestfs-1.11.20/src/guestfs.pod:670 ../src/guestfs.pod:670
38908 msgid ""
38909 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
38910 "symbolic-links/>"
38911 msgstr ""
38912
38913 #. type: textblock
38914 #: ../libguestfs-1.11.20/src/guestfs.pod:672 ../src/guestfs.pod:672
38915 msgid ""
38916 "The essential problem is that ntfs-3g simply does not have enough "
38917 "information to do a correct job.  NTFS links can contain drive letters and "
38918 "references to external device GUIDs that ntfs-3g has no way of resolving.  "
38919 "It is almost certainly the case that libguestfs callers should ignore what "
38920 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
38921 msgstr ""
38922
38923 #. type: textblock
38924 #: ../libguestfs-1.11.20/src/guestfs.pod:679 ../src/guestfs.pod:679
38925 msgid ""
38926 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
38927 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
38928 "attribute, and read the raw reparse data from that (you can find the format "
38929 "documented in various places around the web)."
38930 msgstr ""
38931
38932 #. type: =head3
38933 #: ../libguestfs-1.11.20/src/guestfs.pod:684 ../src/guestfs.pod:684
38934 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
38935 msgstr ""
38936
38937 #. type: textblock
38938 #: ../libguestfs-1.11.20/src/guestfs.pod:686 ../src/guestfs.pod:686
38939 msgid ""
38940 "There are other useful extended attributes that can be read from ntfs-3g "
38941 "filesystems (using L</guestfs_getxattr>).  See:"
38942 msgstr ""
38943
38944 #. type: textblock
38945 #: ../libguestfs-1.11.20/src/guestfs.pod:689 ../src/guestfs.pod:689
38946 msgid ""
38947 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
38948 msgstr ""
38949
38950 #. type: =head2
38951 #: ../libguestfs-1.11.20/src/guestfs.pod:691 ../src/guestfs.pod:691
38952 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
38953 msgstr ""
38954
38955 #. type: textblock
38956 #: ../libguestfs-1.11.20/src/guestfs.pod:693 ../src/guestfs.pod:693
38957 msgid ""
38958 "Although we don't want to discourage you from using the C API, we will "
38959 "mention here that the same API is also available in other languages."
38960 msgstr ""
38961
38962 #. type: textblock
38963 #: ../libguestfs-1.11.20/src/guestfs.pod:696 ../src/guestfs.pod:696
38964 msgid ""
38965 "The API is broadly identical in all supported languages.  This means that "
38966 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
38967 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
38968 "OCaml.  In other words, a straightforward, predictable isomorphism between "
38969 "each language."
38970 msgstr ""
38971
38972 #. type: textblock
38973 #: ../libguestfs-1.11.20/src/guestfs.pod:702 ../src/guestfs.pod:702
38974 msgid ""
38975 "Error messages are automatically transformed into exceptions if the language "
38976 "supports it."
38977 msgstr ""
38978
38979 #. type: textblock
38980 #: ../libguestfs-1.11.20/src/guestfs.pod:705 ../src/guestfs.pod:705
38981 msgid ""
38982 "We don't try to \"object orientify\" parts of the API in OO languages, "
38983 "although contributors are welcome to write higher level APIs above what we "
38984 "provide in their favourite languages if they wish."
38985 msgstr ""
38986
38987 #. type: =item
38988 #: ../libguestfs-1.11.20/src/guestfs.pod:711 ../src/guestfs.pod:711
38989 msgid "B<C++>"
38990 msgstr ""
38991
38992 #. type: textblock
38993 #: ../libguestfs-1.11.20/src/guestfs.pod:713 ../src/guestfs.pod:713
38994 msgid ""
38995 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
38996 "identical to the C API.  C++ classes and exceptions are not used."
38997 msgstr ""
38998
38999 #. type: =item
39000 #: ../libguestfs-1.11.20/src/guestfs.pod:717 ../src/guestfs.pod:717
39001 msgid "B<C#>"
39002 msgstr ""
39003
39004 #. type: textblock
39005 #: ../libguestfs-1.11.20/src/guestfs.pod:719 ../src/guestfs.pod:719
39006 msgid ""
39007 "The C# bindings are highly experimental.  Please read the warnings at the "
39008 "top of C<csharp/Libguestfs.cs>."
39009 msgstr ""
39010
39011 #. type: =item
39012 #: ../libguestfs-1.11.20/src/guestfs.pod:722 ../src/guestfs.pod:722
39013 msgid "B<Haskell>"
39014 msgstr ""
39015
39016 #. type: textblock
39017 #: ../libguestfs-1.11.20/src/guestfs.pod:724 ../src/guestfs.pod:724
39018 msgid ""
39019 "This is the only language binding that is working but incomplete.  Only "
39020 "calls which return simple integers have been bound in Haskell, and we are "
39021 "looking for help to complete this binding."
39022 msgstr ""
39023
39024 #. type: =item
39025 #: ../libguestfs-1.11.20/src/guestfs.pod:728 ../src/guestfs.pod:728
39026 msgid "B<Java>"
39027 msgstr ""
39028
39029 #. type: textblock
39030 #: ../libguestfs-1.11.20/src/guestfs.pod:730 ../src/guestfs.pod:730
39031 msgid ""
39032 "Full documentation is contained in the Javadoc which is distributed with "
39033 "libguestfs.  For examples, see L<guestfs-java(3)>."
39034 msgstr ""
39035
39036 #. type: =item
39037 #: ../libguestfs-1.11.20/src/guestfs.pod:733 ../src/guestfs.pod:733
39038 msgid "B<OCaml>"
39039 msgstr ""
39040
39041 #. type: textblock
39042 #: ../libguestfs-1.11.20/src/guestfs.pod:735 ../src/guestfs.pod:735
39043 msgid "See L<guestfs-ocaml(3)>."
39044 msgstr ""
39045
39046 #. type: =item
39047 #: ../libguestfs-1.11.20/src/guestfs.pod:737 ../src/guestfs.pod:737
39048 msgid "B<Perl>"
39049 msgstr ""
39050
39051 #. type: textblock
39052 #: ../libguestfs-1.11.20/src/guestfs.pod:739 ../src/guestfs.pod:739
39053 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
39054 msgstr ""
39055
39056 #. type: =item
39057 #: ../libguestfs-1.11.20/src/guestfs.pod:741 ../src/guestfs.pod:741
39058 msgid "B<PHP>"
39059 msgstr ""
39060
39061 #. type: textblock
39062 #: ../libguestfs-1.11.20/src/guestfs.pod:743 ../src/guestfs.pod:743
39063 msgid ""
39064 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
39065 "the php-libguestfs package for your distribution."
39066 msgstr ""
39067
39068 #. type: textblock
39069 #: ../libguestfs-1.11.20/src/guestfs.pod:746 ../src/guestfs.pod:746
39070 msgid "The PHP binding only works correctly on 64 bit machines."
39071 msgstr ""
39072
39073 #. type: =item
39074 #: ../libguestfs-1.11.20/src/guestfs.pod:748 ../src/guestfs.pod:748
39075 msgid "B<Python>"
39076 msgstr ""
39077
39078 #. type: textblock
39079 #: ../libguestfs-1.11.20/src/guestfs.pod:750 ../src/guestfs.pod:750
39080 msgid "See L<guestfs-python(3)>."
39081 msgstr ""
39082
39083 #. type: =item
39084 #: ../libguestfs-1.11.20/src/guestfs.pod:752 ../src/guestfs.pod:752
39085 msgid "B<Ruby>"
39086 msgstr ""
39087
39088 #. type: textblock
39089 #: ../libguestfs-1.11.20/src/guestfs.pod:754 ../src/guestfs.pod:754
39090 msgid "See L<guestfs-ruby(3)>."
39091 msgstr ""
39092
39093 #. type: =item
39094 #: ../libguestfs-1.11.20/src/guestfs.pod:756 ../src/guestfs.pod:756
39095 msgid "B<shell scripts>"
39096 msgstr ""
39097
39098 #. type: textblock
39099 #: ../libguestfs-1.11.20/src/guestfs.pod:758 ../src/guestfs.pod:758
39100 msgid "See L<guestfish(1)>."
39101 msgstr ""
39102
39103 #. type: =head2
39104 #: ../libguestfs-1.11.20/src/guestfs.pod:762 ../src/guestfs.pod:762
39105 msgid "LIBGUESTFS GOTCHAS"
39106 msgstr ""
39107
39108 #. type: textblock
39109 #: ../libguestfs-1.11.20/src/guestfs.pod:764 ../src/guestfs.pod:764
39110 msgid ""
39111 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
39112 "system [...] that works in the way it is documented but is counterintuitive "
39113 "and almost invites mistakes.\""
39114 msgstr ""
39115
39116 #. type: textblock
39117 #: ../libguestfs-1.11.20/src/guestfs.pod:768 ../src/guestfs.pod:768
39118 msgid ""
39119 "Since we developed libguestfs and the associated tools, there are several "
39120 "things we would have designed differently, but are now stuck with for "
39121 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
39122 "release, you can expect these to change.  Beware of them."
39123 msgstr ""
39124
39125 #. type: =item
39126 #: ../libguestfs-1.11.20/src/guestfs.pod:776 ../src/guestfs.pod:776
39127 msgid "Autosync / forgetting to sync."
39128 msgstr ""
39129
39130 #. type: textblock
39131 #: ../libguestfs-1.11.20/src/guestfs.pod:778 ../src/guestfs.pod:778
39132 msgid ""
39133 "I<Update:> Autosync is enabled by default for all API users starting from "
39134 "libguestfs 1.5.24.  This section only applies to older versions."
39135 msgstr ""
39136
39137 #. type: textblock
39138 #: ../libguestfs-1.11.20/src/guestfs.pod:781 ../src/guestfs.pod:781
39139 msgid ""
39140 "When modifying a filesystem from C or another language, you B<must> unmount "
39141 "all filesystems and call L</guestfs_sync> explicitly before you close the "
39142 "libguestfs handle.  You can also call:"
39143 msgstr ""
39144
39145 #. type: verbatim
39146 #: ../libguestfs-1.11.20/src/guestfs.pod:785 ../src/guestfs.pod:785
39147 #, no-wrap
39148 msgid ""
39149 " guestfs_set_autosync (g, 1);\n"
39150 "\n"
39151 msgstr ""
39152
39153 #. type: textblock
39154 #: ../libguestfs-1.11.20/src/guestfs.pod:787 ../src/guestfs.pod:787
39155 msgid ""
39156 "to have the unmount/sync done automatically for you when the handle 'g' is "
39157 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
39158 msgstr ""
39159
39160 #. type: textblock
39161 #: ../libguestfs-1.11.20/src/guestfs.pod:791 ../src/guestfs.pod:791
39162 msgid ""
39163 "If you forget to do this, then it is entirely possible that your changes "
39164 "won't be written out, or will be partially written, or (very rarely) that "
39165 "you'll get disk corruption."
39166 msgstr ""
39167
39168 #. type: textblock
39169 #: ../libguestfs-1.11.20/src/guestfs.pod:795 ../src/guestfs.pod:795
39170 msgid ""
39171 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
39172 "guestfish scripts that forget to sync will work just fine, which can make "
39173 "this very puzzling if you are trying to debug a problem."
39174 msgstr ""
39175
39176 #. type: =item
39177 #: ../libguestfs-1.11.20/src/guestfs.pod:799 ../src/guestfs.pod:799
39178 msgid "Mount option C<-o sync> should not be the default."
39179 msgstr ""
39180
39181 #. type: textblock
39182 #: ../libguestfs-1.11.20/src/guestfs.pod:801 ../src/guestfs.pod:801
39183 msgid ""
39184 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
39185 "However C<-o sync> does not add any reliability benefit, but does have a "
39186 "very large performance impact."
39187 msgstr ""
39188
39189 #. type: textblock
39190 #: ../libguestfs-1.11.20/src/guestfs.pod:805 ../src/guestfs.pod:805
39191 msgid ""
39192 "The work around is to use L</guestfs_mount_options> and set the mount "
39193 "options that you actually want to use."
39194 msgstr ""
39195
39196 #. type: =item
39197 #: ../libguestfs-1.11.20/src/guestfs.pod:808 ../src/guestfs.pod:808
39198 msgid "Read-only should be the default."
39199 msgstr ""
39200
39201 #. type: textblock
39202 #: ../libguestfs-1.11.20/src/guestfs.pod:810 ../src/guestfs.pod:810
39203 msgid ""
39204 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
39205 "specify I<--rw> if you want to make changes to the image."
39206 msgstr ""
39207
39208 #. type: textblock
39209 #: ../libguestfs-1.11.20/src/guestfs.pod:813 ../src/guestfs.pod:813
39210 msgid "This would reduce the potential to corrupt live VM images."
39211 msgstr ""
39212
39213 #. type: textblock
39214 #: ../libguestfs-1.11.20/src/guestfs.pod:815 ../src/guestfs.pod:815
39215 msgid ""
39216 "Note that many filesystems change the disk when you just mount and unmount, "
39217 "even if you didn't perform any writes.  You need to use L</"
39218 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
39219 msgstr ""
39220
39221 #. type: =item
39222 #: ../libguestfs-1.11.20/src/guestfs.pod:819 ../src/guestfs.pod:819
39223 msgid "guestfish command line is hard to use."
39224 msgstr ""
39225
39226 #. type: textblock
39227 #: ../libguestfs-1.11.20/src/guestfs.pod:821 ../src/guestfs.pod:821
39228 msgid ""
39229 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
39230 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
39231 "exist, so it fails.  In earlier versions of guestfish the error message was "
39232 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
39233 "we should have used C<guestfish -c command> to run commands."
39234 msgstr ""
39235
39236 #. type: =item
39237 #: ../libguestfs-1.11.20/src/guestfs.pod:828 ../src/guestfs.pod:828
39238 msgid "guestfish megabyte modifiers don't work right on all commands"
39239 msgstr ""
39240
39241 #. type: textblock
39242 #: ../libguestfs-1.11.20/src/guestfs.pod:830 ../src/guestfs.pod:830
39243 msgid ""
39244 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
39245 "other modifiers).  What guestfish actually does is to multiply the number "
39246 "part by the modifier part and pass the result to the C API.  However this "
39247 "doesn't work for a few APIs which aren't expecting bytes, but are already "
39248 "expecting some other unit (eg. megabytes)."
39249 msgstr ""
39250
39251 #. type: textblock
39252 #: ../libguestfs-1.11.20/src/guestfs.pod:837 ../src/guestfs.pod:837
39253 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
39254 msgstr ""
39255
39256 #. type: verbatim
39257 #: ../libguestfs-1.11.20/src/guestfs.pod:839 ../src/guestfs.pod:839
39258 #, no-wrap
39259 msgid ""
39260 " lvcreate LV VG 100M\n"
39261 "\n"
39262 msgstr ""
39263
39264 #. type: textblock
39265 #: ../libguestfs-1.11.20/src/guestfs.pod:841 ../src/guestfs.pod:841
39266 msgid ""
39267 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
39268 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
39269 "megabytes * megabytes) logical volume.  The error message you get from this "
39270 "is also a little obscure."
39271 msgstr ""
39272
39273 #. type: textblock
39274 #: ../libguestfs-1.11.20/src/guestfs.pod:846 ../src/guestfs.pod:846
39275 msgid ""
39276 "This could be fixed in the generator by specially marking parameters and "
39277 "return values which take bytes or other units."
39278 msgstr ""
39279
39280 #. type: =item
39281 #: ../libguestfs-1.11.20/src/guestfs.pod:849 ../src/guestfs.pod:849
39282 msgid "Ambiguity between devices and paths"
39283 msgstr ""
39284
39285 #. type: textblock
39286 #: ../libguestfs-1.11.20/src/guestfs.pod:851 ../src/guestfs.pod:851
39287 msgid ""
39288 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
39289 "sdb2>) and a similar pathname.  A file might just happen to be called "
39290 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
39291 msgstr ""
39292
39293 #. type: textblock
39294 #: ../libguestfs-1.11.20/src/guestfs.pod:856 ../src/guestfs.pod:856
39295 msgid ""
39296 "In the current API we usually resolve this ambiguity by having two separate "
39297 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
39298 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
39299 "detecting if the path supplied begins with C</dev/>."
39300 msgstr ""
39301
39302 #. type: textblock
39303 #: ../libguestfs-1.11.20/src/guestfs.pod:862 ../src/guestfs.pod:862
39304 msgid ""
39305 "To avoid both the ambiguity and the need to duplicate some calls, we could "
39306 "make paths/devices into structured names.  One way to do this would be to "
39307 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
39308 "aspect of grub.  Another way would be to use a structured type, equivalent "
39309 "to this OCaml type:"
39310 msgstr ""
39311
39312 #. type: verbatim
39313 #: ../libguestfs-1.11.20/src/guestfs.pod:868 ../src/guestfs.pod:868
39314 #, no-wrap
39315 msgid ""
39316 " type path = Path of string | Device of int | Partition of int * int\n"
39317 "\n"
39318 msgstr ""
39319
39320 #. type: textblock
39321 #: ../libguestfs-1.11.20/src/guestfs.pod:870 ../src/guestfs.pod:870
39322 msgid "which would allow you to pass arguments like:"
39323 msgstr ""
39324
39325 #. type: verbatim
39326 #: ../libguestfs-1.11.20/src/guestfs.pod:872 ../src/guestfs.pod:872
39327 #, no-wrap
39328 msgid ""
39329 " Path \"/foo/bar\"\n"
39330 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
39331 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
39332 " Path \"/dev/sdb2\"    (* not a device *)\n"
39333 "\n"
39334 msgstr ""
39335
39336 #. type: textblock
39337 #: ../libguestfs-1.11.20/src/guestfs.pod:877 ../src/guestfs.pod:877
39338 msgid ""
39339 "As you can see there are still problems to resolve even with this "
39340 "representation.  Also consider how it might work in guestfish."
39341 msgstr ""
39342
39343 #. type: =head2
39344 #: ../libguestfs-1.11.20/src/guestfs.pod:882 ../src/guestfs.pod:882
39345 msgid "KEYS AND PASSPHRASES"
39346 msgstr ""
39347
39348 #. type: textblock
39349 #: ../libguestfs-1.11.20/src/guestfs.pod:884 ../src/guestfs.pod:884
39350 msgid ""
39351 "Certain libguestfs calls take a parameter that contains sensitive key "
39352 "material, passed in as a C string."
39353 msgstr ""
39354
39355 #. type: textblock
39356 #: ../libguestfs-1.11.20/src/guestfs.pod:887 ../src/guestfs.pod:887
39357 msgid ""
39358 "In the future we would hope to change the libguestfs implementation so that "
39359 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
39360 "swap.  However this is I<not> done at the moment, because of the complexity "
39361 "of such an implementation."
39362 msgstr ""
39363
39364 #. type: textblock
39365 #: ../libguestfs-1.11.20/src/guestfs.pod:892 ../src/guestfs.pod:892
39366 msgid ""
39367 "Therefore you should be aware that any key parameter you pass to libguestfs "
39368 "might end up being written out to the swap partition.  If this is a concern, "
39369 "scrub the swap partition or don't use libguestfs on encrypted devices."
39370 msgstr ""
39371
39372 #. type: =head2
39373 #: ../libguestfs-1.11.20/src/guestfs.pod:897 ../src/guestfs.pod:897
39374 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
39375 msgstr ""
39376
39377 #. type: textblock
39378 #: ../libguestfs-1.11.20/src/guestfs.pod:899 ../src/guestfs.pod:899
39379 msgid ""
39380 "All high-level libguestfs actions are synchronous.  If you want to use "
39381 "libguestfs asynchronously then you must create a thread."
39382 msgstr ""
39383
39384 #. type: textblock
39385 #: ../libguestfs-1.11.20/src/guestfs.pod:902 ../src/guestfs.pod:902
39386 msgid ""
39387 "Only use the handle from a single thread.  Either use the handle exclusively "
39388 "from one thread, or provide your own mutex so that two threads cannot issue "
39389 "calls on the same handle at the same time."
39390 msgstr ""
39391
39392 #. type: textblock
39393 #: ../libguestfs-1.11.20/src/guestfs.pod:906 ../src/guestfs.pod:906
39394 msgid ""
39395 "See the graphical program guestfs-browser for one possible architecture for "
39396 "multithreaded programs using libvirt and libguestfs."
39397 msgstr ""
39398
39399 #. type: =head2
39400 #: ../libguestfs-1.11.20/src/guestfs.pod:909 ../src/guestfs.pod:909
39401 msgid "PATH"
39402 msgstr ""
39403
39404 #. type: textblock
39405 #: ../libguestfs-1.11.20/src/guestfs.pod:911 ../src/guestfs.pod:911
39406 msgid ""
39407 "Libguestfs needs a supermin appliance, which it finds by looking along an "
39408 "internal path."
39409 msgstr ""
39410
39411 #. type: textblock
39412 #: ../libguestfs-1.11.20/src/guestfs.pod:914 ../src/guestfs.pod:914
39413 msgid ""
39414 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
39415 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
39416 msgstr ""
39417
39418 #. type: textblock
39419 #: ../libguestfs-1.11.20/src/guestfs.pod:917 ../src/guestfs.pod:917
39420 msgid ""
39421 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
39422 "to change the directories that libguestfs will search in.  The value is a "
39423 "colon-separated list of paths.  The current directory is I<not> searched "
39424 "unless the path contains an empty element or C<.>.  For example "
39425 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
39426 "then C</usr/lib/guestfs>."
39427 msgstr ""
39428
39429 #. type: =head2
39430 #: ../libguestfs-1.11.20/src/guestfs.pod:924 ../src/guestfs.pod:924
39431 msgid "QEMU WRAPPERS"
39432 msgstr ""
39433
39434 #. type: textblock
39435 #: ../libguestfs-1.11.20/src/guestfs.pod:926 ../src/guestfs.pod:926
39436 msgid ""
39437 "If you want to compile your own qemu, run qemu from a non-standard location, "
39438 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
39439 "around qemu."
39440 msgstr ""
39441
39442 #. type: textblock
39443 #: ../libguestfs-1.11.20/src/guestfs.pod:930 ../src/guestfs.pod:930
39444 msgid ""
39445 "There is one important rule to remember: you I<must C<exec qemu>> as the "
39446 "last command in the shell script (so that qemu replaces the shell and "
39447 "becomes the direct child of the libguestfs-using program).  If you don't do "
39448 "this, then the qemu process won't be cleaned up correctly."
39449 msgstr ""
39450
39451 #. type: textblock
39452 #: ../libguestfs-1.11.20/src/guestfs.pod:935 ../src/guestfs.pod:935
39453 msgid ""
39454 "Here is an example of a wrapper, where I have built my own copy of qemu from "
39455 "source:"
39456 msgstr ""
39457
39458 #. type: verbatim
39459 #: ../libguestfs-1.11.20/src/guestfs.pod:938 ../src/guestfs.pod:938
39460 #, no-wrap
39461 msgid ""
39462 " #!/bin/sh -\n"
39463 " qemudir=/home/rjones/d/qemu\n"
39464 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
39465 "\n"
39466 msgstr ""
39467
39468 #. type: textblock
39469 #: ../libguestfs-1.11.20/src/guestfs.pod:942 ../src/guestfs.pod:942
39470 msgid ""
39471 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
39472 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
39473 "example:"
39474 msgstr ""
39475
39476 #. type: verbatim
39477 #: ../libguestfs-1.11.20/src/guestfs.pod:946 ../src/guestfs.pod:946
39478 #, no-wrap
39479 msgid ""
39480 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
39481 "\n"
39482 msgstr ""
39483
39484 #. type: textblock
39485 #: ../libguestfs-1.11.20/src/guestfs.pod:948 ../src/guestfs.pod:948
39486 msgid ""
39487 "Note that libguestfs also calls qemu with the -help and -version options in "
39488 "order to determine features."
39489 msgstr ""
39490
39491 #. type: =head2
39492 #: ../libguestfs-1.11.20/src/guestfs.pod:951 ../src/guestfs.pod:951
39493 msgid "ATTACHING TO RUNNING DAEMONS"
39494 msgstr ""
39495
39496 #. type: textblock
39497 #: ../libguestfs-1.11.20/src/guestfs.pod:953 ../src/guestfs.pod:953
39498 msgid ""
39499 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
39500 "babies.  Use with caution."
39501 msgstr ""
39502
39503 #. type: textblock
39504 #: ../libguestfs-1.11.20/src/guestfs.pod:956 ../src/guestfs.pod:956
39505 msgid ""
39506 "I<Note (2):> This section explains how to attach to a running daemon from a "
39507 "low level perspective.  For most users, simply using virt tools such as "
39508 "L<guestfish(1)> with the I<--live> option will \"just work\"."
39509 msgstr ""
39510
39511 #. type: =head3
39512 #: ../libguestfs-1.11.20/src/guestfs.pod:960 ../src/guestfs.pod:960
39513 msgid "Using guestfs_set_attach_method"
39514 msgstr ""
39515
39516 #. type: textblock
39517 #: ../libguestfs-1.11.20/src/guestfs.pod:962 ../src/guestfs.pod:962
39518 msgid ""
39519 "By calling L</guestfs_set_attach_method> you can change how the library "
39520 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
39521 "ARCHITECTURE> for some background)."
39522 msgstr ""
39523
39524 #. type: textblock
39525 #: ../libguestfs-1.11.20/src/guestfs.pod:966 ../src/guestfs.pod:966
39526 msgid ""
39527 "The normal attach method is C<appliance>, where a small appliance is created "
39528 "containing the daemon, and then the library connects to this."
39529 msgstr ""
39530
39531 #. type: textblock
39532 #: ../libguestfs-1.11.20/src/guestfs.pod:969 ../src/guestfs.pod:969
39533 msgid ""
39534 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
39535 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
39536 "daemon over the Unix domain socket."
39537 msgstr ""
39538
39539 #. type: textblock
39540 #: ../libguestfs-1.11.20/src/guestfs.pod:973 ../src/guestfs.pod:973
39541 msgid ""
39542 "The normal use for this is to connect to a running virtual machine that "
39543 "contains a C<guestfsd> daemon, and send commands so you can read and write "
39544 "files inside the live virtual machine."
39545 msgstr ""
39546
39547 #. type: =head3
39548 #: ../libguestfs-1.11.20/src/guestfs.pod:977 ../src/guestfs.pod:977
39549 msgid "Using guestfs_add_domain with live flag"
39550 msgstr ""
39551
39552 #. type: textblock
39553 #: ../libguestfs-1.11.20/src/guestfs.pod:979 ../src/guestfs.pod:979
39554 msgid ""
39555 "L</guestfs_add_domain> provides some help for getting the correct attach "
39556 "method.  If you pass the C<live> option to this function, then (if the "
39557 "virtual machine is running) it will examine the libvirt XML looking for a "
39558 "virtio-serial channel to connect to:"
39559 msgstr ""
39560
39561 #. type: verbatim
39562 #: ../libguestfs-1.11.20/src/guestfs.pod:985 ../src/guestfs.pod:985
39563 #, no-wrap
39564 msgid ""
39565 " <domain>\n"
39566 "   ...\n"
39567 "   <devices>\n"
39568 "     ...\n"
39569 "     <channel type='unix'>\n"
39570 "       <source mode='bind' path='/path/to/socket'/>\n"
39571 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
39572 "     </channel>\n"
39573 "     ...\n"
39574 "   </devices>\n"
39575 " </domain>\n"
39576 "\n"
39577 msgstr ""
39578
39579 #. type: textblock
39580 #: ../libguestfs-1.11.20/src/guestfs.pod:997 ../src/guestfs.pod:997
39581 msgid ""
39582 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
39583 "method to C<unix:/path/to/socket>."
39584 msgstr ""
39585
39586 #. type: textblock
39587 #: ../libguestfs-1.11.20/src/guestfs.pod:1000 ../src/guestfs.pod:1000
39588 msgid ""
39589 "Some of the libguestfs tools (including guestfish) support a I<--live> "
39590 "option which is passed through to L</guestfs_add_domain> thus allowing you "
39591 "to attach to and modify live virtual machines."
39592 msgstr ""
39593
39594 #. type: textblock
39595 #: ../libguestfs-1.11.20/src/guestfs.pod:1004 ../src/guestfs.pod:1004
39596 msgid ""
39597 "The virtual machine needs to have been set up beforehand so that it has the "
39598 "virtio-serial channel and so that guestfsd is running inside it."
39599 msgstr ""
39600
39601 #. type: =head2
39602 #: ../libguestfs-1.11.20/src/guestfs.pod:1008 ../src/guestfs.pod:1008
39603 msgid "ABI GUARANTEE"
39604 msgstr ""
39605
39606 #. type: textblock
39607 #: ../libguestfs-1.11.20/src/guestfs.pod:1010 ../src/guestfs.pod:1010
39608 msgid ""
39609 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
39610 "actions as outlined in this section.  Although we will deprecate some "
39611 "actions, for example if they get replaced by newer calls, we will keep the "
39612 "old actions forever.  This allows you the developer to program in confidence "
39613 "against the libguestfs API."
39614 msgstr ""
39615
39616 #. type: =head2
39617 #: ../libguestfs-1.11.20/src/guestfs.pod:1016 ../src/guestfs.pod:1016
39618 msgid "BLOCK DEVICE NAMING"
39619 msgstr ""
39620
39621 #. type: textblock
39622 #: ../libguestfs-1.11.20/src/guestfs.pod:1018 ../src/guestfs.pod:1018
39623 msgid ""
39624 "In the kernel there is now quite a profusion of schemata for naming block "
39625 "devices (in this context, by I<block device> I mean a physical or virtual "
39626 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
39627 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
39628 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
39629 "for the old IDE driver (particularly for SATA devices) those devices also "
39630 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
39631 "paravirtualized drivers.  This has created several different naming systems, "
39632 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
39633 msgstr ""
39634
39635 #. type: textblock
39636 #: ../libguestfs-1.11.20/src/guestfs.pod:1030 ../src/guestfs.pod:1030
39637 msgid ""
39638 "As discussed above, libguestfs uses a qemu appliance running an embedded "
39639 "Linux kernel to access block devices.  We can run a variety of appliances "
39640 "based on a variety of Linux kernels."
39641 msgstr ""
39642
39643 #. type: textblock
39644 #: ../libguestfs-1.11.20/src/guestfs.pod:1034 ../src/guestfs.pod:1034
39645 msgid ""
39646 "This causes a problem for libguestfs because many API calls use device or "
39647 "partition names.  Working scripts and the recipe (example) scripts that we "
39648 "make available over the internet could fail if the naming scheme changes."
39649 msgstr ""
39650
39651 #. type: textblock
39652 #: ../libguestfs-1.11.20/src/guestfs.pod:1039 ../src/guestfs.pod:1039
39653 msgid ""
39654 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
39655 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
39656 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
39657 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
39658 msgstr ""
39659
39660 #. type: textblock
39661 #: ../libguestfs-1.11.20/src/guestfs.pod:1045 ../src/guestfs.pod:1045
39662 msgid ""
39663 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
39664 "L</guestfs_list_partitions> and similar calls return the true names of the "
39665 "devices and partitions as known to the appliance."
39666 msgstr ""
39667
39668 #. type: =head3
39669 #: ../libguestfs-1.11.20/src/guestfs.pod:1050 ../src/guestfs.pod:1050
39670 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
39671 msgstr ""
39672
39673 #. type: textblock
39674 #: ../libguestfs-1.11.20/src/guestfs.pod:1052 ../src/guestfs.pod:1052
39675 msgid ""
39676 "Usually this translation is transparent.  However in some (very rare)  cases "
39677 "you may need to know the exact algorithm.  Such cases include where you use "
39678 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
39679 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
39680 msgstr ""
39681
39682 #. type: textblock
39683 #: ../libguestfs-1.11.20/src/guestfs.pod:1058 ../src/guestfs.pod:1058
39684 msgid ""
39685 "The algorithm is applied only to I<parameters> which are known to be either "
39686 "device or partition names.  Return values from functions such as L</"
39687 "guestfs_list_devices> are never changed."
39688 msgstr ""
39689
39690 #. type: textblock
39691 #: ../libguestfs-1.11.20/src/guestfs.pod:1066 ../src/guestfs.pod:1066
39692 msgid "Is the string a parameter which is a device or partition name?"
39693 msgstr ""
39694
39695 #. type: textblock
39696 #: ../libguestfs-1.11.20/src/guestfs.pod:1070 ../src/guestfs.pod:1070
39697 msgid "Does the string begin with C</dev/sd>?"
39698 msgstr ""
39699
39700 #. type: textblock
39701 #: ../libguestfs-1.11.20/src/guestfs.pod:1074 ../src/guestfs.pod:1074
39702 msgid ""
39703 "Does the named device exist? If so, we use that device.  However if I<not> "
39704 "then we continue with this algorithm."
39705 msgstr ""
39706
39707 #. type: textblock
39708 #: ../libguestfs-1.11.20/src/guestfs.pod:1079 ../src/guestfs.pod:1079
39709 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
39710 msgstr ""
39711
39712 #. type: textblock
39713 #: ../libguestfs-1.11.20/src/guestfs.pod:1081 ../src/guestfs.pod:1081
39714 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
39715 msgstr ""
39716
39717 #. type: textblock
39718 #: ../libguestfs-1.11.20/src/guestfs.pod:1083 ../src/guestfs.pod:1083
39719 msgid "If that named device exists, use it.  If not, continue."
39720 msgstr ""
39721
39722 #. type: textblock
39723 #: ../libguestfs-1.11.20/src/guestfs.pod:1087 ../src/guestfs.pod:1087
39724 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
39725 msgstr ""
39726
39727 #. type: textblock
39728 #: ../libguestfs-1.11.20/src/guestfs.pod:1089 ../src/guestfs.pod:1089
39729 msgid "If that named device exists, use it.  If not, return an error."
39730 msgstr ""
39731
39732 #. type: =head3
39733 #: ../libguestfs-1.11.20/src/guestfs.pod:1093 ../src/guestfs.pod:1093
39734 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
39735 msgstr ""
39736
39737 #. type: textblock
39738 #: ../libguestfs-1.11.20/src/guestfs.pod:1095 ../src/guestfs.pod:1095
39739 msgid ""
39740 "Although the standard naming scheme and automatic translation is useful for "
39741 "simple programs and guestfish scripts, for larger programs it is best not to "
39742 "rely on this mechanism."
39743 msgstr ""
39744
39745 #. type: textblock
39746 #: ../libguestfs-1.11.20/src/guestfs.pod:1099 ../src/guestfs.pod:1099
39747 msgid ""
39748 "Where possible for maximum future portability programs using libguestfs "
39749 "should use these future-proof techniques:"
39750 msgstr ""
39751
39752 #. type: textblock
39753 #: ../libguestfs-1.11.20/src/guestfs.pod:1106 ../src/guestfs.pod:1106
39754 msgid ""
39755 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
39756 "device names, and then use those names directly."
39757 msgstr ""
39758
39759 #. type: textblock
39760 #: ../libguestfs-1.11.20/src/guestfs.pod:1109 ../src/guestfs.pod:1109
39761 msgid ""
39762 "Since those device names exist by definition, they will never be translated."
39763 msgstr ""
39764
39765 #. type: textblock
39766 #: ../libguestfs-1.11.20/src/guestfs.pod:1114 ../src/guestfs.pod:1114
39767 msgid ""
39768 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
39769 "filesystem labels."
39770 msgstr ""
39771
39772 #. type: =head1
39773 #: ../libguestfs-1.11.20/src/guestfs.pod:1119 ../src/guestfs.pod:1119
39774 msgid "SECURITY"
39775 msgstr ""
39776
39777 #. type: textblock
39778 #: ../libguestfs-1.11.20/src/guestfs.pod:1121 ../src/guestfs.pod:1121
39779 msgid ""
39780 "This section discusses security implications of using libguestfs, "
39781 "particularly with untrusted or malicious guests or disk images."
39782 msgstr ""
39783
39784 #. type: =head2
39785 #: ../libguestfs-1.11.20/src/guestfs.pod:1124 ../src/guestfs.pod:1124
39786 msgid "GENERAL SECURITY CONSIDERATIONS"
39787 msgstr ""
39788
39789 #. type: textblock
39790 #: ../libguestfs-1.11.20/src/guestfs.pod:1126 ../src/guestfs.pod:1126
39791 msgid ""
39792 "Be careful with any files or data that you download from a guest (by "
39793 "\"download\" we mean not just the L</guestfs_download> command but any "
39794 "command that reads files, filenames, directories or anything else from a "
39795 "disk image).  An attacker could manipulate the data to fool your program "
39796 "into doing the wrong thing.  Consider cases such as:"
39797 msgstr ""
39798
39799 #. type: textblock
39800 #: ../libguestfs-1.11.20/src/guestfs.pod:1136 ../src/guestfs.pod:1136
39801 msgid "the data (file etc) not being present"
39802 msgstr ""
39803
39804 #. type: textblock
39805 #: ../libguestfs-1.11.20/src/guestfs.pod:1140 ../src/guestfs.pod:1140
39806 msgid "being present but empty"
39807 msgstr ""
39808
39809 #. type: textblock
39810 #: ../libguestfs-1.11.20/src/guestfs.pod:1144 ../src/guestfs.pod:1144
39811 msgid "being much larger than normal"
39812 msgstr ""
39813
39814 #. type: textblock
39815 #: ../libguestfs-1.11.20/src/guestfs.pod:1148 ../src/guestfs.pod:1148
39816 msgid "containing arbitrary 8 bit data"
39817 msgstr ""
39818
39819 #. type: textblock
39820 #: ../libguestfs-1.11.20/src/guestfs.pod:1152 ../src/guestfs.pod:1152
39821 msgid "being in an unexpected character encoding"
39822 msgstr ""
39823
39824 #. type: textblock
39825 #: ../libguestfs-1.11.20/src/guestfs.pod:1156 ../src/guestfs.pod:1156
39826 msgid "containing homoglyphs."
39827 msgstr ""
39828
39829 #. type: =head2
39830 #: ../libguestfs-1.11.20/src/guestfs.pod:1160 ../src/guestfs.pod:1160
39831 msgid "SECURITY OF MOUNTING FILESYSTEMS"
39832 msgstr ""
39833
39834 #. type: textblock
39835 #: ../libguestfs-1.11.20/src/guestfs.pod:1162 ../src/guestfs.pod:1162
39836 msgid ""
39837 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
39838 "(VFS) module can sometimes be escalated into exploits by deliberately "
39839 "creating a malicious, malformed filesystem.  These exploits are very severe "
39840 "for two reasons.  Firstly there are very many filesystem drivers in the "
39841 "kernel, and many of them are infrequently used and not much developer "
39842 "attention has been paid to the code.  Linux userspace helps potential "
39843 "crackers by detecting the filesystem type and automatically choosing the "
39844 "right VFS driver, even if that filesystem type is obscure or unexpected for "
39845 "the administrator.  Secondly, a kernel-level exploit is like a local root "
39846 "exploit (worse in some ways), giving immediate and total access to the "
39847 "system right down to the hardware level."
39848 msgstr ""
39849
39850 #. type: textblock
39851 #: ../libguestfs-1.11.20/src/guestfs.pod:1175 ../src/guestfs.pod:1175
39852 msgid ""
39853 "That explains why you should never mount a filesystem from an untrusted "
39854 "guest on your host kernel.  How about libguestfs? We run a Linux kernel "
39855 "inside a qemu virtual machine, usually running as a non-root user.  The "
39856 "attacker would need to write a filesystem which first exploited the kernel, "
39857 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
39858 "the libguestfs protocol, and finally to be as serious as the host kernel "
39859 "exploit it would need to escalate its privileges to root.  This multi-step "
39860 "escalation, performed by a static piece of data, is thought to be extremely "
39861 "hard to do, although we never say 'never' about security issues."
39862 msgstr ""
39863
39864 #. type: textblock
39865 #: ../libguestfs-1.11.20/src/guestfs.pod:1186 ../src/guestfs.pod:1186
39866 msgid ""
39867 "In any case callers can reduce the attack surface by forcing the filesystem "
39868 "type when mounting (use L</guestfs_mount_vfs>)."
39869 msgstr ""
39870
39871 #. type: =head2
39872 #: ../libguestfs-1.11.20/src/guestfs.pod:1189 ../src/guestfs.pod:1189
39873 msgid "PROTOCOL SECURITY"
39874 msgstr ""
39875
39876 #. type: textblock
39877 #: ../libguestfs-1.11.20/src/guestfs.pod:1191 ../src/guestfs.pod:1191
39878 msgid ""
39879 "The protocol is designed to be secure, being based on RFC 4506 (XDR)  with a "
39880 "defined upper message size.  However a program that uses libguestfs must "
39881 "also take care - for example you can write a program that downloads a binary "
39882 "from a disk image and executes it locally, and no amount of protocol "
39883 "security will save you from the consequences."
39884 msgstr ""
39885
39886 #. type: =head2
39887 #: ../libguestfs-1.11.20/src/guestfs.pod:1197 ../src/guestfs.pod:1197
39888 msgid "INSPECTION SECURITY"
39889 msgstr ""
39890
39891 #. type: textblock
39892 #: ../libguestfs-1.11.20/src/guestfs.pod:1199 ../src/guestfs.pod:1199
39893 msgid ""
39894 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
39895 "directly from the guest, and these could contain any 8 bit data.  Callers "
39896 "should be careful to escape these before printing them to a structured file "
39897 "(for example, use HTML escaping if creating a web page)."
39898 msgstr ""
39899
39900 #. type: textblock
39901 #: ../libguestfs-1.11.20/src/guestfs.pod:1205 ../src/guestfs.pod:1205
39902 msgid ""
39903 "Guest configuration may be altered in unusual ways by the administrator of "
39904 "the virtual machine, and may not reflect reality (particularly for untrusted "
39905 "or actively malicious guests).  For example we parse the hostname from "
39906 "configuration files like C</etc/sysconfig/network> that we find in the "
39907 "guest, but the guest administrator can easily manipulate these files to "
39908 "provide the wrong hostname."
39909 msgstr ""
39910
39911 #. type: textblock
39912 #: ../libguestfs-1.11.20/src/guestfs.pod:1213 ../src/guestfs.pod:1213
39913 msgid ""
39914 "The inspection API parses guest configuration using two external libraries: "
39915 "Augeas (Linux configuration) and hivex (Windows Registry).  Both are "
39916 "designed to be robust in the face of malicious data, although denial of "
39917 "service attacks are still possible, for example with oversized configuration "
39918 "files."
39919 msgstr ""
39920
39921 #. type: =head2
39922 #: ../libguestfs-1.11.20/src/guestfs.pod:1219 ../src/guestfs.pod:1219
39923 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
39924 msgstr ""
39925
39926 #. type: textblock
39927 #: ../libguestfs-1.11.20/src/guestfs.pod:1221 ../src/guestfs.pod:1221
39928 msgid ""
39929 "Be very cautious about running commands from the guest.  By running a "
39930 "command in the guest, you are giving CPU time to a binary that you do not "
39931 "control, under the same user account as the library, albeit wrapped in qemu "
39932 "virtualization.  More information and alternatives can be found in the "
39933 "section L</RUNNING COMMANDS>."
39934 msgstr ""
39935
39936 #. type: =head2
39937 #: ../libguestfs-1.11.20/src/guestfs.pod:1227 ../src/guestfs.pod:1227
39938 msgid "CVE-2010-3851"
39939 msgstr ""
39940
39941 #. type: textblock
39942 #: ../libguestfs-1.11.20/src/guestfs.pod:1229 ../src/guestfs.pod:1229
39943 msgid "https://bugzilla.redhat.com/642934"
39944 msgstr ""
39945
39946 #. type: textblock
39947 #: ../libguestfs-1.11.20/src/guestfs.pod:1231 ../src/guestfs.pod:1231
39948 msgid ""
39949 "This security bug concerns the automatic disk format detection that qemu "
39950 "does on disk images."
39951 msgstr ""
39952
39953 #. type: textblock
39954 #: ../libguestfs-1.11.20/src/guestfs.pod:1234 ../src/guestfs.pod:1234
39955 msgid ""
39956 "A raw disk image is just the raw bytes, there is no header.  Other disk "
39957 "images like qcow2 contain a special header.  Qemu deals with this by looking "
39958 "for one of the known headers, and if none is found then assuming the disk "
39959 "image must be raw."
39960 msgstr ""
39961
39962 #. type: textblock
39963 #: ../libguestfs-1.11.20/src/guestfs.pod:1239 ../src/guestfs.pod:1239
39964 msgid ""
39965 "This allows a guest which has been given a raw disk image to write some "
39966 "other header.  At next boot (or when the disk image is accessed by "
39967 "libguestfs) qemu would do autodetection and think the disk image format was, "
39968 "say, qcow2 based on the header written by the guest."
39969 msgstr ""
39970
39971 #. type: textblock
39972 #: ../libguestfs-1.11.20/src/guestfs.pod:1244 ../src/guestfs.pod:1244
39973 msgid ""
39974 "This in itself would not be a problem, but qcow2 offers many features, one "
39975 "of which is to allow a disk image to refer to another image (called the "
39976 "\"backing disk\").  It does this by placing the path to the backing disk "
39977 "into the qcow2 header.  This path is not validated and could point to any "
39978 "host file (eg. \"/etc/passwd\").  The backing disk is then exposed through "
39979 "\"holes\" in the qcow2 disk image, which of course is completely under the "
39980 "control of the attacker."
39981 msgstr ""
39982
39983 #. type: textblock
39984 #: ../libguestfs-1.11.20/src/guestfs.pod:1252 ../src/guestfs.pod:1252
39985 msgid ""
39986 "In libguestfs this is rather hard to exploit except under two circumstances:"
39987 msgstr ""
39988
39989 #. type: textblock
39990 #: ../libguestfs-1.11.20/src/guestfs.pod:1259 ../src/guestfs.pod:1259
39991 msgid "You have enabled the network or have opened the disk in write mode."
39992 msgstr ""
39993
39994 #. type: textblock
39995 #: ../libguestfs-1.11.20/src/guestfs.pod:1263 ../src/guestfs.pod:1263
39996 msgid ""
39997 "You are also running untrusted code from the guest (see L</RUNNING "
39998 "COMMANDS>)."
39999 msgstr ""
40000
40001 #. type: textblock
40002 #: ../libguestfs-1.11.20/src/guestfs.pod:1268 ../src/guestfs.pod:1268
40003 msgid ""
40004 "The way to avoid this is to specify the expected disk format when adding "
40005 "disks (the optional C<format> option to L</guestfs_add_drive_opts>).  You "
40006 "should always do this if the disk is raw format, and it's a good idea for "
40007 "other cases too."
40008 msgstr ""
40009
40010 #. type: textblock
40011 #: ../libguestfs-1.11.20/src/guestfs.pod:1273 ../src/guestfs.pod:1273
40012 msgid ""
40013 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
40014 "format is fetched from libvirt and passed through."
40015 msgstr ""
40016
40017 #. type: textblock
40018 #: ../libguestfs-1.11.20/src/guestfs.pod:1276 ../src/guestfs.pod:1276
40019 msgid ""
40020 "For libguestfs tools, use the I<--format> command line parameter as "
40021 "appropriate."
40022 msgstr ""
40023
40024 #. type: =head1
40025 #: ../libguestfs-1.11.20/src/guestfs.pod:1279 ../src/guestfs.pod:1279
40026 msgid "CONNECTION MANAGEMENT"
40027 msgstr ""
40028
40029 #. type: =head2
40030 #: ../libguestfs-1.11.20/src/guestfs.pod:1281 ../src/guestfs.pod:1281
40031 msgid "guestfs_h *"
40032 msgstr ""
40033
40034 #. type: textblock
40035 #: ../libguestfs-1.11.20/src/guestfs.pod:1283 ../src/guestfs.pod:1283
40036 msgid ""
40037 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
40038 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
40039 "handle and release all resources used."
40040 msgstr ""
40041
40042 #. type: textblock
40043 #: ../libguestfs-1.11.20/src/guestfs.pod:1287 ../src/guestfs.pod:1287
40044 msgid ""
40045 "For information on using multiple handles and threads, see the section L</"
40046 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
40047 msgstr ""
40048
40049 #. type: =head2
40050 #: ../libguestfs-1.11.20/src/guestfs.pod:1290 ../src/guestfs.pod:1290
40051 msgid "guestfs_create"
40052 msgstr ""
40053
40054 #. type: verbatim
40055 #: ../libguestfs-1.11.20/src/guestfs.pod:1292 ../src/guestfs.pod:1292
40056 #, no-wrap
40057 msgid ""
40058 " guestfs_h *guestfs_create (void);\n"
40059 "\n"
40060 msgstr ""
40061
40062 #. type: textblock
40063 #: ../libguestfs-1.11.20/src/guestfs.pod:1294 ../src/guestfs.pod:1294
40064 msgid "Create a connection handle."
40065 msgstr ""
40066
40067 #. type: textblock
40068 #: ../libguestfs-1.11.20/src/guestfs.pod:1296 ../src/guestfs.pod:1296
40069 msgid ""
40070 "On success this returns a non-NULL pointer to a handle.  On error it returns "
40071 "NULL."
40072 msgstr ""
40073
40074 #. type: textblock
40075 #: ../libguestfs-1.11.20/src/guestfs.pod:1299 ../src/guestfs.pod:1299
40076 msgid ""
40077 "You have to \"configure\" the handle after creating it.  This includes "
40078 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
40079 "handle at least once."
40080 msgstr ""
40081
40082 #. type: textblock
40083 #: ../libguestfs-1.11.20/src/guestfs.pod:1303 ../src/guestfs.pod:1303
40084 msgid "After configuring the handle, you have to call L</guestfs_launch>."
40085 msgstr ""
40086
40087 #. type: textblock
40088 #: ../libguestfs-1.11.20/src/guestfs.pod:1305 ../src/guestfs.pod:1305
40089 msgid ""
40090 "You may also want to configure error handling for the handle.  See the L</"
40091 "ERROR HANDLING> section below."
40092 msgstr ""
40093
40094 #. type: =head2
40095 #: ../libguestfs-1.11.20/src/guestfs.pod:1308 ../src/guestfs.pod:1308
40096 msgid "guestfs_close"
40097 msgstr ""
40098
40099 #. type: verbatim
40100 #: ../libguestfs-1.11.20/src/guestfs.pod:1310 ../src/guestfs.pod:1310
40101 #, no-wrap
40102 msgid ""
40103 " void guestfs_close (guestfs_h *g);\n"
40104 "\n"
40105 msgstr ""
40106
40107 #. type: textblock
40108 #: ../libguestfs-1.11.20/src/guestfs.pod:1312 ../src/guestfs.pod:1312
40109 msgid "This closes the connection handle and frees up all resources used."
40110 msgstr ""
40111
40112 #. type: textblock
40113 #: ../libguestfs-1.11.20/src/guestfs.pod:1314 ../src/guestfs.pod:1314
40114 msgid ""
40115 "If autosync was set on the handle and the handle was launched, then this "
40116 "implicitly calls various functions to unmount filesystems and sync the "
40117 "disk.  See L</guestfs_set_autosync> for more details."
40118 msgstr ""
40119
40120 #. type: textblock
40121 #: ../libguestfs-1.11.20/src/guestfs.pod:1318 ../src/guestfs.pod:1318
40122 msgid "If a close callback was set on the handle, then it is called."
40123 msgstr ""
40124
40125 #. type: =head1
40126 #: ../libguestfs-1.11.20/src/guestfs.pod:1320 ../src/guestfs.pod:1320
40127 msgid "ERROR HANDLING"
40128 msgstr ""
40129
40130 #. type: textblock
40131 #: ../libguestfs-1.11.20/src/guestfs.pod:1322 ../src/guestfs.pod:1322
40132 msgid ""
40133 "API functions can return errors.  For example, almost all functions that "
40134 "return C<int> will return C<-1> to indicate an error."
40135 msgstr ""
40136
40137 #. type: textblock
40138 #: ../libguestfs-1.11.20/src/guestfs.pod:1325 ../src/guestfs.pod:1325
40139 msgid ""
40140 "Additional information is available for errors: an error message string and "
40141 "optionally an error number (errno) if the thing that failed was a system "
40142 "call."
40143 msgstr ""
40144
40145 #. type: textblock
40146 #: ../libguestfs-1.11.20/src/guestfs.pod:1329 ../src/guestfs.pod:1329
40147 msgid ""
40148 "You can get at the additional information about the last error on the handle "
40149 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
40150 "up an error handler with L</guestfs_set_error_handler>."
40151 msgstr ""
40152
40153 #. type: textblock
40154 #: ../libguestfs-1.11.20/src/guestfs.pod:1334 ../src/guestfs.pod:1334
40155 msgid ""
40156 "When the handle is created, a default error handler is installed which "
40157 "prints the error message string to C<stderr>.  For small short-running "
40158 "command line programs it is sufficient to do:"
40159 msgstr ""
40160
40161 #. type: verbatim
40162 #: ../libguestfs-1.11.20/src/guestfs.pod:1338 ../src/guestfs.pod:1338
40163 #, no-wrap
40164 msgid ""
40165 " if (guestfs_launch (g) == -1)\n"
40166 "   exit (EXIT_FAILURE);\n"
40167 "\n"
40168 msgstr ""
40169
40170 #. type: textblock
40171 #: ../libguestfs-1.11.20/src/guestfs.pod:1341 ../src/guestfs.pod:1341
40172 msgid ""
40173 "since the default error handler will ensure that an error message has been "
40174 "printed to C<stderr> before the program exits."
40175 msgstr ""
40176
40177 #. type: textblock
40178 #: ../libguestfs-1.11.20/src/guestfs.pod:1344 ../src/guestfs.pod:1344
40179 msgid ""
40180 "For other programs the caller will almost certainly want to install an "
40181 "alternate error handler or do error handling in-line like this:"
40182 msgstr ""
40183
40184 #. type: verbatim
40185 #: ../libguestfs-1.11.20/src/guestfs.pod:1347 ../src/guestfs.pod:1347
40186 #, no-wrap
40187 msgid ""
40188 " g = guestfs_create ();\n"
40189 " \n"
40190 msgstr ""
40191
40192 #. type: verbatim
40193 #: ../libguestfs-1.11.20/src/guestfs.pod:1349 ../src/guestfs.pod:1349
40194 #, no-wrap
40195 msgid ""
40196 " /* This disables the default behaviour of printing errors\n"
40197 "    on stderr. */\n"
40198 " guestfs_set_error_handler (g, NULL, NULL);\n"
40199 " \n"
40200 msgstr ""
40201
40202 #. type: verbatim
40203 #: ../libguestfs-1.11.20/src/guestfs.pod:1353 ../src/guestfs.pod:1353
40204 #, no-wrap
40205 msgid ""
40206 " if (guestfs_launch (g) == -1) {\n"
40207 "   /* Examine the error message and print it etc. */\n"
40208 "   char *msg = guestfs_last_error (g);\n"
40209 "   int errnum = guestfs_last_errno (g);\n"
40210 "   fprintf (stderr, \"%s\\n\", msg);\n"
40211 "   /* ... */\n"
40212 "  }\n"
40213 "\n"
40214 msgstr ""
40215
40216 #. type: textblock
40217 #: ../libguestfs-1.11.20/src/guestfs.pod:1361 ../src/guestfs.pod:1361
40218 msgid ""
40219 "Out of memory errors are handled differently.  The default action is to call "
40220 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
40221 "guestfs_set_out_of_memory_handler>."
40222 msgstr ""
40223
40224 #. type: textblock
40225 #: ../libguestfs-1.11.20/src/guestfs.pod:1365 ../src/guestfs.pod:1365
40226 msgid ""
40227 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
40228 "because there is no handle if this happens there is no way to get additional "
40229 "error information.  However L</guestfs_create> is supposed to be a "
40230 "lightweight operation which can only fail because of insufficient memory (it "
40231 "returns NULL in this case)."
40232 msgstr ""
40233
40234 #. type: =head2
40235 #: ../libguestfs-1.11.20/src/guestfs.pod:1371 ../src/guestfs.pod:1371
40236 msgid "guestfs_last_error"
40237 msgstr ""
40238
40239 #. type: verbatim
40240 #: ../libguestfs-1.11.20/src/guestfs.pod:1373 ../src/guestfs.pod:1373
40241 #, no-wrap
40242 msgid ""
40243 " const char *guestfs_last_error (guestfs_h *g);\n"
40244 "\n"
40245 msgstr ""
40246
40247 #. type: textblock
40248 #: ../libguestfs-1.11.20/src/guestfs.pod:1375 ../src/guestfs.pod:1375
40249 msgid ""
40250 "This returns the last error message that happened on C<g>.  If there has not "
40251 "been an error since the handle was created, then this returns C<NULL>."
40252 msgstr ""
40253
40254 #. type: textblock
40255 #: ../libguestfs-1.11.20/src/guestfs.pod:1379 ../src/guestfs.pod:1379
40256 msgid ""
40257 "The lifetime of the returned string is until the next error occurs, or L</"
40258 "guestfs_close> is called."
40259 msgstr ""
40260
40261 #. type: =head2
40262 #: ../libguestfs-1.11.20/src/guestfs.pod:1382 ../src/guestfs.pod:1382
40263 msgid "guestfs_last_errno"
40264 msgstr ""
40265
40266 #. type: verbatim
40267 #: ../libguestfs-1.11.20/src/guestfs.pod:1384 ../src/guestfs.pod:1384
40268 #, no-wrap
40269 msgid ""
40270 " int guestfs_last_errno (guestfs_h *g);\n"
40271 "\n"
40272 msgstr ""
40273
40274 #. type: textblock
40275 #: ../libguestfs-1.11.20/src/guestfs.pod:1386 ../src/guestfs.pod:1386
40276 msgid "This returns the last error number (errno) that happened on C<g>."
40277 msgstr ""
40278
40279 #. type: textblock
40280 #: ../libguestfs-1.11.20/src/guestfs.pod:1388 ../src/guestfs.pod:1388
40281 msgid "If successful, an errno integer not equal to zero is returned."
40282 msgstr ""
40283
40284 #. type: textblock
40285 #: ../libguestfs-1.11.20/src/guestfs.pod:1390 ../src/guestfs.pod:1390
40286 msgid ""
40287 "If no error, this returns 0.  This call can return 0 in three situations:"
40288 msgstr ""
40289
40290 #. type: textblock
40291 #: ../libguestfs-1.11.20/src/guestfs.pod:1397 ../src/guestfs.pod:1397
40292 msgid "There has not been any error on the handle."
40293 msgstr ""
40294
40295 #. type: textblock
40296 #: ../libguestfs-1.11.20/src/guestfs.pod:1401 ../src/guestfs.pod:1401
40297 msgid ""
40298 "There has been an error but the errno was meaningless.  This corresponds to "
40299 "the case where the error did not come from a failed system call, but for "
40300 "some other reason."
40301 msgstr ""
40302
40303 #. type: textblock
40304 #: ../libguestfs-1.11.20/src/guestfs.pod:1407 ../src/guestfs.pod:1407
40305 msgid ""
40306 "There was an error from a failed system call, but for some reason the errno "
40307 "was not captured and returned.  This usually indicates a bug in libguestfs."
40308 msgstr ""
40309
40310 #. type: textblock
40311 #: ../libguestfs-1.11.20/src/guestfs.pod:1413 ../src/guestfs.pod:1413
40312 msgid ""
40313 "Libguestfs tries to convert the errno from inside the applicance into a "
40314 "corresponding errno for the caller (not entirely trivial: the appliance "
40315 "might be running a completely different operating system from the library "
40316 "and error numbers are not standardized across Un*xen).  If this could not be "
40317 "done, then the error is translated to C<EINVAL>.  In practice this should "
40318 "only happen in very rare circumstances."
40319 msgstr ""
40320
40321 #. type: =head2
40322 #: ../libguestfs-1.11.20/src/guestfs.pod:1421 ../src/guestfs.pod:1421
40323 msgid "guestfs_set_error_handler"
40324 msgstr ""
40325
40326 #. type: verbatim
40327 #: ../libguestfs-1.11.20/src/guestfs.pod:1423 ../src/guestfs.pod:1423
40328 #, no-wrap
40329 msgid ""
40330 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
40331 "                                           void *opaque,\n"
40332 "                                           const char *msg);\n"
40333 " void guestfs_set_error_handler (guestfs_h *g,\n"
40334 "                                 guestfs_error_handler_cb cb,\n"
40335 "                                 void *opaque);\n"
40336 "\n"
40337 msgstr ""
40338
40339 #. type: textblock
40340 #: ../libguestfs-1.11.20/src/guestfs.pod:1430 ../src/guestfs.pod:1430
40341 msgid ""
40342 "The callback C<cb> will be called if there is an error.  The parameters "
40343 "passed to the callback are an opaque data pointer and the error message "
40344 "string."
40345 msgstr ""
40346
40347 #. type: textblock
40348 #: ../libguestfs-1.11.20/src/guestfs.pod:1434 ../src/guestfs.pod:1434
40349 msgid ""
40350 "C<errno> is not passed to the callback.  To get that the callback must call "
40351 "L</guestfs_last_errno>."
40352 msgstr ""
40353
40354 #. type: textblock
40355 #: ../libguestfs-1.11.20/src/guestfs.pod:1437 ../src/guestfs.pod:1437
40356 msgid ""
40357 "Note that the message string C<msg> is freed as soon as the callback "
40358 "function returns, so if you want to stash it somewhere you must make your "
40359 "own copy."
40360 msgstr ""
40361
40362 #. type: textblock
40363 #: ../libguestfs-1.11.20/src/guestfs.pod:1441 ../src/guestfs.pod:1441
40364 msgid "The default handler prints messages on C<stderr>."
40365 msgstr ""
40366
40367 #. type: textblock
40368 #: ../libguestfs-1.11.20/src/guestfs.pod:1443 ../src/guestfs.pod:1443
40369 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
40370 msgstr ""
40371
40372 #. type: =head2
40373 #: ../libguestfs-1.11.20/src/guestfs.pod:1445 ../src/guestfs.pod:1445
40374 msgid "guestfs_get_error_handler"
40375 msgstr ""
40376
40377 #. type: verbatim
40378 #: ../libguestfs-1.11.20/src/guestfs.pod:1447 ../src/guestfs.pod:1447
40379 #, no-wrap
40380 msgid ""
40381 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
40382 "                                                     void **opaque_rtn);\n"
40383 "\n"
40384 msgstr ""
40385
40386 #. type: textblock
40387 #: ../libguestfs-1.11.20/src/guestfs.pod:1450 ../src/guestfs.pod:1450
40388 msgid "Returns the current error handler callback."
40389 msgstr ""
40390
40391 #. type: =head2
40392 #: ../libguestfs-1.11.20/src/guestfs.pod:1452 ../src/guestfs.pod:1452
40393 msgid "guestfs_set_out_of_memory_handler"
40394 msgstr ""
40395
40396 #. type: verbatim
40397 #: ../libguestfs-1.11.20/src/guestfs.pod:1454 ../src/guestfs.pod:1454
40398 #, no-wrap
40399 msgid ""
40400 " typedef void (*guestfs_abort_cb) (void);\n"
40401 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
40402 "                                        guestfs_abort_cb);\n"
40403 "\n"
40404 msgstr ""
40405
40406 #. type: textblock
40407 #: ../libguestfs-1.11.20/src/guestfs.pod:1458 ../src/guestfs.pod:1458
40408 msgid ""
40409 "The callback C<cb> will be called if there is an out of memory situation.  "
40410 "I<Note this callback must not return>."
40411 msgstr ""
40412
40413 #. type: textblock
40414 #: ../libguestfs-1.11.20/src/guestfs.pod:1461 ../src/guestfs.pod:1461
40415 msgid "The default is to call L<abort(3)>."
40416 msgstr ""
40417
40418 #. type: textblock
40419 #: ../libguestfs-1.11.20/src/guestfs.pod:1463 ../src/guestfs.pod:1463
40420 msgid ""
40421 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
40422 msgstr ""
40423
40424 #. type: =head2
40425 #: ../libguestfs-1.11.20/src/guestfs.pod:1466 ../src/guestfs.pod:1466
40426 msgid "guestfs_get_out_of_memory_handler"
40427 msgstr ""
40428
40429 #. type: verbatim
40430 #: ../libguestfs-1.11.20/src/guestfs.pod:1468 ../src/guestfs.pod:1468
40431 #, no-wrap
40432 msgid ""
40433 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
40434 "\n"
40435 msgstr ""
40436
40437 #. type: textblock
40438 #: ../libguestfs-1.11.20/src/guestfs.pod:1470 ../src/guestfs.pod:1470
40439 msgid "This returns the current out of memory handler."
40440 msgstr ""
40441
40442 #. type: =head1
40443 #: ../libguestfs-1.11.20/src/guestfs.pod:1472 ../src/guestfs.pod:1472
40444 msgid "API CALLS"
40445 msgstr ""
40446
40447 #. type: =head1
40448 #: ../libguestfs-1.11.20/src/guestfs.pod:1476 ../src/guestfs.pod:1476
40449 msgid "STRUCTURES"
40450 msgstr ""
40451
40452 #. type: textblock
40453 #: ../libguestfs-1.11.20/src/guestfs.pod:1478 ../src/guestfs.pod:1478
40454 msgid "@STRUCTS@"
40455 msgstr ""
40456
40457 #. type: =head1
40458 #: ../libguestfs-1.11.20/src/guestfs.pod:1480 ../src/guestfs.pod:1480
40459 msgid "AVAILABILITY"
40460 msgstr ""
40461
40462 #. type: =head2
40463 #: ../libguestfs-1.11.20/src/guestfs.pod:1482 ../src/guestfs.pod:1482
40464 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
40465 msgstr ""
40466
40467 #. type: textblock
40468 #: ../libguestfs-1.11.20/src/guestfs.pod:1484 ../src/guestfs.pod:1484
40469 msgid ""
40470 "Using L</guestfs_available> you can test availability of the following "
40471 "groups of functions.  This test queries the appliance to see if the "
40472 "appliance you are currently using supports the functionality."
40473 msgstr ""
40474
40475 #. type: textblock
40476 #: ../libguestfs-1.11.20/src/guestfs.pod:1489 ../src/guestfs.pod:1489
40477 msgid "@AVAILABILITY@"
40478 msgstr ""
40479
40480 #. type: =head2
40481 #: ../libguestfs-1.11.20/src/guestfs.pod:1491 ../src/guestfs.pod:1491
40482 msgid "GUESTFISH supported COMMAND"
40483 msgstr ""
40484
40485 #. type: textblock
40486 #: ../libguestfs-1.11.20/src/guestfs.pod:1493 ../src/guestfs.pod:1493
40487 msgid ""
40488 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
40489 "prints out the available groups and whether they are supported by this build "
40490 "of libguestfs.  Note however that you have to do C<run> first."
40491 msgstr ""
40492
40493 #. type: =head2
40494 #: ../libguestfs-1.11.20/src/guestfs.pod:1498 ../src/guestfs.pod:1498
40495 msgid "SINGLE CALLS AT COMPILE TIME"
40496 msgstr ""
40497
40498 #. type: textblock
40499 #: ../libguestfs-1.11.20/src/guestfs.pod:1500 ../src/guestfs.pod:1500
40500 msgid ""
40501 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
40502 "function, such as:"
40503 msgstr ""
40504
40505 #. type: verbatim
40506 #: ../libguestfs-1.11.20/src/guestfs.pod:1503 ../src/guestfs.pod:1503
40507 #, no-wrap
40508 msgid ""
40509 " #define LIBGUESTFS_HAVE_DD 1\n"
40510 "\n"
40511 msgstr ""
40512
40513 #. type: textblock
40514 #: ../libguestfs-1.11.20/src/guestfs.pod:1505 ../src/guestfs.pod:1505
40515 msgid "if L</guestfs_dd> is available."
40516 msgstr ""
40517
40518 #. type: textblock
40519 #: ../libguestfs-1.11.20/src/guestfs.pod:1507 ../src/guestfs.pod:1507
40520 msgid ""
40521 "Before version 1.5.8, if you needed to test whether a single libguestfs "
40522 "function is available at compile time, we recommended using build tools such "
40523 "as autoconf or cmake.  For example in autotools you could use:"
40524 msgstr ""
40525
40526 #. type: verbatim
40527 #: ../libguestfs-1.11.20/src/guestfs.pod:1512 ../src/guestfs.pod:1512
40528 #, no-wrap
40529 msgid ""
40530 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
40531 " AC_CHECK_FUNCS([guestfs_dd])\n"
40532 "\n"
40533 msgstr ""
40534
40535 #. type: textblock
40536 #: ../libguestfs-1.11.20/src/guestfs.pod:1515 ../src/guestfs.pod:1515
40537 msgid ""
40538 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
40539 "in your program."
40540 msgstr ""
40541
40542 #. type: =head2
40543 #: ../libguestfs-1.11.20/src/guestfs.pod:1518 ../src/guestfs.pod:1518
40544 msgid "SINGLE CALLS AT RUN TIME"
40545 msgstr ""
40546
40547 #. type: textblock
40548 #: ../libguestfs-1.11.20/src/guestfs.pod:1520 ../src/guestfs.pod:1520
40549 msgid ""
40550 "Testing at compile time doesn't guarantee that a function really exists in "
40551 "the library.  The reason is that you might be dynamically linked against a "
40552 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
40553 "This situation unfortunately results in a segmentation fault, which is a "
40554 "shortcoming of the C dynamic linking system itself."
40555 msgstr ""
40556
40557 #. type: textblock
40558 #: ../libguestfs-1.11.20/src/guestfs.pod:1527 ../src/guestfs.pod:1527
40559 msgid ""
40560 "You can use L<dlopen(3)> to test if a function is available at run time, as "
40561 "in this example program (note that you still need the compile time check as "
40562 "well):"
40563 msgstr ""
40564
40565 #. type: verbatim
40566 #: ../libguestfs-1.11.20/src/guestfs.pod:1531 ../src/guestfs.pod:1531
40567 #, no-wrap
40568 msgid ""
40569 " #include <stdio.h>\n"
40570 " #include <stdlib.h>\n"
40571 " #include <unistd.h>\n"
40572 " #include <dlfcn.h>\n"
40573 " #include <guestfs.h>\n"
40574 " \n"
40575 msgstr ""
40576
40577 #. type: verbatim
40578 #: ../libguestfs-1.11.20/src/guestfs.pod:1537 ../src/guestfs.pod:1537
40579 #, no-wrap
40580 msgid ""
40581 " main ()\n"
40582 " {\n"
40583 " #ifdef LIBGUESTFS_HAVE_DD\n"
40584 "   void *dl;\n"
40585 "   int has_function;\n"
40586 " \n"
40587 msgstr ""
40588
40589 #. type: verbatim
40590 #: ../libguestfs-1.11.20/src/guestfs.pod:1543 ../src/guestfs.pod:1543
40591 #, no-wrap
40592 msgid ""
40593 "   /* Test if the function guestfs_dd is really available. */\n"
40594 "   dl = dlopen (NULL, RTLD_LAZY);\n"
40595 "   if (!dl) {\n"
40596 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
40597 "     exit (EXIT_FAILURE);\n"
40598 "   }\n"
40599 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
40600 "   dlclose (dl);\n"
40601 " \n"
40602 msgstr ""
40603
40604 #. type: verbatim
40605 #: ../libguestfs-1.11.20/src/guestfs.pod:1552 ../src/guestfs.pod:1552
40606 #, no-wrap
40607 msgid ""
40608 "   if (!has_function)\n"
40609 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
40610 "   else {\n"
40611 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
40612 "     /* Now it's safe to call\n"
40613 "     guestfs_dd (g, \"foo\", \"bar\");\n"
40614 "     */\n"
40615 "   }\n"
40616 " #else\n"
40617 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
40618 " #endif\n"
40619 "  }\n"
40620 "\n"
40621 msgstr ""
40622
40623 #. type: textblock
40624 #: ../libguestfs-1.11.20/src/guestfs.pod:1565 ../src/guestfs.pod:1565
40625 msgid ""
40626 "You may think the above is an awful lot of hassle, and it is.  There are "
40627 "other ways outside of the C linking system to ensure that this kind of "
40628 "incompatibility never arises, such as using package versioning:"
40629 msgstr ""
40630
40631 #. type: verbatim
40632 #: ../libguestfs-1.11.20/src/guestfs.pod:1570 ../src/guestfs.pod:1570
40633 #, no-wrap
40634 msgid ""
40635 " Requires: libguestfs >= 1.0.80\n"
40636 "\n"
40637 msgstr ""
40638
40639 #. type: =head1
40640 #: ../libguestfs-1.11.20/src/guestfs.pod:1572 ../src/guestfs.pod:1572
40641 msgid "CALLS WITH OPTIONAL ARGUMENTS"
40642 msgstr ""
40643
40644 #. type: textblock
40645 #: ../libguestfs-1.11.20/src/guestfs.pod:1574 ../src/guestfs.pod:1574
40646 msgid ""
40647 "A recent feature of the API is the introduction of calls which take optional "
40648 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
40649 "takes variable arguments (ie. C<...>), as in this example:"
40650 msgstr ""
40651
40652 #. type: verbatim
40653 #: ../libguestfs-1.11.20/src/guestfs.pod:1579 ../src/guestfs.pod:1579
40654 #, no-wrap
40655 msgid ""
40656 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
40657 "\n"
40658 msgstr ""
40659
40660 #. type: textblock
40661 #: ../libguestfs-1.11.20/src/guestfs.pod:1581 ../src/guestfs.pod:1581
40662 msgid ""
40663 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
40664 "call with no optional arguments specified:"
40665 msgstr ""
40666
40667 #. type: verbatim
40668 #: ../libguestfs-1.11.20/src/guestfs.pod:1584 ../src/guestfs.pod:1584
40669 #, no-wrap
40670 msgid ""
40671 " guestfs_add_drive_opts (g, filename, -1);\n"
40672 "\n"
40673 msgstr ""
40674
40675 #. type: textblock
40676 #: ../libguestfs-1.11.20/src/guestfs.pod:1586 ../src/guestfs.pod:1586
40677 msgid "With a single optional argument:"
40678 msgstr ""
40679
40680 #. type: verbatim
40681 #: ../libguestfs-1.11.20/src/guestfs.pod:1588 ../src/guestfs.pod:1588
40682 #, no-wrap
40683 msgid ""
40684 " guestfs_add_drive_opts (g, filename,\n"
40685 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
40686 "                         -1);\n"
40687 "\n"
40688 msgstr ""
40689
40690 #. type: textblock
40691 #: ../libguestfs-1.11.20/src/guestfs.pod:1592 ../src/guestfs.pod:1592
40692 msgid "With two:"
40693 msgstr ""
40694
40695 #. type: verbatim
40696 #: ../libguestfs-1.11.20/src/guestfs.pod:1594 ../src/guestfs.pod:1594
40697 #, no-wrap
40698 msgid ""
40699 " guestfs_add_drive_opts (g, filename,\n"
40700 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
40701 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
40702 "                         -1);\n"
40703 "\n"
40704 msgstr ""
40705
40706 #. type: textblock
40707 #: ../libguestfs-1.11.20/src/guestfs.pod:1599 ../src/guestfs.pod:1599
40708 msgid ""
40709 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
40710 "happen!"
40711 msgstr ""
40712
40713 #. type: =head2
40714 #: ../libguestfs-1.11.20/src/guestfs.pod:1602 ../src/guestfs.pod:1602
40715 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
40716 msgstr ""
40717
40718 #. type: textblock
40719 #: ../libguestfs-1.11.20/src/guestfs.pod:1604 ../src/guestfs.pod:1604
40720 msgid ""
40721 "The second variant has the same name with the suffix C<_va>, which works the "
40722 "same way but takes a C<va_list>.  See the C manual for details.  For the "
40723 "example function, this is declared:"
40724 msgstr ""
40725
40726 #. type: verbatim
40727 #: ../libguestfs-1.11.20/src/guestfs.pod:1608 ../src/guestfs.pod:1608
40728 #, no-wrap
40729 msgid ""
40730 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
40731 "                                va_list args);\n"
40732 "\n"
40733 msgstr ""
40734
40735 #. type: =head2
40736 #: ../libguestfs-1.11.20/src/guestfs.pod:1611 ../src/guestfs.pod:1611
40737 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
40738 msgstr ""
40739
40740 #. type: textblock
40741 #: ../libguestfs-1.11.20/src/guestfs.pod:1613 ../src/guestfs.pod:1613
40742 msgid ""
40743 "The third variant is useful where you need to construct these calls.  You "
40744 "pass in a structure where you fill in the optional fields.  The structure "
40745 "has a bitmask as the first element which you must set to indicate which "
40746 "fields you have filled in.  For our example function the structure and call "
40747 "are declared:"
40748 msgstr ""
40749
40750 #. type: verbatim
40751 #: ../libguestfs-1.11.20/src/guestfs.pod:1619 ../src/guestfs.pod:1619
40752 #, no-wrap
40753 msgid ""
40754 " struct guestfs_add_drive_opts_argv {\n"
40755 "   uint64_t bitmask;\n"
40756 "   int readonly;\n"
40757 "   const char *format;\n"
40758 "   /* ... */\n"
40759 " };\n"
40760 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
40761 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
40762 "\n"
40763 msgstr ""
40764
40765 #. type: textblock
40766 #: ../libguestfs-1.11.20/src/guestfs.pod:1628 ../src/guestfs.pod:1628
40767 msgid "You could call it like this:"
40768 msgstr ""
40769
40770 #. type: verbatim
40771 #: ../libguestfs-1.11.20/src/guestfs.pod:1630 ../src/guestfs.pod:1630
40772 #, no-wrap
40773 msgid ""
40774 " struct guestfs_add_drive_opts_argv optargs = {\n"
40775 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
40776 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
40777 "   .readonly = 1,\n"
40778 "   .format = \"qcow2\"\n"
40779 " };\n"
40780 " \n"
40781 msgstr ""
40782
40783 #. type: verbatim
40784 #: ../libguestfs-1.11.20/src/guestfs.pod:1637 ../src/guestfs.pod:1637
40785 #, no-wrap
40786 msgid ""
40787 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
40788 "\n"
40789 msgstr ""
40790
40791 #. type: textblock
40792 #: ../libguestfs-1.11.20/src/guestfs.pod:1645 ../src/guestfs.pod:1645
40793 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
40794 msgstr ""
40795
40796 #. type: textblock
40797 #: ../libguestfs-1.11.20/src/guestfs.pod:1650 ../src/guestfs.pod:1650
40798 msgid "You do not need to fill in all fields of the structure."
40799 msgstr ""
40800
40801 #. type: textblock
40802 #: ../libguestfs-1.11.20/src/guestfs.pod:1654 ../src/guestfs.pod:1654
40803 msgid ""
40804 "There must be a one-to-one correspondence between fields of the structure "
40805 "that are filled in, and bits set in the bitmask."
40806 msgstr ""
40807
40808 #. type: =head2
40809 #: ../libguestfs-1.11.20/src/guestfs.pod:1659 ../src/guestfs.pod:1659
40810 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
40811 msgstr ""
40812
40813 #. type: textblock
40814 #: ../libguestfs-1.11.20/src/guestfs.pod:1661 ../src/guestfs.pod:1661
40815 msgid ""
40816 "In other languages, optional arguments are expressed in the way that is "
40817 "natural for that language.  We refer you to the language-specific "
40818 "documentation for more details on that."
40819 msgstr ""
40820
40821 #. type: textblock
40822 #: ../libguestfs-1.11.20/src/guestfs.pod:1665 ../src/guestfs.pod:1665
40823 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
40824 msgstr ""
40825
40826 #. type: =head2
40827 #: ../libguestfs-1.11.20/src/guestfs.pod:1667 ../src/guestfs.pod:1667
40828 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
40829 msgstr ""
40830
40831 #. type: textblock
40832 #: ../libguestfs-1.11.20/src/guestfs.pod:1669 ../src/guestfs.pod:1669
40833 msgid ""
40834 "B<Note:> This section documents the generic event mechanism introduced in "
40835 "libguestfs 1.10, which you should use in new code if possible.  The old "
40836 "functions C<guestfs_set_log_message_callback>, "
40837 "C<guestfs_set_subprocess_quit_callback>, "
40838 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
40839 "C<guestfs_set_progress_callback> are no longer documented in this manual "
40840 "page.  Because of the ABI guarantee, the old functions continue to work."
40841 msgstr ""
40842
40843 #. type: textblock
40844 #: ../libguestfs-1.11.20/src/guestfs.pod:1678 ../src/guestfs.pod:1678
40845 msgid ""
40846 "Handles generate events when certain things happen, such as log messages "
40847 "being generated, progress messages during long-running operations, or the "
40848 "handle being closed.  The API calls described below let you register a "
40849 "callback to be called when events happen.  You can register multiple "
40850 "callbacks (for the same, different or overlapping sets of events), and "
40851 "individually remove callbacks.  If callbacks are not removed, then they "
40852 "remain in force until the handle is closed."
40853 msgstr ""
40854
40855 #. type: textblock
40856 #: ../libguestfs-1.11.20/src/guestfs.pod:1686 ../src/guestfs.pod:1686
40857 msgid ""
40858 "In the current implementation, events are only generated synchronously: that "
40859 "means that events (and hence callbacks) can only happen while you are in the "
40860 "middle of making another libguestfs call.  The callback is called in the "
40861 "same thread."
40862 msgstr ""
40863
40864 #. type: textblock
40865 #: ../libguestfs-1.11.20/src/guestfs.pod:1691 ../src/guestfs.pod:1691
40866 msgid ""
40867 "Events may contain a payload, usually nothing (void), an array of 64 bit "
40868 "unsigned integers, or a message buffer.  Payloads are discussed later on."
40869 msgstr ""
40870
40871 #. type: =head3
40872 #: ../libguestfs-1.11.20/src/guestfs.pod:1695 ../src/guestfs.pod:1695
40873 msgid "CLASSES OF EVENTS"
40874 msgstr ""
40875
40876 #. type: =item
40877 #: ../libguestfs-1.11.20/src/guestfs.pod:1699 ../src/guestfs.pod:1699
40878 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
40879 msgstr ""
40880
40881 #. type: textblock
40882 #: ../libguestfs-1.11.20/src/guestfs.pod:1702 ../src/guestfs.pod:1702
40883 msgid ""
40884 "The callback function will be called while the handle is being closed "
40885 "(synchronously from L</guestfs_close>)."
40886 msgstr ""
40887
40888 #. type: textblock
40889 #: ../libguestfs-1.11.20/src/guestfs.pod:1705 ../src/guestfs.pod:1705
40890 msgid ""
40891 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
40892 "handles that are open when the program exits.  This means that this callback "
40893 "might be called indirectly from L<exit(3)>, which can cause unexpected "
40894 "problems in higher-level languages (eg. if your HLL interpreter has already "
40895 "been cleaned up by the time this is called, and if your callback then jumps "
40896 "into some HLL function)."
40897 msgstr ""
40898
40899 #. type: textblock
40900 #: ../libguestfs-1.11.20/src/guestfs.pod:1712 ../src/guestfs.pod:1712
40901 msgid ""
40902 "If no callback is registered: the handle is closed without any callback "
40903 "being invoked."
40904 msgstr ""
40905
40906 #. type: =item
40907 #: ../libguestfs-1.11.20/src/guestfs.pod:1715 ../src/guestfs.pod:1715
40908 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
40909 msgstr ""
40910
40911 #. type: textblock
40912 #: ../libguestfs-1.11.20/src/guestfs.pod:1718 ../src/guestfs.pod:1718
40913 msgid ""
40914 "The callback function will be called when the child process quits, either "
40915 "asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
40916 "corresponds to a transition from any state to the CONFIG state)."
40917 msgstr ""
40918
40919 #. type: textblock
40920 #: ../libguestfs-1.11.20/src/guestfs.pod:1722
40921 #: ../libguestfs-1.11.20/src/guestfs.pod:1731 ../src/guestfs.pod:1722
40922 #: ../src/guestfs.pod:1731
40923 msgid "If no callback is registered: the event is ignored."
40924 msgstr ""
40925
40926 #. type: =item
40927 #: ../libguestfs-1.11.20/src/guestfs.pod:1724 ../src/guestfs.pod:1724
40928 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
40929 msgstr ""
40930
40931 #. type: textblock
40932 #: ../libguestfs-1.11.20/src/guestfs.pod:1727 ../src/guestfs.pod:1727
40933 msgid ""
40934 "The callback function will be called when the child process becomes ready "
40935 "first time after it has been launched.  (This corresponds to a transition "
40936 "from LAUNCHING to the READY state)."
40937 msgstr ""
40938
40939 #. type: =item
40940 #: ../libguestfs-1.11.20/src/guestfs.pod:1733 ../src/guestfs.pod:1733
40941 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
40942 msgstr ""
40943
40944 #. type: textblock
40945 #: ../libguestfs-1.11.20/src/guestfs.pod:1736 ../src/guestfs.pod:1736
40946 msgid ""
40947 "Some long-running operations can generate progress messages.  If this "
40948 "callback is registered, then it will be called each time a progress message "
40949 "is generated (usually two seconds after the operation started, and three "
40950 "times per second thereafter until it completes, although the frequency may "
40951 "change in future versions)."
40952 msgstr ""
40953
40954 #. type: textblock
40955 #: ../libguestfs-1.11.20/src/guestfs.pod:1742 ../src/guestfs.pod:1742
40956 msgid ""
40957 "The callback receives in the payload four unsigned 64 bit numbers which are "
40958 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
40959 msgstr ""
40960
40961 #. type: textblock
40962 #: ../libguestfs-1.11.20/src/guestfs.pod:1745 ../src/guestfs.pod:1745
40963 msgid ""
40964 "The units of C<total> are not defined, although for some operations C<total> "
40965 "may relate in some way to the amount of data to be transferred (eg. in bytes "
40966 "or megabytes), and C<position> may be the portion which has been transferred."
40967 msgstr ""
40968
40969 #. type: textblock
40970 #: ../libguestfs-1.11.20/src/guestfs.pod:1750 ../src/guestfs.pod:1750
40971 msgid "The only defined and stable parts of the API are:"
40972 msgstr ""
40973
40974 #. type: textblock
40975 #: ../libguestfs-1.11.20/src/guestfs.pod:1756 ../src/guestfs.pod:1756
40976 msgid ""
40977 "The callback can display to the user some type of progress bar or indicator "
40978 "which shows the ratio of C<position>:C<total>."
40979 msgstr ""
40980
40981 #. type: textblock
40982 #: ../libguestfs-1.11.20/src/guestfs.pod:1761 ../src/guestfs.pod:1761
40983 msgid "0 E<lt>= C<position> E<lt>= C<total>"
40984 msgstr ""
40985
40986 #. type: textblock
40987 #: ../libguestfs-1.11.20/src/guestfs.pod:1765 ../src/guestfs.pod:1765
40988 msgid ""
40989 "If any progress notification is sent during a call, then a final progress "
40990 "notification is always sent when C<position> = C<total> (I<unless> the call "
40991 "fails with an error)."
40992 msgstr ""
40993
40994 #. type: textblock
40995 #: ../libguestfs-1.11.20/src/guestfs.pod:1769 ../src/guestfs.pod:1769
40996 msgid ""
40997 "This is to simplify caller code, so callers can easily set the progress "
40998 "indicator to \"100%\" at the end of the operation, without requiring special "
40999 "code to detect this case."
41000 msgstr ""
41001
41002 #. type: textblock
41003 #: ../libguestfs-1.11.20/src/guestfs.pod:1775 ../src/guestfs.pod:1775
41004 msgid ""
41005 "For some calls we are unable to estimate the progress of the call, but we "
41006 "can still generate progress messages to indicate activity.  This is known as "
41007 "\"pulse mode\", and is directly supported by certain progress bar "
41008 "implementations (eg. GtkProgressBar)."
41009 msgstr ""
41010
41011 #. type: textblock
41012 #: ../libguestfs-1.11.20/src/guestfs.pod:1780 ../src/guestfs.pod:1780
41013 msgid ""
41014 "For these calls, zero or more progress messages are generated with "
41015 "C<position = 0> and C<total = 1>, followed by a final message with "
41016 "C<position = total = 1>."
41017 msgstr ""
41018
41019 #. type: textblock
41020 #: ../libguestfs-1.11.20/src/guestfs.pod:1784 ../src/guestfs.pod:1784
41021 msgid ""
41022 "As noted above, if the call fails with an error then the final message may "
41023 "not be generated."
41024 msgstr ""
41025
41026 #. type: textblock
41027 #: ../libguestfs-1.11.20/src/guestfs.pod:1789 ../src/guestfs.pod:1789
41028 msgid ""
41029 "The callback also receives the procedure number (C<proc_nr>) and serial "
41030 "number (C<serial>) of the call.  These are only useful for debugging "
41031 "protocol issues, and the callback can normally ignore them.  The callback "
41032 "may want to print these numbers in error messages or debugging messages."
41033 msgstr ""
41034
41035 #. type: textblock
41036 #: ../libguestfs-1.11.20/src/guestfs.pod:1795 ../src/guestfs.pod:1795
41037 msgid "If no callback is registered: progress messages are discarded."
41038 msgstr ""
41039
41040 #. type: =item
41041 #: ../libguestfs-1.11.20/src/guestfs.pod:1797 ../src/guestfs.pod:1797
41042 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
41043 msgstr ""
41044
41045 #. type: textblock
41046 #: ../libguestfs-1.11.20/src/guestfs.pod:1800 ../src/guestfs.pod:1800
41047 msgid ""
41048 "The callback function is called whenever a log message is generated by qemu, "
41049 "the appliance kernel, guestfsd (daemon), or utility programs."
41050 msgstr ""
41051
41052 #. type: textblock
41053 #: ../libguestfs-1.11.20/src/guestfs.pod:1803 ../src/guestfs.pod:1803
41054 msgid ""
41055 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
41056 "guestfs_launch>) then additional debug messages are generated."
41057 msgstr ""
41058
41059 #. type: textblock
41060 #: ../libguestfs-1.11.20/src/guestfs.pod:1806
41061 #: ../libguestfs-1.11.20/src/guestfs.pod:1820 ../src/guestfs.pod:1806
41062 #: ../src/guestfs.pod:1820
41063 msgid ""
41064 "If no callback is registered: the messages are discarded unless the verbose "
41065 "flag is set in which case they are sent to stderr.  You can override the "
41066 "printing of verbose messages to stderr by setting up a callback."
41067 msgstr ""
41068
41069 #. type: =item
41070 #: ../libguestfs-1.11.20/src/guestfs.pod:1811 ../src/guestfs.pod:1811
41071 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
41072 msgstr ""
41073
41074 #. type: textblock
41075 #: ../libguestfs-1.11.20/src/guestfs.pod:1814 ../src/guestfs.pod:1814
41076 msgid ""
41077 "The callback function is called whenever a log message is generated by the "
41078 "library part of libguestfs."
41079 msgstr ""
41080
41081 #. type: textblock
41082 #: ../libguestfs-1.11.20/src/guestfs.pod:1817 ../src/guestfs.pod:1817
41083 msgid ""
41084 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
41085 "messages are generated."
41086 msgstr ""
41087
41088 #. type: =item
41089 #: ../libguestfs-1.11.20/src/guestfs.pod:1825 ../src/guestfs.pod:1825
41090 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
41091 msgstr ""
41092
41093 #. type: textblock
41094 #: ../libguestfs-1.11.20/src/guestfs.pod:1828 ../src/guestfs.pod:1828
41095 msgid ""
41096 "The callback function is called whenever a trace message is generated.  This "
41097 "only applies if the trace flag (L</guestfs_set_trace>) is set."
41098 msgstr ""
41099
41100 #. type: textblock
41101 #: ../libguestfs-1.11.20/src/guestfs.pod:1831 ../src/guestfs.pod:1831
41102 msgid ""
41103 "If no callback is registered: the messages are sent to stderr.  You can "
41104 "override the printing of trace messages to stderr by setting up a callback."
41105 msgstr ""
41106
41107 #. type: =head3
41108 #: ../libguestfs-1.11.20/src/guestfs.pod:1837 ../src/guestfs.pod:1837
41109 msgid "guestfs_set_event_callback"
41110 msgstr ""
41111
41112 #. type: verbatim
41113 #: ../libguestfs-1.11.20/src/guestfs.pod:1839 ../src/guestfs.pod:1839
41114 #, no-wrap
41115 msgid ""
41116 " int guestfs_set_event_callback (guestfs_h *g,\n"
41117 "                                 guestfs_event_callback cb,\n"
41118 "                                 uint64_t event_bitmask,\n"
41119 "                                 int flags,\n"
41120 "                                 void *opaque);\n"
41121 "\n"
41122 msgstr ""
41123
41124 #. type: textblock
41125 #: ../libguestfs-1.11.20/src/guestfs.pod:1845 ../src/guestfs.pod:1845
41126 msgid ""
41127 "This function registers a callback (C<cb>) for all event classes in the "
41128 "C<event_bitmask>."
41129 msgstr ""
41130
41131 #. type: textblock
41132 #: ../libguestfs-1.11.20/src/guestfs.pod:1848 ../src/guestfs.pod:1848
41133 msgid ""
41134 "For example, to register for all log message events, you could call this "
41135 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>.  "
41136 "To register a single callback for all possible classes of events, use "
41137 "C<GUESTFS_EVENT_ALL>."
41138 msgstr ""
41139
41140 #. type: textblock
41141 #: ../libguestfs-1.11.20/src/guestfs.pod:1854 ../src/guestfs.pod:1854
41142 msgid "C<flags> should always be passed as 0."
41143 msgstr ""
41144
41145 #. type: textblock
41146 #: ../libguestfs-1.11.20/src/guestfs.pod:1856 ../src/guestfs.pod:1856
41147 msgid ""
41148 "C<opaque> is an opaque pointer which is passed to the callback.  You can use "
41149 "it for any purpose."
41150 msgstr ""
41151
41152 #. type: textblock
41153 #: ../libguestfs-1.11.20/src/guestfs.pod:1859 ../src/guestfs.pod:1859
41154 msgid ""
41155 "The return value is the event handle (an integer) which you can use to "
41156 "delete the callback (see below)."
41157 msgstr ""
41158
41159 #. type: textblock
41160 #: ../libguestfs-1.11.20/src/guestfs.pod:1862 ../src/guestfs.pod:1862
41161 msgid ""
41162 "If there is an error, this function returns C<-1>, and sets the error in the "
41163 "handle in the usual way (see L</guestfs_last_error> etc.)"
41164 msgstr ""
41165
41166 #. type: textblock
41167 #: ../libguestfs-1.11.20/src/guestfs.pod:1865 ../src/guestfs.pod:1865
41168 msgid ""
41169 "Callbacks remain in effect until they are deleted, or until the handle is "
41170 "closed."
41171 msgstr ""
41172
41173 #. type: textblock
41174 #: ../libguestfs-1.11.20/src/guestfs.pod:1868 ../src/guestfs.pod:1868
41175 msgid ""
41176 "In the case where multiple callbacks are registered for a particular event "
41177 "class, all of the callbacks are called.  The order in which multiple "
41178 "callbacks are called is not defined."
41179 msgstr ""
41180
41181 #. type: =head3
41182 #: ../libguestfs-1.11.20/src/guestfs.pod:1872 ../src/guestfs.pod:1872
41183 msgid "guestfs_delete_event_callback"
41184 msgstr ""
41185
41186 #. type: verbatim
41187 #: ../libguestfs-1.11.20/src/guestfs.pod:1874 ../src/guestfs.pod:1874
41188 #, no-wrap
41189 msgid ""
41190 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
41191 "\n"
41192 msgstr ""
41193
41194 #. type: textblock
41195 #: ../libguestfs-1.11.20/src/guestfs.pod:1876 ../src/guestfs.pod:1876
41196 msgid ""
41197 "Delete a callback that was previously registered.  C<event_handle> should be "
41198 "the integer that was returned by a previous call to "
41199 "C<guestfs_set_event_callback> on the same handle."
41200 msgstr ""
41201
41202 #. type: =head3
41203 #: ../libguestfs-1.11.20/src/guestfs.pod:1880 ../src/guestfs.pod:1880
41204 msgid "guestfs_event_callback"
41205 msgstr ""
41206
41207 #. type: verbatim
41208 #: ../libguestfs-1.11.20/src/guestfs.pod:1882 ../src/guestfs.pod:1882
41209 #, no-wrap
41210 msgid ""
41211 " typedef void (*guestfs_event_callback) (\n"
41212 "                  guestfs_h *g,\n"
41213 "                  void *opaque,\n"
41214 "                  uint64_t event,\n"
41215 "                  int event_handle,\n"
41216 "                  int flags,\n"
41217 "                  const char *buf, size_t buf_len,\n"
41218 "                  const uint64_t *array, size_t array_len);\n"
41219 "\n"
41220 msgstr ""
41221
41222 #. type: textblock
41223 #: ../libguestfs-1.11.20/src/guestfs.pod:1891 ../src/guestfs.pod:1891
41224 msgid ""
41225 "This is the type of the event callback function that you have to provide."
41226 msgstr ""
41227
41228 #. type: textblock
41229 #: ../libguestfs-1.11.20/src/guestfs.pod:1894 ../src/guestfs.pod:1894
41230 msgid ""
41231 "The basic parameters are: the handle (C<g>), the opaque user pointer "
41232 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
41233 "handle, and C<flags> which in the current API you should ignore."
41234 msgstr ""
41235
41236 #. type: textblock
41237 #: ../libguestfs-1.11.20/src/guestfs.pod:1898 ../src/guestfs.pod:1898
41238 msgid ""
41239 "The remaining parameters contain the event payload (if any).  Each event may "
41240 "contain a payload, which usually relates to the event class, but for future "
41241 "proofing your code should be written to handle any payload for any event "
41242 "class."
41243 msgstr ""
41244
41245 #. type: textblock
41246 #: ../libguestfs-1.11.20/src/guestfs.pod:1903 ../src/guestfs.pod:1903
41247 msgid ""
41248 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
41249 "there is no message buffer).  Note that this message buffer can contain "
41250 "arbitrary 8 bit data, including NUL bytes."
41251 msgstr ""
41252
41253 #. type: textblock
41254 #: ../libguestfs-1.11.20/src/guestfs.pod:1907 ../src/guestfs.pod:1907
41255 msgid ""
41256 "C<array> and C<array_len> is an array of 64 bit unsigned integers.  At the "
41257 "moment this is only used for progress messages."
41258 msgstr ""
41259
41260 #. type: =head3
41261 #: ../libguestfs-1.11.20/src/guestfs.pod:1910 ../src/guestfs.pod:1910
41262 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
41263 msgstr ""
41264
41265 #. type: textblock
41266 #: ../libguestfs-1.11.20/src/guestfs.pod:1912 ../src/guestfs.pod:1912
41267 msgid ""
41268 "One motivation for the generic event API was to allow GUI programs to "
41269 "capture debug and other messages.  In libguestfs E<le> 1.8 these were sent "
41270 "unconditionally to C<stderr>."
41271 msgstr ""
41272
41273 #. type: textblock
41274 #: ../libguestfs-1.11.20/src/guestfs.pod:1916 ../src/guestfs.pod:1916
41275 msgid ""
41276 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
41277 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>.  (Note that error "
41278 "messages are not events; you must capture error messages separately)."
41279 msgstr ""
41280
41281 #. type: textblock
41282 #: ../libguestfs-1.11.20/src/guestfs.pod:1921 ../src/guestfs.pod:1921
41283 msgid ""
41284 "Programs have to set up a callback to capture the classes of events of "
41285 "interest:"
41286 msgstr ""
41287
41288 #. type: verbatim
41289 #: ../libguestfs-1.11.20/src/guestfs.pod:1924 ../src/guestfs.pod:1924
41290 #, no-wrap
41291 msgid ""
41292 " int eh =\n"
41293 "   guestfs_set_event_callback\n"
41294 "     (g, message_callback,\n"
41295 "      GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
41296 "      GUESTFS_EVENT_TRACE,\n"
41297 "      0, NULL) == -1)\n"
41298 " if (eh == -1) {\n"
41299 "   // handle error in the usual way\n"
41300 " }\n"
41301 "\n"
41302 msgstr ""
41303
41304 #. type: textblock
41305 #: ../libguestfs-1.11.20/src/guestfs.pod:1934 ../src/guestfs.pod:1934
41306 msgid ""
41307 "The callback can then direct messages to the appropriate place.  In this "
41308 "example, messages are directed to syslog:"
41309 msgstr ""
41310
41311 #. type: verbatim
41312 #: ../libguestfs-1.11.20/src/guestfs.pod:1937 ../src/guestfs.pod:1937
41313 #, no-wrap
41314 msgid ""
41315 " static void\n"
41316 " message_callback (\n"
41317 "         guestfs_h *g,\n"
41318 "         void *opaque,\n"
41319 "         uint64_t event,\n"
41320 "         int event_handle,\n"
41321 "         int flags,\n"
41322 "         const char *buf, size_t buf_len,\n"
41323 "         const uint64_t *array, size_t array_len)\n"
41324 " {\n"
41325 "   const int priority = LOG_USER|LOG_INFO;\n"
41326 "   if (buf_len > 0)\n"
41327 "     syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
41328 " }\n"
41329 "\n"
41330 msgstr ""
41331
41332 #. type: =head1
41333 #: ../libguestfs-1.11.20/src/guestfs.pod:1952 ../src/guestfs.pod:1952
41334 msgid "CANCELLING LONG TRANSFERS"
41335 msgstr ""
41336
41337 #. type: textblock
41338 #: ../libguestfs-1.11.20/src/guestfs.pod:1954 ../src/guestfs.pod:1954
41339 msgid ""
41340 "Some operations can be cancelled by the caller while they are in progress.  "
41341 "Currently only operations that involve uploading or downloading data can be "
41342 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
41343 "parameters in the generator)."
41344 msgstr ""
41345
41346 #. type: =head2
41347 #: ../libguestfs-1.11.20/src/guestfs.pod:1959 ../src/guestfs.pod:1959
41348 msgid "guestfs_user_cancel"
41349 msgstr ""
41350
41351 #. type: verbatim
41352 #: ../libguestfs-1.11.20/src/guestfs.pod:1961 ../src/guestfs.pod:1961
41353 #, no-wrap
41354 msgid ""
41355 " void guestfs_user_cancel (guestfs_h *g);\n"
41356 "\n"
41357 msgstr ""
41358
41359 #. type: textblock
41360 #: ../libguestfs-1.11.20/src/guestfs.pod:1963 ../src/guestfs.pod:1963
41361 msgid ""
41362 "C<guestfs_user_cancel> cancels the current upload or download operation."
41363 msgstr ""
41364
41365 #. type: textblock
41366 #: ../libguestfs-1.11.20/src/guestfs.pod:1966 ../src/guestfs.pod:1966
41367 msgid ""
41368 "Unlike most other libguestfs calls, this function is signal safe and thread "
41369 "safe.  You can call it from a signal handler or from another thread, without "
41370 "needing to do any locking."
41371 msgstr ""
41372
41373 #. type: textblock
41374 #: ../libguestfs-1.11.20/src/guestfs.pod:1970 ../src/guestfs.pod:1970
41375 msgid ""
41376 "The transfer that was in progress (if there is one) will stop shortly "
41377 "afterwards, and will return an error.  The errno (see L</"
41378 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
41379 "out if the operation was cancelled or failed because of another error."
41380 msgstr ""
41381
41382 #. type: textblock
41383 #: ../libguestfs-1.11.20/src/guestfs.pod:1976 ../src/guestfs.pod:1976
41384 msgid ""
41385 "No cleanup is performed: for example, if a file was being uploaded then "
41386 "after cancellation there may be a partially uploaded file.  It is the "
41387 "caller's responsibility to clean up if necessary."
41388 msgstr ""
41389
41390 #. type: textblock
41391 #: ../libguestfs-1.11.20/src/guestfs.pod:1980 ../src/guestfs.pod:1980
41392 msgid "There are two common places that you might call C<guestfs_user_cancel>."
41393 msgstr ""
41394
41395 #. type: textblock
41396 #: ../libguestfs-1.11.20/src/guestfs.pod:1982 ../src/guestfs.pod:1982
41397 msgid ""
41398 "In an interactive text-based program, you might call it from a C<SIGINT> "
41399 "signal handler so that pressing C<^C> cancels the current operation.  (You "
41400 "also need to call L</guestfs_set_pgroup> so that child processes don't "
41401 "receive the C<^C> signal)."
41402 msgstr ""
41403
41404 #. type: textblock
41405 #: ../libguestfs-1.11.20/src/guestfs.pod:1987 ../src/guestfs.pod:1987
41406 msgid ""
41407 "In a graphical program, when the main thread is displaying a progress bar "
41408 "with a cancel button, wire up the cancel button to call this function."
41409 msgstr ""
41410
41411 #. type: =head1
41412 #: ../libguestfs-1.11.20/src/guestfs.pod:1991 ../src/guestfs.pod:1991
41413 msgid "PRIVATE DATA AREA"
41414 msgstr ""
41415
41416 #. type: textblock
41417 #: ../libguestfs-1.11.20/src/guestfs.pod:1993 ../src/guestfs.pod:1993
41418 msgid ""
41419 "You can attach named pieces of private data to the libguestfs handle, fetch "
41420 "them by name, and walk over them, for the lifetime of the handle.  This is "
41421 "called the private data area and is only available from the C API."
41422 msgstr ""
41423
41424 #. type: textblock
41425 #: ../libguestfs-1.11.20/src/guestfs.pod:1998 ../src/guestfs.pod:1998
41426 msgid "To attach a named piece of data, use the following call:"
41427 msgstr ""
41428
41429 #. type: verbatim
41430 #: ../libguestfs-1.11.20/src/guestfs.pod:2000 ../src/guestfs.pod:2000
41431 #, no-wrap
41432 msgid ""
41433 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
41434 "\n"
41435 msgstr ""
41436
41437 #. type: textblock
41438 #: ../libguestfs-1.11.20/src/guestfs.pod:2002 ../src/guestfs.pod:2002
41439 msgid ""
41440 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
41441 "pointer (which can be C<NULL>).  Any previous item with the same key is "
41442 "overwritten."
41443 msgstr ""
41444
41445 #. type: textblock
41446 #: ../libguestfs-1.11.20/src/guestfs.pod:2006 ../src/guestfs.pod:2006
41447 msgid ""
41448 "You can use any C<key> you want, but your key should I<not> start with an "
41449 "underscore character.  Keys beginning with an underscore character are "
41450 "reserved for internal libguestfs purposes (eg. for implementing language "
41451 "bindings).  It is recommended that you prefix the key with some unique "
41452 "string to avoid collisions with other users."
41453 msgstr ""
41454
41455 #. type: textblock
41456 #: ../libguestfs-1.11.20/src/guestfs.pod:2012 ../src/guestfs.pod:2012
41457 msgid "To retrieve the pointer, use:"
41458 msgstr ""
41459
41460 #. type: verbatim
41461 #: ../libguestfs-1.11.20/src/guestfs.pod:2014 ../src/guestfs.pod:2014
41462 #, no-wrap
41463 msgid ""
41464 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
41465 "\n"
41466 msgstr ""
41467
41468 #. type: textblock
41469 #: ../libguestfs-1.11.20/src/guestfs.pod:2016 ../src/guestfs.pod:2016
41470 msgid ""
41471 "This function returns C<NULL> if either no data is found associated with "
41472 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
41473 "C<NULL>."
41474 msgstr ""
41475
41476 #. type: textblock
41477 #: ../libguestfs-1.11.20/src/guestfs.pod:2020 ../src/guestfs.pod:2020
41478 msgid ""
41479 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
41480 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
41481 "all.  In particular, libguestfs does I<not> try to free the data when the "
41482 "handle is closed.  If the data must be freed, then the caller must either "
41483 "free it before calling L</guestfs_close> or must set up a close callback to "
41484 "do it (see L</GUESTFS_EVENT_CLOSE>)."
41485 msgstr ""
41486
41487 #. type: textblock
41488 #: ../libguestfs-1.11.20/src/guestfs.pod:2027 ../src/guestfs.pod:2027
41489 msgid "To walk over all entries, use these two functions:"
41490 msgstr ""
41491
41492 #. type: verbatim
41493 #: ../libguestfs-1.11.20/src/guestfs.pod:2029 ../src/guestfs.pod:2029
41494 #, no-wrap
41495 msgid ""
41496 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
41497 "\n"
41498 msgstr ""
41499
41500 #. type: verbatim
41501 #: ../libguestfs-1.11.20/src/guestfs.pod:2031 ../src/guestfs.pod:2031
41502 #, no-wrap
41503 msgid ""
41504 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
41505 "\n"
41506 msgstr ""
41507
41508 #. type: textblock
41509 #: ../libguestfs-1.11.20/src/guestfs.pod:2033 ../src/guestfs.pod:2033
41510 msgid ""
41511 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
41512 "not have any particular meaning -- keys are not returned in any defined "
41513 "order).  A pointer to the key is returned in C<*key_rtn> and the "
41514 "corresponding data pointer is returned from the function.  C<NULL> is "
41515 "returned if there are no keys stored in the handle."
41516 msgstr ""
41517
41518 #. type: textblock
41519 #: ../libguestfs-1.11.20/src/guestfs.pod:2039 ../src/guestfs.pod:2039
41520 msgid ""
41521 "C<guestfs_next_private> returns the next key, pointer pair.  The return "
41522 "value of this function is also C<NULL> is there are no further entries to "
41523 "return."
41524 msgstr ""
41525
41526 #. type: textblock
41527 #: ../libguestfs-1.11.20/src/guestfs.pod:2043 ../src/guestfs.pod:2043
41528 msgid "Notes about walking over entries:"
41529 msgstr ""
41530
41531 #. type: textblock
41532 #: ../libguestfs-1.11.20/src/guestfs.pod:2049 ../src/guestfs.pod:2049
41533 msgid ""
41534 "You must not call C<guestfs_set_private> while walking over the entries."
41535 msgstr ""
41536
41537 #. type: textblock
41538 #: ../libguestfs-1.11.20/src/guestfs.pod:2054 ../src/guestfs.pod:2054
41539 msgid ""
41540 "The handle maintains an internal iterator which is reset when you call "
41541 "C<guestfs_first_private>.  This internal iterator is invalidated when you "
41542 "call C<guestfs_set_private>."
41543 msgstr ""
41544
41545 #. type: textblock
41546 #: ../libguestfs-1.11.20/src/guestfs.pod:2060 ../src/guestfs.pod:2060
41547 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
41548 msgstr ""
41549
41550 #. type: verbatim
41551 #: ../libguestfs-1.11.20/src/guestfs.pod:2062 ../src/guestfs.pod:2062
41552 #, no-wrap
41553 msgid ""
41554 " guestfs_set_private (g, key, NULL);\n"
41555 "\n"
41556 msgstr ""
41557
41558 #. type: textblock
41559 #: ../libguestfs-1.11.20/src/guestfs.pod:2064 ../src/guestfs.pod:2064
41560 msgid "then that C<key> is not returned when walking."
41561 msgstr ""
41562
41563 #. type: textblock
41564 #: ../libguestfs-1.11.20/src/guestfs.pod:2068 ../src/guestfs.pod:2068
41565 msgid ""
41566 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
41567 "C<guestfs_next_private> or C<guestfs_set_private>."
41568 msgstr ""
41569
41570 #. type: textblock
41571 #: ../libguestfs-1.11.20/src/guestfs.pod:2074 ../src/guestfs.pod:2074
41572 msgid ""
41573 "The following example code shows how to print all keys and data pointers "
41574 "that are associated with the handle C<g>:"
41575 msgstr ""
41576
41577 #. type: verbatim
41578 #: ../libguestfs-1.11.20/src/guestfs.pod:2077 ../src/guestfs.pod:2077
41579 #, no-wrap
41580 msgid ""
41581 " const char *key;\n"
41582 " void *data = guestfs_first_private (g, &key);\n"
41583 " while (data != NULL)\n"
41584 "   {\n"
41585 "     printf (\"key = %s, data = %p\\n\", key, data);\n"
41586 "     data = guestfs_next_private (g, &key);\n"
41587 "   }\n"
41588 "\n"
41589 msgstr ""
41590
41591 #. type: textblock
41592 #: ../libguestfs-1.11.20/src/guestfs.pod:2085 ../src/guestfs.pod:2085
41593 msgid ""
41594 "More commonly you are only interested in keys that begin with an application-"
41595 "specific prefix C<foo_>.  Modify the loop like so:"
41596 msgstr ""
41597
41598 #. type: verbatim
41599 #: ../libguestfs-1.11.20/src/guestfs.pod:2088 ../src/guestfs.pod:2088
41600 #, no-wrap
41601 msgid ""
41602 " const char *key;\n"
41603 " void *data = guestfs_first_private (g, &key);\n"
41604 " while (data != NULL)\n"
41605 "   {\n"
41606 "     if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
41607 "       printf (\"key = %s, data = %p\\n\", key, data);\n"
41608 "     data = guestfs_next_private (g, &key);\n"
41609 "   }\n"
41610 "\n"
41611 msgstr ""
41612
41613 #. type: textblock
41614 #: ../libguestfs-1.11.20/src/guestfs.pod:2097 ../src/guestfs.pod:2097
41615 msgid ""
41616 "If you need to modify keys while walking, then you have to jump back to the "
41617 "beginning of the loop.  For example, to delete all keys prefixed with "
41618 "C<foo_>:"
41619 msgstr ""
41620
41621 #. type: verbatim
41622 #: ../libguestfs-1.11.20/src/guestfs.pod:2101 ../src/guestfs.pod:2101
41623 #, no-wrap
41624 msgid ""
41625 "  const char *key;\n"
41626 "  void *data;\n"
41627 " again:\n"
41628 "  data = guestfs_first_private (g, &key);\n"
41629 "  while (data != NULL)\n"
41630 "    {\n"
41631 "      if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
41632 "        {\n"
41633 "          guestfs_set_private (g, key, NULL);\n"
41634 "          /* note that 'key' pointer is now invalid, and so is\n"
41635 "             the internal iterator */\n"
41636 "          goto again;\n"
41637 "        }\n"
41638 "      data = guestfs_next_private (g, &key);\n"
41639 "    }\n"
41640 "\n"
41641 msgstr ""
41642
41643 #. type: textblock
41644 #: ../libguestfs-1.11.20/src/guestfs.pod:2117 ../src/guestfs.pod:2117
41645 msgid ""
41646 "Note that the above loop is guaranteed to terminate because the keys are "
41647 "being deleted, but other manipulations of keys within the loop might not "
41648 "terminate unless you also maintain an indication of which keys have been "
41649 "visited."
41650 msgstr ""
41651
41652 #. type: =end
41653 #: ../libguestfs-1.11.20/src/guestfs.pod:2122
41654 #: ../libguestfs-1.11.20/src/guestfs.pod:2127 ../src/guestfs.pod:2122
41655 #: ../src/guestfs.pod:2127
41656 msgid "html"
41657 msgstr ""
41658
41659 #. type: textblock
41660 #: ../libguestfs-1.11.20/src/guestfs.pod:2124 ../src/guestfs.pod:2124
41661 msgid ""
41662 "<!-- old anchor for the next section --> <a name="
41663 "\"state_machine_and_low_level_event_api\"/>"
41664 msgstr ""
41665
41666 #. type: =head1
41667 #: ../libguestfs-1.11.20/src/guestfs.pod:2129 ../src/guestfs.pod:2129
41668 msgid "ARCHITECTURE"
41669 msgstr ""
41670
41671 #. type: textblock
41672 #: ../libguestfs-1.11.20/src/guestfs.pod:2131 ../src/guestfs.pod:2131
41673 msgid ""
41674 "Internally, libguestfs is implemented by running an appliance (a special "
41675 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
41676 "process of the main program."
41677 msgstr ""
41678
41679 #. type: verbatim
41680 #: ../libguestfs-1.11.20/src/guestfs.pod:2135 ../src/guestfs.pod:2135
41681 #, no-wrap
41682 msgid ""
41683 "  ___________________\n"
41684 " /                   \\\n"
41685 " | main program      |\n"
41686 " |                   |\n"
41687 " |                   |           child process / appliance\n"
41688 " |                   |           __________________________\n"
41689 " |                   |          / qemu                     \\\n"
41690 " +-------------------+   RPC    |      +-----------------+ |\n"
41691 " | libguestfs     <--------------------> guestfsd        | |\n"
41692 " |                   |          |      +-----------------+ |\n"
41693 " \\___________________/          |      | Linux kernel    | |\n"
41694 "                                |      +--^--------------+ |\n"
41695 "                                \\_________|________________/\n"
41696 "                                          |\n"
41697 "                                   _______v______\n"
41698 "                                  /              \\\n"
41699 "                                  | Device or    |\n"
41700 "                                  | disk image   |\n"
41701 "                                  \\______________/\n"
41702 "\n"
41703 msgstr ""
41704
41705 #. type: textblock
41706 #: ../libguestfs-1.11.20/src/guestfs.pod:2155 ../src/guestfs.pod:2155
41707 msgid ""
41708 "The library, linked to the main program, creates the child process and hence "
41709 "the appliance in the L</guestfs_launch> function."
41710 msgstr ""
41711
41712 #. type: textblock
41713 #: ../libguestfs-1.11.20/src/guestfs.pod:2158 ../src/guestfs.pod:2158
41714 msgid ""
41715 "Inside the appliance is a Linux kernel and a complete stack of userspace "
41716 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
41717 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
41718 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
41719 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
41720 "attached to the qemu process which translates device access by the "
41721 "appliance's Linux kernel into accesses to the image."
41722 msgstr ""
41723
41724 #. type: textblock
41725 #: ../libguestfs-1.11.20/src/guestfs.pod:2167 ../src/guestfs.pod:2167
41726 msgid ""
41727 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
41728 "Although the disk image you are attached to might also be used by some "
41729 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
41730 "care if both libguestfs's qemu process and your virtual machine are trying "
41731 "to update the disk image at the same time, since these usually results in "
41732 "massive disk corruption)."
41733 msgstr ""
41734
41735 #. type: =head1
41736 #: ../libguestfs-1.11.20/src/guestfs.pod:2174 ../src/guestfs.pod:2174
41737 msgid "STATE MACHINE"
41738 msgstr ""
41739
41740 #. type: textblock
41741 #: ../libguestfs-1.11.20/src/guestfs.pod:2176 ../src/guestfs.pod:2176
41742 msgid "libguestfs uses a state machine to model the child process:"
41743 msgstr ""
41744
41745 #. type: verbatim
41746 #: ../libguestfs-1.11.20/src/guestfs.pod:2178 ../src/guestfs.pod:2178
41747 #, no-wrap
41748 msgid ""
41749 "                         |\n"
41750 "                    guestfs_create\n"
41751 "                         |\n"
41752 "                         |\n"
41753 "                     ____V_____\n"
41754 "                    /          \\\n"
41755 "                    |  CONFIG  |\n"
41756 "                    \\__________/\n"
41757 "                     ^ ^   ^  \\\n"
41758 "                    /  |    \\  \\ guestfs_launch\n"
41759 "                   /   |    _\\__V______\n"
41760 "                  /    |   /           \\\n"
41761 "                 /     |   | LAUNCHING |\n"
41762 "                /      |   \\___________/\n"
41763 "               /       |       /\n"
41764 "              /        |  guestfs_launch\n"
41765 "             /         |     /\n"
41766 "    ______  /        __|____V\n"
41767 "   /      \\ ------> /        \\\n"
41768 "   | BUSY |         | READY  |\n"
41769 "   \\______/ <------ \\________/\n"
41770 "\n"
41771 msgstr ""
41772
41773 #. type: textblock
41774 #: ../libguestfs-1.11.20/src/guestfs.pod:2200 ../src/guestfs.pod:2200
41775 msgid ""
41776 "The normal transitions are (1) CONFIG (when the handle is created, but there "
41777 "is no child process), (2) LAUNCHING (when the child process is booting up), "
41778 "(3) alternating between READY and BUSY as commands are issued to, and "
41779 "carried out by, the child process."
41780 msgstr ""
41781
41782 #. type: textblock
41783 #: ../libguestfs-1.11.20/src/guestfs.pod:2205 ../src/guestfs.pod:2205
41784 msgid ""
41785 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
41786 "asynchronously at any time (eg. due to some internal error), and that causes "
41787 "the state to transition back to CONFIG."
41788 msgstr ""
41789
41790 #. type: textblock
41791 #: ../libguestfs-1.11.20/src/guestfs.pod:2209 ../src/guestfs.pod:2209
41792 msgid ""
41793 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
41794 "issued when in the CONFIG state."
41795 msgstr ""
41796
41797 #. type: textblock
41798 #: ../libguestfs-1.11.20/src/guestfs.pod:2212 ../src/guestfs.pod:2212
41799 msgid ""
41800 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
41801 "L</guestfs_launch> blocks until the child process is READY to accept "
41802 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
41803 "moves the state from CONFIG to LAUNCHING while it is running."
41804 msgstr ""
41805
41806 #. type: textblock
41807 #: ../libguestfs-1.11.20/src/guestfs.pod:2218 ../src/guestfs.pod:2218
41808 msgid ""
41809 "API actions such as L</guestfs_mount> can only be issued when in the READY "
41810 "state.  These API calls block waiting for the command to be carried out (ie. "
41811 "the state to transition to BUSY and then back to READY).  There are no non-"
41812 "blocking versions, and no way to issue more than one command per handle at "
41813 "the same time."
41814 msgstr ""
41815
41816 #. type: textblock
41817 #: ../libguestfs-1.11.20/src/guestfs.pod:2224 ../src/guestfs.pod:2224
41818 msgid ""
41819 "Finally, the child process sends asynchronous messages back to the main "
41820 "program, such as kernel log messages.  You can register a callback to "
41821 "receive these messages."
41822 msgstr ""
41823
41824 #. type: =head1
41825 #: ../libguestfs-1.11.20/src/guestfs.pod:2228 ../src/guestfs.pod:2228
41826 msgid "INTERNALS"
41827 msgstr ""
41828
41829 #. type: =head2
41830 #: ../libguestfs-1.11.20/src/guestfs.pod:2230 ../src/guestfs.pod:2230
41831 msgid "COMMUNICATION PROTOCOL"
41832 msgstr ""
41833
41834 #. type: textblock
41835 #: ../libguestfs-1.11.20/src/guestfs.pod:2232 ../src/guestfs.pod:2232
41836 msgid ""
41837 "Don't rely on using this protocol directly.  This section documents how it "
41838 "currently works, but it may change at any time."
41839 msgstr ""
41840
41841 #. type: textblock
41842 #: ../libguestfs-1.11.20/src/guestfs.pod:2235 ../src/guestfs.pod:2235
41843 msgid ""
41844 "The protocol used to talk between the library and the daemon running inside "
41845 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
41846 "1014, RFC 1832, RFC 4506)."
41847 msgstr ""
41848
41849 #. type: textblock
41850 #: ../libguestfs-1.11.20/src/guestfs.pod:2239 ../src/guestfs.pod:2239
41851 msgid ""
41852 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
41853 "this file is automatically generated)."
41854 msgstr ""
41855
41856 #. type: textblock
41857 #: ../libguestfs-1.11.20/src/guestfs.pod:2242 ../src/guestfs.pod:2242
41858 msgid ""
41859 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
41860 "and C<FileOut> parameters, which are handled with very simple request/reply "
41861 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
41862 "parameters, which use the same request and reply messages, but they may also "
41863 "be followed by files sent using a chunked encoding."
41864 msgstr ""
41865
41866 #. type: =head3
41867 #: ../libguestfs-1.11.20/src/guestfs.pod:2249 ../src/guestfs.pod:2249
41868 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
41869 msgstr ""
41870
41871 #. type: textblock
41872 #: ../libguestfs-1.11.20/src/guestfs.pod:2251 ../src/guestfs.pod:2251
41873 msgid "For ordinary functions, the request message is:"
41874 msgstr ""
41875
41876 #. type: verbatim
41877 #: ../libguestfs-1.11.20/src/guestfs.pod:2253 ../src/guestfs.pod:2253
41878 #, no-wrap
41879 msgid ""
41880 " total length (header + arguments,\n"
41881 "      but not including the length word itself)\n"
41882 " struct guestfs_message_header (encoded as XDR)\n"
41883 " struct guestfs_<foo>_args (encoded as XDR)\n"
41884 "\n"
41885 msgstr ""
41886
41887 #. type: textblock
41888 #: ../libguestfs-1.11.20/src/guestfs.pod:2258 ../src/guestfs.pod:2258
41889 msgid ""
41890 "The total length field allows the daemon to allocate a fixed size buffer "
41891 "into which it slurps the rest of the message.  As a result, the total length "
41892 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
41893 "effective size of any request is limited to somewhere under this size."
41894 msgstr ""
41895
41896 #. type: textblock
41897 #: ../libguestfs-1.11.20/src/guestfs.pod:2264 ../src/guestfs.pod:2264
41898 msgid ""
41899 "Note also that many functions don't take any arguments, in which case the "
41900 "C<guestfs_I<foo>_args> is completely omitted."
41901 msgstr ""
41902
41903 #. type: textblock
41904 #: ../libguestfs-1.11.20/src/guestfs.pod:2267 ../src/guestfs.pod:2267
41905 msgid ""
41906 "The header contains the procedure number (C<guestfs_proc>) which is how the "
41907 "receiver knows what type of args structure to expect, or none at all."
41908 msgstr ""
41909
41910 #. type: textblock
41911 #: ../libguestfs-1.11.20/src/guestfs.pod:2271 ../src/guestfs.pod:2271
41912 msgid ""
41913 "For functions that take optional arguments, the optional arguments are "
41914 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
41915 "arguments.  A bitmask in the header indicates which optional arguments are "
41916 "meaningful.  The bitmask is also checked to see if it contains bits set "
41917 "which the daemon does not know about (eg. if more optional arguments were "
41918 "added in a later version of the library), and this causes the call to be "
41919 "rejected."
41920 msgstr ""
41921
41922 #. type: textblock
41923 #: ../libguestfs-1.11.20/src/guestfs.pod:2279 ../src/guestfs.pod:2279
41924 msgid "The reply message for ordinary functions is:"
41925 msgstr ""
41926
41927 #. type: verbatim
41928 #: ../libguestfs-1.11.20/src/guestfs.pod:2281 ../src/guestfs.pod:2281
41929 #, no-wrap
41930 msgid ""
41931 " total length (header + ret,\n"
41932 "      but not including the length word itself)\n"
41933 " struct guestfs_message_header (encoded as XDR)\n"
41934 " struct guestfs_<foo>_ret (encoded as XDR)\n"
41935 "\n"
41936 msgstr ""
41937
41938 #. type: textblock
41939 #: ../libguestfs-1.11.20/src/guestfs.pod:2286 ../src/guestfs.pod:2286
41940 msgid ""
41941 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
41942 "functions that return no formal return values."
41943 msgstr ""
41944
41945 #. type: textblock
41946 #: ../libguestfs-1.11.20/src/guestfs.pod:2289 ../src/guestfs.pod:2289
41947 msgid ""
41948 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
41949 msgstr ""
41950
41951 #. type: textblock
41952 #: ../libguestfs-1.11.20/src/guestfs.pod:2292 ../src/guestfs.pod:2292
41953 msgid ""
41954 "In the case of an error, a flag is set in the header, and the reply message "
41955 "is slightly changed:"
41956 msgstr ""
41957
41958 #. type: verbatim
41959 #: ../libguestfs-1.11.20/src/guestfs.pod:2295 ../src/guestfs.pod:2295
41960 #, no-wrap
41961 msgid ""
41962 " total length (header + error,\n"
41963 "      but not including the length word itself)\n"
41964 " struct guestfs_message_header (encoded as XDR)\n"
41965 " struct guestfs_message_error (encoded as XDR)\n"
41966 "\n"
41967 msgstr ""
41968
41969 #. type: textblock
41970 #: ../libguestfs-1.11.20/src/guestfs.pod:2300 ../src/guestfs.pod:2300
41971 msgid ""
41972 "The C<guestfs_message_error> structure contains the error message as a "
41973 "string."
41974 msgstr ""
41975
41976 #. type: =head3
41977 #: ../libguestfs-1.11.20/src/guestfs.pod:2303 ../src/guestfs.pod:2303
41978 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
41979 msgstr ""
41980
41981 #. type: textblock
41982 #: ../libguestfs-1.11.20/src/guestfs.pod:2305 ../src/guestfs.pod:2305
41983 msgid ""
41984 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
41985 "The normal request message is sent (see above).  However this is followed by "
41986 "a sequence of file chunks."
41987 msgstr ""
41988
41989 #. type: verbatim
41990 #: ../libguestfs-1.11.20/src/guestfs.pod:2309 ../src/guestfs.pod:2309
41991 #, no-wrap
41992 msgid ""
41993 " total length (header + arguments,\n"
41994 "      but not including the length word itself,\n"
41995 "      and not including the chunks)\n"
41996 " struct guestfs_message_header (encoded as XDR)\n"
41997 " struct guestfs_<foo>_args (encoded as XDR)\n"
41998 " sequence of chunks for FileIn param #0\n"
41999 " sequence of chunks for FileIn param #1 etc.\n"
42000 "\n"
42001 msgstr ""
42002
42003 #. type: textblock
42004 #: ../libguestfs-1.11.20/src/guestfs.pod:2317 ../src/guestfs.pod:2317
42005 msgid "The \"sequence of chunks\" is:"
42006 msgstr ""
42007
42008 #. type: verbatim
42009 #: ../libguestfs-1.11.20/src/guestfs.pod:2319 ../src/guestfs.pod:2319
42010 #, no-wrap
42011 msgid ""
42012 " length of chunk (not including length word itself)\n"
42013 " struct guestfs_chunk (encoded as XDR)\n"
42014 " length of chunk\n"
42015 " struct guestfs_chunk (encoded as XDR)\n"
42016 "   ...\n"
42017 " length of chunk\n"
42018 " struct guestfs_chunk (with data.data_len == 0)\n"
42019 "\n"
42020 msgstr ""
42021
42022 #. type: textblock
42023 #: ../libguestfs-1.11.20/src/guestfs.pod:2327 ../src/guestfs.pod:2327
42024 msgid ""
42025 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
42026 "is set in the final chunk to indicate either successful completion or early "
42027 "cancellation."
42028 msgstr ""
42029
42030 #. type: textblock
42031 #: ../libguestfs-1.11.20/src/guestfs.pod:2331 ../src/guestfs.pod:2331
42032 msgid ""
42033 "At time of writing there are no functions that have more than one FileIn "
42034 "parameter.  However this is (theoretically) supported, by sending the "
42035 "sequence of chunks for each FileIn parameter one after another (from left to "
42036 "right)."
42037 msgstr ""
42038
42039 #. type: textblock
42040 #: ../libguestfs-1.11.20/src/guestfs.pod:2336 ../src/guestfs.pod:2336
42041 msgid ""
42042 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
42043 "transfer.  The library does this by sending a chunk with a special flag set "
42044 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
42045 "RPC, does I<not> send any reply, and goes back to reading the next request."
42046 msgstr ""
42047
42048 #. type: textblock
42049 #: ../libguestfs-1.11.20/src/guestfs.pod:2342 ../src/guestfs.pod:2342
42050 msgid ""
42051 "The daemon may also cancel.  It does this by writing a special word "
42052 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
42053 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
42054 "cancel chunk).  The special word is chosen so that even if cancellation "
42055 "happens right at the end of the transfer (after the library has finished "
42056 "writing and has started listening for the reply), the \"spurious\" cancel "
42057 "flag will not be confused with the reply message."
42058 msgstr ""
42059
42060 #. type: textblock
42061 #: ../libguestfs-1.11.20/src/guestfs.pod:2351 ../src/guestfs.pod:2351
42062 msgid ""
42063 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
42064 "limit), and also files where the size is not known in advance (eg. from "
42065 "pipes or sockets).  However the chunks are rather small "
42066 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
42067 "to keep much in memory."
42068 msgstr ""
42069
42070 #. type: =head3
42071 #: ../libguestfs-1.11.20/src/guestfs.pod:2357 ../src/guestfs.pod:2357
42072 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
42073 msgstr ""
42074
42075 #. type: textblock
42076 #: ../libguestfs-1.11.20/src/guestfs.pod:2359 ../src/guestfs.pod:2359
42077 msgid ""
42078 "The protocol for FileOut parameters is exactly the same as for FileIn "
42079 "parameters, but with the roles of daemon and library reversed."
42080 msgstr ""
42081
42082 #. type: verbatim
42083 #: ../libguestfs-1.11.20/src/guestfs.pod:2362 ../src/guestfs.pod:2362
42084 #, no-wrap
42085 msgid ""
42086 " total length (header + ret,\n"
42087 "      but not including the length word itself,\n"
42088 "      and not including the chunks)\n"
42089 " struct guestfs_message_header (encoded as XDR)\n"
42090 " struct guestfs_<foo>_ret (encoded as XDR)\n"
42091 " sequence of chunks for FileOut param #0\n"
42092 " sequence of chunks for FileOut param #1 etc.\n"
42093 "\n"
42094 msgstr ""
42095
42096 #. type: =head3
42097 #: ../libguestfs-1.11.20/src/guestfs.pod:2370 ../src/guestfs.pod:2370
42098 msgid "INITIAL MESSAGE"
42099 msgstr ""
42100
42101 #. type: textblock
42102 #: ../libguestfs-1.11.20/src/guestfs.pod:2372 ../src/guestfs.pod:2372
42103 msgid ""
42104 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
42105 "which indicates that the guest and daemon is alive.  This is what L</"
42106 "guestfs_launch> waits for."
42107 msgstr ""
42108
42109 #. type: =head3
42110 #: ../libguestfs-1.11.20/src/guestfs.pod:2376 ../src/guestfs.pod:2376
42111 msgid "PROGRESS NOTIFICATION MESSAGES"
42112 msgstr ""
42113
42114 #. type: textblock
42115 #: ../libguestfs-1.11.20/src/guestfs.pod:2378 ../src/guestfs.pod:2378
42116 msgid ""
42117 "The daemon may send progress notification messages at any time.  These are "
42118 "distinguished by the normal length word being replaced by "
42119 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
42120 msgstr ""
42121
42122 #. type: textblock
42123 #: ../libguestfs-1.11.20/src/guestfs.pod:2382 ../src/guestfs.pod:2382
42124 msgid ""
42125 "The library turns them into progress callbacks (see L</"
42126 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
42127 "if not."
42128 msgstr ""
42129
42130 #. type: textblock
42131 #: ../libguestfs-1.11.20/src/guestfs.pod:2386 ../src/guestfs.pod:2386
42132 msgid ""
42133 "The daemon self-limits the frequency of progress messages it sends (see "
42134 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
42135 "messages."
42136 msgstr ""
42137
42138 #. type: =head1
42139 #: ../libguestfs-1.11.20/src/guestfs.pod:2390 ../src/guestfs.pod:2390
42140 msgid "LIBGUESTFS VERSION NUMBERS"
42141 msgstr ""
42142
42143 #. type: textblock
42144 #: ../libguestfs-1.11.20/src/guestfs.pod:2392 ../src/guestfs.pod:2392
42145 msgid ""
42146 "Since April 2010, libguestfs has started to make separate development and "
42147 "stable releases, along with corresponding branches in our git repository.  "
42148 "These separate releases can be identified by version number:"
42149 msgstr ""
42150
42151 #. type: verbatim
42152 #: ../libguestfs-1.11.20/src/guestfs.pod:2397 ../src/guestfs.pod:2397
42153 #, no-wrap
42154 msgid ""
42155 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
42156 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
42157 "       |\n"
42158 "       v\n"
42159 " 1  .  3  .  5\n"
42160 " ^           ^\n"
42161 " |           |\n"
42162 " |           `-------- sub-version\n"
42163 " |\n"
42164 " `------ always '1' because we don't change the ABI\n"
42165 "\n"
42166 msgstr ""
42167
42168 #. type: textblock
42169 #: ../libguestfs-1.11.20/src/guestfs.pod:2408 ../src/guestfs.pod:2408
42170 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
42171 msgstr ""
42172
42173 #. type: textblock
42174 #: ../libguestfs-1.11.20/src/guestfs.pod:2410 ../src/guestfs.pod:2410
42175 msgid ""
42176 "As time passes we cherry pick fixes from the development branch and backport "
42177 "those into the stable branch, the effect being that the stable branch should "
42178 "get more stable and less buggy over time.  So the stable releases are ideal "
42179 "for people who don't need new features but would just like the software to "
42180 "work."
42181 msgstr ""
42182
42183 #. type: textblock
42184 #: ../libguestfs-1.11.20/src/guestfs.pod:2416 ../src/guestfs.pod:2416
42185 msgid "Our criteria for backporting changes are:"
42186 msgstr ""
42187
42188 #. type: textblock
42189 #: ../libguestfs-1.11.20/src/guestfs.pod:2422 ../src/guestfs.pod:2422
42190 msgid ""
42191 "Documentation changes which don't affect any code are backported unless the "
42192 "documentation refers to a future feature which is not in stable."
42193 msgstr ""
42194
42195 #. type: textblock
42196 #: ../libguestfs-1.11.20/src/guestfs.pod:2428 ../src/guestfs.pod:2428
42197 msgid ""
42198 "Bug fixes which are not controversial, fix obvious problems, and have been "
42199 "well tested are backported."
42200 msgstr ""
42201
42202 #. type: textblock
42203 #: ../libguestfs-1.11.20/src/guestfs.pod:2433 ../src/guestfs.pod:2433
42204 msgid ""
42205 "Simple rearrangements of code which shouldn't affect how it works get "
42206 "backported.  This is so that the code in the two branches doesn't get too "
42207 "far out of step, allowing us to backport future fixes more easily."
42208 msgstr ""
42209
42210 #. type: textblock
42211 #: ../libguestfs-1.11.20/src/guestfs.pod:2439 ../src/guestfs.pod:2439
42212 msgid ""
42213 "We I<don't> backport new features, new APIs, new tools etc, except in one "
42214 "exceptional case: the new feature is required in order to implement an "
42215 "important bug fix."
42216 msgstr ""
42217
42218 #. type: textblock
42219 #: ../libguestfs-1.11.20/src/guestfs.pod:2445 ../src/guestfs.pod:2445
42220 msgid ""
42221 "A new stable branch starts when we think the new features in development are "
42222 "substantial and compelling enough over the current stable branch to warrant "
42223 "it.  When that happens we create new stable and development versions 1.N.0 "
42224 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
42225 "stable at this point, but by backporting fixes from development, that branch "
42226 "will stabilize over time."
42227 msgstr ""
42228
42229 #. type: =head1
42230 #: ../libguestfs-1.11.20/src/guestfs.pod:2453 ../src/guestfs.pod:2453
42231 msgid "EXTENDING LIBGUESTFS"
42232 msgstr ""
42233
42234 #. type: =head2
42235 #: ../libguestfs-1.11.20/src/guestfs.pod:2455 ../src/guestfs.pod:2455
42236 msgid "ADDING A NEW API ACTION"
42237 msgstr ""
42238
42239 #. type: textblock
42240 #: ../libguestfs-1.11.20/src/guestfs.pod:2457 ../src/guestfs.pod:2457
42241 msgid ""
42242 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
42243 "documentation) are generated, and this makes it easy to extend the "
42244 "libguestfs API."
42245 msgstr ""
42246
42247 #. type: textblock
42248 #: ../libguestfs-1.11.20/src/guestfs.pod:2461 ../src/guestfs.pod:2461
42249 msgid "To add a new API action there are two changes:"
42250 msgstr ""
42251
42252 #. type: textblock
42253 #: ../libguestfs-1.11.20/src/guestfs.pod:2467 ../src/guestfs.pod:2467
42254 msgid ""
42255 "You need to add a description of the call (name, parameters, return type, "
42256 "tests, documentation) to C<generator/generator_actions.ml>."
42257 msgstr ""
42258
42259 #. type: textblock
42260 #: ../libguestfs-1.11.20/src/guestfs.pod:2470 ../src/guestfs.pod:2470
42261 msgid ""
42262 "There are two sorts of API action, depending on whether the call goes "
42263 "through to the daemon in the appliance, or is serviced entirely by the "
42264 "library (see L</ARCHITECTURE> above).  L</guestfs_sync> is an example of the "
42265 "former, since the sync is done in the appliance.  L</guestfs_set_trace> is "
42266 "an example of the latter, since a trace flag is maintained in the handle and "
42267 "all tracing is done on the library side."
42268 msgstr ""
42269
42270 #. type: textblock
42271 #: ../libguestfs-1.11.20/src/guestfs.pod:2478 ../src/guestfs.pod:2478
42272 msgid ""
42273 "Most new actions are of the first type, and get added to the "
42274 "C<daemon_functions> list.  Each function has a unique procedure number used "
42275 "in the RPC protocol which is assigned to that action when we publish "
42276 "libguestfs and cannot be reused.  Take the latest procedure number and "
42277 "increment it."
42278 msgstr ""
42279
42280 #. type: textblock
42281 #: ../libguestfs-1.11.20/src/guestfs.pod:2484 ../src/guestfs.pod:2484
42282 msgid ""
42283 "For library-only actions of the second type, add to the "
42284 "C<non_daemon_functions> list.  Since these functions are serviced by the "
42285 "library and do not travel over the RPC mechanism to the daemon, these "
42286 "functions do not need a procedure number, and so the procedure number is set "
42287 "to C<-1>."
42288 msgstr ""
42289
42290 #. type: textblock
42291 #: ../libguestfs-1.11.20/src/guestfs.pod:2492 ../src/guestfs.pod:2492
42292 msgid "Implement the action (in C):"
42293 msgstr ""
42294
42295 #. type: textblock
42296 #: ../libguestfs-1.11.20/src/guestfs.pod:2494 ../src/guestfs.pod:2494
42297 msgid ""
42298 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
42299 "C<daemon/> directory."
42300 msgstr ""
42301
42302 #. type: textblock
42303 #: ../libguestfs-1.11.20/src/guestfs.pod:2497 ../src/guestfs.pod:2497
42304 msgid ""
42305 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
42306 "(note: double underscore) in the C<src/> directory."
42307 msgstr ""
42308
42309 #. type: textblock
42310 #: ../libguestfs-1.11.20/src/guestfs.pod:2500 ../src/guestfs.pod:2500
42311 msgid "In either case, use another function as an example of what to do."
42312 msgstr ""
42313
42314 #. type: textblock
42315 #: ../libguestfs-1.11.20/src/guestfs.pod:2504 ../src/guestfs.pod:2504
42316 msgid "After making these changes, use C<make> to compile."
42317 msgstr ""
42318
42319 #. type: textblock
42320 #: ../libguestfs-1.11.20/src/guestfs.pod:2506 ../src/guestfs.pod:2506
42321 msgid ""
42322 "Note that you don't need to implement the RPC, language bindings, manual "
42323 "pages or anything else.  It's all automatically generated from the OCaml "
42324 "description."
42325 msgstr ""
42326
42327 #. type: =head2
42328 #: ../libguestfs-1.11.20/src/guestfs.pod:2510 ../src/guestfs.pod:2510
42329 msgid "ADDING TESTS FOR AN API ACTION"
42330 msgstr ""
42331
42332 #. type: textblock
42333 #: ../libguestfs-1.11.20/src/guestfs.pod:2512 ../src/guestfs.pod:2512
42334 msgid ""
42335 "You can supply zero or as many tests as you want per API call.  The tests "
42336 "can either be added as part of the API description (C<generator/"
42337 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
42338 "into C<regressions/>.  Note that adding a script to C<regressions/> is "
42339 "slower, so if possible use the first method."
42340 msgstr ""
42341
42342 #. type: textblock
42343 #: ../libguestfs-1.11.20/src/guestfs.pod:2518 ../src/guestfs.pod:2518
42344 msgid ""
42345 "The following describes the test environment used when you add an API test "
42346 "in C<generator_actions.ml>."
42347 msgstr ""
42348
42349 #. type: textblock
42350 #: ../libguestfs-1.11.20/src/guestfs.pod:2521 ../src/guestfs.pod:2521
42351 msgid "The test environment has 4 block devices:"
42352 msgstr ""
42353
42354 #. type: =item
42355 #: ../libguestfs-1.11.20/src/guestfs.pod:2525 ../src/guestfs.pod:2525
42356 msgid "C</dev/sda> 500MB"
42357 msgstr ""
42358
42359 #. type: textblock
42360 #: ../libguestfs-1.11.20/src/guestfs.pod:2527 ../src/guestfs.pod:2527
42361 msgid "General block device for testing."
42362 msgstr ""
42363
42364 #. type: =item
42365 #: ../libguestfs-1.11.20/src/guestfs.pod:2529 ../src/guestfs.pod:2529
42366 msgid "C</dev/sdb> 50MB"
42367 msgstr ""
42368
42369 #. type: textblock
42370 #: ../libguestfs-1.11.20/src/guestfs.pod:2531 ../src/guestfs.pod:2531
42371 msgid ""
42372 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
42373 "operations."
42374 msgstr ""
42375
42376 #. type: =item
42377 #: ../libguestfs-1.11.20/src/guestfs.pod:2534 ../src/guestfs.pod:2534
42378 msgid "C</dev/sdc> 10MB"
42379 msgstr ""
42380
42381 #. type: textblock
42382 #: ../libguestfs-1.11.20/src/guestfs.pod:2536 ../src/guestfs.pod:2536
42383 msgid "Used in a few tests where two block devices are needed."
42384 msgstr ""
42385
42386 #. type: =item
42387 #: ../libguestfs-1.11.20/src/guestfs.pod:2538 ../src/guestfs.pod:2538
42388 msgid "C</dev/sdd>"
42389 msgstr ""
42390
42391 #. type: textblock
42392 #: ../libguestfs-1.11.20/src/guestfs.pod:2540 ../src/guestfs.pod:2540
42393 msgid "ISO with fixed content (see C<images/test.iso>)."
42394 msgstr ""
42395
42396 #. type: textblock
42397 #: ../libguestfs-1.11.20/src/guestfs.pod:2544 ../src/guestfs.pod:2544
42398 msgid ""
42399 "To be able to run the tests in a reasonable amount of time, the libguestfs "
42400 "appliance and block devices are reused between tests.  So don't try testing "
42401 "L</guestfs_kill_subprocess> :-x"
42402 msgstr ""
42403
42404 #. type: textblock
42405 #: ../libguestfs-1.11.20/src/guestfs.pod:2548 ../src/guestfs.pod:2548
42406 msgid ""
42407 "Each test starts with an initial scenario, selected using one of the "
42408 "C<Init*> expressions, described in C<generator/generator_types.ml>.  These "
42409 "initialize the disks mentioned above in a particular way as documented in "
42410 "C<generator_types.ml>.  You should not assume anything about the previous "
42411 "contents of other disks that are not initialized."
42412 msgstr ""
42413
42414 #. type: textblock
42415 #: ../libguestfs-1.11.20/src/guestfs.pod:2554 ../src/guestfs.pod:2554
42416 msgid ""
42417 "You can add a prerequisite clause to any individual test.  This is a run-"
42418 "time check, which, if it fails, causes the test to be skipped.  Useful if "
42419 "testing a command which might not work on all variations of libguestfs "
42420 "builds.  A test that has prerequisite of C<Always> means to run "
42421 "unconditionally."
42422 msgstr ""
42423
42424 #. type: textblock
42425 #: ../libguestfs-1.11.20/src/guestfs.pod:2560 ../src/guestfs.pod:2560
42426 msgid ""
42427 "In addition, packagers can skip individual tests by setting environment "
42428 "variables before running C<make check>."
42429 msgstr ""
42430
42431 #. type: verbatim
42432 #: ../libguestfs-1.11.20/src/guestfs.pod:2563 ../src/guestfs.pod:2563
42433 #, no-wrap
42434 msgid ""
42435 " SKIP_TEST_<CMD>_<NUM>=1\n"
42436 "\n"
42437 msgstr ""
42438
42439 #. type: textblock
42440 #: ../libguestfs-1.11.20/src/guestfs.pod:2565 ../src/guestfs.pod:2565
42441 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
42442 msgstr ""
42443
42444 #. type: textblock
42445 #: ../libguestfs-1.11.20/src/guestfs.pod:2567 ../src/guestfs.pod:2567
42446 msgid "or:"
42447 msgstr ""
42448
42449 #. type: verbatim
42450 #: ../libguestfs-1.11.20/src/guestfs.pod:2569 ../src/guestfs.pod:2569
42451 #, no-wrap
42452 msgid ""
42453 " SKIP_TEST_<CMD>=1\n"
42454 "\n"
42455 msgstr ""
42456
42457 #. type: textblock
42458 #: ../libguestfs-1.11.20/src/guestfs.pod:2571 ../src/guestfs.pod:2571
42459 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
42460 msgstr ""
42461
42462 #. type: textblock
42463 #: ../libguestfs-1.11.20/src/guestfs.pod:2573 ../src/guestfs.pod:2573
42464 msgid "Packagers can run only certain tests by setting for example:"
42465 msgstr ""
42466
42467 #. type: verbatim
42468 #: ../libguestfs-1.11.20/src/guestfs.pod:2575 ../src/guestfs.pod:2575
42469 #, no-wrap
42470 msgid ""
42471 " TEST_ONLY=\"vfs_type zerofree\"\n"
42472 "\n"
42473 msgstr ""
42474
42475 #. type: textblock
42476 #: ../libguestfs-1.11.20/src/guestfs.pod:2577 ../src/guestfs.pod:2577
42477 msgid ""
42478 "See C<capitests/tests.c> for more details of how these environment variables "
42479 "work."
42480 msgstr ""
42481
42482 #. type: =head2
42483 #: ../libguestfs-1.11.20/src/guestfs.pod:2580 ../src/guestfs.pod:2580
42484 msgid "DEBUGGING NEW API ACTIONS"
42485 msgstr ""
42486
42487 #. type: textblock
42488 #: ../libguestfs-1.11.20/src/guestfs.pod:2582 ../src/guestfs.pod:2582
42489 msgid "Test new actions work before submitting them."
42490 msgstr ""
42491
42492 #. type: textblock
42493 #: ../libguestfs-1.11.20/src/guestfs.pod:2584 ../src/guestfs.pod:2584
42494 msgid "You can use guestfish to try out new commands."
42495 msgstr ""
42496
42497 #. type: textblock
42498 #: ../libguestfs-1.11.20/src/guestfs.pod:2586 ../src/guestfs.pod:2586
42499 msgid ""
42500 "Debugging the daemon is a problem because it runs inside a minimal "
42501 "environment.  However you can fprintf messages in the daemon to stderr, and "
42502 "they will show up if you use C<guestfish -v>."
42503 msgstr ""
42504
42505 #. type: =head2
42506 #: ../libguestfs-1.11.20/src/guestfs.pod:2590 ../src/guestfs.pod:2590
42507 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
42508 msgstr ""
42509
42510 #. type: textblock
42511 #: ../libguestfs-1.11.20/src/guestfs.pod:2592 ../src/guestfs.pod:2592
42512 msgid ""
42513 "Our C source code generally adheres to some basic code-formatting "
42514 "conventions.  The existing code base is not totally consistent on this "
42515 "front, but we do prefer that contributed code be formatted similarly.  In "
42516 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
42517 "indentation level, and other than that, follow the K&R style."
42518 msgstr ""
42519
42520 #. type: textblock
42521 #: ../libguestfs-1.11.20/src/guestfs.pod:2598 ../src/guestfs.pod:2598
42522 msgid ""
42523 "If you use Emacs, add the following to one of one of your start-up files (e."
42524 "g., ~/.emacs), to help ensure that you get indentation right:"
42525 msgstr ""
42526
42527 #. type: verbatim
42528 #: ../libguestfs-1.11.20/src/guestfs.pod:2601 ../src/guestfs.pod:2601
42529 #, no-wrap
42530 msgid ""
42531 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
42532 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
42533 " (add-hook 'find-file-hook\n"
42534 "     '(lambda () (if (and buffer-file-name\n"
42535 "                          (string-match \"/libguestfs\\\\>\"\n"
42536 "                              (buffer-file-name))\n"
42537 "                          (not (string-equal mode-name \"Change Log\"))\n"
42538 "                          (not (string-equal mode-name \"Makefile\")))\n"
42539 "                     (setq indent-tabs-mode nil))))\n"
42540 " \n"
42541 msgstr ""
42542
42543 #. type: verbatim
42544 #: ../libguestfs-1.11.20/src/guestfs.pod:2611 ../src/guestfs.pod:2611
42545 #, no-wrap
42546 msgid ""
42547 " ;;; When editing C sources in libguestfs, use this style.\n"
42548 " (defun libguestfs-c-mode ()\n"
42549 "   \"C mode with adjusted defaults for use with libguestfs.\"\n"
42550 "   (interactive)\n"
42551 "   (c-set-style \"K&R\")\n"
42552 "   (setq c-indent-level 2)\n"
42553 "   (setq c-basic-offset 2))\n"
42554 " (add-hook 'c-mode-hook\n"
42555 "           '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
42556 "                               (buffer-file-name))\n"
42557 "                           (libguestfs-c-mode))))\n"
42558 "\n"
42559 msgstr ""
42560
42561 #. type: textblock
42562 #: ../libguestfs-1.11.20/src/guestfs.pod:2623 ../src/guestfs.pod:2623
42563 msgid "Enable warnings when compiling (and fix any problems this finds):"
42564 msgstr ""
42565
42566 #. type: verbatim
42567 #: ../libguestfs-1.11.20/src/guestfs.pod:2626 ../src/guestfs.pod:2626
42568 #, no-wrap
42569 msgid ""
42570 " ./configure --enable-gcc-warnings\n"
42571 "\n"
42572 msgstr ""
42573
42574 #. type: textblock
42575 #: ../libguestfs-1.11.20/src/guestfs.pod:2628 ../src/guestfs.pod:2628
42576 msgid "Useful targets are:"
42577 msgstr ""
42578
42579 #. type: verbatim
42580 #: ../libguestfs-1.11.20/src/guestfs.pod:2630 ../src/guestfs.pod:2630
42581 #, no-wrap
42582 msgid ""
42583 " make syntax-check  # checks the syntax of the C code\n"
42584 " make check         # runs the test suite\n"
42585 "\n"
42586 msgstr ""
42587
42588 #. type: =head2
42589 #: ../libguestfs-1.11.20/src/guestfs.pod:2633 ../src/guestfs.pod:2633
42590 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
42591 msgstr ""
42592
42593 #. type: textblock
42594 #: ../libguestfs-1.11.20/src/guestfs.pod:2635 ../src/guestfs.pod:2635
42595 msgid ""
42596 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
42597 "which are used to do shell quoting."
42598 msgstr ""
42599
42600 #. type: =item
42601 #: ../libguestfs-1.11.20/src/guestfs.pod:2640 ../src/guestfs.pod:2640
42602 msgid "%Q"
42603 msgstr ""
42604
42605 #. type: textblock
42606 #: ../libguestfs-1.11.20/src/guestfs.pod:2642 ../src/guestfs.pod:2642
42607 msgid ""
42608 "Simple shell quoted string.  Any spaces or other shell characters are "
42609 "escaped for you."
42610 msgstr ""
42611
42612 #. type: =item
42613 #: ../libguestfs-1.11.20/src/guestfs.pod:2645 ../src/guestfs.pod:2645
42614 msgid "%R"
42615 msgstr ""
42616
42617 #. type: textblock
42618 #: ../libguestfs-1.11.20/src/guestfs.pod:2647 ../src/guestfs.pod:2647
42619 msgid ""
42620 "Same as C<%Q> except the string is treated as a path which is prefixed by "
42621 "the sysroot."
42622 msgstr ""
42623
42624 #. type: verbatim
42625 #: ../libguestfs-1.11.20/src/guestfs.pod:2654 ../src/guestfs.pod:2654
42626 #, no-wrap
42627 msgid ""
42628 " asprintf (&cmd, \"cat %R\", path);\n"
42629 "\n"
42630 msgstr ""
42631
42632 #. type: textblock
42633 #: ../libguestfs-1.11.20/src/guestfs.pod:2656 ../src/guestfs.pod:2656
42634 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
42635 msgstr ""
42636
42637 #. type: textblock
42638 #: ../libguestfs-1.11.20/src/guestfs.pod:2658 ../src/guestfs.pod:2658
42639 msgid ""
42640 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
42641 "{,r,v,rv}()> functions.  These parameters do NOT need to be quoted because "
42642 "they are not passed via the shell (instead, straight to exec).  You probably "
42643 "want to use the C<sysroot_path()> function however."
42644 msgstr ""
42645
42646 #. type: =head2
42647 #: ../libguestfs-1.11.20/src/guestfs.pod:2664 ../src/guestfs.pod:2664
42648 msgid "SUBMITTING YOUR NEW API ACTIONS"
42649 msgstr ""
42650
42651 #. type: textblock
42652 #: ../libguestfs-1.11.20/src/guestfs.pod:2666 ../src/guestfs.pod:2666
42653 msgid ""
42654 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
42655 "libguestfs> and CC to L<rjones@redhat.com>."
42656 msgstr ""
42657
42658 #. type: =head2
42659 #: ../libguestfs-1.11.20/src/guestfs.pod:2670 ../src/guestfs.pod:2670
42660 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
42661 msgstr ""
42662
42663 #. type: textblock
42664 #: ../libguestfs-1.11.20/src/guestfs.pod:2672 ../src/guestfs.pod:2672
42665 msgid "We support i18n (gettext anyhow) in the library."
42666 msgstr ""
42667
42668 #. type: textblock
42669 #: ../libguestfs-1.11.20/src/guestfs.pod:2674 ../src/guestfs.pod:2674
42670 msgid ""
42671 "However many messages come from the daemon, and we don't translate those at "
42672 "the moment.  One reason is that the appliance generally has all locale files "
42673 "removed from it, because they take up a lot of space.  So we'd have to readd "
42674 "some of those, as well as copying our PO files into the appliance."
42675 msgstr ""
42676
42677 #. type: textblock
42678 #: ../libguestfs-1.11.20/src/guestfs.pod:2680 ../src/guestfs.pod:2680
42679 msgid ""
42680 "Debugging messages are never translated, since they are intended for the "
42681 "programmers."
42682 msgstr ""
42683
42684 #. type: =head2
42685 #: ../libguestfs-1.11.20/src/guestfs.pod:2683 ../src/guestfs.pod:2683
42686 msgid "SOURCE CODE SUBDIRECTORIES"
42687 msgstr ""
42688
42689 #. type: textblock
42690 #: ../libguestfs-1.11.20/src/guestfs.pod:2689 ../src/guestfs.pod:2689
42691 msgid "The libguestfs appliance, build scripts and so on."
42692 msgstr ""
42693
42694 #. type: =item
42695 #: ../libguestfs-1.11.20/src/guestfs.pod:2691 ../src/guestfs.pod:2691
42696 msgid "C<capitests>"
42697 msgstr ""
42698
42699 #. type: textblock
42700 #: ../libguestfs-1.11.20/src/guestfs.pod:2693 ../src/guestfs.pod:2693
42701 msgid "Automated tests of the C API."
42702 msgstr ""
42703
42704 #. type: =item
42705 #: ../libguestfs-1.11.20/src/guestfs.pod:2695 ../src/guestfs.pod:2695
42706 msgid "C<cat>"
42707 msgstr ""
42708
42709 #. type: textblock
42710 #: ../libguestfs-1.11.20/src/guestfs.pod:2697 ../src/guestfs.pod:2697
42711 msgid ""
42712 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
42713 "documentation."
42714 msgstr ""
42715
42716 #. type: =item
42717 #: ../libguestfs-1.11.20/src/guestfs.pod:2700 ../src/guestfs.pod:2700
42718 msgid "C<caution>"
42719 msgstr ""
42720
42721 #. type: textblock
42722 #: ../libguestfs-1.11.20/src/guestfs.pod:2702 ../src/guestfs.pod:2702
42723 msgid ""
42724 "Safety and liveness tests of components that libguestfs depends upon (not of "
42725 "libguestfs itself).  Mainly this is for qemu and the kernel."
42726 msgstr ""
42727
42728 #. type: =item
42729 #: ../libguestfs-1.11.20/src/guestfs.pod:2705 ../src/guestfs.pod:2705
42730 msgid "C<contrib>"
42731 msgstr ""
42732
42733 #. type: textblock
42734 #: ../libguestfs-1.11.20/src/guestfs.pod:2707 ../src/guestfs.pod:2707
42735 msgid "Outside contributions, experimental parts."
42736 msgstr ""
42737
42738 #. type: =item
42739 #: ../libguestfs-1.11.20/src/guestfs.pod:2709 ../src/guestfs.pod:2709
42740 msgid "C<daemon>"
42741 msgstr ""
42742
42743 #. type: textblock
42744 #: ../libguestfs-1.11.20/src/guestfs.pod:2711 ../src/guestfs.pod:2711
42745 msgid ""
42746 "The daemon that runs inside the libguestfs appliance and carries out actions."
42747 msgstr ""
42748
42749 #. type: =item
42750 #: ../libguestfs-1.11.20/src/guestfs.pod:2714 ../src/guestfs.pod:2714
42751 msgid "C<df>"
42752 msgstr ""
42753
42754 #. type: textblock
42755 #: ../libguestfs-1.11.20/src/guestfs.pod:2716 ../src/guestfs.pod:2716
42756 msgid "L<virt-df(1)> command and documentation."
42757 msgstr ""
42758
42759 #. type: =item
42760 #: ../libguestfs-1.11.20/src/guestfs.pod:2718 ../src/guestfs.pod:2718
42761 msgid "C<edit>"
42762 msgstr ""
42763
42764 #. type: textblock
42765 #: ../libguestfs-1.11.20/src/guestfs.pod:2720 ../src/guestfs.pod:2720
42766 msgid "L<virt-edit(1)> command and documentation."
42767 msgstr ""
42768
42769 #. type: =item
42770 #: ../libguestfs-1.11.20/src/guestfs.pod:2722 ../src/guestfs.pod:2722
42771 msgid "C<examples>"
42772 msgstr ""
42773
42774 #. type: textblock
42775 #: ../libguestfs-1.11.20/src/guestfs.pod:2724 ../src/guestfs.pod:2724
42776 msgid "C API example code."
42777 msgstr ""
42778
42779 #. type: =item
42780 #: ../libguestfs-1.11.20/src/guestfs.pod:2726 ../src/guestfs.pod:2726
42781 msgid "C<fish>"
42782 msgstr ""
42783
42784 #. type: textblock
42785 #: ../libguestfs-1.11.20/src/guestfs.pod:2728 ../src/guestfs.pod:2728
42786 msgid ""
42787 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
42788 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
42789 "L<virt-tar-out(1)>."
42790 msgstr ""
42791
42792 #. type: =item
42793 #: ../libguestfs-1.11.20/src/guestfs.pod:2732 ../src/guestfs.pod:2732
42794 msgid "C<fuse>"
42795 msgstr ""
42796
42797 #. type: textblock
42798 #: ../libguestfs-1.11.20/src/guestfs.pod:2734 ../src/guestfs.pod:2734
42799 msgid ""
42800 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
42801 msgstr ""
42802
42803 #. type: =item
42804 #: ../libguestfs-1.11.20/src/guestfs.pod:2736 ../src/guestfs.pod:2736
42805 msgid "C<generator>"
42806 msgstr ""
42807
42808 #. type: textblock
42809 #: ../libguestfs-1.11.20/src/guestfs.pod:2738 ../src/guestfs.pod:2738
42810 msgid ""
42811 "The crucially important generator, used to automatically generate large "
42812 "amounts of boilerplate C code for things like RPC and bindings."
42813 msgstr ""
42814
42815 #. type: =item
42816 #: ../libguestfs-1.11.20/src/guestfs.pod:2741 ../src/guestfs.pod:2741
42817 msgid "C<images>"
42818 msgstr ""
42819
42820 #. type: textblock
42821 #: ../libguestfs-1.11.20/src/guestfs.pod:2743 ../src/guestfs.pod:2743
42822 msgid "Files used by the test suite."
42823 msgstr ""
42824
42825 #. type: textblock
42826 #: ../libguestfs-1.11.20/src/guestfs.pod:2745 ../src/guestfs.pod:2745
42827 msgid "Some \"phony\" guest images which we test against."
42828 msgstr ""
42829
42830 #. type: =item
42831 #: ../libguestfs-1.11.20/src/guestfs.pod:2747 ../src/guestfs.pod:2747
42832 msgid "C<inspector>"
42833 msgstr ""
42834
42835 #. type: textblock
42836 #: ../libguestfs-1.11.20/src/guestfs.pod:2749 ../src/guestfs.pod:2749
42837 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
42838 msgstr ""
42839
42840 #. type: =item
42841 #: ../libguestfs-1.11.20/src/guestfs.pod:2751 ../src/guestfs.pod:2751
42842 msgid "C<logo>"
42843 msgstr ""
42844
42845 #. type: textblock
42846 #: ../libguestfs-1.11.20/src/guestfs.pod:2753 ../src/guestfs.pod:2753
42847 msgid "Logo used on the website.  The fish is called Arthur by the way."
42848 msgstr ""
42849
42850 #. type: =item
42851 #: ../libguestfs-1.11.20/src/guestfs.pod:2755 ../src/guestfs.pod:2755
42852 msgid "C<m4>"
42853 msgstr ""
42854
42855 #. type: textblock
42856 #: ../libguestfs-1.11.20/src/guestfs.pod:2757 ../src/guestfs.pod:2757
42857 msgid "M4 macros used by autoconf."
42858 msgstr ""
42859
42860 #. type: =item
42861 #: ../libguestfs-1.11.20/src/guestfs.pod:2759 ../src/guestfs.pod:2759
42862 msgid "C<po>"
42863 msgstr ""
42864
42865 #. type: textblock
42866 #: ../libguestfs-1.11.20/src/guestfs.pod:2761 ../src/guestfs.pod:2761
42867 msgid "Translations of simple gettext strings."
42868 msgstr ""
42869
42870 #. type: =item
42871 #: ../libguestfs-1.11.20/src/guestfs.pod:2763 ../src/guestfs.pod:2763
42872 msgid "C<po-docs>"
42873 msgstr ""
42874
42875 #. type: textblock
42876 #: ../libguestfs-1.11.20/src/guestfs.pod:2765 ../src/guestfs.pod:2765
42877 msgid ""
42878 "The build infrastructure and PO files for translations of manpages and POD "
42879 "files.  Eventually this will be combined with the C<po> directory, but that "
42880 "is rather complicated."
42881 msgstr ""
42882
42883 #. type: =item
42884 #: ../libguestfs-1.11.20/src/guestfs.pod:2769 ../src/guestfs.pod:2769
42885 msgid "C<regressions>"
42886 msgstr ""
42887
42888 #. type: textblock
42889 #: ../libguestfs-1.11.20/src/guestfs.pod:2771 ../src/guestfs.pod:2771
42890 msgid "Regression tests."
42891 msgstr ""
42892
42893 #. type: =item
42894 #: ../libguestfs-1.11.20/src/guestfs.pod:2773 ../src/guestfs.pod:2773
42895 msgid "C<rescue>"
42896 msgstr ""
42897
42898 #. type: textblock
42899 #: ../libguestfs-1.11.20/src/guestfs.pod:2775 ../src/guestfs.pod:2775
42900 msgid "L<virt-rescue(1)> command and documentation."
42901 msgstr ""
42902
42903 #. type: =item
42904 #: ../libguestfs-1.11.20/src/guestfs.pod:2777 ../src/guestfs.pod:2777
42905 msgid "C<src>"
42906 msgstr ""
42907
42908 #. type: textblock
42909 #: ../libguestfs-1.11.20/src/guestfs.pod:2779 ../src/guestfs.pod:2779
42910 msgid "Source code to the C library."
42911 msgstr ""
42912
42913 #. type: =item
42914 #: ../libguestfs-1.11.20/src/guestfs.pod:2781 ../src/guestfs.pod:2781
42915 msgid "C<tools>"
42916 msgstr ""
42917
42918 #. type: textblock
42919 #: ../libguestfs-1.11.20/src/guestfs.pod:2783 ../src/guestfs.pod:2783
42920 msgid "Command line tools written in Perl (L<virt-resize(1)> and many others)."
42921 msgstr ""
42922
42923 #. type: =item
42924 #: ../libguestfs-1.11.20/src/guestfs.pod:2785 ../src/guestfs.pod:2785
42925 msgid "C<test-tool>"
42926 msgstr ""
42927
42928 #. type: textblock
42929 #: ../libguestfs-1.11.20/src/guestfs.pod:2787 ../src/guestfs.pod:2787
42930 msgid ""
42931 "Test tool for end users to test if their qemu/kernel combination will work "
42932 "with libguestfs."
42933 msgstr ""
42934
42935 #. type: =item
42936 #: ../libguestfs-1.11.20/src/guestfs.pod:2790 ../src/guestfs.pod:2790
42937 msgid "C<csharp>"
42938 msgstr ""
42939
42940 #. type: =item
42941 #: ../libguestfs-1.11.20/src/guestfs.pod:2792 ../src/guestfs.pod:2792
42942 msgid "C<haskell>"
42943 msgstr ""
42944
42945 #. type: =item
42946 #: ../libguestfs-1.11.20/src/guestfs.pod:2794 ../src/guestfs.pod:2794
42947 msgid "C<java>"
42948 msgstr ""
42949
42950 #. type: =item
42951 #: ../libguestfs-1.11.20/src/guestfs.pod:2796 ../src/guestfs.pod:2796
42952 msgid "C<ocaml>"
42953 msgstr ""
42954
42955 #. type: =item
42956 #: ../libguestfs-1.11.20/src/guestfs.pod:2798 ../src/guestfs.pod:2798
42957 msgid "C<php>"
42958 msgstr ""
42959
42960 #. type: =item
42961 #: ../libguestfs-1.11.20/src/guestfs.pod:2800 ../src/guestfs.pod:2800
42962 msgid "C<perl>"
42963 msgstr ""
42964
42965 #. type: =item
42966 #: ../libguestfs-1.11.20/src/guestfs.pod:2802 ../src/guestfs.pod:2802
42967 msgid "C<python>"
42968 msgstr ""
42969
42970 #. type: =item
42971 #: ../libguestfs-1.11.20/src/guestfs.pod:2804 ../src/guestfs.pod:2804
42972 msgid "C<ruby>"
42973 msgstr ""
42974
42975 #. type: textblock
42976 #: ../libguestfs-1.11.20/src/guestfs.pod:2806 ../src/guestfs.pod:2806
42977 msgid "Language bindings."
42978 msgstr ""
42979
42980 #. type: =head2
42981 #: ../libguestfs-1.11.20/src/guestfs.pod:2810 ../src/guestfs.pod:2810
42982 msgid "MAKING A STABLE RELEASE"
42983 msgstr ""
42984
42985 #. type: textblock
42986 #: ../libguestfs-1.11.20/src/guestfs.pod:2812 ../src/guestfs.pod:2812
42987 msgid ""
42988 "When we make a stable release, there are several steps documented here.  See "
42989 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
42990 "branch policy."
42991 msgstr ""
42992
42993 #. type: textblock
42994 #: ../libguestfs-1.11.20/src/guestfs.pod:2820 ../src/guestfs.pod:2820
42995 msgid "Finalize RELEASE-NOTES."
42996 msgstr ""
42997
42998 #. type: textblock
42999 #: ../libguestfs-1.11.20/src/guestfs.pod:2824 ../src/guestfs.pod:2824
43000 msgid "Update ROADMAP."
43001 msgstr ""
43002
43003 #. type: textblock
43004 #: ../libguestfs-1.11.20/src/guestfs.pod:2828 ../src/guestfs.pod:2828
43005 msgid "Run C<src/api-support/update-from-tarballs.sh>."
43006 msgstr ""
43007
43008 #. type: textblock
43009 #: ../libguestfs-1.11.20/src/guestfs.pod:2832 ../src/guestfs.pod:2832
43010 msgid "Push and pull from Transifex."
43011 msgstr ""
43012
43013 #. type: textblock
43014 #: ../libguestfs-1.11.20/src/guestfs.pod:2834 ../src/guestfs.pod:2834
43015 msgid "Run:"
43016 msgstr ""
43017
43018 #. type: verbatim
43019 #: ../libguestfs-1.11.20/src/guestfs.pod:2836 ../src/guestfs.pod:2836
43020 #, no-wrap
43021 msgid ""
43022 " tx push -s\n"
43023 "\n"
43024 msgstr ""
43025
43026 #. type: textblock
43027 #: ../libguestfs-1.11.20/src/guestfs.pod:2838 ../src/guestfs.pod:2838
43028 msgid "to push the latest POT files to Transifex.  Then run:"
43029 msgstr ""
43030
43031 #. type: verbatim
43032 #: ../libguestfs-1.11.20/src/guestfs.pod:2840 ../src/guestfs.pod:2840
43033 #, no-wrap
43034 msgid ""
43035 " ./tx-pull.sh\n"
43036 "\n"
43037 msgstr ""
43038
43039 #. type: textblock
43040 #: ../libguestfs-1.11.20/src/guestfs.pod:2842 ../src/guestfs.pod:2842
43041 msgid "which is a wrapper to pull the latest translated C<*.po> files."
43042 msgstr ""
43043
43044 #. type: textblock
43045 #: ../libguestfs-1.11.20/src/guestfs.pod:2846 ../src/guestfs.pod:2846
43046 msgid ""
43047 "Create new stable and development directories under L<http://libguestfs.org/"
43048 "download>."
43049 msgstr ""
43050
43051 #. type: textblock
43052 #: ../libguestfs-1.11.20/src/guestfs.pod:2851 ../src/guestfs.pod:2851
43053 msgid "Create the branch in git:"
43054 msgstr ""
43055
43056 #. type: verbatim
43057 #: ../libguestfs-1.11.20/src/guestfs.pod:2853 ../src/guestfs.pod:2853
43058 #, no-wrap
43059 msgid ""
43060 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
43061 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
43062 " git branch stable-1.XX\n"
43063 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
43064 "\n"
43065 msgstr ""
43066
43067 #. type: =head1
43068 #: ../libguestfs-1.11.20/src/guestfs.pod:2860 ../src/guestfs.pod:2860
43069 msgid "LIMITS"
43070 msgstr ""
43071
43072 #. type: =head2
43073 #: ../libguestfs-1.11.20/src/guestfs.pod:2862 ../src/guestfs.pod:2862
43074 msgid "PROTOCOL LIMITS"
43075 msgstr ""
43076
43077 #. type: textblock
43078 #: ../libguestfs-1.11.20/src/guestfs.pod:2864 ../src/guestfs.pod:2864
43079 msgid ""
43080 "Internally libguestfs uses a message-based protocol to pass API calls and "
43081 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
43082 "plenty more detail about this).  The maximum message size used by the "
43083 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
43084 "aware of this limit.  The API calls which may be affected are individually "
43085 "documented, with a link back to this section of the documentation."
43086 msgstr ""
43087
43088 #. type: textblock
43089 #: ../libguestfs-1.11.20/src/guestfs.pod:2872 ../src/guestfs.pod:2872
43090 msgid ""
43091 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
43092 "a simple string.  Because this string is at some point internally encoded as "
43093 "a message, the maximum size that it can return is slightly under 4 MB.  If "
43094 "the requested file is larger than this then you will get an error."
43095 msgstr ""
43096
43097 #. type: textblock
43098 #: ../libguestfs-1.11.20/src/guestfs.pod:2878 ../src/guestfs.pod:2878
43099 msgid ""
43100 "In order to transfer large files into and out of the guest filesystem, you "
43101 "need to use particular calls that support this.  The sections L</UPLOADING> "
43102 "and L</DOWNLOADING> document how to do this."
43103 msgstr ""
43104
43105 #. type: textblock
43106 #: ../libguestfs-1.11.20/src/guestfs.pod:2882 ../src/guestfs.pod:2882
43107 msgid ""
43108 "You might also consider mounting the disk image using our FUSE filesystem "
43109 "support (L<guestmount(1)>)."
43110 msgstr ""
43111
43112 #. type: =head2
43113 #: ../libguestfs-1.11.20/src/guestfs.pod:2885 ../src/guestfs.pod:2885
43114 msgid "MAXIMUM NUMBER OF DISKS"
43115 msgstr ""
43116
43117 #. type: textblock
43118 #: ../libguestfs-1.11.20/src/guestfs.pod:2887 ../src/guestfs.pod:2887
43119 msgid "When using virtio disks (the default) the current limit is B<25> disks."
43120 msgstr ""
43121
43122 #. type: textblock
43123 #: ../libguestfs-1.11.20/src/guestfs.pod:2890 ../src/guestfs.pod:2890
43124 msgid ""
43125 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
43126 "slots.  However febootstrap only understands disks with names C</dev/vda> "
43127 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
43128 "purposes."
43129 msgstr ""
43130
43131 #. type: textblock
43132 #: ../libguestfs-1.11.20/src/guestfs.pod:2895 ../src/guestfs.pod:2895
43133 msgid ""
43134 "We are working to substantially raise this limit in future versions but it "
43135 "requires complex changes to qemu."
43136 msgstr ""
43137
43138 #. type: textblock
43139 #: ../libguestfs-1.11.20/src/guestfs.pod:2898 ../src/guestfs.pod:2898
43140 msgid ""
43141 "In future versions of libguestfs it should also be possible to \"hot plug\" "
43142 "disks (add and remove disks after calling L</guestfs_launch>).  This also "
43143 "requires changes to qemu."
43144 msgstr ""
43145
43146 #. type: =head2
43147 #: ../libguestfs-1.11.20/src/guestfs.pod:2902 ../src/guestfs.pod:2902
43148 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
43149 msgstr ""
43150
43151 #. type: textblock
43152 #: ../libguestfs-1.11.20/src/guestfs.pod:2904 ../src/guestfs.pod:2904
43153 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
43154 msgstr ""
43155
43156 #. type: textblock
43157 #: ../libguestfs-1.11.20/src/guestfs.pod:2906 ../src/guestfs.pod:2906
43158 msgid ""
43159 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
43160 "vda>, and C</dev/vda1> through C</dev/vda15>)."
43161 msgstr ""
43162
43163 #. type: textblock
43164 #: ../libguestfs-1.11.20/src/guestfs.pod:2909 ../src/guestfs.pod:2909
43165 msgid ""
43166 "If you attach a disk with more than 15 partitions, the extra partitions are "
43167 "ignored by libguestfs."
43168 msgstr ""
43169
43170 #. type: =head2
43171 #: ../libguestfs-1.11.20/src/guestfs.pod:2912 ../src/guestfs.pod:2912
43172 msgid "MAXIMUM SIZE OF A DISK"
43173 msgstr ""
43174
43175 #. type: textblock
43176 #: ../libguestfs-1.11.20/src/guestfs.pod:2914 ../src/guestfs.pod:2914
43177 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
43178 msgstr ""
43179
43180 #. type: textblock
43181 #: ../libguestfs-1.11.20/src/guestfs.pod:2916 ../src/guestfs.pod:2916
43182 msgid ""
43183 "We have tested block devices up to 1 exabyte (2**60 or "
43184 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
43185 "filesystem."
43186 msgstr ""
43187
43188 #. type: textblock
43189 #: ../libguestfs-1.11.20/src/guestfs.pod:2920 ../src/guestfs.pod:2920
43190 msgid ""
43191 "Although libguestfs probably does not impose any limit, the underlying host "
43192 "storage will.  If you store disk images on a host ext4 filesystem, then the "
43193 "maximum size will be limited by the maximum ext4 file size (currently 16 "
43194 "TB).  If you store disk images as host logical volumes then you are limited "
43195 "by the maximum size of an LV."
43196 msgstr ""
43197
43198 #. type: textblock
43199 #: ../libguestfs-1.11.20/src/guestfs.pod:2926 ../src/guestfs.pod:2926
43200 msgid ""
43201 "For the hugest disk image files, we recommend using XFS on the host for "
43202 "storage."
43203 msgstr ""
43204
43205 #. type: =head2
43206 #: ../libguestfs-1.11.20/src/guestfs.pod:2929 ../src/guestfs.pod:2929
43207 msgid "MAXIMUM SIZE OF A PARTITION"
43208 msgstr ""
43209
43210 #. type: textblock
43211 #: ../libguestfs-1.11.20/src/guestfs.pod:2931 ../src/guestfs.pod:2931
43212 msgid ""
43213 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
43214 "numbers.  Assuming a 512 byte sector size, this means that MBR cannot "
43215 "address a partition located beyond 2 TB on the disk."
43216 msgstr ""
43217
43218 #. type: textblock
43219 #: ../libguestfs-1.11.20/src/guestfs.pod:2935 ../src/guestfs.pod:2935
43220 msgid ""
43221 "It is recommended that you use GPT partitions on disks which are larger than "
43222 "this size.  GPT uses 64 bit sector numbers and so can address partitions "
43223 "which are theoretically larger than the largest disk we could support."
43224 msgstr ""
43225
43226 #. type: =head2
43227 #: ../libguestfs-1.11.20/src/guestfs.pod:2940 ../src/guestfs.pod:2940
43228 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
43229 msgstr ""
43230
43231 #. type: textblock
43232 #: ../libguestfs-1.11.20/src/guestfs.pod:2942 ../src/guestfs.pod:2942
43233 msgid ""
43234 "This depends on the filesystem type.  libguestfs itself does not impose any "
43235 "known limit.  Consult Wikipedia or the filesystem documentation to find out "
43236 "what these limits are."
43237 msgstr ""
43238
43239 #. type: =head2
43240 #: ../libguestfs-1.11.20/src/guestfs.pod:2946 ../src/guestfs.pod:2946
43241 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
43242 msgstr ""
43243
43244 #. type: textblock
43245 #: ../libguestfs-1.11.20/src/guestfs.pod:2948 ../src/guestfs.pod:2948
43246 msgid ""
43247 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
43248 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
43249 "uploads and downloads."
43250 msgstr ""
43251
43252 #. type: =head2
43253 #: ../libguestfs-1.11.20/src/guestfs.pod:2952 ../src/guestfs.pod:2952
43254 msgid "INSPECTION LIMITS"
43255 msgstr ""
43256
43257 #. type: textblock
43258 #: ../libguestfs-1.11.20/src/guestfs.pod:2954 ../src/guestfs.pod:2954
43259 msgid ""
43260 "The inspection code has several arbitrary limits on things like the size of "
43261 "Windows Registry hive it will read, and the length of product name.  These "
43262 "are intended to stop a malicious guest from consuming arbitrary amounts of "
43263 "memory and disk space on the host, and should not be reached in practice.  "
43264 "See the source code for more information."
43265 msgstr ""
43266
43267 #. type: textblock
43268 #: ../libguestfs-1.11.20/src/guestfs.pod:2970 ../src/guestfs.pod:2970
43269 msgid ""
43270 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
43271 "effect as calling C<guestfs_set_verbose (g, 1)>."
43272 msgstr ""
43273
43274 #. type: textblock
43275 #: ../libguestfs-1.11.20/src/guestfs.pod:2982 ../src/guestfs.pod:2982
43276 msgid ""
43277 "Set the path that libguestfs uses to search for a supermin appliance.  See "
43278 "the discussion of paths in section L</PATH> above."
43279 msgstr ""
43280
43281 #. type: textblock
43282 #: ../libguestfs-1.11.20/src/guestfs.pod:2991 ../src/guestfs.pod:2991
43283 msgid "See also L</QEMU WRAPPERS> above."
43284 msgstr ""
43285
43286 #. type: textblock
43287 #: ../libguestfs-1.11.20/src/guestfs.pod:2995 ../src/guestfs.pod:2995
43288 msgid ""
43289 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
43290 "effect as calling C<guestfs_set_trace (g, 1)>."
43291 msgstr ""
43292
43293 #. type: textblock
43294 #: ../libguestfs-1.11.20/src/guestfs.pod:3013 ../src/guestfs.pod:3013
43295 msgid ""
43296 "L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-"
43297 "perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, L<guestfish(1)>, "
43298 "L<guestmount(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
43299 "L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)"
43300 ">, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, "
43301 "L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-tar-in(1)>, "
43302 "L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, "
43303 "L<hivex(3)>, L<http://libguestfs.org/>."
43304 msgstr ""
43305
43306 #. type: textblock
43307 #: ../libguestfs-1.11.20/src/guestfs.pod:3042 ../src/guestfs.pod:3042
43308 msgid ""
43309 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
43310 "(8)>, L<disktype(1)>."
43311 msgstr ""
43312
43313 #. type: =head1
43314 #: ../libguestfs-1.11.20/src/guestfs.pod:3049 ../src/guestfs.pod:3049
43315 #: ../tools/virt-make-fs.pl:553 ../tools/virt-win-reg.pl:761
43316 msgid "BUGS"
43317 msgstr ""
43318
43319 #. type: textblock
43320 #: ../libguestfs-1.11.20/src/guestfs.pod:3051 ../src/guestfs.pod:3051
43321 msgid "To get a list of bugs against libguestfs use this link:"
43322 msgstr ""
43323
43324 #. type: textblock
43325 #: ../libguestfs-1.11.20/src/guestfs.pod:3053 ../src/guestfs.pod:3053
43326 msgid ""
43327 "L<https://bugzilla.redhat.com/buglist.cgi?"
43328 "component=libguestfs&product=Virtualization+Tools>"
43329 msgstr ""
43330
43331 #. type: textblock
43332 #: ../libguestfs-1.11.20/src/guestfs.pod:3055 ../src/guestfs.pod:3055
43333 msgid "To report a new bug against libguestfs use this link:"
43334 msgstr ""
43335
43336 #. type: textblock
43337 #: ../libguestfs-1.11.20/src/guestfs.pod:3057 ../src/guestfs.pod:3057
43338 msgid ""
43339 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
43340 "component=libguestfs&product=Virtualization+Tools>"
43341 msgstr ""
43342
43343 #. type: textblock
43344 #: ../libguestfs-1.11.20/src/guestfs.pod:3059 ../src/guestfs.pod:3059
43345 msgid "When reporting a bug, please check:"
43346 msgstr ""
43347
43348 #. type: textblock
43349 #: ../libguestfs-1.11.20/src/guestfs.pod:3065 ../src/guestfs.pod:3065
43350 msgid "That the bug hasn't been reported already."
43351 msgstr ""
43352
43353 #. type: textblock
43354 #: ../libguestfs-1.11.20/src/guestfs.pod:3069 ../src/guestfs.pod:3069
43355 msgid "That you are testing a recent version."
43356 msgstr ""
43357
43358 #. type: textblock
43359 #: ../libguestfs-1.11.20/src/guestfs.pod:3073 ../src/guestfs.pod:3073
43360 msgid "Describe the bug accurately, and give a way to reproduce it."
43361 msgstr ""
43362
43363 #. type: textblock
43364 #: ../libguestfs-1.11.20/src/guestfs.pod:3077 ../src/guestfs.pod:3077
43365 msgid ""
43366 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
43367 "bug report."
43368 msgstr ""
43369
43370 #. type: textblock
43371 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:5
43372 #: ../test-tool/libguestfs-test-tool.pod:5
43373 msgid "libguestfs-test-tool - End user tests for libguestfs"
43374 msgstr ""
43375
43376 #. type: verbatim
43377 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:9
43378 #: ../test-tool/libguestfs-test-tool.pod:9
43379 #, no-wrap
43380 msgid ""
43381 " libguestfs-test-tool [--options]\n"
43382 "\n"
43383 msgstr ""
43384
43385 #. type: textblock
43386 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:13
43387 #: ../test-tool/libguestfs-test-tool.pod:13
43388 msgid ""
43389 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
43390 "and developers, to allow them to check basic libguestfs functionality is "
43391 "working.  This is needed because libguestfs occasionally breaks for reasons "
43392 "beyond our control: usually because of changes in the underlying qemu or "
43393 "kernel packages, or the host environment."
43394 msgstr ""
43395
43396 #. type: textblock
43397 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:20
43398 #: ../test-tool/libguestfs-test-tool.pod:20
43399 msgid "If you suspect a problem in libguestfs, then just run:"
43400 msgstr ""
43401
43402 #. type: verbatim
43403 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:22
43404 #: ../test-tool/libguestfs-test-tool.pod:22
43405 #, no-wrap
43406 msgid ""
43407 " libguestfs-test-tool\n"
43408 "\n"
43409 msgstr ""
43410
43411 #. type: textblock
43412 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:24
43413 #: ../test-tool/libguestfs-test-tool.pod:24
43414 msgid "It will print lots of diagnostic messages."
43415 msgstr ""
43416
43417 #. type: textblock
43418 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:26
43419 #: ../test-tool/libguestfs-test-tool.pod:26
43420 msgid "If it runs to completion successfully, you will see this near the end:"
43421 msgstr ""
43422
43423 #. type: verbatim
43424 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:28
43425 #: ../test-tool/libguestfs-test-tool.pod:28
43426 #, no-wrap
43427 msgid ""
43428 " ===== TEST FINISHED OK =====\n"
43429 "\n"
43430 msgstr ""
43431
43432 #. type: textblock
43433 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:30
43434 #: ../test-tool/libguestfs-test-tool.pod:30
43435 msgid "and the test tool will exit with code 0."
43436 msgstr ""
43437
43438 #. type: textblock
43439 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:32
43440 #: ../test-tool/libguestfs-test-tool.pod:32
43441 msgid ""
43442 "If it fails (and/or exits with non-zero error code), please paste the "
43443 "B<complete, unedited> output of the test tool into a bug report.  More "
43444 "information about reporting bugs can be found on the L<http://libguestfs.org/"
43445 "> website."
43446 msgstr ""
43447
43448 #. type: =item
43449 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:41
43450 #: ../test-tool/libguestfs-test-tool.pod:41
43451 msgid "I<--help>"
43452 msgstr ""
43453
43454 #. type: textblock
43455 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:43
43456 #: ../test-tool/libguestfs-test-tool.pod:43
43457 msgid "Display short usage information and exit."
43458 msgstr ""
43459
43460 #. type: =item
43461 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:45
43462 #: ../test-tool/libguestfs-test-tool.pod:45
43463 msgid "I<--qemu qemu_binary>"
43464 msgstr ""
43465
43466 #. type: textblock
43467 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:47
43468 #: ../test-tool/libguestfs-test-tool.pod:47
43469 msgid ""
43470 "If you have downloaded another qemu binary, point this option at the full "
43471 "path of the binary to try it."
43472 msgstr ""
43473
43474 #. type: =item
43475 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:50
43476 #: ../test-tool/libguestfs-test-tool.pod:50
43477 msgid "I<--qemudir qemu_source_dir>"
43478 msgstr ""
43479
43480 #. type: textblock
43481 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:52
43482 #: ../test-tool/libguestfs-test-tool.pod:52
43483 msgid ""
43484 "If you have compiled qemu from source, point this option at the source "
43485 "directory to try it."
43486 msgstr ""
43487
43488 #. type: =item
43489 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:55
43490 #: ../test-tool/libguestfs-test-tool.pod:55
43491 msgid "I<--timeout N>"
43492 msgstr ""
43493
43494 #. type: textblock
43495 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:57
43496 #: ../test-tool/libguestfs-test-tool.pod:57
43497 msgid ""
43498 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
43499 "does not usually need to be adjusted unless your machine is very slow."
43500 msgstr ""
43501
43502 #. type: =head1
43503 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:63
43504 #: ../test-tool/libguestfs-test-tool.pod:63
43505 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
43506 msgstr ""
43507
43508 #. type: textblock
43509 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:65
43510 #: ../test-tool/libguestfs-test-tool.pod:65
43511 msgid ""
43512 "If you have compiled another version of qemu from source and would like to "
43513 "try that, then you can use the I<--qemudir> option to point to the qemu "
43514 "source directory."
43515 msgstr ""
43516
43517 #. type: textblock
43518 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:69
43519 #: ../test-tool/libguestfs-test-tool.pod:69
43520 msgid ""
43521 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
43522 "option to point to the binary."
43523 msgstr ""
43524
43525 #. type: textblock
43526 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:72
43527 #: ../test-tool/libguestfs-test-tool.pod:72
43528 msgid ""
43529 "When using an alternate qemu with libguestfs, usually you would need to "
43530 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
43531 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
43532 "use either of the I<--qemudir> or I<--qemu> options."
43533 msgstr ""
43534
43535 #. type: textblock
43536 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:79
43537 #: ../test-tool/libguestfs-test-tool.pod:79
43538 msgid ""
43539 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
43540 "I<1> if there was an error."
43541 msgstr ""
43542
43543 #. type: textblock
43544 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:84
43545 #: ../test-tool/libguestfs-test-tool.pod:84
43546 msgid ""
43547 "For the full list of environment variables which may affect libguestfs, "
43548 "please see the L<guestfs(3)> manual page."
43549 msgstr ""
43550
43551 #. type: textblock
43552 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:89
43553 #: ../test-tool/libguestfs-test-tool.pod:89
43554 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
43555 msgstr ""
43556
43557 #. type: textblock
43558 #: ../tools/virt-list-filesystems.pl:32
43559 msgid ""
43560 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
43561 msgstr ""
43562
43563 #. type: verbatim
43564 #: ../tools/virt-list-filesystems.pl:36
43565 #, no-wrap
43566 msgid ""
43567 " virt-list-filesystems [--options] domname\n"
43568 "\n"
43569 msgstr ""
43570
43571 #. type: verbatim
43572 #: ../tools/virt-list-filesystems.pl:38
43573 #, no-wrap
43574 msgid ""
43575 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
43576 "\n"
43577 msgstr ""
43578
43579 #. type: textblock
43580 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
43581 msgid ""
43582 "This tool is obsolete.  Use L<virt-filesystems(1)> as a more flexible "
43583 "replacement."
43584 msgstr ""
43585
43586 #. type: textblock
43587 #: ../tools/virt-list-filesystems.pl:45
43588 msgid ""
43589 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
43590 "are contained in a virtual machine or disk image."
43591 msgstr ""
43592
43593 #. type: textblock
43594 #: ../tools/virt-list-filesystems.pl:49
43595 msgid ""
43596 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
43597 "functionality.  For more complex cases you should look at the L<guestfish(1)"
43598 "> tool."
43599 msgstr ""
43600
43601 #. type: textblock
43602 #: ../tools/virt-list-filesystems.pl:112
43603 msgid ""
43604 "With this option, C<virt-list-filesystems> displays the type of each "
43605 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
43606 msgstr ""
43607
43608 #. type: =item
43609 #: ../tools/virt-list-filesystems.pl:119
43610 msgid "B<-a>"
43611 msgstr ""
43612
43613 #. type: textblock
43614 #: ../tools/virt-list-filesystems.pl:123
43615 msgid ""
43616 "Normally we only show mountable filesystems.  If this option is given then "
43617 "swap devices are shown too."
43618 msgstr ""
43619
43620 #. type: textblock
43621 #: ../tools/virt-list-filesystems.pl:197
43622 msgid ""
43623 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
43624 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
43625 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43626 msgstr ""
43627
43628 #. type: textblock
43629 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
43630 msgid "Copyright (C) 2009 Red Hat Inc."
43631 msgstr ""
43632
43633 #. type: textblock
43634 #: ../tools/virt-list-partitions.pl:32
43635 msgid ""
43636 "virt-list-partitions - List partitions in a virtual machine or disk image"
43637 msgstr ""
43638
43639 #. type: verbatim
43640 #: ../tools/virt-list-partitions.pl:36
43641 #, no-wrap
43642 msgid ""
43643 " virt-list-partitions [--options] domname\n"
43644 "\n"
43645 msgstr ""
43646
43647 #. type: verbatim
43648 #: ../tools/virt-list-partitions.pl:38
43649 #, no-wrap
43650 msgid ""
43651 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
43652 "\n"
43653 msgstr ""
43654
43655 #. type: textblock
43656 #: ../tools/virt-list-partitions.pl:45
43657 msgid ""
43658 "C<virt-list-partitions> is a command line tool to list the partitions that "
43659 "are contained in a virtual machine or disk image.  It is mainly useful as a "
43660 "first step to using L<virt-resize(1)>."
43661 msgstr ""
43662
43663 #. type: textblock
43664 #: ../tools/virt-list-partitions.pl:50
43665 msgid ""
43666 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
43667 "functionality.  For more complex cases you should look at the L<guestfish(1)"
43668 "> tool."
43669 msgstr ""
43670
43671 #. type: textblock
43672 #: ../tools/virt-list-partitions.pl:113
43673 msgid "Show sizes in human-readable form (eg. \"1G\")."
43674 msgstr ""
43675
43676 #. type: textblock
43677 #: ../tools/virt-list-partitions.pl:123
43678 msgid ""
43679 "With this option, C<virt-list-partitions> displays the type and size of each "
43680 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
43681 msgstr ""
43682
43683 #. type: =item
43684 #: ../tools/virt-list-partitions.pl:130
43685 msgid "B<-t>"
43686 msgstr ""
43687
43688 #. type: =item
43689 #: ../tools/virt-list-partitions.pl:132
43690 msgid "B<--total>"
43691 msgstr ""
43692
43693 #. type: textblock
43694 #: ../tools/virt-list-partitions.pl:134
43695 msgid ""
43696 "Display the total size of each block device (as a separate row or rows)."
43697 msgstr ""
43698
43699 #. type: textblock
43700 #: ../tools/virt-list-partitions.pl:267
43701 msgid ""
43702 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
43703 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
43704 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43705 msgstr ""
43706
43707 #. type: textblock
43708 #: ../tools/virt-list-partitions.pl:283
43709 msgid "Copyright (C) 2009-2010 Red Hat Inc."
43710 msgstr ""
43711
43712 #. type: textblock
43713 #: ../tools/virt-make-fs.pl:37
43714 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
43715 msgstr ""
43716
43717 #. type: verbatim
43718 #: ../tools/virt-make-fs.pl:41
43719 #, no-wrap
43720 msgid ""
43721 " virt-make-fs [--options] input.tar output.img\n"
43722 "\n"
43723 msgstr ""
43724
43725 #. type: verbatim
43726 #: ../tools/virt-make-fs.pl:43
43727 #, no-wrap
43728 msgid ""
43729 " virt-make-fs [--options] input.tar.gz output.img\n"
43730 "\n"
43731 msgstr ""
43732
43733 #. type: verbatim
43734 #: ../tools/virt-make-fs.pl:45
43735 #, no-wrap
43736 msgid ""
43737 " virt-make-fs [--options] directory output.img\n"
43738 "\n"
43739 msgstr ""
43740
43741 #. type: textblock
43742 #: ../tools/virt-make-fs.pl:49
43743 msgid ""
43744 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
43745 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
43746 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
43747 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
43748 "you want to attach these filesystems to existing virtual machines (eg. to "
43749 "import large amounts of read-only data to a VM)."
43750 msgstr ""
43751
43752 #. type: textblock
43753 #: ../tools/virt-make-fs.pl:57
43754 msgid "Basic usage is:"
43755 msgstr ""
43756
43757 #. type: verbatim
43758 #: ../tools/virt-make-fs.pl:59
43759 #, no-wrap
43760 msgid ""
43761 " virt-make-fs input output\n"
43762 "\n"
43763 msgstr ""
43764
43765 #. type: textblock
43766 #: ../tools/virt-make-fs.pl:61
43767 msgid ""
43768 "where C<input> is either a directory containing files that you want to add, "
43769 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
43770 "C<output> is a disk image.  The input type is detected automatically.  The "
43771 "output disk image defaults to a raw ext2 image unless you specify extra "
43772 "flags (see L</OPTIONS> below)."
43773 msgstr ""
43774
43775 #. type: =head2
43776 #: ../tools/virt-make-fs.pl:67
43777 msgid "EXTRA SPACE"
43778 msgstr ""
43779
43780 #. type: textblock
43781 #: ../tools/virt-make-fs.pl:69
43782 msgid ""
43783 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
43784 "the files that it contains, but might have extra space.  Depending on how "
43785 "you are going to use the output, you might think this extra space is wasted "
43786 "and want to minimize it, or you might want to leave space so that more files "
43787 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
43788 "but you can use the I<--size> flag to leave space in the filesystem if you "
43789 "want it."
43790 msgstr ""
43791
43792 #. type: textblock
43793 #: ../tools/virt-make-fs.pl:77
43794 msgid ""
43795 "An alternative way to leave extra space but not make the output image any "
43796 "bigger is to use an alternative disk image format (instead of the default "
43797 "\"raw\" format).  Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
43798 "image format (check your hypervisor supports this before using it).  This "
43799 "allows you to choose a large I<--size> but the extra space won't actually be "
43800 "allocated in the image until you try to store something in it."
43801 msgstr ""
43802
43803 #. type: textblock
43804 #: ../tools/virt-make-fs.pl:85
43805 msgid ""
43806 "Don't forget that you can also use local commands including L<resize2fs(8)> "
43807 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
43808 "to build another image from scratch."
43809 msgstr ""
43810
43811 #. type: =head3
43812 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
43813 #: ../tools/virt-make-fs.pl:142
43814 msgid "EXAMPLE"
43815 msgstr ""
43816
43817 #. type: verbatim
43818 #: ../tools/virt-make-fs.pl:91
43819 #, no-wrap
43820 msgid ""
43821 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
43822 "\n"
43823 msgstr ""
43824
43825 #. type: =head2
43826 #: ../tools/virt-make-fs.pl:93
43827 msgid "FILESYSTEM TYPE"
43828 msgstr ""
43829
43830 #. type: textblock
43831 #: ../tools/virt-make-fs.pl:95
43832 msgid ""
43833 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
43834 "libguestfs supports can be used (but I<not> read-only formats like "
43835 "ISO9660).  Here are some of the more common choices:"
43836 msgstr ""
43837
43838 #. type: =item
43839 #: ../tools/virt-make-fs.pl:101
43840 msgid "I<ext3>"
43841 msgstr ""
43842
43843 #. type: textblock
43844 #: ../tools/virt-make-fs.pl:103
43845 msgid ""
43846 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
43847 "you are not going to use the filesystem in a way that requires the journal, "
43848 "then this is just wasted overhead."
43849 msgstr ""
43850
43851 #. type: =item
43852 #: ../tools/virt-make-fs.pl:107
43853 msgid "I<ntfs> or I<vfat>"
43854 msgstr ""
43855
43856 #. type: textblock
43857 #: ../tools/virt-make-fs.pl:109
43858 msgid "Useful if exporting data to a Windows guest."
43859 msgstr ""
43860
43861 #. type: textblock
43862 #: ../tools/virt-make-fs.pl:111
43863 msgid ""
43864 "I<Note for vfat>: The tar archive or local directory must only contain files "
43865 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
43866 "program running within libguestfs is unable to change the ownership of non-"
43867 "root files, since vfat itself does not support this."
43868 msgstr ""
43869
43870 #. type: =item
43871 #: ../tools/virt-make-fs.pl:116
43872 msgid "I<minix>"
43873 msgstr ""
43874
43875 #. type: textblock
43876 #: ../tools/virt-make-fs.pl:118
43877 msgid ""
43878 "Lower overhead than C<ext2>, but certain limitations on filename length and "
43879 "total filesystem size."
43880 msgstr ""
43881
43882 #. type: verbatim
43883 #: ../tools/virt-make-fs.pl:125
43884 #, no-wrap
43885 msgid ""
43886 " virt-make-fs --type=minix input minixfs.img\n"
43887 "\n"
43888 msgstr ""
43889
43890 #. type: =head2
43891 #: ../tools/virt-make-fs.pl:127
43892 msgid "TO PARTITION OR NOT TO PARTITION"
43893 msgstr ""
43894
43895 #. type: textblock
43896 #: ../tools/virt-make-fs.pl:129
43897 msgid "Optionally virt-make-fs can add a partition table to the output disk."
43898 msgstr ""
43899
43900 #. type: textblock
43901 #: ../tools/virt-make-fs.pl:131
43902 msgid ""
43903 "Adding a partition can make the disk image more compatible with certain "
43904 "virtualized operating systems which don't expect to see a filesystem "
43905 "directly located on a block device (Linux doesn't care and will happily "
43906 "handle both types)."
43907 msgstr ""
43908
43909 #. type: textblock
43910 #: ../tools/virt-make-fs.pl:136
43911 msgid ""
43912 "On the other hand, if you have a partition table then the output image is no "
43913 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
43914 "directly on a partitioned disk image.  (However libguestfs tools such as "
43915 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
43916 msgstr ""
43917
43918 #. type: textblock
43919 #: ../tools/virt-make-fs.pl:144
43920 msgid "Add an MBR partition:"
43921 msgstr ""
43922
43923 #. type: verbatim
43924 #: ../tools/virt-make-fs.pl:146
43925 #, no-wrap
43926 msgid ""
43927 " virt-make-fs --partition -- input disk.img\n"
43928 "\n"
43929 msgstr ""
43930
43931 #. type: textblock
43932 #: ../tools/virt-make-fs.pl:148
43933 msgid ""
43934 "If the output disk image could be terabyte-sized or larger, it's better to "
43935 "use an EFI/GPT-compatible partition table:"
43936 msgstr ""
43937
43938 #. type: verbatim
43939 #: ../tools/virt-make-fs.pl:151
43940 #, no-wrap
43941 msgid ""
43942 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
43943 "\n"
43944 msgstr ""
43945
43946 #. type: textblock
43947 #: ../tools/virt-make-fs.pl:179
43948 msgid "Enable debugging information."
43949 msgstr ""
43950
43951 #. type: =item
43952 #: ../tools/virt-make-fs.pl:185
43953 msgid "B<--size=E<lt>NE<gt>>"
43954 msgstr ""
43955
43956 #. type: =item
43957 #: ../tools/virt-make-fs.pl:187
43958 msgid "B<--size=+E<lt>NE<gt>>"
43959 msgstr ""
43960
43961 #. type: =item
43962 #: ../tools/virt-make-fs.pl:189
43963 msgid "B<-s E<lt>NE<gt>>"
43964 msgstr ""
43965
43966 #. type: =item
43967 #: ../tools/virt-make-fs.pl:191
43968 msgid "B<-s +E<lt>NE<gt>>"
43969 msgstr ""
43970
43971 #. type: textblock
43972 #: ../tools/virt-make-fs.pl:193
43973 msgid ""
43974 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
43975 msgstr ""
43976
43977 #. type: textblock
43978 #: ../tools/virt-make-fs.pl:196
43979 msgid ""
43980 "If this option is I<not> given, then the output image will be just large "
43981 "enough to contain all the files, with not much wasted space."
43982 msgstr ""
43983
43984 #. type: textblock
43985 #: ../tools/virt-make-fs.pl:199
43986 msgid ""
43987 "To choose a fixed size output disk, specify an absolute number followed by b/"
43988 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
43989 "Petabytes or Exabytes.  This must be large enough to contain all the input "
43990 "files, else you will get an error."
43991 msgstr ""
43992
43993 #. type: textblock
43994 #: ../tools/virt-make-fs.pl:204
43995 msgid ""
43996 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
43997 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
43998 "Petabytes or Exabytes.  For example: I<--size=+200M> means enough space for "
43999 "the input files, and (approximately) an extra 200 MB free space."
44000 msgstr ""
44001
44002 #. type: textblock
44003 #: ../tools/virt-make-fs.pl:210
44004 msgid ""
44005 "Note that virt-make-fs estimates free space, and therefore will not produce "
44006 "filesystems containing precisely the free space requested.  (It is much more "
44007 "expensive and time-consuming to produce a filesystem which has precisely the "
44008 "desired free space)."
44009 msgstr ""
44010
44011 #. type: =item
44012 #: ../tools/virt-make-fs.pl:219
44013 msgid "B<--format=E<lt>fmtE<gt>>"
44014 msgstr ""
44015
44016 #. type: =item
44017 #: ../tools/virt-make-fs.pl:221
44018 msgid "B<-F E<lt>fmtE<gt>>"
44019 msgstr ""
44020
44021 #. type: textblock
44022 #: ../tools/virt-make-fs.pl:223
44023 msgid "Choose the output disk image format."
44024 msgstr ""
44025
44026 #. type: textblock
44027 #: ../tools/virt-make-fs.pl:225
44028 msgid "The default is C<raw> (raw disk image)."
44029 msgstr ""
44030
44031 #. type: textblock
44032 #: ../tools/virt-make-fs.pl:227
44033 msgid ""
44034 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
44035 "that would really make sense here is C<qcow2>."
44036 msgstr ""
44037
44038 #. type: =item
44039 #: ../tools/virt-make-fs.pl:234
44040 msgid "B<--type=E<lt>fsE<gt>>"
44041 msgstr ""
44042
44043 #. type: =item
44044 #: ../tools/virt-make-fs.pl:236
44045 msgid "B<-t E<lt>fsE<gt>>"
44046 msgstr ""
44047
44048 #. type: textblock
44049 #: ../tools/virt-make-fs.pl:238
44050 msgid "Choose the output filesystem type."
44051 msgstr ""
44052
44053 #. type: textblock
44054 #: ../tools/virt-make-fs.pl:240
44055 msgid "The default is C<ext2>."
44056 msgstr ""
44057
44058 #. type: textblock
44059 #: ../tools/virt-make-fs.pl:242
44060 msgid ""
44061 "Any filesystem which is supported read-write by libguestfs can be used here."
44062 msgstr ""
44063
44064 #. type: =item
44065 #: ../tools/virt-make-fs.pl:249
44066 msgid "B<--partition>"
44067 msgstr ""
44068
44069 #. type: =item
44070 #: ../tools/virt-make-fs.pl:251
44071 msgid "B<--partition=E<lt>parttypeE<gt>>"
44072 msgstr ""
44073
44074 #. type: textblock
44075 #: ../tools/virt-make-fs.pl:253
44076 msgid ""
44077 "If specified, this flag adds an MBR partition table to the output disk image."
44078 msgstr ""
44079
44080 #. type: textblock
44081 #: ../tools/virt-make-fs.pl:256
44082 msgid ""
44083 "You can change the partition table type, eg. I<--partition=gpt> for large "
44084 "disks."
44085 msgstr ""
44086
44087 #. type: textblock
44088 #: ../tools/virt-make-fs.pl:259
44089 msgid ""
44090 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
44091 "might consider the next parameter to be the partition type.  For example:"
44092 msgstr ""
44093
44094 #. type: verbatim
44095 #: ../tools/virt-make-fs.pl:263
44096 #, no-wrap
44097 msgid ""
44098 " virt-make-fs --partition input.tar ...\n"
44099 "\n"
44100 msgstr ""
44101
44102 #. type: textblock
44103 #: ../tools/virt-make-fs.pl:265
44104 msgid ""
44105 "would cause virt-make-fs to think you wanted to use a partition type of "
44106 "C<input.tar> which is completely wrong.  To avoid this, use I<--> (a double "
44107 "dash) between options and the input file argument:"
44108 msgstr ""
44109
44110 #. type: verbatim
44111 #: ../tools/virt-make-fs.pl:269
44112 #, no-wrap
44113 msgid ""
44114 " virt-make-fs --partition -- input.tar ...\n"
44115 "\n"
44116 msgstr ""
44117
44118 #. type: textblock
44119 #: ../tools/virt-make-fs.pl:541
44120 msgid ""
44121 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
44122 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
44123 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
44124 msgstr ""
44125
44126 #. type: textblock
44127 #: ../tools/virt-make-fs.pl:555 ../tools/virt-win-reg.pl:763
44128 msgid ""
44129 "When reporting bugs, please enable debugging and capture the I<complete> "
44130 "output:"
44131 msgstr ""
44132
44133 #. type: verbatim
44134 #: ../tools/virt-make-fs.pl:558
44135 #, no-wrap
44136 msgid ""
44137 " export LIBGUESTFS_DEBUG=1\n"
44138 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
44139 "\n"
44140 msgstr ""
44141
44142 #. type: textblock
44143 #: ../tools/virt-make-fs.pl:561
44144 msgid ""
44145 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
44146 "redhat.com/>"
44147 msgstr ""
44148
44149 #. type: textblock
44150 #: ../tools/virt-tar.pl:33
44151 msgid "virt-tar - Extract or upload files to a virtual machine"
44152 msgstr ""
44153
44154 #. type: verbatim
44155 #: ../tools/virt-tar.pl:37
44156 #, no-wrap
44157 msgid ""
44158 " virt-tar [--options] -x domname directory tarball\n"
44159 "\n"
44160 msgstr ""
44161
44162 #. type: verbatim
44163 #: ../tools/virt-tar.pl:39
44164 #, no-wrap
44165 msgid ""
44166 " virt-tar [--options] -u domname tarball directory\n"
44167 "\n"
44168 msgstr ""
44169
44170 #. type: verbatim
44171 #: ../tools/virt-tar.pl:41
44172 #, no-wrap
44173 msgid ""
44174 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
44175 "\n"
44176 msgstr ""
44177
44178 #. type: verbatim
44179 #: ../tools/virt-tar.pl:43
44180 #, no-wrap
44181 msgid ""
44182 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
44183 "\n"
44184 msgstr ""
44185
44186 #. type: =head2
44187 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
44188 msgid "NOTE"
44189 msgstr ""
44190
44191 #. type: textblock
44192 #: ../tools/virt-tar.pl:47
44193 msgid ""
44194 "This tool is obsolete.  Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
44195 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
44196 msgstr ""
44197
44198 #. type: textblock
44199 #: ../tools/virt-tar.pl:52
44200 msgid "Download C</home> from the VM into a local tarball:"
44201 msgstr ""
44202
44203 #. type: verbatim
44204 #: ../tools/virt-tar.pl:54
44205 #, no-wrap
44206 msgid ""
44207 " virt-tar -x domname /home home.tar\n"
44208 "\n"
44209 msgstr ""
44210
44211 #. type: verbatim
44212 #: ../tools/virt-tar.pl:56
44213 #, no-wrap
44214 msgid ""
44215 " virt-tar -zx domname /home home.tar.gz\n"
44216 "\n"
44217 msgstr ""
44218
44219 #. type: textblock
44220 #: ../tools/virt-tar.pl:58
44221 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
44222 msgstr ""
44223
44224 #. type: verbatim
44225 #: ../tools/virt-tar.pl:60
44226 #, no-wrap
44227 msgid ""
44228 " virt-tar -u domname uploadstuff.tar /tmp\n"
44229 "\n"
44230 msgstr ""
44231
44232 #. type: verbatim
44233 #: ../tools/virt-tar.pl:62
44234 #, no-wrap
44235 msgid ""
44236 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
44237 "\n"
44238 msgstr ""
44239
44240 #. type: textblock
44241 #: ../tools/virt-tar.pl:66
44242 msgid ""
44243 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
44244 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
44245 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
44246 msgstr ""
44247
44248 #. type: textblock
44249 #: ../tools/virt-tar.pl:71
44250 msgid ""
44251 "You can use I<-x> (extract) on live virtual machines, but you might get "
44252 "inconsistent results or errors if there is filesystem activity inside the "
44253 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
44254 "work, but the only way to guarantee consistent results is if the virtual "
44255 "machine is shut down."
44256 msgstr ""
44257
44258 #. type: textblock
44259 #: ../tools/virt-tar.pl:79
44260 msgid ""
44261 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
44262 "parts of a guest filesystem.  There are many possibilities: making backups, "
44263 "uploading data files, snooping on guest activity, fixing or customizing "
44264 "guests, etc."
44265 msgstr ""
44266
44267 #. type: textblock
44268 #: ../tools/virt-tar.pl:84
44269 msgid ""
44270 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
44271 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
44272 "should look at the L<guestfish(1)> tool."
44273 msgstr ""
44274
44275 #. type: textblock
44276 #: ../tools/virt-tar.pl:88
44277 msgid ""
44278 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
44279 "its contents (recursively) from the virtual machine into a local tarball.  "
44280 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
44281 "virtual machine.  You cannot use these two options together."
44282 msgstr ""
44283
44284 #. type: textblock
44285 #: ../tools/virt-tar.pl:94
44286 msgid ""
44287 "In addition, you may need to use the I<-z> (gZip) option to enable "
44288 "compression.  When uploading, you have to specify I<-z> if the upload file "
44289 "is compressed because virt-tar won't detect this on its own."
44290 msgstr ""
44291
44292 #. type: textblock
44293 #: ../tools/virt-tar.pl:98
44294 msgid ""
44295 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
44296 "example it cannot do PKZip files or bzip2 compression.  If you want that "
44297 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
44298 "the L<libguestfs(3)> API)."
44299 msgstr ""
44300
44301 #. type: =item
44302 #: ../tools/virt-tar.pl:160
44303 msgid "B<--extract>"
44304 msgstr ""
44305
44306 #. type: =item
44307 #: ../tools/virt-tar.pl:162
44308 msgid "B<--download>"
44309 msgstr ""
44310
44311 #. type: =item
44312 #: ../tools/virt-tar.pl:164
44313 msgid "B<-u>"
44314 msgstr ""
44315
44316 #. type: =item
44317 #: ../tools/virt-tar.pl:166
44318 msgid "B<--upload>"
44319 msgstr ""
44320
44321 #. type: textblock
44322 #: ../tools/virt-tar.pl:168
44323 msgid ""
44324 "Use I<-x> to extract (download) a directory from a virtual machine to a "
44325 "local tarball."
44326 msgstr ""
44327
44328 #. type: textblock
44329 #: ../tools/virt-tar.pl:171
44330 msgid ""
44331 "Use I<-u> to upload and unpack from a local tarball into a virtual machine.  "
44332 "Please read the L</WARNING> section above before using this option."
44333 msgstr ""
44334
44335 #. type: textblock
44336 #: ../tools/virt-tar.pl:175
44337 msgid "You must specify exactly one of these options."
44338 msgstr ""
44339
44340 #. type: =item
44341 #: ../tools/virt-tar.pl:181
44342 msgid "B<-z>"
44343 msgstr ""
44344
44345 #. type: =item
44346 #: ../tools/virt-tar.pl:183
44347 msgid "B<--gzip>"
44348 msgstr ""
44349
44350 #. type: textblock
44351 #: ../tools/virt-tar.pl:185
44352 msgid "Specify that the input or output tarball is gzip-compressed."
44353 msgstr ""
44354
44355 #. type: textblock
44356 #: ../tools/virt-tar.pl:298
44357 msgid ""
44358 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
44359 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
44360 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
44361 "org/>."
44362 msgstr ""
44363
44364 #. type: textblock
44365 #: ../tools/virt-win-reg.pl:37
44366 msgid ""
44367 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
44368 msgstr ""
44369
44370 #. type: verbatim
44371 #: ../tools/virt-win-reg.pl:41
44372 #, no-wrap
44373 msgid ""
44374 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
44375 "\n"
44376 msgstr ""
44377
44378 #. type: verbatim
44379 #: ../tools/virt-win-reg.pl:43
44380 #, no-wrap
44381 msgid ""
44382 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
44383 "\n"
44384 msgstr ""
44385
44386 #. type: verbatim
44387 #: ../tools/virt-win-reg.pl:45
44388 #, no-wrap
44389 msgid ""
44390 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
44391 "\n"
44392 msgstr ""
44393
44394 #. type: verbatim
44395 #: ../tools/virt-win-reg.pl:47
44396 #, no-wrap
44397 msgid ""
44398 " virt-win-reg --merge domname [input.reg ...]\n"
44399 "\n"
44400 msgstr ""
44401
44402 #. type: verbatim
44403 #: ../tools/virt-win-reg.pl:49
44404 #, no-wrap
44405 msgid ""
44406 " virt-win-reg [--options] disk.img ... # instead of domname\n"
44407 "\n"
44408 msgstr ""
44409
44410 #. type: textblock
44411 #: ../tools/virt-win-reg.pl:53
44412 msgid ""
44413 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
44414 "virtual machines.  If you do this, you I<will> get irreversible disk "
44415 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
44416 "but doesn't catch all cases."
44417 msgstr ""
44418
44419 #. type: textblock
44420 #: ../tools/virt-win-reg.pl:58
44421 msgid ""
44422 "Modifying the Windows Registry is an inherently risky operation.  The format "
44423 "is deliberately obscure and undocumented, and Registry changes can leave the "
44424 "system unbootable.  Therefore when using the I<--merge> option, make sure "
44425 "you have a reliable backup first."
44426 msgstr ""
44427
44428 #. type: textblock
44429 #: ../tools/virt-win-reg.pl:65
44430 msgid ""
44431 "This program can export and merge Windows Registry entries from a Windows "
44432 "guest."
44433 msgstr ""
44434
44435 #. type: textblock
44436 #: ../tools/virt-win-reg.pl:68
44437 msgid ""
44438 "The first parameter is the libvirt guest name or the raw disk image of a "
44439 "Windows guest."
44440 msgstr ""
44441
44442 #. type: textblock
44443 #: ../tools/virt-win-reg.pl:71
44444 msgid ""
44445 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
44446 "exported (recursively).  For example:"
44447 msgstr ""
44448
44449 #. type: verbatim
44450 #: ../tools/virt-win-reg.pl:74
44451 #, no-wrap
44452 msgid ""
44453 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
44454 "\n"
44455 msgstr ""
44456
44457 #. type: textblock
44458 #: ../tools/virt-win-reg.pl:76
44459 msgid ""
44460 "You can also display single values from within registry keys, for example:"
44461 msgstr ""
44462
44463 #. type: verbatim
44464 #: ../tools/virt-win-reg.pl:79
44465 #, no-wrap
44466 msgid ""
44467 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
44468 " $ virt-win-reg Windows7 $cvkey ProductName\n"
44469 " Windows 7 Enterprise\n"
44470 "\n"
44471 msgstr ""
44472
44473 #. type: textblock
44474 #: ../tools/virt-win-reg.pl:83
44475 msgid ""
44476 "With I<--merge>, you can merge a textual regedit file into the Windows "
44477 "Registry:"
44478 msgstr ""
44479
44480 #. type: verbatim
44481 #: ../tools/virt-win-reg.pl:86
44482 #, no-wrap
44483 msgid ""
44484 " $ virt-win-reg --merge Windows7 changes.reg\n"
44485 "\n"
44486 msgstr ""
44487
44488 #. type: textblock
44489 #: ../tools/virt-win-reg.pl:90
44490 msgid ""
44491 "This program is only meant for simple access to the registry.  If you want "
44492 "to do complicated things with the registry, we suggest you download the "
44493 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
44494 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
44495 "L<hivexregedit(1)>."
44496 msgstr ""
44497
44498 #. type: =item
44499 #: ../tools/virt-win-reg.pl:159
44500 msgid "B<--merge>"
44501 msgstr ""
44502
44503 #. type: textblock
44504 #: ../tools/virt-win-reg.pl:161
44505 msgid ""
44506 "In merge mode, this merges a textual regedit file into the Windows Registry "
44507 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
44508 "displays or exports Registry entries instead."
44509 msgstr ""
44510
44511 #. type: textblock
44512 #: ../tools/virt-win-reg.pl:165
44513 msgid ""
44514 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
44515 "result in disk corruption.  However exporting (without this flag)  is always "
44516 "safe."
44517 msgstr ""
44518
44519 #. type: =item
44520 #: ../tools/virt-win-reg.pl:173
44521 msgid "B<--encoding> UTF-16LE|ASCII"
44522 msgstr ""
44523
44524 #. type: textblock
44525 #: ../tools/virt-win-reg.pl:175
44526 msgid ""
44527 "When merging (only), you may need to specify the encoding for strings to be "
44528 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
44529 "(3)/ENCODING STRINGS>."
44530 msgstr ""
44531
44532 #. type: textblock
44533 #: ../tools/virt-win-reg.pl:179
44534 msgid ""
44535 "The default is to use UTF-16LE, which should work with recent versions of "
44536 "Windows."
44537 msgstr ""
44538
44539 #. type: =item
44540 #: ../tools/virt-win-reg.pl:186
44541 msgid "B<--unsafe-printable-strings>"
44542 msgstr ""
44543
44544 #. type: textblock
44545 #: ../tools/virt-win-reg.pl:188
44546 msgid ""
44547 "When exporting (only), assume strings are UTF-16LE and print them as strings "
44548 "instead of hex sequences.  Remove the final zero codepoint from strings if "
44549 "present."
44550 msgstr ""
44551
44552 #. type: textblock
44553 #: ../tools/virt-win-reg.pl:192
44554 msgid ""
44555 "This is unsafe and does not preserve the fidelity of strings in the original "
44556 "Registry for various reasons:"
44557 msgstr ""
44558
44559 #. type: textblock
44560 #: ../tools/virt-win-reg.pl:199
44561 msgid ""
44562 "Assumes the original encoding is UTF-16LE.  ASCII strings and strings in "
44563 "other encodings will be corrupted by this transformation."
44564 msgstr ""
44565
44566 #. type: textblock
44567 #: ../tools/virt-win-reg.pl:204
44568 msgid ""
44569 "Assumes that everything which has type 1 or 2 is really a string and that "
44570 "everything else is not a string, but the type field in real Registries is "
44571 "not reliable."
44572 msgstr ""
44573
44574 #. type: textblock
44575 #: ../tools/virt-win-reg.pl:210
44576 msgid ""
44577 "Loses information about whether a zero codepoint followed the string in the "
44578 "Registry or not."
44579 msgstr ""
44580
44581 #. type: textblock
44582 #: ../tools/virt-win-reg.pl:215
44583 msgid ""
44584 "This all happens because the Registry itself contains no information about "
44585 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
44586 msgstr ""
44587
44588 #. type: textblock
44589 #: ../tools/virt-win-reg.pl:219
44590 msgid ""
44591 "You should only use this option for quick hacking and debugging of the "
44592 "Registry contents, and I<never> use it if the output is going to be passed "
44593 "into another program or stored in another Registry."
44594 msgstr ""
44595
44596 #. type: =head1
44597 #: ../tools/virt-win-reg.pl:556
44598 msgid "SUPPORTED SYSTEMS"
44599 msgstr ""
44600
44601 #. type: textblock
44602 #: ../tools/virt-win-reg.pl:558
44603 msgid ""
44604 "The program currently supports Windows NT-derived guests starting with "
44605 "Windows XP through to at least Windows 7."
44606 msgstr ""
44607
44608 #. type: textblock
44609 #: ../tools/virt-win-reg.pl:561
44610 msgid "The following Registry keys are supported:"
44611 msgstr ""
44612
44613 #. type: =item
44614 #: ../tools/virt-win-reg.pl:565
44615 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
44616 msgstr ""
44617
44618 #. type: =item
44619 #: ../tools/virt-win-reg.pl:567
44620 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
44621 msgstr ""
44622
44623 #. type: =item
44624 #: ../tools/virt-win-reg.pl:569
44625 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
44626 msgstr ""
44627
44628 #. type: =item
44629 #: ../tools/virt-win-reg.pl:571
44630 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
44631 msgstr ""
44632
44633 #. type: =item
44634 #: ../tools/virt-win-reg.pl:573
44635 msgid "C<HKEY_USERS\\.DEFAULT>"
44636 msgstr ""
44637
44638 #. type: =item
44639 #: ../tools/virt-win-reg.pl:575
44640 msgid "C<HKEY_USERS\\I<SID>>"
44641 msgstr ""
44642
44643 #. type: textblock
44644 #: ../tools/virt-win-reg.pl:577
44645 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
44646 msgstr ""
44647
44648 #. type: =item
44649 #: ../tools/virt-win-reg.pl:579
44650 msgid "C<HKEY_USERS\\I<username>>"
44651 msgstr ""
44652
44653 #. type: textblock
44654 #: ../tools/virt-win-reg.pl:581
44655 msgid ""
44656 "where I<username> is a local user name (this is a libguestfs extension)."
44657 msgstr ""
44658
44659 #. type: textblock
44660 #: ../tools/virt-win-reg.pl:585
44661 msgid ""
44662 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
44663 "C<HKEY_USERS>."
44664 msgstr ""
44665
44666 #. type: textblock
44667 #: ../tools/virt-win-reg.pl:588
44668 msgid ""
44669 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
44670 "supported (there is no \"current user\")."
44671 msgstr ""
44672
44673 #. type: =head1
44674 #: ../tools/virt-win-reg.pl:591
44675 msgid "ENCODING"
44676 msgstr ""
44677
44678 #. type: textblock
44679 #: ../tools/virt-win-reg.pl:593
44680 msgid ""
44681 "C<virt-win-reg> expects that regedit files have already been reencoded in "
44682 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
44683 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
44684 "Windows-style line endings, you may need to reencode the whole file before "
44685 "or after processing."
44686 msgstr ""
44687
44688 #. type: textblock
44689 #: ../tools/virt-win-reg.pl:599
44690 msgid ""
44691 "To reencode a file from Windows format to Linux (before processing it with "
44692 "the I<--merge> option), you would do something like this:"
44693 msgstr ""
44694
44695 #. type: verbatim
44696 #: ../tools/virt-win-reg.pl:602
44697 #, no-wrap
44698 msgid ""
44699 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
44700 "\n"
44701 msgstr ""
44702
44703 #. type: textblock
44704 #: ../tools/virt-win-reg.pl:604
44705 msgid ""
44706 "To go in the opposite direction, after exporting and before sending the file "
44707 "to a Windows user, do something like this:"
44708 msgstr ""
44709
44710 #. type: verbatim
44711 #: ../tools/virt-win-reg.pl:607
44712 #, no-wrap
44713 msgid ""
44714 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
44715 "\n"
44716 msgstr ""
44717
44718 #. type: textblock
44719 #: ../tools/virt-win-reg.pl:609
44720 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
44721 msgstr ""
44722
44723 #. type: textblock
44724 #: ../tools/virt-win-reg.pl:611
44725 msgid ""
44726 "If you are unsure about the current encoding, use the L<file(1)> command.  "
44727 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
44728 "style (CRLF) line endings, like this:"
44729 msgstr ""
44730
44731 #. type: verbatim
44732 #: ../tools/virt-win-reg.pl:615
44733 #, no-wrap
44734 msgid ""
44735 " $ file software.reg\n"
44736 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
44737 " with CRLF line terminators\n"
44738 "\n"
44739 msgstr ""
44740
44741 #. type: textblock
44742 #: ../tools/virt-win-reg.pl:619
44743 msgid "This file would need conversion before you could I<--merge> it."
44744 msgstr ""
44745
44746 #. type: =head1
44747 #: ../tools/virt-win-reg.pl:621
44748 msgid "CurrentControlSet etc."
44749 msgstr ""
44750
44751 #. type: textblock
44752 #: ../tools/virt-win-reg.pl:623
44753 msgid ""
44754 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
44755 "Registry at the level of the hive file, and therefore you cannot modify "
44756 "these."
44757 msgstr ""
44758
44759 #. type: textblock
44760 #: ../tools/virt-win-reg.pl:627
44761 msgid ""
44762 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
44763 "circumstances it might refer to another control set.  The way to find out is "
44764 "to look at the C<HKLM\\SYSTEM\\Select> key:"
44765 msgstr ""
44766
44767 #. type: verbatim
44768 #: ../tools/virt-win-reg.pl:631
44769 #, no-wrap
44770 msgid ""
44771 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
44772 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
44773 " \"Current\"=dword:00000001\n"
44774 " \"Default\"=dword:00000001\n"
44775 " \"Failed\"=dword:00000000\n"
44776 " \"LastKnownGood\"=dword:00000002\n"
44777 "\n"
44778 msgstr ""
44779
44780 #. type: textblock
44781 #: ../tools/virt-win-reg.pl:638
44782 msgid "\"Current\" is the one which Windows will choose when it boots."
44783 msgstr ""
44784
44785 #. type: textblock
44786 #: ../tools/virt-win-reg.pl:640
44787 msgid ""
44788 "Similarly, other C<Current...> keys in the path may need to be replaced."
44789 msgstr ""
44790
44791 #. type: =head1
44792 #: ../tools/virt-win-reg.pl:643
44793 msgid "WINDOWS TIPS"
44794 msgstr ""
44795
44796 #. type: textblock
44797 #: ../tools/virt-win-reg.pl:645
44798 msgid ""
44799 "Note that some of these tips modify the guest disk image.  The guest I<must> "
44800 "be shut off, else you will get disk corruption."
44801 msgstr ""
44802
44803 #. type: =head2
44804 #: ../tools/virt-win-reg.pl:648
44805 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
44806 msgstr ""
44807
44808 #. type: textblock
44809 #: ../tools/virt-win-reg.pl:650
44810 msgid ""
44811 "Prepare a DOS batch script, VBScript or executable.  Upload this using "
44812 "L<guestfish(1)>.  For this example the script is called C<test.bat> and it "
44813 "is uploaded into C<C:\\>:"
44814 msgstr ""
44815
44816 #. type: verbatim
44817 #: ../tools/virt-win-reg.pl:654
44818 #, no-wrap
44819 msgid ""
44820 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
44821 "\n"
44822 msgstr ""
44823
44824 #. type: textblock
44825 #: ../tools/virt-win-reg.pl:656
44826 msgid "Prepare a regedit file containing the registry change:"
44827 msgstr ""
44828
44829 #. type: verbatim
44830 #: ../tools/virt-win-reg.pl:658
44831 #, no-wrap
44832 msgid ""
44833 " cat > test.reg <<'EOF'\n"
44834 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
44835 " \"Test\"=\"c:\\\\test.bat\"\n"
44836 " EOF\n"
44837 "\n"
44838 msgstr ""
44839
44840 #. type: textblock
44841 #: ../tools/virt-win-reg.pl:663
44842 msgid ""
44843 "In this example we use the key C<RunOnce> which means that the script will "
44844 "run precisely once when the first user logs in.  If you want it to run every "
44845 "time a user logs in, replace C<RunOnce> with C<Run>."
44846 msgstr ""
44847
44848 #. type: textblock
44849 #: ../tools/virt-win-reg.pl:667
44850 msgid "Now update the registry:"
44851 msgstr ""
44852
44853 #. type: verbatim
44854 #: ../tools/virt-win-reg.pl:669
44855 #, no-wrap
44856 msgid ""
44857 " virt-win-reg --merge WindowsGuest test.reg\n"
44858 "\n"
44859 msgstr ""
44860
44861 #. type: =head2
44862 #: ../tools/virt-win-reg.pl:671
44863 msgid "INSTALLING A SERVICE"
44864 msgstr ""
44865
44866 #. type: textblock
44867 #: ../tools/virt-win-reg.pl:673
44868 msgid ""
44869 "This section assumes you are familiar with Windows services, and you either "
44870 "have a program which handles the Windows Service Control Protocol directly "
44871 "or you want to run any program using a service wrapper like SrvAny or the "
44872 "free RHSrvAny."
44873 msgstr ""
44874
44875 #. type: textblock
44876 #: ../tools/virt-win-reg.pl:678
44877 msgid ""
44878 "First upload the program and optionally the service wrapper.  In this case "
44879 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
44880 msgstr ""
44881
44882 #. type: verbatim
44883 #: ../tools/virt-win-reg.pl:682
44884 #, no-wrap
44885 msgid ""
44886 " guestfish -i -d WindowsGuest <<EOF\n"
44887 "   upload rhsrvany.exe /rhsrvany.exe\n"
44888 "   upload test.exe /test.exe\n"
44889 " EOF\n"
44890 "\n"
44891 msgstr ""
44892
44893 #. type: textblock
44894 #: ../tools/virt-win-reg.pl:687
44895 msgid ""
44896 "Prepare a regedit file containing the registry changes.  In this example, "
44897 "the first registry change is needed for the service itself or the service "
44898 "wrapper (if used).  The second registry change is only needed because I am "
44899 "using the RHSrvAny service wrapper."
44900 msgstr ""
44901
44902 #. type: verbatim
44903 #: ../tools/virt-win-reg.pl:692
44904 #, no-wrap
44905 msgid ""
44906 " cat > service.reg <<'EOF'\n"
44907 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
44908 " \"Type\"=dword:00000010\n"
44909 " \"Start\"=dword:00000002\n"
44910 " \"ErrorControl\"=dword:00000001\n"
44911 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
44912 " \"DisplayName\"=\"RHSrvAny\"\n"
44913 " \"ObjectName\"=\"NetworkService\"\n"
44914 " \n"
44915 msgstr ""
44916
44917 #. type: verbatim
44918 #: ../tools/virt-win-reg.pl:701
44919 #, no-wrap
44920 msgid ""
44921 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
44922 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
44923 " \"PWD\"=\"c:\\\\Temp\"\n"
44924 " EOF\n"
44925 "\n"
44926 msgstr ""
44927
44928 #. type: textblock
44929 #: ../tools/virt-win-reg.pl:712
44930 msgid ""
44931 "For use of C<ControlSet001> see the section above in this manual page.  You "
44932 "may need to adjust this according to the control set that is in use by the "
44933 "guest."
44934 msgstr ""
44935
44936 #. type: textblock
44937 #: ../tools/virt-win-reg.pl:718
44938 msgid ""
44939 "C<\"ObjectName\"> controls the privileges that the service will have.  An "
44940 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
44941 "privileged account."
44942 msgstr ""
44943
44944 #. type: textblock
44945 #: ../tools/virt-win-reg.pl:724
44946 msgid ""
44947 "For the meaning of the magic numbers, see this Microsoft KB article: "
44948 "L<http://support.microsoft.com/kb/103000>."
44949 msgstr ""
44950
44951 #. type: textblock
44952 #: ../tools/virt-win-reg.pl:729
44953 msgid "Update the registry:"
44954 msgstr ""
44955
44956 #. type: verbatim
44957 #: ../tools/virt-win-reg.pl:731
44958 #, no-wrap
44959 msgid ""
44960 " virt-win-reg --merge WindowsGuest service.reg\n"
44961 "\n"
44962 msgstr ""
44963
44964 #. type: textblock
44965 #: ../tools/virt-win-reg.pl:735
44966 msgid ""
44967 "Be careful when passing parameters containing C<\\> (backslash) in the "
44968 "shell.  Usually you will have to use 'single quotes' or double backslashes "
44969 "(but not both) to protect them from the shell."
44970 msgstr ""
44971
44972 #. type: textblock
44973 #: ../tools/virt-win-reg.pl:739
44974 msgid "Paths and value names are case-insensitive."
44975 msgstr ""
44976
44977 #. type: textblock
44978 #: ../tools/virt-win-reg.pl:748
44979 msgid ""
44980 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
44981 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
44982 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
44983 msgstr ""
44984
44985 #. type: verbatim
44986 #: ../tools/virt-win-reg.pl:766
44987 #, no-wrap
44988 msgid ""
44989 " export LIBGUESTFS_DEBUG=1\n"
44990 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
44991 "\n"
44992 msgstr ""
44993
44994 #. type: textblock
44995 #: ../tools/virt-win-reg.pl:769
44996 msgid ""
44997 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
44998 "redhat.com/>"
44999 msgstr ""