1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
5 # Yuri Chornoivan <yurchor@ukr.net>, 2011.
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: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
19 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
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
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"
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
105 msgstr "КОРОТКИЙ ОПИС"
108 #: ../cat/virt-cat.pod:9 ../libguestfs-1.11.20/cat/virt-cat.pod:9
111 #| " virt-list-partitions [--options] domname\n"
114 " virt-cat [--options] -d domname file [file ...]\n"
117 " virt-list-partitions [--параметри] назва_домену\n"
121 #: ../cat/virt-cat.pod:11 ../libguestfs-1.11.20/cat/virt-cat.pod:11
124 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
127 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
130 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
134 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
135 #: ../inspector/virt-inspector.pod:13
136 #: ../libguestfs-1.11.20/cat/virt-cat.pod:13
137 #: ../libguestfs-1.11.20/edit/virt-edit.pod:15
138 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:13
143 #: ../cat/virt-cat.pod:15 ../libguestfs-1.11.20/cat/virt-cat.pod:15
146 " virt-cat domname file\n"
151 #: ../cat/virt-cat.pod:17 ../libguestfs-1.11.20/cat/virt-cat.pod:17
154 " virt-cat disk.img file\n"
159 #: ../cat/virt-cat.pod:19 ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
160 #: ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
161 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
162 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19
163 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21
164 #: ../fish/virt-tar-out.pod:15 ../fuse/guestmount.pod:20
165 #: ../inspector/virt-inspector.pod:19 ../java/examples/guestfs-java.pod:15
166 #: ../libguestfs-1.11.20/cat/virt-cat.pod:19
167 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:13
168 #: ../libguestfs-1.11.20/cat/virt-ls.pod:19
169 #: ../libguestfs-1.11.20/df/virt-df.pod:21
170 #: ../libguestfs-1.11.20/edit/virt-edit.pod:27
171 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:19
172 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:18
173 #: ../libguestfs-1.11.20/fish/guestfish.pod:30
174 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:19
175 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:13
176 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:21
177 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:15
178 #: ../libguestfs-1.11.20/fuse/guestmount.pod:20
179 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:19
180 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:15
181 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:25
182 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:18
183 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:14
184 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:29
185 #: ../libguestfs-1.11.20/resize/virt-resize.pod:13
186 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:15
187 #: ../libguestfs-1.11.20/src/guestfs.pod:23
188 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:11
189 #: ../ocaml/examples/guestfs-ocaml.pod:25 ../perl/examples/guestfs-perl.pod:18
190 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:29
191 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
192 #: ../src/guestfs.pod:23 ../test-tool/libguestfs-test-tool.pod:11
193 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
194 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
195 #: ../tools/virt-win-reg.pl:63
200 #: ../cat/virt-cat.pod:21 ../libguestfs-1.11.20/cat/virt-cat.pod:21
202 "C<virt-cat> is a command line tool to display the contents of C<file> where "
203 "C<file> exists in the named virtual machine (or disk image)."
207 #: ../cat/virt-cat.pod:24 ../libguestfs-1.11.20/cat/virt-cat.pod:24
209 "Multiple filenames can be given, in which case they are concatenated "
210 "together. Each filename must be a full path, starting at the root directory "
211 "(starting with '/')."
215 #: ../cat/virt-cat.pod:28 ../libguestfs-1.11.20/cat/virt-cat.pod:28
217 "C<virt-cat> can be used to quickly view a file. To edit a file, use C<virt-"
218 "edit>. For more complex cases you should look at the L<guestfish(1)> tool "
219 "(see L</USING GUESTFISH> below)."
223 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
224 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
225 #: ../fish/guestfish.pod:1007 ../fish/virt-copy-in.pod:29
226 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
227 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
228 #: ../libguestfs-1.11.20/cat/virt-cat.pod:32
229 #: ../libguestfs-1.11.20/cat/virt-ls.pod:35
230 #: ../libguestfs-1.11.20/df/virt-df.pod:43
231 #: ../libguestfs-1.11.20/edit/virt-edit.pod:44
232 #: ../libguestfs-1.11.20/fish/guestfish.pod:41
233 #: ../libguestfs-1.11.20/fish/guestfish.pod:1007
234 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:29
235 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:21
236 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:30
237 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:24
238 #: ../libguestfs-1.11.20/fuse/guestmount.pod:39
239 #: ../libguestfs-1.11.20/resize/virt-resize.pod:27
240 #: ../resize/virt-resize.pod:27 ../tools/virt-tar.pl:50
245 #: ../cat/virt-cat.pod:34 ../libguestfs-1.11.20/cat/virt-cat.pod:34
247 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
251 #: ../cat/virt-cat.pod:37 ../libguestfs-1.11.20/cat/virt-cat.pod:37
254 " virt-cat -d mydomain /etc/fstab\n"
259 #: ../cat/virt-cat.pod:39 ../libguestfs-1.11.20/cat/virt-cat.pod:39
260 msgid "List syslog messages from a VM disk image file:"
264 #: ../cat/virt-cat.pod:41 ../libguestfs-1.11.20/cat/virt-cat.pod:41
267 " virt-cat -a disk.img /var/log/messages | tail\n"
272 #: ../cat/virt-cat.pod:43 ../libguestfs-1.11.20/cat/virt-cat.pod:43
273 msgid "Find out what DHCP IP address a VM acquired:"
277 #: ../cat/virt-cat.pod:45 ../libguestfs-1.11.20/cat/virt-cat.pod:45
280 " virt-cat -d mydomain /var/log/messages | \\\n"
281 " grep 'dhclient: bound to' | tail\n"
286 #: ../cat/virt-cat.pod:48 ../libguestfs-1.11.20/cat/virt-cat.pod:48
287 msgid "Find out what packages were recently installed:"
291 #: ../cat/virt-cat.pod:50 ../libguestfs-1.11.20/cat/virt-cat.pod:50
294 " virt-cat -d mydomain /var/log/yum.log | tail\n"
299 #: ../cat/virt-cat.pod:52 ../libguestfs-1.11.20/cat/virt-cat.pod:52
300 msgid "Find out who is logged on inside a virtual machine:"
304 #: ../cat/virt-cat.pod:54 ../libguestfs-1.11.20/cat/virt-cat.pod:54
307 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
313 #: ../cat/virt-cat.pod:57 ../libguestfs-1.11.20/cat/virt-cat.pod:57
314 msgid "or who was logged on:"
318 #: ../cat/virt-cat.pod:59 ../libguestfs-1.11.20/cat/virt-cat.pod:59
321 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
322 " last -f /tmp/wtmp\n"
327 #: ../cat/virt-cat.pod:62 ../cat/virt-filesystems.pod:91
328 #: ../cat/virt-ls.pod:261 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
329 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
330 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
331 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:83
332 #: ../inspector/virt-inspector.pod:55
333 #: ../libguestfs-1.11.20/cat/virt-cat.pod:62
334 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:91
335 #: ../libguestfs-1.11.20/cat/virt-ls.pod:261
336 #: ../libguestfs-1.11.20/df/virt-df.pod:59
337 #: ../libguestfs-1.11.20/edit/virt-edit.pod:62
338 #: ../libguestfs-1.11.20/fish/guestfish.pod:148
339 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:45
340 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:34
341 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:42
342 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:36
343 #: ../libguestfs-1.11.20/fuse/guestmount.pod:83
344 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:55
345 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:84
346 #: ../libguestfs-1.11.20/resize/virt-resize.pod:241
347 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:37
348 #: ../rescue/virt-rescue.pod:84 ../resize/virt-resize.pod:241
349 #: ../test-tool/libguestfs-test-tool.pod:37
350 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
351 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
352 #: ../tools/virt-win-reg.pl:96
357 #: ../cat/virt-cat.pod:66 ../cat/virt-filesystems.pod:95
358 #: ../cat/virt-ls.pod:265 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
359 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:151
360 #: ../inspector/virt-inspector.pod:59
361 #: ../libguestfs-1.11.20/cat/virt-cat.pod:66
362 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:95
363 #: ../libguestfs-1.11.20/cat/virt-ls.pod:265
364 #: ../libguestfs-1.11.20/df/virt-df.pod:63
365 #: ../libguestfs-1.11.20/edit/virt-edit.pod:66
366 #: ../libguestfs-1.11.20/fish/guestfish.pod:152
367 #: ../libguestfs-1.11.20/fuse/guestmount.pod:151
368 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:59
369 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:88
370 #: ../libguestfs-1.11.20/resize/virt-resize.pod:245
371 #: ../rescue/virt-rescue.pod:88 ../resize/virt-resize.pod:245
372 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
373 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
374 #: ../tools/virt-win-reg.pl:104
379 #: ../cat/virt-cat.pod:68 ../cat/virt-filesystems.pod:97
380 #: ../cat/virt-ls.pod:267 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
381 #: ../inspector/virt-inspector.pod:61
382 #: ../libguestfs-1.11.20/cat/virt-cat.pod:68
383 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:97
384 #: ../libguestfs-1.11.20/cat/virt-ls.pod:267
385 #: ../libguestfs-1.11.20/df/virt-df.pod:65
386 #: ../libguestfs-1.11.20/edit/virt-edit.pod:68
387 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:61
388 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:90
389 #: ../rescue/virt-rescue.pod:90 ../tools/virt-list-filesystems.pl:63
390 #: ../tools/virt-list-partitions.pl:64 ../tools/virt-make-fs.pl:163
391 #: ../tools/virt-tar.pl:113 ../tools/virt-win-reg.pl:106
392 msgid "Display brief help."
396 #: ../cat/virt-cat.pod:70 ../cat/virt-filesystems.pod:99
397 #: ../cat/virt-ls.pod:269 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
398 #: ../inspector/virt-inspector.pod:63
399 #: ../libguestfs-1.11.20/cat/virt-cat.pod:70
400 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:99
401 #: ../libguestfs-1.11.20/cat/virt-ls.pod:269
402 #: ../libguestfs-1.11.20/df/virt-df.pod:67
403 #: ../libguestfs-1.11.20/edit/virt-edit.pod:70
404 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:63
405 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:92
406 #: ../rescue/virt-rescue.pod:92
408 #| msgid "B<-f file>"
413 #: ../cat/virt-cat.pod:72 ../cat/virt-filesystems.pod:101
414 #: ../cat/virt-ls.pod:271 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
415 #: ../inspector/virt-inspector.pod:65
416 #: ../libguestfs-1.11.20/cat/virt-cat.pod:72
417 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:101
418 #: ../libguestfs-1.11.20/cat/virt-ls.pod:271
419 #: ../libguestfs-1.11.20/df/virt-df.pod:69
420 #: ../libguestfs-1.11.20/edit/virt-edit.pod:72
421 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:65
422 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:94
423 #: ../rescue/virt-rescue.pod:94
425 #| msgid "B<--add image>"
426 msgid "B<--add> file"
427 msgstr "B<--add образ>"
430 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
431 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
432 #: ../inspector/virt-inspector.pod:67
433 #: ../libguestfs-1.11.20/cat/virt-cat.pod:74
434 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:103
435 #: ../libguestfs-1.11.20/cat/virt-ls.pod:273
436 #: ../libguestfs-1.11.20/df/virt-df.pod:71
437 #: ../libguestfs-1.11.20/edit/virt-edit.pod:74
438 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:67
439 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:96
440 #: ../rescue/virt-rescue.pod:96
442 "Add I<file> which should be a disk image from a virtual machine. If the "
443 "virtual machine has multiple block devices, you must supply all of them with "
444 "separate I<-a> options."
448 #: ../cat/virt-cat.pod:78 ../cat/virt-filesystems.pod:107
449 #: ../cat/virt-ls.pod:277 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
450 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:93
451 #: ../inspector/virt-inspector.pod:71
452 #: ../libguestfs-1.11.20/cat/virt-cat.pod:78
453 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:107
454 #: ../libguestfs-1.11.20/cat/virt-ls.pod:277
455 #: ../libguestfs-1.11.20/df/virt-df.pod:75
456 #: ../libguestfs-1.11.20/edit/virt-edit.pod:78
457 #: ../libguestfs-1.11.20/fish/guestfish.pod:174
458 #: ../libguestfs-1.11.20/fuse/guestmount.pod:93
459 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:71
460 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:100
461 #: ../rescue/virt-rescue.pod:100
463 "The format of the disk image is auto-detected. To override this and force a "
464 "particular format use the I<--format=..> option."
468 #: ../cat/virt-cat.pod:81 ../cat/virt-filesystems.pod:125
469 #: ../cat/virt-ls.pod:291 ../df/virt-df.pod:78
470 #: ../libguestfs-1.11.20/cat/virt-cat.pod:81
471 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:125
472 #: ../libguestfs-1.11.20/cat/virt-ls.pod:291
473 #: ../libguestfs-1.11.20/df/virt-df.pod:78
474 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:107
475 #: ../rescue/virt-rescue.pod:107
479 msgstr "B<-c адреса>"
482 #: ../cat/virt-cat.pod:83 ../cat/virt-filesystems.pod:127
483 #: ../cat/virt-ls.pod:293 ../df/virt-df.pod:80
484 #: ../libguestfs-1.11.20/cat/virt-cat.pod:83
485 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:127
486 #: ../libguestfs-1.11.20/cat/virt-ls.pod:293
487 #: ../libguestfs-1.11.20/df/virt-df.pod:80
488 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:109
489 #: ../rescue/virt-rescue.pod:109
491 #| msgid "B<--connect URI>"
492 msgid "B<--connect> URI"
493 msgstr "B<--connect адреса>"
496 #: ../cat/virt-cat.pod:85 ../cat/virt-filesystems.pod:129
497 #: ../cat/virt-ls.pod:295 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
498 #: ../inspector/virt-inspector.pod:78
499 #: ../libguestfs-1.11.20/cat/virt-cat.pod:85
500 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:129
501 #: ../libguestfs-1.11.20/cat/virt-ls.pod:295
502 #: ../libguestfs-1.11.20/df/virt-df.pod:82
503 #: ../libguestfs-1.11.20/edit/virt-edit.pod:99
504 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:78
505 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:111
506 #: ../rescue/virt-rescue.pod:111 ../tools/virt-list-filesystems.pl:81
507 #: ../tools/virt-list-partitions.pl:82 ../tools/virt-tar.pl:131
508 #: ../tools/virt-win-reg.pl:132
510 "If using libvirt, connect to the given I<URI>. If omitted, then we connect "
511 "to the default libvirt hypervisor."
515 #: ../cat/virt-cat.pod:88 ../cat/virt-filesystems.pod:132
516 #: ../cat/virt-ls.pod:298 ../df/virt-df.pod:85
517 #: ../libguestfs-1.11.20/cat/virt-cat.pod:88
518 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:132
519 #: ../libguestfs-1.11.20/cat/virt-ls.pod:298
520 #: ../libguestfs-1.11.20/df/virt-df.pod:85
521 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:114
522 #: ../rescue/virt-rescue.pod:114
524 "If you specify guest block devices directly (I<-a>), then libvirt is not "
529 #: ../cat/virt-cat.pod:91 ../cat/virt-filesystems.pod:141
530 #: ../cat/virt-ls.pod:307 ../df/virt-df.pod:88 ../edit/virt-edit.pod:105
531 #: ../inspector/virt-inspector.pod:85
532 #: ../libguestfs-1.11.20/cat/virt-cat.pod:91
533 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:141
534 #: ../libguestfs-1.11.20/cat/virt-ls.pod:307
535 #: ../libguestfs-1.11.20/df/virt-df.pod:88
536 #: ../libguestfs-1.11.20/edit/virt-edit.pod:105
537 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:85
538 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:117
539 #: ../rescue/virt-rescue.pod:117
544 #: ../cat/virt-cat.pod:93 ../cat/virt-filesystems.pod:143
545 #: ../cat/virt-ls.pod:309 ../df/virt-df.pod:90 ../edit/virt-edit.pod:107
546 #: ../inspector/virt-inspector.pod:87
547 #: ../libguestfs-1.11.20/cat/virt-cat.pod:93
548 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:143
549 #: ../libguestfs-1.11.20/cat/virt-ls.pod:309
550 #: ../libguestfs-1.11.20/df/virt-df.pod:90
551 #: ../libguestfs-1.11.20/edit/virt-edit.pod:107
552 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:87
553 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:119
554 #: ../rescue/virt-rescue.pod:119
555 msgid "B<--domain> guest"
559 #: ../cat/virt-cat.pod:95 ../cat/virt-filesystems.pod:145
560 #: ../cat/virt-ls.pod:311 ../df/virt-df.pod:92 ../edit/virt-edit.pod:109
561 #: ../inspector/virt-inspector.pod:89
562 #: ../libguestfs-1.11.20/cat/virt-cat.pod:95
563 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:145
564 #: ../libguestfs-1.11.20/cat/virt-ls.pod:311
565 #: ../libguestfs-1.11.20/df/virt-df.pod:92
566 #: ../libguestfs-1.11.20/edit/virt-edit.pod:109
567 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:89
568 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:121
569 #: ../rescue/virt-rescue.pod:121
571 "Add all the disks from the named libvirt guest. Domain UUIDs can be used "
576 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
577 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
578 #: ../fuse/guestmount.pod:126 ../inspector/virt-inspector.pod:92
579 #: ../libguestfs-1.11.20/cat/virt-cat.pod:98
580 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:148
581 #: ../libguestfs-1.11.20/cat/virt-ls.pod:314
582 #: ../libguestfs-1.11.20/edit/virt-edit.pod:112
583 #: ../libguestfs-1.11.20/fish/guestfish.pod:217
584 #: ../libguestfs-1.11.20/fuse/guestmount.pod:126
585 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:92
586 msgid "B<--echo-keys>"
587 msgstr "B<--echo-keys>"
590 #: ../cat/virt-cat.pod:100 ../libguestfs-1.11.20/cat/virt-cat.pod:100
592 "When prompting for keys and passphrases, virt-cat normally turns echoing off "
593 "so you cannot see what you are typing. If you are not worried about Tempest "
594 "attacks and there is no one else in the room you can specify this flag to "
595 "see what you are typing."
599 #: ../cat/virt-cat.pod:105 ../cat/virt-filesystems.pod:170
600 #: ../cat/virt-ls.pod:328 ../df/virt-df.pod:95 ../fish/guestfish.pod:233
601 #: ../fuse/guestmount.pod:133 ../inspector/virt-inspector.pod:99
602 #: ../libguestfs-1.11.20/cat/virt-cat.pod:105
603 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:170
604 #: ../libguestfs-1.11.20/cat/virt-ls.pod:328
605 #: ../libguestfs-1.11.20/df/virt-df.pod:95
606 #: ../libguestfs-1.11.20/fish/guestfish.pod:233
607 #: ../libguestfs-1.11.20/fuse/guestmount.pod:133
608 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:99
609 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:124
610 #: ../rescue/virt-rescue.pod:124
611 msgid "B<--format=raw|qcow2|..>"
612 msgstr "B<--format=raw|qcow2|..>"
615 #: ../cat/virt-cat.pod:107 ../cat/virt-filesystems.pod:172
616 #: ../cat/virt-ls.pod:330 ../df/virt-df.pod:97 ../edit/virt-edit.pod:134
617 #: ../fish/guestfish.pod:235 ../fuse/guestmount.pod:135
618 #: ../inspector/virt-inspector.pod:101
619 #: ../libguestfs-1.11.20/cat/virt-cat.pod:107
620 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:172
621 #: ../libguestfs-1.11.20/cat/virt-ls.pod:330
622 #: ../libguestfs-1.11.20/df/virt-df.pod:97
623 #: ../libguestfs-1.11.20/edit/virt-edit.pod:134
624 #: ../libguestfs-1.11.20/fish/guestfish.pod:235
625 #: ../libguestfs-1.11.20/fuse/guestmount.pod:135
626 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:101
627 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:126
628 #: ../rescue/virt-rescue.pod:126
633 #: ../cat/virt-cat.pod:109 ../cat/virt-filesystems.pod:174
634 #: ../cat/virt-ls.pod:332 ../df/virt-df.pod:99 ../edit/virt-edit.pod:136
635 #: ../fish/guestfish.pod:237 ../fuse/guestmount.pod:137
636 #: ../libguestfs-1.11.20/cat/virt-cat.pod:109
637 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:174
638 #: ../libguestfs-1.11.20/cat/virt-ls.pod:332
639 #: ../libguestfs-1.11.20/df/virt-df.pod:99
640 #: ../libguestfs-1.11.20/edit/virt-edit.pod:136
641 #: ../libguestfs-1.11.20/fish/guestfish.pod:237
642 #: ../libguestfs-1.11.20/fuse/guestmount.pod:137
643 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:128
644 #: ../rescue/virt-rescue.pod:128
646 "The default for the I<-a> option is to auto-detect the format of the disk "
647 "image. Using this forces the disk format for I<-a> options which follow on "
648 "the command line. Using I<--format> with no argument switches back to auto-"
649 "detection for subsequent I<-a> options."
653 #: ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179
654 #: ../cat/virt-ls.pod:337 ../df/virt-df.pod:104 ../edit/virt-edit.pod:141
655 #: ../fish/guestfish.pod:242 ../fish/guestfish.pod:673
656 #: ../inspector/virt-inspector.pod:335
657 #: ../libguestfs-1.11.20/cat/virt-cat.pod:114
658 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:179
659 #: ../libguestfs-1.11.20/cat/virt-ls.pod:337
660 #: ../libguestfs-1.11.20/df/virt-df.pod:104
661 #: ../libguestfs-1.11.20/edit/virt-edit.pod:141
662 #: ../libguestfs-1.11.20/fish/guestfish.pod:242
663 #: ../libguestfs-1.11.20/fish/guestfish.pod:673
664 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:335
665 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:133
666 #: ../libguestfs-1.11.20/src/guestfs.pod:2652 ../rescue/virt-rescue.pod:133
667 #: ../src/guestfs.pod:2652
672 #: ../cat/virt-cat.pod:116 ../libguestfs-1.11.20/cat/virt-cat.pod:116
675 #| " guestfish --format=raw -a disk.img\n"
678 " virt-cat --format=raw -a disk.img file\n"
681 " guestfish --format=raw -a disk.img\n"
685 #: ../cat/virt-cat.pod:118 ../cat/virt-filesystems.pod:183
686 #: ../cat/virt-ls.pod:341 ../df/virt-df.pod:108 ../edit/virt-edit.pod:145
687 #: ../fish/guestfish.pod:246 ../libguestfs-1.11.20/cat/virt-cat.pod:118
688 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:183
689 #: ../libguestfs-1.11.20/cat/virt-ls.pod:341
690 #: ../libguestfs-1.11.20/df/virt-df.pod:108
691 #: ../libguestfs-1.11.20/edit/virt-edit.pod:145
692 #: ../libguestfs-1.11.20/fish/guestfish.pod:246
693 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:137
694 #: ../rescue/virt-rescue.pod:137
695 msgid "forces raw format (no auto-detection) for C<disk.img>."
699 #: ../cat/virt-cat.pod:120 ../libguestfs-1.11.20/cat/virt-cat.pod:120
702 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
705 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
708 " guestfish --format=raw -a disk.img --format -a another.img\n"
712 #: ../cat/virt-cat.pod:122 ../cat/virt-filesystems.pod:187
713 #: ../cat/virt-ls.pod:345 ../df/virt-df.pod:112 ../edit/virt-edit.pod:149
714 #: ../fish/guestfish.pod:250 ../libguestfs-1.11.20/cat/virt-cat.pod:122
715 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:187
716 #: ../libguestfs-1.11.20/cat/virt-ls.pod:345
717 #: ../libguestfs-1.11.20/df/virt-df.pod:112
718 #: ../libguestfs-1.11.20/edit/virt-edit.pod:149
719 #: ../libguestfs-1.11.20/fish/guestfish.pod:250
720 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:141
721 #: ../rescue/virt-rescue.pod:141
723 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
724 "detection for C<another.img>."
728 #: ../cat/virt-cat.pod:125 ../cat/virt-filesystems.pod:190
729 #: ../cat/virt-ls.pod:348 ../df/virt-df.pod:115 ../edit/virt-edit.pod:152
730 #: ../libguestfs-1.11.20/cat/virt-cat.pod:125
731 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:190
732 #: ../libguestfs-1.11.20/cat/virt-ls.pod:348
733 #: ../libguestfs-1.11.20/df/virt-df.pod:115
734 #: ../libguestfs-1.11.20/edit/virt-edit.pod:152
735 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:144
736 #: ../rescue/virt-rescue.pod:144
738 "If you have untrusted raw-format guest disk images, you should use this "
739 "option to specify the disk format. This avoids a possible security problem "
740 "with malicious guests (CVE-2010-3851)."
744 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
745 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
746 #: ../fuse/guestmount.pod:163 ../inspector/virt-inspector.pod:114
747 #: ../libguestfs-1.11.20/cat/virt-cat.pod:129
748 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:200
749 #: ../libguestfs-1.11.20/cat/virt-ls.pod:361
750 #: ../libguestfs-1.11.20/edit/virt-edit.pod:156
751 #: ../libguestfs-1.11.20/fish/guestfish.pod:289
752 #: ../libguestfs-1.11.20/fuse/guestmount.pod:163
753 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:114
754 msgid "B<--keys-from-stdin>"
755 msgstr "B<--keys-from-stdin>"
758 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
759 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
760 #: ../fuse/guestmount.pod:165 ../inspector/virt-inspector.pod:116
761 #: ../libguestfs-1.11.20/cat/virt-cat.pod:131
762 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:202
763 #: ../libguestfs-1.11.20/cat/virt-ls.pod:363
764 #: ../libguestfs-1.11.20/edit/virt-edit.pod:158
765 #: ../libguestfs-1.11.20/fish/guestfish.pod:291
766 #: ../libguestfs-1.11.20/fuse/guestmount.pod:165
767 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:116
769 "Read key or passphrase parameters from stdin. The default is to try to read "
770 "passphrases from the user by opening C</dev/tty>."
774 #: ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261
775 #: ../cat/virt-ls.pod:425 ../df/virt-df.pod:167 ../edit/virt-edit.pod:161
776 #: ../fish/guestfish.pod:390 ../fuse/guestmount.pod:257
777 #: ../inspector/virt-inspector.pod:119
778 #: ../libguestfs-1.11.20/cat/virt-cat.pod:134
779 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:261
780 #: ../libguestfs-1.11.20/cat/virt-ls.pod:425
781 #: ../libguestfs-1.11.20/df/virt-df.pod:167
782 #: ../libguestfs-1.11.20/edit/virt-edit.pod:161
783 #: ../libguestfs-1.11.20/fish/guestfish.pod:390
784 #: ../libguestfs-1.11.20/fuse/guestmount.pod:257
785 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:119
786 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:178
787 #: ../rescue/virt-rescue.pod:178
792 #: ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263
793 #: ../cat/virt-ls.pod:427 ../df/virt-df.pod:169 ../edit/virt-edit.pod:163
794 #: ../fish/guestfish.pod:392 ../fuse/guestmount.pod:259
795 #: ../inspector/virt-inspector.pod:121
796 #: ../libguestfs-1.11.20/cat/virt-cat.pod:136
797 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:263
798 #: ../libguestfs-1.11.20/cat/virt-ls.pod:427
799 #: ../libguestfs-1.11.20/df/virt-df.pod:169
800 #: ../libguestfs-1.11.20/edit/virt-edit.pod:163
801 #: ../libguestfs-1.11.20/fish/guestfish.pod:392
802 #: ../libguestfs-1.11.20/fuse/guestmount.pod:259
803 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:121
804 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:180
805 #: ../rescue/virt-rescue.pod:180
807 msgstr "B<--verbose>"
810 #: ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265
811 #: ../cat/virt-ls.pod:429 ../df/virt-df.pod:171 ../edit/virt-edit.pod:165
812 #: ../inspector/virt-inspector.pod:123
813 #: ../libguestfs-1.11.20/cat/virt-cat.pod:138
814 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:265
815 #: ../libguestfs-1.11.20/cat/virt-ls.pod:429
816 #: ../libguestfs-1.11.20/df/virt-df.pod:171
817 #: ../libguestfs-1.11.20/edit/virt-edit.pod:165
818 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:123
819 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:182
820 #: ../rescue/virt-rescue.pod:182
821 msgid "Enable verbose messages for debugging."
825 #: ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267
826 #: ../cat/virt-ls.pod:431 ../df/virt-df.pod:173 ../edit/virt-edit.pod:167
827 #: ../fish/guestfish.pod:397 ../fuse/guestmount.pod:263
828 #: ../inspector/virt-inspector.pod:125
829 #: ../libguestfs-1.11.20/cat/virt-cat.pod:140
830 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:267
831 #: ../libguestfs-1.11.20/cat/virt-ls.pod:431
832 #: ../libguestfs-1.11.20/df/virt-df.pod:173
833 #: ../libguestfs-1.11.20/edit/virt-edit.pod:167
834 #: ../libguestfs-1.11.20/fish/guestfish.pod:397
835 #: ../libguestfs-1.11.20/fuse/guestmount.pod:263
836 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:125
837 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:184
838 #: ../libguestfs-1.11.20/resize/virt-resize.pod:478
839 #: ../rescue/virt-rescue.pod:184 ../resize/virt-resize.pod:478
844 #: ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269
845 #: ../cat/virt-ls.pod:433 ../df/virt-df.pod:175 ../edit/virt-edit.pod:169
846 #: ../fish/guestfish.pod:399 ../fuse/guestmount.pod:265
847 #: ../inspector/virt-inspector.pod:127
848 #: ../libguestfs-1.11.20/cat/virt-cat.pod:142
849 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:269
850 #: ../libguestfs-1.11.20/cat/virt-ls.pod:433
851 #: ../libguestfs-1.11.20/df/virt-df.pod:175
852 #: ../libguestfs-1.11.20/edit/virt-edit.pod:169
853 #: ../libguestfs-1.11.20/fish/guestfish.pod:399
854 #: ../libguestfs-1.11.20/fuse/guestmount.pod:265
855 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:127
856 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:186
857 #: ../libguestfs-1.11.20/resize/virt-resize.pod:480
858 #: ../rescue/virt-rescue.pod:186 ../resize/virt-resize.pod:480
859 #: ../tools/virt-list-filesystems.pl:69 ../tools/virt-list-partitions.pl:70
860 #: ../tools/virt-make-fs.pl:169 ../tools/virt-tar.pl:119
861 #: ../tools/virt-win-reg.pl:112
863 msgstr "B<--version>"
866 #: ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271
867 #: ../cat/virt-ls.pod:435 ../df/virt-df.pod:177 ../edit/virt-edit.pod:171
868 #: ../inspector/virt-inspector.pod:129
869 #: ../libguestfs-1.11.20/cat/virt-cat.pod:144
870 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:271
871 #: ../libguestfs-1.11.20/cat/virt-ls.pod:435
872 #: ../libguestfs-1.11.20/df/virt-df.pod:177
873 #: ../libguestfs-1.11.20/edit/virt-edit.pod:171
874 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:129
875 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:188
876 #: ../libguestfs-1.11.20/resize/virt-resize.pod:482
877 #: ../rescue/virt-rescue.pod:188 ../resize/virt-resize.pod:482
878 #: ../tools/virt-list-filesystems.pl:71 ../tools/virt-list-partitions.pl:72
879 #: ../tools/virt-make-fs.pl:171 ../tools/virt-tar.pl:121
880 #: ../tools/virt-win-reg.pl:114
881 msgid "Display version number and exit."
882 msgstr "Показати дані щодо версії і завершити роботу."
885 #: ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281
886 #: ../cat/virt-ls.pod:437 ../df/virt-df.pod:179 ../edit/virt-edit.pod:173
887 #: ../fish/guestfish.pod:412 ../fuse/guestmount.pod:278
888 #: ../inspector/virt-inspector.pod:131
889 #: ../libguestfs-1.11.20/cat/virt-cat.pod:146
890 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:281
891 #: ../libguestfs-1.11.20/cat/virt-ls.pod:437
892 #: ../libguestfs-1.11.20/df/virt-df.pod:179
893 #: ../libguestfs-1.11.20/edit/virt-edit.pod:173
894 #: ../libguestfs-1.11.20/fish/guestfish.pod:412
895 #: ../libguestfs-1.11.20/fuse/guestmount.pod:278
896 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:131
897 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:199
898 #: ../rescue/virt-rescue.pod:199 ../tools/virt-tar.pl:158
903 #: ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283
904 #: ../cat/virt-ls.pod:439 ../df/virt-df.pod:181 ../edit/virt-edit.pod:175
905 #: ../inspector/virt-inspector.pod:133
906 #: ../libguestfs-1.11.20/cat/virt-cat.pod:148
907 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:283
908 #: ../libguestfs-1.11.20/cat/virt-ls.pod:439
909 #: ../libguestfs-1.11.20/df/virt-df.pod:181
910 #: ../libguestfs-1.11.20/edit/virt-edit.pod:175
911 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:133
912 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:201
913 #: ../rescue/virt-rescue.pod:201
914 msgid "Enable tracing of libguestfs API calls."
918 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
919 #: ../inspector/virt-inspector.pod:137
920 #: ../libguestfs-1.11.20/cat/virt-cat.pod:152
921 #: ../libguestfs-1.11.20/cat/virt-ls.pod:443
922 #: ../libguestfs-1.11.20/edit/virt-edit.pod:179
923 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:137
924 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:205
925 #: ../rescue/virt-rescue.pod:205
926 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
930 #: ../cat/virt-cat.pod:154 ../libguestfs-1.11.20/cat/virt-cat.pod:154
931 msgid "Previous versions of virt-cat allowed you to write either:"
935 #: ../cat/virt-cat.pod:156 ../libguestfs-1.11.20/cat/virt-cat.pod:156
938 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
941 " virt-cat disk.img [disk.img ...] file\n"
944 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
948 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
949 #: ../inspector/virt-inspector.pod:143
950 #: ../libguestfs-1.11.20/cat/virt-cat.pod:158
951 #: ../libguestfs-1.11.20/cat/virt-ls.pod:449
952 #: ../libguestfs-1.11.20/edit/virt-edit.pod:185
953 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:143
954 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:211
955 #: ../rescue/virt-rescue.pod:211
962 #: ../cat/virt-cat.pod:160 ../libguestfs-1.11.20/cat/virt-cat.pod:160
965 " virt-cat guestname file\n"
970 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
971 #: ../inspector/virt-inspector.pod:147
972 #: ../libguestfs-1.11.20/cat/virt-cat.pod:162
973 #: ../libguestfs-1.11.20/cat/virt-ls.pod:453
974 #: ../libguestfs-1.11.20/edit/virt-edit.pod:189
975 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:147
976 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:215
977 #: ../rescue/virt-rescue.pod:215
979 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
980 "the confusing case where a disk image might have the same name as a guest."
984 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
985 #: ../inspector/virt-inspector.pod:151
986 #: ../libguestfs-1.11.20/cat/virt-cat.pod:166
987 #: ../libguestfs-1.11.20/cat/virt-ls.pod:457
988 #: ../libguestfs-1.11.20/edit/virt-edit.pod:193
989 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:151
990 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:219
991 #: ../rescue/virt-rescue.pod:219
992 msgid "For compatibility the old style is still supported."
996 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:297
997 #: ../libguestfs-1.11.20/cat/virt-cat.pod:168
998 #: ../libguestfs-1.11.20/edit/virt-edit.pod:297
999 msgid "USING GUESTFISH"
1003 #: ../cat/virt-cat.pod:170 ../libguestfs-1.11.20/cat/virt-cat.pod:170
1005 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
1006 "C<virt-cat> doesn't work."
1010 #: ../cat/virt-cat.pod:173 ../libguestfs-1.11.20/cat/virt-cat.pod:173
1011 msgid "Using C<virt-cat> is approximately equivalent to doing:"
1015 #: ../cat/virt-cat.pod:175 ../libguestfs-1.11.20/cat/virt-cat.pod:175
1018 #| " guestfish --ro -d myguest -i\n"
1021 " guestfish --ro -i -d domname download file -\n"
1024 " guestfish --ro -d myguest -i\n"
1028 #: ../cat/virt-cat.pod:177 ../libguestfs-1.11.20/cat/virt-cat.pod:177
1030 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
1031 "path to the file. Note the final C<-> (meaning \"output to stdout\")."
1035 #: ../cat/virt-cat.pod:181 ../libguestfs-1.11.20/cat/virt-cat.pod:181
1037 "The command above uses libguestfs's guest inspection feature and so does not "
1038 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
1039 "disk images that don't contain guests. To display a file from a disk image "
1044 #: ../cat/virt-cat.pod:186 ../libguestfs-1.11.20/cat/virt-cat.pod:186
1047 #| " guestfish [--ro] -i disk.img\n"
1050 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
1053 " guestfish [--ro] -i disk.img\n"
1057 #: ../cat/virt-cat.pod:188 ../libguestfs-1.11.20/cat/virt-cat.pod:188
1059 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
1060 "the disk image to edit, and C<file> is the full path to the file."
1064 #: ../cat/virt-cat.pod:192 ../cat/virt-filesystems.pod:365
1065 #: ../cat/virt-ls.pod:483 ../df/virt-df.pod:209 ../edit/virt-edit.pod:342
1066 #: ../inspector/virt-inspector.pod:349
1067 #: ../libguestfs-1.11.20/cat/virt-cat.pod:192
1068 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:365
1069 #: ../libguestfs-1.11.20/cat/virt-ls.pod:483
1070 #: ../libguestfs-1.11.20/df/virt-df.pod:209
1071 #: ../libguestfs-1.11.20/edit/virt-edit.pod:342
1072 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:349
1073 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:262
1074 #: ../libguestfs-1.11.20/resize/virt-resize.pod:543
1075 #: ../rescue/virt-rescue.pod:262 ../resize/virt-resize.pod:543
1076 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
1077 #: ../tools/virt-make-fs.pl:532 ../tools/virt-tar.pl:289
1078 #: ../tools/virt-win-reg.pl:733
1079 msgid "SHELL QUOTING"
1083 #: ../cat/virt-cat.pod:194 ../cat/virt-filesystems.pod:367
1084 #: ../cat/virt-ls.pod:485 ../df/virt-df.pod:211 ../edit/virt-edit.pod:344
1085 #: ../inspector/virt-inspector.pod:351
1086 #: ../libguestfs-1.11.20/cat/virt-cat.pod:194
1087 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:367
1088 #: ../libguestfs-1.11.20/cat/virt-ls.pod:485
1089 #: ../libguestfs-1.11.20/df/virt-df.pod:211
1090 #: ../libguestfs-1.11.20/edit/virt-edit.pod:344
1091 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:351
1092 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:264
1093 #: ../libguestfs-1.11.20/resize/virt-resize.pod:545
1094 #: ../rescue/virt-rescue.pod:264 ../resize/virt-resize.pod:545
1095 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
1096 #: ../tools/virt-make-fs.pl:534 ../tools/virt-tar.pl:291
1097 #: ../tools/virt-win-reg.pl:741
1099 "Libvirt guest names can contain arbitrary characters, some of which have "
1100 "meaning to the shell such as C<#> and space. You may need to quote or "
1101 "escape these characters on the command line. See the shell manual page L<sh"
1106 #: ../cat/virt-cat.pod:199 ../cat/virt-filesystems.pod:372
1107 #: ../cat/virt-ls.pod:490 ../df/virt-df.pod:216 ../edit/virt-edit.pod:349
1108 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
1109 #: ../fish/guestfish.pod:1214 ../fish/virt-copy-in.pod:50
1110 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47
1111 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:303
1112 #: ../inspector/virt-inspector.pod:372 ../java/examples/guestfs-java.pod:45
1113 #: ../libguestfs-1.11.20/cat/virt-cat.pod:199
1114 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:372
1115 #: ../libguestfs-1.11.20/cat/virt-ls.pod:490
1116 #: ../libguestfs-1.11.20/df/virt-df.pod:216
1117 #: ../libguestfs-1.11.20/edit/virt-edit.pod:349
1118 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:33
1119 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:384
1120 #: ../libguestfs-1.11.20/fish/guestfish.pod:1214
1121 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:50
1122 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:39
1123 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:47
1124 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:41
1125 #: ../libguestfs-1.11.20/fuse/guestmount.pod:303
1126 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:372
1127 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:45
1128 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:78
1129 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:39
1130 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:42
1131 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:284
1132 #: ../libguestfs-1.11.20/resize/virt-resize.pod:550
1133 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:36
1134 #: ../libguestfs-1.11.20/src/guestfs.pod:3011
1135 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:87
1136 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39
1137 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:284
1138 #: ../resize/virt-resize.pod:550 ../ruby/examples/guestfs-ruby.pod:36
1139 #: ../src/guestfs.pod:3011 ../test-tool/libguestfs-test-tool.pod:87
1140 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
1141 #: ../tools/virt-make-fs.pl:539 ../tools/virt-tar.pl:296
1142 #: ../tools/virt-win-reg.pl:746
1144 msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
1147 #: ../cat/virt-cat.pod:201 ../libguestfs-1.11.20/cat/virt-cat.pod:201
1150 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
1151 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
1152 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
1154 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1155 "tar-out(1)>, L<http://libguestfs.org/>."
1157 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
1158 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
1159 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
1162 #: ../cat/virt-cat.pod:208 ../cat/virt-filesystems.pod:383
1163 #: ../cat/virt-ls.pod:502 ../df/virt-df.pod:224 ../edit/virt-edit.pod:363
1164 #: ../libguestfs-1.11.20/cat/virt-cat.pod:208
1165 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:383
1166 #: ../libguestfs-1.11.20/cat/virt-ls.pod:502
1167 #: ../libguestfs-1.11.20/df/virt-df.pod:224
1168 #: ../libguestfs-1.11.20/edit/virt-edit.pod:363
1169 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:292
1170 #: ../libguestfs-1.11.20/resize/virt-resize.pod:571
1171 #: ../rescue/virt-rescue.pod:292 ../resize/virt-resize.pod:571
1172 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
1173 #: ../tools/virt-make-fs.pl:564 ../tools/virt-tar.pl:311
1174 #: ../tools/virt-win-reg.pl:772
1179 #: ../cat/virt-cat.pod:210 ../cat/virt-filesystems.pod:385
1180 #: ../cat/virt-ls.pod:504 ../df/virt-df.pod:226 ../edit/virt-edit.pod:365
1181 #: ../inspector/virt-inspector.pod:386
1182 #: ../libguestfs-1.11.20/cat/virt-cat.pod:210
1183 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:385
1184 #: ../libguestfs-1.11.20/cat/virt-ls.pod:504
1185 #: ../libguestfs-1.11.20/df/virt-df.pod:226
1186 #: ../libguestfs-1.11.20/edit/virt-edit.pod:365
1187 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:386
1188 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:294
1189 #: ../libguestfs-1.11.20/resize/virt-resize.pod:573
1190 #: ../rescue/virt-rescue.pod:294 ../resize/virt-resize.pod:573
1191 #: ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279
1192 #: ../tools/virt-make-fs.pl:566 ../tools/virt-tar.pl:313
1193 #: ../tools/virt-win-reg.pl:774
1194 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1195 msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1198 #: ../cat/virt-cat.pod:212 ../cat/virt-filesystems.pod:387
1199 #: ../cat/virt-ls.pod:506 ../df/virt-df.pod:228 ../edit/virt-edit.pod:367
1200 #: ../examples/guestfs-examples.pod:48 ../examples/guestfs-recipes.pod:400
1201 #: ../fish/guestfish.pod:1242 ../fish/virt-copy-in.pod:64
1202 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62
1203 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:318
1204 #: ../inspector/virt-inspector.pod:394 ../java/examples/guestfs-java.pod:61
1205 #: ../libguestfs-1.11.20/cat/virt-cat.pod:212
1206 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:387
1207 #: ../libguestfs-1.11.20/cat/virt-ls.pod:506
1208 #: ../libguestfs-1.11.20/df/virt-df.pod:228
1209 #: ../libguestfs-1.11.20/edit/virt-edit.pod:367
1210 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:48
1211 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:400
1212 #: ../libguestfs-1.11.20/fish/guestfish.pod:1242
1213 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:64
1214 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:53
1215 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:62
1216 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:55
1217 #: ../libguestfs-1.11.20/fuse/guestmount.pod:318
1218 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:394
1219 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:61
1220 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:94
1221 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:55
1222 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:57
1223 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:296
1224 #: ../libguestfs-1.11.20/resize/virt-resize.pod:575
1225 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:51
1226 #: ../libguestfs-1.11.20/src/guestfs.pod:3086
1227 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:97
1228 #: ../ocaml/examples/guestfs-ocaml.pod:94 ../perl/examples/guestfs-perl.pod:55
1229 #: ../python/examples/guestfs-python.pod:57 ../rescue/virt-rescue.pod:296
1230 #: ../resize/virt-resize.pod:575 ../ruby/examples/guestfs-ruby.pod:51
1231 #: ../src/guestfs.pod:3086 ../test-tool/libguestfs-test-tool.pod:97
1232 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
1233 #: ../tools/virt-make-fs.pl:568 ../tools/virt-tar.pl:315
1234 #: ../tools/virt-win-reg.pl:776
1236 msgstr "АВТОРСЬКІ ПРАВА"
1239 #: ../cat/virt-cat.pod:214 ../inspector/virt-inspector.pod:396
1240 #: ../libguestfs-1.11.20/cat/virt-cat.pod:214
1241 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:396
1242 #: ../libguestfs-1.11.20/resize/virt-resize.pod:577
1243 #: ../resize/virt-resize.pod:577
1245 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
1246 msgid "Copyright (C) 2010-2011 Red Hat Inc."
1247 msgstr "© Red Hat Inc., 2009–2010"
1250 #: ../cat/virt-cat.pod:216 ../cat/virt-filesystems.pod:391
1251 #: ../cat/virt-ls.pod:510 ../df/virt-df.pod:232 ../edit/virt-edit.pod:371
1252 #: ../fish/guestfish.pod:1247 ../fish/virt-copy-in.pod:69
1253 #: ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67
1254 #: ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:323
1255 #: ../inspector/virt-inspector.pod:398
1256 #: ../libguestfs-1.11.20/cat/virt-cat.pod:216
1257 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:391
1258 #: ../libguestfs-1.11.20/cat/virt-ls.pod:510
1259 #: ../libguestfs-1.11.20/df/virt-df.pod:232
1260 #: ../libguestfs-1.11.20/edit/virt-edit.pod:371
1261 #: ../libguestfs-1.11.20/fish/guestfish.pod:1247
1262 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:69
1263 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:58
1264 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:67
1265 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:60
1266 #: ../libguestfs-1.11.20/fuse/guestmount.pod:323
1267 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:398
1268 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:300
1269 #: ../libguestfs-1.11.20/resize/virt-resize.pod:579
1270 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:102
1271 #: ../rescue/virt-rescue.pod:300 ../resize/virt-resize.pod:579
1272 #: ../test-tool/libguestfs-test-tool.pod:102
1273 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
1274 #: ../tools/virt-make-fs.pl:572 ../tools/virt-tar.pl:319
1275 #: ../tools/virt-win-reg.pl:780
1277 "This program is free software; you can redistribute it and/or modify it "
1278 "under the terms of the GNU General Public License as published by the Free "
1279 "Software Foundation; either version 2 of the License, or (at your option) "
1280 "any later version."
1284 #: ../cat/virt-cat.pod:221 ../cat/virt-filesystems.pod:396
1285 #: ../cat/virt-ls.pod:515 ../df/virt-df.pod:237 ../edit/virt-edit.pod:376
1286 #: ../fish/guestfish.pod:1252 ../fish/virt-copy-in.pod:74
1287 #: ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72
1288 #: ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:328
1289 #: ../inspector/virt-inspector.pod:403
1290 #: ../libguestfs-1.11.20/cat/virt-cat.pod:221
1291 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:396
1292 #: ../libguestfs-1.11.20/cat/virt-ls.pod:515
1293 #: ../libguestfs-1.11.20/df/virt-df.pod:237
1294 #: ../libguestfs-1.11.20/edit/virt-edit.pod:376
1295 #: ../libguestfs-1.11.20/fish/guestfish.pod:1252
1296 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:74
1297 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:63
1298 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:72
1299 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:65
1300 #: ../libguestfs-1.11.20/fuse/guestmount.pod:328
1301 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:403
1302 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:305
1303 #: ../libguestfs-1.11.20/resize/virt-resize.pod:584
1304 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:107
1305 #: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:584
1306 #: ../test-tool/libguestfs-test-tool.pod:107
1307 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
1308 #: ../tools/virt-make-fs.pl:577 ../tools/virt-tar.pl:324
1309 #: ../tools/virt-win-reg.pl:785
1311 "This program is distributed in the hope that it will be useful, but WITHOUT "
1312 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
1313 "FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for "
1316 "Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-"
1317 "ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії ПРАЦЕЗДАТНОСТІ "
1318 "або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше про це можна "
1319 "дізнатися з GNU General Public License."
1322 #: ../cat/virt-cat.pod:226 ../cat/virt-filesystems.pod:401
1323 #: ../cat/virt-ls.pod:520 ../df/virt-df.pod:242 ../edit/virt-edit.pod:381
1324 #: ../fish/guestfish.pod:1257 ../fish/virt-copy-in.pod:79
1325 #: ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77
1326 #: ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:333
1327 #: ../inspector/virt-inspector.pod:408
1328 #: ../libguestfs-1.11.20/cat/virt-cat.pod:226
1329 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:401
1330 #: ../libguestfs-1.11.20/cat/virt-ls.pod:520
1331 #: ../libguestfs-1.11.20/df/virt-df.pod:242
1332 #: ../libguestfs-1.11.20/edit/virt-edit.pod:381
1333 #: ../libguestfs-1.11.20/fish/guestfish.pod:1257
1334 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:79
1335 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:68
1336 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:77
1337 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:70
1338 #: ../libguestfs-1.11.20/fuse/guestmount.pod:333
1339 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:408
1340 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:310
1341 #: ../libguestfs-1.11.20/resize/virt-resize.pod:589
1342 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:112
1343 #: ../rescue/virt-rescue.pod:310 ../resize/virt-resize.pod:589
1344 #: ../test-tool/libguestfs-test-tool.pod:112
1345 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
1346 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:329
1347 #: ../tools/virt-win-reg.pl:790
1349 "You should have received a copy of the GNU General Public License along with "
1350 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
1351 "Ave, Cambridge, MA 02139, USA."
1355 #: ../cat/virt-filesystems.pod:5
1356 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:5
1358 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
1359 "virtual machine or disk image"
1363 #: ../cat/virt-filesystems.pod:9
1364 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:9
1367 #| " virt-list-partitions [--options] domname\n"
1370 " virt-filesystems [--options] -d domname\n"
1373 " virt-list-partitions [--параметри] назва_домену\n"
1377 #: ../cat/virt-filesystems.pod:11
1378 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:11
1381 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
1384 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
1387 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
1391 #: ../cat/virt-filesystems.pod:15
1392 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:15
1394 "This tool allows you to discover filesystems, partitions, logical volumes, "
1395 "and their sizes in a disk image or virtual machine. It is a replacement for "
1396 "L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
1400 #: ../cat/virt-filesystems.pod:20
1401 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:20
1403 "One use for this tool is from shell scripts to iterate over all filesystems "
1404 "from a disk image:"
1408 #: ../cat/virt-filesystems.pod:23
1409 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:23
1412 " for fs in $(virt-filesystems -a disk.img); do\n"
1419 #: ../cat/virt-filesystems.pod:27
1420 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:27
1422 "Another use is to list partitions before using another tool to modify those "
1423 "partitions (such as L<virt-resize(1)>). If you are curious about what an "
1424 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
1428 #: ../cat/virt-filesystems.pod:32
1429 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:32
1431 "Various command line options control what this program displays. You need "
1432 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
1433 "guest respectively. If you just specify that then the program shows "
1434 "filesystems found, one per line, like this:"
1438 #: ../cat/virt-filesystems.pod:37
1439 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:37
1442 " $ virt-filesystems -a disk.img\n"
1444 " /dev/vg_guest/lv_root\n"
1449 #: ../cat/virt-filesystems.pod:41
1450 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:41
1452 "If you add I<-l> or I<--long> then the output includes extra information:"
1456 #: ../cat/virt-filesystems.pod:44
1457 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:44
1460 " $ virt-filesystems -a disk.img -l\n"
1461 " Name Type VFS Label Size\n"
1462 " /dev/sda1 filesystem ext4 boot 524288000\n"
1463 " /dev/vg_guest/lv_root filesystem ext4 root 10212081664\n"
1468 #: ../cat/virt-filesystems.pod:49
1469 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:49
1471 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
1476 #: ../cat/virt-filesystems.pod:52
1477 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:52
1480 " $ virt-filesystems -a disk.img --extra\n"
1482 " /dev/vg_guest/lv_root\n"
1483 " /dev/vg_guest/lv_swap\n"
1484 " /dev/vg_guest/lv_data\n"
1489 #: ../cat/virt-filesystems.pod:58
1490 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:58
1492 "If you add I<--partitions> then partitions are shown instead of filesystems:"
1496 #: ../cat/virt-filesystems.pod:60
1497 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:60
1500 " $ virt-filesystems -a disk.img --partitions\n"
1507 #: ../cat/virt-filesystems.pod:64
1508 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:64
1510 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I<--physical-"
1511 "volumes>, I<--block-devices> to list those items."
1515 #: ../cat/virt-filesystems.pod:67
1516 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:67
1518 "You can use these options in combination as well (if you want a combination "
1519 "including filesystems, you have to add I<--filesystems>). Notice that some "
1520 "items fall into several categories (eg. C</dev/sda1> might be both a "
1521 "partition and a filesystem). These items are listed several times. To get "
1522 "a list which includes absolutely everything that virt-filesystems knows "
1523 "about, use the I<--all> option."
1527 #: ../cat/virt-filesystems.pod:74
1528 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:74
1530 "UUIDs (because they are quite long) are not shown by default. Add the I<--"
1531 "uuid> option to display device and filesystem UUIDs in the long output."
1535 #: ../cat/virt-filesystems.pod:78
1536 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:78
1538 "I<--all --long --uuid> is a useful combination to display all possible "
1539 "information about everything."
1543 #: ../cat/virt-filesystems.pod:81
1544 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:81
1547 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1548 " Name Type VFS Label Size Parent UUID\n"
1549 " /dev/sda1 filesystem ntfs System Reserved 100M - F81C92571C92112C\n"
1550 " /dev/sda2 filesystem ntfs - 20G - F2E8996AE8992E3B\n"
1551 " /dev/sda1 partition - - 100M /dev/sda -\n"
1552 " /dev/sda2 partition - - 20G /dev/sda -\n"
1553 " /dev/sda device - - 20G - -\n"
1558 #: ../cat/virt-filesystems.pod:89
1559 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:89
1561 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1565 #: ../cat/virt-filesystems.pod:110
1566 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:110
1567 #: ../tools/virt-list-filesystems.pl:121
1569 #| msgid "B<--help>"
1574 #: ../cat/virt-filesystems.pod:112
1575 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:112
1577 "Display everything. This is currently the same as specifying these options: "
1578 "I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I<--"
1579 "logical-volumes>, I<--volume-groups>, I<--physical-volumes>. (More may be "
1580 "added to this list in future)."
1584 #: ../cat/virt-filesystems.pod:117
1585 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:117
1587 #| msgid "See also L</is-lv>."
1588 msgid "See also I<--long>."
1589 msgstr "Див. також L</is-lv>."
1592 #: ../cat/virt-filesystems.pod:119
1593 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:119
1595 #| msgid "B<--live>"
1596 msgid "B<--blkdevs>"
1600 #: ../cat/virt-filesystems.pod:121
1601 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:121
1603 #| msgid "is-blockdev"
1604 msgid "B<--block-devices>"
1605 msgstr "is-blockdev"
1608 #: ../cat/virt-filesystems.pod:123
1609 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:123
1611 #| msgid "is-blockdev"
1612 msgid "Display block devices."
1613 msgstr "is-blockdev"
1616 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301
1617 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:135
1618 #: ../libguestfs-1.11.20/cat/virt-ls.pod:301
1625 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303
1626 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:137
1627 #: ../libguestfs-1.11.20/cat/virt-ls.pod:303
1629 "Write out the results in CSV format (comma-separated values). This format "
1630 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1631 "ABOUT CSV FORMAT> below."
1635 #: ../cat/virt-filesystems.pod:150
1636 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:150
1638 "When prompting for keys and passphrases, virt-filesystems normally turns "
1639 "echoing off so you cannot see what you are typing. If you are not worried "
1640 "about Tempest attacks and there is no one else in the room you can specify "
1641 "this flag to see what you are typing."
1645 #: ../cat/virt-filesystems.pod:155
1646 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:155
1653 #: ../cat/virt-filesystems.pod:157
1654 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:157
1656 "This causes filesystems that are not ordinary, mountable filesystems to be "
1657 "displayed. This category includes swapspace, and filesystems that are empty "
1658 "or contain unknown data."
1662 #: ../cat/virt-filesystems.pod:161
1663 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:161
1664 msgid "This option implies I<--filesystems>."
1668 #: ../cat/virt-filesystems.pod:163
1669 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:163
1671 #| msgid "list-filesystems"
1672 msgid "B<--filesystems>"
1673 msgstr "list-filesystems"
1676 #: ../cat/virt-filesystems.pod:165
1677 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:165
1679 "Display mountable filesystems. If no display option was selected then this "
1680 "option is implied."
1684 #: ../cat/virt-filesystems.pod:168
1685 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:168
1686 msgid "With I<--extra>, non-mountable filesystems are shown too."
1690 #: ../cat/virt-filesystems.pod:181
1691 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:181
1694 #| " guestfish --format=raw -a disk.img\n"
1697 " virt-filesystems --format=raw -a disk.img\n"
1700 " guestfish --format=raw -a disk.img\n"
1704 #: ../cat/virt-filesystems.pod:185
1705 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:185
1708 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
1711 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1714 " guestfish --format=raw -a disk.img --format -a another.img\n"
1718 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1719 #: ../df/virt-df.pod:119 ../fish/guestfish.pod:156
1720 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:194
1721 #: ../libguestfs-1.11.20/cat/virt-ls.pod:352
1722 #: ../libguestfs-1.11.20/df/virt-df.pod:119
1723 #: ../libguestfs-1.11.20/fish/guestfish.pod:156
1724 #: ../tools/virt-list-partitions.pl:109
1729 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1730 #: ../df/virt-df.pod:121 ../libguestfs-1.11.20/cat/virt-filesystems.pod:196
1731 #: ../libguestfs-1.11.20/cat/virt-ls.pod:354
1732 #: ../libguestfs-1.11.20/df/virt-df.pod:121
1733 #: ../tools/virt-list-partitions.pl:111
1735 #| msgid "B<-h> | B<--human-readable>"
1736 msgid "B<--human-readable>"
1737 msgstr "B<-h> | B<--human-readable>"
1740 #: ../cat/virt-filesystems.pod:198
1741 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:198
1742 msgid "In I<--long> mode, display sizes in human-readable format."
1746 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1747 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:205
1748 #: ../libguestfs-1.11.20/cat/virt-ls.pod:366
1749 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1754 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1755 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:207
1756 #: ../libguestfs-1.11.20/cat/virt-ls.pod:368
1757 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1764 #: ../cat/virt-filesystems.pod:209
1765 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:209
1766 msgid "Display extra columns of data (\"long format\")."
1770 #: ../cat/virt-filesystems.pod:211
1771 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:211
1772 msgid "A title row is added unless you also specify I<--no-title>."
1776 #: ../cat/virt-filesystems.pod:213
1777 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:213
1779 "The extra columns displayed depend on what output you select, and the "
1780 "ordering of columns may change in future versions. Use the title row, I<--"
1781 "csv> output and/or L<csvtool(1)> to match columns to data in external "
1786 #: ../cat/virt-filesystems.pod:218
1787 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:218
1789 "Use I<-h> if you want sizes to be displayed in human-readable format. The "
1790 "default is to show raw numbers of I<bytes>."
1794 #: ../cat/virt-filesystems.pod:221
1795 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:221
1796 msgid "Use I<--uuid> to display UUIDs too."
1800 #: ../cat/virt-filesystems.pod:223
1801 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:223
1803 #| msgid "B<--live>"
1808 #: ../cat/virt-filesystems.pod:225
1809 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:225
1811 #| msgid "B<--live>"
1812 msgid "B<--logvols>"
1816 #: ../cat/virt-filesystems.pod:227
1817 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:227
1819 #| msgid "B<--live>"
1820 msgid "B<--logical-volumes>"
1824 #: ../cat/virt-filesystems.pod:229
1825 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:229
1827 "Display LVM logical volumes. In this mode, these are displayed irrespective "
1828 "of whether the LVs contain filesystems."
1832 #: ../cat/virt-filesystems.pod:232
1833 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:232
1835 #| msgid "B<--listen>"
1836 msgid "B<--no-title>"
1837 msgstr "B<--listen>"
1840 #: ../cat/virt-filesystems.pod:234
1841 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:234
1842 msgid "In I<--long> mode, don't add a title row."
1846 #: ../cat/virt-filesystems.pod:236
1847 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:236
1849 "Note that the order of the columns is not fixed, and may change in future "
1850 "versions of virt-filesystems, so using this option may give you unexpected "
1855 #: ../cat/virt-filesystems.pod:240
1856 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:240
1858 #| msgid "B<--partition>"
1860 msgstr "B<--partition>"
1863 #: ../cat/virt-filesystems.pod:242
1864 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:242
1866 #| msgid "B<--partition>"
1867 msgid "B<--partitions>"
1868 msgstr "B<--partition>"
1871 #: ../cat/virt-filesystems.pod:244
1872 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:244
1874 "Display partitions. In this mode, these are displayed irrespective of "
1875 "whether the partitions contain filesystems."
1879 #: ../cat/virt-filesystems.pod:247
1880 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:247
1887 #: ../cat/virt-filesystems.pod:249
1888 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:249
1890 #| msgid "B<--verbose>"
1891 msgid "B<--physvols>"
1892 msgstr "B<--verbose>"
1895 #: ../cat/virt-filesystems.pod:251
1896 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:251
1897 msgid "B<--physical-volumes>"
1901 #: ../cat/virt-filesystems.pod:253
1902 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:253
1903 msgid "Display LVM physical volumes."
1907 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:157
1908 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:255
1909 #: ../libguestfs-1.11.20/df/virt-df.pod:157
1911 #| msgid "B<--live>"
1916 #: ../cat/virt-filesystems.pod:257
1917 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:257
1924 #: ../cat/virt-filesystems.pod:259
1925 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:259
1926 msgid "In I<--long> mode, display UUIDs as well."
1930 #: ../cat/virt-filesystems.pod:273
1931 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:273
1938 #: ../cat/virt-filesystems.pod:275
1939 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:275
1941 #| msgid "B<--verbose>"
1942 msgid "B<--volgroups>"
1943 msgstr "B<--verbose>"
1946 #: ../cat/virt-filesystems.pod:277
1947 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:277
1949 #| msgid "B<--verbose>"
1950 msgid "B<--volume-groups>"
1951 msgstr "B<--verbose>"
1954 #: ../cat/virt-filesystems.pod:279
1955 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:279
1956 msgid "Display LVM volume groups."
1960 #: ../cat/virt-filesystems.pod:287
1961 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:287
1966 #: ../cat/virt-filesystems.pod:289
1967 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:289
1969 "Note that columns in the output are subject to reordering and change in "
1970 "future versions of this tool."
1974 #: ../cat/virt-filesystems.pod:294
1975 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:294
1980 #: ../cat/virt-filesystems.pod:296
1981 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:296
1982 msgid "The filesystem, partition, block device or LVM name."
1986 #: ../cat/virt-filesystems.pod:298
1987 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:298
1989 "For device and partition names these are displayed as canonical libguestfs "
1990 "names, so that for example C</dev/sda2> is the second partition on the first "
1995 #: ../cat/virt-filesystems.pod:302
1996 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:302
1998 "If the I<--long> option is B<not> specified, then only the name column is "
1999 "shown in the output."
2003 #: ../cat/virt-filesystems.pod:305
2004 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:305
2006 #| msgid "B<-N type>"
2011 #: ../cat/virt-filesystems.pod:307
2012 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:307
2013 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
2017 #: ../cat/virt-filesystems.pod:309
2018 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:309
2023 #: ../cat/virt-filesystems.pod:311
2024 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:311
2026 "If there is a filesystem, then this column displays the filesystem type if "
2027 "one could be detected, eg. C<ext4>."
2031 #: ../cat/virt-filesystems.pod:314
2032 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:314
2037 #: ../cat/virt-filesystems.pod:316
2038 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:316
2040 "If the object has a label (used for identifying and mounting filesystems) "
2041 "then this column contains the label."
2045 #: ../cat/virt-filesystems.pod:319
2046 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:319
2048 #| msgid "B<part_size>"
2050 msgstr "B<part_size>"
2053 #: ../cat/virt-filesystems.pod:321
2054 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:321
2056 "The size of the object in bytes. If the I<--human> option is used then the "
2057 "size is displayed in a human-readable form."
2061 #: ../cat/virt-filesystems.pod:324
2062 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:324
2067 #: ../cat/virt-filesystems.pod:326
2068 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:326
2070 "The parent column records the parent relationship between objects. For "
2071 "example, if the object is a partition, then this column contains the name of "
2072 "the containing device. If the object is a logical volume, then this column "
2073 "is the name of the volume group."
2077 #: ../cat/virt-filesystems.pod:331
2078 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:331
2083 #: ../cat/virt-filesystems.pod:333
2084 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:333
2086 "If the object has a UUID (used for identifying and mounting filesystems and "
2087 "block devices) then this column contains the UUID as a string."
2091 #: ../cat/virt-filesystems.pod:337
2092 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:337
2093 msgid "The UUID is only displayed if the I<--uuid> option is given."
2097 #: ../cat/virt-filesystems.pod:341 ../cat/virt-ls.pod:459
2098 #: ../df/virt-df.pod:185 ../libguestfs-1.11.20/cat/virt-filesystems.pod:341
2099 #: ../libguestfs-1.11.20/cat/virt-ls.pod:459
2100 #: ../libguestfs-1.11.20/df/virt-df.pod:185
2101 msgid "NOTE ABOUT CSV FORMAT"
2105 #: ../cat/virt-filesystems.pod:343 ../cat/virt-ls.pod:461
2106 #: ../df/virt-df.pod:187 ../libguestfs-1.11.20/cat/virt-filesystems.pod:343
2107 #: ../libguestfs-1.11.20/cat/virt-ls.pod:461
2108 #: ../libguestfs-1.11.20/df/virt-df.pod:187
2110 "Comma-separated values (CSV) is a deceptive format. It I<seems> like it "
2111 "should be easy to parse, but it is definitely not easy to parse."
2115 #: ../cat/virt-filesystems.pod:346 ../cat/virt-ls.pod:464
2116 #: ../df/virt-df.pod:190 ../libguestfs-1.11.20/cat/virt-filesystems.pod:346
2117 #: ../libguestfs-1.11.20/cat/virt-ls.pod:464
2118 #: ../libguestfs-1.11.20/df/virt-df.pod:190
2120 "Myth: Just split fields at commas. Reality: This does I<not> work "
2121 "reliably. This example has two columns:"
2125 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:467
2126 #: ../df/virt-df.pod:193 ../libguestfs-1.11.20/cat/virt-filesystems.pod:349
2127 #: ../libguestfs-1.11.20/cat/virt-ls.pod:467
2128 #: ../libguestfs-1.11.20/df/virt-df.pod:193
2131 " \"foo,bar\",baz\n"
2136 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:469
2137 #: ../df/virt-df.pod:195 ../libguestfs-1.11.20/cat/virt-filesystems.pod:351
2138 #: ../libguestfs-1.11.20/cat/virt-ls.pod:469
2139 #: ../libguestfs-1.11.20/df/virt-df.pod:195
2141 "Myth: Read the file one line at a time. Reality: This does I<not> work "
2142 "reliably. This example has one row:"
2146 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:472
2147 #: ../df/virt-df.pod:198 ../libguestfs-1.11.20/cat/virt-filesystems.pod:354
2148 #: ../libguestfs-1.11.20/cat/virt-ls.pod:472
2149 #: ../libguestfs-1.11.20/df/virt-df.pod:198
2158 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:475
2159 #: ../df/virt-df.pod:201 ../libguestfs-1.11.20/cat/virt-filesystems.pod:357
2160 #: ../libguestfs-1.11.20/cat/virt-ls.pod:475
2161 #: ../libguestfs-1.11.20/df/virt-df.pod:201
2163 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
2164 "packaged in major Linux distributions)."
2168 #: ../cat/virt-filesystems.pod:360 ../cat/virt-ls.pod:478
2169 #: ../df/virt-df.pod:204 ../libguestfs-1.11.20/cat/virt-filesystems.pod:360
2170 #: ../libguestfs-1.11.20/cat/virt-ls.pod:478
2171 #: ../libguestfs-1.11.20/df/virt-df.pod:204
2173 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
2174 "or Python's built-in csv library)."
2178 #: ../cat/virt-filesystems.pod:363 ../cat/virt-ls.pod:481
2179 #: ../df/virt-df.pod:207 ../libguestfs-1.11.20/cat/virt-filesystems.pod:363
2180 #: ../libguestfs-1.11.20/cat/virt-ls.pod:481
2181 #: ../libguestfs-1.11.20/df/virt-df.pod:207
2182 msgid "Most spreadsheets and databases can import CSV directly."
2186 #: ../cat/virt-filesystems.pod:374
2187 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:374
2190 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
2191 #| "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
2192 #| "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
2194 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2195 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2198 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
2199 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
2200 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
2203 #: ../cat/virt-filesystems.pod:389
2204 #: ../libguestfs-1.11.20/cat/virt-filesystems.pod:389
2205 #: ../tools/virt-make-fs.pl:570 ../tools/virt-win-reg.pl:778
2206 msgid "Copyright (C) 2010 Red Hat Inc."
2210 #: ../cat/virt-ls.pod:5 ../libguestfs-1.11.20/cat/virt-ls.pod:5
2211 msgid "virt-ls - List files in a virtual machine"
2215 #: ../cat/virt-ls.pod:9 ../libguestfs-1.11.20/cat/virt-ls.pod:9
2218 " virt-ls [--options] -d domname directory [directory ...]\n"
2223 #: ../cat/virt-ls.pod:11 ../libguestfs-1.11.20/cat/virt-ls.pod:11
2226 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2229 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
2232 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2236 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15
2237 #: ../libguestfs-1.11.20/cat/virt-ls.pod:13
2238 #: ../libguestfs-1.11.20/df/virt-df.pod:15
2239 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:13
2240 #: ../rescue/virt-rescue.pod:13
2245 #: ../cat/virt-ls.pod:15 ../libguestfs-1.11.20/cat/virt-ls.pod:15
2248 #| " virt-list-partitions [--options] domname\n"
2251 " virt-ls [--options] domname directory\n"
2254 " virt-list-partitions [--параметри] назва_домену\n"
2258 #: ../cat/virt-ls.pod:17 ../libguestfs-1.11.20/cat/virt-ls.pod:17
2261 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2264 " virt-ls [--options] disk.img [disk.img ...] directory\n"
2267 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2271 #: ../cat/virt-ls.pod:21 ../libguestfs-1.11.20/cat/virt-ls.pod:21
2273 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
2274 "more from a virtual machine or disk image."
2278 #: ../cat/virt-ls.pod:24 ../libguestfs-1.11.20/cat/virt-ls.pod:24
2280 "Multiple directory names can be given, in which case the output from each is "
2285 #: ../cat/virt-ls.pod:27 ../libguestfs-1.11.20/cat/virt-ls.pod:27
2287 "To list directories from a libvirt guest use the I<-d> option to specify the "
2288 "name of the guest. For a disk image, use the I<-a> option."
2292 #: ../cat/virt-ls.pod:31 ../libguestfs-1.11.20/cat/virt-ls.pod:31
2294 "C<virt-ls> can do many simple file listings. For more complicated cases you "
2295 "may need to use L<guestfish(1)>, or write a program directly to the L<guestfs"
2300 #: ../cat/virt-ls.pod:37 ../libguestfs-1.11.20/cat/virt-ls.pod:37
2301 msgid "Get a list of all files and directories in a virtual machine:"
2305 #: ../cat/virt-ls.pod:39 ../libguestfs-1.11.20/cat/virt-ls.pod:39
2308 #| " guestfish --ro -d myguest -i\n"
2311 " virt-ls -R -d guest /\n"
2314 " guestfish --ro -d myguest -i\n"
2318 #: ../cat/virt-ls.pod:41 ../libguestfs-1.11.20/cat/virt-ls.pod:41
2319 msgid "List all setuid or setgid programs in a Linux virtual machine:"
2323 #: ../cat/virt-ls.pod:43 ../libguestfs-1.11.20/cat/virt-ls.pod:43
2326 " virt-ls -lR -d guest / | grep '^- [42]'\n"
2331 #: ../cat/virt-ls.pod:45 ../libguestfs-1.11.20/cat/virt-ls.pod:45
2332 msgid "List all public-writable directories in a Linux virtual machine:"
2336 #: ../cat/virt-ls.pod:47 ../libguestfs-1.11.20/cat/virt-ls.pod:47
2339 " virt-ls -lR -d guest / | grep '^d ...7'\n"
2344 #: ../cat/virt-ls.pod:49 ../libguestfs-1.11.20/cat/virt-ls.pod:49
2345 msgid "List all Unix domain sockets in a Linux virtual machine:"
2349 #: ../cat/virt-ls.pod:51 ../libguestfs-1.11.20/cat/virt-ls.pod:51
2352 " virt-ls -lR -d guest / | grep '^s'\n"
2357 #: ../cat/virt-ls.pod:53 ../libguestfs-1.11.20/cat/virt-ls.pod:53
2358 msgid "List all regular files with filenames ending in '.png':"
2362 #: ../cat/virt-ls.pod:55 ../libguestfs-1.11.20/cat/virt-ls.pod:55
2365 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
2370 #: ../cat/virt-ls.pod:57 ../libguestfs-1.11.20/cat/virt-ls.pod:57
2371 msgid "To display files larger than 10MB in home directories:"
2375 #: ../cat/virt-ls.pod:59 ../libguestfs-1.11.20/cat/virt-ls.pod:59
2378 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
2383 #: ../cat/virt-ls.pod:61 ../libguestfs-1.11.20/cat/virt-ls.pod:61
2384 msgid "Find everything modified in the last 7 days:"
2388 #: ../cat/virt-ls.pod:63 ../libguestfs-1.11.20/cat/virt-ls.pod:63
2391 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
2396 #: ../cat/virt-ls.pod:65 ../libguestfs-1.11.20/cat/virt-ls.pod:65
2397 msgid "Find regular files modified in the last 24 hours:"
2401 #: ../cat/virt-ls.pod:67 ../libguestfs-1.11.20/cat/virt-ls.pod:67
2404 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
2409 #: ../cat/virt-ls.pod:69 ../libguestfs-1.11.20/cat/virt-ls.pod:69
2410 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
2414 #: ../cat/virt-ls.pod:71 ../libguestfs-1.11.20/cat/virt-ls.pod:71
2416 "Find the differences between files in a guest and an earlier snapshot of the "
2421 #: ../cat/virt-ls.pod:74 ../libguestfs-1.11.20/cat/virt-ls.pod:74
2424 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
2425 " virt-ls -lR -a current.img / --uids --time-t > new\n"
2426 " diff -u old new | less\n"
2431 #: ../cat/virt-ls.pod:78 ../libguestfs-1.11.20/cat/virt-ls.pod:78
2433 "The commands above won't find files where the content has changed but the "
2434 "metadata (eg. file size and modification date) is the same. To do that, you "
2435 "need to add the I<--checksum> parameter to both C<virt-ls> commands. I<--"
2436 "checksum> can be quite slow since it has to read and compute a checksum of "
2437 "every regular file in the virtual machine."
2441 #: ../cat/virt-ls.pod:84 ../libguestfs-1.11.20/cat/virt-ls.pod:84
2442 msgid "OUTPUT MODES"
2446 #: ../cat/virt-ls.pod:86 ../libguestfs-1.11.20/cat/virt-ls.pod:86
2448 "C<virt-ls> has four output modes, controlled by different combinations of "
2449 "the I<-l> and I<-R> options."
2453 #: ../cat/virt-ls.pod:89 ../libguestfs-1.11.20/cat/virt-ls.pod:89
2454 msgid "SIMPLE LISTING"
2458 #: ../cat/virt-ls.pod:91 ../libguestfs-1.11.20/cat/virt-ls.pod:91
2459 msgid "A simple listing is like the ordinary L<ls(1)> command:"
2463 #: ../cat/virt-ls.pod:93 ../libguestfs-1.11.20/cat/virt-ls.pod:93
2466 " $ virt-ls -d guest /\n"
2474 #: ../cat/virt-ls.pod:98 ../libguestfs-1.11.20/cat/virt-ls.pod:98
2477 msgid "LONG LISTING"
2481 #: ../cat/virt-ls.pod:100 ../libguestfs-1.11.20/cat/virt-ls.pod:100
2483 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
2484 "(more specifically, like the C<guestfs_ll> function)."
2488 #: ../cat/virt-ls.pod:103 ../libguestfs-1.11.20/cat/virt-ls.pod:103
2491 " $ virt-ls -l -d guest /\n"
2493 " dr-xr-xr-x. 2 root root 4096 2009-08-25 19:06 bin\n"
2494 " dr-xr-xr-x. 5 root root 3072 2009-08-25 19:06 boot\n"
2500 #: ../cat/virt-ls.pod:109 ../libguestfs-1.11.20/cat/virt-ls.pod:109
2502 "Note that while this is useful for displaying a directory, do not try "
2503 "parsing this output in another program. Use L</RECURSIVE LONG LISTING> "
2508 #: ../cat/virt-ls.pod:113 ../libguestfs-1.11.20/cat/virt-ls.pod:113
2509 msgid "RECURSIVE LISTING"
2513 #: ../cat/virt-ls.pod:115 ../libguestfs-1.11.20/cat/virt-ls.pod:115
2515 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
2516 "and directories recursively:"
2520 #: ../cat/virt-ls.pod:118 ../libguestfs-1.11.20/cat/virt-ls.pod:118
2523 " $ virt-ls -R -d guest /tmp\n"
2531 #: ../cat/virt-ls.pod:123 ../libguestfs-1.11.20/cat/virt-ls.pod:123
2533 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
2534 "converts C<\\0> characters to C<\\n>."
2538 #: ../cat/virt-ls.pod:126 ../libguestfs-1.11.20/cat/virt-ls.pod:126
2539 msgid "RECURSIVE LONG LISTING"
2543 #: ../cat/virt-ls.pod:128 ../libguestfs-1.11.20/cat/virt-ls.pod:128
2545 "Using I<-lR> options together changes the output to display directories "
2546 "recursively, with file stats, and optionally other features such as "
2547 "checksums and extended attributes."
2551 #: ../cat/virt-ls.pod:132 ../libguestfs-1.11.20/cat/virt-ls.pod:132
2553 "Most of the interesting features of C<virt-ls> are only available when using "
2558 #: ../cat/virt-ls.pod:135 ../libguestfs-1.11.20/cat/virt-ls.pod:135
2560 "The fields are normally space-separated. Filenames are B<not> quoted, so "
2561 "you cannot use the output in another program (because filenames can contain "
2562 "spaces and other unsafe characters). If the guest was untrusted and someone "
2563 "knew you were using C<virt-ls> to analyze the guest, they could play tricks "
2564 "on you by creating filenames with embedded newline characters. To B<safely> "
2565 "parse the output in another program, use the I<--csv> (Comma-Separated "
2570 #: ../cat/virt-ls.pod:143 ../libguestfs-1.11.20/cat/virt-ls.pod:143
2572 "Note that this output format is completely unrelated to the C<ls -lR> "
2577 #: ../cat/virt-ls.pod:146 ../libguestfs-1.11.20/cat/virt-ls.pod:146
2580 " $ virt-ls -lR -d guest /bin\n"
2581 " d 0555 4096 /bin\n"
2582 " - 0755 123 /bin/alsaunmute\n"
2583 " - 0755 28328 /bin/arch\n"
2584 " l 0777 4 /bin/awk -> gawk\n"
2585 " - 0755 27216 /bin/basename\n"
2586 " - 0755 943360 /bin/bash\n"
2592 #: ../cat/virt-ls.pod:155 ../libguestfs-1.11.20/cat/virt-ls.pod:155
2593 msgid "These basic fields are always shown:"
2597 #: ../cat/virt-ls.pod:159 ../libguestfs-1.11.20/cat/virt-ls.pod:159
2604 #: ../cat/virt-ls.pod:161 ../libguestfs-1.11.20/cat/virt-ls.pod:161
2606 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
2607 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
2608 "link), C<s> (socket) or C<u> (unknown)."
2612 #: ../cat/virt-ls.pod:171 ../libguestfs-1.11.20/cat/virt-ls.pod:171
2619 #: ../cat/virt-ls.pod:173 ../libguestfs-1.11.20/cat/virt-ls.pod:173
2620 msgid "The Unix permissions, displayed as a 4 digit octal number."
2624 #: ../cat/virt-ls.pod:175 ../libguestfs-1.11.20/cat/virt-ls.pod:175
2631 #: ../cat/virt-ls.pod:177 ../libguestfs-1.11.20/cat/virt-ls.pod:177
2633 "The size of the file. This is shown in bytes unless I<-h> or I<--human-"
2634 "readable> option is given, in which case this is shown as a human-readable "
2639 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4183
2640 #: ../libguestfs-1.11.20/cat/virt-ls.pod:181
2641 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4183
2646 #: ../cat/virt-ls.pod:183 ../libguestfs-1.11.20/cat/virt-ls.pod:183
2647 msgid "The full path of the file or directory."
2651 #: ../cat/virt-ls.pod:185 ../libguestfs-1.11.20/cat/virt-ls.pod:185
2658 #: ../cat/virt-ls.pod:187 ../libguestfs-1.11.20/cat/virt-ls.pod:187
2659 msgid "For symbolic links only, the link target."
2663 #: ../cat/virt-ls.pod:191 ../libguestfs-1.11.20/cat/virt-ls.pod:191
2665 "In I<-lR> mode, additional command line options enable the display of more "
2670 #: ../cat/virt-ls.pod:194 ../libguestfs-1.11.20/cat/virt-ls.pod:194
2672 "With the I<--uids> flag, these additional fields are displayed before the "
2677 #: ../cat/virt-ls.pod:199 ../libguestfs-1.11.20/cat/virt-ls.pod:199
2684 #: ../cat/virt-ls.pod:201 ../libguestfs-1.11.20/cat/virt-ls.pod:201
2691 #: ../cat/virt-ls.pod:203 ../libguestfs-1.11.20/cat/virt-ls.pod:203
2693 "The UID and GID of the owner of the file (displayed numerically). Note "
2694 "these only make sense in the context of a Unix-like guest."
2698 #: ../cat/virt-ls.pod:208 ../libguestfs-1.11.20/cat/virt-ls.pod:208
2699 msgid "With the I<--times> flag, these additional fields are displayed:"
2703 #: ../cat/virt-ls.pod:212 ../libguestfs-1.11.20/cat/virt-ls.pod:212
2710 #: ../cat/virt-ls.pod:214 ../libguestfs-1.11.20/cat/virt-ls.pod:214
2711 msgid "The time of last access."
2715 #: ../cat/virt-ls.pod:216 ../libguestfs-1.11.20/cat/virt-ls.pod:216
2722 #: ../cat/virt-ls.pod:218 ../libguestfs-1.11.20/cat/virt-ls.pod:218
2723 msgid "The time of last modification."
2727 #: ../cat/virt-ls.pod:220 ../libguestfs-1.11.20/cat/virt-ls.pod:220
2734 #: ../cat/virt-ls.pod:222 ../libguestfs-1.11.20/cat/virt-ls.pod:222
2735 msgid "The time of last status change."
2739 #: ../cat/virt-ls.pod:226 ../libguestfs-1.11.20/cat/virt-ls.pod:226
2741 "The time fields are displayed as string dates and times, unless one of the "
2742 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2746 #: ../cat/virt-ls.pod:229 ../libguestfs-1.11.20/cat/virt-ls.pod:229
2747 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2751 #: ../cat/virt-ls.pod:233 ../libguestfs-1.11.20/cat/virt-ls.pod:233
2753 #| msgid "zero-device"
2755 msgstr "zero-device"
2758 #: ../cat/virt-ls.pod:235 ../libguestfs-1.11.20/cat/virt-ls.pod:235
2760 "The device containing the file (displayed as major:minor). This may not "
2761 "match devices as known to the guest."
2765 #: ../cat/virt-ls.pod:238 ../libguestfs-1.11.20/cat/virt-ls.pod:238
2770 #: ../cat/virt-ls.pod:240 ../libguestfs-1.11.20/cat/virt-ls.pod:240
2771 msgid "The inode number."
2775 #: ../cat/virt-ls.pod:242 ../libguestfs-1.11.20/cat/virt-ls.pod:242
2782 #: ../cat/virt-ls.pod:244 ../libguestfs-1.11.20/cat/virt-ls.pod:244
2783 msgid "The number of hard links."
2787 #: ../cat/virt-ls.pod:246 ../libguestfs-1.11.20/cat/virt-ls.pod:246
2792 #: ../cat/virt-ls.pod:248 ../libguestfs-1.11.20/cat/virt-ls.pod:248
2794 "For block and char special files, the device (displayed as major:minor)."
2798 #: ../cat/virt-ls.pod:251 ../libguestfs-1.11.20/cat/virt-ls.pod:251
2800 #| msgid "C<blocksize>"
2802 msgstr "C<blocksize>"
2805 #: ../cat/virt-ls.pod:253 ../libguestfs-1.11.20/cat/virt-ls.pod:253
2806 msgid "The number of 512 byte blocks allocated to the file."
2810 #: ../cat/virt-ls.pod:257 ../libguestfs-1.11.20/cat/virt-ls.pod:257
2812 "With the I<--checksum> flag, the checksum of the file contents is shown "
2813 "(only for regular files). Computing file checksums can take a considerable "
2818 #: ../cat/virt-ls.pod:280 ../libguestfs-1.11.20/cat/virt-ls.pod:280
2821 msgid "B<--checksum>"
2825 #: ../cat/virt-ls.pod:282 ../libguestfs-1.11.20/cat/virt-ls.pod:282
2826 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2830 #: ../cat/virt-ls.pod:284 ../libguestfs-1.11.20/cat/virt-ls.pod:284
2832 "Display checksum over file contents for regular files. With no argument, "
2833 "this defaults to using I<md5>. Using an argument, you can select the "
2834 "checksum type to use."
2838 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2839 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2840 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2841 #: ../libguestfs-1.11.20/cat/virt-ls.pod:288
2842 #: ../libguestfs-1.11.20/cat/virt-ls.pod:325
2843 #: ../libguestfs-1.11.20/cat/virt-ls.pod:358
2844 #: ../libguestfs-1.11.20/cat/virt-ls.pod:391
2845 #: ../libguestfs-1.11.20/cat/virt-ls.pod:401
2846 #: ../libguestfs-1.11.20/cat/virt-ls.pod:408
2847 #: ../libguestfs-1.11.20/cat/virt-ls.pod:415
2848 #: ../libguestfs-1.11.20/cat/virt-ls.pod:422
2850 "This option only has effect in I<-lR> output mode. See L</RECURSIVE LONG "
2855 #: ../cat/virt-ls.pod:316 ../libguestfs-1.11.20/cat/virt-ls.pod:316
2857 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2858 "so you cannot see what you are typing. If you are not worried about Tempest "
2859 "attacks and there is no one else in the room you can specify this flag to "
2860 "see what you are typing."
2864 #: ../cat/virt-ls.pod:321 ../libguestfs-1.11.20/cat/virt-ls.pod:321
2866 #| msgid "B<--no-dest-paths>"
2867 msgid "B<--extra-stats>"
2868 msgstr "B<--no-dest-paths>"
2871 #: ../cat/virt-ls.pod:323 ../libguestfs-1.11.20/cat/virt-ls.pod:323
2872 msgid "Display extra stats."
2876 #: ../cat/virt-ls.pod:339 ../libguestfs-1.11.20/cat/virt-ls.pod:339
2879 #| " guestfish --format=raw -a disk.img\n"
2882 " virt-ls --format=raw -a disk.img /dir\n"
2885 " guestfish --format=raw -a disk.img\n"
2889 #: ../cat/virt-ls.pod:343 ../libguestfs-1.11.20/cat/virt-ls.pod:343
2892 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
2895 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2898 " guestfish --format=raw -a disk.img --format -a another.img\n"
2902 #: ../cat/virt-ls.pod:356 ../libguestfs-1.11.20/cat/virt-ls.pod:356
2903 msgid "Display file sizes in human-readable format."
2907 #: ../cat/virt-ls.pod:370 ../libguestfs-1.11.20/cat/virt-ls.pod:370
2912 #: ../cat/virt-ls.pod:372 ../libguestfs-1.11.20/cat/virt-ls.pod:372
2914 #| msgid "B<--live>"
2915 msgid "B<--recursive>"
2919 #: ../cat/virt-ls.pod:374 ../libguestfs-1.11.20/cat/virt-ls.pod:374
2921 "Select the mode. With neither of these options, C<virt-ls> produces a "
2922 "simple, flat list of the files in the named directory. See L</SIMPLE "
2927 #: ../cat/virt-ls.pod:378 ../libguestfs-1.11.20/cat/virt-ls.pod:378
2929 "C<virt-ls -l> produces a \"long listing\", which shows more detail. See L</"
2934 #: ../cat/virt-ls.pod:381 ../libguestfs-1.11.20/cat/virt-ls.pod:381
2936 "C<virt-ls -R> produces a recursive list of files starting at the named "
2937 "directory. See L</RECURSIVE LISTING>."
2941 #: ../cat/virt-ls.pod:384 ../libguestfs-1.11.20/cat/virt-ls.pod:384
2943 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2944 "parsed. See L</RECURSIVE LONG LISTING>."
2948 #: ../cat/virt-ls.pod:387 ../libguestfs-1.11.20/cat/virt-ls.pod:387
2950 #| msgid "B<--live>"
2955 #: ../cat/virt-ls.pod:389 ../libguestfs-1.11.20/cat/virt-ls.pod:389
2956 msgid "Display time fields."
2960 #: ../cat/virt-ls.pod:394 ../libguestfs-1.11.20/cat/virt-ls.pod:394
2962 #| msgid "B<--echo-keys>"
2963 msgid "B<--time-days>"
2964 msgstr "B<--echo-keys>"
2967 #: ../cat/virt-ls.pod:396 ../libguestfs-1.11.20/cat/virt-ls.pod:396
2968 msgid "Display time fields as days before now (negative if in the future)."
2972 #: ../cat/virt-ls.pod:398 ../libguestfs-1.11.20/cat/virt-ls.pod:398
2974 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
2975 "of the file is between 0 and 86399 seconds."
2979 #: ../cat/virt-ls.pod:404 ../libguestfs-1.11.20/cat/virt-ls.pod:404
2981 #| msgid "B<--live>"
2982 msgid "B<--time-relative>"
2986 #: ../cat/virt-ls.pod:406 ../libguestfs-1.11.20/cat/virt-ls.pod:406
2987 msgid "Display time fields as seconds before now (negative if in the future)."
2991 #: ../cat/virt-ls.pod:411 ../libguestfs-1.11.20/cat/virt-ls.pod:411
2993 #| msgid "I<--timeout N>"
2995 msgstr "I<--timeout N>"
2998 #: ../cat/virt-ls.pod:413 ../libguestfs-1.11.20/cat/virt-ls.pod:413
2999 msgid "Display time fields as seconds since the Unix epoch."
3003 #: ../cat/virt-ls.pod:418 ../libguestfs-1.11.20/cat/virt-ls.pod:418
3010 #: ../cat/virt-ls.pod:420 ../libguestfs-1.11.20/cat/virt-ls.pod:420
3011 msgid "Display UID and GID fields."
3015 #: ../cat/virt-ls.pod:445 ../libguestfs-1.11.20/cat/virt-ls.pod:445
3016 msgid "Previous versions of virt-ls allowed you to write either:"
3020 #: ../cat/virt-ls.pod:447 ../libguestfs-1.11.20/cat/virt-ls.pod:447
3023 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3026 " virt-ls disk.img [disk.img ...] /dir\n"
3029 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3033 #: ../cat/virt-ls.pod:451 ../libguestfs-1.11.20/cat/virt-ls.pod:451
3036 #| " inspect-get-hostname root\n"
3039 " virt-ls guestname /dir\n"
3042 " inspect-get-hostname корінь\n"
3046 #: ../cat/virt-ls.pod:492 ../libguestfs-1.11.20/cat/virt-ls.pod:492
3049 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3050 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
3051 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3053 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3054 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3055 "L<http://libguestfs.org/>."
3057 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3058 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
3059 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3062 #: ../cat/virt-ls.pod:508 ../df/virt-df.pod:230 ../edit/virt-edit.pod:369
3063 #: ../libguestfs-1.11.20/cat/virt-ls.pod:508
3064 #: ../libguestfs-1.11.20/df/virt-df.pod:230
3065 #: ../libguestfs-1.11.20/edit/virt-edit.pod:369
3066 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:298
3067 #: ../rescue/virt-rescue.pod:298
3069 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
3070 msgid "Copyright (C) 2009-2011 Red Hat Inc."
3071 msgstr "© Red Hat Inc., 2009–2010"
3074 #: ../df/virt-df.pod:5 ../libguestfs-1.11.20/df/virt-df.pod:5
3075 msgid "virt-df - Display free space on virtual filesystems"
3079 #: ../df/virt-df.pod:9 ../libguestfs-1.11.20/df/virt-df.pod:9
3082 #| " virt-list-partitions [--options] domname\n"
3085 " virt-df [--options]\n"
3088 " virt-list-partitions [--параметри] назва_домену\n"
3092 #: ../df/virt-df.pod:11 ../libguestfs-1.11.20/df/virt-df.pod:11
3095 #| " virt-list-partitions [--options] domname\n"
3098 " virt-df [--options] -d domname\n"
3101 " virt-list-partitions [--параметри] назва_домену\n"
3105 #: ../df/virt-df.pod:13 ../libguestfs-1.11.20/df/virt-df.pod:13
3108 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3111 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
3114 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3118 #: ../df/virt-df.pod:17 ../libguestfs-1.11.20/df/virt-df.pod:17
3121 #| " virt-list-partitions [--options] domname\n"
3124 " virt-df [--options] domname\n"
3127 " virt-list-partitions [--параметри] назва_домену\n"
3131 #: ../df/virt-df.pod:19 ../libguestfs-1.11.20/df/virt-df.pod:19
3134 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3137 " virt-df [--options] disk.img [disk.img ...]\n"
3140 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3144 #: ../df/virt-df.pod:23 ../libguestfs-1.11.20/df/virt-df.pod:23
3146 "C<virt-df> is a command line tool to display free space on virtual machine "
3147 "filesystems. Unlike other tools, it doesn't just display the size of disk "
3148 "allocated to a virtual machine, but can look inside disk images to see how "
3149 "much space is really being used."
3153 #: ../df/virt-df.pod:28 ../libguestfs-1.11.20/df/virt-df.pod:28
3155 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt "
3156 "to get a list of all active and inactive guests, and performs a C<df>-type "
3157 "operation on each one in turn, printing out the results."
3161 #: ../df/virt-df.pod:32 ../libguestfs-1.11.20/df/virt-df.pod:32
3163 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a C<df>-"
3164 "type operation on either the single named libvirt domain, or on the disk "
3165 "image(s) listed on the command line (which must all belong to a single VM). "
3166 "In this mode (with arguments), C<virt-df> will I<only work for a single "
3167 "guest>. If you want to run on multiple guests, then you have to invoke "
3168 "C<virt-df> multiple times."
3172 #: ../df/virt-df.pod:39 ../libguestfs-1.11.20/df/virt-df.pod:39
3174 "Use the I<--csv> option to get a format which can be easily parsed by other "
3175 "programs. Other options are similar to the standard L<df(1)> command."
3179 #: ../df/virt-df.pod:45 ../libguestfs-1.11.20/df/virt-df.pod:45
3181 "Show disk usage for a single libvirt guest called C<F14x64>. Make the "
3182 "output human-readable:"
3186 #: ../df/virt-df.pod:48 ../libguestfs-1.11.20/df/virt-df.pod:48
3189 " # virt-df -d F14x64 -h\n"
3190 " Filesystem Size Used Available Use%\n"
3191 " F14x64:/dev/sda1 484M 66M 393M 14%\n"
3192 " F14x64:/dev/vg_f13x64/lv_root 7.4G 3.4G 4.0G 46%\n"
3197 #: ../df/virt-df.pod:53 ../libguestfs-1.11.20/df/virt-df.pod:53
3198 msgid "Show disk usage for a disk image file called C<test.img>:"
3202 #: ../df/virt-df.pod:55 ../libguestfs-1.11.20/df/virt-df.pod:55
3205 " $ virt-df -a test1.img\n"
3206 " Filesystem 1K-blocks Used Available Use%\n"
3207 " test1.img:/dev/sda1 99099 1551 92432 2%\n"
3212 #: ../df/virt-df.pod:106 ../libguestfs-1.11.20/df/virt-df.pod:106
3215 #| " guestfish --format=raw -a disk.img\n"
3218 " virt-df --format=raw -a disk.img\n"
3221 " guestfish --format=raw -a disk.img\n"
3225 #: ../df/virt-df.pod:110 ../libguestfs-1.11.20/df/virt-df.pod:110
3228 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3231 " virt-df --format=raw -a disk.img --format -a another.img\n"
3234 " guestfish --format=raw -a disk.img --format -a another.img\n"
3238 #: ../df/virt-df.pod:123 ../libguestfs-1.11.20/df/virt-df.pod:123
3239 msgid "Print sizes in human-readable format."
3243 #: ../df/virt-df.pod:125 ../libguestfs-1.11.20/df/virt-df.pod:125
3244 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
3248 #: ../df/virt-df.pod:127 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:155
3249 #: ../libguestfs-1.11.20/df/virt-df.pod:127
3250 #: ../libguestfs-1.11.20/fish/guestfish.pod:258
3251 #: ../libguestfs-1.11.20/fuse/guestmount.pod:155
3256 #: ../df/virt-df.pod:129 ../libguestfs-1.11.20/df/virt-df.pod:129
3258 #| msgid "B<--live>"
3263 #: ../df/virt-df.pod:131 ../libguestfs-1.11.20/df/virt-df.pod:131
3264 msgid "Print inodes instead of blocks."
3268 #: ../df/virt-df.pod:133 ../libguestfs-1.11.20/df/virt-df.pod:133
3270 #| msgid "B<--merge>"
3271 msgid "B<--one-per-guest>"
3275 #: ../df/virt-df.pod:135 ../libguestfs-1.11.20/df/virt-df.pod:135
3277 "Run one libguestfs appliance per guest. Normally C<virt-df> will add the "
3278 "disks from several guests to a single libguestfs appliance."
3282 #: ../df/virt-df.pod:138 ../libguestfs-1.11.20/df/virt-df.pod:138
3283 msgid "You might use this option in the following circumstances:"
3287 #: ../df/virt-df.pod:142 ../df/virt-df.pod:148 ../edit/virt-edit.pod:266
3288 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
3289 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
3290 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
3291 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
3292 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
3293 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
3294 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
3295 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
3296 #: ../fish/guestfish-actions.pod:385 ../fish/guestfish-actions.pod:393
3297 #: ../fish/guestfish-actions.pod:400 ../fish/guestfish-actions.pod:407
3298 #: ../fish/guestfish-actions.pod:1099 ../fish/guestfish-actions.pod:1103
3299 #: ../fish/guestfish-actions.pod:1107 ../fish/guestfish-actions.pod:1111
3300 #: ../fish/guestfish-actions.pod:1119 ../fish/guestfish-actions.pod:1123
3301 #: ../fish/guestfish-actions.pod:1127 ../fish/guestfish-actions.pod:1137
3302 #: ../fish/guestfish-actions.pod:1141 ../fish/guestfish-actions.pod:1145
3303 #: ../fish/guestfish-actions.pod:1235 ../fish/guestfish-actions.pod:1239
3304 #: ../fish/guestfish-actions.pod:1244 ../fish/guestfish-actions.pod:1249
3305 #: ../fish/guestfish-actions.pod:1291 ../fish/guestfish-actions.pod:1295
3306 #: ../fish/guestfish-actions.pod:1300 ../fish/guestfish-actions.pod:1933
3307 #: ../fish/guestfish-actions.pod:1939 ../fish/guestfish-actions.pod:1947
3308 #: ../fish/guestfish-actions.pod:1954 ../fish/guestfish-actions.pod:1961
3309 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
3310 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
3311 #: ../inspector/virt-inspector.pod:384 ../inspector/virt-inspector.pod:388
3312 #: ../libguestfs-1.11.20/df/virt-df.pod:142
3313 #: ../libguestfs-1.11.20/df/virt-df.pod:148
3314 #: ../libguestfs-1.11.20/edit/virt-edit.pod:266
3315 #: ../libguestfs-1.11.20/edit/virt-edit.pod:271
3316 #: ../libguestfs-1.11.20/edit/virt-edit.pod:276
3317 #: ../libguestfs-1.11.20/edit/virt-edit.pod:287
3318 #: ../libguestfs-1.11.20/edit/virt-edit.pod:291
3319 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:98
3320 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:102
3321 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:106
3322 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:132
3323 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:137
3324 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:227
3325 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:231
3326 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:235
3327 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:239
3328 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:243
3329 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:13
3330 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:20
3331 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:385
3332 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:393
3333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:400
3334 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:407
3335 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1099
3336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1103
3337 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1107
3338 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1111
3339 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1119
3340 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1123
3341 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1127
3342 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1137
3343 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1141
3344 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1145
3345 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1235
3346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1239
3347 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1244
3348 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1249
3349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1291
3350 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1295
3351 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1300
3352 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1933
3353 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1939
3354 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1947
3355 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1954
3356 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1961
3357 #: ../libguestfs-1.11.20/fish/guestfish.pod:445
3358 #: ../libguestfs-1.11.20/fish/guestfish.pod:449
3359 #: ../libguestfs-1.11.20/fish/guestfish.pod:453
3360 #: ../libguestfs-1.11.20/fish/guestfish.pod:457
3361 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:384
3362 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:388
3363 #: ../libguestfs-1.11.20/resize/virt-resize.pod:282
3364 #: ../libguestfs-1.11.20/resize/virt-resize.pod:286
3365 #: ../libguestfs-1.11.20/resize/virt-resize.pod:295
3366 #: ../libguestfs-1.11.20/resize/virt-resize.pod:301
3367 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:15
3368 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:22
3369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:583
3370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:591
3371 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:598
3372 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:605
3373 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1662
3374 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1666
3375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1670
3376 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1674
3377 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1682
3378 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1686
3379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1690
3380 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1700
3381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1704
3382 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1708
3383 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1846
3384 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1850
3385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1855
3386 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1860
3387 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1921
3388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1925
3389 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1930
3390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2859
3391 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2865
3392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2873
3393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2880
3394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2887
3395 #: ../libguestfs-1.11.20/src/guestfs.pod:388
3396 #: ../libguestfs-1.11.20/src/guestfs.pod:393
3397 #: ../libguestfs-1.11.20/src/guestfs.pod:398
3398 #: ../libguestfs-1.11.20/src/guestfs.pod:402
3399 #: ../libguestfs-1.11.20/src/guestfs.pod:407
3400 #: ../libguestfs-1.11.20/src/guestfs.pod:411
3401 #: ../libguestfs-1.11.20/src/guestfs.pod:416
3402 #: ../libguestfs-1.11.20/src/guestfs.pod:421
3403 #: ../libguestfs-1.11.20/src/guestfs.pod:1064
3404 #: ../libguestfs-1.11.20/src/guestfs.pod:1068
3405 #: ../libguestfs-1.11.20/src/guestfs.pod:1072
3406 #: ../libguestfs-1.11.20/src/guestfs.pod:1077
3407 #: ../libguestfs-1.11.20/src/guestfs.pod:1085
3408 #: ../libguestfs-1.11.20/src/guestfs.pod:1104
3409 #: ../libguestfs-1.11.20/src/guestfs.pod:1112
3410 #: ../libguestfs-1.11.20/src/guestfs.pod:1134
3411 #: ../libguestfs-1.11.20/src/guestfs.pod:1138
3412 #: ../libguestfs-1.11.20/src/guestfs.pod:1142
3413 #: ../libguestfs-1.11.20/src/guestfs.pod:1146
3414 #: ../libguestfs-1.11.20/src/guestfs.pod:1150
3415 #: ../libguestfs-1.11.20/src/guestfs.pod:1154
3416 #: ../libguestfs-1.11.20/src/guestfs.pod:1643
3417 #: ../libguestfs-1.11.20/src/guestfs.pod:1648
3418 #: ../libguestfs-1.11.20/src/guestfs.pod:1652
3419 #: ../libguestfs-1.11.20/src/guestfs.pod:1754
3420 #: ../libguestfs-1.11.20/src/guestfs.pod:1759
3421 #: ../libguestfs-1.11.20/src/guestfs.pod:1763
3422 #: ../libguestfs-1.11.20/src/guestfs.pod:1773
3423 #: ../libguestfs-1.11.20/src/guestfs.pod:2047
3424 #: ../libguestfs-1.11.20/src/guestfs.pod:2052
3425 #: ../libguestfs-1.11.20/src/guestfs.pod:2058
3426 #: ../libguestfs-1.11.20/src/guestfs.pod:2066
3427 #: ../libguestfs-1.11.20/src/guestfs.pod:2420
3428 #: ../libguestfs-1.11.20/src/guestfs.pod:2426
3429 #: ../libguestfs-1.11.20/src/guestfs.pod:2431
3430 #: ../libguestfs-1.11.20/src/guestfs.pod:2437
3431 #: ../libguestfs-1.11.20/src/guestfs.pod:2818
3432 #: ../libguestfs-1.11.20/src/guestfs.pod:2822
3433 #: ../libguestfs-1.11.20/src/guestfs.pod:2826
3434 #: ../libguestfs-1.11.20/src/guestfs.pod:2830
3435 #: ../libguestfs-1.11.20/src/guestfs.pod:2844
3436 #: ../libguestfs-1.11.20/src/guestfs.pod:2849
3437 #: ../libguestfs-1.11.20/src/guestfs.pod:3063
3438 #: ../libguestfs-1.11.20/src/guestfs.pod:3067
3439 #: ../libguestfs-1.11.20/src/guestfs.pod:3071
3440 #: ../libguestfs-1.11.20/src/guestfs.pod:3075 ../resize/virt-resize.pod:282
3441 #: ../resize/virt-resize.pod:286 ../resize/virt-resize.pod:295
3442 #: ../resize/virt-resize.pod:301 ../src/guestfs-actions.pod:15
3443 #: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:583
3444 #: ../src/guestfs-actions.pod:591 ../src/guestfs-actions.pod:598
3445 #: ../src/guestfs-actions.pod:605 ../src/guestfs-actions.pod:1662
3446 #: ../src/guestfs-actions.pod:1666 ../src/guestfs-actions.pod:1670
3447 #: ../src/guestfs-actions.pod:1674 ../src/guestfs-actions.pod:1682
3448 #: ../src/guestfs-actions.pod:1686 ../src/guestfs-actions.pod:1690
3449 #: ../src/guestfs-actions.pod:1700 ../src/guestfs-actions.pod:1704
3450 #: ../src/guestfs-actions.pod:1708 ../src/guestfs-actions.pod:1846
3451 #: ../src/guestfs-actions.pod:1850 ../src/guestfs-actions.pod:1855
3452 #: ../src/guestfs-actions.pod:1860 ../src/guestfs-actions.pod:1921
3453 #: ../src/guestfs-actions.pod:1925 ../src/guestfs-actions.pod:1930
3454 #: ../src/guestfs-actions.pod:2859 ../src/guestfs-actions.pod:2865
3455 #: ../src/guestfs-actions.pod:2873 ../src/guestfs-actions.pod:2880
3456 #: ../src/guestfs-actions.pod:2887 ../src/guestfs.pod:388
3457 #: ../src/guestfs.pod:393 ../src/guestfs.pod:398 ../src/guestfs.pod:402
3458 #: ../src/guestfs.pod:407 ../src/guestfs.pod:411 ../src/guestfs.pod:416
3459 #: ../src/guestfs.pod:421 ../src/guestfs.pod:1064 ../src/guestfs.pod:1068
3460 #: ../src/guestfs.pod:1072 ../src/guestfs.pod:1077 ../src/guestfs.pod:1085
3461 #: ../src/guestfs.pod:1104 ../src/guestfs.pod:1112 ../src/guestfs.pod:1134
3462 #: ../src/guestfs.pod:1138 ../src/guestfs.pod:1142 ../src/guestfs.pod:1146
3463 #: ../src/guestfs.pod:1150 ../src/guestfs.pod:1154 ../src/guestfs.pod:1643
3464 #: ../src/guestfs.pod:1648 ../src/guestfs.pod:1652 ../src/guestfs.pod:1754
3465 #: ../src/guestfs.pod:1759 ../src/guestfs.pod:1763 ../src/guestfs.pod:1773
3466 #: ../src/guestfs.pod:2047 ../src/guestfs.pod:2052 ../src/guestfs.pod:2058
3467 #: ../src/guestfs.pod:2066 ../src/guestfs.pod:2420 ../src/guestfs.pod:2426
3468 #: ../src/guestfs.pod:2431 ../src/guestfs.pod:2437 ../src/guestfs.pod:2818
3469 #: ../src/guestfs.pod:2822 ../src/guestfs.pod:2826 ../src/guestfs.pod:2830
3470 #: ../src/guestfs.pod:2844 ../src/guestfs.pod:2849 ../src/guestfs.pod:3063
3471 #: ../src/guestfs.pod:3067 ../src/guestfs.pod:3071 ../src/guestfs.pod:3075
3472 #: ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202
3473 #: ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:710
3474 #: ../tools/virt-win-reg.pl:716 ../tools/virt-win-reg.pl:722
3479 #: ../df/virt-df.pod:144 ../libguestfs-1.11.20/df/virt-df.pod:144
3481 "If you think an untrusted guest might actively try to exploit the libguestfs "
3482 "appliance kernel, then this prevents one guest from interfering with the "
3483 "stats printed for another guest."
3487 #: ../df/virt-df.pod:150 ../libguestfs-1.11.20/df/virt-df.pod:150
3489 "If the kernel has a bug which stops it from accessing a filesystem in one "
3490 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
3491 "and report stats for further guests."
3495 #: ../df/virt-df.pod:159 ../libguestfs-1.11.20/df/virt-df.pod:159
3497 "Print UUIDs instead of names. This is useful for following a guest even "
3498 "when the guest is migrated or renamed, or when two guests happen to have the "
3503 #: ../df/virt-df.pod:163 ../libguestfs-1.11.20/df/virt-df.pod:163
3505 "Note that only domains that we fetch from libvirt come with UUIDs. For disk "
3506 "images, we still print the disk image name even when this option is "
3511 #: ../df/virt-df.pod:218 ../libguestfs-1.11.20/df/virt-df.pod:218
3513 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<http://"
3518 #: ../edit/virt-edit.pod:5 ../libguestfs-1.11.20/edit/virt-edit.pod:5
3519 msgid "virt-edit - Edit a file in a virtual machine"
3523 #: ../edit/virt-edit.pod:9 ../libguestfs-1.11.20/edit/virt-edit.pod:9
3526 #| " virt-list-partitions [--options] domname\n"
3529 " virt-edit [--options] -d domname file [file ...]\n"
3532 " virt-list-partitions [--параметри] назва_домену\n"
3536 #: ../edit/virt-edit.pod:11 ../libguestfs-1.11.20/edit/virt-edit.pod:11
3539 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3542 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
3545 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3549 #: ../edit/virt-edit.pod:13 ../libguestfs-1.11.20/edit/virt-edit.pod:13
3552 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
3557 #: ../edit/virt-edit.pod:17 ../libguestfs-1.11.20/edit/virt-edit.pod:17
3560 " virt-edit domname file\n"
3565 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
3566 #: ../libguestfs-1.11.20/edit/virt-edit.pod:19
3567 #: ../libguestfs-1.11.20/edit/virt-edit.pod:183
3570 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3573 " virt-edit disk.img [disk.img ...] file\n"
3576 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3580 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
3581 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
3582 #: ../fuse/guestmount.pod:15 ../libguestfs-1.11.20/edit/virt-edit.pod:21
3583 #: ../libguestfs-1.11.20/fish/guestfish.pod:23
3584 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:13
3585 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:15
3586 #: ../libguestfs-1.11.20/fuse/guestmount.pod:15
3587 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:19
3588 #: ../rescue/virt-rescue.pod:19 ../tools/virt-tar.pl:64
3589 #: ../tools/virt-win-reg.pl:51
3591 msgstr "ПОПЕРЕДЖЕННЯ"
3594 #: ../edit/virt-edit.pod:23 ../libguestfs-1.11.20/edit/virt-edit.pod:23
3596 "You must I<not> use C<virt-edit> on live virtual machines. If you do this, "
3597 "you risk disk corruption in the VM. C<virt-edit> tries to stop you from "
3598 "doing this, but doesn't catch all cases."
3602 #: ../edit/virt-edit.pod:29 ../libguestfs-1.11.20/edit/virt-edit.pod:29
3604 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
3605 "exists in the named virtual machine (or disk image)."
3609 #: ../edit/virt-edit.pod:32 ../libguestfs-1.11.20/edit/virt-edit.pod:32
3611 "Multiple filenames can be given, in which case they are each edited in "
3612 "turn. Each filename must be a full path, starting at the root directory "
3613 "(starting with '/')."
3617 #: ../edit/virt-edit.pod:36 ../libguestfs-1.11.20/edit/virt-edit.pod:36
3618 msgid "If you want to just view a file, use L<virt-cat(1)>."
3622 #: ../edit/virt-edit.pod:38 ../libguestfs-1.11.20/edit/virt-edit.pod:38
3624 "For more complex cases you should look at the L<guestfish(1)> tool (see L</"
3625 "USING GUESTFISH> below)."
3629 #: ../edit/virt-edit.pod:41 ../libguestfs-1.11.20/edit/virt-edit.pod:41
3631 "C<virt-edit> cannot be used to create a new file. L<guestfish(1)> can do "
3632 "that and much more."
3636 #: ../edit/virt-edit.pod:46 ../libguestfs-1.11.20/edit/virt-edit.pod:46
3637 msgid "Edit the named files interactively:"
3641 #: ../edit/virt-edit.pod:48 ../libguestfs-1.11.20/edit/virt-edit.pod:48
3644 " virt-edit -d mydomain /boot/grub/grub.conf\n"
3649 #: ../edit/virt-edit.pod:50 ../libguestfs-1.11.20/edit/virt-edit.pod:50
3652 " virt-edit -d mydomain /etc/passwd\n"
3657 #: ../edit/virt-edit.pod:52 ../libguestfs-1.11.20/edit/virt-edit.pod:52
3658 msgid "For Windows guests, some Windows paths are understood:"
3662 #: ../edit/virt-edit.pod:54 ../libguestfs-1.11.20/edit/virt-edit.pod:54
3665 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
3670 #: ../edit/virt-edit.pod:56 ../libguestfs-1.11.20/edit/virt-edit.pod:56
3672 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
3673 "INTERACTIVE EDITING> below). To change the init default level to 5:"
3677 #: ../edit/virt-edit.pod:60 ../libguestfs-1.11.20/edit/virt-edit.pod:60
3680 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
3685 #: ../edit/virt-edit.pod:81 ../libguestfs-1.11.20/edit/virt-edit.pod:81
3686 msgid "B<-b> extension"
3690 #: ../edit/virt-edit.pod:83 ../libguestfs-1.11.20/edit/virt-edit.pod:83
3691 msgid "B<--backup> extension"
3695 #: ../edit/virt-edit.pod:85 ../libguestfs-1.11.20/edit/virt-edit.pod:85
3697 "Create a backup of the original file I<in the guest disk image>. The backup "
3698 "has the original filename with C<extension> added."
3702 #: ../edit/virt-edit.pod:88 ../libguestfs-1.11.20/edit/virt-edit.pod:88
3704 "Usually the first character of C<extension> would be a dot C<.> so you would "
3709 #: ../edit/virt-edit.pod:91 ../libguestfs-1.11.20/edit/virt-edit.pod:91
3712 " virt-edit -b .orig [etc]\n"
3717 #: ../edit/virt-edit.pod:93 ../libguestfs-1.11.20/edit/virt-edit.pod:93
3718 msgid "By default, no backup file is made."
3722 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
3723 #: ../fuse/guestmount.pod:96 ../inspector/virt-inspector.pod:74
3724 #: ../libguestfs-1.11.20/edit/virt-edit.pod:95
3725 #: ../libguestfs-1.11.20/fish/guestfish.pod:181
3726 #: ../libguestfs-1.11.20/fuse/guestmount.pod:96
3727 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:74
3728 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
3729 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
3731 msgstr "B<-c адреса>"
3734 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
3735 #: ../fuse/guestmount.pod:98 ../inspector/virt-inspector.pod:76
3736 #: ../libguestfs-1.11.20/edit/virt-edit.pod:97
3737 #: ../libguestfs-1.11.20/fish/guestfish.pod:183
3738 #: ../libguestfs-1.11.20/fuse/guestmount.pod:98
3739 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:76
3740 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
3741 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
3742 msgid "B<--connect URI>"
3743 msgstr "B<--connect адреса>"
3746 #: ../edit/virt-edit.pod:102 ../libguestfs-1.11.20/edit/virt-edit.pod:102
3747 #: ../tools/virt-list-filesystems.pl:84 ../tools/virt-list-partitions.pl:85
3748 #: ../tools/virt-tar.pl:134 ../tools/virt-win-reg.pl:135
3750 "If you specify guest block devices directly, then libvirt is not used at all."
3754 #: ../edit/virt-edit.pod:114 ../libguestfs-1.11.20/edit/virt-edit.pod:114
3756 "When prompting for keys and passphrases, virt-edit normally turns echoing "
3757 "off so you cannot see what you are typing. If you are not worried about "
3758 "Tempest attacks and there is no one else in the room you can specify this "
3759 "flag to see what you are typing."
3763 #: ../edit/virt-edit.pod:119 ../libguestfs-1.11.20/edit/virt-edit.pod:119
3768 #: ../edit/virt-edit.pod:121 ../libguestfs-1.11.20/edit/virt-edit.pod:121
3770 #| msgid "B<--help>"
3771 msgid "B<--expr> EXPR"
3775 #: ../edit/virt-edit.pod:123 ../libguestfs-1.11.20/edit/virt-edit.pod:123
3777 "Instead of launching the external editor, non-interactively apply the Perl "
3778 "expression C<EXPR> to each line in the file. See L</NON-INTERACTIVE "
3783 #: ../edit/virt-edit.pod:127 ../libguestfs-1.11.20/edit/virt-edit.pod:127
3785 "Be careful to properly quote the expression to prevent it from being altered "
3790 #: ../edit/virt-edit.pod:130 ../libguestfs-1.11.20/edit/virt-edit.pod:130
3791 msgid "Note that this option is only available when Perl 5 is installed."
3795 #: ../edit/virt-edit.pod:132 ../libguestfs-1.11.20/edit/virt-edit.pod:132
3797 #| msgid "B<--format=raw|qcow2|..>"
3798 msgid "B<--format> raw|qcow2|..."
3799 msgstr "B<--format=raw|qcow2|..>"
3802 #: ../edit/virt-edit.pod:143 ../libguestfs-1.11.20/edit/virt-edit.pod:143
3805 #| " guestfish --format=raw -a disk.img\n"
3808 " virt-edit --format=raw -a disk.img file\n"
3811 " guestfish --format=raw -a disk.img\n"
3815 #: ../edit/virt-edit.pod:147 ../libguestfs-1.11.20/edit/virt-edit.pod:147
3818 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3821 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
3824 " guestfish --format=raw -a disk.img --format -a another.img\n"
3828 #: ../edit/virt-edit.pod:181 ../libguestfs-1.11.20/edit/virt-edit.pod:181
3829 msgid "Previous versions of virt-edit allowed you to write either:"
3833 #: ../edit/virt-edit.pod:187 ../libguestfs-1.11.20/edit/virt-edit.pod:187
3836 #| " edit filename\n"
3839 " virt-edit guestname file\n"
3842 " edit назва_файла\n"
3846 #: ../edit/virt-edit.pod:195 ../libguestfs-1.11.20/edit/virt-edit.pod:195
3847 msgid "NON-INTERACTIVE EDITING"
3851 #: ../edit/virt-edit.pod:197 ../libguestfs-1.11.20/edit/virt-edit.pod:197
3853 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
3854 "administrator can interactively edit the file."
3858 #: ../edit/virt-edit.pod:200 ../libguestfs-1.11.20/edit/virt-edit.pod:200
3860 "There are two ways also to use C<virt-edit> from scripts in order to make "
3861 "automated edits to files. (Note that although you I<can> use C<virt-edit> "
3862 "like this, it's less error-prone to write scripts directly using the "
3863 "libguestfs API and Augeas for configuration file editing.)"
3867 #: ../edit/virt-edit.pod:206 ../libguestfs-1.11.20/edit/virt-edit.pod:206
3869 "The first method is to temporarily set C<$EDITOR> to any script or program "
3870 "you want to run. The script is invoked as C<$EDITOR tmpfile> and it should "
3871 "update C<tmpfile> in place however it likes."
3875 #: ../edit/virt-edit.pod:210 ../libguestfs-1.11.20/edit/virt-edit.pod:210
3877 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
3878 "short Perl snippet in the style of L<sed(1)>. For example to replace all "
3879 "instances of C<foo> with C<bar> in a file:"
3883 #: ../edit/virt-edit.pod:214 ../libguestfs-1.11.20/edit/virt-edit.pod:214
3886 " virt-edit -d domname filename -e 's/foo/bar/'\n"
3891 #: ../edit/virt-edit.pod:216 ../libguestfs-1.11.20/edit/virt-edit.pod:216
3893 "The full power of Perl regular expressions can be used (see L<perlre(1)>). "
3894 "For example to delete root's password you could do:"
3898 #: ../edit/virt-edit.pod:219 ../libguestfs-1.11.20/edit/virt-edit.pod:219
3901 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
3906 #: ../edit/virt-edit.pod:221 ../libguestfs-1.11.20/edit/virt-edit.pod:221
3908 "What really happens is that the snippet is evaluated as a Perl expression "
3909 "for each line of the file. The line, including the final C<\\n>, is passed "
3910 "in C<$_> and the expression should update C<$_> or leave it unchanged."
3914 #: ../edit/virt-edit.pod:226 ../libguestfs-1.11.20/edit/virt-edit.pod:226
3916 "To delete a line, set C<$_> to the empty string. For example, to delete the "
3917 "C<apache> user account from the password file you can do:"
3921 #: ../edit/virt-edit.pod:229 ../libguestfs-1.11.20/edit/virt-edit.pod:229
3924 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
3929 #: ../edit/virt-edit.pod:231 ../libguestfs-1.11.20/edit/virt-edit.pod:231
3931 "To insert a line, prepend or append it to C<$_>. However appending lines to "
3932 "the end of the file is rather difficult this way since there is no concept "
3933 "of \"last line of the file\" - your expression just doesn't get called "
3934 "again. You might want to use the first method (setting C<$EDITOR>) if you "
3939 #: ../edit/virt-edit.pod:237 ../libguestfs-1.11.20/edit/virt-edit.pod:237
3941 "The variable C<$lineno> contains the current line number. As is "
3942 "traditional, the first line in the file is number C<1>."
3946 #: ../edit/virt-edit.pod:240 ../libguestfs-1.11.20/edit/virt-edit.pod:240
3948 "The return value from the expression is ignored, but the expression may call "
3949 "C<die> in order to abort the whole program, leaving the original file "
3954 #: ../edit/virt-edit.pod:244 ../libguestfs-1.11.20/edit/virt-edit.pod:244
3956 "Remember when matching the end of a line that C<$_> may contain the final C<"
3957 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
3958 "newline then neither of these. Thus to match or substitute some text at the "
3959 "end of a line, use this regular expression:"
3963 #: ../edit/virt-edit.pod:249 ../libguestfs-1.11.20/edit/virt-edit.pod:249
3966 " /some text(\\r?\\n)?$/\n"
3971 #: ../edit/virt-edit.pod:251 ../libguestfs-1.11.20/edit/virt-edit.pod:251
3973 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
3974 "$_> itself (since that would remove all newlines from the file):"
3978 #: ../edit/virt-edit.pod:255 ../libguestfs-1.11.20/edit/virt-edit.pod:255
3981 " my $m = $_; chomp $m; $m =~ /some text$/\n"
3986 #: ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
3987 #: ../libguestfs-1.11.20/edit/virt-edit.pod:257
3988 #: ../libguestfs-1.11.20/fish/guestfish.pod:858
3989 msgid "WINDOWS PATHS"
3993 #: ../edit/virt-edit.pod:259 ../libguestfs-1.11.20/edit/virt-edit.pod:259
3995 "C<virt-edit> has a limited ability to understand Windows drive letters and "
3996 "paths (eg. C<E:\\foo\\bar.txt>)."
4000 #: ../edit/virt-edit.pod:262 ../libguestfs-1.11.20/edit/virt-edit.pod:262
4001 msgid "If and only if the guest is running Windows then:"
4005 #: ../edit/virt-edit.pod:268 ../libguestfs-1.11.20/edit/virt-edit.pod:268
4007 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
4008 "to the correct filesystem."
4012 #: ../edit/virt-edit.pod:273 ../libguestfs-1.11.20/edit/virt-edit.pod:273
4014 "Any backslash (C<\\>) characters in the path are replaced with forward "
4015 "slashes so that libguestfs can process it."
4019 #: ../edit/virt-edit.pod:278 ../libguestfs-1.11.20/edit/virt-edit.pod:278
4021 "The path is resolved case insensitively to locate the file that should be "
4026 #: ../edit/virt-edit.pod:283 ../libguestfs-1.11.20/edit/virt-edit.pod:283
4027 msgid "There are some known shortcomings:"
4031 #: ../edit/virt-edit.pod:289 ../libguestfs-1.11.20/edit/virt-edit.pod:289
4032 msgid "Some NTFS symbolic links may not be followed correctly."
4036 #: ../edit/virt-edit.pod:293 ../libguestfs-1.11.20/edit/virt-edit.pod:293
4037 msgid "NTFS junction points that cross filesystems are not followed."
4041 #: ../edit/virt-edit.pod:299 ../libguestfs-1.11.20/edit/virt-edit.pod:299
4043 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
4044 "C<virt-edit> doesn't work."
4048 #: ../edit/virt-edit.pod:302 ../libguestfs-1.11.20/edit/virt-edit.pod:302
4049 msgid "Using C<virt-edit> is approximately equivalent to doing:"
4053 #: ../edit/virt-edit.pod:304 ../libguestfs-1.11.20/edit/virt-edit.pod:304
4056 #| " guestfish --ro -d myguest -i\n"
4059 " guestfish --rw -i -d domname edit /file\n"
4062 " guestfish --ro -d myguest -i\n"
4066 #: ../edit/virt-edit.pod:306 ../libguestfs-1.11.20/edit/virt-edit.pod:306
4068 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
4073 #: ../edit/virt-edit.pod:309 ../libguestfs-1.11.20/edit/virt-edit.pod:309
4075 "The command above uses libguestfs's guest inspection feature and so does not "
4076 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
4077 "disk images that don't contain guests. To edit a file on a disk image "
4082 #: ../edit/virt-edit.pod:314 ../libguestfs-1.11.20/edit/virt-edit.pod:314
4085 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
4088 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
4091 " guestfish --format=raw -a disk.img --format -a another.img\n"
4095 #: ../edit/virt-edit.pod:316 ../libguestfs-1.11.20/edit/virt-edit.pod:316
4097 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
4098 "the disk image to edit, and C</file> is the full path to the file."
4102 #: ../edit/virt-edit.pod:320 ../libguestfs-1.11.20/edit/virt-edit.pod:320
4104 "C<virt-edit> cannot create new files. Use the guestfish commands C<touch>, "
4105 "C<write> or C<upload> instead:"
4109 #: ../edit/virt-edit.pod:323 ../libguestfs-1.11.20/edit/virt-edit.pod:323
4112 #| " guestfish --ro -d myguest -i\n"
4115 " guestfish --rw -i -d domname touch /newfile\n"
4118 " guestfish --ro -d myguest -i\n"
4122 #: ../edit/virt-edit.pod:325 ../libguestfs-1.11.20/edit/virt-edit.pod:325
4125 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
4130 #: ../edit/virt-edit.pod:327 ../libguestfs-1.11.20/edit/virt-edit.pod:327
4133 " guestfish --rw -i -d domname upload localfile /newfile\n"
4138 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1075
4139 #: ../libguestfs-1.11.20/edit/virt-edit.pod:329
4140 #: ../libguestfs-1.11.20/fish/guestfish.pod:1075
4141 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:257
4142 #: ../libguestfs-1.11.20/src/guestfs.pod:2960
4143 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:82
4144 #: ../rescue/virt-rescue.pod:257 ../src/guestfs.pod:2960
4145 #: ../test-tool/libguestfs-test-tool.pod:82
4146 msgid "ENVIRONMENT VARIABLES"
4147 msgstr "ЗМІННІ СЕРЕДОВИЩА"
4150 #: ../edit/virt-edit.pod:333 ../libguestfs-1.11.20/edit/virt-edit.pod:333
4157 #: ../edit/virt-edit.pod:335 ../libguestfs-1.11.20/edit/virt-edit.pod:335
4159 "If set, this string is used as the editor. It may contain arguments, eg. C<"
4164 #: ../edit/virt-edit.pod:338 ../libguestfs-1.11.20/edit/virt-edit.pod:338
4165 msgid "If not set, C<vi> is used."
4169 #: ../edit/virt-edit.pod:351 ../libguestfs-1.11.20/edit/virt-edit.pod:351
4172 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4173 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
4174 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4176 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4177 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4178 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4180 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4181 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
4182 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4185 #: ../examples/guestfs-examples.pod:5
4186 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:5
4187 msgid "guestfs-examples - Examples of using libguestfs from C"
4191 #: ../examples/guestfs-examples.pod:9
4192 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:9
4193 #: ../libguestfs-1.11.20/src/guestfs.pod:9 ../src/guestfs.pod:9
4196 " #include <guestfs.h>\n"
4199 " #include <guestfs.h>\n"
4203 #: ../examples/guestfs-examples.pod:11
4204 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:11
4207 " guestfs_h *g = guestfs_create ();\n"
4208 " guestfs_add_drive_ro (g, \"disk.img\");\n"
4209 " guestfs_launch (g);\n"
4214 #: ../examples/guestfs-examples.pod:15
4215 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:15
4216 #: ../libguestfs-1.11.20/src/guestfs.pod:19 ../src/guestfs.pod:19
4219 " cc prog.c -o prog -lguestfs\n"
4221 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
4224 " cc prog.c -o prog -lguestfs\n"
4226 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
4230 #: ../examples/guestfs-examples.pod:21
4231 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:21
4233 "This manual page contains examples of calling libguestfs from the C "
4234 "programming language. If you are not familiar with using libguestfs, you "
4235 "also need to read L<guestfs(3)>."
4239 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
4240 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:25
4241 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:37
4242 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:70
4243 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:31
4244 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:34
4245 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:28
4246 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
4247 #: ../python/examples/guestfs-python.pod:34
4248 #: ../ruby/examples/guestfs-ruby.pod:28
4249 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
4253 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
4254 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:27
4255 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:39
4256 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:72
4257 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:33
4258 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:36
4259 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:30
4260 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
4261 #: ../python/examples/guestfs-python.pod:36
4262 #: ../ruby/examples/guestfs-ruby.pod:30
4269 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
4270 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:29
4271 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:41
4272 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:74
4273 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:35
4274 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:38
4275 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:32
4276 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
4277 #: ../python/examples/guestfs-python.pod:38
4278 #: ../ruby/examples/guestfs-ruby.pod:32
4279 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
4283 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
4284 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:31
4285 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:43
4286 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:76
4287 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:37
4288 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:40
4289 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:34
4290 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
4291 #: ../python/examples/guestfs-python.pod:40
4292 #: ../ruby/examples/guestfs-ruby.pod:34
4299 #: ../examples/guestfs-examples.pod:35
4300 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:35
4303 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4304 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
4305 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4307 "L<guestfs(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, "
4308 "L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
4311 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4312 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
4313 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4316 #: ../examples/guestfs-examples.pod:44 ../examples/guestfs-recipes.pod:396
4317 #: ../fish/guestfish.pod:1238 ../fish/virt-copy-in.pod:60
4318 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
4319 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:314
4320 #: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:57
4321 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:44
4322 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:396
4323 #: ../libguestfs-1.11.20/fish/guestfish.pod:1238
4324 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:60
4325 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:49
4326 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:58
4327 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:51
4328 #: ../libguestfs-1.11.20/fuse/guestmount.pod:314
4329 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:380
4330 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:57
4331 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:90
4332 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:51
4333 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:53
4334 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:47
4335 #: ../libguestfs-1.11.20/src/guestfs.pod:3082
4336 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:93
4337 #: ../ocaml/examples/guestfs-ocaml.pod:90 ../perl/examples/guestfs-perl.pod:51
4338 #: ../python/examples/guestfs-python.pod:53
4339 #: ../ruby/examples/guestfs-ruby.pod:47 ../src/guestfs.pod:3082
4340 #: ../test-tool/libguestfs-test-tool.pod:93
4345 #: ../examples/guestfs-examples.pod:46 ../examples/guestfs-recipes.pod:398
4346 #: ../fish/guestfish.pod:1240 ../fish/virt-copy-in.pod:62
4347 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
4348 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:316
4349 #: ../java/examples/guestfs-java.pod:59
4350 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:46
4351 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:398
4352 #: ../libguestfs-1.11.20/fish/guestfish.pod:1240
4353 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:62
4354 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:51
4355 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:60
4356 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:53
4357 #: ../libguestfs-1.11.20/fuse/guestmount.pod:316
4358 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:59
4359 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:92
4360 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:53
4361 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:55
4362 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:49
4363 #: ../libguestfs-1.11.20/src/guestfs.pod:3084
4364 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:95
4365 #: ../ocaml/examples/guestfs-ocaml.pod:92 ../perl/examples/guestfs-perl.pod:53
4366 #: ../python/examples/guestfs-python.pod:55
4367 #: ../ruby/examples/guestfs-ruby.pod:49 ../src/guestfs.pod:3084
4368 #: ../test-tool/libguestfs-test-tool.pod:95
4369 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
4373 #: ../examples/guestfs-examples.pod:50
4374 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:50
4375 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:96
4376 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:59
4377 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:53
4378 #: ../ocaml/examples/guestfs-ocaml.pod:96
4379 #: ../python/examples/guestfs-python.pod:59
4380 #: ../ruby/examples/guestfs-ruby.pod:53
4382 #| msgid "Copyright (C) 2009 Red Hat Inc."
4383 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
4384 msgstr "© Red Hat Inc., 2009"
4387 #: ../examples/guestfs-examples.pod:52 ../examples/guestfs-recipes.pod:404
4388 #: ../java/examples/guestfs-java.pod:65
4389 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:52
4390 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:404
4391 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:65
4392 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:98
4393 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:59
4394 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:61
4395 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:55
4396 #: ../ocaml/examples/guestfs-ocaml.pod:98 ../perl/examples/guestfs-perl.pod:59
4397 #: ../python/examples/guestfs-python.pod:61
4398 #: ../ruby/examples/guestfs-ruby.pod:55
4400 "The examples in this manual page may be freely copied, modified and "
4401 "distributed without any restrictions."
4405 #: ../examples/guestfs-examples.pod:55 ../examples/guestfs-recipes.pod:407
4406 #: ../java/examples/guestfs-java.pod:68
4407 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:55
4408 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:407
4409 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:68
4410 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:101
4411 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:62
4412 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:64
4413 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:58
4414 #: ../libguestfs-1.11.20/src/guestfs.pod:3091
4415 #: ../ocaml/examples/guestfs-ocaml.pod:101
4416 #: ../perl/examples/guestfs-perl.pod:62
4417 #: ../python/examples/guestfs-python.pod:64
4418 #: ../ruby/examples/guestfs-ruby.pod:58 ../src/guestfs.pod:3091
4420 "This library is free software; you can redistribute it and/or modify it "
4421 "under the terms of the GNU Lesser General Public License as published by the "
4422 "Free Software Foundation; either version 2 of the License, or (at your "
4423 "option) any later version."
4427 #: ../examples/guestfs-examples.pod:60 ../examples/guestfs-recipes.pod:412
4428 #: ../java/examples/guestfs-java.pod:73
4429 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:60
4430 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:412
4431 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:73
4432 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:106
4433 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:67
4434 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:69
4435 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:63
4436 #: ../libguestfs-1.11.20/src/guestfs.pod:3096
4437 #: ../ocaml/examples/guestfs-ocaml.pod:106
4438 #: ../perl/examples/guestfs-perl.pod:67
4439 #: ../python/examples/guestfs-python.pod:69
4440 #: ../ruby/examples/guestfs-ruby.pod:63 ../src/guestfs.pod:3096
4442 "This library is distributed in the hope that it will be useful, but WITHOUT "
4443 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
4444 "FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License "
4449 #: ../examples/guestfs-examples.pod:65 ../examples/guestfs-recipes.pod:417
4450 #: ../java/examples/guestfs-java.pod:78
4451 #: ../libguestfs-1.11.20/examples/guestfs-examples.pod:65
4452 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:417
4453 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:78
4454 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:111
4455 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:72
4456 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:74
4457 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:68
4458 #: ../libguestfs-1.11.20/src/guestfs.pod:3101
4459 #: ../ocaml/examples/guestfs-ocaml.pod:111
4460 #: ../perl/examples/guestfs-perl.pod:72
4461 #: ../python/examples/guestfs-python.pod:74
4462 #: ../ruby/examples/guestfs-ruby.pod:68 ../src/guestfs.pod:3101
4464 "You should have received a copy of the GNU Lesser General Public License "
4465 "along with this library; if not, write to the Free Software Foundation, "
4466 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
4470 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
4471 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:3
4472 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:12
4477 #: ../examples/guestfs-recipes.pod:5
4478 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:5
4480 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
4481 "here. The only way which works for both sorts of output is to just write "
4482 "the URL directly. Do NOT use L<...> for URLs."
4486 #: ../examples/guestfs-recipes.pod:9
4487 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:9
4489 "We break with tradition here and don't use ALL CAPS for the section "
4490 "headings, as this makes them much easier to read."
4494 #: ../examples/guestfs-recipes.pod:16
4495 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:16
4496 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
4500 #: ../examples/guestfs-recipes.pod:20
4501 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:20
4503 "This page contains recipes for and links to things you can do using "
4504 "libguestfs, L<guestfish(1)> and the virt tools."
4508 #: ../examples/guestfs-recipes.pod:23
4509 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:23
4510 msgid "Audit a virtual machine for setuid files"
4514 #: ../examples/guestfs-recipes.pod:25
4515 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:25
4517 "The link below contains a small program which can be used to audit a Linux "
4518 "virtual machine to see what setuid and setgid files it contains."
4522 #: ../examples/guestfs-recipes.pod:28
4523 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:28
4525 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
4530 #: ../examples/guestfs-recipes.pod:30
4531 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:30
4532 msgid "Change the background image in a Windows XP VM"
4536 #: ../examples/guestfs-recipes.pod:32
4537 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:32
4539 "The links below explain how to use L<guestfish(1)> to change the background "
4540 "image for a user of a Windows XP VM. Unfortunately the technique appears to "
4541 "be substantially different for each version of Windows."
4545 #: ../examples/guestfs-recipes.pod:37
4546 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:37
4548 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
4549 "lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
4553 #: ../examples/guestfs-recipes.pod:40
4554 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:40
4555 msgid "Cloning a virtual machine (Linux)"
4559 #: ../examples/guestfs-recipes.pod:42
4560 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:42
4562 "The guestfish technique described in the link below works well for most "
4563 "Linux VMs. Depending on the Linux distro you may need to change the paths "
4568 #: ../examples/guestfs-recipes.pod:46
4569 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:46
4571 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
4576 #: ../examples/guestfs-recipes.pod:48
4577 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:48
4579 "Avoid L<virt-clone(1)>. Currently what to do about virt-clone is under "
4584 #: ../examples/guestfs-recipes.pod:51
4585 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:51
4586 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
4590 #: ../examples/guestfs-recipes.pod:53
4591 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:53
4592 msgid "Cloning a virtual machine (Windows)"
4596 #: ../examples/guestfs-recipes.pod:55
4597 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:55
4599 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
4600 "straightforward. Currently there is code in the Aeolus Oz project which "
4601 "does this (using libguestfs). As part of our review of the virt-clone tool, "
4602 "we may add sysprepping ability."
4606 #: ../examples/guestfs-recipes.pod:60
4607 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:60
4609 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
4610 "list/2011-May/msg00019.html"
4614 #: ../examples/guestfs-recipes.pod:63
4615 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:63
4616 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
4620 #: ../examples/guestfs-recipes.pod:65
4621 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:65
4622 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
4626 #: ../examples/guestfs-recipes.pod:67
4627 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:67
4630 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
4635 #: ../examples/guestfs-recipes.pod:69
4636 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:69
4637 msgid "To export just a subdirectory, eg. C</files>, do:"
4641 #: ../examples/guestfs-recipes.pod:71
4642 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:71
4645 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
4650 #: ../examples/guestfs-recipes.pod:73
4651 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:73
4652 msgid "Create empty disk images"
4656 #: ../examples/guestfs-recipes.pod:75
4657 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:75
4659 "You can use the L<guestfish(1)> I<-N> option to create empty disk images. "
4660 "The useful guide below explains the options available."
4664 #: ../examples/guestfs-recipes.pod:78
4665 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:78
4667 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
4672 #: ../examples/guestfs-recipes.pod:80
4673 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:80
4674 msgid "Dump raw filesystem content from inside a disk image or VM"
4678 #: ../examples/guestfs-recipes.pod:82
4679 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:82
4681 "You can use the L<guestfish(1)> C<download> command to extract the raw "
4682 "filesystem content from any filesystem in a disk image or a VM (even one "
4683 "which is encrypted or buried inside an LV):"
4687 #: ../examples/guestfs-recipes.pod:86
4688 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:86
4691 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
4694 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
4697 " guestfish --format=raw -a disk.img --format -a another.img\n"
4701 #: ../examples/guestfs-recipes.pod:88
4702 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:88
4705 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
4710 #: ../examples/guestfs-recipes.pod:90
4711 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:90
4712 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
4716 #: ../examples/guestfs-recipes.pod:92
4717 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:92
4718 msgid "Edit grub configuration in a VM"
4722 #: ../examples/guestfs-recipes.pod:94
4723 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:94
4724 msgid "You can use this to:"
4728 #: ../examples/guestfs-recipes.pod:100
4729 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:100
4730 msgid "Fix a virtual machine that does not boot."
4734 #: ../examples/guestfs-recipes.pod:104
4735 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:104
4736 msgid "Change which kernel is used to boot the VM."
4740 #: ../examples/guestfs-recipes.pod:108
4741 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:108
4742 msgid "Change kernel command line options."
4746 #: ../examples/guestfs-recipes.pod:112
4747 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:112
4748 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
4752 #: ../examples/guestfs-recipes.pod:114
4753 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:114
4756 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
4761 #: ../examples/guestfs-recipes.pod:116
4762 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:116
4764 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
4769 #: ../examples/guestfs-recipes.pod:119
4770 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:119
4773 " virt-rescue -d BrokenGuest\n"
4778 #: ../examples/guestfs-recipes.pod:121
4779 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:121
4780 msgid "Export any directory from a VM"
4784 #: ../examples/guestfs-recipes.pod:123
4785 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:123
4787 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
4791 #: ../examples/guestfs-recipes.pod:126
4792 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:126
4795 #| " copy-out /home .\n"
4798 " virt-copy-out -d Guest /home .\n"
4801 " copy-out /home .\n"
4805 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
4806 #: ../fish/guestfish-actions.pod:1287 ../fish/guestfish-actions.pod:1929
4807 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:128
4808 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:9
4809 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1287
4810 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1929
4811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:11
4812 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1917
4813 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2855
4814 #: ../libguestfs-1.11.20/src/guestfs.pod:1639 ../src/guestfs-actions.pod:11
4815 #: ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:2855
4816 #: ../src/guestfs.pod:1639 ../tools/virt-win-reg.pl:706
4821 #: ../examples/guestfs-recipes.pod:134
4822 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:134
4824 "The final dot of the command is not a printing error. It means we want to "
4825 "copy out to the current directory."
4829 #: ../examples/guestfs-recipes.pod:139
4830 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:139
4831 msgid "This creates a directory called C<home> under the current directory."
4835 #: ../examples/guestfs-recipes.pod:143
4836 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:143
4838 "If the guest is a Windows guest then you can use drive letters and "
4839 "backslashes, but you must prefix the path with C<win:> and quote it to "
4840 "protect it from the shell, like this:"
4844 #: ../examples/guestfs-recipes.pod:147
4845 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:147
4848 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
4853 #: ../examples/guestfs-recipes.pod:149
4854 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:149
4855 msgid "To get the output as a compressed tarball, do:"
4859 #: ../examples/guestfs-recipes.pod:151
4860 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:151
4863 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
4868 #: ../examples/guestfs-recipes.pod:153
4869 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:153
4871 "Although it sounds tempting, this is usually not a reliable way to get a "
4872 "backup from a running guest. See the entry in the FAQ: http://libguestfs."
4873 "org/FAQ.html#backup"
4877 #: ../examples/guestfs-recipes.pod:157
4878 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:157
4879 msgid "Find out which user is using the most space"
4883 #: ../examples/guestfs-recipes.pod:159
4884 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:159
4886 "This simple script examines a Linux guest to find out which user is using "
4887 "the most space in their home directory:"
4891 #: ../examples/guestfs-recipes.pod:162
4892 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:162
4895 #| " #!/usr/bin/guestfish -f\n"
4901 " #!/usr/bin/guestfish -f\n"
4905 #: ../examples/guestfs-recipes.pod:164
4906 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:164
4909 #| " set-qemu qemu\n"
4919 #: ../examples/guestfs-recipes.pod:166
4920 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:166
4929 #: ../examples/guestfs-recipes.pod:169
4930 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:169
4933 #| " guestfish --ro -d myguest -i\n"
4936 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
4939 " guestfish --ro -d myguest -i\n"
4943 #: ../examples/guestfs-recipes.pod:171
4944 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:171
4947 " for d in $(guestfish --remote ls \"$dir\"); do\n"
4948 " echo -n \"$dir/$d\"\n"
4950 " guestfish --remote du \"$dir/$d\";\n"
4951 " done | sort -nr -k 2\n"
4956 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
4957 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:177
4958 #: ../libguestfs-1.11.20/fish/guestfish.pod:941
4961 " guestfish --remote exit\n"
4966 #: ../examples/guestfs-recipes.pod:179
4967 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:179
4968 msgid "Get DHCP address from a VM"
4972 #: ../examples/guestfs-recipes.pod:181
4973 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:181
4975 "The link below explains the many different possible techniques for getting "
4976 "the last assigned DHCP address of a virtual machine."
4980 #: ../examples/guestfs-recipes.pod:184
4981 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:184
4983 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
4984 "a-virtual-machine-disk-image/#content"
4988 #: ../examples/guestfs-recipes.pod:186
4989 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:186
4991 "In the libguestfs source examples directory you will find the latest version "
4992 "of the C<virt-dhcp-address.c> program."
4996 #: ../examples/guestfs-recipes.pod:189
4997 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:189
4998 msgid "Get the operating system product name string"
5002 #: ../examples/guestfs-recipes.pod:191
5003 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:191
5004 msgid "Save the following script into a file called C<product-name.sh>:"
5008 #: ../examples/guestfs-recipes.pod:193
5009 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:193
5012 #| " eval \"`guestfish --listen`\"\n"
5013 #| " guestfish --remote add-ro disk.img\n"
5014 #| " guestfish --remote run\n"
5015 #| " guestfish --remote lvs\n"
5020 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5021 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5022 " guestfish --remote inspect-get-product-name \"$root\"\n"
5023 " guestfish --remote exit\n"
5026 " eval \"`guestfish --listen`\"\n"
5027 " guestfish --remote add-ro disk.img\n"
5028 " guestfish --remote run\n"
5029 " guestfish --remote lvs\n"
5033 #: ../examples/guestfs-recipes.pod:200
5034 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:200
5035 msgid "Make the script executable and run it on a named guest:"
5039 #: ../examples/guestfs-recipes.pod:202
5040 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:202
5043 " # product-name.sh RHEL60x64\n"
5044 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
5049 #: ../examples/guestfs-recipes.pod:205
5050 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:205
5052 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
5053 "C<xpath> command line tool or from your favourite programming language:"
5057 #: ../examples/guestfs-recipes.pod:209
5058 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:209
5061 " # virt-inspector RHEL60x64 > xml\n"
5062 " # xpath '//product_name' < xml\n"
5065 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
5070 #: ../examples/guestfs-recipes.pod:215
5071 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:215
5072 msgid "Get the default boot kernel for a Linux VM"
5076 #: ../examples/guestfs-recipes.pod:217
5077 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:217
5079 "The link below contains a program to print the default boot kernel for a "
5084 #: ../examples/guestfs-recipes.pod:220
5085 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:220
5087 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
5088 "kernel-for-a-vm/#content"
5092 #: ../examples/guestfs-recipes.pod:222
5093 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:222
5095 "It uses Augeas, and the technique is generally applicable for many different "
5100 #: ../examples/guestfs-recipes.pod:229
5101 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:229
5102 msgid "listing the user accounts in the guest"
5106 #: ../examples/guestfs-recipes.pod:233
5107 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:233
5108 msgid "what repositories is it configured to use"
5112 #: ../examples/guestfs-recipes.pod:237
5113 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:237
5114 msgid "what NTP servers does it connect to"
5118 #: ../examples/guestfs-recipes.pod:241
5119 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:241
5120 msgid "what were the boot messages last time it booted"
5124 #: ../examples/guestfs-recipes.pod:245
5125 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:245
5126 msgid "listing who was logged in recently"
5130 #: ../examples/guestfs-recipes.pod:249
5131 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:249
5132 msgid "http://augeas.net/"
5136 #: ../examples/guestfs-recipes.pod:251
5137 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:251
5138 msgid "Install RPMs in a guest"
5142 #: ../examples/guestfs-recipes.pod:253
5143 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:253
5145 "The link below contains a method to install RPMs in a guest. In fact the "
5146 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
5147 "installs them next time the guest is booted. You could use this technique "
5148 "to install vital security updates in an offline guest."
5152 #: ../examples/guestfs-recipes.pod:259
5153 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:259
5155 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
5159 #: ../examples/guestfs-recipes.pod:261
5160 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:261
5161 msgid "List applications installed in a VM"
5165 #: ../examples/guestfs-recipes.pod:263
5166 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:263
5167 msgid "Save the following to a file C<list-apps.sh>:"
5171 #: ../examples/guestfs-recipes.pod:265
5172 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:265
5175 #| " eval \"`guestfish --listen`\"\n"
5176 #| " guestfish --remote add-ro disk.img\n"
5177 #| " guestfish --remote run\n"
5178 #| " guestfish --remote lvs\n"
5183 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5184 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5185 " guestfish --remote inspect-list-applications \"$root\"\n"
5186 " guestfish --remote exit\n"
5189 " eval \"`guestfish --listen`\"\n"
5190 " guestfish --remote add-ro disk.img\n"
5191 " guestfish --remote run\n"
5192 " guestfish --remote lvs\n"
5196 #: ../examples/guestfs-recipes.pod:272
5197 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:272
5199 "Make the file executable and then you can run it on any named virtual "
5204 #: ../examples/guestfs-recipes.pod:275
5205 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:275
5208 " # list-apps.sh WinGuest\n"
5210 " app_name: Mozilla Firefox (3.6.12)\n"
5211 " app_display_name: Mozilla Firefox (3.6.12)\n"
5213 " app_version: 3.6.12 (en-GB)\n"
5215 " app_install_path: C:\\Program Files\\Mozilla Firefox\n"
5216 " app_trans_path:\n"
5217 " app_publisher: Mozilla\n"
5218 " app_url: http://www.mozilla.com/en-GB/\n"
5219 " app_source_package:\n"
5221 " app_description: Mozilla Firefox\n"
5224 " app_name: VLC media player\n"
5225 " app_display_name: VLC media player 1.1.5\n"
5227 " app_version: 1.1.5\n"
5229 " app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
5230 " app_trans_path:\n"
5231 " app_publisher: VideoLAN\n"
5232 " app_url: http://www.videolan.org/\n"
5233 " app_source_package:\n"
5235 " app_description:\n"
5241 #: ../examples/guestfs-recipes.pod:305
5242 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:305
5244 "If you want to run the script on disk images (instead of libvirt virtual "
5245 "machines), change C<-d \"$1\"> to C<-a \"$1\">. See also L<virt-inspector(1)"
5250 #: ../examples/guestfs-recipes.pod:309
5251 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:309
5252 msgid "List files and directories in a VM"
5256 #: ../examples/guestfs-recipes.pod:311
5257 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:311
5258 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
5262 #: ../examples/guestfs-recipes.pod:313
5263 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:313
5266 #| " guestfish --ro -d myguest -i\n"
5269 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
5272 " guestfish --ro -d myguest -i\n"
5276 #: ../examples/guestfs-recipes.pod:315
5277 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:315
5278 msgid "List services in a Windows VM"
5282 #: ../examples/guestfs-recipes.pod:317
5283 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:317
5285 "The link below contains a script that can be used to list out the services "
5286 "from a Windows VM, and whether those services run at boot time or are loaded "
5291 #: ../examples/guestfs-recipes.pod:321
5292 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:321
5294 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
5299 #: ../examples/guestfs-recipes.pod:323
5300 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:323
5301 msgid "Make a disk image sparse"
5305 #: ../examples/guestfs-recipes.pod:325
5306 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:325
5308 "The link below contains some guides for making a disk image sparse (or "
5309 "reintroducing sparseness)."
5313 #: ../examples/guestfs-recipes.pod:328
5314 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:328
5316 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/#content"
5320 #: ../examples/guestfs-recipes.pod:330
5321 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:330
5322 msgid "Monitor disk usage over time"
5326 #: ../examples/guestfs-recipes.pod:332
5327 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:332
5329 "You can use L<virt-df(1)> to monitor disk usage of your guests over time. "
5330 "The link below contains a guide."
5334 #: ../examples/guestfs-recipes.pod:335
5335 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:335
5336 msgid "http://virt-tools.org/learning/advanced-virt-df/"
5340 #: ../examples/guestfs-recipes.pod:337
5341 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:337
5342 msgid "Reading the Windows Event Log from Windows Vista (or later)"
5346 #: ../examples/guestfs-recipes.pod:339
5347 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:339
5349 "L<guestfish(1)> plus the tools described in the link below can be used to "
5350 "read out the Windows Event Log from any virtual machine running Windows "
5351 "Vista or a later version."
5355 #: ../examples/guestfs-recipes.pod:343
5356 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:343
5358 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
5359 "guestfish/#content"
5363 #: ../examples/guestfs-recipes.pod:345
5364 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:345
5365 msgid "Remove root password (Linux)"
5369 #: ../examples/guestfs-recipes.pod:347
5370 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:347
5372 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
5373 "files. One use is to remove the root password from a Linux guest:"
5377 #: ../examples/guestfs-recipes.pod:350
5378 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:350
5381 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
5386 #: ../examples/guestfs-recipes.pod:352
5387 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:352
5388 msgid "Remove Administrator password (Windows)"
5392 #: ../examples/guestfs-recipes.pod:354
5393 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:354
5395 "The link below contains one technique for removing the Administrator "
5396 "password from a Windows VM, or to be more precise, it gives you a command "
5397 "prompt the next time you log in which you can use to bypass any security:"
5401 #: ../examples/guestfs-recipes.pod:359
5402 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:359
5404 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
5405 "administrator-password-with-guestfish/"
5409 #: ../examples/guestfs-recipes.pod:361
5410 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:361
5411 msgid "Unpack a live CD"
5415 #: ../examples/guestfs-recipes.pod:363
5416 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:363
5418 "Linux live CDs often contain multiple layers of disk images wrapped like a "
5419 "Russian doll. You can use L<guestfish(1)> to look inside these multiple "
5420 "layers, as outlined in the guide below."
5424 #: ../examples/guestfs-recipes.pod:367
5425 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:367
5427 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
5432 #: ../examples/guestfs-recipes.pod:369
5433 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:369
5434 msgid "Uploading and downloading files"
5438 #: ../examples/guestfs-recipes.pod:371
5439 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:371
5441 "The link below contains general tips on uploading (copying in) and "
5442 "downloading (copying out) files from VMs."
5446 #: ../examples/guestfs-recipes.pod:374
5447 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:374
5449 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
5453 #: ../examples/guestfs-recipes.pod:376
5454 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:376
5455 msgid "Use libguestfs tools on VMware ESX guests"
5459 #: ../examples/guestfs-recipes.pod:378
5460 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:378
5462 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
5463 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
5467 #: ../examples/guestfs-recipes.pod:382
5468 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:382
5470 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
5475 #: ../examples/guestfs-recipes.pod:386
5476 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:386
5479 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
5480 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
5481 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
5483 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, "
5484 "L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby"
5485 "(3)>, L<http://libguestfs.org/>."
5487 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
5488 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
5489 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
5492 #: ../examples/guestfs-recipes.pod:402
5493 #: ../libguestfs-1.11.20/examples/guestfs-recipes.pod:402
5495 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
5496 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
5497 msgstr "© Red Hat Inc., 2009–2010"
5500 #: ../fish/guestfish-actions.pod:1
5501 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1
5506 #: ../fish/guestfish-actions.pod:3
5507 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3
5510 " add-cdrom filename\n"
5515 #: ../fish/guestfish-actions.pod:5
5516 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5
5517 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7
5518 #: ../src/guestfs-actions.pod:7
5519 msgid "This function adds a virtual CD-ROM disk image to the guest."
5523 #: ../fish/guestfish-actions.pod:7
5524 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:7
5525 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:9
5526 #: ../src/guestfs-actions.pod:9
5527 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
5531 #: ../fish/guestfish-actions.pod:15
5532 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:15
5534 "This call checks for the existence of C<filename>. This stops you from "
5535 "specifying other types of drive which are supported by qemu such as C<nbd:> "
5536 "and C<http:> URLs. To specify those, use the general L</config> call "
5541 #: ../fish/guestfish-actions.pod:22
5542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:22
5544 "If you just want to add an ISO file (often you use this as an efficient way "
5545 "to transfer large files into the guest), then you should probably use L</add-"
5546 "drive-ro> instead."
5550 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:163
5551 #: ../fish/guestfish-actions.pod:177
5552 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:28
5553 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:163
5554 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:177
5555 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:32
5556 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:254
5557 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:275
5558 #: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:254
5559 #: ../src/guestfs-actions.pod:275
5561 "This function is deprecated. In new code, use the C<add_drive_opts> call "
5566 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:166
5567 #: ../fish/guestfish-actions.pod:180 ../fish/guestfish-actions.pod:986
5568 #: ../fish/guestfish-actions.pod:1346 ../fish/guestfish-actions.pod:1360
5569 #: ../fish/guestfish-actions.pod:3085 ../fish/guestfish-actions.pod:3292
5570 #: ../fish/guestfish-actions.pod:3406 ../fish/guestfish-actions.pod:3454
5571 #: ../fish/guestfish-actions.pod:4355 ../fish/guestfish-actions.pod:4378
5572 #: ../fish/guestfish-actions.pod:4400 ../fish/guestfish-actions.pod:4438
5573 #: ../fish/guestfish-actions.pod:5087 ../fish/guestfish-actions.pod:5185
5574 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:31
5575 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:166
5576 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:180
5577 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:986
5578 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1346
5579 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1360
5580 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3085
5581 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3292
5582 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3406
5583 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3454
5584 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4355
5585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4378
5586 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4400
5587 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4438
5588 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5087
5589 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5185
5590 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:35
5591 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:257
5592 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:278
5593 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1513
5594 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2008
5595 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2029
5596 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4628
5597 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4947
5598 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5165
5599 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5255
5600 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6544
5601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6574
5602 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6607
5603 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6666
5604 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7602
5605 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7714
5606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7884
5607 #: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:257
5608 #: ../src/guestfs-actions.pod:278 ../src/guestfs-actions.pod:1513
5609 #: ../src/guestfs-actions.pod:2008 ../src/guestfs-actions.pod:2029
5610 #: ../src/guestfs-actions.pod:4628 ../src/guestfs-actions.pod:4947
5611 #: ../src/guestfs-actions.pod:5165 ../src/guestfs-actions.pod:5255
5612 #: ../src/guestfs-actions.pod:6544 ../src/guestfs-actions.pod:6574
5613 #: ../src/guestfs-actions.pod:6607 ../src/guestfs-actions.pod:6666
5614 #: ../src/guestfs-actions.pod:7602 ../src/guestfs-actions.pod:7714
5615 #: ../src/guestfs-actions.pod:7884
5617 "Deprecated functions will not be removed from the API, but the fact that "
5618 "they are deprecated indicates that there are problems with correct use of "
5623 #: ../fish/guestfish-actions.pod:35
5624 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:35
5629 #: ../fish/guestfish-actions.pod:37
5630 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:37
5635 #: ../fish/guestfish-actions.pod:39
5636 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:39
5639 " add-domain dom [libvirturi:..] [readonly:..] [iface:..] [live:..] [allowuuid:..]\n"
5644 #: ../fish/guestfish-actions.pod:41
5645 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:41
5647 "This function adds the disk(s) attached to the named libvirt domain C<dom>. "
5648 "It works by connecting to libvirt, requesting the domain and domain XML from "
5649 "libvirt, parsing it for disks, and calling L</add-drive-opts> on each one."
5653 #: ../fish/guestfish-actions.pod:46
5654 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:46
5655 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:64
5656 #: ../src/guestfs-actions.pod:64
5658 "The number of disks added is returned. This operation is atomic: if an "
5659 "error is returned, then no disks are added."
5663 #: ../fish/guestfish-actions.pod:49
5664 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:49
5665 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:67
5666 #: ../src/guestfs-actions.pod:67
5668 "This function does some minimal checks to make sure the libvirt domain is "
5669 "not running (unless C<readonly> is true). In a future version we will try "
5670 "to acquire the libvirt lock on each disk."
5674 #: ../fish/guestfish-actions.pod:53
5675 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:53
5676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:71
5677 #: ../src/guestfs-actions.pod:71
5679 "Disks must be accessible locally. This often means that adding disks from a "
5680 "remote libvirt connection (see L<http://libvirt.org/remote.html>) will fail "
5681 "unless those disks are accessible via the same device path locally too."
5685 #: ../fish/guestfish-actions.pod:58
5686 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:58
5687 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:76
5688 #: ../src/guestfs-actions.pod:76
5690 "The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
5691 "libvirt.org/uri.html>). If this is not set then we connect to the default "
5692 "libvirt URI (or one set through an environment variable, see the libvirt "
5693 "documentation for full details)."
5697 #: ../fish/guestfish-actions.pod:64
5698 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:64
5699 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:82
5700 #: ../src/guestfs-actions.pod:82
5702 "The optional C<live> flag controls whether this call will try to connect to "
5703 "a running virtual machine C<guestfsd> process if it sees a suitable "
5704 "E<lt>channelE<gt> element in the libvirt XML definition. The default (if "
5705 "the flag is omitted) is never to try. See L<guestfs(3)/ATTACHING TO RUNNING "
5706 "DAEMONS> for more information."
5710 #: ../fish/guestfish-actions.pod:71
5711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:71
5712 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:89
5713 #: ../src/guestfs-actions.pod:89
5715 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
5716 "passed instead of the domain name. The C<dom> string is treated as a UUID "
5717 "first and looked up, and if that lookup fails then we treat C<dom> as a name "
5722 #: ../fish/guestfish-actions.pod:76
5723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:76
5725 "The other optional parameters are passed directly through to L</add-drive-"
5730 #: ../fish/guestfish-actions.pod:79 ../fish/guestfish-actions.pod:143
5731 #: ../fish/guestfish-actions.pod:568 ../fish/guestfish-actions.pod:1968
5732 #: ../fish/guestfish-actions.pod:3134 ../fish/guestfish-actions.pod:3307
5733 #: ../fish/guestfish-actions.pod:3442
5734 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:79
5735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:143
5736 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:568
5737 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1968
5738 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3134
5739 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3307
5740 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3442
5742 "This command has one or more optional arguments. See L</OPTIONAL ARGUMENTS>."
5746 #: ../fish/guestfish-actions.pod:81
5747 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:81
5752 #: ../fish/guestfish-actions.pod:83
5753 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:83
5756 " add-drive filename\n"
5759 " add-drive назва_файла\n"
5763 #: ../fish/guestfish-actions.pod:85
5764 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:85
5766 "This function is the equivalent of calling L</add-drive-opts> with no "
5767 "optional parameters, so the disk is added writable, with the format being "
5768 "detected automatically."
5772 #: ../fish/guestfish-actions.pod:89
5773 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:89
5775 "Automatic detection of the format opens you up to a potential security hole "
5776 "when dealing with untrusted raw-format images. See CVE-2010-3851 and "
5777 "RHBZ#642934. Specifying the format closes this security hole. Therefore "
5778 "you should think about replacing calls to this function with calls to L</add-"
5779 "drive-opts>, and specifying the format."
5783 #: ../fish/guestfish-actions.pod:96
5784 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:96
5785 msgid "add-drive-opts"
5786 msgstr "add-drive-opts"
5789 #: ../fish/guestfish-actions.pod:98
5790 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:98
5795 #: ../fish/guestfish-actions.pod:100
5796 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:100
5799 " add-drive-opts filename [readonly:..] [format:..] [iface:..]\n"
5804 #: ../fish/guestfish-actions.pod:102
5805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:102
5806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:160
5807 #: ../src/guestfs-actions.pod:160
5809 "This function adds a virtual machine disk image C<filename> to libguestfs. "
5810 "The first time you call this function, the disk appears as C</dev/sda>, the "
5811 "second time as C</dev/sdb>, and so on."
5815 #: ../fish/guestfish-actions.pod:107
5816 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:107
5817 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:165
5818 #: ../src/guestfs-actions.pod:165
5820 "You don't necessarily need to be root when using libguestfs. However you "
5821 "obviously do need sufficient permissions to access the filename for whatever "
5822 "operations you want to perform (ie. read access if you just want to read the "
5823 "image or write access if you want to modify the image)."
5827 #: ../fish/guestfish-actions.pod:113
5828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:113
5829 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:171
5830 #: ../src/guestfs-actions.pod:171
5831 msgid "This call checks that C<filename> exists."
5835 #: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3096
5836 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:115
5837 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3096
5838 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:173
5839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4655
5840 #: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4655
5841 msgid "The optional arguments are:"
5845 #: ../fish/guestfish-actions.pod:119
5846 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:119
5847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:177
5848 #: ../src/guestfs-actions.pod:177
5850 msgstr "C<readonly>"
5853 #: ../fish/guestfish-actions.pod:121
5854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:121
5855 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:179
5856 #: ../src/guestfs-actions.pod:179
5858 "If true then the image is treated as read-only. Writes are still allowed, "
5859 "but they are stored in a temporary snapshot overlay which is discarded at "
5860 "the end. The disk that you add is not modified."
5864 #: ../fish/guestfish-actions.pod:125
5865 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:125
5866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:183
5867 #: ../src/guestfs-actions.pod:183
5872 #: ../fish/guestfish-actions.pod:127
5873 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:127
5875 "This forces the image format. If you omit this (or use L</add-drive> or L</"
5876 "add-drive-ro>) then the format is automatically detected. Possible formats "
5877 "include C<raw> and C<qcow2>."
5881 #: ../fish/guestfish-actions.pod:131
5882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:131
5883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:189
5884 #: ../src/guestfs-actions.pod:189
5886 "Automatic detection of the format opens you up to a potential security hole "
5887 "when dealing with untrusted raw-format images. See CVE-2010-3851 and "
5888 "RHBZ#642934. Specifying the format closes this security hole."
5892 #: ../fish/guestfish-actions.pod:136
5893 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:136
5894 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:194
5895 #: ../src/guestfs-actions.pod:194
5900 #: ../fish/guestfish-actions.pod:138
5901 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:138
5903 "This rarely-used option lets you emulate the behaviour of the deprecated L</"
5904 "add-drive-with-if> call (q.v.)"
5908 #: ../fish/guestfish-actions.pod:145
5909 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:145
5910 msgid "add-drive-ro"
5911 msgstr "add-drive-ro"
5914 #: ../fish/guestfish-actions.pod:147
5915 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:147
5920 #: ../fish/guestfish-actions.pod:149
5921 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:149
5924 " add-drive-ro filename\n"
5929 #: ../fish/guestfish-actions.pod:151
5930 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:151
5932 "This function is the equivalent of calling L</add-drive-opts> with the "
5933 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
5934 "is added read-only, with the format being detected automatically."
5938 #: ../fish/guestfish-actions.pod:156
5939 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:156
5940 msgid "add-drive-ro-with-if"
5944 #: ../fish/guestfish-actions.pod:158
5945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:158
5948 " add-drive-ro-with-if filename iface\n"
5953 #: ../fish/guestfish-actions.pod:160
5954 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:160
5956 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
5957 "interface emulation to use at run time."
5961 #: ../fish/guestfish-actions.pod:170
5962 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:170
5963 msgid "add-drive-with-if"
5967 #: ../fish/guestfish-actions.pod:172
5968 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:172
5971 " add-drive-with-if filename iface\n"
5976 #: ../fish/guestfish-actions.pod:174
5977 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:174
5979 "This is the same as L</add-drive> but it allows you to specify the QEMU "
5980 "interface emulation to use at run time."
5984 #: ../fish/guestfish-actions.pod:184
5985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:184
5990 #: ../fish/guestfish-actions.pod:186
5991 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:186
5994 " aug-clear augpath\n"
5999 #: ../fish/guestfish-actions.pod:188
6000 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:188
6001 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:290
6002 #: ../src/guestfs-actions.pod:290
6004 "Set the value associated with C<path> to C<NULL>. This is the same as the "
6005 "L<augtool(1)> C<clear> command."
6009 #: ../fish/guestfish-actions.pod:191
6010 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:191
6015 #: ../fish/guestfish-actions.pod:193
6016 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:193
6024 #: ../fish/guestfish-actions.pod:195
6025 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:195
6027 "Close the current Augeas handle and free up any resources used by it. After "
6028 "calling this, you have to call L</aug-init> again before you can use any "
6029 "other Augeas functions."
6033 #: ../fish/guestfish-actions.pod:200
6034 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:200
6039 #: ../fish/guestfish-actions.pod:202
6040 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:202
6043 " aug-defnode name expr val\n"
6048 #: ../fish/guestfish-actions.pod:204
6049 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:204
6050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:319
6051 #: ../src/guestfs-actions.pod:319
6053 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
6057 #: ../fish/guestfish-actions.pod:207
6058 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:207
6060 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
6061 "calling L</aug-set> C<expr>, C<value>. C<name> will be the nodeset "
6062 "containing that single node."
6066 #: ../fish/guestfish-actions.pod:211
6067 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:211
6068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:326
6069 #: ../src/guestfs-actions.pod:326
6071 "On success this returns a pair containing the number of nodes in the "
6072 "nodeset, and a boolean flag if a node was created."
6076 #: ../fish/guestfish-actions.pod:215
6077 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:215
6082 #: ../fish/guestfish-actions.pod:217
6083 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:217
6086 " aug-defvar name expr\n"
6091 #: ../fish/guestfish-actions.pod:219
6092 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:219
6093 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:343
6094 #: ../src/guestfs-actions.pod:343
6096 "Defines an Augeas variable C<name> whose value is the result of evaluating "
6097 "C<expr>. If C<expr> is NULL, then C<name> is undefined."
6101 #: ../fish/guestfish-actions.pod:223
6102 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:223
6103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:347
6104 #: ../src/guestfs-actions.pod:347
6106 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
6107 "evaluates to something which is not a nodeset."
6111 #: ../fish/guestfish-actions.pod:226
6112 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:226
6117 #: ../fish/guestfish-actions.pod:228
6118 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:228
6121 " aug-get augpath\n"
6126 #: ../fish/guestfish-actions.pod:230
6127 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:230
6128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:360
6129 #: ../src/guestfs-actions.pod:360
6131 "Look up the value associated with C<path>. If C<path> matches exactly one "
6132 "node, the C<value> is returned."
6136 #: ../fish/guestfish-actions.pod:233
6137 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:233
6142 #: ../fish/guestfish-actions.pod:235
6143 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:235
6146 " aug-init root flags\n"
6151 #: ../fish/guestfish-actions.pod:237
6152 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:237
6153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:375
6154 #: ../src/guestfs-actions.pod:375
6156 "Create a new Augeas handle for editing configuration files. If there was "
6157 "any previous Augeas handle associated with this guestfs session, then it is "
6162 #: ../fish/guestfish-actions.pod:241
6163 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:241
6164 msgid "You must call this before using any other L</aug-*> commands."
6168 #: ../fish/guestfish-actions.pod:244
6169 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:244
6170 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:382
6171 #: ../src/guestfs-actions.pod:382
6173 "C<root> is the filesystem root. C<root> must not be NULL, use C</> instead."
6177 #: ../fish/guestfish-actions.pod:247
6178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:247
6179 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:385
6180 #: ../src/guestfs-actions.pod:385
6182 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
6183 "logical I<or> of the following integers:"
6187 #: ../fish/guestfish-actions.pod:253
6188 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:253
6189 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:391
6190 #: ../src/guestfs-actions.pod:391
6191 msgid "C<AUG_SAVE_BACKUP> = 1"
6192 msgstr "C<AUG_SAVE_BACKUP> = 1"
6195 #: ../fish/guestfish-actions.pod:255
6196 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:255
6197 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:393
6198 #: ../src/guestfs-actions.pod:393
6199 msgid "Keep the original file with a C<.augsave> extension."
6203 #: ../fish/guestfish-actions.pod:257
6204 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:257
6205 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:395
6206 #: ../src/guestfs-actions.pod:395
6207 msgid "C<AUG_SAVE_NEWFILE> = 2"
6208 msgstr "C<AUG_SAVE_NEWFILE> = 2"
6211 #: ../fish/guestfish-actions.pod:259
6212 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:259
6213 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:397
6214 #: ../src/guestfs-actions.pod:397
6216 "Save changes into a file with extension C<.augnew>, and do not overwrite "
6217 "original. Overrides C<AUG_SAVE_BACKUP>."
6221 #: ../fish/guestfish-actions.pod:262
6222 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:262
6223 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:400
6224 #: ../src/guestfs-actions.pod:400
6225 msgid "C<AUG_TYPE_CHECK> = 4"
6226 msgstr "C<AUG_TYPE_CHECK> = 4"
6229 #: ../fish/guestfish-actions.pod:264
6230 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:264
6231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:402
6232 #: ../src/guestfs-actions.pod:402
6233 msgid "Typecheck lenses (can be expensive)."
6237 #: ../fish/guestfish-actions.pod:266
6238 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:266
6239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:404
6240 #: ../src/guestfs-actions.pod:404
6241 msgid "C<AUG_NO_STDINC> = 8"
6242 msgstr "C<AUG_NO_STDINC> = 8"
6245 #: ../fish/guestfish-actions.pod:268
6246 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:268
6247 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:406
6248 #: ../src/guestfs-actions.pod:406
6249 msgid "Do not use standard load path for modules."
6253 #: ../fish/guestfish-actions.pod:270
6254 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:270
6255 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:408
6256 #: ../src/guestfs-actions.pod:408
6257 msgid "C<AUG_SAVE_NOOP> = 16"
6258 msgstr "C<AUG_SAVE_NOOP> = 16"
6261 #: ../fish/guestfish-actions.pod:272
6262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:272
6263 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:410
6264 #: ../src/guestfs-actions.pod:410
6265 msgid "Make save a no-op, just record what would have been changed."
6269 #: ../fish/guestfish-actions.pod:274
6270 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:274
6271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:412
6272 #: ../src/guestfs-actions.pod:412
6273 msgid "C<AUG_NO_LOAD> = 32"
6274 msgstr "C<AUG_NO_LOAD> = 32"
6277 #: ../fish/guestfish-actions.pod:276
6278 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:276
6279 msgid "Do not load the tree in L</aug-init>."
6283 #: ../fish/guestfish-actions.pod:280
6284 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:280
6285 msgid "To close the handle, you can call L</aug-close>."
6289 #: ../fish/guestfish-actions.pod:282
6290 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:282
6291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:420
6292 #: ../src/guestfs-actions.pod:420
6293 msgid "To find out more about Augeas, see L<http://augeas.net/>."
6297 #: ../fish/guestfish-actions.pod:284
6298 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:284
6303 #: ../fish/guestfish-actions.pod:286
6304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:286
6307 " aug-insert augpath label true|false\n"
6312 #: ../fish/guestfish-actions.pod:288
6313 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:288
6314 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:434
6315 #: ../src/guestfs-actions.pod:434
6317 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
6318 "or after C<path> (depending on the boolean flag C<before>)."
6322 #: ../fish/guestfish-actions.pod:292
6323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:292
6324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:438
6325 #: ../src/guestfs-actions.pod:438
6327 "C<path> must match exactly one existing node in the tree, and C<label> must "
6328 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
6332 #: ../fish/guestfish-actions.pod:296
6333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:296
6338 #: ../fish/guestfish-actions.pod:298
6339 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:298
6347 #: ../fish/guestfish-actions.pod:300
6348 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:300
6349 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:451
6350 #: ../src/guestfs-actions.pod:451
6351 msgid "Load files into the tree."
6352 msgstr "Завантажити файли до ієрархії."
6355 #: ../fish/guestfish-actions.pod:302
6356 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:302
6357 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:453
6358 #: ../src/guestfs-actions.pod:453
6359 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
6363 #: ../fish/guestfish-actions.pod:305
6364 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:305
6369 #: ../fish/guestfish-actions.pod:307
6370 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:307
6378 #: ../fish/guestfish-actions.pod:309
6379 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:309
6381 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
6382 "resulting nodes into alphabetical order."
6386 #: ../fish/guestfish-actions.pod:312
6387 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:312
6392 #: ../fish/guestfish-actions.pod:314
6393 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:314
6396 " aug-match augpath\n"
6401 #: ../fish/guestfish-actions.pod:316
6402 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:316
6403 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:481
6404 #: ../src/guestfs-actions.pod:481
6406 "Returns a list of paths which match the path expression C<path>. The "
6407 "returned paths are sufficiently qualified so that they match exactly one "
6408 "node in the current tree."
6412 #: ../fish/guestfish-actions.pod:320
6413 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:320
6418 #: ../fish/guestfish-actions.pod:322
6419 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:322
6422 " aug-mv src dest\n"
6427 #: ../fish/guestfish-actions.pod:324
6428 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:324
6429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:498
6430 #: ../src/guestfs-actions.pod:498
6432 "Move the node C<src> to C<dest>. C<src> must match exactly one node. "
6433 "C<dest> is overwritten if it exists."
6437 #: ../fish/guestfish-actions.pod:327
6438 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:327
6443 #: ../fish/guestfish-actions.pod:329
6444 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:329
6452 #: ../fish/guestfish-actions.pod:331
6453 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:331
6454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:511
6455 #: ../src/guestfs-actions.pod:511
6456 msgid "Remove C<path> and all of its children."
6460 #: ../fish/guestfish-actions.pod:333
6461 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:333
6462 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:513
6463 #: ../src/guestfs-actions.pod:513
6464 msgid "On success this returns the number of entries which were removed."
6468 #: ../fish/guestfish-actions.pod:335
6469 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:335
6474 #: ../fish/guestfish-actions.pod:337
6475 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:337
6483 #: ../fish/guestfish-actions.pod:339
6484 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:339
6485 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:524
6486 #: ../src/guestfs-actions.pod:524
6487 msgid "This writes all pending changes to disk."
6491 #: ../fish/guestfish-actions.pod:341
6492 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:341
6494 "The flags which were passed to L</aug-init> affect exactly how files are "
6499 #: ../fish/guestfish-actions.pod:344
6500 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:344
6505 #: ../fish/guestfish-actions.pod:346
6506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:346
6509 " aug-set augpath val\n"
6514 #: ../fish/guestfish-actions.pod:348
6515 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:348
6516 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:540
6517 #: ../src/guestfs-actions.pod:540
6518 msgid "Set the value associated with C<path> to C<val>."
6522 #: ../fish/guestfish-actions.pod:350
6523 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:350
6525 "In the Augeas API, it is possible to clear a node by setting the value to "
6526 "NULL. Due to an oversight in the libguestfs API you cannot do that with "
6527 "this call. Instead you must use the L</aug-clear> call."
6531 #: ../fish/guestfish-actions.pod:355
6532 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:355
6537 #: ../fish/guestfish-actions.pod:357
6538 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:357
6541 " available 'groups ...'\n"
6546 #: ../fish/guestfish-actions.pod:359
6547 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:359
6548 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:557
6549 #: ../src/guestfs-actions.pod:557
6551 "This command is used to check the availability of some groups of "
6552 "functionality in the appliance, which not all builds of the libguestfs "
6553 "appliance will be able to provide."
6557 #: ../fish/guestfish-actions.pod:363
6558 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:363
6560 "The libguestfs groups, and the functions that those groups correspond to, "
6561 "are listed in L<guestfs(3)/AVAILABILITY>. You can also fetch this list at "
6562 "runtime by calling L</available-all-groups>."
6566 #: ../fish/guestfish-actions.pod:368
6567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:368
6568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:566
6569 #: ../src/guestfs-actions.pod:566
6571 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
6572 "\"]> would check for the availability of the Linux inotify functions and "
6573 "Augeas (configuration file editing) functions."
6577 #: ../fish/guestfish-actions.pod:373
6578 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:373
6579 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:571
6580 #: ../src/guestfs-actions.pod:571
6581 msgid "The command returns no error if I<all> requested groups are available."
6585 #: ../fish/guestfish-actions.pod:375
6586 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:375
6587 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:573
6588 #: ../src/guestfs-actions.pod:573
6590 "It fails with an error if one or more of the requested groups is unavailable "
6595 #: ../fish/guestfish-actions.pod:378
6596 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:378
6597 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:576
6598 #: ../src/guestfs-actions.pod:576
6600 "If an unknown group name is included in the list of groups then an error is "
6605 #: ../fish/guestfish-actions.pod:381
6606 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:381
6607 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:579
6608 #: ../src/guestfs-actions.pod:579
6610 msgstr "I<Нотатки:>"
6613 #: ../fish/guestfish-actions.pod:387
6614 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:387
6615 msgid "You must call L</launch> before calling this function."
6619 #: ../fish/guestfish-actions.pod:389
6620 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:389
6621 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:587
6622 #: ../src/guestfs-actions.pod:587
6624 "The reason is because we don't know what groups are supported by the "
6625 "appliance/daemon until it is running and can be queried."
6629 #: ../fish/guestfish-actions.pod:395
6630 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:395
6631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:593
6632 #: ../src/guestfs-actions.pod:593
6634 "If a group of functions is available, this does not necessarily mean that "
6635 "they will work. You still have to check for errors when calling individual "
6636 "API functions even if they are available."
6640 #: ../fish/guestfish-actions.pod:402
6641 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:402
6642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:600
6643 #: ../src/guestfs-actions.pod:600
6645 "It is usually the job of distro packagers to build complete functionality "
6646 "into the libguestfs appliance. Upstream libguestfs, if built from source "
6647 "with all requirements satisfied, will support everything."
6651 #: ../fish/guestfish-actions.pod:409
6652 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:409
6654 "This call was added in version C<1.0.80>. In previous versions of "
6655 "libguestfs all you could do would be to speculatively execute a command to "
6656 "find out if the daemon implemented it. See also L</version>."
6660 #: ../fish/guestfish-actions.pod:416
6661 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:416
6662 msgid "available-all-groups"
6666 #: ../fish/guestfish-actions.pod:418
6667 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:418
6670 " available-all-groups\n"
6675 #: ../fish/guestfish-actions.pod:420
6676 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:420
6678 "This command returns a list of all optional groups that this daemon knows "
6679 "about. Note this returns both supported and unsupported groups. To find "
6680 "out which ones the daemon can actually support you have to call L</"
6681 "available> on each member of the returned list."
6685 #: ../fish/guestfish-actions.pod:426
6686 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:426
6687 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
6691 #: ../fish/guestfish-actions.pod:428
6692 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:428
6697 #: ../fish/guestfish-actions.pod:430
6698 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:430
6701 " base64-in (base64file|-) filename\n"
6706 #: ../fish/guestfish-actions.pod:432
6707 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:432
6708 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:644
6709 #: ../src/guestfs-actions.pod:644
6711 "This command uploads base64-encoded data from C<base64file> to C<filename>."
6715 #: ../fish/guestfish-actions.pod:435 ../fish/guestfish-actions.pod:444
6716 #: ../fish/guestfish-actions.pod:693 ../fish/guestfish-actions.pod:862
6717 #: ../fish/guestfish-actions.pod:881 ../fish/guestfish-actions.pod:1255
6718 #: ../fish/guestfish-actions.pod:4658 ../fish/guestfish-actions.pod:4670
6719 #: ../fish/guestfish-actions.pod:4681 ../fish/guestfish-actions.pod:4692
6720 #: ../fish/guestfish-actions.pod:4744 ../fish/guestfish-actions.pod:4753
6721 #: ../fish/guestfish-actions.pod:4807 ../fish/guestfish-actions.pod:4830
6722 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:435
6723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:444
6724 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:693
6725 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:862
6726 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:881
6727 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1255
6728 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4658
6729 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4670
6730 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4681
6731 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4692
6732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4744
6733 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4753
6734 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4807
6735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4830
6736 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
6740 #: ../fish/guestfish-actions.pod:437
6741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:437
6746 #: ../fish/guestfish-actions.pod:439
6747 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:439
6750 " base64-out filename (base64file|-)\n"
6755 #: ../fish/guestfish-actions.pod:441
6756 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:441
6757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:658
6758 #: ../src/guestfs-actions.pod:658
6760 "This command downloads the contents of C<filename>, writing it out to local "
6761 "file C<base64file> encoded as base64."
6765 #: ../fish/guestfish-actions.pod:446
6766 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:446
6767 msgid "blockdev-flushbufs"
6771 #: ../fish/guestfish-actions.pod:448
6772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:448
6775 " blockdev-flushbufs device\n"
6780 #: ../fish/guestfish-actions.pod:450
6781 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:450
6782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:671
6783 #: ../src/guestfs-actions.pod:671
6785 "This tells the kernel to flush internal buffers associated with C<device>."
6789 #: ../fish/guestfish-actions.pod:453 ../fish/guestfish-actions.pod:464
6790 #: ../fish/guestfish-actions.pod:473 ../fish/guestfish-actions.pod:483
6791 #: ../fish/guestfish-actions.pod:495 ../fish/guestfish-actions.pod:508
6792 #: ../fish/guestfish-actions.pod:516 ../fish/guestfish-actions.pod:527
6793 #: ../fish/guestfish-actions.pod:535 ../fish/guestfish-actions.pod:543
6794 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:453
6795 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:464
6796 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:473
6797 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:483
6798 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:495
6799 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:508
6800 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:516
6801 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:527
6802 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:535
6803 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:543
6804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:674
6805 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:691
6806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:706
6807 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:722
6808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:740
6809 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:759
6810 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:773
6811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:791
6812 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:805
6813 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:819
6814 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:691
6815 #: ../src/guestfs-actions.pod:706 ../src/guestfs-actions.pod:722
6816 #: ../src/guestfs-actions.pod:740 ../src/guestfs-actions.pod:759
6817 #: ../src/guestfs-actions.pod:773 ../src/guestfs-actions.pod:791
6818 #: ../src/guestfs-actions.pod:805 ../src/guestfs-actions.pod:819
6819 msgid "This uses the L<blockdev(8)> command."
6823 #: ../fish/guestfish-actions.pod:455
6824 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:455
6825 msgid "blockdev-getbsz"
6829 #: ../fish/guestfish-actions.pod:457
6830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:457
6833 " blockdev-getbsz device\n"
6838 #: ../fish/guestfish-actions.pod:459
6839 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:459
6840 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:686
6841 #: ../src/guestfs-actions.pod:686
6842 msgid "This returns the block size of a device."
6846 #: ../fish/guestfish-actions.pod:461 ../fish/guestfish-actions.pod:524
6847 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:461
6848 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:524
6849 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:688
6850 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:788
6851 #: ../src/guestfs-actions.pod:688 ../src/guestfs-actions.pod:788
6853 "(Note this is different from both I<size in blocks> and I<filesystem block "
6858 #: ../fish/guestfish-actions.pod:466
6859 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:466
6860 msgid "blockdev-getro"
6864 #: ../fish/guestfish-actions.pod:468
6865 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:468
6868 " blockdev-getro device\n"
6873 #: ../fish/guestfish-actions.pod:470
6874 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:470
6875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:703
6876 #: ../src/guestfs-actions.pod:703
6878 "Returns a boolean indicating if the block device is read-only (true if read-"
6879 "only, false if not)."
6883 #: ../fish/guestfish-actions.pod:475
6884 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:475
6885 msgid "blockdev-getsize64"
6889 #: ../fish/guestfish-actions.pod:477
6890 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:477
6893 " blockdev-getsize64 device\n"
6898 #: ../fish/guestfish-actions.pod:479
6899 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:479
6900 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:718
6901 #: ../src/guestfs-actions.pod:718
6902 msgid "This returns the size of the device in bytes."
6906 #: ../fish/guestfish-actions.pod:481
6907 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:481
6908 msgid "See also L</blockdev-getsz>."
6912 #: ../fish/guestfish-actions.pod:485
6913 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:485
6914 msgid "blockdev-getss"
6918 #: ../fish/guestfish-actions.pod:487
6919 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:487
6922 " blockdev-getss device\n"
6927 #: ../fish/guestfish-actions.pod:489
6928 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:489
6929 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:734
6930 #: ../src/guestfs-actions.pod:734
6932 "This returns the size of sectors on a block device. Usually 512, but can be "
6933 "larger for modern devices."
6937 #: ../fish/guestfish-actions.pod:492
6938 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:492
6940 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
6944 #: ../fish/guestfish-actions.pod:497
6945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:497
6946 msgid "blockdev-getsz"
6950 #: ../fish/guestfish-actions.pod:499
6951 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:499
6954 " blockdev-getsz device\n"
6959 #: ../fish/guestfish-actions.pod:501
6960 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:501
6961 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:752
6962 #: ../src/guestfs-actions.pod:752
6964 "This returns the size of the device in units of 512-byte sectors (even if "
6965 "the sectorsize isn't 512 bytes ... weird)."
6969 #: ../fish/guestfish-actions.pod:504
6970 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:504
6972 "See also L</blockdev-getss> for the real sector size of the device, and L</"
6973 "blockdev-getsize64> for the more useful I<size in bytes>."
6977 #: ../fish/guestfish-actions.pod:510
6978 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:510
6979 msgid "blockdev-rereadpt"
6983 #: ../fish/guestfish-actions.pod:512
6984 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:512
6987 " blockdev-rereadpt device\n"
6992 #: ../fish/guestfish-actions.pod:514
6993 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:514
6994 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:771
6995 #: ../src/guestfs-actions.pod:771
6996 msgid "Reread the partition table on C<device>."
7000 #: ../fish/guestfish-actions.pod:518
7001 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:518
7002 msgid "blockdev-setbsz"
7006 #: ../fish/guestfish-actions.pod:520
7007 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:520
7010 " blockdev-setbsz device blocksize\n"
7015 #: ../fish/guestfish-actions.pod:522
7016 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:522
7017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:786
7018 #: ../src/guestfs-actions.pod:786
7019 msgid "This sets the block size of a device."
7023 #: ../fish/guestfish-actions.pod:529
7024 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:529
7025 msgid "blockdev-setro"
7029 #: ../fish/guestfish-actions.pod:531
7030 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:531
7033 " blockdev-setro device\n"
7038 #: ../fish/guestfish-actions.pod:533
7039 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:533
7040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:803
7041 #: ../src/guestfs-actions.pod:803
7042 msgid "Sets the block device named C<device> to read-only."
7046 #: ../fish/guestfish-actions.pod:537
7047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:537
7048 msgid "blockdev-setrw"
7052 #: ../fish/guestfish-actions.pod:539
7053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:539
7056 " blockdev-setrw device\n"
7061 #: ../fish/guestfish-actions.pod:541
7062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:541
7063 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:817
7064 #: ../src/guestfs-actions.pod:817
7065 msgid "Sets the block device named C<device> to read-write."
7069 #: ../fish/guestfish-actions.pod:545
7070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:545
7071 msgid "btrfs-filesystem-resize"
7075 #: ../fish/guestfish-actions.pod:547
7076 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:547
7079 " btrfs-filesystem-resize mountpoint [size:..]\n"
7084 #: ../fish/guestfish-actions.pod:549
7085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:549
7086 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:839
7087 #: ../src/guestfs-actions.pod:839
7088 msgid "This command resizes a btrfs filesystem."
7092 #: ../fish/guestfish-actions.pod:551
7093 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:551
7094 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:841
7095 #: ../src/guestfs-actions.pod:841
7097 "Note that unlike other resize calls, the filesystem has to be mounted and "
7098 "the parameter is the mountpoint not the device (this is a requirement of "
7103 #: ../fish/guestfish-actions.pod:555 ../fish/guestfish-actions.pod:3417
7104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:555
7105 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3417
7106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:845
7107 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5189
7108 #: ../src/guestfs-actions.pod:845 ../src/guestfs-actions.pod:5189
7109 msgid "The optional parameters are:"
7113 #: ../fish/guestfish-actions.pod:559 ../fish/guestfish-actions.pod:3421
7114 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:559
7115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3421
7116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:849
7117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5193
7118 #: ../src/guestfs-actions.pod:849 ../src/guestfs-actions.pod:5193
7123 #: ../fish/guestfish-actions.pod:561
7124 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:561
7125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:851
7126 #: ../src/guestfs-actions.pod:851
7128 "The new size (in bytes) of the filesystem. If omitted, the filesystem is "
7129 "resized to the maximum size."
7133 #: ../fish/guestfish-actions.pod:566
7134 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:566
7135 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:856
7136 #: ../src/guestfs-actions.pod:856
7137 msgid "See also L<btrfs(8)>."
7141 #: ../fish/guestfish-actions.pod:570
7142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:570
7143 msgid "case-sensitive-path"
7147 #: ../fish/guestfish-actions.pod:572
7148 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:572
7151 " case-sensitive-path path\n"
7156 #: ../fish/guestfish-actions.pod:574
7157 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:574
7158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:890
7159 #: ../src/guestfs-actions.pod:890
7161 "This can be used to resolve case insensitive paths on a filesystem which is "
7162 "case sensitive. The use case is to resolve paths which you have read from "
7163 "Windows configuration files or the Windows Registry, to the true path."
7167 #: ../fish/guestfish-actions.pod:579
7168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:579
7169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:895
7170 #: ../src/guestfs-actions.pod:895
7172 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
7173 "(and probably others), which is that although the underlying filesystem is "
7174 "case-insensitive, the driver exports the filesystem to Linux as case-"
7179 #: ../fish/guestfish-actions.pod:584
7180 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:584
7181 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:900
7182 #: ../src/guestfs-actions.pod:900
7184 "One consequence of this is that special directories such as C<c:\\windows> "
7185 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
7186 "precise details of how they were created. In Windows itself this would not "
7191 #: ../fish/guestfish-actions.pod:590
7192 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:590
7193 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:906
7194 #: ../src/guestfs-actions.pod:906
7196 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
7201 #: ../fish/guestfish-actions.pod:593
7202 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:593
7203 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:909
7204 #: ../src/guestfs-actions.pod:909
7206 "This function resolves the true case of each element in the path and returns "
7207 "the case-sensitive path."
7211 #: ../fish/guestfish-actions.pod:596
7212 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:596
7214 "Thus L</case-sensitive-path> (\"/Windows/System32\") might return C<\"/"
7215 "WINDOWS/system32\"> (the exact return value would depend on details of how "
7216 "the directories were originally created under Windows)."
7220 #: ../fish/guestfish-actions.pod:601
7221 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:601
7222 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:917
7223 #: ../src/guestfs-actions.pod:917
7224 msgid "I<Note>: This function does not handle drive names, backslashes etc."
7228 #: ../fish/guestfish-actions.pod:604
7229 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:604
7230 msgid "See also L</realpath>."
7234 #: ../fish/guestfish-actions.pod:606
7235 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:606
7240 #: ../fish/guestfish-actions.pod:608
7241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:608
7251 #: ../fish/guestfish-actions.pod:610 ../fish/guestfish-actions.pod:3837
7252 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:610
7253 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3837
7254 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:933
7255 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5832
7256 #: ../src/guestfs-actions.pod:933 ../src/guestfs-actions.pod:5832
7257 msgid "Return the contents of the file named C<path>."
7261 #: ../fish/guestfish-actions.pod:612
7262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:612
7264 "Note that this function cannot correctly handle binary files (specifically, "
7265 "files containing C<\\0> character which is treated as end of string). For "
7266 "those you need to use the L</read-file> or L</download> functions which have "
7267 "a more complex interface."
7271 #: ../fish/guestfish-actions.pod:617 ../fish/guestfish-actions.pod:752
7272 #: ../fish/guestfish-actions.pod:764 ../fish/guestfish-actions.pod:940
7273 #: ../fish/guestfish-actions.pod:950 ../fish/guestfish-actions.pod:1017
7274 #: ../fish/guestfish-actions.pod:1027 ../fish/guestfish-actions.pod:1219
7275 #: ../fish/guestfish-actions.pod:1526 ../fish/guestfish-actions.pod:1536
7276 #: ../fish/guestfish-actions.pod:1564 ../fish/guestfish-actions.pod:1579
7277 #: ../fish/guestfish-actions.pod:1589 ../fish/guestfish-actions.pod:1608
7278 #: ../fish/guestfish-actions.pod:3707 ../fish/guestfish-actions.pod:3722
7279 #: ../fish/guestfish-actions.pod:3798 ../fish/guestfish-actions.pod:3815
7280 #: ../fish/guestfish-actions.pod:3830 ../fish/guestfish-actions.pod:4499
7281 #: ../fish/guestfish-actions.pod:4545 ../fish/guestfish-actions.pod:4630
7282 #: ../fish/guestfish-actions.pod:4645 ../fish/guestfish-actions.pod:5051
7283 #: ../fish/guestfish-actions.pod:5063 ../fish/guestfish-actions.pod:5081
7284 #: ../fish/guestfish-actions.pod:5098 ../fish/guestfish-actions.pod:5108
7285 #: ../fish/guestfish-actions.pod:5157 ../fish/guestfish-actions.pod:5167
7286 #: ../fish/guestfish-actions.pod:5196 ../fish/guestfish-actions.pod:5206
7287 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:617
7288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:752
7289 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:764
7290 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:940
7291 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:950
7292 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1017
7293 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1027
7294 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1219
7295 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1526
7296 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1536
7297 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1564
7298 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1579
7299 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1589
7300 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1608
7301 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3707
7302 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3722
7303 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3798
7304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3815
7305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3830
7306 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4499
7307 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4545
7308 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4630
7309 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4645
7310 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5051
7311 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5063
7312 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5081
7313 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5098
7314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5108
7315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5157
7316 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5167
7317 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5196
7318 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5206
7319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:943
7320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1122
7321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1142
7322 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1438
7323 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1457
7324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1560
7325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1579
7326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1825
7327 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2296
7328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2315
7329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2358
7330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2382
7331 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2399
7332 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2428
7333 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5614
7334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5640
7335 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5771
7336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5797
7337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5821
7338 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6772
7339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6827
7340 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6973
7341 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6997
7342 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7662
7343 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7682
7344 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7708
7345 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7734
7346 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7753
7347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7839
7348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7858
7349 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7904
7350 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7923
7351 #: ../src/guestfs-actions.pod:943 ../src/guestfs-actions.pod:1122
7352 #: ../src/guestfs-actions.pod:1142 ../src/guestfs-actions.pod:1438
7353 #: ../src/guestfs-actions.pod:1457 ../src/guestfs-actions.pod:1560
7354 #: ../src/guestfs-actions.pod:1579 ../src/guestfs-actions.pod:1825
7355 #: ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2315
7356 #: ../src/guestfs-actions.pod:2358 ../src/guestfs-actions.pod:2382
7357 #: ../src/guestfs-actions.pod:2399 ../src/guestfs-actions.pod:2428
7358 #: ../src/guestfs-actions.pod:5614 ../src/guestfs-actions.pod:5640
7359 #: ../src/guestfs-actions.pod:5771 ../src/guestfs-actions.pod:5797
7360 #: ../src/guestfs-actions.pod:5821 ../src/guestfs-actions.pod:6772
7361 #: ../src/guestfs-actions.pod:6827 ../src/guestfs-actions.pod:6973
7362 #: ../src/guestfs-actions.pod:6997 ../src/guestfs-actions.pod:7662
7363 #: ../src/guestfs-actions.pod:7682 ../src/guestfs-actions.pod:7708
7364 #: ../src/guestfs-actions.pod:7734 ../src/guestfs-actions.pod:7753
7365 #: ../src/guestfs-actions.pod:7839 ../src/guestfs-actions.pod:7858
7366 #: ../src/guestfs-actions.pod:7904 ../src/guestfs-actions.pod:7923
7368 "Because of the message protocol, there is a transfer limit of somewhere "
7369 "between 2MB and 4MB. See L<guestfs(3)/PROTOCOL LIMITS>."
7373 #: ../fish/guestfish-actions.pod:620
7374 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:620
7379 #: ../fish/guestfish-actions.pod:622
7380 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:622
7383 " checksum csumtype path\n"
7388 #: ../fish/guestfish-actions.pod:624
7389 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:624
7390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:955
7391 #: ../src/guestfs-actions.pod:955
7393 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
7397 #: ../fish/guestfish-actions.pod:627
7398 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:627
7399 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:958
7400 #: ../src/guestfs-actions.pod:958
7402 "The type of checksum to compute is given by the C<csumtype> parameter which "
7403 "must have one of the following values:"
7407 #: ../fish/guestfish-actions.pod:632
7408 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:632
7409 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:963
7410 #: ../src/guestfs-actions.pod:963
7415 #: ../fish/guestfish-actions.pod:634
7416 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:634
7417 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:965
7418 #: ../src/guestfs-actions.pod:965
7420 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
7425 #: ../fish/guestfish-actions.pod:637
7426 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:637
7427 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:968
7428 #: ../src/guestfs-actions.pod:968
7433 #: ../fish/guestfish-actions.pod:639
7434 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:639
7435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:970
7436 #: ../src/guestfs-actions.pod:970
7437 msgid "Compute the MD5 hash (using the C<md5sum> program)."
7441 #: ../fish/guestfish-actions.pod:641
7442 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:641
7443 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:972
7444 #: ../src/guestfs-actions.pod:972
7449 #: ../fish/guestfish-actions.pod:643
7450 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:643
7451 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:974
7452 #: ../src/guestfs-actions.pod:974
7453 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
7457 #: ../fish/guestfish-actions.pod:645
7458 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:645
7459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:976
7460 #: ../src/guestfs-actions.pod:976
7465 #: ../fish/guestfish-actions.pod:647
7466 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:647
7467 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:978
7468 #: ../src/guestfs-actions.pod:978
7469 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
7473 #: ../fish/guestfish-actions.pod:649
7474 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:649
7475 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:980
7476 #: ../src/guestfs-actions.pod:980
7481 #: ../fish/guestfish-actions.pod:651
7482 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:651
7483 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:982
7484 #: ../src/guestfs-actions.pod:982
7485 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
7489 #: ../fish/guestfish-actions.pod:653
7490 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:653
7491 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:984
7492 #: ../src/guestfs-actions.pod:984
7497 #: ../fish/guestfish-actions.pod:655
7498 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:655
7499 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:986
7500 #: ../src/guestfs-actions.pod:986
7501 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
7505 #: ../fish/guestfish-actions.pod:657
7506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:657
7507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:988
7508 #: ../src/guestfs-actions.pod:988
7513 #: ../fish/guestfish-actions.pod:659
7514 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:659
7515 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:990
7516 #: ../src/guestfs-actions.pod:990
7517 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
7521 #: ../fish/guestfish-actions.pod:663
7522 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:663
7523 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:994
7524 #: ../src/guestfs-actions.pod:994
7525 msgid "The checksum is returned as a printable string."
7529 #: ../fish/guestfish-actions.pod:665
7530 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:665
7531 msgid "To get the checksum for a device, use L</checksum-device>."
7535 #: ../fish/guestfish-actions.pod:667
7536 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:667
7537 msgid "To get the checksums for many files, use L</checksums-out>."
7541 #: ../fish/guestfish-actions.pod:669
7542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:669
7543 msgid "checksum-device"
7544 msgstr "checksum-device"
7547 #: ../fish/guestfish-actions.pod:671
7548 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:671
7551 " checksum-device csumtype device\n"
7556 #: ../fish/guestfish-actions.pod:673
7557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:673
7559 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
7560 "device named C<device>. For the types of checksums supported see the L</"
7561 "checksum> command."
7565 #: ../fish/guestfish-actions.pod:677
7566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:677
7567 msgid "checksums-out"
7571 #: ../fish/guestfish-actions.pod:679
7572 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:679
7575 " checksums-out csumtype directory (sumsfile|-)\n"
7580 #: ../fish/guestfish-actions.pod:681
7581 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:681
7582 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1029
7583 #: ../src/guestfs-actions.pod:1029
7585 "This command computes the checksums of all regular files in C<directory> and "
7586 "then emits a list of those checksums to the local output file C<sumsfile>."
7590 #: ../fish/guestfish-actions.pod:685
7591 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:685
7592 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1033
7593 #: ../src/guestfs-actions.pod:1033
7595 "This can be used for verifying the integrity of a virtual machine. However "
7596 "to be properly secure you should pay attention to the output of the checksum "
7597 "command (it uses the ones from GNU coreutils). In particular when the "
7598 "filename is not printable, coreutils uses a special backslash syntax. For "
7599 "more information, see the GNU coreutils info file."
7603 #: ../fish/guestfish-actions.pod:695
7604 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:695
7609 #: ../fish/guestfish-actions.pod:697
7610 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:697
7613 " chmod mode path\n"
7618 #: ../fish/guestfish-actions.pod:699
7619 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:699
7620 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1052
7621 #: ../src/guestfs-actions.pod:1052
7623 "Change the mode (permissions) of C<path> to C<mode>. Only numeric modes are "
7628 #: ../fish/guestfish-actions.pod:702
7629 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:702
7630 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1055
7631 #: ../src/guestfs-actions.pod:1055
7633 "I<Note>: When using this command from guestfish, C<mode> by default would be "
7634 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
7639 #: ../fish/guestfish-actions.pod:706 ../fish/guestfish-actions.pod:3060
7640 #: ../fish/guestfish-actions.pod:3199 ../fish/guestfish-actions.pod:3209
7641 #: ../fish/guestfish-actions.pod:3219
7642 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:706
7643 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3060
7644 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3199
7645 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3209
7646 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3219
7647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1059
7648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4586
7649 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4795
7650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4814
7651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4833
7652 #: ../src/guestfs-actions.pod:1059 ../src/guestfs-actions.pod:4586
7653 #: ../src/guestfs-actions.pod:4795 ../src/guestfs-actions.pod:4814
7654 #: ../src/guestfs-actions.pod:4833
7655 msgid "The mode actually set is affected by the umask."
7659 #: ../fish/guestfish-actions.pod:708
7660 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:708
7665 #: ../fish/guestfish-actions.pod:710
7666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:710
7669 " chown owner group path\n"
7674 #: ../fish/guestfish-actions.pod:712
7675 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:712
7676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1073
7677 #: ../src/guestfs-actions.pod:1073
7678 msgid "Change the file owner to C<owner> and group to C<group>."
7682 #: ../fish/guestfish-actions.pod:714 ../fish/guestfish-actions.pod:2495
7683 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:714
7684 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2495
7685 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1075
7686 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3657
7687 #: ../src/guestfs-actions.pod:1075 ../src/guestfs-actions.pod:3657
7689 "Only numeric uid and gid are supported. If you want to use names, you will "
7690 "need to locate and parse the password file yourself (Augeas support makes "
7691 "this relatively easy)."
7695 #: ../fish/guestfish-actions.pod:718
7696 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:718
7701 #: ../fish/guestfish-actions.pod:720
7702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:720
7705 " command 'arguments ...'\n"
7710 #: ../fish/guestfish-actions.pod:722
7711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:722
7712 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1089
7713 #: ../src/guestfs-actions.pod:1089
7715 "This call runs a command from the guest filesystem. The filesystem must be "
7716 "mounted, and must contain a compatible operating system (ie. something "
7717 "Linux, with the same or compatible processor architecture)."
7721 #: ../fish/guestfish-actions.pod:727
7722 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:727
7724 "The single parameter is an argv-style list of arguments. The first element "
7725 "is the name of the program to run. Subsequent elements are parameters. The "
7726 "list must be non-empty (ie. must contain a program name). Note that the "
7727 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
7731 #: ../fish/guestfish-actions.pod:734
7732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:734
7733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1101
7734 #: ../src/guestfs-actions.pod:1101
7735 msgid "The return value is anything printed to I<stdout> by the command."
7739 #: ../fish/guestfish-actions.pod:737
7740 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:737
7741 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1104
7742 #: ../src/guestfs-actions.pod:1104
7744 "If the command returns a non-zero exit status, then this function returns an "
7745 "error message. The error message string is the content of I<stderr> from "
7750 #: ../fish/guestfish-actions.pod:741
7751 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:741
7752 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1108
7753 #: ../src/guestfs-actions.pod:1108
7755 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
7756 "bin>. If you require a program from another location, you should provide "
7757 "the full path in the first parameter."
7761 #: ../fish/guestfish-actions.pod:746
7762 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:746
7763 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1113
7764 #: ../src/guestfs-actions.pod:1113
7766 "Shared libraries and data files required by the program must be available on "
7767 "filesystems which are mounted in the correct places. It is the caller's "
7768 "responsibility to ensure all filesystems that are needed are mounted at the "
7773 #: ../fish/guestfish-actions.pod:755
7774 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:755
7775 msgid "command-lines"
7779 #: ../fish/guestfish-actions.pod:757
7780 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:757
7783 " command-lines 'arguments ...'\n"
7788 #: ../fish/guestfish-actions.pod:759
7789 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:759
7791 "This is the same as L</command>, but splits the result into a list of lines."
7795 #: ../fish/guestfish-actions.pod:762
7796 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:762
7797 msgid "See also: L</sh-lines>"
7801 #: ../fish/guestfish-actions.pod:767
7802 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:767
7807 #: ../fish/guestfish-actions.pod:769
7808 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:769
7811 " config qemuparam qemuvalue\n"
7816 #: ../fish/guestfish-actions.pod:771
7817 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:771
7818 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1154
7819 #: ../src/guestfs-actions.pod:1154
7821 "This can be used to add arbitrary qemu command line parameters of the form "
7822 "I<-param value>. Actually it's not quite arbitrary - we prevent you from "
7823 "setting some parameters which would interfere with parameters that we use."
7827 #: ../fish/guestfish-actions.pod:776
7828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:776
7829 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1159
7830 #: ../src/guestfs-actions.pod:1159
7831 msgid "The first character of C<param> string must be a C<-> (dash)."
7835 #: ../fish/guestfish-actions.pod:778
7836 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:778
7837 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1161
7838 #: ../src/guestfs-actions.pod:1161
7839 msgid "C<value> can be NULL."
7843 #: ../fish/guestfish-actions.pod:780
7844 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:780
7849 #: ../fish/guestfish-actions.pod:782
7850 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:782
7853 " copy-size src dest size\n"
7858 #: ../fish/guestfish-actions.pod:784
7859 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:784
7860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1175
7861 #: ../src/guestfs-actions.pod:1175
7863 "This command copies exactly C<size> bytes from one source device or file "
7864 "C<src> to another destination device or file C<dest>."
7868 #: ../fish/guestfish-actions.pod:787
7869 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:787
7870 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1178
7871 #: ../src/guestfs-actions.pod:1178
7873 "Note this will fail if the source is too short or if the destination is not "
7878 #: ../fish/guestfish-actions.pod:790
7879 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:790
7884 #: ../fish/guestfish-actions.pod:792
7885 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:792
7893 #: ../fish/guestfish-actions.pod:794
7894 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:794
7895 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1197
7896 #: ../src/guestfs-actions.pod:1197
7898 "This copies a file from C<src> to C<dest> where C<dest> is either a "
7899 "destination filename or destination directory."
7903 #: ../fish/guestfish-actions.pod:797
7904 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:797
7909 #: ../fish/guestfish-actions.pod:799
7910 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:799
7918 #: ../fish/guestfish-actions.pod:801
7919 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:801
7920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1211
7921 #: ../src/guestfs-actions.pod:1211
7923 "This copies a file or directory from C<src> to C<dest> recursively using the "
7928 #: ../fish/guestfish-actions.pod:804
7929 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:804
7934 #: ../fish/guestfish-actions.pod:806
7935 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:806
7943 #: ../fish/guestfish-actions.pod:808
7944 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:808
7945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1225
7946 #: ../src/guestfs-actions.pod:1225
7948 "This command copies from one source device or file C<src> to another "
7949 "destination device or file C<dest>. Normally you would use this to copy to "
7950 "or from a device or partition, for example to duplicate a filesystem."
7954 #: ../fish/guestfish-actions.pod:813
7955 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:813
7957 "If the destination is a device, it must be as large or larger than the "
7958 "source file or device, otherwise the copy will fail. This command cannot do "
7959 "partial copies (see L</copy-size>)."
7963 #: ../fish/guestfish-actions.pod:817
7964 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:817
7969 #: ../fish/guestfish-actions.pod:819
7970 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:819
7980 #: ../fish/guestfish-actions.pod:821
7981 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:821
7982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1243
7983 #: ../src/guestfs-actions.pod:1243
7984 msgid "This command runs the C<df> command to report disk space used."
7988 #: ../fish/guestfish-actions.pod:823 ../fish/guestfish-actions.pod:834
7989 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:823
7990 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:834
7992 "This command is mostly useful for interactive sessions. It is I<not> "
7993 "intended that you try to parse the output string. Use L</statvfs> from "
7998 #: ../fish/guestfish-actions.pod:827
7999 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:827
8004 #: ../fish/guestfish-actions.pod:829
8005 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:829
8015 #: ../fish/guestfish-actions.pod:831
8016 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:831
8017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1259
8018 #: ../src/guestfs-actions.pod:1259
8020 "This command runs the C<df -h> command to report disk space used in human-"
8025 #: ../fish/guestfish-actions.pod:838
8026 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:838
8031 #: ../fish/guestfish-actions.pod:840
8032 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:840
8042 #: ../fish/guestfish-actions.pod:842
8043 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:842
8044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1276
8045 #: ../src/guestfs-actions.pod:1276
8047 "This returns the kernel messages (C<dmesg> output) from the guest kernel. "
8048 "This is sometimes useful for extended debugging of problems."
8052 #: ../fish/guestfish-actions.pod:846
8053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:846
8055 "Another way to get the same information is to enable verbose messages with "
8056 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
8057 "before running the program."
8061 #: ../fish/guestfish-actions.pod:851
8062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:851
8067 #: ../fish/guestfish-actions.pod:853
8068 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:853
8071 " download remotefilename (filename|-)\n"
8076 #: ../fish/guestfish-actions.pod:855 ../fish/guestfish-actions.pod:868
8077 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:855
8078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:868
8079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1297
8080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1322
8081 #: ../src/guestfs-actions.pod:1297 ../src/guestfs-actions.pod:1322
8083 "Download file C<remotefilename> and save it as C<filename> on the local "
8088 #: ../fish/guestfish-actions.pod:858 ../fish/guestfish-actions.pod:4803
8089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:858
8090 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4803
8091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1300
8092 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7232
8093 #: ../src/guestfs-actions.pod:1300 ../src/guestfs-actions.pod:7232
8094 msgid "C<filename> can also be a named pipe."
8098 #: ../fish/guestfish-actions.pod:860
8099 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:860
8100 msgid "See also L</upload>, L</cat>."
8104 #: ../fish/guestfish-actions.pod:864
8105 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:864
8106 msgid "download-offset"
8107 msgstr "download-offset"
8110 #: ../fish/guestfish-actions.pod:866
8111 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:866
8114 " download-offset remotefilename (filename|-) offset size\n"
8119 #: ../fish/guestfish-actions.pod:871
8120 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:871
8121 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1325
8122 #: ../src/guestfs-actions.pod:1325
8124 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
8125 "region must be within the file or device)."
8129 #: ../fish/guestfish-actions.pod:874
8130 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:874
8132 "Note that there is no limit on the amount of data that can be downloaded "
8133 "with this call, unlike with L</pread>, and this call always reads the full "
8134 "amount unless an error occurs."
8138 #: ../fish/guestfish-actions.pod:879
8139 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:879
8140 msgid "See also L</download>, L</pread>."
8144 #: ../fish/guestfish-actions.pod:883
8145 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:883
8150 #: ../fish/guestfish-actions.pod:885
8151 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:885
8154 " drop-caches whattodrop\n"
8159 #: ../fish/guestfish-actions.pod:887
8160 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:887
8161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1350
8162 #: ../src/guestfs-actions.pod:1350
8164 "This instructs the guest kernel to drop its page cache, and/or dentries and "
8165 "inode caches. The parameter C<whattodrop> tells the kernel what precisely "
8166 "to drop, see L<http://linux-mm.org/Drop_Caches>"
8170 #: ../fish/guestfish-actions.pod:892
8171 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:892
8172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1355
8173 #: ../src/guestfs-actions.pod:1355
8174 msgid "Setting C<whattodrop> to 3 should drop everything."
8178 #: ../fish/guestfish-actions.pod:894
8179 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:894
8180 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1357
8181 #: ../src/guestfs-actions.pod:1357
8183 "This automatically calls L<sync(2)> before the operation, so that the "
8184 "maximum guest memory is freed."
8188 #: ../fish/guestfish-actions.pod:897
8189 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:897
8194 #: ../fish/guestfish-actions.pod:899
8195 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:899
8205 #: ../fish/guestfish-actions.pod:901
8206 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:901
8207 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1370
8208 #: ../src/guestfs-actions.pod:1370
8210 "This command runs the C<du -s> command to estimate file space usage for "
8215 #: ../fish/guestfish-actions.pod:904
8216 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:904
8217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1373
8218 #: ../src/guestfs-actions.pod:1373
8220 "C<path> can be a file or a directory. If C<path> is a directory then the "
8221 "estimate includes the contents of the directory and all subdirectories "
8226 #: ../fish/guestfish-actions.pod:908
8227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:908
8228 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1377
8229 #: ../src/guestfs-actions.pod:1377
8231 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
8235 #: ../fish/guestfish-actions.pod:911
8236 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:911
8241 #: ../fish/guestfish-actions.pod:913
8242 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:913
8245 " e2fsck-f device\n"
8250 #: ../fish/guestfish-actions.pod:915
8251 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:915
8252 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1395
8253 #: ../src/guestfs-actions.pod:1395
8255 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
8256 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
8261 #: ../fish/guestfish-actions.pod:919
8262 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:919
8264 "This command is only needed because of L</resize2fs> (q.v.). Normally you "
8265 "should use L</fsck>."
8269 #: ../fish/guestfish-actions.pod:922
8270 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:922
8275 #: ../fish/guestfish-actions.pod:924
8276 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:924
8279 " echo-daemon 'words ...'\n"
8284 #: ../fish/guestfish-actions.pod:926
8285 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:926
8286 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1412
8287 #: ../src/guestfs-actions.pod:1412
8289 "This command concatenates the list of C<words> passed with single spaces "
8290 "between them and returns the resulting string."
8294 #: ../fish/guestfish-actions.pod:929
8295 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:929
8296 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1415
8297 #: ../src/guestfs-actions.pod:1415
8298 msgid "You can use this command to test the connection through to the daemon."
8302 #: ../fish/guestfish-actions.pod:931
8303 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:931
8304 msgid "See also L</ping-daemon>."
8308 #: ../fish/guestfish-actions.pod:933
8309 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:933
8314 #: ../fish/guestfish-actions.pod:935
8315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:935
8318 " egrep regex path\n"
8323 #: ../fish/guestfish-actions.pod:937
8324 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:937
8325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1431
8326 #: ../src/guestfs-actions.pod:1431
8328 "This calls the external C<egrep> program and returns the matching lines."
8332 #: ../fish/guestfish-actions.pod:943
8333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:943
8338 #: ../fish/guestfish-actions.pod:945
8339 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:945
8342 " egrepi regex path\n"
8347 #: ../fish/guestfish-actions.pod:947
8348 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:947
8349 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1450
8350 #: ../src/guestfs-actions.pod:1450
8352 "This calls the external C<egrep -i> program and returns the matching lines."
8356 #: ../fish/guestfish-actions.pod:953
8357 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:953
8362 #: ../fish/guestfish-actions.pod:955
8363 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:955
8366 " equal file1 file2\n"
8369 " equal файл1 файл2\n"
8373 #: ../fish/guestfish-actions.pod:957
8374 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:957
8375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1469
8376 #: ../src/guestfs-actions.pod:1469
8378 "This compares the two files C<file1> and C<file2> and returns true if their "
8379 "content is exactly equal, or false otherwise."
8383 #: ../fish/guestfish-actions.pod:960
8384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:960
8385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1472
8386 #: ../src/guestfs-actions.pod:1472
8387 msgid "The external L<cmp(1)> program is used for the comparison."
8391 #: ../fish/guestfish-actions.pod:962
8392 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:962
8397 #: ../fish/guestfish-actions.pod:964
8398 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:964
8408 #: ../fish/guestfish-actions.pod:966
8409 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:966
8410 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1484
8411 #: ../src/guestfs-actions.pod:1484
8413 "This returns C<true> if and only if there is a file, directory (or anything) "
8414 "with the given C<path> name."
8418 #: ../fish/guestfish-actions.pod:969
8419 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:969
8420 msgid "See also L</is-file>, L</is-dir>, L</stat>."
8421 msgstr "Див. також L</is-file>, L</is-dir>, L</stat>."
8424 #: ../fish/guestfish-actions.pod:971
8425 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:971
8430 #: ../fish/guestfish-actions.pod:973
8431 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:973
8434 " fallocate path len\n"
8437 " fallocate шлях довжина\n"
8441 #: ../fish/guestfish-actions.pod:975 ../fish/guestfish-actions.pod:994
8442 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:975
8443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:994
8444 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1500
8445 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1526
8446 #: ../src/guestfs-actions.pod:1500 ../src/guestfs-actions.pod:1526
8448 "This command preallocates a file (containing zero bytes) named C<path> of "
8449 "size C<len> bytes. If the file exists already, it is overwritten."
8453 #: ../fish/guestfish-actions.pod:979
8454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:979
8455 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1504
8456 #: ../src/guestfs-actions.pod:1504
8458 "Do not confuse this with the guestfish-specific C<alloc> command which "
8459 "allocates a file in the host and attaches it as a device."
8463 #: ../fish/guestfish-actions.pod:983
8464 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:983
8465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1510
8466 #: ../src/guestfs-actions.pod:1510
8468 "This function is deprecated. In new code, use the C<fallocate64> call "
8473 #: ../fish/guestfish-actions.pod:990
8474 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:990
8476 msgstr "fallocate64"
8479 #: ../fish/guestfish-actions.pod:992
8480 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:992
8483 " fallocate64 path len\n"
8486 " fallocate64 шлях довжина\n"
8490 #: ../fish/guestfish-actions.pod:998
8491 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:998
8493 "Note that this call allocates disk blocks for the file. To create a sparse "
8494 "file use L</truncate-size> instead."
8498 #: ../fish/guestfish-actions.pod:1001
8499 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1001
8501 "The deprecated call L</fallocate> does the same, but owing to an oversight "
8502 "it only allowed 30 bit lengths to be specified, effectively limiting the "
8503 "maximum size of files created through that call to 1GB."
8507 #: ../fish/guestfish-actions.pod:1006
8508 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1006
8509 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1538
8510 #: ../src/guestfs-actions.pod:1538
8512 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
8513 "commands which create a file in the host and attach it as a device."
8517 #: ../fish/guestfish-actions.pod:1010
8518 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1010
8523 #: ../fish/guestfish-actions.pod:1012
8524 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1012
8527 " fgrep pattern path\n"
8530 " fgrep шаблон шлях\n"
8534 #: ../fish/guestfish-actions.pod:1014
8535 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1014
8536 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1553
8537 #: ../src/guestfs-actions.pod:1553
8539 "This calls the external C<fgrep> program and returns the matching lines."
8543 #: ../fish/guestfish-actions.pod:1020
8544 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1020
8549 #: ../fish/guestfish-actions.pod:1022
8550 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1022
8553 " fgrepi pattern path\n"
8556 " fgrepi шаблон шлях\n"
8560 #: ../fish/guestfish-actions.pod:1024
8561 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1024
8562 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1572
8563 #: ../src/guestfs-actions.pod:1572
8565 "This calls the external C<fgrep -i> program and returns the matching lines."
8569 #: ../fish/guestfish-actions.pod:1030
8570 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1030
8575 #: ../fish/guestfish-actions.pod:1032
8576 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1032
8586 #: ../fish/guestfish-actions.pod:1034
8587 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1034
8588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1590
8589 #: ../src/guestfs-actions.pod:1590
8591 "This call uses the standard L<file(1)> command to determine the type or "
8592 "contents of the file."
8596 #: ../fish/guestfish-actions.pod:1037
8597 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1037
8598 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1593
8599 #: ../src/guestfs-actions.pod:1593
8601 "This call will also transparently look inside various types of compressed "
8606 #: ../fish/guestfish-actions.pod:1040
8607 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1040
8608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1596
8609 #: ../src/guestfs-actions.pod:1596
8611 "The exact command which runs is C<file -zb path>. Note in particular that "
8612 "the filename is not prepended to the output (the I<-b> option)."
8616 #: ../fish/guestfish-actions.pod:1044
8617 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1044
8618 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1600
8619 #: ../src/guestfs-actions.pod:1600
8621 "The output depends on the output of the underlying L<file(1)> command and it "
8622 "can change in future in ways beyond our control. In other words, the output "
8623 "is not guaranteed by the ABI."
8627 #: ../fish/guestfish-actions.pod:1048
8628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1048
8630 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
8631 "(etc), L</is-zero>."
8635 #: ../fish/guestfish-actions.pod:1051
8636 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1051
8637 msgid "file-architecture"
8638 msgstr "file-architecture"
8641 #: ../fish/guestfish-actions.pod:1053
8642 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1053
8645 " file-architecture filename\n"
8648 " file-architecture назва_файла\n"
8652 #: ../fish/guestfish-actions.pod:1055
8653 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1055
8654 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1618
8655 #: ../src/guestfs-actions.pod:1618
8657 "This detects the architecture of the binary C<filename>, and returns it if "
8662 #: ../fish/guestfish-actions.pod:1058
8663 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1058
8664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1621
8665 #: ../src/guestfs-actions.pod:1621
8666 msgid "Currently defined architectures are:"
8670 #: ../fish/guestfish-actions.pod:1062
8671 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1062
8672 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1625
8673 #: ../src/guestfs-actions.pod:1625
8678 #: ../fish/guestfish-actions.pod:1064
8679 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1064
8680 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1627
8681 #: ../src/guestfs-actions.pod:1627
8683 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
8684 "irrespective of the precise processor requirements of the binary."
8688 #: ../fish/guestfish-actions.pod:1067
8689 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1067
8690 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1630
8691 #: ../src/guestfs-actions.pod:1630
8696 #: ../fish/guestfish-actions.pod:1069
8697 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1069
8698 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1632
8699 #: ../src/guestfs-actions.pod:1632
8700 msgid "64 bit x86-64."
8704 #: ../fish/guestfish-actions.pod:1071
8705 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1071
8706 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1634
8707 #: ../src/guestfs-actions.pod:1634
8712 #: ../fish/guestfish-actions.pod:1073
8713 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1073
8714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1636
8715 #: ../src/guestfs-actions.pod:1636
8716 msgid "32 bit SPARC."
8720 #: ../fish/guestfish-actions.pod:1075
8721 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1075
8722 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1638
8723 #: ../src/guestfs-actions.pod:1638
8728 #: ../fish/guestfish-actions.pod:1077
8729 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1077
8730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1640
8731 #: ../src/guestfs-actions.pod:1640
8732 msgid "64 bit SPARC V9 and above."
8736 #: ../fish/guestfish-actions.pod:1079
8737 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1079
8738 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1642
8739 #: ../src/guestfs-actions.pod:1642
8744 #: ../fish/guestfish-actions.pod:1081
8745 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1081
8746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1644
8747 #: ../src/guestfs-actions.pod:1644
8748 msgid "Intel Itanium."
8749 msgstr "Intel Itanium."
8752 #: ../fish/guestfish-actions.pod:1083
8753 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1083
8754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1646
8755 #: ../src/guestfs-actions.pod:1646
8760 #: ../fish/guestfish-actions.pod:1085
8761 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1085
8762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1648
8763 #: ../src/guestfs-actions.pod:1648
8764 msgid "32 bit Power PC."
8768 #: ../fish/guestfish-actions.pod:1087
8769 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1087
8770 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1650
8771 #: ../src/guestfs-actions.pod:1650
8776 #: ../fish/guestfish-actions.pod:1089
8777 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1089
8778 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1652
8779 #: ../src/guestfs-actions.pod:1652
8780 msgid "64 bit Power PC."
8784 #: ../fish/guestfish-actions.pod:1093
8785 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1093
8786 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1656
8787 #: ../src/guestfs-actions.pod:1656
8788 msgid "Libguestfs may return other architecture strings in future."
8792 #: ../fish/guestfish-actions.pod:1095
8793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1095
8794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1658
8795 #: ../src/guestfs-actions.pod:1658
8796 msgid "The function works on at least the following types of files:"
8800 #: ../fish/guestfish-actions.pod:1101
8801 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1101
8802 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1664
8803 #: ../src/guestfs-actions.pod:1664
8804 msgid "many types of Un*x and Linux binary"
8808 #: ../fish/guestfish-actions.pod:1105
8809 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1105
8810 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1668
8811 #: ../src/guestfs-actions.pod:1668
8812 msgid "many types of Un*x and Linux shared library"
8816 #: ../fish/guestfish-actions.pod:1109
8817 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1109
8818 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1672
8819 #: ../src/guestfs-actions.pod:1672
8820 msgid "Windows Win32 and Win64 binaries"
8824 #: ../fish/guestfish-actions.pod:1113
8825 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1113
8826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1676
8827 #: ../src/guestfs-actions.pod:1676
8828 msgid "Windows Win32 and Win64 DLLs"
8832 #: ../fish/guestfish-actions.pod:1115
8833 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1115
8834 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1678
8835 #: ../src/guestfs-actions.pod:1678
8836 msgid "Win32 binaries and DLLs return C<i386>."
8840 #: ../fish/guestfish-actions.pod:1117
8841 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1117
8842 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1680
8843 #: ../src/guestfs-actions.pod:1680
8844 msgid "Win64 binaries and DLLs return C<x86_64>."
8848 #: ../fish/guestfish-actions.pod:1121
8849 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1121
8850 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1684
8851 #: ../src/guestfs-actions.pod:1684
8852 msgid "Linux kernel modules"
8856 #: ../fish/guestfish-actions.pod:1125
8857 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1125
8858 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1688
8859 #: ../src/guestfs-actions.pod:1688
8860 msgid "Linux new-style initrd images"
8864 #: ../fish/guestfish-actions.pod:1129
8865 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1129
8866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1692
8867 #: ../src/guestfs-actions.pod:1692
8868 msgid "some non-x86 Linux vmlinuz kernels"
8872 #: ../fish/guestfish-actions.pod:1133
8873 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1133
8874 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1696
8875 #: ../src/guestfs-actions.pod:1696
8876 msgid "What it can't do currently:"
8880 #: ../fish/guestfish-actions.pod:1139
8881 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1139
8882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1702
8883 #: ../src/guestfs-actions.pod:1702
8884 msgid "static libraries (libfoo.a)"
8888 #: ../fish/guestfish-actions.pod:1143
8889 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1143
8890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1706
8891 #: ../src/guestfs-actions.pod:1706
8892 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
8896 #: ../fish/guestfish-actions.pod:1147
8897 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1147
8898 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1710
8899 #: ../src/guestfs-actions.pod:1710
8900 msgid "x86 Linux vmlinuz kernels"
8904 #: ../fish/guestfish-actions.pod:1149
8905 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1149
8906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1712
8907 #: ../src/guestfs-actions.pod:1712
8909 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
8910 "compressed code, and are horribly hard to unpack. If you want to find the "
8911 "architecture of a kernel, use the architecture of the associated initrd or "
8912 "kernel module(s) instead."
8916 #: ../fish/guestfish-actions.pod:1156
8917 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1156
8922 #: ../fish/guestfish-actions.pod:1158
8923 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1158
8933 #: ../fish/guestfish-actions.pod:1160
8934 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1160
8935 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1730
8936 #: ../src/guestfs-actions.pod:1730
8937 msgid "This command returns the size of C<file> in bytes."
8941 #: ../fish/guestfish-actions.pod:1162
8942 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1162
8944 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
8945 "file> etc. To get the size of block devices, use L</blockdev-getsize64>."
8949 #: ../fish/guestfish-actions.pod:1166
8950 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1166
8955 #: ../fish/guestfish-actions.pod:1168
8956 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1168
8959 " fill c len path\n"
8964 #: ../fish/guestfish-actions.pod:1170
8965 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1170
8966 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1748
8967 #: ../src/guestfs-actions.pod:1748
8969 "This command creates a new file called C<path>. The initial content of the "
8970 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
8975 #: ../fish/guestfish-actions.pod:1174
8976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1174
8978 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
8979 "L</truncate-size>. To create a file with a pattern of repeating bytes use "
8984 #: ../fish/guestfish-actions.pod:1179
8985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1179
8986 msgid "fill-pattern"
8987 msgstr "fill-pattern"
8990 #: ../fish/guestfish-actions.pod:1181
8991 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1181
8994 " fill-pattern pattern len path\n"
8999 #: ../fish/guestfish-actions.pod:1183
9000 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1183
9002 "This function is like L</fill> except that it creates a new file of length "
9003 "C<len> containing the repeating pattern of bytes in C<pattern>. The pattern "
9004 "is truncated if necessary to ensure the length of the file is exactly C<len> "
9009 #: ../fish/guestfish-actions.pod:1188
9010 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1188
9015 #: ../fish/guestfish-actions.pod:1190
9016 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1190
9026 #: ../fish/guestfish-actions.pod:1192
9027 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1192
9028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1794
9029 #: ../src/guestfs-actions.pod:1794
9031 "This command lists out all files and directories, recursively, starting at "
9032 "C<directory>. It is essentially equivalent to running the shell command "
9033 "C<find directory -print> but some post-processing happens on the output, "
9038 #: ../fish/guestfish-actions.pod:1197
9039 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1197
9040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1799
9041 #: ../src/guestfs-actions.pod:1799
9043 "This returns a list of strings I<without any prefix>. Thus if the directory "
9048 #: ../fish/guestfish-actions.pod:1200
9049 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1200
9050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1802
9051 #: ../src/guestfs-actions.pod:1802
9061 #: ../fish/guestfish-actions.pod:1204
9062 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1204
9063 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
9067 #: ../fish/guestfish-actions.pod:1207
9068 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1207
9069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1809
9070 #: ../src/guestfs-actions.pod:1809
9081 #: ../fish/guestfish-actions.pod:1212
9082 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1212
9083 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1814
9084 #: ../src/guestfs-actions.pod:1814
9085 msgid "If C<directory> is not a directory, then this command returns an error."
9089 #: ../fish/guestfish-actions.pod:1215
9090 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1215
9091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1817
9092 #: ../src/guestfs-actions.pod:1817
9093 msgid "The returned list is sorted."
9097 #: ../fish/guestfish-actions.pod:1217
9098 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1217
9099 msgid "See also L</find0>."
9100 msgstr "Див. також L</find0>."
9103 #: ../fish/guestfish-actions.pod:1222
9104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1222
9109 #: ../fish/guestfish-actions.pod:1224
9110 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1224
9113 " find0 directory (files|-)\n"
9116 " find0 каталог (файли|-)\n"
9120 #: ../fish/guestfish-actions.pod:1226
9121 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1226
9122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1837
9123 #: ../src/guestfs-actions.pod:1837
9125 "This command lists out all files and directories, recursively, starting at "
9126 "C<directory>, placing the resulting list in the external file called "
9131 #: ../fish/guestfish-actions.pod:1230
9132 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1230
9134 "This command works the same way as L</find> with the following exceptions:"
9138 #: ../fish/guestfish-actions.pod:1237
9139 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1237
9140 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1848
9141 #: ../src/guestfs-actions.pod:1848
9142 msgid "The resulting list is written to an external file."
9146 #: ../fish/guestfish-actions.pod:1241
9147 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1241
9148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1852
9149 #: ../src/guestfs-actions.pod:1852
9151 "Items (filenames) in the result are separated by C<\\0> characters. See "
9152 "L<find(1)> option I<-print0>."
9156 #: ../fish/guestfish-actions.pod:1246
9157 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1246
9158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1857
9159 #: ../src/guestfs-actions.pod:1857
9160 msgid "This command is not limited in the number of names that it can return."
9164 #: ../fish/guestfish-actions.pod:1251
9165 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1251
9166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1862
9167 #: ../src/guestfs-actions.pod:1862
9168 msgid "The result list is not sorted."
9172 #: ../fish/guestfish-actions.pod:1257
9173 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1257
9174 msgid "findfs-label"
9175 msgstr "findfs-label"
9178 #: ../fish/guestfish-actions.pod:1259
9179 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1259
9182 " findfs-label label\n"
9185 " findfs-label мітка\n"
9189 #: ../fish/guestfish-actions.pod:1261
9190 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1261
9191 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1876
9192 #: ../src/guestfs-actions.pod:1876
9194 "This command searches the filesystems and returns the one which has the "
9195 "given label. An error is returned if no such filesystem can be found."
9199 #: ../fish/guestfish-actions.pod:1265
9200 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1265
9201 msgid "To find the label of a filesystem, use L</vfs-label>."
9202 msgstr "Для визначення мітки файлової системи скористайтеся L</vfs-label>."
9205 #: ../fish/guestfish-actions.pod:1267
9206 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1267
9208 msgstr "findfs-uuid"
9211 #: ../fish/guestfish-actions.pod:1269
9212 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1269
9215 " findfs-uuid uuid\n"
9218 " findfs-uuid uuid\n"
9222 #: ../fish/guestfish-actions.pod:1271
9223 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1271
9224 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1893
9225 #: ../src/guestfs-actions.pod:1893
9227 "This command searches the filesystems and returns the one which has the "
9228 "given UUID. An error is returned if no such filesystem can be found."
9232 #: ../fish/guestfish-actions.pod:1275
9233 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1275
9234 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
9235 msgstr "Для визначення UUID файлової системи скористайтеся L</vfs-uuid>."
9238 #: ../fish/guestfish-actions.pod:1277
9239 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1277
9244 #: ../fish/guestfish-actions.pod:1279
9245 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1279
9248 " fsck fstype device\n"
9251 " fsck тип_файлової_системи пристрій\n"
9255 #: ../fish/guestfish-actions.pod:1281
9256 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1281
9257 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1911
9258 #: ../src/guestfs-actions.pod:1911
9260 "This runs the filesystem checker (fsck) on C<device> which should have "
9261 "filesystem type C<fstype>."
9265 #: ../fish/guestfish-actions.pod:1284
9266 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1284
9267 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1914
9268 #: ../src/guestfs-actions.pod:1914
9270 "The returned integer is the status. See L<fsck(8)> for the list of status "
9271 "codes from C<fsck>."
9275 #: ../fish/guestfish-actions.pod:1293
9276 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1293
9277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1923
9278 #: ../src/guestfs-actions.pod:1923
9279 msgid "Multiple status codes can be summed together."
9283 #: ../fish/guestfish-actions.pod:1297
9284 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1297
9285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1927
9286 #: ../src/guestfs-actions.pod:1927
9288 "A non-zero return code can mean \"success\", for example if errors have been "
9289 "corrected on the filesystem."
9293 #: ../fish/guestfish-actions.pod:1302
9294 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1302
9295 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1932
9296 #: ../src/guestfs-actions.pod:1932
9297 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
9301 #: ../fish/guestfish-actions.pod:1307
9302 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1307
9303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1937
9304 #: ../src/guestfs-actions.pod:1937
9306 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
9310 #: ../fish/guestfish-actions.pod:1309
9311 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1309
9316 #: ../fish/guestfish-actions.pod:1311
9317 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1311
9327 #: ../fish/guestfish-actions.pod:1313
9328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1313
9329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1948
9330 #: ../src/guestfs-actions.pod:1948
9332 "Return the additional kernel options which are added to the guest kernel "
9337 #: ../fish/guestfish-actions.pod:1316
9338 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1316
9339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1951
9340 #: ../src/guestfs-actions.pod:1951
9341 msgid "If C<NULL> then no options are added."
9345 #: ../fish/guestfish-actions.pod:1318
9346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1318
9347 msgid "get-attach-method"
9348 msgstr "get-attach-method"
9351 #: ../fish/guestfish-actions.pod:1320
9352 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1320
9355 " get-attach-method\n"
9358 " get-attach-method\n"
9362 #: ../fish/guestfish-actions.pod:1322
9363 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1322
9364 msgid "Return the current attach method. See L</set-attach-method>."
9368 #: ../fish/guestfish-actions.pod:1324
9369 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1324
9370 msgid "get-autosync"
9371 msgstr "get-autosync"
9374 #: ../fish/guestfish-actions.pod:1326
9375 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1326
9385 #: ../fish/guestfish-actions.pod:1328
9386 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1328
9387 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1976
9388 #: ../src/guestfs-actions.pod:1976
9389 msgid "Get the autosync flag."
9393 #: ../fish/guestfish-actions.pod:1330
9394 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1330
9399 #: ../fish/guestfish-actions.pod:1332
9400 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1332
9410 #: ../fish/guestfish-actions.pod:1334
9411 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1334
9412 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1987
9413 #: ../src/guestfs-actions.pod:1987
9414 msgid "Return the direct appliance mode flag."
9418 #: ../fish/guestfish-actions.pod:1336
9419 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1336
9421 msgstr "get-e2label"
9424 #: ../fish/guestfish-actions.pod:1338
9425 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1338
9428 " get-e2label device\n"
9431 " get-e2label пристрій\n"
9435 #: ../fish/guestfish-actions.pod:1340
9436 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1340
9437 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1999
9438 #: ../src/guestfs-actions.pod:1999
9440 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
9444 #: ../fish/guestfish-actions.pod:1343
9445 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1343
9446 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2005
9447 #: ../src/guestfs-actions.pod:2005
9449 "This function is deprecated. In new code, use the C<vfs_label> call instead."
9453 #: ../fish/guestfish-actions.pod:1350
9454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1350
9459 #: ../fish/guestfish-actions.pod:1352
9460 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1352
9463 " get-e2uuid device\n"
9466 " get-e2uuid пристрій\n"
9470 #: ../fish/guestfish-actions.pod:1354
9471 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1354
9472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2020
9473 #: ../src/guestfs-actions.pod:2020
9475 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
9479 #: ../fish/guestfish-actions.pod:1357
9480 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1357
9481 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2026
9482 #: ../src/guestfs-actions.pod:2026
9484 "This function is deprecated. In new code, use the C<vfs_uuid> call instead."
9488 #: ../fish/guestfish-actions.pod:1364
9489 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1364
9491 msgstr "get-memsize"
9494 #: ../fish/guestfish-actions.pod:1366
9495 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1366
9505 #: ../fish/guestfish-actions.pod:1368
9506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1368
9507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2040
9508 #: ../src/guestfs-actions.pod:2040
9510 "This gets the memory size in megabytes allocated to the qemu subprocess."
9514 #: ../fish/guestfish-actions.pod:1371
9515 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1371
9517 "If L</set-memsize> was not called on this handle, and if "
9518 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
9519 "value for memsize."
9523 #: ../fish/guestfish-actions.pod:1375 ../fish/guestfish-actions.pod:1432
9524 #: ../fish/guestfish-actions.pod:4163 ../fish/guestfish-actions.pod:4265
9525 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1375
9526 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1432
9527 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4163
9528 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4265
9529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2047
9530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2139
9531 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6293
9532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6419
9533 #: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2139
9534 #: ../src/guestfs-actions.pod:6293 ../src/guestfs-actions.pod:6419
9536 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
9540 #: ../fish/guestfish-actions.pod:1378
9541 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1378
9543 msgstr "get-network"
9546 #: ../fish/guestfish-actions.pod:1380
9547 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1380
9557 #: ../fish/guestfish-actions.pod:1382
9558 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1382
9559 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2059
9560 #: ../src/guestfs-actions.pod:2059
9561 msgid "This returns the enable network flag."
9565 #: ../fish/guestfish-actions.pod:1384
9566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1384
9571 #: ../fish/guestfish-actions.pod:1386
9572 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1386
9582 #: ../fish/guestfish-actions.pod:1388
9583 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1388
9584 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2070
9585 #: ../src/guestfs-actions.pod:2070
9586 msgid "Return the current search path."
9590 #: ../fish/guestfish-actions.pod:1390
9591 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1390
9592 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2072
9593 #: ../src/guestfs-actions.pod:2072
9595 "This is always non-NULL. If it wasn't set already, then this will return "
9600 #: ../fish/guestfish-actions.pod:1393
9601 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1393
9606 #: ../fish/guestfish-actions.pod:1395
9607 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1395
9615 #: ../fish/guestfish-actions.pod:1397
9616 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1397
9617 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2085
9618 #: ../src/guestfs-actions.pod:2085
9619 msgid "This returns the process group flag."
9623 #: ../fish/guestfish-actions.pod:1399
9624 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1399
9629 #: ../fish/guestfish-actions.pod:1401
9630 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1401
9635 #: ../fish/guestfish-actions.pod:1403
9636 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1403
9646 #: ../fish/guestfish-actions.pod:1405
9647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1405
9648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2096
9649 #: ../src/guestfs-actions.pod:2096
9651 "Return the process ID of the qemu subprocess. If there is no qemu "
9652 "subprocess, then this will return an error."
9656 #: ../fish/guestfish-actions.pod:1408
9657 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1408
9658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2099
9659 #: ../src/guestfs-actions.pod:2099
9660 msgid "This is an internal call used for debugging and testing."
9664 #: ../fish/guestfish-actions.pod:1410
9665 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1410
9670 #: ../fish/guestfish-actions.pod:1412
9671 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1412
9681 #: ../fish/guestfish-actions.pod:1414
9682 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1414
9683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2110
9684 #: ../src/guestfs-actions.pod:2110
9685 msgid "Return the current qemu binary."
9689 #: ../fish/guestfish-actions.pod:1416
9690 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1416
9691 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2112
9692 #: ../src/guestfs-actions.pod:2112
9694 "This is always non-NULL. If it wasn't set already, then this will return "
9695 "the default qemu binary name."
9699 #: ../fish/guestfish-actions.pod:1419
9700 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1419
9701 msgid "get-recovery-proc"
9702 msgstr "get-recovery-proc"
9705 #: ../fish/guestfish-actions.pod:1421
9706 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1421
9709 " get-recovery-proc\n"
9712 " get-recovery-proc\n"
9716 #: ../fish/guestfish-actions.pod:1423
9717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1423
9718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2125
9719 #: ../src/guestfs-actions.pod:2125
9720 msgid "Return the recovery process enabled flag."
9724 #: ../fish/guestfish-actions.pod:1425
9725 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1425
9727 msgstr "get-selinux"
9730 #: ../fish/guestfish-actions.pod:1427
9731 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1427
9741 #: ../fish/guestfish-actions.pod:1429
9742 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1429
9744 "This returns the current setting of the selinux flag which is passed to the "
9745 "appliance at boot time. See L</set-selinux>."
9749 #: ../fish/guestfish-actions.pod:1435
9750 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1435
9755 #: ../fish/guestfish-actions.pod:1437
9756 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1437
9766 #: ../fish/guestfish-actions.pod:1439
9767 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1439
9768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2151
9769 #: ../src/guestfs-actions.pod:2151
9771 "This returns the current state as an opaque integer. This is only useful "
9772 "for printing debug and internal error messages."
9776 #: ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:2362
9777 #: ../fish/guestfish-actions.pod:2380 ../fish/guestfish-actions.pod:2418
9778 #: ../fish/guestfish-actions.pod:2434
9779 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1442
9780 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2362
9781 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2380
9782 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2418
9783 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2434
9784 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2154
9785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3434
9786 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3463
9787 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3524
9788 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3551
9789 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:3434
9790 #: ../src/guestfs-actions.pod:3463 ../src/guestfs-actions.pod:3524
9791 #: ../src/guestfs-actions.pod:3551
9792 msgid "For more information on states, see L<guestfs(3)>."
9796 #: ../fish/guestfish-actions.pod:1444
9797 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1444
9802 #: ../fish/guestfish-actions.pod:1446
9803 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1446
9813 #: ../fish/guestfish-actions.pod:1448
9814 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1448
9815 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2165
9816 #: ../src/guestfs-actions.pod:2165
9817 msgid "Return the command trace flag."
9821 #: ../fish/guestfish-actions.pod:1450
9822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1450
9827 #: ../fish/guestfish-actions.pod:1452
9828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1452
9838 #: ../fish/guestfish-actions.pod:1454
9839 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1454
9841 "Return the current umask. By default the umask is C<022> unless it has been "
9842 "set by calling L</umask>."
9846 #: ../fish/guestfish-actions.pod:1457
9847 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1457
9849 msgstr "get-verbose"
9852 #: ../fish/guestfish-actions.pod:1459
9853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1459
9863 #: ../fish/guestfish-actions.pod:1461
9864 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1461
9865 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2188
9866 #: ../src/guestfs-actions.pod:2188
9867 msgid "This returns the verbose messages flag."
9871 #: ../fish/guestfish-actions.pod:1463
9872 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1463
9877 #: ../fish/guestfish-actions.pod:1465
9878 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1465
9888 #: ../fish/guestfish-actions.pod:1467
9889 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1467
9890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2199
9891 #: ../src/guestfs-actions.pod:2199
9892 msgid "This gets the SELinux security context of the daemon."
9896 #: ../fish/guestfish-actions.pod:1469
9897 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1469
9898 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
9902 #: ../fish/guestfish-actions.pod:1472
9903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1472
9908 #: ../fish/guestfish-actions.pod:1474
9909 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1474
9912 " getxattr path name\n"
9915 " getxattr шлях назва\n"
9919 #: ../fish/guestfish-actions.pod:1476
9920 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1476
9922 "Get a single extended attribute from file C<path> named C<name>. This call "
9923 "follows symlinks. If you want to lookup an extended attribute for the "
9924 "symlink itself, use L</lgetxattr>."
9928 #: ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:2507
9929 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1480
9930 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2507
9932 "Normally it is better to get all extended attributes from a file in one go "
9933 "by calling L</getxattrs>. However some Linux filesystem implementations are "
9934 "buggy and do not provide a way to list out attributes. For these "
9935 "filesystems (notably ntfs-3g) you have to know the names of the extended "
9936 "attributes you want in advance and call this function."
9940 #: ../fish/guestfish-actions.pod:1487 ../fish/guestfish-actions.pod:2514
9941 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1487
9942 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2514
9943 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2228
9944 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3684
9945 #: ../src/guestfs-actions.pod:2228 ../src/guestfs-actions.pod:3684
9947 "Extended attribute values are blobs of binary data. If there is no extended "
9948 "attribute named C<name>, this returns an error."
9952 #: ../fish/guestfish-actions.pod:1490
9953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1490
9954 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9955 msgstr "Див. також L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9958 #: ../fish/guestfish-actions.pod:1492
9959 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1492
9964 #: ../fish/guestfish-actions.pod:1494
9965 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1494
9975 #: ../fish/guestfish-actions.pod:1496
9976 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1496
9977 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2245
9978 #: ../src/guestfs-actions.pod:2245
9980 "This call lists the extended attributes of the file or directory C<path>."
9984 #: ../fish/guestfish-actions.pod:1499
9985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1499
9986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2248
9987 #: ../src/guestfs-actions.pod:2248
9989 "At the system call level, this is a combination of the L<listxattr(2)> and "
9990 "L<getxattr(2)> calls."
9994 #: ../fish/guestfish-actions.pod:1502
9995 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1502
9996 msgid "See also: L</lgetxattrs>, L<attr(5)>."
9997 msgstr "Див. також L</lgetxattrs>, L<attr(5)>."
10000 #: ../fish/guestfish-actions.pod:1504
10001 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1504
10002 msgid "glob-expand"
10003 msgstr "glob-expand"
10006 #: ../fish/guestfish-actions.pod:1506
10007 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1506
10010 " glob-expand pattern\n"
10013 " glob-expand шаблон\n"
10017 #: ../fish/guestfish-actions.pod:1508
10018 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1508
10019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2265
10020 #: ../src/guestfs-actions.pod:2265
10022 "This command searches for all the pathnames matching C<pattern> according to "
10023 "the wildcard expansion rules used by the shell."
10027 #: ../fish/guestfish-actions.pod:1512
10028 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1512
10029 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2269
10030 #: ../src/guestfs-actions.pod:2269
10032 "If no paths match, then this returns an empty list (note: not an error)."
10036 #: ../fish/guestfish-actions.pod:1515
10037 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1515
10038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2272
10039 #: ../src/guestfs-actions.pod:2272
10041 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
10042 "GLOB_BRACE>. See that manual page for more details."
10046 #: ../fish/guestfish-actions.pod:1519
10047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1519
10052 #: ../fish/guestfish-actions.pod:1521
10053 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1521
10056 " grep regex path\n"
10059 " grepi формальний_вираз шлях\n"
10063 #: ../fish/guestfish-actions.pod:1523
10064 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1523
10065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2289
10066 #: ../src/guestfs-actions.pod:2289
10067 msgid "This calls the external C<grep> program and returns the matching lines."
10071 #: ../fish/guestfish-actions.pod:1529
10072 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1529
10077 #: ../fish/guestfish-actions.pod:1531
10078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1531
10081 " grepi regex path\n"
10084 " grepi формальний_вираз шлях\n"
10088 #: ../fish/guestfish-actions.pod:1533
10089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1533
10090 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2308
10091 #: ../src/guestfs-actions.pod:2308
10093 "This calls the external C<grep -i> program and returns the matching lines."
10097 #: ../fish/guestfish-actions.pod:1539
10098 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1539
10099 msgid "grub-install"
10100 msgstr "grub-install"
10103 #: ../fish/guestfish-actions.pod:1541
10104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1541
10107 " grub-install root device\n"
10110 " grub-install кореневий пристрій\n"
10114 #: ../fish/guestfish-actions.pod:1543
10115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1543
10116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2327
10117 #: ../src/guestfs-actions.pod:2327
10119 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
10120 "the root directory being C<root>."
10124 #: ../fish/guestfish-actions.pod:1546
10125 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1546
10126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2330
10127 #: ../src/guestfs-actions.pod:2330
10129 "Note: If grub-install reports the error \"No suitable drive was found in the "
10130 "generated device map.\" it may be that you need to create a C</boot/grub/"
10131 "device.map> file first that contains the mapping between grub device names "
10132 "and Linux device names. It is usually sufficient to create a file "
10137 #: ../fish/guestfish-actions.pod:1553
10138 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1553
10139 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2337
10140 #: ../src/guestfs-actions.pod:2337
10143 " (hd0) /dev/vda\n"
10148 #: ../fish/guestfish-actions.pod:1555
10149 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1555
10150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2339
10151 #: ../src/guestfs-actions.pod:2339
10152 msgid "replacing C</dev/vda> with the name of the installation device."
10156 #: ../fish/guestfish-actions.pod:1557
10157 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1557
10162 #: ../fish/guestfish-actions.pod:1559
10163 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1559
10173 #: ../fish/guestfish-actions.pod:1561
10174 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1561
10175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2351
10176 #: ../src/guestfs-actions.pod:2351
10178 "This command returns up to the first 10 lines of a file as a list of strings."
10182 #: ../fish/guestfish-actions.pod:1567
10183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1567
10188 #: ../fish/guestfish-actions.pod:1569
10189 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1569
10192 " head-n nrlines path\n"
10197 #: ../fish/guestfish-actions.pod:1571
10198 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1571
10199 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2370
10200 #: ../src/guestfs-actions.pod:2370
10202 "If the parameter C<nrlines> is a positive number, this returns the first "
10203 "C<nrlines> lines of the file C<path>."
10207 #: ../fish/guestfish-actions.pod:1574
10208 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1574
10209 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2373
10210 #: ../src/guestfs-actions.pod:2373
10212 "If the parameter C<nrlines> is a negative number, this returns lines from "
10213 "the file C<path>, excluding the last C<nrlines> lines."
10217 #: ../fish/guestfish-actions.pod:1577 ../fish/guestfish-actions.pod:4643
10218 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1577
10219 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4643
10220 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2376
10221 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6991
10222 #: ../src/guestfs-actions.pod:2376 ../src/guestfs-actions.pod:6991
10223 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
10227 #: ../fish/guestfish-actions.pod:1582
10228 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1582
10233 #: ../fish/guestfish-actions.pod:1584
10234 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1584
10244 #: ../fish/guestfish-actions.pod:1586
10245 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1586
10246 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2393
10247 #: ../src/guestfs-actions.pod:2393
10249 "This runs C<hexdump -C> on the given C<path>. The result is the human-"
10250 "readable, canonical hex dump of the file."
10254 #: ../fish/guestfish-actions.pod:1592
10255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1592
10257 msgstr "initrd-cat"
10260 #: ../fish/guestfish-actions.pod:1594
10261 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1594
10264 " initrd-cat initrdpath filename\n"
10267 " initrd-cat шлях_initrd назва_файла\n"
10271 #: ../fish/guestfish-actions.pod:1596
10272 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1596
10273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2412
10274 #: ../src/guestfs-actions.pod:2412
10276 "This command unpacks the file C<filename> from the initrd file called "
10277 "C<initrdpath>. The filename must be given I<without> the initial C</> "
10282 #: ../fish/guestfish-actions.pod:1600
10283 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1600
10284 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2416
10285 #: ../src/guestfs-actions.pod:2416
10287 "For example, in guestfish you could use the following command to examine the "
10288 "boot script (usually called C</init>) contained in a Linux initrd or "
10293 #: ../fish/guestfish-actions.pod:1604
10294 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1604
10295 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2420
10296 #: ../src/guestfs-actions.pod:2420
10299 " initrd-cat /boot/initrd-<version>.img init\n"
10304 #: ../fish/guestfish-actions.pod:1606
10305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1606
10306 msgid "See also L</initrd-list>."
10307 msgstr "Див. також L</initrd-list>."
10310 #: ../fish/guestfish-actions.pod:1611
10311 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1611
10312 msgid "initrd-list"
10313 msgstr "initrd-list"
10316 #: ../fish/guestfish-actions.pod:1613
10317 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1613
10320 " initrd-list path\n"
10323 " initrd-list шлях\n"
10327 #: ../fish/guestfish-actions.pod:1615
10328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1615
10329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2439
10330 #: ../src/guestfs-actions.pod:2439
10331 msgid "This command lists out files contained in an initrd."
10335 #: ../fish/guestfish-actions.pod:1617
10336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1617
10337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2441
10338 #: ../src/guestfs-actions.pod:2441
10340 "The files are listed without any initial C</> character. The files are "
10341 "listed in the order they appear (not necessarily alphabetical). Directory "
10342 "names are listed as separate items."
10346 #: ../fish/guestfish-actions.pod:1621
10347 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1621
10348 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2445
10349 #: ../src/guestfs-actions.pod:2445
10351 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
10352 "initrd. We I<only> support the newer initramfs format (compressed cpio "
10357 #: ../fish/guestfish-actions.pod:1625
10358 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1625
10359 msgid "inotify-add-watch"
10360 msgstr "inotify-add-watch"
10363 #: ../fish/guestfish-actions.pod:1627
10364 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1627
10367 " inotify-add-watch path mask\n"
10370 " inotify-add-watch шлях маска\n"
10374 #: ../fish/guestfish-actions.pod:1629
10375 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1629
10376 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2462
10377 #: ../src/guestfs-actions.pod:2462
10378 msgid "Watch C<path> for the events listed in C<mask>."
10382 #: ../fish/guestfish-actions.pod:1631
10383 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1631
10384 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2464
10385 #: ../src/guestfs-actions.pod:2464
10387 "Note that if C<path> is a directory then events within that directory are "
10388 "watched, but this does I<not> happen recursively (in subdirectories)."
10392 #: ../fish/guestfish-actions.pod:1635
10393 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1635
10394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2468
10395 #: ../src/guestfs-actions.pod:2468
10397 "Note for non-C or non-Linux callers: the inotify events are defined by the "
10398 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
10402 #: ../fish/guestfish-actions.pod:1639
10403 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1639
10404 msgid "inotify-close"
10405 msgstr "inotify-close"
10408 #: ../fish/guestfish-actions.pod:1641
10409 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1641
10419 #: ../fish/guestfish-actions.pod:1643
10420 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1643
10421 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2481
10422 #: ../src/guestfs-actions.pod:2481
10424 "This closes the inotify handle which was previously opened by inotify_init. "
10425 "It removes all watches, throws away any pending events, and deallocates all "
10430 #: ../fish/guestfish-actions.pod:1647
10431 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1647
10432 msgid "inotify-files"
10433 msgstr "inotify-files"
10436 #: ../fish/guestfish-actions.pod:1649
10437 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1649
10447 #: ../fish/guestfish-actions.pod:1651
10448 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1651
10450 "This function is a helpful wrapper around L</inotify-read> which just "
10451 "returns a list of pathnames of objects that were touched. The returned "
10452 "pathnames are sorted and deduplicated."
10456 #: ../fish/guestfish-actions.pod:1655
10457 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1655
10458 msgid "inotify-init"
10459 msgstr "inotify-init"
10462 #: ../fish/guestfish-actions.pod:1657
10463 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1657
10466 " inotify-init maxevents\n"
10471 #: ../fish/guestfish-actions.pod:1659
10472 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1659
10473 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2510
10474 #: ../src/guestfs-actions.pod:2510
10476 "This command creates a new inotify handle. The inotify subsystem can be "
10477 "used to notify events which happen to objects in the guest filesystem."
10481 #: ../fish/guestfish-actions.pod:1663
10482 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1663
10484 "C<maxevents> is the maximum number of events which will be queued up between "
10485 "calls to L</inotify-read> or L</inotify-files>. If this is passed as C<0>, "
10486 "then the kernel (or previously set) default is used. For Linux 2.6.29 the "
10487 "default was 16384 events. Beyond this limit, the kernel throws away events, "
10488 "but records the fact that it threw them away by setting a flag "
10489 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
10493 #: ../fish/guestfish-actions.pod:1673
10494 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1673
10496 "Before any events are generated, you have to add some watches to the "
10497 "internal watch list. See: L</inotify-add-watch>, L</inotify-rm-watch> and "
10498 "L</inotify-watch-all>."
10502 #: ../fish/guestfish-actions.pod:1679
10503 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1679
10505 "Queued up events should be read periodically by calling L</inotify-read> (or "
10506 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>). "
10507 "If you don't read the events out often enough then you risk the internal "
10508 "queue overflowing."
10512 #: ../fish/guestfish-actions.pod:1686
10513 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1686
10515 "The handle should be closed after use by calling L</inotify-close>. This "
10516 "also removes any watches automatically."
10520 #: ../fish/guestfish-actions.pod:1690
10521 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1690
10522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2541
10523 #: ../src/guestfs-actions.pod:2541
10525 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
10526 "by the Linux kernel, which is roughly what we expose via libguestfs. Note "
10527 "that there is one global inotify handle per libguestfs instance."
10531 #: ../fish/guestfish-actions.pod:1695
10532 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1695
10533 msgid "inotify-read"
10534 msgstr "inotify-read"
10537 #: ../fish/guestfish-actions.pod:1697
10538 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1697
10548 #: ../fish/guestfish-actions.pod:1699
10549 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1699
10550 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2555
10551 #: ../src/guestfs-actions.pod:2555
10553 "Return the complete queue of events that have happened since the previous "
10558 #: ../fish/guestfish-actions.pod:1702
10559 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1702
10560 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2558
10561 #: ../src/guestfs-actions.pod:2558
10562 msgid "If no events have happened, this returns an empty list."
10566 #: ../fish/guestfish-actions.pod:1704
10567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1704
10568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2560
10569 #: ../src/guestfs-actions.pod:2560
10571 "I<Note>: In order to make sure that all events have been read, you must call "
10572 "this function repeatedly until it returns an empty list. The reason is that "
10573 "the call will read events up to the maximum appliance-to-host message size "
10574 "and leave remaining events in the queue."
10578 #: ../fish/guestfish-actions.pod:1710
10579 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1710
10580 msgid "inotify-rm-watch"
10581 msgstr "inotify-rm-watch"
10584 #: ../fish/guestfish-actions.pod:1712
10585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1712
10588 " inotify-rm-watch wd\n"
10593 #: ../fish/guestfish-actions.pod:1714
10594 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1714
10595 msgid "Remove a previously defined inotify watch. See L</inotify-add-watch>."
10599 #: ../fish/guestfish-actions.pod:1717
10600 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1717
10601 msgid "inspect-get-arch"
10602 msgstr "inspect-get-arch"
10605 #: ../fish/guestfish-actions.pod:1719
10606 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1719
10609 " inspect-get-arch root\n"
10612 " inspect-get-arch корінь\n"
10616 #: ../fish/guestfish-actions.pod:1721
10617 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1721
10619 "This returns the architecture of the inspected operating system. The "
10620 "possible return values are listed under L</file-architecture>."
10624 #: ../fish/guestfish-actions.pod:1725
10625 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1725
10626 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2595
10627 #: ../src/guestfs-actions.pod:2595
10629 "If the architecture could not be determined, then the string C<unknown> is "
10634 #: ../fish/guestfish-actions.pod:1728 ../fish/guestfish-actions.pod:1811
10635 #: ../fish/guestfish-actions.pod:1890 ../fish/guestfish-actions.pod:1902
10636 #: ../fish/guestfish-actions.pod:1986 ../fish/guestfish-actions.pod:2047
10637 #: ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2082
10638 #: ../fish/guestfish-actions.pod:2122 ../fish/guestfish-actions.pod:2154
10639 #: ../fish/guestfish-actions.pod:2167 ../fish/guestfish-actions.pod:2180
10640 #: ../fish/guestfish-actions.pod:2190 ../fish/guestfish-actions.pod:2200
10641 #: ../fish/guestfish-actions.pod:2212 ../fish/guestfish-actions.pod:2308
10642 #: ../fish/guestfish-actions.pod:2342
10643 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1728
10644 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1811
10645 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1890
10646 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1902
10647 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1986
10648 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2047
10649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2068
10650 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2082
10651 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2122
10652 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2154
10653 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2167
10654 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2180
10655 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2190
10656 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2200
10657 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2212
10658 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2308
10659 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2342
10660 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2598
10661 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2688
10662 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2792
10663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2811
10664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2942
10665 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3025
10666 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3053
10667 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3074
10668 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3127
10669 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3167
10670 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3187
10671 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3207
10672 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3224
10673 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3240
10674 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3258
10675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3360
10676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3401
10677 #: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2688
10678 #: ../src/guestfs-actions.pod:2792 ../src/guestfs-actions.pod:2811
10679 #: ../src/guestfs-actions.pod:2942 ../src/guestfs-actions.pod:3025
10680 #: ../src/guestfs-actions.pod:3053 ../src/guestfs-actions.pod:3074
10681 #: ../src/guestfs-actions.pod:3127 ../src/guestfs-actions.pod:3167
10682 #: ../src/guestfs-actions.pod:3187 ../src/guestfs-actions.pod:3207
10683 #: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3240
10684 #: ../src/guestfs-actions.pod:3258 ../src/guestfs-actions.pod:3360
10685 #: ../src/guestfs-actions.pod:3401
10686 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
10690 #: ../fish/guestfish-actions.pod:1730
10691 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1730
10692 msgid "inspect-get-distro"
10693 msgstr "inspect-get-distro"
10696 #: ../fish/guestfish-actions.pod:1732
10697 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1732
10700 " inspect-get-distro root\n"
10703 " inspect-get-distro корінь\n"
10707 #: ../fish/guestfish-actions.pod:1734
10708 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1734
10709 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2611
10710 #: ../src/guestfs-actions.pod:2611
10712 "This returns the distro (distribution) of the inspected operating system."
10716 #: ../fish/guestfish-actions.pod:1737
10717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1737
10718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2614
10719 #: ../src/guestfs-actions.pod:2614
10720 msgid "Currently defined distros are:"
10724 #: ../fish/guestfish-actions.pod:1741
10725 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1741
10726 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2618
10727 #: ../src/guestfs-actions.pod:2618
10728 msgid "\"archlinux\""
10729 msgstr "\"archlinux\""
10732 #: ../fish/guestfish-actions.pod:1743
10733 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1743
10734 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2620
10735 #: ../src/guestfs-actions.pod:2620
10736 msgid "Arch Linux."
10737 msgstr "Arch Linux."
10740 #: ../fish/guestfish-actions.pod:1745
10741 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1745
10742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2622
10743 #: ../src/guestfs-actions.pod:2622
10748 #: ../fish/guestfish-actions.pod:1747
10749 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1747
10750 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2624
10751 #: ../src/guestfs-actions.pod:2624
10756 #: ../fish/guestfish-actions.pod:1749
10757 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1749
10758 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2626
10759 #: ../src/guestfs-actions.pod:2626
10761 msgstr "\"debian\""
10764 #: ../fish/guestfish-actions.pod:1751
10765 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1751
10766 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2628
10767 #: ../src/guestfs-actions.pod:2628
10772 #: ../fish/guestfish-actions.pod:1753
10773 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1753
10774 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2630
10775 #: ../src/guestfs-actions.pod:2630
10777 msgstr "\"fedora\""
10780 #: ../fish/guestfish-actions.pod:1755
10781 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1755
10782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2632
10783 #: ../src/guestfs-actions.pod:2632
10788 #: ../fish/guestfish-actions.pod:1757
10789 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1757
10790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2634
10791 #: ../src/guestfs-actions.pod:2634
10793 msgstr "\"gentoo\""
10796 #: ../fish/guestfish-actions.pod:1759
10797 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1759
10798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2636
10799 #: ../src/guestfs-actions.pod:2636
10804 #: ../fish/guestfish-actions.pod:1761
10805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1761
10806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2638
10807 #: ../src/guestfs-actions.pod:2638
10808 msgid "\"linuxmint\""
10809 msgstr "\"linuxmint\""
10812 #: ../fish/guestfish-actions.pod:1763
10813 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1763
10814 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2640
10815 #: ../src/guestfs-actions.pod:2640
10816 msgid "Linux Mint."
10817 msgstr "Linux Mint."
10820 #: ../fish/guestfish-actions.pod:1765
10821 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1765
10822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2642
10823 #: ../src/guestfs-actions.pod:2642
10824 msgid "\"mandriva\""
10825 msgstr "\"mandriva\""
10828 #: ../fish/guestfish-actions.pod:1767
10829 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1767
10830 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2644
10831 #: ../src/guestfs-actions.pod:2644
10836 #: ../fish/guestfish-actions.pod:1769
10837 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1769
10838 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2646
10839 #: ../src/guestfs-actions.pod:2646
10844 #: ../fish/guestfish-actions.pod:1771
10845 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1771
10846 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2648
10847 #: ../src/guestfs-actions.pod:2648
10852 #: ../fish/guestfish-actions.pod:1773
10853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1773
10854 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2650
10855 #: ../src/guestfs-actions.pod:2650
10857 msgstr "\"pardus\""
10860 #: ../fish/guestfish-actions.pod:1775
10861 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1775
10862 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2652
10863 #: ../src/guestfs-actions.pod:2652
10868 #: ../fish/guestfish-actions.pod:1777
10869 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1777
10870 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2654
10871 #: ../src/guestfs-actions.pod:2654
10872 msgid "\"redhat-based\""
10873 msgstr "\"redhat-based\""
10876 #: ../fish/guestfish-actions.pod:1779
10877 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1779
10878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2656
10879 #: ../src/guestfs-actions.pod:2656
10880 msgid "Some Red Hat-derived distro."
10881 msgstr "Дистрибутив, що походить від Red Hat."
10884 #: ../fish/guestfish-actions.pod:1781
10885 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1781
10886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2658
10887 #: ../src/guestfs-actions.pod:2658
10892 #: ../fish/guestfish-actions.pod:1783
10893 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1783
10894 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2660
10895 #: ../src/guestfs-actions.pod:2660
10896 msgid "Red Hat Enterprise Linux."
10900 #: ../fish/guestfish-actions.pod:1785
10901 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1785
10902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2662
10903 #: ../src/guestfs-actions.pod:2662
10904 msgid "\"scientificlinux\""
10908 #: ../fish/guestfish-actions.pod:1787
10909 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1787
10910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2664
10911 #: ../src/guestfs-actions.pod:2664
10912 msgid "Scientific Linux."
10916 #: ../fish/guestfish-actions.pod:1789
10917 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1789
10918 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2666
10919 #: ../src/guestfs-actions.pod:2666
10920 msgid "\"slackware\""
10924 #: ../fish/guestfish-actions.pod:1791
10925 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1791
10926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2668
10927 #: ../src/guestfs-actions.pod:2668
10932 #: ../fish/guestfish-actions.pod:1793
10933 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1793
10934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2670
10935 #: ../src/guestfs-actions.pod:2670
10937 msgstr "\"ubuntu\""
10940 #: ../fish/guestfish-actions.pod:1795
10941 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1795
10942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2672
10943 #: ../src/guestfs-actions.pod:2672
10948 #: ../fish/guestfish-actions.pod:1797 ../fish/guestfish-actions.pod:1881
10949 #: ../fish/guestfish-actions.pod:2145
10950 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1797
10951 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1881
10952 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2145
10953 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2674
10954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2783
10955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3158
10956 #: ../src/guestfs-actions.pod:2674 ../src/guestfs-actions.pod:2783
10957 #: ../src/guestfs-actions.pod:3158
10958 msgid "\"unknown\""
10959 msgstr "\"unknown\""
10962 #: ../fish/guestfish-actions.pod:1799
10963 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1799
10964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2676
10965 #: ../src/guestfs-actions.pod:2676
10966 msgid "The distro could not be determined."
10967 msgstr "Дистрибутив, тип якого не вдалося визначити."
10970 #: ../fish/guestfish-actions.pod:1801 ../fish/guestfish-actions.pod:2137
10971 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1801
10972 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2137
10973 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2678
10974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3150
10975 #: ../src/guestfs-actions.pod:2678 ../src/guestfs-actions.pod:3150
10976 msgid "\"windows\""
10977 msgstr "\"windows\""
10980 #: ../fish/guestfish-actions.pod:1803
10981 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1803
10982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2680
10983 #: ../src/guestfs-actions.pod:2680
10985 "Windows does not have distributions. This string is returned if the OS type "
10990 #: ../fish/guestfish-actions.pod:1808 ../fish/guestfish-actions.pod:1887
10991 #: ../fish/guestfish-actions.pod:2151
10992 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1808
10993 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1887
10994 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2151
10995 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2685
10996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2789
10997 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3164
10998 #: ../src/guestfs-actions.pod:2685 ../src/guestfs-actions.pod:2789
10999 #: ../src/guestfs-actions.pod:3164
11001 "Future versions of libguestfs may return other strings here. The caller "
11002 "should be prepared to handle any string."
11006 #: ../fish/guestfish-actions.pod:1813
11007 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1813
11008 msgid "inspect-get-drive-mappings"
11012 #: ../fish/guestfish-actions.pod:1815
11013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1815
11016 " inspect-get-drive-mappings root\n"
11021 #: ../fish/guestfish-actions.pod:1817
11022 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1817
11023 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2701
11024 #: ../src/guestfs-actions.pod:2701
11026 "This call is useful for Windows which uses a primitive system of assigning "
11027 "drive letters (like \"C:\") to partitions. This inspection API examines the "
11028 "Windows Registry to find out how disks/partitions are mapped to drive "
11029 "letters, and returns a hash table as in the example below:"
11033 #: ../fish/guestfish-actions.pod:1823
11034 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1823
11035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2707
11036 #: ../src/guestfs-actions.pod:2707
11039 " C => /dev/vda2\n"
11040 " E => /dev/vdb1\n"
11041 " F => /dev/vdc1\n"
11046 #: ../fish/guestfish-actions.pod:1827
11047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1827
11048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2711
11049 #: ../src/guestfs-actions.pod:2711
11051 "Note that keys are drive letters. For Windows, the key is case insensitive "
11052 "and just contains the drive letter, without the customary colon separator "
11057 #: ../fish/guestfish-actions.pod:1831
11058 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1831
11059 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2715
11060 #: ../src/guestfs-actions.pod:2715
11062 "In future we may support other operating systems that also used drive "
11063 "letters, but the keys for those might not be case insensitive and might be "
11064 "longer than 1 character. For example in OS-9, hard drives were named C<h0>, "
11069 #: ../fish/guestfish-actions.pod:1836
11070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1836
11071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2720
11072 #: ../src/guestfs-actions.pod:2720
11074 "For Windows guests, currently only hard drive mappings are returned. "
11075 "Removable disks (eg. DVD-ROMs) are ignored."
11079 #: ../fish/guestfish-actions.pod:1839
11080 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1839
11081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2723
11082 #: ../src/guestfs-actions.pod:2723
11084 "For guests that do not use drive mappings, or if the drive mappings could "
11085 "not be determined, this returns an empty hash table."
11089 #: ../fish/guestfish-actions.pod:1842
11090 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1842
11092 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11093 "get-mountpoints>, L</inspect-get-filesystems>."
11097 #: ../fish/guestfish-actions.pod:1846
11098 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1846
11099 msgid "inspect-get-filesystems"
11100 msgstr "inspect-get-filesystems"
11103 #: ../fish/guestfish-actions.pod:1848
11104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1848
11107 " inspect-get-filesystems root\n"
11110 " inspect-get-filesystems корінь\n"
11114 #: ../fish/guestfish-actions.pod:1850
11115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1850
11116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2744
11117 #: ../src/guestfs-actions.pod:2744
11119 "This returns a list of all the filesystems that we think are associated with "
11120 "this operating system. This includes the root filesystem, other ordinary "
11121 "filesystems, and non-mounted devices like swap partitions."
11125 #: ../fish/guestfish-actions.pod:1855
11126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1855
11127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2749
11128 #: ../src/guestfs-actions.pod:2749
11130 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
11131 "to be shared between operating systems."
11135 #: ../fish/guestfish-actions.pod:1858
11136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1858
11138 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11139 "get-mountpoints>."
11143 #: ../fish/guestfish-actions.pod:1861
11144 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1861
11145 msgid "inspect-get-format"
11146 msgstr "inspect-get-format"
11149 #: ../fish/guestfish-actions.pod:1863
11150 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1863
11153 " inspect-get-format root\n"
11156 " inspect-get-format корінь\n"
11160 #: ../fish/guestfish-actions.pod:1865
11161 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1865
11162 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2767
11163 #: ../src/guestfs-actions.pod:2767
11165 "This returns the format of the inspected operating system. You can use it "
11166 "to detect install images, live CDs and similar."
11170 #: ../fish/guestfish-actions.pod:1868
11171 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1868
11172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2770
11173 #: ../src/guestfs-actions.pod:2770
11174 msgid "Currently defined formats are:"
11178 #: ../fish/guestfish-actions.pod:1872
11179 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1872
11180 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2774
11181 #: ../src/guestfs-actions.pod:2774
11182 msgid "\"installed\""
11183 msgstr "\"installed\""
11186 #: ../fish/guestfish-actions.pod:1874
11187 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1874
11188 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2776
11189 #: ../src/guestfs-actions.pod:2776
11190 msgid "This is an installed operating system."
11191 msgstr "Це встановлена операційна система."
11194 #: ../fish/guestfish-actions.pod:1876
11195 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1876
11196 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2778
11197 #: ../src/guestfs-actions.pod:2778
11198 msgid "\"installer\""
11202 #: ../fish/guestfish-actions.pod:1878
11203 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1878
11204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2780
11205 #: ../src/guestfs-actions.pod:2780
11207 "The disk image being inspected is not an installed operating system, but a "
11208 "I<bootable> install disk, live CD, or similar."
11212 #: ../fish/guestfish-actions.pod:1883
11213 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1883
11214 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2785
11215 #: ../src/guestfs-actions.pod:2785
11216 msgid "The format of this disk image is not known."
11220 #: ../fish/guestfish-actions.pod:1892
11221 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1892
11222 msgid "inspect-get-hostname"
11223 msgstr "inspect-get-hostname"
11226 #: ../fish/guestfish-actions.pod:1894
11227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1894
11230 " inspect-get-hostname root\n"
11233 " inspect-get-hostname корінь\n"
11237 #: ../fish/guestfish-actions.pod:1896
11238 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1896
11239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2805
11240 #: ../src/guestfs-actions.pod:2805
11242 "This function returns the hostname of the operating system as found by "
11243 "inspection of the guest's configuration files."
11247 #: ../fish/guestfish-actions.pod:1899
11248 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1899
11249 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2808
11250 #: ../src/guestfs-actions.pod:2808
11252 "If the hostname could not be determined, then the string C<unknown> is "
11257 #: ../fish/guestfish-actions.pod:1904
11258 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1904
11259 msgid "inspect-get-icon"
11263 #: ../fish/guestfish-actions.pod:1906
11264 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1906
11267 " inspect-get-icon root [favicon:..] [highquality:..]\n"
11272 #: ../fish/guestfish-actions.pod:1908
11273 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1908
11274 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2834
11275 #: ../src/guestfs-actions.pod:2834
11277 "This function returns an icon corresponding to the inspected operating "
11278 "system. The icon is returned as a buffer containing a PNG image (re-encoded "
11279 "to PNG if necessary)."
11283 #: ../fish/guestfish-actions.pod:1912
11284 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1912
11285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2838
11286 #: ../src/guestfs-actions.pod:2838
11288 "If it was not possible to get an icon this function returns a zero-length "
11289 "(non-NULL) buffer. I<Callers must check for this case>."
11293 #: ../fish/guestfish-actions.pod:1915
11294 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1915
11295 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2841
11296 #: ../src/guestfs-actions.pod:2841
11298 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
11299 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
11300 "this file will be returned. You can disable favicons by passing the "
11301 "optional C<favicon> boolean as false (default is true)."
11305 #: ../fish/guestfish-actions.pod:1921
11306 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1921
11307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2847
11308 #: ../src/guestfs-actions.pod:2847
11310 "If finding the favicon fails, then we look in other places in the guest for "
11315 #: ../fish/guestfish-actions.pod:1924
11316 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1924
11317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2850
11318 #: ../src/guestfs-actions.pod:2850
11320 "If the optional C<highquality> boolean is true then only high quality icons "
11321 "are returned, which means only icons of high resolution with an alpha "
11322 "channel. The default (false) is to return any icon we can, even if it is of "
11323 "substandard quality."
11327 #: ../fish/guestfish-actions.pod:1935
11328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1935
11329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2861
11330 #: ../src/guestfs-actions.pod:2861
11332 "Unlike most other inspection API calls, the guest's disks must be mounted up "
11333 "before you call this, since it needs to read information from the guest "
11334 "filesystem during the call."
11338 #: ../fish/guestfish-actions.pod:1941
11339 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1941
11340 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2867
11341 #: ../src/guestfs-actions.pod:2867
11343 "B<Security:> The icon data comes from the untrusted guest, and should be "
11344 "treated with caution. PNG files have been known to contain exploits. "
11345 "Ensure that libpng (or other relevant libraries) are fully up to date before "
11346 "trying to process or display the icon."
11350 #: ../fish/guestfish-actions.pod:1949
11351 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1949
11352 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2875
11353 #: ../src/guestfs-actions.pod:2875
11355 "The PNG image returned can be any size. It might not be square. Libguestfs "
11356 "tries to return the largest, highest quality icon available. The "
11357 "application must scale the icon to the required size."
11361 #: ../fish/guestfish-actions.pod:1956
11362 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1956
11363 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2882
11364 #: ../src/guestfs-actions.pod:2882
11366 "Extracting icons from Windows guests requires the external C<wrestool> "
11367 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
11368 "C<pnmtopng>, C<pamcut>) from the C<netpbm> package. These must be "
11369 "installed separately."
11373 #: ../fish/guestfish-actions.pod:1963
11374 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1963
11375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2889
11376 #: ../src/guestfs-actions.pod:2889
11378 "Operating system icons are usually trademarks. Seek legal advice before "
11379 "using trademarks in applications."
11383 #: ../fish/guestfish-actions.pod:1970
11384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1970
11385 msgid "inspect-get-major-version"
11386 msgstr "inspect-get-major-version"
11389 #: ../fish/guestfish-actions.pod:1972
11390 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1972
11393 " inspect-get-major-version root\n"
11396 " inspect-get-major-version корінь\n"
11400 #: ../fish/guestfish-actions.pod:1974
11401 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1974
11402 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2930
11403 #: ../src/guestfs-actions.pod:2930
11405 "This returns the major version number of the inspected operating system."
11409 #: ../fish/guestfish-actions.pod:1977
11410 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1977
11411 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2933
11412 #: ../src/guestfs-actions.pod:2933
11414 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
11415 "popular public names used by the operating system. Notably the operating "
11416 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
11417 "1). You can find out the real versions corresponding to releases of Windows "
11418 "by consulting Wikipedia or MSDN."
11422 #: ../fish/guestfish-actions.pod:1984 ../fish/guestfish-actions.pod:1995
11423 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1984
11424 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1995
11425 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2940
11426 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2957
11427 #: ../src/guestfs-actions.pod:2940 ../src/guestfs-actions.pod:2957
11428 msgid "If the version could not be determined, then C<0> is returned."
11432 #: ../fish/guestfish-actions.pod:1988
11433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1988
11434 msgid "inspect-get-minor-version"
11435 msgstr "inspect-get-minor-version"
11438 #: ../fish/guestfish-actions.pod:1990
11439 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1990
11442 " inspect-get-minor-version root\n"
11445 " inspect-get-minor-version корінь\n"
11449 #: ../fish/guestfish-actions.pod:1992
11450 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1992
11451 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2954
11452 #: ../src/guestfs-actions.pod:2954
11454 "This returns the minor version number of the inspected operating system."
11458 #: ../fish/guestfish-actions.pod:1997
11459 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:1997
11461 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11462 "get-major-version>."
11466 #: ../fish/guestfish-actions.pod:2000
11467 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2000
11468 msgid "inspect-get-mountpoints"
11469 msgstr "inspect-get-mountpoints"
11472 #: ../fish/guestfish-actions.pod:2002
11473 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2002
11476 " inspect-get-mountpoints root\n"
11479 " inspect-get-mountpoints корінь\n"
11483 #: ../fish/guestfish-actions.pod:2004
11484 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2004
11485 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2972
11486 #: ../src/guestfs-actions.pod:2972
11488 "This returns a hash of where we think the filesystems associated with this "
11489 "operating system should be mounted. Callers should note that this is at "
11490 "best an educated guess made by reading configuration files such as C</etc/"
11491 "fstab>. I<In particular note> that this may return filesystems which are "
11492 "non-existent or not mountable and callers should be prepared to handle or "
11493 "ignore failures if they try to mount them."
11497 #: ../fish/guestfish-actions.pod:2013
11498 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2013
11499 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2981
11500 #: ../src/guestfs-actions.pod:2981
11502 "Each element in the returned hashtable has a key which is the path of the "
11503 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
11504 "mounted there (eg. C</dev/sda1>)."
11508 #: ../fish/guestfish-actions.pod:2018
11509 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2018
11510 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2986
11511 #: ../src/guestfs-actions.pod:2986
11513 "Non-mounted devices such as swap devices are I<not> returned in this list."
11517 #: ../fish/guestfish-actions.pod:2021
11518 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2021
11520 "For operating systems like Windows which still use drive letters, this call "
11521 "will only return an entry for the first drive \"mounted on\" C</>. For "
11522 "information about the mapping of drive letters to partitions, see L</inspect-"
11523 "get-drive-mappings>."
11527 #: ../fish/guestfish-actions.pod:2027
11528 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2027
11530 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11531 "get-filesystems>."
11535 #: ../fish/guestfish-actions.pod:2030
11536 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2030
11537 msgid "inspect-get-package-format"
11538 msgstr "inspect-get-package-format"
11541 #: ../fish/guestfish-actions.pod:2032
11542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2032
11545 " inspect-get-package-format root\n"
11548 " inspect-get-package-format корінь\n"
11552 #: ../fish/guestfish-actions.pod:2034
11553 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2034
11555 "This function and L</inspect-get-package-management> return the package "
11556 "format and package management tool used by the inspected operating system. "
11557 "For example for Fedora these functions would return C<rpm> (package format) "
11558 "and C<yum> (package management)."
11562 #: ../fish/guestfish-actions.pod:2040
11563 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2040
11564 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3018
11565 #: ../src/guestfs-actions.pod:3018
11567 "This returns the string C<unknown> if we could not determine the package "
11568 "format I<or> if the operating system does not have a real packaging system "
11573 #: ../fish/guestfish-actions.pod:2044
11574 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2044
11575 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3022
11576 #: ../src/guestfs-actions.pod:3022
11578 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>. "
11579 "Future versions of libguestfs may return other strings."
11583 #: ../fish/guestfish-actions.pod:2049
11584 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2049
11585 msgid "inspect-get-package-management"
11586 msgstr "inspect-get-package-management"
11589 #: ../fish/guestfish-actions.pod:2051
11590 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2051
11593 " inspect-get-package-management root\n"
11596 " inspect-get-package-management корінь\n"
11600 #: ../fish/guestfish-actions.pod:2053
11601 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2053
11603 "L</inspect-get-package-format> and this function return the package format "
11604 "and package management tool used by the inspected operating system. For "
11605 "example for Fedora these functions would return C<rpm> (package format) and "
11606 "C<yum> (package management)."
11610 #: ../fish/guestfish-actions.pod:2059
11611 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2059
11612 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3044
11613 #: ../src/guestfs-actions.pod:3044
11615 "This returns the string C<unknown> if we could not determine the package "
11616 "management tool I<or> if the operating system does not have a real packaging "
11617 "system (eg. Windows)."
11621 #: ../fish/guestfish-actions.pod:2063
11622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2063
11623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3048
11624 #: ../src/guestfs-actions.pod:3048
11626 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
11627 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>. Future versions of "
11628 "libguestfs may return other strings."
11632 #: ../fish/guestfish-actions.pod:2070
11633 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2070
11634 msgid "inspect-get-product-name"
11635 msgstr "inspect-get-product-name"
11638 #: ../fish/guestfish-actions.pod:2072
11639 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2072
11642 " inspect-get-product-name root\n"
11645 " inspect-get-product-name корінь\n"
11649 #: ../fish/guestfish-actions.pod:2074
11650 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2074
11651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3066
11652 #: ../src/guestfs-actions.pod:3066
11654 "This returns the product name of the inspected operating system. The "
11655 "product name is generally some freeform string which can be displayed to the "
11656 "user, but should not be parsed by programs."
11660 #: ../fish/guestfish-actions.pod:2079
11661 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2079
11662 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3071
11663 #: ../src/guestfs-actions.pod:3071
11665 "If the product name could not be determined, then the string C<unknown> is "
11670 #: ../fish/guestfish-actions.pod:2084
11671 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2084
11672 msgid "inspect-get-product-variant"
11676 #: ../fish/guestfish-actions.pod:2086
11677 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2086
11680 " inspect-get-product-variant root\n"
11685 #: ../fish/guestfish-actions.pod:2088
11686 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2088
11687 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3087
11688 #: ../src/guestfs-actions.pod:3087
11689 msgid "This returns the product variant of the inspected operating system."
11693 #: ../fish/guestfish-actions.pod:2091
11694 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2091
11695 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3090
11696 #: ../src/guestfs-actions.pod:3090
11698 "For Windows guests, this returns the contents of the Registry key C<HKLM"
11699 "\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType> which "
11700 "is usually a string such as C<Client> or C<Server> (other values are "
11701 "possible). This can be used to distinguish consumer and enterprise versions "
11702 "of Windows that have the same version number (for example, Windows 7 and "
11703 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
11704 "the latter is C<Server>)."
11708 #: ../fish/guestfish-actions.pod:2100
11709 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2100
11710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3099
11711 #: ../src/guestfs-actions.pod:3099
11713 "For enterprise Linux guests, in future we intend this to return the product "
11714 "variant such as C<Desktop>, C<Server> and so on. But this is not "
11715 "implemented at present."
11719 #: ../fish/guestfish-actions.pod:2104
11720 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2104
11721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3103
11722 #: ../src/guestfs-actions.pod:3103
11724 "If the product variant could not be determined, then the string C<unknown> "
11729 #: ../fish/guestfish-actions.pod:2107
11730 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2107
11732 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11733 "get-product-name>, L</inspect-get-major-version>."
11737 #: ../fish/guestfish-actions.pod:2111
11738 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2111
11739 msgid "inspect-get-roots"
11740 msgstr "inspect-get-roots"
11743 #: ../fish/guestfish-actions.pod:2113
11744 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2113
11747 " inspect-get-roots\n"
11750 " inspect-get-roots\n"
11754 #: ../fish/guestfish-actions.pod:2115
11755 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2115
11757 "This function is a convenient way to get the list of root devices, as "
11758 "returned from a previous call to L</inspect-os>, but without redoing the "
11759 "whole inspection process."
11763 #: ../fish/guestfish-actions.pod:2119
11764 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2119
11766 "This returns an empty list if either no root devices were found or the "
11767 "caller has not called L</inspect-os>."
11771 #: ../fish/guestfish-actions.pod:2124
11772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2124
11773 msgid "inspect-get-type"
11774 msgstr "inspect-get-type"
11777 #: ../fish/guestfish-actions.pod:2126
11778 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2126
11781 " inspect-get-type root\n"
11784 " inspect-get-type корінь\n"
11788 #: ../fish/guestfish-actions.pod:2128
11789 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2128
11790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3141
11791 #: ../src/guestfs-actions.pod:3141
11793 "This returns the type of the inspected operating system. Currently defined "
11798 #: ../fish/guestfish-actions.pod:2133
11799 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2133
11800 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3146
11801 #: ../src/guestfs-actions.pod:3146
11806 #: ../fish/guestfish-actions.pod:2135
11807 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2135
11808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3148
11809 #: ../src/guestfs-actions.pod:3148
11810 msgid "Any Linux-based operating system."
11814 #: ../fish/guestfish-actions.pod:2139
11815 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2139
11816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3152
11817 #: ../src/guestfs-actions.pod:3152
11818 msgid "Any Microsoft Windows operating system."
11822 #: ../fish/guestfish-actions.pod:2141
11823 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2141
11824 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3154
11825 #: ../src/guestfs-actions.pod:3154
11826 msgid "\"freebsd\""
11827 msgstr "\"freebsd\""
11830 #: ../fish/guestfish-actions.pod:2143
11831 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2143
11832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3156
11833 #: ../src/guestfs-actions.pod:3156
11838 #: ../fish/guestfish-actions.pod:2147
11839 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2147
11840 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3160
11841 #: ../src/guestfs-actions.pod:3160
11842 msgid "The operating system type could not be determined."
11846 #: ../fish/guestfish-actions.pod:2156
11847 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2156
11848 msgid "inspect-get-windows-current-control-set"
11852 #: ../fish/guestfish-actions.pod:2158
11853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2158
11856 " inspect-get-windows-current-control-set root\n"
11861 #: ../fish/guestfish-actions.pod:2160
11862 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2160
11863 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3180
11864 #: ../src/guestfs-actions.pod:3180
11866 "This returns the Windows CurrentControlSet of the inspected guest. The "
11867 "CurrentControlSet is a registry key name such as C<ControlSet001>."
11871 #: ../fish/guestfish-actions.pod:2163
11872 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2163
11873 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3183
11874 #: ../src/guestfs-actions.pod:3183
11876 "This call assumes that the guest is Windows and that the Registry could be "
11877 "examined by inspection. If this is not the case then an error is returned."
11881 #: ../fish/guestfish-actions.pod:2169
11882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2169
11883 msgid "inspect-get-windows-systemroot"
11884 msgstr "inspect-get-windows-systemroot"
11887 #: ../fish/guestfish-actions.pod:2171
11888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2171
11891 " inspect-get-windows-systemroot root\n"
11894 " inspect-get-windows-systemroot корінь\n"
11898 #: ../fish/guestfish-actions.pod:2173
11899 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2173
11900 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3200
11901 #: ../src/guestfs-actions.pod:3200
11903 "This returns the Windows systemroot of the inspected guest. The systemroot "
11904 "is a directory path such as C</WINDOWS>."
11908 #: ../fish/guestfish-actions.pod:2176
11909 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2176
11910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3203
11911 #: ../src/guestfs-actions.pod:3203
11913 "This call assumes that the guest is Windows and that the systemroot could be "
11914 "determined by inspection. If this is not the case then an error is returned."
11918 #: ../fish/guestfish-actions.pod:2182
11919 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2182
11920 msgid "inspect-is-live"
11921 msgstr "inspect-is-live"
11924 #: ../fish/guestfish-actions.pod:2184
11925 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2184
11928 " inspect-is-live root\n"
11931 " inspect-is-live корінь\n"
11935 #: ../fish/guestfish-actions.pod:2186
11936 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2186
11938 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11939 "then this returns true if a live image was detected on the disk."
11943 #: ../fish/guestfish-actions.pod:2192
11944 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2192
11945 msgid "inspect-is-multipart"
11946 msgstr "inspect-is-multipart"
11949 #: ../fish/guestfish-actions.pod:2194
11950 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2194
11953 " inspect-is-multipart root\n"
11956 " inspect-is-multipart корінь\n"
11960 #: ../fish/guestfish-actions.pod:2196
11961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2196
11963 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11964 "then this returns true if the disk is part of a set."
11968 #: ../fish/guestfish-actions.pod:2202
11969 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2202
11970 msgid "inspect-is-netinst"
11971 msgstr "inspect-is-netinst"
11974 #: ../fish/guestfish-actions.pod:2204
11975 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2204
11978 " inspect-is-netinst root\n"
11981 " inspect-is-netinst корінь\n"
11985 #: ../fish/guestfish-actions.pod:2206
11986 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2206
11988 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11989 "then this returns true if the disk is a network installer, ie. not a self-"
11990 "contained install CD but one which is likely to require network access to "
11991 "complete the install."
11995 #: ../fish/guestfish-actions.pod:2214
11996 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2214
11997 msgid "inspect-list-applications"
11998 msgstr "inspect-list-applications"
12001 #: ../fish/guestfish-actions.pod:2216
12002 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2216
12005 " inspect-list-applications root\n"
12008 " inspect-list-applications кореневий_каталог\n"
12012 #: ../fish/guestfish-actions.pod:2218
12013 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2218
12014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3270
12015 #: ../src/guestfs-actions.pod:3270
12016 msgid "Return the list of applications installed in the operating system."
12020 #: ../fish/guestfish-actions.pod:2220
12021 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2220
12023 "I<Note:> This call works differently from other parts of the inspection "
12024 "API. You have to call L</inspect-os>, then L</inspect-get-mountpoints>, "
12025 "then mount up the disks, before calling this. Listing applications is a "
12026 "significantly more difficult operation which requires access to the full "
12027 "filesystem. Also note that unlike the other L</inspect-get-*> calls which "
12028 "are just returning data cached in the libguestfs handle, this call actually "
12029 "reads parts of the mounted filesystems during the call."
12033 #: ../fish/guestfish-actions.pod:2230
12034 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2230
12035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3282
12036 #: ../src/guestfs-actions.pod:3282
12038 "This returns an empty list if the inspection code was not able to determine "
12039 "the list of applications."
12043 #: ../fish/guestfish-actions.pod:2233
12044 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2233
12045 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3285
12046 #: ../src/guestfs-actions.pod:3285
12047 msgid "The application structure contains the following fields:"
12051 #: ../fish/guestfish-actions.pod:2237
12052 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2237
12053 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3289
12054 #: ../src/guestfs-actions.pod:3289
12055 msgid "C<app_name>"
12056 msgstr "C<app_name>"
12059 #: ../fish/guestfish-actions.pod:2239
12060 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2239
12061 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3291
12062 #: ../src/guestfs-actions.pod:3291
12064 "The name of the application. For Red Hat-derived and Debian-derived Linux "
12065 "guests, this is the package name."
12069 #: ../fish/guestfish-actions.pod:2242
12070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2242
12071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3294
12072 #: ../src/guestfs-actions.pod:3294
12073 msgid "C<app_display_name>"
12074 msgstr "C<app_display_name>"
12077 #: ../fish/guestfish-actions.pod:2244
12078 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2244
12079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3296
12080 #: ../src/guestfs-actions.pod:3296
12082 "The display name of the application, sometimes localized to the install "
12083 "language of the guest operating system."
12087 #: ../fish/guestfish-actions.pod:2247
12088 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2247
12089 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3299
12090 #: ../src/guestfs-actions.pod:3299
12092 "If unavailable this is returned as an empty string C<\"\">. Callers needing "
12093 "to display something can use C<app_name> instead."
12097 #: ../fish/guestfish-actions.pod:2250
12098 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2250
12099 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3302
12100 #: ../src/guestfs-actions.pod:3302
12101 msgid "C<app_epoch>"
12102 msgstr "C<app_epoch>"
12105 #: ../fish/guestfish-actions.pod:2252
12106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2252
12107 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3304
12108 #: ../src/guestfs-actions.pod:3304
12110 "For package managers which use epochs, this contains the epoch of the "
12111 "package (an integer). If unavailable, this is returned as C<0>."
12115 #: ../fish/guestfish-actions.pod:2255
12116 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2255
12117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3307
12118 #: ../src/guestfs-actions.pod:3307
12119 msgid "C<app_version>"
12120 msgstr "C<app_version>"
12123 #: ../fish/guestfish-actions.pod:2257
12124 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2257
12125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3309
12126 #: ../src/guestfs-actions.pod:3309
12128 "The version string of the application or package. If unavailable this is "
12129 "returned as an empty string C<\"\">."
12133 #: ../fish/guestfish-actions.pod:2260
12134 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2260
12135 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3312
12136 #: ../src/guestfs-actions.pod:3312
12137 msgid "C<app_release>"
12138 msgstr "C<app_release>"
12141 #: ../fish/guestfish-actions.pod:2262
12142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2262
12143 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3314
12144 #: ../src/guestfs-actions.pod:3314
12146 "The release string of the application or package, for package managers that "
12147 "use this. If unavailable this is returned as an empty string C<\"\">."
12151 #: ../fish/guestfish-actions.pod:2266
12152 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2266
12153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3318
12154 #: ../src/guestfs-actions.pod:3318
12155 msgid "C<app_install_path>"
12156 msgstr "C<app_install_path>"
12159 #: ../fish/guestfish-actions.pod:2268
12160 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2268
12161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3320
12162 #: ../src/guestfs-actions.pod:3320
12164 "The installation path of the application (on operating systems such as "
12165 "Windows which use installation paths). This path is in the format used by "
12166 "the guest operating system, it is not a libguestfs path."
12170 #: ../fish/guestfish-actions.pod:2273
12171 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2273
12172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3325
12173 #: ../src/guestfs-actions.pod:3325
12174 msgid "If unavailable this is returned as an empty string C<\"\">."
12178 #: ../fish/guestfish-actions.pod:2275
12179 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2275
12180 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3327
12181 #: ../src/guestfs-actions.pod:3327
12182 msgid "C<app_trans_path>"
12183 msgstr "C<app_trans_path>"
12186 #: ../fish/guestfish-actions.pod:2277
12187 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2277
12188 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3329
12189 #: ../src/guestfs-actions.pod:3329
12191 "The install path translated into a libguestfs path. If unavailable this is "
12192 "returned as an empty string C<\"\">."
12196 #: ../fish/guestfish-actions.pod:2280
12197 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2280
12198 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3332
12199 #: ../src/guestfs-actions.pod:3332
12200 msgid "C<app_publisher>"
12201 msgstr "C<app_publisher>"
12204 #: ../fish/guestfish-actions.pod:2282
12205 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2282
12206 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3334
12207 #: ../src/guestfs-actions.pod:3334
12209 "The name of the publisher of the application, for package managers that use "
12210 "this. If unavailable this is returned as an empty string C<\"\">."
12214 #: ../fish/guestfish-actions.pod:2286
12215 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2286
12216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3338
12217 #: ../src/guestfs-actions.pod:3338
12219 msgstr "C<app_url>"
12222 #: ../fish/guestfish-actions.pod:2288
12223 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2288
12224 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3340
12225 #: ../src/guestfs-actions.pod:3340
12227 "The URL (eg. upstream URL) of the application. If unavailable this is "
12228 "returned as an empty string C<\"\">."
12232 #: ../fish/guestfish-actions.pod:2291
12233 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2291
12234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3343
12235 #: ../src/guestfs-actions.pod:3343
12236 msgid "C<app_source_package>"
12237 msgstr "C<app_source_package>"
12240 #: ../fish/guestfish-actions.pod:2293
12241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2293
12242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3345
12243 #: ../src/guestfs-actions.pod:3345
12245 "For packaging systems which support this, the name of the source package. "
12246 "If unavailable this is returned as an empty string C<\"\">."
12250 #: ../fish/guestfish-actions.pod:2296
12251 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2296
12252 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3348
12253 #: ../src/guestfs-actions.pod:3348
12254 msgid "C<app_summary>"
12255 msgstr "C<app_summary>"
12258 #: ../fish/guestfish-actions.pod:2298
12259 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2298
12260 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3350
12261 #: ../src/guestfs-actions.pod:3350
12263 "A short (usually one line) description of the application or package. If "
12264 "unavailable this is returned as an empty string C<\"\">."
12268 #: ../fish/guestfish-actions.pod:2301
12269 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2301
12270 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3353
12271 #: ../src/guestfs-actions.pod:3353
12272 msgid "C<app_description>"
12273 msgstr "C<app_description>"
12276 #: ../fish/guestfish-actions.pod:2303
12277 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2303
12278 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3355
12279 #: ../src/guestfs-actions.pod:3355
12281 "A longer description of the application or package. If unavailable this is "
12282 "returned as an empty string C<\"\">."
12286 #: ../fish/guestfish-actions.pod:2310
12287 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2310
12289 msgstr "inspect-os"
12292 #: ../fish/guestfish-actions.pod:2312
12293 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2312
12303 #: ../fish/guestfish-actions.pod:2314
12304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2314
12305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3373
12306 #: ../src/guestfs-actions.pod:3373
12308 "This function uses other libguestfs functions and certain heuristics to "
12309 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
12310 "for operating systems."
12314 #: ../fish/guestfish-actions.pod:2318
12315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2318
12316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3377
12317 #: ../src/guestfs-actions.pod:3377
12318 msgid "The list returned is empty if no operating systems were found."
12322 #: ../fish/guestfish-actions.pod:2320
12323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2320
12324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3379
12325 #: ../src/guestfs-actions.pod:3379
12327 "If one operating system was found, then this returns a list with a single "
12328 "element, which is the name of the root filesystem of this operating system. "
12329 "It is also possible for this function to return a list containing more than "
12330 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
12331 "element being the root filesystem of one of the operating systems."
12335 #: ../fish/guestfish-actions.pod:2327
12336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2327
12338 "You can pass the root string(s) returned to other L</inspect-get-*> "
12339 "functions in order to query further information about each operating system, "
12340 "such as the name and version."
12344 #: ../fish/guestfish-actions.pod:2332
12345 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2332
12347 "This function uses other libguestfs features such as L</mount-ro> and L</"
12348 "umount-all> in order to mount and unmount filesystems and look at the "
12349 "contents. This should be called with no disks currently mounted. The "
12350 "function may also use Augeas, so any existing Augeas handle will be closed."
12354 #: ../fish/guestfish-actions.pod:2338
12355 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2338
12356 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3397
12357 #: ../src/guestfs-actions.pod:3397
12359 "This function cannot decrypt encrypted disks. The caller must do that first "
12360 "(supplying the necessary keys) if the disk is encrypted."
12364 #: ../fish/guestfish-actions.pod:2344 ../fish/guestfish-actions.pod:2542
12365 #: ../fish/guestfish-actions.pod:2601
12366 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2344
12367 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2542
12368 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2601
12369 msgid "See also L</list-filesystems>."
12370 msgstr "Див. також L</list-filesystems>."
12373 #: ../fish/guestfish-actions.pod:2346
12374 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2346
12375 msgid "is-blockdev"
12376 msgstr "is-blockdev"
12379 #: ../fish/guestfish-actions.pod:2348
12380 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2348
12383 " is-blockdev path\n"
12386 " is-blockdev шлях\n"
12390 #: ../fish/guestfish-actions.pod:2350
12391 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2350
12392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3417
12393 #: ../src/guestfs-actions.pod:3417
12395 "This returns C<true> if and only if there is a block device with the given "
12400 #: ../fish/guestfish-actions.pod:2353 ../fish/guestfish-actions.pod:2371
12401 #: ../fish/guestfish-actions.pod:2390 ../fish/guestfish-actions.pod:2399
12402 #: ../fish/guestfish-actions.pod:2409 ../fish/guestfish-actions.pod:2443
12403 #: ../fish/guestfish-actions.pod:2452
12404 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2353
12405 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2371
12406 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2390
12407 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2399
12408 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2409
12409 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2443
12410 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2452
12411 msgid "See also L</stat>."
12412 msgstr "Див. також L</stat>."
12415 #: ../fish/guestfish-actions.pod:2355
12416 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2355
12421 #: ../fish/guestfish-actions.pod:2357
12422 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2357
12432 #: ../fish/guestfish-actions.pod:2359
12433 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2359
12434 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3431
12435 #: ../src/guestfs-actions.pod:3431
12437 "This returns true iff this handle is busy processing a command (in the "
12442 #: ../fish/guestfish-actions.pod:2364
12443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2364
12445 msgstr "is-chardev"
12448 #: ../fish/guestfish-actions.pod:2366
12449 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2366
12452 " is-chardev path\n"
12455 " is-chardev шлях\n"
12459 #: ../fish/guestfish-actions.pod:2368
12460 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2368
12461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3446
12462 #: ../src/guestfs-actions.pod:3446
12464 "This returns C<true> if and only if there is a character device with the "
12465 "given C<path> name."
12469 #: ../fish/guestfish-actions.pod:2373
12470 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2373
12475 #: ../fish/guestfish-actions.pod:2375
12476 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2375
12486 #: ../fish/guestfish-actions.pod:2377
12487 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2377
12488 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3460
12489 #: ../src/guestfs-actions.pod:3460
12491 "This returns true iff this handle is being configured (in the C<CONFIG> "
12496 #: ../fish/guestfish-actions.pod:2382
12497 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2382
12502 #: ../fish/guestfish-actions.pod:2384
12503 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2384
12513 #: ../fish/guestfish-actions.pod:2386
12514 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2386
12515 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3475
12516 #: ../src/guestfs-actions.pod:3475
12518 "This returns C<true> if and only if there is a directory with the given "
12519 "C<path> name. Note that it returns false for other objects like files."
12523 #: ../fish/guestfish-actions.pod:2392
12524 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2392
12529 #: ../fish/guestfish-actions.pod:2394
12530 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2394
12540 #: ../fish/guestfish-actions.pod:2396
12541 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2396
12542 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3491
12543 #: ../src/guestfs-actions.pod:3491
12545 "This returns C<true> if and only if there is a FIFO (named pipe) with the "
12546 "given C<path> name."
12550 #: ../fish/guestfish-actions.pod:2401
12551 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2401
12556 #: ../fish/guestfish-actions.pod:2403
12557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2403
12567 #: ../fish/guestfish-actions.pod:2405
12568 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2405
12569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3506
12570 #: ../src/guestfs-actions.pod:3506
12572 "This returns C<true> if and only if there is a regular file with the given "
12573 "C<path> name. Note that it returns false for other objects like directories."
12577 #: ../fish/guestfish-actions.pod:2411
12578 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2411
12579 msgid "is-launching"
12580 msgstr "is-launching"
12583 #: ../fish/guestfish-actions.pod:2413
12584 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2413
12594 #: ../fish/guestfish-actions.pod:2415
12595 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2415
12596 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3521
12597 #: ../src/guestfs-actions.pod:3521
12599 "This returns true iff this handle is launching the subprocess (in the "
12600 "C<LAUNCHING> state)."
12604 #: ../fish/guestfish-actions.pod:2420
12605 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2420
12610 #: ../fish/guestfish-actions.pod:2422
12611 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2422
12617 " is-lv пристрій\n"
12621 #: ../fish/guestfish-actions.pod:2424
12622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2424
12623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3536
12624 #: ../src/guestfs-actions.pod:3536
12626 "This command tests whether C<device> is a logical volume, and returns true "
12627 "iff this is the case."
12631 #: ../fish/guestfish-actions.pod:2427
12632 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2427
12637 #: ../fish/guestfish-actions.pod:2429
12638 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2429
12648 #: ../fish/guestfish-actions.pod:2431
12649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2431
12650 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3548
12651 #: ../src/guestfs-actions.pod:3548
12653 "This returns true iff this handle is ready to accept commands (in the "
12658 #: ../fish/guestfish-actions.pod:2436
12659 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2436
12664 #: ../fish/guestfish-actions.pod:2438
12665 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2438
12668 " is-socket path\n"
12671 " is-socket шлях\n"
12675 #: ../fish/guestfish-actions.pod:2440
12676 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2440
12677 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3563
12678 #: ../src/guestfs-actions.pod:3563
12680 "This returns C<true> if and only if there is a Unix domain socket with the "
12681 "given C<path> name."
12685 #: ../fish/guestfish-actions.pod:2445
12686 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2445
12688 msgstr "is-symlink"
12691 #: ../fish/guestfish-actions.pod:2447
12692 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2447
12695 " is-symlink path\n"
12698 " is-symlink шлях\n"
12702 #: ../fish/guestfish-actions.pod:2449
12703 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2449
12704 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3578
12705 #: ../src/guestfs-actions.pod:3578
12707 "This returns C<true> if and only if there is a symbolic link with the given "
12712 #: ../fish/guestfish-actions.pod:2454
12713 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2454
12718 #: ../fish/guestfish-actions.pod:2456
12719 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2456
12727 #: ../fish/guestfish-actions.pod:2458
12728 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2458
12729 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3593
12730 #: ../src/guestfs-actions.pod:3593
12732 "This returns true iff the file exists and the file is empty or it contains "
12737 #: ../fish/guestfish-actions.pod:2461
12738 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2461
12739 msgid "is-zero-device"
12743 #: ../fish/guestfish-actions.pod:2463
12744 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2463
12747 " is-zero-device device\n"
12752 #: ../fish/guestfish-actions.pod:2465
12753 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2465
12754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3606
12755 #: ../src/guestfs-actions.pod:3606
12756 msgid "This returns true iff the device exists and contains all zero bytes."
12760 #: ../fish/guestfish-actions.pod:2467
12761 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2467
12762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3608
12763 #: ../src/guestfs-actions.pod:3608
12764 msgid "Note that for large devices this can take a long time to run."
12768 #: ../fish/guestfish-actions.pod:2469
12769 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2469
12770 msgid "kill-subprocess"
12771 msgstr "kill-subprocess"
12774 #: ../fish/guestfish-actions.pod:2471
12775 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2471
12778 " kill-subprocess\n"
12781 " kill-subprocess\n"
12785 #: ../fish/guestfish-actions.pod:2473
12786 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2473
12787 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3619
12788 #: ../src/guestfs-actions.pod:3619
12789 msgid "This kills the qemu subprocess. You should never need to call this."
12793 #: ../fish/guestfish-actions.pod:2475
12794 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2475
12799 #: ../fish/guestfish-actions.pod:2477
12800 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2477
12805 #: ../fish/guestfish-actions.pod:2479
12806 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2479
12816 #: ../fish/guestfish-actions.pod:2481
12817 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2481
12818 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3630
12819 #: ../src/guestfs-actions.pod:3630
12821 "Internally libguestfs is implemented by running a virtual machine using "
12826 #: ../fish/guestfish-actions.pod:2484
12827 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2484
12828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3633
12829 #: ../src/guestfs-actions.pod:3633
12831 "You should call this after configuring the handle (eg. adding drives) but "
12832 "before performing any actions."
12836 #: ../fish/guestfish-actions.pod:2487
12837 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2487
12842 #: ../fish/guestfish-actions.pod:2489
12843 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2489
12846 " lchown owner group path\n"
12849 " lchown власник група шлях\n"
12853 #: ../fish/guestfish-actions.pod:2491
12854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2491
12856 "Change the file owner to C<owner> and group to C<group>. This is like L</"
12857 "chown> but if C<path> is a symlink then the link itself is changed, not the "
12862 #: ../fish/guestfish-actions.pod:2499
12863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2499
12868 #: ../fish/guestfish-actions.pod:2501
12869 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2501
12872 " lgetxattr path name\n"
12875 " lgetxattr шлях назва\n"
12879 #: ../fish/guestfish-actions.pod:2503
12880 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2503
12881 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3673
12882 #: ../src/guestfs-actions.pod:3673
12884 "Get a single extended attribute from file C<path> named C<name>. If C<path> "
12885 "is a symlink, then this call returns an extended attribute from the symlink."
12889 #: ../fish/guestfish-actions.pod:2517
12890 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2517
12891 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12892 msgstr "Див. також L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12895 #: ../fish/guestfish-actions.pod:2519
12896 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2519
12898 msgstr "lgetxattrs"
12901 #: ../fish/guestfish-actions.pod:2521
12902 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2521
12905 " lgetxattrs path\n"
12908 " lgetxattrs шлях\n"
12912 #: ../fish/guestfish-actions.pod:2523
12913 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2523
12915 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
12916 "it returns the extended attributes of the link itself."
12920 #: ../fish/guestfish-actions.pod:2527
12921 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2527
12926 #: ../fish/guestfish-actions.pod:2529
12927 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2529
12935 #: ../fish/guestfish-actions.pod:2531
12936 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2531
12937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3716
12938 #: ../src/guestfs-actions.pod:3716
12940 "List all 9p filesystems attached to the guest. A list of mount tags is "
12945 #: ../fish/guestfish-actions.pod:2534
12946 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2534
12947 msgid "list-devices"
12948 msgstr "list-devices"
12951 #: ../fish/guestfish-actions.pod:2536
12952 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2536
12962 #: ../fish/guestfish-actions.pod:2538
12963 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2538
12964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3730
12965 #: ../src/guestfs-actions.pod:3730
12966 msgid "List all the block devices."
12970 #: ../fish/guestfish-actions.pod:2540
12971 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2540
12972 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3732
12973 #: ../src/guestfs-actions.pod:3732
12974 msgid "The full block device names are returned, eg. C</dev/sda>."
12978 #: ../fish/guestfish-actions.pod:2544
12979 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2544
12980 msgid "list-dm-devices"
12984 #: ../fish/guestfish-actions.pod:2546
12985 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2546
12988 " list-dm-devices\n"
12993 #: ../fish/guestfish-actions.pod:2548
12994 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2548
12995 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3747
12996 #: ../src/guestfs-actions.pod:3747
12997 msgid "List all device mapper devices."
13001 #: ../fish/guestfish-actions.pod:2550
13002 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2550
13004 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
13005 "previous call to L</luks-open>."
13009 #: ../fish/guestfish-actions.pod:2553
13010 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2553
13012 "Device mapper devices which correspond to logical volumes are I<not> "
13013 "returned in this list. Call L</lvs> if you want to list logical volumes."
13017 #: ../fish/guestfish-actions.pod:2557
13018 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2557
13019 msgid "list-filesystems"
13020 msgstr "list-filesystems"
13023 #: ../fish/guestfish-actions.pod:2559
13024 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2559
13027 " list-filesystems\n"
13030 " list-filesystems\n"
13034 #: ../fish/guestfish-actions.pod:2561
13035 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2561
13036 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3767
13037 #: ../src/guestfs-actions.pod:3767
13039 "This inspection command looks for filesystems on partitions, block devices "
13040 "and logical volumes, returning a list of devices containing filesystems and "
13045 #: ../fish/guestfish-actions.pod:2565
13046 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2565
13047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3771
13048 #: ../src/guestfs-actions.pod:3771
13050 "The return value is a hash, where the keys are the devices containing "
13051 "filesystems, and the values are the filesystem types. For example:"
13055 #: ../fish/guestfish-actions.pod:2569
13056 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2569
13057 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3775
13058 #: ../src/guestfs-actions.pod:3775
13061 " \"/dev/sda1\" => \"ntfs\"\n"
13062 " \"/dev/sda2\" => \"ext2\"\n"
13063 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
13064 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
13069 #: ../fish/guestfish-actions.pod:2574
13070 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2574
13071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3780
13072 #: ../src/guestfs-actions.pod:3780
13074 "The value can have the special value \"unknown\", meaning the content of the "
13075 "device is undetermined or empty. \"swap\" means a Linux swap partition."
13079 #: ../fish/guestfish-actions.pod:2578
13080 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2578
13082 "This command runs other libguestfs commands, which might include L</mount> "
13083 "and L</umount>, and therefore you should use this soon after launch and only "
13084 "when nothing is mounted."
13088 #: ../fish/guestfish-actions.pod:2582
13089 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2582
13091 "Not all of the filesystems returned will be mountable. In particular, swap "
13092 "partitions are returned in the list. Also this command does not check that "
13093 "each filesystem found is valid and mountable, and some filesystems might be "
13094 "mountable but require special options. Filesystems may not all belong to a "
13095 "single logical operating system (use L</inspect-os> to look for OSes)."
13099 #: ../fish/guestfish-actions.pod:2590
13100 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2590
13101 msgid "list-partitions"
13102 msgstr "list-partitions"
13105 #: ../fish/guestfish-actions.pod:2592
13106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2592
13109 " list-partitions\n"
13112 " list-partitions\n"
13116 #: ../fish/guestfish-actions.pod:2594
13117 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2594
13118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3809
13119 #: ../src/guestfs-actions.pod:3809
13120 msgid "List all the partitions detected on all block devices."
13124 #: ../fish/guestfish-actions.pod:2596
13125 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2596
13126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3811
13127 #: ../src/guestfs-actions.pod:3811
13128 msgid "The full partition device names are returned, eg. C</dev/sda1>"
13132 #: ../fish/guestfish-actions.pod:2598
13133 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2598
13135 "This does not return logical volumes. For that you will need to call L</"
13140 #: ../fish/guestfish-actions.pod:2603
13141 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2603
13146 #: ../fish/guestfish-actions.pod:2605
13147 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2605
13157 #: ../fish/guestfish-actions.pod:2607
13158 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2607
13159 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3830
13160 #: ../src/guestfs-actions.pod:3830
13162 "List the files in C<directory> (relative to the root directory, there is no "
13163 "cwd) in the format of 'ls -la'."
13167 #: ../fish/guestfish-actions.pod:2610
13168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2610
13169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3833
13170 #: ../src/guestfs-actions.pod:3833
13172 "This command is mostly useful for interactive sessions. It is I<not> "
13173 "intended that you try to parse the output string."
13177 #: ../fish/guestfish-actions.pod:2613
13178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2613
13183 #: ../fish/guestfish-actions.pod:2615
13184 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2615
13187 " ln target linkname\n"
13190 " ln призначення назва_посилання\n"
13194 #: ../fish/guestfish-actions.pod:2617
13195 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2617
13196 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3848
13197 #: ../src/guestfs-actions.pod:3848
13198 msgid "This command creates a hard link using the C<ln> command."
13202 #: ../fish/guestfish-actions.pod:2619
13203 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2619
13208 #: ../fish/guestfish-actions.pod:2621
13209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2621
13212 " ln-f target linkname\n"
13215 " ln-f призначення назва_посилання\n"
13219 #: ../fish/guestfish-actions.pod:2623
13220 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2623
13221 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3861
13222 #: ../src/guestfs-actions.pod:3861
13224 "This command creates a hard link using the C<ln -f> command. The I<-f> "
13225 "option removes the link (C<linkname>) if it exists already."
13229 #: ../fish/guestfish-actions.pod:2626
13230 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2626
13235 #: ../fish/guestfish-actions.pod:2628
13236 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2628
13239 " ln-s target linkname\n"
13242 " ln-s призначення назва_посилання\n"
13246 #: ../fish/guestfish-actions.pod:2630
13247 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2630
13248 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3875
13249 #: ../src/guestfs-actions.pod:3875
13250 msgid "This command creates a symbolic link using the C<ln -s> command."
13254 #: ../fish/guestfish-actions.pod:2632
13255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2632
13260 #: ../fish/guestfish-actions.pod:2634
13261 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2634
13264 " ln-sf target linkname\n"
13267 " ln-sf призначення назва_посилання\n"
13271 #: ../fish/guestfish-actions.pod:2636
13272 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2636
13273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3888
13274 #: ../src/guestfs-actions.pod:3888
13276 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
13277 "option removes the link (C<linkname>) if it exists already."
13281 #: ../fish/guestfish-actions.pod:2639
13282 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2639
13283 msgid "lremovexattr"
13284 msgstr "lremovexattr"
13287 #: ../fish/guestfish-actions.pod:2641
13288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2641
13291 " lremovexattr xattr path\n"
13296 #: ../fish/guestfish-actions.pod:2643
13297 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2643
13299 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
13300 "it removes an extended attribute of the link itself."
13304 #: ../fish/guestfish-actions.pod:2647
13305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2647
13310 #: ../fish/guestfish-actions.pod:2649
13311 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2649
13321 #: ../fish/guestfish-actions.pod:2651
13322 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2651
13323 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3916
13324 #: ../src/guestfs-actions.pod:3916
13326 "List the files in C<directory> (relative to the root directory, there is no "
13327 "cwd). The '.' and '..' entries are not returned, but hidden files are shown."
13331 #: ../fish/guestfish-actions.pod:2655
13332 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2655
13334 "This command is mostly useful for interactive sessions. Programs should "
13335 "probably use L</readdir> instead."
13339 #: ../fish/guestfish-actions.pod:2658
13340 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2658
13345 #: ../fish/guestfish-actions.pod:2660
13346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2660
13349 " lsetxattr xattr val vallen path\n"
13354 #: ../fish/guestfish-actions.pod:2662
13355 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2662
13357 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
13358 "sets an extended attribute of the link itself."
13362 #: ../fish/guestfish-actions.pod:2666
13363 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2666
13368 #: ../fish/guestfish-actions.pod:2668
13369 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2668
13379 #: ../fish/guestfish-actions.pod:2670 ../fish/guestfish-actions.pod:4478
13380 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2670
13381 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4478
13382 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3952
13383 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6731
13384 #: ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:6731
13385 msgid "Returns file information for the given C<path>."
13389 #: ../fish/guestfish-actions.pod:2672
13390 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2672
13392 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
13393 "the link is stat-ed, not the file it refers to."
13397 #: ../fish/guestfish-actions.pod:2676
13398 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2676
13399 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3958
13400 #: ../src/guestfs-actions.pod:3958
13401 msgid "This is the same as the C<lstat(2)> system call."
13405 #: ../fish/guestfish-actions.pod:2678
13406 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2678
13411 #: ../fish/guestfish-actions.pod:2680
13412 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2680
13415 " lstatlist path 'names ...'\n"
13420 #: ../fish/guestfish-actions.pod:2682
13421 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2682
13423 "This call allows you to perform the L</lstat> operation on multiple files, "
13424 "where all files are in the directory C<path>. C<names> is the list of files "
13425 "from this directory."
13429 #: ../fish/guestfish-actions.pod:2686
13430 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2686
13431 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3977
13432 #: ../src/guestfs-actions.pod:3977
13434 "On return you get a list of stat structs, with a one-to-one correspondence "
13435 "to the C<names> list. If any name did not exist or could not be lstat'd, "
13436 "then the C<ino> field of that structure is set to C<-1>."
13440 #: ../fish/guestfish-actions.pod:2691
13441 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2691
13443 "This call is intended for programs that want to efficiently list a directory "
13444 "contents without making many round-trips. See also L</lxattrlist> for a "
13445 "similarly efficient call for getting extended attributes. Very long "
13446 "directory listings might cause the protocol message size to be exceeded, "
13447 "causing this call to fail. The caller must split up such requests into "
13448 "smaller groups of names."
13452 #: ../fish/guestfish-actions.pod:2699
13453 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2699
13454 msgid "luks-add-key"
13455 msgstr "luks-add-key"
13458 #: ../fish/guestfish-actions.pod:2701
13459 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2701
13462 " luks-add-key device keyslot\n"
13467 #: ../fish/guestfish-actions.pod:2703
13468 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2703
13469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4005
13470 #: ../src/guestfs-actions.pod:4005
13472 "This command adds a new key on LUKS device C<device>. C<key> is any "
13473 "existing key, and is used to access the device. C<newkey> is the new key to "
13474 "add. C<keyslot> is the key slot that will be replaced."
13478 #: ../fish/guestfish-actions.pod:2708
13479 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2708
13481 "Note that if C<keyslot> already contains a key, then this command will "
13482 "fail. You have to use L</luks-kill-slot> first to remove that key."
13486 #: ../fish/guestfish-actions.pod:2712 ../fish/guestfish-actions.pod:2734
13487 #: ../fish/guestfish-actions.pod:2747 ../fish/guestfish-actions.pod:2761
13488 #: ../fish/guestfish-actions.pod:2787 ../fish/guestfish-actions.pod:2797
13489 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2712
13490 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2734
13491 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2747
13492 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2761
13493 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2787
13494 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2797
13496 "This command has one or more key or passphrase parameters. Guestfish will "
13497 "prompt for these separately."
13501 #: ../fish/guestfish-actions.pod:2715
13502 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2715
13504 msgstr "luks-close"
13507 #: ../fish/guestfish-actions.pod:2717
13508 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2717
13511 " luks-close device\n"
13514 " luks-close пристрій\n"
13518 #: ../fish/guestfish-actions.pod:2719
13519 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2719
13521 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
13522 "luks-open-ro>. The C<device> parameter must be the name of the LUKS mapping "
13523 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
13528 #: ../fish/guestfish-actions.pod:2725
13529 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2725
13530 msgid "luks-format"
13531 msgstr "luks-format"
13534 #: ../fish/guestfish-actions.pod:2727
13535 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2727
13538 " luks-format device keyslot\n"
13543 #: ../fish/guestfish-actions.pod:2729
13544 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2729
13545 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4046
13546 #: ../src/guestfs-actions.pod:4046
13548 "This command erases existing data on C<device> and formats the device as a "
13549 "LUKS encrypted device. C<key> is the initial key, which is added to key "
13550 "slot C<slot>. (LUKS supports 8 key slots, numbered 0-7)."
13554 #: ../fish/guestfish-actions.pod:2737 ../fish/guestfish-actions.pod:2750
13555 #: ../fish/guestfish-actions.pod:2837 ../fish/guestfish-actions.pod:3498
13556 #: ../fish/guestfish-actions.pod:4024 ../fish/guestfish-actions.pod:4349
13557 #: ../fish/guestfish-actions.pod:4372 ../fish/guestfish-actions.pod:4394
13558 #: ../fish/guestfish-actions.pod:5132
13559 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2737
13560 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2750
13561 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2837
13562 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3498
13563 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4024
13564 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4349
13565 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4372
13566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4394
13567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5132
13568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4053
13569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4076
13570 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4219
13571 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5322
13572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6110
13573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6538
13574 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6568
13575 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6601
13576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7799
13577 #: ../src/guestfs-actions.pod:4053 ../src/guestfs-actions.pod:4076
13578 #: ../src/guestfs-actions.pod:4219 ../src/guestfs-actions.pod:5322
13579 #: ../src/guestfs-actions.pod:6110 ../src/guestfs-actions.pod:6538
13580 #: ../src/guestfs-actions.pod:6568 ../src/guestfs-actions.pod:6601
13581 #: ../src/guestfs-actions.pod:7799
13583 "B<This command is dangerous. Without careful use you can easily destroy all "
13588 #: ../fish/guestfish-actions.pod:2740
13589 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2740
13590 msgid "luks-format-cipher"
13591 msgstr "luks-format-cipher"
13594 #: ../fish/guestfish-actions.pod:2742
13595 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2742
13598 " luks-format-cipher device keyslot cipher\n"
13603 #: ../fish/guestfish-actions.pod:2744
13604 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2744
13606 "This command is the same as L</luks-format> but it also allows you to set "
13607 "the C<cipher> used."
13611 #: ../fish/guestfish-actions.pod:2753
13612 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2753
13613 msgid "luks-kill-slot"
13614 msgstr "luks-kill-slot"
13617 #: ../fish/guestfish-actions.pod:2755
13618 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2755
13621 " luks-kill-slot device keyslot\n"
13626 #: ../fish/guestfish-actions.pod:2757
13627 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2757
13628 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4093
13629 #: ../src/guestfs-actions.pod:4093
13631 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
13632 "device C<device>. C<key> must be one of the I<other> keys."
13636 #: ../fish/guestfish-actions.pod:2764
13637 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2764
13642 #: ../fish/guestfish-actions.pod:2766
13643 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2766
13646 " luks-open device mapname\n"
13651 #: ../fish/guestfish-actions.pod:2768
13652 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2768
13653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4113
13654 #: ../src/guestfs-actions.pod:4113
13656 "This command opens a block device which has been encrypted according to the "
13657 "Linux Unified Key Setup (LUKS) standard."
13661 #: ../fish/guestfish-actions.pod:2771
13662 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2771
13663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4116
13664 #: ../src/guestfs-actions.pod:4116
13665 msgid "C<device> is the encrypted block device or partition."
13669 #: ../fish/guestfish-actions.pod:2773
13670 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2773
13671 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4118
13672 #: ../src/guestfs-actions.pod:4118
13674 "The caller must supply one of the keys associated with the LUKS block "
13675 "device, in the C<key> parameter."
13679 #: ../fish/guestfish-actions.pod:2776
13680 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2776
13681 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4121
13682 #: ../src/guestfs-actions.pod:4121
13684 "This creates a new block device called C</dev/mapper/mapname>. Reads and "
13685 "writes to this block device are decrypted from and encrypted to the "
13686 "underlying C<device> respectively."
13690 #: ../fish/guestfish-actions.pod:2780
13691 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2780
13693 "If this block device contains LVM volume groups, then calling L</vgscan> "
13694 "followed by L</vg-activate-all> will make them visible."
13698 #: ../fish/guestfish-actions.pod:2784
13699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2784
13700 msgid "Use L</list-dm-devices> to list all device mapper devices."
13704 #: ../fish/guestfish-actions.pod:2790
13705 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2790
13706 msgid "luks-open-ro"
13707 msgstr "luks-open-ro"
13710 #: ../fish/guestfish-actions.pod:2792
13711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2792
13714 " luks-open-ro device mapname\n"
13719 #: ../fish/guestfish-actions.pod:2794
13720 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2794
13722 "This is the same as L</luks-open> except that a read-only mapping is created."
13726 #: ../fish/guestfish-actions.pod:2800
13727 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2800
13732 #: ../fish/guestfish-actions.pod:2802
13733 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2802
13736 " lvcreate logvol volgroup mbytes\n"
13741 #: ../fish/guestfish-actions.pod:2804
13742 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2804
13743 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4167
13744 #: ../src/guestfs-actions.pod:4167
13746 "This creates an LVM logical volume called C<logvol> on the volume group "
13747 "C<volgroup>, with C<size> megabytes."
13751 #: ../fish/guestfish-actions.pod:2807
13752 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2807
13753 msgid "lvm-canonical-lv-name"
13754 msgstr "lvm-canonical-lv-name"
13757 #: ../fish/guestfish-actions.pod:2809
13758 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2809
13761 " lvm-canonical-lv-name lvname\n"
13766 #: ../fish/guestfish-actions.pod:2811
13767 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2811
13768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4180
13769 #: ../src/guestfs-actions.pod:4180
13771 "This converts alternative naming schemes for LVs that you might find to the "
13772 "canonical name. For example, C</dev/mapper/VG-LV> is converted to C</dev/VG/"
13777 #: ../fish/guestfish-actions.pod:2815
13778 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2815
13779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4184
13780 #: ../src/guestfs-actions.pod:4184
13782 "This command returns an error if the C<lvname> parameter does not refer to a "
13787 #: ../fish/guestfish-actions.pod:2818
13788 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2818
13789 msgid "See also L</is-lv>."
13790 msgstr "Див. також L</is-lv>."
13793 #: ../fish/guestfish-actions.pod:2820
13794 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2820
13795 msgid "lvm-clear-filter"
13796 msgstr "lvm-clear-filter"
13799 #: ../fish/guestfish-actions.pod:2822
13800 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2822
13803 " lvm-clear-filter\n"
13806 " lvm-clear-filter\n"
13810 #: ../fish/guestfish-actions.pod:2824
13811 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2824
13813 "This undoes the effect of L</lvm-set-filter>. LVM will be able to see every "
13818 #: ../fish/guestfish-actions.pod:2827 ../fish/guestfish-actions.pod:2858
13819 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2827
13820 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2858
13821 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4202
13822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4244
13823 #: ../src/guestfs-actions.pod:4202 ../src/guestfs-actions.pod:4244
13825 "This command also clears the LVM cache and performs a volume group scan."
13829 #: ../fish/guestfish-actions.pod:2830
13830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2830
13831 msgid "lvm-remove-all"
13832 msgstr "lvm-remove-all"
13835 #: ../fish/guestfish-actions.pod:2832
13836 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2832
13839 " lvm-remove-all\n"
13842 " lvm-remove-all\n"
13846 #: ../fish/guestfish-actions.pod:2834
13847 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2834
13848 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4214
13849 #: ../src/guestfs-actions.pod:4214
13851 "This command removes all LVM logical volumes, volume groups and physical "
13856 #: ../fish/guestfish-actions.pod:2840
13857 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2840
13858 msgid "lvm-set-filter"
13859 msgstr "lvm-set-filter"
13862 #: ../fish/guestfish-actions.pod:2842
13863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2842
13866 " lvm-set-filter 'devices ...'\n"
13869 " lvm-set-filter 'пристрої...'\n"
13873 #: ../fish/guestfish-actions.pod:2844
13874 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2844
13875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4230
13876 #: ../src/guestfs-actions.pod:4230
13878 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
13879 "block devices in the list C<devices>, and will ignore all other attached "
13884 #: ../fish/guestfish-actions.pod:2848
13885 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2848
13886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4234
13887 #: ../src/guestfs-actions.pod:4234
13889 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
13890 "get LVM to ignore the duplicates, otherwise LVM can get confused. Note also "
13891 "there are two types of duplication possible: either cloned PVs/VGs which "
13892 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
13893 "same name. In normal operation you cannot create this situation, but you "
13894 "can do it outside LVM, eg. by cloning disk images or by bit twiddling "
13895 "inside the LVM metadata."
13899 #: ../fish/guestfish-actions.pod:2861
13900 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2861
13901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4247
13902 #: ../src/guestfs-actions.pod:4247
13903 msgid "You can filter whole block devices or individual partitions."
13907 #: ../fish/guestfish-actions.pod:2863
13908 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2863
13909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4249
13910 #: ../src/guestfs-actions.pod:4249
13912 "You cannot use this if any VG is currently in use (eg. contains a mounted "
13913 "filesystem), even if you are not filtering out that VG."
13917 #: ../fish/guestfish-actions.pod:2867
13918 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2867
13923 #: ../fish/guestfish-actions.pod:2869
13924 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2869
13927 " lvremove device\n"
13930 " lvremove пристрій\n"
13934 #: ../fish/guestfish-actions.pod:2871
13935 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2871
13936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4263
13937 #: ../src/guestfs-actions.pod:4263
13939 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
13940 "LV, such as C</dev/VG/LV>."
13944 #: ../fish/guestfish-actions.pod:2874
13945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2874
13946 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4266
13947 #: ../src/guestfs-actions.pod:4266
13949 "You can also remove all LVs in a volume group by specifying the VG name, C</"
13954 #: ../fish/guestfish-actions.pod:2877
13955 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2877
13960 #: ../fish/guestfish-actions.pod:2879
13961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2879
13964 " lvrename logvol newlogvol\n"
13969 #: ../fish/guestfish-actions.pod:2881
13970 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2881
13971 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4280
13972 #: ../src/guestfs-actions.pod:4280
13973 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
13977 #: ../fish/guestfish-actions.pod:2883
13978 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2883
13983 #: ../fish/guestfish-actions.pod:2885
13984 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2885
13987 " lvresize device mbytes\n"
13992 #: ../fish/guestfish-actions.pod:2887
13993 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2887
13994 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4293
13995 #: ../src/guestfs-actions.pod:4293
13997 "This resizes (expands or shrinks) an existing LVM logical volume to "
13998 "C<mbytes>. When reducing, data in the reduced part is lost."
14002 #: ../fish/guestfish-actions.pod:2891
14003 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2891
14004 msgid "lvresize-free"
14005 msgstr "lvresize-free"
14008 #: ../fish/guestfish-actions.pod:2893
14009 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2893
14012 " lvresize-free lv percent\n"
14017 #: ../fish/guestfish-actions.pod:2895
14018 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2895
14019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4308
14020 #: ../src/guestfs-actions.pod:4308
14022 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
14023 "remaining free space in the volume group. Commonly you would call this with "
14024 "pc = 100 which expands the logical volume as much as possible, using all "
14025 "remaining free space in the volume group."
14029 #: ../fish/guestfish-actions.pod:2901
14030 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2901
14035 #: ../fish/guestfish-actions.pod:2903
14036 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2903
14046 #: ../fish/guestfish-actions.pod:2905
14047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2905
14048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4323
14049 #: ../src/guestfs-actions.pod:4323
14051 "List all the logical volumes detected. This is the equivalent of the L<lvs"
14056 #: ../fish/guestfish-actions.pod:2908
14057 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2908
14058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4326
14059 #: ../src/guestfs-actions.pod:4326
14061 "This returns a list of the logical volume device names (eg. C</dev/"
14062 "VolGroup00/LogVol00>)."
14066 #: ../fish/guestfish-actions.pod:2911
14067 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2911
14068 msgid "See also L</lvs-full>, L</list-filesystems>."
14069 msgstr "Див. також L</lvs-full>, L</list-filesystems>."
14072 #: ../fish/guestfish-actions.pod:2913
14073 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2913
14078 #: ../fish/guestfish-actions.pod:2915
14079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2915
14089 #: ../fish/guestfish-actions.pod:2917
14090 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2917
14091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4342
14092 #: ../src/guestfs-actions.pod:4342
14094 "List all the logical volumes detected. This is the equivalent of the L<lvs"
14095 "(8)> command. The \"full\" version includes all fields."
14099 #: ../fish/guestfish-actions.pod:2920
14100 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2920
14105 #: ../fish/guestfish-actions.pod:2922
14106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2922
14112 " lvuuid пристрій\n"
14116 #: ../fish/guestfish-actions.pod:2924
14117 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2924
14118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4357
14119 #: ../src/guestfs-actions.pod:4357
14120 msgid "This command returns the UUID of the LVM LV C<device>."
14124 #: ../fish/guestfish-actions.pod:2926
14125 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2926
14127 msgstr "lxattrlist"
14130 #: ../fish/guestfish-actions.pod:2928
14131 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2928
14134 " lxattrlist path 'names ...'\n"
14139 #: ../fish/guestfish-actions.pod:2930
14140 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2930
14141 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4371
14142 #: ../src/guestfs-actions.pod:4371
14144 "This call allows you to get the extended attributes of multiple files, where "
14145 "all files are in the directory C<path>. C<names> is the list of files from "
14150 #: ../fish/guestfish-actions.pod:2934
14151 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2934
14152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4375
14153 #: ../src/guestfs-actions.pod:4375
14155 "On return you get a flat list of xattr structs which must be interpreted "
14156 "sequentially. The first xattr struct always has a zero-length C<attrname>. "
14157 "C<attrval> in this struct is zero-length to indicate there was an error "
14158 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
14159 "number (the number of following attributes for this file, which could be C<"
14160 "\"0\">). Then after the first xattr struct are the zero or more attributes "
14161 "for the first named file. This repeats for the second and subsequent files."
14165 #: ../fish/guestfish-actions.pod:2944
14166 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2944
14168 "This call is intended for programs that want to efficiently list a directory "
14169 "contents without making many round-trips. See also L</lstatlist> for a "
14170 "similarly efficient call for getting standard stats. Very long directory "
14171 "listings might cause the protocol message size to be exceeded, causing this "
14172 "call to fail. The caller must split up such requests into smaller groups of "
14177 #: ../fish/guestfish-actions.pod:2952
14178 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2952
14183 #: ../fish/guestfish-actions.pod:2954
14184 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2954
14194 #: ../fish/guestfish-actions.pod:2956
14195 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2956
14196 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4405
14197 #: ../src/guestfs-actions.pod:4405
14198 msgid "Create a directory named C<path>."
14202 #: ../fish/guestfish-actions.pod:2958
14203 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2958
14205 msgstr "mkdir-mode"
14208 #: ../fish/guestfish-actions.pod:2960
14209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2960
14212 " mkdir-mode path mode\n"
14215 " mkdir-mode шлях режим\n"
14219 #: ../fish/guestfish-actions.pod:2962
14220 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2962
14221 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4418
14222 #: ../src/guestfs-actions.pod:4418
14224 "This command creates a directory, setting the initial permissions of the "
14225 "directory to C<mode>."
14229 #: ../fish/guestfish-actions.pod:2965
14230 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2965
14231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4421
14232 #: ../src/guestfs-actions.pod:4421
14234 "For common Linux filesystems, the actual mode which is set will be C<mode & "
14235 "~umask & 01777>. Non-native-Linux filesystems may interpret the mode in "
14240 #: ../fish/guestfish-actions.pod:2969
14241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2969
14242 msgid "See also L</mkdir>, L</umask>"
14243 msgstr "Див. також L</mkdir>, L</umask>"
14246 #: ../fish/guestfish-actions.pod:2971
14247 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2971
14252 #: ../fish/guestfish-actions.pod:2973
14253 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2973
14263 #: ../fish/guestfish-actions.pod:2975
14264 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2975
14265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4437
14266 #: ../src/guestfs-actions.pod:4437
14268 "Create a directory named C<path>, creating any parent directories as "
14269 "necessary. This is like the C<mkdir -p> shell command."
14273 #: ../fish/guestfish-actions.pod:2978
14274 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2978
14279 #: ../fish/guestfish-actions.pod:2980
14280 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2980
14283 " mkdtemp template\n"
14286 " mkdtemp шаблон\n"
14290 #: ../fish/guestfish-actions.pod:2982
14291 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2982
14292 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4450
14293 #: ../src/guestfs-actions.pod:4450
14295 "This command creates a temporary directory. The C<template> parameter "
14296 "should be a full pathname for the temporary directory name with the final "
14297 "six characters being \"XXXXXX\"."
14301 #: ../fish/guestfish-actions.pod:2987
14302 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2987
14303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4455
14304 #: ../src/guestfs-actions.pod:4455
14306 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
14307 "being suitable for Windows filesystems."
14311 #: ../fish/guestfish-actions.pod:2990
14312 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2990
14313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4458
14314 #: ../src/guestfs-actions.pod:4458
14315 msgid "The name of the temporary directory that was created is returned."
14319 #: ../fish/guestfish-actions.pod:2993
14320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2993
14321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4461
14322 #: ../src/guestfs-actions.pod:4461
14323 msgid "The temporary directory is created with mode 0700 and is owned by root."
14327 #: ../fish/guestfish-actions.pod:2996
14328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2996
14329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4464
14330 #: ../src/guestfs-actions.pod:4464
14332 "The caller is responsible for deleting the temporary directory and its "
14333 "contents after use."
14337 #: ../fish/guestfish-actions.pod:2999
14338 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:2999
14339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4467
14340 #: ../src/guestfs-actions.pod:4467
14341 msgid "See also: L<mkdtemp(3)>"
14345 #: ../fish/guestfish-actions.pod:3001
14346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3001
14351 #: ../fish/guestfish-actions.pod:3003
14352 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3003
14355 " mke2fs-J fstype blocksize device journal\n"
14360 #: ../fish/guestfish-actions.pod:3005
14361 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3005
14362 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4483
14363 #: ../src/guestfs-actions.pod:4483
14365 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14366 "C<journal>. It is equivalent to the command:"
14370 #: ../fish/guestfish-actions.pod:3009
14371 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3009
14372 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4487
14373 #: ../src/guestfs-actions.pod:4487
14376 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
14379 " mke2fs -t fstype -b blocksize -J device=<журнал> <пристрій>\n"
14383 #: ../fish/guestfish-actions.pod:3011
14384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3011
14385 msgid "See also L</mke2journal>."
14386 msgstr "Див. також L</mke2journal>."
14389 #: ../fish/guestfish-actions.pod:3013
14390 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3013
14395 #: ../fish/guestfish-actions.pod:3015
14396 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3015
14399 " mke2fs-JL fstype blocksize device label\n"
14404 #: ../fish/guestfish-actions.pod:3017
14405 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3017
14406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4504
14407 #: ../src/guestfs-actions.pod:4504
14409 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14410 "the journal labeled C<label>."
14414 #: ../fish/guestfish-actions.pod:3020
14415 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3020
14416 msgid "See also L</mke2journal-L>."
14417 msgstr "Див. також L</mke2journal-L>."
14420 #: ../fish/guestfish-actions.pod:3022
14421 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3022
14426 #: ../fish/guestfish-actions.pod:3024
14427 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3024
14430 " mke2fs-JU fstype blocksize device uuid\n"
14435 #: ../fish/guestfish-actions.pod:3026
14436 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3026
14437 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4522
14438 #: ../src/guestfs-actions.pod:4522
14440 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14441 "the journal with UUID C<uuid>."
14445 #: ../fish/guestfish-actions.pod:3029
14446 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3029
14447 msgid "See also L</mke2journal-U>."
14448 msgstr "Див. також L</mke2journal-U>."
14451 #: ../fish/guestfish-actions.pod:3031
14452 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3031
14453 msgid "mke2journal"
14454 msgstr "mke2journal"
14457 #: ../fish/guestfish-actions.pod:3033
14458 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3033
14461 " mke2journal blocksize device\n"
14466 #: ../fish/guestfish-actions.pod:3035
14467 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3035
14468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4538
14469 #: ../src/guestfs-actions.pod:4538
14471 "This creates an ext2 external journal on C<device>. It is equivalent to the "
14476 #: ../fish/guestfish-actions.pod:3038
14477 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3038
14478 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4541
14479 #: ../src/guestfs-actions.pod:4541
14482 " mke2fs -O journal_dev -b blocksize device\n"
14487 #: ../fish/guestfish-actions.pod:3040
14488 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3040
14489 msgid "mke2journal-L"
14490 msgstr "mke2journal-L"
14493 #: ../fish/guestfish-actions.pod:3042
14494 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3042
14497 " mke2journal-L blocksize label device\n"
14502 #: ../fish/guestfish-actions.pod:3044
14503 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3044
14504 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4555
14505 #: ../src/guestfs-actions.pod:4555
14506 msgid "This creates an ext2 external journal on C<device> with label C<label>."
14510 #: ../fish/guestfish-actions.pod:3046
14511 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3046
14512 msgid "mke2journal-U"
14513 msgstr "mke2journal-U"
14516 #: ../fish/guestfish-actions.pod:3048
14517 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3048
14520 " mke2journal-U blocksize uuid device\n"
14525 #: ../fish/guestfish-actions.pod:3050
14526 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3050
14527 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4569
14528 #: ../src/guestfs-actions.pod:4569
14529 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
14533 #: ../fish/guestfish-actions.pod:3052
14534 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3052
14539 #: ../fish/guestfish-actions.pod:3054
14540 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3054
14543 " mkfifo mode path\n"
14546 " mkfifo режим шлях\n"
14550 #: ../fish/guestfish-actions.pod:3056
14551 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3056
14553 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>. It "
14554 "is just a convenient wrapper around L</mknod>."
14558 #: ../fish/guestfish-actions.pod:3062
14559 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3062
14564 #: ../fish/guestfish-actions.pod:3064
14565 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3064
14568 " mkfs fstype device\n"
14571 " mkfs тип_файлової_системи пристрій\n"
14575 #: ../fish/guestfish-actions.pod:3066
14576 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3066
14577 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4599
14578 #: ../src/guestfs-actions.pod:4599
14580 "This creates a filesystem on C<device> (usually a partition or LVM logical "
14581 "volume). The filesystem type is C<fstype>, for example C<ext3>."
14585 #: ../fish/guestfish-actions.pod:3070
14586 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3070
14591 #: ../fish/guestfish-actions.pod:3072
14592 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3072
14595 " mkfs-b fstype blocksize device\n"
14600 #: ../fish/guestfish-actions.pod:3074
14601 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3074
14603 "This call is similar to L</mkfs>, but it allows you to control the block "
14604 "size of the resulting filesystem. Supported block sizes depend on the "
14605 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
14609 #: ../fish/guestfish-actions.pod:3079 ../fish/guestfish-actions.pod:3106
14610 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3079
14611 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3106
14612 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4620
14613 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4665
14614 #: ../src/guestfs-actions.pod:4620 ../src/guestfs-actions.pod:4665
14616 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
14621 #: ../fish/guestfish-actions.pod:3082
14622 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3082
14623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4625
14624 #: ../src/guestfs-actions.pod:4625
14626 "This function is deprecated. In new code, use the C<mkfs_opts> call instead."
14630 #: ../fish/guestfish-actions.pod:3089
14631 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3089
14636 #: ../fish/guestfish-actions.pod:3091
14637 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3091
14640 " mkfs-opts fstype device [blocksize:..] [features:..] [inode:..] [sectorsize:..]\n"
14645 #: ../fish/guestfish-actions.pod:3093
14646 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3093
14647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4652
14648 #: ../src/guestfs-actions.pod:4652
14650 "This function creates a filesystem on C<device>. The filesystem type is "
14651 "C<fstype>, for example C<ext3>."
14655 #: ../fish/guestfish-actions.pod:3100
14656 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3100
14657 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4659
14658 #: ../src/guestfs-actions.pod:4659
14659 msgid "C<blocksize>"
14660 msgstr "C<blocksize>"
14663 #: ../fish/guestfish-actions.pod:3102
14664 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3102
14665 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4661
14666 #: ../src/guestfs-actions.pod:4661
14668 "The filesystem block size. Supported block sizes depend on the filesystem "
14669 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
14674 #: ../fish/guestfish-actions.pod:3109
14675 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3109
14676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4668
14677 #: ../src/guestfs-actions.pod:4668
14678 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
14682 #: ../fish/guestfish-actions.pod:3111
14683 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3111
14684 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4670
14685 #: ../src/guestfs-actions.pod:4670
14686 msgid "C<features>"
14687 msgstr "C<features>"
14690 #: ../fish/guestfish-actions.pod:3113
14691 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3113
14692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4672
14693 #: ../src/guestfs-actions.pod:4672
14694 msgid "This passes the I<-O> parameter to the external mkfs program."
14698 #: ../fish/guestfish-actions.pod:3115
14699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3115
14700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4674
14701 #: ../src/guestfs-actions.pod:4674
14703 "For certain filesystem types, this allows extra filesystem features to be "
14704 "selected. See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
14708 #: ../fish/guestfish-actions.pod:3119
14709 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3119
14710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4678
14711 #: ../src/guestfs-actions.pod:4678
14713 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem "
14718 #: ../fish/guestfish-actions.pod:3122
14719 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3122
14720 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4681
14721 #: ../src/guestfs-actions.pod:4681
14726 #: ../fish/guestfish-actions.pod:3124
14727 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3124
14728 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4683
14729 #: ../src/guestfs-actions.pod:4683
14731 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
14732 "sets the inode size (only for ext2/3/4 filesystems at present)."
14736 #: ../fish/guestfish-actions.pod:3127
14737 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3127
14738 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4686
14739 #: ../src/guestfs-actions.pod:4686
14740 msgid "C<sectorsize>"
14744 #: ../fish/guestfish-actions.pod:3129
14745 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3129
14746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4688
14747 #: ../src/guestfs-actions.pod:4688
14749 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
14750 "sets sector size for ufs filesystem."
14754 #: ../fish/guestfish-actions.pod:3136
14755 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3136
14756 msgid "mkmountpoint"
14757 msgstr "mkmountpoint"
14760 #: ../fish/guestfish-actions.pod:3138
14761 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3138
14764 " mkmountpoint exemptpath\n"
14769 #: ../fish/guestfish-actions.pod:3140
14770 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3140
14772 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
14773 "to create extra mountpoints before mounting the first filesystem."
14777 #: ../fish/guestfish-actions.pod:3144
14778 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3144
14779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4731
14780 #: ../src/guestfs-actions.pod:4731
14782 "These calls are I<only> necessary in some very limited circumstances, mainly "
14783 "the case where you want to mount a mix of unrelated and/or read-only "
14784 "filesystems together."
14788 #: ../fish/guestfish-actions.pod:3148
14789 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3148
14790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4735
14791 #: ../src/guestfs-actions.pod:4735
14793 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
14794 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
14795 "inside that. You can unpack this as follows in guestfish:"
14799 #: ../fish/guestfish-actions.pod:3153
14800 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3153
14801 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4740
14802 #: ../src/guestfs-actions.pod:4740
14805 " add-ro Fedora-11-i686-Live.iso\n"
14807 " mkmountpoint /cd\n"
14808 " mkmountpoint /sqsh\n"
14809 " mkmountpoint /ext3fs\n"
14810 " mount /dev/sda /cd\n"
14811 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14812 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14815 " add-ro Fedora-11-i686-Live.iso\n"
14817 " mkmountpoint /cd\n"
14818 " mkmountpoint /sqsh\n"
14819 " mkmountpoint /ext3fs\n"
14820 " mount /dev/sda /cd\n"
14821 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14822 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14826 #: ../fish/guestfish-actions.pod:3162
14827 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3162
14828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4749
14829 #: ../src/guestfs-actions.pod:4749
14830 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
14834 #: ../fish/guestfish-actions.pod:3164
14835 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3164
14837 "L</mkmountpoint> is not compatible with L</umount-all>. You may get "
14838 "unexpected errors if you try to mix these calls. It is safest to manually "
14839 "unmount filesystems and remove mountpoints after use."
14843 #: ../fish/guestfish-actions.pod:3168
14844 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3168
14846 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
14847 "for this to work for manual mountpoints, you must ensure that the innermost "
14848 "mountpoints have the longest pathnames, as in the example code above."
14852 #: ../fish/guestfish-actions.pod:3173
14853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3173
14854 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4760
14855 #: ../src/guestfs-actions.pod:4760
14857 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
14861 #: ../fish/guestfish-actions.pod:3175
14862 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3175
14864 "Autosync [see L</set-autosync>, this is set by default on handles] can cause "
14865 "L</umount-all> to be called when the handle is closed which can also trigger "
14870 #: ../fish/guestfish-actions.pod:3179
14871 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3179
14876 #: ../fish/guestfish-actions.pod:3181
14877 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3181
14880 " mknod mode devmajor devminor path\n"
14885 #: ../fish/guestfish-actions.pod:3183
14886 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3183
14887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4779
14888 #: ../src/guestfs-actions.pod:4779
14890 "This call creates block or character special devices, or named pipes (FIFOs)."
14894 #: ../fish/guestfish-actions.pod:3186
14895 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3186
14896 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4782
14897 #: ../src/guestfs-actions.pod:4782
14899 "The C<mode> parameter should be the mode, using the standard constants. "
14900 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
14901 "used when creating block and character special devices."
14905 #: ../fish/guestfish-actions.pod:3191
14906 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3191
14908 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
14909 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
14910 "regular file). These constants are available in the standard Linux header "
14911 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
14912 "wrappers around this command which bitwise OR in the appropriate constant "
14917 #: ../fish/guestfish-actions.pod:3201
14918 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3201
14923 #: ../fish/guestfish-actions.pod:3203
14924 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3203
14927 " mknod-b mode devmajor devminor path\n"
14932 #: ../fish/guestfish-actions.pod:3205
14933 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3205
14935 "This call creates a block device node called C<path> with mode C<mode> and "
14936 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
14937 "wrapper around L</mknod>."
14941 #: ../fish/guestfish-actions.pod:3211
14942 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3211
14947 #: ../fish/guestfish-actions.pod:3213
14948 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3213
14951 " mknod-c mode devmajor devminor path\n"
14956 #: ../fish/guestfish-actions.pod:3215
14957 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3215
14959 "This call creates a char device node called C<path> with mode C<mode> and "
14960 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
14961 "wrapper around L</mknod>."
14965 #: ../fish/guestfish-actions.pod:3221
14966 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3221
14971 #: ../fish/guestfish-actions.pod:3223
14972 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3223
14978 " mkswap пристрій\n"
14982 #: ../fish/guestfish-actions.pod:3225
14983 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3225
14984 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4845
14985 #: ../src/guestfs-actions.pod:4845
14986 msgid "Create a swap partition on C<device>."
14990 #: ../fish/guestfish-actions.pod:3227
14991 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3227
14996 #: ../fish/guestfish-actions.pod:3229
14997 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3229
15000 " mkswap-L label device\n"
15003 " mkswap-L мітка пристрій\n"
15007 #: ../fish/guestfish-actions.pod:3231
15008 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3231
15009 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4858
15010 #: ../src/guestfs-actions.pod:4858
15011 msgid "Create a swap partition on C<device> with label C<label>."
15015 #: ../fish/guestfish-actions.pod:3233
15016 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3233
15017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4860
15018 #: ../src/guestfs-actions.pod:4860
15020 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
15021 "sda>), just to a partition. This appears to be a limitation of the kernel "
15026 #: ../fish/guestfish-actions.pod:3237
15027 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3237
15032 #: ../fish/guestfish-actions.pod:3239
15033 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3239
15036 " mkswap-U uuid device\n"
15039 " mkswap-U uuid пристрій\n"
15043 #: ../fish/guestfish-actions.pod:3241
15044 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3241
15045 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4875
15046 #: ../src/guestfs-actions.pod:4875
15047 msgid "Create a swap partition on C<device> with UUID C<uuid>."
15051 #: ../fish/guestfish-actions.pod:3243
15052 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3243
15053 msgid "mkswap-file"
15054 msgstr "mkswap-file"
15057 #: ../fish/guestfish-actions.pod:3245
15058 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3245
15061 " mkswap-file path\n"
15064 " mkswap-file шлях\n"
15068 #: ../fish/guestfish-actions.pod:3247
15069 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3247
15070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4887
15071 #: ../src/guestfs-actions.pod:4887
15072 msgid "Create a swap file."
15073 msgstr "Створити файл резервної пам’яті."
15076 #: ../fish/guestfish-actions.pod:3249
15077 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3249
15079 "This command just writes a swap file signature to an existing file. To "
15080 "create the file itself, use something like L</fallocate>."
15084 #: ../fish/guestfish-actions.pod:3252
15085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3252
15090 #: ../fish/guestfish-actions.pod:3254
15091 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3254
15094 " modprobe modulename\n"
15097 " modprobe назва_модуля\n"
15101 #: ../fish/guestfish-actions.pod:3256
15102 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3256
15103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4902
15104 #: ../src/guestfs-actions.pod:4902
15105 msgid "This loads a kernel module in the appliance."
15109 #: ../fish/guestfish-actions.pod:3258
15110 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3258
15111 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4904
15112 #: ../src/guestfs-actions.pod:4904
15114 "The kernel module must have been whitelisted when libguestfs was built (see "
15115 "C<appliance/kmod.whitelist.in> in the source)."
15119 #: ../fish/guestfish-actions.pod:3261
15120 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3261
15125 #: ../fish/guestfish-actions.pod:3263
15126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3263
15129 " mount device mountpoint\n"
15132 " mount пристрій точка_монтування\n"
15136 #: ../fish/guestfish-actions.pod:3265
15137 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3265
15138 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4918
15139 #: ../src/guestfs-actions.pod:4918
15141 "Mount a guest disk at a position in the filesystem. Block devices are named "
15142 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest. If "
15143 "those block devices contain partitions, they will have the usual names (eg. "
15144 "C</dev/sda1>). Also LVM C</dev/VG/LV>-style names can be used."
15148 #: ../fish/guestfish-actions.pod:3271
15149 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3271
15150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4924
15151 #: ../src/guestfs-actions.pod:4924
15153 "The rules are the same as for L<mount(2)>: A filesystem must first be "
15154 "mounted on C</> before others can be mounted. Other filesystems can only be "
15155 "mounted on directories which already exist."
15159 #: ../fish/guestfish-actions.pod:3276
15160 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3276
15161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4929
15162 #: ../src/guestfs-actions.pod:4929
15164 "The mounted filesystem is writable, if we have sufficient permissions on the "
15165 "underlying device."
15169 #: ../fish/guestfish-actions.pod:3279
15170 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3279
15172 "B<Important note:> When you use this call, the filesystem options C<sync> "
15173 "and C<noatime> are set implicitly. This was originally done because we "
15174 "thought it would improve reliability, but it turns out that I<-o sync> has a "
15175 "very large negative performance impact and negligible effect on "
15176 "reliability. Therefore we recommend that you avoid using L</mount> in any "
15177 "code that needs performance, and instead use L</mount-options> (use an empty "
15178 "string for the first parameter if you don't want any options)."
15182 #: ../fish/guestfish-actions.pod:3289
15183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3289
15184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4944
15185 #: ../src/guestfs-actions.pod:4944
15187 "This function is deprecated. In new code, use the C<mount_options> call "
15192 #: ../fish/guestfish-actions.pod:3296
15193 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3296
15198 #: ../fish/guestfish-actions.pod:3298
15199 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3298
15202 " mount-9p mounttag mountpoint [options:..]\n"
15207 #: ../fish/guestfish-actions.pod:3300
15208 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3300
15209 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4968
15210 #: ../src/guestfs-actions.pod:4968
15212 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
15217 #: ../fish/guestfish-actions.pod:3303
15218 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3303
15219 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4971
15220 #: ../src/guestfs-actions.pod:4971
15222 "If required, C<trans=virtio> will be automatically added to the options. "
15223 "Any other options required can be passed in the optional C<options> "
15228 #: ../fish/guestfish-actions.pod:3309
15229 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3309
15231 msgstr "mount-loop"
15234 #: ../fish/guestfish-actions.pod:3311
15235 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3311
15238 " mount-loop file mountpoint\n"
15243 #: ../fish/guestfish-actions.pod:3313
15244 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3313
15245 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5010
15246 #: ../src/guestfs-actions.pod:5010
15248 "This command lets you mount C<file> (a filesystem image in a file) on a "
15249 "mount point. It is entirely equivalent to the command C<mount -o loop file "
15254 #: ../fish/guestfish-actions.pod:3317
15255 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3317
15256 msgid "mount-options"
15257 msgstr "mount-options"
15260 #: ../fish/guestfish-actions.pod:3319
15261 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3319
15264 " mount-options options device mountpoint\n"
15269 #: ../fish/guestfish-actions.pod:3321
15270 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3321
15272 "This is the same as the L</mount> command, but it allows you to set the "
15273 "mount options as for the L<mount(8)> I<-o> flag."
15277 #: ../fish/guestfish-actions.pod:3325
15278 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3325
15279 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5030
15280 #: ../src/guestfs-actions.pod:5030
15282 "If the C<options> parameter is an empty string, then no options are passed "
15283 "(all options default to whatever the filesystem uses)."
15287 #: ../fish/guestfish-actions.pod:3329
15288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3329
15293 #: ../fish/guestfish-actions.pod:3331
15294 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3331
15297 " mount-ro device mountpoint\n"
15300 " mount-ro пристрій точка_монтування\n"
15304 #: ../fish/guestfish-actions.pod:3333
15305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3333
15307 "This is the same as the L</mount> command, but it mounts the filesystem with "
15308 "the read-only (I<-o ro>) flag."
15312 #: ../fish/guestfish-actions.pod:3336
15313 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3336
15318 #: ../fish/guestfish-actions.pod:3338
15319 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3338
15322 " mount-vfs options vfstype device mountpoint\n"
15327 #: ../fish/guestfish-actions.pod:3340
15328 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3340
15330 "This is the same as the L</mount> command, but it allows you to set both the "
15331 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
15335 #: ../fish/guestfish-actions.pod:3344
15336 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3344
15337 msgid "mountpoints"
15338 msgstr "mountpoints"
15341 #: ../fish/guestfish-actions.pod:3346
15342 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3346
15352 #: ../fish/guestfish-actions.pod:3348
15353 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3348
15355 "This call is similar to L</mounts>. That call returns a list of devices. "
15356 "This one returns a hash table (map) of device name to directory where the "
15357 "device is mounted."
15361 #: ../fish/guestfish-actions.pod:3352
15362 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3352
15367 #: ../fish/guestfish-actions.pod:3354
15368 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3354
15378 #: ../fish/guestfish-actions.pod:3356
15379 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3356
15380 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5091
15381 #: ../src/guestfs-actions.pod:5091
15383 "This returns the list of currently mounted filesystems. It returns the list "
15384 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
15388 #: ../fish/guestfish-actions.pod:3359
15389 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3359
15390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5094
15391 #: ../src/guestfs-actions.pod:5094
15392 msgid "Some internal mounts are not shown."
15396 #: ../fish/guestfish-actions.pod:3361
15397 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3361
15398 msgid "See also: L</mountpoints>"
15399 msgstr "Див. також L</mountpoints>"
15402 #: ../fish/guestfish-actions.pod:3363
15403 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3363
15408 #: ../fish/guestfish-actions.pod:3365
15409 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3365
15415 " mv джерело призначення\n"
15419 #: ../fish/guestfish-actions.pod:3367
15420 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3367
15421 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5111
15422 #: ../src/guestfs-actions.pod:5111
15424 "This moves a file from C<src> to C<dest> where C<dest> is either a "
15425 "destination filename or destination directory."
15429 #: ../fish/guestfish-actions.pod:3370
15430 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3370
15431 msgid "ntfs-3g-probe"
15432 msgstr "ntfs-3g-probe"
15435 #: ../fish/guestfish-actions.pod:3372
15436 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3372
15439 " ntfs-3g-probe true|false device\n"
15444 #: ../fish/guestfish-actions.pod:3374
15445 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3374
15446 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5125
15447 #: ../src/guestfs-actions.pod:5125
15449 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
15450 "C<device> for mountability. (Not all NTFS volumes can be mounted read-"
15451 "write, and some cannot be mounted at all)."
15455 #: ../fish/guestfish-actions.pod:3378
15456 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3378
15457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5129
15458 #: ../src/guestfs-actions.pod:5129
15460 "C<rw> is a boolean flag. Set it to true if you want to test if the volume "
15461 "can be mounted read-write. Set it to false if you want to test if the "
15462 "volume can be mounted read-only."
15466 #: ../fish/guestfish-actions.pod:3382
15467 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3382
15468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5133
15469 #: ../src/guestfs-actions.pod:5133
15471 "The return value is an integer which C<0> if the operation would succeed, or "
15472 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
15476 #: ../fish/guestfish-actions.pod:3386
15477 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3386
15479 msgstr "ntfsresize"
15482 #: ../fish/guestfish-actions.pod:3388
15483 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3388
15486 " ntfsresize device\n"
15489 " ntfsresize пристрій\n"
15493 #: ../fish/guestfish-actions.pod:3390 ../fish/guestfish-actions.pod:3414
15494 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3390
15495 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3414
15496 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5147
15497 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5186
15498 #: ../src/guestfs-actions.pod:5147 ../src/guestfs-actions.pod:5186
15500 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
15501 "size of the underlying device."
15505 #: ../fish/guestfish-actions.pod:3393
15506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3393
15507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5150
15508 #: ../src/guestfs-actions.pod:5150
15510 "I<Note:> After the resize operation, the filesystem is marked as requiring a "
15511 "consistency check (for safety). You have to boot into Windows to perform "
15512 "this check and clear this condition. Furthermore, ntfsresize refuses to "
15513 "resize filesystems which have been marked in this way. So in effect it is "
15514 "not possible to call ntfsresize multiple times on a single filesystem "
15515 "without booting into Windows between each resize."
15519 #: ../fish/guestfish-actions.pod:3401 ../fish/guestfish-actions.pod:3440
15520 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3401
15521 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3440
15522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5158
15523 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5212
15524 #: ../src/guestfs-actions.pod:5158 ../src/guestfs-actions.pod:5212
15525 msgid "See also L<ntfsresize(8)>."
15529 #: ../fish/guestfish-actions.pod:3403 ../fish/guestfish-actions.pod:3451
15530 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3403
15531 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3451
15532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5162
15533 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5252
15534 #: ../src/guestfs-actions.pod:5162 ../src/guestfs-actions.pod:5252
15536 "This function is deprecated. In new code, use the C<ntfsresize_opts> call "
15541 #: ../fish/guestfish-actions.pod:3410
15542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3410
15543 msgid "ntfsresize-opts"
15547 #: ../fish/guestfish-actions.pod:3412
15548 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3412
15551 " ntfsresize-opts device [size:..] [force:..]\n"
15556 #: ../fish/guestfish-actions.pod:3423
15557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3423
15558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5195
15559 #: ../src/guestfs-actions.pod:5195
15561 "The new size (in bytes) of the filesystem. If omitted, the filesystem is "
15562 "resized to fit the container (eg. partition)."
15566 #: ../fish/guestfish-actions.pod:3426
15567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3426
15568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5198
15569 #: ../src/guestfs-actions.pod:5198
15574 #: ../fish/guestfish-actions.pod:3428
15575 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3428
15576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5200
15577 #: ../src/guestfs-actions.pod:5200
15579 "If this option is true, then force the resize of the filesystem even if the "
15580 "filesystem is marked as requiring a consistency check."
15584 #: ../fish/guestfish-actions.pod:3431
15585 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3431
15587 "After the resize operation, the filesystem is always marked as requiring a "
15588 "consistency check (for safety). You have to boot into Windows to perform "
15589 "this check and clear this condition. If you I<don't> set the C<force> "
15590 "option then it is not possible to call L</ntfsresize-opts> multiple times on "
15591 "a single filesystem without booting into Windows between each resize."
15595 #: ../fish/guestfish-actions.pod:3444
15596 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3444
15597 msgid "ntfsresize-size"
15598 msgstr "ntfsresize-size"
15601 #: ../fish/guestfish-actions.pod:3446
15602 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3446
15605 " ntfsresize-size device size\n"
15610 #: ../fish/guestfish-actions.pod:3448
15611 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3448
15613 "This command is the same as L</ntfsresize> except that it allows you to "
15614 "specify the new size (in bytes) explicitly."
15618 #: ../fish/guestfish-actions.pod:3458
15619 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3458
15624 #: ../fish/guestfish-actions.pod:3460
15625 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3460
15628 " part-add device prlogex startsect endsect\n"
15633 #: ../fish/guestfish-actions.pod:3462
15634 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3462
15636 "This command adds a partition to C<device>. If there is no partition table "
15637 "on the device, call L</part-init> first."
15641 #: ../fish/guestfish-actions.pod:3465
15642 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3465
15643 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5273
15644 #: ../src/guestfs-actions.pod:5273
15646 "The C<prlogex> parameter is the type of partition. Normally you should pass "
15647 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
15648 "C<logical>) and C<e> (or C<extended>) partition types."
15652 #: ../fish/guestfish-actions.pod:3470
15653 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3470
15654 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5278
15655 #: ../src/guestfs-actions.pod:5278
15657 "C<startsect> and C<endsect> are the start and end of the partition in "
15658 "I<sectors>. C<endsect> may be negative, which means it counts backwards "
15659 "from the end of the disk (C<-1> is the last sector)."
15663 #: ../fish/guestfish-actions.pod:3474
15664 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3474
15666 "Creating a partition which covers the whole disk is not so easy. Use L</"
15667 "part-disk> to do that."
15671 #: ../fish/guestfish-actions.pod:3477
15672 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3477
15677 #: ../fish/guestfish-actions.pod:3479
15678 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3479
15681 " part-del device partnum\n"
15686 #: ../fish/guestfish-actions.pod:3481
15687 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3481
15688 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5296
15689 #: ../src/guestfs-actions.pod:5296
15690 msgid "This command deletes the partition numbered C<partnum> on C<device>."
15694 #: ../fish/guestfish-actions.pod:3483
15695 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3483
15696 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5298
15697 #: ../src/guestfs-actions.pod:5298
15699 "Note that in the case of MBR partitioning, deleting an extended partition "
15700 "also deletes any logical partitions it contains."
15704 #: ../fish/guestfish-actions.pod:3487
15705 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3487
15710 #: ../fish/guestfish-actions.pod:3489
15711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3489
15714 " part-disk device parttype\n"
15717 " part-disk пристрій тип_розділу\n"
15721 #: ../fish/guestfish-actions.pod:3491
15722 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3491
15724 "This command is simply a combination of L</part-init> followed by L</part-"
15725 "add> to create a single primary partition covering the whole disk."
15729 #: ../fish/guestfish-actions.pod:3495
15730 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3495
15732 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
15733 "possible values are described in L</part-init>."
15737 #: ../fish/guestfish-actions.pod:3501
15738 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3501
15739 msgid "part-get-bootable"
15740 msgstr "part-get-bootable"
15743 #: ../fish/guestfish-actions.pod:3503
15744 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3503
15747 " part-get-bootable device partnum\n"
15752 #: ../fish/guestfish-actions.pod:3505
15753 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3505
15754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5334
15755 #: ../src/guestfs-actions.pod:5334
15757 "This command returns true if the partition C<partnum> on C<device> has the "
15758 "bootable flag set."
15762 #: ../fish/guestfish-actions.pod:3508
15763 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3508
15764 msgid "See also L</part-set-bootable>."
15765 msgstr "Див. також L</part-set-bootable>."
15768 #: ../fish/guestfish-actions.pod:3510
15769 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3510
15770 msgid "part-get-mbr-id"
15771 msgstr "part-get-mbr-id"
15774 #: ../fish/guestfish-actions.pod:3512
15775 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3512
15778 " part-get-mbr-id device partnum\n"
15783 #: ../fish/guestfish-actions.pod:3514
15784 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3514
15785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5350
15786 #: ../src/guestfs-actions.pod:5350
15788 "Returns the MBR type byte (also known as the ID byte) from the numbered "
15789 "partition C<partnum>."
15793 #: ../fish/guestfish-actions.pod:3517 ../fish/guestfish-actions.pod:3661
15794 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3517
15795 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3661
15797 "Note that only MBR (old DOS-style) partitions have type bytes. You will get "
15798 "undefined results for other partition table types (see L</part-get-"
15803 #: ../fish/guestfish-actions.pod:3521
15804 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3521
15805 msgid "part-get-parttype"
15806 msgstr "part-get-parttype"
15809 #: ../fish/guestfish-actions.pod:3523
15810 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3523
15813 " part-get-parttype device\n"
15816 " part-get-parttype пристрій\n"
15820 #: ../fish/guestfish-actions.pod:3525
15821 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3525
15822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5367
15823 #: ../src/guestfs-actions.pod:5367
15825 "This command examines the partition table on C<device> and returns the "
15826 "partition table type (format) being used."
15830 #: ../fish/guestfish-actions.pod:3528
15831 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3528
15833 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
15834 "table), C<gpt> (a GPT/EFI-style partition table). Other values are "
15835 "possible, although unusual. See L</part-init> for a full list."
15839 #: ../fish/guestfish-actions.pod:3533
15840 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3533
15845 #: ../fish/guestfish-actions.pod:3535
15846 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3535
15849 " part-init device parttype\n"
15854 #: ../fish/guestfish-actions.pod:3537
15855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3537
15856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5387
15857 #: ../src/guestfs-actions.pod:5387
15859 "This creates an empty partition table on C<device> of one of the partition "
15860 "types listed below. Usually C<parttype> should be either C<msdos> or C<gpt> "
15861 "(for large disks)."
15865 #: ../fish/guestfish-actions.pod:3541
15866 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3541
15868 "Initially there are no partitions. Following this, you should call L</part-"
15869 "add> for each partition required."
15873 #: ../fish/guestfish-actions.pod:3544
15874 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3544
15875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5394
15876 #: ../src/guestfs-actions.pod:5394
15877 msgid "Possible values for C<parttype> are:"
15881 #: ../fish/guestfish-actions.pod:3548
15882 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3548
15883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5398
15884 #: ../src/guestfs-actions.pod:5398
15889 #: ../fish/guestfish-actions.pod:3550
15890 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3550
15891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5400
15892 #: ../src/guestfs-actions.pod:5400
15897 #: ../fish/guestfish-actions.pod:3552
15898 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3552
15899 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5402
15900 #: ../src/guestfs-actions.pod:5402
15901 msgid "Intel EFI / GPT partition table."
15905 #: ../fish/guestfish-actions.pod:3554
15906 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3554
15907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5404
15908 #: ../src/guestfs-actions.pod:5404
15910 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
15911 "and Intel-based Mac OS X. It also has limited backwards compatibility with "
15912 "the C<mbr> format."
15916 #: ../fish/guestfish-actions.pod:3558
15917 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3558
15918 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5408
15919 #: ../src/guestfs-actions.pod:5408
15924 #: ../fish/guestfish-actions.pod:3560
15925 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3560
15926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5410
15927 #: ../src/guestfs-actions.pod:5410
15932 #: ../fish/guestfish-actions.pod:3562
15933 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3562
15934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5412
15935 #: ../src/guestfs-actions.pod:5412
15937 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
15938 "Windows. This partition type will B<only> work for device sizes up to 2 "
15939 "TB. For large disks we recommend using C<gpt>."
15943 #: ../fish/guestfish-actions.pod:3569
15944 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3569
15945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5419
15946 #: ../src/guestfs-actions.pod:5419
15948 "Other partition table types that may work but are not supported include:"
15952 #: ../fish/guestfish-actions.pod:3574
15953 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3574
15954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5424
15955 #: ../src/guestfs-actions.pod:5424
15960 #: ../fish/guestfish-actions.pod:3576
15961 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3576
15962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5426
15963 #: ../src/guestfs-actions.pod:5426
15964 msgid "AIX disk labels."
15965 msgstr "Мітки дисків AIX."
15968 #: ../fish/guestfish-actions.pod:3578
15969 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3578
15970 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5428
15971 #: ../src/guestfs-actions.pod:5428
15973 #| msgid "B<amiga> | B<rdb>"
15975 msgstr "B<amiga> | B<rdb>"
15978 #: ../fish/guestfish-actions.pod:3580
15979 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3580
15980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5430
15981 #: ../src/guestfs-actions.pod:5430
15986 #: ../fish/guestfish-actions.pod:3582
15987 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3582
15988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5432
15989 #: ../src/guestfs-actions.pod:5432
15990 msgid "Amiga \"Rigid Disk Block\" format."
15991 msgstr "Формат \"Rigid Disk Block\" Amiga."
15994 #: ../fish/guestfish-actions.pod:3584
15995 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3584
15996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5434
15997 #: ../src/guestfs-actions.pod:5434
16002 #: ../fish/guestfish-actions.pod:3586
16003 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3586
16004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5436
16005 #: ../src/guestfs-actions.pod:5436
16006 msgid "BSD disk labels."
16007 msgstr "Мітки дисків BSD."
16010 #: ../fish/guestfish-actions.pod:3588
16011 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3588
16012 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5438
16013 #: ../src/guestfs-actions.pod:5438
16018 #: ../fish/guestfish-actions.pod:3590
16019 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3590
16020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5440
16021 #: ../src/guestfs-actions.pod:5440
16022 msgid "DASD, used on IBM mainframes."
16023 msgstr "DASD, використовувалися у мейнфреймах IBM."
16026 #: ../fish/guestfish-actions.pod:3592
16027 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3592
16028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5442
16029 #: ../src/guestfs-actions.pod:5442
16034 #: ../fish/guestfish-actions.pod:3594
16035 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3594
16036 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5444
16037 #: ../src/guestfs-actions.pod:5444
16038 msgid "MIPS/SGI volumes."
16039 msgstr "Томи MIPS/SGI."
16042 #: ../fish/guestfish-actions.pod:3596
16043 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3596
16044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5446
16045 #: ../src/guestfs-actions.pod:5446
16050 #: ../fish/guestfish-actions.pod:3598
16051 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3598
16052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5448
16053 #: ../src/guestfs-actions.pod:5448
16054 msgid "Old Mac partition format. Modern Macs use C<gpt>."
16055 msgstr "Старий формат розділів Mac. Сучасні системи Mac використовують C<gpt>."
16058 #: ../fish/guestfish-actions.pod:3600
16059 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3600
16060 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5450
16061 #: ../src/guestfs-actions.pod:5450
16066 #: ../fish/guestfish-actions.pod:3602
16067 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3602
16068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5452
16069 #: ../src/guestfs-actions.pod:5452
16070 msgid "NEC PC-98 format, common in Japan apparently."
16071 msgstr "Формат NEC PC-98, поширений у Японії."
16074 #: ../fish/guestfish-actions.pod:3604
16075 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3604
16076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5454
16077 #: ../src/guestfs-actions.pod:5454
16082 #: ../fish/guestfish-actions.pod:3606
16083 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3606
16084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5456
16085 #: ../src/guestfs-actions.pod:5456
16086 msgid "Sun disk labels."
16087 msgstr "Мітки дисків Sun."
16090 #: ../fish/guestfish-actions.pod:3610
16091 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3610
16096 #: ../fish/guestfish-actions.pod:3612
16097 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3612
16100 " part-list device\n"
16103 " part-list device\n"
16107 #: ../fish/guestfish-actions.pod:3614
16108 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3614
16109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5470
16110 #: ../src/guestfs-actions.pod:5470
16112 "This command parses the partition table on C<device> and returns the list of "
16113 "partitions found."
16117 #: ../fish/guestfish-actions.pod:3617
16118 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3617
16119 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5473
16120 #: ../src/guestfs-actions.pod:5473
16121 msgid "The fields in the returned structure are:"
16125 #: ../fish/guestfish-actions.pod:3621
16126 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3621
16127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5477
16128 #: ../src/guestfs-actions.pod:5477
16129 msgid "B<part_num>"
16130 msgstr "B<part_num>"
16133 #: ../fish/guestfish-actions.pod:3623
16134 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3623
16135 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5479
16136 #: ../src/guestfs-actions.pod:5479
16137 msgid "Partition number, counting from 1."
16141 #: ../fish/guestfish-actions.pod:3625
16142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3625
16143 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5481
16144 #: ../src/guestfs-actions.pod:5481
16145 msgid "B<part_start>"
16146 msgstr "B<part_start>"
16149 #: ../fish/guestfish-actions.pod:3627
16150 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3627
16152 "Start of the partition I<in bytes>. To get sectors you have to divide by "
16153 "the device's sector size, see L</blockdev-getss>."
16157 #: ../fish/guestfish-actions.pod:3630
16158 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3630
16159 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5486
16160 #: ../src/guestfs-actions.pod:5486
16161 msgid "B<part_end>"
16162 msgstr "B<part_end>"
16165 #: ../fish/guestfish-actions.pod:3632
16166 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3632
16167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5488
16168 #: ../src/guestfs-actions.pod:5488
16169 msgid "End of the partition in bytes."
16173 #: ../fish/guestfish-actions.pod:3634
16174 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3634
16175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5490
16176 #: ../src/guestfs-actions.pod:5490
16177 msgid "B<part_size>"
16178 msgstr "B<part_size>"
16181 #: ../fish/guestfish-actions.pod:3636
16182 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3636
16183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5492
16184 #: ../src/guestfs-actions.pod:5492
16185 msgid "Size of the partition in bytes."
16189 #: ../fish/guestfish-actions.pod:3640
16190 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3640
16191 msgid "part-set-bootable"
16192 msgstr "part-set-bootable"
16195 #: ../fish/guestfish-actions.pod:3642
16196 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3642
16199 " part-set-bootable device partnum true|false\n"
16204 #: ../fish/guestfish-actions.pod:3644
16205 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3644
16206 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5510
16207 #: ../src/guestfs-actions.pod:5510
16209 "This sets the bootable flag on partition numbered C<partnum> on device "
16210 "C<device>. Note that partitions are numbered from 1."
16214 #: ../fish/guestfish-actions.pod:3647
16215 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3647
16216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5513
16217 #: ../src/guestfs-actions.pod:5513
16219 "The bootable flag is used by some operating systems (notably Windows) to "
16220 "determine which partition to boot from. It is by no means universally "
16225 #: ../fish/guestfish-actions.pod:3651
16226 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3651
16227 msgid "part-set-mbr-id"
16228 msgstr "part-set-mbr-id"
16231 #: ../fish/guestfish-actions.pod:3653
16232 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3653
16235 " part-set-mbr-id device partnum idbyte\n"
16240 #: ../fish/guestfish-actions.pod:3655
16241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3655
16242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5529
16243 #: ../src/guestfs-actions.pod:5529
16245 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
16246 "C<partnum> to C<idbyte>. Note that the type bytes quoted in most "
16247 "documentation are in fact hexadecimal numbers, but usually documented "
16248 "without any leading \"0x\" which might be confusing."
16252 #: ../fish/guestfish-actions.pod:3665
16253 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3665
16254 msgid "part-set-name"
16255 msgstr "part-set-name"
16258 #: ../fish/guestfish-actions.pod:3667
16259 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3667
16262 " part-set-name device partnum name\n"
16267 #: ../fish/guestfish-actions.pod:3669
16268 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3669
16269 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5551
16270 #: ../src/guestfs-actions.pod:5551
16272 "This sets the partition name on partition numbered C<partnum> on device "
16273 "C<device>. Note that partitions are numbered from 1."
16277 #: ../fish/guestfish-actions.pod:3672
16278 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3672
16279 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5554
16280 #: ../src/guestfs-actions.pod:5554
16282 "The partition name can only be set on certain types of partition table. "
16283 "This works on C<gpt> but not on C<mbr> partitions."
16287 #: ../fish/guestfish-actions.pod:3675
16288 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3675
16289 msgid "part-to-dev"
16290 msgstr "part-to-dev"
16293 #: ../fish/guestfish-actions.pod:3677
16294 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3677
16297 " part-to-dev partition\n"
16300 " part-to-dev розділ\n"
16304 #: ../fish/guestfish-actions.pod:3679
16305 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3679
16306 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5567
16307 #: ../src/guestfs-actions.pod:5567
16309 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
16310 "partition number, returning the device name (eg. \"/dev/sdb\")."
16314 #: ../fish/guestfish-actions.pod:3683
16315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3683
16317 "The named partition must exist, for example as a string returned from L</"
16318 "list-partitions>."
16322 #: ../fish/guestfish-actions.pod:3686
16323 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3686
16324 msgid "ping-daemon"
16325 msgstr "ping-daemon"
16328 #: ../fish/guestfish-actions.pod:3688
16329 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3688
16339 #: ../fish/guestfish-actions.pod:3690
16340 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3690
16341 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5584
16342 #: ../src/guestfs-actions.pod:5584
16344 "This is a test probe into the guestfs daemon running inside the qemu "
16345 "subprocess. Calling this function checks that the daemon responds to the "
16346 "ping message, without affecting the daemon or attached block device(s) in "
16351 #: ../fish/guestfish-actions.pod:3695
16352 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3695
16357 #: ../fish/guestfish-actions.pod:3697
16358 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3697
16361 " pread path count offset\n"
16366 #: ../fish/guestfish-actions.pod:3699
16367 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3699
16368 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5602
16369 #: ../src/guestfs-actions.pod:5602
16371 "This command lets you read part of a file. It reads C<count> bytes of the "
16372 "file, starting at C<offset>, from file C<path>."
16376 #: ../fish/guestfish-actions.pod:3702 ../fish/guestfish-actions.pod:3717
16377 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3702
16378 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3717
16379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5605
16380 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5631
16381 #: ../src/guestfs-actions.pod:5605 ../src/guestfs-actions.pod:5631
16383 "This may read fewer bytes than requested. For further details see the "
16384 "L<pread(2)> system call."
16388 #: ../fish/guestfish-actions.pod:3705
16389 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3705
16390 msgid "See also L</pwrite>, L</pread-device>."
16391 msgstr "Див. також L</pwrite>, L</pread-device>."
16394 #: ../fish/guestfish-actions.pod:3710
16395 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3710
16396 msgid "pread-device"
16397 msgstr "pread-device"
16400 #: ../fish/guestfish-actions.pod:3712
16401 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3712
16404 " pread-device device count offset\n"
16409 #: ../fish/guestfish-actions.pod:3714
16410 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3714
16411 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5628
16412 #: ../src/guestfs-actions.pod:5628
16414 "This command lets you read part of a file. It reads C<count> bytes of "
16415 "C<device>, starting at C<offset>."
16419 #: ../fish/guestfish-actions.pod:3720
16420 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3720
16421 msgid "See also L</pread>."
16422 msgstr "Див. також L</pread>."
16425 #: ../fish/guestfish-actions.pod:3725
16426 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3725
16431 #: ../fish/guestfish-actions.pod:3727
16432 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3727
16435 " pvcreate device\n"
16438 " pvcreate пристрій\n"
16442 #: ../fish/guestfish-actions.pod:3729
16443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3729
16444 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5651
16445 #: ../src/guestfs-actions.pod:5651
16447 "This creates an LVM physical volume on the named C<device>, where C<device> "
16448 "should usually be a partition name such as C</dev/sda1>."
16452 #: ../fish/guestfish-actions.pod:3733
16453 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3733
16458 #: ../fish/guestfish-actions.pod:3735
16459 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3735
16462 " pvremove device\n"
16465 " pvremove пристрій\n"
16469 #: ../fish/guestfish-actions.pod:3737
16470 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3737
16471 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5665
16472 #: ../src/guestfs-actions.pod:5665
16474 "This wipes a physical volume C<device> so that LVM will no longer recognise "
16479 #: ../fish/guestfish-actions.pod:3740
16480 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3740
16481 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5668
16482 #: ../src/guestfs-actions.pod:5668
16484 "The implementation uses the C<pvremove> command which refuses to wipe "
16485 "physical volumes that contain any volume groups, so you have to remove those "
16490 #: ../fish/guestfish-actions.pod:3744
16491 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3744
16496 #: ../fish/guestfish-actions.pod:3746
16497 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3746
16500 " pvresize device\n"
16503 " pvresize пристрій\n"
16507 #: ../fish/guestfish-actions.pod:3748
16508 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3748
16509 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5682
16510 #: ../src/guestfs-actions.pod:5682
16512 "This resizes (expands or shrinks) an existing LVM physical volume to match "
16513 "the new size of the underlying device."
16517 #: ../fish/guestfish-actions.pod:3751
16518 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3751
16519 msgid "pvresize-size"
16520 msgstr "pvresize-size"
16523 #: ../fish/guestfish-actions.pod:3753
16524 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3753
16527 " pvresize-size device size\n"
16532 #: ../fish/guestfish-actions.pod:3755
16533 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3755
16535 "This command is the same as L</pvresize> except that it allows you to "
16536 "specify the new size (in bytes) explicitly."
16540 #: ../fish/guestfish-actions.pod:3758
16541 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3758
16546 #: ../fish/guestfish-actions.pod:3760
16547 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3760
16557 #: ../fish/guestfish-actions.pod:3762
16558 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3762
16559 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5708
16560 #: ../src/guestfs-actions.pod:5708
16562 "List all the physical volumes detected. This is the equivalent of the L<pvs"
16567 #: ../fish/guestfish-actions.pod:3765
16568 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3765
16569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5711
16570 #: ../src/guestfs-actions.pod:5711
16572 "This returns a list of just the device names that contain PVs (eg. C</dev/"
16577 #: ../fish/guestfish-actions.pod:3768
16578 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3768
16579 msgid "See also L</pvs-full>."
16580 msgstr "Див. також L</pvs-full>."
16583 #: ../fish/guestfish-actions.pod:3770
16584 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3770
16589 #: ../fish/guestfish-actions.pod:3772
16590 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3772
16600 #: ../fish/guestfish-actions.pod:3774
16601 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3774
16602 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5727
16603 #: ../src/guestfs-actions.pod:5727
16605 "List all the physical volumes detected. This is the equivalent of the L<pvs"
16606 "(8)> command. The \"full\" version includes all fields."
16610 #: ../fish/guestfish-actions.pod:3777
16611 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3777
16616 #: ../fish/guestfish-actions.pod:3779
16617 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3779
16623 " pvuuid пристрій\n"
16627 #: ../fish/guestfish-actions.pod:3781
16628 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3781
16629 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5742
16630 #: ../src/guestfs-actions.pod:5742
16631 msgid "This command returns the UUID of the LVM PV C<device>."
16635 #: ../fish/guestfish-actions.pod:3783
16636 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3783
16641 #: ../fish/guestfish-actions.pod:3785
16642 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3785
16645 " pwrite path content offset\n"
16650 #: ../fish/guestfish-actions.pod:3787
16651 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3787
16652 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5758
16653 #: ../src/guestfs-actions.pod:5758
16655 "This command writes to part of a file. It writes the data buffer C<content> "
16656 "to the file C<path> starting at offset C<offset>."
16660 #: ../fish/guestfish-actions.pod:3790
16661 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3790
16662 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5761
16663 #: ../src/guestfs-actions.pod:5761
16665 "This command implements the L<pwrite(2)> system call, and like that system "
16666 "call it may not write the full data requested. The return value is the "
16667 "number of bytes that were actually written to the file. This could even be "
16668 "0, although short writes are unlikely for regular files in ordinary "
16673 #: ../fish/guestfish-actions.pod:3796
16674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3796
16675 msgid "See also L</pread>, L</pwrite-device>."
16676 msgstr "Див. також L</pread>, L</pwrite-device>."
16679 #: ../fish/guestfish-actions.pod:3801
16680 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3801
16681 msgid "pwrite-device"
16682 msgstr "pwrite-device"
16685 #: ../fish/guestfish-actions.pod:3803
16686 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3803
16689 " pwrite-device device content offset\n"
16694 #: ../fish/guestfish-actions.pod:3805
16695 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3805
16696 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5785
16697 #: ../src/guestfs-actions.pod:5785
16699 "This command writes to part of a device. It writes the data buffer "
16700 "C<content> to C<device> starting at offset C<offset>."
16704 #: ../fish/guestfish-actions.pod:3808
16705 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3808
16706 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5788
16707 #: ../src/guestfs-actions.pod:5788
16709 "This command implements the L<pwrite(2)> system call, and like that system "
16710 "call it may not write the full data requested (although short writes to disk "
16711 "devices and partitions are probably impossible with standard Linux kernels)."
16715 #: ../fish/guestfish-actions.pod:3813
16716 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3813
16717 msgid "See also L</pwrite>."
16718 msgstr "Див. також L</pwrite>."
16721 #: ../fish/guestfish-actions.pod:3818
16722 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3818
16727 #: ../fish/guestfish-actions.pod:3820
16728 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3820
16731 " read-file path\n"
16734 " read-file шлях\n"
16738 #: ../fish/guestfish-actions.pod:3822
16739 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3822
16740 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5809
16741 #: ../src/guestfs-actions.pod:5809
16742 msgid "This calls returns the contents of the file C<path> as a buffer."
16746 #: ../fish/guestfish-actions.pod:3825
16747 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3825
16749 "Unlike L</cat>, this function can correctly handle files that contain "
16750 "embedded ASCII NUL characters. However unlike L</download>, this function "
16751 "is limited in the total size of file that can be handled."
16755 #: ../fish/guestfish-actions.pod:3833
16756 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3833
16758 msgstr "read-lines"
16761 #: ../fish/guestfish-actions.pod:3835
16762 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3835
16765 " read-lines path\n"
16768 " read-lines шлях\n"
16772 #: ../fish/guestfish-actions.pod:3839
16773 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3839
16774 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5834
16775 #: ../src/guestfs-actions.pod:5834
16777 "The file contents are returned as a list of lines. Trailing C<LF> and "
16778 "C<CRLF> character sequences are I<not> returned."
16782 #: ../fish/guestfish-actions.pod:3842
16783 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3842
16785 "Note that this function cannot correctly handle binary files (specifically, "
16786 "files containing C<\\0> character which is treated as end of line). For "
16787 "those you need to use the L</read-file> function which has a more complex "
16792 #: ../fish/guestfish-actions.pod:3847
16793 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3847
16798 #: ../fish/guestfish-actions.pod:3849
16799 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3849
16805 " readdir каталог\n"
16809 #: ../fish/guestfish-actions.pod:3851
16810 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3851
16811 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5854
16812 #: ../src/guestfs-actions.pod:5854
16813 msgid "This returns the list of directory entries in directory C<dir>."
16817 #: ../fish/guestfish-actions.pod:3853
16818 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3853
16819 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5856
16820 #: ../src/guestfs-actions.pod:5856
16822 "All entries in the directory are returned, including C<.> and C<..>. The "
16823 "entries are I<not> sorted, but returned in the same order as the underlying "
16828 #: ../fish/guestfish-actions.pod:3857
16829 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3857
16830 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5860
16831 #: ../src/guestfs-actions.pod:5860
16833 "Also this call returns basic file type information about each file. The "
16834 "C<ftyp> field will contain one of the following characters:"
16838 #: ../fish/guestfish-actions.pod:3862
16839 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3862
16840 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5865
16841 #: ../src/guestfs-actions.pod:5865
16846 #: ../fish/guestfish-actions.pod:3864
16847 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3864
16848 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5867
16849 #: ../src/guestfs-actions.pod:5867
16850 msgid "Block special"
16851 msgstr "Блоковий особливий"
16854 #: ../fish/guestfish-actions.pod:3866
16855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3866
16856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5869
16857 #: ../src/guestfs-actions.pod:5869
16862 #: ../fish/guestfish-actions.pod:3868
16863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3868
16864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5871
16865 #: ../src/guestfs-actions.pod:5871
16866 msgid "Char special"
16867 msgstr "Символьний особливий"
16870 #: ../fish/guestfish-actions.pod:3870
16871 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3870
16872 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5873
16873 #: ../src/guestfs-actions.pod:5873
16878 #: ../fish/guestfish-actions.pod:3872
16879 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3872
16880 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5875
16881 #: ../src/guestfs-actions.pod:5875
16886 #: ../fish/guestfish-actions.pod:3874
16887 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3874
16888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5877
16889 #: ../src/guestfs-actions.pod:5877
16894 #: ../fish/guestfish-actions.pod:3876
16895 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3876
16896 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5879
16897 #: ../src/guestfs-actions.pod:5879
16898 msgid "FIFO (named pipe)"
16899 msgstr "FIFO (іменований канал)"
16902 #: ../fish/guestfish-actions.pod:3878
16903 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3878
16904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5881
16905 #: ../src/guestfs-actions.pod:5881
16910 #: ../fish/guestfish-actions.pod:3880
16911 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3880
16912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5883
16913 #: ../src/guestfs-actions.pod:5883
16914 msgid "Symbolic link"
16915 msgstr "Символічне посилання"
16918 #: ../fish/guestfish-actions.pod:3882
16919 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3882
16920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5885
16921 #: ../src/guestfs-actions.pod:5885
16926 #: ../fish/guestfish-actions.pod:3884
16927 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3884
16928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5887
16929 #: ../src/guestfs-actions.pod:5887
16930 msgid "Regular file"
16931 msgstr "Звичайний файл"
16934 #: ../fish/guestfish-actions.pod:3886
16935 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3886
16936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5889
16937 #: ../src/guestfs-actions.pod:5889
16942 #: ../fish/guestfish-actions.pod:3888
16943 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3888
16944 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5891
16945 #: ../src/guestfs-actions.pod:5891
16950 #: ../fish/guestfish-actions.pod:3890
16951 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3890
16952 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5893
16953 #: ../src/guestfs-actions.pod:5893
16958 #: ../fish/guestfish-actions.pod:3892
16959 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3892
16960 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5895
16961 #: ../src/guestfs-actions.pod:5895
16962 msgid "Unknown file type"
16963 msgstr "Невідомий тип файла"
16966 #: ../fish/guestfish-actions.pod:3894
16967 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3894
16968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5897
16969 #: ../src/guestfs-actions.pod:5897
16974 #: ../fish/guestfish-actions.pod:3896
16975 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3896
16976 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5899
16977 #: ../src/guestfs-actions.pod:5899
16979 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
16983 #: ../fish/guestfish-actions.pod:3901
16984 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3901
16986 "This function is primarily intended for use by programs. To get a simple "
16987 "list of names, use L</ls>. To get a printable directory for human "
16988 "consumption, use L</ll>."
16992 #: ../fish/guestfish-actions.pod:3905
16993 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3905
16998 #: ../fish/guestfish-actions.pod:3907
16999 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3907
17009 #: ../fish/guestfish-actions.pod:3909
17010 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3909
17011 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5920
17012 #: ../src/guestfs-actions.pod:5920
17013 msgid "This command reads the target of a symbolic link."
17017 #: ../fish/guestfish-actions.pod:3911
17018 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3911
17019 msgid "readlinklist"
17020 msgstr "readlinklist"
17023 #: ../fish/guestfish-actions.pod:3913
17024 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3913
17027 " readlinklist path 'names ...'\n"
17032 #: ../fish/guestfish-actions.pod:3915
17033 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3915
17034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5934
17035 #: ../src/guestfs-actions.pod:5934
17037 "This call allows you to do a C<readlink> operation on multiple files, where "
17038 "all files are in the directory C<path>. C<names> is the list of files from "
17043 #: ../fish/guestfish-actions.pod:3919
17044 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3919
17045 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5938
17046 #: ../src/guestfs-actions.pod:5938
17048 "On return you get a list of strings, with a one-to-one correspondence to the "
17049 "C<names> list. Each string is the value of the symbolic link."
17053 #: ../fish/guestfish-actions.pod:3923
17054 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3923
17055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5942
17056 #: ../src/guestfs-actions.pod:5942
17058 "If the C<readlink(2)> operation fails on any name, then the corresponding "
17059 "result string is the empty string C<\"\">. However the whole operation is "
17060 "completed even if there were C<readlink(2)> errors, and so you can call this "
17061 "function with names where you don't know if they are symbolic links already "
17062 "(albeit slightly less efficient)."
17066 #: ../fish/guestfish-actions.pod:3930
17067 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3930
17068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5949
17069 #: ../src/guestfs-actions.pod:5949
17071 "This call is intended for programs that want to efficiently list a directory "
17072 "contents without making many round-trips. Very long directory listings "
17073 "might cause the protocol message size to be exceeded, causing this call to "
17074 "fail. The caller must split up such requests into smaller groups of names."
17078 #: ../fish/guestfish-actions.pod:3937
17079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3937
17084 #: ../fish/guestfish-actions.pod:3939
17085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3939
17095 #: ../fish/guestfish-actions.pod:3941
17096 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3941
17097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5968
17098 #: ../src/guestfs-actions.pod:5968
17100 "Return the canonicalized absolute pathname of C<path>. The returned path "
17101 "has no C<.>, C<..> or symbolic link path elements."
17105 #: ../fish/guestfish-actions.pod:3944
17106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3944
17107 msgid "removexattr"
17108 msgstr "removexattr"
17111 #: ../fish/guestfish-actions.pod:3946
17112 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3946
17115 " removexattr xattr path\n"
17120 #: ../fish/guestfish-actions.pod:3948
17121 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3948
17122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5983
17123 #: ../src/guestfs-actions.pod:5983
17125 "This call removes the extended attribute named C<xattr> of the file C<path>."
17129 #: ../fish/guestfish-actions.pod:3951
17130 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3951
17131 msgid "See also: L</lremovexattr>, L<attr(5)>."
17132 msgstr "Див. також L</lremovexattr>, L<attr(5)>."
17135 #: ../fish/guestfish-actions.pod:3953
17136 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3953
17141 #: ../fish/guestfish-actions.pod:3955
17142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3955
17145 " resize2fs device\n"
17148 " resize2fs пристрій\n"
17152 #: ../fish/guestfish-actions.pod:3957
17153 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3957
17154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5998
17155 #: ../src/guestfs-actions.pod:5998
17157 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
17158 "underlying device."
17162 #: ../fish/guestfish-actions.pod:3960
17163 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3960
17165 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
17166 "before calling this command. For unknown reasons C<resize2fs> sometimes "
17167 "gives an error about this and sometimes not. In any case, it is always safe "
17168 "to call L</e2fsck-f> before calling this function."
17172 #: ../fish/guestfish-actions.pod:3966
17173 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3966
17174 msgid "resize2fs-M"
17175 msgstr "resize2fs-M"
17178 #: ../fish/guestfish-actions.pod:3968
17179 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3968
17182 " resize2fs-M device\n"
17185 " resize2fs-M пристрій\n"
17189 #: ../fish/guestfish-actions.pod:3970
17190 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3970
17192 "This command is the same as L</resize2fs>, but the filesystem is resized to "
17193 "its minimum size. This works like the I<-M> option to the C<resize2fs> "
17198 #: ../fish/guestfish-actions.pod:3974
17199 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3974
17201 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
17202 "and read the C<Block size> and C<Block count> values. These two numbers, "
17203 "multiplied together, give the resulting size of the minimal filesystem in "
17208 #: ../fish/guestfish-actions.pod:3979
17209 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3979
17210 msgid "resize2fs-size"
17211 msgstr "resize2fs-size"
17214 #: ../fish/guestfish-actions.pod:3981
17215 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3981
17218 " resize2fs-size device size\n"
17223 #: ../fish/guestfish-actions.pod:3983
17224 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3983
17226 "This command is the same as L</resize2fs> except that it allows you to "
17227 "specify the new size (in bytes) explicitly."
17231 #: ../fish/guestfish-actions.pod:3986
17232 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3986
17237 #: ../fish/guestfish-actions.pod:3988
17238 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3988
17248 #: ../fish/guestfish-actions.pod:3990
17249 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3990
17250 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6050
17251 #: ../src/guestfs-actions.pod:6050
17252 msgid "Remove the single file C<path>."
17256 #: ../fish/guestfish-actions.pod:3992
17257 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3992
17262 #: ../fish/guestfish-actions.pod:3994
17263 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3994
17273 #: ../fish/guestfish-actions.pod:3996
17274 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:3996
17275 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6062
17276 #: ../src/guestfs-actions.pod:6062
17278 "Remove the file or directory C<path>, recursively removing the contents if "
17279 "its a directory. This is like the C<rm -rf> shell command."
17283 #: ../fish/guestfish-actions.pod:4000
17284 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4000
17289 #: ../fish/guestfish-actions.pod:4002
17290 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4002
17300 #: ../fish/guestfish-actions.pod:4004
17301 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4004
17302 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6076
17303 #: ../src/guestfs-actions.pod:6076
17304 msgid "Remove the single directory C<path>."
17308 #: ../fish/guestfish-actions.pod:4006
17309 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4006
17310 msgid "rmmountpoint"
17311 msgstr "rmmountpoint"
17314 #: ../fish/guestfish-actions.pod:4008
17315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4008
17318 " rmmountpoint exemptpath\n"
17323 #: ../fish/guestfish-actions.pod:4010
17324 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4010
17326 "This calls removes a mountpoint that was previously created with L</"
17327 "mkmountpoint>. See L</mkmountpoint> for full details."
17331 #: ../fish/guestfish-actions.pod:4014
17332 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4014
17333 msgid "scrub-device"
17334 msgstr "scrub-device"
17337 #: ../fish/guestfish-actions.pod:4016
17338 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4016
17341 " scrub-device device\n"
17344 " scrub-device пристрій\n"
17348 #: ../fish/guestfish-actions.pod:4018
17349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4018
17350 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6102
17351 #: ../src/guestfs-actions.pod:6102
17353 "This command writes patterns over C<device> to make data retrieval more "
17358 #: ../fish/guestfish-actions.pod:4021 ../fish/guestfish-actions.pod:4036
17359 #: ../fish/guestfish-actions.pod:4049
17360 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4021
17361 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4036
17362 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4049
17363 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6105
17364 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6126
17365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6145
17366 #: ../src/guestfs-actions.pod:6105 ../src/guestfs-actions.pod:6126
17367 #: ../src/guestfs-actions.pod:6145
17369 "It is an interface to the L<scrub(1)> program. See that manual page for "
17374 #: ../fish/guestfish-actions.pod:4027
17375 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4027
17377 msgstr "scrub-file"
17380 #: ../fish/guestfish-actions.pod:4029
17381 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4029
17384 " scrub-file file\n"
17387 " scrub-file файл\n"
17391 #: ../fish/guestfish-actions.pod:4031
17392 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4031
17393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6121
17394 #: ../src/guestfs-actions.pod:6121
17396 "This command writes patterns over a file to make data retrieval more "
17401 #: ../fish/guestfish-actions.pod:4034
17402 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4034
17403 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6124
17404 #: ../src/guestfs-actions.pod:6124
17405 msgid "The file is I<removed> after scrubbing."
17409 #: ../fish/guestfish-actions.pod:4039
17410 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4039
17411 msgid "scrub-freespace"
17412 msgstr "scrub-freespace"
17415 #: ../fish/guestfish-actions.pod:4041
17416 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4041
17419 " scrub-freespace dir\n"
17422 " scrub-freespace каталог\n"
17426 #: ../fish/guestfish-actions.pod:4043
17427 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4043
17429 "This command creates the directory C<dir> and then fills it with files until "
17430 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
17431 "deletes them. The intention is to scrub any free space on the partition "
17432 "containing C<dir>."
17436 #: ../fish/guestfish-actions.pod:4052
17437 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4052
17439 msgstr "set-append"
17442 #: ../fish/guestfish-actions.pod:4054
17443 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4054
17448 #: ../fish/guestfish-actions.pod:4056
17449 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4056
17452 " set-append append\n"
17457 #: ../fish/guestfish-actions.pod:4058
17458 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4058
17459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6158
17460 #: ../src/guestfs-actions.pod:6158
17462 "This function is used to add additional options to the guest kernel command "
17467 #: ../fish/guestfish-actions.pod:4061
17468 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4061
17469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6161
17470 #: ../src/guestfs-actions.pod:6161
17472 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
17473 "environment variable."
17477 #: ../fish/guestfish-actions.pod:4064
17478 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4064
17479 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6164
17480 #: ../src/guestfs-actions.pod:6164
17482 "Setting C<append> to C<NULL> means I<no> additional options are passed "
17483 "(libguestfs always adds a few of its own)."
17487 #: ../fish/guestfish-actions.pod:4067
17488 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4067
17489 msgid "set-attach-method"
17490 msgstr "set-attach-method"
17493 #: ../fish/guestfish-actions.pod:4069
17494 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4069
17495 msgid "attach-method"
17499 #: ../fish/guestfish-actions.pod:4071
17500 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4071
17503 " set-attach-method attachmethod\n"
17508 #: ../fish/guestfish-actions.pod:4073
17509 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4073
17510 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6177
17511 #: ../src/guestfs-actions.pod:6177
17513 "Set the method that libguestfs uses to connect to the back end guestfsd "
17514 "daemon. Possible methods are:"
17518 #: ../fish/guestfish-actions.pod:4078
17519 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4078
17520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6182
17521 #: ../libguestfs-1.11.20/src/guestfs.pod:2687 ../src/guestfs-actions.pod:6182
17522 #: ../src/guestfs.pod:2687
17523 msgid "C<appliance>"
17524 msgstr "C<appliance>"
17527 #: ../fish/guestfish-actions.pod:4080
17528 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4080
17529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6184
17530 #: ../src/guestfs-actions.pod:6184
17532 "Launch an appliance and connect to it. This is the ordinary method and the "
17537 #: ../fish/guestfish-actions.pod:4083
17538 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4083
17539 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6187
17540 #: ../src/guestfs-actions.pod:6187
17541 msgid "C<unix:I<path>>"
17542 msgstr "C<unix:I<шлях>>"
17545 #: ../fish/guestfish-actions.pod:4085
17546 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4085
17547 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6189
17548 #: ../src/guestfs-actions.pod:6189
17549 msgid "Connect to the Unix domain socket I<path>."
17550 msgstr "Встановити з’єднання з сокетом домену Unix I<шлях>."
17553 #: ../fish/guestfish-actions.pod:4087
17554 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4087
17555 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6191
17556 #: ../src/guestfs-actions.pod:6191
17558 "This method lets you connect to an existing daemon or (using virtio-serial) "
17559 "to a live guest. For more information, see L<guestfs(3)/ATTACHING TO "
17560 "RUNNING DAEMONS>."
17564 #: ../fish/guestfish-actions.pod:4093
17565 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4093
17566 msgid "set-autosync"
17567 msgstr "set-autosync"
17570 #: ../fish/guestfish-actions.pod:4095
17571 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4095
17576 #: ../fish/guestfish-actions.pod:4097
17577 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4097
17580 " set-autosync true|false\n"
17583 " set-autosync true|false\n"
17587 #: ../fish/guestfish-actions.pod:4099
17588 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4099
17589 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6207
17590 #: ../src/guestfs-actions.pod:6207
17592 "If C<autosync> is true, this enables autosync. Libguestfs will make a best "
17593 "effort attempt to make filesystems consistent and synchronized when the "
17594 "handle is closed (also if the program exits without closing handles)."
17598 #: ../fish/guestfish-actions.pod:4104
17599 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4104
17600 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6212
17601 #: ../src/guestfs-actions.pod:6212
17603 "This is enabled by default (since libguestfs 1.5.24, previously it was "
17604 "disabled by default)."
17608 #: ../fish/guestfish-actions.pod:4107
17609 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4107
17611 msgstr "set-direct"
17614 #: ../fish/guestfish-actions.pod:4109
17615 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4109
17620 #: ../fish/guestfish-actions.pod:4111
17621 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4111
17624 " set-direct true|false\n"
17627 " set-direct true|false\n"
17631 #: ../fish/guestfish-actions.pod:4113
17632 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4113
17633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6225
17634 #: ../src/guestfs-actions.pod:6225
17636 "If the direct appliance mode flag is enabled, then stdin and stdout are "
17637 "passed directly through to the appliance once it is launched."
17641 #: ../fish/guestfish-actions.pod:4117
17642 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4117
17644 "One consequence of this is that log messages aren't caught by the library "
17645 "and handled by L</set-log-message-callback>, but go straight to stdout."
17649 #: ../fish/guestfish-actions.pod:4121
17650 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4121
17651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6233
17652 #: ../src/guestfs-actions.pod:6233
17653 msgid "You probably don't want to use this unless you know what you are doing."
17657 #: ../fish/guestfish-actions.pod:4124
17658 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4124
17659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6236
17660 #: ../src/guestfs-actions.pod:6236
17661 msgid "The default is disabled."
17665 #: ../fish/guestfish-actions.pod:4126
17666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4126
17667 msgid "set-e2label"
17668 msgstr "set-e2label"
17671 #: ../fish/guestfish-actions.pod:4128
17672 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4128
17675 " set-e2label device label\n"
17680 #: ../fish/guestfish-actions.pod:4130
17681 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4130
17682 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6249
17683 #: ../src/guestfs-actions.pod:6249
17685 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
17686 "C<label>. Filesystem labels are limited to 16 characters."
17690 #: ../fish/guestfish-actions.pod:4134
17691 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4134
17693 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
17694 "label on a filesystem."
17698 #: ../fish/guestfish-actions.pod:4137
17699 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4137
17701 msgstr "set-e2uuid"
17704 #: ../fish/guestfish-actions.pod:4139
17705 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4139
17708 " set-e2uuid device uuid\n"
17713 #: ../fish/guestfish-actions.pod:4141
17714 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4141
17715 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6267
17716 #: ../src/guestfs-actions.pod:6267
17718 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
17719 "C<uuid>. The format of the UUID and alternatives such as C<clear>, "
17720 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
17724 #: ../fish/guestfish-actions.pod:4146
17725 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4146
17727 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
17728 "UUID of a filesystem."
17732 #: ../fish/guestfish-actions.pod:4149
17733 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4149
17734 msgid "set-memsize"
17735 msgstr "set-memsize"
17738 #: ../fish/guestfish-actions.pod:4151
17739 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4151
17744 #: ../fish/guestfish-actions.pod:4153
17745 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4153
17748 " set-memsize memsize\n"
17753 #: ../fish/guestfish-actions.pod:4155
17754 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4155
17756 "This sets the memory size in megabytes allocated to the qemu subprocess. "
17757 "This only has any effect if called before L</launch>."
17761 #: ../fish/guestfish-actions.pod:4159
17762 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4159
17763 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6289
17764 #: ../src/guestfs-actions.pod:6289
17766 "You can also change this by setting the environment variable "
17767 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
17771 #: ../fish/guestfish-actions.pod:4166
17772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4166
17773 msgid "set-network"
17774 msgstr "set-network"
17777 #: ../fish/guestfish-actions.pod:4168
17778 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4168
17783 #: ../fish/guestfish-actions.pod:4170
17784 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4170
17787 " set-network true|false\n"
17790 " set-network true|false\n"
17794 #: ../fish/guestfish-actions.pod:4172
17795 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4172
17796 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6306
17797 #: ../src/guestfs-actions.pod:6306
17799 "If C<network> is true, then the network is enabled in the libguestfs "
17800 "appliance. The default is false."
17804 #: ../fish/guestfish-actions.pod:4175
17805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4175
17806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6309
17807 #: ../src/guestfs-actions.pod:6309
17809 "This affects whether commands are able to access the network (see L<guestfs"
17810 "(3)/RUNNING COMMANDS>)."
17814 #: ../fish/guestfish-actions.pod:4178
17815 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4178
17817 "You must call this before calling L</launch>, otherwise it has no effect."
17821 #: ../fish/guestfish-actions.pod:4181
17822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4181
17827 #: ../fish/guestfish-actions.pod:4185
17828 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4185
17831 " set-path searchpath\n"
17836 #: ../fish/guestfish-actions.pod:4187
17837 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4187
17838 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6325
17839 #: ../src/guestfs-actions.pod:6325
17840 msgid "Set the path that libguestfs searches for kernel and initrd.img."
17844 #: ../fish/guestfish-actions.pod:4189
17845 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4189
17846 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6327
17847 #: ../src/guestfs-actions.pod:6327
17849 "The default is C<$libdir/guestfs> unless overridden by setting "
17850 "C<LIBGUESTFS_PATH> environment variable."
17854 #: ../fish/guestfish-actions.pod:4192
17855 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4192
17856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6330
17857 #: ../src/guestfs-actions.pod:6330
17858 msgid "Setting C<path> to C<NULL> restores the default path."
17862 #: ../fish/guestfish-actions.pod:4194
17863 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4194
17868 #: ../fish/guestfish-actions.pod:4196
17869 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4196
17874 #: ../fish/guestfish-actions.pod:4198
17875 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4198
17878 " set-pgroup true|false\n"
17883 #: ../fish/guestfish-actions.pod:4200
17884 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4200
17885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6342
17886 #: ../src/guestfs-actions.pod:6342
17888 "If C<pgroup> is true, child processes are placed into their own process "
17893 #: ../fish/guestfish-actions.pod:4203
17894 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4203
17895 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6345
17896 #: ../src/guestfs-actions.pod:6345
17898 "The practical upshot of this is that signals like C<SIGINT> (from users "
17899 "pressing C<^C>) won't be received by the child process."
17903 #: ../fish/guestfish-actions.pod:4206
17904 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4206
17905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6348
17906 #: ../src/guestfs-actions.pod:6348
17908 "The default for this flag is false, because usually you want C<^C> to kill "
17913 #: ../fish/guestfish-actions.pod:4209
17914 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4209
17919 #: ../fish/guestfish-actions.pod:4211
17920 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4211
17925 #: ../fish/guestfish-actions.pod:4213
17926 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4213
17936 #: ../fish/guestfish-actions.pod:4215
17937 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4215
17938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6361
17939 #: ../src/guestfs-actions.pod:6361
17940 msgid "Set the qemu binary that we will use."
17944 #: ../fish/guestfish-actions.pod:4217
17945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4217
17946 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6363
17947 #: ../src/guestfs-actions.pod:6363
17949 "The default is chosen when the library was compiled by the configure script."
17953 #: ../fish/guestfish-actions.pod:4220
17954 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4220
17955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6366
17956 #: ../src/guestfs-actions.pod:6366
17958 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
17963 #: ../fish/guestfish-actions.pod:4223
17964 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4223
17965 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6369
17966 #: ../src/guestfs-actions.pod:6369
17967 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
17971 #: ../fish/guestfish-actions.pod:4225
17972 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4225
17973 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6371
17974 #: ../src/guestfs-actions.pod:6371
17976 "Note that you should call this function as early as possible after creating "
17977 "the handle. This is because some pre-launch operations depend on testing "
17978 "qemu features (by running C<qemu -help>). If the qemu binary changes, we "
17979 "don't retest features, and so you might see inconsistent results. Using the "
17980 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
17981 "the qemu binary at the same time as the handle is created."
17985 #: ../fish/guestfish-actions.pod:4233
17986 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4233
17987 msgid "set-recovery-proc"
17988 msgstr "set-recovery-proc"
17991 #: ../fish/guestfish-actions.pod:4235
17992 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4235
17993 msgid "recovery-proc"
17994 msgstr "recovery-proc"
17997 #: ../fish/guestfish-actions.pod:4237
17998 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4237
18001 " set-recovery-proc true|false\n"
18004 " set-recovery-proc true|false\n"
18008 #: ../fish/guestfish-actions.pod:4239
18009 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4239
18011 "If this is called with the parameter C<false> then L</launch> does not "
18012 "create a recovery process. The purpose of the recovery process is to stop "
18013 "runaway qemu processes in the case where the main program aborts abruptly."
18017 #: ../fish/guestfish-actions.pod:4244
18018 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4244
18020 "This only has any effect if called before L</launch>, and the default is "
18025 #: ../fish/guestfish-actions.pod:4247
18026 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4247
18027 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6397
18028 #: ../src/guestfs-actions.pod:6397
18030 "About the only time when you would want to disable this is if the main "
18031 "process will fork itself into the background (\"daemonize\" itself). In "
18032 "this case the recovery process thinks that the main program has disappeared "
18033 "and so kills qemu, which is not very helpful."
18037 #: ../fish/guestfish-actions.pod:4253
18038 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4253
18039 msgid "set-selinux"
18040 msgstr "set-selinux"
18043 #: ../fish/guestfish-actions.pod:4255
18044 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4255
18049 #: ../fish/guestfish-actions.pod:4257
18050 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4257
18053 " set-selinux true|false\n"
18056 " set-selinux true|false\n"
18060 #: ../fish/guestfish-actions.pod:4259
18061 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4259
18062 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6413
18063 #: ../src/guestfs-actions.pod:6413
18065 "This sets the selinux flag that is passed to the appliance at boot time. "
18066 "The default is C<selinux=0> (disabled)."
18070 #: ../fish/guestfish-actions.pod:4262
18071 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4262
18072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6416
18073 #: ../src/guestfs-actions.pod:6416
18075 "Note that if SELinux is enabled, it is always in Permissive mode "
18076 "(C<enforcing=0>)."
18080 #: ../fish/guestfish-actions.pod:4268
18081 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4268
18086 #: ../fish/guestfish-actions.pod:4270
18087 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4270
18092 #: ../fish/guestfish-actions.pod:4272
18093 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4272
18096 " set-trace true|false\n"
18099 " set-trace true|false\n"
18103 #: ../fish/guestfish-actions.pod:4274
18104 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4274
18105 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6432
18106 #: ../src/guestfs-actions.pod:6432
18108 "If the command trace flag is set to 1, then libguestfs calls, parameters and "
18109 "return values are traced."
18113 #: ../fish/guestfish-actions.pod:4277
18114 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4277
18115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6435
18116 #: ../src/guestfs-actions.pod:6435
18118 "If you want to trace C API calls into libguestfs (and other libraries) then "
18119 "possibly a better way is to use the external ltrace(1) command."
18123 #: ../fish/guestfish-actions.pod:4281
18124 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4281
18125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6439
18126 #: ../src/guestfs-actions.pod:6439
18128 "Command traces are disabled unless the environment variable "
18129 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
18133 #: ../fish/guestfish-actions.pod:4284
18134 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4284
18136 "Trace messages are normally sent to C<stderr>, unless you register a "
18137 "callback to send them somewhere else (see L</set-event-callback>)."
18141 #: ../fish/guestfish-actions.pod:4288
18142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4288
18143 msgid "set-verbose"
18144 msgstr "set-verbose"
18147 #: ../fish/guestfish-actions.pod:4290
18148 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4290
18153 #: ../fish/guestfish-actions.pod:4292
18154 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4292
18157 " set-verbose true|false\n"
18160 " set-verbose true|false\n"
18164 #: ../fish/guestfish-actions.pod:4294
18165 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4294
18166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6456
18167 #: ../src/guestfs-actions.pod:6456
18168 msgid "If C<verbose> is true, this turns on verbose messages."
18172 #: ../fish/guestfish-actions.pod:4296
18173 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4296
18174 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6458
18175 #: ../src/guestfs-actions.pod:6458
18177 "Verbose messages are disabled unless the environment variable "
18178 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
18182 #: ../fish/guestfish-actions.pod:4299
18183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4299
18185 "Verbose messages are normally sent to C<stderr>, unless you register a "
18186 "callback to send them somewhere else (see L</set-event-callback>)."
18190 #: ../fish/guestfish-actions.pod:4303
18191 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4303
18196 #: ../fish/guestfish-actions.pod:4305
18197 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4305
18200 " setcon context\n"
18203 " setcon контекст\n"
18207 #: ../fish/guestfish-actions.pod:4307
18208 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4307
18209 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6475
18210 #: ../src/guestfs-actions.pod:6475
18212 "This sets the SELinux security context of the daemon to the string "
18217 #: ../fish/guestfish-actions.pod:4310
18218 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4310
18219 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6478
18220 #: ../src/guestfs-actions.pod:6478
18221 msgid "See the documentation about SELINUX in L<guestfs(3)>."
18225 #: ../fish/guestfish-actions.pod:4312
18226 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4312
18231 #: ../fish/guestfish-actions.pod:4314
18232 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4314
18235 " setxattr xattr val vallen path\n"
18240 #: ../fish/guestfish-actions.pod:4316
18241 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4316
18242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6493
18243 #: ../src/guestfs-actions.pod:6493
18245 "This call sets the extended attribute named C<xattr> of the file C<path> to "
18246 "the value C<val> (of length C<vallen>). The value is arbitrary 8 bit data."
18250 #: ../fish/guestfish-actions.pod:4320
18251 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4320
18252 msgid "See also: L</lsetxattr>, L<attr(5)>."
18253 msgstr "Див. також L</lsetxattr>, L<attr(5)>."
18256 #: ../fish/guestfish-actions.pod:4322
18257 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4322
18262 #: ../fish/guestfish-actions.pod:4324
18263 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4324
18266 " sfdisk device cyls heads sectors 'lines ...'\n"
18271 #: ../fish/guestfish-actions.pod:4326
18272 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4326
18273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6513
18274 #: ../src/guestfs-actions.pod:6513
18276 "This is a direct interface to the L<sfdisk(8)> program for creating "
18277 "partitions on block devices."
18281 #: ../fish/guestfish-actions.pod:4329
18282 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4329
18283 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6516
18284 #: ../src/guestfs-actions.pod:6516
18285 msgid "C<device> should be a block device, for example C</dev/sda>."
18289 #: ../fish/guestfish-actions.pod:4331
18290 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4331
18291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6518
18292 #: ../src/guestfs-actions.pod:6518
18294 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
18295 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
18296 "H> and I<-S> parameters. If you pass C<0> for any of these, then the "
18297 "corresponding parameter is omitted. Usually for 'large' disks, you can just "
18298 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
18299 "the kernel) cannot work out the right geometry and you will need to tell it."
18303 #: ../fish/guestfish-actions.pod:4339
18304 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4339
18305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6526
18306 #: ../src/guestfs-actions.pod:6526
18308 "C<lines> is a list of lines that we feed to C<sfdisk>. For more information "
18309 "refer to the L<sfdisk(8)> manpage."
18313 #: ../fish/guestfish-actions.pod:4342
18314 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4342
18315 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6529
18316 #: ../src/guestfs-actions.pod:6529
18318 "To create a single partition occupying the whole disk, you would pass "
18319 "C<lines> as a single element list, when the single element being the string "
18324 #: ../fish/guestfish-actions.pod:4346
18325 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4346
18326 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
18327 msgstr "Див. також L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
18330 #: ../fish/guestfish-actions.pod:4352 ../fish/guestfish-actions.pod:4375
18331 #: ../fish/guestfish-actions.pod:4397
18332 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4352
18333 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4375
18334 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4397
18335 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6541
18336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6571
18337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6604
18338 #: ../src/guestfs-actions.pod:6541 ../src/guestfs-actions.pod:6571
18339 #: ../src/guestfs-actions.pod:6604
18341 "This function is deprecated. In new code, use the C<part_add> call instead."
18345 #: ../fish/guestfish-actions.pod:4359
18346 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4359
18351 #: ../fish/guestfish-actions.pod:4361
18352 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4361
18355 " sfdiskM device 'lines ...'\n"
18360 #: ../fish/guestfish-actions.pod:4363
18361 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4363
18363 "This is a simplified interface to the L</sfdisk> command, where partition "
18364 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
18365 "you don't need to specify the cyls, heads and sectors parameters which were "
18366 "rarely if ever used anyway."
18370 #: ../fish/guestfish-actions.pod:4369
18371 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4369
18372 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
18374 "Див також L</sfdisk>, сторінку довідки (man) L<sfdisk(8)> та L</part-disk>"
18377 #: ../fish/guestfish-actions.pod:4382
18378 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4382
18383 #: ../fish/guestfish-actions.pod:4384
18384 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4384
18387 " sfdisk-N device partnum cyls heads sectors line\n"
18392 #: ../fish/guestfish-actions.pod:4386
18393 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4386
18394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6591
18395 #: ../src/guestfs-actions.pod:6591
18397 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
18398 "(note: C<n> counts from 1)."
18402 #: ../fish/guestfish-actions.pod:4389
18403 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4389
18405 "For other parameters, see L</sfdisk>. You should usually pass C<0> for the "
18406 "cyls/heads/sectors parameters."
18410 #: ../fish/guestfish-actions.pod:4392
18411 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4392
18412 msgid "See also: L</part-add>"
18413 msgstr "Див. також L</part-add>"
18416 #: ../fish/guestfish-actions.pod:4404
18417 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4404
18418 msgid "sfdisk-disk-geometry"
18419 msgstr "sfdisk-disk-geometry"
18422 #: ../fish/guestfish-actions.pod:4406
18423 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4406
18426 " sfdisk-disk-geometry device\n"
18429 " sfdisk-disk-geometry пристрій\n"
18433 #: ../fish/guestfish-actions.pod:4408
18434 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4408
18436 "This displays the disk geometry of C<device> read from the partition table. "
18437 "Especially in the case where the underlying block device has been resized, "
18438 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
18439 "kernel-geometry>)."
18443 #: ../fish/guestfish-actions.pod:4413 ../fish/guestfish-actions.pod:4422
18444 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4413
18445 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4422
18446 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6624
18447 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6640
18448 #: ../src/guestfs-actions.pod:6624 ../src/guestfs-actions.pod:6640
18449 msgid "The result is in human-readable format, and not designed to be parsed."
18453 #: ../fish/guestfish-actions.pod:4416
18454 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4416
18455 msgid "sfdisk-kernel-geometry"
18456 msgstr "sfdisk-kernel-geometry"
18459 #: ../fish/guestfish-actions.pod:4418
18460 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4418
18463 " sfdisk-kernel-geometry device\n"
18466 " sfdisk-kernel-geometry пристрій\n"
18470 #: ../fish/guestfish-actions.pod:4420
18471 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4420
18472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6638
18473 #: ../src/guestfs-actions.pod:6638
18474 msgid "This displays the kernel's idea of the geometry of C<device>."
18478 #: ../fish/guestfish-actions.pod:4425
18479 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4425
18484 #: ../fish/guestfish-actions.pod:4427
18485 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4427
18488 " sfdisk-l device\n"
18491 " sfdisk-l пристрій\n"
18495 #: ../fish/guestfish-actions.pod:4429
18496 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4429
18497 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6654
18498 #: ../src/guestfs-actions.pod:6654
18500 "This displays the partition table on C<device>, in the human-readable output "
18501 "of the L<sfdisk(8)> command. It is not intended to be parsed."
18505 #: ../fish/guestfish-actions.pod:4433
18506 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4433
18507 msgid "See also: L</part-list>"
18508 msgstr "Див. також L</part-list>"
18511 #: ../fish/guestfish-actions.pod:4435
18512 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4435
18513 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6663
18514 #: ../src/guestfs-actions.pod:6663
18516 "This function is deprecated. In new code, use the C<part_list> call instead."
18520 #: ../fish/guestfish-actions.pod:4442
18521 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4442
18526 #: ../fish/guestfish-actions.pod:4444
18527 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4444
18537 #: ../fish/guestfish-actions.pod:4446
18538 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4446
18539 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6678
18540 #: ../src/guestfs-actions.pod:6678
18542 "This call runs a command from the guest filesystem via the guest's C</bin/"
18547 #: ../fish/guestfish-actions.pod:4449
18548 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4449
18549 msgid "This is like L</command>, but passes the command to:"
18553 #: ../fish/guestfish-actions.pod:4451
18554 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4451
18555 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6683
18556 #: ../src/guestfs-actions.pod:6683
18559 " /bin/sh -c \"command\"\n"
18564 #: ../fish/guestfish-actions.pod:4453
18565 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4453
18566 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6685
18567 #: ../src/guestfs-actions.pod:6685
18569 "Depending on the guest's shell, this usually results in wildcards being "
18570 "expanded, shell expressions being interpolated and so on."
18574 #: ../fish/guestfish-actions.pod:4457
18575 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4457
18576 msgid "All the provisos about L</command> apply to this call."
18580 #: ../fish/guestfish-actions.pod:4459
18581 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4459
18586 #: ../fish/guestfish-actions.pod:4461
18587 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4461
18590 " sh-lines command\n"
18593 " sh-lines команда\n"
18597 #: ../fish/guestfish-actions.pod:4463
18598 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4463
18599 msgid "This is the same as L</sh>, but splits the result into a list of lines."
18603 #: ../fish/guestfish-actions.pod:4466
18604 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4466
18605 msgid "See also: L</command-lines>"
18606 msgstr "Див. також L</command-lines>"
18609 #: ../fish/guestfish-actions.pod:4468
18610 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4468
18615 #: ../fish/guestfish-actions.pod:4470
18616 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4470
18622 " sleep час_у_секундах\n"
18626 #: ../fish/guestfish-actions.pod:4472
18627 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4472
18628 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6719
18629 #: ../src/guestfs-actions.pod:6719
18630 msgid "Sleep for C<secs> seconds."
18634 #: ../fish/guestfish-actions.pod:4474
18635 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4474
18640 #: ../fish/guestfish-actions.pod:4476
18641 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4476
18651 #: ../fish/guestfish-actions.pod:4480
18652 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4480
18653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6733
18654 #: ../src/guestfs-actions.pod:6733
18655 msgid "This is the same as the C<stat(2)> system call."
18659 #: ../fish/guestfish-actions.pod:4482
18660 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4482
18665 #: ../fish/guestfish-actions.pod:4484
18666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4484
18676 #: ../fish/guestfish-actions.pod:4486
18677 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4486
18678 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6747
18679 #: ../src/guestfs-actions.pod:6747
18681 "Returns file system statistics for any mounted file system. C<path> should "
18682 "be a file or directory in the mounted file system (typically it is the mount "
18683 "point itself, but it doesn't need to be)."
18687 #: ../fish/guestfish-actions.pod:4490
18688 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4490
18689 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6751
18690 #: ../src/guestfs-actions.pod:6751
18691 msgid "This is the same as the C<statvfs(2)> system call."
18695 #: ../fish/guestfish-actions.pod:4492
18696 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4492
18701 #: ../fish/guestfish-actions.pod:4494
18702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4494
18712 #: ../fish/guestfish-actions.pod:4496
18713 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4496
18714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6765
18715 #: ../src/guestfs-actions.pod:6765
18717 "This runs the L<strings(1)> command on a file and returns the list of "
18718 "printable strings found."
18722 #: ../fish/guestfish-actions.pod:4502
18723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4502
18728 #: ../fish/guestfish-actions.pod:4504
18729 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4504
18732 " strings-e encoding path\n"
18735 " strings-e кодування шлях\n"
18739 #: ../fish/guestfish-actions.pod:4506
18740 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4506
18742 "This is like the L</strings> command, but allows you to specify the encoding "
18743 "of strings that are looked for in the source file C<path>."
18747 #: ../fish/guestfish-actions.pod:4510
18748 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4510
18749 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6788
18750 #: ../src/guestfs-actions.pod:6788
18751 msgid "Allowed encodings are:"
18752 msgstr "Можливими кодуваннями є:"
18755 #: ../fish/guestfish-actions.pod:4514
18756 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4514
18757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6792
18758 #: ../src/guestfs-actions.pod:6792
18763 #: ../fish/guestfish-actions.pod:4516
18764 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4516
18766 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
18767 "ISO-8859-X (this is what L</strings> uses)."
18771 #: ../fish/guestfish-actions.pod:4519
18772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4519
18773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6797
18774 #: ../src/guestfs-actions.pod:6797
18779 #: ../fish/guestfish-actions.pod:4521
18780 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4521
18781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6799
18782 #: ../src/guestfs-actions.pod:6799
18783 msgid "Single 8-bit-byte characters."
18784 msgstr "Окремі 8-бітові-байтові символи."
18787 #: ../fish/guestfish-actions.pod:4523
18788 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4523
18789 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6801
18790 #: ../src/guestfs-actions.pod:6801
18795 #: ../fish/guestfish-actions.pod:4525
18796 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4525
18797 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6803
18798 #: ../src/guestfs-actions.pod:6803
18799 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
18803 #: ../fish/guestfish-actions.pod:4528
18804 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4528
18805 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6806
18806 #: ../src/guestfs-actions.pod:6806
18807 msgid "l (lower case letter L)"
18811 #: ../fish/guestfish-actions.pod:4530
18812 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4530
18813 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6808
18814 #: ../src/guestfs-actions.pod:6808
18816 "16-bit little endian such as UTF-16LE and UCS-2LE. This is useful for "
18817 "examining binaries in Windows guests."
18821 #: ../fish/guestfish-actions.pod:4533
18822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4533
18823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6811
18824 #: ../src/guestfs-actions.pod:6811
18829 #: ../fish/guestfish-actions.pod:4535
18830 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4535
18831 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6813
18832 #: ../src/guestfs-actions.pod:6813
18833 msgid "32-bit big endian such as UCS-4BE."
18837 #: ../fish/guestfish-actions.pod:4537
18838 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4537
18839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6815
18840 #: ../src/guestfs-actions.pod:6815
18845 #: ../fish/guestfish-actions.pod:4539
18846 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4539
18847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6817
18848 #: ../src/guestfs-actions.pod:6817
18849 msgid "32-bit little endian such as UCS-4LE."
18853 #: ../fish/guestfish-actions.pod:4543
18854 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4543
18855 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6821
18856 #: ../src/guestfs-actions.pod:6821
18857 msgid "The returned strings are transcoded to UTF-8."
18861 #: ../fish/guestfish-actions.pod:4548
18862 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4548
18863 msgid "swapoff-device"
18864 msgstr "swapoff-device"
18867 #: ../fish/guestfish-actions.pod:4550
18868 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4550
18871 " swapoff-device device\n"
18874 " swapoff-device пристрій\n"
18878 #: ../fish/guestfish-actions.pod:4552
18879 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4552
18881 "This command disables the libguestfs appliance swap device or partition "
18882 "named C<device>. See L</swapon-device>."
18886 #: ../fish/guestfish-actions.pod:4556
18887 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4556
18888 msgid "swapoff-file"
18889 msgstr "swapoff-file"
18892 #: ../fish/guestfish-actions.pod:4558
18893 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4558
18896 " swapoff-file file\n"
18899 " swapoff-file файл\n"
18903 #: ../fish/guestfish-actions.pod:4560
18904 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4560
18905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6852
18906 #: ../src/guestfs-actions.pod:6852
18907 msgid "This command disables the libguestfs appliance swap on file."
18911 #: ../fish/guestfish-actions.pod:4562
18912 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4562
18913 msgid "swapoff-label"
18914 msgstr "swapoff-label"
18917 #: ../fish/guestfish-actions.pod:4564
18918 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4564
18921 " swapoff-label label\n"
18924 " swapoff-label мітка\n"
18928 #: ../fish/guestfish-actions.pod:4566
18929 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4566
18930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6864
18931 #: ../src/guestfs-actions.pod:6864
18933 "This command disables the libguestfs appliance swap on labeled swap "
18938 #: ../fish/guestfish-actions.pod:4569
18939 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4569
18940 msgid "swapoff-uuid"
18941 msgstr "swapoff-uuid"
18944 #: ../fish/guestfish-actions.pod:4571
18945 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4571
18948 " swapoff-uuid uuid\n"
18951 " swapoff-uuid uuid\n"
18955 #: ../fish/guestfish-actions.pod:4573
18956 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4573
18957 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6877
18958 #: ../src/guestfs-actions.pod:6877
18960 "This command disables the libguestfs appliance swap partition with the given "
18965 #: ../fish/guestfish-actions.pod:4576
18966 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4576
18967 msgid "swapon-device"
18968 msgstr "swapon-device"
18971 #: ../fish/guestfish-actions.pod:4578
18972 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4578
18975 " swapon-device device\n"
18978 " swapon-device пристрій\n"
18982 #: ../fish/guestfish-actions.pod:4580
18983 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4580
18985 "This command enables the libguestfs appliance to use the swap device or "
18986 "partition named C<device>. The increased memory is made available for all "
18987 "commands, for example those run using L</command> or L</sh>."
18991 #: ../fish/guestfish-actions.pod:4585
18992 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4585
18993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6895
18994 #: ../src/guestfs-actions.pod:6895
18996 "Note that you should not swap to existing guest swap partitions unless you "
18997 "know what you are doing. They may contain hibernation information, or other "
18998 "information that the guest doesn't want you to trash. You also risk leaking "
18999 "information about the host to the guest this way. Instead, attach a new "
19000 "host device to the guest and swap on that."
19004 #: ../fish/guestfish-actions.pod:4592
19005 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4592
19006 msgid "swapon-file"
19007 msgstr "swapon-file"
19010 #: ../fish/guestfish-actions.pod:4594
19011 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4594
19014 " swapon-file file\n"
19017 " swapon-file файл\n"
19021 #: ../fish/guestfish-actions.pod:4596
19022 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4596
19024 "This command enables swap to a file. See L</swapon-device> for other notes."
19028 #: ../fish/guestfish-actions.pod:4599
19029 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4599
19030 msgid "swapon-label"
19031 msgstr "swapon-label"
19034 #: ../fish/guestfish-actions.pod:4601
19035 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4601
19038 " swapon-label label\n"
19041 " swapon-label мітка\n"
19045 #: ../fish/guestfish-actions.pod:4603
19046 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4603
19048 "This command enables swap to a labeled swap partition. See L</swapon-"
19049 "device> for other notes."
19053 #: ../fish/guestfish-actions.pod:4606
19054 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4606
19055 msgid "swapon-uuid"
19056 msgstr "swapon-uuid"
19059 #: ../fish/guestfish-actions.pod:4608
19060 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4608
19063 " swapon-uuid uuid\n"
19066 " swapon-uuid uuid\n"
19070 #: ../fish/guestfish-actions.pod:4610
19071 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4610
19073 "This command enables swap to a swap partition with the given UUID. See L</"
19074 "swapon-device> for other notes."
19078 #: ../fish/guestfish-actions.pod:4613
19079 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4613
19084 #: ../fish/guestfish-actions.pod:4615
19085 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4615
19095 #: ../fish/guestfish-actions.pod:4617
19096 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4617
19097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6950
19098 #: ../src/guestfs-actions.pod:6950
19100 "This syncs the disk, so that any writes are flushed through to the "
19101 "underlying disk image."
19105 #: ../fish/guestfish-actions.pod:4620
19106 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4620
19107 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6953
19108 #: ../src/guestfs-actions.pod:6953
19110 "You should always call this if you have modified a disk image, before "
19111 "closing the handle."
19115 #: ../fish/guestfish-actions.pod:4623
19116 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4623
19121 #: ../fish/guestfish-actions.pod:4625
19122 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4625
19132 #: ../fish/guestfish-actions.pod:4627
19133 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4627
19134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6966
19135 #: ../src/guestfs-actions.pod:6966
19137 "This command returns up to the last 10 lines of a file as a list of strings."
19141 #: ../fish/guestfish-actions.pod:4633
19142 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4633
19147 #: ../fish/guestfish-actions.pod:4635
19148 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4635
19151 " tail-n nrlines path\n"
19156 #: ../fish/guestfish-actions.pod:4637
19157 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4637
19158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6985
19159 #: ../src/guestfs-actions.pod:6985
19161 "If the parameter C<nrlines> is a positive number, this returns the last "
19162 "C<nrlines> lines of the file C<path>."
19166 #: ../fish/guestfish-actions.pod:4640
19167 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4640
19168 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6988
19169 #: ../src/guestfs-actions.pod:6988
19171 "If the parameter C<nrlines> is a negative number, this returns lines from "
19172 "the file C<path>, starting with the C<-nrlines>th line."
19176 #: ../fish/guestfish-actions.pod:4648
19177 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4648
19182 #: ../fish/guestfish-actions.pod:4650
19183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4650
19186 " tar-in (tarfile|-) directory\n"
19189 " tar-in (файл_tar|-) каталог\n"
19193 #: ../fish/guestfish-actions.pod:4652
19194 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4652
19195 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7009
19196 #: ../src/guestfs-actions.pod:7009
19198 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
19199 "tar file) into C<directory>."
19203 #: ../fish/guestfish-actions.pod:4655
19204 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4655
19205 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
19209 #: ../fish/guestfish-actions.pod:4660
19210 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4660
19215 #: ../fish/guestfish-actions.pod:4662
19216 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4662
19219 " tar-out directory (tarfile|-)\n"
19222 " tar-out каталог (файл tar|-)\n"
19226 #: ../fish/guestfish-actions.pod:4664
19227 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4664
19228 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7026
19229 #: ../src/guestfs-actions.pod:7026
19231 "This command packs the contents of C<directory> and downloads it to local "
19236 #: ../fish/guestfish-actions.pod:4667
19237 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4667
19238 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
19242 #: ../fish/guestfish-actions.pod:4672
19243 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4672
19248 #: ../fish/guestfish-actions.pod:4674
19249 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4674
19252 " tgz-in (tarball|-) directory\n"
19255 " tgz-in (архів tar|-) каталог\n"
19259 #: ../fish/guestfish-actions.pod:4676
19260 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4676
19261 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7043
19262 #: ../src/guestfs-actions.pod:7043
19264 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
19265 "tar file) into C<directory>."
19269 #: ../fish/guestfish-actions.pod:4679
19270 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4679
19271 msgid "To upload an uncompressed tarball, use L</tar-in>."
19275 #: ../fish/guestfish-actions.pod:4683
19276 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4683
19281 #: ../fish/guestfish-actions.pod:4685
19282 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4685
19285 " tgz-out directory (tarball|-)\n"
19288 " tgz-out каталог (архів tar|-)\n"
19292 #: ../fish/guestfish-actions.pod:4687
19293 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4687
19294 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7059
19295 #: ../src/guestfs-actions.pod:7059
19297 "This command packs the contents of C<directory> and downloads it to local "
19302 #: ../fish/guestfish-actions.pod:4690
19303 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4690
19304 msgid "To download an uncompressed tarball, use L</tar-out>."
19308 #: ../fish/guestfish-actions.pod:4694
19309 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4694
19314 #: ../fish/guestfish-actions.pod:4696
19315 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4696
19325 #: ../fish/guestfish-actions.pod:4698
19326 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4698
19327 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7074
19328 #: ../src/guestfs-actions.pod:7074
19330 "Touch acts like the L<touch(1)> command. It can be used to update the "
19331 "timestamps on a file, or, if the file does not exist, to create a new zero-"
19336 #: ../fish/guestfish-actions.pod:4702
19337 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4702
19338 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7078
19339 #: ../src/guestfs-actions.pod:7078
19341 "This command only works on regular files, and will fail on other file types "
19342 "such as directories, symbolic links, block special etc."
19346 #: ../fish/guestfish-actions.pod:4705
19347 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4705
19352 #: ../fish/guestfish-actions.pod:4707
19353 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4707
19363 #: ../fish/guestfish-actions.pod:4709
19364 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4709
19365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7091
19366 #: ../src/guestfs-actions.pod:7091
19368 "This command truncates C<path> to a zero-length file. The file must exist "
19373 #: ../fish/guestfish-actions.pod:4712
19374 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4712
19375 msgid "truncate-size"
19376 msgstr "truncate-size"
19379 #: ../fish/guestfish-actions.pod:4714
19380 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4714
19383 " truncate-size path size\n"
19386 " truncate-size шлях розмір\n"
19390 #: ../fish/guestfish-actions.pod:4716
19391 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4716
19392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7105
19393 #: ../src/guestfs-actions.pod:7105
19395 "This command truncates C<path> to size C<size> bytes. The file must exist "
19400 #: ../fish/guestfish-actions.pod:4719
19401 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4719
19403 "If the current file size is less than C<size> then the file is extended to "
19404 "the required size with zero bytes. This creates a sparse file (ie. disk "
19405 "blocks are not allocated for the file until you write to it). To create a "
19406 "non-sparse file of zeroes, use L</fallocate64> instead."
19410 #: ../fish/guestfish-actions.pod:4725
19411 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4725
19416 #: ../fish/guestfish-actions.pod:4727
19417 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4727
19420 " tune2fs-l device\n"
19423 " tune2fs-l пристрій\n"
19427 #: ../fish/guestfish-actions.pod:4729
19428 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4729
19429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7124
19430 #: ../src/guestfs-actions.pod:7124
19432 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
19437 #: ../fish/guestfish-actions.pod:4732
19438 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4732
19439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7127
19440 #: ../src/guestfs-actions.pod:7127
19442 "It is the same as running C<tune2fs -l device>. See L<tune2fs(8)> manpage "
19443 "for more details. The list of fields returned isn't clearly defined, and "
19444 "depends on both the version of C<tune2fs> that libguestfs was built against, "
19445 "and the filesystem itself."
19449 #: ../fish/guestfish-actions.pod:4737
19450 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4737
19455 #: ../fish/guestfish-actions.pod:4739
19456 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4739
19459 " txz-in (tarball|-) directory\n"
19462 " txz-in (архів tar|-) каталог\n"
19466 #: ../fish/guestfish-actions.pod:4741
19467 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4741
19468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7147
19469 #: ../src/guestfs-actions.pod:7147
19471 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
19472 "tar file) into C<directory>."
19476 #: ../fish/guestfish-actions.pod:4746
19477 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4746
19482 #: ../fish/guestfish-actions.pod:4748
19483 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4748
19486 " txz-out directory (tarball|-)\n"
19489 " txz-out каталог (архів tar|-)\n"
19493 #: ../fish/guestfish-actions.pod:4750
19494 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4750
19495 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7161
19496 #: ../src/guestfs-actions.pod:7161
19498 "This command packs the contents of C<directory> and downloads it to local "
19499 "file C<tarball> (as an xz compressed tar archive)."
19503 #: ../fish/guestfish-actions.pod:4755
19504 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4755
19509 #: ../fish/guestfish-actions.pod:4757
19510 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4757
19520 #: ../fish/guestfish-actions.pod:4759
19521 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4759
19522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7174
19523 #: ../src/guestfs-actions.pod:7174
19525 "This function sets the mask used for creating new files and device nodes to "
19530 #: ../fish/guestfish-actions.pod:4762
19531 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4762
19532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7177
19533 #: ../src/guestfs-actions.pod:7177
19535 "Typical umask values would be C<022> which creates new files with "
19536 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
19537 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
19541 #: ../fish/guestfish-actions.pod:4767
19542 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4767
19543 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7182
19544 #: ../src/guestfs-actions.pod:7182
19546 "The default umask is C<022>. This is important because it means that "
19547 "directories and device nodes will be created with C<0644> or C<0755> mode "
19548 "even if you specify C<0777>."
19552 #: ../fish/guestfish-actions.pod:4771
19553 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4771
19554 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
19555 msgstr "Див. також L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
19558 #: ../fish/guestfish-actions.pod:4774
19559 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4774
19560 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7189
19561 #: ../src/guestfs-actions.pod:7189
19562 msgid "This call returns the previous umask."
19566 #: ../fish/guestfish-actions.pod:4776
19567 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4776
19572 #: ../fish/guestfish-actions.pod:4778
19573 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4778
19578 #: ../fish/guestfish-actions.pod:4780
19579 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4780
19582 " umount pathordevice\n"
19585 " umount шлях_або_пристрій\n"
19589 #: ../fish/guestfish-actions.pod:4782
19590 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4782
19591 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7201
19592 #: ../src/guestfs-actions.pod:7201
19594 "This unmounts the given filesystem. The filesystem may be specified either "
19595 "by its mountpoint (path) or the device which contains the filesystem."
19599 #: ../fish/guestfish-actions.pod:4786
19600 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4786
19602 msgstr "umount-all"
19605 #: ../fish/guestfish-actions.pod:4788
19606 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4788
19607 msgid "unmount-all"
19608 msgstr "unmount-all"
19611 #: ../fish/guestfish-actions.pod:4790
19612 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4790
19622 #: ../fish/guestfish-actions.pod:4792
19623 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4792
19624 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7214
19625 #: ../src/guestfs-actions.pod:7214
19626 msgid "This unmounts all mounted filesystems."
19630 #: ../fish/guestfish-actions.pod:4794
19631 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4794
19632 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7216
19633 #: ../src/guestfs-actions.pod:7216
19634 msgid "Some internal mounts are not unmounted by this call."
19638 #: ../fish/guestfish-actions.pod:4796
19639 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4796
19644 #: ../fish/guestfish-actions.pod:4798
19645 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4798
19648 " upload (filename|-) remotefilename\n"
19651 " upload (назва_файла|-) назва_віддаленого_файла\n"
19655 #: ../fish/guestfish-actions.pod:4800 ../fish/guestfish-actions.pod:4813
19656 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4800
19657 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4813
19658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7229
19659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7253
19660 #: ../src/guestfs-actions.pod:7229 ../src/guestfs-actions.pod:7253
19661 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
19665 #: ../fish/guestfish-actions.pod:4805
19666 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4805
19667 msgid "See also L</download>."
19668 msgstr "Див. також L</download>."
19671 #: ../fish/guestfish-actions.pod:4809
19672 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4809
19673 msgid "upload-offset"
19674 msgstr "upload-offset"
19677 #: ../fish/guestfish-actions.pod:4811
19678 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4811
19681 " upload-offset (filename|-) remotefilename offset\n"
19684 " upload-offset (назва_файла|-) назва_віддаленого_файла відступ\n"
19688 #: ../fish/guestfish-actions.pod:4816
19689 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4816
19690 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7256
19691 #: ../src/guestfs-actions.pod:7256
19693 "C<remotefilename> is overwritten starting at the byte C<offset> specified. "
19694 "The intention is to overwrite parts of existing files or devices, although "
19695 "if a non-existant file is specified then it is created with a \"hole\" "
19696 "before C<offset>. The size of the data written is implicit in the size of "
19697 "the source C<filename>."
19701 #: ../fish/guestfish-actions.pod:4823
19702 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4823
19704 "Note that there is no limit on the amount of data that can be uploaded with "
19705 "this call, unlike with L</pwrite>, and this call always writes the full "
19706 "amount unless an error occurs."
19710 #: ../fish/guestfish-actions.pod:4828
19711 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4828
19712 msgid "See also L</upload>, L</pwrite>."
19713 msgstr "Див. також L</upload>, L</pwrite>."
19716 #: ../fish/guestfish-actions.pod:4832
19717 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4832
19722 #: ../fish/guestfish-actions.pod:4834
19723 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4834
19726 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
19731 #: ../fish/guestfish-actions.pod:4836
19732 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4836
19733 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7289
19734 #: ../src/guestfs-actions.pod:7289
19735 msgid "This command sets the timestamps of a file with nanosecond precision."
19739 #: ../fish/guestfish-actions.pod:4839
19740 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4839
19741 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7292
19742 #: ../src/guestfs-actions.pod:7292
19744 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
19749 #: ../fish/guestfish-actions.pod:4842
19750 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4842
19751 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7295
19752 #: ../src/guestfs-actions.pod:7295
19754 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
19755 "nanoseconds from the epoch."
19759 #: ../fish/guestfish-actions.pod:4845
19760 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4845
19761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7298
19762 #: ../src/guestfs-actions.pod:7298
19764 "If the C<*nsecs> field contains the special value C<-1> then the "
19765 "corresponding timestamp is set to the current time. (The C<*secs> field is "
19766 "ignored in this case)."
19770 #: ../fish/guestfish-actions.pod:4849
19771 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4849
19772 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7302
19773 #: ../src/guestfs-actions.pod:7302
19775 "If the C<*nsecs> field contains the special value C<-2> then the "
19776 "corresponding timestamp is left unchanged. (The C<*secs> field is ignored "
19781 #: ../fish/guestfish-actions.pod:4853
19782 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4853
19787 #: ../fish/guestfish-actions.pod:4855
19788 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4855
19798 #: ../fish/guestfish-actions.pod:4857
19799 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4857
19800 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7315
19801 #: ../src/guestfs-actions.pod:7315
19803 "Return the libguestfs version number that the program is linked against."
19807 #: ../fish/guestfish-actions.pod:4860
19808 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4860
19809 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7318
19810 #: ../src/guestfs-actions.pod:7318
19812 "Note that because of dynamic linking this is not necessarily the version of "
19813 "libguestfs that you compiled against. You can compile the program, and then "
19814 "at runtime dynamically link against a completely different C<libguestfs.so> "
19819 #: ../fish/guestfish-actions.pod:4865
19820 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4865
19821 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7323
19822 #: ../src/guestfs-actions.pod:7323
19824 "This call was added in version C<1.0.58>. In previous versions of "
19825 "libguestfs there was no way to get the version number. From C code you can "
19826 "use dynamic linker functions to find out if this symbol exists (if it "
19827 "doesn't, then it's an earlier version)."
19831 #: ../fish/guestfish-actions.pod:4871
19832 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4871
19833 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7329
19834 #: ../src/guestfs-actions.pod:7329
19836 "The call returns a structure with four elements. The first three (C<major>, "
19837 "C<minor> and C<release>) are numbers and correspond to the usual version "
19838 "triplet. The fourth element (C<extra>) is a string and is normally empty, "
19839 "but may be used for distro-specific information."
19843 #: ../fish/guestfish-actions.pod:4877
19844 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4877
19845 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7335
19846 #: ../src/guestfs-actions.pod:7335
19848 "To construct the original version string: C<$major.$minor.$release$extra>"
19852 #: ../fish/guestfish-actions.pod:4880
19853 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4880
19854 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7338
19855 #: ../src/guestfs-actions.pod:7338
19856 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
19860 #: ../fish/guestfish-actions.pod:4882
19861 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4882
19863 "I<Note:> Don't use this call to test for availability of features. In "
19864 "enterprise distributions we backport features from later versions into "
19865 "earlier versions, making this an unreliable way to test for features. Use "
19866 "L</available> instead."
19870 #: ../fish/guestfish-actions.pod:4888
19871 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4888
19876 #: ../fish/guestfish-actions.pod:4890
19877 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4890
19880 " vfs-label device\n"
19883 " vfs-label пристрій\n"
19887 #: ../fish/guestfish-actions.pod:4892
19888 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4892
19889 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7358
19890 #: ../src/guestfs-actions.pod:7358
19891 msgid "This returns the filesystem label of the filesystem on C<device>."
19895 #: ../fish/guestfish-actions.pod:4895
19896 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4895
19897 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7361
19898 #: ../src/guestfs-actions.pod:7361
19899 msgid "If the filesystem is unlabeled, this returns the empty string."
19903 #: ../fish/guestfish-actions.pod:4897
19904 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4897
19905 msgid "To find a filesystem from the label, use L</findfs-label>."
19909 #: ../fish/guestfish-actions.pod:4899
19910 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4899
19915 #: ../fish/guestfish-actions.pod:4901
19916 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4901
19919 " vfs-type device\n"
19922 " vfs-type пристрій\n"
19926 #: ../fish/guestfish-actions.pod:4903
19927 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4903
19928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7376
19929 #: ../src/guestfs-actions.pod:7376
19931 "This command gets the filesystem type corresponding to the filesystem on "
19936 #: ../fish/guestfish-actions.pod:4906
19937 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4906
19938 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7379
19939 #: ../src/guestfs-actions.pod:7379
19941 "For most filesystems, the result is the name of the Linux VFS module which "
19942 "would be used to mount this filesystem if you mounted it without specifying "
19943 "the filesystem type. For example a string such as C<ext3> or C<ntfs>."
19947 #: ../fish/guestfish-actions.pod:4911
19948 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4911
19953 #: ../fish/guestfish-actions.pod:4913
19954 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4913
19957 " vfs-uuid device\n"
19960 " vfs-uuid пристрій\n"
19964 #: ../fish/guestfish-actions.pod:4915
19965 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4915
19966 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7395
19967 #: ../src/guestfs-actions.pod:7395
19968 msgid "This returns the filesystem UUID of the filesystem on C<device>."
19972 #: ../fish/guestfish-actions.pod:4918
19973 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4918
19974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7398
19975 #: ../src/guestfs-actions.pod:7398
19976 msgid "If the filesystem does not have a UUID, this returns the empty string."
19980 #: ../fish/guestfish-actions.pod:4920
19981 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4920
19982 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
19986 #: ../fish/guestfish-actions.pod:4922
19987 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4922
19988 msgid "vg-activate"
19989 msgstr "vg-activate"
19992 #: ../fish/guestfish-actions.pod:4924
19993 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4924
19996 " vg-activate true|false 'volgroups ...'\n"
20001 #: ../fish/guestfish-actions.pod:4926
20002 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4926
20003 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7414
20004 #: ../src/guestfs-actions.pod:7414
20006 "This command activates or (if C<activate> is false) deactivates all logical "
20007 "volumes in the listed volume groups C<volgroups>."
20011 #: ../fish/guestfish-actions.pod:4929
20012 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4929
20013 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7417
20014 #: ../src/guestfs-actions.pod:7417
20015 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
20019 #: ../fish/guestfish-actions.pod:4931
20020 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4931
20021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7419
20022 #: ../src/guestfs-actions.pod:7419
20024 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
20025 "activated or deactivated."
20029 #: ../fish/guestfish-actions.pod:4934
20030 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4934
20031 msgid "vg-activate-all"
20032 msgstr "vg-activate-all"
20035 #: ../fish/guestfish-actions.pod:4936
20036 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4936
20039 " vg-activate-all true|false\n"
20042 " vg-activate-all true|false\n"
20046 #: ../fish/guestfish-actions.pod:4938
20047 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4938
20048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7432
20049 #: ../src/guestfs-actions.pod:7432
20051 "This command activates or (if C<activate> is false) deactivates all logical "
20052 "volumes in all volume groups."
20056 #: ../fish/guestfish-actions.pod:4941
20057 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4941
20058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7435
20059 #: ../src/guestfs-actions.pod:7435
20060 msgid "This command is the same as running C<vgchange -a y|n>"
20064 #: ../fish/guestfish-actions.pod:4943
20065 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4943
20070 #: ../fish/guestfish-actions.pod:4945
20071 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4945
20074 " vgcreate volgroup 'physvols ...'\n"
20079 #: ../fish/guestfish-actions.pod:4947
20080 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4947
20081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7448
20082 #: ../src/guestfs-actions.pod:7448
20084 "This creates an LVM volume group called C<volgroup> from the non-empty list "
20085 "of physical volumes C<physvols>."
20089 #: ../fish/guestfish-actions.pod:4950
20090 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4950
20095 #: ../fish/guestfish-actions.pod:4952
20096 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4952
20099 " vglvuuids vgname\n"
20104 #: ../fish/guestfish-actions.pod:4954
20105 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4954
20106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7461
20107 #: ../src/guestfs-actions.pod:7461
20109 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
20110 "volumes created in this volume group."
20114 #: ../fish/guestfish-actions.pod:4957
20115 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4957
20117 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
20118 "logical volumes and volume groups."
20122 #: ../fish/guestfish-actions.pod:4960
20123 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4960
20124 msgid "See also L</vgpvuuids>."
20125 msgstr "Див. також L</vgpvuuids>."
20128 #: ../fish/guestfish-actions.pod:4962
20129 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4962
20134 #: ../fish/guestfish-actions.pod:4964
20135 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4964
20138 " vgpvuuids vgname\n"
20143 #: ../fish/guestfish-actions.pod:4966
20144 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4966
20145 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7481
20146 #: ../src/guestfs-actions.pod:7481
20148 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
20149 "volumes that this volume group resides on."
20153 #: ../fish/guestfish-actions.pod:4969
20154 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4969
20156 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
20157 "physical volumes and volume groups."
20161 #: ../fish/guestfish-actions.pod:4972
20162 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4972
20163 msgid "See also L</vglvuuids>."
20164 msgstr "Див. також L</vglvuuids>."
20167 #: ../fish/guestfish-actions.pod:4974
20168 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4974
20173 #: ../fish/guestfish-actions.pod:4976
20174 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4976
20177 " vgremove vgname\n"
20182 #: ../fish/guestfish-actions.pod:4978
20183 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4978
20184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7501
20185 #: ../src/guestfs-actions.pod:7501
20186 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
20190 #: ../fish/guestfish-actions.pod:4980
20191 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4980
20192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7503
20193 #: ../src/guestfs-actions.pod:7503
20195 "This also forcibly removes all logical volumes in the volume group (if any)."
20199 #: ../fish/guestfish-actions.pod:4983
20200 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4983
20205 #: ../fish/guestfish-actions.pod:4985
20206 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4985
20209 " vgrename volgroup newvolgroup\n"
20214 #: ../fish/guestfish-actions.pod:4987
20215 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4987
20216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7517
20217 #: ../src/guestfs-actions.pod:7517
20218 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
20222 #: ../fish/guestfish-actions.pod:4989
20223 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4989
20228 #: ../fish/guestfish-actions.pod:4991
20229 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4991
20239 #: ../fish/guestfish-actions.pod:4993
20240 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4993
20241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7528
20242 #: ../src/guestfs-actions.pod:7528
20244 "List all the volumes groups detected. This is the equivalent of the L<vgs(8)"
20249 #: ../fish/guestfish-actions.pod:4996
20250 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4996
20251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7531
20252 #: ../src/guestfs-actions.pod:7531
20254 "This returns a list of just the volume group names that were detected (eg. "
20259 #: ../fish/guestfish-actions.pod:4999
20260 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:4999
20261 msgid "See also L</vgs-full>."
20262 msgstr "Див. також L</vgs-full>."
20265 #: ../fish/guestfish-actions.pod:5001
20266 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5001
20271 #: ../fish/guestfish-actions.pod:5003
20272 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5003
20282 #: ../fish/guestfish-actions.pod:5005
20283 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5005
20284 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7547
20285 #: ../src/guestfs-actions.pod:7547
20287 "List all the volumes groups detected. This is the equivalent of the L<vgs(8)"
20288 "> command. The \"full\" version includes all fields."
20292 #: ../fish/guestfish-actions.pod:5008
20293 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5008
20298 #: ../fish/guestfish-actions.pod:5010
20299 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5010
20309 #: ../fish/guestfish-actions.pod:5012
20310 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5012
20311 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7561
20312 #: ../src/guestfs-actions.pod:7561
20314 "This rescans all block devices and rebuilds the list of LVM physical "
20315 "volumes, volume groups and logical volumes."
20319 #: ../fish/guestfish-actions.pod:5015
20320 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5015
20325 #: ../fish/guestfish-actions.pod:5017
20326 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5017
20334 #: ../fish/guestfish-actions.pod:5019
20335 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5019
20336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7574
20337 #: ../src/guestfs-actions.pod:7574
20338 msgid "This command returns the UUID of the LVM VG named C<vgname>."
20342 #: ../fish/guestfish-actions.pod:5021
20343 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5021
20348 #: ../fish/guestfish-actions.pod:5023
20349 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5023
20359 #: ../fish/guestfish-actions.pod:5025
20360 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5025
20361 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7614
20362 #: ../src/guestfs-actions.pod:7614
20364 "This command counts the characters in a file, using the C<wc -c> external "
20369 #: ../fish/guestfish-actions.pod:5028
20370 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5028
20375 #: ../fish/guestfish-actions.pod:5030
20376 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5030
20386 #: ../fish/guestfish-actions.pod:5032
20387 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5032
20388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7627
20389 #: ../src/guestfs-actions.pod:7627
20391 "This command counts the lines in a file, using the C<wc -l> external command."
20395 #: ../fish/guestfish-actions.pod:5035
20396 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5035
20401 #: ../fish/guestfish-actions.pod:5037
20402 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5037
20412 #: ../fish/guestfish-actions.pod:5039
20413 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5039
20414 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7640
20415 #: ../src/guestfs-actions.pod:7640
20417 "This command counts the words in a file, using the C<wc -w> external command."
20421 #: ../fish/guestfish-actions.pod:5042
20422 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5042
20427 #: ../fish/guestfish-actions.pod:5044
20428 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5044
20431 " write path content\n"
20434 " write шлях дані\n"
20438 #: ../fish/guestfish-actions.pod:5046
20439 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5046
20440 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7655
20441 #: ../src/guestfs-actions.pod:7655
20443 "This call creates a file called C<path>. The content of the file is the "
20444 "string C<content> (which can contain any 8 bit data)."
20448 #: ../fish/guestfish-actions.pod:5049
20449 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5049
20450 msgid "See also L</write-append>."
20454 #: ../fish/guestfish-actions.pod:5054
20455 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5054
20456 msgid "write-append"
20460 #: ../fish/guestfish-actions.pod:5056
20461 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5056
20464 " write-append path content\n"
20469 #: ../fish/guestfish-actions.pod:5058
20470 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5058
20471 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7675
20472 #: ../src/guestfs-actions.pod:7675
20474 "This call appends C<content> to the end of file C<path>. If C<path> does "
20475 "not exist, then a new file is created."
20479 #: ../fish/guestfish-actions.pod:5061
20480 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5061
20481 msgid "See also L</write>."
20485 #: ../fish/guestfish-actions.pod:5066
20486 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5066
20488 msgstr "write-file"
20491 #: ../fish/guestfish-actions.pod:5068
20492 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5068
20495 " write-file path content size\n"
20500 #: ../fish/guestfish-actions.pod:5070
20501 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5070
20502 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7695
20503 #: ../src/guestfs-actions.pod:7695
20505 "This call creates a file called C<path>. The contents of the file is the "
20506 "string C<content> (which can contain any 8 bit data), with length C<size>."
20510 #: ../fish/guestfish-actions.pod:5074
20511 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5074
20512 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7699
20513 #: ../src/guestfs-actions.pod:7699
20515 "As a special case, if C<size> is C<0> then the length is calculated using "
20516 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
20520 #: ../fish/guestfish-actions.pod:5078
20521 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5078
20522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7703
20523 #: ../src/guestfs-actions.pod:7703
20525 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
20526 "I<not> work, even if the length is specified."
20530 #: ../fish/guestfish-actions.pod:5084
20531 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5084
20532 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7711
20533 #: ../src/guestfs-actions.pod:7711
20535 "This function is deprecated. In new code, use the C<write> call instead."
20539 #: ../fish/guestfish-actions.pod:5091
20540 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5091
20545 #: ../fish/guestfish-actions.pod:5093
20546 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5093
20549 " zegrep regex path\n"
20552 " zegrep формальний_вираз шлях\n"
20556 #: ../fish/guestfish-actions.pod:5095
20557 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5095
20558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7727
20559 #: ../src/guestfs-actions.pod:7727
20561 "This calls the external C<zegrep> program and returns the matching lines."
20565 #: ../fish/guestfish-actions.pod:5101
20566 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5101
20571 #: ../fish/guestfish-actions.pod:5103
20572 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5103
20575 " zegrepi regex path\n"
20580 #: ../fish/guestfish-actions.pod:5105
20581 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5105
20582 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7746
20583 #: ../src/guestfs-actions.pod:7746
20585 "This calls the external C<zegrep -i> program and returns the matching lines."
20589 #: ../fish/guestfish-actions.pod:5111
20590 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5111
20595 #: ../fish/guestfish-actions.pod:5113
20596 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5113
20606 #: ../fish/guestfish-actions.pod:5115
20607 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5115
20608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7764
20609 #: ../src/guestfs-actions.pod:7764
20610 msgid "This command writes zeroes over the first few blocks of C<device>."
20614 #: ../fish/guestfish-actions.pod:5117
20615 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5117
20616 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7766
20617 #: ../src/guestfs-actions.pod:7766
20619 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
20620 "securely wipe the device). It should be sufficient to remove any partition "
20621 "tables, filesystem superblocks and so on."
20625 #: ../fish/guestfish-actions.pod:5121
20626 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5121
20627 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
20631 #: ../fish/guestfish-actions.pod:5124
20632 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5124
20633 msgid "zero-device"
20634 msgstr "zero-device"
20637 #: ../fish/guestfish-actions.pod:5126
20638 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5126
20641 " zero-device device\n"
20644 " zero-device пристрій\n"
20648 #: ../fish/guestfish-actions.pod:5128
20649 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5128
20651 "This command writes zeroes over the entire C<device>. Compare with L</zero> "
20652 "which just zeroes the first few blocks of a device."
20656 #: ../fish/guestfish-actions.pod:5135
20657 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5135
20662 #: ../fish/guestfish-actions.pod:5137
20663 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5137
20666 " zerofree device\n"
20669 " zerofree пристрій\n"
20673 #: ../fish/guestfish-actions.pod:5139
20674 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5139
20675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7810
20676 #: ../src/guestfs-actions.pod:7810
20678 "This runs the I<zerofree> program on C<device>. This program claims to zero "
20679 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
20680 "possible to compress the filesystem more effectively."
20684 #: ../fish/guestfish-actions.pod:5144
20685 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5144
20686 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7815
20687 #: ../src/guestfs-actions.pod:7815
20688 msgid "You should B<not> run this program if the filesystem is mounted."
20692 #: ../fish/guestfish-actions.pod:5147
20693 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5147
20694 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7818
20695 #: ../src/guestfs-actions.pod:7818
20697 "It is possible that using this program can damage the filesystem or data on "
20702 #: ../fish/guestfish-actions.pod:5150
20703 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5150
20708 #: ../fish/guestfish-actions.pod:5152
20709 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5152
20712 " zfgrep pattern path\n"
20715 " zfgrep шаблон шлях\n"
20719 #: ../fish/guestfish-actions.pod:5154
20720 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5154
20721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7832
20722 #: ../src/guestfs-actions.pod:7832
20724 "This calls the external C<zfgrep> program and returns the matching lines."
20728 #: ../fish/guestfish-actions.pod:5160
20729 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5160
20734 #: ../fish/guestfish-actions.pod:5162
20735 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5162
20738 " zfgrepi pattern path\n"
20741 " zfgrepi шаблон шлях\n"
20745 #: ../fish/guestfish-actions.pod:5164
20746 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5164
20747 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7851
20748 #: ../src/guestfs-actions.pod:7851
20750 "This calls the external C<zfgrep -i> program and returns the matching lines."
20754 #: ../fish/guestfish-actions.pod:5170
20755 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5170
20760 #: ../fish/guestfish-actions.pod:5172
20761 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5172
20764 " zfile meth path\n"
20767 " zfile метод шлях\n"
20771 #: ../fish/guestfish-actions.pod:5174
20772 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5174
20773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7870
20774 #: ../src/guestfs-actions.pod:7870
20776 "This command runs C<file> after first decompressing C<path> using C<method>."
20780 #: ../fish/guestfish-actions.pod:5177
20781 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5177
20782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7873
20783 #: ../src/guestfs-actions.pod:7873
20784 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
20788 #: ../fish/guestfish-actions.pod:5179
20789 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5179
20791 "Since 1.0.63, use L</file> instead which can now process compressed files."
20795 #: ../fish/guestfish-actions.pod:5182
20796 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5182
20797 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7881
20798 #: ../src/guestfs-actions.pod:7881
20800 "This function is deprecated. In new code, use the C<file> call instead."
20804 #: ../fish/guestfish-actions.pod:5189
20805 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5189
20810 #: ../fish/guestfish-actions.pod:5191
20811 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5191
20814 " zgrep regex path\n"
20817 " zgrep формальний_вираз шлях\n"
20821 #: ../fish/guestfish-actions.pod:5193
20822 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5193
20823 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7897
20824 #: ../src/guestfs-actions.pod:7897
20826 "This calls the external C<zgrep> program and returns the matching lines."
20830 #: ../fish/guestfish-actions.pod:5199
20831 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5199
20836 #: ../fish/guestfish-actions.pod:5201
20837 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5201
20840 " zgrepi regex path\n"
20843 " zgrepi формальний_вираз шлях\n"
20847 #: ../fish/guestfish-actions.pod:5203
20848 #: ../libguestfs-1.11.20/fish/guestfish-actions.pod:5203
20849 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7916
20850 #: ../src/guestfs-actions.pod:7916
20852 "This calls the external C<zgrep -i> program and returns the matching lines."
20856 #: ../fish/guestfish-commands.pod:1
20857 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:1
20862 #: ../fish/guestfish-commands.pod:3
20863 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:3
20868 #: ../fish/guestfish-commands.pod:5
20869 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:5
20872 " alloc filename size\n"
20877 #: ../fish/guestfish-commands.pod:7
20878 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:7
20880 "This creates an empty (zeroed) file of the given size, and then adds so it "
20881 "can be further examined."
20885 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:182
20886 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:10
20887 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:182
20888 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
20892 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:184
20893 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:12
20894 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:184
20895 msgid "Size can be specified using standard suffixes, eg. C<1M>."
20899 #: ../fish/guestfish-commands.pod:14
20900 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:14
20902 "To create a sparse file, use L</sparse> instead. To create a prepared disk "
20903 "image, see L</PREPARED DISK IMAGES>."
20907 #: ../fish/guestfish-commands.pod:17
20908 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:17
20913 #: ../fish/guestfish-commands.pod:19
20914 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:19
20917 " copy-in local [local ...] /remotedir\n"
20922 #: ../fish/guestfish-commands.pod:21
20923 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:21
20925 "C<copy-in> copies local files or directories recursively into the disk "
20926 "image, placing them in the directory called C</remotedir> (which must "
20927 "exist). This guestfish meta-command turns into a sequence of L</tar-in> and "
20928 "other commands as necessary."
20932 #: ../fish/guestfish-commands.pod:26
20933 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:26
20935 "Multiple local files and directories can be specified, but the last "
20936 "parameter must always be a remote directory. Wildcards cannot be used."
20940 #: ../fish/guestfish-commands.pod:30
20941 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:30
20946 #: ../fish/guestfish-commands.pod:32
20947 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:32
20950 " copy-out remote [remote ...] localdir\n"
20955 #: ../fish/guestfish-commands.pod:34
20956 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:34
20958 "C<copy-out> copies remote files or directories recursively out of the disk "
20959 "image, placing them on the host disk in a local directory called C<localdir> "
20960 "(which must exist). This guestfish meta-command turns into a sequence of L</"
20961 "download>, L</tar-out> and other commands as necessary."
20965 #: ../fish/guestfish-commands.pod:40
20966 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:40
20968 "Multiple remote files and directories can be specified, but the last "
20969 "parameter must always be a local directory. To download to the current "
20970 "directory, use C<.> as in:"
20974 #: ../fish/guestfish-commands.pod:44
20975 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:44
20978 " copy-out /home .\n"
20981 " copy-out /home .\n"
20985 #: ../fish/guestfish-commands.pod:46
20986 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:46
20988 "Wildcards cannot be used in the ordinary command, but you can use them with "
20989 "the help of L</glob> like this:"
20993 #: ../fish/guestfish-commands.pod:49
20994 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:49
20997 " glob copy-out /home/* .\n"
21000 " glob copy-out /home/* .\n"
21004 #: ../fish/guestfish-commands.pod:51
21005 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:51
21010 #: ../fish/guestfish-commands.pod:53
21011 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:53
21014 " display filename\n"
21019 #: ../fish/guestfish-commands.pod:55
21020 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:55
21022 "Use C<display> (a graphical display program) to display an image file. It "
21023 "downloads the file, and runs C<display> on it."
21027 #: ../fish/guestfish-commands.pod:58
21028 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:58
21030 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
21031 "environment variable. For example to use the GNOME display program:"
21035 #: ../fish/guestfish-commands.pod:61
21036 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:61
21039 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
21044 #: ../fish/guestfish-commands.pod:63
21045 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:63
21046 msgid "See also L<display(1)>."
21050 #: ../fish/guestfish-commands.pod:65
21051 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:65
21056 #: ../fish/guestfish-commands.pod:67
21057 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:67
21060 " echo [params ...]\n"
21063 " echo [параметри...]\n"
21067 #: ../fish/guestfish-commands.pod:69
21068 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:69
21069 msgid "This echos the parameters to the terminal."
21073 #: ../fish/guestfish-commands.pod:71
21074 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:71
21079 #: ../fish/guestfish-commands.pod:73
21080 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:73
21085 #: ../fish/guestfish-commands.pod:75
21086 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:75
21091 #: ../fish/guestfish-commands.pod:77
21092 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:77
21098 " edit назва_файла\n"
21102 #: ../fish/guestfish-commands.pod:79
21103 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:79
21105 "This is used to edit a file. It downloads the file, edits it locally using "
21106 "your editor, then uploads the result."
21110 #: ../fish/guestfish-commands.pod:82
21111 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:82
21113 "The editor is C<$EDITOR>. However if you use the alternate commands C<vi> "
21114 "or C<emacs> you will get those corresponding editors."
21118 #: ../fish/guestfish-commands.pod:86
21119 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:86
21124 #: ../fish/guestfish-commands.pod:88
21125 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:88
21128 " glob command args...\n"
21131 " glob команда параметри...\n"
21135 #: ../fish/guestfish-commands.pod:90
21136 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:90
21138 "Expand wildcards in any paths in the args list, and run C<command> "
21139 "repeatedly on each matching path."
21143 #: ../fish/guestfish-commands.pod:93
21144 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:93
21145 msgid "See L</WILDCARDS AND GLOBBING>."
21146 msgstr "Див. L</WILDCARDS AND GLOBBING>."
21149 #: ../fish/guestfish-commands.pod:95
21150 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:95
21155 #: ../fish/guestfish-commands.pod:97
21156 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:97
21159 " hexedit <filename|device>\n"
21160 " hexedit <filename|device> <max>\n"
21161 " hexedit <filename|device> <start> <max>\n"
21166 #: ../fish/guestfish-commands.pod:101
21167 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:101
21169 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
21174 #: ../fish/guestfish-commands.pod:104
21175 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:104
21177 "This command works by downloading potentially the whole file or device, "
21178 "editing it locally, then uploading it. If the file or device is large, you "
21179 "have to specify which part you wish to edit by using C<max> and/or C<start> "
21180 "C<max> parameters. C<start> and C<max> are specified in bytes, with the "
21181 "usual modifiers allowed such as C<1M> (1 megabyte)."
21185 #: ../fish/guestfish-commands.pod:111
21186 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:111
21187 msgid "For example to edit the first few sectors of a disk you might do:"
21191 #: ../fish/guestfish-commands.pod:114
21192 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:114
21195 " hexedit /dev/sda 1M\n"
21198 " hexedit /dev/sda 1M\n"
21202 #: ../fish/guestfish-commands.pod:116
21203 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:116
21205 "which would allow you to edit anywhere within the first megabyte of the disk."
21209 #: ../fish/guestfish-commands.pod:119
21210 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:119
21211 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
21215 #: ../fish/guestfish-commands.pod:121
21216 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:121
21219 " hexedit /dev/sda1 0x400 0x400\n"
21222 " hexedit /dev/sda1 0x400 0x400\n"
21226 #: ../fish/guestfish-commands.pod:123
21227 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:123
21228 msgid "(assuming the superblock is in the standard location)."
21232 #: ../fish/guestfish-commands.pod:125
21233 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:125
21235 "This command requires the external L<hexedit(1)> program. You can specify "
21236 "another program to use by setting the C<HEXEDITOR> environment variable."
21240 #: ../fish/guestfish-commands.pod:129
21241 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:129
21242 msgid "See also L</hexdump>."
21243 msgstr "Див. також L</hexdump>."
21246 #: ../fish/guestfish-commands.pod:131
21247 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:131
21252 #: ../fish/guestfish-commands.pod:133
21253 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:133
21261 #: ../fish/guestfish-commands.pod:135
21262 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:135
21264 "Change the local directory, ie. the current directory of guestfish itself."
21268 #: ../fish/guestfish-commands.pod:138
21269 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:138
21270 msgid "Note that C<!cd> won't do what you might expect."
21274 #: ../fish/guestfish-commands.pod:140
21275 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:140
21280 #: ../fish/guestfish-commands.pod:142
21281 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:142
21286 #: ../fish/guestfish-commands.pod:144
21287 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:144
21297 #: ../fish/guestfish-commands.pod:146
21298 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:146
21299 msgid "Opens the manual page for guestfish."
21303 #: ../fish/guestfish-commands.pod:148
21304 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:148
21309 #: ../fish/guestfish-commands.pod:150
21310 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:150
21315 #: ../fish/guestfish-commands.pod:152
21316 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:152
21324 #: ../fish/guestfish-commands.pod:154
21325 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:154
21333 #: ../fish/guestfish-commands.pod:156
21334 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:156
21335 msgid "This is used to view a file."
21339 #: ../fish/guestfish-commands.pod:158
21340 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:158
21342 "The default viewer is C<$PAGER>. However if you use the alternate command "
21343 "C<less> you will get the C<less> command specifically."
21347 #: ../fish/guestfish-commands.pod:161
21348 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:161
21353 #: ../fish/guestfish-commands.pod:163
21354 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:163
21362 #: ../fish/guestfish-commands.pod:165
21363 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:165
21365 "Close and reopen the libguestfs handle. It is not necessary to use this "
21366 "normally, because the handle is closed properly when guestfish exits. "
21367 "However this is occasionally useful for testing."
21371 #: ../fish/guestfish-commands.pod:169
21372 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:169
21377 #: ../fish/guestfish-commands.pod:171
21378 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:171
21381 " sparse filename size\n"
21386 #: ../fish/guestfish-commands.pod:173
21387 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:173
21389 "This creates an empty sparse file of the given size, and then adds so it can "
21390 "be further examined."
21394 #: ../fish/guestfish-commands.pod:176
21395 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:176
21397 "In all respects it works the same as the L</alloc> command, except that the "
21398 "image file is allocated sparsely, which means that disk blocks are not "
21399 "assigned to the file until they are needed. Sparse disk files only use "
21400 "space when written to, but they are slower and there is a danger you could "
21401 "run out of real disk space during a write operation."
21405 #: ../fish/guestfish-commands.pod:186
21406 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:186
21411 #: ../fish/guestfish-commands.pod:188
21412 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:188
21422 #: ../fish/guestfish-commands.pod:190
21423 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:190
21425 "This command returns a list of the optional groups known to the daemon, and "
21426 "indicates which ones are supported by this build of the libguestfs appliance."
21430 #: ../fish/guestfish-commands.pod:194
21431 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:194
21432 msgid "See also L<guestfs(3)/AVAILABILITY>."
21436 #: ../fish/guestfish-commands.pod:196
21437 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:196
21442 #: ../fish/guestfish-commands.pod:198
21443 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:198
21446 " time command args...\n"
21451 #: ../fish/guestfish-commands.pod:200
21452 #: ../libguestfs-1.11.20/fish/guestfish-commands.pod:200
21454 "Run the command as usual, but print the elapsed time afterwards. This can "
21455 "be useful for benchmarking operations."
21459 #: ../fish/guestfish.pod:5 ../libguestfs-1.11.20/fish/guestfish.pod:5
21460 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
21464 #: ../fish/guestfish.pod:9 ../libguestfs-1.11.20/fish/guestfish.pod:9
21467 " guestfish [--options] [commands]\n"
21472 #: ../fish/guestfish.pod:11 ../libguestfs-1.11.20/fish/guestfish.pod:11
21480 #: ../fish/guestfish.pod:13 ../libguestfs-1.11.20/fish/guestfish.pod:13
21483 " guestfish [--ro|--rw] -a disk.img\n"
21488 #: ../fish/guestfish.pod:15 ../libguestfs-1.11.20/fish/guestfish.pod:15
21491 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
21496 #: ../fish/guestfish.pod:17 ../libguestfs-1.11.20/fish/guestfish.pod:17
21499 " guestfish -d libvirt-domain\n"
21504 #: ../fish/guestfish.pod:19 ../libguestfs-1.11.20/fish/guestfish.pod:19
21507 " guestfish [--ro|--rw] -a disk.img -i\n"
21512 #: ../fish/guestfish.pod:21 ../libguestfs-1.11.20/fish/guestfish.pod:21
21515 " guestfish -d libvirt-domain -i\n"
21520 #: ../fish/guestfish.pod:25 ../libguestfs-1.11.20/fish/guestfish.pod:25
21522 "Using guestfish in read/write mode on live virtual machines can be "
21523 "dangerous, potentially causing disk corruption. Use the I<--ro> (read-only) "
21524 "option to use guestfish safely if the disk image or virtual machine might be "
21529 #: ../fish/guestfish.pod:32 ../libguestfs-1.11.20/fish/guestfish.pod:32
21531 "Guestfish is a shell and command-line tool for examining and modifying "
21532 "virtual machine filesystems. It uses libguestfs and exposes all of the "
21533 "functionality of the guestfs API, see L<guestfs(3)>."
21537 #: ../fish/guestfish.pod:36 ../libguestfs-1.11.20/fish/guestfish.pod:36
21539 "Guestfish gives you structured access to the libguestfs API, from shell "
21540 "scripts or the command line or interactively. If you want to rescue a "
21541 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
21546 #: ../fish/guestfish.pod:43 ../libguestfs-1.11.20/fish/guestfish.pod:43
21547 msgid "As an interactive shell"
21551 #: ../fish/guestfish.pod:45 ../libguestfs-1.11.20/fish/guestfish.pod:45
21559 #: ../fish/guestfish.pod:47 ../libguestfs-1.11.20/fish/guestfish.pod:47
21562 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
21563 " editing virtual machine filesystems.\n"
21568 #: ../fish/guestfish.pod:50 ../libguestfs-1.11.20/fish/guestfish.pod:50
21571 " Type: 'help' for a list of commands\n"
21572 " 'man' to read the manual\n"
21573 " 'quit' to quit the shell\n"
21578 #: ../fish/guestfish.pod:54 ../libguestfs-1.11.20/fish/guestfish.pod:54
21581 " ><fs> add-ro disk.img\n"
21583 " ><fs> list-filesystems\n"
21584 " /dev/sda1: ext4\n"
21585 " /dev/vg_guest/lv_root: ext4\n"
21586 " /dev/vg_guest/lv_swap: swap\n"
21587 " ><fs> mount /dev/vg_guest/lv_root /\n"
21588 " ><fs> cat /etc/fstab\n"
21590 " # Created by anaconda\n"
21597 #: ../fish/guestfish.pod:67 ../libguestfs-1.11.20/fish/guestfish.pod:67
21598 msgid "From shell scripts"
21602 #: ../fish/guestfish.pod:69 ../libguestfs-1.11.20/fish/guestfish.pod:69
21603 msgid "Create a new C</etc/motd> file in a guest or disk image:"
21607 #: ../fish/guestfish.pod:71 ../libguestfs-1.11.20/fish/guestfish.pod:71
21610 " guestfish <<_EOF_\n"
21613 " mount /dev/vg_guest/lv_root /\n"
21614 " write /etc/motd \"Welcome, new users\"\n"
21620 #: ../fish/guestfish.pod:78 ../libguestfs-1.11.20/fish/guestfish.pod:78
21621 msgid "List the LVM logical volumes in a disk image:"
21625 #: ../fish/guestfish.pod:80 ../libguestfs-1.11.20/fish/guestfish.pod:80
21628 " guestfish -a disk.img --ro <<_EOF_\n"
21636 #: ../fish/guestfish.pod:85 ../libguestfs-1.11.20/fish/guestfish.pod:85
21637 msgid "List all the filesystems in a disk image:"
21641 #: ../fish/guestfish.pod:87 ../libguestfs-1.11.20/fish/guestfish.pod:87
21644 " guestfish -a disk.img --ro <<_EOF_\n"
21646 " list-filesystems\n"
21652 #: ../fish/guestfish.pod:92 ../libguestfs-1.11.20/fish/guestfish.pod:92
21653 msgid "On one command line"
21657 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
21658 #: ../libguestfs-1.11.20/fish/guestfish.pod:94
21659 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:31
21660 msgid "Update C</etc/resolv.conf> in a guest:"
21664 #: ../fish/guestfish.pod:96 ../libguestfs-1.11.20/fish/guestfish.pod:96
21668 " add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
21669 " write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
21674 #: ../fish/guestfish.pod:100 ../libguestfs-1.11.20/fish/guestfish.pod:100
21675 msgid "Edit C</boot/grub/grub.conf> interactively:"
21679 #: ../fish/guestfish.pod:102 ../libguestfs-1.11.20/fish/guestfish.pod:102
21682 " guestfish --rw --add disk.img \\\n"
21683 " --mount /dev/vg_guest/lv_root \\\n"
21684 " --mount /dev/sda1:/boot \\\n"
21685 " edit /boot/grub/grub.conf\n"
21690 #: ../fish/guestfish.pod:107 ../libguestfs-1.11.20/fish/guestfish.pod:107
21691 msgid "Mount disks automatically"
21695 #: ../fish/guestfish.pod:109 ../libguestfs-1.11.20/fish/guestfish.pod:109
21697 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
21701 #: ../fish/guestfish.pod:112 ../libguestfs-1.11.20/fish/guestfish.pod:112
21704 " guestfish --ro -a disk.img -i cat /etc/group\n"
21709 #: ../fish/guestfish.pod:114 ../libguestfs-1.11.20/fish/guestfish.pod:114
21712 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
21717 #: ../fish/guestfish.pod:116 ../libguestfs-1.11.20/fish/guestfish.pod:116
21718 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
21722 #: ../fish/guestfish.pod:118 ../libguestfs-1.11.20/fish/guestfish.pod:118
21725 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
21730 #: ../fish/guestfish.pod:120 ../libguestfs-1.11.20/fish/guestfish.pod:120
21731 msgid "As a script interpreter"
21735 #: ../fish/guestfish.pod:122 ../libguestfs-1.11.20/fish/guestfish.pod:122
21736 msgid "Create a 100MB disk containing an ext2-formatted partition:"
21740 #: ../fish/guestfish.pod:124 ../libguestfs-1.11.20/fish/guestfish.pod:124
21743 " #!/usr/bin/guestfish -f\n"
21744 " sparse test1.img 100M\n"
21746 " part-disk /dev/sda mbr\n"
21747 " mkfs ext2 /dev/sda1\n"
21752 #: ../fish/guestfish.pod:130 ../libguestfs-1.11.20/fish/guestfish.pod:130
21753 msgid "Start with a prepared disk"
21757 #: ../fish/guestfish.pod:132 ../libguestfs-1.11.20/fish/guestfish.pod:132
21759 "An alternate way to create a 100MB disk called C<test1.img> containing a "
21760 "single ext2-formatted partition:"
21764 #: ../fish/guestfish.pod:135 ../libguestfs-1.11.20/fish/guestfish.pod:135
21767 " guestfish -N fs\n"
21772 #: ../fish/guestfish.pod:137 ../libguestfs-1.11.20/fish/guestfish.pod:137
21773 msgid "To list what is available do:"
21777 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:998
21778 #: ../libguestfs-1.11.20/fish/guestfish.pod:139
21779 #: ../libguestfs-1.11.20/fish/guestfish.pod:998
21782 " guestfish -N help | less\n"
21787 #: ../fish/guestfish.pod:141 ../libguestfs-1.11.20/fish/guestfish.pod:141
21788 msgid "Remote control"
21789 msgstr "Дистанційне керування"
21792 #: ../fish/guestfish.pod:143 ../libguestfs-1.11.20/fish/guestfish.pod:143
21795 " eval \"`guestfish --listen`\"\n"
21796 " guestfish --remote add-ro disk.img\n"
21797 " guestfish --remote run\n"
21798 " guestfish --remote lvs\n"
21801 " eval \"`guestfish --listen`\"\n"
21802 " guestfish --remote add-ro disk.img\n"
21803 " guestfish --remote run\n"
21804 " guestfish --remote lvs\n"
21808 #: ../fish/guestfish.pod:154 ../libguestfs-1.11.20/fish/guestfish.pod:154
21809 msgid "Displays general help on options."
21813 #: ../fish/guestfish.pod:158 ../libguestfs-1.11.20/fish/guestfish.pod:158
21814 msgid "B<--cmd-help>"
21815 msgstr "B<--cmd-help>"
21818 #: ../fish/guestfish.pod:160 ../libguestfs-1.11.20/fish/guestfish.pod:160
21819 msgid "Lists all available guestfish commands."
21823 #: ../fish/guestfish.pod:162 ../libguestfs-1.11.20/fish/guestfish.pod:162
21825 msgstr "B<-h команда>"
21828 #: ../fish/guestfish.pod:164 ../libguestfs-1.11.20/fish/guestfish.pod:164
21829 msgid "B<--cmd-help cmd>"
21830 msgstr "B<--cmd-help команда>"
21833 #: ../fish/guestfish.pod:166 ../libguestfs-1.11.20/fish/guestfish.pod:166
21834 msgid "Displays detailed help on a single command C<cmd>."
21838 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:87
21839 #: ../libguestfs-1.11.20/fish/guestfish.pod:168
21840 #: ../libguestfs-1.11.20/fuse/guestmount.pod:87
21841 msgid "B<-a image>"
21842 msgstr "B<-a образ>"
21845 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:89
21846 #: ../libguestfs-1.11.20/fish/guestfish.pod:170
21847 #: ../libguestfs-1.11.20/fuse/guestmount.pod:89
21848 msgid "B<--add image>"
21849 msgstr "B<--add образ>"
21852 #: ../fish/guestfish.pod:172 ../libguestfs-1.11.20/fish/guestfish.pod:172
21853 msgid "Add a block device or virtual machine image to the shell."
21857 #: ../fish/guestfish.pod:177 ../libguestfs-1.11.20/fish/guestfish.pod:177
21859 "Using this flag is mostly equivalent to using the C<add> command, with "
21860 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
21861 "the I<--format=...> flag was given."
21865 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:100
21866 #: ../libguestfs-1.11.20/fish/guestfish.pod:185
21867 #: ../libguestfs-1.11.20/fuse/guestmount.pod:100
21869 "When used in conjunction with the I<-d> option, this specifies the libvirt "
21870 "URI to use. The default is to use the default libvirt connection."
21874 #: ../fish/guestfish.pod:189 ../libguestfs-1.11.20/fish/guestfish.pod:189
21879 #: ../fish/guestfish.pod:191 ../libguestfs-1.11.20/fish/guestfish.pod:191
21881 "If using the I<--listen> option and a csh-like shell, use this option. See "
21882 "section L</REMOTE CONTROL AND CSH> below."
21886 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:104
21887 #: ../libguestfs-1.11.20/fish/guestfish.pod:194
21888 #: ../libguestfs-1.11.20/fuse/guestmount.pod:104
21889 msgid "B<-d libvirt-domain>"
21890 msgstr "B<-d домен-libvirt>"
21893 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:106
21894 #: ../libguestfs-1.11.20/fish/guestfish.pod:196
21895 #: ../libguestfs-1.11.20/fuse/guestmount.pod:106
21896 msgid "B<--domain libvirt-domain>"
21897 msgstr "B<--domain домен-libvirt>"
21900 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:108
21901 #: ../libguestfs-1.11.20/fish/guestfish.pod:198
21902 #: ../libguestfs-1.11.20/fuse/guestmount.pod:108
21904 "Add disks from the named libvirt domain. If the I<--ro> option is also "
21905 "used, then any libvirt domain can be used. However in write mode, only "
21906 "libvirt domains which are shut down can be named here."
21910 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:112
21911 #: ../libguestfs-1.11.20/fish/guestfish.pod:202
21912 #: ../libguestfs-1.11.20/fuse/guestmount.pod:112
21913 msgid "Domain UUIDs can be used instead of names."
21917 #: ../fish/guestfish.pod:204 ../libguestfs-1.11.20/fish/guestfish.pod:204
21919 "Using this flag is mostly equivalent to using the C<add-domain> command, "
21920 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
21921 "if the I<--format:...> flag was given."
21925 #: ../fish/guestfish.pod:208 ../libguestfs-1.11.20/fish/guestfish.pod:208
21930 #: ../fish/guestfish.pod:210 ../libguestfs-1.11.20/fish/guestfish.pod:210
21931 msgid "B<--no-dest-paths>"
21932 msgstr "B<--no-dest-paths>"
21935 #: ../fish/guestfish.pod:212 ../libguestfs-1.11.20/fish/guestfish.pod:212
21937 "Don't tab-complete paths on the guest filesystem. It is useful to be able "
21938 "to hit the tab key to complete paths on the guest filesystem, but this "
21939 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
21940 "allow this feature to be disabled."
21944 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:128
21945 #: ../libguestfs-1.11.20/fish/guestfish.pod:219
21946 #: ../libguestfs-1.11.20/fuse/guestmount.pod:128
21948 "When prompting for keys and passphrases, guestfish normally turns echoing "
21949 "off so you cannot see what you are typing. If you are not worried about "
21950 "Tempest attacks and there is no one else in the room you can specify this "
21951 "flag to see what you are typing."
21955 #: ../fish/guestfish.pod:224 ../libguestfs-1.11.20/fish/guestfish.pod:224
21957 msgstr "B<-f файл>"
21960 #: ../fish/guestfish.pod:226 ../libguestfs-1.11.20/fish/guestfish.pod:226
21961 msgid "B<--file file>"
21962 msgstr "B<--file файл>"
21965 #: ../fish/guestfish.pod:228 ../libguestfs-1.11.20/fish/guestfish.pod:228
21966 msgid "Read commands from C<file>. To write pure guestfish scripts, use:"
21970 #: ../fish/guestfish.pod:231 ../libguestfs-1.11.20/fish/guestfish.pod:231
21973 " #!/usr/bin/guestfish -f\n"
21976 " #!/usr/bin/guestfish -f\n"
21980 #: ../fish/guestfish.pod:244 ../libguestfs-1.11.20/fish/guestfish.pod:244
21983 " guestfish --format=raw -a disk.img\n"
21986 " guestfish --format=raw -a disk.img\n"
21990 #: ../fish/guestfish.pod:248 ../libguestfs-1.11.20/fish/guestfish.pod:248
21993 " guestfish --format=raw -a disk.img --format -a another.img\n"
21996 " guestfish --format=raw -a disk.img --format -a another.img\n"
22000 #: ../fish/guestfish.pod:253 ../libguestfs-1.11.20/fish/guestfish.pod:253
22002 "If you have untrusted raw-format guest disk images, you should use this "
22003 "option to specify the disk format. This avoids a possible security problem "
22004 "with malicious guests (CVE-2010-3851). See also L</add-drive-opts>."
22008 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:157
22009 #: ../libguestfs-1.11.20/fish/guestfish.pod:260
22010 #: ../libguestfs-1.11.20/fuse/guestmount.pod:157
22011 msgid "B<--inspector>"
22012 msgstr "B<--inspector>"
22015 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:159
22016 #: ../libguestfs-1.11.20/fish/guestfish.pod:262
22017 #: ../libguestfs-1.11.20/fuse/guestmount.pod:159
22019 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
22020 "system and mount filesystems as they would be mounted on the real virtual "
22025 #: ../fish/guestfish.pod:266 ../libguestfs-1.11.20/fish/guestfish.pod:266
22026 msgid "Typical usage is either:"
22030 #: ../fish/guestfish.pod:268 ../libguestfs-1.11.20/fish/guestfish.pod:268
22033 " guestfish -d myguest -i\n"
22036 " guestfish -d myguest -i\n"
22040 #: ../fish/guestfish.pod:270 ../libguestfs-1.11.20/fish/guestfish.pod:270
22041 msgid "(for an inactive libvirt domain called I<myguest>), or:"
22045 #: ../fish/guestfish.pod:272 ../libguestfs-1.11.20/fish/guestfish.pod:272
22048 " guestfish --ro -d myguest -i\n"
22051 " guestfish --ro -d myguest -i\n"
22055 #: ../fish/guestfish.pod:274 ../libguestfs-1.11.20/fish/guestfish.pod:274
22056 msgid "(for active domains, readonly), or specify the block device directly:"
22060 #: ../fish/guestfish.pod:276 ../libguestfs-1.11.20/fish/guestfish.pod:276
22063 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
22066 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
22070 #: ../fish/guestfish.pod:278 ../libguestfs-1.11.20/fish/guestfish.pod:278
22072 "Note that the command line syntax changed slightly over older versions of "
22073 "guestfish. You can still use the old syntax:"
22077 #: ../fish/guestfish.pod:281 ../libguestfs-1.11.20/fish/guestfish.pod:281
22080 " guestfish [--ro] -i disk.img\n"
22083 " guestfish [--ro] -i disk.img\n"
22087 #: ../fish/guestfish.pod:283 ../libguestfs-1.11.20/fish/guestfish.pod:283
22090 " guestfish [--ro] -i libvirt-domain\n"
22095 #: ../fish/guestfish.pod:285 ../libguestfs-1.11.20/fish/guestfish.pod:285
22097 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
22098 "then using other commands to mount the filesystems that were found."
22102 #: ../fish/guestfish.pod:294 ../libguestfs-1.11.20/fish/guestfish.pod:294
22103 msgid "B<--listen>"
22104 msgstr "B<--listen>"
22107 #: ../fish/guestfish.pod:296 ../libguestfs-1.11.20/fish/guestfish.pod:296
22109 "Fork into the background and listen for remote commands. See section L</"
22110 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
22114 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:168
22115 #: ../libguestfs-1.11.20/fish/guestfish.pod:299
22116 #: ../libguestfs-1.11.20/fuse/guestmount.pod:168
22121 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:170
22122 #: ../libguestfs-1.11.20/fish/guestfish.pod:301
22123 #: ../libguestfs-1.11.20/fuse/guestmount.pod:170
22125 "Connect to a live virtual machine. (Experimental, see L<guestfs(3)/"
22126 "ATTACHING TO RUNNING DAEMONS>)."
22130 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:173
22131 #: ../libguestfs-1.11.20/fish/guestfish.pod:304
22132 #: ../libguestfs-1.11.20/fuse/guestmount.pod:173
22133 msgid "B<-m dev[:mountpoint[:options]]>"
22137 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:175
22138 #: ../libguestfs-1.11.20/fish/guestfish.pod:306
22139 #: ../libguestfs-1.11.20/fuse/guestmount.pod:175
22140 msgid "B<--mount dev[:mountpoint[:options]]>"
22144 #: ../fish/guestfish.pod:308 ../libguestfs-1.11.20/fish/guestfish.pod:308
22145 msgid "Mount the named partition or logical volume on the given mountpoint."
22149 #: ../fish/guestfish.pod:310 ../libguestfs-1.11.20/fish/guestfish.pod:310
22150 msgid "If the mountpoint is omitted, it defaults to C</>."
22154 #: ../fish/guestfish.pod:312 ../libguestfs-1.11.20/fish/guestfish.pod:312
22155 msgid "You have to mount something on C</> before most commands will work."
22159 #: ../fish/guestfish.pod:314 ../libguestfs-1.11.20/fish/guestfish.pod:314
22161 "If any I<-m> or I<--mount> options are given, the guest is automatically "
22166 #: ../fish/guestfish.pod:317 ../libguestfs-1.11.20/fish/guestfish.pod:317
22168 "If you don't know what filesystems a disk image contains, you can either run "
22169 "guestfish without this option, then list the partitions, filesystems and LVs "
22170 "available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
22171 "commands), or you can use the L<virt-filesystems(1)> program."
22175 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:183
22176 #: ../libguestfs-1.11.20/fish/guestfish.pod:323
22177 #: ../libguestfs-1.11.20/fuse/guestmount.pod:183
22179 "The third (and rarely used) part of the mount parameter is the list of mount "
22180 "options used to mount the underlying filesystem. If this is not given, then "
22181 "the mount options are either the empty string or C<ro> (the latter if the "
22182 "I<--ro> flag is used). By specifying the mount options, you override this "
22183 "default choice. Probably the only time you would use this is to enable ACLs "
22184 "and/or extended attributes if the filesystem can support them:"
22188 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:191
22189 #: ../libguestfs-1.11.20/fish/guestfish.pod:331
22190 #: ../libguestfs-1.11.20/fuse/guestmount.pod:191
22193 " -m /dev/sda1:/:acl,user_xattr\n"
22198 #: ../fish/guestfish.pod:333 ../libguestfs-1.11.20/fish/guestfish.pod:333
22199 msgid "Using this flag is equivalent to using the C<mount-options> command."
22203 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:193
22204 #: ../libguestfs-1.11.20/fish/guestfish.pod:335
22205 #: ../libguestfs-1.11.20/fuse/guestmount.pod:193
22206 #: ../libguestfs-1.11.20/resize/virt-resize.pod:352
22207 #: ../resize/virt-resize.pod:352
22212 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:195
22213 #: ../libguestfs-1.11.20/fish/guestfish.pod:337
22214 #: ../libguestfs-1.11.20/fuse/guestmount.pod:195
22215 msgid "B<--no-sync>"
22216 msgstr "B<--no-sync>"
22219 #: ../fish/guestfish.pod:339 ../libguestfs-1.11.20/fish/guestfish.pod:339
22221 "Disable autosync. This is enabled by default. See the discussion of "
22222 "autosync in the L<guestfs(3)> manpage."
22226 #: ../fish/guestfish.pod:342 ../libguestfs-1.11.20/fish/guestfish.pod:342
22231 #: ../fish/guestfish.pod:344 ../libguestfs-1.11.20/fish/guestfish.pod:344
22232 msgid "B<--new type>"
22233 msgstr "B<--new тип>"
22236 #: ../fish/guestfish.pod:346 ../libguestfs-1.11.20/fish/guestfish.pod:346
22238 msgstr "B<-N help>"
22241 #: ../fish/guestfish.pod:348 ../libguestfs-1.11.20/fish/guestfish.pod:348
22243 "Prepare a fresh disk image formatted as \"type\". This is an alternative to "
22244 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
22245 "preformatted disk with a filesystem and adds it. See L</PREPARED DISK "
22250 #: ../fish/guestfish.pod:353 ../libguestfs-1.11.20/fish/guestfish.pod:353
22251 msgid "B<--progress-bars>"
22252 msgstr "B<--progress-bars>"
22255 #: ../fish/guestfish.pod:355 ../libguestfs-1.11.20/fish/guestfish.pod:355
22256 msgid "Enable progress bars, even when guestfish is used non-interactively."
22260 #: ../fish/guestfish.pod:357 ../libguestfs-1.11.20/fish/guestfish.pod:357
22262 "Progress bars are enabled by default when guestfish is used as an "
22263 "interactive shell."
22267 #: ../fish/guestfish.pod:360 ../libguestfs-1.11.20/fish/guestfish.pod:360
22268 msgid "B<--no-progress-bars>"
22269 msgstr "B<--no-progress-bars>"
22272 #: ../fish/guestfish.pod:362 ../libguestfs-1.11.20/fish/guestfish.pod:362
22273 msgid "Disable progress bars."
22277 #: ../fish/guestfish.pod:364 ../libguestfs-1.11.20/fish/guestfish.pod:364
22278 msgid "B<--remote[=pid]>"
22279 msgstr "B<--remote[=pid]>"
22282 #: ../fish/guestfish.pod:366 ../libguestfs-1.11.20/fish/guestfish.pod:366
22284 "Send remote commands to C<$GUESTFISH_PID> or C<pid>. See section L</REMOTE "
22285 "CONTROL GUESTFISH OVER A SOCKET> below."
22289 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:239
22290 #: ../libguestfs-1.11.20/fish/guestfish.pod:369
22291 #: ../libguestfs-1.11.20/fuse/guestmount.pod:239
22292 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:161
22293 #: ../rescue/virt-rescue.pod:161
22298 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:241
22299 #: ../libguestfs-1.11.20/fish/guestfish.pod:371
22300 #: ../libguestfs-1.11.20/fuse/guestmount.pod:241
22301 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:163
22302 #: ../rescue/virt-rescue.pod:163
22307 #: ../fish/guestfish.pod:373 ../libguestfs-1.11.20/fish/guestfish.pod:373
22309 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
22310 "mounts are done read-only."
22314 #: ../fish/guestfish.pod:376 ../libguestfs-1.11.20/fish/guestfish.pod:376
22315 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:167
22316 #: ../rescue/virt-rescue.pod:167
22318 "The option must always be used if the disk image or virtual machine might be "
22319 "running, and is generally recommended in cases where you don't need write "
22320 "access to the disk."
22324 #: ../fish/guestfish.pod:380 ../libguestfs-1.11.20/fish/guestfish.pod:380
22326 "Note that prepared disk images created with I<-N> are not affected by this "
22327 "option. Also commands like C<add> are not affected - you have to specify "
22328 "the C<readonly:true> option explicitly if you need it."
22332 #: ../fish/guestfish.pod:384 ../libguestfs-1.11.20/fish/guestfish.pod:384
22333 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
22337 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:253
22338 #: ../libguestfs-1.11.20/fish/guestfish.pod:386
22339 #: ../libguestfs-1.11.20/fuse/guestmount.pod:253
22340 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:173
22341 #: ../rescue/virt-rescue.pod:173
22342 msgid "B<--selinux>"
22343 msgstr "B<--selinux>"
22346 #: ../fish/guestfish.pod:388 ../libguestfs-1.11.20/fish/guestfish.pod:388
22347 msgid "Enable SELinux support for the guest. See L<guestfs(3)/SELINUX>."
22351 #: ../fish/guestfish.pod:394 ../libguestfs-1.11.20/fish/guestfish.pod:394
22353 "Enable very verbose messages. This is particularly useful if you find a bug."
22357 #: ../fish/guestfish.pod:401 ../libguestfs-1.11.20/fish/guestfish.pod:401
22358 msgid "Display the guestfish / libguestfs version number and exit."
22362 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:269
22363 #: ../libguestfs-1.11.20/fish/guestfish.pod:403
22364 #: ../libguestfs-1.11.20/fuse/guestmount.pod:269
22365 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:190
22366 #: ../rescue/virt-rescue.pod:190
22371 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:271
22372 #: ../libguestfs-1.11.20/fish/guestfish.pod:405
22373 #: ../libguestfs-1.11.20/fuse/guestmount.pod:271
22374 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:192
22375 #: ../rescue/virt-rescue.pod:192
22380 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:273
22381 #: ../libguestfs-1.11.20/fish/guestfish.pod:407
22382 #: ../libguestfs-1.11.20/fuse/guestmount.pod:273
22384 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
22385 "mounts are done read-write."
22389 #: ../fish/guestfish.pod:410 ../libguestfs-1.11.20/fish/guestfish.pod:410
22390 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
22394 #: ../fish/guestfish.pod:414 ../libguestfs-1.11.20/fish/guestfish.pod:414
22395 msgid "Echo each command before executing it."
22399 #: ../fish/guestfish.pod:418 ../libguestfs-1.11.20/fish/guestfish.pod:418
22400 msgid "COMMANDS ON COMMAND LINE"
22404 #: ../fish/guestfish.pod:420 ../libguestfs-1.11.20/fish/guestfish.pod:420
22406 "Any additional (non-option) arguments are treated as commands to execute."
22410 #: ../fish/guestfish.pod:423 ../libguestfs-1.11.20/fish/guestfish.pod:423
22412 "Commands to execute should be separated by a colon (C<:>), where the colon "
22413 "is a separate parameter. Thus:"
22417 #: ../fish/guestfish.pod:426 ../libguestfs-1.11.20/fish/guestfish.pod:426
22420 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
22425 #: ../fish/guestfish.pod:428 ../libguestfs-1.11.20/fish/guestfish.pod:428
22427 "If there are no additional arguments, then we enter a shell, either an "
22428 "interactive shell with a prompt (if the input is a terminal) or a non-"
22429 "interactive shell."
22433 #: ../fish/guestfish.pod:432 ../libguestfs-1.11.20/fish/guestfish.pod:432
22435 "In either command line mode or non-interactive shell, the first command that "
22436 "gives an error causes the whole shell to exit. In interactive mode (with a "
22437 "prompt) if a command fails, you can continue to enter commands."
22441 #: ../fish/guestfish.pod:437 ../libguestfs-1.11.20/fish/guestfish.pod:437
22442 msgid "USING launch (OR run)"
22446 #: ../fish/guestfish.pod:439 ../libguestfs-1.11.20/fish/guestfish.pod:439
22448 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
22449 "then launch it, then mount any disks you need, and finally issue actions/"
22450 "commands. So the general order of the day is:"
22454 #: ../fish/guestfish.pod:447 ../libguestfs-1.11.20/fish/guestfish.pod:447
22455 msgid "add or -a/--add"
22459 #: ../fish/guestfish.pod:451 ../libguestfs-1.11.20/fish/guestfish.pod:451
22460 msgid "launch (aka run)"
22464 #: ../fish/guestfish.pod:455 ../libguestfs-1.11.20/fish/guestfish.pod:455
22465 msgid "mount or -m/--mount"
22469 #: ../fish/guestfish.pod:459 ../libguestfs-1.11.20/fish/guestfish.pod:459
22470 msgid "any other commands"
22474 #: ../fish/guestfish.pod:463 ../libguestfs-1.11.20/fish/guestfish.pod:463
22476 "C<run> is a synonym for C<launch>. You must C<launch> (or C<run>) your "
22477 "guest before mounting or performing any other commands."
22481 #: ../fish/guestfish.pod:466 ../libguestfs-1.11.20/fish/guestfish.pod:466
22483 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
22484 "I<--new> options were given then C<run> is done automatically, simply "
22485 "because guestfish can't perform the action you asked for without doing this."
22489 #: ../fish/guestfish.pod:471 ../libguestfs-1.11.20/fish/guestfish.pod:471
22490 msgid "OPENING DISKS FOR READ AND WRITE"
22494 #: ../fish/guestfish.pod:473 ../libguestfs-1.11.20/fish/guestfish.pod:473
22496 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
22497 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
22498 "I<-i> and I<-m> open disk images read-only or for writing."
22502 #: ../fish/guestfish.pod:478 ../libguestfs-1.11.20/fish/guestfish.pod:478
22504 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to "
22505 "opening disk images supplied on the command line for write. To open a disk "
22506 "image read-only you have to do I<-a image --ro>."
22510 #: ../fish/guestfish.pod:482 ../libguestfs-1.11.20/fish/guestfish.pod:482
22512 "This matters: If you accidentally open a live VM disk image writable then "
22513 "you will cause irreversible disk corruption."
22517 #: ../fish/guestfish.pod:485 ../libguestfs-1.11.20/fish/guestfish.pod:485
22519 "In a future libguestfs we intend to change the default the other way. Disk "
22520 "images will be opened read-only. You will have to either specify "
22521 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
22522 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
22523 "access for disk images specified by those other command line options."
22527 #: ../fish/guestfish.pod:492 ../libguestfs-1.11.20/fish/guestfish.pod:492
22529 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
22530 "which does nothing (it is already the default). However it is highly "
22531 "recommended that you use this option to indicate that you need write access, "
22532 "and prepare your scripts for the day when this option will be required for "
22537 #: ../fish/guestfish.pod:498 ../libguestfs-1.11.20/fish/guestfish.pod:498
22539 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any "
22540 "other libguestfs program apart from guestfish and guestmount."
22544 #: ../fish/guestfish.pod:501 ../libguestfs-1.11.20/fish/guestfish.pod:501
22549 #: ../fish/guestfish.pod:503 ../libguestfs-1.11.20/fish/guestfish.pod:503
22551 "You can quote ordinary parameters using either single or double quotes. For "
22556 #: ../fish/guestfish.pod:506 ../libguestfs-1.11.20/fish/guestfish.pod:506
22559 " add \"file with a space.img\"\n"
22564 #: ../fish/guestfish.pod:508 ../libguestfs-1.11.20/fish/guestfish.pod:508
22567 " rm '/file name'\n"
22572 #: ../fish/guestfish.pod:510 ../libguestfs-1.11.20/fish/guestfish.pod:510
22580 #: ../fish/guestfish.pod:512 ../libguestfs-1.11.20/fish/guestfish.pod:512
22582 "A few commands require a list of strings to be passed. For these, use a "
22583 "whitespace-separated list, enclosed in quotes. Strings containing "
22584 "whitespace to be passed through must be enclosed in single quotes. A "
22585 "literal single quote must be escaped with a backslash."
22589 #: ../fish/guestfish.pod:517 ../libguestfs-1.11.20/fish/guestfish.pod:517
22592 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
22593 " command \"/bin/echo 'foo bar'\"\n"
22594 " command \"/bin/echo \\'foo\\'\"\n"
22599 #: ../fish/guestfish.pod:521 ../libguestfs-1.11.20/fish/guestfish.pod:521
22600 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
22604 #: ../fish/guestfish.pod:523 ../libguestfs-1.11.20/fish/guestfish.pod:523
22606 "In double-quoted arguments (only) use backslash to insert special characters:"
22610 #: ../fish/guestfish.pod:528 ../libguestfs-1.11.20/fish/guestfish.pod:528
22615 #: ../fish/guestfish.pod:530 ../libguestfs-1.11.20/fish/guestfish.pod:530
22616 msgid "Alert (bell) character."
22620 #: ../fish/guestfish.pod:532 ../libguestfs-1.11.20/fish/guestfish.pod:532
22625 #: ../fish/guestfish.pod:534 ../libguestfs-1.11.20/fish/guestfish.pod:534
22626 msgid "Backspace character."
22630 #: ../fish/guestfish.pod:536 ../libguestfs-1.11.20/fish/guestfish.pod:536
22635 #: ../fish/guestfish.pod:538 ../libguestfs-1.11.20/fish/guestfish.pod:538
22636 msgid "Form feed character."
22640 #: ../fish/guestfish.pod:540 ../libguestfs-1.11.20/fish/guestfish.pod:540
22645 #: ../fish/guestfish.pod:542 ../libguestfs-1.11.20/fish/guestfish.pod:542
22646 msgid "Newline character."
22650 #: ../fish/guestfish.pod:544 ../libguestfs-1.11.20/fish/guestfish.pod:544
22655 #: ../fish/guestfish.pod:546 ../libguestfs-1.11.20/fish/guestfish.pod:546
22656 msgid "Carriage return character."
22660 #: ../fish/guestfish.pod:548 ../libguestfs-1.11.20/fish/guestfish.pod:548
22665 #: ../fish/guestfish.pod:550 ../libguestfs-1.11.20/fish/guestfish.pod:550
22666 msgid "Horizontal tab character."
22670 #: ../fish/guestfish.pod:552 ../libguestfs-1.11.20/fish/guestfish.pod:552
22675 #: ../fish/guestfish.pod:554 ../libguestfs-1.11.20/fish/guestfish.pod:554
22676 msgid "Vertical tab character."
22680 #: ../fish/guestfish.pod:556 ../libguestfs-1.11.20/fish/guestfish.pod:556
22685 #: ../fish/guestfish.pod:558 ../libguestfs-1.11.20/fish/guestfish.pod:558
22686 msgid "A literal double quote character."
22690 #: ../fish/guestfish.pod:560 ../libguestfs-1.11.20/fish/guestfish.pod:560
22695 #: ../fish/guestfish.pod:562 ../libguestfs-1.11.20/fish/guestfish.pod:562
22697 "A character with octal value I<ooo>. There must be precisely 3 octal digits "
22702 #: ../fish/guestfish.pod:565 ../libguestfs-1.11.20/fish/guestfish.pod:565
22707 #: ../fish/guestfish.pod:567 ../libguestfs-1.11.20/fish/guestfish.pod:567
22709 "A character with hex value I<hh>. There must be precisely 2 hex digits."
22713 #: ../fish/guestfish.pod:570 ../libguestfs-1.11.20/fish/guestfish.pod:570
22715 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
22720 #: ../fish/guestfish.pod:573 ../libguestfs-1.11.20/fish/guestfish.pod:573
22725 #: ../fish/guestfish.pod:575 ../libguestfs-1.11.20/fish/guestfish.pod:575
22726 msgid "A literal backslash character."
22730 #: ../fish/guestfish.pod:579 ../libguestfs-1.11.20/fish/guestfish.pod:579
22731 msgid "OPTIONAL ARGUMENTS"
22735 #: ../fish/guestfish.pod:581 ../libguestfs-1.11.20/fish/guestfish.pod:581
22737 "Some commands take optional arguments. These arguments appear in this "
22738 "documentation as C<[argname:..]>. You can use them as in these examples:"
22742 #: ../fish/guestfish.pod:585 ../libguestfs-1.11.20/fish/guestfish.pod:585
22745 " add-drive-opts filename\n"
22750 #: ../fish/guestfish.pod:587 ../libguestfs-1.11.20/fish/guestfish.pod:587
22753 " add-drive-opts filename readonly:true\n"
22758 #: ../fish/guestfish.pod:589 ../libguestfs-1.11.20/fish/guestfish.pod:589
22761 " add-drive-opts filename format:qcow2 readonly:false\n"
22766 #: ../fish/guestfish.pod:591 ../libguestfs-1.11.20/fish/guestfish.pod:591
22768 "Each optional argument can appear at most once. All optional arguments must "
22769 "appear after the required ones."
22773 #: ../fish/guestfish.pod:594 ../libguestfs-1.11.20/fish/guestfish.pod:594
22778 #: ../fish/guestfish.pod:596 ../libguestfs-1.11.20/fish/guestfish.pod:596
22780 "This section applies to all commands which can take integers as parameters."
22784 #: ../fish/guestfish.pod:599 ../libguestfs-1.11.20/fish/guestfish.pod:599
22785 msgid "SIZE SUFFIX"
22789 #: ../fish/guestfish.pod:601 ../libguestfs-1.11.20/fish/guestfish.pod:601
22791 "When the command takes a parameter measured in bytes, you can use one of the "
22792 "following suffixes to specify kilobytes, megabytes and larger sizes:"
22796 #: ../fish/guestfish.pod:607 ../libguestfs-1.11.20/fish/guestfish.pod:607
22797 msgid "B<k> or B<K> or B<KiB>"
22798 msgstr "B<k>, B<K> або B<KiB>"
22801 #: ../fish/guestfish.pod:609 ../libguestfs-1.11.20/fish/guestfish.pod:609
22802 msgid "The size in kilobytes (multiplied by 1024)."
22806 #: ../fish/guestfish.pod:611 ../libguestfs-1.11.20/fish/guestfish.pod:611
22811 #: ../fish/guestfish.pod:613 ../libguestfs-1.11.20/fish/guestfish.pod:613
22812 msgid "The size in SI 1000 byte units."
22816 #: ../fish/guestfish.pod:615 ../libguestfs-1.11.20/fish/guestfish.pod:615
22817 msgid "B<M> or B<MiB>"
22818 msgstr "B<M> або B<MiB>"
22821 #: ../fish/guestfish.pod:617 ../libguestfs-1.11.20/fish/guestfish.pod:617
22822 msgid "The size in megabytes (multiplied by 1048576)."
22826 #: ../fish/guestfish.pod:619 ../libguestfs-1.11.20/fish/guestfish.pod:619
22831 #: ../fish/guestfish.pod:621 ../libguestfs-1.11.20/fish/guestfish.pod:621
22832 msgid "The size in SI 1000000 byte units."
22836 #: ../fish/guestfish.pod:623 ../libguestfs-1.11.20/fish/guestfish.pod:623
22837 msgid "B<G> or B<GiB>"
22838 msgstr "B<G> або B<GiB>"
22841 #: ../fish/guestfish.pod:625 ../libguestfs-1.11.20/fish/guestfish.pod:625
22842 msgid "The size in gigabytes (multiplied by 2**30)."
22843 msgstr "Розмір у гігабайтах (з множником 2**30)."
22846 #: ../fish/guestfish.pod:627 ../libguestfs-1.11.20/fish/guestfish.pod:627
22851 #: ../fish/guestfish.pod:629 ../libguestfs-1.11.20/fish/guestfish.pod:629
22852 msgid "The size in SI 10**9 byte units."
22853 msgstr "Розмір у одиницях СІ: 10**9 байтів."
22856 #: ../fish/guestfish.pod:631 ../libguestfs-1.11.20/fish/guestfish.pod:631
22857 msgid "B<T> or B<TiB>"
22858 msgstr "B<T> або B<TiB>"
22861 #: ../fish/guestfish.pod:633 ../libguestfs-1.11.20/fish/guestfish.pod:633
22862 msgid "The size in terabytes (multiplied by 2**40)."
22863 msgstr "Розмір у терабайтах (з множником 2**40)."
22866 #: ../fish/guestfish.pod:635 ../libguestfs-1.11.20/fish/guestfish.pod:635
22871 #: ../fish/guestfish.pod:637 ../libguestfs-1.11.20/fish/guestfish.pod:637
22872 msgid "The size in SI 10**12 byte units."
22876 #: ../fish/guestfish.pod:639 ../libguestfs-1.11.20/fish/guestfish.pod:639
22877 msgid "B<P> or B<PiB>"
22878 msgstr "B<P> або B<PiB>"
22881 #: ../fish/guestfish.pod:641 ../libguestfs-1.11.20/fish/guestfish.pod:641
22882 msgid "The size in petabytes (multiplied by 2**50)."
22886 #: ../fish/guestfish.pod:643 ../libguestfs-1.11.20/fish/guestfish.pod:643
22891 #: ../fish/guestfish.pod:645 ../libguestfs-1.11.20/fish/guestfish.pod:645
22892 msgid "The size in SI 10**15 byte units."
22896 #: ../fish/guestfish.pod:647 ../libguestfs-1.11.20/fish/guestfish.pod:647
22897 msgid "B<E> or B<EiB>"
22898 msgstr "B<E> або B<EiB>"
22901 #: ../fish/guestfish.pod:649 ../libguestfs-1.11.20/fish/guestfish.pod:649
22902 msgid "The size in exabytes (multiplied by 2**60)."
22906 #: ../fish/guestfish.pod:651 ../libguestfs-1.11.20/fish/guestfish.pod:651
22911 #: ../fish/guestfish.pod:653 ../libguestfs-1.11.20/fish/guestfish.pod:653
22912 msgid "The size in SI 10**18 byte units."
22916 #: ../fish/guestfish.pod:655 ../libguestfs-1.11.20/fish/guestfish.pod:655
22917 msgid "B<Z> or B<ZiB>"
22918 msgstr "B<Z> або B<ZiB>"
22921 #: ../fish/guestfish.pod:657 ../libguestfs-1.11.20/fish/guestfish.pod:657
22922 msgid "The size in zettabytes (multiplied by 2**70)."
22926 #: ../fish/guestfish.pod:659 ../libguestfs-1.11.20/fish/guestfish.pod:659
22931 #: ../fish/guestfish.pod:661 ../libguestfs-1.11.20/fish/guestfish.pod:661
22932 msgid "The size in SI 10**21 byte units."
22936 #: ../fish/guestfish.pod:663 ../libguestfs-1.11.20/fish/guestfish.pod:663
22937 msgid "B<Y> or B<YiB>"
22938 msgstr "B<Y> або B<YiB>"
22941 #: ../fish/guestfish.pod:665 ../libguestfs-1.11.20/fish/guestfish.pod:665
22942 msgid "The size in yottabytes (multiplied by 2**80)."
22946 #: ../fish/guestfish.pod:667 ../libguestfs-1.11.20/fish/guestfish.pod:667
22951 #: ../fish/guestfish.pod:669 ../libguestfs-1.11.20/fish/guestfish.pod:669
22952 msgid "The size in SI 10**24 byte units."
22956 #: ../fish/guestfish.pod:675 ../libguestfs-1.11.20/fish/guestfish.pod:675
22959 " truncate-size /file 1G\n"
22964 #: ../fish/guestfish.pod:677 ../libguestfs-1.11.20/fish/guestfish.pod:677
22965 msgid "would truncate the file to 1 gigabyte."
22969 #: ../fish/guestfish.pod:679 ../libguestfs-1.11.20/fish/guestfish.pod:679
22971 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
22972 "the parameter to L</memsize> is specified in megabytes already). Adding a "
22973 "suffix will probably not do what you expect."
22977 #: ../fish/guestfish.pod:683 ../libguestfs-1.11.20/fish/guestfish.pod:683
22978 msgid "OCTAL AND HEXADECIMAL NUMBERS"
22982 #: ../fish/guestfish.pod:685 ../libguestfs-1.11.20/fish/guestfish.pod:685
22984 "For specifying the radix (base) use the C convention: C<0> to prefix an "
22985 "octal number or C<0x> to prefix a hexadecimal number. For example:"
22989 #: ../fish/guestfish.pod:688 ../libguestfs-1.11.20/fish/guestfish.pod:688
22992 " 1234 decimal number 1234\n"
22993 " 02322 octal number, equivalent to decimal 1234\n"
22994 " 0x4d2 hexadecimal number, equivalent to decimal 1234\n"
22999 #: ../fish/guestfish.pod:692 ../libguestfs-1.11.20/fish/guestfish.pod:692
23001 "When using the C<chmod> command, you almost always want to specify an octal "
23002 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
23003 "L<chmod(1)> program):"
23007 #: ../fish/guestfish.pod:696 ../libguestfs-1.11.20/fish/guestfish.pod:696
23010 " chmod 0777 /public # OK\n"
23011 " chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal.\n"
23016 #: ../fish/guestfish.pod:699 ../libguestfs-1.11.20/fish/guestfish.pod:699
23018 "Commands that return numbers usually print them in decimal, but some "
23019 "commands print numbers in other radices (eg. C<umask> prints the mode in "
23020 "octal, preceeded by C<0>)."
23024 #: ../fish/guestfish.pod:703 ../libguestfs-1.11.20/fish/guestfish.pod:703
23025 msgid "WILDCARDS AND GLOBBING"
23029 #: ../fish/guestfish.pod:705 ../libguestfs-1.11.20/fish/guestfish.pod:705
23031 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
23032 "(globbing) by default. So for example the following will not do what you "
23037 #: ../fish/guestfish.pod:709 ../libguestfs-1.11.20/fish/guestfish.pod:709
23045 #: ../fish/guestfish.pod:711 ../libguestfs-1.11.20/fish/guestfish.pod:711
23047 "Assuming you don't have a directory called literally C</home/*> then the "
23048 "above command will return an error."
23052 #: ../fish/guestfish.pod:714 ../libguestfs-1.11.20/fish/guestfish.pod:714
23053 msgid "To perform wildcard expansion, use the C<glob> command."
23057 #: ../fish/guestfish.pod:716 ../libguestfs-1.11.20/fish/guestfish.pod:716
23060 " glob rm-rf /home/*\n"
23065 #: ../fish/guestfish.pod:718 ../libguestfs-1.11.20/fish/guestfish.pod:718
23067 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
23068 "many times), equivalent to:"
23072 #: ../fish/guestfish.pod:721 ../libguestfs-1.11.20/fish/guestfish.pod:721
23075 " rm-rf /home/jim\n"
23076 " rm-rf /home/joe\n"
23077 " rm-rf /home/mary\n"
23082 #: ../fish/guestfish.pod:725 ../libguestfs-1.11.20/fish/guestfish.pod:725
23083 msgid "C<glob> only works on simple guest paths and not on device names."
23087 #: ../fish/guestfish.pod:727 ../libguestfs-1.11.20/fish/guestfish.pod:727
23089 "If you have several parameters, each containing a wildcard, then glob will "
23090 "perform a Cartesian product."
23094 #: ../fish/guestfish.pod:730 ../libguestfs-1.11.20/fish/guestfish.pod:730
23099 #: ../fish/guestfish.pod:732 ../libguestfs-1.11.20/fish/guestfish.pod:732
23101 "Any line which starts with a I<#> character is treated as a comment and "
23102 "ignored. The I<#> can optionally be preceeded by whitespace, but B<not> by "
23103 "a command. For example:"
23107 #: ../fish/guestfish.pod:736 ../libguestfs-1.11.20/fish/guestfish.pod:736
23110 " # this is a comment\n"
23111 " # this is a comment\n"
23112 " foo # NOT a comment\n"
23117 #: ../fish/guestfish.pod:740 ../libguestfs-1.11.20/fish/guestfish.pod:740
23118 msgid "Blank lines are also ignored."
23122 #: ../fish/guestfish.pod:742 ../libguestfs-1.11.20/fish/guestfish.pod:742
23123 msgid "RUNNING COMMANDS LOCALLY"
23127 #: ../fish/guestfish.pod:744 ../libguestfs-1.11.20/fish/guestfish.pod:744
23129 "Any line which starts with a I<!> character is treated as a command sent to "
23130 "the local shell (C</bin/sh> or whatever L<system(3)> uses). For example:"
23134 #: ../fish/guestfish.pod:748 ../libguestfs-1.11.20/fish/guestfish.pod:748
23138 " tgz-out /remote local/remote-data.tar.gz\n"
23143 #: ../fish/guestfish.pod:751 ../libguestfs-1.11.20/fish/guestfish.pod:751
23145 "will create a directory C<local> on the host, and then export the contents "
23146 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>. "
23147 "(See C<tgz-out>)."
23151 #: ../fish/guestfish.pod:755 ../libguestfs-1.11.20/fish/guestfish.pod:755
23153 "To change the local directory, use the C<lcd> command. C<!cd> will have no "
23154 "effect, due to the way that subprocesses work in Unix."
23158 #: ../fish/guestfish.pod:758 ../libguestfs-1.11.20/fish/guestfish.pod:758
23159 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
23163 #: ../fish/guestfish.pod:760 ../libguestfs-1.11.20/fish/guestfish.pod:760
23165 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
23166 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
23167 "and executed as guestfish commands."
23171 #: ../fish/guestfish.pod:764 ../libguestfs-1.11.20/fish/guestfish.pod:764
23173 "Thus you can use shell script to construct arbitrary guestfish commands "
23174 "which are then parsed by guestfish."
23178 #: ../fish/guestfish.pod:767 ../libguestfs-1.11.20/fish/guestfish.pod:767
23180 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
23181 "through C</foo.100>) using guestfish commands alone. However this is simple "
23182 "if we use a shell script to create the guestfish commands for us:"
23186 #: ../fish/guestfish.pod:772 ../libguestfs-1.11.20/fish/guestfish.pod:772
23189 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
23194 #: ../fish/guestfish.pod:774 ../libguestfs-1.11.20/fish/guestfish.pod:774
23195 msgid "or with names like C</foo.001>:"
23199 #: ../fish/guestfish.pod:776 ../libguestfs-1.11.20/fish/guestfish.pod:776
23202 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
23207 #: ../fish/guestfish.pod:778 ../libguestfs-1.11.20/fish/guestfish.pod:778
23209 "When using guestfish interactively it can be helpful to just run the shell "
23210 "script first (ie. remove the initial C<E<lt>> character so it is just an "
23211 "ordinary I<!> local command), see what guestfish commands it would run, and "
23212 "when you are happy with those prepend the C<E<lt>> character to run the "
23213 "guestfish commands for real."
23217 #: ../fish/guestfish.pod:784 ../libguestfs-1.11.20/fish/guestfish.pod:784
23222 #: ../fish/guestfish.pod:786 ../libguestfs-1.11.20/fish/guestfish.pod:786
23224 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
23225 "command (a guestfish command) to the second command (any host command). For "
23230 #: ../fish/guestfish.pod:790 ../libguestfs-1.11.20/fish/guestfish.pod:790
23233 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
23238 #: ../fish/guestfish.pod:792 ../libguestfs-1.11.20/fish/guestfish.pod:792
23240 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
23241 "program). The above command would list all accounts in the guest filesystem "
23242 "which have UID 0, ie. root accounts including backdoors. Other examples:"
23246 #: ../fish/guestfish.pod:797 ../libguestfs-1.11.20/fish/guestfish.pod:797
23249 " hexdump /bin/ls | head\n"
23250 " list-devices | tail -1\n"
23251 " tgz-out / - | tar ztf -\n"
23256 #: ../fish/guestfish.pod:801 ../libguestfs-1.11.20/fish/guestfish.pod:801
23258 "The space before the pipe symbol is required, any space after the pipe "
23259 "symbol is optional. Everything after the pipe symbol is just passed "
23260 "straight to the host shell, so it can contain redirections, globs and "
23261 "anything else that makes sense on the host side."
23265 #: ../fish/guestfish.pod:806 ../libguestfs-1.11.20/fish/guestfish.pod:806
23267 "To use a literal argument which begins with a pipe symbol, you have to quote "
23272 #: ../fish/guestfish.pod:809 ../libguestfs-1.11.20/fish/guestfish.pod:809
23280 #: ../fish/guestfish.pod:811 ../libguestfs-1.11.20/fish/guestfish.pod:811
23281 msgid "HOME DIRECTORIES"
23285 #: ../fish/guestfish.pod:813 ../libguestfs-1.11.20/fish/guestfish.pod:813
23287 "If a parameter starts with the character C<~> then the tilde may be expanded "
23288 "as a home directory path (either C<~> for the current user's home directory, "
23289 "or C<~user> for another user)."
23293 #: ../fish/guestfish.pod:817 ../libguestfs-1.11.20/fish/guestfish.pod:817
23295 "Note that home directory expansion happens for users known I<on the host>, "
23296 "not in the guest filesystem."
23300 #: ../fish/guestfish.pod:820 ../libguestfs-1.11.20/fish/guestfish.pod:820
23302 "To use a literal argument which begins with a tilde, you have to quote it, "
23307 #: ../fish/guestfish.pod:823 ../libguestfs-1.11.20/fish/guestfish.pod:823
23315 #: ../fish/guestfish.pod:825 ../libguestfs-1.11.20/fish/guestfish.pod:825
23316 #: ../libguestfs-1.11.20/src/guestfs.pod:519 ../src/guestfs.pod:519
23317 msgid "ENCRYPTED DISKS"
23318 msgstr "ЗАШИФРОВАНІ ДИСКИ"
23321 #: ../fish/guestfish.pod:827 ../libguestfs-1.11.20/fish/guestfish.pod:827
23323 "Libguestfs has some support for Linux guests encrypted according to the "
23324 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
23325 "disk encryption systems used by modern Linux guests. Currently only LVM-on-"
23326 "LUKS is supported."
23330 #: ../fish/guestfish.pod:832 ../libguestfs-1.11.20/fish/guestfish.pod:832
23331 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
23335 #: ../fish/guestfish.pod:834 ../libguestfs-1.11.20/fish/guestfish.pod:834
23338 " ><fs> vfs-type /dev/sda2\n"
23344 #: ../fish/guestfish.pod:837 ../libguestfs-1.11.20/fish/guestfish.pod:837
23346 "Then open those devices using L</luks-open>. This creates a device-mapper "
23347 "device called C</dev/mapper/luksdev>."
23351 #: ../fish/guestfish.pod:840 ../libguestfs-1.11.20/fish/guestfish.pod:840
23354 " ><fs> luks-open /dev/sda2 luksdev\n"
23355 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
23360 #: ../fish/guestfish.pod:843 ../libguestfs-1.11.20/fish/guestfish.pod:843
23362 "Finally you have to tell LVM to scan for volume groups on the newly created "
23367 #: ../fish/guestfish.pod:846 ../libguestfs-1.11.20/fish/guestfish.pod:846
23371 " vg-activate-all true\n"
23376 #: ../fish/guestfish.pod:849 ../libguestfs-1.11.20/fish/guestfish.pod:849
23377 msgid "The logical volume(s) can now be mounted in the usual way."
23381 #: ../fish/guestfish.pod:851 ../libguestfs-1.11.20/fish/guestfish.pod:851
23383 "Before closing a LUKS device you must unmount any logical volumes on it and "
23384 "deactivate the volume groups by calling C<vg-activate false VG> on each "
23385 "one. Then you can close the mapper device:"
23389 #: ../fish/guestfish.pod:855 ../libguestfs-1.11.20/fish/guestfish.pod:855
23392 " vg-activate false /dev/VG\n"
23393 " luks-close /dev/mapper/luksdev\n"
23398 #: ../fish/guestfish.pod:860 ../libguestfs-1.11.20/fish/guestfish.pod:860
23400 "If a path is prefixed with C<win:> then you can use Windows-style drive "
23401 "letters and paths (with some limitations). The following commands are "
23406 #: ../fish/guestfish.pod:864 ../libguestfs-1.11.20/fish/guestfish.pod:864
23409 " file /WINDOWS/system32/config/system.LOG\n"
23414 #: ../fish/guestfish.pod:866 ../libguestfs-1.11.20/fish/guestfish.pod:866
23417 " file win:\\windows\\system32\\config\\system.log\n"
23422 #: ../fish/guestfish.pod:868 ../libguestfs-1.11.20/fish/guestfish.pod:868
23425 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
23430 #: ../fish/guestfish.pod:870 ../libguestfs-1.11.20/fish/guestfish.pod:870
23432 "The parameter is rewritten \"behind the scenes\" by looking up the position "
23433 "where the drive is mounted, prepending that to the path, changing all "
23434 "backslash characters to forward slash, then resolving the result using L</"
23435 "case-sensitive-path>. For example if the E: drive was mounted on C</e> then "
23436 "the parameter might be rewritten like this:"
23440 #: ../fish/guestfish.pod:876 ../libguestfs-1.11.20/fish/guestfish.pod:876
23443 " win:e:\\foo\\bar => /e/FOO/bar\n"
23448 #: ../fish/guestfish.pod:878 ../libguestfs-1.11.20/fish/guestfish.pod:878
23449 msgid "This only works in argument positions that expect a path."
23453 #: ../fish/guestfish.pod:880 ../libguestfs-1.11.20/fish/guestfish.pod:880
23454 msgid "UPLOADING AND DOWNLOADING FILES"
23458 #: ../fish/guestfish.pod:882 ../libguestfs-1.11.20/fish/guestfish.pod:882
23460 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
23461 "others which upload from or download to a local file, you can use the "
23462 "special filename C<-> to mean \"from stdin\" or \"to stdout\". For example:"
23466 #: ../fish/guestfish.pod:886 ../libguestfs-1.11.20/fish/guestfish.pod:886
23474 #: ../fish/guestfish.pod:888 ../libguestfs-1.11.20/fish/guestfish.pod:888
23476 "reads stdin and creates from that a file C</foo> in the disk image, and:"
23480 #: ../fish/guestfish.pod:891 ../libguestfs-1.11.20/fish/guestfish.pod:891
23483 " tar-out /etc - | tar tf -\n"
23488 #: ../fish/guestfish.pod:893 ../libguestfs-1.11.20/fish/guestfish.pod:893
23490 "writes the tarball to stdout and then pipes that into the external \"tar\" "
23491 "command (see L</PIPES>)."
23495 #: ../fish/guestfish.pod:896 ../libguestfs-1.11.20/fish/guestfish.pod:896
23497 "When using C<-> to read from stdin, the input is read up to the end of "
23498 "stdin. You can also use a special \"heredoc\"-like syntax to read up to "
23499 "some arbitrary end marker:"
23503 #: ../fish/guestfish.pod:900 ../libguestfs-1.11.20/fish/guestfish.pod:900
23506 " upload -<<END /foo\n"
23515 #: ../fish/guestfish.pod:906 ../libguestfs-1.11.20/fish/guestfish.pod:906
23517 "Any string of characters can be used instead of C<END>. The end marker must "
23518 "appear on a line of its own, without any preceeding or following characters "
23519 "(not even spaces)."
23523 #: ../fish/guestfish.pod:910 ../libguestfs-1.11.20/fish/guestfish.pod:910
23525 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
23526 "upload local files (so-called \"FileIn\" parameters in the generator)."
23530 #: ../fish/guestfish.pod:913 ../libguestfs-1.11.20/fish/guestfish.pod:913
23531 msgid "EXIT ON ERROR BEHAVIOUR"
23535 #: ../fish/guestfish.pod:915 ../libguestfs-1.11.20/fish/guestfish.pod:915
23537 "By default, guestfish will ignore any errors when in interactive mode (ie. "
23538 "taking commands from a human over a tty), and will exit on the first error "
23539 "in non-interactive mode (scripts, commands given on the command line)."
23543 #: ../fish/guestfish.pod:920 ../libguestfs-1.11.20/fish/guestfish.pod:920
23545 "If you prefix a command with a I<-> character, then that command will not "
23546 "cause guestfish to exit, even if that (one) command returns an error."
23550 #: ../fish/guestfish.pod:924 ../libguestfs-1.11.20/fish/guestfish.pod:924
23551 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
23555 #: ../fish/guestfish.pod:926 ../libguestfs-1.11.20/fish/guestfish.pod:926
23557 "Guestfish can be remote-controlled over a socket. This is useful "
23558 "particularly in shell scripts where you want to make several different "
23559 "changes to a filesystem, but you don't want the overhead of starting up a "
23560 "guestfish process each time."
23564 #: ../fish/guestfish.pod:931 ../libguestfs-1.11.20/fish/guestfish.pod:931
23565 msgid "Start a guestfish server process using:"
23569 #: ../fish/guestfish.pod:933 ../libguestfs-1.11.20/fish/guestfish.pod:933
23572 " eval \"`guestfish --listen`\"\n"
23577 #: ../fish/guestfish.pod:935 ../libguestfs-1.11.20/fish/guestfish.pod:935
23578 msgid "and then send it commands by doing:"
23582 #: ../fish/guestfish.pod:937 ../libguestfs-1.11.20/fish/guestfish.pod:937
23585 " guestfish --remote cmd [...]\n"
23590 #: ../fish/guestfish.pod:939 ../libguestfs-1.11.20/fish/guestfish.pod:939
23591 msgid "To cause the server to exit, send it the exit command:"
23595 #: ../fish/guestfish.pod:943 ../libguestfs-1.11.20/fish/guestfish.pod:943
23597 "Note that the server will normally exit if there is an error in a command. "
23598 "You can change this in the usual way. See section L</EXIT ON ERROR "
23603 #: ../fish/guestfish.pod:947 ../libguestfs-1.11.20/fish/guestfish.pod:947
23604 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
23608 #: ../fish/guestfish.pod:949 ../libguestfs-1.11.20/fish/guestfish.pod:949
23610 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
23611 "is how the I<--remote> option knows where to send the commands. You can "
23612 "have several guestfish listener processes running using:"
23616 #: ../fish/guestfish.pod:953 ../libguestfs-1.11.20/fish/guestfish.pod:953
23619 " eval \"`guestfish --listen`\"\n"
23620 " pid1=$GUESTFISH_PID\n"
23621 " eval \"`guestfish --listen`\"\n"
23622 " pid2=$GUESTFISH_PID\n"
23624 " guestfish --remote=$pid1 cmd\n"
23625 " guestfish --remote=$pid2 cmd\n"
23630 #: ../fish/guestfish.pod:961 ../libguestfs-1.11.20/fish/guestfish.pod:961
23631 msgid "REMOTE CONTROL AND CSH"
23635 #: ../fish/guestfish.pod:963 ../libguestfs-1.11.20/fish/guestfish.pod:963
23637 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
23642 #: ../fish/guestfish.pod:966 ../libguestfs-1.11.20/fish/guestfish.pod:966
23645 " eval \"`guestfish --listen --csh`\"\n"
23650 #: ../fish/guestfish.pod:968 ../libguestfs-1.11.20/fish/guestfish.pod:968
23651 msgid "REMOTE CONTROL DETAILS"
23655 #: ../fish/guestfish.pod:970 ../libguestfs-1.11.20/fish/guestfish.pod:970
23657 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
23658 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
23659 "and C<$PID> is the process ID of the server."
23663 #: ../fish/guestfish.pod:974 ../libguestfs-1.11.20/fish/guestfish.pod:974
23664 msgid "Guestfish client and server versions must match exactly."
23668 #: ../fish/guestfish.pod:976 ../libguestfs-1.11.20/fish/guestfish.pod:976
23669 msgid "PREPARED DISK IMAGES"
23673 #: ../fish/guestfish.pod:978 ../libguestfs-1.11.20/fish/guestfish.pod:978
23675 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
23676 "preformatted disk images that guestfish can make for you to save typing. "
23677 "This is particularly useful for testing purposes. This option is used "
23678 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
23679 "can be mixed with I<-a>)."
23683 #: ../fish/guestfish.pod:984 ../libguestfs-1.11.20/fish/guestfish.pod:984
23685 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
23686 "the second and so on. Existing files in the current directory are "
23691 #: ../fish/guestfish.pod:988 ../libguestfs-1.11.20/fish/guestfish.pod:988
23693 "The type briefly describes how the disk should be sized, partitioned, how "
23694 "filesystem(s) should be created, and how content should be added. "
23695 "Optionally the type can be followed by extra parameters, separated by C<:> "
23696 "(colon) characters. For example, I<-N fs> creates a default 100MB, sparsely-"
23697 "allocated disk, containing a single partition, with the partition formatted "
23698 "as ext2. I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
23703 #: ../fish/guestfish.pod:996 ../libguestfs-1.11.20/fish/guestfish.pod:996
23704 msgid "To list the available types and any extra parameters they take, run:"
23708 #: ../fish/guestfish.pod:1000 ../libguestfs-1.11.20/fish/guestfish.pod:1000
23710 "Note that the prepared filesystem is not mounted. You would usually have to "
23711 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
23715 #: ../fish/guestfish.pod:1004 ../libguestfs-1.11.20/fish/guestfish.pod:1004
23717 "If any I<-N> or I<--new> options are given, the guest is automatically "
23722 #: ../fish/guestfish.pod:1009 ../libguestfs-1.11.20/fish/guestfish.pod:1009
23723 msgid "Create a 100MB disk with an ext4-formatted partition:"
23727 #: ../fish/guestfish.pod:1011 ../libguestfs-1.11.20/fish/guestfish.pod:1011
23730 " guestfish -N fs:ext4\n"
23735 #: ../fish/guestfish.pod:1013 ../libguestfs-1.11.20/fish/guestfish.pod:1013
23736 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
23740 #: ../fish/guestfish.pod:1015 ../libguestfs-1.11.20/fish/guestfish.pod:1015
23743 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
23748 #: ../fish/guestfish.pod:1017 ../libguestfs-1.11.20/fish/guestfish.pod:1017
23749 msgid "Create a blank 200MB disk:"
23753 #: ../fish/guestfish.pod:1019 ../libguestfs-1.11.20/fish/guestfish.pod:1019
23756 " guestfish -N disk:200M\n"
23761 #: ../fish/guestfish.pod:1021 ../libguestfs-1.11.20/fish/guestfish.pod:1021
23762 msgid "PROGRESS BARS"
23766 #: ../fish/guestfish.pod:1023 ../libguestfs-1.11.20/fish/guestfish.pod:1023
23768 "Some (not all) long-running commands send progress notification messages as "
23769 "they are running. Guestfish turns these messages into progress bars."
23773 #: ../fish/guestfish.pod:1027 ../libguestfs-1.11.20/fish/guestfish.pod:1027
23775 "When a command that supports progress bars takes longer than two seconds to "
23776 "run, and if progress bars are enabled, then you will see one appearing below "
23781 #: ../fish/guestfish.pod:1031 ../libguestfs-1.11.20/fish/guestfish.pod:1031
23784 " ><fs> copy-size /large-file /another-file 2048M\n"
23785 " / 10% [#####-----------------------------------------] 00:30\n"
23790 #: ../fish/guestfish.pod:1034 ../libguestfs-1.11.20/fish/guestfish.pod:1034
23792 "The spinner on the left hand side moves round once for every progress "
23793 "notification received from the backend. This is a (reasonably) golden "
23794 "assurance that the command is \"doing something\" even if the progress bar "
23795 "is not moving, because the command is able to send the progress "
23796 "notifications. When the bar reaches 100% and the command finishes, the "
23797 "spinner disappears."
23801 #: ../fish/guestfish.pod:1041 ../libguestfs-1.11.20/fish/guestfish.pod:1041
23803 "Progress bars are enabled by default when guestfish is used interactively. "
23804 "You can enable them even for non-interactive modes using I<--progress-bars>, "
23805 "and you can disable them completely using I<--no-progress-bars>."
23809 #: ../fish/guestfish.pod:1046 ../libguestfs-1.11.20/fish/guestfish.pod:1046
23810 msgid "GUESTFISH COMMANDS"
23814 #: ../fish/guestfish.pod:1048 ../libguestfs-1.11.20/fish/guestfish.pod:1048
23816 "The commands in this section are guestfish convenience commands, in other "
23817 "words, they are not part of the L<guestfs(3)> API."
23821 #: ../fish/guestfish.pod:1051 ../libguestfs-1.11.20/fish/guestfish.pod:1051
23826 #: ../fish/guestfish.pod:1053 ../libguestfs-1.11.20/fish/guestfish.pod:1053
23838 #: ../fish/guestfish.pod:1056 ../libguestfs-1.11.20/fish/guestfish.pod:1056
23839 msgid "Without any parameter, this provides general help."
23840 msgstr "Без параметра показує загальну довідкову інформацію."
23843 #: ../fish/guestfish.pod:1058 ../libguestfs-1.11.20/fish/guestfish.pod:1058
23844 msgid "With a C<cmd> parameter, this displays detailed help for that command."
23848 #: ../fish/guestfish.pod:1060 ../libguestfs-1.11.20/fish/guestfish.pod:1060
23849 msgid "quit | exit"
23853 #: ../fish/guestfish.pod:1062 ../libguestfs-1.11.20/fish/guestfish.pod:1062
23854 msgid "This exits guestfish. You can also use C<^D> key."
23858 #: ../fish/guestfish.pod:1064 ../libguestfs-1.11.20/fish/guestfish.pod:1064
23859 msgid "@FISH_COMMANDS@"
23863 #: ../fish/guestfish.pod:1066 ../libguestfs-1.11.20/fish/guestfish.pod:1066
23868 #: ../fish/guestfish.pod:1068 ../libguestfs-1.11.20/fish/guestfish.pod:1068
23869 #: ../libguestfs-1.11.20/src/guestfs.pod:1474 ../src/guestfs.pod:1474
23874 #: ../fish/guestfish.pod:1070 ../libguestfs-1.11.20/fish/guestfish.pod:1070
23875 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:77
23876 #: ../test-tool/libguestfs-test-tool.pod:77
23878 msgstr "КОД ВИХОДУ"
23881 #: ../fish/guestfish.pod:1072 ../libguestfs-1.11.20/fish/guestfish.pod:1072
23883 "guestfish returns 0 if the commands completed without error, or 1 if there "
23888 #: ../fish/guestfish.pod:1079 ../libguestfs-1.11.20/fish/guestfish.pod:1079
23893 #: ../fish/guestfish.pod:1081 ../libguestfs-1.11.20/fish/guestfish.pod:1081
23895 "The C<edit> command uses C<$EDITOR> as the editor. If not set, it uses "
23900 #: ../fish/guestfish.pod:1084 ../libguestfs-1.11.20/fish/guestfish.pod:1084
23901 msgid "GUESTFISH_DISPLAY_IMAGE"
23905 #: ../fish/guestfish.pod:1086 ../libguestfs-1.11.20/fish/guestfish.pod:1086
23907 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images. "
23908 "If not set, it uses L<display(1)>."
23912 #: ../fish/guestfish.pod:1089 ../libguestfs-1.11.20/fish/guestfish.pod:1089
23913 msgid "GUESTFISH_PID"
23917 #: ../fish/guestfish.pod:1091 ../libguestfs-1.11.20/fish/guestfish.pod:1091
23919 "Used with the I<--remote> option to specify the remote guestfish process to "
23920 "control. See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
23924 #: ../fish/guestfish.pod:1095 ../libguestfs-1.11.20/fish/guestfish.pod:1095
23929 #: ../fish/guestfish.pod:1097 ../libguestfs-1.11.20/fish/guestfish.pod:1097
23931 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor. If "
23932 "not specified, the external L<hexedit(1)> program is used."
23936 #: ../fish/guestfish.pod:1101 ../libguestfs-1.11.20/fish/guestfish.pod:1101
23941 #: ../fish/guestfish.pod:1103 ../libguestfs-1.11.20/fish/guestfish.pod:1103
23943 "If compiled with GNU readline support, various files in the home directory "
23944 "can be used. See L</FILES>."
23948 #: ../fish/guestfish.pod:1106 ../libguestfs-1.11.20/fish/guestfish.pod:1106
23949 #: ../libguestfs-1.11.20/src/guestfs.pod:2964 ../src/guestfs.pod:2964
23950 msgid "LIBGUESTFS_APPEND"
23954 #: ../fish/guestfish.pod:1108 ../libguestfs-1.11.20/fish/guestfish.pod:1108
23955 #: ../libguestfs-1.11.20/src/guestfs.pod:2966 ../src/guestfs.pod:2966
23956 msgid "Pass additional options to the guest kernel."
23960 #: ../fish/guestfish.pod:1110 ../libguestfs-1.11.20/fish/guestfish.pod:1110
23961 #: ../libguestfs-1.11.20/src/guestfs.pod:2968 ../src/guestfs.pod:2968
23962 msgid "LIBGUESTFS_DEBUG"
23963 msgstr "LIBGUESTFS_DEBUG"
23966 #: ../fish/guestfish.pod:1112 ../libguestfs-1.11.20/fish/guestfish.pod:1112
23968 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages. This has the same "
23969 "effect as using the B<-v> option."
23973 #: ../fish/guestfish.pod:1115 ../libguestfs-1.11.20/fish/guestfish.pod:1115
23974 #: ../libguestfs-1.11.20/src/guestfs.pod:2973 ../src/guestfs.pod:2973
23975 msgid "LIBGUESTFS_MEMSIZE"
23976 msgstr "LIBGUESTFS_MEMSIZE"
23979 #: ../fish/guestfish.pod:1117 ../libguestfs-1.11.20/fish/guestfish.pod:1117
23980 #: ../libguestfs-1.11.20/src/guestfs.pod:2975 ../src/guestfs.pod:2975
23982 "Set the memory allocated to the qemu process, in megabytes. For example:"
23986 #: ../fish/guestfish.pod:1120 ../libguestfs-1.11.20/fish/guestfish.pod:1120
23987 #: ../libguestfs-1.11.20/src/guestfs.pod:2978 ../src/guestfs.pod:2978
23990 " LIBGUESTFS_MEMSIZE=700\n"
23993 " LIBGUESTFS_MEMSIZE=700\n"
23997 #: ../fish/guestfish.pod:1122 ../libguestfs-1.11.20/fish/guestfish.pod:1122
23998 #: ../libguestfs-1.11.20/src/guestfs.pod:2980 ../src/guestfs.pod:2980
23999 msgid "LIBGUESTFS_PATH"
24003 #: ../fish/guestfish.pod:1124 ../libguestfs-1.11.20/fish/guestfish.pod:1124
24005 "Set the path that guestfish uses to search for kernel and initrd.img. See "
24006 "the discussion of paths in L<guestfs(3)>."
24010 #: ../fish/guestfish.pod:1127 ../libguestfs-1.11.20/fish/guestfish.pod:1127
24011 #: ../libguestfs-1.11.20/src/guestfs.pod:2985 ../src/guestfs.pod:2985
24012 msgid "LIBGUESTFS_QEMU"
24016 #: ../fish/guestfish.pod:1129 ../libguestfs-1.11.20/fish/guestfish.pod:1129
24017 #: ../libguestfs-1.11.20/src/guestfs.pod:2987 ../src/guestfs.pod:2987
24019 "Set the default qemu binary that libguestfs uses. If not set, then the qemu "
24020 "which was found at compile time by the configure script is used."
24024 #: ../fish/guestfish.pod:1133 ../libguestfs-1.11.20/fish/guestfish.pod:1133
24025 #: ../libguestfs-1.11.20/src/guestfs.pod:2993 ../src/guestfs.pod:2993
24026 msgid "LIBGUESTFS_TRACE"
24030 #: ../fish/guestfish.pod:1135 ../libguestfs-1.11.20/fish/guestfish.pod:1135
24031 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
24035 #: ../fish/guestfish.pod:1137 ../libguestfs-1.11.20/fish/guestfish.pod:1137
24037 msgstr "РОЗБИТТЯ НА СТОРІНКИ"
24040 #: ../fish/guestfish.pod:1139 ../libguestfs-1.11.20/fish/guestfish.pod:1139
24042 "The C<more> command uses C<$PAGER> as the pager. If not set, it uses "
24047 #: ../fish/guestfish.pod:1142 ../libguestfs-1.11.20/fish/guestfish.pod:1142
24048 #: ../libguestfs-1.11.20/src/guestfs.pod:2998 ../src/guestfs.pod:2998
24053 #: ../fish/guestfish.pod:1144 ../libguestfs-1.11.20/fish/guestfish.pod:1144
24054 #: ../libguestfs-1.11.20/src/guestfs.pod:3000 ../src/guestfs.pod:3000
24056 "Location of temporary directory, defaults to C</tmp> except for the cached "
24057 "supermin appliance which defaults to C</var/tmp>."
24061 #: ../fish/guestfish.pod:1147 ../libguestfs-1.11.20/fish/guestfish.pod:1147
24062 #: ../libguestfs-1.11.20/src/guestfs.pod:3003 ../src/guestfs.pod:3003
24064 "If libguestfs was compiled to use the supermin appliance then the real "
24065 "appliance is cached in this directory, shared between all handles belonging "
24066 "to the same EUID. You can use C<$TMPDIR> to configure another directory to "
24067 "use in case C</var/tmp> is not large enough."
24071 #: ../fish/guestfish.pod:1155 ../fuse/guestmount.pod:288
24072 #: ../libguestfs-1.11.20/fish/guestfish.pod:1155
24073 #: ../libguestfs-1.11.20/fuse/guestmount.pod:288
24074 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:269
24075 #: ../rescue/virt-rescue.pod:269
24080 #: ../fish/guestfish.pod:1159 ../fuse/guestmount.pod:292
24081 #: ../libguestfs-1.11.20/fish/guestfish.pod:1159
24082 #: ../libguestfs-1.11.20/fuse/guestmount.pod:292
24083 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:273
24084 #: ../rescue/virt-rescue.pod:273
24085 msgid "$HOME/.libguestfs-tools.rc"
24089 #: ../fish/guestfish.pod:1161 ../fuse/guestmount.pod:294
24090 #: ../libguestfs-1.11.20/fish/guestfish.pod:1161
24091 #: ../libguestfs-1.11.20/fuse/guestmount.pod:294
24092 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:275
24093 #: ../rescue/virt-rescue.pod:275
24094 msgid "/etc/libguestfs-tools.conf"
24098 #: ../fish/guestfish.pod:1163 ../fuse/guestmount.pod:296
24099 #: ../libguestfs-1.11.20/fish/guestfish.pod:1163
24100 #: ../libguestfs-1.11.20/fuse/guestmount.pod:296
24101 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:277
24102 #: ../rescue/virt-rescue.pod:277
24104 "This configuration file controls the default read-only or read-write mode "
24105 "(I<--ro> or I<--rw>)."
24109 #: ../fish/guestfish.pod:1166 ../libguestfs-1.11.20/fish/guestfish.pod:1166
24110 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
24114 #: ../fish/guestfish.pod:1168 ../libguestfs-1.11.20/fish/guestfish.pod:1168
24115 msgid "$HOME/.guestfish"
24119 #: ../fish/guestfish.pod:1170 ../libguestfs-1.11.20/fish/guestfish.pod:1170
24121 "If compiled with GNU readline support, then the command history is saved in "
24126 #: ../fish/guestfish.pod:1173 ../libguestfs-1.11.20/fish/guestfish.pod:1173
24127 msgid "$HOME/.inputrc"
24131 #: ../fish/guestfish.pod:1175 ../libguestfs-1.11.20/fish/guestfish.pod:1175
24132 msgid "/etc/inputrc"
24136 #: ../fish/guestfish.pod:1177 ../libguestfs-1.11.20/fish/guestfish.pod:1177
24138 "If compiled with GNU readline support, then these files can be used to "
24139 "configure readline. For further information, please see L<readline(3)/"
24140 "INITIALIZATION FILE>."
24144 #: ../fish/guestfish.pod:1181 ../libguestfs-1.11.20/fish/guestfish.pod:1181
24145 msgid "To write rules which only apply to guestfish, use:"
24149 #: ../fish/guestfish.pod:1183 ../libguestfs-1.11.20/fish/guestfish.pod:1183
24159 #: ../fish/guestfish.pod:1187 ../libguestfs-1.11.20/fish/guestfish.pod:1187
24161 "Variables that you can set in inputrc that change the behaviour of guestfish "
24162 "in useful ways include:"
24166 #: ../fish/guestfish.pod:1192 ../libguestfs-1.11.20/fish/guestfish.pod:1192
24167 msgid "completion-ignore-case (default: on)"
24171 #: ../fish/guestfish.pod:1194 ../libguestfs-1.11.20/fish/guestfish.pod:1194
24173 "By default, guestfish will ignore case when tab-completing paths on the "
24178 #: ../fish/guestfish.pod:1197 ../libguestfs-1.11.20/fish/guestfish.pod:1197
24181 " set completion-ignore-case off\n"
24186 #: ../fish/guestfish.pod:1199 ../libguestfs-1.11.20/fish/guestfish.pod:1199
24187 msgid "to make guestfish case sensitive."
24191 #: ../fish/guestfish.pod:1203 ../libguestfs-1.11.20/fish/guestfish.pod:1203
24196 #: ../fish/guestfish.pod:1205 ../libguestfs-1.11.20/fish/guestfish.pod:1205
24197 msgid "test2.img (etc)"
24201 #: ../fish/guestfish.pod:1207 ../libguestfs-1.11.20/fish/guestfish.pod:1207
24203 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
24204 "will be created in the file C<test1.img> in the current directory. The "
24205 "second use of I<-N> will use C<test2.img> and so on. Any existing file with "
24206 "the same name will be overwritten."
24210 #: ../fish/guestfish.pod:1216 ../libguestfs-1.11.20/fish/guestfish.pod:1216
24212 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-copy-in(1)"
24213 ">, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)"
24214 ">, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions"
24215 "(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)"
24216 ">, L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)"
24217 ">, L<display(1)>, L<hexedit(1)>."
24221 #: ../fish/guestfish.pod:1244 ../libguestfs-1.11.20/fish/guestfish.pod:1244
24222 #: ../libguestfs-1.11.20/src/guestfs.pod:3088
24223 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:99
24224 #: ../src/guestfs.pod:3088 ../test-tool/libguestfs-test-tool.pod:99
24225 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
24229 #: ../fish/virt-copy-in.pod:5 ../libguestfs-1.11.20/fish/virt-copy-in.pod:5
24231 "virt-copy-in - Copy files and directories into a virtual machine disk image."
24235 #: ../fish/virt-copy-in.pod:9 ../libguestfs-1.11.20/fish/virt-copy-in.pod:9
24238 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
24243 #: ../fish/virt-copy-in.pod:11 ../libguestfs-1.11.20/fish/virt-copy-in.pod:11
24246 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
24251 #: ../fish/virt-copy-in.pod:15 ../libguestfs-1.11.20/fish/virt-copy-in.pod:15
24253 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially "
24254 "causing disk corruption. The virtual machine must be shut down before you "
24255 "use this command."
24259 #: ../fish/virt-copy-in.pod:21 ../libguestfs-1.11.20/fish/virt-copy-in.pod:21
24261 "C<virt-copy-in> copies files and directories from the local disk into a "
24262 "virtual machine disk image or named libvirt domain."
24266 #: ../fish/virt-copy-in.pod:24 ../libguestfs-1.11.20/fish/virt-copy-in.pod:24
24268 "You can give one of more filenames and directories on the command line. "
24269 "Directories are copied in recursively. The final parameter must be the "
24270 "destination directory in the disk image which must be an absolute path "
24271 "starting with a C</> character."
24275 #: ../fish/virt-copy-in.pod:33 ../libguestfs-1.11.20/fish/virt-copy-in.pod:33
24278 " virt-copy-in -d MyGuest resolv.conf /etc\n"
24283 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
24284 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:35
24285 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:32
24286 msgid "Upload a home directory to a guest:"
24290 #: ../fish/virt-copy-in.pod:37 ../libguestfs-1.11.20/fish/virt-copy-in.pod:37
24293 " virt-copy-in -d MyGuest skel /home\n"
24298 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
24299 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
24300 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:39
24301 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:28
24302 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:36
24303 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:30
24304 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
24308 #: ../fish/virt-copy-in.pod:41 ../libguestfs-1.11.20/fish/virt-copy-in.pod:41
24310 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24311 "> C<copy-in> command. For anything more complex than a trivial copy, you "
24312 "are probably better off using guestfish directly."
24316 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
24317 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
24318 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:47
24319 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:36
24320 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:44
24321 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:38
24323 "Since the shell script just passes options straight to guestfish, read "
24324 "L<guestfish(1)> to see the full list of options."
24328 #: ../fish/virt-copy-in.pod:52 ../libguestfs-1.11.20/fish/virt-copy-in.pod:52
24331 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24332 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24333 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24334 #| "libguestfs.org/>."
24336 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
24337 "L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
24339 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24340 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24341 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24345 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
24346 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
24347 #: ../libguestfs-1.11.20/fish/virt-copy-in.pod:66
24348 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:55
24349 #: ../libguestfs-1.11.20/fish/virt-tar-in.pod:64
24350 #: ../libguestfs-1.11.20/fish/virt-tar-out.pod:57
24352 #| msgid "Copyright (C) 2009 Red Hat Inc."
24353 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
24354 msgstr "© Red Hat Inc., 2009"
24357 #: ../fish/virt-copy-out.pod:5 ../libguestfs-1.11.20/fish/virt-copy-out.pod:5
24359 "virt-copy-out - Copy files and directories out of a virtual machine disk "
24364 #: ../fish/virt-copy-out.pod:9 ../libguestfs-1.11.20/fish/virt-copy-out.pod:9
24367 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
24372 #: ../fish/virt-copy-out.pod:11
24373 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:11
24376 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
24381 #: ../fish/virt-copy-out.pod:15
24382 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:15
24384 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
24385 "image or named libvirt domain."
24389 #: ../fish/virt-copy-out.pod:18
24390 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:18
24392 "You can give one of more filenames and directories on the command line. "
24393 "Directories are copied out recursively."
24397 #: ../fish/virt-copy-out.pod:23
24398 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:23
24399 msgid "Download the home directories from a virtual machine:"
24403 #: ../fish/virt-copy-out.pod:25
24404 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:25
24408 " virt-copy-out -d MyGuest /home homes\n"
24413 #: ../fish/virt-copy-out.pod:30
24414 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:30
24416 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24417 "> C<copy-out> command. For anything more complex than a trivial copy, you "
24418 "are probably better off using guestfish directly."
24422 #: ../fish/virt-copy-out.pod:41
24423 #: ../libguestfs-1.11.20/fish/virt-copy-out.pod:41
24426 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24427 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24428 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24429 #| "libguestfs.org/>."
24431 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L<virt-"
24432 "tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
24434 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24435 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24436 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24440 #: ../fish/virt-tar-in.pod:5 ../libguestfs-1.11.20/fish/virt-tar-in.pod:5
24441 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
24445 #: ../fish/virt-tar-in.pod:9 ../libguestfs-1.11.20/fish/virt-tar-in.pod:9
24448 " virt-tar-in -a disk.img data.tar /destination\n"
24453 #: ../fish/virt-tar-in.pod:11 ../libguestfs-1.11.20/fish/virt-tar-in.pod:11
24456 " virt-tar-in -d domain data.tar /destination\n"
24461 #: ../fish/virt-tar-in.pod:13 ../libguestfs-1.11.20/fish/virt-tar-in.pod:13
24464 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
24469 #: ../fish/virt-tar-in.pod:17 ../libguestfs-1.11.20/fish/virt-tar-in.pod:17
24471 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
24472 "causing disk corruption. The virtual machine must be shut down before you "
24473 "use this command."
24477 #: ../fish/virt-tar-in.pod:23 ../libguestfs-1.11.20/fish/virt-tar-in.pod:23
24479 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
24480 "image or named libvirt domain."
24484 #: ../fish/virt-tar-in.pod:26 ../libguestfs-1.11.20/fish/virt-tar-in.pod:26
24486 "The first parameter is the tar file. Use C<-> to read the tar file from "
24487 "standard input. The second parameter is the absolute target directory to "
24492 #: ../fish/virt-tar-in.pod:34 ../libguestfs-1.11.20/fish/virt-tar-in.pod:34
24495 " virt-tar-in -d MyGuest homes.tar /home\n"
24500 #: ../fish/virt-tar-in.pod:38 ../libguestfs-1.11.20/fish/virt-tar-in.pod:38
24502 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24503 "> C<tar-in> command. For anything more complex than a trivial copy, you are "
24504 "probably better off using guestfish directly."
24508 #: ../fish/virt-tar-in.pod:49 ../libguestfs-1.11.20/fish/virt-tar-in.pod:49
24511 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24512 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24513 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24514 #| "libguestfs.org/>."
24516 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
24517 "L<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, L<http://libguestfs."
24520 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24521 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24522 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24526 #: ../fish/virt-tar-out.pod:5 ../libguestfs-1.11.20/fish/virt-tar-out.pod:5
24528 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
24532 #: ../fish/virt-tar-out.pod:9 ../libguestfs-1.11.20/fish/virt-tar-out.pod:9
24535 " virt-tar-out -a disk.img /dir files.tar\n"
24540 #: ../fish/virt-tar-out.pod:11 ../libguestfs-1.11.20/fish/virt-tar-out.pod:11
24543 " virt-tar-out -d domain /dir files.tar\n"
24548 #: ../fish/virt-tar-out.pod:13 ../libguestfs-1.11.20/fish/virt-tar-out.pod:13
24551 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
24556 #: ../fish/virt-tar-out.pod:17 ../libguestfs-1.11.20/fish/virt-tar-out.pod:17
24558 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
24562 #: ../fish/virt-tar-out.pod:20 ../libguestfs-1.11.20/fish/virt-tar-out.pod:20
24564 "The first parameter is the absolute path of the virtual machine directory. "
24565 "The second parameter is the tar file to write. Use C<-> to write to "
24570 #: ../fish/virt-tar-out.pod:26 ../libguestfs-1.11.20/fish/virt-tar-out.pod:26
24571 msgid "Download the home directories from a guest:"
24575 #: ../fish/virt-tar-out.pod:28 ../libguestfs-1.11.20/fish/virt-tar-out.pod:28
24578 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
24583 #: ../fish/virt-tar-out.pod:32 ../libguestfs-1.11.20/fish/virt-tar-out.pod:32
24585 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24586 "> C<tar-out> command. For anything more complex than a trivial copy, you "
24587 "are probably better off using guestfish directly."
24591 #: ../fish/virt-tar-out.pod:43 ../libguestfs-1.11.20/fish/virt-tar-out.pod:43
24594 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24595 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24596 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24597 #| "libguestfs.org/>."
24599 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
24600 "L<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
24602 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24603 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24604 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24608 #: ../fuse/guestmount.pod:5 ../libguestfs-1.11.20/fuse/guestmount.pod:5
24610 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
24614 #: ../fuse/guestmount.pod:9 ../libguestfs-1.11.20/fuse/guestmount.pod:9
24617 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
24622 #: ../fuse/guestmount.pod:11 ../libguestfs-1.11.20/fuse/guestmount.pod:11
24625 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
24630 #: ../fuse/guestmount.pod:13 ../libguestfs-1.11.20/fuse/guestmount.pod:13
24633 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
24638 #: ../fuse/guestmount.pod:17 ../libguestfs-1.11.20/fuse/guestmount.pod:17
24640 "You must I<not> use C<guestmount> in read-write mode on live virtual "
24641 "machines. If you do this, you risk disk corruption in the VM."
24645 #: ../fuse/guestmount.pod:22 ../libguestfs-1.11.20/fuse/guestmount.pod:22
24647 "The guestmount program can be used to mount virtual machine filesystems and "
24648 "other disk images on the host. It uses libguestfs for access to the guest "
24649 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
24650 "a mountable device."
24654 #: ../fuse/guestmount.pod:27 ../libguestfs-1.11.20/fuse/guestmount.pod:27
24656 "Along with other options, you have to give at least one device (I<-a> "
24657 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
24658 "option) or use the I<-i> inspection option. How this works is better "
24659 "explained in the L<guestfish(1)> manual page, or by looking at the examples "
24664 #: ../fuse/guestmount.pod:33 ../libguestfs-1.11.20/fuse/guestmount.pod:33
24666 "FUSE lets you mount filesystems as non-root. The mountpoint must be owned "
24667 "by you, and the filesystem will not be visible to any other users unless you "
24668 "make certain global configuration changes to C</etc/fuse.conf>. To unmount "
24669 "the filesystem, use the C<fusermount -u> command."
24673 #: ../fuse/guestmount.pod:41 ../libguestfs-1.11.20/fuse/guestmount.pod:41
24675 "For a typical Windows guest which has its main filesystem on the first "
24680 #: ../fuse/guestmount.pod:44 ../libguestfs-1.11.20/fuse/guestmount.pod:44
24683 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
24688 #: ../fuse/guestmount.pod:46 ../libguestfs-1.11.20/fuse/guestmount.pod:46
24690 "For a typical Linux guest which has a /boot filesystem on the first "
24691 "partition, and the root filesystem on a logical volume:"
24695 #: ../fuse/guestmount.pod:49 ../libguestfs-1.11.20/fuse/guestmount.pod:49
24698 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
24703 #: ../fuse/guestmount.pod:51 ../libguestfs-1.11.20/fuse/guestmount.pod:51
24704 msgid "To get libguestfs to detect guest mountpoints for you:"
24708 #: ../fuse/guestmount.pod:53 ../libguestfs-1.11.20/fuse/guestmount.pod:53
24711 " guestmount -a guest.img -i --ro /mnt\n"
24716 #: ../fuse/guestmount.pod:55 ../libguestfs-1.11.20/fuse/guestmount.pod:55
24717 msgid "For a libvirt guest called \"Guest\" you could do:"
24721 #: ../fuse/guestmount.pod:57 ../libguestfs-1.11.20/fuse/guestmount.pod:57
24724 " guestmount -d Guest -i --ro /mnt\n"
24729 #: ../fuse/guestmount.pod:59 ../libguestfs-1.11.20/fuse/guestmount.pod:59
24731 "If you don't know what filesystems are contained in a guest or disk image, "
24732 "use L<virt-filesystems(1)> first:"
24736 #: ../fuse/guestmount.pod:62 ../libguestfs-1.11.20/fuse/guestmount.pod:62
24739 " virt-filesystems MyGuest\n"
24744 #: ../fuse/guestmount.pod:64 ../libguestfs-1.11.20/fuse/guestmount.pod:64
24746 "If you want to trace the libguestfs calls but without excessive debugging "
24747 "information, we recommend:"
24751 #: ../fuse/guestmount.pod:67 ../libguestfs-1.11.20/fuse/guestmount.pod:67
24754 " guestmount [...] --trace /mnt\n"
24759 #: ../fuse/guestmount.pod:69 ../libguestfs-1.11.20/fuse/guestmount.pod:69
24760 msgid "If you want to debug the program, we recommend:"
24764 #: ../fuse/guestmount.pod:71 ../libguestfs-1.11.20/fuse/guestmount.pod:71
24767 " guestmount [...] --trace --verbose /mnt\n"
24772 #: ../fuse/guestmount.pod:73 ../libguestfs-1.11.20/fuse/guestmount.pod:73
24773 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:68
24774 #: ../libguestfs-1.11.20/resize/virt-resize.pod:486
24775 #: ../rescue/virt-rescue.pod:68 ../resize/virt-resize.pod:486
24780 #: ../fuse/guestmount.pod:75 ../libguestfs-1.11.20/fuse/guestmount.pod:75
24781 msgid "Other users cannot see the filesystem by default"
24785 #: ../fuse/guestmount.pod:77 ../libguestfs-1.11.20/fuse/guestmount.pod:77
24787 "If you mount a filesystem as one user (eg. root), then other users will not "
24788 "be able to see it by default. The fix is to add the FUSE C<allow_other> "
24789 "option when mounting:"
24793 #: ../fuse/guestmount.pod:81 ../libguestfs-1.11.20/fuse/guestmount.pod:81
24796 " sudo guestmount [...] -o allow_other /mnt\n"
24801 #: ../fuse/guestmount.pod:91 ../libguestfs-1.11.20/fuse/guestmount.pod:91
24802 msgid "Add a block device or virtual machine image."
24806 #: ../fuse/guestmount.pod:114 ../libguestfs-1.11.20/fuse/guestmount.pod:114
24807 msgid "B<--dir-cache-timeout N>"
24808 msgstr "B<--dir-cache-timeout N>"
24811 #: ../fuse/guestmount.pod:116 ../libguestfs-1.11.20/fuse/guestmount.pod:116
24813 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
24814 "seconds. The readdir cache [actually, there are several semi-independent "
24815 "caches] is populated after a readdir(2) call with the stat and extended "
24816 "attributes of the files in the directory, in anticipation that they will be "
24817 "requested soon after."
24821 #: ../fuse/guestmount.pod:122 ../libguestfs-1.11.20/fuse/guestmount.pod:122
24823 "There is also a different attribute cache implemented by FUSE (see the FUSE "
24824 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
24825 "requests, only cache existing ones."
24829 #: ../fuse/guestmount.pod:142 ../libguestfs-1.11.20/fuse/guestmount.pod:142
24831 "If you have untrusted raw-format guest disk images, you should use this "
24832 "option to specify the disk format. This avoids a possible security problem "
24833 "with malicious guests (CVE-2010-3851). See also L<guestfs(3)/"
24834 "guestfs_add_drive_opts>."
24838 #: ../fuse/guestmount.pod:147 ../libguestfs-1.11.20/fuse/guestmount.pod:147
24839 msgid "B<--fuse-help>"
24840 msgstr "B<--fuse-help>"
24843 #: ../fuse/guestmount.pod:149 ../libguestfs-1.11.20/fuse/guestmount.pod:149
24844 msgid "Display help on special FUSE options (see I<-o> below)."
24848 #: ../fuse/guestmount.pod:153 ../libguestfs-1.11.20/fuse/guestmount.pod:153
24849 msgid "Display brief help and exit."
24853 #: ../fuse/guestmount.pod:177 ../libguestfs-1.11.20/fuse/guestmount.pod:177
24855 "Mount the named partition or logical volume on the given mountpoint B<in the "
24856 "guest> (this has nothing to do with mountpoints in the host)."
24860 #: ../fuse/guestmount.pod:180 ../libguestfs-1.11.20/fuse/guestmount.pod:180
24862 "If the mountpoint is omitted, it defaults to C</>. You have to mount "
24863 "something on C</>."
24867 #: ../fuse/guestmount.pod:197 ../libguestfs-1.11.20/fuse/guestmount.pod:197
24869 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
24870 "unmounted. If you specify this option, then we don't attempt to sync the "
24871 "disk. See the discussion of autosync in the L<guestfs(3)> manpage."
24875 #: ../fuse/guestmount.pod:202 ../libguestfs-1.11.20/fuse/guestmount.pod:202
24877 #| msgid "B<--partition>"
24878 msgid "B<-o option>"
24879 msgstr "B<--partition>"
24882 #: ../fuse/guestmount.pod:204 ../libguestfs-1.11.20/fuse/guestmount.pod:204
24884 #| msgid "B<--partition>"
24885 msgid "B<--option option>"
24886 msgstr "B<--partition>"
24889 #: ../fuse/guestmount.pod:206 ../libguestfs-1.11.20/fuse/guestmount.pod:206
24890 msgid "Pass extra options to FUSE."
24894 #: ../fuse/guestmount.pod:208 ../libguestfs-1.11.20/fuse/guestmount.pod:208
24896 "To get a list of all the extra options supported by FUSE, use the command "
24897 "below. Note that only the FUSE I<-o> options can be passed, and only some "
24898 "of them are a good idea."
24902 #: ../fuse/guestmount.pod:212 ../libguestfs-1.11.20/fuse/guestmount.pod:212
24905 " guestmount --fuse-help\n"
24910 #: ../fuse/guestmount.pod:214 ../libguestfs-1.11.20/fuse/guestmount.pod:214
24911 msgid "Some potentially useful FUSE options:"
24915 #: ../fuse/guestmount.pod:218 ../libguestfs-1.11.20/fuse/guestmount.pod:218
24916 msgid "B<-o allow_other>"
24920 #: ../fuse/guestmount.pod:220 ../libguestfs-1.11.20/fuse/guestmount.pod:220
24921 msgid "Allow other users to see the filesystem."
24925 #: ../fuse/guestmount.pod:222 ../libguestfs-1.11.20/fuse/guestmount.pod:222
24926 msgid "B<-o attr_timeout=N>"
24927 msgstr "B<-o attr_timeout=N>"
24930 #: ../fuse/guestmount.pod:224 ../libguestfs-1.11.20/fuse/guestmount.pod:224
24931 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
24935 #: ../fuse/guestmount.pod:226 ../libguestfs-1.11.20/fuse/guestmount.pod:226
24936 msgid "B<-o kernel_cache>"
24940 #: ../fuse/guestmount.pod:228 ../libguestfs-1.11.20/fuse/guestmount.pod:228
24942 "Allow the kernel to cache files (reduces the number of reads that have to go "
24943 "through the L<guestfs(3)> API). This is generally a good idea if you can "
24944 "afford the extra memory usage."
24948 #: ../fuse/guestmount.pod:232 ../libguestfs-1.11.20/fuse/guestmount.pod:232
24949 msgid "B<-o uid=N> B<-o gid=N>"
24953 #: ../fuse/guestmount.pod:234 ../libguestfs-1.11.20/fuse/guestmount.pod:234
24955 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
24956 "the chosen values."
24960 #: ../fuse/guestmount.pod:243 ../libguestfs-1.11.20/fuse/guestmount.pod:243
24962 "Add devices and mount everything read-only. Also disallow writes and make "
24963 "the disk appear read-only to FUSE."
24967 #: ../fuse/guestmount.pod:246 ../libguestfs-1.11.20/fuse/guestmount.pod:246
24969 "This is highly recommended if you are not going to edit the guest disk. If "
24970 "the guest is running and this option is I<not> supplied, then there is a "
24971 "strong risk of disk corruption in the guest. We try to prevent this from "
24972 "happening, but it is not always possible."
24976 #: ../fuse/guestmount.pod:251 ../libguestfs-1.11.20/fuse/guestmount.pod:251
24977 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:171
24978 #: ../rescue/virt-rescue.pod:171
24979 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
24983 #: ../fuse/guestmount.pod:255 ../libguestfs-1.11.20/fuse/guestmount.pod:255
24984 msgid "Enable SELinux support for the guest."
24988 #: ../fuse/guestmount.pod:261 ../libguestfs-1.11.20/fuse/guestmount.pod:261
24989 msgid "Enable verbose messages from underlying libguestfs."
24993 #: ../fuse/guestmount.pod:267 ../libguestfs-1.11.20/fuse/guestmount.pod:267
24994 msgid "Display the program version and exit."
24998 #: ../fuse/guestmount.pod:276 ../fuse/guestmount.pod:299
24999 #: ../libguestfs-1.11.20/fuse/guestmount.pod:276
25000 #: ../libguestfs-1.11.20/fuse/guestmount.pod:299
25001 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:197
25002 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:280
25003 #: ../rescue/virt-rescue.pod:197 ../rescue/virt-rescue.pod:280
25004 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
25008 #: ../fuse/guestmount.pod:280 ../libguestfs-1.11.20/fuse/guestmount.pod:280
25015 #: ../fuse/guestmount.pod:282 ../libguestfs-1.11.20/fuse/guestmount.pod:282
25016 msgid "Trace libguestfs calls and entry into each FUSE function."
25020 #: ../fuse/guestmount.pod:284 ../libguestfs-1.11.20/fuse/guestmount.pod:284
25021 msgid "This also stops the daemon from forking into the background."
25025 #: ../fuse/guestmount.pod:305 ../libguestfs-1.11.20/fuse/guestmount.pod:305
25027 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
25028 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
25033 #: ../fuse/guestmount.pod:320 ../libguestfs-1.11.20/fuse/guestmount.pod:320
25034 msgid "Copyright (C) 2009-2010 Red Hat Inc. L<http://libguestfs.org/>"
25038 #: ../inspector/virt-inspector.pod:5
25039 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:5
25041 "virt-inspector - Display operating system version and other information "
25042 "about a virtual machine"
25046 #: ../inspector/virt-inspector.pod:9
25047 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:9
25050 #| " virt-list-partitions [--options] domname\n"
25053 " virt-inspector [--options] -d domname\n"
25056 " virt-list-partitions [--параметри] назва_домену\n"
25060 #: ../inspector/virt-inspector.pod:11
25061 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:11
25064 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
25067 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
25070 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
25074 #: ../inspector/virt-inspector.pod:15
25075 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:15
25078 #| " virt-list-partitions [--options] domname\n"
25081 " virt-inspector domname\n"
25084 " virt-list-partitions [--параметри] назва_домену\n"
25088 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141
25089 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:17
25090 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:141
25093 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
25096 " virt-inspector disk.img [disk.img ...]\n"
25099 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
25103 #: ../inspector/virt-inspector.pod:21
25104 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:21
25106 "B<virt-inspector> examines a virtual machine or disk image and tries to "
25107 "determine the version of the operating system and other information about "
25108 "the virtual machine."
25112 #: ../inspector/virt-inspector.pod:25
25113 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:25
25114 msgid "Virt-inspector produces XML output for feeding into other programs."
25118 #: ../inspector/virt-inspector.pod:27
25119 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:27
25121 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
25122 "the libvirt domain (see: C<virsh list --all>)."
25126 #: ../inspector/virt-inspector.pod:30
25127 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:30
25129 "You can also run virt-inspector directly on disk images from a single "
25130 "virtual machine. Use C<virt-inspector -a disk.img>. In rare cases a domain "
25131 "has several block devices, in which case you should list several I<-a> "
25132 "options one after another, with the first corresponding to the guest's C</"
25133 "dev/sda>, the second to the guest's C</dev/sdb> and so on."
25137 #: ../inspector/virt-inspector.pod:37
25138 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:37
25140 "You can also run virt-inspector on install disks, live CDs, bootable USB "
25141 "keys and similar."
25145 #: ../inspector/virt-inspector.pod:40
25146 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:40
25148 "Virt-inspector can only inspect and report upon I<one domain at a time>. To "
25149 "inspect several virtual machines, you have to run virt-inspector several "
25150 "times (for example, from a shell script for-loop)."
25154 #: ../inspector/virt-inspector.pod:45
25155 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:45
25157 "Because virt-inspector needs direct access to guest images, it won't "
25158 "normally work over remote libvirt connections."
25162 #: ../inspector/virt-inspector.pod:48
25163 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:48
25165 "All of the information available from virt-inspector is also available "
25166 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>). "
25167 "The same information can also be fetched using guestfish or via libguestfs "
25168 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
25169 "WITH OTHER PROGRAMMING LANGUAGES>)."
25173 #: ../inspector/virt-inspector.pod:81
25174 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:81
25176 "Libvirt is only used if you specify a C<domname> on the command line. If "
25177 "you specify guest block devices directly (I<-a>), then libvirt is not used "
25182 #: ../inspector/virt-inspector.pod:94
25183 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:94
25185 "When prompting for keys and passphrases, virt-inspector normally turns "
25186 "echoing off so you cannot see what you are typing. If you are not worried "
25187 "about Tempest attacks and there is no one else in the room you can specify "
25188 "this flag to see what you are typing."
25192 #: ../inspector/virt-inspector.pod:103
25193 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:103
25194 #: ../tools/virt-list-filesystems.pl:93 ../tools/virt-list-partitions.pl:94
25195 #: ../tools/virt-tar.pl:143 ../tools/virt-win-reg.pl:144
25197 "Specify the format of disk images given on the command line. If this is "
25198 "omitted then the format is autodetected from the content of the disk image."
25202 #: ../inspector/virt-inspector.pod:107
25203 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:107
25204 #: ../tools/virt-list-filesystems.pl:97 ../tools/virt-list-partitions.pl:98
25205 #: ../tools/virt-tar.pl:147 ../tools/virt-win-reg.pl:148
25207 "If disk images are requested from libvirt, then this program asks libvirt "
25208 "for this information. In this case, the value of the format parameter is "
25213 #: ../inspector/virt-inspector.pod:111
25214 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:111
25215 #: ../libguestfs-1.11.20/resize/virt-resize.pod:314
25216 #: ../libguestfs-1.11.20/resize/virt-resize.pod:400
25217 #: ../resize/virt-resize.pod:314 ../resize/virt-resize.pod:400
25218 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
25219 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
25221 "If working with untrusted raw-format guest disk images, you should ensure "
25222 "the format is always specified."
25226 #: ../inspector/virt-inspector.pod:139
25227 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:139
25228 msgid "Previous versions of virt-inspector allowed you to write either:"
25232 #: ../inspector/virt-inspector.pod:145
25233 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:145
25236 #| " inspect-get-hostname root\n"
25239 " virt-inspector guestname\n"
25242 " inspect-get-hostname корінь\n"
25246 #: ../inspector/virt-inspector.pod:153
25247 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:153
25252 #: ../inspector/virt-inspector.pod:155
25253 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:155
25255 "The virt-inspector XML is described precisely in a RELAX NG schema file "
25256 "C<virt-inspector.rng> which is supplied with libguestfs. This section is "
25257 "just an overview."
25261 #: ../inspector/virt-inspector.pod:159
25262 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:159
25264 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
25265 "more E<lt>operatingsystemE<gt> elements. You would only see more than one "
25266 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
25267 "which is vanishingly rare in real world VMs."
25271 #: ../inspector/virt-inspector.pod:164
25272 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:164
25273 msgid "E<lt>operatingsystemE<gt>"
25277 #: ../inspector/virt-inspector.pod:166
25278 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:166
25280 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
25281 "describe the operating system, its architecture, the descriptive \"product "
25282 "name\" string, the type of OS and so on, as in this example:"
25286 #: ../inspector/virt-inspector.pod:170
25287 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:170
25290 " <operatingsystems>\n"
25291 " <operatingsystem>\n"
25292 " <root>/dev/sda2</root>\n"
25293 " <name>windows</name>\n"
25294 " <arch>i386</arch>\n"
25295 " <distro>windows</distro>\n"
25296 " <product_name>Windows 7 Enterprise</product_name>\n"
25297 " <product_variant>Client</product_variant>\n"
25298 " <major_version>6</major_version>\n"
25299 " <minor_version>1</minor_version>\n"
25300 " <windows_systemroot>/Windows</windows_systemroot>\n"
25301 " <format>installed</format>\n"
25306 #: ../inspector/virt-inspector.pod:183
25307 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:183
25309 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
25310 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
25311 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
25312 "architecture. The other fields are fairly self-explanatory, but because "
25313 "these fields are taken directly from the libguestfs inspection API you can "
25314 "find precise information from L<guestfs(3)/INSPECTION>."
25318 #: ../inspector/virt-inspector.pod:191
25319 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:191
25321 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
25322 "of view of libguestfs (block devices may have completely different names "
25323 "inside the VM itself)."
25327 #: ../inspector/virt-inspector.pod:195
25328 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:195
25330 #| msgid "mountpoints"
25331 msgid "E<lt>mountpointsE<gt>"
25332 msgstr "mountpoints"
25335 #: ../inspector/virt-inspector.pod:197
25336 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:197
25338 "Un*x-like guests typically have multiple filesystems which are mounted at "
25339 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
25340 "element which looks like this:"
25344 #: ../inspector/virt-inspector.pod:201
25345 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:201
25348 " <operatingsystems>\n"
25349 " <operatingsystem>\n"
25352 " <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
25353 " <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
25354 " </mountpoints>\n"
25359 #: ../inspector/virt-inspector.pod:209
25360 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:209
25362 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
25363 "and may have completely different names inside the guest. Only mountable "
25364 "filesystems appear in this list, not things like swap devices."
25368 #: ../inspector/virt-inspector.pod:214
25369 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:214
25371 #| msgid "list-filesystems"
25372 msgid "E<lt>filesystemsE<gt>"
25373 msgstr "list-filesystems"
25376 #: ../inspector/virt-inspector.pod:216
25377 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:216
25379 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
25380 "filesystems belonging to the guest, including swap and empty partitions. "
25381 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
25382 "this OS or shared with this OS and other OSes)."
25386 #: ../inspector/virt-inspector.pod:222
25387 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:222
25388 msgid "You might see something like this:"
25392 #: ../inspector/virt-inspector.pod:224
25393 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:224
25396 " <operatingsystems>\n"
25397 " <operatingsystem>\n"
25400 " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
25401 " <type>ext4</type>\n"
25402 " <label>Fedora-13-x86_64</label>\n"
25403 " <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
25409 #: ../inspector/virt-inspector.pod:234
25410 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:234
25412 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
25413 "the label, and the UUID."
25417 #: ../inspector/virt-inspector.pod:237
25418 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:237
25419 msgid "E<lt>applicationsE<gt>"
25423 #: ../inspector/virt-inspector.pod:239
25424 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:239
25426 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
25427 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
25432 #: ../inspector/virt-inspector.pod:243
25433 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:243
25435 "E<lt>package_formatE<gt>, if present, describes the packaging system used. "
25436 "Typical values would be C<rpm> and C<deb>."
25440 #: ../inspector/virt-inspector.pod:246
25441 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:246
25443 "E<lt>package_managementE<gt>, if present, describes the package manager. "
25444 "Typical values include C<yum>, C<up2date> and C<apt>"
25448 #: ../inspector/virt-inspector.pod:249
25449 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:249
25450 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
25454 #: ../inspector/virt-inspector.pod:252
25455 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:252
25458 " <operatingsystems>\n"
25459 " <operatingsystem>\n"
25461 " <applications>\n"
25463 " <name>coreutils</name>\n"
25464 " <version>8.5</version>\n"
25465 " <release>1</release>\n"
25466 " </application>\n"
25471 #: ../inspector/virt-inspector.pod:262
25472 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:262
25474 "The version and release fields may not be available for some types guests. "
25475 "Other fields are possible, see L<guestfs(3)/"
25476 "guestfs_inspect_list_applications>."
25480 #: ../inspector/virt-inspector.pod:266
25481 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:266
25482 msgid "E<lt>drive_mappingsE<gt>"
25486 #: ../inspector/virt-inspector.pod:268
25487 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:268
25489 "For operating systems like Windows which use drive letters, virt-inspector "
25490 "is able to find out how drive letters map to filesystems."
25494 #: ../inspector/virt-inspector.pod:272
25495 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:272
25498 " <operatingsystems>\n"
25499 " <operatingsystem>\n"
25501 " <drive_mappings>\n"
25502 " <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
25503 " <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
25504 " </drive_mappings>\n"
25509 #: ../inspector/virt-inspector.pod:280
25510 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:280
25512 "In the example above, drive C maps to the filesystem on the second partition "
25513 "on the first disk, and drive E maps to the filesystem on the first partition "
25514 "on the second disk."
25518 #: ../inspector/virt-inspector.pod:284
25519 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:284
25521 "Note that this only covers permanent local filesystem mappings, not things "
25522 "like network shares. Furthermore NTFS volume mount points may not be listed "
25527 #: ../inspector/virt-inspector.pod:288
25528 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:288
25530 #| msgid "B<-s E<lt>NE<gt>>"
25531 msgid "E<lt>iconE<gt>"
25532 msgstr "B<-s E<lt>NE<gt>>"
25535 #: ../inspector/virt-inspector.pod:290
25536 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:290
25538 "Virt-inspector is sometimes able to extract an icon or logo for the guest. "
25539 "The icon is returned as base64-encoded PNG data. Note that the icon can be "
25540 "very large and high quality."
25544 #: ../inspector/virt-inspector.pod:294
25545 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:294
25548 " <operatingsystems>\n"
25549 " <operatingsystem>\n"
25552 " iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
25553 " [... many lines of base64 data ...]\n"
25559 #: ../inspector/virt-inspector.pod:302
25560 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:302
25562 "To display the icon, you have to extract it and convert the base64 data back "
25563 "to a binary file. Use an XPath query or simply an editor to extract the "
25564 "data, then use the coreutils L<base64(1)> program to do the conversion back "
25569 #: ../inspector/virt-inspector.pod:307
25570 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:307
25573 " base64 -i -d < icon.data > icon.png\n"
25578 #: ../inspector/virt-inspector.pod:309
25579 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:309
25580 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
25584 #: ../inspector/virt-inspector.pod:311
25585 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:311
25587 "Virt-inspector can detect some operating system installers on install disks, "
25588 "live CDs, bootable USB keys and more."
25592 #: ../inspector/virt-inspector.pod:314
25593 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:314
25595 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
25596 "fields may be present to indicate a live CD, network installer, or one part "
25597 "of a multipart CD. For example:"
25601 #: ../inspector/virt-inspector.pod:318
25602 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:318
25605 " <operatingsystems>\n"
25606 " <operatingsystem>\n"
25607 " <root>/dev/sda</root>\n"
25608 " <name>linux</name>\n"
25609 " <arch>i386</arch>\n"
25610 " <distro>ubuntu</distro>\n"
25611 " <product_name>Ubuntu 10.10 "Maverick Meerkat"</product_name>\n"
25612 " <major_version>10</major_version>\n"
25613 " <minor_version>10</minor_version>\n"
25614 " <format>installer</format>\n"
25620 #: ../inspector/virt-inspector.pod:330
25621 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:330
25622 msgid "USING XPATH"
25626 #: ../inspector/virt-inspector.pod:332
25627 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:332
25629 "You can use the XPath query language, and/or the xpath tool, in order to "
25630 "select parts of the XML."
25634 #: ../inspector/virt-inspector.pod:337
25635 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:337
25638 " $ virt-inspector -d Guest | xpath //filesystems\n"
25639 " Found 1 nodes:\n"
25642 " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
25643 " <type>ext4</type>\n"
25649 #: ../inspector/virt-inspector.pod:345
25650 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:345
25653 " $ virt-inspector -d Guest | \\\n"
25654 " xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
25655 " Query didn't return a nodeset. Value: ext4\n"
25660 #: ../inspector/virt-inspector.pod:356
25661 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:356
25662 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
25666 #: ../inspector/virt-inspector.pod:358
25667 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:358
25669 "Early versions of libguestfs shipped with a different virt-inspector program "
25670 "written in Perl (the current version is written in C). The XML output of "
25671 "the Perl virt-inspector was different and it could also output in other "
25672 "formats like text."
25676 #: ../inspector/virt-inspector.pod:363
25677 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:363
25679 "The old virt-inspector is no longer supported or shipped with libguestfs."
25683 #: ../inspector/virt-inspector.pod:366
25684 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:366
25686 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
25687 "versions of virt-inspector with different names:"
25691 #: ../inspector/virt-inspector.pod:369
25692 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:369
25695 " virt-inspector Old Perl version.\n"
25696 " virt-inspector2 New C version.\n"
25701 #: ../inspector/virt-inspector.pod:374
25702 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:374
25704 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
25705 ">, L<http://libguestfs.org/>."
25709 #: ../inspector/virt-inspector.pod:390
25710 #: ../libguestfs-1.11.20/inspector/virt-inspector.pod:390
25711 msgid "Matthew Booth L<mbooth@redhat.com>"
25715 #: ../java/examples/guestfs-java.pod:5
25716 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:5
25717 msgid "guestfs-java - How to use libguestfs from Java"
25721 #: ../java/examples/guestfs-java.pod:9
25722 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:9
25725 " import com.redhat.et.libguestfs.*;\n"
25730 #: ../java/examples/guestfs-java.pod:11
25731 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:11
25734 " GuestFS g = new GuestFS ();\n"
25735 " g.add_drive_opts (\"disk.img\", null);\n"
25741 #: ../java/examples/guestfs-java.pod:17
25742 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:17
25744 "This manual page documents how to call libguestfs from the Java programming "
25745 "language. This page just documents the differences from the C API and gives "
25746 "some examples. If you are not familiar with using libguestfs, you also need "
25747 "to read L<guestfs(3)>."
25751 #: ../java/examples/guestfs-java.pod:22
25752 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:22
25753 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:53
25754 #: ../ocaml/examples/guestfs-ocaml.pod:53
25755 msgid "CLOSING THE HANDLE"
25759 #: ../java/examples/guestfs-java.pod:24
25760 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:24
25762 "The handle is closed when it is reaped by the garbage collector. Because "
25763 "libguestfs handles include a lot of state, it is also possible to close (and "
25764 "hence free) them explicitly by calling the C<close> method."
25768 #: ../java/examples/guestfs-java.pod:29
25769 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:29
25770 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:60
25771 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:21
25772 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:22
25773 #: ../ocaml/examples/guestfs-ocaml.pod:60
25774 #: ../python/examples/guestfs-python.pod:21
25775 #: ../ruby/examples/guestfs-ruby.pod:22
25782 #: ../java/examples/guestfs-java.pod:31
25783 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:31
25785 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
25786 "exception. This has a single parameter which is the error message (a "
25791 #: ../java/examples/guestfs-java.pod:35
25792 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:35
25793 msgid "Calling any method on a closed handle raises the same exception."
25797 #: ../java/examples/guestfs-java.pod:47
25798 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:47
25801 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
25802 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
25803 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25805 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)"
25806 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
25807 "libguestfs.org/>, L<http://caml.inria.fr/>."
25809 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
25810 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
25811 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25814 #: ../java/examples/guestfs-java.pod:63
25815 #: ../libguestfs-1.11.20/java/examples/guestfs-java.pod:63
25816 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:57
25817 #: ../perl/examples/guestfs-perl.pod:57
25819 #| msgid "Copyright (C) 2009 Red Hat Inc."
25820 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
25821 msgstr "© Red Hat Inc., 2009"
25824 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:5
25825 #: ../ocaml/examples/guestfs-ocaml.pod:5
25826 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
25830 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:9
25831 #: ../ocaml/examples/guestfs-ocaml.pod:9
25832 msgid "Module style:"
25836 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:11
25837 #: ../ocaml/examples/guestfs-ocaml.pod:11
25840 " let g = Guestfs.create () in\n"
25841 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
25842 " Guestfs.launch g;\n"
25847 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:15
25848 #: ../ocaml/examples/guestfs-ocaml.pod:15
25849 msgid "Object-oriented style:"
25853 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:17
25854 #: ../ocaml/examples/guestfs-ocaml.pod:17
25857 " let g = new Guestfs.guestfs () in\n"
25858 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
25864 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:21
25865 #: ../ocaml/examples/guestfs-ocaml.pod:21
25868 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
25870 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
25875 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:27
25876 #: ../ocaml/examples/guestfs-ocaml.pod:27
25878 "This manual page documents how to call libguestfs from the OCaml programming "
25879 "language. This page just documents the differences from the C API and gives "
25880 "some examples. If you are not familiar with using libguestfs, you also need "
25881 "to read L<guestfs(3)>."
25885 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:32
25886 #: ../ocaml/examples/guestfs-ocaml.pod:32
25887 msgid "PROGRAMMING STYLES"
25891 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:34
25892 #: ../ocaml/examples/guestfs-ocaml.pod:34
25894 "There are two different programming styles supported by the OCaml bindings. "
25895 "You can use a module style, with each C function mapped to an OCaml function:"
25899 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:38
25900 #: ../ocaml/examples/guestfs-ocaml.pod:38
25903 #| " int guestfs_last_errno (guestfs_h *g);\n"
25906 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
25909 " int guestfs_last_errno (guestfs_h *g);\n"
25913 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:40
25914 #: ../ocaml/examples/guestfs-ocaml.pod:40
25919 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:42
25920 #: ../ocaml/examples/guestfs-ocaml.pod:42
25923 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
25928 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:44
25929 #: ../ocaml/examples/guestfs-ocaml.pod:44
25931 "Alternately you can use an object-oriented style, calling methods on the "
25932 "class C<Guestfs.guestfs>:"
25936 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:47
25937 #: ../ocaml/examples/guestfs-ocaml.pod:47
25940 " method set_verbose : bool -> unit\n"
25945 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:49
25946 #: ../ocaml/examples/guestfs-ocaml.pod:49
25948 "The object-oriented style is usually briefer, and the minor performance "
25949 "penalty isn't noticable in the general overhead of performing libguestfs "
25954 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:55
25955 #: ../ocaml/examples/guestfs-ocaml.pod:55
25957 "The handle is closed when it is reaped by the garbage collector. Because "
25958 "libguestfs handles include a lot of state, it is also possible to close (and "
25959 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
25964 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:62
25965 #: ../ocaml/examples/guestfs-ocaml.pod:62
25967 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
25968 "exception. This has a single parameter which is the error message (a "
25973 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:66
25974 #: ../ocaml/examples/guestfs-ocaml.pod:66
25976 "Calling any function/method on a closed handle raises C<Guestfs."
25977 "Handle_closed>. The single parameter is the name of the function that you "
25982 #: ../libguestfs-1.11.20/ocaml/examples/guestfs-ocaml.pod:80
25983 #: ../ocaml/examples/guestfs-ocaml.pod:80
25986 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
25987 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
25988 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25990 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-perl(3)"
25991 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
25992 "libguestfs.org/>, L<http://caml.inria.fr/>."
25994 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
25995 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
25996 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25999 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:5
26000 #: ../perl/examples/guestfs-perl.pod:5
26001 msgid "guestfs-perl - How to use libguestfs from Perl"
26005 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:9
26006 #: ../perl/examples/guestfs-perl.pod:9
26009 " use Sys::Guestfs;\n"
26014 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:11
26015 #: ../perl/examples/guestfs-perl.pod:11
26018 " my $h = Sys::Guestfs->new ();\n"
26019 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
26020 " $h->launch ();\n"
26021 " $h->mount_options ('', '/dev/sda1', '/');\n"
26022 " $h->touch ('/hello');\n"
26028 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:20
26029 #: ../perl/examples/guestfs-perl.pod:20
26031 "This manual page documents how to call libguestfs from the Perl programming "
26032 "language. This page just documents the differences from the C API and gives "
26033 "some examples. If you are not familiar with using libguestfs, you also need "
26034 "to read L<guestfs(3)>. To read the full Perl API, see L<Sys::Guestfs(3)>."
26038 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:26
26039 #: ../perl/examples/guestfs-perl.pod:26
26044 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:28
26045 #: ../perl/examples/guestfs-perl.pod:28
26047 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
26052 #: ../libguestfs-1.11.20/perl/examples/guestfs-perl.pod:41
26053 #: ../perl/examples/guestfs-perl.pod:41
26056 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26057 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
26058 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26060 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)"
26061 ">, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
26062 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
26064 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26065 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
26066 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26069 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:5
26070 #: ../python/examples/guestfs-python.pod:5
26071 msgid "guestfs-python - How to use libguestfs from Python"
26075 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:9
26076 #: ../python/examples/guestfs-python.pod:9
26079 " import guestfs\n"
26080 " g = guestfs.GuestFS ()\n"
26081 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
26087 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:16
26088 #: ../python/examples/guestfs-python.pod:16
26090 "This manual page documents how to call libguestfs from the Python "
26091 "programming language. This page just documents the differences from the C "
26092 "API and gives some examples. If you are not familiar with using libguestfs, "
26093 "you also need to read L<guestfs(3)>."
26097 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:23
26098 #: ../python/examples/guestfs-python.pod:23
26100 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
26101 "single string argument which is the error message."
26105 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:26
26106 #: ../python/examples/guestfs-python.pod:26
26107 msgid "MORE DOCUMENTATION"
26111 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:28
26112 #: ../python/examples/guestfs-python.pod:28
26117 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:30
26118 #: ../python/examples/guestfs-python.pod:30
26122 " >>> import guestfs\n"
26123 " >>> help (guestfs)\n"
26128 #: ../libguestfs-1.11.20/python/examples/guestfs-python.pod:44
26129 #: ../python/examples/guestfs-python.pod:44
26132 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26133 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
26134 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26136 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
26137 ">, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
26138 "libguestfs.org/>."
26140 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26141 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
26142 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26145 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:5 ../rescue/virt-rescue.pod:5
26146 msgid "virt-rescue - Run a rescue shell on a virtual machine"
26150 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:9 ../rescue/virt-rescue.pod:9
26153 #| " virt-list-partitions [--options] domname\n"
26156 " virt-rescue [--options] -d domname\n"
26159 " virt-list-partitions [--параметри] назва_домену\n"
26163 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:11
26164 #: ../rescue/virt-rescue.pod:11
26167 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26170 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
26173 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
26177 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:15
26178 #: ../rescue/virt-rescue.pod:15
26181 #| " virt-list-partitions [--options] domname\n"
26184 " virt-rescue [--options] domname\n"
26187 " virt-list-partitions [--параметри] назва_домену\n"
26191 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:17
26192 #: ../rescue/virt-rescue.pod:17
26195 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26198 " virt-rescue [--options] disk.img [disk.img ...]\n"
26201 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
26205 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:21
26206 #: ../rescue/virt-rescue.pod:21
26208 "You must I<not> use C<virt-rescue> on live virtual machines. Doing so will "
26209 "probably result in disk corruption in the VM. C<virt-rescue> tries to stop "
26210 "you from doing this, but doesn't catch all cases."
26214 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:25
26215 #: ../rescue/virt-rescue.pod:25
26217 "However if you use the I<--ro> (read only) option, then you can attach a "
26218 "shell to a live virtual machine. The results might be strange or "
26219 "inconsistent at times but you won't get disk corruption."
26223 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:31
26224 #: ../rescue/virt-rescue.pod:31
26226 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
26227 "need for a CD. virt-rescue gives you a rescue shell and some simple "
26228 "recovery tools which you can use to examine or rescue a virtual machine or "
26233 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:36
26234 #: ../rescue/virt-rescue.pod:36
26236 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
26237 "on disk image(s):"
26241 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:39
26242 #: ../rescue/virt-rescue.pod:39
26245 " virt-rescue -d GuestName\n"
26250 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:41
26251 #: ../rescue/virt-rescue.pod:41
26254 " virt-rescue --ro -a /path/to/disk.img\n"
26259 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:43
26260 #: ../rescue/virt-rescue.pod:43
26263 " virt-rescue -a /dev/sdc\n"
26268 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:45
26269 #: ../rescue/virt-rescue.pod:45
26270 msgid "For live VMs you I<must> use the --ro option."
26274 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:47
26275 #: ../rescue/virt-rescue.pod:47
26277 "When you run virt-rescue on a virtual machine or disk image, you are placed "
26278 "in an interactive bash shell where you can use many ordinary Linux "
26279 "commands. What you see in C</> (C</bin>, C</lib> etc) is the rescue "
26280 "appliance. You must mount the virtual machine's filesystems by hand. There "
26281 "is an empty directory called C</sysroot> where you can mount filesystems."
26285 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:54
26286 #: ../rescue/virt-rescue.pod:54
26288 "In the example below, we list logical volumes, then choose one to mount "
26289 "under C</sysroot>:"
26293 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:57
26294 #: ../rescue/virt-rescue.pod:57
26298 " LV VG Attr LSize Origin Snap% Move Log Copy% Convert\n"
26299 " lv_root vg_f11x64 -wi-a- 8.83G\n"
26300 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
26301 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
26302 " ><rescue> ls /sysroot\n"
26307 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:64
26308 #: ../rescue/virt-rescue.pod:64
26310 "If you don't know what filesystems are available on the virtual machine then "
26311 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
26315 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:70
26316 #: ../rescue/virt-rescue.pod:70
26318 "Virt-rescue can be used on I<any> disk image file or device, not just a "
26319 "virtual machine. For example you can use it on a blank file if you want to "
26320 "partition that file (although we would recommend using L<guestfish(1)> "
26321 "instead as it is more suitable for this purpose). You can even use virt-"
26322 "rescue on things like SD cards."
26326 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:76
26327 #: ../rescue/virt-rescue.pod:76
26329 "Virt-rescue does not require root. You only need to run it as root if you "
26330 "need root to open the disk image."
26334 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:79
26335 #: ../rescue/virt-rescue.pod:79
26337 "This tool is just designed for quick interactive hacking on a virtual "
26338 "machine. For more structured access to a virtual machine disk image, you "
26339 "should use L<guestfs(3)>. To get a structured shell that you can use to "
26340 "make scripted changes to guests, use L<guestfish(1)>."
26344 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:103
26345 #: ../rescue/virt-rescue.pod:103
26346 msgid "B<--append kernelopts>"
26350 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:105
26351 #: ../rescue/virt-rescue.pod:105
26352 msgid "Pass additional options to the rescue kernel."
26356 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:135
26357 #: ../rescue/virt-rescue.pod:135
26360 #| " guestfish --format=raw -a disk.img\n"
26363 " virt-rescue --format=raw -a disk.img\n"
26366 " guestfish --format=raw -a disk.img\n"
26370 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:139
26371 #: ../rescue/virt-rescue.pod:139
26374 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
26377 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
26380 " guestfish --format=raw -a disk.img --format -a another.img\n"
26384 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:148
26385 #: ../rescue/virt-rescue.pod:148
26390 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:150
26391 #: ../rescue/virt-rescue.pod:150
26393 #| msgid "B<--merge>"
26394 msgid "B<--memsize MB>"
26395 msgstr "B<--merge>"
26398 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:152
26399 #: ../rescue/virt-rescue.pod:152
26401 "Change the amount of memory allocated to the rescue system. The default is "
26402 "set by libguestfs and is small but adequate for running system tools. The "
26403 "occasional program might need more memory. The parameter is specified in "
26408 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:157
26409 #: ../rescue/virt-rescue.pod:157
26411 #| msgid "B<--inspector>"
26412 msgid "B<--network>"
26413 msgstr "B<--inspector>"
26416 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:159
26417 #: ../rescue/virt-rescue.pod:159
26418 msgid "Enable QEMU user networking in the guest. See L</NETWORK>."
26422 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:165
26423 #: ../rescue/virt-rescue.pod:165
26424 msgid "Open the image read-only."
26428 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:175
26429 #: ../rescue/virt-rescue.pod:175
26431 "Enable SELinux in the rescue appliance. You should read L<guestfs(3)/"
26432 "SELINUX> before using this option."
26436 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:194
26437 #: ../rescue/virt-rescue.pod:194
26439 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
26440 "are done read-write."
26444 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:207
26445 #: ../rescue/virt-rescue.pod:207
26446 msgid "Previous versions of virt-rescue allowed you to write either:"
26450 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:209
26451 #: ../rescue/virt-rescue.pod:209
26454 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26457 " virt-rescue disk.img [disk.img ...]\n"
26460 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
26464 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:213
26465 #: ../rescue/virt-rescue.pod:213
26468 #| " file-architecture filename\n"
26471 " virt-rescue guestname\n"
26474 " file-architecture назва_файла\n"
26478 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:221
26479 #: ../rescue/virt-rescue.pod:221
26484 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:223
26485 #: ../rescue/virt-rescue.pod:223
26487 "Adding the I<--network> option enables QEMU user networking in the rescue "
26488 "appliance. There are some differences between user networking and ordinary "
26493 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:229
26494 #: ../rescue/virt-rescue.pod:229
26495 msgid "ping does not work"
26499 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:231
26500 #: ../rescue/virt-rescue.pod:231
26502 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
26503 "send the ping packets, and because virt-rescue must be able to run as non-"
26504 "root, QEMU user networking is not able to emulate the L<ping(8)> command. "
26505 "The ping command will appear to resolve addresses but will not be able to "
26506 "send or receive any packets. This does not mean that the network is not "
26511 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:238
26512 #: ../rescue/virt-rescue.pod:238
26513 msgid "cannot receive connections"
26517 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:240
26518 #: ../rescue/virt-rescue.pod:240
26519 msgid "QEMU user networking cannot receive incoming connections."
26523 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:242
26524 #: ../rescue/virt-rescue.pod:242
26525 msgid "making TCP connections"
26529 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:244
26530 #: ../rescue/virt-rescue.pod:244
26532 "The virt-rescue appliance needs to be small and so does not include many "
26533 "network tools. In particular there is no L<telnet(1)> command. You can "
26534 "make TCP connections from the shell using the magical C</dev/tcp/"
26535 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
26539 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:249
26540 #: ../rescue/virt-rescue.pod:249
26543 " exec 3<>/dev/tcp/redhat.com/80\n"
26544 " echo \"GET /\" >&3\n"
26550 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:253
26551 #: ../rescue/virt-rescue.pod:253
26552 msgid "See L<bash(1)> for more details."
26556 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:259
26557 #: ../rescue/virt-rescue.pod:259
26559 "Several environment variables affect virt-rescue. See L<guestfs(3)/"
26560 "ENVIRONMENT VARIABLES> for the complete list."
26564 #: ../libguestfs-1.11.20/rescue/virt-rescue.pod:286
26565 #: ../rescue/virt-rescue.pod:286
26568 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26569 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
26570 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26572 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<http://"
26573 "libguestfs.org/>."
26575 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26576 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
26577 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26580 #: ../libguestfs-1.11.20/resize/virt-resize.pod:5 ../resize/virt-resize.pod:5
26581 msgid "virt-resize - Resize a virtual machine disk"
26585 #: ../libguestfs-1.11.20/resize/virt-resize.pod:9 ../resize/virt-resize.pod:9
26588 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
26589 " [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
26590 " [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
26595 #: ../libguestfs-1.11.20/resize/virt-resize.pod:15
26596 #: ../resize/virt-resize.pod:15
26598 "Virt-resize is a tool which can resize a virtual machine disk, making it "
26599 "larger or smaller overall, and resizing or deleting any partitions contained "
26604 #: ../libguestfs-1.11.20/resize/virt-resize.pod:19
26605 #: ../resize/virt-resize.pod:19
26607 "Virt-resize B<cannot> resize disk images in-place. Virt-resize B<should "
26608 "not> be used on live virtual machines - for consistent results, shut the "
26609 "virtual machine down before resizing it."
26613 #: ../libguestfs-1.11.20/resize/virt-resize.pod:23
26614 #: ../resize/virt-resize.pod:23
26616 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
26617 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
26621 #: ../libguestfs-1.11.20/resize/virt-resize.pod:31
26622 #: ../libguestfs-1.11.20/src/guestfs.pod:469
26623 #: ../libguestfs-1.11.20/src/guestfs.pod:1257
26624 #: ../libguestfs-1.11.20/src/guestfs.pod:1395
26625 #: ../libguestfs-1.11.20/src/guestfs.pod:2465 ../resize/virt-resize.pod:31
26626 #: ../src/guestfs.pod:469 ../src/guestfs.pod:1257 ../src/guestfs.pod:1395
26627 #: ../src/guestfs.pod:2465
26632 #: ../libguestfs-1.11.20/resize/virt-resize.pod:33
26633 #: ../resize/virt-resize.pod:33
26635 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
26636 "fill the extra 5GB of space."
26640 #: ../libguestfs-1.11.20/resize/virt-resize.pod:36
26641 #: ../resize/virt-resize.pod:36
26644 " virt-filesystems --long -h --all -a olddisk\n"
26649 #: ../libguestfs-1.11.20/resize/virt-resize.pod:38
26650 #: ../resize/virt-resize.pod:38
26653 " truncate -r olddisk newdisk\n"
26654 " truncate -s +5G newdisk\n"
26659 #: ../libguestfs-1.11.20/resize/virt-resize.pod:41
26660 #: ../resize/virt-resize.pod:41
26663 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
26664 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
26669 #: ../libguestfs-1.11.20/resize/virt-resize.pod:44
26670 #: ../libguestfs-1.11.20/src/guestfs.pod:475
26671 #: ../libguestfs-1.11.20/src/guestfs.pod:1261
26672 #: ../libguestfs-1.11.20/src/guestfs.pod:1399
26673 #: ../libguestfs-1.11.20/src/guestfs.pod:2490 ../resize/virt-resize.pod:44
26674 #: ../src/guestfs.pod:475 ../src/guestfs.pod:1261 ../src/guestfs.pod:1399
26675 #: ../src/guestfs.pod:2490
26680 #: ../libguestfs-1.11.20/resize/virt-resize.pod:46
26681 #: ../resize/virt-resize.pod:46
26683 "As above, but make the /boot partition 200MB bigger, while giving the "
26684 "remaining space to /dev/sda2:"
26688 #: ../libguestfs-1.11.20/resize/virt-resize.pod:49
26689 #: ../resize/virt-resize.pod:49
26692 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
26693 " olddisk newdisk\n"
26698 #: ../libguestfs-1.11.20/resize/virt-resize.pod:52
26699 #: ../libguestfs-1.11.20/src/guestfs.pod:486
26700 #: ../libguestfs-1.11.20/src/guestfs.pod:1405 ../resize/virt-resize.pod:52
26701 #: ../src/guestfs.pod:486 ../src/guestfs.pod:1405
26706 #: ../libguestfs-1.11.20/resize/virt-resize.pod:54
26707 #: ../resize/virt-resize.pod:54
26709 "As in the first example, but expand a logical volume as the final step. "
26710 "This is what you would typically use for Linux guests that use LVM:"
26714 #: ../libguestfs-1.11.20/resize/virt-resize.pod:58
26715 #: ../resize/virt-resize.pod:58
26718 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
26719 " olddisk newdisk\n"
26724 #: ../libguestfs-1.11.20/resize/virt-resize.pod:61
26725 #: ../resize/virt-resize.pod:61
26730 #: ../libguestfs-1.11.20/resize/virt-resize.pod:63
26731 #: ../resize/virt-resize.pod:63
26733 "As in the first example, but the output format will be qcow2 instead of a "
26738 #: ../libguestfs-1.11.20/resize/virt-resize.pod:66
26739 #: ../resize/virt-resize.pod:66
26742 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
26743 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
26748 #: ../libguestfs-1.11.20/resize/virt-resize.pod:71
26749 #: ../resize/virt-resize.pod:71
26750 msgid "DETAILED USAGE"
26754 #: ../libguestfs-1.11.20/resize/virt-resize.pod:73
26755 #: ../resize/virt-resize.pod:73
26756 msgid "EXPANDING A VIRTUAL MACHINE DISK"
26760 #: ../libguestfs-1.11.20/resize/virt-resize.pod:77
26761 #: ../resize/virt-resize.pod:77
26762 msgid "1. Shut down the virtual machine"
26766 #: ../libguestfs-1.11.20/resize/virt-resize.pod:79
26767 #: ../resize/virt-resize.pod:79
26768 msgid "2. Locate input disk image"
26772 #: ../libguestfs-1.11.20/resize/virt-resize.pod:81
26773 #: ../resize/virt-resize.pod:81
26775 "Locate the input disk image (ie. the file or device on the host containing "
26776 "the guest's disk). If the guest is managed by libvirt, you can use C<virsh "
26777 "dumpxml> like this to find the disk image name:"
26781 #: ../libguestfs-1.11.20/resize/virt-resize.pod:85
26782 #: ../resize/virt-resize.pod:85
26785 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
26786 " Found 1 nodes:\n"
26788 " <source dev=\"/dev/vg/lv_guest\" />\n"
26793 #: ../libguestfs-1.11.20/resize/virt-resize.pod:90
26794 #: ../resize/virt-resize.pod:90
26795 msgid "3. Look at current sizing"
26799 #: ../libguestfs-1.11.20/resize/virt-resize.pod:92
26800 #: ../resize/virt-resize.pod:92
26801 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
26805 #: ../libguestfs-1.11.20/resize/virt-resize.pod:95
26806 #: ../resize/virt-resize.pod:95
26809 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
26810 " Name Type Size Parent\n"
26811 " /dev/sda1 partition 101M /dev/sda\n"
26812 " /dev/sda2 partition 7.9G /dev/sda\n"
26813 " /dev/sda device 8.0G -\n"
26818 #: ../libguestfs-1.11.20/resize/virt-resize.pod:101
26819 #: ../resize/virt-resize.pod:101
26821 "(This example is a virtual machine with an 8 GB disk which we would like to "
26822 "expand up to 10 GB)."
26826 #: ../libguestfs-1.11.20/resize/virt-resize.pod:104
26827 #: ../resize/virt-resize.pod:104
26828 msgid "4. Create output disk"
26832 #: ../libguestfs-1.11.20/resize/virt-resize.pod:106
26833 #: ../resize/virt-resize.pod:106
26835 "Virt-resize cannot do in-place disk modifications. You have to have space "
26836 "to store the resized output disk."
26840 #: ../libguestfs-1.11.20/resize/virt-resize.pod:109
26841 #: ../resize/virt-resize.pod:109
26843 "To store the resized disk image in a file, create a file of a suitable size:"
26847 #: ../libguestfs-1.11.20/resize/virt-resize.pod:112
26848 #: ../resize/virt-resize.pod:112
26851 " # rm -f outdisk\n"
26852 " # truncate -s 10G outdisk\n"
26857 #: ../libguestfs-1.11.20/resize/virt-resize.pod:115
26858 #: ../resize/virt-resize.pod:115
26859 msgid "Or use L<lvcreate(1)> to create a logical volume:"
26863 #: ../libguestfs-1.11.20/resize/virt-resize.pod:117
26864 #: ../resize/virt-resize.pod:117
26867 " # lvcreate -L 10G -n lv_name vg_name\n"
26872 #: ../libguestfs-1.11.20/resize/virt-resize.pod:119
26873 #: ../resize/virt-resize.pod:119
26874 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
26878 #: ../libguestfs-1.11.20/resize/virt-resize.pod:121
26879 #: ../resize/virt-resize.pod:121
26882 " # virsh pool-list\n"
26883 " # virsh vol-create-as poolname newvol 10G\n"
26888 #: ../libguestfs-1.11.20/resize/virt-resize.pod:124
26889 #: ../resize/virt-resize.pod:124
26894 #: ../libguestfs-1.11.20/resize/virt-resize.pod:126
26895 #: ../resize/virt-resize.pod:126
26897 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
26898 "file) and the output disk. The output disk is the one created in the "
26903 #: ../libguestfs-1.11.20/resize/virt-resize.pod:130
26904 #: ../resize/virt-resize.pod:130
26907 " # virt-resize indisk outdisk\n"
26912 #: ../libguestfs-1.11.20/resize/virt-resize.pod:132
26913 #: ../resize/virt-resize.pod:132
26915 "This command just copies disk image C<indisk> to disk image C<outdisk> "
26916 "I<without> resizing or changing any existing partitions. If C<outdisk> is "
26917 "larger, then an extra, empty partition is created at the end of the disk "
26918 "covering the extra space. If C<outdisk> is smaller, then it will give an "
26923 #: ../libguestfs-1.11.20/resize/virt-resize.pod:138
26924 #: ../resize/virt-resize.pod:138
26926 "More realistically you'd want to expand existing partitions in the disk "
26927 "image by passing extra options (for the full list see the L</OPTIONS> "
26932 #: ../libguestfs-1.11.20/resize/virt-resize.pod:142
26933 #: ../resize/virt-resize.pod:142
26935 "L</--expand> is the most useful option. It expands the named partition "
26936 "within the disk to fill any extra space:"
26940 #: ../libguestfs-1.11.20/resize/virt-resize.pod:145
26941 #: ../resize/virt-resize.pod:145
26944 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
26949 #: ../libguestfs-1.11.20/resize/virt-resize.pod:147
26950 #: ../resize/virt-resize.pod:147
26952 "(In this case, an extra partition is I<not> created at the end of the disk, "
26953 "because there will be no unused space)."
26957 #: ../libguestfs-1.11.20/resize/virt-resize.pod:150
26958 #: ../resize/virt-resize.pod:150
26960 "L</--resize> is the other commonly used option. The following would "
26961 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
26962 "rest of the available space:"
26966 #: ../libguestfs-1.11.20/resize/virt-resize.pod:154
26967 #: ../resize/virt-resize.pod:154
26970 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
26971 " indisk outdisk\n"
26976 #: ../libguestfs-1.11.20/resize/virt-resize.pod:157
26977 #: ../resize/virt-resize.pod:157
26979 "If the expanded partition in the image contains a filesystem or LVM PV, then "
26980 "if virt-resize knows how, it will resize the contents, the equivalent of "
26981 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
26982 "or L<btrfs(8)>. However virt-resize does not know how to resize some "
26983 "filesystems, so you would have to online resize them after booting the guest."
26987 #: ../libguestfs-1.11.20/resize/virt-resize.pod:164
26988 #: ../resize/virt-resize.pod:164
26989 msgid "Other options are covered below."
26993 #: ../libguestfs-1.11.20/resize/virt-resize.pod:166
26994 #: ../resize/virt-resize.pod:166
26999 #: ../libguestfs-1.11.20/resize/virt-resize.pod:168
27000 #: ../resize/virt-resize.pod:168
27001 msgid "Thoroughly test the new disk image I<before> discarding the old one."
27005 #: ../libguestfs-1.11.20/resize/virt-resize.pod:170
27006 #: ../resize/virt-resize.pod:170
27007 msgid "If you are using libvirt, edit the XML to point at the new disk:"
27011 #: ../libguestfs-1.11.20/resize/virt-resize.pod:172
27012 #: ../resize/virt-resize.pod:172
27015 #| " edit filename\n"
27018 " # virsh edit guestname\n"
27021 " edit назва_файла\n"
27025 #: ../libguestfs-1.11.20/resize/virt-resize.pod:174
27026 #: ../resize/virt-resize.pod:174
27028 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
27029 "html#elementsDisks>"
27033 #: ../libguestfs-1.11.20/resize/virt-resize.pod:177
27034 #: ../resize/virt-resize.pod:177
27035 msgid "Then start up the domain with the new, resized disk:"
27039 #: ../libguestfs-1.11.20/resize/virt-resize.pod:179
27040 #: ../resize/virt-resize.pod:179
27043 #| " ln-s target linkname\n"
27046 " # virsh start guestname\n"
27049 " ln-s призначення назва_посилання\n"
27053 #: ../libguestfs-1.11.20/resize/virt-resize.pod:181
27054 #: ../resize/virt-resize.pod:181
27056 "and check that it still works. See also the L</NOTES> section below for "
27057 "additional information."
27061 #: ../libguestfs-1.11.20/resize/virt-resize.pod:184
27062 #: ../resize/virt-resize.pod:184
27063 msgid "7. Resize LVs etc inside the guest"
27067 #: ../libguestfs-1.11.20/resize/virt-resize.pod:186
27068 #: ../resize/virt-resize.pod:186
27069 msgid "(This can also be done offline using L<guestfish(1)>)"
27073 #: ../libguestfs-1.11.20/resize/virt-resize.pod:188
27074 #: ../resize/virt-resize.pod:188
27076 "Once the guest has booted you should see the new space available, at least "
27077 "for filesystems that virt-resize knows how to resize, and for PVs. The user "
27078 "may need to resize LVs inside PVs, and also resize filesystem types that "
27079 "virt-resize does not know how to expand."
27083 #: ../libguestfs-1.11.20/resize/virt-resize.pod:195
27084 #: ../resize/virt-resize.pod:195
27085 msgid "SHRINKING A VIRTUAL MACHINE DISK"
27089 #: ../libguestfs-1.11.20/resize/virt-resize.pod:197
27090 #: ../resize/virt-resize.pod:197
27092 "Shrinking is somewhat more complex than expanding, and only an overview is "
27097 #: ../libguestfs-1.11.20/resize/virt-resize.pod:200
27098 #: ../resize/virt-resize.pod:200
27100 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
27101 "filesystems). The user has to shrink content before passing the disk image "
27102 "to virt-resize, and virt-resize will check that the content has been shrunk "
27107 #: ../libguestfs-1.11.20/resize/virt-resize.pod:205
27108 #: ../resize/virt-resize.pod:205
27109 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
27113 #: ../libguestfs-1.11.20/resize/virt-resize.pod:207
27114 #: ../resize/virt-resize.pod:207
27116 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
27117 "steps 3 and 4 above to allocate a new disk image."
27121 #: ../libguestfs-1.11.20/resize/virt-resize.pod:210
27122 #: ../resize/virt-resize.pod:210
27124 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
27128 #: ../libguestfs-1.11.20/resize/virt-resize.pod:213
27129 #: ../resize/virt-resize.pod:213
27130 msgid "IGNORING OR DELETING PARTITIONS"
27134 #: ../libguestfs-1.11.20/resize/virt-resize.pod:215
27135 #: ../resize/virt-resize.pod:215
27137 "virt-resize also gives a convenient way to ignore or delete partitions when "
27138 "copying from the input disk to the output disk. Ignoring a partition speeds "
27139 "up the copy where you don't care about the existing contents of a "
27140 "partition. Deleting a partition removes it completely, but note that it "
27141 "also renumbers any partitions after the one which is deleted, which can "
27142 "leave some guests unbootable."
27146 #: ../libguestfs-1.11.20/resize/virt-resize.pod:222
27147 #: ../resize/virt-resize.pod:222
27148 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
27152 #: ../libguestfs-1.11.20/resize/virt-resize.pod:224
27153 #: ../resize/virt-resize.pod:224
27155 "If the input disk is in qcow2 format, then you may prefer that the output is "
27156 "in qcow2 format as well. Alternately, virt-resize can convert the format on "
27157 "the fly. The output format is simply determined by the format of the empty "
27158 "output container that you provide. Thus to create qcow2 output, use:"
27162 #: ../libguestfs-1.11.20/resize/virt-resize.pod:230
27163 #: ../resize/virt-resize.pod:230
27166 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
27171 #: ../libguestfs-1.11.20/resize/virt-resize.pod:232
27172 #: ../resize/virt-resize.pod:232
27173 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
27177 #: ../libguestfs-1.11.20/resize/virt-resize.pod:234
27178 #: ../resize/virt-resize.pod:234
27179 msgid "Similarly, to get non-sparse raw output use:"
27183 #: ../libguestfs-1.11.20/resize/virt-resize.pod:236
27184 #: ../resize/virt-resize.pod:236
27187 #| " fallocate path len\n"
27190 " fallocate -l size outdisk\n"
27193 " fallocate шлях довжина\n"
27197 #: ../libguestfs-1.11.20/resize/virt-resize.pod:238
27198 #: ../resize/virt-resize.pod:238
27200 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
27201 "dev/zero of=outdisk bs=1M count=..>)"
27205 #: ../libguestfs-1.11.20/resize/virt-resize.pod:247
27206 #: ../resize/virt-resize.pod:247
27207 msgid "Display help."
27211 #: ../libguestfs-1.11.20/resize/virt-resize.pod:249
27212 #: ../resize/virt-resize.pod:249
27217 #: ../libguestfs-1.11.20/resize/virt-resize.pod:251
27218 #: ../resize/virt-resize.pod:251 ../tools/virt-make-fs.pl:177
27219 #: ../tools/virt-win-reg.pl:120
27221 msgstr "B<--debug>"
27224 #: ../libguestfs-1.11.20/resize/virt-resize.pod:253
27225 #: ../resize/virt-resize.pod:253 ../tools/virt-win-reg.pl:122
27226 msgid "Enable debugging messages."
27230 #: ../libguestfs-1.11.20/resize/virt-resize.pod:255
27231 #: ../resize/virt-resize.pod:255
27233 #| msgid "B<--no-dest-paths>"
27234 msgid "B<--delete part>"
27235 msgstr "B<--no-dest-paths>"
27238 #: ../libguestfs-1.11.20/resize/virt-resize.pod:257
27239 #: ../resize/virt-resize.pod:257
27241 "Delete the named partition. It would be more accurate to describe this as "
27242 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
27243 "the original disk image is left intact."
27247 #: ../libguestfs-1.11.20/resize/virt-resize.pod:261
27248 #: ../resize/virt-resize.pod:261
27250 "Note that when you delete a partition, then anything contained in the "
27251 "partition is also deleted. Furthermore, this causes any partitions that "
27252 "come after to be I<renumbered>, which can easily make your guest unbootable."
27256 #: ../libguestfs-1.11.20/resize/virt-resize.pod:266
27257 #: ../libguestfs-1.11.20/resize/virt-resize.pod:327
27258 #: ../libguestfs-1.11.20/resize/virt-resize.pod:448
27259 #: ../resize/virt-resize.pod:266 ../resize/virt-resize.pod:327
27260 #: ../resize/virt-resize.pod:448
27261 msgid "You can give this option multiple times."
27265 #: ../libguestfs-1.11.20/resize/virt-resize.pod:268
27266 #: ../resize/virt-resize.pod:268
27268 #| msgid "B<--partition>"
27269 msgid "B<--expand part>"
27270 msgstr "B<--partition>"
27273 #: ../libguestfs-1.11.20/resize/virt-resize.pod:270
27274 #: ../resize/virt-resize.pod:270
27276 "Expand the named partition so it uses up all extra space (space left over "
27277 "after any other resize changes that you request have been done)."
27281 #: ../libguestfs-1.11.20/resize/virt-resize.pod:273
27282 #: ../resize/virt-resize.pod:273
27284 "If virt-resize knows how, it will expand the direct content of the "
27285 "partition. For example, if the partition is an LVM PV, it will expand the "
27286 "PV to fit (like calling L<pvresize(8)>). Virt-resize leaves any other "
27287 "content it doesn't know about alone."
27291 #: ../libguestfs-1.11.20/resize/virt-resize.pod:278
27292 #: ../resize/virt-resize.pod:278
27293 msgid "Currently virt-resize can resize:"
27297 #: ../libguestfs-1.11.20/resize/virt-resize.pod:284
27298 #: ../resize/virt-resize.pod:284
27299 msgid "ext2, ext3 and ext4 filesystems."
27303 #: ../libguestfs-1.11.20/resize/virt-resize.pod:288
27304 #: ../resize/virt-resize.pod:288
27305 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
27309 #: ../libguestfs-1.11.20/resize/virt-resize.pod:290
27310 #: ../resize/virt-resize.pod:290
27312 "The filesystem must have been shut down consistently last time it was used. "
27313 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
27314 "consistency check, so at the first boot after resizing Windows will check "
27319 #: ../libguestfs-1.11.20/resize/virt-resize.pod:297
27320 #: ../resize/virt-resize.pod:297
27322 "LVM PVs (physical volumes). virt-resize does not usually resize anything "
27323 "inside the PV, but see the I<--LV-expand> option. The user could also "
27324 "resize LVs as desired after boot."
27328 #: ../libguestfs-1.11.20/resize/virt-resize.pod:303
27329 #: ../resize/virt-resize.pod:303
27330 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
27334 #: ../libguestfs-1.11.20/resize/virt-resize.pod:307
27335 #: ../libguestfs-1.11.20/resize/virt-resize.pod:476
27336 #: ../resize/virt-resize.pod:307 ../resize/virt-resize.pod:476
27337 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
27341 #: ../libguestfs-1.11.20/resize/virt-resize.pod:309
27342 #: ../resize/virt-resize.pod:309 ../tools/virt-list-filesystems.pl:91
27343 #: ../tools/virt-list-partitions.pl:92 ../tools/virt-tar.pl:141
27344 #: ../tools/virt-win-reg.pl:142
27345 msgid "B<--format> raw"
27349 #: ../libguestfs-1.11.20/resize/virt-resize.pod:311
27350 #: ../resize/virt-resize.pod:311
27352 "Specify the format of the input disk image. If this flag is not given then "
27353 "it is auto-detected from the image itself."
27357 #: ../libguestfs-1.11.20/resize/virt-resize.pod:317
27358 #: ../resize/virt-resize.pod:317
27360 "Note that this option I<does not> affect the output format. See L</QCOW2 "
27361 "AND NON-SPARSE RAW FORMATS>."
27365 #: ../libguestfs-1.11.20/resize/virt-resize.pod:320
27366 #: ../resize/virt-resize.pod:320
27368 #| msgid "B<--format>"
27369 msgid "B<--ignore part>"
27370 msgstr "B<--format>"
27373 #: ../libguestfs-1.11.20/resize/virt-resize.pod:322
27374 #: ../resize/virt-resize.pod:322
27376 "Ignore the named partition. Effectively this means the partition is "
27377 "allocated on the destination disk, but the content is not copied across from "
27378 "the source disk. The content of the partition will be blank (all zero "
27383 #: ../libguestfs-1.11.20/resize/virt-resize.pod:329
27384 #: ../resize/virt-resize.pod:329
27385 msgid "B<--LV-expand logvol>"
27389 #: ../libguestfs-1.11.20/resize/virt-resize.pod:331
27390 #: ../resize/virt-resize.pod:331
27392 "This takes the logical volume and, as a final step, expands it to fill all "
27393 "the space available in its volume group. A typical usage, assuming a Linux "
27394 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
27395 "lv_root> would be:"
27399 #: ../libguestfs-1.11.20/resize/virt-resize.pod:336
27400 #: ../resize/virt-resize.pod:336
27403 " virt-resize indisk outdisk \\\n"
27404 " --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
27409 #: ../libguestfs-1.11.20/resize/virt-resize.pod:339
27410 #: ../resize/virt-resize.pod:339
27412 "This would first expand the partition (and PV), and then expand the root "
27413 "device to fill the extra space in the PV."
27417 #: ../libguestfs-1.11.20/resize/virt-resize.pod:342
27418 #: ../resize/virt-resize.pod:342
27420 "The contents of the LV are also resized if virt-resize knows how to do "
27421 "that. You can stop virt-resize from trying to expand the content by using "
27422 "the option I<--no-expand-content>."
27426 #: ../libguestfs-1.11.20/resize/virt-resize.pod:346
27427 #: ../resize/virt-resize.pod:346
27428 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
27432 #: ../libguestfs-1.11.20/resize/virt-resize.pod:348
27433 #: ../resize/virt-resize.pod:348
27435 "You can give this option multiple times, I<but> it doesn't make sense to do "
27436 "this unless the logical volumes you specify are all in different volume "
27441 #: ../libguestfs-1.11.20/resize/virt-resize.pod:354
27442 #: ../resize/virt-resize.pod:354
27444 #| msgid "B<--debug>"
27445 msgid "B<--dryrun>"
27446 msgstr "B<--debug>"
27449 #: ../libguestfs-1.11.20/resize/virt-resize.pod:356
27450 #: ../resize/virt-resize.pod:356
27451 msgid "Print a summary of what would be done, but don't do anything."
27455 #: ../libguestfs-1.11.20/resize/virt-resize.pod:358
27456 #: ../resize/virt-resize.pod:358
27457 msgid "B<--no-copy-boot-loader>"
27461 #: ../libguestfs-1.11.20/resize/virt-resize.pod:360
27462 #: ../resize/virt-resize.pod:360
27464 "By default, virt-resize copies over some sectors at the start of the disk "
27465 "(up to the beginning of the first partition). Commonly these sectors "
27466 "contain the Master Boot Record (MBR) and the boot loader, and are required "
27467 "in order for the guest to boot correctly."
27471 #: ../libguestfs-1.11.20/resize/virt-resize.pod:365
27472 #: ../resize/virt-resize.pod:365
27474 "If you specify this flag, then this initial copy is not done. You may need "
27475 "to reinstall the boot loader in this case."
27479 #: ../libguestfs-1.11.20/resize/virt-resize.pod:368
27480 #: ../resize/virt-resize.pod:368
27482 #| msgid "B<--partition>"
27483 msgid "B<--no-extra-partition>"
27484 msgstr "B<--partition>"
27487 #: ../libguestfs-1.11.20/resize/virt-resize.pod:370
27488 #: ../resize/virt-resize.pod:370
27490 "By default, virt-resize creates an extra partition if there is any extra, "
27491 "unused space after all resizing has happened. Use this option to prevent "
27492 "the extra partition from being created. If you do this then the extra space "
27493 "will be inaccessible until you run fdisk, parted, or some other partitioning "
27494 "tool in the guest."
27498 #: ../libguestfs-1.11.20/resize/virt-resize.pod:376
27499 #: ../resize/virt-resize.pod:376
27501 "Note that if the surplus space is smaller than 10 MB, no extra partition "
27506 #: ../libguestfs-1.11.20/resize/virt-resize.pod:379
27507 #: ../resize/virt-resize.pod:379
27509 #| msgid "B<--no-dest-paths>"
27510 msgid "B<--no-expand-content>"
27511 msgstr "B<--no-dest-paths>"
27514 #: ../libguestfs-1.11.20/resize/virt-resize.pod:381
27515 #: ../resize/virt-resize.pod:381
27517 "By default, virt-resize will try to expand the direct contents of "
27518 "partitions, if it knows how (see I<--expand> option above)."
27522 #: ../libguestfs-1.11.20/resize/virt-resize.pod:384
27523 #: ../resize/virt-resize.pod:384
27525 "If you give the I<--no-expand-content> option then virt-resize will not "
27530 #: ../libguestfs-1.11.20/resize/virt-resize.pod:387
27531 #: ../resize/virt-resize.pod:387
27533 #| msgid "ntfsresize-size"
27534 msgid "B<--ntfsresize-force>"
27535 msgstr "ntfsresize-size"
27538 #: ../libguestfs-1.11.20/resize/virt-resize.pod:389
27539 #: ../resize/virt-resize.pod:389
27541 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
27542 "the NTFS disk is marked as needing a consistency check. You have to use "
27543 "this option if you want to resize a Windows guest multiple times without "
27544 "booting into Windows between each resize."
27548 #: ../libguestfs-1.11.20/resize/virt-resize.pod:395
27549 #: ../resize/virt-resize.pod:395
27551 #| msgid "B<--format>"
27552 msgid "B<--output-format> raw"
27553 msgstr "B<--format>"
27556 #: ../libguestfs-1.11.20/resize/virt-resize.pod:397
27557 #: ../resize/virt-resize.pod:397
27559 "Specify the format of the output disk image. If this flag is not given then "
27560 "it is auto-detected from the image itself."
27564 #: ../libguestfs-1.11.20/resize/virt-resize.pod:403
27565 #: ../resize/virt-resize.pod:403
27567 "Note that this option I<does not create> the output format. This option "
27568 "just tells libguestfs what it is so it doesn't try to guess it. You still "
27569 "need to create the output disk with the right format. See L</QCOW2 AND NON-"
27570 "SPARSE RAW FORMATS>."
27574 #: ../libguestfs-1.11.20/resize/virt-resize.pod:408
27575 #: ../resize/virt-resize.pod:408
27580 #: ../libguestfs-1.11.20/resize/virt-resize.pod:410
27581 #: ../resize/virt-resize.pod:410
27583 #| msgid "B<--live>"
27588 #: ../libguestfs-1.11.20/resize/virt-resize.pod:412
27589 #: ../resize/virt-resize.pod:412
27590 msgid "Don't print the summary."
27594 #: ../libguestfs-1.11.20/resize/virt-resize.pod:414
27595 #: ../resize/virt-resize.pod:414
27597 #| msgid "B<part_size>"
27598 msgid "B<--resize part=size>"
27599 msgstr "B<part_size>"
27602 #: ../libguestfs-1.11.20/resize/virt-resize.pod:416
27603 #: ../resize/virt-resize.pod:416
27605 "Resize the named partition (expanding or shrinking it) so that it has the "
27610 #: ../libguestfs-1.11.20/resize/virt-resize.pod:419
27611 #: ../resize/virt-resize.pod:419
27613 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
27614 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
27615 "size; or as a relative number or percentage. For example:"
27619 #: ../libguestfs-1.11.20/resize/virt-resize.pod:425
27620 #: ../resize/virt-resize.pod:425
27623 #| " hexedit /dev/sda 1M\n"
27626 " --resize /dev/sda2=10G\n"
27629 " hexedit /dev/sda 1M\n"
27633 #: ../libguestfs-1.11.20/resize/virt-resize.pod:427
27634 #: ../resize/virt-resize.pod:427
27637 #| " pvresize device\n"
27640 " --resize /dev/sda4=90%\n"
27643 " pvresize пристрій\n"
27647 #: ../libguestfs-1.11.20/resize/virt-resize.pod:429
27648 #: ../resize/virt-resize.pod:429
27651 #| " hexedit /dev/sda 1M\n"
27654 " --resize /dev/sda2=+1G\n"
27657 " hexedit /dev/sda 1M\n"
27661 #: ../libguestfs-1.11.20/resize/virt-resize.pod:431
27662 #: ../resize/virt-resize.pod:431
27665 #| " hexedit /dev/sda 1M\n"
27668 " --resize /dev/sda2=-200M\n"
27671 " hexedit /dev/sda 1M\n"
27675 #: ../libguestfs-1.11.20/resize/virt-resize.pod:433
27676 #: ../resize/virt-resize.pod:433
27679 #| " hexedit /dev/sda 1M\n"
27682 " --resize /dev/sda1=+128K\n"
27685 " hexedit /dev/sda 1M\n"
27689 #: ../libguestfs-1.11.20/resize/virt-resize.pod:435
27690 #: ../resize/virt-resize.pod:435
27693 #| " hexedit /dev/sda 1M\n"
27696 " --resize /dev/sda1=+10%\n"
27699 " hexedit /dev/sda 1M\n"
27703 #: ../libguestfs-1.11.20/resize/virt-resize.pod:437
27704 #: ../resize/virt-resize.pod:437
27707 #| " hexedit /dev/sda 1M\n"
27710 " --resize /dev/sda1=-10%\n"
27713 " hexedit /dev/sda 1M\n"
27717 #: ../libguestfs-1.11.20/resize/virt-resize.pod:439
27718 #: ../resize/virt-resize.pod:439
27720 "You can increase the size of any partition. Virt-resize will expand the "
27721 "direct content of the partition if it knows how (see I<--expand> below)."
27725 #: ../libguestfs-1.11.20/resize/virt-resize.pod:443
27726 #: ../resize/virt-resize.pod:443
27728 "You can only I<decrease> the size of partitions that contain filesystems or "
27729 "PVs which have already been shrunk. Virt-resize will check this has been "
27730 "done before proceeding, or else will print an error (see also I<--resize-"
27735 #: ../libguestfs-1.11.20/resize/virt-resize.pod:450
27736 #: ../resize/virt-resize.pod:450
27737 msgid "B<--resize-force part=size>"
27741 #: ../libguestfs-1.11.20/resize/virt-resize.pod:452
27742 #: ../resize/virt-resize.pod:452
27744 "This is the same as I<--resize> except that it will let you decrease the "
27745 "size of any partition. Generally this means you will lose any data which "
27746 "was at the end of the partition you shrink, but you may not care about that "
27747 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
27748 "as a swap partition)."
27752 #: ../libguestfs-1.11.20/resize/virt-resize.pod:458
27753 #: ../resize/virt-resize.pod:458
27754 msgid "See also the I<--ignore> option."
27758 #: ../libguestfs-1.11.20/resize/virt-resize.pod:460
27759 #: ../resize/virt-resize.pod:460
27761 #| msgid "B<--partition>"
27762 msgid "B<--shrink part>"
27763 msgstr "B<--partition>"
27766 #: ../libguestfs-1.11.20/resize/virt-resize.pod:462
27767 #: ../resize/virt-resize.pod:462
27769 "Shrink the named partition until the overall disk image fits in the "
27770 "destination. The named partition B<must> contain a filesystem or PV which "
27771 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
27772 "online tools). Virt-resize will check this and give an error if it has not "
27777 #: ../libguestfs-1.11.20/resize/virt-resize.pod:468
27778 #: ../resize/virt-resize.pod:468
27780 "The amount by which the overall disk must be shrunk (after carrying out all "
27781 "other operations requested by the user) is called the \"deficit\". For "
27782 "example, a straight copy (assume no other operations) from a 5GB disk image "
27783 "to a 4GB disk image results in a 1GB deficit. In this case, virt-resize "
27784 "would give an error unless the user specified a partition to shrink and that "
27785 "partition had more than a gigabyte of free space."
27789 #: ../libguestfs-1.11.20/resize/virt-resize.pod:488
27790 #: ../resize/virt-resize.pod:488
27791 msgid "\"Partition 1 does not end on cylinder boundary.\""
27795 #: ../libguestfs-1.11.20/resize/virt-resize.pod:490
27796 #: ../resize/virt-resize.pod:490
27798 "Virt-resize aligns partitions to multiples of 64 sectors. Usually this "
27799 "means the partitions will not be aligned to the ancient CHS geometry. "
27800 "However CHS geometry is meaningless for disks manufactured since the early "
27801 "1990s, and doubly so for virtual hard drives. Alignment of partitions to "
27802 "cylinders is not required by any modern operating system."
27806 #: ../libguestfs-1.11.20/resize/virt-resize.pod:497
27807 #: ../resize/virt-resize.pod:497
27808 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
27812 #: ../libguestfs-1.11.20/resize/virt-resize.pod:499
27813 #: ../resize/virt-resize.pod:499
27815 "In Windows Vista and later versions, Microsoft switched to using a separate "
27816 "boot partition. In these VMs, typically C</dev/sda1> is the boot partition "
27817 "and C</dev/sda2> is the main (C:) drive. We have not had any luck resizing "
27818 "the boot partition. Doing so seems to break the guest completely. However "
27819 "expanding the second partition (ie. C: drive) should work."
27823 #: ../libguestfs-1.11.20/resize/virt-resize.pod:506
27824 #: ../resize/virt-resize.pod:506
27826 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
27827 "NTFS partitions have been expanded. This is just a safety check and (unless "
27828 "it find errors) is nothing to worry about."
27832 #: ../libguestfs-1.11.20/resize/virt-resize.pod:510
27833 #: ../resize/virt-resize.pod:510
27834 msgid "GUEST BOOT STUCK AT \"GRUB\""
27838 #: ../libguestfs-1.11.20/resize/virt-resize.pod:512
27839 #: ../resize/virt-resize.pod:512
27841 "If a Linux guest does not boot after resizing, and the boot is stuck after "
27842 "printing C<GRUB> on the console, try reinstalling grub. This sometimes "
27843 "happens on older (RHEL 5-era) guests, for reasons we don't fully understand, "
27844 "although we think is to do with partition alignment."
27848 #: ../libguestfs-1.11.20/resize/virt-resize.pod:517
27849 #: ../resize/virt-resize.pod:517
27852 " guestfish -i -a newdisk\n"
27853 " ><fs> cat /boot/grub/device.map\n"
27854 " # check the contents of this file are sensible or\n"
27855 " # edit the file if necessary\n"
27856 " ><fs> grub-install / /dev/vda\n"
27862 #: ../libguestfs-1.11.20/resize/virt-resize.pod:524
27863 #: ../resize/virt-resize.pod:524
27865 "For more flexible guest reconfiguration, including if you need to specify "
27866 "other parameters to grub-install, use L<virt-rescue(1)>."
27870 #: ../libguestfs-1.11.20/resize/virt-resize.pod:527
27871 #: ../resize/virt-resize.pod:527
27872 msgid "ALTERNATIVE TOOLS"
27876 #: ../libguestfs-1.11.20/resize/virt-resize.pod:529
27877 #: ../resize/virt-resize.pod:529
27879 "There are several proprietary tools for resizing partitions. We won't "
27880 "mention any here."
27884 #: ../libguestfs-1.11.20/resize/virt-resize.pod:532
27885 #: ../resize/virt-resize.pod:532
27887 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
27888 "operations on disk images. They can resize and move partitions, but I don't "
27889 "think they can do anything with the contents, and they certainly don't "
27894 #: ../libguestfs-1.11.20/resize/virt-resize.pod:537
27895 #: ../resize/virt-resize.pod:537
27897 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
27898 "but at a much lower level. You will probably end up hand-calculating sector "
27899 "offsets, which is something that virt-resize was designed to avoid. If you "
27900 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
27905 #: ../libguestfs-1.11.20/resize/virt-resize.pod:552
27906 #: ../resize/virt-resize.pod:552
27908 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
27909 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
27910 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
27911 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<http://libguestfs.org/>."
27915 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:5
27916 #: ../ruby/examples/guestfs-ruby.pod:5
27917 msgid "guestfs-ruby - How to use libguestfs from Ruby"
27921 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:9
27922 #: ../ruby/examples/guestfs-ruby.pod:9
27925 " require 'guestfs'\n"
27926 " g = Guestfs::Guestfs.new()\n"
27927 " g.add_drive_opts(\"disk.img\",\n"
27928 " :readonly => 1, :format => \"raw\")\n"
27934 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:17
27935 #: ../ruby/examples/guestfs-ruby.pod:17
27937 "This manual page documents how to call libguestfs from the Ruby programming "
27938 "language. This page just documents the differences from the C API and gives "
27939 "some examples. If you are not familiar with using libguestfs, you also need "
27940 "to read L<guestfs(3)>."
27944 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:24
27945 #: ../ruby/examples/guestfs-ruby.pod:24
27947 "Errors from libguestfs functions are mapped into the C<Error> exception. "
27948 "This has a single parameter which is the error message (a string)."
27952 #: ../libguestfs-1.11.20/ruby/examples/guestfs-ruby.pod:38
27953 #: ../ruby/examples/guestfs-ruby.pod:38
27956 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
27957 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
27958 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
27960 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
27961 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<http://"
27962 "libguestfs.org/>."
27964 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
27965 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
27966 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
27969 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1
27970 #: ../src/guestfs-actions.pod:1
27971 msgid "guestfs_add_cdrom"
27975 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3
27976 #: ../src/guestfs-actions.pod:3
27980 " guestfs_add_cdrom (guestfs_h *g,\n"
27981 " const char *filename);\n"
27986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:17
27987 #: ../src/guestfs-actions.pod:17
27989 "This call checks for the existence of C<filename>. This stops you from "
27990 "specifying other types of drive which are supported by qemu such as C<nbd:> "
27991 "and C<http:> URLs. To specify those, use the general C<guestfs_config> call "
27996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:24
27997 #: ../src/guestfs-actions.pod:24
27999 "If you just want to add an ISO file (often you use this as an efficient way "
28000 "to transfer large files into the guest), then you should probably use "
28001 "C<guestfs_add_drive_ro> instead."
28005 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:30
28006 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:140
28007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:201
28008 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:238
28009 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:252
28010 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:273
28011 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:293
28012 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:307
28013 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:422
28014 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:442
28015 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:456
28016 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:501
28017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:529
28018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:547
28019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:614
28020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:647
28021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:661
28022 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:676
28023 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:775
28024 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:793
28025 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:807
28026 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:821
28027 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:858
28028 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1041
28029 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1061
28030 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1079
28031 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1163
28032 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1181
28033 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1200
28034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1214
28035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1234
28036 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1304
28037 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1335
28038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1360
28039 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1402
28040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1508
28041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1542
28042 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1757
28043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1779
28044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1866
28045 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2341
28046 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2485
28047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2546
28048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2581
28049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3621
28050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3636
28051 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3661
28052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3850
28053 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3864
28054 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3877
28055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3891
28056 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3906
28057 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3942
28058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4014
28059 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4034
28060 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4051
28061 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4074
28062 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4097
28063 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4132
28064 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4151
28065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4170
28066 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4205
28067 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4217
28068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4253
28069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4269
28070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4282
28071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4297
28072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4314
28073 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4407
28074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4427
28075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4440
28076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4491
28077 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4509
28078 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4527
28079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4543
28080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4557
28081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4571
28082 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4588
28083 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4603
28084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4623
28085 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4693
28086 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4766
28087 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4797
28088 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4816
28089 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4835
28090 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4847
28091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4864
28092 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4877
28093 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4892
28094 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4907
28095 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4942
28096 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4975
28097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5014
28098 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5034
28099 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5048
28100 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5065
28101 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5114
28102 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5160
28103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5214
28104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5250
28105 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5285
28106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5302
28107 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5320
28108 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5460
28109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5517
28110 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5539
28111 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5557
28112 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5589
28113 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5655
28114 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5672
28115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5685
28116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5699
28117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5988
28118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6007
28119 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6026
28120 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6040
28121 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6052
28122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6066
28123 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6078
28124 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6092
28125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6108
28126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6129
28127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6148
28128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6167
28129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6197
28130 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6215
28131 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6238
28132 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6256
28133 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6275
28134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6296
28135 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6315
28136 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6332
28137 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6351
28138 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6379
28139 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6403
28140 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6422
28141 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6446
28142 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6465
28143 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6480
28144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6499
28145 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6536
28146 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6566
28147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6599
28148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6721
28149 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6842
28150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6854
28151 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6867
28152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6880
28153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6902
28154 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6915
28155 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6928
28156 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6941
28157 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6956
28158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7015
28159 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7032
28160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7048
28161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7064
28162 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7081
28163 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7094
28164 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7114
28165 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7150
28166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7164
28167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7205
28168 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7218
28169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7236
28170 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7270
28171 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7306
28172 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7422
28173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7437
28174 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7451
28175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7506
28176 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7519
28177 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7564
28178 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7597
28179 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7660
28180 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7680
28181 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7706
28182 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7773
28183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7792
28184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7821
28185 #: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:140
28186 #: ../src/guestfs-actions.pod:201 ../src/guestfs-actions.pod:238
28187 #: ../src/guestfs-actions.pod:252 ../src/guestfs-actions.pod:273
28188 #: ../src/guestfs-actions.pod:293 ../src/guestfs-actions.pod:307
28189 #: ../src/guestfs-actions.pod:422 ../src/guestfs-actions.pod:442
28190 #: ../src/guestfs-actions.pod:456 ../src/guestfs-actions.pod:501
28191 #: ../src/guestfs-actions.pod:529 ../src/guestfs-actions.pod:547
28192 #: ../src/guestfs-actions.pod:614 ../src/guestfs-actions.pod:647
28193 #: ../src/guestfs-actions.pod:661 ../src/guestfs-actions.pod:676
28194 #: ../src/guestfs-actions.pod:775 ../src/guestfs-actions.pod:793
28195 #: ../src/guestfs-actions.pod:807 ../src/guestfs-actions.pod:821
28196 #: ../src/guestfs-actions.pod:858 ../src/guestfs-actions.pod:1041
28197 #: ../src/guestfs-actions.pod:1061 ../src/guestfs-actions.pod:1079
28198 #: ../src/guestfs-actions.pod:1163 ../src/guestfs-actions.pod:1181
28199 #: ../src/guestfs-actions.pod:1200 ../src/guestfs-actions.pod:1214
28200 #: ../src/guestfs-actions.pod:1234 ../src/guestfs-actions.pod:1304
28201 #: ../src/guestfs-actions.pod:1335 ../src/guestfs-actions.pod:1360
28202 #: ../src/guestfs-actions.pod:1402 ../src/guestfs-actions.pod:1508
28203 #: ../src/guestfs-actions.pod:1542 ../src/guestfs-actions.pod:1757
28204 #: ../src/guestfs-actions.pod:1779 ../src/guestfs-actions.pod:1866
28205 #: ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:2485
28206 #: ../src/guestfs-actions.pod:2546 ../src/guestfs-actions.pod:2581
28207 #: ../src/guestfs-actions.pod:3621 ../src/guestfs-actions.pod:3636
28208 #: ../src/guestfs-actions.pod:3661 ../src/guestfs-actions.pod:3850
28209 #: ../src/guestfs-actions.pod:3864 ../src/guestfs-actions.pod:3877
28210 #: ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:3906
28211 #: ../src/guestfs-actions.pod:3942 ../src/guestfs-actions.pod:4014
28212 #: ../src/guestfs-actions.pod:4034 ../src/guestfs-actions.pod:4051
28213 #: ../src/guestfs-actions.pod:4074 ../src/guestfs-actions.pod:4097
28214 #: ../src/guestfs-actions.pod:4132 ../src/guestfs-actions.pod:4151
28215 #: ../src/guestfs-actions.pod:4170 ../src/guestfs-actions.pod:4205
28216 #: ../src/guestfs-actions.pod:4217 ../src/guestfs-actions.pod:4253
28217 #: ../src/guestfs-actions.pod:4269 ../src/guestfs-actions.pod:4282
28218 #: ../src/guestfs-actions.pod:4297 ../src/guestfs-actions.pod:4314
28219 #: ../src/guestfs-actions.pod:4407 ../src/guestfs-actions.pod:4427
28220 #: ../src/guestfs-actions.pod:4440 ../src/guestfs-actions.pod:4491
28221 #: ../src/guestfs-actions.pod:4509 ../src/guestfs-actions.pod:4527
28222 #: ../src/guestfs-actions.pod:4543 ../src/guestfs-actions.pod:4557
28223 #: ../src/guestfs-actions.pod:4571 ../src/guestfs-actions.pod:4588
28224 #: ../src/guestfs-actions.pod:4603 ../src/guestfs-actions.pod:4623
28225 #: ../src/guestfs-actions.pod:4693 ../src/guestfs-actions.pod:4766
28226 #: ../src/guestfs-actions.pod:4797 ../src/guestfs-actions.pod:4816
28227 #: ../src/guestfs-actions.pod:4835 ../src/guestfs-actions.pod:4847
28228 #: ../src/guestfs-actions.pod:4864 ../src/guestfs-actions.pod:4877
28229 #: ../src/guestfs-actions.pod:4892 ../src/guestfs-actions.pod:4907
28230 #: ../src/guestfs-actions.pod:4942 ../src/guestfs-actions.pod:4975
28231 #: ../src/guestfs-actions.pod:5014 ../src/guestfs-actions.pod:5034
28232 #: ../src/guestfs-actions.pod:5048 ../src/guestfs-actions.pod:5065
28233 #: ../src/guestfs-actions.pod:5114 ../src/guestfs-actions.pod:5160
28234 #: ../src/guestfs-actions.pod:5214 ../src/guestfs-actions.pod:5250
28235 #: ../src/guestfs-actions.pod:5285 ../src/guestfs-actions.pod:5302
28236 #: ../src/guestfs-actions.pod:5320 ../src/guestfs-actions.pod:5460
28237 #: ../src/guestfs-actions.pod:5517 ../src/guestfs-actions.pod:5539
28238 #: ../src/guestfs-actions.pod:5557 ../src/guestfs-actions.pod:5589
28239 #: ../src/guestfs-actions.pod:5655 ../src/guestfs-actions.pod:5672
28240 #: ../src/guestfs-actions.pod:5685 ../src/guestfs-actions.pod:5699
28241 #: ../src/guestfs-actions.pod:5988 ../src/guestfs-actions.pod:6007
28242 #: ../src/guestfs-actions.pod:6026 ../src/guestfs-actions.pod:6040
28243 #: ../src/guestfs-actions.pod:6052 ../src/guestfs-actions.pod:6066
28244 #: ../src/guestfs-actions.pod:6078 ../src/guestfs-actions.pod:6092
28245 #: ../src/guestfs-actions.pod:6108 ../src/guestfs-actions.pod:6129
28246 #: ../src/guestfs-actions.pod:6148 ../src/guestfs-actions.pod:6167
28247 #: ../src/guestfs-actions.pod:6197 ../src/guestfs-actions.pod:6215
28248 #: ../src/guestfs-actions.pod:6238 ../src/guestfs-actions.pod:6256
28249 #: ../src/guestfs-actions.pod:6275 ../src/guestfs-actions.pod:6296
28250 #: ../src/guestfs-actions.pod:6315 ../src/guestfs-actions.pod:6332
28251 #: ../src/guestfs-actions.pod:6351 ../src/guestfs-actions.pod:6379
28252 #: ../src/guestfs-actions.pod:6403 ../src/guestfs-actions.pod:6422
28253 #: ../src/guestfs-actions.pod:6446 ../src/guestfs-actions.pod:6465
28254 #: ../src/guestfs-actions.pod:6480 ../src/guestfs-actions.pod:6499
28255 #: ../src/guestfs-actions.pod:6536 ../src/guestfs-actions.pod:6566
28256 #: ../src/guestfs-actions.pod:6599 ../src/guestfs-actions.pod:6721
28257 #: ../src/guestfs-actions.pod:6842 ../src/guestfs-actions.pod:6854
28258 #: ../src/guestfs-actions.pod:6867 ../src/guestfs-actions.pod:6880
28259 #: ../src/guestfs-actions.pod:6902 ../src/guestfs-actions.pod:6915
28260 #: ../src/guestfs-actions.pod:6928 ../src/guestfs-actions.pod:6941
28261 #: ../src/guestfs-actions.pod:6956 ../src/guestfs-actions.pod:7015
28262 #: ../src/guestfs-actions.pod:7032 ../src/guestfs-actions.pod:7048
28263 #: ../src/guestfs-actions.pod:7064 ../src/guestfs-actions.pod:7081
28264 #: ../src/guestfs-actions.pod:7094 ../src/guestfs-actions.pod:7114
28265 #: ../src/guestfs-actions.pod:7150 ../src/guestfs-actions.pod:7164
28266 #: ../src/guestfs-actions.pod:7205 ../src/guestfs-actions.pod:7218
28267 #: ../src/guestfs-actions.pod:7236 ../src/guestfs-actions.pod:7270
28268 #: ../src/guestfs-actions.pod:7306 ../src/guestfs-actions.pod:7422
28269 #: ../src/guestfs-actions.pod:7437 ../src/guestfs-actions.pod:7451
28270 #: ../src/guestfs-actions.pod:7506 ../src/guestfs-actions.pod:7519
28271 #: ../src/guestfs-actions.pod:7564 ../src/guestfs-actions.pod:7597
28272 #: ../src/guestfs-actions.pod:7660 ../src/guestfs-actions.pod:7680
28273 #: ../src/guestfs-actions.pod:7706 ../src/guestfs-actions.pod:7773
28274 #: ../src/guestfs-actions.pod:7792 ../src/guestfs-actions.pod:7821
28275 msgid "This function returns 0 on success or -1 on error."
28279 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:39
28280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:142
28281 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1165
28282 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1980
28283 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2078
28284 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2192
28285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3623
28286 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3643
28287 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4951
28288 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6217
28289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6334
28290 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6467
28291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6958
28292 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7083
28293 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7606
28294 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:142
28295 #: ../src/guestfs-actions.pod:1165 ../src/guestfs-actions.pod:1980
28296 #: ../src/guestfs-actions.pod:2078 ../src/guestfs-actions.pod:2192
28297 #: ../src/guestfs-actions.pod:3623 ../src/guestfs-actions.pod:3643
28298 #: ../src/guestfs-actions.pod:4951 ../src/guestfs-actions.pod:6217
28299 #: ../src/guestfs-actions.pod:6334 ../src/guestfs-actions.pod:6467
28300 #: ../src/guestfs-actions.pod:6958 ../src/guestfs-actions.pod:7083
28301 #: ../src/guestfs-actions.pod:7606
28302 msgid "(Added in 0.3)"
28306 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:41
28307 #: ../src/guestfs-actions.pod:41
28308 msgid "guestfs_add_domain"
28312 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:43
28313 #: ../src/guestfs-actions.pod:43
28317 " guestfs_add_domain (guestfs_h *g,\n"
28318 " const char *dom,\n"
28324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:48
28325 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:151
28326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:832
28327 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2826
28328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4642
28329 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4961
28330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5178
28331 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:151
28332 #: ../src/guestfs-actions.pod:832 ../src/guestfs-actions.pod:2826
28333 #: ../src/guestfs-actions.pod:4642 ../src/guestfs-actions.pod:4961
28334 #: ../src/guestfs-actions.pod:5178
28336 "You may supply a list of optional arguments to this call. Use zero or more "
28337 "of the following pairs of parameters, and terminate the list with C<-1> on "
28338 "its own. See L</CALLS WITH OPTIONAL ARGUMENTS>."
28342 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:53
28343 #: ../src/guestfs-actions.pod:53
28346 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
28347 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
28348 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
28349 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
28350 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
28355 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:59
28356 #: ../src/guestfs-actions.pod:59
28358 "This function adds the disk(s) attached to the named libvirt domain C<dom>. "
28359 "It works by connecting to libvirt, requesting the domain and domain XML from "
28360 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
28365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:94
28366 #: ../src/guestfs-actions.pod:94
28368 "The other optional parameters are passed directly through to "
28369 "C<guestfs_add_drive_opts>."
28373 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:97
28374 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:350
28375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:515
28376 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:693
28377 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:724
28378 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:742
28379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:761
28380 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1380
28381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1736
28382 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1939
28383 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2050
28384 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2101
28385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2156
28386 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2179
28387 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2472
28388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2944
28389 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2962
28390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5137
28391 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5357
28392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5769
28393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5795
28394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7191
28395 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7617
28396 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7630
28397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7643
28398 #: ../src/guestfs-actions.pod:97 ../src/guestfs-actions.pod:350
28399 #: ../src/guestfs-actions.pod:515 ../src/guestfs-actions.pod:693
28400 #: ../src/guestfs-actions.pod:724 ../src/guestfs-actions.pod:742
28401 #: ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:1380
28402 #: ../src/guestfs-actions.pod:1736 ../src/guestfs-actions.pod:1939
28403 #: ../src/guestfs-actions.pod:2050 ../src/guestfs-actions.pod:2101
28404 #: ../src/guestfs-actions.pod:2156 ../src/guestfs-actions.pod:2179
28405 #: ../src/guestfs-actions.pod:2472 ../src/guestfs-actions.pod:2944
28406 #: ../src/guestfs-actions.pod:2962 ../src/guestfs-actions.pod:5137
28407 #: ../src/guestfs-actions.pod:5357 ../src/guestfs-actions.pod:5769
28408 #: ../src/guestfs-actions.pod:5795 ../src/guestfs-actions.pod:7191
28409 #: ../src/guestfs-actions.pod:7617 ../src/guestfs-actions.pod:7630
28410 #: ../src/guestfs-actions.pod:7643
28411 msgid "On error this function returns -1."
28415 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:99
28416 #: ../src/guestfs-actions.pod:99
28417 msgid "(Added in 1.7.4)"
28421 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:101
28422 #: ../src/guestfs-actions.pod:101
28423 msgid "guestfs_add_domain_va"
28427 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:103
28428 #: ../src/guestfs-actions.pod:103
28432 " guestfs_add_domain_va (guestfs_h *g,\n"
28433 " const char *dom,\n"
28434 " va_list args);\n"
28439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:108
28440 #: ../src/guestfs-actions.pod:108
28441 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
28445 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:110
28446 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:121
28447 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:214
28448 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:225
28449 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:871
28450 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:882
28451 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2910
28452 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2922
28453 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4707
28454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4719
28455 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4989
28456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5001
28457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5227
28458 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5238
28459 #: ../src/guestfs-actions.pod:110 ../src/guestfs-actions.pod:121
28460 #: ../src/guestfs-actions.pod:214 ../src/guestfs-actions.pod:225
28461 #: ../src/guestfs-actions.pod:871 ../src/guestfs-actions.pod:882
28462 #: ../src/guestfs-actions.pod:2910 ../src/guestfs-actions.pod:2922
28463 #: ../src/guestfs-actions.pod:4707 ../src/guestfs-actions.pod:4719
28464 #: ../src/guestfs-actions.pod:4989 ../src/guestfs-actions.pod:5001
28465 #: ../src/guestfs-actions.pod:5227 ../src/guestfs-actions.pod:5238
28466 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
28467 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
28470 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:112
28471 #: ../src/guestfs-actions.pod:112
28472 msgid "guestfs_add_domain_argv"
28473 msgstr "guestfs_add_domain_argv"
28476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:114
28477 #: ../src/guestfs-actions.pod:114
28481 " guestfs_add_domain_argv (guestfs_h *g,\n"
28482 " const char *dom,\n"
28483 " const struct guestfs_add_domain_argv *optargs);\n"
28488 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:119
28489 #: ../src/guestfs-actions.pod:119
28490 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
28494 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:123
28495 #: ../src/guestfs-actions.pod:123
28496 msgid "guestfs_add_drive"
28500 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:125
28501 #: ../src/guestfs-actions.pod:125
28505 " guestfs_add_drive (guestfs_h *g,\n"
28506 " const char *filename);\n"
28511 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:129
28512 #: ../src/guestfs-actions.pod:129
28514 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
28515 "optional parameters, so the disk is added writable, with the format being "
28516 "detected automatically."
28520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:133
28521 #: ../src/guestfs-actions.pod:133
28523 "Automatic detection of the format opens you up to a potential security hole "
28524 "when dealing with untrusted raw-format images. See CVE-2010-3851 and "
28525 "RHBZ#642934. Specifying the format closes this security hole. Therefore "
28526 "you should think about replacing calls to this function with calls to "
28527 "C<guestfs_add_drive_opts>, and specifying the format."
28531 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:144
28532 #: ../src/guestfs-actions.pod:144
28533 msgid "guestfs_add_drive_opts"
28537 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:146
28538 #: ../src/guestfs-actions.pod:146
28542 " guestfs_add_drive_opts (guestfs_h *g,\n"
28543 " const char *filename,\n"
28549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:156
28550 #: ../src/guestfs-actions.pod:156
28553 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
28554 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
28555 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
28560 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:185
28561 #: ../src/guestfs-actions.pod:185
28563 "This forces the image format. If you omit this (or use C<guestfs_add_drive> "
28564 "or C<guestfs_add_drive_ro>) then the format is automatically detected. "
28565 "Possible formats include C<raw> and C<qcow2>."
28569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:196
28570 #: ../src/guestfs-actions.pod:196
28572 "This rarely-used option lets you emulate the behaviour of the deprecated "
28573 "C<guestfs_add_drive_with_if> call (q.v.)"
28577 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:203
28578 #: ../src/guestfs-actions.pod:203
28579 msgid "(Added in 1.5.23)"
28583 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:205
28584 #: ../src/guestfs-actions.pod:205
28585 msgid "guestfs_add_drive_opts_va"
28589 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:207
28590 #: ../src/guestfs-actions.pod:207
28594 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
28595 " const char *filename,\n"
28596 " va_list args);\n"
28601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:212
28602 #: ../src/guestfs-actions.pod:212
28603 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
28607 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:216
28608 #: ../src/guestfs-actions.pod:216
28609 msgid "guestfs_add_drive_opts_argv"
28613 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:218
28614 #: ../src/guestfs-actions.pod:218
28618 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
28619 " const char *filename,\n"
28620 " const struct guestfs_add_drive_opts_argv *optargs);\n"
28625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:223
28626 #: ../src/guestfs-actions.pod:223
28627 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
28631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:227
28632 #: ../src/guestfs-actions.pod:227
28633 msgid "guestfs_add_drive_ro"
28637 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:229
28638 #: ../src/guestfs-actions.pod:229
28642 " guestfs_add_drive_ro (guestfs_h *g,\n"
28643 " const char *filename);\n"
28648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:233
28649 #: ../src/guestfs-actions.pod:233
28651 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
28652 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
28653 "disk is added read-only, with the format being detected automatically."
28657 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:240
28658 #: ../src/guestfs-actions.pod:240
28659 msgid "(Added in 1.0.38)"
28663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:242
28664 #: ../src/guestfs-actions.pod:242
28665 msgid "guestfs_add_drive_ro_with_if"
28669 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:244
28670 #: ../src/guestfs-actions.pod:244
28674 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
28675 " const char *filename,\n"
28676 " const char *iface);\n"
28681 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:249
28682 #: ../src/guestfs-actions.pod:249
28684 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
28685 "QEMU interface emulation to use at run time."
28689 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:261
28690 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:282
28691 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2431
28692 #: ../src/guestfs-actions.pod:261 ../src/guestfs-actions.pod:282
28693 #: ../src/guestfs-actions.pod:2431
28694 msgid "(Added in 1.0.84)"
28698 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:263
28699 #: ../src/guestfs-actions.pod:263
28700 msgid "guestfs_add_drive_with_if"
28704 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:265
28705 #: ../src/guestfs-actions.pod:265
28709 " guestfs_add_drive_with_if (guestfs_h *g,\n"
28710 " const char *filename,\n"
28711 " const char *iface);\n"
28716 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:270
28717 #: ../src/guestfs-actions.pod:270
28719 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
28720 "QEMU interface emulation to use at run time."
28724 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:284
28725 #: ../src/guestfs-actions.pod:284
28726 msgid "guestfs_aug_clear"
28730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:286
28731 #: ../src/guestfs-actions.pod:286
28735 " guestfs_aug_clear (guestfs_h *g,\n"
28736 " const char *augpath);\n"
28741 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:295
28742 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2181
28743 #: ../src/guestfs-actions.pod:295 ../src/guestfs-actions.pod:2181
28744 msgid "(Added in 1.3.4)"
28748 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:297
28749 #: ../src/guestfs-actions.pod:297
28750 msgid "guestfs_aug_close"
28754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:299
28755 #: ../src/guestfs-actions.pod:299
28759 " guestfs_aug_close (guestfs_h *g);\n"
28764 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:302
28765 #: ../src/guestfs-actions.pod:302
28767 "Close the current Augeas handle and free up any resources used by it. After "
28768 "calling this, you have to call C<guestfs_aug_init> again before you can use "
28769 "any other Augeas functions."
28773 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:309
28774 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:334
28775 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:352
28776 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:366
28777 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:424
28778 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:444
28779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:458
28780 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:489
28781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:503
28782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:517
28783 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:531
28784 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:549
28785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5846
28786 #: ../src/guestfs-actions.pod:309 ../src/guestfs-actions.pod:334
28787 #: ../src/guestfs-actions.pod:352 ../src/guestfs-actions.pod:366
28788 #: ../src/guestfs-actions.pod:424 ../src/guestfs-actions.pod:444
28789 #: ../src/guestfs-actions.pod:458 ../src/guestfs-actions.pod:489
28790 #: ../src/guestfs-actions.pod:503 ../src/guestfs-actions.pod:517
28791 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:549
28792 #: ../src/guestfs-actions.pod:5846
28793 msgid "(Added in 0.7)"
28797 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:311
28798 #: ../src/guestfs-actions.pod:311
28799 msgid "guestfs_aug_defnode"
28803 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:313
28804 #: ../src/guestfs-actions.pod:313
28807 " struct guestfs_int_bool *\n"
28808 " guestfs_aug_defnode (guestfs_h *g,\n"
28809 " const char *name,\n"
28810 " const char *expr,\n"
28811 " const char *val);\n"
28816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:322
28817 #: ../src/guestfs-actions.pod:322
28819 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
28820 "calling C<guestfs_aug_set> C<expr>, C<value>. C<name> will be the nodeset "
28821 "containing that single node."
28825 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:330
28826 #: ../src/guestfs-actions.pod:330
28828 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
28829 "an error. I<The caller must call C<guestfs_free_int_bool> after use>."
28833 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:336
28834 #: ../src/guestfs-actions.pod:336
28835 msgid "guestfs_aug_defvar"
28839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:338
28840 #: ../src/guestfs-actions.pod:338
28844 " guestfs_aug_defvar (guestfs_h *g,\n"
28845 " const char *name,\n"
28846 " const char *expr);\n"
28851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:354
28852 #: ../src/guestfs-actions.pod:354
28853 msgid "guestfs_aug_get"
28857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:356
28858 #: ../src/guestfs-actions.pod:356
28862 " guestfs_aug_get (guestfs_h *g,\n"
28863 " const char *augpath);\n"
28868 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:363
28869 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:922
28870 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:940
28871 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1000
28872 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1016
28873 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1119
28874 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1249
28875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1266
28876 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1285
28877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1419
28878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1607
28879 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1719
28880 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1882
28881 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1899
28882 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1966
28883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2002
28884 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2023
28885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2204
28886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2396
28887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2600
28888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2690
28889 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2794
28890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2813
28891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3027
28892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3055
28893 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3076
28894 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3110
28895 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3169
28896 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3189
28897 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3209
28898 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3836
28899 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4189
28900 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4359
28901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4469
28902 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5375
28903 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5574
28904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5744
28905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5922
28906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5971
28907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6627
28908 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6643
28909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6660
28910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6691
28911 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7365
28912 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7384
28913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7402
28914 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7576
28915 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7878
28916 #: ../src/guestfs-actions.pod:363 ../src/guestfs-actions.pod:922
28917 #: ../src/guestfs-actions.pod:940 ../src/guestfs-actions.pod:1000
28918 #: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:1119
28919 #: ../src/guestfs-actions.pod:1249 ../src/guestfs-actions.pod:1266
28920 #: ../src/guestfs-actions.pod:1285 ../src/guestfs-actions.pod:1419
28921 #: ../src/guestfs-actions.pod:1607 ../src/guestfs-actions.pod:1719
28922 #: ../src/guestfs-actions.pod:1882 ../src/guestfs-actions.pod:1899
28923 #: ../src/guestfs-actions.pod:1966 ../src/guestfs-actions.pod:2002
28924 #: ../src/guestfs-actions.pod:2023 ../src/guestfs-actions.pod:2204
28925 #: ../src/guestfs-actions.pod:2396 ../src/guestfs-actions.pod:2600
28926 #: ../src/guestfs-actions.pod:2690 ../src/guestfs-actions.pod:2794
28927 #: ../src/guestfs-actions.pod:2813 ../src/guestfs-actions.pod:3027
28928 #: ../src/guestfs-actions.pod:3055 ../src/guestfs-actions.pod:3076
28929 #: ../src/guestfs-actions.pod:3110 ../src/guestfs-actions.pod:3169
28930 #: ../src/guestfs-actions.pod:3189 ../src/guestfs-actions.pod:3209
28931 #: ../src/guestfs-actions.pod:3836 ../src/guestfs-actions.pod:4189
28932 #: ../src/guestfs-actions.pod:4359 ../src/guestfs-actions.pod:4469
28933 #: ../src/guestfs-actions.pod:5375 ../src/guestfs-actions.pod:5574
28934 #: ../src/guestfs-actions.pod:5744 ../src/guestfs-actions.pod:5922
28935 #: ../src/guestfs-actions.pod:5971 ../src/guestfs-actions.pod:6627
28936 #: ../src/guestfs-actions.pod:6643 ../src/guestfs-actions.pod:6660
28937 #: ../src/guestfs-actions.pod:6691 ../src/guestfs-actions.pod:7365
28938 #: ../src/guestfs-actions.pod:7384 ../src/guestfs-actions.pod:7402
28939 #: ../src/guestfs-actions.pod:7576 ../src/guestfs-actions.pod:7878
28941 "This function returns a string, or NULL on error. I<The caller must free "
28942 "the returned string after use>."
28946 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:368
28947 #: ../src/guestfs-actions.pod:368
28948 msgid "guestfs_aug_init"
28952 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:370
28953 #: ../src/guestfs-actions.pod:370
28957 " guestfs_aug_init (guestfs_h *g,\n"
28958 " const char *root,\n"
28964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:379
28965 #: ../src/guestfs-actions.pod:379
28966 msgid "You must call this before using any other C<guestfs_aug_*> commands."
28970 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:414
28971 #: ../src/guestfs-actions.pod:414
28972 msgid "Do not load the tree in C<guestfs_aug_init>."
28976 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:418
28977 #: ../src/guestfs-actions.pod:418
28978 msgid "To close the handle, you can call C<guestfs_aug_close>."
28982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:426
28983 #: ../src/guestfs-actions.pod:426
28984 msgid "guestfs_aug_insert"
28988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:428
28989 #: ../src/guestfs-actions.pod:428
28993 " guestfs_aug_insert (guestfs_h *g,\n"
28994 " const char *augpath,\n"
28995 " const char *label,\n"
29001 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:446
29002 #: ../src/guestfs-actions.pod:446
29003 msgid "guestfs_aug_load"
29007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:448
29008 #: ../src/guestfs-actions.pod:448
29012 " guestfs_aug_load (guestfs_h *g);\n"
29017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:460
29018 #: ../src/guestfs-actions.pod:460
29019 msgid "guestfs_aug_ls"
29023 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:462
29024 #: ../src/guestfs-actions.pod:462
29028 " guestfs_aug_ls (guestfs_h *g,\n"
29029 " const char *augpath);\n"
29034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:466
29035 #: ../src/guestfs-actions.pod:466
29037 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
29038 "sorting the resulting nodes into alphabetical order."
29042 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:469
29043 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:485
29044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:631
29045 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1138
29046 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1434
29047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1453
29048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1556
29049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1575
29050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1821
29051 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2276
29052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2292
29053 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2311
29054 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2354
29055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2378
29056 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2449
29057 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2498
29058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2755
29059 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3129
29060 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3405
29061 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3719
29062 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3736
29063 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3756
29064 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3818
29065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3923
29066 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4331
29067 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5098
29068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5716
29069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5842
29070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5956
29071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6707
29072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6768
29073 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6823
29074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6969
29075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6993
29076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7469
29077 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7489
29078 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7536
29079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7730
29080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7749
29081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7835
29082 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7854
29083 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7900
29084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7919
29085 #: ../src/guestfs-actions.pod:469 ../src/guestfs-actions.pod:485
29086 #: ../src/guestfs-actions.pod:631 ../src/guestfs-actions.pod:1138
29087 #: ../src/guestfs-actions.pod:1434 ../src/guestfs-actions.pod:1453
29088 #: ../src/guestfs-actions.pod:1556 ../src/guestfs-actions.pod:1575
29089 #: ../src/guestfs-actions.pod:1821 ../src/guestfs-actions.pod:2276
29090 #: ../src/guestfs-actions.pod:2292 ../src/guestfs-actions.pod:2311
29091 #: ../src/guestfs-actions.pod:2354 ../src/guestfs-actions.pod:2378
29092 #: ../src/guestfs-actions.pod:2449 ../src/guestfs-actions.pod:2498
29093 #: ../src/guestfs-actions.pod:2755 ../src/guestfs-actions.pod:3129
29094 #: ../src/guestfs-actions.pod:3405 ../src/guestfs-actions.pod:3719
29095 #: ../src/guestfs-actions.pod:3736 ../src/guestfs-actions.pod:3756
29096 #: ../src/guestfs-actions.pod:3818 ../src/guestfs-actions.pod:3923
29097 #: ../src/guestfs-actions.pod:4331 ../src/guestfs-actions.pod:5098
29098 #: ../src/guestfs-actions.pod:5716 ../src/guestfs-actions.pod:5842
29099 #: ../src/guestfs-actions.pod:5956 ../src/guestfs-actions.pod:6707
29100 #: ../src/guestfs-actions.pod:6768 ../src/guestfs-actions.pod:6823
29101 #: ../src/guestfs-actions.pod:6969 ../src/guestfs-actions.pod:6993
29102 #: ../src/guestfs-actions.pod:7469 ../src/guestfs-actions.pod:7489
29103 #: ../src/guestfs-actions.pod:7536 ../src/guestfs-actions.pod:7730
29104 #: ../src/guestfs-actions.pod:7749 ../src/guestfs-actions.pod:7835
29105 #: ../src/guestfs-actions.pod:7854 ../src/guestfs-actions.pod:7900
29106 #: ../src/guestfs-actions.pod:7919
29108 "This function returns a NULL-terminated array of strings (like L<environ(3)"
29109 ">), or NULL if there was an error. I<The caller must free the strings and "
29110 "the array after use>."
29114 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:473
29115 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1063
29116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1081
29117 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1491
29118 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3483
29119 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3514
29120 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4172
29121 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4222
29122 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4409
29123 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4442
29124 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4605
29125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5102
29126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5657
29127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6054
29128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6068
29129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6080
29130 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6548
29131 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7207
29132 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7220
29133 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7453
29134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7718
29135 #: ../src/guestfs-actions.pod:473 ../src/guestfs-actions.pod:1063
29136 #: ../src/guestfs-actions.pod:1081 ../src/guestfs-actions.pod:1491
29137 #: ../src/guestfs-actions.pod:3483 ../src/guestfs-actions.pod:3514
29138 #: ../src/guestfs-actions.pod:4172 ../src/guestfs-actions.pod:4222
29139 #: ../src/guestfs-actions.pod:4409 ../src/guestfs-actions.pod:4442
29140 #: ../src/guestfs-actions.pod:4605 ../src/guestfs-actions.pod:5102
29141 #: ../src/guestfs-actions.pod:5657 ../src/guestfs-actions.pod:6054
29142 #: ../src/guestfs-actions.pod:6068 ../src/guestfs-actions.pod:6080
29143 #: ../src/guestfs-actions.pod:6548 ../src/guestfs-actions.pod:7207
29144 #: ../src/guestfs-actions.pod:7220 ../src/guestfs-actions.pod:7453
29145 #: ../src/guestfs-actions.pod:7718
29146 msgid "(Added in 0.8)"
29150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:475
29151 #: ../src/guestfs-actions.pod:475
29152 msgid "guestfs_aug_match"
29156 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:477
29157 #: ../src/guestfs-actions.pod:477
29161 " guestfs_aug_match (guestfs_h *g,\n"
29162 " const char *augpath);\n"
29167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:491
29168 #: ../src/guestfs-actions.pod:491
29169 msgid "guestfs_aug_mv"
29173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:493
29174 #: ../src/guestfs-actions.pod:493
29178 " guestfs_aug_mv (guestfs_h *g,\n"
29179 " const char *src,\n"
29180 " const char *dest);\n"
29185 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:505
29186 #: ../src/guestfs-actions.pod:505
29187 msgid "guestfs_aug_rm"
29191 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:507
29192 #: ../src/guestfs-actions.pod:507
29196 " guestfs_aug_rm (guestfs_h *g,\n"
29197 " const char *augpath);\n"
29202 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:519
29203 #: ../src/guestfs-actions.pod:519
29204 msgid "guestfs_aug_save"
29208 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:521
29209 #: ../src/guestfs-actions.pod:521
29213 " guestfs_aug_save (guestfs_h *g);\n"
29218 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:526
29219 #: ../src/guestfs-actions.pod:526
29221 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
29226 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:533
29227 #: ../src/guestfs-actions.pod:533
29228 msgid "guestfs_aug_set"
29232 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:535
29233 #: ../src/guestfs-actions.pod:535
29237 " guestfs_aug_set (guestfs_h *g,\n"
29238 " const char *augpath,\n"
29239 " const char *val);\n"
29244 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:542
29245 #: ../src/guestfs-actions.pod:542
29247 "In the Augeas API, it is possible to clear a node by setting the value to "
29248 "NULL. Due to an oversight in the libguestfs API you cannot do that with "
29249 "this call. Instead you must use the C<guestfs_aug_clear> call."
29253 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:551
29254 #: ../src/guestfs-actions.pod:551
29255 msgid "guestfs_available"
29259 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:553
29260 #: ../src/guestfs-actions.pod:553
29264 " guestfs_available (guestfs_h *g,\n"
29265 " char *const *groups);\n"
29270 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:561
29271 #: ../src/guestfs-actions.pod:561
29273 "The libguestfs groups, and the functions that those groups correspond to, "
29274 "are listed in L<guestfs(3)/AVAILABILITY>. You can also fetch this list at "
29275 "runtime by calling C<guestfs_available_all_groups>."
29279 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:585
29280 #: ../src/guestfs-actions.pod:585
29281 msgid "You must call C<guestfs_launch> before calling this function."
29285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:607
29286 #: ../src/guestfs-actions.pod:607
29288 "This call was added in version C<1.0.80>. In previous versions of "
29289 "libguestfs all you could do would be to speculatively execute a command to "
29290 "find out if the daemon implemented it. See also C<guestfs_version>."
29294 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:616
29295 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1236
29296 #: ../src/guestfs-actions.pod:616 ../src/guestfs-actions.pod:1236
29297 msgid "(Added in 1.0.80)"
29301 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:618
29302 #: ../src/guestfs-actions.pod:618
29303 msgid "guestfs_available_all_groups"
29307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:620
29308 #: ../src/guestfs-actions.pod:620
29312 " guestfs_available_all_groups (guestfs_h *g);\n"
29317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:623
29318 #: ../src/guestfs-actions.pod:623
29320 "This command returns a list of all optional groups that this daemon knows "
29321 "about. Note this returns both supported and unsupported groups. To find "
29322 "out which ones the daemon can actually support you have to call "
29323 "C<guestfs_available> on each member of the returned list."
29327 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:629
29328 #: ../src/guestfs-actions.pod:629
29329 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
29333 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:635
29334 #: ../src/guestfs-actions.pod:635
29335 msgid "(Added in 1.3.15)"
29339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:637
29340 #: ../src/guestfs-actions.pod:637
29341 msgid "guestfs_base64_in"
29345 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:639
29346 #: ../src/guestfs-actions.pod:639
29350 " guestfs_base64_in (guestfs_h *g,\n"
29351 " const char *base64file,\n"
29352 " const char *filename);\n"
29357 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:649
29358 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:663
29359 #: ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:663
29360 msgid "(Added in 1.3.5)"
29364 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:651
29365 #: ../src/guestfs-actions.pod:651
29366 msgid "guestfs_base64_out"
29370 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:653
29371 #: ../src/guestfs-actions.pod:653
29375 " guestfs_base64_out (guestfs_h *g,\n"
29376 " const char *filename,\n"
29377 " const char *base64file);\n"
29382 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:665
29383 #: ../src/guestfs-actions.pod:665
29384 msgid "guestfs_blockdev_flushbufs"
29388 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:667
29389 #: ../src/guestfs-actions.pod:667
29393 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
29394 " const char *device);\n"
29399 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:678
29400 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:695
29401 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:710
29402 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:726
29403 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:744
29404 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:763
29405 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:777
29406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:795
29407 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:809
29408 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:823
29409 #: ../src/guestfs-actions.pod:678 ../src/guestfs-actions.pod:695
29410 #: ../src/guestfs-actions.pod:710 ../src/guestfs-actions.pod:726
29411 #: ../src/guestfs-actions.pod:744 ../src/guestfs-actions.pod:763
29412 #: ../src/guestfs-actions.pod:777 ../src/guestfs-actions.pod:795
29413 #: ../src/guestfs-actions.pod:809 ../src/guestfs-actions.pod:823
29414 msgid "(Added in 0.9.3)"
29418 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:680
29419 #: ../src/guestfs-actions.pod:680
29420 msgid "guestfs_blockdev_getbsz"
29424 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:682
29425 #: ../src/guestfs-actions.pod:682
29429 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
29430 " const char *device);\n"
29435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:697
29436 #: ../src/guestfs-actions.pod:697
29437 msgid "guestfs_blockdev_getro"
29441 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:699
29442 #: ../src/guestfs-actions.pod:699
29446 " guestfs_blockdev_getro (guestfs_h *g,\n"
29447 " const char *device);\n"
29452 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:708
29453 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1474
29454 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1489
29455 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1978
29456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1989
29457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2061
29458 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2087
29459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2127
29460 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2142
29461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2167
29462 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2190
29463 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3226
29464 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3242
29465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3260
29466 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3422
29467 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3436
29468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3451
29469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3465
29470 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3481
29471 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3496
29472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3512
29473 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3526
29474 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3539
29475 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3553
29476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3568
29477 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3583
29478 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3596
29479 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3610
29480 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5339
29481 #: ../src/guestfs-actions.pod:708 ../src/guestfs-actions.pod:1474
29482 #: ../src/guestfs-actions.pod:1489 ../src/guestfs-actions.pod:1978
29483 #: ../src/guestfs-actions.pod:1989 ../src/guestfs-actions.pod:2061
29484 #: ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2127
29485 #: ../src/guestfs-actions.pod:2142 ../src/guestfs-actions.pod:2167
29486 #: ../src/guestfs-actions.pod:2190 ../src/guestfs-actions.pod:3226
29487 #: ../src/guestfs-actions.pod:3242 ../src/guestfs-actions.pod:3260
29488 #: ../src/guestfs-actions.pod:3422 ../src/guestfs-actions.pod:3436
29489 #: ../src/guestfs-actions.pod:3451 ../src/guestfs-actions.pod:3465
29490 #: ../src/guestfs-actions.pod:3481 ../src/guestfs-actions.pod:3496
29491 #: ../src/guestfs-actions.pod:3512 ../src/guestfs-actions.pod:3526
29492 #: ../src/guestfs-actions.pod:3539 ../src/guestfs-actions.pod:3553
29493 #: ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3583
29494 #: ../src/guestfs-actions.pod:3596 ../src/guestfs-actions.pod:3610
29495 #: ../src/guestfs-actions.pod:5339
29496 msgid "This function returns a C truth value on success or -1 on error."
29500 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:712
29501 #: ../src/guestfs-actions.pod:712
29502 msgid "guestfs_blockdev_getsize64"
29506 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:714
29507 #: ../src/guestfs-actions.pod:714
29511 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
29512 " const char *device);\n"
29517 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:720
29518 #: ../src/guestfs-actions.pod:720
29519 msgid "See also C<guestfs_blockdev_getsz>."
29523 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:728
29524 #: ../src/guestfs-actions.pod:728
29525 msgid "guestfs_blockdev_getss"
29529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:730
29530 #: ../src/guestfs-actions.pod:730
29534 " guestfs_blockdev_getss (guestfs_h *g,\n"
29535 " const char *device);\n"
29540 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:737
29541 #: ../src/guestfs-actions.pod:737
29543 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
29548 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:746
29549 #: ../src/guestfs-actions.pod:746
29550 msgid "guestfs_blockdev_getsz"
29554 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:748
29555 #: ../src/guestfs-actions.pod:748
29559 " guestfs_blockdev_getsz (guestfs_h *g,\n"
29560 " const char *device);\n"
29565 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:755
29566 #: ../src/guestfs-actions.pod:755
29568 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
29569 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
29573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:765
29574 #: ../src/guestfs-actions.pod:765
29575 msgid "guestfs_blockdev_rereadpt"
29579 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:767
29580 #: ../src/guestfs-actions.pod:767
29584 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
29585 " const char *device);\n"
29590 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:779
29591 #: ../src/guestfs-actions.pod:779
29592 msgid "guestfs_blockdev_setbsz"
29596 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:781
29597 #: ../src/guestfs-actions.pod:781
29601 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
29602 " const char *device,\n"
29603 " int blocksize);\n"
29608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:797
29609 #: ../src/guestfs-actions.pod:797
29610 msgid "guestfs_blockdev_setro"
29614 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:799
29615 #: ../src/guestfs-actions.pod:799
29619 " guestfs_blockdev_setro (guestfs_h *g,\n"
29620 " const char *device);\n"
29625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:811
29626 #: ../src/guestfs-actions.pod:811
29627 msgid "guestfs_blockdev_setrw"
29631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:813
29632 #: ../src/guestfs-actions.pod:813
29636 " guestfs_blockdev_setrw (guestfs_h *g,\n"
29637 " const char *device);\n"
29642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:825
29643 #: ../src/guestfs-actions.pod:825
29644 msgid "guestfs_btrfs_filesystem_resize"
29648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:827
29649 #: ../src/guestfs-actions.pod:827
29653 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
29654 " const char *mountpoint,\n"
29660 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:837
29661 #: ../src/guestfs-actions.pod:837
29664 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
29669 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:860
29670 #: ../src/guestfs-actions.pod:860
29671 msgid "(Added in 1.11.17)"
29675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:862
29676 #: ../src/guestfs-actions.pod:862
29677 msgid "guestfs_btrfs_filesystem_resize_va"
29681 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:864
29682 #: ../src/guestfs-actions.pod:864
29686 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
29687 " const char *mountpoint,\n"
29688 " va_list args);\n"
29693 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:869
29694 #: ../src/guestfs-actions.pod:869
29695 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
29699 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:873
29700 #: ../src/guestfs-actions.pod:873
29701 msgid "guestfs_btrfs_filesystem_resize_argv"
29705 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:875
29706 #: ../src/guestfs-actions.pod:875
29710 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
29711 " const char *mountpoint,\n"
29712 " const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
29717 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:880
29718 #: ../src/guestfs-actions.pod:880
29719 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
29723 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:884
29724 #: ../src/guestfs-actions.pod:884
29725 msgid "guestfs_case_sensitive_path"
29729 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:886
29730 #: ../src/guestfs-actions.pod:886
29734 " guestfs_case_sensitive_path (guestfs_h *g,\n"
29735 " const char *path);\n"
29740 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:912
29741 #: ../src/guestfs-actions.pod:912
29743 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\") might return C<"
29744 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
29745 "how the directories were originally created under Windows)."
29749 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:920
29750 #: ../src/guestfs-actions.pod:920
29751 msgid "See also C<guestfs_realpath>."
29755 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:925
29756 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7387
29757 #: ../src/guestfs-actions.pod:925 ../src/guestfs-actions.pod:7387
29758 msgid "(Added in 1.0.75)"
29762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:927
29763 #: ../src/guestfs-actions.pod:927
29764 msgid "guestfs_cat"
29768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:929
29769 #: ../src/guestfs-actions.pod:929
29773 " guestfs_cat (guestfs_h *g,\n"
29774 " const char *path);\n"
29779 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:935
29780 #: ../src/guestfs-actions.pod:935
29782 "Note that this function cannot correctly handle binary files (specifically, "
29783 "files containing C<\\0> character which is treated as end of string). For "
29784 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
29785 "functions which have a more complex interface."
29789 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:946
29790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3740
29791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3822
29792 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3839
29793 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3927
29794 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4335
29795 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4349
29796 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5720
29797 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5734
29798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7540
29799 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7554
29800 #: ../src/guestfs-actions.pod:946 ../src/guestfs-actions.pod:3740
29801 #: ../src/guestfs-actions.pod:3822 ../src/guestfs-actions.pod:3839
29802 #: ../src/guestfs-actions.pod:3927 ../src/guestfs-actions.pod:4335
29803 #: ../src/guestfs-actions.pod:4349 ../src/guestfs-actions.pod:5720
29804 #: ../src/guestfs-actions.pod:5734 ../src/guestfs-actions.pod:7540
29805 #: ../src/guestfs-actions.pod:7554
29806 msgid "(Added in 0.4)"
29810 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:948
29811 #: ../src/guestfs-actions.pod:948
29812 msgid "guestfs_checksum"
29816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:950
29817 #: ../src/guestfs-actions.pod:950
29821 " guestfs_checksum (guestfs_h *g,\n"
29822 " const char *csumtype,\n"
29823 " const char *path);\n"
29828 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:996
29829 #: ../src/guestfs-actions.pod:996
29830 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
29834 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:998
29835 #: ../src/guestfs-actions.pod:998
29836 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
29840 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1003
29841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1311
29842 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2158
29843 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3438
29844 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3467
29845 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3528
29846 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3555
29847 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7243
29848 #: ../src/guestfs-actions.pod:1003 ../src/guestfs-actions.pod:1311
29849 #: ../src/guestfs-actions.pod:2158 ../src/guestfs-actions.pod:3438
29850 #: ../src/guestfs-actions.pod:3467 ../src/guestfs-actions.pod:3528
29851 #: ../src/guestfs-actions.pod:3555 ../src/guestfs-actions.pod:7243
29852 msgid "(Added in 1.0.2)"
29856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1005
29857 #: ../src/guestfs-actions.pod:1005
29858 msgid "guestfs_checksum_device"
29862 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1007
29863 #: ../src/guestfs-actions.pod:1007
29867 " guestfs_checksum_device (guestfs_h *g,\n"
29868 " const char *csumtype,\n"
29869 " const char *device);\n"
29874 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1012
29875 #: ../src/guestfs-actions.pod:1012
29877 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
29878 "device named C<device>. For the types of checksums supported see the "
29879 "C<guestfs_checksum> command."
29883 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1019
29884 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5169
29885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5304
29886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5341
29887 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5359
29888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5541
29889 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7152
29890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7166
29891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7566
29892 #: ../src/guestfs-actions.pod:1019 ../src/guestfs-actions.pod:5169
29893 #: ../src/guestfs-actions.pod:5304 ../src/guestfs-actions.pod:5341
29894 #: ../src/guestfs-actions.pod:5359 ../src/guestfs-actions.pod:5541
29895 #: ../src/guestfs-actions.pod:7152 ../src/guestfs-actions.pod:7166
29896 #: ../src/guestfs-actions.pod:7566
29897 msgid "(Added in 1.3.2)"
29901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1021
29902 #: ../src/guestfs-actions.pod:1021
29903 msgid "guestfs_checksums_out"
29907 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1023
29908 #: ../src/guestfs-actions.pod:1023
29912 " guestfs_checksums_out (guestfs_h *g,\n"
29913 " const char *csumtype,\n"
29914 " const char *directory,\n"
29915 " const char *sumsfile);\n"
29920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1043
29921 #: ../src/guestfs-actions.pod:1043
29922 msgid "(Added in 1.3.7)"
29926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1045
29927 #: ../src/guestfs-actions.pod:1045
29928 msgid "guestfs_chmod"
29932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1047
29933 #: ../src/guestfs-actions.pod:1047
29937 " guestfs_chmod (guestfs_h *g,\n"
29939 " const char *path);\n"
29944 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1065
29945 #: ../src/guestfs-actions.pod:1065
29946 msgid "guestfs_chown"
29950 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1067
29951 #: ../src/guestfs-actions.pod:1067
29955 " guestfs_chown (guestfs_h *g,\n"
29958 " const char *path);\n"
29963 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1083
29964 #: ../src/guestfs-actions.pod:1083
29965 msgid "guestfs_command"
29969 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1085
29970 #: ../src/guestfs-actions.pod:1085
29974 " guestfs_command (guestfs_h *g,\n"
29975 " char *const *arguments);\n"
29980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1094
29981 #: ../src/guestfs-actions.pod:1094
29983 "The single parameter is an argv-style list of arguments. The first element "
29984 "is the name of the program to run. Subsequent elements are parameters. The "
29985 "list must be non-empty (ie. must contain a program name). Note that the "
29986 "command runs directly, and is I<not> invoked via the shell (see "
29991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1125
29992 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1145
29993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1610
29994 #: ../src/guestfs-actions.pod:1125 ../src/guestfs-actions.pod:1145
29995 #: ../src/guestfs-actions.pod:1610
29996 msgid "(Added in 0.9.1)"
30000 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1127
30001 #: ../src/guestfs-actions.pod:1127
30002 msgid "guestfs_command_lines"
30006 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1129
30007 #: ../src/guestfs-actions.pod:1129
30011 " guestfs_command_lines (guestfs_h *g,\n"
30012 " char *const *arguments);\n"
30017 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1133
30018 #: ../src/guestfs-actions.pod:1133
30020 "This is the same as C<guestfs_command>, but splits the result into a list of "
30025 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1136
30026 #: ../src/guestfs-actions.pod:1136
30027 msgid "See also: C<guestfs_sh_lines>"
30031 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1147
30032 #: ../src/guestfs-actions.pod:1147
30033 msgid "guestfs_config"
30037 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1149
30038 #: ../src/guestfs-actions.pod:1149
30042 " guestfs_config (guestfs_h *g,\n"
30043 " const char *qemuparam,\n"
30044 " const char *qemuvalue);\n"
30049 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1167
30050 #: ../src/guestfs-actions.pod:1167
30051 msgid "guestfs_copy_size"
30055 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1169
30056 #: ../src/guestfs-actions.pod:1169
30060 " guestfs_copy_size (guestfs_h *g,\n"
30061 " const char *src,\n"
30062 " const char *dest,\n"
30063 " int64_t size);\n"
30068 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1183
30069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1306
30070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1337
30071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1382
30072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1759
30073 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1781
30074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3638
30075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7238
30076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7272
30077 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7775
30078 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7794
30079 #: ../src/guestfs-actions.pod:1183 ../src/guestfs-actions.pod:1306
30080 #: ../src/guestfs-actions.pod:1337 ../src/guestfs-actions.pod:1382
30081 #: ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:1781
30082 #: ../src/guestfs-actions.pod:3638 ../src/guestfs-actions.pod:7238
30083 #: ../src/guestfs-actions.pod:7272 ../src/guestfs-actions.pod:7775
30084 #: ../src/guestfs-actions.pod:7794
30086 "This long-running command can generate progress notification messages so "
30087 "that the caller can display a progress bar or indicator. To receive these "
30088 "messages, the caller must register a progress event callback. See L<guestfs"
30089 "(3)/GUESTFS_EVENT_PROGRESS>."
30093 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1188
30094 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4362
30095 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5747
30096 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7473
30097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7493
30098 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7579
30099 #: ../src/guestfs-actions.pod:1188 ../src/guestfs-actions.pod:4362
30100 #: ../src/guestfs-actions.pod:5747 ../src/guestfs-actions.pod:7473
30101 #: ../src/guestfs-actions.pod:7493 ../src/guestfs-actions.pod:7579
30102 msgid "(Added in 1.0.87)"
30106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1190
30107 #: ../src/guestfs-actions.pod:1190
30112 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1192
30113 #: ../src/guestfs-actions.pod:1192
30117 " guestfs_cp (guestfs_h *g,\n"
30118 " const char *src,\n"
30119 " const char *dest);\n"
30124 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1202
30125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1216
30126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1288
30127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1362
30128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1476
30129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5116
30130 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5591
30131 #: ../src/guestfs-actions.pod:1202 ../src/guestfs-actions.pod:1216
30132 #: ../src/guestfs-actions.pod:1288 ../src/guestfs-actions.pod:1362
30133 #: ../src/guestfs-actions.pod:1476 ../src/guestfs-actions.pod:5116
30134 #: ../src/guestfs-actions.pod:5591
30135 msgid "(Added in 1.0.18)"
30139 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1204
30140 #: ../src/guestfs-actions.pod:1204
30141 msgid "guestfs_cp_a"
30145 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1206
30146 #: ../src/guestfs-actions.pod:1206
30150 " guestfs_cp_a (guestfs_h *g,\n"
30151 " const char *src,\n"
30152 " const char *dest);\n"
30157 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1218
30158 #: ../src/guestfs-actions.pod:1218
30163 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1220
30164 #: ../src/guestfs-actions.pod:1220
30168 " guestfs_dd (guestfs_h *g,\n"
30169 " const char *src,\n"
30170 " const char *dest);\n"
30175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1230
30176 #: ../src/guestfs-actions.pod:1230
30178 "If the destination is a device, it must be as large or larger than the "
30179 "source file or device, otherwise the copy will fail. This command cannot do "
30180 "partial copies (see C<guestfs_copy_size>)."
30184 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1238
30185 #: ../src/guestfs-actions.pod:1238
30190 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1240
30191 #: ../src/guestfs-actions.pod:1240
30195 " guestfs_df (guestfs_h *g);\n"
30200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1245
30201 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1262
30202 #: ../src/guestfs-actions.pod:1245 ../src/guestfs-actions.pod:1262
30204 "This command is mostly useful for interactive sessions. It is I<not> "
30205 "intended that you try to parse the output string. Use C<guestfs_statvfs> "
30210 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1252
30211 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1269
30212 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1387
30213 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2361
30214 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2385
30215 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2453
30216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4472
30217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5016
30218 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6976
30219 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7000
30220 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7619
30221 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7632
30222 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7645
30223 #: ../src/guestfs-actions.pod:1252 ../src/guestfs-actions.pod:1269
30224 #: ../src/guestfs-actions.pod:1387 ../src/guestfs-actions.pod:2361
30225 #: ../src/guestfs-actions.pod:2385 ../src/guestfs-actions.pod:2453
30226 #: ../src/guestfs-actions.pod:4472 ../src/guestfs-actions.pod:5016
30227 #: ../src/guestfs-actions.pod:6976 ../src/guestfs-actions.pod:7000
30228 #: ../src/guestfs-actions.pod:7619 ../src/guestfs-actions.pod:7632
30229 #: ../src/guestfs-actions.pod:7645
30230 msgid "(Added in 1.0.54)"
30234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1254
30235 #: ../src/guestfs-actions.pod:1254
30236 msgid "guestfs_df_h"
30240 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1256
30241 #: ../src/guestfs-actions.pod:1256
30245 " guestfs_df_h (guestfs_h *g);\n"
30250 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1271
30251 #: ../src/guestfs-actions.pod:1271
30252 msgid "guestfs_dmesg"
30256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1273
30257 #: ../src/guestfs-actions.pod:1273
30261 " guestfs_dmesg (guestfs_h *g);\n"
30266 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1280
30267 #: ../src/guestfs-actions.pod:1280
30269 "Another way to get the same information is to enable verbose messages with "
30270 "C<guestfs_set_verbose> or by setting the environment variable "
30271 "C<LIBGUESTFS_DEBUG=1> before running the program."
30275 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1290
30276 #: ../src/guestfs-actions.pod:1290
30277 msgid "guestfs_download"
30281 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1292
30282 #: ../src/guestfs-actions.pod:1292
30286 " guestfs_download (guestfs_h *g,\n"
30287 " const char *remotefilename,\n"
30288 " const char *filename);\n"
30293 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1302
30294 #: ../src/guestfs-actions.pod:1302
30295 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
30299 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1313
30300 #: ../src/guestfs-actions.pod:1313
30301 msgid "guestfs_download_offset"
30305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1315
30306 #: ../src/guestfs-actions.pod:1315
30310 " guestfs_download_offset (guestfs_h *g,\n"
30311 " const char *remotefilename,\n"
30312 " const char *filename,\n"
30313 " int64_t offset,\n"
30314 " int64_t size);\n"
30319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1328
30320 #: ../src/guestfs-actions.pod:1328
30322 "Note that there is no limit on the amount of data that can be downloaded "
30323 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
30324 "full amount unless an error occurs."
30328 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1333
30329 #: ../src/guestfs-actions.pod:1333
30330 msgid "See also C<guestfs_download>, C<guestfs_pread>."
30334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1342
30335 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7277
30336 #: ../src/guestfs-actions.pod:1342 ../src/guestfs-actions.pod:7277
30337 msgid "(Added in 1.5.17)"
30341 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1344
30342 #: ../src/guestfs-actions.pod:1344
30343 msgid "guestfs_drop_caches"
30347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1346
30348 #: ../src/guestfs-actions.pod:1346
30352 " guestfs_drop_caches (guestfs_h *g,\n"
30353 " int whattodrop);\n"
30358 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1364
30359 #: ../src/guestfs-actions.pod:1364
30364 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1366
30365 #: ../src/guestfs-actions.pod:1366
30369 " guestfs_du (guestfs_h *g,\n"
30370 " const char *path);\n"
30375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1389
30376 #: ../src/guestfs-actions.pod:1389
30377 msgid "guestfs_e2fsck_f"
30381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1391
30382 #: ../src/guestfs-actions.pod:1391
30386 " guestfs_e2fsck_f (guestfs_h *g,\n"
30387 " const char *device);\n"
30392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1399
30393 #: ../src/guestfs-actions.pod:1399
30395 "This command is only needed because of C<guestfs_resize2fs> (q.v.). "
30396 "Normally you should use C<guestfs_fsck>."
30400 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1404
30401 #: ../src/guestfs-actions.pod:1404
30402 msgid "(Added in 1.0.29)"
30406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1406
30407 #: ../src/guestfs-actions.pod:1406
30408 msgid "guestfs_echo_daemon"
30412 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1408
30413 #: ../src/guestfs-actions.pod:1408
30417 " guestfs_echo_daemon (guestfs_h *g,\n"
30418 " char *const *words);\n"
30423 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1417
30424 #: ../src/guestfs-actions.pod:1417
30425 msgid "See also C<guestfs_ping_daemon>."
30429 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1422
30430 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2169
30431 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6448
30432 #: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:2169
30433 #: ../src/guestfs-actions.pod:6448
30434 msgid "(Added in 1.0.69)"
30438 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1424
30439 #: ../src/guestfs-actions.pod:1424
30440 msgid "guestfs_egrep"
30444 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1426
30445 #: ../src/guestfs-actions.pod:1426
30449 " guestfs_egrep (guestfs_h *g,\n"
30450 " const char *regex,\n"
30451 " const char *path);\n"
30456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1441
30457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1460
30458 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1517
30459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1563
30460 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1582
30461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2299
30462 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2318
30463 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2474
30464 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2487
30465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2502
30466 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2548
30467 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2570
30468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2583
30469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3852
30470 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3866
30471 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3879
30472 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3893
30473 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4894
30474 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5925
30475 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5974
30476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6844
30477 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6856
30478 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6869
30479 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6882
30480 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6904
30481 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6917
30482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6930
30483 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6943
30484 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7737
30485 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7756
30486 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7842
30487 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7861
30488 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7907
30489 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7926
30490 #: ../src/guestfs-actions.pod:1441 ../src/guestfs-actions.pod:1460
30491 #: ../src/guestfs-actions.pod:1517 ../src/guestfs-actions.pod:1563
30492 #: ../src/guestfs-actions.pod:1582 ../src/guestfs-actions.pod:2299
30493 #: ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2474
30494 #: ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2502
30495 #: ../src/guestfs-actions.pod:2548 ../src/guestfs-actions.pod:2570
30496 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:3852
30497 #: ../src/guestfs-actions.pod:3866 ../src/guestfs-actions.pod:3879
30498 #: ../src/guestfs-actions.pod:3893 ../src/guestfs-actions.pod:4894
30499 #: ../src/guestfs-actions.pod:5925 ../src/guestfs-actions.pod:5974
30500 #: ../src/guestfs-actions.pod:6844 ../src/guestfs-actions.pod:6856
30501 #: ../src/guestfs-actions.pod:6869 ../src/guestfs-actions.pod:6882
30502 #: ../src/guestfs-actions.pod:6904 ../src/guestfs-actions.pod:6917
30503 #: ../src/guestfs-actions.pod:6930 ../src/guestfs-actions.pod:6943
30504 #: ../src/guestfs-actions.pod:7737 ../src/guestfs-actions.pod:7756
30505 #: ../src/guestfs-actions.pod:7842 ../src/guestfs-actions.pod:7861
30506 #: ../src/guestfs-actions.pod:7907 ../src/guestfs-actions.pod:7926
30507 msgid "(Added in 1.0.66)"
30511 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1443
30512 #: ../src/guestfs-actions.pod:1443
30513 msgid "guestfs_egrepi"
30517 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1445
30518 #: ../src/guestfs-actions.pod:1445
30522 " guestfs_egrepi (guestfs_h *g,\n"
30523 " const char *regex,\n"
30524 " const char *path);\n"
30529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1462
30530 #: ../src/guestfs-actions.pod:1462
30531 msgid "guestfs_equal"
30535 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1464
30536 #: ../src/guestfs-actions.pod:1464
30540 " guestfs_equal (guestfs_h *g,\n"
30541 " const char *file1,\n"
30542 " const char *file2);\n"
30547 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1478
30548 #: ../src/guestfs-actions.pod:1478
30549 msgid "guestfs_exists"
30553 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1480
30554 #: ../src/guestfs-actions.pod:1480
30558 " guestfs_exists (guestfs_h *g,\n"
30559 " const char *path);\n"
30564 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1487
30565 #: ../src/guestfs-actions.pod:1487
30566 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
30570 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1493
30571 #: ../src/guestfs-actions.pod:1493
30572 msgid "guestfs_fallocate"
30576 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1495
30577 #: ../src/guestfs-actions.pod:1495
30581 " guestfs_fallocate (guestfs_h *g,\n"
30582 " const char *path,\n"
30588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1519
30589 #: ../src/guestfs-actions.pod:1519
30590 msgid "guestfs_fallocate64"
30594 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1521
30595 #: ../src/guestfs-actions.pod:1521
30599 " guestfs_fallocate64 (guestfs_h *g,\n"
30600 " const char *path,\n"
30606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1530
30607 #: ../src/guestfs-actions.pod:1530
30609 "Note that this call allocates disk blocks for the file. To create a sparse "
30610 "file use C<guestfs_truncate_size> instead."
30614 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1533
30615 #: ../src/guestfs-actions.pod:1533
30617 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
30618 "oversight it only allowed 30 bit lengths to be specified, effectively "
30619 "limiting the maximum size of files created through that call to 1GB."
30623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1544
30624 #: ../src/guestfs-actions.pod:1544
30625 msgid "(Added in 1.3.17)"
30629 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1546
30630 #: ../src/guestfs-actions.pod:1546
30631 msgid "guestfs_fgrep"
30635 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1548
30636 #: ../src/guestfs-actions.pod:1548
30640 " guestfs_fgrep (guestfs_h *g,\n"
30641 " const char *pattern,\n"
30642 " const char *path);\n"
30647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1565
30648 #: ../src/guestfs-actions.pod:1565
30649 msgid "guestfs_fgrepi"
30653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1567
30654 #: ../src/guestfs-actions.pod:1567
30658 " guestfs_fgrepi (guestfs_h *g,\n"
30659 " const char *pattern,\n"
30660 " const char *path);\n"
30665 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1584
30666 #: ../src/guestfs-actions.pod:1584
30667 msgid "guestfs_file"
30671 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1586
30672 #: ../src/guestfs-actions.pod:1586
30676 " guestfs_file (guestfs_h *g,\n"
30677 " const char *path);\n"
30682 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1604
30683 #: ../src/guestfs-actions.pod:1604
30685 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
30686 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
30690 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1612
30691 #: ../src/guestfs-actions.pod:1612
30692 msgid "guestfs_file_architecture"
30696 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1614
30697 #: ../src/guestfs-actions.pod:1614
30701 " guestfs_file_architecture (guestfs_h *g,\n"
30702 " const char *filename);\n"
30707 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1722
30708 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1885
30709 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1902
30710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2603
30711 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2693
30712 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2759
30713 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2946
30714 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2964
30715 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3004
30716 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3079
30717 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3172
30718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3409
30719 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3541
30720 #: ../src/guestfs-actions.pod:1722 ../src/guestfs-actions.pod:1885
30721 #: ../src/guestfs-actions.pod:1902 ../src/guestfs-actions.pod:2603
30722 #: ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2759
30723 #: ../src/guestfs-actions.pod:2946 ../src/guestfs-actions.pod:2964
30724 #: ../src/guestfs-actions.pod:3004 ../src/guestfs-actions.pod:3079
30725 #: ../src/guestfs-actions.pod:3172 ../src/guestfs-actions.pod:3409
30726 #: ../src/guestfs-actions.pod:3541
30727 msgid "(Added in 1.5.3)"
30731 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1724
30732 #: ../src/guestfs-actions.pod:1724
30733 msgid "guestfs_filesize"
30737 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1726
30738 #: ../src/guestfs-actions.pod:1726
30742 " guestfs_filesize (guestfs_h *g,\n"
30743 " const char *file);\n"
30748 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1732
30749 #: ../src/guestfs-actions.pod:1732
30751 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
30752 "C<guestfs_is_dir>, C<guestfs_is_file> etc. To get the size of block "
30753 "devices, use C<guestfs_blockdev_getsize64>."
30757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1738
30758 #: ../src/guestfs-actions.pod:1738
30759 msgid "(Added in 1.0.82)"
30763 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1740
30764 #: ../src/guestfs-actions.pod:1740
30765 msgid "guestfs_fill"
30769 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1742
30770 #: ../src/guestfs-actions.pod:1742
30774 " guestfs_fill (guestfs_h *g,\n"
30777 " const char *path);\n"
30782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1752
30783 #: ../src/guestfs-actions.pod:1752
30785 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
30786 "C<guestfs_truncate_size>. To create a file with a pattern of repeating "
30787 "bytes use C<guestfs_fill_pattern>."
30791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1764
30792 #: ../src/guestfs-actions.pod:1764
30793 msgid "(Added in 1.0.79)"
30797 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1766
30798 #: ../src/guestfs-actions.pod:1766
30799 msgid "guestfs_fill_pattern"
30803 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1768
30804 #: ../src/guestfs-actions.pod:1768
30808 " guestfs_fill_pattern (guestfs_h *g,\n"
30809 " const char *pattern,\n"
30811 " const char *path);\n"
30816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1774
30817 #: ../src/guestfs-actions.pod:1774
30819 "This function is like C<guestfs_fill> except that it creates a new file of "
30820 "length C<len> containing the repeating pattern of bytes in C<pattern>. The "
30821 "pattern is truncated if necessary to ensure the length of the file is "
30822 "exactly C<len> bytes."
30826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1786
30827 #: ../src/guestfs-actions.pod:1786
30828 msgid "(Added in 1.3.12)"
30832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1788
30833 #: ../src/guestfs-actions.pod:1788
30834 msgid "guestfs_find"
30838 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1790
30839 #: ../src/guestfs-actions.pod:1790
30843 " guestfs_find (guestfs_h *g,\n"
30844 " const char *directory);\n"
30849 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1806
30850 #: ../src/guestfs-actions.pod:1806
30852 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
30856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1819
30857 #: ../src/guestfs-actions.pod:1819
30858 msgid "See also C<guestfs_find0>."
30862 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1828
30863 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4299
30864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6009
30865 #: ../src/guestfs-actions.pod:1828 ../src/guestfs-actions.pod:4299
30866 #: ../src/guestfs-actions.pod:6009
30867 msgid "(Added in 1.0.27)"
30871 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1830
30872 #: ../src/guestfs-actions.pod:1830
30873 msgid "guestfs_find0"
30877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1832
30878 #: ../src/guestfs-actions.pod:1832
30882 " guestfs_find0 (guestfs_h *g,\n"
30883 " const char *directory,\n"
30884 " const char *files);\n"
30889 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1841
30890 #: ../src/guestfs-actions.pod:1841
30892 "This command works the same way as C<guestfs_find> with the following "
30897 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1868
30898 #: ../src/guestfs-actions.pod:1868
30899 msgid "(Added in 1.0.74)"
30903 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1870
30904 #: ../src/guestfs-actions.pod:1870
30905 msgid "guestfs_findfs_label"
30909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1872
30910 #: ../src/guestfs-actions.pod:1872
30914 " guestfs_findfs_label (guestfs_h *g,\n"
30915 " const char *label);\n"
30920 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1880
30921 #: ../src/guestfs-actions.pod:1880
30922 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
30926 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1887
30927 #: ../src/guestfs-actions.pod:1887
30928 msgid "guestfs_findfs_uuid"
30932 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1889
30933 #: ../src/guestfs-actions.pod:1889
30937 " guestfs_findfs_uuid (guestfs_h *g,\n"
30938 " const char *uuid);\n"
30943 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1897
30944 #: ../src/guestfs-actions.pod:1897
30945 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
30949 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1904
30950 #: ../src/guestfs-actions.pod:1904
30951 msgid "guestfs_fsck"
30955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1906
30956 #: ../src/guestfs-actions.pod:1906
30960 " guestfs_fsck (guestfs_h *g,\n"
30961 " const char *fstype,\n"
30962 " const char *device);\n"
30967 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1941
30968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7780
30969 #: ../src/guestfs-actions.pod:1941 ../src/guestfs-actions.pod:7780
30970 msgid "(Added in 1.0.16)"
30974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1943
30975 #: ../src/guestfs-actions.pod:1943
30976 msgid "guestfs_get_append"
30980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1945
30981 #: ../src/guestfs-actions.pod:1945
30985 " guestfs_get_append (guestfs_h *g);\n"
30990 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1953
30991 #: ../src/guestfs-actions.pod:1953
30993 "This function returns a string which may be NULL. There is no way to return "
30994 "an error from this function. The string is owned by the guest handle and "
30995 "must I<not> be freed."
30999 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1957
31000 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5687
31001 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6169
31002 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6611
31003 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6630
31004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6646
31005 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6670
31006 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7424
31007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7439
31008 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7823
31009 #: ../src/guestfs-actions.pod:1957 ../src/guestfs-actions.pod:5687
31010 #: ../src/guestfs-actions.pod:6169 ../src/guestfs-actions.pod:6611
31011 #: ../src/guestfs-actions.pod:6630 ../src/guestfs-actions.pod:6646
31012 #: ../src/guestfs-actions.pod:6670 ../src/guestfs-actions.pod:7424
31013 #: ../src/guestfs-actions.pod:7439 ../src/guestfs-actions.pod:7823
31014 msgid "(Added in 1.0.26)"
31018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1959
31019 #: ../src/guestfs-actions.pod:1959
31020 msgid "guestfs_get_attach_method"
31024 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1961
31025 #: ../src/guestfs-actions.pod:1961
31029 " guestfs_get_attach_method (guestfs_h *g);\n"
31034 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1964
31035 #: ../src/guestfs-actions.pod:1964
31036 msgid "Return the current attach method. See C<guestfs_set_attach_method>."
31040 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1969
31041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6199
31042 #: ../src/guestfs-actions.pod:1969 ../src/guestfs-actions.pod:6199
31043 msgid "(Added in 1.9.8)"
31047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1971
31048 #: ../src/guestfs-actions.pod:1971
31049 msgid "guestfs_get_autosync"
31053 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1973
31054 #: ../src/guestfs-actions.pod:1973
31058 " guestfs_get_autosync (guestfs_h *g);\n"
31063 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1982
31064 #: ../src/guestfs-actions.pod:1982
31065 msgid "guestfs_get_direct"
31069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1984
31070 #: ../src/guestfs-actions.pod:1984
31074 " guestfs_get_direct (guestfs_h *g);\n"
31079 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1991
31080 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6240
31081 #: ../src/guestfs-actions.pod:1991 ../src/guestfs-actions.pod:6240
31082 msgid "(Added in 1.0.72)"
31086 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1993
31087 #: ../src/guestfs-actions.pod:1993
31088 msgid "guestfs_get_e2label"
31092 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:1995
31093 #: ../src/guestfs-actions.pod:1995
31097 " guestfs_get_e2label (guestfs_h *g,\n"
31098 " const char *device);\n"
31103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2012
31104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2033
31105 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6258
31106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6277
31107 #: ../src/guestfs-actions.pod:2012 ../src/guestfs-actions.pod:2033
31108 #: ../src/guestfs-actions.pod:6258 ../src/guestfs-actions.pod:6277
31109 msgid "(Added in 1.0.15)"
31113 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2014
31114 #: ../src/guestfs-actions.pod:2014
31115 msgid "guestfs_get_e2uuid"
31119 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2016
31120 #: ../src/guestfs-actions.pod:2016
31124 " guestfs_get_e2uuid (guestfs_h *g,\n"
31125 " const char *device);\n"
31130 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2035
31131 #: ../src/guestfs-actions.pod:2035
31132 msgid "guestfs_get_memsize"
31136 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2037
31137 #: ../src/guestfs-actions.pod:2037
31141 " guestfs_get_memsize (guestfs_h *g);\n"
31146 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2043
31147 #: ../src/guestfs-actions.pod:2043
31149 "If C<guestfs_set_memsize> was not called on this handle, and if "
31150 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
31151 "value for memsize."
31155 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2052
31156 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4590
31157 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4799
31158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4818
31159 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4837
31160 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4849
31161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4866
31162 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4879
31163 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5912
31164 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6298
31165 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6578
31166 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7193
31167 #: ../src/guestfs-actions.pod:2052 ../src/guestfs-actions.pod:4590
31168 #: ../src/guestfs-actions.pod:4799 ../src/guestfs-actions.pod:4818
31169 #: ../src/guestfs-actions.pod:4837 ../src/guestfs-actions.pod:4849
31170 #: ../src/guestfs-actions.pod:4866 ../src/guestfs-actions.pod:4879
31171 #: ../src/guestfs-actions.pod:5912 ../src/guestfs-actions.pod:6298
31172 #: ../src/guestfs-actions.pod:6578 ../src/guestfs-actions.pod:7193
31173 msgid "(Added in 1.0.55)"
31177 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2054
31178 #: ../src/guestfs-actions.pod:2054
31179 msgid "guestfs_get_network"
31183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2056
31184 #: ../src/guestfs-actions.pod:2056
31188 " guestfs_get_network (guestfs_h *g);\n"
31193 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2063
31194 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6317
31195 #: ../src/guestfs-actions.pod:2063 ../src/guestfs-actions.pod:6317
31196 msgid "(Added in 1.5.4)"
31200 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2065
31201 #: ../src/guestfs-actions.pod:2065
31202 msgid "guestfs_get_path"
31206 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2067
31207 #: ../src/guestfs-actions.pod:2067
31211 " guestfs_get_path (guestfs_h *g);\n"
31216 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2075
31217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2115
31218 #: ../src/guestfs-actions.pod:2075 ../src/guestfs-actions.pod:2115
31220 "This function returns a string, or NULL on error. The string is owned by "
31221 "the guest handle and must I<not> be freed."
31225 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2080
31226 #: ../src/guestfs-actions.pod:2080
31227 msgid "guestfs_get_pgroup"
31231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2082
31232 #: ../src/guestfs-actions.pod:2082
31236 " guestfs_get_pgroup (guestfs_h *g);\n"
31241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2089
31242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6353
31243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7685
31244 #: ../src/guestfs-actions.pod:2089 ../src/guestfs-actions.pod:6353
31245 #: ../src/guestfs-actions.pod:7685
31247 #| msgid "(Added in 1.5.1)"
31248 msgid "(Added in 1.11.18)"
31249 msgstr "(Додано у 1.5.1)"
31252 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2091
31253 #: ../src/guestfs-actions.pod:2091
31254 msgid "guestfs_get_pid"
31258 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2093
31259 #: ../src/guestfs-actions.pod:2093
31263 " guestfs_get_pid (guestfs_h *g);\n"
31268 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2103
31269 #: ../src/guestfs-actions.pod:2103
31270 msgid "(Added in 1.0.56)"
31274 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2105
31275 #: ../src/guestfs-actions.pod:2105
31276 msgid "guestfs_get_qemu"
31280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2107
31281 #: ../src/guestfs-actions.pod:2107
31285 " guestfs_get_qemu (guestfs_h *g);\n"
31290 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2118
31291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6381
31292 #: ../src/guestfs-actions.pod:2118 ../src/guestfs-actions.pod:6381
31293 msgid "(Added in 1.0.6)"
31297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2120
31298 #: ../src/guestfs-actions.pod:2120
31299 msgid "guestfs_get_recovery_proc"
31303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2122
31304 #: ../src/guestfs-actions.pod:2122
31308 " guestfs_get_recovery_proc (guestfs_h *g);\n"
31313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2129
31314 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3663
31315 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3994
31316 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4397
31317 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4429
31318 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5617
31319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5960
31320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6405
31321 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7096
31322 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7116
31323 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7308
31324 #: ../src/guestfs-actions.pod:2129 ../src/guestfs-actions.pod:3663
31325 #: ../src/guestfs-actions.pod:3994 ../src/guestfs-actions.pod:4397
31326 #: ../src/guestfs-actions.pod:4429 ../src/guestfs-actions.pod:5617
31327 #: ../src/guestfs-actions.pod:5960 ../src/guestfs-actions.pod:6405
31328 #: ../src/guestfs-actions.pod:7096 ../src/guestfs-actions.pod:7116
31329 #: ../src/guestfs-actions.pod:7308
31330 msgid "(Added in 1.0.77)"
31334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2131
31335 #: ../src/guestfs-actions.pod:2131
31336 msgid "guestfs_get_selinux"
31340 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2133
31341 #: ../src/guestfs-actions.pod:2133
31345 " guestfs_get_selinux (guestfs_h *g);\n"
31350 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2136
31351 #: ../src/guestfs-actions.pod:2136
31353 "This returns the current setting of the selinux flag which is passed to the "
31354 "appliance at boot time. See C<guestfs_set_selinux>."
31358 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2144
31359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2207
31360 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6424
31361 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6482
31362 #: ../src/guestfs-actions.pod:2144 ../src/guestfs-actions.pod:2207
31363 #: ../src/guestfs-actions.pod:6424 ../src/guestfs-actions.pod:6482
31364 msgid "(Added in 1.0.67)"
31368 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2146
31369 #: ../src/guestfs-actions.pod:2146
31370 msgid "guestfs_get_state"
31374 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2148
31375 #: ../src/guestfs-actions.pod:2148
31379 " guestfs_get_state (guestfs_h *g);\n"
31384 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2160
31385 #: ../src/guestfs-actions.pod:2160
31386 msgid "guestfs_get_trace"
31390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2162
31391 #: ../src/guestfs-actions.pod:2162
31395 " guestfs_get_trace (guestfs_h *g);\n"
31400 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2171
31401 #: ../src/guestfs-actions.pod:2171
31402 msgid "guestfs_get_umask"
31406 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2173
31407 #: ../src/guestfs-actions.pod:2173
31411 " guestfs_get_umask (guestfs_h *g);\n"
31416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2176
31417 #: ../src/guestfs-actions.pod:2176
31419 "Return the current umask. By default the umask is C<022> unless it has been "
31420 "set by calling C<guestfs_umask>."
31424 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2183
31425 #: ../src/guestfs-actions.pod:2183
31426 msgid "guestfs_get_verbose"
31430 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2185
31431 #: ../src/guestfs-actions.pod:2185
31435 " guestfs_get_verbose (guestfs_h *g);\n"
31440 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2194
31441 #: ../src/guestfs-actions.pod:2194
31442 msgid "guestfs_getcon"
31446 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2196
31447 #: ../src/guestfs-actions.pod:2196
31451 " guestfs_getcon (guestfs_h *g);\n"
31456 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2201
31457 #: ../src/guestfs-actions.pod:2201
31459 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
31463 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2209
31464 #: ../src/guestfs-actions.pod:2209
31465 msgid "guestfs_getxattr"
31469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2211
31470 #: ../src/guestfs-actions.pod:2211
31474 " guestfs_getxattr (guestfs_h *g,\n"
31475 " const char *path,\n"
31476 " const char *name,\n"
31477 " size_t *size_r);\n"
31482 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2217
31483 #: ../src/guestfs-actions.pod:2217
31485 "Get a single extended attribute from file C<path> named C<name>. This call "
31486 "follows symlinks. If you want to lookup an extended attribute for the "
31487 "symlink itself, use C<guestfs_lgetxattr>."
31491 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2221
31492 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3677
31493 #: ../src/guestfs-actions.pod:2221 ../src/guestfs-actions.pod:3677
31495 "Normally it is better to get all extended attributes from a file in one go "
31496 "by calling C<guestfs_getxattrs>. However some Linux filesystem "
31497 "implementations are buggy and do not provide a way to list out attributes. "
31498 "For these filesystems (notably ntfs-3g) you have to know the names of the "
31499 "extended attributes you want in advance and call this function."
31503 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2231
31504 #: ../src/guestfs-actions.pod:2231
31505 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
31509 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2233
31510 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2424
31511 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2894
31512 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3689
31513 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5610
31514 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5636
31515 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5817
31516 #: ../src/guestfs-actions.pod:2233 ../src/guestfs-actions.pod:2424
31517 #: ../src/guestfs-actions.pod:2894 ../src/guestfs-actions.pod:3689
31518 #: ../src/guestfs-actions.pod:5610 ../src/guestfs-actions.pod:5636
31519 #: ../src/guestfs-actions.pod:5817
31521 "This function returns a buffer, or NULL on error. The size of the returned "
31522 "buffer is written to C<*size_r>. I<The caller must free the returned buffer "
31527 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2237
31528 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3693
31529 #: ../src/guestfs-actions.pod:2237 ../src/guestfs-actions.pod:3693
31530 msgid "(Added in 1.7.24)"
31534 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2239
31535 #: ../src/guestfs-actions.pod:2239
31536 msgid "guestfs_getxattrs"
31540 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2241
31541 #: ../src/guestfs-actions.pod:2241
31544 " struct guestfs_xattr_list *\n"
31545 " guestfs_getxattrs (guestfs_h *g,\n"
31546 " const char *path);\n"
31551 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2251
31552 #: ../src/guestfs-actions.pod:2251
31553 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
31557 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2253
31558 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3705
31559 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4393
31560 #: ../src/guestfs-actions.pod:2253 ../src/guestfs-actions.pod:3705
31561 #: ../src/guestfs-actions.pod:4393
31563 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
31564 "an error. I<The caller must call C<guestfs_free_xattr_list> after use>."
31568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2257
31569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3709
31570 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3908
31571 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3944
31572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5990
31573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6501
31574 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7888
31575 #: ../src/guestfs-actions.pod:2257 ../src/guestfs-actions.pod:3709
31576 #: ../src/guestfs-actions.pod:3908 ../src/guestfs-actions.pod:3944
31577 #: ../src/guestfs-actions.pod:5990 ../src/guestfs-actions.pod:6501
31578 #: ../src/guestfs-actions.pod:7888
31579 msgid "(Added in 1.0.59)"
31583 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2259
31584 #: ../src/guestfs-actions.pod:2259
31585 msgid "guestfs_glob_expand"
31589 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2261
31590 #: ../src/guestfs-actions.pod:2261
31594 " guestfs_glob_expand (guestfs_h *g,\n"
31595 " const char *pattern);\n"
31600 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2280
31601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6694
31602 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6711
31603 #: ../src/guestfs-actions.pod:2280 ../src/guestfs-actions.pod:6694
31604 #: ../src/guestfs-actions.pod:6711
31605 msgid "(Added in 1.0.50)"
31609 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2282
31610 #: ../src/guestfs-actions.pod:2282
31611 msgid "guestfs_grep"
31615 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2284
31616 #: ../src/guestfs-actions.pod:2284
31620 " guestfs_grep (guestfs_h *g,\n"
31621 " const char *regex,\n"
31622 " const char *path);\n"
31627 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2301
31628 #: ../src/guestfs-actions.pod:2301
31629 msgid "guestfs_grepi"
31633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2303
31634 #: ../src/guestfs-actions.pod:2303
31638 " guestfs_grepi (guestfs_h *g,\n"
31639 " const char *regex,\n"
31640 " const char *path);\n"
31645 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2320
31646 #: ../src/guestfs-actions.pod:2320
31647 msgid "guestfs_grub_install"
31651 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2322
31652 #: ../src/guestfs-actions.pod:2322
31656 " guestfs_grub_install (guestfs_h *g,\n"
31657 " const char *root,\n"
31658 " const char *device);\n"
31663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2343
31664 #: ../src/guestfs-actions.pod:2343
31665 msgid "(Added in 1.0.17)"
31669 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2345
31670 #: ../src/guestfs-actions.pod:2345
31671 msgid "guestfs_head"
31675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2347
31676 #: ../src/guestfs-actions.pod:2347
31680 " guestfs_head (guestfs_h *g,\n"
31681 " const char *path);\n"
31686 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2363
31687 #: ../src/guestfs-actions.pod:2363
31688 msgid "guestfs_head_n"
31692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2365
31693 #: ../src/guestfs-actions.pod:2365
31697 " guestfs_head_n (guestfs_h *g,\n"
31699 " const char *path);\n"
31704 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2387
31705 #: ../src/guestfs-actions.pod:2387
31706 msgid "guestfs_hexdump"
31710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2389
31711 #: ../src/guestfs-actions.pod:2389
31715 " guestfs_hexdump (guestfs_h *g,\n"
31716 " const char *path);\n"
31721 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2402
31722 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6775
31723 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6830
31724 #: ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:6775
31725 #: ../src/guestfs-actions.pod:6830
31726 msgid "(Added in 1.0.22)"
31730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2404
31731 #: ../src/guestfs-actions.pod:2404
31732 msgid "guestfs_initrd_cat"
31736 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2406
31737 #: ../src/guestfs-actions.pod:2406
31741 " guestfs_initrd_cat (guestfs_h *g,\n"
31742 " const char *initrdpath,\n"
31743 " const char *filename,\n"
31744 " size_t *size_r);\n"
31749 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2422
31750 #: ../src/guestfs-actions.pod:2422
31751 msgid "See also C<guestfs_initrd_list>."
31755 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2433
31756 #: ../src/guestfs-actions.pod:2433
31757 msgid "guestfs_initrd_list"
31761 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2435
31762 #: ../src/guestfs-actions.pod:2435
31766 " guestfs_initrd_list (guestfs_h *g,\n"
31767 " const char *path);\n"
31772 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2455
31773 #: ../src/guestfs-actions.pod:2455
31774 msgid "guestfs_inotify_add_watch"
31778 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2457
31779 #: ../src/guestfs-actions.pod:2457
31783 " guestfs_inotify_add_watch (guestfs_h *g,\n"
31784 " const char *path,\n"
31790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2476
31791 #: ../src/guestfs-actions.pod:2476
31792 msgid "guestfs_inotify_close"
31796 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2478
31797 #: ../src/guestfs-actions.pod:2478
31801 " guestfs_inotify_close (guestfs_h *g);\n"
31806 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2489
31807 #: ../src/guestfs-actions.pod:2489
31808 msgid "guestfs_inotify_files"
31812 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2491
31813 #: ../src/guestfs-actions.pod:2491
31817 " guestfs_inotify_files (guestfs_h *g);\n"
31822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2494
31823 #: ../src/guestfs-actions.pod:2494
31825 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
31826 "returns a list of pathnames of objects that were touched. The returned "
31827 "pathnames are sorted and deduplicated."
31831 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2504
31832 #: ../src/guestfs-actions.pod:2504
31833 msgid "guestfs_inotify_init"
31837 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2506
31838 #: ../src/guestfs-actions.pod:2506
31842 " guestfs_inotify_init (guestfs_h *g,\n"
31843 " int maxevents);\n"
31848 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2514
31849 #: ../src/guestfs-actions.pod:2514
31851 "C<maxevents> is the maximum number of events which will be queued up between "
31852 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>. If this is "
31853 "passed as C<0>, then the kernel (or previously set) default is used. For "
31854 "Linux 2.6.29 the default was 16384 events. Beyond this limit, the kernel "
31855 "throws away events, but records the fact that it threw them away by setting "
31856 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
31857 "C<guestfs_inotify_read>)."
31861 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2524
31862 #: ../src/guestfs-actions.pod:2524
31864 "Before any events are generated, you have to add some watches to the "
31865 "internal watch list. See: C<guestfs_inotify_add_watch>, "
31866 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
31870 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2530
31871 #: ../src/guestfs-actions.pod:2530
31873 "Queued up events should be read periodically by calling "
31874 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
31875 "wrapper around C<guestfs_inotify_read>). If you don't read the events out "
31876 "often enough then you risk the internal queue overflowing."
31880 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2537
31881 #: ../src/guestfs-actions.pod:2537
31883 "The handle should be closed after use by calling C<guestfs_inotify_close>. "
31884 "This also removes any watches automatically."
31888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2550
31889 #: ../src/guestfs-actions.pod:2550
31890 msgid "guestfs_inotify_read"
31894 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2552
31895 #: ../src/guestfs-actions.pod:2552
31898 " struct guestfs_inotify_event_list *\n"
31899 " guestfs_inotify_read (guestfs_h *g);\n"
31904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2566
31905 #: ../src/guestfs-actions.pod:2566
31907 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
31908 "there was an error. I<The caller must call "
31909 "C<guestfs_free_inotify_event_list> after use>."
31913 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2572
31914 #: ../src/guestfs-actions.pod:2572
31915 msgid "guestfs_inotify_rm_watch"
31919 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2574
31920 #: ../src/guestfs-actions.pod:2574
31924 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
31930 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2578
31931 #: ../src/guestfs-actions.pod:2578
31933 "Remove a previously defined inotify watch. See C<guestfs_inotify_add_watch>."
31937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2585
31938 #: ../src/guestfs-actions.pod:2585
31939 msgid "guestfs_inspect_get_arch"
31943 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2587
31944 #: ../src/guestfs-actions.pod:2587
31948 " guestfs_inspect_get_arch (guestfs_h *g,\n"
31949 " const char *root);\n"
31954 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2591
31955 #: ../src/guestfs-actions.pod:2591
31957 "This returns the architecture of the inspected operating system. The "
31958 "possible return values are listed under C<guestfs_file_architecture>."
31962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2605
31963 #: ../src/guestfs-actions.pod:2605
31964 msgid "guestfs_inspect_get_distro"
31968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2607
31969 #: ../src/guestfs-actions.pod:2607
31973 " guestfs_inspect_get_distro (guestfs_h *g,\n"
31974 " const char *root);\n"
31979 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2695
31980 #: ../src/guestfs-actions.pod:2695
31981 msgid "guestfs_inspect_get_drive_mappings"
31985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2697
31986 #: ../src/guestfs-actions.pod:2697
31990 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
31991 " const char *root);\n"
31996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2726
31997 #: ../src/guestfs-actions.pod:2726
31999 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32000 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
32004 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2730
32005 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2998
32006 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3796
32007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5078
32008 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7132
32009 #: ../src/guestfs-actions.pod:2730 ../src/guestfs-actions.pod:2998
32010 #: ../src/guestfs-actions.pod:3796 ../src/guestfs-actions.pod:5078
32011 #: ../src/guestfs-actions.pod:7132
32013 "This function returns a NULL-terminated array of strings, or NULL if there "
32014 "was an error. The array of strings will always have length C<2n+1>, where "
32015 "C<n> keys and values alternate, followed by the trailing NULL entry. I<The "
32016 "caller must free the strings and the array after use>."
32020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2736
32021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3192
32022 #: ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3192
32023 msgid "(Added in 1.9.17)"
32027 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2738
32028 #: ../src/guestfs-actions.pod:2738
32029 msgid "guestfs_inspect_get_filesystems"
32033 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2740
32034 #: ../src/guestfs-actions.pod:2740
32038 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
32039 " const char *root);\n"
32044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2752
32045 #: ../src/guestfs-actions.pod:2752
32047 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32048 "C<guestfs_inspect_get_mountpoints>."
32052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2761
32053 #: ../src/guestfs-actions.pod:2761
32054 msgid "guestfs_inspect_get_format"
32058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2763
32059 #: ../src/guestfs-actions.pod:2763
32063 " guestfs_inspect_get_format (guestfs_h *g,\n"
32064 " const char *root);\n"
32069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2797
32070 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3228
32071 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3244
32072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3262
32073 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6028
32074 #: ../src/guestfs-actions.pod:2797 ../src/guestfs-actions.pod:3228
32075 #: ../src/guestfs-actions.pod:3244 ../src/guestfs-actions.pod:3262
32076 #: ../src/guestfs-actions.pod:6028
32077 msgid "(Added in 1.9.4)"
32081 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2799
32082 #: ../src/guestfs-actions.pod:2799
32083 msgid "guestfs_inspect_get_hostname"
32087 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2801
32088 #: ../src/guestfs-actions.pod:2801
32092 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
32093 " const char *root);\n"
32098 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2816
32099 #: ../src/guestfs-actions.pod:2816
32100 msgid "(Added in 1.7.9)"
32104 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2818
32105 #: ../src/guestfs-actions.pod:2818
32106 msgid "guestfs_inspect_get_icon"
32110 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2820
32111 #: ../src/guestfs-actions.pod:2820
32115 " guestfs_inspect_get_icon (guestfs_h *g,\n"
32116 " const char *root,\n"
32117 " size_t *size_r,\n"
32123 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2831
32124 #: ../src/guestfs-actions.pod:2831
32127 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
32128 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
32133 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2898
32134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3723
32135 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4977
32136 #: ../src/guestfs-actions.pod:2898 ../src/guestfs-actions.pod:3723
32137 #: ../src/guestfs-actions.pod:4977
32138 msgid "(Added in 1.11.12)"
32142 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2900
32143 #: ../src/guestfs-actions.pod:2900
32144 msgid "guestfs_inspect_get_icon_va"
32148 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2902
32149 #: ../src/guestfs-actions.pod:2902
32153 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
32154 " const char *root,\n"
32155 " size_t *size_r,\n"
32156 " va_list args);\n"
32161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2908
32162 #: ../src/guestfs-actions.pod:2908
32163 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
32167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2912
32168 #: ../src/guestfs-actions.pod:2912
32169 msgid "guestfs_inspect_get_icon_argv"
32173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2914
32174 #: ../src/guestfs-actions.pod:2914
32178 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
32179 " const char *root,\n"
32180 " size_t *size_r,\n"
32181 " const struct guestfs_inspect_get_icon_argv *optargs);\n"
32186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2920
32187 #: ../src/guestfs-actions.pod:2920
32188 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
32192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2924
32193 #: ../src/guestfs-actions.pod:2924
32194 msgid "guestfs_inspect_get_major_version"
32198 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2926
32199 #: ../src/guestfs-actions.pod:2926
32203 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
32204 " const char *root);\n"
32209 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2948
32210 #: ../src/guestfs-actions.pod:2948
32211 msgid "guestfs_inspect_get_minor_version"
32215 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2950
32216 #: ../src/guestfs-actions.pod:2950
32220 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
32221 " const char *root);\n"
32226 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2959
32227 #: ../src/guestfs-actions.pod:2959
32229 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32230 "C<guestfs_inspect_get_major_version>."
32234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2966
32235 #: ../src/guestfs-actions.pod:2966
32236 msgid "guestfs_inspect_get_mountpoints"
32240 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2968
32241 #: ../src/guestfs-actions.pod:2968
32245 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
32246 " const char *root);\n"
32251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2989
32252 #: ../src/guestfs-actions.pod:2989
32254 "For operating systems like Windows which still use drive letters, this call "
32255 "will only return an entry for the first drive \"mounted on\" C</>. For "
32256 "information about the mapping of drive letters to partitions, see "
32257 "C<guestfs_inspect_get_drive_mappings>."
32261 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:2995
32262 #: ../src/guestfs-actions.pod:2995
32264 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32265 "C<guestfs_inspect_get_filesystems>."
32269 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3006
32270 #: ../src/guestfs-actions.pod:3006
32271 msgid "guestfs_inspect_get_package_format"
32275 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3008
32276 #: ../src/guestfs-actions.pod:3008
32280 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
32281 " const char *root);\n"
32286 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3012
32287 #: ../src/guestfs-actions.pod:3012
32289 "This function and C<guestfs_inspect_get_package_management> return the "
32290 "package format and package management tool used by the inspected operating "
32291 "system. For example for Fedora these functions would return C<rpm> (package "
32292 "format) and C<yum> (package management)."
32296 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3030
32297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3058
32298 #: ../src/guestfs-actions.pod:3030 ../src/guestfs-actions.pod:3058
32299 msgid "(Added in 1.7.5)"
32303 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3032
32304 #: ../src/guestfs-actions.pod:3032
32305 msgid "guestfs_inspect_get_package_management"
32309 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3034
32310 #: ../src/guestfs-actions.pod:3034
32314 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
32315 " const char *root);\n"
32320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3038
32321 #: ../src/guestfs-actions.pod:3038
32323 "C<guestfs_inspect_get_package_format> and this function return the package "
32324 "format and package management tool used by the inspected operating system. "
32325 "For example for Fedora these functions would return C<rpm> (package format) "
32326 "and C<yum> (package management)."
32330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3060
32331 #: ../src/guestfs-actions.pod:3060
32332 msgid "guestfs_inspect_get_product_name"
32336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3062
32337 #: ../src/guestfs-actions.pod:3062
32341 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
32342 " const char *root);\n"
32347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3081
32348 #: ../src/guestfs-actions.pod:3081
32349 msgid "guestfs_inspect_get_product_variant"
32353 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3083
32354 #: ../src/guestfs-actions.pod:3083
32358 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
32359 " const char *root);\n"
32364 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3106
32365 #: ../src/guestfs-actions.pod:3106
32367 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32368 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
32372 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3113
32373 #: ../src/guestfs-actions.pod:3113
32374 msgid "(Added in 1.9.13)"
32378 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3115
32379 #: ../src/guestfs-actions.pod:3115
32380 msgid "guestfs_inspect_get_roots"
32384 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3117
32385 #: ../src/guestfs-actions.pod:3117
32389 " guestfs_inspect_get_roots (guestfs_h *g);\n"
32394 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3120
32395 #: ../src/guestfs-actions.pod:3120
32397 "This function is a convenient way to get the list of root devices, as "
32398 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
32399 "the whole inspection process."
32403 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3124
32404 #: ../src/guestfs-actions.pod:3124
32406 "This returns an empty list if either no root devices were found or the "
32407 "caller has not called C<guestfs_inspect_os>."
32411 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3133
32412 #: ../src/guestfs-actions.pod:3133
32413 msgid "(Added in 1.7.3)"
32417 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3135
32418 #: ../src/guestfs-actions.pod:3135
32419 msgid "guestfs_inspect_get_type"
32423 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3137
32424 #: ../src/guestfs-actions.pod:3137
32428 " guestfs_inspect_get_type (guestfs_h *g,\n"
32429 " const char *root);\n"
32434 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3174
32435 #: ../src/guestfs-actions.pod:3174
32436 msgid "guestfs_inspect_get_windows_current_control_set"
32440 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3176
32441 #: ../src/guestfs-actions.pod:3176
32445 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
32446 " const char *root);\n"
32451 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3194
32452 #: ../src/guestfs-actions.pod:3194
32453 msgid "guestfs_inspect_get_windows_systemroot"
32457 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3196
32458 #: ../src/guestfs-actions.pod:3196
32462 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
32463 " const char *root);\n"
32468 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3212
32469 #: ../src/guestfs-actions.pod:3212
32470 msgid "(Added in 1.5.25)"
32474 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3214
32475 #: ../src/guestfs-actions.pod:3214
32476 msgid "guestfs_inspect_is_live"
32480 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3216
32481 #: ../src/guestfs-actions.pod:3216
32485 " guestfs_inspect_is_live (guestfs_h *g,\n"
32486 " const char *root);\n"
32491 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3220
32492 #: ../src/guestfs-actions.pod:3220
32494 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
32495 "disk), then this returns true if a live image was detected on the disk."
32499 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3230
32500 #: ../src/guestfs-actions.pod:3230
32501 msgid "guestfs_inspect_is_multipart"
32505 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3232
32506 #: ../src/guestfs-actions.pod:3232
32510 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
32511 " const char *root);\n"
32516 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3236
32517 #: ../src/guestfs-actions.pod:3236
32519 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
32520 "disk), then this returns true if the disk is part of a set."
32524 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3246
32525 #: ../src/guestfs-actions.pod:3246
32526 msgid "guestfs_inspect_is_netinst"
32530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3248
32531 #: ../src/guestfs-actions.pod:3248
32535 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
32536 " const char *root);\n"
32541 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3252
32542 #: ../src/guestfs-actions.pod:3252
32544 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
32545 "disk), then this returns true if the disk is a network installer, ie. not a "
32546 "self-contained install CD but one which is likely to require network access "
32547 "to complete the install."
32551 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3264
32552 #: ../src/guestfs-actions.pod:3264
32553 msgid "guestfs_inspect_list_applications"
32557 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3266
32558 #: ../src/guestfs-actions.pod:3266
32561 " struct guestfs_application_list *\n"
32562 " guestfs_inspect_list_applications (guestfs_h *g,\n"
32563 " const char *root);\n"
32568 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3272
32569 #: ../src/guestfs-actions.pod:3272
32571 "I<Note:> This call works differently from other parts of the inspection "
32572 "API. You have to call C<guestfs_inspect_os>, then "
32573 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
32574 "this. Listing applications is a significantly more difficult operation "
32575 "which requires access to the full filesystem. Also note that unlike the "
32576 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
32577 "the libguestfs handle, this call actually reads parts of the mounted "
32578 "filesystems during the call."
32582 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3362
32583 #: ../src/guestfs-actions.pod:3362
32585 "This function returns a C<struct guestfs_application_list *>, or NULL if "
32586 "there was an error. I<The caller must call C<guestfs_free_application_list> "
32591 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3366
32592 #: ../src/guestfs-actions.pod:3366
32593 msgid "(Added in 1.7.8)"
32597 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3368
32598 #: ../src/guestfs-actions.pod:3368
32599 msgid "guestfs_inspect_os"
32603 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3370
32604 #: ../src/guestfs-actions.pod:3370
32608 " guestfs_inspect_os (guestfs_h *g);\n"
32613 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3386
32614 #: ../src/guestfs-actions.pod:3386
32616 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
32617 "functions in order to query further information about each operating system, "
32618 "such as the name and version."
32622 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3391
32623 #: ../src/guestfs-actions.pod:3391
32625 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
32626 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
32627 "the contents. This should be called with no disks currently mounted. The "
32628 "function may also use Augeas, so any existing Augeas handle will be closed."
32632 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3403
32633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3734
32634 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3816
32635 #: ../src/guestfs-actions.pod:3403 ../src/guestfs-actions.pod:3734
32636 #: ../src/guestfs-actions.pod:3816
32637 msgid "See also C<guestfs_list_filesystems>."
32641 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3411
32642 #: ../src/guestfs-actions.pod:3411
32643 msgid "guestfs_is_blockdev"
32647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3413
32648 #: ../src/guestfs-actions.pod:3413
32652 " guestfs_is_blockdev (guestfs_h *g,\n"
32653 " const char *path);\n"
32658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3420
32659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3449
32660 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3479
32661 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3494
32662 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3510
32663 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3566
32664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3581
32665 #: ../src/guestfs-actions.pod:3420 ../src/guestfs-actions.pod:3449
32666 #: ../src/guestfs-actions.pod:3479 ../src/guestfs-actions.pod:3494
32667 #: ../src/guestfs-actions.pod:3510 ../src/guestfs-actions.pod:3566
32668 #: ../src/guestfs-actions.pod:3581
32669 msgid "See also C<guestfs_stat>."
32673 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3424
32674 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3453
32675 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3498
32676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3570
32677 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3585
32678 #: ../src/guestfs-actions.pod:3424 ../src/guestfs-actions.pod:3453
32679 #: ../src/guestfs-actions.pod:3498 ../src/guestfs-actions.pod:3570
32680 #: ../src/guestfs-actions.pod:3585
32681 msgid "(Added in 1.5.10)"
32685 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3426
32686 #: ../src/guestfs-actions.pod:3426
32687 msgid "guestfs_is_busy"
32691 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3428
32692 #: ../src/guestfs-actions.pod:3428
32696 " guestfs_is_busy (guestfs_h *g);\n"
32701 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3440
32702 #: ../src/guestfs-actions.pod:3440
32703 msgid "guestfs_is_chardev"
32707 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3442
32708 #: ../src/guestfs-actions.pod:3442
32712 " guestfs_is_chardev (guestfs_h *g,\n"
32713 " const char *path);\n"
32718 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3455
32719 #: ../src/guestfs-actions.pod:3455
32720 msgid "guestfs_is_config"
32724 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3457
32725 #: ../src/guestfs-actions.pod:3457
32729 " guestfs_is_config (guestfs_h *g);\n"
32734 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3469
32735 #: ../src/guestfs-actions.pod:3469
32736 msgid "guestfs_is_dir"
32740 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3471
32741 #: ../src/guestfs-actions.pod:3471
32745 " guestfs_is_dir (guestfs_h *g,\n"
32746 " const char *path);\n"
32751 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3485
32752 #: ../src/guestfs-actions.pod:3485
32753 msgid "guestfs_is_fifo"
32757 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3487
32758 #: ../src/guestfs-actions.pod:3487
32762 " guestfs_is_fifo (guestfs_h *g,\n"
32763 " const char *path);\n"
32768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3500
32769 #: ../src/guestfs-actions.pod:3500
32770 msgid "guestfs_is_file"
32774 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3502
32775 #: ../src/guestfs-actions.pod:3502
32779 " guestfs_is_file (guestfs_h *g,\n"
32780 " const char *path);\n"
32785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3516
32786 #: ../src/guestfs-actions.pod:3516
32787 msgid "guestfs_is_launching"
32791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3518
32792 #: ../src/guestfs-actions.pod:3518
32796 " guestfs_is_launching (guestfs_h *g);\n"
32801 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3530
32802 #: ../src/guestfs-actions.pod:3530
32803 msgid "guestfs_is_lv"
32807 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3532
32808 #: ../src/guestfs-actions.pod:3532
32812 " guestfs_is_lv (guestfs_h *g,\n"
32813 " const char *device);\n"
32818 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3543
32819 #: ../src/guestfs-actions.pod:3543
32820 msgid "guestfs_is_ready"
32824 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3545
32825 #: ../src/guestfs-actions.pod:3545
32829 " guestfs_is_ready (guestfs_h *g);\n"
32834 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3557
32835 #: ../src/guestfs-actions.pod:3557
32836 msgid "guestfs_is_socket"
32840 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3559
32841 #: ../src/guestfs-actions.pod:3559
32845 " guestfs_is_socket (guestfs_h *g,\n"
32846 " const char *path);\n"
32851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3572
32852 #: ../src/guestfs-actions.pod:3572
32853 msgid "guestfs_is_symlink"
32857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3574
32858 #: ../src/guestfs-actions.pod:3574
32862 " guestfs_is_symlink (guestfs_h *g,\n"
32863 " const char *path);\n"
32868 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3587
32869 #: ../src/guestfs-actions.pod:3587
32870 msgid "guestfs_is_zero"
32874 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3589
32875 #: ../src/guestfs-actions.pod:3589
32879 " guestfs_is_zero (guestfs_h *g,\n"
32880 " const char *path);\n"
32885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3598
32886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3612
32887 #: ../src/guestfs-actions.pod:3598 ../src/guestfs-actions.pod:3612
32888 msgid "(Added in 1.11.8)"
32892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3600
32893 #: ../src/guestfs-actions.pod:3600
32894 msgid "guestfs_is_zero_device"
32898 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3602
32899 #: ../src/guestfs-actions.pod:3602
32903 " guestfs_is_zero_device (guestfs_h *g,\n"
32904 " const char *device);\n"
32909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3614
32910 #: ../src/guestfs-actions.pod:3614
32911 msgid "guestfs_kill_subprocess"
32915 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3616
32916 #: ../src/guestfs-actions.pod:3616
32920 " guestfs_kill_subprocess (guestfs_h *g);\n"
32925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3625
32926 #: ../src/guestfs-actions.pod:3625
32927 msgid "guestfs_launch"
32931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3627
32932 #: ../src/guestfs-actions.pod:3627
32936 " guestfs_launch (guestfs_h *g);\n"
32941 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3645
32942 #: ../src/guestfs-actions.pod:3645
32943 msgid "guestfs_lchown"
32947 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3647
32948 #: ../src/guestfs-actions.pod:3647
32952 " guestfs_lchown (guestfs_h *g,\n"
32955 " const char *path);\n"
32960 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3653
32961 #: ../src/guestfs-actions.pod:3653
32963 "Change the file owner to C<owner> and group to C<group>. This is like "
32964 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
32965 "changed, not the target."
32969 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3665
32970 #: ../src/guestfs-actions.pod:3665
32971 msgid "guestfs_lgetxattr"
32975 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3667
32976 #: ../src/guestfs-actions.pod:3667
32980 " guestfs_lgetxattr (guestfs_h *g,\n"
32981 " const char *path,\n"
32982 " const char *name,\n"
32983 " size_t *size_r);\n"
32988 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3687
32989 #: ../src/guestfs-actions.pod:3687
32990 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
32994 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3695
32995 #: ../src/guestfs-actions.pod:3695
32996 msgid "guestfs_lgetxattrs"
33000 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3697
33001 #: ../src/guestfs-actions.pod:3697
33004 " struct guestfs_xattr_list *\n"
33005 " guestfs_lgetxattrs (guestfs_h *g,\n"
33006 " const char *path);\n"
33011 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3701
33012 #: ../src/guestfs-actions.pod:3701
33014 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
33015 "then it returns the extended attributes of the link itself."
33019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3711
33020 #: ../src/guestfs-actions.pod:3711
33021 msgid "guestfs_list_9p"
33025 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3713
33026 #: ../src/guestfs-actions.pod:3713
33030 " guestfs_list_9p (guestfs_h *g);\n"
33035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3725
33036 #: ../src/guestfs-actions.pod:3725
33037 msgid "guestfs_list_devices"
33041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3727
33042 #: ../src/guestfs-actions.pod:3727
33046 " guestfs_list_devices (guestfs_h *g);\n"
33051 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3742
33052 #: ../src/guestfs-actions.pod:3742
33053 msgid "guestfs_list_dm_devices"
33057 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3744
33058 #: ../src/guestfs-actions.pod:3744
33062 " guestfs_list_dm_devices (guestfs_h *g);\n"
33067 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3749
33068 #: ../src/guestfs-actions.pod:3749
33070 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
33071 "previous call to C<guestfs_luks_open>."
33075 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3752
33076 #: ../src/guestfs-actions.pod:3752
33078 "Device mapper devices which correspond to logical volumes are I<not> "
33079 "returned in this list. Call C<guestfs_lvs> if you want to list logical "
33084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3760
33085 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5216
33086 #: ../src/guestfs-actions.pod:3760 ../src/guestfs-actions.pod:5216
33087 msgid "(Added in 1.11.15)"
33091 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3762
33092 #: ../src/guestfs-actions.pod:3762
33093 msgid "guestfs_list_filesystems"
33097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3764
33098 #: ../src/guestfs-actions.pod:3764
33102 " guestfs_list_filesystems (guestfs_h *g);\n"
33107 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3784
33108 #: ../src/guestfs-actions.pod:3784
33110 "This command runs other libguestfs commands, which might include "
33111 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
33112 "soon after launch and only when nothing is mounted."
33116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3788
33117 #: ../src/guestfs-actions.pod:3788
33119 "Not all of the filesystems returned will be mountable. In particular, swap "
33120 "partitions are returned in the list. Also this command does not check that "
33121 "each filesystem found is valid and mountable, and some filesystems might be "
33122 "mountable but require special options. Filesystems may not all belong to a "
33123 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
33127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3802
33128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5577
33129 #: ../src/guestfs-actions.pod:3802 ../src/guestfs-actions.pod:5577
33130 msgid "(Added in 1.5.15)"
33134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3804
33135 #: ../src/guestfs-actions.pod:3804
33136 msgid "guestfs_list_partitions"
33137 msgstr "guestfs_list_partitions"
33140 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3806
33141 #: ../src/guestfs-actions.pod:3806
33145 " guestfs_list_partitions (guestfs_h *g);\n"
33149 " guestfs_list_partitions (guestfs_h *g);\n"
33153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3813
33154 #: ../src/guestfs-actions.pod:3813
33156 "This does not return logical volumes. For that you will need to call "
33161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3824
33162 #: ../src/guestfs-actions.pod:3824
33164 msgstr "guestfs_ll"
33167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3826
33168 #: ../src/guestfs-actions.pod:3826
33172 " guestfs_ll (guestfs_h *g,\n"
33173 " const char *directory);\n"
33177 " guestfs_ll (guestfs_h *g,\n"
33178 " const char *directory);\n"
33182 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3841
33183 #: ../src/guestfs-actions.pod:3841
33185 msgstr "guestfs_ln"
33188 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3843
33189 #: ../src/guestfs-actions.pod:3843
33193 " guestfs_ln (guestfs_h *g,\n"
33194 " const char *target,\n"
33195 " const char *linkname);\n"
33199 " guestfs_ln (guestfs_h *g,\n"
33200 " const char *target,\n"
33201 " const char *linkname);\n"
33205 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3854
33206 #: ../src/guestfs-actions.pod:3854
33207 msgid "guestfs_ln_f"
33208 msgstr "guestfs_ln_f"
33211 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3856
33212 #: ../src/guestfs-actions.pod:3856
33216 " guestfs_ln_f (guestfs_h *g,\n"
33217 " const char *target,\n"
33218 " const char *linkname);\n"
33222 " guestfs_ln_f (guestfs_h *g,\n"
33223 " const char *target,\n"
33224 " const char *linkname);\n"
33228 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3868
33229 #: ../src/guestfs-actions.pod:3868
33230 msgid "guestfs_ln_s"
33231 msgstr "guestfs_ln_s"
33234 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3870
33235 #: ../src/guestfs-actions.pod:3870
33239 " guestfs_ln_s (guestfs_h *g,\n"
33240 " const char *target,\n"
33241 " const char *linkname);\n"
33245 " guestfs_ln_s (guestfs_h *g,\n"
33246 " const char *target,\n"
33247 " const char *linkname);\n"
33251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3881
33252 #: ../src/guestfs-actions.pod:3881
33253 msgid "guestfs_ln_sf"
33254 msgstr "guestfs_ln_sf"
33257 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3883
33258 #: ../src/guestfs-actions.pod:3883
33262 " guestfs_ln_sf (guestfs_h *g,\n"
33263 " const char *target,\n"
33264 " const char *linkname);\n"
33268 " guestfs_ln_sf (guestfs_h *g,\n"
33269 " const char *target,\n"
33270 " const char *linkname);\n"
33274 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3895
33275 #: ../src/guestfs-actions.pod:3895
33276 msgid "guestfs_lremovexattr"
33277 msgstr "guestfs_lremovexattr"
33280 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3897
33281 #: ../src/guestfs-actions.pod:3897
33285 " guestfs_lremovexattr (guestfs_h *g,\n"
33286 " const char *xattr,\n"
33287 " const char *path);\n"
33291 " guestfs_lremovexattr (guestfs_h *g,\n"
33292 " const char *xattr,\n"
33293 " const char *path);\n"
33297 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3902
33298 #: ../src/guestfs-actions.pod:3902
33300 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
33301 "link, then it removes an extended attribute of the link itself."
33305 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3910
33306 #: ../src/guestfs-actions.pod:3910
33308 msgstr "guestfs_ls"
33311 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3912
33312 #: ../src/guestfs-actions.pod:3912
33316 " guestfs_ls (guestfs_h *g,\n"
33317 " const char *directory);\n"
33321 " guestfs_ls (guestfs_h *g,\n"
33322 " const char *directory);\n"
33326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3920
33327 #: ../src/guestfs-actions.pod:3920
33329 "This command is mostly useful for interactive sessions. Programs should "
33330 "probably use C<guestfs_readdir> instead."
33334 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3929
33335 #: ../src/guestfs-actions.pod:3929
33336 msgid "guestfs_lsetxattr"
33337 msgstr "guestfs_lsetxattr"
33340 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3931
33341 #: ../src/guestfs-actions.pod:3931
33345 " guestfs_lsetxattr (guestfs_h *g,\n"
33346 " const char *xattr,\n"
33347 " const char *val,\n"
33349 " const char *path);\n"
33353 " guestfs_lsetxattr (guestfs_h *g,\n"
33354 " const char *xattr,\n"
33355 " const char *val,\n"
33357 " const char *path);\n"
33361 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3938
33362 #: ../src/guestfs-actions.pod:3938
33364 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
33365 "then it sets an extended attribute of the link itself."
33369 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3946
33370 #: ../src/guestfs-actions.pod:3946
33371 msgid "guestfs_lstat"
33372 msgstr "guestfs_lstat"
33375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3948
33376 #: ../src/guestfs-actions.pod:3948
33379 " struct guestfs_stat *\n"
33380 " guestfs_lstat (guestfs_h *g,\n"
33381 " const char *path);\n"
33384 " struct guestfs_stat *\n"
33385 " guestfs_lstat (guestfs_h *g,\n"
33386 " const char *path);\n"
33390 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3954
33391 #: ../src/guestfs-actions.pod:3954
33393 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
33394 "link, then the link is stat-ed, not the file it refers to."
33398 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3960
33399 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6735
33400 #: ../src/guestfs-actions.pod:3960 ../src/guestfs-actions.pod:6735
33402 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
33403 "error. I<The caller must call C<guestfs_free_stat> after use>."
33407 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3964
33408 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6739
33409 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6757
33410 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7138
33411 #: ../src/guestfs-actions.pod:3964 ../src/guestfs-actions.pod:6739
33412 #: ../src/guestfs-actions.pod:6757 ../src/guestfs-actions.pod:7138
33413 msgid "(Added in 0.9.2)"
33414 msgstr "(Додано у 0.9.2)"
33417 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3966
33418 #: ../src/guestfs-actions.pod:3966
33419 msgid "guestfs_lstatlist"
33420 msgstr "guestfs_lstatlist"
33423 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3968
33424 #: ../src/guestfs-actions.pod:3968
33427 " struct guestfs_stat_list *\n"
33428 " guestfs_lstatlist (guestfs_h *g,\n"
33429 " const char *path,\n"
33430 " char *const *names);\n"
33433 " struct guestfs_stat_list *\n"
33434 " guestfs_lstatlist (guestfs_h *g,\n"
33435 " const char *path,\n"
33436 " char *const *names);\n"
33440 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3973
33441 #: ../src/guestfs-actions.pod:3973
33443 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
33444 "files, where all files are in the directory C<path>. C<names> is the list "
33445 "of files from this directory."
33449 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3982
33450 #: ../src/guestfs-actions.pod:3982
33452 "This call is intended for programs that want to efficiently list a directory "
33453 "contents without making many round-trips. See also C<guestfs_lxattrlist> "
33454 "for a similarly efficient call for getting extended attributes. Very long "
33455 "directory listings might cause the protocol message size to be exceeded, "
33456 "causing this call to fail. The caller must split up such requests into "
33457 "smaller groups of names."
33461 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3990
33462 #: ../src/guestfs-actions.pod:3990
33464 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
33465 "an error. I<The caller must call C<guestfs_free_stat_list> after use>."
33469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3996
33470 #: ../src/guestfs-actions.pod:3996
33471 msgid "guestfs_luks_add_key"
33472 msgstr "guestfs_luks_add_key"
33475 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:3998
33476 #: ../src/guestfs-actions.pod:3998
33480 " guestfs_luks_add_key (guestfs_h *g,\n"
33481 " const char *device,\n"
33482 " const char *key,\n"
33483 " const char *newkey,\n"
33488 " guestfs_luks_add_key (guestfs_h *g,\n"
33489 " const char *device,\n"
33490 " const char *key,\n"
33491 " const char *newkey,\n"
33496 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4010
33497 #: ../src/guestfs-actions.pod:4010
33499 "Note that if C<keyslot> already contains a key, then this command will "
33500 "fail. You have to use C<guestfs_luks_kill_slot> first to remove that key."
33504 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4016
33505 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4056
33506 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4079
33507 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4099
33508 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4134
33509 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4153
33510 #: ../src/guestfs-actions.pod:4016 ../src/guestfs-actions.pod:4056
33511 #: ../src/guestfs-actions.pod:4079 ../src/guestfs-actions.pod:4099
33512 #: ../src/guestfs-actions.pod:4134 ../src/guestfs-actions.pod:4153
33514 "This function takes a key or passphrase parameter which could contain "
33515 "sensitive material. Read the section L</KEYS AND PASSPHRASES> for more "
33520 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4020
33521 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4060
33522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4083
33523 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4103
33524 #: ../src/guestfs-actions.pod:4020 ../src/guestfs-actions.pod:4060
33525 #: ../src/guestfs-actions.pod:4083 ../src/guestfs-actions.pod:4103
33526 msgid "(Added in 1.5.2)"
33527 msgstr "(Додано у 1.5.2)"
33530 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4022
33531 #: ../src/guestfs-actions.pod:4022
33532 msgid "guestfs_luks_close"
33533 msgstr "guestfs_luks_close"
33536 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4024
33537 #: ../src/guestfs-actions.pod:4024
33541 " guestfs_luks_close (guestfs_h *g,\n"
33542 " const char *device);\n"
33546 " guestfs_luks_close (guestfs_h *g,\n"
33547 " const char *device);\n"
33551 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4028
33552 #: ../src/guestfs-actions.pod:4028
33554 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
33555 "or C<guestfs_luks_open_ro>. The C<device> parameter must be the name of the "
33556 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
33557 "underlying block device."
33561 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4036
33562 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4138
33563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4157
33564 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4207
33565 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4255
33566 #: ../src/guestfs-actions.pod:4036 ../src/guestfs-actions.pod:4138
33567 #: ../src/guestfs-actions.pod:4157 ../src/guestfs-actions.pod:4207
33568 #: ../src/guestfs-actions.pod:4255
33569 msgid "(Added in 1.5.1)"
33570 msgstr "(Додано у 1.5.1)"
33573 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4038
33574 #: ../src/guestfs-actions.pod:4038
33575 msgid "guestfs_luks_format"
33576 msgstr "guestfs_luks_format"
33579 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4040
33580 #: ../src/guestfs-actions.pod:4040
33584 " guestfs_luks_format (guestfs_h *g,\n"
33585 " const char *device,\n"
33586 " const char *key,\n"
33591 " guestfs_luks_format (guestfs_h *g,\n"
33592 " const char *device,\n"
33593 " const char *key,\n"
33598 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4062
33599 #: ../src/guestfs-actions.pod:4062
33600 msgid "guestfs_luks_format_cipher"
33601 msgstr "guestfs_luks_format_cipher"
33604 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4064
33605 #: ../src/guestfs-actions.pod:4064
33609 " guestfs_luks_format_cipher (guestfs_h *g,\n"
33610 " const char *device,\n"
33611 " const char *key,\n"
33613 " const char *cipher);\n"
33617 " guestfs_luks_format_cipher (guestfs_h *g,\n"
33618 " const char *device,\n"
33619 " const char *key,\n"
33621 " const char *cipher);\n"
33625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4071
33626 #: ../src/guestfs-actions.pod:4071
33628 "This command is the same as C<guestfs_luks_format> but it also allows you to "
33629 "set the C<cipher> used."
33633 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4085
33634 #: ../src/guestfs-actions.pod:4085
33635 msgid "guestfs_luks_kill_slot"
33636 msgstr "guestfs_luks_kill_slot"
33639 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4087
33640 #: ../src/guestfs-actions.pod:4087
33644 " guestfs_luks_kill_slot (guestfs_h *g,\n"
33645 " const char *device,\n"
33646 " const char *key,\n"
33651 " guestfs_luks_kill_slot (guestfs_h *g,\n"
33652 " const char *device,\n"
33653 " const char *key,\n"
33658 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4105
33659 #: ../src/guestfs-actions.pod:4105
33660 msgid "guestfs_luks_open"
33661 msgstr "guestfs_luks_open"
33664 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4107
33665 #: ../src/guestfs-actions.pod:4107
33669 " guestfs_luks_open (guestfs_h *g,\n"
33670 " const char *device,\n"
33671 " const char *key,\n"
33672 " const char *mapname);\n"
33676 " guestfs_luks_open (guestfs_h *g,\n"
33677 " const char *device,\n"
33678 " const char *key,\n"
33679 " const char *mapname);\n"
33683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4125
33684 #: ../src/guestfs-actions.pod:4125
33686 "If this block device contains LVM volume groups, then calling "
33687 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
33692 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4129
33693 #: ../src/guestfs-actions.pod:4129
33694 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
33698 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4140
33699 #: ../src/guestfs-actions.pod:4140
33700 msgid "guestfs_luks_open_ro"
33701 msgstr "guestfs_luks_open_ro"
33704 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4142
33705 #: ../src/guestfs-actions.pod:4142
33709 " guestfs_luks_open_ro (guestfs_h *g,\n"
33710 " const char *device,\n"
33711 " const char *key,\n"
33712 " const char *mapname);\n"
33716 " guestfs_luks_open_ro (guestfs_h *g,\n"
33717 " const char *device,\n"
33718 " const char *key,\n"
33719 " const char *mapname);\n"
33723 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4148
33724 #: ../src/guestfs-actions.pod:4148
33726 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
33731 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4159
33732 #: ../src/guestfs-actions.pod:4159
33733 msgid "guestfs_lvcreate"
33734 msgstr "guestfs_lvcreate"
33737 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4161
33738 #: ../src/guestfs-actions.pod:4161
33742 " guestfs_lvcreate (guestfs_h *g,\n"
33743 " const char *logvol,\n"
33744 " const char *volgroup,\n"
33749 " guestfs_lvcreate (guestfs_h *g,\n"
33750 " const char *logvol,\n"
33751 " const char *volgroup,\n"
33756 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4174
33757 #: ../src/guestfs-actions.pod:4174
33758 msgid "guestfs_lvm_canonical_lv_name"
33759 msgstr "guestfs_lvm_canonical_lv_name"
33762 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4176
33763 #: ../src/guestfs-actions.pod:4176
33767 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
33768 " const char *lvname);\n"
33772 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
33773 " const char *lvname);\n"
33777 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4187
33778 #: ../src/guestfs-actions.pod:4187
33779 msgid "See also C<guestfs_is_lv>."
33783 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4192
33784 #: ../src/guestfs-actions.pod:4192
33785 msgid "(Added in 1.5.24)"
33786 msgstr "(Додано у 1.5.24)"
33789 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4194
33790 #: ../src/guestfs-actions.pod:4194
33791 msgid "guestfs_lvm_clear_filter"
33792 msgstr "guestfs_lvm_clear_filter"
33795 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4196
33796 #: ../src/guestfs-actions.pod:4196
33800 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
33804 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
33808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4199
33809 #: ../src/guestfs-actions.pod:4199
33811 "This undoes the effect of C<guestfs_lvm_set_filter>. LVM will be able to "
33812 "see every block device."
33816 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4209
33817 #: ../src/guestfs-actions.pod:4209
33818 msgid "guestfs_lvm_remove_all"
33819 msgstr "guestfs_lvm_remove_all"
33822 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4211
33823 #: ../src/guestfs-actions.pod:4211
33827 " guestfs_lvm_remove_all (guestfs_h *g);\n"
33831 " guestfs_lvm_remove_all (guestfs_h *g);\n"
33835 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4224
33836 #: ../src/guestfs-actions.pod:4224
33837 msgid "guestfs_lvm_set_filter"
33838 msgstr "guestfs_lvm_set_filter"
33841 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4226
33842 #: ../src/guestfs-actions.pod:4226
33846 " guestfs_lvm_set_filter (guestfs_h *g,\n"
33847 " char *const *devices);\n"
33851 " guestfs_lvm_set_filter (guestfs_h *g,\n"
33852 " char *const *devices);\n"
33856 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4257
33857 #: ../src/guestfs-actions.pod:4257
33858 msgid "guestfs_lvremove"
33859 msgstr "guestfs_lvremove"
33862 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4259
33863 #: ../src/guestfs-actions.pod:4259
33867 " guestfs_lvremove (guestfs_h *g,\n"
33868 " const char *device);\n"
33872 " guestfs_lvremove (guestfs_h *g,\n"
33873 " const char *device);\n"
33877 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4271
33878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5674
33879 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7508
33880 #: ../src/guestfs-actions.pod:4271 ../src/guestfs-actions.pod:5674
33881 #: ../src/guestfs-actions.pod:7508
33882 msgid "(Added in 1.0.13)"
33883 msgstr "(Додано у 1.0.13)"
33886 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4273
33887 #: ../src/guestfs-actions.pod:4273
33888 msgid "guestfs_lvrename"
33889 msgstr "guestfs_lvrename"
33892 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4275
33893 #: ../src/guestfs-actions.pod:4275
33897 " guestfs_lvrename (guestfs_h *g,\n"
33898 " const char *logvol,\n"
33899 " const char *newlogvol);\n"
33903 " guestfs_lvrename (guestfs_h *g,\n"
33904 " const char *logvol,\n"
33905 " const char *newlogvol);\n"
33909 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4284
33910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7521
33911 #: ../src/guestfs-actions.pod:4284 ../src/guestfs-actions.pod:7521
33912 msgid "(Added in 1.0.83)"
33913 msgstr "(Додано у 1.0.83)"
33916 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4286
33917 #: ../src/guestfs-actions.pod:4286
33918 msgid "guestfs_lvresize"
33919 msgstr "guestfs_lvresize"
33922 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4288
33923 #: ../src/guestfs-actions.pod:4288
33927 " guestfs_lvresize (guestfs_h *g,\n"
33928 " const char *device,\n"
33933 " guestfs_lvresize (guestfs_h *g,\n"
33934 " const char *device,\n"
33939 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4301
33940 #: ../src/guestfs-actions.pod:4301
33941 msgid "guestfs_lvresize_free"
33942 msgstr "guestfs_lvresize_free"
33945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4303
33946 #: ../src/guestfs-actions.pod:4303
33950 " guestfs_lvresize_free (guestfs_h *g,\n"
33951 " const char *lv,\n"
33956 " guestfs_lvresize_free (guestfs_h *g,\n"
33957 " const char *lv,\n"
33962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4316
33963 #: ../src/guestfs-actions.pod:4316
33964 msgid "(Added in 1.3.3)"
33965 msgstr "(Додано у 1.3.3)"
33968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4318
33969 #: ../src/guestfs-actions.pod:4318
33970 msgid "guestfs_lvs"
33971 msgstr "guestfs_lvs"
33974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4320
33975 #: ../src/guestfs-actions.pod:4320
33979 " guestfs_lvs (guestfs_h *g);\n"
33983 " guestfs_lvs (guestfs_h *g);\n"
33987 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4329
33988 #: ../src/guestfs-actions.pod:4329
33989 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
33993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4337
33994 #: ../src/guestfs-actions.pod:4337
33995 msgid "guestfs_lvs_full"
33996 msgstr "guestfs_lvs_full"
33999 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4339
34000 #: ../src/guestfs-actions.pod:4339
34003 " struct guestfs_lvm_lv_list *\n"
34004 " guestfs_lvs_full (guestfs_h *g);\n"
34007 " struct guestfs_lvm_lv_list *\n"
34008 " guestfs_lvs_full (guestfs_h *g);\n"
34012 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4345
34013 #: ../src/guestfs-actions.pod:4345
34015 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
34016 "was an error. I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
34020 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4351
34021 #: ../src/guestfs-actions.pod:4351
34022 msgid "guestfs_lvuuid"
34023 msgstr "guestfs_lvuuid"
34026 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4353
34027 #: ../src/guestfs-actions.pod:4353
34031 " guestfs_lvuuid (guestfs_h *g,\n"
34032 " const char *device);\n"
34036 " guestfs_lvuuid (guestfs_h *g,\n"
34037 " const char *device);\n"
34041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4364
34042 #: ../src/guestfs-actions.pod:4364
34043 msgid "guestfs_lxattrlist"
34044 msgstr "guestfs_lxattrlist"
34047 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4366
34048 #: ../src/guestfs-actions.pod:4366
34051 " struct guestfs_xattr_list *\n"
34052 " guestfs_lxattrlist (guestfs_h *g,\n"
34053 " const char *path,\n"
34054 " char *const *names);\n"
34057 " struct guestfs_xattr_list *\n"
34058 " guestfs_lxattrlist (guestfs_h *g,\n"
34059 " const char *path,\n"
34060 " char *const *names);\n"
34064 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4385
34065 #: ../src/guestfs-actions.pod:4385
34067 "This call is intended for programs that want to efficiently list a directory "
34068 "contents without making many round-trips. See also C<guestfs_lstatlist> for "
34069 "a similarly efficient call for getting standard stats. Very long directory "
34070 "listings might cause the protocol message size to be exceeded, causing this "
34071 "call to fail. The caller must split up such requests into smaller groups of "
34076 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4399
34077 #: ../src/guestfs-actions.pod:4399
34078 msgid "guestfs_mkdir"
34079 msgstr "guestfs_mkdir"
34082 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4401
34083 #: ../src/guestfs-actions.pod:4401
34087 " guestfs_mkdir (guestfs_h *g,\n"
34088 " const char *path);\n"
34092 " guestfs_mkdir (guestfs_h *g,\n"
34093 " const char *path);\n"
34097 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4411
34098 #: ../src/guestfs-actions.pod:4411
34099 msgid "guestfs_mkdir_mode"
34100 msgstr "guestfs_mkdir_mode"
34103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4413
34104 #: ../src/guestfs-actions.pod:4413
34108 " guestfs_mkdir_mode (guestfs_h *g,\n"
34109 " const char *path,\n"
34114 " guestfs_mkdir_mode (guestfs_h *g,\n"
34115 " const char *path,\n"
34120 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4425
34121 #: ../src/guestfs-actions.pod:4425
34122 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
34126 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4431
34127 #: ../src/guestfs-actions.pod:4431
34128 msgid "guestfs_mkdir_p"
34129 msgstr "guestfs_mkdir_p"
34132 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4433
34133 #: ../src/guestfs-actions.pod:4433
34137 " guestfs_mkdir_p (guestfs_h *g,\n"
34138 " const char *path);\n"
34142 " guestfs_mkdir_p (guestfs_h *g,\n"
34143 " const char *path);\n"
34147 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4444
34148 #: ../src/guestfs-actions.pod:4444
34149 msgid "guestfs_mkdtemp"
34150 msgstr "guestfs_mkdtemp"
34153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4446
34154 #: ../src/guestfs-actions.pod:4446
34158 " guestfs_mkdtemp (guestfs_h *g,\n"
34159 " const char *template);\n"
34163 " guestfs_mkdtemp (guestfs_h *g,\n"
34164 " const char *template);\n"
34168 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4474
34169 #: ../src/guestfs-actions.pod:4474
34170 msgid "guestfs_mke2fs_J"
34171 msgstr "guestfs_mke2fs_J"
34174 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4476
34175 #: ../src/guestfs-actions.pod:4476
34179 " guestfs_mke2fs_J (guestfs_h *g,\n"
34180 " const char *fstype,\n"
34181 " int blocksize,\n"
34182 " const char *device,\n"
34183 " const char *journal);\n"
34187 " guestfs_mke2fs_J (guestfs_h *g,\n"
34188 " const char *fstype,\n"
34189 " int blocksize,\n"
34190 " const char *device,\n"
34191 " const char *journal);\n"
34195 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4489
34196 #: ../src/guestfs-actions.pod:4489
34197 msgid "See also C<guestfs_mke2journal>."
34201 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4493
34202 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4511
34203 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4529
34204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4545
34205 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4559
34206 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4573
34207 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4632
34208 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4909
34209 #: ../src/guestfs-actions.pod:4493 ../src/guestfs-actions.pod:4511
34210 #: ../src/guestfs-actions.pod:4529 ../src/guestfs-actions.pod:4545
34211 #: ../src/guestfs-actions.pod:4559 ../src/guestfs-actions.pod:4573
34212 #: ../src/guestfs-actions.pod:4632 ../src/guestfs-actions.pod:4909
34213 msgid "(Added in 1.0.68)"
34214 msgstr "(Додано у 1.0.68)"
34217 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4495
34218 #: ../src/guestfs-actions.pod:4495
34219 msgid "guestfs_mke2fs_JL"
34220 msgstr "guestfs_mke2fs_JL"
34223 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4497
34224 #: ../src/guestfs-actions.pod:4497
34228 " guestfs_mke2fs_JL (guestfs_h *g,\n"
34229 " const char *fstype,\n"
34230 " int blocksize,\n"
34231 " const char *device,\n"
34232 " const char *label);\n"
34236 " guestfs_mke2fs_JL (guestfs_h *g,\n"
34237 " const char *fstype,\n"
34238 " int blocksize,\n"
34239 " const char *device,\n"
34240 " const char *label);\n"
34244 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4507
34245 #: ../src/guestfs-actions.pod:4507
34246 msgid "See also C<guestfs_mke2journal_L>."
34250 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4513
34251 #: ../src/guestfs-actions.pod:4513
34252 msgid "guestfs_mke2fs_JU"
34253 msgstr "guestfs_mke2fs_JU"
34256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4515
34257 #: ../src/guestfs-actions.pod:4515
34261 " guestfs_mke2fs_JU (guestfs_h *g,\n"
34262 " const char *fstype,\n"
34263 " int blocksize,\n"
34264 " const char *device,\n"
34265 " const char *uuid);\n"
34269 " guestfs_mke2fs_JU (guestfs_h *g,\n"
34270 " const char *fstype,\n"
34271 " int blocksize,\n"
34272 " const char *device,\n"
34273 " const char *uuid);\n"
34277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4525
34278 #: ../src/guestfs-actions.pod:4525
34279 msgid "See also C<guestfs_mke2journal_U>."
34283 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4531
34284 #: ../src/guestfs-actions.pod:4531
34285 msgid "guestfs_mke2journal"
34286 msgstr "guestfs_mke2journal"
34289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4533
34290 #: ../src/guestfs-actions.pod:4533
34294 " guestfs_mke2journal (guestfs_h *g,\n"
34295 " int blocksize,\n"
34296 " const char *device);\n"
34300 " guestfs_mke2journal (guestfs_h *g,\n"
34301 " int blocksize,\n"
34302 " const char *device);\n"
34306 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4547
34307 #: ../src/guestfs-actions.pod:4547
34308 msgid "guestfs_mke2journal_L"
34309 msgstr "guestfs_mke2journal_L"
34312 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4549
34313 #: ../src/guestfs-actions.pod:4549
34317 " guestfs_mke2journal_L (guestfs_h *g,\n"
34318 " int blocksize,\n"
34319 " const char *label,\n"
34320 " const char *device);\n"
34324 " guestfs_mke2journal_L (guestfs_h *g,\n"
34325 " int blocksize,\n"
34326 " const char *label,\n"
34327 " const char *device);\n"
34331 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4561
34332 #: ../src/guestfs-actions.pod:4561
34333 msgid "guestfs_mke2journal_U"
34334 msgstr "guestfs_mke2journal_U"
34337 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4563
34338 #: ../src/guestfs-actions.pod:4563
34342 " guestfs_mke2journal_U (guestfs_h *g,\n"
34343 " int blocksize,\n"
34344 " const char *uuid,\n"
34345 " const char *device);\n"
34349 " guestfs_mke2journal_U (guestfs_h *g,\n"
34350 " int blocksize,\n"
34351 " const char *uuid,\n"
34352 " const char *device);\n"
34356 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4575
34357 #: ../src/guestfs-actions.pod:4575
34358 msgid "guestfs_mkfifo"
34359 msgstr "guestfs_mkfifo"
34362 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4577
34363 #: ../src/guestfs-actions.pod:4577
34367 " guestfs_mkfifo (guestfs_h *g,\n"
34369 " const char *path);\n"
34373 " guestfs_mkfifo (guestfs_h *g,\n"
34375 " const char *path);\n"
34379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4582
34380 #: ../src/guestfs-actions.pod:4582
34382 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>. It "
34383 "is just a convenient wrapper around C<guestfs_mknod>."
34387 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4592
34388 #: ../src/guestfs-actions.pod:4592
34389 msgid "guestfs_mkfs"
34390 msgstr "guestfs_mkfs"
34393 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4594
34394 #: ../src/guestfs-actions.pod:4594
34398 " guestfs_mkfs (guestfs_h *g,\n"
34399 " const char *fstype,\n"
34400 " const char *device);\n"
34404 " guestfs_mkfs (guestfs_h *g,\n"
34405 " const char *fstype,\n"
34406 " const char *device);\n"
34410 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4607
34411 #: ../src/guestfs-actions.pod:4607
34412 msgid "guestfs_mkfs_b"
34413 msgstr "guestfs_mkfs_b"
34416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4609
34417 #: ../src/guestfs-actions.pod:4609
34421 " guestfs_mkfs_b (guestfs_h *g,\n"
34422 " const char *fstype,\n"
34423 " int blocksize,\n"
34424 " const char *device);\n"
34428 " guestfs_mkfs_b (guestfs_h *g,\n"
34429 " const char *fstype,\n"
34430 " int blocksize,\n"
34431 " const char *device);\n"
34435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4615
34436 #: ../src/guestfs-actions.pod:4615
34438 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
34439 "block size of the resulting filesystem. Supported block sizes depend on the "
34440 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
34444 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4634
34445 #: ../src/guestfs-actions.pod:4634
34446 msgid "guestfs_mkfs_opts"
34447 msgstr "guestfs_mkfs_opts"
34450 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4636
34451 #: ../src/guestfs-actions.pod:4636
34455 " guestfs_mkfs_opts (guestfs_h *g,\n"
34456 " const char *fstype,\n"
34457 " const char *device,\n"
34462 " guestfs_mkfs_opts (guestfs_h *g,\n"
34463 " const char *fstype,\n"
34464 " const char *device,\n"
34469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4647
34470 #: ../src/guestfs-actions.pod:4647
34473 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
34474 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
34475 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
34476 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
34481 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4695
34482 #: ../src/guestfs-actions.pod:4695
34483 msgid "(Added in 1.7.19)"
34484 msgstr "(Додано у 1.7.19)"
34487 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4697
34488 #: ../src/guestfs-actions.pod:4697
34489 msgid "guestfs_mkfs_opts_va"
34490 msgstr "guestfs_mkfs_opts_va"
34493 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4699
34494 #: ../src/guestfs-actions.pod:4699
34498 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
34499 " const char *fstype,\n"
34500 " const char *device,\n"
34501 " va_list args);\n"
34505 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
34506 " const char *fstype,\n"
34507 " const char *device,\n"
34508 " va_list args);\n"
34512 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4705
34513 #: ../src/guestfs-actions.pod:4705
34514 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
34518 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4709
34519 #: ../src/guestfs-actions.pod:4709
34520 msgid "guestfs_mkfs_opts_argv"
34521 msgstr "guestfs_mkfs_opts_argv"
34524 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4711
34525 #: ../src/guestfs-actions.pod:4711
34529 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
34530 " const char *fstype,\n"
34531 " const char *device,\n"
34532 " const struct guestfs_mkfs_opts_argv *optargs);\n"
34536 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
34537 " const char *fstype,\n"
34538 " const char *device,\n"
34539 " const struct guestfs_mkfs_opts_argv *optargs);\n"
34543 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4717
34544 #: ../src/guestfs-actions.pod:4717
34545 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
34549 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4721
34550 #: ../src/guestfs-actions.pod:4721
34551 msgid "guestfs_mkmountpoint"
34552 msgstr "guestfs_mkmountpoint"
34555 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4723
34556 #: ../src/guestfs-actions.pod:4723
34560 " guestfs_mkmountpoint (guestfs_h *g,\n"
34561 " const char *exemptpath);\n"
34565 " guestfs_mkmountpoint (guestfs_h *g,\n"
34566 " const char *exemptpath);\n"
34570 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4727
34571 #: ../src/guestfs-actions.pod:4727
34573 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
34574 "that can be used to create extra mountpoints before mounting the first "
34579 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4751
34580 #: ../src/guestfs-actions.pod:4751
34582 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>. You "
34583 "may get unexpected errors if you try to mix these calls. It is safest to "
34584 "manually unmount filesystems and remove mountpoints after use."
34588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4755
34589 #: ../src/guestfs-actions.pod:4755
34591 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
34592 "first, so for this to work for manual mountpoints, you must ensure that the "
34593 "innermost mountpoints have the longest pathnames, as in the example code "
34598 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4762
34599 #: ../src/guestfs-actions.pod:4762
34601 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
34602 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
34603 "can also trigger these issues."
34607 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4768
34608 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5084
34609 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6094
34610 #: ../src/guestfs-actions.pod:4768 ../src/guestfs-actions.pod:5084
34611 #: ../src/guestfs-actions.pod:6094
34612 msgid "(Added in 1.0.62)"
34613 msgstr "(Додано у 1.0.62)"
34616 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4770
34617 #: ../src/guestfs-actions.pod:4770
34618 msgid "guestfs_mknod"
34622 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4772
34623 #: ../src/guestfs-actions.pod:4772
34627 " guestfs_mknod (guestfs_h *g,\n"
34631 " const char *path);\n"
34636 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4787
34637 #: ../src/guestfs-actions.pod:4787
34639 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
34640 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
34641 "regular file). These constants are available in the standard Linux header "
34642 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
34643 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
34644 "the appropriate constant for you."
34648 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4801
34649 #: ../src/guestfs-actions.pod:4801
34650 msgid "guestfs_mknod_b"
34654 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4803
34655 #: ../src/guestfs-actions.pod:4803
34659 " guestfs_mknod_b (guestfs_h *g,\n"
34663 " const char *path);\n"
34668 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4810
34669 #: ../src/guestfs-actions.pod:4810
34671 "This call creates a block device node called C<path> with mode C<mode> and "
34672 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
34673 "wrapper around C<guestfs_mknod>."
34677 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4820
34678 #: ../src/guestfs-actions.pod:4820
34679 msgid "guestfs_mknod_c"
34683 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4822
34684 #: ../src/guestfs-actions.pod:4822
34688 " guestfs_mknod_c (guestfs_h *g,\n"
34692 " const char *path);\n"
34697 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4829
34698 #: ../src/guestfs-actions.pod:4829
34700 "This call creates a char device node called C<path> with mode C<mode> and "
34701 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
34702 "wrapper around C<guestfs_mknod>."
34706 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4839
34707 #: ../src/guestfs-actions.pod:4839
34708 msgid "guestfs_mkswap"
34712 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4841
34713 #: ../src/guestfs-actions.pod:4841
34717 " guestfs_mkswap (guestfs_h *g,\n"
34718 " const char *device);\n"
34723 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4851
34724 #: ../src/guestfs-actions.pod:4851
34725 msgid "guestfs_mkswap_L"
34729 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4853
34730 #: ../src/guestfs-actions.pod:4853
34734 " guestfs_mkswap_L (guestfs_h *g,\n"
34735 " const char *label,\n"
34736 " const char *device);\n"
34741 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4868
34742 #: ../src/guestfs-actions.pod:4868
34743 msgid "guestfs_mkswap_U"
34747 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4870
34748 #: ../src/guestfs-actions.pod:4870
34752 " guestfs_mkswap_U (guestfs_h *g,\n"
34753 " const char *uuid,\n"
34754 " const char *device);\n"
34759 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4881
34760 #: ../src/guestfs-actions.pod:4881
34761 msgid "guestfs_mkswap_file"
34765 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4883
34766 #: ../src/guestfs-actions.pod:4883
34770 " guestfs_mkswap_file (guestfs_h *g,\n"
34771 " const char *path);\n"
34776 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4889
34777 #: ../src/guestfs-actions.pod:4889
34779 "This command just writes a swap file signature to an existing file. To "
34780 "create the file itself, use something like C<guestfs_fallocate>."
34784 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4896
34785 #: ../src/guestfs-actions.pod:4896
34786 msgid "guestfs_modprobe"
34790 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4898
34791 #: ../src/guestfs-actions.pod:4898
34795 " guestfs_modprobe (guestfs_h *g,\n"
34796 " const char *modulename);\n"
34801 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4911
34802 #: ../src/guestfs-actions.pod:4911
34803 msgid "guestfs_mount"
34807 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4913
34808 #: ../src/guestfs-actions.pod:4913
34812 " guestfs_mount (guestfs_h *g,\n"
34813 " const char *device,\n"
34814 " const char *mountpoint);\n"
34819 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4932
34820 #: ../src/guestfs-actions.pod:4932
34822 "B<Important note:> When you use this call, the filesystem options C<sync> "
34823 "and C<noatime> are set implicitly. This was originally done because we "
34824 "thought it would improve reliability, but it turns out that I<-o sync> has a "
34825 "very large negative performance impact and negligible effect on "
34826 "reliability. Therefore we recommend that you avoid using C<guestfs_mount> "
34827 "in any code that needs performance, and instead use C<guestfs_mount_options> "
34828 "(use an empty string for the first parameter if you don't want any options)."
34832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4953
34833 #: ../src/guestfs-actions.pod:4953
34834 msgid "guestfs_mount_9p"
34838 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4955
34839 #: ../src/guestfs-actions.pod:4955
34843 " guestfs_mount_9p (guestfs_h *g,\n"
34844 " const char *mounttag,\n"
34845 " const char *mountpoint,\n"
34851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4966
34852 #: ../src/guestfs-actions.pod:4966
34855 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
34860 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4979
34861 #: ../src/guestfs-actions.pod:4979
34862 msgid "guestfs_mount_9p_va"
34866 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4981
34867 #: ../src/guestfs-actions.pod:4981
34871 " guestfs_mount_9p_va (guestfs_h *g,\n"
34872 " const char *mounttag,\n"
34873 " const char *mountpoint,\n"
34874 " va_list args);\n"
34879 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4987
34880 #: ../src/guestfs-actions.pod:4987
34881 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
34885 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4991
34886 #: ../src/guestfs-actions.pod:4991
34887 msgid "guestfs_mount_9p_argv"
34891 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4993
34892 #: ../src/guestfs-actions.pod:4993
34896 " guestfs_mount_9p_argv (guestfs_h *g,\n"
34897 " const char *mounttag,\n"
34898 " const char *mountpoint,\n"
34899 " const struct guestfs_mount_9p_argv *optargs);\n"
34904 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:4999
34905 #: ../src/guestfs-actions.pod:4999
34906 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
34910 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5003
34911 #: ../src/guestfs-actions.pod:5003
34912 msgid "guestfs_mount_loop"
34916 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5005
34917 #: ../src/guestfs-actions.pod:5005
34921 " guestfs_mount_loop (guestfs_h *g,\n"
34922 " const char *file,\n"
34923 " const char *mountpoint);\n"
34928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5018
34929 #: ../src/guestfs-actions.pod:5018
34930 msgid "guestfs_mount_options"
34934 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5020
34935 #: ../src/guestfs-actions.pod:5020
34939 " guestfs_mount_options (guestfs_h *g,\n"
34940 " const char *options,\n"
34941 " const char *device,\n"
34942 " const char *mountpoint);\n"
34947 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5026
34948 #: ../src/guestfs-actions.pod:5026
34950 "This is the same as the C<guestfs_mount> command, but it allows you to set "
34951 "the mount options as for the L<mount(8)> I<-o> flag."
34955 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5036
34956 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5050
34957 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5067
34958 #: ../src/guestfs-actions.pod:5036 ../src/guestfs-actions.pod:5050
34959 #: ../src/guestfs-actions.pod:5067
34960 msgid "(Added in 1.0.10)"
34964 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5038
34965 #: ../src/guestfs-actions.pod:5038
34966 msgid "guestfs_mount_ro"
34970 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5040
34971 #: ../src/guestfs-actions.pod:5040
34975 " guestfs_mount_ro (guestfs_h *g,\n"
34976 " const char *device,\n"
34977 " const char *mountpoint);\n"
34982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5045
34983 #: ../src/guestfs-actions.pod:5045
34985 "This is the same as the C<guestfs_mount> command, but it mounts the "
34986 "filesystem with the read-only (I<-o ro>) flag."
34990 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5052
34991 #: ../src/guestfs-actions.pod:5052
34992 msgid "guestfs_mount_vfs"
34996 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5054
34997 #: ../src/guestfs-actions.pod:5054
35001 " guestfs_mount_vfs (guestfs_h *g,\n"
35002 " const char *options,\n"
35003 " const char *vfstype,\n"
35004 " const char *device,\n"
35005 " const char *mountpoint);\n"
35010 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5061
35011 #: ../src/guestfs-actions.pod:5061
35013 "This is the same as the C<guestfs_mount> command, but it allows you to set "
35014 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
35019 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5069
35020 #: ../src/guestfs-actions.pod:5069
35021 msgid "guestfs_mountpoints"
35025 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5071
35026 #: ../src/guestfs-actions.pod:5071
35030 " guestfs_mountpoints (guestfs_h *g);\n"
35035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5074
35036 #: ../src/guestfs-actions.pod:5074
35038 "This call is similar to C<guestfs_mounts>. That call returns a list of "
35039 "devices. This one returns a hash table (map) of device name to directory "
35040 "where the device is mounted."
35044 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5086
35045 #: ../src/guestfs-actions.pod:5086
35046 msgid "guestfs_mounts"
35050 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5088
35051 #: ../src/guestfs-actions.pod:5088
35055 " guestfs_mounts (guestfs_h *g);\n"
35060 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5096
35061 #: ../src/guestfs-actions.pod:5096
35062 msgid "See also: C<guestfs_mountpoints>"
35066 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5104
35067 #: ../src/guestfs-actions.pod:5104
35072 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5106
35073 #: ../src/guestfs-actions.pod:5106
35077 " guestfs_mv (guestfs_h *g,\n"
35078 " const char *src,\n"
35079 " const char *dest);\n"
35084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5118
35085 #: ../src/guestfs-actions.pod:5118
35086 msgid "guestfs_ntfs_3g_probe"
35090 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5120
35091 #: ../src/guestfs-actions.pod:5120
35095 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
35097 " const char *device);\n"
35102 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5139
35103 #: ../src/guestfs-actions.pod:5139
35104 msgid "(Added in 1.0.43)"
35108 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5141
35109 #: ../src/guestfs-actions.pod:5141
35110 msgid "guestfs_ntfsresize"
35114 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5143
35115 #: ../src/guestfs-actions.pod:5143
35119 " guestfs_ntfsresize (guestfs_h *g,\n"
35120 " const char *device);\n"
35125 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5171
35126 #: ../src/guestfs-actions.pod:5171
35127 msgid "guestfs_ntfsresize_opts"
35131 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5173
35132 #: ../src/guestfs-actions.pod:5173
35136 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
35137 " const char *device,\n"
35143 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5183
35144 #: ../src/guestfs-actions.pod:5183
35147 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
35148 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
35153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5203
35154 #: ../src/guestfs-actions.pod:5203
35156 "After the resize operation, the filesystem is always marked as requiring a "
35157 "consistency check (for safety). You have to boot into Windows to perform "
35158 "this check and clear this condition. If you I<don't> set the C<force> "
35159 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
35160 "times on a single filesystem without booting into Windows between each "
35165 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5218
35166 #: ../src/guestfs-actions.pod:5218
35167 msgid "guestfs_ntfsresize_opts_va"
35171 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5220
35172 #: ../src/guestfs-actions.pod:5220
35176 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
35177 " const char *device,\n"
35178 " va_list args);\n"
35183 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5225
35184 #: ../src/guestfs-actions.pod:5225
35185 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
35189 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5229
35190 #: ../src/guestfs-actions.pod:5229
35191 msgid "guestfs_ntfsresize_opts_argv"
35195 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5231
35196 #: ../src/guestfs-actions.pod:5231
35200 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
35201 " const char *device,\n"
35202 " const struct guestfs_ntfsresize_opts_argv *optargs);\n"
35207 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5236
35208 #: ../src/guestfs-actions.pod:5236
35209 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
35213 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5240
35214 #: ../src/guestfs-actions.pod:5240
35215 msgid "guestfs_ntfsresize_size"
35219 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5242
35220 #: ../src/guestfs-actions.pod:5242
35224 " guestfs_ntfsresize_size (guestfs_h *g,\n"
35225 " const char *device,\n"
35226 " int64_t size);\n"
35231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5247
35232 #: ../src/guestfs-actions.pod:5247
35234 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
35235 "to specify the new size (in bytes) explicitly."
35239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5259
35240 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5701
35241 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5774
35242 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6042
35243 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7665
35244 #: ../src/guestfs-actions.pod:5259 ../src/guestfs-actions.pod:5701
35245 #: ../src/guestfs-actions.pod:5774 ../src/guestfs-actions.pod:6042
35246 #: ../src/guestfs-actions.pod:7665
35247 msgid "(Added in 1.3.14)"
35251 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5261
35252 #: ../src/guestfs-actions.pod:5261
35253 msgid "guestfs_part_add"
35257 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5263
35258 #: ../src/guestfs-actions.pod:5263
35262 " guestfs_part_add (guestfs_h *g,\n"
35263 " const char *device,\n"
35264 " const char *prlogex,\n"
35265 " int64_t startsect,\n"
35266 " int64_t endsect);\n"
35271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5270
35272 #: ../src/guestfs-actions.pod:5270
35274 "This command adds a partition to C<device>. If there is no partition table "
35275 "on the device, call C<guestfs_part_init> first."
35279 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5282
35280 #: ../src/guestfs-actions.pod:5282
35282 "Creating a partition which covers the whole disk is not so easy. Use "
35283 "C<guestfs_part_disk> to do that."
35287 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5287
35288 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5325
35289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5378
35290 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5462
35291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5500
35292 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5519
35293 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5559
35294 #: ../src/guestfs-actions.pod:5287 ../src/guestfs-actions.pod:5325
35295 #: ../src/guestfs-actions.pod:5378 ../src/guestfs-actions.pod:5462
35296 #: ../src/guestfs-actions.pod:5500 ../src/guestfs-actions.pod:5519
35297 #: ../src/guestfs-actions.pod:5559
35298 msgid "(Added in 1.0.78)"
35302 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5289
35303 #: ../src/guestfs-actions.pod:5289
35304 msgid "guestfs_part_del"
35308 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5291
35309 #: ../src/guestfs-actions.pod:5291
35313 " guestfs_part_del (guestfs_h *g,\n"
35314 " const char *device,\n"
35320 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5306
35321 #: ../src/guestfs-actions.pod:5306
35322 msgid "guestfs_part_disk"
35326 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5308
35327 #: ../src/guestfs-actions.pod:5308
35331 " guestfs_part_disk (guestfs_h *g,\n"
35332 " const char *device,\n"
35333 " const char *parttype);\n"
35338 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5313
35339 #: ../src/guestfs-actions.pod:5313
35341 "This command is simply a combination of C<guestfs_part_init> followed by "
35342 "C<guestfs_part_add> to create a single primary partition covering the whole "
35347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5317
35348 #: ../src/guestfs-actions.pod:5317
35350 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
35351 "possible values are described in C<guestfs_part_init>."
35355 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5327
35356 #: ../src/guestfs-actions.pod:5327
35357 msgid "guestfs_part_get_bootable"
35361 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5329
35362 #: ../src/guestfs-actions.pod:5329
35366 " guestfs_part_get_bootable (guestfs_h *g,\n"
35367 " const char *device,\n"
35373 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5337
35374 #: ../src/guestfs-actions.pod:5337
35375 msgid "See also C<guestfs_part_set_bootable>."
35379 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5343
35380 #: ../src/guestfs-actions.pod:5343
35381 msgid "guestfs_part_get_mbr_id"
35385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5345
35386 #: ../src/guestfs-actions.pod:5345
35390 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
35391 " const char *device,\n"
35397 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5353
35398 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5535
35399 #: ../src/guestfs-actions.pod:5353 ../src/guestfs-actions.pod:5535
35401 "Note that only MBR (old DOS-style) partitions have type bytes. You will get "
35402 "undefined results for other partition table types (see "
35403 "C<guestfs_part_get_parttype>)."
35407 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5361
35408 #: ../src/guestfs-actions.pod:5361
35409 msgid "guestfs_part_get_parttype"
35413 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5363
35414 #: ../src/guestfs-actions.pod:5363
35418 " guestfs_part_get_parttype (guestfs_h *g,\n"
35419 " const char *device);\n"
35424 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5370
35425 #: ../src/guestfs-actions.pod:5370
35427 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
35428 "table), C<gpt> (a GPT/EFI-style partition table). Other values are "
35429 "possible, although unusual. See C<guestfs_part_init> for a full list."
35433 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5380
35434 #: ../src/guestfs-actions.pod:5380
35435 msgid "guestfs_part_init"
35439 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5382
35440 #: ../src/guestfs-actions.pod:5382
35444 " guestfs_part_init (guestfs_h *g,\n"
35445 " const char *device,\n"
35446 " const char *parttype);\n"
35451 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5391
35452 #: ../src/guestfs-actions.pod:5391
35454 "Initially there are no partitions. Following this, you should call "
35455 "C<guestfs_part_add> for each partition required."
35459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5464
35460 #: ../src/guestfs-actions.pod:5464
35461 msgid "guestfs_part_list"
35462 msgstr "guestfs_part_list"
35465 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5466
35466 #: ../src/guestfs-actions.pod:5466
35469 " struct guestfs_partition_list *\n"
35470 " guestfs_part_list (guestfs_h *g,\n"
35471 " const char *device);\n"
35474 " struct guestfs_partition_list *\n"
35475 " guestfs_part_list (guestfs_h *g,\n"
35476 " const char *device);\n"
35480 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5483
35481 #: ../src/guestfs-actions.pod:5483
35483 "Start of the partition I<in bytes>. To get sectors you have to divide by "
35484 "the device's sector size, see C<guestfs_blockdev_getss>."
35488 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5496
35489 #: ../src/guestfs-actions.pod:5496
35491 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
35492 "was an error. I<The caller must call C<guestfs_free_partition_list> after "
35497 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5502
35498 #: ../src/guestfs-actions.pod:5502
35499 msgid "guestfs_part_set_bootable"
35503 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5504
35504 #: ../src/guestfs-actions.pod:5504
35508 " guestfs_part_set_bootable (guestfs_h *g,\n"
35509 " const char *device,\n"
35511 " int bootable);\n"
35516 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5521
35517 #: ../src/guestfs-actions.pod:5521
35518 msgid "guestfs_part_set_mbr_id"
35522 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5523
35523 #: ../src/guestfs-actions.pod:5523
35527 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
35528 " const char *device,\n"
35535 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5543
35536 #: ../src/guestfs-actions.pod:5543
35537 msgid "guestfs_part_set_name"
35541 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5545
35542 #: ../src/guestfs-actions.pod:5545
35546 " guestfs_part_set_name (guestfs_h *g,\n"
35547 " const char *device,\n"
35549 " const char *name);\n"
35554 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5561
35555 #: ../src/guestfs-actions.pod:5561
35556 msgid "guestfs_part_to_dev"
35560 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5563
35561 #: ../src/guestfs-actions.pod:5563
35565 " guestfs_part_to_dev (guestfs_h *g,\n"
35566 " const char *partition);\n"
35571 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5571
35572 #: ../src/guestfs-actions.pod:5571
35574 "The named partition must exist, for example as a string returned from "
35575 "C<guestfs_list_partitions>."
35579 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5579
35580 #: ../src/guestfs-actions.pod:5579
35581 msgid "guestfs_ping_daemon"
35585 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5581
35586 #: ../src/guestfs-actions.pod:5581
35590 " guestfs_ping_daemon (guestfs_h *g);\n"
35595 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5593
35596 #: ../src/guestfs-actions.pod:5593
35597 msgid "guestfs_pread"
35601 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5595
35602 #: ../src/guestfs-actions.pod:5595
35606 " guestfs_pread (guestfs_h *g,\n"
35607 " const char *path,\n"
35609 " int64_t offset,\n"
35610 " size_t *size_r);\n"
35615 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5608
35616 #: ../src/guestfs-actions.pod:5608
35617 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
35621 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5619
35622 #: ../src/guestfs-actions.pod:5619
35623 msgid "guestfs_pread_device"
35627 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5621
35628 #: ../src/guestfs-actions.pod:5621
35632 " guestfs_pread_device (guestfs_h *g,\n"
35633 " const char *device,\n"
35635 " int64_t offset,\n"
35636 " size_t *size_r);\n"
35641 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5634
35642 #: ../src/guestfs-actions.pod:5634
35643 msgid "See also C<guestfs_pread>."
35647 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5643
35648 #: ../src/guestfs-actions.pod:5643
35649 msgid "(Added in 1.5.21)"
35653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5645
35654 #: ../src/guestfs-actions.pod:5645
35655 msgid "guestfs_pvcreate"
35659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5647
35660 #: ../src/guestfs-actions.pod:5647
35664 " guestfs_pvcreate (guestfs_h *g,\n"
35665 " const char *device);\n"
35670 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5659
35671 #: ../src/guestfs-actions.pod:5659
35672 msgid "guestfs_pvremove"
35676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5661
35677 #: ../src/guestfs-actions.pod:5661
35681 " guestfs_pvremove (guestfs_h *g,\n"
35682 " const char *device);\n"
35687 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5676
35688 #: ../src/guestfs-actions.pod:5676
35689 msgid "guestfs_pvresize"
35693 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5678
35694 #: ../src/guestfs-actions.pod:5678
35698 " guestfs_pvresize (guestfs_h *g,\n"
35699 " const char *device);\n"
35704 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5689
35705 #: ../src/guestfs-actions.pod:5689
35706 msgid "guestfs_pvresize_size"
35710 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5691
35711 #: ../src/guestfs-actions.pod:5691
35715 " guestfs_pvresize_size (guestfs_h *g,\n"
35716 " const char *device,\n"
35717 " int64_t size);\n"
35722 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5696
35723 #: ../src/guestfs-actions.pod:5696
35725 "This command is the same as C<guestfs_pvresize> except that it allows you to "
35726 "specify the new size (in bytes) explicitly."
35730 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5703
35731 #: ../src/guestfs-actions.pod:5703
35732 msgid "guestfs_pvs"
35736 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5705
35737 #: ../src/guestfs-actions.pod:5705
35741 " guestfs_pvs (guestfs_h *g);\n"
35746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5714
35747 #: ../src/guestfs-actions.pod:5714
35748 msgid "See also C<guestfs_pvs_full>."
35752 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5722
35753 #: ../src/guestfs-actions.pod:5722
35754 msgid "guestfs_pvs_full"
35758 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5724
35759 #: ../src/guestfs-actions.pod:5724
35762 " struct guestfs_lvm_pv_list *\n"
35763 " guestfs_pvs_full (guestfs_h *g);\n"
35768 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5730
35769 #: ../src/guestfs-actions.pod:5730
35771 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
35772 "was an error. I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
35776 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5736
35777 #: ../src/guestfs-actions.pod:5736
35778 msgid "guestfs_pvuuid"
35782 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5738
35783 #: ../src/guestfs-actions.pod:5738
35787 " guestfs_pvuuid (guestfs_h *g,\n"
35788 " const char *device);\n"
35793 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5749
35794 #: ../src/guestfs-actions.pod:5749
35795 msgid "guestfs_pwrite"
35799 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5751
35800 #: ../src/guestfs-actions.pod:5751
35804 " guestfs_pwrite (guestfs_h *g,\n"
35805 " const char *path,\n"
35806 " const char *content,\n"
35807 " size_t content_size,\n"
35808 " int64_t offset);\n"
35813 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5767
35814 #: ../src/guestfs-actions.pod:5767
35815 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
35819 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5776
35820 #: ../src/guestfs-actions.pod:5776
35821 msgid "guestfs_pwrite_device"
35825 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5778
35826 #: ../src/guestfs-actions.pod:5778
35830 " guestfs_pwrite_device (guestfs_h *g,\n"
35831 " const char *device,\n"
35832 " const char *content,\n"
35833 " size_t content_size,\n"
35834 " int64_t offset);\n"
35839 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5793
35840 #: ../src/guestfs-actions.pod:5793
35841 msgid "See also C<guestfs_pwrite>."
35845 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5800
35846 #: ../src/guestfs-actions.pod:5800
35847 msgid "(Added in 1.5.20)"
35851 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5802
35852 #: ../src/guestfs-actions.pod:5802
35853 msgid "guestfs_read_file"
35857 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5804
35858 #: ../src/guestfs-actions.pod:5804
35862 " guestfs_read_file (guestfs_h *g,\n"
35863 " const char *path,\n"
35864 " size_t *size_r);\n"
35869 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5812
35870 #: ../src/guestfs-actions.pod:5812
35872 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
35873 "embedded ASCII NUL characters. However unlike C<guestfs_download>, this "
35874 "function is limited in the total size of file that can be handled."
35878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5824
35879 #: ../src/guestfs-actions.pod:5824
35880 msgid "(Added in 1.0.63)"
35884 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5826
35885 #: ../src/guestfs-actions.pod:5826
35886 msgid "guestfs_read_lines"
35890 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5828
35891 #: ../src/guestfs-actions.pod:5828
35895 " guestfs_read_lines (guestfs_h *g,\n"
35896 " const char *path);\n"
35901 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5837
35902 #: ../src/guestfs-actions.pod:5837
35904 "Note that this function cannot correctly handle binary files (specifically, "
35905 "files containing C<\\0> character which is treated as end of line). For "
35906 "those you need to use the C<guestfs_read_file> function which has a more "
35907 "complex interface."
35911 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5848
35912 #: ../src/guestfs-actions.pod:5848
35913 msgid "guestfs_readdir"
35917 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5850
35918 #: ../src/guestfs-actions.pod:5850
35921 " struct guestfs_dirent_list *\n"
35922 " guestfs_readdir (guestfs_h *g,\n"
35923 " const char *dir);\n"
35928 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5904
35929 #: ../src/guestfs-actions.pod:5904
35931 "This function is primarily intended for use by programs. To get a simple "
35932 "list of names, use C<guestfs_ls>. To get a printable directory for human "
35933 "consumption, use C<guestfs_ll>."
35937 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5908
35938 #: ../src/guestfs-actions.pod:5908
35940 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
35941 "was an error. I<The caller must call C<guestfs_free_dirent_list> after use>."
35945 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5914
35946 #: ../src/guestfs-actions.pod:5914
35947 msgid "guestfs_readlink"
35951 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5916
35952 #: ../src/guestfs-actions.pod:5916
35956 " guestfs_readlink (guestfs_h *g,\n"
35957 " const char *path);\n"
35962 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5927
35963 #: ../src/guestfs-actions.pod:5927
35964 msgid "guestfs_readlinklist"
35968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5929
35969 #: ../src/guestfs-actions.pod:5929
35973 " guestfs_readlinklist (guestfs_h *g,\n"
35974 " const char *path,\n"
35975 " char *const *names);\n"
35980 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5962
35981 #: ../src/guestfs-actions.pod:5962
35982 msgid "guestfs_realpath"
35986 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5964
35987 #: ../src/guestfs-actions.pod:5964
35991 " guestfs_realpath (guestfs_h *g,\n"
35992 " const char *path);\n"
35997 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5976
35998 #: ../src/guestfs-actions.pod:5976
35999 msgid "guestfs_removexattr"
36003 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5978
36004 #: ../src/guestfs-actions.pod:5978
36008 " guestfs_removexattr (guestfs_h *g,\n"
36009 " const char *xattr,\n"
36010 " const char *path);\n"
36015 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5986
36016 #: ../src/guestfs-actions.pod:5986
36017 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
36021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5992
36022 #: ../src/guestfs-actions.pod:5992
36023 msgid "guestfs_resize2fs"
36027 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:5994
36028 #: ../src/guestfs-actions.pod:5994
36032 " guestfs_resize2fs (guestfs_h *g,\n"
36033 " const char *device);\n"
36038 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6001
36039 #: ../src/guestfs-actions.pod:6001
36041 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
36042 "C<device> before calling this command. For unknown reasons C<resize2fs> "
36043 "sometimes gives an error about this and sometimes not. In any case, it is "
36044 "always safe to call C<guestfs_e2fsck_f> before calling this function."
36048 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6011
36049 #: ../src/guestfs-actions.pod:6011
36050 msgid "guestfs_resize2fs_M"
36054 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6013
36055 #: ../src/guestfs-actions.pod:6013
36059 " guestfs_resize2fs_M (guestfs_h *g,\n"
36060 " const char *device);\n"
36065 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6017
36066 #: ../src/guestfs-actions.pod:6017
36068 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
36069 "resized to its minimum size. This works like the I<-M> option to the "
36070 "C<resize2fs> command."
36074 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6021
36075 #: ../src/guestfs-actions.pod:6021
36077 "To get the resulting size of the filesystem you should call "
36078 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values. "
36079 "These two numbers, multiplied together, give the resulting size of the "
36080 "minimal filesystem in bytes."
36084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6030
36085 #: ../src/guestfs-actions.pod:6030
36086 msgid "guestfs_resize2fs_size"
36090 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6032
36091 #: ../src/guestfs-actions.pod:6032
36095 " guestfs_resize2fs_size (guestfs_h *g,\n"
36096 " const char *device,\n"
36097 " int64_t size);\n"
36102 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6037
36103 #: ../src/guestfs-actions.pod:6037
36105 "This command is the same as C<guestfs_resize2fs> except that it allows you "
36106 "to specify the new size (in bytes) explicitly."
36110 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6044
36111 #: ../src/guestfs-actions.pod:6044
36116 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6046
36117 #: ../src/guestfs-actions.pod:6046
36121 " guestfs_rm (guestfs_h *g,\n"
36122 " const char *path);\n"
36127 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6056
36128 #: ../src/guestfs-actions.pod:6056
36129 msgid "guestfs_rm_rf"
36133 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6058
36134 #: ../src/guestfs-actions.pod:6058
36138 " guestfs_rm_rf (guestfs_h *g,\n"
36139 " const char *path);\n"
36144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6070
36145 #: ../src/guestfs-actions.pod:6070
36146 msgid "guestfs_rmdir"
36150 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6072
36151 #: ../src/guestfs-actions.pod:6072
36155 " guestfs_rmdir (guestfs_h *g,\n"
36156 " const char *path);\n"
36161 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6082
36162 #: ../src/guestfs-actions.pod:6082
36163 msgid "guestfs_rmmountpoint"
36167 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6084
36168 #: ../src/guestfs-actions.pod:6084
36172 " guestfs_rmmountpoint (guestfs_h *g,\n"
36173 " const char *exemptpath);\n"
36178 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6088
36179 #: ../src/guestfs-actions.pod:6088
36181 "This calls removes a mountpoint that was previously created with "
36182 "C<guestfs_mkmountpoint>. See C<guestfs_mkmountpoint> for full details."
36186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6096
36187 #: ../src/guestfs-actions.pod:6096
36188 msgid "guestfs_scrub_device"
36192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6098
36193 #: ../src/guestfs-actions.pod:6098
36197 " guestfs_scrub_device (guestfs_h *g,\n"
36198 " const char *device);\n"
36203 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6113
36204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6131
36205 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6150
36206 #: ../src/guestfs-actions.pod:6113 ../src/guestfs-actions.pod:6131
36207 #: ../src/guestfs-actions.pod:6150
36208 msgid "(Added in 1.0.52)"
36212 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6115
36213 #: ../src/guestfs-actions.pod:6115
36214 msgid "guestfs_scrub_file"
36218 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6117
36219 #: ../src/guestfs-actions.pod:6117
36223 " guestfs_scrub_file (guestfs_h *g,\n"
36224 " const char *file);\n"
36229 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6133
36230 #: ../src/guestfs-actions.pod:6133
36231 msgid "guestfs_scrub_freespace"
36235 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6135
36236 #: ../src/guestfs-actions.pod:6135
36240 " guestfs_scrub_freespace (guestfs_h *g,\n"
36241 " const char *dir);\n"
36246 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6139
36247 #: ../src/guestfs-actions.pod:6139
36249 "This command creates the directory C<dir> and then fills it with files until "
36250 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
36251 "and deletes them. The intention is to scrub any free space on the partition "
36252 "containing C<dir>."
36256 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6152
36257 #: ../src/guestfs-actions.pod:6152
36258 msgid "guestfs_set_append"
36262 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6154
36263 #: ../src/guestfs-actions.pod:6154
36267 " guestfs_set_append (guestfs_h *g,\n"
36268 " const char *append);\n"
36273 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6171
36274 #: ../src/guestfs-actions.pod:6171
36275 msgid "guestfs_set_attach_method"
36279 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6173
36280 #: ../src/guestfs-actions.pod:6173
36284 " guestfs_set_attach_method (guestfs_h *g,\n"
36285 " const char *attachmethod);\n"
36290 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6201
36291 #: ../src/guestfs-actions.pod:6201
36292 msgid "guestfs_set_autosync"
36296 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6203
36297 #: ../src/guestfs-actions.pod:6203
36301 " guestfs_set_autosync (guestfs_h *g,\n"
36302 " int autosync);\n"
36307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6219
36308 #: ../src/guestfs-actions.pod:6219
36309 msgid "guestfs_set_direct"
36313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6221
36314 #: ../src/guestfs-actions.pod:6221
36318 " guestfs_set_direct (guestfs_h *g,\n"
36324 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6229
36325 #: ../src/guestfs-actions.pod:6229
36327 "One consequence of this is that log messages aren't caught by the library "
36328 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
36333 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6242
36334 #: ../src/guestfs-actions.pod:6242
36335 msgid "guestfs_set_e2label"
36339 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6244
36340 #: ../src/guestfs-actions.pod:6244
36344 " guestfs_set_e2label (guestfs_h *g,\n"
36345 " const char *device,\n"
36346 " const char *label);\n"
36351 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6253
36352 #: ../src/guestfs-actions.pod:6253
36354 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
36355 "the existing label on a filesystem."
36359 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6260
36360 #: ../src/guestfs-actions.pod:6260
36361 msgid "guestfs_set_e2uuid"
36365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6262
36366 #: ../src/guestfs-actions.pod:6262
36370 " guestfs_set_e2uuid (guestfs_h *g,\n"
36371 " const char *device,\n"
36372 " const char *uuid);\n"
36377 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6272
36378 #: ../src/guestfs-actions.pod:6272
36380 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
36381 "the existing UUID of a filesystem."
36385 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6279
36386 #: ../src/guestfs-actions.pod:6279
36387 msgid "guestfs_set_memsize"
36391 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6281
36392 #: ../src/guestfs-actions.pod:6281
36396 " guestfs_set_memsize (guestfs_h *g,\n"
36402 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6285
36403 #: ../src/guestfs-actions.pod:6285
36405 "This sets the memory size in megabytes allocated to the qemu subprocess. "
36406 "This only has any effect if called before C<guestfs_launch>."
36410 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6300
36411 #: ../src/guestfs-actions.pod:6300
36412 msgid "guestfs_set_network"
36416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6302
36417 #: ../src/guestfs-actions.pod:6302
36421 " guestfs_set_network (guestfs_h *g,\n"
36427 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6312
36428 #: ../src/guestfs-actions.pod:6312
36430 "You must call this before calling C<guestfs_launch>, otherwise it has no "
36435 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6319
36436 #: ../src/guestfs-actions.pod:6319
36437 msgid "guestfs_set_path"
36441 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6321
36442 #: ../src/guestfs-actions.pod:6321
36446 " guestfs_set_path (guestfs_h *g,\n"
36447 " const char *searchpath);\n"
36452 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6336
36453 #: ../src/guestfs-actions.pod:6336
36454 msgid "guestfs_set_pgroup"
36458 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6338
36459 #: ../src/guestfs-actions.pod:6338
36463 " guestfs_set_pgroup (guestfs_h *g,\n"
36469 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6355
36470 #: ../src/guestfs-actions.pod:6355
36471 msgid "guestfs_set_qemu"
36475 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6357
36476 #: ../src/guestfs-actions.pod:6357
36480 " guestfs_set_qemu (guestfs_h *g,\n"
36481 " const char *qemu);\n"
36486 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6383
36487 #: ../src/guestfs-actions.pod:6383
36488 msgid "guestfs_set_recovery_proc"
36492 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6385
36493 #: ../src/guestfs-actions.pod:6385
36497 " guestfs_set_recovery_proc (guestfs_h *g,\n"
36498 " int recoveryproc);\n"
36503 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6389
36504 #: ../src/guestfs-actions.pod:6389
36506 "If this is called with the parameter C<false> then C<guestfs_launch> does "
36507 "not create a recovery process. The purpose of the recovery process is to "
36508 "stop runaway qemu processes in the case where the main program aborts "
36513 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6394
36514 #: ../src/guestfs-actions.pod:6394
36516 "This only has any effect if called before C<guestfs_launch>, and the default "
36521 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6407
36522 #: ../src/guestfs-actions.pod:6407
36523 msgid "guestfs_set_selinux"
36527 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6409
36528 #: ../src/guestfs-actions.pod:6409
36532 " guestfs_set_selinux (guestfs_h *g,\n"
36538 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6426
36539 #: ../src/guestfs-actions.pod:6426
36540 msgid "guestfs_set_trace"
36544 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6428
36545 #: ../src/guestfs-actions.pod:6428
36549 " guestfs_set_trace (guestfs_h *g,\n"
36555 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6442
36556 #: ../src/guestfs-actions.pod:6442
36558 "Trace messages are normally sent to C<stderr>, unless you register a "
36559 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
36563 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6450
36564 #: ../src/guestfs-actions.pod:6450
36565 msgid "guestfs_set_verbose"
36569 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6452
36570 #: ../src/guestfs-actions.pod:6452
36574 " guestfs_set_verbose (guestfs_h *g,\n"
36580 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6461
36581 #: ../src/guestfs-actions.pod:6461
36583 "Verbose messages are normally sent to C<stderr>, unless you register a "
36584 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
36588 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6469
36589 #: ../src/guestfs-actions.pod:6469
36590 msgid "guestfs_setcon"
36594 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6471
36595 #: ../src/guestfs-actions.pod:6471
36599 " guestfs_setcon (guestfs_h *g,\n"
36600 " const char *context);\n"
36605 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6484
36606 #: ../src/guestfs-actions.pod:6484
36607 msgid "guestfs_setxattr"
36611 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6486
36612 #: ../src/guestfs-actions.pod:6486
36616 " guestfs_setxattr (guestfs_h *g,\n"
36617 " const char *xattr,\n"
36618 " const char *val,\n"
36620 " const char *path);\n"
36625 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6497
36626 #: ../src/guestfs-actions.pod:6497
36627 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
36631 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6503
36632 #: ../src/guestfs-actions.pod:6503
36633 msgid "guestfs_sfdisk"
36637 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6505
36638 #: ../src/guestfs-actions.pod:6505
36642 " guestfs_sfdisk (guestfs_h *g,\n"
36643 " const char *device,\n"
36647 " char *const *lines);\n"
36652 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6533
36653 #: ../src/guestfs-actions.pod:6533
36655 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
36659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6550
36660 #: ../src/guestfs-actions.pod:6550
36661 msgid "guestfs_sfdiskM"
36665 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6552
36666 #: ../src/guestfs-actions.pod:6552
36670 " guestfs_sfdiskM (guestfs_h *g,\n"
36671 " const char *device,\n"
36672 " char *const *lines);\n"
36677 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6557
36678 #: ../src/guestfs-actions.pod:6557
36680 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
36681 "partition sizes are specified in megabytes only (rounded to the nearest "
36682 "cylinder) and you don't need to specify the cyls, heads and sectors "
36683 "parameters which were rarely if ever used anyway."
36687 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6563
36688 #: ../src/guestfs-actions.pod:6563
36690 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
36691 "C<guestfs_part_disk>"
36695 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6580
36696 #: ../src/guestfs-actions.pod:6580
36697 msgid "guestfs_sfdisk_N"
36701 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6582
36702 #: ../src/guestfs-actions.pod:6582
36706 " guestfs_sfdisk_N (guestfs_h *g,\n"
36707 " const char *device,\n"
36712 " const char *line);\n"
36717 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6594
36718 #: ../src/guestfs-actions.pod:6594
36720 "For other parameters, see C<guestfs_sfdisk>. You should usually pass C<0> "
36721 "for the cyls/heads/sectors parameters."
36725 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6597
36726 #: ../src/guestfs-actions.pod:6597
36727 msgid "See also: C<guestfs_part_add>"
36731 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6613
36732 #: ../src/guestfs-actions.pod:6613
36733 msgid "guestfs_sfdisk_disk_geometry"
36737 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6615
36738 #: ../src/guestfs-actions.pod:6615
36742 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
36743 " const char *device);\n"
36748 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6619
36749 #: ../src/guestfs-actions.pod:6619
36751 "This displays the disk geometry of C<device> read from the partition table. "
36752 "Especially in the case where the underlying block device has been resized, "
36753 "this can be different from the kernel's idea of the geometry (see "
36754 "C<guestfs_sfdisk_kernel_geometry>)."
36758 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6632
36759 #: ../src/guestfs-actions.pod:6632
36760 msgid "guestfs_sfdisk_kernel_geometry"
36764 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6634
36765 #: ../src/guestfs-actions.pod:6634
36769 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
36770 " const char *device);\n"
36775 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6648
36776 #: ../src/guestfs-actions.pod:6648
36777 msgid "guestfs_sfdisk_l"
36781 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6650
36782 #: ../src/guestfs-actions.pod:6650
36786 " guestfs_sfdisk_l (guestfs_h *g,\n"
36787 " const char *device);\n"
36792 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6658
36793 #: ../src/guestfs-actions.pod:6658
36794 msgid "See also: C<guestfs_part_list>"
36798 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6672
36799 #: ../src/guestfs-actions.pod:6672
36804 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6674
36805 #: ../src/guestfs-actions.pod:6674
36809 " guestfs_sh (guestfs_h *g,\n"
36810 " const char *command);\n"
36815 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6681
36816 #: ../src/guestfs-actions.pod:6681
36817 msgid "This is like C<guestfs_command>, but passes the command to:"
36821 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6689
36822 #: ../src/guestfs-actions.pod:6689
36823 msgid "All the provisos about C<guestfs_command> apply to this call."
36827 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6696
36828 #: ../src/guestfs-actions.pod:6696
36829 msgid "guestfs_sh_lines"
36833 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6698
36834 #: ../src/guestfs-actions.pod:6698
36838 " guestfs_sh_lines (guestfs_h *g,\n"
36839 " const char *command);\n"
36844 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6702
36845 #: ../src/guestfs-actions.pod:6702
36847 "This is the same as C<guestfs_sh>, but splits the result into a list of "
36852 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6705
36853 #: ../src/guestfs-actions.pod:6705
36854 msgid "See also: C<guestfs_command_lines>"
36858 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6713
36859 #: ../src/guestfs-actions.pod:6713
36860 msgid "guestfs_sleep"
36864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6715
36865 #: ../src/guestfs-actions.pod:6715
36869 " guestfs_sleep (guestfs_h *g,\n"
36875 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6723
36876 #: ../src/guestfs-actions.pod:6723
36877 msgid "(Added in 1.0.41)"
36881 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6725
36882 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:109
36883 #: ../src/guestfs-actions.pod:6725 ../src/guestfs-structs.pod:109
36884 msgid "guestfs_stat"
36888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6727
36889 #: ../src/guestfs-actions.pod:6727
36892 " struct guestfs_stat *\n"
36893 " guestfs_stat (guestfs_h *g,\n"
36894 " const char *path);\n"
36899 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6741
36900 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:135
36901 #: ../src/guestfs-actions.pod:6741 ../src/guestfs-structs.pod:135
36902 msgid "guestfs_statvfs"
36906 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6743
36907 #: ../src/guestfs-actions.pod:6743
36910 " struct guestfs_statvfs *\n"
36911 " guestfs_statvfs (guestfs_h *g,\n"
36912 " const char *path);\n"
36917 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6753
36918 #: ../src/guestfs-actions.pod:6753
36920 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
36921 "error. I<The caller must call C<guestfs_free_statvfs> after use>."
36925 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6759
36926 #: ../src/guestfs-actions.pod:6759
36927 msgid "guestfs_strings"
36931 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6761
36932 #: ../src/guestfs-actions.pod:6761
36936 " guestfs_strings (guestfs_h *g,\n"
36937 " const char *path);\n"
36942 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6777
36943 #: ../src/guestfs-actions.pod:6777
36944 msgid "guestfs_strings_e"
36948 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6779
36949 #: ../src/guestfs-actions.pod:6779
36953 " guestfs_strings_e (guestfs_h *g,\n"
36954 " const char *encoding,\n"
36955 " const char *path);\n"
36960 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6784
36961 #: ../src/guestfs-actions.pod:6784
36963 "This is like the C<guestfs_strings> command, but allows you to specify the "
36964 "encoding of strings that are looked for in the source file C<path>."
36968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6794
36969 #: ../src/guestfs-actions.pod:6794
36971 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
36972 "ISO-8859-X (this is what C<guestfs_strings> uses)."
36976 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6832
36977 #: ../src/guestfs-actions.pod:6832
36978 msgid "guestfs_swapoff_device"
36982 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6834
36983 #: ../src/guestfs-actions.pod:6834
36987 " guestfs_swapoff_device (guestfs_h *g,\n"
36988 " const char *device);\n"
36993 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6838
36994 #: ../src/guestfs-actions.pod:6838
36996 "This command disables the libguestfs appliance swap device or partition "
36997 "named C<device>. See C<guestfs_swapon_device>."
37001 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6846
37002 #: ../src/guestfs-actions.pod:6846
37003 msgid "guestfs_swapoff_file"
37007 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6848
37008 #: ../src/guestfs-actions.pod:6848
37012 " guestfs_swapoff_file (guestfs_h *g,\n"
37013 " const char *file);\n"
37018 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6858
37019 #: ../src/guestfs-actions.pod:6858
37020 msgid "guestfs_swapoff_label"
37024 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6860
37025 #: ../src/guestfs-actions.pod:6860
37029 " guestfs_swapoff_label (guestfs_h *g,\n"
37030 " const char *label);\n"
37035 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6871
37036 #: ../src/guestfs-actions.pod:6871
37037 msgid "guestfs_swapoff_uuid"
37041 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6873
37042 #: ../src/guestfs-actions.pod:6873
37046 " guestfs_swapoff_uuid (guestfs_h *g,\n"
37047 " const char *uuid);\n"
37052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6884
37053 #: ../src/guestfs-actions.pod:6884
37054 msgid "guestfs_swapon_device"
37058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6886
37059 #: ../src/guestfs-actions.pod:6886
37063 " guestfs_swapon_device (guestfs_h *g,\n"
37064 " const char *device);\n"
37069 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6890
37070 #: ../src/guestfs-actions.pod:6890
37072 "This command enables the libguestfs appliance to use the swap device or "
37073 "partition named C<device>. The increased memory is made available for all "
37074 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
37078 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6906
37079 #: ../src/guestfs-actions.pod:6906
37080 msgid "guestfs_swapon_file"
37084 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6908
37085 #: ../src/guestfs-actions.pod:6908
37089 " guestfs_swapon_file (guestfs_h *g,\n"
37090 " const char *file);\n"
37095 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6912
37096 #: ../src/guestfs-actions.pod:6912
37098 "This command enables swap to a file. See C<guestfs_swapon_device> for other "
37103 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6919
37104 #: ../src/guestfs-actions.pod:6919
37105 msgid "guestfs_swapon_label"
37109 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6921
37110 #: ../src/guestfs-actions.pod:6921
37114 " guestfs_swapon_label (guestfs_h *g,\n"
37115 " const char *label);\n"
37120 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6925
37121 #: ../src/guestfs-actions.pod:6925
37123 "This command enables swap to a labeled swap partition. See "
37124 "C<guestfs_swapon_device> for other notes."
37128 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6932
37129 #: ../src/guestfs-actions.pod:6932
37130 msgid "guestfs_swapon_uuid"
37134 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6934
37135 #: ../src/guestfs-actions.pod:6934
37139 " guestfs_swapon_uuid (guestfs_h *g,\n"
37140 " const char *uuid);\n"
37145 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6938
37146 #: ../src/guestfs-actions.pod:6938
37148 "This command enables swap to a swap partition with the given UUID. See "
37149 "C<guestfs_swapon_device> for other notes."
37153 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6945
37154 #: ../src/guestfs-actions.pod:6945
37155 msgid "guestfs_sync"
37159 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6947
37160 #: ../src/guestfs-actions.pod:6947
37164 " guestfs_sync (guestfs_h *g);\n"
37169 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6960
37170 #: ../src/guestfs-actions.pod:6960
37171 msgid "guestfs_tail"
37175 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6962
37176 #: ../src/guestfs-actions.pod:6962
37180 " guestfs_tail (guestfs_h *g,\n"
37181 " const char *path);\n"
37186 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6978
37187 #: ../src/guestfs-actions.pod:6978
37188 msgid "guestfs_tail_n"
37192 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:6980
37193 #: ../src/guestfs-actions.pod:6980
37197 " guestfs_tail_n (guestfs_h *g,\n"
37199 " const char *path);\n"
37204 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7002
37205 #: ../src/guestfs-actions.pod:7002
37206 msgid "guestfs_tar_in"
37210 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7004
37211 #: ../src/guestfs-actions.pod:7004
37215 " guestfs_tar_in (guestfs_h *g,\n"
37216 " const char *tarfile,\n"
37217 " const char *directory);\n"
37222 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7012
37223 #: ../src/guestfs-actions.pod:7012
37225 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
37229 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7017
37230 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7034
37231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7050
37232 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7066
37233 #: ../src/guestfs-actions.pod:7017 ../src/guestfs-actions.pod:7034
37234 #: ../src/guestfs-actions.pod:7050 ../src/guestfs-actions.pod:7066
37235 msgid "(Added in 1.0.3)"
37239 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7019
37240 #: ../src/guestfs-actions.pod:7019
37241 msgid "guestfs_tar_out"
37245 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7021
37246 #: ../src/guestfs-actions.pod:7021
37250 " guestfs_tar_out (guestfs_h *g,\n"
37251 " const char *directory,\n"
37252 " const char *tarfile);\n"
37257 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7029
37258 #: ../src/guestfs-actions.pod:7029
37260 "To download a compressed tarball, use C<guestfs_tgz_out> or "
37261 "C<guestfs_txz_out>."
37265 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7036
37266 #: ../src/guestfs-actions.pod:7036
37267 msgid "guestfs_tgz_in"
37271 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7038
37272 #: ../src/guestfs-actions.pod:7038
37276 " guestfs_tgz_in (guestfs_h *g,\n"
37277 " const char *tarball,\n"
37278 " const char *directory);\n"
37283 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7046
37284 #: ../src/guestfs-actions.pod:7046
37285 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
37289 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7052
37290 #: ../src/guestfs-actions.pod:7052
37291 msgid "guestfs_tgz_out"
37295 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7054
37296 #: ../src/guestfs-actions.pod:7054
37300 " guestfs_tgz_out (guestfs_h *g,\n"
37301 " const char *directory,\n"
37302 " const char *tarball);\n"
37307 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7062
37308 #: ../src/guestfs-actions.pod:7062
37309 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
37313 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7068
37314 #: ../src/guestfs-actions.pod:7068
37315 msgid "guestfs_touch"
37319 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7070
37320 #: ../src/guestfs-actions.pod:7070
37324 " guestfs_touch (guestfs_h *g,\n"
37325 " const char *path);\n"
37330 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7085
37331 #: ../src/guestfs-actions.pod:7085
37332 msgid "guestfs_truncate"
37336 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7087
37337 #: ../src/guestfs-actions.pod:7087
37341 " guestfs_truncate (guestfs_h *g,\n"
37342 " const char *path);\n"
37347 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7098
37348 #: ../src/guestfs-actions.pod:7098
37349 msgid "guestfs_truncate_size"
37353 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7100
37354 #: ../src/guestfs-actions.pod:7100
37358 " guestfs_truncate_size (guestfs_h *g,\n"
37359 " const char *path,\n"
37360 " int64_t size);\n"
37365 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7108
37366 #: ../src/guestfs-actions.pod:7108
37368 "If the current file size is less than C<size> then the file is extended to "
37369 "the required size with zero bytes. This creates a sparse file (ie. disk "
37370 "blocks are not allocated for the file until you write to it). To create a "
37371 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
37375 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7118
37376 #: ../src/guestfs-actions.pod:7118
37377 msgid "guestfs_tune2fs_l"
37381 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7120
37382 #: ../src/guestfs-actions.pod:7120
37386 " guestfs_tune2fs_l (guestfs_h *g,\n"
37387 " const char *device);\n"
37392 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7140
37393 #: ../src/guestfs-actions.pod:7140
37394 msgid "guestfs_txz_in"
37398 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7142
37399 #: ../src/guestfs-actions.pod:7142
37403 " guestfs_txz_in (guestfs_h *g,\n"
37404 " const char *tarball,\n"
37405 " const char *directory);\n"
37410 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7154
37411 #: ../src/guestfs-actions.pod:7154
37412 msgid "guestfs_txz_out"
37416 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7156
37417 #: ../src/guestfs-actions.pod:7156
37421 " guestfs_txz_out (guestfs_h *g,\n"
37422 " const char *directory,\n"
37423 " const char *tarball);\n"
37428 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7168
37429 #: ../src/guestfs-actions.pod:7168
37430 msgid "guestfs_umask"
37434 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7170
37435 #: ../src/guestfs-actions.pod:7170
37439 " guestfs_umask (guestfs_h *g,\n"
37445 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7186
37446 #: ../src/guestfs-actions.pod:7186
37448 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
37449 "C<guestfs_mkdir>."
37453 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7195
37454 #: ../src/guestfs-actions.pod:7195
37455 msgid "guestfs_umount"
37459 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7197
37460 #: ../src/guestfs-actions.pod:7197
37464 " guestfs_umount (guestfs_h *g,\n"
37465 " const char *pathordevice);\n"
37470 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7209
37471 #: ../src/guestfs-actions.pod:7209
37472 msgid "guestfs_umount_all"
37476 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7211
37477 #: ../src/guestfs-actions.pod:7211
37481 " guestfs_umount_all (guestfs_h *g);\n"
37486 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7222
37487 #: ../src/guestfs-actions.pod:7222
37488 msgid "guestfs_upload"
37492 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7224
37493 #: ../src/guestfs-actions.pod:7224
37497 " guestfs_upload (guestfs_h *g,\n"
37498 " const char *filename,\n"
37499 " const char *remotefilename);\n"
37504 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7234
37505 #: ../src/guestfs-actions.pod:7234
37506 msgid "See also C<guestfs_download>."
37510 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7245
37511 #: ../src/guestfs-actions.pod:7245
37512 msgid "guestfs_upload_offset"
37516 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7247
37517 #: ../src/guestfs-actions.pod:7247
37521 " guestfs_upload_offset (guestfs_h *g,\n"
37522 " const char *filename,\n"
37523 " const char *remotefilename,\n"
37524 " int64_t offset);\n"
37529 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7263
37530 #: ../src/guestfs-actions.pod:7263
37532 "Note that there is no limit on the amount of data that can be uploaded with "
37533 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
37534 "full amount unless an error occurs."
37538 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7268
37539 #: ../src/guestfs-actions.pod:7268
37540 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
37544 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7279
37545 #: ../src/guestfs-actions.pod:7279
37546 msgid "guestfs_utimens"
37550 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7281
37551 #: ../src/guestfs-actions.pod:7281
37555 " guestfs_utimens (guestfs_h *g,\n"
37556 " const char *path,\n"
37557 " int64_t atsecs,\n"
37558 " int64_t atnsecs,\n"
37559 " int64_t mtsecs,\n"
37560 " int64_t mtnsecs);\n"
37565 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7310
37566 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:175
37567 #: ../src/guestfs-actions.pod:7310 ../src/guestfs-structs.pod:175
37568 msgid "guestfs_version"
37572 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7312
37573 #: ../src/guestfs-actions.pod:7312
37576 " struct guestfs_version *\n"
37577 " guestfs_version (guestfs_h *g);\n"
37582 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7340
37583 #: ../src/guestfs-actions.pod:7340
37585 "I<Note:> Don't use this call to test for availability of features. In "
37586 "enterprise distributions we backport features from later versions into "
37587 "earlier versions, making this an unreliable way to test for features. Use "
37588 "C<guestfs_available> instead."
37592 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7346
37593 #: ../src/guestfs-actions.pod:7346
37595 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
37596 "error. I<The caller must call C<guestfs_free_version> after use>."
37600 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7350
37601 #: ../src/guestfs-actions.pod:7350
37602 msgid "(Added in 1.0.58)"
37606 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7352
37607 #: ../src/guestfs-actions.pod:7352
37608 msgid "guestfs_vfs_label"
37612 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7354
37613 #: ../src/guestfs-actions.pod:7354
37617 " guestfs_vfs_label (guestfs_h *g,\n"
37618 " const char *device);\n"
37623 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7363
37624 #: ../src/guestfs-actions.pod:7363
37625 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
37629 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7368
37630 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7405
37631 #: ../src/guestfs-actions.pod:7368 ../src/guestfs-actions.pod:7405
37632 msgid "(Added in 1.3.18)"
37636 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7370
37637 #: ../src/guestfs-actions.pod:7370
37638 msgid "guestfs_vfs_type"
37642 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7372
37643 #: ../src/guestfs-actions.pod:7372
37647 " guestfs_vfs_type (guestfs_h *g,\n"
37648 " const char *device);\n"
37653 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7389
37654 #: ../src/guestfs-actions.pod:7389
37655 msgid "guestfs_vfs_uuid"
37659 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7391
37660 #: ../src/guestfs-actions.pod:7391
37664 " guestfs_vfs_uuid (guestfs_h *g,\n"
37665 " const char *device);\n"
37670 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7400
37671 #: ../src/guestfs-actions.pod:7400
37672 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
37676 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7407
37677 #: ../src/guestfs-actions.pod:7407
37678 msgid "guestfs_vg_activate"
37682 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7409
37683 #: ../src/guestfs-actions.pod:7409
37687 " guestfs_vg_activate (guestfs_h *g,\n"
37689 " char *const *volgroups);\n"
37694 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7426
37695 #: ../src/guestfs-actions.pod:7426
37696 msgid "guestfs_vg_activate_all"
37700 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7428
37701 #: ../src/guestfs-actions.pod:7428
37705 " guestfs_vg_activate_all (guestfs_h *g,\n"
37706 " int activate);\n"
37711 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7441
37712 #: ../src/guestfs-actions.pod:7441
37713 msgid "guestfs_vgcreate"
37717 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7443
37718 #: ../src/guestfs-actions.pod:7443
37722 " guestfs_vgcreate (guestfs_h *g,\n"
37723 " const char *volgroup,\n"
37724 " char *const *physvols);\n"
37729 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7455
37730 #: ../src/guestfs-actions.pod:7455
37731 msgid "guestfs_vglvuuids"
37735 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7457
37736 #: ../src/guestfs-actions.pod:7457
37740 " guestfs_vglvuuids (guestfs_h *g,\n"
37741 " const char *vgname);\n"
37746 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7464
37747 #: ../src/guestfs-actions.pod:7464
37749 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
37750 "associate logical volumes and volume groups."
37754 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7467
37755 #: ../src/guestfs-actions.pod:7467
37756 msgid "See also C<guestfs_vgpvuuids>."
37760 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7475
37761 #: ../src/guestfs-actions.pod:7475
37762 msgid "guestfs_vgpvuuids"
37766 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7477
37767 #: ../src/guestfs-actions.pod:7477
37771 " guestfs_vgpvuuids (guestfs_h *g,\n"
37772 " const char *vgname);\n"
37777 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7484
37778 #: ../src/guestfs-actions.pod:7484
37780 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
37781 "associate physical volumes and volume groups."
37785 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7487
37786 #: ../src/guestfs-actions.pod:7487
37787 msgid "See also C<guestfs_vglvuuids>."
37791 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7495
37792 #: ../src/guestfs-actions.pod:7495
37793 msgid "guestfs_vgremove"
37797 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7497
37798 #: ../src/guestfs-actions.pod:7497
37802 " guestfs_vgremove (guestfs_h *g,\n"
37803 " const char *vgname);\n"
37808 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7510
37809 #: ../src/guestfs-actions.pod:7510
37810 msgid "guestfs_vgrename"
37814 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7512
37815 #: ../src/guestfs-actions.pod:7512
37819 " guestfs_vgrename (guestfs_h *g,\n"
37820 " const char *volgroup,\n"
37821 " const char *newvolgroup);\n"
37826 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7523
37827 #: ../src/guestfs-actions.pod:7523
37828 msgid "guestfs_vgs"
37832 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7525
37833 #: ../src/guestfs-actions.pod:7525
37837 " guestfs_vgs (guestfs_h *g);\n"
37842 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7534
37843 #: ../src/guestfs-actions.pod:7534
37844 msgid "See also C<guestfs_vgs_full>."
37848 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7542
37849 #: ../src/guestfs-actions.pod:7542
37850 msgid "guestfs_vgs_full"
37854 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7544
37855 #: ../src/guestfs-actions.pod:7544
37858 " struct guestfs_lvm_vg_list *\n"
37859 " guestfs_vgs_full (guestfs_h *g);\n"
37864 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7550
37865 #: ../src/guestfs-actions.pod:7550
37867 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
37868 "was an error. I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
37872 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7556
37873 #: ../src/guestfs-actions.pod:7556
37874 msgid "guestfs_vgscan"
37878 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7558
37879 #: ../src/guestfs-actions.pod:7558
37883 " guestfs_vgscan (guestfs_h *g);\n"
37888 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7568
37889 #: ../src/guestfs-actions.pod:7568
37890 msgid "guestfs_vguuid"
37894 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7570
37895 #: ../src/guestfs-actions.pod:7570
37899 " guestfs_vguuid (guestfs_h *g,\n"
37900 " const char *vgname);\n"
37905 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7581
37906 #: ../src/guestfs-actions.pod:7581
37907 msgid "guestfs_wait_ready"
37911 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7583
37912 #: ../src/guestfs-actions.pod:7583
37916 " guestfs_wait_ready (guestfs_h *g);\n"
37921 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7586
37922 #: ../src/guestfs-actions.pod:7586
37923 msgid "This function is a no op."
37927 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7588
37928 #: ../src/guestfs-actions.pod:7588
37930 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
37931 "calling C<guestfs_launch> to wait for the launch to complete. However this "
37932 "is no longer necessary because C<guestfs_launch> now does the waiting."
37936 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7593
37937 #: ../src/guestfs-actions.pod:7593
37939 "If you see any calls to this function in code then you can just remove them, "
37940 "unless you want to retain compatibility with older versions of the API."
37944 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7599
37945 #: ../src/guestfs-actions.pod:7599
37947 "This function is deprecated. In new code, use the C<launch> call instead."
37951 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7608
37952 #: ../src/guestfs-actions.pod:7608
37953 msgid "guestfs_wc_c"
37957 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7610
37958 #: ../src/guestfs-actions.pod:7610
37962 " guestfs_wc_c (guestfs_h *g,\n"
37963 " const char *path);\n"
37968 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7621
37969 #: ../src/guestfs-actions.pod:7621
37970 msgid "guestfs_wc_l"
37974 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7623
37975 #: ../src/guestfs-actions.pod:7623
37979 " guestfs_wc_l (guestfs_h *g,\n"
37980 " const char *path);\n"
37985 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7634
37986 #: ../src/guestfs-actions.pod:7634
37987 msgid "guestfs_wc_w"
37991 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7636
37992 #: ../src/guestfs-actions.pod:7636
37996 " guestfs_wc_w (guestfs_h *g,\n"
37997 " const char *path);\n"
38002 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7647
38003 #: ../src/guestfs-actions.pod:7647
38004 msgid "guestfs_write"
38008 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7649
38009 #: ../src/guestfs-actions.pod:7649
38013 " guestfs_write (guestfs_h *g,\n"
38014 " const char *path,\n"
38015 " const char *content,\n"
38016 " size_t content_size);\n"
38021 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7658
38022 #: ../src/guestfs-actions.pod:7658
38023 msgid "See also C<guestfs_write_append>."
38027 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7667
38028 #: ../src/guestfs-actions.pod:7667
38029 msgid "guestfs_write_append"
38033 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7669
38034 #: ../src/guestfs-actions.pod:7669
38038 " guestfs_write_append (guestfs_h *g,\n"
38039 " const char *path,\n"
38040 " const char *content,\n"
38041 " size_t content_size);\n"
38046 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7678
38047 #: ../src/guestfs-actions.pod:7678
38048 msgid "See also C<guestfs_write>."
38052 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7687
38053 #: ../src/guestfs-actions.pod:7687
38054 msgid "guestfs_write_file"
38055 msgstr "guestfs_write_file"
38058 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7689
38059 #: ../src/guestfs-actions.pod:7689
38063 " guestfs_write_file (guestfs_h *g,\n"
38064 " const char *path,\n"
38065 " const char *content,\n"
38070 " guestfs_write_file (guestfs_h *g,\n"
38071 " const char *path,\n"
38072 " const char *content,\n"
38077 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7720
38078 #: ../src/guestfs-actions.pod:7720
38079 msgid "guestfs_zegrep"
38080 msgstr "guestfs_zegrep"
38083 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7722
38084 #: ../src/guestfs-actions.pod:7722
38088 " guestfs_zegrep (guestfs_h *g,\n"
38089 " const char *regex,\n"
38090 " const char *path);\n"
38094 " guestfs_zegrep (guestfs_h *g,\n"
38095 " const char *regex,\n"
38096 " const char *path);\n"
38100 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7739
38101 #: ../src/guestfs-actions.pod:7739
38102 msgid "guestfs_zegrepi"
38103 msgstr "guestfs_zegrepi"
38106 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7741
38107 #: ../src/guestfs-actions.pod:7741
38111 " guestfs_zegrepi (guestfs_h *g,\n"
38112 " const char *regex,\n"
38113 " const char *path);\n"
38117 " guestfs_zegrepi (guestfs_h *g,\n"
38118 " const char *regex,\n"
38119 " const char *path);\n"
38123 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7758
38124 #: ../src/guestfs-actions.pod:7758
38125 msgid "guestfs_zero"
38126 msgstr "guestfs_zero"
38129 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7760
38130 #: ../src/guestfs-actions.pod:7760
38134 " guestfs_zero (guestfs_h *g,\n"
38135 " const char *device);\n"
38139 " guestfs_zero (guestfs_h *g,\n"
38140 " const char *device);\n"
38144 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7770
38145 #: ../src/guestfs-actions.pod:7770
38147 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
38148 "C<guestfs_is_zero_device>"
38152 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7782
38153 #: ../src/guestfs-actions.pod:7782
38154 msgid "guestfs_zero_device"
38155 msgstr "guestfs_zero_device"
38158 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7784
38159 #: ../src/guestfs-actions.pod:7784
38163 " guestfs_zero_device (guestfs_h *g,\n"
38164 " const char *device);\n"
38168 " guestfs_zero_device (guestfs_h *g,\n"
38169 " const char *device);\n"
38173 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7788
38174 #: ../src/guestfs-actions.pod:7788
38176 "This command writes zeroes over the entire C<device>. Compare with "
38177 "C<guestfs_zero> which just zeroes the first few blocks of a device."
38181 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7802
38182 #: ../src/guestfs-actions.pod:7802
38183 msgid "(Added in 1.3.1)"
38184 msgstr "(Додано у 1.3.1)"
38187 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7804
38188 #: ../src/guestfs-actions.pod:7804
38189 msgid "guestfs_zerofree"
38190 msgstr "guestfs_zerofree"
38193 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7806
38194 #: ../src/guestfs-actions.pod:7806
38198 " guestfs_zerofree (guestfs_h *g,\n"
38199 " const char *device);\n"
38203 " guestfs_zerofree (guestfs_h *g,\n"
38204 " const char *device);\n"
38208 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7825
38209 #: ../src/guestfs-actions.pod:7825
38210 msgid "guestfs_zfgrep"
38211 msgstr "guestfs_zfgrep"
38214 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7827
38215 #: ../src/guestfs-actions.pod:7827
38219 " guestfs_zfgrep (guestfs_h *g,\n"
38220 " const char *pattern,\n"
38221 " const char *path);\n"
38225 " guestfs_zfgrep (guestfs_h *g,\n"
38226 " const char *pattern,\n"
38227 " const char *path);\n"
38231 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7844
38232 #: ../src/guestfs-actions.pod:7844
38233 msgid "guestfs_zfgrepi"
38234 msgstr "guestfs_zfgrepi"
38237 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7846
38238 #: ../src/guestfs-actions.pod:7846
38242 " guestfs_zfgrepi (guestfs_h *g,\n"
38243 " const char *pattern,\n"
38244 " const char *path);\n"
38248 " guestfs_zfgrepi (guestfs_h *g,\n"
38249 " const char *pattern,\n"
38250 " const char *path);\n"
38254 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7863
38255 #: ../src/guestfs-actions.pod:7863
38256 msgid "guestfs_zfile"
38257 msgstr "guestfs_zfile"
38260 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7865
38261 #: ../src/guestfs-actions.pod:7865
38265 " guestfs_zfile (guestfs_h *g,\n"
38266 " const char *meth,\n"
38267 " const char *path);\n"
38271 " guestfs_zfile (guestfs_h *g,\n"
38272 " const char *meth,\n"
38273 " const char *path);\n"
38277 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7875
38278 #: ../src/guestfs-actions.pod:7875
38280 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
38285 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7890
38286 #: ../src/guestfs-actions.pod:7890
38287 msgid "guestfs_zgrep"
38288 msgstr "guestfs_zgrep"
38291 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7892
38292 #: ../src/guestfs-actions.pod:7892
38296 " guestfs_zgrep (guestfs_h *g,\n"
38297 " const char *regex,\n"
38298 " const char *path);\n"
38302 " guestfs_zgrep (guestfs_h *g,\n"
38303 " const char *regex,\n"
38304 " const char *path);\n"
38308 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7909
38309 #: ../src/guestfs-actions.pod:7909
38310 msgid "guestfs_zgrepi"
38311 msgstr "guestfs_zgrepi"
38314 #: ../libguestfs-1.11.20/src/guestfs-actions.pod:7911
38315 #: ../src/guestfs-actions.pod:7911
38319 " guestfs_zgrepi (guestfs_h *g,\n"
38320 " const char *regex,\n"
38321 " const char *path);\n"
38325 " guestfs_zgrepi (guestfs_h *g,\n"
38326 " const char *regex,\n"
38327 " const char *path);\n"
38331 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:3
38332 #: ../src/guestfs-availability.pod:3
38337 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:5
38338 #: ../src/guestfs-availability.pod:5
38340 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
38341 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
38342 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
38343 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
38344 "L</guestfs_aug_save> L</guestfs_aug_set>"
38348 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:21
38349 #: ../src/guestfs-availability.pod:21
38354 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:23
38355 #: ../src/guestfs-availability.pod:23
38356 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
38360 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:26
38361 #: ../src/guestfs-availability.pod:26
38363 msgstr "B<inotify>"
38366 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:28
38367 #: ../src/guestfs-availability.pod:28
38369 "The following functions: L</guestfs_inotify_add_watch> L</"
38370 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
38371 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
38375 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:36
38376 #: ../src/guestfs-availability.pod:36
38377 msgid "B<linuxfsuuid>"
38378 msgstr "B<linuxfsuuid>"
38381 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:38
38382 #: ../src/guestfs-availability.pod:38
38384 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
38385 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
38389 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:45
38390 #: ../src/guestfs-availability.pod:45
38391 msgid "B<linuxmodules>"
38392 msgstr "B<linuxmodules>"
38395 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:47
38396 #: ../src/guestfs-availability.pod:47
38397 msgid "The following functions: L</guestfs_modprobe>"
38401 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:50
38402 #: ../src/guestfs-availability.pod:50
38403 msgid "B<linuxxattrs>"
38404 msgstr "B<linuxxattrs>"
38407 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:52
38408 #: ../src/guestfs-availability.pod:52
38410 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
38411 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
38412 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
38413 "guestfs_setxattr>"
38417 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:63
38418 #: ../src/guestfs-availability.pod:63
38423 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:65
38424 #: ../src/guestfs-availability.pod:65
38426 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
38427 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
38428 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
38432 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:74
38433 #: ../src/guestfs-availability.pod:74
38438 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:76
38439 #: ../src/guestfs-availability.pod:76
38441 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
38442 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
38443 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
38444 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
38445 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
38446 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
38447 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
38451 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:99
38452 #: ../src/guestfs-availability.pod:99
38457 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:101
38458 #: ../src/guestfs-availability.pod:101
38460 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
38461 "guestfs_mknod_b> L</guestfs_mknod_c>"
38465 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:107
38466 #: ../src/guestfs-availability.pod:107
38471 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:109
38472 #: ../src/guestfs-availability.pod:109
38473 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
38477 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:112
38478 #: ../src/guestfs-availability.pod:112
38479 msgid "B<ntfsprogs>"
38480 msgstr "B<ntfsprogs>"
38483 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:114
38484 #: ../src/guestfs-availability.pod:114
38486 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
38487 "L</guestfs_ntfsresize_size>"
38491 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:119
38492 #: ../src/guestfs-availability.pod:119
38493 msgid "B<realpath>"
38494 msgstr "B<realpath>"
38497 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:121
38498 #: ../src/guestfs-availability.pod:121
38499 msgid "The following functions: L</guestfs_realpath>"
38503 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:124
38504 #: ../src/guestfs-availability.pod:124
38509 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:126
38510 #: ../src/guestfs-availability.pod:126
38512 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
38513 "guestfs_scrub_freespace>"
38517 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:131
38518 #: ../src/guestfs-availability.pod:131
38520 msgstr "B<selinux>"
38523 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:133
38524 #: ../src/guestfs-availability.pod:133
38525 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
38529 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:137
38530 #: ../src/guestfs-availability.pod:137
38535 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:139
38536 #: ../src/guestfs-availability.pod:139
38537 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
38541 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:143
38542 #: ../src/guestfs-availability.pod:143
38543 msgid "B<zerofree>"
38544 msgstr "B<zerofree>"
38547 #: ../libguestfs-1.11.20/src/guestfs-availability.pod:145
38548 #: ../src/guestfs-availability.pod:145
38549 msgid "The following functions: L</guestfs_zerofree>"
38553 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:1
38554 #: ../src/guestfs-structs.pod:1
38555 msgid "guestfs_int_bool"
38559 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:3
38560 #: ../src/guestfs-structs.pod:3
38563 " struct guestfs_int_bool {\n"
38571 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:8
38572 #: ../src/guestfs-structs.pod:8
38575 " struct guestfs_int_bool_list {\n"
38576 " uint32_t len; /* Number of elements in list. */\n"
38577 " struct guestfs_int_bool *val; /* Elements. */\n"
38583 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:13
38584 #: ../src/guestfs-structs.pod:13
38587 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
38588 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
38593 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:16
38594 #: ../src/guestfs-structs.pod:16
38595 msgid "guestfs_lvm_pv"
38599 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:18
38600 #: ../src/guestfs-structs.pod:18
38603 " struct guestfs_lvm_pv {\n"
38604 " char *pv_name;\n"
38605 " /* The next field is NOT nul-terminated, be careful when printing it: */\n"
38606 " char pv_uuid[32];\n"
38608 " uint64_t pv_size;\n"
38609 " uint64_t dev_size;\n"
38610 " uint64_t pv_free;\n"
38611 " uint64_t pv_used;\n"
38612 " char *pv_attr;\n"
38613 " int64_t pv_pe_count;\n"
38614 " int64_t pv_pe_alloc_count;\n"
38615 " char *pv_tags;\n"
38616 " uint64_t pe_start;\n"
38617 " int64_t pv_mda_count;\n"
38618 " uint64_t pv_mda_free;\n"
38624 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:36
38625 #: ../src/guestfs-structs.pod:36
38628 " struct guestfs_lvm_pv_list {\n"
38629 " uint32_t len; /* Number of elements in list. */\n"
38630 " struct guestfs_lvm_pv *val; /* Elements. */\n"
38636 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:41
38637 #: ../src/guestfs-structs.pod:41
38640 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
38641 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
38646 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:44
38647 #: ../src/guestfs-structs.pod:44
38648 msgid "guestfs_lvm_vg"
38652 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:46
38653 #: ../src/guestfs-structs.pod:46
38656 " struct guestfs_lvm_vg {\n"
38657 " char *vg_name;\n"
38658 " /* The next field is NOT nul-terminated, be careful when printing it: */\n"
38659 " char vg_uuid[32];\n"
38661 " char *vg_attr;\n"
38662 " uint64_t vg_size;\n"
38663 " uint64_t vg_free;\n"
38664 " char *vg_sysid;\n"
38665 " uint64_t vg_extent_size;\n"
38666 " int64_t vg_extent_count;\n"
38667 " int64_t vg_free_count;\n"
38668 " int64_t max_lv;\n"
38669 " int64_t max_pv;\n"
38670 " int64_t pv_count;\n"
38671 " int64_t lv_count;\n"
38672 " int64_t snap_count;\n"
38673 " int64_t vg_seqno;\n"
38674 " char *vg_tags;\n"
38675 " int64_t vg_mda_count;\n"
38676 " uint64_t vg_mda_free;\n"
38682 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:69
38683 #: ../src/guestfs-structs.pod:69
38686 " struct guestfs_lvm_vg_list {\n"
38687 " uint32_t len; /* Number of elements in list. */\n"
38688 " struct guestfs_lvm_vg *val; /* Elements. */\n"
38694 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:74
38695 #: ../src/guestfs-structs.pod:74
38698 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
38699 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
38704 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:77
38705 #: ../src/guestfs-structs.pod:77
38706 msgid "guestfs_lvm_lv"
38710 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:79
38711 #: ../src/guestfs-structs.pod:79
38714 " struct guestfs_lvm_lv {\n"
38715 " char *lv_name;\n"
38716 " /* The next field is NOT nul-terminated, be careful when printing it: */\n"
38717 " char lv_uuid[32];\n"
38718 " char *lv_attr;\n"
38719 " int64_t lv_major;\n"
38720 " int64_t lv_minor;\n"
38721 " int64_t lv_kernel_major;\n"
38722 " int64_t lv_kernel_minor;\n"
38723 " uint64_t lv_size;\n"
38724 " int64_t seg_count;\n"
38726 " /* The next field is [0..100] or -1 meaning 'not present': */\n"
38727 " float snap_percent;\n"
38728 " /* The next field is [0..100] or -1 meaning 'not present': */\n"
38729 " float copy_percent;\n"
38730 " char *move_pv;\n"
38731 " char *lv_tags;\n"
38732 " char *mirror_log;\n"
38733 " char *modules;\n"
38739 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:101
38740 #: ../src/guestfs-structs.pod:101
38743 " struct guestfs_lvm_lv_list {\n"
38744 " uint32_t len; /* Number of elements in list. */\n"
38745 " struct guestfs_lvm_lv *val; /* Elements. */\n"
38751 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:106
38752 #: ../src/guestfs-structs.pod:106
38755 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
38756 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
38761 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:111
38762 #: ../src/guestfs-structs.pod:111
38765 " struct guestfs_stat {\n"
38769 " int64_t nlink;\n"
38774 " int64_t blksize;\n"
38775 " int64_t blocks;\n"
38776 " int64_t atime;\n"
38777 " int64_t mtime;\n"
38778 " int64_t ctime;\n"
38784 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:127
38785 #: ../src/guestfs-structs.pod:127
38788 " struct guestfs_stat_list {\n"
38789 " uint32_t len; /* Number of elements in list. */\n"
38790 " struct guestfs_stat *val; /* Elements. */\n"
38796 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:132
38797 #: ../src/guestfs-structs.pod:132
38800 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
38801 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
38806 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:137
38807 #: ../src/guestfs-structs.pod:137
38810 " struct guestfs_statvfs {\n"
38811 " int64_t bsize;\n"
38812 " int64_t frsize;\n"
38813 " int64_t blocks;\n"
38814 " int64_t bfree;\n"
38815 " int64_t bavail;\n"
38816 " int64_t files;\n"
38817 " int64_t ffree;\n"
38818 " int64_t favail;\n"
38821 " int64_t namemax;\n"
38827 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:151
38828 #: ../src/guestfs-structs.pod:151
38831 " struct guestfs_statvfs_list {\n"
38832 " uint32_t len; /* Number of elements in list. */\n"
38833 " struct guestfs_statvfs *val; /* Elements. */\n"
38839 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:156
38840 #: ../src/guestfs-structs.pod:156
38843 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
38844 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
38849 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:159
38850 #: ../src/guestfs-structs.pod:159
38851 msgid "guestfs_dirent"
38855 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:161
38856 #: ../src/guestfs-structs.pod:161
38859 " struct guestfs_dirent {\n"
38868 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:167
38869 #: ../src/guestfs-structs.pod:167
38872 " struct guestfs_dirent_list {\n"
38873 " uint32_t len; /* Number of elements in list. */\n"
38874 " struct guestfs_dirent *val; /* Elements. */\n"
38880 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:172
38881 #: ../src/guestfs-structs.pod:172
38884 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
38885 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
38890 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:177
38891 #: ../src/guestfs-structs.pod:177
38894 " struct guestfs_version {\n"
38895 " int64_t major;\n"
38896 " int64_t minor;\n"
38897 " int64_t release;\n"
38904 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:184
38905 #: ../src/guestfs-structs.pod:184
38908 " struct guestfs_version_list {\n"
38909 " uint32_t len; /* Number of elements in list. */\n"
38910 " struct guestfs_version *val; /* Elements. */\n"
38916 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:189
38917 #: ../src/guestfs-structs.pod:189
38920 " void guestfs_free_version (struct guestfs_free_version *);\n"
38921 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
38926 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:192
38927 #: ../src/guestfs-structs.pod:192
38928 msgid "guestfs_xattr"
38932 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:194
38933 #: ../src/guestfs-structs.pod:194
38936 " struct guestfs_xattr {\n"
38937 " char *attrname;\n"
38938 " /* The next two fields describe a byte array. */\n"
38939 " uint32_t attrval_len;\n"
38940 " char *attrval;\n"
38946 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:201
38947 #: ../src/guestfs-structs.pod:201
38950 " struct guestfs_xattr_list {\n"
38951 " uint32_t len; /* Number of elements in list. */\n"
38952 " struct guestfs_xattr *val; /* Elements. */\n"
38958 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:206
38959 #: ../src/guestfs-structs.pod:206
38962 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
38963 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
38968 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:209
38969 #: ../src/guestfs-structs.pod:209
38970 msgid "guestfs_inotify_event"
38974 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:211
38975 #: ../src/guestfs-structs.pod:211
38978 " struct guestfs_inotify_event {\n"
38979 " int64_t in_wd;\n"
38980 " uint32_t in_mask;\n"
38981 " uint32_t in_cookie;\n"
38982 " char *in_name;\n"
38988 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:218
38989 #: ../src/guestfs-structs.pod:218
38992 " struct guestfs_inotify_event_list {\n"
38993 " uint32_t len; /* Number of elements in list. */\n"
38994 " struct guestfs_inotify_event *val; /* Elements. */\n"
39000 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:223
39001 #: ../src/guestfs-structs.pod:223
39004 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
39005 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
39010 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:226
39011 #: ../src/guestfs-structs.pod:226
39012 msgid "guestfs_partition"
39016 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:228
39017 #: ../src/guestfs-structs.pod:228
39020 " struct guestfs_partition {\n"
39021 " int32_t part_num;\n"
39022 " uint64_t part_start;\n"
39023 " uint64_t part_end;\n"
39024 " uint64_t part_size;\n"
39030 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:235
39031 #: ../src/guestfs-structs.pod:235
39034 " struct guestfs_partition_list {\n"
39035 " uint32_t len; /* Number of elements in list. */\n"
39036 " struct guestfs_partition *val; /* Elements. */\n"
39042 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:240
39043 #: ../src/guestfs-structs.pod:240
39046 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
39047 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
39052 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:243
39053 #: ../src/guestfs-structs.pod:243
39054 msgid "guestfs_application"
39058 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:245
39059 #: ../src/guestfs-structs.pod:245
39062 " struct guestfs_application {\n"
39063 " char *app_name;\n"
39064 " char *app_display_name;\n"
39065 " int32_t app_epoch;\n"
39066 " char *app_version;\n"
39067 " char *app_release;\n"
39068 " char *app_install_path;\n"
39069 " char *app_trans_path;\n"
39070 " char *app_publisher;\n"
39071 " char *app_url;\n"
39072 " char *app_source_package;\n"
39073 " char *app_summary;\n"
39074 " char *app_description;\n"
39080 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:260
39081 #: ../src/guestfs-structs.pod:260
39084 " struct guestfs_application_list {\n"
39085 " uint32_t len; /* Number of elements in list. */\n"
39086 " struct guestfs_application *val; /* Elements. */\n"
39092 #: ../libguestfs-1.11.20/src/guestfs-structs.pod:265
39093 #: ../src/guestfs-structs.pod:265
39096 " void guestfs_free_application (struct guestfs_free_application *);\n"
39097 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
39102 #: ../libguestfs-1.11.20/src/guestfs.pod:5 ../src/guestfs.pod:5
39103 msgid "guestfs - Library for accessing and modifying virtual machine images"
39105 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
39109 #: ../libguestfs-1.11.20/src/guestfs.pod:11 ../src/guestfs.pod:11
39112 " guestfs_h *g = guestfs_create ();\n"
39113 " guestfs_add_drive (g, \"guest.img\");\n"
39114 " guestfs_launch (g);\n"
39115 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39116 " guestfs_touch (g, \"/hello\");\n"
39117 " guestfs_umount (g, \"/\");\n"
39118 " guestfs_close (g);\n"
39121 " guestfs_h *g = guestfs_create ();\n"
39122 " guestfs_add_drive (g, \"guest.img\");\n"
39123 " guestfs_launch (g);\n"
39124 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39125 " guestfs_touch (g, \"/hello\");\n"
39126 " guestfs_umount (g, \"/\");\n"
39127 " guestfs_close (g);\n"
39131 #: ../libguestfs-1.11.20/src/guestfs.pod:25 ../src/guestfs.pod:25
39133 "Libguestfs is a library for accessing and modifying guest disk images. "
39134 "Amongst the things this is good for: making batch configuration changes to "
39135 "guests, getting disk used/free statistics (see also: virt-df), migrating "
39136 "between virtualization systems (see also: virt-p2v), performing partial "
39137 "backups, performing partial guest clones, cloning guests and changing "
39138 "registry/UUID/hostname info, and much else besides."
39142 #: ../libguestfs-1.11.20/src/guestfs.pod:33 ../src/guestfs.pod:33
39144 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
39145 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
39146 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
39151 #: ../libguestfs-1.11.20/src/guestfs.pod:38 ../src/guestfs.pod:38
39153 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
39154 "what filesystem is in each LV, etc.). It can also run commands in the "
39155 "context of the guest. Also you can access filesystems over FUSE."
39159 #: ../libguestfs-1.11.20/src/guestfs.pod:43 ../src/guestfs.pod:43
39161 "Libguestfs is a library that can be linked with C and C++ management "
39162 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
39163 "PHP, Haskell or C#). You can also use it from shell scripts or the command "
39168 #: ../libguestfs-1.11.20/src/guestfs.pod:48 ../src/guestfs.pod:48
39170 "You don't need to be root to use libguestfs, although obviously you do need "
39171 "enough permissions to access the disk images."
39175 #: ../libguestfs-1.11.20/src/guestfs.pod:51 ../src/guestfs.pod:51
39177 "Libguestfs is a large API because it can do many things. For a gentle "
39178 "introduction, please read the L</API OVERVIEW> section next."
39182 #: ../libguestfs-1.11.20/src/guestfs.pod:54 ../src/guestfs.pod:54
39184 "There are also some example programs in the L<guestfs-examples(3)> manual "
39189 #: ../libguestfs-1.11.20/src/guestfs.pod:57 ../src/guestfs.pod:57
39190 msgid "API OVERVIEW"
39194 #: ../libguestfs-1.11.20/src/guestfs.pod:59 ../src/guestfs.pod:59
39196 "This section provides a gentler overview of the libguestfs API. We also try "
39197 "to group API calls together, where that may not be obvious from reading "
39198 "about the individual calls in the main section of this manual."
39202 #: ../libguestfs-1.11.20/src/guestfs.pod:64 ../src/guestfs.pod:64
39207 #: ../libguestfs-1.11.20/src/guestfs.pod:66 ../src/guestfs.pod:66
39209 "Before you can use libguestfs calls, you have to create a handle. Then you "
39210 "must add at least one disk image to the handle, followed by launching the "
39211 "handle, then performing whatever operations you want, and finally closing "
39212 "the handle. By convention we use the single letter C<g> for the name of the "
39213 "handle variable, although of course you can use any name you want."
39217 #: ../libguestfs-1.11.20/src/guestfs.pod:73 ../src/guestfs.pod:73
39218 msgid "The general structure of all libguestfs-using programs looks like this:"
39222 #: ../libguestfs-1.11.20/src/guestfs.pod:76 ../src/guestfs.pod:76
39225 " guestfs_h *g = guestfs_create ();\n"
39228 " guestfs_h *g = guestfs_create ();\n"
39232 #: ../libguestfs-1.11.20/src/guestfs.pod:78 ../src/guestfs.pod:78
39235 " /* Call guestfs_add_drive additional times if there are\n"
39236 " * multiple disk images.\n"
39238 " guestfs_add_drive (g, \"guest.img\");\n"
39243 #: ../libguestfs-1.11.20/src/guestfs.pod:83 ../src/guestfs.pod:83
39246 " /* Most manipulation calls won't work until you've launched\n"
39247 " * the handle 'g'. You have to do this _after_ adding drives\n"
39248 " * and _before_ other commands.\n"
39250 " guestfs_launch (g);\n"
39255 #: ../libguestfs-1.11.20/src/guestfs.pod:89 ../src/guestfs.pod:89
39258 " /* Now you can examine what partitions, LVs etc are available.\n"
39260 " char **partitions = guestfs_list_partitions (g);\n"
39261 " char **logvols = guestfs_lvs (g);\n"
39264 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
39266 " char **partitions = guestfs_list_partitions (g);\n"
39267 " char **logvols = guestfs_lvs (g);\n"
39271 #: ../libguestfs-1.11.20/src/guestfs.pod:94 ../src/guestfs.pod:94
39274 " /* To access a filesystem in the image, you must mount it.\n"
39276 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39279 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
39281 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39285 #: ../libguestfs-1.11.20/src/guestfs.pod:98 ../src/guestfs.pod:98
39288 " /* Now you can perform filesystem actions on the guest\n"
39291 " guestfs_touch (g, \"/hello\");\n"
39296 #: ../libguestfs-1.11.20/src/guestfs.pod:103 ../src/guestfs.pod:103
39299 " /* This is only needed for libguestfs < 1.5.24. Since then\n"
39300 " * it is done automatically when you close the handle. See\n"
39301 " * discussion of autosync in this page.\n"
39303 " guestfs_sync (g);\n"
39308 #: ../libguestfs-1.11.20/src/guestfs.pod:109 ../src/guestfs.pod:109
39311 " /* Close the handle 'g'. */\n"
39312 " guestfs_close (g);\n"
39315 " /* Закрити дескриптор 'g'. */\n"
39316 " guestfs_close (g);\n"
39320 #: ../libguestfs-1.11.20/src/guestfs.pod:112 ../src/guestfs.pod:112
39322 "The code above doesn't include any error checking. In real code you should "
39323 "check return values carefully for errors. In general all functions that "
39324 "return integers return C<-1> on error, and all functions that return "
39325 "pointers return C<NULL> on error. See section L</ERROR HANDLING> below for "
39326 "how to handle errors, and consult the documentation for each function call "
39327 "below to see precisely how they return error indications. See L<guestfs-"
39328 "examples(3)> for fully worked examples."
39332 #: ../libguestfs-1.11.20/src/guestfs.pod:121 ../src/guestfs.pod:121
39333 msgid "DISK IMAGES"
39334 msgstr "ОБРАЗИ ДИСКІВ"
39337 #: ../libguestfs-1.11.20/src/guestfs.pod:123 ../src/guestfs.pod:123
39339 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
39340 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
39341 "actual block device, or simply an empty file of zeroes that you have created "
39342 "through L<posix_fallocate(3)>. Libguestfs lets you do useful things to all "
39347 #: ../libguestfs-1.11.20/src/guestfs.pod:129 ../src/guestfs.pod:129
39349 "The call you should use in modern code for adding drives is L</"
39350 "guestfs_add_drive_opts>. To add a disk image, allowing writes, and "
39351 "specifying that the format is raw, do:"
39355 #: ../libguestfs-1.11.20/src/guestfs.pod:133 ../src/guestfs.pod:133
39358 " guestfs_add_drive_opts (g, filename,\n"
39359 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39363 " guestfs_add_drive_opts (g, filename,\n"
39364 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39369 #: ../libguestfs-1.11.20/src/guestfs.pod:137 ../src/guestfs.pod:137
39370 msgid "You can add a disk read-only using:"
39371 msgstr "Ви можете додати диск у режимі лише читання:"
39374 #: ../libguestfs-1.11.20/src/guestfs.pod:139 ../src/guestfs.pod:139
39377 " guestfs_add_drive_opts (g, filename,\n"
39378 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39379 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
39383 " guestfs_add_drive_opts (g, filename,\n"
39384 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39385 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
39390 #: ../libguestfs-1.11.20/src/guestfs.pod:144 ../src/guestfs.pod:144
39392 "or by calling the older function L</guestfs_add_drive_ro>. In either case "
39393 "libguestfs won't modify the file."
39397 #: ../libguestfs-1.11.20/src/guestfs.pod:147 ../src/guestfs.pod:147
39399 "Be extremely cautious if the disk image is in use, eg. if it is being used "
39400 "by a virtual machine. Adding it read-write will almost certainly cause disk "
39401 "corruption, but adding it read-only is safe."
39405 #: ../libguestfs-1.11.20/src/guestfs.pod:151 ../src/guestfs.pod:151
39407 "You must add at least one disk image, and you may add multiple disk images. "
39408 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
39409 "first one you added), C</dev/sdb> (for the second one you added), etc."
39413 #: ../libguestfs-1.11.20/src/guestfs.pod:156 ../src/guestfs.pod:156
39415 "Once L</guestfs_launch> has been called you cannot add any more images. You "
39416 "can call L</guestfs_list_devices> to get a list of the device names, in the "
39417 "order that you added them. See also L</BLOCK DEVICE NAMING> below."
39421 #: ../libguestfs-1.11.20/src/guestfs.pod:161 ../src/guestfs.pod:161
39423 msgstr "МОНТУВАННЯ"
39426 #: ../libguestfs-1.11.20/src/guestfs.pod:163 ../src/guestfs.pod:163
39428 "Before you can read or write files, create directories and so on in a disk "
39429 "image that contains filesystems, you have to mount those filesystems using "
39430 "L</guestfs_mount_options> or L</guestfs_mount_ro>. If you already know that "
39431 "a disk image contains (for example) one partition with a filesystem on that "
39432 "partition, then you can mount it directly:"
39436 #: ../libguestfs-1.11.20/src/guestfs.pod:170 ../src/guestfs.pod:170
39439 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
39442 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
39446 #: ../libguestfs-1.11.20/src/guestfs.pod:172 ../src/guestfs.pod:172
39448 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
39449 "disk image that we added (C</dev/sda>). If the disk contains Linux LVM2 "
39450 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>). Note "
39451 "that these are libguestfs virtual devices, and are nothing to do with host "
39456 #: ../libguestfs-1.11.20/src/guestfs.pod:178 ../src/guestfs.pod:178
39458 "If you are given a disk image and you don't know what it contains then you "
39459 "have to find out. Libguestfs can do that too: use L</"
39460 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
39461 "LVs, and either try mounting each to see what is mountable, or else examine "
39462 "them with L</guestfs_vfs_type> or L</guestfs_file>. To list just "
39463 "filesystems, use L</guestfs_list_filesystems>."
39467 #: ../libguestfs-1.11.20/src/guestfs.pod:186 ../src/guestfs.pod:186
39469 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
39470 "L</INSPECTION> below). But you might find it easier to look at higher level "
39471 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
39475 #: ../libguestfs-1.11.20/src/guestfs.pod:191 ../src/guestfs.pod:191
39477 "To mount a filesystem read-only, use L</guestfs_mount_ro>. There are "
39478 "several other variations of the C<guestfs_mount_*> call."
39482 #: ../libguestfs-1.11.20/src/guestfs.pod:194 ../src/guestfs.pod:194
39483 msgid "FILESYSTEM ACCESS AND MODIFICATION"
39484 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
39487 #: ../libguestfs-1.11.20/src/guestfs.pod:196 ../src/guestfs.pod:196
39489 "The majority of the libguestfs API consists of fairly low-level calls for "
39490 "accessing and modifying the files, directories, symlinks etc on mounted "
39491 "filesystems. There are over a hundred such calls which you can find listed "
39492 "in detail below in this man page, and we don't even pretend to cover them "
39493 "all in this overview."
39497 #: ../libguestfs-1.11.20/src/guestfs.pod:202 ../src/guestfs.pod:202
39499 "Specify filenames as full paths, starting with C<\"/\"> and including the "
39502 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
39503 "точкою монтування."
39506 #: ../libguestfs-1.11.20/src/guestfs.pod:205 ../src/guestfs.pod:205
39508 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
39509 "the file called C<\"etc/passwd\"> then you could do:"
39511 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
39512 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
39516 #: ../libguestfs-1.11.20/src/guestfs.pod:208 ../src/guestfs.pod:208
39519 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
39522 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
39526 #: ../libguestfs-1.11.20/src/guestfs.pod:210 ../src/guestfs.pod:210
39528 "This would return C<data> as a newly allocated buffer containing the full "
39529 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
39530 "or C<NULL> if there was an error."
39534 #: ../libguestfs-1.11.20/src/guestfs.pod:214 ../src/guestfs.pod:214
39536 "As another example, to create a top-level directory on that filesystem "
39537 "called C<\"var\"> you would do:"
39541 #: ../libguestfs-1.11.20/src/guestfs.pod:217 ../src/guestfs.pod:217
39544 " guestfs_mkdir (g, \"/var\");\n"
39547 " guestfs_mkdir (g, \"/var\");\n"
39551 #: ../libguestfs-1.11.20/src/guestfs.pod:219 ../src/guestfs.pod:219
39552 msgid "To create a symlink you could do:"
39553 msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
39556 #: ../libguestfs-1.11.20/src/guestfs.pod:221 ../src/guestfs.pod:221
39559 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
39560 " \"/etc/rc3.d/S30portmap\");\n"
39563 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
39564 " \"/etc/rc3.d/S30portmap\");\n"
39568 #: ../libguestfs-1.11.20/src/guestfs.pod:224 ../src/guestfs.pod:224
39570 "Libguestfs will reject attempts to use relative paths and there is no "
39571 "concept of a current working directory."
39575 #: ../libguestfs-1.11.20/src/guestfs.pod:227 ../src/guestfs.pod:227
39577 "Libguestfs can return errors in many situations: for example if the "
39578 "filesystem isn't writable, or if a file or directory that you requested "
39579 "doesn't exist. If you are using the C API (documented here) you have to "
39580 "check for those error conditions after each call. (Other language bindings "
39581 "turn these errors into exceptions)."
39585 #: ../libguestfs-1.11.20/src/guestfs.pod:233 ../src/guestfs.pod:233
39587 "File writes are affected by the per-handle umask, set by calling L</"
39588 "guestfs_umask> and defaulting to 022. See L</UMASK>."
39592 #: ../libguestfs-1.11.20/src/guestfs.pod:236 ../src/guestfs.pod:236
39593 msgid "PARTITIONING"
39594 msgstr "ПОДІЛ НА РОЗДІЛИ"
39597 #: ../libguestfs-1.11.20/src/guestfs.pod:238 ../src/guestfs.pod:238
39599 "Libguestfs contains API calls to read, create and modify partition tables on "
39604 #: ../libguestfs-1.11.20/src/guestfs.pod:241 ../src/guestfs.pod:241
39606 "In the common case where you want to create a single partition covering the "
39607 "whole disk, you should use the L</guestfs_part_disk> call:"
39611 #: ../libguestfs-1.11.20/src/guestfs.pod:245 ../src/guestfs.pod:245
39614 " const char *parttype = \"mbr\";\n"
39615 " if (disk_is_larger_than_2TB)\n"
39616 " parttype = \"gpt\";\n"
39617 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
39620 " const char *parttype = \"mbr\";\n"
39621 " if (disk_is_larger_than_2TB)\n"
39622 " parttype = \"gpt\";\n"
39623 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
39627 #: ../libguestfs-1.11.20/src/guestfs.pod:250 ../src/guestfs.pod:250
39629 "Obviously this effectively wipes anything that was on that disk image before."
39633 #: ../libguestfs-1.11.20/src/guestfs.pod:253 ../src/guestfs.pod:253
39638 #: ../libguestfs-1.11.20/src/guestfs.pod:255 ../src/guestfs.pod:255
39640 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
39641 "guestfs_lvcreate> and L</guestfs_vgremove>. It won't make much sense unless "
39642 "you familiarize yourself with the concepts of physical volumes, volume "
39643 "groups and logical volumes."
39647 #: ../libguestfs-1.11.20/src/guestfs.pod:260 ../src/guestfs.pod:260
39649 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
39650 "tldp.org/HOWTO/LVM-HOWTO/>."
39654 #: ../libguestfs-1.11.20/src/guestfs.pod:263 ../src/guestfs.pod:263
39655 msgid "DOWNLOADING"
39656 msgstr "ОТРИМАННЯ ДАНИХ"
39659 #: ../libguestfs-1.11.20/src/guestfs.pod:265 ../src/guestfs.pod:265
39661 "Use L</guestfs_cat> to download small, text only files. This call is "
39662 "limited to files which are less than 2 MB and which cannot contain any ASCII "
39663 "NUL (C<\\0>) characters. However the API is very simple to use."
39667 #: ../libguestfs-1.11.20/src/guestfs.pod:269 ../src/guestfs.pod:269
39669 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
39670 "bit data, since it returns a (pointer, size) pair. However it is still "
39671 "limited to \"small\" files, less than 2 MB."
39675 #: ../libguestfs-1.11.20/src/guestfs.pod:273 ../src/guestfs.pod:273
39677 "L</guestfs_download> can be used to download any file, with no limits on "
39678 "content or size (even files larger than 4 GB)."
39682 #: ../libguestfs-1.11.20/src/guestfs.pod:276 ../src/guestfs.pod:276
39684 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
39688 #: ../libguestfs-1.11.20/src/guestfs.pod:279 ../src/guestfs.pod:279
39690 msgstr "ВИВАНТАЖЕННЯ"
39693 #: ../libguestfs-1.11.20/src/guestfs.pod:281 ../src/guestfs.pod:281
39695 "It's often the case that you want to write a file or files to the disk image."
39699 #: ../libguestfs-1.11.20/src/guestfs.pod:284 ../src/guestfs.pod:284
39701 "To write a small file with fixed content, use L</guestfs_write>. To create "
39702 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
39703 "guestfs_fallocate64> (with all disk blocks allocated). There are a variety "
39704 "of other functions for creating test files, for example L</guestfs_fill> and "
39705 "L</guestfs_fill_pattern>."
39709 #: ../libguestfs-1.11.20/src/guestfs.pod:290 ../src/guestfs.pod:290
39711 "To upload a single file, use L</guestfs_upload>. This call has no limits on "
39712 "file content or size (even files larger than 4 GB)."
39716 #: ../libguestfs-1.11.20/src/guestfs.pod:293 ../src/guestfs.pod:293
39718 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
39722 #: ../libguestfs-1.11.20/src/guestfs.pod:295 ../src/guestfs.pod:295
39724 "However the fastest way to upload I<large numbers of arbitrary files> is to "
39725 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
39726 ">), then attach this using L</guestfs_add_drive_ro>. If you add the drive "
39727 "in a predictable way (eg. adding it last after all other drives) then you "
39728 "can get the device name from L</guestfs_list_devices> and mount it directly "
39729 "using L</guestfs_mount_ro>. Note that squashfs images are sometimes non-"
39730 "portable between kernel versions, and they don't support labels or UUIDs. "
39731 "If you want to pre-build an image or you need to mount it using a label or "
39732 "UUID, use an ISO image instead."
39736 #: ../libguestfs-1.11.20/src/guestfs.pod:306 ../src/guestfs.pod:306
39738 msgstr "КОПІЮВАННЯ"
39741 #: ../libguestfs-1.11.20/src/guestfs.pod:308 ../src/guestfs.pod:308
39743 "There are various different commands for copying between files and devices "
39744 "and in and out of the guest filesystem. These are summarised in the table "
39749 #: ../libguestfs-1.11.20/src/guestfs.pod:314 ../src/guestfs.pod:314
39750 msgid "B<file> to B<file>"
39751 msgstr "B<файл> у B<файл>"
39754 #: ../libguestfs-1.11.20/src/guestfs.pod:316 ../src/guestfs.pod:316
39756 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
39757 "directories recursively."
39761 #: ../libguestfs-1.11.20/src/guestfs.pod:319 ../src/guestfs.pod:319
39762 msgid "B<file or device> to B<file or device>"
39763 msgstr "B<файл або пристрій> у B<файл або пристрій>"
39766 #: ../libguestfs-1.11.20/src/guestfs.pod:321 ../src/guestfs.pod:321
39768 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
39769 "devices in the guest."
39773 #: ../libguestfs-1.11.20/src/guestfs.pod:324 ../src/guestfs.pod:324
39774 msgid "Example: duplicate the contents of an LV:"
39778 #: ../libguestfs-1.11.20/src/guestfs.pod:326 ../src/guestfs.pod:326
39781 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
39784 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
39788 #: ../libguestfs-1.11.20/src/guestfs.pod:328 ../src/guestfs.pod:328
39790 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
39791 "(C</dev/VG/Original>). To copy less than the whole source device, use L</"
39792 "guestfs_copy_size>."
39796 #: ../libguestfs-1.11.20/src/guestfs.pod:332 ../src/guestfs.pod:332
39797 msgid "B<file on the host> to B<file or device>"
39801 #: ../libguestfs-1.11.20/src/guestfs.pod:334 ../src/guestfs.pod:334
39802 msgid "Use L</guestfs_upload>. See L</UPLOADING> above."
39806 #: ../libguestfs-1.11.20/src/guestfs.pod:336 ../src/guestfs.pod:336
39807 msgid "B<file or device> to B<file on the host>"
39811 #: ../libguestfs-1.11.20/src/guestfs.pod:338 ../src/guestfs.pod:338
39812 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above."
39816 #: ../libguestfs-1.11.20/src/guestfs.pod:342 ../src/guestfs.pod:342
39817 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
39821 #: ../libguestfs-1.11.20/src/guestfs.pod:344 ../src/guestfs.pod:344
39823 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
39824 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
39825 "appears you can only upload and download to files. However many Un*x-like "
39826 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
39827 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
39828 "and arbitrary file descriptor N."
39832 #: ../libguestfs-1.11.20/src/guestfs.pod:352 ../src/guestfs.pod:352
39833 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
39837 #: ../libguestfs-1.11.20/src/guestfs.pod:355 ../src/guestfs.pod:355
39840 " guestfs_download (g, filename, \"/dev/stdout\");\n"
39843 " guestfs_download (g, filename, \"/dev/stdout\");\n"
39847 #: ../libguestfs-1.11.20/src/guestfs.pod:357 ../src/guestfs.pod:357
39848 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
39852 #: ../libguestfs-1.11.20/src/guestfs.pod:359 ../src/guestfs.pod:359
39855 " char devfd[64];\n"
39856 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
39857 " guestfs_tar_out (g, \"/\", devfd);\n"
39860 " char devfd[64];\n"
39861 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
39862 " guestfs_tar_out (g, \"/\", devfd);\n"
39866 #: ../libguestfs-1.11.20/src/guestfs.pod:363 ../src/guestfs.pod:363
39867 msgid "LISTING FILES"
39868 msgstr "СПИСКИ ФАЙЛІВ"
39871 #: ../libguestfs-1.11.20/src/guestfs.pod:365 ../src/guestfs.pod:365
39873 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
39874 "L<guestfish(1)>-equivalent command C<ll>)."
39878 #: ../libguestfs-1.11.20/src/guestfs.pod:368 ../src/guestfs.pod:368
39880 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
39881 "programs, as a flat list of strings."
39885 #: ../libguestfs-1.11.20/src/guestfs.pod:371 ../src/guestfs.pod:371
39887 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
39888 "directory, plus additional information about each one. It is more "
39889 "equivalent to using the L<readdir(3)> call on a local filesystem."
39893 #: ../libguestfs-1.11.20/src/guestfs.pod:375 ../src/guestfs.pod:375
39895 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
39899 #: ../libguestfs-1.11.20/src/guestfs.pod:378 ../src/guestfs.pod:378
39900 msgid "RUNNING COMMANDS"
39901 msgstr "ВИКОНАННЯ КОМАНД"
39904 #: ../libguestfs-1.11.20/src/guestfs.pod:380 ../src/guestfs.pod:380
39906 "Although libguestfs is primarily an API for manipulating files inside guest "
39907 "images, we also provide some limited facilities for running commands inside "
39912 #: ../libguestfs-1.11.20/src/guestfs.pod:384 ../src/guestfs.pod:384
39913 msgid "There are many limitations to this:"
39917 #: ../libguestfs-1.11.20/src/guestfs.pod:390 ../src/guestfs.pod:390
39919 "The kernel version that the command runs under will be different from what "
39924 #: ../libguestfs-1.11.20/src/guestfs.pod:395 ../src/guestfs.pod:395
39926 "If the command needs to communicate with daemons, then most likely they "
39927 "won't be running."
39931 #: ../libguestfs-1.11.20/src/guestfs.pod:400 ../src/guestfs.pod:400
39932 msgid "The command will be running in limited memory."
39936 #: ../libguestfs-1.11.20/src/guestfs.pod:404 ../src/guestfs.pod:404
39938 "The network may not be available unless you enable it (see L</"
39939 "guestfs_set_network>)."
39943 #: ../libguestfs-1.11.20/src/guestfs.pod:409 ../src/guestfs.pod:409
39944 msgid "Only supports Linux guests (not Windows, BSD, etc)."
39948 #: ../libguestfs-1.11.20/src/guestfs.pod:413 ../src/guestfs.pod:413
39950 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
39954 #: ../libguestfs-1.11.20/src/guestfs.pod:418 ../src/guestfs.pod:418
39956 "For SELinux guests, you may need to enable SELinux and load policy first. "
39957 "See L</SELINUX> in this manpage."
39961 #: ../libguestfs-1.11.20/src/guestfs.pod:423 ../src/guestfs.pod:423
39963 "I<Security:> It is not safe to run commands from untrusted, possibly "
39964 "malicious guests. These commands may attempt to exploit your program by "
39965 "sending unexpected output. They could also try to exploit the Linux kernel "
39966 "or qemu provided by the libguestfs appliance. They could use the network "
39967 "provided by the libguestfs appliance to bypass ordinary network partitions "
39968 "and firewalls. They could use the elevated privileges or different SELinux "
39969 "context of your program to their advantage."
39973 #: ../libguestfs-1.11.20/src/guestfs.pod:432 ../src/guestfs.pod:432
39975 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
39976 "(a script which runs when the guest next boots normally), and to have this "
39977 "script run the commands you want in the normal context of the running guest, "
39978 "network security and so on. For information about other security issues, "
39979 "see L</SECURITY>."
39983 #: ../libguestfs-1.11.20/src/guestfs.pod:440 ../src/guestfs.pod:440
39985 "The two main API calls to run commands are L</guestfs_command> and L</"
39986 "guestfs_sh> (there are also variations)."
39990 #: ../libguestfs-1.11.20/src/guestfs.pod:443 ../src/guestfs.pod:443
39992 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
39993 "shell globs, redirections, etc will work."
39997 #: ../libguestfs-1.11.20/src/guestfs.pod:446 ../src/guestfs.pod:446
39998 msgid "CONFIGURATION FILES"
39999 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
40002 #: ../libguestfs-1.11.20/src/guestfs.pod:448 ../src/guestfs.pod:448
40004 "To read and write configuration files in Linux guest filesystems, we "
40005 "strongly recommend using Augeas. For example, Augeas understands how to "
40006 "read and write, say, a Linux shadow password file or X.org configuration "
40007 "file, and so avoids you having to write that code."
40011 #: ../libguestfs-1.11.20/src/guestfs.pod:453 ../src/guestfs.pod:453
40013 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs. We don't "
40014 "document Augeas itself here because there is excellent documentation on the "
40015 "L<http://augeas.net/> website."
40019 #: ../libguestfs-1.11.20/src/guestfs.pod:457 ../src/guestfs.pod:457
40021 "If you don't want to use Augeas (you fool!) then try calling L</"
40022 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
40027 #: ../libguestfs-1.11.20/src/guestfs.pod:461 ../src/guestfs.pod:461
40032 #: ../libguestfs-1.11.20/src/guestfs.pod:463 ../src/guestfs.pod:463
40034 "We support SELinux guests. To ensure that labeling happens correctly in "
40035 "SELinux guests, you need to enable SELinux and load the guest's policy:"
40039 #: ../libguestfs-1.11.20/src/guestfs.pod:471 ../src/guestfs.pod:471
40040 msgid "Before launching, do:"
40044 #: ../libguestfs-1.11.20/src/guestfs.pod:473 ../src/guestfs.pod:473
40047 " guestfs_set_selinux (g, 1);\n"
40050 " guestfs_set_selinux (g, 1);\n"
40054 #: ../libguestfs-1.11.20/src/guestfs.pod:477 ../src/guestfs.pod:477
40056 "After mounting the guest's filesystem(s), load the policy. This is best "
40057 "done by running the L<load_policy(8)> command in the guest itself:"
40061 #: ../libguestfs-1.11.20/src/guestfs.pod:481 ../src/guestfs.pod:481
40064 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
40067 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
40071 #: ../libguestfs-1.11.20/src/guestfs.pod:483 ../src/guestfs.pod:483
40073 "(Older versions of C<load_policy> require you to specify the name of the "
40078 #: ../libguestfs-1.11.20/src/guestfs.pod:488 ../src/guestfs.pod:488
40080 "Optionally, set the security context for the API. The correct security "
40081 "context to use can only be known by inspecting the guest. As an example:"
40085 #: ../libguestfs-1.11.20/src/guestfs.pod:492 ../src/guestfs.pod:492
40088 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
40091 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
40095 #: ../libguestfs-1.11.20/src/guestfs.pod:496 ../src/guestfs.pod:496
40096 msgid "This will work for running commands and editing existing files."
40100 #: ../libguestfs-1.11.20/src/guestfs.pod:498 ../src/guestfs.pod:498
40102 "When new files are created, you may need to label them explicitly, for "
40103 "example by running the external command C<restorecon pathname>."
40107 #: ../libguestfs-1.11.20/src/guestfs.pod:502 ../src/guestfs.pod:502
40112 #: ../libguestfs-1.11.20/src/guestfs.pod:504 ../src/guestfs.pod:504
40114 "Certain calls are affected by the current file mode creation mask (the "
40115 "\"umask\"). In particular ones which create files or directories, such as "
40116 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>. This affects "
40117 "either the default mode that the file is created with or modifies the mode "
40122 #: ../libguestfs-1.11.20/src/guestfs.pod:510 ../src/guestfs.pod:510
40124 "The default umask is C<022>, so files are created with modes such as C<0644> "
40125 "and directories with C<0755>."
40129 #: ../libguestfs-1.11.20/src/guestfs.pod:513 ../src/guestfs.pod:513
40131 "There are two ways to avoid being affected by umask. Either set umask to 0 "
40132 "(call C<guestfs_umask (g, 0)> early after launching). Or call L</"
40133 "guestfs_chmod> after creating each file or directory."
40137 #: ../libguestfs-1.11.20/src/guestfs.pod:517 ../src/guestfs.pod:517
40138 msgid "For more information about umask, see L<umask(2)>."
40142 #: ../libguestfs-1.11.20/src/guestfs.pod:521 ../src/guestfs.pod:521
40144 "Libguestfs allows you to access Linux guests which have been encrypted using "
40145 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
40146 "standard. This includes nearly all whole disk encryption systems used by "
40147 "modern Linux guests."
40151 #: ../libguestfs-1.11.20/src/guestfs.pod:527 ../src/guestfs.pod:527
40153 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
40154 "returns the string C<crypto_LUKS>)."
40158 #: ../libguestfs-1.11.20/src/guestfs.pod:530 ../src/guestfs.pod:530
40160 "Then open these devices by calling L</guestfs_luks_open>. Obviously you "
40161 "will require the passphrase!"
40165 #: ../libguestfs-1.11.20/src/guestfs.pod:533 ../src/guestfs.pod:533
40167 "Opening a LUKS device creates a new device mapper device called C</dev/"
40168 "mapper/mapname> (where C<mapname> is the string you supply to L</"
40169 "guestfs_luks_open>). Reads and writes to this mapper device are decrypted "
40170 "from and encrypted to the underlying block device respectively."
40174 #: ../libguestfs-1.11.20/src/guestfs.pod:539 ../src/guestfs.pod:539
40176 "LVM volume groups on the device can be made visible by calling L</"
40177 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>. The logical volume"
40178 "(s) can now be mounted in the usual way."
40182 #: ../libguestfs-1.11.20/src/guestfs.pod:543 ../src/guestfs.pod:543
40184 "Use the reverse process to close a LUKS device. Unmount any logical volumes "
40185 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
40186 "[\"/dev/VG\"])>. Then close the mapper device by calling L</"
40187 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
40188 "underlying encrypted block device)."
40192 #: ../libguestfs-1.11.20/src/guestfs.pod:550 ../src/guestfs.pod:550
40197 #: ../libguestfs-1.11.20/src/guestfs.pod:552 ../src/guestfs.pod:552
40199 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
40200 "contains operating systems, an install CD or a live CD. (These APIs used to "
40201 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
40202 "version 1.5.3 the most frequently used part of this library has been "
40203 "rewritten in C and moved into the core code)."
40207 #: ../libguestfs-1.11.20/src/guestfs.pod:559 ../src/guestfs.pod:559
40209 "Add all disks belonging to the unknown virtual machine and call L</"
40210 "guestfs_launch> in the usual way."
40214 #: ../libguestfs-1.11.20/src/guestfs.pod:562 ../src/guestfs.pod:562
40216 "Then call L</guestfs_inspect_os>. This function uses other libguestfs calls "
40217 "and certain heuristics, and returns a list of operating systems that were "
40218 "found. An empty list means none were found. A single element is the root "
40219 "filesystem of the operating system. For dual- or multi-boot guests, "
40220 "multiple roots can be returned, each one corresponding to a separate "
40221 "operating system. (Multi-boot virtual machines are extremely rare in the "
40222 "world of virtualization, but since this scenario can happen, we have built "
40223 "libguestfs to deal with it.)"
40227 #: ../libguestfs-1.11.20/src/guestfs.pod:571 ../src/guestfs.pod:571
40229 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
40230 "to get additional details about that operating system. For example, call L</"
40231 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
40232 "Windows and Linux-based operating systems respectively."
40236 #: ../libguestfs-1.11.20/src/guestfs.pod:577 ../src/guestfs.pod:577
40238 "Un*x-like and Linux-based operating systems usually consist of several "
40239 "filesystems which are mounted at boot time (for example, a separate boot "
40240 "partition mounted on C</boot>). The inspection rules are able to detect how "
40241 "filesystems correspond to mount points. Call "
40242 "C<guestfs_inspect_get_mountpoints> to get this mapping. It might return a "
40243 "hash table like this example:"
40247 #: ../libguestfs-1.11.20/src/guestfs.pod:584 ../src/guestfs.pod:584
40250 " /boot => /dev/sda1\n"
40251 " / => /dev/vg_guest/lv_root\n"
40252 " /usr => /dev/vg_guest/lv_usr\n"
40255 " /boot => /dev/sda1\n"
40256 " / => /dev/vg_guest/lv_root\n"
40257 " /usr => /dev/vg_guest/lv_usr\n"
40261 #: ../libguestfs-1.11.20/src/guestfs.pod:588 ../src/guestfs.pod:588
40263 "The caller can then make calls to L</guestfs_mount_options> to mount the "
40264 "filesystems as suggested."
40268 #: ../libguestfs-1.11.20/src/guestfs.pod:591 ../src/guestfs.pod:591
40270 "Be careful to mount filesystems in the right order (eg. C</> before C</"
40271 "usr>). Sorting the keys of the hash by length, shortest first, should work."
40275 #: ../libguestfs-1.11.20/src/guestfs.pod:595 ../src/guestfs.pod:595
40277 "Inspection currently only works for some common operating systems. "
40278 "Contributors are welcome to send patches for other operating systems that we "
40279 "currently cannot detect."
40283 #: ../libguestfs-1.11.20/src/guestfs.pod:599 ../src/guestfs.pod:599
40285 "Encrypted disks must be opened before inspection. See L</ENCRYPTED DISKS> "
40286 "for more details. The L</guestfs_inspect_os> function just ignores any "
40287 "encrypted devices."
40291 #: ../libguestfs-1.11.20/src/guestfs.pod:603 ../src/guestfs.pod:603
40293 "A note on the implementation: The call L</guestfs_inspect_os> performs "
40294 "inspection and caches the results in the guest handle. Subsequent calls to "
40295 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
40296 "read the disks. If you change the content of the guest disks, you can redo "
40297 "inspection by calling L</guestfs_inspect_os> again. (L</"
40298 "guestfs_inspect_list_applications> works a little differently from the other "
40299 "calls and does read the disks. See documentation for that function for "
40304 #: ../libguestfs-1.11.20/src/guestfs.pod:612 ../src/guestfs.pod:612
40305 msgid "INSPECTING INSTALL DISKS"
40309 #: ../libguestfs-1.11.20/src/guestfs.pod:614 ../src/guestfs.pod:614
40311 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
40316 #: ../libguestfs-1.11.20/src/guestfs.pod:617 ../src/guestfs.pod:617
40318 "Call L</guestfs_inspect_get_format> to return the format of the operating "
40319 "system, which currently can be C<installed> (a regular operating system) or "
40320 "C<installer> (some sort of install disk)."
40324 #: ../libguestfs-1.11.20/src/guestfs.pod:621 ../src/guestfs.pod:621
40326 "Further information is available about the operating system that can be "
40327 "installed using the regular inspection APIs like L</"
40328 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
40332 #: ../libguestfs-1.11.20/src/guestfs.pod:626 ../src/guestfs.pod:626
40334 "Some additional information specific to installer disks is also available "
40335 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
40336 "guestfs_inspect_is_multipart> calls."
40340 #: ../libguestfs-1.11.20/src/guestfs.pod:631 ../src/guestfs.pod:631
40341 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
40345 #: ../libguestfs-1.11.20/src/guestfs.pod:633 ../src/guestfs.pod:633
40347 "Libguestfs can mount NTFS partitions. It does this using the L<http://www."
40348 "ntfs-3g.org/> driver."
40352 #: ../libguestfs-1.11.20/src/guestfs.pod:636 ../src/guestfs.pod:636
40353 msgid "DRIVE LETTERS AND PATHS"
40354 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
40357 #: ../libguestfs-1.11.20/src/guestfs.pod:638 ../src/guestfs.pod:638
40359 "DOS and Windows still use drive letters, and the filesystems are always "
40360 "treated as case insensitive by Windows itself, and therefore you might find "
40361 "a Windows configuration file referring to a path like C<c:\\windows"
40362 "\\system32>. When the filesystem is mounted in libguestfs, that directory "
40363 "might be referred to as C</WINDOWS/System32>."
40367 #: ../libguestfs-1.11.20/src/guestfs.pod:644 ../src/guestfs.pod:644
40369 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
40370 "L</guestfs_inspect_get_drive_mappings>)"
40374 #: ../libguestfs-1.11.20/src/guestfs.pod:647 ../src/guestfs.pod:647
40376 "Dealing with separator characters (backslash vs forward slash) is outside "
40377 "the scope of libguestfs, but usually a simple character replacement will "
40382 #: ../libguestfs-1.11.20/src/guestfs.pod:651 ../src/guestfs.pod:651
40384 "To resolve the case insensitivity of paths, call L</"
40385 "guestfs_case_sensitive_path>."
40389 #: ../libguestfs-1.11.20/src/guestfs.pod:654 ../src/guestfs.pod:654
40390 msgid "ACCESSING THE WINDOWS REGISTRY"
40391 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
40394 #: ../libguestfs-1.11.20/src/guestfs.pod:656 ../src/guestfs.pod:656
40396 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
40397 "files, through the library C<hivex> which is part of the libguestfs project "
40398 "although ships as a separate tarball. You have to locate and download the "
40399 "hive file(s) yourself, and then pass them to C<hivex> functions. See also "
40400 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
40401 "reg(1)> for more help on this issue."
40405 #: ../libguestfs-1.11.20/src/guestfs.pod:664 ../src/guestfs.pod:664
40406 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
40407 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
40410 #: ../libguestfs-1.11.20/src/guestfs.pod:666 ../src/guestfs.pod:666
40412 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
40413 "provide something which looks like a Linux symlink. The way it tries to do "
40414 "the rewriting is described here:"
40418 #: ../libguestfs-1.11.20/src/guestfs.pod:670 ../src/guestfs.pod:670
40420 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
40423 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
40427 #: ../libguestfs-1.11.20/src/guestfs.pod:672 ../src/guestfs.pod:672
40429 "The essential problem is that ntfs-3g simply does not have enough "
40430 "information to do a correct job. NTFS links can contain drive letters and "
40431 "references to external device GUIDs that ntfs-3g has no way of resolving. "
40432 "It is almost certainly the case that libguestfs callers should ignore what "
40433 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
40437 #: ../libguestfs-1.11.20/src/guestfs.pod:679 ../src/guestfs.pod:679
40439 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
40440 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
40441 "attribute, and read the raw reparse data from that (you can find the format "
40442 "documented in various places around the web)."
40446 #: ../libguestfs-1.11.20/src/guestfs.pod:684 ../src/guestfs.pod:684
40447 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
40451 #: ../libguestfs-1.11.20/src/guestfs.pod:686 ../src/guestfs.pod:686
40453 "There are other useful extended attributes that can be read from ntfs-3g "
40454 "filesystems (using L</guestfs_getxattr>). See:"
40458 #: ../libguestfs-1.11.20/src/guestfs.pod:689 ../src/guestfs.pod:689
40460 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
40462 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
40465 #: ../libguestfs-1.11.20/src/guestfs.pod:691 ../src/guestfs.pod:691
40466 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
40467 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
40470 #: ../libguestfs-1.11.20/src/guestfs.pod:693 ../src/guestfs.pod:693
40472 "Although we don't want to discourage you from using the C API, we will "
40473 "mention here that the same API is also available in other languages."
40477 #: ../libguestfs-1.11.20/src/guestfs.pod:696 ../src/guestfs.pod:696
40479 "The API is broadly identical in all supported languages. This means that "
40480 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
40481 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
40482 "OCaml. In other words, a straightforward, predictable isomorphism between "
40487 #: ../libguestfs-1.11.20/src/guestfs.pod:702 ../src/guestfs.pod:702
40489 "Error messages are automatically transformed into exceptions if the language "
40494 #: ../libguestfs-1.11.20/src/guestfs.pod:705 ../src/guestfs.pod:705
40496 "We don't try to \"object orientify\" parts of the API in OO languages, "
40497 "although contributors are welcome to write higher level APIs above what we "
40498 "provide in their favourite languages if they wish."
40502 #: ../libguestfs-1.11.20/src/guestfs.pod:711 ../src/guestfs.pod:711
40507 #: ../libguestfs-1.11.20/src/guestfs.pod:713 ../src/guestfs.pod:713
40509 "You can use the I<guestfs.h> header file from C++ programs. The C++ API is "
40510 "identical to the C API. C++ classes and exceptions are not used."
40514 #: ../libguestfs-1.11.20/src/guestfs.pod:717 ../src/guestfs.pod:717
40519 #: ../libguestfs-1.11.20/src/guestfs.pod:719 ../src/guestfs.pod:719
40521 "The C# bindings are highly experimental. Please read the warnings at the "
40522 "top of C<csharp/Libguestfs.cs>."
40526 #: ../libguestfs-1.11.20/src/guestfs.pod:722 ../src/guestfs.pod:722
40528 msgstr "B<Haskell>"
40531 #: ../libguestfs-1.11.20/src/guestfs.pod:724 ../src/guestfs.pod:724
40533 "This is the only language binding that is working but incomplete. Only "
40534 "calls which return simple integers have been bound in Haskell, and we are "
40535 "looking for help to complete this binding."
40539 #: ../libguestfs-1.11.20/src/guestfs.pod:728 ../src/guestfs.pod:728
40544 #: ../libguestfs-1.11.20/src/guestfs.pod:730 ../src/guestfs.pod:730
40546 "Full documentation is contained in the Javadoc which is distributed with "
40547 "libguestfs. For examples, see L<guestfs-java(3)>."
40551 #: ../libguestfs-1.11.20/src/guestfs.pod:733 ../src/guestfs.pod:733
40556 #: ../libguestfs-1.11.20/src/guestfs.pod:735 ../src/guestfs.pod:735
40557 msgid "See L<guestfs-ocaml(3)>."
40558 msgstr "Див. L<guestfs-ocaml(3)>."
40561 #: ../libguestfs-1.11.20/src/guestfs.pod:737 ../src/guestfs.pod:737
40566 #: ../libguestfs-1.11.20/src/guestfs.pod:739 ../src/guestfs.pod:739
40567 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
40568 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
40571 #: ../libguestfs-1.11.20/src/guestfs.pod:741 ../src/guestfs.pod:741
40576 #: ../libguestfs-1.11.20/src/guestfs.pod:743 ../src/guestfs.pod:743
40578 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
40579 "the php-libguestfs package for your distribution."
40583 #: ../libguestfs-1.11.20/src/guestfs.pod:746 ../src/guestfs.pod:746
40584 msgid "The PHP binding only works correctly on 64 bit machines."
40588 #: ../libguestfs-1.11.20/src/guestfs.pod:748 ../src/guestfs.pod:748
40593 #: ../libguestfs-1.11.20/src/guestfs.pod:750 ../src/guestfs.pod:750
40594 msgid "See L<guestfs-python(3)>."
40595 msgstr "Див. L<guestfs-python(3)>."
40598 #: ../libguestfs-1.11.20/src/guestfs.pod:752 ../src/guestfs.pod:752
40603 #: ../libguestfs-1.11.20/src/guestfs.pod:754 ../src/guestfs.pod:754
40604 msgid "See L<guestfs-ruby(3)>."
40605 msgstr "Див. L<guestfs-ruby(3)>."
40608 #: ../libguestfs-1.11.20/src/guestfs.pod:756 ../src/guestfs.pod:756
40609 msgid "B<shell scripts>"
40610 msgstr "B<скрипти оболонки>"
40613 #: ../libguestfs-1.11.20/src/guestfs.pod:758 ../src/guestfs.pod:758
40614 msgid "See L<guestfish(1)>."
40615 msgstr "Див. L<guestfish(1)>."
40618 #: ../libguestfs-1.11.20/src/guestfs.pod:762 ../src/guestfs.pod:762
40619 msgid "LIBGUESTFS GOTCHAS"
40623 #: ../libguestfs-1.11.20/src/guestfs.pod:764 ../src/guestfs.pod:764
40625 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
40626 "system [...] that works in the way it is documented but is counterintuitive "
40627 "and almost invites mistakes.\""
40631 #: ../libguestfs-1.11.20/src/guestfs.pod:768 ../src/guestfs.pod:768
40633 "Since we developed libguestfs and the associated tools, there are several "
40634 "things we would have designed differently, but are now stuck with for "
40635 "backwards compatibility or other reasons. If there is ever a libguestfs 2.0 "
40636 "release, you can expect these to change. Beware of them."
40640 #: ../libguestfs-1.11.20/src/guestfs.pod:776 ../src/guestfs.pod:776
40641 msgid "Autosync / forgetting to sync."
40645 #: ../libguestfs-1.11.20/src/guestfs.pod:778 ../src/guestfs.pod:778
40647 "I<Update:> Autosync is enabled by default for all API users starting from "
40648 "libguestfs 1.5.24. This section only applies to older versions."
40652 #: ../libguestfs-1.11.20/src/guestfs.pod:781 ../src/guestfs.pod:781
40654 "When modifying a filesystem from C or another language, you B<must> unmount "
40655 "all filesystems and call L</guestfs_sync> explicitly before you close the "
40656 "libguestfs handle. You can also call:"
40660 #: ../libguestfs-1.11.20/src/guestfs.pod:785 ../src/guestfs.pod:785
40663 " guestfs_set_autosync (g, 1);\n"
40666 " guestfs_set_autosync (g, 1);\n"
40670 #: ../libguestfs-1.11.20/src/guestfs.pod:787 ../src/guestfs.pod:787
40672 "to have the unmount/sync done automatically for you when the handle 'g' is "
40673 "closed. (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
40677 #: ../libguestfs-1.11.20/src/guestfs.pod:791 ../src/guestfs.pod:791
40679 "If you forget to do this, then it is entirely possible that your changes "
40680 "won't be written out, or will be partially written, or (very rarely) that "
40681 "you'll get disk corruption."
40685 #: ../libguestfs-1.11.20/src/guestfs.pod:795 ../src/guestfs.pod:795
40687 "Note that in L<guestfish(3)> autosync is the default. So quick and dirty "
40688 "guestfish scripts that forget to sync will work just fine, which can make "
40689 "this very puzzling if you are trying to debug a problem."
40693 #: ../libguestfs-1.11.20/src/guestfs.pod:799 ../src/guestfs.pod:799
40694 msgid "Mount option C<-o sync> should not be the default."
40698 #: ../libguestfs-1.11.20/src/guestfs.pod:801 ../src/guestfs.pod:801
40700 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly. "
40701 "However C<-o sync> does not add any reliability benefit, but does have a "
40702 "very large performance impact."
40706 #: ../libguestfs-1.11.20/src/guestfs.pod:805 ../src/guestfs.pod:805
40708 "The work around is to use L</guestfs_mount_options> and set the mount "
40709 "options that you actually want to use."
40713 #: ../libguestfs-1.11.20/src/guestfs.pod:808 ../src/guestfs.pod:808
40714 msgid "Read-only should be the default."
40718 #: ../libguestfs-1.11.20/src/guestfs.pod:810 ../src/guestfs.pod:810
40720 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
40721 "specify I<--rw> if you want to make changes to the image."
40725 #: ../libguestfs-1.11.20/src/guestfs.pod:813 ../src/guestfs.pod:813
40726 msgid "This would reduce the potential to corrupt live VM images."
40730 #: ../libguestfs-1.11.20/src/guestfs.pod:815 ../src/guestfs.pod:815
40732 "Note that many filesystems change the disk when you just mount and unmount, "
40733 "even if you didn't perform any writes. You need to use L</"
40734 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
40738 #: ../libguestfs-1.11.20/src/guestfs.pod:819 ../src/guestfs.pod:819
40739 msgid "guestfish command line is hard to use."
40743 #: ../libguestfs-1.11.20/src/guestfs.pod:821 ../src/guestfs.pod:821
40745 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
40746 "examination). It tries to run a guestfish command C<disk.img> which doesn't "
40747 "exist, so it fails. In earlier versions of guestfish the error message was "
40748 "also unintuitive, but we have corrected this since. Like the Bourne shell, "
40749 "we should have used C<guestfish -c command> to run commands."
40753 #: ../libguestfs-1.11.20/src/guestfs.pod:828 ../src/guestfs.pod:828
40754 msgid "guestfish megabyte modifiers don't work right on all commands"
40758 #: ../libguestfs-1.11.20/src/guestfs.pod:830 ../src/guestfs.pod:830
40760 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
40761 "other modifiers). What guestfish actually does is to multiply the number "
40762 "part by the modifier part and pass the result to the C API. However this "
40763 "doesn't work for a few APIs which aren't expecting bytes, but are already "
40764 "expecting some other unit (eg. megabytes)."
40768 #: ../libguestfs-1.11.20/src/guestfs.pod:837 ../src/guestfs.pod:837
40769 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:"
40773 #: ../libguestfs-1.11.20/src/guestfs.pod:839 ../src/guestfs.pod:839
40776 " lvcreate LV VG 100M\n"
40779 " lvcreate LV VG 100M\n"
40783 #: ../libguestfs-1.11.20/src/guestfs.pod:841 ../src/guestfs.pod:841
40785 "does not do what you might expect. Instead because L</guestfs_lvcreate> is "
40786 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
40787 "megabytes * megabytes) logical volume. The error message you get from this "
40788 "is also a little obscure."
40792 #: ../libguestfs-1.11.20/src/guestfs.pod:846 ../src/guestfs.pod:846
40794 "This could be fixed in the generator by specially marking parameters and "
40795 "return values which take bytes or other units."
40799 #: ../libguestfs-1.11.20/src/guestfs.pod:849 ../src/guestfs.pod:849
40800 msgid "Ambiguity between devices and paths"
40804 #: ../libguestfs-1.11.20/src/guestfs.pod:851 ../src/guestfs.pod:851
40806 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
40807 "sdb2>) and a similar pathname. A file might just happen to be called "
40808 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
40812 #: ../libguestfs-1.11.20/src/guestfs.pod:856 ../src/guestfs.pod:856
40814 "In the current API we usually resolve this ambiguity by having two separate "
40815 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>. "
40816 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
40817 "detecting if the path supplied begins with C</dev/>."
40821 #: ../libguestfs-1.11.20/src/guestfs.pod:862 ../src/guestfs.pod:862
40823 "To avoid both the ambiguity and the need to duplicate some calls, we could "
40824 "make paths/devices into structured names. One way to do this would be to "
40825 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
40826 "aspect of grub. Another way would be to use a structured type, equivalent "
40827 "to this OCaml type:"
40831 #: ../libguestfs-1.11.20/src/guestfs.pod:868 ../src/guestfs.pod:868
40834 " type path = Path of string | Device of int | Partition of int * int\n"
40839 #: ../libguestfs-1.11.20/src/guestfs.pod:870 ../src/guestfs.pod:870
40840 msgid "which would allow you to pass arguments like:"
40844 #: ../libguestfs-1.11.20/src/guestfs.pod:872 ../src/guestfs.pod:872
40847 " Path \"/foo/bar\"\n"
40848 " Device 1 (* /dev/sdb, or perhaps /dev/sda *)\n"
40849 " Partition (1, 2) (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
40850 " Path \"/dev/sdb2\" (* not a device *)\n"
40855 #: ../libguestfs-1.11.20/src/guestfs.pod:877 ../src/guestfs.pod:877
40857 "As you can see there are still problems to resolve even with this "
40858 "representation. Also consider how it might work in guestfish."
40862 #: ../libguestfs-1.11.20/src/guestfs.pod:882 ../src/guestfs.pod:882
40863 msgid "KEYS AND PASSPHRASES"
40864 msgstr "КЛЮЧІ І ПАРОЛІ"
40867 #: ../libguestfs-1.11.20/src/guestfs.pod:884 ../src/guestfs.pod:884
40869 "Certain libguestfs calls take a parameter that contains sensitive key "
40870 "material, passed in as a C string."
40874 #: ../libguestfs-1.11.20/src/guestfs.pod:887 ../src/guestfs.pod:887
40876 "In the future we would hope to change the libguestfs implementation so that "
40877 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
40878 "swap. However this is I<not> done at the moment, because of the complexity "
40879 "of such an implementation."
40883 #: ../libguestfs-1.11.20/src/guestfs.pod:892 ../src/guestfs.pod:892
40885 "Therefore you should be aware that any key parameter you pass to libguestfs "
40886 "might end up being written out to the swap partition. If this is a concern, "
40887 "scrub the swap partition or don't use libguestfs on encrypted devices."
40891 #: ../libguestfs-1.11.20/src/guestfs.pod:897 ../src/guestfs.pod:897
40892 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
40896 #: ../libguestfs-1.11.20/src/guestfs.pod:899 ../src/guestfs.pod:899
40898 "All high-level libguestfs actions are synchronous. If you want to use "
40899 "libguestfs asynchronously then you must create a thread."
40903 #: ../libguestfs-1.11.20/src/guestfs.pod:902 ../src/guestfs.pod:902
40905 "Only use the handle from a single thread. Either use the handle exclusively "
40906 "from one thread, or provide your own mutex so that two threads cannot issue "
40907 "calls on the same handle at the same time."
40911 #: ../libguestfs-1.11.20/src/guestfs.pod:906 ../src/guestfs.pod:906
40913 "See the graphical program guestfs-browser for one possible architecture for "
40914 "multithreaded programs using libvirt and libguestfs."
40918 #: ../libguestfs-1.11.20/src/guestfs.pod:909 ../src/guestfs.pod:909
40923 #: ../libguestfs-1.11.20/src/guestfs.pod:911 ../src/guestfs.pod:911
40925 "Libguestfs needs a supermin appliance, which it finds by looking along an "
40930 #: ../libguestfs-1.11.20/src/guestfs.pod:914 ../src/guestfs.pod:914
40932 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
40933 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
40937 #: ../libguestfs-1.11.20/src/guestfs.pod:917 ../src/guestfs.pod:917
40939 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
40940 "to change the directories that libguestfs will search in. The value is a "
40941 "colon-separated list of paths. The current directory is I<not> searched "
40942 "unless the path contains an empty element or C<.>. For example "
40943 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
40944 "then C</usr/lib/guestfs>."
40948 #: ../libguestfs-1.11.20/src/guestfs.pod:924 ../src/guestfs.pod:924
40949 msgid "QEMU WRAPPERS"
40953 #: ../libguestfs-1.11.20/src/guestfs.pod:926 ../src/guestfs.pod:926
40955 "If you want to compile your own qemu, run qemu from a non-standard location, "
40956 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
40961 #: ../libguestfs-1.11.20/src/guestfs.pod:930 ../src/guestfs.pod:930
40963 "There is one important rule to remember: you I<must C<exec qemu>> as the "
40964 "last command in the shell script (so that qemu replaces the shell and "
40965 "becomes the direct child of the libguestfs-using program). If you don't do "
40966 "this, then the qemu process won't be cleaned up correctly."
40970 #: ../libguestfs-1.11.20/src/guestfs.pod:935 ../src/guestfs.pod:935
40972 "Here is an example of a wrapper, where I have built my own copy of qemu from "
40977 #: ../libguestfs-1.11.20/src/guestfs.pod:938 ../src/guestfs.pod:938
40981 " qemudir=/home/rjones/d/qemu\n"
40982 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
40986 " qemudir=/home/rjones/d/qemu\n"
40987 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
40991 #: ../libguestfs-1.11.20/src/guestfs.pod:942 ../src/guestfs.pod:942
40993 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
40994 "then use it by setting the LIBGUESTFS_QEMU environment variable. For "
40999 #: ../libguestfs-1.11.20/src/guestfs.pod:946 ../src/guestfs.pod:946
41002 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
41005 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
41009 #: ../libguestfs-1.11.20/src/guestfs.pod:948 ../src/guestfs.pod:948
41011 "Note that libguestfs also calls qemu with the -help and -version options in "
41012 "order to determine features."
41016 #: ../libguestfs-1.11.20/src/guestfs.pod:951 ../src/guestfs.pod:951
41017 msgid "ATTACHING TO RUNNING DAEMONS"
41018 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
41021 #: ../libguestfs-1.11.20/src/guestfs.pod:953 ../src/guestfs.pod:953
41023 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
41024 "babies. Use with caution."
41028 #: ../libguestfs-1.11.20/src/guestfs.pod:956 ../src/guestfs.pod:956
41030 "I<Note (2):> This section explains how to attach to a running daemon from a "
41031 "low level perspective. For most users, simply using virt tools such as "
41032 "L<guestfish(1)> with the I<--live> option will \"just work\"."
41036 #: ../libguestfs-1.11.20/src/guestfs.pod:960 ../src/guestfs.pod:960
41037 msgid "Using guestfs_set_attach_method"
41038 msgstr "За допомогою guestfs_set_attach_method"
41041 #: ../libguestfs-1.11.20/src/guestfs.pod:962 ../src/guestfs.pod:962
41043 "By calling L</guestfs_set_attach_method> you can change how the library "
41044 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
41045 "ARCHITECTURE> for some background)."
41049 #: ../libguestfs-1.11.20/src/guestfs.pod:966 ../src/guestfs.pod:966
41051 "The normal attach method is C<appliance>, where a small appliance is created "
41052 "containing the daemon, and then the library connects to this."
41056 #: ../libguestfs-1.11.20/src/guestfs.pod:969 ../src/guestfs.pod:969
41058 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
41059 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
41060 "daemon over the Unix domain socket."
41064 #: ../libguestfs-1.11.20/src/guestfs.pod:973 ../src/guestfs.pod:973
41066 "The normal use for this is to connect to a running virtual machine that "
41067 "contains a C<guestfsd> daemon, and send commands so you can read and write "
41068 "files inside the live virtual machine."
41072 #: ../libguestfs-1.11.20/src/guestfs.pod:977 ../src/guestfs.pod:977
41073 msgid "Using guestfs_add_domain with live flag"
41074 msgstr "За допомогою guestfs_add_domain з прапорцем live"
41077 #: ../libguestfs-1.11.20/src/guestfs.pod:979 ../src/guestfs.pod:979
41079 "L</guestfs_add_domain> provides some help for getting the correct attach "
41080 "method. If you pass the C<live> option to this function, then (if the "
41081 "virtual machine is running) it will examine the libvirt XML looking for a "
41082 "virtio-serial channel to connect to:"
41086 #: ../libguestfs-1.11.20/src/guestfs.pod:985 ../src/guestfs.pod:985
41093 " <channel type='unix'>\n"
41094 " <source mode='bind' path='/path/to/socket'/>\n"
41095 " <target type='virtio' name='org.libguestfs.channel.0'/>\n"
41106 " <channel type='unix'>\n"
41107 " <source mode='bind' path='/path/to/socket'/>\n"
41108 " <target type='virtio' name='org.libguestfs.channel.0'/>\n"
41116 #: ../libguestfs-1.11.20/src/guestfs.pod:997 ../src/guestfs.pod:997
41118 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
41119 "method to C<unix:/path/to/socket>."
41123 #: ../libguestfs-1.11.20/src/guestfs.pod:1000 ../src/guestfs.pod:1000
41125 "Some of the libguestfs tools (including guestfish) support a I<--live> "
41126 "option which is passed through to L</guestfs_add_domain> thus allowing you "
41127 "to attach to and modify live virtual machines."
41131 #: ../libguestfs-1.11.20/src/guestfs.pod:1004 ../src/guestfs.pod:1004
41133 "The virtual machine needs to have been set up beforehand so that it has the "
41134 "virtio-serial channel and so that guestfsd is running inside it."
41138 #: ../libguestfs-1.11.20/src/guestfs.pod:1008 ../src/guestfs.pod:1008
41139 msgid "ABI GUARANTEE"
41140 msgstr "ГАРАНТІЯ ЩОДО ABI"
41143 #: ../libguestfs-1.11.20/src/guestfs.pod:1010 ../src/guestfs.pod:1010
41145 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
41146 "actions as outlined in this section. Although we will deprecate some "
41147 "actions, for example if they get replaced by newer calls, we will keep the "
41148 "old actions forever. This allows you the developer to program in confidence "
41149 "against the libguestfs API."
41153 #: ../libguestfs-1.11.20/src/guestfs.pod:1016 ../src/guestfs.pod:1016
41154 msgid "BLOCK DEVICE NAMING"
41155 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
41158 #: ../libguestfs-1.11.20/src/guestfs.pod:1018 ../src/guestfs.pod:1018
41160 "In the kernel there is now quite a profusion of schemata for naming block "
41161 "devices (in this context, by I<block device> I mean a physical or virtual "
41162 "hard drive). The original Linux IDE driver used names starting with C</dev/"
41163 "hd*>. SCSI devices have historically used a different naming scheme, C</dev/"
41164 "sd*>. When the Linux kernel I<libata> driver became a popular replacement "
41165 "for the old IDE driver (particularly for SATA devices) those devices also "
41166 "used the C</dev/sd*> scheme. Additionally we now have virtual machines with "
41167 "paravirtualized drivers. This has created several different naming systems, "
41168 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
41172 #: ../libguestfs-1.11.20/src/guestfs.pod:1030 ../src/guestfs.pod:1030
41174 "As discussed above, libguestfs uses a qemu appliance running an embedded "
41175 "Linux kernel to access block devices. We can run a variety of appliances "
41176 "based on a variety of Linux kernels."
41180 #: ../libguestfs-1.11.20/src/guestfs.pod:1034 ../src/guestfs.pod:1034
41182 "This causes a problem for libguestfs because many API calls use device or "
41183 "partition names. Working scripts and the recipe (example) scripts that we "
41184 "make available over the internet could fail if the naming scheme changes."
41188 #: ../libguestfs-1.11.20/src/guestfs.pod:1039 ../src/guestfs.pod:1039
41190 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>. "
41191 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
41192 "required. For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
41193 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
41197 #: ../libguestfs-1.11.20/src/guestfs.pod:1045 ../src/guestfs.pod:1045
41199 "Note that this I<only> applies to parameters. The L</guestfs_list_devices>, "
41200 "L</guestfs_list_partitions> and similar calls return the true names of the "
41201 "devices and partitions as known to the appliance."
41205 #: ../libguestfs-1.11.20/src/guestfs.pod:1050 ../src/guestfs.pod:1050
41206 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
41210 #: ../libguestfs-1.11.20/src/guestfs.pod:1052 ../src/guestfs.pod:1052
41212 "Usually this translation is transparent. However in some (very rare) cases "
41213 "you may need to know the exact algorithm. Such cases include where you use "
41214 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
41215 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
41219 #: ../libguestfs-1.11.20/src/guestfs.pod:1058 ../src/guestfs.pod:1058
41221 "The algorithm is applied only to I<parameters> which are known to be either "
41222 "device or partition names. Return values from functions such as L</"
41223 "guestfs_list_devices> are never changed."
41227 #: ../libguestfs-1.11.20/src/guestfs.pod:1066 ../src/guestfs.pod:1066
41228 msgid "Is the string a parameter which is a device or partition name?"
41232 #: ../libguestfs-1.11.20/src/guestfs.pod:1070 ../src/guestfs.pod:1070
41233 msgid "Does the string begin with C</dev/sd>?"
41234 msgstr "Чи починається рядок з C</dev/sd>?"
41237 #: ../libguestfs-1.11.20/src/guestfs.pod:1074 ../src/guestfs.pod:1074
41239 "Does the named device exist? If so, we use that device. However if I<not> "
41240 "then we continue with this algorithm."
41244 #: ../libguestfs-1.11.20/src/guestfs.pod:1079 ../src/guestfs.pod:1079
41245 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
41249 #: ../libguestfs-1.11.20/src/guestfs.pod:1081 ../src/guestfs.pod:1081
41250 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
41254 #: ../libguestfs-1.11.20/src/guestfs.pod:1083 ../src/guestfs.pod:1083
41255 msgid "If that named device exists, use it. If not, continue."
41259 #: ../libguestfs-1.11.20/src/guestfs.pod:1087 ../src/guestfs.pod:1087
41260 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
41264 #: ../libguestfs-1.11.20/src/guestfs.pod:1089 ../src/guestfs.pod:1089
41265 msgid "If that named device exists, use it. If not, return an error."
41269 #: ../libguestfs-1.11.20/src/guestfs.pod:1093 ../src/guestfs.pod:1093
41270 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
41274 #: ../libguestfs-1.11.20/src/guestfs.pod:1095 ../src/guestfs.pod:1095
41276 "Although the standard naming scheme and automatic translation is useful for "
41277 "simple programs and guestfish scripts, for larger programs it is best not to "
41278 "rely on this mechanism."
41282 #: ../libguestfs-1.11.20/src/guestfs.pod:1099 ../src/guestfs.pod:1099
41284 "Where possible for maximum future portability programs using libguestfs "
41285 "should use these future-proof techniques:"
41289 #: ../libguestfs-1.11.20/src/guestfs.pod:1106 ../src/guestfs.pod:1106
41291 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
41292 "device names, and then use those names directly."
41296 #: ../libguestfs-1.11.20/src/guestfs.pod:1109 ../src/guestfs.pod:1109
41298 "Since those device names exist by definition, they will never be translated."
41302 #: ../libguestfs-1.11.20/src/guestfs.pod:1114 ../src/guestfs.pod:1114
41304 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
41305 "filesystem labels."
41309 #: ../libguestfs-1.11.20/src/guestfs.pod:1119 ../src/guestfs.pod:1119
41314 #: ../libguestfs-1.11.20/src/guestfs.pod:1121 ../src/guestfs.pod:1121
41316 "This section discusses security implications of using libguestfs, "
41317 "particularly with untrusted or malicious guests or disk images."
41321 #: ../libguestfs-1.11.20/src/guestfs.pod:1124 ../src/guestfs.pod:1124
41322 msgid "GENERAL SECURITY CONSIDERATIONS"
41323 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
41326 #: ../libguestfs-1.11.20/src/guestfs.pod:1126 ../src/guestfs.pod:1126
41328 "Be careful with any files or data that you download from a guest (by "
41329 "\"download\" we mean not just the L</guestfs_download> command but any "
41330 "command that reads files, filenames, directories or anything else from a "
41331 "disk image). An attacker could manipulate the data to fool your program "
41332 "into doing the wrong thing. Consider cases such as:"
41336 #: ../libguestfs-1.11.20/src/guestfs.pod:1136 ../src/guestfs.pod:1136
41337 msgid "the data (file etc) not being present"
41341 #: ../libguestfs-1.11.20/src/guestfs.pod:1140 ../src/guestfs.pod:1140
41342 msgid "being present but empty"
41346 #: ../libguestfs-1.11.20/src/guestfs.pod:1144 ../src/guestfs.pod:1144
41347 msgid "being much larger than normal"
41351 #: ../libguestfs-1.11.20/src/guestfs.pod:1148 ../src/guestfs.pod:1148
41352 msgid "containing arbitrary 8 bit data"
41356 #: ../libguestfs-1.11.20/src/guestfs.pod:1152 ../src/guestfs.pod:1152
41357 msgid "being in an unexpected character encoding"
41361 #: ../libguestfs-1.11.20/src/guestfs.pod:1156 ../src/guestfs.pod:1156
41362 msgid "containing homoglyphs."
41366 #: ../libguestfs-1.11.20/src/guestfs.pod:1160 ../src/guestfs.pod:1160
41367 msgid "SECURITY OF MOUNTING FILESYSTEMS"
41368 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
41371 #: ../libguestfs-1.11.20/src/guestfs.pod:1162 ../src/guestfs.pod:1162
41373 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
41374 "(VFS) module can sometimes be escalated into exploits by deliberately "
41375 "creating a malicious, malformed filesystem. These exploits are very severe "
41376 "for two reasons. Firstly there are very many filesystem drivers in the "
41377 "kernel, and many of them are infrequently used and not much developer "
41378 "attention has been paid to the code. Linux userspace helps potential "
41379 "crackers by detecting the filesystem type and automatically choosing the "
41380 "right VFS driver, even if that filesystem type is obscure or unexpected for "
41381 "the administrator. Secondly, a kernel-level exploit is like a local root "
41382 "exploit (worse in some ways), giving immediate and total access to the "
41383 "system right down to the hardware level."
41387 #: ../libguestfs-1.11.20/src/guestfs.pod:1175 ../src/guestfs.pod:1175
41389 "That explains why you should never mount a filesystem from an untrusted "
41390 "guest on your host kernel. How about libguestfs? We run a Linux kernel "
41391 "inside a qemu virtual machine, usually running as a non-root user. The "
41392 "attacker would need to write a filesystem which first exploited the kernel, "
41393 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
41394 "the libguestfs protocol, and finally to be as serious as the host kernel "
41395 "exploit it would need to escalate its privileges to root. This multi-step "
41396 "escalation, performed by a static piece of data, is thought to be extremely "
41397 "hard to do, although we never say 'never' about security issues."
41401 #: ../libguestfs-1.11.20/src/guestfs.pod:1186 ../src/guestfs.pod:1186
41403 "In any case callers can reduce the attack surface by forcing the filesystem "
41404 "type when mounting (use L</guestfs_mount_vfs>)."
41408 #: ../libguestfs-1.11.20/src/guestfs.pod:1189 ../src/guestfs.pod:1189
41409 msgid "PROTOCOL SECURITY"
41410 msgstr "ЗАХИСТ ПРОТОКОЛУ"
41413 #: ../libguestfs-1.11.20/src/guestfs.pod:1191 ../src/guestfs.pod:1191
41415 "The protocol is designed to be secure, being based on RFC 4506 (XDR) with a "
41416 "defined upper message size. However a program that uses libguestfs must "
41417 "also take care - for example you can write a program that downloads a binary "
41418 "from a disk image and executes it locally, and no amount of protocol "
41419 "security will save you from the consequences."
41423 #: ../libguestfs-1.11.20/src/guestfs.pod:1197 ../src/guestfs.pod:1197
41424 msgid "INSPECTION SECURITY"
41428 #: ../libguestfs-1.11.20/src/guestfs.pod:1199 ../src/guestfs.pod:1199
41430 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
41431 "directly from the guest, and these could contain any 8 bit data. Callers "
41432 "should be careful to escape these before printing them to a structured file "
41433 "(for example, use HTML escaping if creating a web page)."
41437 #: ../libguestfs-1.11.20/src/guestfs.pod:1205 ../src/guestfs.pod:1205
41439 "Guest configuration may be altered in unusual ways by the administrator of "
41440 "the virtual machine, and may not reflect reality (particularly for untrusted "
41441 "or actively malicious guests). For example we parse the hostname from "
41442 "configuration files like C</etc/sysconfig/network> that we find in the "
41443 "guest, but the guest administrator can easily manipulate these files to "
41444 "provide the wrong hostname."
41448 #: ../libguestfs-1.11.20/src/guestfs.pod:1213 ../src/guestfs.pod:1213
41450 "The inspection API parses guest configuration using two external libraries: "
41451 "Augeas (Linux configuration) and hivex (Windows Registry). Both are "
41452 "designed to be robust in the face of malicious data, although denial of "
41453 "service attacks are still possible, for example with oversized configuration "
41458 #: ../libguestfs-1.11.20/src/guestfs.pod:1219 ../src/guestfs.pod:1219
41459 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
41460 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
41463 #: ../libguestfs-1.11.20/src/guestfs.pod:1221 ../src/guestfs.pod:1221
41465 "Be very cautious about running commands from the guest. By running a "
41466 "command in the guest, you are giving CPU time to a binary that you do not "
41467 "control, under the same user account as the library, albeit wrapped in qemu "
41468 "virtualization. More information and alternatives can be found in the "
41469 "section L</RUNNING COMMANDS>."
41473 #: ../libguestfs-1.11.20/src/guestfs.pod:1227 ../src/guestfs.pod:1227
41474 msgid "CVE-2010-3851"
41475 msgstr "CVE-2010-3851"
41478 #: ../libguestfs-1.11.20/src/guestfs.pod:1229 ../src/guestfs.pod:1229
41479 msgid "https://bugzilla.redhat.com/642934"
41480 msgstr "https://bugzilla.redhat.com/642934"
41483 #: ../libguestfs-1.11.20/src/guestfs.pod:1231 ../src/guestfs.pod:1231
41485 "This security bug concerns the automatic disk format detection that qemu "
41486 "does on disk images."
41490 #: ../libguestfs-1.11.20/src/guestfs.pod:1234 ../src/guestfs.pod:1234
41492 "A raw disk image is just the raw bytes, there is no header. Other disk "
41493 "images like qcow2 contain a special header. Qemu deals with this by looking "
41494 "for one of the known headers, and if none is found then assuming the disk "
41495 "image must be raw."
41499 #: ../libguestfs-1.11.20/src/guestfs.pod:1239 ../src/guestfs.pod:1239
41501 "This allows a guest which has been given a raw disk image to write some "
41502 "other header. At next boot (or when the disk image is accessed by "
41503 "libguestfs) qemu would do autodetection and think the disk image format was, "
41504 "say, qcow2 based on the header written by the guest."
41508 #: ../libguestfs-1.11.20/src/guestfs.pod:1244 ../src/guestfs.pod:1244
41510 "This in itself would not be a problem, but qcow2 offers many features, one "
41511 "of which is to allow a disk image to refer to another image (called the "
41512 "\"backing disk\"). It does this by placing the path to the backing disk "
41513 "into the qcow2 header. This path is not validated and could point to any "
41514 "host file (eg. \"/etc/passwd\"). The backing disk is then exposed through "
41515 "\"holes\" in the qcow2 disk image, which of course is completely under the "
41516 "control of the attacker."
41520 #: ../libguestfs-1.11.20/src/guestfs.pod:1252 ../src/guestfs.pod:1252
41522 "In libguestfs this is rather hard to exploit except under two circumstances:"
41526 #: ../libguestfs-1.11.20/src/guestfs.pod:1259 ../src/guestfs.pod:1259
41527 msgid "You have enabled the network or have opened the disk in write mode."
41531 #: ../libguestfs-1.11.20/src/guestfs.pod:1263 ../src/guestfs.pod:1263
41533 "You are also running untrusted code from the guest (see L</RUNNING "
41538 #: ../libguestfs-1.11.20/src/guestfs.pod:1268 ../src/guestfs.pod:1268
41540 "The way to avoid this is to specify the expected disk format when adding "
41541 "disks (the optional C<format> option to L</guestfs_add_drive_opts>). You "
41542 "should always do this if the disk is raw format, and it's a good idea for "
41547 #: ../libguestfs-1.11.20/src/guestfs.pod:1273 ../src/guestfs.pod:1273
41549 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
41550 "format is fetched from libvirt and passed through."
41554 #: ../libguestfs-1.11.20/src/guestfs.pod:1276 ../src/guestfs.pod:1276
41556 "For libguestfs tools, use the I<--format> command line parameter as "
41561 #: ../libguestfs-1.11.20/src/guestfs.pod:1279 ../src/guestfs.pod:1279
41562 msgid "CONNECTION MANAGEMENT"
41563 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
41566 #: ../libguestfs-1.11.20/src/guestfs.pod:1281 ../src/guestfs.pod:1281
41567 msgid "guestfs_h *"
41568 msgstr "guestfs_h *"
41571 #: ../libguestfs-1.11.20/src/guestfs.pod:1283 ../src/guestfs.pod:1283
41573 "C<guestfs_h> is the opaque type representing a connection handle. Create a "
41574 "handle by calling L</guestfs_create>. Call L</guestfs_close> to free the "
41575 "handle and release all resources used."
41579 #: ../libguestfs-1.11.20/src/guestfs.pod:1287 ../src/guestfs.pod:1287
41581 "For information on using multiple handles and threads, see the section L</"
41582 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
41586 #: ../libguestfs-1.11.20/src/guestfs.pod:1290 ../src/guestfs.pod:1290
41587 msgid "guestfs_create"
41588 msgstr "guestfs_create"
41591 #: ../libguestfs-1.11.20/src/guestfs.pod:1292 ../src/guestfs.pod:1292
41594 " guestfs_h *guestfs_create (void);\n"
41597 " guestfs_h *guestfs_create (void);\n"
41601 #: ../libguestfs-1.11.20/src/guestfs.pod:1294 ../src/guestfs.pod:1294
41602 msgid "Create a connection handle."
41603 msgstr "Створити дескриптор з’єднання."
41606 #: ../libguestfs-1.11.20/src/guestfs.pod:1296 ../src/guestfs.pod:1296
41608 "On success this returns a non-NULL pointer to a handle. On error it returns "
41613 #: ../libguestfs-1.11.20/src/guestfs.pod:1299 ../src/guestfs.pod:1299
41615 "You have to \"configure\" the handle after creating it. This includes "
41616 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
41617 "handle at least once."
41621 #: ../libguestfs-1.11.20/src/guestfs.pod:1303 ../src/guestfs.pod:1303
41622 msgid "After configuring the handle, you have to call L</guestfs_launch>."
41626 #: ../libguestfs-1.11.20/src/guestfs.pod:1305 ../src/guestfs.pod:1305
41628 "You may also want to configure error handling for the handle. See the L</"
41629 "ERROR HANDLING> section below."
41633 #: ../libguestfs-1.11.20/src/guestfs.pod:1308 ../src/guestfs.pod:1308
41634 msgid "guestfs_close"
41635 msgstr "guestfs_close"
41638 #: ../libguestfs-1.11.20/src/guestfs.pod:1310 ../src/guestfs.pod:1310
41641 " void guestfs_close (guestfs_h *g);\n"
41644 " void guestfs_close (guestfs_h *g);\n"
41648 #: ../libguestfs-1.11.20/src/guestfs.pod:1312 ../src/guestfs.pod:1312
41649 msgid "This closes the connection handle and frees up all resources used."
41653 #: ../libguestfs-1.11.20/src/guestfs.pod:1314 ../src/guestfs.pod:1314
41655 "If autosync was set on the handle and the handle was launched, then this "
41656 "implicitly calls various functions to unmount filesystems and sync the "
41657 "disk. See L</guestfs_set_autosync> for more details."
41661 #: ../libguestfs-1.11.20/src/guestfs.pod:1318 ../src/guestfs.pod:1318
41662 msgid "If a close callback was set on the handle, then it is called."
41666 #: ../libguestfs-1.11.20/src/guestfs.pod:1320 ../src/guestfs.pod:1320
41667 msgid "ERROR HANDLING"
41668 msgstr "ОБРОБКА ПОМИЛОК"
41671 #: ../libguestfs-1.11.20/src/guestfs.pod:1322 ../src/guestfs.pod:1322
41673 "API functions can return errors. For example, almost all functions that "
41674 "return C<int> will return C<-1> to indicate an error."
41678 #: ../libguestfs-1.11.20/src/guestfs.pod:1325 ../src/guestfs.pod:1325
41680 "Additional information is available for errors: an error message string and "
41681 "optionally an error number (errno) if the thing that failed was a system "
41686 #: ../libguestfs-1.11.20/src/guestfs.pod:1329 ../src/guestfs.pod:1329
41688 "You can get at the additional information about the last error on the handle "
41689 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
41690 "up an error handler with L</guestfs_set_error_handler>."
41694 #: ../libguestfs-1.11.20/src/guestfs.pod:1334 ../src/guestfs.pod:1334
41696 "When the handle is created, a default error handler is installed which "
41697 "prints the error message string to C<stderr>. For small short-running "
41698 "command line programs it is sufficient to do:"
41702 #: ../libguestfs-1.11.20/src/guestfs.pod:1338 ../src/guestfs.pod:1338
41705 " if (guestfs_launch (g) == -1)\n"
41706 " exit (EXIT_FAILURE);\n"
41709 " if (guestfs_launch (g) == -1)\n"
41710 " exit (EXIT_FAILURE);\n"
41714 #: ../libguestfs-1.11.20/src/guestfs.pod:1341 ../src/guestfs.pod:1341
41716 "since the default error handler will ensure that an error message has been "
41717 "printed to C<stderr> before the program exits."
41721 #: ../libguestfs-1.11.20/src/guestfs.pod:1344 ../src/guestfs.pod:1344
41723 "For other programs the caller will almost certainly want to install an "
41724 "alternate error handler or do error handling in-line like this:"
41728 #: ../libguestfs-1.11.20/src/guestfs.pod:1347 ../src/guestfs.pod:1347
41731 " g = guestfs_create ();\n"
41734 " g = guestfs_create ();\n"
41738 #: ../libguestfs-1.11.20/src/guestfs.pod:1349 ../src/guestfs.pod:1349
41741 " /* This disables the default behaviour of printing errors\n"
41743 " guestfs_set_error_handler (g, NULL, NULL);\n"
41748 #: ../libguestfs-1.11.20/src/guestfs.pod:1353 ../src/guestfs.pod:1353
41751 " if (guestfs_launch (g) == -1) {\n"
41752 " /* Examine the error message and print it etc. */\n"
41753 " char *msg = guestfs_last_error (g);\n"
41754 " int errnum = guestfs_last_errno (g);\n"
41755 " fprintf (stderr, \"%s\\n\", msg);\n"
41760 " if (guestfs_launch (g) == -1) {\n"
41761 " /* Вивчити повідомлення про помилку і вивести його тощо. */\n"
41762 " char *msg = guestfs_last_error (g);\n"
41763 " int errnum = guestfs_last_errno (g);\n"
41764 " fprintf (stderr, \"%s\\n\", msg);\n"
41770 #: ../libguestfs-1.11.20/src/guestfs.pod:1361 ../src/guestfs.pod:1361
41772 "Out of memory errors are handled differently. The default action is to call "
41773 "L<abort(3)>. If this is undesirable, then you can set a handler using L</"
41774 "guestfs_set_out_of_memory_handler>."
41778 #: ../libguestfs-1.11.20/src/guestfs.pod:1365 ../src/guestfs.pod:1365
41780 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
41781 "because there is no handle if this happens there is no way to get additional "
41782 "error information. However L</guestfs_create> is supposed to be a "
41783 "lightweight operation which can only fail because of insufficient memory (it "
41784 "returns NULL in this case)."
41788 #: ../libguestfs-1.11.20/src/guestfs.pod:1371 ../src/guestfs.pod:1371
41789 msgid "guestfs_last_error"
41790 msgstr "guestfs_last_error"
41793 #: ../libguestfs-1.11.20/src/guestfs.pod:1373 ../src/guestfs.pod:1373
41796 " const char *guestfs_last_error (guestfs_h *g);\n"
41799 " const char *guestfs_last_error (guestfs_h *g);\n"
41803 #: ../libguestfs-1.11.20/src/guestfs.pod:1375 ../src/guestfs.pod:1375
41805 "This returns the last error message that happened on C<g>. If there has not "
41806 "been an error since the handle was created, then this returns C<NULL>."
41810 #: ../libguestfs-1.11.20/src/guestfs.pod:1379 ../src/guestfs.pod:1379
41812 "The lifetime of the returned string is until the next error occurs, or L</"
41813 "guestfs_close> is called."
41817 #: ../libguestfs-1.11.20/src/guestfs.pod:1382 ../src/guestfs.pod:1382
41818 msgid "guestfs_last_errno"
41819 msgstr "guestfs_last_errno"
41822 #: ../libguestfs-1.11.20/src/guestfs.pod:1384 ../src/guestfs.pod:1384
41825 " int guestfs_last_errno (guestfs_h *g);\n"
41828 " int guestfs_last_errno (guestfs_h *g);\n"
41832 #: ../libguestfs-1.11.20/src/guestfs.pod:1386 ../src/guestfs.pod:1386
41833 msgid "This returns the last error number (errno) that happened on C<g>."
41837 #: ../libguestfs-1.11.20/src/guestfs.pod:1388 ../src/guestfs.pod:1388
41838 msgid "If successful, an errno integer not equal to zero is returned."
41842 #: ../libguestfs-1.11.20/src/guestfs.pod:1390 ../src/guestfs.pod:1390
41844 "If no error, this returns 0. This call can return 0 in three situations:"
41848 #: ../libguestfs-1.11.20/src/guestfs.pod:1397 ../src/guestfs.pod:1397
41849 msgid "There has not been any error on the handle."
41853 #: ../libguestfs-1.11.20/src/guestfs.pod:1401 ../src/guestfs.pod:1401
41855 "There has been an error but the errno was meaningless. This corresponds to "
41856 "the case where the error did not come from a failed system call, but for "
41857 "some other reason."
41861 #: ../libguestfs-1.11.20/src/guestfs.pod:1407 ../src/guestfs.pod:1407
41863 "There was an error from a failed system call, but for some reason the errno "
41864 "was not captured and returned. This usually indicates a bug in libguestfs."
41868 #: ../libguestfs-1.11.20/src/guestfs.pod:1413 ../src/guestfs.pod:1413
41870 "Libguestfs tries to convert the errno from inside the applicance into a "
41871 "corresponding errno for the caller (not entirely trivial: the appliance "
41872 "might be running a completely different operating system from the library "
41873 "and error numbers are not standardized across Un*xen). If this could not be "
41874 "done, then the error is translated to C<EINVAL>. In practice this should "
41875 "only happen in very rare circumstances."
41879 #: ../libguestfs-1.11.20/src/guestfs.pod:1421 ../src/guestfs.pod:1421
41880 msgid "guestfs_set_error_handler"
41881 msgstr "guestfs_set_error_handler"
41884 #: ../libguestfs-1.11.20/src/guestfs.pod:1423 ../src/guestfs.pod:1423
41887 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
41889 " const char *msg);\n"
41890 " void guestfs_set_error_handler (guestfs_h *g,\n"
41891 " guestfs_error_handler_cb cb,\n"
41892 " void *opaque);\n"
41895 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
41897 " const char *msg);\n"
41898 " void guestfs_set_error_handler (guestfs_h *g,\n"
41899 " guestfs_error_handler_cb cb,\n"
41900 " void *opaque);\n"
41904 #: ../libguestfs-1.11.20/src/guestfs.pod:1430 ../src/guestfs.pod:1430
41906 "The callback C<cb> will be called if there is an error. The parameters "
41907 "passed to the callback are an opaque data pointer and the error message "
41912 #: ../libguestfs-1.11.20/src/guestfs.pod:1434 ../src/guestfs.pod:1434
41914 "C<errno> is not passed to the callback. To get that the callback must call "
41915 "L</guestfs_last_errno>."
41919 #: ../libguestfs-1.11.20/src/guestfs.pod:1437 ../src/guestfs.pod:1437
41921 "Note that the message string C<msg> is freed as soon as the callback "
41922 "function returns, so if you want to stash it somewhere you must make your "
41927 #: ../libguestfs-1.11.20/src/guestfs.pod:1441 ../src/guestfs.pod:1441
41928 msgid "The default handler prints messages on C<stderr>."
41932 #: ../libguestfs-1.11.20/src/guestfs.pod:1443 ../src/guestfs.pod:1443
41933 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
41937 #: ../libguestfs-1.11.20/src/guestfs.pod:1445 ../src/guestfs.pod:1445
41938 msgid "guestfs_get_error_handler"
41939 msgstr "guestfs_get_error_handler"
41942 #: ../libguestfs-1.11.20/src/guestfs.pod:1447 ../src/guestfs.pod:1447
41945 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
41946 " void **opaque_rtn);\n"
41949 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
41950 " void **opaque_rtn);\n"
41954 #: ../libguestfs-1.11.20/src/guestfs.pod:1450 ../src/guestfs.pod:1450
41955 msgid "Returns the current error handler callback."
41959 #: ../libguestfs-1.11.20/src/guestfs.pod:1452 ../src/guestfs.pod:1452
41960 msgid "guestfs_set_out_of_memory_handler"
41961 msgstr "guestfs_set_out_of_memory_handler"
41964 #: ../libguestfs-1.11.20/src/guestfs.pod:1454 ../src/guestfs.pod:1454
41967 " typedef void (*guestfs_abort_cb) (void);\n"
41968 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
41969 " guestfs_abort_cb);\n"
41972 " typedef void (*guestfs_abort_cb) (void);\n"
41973 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
41974 " guestfs_abort_cb);\n"
41978 #: ../libguestfs-1.11.20/src/guestfs.pod:1458 ../src/guestfs.pod:1458
41980 "The callback C<cb> will be called if there is an out of memory situation. "
41981 "I<Note this callback must not return>."
41985 #: ../libguestfs-1.11.20/src/guestfs.pod:1461 ../src/guestfs.pod:1461
41986 msgid "The default is to call L<abort(3)>."
41990 #: ../libguestfs-1.11.20/src/guestfs.pod:1463 ../src/guestfs.pod:1463
41992 "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations."
41996 #: ../libguestfs-1.11.20/src/guestfs.pod:1466 ../src/guestfs.pod:1466
41997 msgid "guestfs_get_out_of_memory_handler"
41998 msgstr "guestfs_get_out_of_memory_handler"
42001 #: ../libguestfs-1.11.20/src/guestfs.pod:1468 ../src/guestfs.pod:1468
42004 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
42007 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
42011 #: ../libguestfs-1.11.20/src/guestfs.pod:1470 ../src/guestfs.pod:1470
42012 msgid "This returns the current out of memory handler."
42016 #: ../libguestfs-1.11.20/src/guestfs.pod:1472 ../src/guestfs.pod:1472
42018 msgstr "ВИКЛИКИ API"
42021 #: ../libguestfs-1.11.20/src/guestfs.pod:1476 ../src/guestfs.pod:1476
42026 #: ../libguestfs-1.11.20/src/guestfs.pod:1478 ../src/guestfs.pod:1478
42031 #: ../libguestfs-1.11.20/src/guestfs.pod:1480 ../src/guestfs.pod:1480
42032 msgid "AVAILABILITY"
42033 msgstr "ДОСТУПНІСТЬ"
42036 #: ../libguestfs-1.11.20/src/guestfs.pod:1482 ../src/guestfs.pod:1482
42037 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
42038 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
42041 #: ../libguestfs-1.11.20/src/guestfs.pod:1484 ../src/guestfs.pod:1484
42043 "Using L</guestfs_available> you can test availability of the following "
42044 "groups of functions. This test queries the appliance to see if the "
42045 "appliance you are currently using supports the functionality."
42049 #: ../libguestfs-1.11.20/src/guestfs.pod:1489 ../src/guestfs.pod:1489
42050 msgid "@AVAILABILITY@"
42051 msgstr "@AVAILABILITY@"
42054 #: ../libguestfs-1.11.20/src/guestfs.pod:1491 ../src/guestfs.pod:1491
42055 msgid "GUESTFISH supported COMMAND"
42059 #: ../libguestfs-1.11.20/src/guestfs.pod:1493 ../src/guestfs.pod:1493
42061 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
42062 "prints out the available groups and whether they are supported by this build "
42063 "of libguestfs. Note however that you have to do C<run> first."
42067 #: ../libguestfs-1.11.20/src/guestfs.pod:1498 ../src/guestfs.pod:1498
42068 msgid "SINGLE CALLS AT COMPILE TIME"
42072 #: ../libguestfs-1.11.20/src/guestfs.pod:1500 ../src/guestfs.pod:1500
42074 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
42075 "function, such as:"
42079 #: ../libguestfs-1.11.20/src/guestfs.pod:1503 ../src/guestfs.pod:1503
42082 " #define LIBGUESTFS_HAVE_DD 1\n"
42085 " #define LIBGUESTFS_HAVE_DD 1\n"
42089 #: ../libguestfs-1.11.20/src/guestfs.pod:1505 ../src/guestfs.pod:1505
42090 msgid "if L</guestfs_dd> is available."
42094 #: ../libguestfs-1.11.20/src/guestfs.pod:1507 ../src/guestfs.pod:1507
42096 "Before version 1.5.8, if you needed to test whether a single libguestfs "
42097 "function is available at compile time, we recommended using build tools such "
42098 "as autoconf or cmake. For example in autotools you could use:"
42102 #: ../libguestfs-1.11.20/src/guestfs.pod:1512 ../src/guestfs.pod:1512
42105 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
42106 " AC_CHECK_FUNCS([guestfs_dd])\n"
42109 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
42110 " AC_CHECK_FUNCS([guestfs_dd])\n"
42114 #: ../libguestfs-1.11.20/src/guestfs.pod:1515 ../src/guestfs.pod:1515
42116 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
42121 #: ../libguestfs-1.11.20/src/guestfs.pod:1518 ../src/guestfs.pod:1518
42122 msgid "SINGLE CALLS AT RUN TIME"
42126 #: ../libguestfs-1.11.20/src/guestfs.pod:1520 ../src/guestfs.pod:1520
42128 "Testing at compile time doesn't guarantee that a function really exists in "
42129 "the library. The reason is that you might be dynamically linked against a "
42130 "previous I<libguestfs.so> (dynamic library) which doesn't have the call. "
42131 "This situation unfortunately results in a segmentation fault, which is a "
42132 "shortcoming of the C dynamic linking system itself."
42136 #: ../libguestfs-1.11.20/src/guestfs.pod:1527 ../src/guestfs.pod:1527
42138 "You can use L<dlopen(3)> to test if a function is available at run time, as "
42139 "in this example program (note that you still need the compile time check as "
42144 #: ../libguestfs-1.11.20/src/guestfs.pod:1531 ../src/guestfs.pod:1531
42147 " #include <stdio.h>\n"
42148 " #include <stdlib.h>\n"
42149 " #include <unistd.h>\n"
42150 " #include <dlfcn.h>\n"
42151 " #include <guestfs.h>\n"
42154 " #include <stdio.h>\n"
42155 " #include <stdlib.h>\n"
42156 " #include <unistd.h>\n"
42157 " #include <dlfcn.h>\n"
42158 " #include <guestfs.h>\n"
42162 #: ../libguestfs-1.11.20/src/guestfs.pod:1537 ../src/guestfs.pod:1537
42167 " #ifdef LIBGUESTFS_HAVE_DD\n"
42169 " int has_function;\n"
42174 " #ifdef LIBGUESTFS_HAVE_DD\n"
42176 " int has_function;\n"
42180 #: ../libguestfs-1.11.20/src/guestfs.pod:1543 ../src/guestfs.pod:1543
42183 " /* Test if the function guestfs_dd is really available. */\n"
42184 " dl = dlopen (NULL, RTLD_LAZY);\n"
42186 " fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
42187 " exit (EXIT_FAILURE);\n"
42189 " has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
42195 #: ../libguestfs-1.11.20/src/guestfs.pod:1552 ../src/guestfs.pod:1552
42198 " if (!has_function)\n"
42199 " printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
42201 " printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
42202 " /* Now it's safe to call\n"
42203 " guestfs_dd (g, \"foo\", \"bar\");\n"
42207 " printf (\"guestfs_dd function was not found at compile time\\n\");\n"
42214 #: ../libguestfs-1.11.20/src/guestfs.pod:1565 ../src/guestfs.pod:1565
42216 "You may think the above is an awful lot of hassle, and it is. There are "
42217 "other ways outside of the C linking system to ensure that this kind of "
42218 "incompatibility never arises, such as using package versioning:"
42222 #: ../libguestfs-1.11.20/src/guestfs.pod:1570 ../src/guestfs.pod:1570
42225 " Requires: libguestfs >= 1.0.80\n"
42230 #: ../libguestfs-1.11.20/src/guestfs.pod:1572 ../src/guestfs.pod:1572
42231 msgid "CALLS WITH OPTIONAL ARGUMENTS"
42235 #: ../libguestfs-1.11.20/src/guestfs.pod:1574 ../src/guestfs.pod:1574
42237 "A recent feature of the API is the introduction of calls which take optional "
42238 "arguments. In C these are declared 3 ways. The main way is as a call which "
42239 "takes variable arguments (ie. C<...>), as in this example:"
42243 #: ../libguestfs-1.11.20/src/guestfs.pod:1579 ../src/guestfs.pod:1579
42246 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
42249 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
42253 #: ../libguestfs-1.11.20/src/guestfs.pod:1581 ../src/guestfs.pod:1581
42255 "Call this with a list of optional arguments, terminated by C<-1>. So to "
42256 "call with no optional arguments specified:"
42260 #: ../libguestfs-1.11.20/src/guestfs.pod:1584 ../src/guestfs.pod:1584
42263 " guestfs_add_drive_opts (g, filename, -1);\n"
42266 " guestfs_add_drive_opts (g, filename, -1);\n"
42270 #: ../libguestfs-1.11.20/src/guestfs.pod:1586 ../src/guestfs.pod:1586
42271 msgid "With a single optional argument:"
42275 #: ../libguestfs-1.11.20/src/guestfs.pod:1588 ../src/guestfs.pod:1588
42278 " guestfs_add_drive_opts (g, filename,\n"
42279 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42283 " guestfs_add_drive_opts (g, filename,\n"
42284 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42289 #: ../libguestfs-1.11.20/src/guestfs.pod:1592 ../src/guestfs.pod:1592
42294 #: ../libguestfs-1.11.20/src/guestfs.pod:1594 ../src/guestfs.pod:1594
42297 " guestfs_add_drive_opts (g, filename,\n"
42298 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42299 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
42303 " guestfs_add_drive_opts (g, filename,\n"
42304 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42305 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
42310 #: ../libguestfs-1.11.20/src/guestfs.pod:1599 ../src/guestfs.pod:1599
42312 "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will "
42317 #: ../libguestfs-1.11.20/src/guestfs.pod:1602 ../src/guestfs.pod:1602
42318 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
42322 #: ../libguestfs-1.11.20/src/guestfs.pod:1604 ../src/guestfs.pod:1604
42324 "The second variant has the same name with the suffix C<_va>, which works the "
42325 "same way but takes a C<va_list>. See the C manual for details. For the "
42326 "example function, this is declared:"
42330 #: ../libguestfs-1.11.20/src/guestfs.pod:1608 ../src/guestfs.pod:1608
42333 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
42334 " va_list args);\n"
42337 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
42338 " va_list args);\n"
42342 #: ../libguestfs-1.11.20/src/guestfs.pod:1611 ../src/guestfs.pod:1611
42343 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
42347 #: ../libguestfs-1.11.20/src/guestfs.pod:1613 ../src/guestfs.pod:1613
42349 "The third variant is useful where you need to construct these calls. You "
42350 "pass in a structure where you fill in the optional fields. The structure "
42351 "has a bitmask as the first element which you must set to indicate which "
42352 "fields you have filled in. For our example function the structure and call "
42357 #: ../libguestfs-1.11.20/src/guestfs.pod:1619 ../src/guestfs.pod:1619
42360 " struct guestfs_add_drive_opts_argv {\n"
42361 " uint64_t bitmask;\n"
42363 " const char *format;\n"
42366 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
42367 " const struct guestfs_add_drive_opts_argv *optargs);\n"
42370 " struct guestfs_add_drive_opts_argv {\n"
42371 " uint64_t bitmask;\n"
42373 " const char *format;\n"
42376 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
42377 " const struct guestfs_add_drive_opts_argv *optargs);\n"
42381 #: ../libguestfs-1.11.20/src/guestfs.pod:1628 ../src/guestfs.pod:1628
42382 msgid "You could call it like this:"
42386 #: ../libguestfs-1.11.20/src/guestfs.pod:1630 ../src/guestfs.pod:1630
42389 " struct guestfs_add_drive_opts_argv optargs = {\n"
42390 " .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
42391 " GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
42392 " .readonly = 1,\n"
42393 " .format = \"qcow2\"\n"
42397 " struct guestfs_add_drive_opts_argv optargs = {\n"
42398 " .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
42399 " GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
42400 " .readonly = 1,\n"
42401 " .format = \"qcow2\"\n"
42406 #: ../libguestfs-1.11.20/src/guestfs.pod:1637 ../src/guestfs.pod:1637
42409 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
42412 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
42416 #: ../libguestfs-1.11.20/src/guestfs.pod:1645 ../src/guestfs.pod:1645
42417 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
42421 #: ../libguestfs-1.11.20/src/guestfs.pod:1650 ../src/guestfs.pod:1650
42422 msgid "You do not need to fill in all fields of the structure."
42426 #: ../libguestfs-1.11.20/src/guestfs.pod:1654 ../src/guestfs.pod:1654
42428 "There must be a one-to-one correspondence between fields of the structure "
42429 "that are filled in, and bits set in the bitmask."
42433 #: ../libguestfs-1.11.20/src/guestfs.pod:1659 ../src/guestfs.pod:1659
42434 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
42438 #: ../libguestfs-1.11.20/src/guestfs.pod:1661 ../src/guestfs.pod:1661
42440 "In other languages, optional arguments are expressed in the way that is "
42441 "natural for that language. We refer you to the language-specific "
42442 "documentation for more details on that."
42446 #: ../libguestfs-1.11.20/src/guestfs.pod:1665 ../src/guestfs.pod:1665
42447 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
42451 #: ../libguestfs-1.11.20/src/guestfs.pod:1667 ../src/guestfs.pod:1667
42452 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
42456 #: ../libguestfs-1.11.20/src/guestfs.pod:1669 ../src/guestfs.pod:1669
42458 "B<Note:> This section documents the generic event mechanism introduced in "
42459 "libguestfs 1.10, which you should use in new code if possible. The old "
42460 "functions C<guestfs_set_log_message_callback>, "
42461 "C<guestfs_set_subprocess_quit_callback>, "
42462 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
42463 "C<guestfs_set_progress_callback> are no longer documented in this manual "
42464 "page. Because of the ABI guarantee, the old functions continue to work."
42468 #: ../libguestfs-1.11.20/src/guestfs.pod:1678 ../src/guestfs.pod:1678
42470 "Handles generate events when certain things happen, such as log messages "
42471 "being generated, progress messages during long-running operations, or the "
42472 "handle being closed. The API calls described below let you register a "
42473 "callback to be called when events happen. You can register multiple "
42474 "callbacks (for the same, different or overlapping sets of events), and "
42475 "individually remove callbacks. If callbacks are not removed, then they "
42476 "remain in force until the handle is closed."
42480 #: ../libguestfs-1.11.20/src/guestfs.pod:1686 ../src/guestfs.pod:1686
42482 "In the current implementation, events are only generated synchronously: that "
42483 "means that events (and hence callbacks) can only happen while you are in the "
42484 "middle of making another libguestfs call. The callback is called in the "
42489 #: ../libguestfs-1.11.20/src/guestfs.pod:1691 ../src/guestfs.pod:1691
42491 "Events may contain a payload, usually nothing (void), an array of 64 bit "
42492 "unsigned integers, or a message buffer. Payloads are discussed later on."
42496 #: ../libguestfs-1.11.20/src/guestfs.pod:1695 ../src/guestfs.pod:1695
42497 msgid "CLASSES OF EVENTS"
42501 #: ../libguestfs-1.11.20/src/guestfs.pod:1699 ../src/guestfs.pod:1699
42502 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
42506 #: ../libguestfs-1.11.20/src/guestfs.pod:1702 ../src/guestfs.pod:1702
42508 "The callback function will be called while the handle is being closed "
42509 "(synchronously from L</guestfs_close>)."
42513 #: ../libguestfs-1.11.20/src/guestfs.pod:1705 ../src/guestfs.pod:1705
42515 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
42516 "handles that are open when the program exits. This means that this callback "
42517 "might be called indirectly from L<exit(3)>, which can cause unexpected "
42518 "problems in higher-level languages (eg. if your HLL interpreter has already "
42519 "been cleaned up by the time this is called, and if your callback then jumps "
42520 "into some HLL function)."
42524 #: ../libguestfs-1.11.20/src/guestfs.pod:1712 ../src/guestfs.pod:1712
42526 "If no callback is registered: the handle is closed without any callback "
42531 #: ../libguestfs-1.11.20/src/guestfs.pod:1715 ../src/guestfs.pod:1715
42532 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
42536 #: ../libguestfs-1.11.20/src/guestfs.pod:1718 ../src/guestfs.pod:1718
42538 "The callback function will be called when the child process quits, either "
42539 "asynchronously or if killed by L</guestfs_kill_subprocess>. (This "
42540 "corresponds to a transition from any state to the CONFIG state)."
42544 #: ../libguestfs-1.11.20/src/guestfs.pod:1722
42545 #: ../libguestfs-1.11.20/src/guestfs.pod:1731 ../src/guestfs.pod:1722
42546 #: ../src/guestfs.pod:1731
42547 msgid "If no callback is registered: the event is ignored."
42551 #: ../libguestfs-1.11.20/src/guestfs.pod:1724 ../src/guestfs.pod:1724
42552 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
42556 #: ../libguestfs-1.11.20/src/guestfs.pod:1727 ../src/guestfs.pod:1727
42558 "The callback function will be called when the child process becomes ready "
42559 "first time after it has been launched. (This corresponds to a transition "
42560 "from LAUNCHING to the READY state)."
42564 #: ../libguestfs-1.11.20/src/guestfs.pod:1733 ../src/guestfs.pod:1733
42565 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
42569 #: ../libguestfs-1.11.20/src/guestfs.pod:1736 ../src/guestfs.pod:1736
42571 "Some long-running operations can generate progress messages. If this "
42572 "callback is registered, then it will be called each time a progress message "
42573 "is generated (usually two seconds after the operation started, and three "
42574 "times per second thereafter until it completes, although the frequency may "
42575 "change in future versions)."
42579 #: ../libguestfs-1.11.20/src/guestfs.pod:1742 ../src/guestfs.pod:1742
42581 "The callback receives in the payload four unsigned 64 bit numbers which are "
42582 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
42586 #: ../libguestfs-1.11.20/src/guestfs.pod:1745 ../src/guestfs.pod:1745
42588 "The units of C<total> are not defined, although for some operations C<total> "
42589 "may relate in some way to the amount of data to be transferred (eg. in bytes "
42590 "or megabytes), and C<position> may be the portion which has been transferred."
42594 #: ../libguestfs-1.11.20/src/guestfs.pod:1750 ../src/guestfs.pod:1750
42595 msgid "The only defined and stable parts of the API are:"
42599 #: ../libguestfs-1.11.20/src/guestfs.pod:1756 ../src/guestfs.pod:1756
42601 "The callback can display to the user some type of progress bar or indicator "
42602 "which shows the ratio of C<position>:C<total>."
42606 #: ../libguestfs-1.11.20/src/guestfs.pod:1761 ../src/guestfs.pod:1761
42607 msgid "0 E<lt>= C<position> E<lt>= C<total>"
42611 #: ../libguestfs-1.11.20/src/guestfs.pod:1765 ../src/guestfs.pod:1765
42613 "If any progress notification is sent during a call, then a final progress "
42614 "notification is always sent when C<position> = C<total> (I<unless> the call "
42615 "fails with an error)."
42619 #: ../libguestfs-1.11.20/src/guestfs.pod:1769 ../src/guestfs.pod:1769
42621 "This is to simplify caller code, so callers can easily set the progress "
42622 "indicator to \"100%\" at the end of the operation, without requiring special "
42623 "code to detect this case."
42627 #: ../libguestfs-1.11.20/src/guestfs.pod:1775 ../src/guestfs.pod:1775
42629 "For some calls we are unable to estimate the progress of the call, but we "
42630 "can still generate progress messages to indicate activity. This is known as "
42631 "\"pulse mode\", and is directly supported by certain progress bar "
42632 "implementations (eg. GtkProgressBar)."
42636 #: ../libguestfs-1.11.20/src/guestfs.pod:1780 ../src/guestfs.pod:1780
42638 "For these calls, zero or more progress messages are generated with "
42639 "C<position = 0> and C<total = 1>, followed by a final message with "
42640 "C<position = total = 1>."
42644 #: ../libguestfs-1.11.20/src/guestfs.pod:1784 ../src/guestfs.pod:1784
42646 "As noted above, if the call fails with an error then the final message may "
42647 "not be generated."
42651 #: ../libguestfs-1.11.20/src/guestfs.pod:1789 ../src/guestfs.pod:1789
42653 "The callback also receives the procedure number (C<proc_nr>) and serial "
42654 "number (C<serial>) of the call. These are only useful for debugging "
42655 "protocol issues, and the callback can normally ignore them. The callback "
42656 "may want to print these numbers in error messages or debugging messages."
42660 #: ../libguestfs-1.11.20/src/guestfs.pod:1795 ../src/guestfs.pod:1795
42661 msgid "If no callback is registered: progress messages are discarded."
42665 #: ../libguestfs-1.11.20/src/guestfs.pod:1797 ../src/guestfs.pod:1797
42666 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
42670 #: ../libguestfs-1.11.20/src/guestfs.pod:1800 ../src/guestfs.pod:1800
42672 "The callback function is called whenever a log message is generated by qemu, "
42673 "the appliance kernel, guestfsd (daemon), or utility programs."
42677 #: ../libguestfs-1.11.20/src/guestfs.pod:1803 ../src/guestfs.pod:1803
42679 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
42680 "guestfs_launch>) then additional debug messages are generated."
42684 #: ../libguestfs-1.11.20/src/guestfs.pod:1806
42685 #: ../libguestfs-1.11.20/src/guestfs.pod:1820 ../src/guestfs.pod:1806
42686 #: ../src/guestfs.pod:1820
42688 "If no callback is registered: the messages are discarded unless the verbose "
42689 "flag is set in which case they are sent to stderr. You can override the "
42690 "printing of verbose messages to stderr by setting up a callback."
42694 #: ../libguestfs-1.11.20/src/guestfs.pod:1811 ../src/guestfs.pod:1811
42695 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
42699 #: ../libguestfs-1.11.20/src/guestfs.pod:1814 ../src/guestfs.pod:1814
42701 "The callback function is called whenever a log message is generated by the "
42702 "library part of libguestfs."
42706 #: ../libguestfs-1.11.20/src/guestfs.pod:1817 ../src/guestfs.pod:1817
42708 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
42709 "messages are generated."
42713 #: ../libguestfs-1.11.20/src/guestfs.pod:1825 ../src/guestfs.pod:1825
42714 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
42718 #: ../libguestfs-1.11.20/src/guestfs.pod:1828 ../src/guestfs.pod:1828
42720 "The callback function is called whenever a trace message is generated. This "
42721 "only applies if the trace flag (L</guestfs_set_trace>) is set."
42725 #: ../libguestfs-1.11.20/src/guestfs.pod:1831 ../src/guestfs.pod:1831
42727 "If no callback is registered: the messages are sent to stderr. You can "
42728 "override the printing of trace messages to stderr by setting up a callback."
42732 #: ../libguestfs-1.11.20/src/guestfs.pod:1837 ../src/guestfs.pod:1837
42733 msgid "guestfs_set_event_callback"
42737 #: ../libguestfs-1.11.20/src/guestfs.pod:1839 ../src/guestfs.pod:1839
42740 " int guestfs_set_event_callback (guestfs_h *g,\n"
42741 " guestfs_event_callback cb,\n"
42742 " uint64_t event_bitmask,\n"
42744 " void *opaque);\n"
42749 #: ../libguestfs-1.11.20/src/guestfs.pod:1845 ../src/guestfs.pod:1845
42751 "This function registers a callback (C<cb>) for all event classes in the "
42752 "C<event_bitmask>."
42756 #: ../libguestfs-1.11.20/src/guestfs.pod:1848 ../src/guestfs.pod:1848
42758 "For example, to register for all log message events, you could call this "
42759 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>. "
42760 "To register a single callback for all possible classes of events, use "
42761 "C<GUESTFS_EVENT_ALL>."
42765 #: ../libguestfs-1.11.20/src/guestfs.pod:1854 ../src/guestfs.pod:1854
42766 msgid "C<flags> should always be passed as 0."
42770 #: ../libguestfs-1.11.20/src/guestfs.pod:1856 ../src/guestfs.pod:1856
42772 "C<opaque> is an opaque pointer which is passed to the callback. You can use "
42773 "it for any purpose."
42777 #: ../libguestfs-1.11.20/src/guestfs.pod:1859 ../src/guestfs.pod:1859
42779 "The return value is the event handle (an integer) which you can use to "
42780 "delete the callback (see below)."
42784 #: ../libguestfs-1.11.20/src/guestfs.pod:1862 ../src/guestfs.pod:1862
42786 "If there is an error, this function returns C<-1>, and sets the error in the "
42787 "handle in the usual way (see L</guestfs_last_error> etc.)"
42791 #: ../libguestfs-1.11.20/src/guestfs.pod:1865 ../src/guestfs.pod:1865
42793 "Callbacks remain in effect until they are deleted, or until the handle is "
42798 #: ../libguestfs-1.11.20/src/guestfs.pod:1868 ../src/guestfs.pod:1868
42800 "In the case where multiple callbacks are registered for a particular event "
42801 "class, all of the callbacks are called. The order in which multiple "
42802 "callbacks are called is not defined."
42806 #: ../libguestfs-1.11.20/src/guestfs.pod:1872 ../src/guestfs.pod:1872
42807 msgid "guestfs_delete_event_callback"
42811 #: ../libguestfs-1.11.20/src/guestfs.pod:1874 ../src/guestfs.pod:1874
42814 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
42819 #: ../libguestfs-1.11.20/src/guestfs.pod:1876 ../src/guestfs.pod:1876
42821 "Delete a callback that was previously registered. C<event_handle> should be "
42822 "the integer that was returned by a previous call to "
42823 "C<guestfs_set_event_callback> on the same handle."
42827 #: ../libguestfs-1.11.20/src/guestfs.pod:1880 ../src/guestfs.pod:1880
42828 msgid "guestfs_event_callback"
42832 #: ../libguestfs-1.11.20/src/guestfs.pod:1882 ../src/guestfs.pod:1882
42835 " typedef void (*guestfs_event_callback) (\n"
42838 " uint64_t event,\n"
42839 " int event_handle,\n"
42841 " const char *buf, size_t buf_len,\n"
42842 " const uint64_t *array, size_t array_len);\n"
42847 #: ../libguestfs-1.11.20/src/guestfs.pod:1891 ../src/guestfs.pod:1891
42849 "This is the type of the event callback function that you have to provide."
42853 #: ../libguestfs-1.11.20/src/guestfs.pod:1894 ../src/guestfs.pod:1894
42855 "The basic parameters are: the handle (C<g>), the opaque user pointer "
42856 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
42857 "handle, and C<flags> which in the current API you should ignore."
42861 #: ../libguestfs-1.11.20/src/guestfs.pod:1898 ../src/guestfs.pod:1898
42863 "The remaining parameters contain the event payload (if any). Each event may "
42864 "contain a payload, which usually relates to the event class, but for future "
42865 "proofing your code should be written to handle any payload for any event "
42870 #: ../libguestfs-1.11.20/src/guestfs.pod:1903 ../src/guestfs.pod:1903
42872 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
42873 "there is no message buffer). Note that this message buffer can contain "
42874 "arbitrary 8 bit data, including NUL bytes."
42878 #: ../libguestfs-1.11.20/src/guestfs.pod:1907 ../src/guestfs.pod:1907
42880 "C<array> and C<array_len> is an array of 64 bit unsigned integers. At the "
42881 "moment this is only used for progress messages."
42885 #: ../libguestfs-1.11.20/src/guestfs.pod:1910 ../src/guestfs.pod:1910
42886 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
42890 #: ../libguestfs-1.11.20/src/guestfs.pod:1912 ../src/guestfs.pod:1912
42892 "One motivation for the generic event API was to allow GUI programs to "
42893 "capture debug and other messages. In libguestfs E<le> 1.8 these were sent "
42894 "unconditionally to C<stderr>."
42898 #: ../libguestfs-1.11.20/src/guestfs.pod:1916 ../src/guestfs.pod:1916
42900 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
42901 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error "
42902 "messages are not events; you must capture error messages separately)."
42906 #: ../libguestfs-1.11.20/src/guestfs.pod:1921 ../src/guestfs.pod:1921
42908 "Programs have to set up a callback to capture the classes of events of "
42913 #: ../libguestfs-1.11.20/src/guestfs.pod:1924 ../src/guestfs.pod:1924
42917 " guestfs_set_event_callback\n"
42918 " (g, message_callback,\n"
42919 " GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
42920 " GUESTFS_EVENT_TRACE,\n"
42921 " 0, NULL) == -1)\n"
42922 " if (eh == -1) {\n"
42923 " // handle error in the usual way\n"
42929 #: ../libguestfs-1.11.20/src/guestfs.pod:1934 ../src/guestfs.pod:1934
42931 "The callback can then direct messages to the appropriate place. In this "
42932 "example, messages are directed to syslog:"
42936 #: ../libguestfs-1.11.20/src/guestfs.pod:1937 ../src/guestfs.pod:1937
42940 " message_callback (\n"
42943 " uint64_t event,\n"
42944 " int event_handle,\n"
42946 " const char *buf, size_t buf_len,\n"
42947 " const uint64_t *array, size_t array_len)\n"
42949 " const int priority = LOG_USER|LOG_INFO;\n"
42950 " if (buf_len > 0)\n"
42951 " syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
42957 #: ../libguestfs-1.11.20/src/guestfs.pod:1952 ../src/guestfs.pod:1952
42958 msgid "CANCELLING LONG TRANSFERS"
42962 #: ../libguestfs-1.11.20/src/guestfs.pod:1954 ../src/guestfs.pod:1954
42964 "Some operations can be cancelled by the caller while they are in progress. "
42965 "Currently only operations that involve uploading or downloading data can be "
42966 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
42967 "parameters in the generator)."
42971 #: ../libguestfs-1.11.20/src/guestfs.pod:1959 ../src/guestfs.pod:1959
42972 msgid "guestfs_user_cancel"
42976 #: ../libguestfs-1.11.20/src/guestfs.pod:1961 ../src/guestfs.pod:1961
42979 " void guestfs_user_cancel (guestfs_h *g);\n"
42984 #: ../libguestfs-1.11.20/src/guestfs.pod:1963 ../src/guestfs.pod:1963
42986 "C<guestfs_user_cancel> cancels the current upload or download operation."
42990 #: ../libguestfs-1.11.20/src/guestfs.pod:1966 ../src/guestfs.pod:1966
42992 "Unlike most other libguestfs calls, this function is signal safe and thread "
42993 "safe. You can call it from a signal handler or from another thread, without "
42994 "needing to do any locking."
42998 #: ../libguestfs-1.11.20/src/guestfs.pod:1970 ../src/guestfs.pod:1970
43000 "The transfer that was in progress (if there is one) will stop shortly "
43001 "afterwards, and will return an error. The errno (see L</"
43002 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
43003 "out if the operation was cancelled or failed because of another error."
43007 #: ../libguestfs-1.11.20/src/guestfs.pod:1976 ../src/guestfs.pod:1976
43009 "No cleanup is performed: for example, if a file was being uploaded then "
43010 "after cancellation there may be a partially uploaded file. It is the "
43011 "caller's responsibility to clean up if necessary."
43015 #: ../libguestfs-1.11.20/src/guestfs.pod:1980 ../src/guestfs.pod:1980
43016 msgid "There are two common places that you might call C<guestfs_user_cancel>."
43020 #: ../libguestfs-1.11.20/src/guestfs.pod:1982 ../src/guestfs.pod:1982
43022 "In an interactive text-based program, you might call it from a C<SIGINT> "
43023 "signal handler so that pressing C<^C> cancels the current operation. (You "
43024 "also need to call L</guestfs_set_pgroup> so that child processes don't "
43025 "receive the C<^C> signal)."
43029 #: ../libguestfs-1.11.20/src/guestfs.pod:1987 ../src/guestfs.pod:1987
43031 "In a graphical program, when the main thread is displaying a progress bar "
43032 "with a cancel button, wire up the cancel button to call this function."
43036 #: ../libguestfs-1.11.20/src/guestfs.pod:1991 ../src/guestfs.pod:1991
43037 msgid "PRIVATE DATA AREA"
43041 #: ../libguestfs-1.11.20/src/guestfs.pod:1993 ../src/guestfs.pod:1993
43043 "You can attach named pieces of private data to the libguestfs handle, fetch "
43044 "them by name, and walk over them, for the lifetime of the handle. This is "
43045 "called the private data area and is only available from the C API."
43049 #: ../libguestfs-1.11.20/src/guestfs.pod:1998 ../src/guestfs.pod:1998
43050 msgid "To attach a named piece of data, use the following call:"
43054 #: ../libguestfs-1.11.20/src/guestfs.pod:2000 ../src/guestfs.pod:2000
43057 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
43060 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
43064 #: ../libguestfs-1.11.20/src/guestfs.pod:2002 ../src/guestfs.pod:2002
43066 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
43067 "pointer (which can be C<NULL>). Any previous item with the same key is "
43072 #: ../libguestfs-1.11.20/src/guestfs.pod:2006 ../src/guestfs.pod:2006
43074 "You can use any C<key> you want, but your key should I<not> start with an "
43075 "underscore character. Keys beginning with an underscore character are "
43076 "reserved for internal libguestfs purposes (eg. for implementing language "
43077 "bindings). It is recommended that you prefix the key with some unique "
43078 "string to avoid collisions with other users."
43082 #: ../libguestfs-1.11.20/src/guestfs.pod:2012 ../src/guestfs.pod:2012
43083 msgid "To retrieve the pointer, use:"
43087 #: ../libguestfs-1.11.20/src/guestfs.pod:2014 ../src/guestfs.pod:2014
43090 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
43093 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
43097 #: ../libguestfs-1.11.20/src/guestfs.pod:2016 ../src/guestfs.pod:2016
43099 "This function returns C<NULL> if either no data is found associated with "
43100 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
43105 #: ../libguestfs-1.11.20/src/guestfs.pod:2020 ../src/guestfs.pod:2020
43107 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
43108 "way. As far as libguestfs is concerned, it need not be a valid pointer at "
43109 "all. In particular, libguestfs does I<not> try to free the data when the "
43110 "handle is closed. If the data must be freed, then the caller must either "
43111 "free it before calling L</guestfs_close> or must set up a close callback to "
43112 "do it (see L</GUESTFS_EVENT_CLOSE>)."
43116 #: ../libguestfs-1.11.20/src/guestfs.pod:2027 ../src/guestfs.pod:2027
43117 msgid "To walk over all entries, use these two functions:"
43121 #: ../libguestfs-1.11.20/src/guestfs.pod:2029 ../src/guestfs.pod:2029
43124 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
43129 #: ../libguestfs-1.11.20/src/guestfs.pod:2031 ../src/guestfs.pod:2031
43132 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
43137 #: ../libguestfs-1.11.20/src/guestfs.pod:2033 ../src/guestfs.pod:2033
43139 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
43140 "not have any particular meaning -- keys are not returned in any defined "
43141 "order). A pointer to the key is returned in C<*key_rtn> and the "
43142 "corresponding data pointer is returned from the function. C<NULL> is "
43143 "returned if there are no keys stored in the handle."
43147 #: ../libguestfs-1.11.20/src/guestfs.pod:2039 ../src/guestfs.pod:2039
43149 "C<guestfs_next_private> returns the next key, pointer pair. The return "
43150 "value of this function is also C<NULL> is there are no further entries to "
43155 #: ../libguestfs-1.11.20/src/guestfs.pod:2043 ../src/guestfs.pod:2043
43156 msgid "Notes about walking over entries:"
43160 #: ../libguestfs-1.11.20/src/guestfs.pod:2049 ../src/guestfs.pod:2049
43162 "You must not call C<guestfs_set_private> while walking over the entries."
43166 #: ../libguestfs-1.11.20/src/guestfs.pod:2054 ../src/guestfs.pod:2054
43168 "The handle maintains an internal iterator which is reset when you call "
43169 "C<guestfs_first_private>. This internal iterator is invalidated when you "
43170 "call C<guestfs_set_private>."
43174 #: ../libguestfs-1.11.20/src/guestfs.pod:2060 ../src/guestfs.pod:2060
43175 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
43179 #: ../libguestfs-1.11.20/src/guestfs.pod:2062 ../src/guestfs.pod:2062
43182 " guestfs_set_private (g, key, NULL);\n"
43187 #: ../libguestfs-1.11.20/src/guestfs.pod:2064 ../src/guestfs.pod:2064
43188 msgid "then that C<key> is not returned when walking."
43192 #: ../libguestfs-1.11.20/src/guestfs.pod:2068 ../src/guestfs.pod:2068
43194 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
43195 "C<guestfs_next_private> or C<guestfs_set_private>."
43199 #: ../libguestfs-1.11.20/src/guestfs.pod:2074 ../src/guestfs.pod:2074
43201 "The following example code shows how to print all keys and data pointers "
43202 "that are associated with the handle C<g>:"
43206 #: ../libguestfs-1.11.20/src/guestfs.pod:2077 ../src/guestfs.pod:2077
43209 " const char *key;\n"
43210 " void *data = guestfs_first_private (g, &key);\n"
43211 " while (data != NULL)\n"
43213 " printf (\"key = %s, data = %p\\n\", key, data);\n"
43214 " data = guestfs_next_private (g, &key);\n"
43220 #: ../libguestfs-1.11.20/src/guestfs.pod:2085 ../src/guestfs.pod:2085
43222 "More commonly you are only interested in keys that begin with an application-"
43223 "specific prefix C<foo_>. Modify the loop like so:"
43227 #: ../libguestfs-1.11.20/src/guestfs.pod:2088 ../src/guestfs.pod:2088
43230 " const char *key;\n"
43231 " void *data = guestfs_first_private (g, &key);\n"
43232 " while (data != NULL)\n"
43234 " if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
43235 " printf (\"key = %s, data = %p\\n\", key, data);\n"
43236 " data = guestfs_next_private (g, &key);\n"
43242 #: ../libguestfs-1.11.20/src/guestfs.pod:2097 ../src/guestfs.pod:2097
43244 "If you need to modify keys while walking, then you have to jump back to the "
43245 "beginning of the loop. For example, to delete all keys prefixed with "
43250 #: ../libguestfs-1.11.20/src/guestfs.pod:2101 ../src/guestfs.pod:2101
43253 " const char *key;\n"
43256 " data = guestfs_first_private (g, &key);\n"
43257 " while (data != NULL)\n"
43259 " if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
43261 " guestfs_set_private (g, key, NULL);\n"
43262 " /* note that 'key' pointer is now invalid, and so is\n"
43263 " the internal iterator */\n"
43266 " data = guestfs_next_private (g, &key);\n"
43272 #: ../libguestfs-1.11.20/src/guestfs.pod:2117 ../src/guestfs.pod:2117
43274 "Note that the above loop is guaranteed to terminate because the keys are "
43275 "being deleted, but other manipulations of keys within the loop might not "
43276 "terminate unless you also maintain an indication of which keys have been "
43281 #: ../libguestfs-1.11.20/src/guestfs.pod:2122
43282 #: ../libguestfs-1.11.20/src/guestfs.pod:2127 ../src/guestfs.pod:2122
43283 #: ../src/guestfs.pod:2127
43288 #: ../libguestfs-1.11.20/src/guestfs.pod:2124 ../src/guestfs.pod:2124
43290 "<!-- old anchor for the next section --> <a name="
43291 "\"state_machine_and_low_level_event_api\"/>"
43293 "<!-- old anchor for the next section --> <a name="
43294 "\"state_machine_and_low_level_event_api\"/>"
43297 #: ../libguestfs-1.11.20/src/guestfs.pod:2129 ../src/guestfs.pod:2129
43298 msgid "ARCHITECTURE"
43299 msgstr "АРХІТЕКТУРА"
43302 #: ../libguestfs-1.11.20/src/guestfs.pod:2131 ../src/guestfs.pod:2131
43304 "Internally, libguestfs is implemented by running an appliance (a special "
43305 "type of small virtual machine) using L<qemu(1)>. Qemu runs as a child "
43306 "process of the main program."
43310 #: ../libguestfs-1.11.20/src/guestfs.pod:2135 ../src/guestfs.pod:2135
43313 " ___________________\n"
43315 " | main program |\n"
43317 " | | child process / appliance\n"
43318 " | | __________________________\n"
43320 " +-------------------+ RPC | +-----------------+ |\n"
43321 " | libguestfs <--------------------> guestfsd | |\n"
43322 " | | | +-----------------+ |\n"
43323 " \\___________________/ | | Linux kernel | |\n"
43324 " | +--^--------------+ |\n"
43325 " \\_________|________________/\n"
43327 " _______v______\n"
43330 " | disk image |\n"
43331 " \\______________/\n"
43336 #: ../libguestfs-1.11.20/src/guestfs.pod:2155 ../src/guestfs.pod:2155
43338 "The library, linked to the main program, creates the child process and hence "
43339 "the appliance in the L</guestfs_launch> function."
43343 #: ../libguestfs-1.11.20/src/guestfs.pod:2158 ../src/guestfs.pod:2158
43345 "Inside the appliance is a Linux kernel and a complete stack of userspace "
43346 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
43347 "L</guestfsd>. The library talks to L</guestfsd> using remote procedure "
43348 "calls (RPC). There is a mostly one-to-one correspondence between libguestfs "
43349 "API calls and RPC calls to the daemon. Lastly the disk image(s) are "
43350 "attached to the qemu process which translates device access by the "
43351 "appliance's Linux kernel into accesses to the image."
43355 #: ../libguestfs-1.11.20/src/guestfs.pod:2167 ../src/guestfs.pod:2167
43357 "A common misunderstanding is that the appliance \"is\" the virtual machine. "
43358 "Although the disk image you are attached to might also be used by some "
43359 "virtual machine, libguestfs doesn't know or care about this. (But you will "
43360 "care if both libguestfs's qemu process and your virtual machine are trying "
43361 "to update the disk image at the same time, since these usually results in "
43362 "massive disk corruption)."
43366 #: ../libguestfs-1.11.20/src/guestfs.pod:2174 ../src/guestfs.pod:2174
43367 msgid "STATE MACHINE"
43368 msgstr "СКІНЧЕННИЙ АВТОМАТ"
43371 #: ../libguestfs-1.11.20/src/guestfs.pod:2176 ../src/guestfs.pod:2176
43372 msgid "libguestfs uses a state machine to model the child process:"
43376 #: ../libguestfs-1.11.20/src/guestfs.pod:2178 ../src/guestfs.pod:2178
43380 " guestfs_create\n"
43388 " / | \\ \\ guestfs_launch\n"
43389 " / | _\\__V______\n"
43391 " / | | LAUNCHING |\n"
43392 " / | \\___________/\n"
43394 " / | guestfs_launch\n"
43396 " ______ / __|____V\n"
43397 " / \\ ------> / \\\n"
43398 " | BUSY | | READY |\n"
43399 " \\______/ <------ \\________/\n"
43404 #: ../libguestfs-1.11.20/src/guestfs.pod:2200 ../src/guestfs.pod:2200
43406 "The normal transitions are (1) CONFIG (when the handle is created, but there "
43407 "is no child process), (2) LAUNCHING (when the child process is booting up), "
43408 "(3) alternating between READY and BUSY as commands are issued to, and "
43409 "carried out by, the child process."
43413 #: ../libguestfs-1.11.20/src/guestfs.pod:2205 ../src/guestfs.pod:2205
43415 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
43416 "asynchronously at any time (eg. due to some internal error), and that causes "
43417 "the state to transition back to CONFIG."
43421 #: ../libguestfs-1.11.20/src/guestfs.pod:2209 ../src/guestfs.pod:2209
43423 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
43424 "issued when in the CONFIG state."
43428 #: ../libguestfs-1.11.20/src/guestfs.pod:2212 ../src/guestfs.pod:2212
43430 "The API offers one call that goes from CONFIG through LAUNCHING to READY. "
43431 "L</guestfs_launch> blocks until the child process is READY to accept "
43432 "commands (or until some failure or timeout). L</guestfs_launch> internally "
43433 "moves the state from CONFIG to LAUNCHING while it is running."
43437 #: ../libguestfs-1.11.20/src/guestfs.pod:2218 ../src/guestfs.pod:2218
43439 "API actions such as L</guestfs_mount> can only be issued when in the READY "
43440 "state. These API calls block waiting for the command to be carried out (ie. "
43441 "the state to transition to BUSY and then back to READY). There are no non-"
43442 "blocking versions, and no way to issue more than one command per handle at "
43447 #: ../libguestfs-1.11.20/src/guestfs.pod:2224 ../src/guestfs.pod:2224
43449 "Finally, the child process sends asynchronous messages back to the main "
43450 "program, such as kernel log messages. You can register a callback to "
43451 "receive these messages."
43455 #: ../libguestfs-1.11.20/src/guestfs.pod:2228 ../src/guestfs.pod:2228
43460 #: ../libguestfs-1.11.20/src/guestfs.pod:2230 ../src/guestfs.pod:2230
43461 msgid "COMMUNICATION PROTOCOL"
43465 #: ../libguestfs-1.11.20/src/guestfs.pod:2232 ../src/guestfs.pod:2232
43467 "Don't rely on using this protocol directly. This section documents how it "
43468 "currently works, but it may change at any time."
43472 #: ../libguestfs-1.11.20/src/guestfs.pod:2235 ../src/guestfs.pod:2235
43474 "The protocol used to talk between the library and the daemon running inside "
43475 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
43476 "1014, RFC 1832, RFC 4506)."
43480 #: ../libguestfs-1.11.20/src/guestfs.pod:2239 ../src/guestfs.pod:2239
43482 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
43483 "this file is automatically generated)."
43487 #: ../libguestfs-1.11.20/src/guestfs.pod:2242 ../src/guestfs.pod:2242
43489 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
43490 "and C<FileOut> parameters, which are handled with very simple request/reply "
43491 "messages. Then there are functions that have any C<FileIn> or C<FileOut> "
43492 "parameters, which use the same request and reply messages, but they may also "
43493 "be followed by files sent using a chunked encoding."
43497 #: ../libguestfs-1.11.20/src/guestfs.pod:2249 ../src/guestfs.pod:2249
43498 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
43502 #: ../libguestfs-1.11.20/src/guestfs.pod:2251 ../src/guestfs.pod:2251
43503 msgid "For ordinary functions, the request message is:"
43507 #: ../libguestfs-1.11.20/src/guestfs.pod:2253 ../src/guestfs.pod:2253
43510 " total length (header + arguments,\n"
43511 " but not including the length word itself)\n"
43512 " struct guestfs_message_header (encoded as XDR)\n"
43513 " struct guestfs_<foo>_args (encoded as XDR)\n"
43518 #: ../libguestfs-1.11.20/src/guestfs.pod:2258 ../src/guestfs.pod:2258
43520 "The total length field allows the daemon to allocate a fixed size buffer "
43521 "into which it slurps the rest of the message. As a result, the total length "
43522 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
43523 "effective size of any request is limited to somewhere under this size."
43527 #: ../libguestfs-1.11.20/src/guestfs.pod:2264 ../src/guestfs.pod:2264
43529 "Note also that many functions don't take any arguments, in which case the "
43530 "C<guestfs_I<foo>_args> is completely omitted."
43534 #: ../libguestfs-1.11.20/src/guestfs.pod:2267 ../src/guestfs.pod:2267
43536 "The header contains the procedure number (C<guestfs_proc>) which is how the "
43537 "receiver knows what type of args structure to expect, or none at all."
43541 #: ../libguestfs-1.11.20/src/guestfs.pod:2271 ../src/guestfs.pod:2271
43543 "For functions that take optional arguments, the optional arguments are "
43544 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
43545 "arguments. A bitmask in the header indicates which optional arguments are "
43546 "meaningful. The bitmask is also checked to see if it contains bits set "
43547 "which the daemon does not know about (eg. if more optional arguments were "
43548 "added in a later version of the library), and this causes the call to be "
43553 #: ../libguestfs-1.11.20/src/guestfs.pod:2279 ../src/guestfs.pod:2279
43554 msgid "The reply message for ordinary functions is:"
43558 #: ../libguestfs-1.11.20/src/guestfs.pod:2281 ../src/guestfs.pod:2281
43561 " total length (header + ret,\n"
43562 " but not including the length word itself)\n"
43563 " struct guestfs_message_header (encoded as XDR)\n"
43564 " struct guestfs_<foo>_ret (encoded as XDR)\n"
43569 #: ../libguestfs-1.11.20/src/guestfs.pod:2286 ../src/guestfs.pod:2286
43571 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
43572 "functions that return no formal return values."
43576 #: ../libguestfs-1.11.20/src/guestfs.pod:2289 ../src/guestfs.pod:2289
43578 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
43582 #: ../libguestfs-1.11.20/src/guestfs.pod:2292 ../src/guestfs.pod:2292
43584 "In the case of an error, a flag is set in the header, and the reply message "
43585 "is slightly changed:"
43589 #: ../libguestfs-1.11.20/src/guestfs.pod:2295 ../src/guestfs.pod:2295
43592 " total length (header + error,\n"
43593 " but not including the length word itself)\n"
43594 " struct guestfs_message_header (encoded as XDR)\n"
43595 " struct guestfs_message_error (encoded as XDR)\n"
43600 #: ../libguestfs-1.11.20/src/guestfs.pod:2300 ../src/guestfs.pod:2300
43602 "The C<guestfs_message_error> structure contains the error message as a "
43607 #: ../libguestfs-1.11.20/src/guestfs.pod:2303 ../src/guestfs.pod:2303
43608 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
43612 #: ../libguestfs-1.11.20/src/guestfs.pod:2305 ../src/guestfs.pod:2305
43614 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest. "
43615 "The normal request message is sent (see above). However this is followed by "
43616 "a sequence of file chunks."
43620 #: ../libguestfs-1.11.20/src/guestfs.pod:2309 ../src/guestfs.pod:2309
43623 " total length (header + arguments,\n"
43624 " but not including the length word itself,\n"
43625 " and not including the chunks)\n"
43626 " struct guestfs_message_header (encoded as XDR)\n"
43627 " struct guestfs_<foo>_args (encoded as XDR)\n"
43628 " sequence of chunks for FileIn param #0\n"
43629 " sequence of chunks for FileIn param #1 etc.\n"
43634 #: ../libguestfs-1.11.20/src/guestfs.pod:2317 ../src/guestfs.pod:2317
43635 msgid "The \"sequence of chunks\" is:"
43639 #: ../libguestfs-1.11.20/src/guestfs.pod:2319 ../src/guestfs.pod:2319
43642 " length of chunk (not including length word itself)\n"
43643 " struct guestfs_chunk (encoded as XDR)\n"
43644 " length of chunk\n"
43645 " struct guestfs_chunk (encoded as XDR)\n"
43647 " length of chunk\n"
43648 " struct guestfs_chunk (with data.data_len == 0)\n"
43653 #: ../libguestfs-1.11.20/src/guestfs.pod:2327 ../src/guestfs.pod:2327
43655 "The final chunk has the C<data_len> field set to zero. Additionally a flag "
43656 "is set in the final chunk to indicate either successful completion or early "
43661 #: ../libguestfs-1.11.20/src/guestfs.pod:2331 ../src/guestfs.pod:2331
43663 "At time of writing there are no functions that have more than one FileIn "
43664 "parameter. However this is (theoretically) supported, by sending the "
43665 "sequence of chunks for each FileIn parameter one after another (from left to "
43670 #: ../libguestfs-1.11.20/src/guestfs.pod:2336 ../src/guestfs.pod:2336
43672 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
43673 "transfer. The library does this by sending a chunk with a special flag set "
43674 "to indicate cancellation. When the daemon sees this, it cancels the whole "
43675 "RPC, does I<not> send any reply, and goes back to reading the next request."
43679 #: ../libguestfs-1.11.20/src/guestfs.pod:2342 ../src/guestfs.pod:2342
43681 "The daemon may also cancel. It does this by writing a special word "
43682 "C<GUESTFS_CANCEL_FLAG> to the socket. The library listens for this during "
43683 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
43684 "cancel chunk). The special word is chosen so that even if cancellation "
43685 "happens right at the end of the transfer (after the library has finished "
43686 "writing and has started listening for the reply), the \"spurious\" cancel "
43687 "flag will not be confused with the reply message."
43691 #: ../libguestfs-1.11.20/src/guestfs.pod:2351 ../src/guestfs.pod:2351
43693 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
43694 "limit), and also files where the size is not known in advance (eg. from "
43695 "pipes or sockets). However the chunks are rather small "
43696 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
43697 "to keep much in memory."
43701 #: ../libguestfs-1.11.20/src/guestfs.pod:2357 ../src/guestfs.pod:2357
43702 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
43706 #: ../libguestfs-1.11.20/src/guestfs.pod:2359 ../src/guestfs.pod:2359
43708 "The protocol for FileOut parameters is exactly the same as for FileIn "
43709 "parameters, but with the roles of daemon and library reversed."
43713 #: ../libguestfs-1.11.20/src/guestfs.pod:2362 ../src/guestfs.pod:2362
43716 " total length (header + ret,\n"
43717 " but not including the length word itself,\n"
43718 " and not including the chunks)\n"
43719 " struct guestfs_message_header (encoded as XDR)\n"
43720 " struct guestfs_<foo>_ret (encoded as XDR)\n"
43721 " sequence of chunks for FileOut param #0\n"
43722 " sequence of chunks for FileOut param #1 etc.\n"
43727 #: ../libguestfs-1.11.20/src/guestfs.pod:2370 ../src/guestfs.pod:2370
43728 msgid "INITIAL MESSAGE"
43732 #: ../libguestfs-1.11.20/src/guestfs.pod:2372 ../src/guestfs.pod:2372
43734 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
43735 "which indicates that the guest and daemon is alive. This is what L</"
43736 "guestfs_launch> waits for."
43740 #: ../libguestfs-1.11.20/src/guestfs.pod:2376 ../src/guestfs.pod:2376
43741 msgid "PROGRESS NOTIFICATION MESSAGES"
43745 #: ../libguestfs-1.11.20/src/guestfs.pod:2378 ../src/guestfs.pod:2378
43747 "The daemon may send progress notification messages at any time. These are "
43748 "distinguished by the normal length word being replaced by "
43749 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
43753 #: ../libguestfs-1.11.20/src/guestfs.pod:2382 ../src/guestfs.pod:2382
43755 "The library turns them into progress callbacks (see L</"
43756 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
43761 #: ../libguestfs-1.11.20/src/guestfs.pod:2386 ../src/guestfs.pod:2386
43763 "The daemon self-limits the frequency of progress messages it sends (see "
43764 "C<daemon/proto.c:notify_progress>). Not all calls generate progress "
43769 #: ../libguestfs-1.11.20/src/guestfs.pod:2390 ../src/guestfs.pod:2390
43770 msgid "LIBGUESTFS VERSION NUMBERS"
43774 #: ../libguestfs-1.11.20/src/guestfs.pod:2392 ../src/guestfs.pod:2392
43776 "Since April 2010, libguestfs has started to make separate development and "
43777 "stable releases, along with corresponding branches in our git repository. "
43778 "These separate releases can be identified by version number:"
43782 #: ../libguestfs-1.11.20/src/guestfs.pod:2397 ../src/guestfs.pod:2397
43785 " even numbers for stable: 1.2.x, 1.4.x, ...\n"
43786 " .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
43792 " | `-------- sub-version\n"
43794 " `------ always '1' because we don't change the ABI\n"
43799 #: ../libguestfs-1.11.20/src/guestfs.pod:2408 ../src/guestfs.pod:2408
43800 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
43804 #: ../libguestfs-1.11.20/src/guestfs.pod:2410 ../src/guestfs.pod:2410
43806 "As time passes we cherry pick fixes from the development branch and backport "
43807 "those into the stable branch, the effect being that the stable branch should "
43808 "get more stable and less buggy over time. So the stable releases are ideal "
43809 "for people who don't need new features but would just like the software to "
43814 #: ../libguestfs-1.11.20/src/guestfs.pod:2416 ../src/guestfs.pod:2416
43815 msgid "Our criteria for backporting changes are:"
43819 #: ../libguestfs-1.11.20/src/guestfs.pod:2422 ../src/guestfs.pod:2422
43821 "Documentation changes which don't affect any code are backported unless the "
43822 "documentation refers to a future feature which is not in stable."
43826 #: ../libguestfs-1.11.20/src/guestfs.pod:2428 ../src/guestfs.pod:2428
43828 "Bug fixes which are not controversial, fix obvious problems, and have been "
43829 "well tested are backported."
43833 #: ../libguestfs-1.11.20/src/guestfs.pod:2433 ../src/guestfs.pod:2433
43835 "Simple rearrangements of code which shouldn't affect how it works get "
43836 "backported. This is so that the code in the two branches doesn't get too "
43837 "far out of step, allowing us to backport future fixes more easily."
43841 #: ../libguestfs-1.11.20/src/guestfs.pod:2439 ../src/guestfs.pod:2439
43843 "We I<don't> backport new features, new APIs, new tools etc, except in one "
43844 "exceptional case: the new feature is required in order to implement an "
43845 "important bug fix."
43849 #: ../libguestfs-1.11.20/src/guestfs.pod:2445 ../src/guestfs.pod:2445
43851 "A new stable branch starts when we think the new features in development are "
43852 "substantial and compelling enough over the current stable branch to warrant "
43853 "it. When that happens we create new stable and development versions 1.N.0 "
43854 "and 1.(N+1).0 [N is even]. The new dot-oh release won't necessarily be so "
43855 "stable at this point, but by backporting fixes from development, that branch "
43856 "will stabilize over time."
43860 #: ../libguestfs-1.11.20/src/guestfs.pod:2453 ../src/guestfs.pod:2453
43861 msgid "EXTENDING LIBGUESTFS"
43865 #: ../libguestfs-1.11.20/src/guestfs.pod:2455 ../src/guestfs.pod:2455
43866 msgid "ADDING A NEW API ACTION"
43870 #: ../libguestfs-1.11.20/src/guestfs.pod:2457 ../src/guestfs.pod:2457
43872 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
43873 "documentation) are generated, and this makes it easy to extend the "
43878 #: ../libguestfs-1.11.20/src/guestfs.pod:2461 ../src/guestfs.pod:2461
43879 msgid "To add a new API action there are two changes:"
43883 #: ../libguestfs-1.11.20/src/guestfs.pod:2467 ../src/guestfs.pod:2467
43885 "You need to add a description of the call (name, parameters, return type, "
43886 "tests, documentation) to C<generator/generator_actions.ml>."
43890 #: ../libguestfs-1.11.20/src/guestfs.pod:2470 ../src/guestfs.pod:2470
43892 "There are two sorts of API action, depending on whether the call goes "
43893 "through to the daemon in the appliance, or is serviced entirely by the "
43894 "library (see L</ARCHITECTURE> above). L</guestfs_sync> is an example of the "
43895 "former, since the sync is done in the appliance. L</guestfs_set_trace> is "
43896 "an example of the latter, since a trace flag is maintained in the handle and "
43897 "all tracing is done on the library side."
43901 #: ../libguestfs-1.11.20/src/guestfs.pod:2478 ../src/guestfs.pod:2478
43903 "Most new actions are of the first type, and get added to the "
43904 "C<daemon_functions> list. Each function has a unique procedure number used "
43905 "in the RPC protocol which is assigned to that action when we publish "
43906 "libguestfs and cannot be reused. Take the latest procedure number and "
43911 #: ../libguestfs-1.11.20/src/guestfs.pod:2484 ../src/guestfs.pod:2484
43913 "For library-only actions of the second type, add to the "
43914 "C<non_daemon_functions> list. Since these functions are serviced by the "
43915 "library and do not travel over the RPC mechanism to the daemon, these "
43916 "functions do not need a procedure number, and so the procedure number is set "
43921 #: ../libguestfs-1.11.20/src/guestfs.pod:2492 ../src/guestfs.pod:2492
43922 msgid "Implement the action (in C):"
43926 #: ../libguestfs-1.11.20/src/guestfs.pod:2494 ../src/guestfs.pod:2494
43928 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
43929 "C<daemon/> directory."
43933 #: ../libguestfs-1.11.20/src/guestfs.pod:2497 ../src/guestfs.pod:2497
43935 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
43936 "(note: double underscore) in the C<src/> directory."
43940 #: ../libguestfs-1.11.20/src/guestfs.pod:2500 ../src/guestfs.pod:2500
43941 msgid "In either case, use another function as an example of what to do."
43945 #: ../libguestfs-1.11.20/src/guestfs.pod:2504 ../src/guestfs.pod:2504
43946 msgid "After making these changes, use C<make> to compile."
43950 #: ../libguestfs-1.11.20/src/guestfs.pod:2506 ../src/guestfs.pod:2506
43952 "Note that you don't need to implement the RPC, language bindings, manual "
43953 "pages or anything else. It's all automatically generated from the OCaml "
43958 #: ../libguestfs-1.11.20/src/guestfs.pod:2510 ../src/guestfs.pod:2510
43959 msgid "ADDING TESTS FOR AN API ACTION"
43963 #: ../libguestfs-1.11.20/src/guestfs.pod:2512 ../src/guestfs.pod:2512
43965 "You can supply zero or as many tests as you want per API call. The tests "
43966 "can either be added as part of the API description (C<generator/"
43967 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
43968 "into C<regressions/>. Note that adding a script to C<regressions/> is "
43969 "slower, so if possible use the first method."
43973 #: ../libguestfs-1.11.20/src/guestfs.pod:2518 ../src/guestfs.pod:2518
43975 "The following describes the test environment used when you add an API test "
43976 "in C<generator_actions.ml>."
43980 #: ../libguestfs-1.11.20/src/guestfs.pod:2521 ../src/guestfs.pod:2521
43981 msgid "The test environment has 4 block devices:"
43985 #: ../libguestfs-1.11.20/src/guestfs.pod:2525 ../src/guestfs.pod:2525
43986 msgid "C</dev/sda> 500MB"
43987 msgstr "C</dev/sda> 500 МБ"
43990 #: ../libguestfs-1.11.20/src/guestfs.pod:2527 ../src/guestfs.pod:2527
43991 msgid "General block device for testing."
43995 #: ../libguestfs-1.11.20/src/guestfs.pod:2529 ../src/guestfs.pod:2529
43996 msgid "C</dev/sdb> 50MB"
43997 msgstr "C</dev/sdb> 50 МБ"
44000 #: ../libguestfs-1.11.20/src/guestfs.pod:2531 ../src/guestfs.pod:2531
44002 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
44007 #: ../libguestfs-1.11.20/src/guestfs.pod:2534 ../src/guestfs.pod:2534
44008 msgid "C</dev/sdc> 10MB"
44009 msgstr "C</dev/sdc> 10 МБ"
44012 #: ../libguestfs-1.11.20/src/guestfs.pod:2536 ../src/guestfs.pod:2536
44013 msgid "Used in a few tests where two block devices are needed."
44017 #: ../libguestfs-1.11.20/src/guestfs.pod:2538 ../src/guestfs.pod:2538
44018 msgid "C</dev/sdd>"
44019 msgstr "C</dev/sdd>"
44022 #: ../libguestfs-1.11.20/src/guestfs.pod:2540 ../src/guestfs.pod:2540
44023 msgid "ISO with fixed content (see C<images/test.iso>)."
44027 #: ../libguestfs-1.11.20/src/guestfs.pod:2544 ../src/guestfs.pod:2544
44029 "To be able to run the tests in a reasonable amount of time, the libguestfs "
44030 "appliance and block devices are reused between tests. So don't try testing "
44031 "L</guestfs_kill_subprocess> :-x"
44035 #: ../libguestfs-1.11.20/src/guestfs.pod:2548 ../src/guestfs.pod:2548
44037 "Each test starts with an initial scenario, selected using one of the "
44038 "C<Init*> expressions, described in C<generator/generator_types.ml>. These "
44039 "initialize the disks mentioned above in a particular way as documented in "
44040 "C<generator_types.ml>. You should not assume anything about the previous "
44041 "contents of other disks that are not initialized."
44045 #: ../libguestfs-1.11.20/src/guestfs.pod:2554 ../src/guestfs.pod:2554
44047 "You can add a prerequisite clause to any individual test. This is a run-"
44048 "time check, which, if it fails, causes the test to be skipped. Useful if "
44049 "testing a command which might not work on all variations of libguestfs "
44050 "builds. A test that has prerequisite of C<Always> means to run "
44055 #: ../libguestfs-1.11.20/src/guestfs.pod:2560 ../src/guestfs.pod:2560
44057 "In addition, packagers can skip individual tests by setting environment "
44058 "variables before running C<make check>."
44062 #: ../libguestfs-1.11.20/src/guestfs.pod:2563 ../src/guestfs.pod:2563
44065 " SKIP_TEST_<CMD>_<NUM>=1\n"
44070 #: ../libguestfs-1.11.20/src/guestfs.pod:2565 ../src/guestfs.pod:2565
44071 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
44075 #: ../libguestfs-1.11.20/src/guestfs.pod:2567 ../src/guestfs.pod:2567
44080 #: ../libguestfs-1.11.20/src/guestfs.pod:2569 ../src/guestfs.pod:2569
44083 " SKIP_TEST_<CMD>=1\n"
44088 #: ../libguestfs-1.11.20/src/guestfs.pod:2571 ../src/guestfs.pod:2571
44089 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
44093 #: ../libguestfs-1.11.20/src/guestfs.pod:2573 ../src/guestfs.pod:2573
44094 msgid "Packagers can run only certain tests by setting for example:"
44098 #: ../libguestfs-1.11.20/src/guestfs.pod:2575 ../src/guestfs.pod:2575
44101 " TEST_ONLY=\"vfs_type zerofree\"\n"
44106 #: ../libguestfs-1.11.20/src/guestfs.pod:2577 ../src/guestfs.pod:2577
44108 "See C<capitests/tests.c> for more details of how these environment variables "
44113 #: ../libguestfs-1.11.20/src/guestfs.pod:2580 ../src/guestfs.pod:2580
44114 msgid "DEBUGGING NEW API ACTIONS"
44118 #: ../libguestfs-1.11.20/src/guestfs.pod:2582 ../src/guestfs.pod:2582
44119 msgid "Test new actions work before submitting them."
44123 #: ../libguestfs-1.11.20/src/guestfs.pod:2584 ../src/guestfs.pod:2584
44124 msgid "You can use guestfish to try out new commands."
44128 #: ../libguestfs-1.11.20/src/guestfs.pod:2586 ../src/guestfs.pod:2586
44130 "Debugging the daemon is a problem because it runs inside a minimal "
44131 "environment. However you can fprintf messages in the daemon to stderr, and "
44132 "they will show up if you use C<guestfish -v>."
44136 #: ../libguestfs-1.11.20/src/guestfs.pod:2590 ../src/guestfs.pod:2590
44137 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
44141 #: ../libguestfs-1.11.20/src/guestfs.pod:2592 ../src/guestfs.pod:2592
44143 "Our C source code generally adheres to some basic code-formatting "
44144 "conventions. The existing code base is not totally consistent on this "
44145 "front, but we do prefer that contributed code be formatted similarly. In "
44146 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
44147 "indentation level, and other than that, follow the K&R style."
44151 #: ../libguestfs-1.11.20/src/guestfs.pod:2598 ../src/guestfs.pod:2598
44153 "If you use Emacs, add the following to one of one of your start-up files (e."
44154 "g., ~/.emacs), to help ensure that you get indentation right:"
44158 #: ../libguestfs-1.11.20/src/guestfs.pod:2601 ../src/guestfs.pod:2601
44161 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
44162 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
44163 " (add-hook 'find-file-hook\n"
44164 " '(lambda () (if (and buffer-file-name\n"
44165 " (string-match \"/libguestfs\\\\>\"\n"
44166 " (buffer-file-name))\n"
44167 " (not (string-equal mode-name \"Change Log\"))\n"
44168 " (not (string-equal mode-name \"Makefile\")))\n"
44169 " (setq indent-tabs-mode nil))))\n"
44174 #: ../libguestfs-1.11.20/src/guestfs.pod:2611 ../src/guestfs.pod:2611
44177 " ;;; When editing C sources in libguestfs, use this style.\n"
44178 " (defun libguestfs-c-mode ()\n"
44179 " \"C mode with adjusted defaults for use with libguestfs.\"\n"
44181 " (c-set-style \"K&R\")\n"
44182 " (setq c-indent-level 2)\n"
44183 " (setq c-basic-offset 2))\n"
44184 " (add-hook 'c-mode-hook\n"
44185 " '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
44186 " (buffer-file-name))\n"
44187 " (libguestfs-c-mode))))\n"
44192 #: ../libguestfs-1.11.20/src/guestfs.pod:2623 ../src/guestfs.pod:2623
44193 msgid "Enable warnings when compiling (and fix any problems this finds):"
44197 #: ../libguestfs-1.11.20/src/guestfs.pod:2626 ../src/guestfs.pod:2626
44200 " ./configure --enable-gcc-warnings\n"
44203 " ./configure --enable-gcc-warnings\n"
44207 #: ../libguestfs-1.11.20/src/guestfs.pod:2628 ../src/guestfs.pod:2628
44208 msgid "Useful targets are:"
44212 #: ../libguestfs-1.11.20/src/guestfs.pod:2630 ../src/guestfs.pod:2630
44215 " make syntax-check # checks the syntax of the C code\n"
44216 " make check # runs the test suite\n"
44221 #: ../libguestfs-1.11.20/src/guestfs.pod:2633 ../src/guestfs.pod:2633
44222 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
44226 #: ../libguestfs-1.11.20/src/guestfs.pod:2635 ../src/guestfs.pod:2635
44228 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
44229 "which are used to do shell quoting."
44233 #: ../libguestfs-1.11.20/src/guestfs.pod:2640 ../src/guestfs.pod:2640
44238 #: ../libguestfs-1.11.20/src/guestfs.pod:2642 ../src/guestfs.pod:2642
44240 "Simple shell quoted string. Any spaces or other shell characters are "
44245 #: ../libguestfs-1.11.20/src/guestfs.pod:2645 ../src/guestfs.pod:2645
44250 #: ../libguestfs-1.11.20/src/guestfs.pod:2647 ../src/guestfs.pod:2647
44252 "Same as C<%Q> except the string is treated as a path which is prefixed by "
44257 #: ../libguestfs-1.11.20/src/guestfs.pod:2654 ../src/guestfs.pod:2654
44260 " asprintf (&cmd, \"cat %R\", path);\n"
44265 #: ../libguestfs-1.11.20/src/guestfs.pod:2656 ../src/guestfs.pod:2656
44266 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
44270 #: ../libguestfs-1.11.20/src/guestfs.pod:2658 ../src/guestfs.pod:2658
44272 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
44273 "{,r,v,rv}()> functions. These parameters do NOT need to be quoted because "
44274 "they are not passed via the shell (instead, straight to exec). You probably "
44275 "want to use the C<sysroot_path()> function however."
44279 #: ../libguestfs-1.11.20/src/guestfs.pod:2664 ../src/guestfs.pod:2664
44280 msgid "SUBMITTING YOUR NEW API ACTIONS"
44284 #: ../libguestfs-1.11.20/src/guestfs.pod:2666 ../src/guestfs.pod:2666
44286 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
44287 "libguestfs> and CC to L<rjones@redhat.com>."
44291 #: ../libguestfs-1.11.20/src/guestfs.pod:2670 ../src/guestfs.pod:2670
44292 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
44296 #: ../libguestfs-1.11.20/src/guestfs.pod:2672 ../src/guestfs.pod:2672
44297 msgid "We support i18n (gettext anyhow) in the library."
44301 #: ../libguestfs-1.11.20/src/guestfs.pod:2674 ../src/guestfs.pod:2674
44303 "However many messages come from the daemon, and we don't translate those at "
44304 "the moment. One reason is that the appliance generally has all locale files "
44305 "removed from it, because they take up a lot of space. So we'd have to readd "
44306 "some of those, as well as copying our PO files into the appliance."
44310 #: ../libguestfs-1.11.20/src/guestfs.pod:2680 ../src/guestfs.pod:2680
44312 "Debugging messages are never translated, since they are intended for the "
44317 #: ../libguestfs-1.11.20/src/guestfs.pod:2683 ../src/guestfs.pod:2683
44318 msgid "SOURCE CODE SUBDIRECTORIES"
44322 #: ../libguestfs-1.11.20/src/guestfs.pod:2689 ../src/guestfs.pod:2689
44323 msgid "The libguestfs appliance, build scripts and so on."
44327 #: ../libguestfs-1.11.20/src/guestfs.pod:2691 ../src/guestfs.pod:2691
44328 msgid "C<capitests>"
44329 msgstr "C<capitests>"
44332 #: ../libguestfs-1.11.20/src/guestfs.pod:2693 ../src/guestfs.pod:2693
44333 msgid "Automated tests of the C API."
44337 #: ../libguestfs-1.11.20/src/guestfs.pod:2695 ../src/guestfs.pod:2695
44342 #: ../libguestfs-1.11.20/src/guestfs.pod:2697 ../src/guestfs.pod:2697
44344 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
44349 #: ../libguestfs-1.11.20/src/guestfs.pod:2700 ../src/guestfs.pod:2700
44354 #: ../libguestfs-1.11.20/src/guestfs.pod:2702 ../src/guestfs.pod:2702
44356 "Safety and liveness tests of components that libguestfs depends upon (not of "
44357 "libguestfs itself). Mainly this is for qemu and the kernel."
44361 #: ../libguestfs-1.11.20/src/guestfs.pod:2705 ../src/guestfs.pod:2705
44363 msgstr "C<contrib>"
44366 #: ../libguestfs-1.11.20/src/guestfs.pod:2707 ../src/guestfs.pod:2707
44367 msgid "Outside contributions, experimental parts."
44371 #: ../libguestfs-1.11.20/src/guestfs.pod:2709 ../src/guestfs.pod:2709
44376 #: ../libguestfs-1.11.20/src/guestfs.pod:2711 ../src/guestfs.pod:2711
44378 "The daemon that runs inside the libguestfs appliance and carries out actions."
44382 #: ../libguestfs-1.11.20/src/guestfs.pod:2714 ../src/guestfs.pod:2714
44387 #: ../libguestfs-1.11.20/src/guestfs.pod:2716 ../src/guestfs.pod:2716
44388 msgid "L<virt-df(1)> command and documentation."
44392 #: ../libguestfs-1.11.20/src/guestfs.pod:2718 ../src/guestfs.pod:2718
44397 #: ../libguestfs-1.11.20/src/guestfs.pod:2720 ../src/guestfs.pod:2720
44398 msgid "L<virt-edit(1)> command and documentation."
44402 #: ../libguestfs-1.11.20/src/guestfs.pod:2722 ../src/guestfs.pod:2722
44403 msgid "C<examples>"
44404 msgstr "C<examples>"
44407 #: ../libguestfs-1.11.20/src/guestfs.pod:2724 ../src/guestfs.pod:2724
44408 msgid "C API example code."
44409 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
44412 #: ../libguestfs-1.11.20/src/guestfs.pod:2726 ../src/guestfs.pod:2726
44417 #: ../libguestfs-1.11.20/src/guestfs.pod:2728 ../src/guestfs.pod:2728
44419 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
44420 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
44421 "L<virt-tar-out(1)>."
44425 #: ../libguestfs-1.11.20/src/guestfs.pod:2732 ../src/guestfs.pod:2732
44430 #: ../libguestfs-1.11.20/src/guestfs.pod:2734 ../src/guestfs.pod:2734
44432 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
44436 #: ../libguestfs-1.11.20/src/guestfs.pod:2736 ../src/guestfs.pod:2736
44437 msgid "C<generator>"
44438 msgstr "C<generator>"
44441 #: ../libguestfs-1.11.20/src/guestfs.pod:2738 ../src/guestfs.pod:2738
44443 "The crucially important generator, used to automatically generate large "
44444 "amounts of boilerplate C code for things like RPC and bindings."
44448 #: ../libguestfs-1.11.20/src/guestfs.pod:2741 ../src/guestfs.pod:2741
44453 #: ../libguestfs-1.11.20/src/guestfs.pod:2743 ../src/guestfs.pod:2743
44454 msgid "Files used by the test suite."
44458 #: ../libguestfs-1.11.20/src/guestfs.pod:2745 ../src/guestfs.pod:2745
44459 msgid "Some \"phony\" guest images which we test against."
44463 #: ../libguestfs-1.11.20/src/guestfs.pod:2747 ../src/guestfs.pod:2747
44464 msgid "C<inspector>"
44465 msgstr "C<inspector>"
44468 #: ../libguestfs-1.11.20/src/guestfs.pod:2749 ../src/guestfs.pod:2749
44469 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
44473 #: ../libguestfs-1.11.20/src/guestfs.pod:2751 ../src/guestfs.pod:2751
44478 #: ../libguestfs-1.11.20/src/guestfs.pod:2753 ../src/guestfs.pod:2753
44479 msgid "Logo used on the website. The fish is called Arthur by the way."
44483 #: ../libguestfs-1.11.20/src/guestfs.pod:2755 ../src/guestfs.pod:2755
44488 #: ../libguestfs-1.11.20/src/guestfs.pod:2757 ../src/guestfs.pod:2757
44489 msgid "M4 macros used by autoconf."
44493 #: ../libguestfs-1.11.20/src/guestfs.pod:2759 ../src/guestfs.pod:2759
44498 #: ../libguestfs-1.11.20/src/guestfs.pod:2761 ../src/guestfs.pod:2761
44499 msgid "Translations of simple gettext strings."
44500 msgstr "Переклади простих рядків gettext."
44503 #: ../libguestfs-1.11.20/src/guestfs.pod:2763 ../src/guestfs.pod:2763
44505 msgstr "C<po-docs>"
44508 #: ../libguestfs-1.11.20/src/guestfs.pod:2765 ../src/guestfs.pod:2765
44510 "The build infrastructure and PO files for translations of manpages and POD "
44511 "files. Eventually this will be combined with the C<po> directory, but that "
44512 "is rather complicated."
44516 #: ../libguestfs-1.11.20/src/guestfs.pod:2769 ../src/guestfs.pod:2769
44517 msgid "C<regressions>"
44518 msgstr "C<regressions>"
44521 #: ../libguestfs-1.11.20/src/guestfs.pod:2771 ../src/guestfs.pod:2771
44522 msgid "Regression tests."
44523 msgstr "Тести на регресії."
44526 #: ../libguestfs-1.11.20/src/guestfs.pod:2773 ../src/guestfs.pod:2773
44531 #: ../libguestfs-1.11.20/src/guestfs.pod:2775 ../src/guestfs.pod:2775
44532 msgid "L<virt-rescue(1)> command and documentation."
44536 #: ../libguestfs-1.11.20/src/guestfs.pod:2777 ../src/guestfs.pod:2777
44541 #: ../libguestfs-1.11.20/src/guestfs.pod:2779 ../src/guestfs.pod:2779
44542 msgid "Source code to the C library."
44546 #: ../libguestfs-1.11.20/src/guestfs.pod:2781 ../src/guestfs.pod:2781
44551 #: ../libguestfs-1.11.20/src/guestfs.pod:2783 ../src/guestfs.pod:2783
44552 msgid "Command line tools written in Perl (L<virt-resize(1)> and many others)."
44556 #: ../libguestfs-1.11.20/src/guestfs.pod:2785 ../src/guestfs.pod:2785
44557 msgid "C<test-tool>"
44558 msgstr "C<test-tool>"
44561 #: ../libguestfs-1.11.20/src/guestfs.pod:2787 ../src/guestfs.pod:2787
44563 "Test tool for end users to test if their qemu/kernel combination will work "
44568 #: ../libguestfs-1.11.20/src/guestfs.pod:2790 ../src/guestfs.pod:2790
44573 #: ../libguestfs-1.11.20/src/guestfs.pod:2792 ../src/guestfs.pod:2792
44575 msgstr "C<haskell>"
44578 #: ../libguestfs-1.11.20/src/guestfs.pod:2794 ../src/guestfs.pod:2794
44583 #: ../libguestfs-1.11.20/src/guestfs.pod:2796 ../src/guestfs.pod:2796
44588 #: ../libguestfs-1.11.20/src/guestfs.pod:2798 ../src/guestfs.pod:2798
44593 #: ../libguestfs-1.11.20/src/guestfs.pod:2800 ../src/guestfs.pod:2800
44598 #: ../libguestfs-1.11.20/src/guestfs.pod:2802 ../src/guestfs.pod:2802
44603 #: ../libguestfs-1.11.20/src/guestfs.pod:2804 ../src/guestfs.pod:2804
44608 #: ../libguestfs-1.11.20/src/guestfs.pod:2806 ../src/guestfs.pod:2806
44609 msgid "Language bindings."
44610 msgstr "Прив’язки до мов програмування."
44613 #: ../libguestfs-1.11.20/src/guestfs.pod:2810 ../src/guestfs.pod:2810
44614 msgid "MAKING A STABLE RELEASE"
44618 #: ../libguestfs-1.11.20/src/guestfs.pod:2812 ../src/guestfs.pod:2812
44620 "When we make a stable release, there are several steps documented here. See "
44621 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
44626 #: ../libguestfs-1.11.20/src/guestfs.pod:2820 ../src/guestfs.pod:2820
44627 msgid "Finalize RELEASE-NOTES."
44631 #: ../libguestfs-1.11.20/src/guestfs.pod:2824 ../src/guestfs.pod:2824
44632 msgid "Update ROADMAP."
44636 #: ../libguestfs-1.11.20/src/guestfs.pod:2828 ../src/guestfs.pod:2828
44637 msgid "Run C<src/api-support/update-from-tarballs.sh>."
44641 #: ../libguestfs-1.11.20/src/guestfs.pod:2832 ../src/guestfs.pod:2832
44642 msgid "Push and pull from Transifex."
44646 #: ../libguestfs-1.11.20/src/guestfs.pod:2834 ../src/guestfs.pod:2834
44651 #: ../libguestfs-1.11.20/src/guestfs.pod:2836 ../src/guestfs.pod:2836
44659 #: ../libguestfs-1.11.20/src/guestfs.pod:2838 ../src/guestfs.pod:2838
44660 msgid "to push the latest POT files to Transifex. Then run:"
44664 #: ../libguestfs-1.11.20/src/guestfs.pod:2840 ../src/guestfs.pod:2840
44672 #: ../libguestfs-1.11.20/src/guestfs.pod:2842 ../src/guestfs.pod:2842
44673 msgid "which is a wrapper to pull the latest translated C<*.po> files."
44677 #: ../libguestfs-1.11.20/src/guestfs.pod:2846 ../src/guestfs.pod:2846
44679 "Create new stable and development directories under L<http://libguestfs.org/"
44684 #: ../libguestfs-1.11.20/src/guestfs.pod:2851 ../src/guestfs.pod:2851
44685 msgid "Create the branch in git:"
44689 #: ../libguestfs-1.11.20/src/guestfs.pod:2853 ../src/guestfs.pod:2853
44692 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
44693 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
44694 " git branch stable-1.XX\n"
44695 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
44700 #: ../libguestfs-1.11.20/src/guestfs.pod:2860 ../src/guestfs.pod:2860
44705 #: ../libguestfs-1.11.20/src/guestfs.pod:2862 ../src/guestfs.pod:2862
44706 msgid "PROTOCOL LIMITS"
44707 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
44710 #: ../libguestfs-1.11.20/src/guestfs.pod:2864 ../src/guestfs.pod:2864
44712 "Internally libguestfs uses a message-based protocol to pass API calls and "
44713 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
44714 "plenty more detail about this). The maximum message size used by the "
44715 "protocol is slightly less than 4 MB. For some API calls you may need to be "
44716 "aware of this limit. The API calls which may be affected are individually "
44717 "documented, with a link back to this section of the documentation."
44721 #: ../libguestfs-1.11.20/src/guestfs.pod:2872 ../src/guestfs.pod:2872
44723 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
44724 "a simple string. Because this string is at some point internally encoded as "
44725 "a message, the maximum size that it can return is slightly under 4 MB. If "
44726 "the requested file is larger than this then you will get an error."
44730 #: ../libguestfs-1.11.20/src/guestfs.pod:2878 ../src/guestfs.pod:2878
44732 "In order to transfer large files into and out of the guest filesystem, you "
44733 "need to use particular calls that support this. The sections L</UPLOADING> "
44734 "and L</DOWNLOADING> document how to do this."
44738 #: ../libguestfs-1.11.20/src/guestfs.pod:2882 ../src/guestfs.pod:2882
44740 "You might also consider mounting the disk image using our FUSE filesystem "
44741 "support (L<guestmount(1)>)."
44745 #: ../libguestfs-1.11.20/src/guestfs.pod:2885 ../src/guestfs.pod:2885
44746 msgid "MAXIMUM NUMBER OF DISKS"
44750 #: ../libguestfs-1.11.20/src/guestfs.pod:2887 ../src/guestfs.pod:2887
44751 msgid "When using virtio disks (the default) the current limit is B<25> disks."
44755 #: ../libguestfs-1.11.20/src/guestfs.pod:2890 ../src/guestfs.pod:2890
44757 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
44758 "slots. However febootstrap only understands disks with names C</dev/vda> "
44759 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
44764 #: ../libguestfs-1.11.20/src/guestfs.pod:2895 ../src/guestfs.pod:2895
44766 "We are working to substantially raise this limit in future versions but it "
44767 "requires complex changes to qemu."
44771 #: ../libguestfs-1.11.20/src/guestfs.pod:2898 ../src/guestfs.pod:2898
44773 "In future versions of libguestfs it should also be possible to \"hot plug\" "
44774 "disks (add and remove disks after calling L</guestfs_launch>). This also "
44775 "requires changes to qemu."
44779 #: ../libguestfs-1.11.20/src/guestfs.pod:2902 ../src/guestfs.pod:2902
44780 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
44784 #: ../libguestfs-1.11.20/src/guestfs.pod:2904 ../src/guestfs.pod:2904
44785 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
44789 #: ../libguestfs-1.11.20/src/guestfs.pod:2906 ../src/guestfs.pod:2906
44791 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
44792 "vda>, and C</dev/vda1> through C</dev/vda15>)."
44796 #: ../libguestfs-1.11.20/src/guestfs.pod:2909 ../src/guestfs.pod:2909
44798 "If you attach a disk with more than 15 partitions, the extra partitions are "
44799 "ignored by libguestfs."
44803 #: ../libguestfs-1.11.20/src/guestfs.pod:2912 ../src/guestfs.pod:2912
44804 msgid "MAXIMUM SIZE OF A DISK"
44808 #: ../libguestfs-1.11.20/src/guestfs.pod:2914 ../src/guestfs.pod:2914
44809 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
44813 #: ../libguestfs-1.11.20/src/guestfs.pod:2916 ../src/guestfs.pod:2916
44815 "We have tested block devices up to 1 exabyte (2**60 or "
44816 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
44821 #: ../libguestfs-1.11.20/src/guestfs.pod:2920 ../src/guestfs.pod:2920
44823 "Although libguestfs probably does not impose any limit, the underlying host "
44824 "storage will. If you store disk images on a host ext4 filesystem, then the "
44825 "maximum size will be limited by the maximum ext4 file size (currently 16 "
44826 "TB). If you store disk images as host logical volumes then you are limited "
44827 "by the maximum size of an LV."
44831 #: ../libguestfs-1.11.20/src/guestfs.pod:2926 ../src/guestfs.pod:2926
44833 "For the hugest disk image files, we recommend using XFS on the host for "
44838 #: ../libguestfs-1.11.20/src/guestfs.pod:2929 ../src/guestfs.pod:2929
44839 msgid "MAXIMUM SIZE OF A PARTITION"
44843 #: ../libguestfs-1.11.20/src/guestfs.pod:2931 ../src/guestfs.pod:2931
44845 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
44846 "numbers. Assuming a 512 byte sector size, this means that MBR cannot "
44847 "address a partition located beyond 2 TB on the disk."
44851 #: ../libguestfs-1.11.20/src/guestfs.pod:2935 ../src/guestfs.pod:2935
44853 "It is recommended that you use GPT partitions on disks which are larger than "
44854 "this size. GPT uses 64 bit sector numbers and so can address partitions "
44855 "which are theoretically larger than the largest disk we could support."
44859 #: ../libguestfs-1.11.20/src/guestfs.pod:2940 ../src/guestfs.pod:2940
44860 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
44864 #: ../libguestfs-1.11.20/src/guestfs.pod:2942 ../src/guestfs.pod:2942
44866 "This depends on the filesystem type. libguestfs itself does not impose any "
44867 "known limit. Consult Wikipedia or the filesystem documentation to find out "
44868 "what these limits are."
44872 #: ../libguestfs-1.11.20/src/guestfs.pod:2946 ../src/guestfs.pod:2946
44873 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
44877 #: ../libguestfs-1.11.20/src/guestfs.pod:2948 ../src/guestfs.pod:2948
44879 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
44880 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
44881 "uploads and downloads."
44885 #: ../libguestfs-1.11.20/src/guestfs.pod:2952 ../src/guestfs.pod:2952
44886 msgid "INSPECTION LIMITS"
44890 #: ../libguestfs-1.11.20/src/guestfs.pod:2954 ../src/guestfs.pod:2954
44892 "The inspection code has several arbitrary limits on things like the size of "
44893 "Windows Registry hive it will read, and the length of product name. These "
44894 "are intended to stop a malicious guest from consuming arbitrary amounts of "
44895 "memory and disk space on the host, and should not be reached in practice. "
44896 "See the source code for more information."
44900 #: ../libguestfs-1.11.20/src/guestfs.pod:2970 ../src/guestfs.pod:2970
44902 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages. This has the same "
44903 "effect as calling C<guestfs_set_verbose (g, 1)>."
44907 #: ../libguestfs-1.11.20/src/guestfs.pod:2982 ../src/guestfs.pod:2982
44909 "Set the path that libguestfs uses to search for a supermin appliance. See "
44910 "the discussion of paths in section L</PATH> above."
44914 #: ../libguestfs-1.11.20/src/guestfs.pod:2991 ../src/guestfs.pod:2991
44915 msgid "See also L</QEMU WRAPPERS> above."
44919 #: ../libguestfs-1.11.20/src/guestfs.pod:2995 ../src/guestfs.pod:2995
44921 "Set C<LIBGUESTFS_TRACE=1> to enable command traces. This has the same "
44922 "effect as calling C<guestfs_set_trace (g, 1)>."
44926 #: ../libguestfs-1.11.20/src/guestfs.pod:3013 ../src/guestfs.pod:3013
44928 "L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-"
44929 "perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, L<guestfish(1)>, "
44930 "L<guestmount(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
44931 "L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)"
44932 ">, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, "
44933 "L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-tar-in(1)>, "
44934 "L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, "
44935 "L<hivex(3)>, L<http://libguestfs.org/>."
44939 #: ../libguestfs-1.11.20/src/guestfs.pod:3042 ../src/guestfs.pod:3042
44941 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
44942 "(8)>, L<disktype(1)>."
44946 #: ../libguestfs-1.11.20/src/guestfs.pod:3049 ../src/guestfs.pod:3049
44947 #: ../tools/virt-make-fs.pl:553 ../tools/virt-win-reg.pl:761
44952 #: ../libguestfs-1.11.20/src/guestfs.pod:3051 ../src/guestfs.pod:3051
44953 msgid "To get a list of bugs against libguestfs use this link:"
44955 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
44959 #: ../libguestfs-1.11.20/src/guestfs.pod:3053 ../src/guestfs.pod:3053
44961 "L<https://bugzilla.redhat.com/buglist.cgi?"
44962 "component=libguestfs&product=Virtualization+Tools>"
44964 "L<https://bugzilla.redhat.com/buglist.cgi?"
44965 "component=libguestfs&product=Virtualization+Tools>"
44968 #: ../libguestfs-1.11.20/src/guestfs.pod:3055 ../src/guestfs.pod:3055
44969 msgid "To report a new bug against libguestfs use this link:"
44970 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
44973 #: ../libguestfs-1.11.20/src/guestfs.pod:3057 ../src/guestfs.pod:3057
44975 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
44976 "component=libguestfs&product=Virtualization+Tools>"
44978 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
44979 "component=libguestfs&product=Virtualization+Tools>"
44982 #: ../libguestfs-1.11.20/src/guestfs.pod:3059 ../src/guestfs.pod:3059
44983 msgid "When reporting a bug, please check:"
44987 #: ../libguestfs-1.11.20/src/guestfs.pod:3065 ../src/guestfs.pod:3065
44988 msgid "That the bug hasn't been reported already."
44992 #: ../libguestfs-1.11.20/src/guestfs.pod:3069 ../src/guestfs.pod:3069
44993 msgid "That you are testing a recent version."
44997 #: ../libguestfs-1.11.20/src/guestfs.pod:3073 ../src/guestfs.pod:3073
44998 msgid "Describe the bug accurately, and give a way to reproduce it."
45002 #: ../libguestfs-1.11.20/src/guestfs.pod:3077 ../src/guestfs.pod:3077
45004 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
45009 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:5
45010 #: ../test-tool/libguestfs-test-tool.pod:5
45011 msgid "libguestfs-test-tool - End user tests for libguestfs"
45015 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:9
45016 #: ../test-tool/libguestfs-test-tool.pod:9
45019 " libguestfs-test-tool [--options]\n"
45024 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:13
45025 #: ../test-tool/libguestfs-test-tool.pod:13
45027 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
45028 "and developers, to allow them to check basic libguestfs functionality is "
45029 "working. This is needed because libguestfs occasionally breaks for reasons "
45030 "beyond our control: usually because of changes in the underlying qemu or "
45031 "kernel packages, or the host environment."
45035 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:20
45036 #: ../test-tool/libguestfs-test-tool.pod:20
45037 msgid "If you suspect a problem in libguestfs, then just run:"
45041 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:22
45042 #: ../test-tool/libguestfs-test-tool.pod:22
45045 " libguestfs-test-tool\n"
45050 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:24
45051 #: ../test-tool/libguestfs-test-tool.pod:24
45052 msgid "It will print lots of diagnostic messages."
45056 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:26
45057 #: ../test-tool/libguestfs-test-tool.pod:26
45058 msgid "If it runs to completion successfully, you will see this near the end:"
45062 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:28
45063 #: ../test-tool/libguestfs-test-tool.pod:28
45066 " ===== TEST FINISHED OK =====\n"
45071 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:30
45072 #: ../test-tool/libguestfs-test-tool.pod:30
45073 msgid "and the test tool will exit with code 0."
45077 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:32
45078 #: ../test-tool/libguestfs-test-tool.pod:32
45080 "If it fails (and/or exits with non-zero error code), please paste the "
45081 "B<complete, unedited> output of the test tool into a bug report. More "
45082 "information about reporting bugs can be found on the L<http://libguestfs.org/"
45087 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:41
45088 #: ../test-tool/libguestfs-test-tool.pod:41
45093 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:43
45094 #: ../test-tool/libguestfs-test-tool.pod:43
45095 msgid "Display short usage information and exit."
45099 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:45
45100 #: ../test-tool/libguestfs-test-tool.pod:45
45101 msgid "I<--qemu qemu_binary>"
45102 msgstr "I<--qemu виконуваний_файл_qemu>"
45105 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:47
45106 #: ../test-tool/libguestfs-test-tool.pod:47
45108 "If you have downloaded another qemu binary, point this option at the full "
45109 "path of the binary to try it."
45113 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:50
45114 #: ../test-tool/libguestfs-test-tool.pod:50
45115 msgid "I<--qemudir qemu_source_dir>"
45119 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:52
45120 #: ../test-tool/libguestfs-test-tool.pod:52
45122 "If you have compiled qemu from source, point this option at the source "
45123 "directory to try it."
45127 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:55
45128 #: ../test-tool/libguestfs-test-tool.pod:55
45129 msgid "I<--timeout N>"
45130 msgstr "I<--timeout N>"
45133 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:57
45134 #: ../test-tool/libguestfs-test-tool.pod:57
45136 "Set the launch timeout to C<N> seconds. The default is 120 seconds which "
45137 "does not usually need to be adjusted unless your machine is very slow."
45141 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:63
45142 #: ../test-tool/libguestfs-test-tool.pod:63
45143 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
45147 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:65
45148 #: ../test-tool/libguestfs-test-tool.pod:65
45150 "If you have compiled another version of qemu from source and would like to "
45151 "try that, then you can use the I<--qemudir> option to point to the qemu "
45152 "source directory."
45156 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:69
45157 #: ../test-tool/libguestfs-test-tool.pod:69
45159 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
45160 "option to point to the binary."
45164 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:72
45165 #: ../test-tool/libguestfs-test-tool.pod:72
45167 "When using an alternate qemu with libguestfs, usually you would need to "
45168 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
45169 ">). libguestfs-test-tool writes a temporary qemu wrapper script when you "
45170 "use either of the I<--qemudir> or I<--qemu> options."
45174 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:79
45175 #: ../test-tool/libguestfs-test-tool.pod:79
45177 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
45178 "I<1> if there was an error."
45182 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:84
45183 #: ../test-tool/libguestfs-test-tool.pod:84
45185 "For the full list of environment variables which may affect libguestfs, "
45186 "please see the L<guestfs(3)> manual page."
45190 #: ../libguestfs-1.11.20/test-tool/libguestfs-test-tool.pod:89
45191 #: ../test-tool/libguestfs-test-tool.pod:89
45192 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
45196 #: ../tools/virt-list-filesystems.pl:32
45198 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
45202 #: ../tools/virt-list-filesystems.pl:36
45205 " virt-list-filesystems [--options] domname\n"
45210 #: ../tools/virt-list-filesystems.pl:38
45213 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
45218 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
45220 "This tool is obsolete. Use L<virt-filesystems(1)> as a more flexible "
45225 #: ../tools/virt-list-filesystems.pl:45
45227 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
45228 "are contained in a virtual machine or disk image."
45232 #: ../tools/virt-list-filesystems.pl:49
45234 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
45235 "functionality. For more complex cases you should look at the L<guestfish(1)"
45240 #: ../tools/virt-list-filesystems.pl:112
45242 "With this option, C<virt-list-filesystems> displays the type of each "
45243 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
45247 #: ../tools/virt-list-filesystems.pl:119
45249 #| msgid "B<-a image>"
45251 msgstr "B<-a образ>"
45254 #: ../tools/virt-list-filesystems.pl:123
45256 "Normally we only show mountable filesystems. If this option is given then "
45257 "swap devices are shown too."
45261 #: ../tools/virt-list-filesystems.pl:197
45263 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
45264 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
45265 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45267 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
45268 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
45269 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45272 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
45273 msgid "Copyright (C) 2009 Red Hat Inc."
45274 msgstr "© Red Hat Inc., 2009"
45277 #: ../tools/virt-list-partitions.pl:32
45279 "virt-list-partitions - List partitions in a virtual machine or disk image"
45283 #: ../tools/virt-list-partitions.pl:36
45286 " virt-list-partitions [--options] domname\n"
45289 " virt-list-partitions [--параметри] назва_домену\n"
45293 #: ../tools/virt-list-partitions.pl:38
45296 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
45299 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
45303 #: ../tools/virt-list-partitions.pl:45
45305 "C<virt-list-partitions> is a command line tool to list the partitions that "
45306 "are contained in a virtual machine or disk image. It is mainly useful as a "
45307 "first step to using L<virt-resize(1)>."
45311 #: ../tools/virt-list-partitions.pl:50
45313 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
45314 "functionality. For more complex cases you should look at the L<guestfish(1)"
45319 #: ../tools/virt-list-partitions.pl:113
45320 msgid "Show sizes in human-readable form (eg. \"1G\")."
45324 #: ../tools/virt-list-partitions.pl:123
45326 "With this option, C<virt-list-partitions> displays the type and size of each "
45327 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
45331 #: ../tools/virt-list-partitions.pl:130
45336 #: ../tools/virt-list-partitions.pl:132
45338 #| msgid "B<-t> | B<--total>"
45340 msgstr "B<-t> | B<--total>"
45343 #: ../tools/virt-list-partitions.pl:134
45345 "Display the total size of each block device (as a separate row or rows)."
45349 #: ../tools/virt-list-partitions.pl:267
45351 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
45352 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
45353 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45355 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
45356 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
45357 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45360 #: ../tools/virt-list-partitions.pl:283
45361 msgid "Copyright (C) 2009-2010 Red Hat Inc."
45362 msgstr "© Red Hat Inc., 2009–2010"
45365 #: ../tools/virt-make-fs.pl:37
45366 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
45370 #: ../tools/virt-make-fs.pl:41
45373 " virt-make-fs [--options] input.tar output.img\n"
45378 #: ../tools/virt-make-fs.pl:43
45381 " virt-make-fs [--options] input.tar.gz output.img\n"
45386 #: ../tools/virt-make-fs.pl:45
45389 " virt-make-fs [--options] directory output.img\n"
45394 #: ../tools/virt-make-fs.pl:49
45396 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
45397 "archive or some files in a directory. It is similar to tools like L<mkisofs"
45398 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>. Unlike those tools, it can "
45399 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
45400 "you want to attach these filesystems to existing virtual machines (eg. to "
45401 "import large amounts of read-only data to a VM)."
45405 #: ../tools/virt-make-fs.pl:57
45406 msgid "Basic usage is:"
45410 #: ../tools/virt-make-fs.pl:59
45413 " virt-make-fs input output\n"
45418 #: ../tools/virt-make-fs.pl:61
45420 "where C<input> is either a directory containing files that you want to add, "
45421 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
45422 "C<output> is a disk image. The input type is detected automatically. The "
45423 "output disk image defaults to a raw ext2 image unless you specify extra "
45424 "flags (see L</OPTIONS> below)."
45428 #: ../tools/virt-make-fs.pl:67
45429 msgid "EXTRA SPACE"
45433 #: ../tools/virt-make-fs.pl:69
45435 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
45436 "the files that it contains, but might have extra space. Depending on how "
45437 "you are going to use the output, you might think this extra space is wasted "
45438 "and want to minimize it, or you might want to leave space so that more files "
45439 "can be added later. Virt-make-fs defaults to minimizing the extra space, "
45440 "but you can use the I<--size> flag to leave space in the filesystem if you "
45445 #: ../tools/virt-make-fs.pl:77
45447 "An alternative way to leave extra space but not make the output image any "
45448 "bigger is to use an alternative disk image format (instead of the default "
45449 "\"raw\" format). Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
45450 "image format (check your hypervisor supports this before using it). This "
45451 "allows you to choose a large I<--size> but the extra space won't actually be "
45452 "allocated in the image until you try to store something in it."
45456 #: ../tools/virt-make-fs.pl:85
45458 "Don't forget that you can also use local commands including L<resize2fs(8)> "
45459 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
45460 "to build another image from scratch."
45464 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
45465 #: ../tools/virt-make-fs.pl:142
45470 #: ../tools/virt-make-fs.pl:91
45473 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
45476 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
45480 #: ../tools/virt-make-fs.pl:93
45481 msgid "FILESYSTEM TYPE"
45482 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
45485 #: ../tools/virt-make-fs.pl:95
45487 "The default filesystem type is C<ext2>. Just about any filesystem type that "
45488 "libguestfs supports can be used (but I<not> read-only formats like "
45489 "ISO9660). Here are some of the more common choices:"
45493 #: ../tools/virt-make-fs.pl:101
45498 #: ../tools/virt-make-fs.pl:103
45500 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size. If "
45501 "you are not going to use the filesystem in a way that requires the journal, "
45502 "then this is just wasted overhead."
45506 #: ../tools/virt-make-fs.pl:107
45507 msgid "I<ntfs> or I<vfat>"
45508 msgstr "I<ntfs> або I<vfat>"
45511 #: ../tools/virt-make-fs.pl:109
45512 msgid "Useful if exporting data to a Windows guest."
45516 #: ../tools/virt-make-fs.pl:111
45518 "I<Note for vfat>: The tar archive or local directory must only contain files "
45519 "which are owned by root (ie. UID:GID = 0:0). The reason is that the tar "
45520 "program running within libguestfs is unable to change the ownership of non-"
45521 "root files, since vfat itself does not support this."
45525 #: ../tools/virt-make-fs.pl:116
45530 #: ../tools/virt-make-fs.pl:118
45532 "Lower overhead than C<ext2>, but certain limitations on filename length and "
45533 "total filesystem size."
45537 #: ../tools/virt-make-fs.pl:125
45540 " virt-make-fs --type=minix input minixfs.img\n"
45545 #: ../tools/virt-make-fs.pl:127
45546 msgid "TO PARTITION OR NOT TO PARTITION"
45550 #: ../tools/virt-make-fs.pl:129
45551 msgid "Optionally virt-make-fs can add a partition table to the output disk."
45555 #: ../tools/virt-make-fs.pl:131
45557 "Adding a partition can make the disk image more compatible with certain "
45558 "virtualized operating systems which don't expect to see a filesystem "
45559 "directly located on a block device (Linux doesn't care and will happily "
45560 "handle both types)."
45564 #: ../tools/virt-make-fs.pl:136
45566 "On the other hand, if you have a partition table then the output image is no "
45567 "longer a straight filesystem. For example you cannot run L<fsck(8)> "
45568 "directly on a partitioned disk image. (However libguestfs tools such as "
45569 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
45573 #: ../tools/virt-make-fs.pl:144
45574 msgid "Add an MBR partition:"
45578 #: ../tools/virt-make-fs.pl:146
45581 " virt-make-fs --partition -- input disk.img\n"
45586 #: ../tools/virt-make-fs.pl:148
45588 "If the output disk image could be terabyte-sized or larger, it's better to "
45589 "use an EFI/GPT-compatible partition table:"
45593 #: ../tools/virt-make-fs.pl:151
45596 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
45601 #: ../tools/virt-make-fs.pl:179
45602 msgid "Enable debugging information."
45603 msgstr "Увімкнути виведення діагностичних даних."
45606 #: ../tools/virt-make-fs.pl:185
45607 msgid "B<--size=E<lt>NE<gt>>"
45608 msgstr "B<--size=E<lt>NE<gt>>"
45611 #: ../tools/virt-make-fs.pl:187
45612 msgid "B<--size=+E<lt>NE<gt>>"
45613 msgstr "B<--size=+E<lt>NE<gt>>"
45616 #: ../tools/virt-make-fs.pl:189
45617 msgid "B<-s E<lt>NE<gt>>"
45618 msgstr "B<-s E<lt>NE<gt>>"
45621 #: ../tools/virt-make-fs.pl:191
45622 msgid "B<-s +E<lt>NE<gt>>"
45623 msgstr "B<-s +E<lt>NE<gt>>"
45626 #: ../tools/virt-make-fs.pl:193
45628 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
45632 #: ../tools/virt-make-fs.pl:196
45634 "If this option is I<not> given, then the output image will be just large "
45635 "enough to contain all the files, with not much wasted space."
45639 #: ../tools/virt-make-fs.pl:199
45641 "To choose a fixed size output disk, specify an absolute number followed by b/"
45642 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
45643 "Petabytes or Exabytes. This must be large enough to contain all the input "
45644 "files, else you will get an error."
45648 #: ../tools/virt-make-fs.pl:204
45650 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
45651 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
45652 "Petabytes or Exabytes. For example: I<--size=+200M> means enough space for "
45653 "the input files, and (approximately) an extra 200 MB free space."
45657 #: ../tools/virt-make-fs.pl:210
45659 "Note that virt-make-fs estimates free space, and therefore will not produce "
45660 "filesystems containing precisely the free space requested. (It is much more "
45661 "expensive and time-consuming to produce a filesystem which has precisely the "
45662 "desired free space)."
45666 #: ../tools/virt-make-fs.pl:219
45667 msgid "B<--format=E<lt>fmtE<gt>>"
45671 #: ../tools/virt-make-fs.pl:221
45672 msgid "B<-F E<lt>fmtE<gt>>"
45676 #: ../tools/virt-make-fs.pl:223
45677 msgid "Choose the output disk image format."
45681 #: ../tools/virt-make-fs.pl:225
45682 msgid "The default is C<raw> (raw disk image)."
45686 #: ../tools/virt-make-fs.pl:227
45688 "For other choices, see the L<qemu-img(1)> manpage. The only other choice "
45689 "that would really make sense here is C<qcow2>."
45693 #: ../tools/virt-make-fs.pl:234
45694 msgid "B<--type=E<lt>fsE<gt>>"
45698 #: ../tools/virt-make-fs.pl:236
45699 msgid "B<-t E<lt>fsE<gt>>"
45703 #: ../tools/virt-make-fs.pl:238
45704 msgid "Choose the output filesystem type."
45708 #: ../tools/virt-make-fs.pl:240
45709 msgid "The default is C<ext2>."
45710 msgstr "Типовим значенням є C<ext2>."
45713 #: ../tools/virt-make-fs.pl:242
45715 "Any filesystem which is supported read-write by libguestfs can be used here."
45719 #: ../tools/virt-make-fs.pl:249
45720 msgid "B<--partition>"
45721 msgstr "B<--partition>"
45724 #: ../tools/virt-make-fs.pl:251
45725 msgid "B<--partition=E<lt>parttypeE<gt>>"
45729 #: ../tools/virt-make-fs.pl:253
45731 "If specified, this flag adds an MBR partition table to the output disk image."
45735 #: ../tools/virt-make-fs.pl:256
45737 "You can change the partition table type, eg. I<--partition=gpt> for large "
45742 #: ../tools/virt-make-fs.pl:259
45744 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
45745 "might consider the next parameter to be the partition type. For example:"
45749 #: ../tools/virt-make-fs.pl:263
45752 " virt-make-fs --partition input.tar ...\n"
45757 #: ../tools/virt-make-fs.pl:265
45759 "would cause virt-make-fs to think you wanted to use a partition type of "
45760 "C<input.tar> which is completely wrong. To avoid this, use I<--> (a double "
45761 "dash) between options and the input file argument:"
45765 #: ../tools/virt-make-fs.pl:269
45768 " virt-make-fs --partition -- input.tar ...\n"
45771 " virt-make-fs --partition -- input.tar ...\n"
45775 #: ../tools/virt-make-fs.pl:541
45777 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
45778 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
45779 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
45781 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
45782 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
45783 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
45786 #: ../tools/virt-make-fs.pl:555 ../tools/virt-win-reg.pl:763
45788 "When reporting bugs, please enable debugging and capture the I<complete> "
45793 #: ../tools/virt-make-fs.pl:558
45796 " export LIBGUESTFS_DEBUG=1\n"
45797 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
45800 " export LIBGUESTFS_DEBUG=1\n"
45801 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
45805 #: ../tools/virt-make-fs.pl:561
45807 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
45812 #: ../tools/virt-tar.pl:33
45813 msgid "virt-tar - Extract or upload files to a virtual machine"
45817 #: ../tools/virt-tar.pl:37
45820 " virt-tar [--options] -x domname directory tarball\n"
45825 #: ../tools/virt-tar.pl:39
45828 " virt-tar [--options] -u domname tarball directory\n"
45833 #: ../tools/virt-tar.pl:41
45836 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
45841 #: ../tools/virt-tar.pl:43
45844 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
45849 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
45854 #: ../tools/virt-tar.pl:47
45856 "This tool is obsolete. Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
45857 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
45861 #: ../tools/virt-tar.pl:52
45862 msgid "Download C</home> from the VM into a local tarball:"
45866 #: ../tools/virt-tar.pl:54
45869 " virt-tar -x domname /home home.tar\n"
45874 #: ../tools/virt-tar.pl:56
45877 " virt-tar -zx domname /home home.tar.gz\n"
45882 #: ../tools/virt-tar.pl:58
45883 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
45887 #: ../tools/virt-tar.pl:60
45890 " virt-tar -u domname uploadstuff.tar /tmp\n"
45895 #: ../tools/virt-tar.pl:62
45898 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
45903 #: ../tools/virt-tar.pl:66
45905 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
45906 "virtual machines. If you do this, you risk disk corruption in the VM. "
45907 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
45911 #: ../tools/virt-tar.pl:71
45913 "You can use I<-x> (extract) on live virtual machines, but you might get "
45914 "inconsistent results or errors if there is filesystem activity inside the "
45915 "VM. If the live VM is synched and quiescent, then C<virt-tar> will usually "
45916 "work, but the only way to guarantee consistent results is if the virtual "
45917 "machine is shut down."
45921 #: ../tools/virt-tar.pl:79
45923 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
45924 "parts of a guest filesystem. There are many possibilities: making backups, "
45925 "uploading data files, snooping on guest activity, fixing or customizing "
45930 #: ../tools/virt-tar.pl:84
45932 "If you want to just view a single file, use L<virt-cat(1)>. If you just "
45933 "want to edit a single file, use L<virt-edit(1)>. For more complex cases you "
45934 "should look at the L<guestfish(1)> tool."
45938 #: ../tools/virt-tar.pl:88
45940 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
45941 "its contents (recursively) from the virtual machine into a local tarball. "
45942 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
45943 "virtual machine. You cannot use these two options together."
45947 #: ../tools/virt-tar.pl:94
45949 "In addition, you may need to use the I<-z> (gZip) option to enable "
45950 "compression. When uploading, you have to specify I<-z> if the upload file "
45951 "is compressed because virt-tar won't detect this on its own."
45955 #: ../tools/virt-tar.pl:98
45957 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs. For "
45958 "example it cannot do PKZip files or bzip2 compression. If you want that "
45959 "then you'll have to rebuild the tarballs yourself. (This is a limitation of "
45960 "the L<libguestfs(3)> API)."
45964 #: ../tools/virt-tar.pl:160
45966 #| msgid "B<--format>"
45967 msgid "B<--extract>"
45968 msgstr "B<--format>"
45971 #: ../tools/virt-tar.pl:162
45973 #| msgid "download"
45974 msgid "B<--download>"
45978 #: ../tools/virt-tar.pl:164
45983 #: ../tools/virt-tar.pl:166
45985 #| msgid "B<-u> | B<--upload>"
45986 msgid "B<--upload>"
45987 msgstr "B<-u> | B<--upload>"
45990 #: ../tools/virt-tar.pl:168
45992 "Use I<-x> to extract (download) a directory from a virtual machine to a "
45997 #: ../tools/virt-tar.pl:171
45999 "Use I<-u> to upload and unpack from a local tarball into a virtual machine. "
46000 "Please read the L</WARNING> section above before using this option."
46004 #: ../tools/virt-tar.pl:175
46005 msgid "You must specify exactly one of these options."
46009 #: ../tools/virt-tar.pl:181
46014 #: ../tools/virt-tar.pl:183
46016 #| msgid "B<-z> | B<--gzip>"
46018 msgstr "B<-z> | B<--gzip>"
46021 #: ../tools/virt-tar.pl:185
46022 msgid "Specify that the input or output tarball is gzip-compressed."
46026 #: ../tools/virt-tar.pl:298
46028 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
46029 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
46030 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
46033 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
46034 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
46035 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
46039 #: ../tools/virt-win-reg.pl:37
46041 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
46045 #: ../tools/virt-win-reg.pl:41
46048 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
46053 #: ../tools/virt-win-reg.pl:43
46056 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
46061 #: ../tools/virt-win-reg.pl:45
46064 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
46069 #: ../tools/virt-win-reg.pl:47
46072 " virt-win-reg --merge domname [input.reg ...]\n"
46077 #: ../tools/virt-win-reg.pl:49
46080 " virt-win-reg [--options] disk.img ... # instead of domname\n"
46085 #: ../tools/virt-win-reg.pl:53
46087 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
46088 "virtual machines. If you do this, you I<will> get irreversible disk "
46089 "corruption in the VM. C<virt-win-reg> tries to stop you from doing this, "
46090 "but doesn't catch all cases."
46094 #: ../tools/virt-win-reg.pl:58
46096 "Modifying the Windows Registry is an inherently risky operation. The format "
46097 "is deliberately obscure and undocumented, and Registry changes can leave the "
46098 "system unbootable. Therefore when using the I<--merge> option, make sure "
46099 "you have a reliable backup first."
46103 #: ../tools/virt-win-reg.pl:65
46105 "This program can export and merge Windows Registry entries from a Windows "
46110 #: ../tools/virt-win-reg.pl:68
46112 "The first parameter is the libvirt guest name or the raw disk image of a "
46117 #: ../tools/virt-win-reg.pl:71
46119 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
46120 "exported (recursively). For example:"
46124 #: ../tools/virt-win-reg.pl:74
46127 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
46132 #: ../tools/virt-win-reg.pl:76
46134 "You can also display single values from within registry keys, for example:"
46138 #: ../tools/virt-win-reg.pl:79
46141 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
46142 " $ virt-win-reg Windows7 $cvkey ProductName\n"
46143 " Windows 7 Enterprise\n"
46148 #: ../tools/virt-win-reg.pl:83
46150 "With I<--merge>, you can merge a textual regedit file into the Windows "
46155 #: ../tools/virt-win-reg.pl:86
46158 " $ virt-win-reg --merge Windows7 changes.reg\n"
46163 #: ../tools/virt-win-reg.pl:90
46165 "This program is only meant for simple access to the registry. If you want "
46166 "to do complicated things with the registry, we suggest you download the "
46167 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
46168 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
46169 "L<hivexregedit(1)>."
46173 #: ../tools/virt-win-reg.pl:159
46175 msgstr "B<--merge>"
46178 #: ../tools/virt-win-reg.pl:161
46180 "In merge mode, this merges a textual regedit file into the Windows Registry "
46181 "of the virtual machine. If this flag is I<not> given then virt-win-reg "
46182 "displays or exports Registry entries instead."
46186 #: ../tools/virt-win-reg.pl:165
46188 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
46189 "result in disk corruption. However exporting (without this flag) is always "
46194 #: ../tools/virt-win-reg.pl:173
46195 msgid "B<--encoding> UTF-16LE|ASCII"
46199 #: ../tools/virt-win-reg.pl:175
46201 "When merging (only), you may need to specify the encoding for strings to be "
46202 "used in the hive file. This is explained in detail in L<Win::Hivex::Regedit"
46203 "(3)/ENCODING STRINGS>."
46207 #: ../tools/virt-win-reg.pl:179
46209 "The default is to use UTF-16LE, which should work with recent versions of "
46214 #: ../tools/virt-win-reg.pl:186
46215 msgid "B<--unsafe-printable-strings>"
46219 #: ../tools/virt-win-reg.pl:188
46221 "When exporting (only), assume strings are UTF-16LE and print them as strings "
46222 "instead of hex sequences. Remove the final zero codepoint from strings if "
46227 #: ../tools/virt-win-reg.pl:192
46229 "This is unsafe and does not preserve the fidelity of strings in the original "
46230 "Registry for various reasons:"
46234 #: ../tools/virt-win-reg.pl:199
46236 "Assumes the original encoding is UTF-16LE. ASCII strings and strings in "
46237 "other encodings will be corrupted by this transformation."
46241 #: ../tools/virt-win-reg.pl:204
46243 "Assumes that everything which has type 1 or 2 is really a string and that "
46244 "everything else is not a string, but the type field in real Registries is "
46249 #: ../tools/virt-win-reg.pl:210
46251 "Loses information about whether a zero codepoint followed the string in the "
46256 #: ../tools/virt-win-reg.pl:215
46258 "This all happens because the Registry itself contains no information about "
46259 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
46263 #: ../tools/virt-win-reg.pl:219
46265 "You should only use this option for quick hacking and debugging of the "
46266 "Registry contents, and I<never> use it if the output is going to be passed "
46267 "into another program or stored in another Registry."
46271 #: ../tools/virt-win-reg.pl:556
46272 msgid "SUPPORTED SYSTEMS"
46276 #: ../tools/virt-win-reg.pl:558
46278 "The program currently supports Windows NT-derived guests starting with "
46279 "Windows XP through to at least Windows 7."
46283 #: ../tools/virt-win-reg.pl:561
46284 msgid "The following Registry keys are supported:"
46288 #: ../tools/virt-win-reg.pl:565
46289 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
46293 #: ../tools/virt-win-reg.pl:567
46294 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
46298 #: ../tools/virt-win-reg.pl:569
46299 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
46303 #: ../tools/virt-win-reg.pl:571
46304 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
46308 #: ../tools/virt-win-reg.pl:573
46309 msgid "C<HKEY_USERS\\.DEFAULT>"
46313 #: ../tools/virt-win-reg.pl:575
46314 msgid "C<HKEY_USERS\\I<SID>>"
46318 #: ../tools/virt-win-reg.pl:577
46319 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
46323 #: ../tools/virt-win-reg.pl:579
46324 msgid "C<HKEY_USERS\\I<username>>"
46328 #: ../tools/virt-win-reg.pl:581
46330 "where I<username> is a local user name (this is a libguestfs extension)."
46334 #: ../tools/virt-win-reg.pl:585
46336 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
46341 #: ../tools/virt-win-reg.pl:588
46343 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
46344 "supported (there is no \"current user\")."
46348 #: ../tools/virt-win-reg.pl:591
46353 #: ../tools/virt-win-reg.pl:593
46355 "C<virt-win-reg> expects that regedit files have already been reencoded in "
46356 "the local encoding. Usually on Linux hosts, this means UTF-8 with Unix-"
46357 "style line endings. Since Windows regedit files are often in UTF-16LE with "
46358 "Windows-style line endings, you may need to reencode the whole file before "
46359 "or after processing."
46363 #: ../tools/virt-win-reg.pl:599
46365 "To reencode a file from Windows format to Linux (before processing it with "
46366 "the I<--merge> option), you would do something like this:"
46370 #: ../tools/virt-win-reg.pl:602
46373 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
46378 #: ../tools/virt-win-reg.pl:604
46380 "To go in the opposite direction, after exporting and before sending the file "
46381 "to a Windows user, do something like this:"
46385 #: ../tools/virt-win-reg.pl:607
46388 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
46393 #: ../tools/virt-win-reg.pl:609
46394 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
46398 #: ../tools/virt-win-reg.pl:611
46400 "If you are unsure about the current encoding, use the L<file(1)> command. "
46401 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
46402 "style (CRLF) line endings, like this:"
46406 #: ../tools/virt-win-reg.pl:615
46409 " $ file software.reg\n"
46410 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
46411 " with CRLF line terminators\n"
46416 #: ../tools/virt-win-reg.pl:619
46417 msgid "This file would need conversion before you could I<--merge> it."
46421 #: ../tools/virt-win-reg.pl:621
46422 msgid "CurrentControlSet etc."
46426 #: ../tools/virt-win-reg.pl:623
46428 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
46429 "Registry at the level of the hive file, and therefore you cannot modify "
46434 #: ../tools/virt-win-reg.pl:627
46436 "C<CurrentControlSet> is usually an alias for C<ControlSet001>. In some "
46437 "circumstances it might refer to another control set. The way to find out is "
46438 "to look at the C<HKLM\\SYSTEM\\Select> key:"
46442 #: ../tools/virt-win-reg.pl:631
46445 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
46446 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
46447 " \"Current\"=dword:00000001\n"
46448 " \"Default\"=dword:00000001\n"
46449 " \"Failed\"=dword:00000000\n"
46450 " \"LastKnownGood\"=dword:00000002\n"
46455 #: ../tools/virt-win-reg.pl:638
46456 msgid "\"Current\" is the one which Windows will choose when it boots."
46460 #: ../tools/virt-win-reg.pl:640
46462 "Similarly, other C<Current...> keys in the path may need to be replaced."
46466 #: ../tools/virt-win-reg.pl:643
46467 msgid "WINDOWS TIPS"
46471 #: ../tools/virt-win-reg.pl:645
46473 "Note that some of these tips modify the guest disk image. The guest I<must> "
46474 "be shut off, else you will get disk corruption."
46478 #: ../tools/virt-win-reg.pl:648
46479 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
46483 #: ../tools/virt-win-reg.pl:650
46485 "Prepare a DOS batch script, VBScript or executable. Upload this using "
46486 "L<guestfish(1)>. For this example the script is called C<test.bat> and it "
46487 "is uploaded into C<C:\\>:"
46491 #: ../tools/virt-win-reg.pl:654
46494 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
46499 #: ../tools/virt-win-reg.pl:656
46500 msgid "Prepare a regedit file containing the registry change:"
46504 #: ../tools/virt-win-reg.pl:658
46507 " cat > test.reg <<'EOF'\n"
46508 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
46509 " \"Test\"=\"c:\\\\test.bat\"\n"
46515 #: ../tools/virt-win-reg.pl:663
46517 "In this example we use the key C<RunOnce> which means that the script will "
46518 "run precisely once when the first user logs in. If you want it to run every "
46519 "time a user logs in, replace C<RunOnce> with C<Run>."
46523 #: ../tools/virt-win-reg.pl:667
46524 msgid "Now update the registry:"
46528 #: ../tools/virt-win-reg.pl:669
46531 " virt-win-reg --merge WindowsGuest test.reg\n"
46536 #: ../tools/virt-win-reg.pl:671
46537 msgid "INSTALLING A SERVICE"
46541 #: ../tools/virt-win-reg.pl:673
46543 "This section assumes you are familiar with Windows services, and you either "
46544 "have a program which handles the Windows Service Control Protocol directly "
46545 "or you want to run any program using a service wrapper like SrvAny or the "
46550 #: ../tools/virt-win-reg.pl:678
46552 "First upload the program and optionally the service wrapper. In this case "
46553 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
46557 #: ../tools/virt-win-reg.pl:682
46560 " guestfish -i -d WindowsGuest <<EOF\n"
46561 " upload rhsrvany.exe /rhsrvany.exe\n"
46562 " upload test.exe /test.exe\n"
46568 #: ../tools/virt-win-reg.pl:687
46570 "Prepare a regedit file containing the registry changes. In this example, "
46571 "the first registry change is needed for the service itself or the service "
46572 "wrapper (if used). The second registry change is only needed because I am "
46573 "using the RHSrvAny service wrapper."
46577 #: ../tools/virt-win-reg.pl:692
46580 " cat > service.reg <<'EOF'\n"
46581 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
46582 " \"Type\"=dword:00000010\n"
46583 " \"Start\"=dword:00000002\n"
46584 " \"ErrorControl\"=dword:00000001\n"
46585 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
46586 " \"DisplayName\"=\"RHSrvAny\"\n"
46587 " \"ObjectName\"=\"NetworkService\"\n"
46592 #: ../tools/virt-win-reg.pl:701
46595 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
46596 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
46597 " \"PWD\"=\"c:\\\\Temp\"\n"
46603 #: ../tools/virt-win-reg.pl:712
46605 "For use of C<ControlSet001> see the section above in this manual page. You "
46606 "may need to adjust this according to the control set that is in use by the "
46611 #: ../tools/virt-win-reg.pl:718
46613 "C<\"ObjectName\"> controls the privileges that the service will have. An "
46614 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
46615 "privileged account."
46619 #: ../tools/virt-win-reg.pl:724
46621 "For the meaning of the magic numbers, see this Microsoft KB article: "
46622 "L<http://support.microsoft.com/kb/103000>."
46626 #: ../tools/virt-win-reg.pl:729
46627 msgid "Update the registry:"
46631 #: ../tools/virt-win-reg.pl:731
46634 " virt-win-reg --merge WindowsGuest service.reg\n"
46639 #: ../tools/virt-win-reg.pl:735
46641 "Be careful when passing parameters containing C<\\> (backslash) in the "
46642 "shell. Usually you will have to use 'single quotes' or double backslashes "
46643 "(but not both) to protect them from the shell."
46647 #: ../tools/virt-win-reg.pl:739
46648 msgid "Paths and value names are case-insensitive."
46652 #: ../tools/virt-win-reg.pl:748
46654 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
46655 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
46656 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
46660 #: ../tools/virt-win-reg.pl:766
46663 " export LIBGUESTFS_DEBUG=1\n"
46664 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
46669 #: ../tools/virt-win-reg.pl:769
46671 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
46675 #~ msgid "B<-a> | B<--all>"
46676 #~ msgstr "B<-a> | B<--all>"
46678 #~ msgid "B<-x> | B<--extract> | B<--download>"
46679 #~ msgstr "B<-x> | B<--extract> | B<--download>"