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-18 11:32+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 ../libguestfs-1.11.19/cat/virt-cat.pod:3
29 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:3
30 #: ../libguestfs-1.11.19/cat/virt-ls.pod:3
31 #: ../libguestfs-1.11.19/df/virt-df.pod:3
32 #: ../libguestfs-1.11.19/edit/virt-edit.pod:3
33 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:3
34 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:14
35 #: ../libguestfs-1.11.19/fish/guestfish.pod:3
36 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:3
37 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:3
38 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:3
39 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:3
40 #: ../libguestfs-1.11.19/fuse/guestmount.pod:3
41 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:3
42 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:3
43 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:3
44 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:3
45 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:3
46 #: ../libguestfs-1.11.19/resize/virt-resize.pod:3
47 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:3
48 #: ../libguestfs-1.11.19/src/guestfs.pod:3
49 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:3
50 #: ../ocaml/examples/guestfs-ocaml.pod:3 ../perl/examples/guestfs-perl.pod:3
51 #: ../python/examples/guestfs-python.pod:3 ../rescue/virt-rescue.pod:3
52 #: ../resize/virt-resize.pod:3 ../ruby/examples/guestfs-ruby.pod:3
53 #: ../src/guestfs.pod:3 ../test-tool/libguestfs-test-tool.pod:3
54 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
55 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31
56 #: ../tools/virt-win-reg.pl:35
61 #: ../cat/virt-cat.pod:5 ../libguestfs-1.11.19/cat/virt-cat.pod:5
62 msgid "virt-cat - Display files in a virtual machine"
66 #: ../cat/virt-cat.pod:7 ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7
67 #: ../df/virt-df.pod:7 ../edit/virt-edit.pod:7
68 #: ../examples/guestfs-examples.pod:7 ../fish/guestfish.pod:7
69 #: ../fish/virt-copy-in.pod:7 ../fish/virt-copy-out.pod:7
70 #: ../fish/virt-tar-in.pod:7 ../fish/virt-tar-out.pod:7
71 #: ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pod:7
72 #: ../libguestfs-1.11.19/cat/virt-cat.pod:7
73 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:7
74 #: ../libguestfs-1.11.19/cat/virt-ls.pod:7
75 #: ../libguestfs-1.11.19/df/virt-df.pod:7
76 #: ../libguestfs-1.11.19/edit/virt-edit.pod:7
77 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:7
78 #: ../libguestfs-1.11.19/fish/guestfish.pod:7
79 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:7
80 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:7
81 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:7
82 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:7
83 #: ../libguestfs-1.11.19/fuse/guestmount.pod:7
84 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:7
85 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:7
86 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:7
87 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:7
88 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:7
89 #: ../libguestfs-1.11.19/resize/virt-resize.pod:7
90 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:7
91 #: ../libguestfs-1.11.19/src/guestfs.pod:7
92 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:7
93 #: ../ocaml/examples/guestfs-ocaml.pod:7 ../perl/examples/guestfs-perl.pod:7
94 #: ../python/examples/guestfs-python.pod:7 ../rescue/virt-rescue.pod:7
95 #: ../resize/virt-resize.pod:7 ../ruby/examples/guestfs-ruby.pod:7
96 #: ../src/guestfs.pod:7 ../test-tool/libguestfs-test-tool.pod:7
97 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
98 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35
99 #: ../tools/virt-win-reg.pl:39
101 msgstr "КОРОТКИЙ ОПИС"
104 #: ../cat/virt-cat.pod:9 ../libguestfs-1.11.19/cat/virt-cat.pod:9
107 #| " virt-list-partitions [--options] domname\n"
110 " virt-cat [--options] -d domname file [file ...]\n"
113 " virt-list-partitions [--параметри] назва_домену\n"
117 #: ../cat/virt-cat.pod:11 ../libguestfs-1.11.19/cat/virt-cat.pod:11
120 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
123 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
126 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
130 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
131 #: ../inspector/virt-inspector.pod:13
132 #: ../libguestfs-1.11.19/cat/virt-cat.pod:13
133 #: ../libguestfs-1.11.19/edit/virt-edit.pod:15
134 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:13
139 #: ../cat/virt-cat.pod:15 ../libguestfs-1.11.19/cat/virt-cat.pod:15
142 " virt-cat domname file\n"
147 #: ../cat/virt-cat.pod:17 ../libguestfs-1.11.19/cat/virt-cat.pod:17
150 " virt-cat disk.img file\n"
155 #: ../cat/virt-cat.pod:19 ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
156 #: ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
157 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
158 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19
159 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21
160 #: ../fish/virt-tar-out.pod:15 ../fuse/guestmount.pod:20
161 #: ../inspector/virt-inspector.pod:19
162 #: ../libguestfs-1.11.19/cat/virt-cat.pod:19
163 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:13
164 #: ../libguestfs-1.11.19/cat/virt-ls.pod:19
165 #: ../libguestfs-1.11.19/df/virt-df.pod:21
166 #: ../libguestfs-1.11.19/edit/virt-edit.pod:27
167 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:19
168 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:18
169 #: ../libguestfs-1.11.19/fish/guestfish.pod:30
170 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:19
171 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:13
172 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:21
173 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:15
174 #: ../libguestfs-1.11.19/fuse/guestmount.pod:20
175 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:19
176 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:25
177 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:18
178 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:14
179 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:29
180 #: ../libguestfs-1.11.19/resize/virt-resize.pod:13
181 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:15
182 #: ../libguestfs-1.11.19/src/guestfs.pod:23
183 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:11
184 #: ../ocaml/examples/guestfs-ocaml.pod:25 ../perl/examples/guestfs-perl.pod:18
185 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:29
186 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
187 #: ../src/guestfs.pod:23 ../test-tool/libguestfs-test-tool.pod:11
188 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
189 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
190 #: ../tools/virt-win-reg.pl:63
195 #: ../cat/virt-cat.pod:21 ../libguestfs-1.11.19/cat/virt-cat.pod:21
197 "C<virt-cat> is a command line tool to display the contents of C<file> where "
198 "C<file> exists in the named virtual machine (or disk image)."
202 #: ../cat/virt-cat.pod:24 ../libguestfs-1.11.19/cat/virt-cat.pod:24
204 "Multiple filenames can be given, in which case they are concatenated "
205 "together. Each filename must be a full path, starting at the root directory "
206 "(starting with '/')."
210 #: ../cat/virt-cat.pod:28 ../libguestfs-1.11.19/cat/virt-cat.pod:28
212 "C<virt-cat> can be used to quickly view a file. To edit a file, use C<virt-"
213 "edit>. For more complex cases you should look at the L<guestfish(1)> tool "
214 "(see L</USING GUESTFISH> below)."
218 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
219 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
220 #: ../fish/guestfish.pod:1007 ../fish/virt-copy-in.pod:29
221 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
222 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
223 #: ../libguestfs-1.11.19/cat/virt-cat.pod:32
224 #: ../libguestfs-1.11.19/cat/virt-ls.pod:35
225 #: ../libguestfs-1.11.19/df/virt-df.pod:43
226 #: ../libguestfs-1.11.19/edit/virt-edit.pod:44
227 #: ../libguestfs-1.11.19/fish/guestfish.pod:41
228 #: ../libguestfs-1.11.19/fish/guestfish.pod:1007
229 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:29
230 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:21
231 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:30
232 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:24
233 #: ../libguestfs-1.11.19/fuse/guestmount.pod:39
234 #: ../libguestfs-1.11.19/resize/virt-resize.pod:27
235 #: ../resize/virt-resize.pod:27 ../tools/virt-tar.pl:50
240 #: ../cat/virt-cat.pod:34 ../libguestfs-1.11.19/cat/virt-cat.pod:34
242 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
246 #: ../cat/virt-cat.pod:37 ../libguestfs-1.11.19/cat/virt-cat.pod:37
249 " virt-cat -d mydomain /etc/fstab\n"
254 #: ../cat/virt-cat.pod:39 ../libguestfs-1.11.19/cat/virt-cat.pod:39
255 msgid "List syslog messages from a VM disk image file:"
259 #: ../cat/virt-cat.pod:41 ../libguestfs-1.11.19/cat/virt-cat.pod:41
262 " virt-cat -a disk.img /var/log/messages | tail\n"
267 #: ../cat/virt-cat.pod:43 ../libguestfs-1.11.19/cat/virt-cat.pod:43
268 msgid "Find out what DHCP IP address a VM acquired:"
272 #: ../cat/virt-cat.pod:45 ../libguestfs-1.11.19/cat/virt-cat.pod:45
275 " virt-cat -d mydomain /var/log/messages | \\\n"
276 " grep 'dhclient: bound to' | tail\n"
281 #: ../cat/virt-cat.pod:48 ../libguestfs-1.11.19/cat/virt-cat.pod:48
282 msgid "Find out what packages were recently installed:"
286 #: ../cat/virt-cat.pod:50 ../libguestfs-1.11.19/cat/virt-cat.pod:50
289 " virt-cat -d mydomain /var/log/yum.log | tail\n"
294 #: ../cat/virt-cat.pod:52 ../libguestfs-1.11.19/cat/virt-cat.pod:52
295 msgid "Find out who is logged on inside a virtual machine:"
299 #: ../cat/virt-cat.pod:54 ../libguestfs-1.11.19/cat/virt-cat.pod:54
302 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
308 #: ../cat/virt-cat.pod:57 ../libguestfs-1.11.19/cat/virt-cat.pod:57
309 msgid "or who was logged on:"
313 #: ../cat/virt-cat.pod:59 ../libguestfs-1.11.19/cat/virt-cat.pod:59
316 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
317 " last -f /tmp/wtmp\n"
322 #: ../cat/virt-cat.pod:62 ../cat/virt-filesystems.pod:91
323 #: ../cat/virt-ls.pod:261 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
324 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
325 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
326 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:83
327 #: ../inspector/virt-inspector.pod:55
328 #: ../libguestfs-1.11.19/cat/virt-cat.pod:62
329 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:91
330 #: ../libguestfs-1.11.19/cat/virt-ls.pod:261
331 #: ../libguestfs-1.11.19/df/virt-df.pod:59
332 #: ../libguestfs-1.11.19/edit/virt-edit.pod:62
333 #: ../libguestfs-1.11.19/fish/guestfish.pod:148
334 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:45
335 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:34
336 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:42
337 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:36
338 #: ../libguestfs-1.11.19/fuse/guestmount.pod:83
339 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:55
340 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:84
341 #: ../libguestfs-1.11.19/resize/virt-resize.pod:241
342 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:37
343 #: ../rescue/virt-rescue.pod:84 ../resize/virt-resize.pod:241
344 #: ../test-tool/libguestfs-test-tool.pod:37
345 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
346 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
347 #: ../tools/virt-win-reg.pl:96
352 #: ../cat/virt-cat.pod:66 ../cat/virt-filesystems.pod:95
353 #: ../cat/virt-ls.pod:265 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
354 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:151
355 #: ../inspector/virt-inspector.pod:59
356 #: ../libguestfs-1.11.19/cat/virt-cat.pod:66
357 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:95
358 #: ../libguestfs-1.11.19/cat/virt-ls.pod:265
359 #: ../libguestfs-1.11.19/df/virt-df.pod:63
360 #: ../libguestfs-1.11.19/edit/virt-edit.pod:66
361 #: ../libguestfs-1.11.19/fish/guestfish.pod:152
362 #: ../libguestfs-1.11.19/fuse/guestmount.pod:151
363 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:59
364 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:88
365 #: ../libguestfs-1.11.19/resize/virt-resize.pod:245
366 #: ../rescue/virt-rescue.pod:88 ../resize/virt-resize.pod:245
367 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
368 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
369 #: ../tools/virt-win-reg.pl:104
374 #: ../cat/virt-cat.pod:68 ../cat/virt-filesystems.pod:97
375 #: ../cat/virt-ls.pod:267 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
376 #: ../inspector/virt-inspector.pod:61
377 #: ../libguestfs-1.11.19/cat/virt-cat.pod:68
378 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:97
379 #: ../libguestfs-1.11.19/cat/virt-ls.pod:267
380 #: ../libguestfs-1.11.19/df/virt-df.pod:65
381 #: ../libguestfs-1.11.19/edit/virt-edit.pod:68
382 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:61
383 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:90
384 #: ../rescue/virt-rescue.pod:90 ../tools/virt-list-filesystems.pl:63
385 #: ../tools/virt-list-partitions.pl:64 ../tools/virt-make-fs.pl:163
386 #: ../tools/virt-tar.pl:113 ../tools/virt-win-reg.pl:106
387 msgid "Display brief help."
391 #: ../cat/virt-cat.pod:70 ../cat/virt-filesystems.pod:99
392 #: ../cat/virt-ls.pod:269 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
393 #: ../inspector/virt-inspector.pod:63
394 #: ../libguestfs-1.11.19/cat/virt-cat.pod:70
395 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:99
396 #: ../libguestfs-1.11.19/cat/virt-ls.pod:269
397 #: ../libguestfs-1.11.19/df/virt-df.pod:67
398 #: ../libguestfs-1.11.19/edit/virt-edit.pod:70
399 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:63
400 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:92
401 #: ../rescue/virt-rescue.pod:92
403 #| msgid "B<-f file>"
408 #: ../cat/virt-cat.pod:72 ../cat/virt-filesystems.pod:101
409 #: ../cat/virt-ls.pod:271 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
410 #: ../inspector/virt-inspector.pod:65
411 #: ../libguestfs-1.11.19/cat/virt-cat.pod:72
412 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:101
413 #: ../libguestfs-1.11.19/cat/virt-ls.pod:271
414 #: ../libguestfs-1.11.19/df/virt-df.pod:69
415 #: ../libguestfs-1.11.19/edit/virt-edit.pod:72
416 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:65
417 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:94
418 #: ../rescue/virt-rescue.pod:94
420 #| msgid "B<--add image>"
421 msgid "B<--add> file"
422 msgstr "B<--add образ>"
425 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
426 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
427 #: ../inspector/virt-inspector.pod:67
428 #: ../libguestfs-1.11.19/cat/virt-cat.pod:74
429 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:103
430 #: ../libguestfs-1.11.19/cat/virt-ls.pod:273
431 #: ../libguestfs-1.11.19/df/virt-df.pod:71
432 #: ../libguestfs-1.11.19/edit/virt-edit.pod:74
433 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:67
434 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:96
435 #: ../rescue/virt-rescue.pod:96
437 "Add I<file> which should be a disk image from a virtual machine. If the "
438 "virtual machine has multiple block devices, you must supply all of them with "
439 "separate I<-a> options."
443 #: ../cat/virt-cat.pod:78 ../cat/virt-filesystems.pod:107
444 #: ../cat/virt-ls.pod:277 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
445 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:93
446 #: ../inspector/virt-inspector.pod:71
447 #: ../libguestfs-1.11.19/cat/virt-cat.pod:78
448 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:107
449 #: ../libguestfs-1.11.19/cat/virt-ls.pod:277
450 #: ../libguestfs-1.11.19/df/virt-df.pod:75
451 #: ../libguestfs-1.11.19/edit/virt-edit.pod:78
452 #: ../libguestfs-1.11.19/fish/guestfish.pod:174
453 #: ../libguestfs-1.11.19/fuse/guestmount.pod:93
454 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:71
455 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:100
456 #: ../rescue/virt-rescue.pod:100
458 "The format of the disk image is auto-detected. To override this and force a "
459 "particular format use the I<--format=..> option."
463 #: ../cat/virt-cat.pod:81 ../cat/virt-filesystems.pod:125
464 #: ../cat/virt-ls.pod:291 ../df/virt-df.pod:78
465 #: ../libguestfs-1.11.19/cat/virt-cat.pod:81
466 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:125
467 #: ../libguestfs-1.11.19/cat/virt-ls.pod:291
468 #: ../libguestfs-1.11.19/df/virt-df.pod:78
469 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:107
470 #: ../rescue/virt-rescue.pod:107
474 msgstr "B<-c адреса>"
477 #: ../cat/virt-cat.pod:83 ../cat/virt-filesystems.pod:127
478 #: ../cat/virt-ls.pod:293 ../df/virt-df.pod:80
479 #: ../libguestfs-1.11.19/cat/virt-cat.pod:83
480 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:127
481 #: ../libguestfs-1.11.19/cat/virt-ls.pod:293
482 #: ../libguestfs-1.11.19/df/virt-df.pod:80
483 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:109
484 #: ../rescue/virt-rescue.pod:109
486 #| msgid "B<--connect URI>"
487 msgid "B<--connect> URI"
488 msgstr "B<--connect адреса>"
491 #: ../cat/virt-cat.pod:85 ../cat/virt-filesystems.pod:129
492 #: ../cat/virt-ls.pod:295 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
493 #: ../inspector/virt-inspector.pod:78
494 #: ../libguestfs-1.11.19/cat/virt-cat.pod:85
495 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:129
496 #: ../libguestfs-1.11.19/cat/virt-ls.pod:295
497 #: ../libguestfs-1.11.19/df/virt-df.pod:82
498 #: ../libguestfs-1.11.19/edit/virt-edit.pod:99
499 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:78
500 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:111
501 #: ../rescue/virt-rescue.pod:111 ../tools/virt-list-filesystems.pl:81
502 #: ../tools/virt-list-partitions.pl:82 ../tools/virt-tar.pl:131
503 #: ../tools/virt-win-reg.pl:132
505 "If using libvirt, connect to the given I<URI>. If omitted, then we connect "
506 "to the default libvirt hypervisor."
510 #: ../cat/virt-cat.pod:88 ../cat/virt-filesystems.pod:132
511 #: ../cat/virt-ls.pod:298 ../df/virt-df.pod:85
512 #: ../libguestfs-1.11.19/cat/virt-cat.pod:88
513 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:132
514 #: ../libguestfs-1.11.19/cat/virt-ls.pod:298
515 #: ../libguestfs-1.11.19/df/virt-df.pod:85
516 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:114
517 #: ../rescue/virt-rescue.pod:114
519 "If you specify guest block devices directly (I<-a>), then libvirt is not "
524 #: ../cat/virt-cat.pod:91 ../cat/virt-filesystems.pod:141
525 #: ../cat/virt-ls.pod:307 ../df/virt-df.pod:88 ../edit/virt-edit.pod:105
526 #: ../inspector/virt-inspector.pod:85
527 #: ../libguestfs-1.11.19/cat/virt-cat.pod:91
528 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:141
529 #: ../libguestfs-1.11.19/cat/virt-ls.pod:307
530 #: ../libguestfs-1.11.19/df/virt-df.pod:88
531 #: ../libguestfs-1.11.19/edit/virt-edit.pod:105
532 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:85
533 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:117
534 #: ../rescue/virt-rescue.pod:117
539 #: ../cat/virt-cat.pod:93 ../cat/virt-filesystems.pod:143
540 #: ../cat/virt-ls.pod:309 ../df/virt-df.pod:90 ../edit/virt-edit.pod:107
541 #: ../inspector/virt-inspector.pod:87
542 #: ../libguestfs-1.11.19/cat/virt-cat.pod:93
543 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:143
544 #: ../libguestfs-1.11.19/cat/virt-ls.pod:309
545 #: ../libguestfs-1.11.19/df/virt-df.pod:90
546 #: ../libguestfs-1.11.19/edit/virt-edit.pod:107
547 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:87
548 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:119
549 #: ../rescue/virt-rescue.pod:119
550 msgid "B<--domain> guest"
554 #: ../cat/virt-cat.pod:95 ../cat/virt-filesystems.pod:145
555 #: ../cat/virt-ls.pod:311 ../df/virt-df.pod:92 ../edit/virt-edit.pod:109
556 #: ../inspector/virt-inspector.pod:89
557 #: ../libguestfs-1.11.19/cat/virt-cat.pod:95
558 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:145
559 #: ../libguestfs-1.11.19/cat/virt-ls.pod:311
560 #: ../libguestfs-1.11.19/df/virt-df.pod:92
561 #: ../libguestfs-1.11.19/edit/virt-edit.pod:109
562 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:89
563 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:121
564 #: ../rescue/virt-rescue.pod:121
566 "Add all the disks from the named libvirt guest. Domain UUIDs can be used "
571 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
572 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
573 #: ../fuse/guestmount.pod:126 ../inspector/virt-inspector.pod:92
574 #: ../libguestfs-1.11.19/cat/virt-cat.pod:98
575 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:148
576 #: ../libguestfs-1.11.19/cat/virt-ls.pod:314
577 #: ../libguestfs-1.11.19/edit/virt-edit.pod:112
578 #: ../libguestfs-1.11.19/fish/guestfish.pod:217
579 #: ../libguestfs-1.11.19/fuse/guestmount.pod:126
580 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:92
581 msgid "B<--echo-keys>"
582 msgstr "B<--echo-keys>"
585 #: ../cat/virt-cat.pod:100 ../libguestfs-1.11.19/cat/virt-cat.pod:100
587 "When prompting for keys and passphrases, virt-cat normally turns echoing off "
588 "so you cannot see what you are typing. If you are not worried about Tempest "
589 "attacks and there is no one else in the room you can specify this flag to "
590 "see what you are typing."
594 #: ../cat/virt-cat.pod:105 ../cat/virt-filesystems.pod:170
595 #: ../cat/virt-ls.pod:328 ../df/virt-df.pod:95 ../fish/guestfish.pod:233
596 #: ../fuse/guestmount.pod:133 ../inspector/virt-inspector.pod:99
597 #: ../libguestfs-1.11.19/cat/virt-cat.pod:105
598 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:170
599 #: ../libguestfs-1.11.19/cat/virt-ls.pod:328
600 #: ../libguestfs-1.11.19/df/virt-df.pod:95
601 #: ../libguestfs-1.11.19/fish/guestfish.pod:233
602 #: ../libguestfs-1.11.19/fuse/guestmount.pod:133
603 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:99
604 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:124
605 #: ../rescue/virt-rescue.pod:124
606 msgid "B<--format=raw|qcow2|..>"
607 msgstr "B<--format=raw|qcow2|..>"
610 #: ../cat/virt-cat.pod:107 ../cat/virt-filesystems.pod:172
611 #: ../cat/virt-ls.pod:330 ../df/virt-df.pod:97 ../edit/virt-edit.pod:134
612 #: ../fish/guestfish.pod:235 ../fuse/guestmount.pod:135
613 #: ../inspector/virt-inspector.pod:101
614 #: ../libguestfs-1.11.19/cat/virt-cat.pod:107
615 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:172
616 #: ../libguestfs-1.11.19/cat/virt-ls.pod:330
617 #: ../libguestfs-1.11.19/df/virt-df.pod:97
618 #: ../libguestfs-1.11.19/edit/virt-edit.pod:134
619 #: ../libguestfs-1.11.19/fish/guestfish.pod:235
620 #: ../libguestfs-1.11.19/fuse/guestmount.pod:135
621 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:101
622 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:126
623 #: ../rescue/virt-rescue.pod:126
628 #: ../cat/virt-cat.pod:109 ../cat/virt-filesystems.pod:174
629 #: ../cat/virt-ls.pod:332 ../df/virt-df.pod:99 ../edit/virt-edit.pod:136
630 #: ../fish/guestfish.pod:237 ../fuse/guestmount.pod:137
631 #: ../libguestfs-1.11.19/cat/virt-cat.pod:109
632 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:174
633 #: ../libguestfs-1.11.19/cat/virt-ls.pod:332
634 #: ../libguestfs-1.11.19/df/virt-df.pod:99
635 #: ../libguestfs-1.11.19/edit/virt-edit.pod:136
636 #: ../libguestfs-1.11.19/fish/guestfish.pod:237
637 #: ../libguestfs-1.11.19/fuse/guestmount.pod:137
638 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:128
639 #: ../rescue/virt-rescue.pod:128
641 "The default for the I<-a> option is to auto-detect the format of the disk "
642 "image. Using this forces the disk format for I<-a> options which follow on "
643 "the command line. Using I<--format> with no argument switches back to auto-"
644 "detection for subsequent I<-a> options."
648 #: ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179
649 #: ../cat/virt-ls.pod:337 ../df/virt-df.pod:104 ../edit/virt-edit.pod:141
650 #: ../fish/guestfish.pod:242 ../fish/guestfish.pod:673
651 #: ../inspector/virt-inspector.pod:335
652 #: ../libguestfs-1.11.19/cat/virt-cat.pod:114
653 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:179
654 #: ../libguestfs-1.11.19/cat/virt-ls.pod:337
655 #: ../libguestfs-1.11.19/df/virt-df.pod:104
656 #: ../libguestfs-1.11.19/edit/virt-edit.pod:141
657 #: ../libguestfs-1.11.19/fish/guestfish.pod:242
658 #: ../libguestfs-1.11.19/fish/guestfish.pod:673
659 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:335
660 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:133
661 #: ../libguestfs-1.11.19/src/guestfs.pod:2652 ../rescue/virt-rescue.pod:133
662 #: ../src/guestfs.pod:2652
667 #: ../cat/virt-cat.pod:116 ../libguestfs-1.11.19/cat/virt-cat.pod:116
670 #| " guestfish --format=raw -a disk.img\n"
673 " virt-cat --format=raw -a disk.img file\n"
676 " guestfish --format=raw -a disk.img\n"
680 #: ../cat/virt-cat.pod:118 ../cat/virt-filesystems.pod:183
681 #: ../cat/virt-ls.pod:341 ../df/virt-df.pod:108 ../edit/virt-edit.pod:145
682 #: ../fish/guestfish.pod:246 ../libguestfs-1.11.19/cat/virt-cat.pod:118
683 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:183
684 #: ../libguestfs-1.11.19/cat/virt-ls.pod:341
685 #: ../libguestfs-1.11.19/df/virt-df.pod:108
686 #: ../libguestfs-1.11.19/edit/virt-edit.pod:145
687 #: ../libguestfs-1.11.19/fish/guestfish.pod:246
688 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:137
689 #: ../rescue/virt-rescue.pod:137
690 msgid "forces raw format (no auto-detection) for C<disk.img>."
694 #: ../cat/virt-cat.pod:120 ../libguestfs-1.11.19/cat/virt-cat.pod:120
697 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
700 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
703 " guestfish --format=raw -a disk.img --format -a another.img\n"
707 #: ../cat/virt-cat.pod:122 ../cat/virt-filesystems.pod:187
708 #: ../cat/virt-ls.pod:345 ../df/virt-df.pod:112 ../edit/virt-edit.pod:149
709 #: ../fish/guestfish.pod:250 ../libguestfs-1.11.19/cat/virt-cat.pod:122
710 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:187
711 #: ../libguestfs-1.11.19/cat/virt-ls.pod:345
712 #: ../libguestfs-1.11.19/df/virt-df.pod:112
713 #: ../libguestfs-1.11.19/edit/virt-edit.pod:149
714 #: ../libguestfs-1.11.19/fish/guestfish.pod:250
715 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:141
716 #: ../rescue/virt-rescue.pod:141
718 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
719 "detection for C<another.img>."
723 #: ../cat/virt-cat.pod:125 ../cat/virt-filesystems.pod:190
724 #: ../cat/virt-ls.pod:348 ../df/virt-df.pod:115 ../edit/virt-edit.pod:152
725 #: ../libguestfs-1.11.19/cat/virt-cat.pod:125
726 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:190
727 #: ../libguestfs-1.11.19/cat/virt-ls.pod:348
728 #: ../libguestfs-1.11.19/df/virt-df.pod:115
729 #: ../libguestfs-1.11.19/edit/virt-edit.pod:152
730 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:144
731 #: ../rescue/virt-rescue.pod:144
733 "If you have untrusted raw-format guest disk images, you should use this "
734 "option to specify the disk format. This avoids a possible security problem "
735 "with malicious guests (CVE-2010-3851)."
739 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
740 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
741 #: ../fuse/guestmount.pod:163 ../inspector/virt-inspector.pod:114
742 #: ../libguestfs-1.11.19/cat/virt-cat.pod:129
743 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:200
744 #: ../libguestfs-1.11.19/cat/virt-ls.pod:361
745 #: ../libguestfs-1.11.19/edit/virt-edit.pod:156
746 #: ../libguestfs-1.11.19/fish/guestfish.pod:289
747 #: ../libguestfs-1.11.19/fuse/guestmount.pod:163
748 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:114
749 msgid "B<--keys-from-stdin>"
750 msgstr "B<--keys-from-stdin>"
753 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
754 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
755 #: ../fuse/guestmount.pod:165 ../inspector/virt-inspector.pod:116
756 #: ../libguestfs-1.11.19/cat/virt-cat.pod:131
757 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:202
758 #: ../libguestfs-1.11.19/cat/virt-ls.pod:363
759 #: ../libguestfs-1.11.19/edit/virt-edit.pod:158
760 #: ../libguestfs-1.11.19/fish/guestfish.pod:291
761 #: ../libguestfs-1.11.19/fuse/guestmount.pod:165
762 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:116
764 "Read key or passphrase parameters from stdin. The default is to try to read "
765 "passphrases from the user by opening C</dev/tty>."
769 #: ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261
770 #: ../cat/virt-ls.pod:425 ../df/virt-df.pod:167 ../edit/virt-edit.pod:161
771 #: ../fish/guestfish.pod:390 ../fuse/guestmount.pod:257
772 #: ../inspector/virt-inspector.pod:119
773 #: ../libguestfs-1.11.19/cat/virt-cat.pod:134
774 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:261
775 #: ../libguestfs-1.11.19/cat/virt-ls.pod:425
776 #: ../libguestfs-1.11.19/df/virt-df.pod:167
777 #: ../libguestfs-1.11.19/edit/virt-edit.pod:161
778 #: ../libguestfs-1.11.19/fish/guestfish.pod:390
779 #: ../libguestfs-1.11.19/fuse/guestmount.pod:257
780 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:119
781 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:178
782 #: ../rescue/virt-rescue.pod:178
787 #: ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263
788 #: ../cat/virt-ls.pod:427 ../df/virt-df.pod:169 ../edit/virt-edit.pod:163
789 #: ../fish/guestfish.pod:392 ../fuse/guestmount.pod:259
790 #: ../inspector/virt-inspector.pod:121
791 #: ../libguestfs-1.11.19/cat/virt-cat.pod:136
792 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:263
793 #: ../libguestfs-1.11.19/cat/virt-ls.pod:427
794 #: ../libguestfs-1.11.19/df/virt-df.pod:169
795 #: ../libguestfs-1.11.19/edit/virt-edit.pod:163
796 #: ../libguestfs-1.11.19/fish/guestfish.pod:392
797 #: ../libguestfs-1.11.19/fuse/guestmount.pod:259
798 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:121
799 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:180
800 #: ../rescue/virt-rescue.pod:180
802 msgstr "B<--verbose>"
805 #: ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265
806 #: ../cat/virt-ls.pod:429 ../df/virt-df.pod:171 ../edit/virt-edit.pod:165
807 #: ../inspector/virt-inspector.pod:123
808 #: ../libguestfs-1.11.19/cat/virt-cat.pod:138
809 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:265
810 #: ../libguestfs-1.11.19/cat/virt-ls.pod:429
811 #: ../libguestfs-1.11.19/df/virt-df.pod:171
812 #: ../libguestfs-1.11.19/edit/virt-edit.pod:165
813 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:123
814 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:182
815 #: ../rescue/virt-rescue.pod:182
816 msgid "Enable verbose messages for debugging."
820 #: ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267
821 #: ../cat/virt-ls.pod:431 ../df/virt-df.pod:173 ../edit/virt-edit.pod:167
822 #: ../fish/guestfish.pod:397 ../fuse/guestmount.pod:263
823 #: ../inspector/virt-inspector.pod:125
824 #: ../libguestfs-1.11.19/cat/virt-cat.pod:140
825 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:267
826 #: ../libguestfs-1.11.19/cat/virt-ls.pod:431
827 #: ../libguestfs-1.11.19/df/virt-df.pod:173
828 #: ../libguestfs-1.11.19/edit/virt-edit.pod:167
829 #: ../libguestfs-1.11.19/fish/guestfish.pod:397
830 #: ../libguestfs-1.11.19/fuse/guestmount.pod:263
831 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:125
832 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:184
833 #: ../libguestfs-1.11.19/resize/virt-resize.pod:478
834 #: ../rescue/virt-rescue.pod:184 ../resize/virt-resize.pod:478
839 #: ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269
840 #: ../cat/virt-ls.pod:433 ../df/virt-df.pod:175 ../edit/virt-edit.pod:169
841 #: ../fish/guestfish.pod:399 ../fuse/guestmount.pod:265
842 #: ../inspector/virt-inspector.pod:127
843 #: ../libguestfs-1.11.19/cat/virt-cat.pod:142
844 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:269
845 #: ../libguestfs-1.11.19/cat/virt-ls.pod:433
846 #: ../libguestfs-1.11.19/df/virt-df.pod:175
847 #: ../libguestfs-1.11.19/edit/virt-edit.pod:169
848 #: ../libguestfs-1.11.19/fish/guestfish.pod:399
849 #: ../libguestfs-1.11.19/fuse/guestmount.pod:265
850 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:127
851 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:186
852 #: ../libguestfs-1.11.19/resize/virt-resize.pod:480
853 #: ../rescue/virt-rescue.pod:186 ../resize/virt-resize.pod:480
854 #: ../tools/virt-list-filesystems.pl:69 ../tools/virt-list-partitions.pl:70
855 #: ../tools/virt-make-fs.pl:169 ../tools/virt-tar.pl:119
856 #: ../tools/virt-win-reg.pl:112
858 msgstr "B<--version>"
861 #: ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271
862 #: ../cat/virt-ls.pod:435 ../df/virt-df.pod:177 ../edit/virt-edit.pod:171
863 #: ../inspector/virt-inspector.pod:129
864 #: ../libguestfs-1.11.19/cat/virt-cat.pod:144
865 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:271
866 #: ../libguestfs-1.11.19/cat/virt-ls.pod:435
867 #: ../libguestfs-1.11.19/df/virt-df.pod:177
868 #: ../libguestfs-1.11.19/edit/virt-edit.pod:171
869 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:129
870 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:188
871 #: ../libguestfs-1.11.19/resize/virt-resize.pod:482
872 #: ../rescue/virt-rescue.pod:188 ../resize/virt-resize.pod:482
873 #: ../tools/virt-list-filesystems.pl:71 ../tools/virt-list-partitions.pl:72
874 #: ../tools/virt-make-fs.pl:171 ../tools/virt-tar.pl:121
875 #: ../tools/virt-win-reg.pl:114
876 msgid "Display version number and exit."
877 msgstr "Показати дані щодо версії і завершити роботу."
880 #: ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281
881 #: ../cat/virt-ls.pod:437 ../df/virt-df.pod:179 ../edit/virt-edit.pod:173
882 #: ../fish/guestfish.pod:412 ../fuse/guestmount.pod:278
883 #: ../inspector/virt-inspector.pod:131
884 #: ../libguestfs-1.11.19/cat/virt-cat.pod:146
885 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:281
886 #: ../libguestfs-1.11.19/cat/virt-ls.pod:437
887 #: ../libguestfs-1.11.19/df/virt-df.pod:179
888 #: ../libguestfs-1.11.19/edit/virt-edit.pod:173
889 #: ../libguestfs-1.11.19/fish/guestfish.pod:412
890 #: ../libguestfs-1.11.19/fuse/guestmount.pod:278
891 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:131
892 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:199
893 #: ../rescue/virt-rescue.pod:199 ../tools/virt-tar.pl:158
898 #: ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283
899 #: ../cat/virt-ls.pod:439 ../df/virt-df.pod:181 ../edit/virt-edit.pod:175
900 #: ../inspector/virt-inspector.pod:133
901 #: ../libguestfs-1.11.19/cat/virt-cat.pod:148
902 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:283
903 #: ../libguestfs-1.11.19/cat/virt-ls.pod:439
904 #: ../libguestfs-1.11.19/df/virt-df.pod:181
905 #: ../libguestfs-1.11.19/edit/virt-edit.pod:175
906 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:133
907 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:201
908 #: ../rescue/virt-rescue.pod:201
909 msgid "Enable tracing of libguestfs API calls."
913 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
914 #: ../inspector/virt-inspector.pod:137
915 #: ../libguestfs-1.11.19/cat/virt-cat.pod:152
916 #: ../libguestfs-1.11.19/cat/virt-ls.pod:443
917 #: ../libguestfs-1.11.19/edit/virt-edit.pod:179
918 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:137
919 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:205
920 #: ../rescue/virt-rescue.pod:205
921 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
925 #: ../cat/virt-cat.pod:154 ../libguestfs-1.11.19/cat/virt-cat.pod:154
926 msgid "Previous versions of virt-cat allowed you to write either:"
930 #: ../cat/virt-cat.pod:156 ../libguestfs-1.11.19/cat/virt-cat.pod:156
933 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
936 " virt-cat disk.img [disk.img ...] file\n"
939 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
943 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
944 #: ../inspector/virt-inspector.pod:143
945 #: ../libguestfs-1.11.19/cat/virt-cat.pod:158
946 #: ../libguestfs-1.11.19/cat/virt-ls.pod:449
947 #: ../libguestfs-1.11.19/edit/virt-edit.pod:185
948 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:143
949 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:211
950 #: ../rescue/virt-rescue.pod:211
957 #: ../cat/virt-cat.pod:160 ../libguestfs-1.11.19/cat/virt-cat.pod:160
960 " virt-cat guestname file\n"
965 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
966 #: ../inspector/virt-inspector.pod:147
967 #: ../libguestfs-1.11.19/cat/virt-cat.pod:162
968 #: ../libguestfs-1.11.19/cat/virt-ls.pod:453
969 #: ../libguestfs-1.11.19/edit/virt-edit.pod:189
970 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:147
971 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:215
972 #: ../rescue/virt-rescue.pod:215
974 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
975 "the confusing case where a disk image might have the same name as a guest."
979 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
980 #: ../inspector/virt-inspector.pod:151
981 #: ../libguestfs-1.11.19/cat/virt-cat.pod:166
982 #: ../libguestfs-1.11.19/cat/virt-ls.pod:457
983 #: ../libguestfs-1.11.19/edit/virt-edit.pod:193
984 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:151
985 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:219
986 #: ../rescue/virt-rescue.pod:219
987 msgid "For compatibility the old style is still supported."
991 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:297
992 #: ../libguestfs-1.11.19/cat/virt-cat.pod:168
993 #: ../libguestfs-1.11.19/edit/virt-edit.pod:297
994 msgid "USING GUESTFISH"
998 #: ../cat/virt-cat.pod:170 ../libguestfs-1.11.19/cat/virt-cat.pod:170
1000 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
1001 "C<virt-cat> doesn't work."
1005 #: ../cat/virt-cat.pod:173 ../libguestfs-1.11.19/cat/virt-cat.pod:173
1006 msgid "Using C<virt-cat> is approximately equivalent to doing:"
1010 #: ../cat/virt-cat.pod:175 ../libguestfs-1.11.19/cat/virt-cat.pod:175
1013 #| " guestfish --ro -d myguest -i\n"
1016 " guestfish --ro -i -d domname download file -\n"
1019 " guestfish --ro -d myguest -i\n"
1023 #: ../cat/virt-cat.pod:177 ../libguestfs-1.11.19/cat/virt-cat.pod:177
1025 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
1026 "path to the file. Note the final C<-> (meaning \"output to stdout\")."
1030 #: ../cat/virt-cat.pod:181 ../libguestfs-1.11.19/cat/virt-cat.pod:181
1032 "The command above uses libguestfs's guest inspection feature and so does not "
1033 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
1034 "disk images that don't contain guests. To display a file from a disk image "
1039 #: ../cat/virt-cat.pod:186 ../libguestfs-1.11.19/cat/virt-cat.pod:186
1042 #| " guestfish [--ro] -i disk.img\n"
1045 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
1048 " guestfish [--ro] -i disk.img\n"
1052 #: ../cat/virt-cat.pod:188 ../libguestfs-1.11.19/cat/virt-cat.pod:188
1054 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
1055 "the disk image to edit, and C<file> is the full path to the file."
1059 #: ../cat/virt-cat.pod:192 ../cat/virt-filesystems.pod:365
1060 #: ../cat/virt-ls.pod:483 ../df/virt-df.pod:209 ../edit/virt-edit.pod:342
1061 #: ../inspector/virt-inspector.pod:349
1062 #: ../libguestfs-1.11.19/cat/virt-cat.pod:192
1063 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:365
1064 #: ../libguestfs-1.11.19/cat/virt-ls.pod:483
1065 #: ../libguestfs-1.11.19/df/virt-df.pod:209
1066 #: ../libguestfs-1.11.19/edit/virt-edit.pod:342
1067 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:349
1068 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:262
1069 #: ../libguestfs-1.11.19/resize/virt-resize.pod:543
1070 #: ../rescue/virt-rescue.pod:262 ../resize/virt-resize.pod:543
1071 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
1072 #: ../tools/virt-make-fs.pl:532 ../tools/virt-tar.pl:289
1073 #: ../tools/virt-win-reg.pl:733
1074 msgid "SHELL QUOTING"
1078 #: ../cat/virt-cat.pod:194 ../cat/virt-filesystems.pod:367
1079 #: ../cat/virt-ls.pod:485 ../df/virt-df.pod:211 ../edit/virt-edit.pod:344
1080 #: ../inspector/virt-inspector.pod:351
1081 #: ../libguestfs-1.11.19/cat/virt-cat.pod:194
1082 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:367
1083 #: ../libguestfs-1.11.19/cat/virt-ls.pod:485
1084 #: ../libguestfs-1.11.19/df/virt-df.pod:211
1085 #: ../libguestfs-1.11.19/edit/virt-edit.pod:344
1086 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:351
1087 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:264
1088 #: ../libguestfs-1.11.19/resize/virt-resize.pod:545
1089 #: ../rescue/virt-rescue.pod:264 ../resize/virt-resize.pod:545
1090 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
1091 #: ../tools/virt-make-fs.pl:534 ../tools/virt-tar.pl:291
1092 #: ../tools/virt-win-reg.pl:741
1094 "Libvirt guest names can contain arbitrary characters, some of which have "
1095 "meaning to the shell such as C<#> and space. You may need to quote or "
1096 "escape these characters on the command line. See the shell manual page L<sh"
1101 #: ../cat/virt-cat.pod:199 ../cat/virt-filesystems.pod:372
1102 #: ../cat/virt-ls.pod:490 ../df/virt-df.pod:216 ../edit/virt-edit.pod:349
1103 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
1104 #: ../fish/guestfish.pod:1214 ../fish/virt-copy-in.pod:50
1105 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47
1106 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:303
1107 #: ../inspector/virt-inspector.pod:372
1108 #: ../libguestfs-1.11.19/cat/virt-cat.pod:199
1109 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:372
1110 #: ../libguestfs-1.11.19/cat/virt-ls.pod:490
1111 #: ../libguestfs-1.11.19/df/virt-df.pod:216
1112 #: ../libguestfs-1.11.19/edit/virt-edit.pod:349
1113 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:33
1114 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:384
1115 #: ../libguestfs-1.11.19/fish/guestfish.pod:1214
1116 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:50
1117 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:39
1118 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:47
1119 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:41
1120 #: ../libguestfs-1.11.19/fuse/guestmount.pod:303
1121 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:372
1122 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:78
1123 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:39
1124 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:42
1125 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:284
1126 #: ../libguestfs-1.11.19/resize/virt-resize.pod:550
1127 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:36
1128 #: ../libguestfs-1.11.19/src/guestfs.pod:3011
1129 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:87
1130 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39
1131 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:284
1132 #: ../resize/virt-resize.pod:550 ../ruby/examples/guestfs-ruby.pod:36
1133 #: ../src/guestfs.pod:3011 ../test-tool/libguestfs-test-tool.pod:87
1134 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
1135 #: ../tools/virt-make-fs.pl:539 ../tools/virt-tar.pl:296
1136 #: ../tools/virt-win-reg.pl:746
1138 msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
1141 #: ../cat/virt-cat.pod:201 ../libguestfs-1.11.19/cat/virt-cat.pod:201
1144 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
1145 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
1146 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
1148 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1149 "tar-out(1)>, L<http://libguestfs.org/>."
1151 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
1152 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
1153 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
1156 #: ../cat/virt-cat.pod:208 ../cat/virt-filesystems.pod:383
1157 #: ../cat/virt-ls.pod:502 ../df/virt-df.pod:224 ../edit/virt-edit.pod:363
1158 #: ../libguestfs-1.11.19/cat/virt-cat.pod:208
1159 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:383
1160 #: ../libguestfs-1.11.19/cat/virt-ls.pod:502
1161 #: ../libguestfs-1.11.19/df/virt-df.pod:224
1162 #: ../libguestfs-1.11.19/edit/virt-edit.pod:363
1163 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:292
1164 #: ../libguestfs-1.11.19/resize/virt-resize.pod:571
1165 #: ../rescue/virt-rescue.pod:292 ../resize/virt-resize.pod:571
1166 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
1167 #: ../tools/virt-make-fs.pl:564 ../tools/virt-tar.pl:311
1168 #: ../tools/virt-win-reg.pl:772
1173 #: ../cat/virt-cat.pod:210 ../cat/virt-filesystems.pod:385
1174 #: ../cat/virt-ls.pod:504 ../df/virt-df.pod:226 ../edit/virt-edit.pod:365
1175 #: ../inspector/virt-inspector.pod:386
1176 #: ../libguestfs-1.11.19/cat/virt-cat.pod:210
1177 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:385
1178 #: ../libguestfs-1.11.19/cat/virt-ls.pod:504
1179 #: ../libguestfs-1.11.19/df/virt-df.pod:226
1180 #: ../libguestfs-1.11.19/edit/virt-edit.pod:365
1181 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:386
1182 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:294
1183 #: ../libguestfs-1.11.19/resize/virt-resize.pod:573
1184 #: ../rescue/virt-rescue.pod:294 ../resize/virt-resize.pod:573
1185 #: ../tools/virt-list-filesystems.pl:210 ../tools/virt-list-partitions.pl:279
1186 #: ../tools/virt-make-fs.pl:566 ../tools/virt-tar.pl:313
1187 #: ../tools/virt-win-reg.pl:774
1188 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1189 msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1192 #: ../cat/virt-cat.pod:212 ../cat/virt-filesystems.pod:387
1193 #: ../cat/virt-ls.pod:506 ../df/virt-df.pod:228 ../edit/virt-edit.pod:367
1194 #: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399
1195 #: ../fish/guestfish.pod:1242 ../fish/virt-copy-in.pod:64
1196 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62
1197 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:318
1198 #: ../inspector/virt-inspector.pod:394
1199 #: ../libguestfs-1.11.19/cat/virt-cat.pod:212
1200 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:387
1201 #: ../libguestfs-1.11.19/cat/virt-ls.pod:506
1202 #: ../libguestfs-1.11.19/df/virt-df.pod:228
1203 #: ../libguestfs-1.11.19/edit/virt-edit.pod:367
1204 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:47
1205 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:399
1206 #: ../libguestfs-1.11.19/fish/guestfish.pod:1242
1207 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:64
1208 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:53
1209 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:62
1210 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:55
1211 #: ../libguestfs-1.11.19/fuse/guestmount.pod:318
1212 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:394
1213 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:93
1214 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:54
1215 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:56
1216 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:296
1217 #: ../libguestfs-1.11.19/resize/virt-resize.pod:575
1218 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:50
1219 #: ../libguestfs-1.11.19/src/guestfs.pod:3084
1220 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:97
1221 #: ../ocaml/examples/guestfs-ocaml.pod:93 ../perl/examples/guestfs-perl.pod:54
1222 #: ../python/examples/guestfs-python.pod:56 ../rescue/virt-rescue.pod:296
1223 #: ../resize/virt-resize.pod:575 ../ruby/examples/guestfs-ruby.pod:50
1224 #: ../src/guestfs.pod:3084 ../test-tool/libguestfs-test-tool.pod:97
1225 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
1226 #: ../tools/virt-make-fs.pl:568 ../tools/virt-tar.pl:315
1227 #: ../tools/virt-win-reg.pl:776
1229 msgstr "АВТОРСЬКІ ПРАВА"
1232 #: ../cat/virt-cat.pod:214 ../inspector/virt-inspector.pod:396
1233 #: ../libguestfs-1.11.19/cat/virt-cat.pod:214
1234 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:396
1235 #: ../libguestfs-1.11.19/resize/virt-resize.pod:577
1236 #: ../resize/virt-resize.pod:577
1238 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
1239 msgid "Copyright (C) 2010-2011 Red Hat Inc."
1240 msgstr "© Red Hat Inc., 2009–2010"
1243 #: ../cat/virt-cat.pod:216 ../cat/virt-filesystems.pod:391
1244 #: ../cat/virt-ls.pod:510 ../df/virt-df.pod:232 ../edit/virt-edit.pod:371
1245 #: ../fish/guestfish.pod:1247 ../fish/virt-copy-in.pod:69
1246 #: ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67
1247 #: ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:323
1248 #: ../inspector/virt-inspector.pod:398
1249 #: ../libguestfs-1.11.19/cat/virt-cat.pod:216
1250 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:391
1251 #: ../libguestfs-1.11.19/cat/virt-ls.pod:510
1252 #: ../libguestfs-1.11.19/df/virt-df.pod:232
1253 #: ../libguestfs-1.11.19/edit/virt-edit.pod:371
1254 #: ../libguestfs-1.11.19/fish/guestfish.pod:1247
1255 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:69
1256 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:58
1257 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:67
1258 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:60
1259 #: ../libguestfs-1.11.19/fuse/guestmount.pod:323
1260 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:398
1261 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:300
1262 #: ../libguestfs-1.11.19/resize/virt-resize.pod:579
1263 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:102
1264 #: ../rescue/virt-rescue.pod:300 ../resize/virt-resize.pod:579
1265 #: ../test-tool/libguestfs-test-tool.pod:102
1266 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
1267 #: ../tools/virt-make-fs.pl:572 ../tools/virt-tar.pl:319
1268 #: ../tools/virt-win-reg.pl:780
1270 "This program is free software; you can redistribute it and/or modify it "
1271 "under the terms of the GNU General Public License as published by the Free "
1272 "Software Foundation; either version 2 of the License, or (at your option) "
1273 "any later version."
1277 #: ../cat/virt-cat.pod:221 ../cat/virt-filesystems.pod:396
1278 #: ../cat/virt-ls.pod:515 ../df/virt-df.pod:237 ../edit/virt-edit.pod:376
1279 #: ../fish/guestfish.pod:1252 ../fish/virt-copy-in.pod:74
1280 #: ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72
1281 #: ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:328
1282 #: ../inspector/virt-inspector.pod:403
1283 #: ../libguestfs-1.11.19/cat/virt-cat.pod:221
1284 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:396
1285 #: ../libguestfs-1.11.19/cat/virt-ls.pod:515
1286 #: ../libguestfs-1.11.19/df/virt-df.pod:237
1287 #: ../libguestfs-1.11.19/edit/virt-edit.pod:376
1288 #: ../libguestfs-1.11.19/fish/guestfish.pod:1252
1289 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:74
1290 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:63
1291 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:72
1292 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:65
1293 #: ../libguestfs-1.11.19/fuse/guestmount.pod:328
1294 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:403
1295 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:305
1296 #: ../libguestfs-1.11.19/resize/virt-resize.pod:584
1297 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:107
1298 #: ../rescue/virt-rescue.pod:305 ../resize/virt-resize.pod:584
1299 #: ../test-tool/libguestfs-test-tool.pod:107
1300 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
1301 #: ../tools/virt-make-fs.pl:577 ../tools/virt-tar.pl:324
1302 #: ../tools/virt-win-reg.pl:785
1304 "This program is distributed in the hope that it will be useful, but WITHOUT "
1305 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
1306 "FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for "
1309 "Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-"
1310 "ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії ПРАЦЕЗДАТНОСТІ "
1311 "або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше про це можна "
1312 "дізнатися з GNU General Public License."
1315 #: ../cat/virt-cat.pod:226 ../cat/virt-filesystems.pod:401
1316 #: ../cat/virt-ls.pod:520 ../df/virt-df.pod:242 ../edit/virt-edit.pod:381
1317 #: ../fish/guestfish.pod:1257 ../fish/virt-copy-in.pod:79
1318 #: ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77
1319 #: ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:333
1320 #: ../inspector/virt-inspector.pod:408
1321 #: ../libguestfs-1.11.19/cat/virt-cat.pod:226
1322 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:401
1323 #: ../libguestfs-1.11.19/cat/virt-ls.pod:520
1324 #: ../libguestfs-1.11.19/df/virt-df.pod:242
1325 #: ../libguestfs-1.11.19/edit/virt-edit.pod:381
1326 #: ../libguestfs-1.11.19/fish/guestfish.pod:1257
1327 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:79
1328 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:68
1329 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:77
1330 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:70
1331 #: ../libguestfs-1.11.19/fuse/guestmount.pod:333
1332 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:408
1333 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:310
1334 #: ../libguestfs-1.11.19/resize/virt-resize.pod:589
1335 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:112
1336 #: ../rescue/virt-rescue.pod:310 ../resize/virt-resize.pod:589
1337 #: ../test-tool/libguestfs-test-tool.pod:112
1338 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
1339 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:329
1340 #: ../tools/virt-win-reg.pl:790
1342 "You should have received a copy of the GNU General Public License along with "
1343 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
1344 "Ave, Cambridge, MA 02139, USA."
1348 #: ../cat/virt-filesystems.pod:5
1349 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:5
1351 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
1352 "virtual machine or disk image"
1356 #: ../cat/virt-filesystems.pod:9
1357 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:9
1360 #| " virt-list-partitions [--options] domname\n"
1363 " virt-filesystems [--options] -d domname\n"
1366 " virt-list-partitions [--параметри] назва_домену\n"
1370 #: ../cat/virt-filesystems.pod:11
1371 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:11
1374 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
1377 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
1380 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
1384 #: ../cat/virt-filesystems.pod:15
1385 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:15
1387 "This tool allows you to discover filesystems, partitions, logical volumes, "
1388 "and their sizes in a disk image or virtual machine. It is a replacement for "
1389 "L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
1393 #: ../cat/virt-filesystems.pod:20
1394 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:20
1396 "One use for this tool is from shell scripts to iterate over all filesystems "
1397 "from a disk image:"
1401 #: ../cat/virt-filesystems.pod:23
1402 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:23
1405 " for fs in $(virt-filesystems -a disk.img); do\n"
1412 #: ../cat/virt-filesystems.pod:27
1413 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:27
1415 "Another use is to list partitions before using another tool to modify those "
1416 "partitions (such as L<virt-resize(1)>). If you are curious about what an "
1417 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
1421 #: ../cat/virt-filesystems.pod:32
1422 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:32
1424 "Various command line options control what this program displays. You need "
1425 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
1426 "guest respectively. If you just specify that then the program shows "
1427 "filesystems found, one per line, like this:"
1431 #: ../cat/virt-filesystems.pod:37
1432 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:37
1435 " $ virt-filesystems -a disk.img\n"
1437 " /dev/vg_guest/lv_root\n"
1442 #: ../cat/virt-filesystems.pod:41
1443 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:41
1445 "If you add I<-l> or I<--long> then the output includes extra information:"
1449 #: ../cat/virt-filesystems.pod:44
1450 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:44
1453 " $ virt-filesystems -a disk.img -l\n"
1454 " Name Type VFS Label Size\n"
1455 " /dev/sda1 filesystem ext4 boot 524288000\n"
1456 " /dev/vg_guest/lv_root filesystem ext4 root 10212081664\n"
1461 #: ../cat/virt-filesystems.pod:49
1462 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:49
1464 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
1469 #: ../cat/virt-filesystems.pod:52
1470 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:52
1473 " $ virt-filesystems -a disk.img --extra\n"
1475 " /dev/vg_guest/lv_root\n"
1476 " /dev/vg_guest/lv_swap\n"
1477 " /dev/vg_guest/lv_data\n"
1482 #: ../cat/virt-filesystems.pod:58
1483 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:58
1485 "If you add I<--partitions> then partitions are shown instead of filesystems:"
1489 #: ../cat/virt-filesystems.pod:60
1490 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:60
1493 " $ virt-filesystems -a disk.img --partitions\n"
1500 #: ../cat/virt-filesystems.pod:64
1501 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:64
1503 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I<--physical-"
1504 "volumes>, I<--block-devices> to list those items."
1508 #: ../cat/virt-filesystems.pod:67
1509 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:67
1511 "You can use these options in combination as well (if you want a combination "
1512 "including filesystems, you have to add I<--filesystems>). Notice that some "
1513 "items fall into several categories (eg. C</dev/sda1> might be both a "
1514 "partition and a filesystem). These items are listed several times. To get "
1515 "a list which includes absolutely everything that virt-filesystems knows "
1516 "about, use the I<--all> option."
1520 #: ../cat/virt-filesystems.pod:74
1521 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:74
1523 "UUIDs (because they are quite long) are not shown by default. Add the I<--"
1524 "uuid> option to display device and filesystem UUIDs in the long output."
1528 #: ../cat/virt-filesystems.pod:78
1529 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:78
1531 "I<--all --long --uuid> is a useful combination to display all possible "
1532 "information about everything."
1536 #: ../cat/virt-filesystems.pod:81
1537 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:81
1540 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1541 " Name Type VFS Label Size Parent UUID\n"
1542 " /dev/sda1 filesystem ntfs System Reserved 100M - F81C92571C92112C\n"
1543 " /dev/sda2 filesystem ntfs - 20G - F2E8996AE8992E3B\n"
1544 " /dev/sda1 partition - - 100M /dev/sda -\n"
1545 " /dev/sda2 partition - - 20G /dev/sda -\n"
1546 " /dev/sda device - - 20G - -\n"
1551 #: ../cat/virt-filesystems.pod:89
1552 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:89
1554 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1558 #: ../cat/virt-filesystems.pod:110
1559 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:110
1560 #: ../tools/virt-list-filesystems.pl:121
1562 #| msgid "B<--help>"
1567 #: ../cat/virt-filesystems.pod:112
1568 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:112
1570 "Display everything. This is currently the same as specifying these options: "
1571 "I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I<--"
1572 "logical-volumes>, I<--volume-groups>, I<--physical-volumes>. (More may be "
1573 "added to this list in future)."
1577 #: ../cat/virt-filesystems.pod:117
1578 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:117
1580 #| msgid "See also L</is-lv>."
1581 msgid "See also I<--long>."
1582 msgstr "Див. також L</is-lv>."
1585 #: ../cat/virt-filesystems.pod:119
1586 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:119
1588 #| msgid "B<--live>"
1589 msgid "B<--blkdevs>"
1593 #: ../cat/virt-filesystems.pod:121
1594 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:121
1596 #| msgid "is-blockdev"
1597 msgid "B<--block-devices>"
1598 msgstr "is-blockdev"
1601 #: ../cat/virt-filesystems.pod:123
1602 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:123
1604 #| msgid "is-blockdev"
1605 msgid "Display block devices."
1606 msgstr "is-blockdev"
1609 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301
1610 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:135
1611 #: ../libguestfs-1.11.19/cat/virt-ls.pod:301
1618 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303
1619 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:137
1620 #: ../libguestfs-1.11.19/cat/virt-ls.pod:303
1622 "Write out the results in CSV format (comma-separated values). This format "
1623 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1624 "ABOUT CSV FORMAT> below."
1628 #: ../cat/virt-filesystems.pod:150
1629 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:150
1631 "When prompting for keys and passphrases, virt-filesystems normally turns "
1632 "echoing off so you cannot see what you are typing. If you are not worried "
1633 "about Tempest attacks and there is no one else in the room you can specify "
1634 "this flag to see what you are typing."
1638 #: ../cat/virt-filesystems.pod:155
1639 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:155
1646 #: ../cat/virt-filesystems.pod:157
1647 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:157
1649 "This causes filesystems that are not ordinary, mountable filesystems to be "
1650 "displayed. This category includes swapspace, and filesystems that are empty "
1651 "or contain unknown data."
1655 #: ../cat/virt-filesystems.pod:161
1656 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:161
1657 msgid "This option implies I<--filesystems>."
1661 #: ../cat/virt-filesystems.pod:163
1662 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:163
1664 #| msgid "list-filesystems"
1665 msgid "B<--filesystems>"
1666 msgstr "list-filesystems"
1669 #: ../cat/virt-filesystems.pod:165
1670 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:165
1672 "Display mountable filesystems. If no display option was selected then this "
1673 "option is implied."
1677 #: ../cat/virt-filesystems.pod:168
1678 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:168
1679 msgid "With I<--extra>, non-mountable filesystems are shown too."
1683 #: ../cat/virt-filesystems.pod:181
1684 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:181
1687 #| " guestfish --format=raw -a disk.img\n"
1690 " virt-filesystems --format=raw -a disk.img\n"
1693 " guestfish --format=raw -a disk.img\n"
1697 #: ../cat/virt-filesystems.pod:185
1698 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:185
1701 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
1704 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1707 " guestfish --format=raw -a disk.img --format -a another.img\n"
1711 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1712 #: ../df/virt-df.pod:119 ../fish/guestfish.pod:156
1713 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:194
1714 #: ../libguestfs-1.11.19/cat/virt-ls.pod:352
1715 #: ../libguestfs-1.11.19/df/virt-df.pod:119
1716 #: ../libguestfs-1.11.19/fish/guestfish.pod:156
1717 #: ../tools/virt-list-partitions.pl:109
1722 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1723 #: ../df/virt-df.pod:121 ../libguestfs-1.11.19/cat/virt-filesystems.pod:196
1724 #: ../libguestfs-1.11.19/cat/virt-ls.pod:354
1725 #: ../libguestfs-1.11.19/df/virt-df.pod:121
1726 #: ../tools/virt-list-partitions.pl:111
1728 #| msgid "B<-h> | B<--human-readable>"
1729 msgid "B<--human-readable>"
1730 msgstr "B<-h> | B<--human-readable>"
1733 #: ../cat/virt-filesystems.pod:198
1734 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:198
1735 msgid "In I<--long> mode, display sizes in human-readable format."
1739 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1740 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:205
1741 #: ../libguestfs-1.11.19/cat/virt-ls.pod:366
1742 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1747 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1748 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:207
1749 #: ../libguestfs-1.11.19/cat/virt-ls.pod:368
1750 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1757 #: ../cat/virt-filesystems.pod:209
1758 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:209
1759 msgid "Display extra columns of data (\"long format\")."
1763 #: ../cat/virt-filesystems.pod:211
1764 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:211
1765 msgid "A title row is added unless you also specify I<--no-title>."
1769 #: ../cat/virt-filesystems.pod:213
1770 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:213
1772 "The extra columns displayed depend on what output you select, and the "
1773 "ordering of columns may change in future versions. Use the title row, I<--"
1774 "csv> output and/or L<csvtool(1)> to match columns to data in external "
1779 #: ../cat/virt-filesystems.pod:218
1780 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:218
1782 "Use I<-h> if you want sizes to be displayed in human-readable format. The "
1783 "default is to show raw numbers of I<bytes>."
1787 #: ../cat/virt-filesystems.pod:221
1788 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:221
1789 msgid "Use I<--uuid> to display UUIDs too."
1793 #: ../cat/virt-filesystems.pod:223
1794 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:223
1796 #| msgid "B<--live>"
1801 #: ../cat/virt-filesystems.pod:225
1802 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:225
1804 #| msgid "B<--live>"
1805 msgid "B<--logvols>"
1809 #: ../cat/virt-filesystems.pod:227
1810 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:227
1812 #| msgid "B<--live>"
1813 msgid "B<--logical-volumes>"
1817 #: ../cat/virt-filesystems.pod:229
1818 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:229
1820 "Display LVM logical volumes. In this mode, these are displayed irrespective "
1821 "of whether the LVs contain filesystems."
1825 #: ../cat/virt-filesystems.pod:232
1826 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:232
1828 #| msgid "B<--listen>"
1829 msgid "B<--no-title>"
1830 msgstr "B<--listen>"
1833 #: ../cat/virt-filesystems.pod:234
1834 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:234
1835 msgid "In I<--long> mode, don't add a title row."
1839 #: ../cat/virt-filesystems.pod:236
1840 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:236
1842 "Note that the order of the columns is not fixed, and may change in future "
1843 "versions of virt-filesystems, so using this option may give you unexpected "
1848 #: ../cat/virt-filesystems.pod:240
1849 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:240
1851 #| msgid "B<--partition>"
1853 msgstr "B<--partition>"
1856 #: ../cat/virt-filesystems.pod:242
1857 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:242
1859 #| msgid "B<--partition>"
1860 msgid "B<--partitions>"
1861 msgstr "B<--partition>"
1864 #: ../cat/virt-filesystems.pod:244
1865 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:244
1867 "Display partitions. In this mode, these are displayed irrespective of "
1868 "whether the partitions contain filesystems."
1872 #: ../cat/virt-filesystems.pod:247
1873 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:247
1880 #: ../cat/virt-filesystems.pod:249
1881 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:249
1883 #| msgid "B<--verbose>"
1884 msgid "B<--physvols>"
1885 msgstr "B<--verbose>"
1888 #: ../cat/virt-filesystems.pod:251
1889 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:251
1890 msgid "B<--physical-volumes>"
1894 #: ../cat/virt-filesystems.pod:253
1895 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:253
1896 msgid "Display LVM physical volumes."
1900 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:157
1901 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:255
1902 #: ../libguestfs-1.11.19/df/virt-df.pod:157
1904 #| msgid "B<--live>"
1909 #: ../cat/virt-filesystems.pod:257
1910 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:257
1917 #: ../cat/virt-filesystems.pod:259
1918 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:259
1919 msgid "In I<--long> mode, display UUIDs as well."
1923 #: ../cat/virt-filesystems.pod:273
1924 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:273
1931 #: ../cat/virt-filesystems.pod:275
1932 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:275
1934 #| msgid "B<--verbose>"
1935 msgid "B<--volgroups>"
1936 msgstr "B<--verbose>"
1939 #: ../cat/virt-filesystems.pod:277
1940 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:277
1942 #| msgid "B<--verbose>"
1943 msgid "B<--volume-groups>"
1944 msgstr "B<--verbose>"
1947 #: ../cat/virt-filesystems.pod:279
1948 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:279
1949 msgid "Display LVM volume groups."
1953 #: ../cat/virt-filesystems.pod:287
1954 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:287
1959 #: ../cat/virt-filesystems.pod:289
1960 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:289
1962 "Note that columns in the output are subject to reordering and change in "
1963 "future versions of this tool."
1967 #: ../cat/virt-filesystems.pod:294
1968 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:294
1973 #: ../cat/virt-filesystems.pod:296
1974 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:296
1975 msgid "The filesystem, partition, block device or LVM name."
1979 #: ../cat/virt-filesystems.pod:298
1980 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:298
1982 "For device and partition names these are displayed as canonical libguestfs "
1983 "names, so that for example C</dev/sda2> is the second partition on the first "
1988 #: ../cat/virt-filesystems.pod:302
1989 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:302
1991 "If the I<--long> option is B<not> specified, then only the name column is "
1992 "shown in the output."
1996 #: ../cat/virt-filesystems.pod:305
1997 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:305
1999 #| msgid "B<-N type>"
2004 #: ../cat/virt-filesystems.pod:307
2005 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:307
2006 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
2010 #: ../cat/virt-filesystems.pod:309
2011 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:309
2016 #: ../cat/virt-filesystems.pod:311
2017 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:311
2019 "If there is a filesystem, then this column displays the filesystem type if "
2020 "one could be detected, eg. C<ext4>."
2024 #: ../cat/virt-filesystems.pod:314
2025 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:314
2030 #: ../cat/virt-filesystems.pod:316
2031 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:316
2033 "If the object has a label (used for identifying and mounting filesystems) "
2034 "then this column contains the label."
2038 #: ../cat/virt-filesystems.pod:319
2039 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:319
2041 #| msgid "B<part_size>"
2043 msgstr "B<part_size>"
2046 #: ../cat/virt-filesystems.pod:321
2047 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:321
2049 "The size of the object in bytes. If the I<--human> option is used then the "
2050 "size is displayed in a human-readable form."
2054 #: ../cat/virt-filesystems.pod:324
2055 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:324
2060 #: ../cat/virt-filesystems.pod:326
2061 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:326
2063 "The parent column records the parent relationship between objects. For "
2064 "example, if the object is a partition, then this column contains the name of "
2065 "the containing device. If the object is a logical volume, then this column "
2066 "is the name of the volume group."
2070 #: ../cat/virt-filesystems.pod:331
2071 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:331
2076 #: ../cat/virt-filesystems.pod:333
2077 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:333
2079 "If the object has a UUID (used for identifying and mounting filesystems and "
2080 "block devices) then this column contains the UUID as a string."
2084 #: ../cat/virt-filesystems.pod:337
2085 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:337
2086 msgid "The UUID is only displayed if the I<--uuid> option is given."
2090 #: ../cat/virt-filesystems.pod:341 ../cat/virt-ls.pod:459
2091 #: ../df/virt-df.pod:185 ../libguestfs-1.11.19/cat/virt-filesystems.pod:341
2092 #: ../libguestfs-1.11.19/cat/virt-ls.pod:459
2093 #: ../libguestfs-1.11.19/df/virt-df.pod:185
2094 msgid "NOTE ABOUT CSV FORMAT"
2098 #: ../cat/virt-filesystems.pod:343 ../cat/virt-ls.pod:461
2099 #: ../df/virt-df.pod:187 ../libguestfs-1.11.19/cat/virt-filesystems.pod:343
2100 #: ../libguestfs-1.11.19/cat/virt-ls.pod:461
2101 #: ../libguestfs-1.11.19/df/virt-df.pod:187
2103 "Comma-separated values (CSV) is a deceptive format. It I<seems> like it "
2104 "should be easy to parse, but it is definitely not easy to parse."
2108 #: ../cat/virt-filesystems.pod:346 ../cat/virt-ls.pod:464
2109 #: ../df/virt-df.pod:190 ../libguestfs-1.11.19/cat/virt-filesystems.pod:346
2110 #: ../libguestfs-1.11.19/cat/virt-ls.pod:464
2111 #: ../libguestfs-1.11.19/df/virt-df.pod:190
2113 "Myth: Just split fields at commas. Reality: This does I<not> work "
2114 "reliably. This example has two columns:"
2118 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:467
2119 #: ../df/virt-df.pod:193 ../libguestfs-1.11.19/cat/virt-filesystems.pod:349
2120 #: ../libguestfs-1.11.19/cat/virt-ls.pod:467
2121 #: ../libguestfs-1.11.19/df/virt-df.pod:193
2124 " \"foo,bar\",baz\n"
2129 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:469
2130 #: ../df/virt-df.pod:195 ../libguestfs-1.11.19/cat/virt-filesystems.pod:351
2131 #: ../libguestfs-1.11.19/cat/virt-ls.pod:469
2132 #: ../libguestfs-1.11.19/df/virt-df.pod:195
2134 "Myth: Read the file one line at a time. Reality: This does I<not> work "
2135 "reliably. This example has one row:"
2139 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:472
2140 #: ../df/virt-df.pod:198 ../libguestfs-1.11.19/cat/virt-filesystems.pod:354
2141 #: ../libguestfs-1.11.19/cat/virt-ls.pod:472
2142 #: ../libguestfs-1.11.19/df/virt-df.pod:198
2151 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:475
2152 #: ../df/virt-df.pod:201 ../libguestfs-1.11.19/cat/virt-filesystems.pod:357
2153 #: ../libguestfs-1.11.19/cat/virt-ls.pod:475
2154 #: ../libguestfs-1.11.19/df/virt-df.pod:201
2156 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
2157 "packaged in major Linux distributions)."
2161 #: ../cat/virt-filesystems.pod:360 ../cat/virt-ls.pod:478
2162 #: ../df/virt-df.pod:204 ../libguestfs-1.11.19/cat/virt-filesystems.pod:360
2163 #: ../libguestfs-1.11.19/cat/virt-ls.pod:478
2164 #: ../libguestfs-1.11.19/df/virt-df.pod:204
2166 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
2167 "or Python's built-in csv library)."
2171 #: ../cat/virt-filesystems.pod:363 ../cat/virt-ls.pod:481
2172 #: ../df/virt-df.pod:207 ../libguestfs-1.11.19/cat/virt-filesystems.pod:363
2173 #: ../libguestfs-1.11.19/cat/virt-ls.pod:481
2174 #: ../libguestfs-1.11.19/df/virt-df.pod:207
2175 msgid "Most spreadsheets and databases can import CSV directly."
2179 #: ../cat/virt-filesystems.pod:374
2180 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:374
2183 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
2184 #| "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
2185 #| "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
2187 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2188 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2191 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
2192 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
2193 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
2196 #: ../cat/virt-filesystems.pod:389
2197 #: ../libguestfs-1.11.19/cat/virt-filesystems.pod:389
2198 #: ../tools/virt-make-fs.pl:570 ../tools/virt-win-reg.pl:778
2199 msgid "Copyright (C) 2010 Red Hat Inc."
2203 #: ../cat/virt-ls.pod:5 ../libguestfs-1.11.19/cat/virt-ls.pod:5
2204 msgid "virt-ls - List files in a virtual machine"
2208 #: ../cat/virt-ls.pod:9 ../libguestfs-1.11.19/cat/virt-ls.pod:9
2211 " virt-ls [--options] -d domname directory [directory ...]\n"
2216 #: ../cat/virt-ls.pod:11 ../libguestfs-1.11.19/cat/virt-ls.pod:11
2219 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2222 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
2225 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2229 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15
2230 #: ../libguestfs-1.11.19/cat/virt-ls.pod:13
2231 #: ../libguestfs-1.11.19/df/virt-df.pod:15
2232 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:13
2233 #: ../rescue/virt-rescue.pod:13
2238 #: ../cat/virt-ls.pod:15 ../libguestfs-1.11.19/cat/virt-ls.pod:15
2241 #| " virt-list-partitions [--options] domname\n"
2244 " virt-ls [--options] domname directory\n"
2247 " virt-list-partitions [--параметри] назва_домену\n"
2251 #: ../cat/virt-ls.pod:17 ../libguestfs-1.11.19/cat/virt-ls.pod:17
2254 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2257 " virt-ls [--options] disk.img [disk.img ...] directory\n"
2260 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2264 #: ../cat/virt-ls.pod:21 ../libguestfs-1.11.19/cat/virt-ls.pod:21
2266 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
2267 "more from a virtual machine or disk image."
2271 #: ../cat/virt-ls.pod:24 ../libguestfs-1.11.19/cat/virt-ls.pod:24
2273 "Multiple directory names can be given, in which case the output from each is "
2278 #: ../cat/virt-ls.pod:27 ../libguestfs-1.11.19/cat/virt-ls.pod:27
2280 "To list directories from a libvirt guest use the I<-d> option to specify the "
2281 "name of the guest. For a disk image, use the I<-a> option."
2285 #: ../cat/virt-ls.pod:31 ../libguestfs-1.11.19/cat/virt-ls.pod:31
2287 "C<virt-ls> can do many simple file listings. For more complicated cases you "
2288 "may need to use L<guestfish(1)>, or write a program directly to the L<guestfs"
2293 #: ../cat/virt-ls.pod:37 ../libguestfs-1.11.19/cat/virt-ls.pod:37
2294 msgid "Get a list of all files and directories in a virtual machine:"
2298 #: ../cat/virt-ls.pod:39 ../libguestfs-1.11.19/cat/virt-ls.pod:39
2301 #| " guestfish --ro -d myguest -i\n"
2304 " virt-ls -R -d guest /\n"
2307 " guestfish --ro -d myguest -i\n"
2311 #: ../cat/virt-ls.pod:41 ../libguestfs-1.11.19/cat/virt-ls.pod:41
2312 msgid "List all setuid or setgid programs in a Linux virtual machine:"
2316 #: ../cat/virt-ls.pod:43 ../libguestfs-1.11.19/cat/virt-ls.pod:43
2319 " virt-ls -lR -d guest / | grep '^- [42]'\n"
2324 #: ../cat/virt-ls.pod:45 ../libguestfs-1.11.19/cat/virt-ls.pod:45
2325 msgid "List all public-writable directories in a Linux virtual machine:"
2329 #: ../cat/virt-ls.pod:47 ../libguestfs-1.11.19/cat/virt-ls.pod:47
2332 " virt-ls -lR -d guest / | grep '^d ...7'\n"
2337 #: ../cat/virt-ls.pod:49 ../libguestfs-1.11.19/cat/virt-ls.pod:49
2338 msgid "List all Unix domain sockets in a Linux virtual machine:"
2342 #: ../cat/virt-ls.pod:51 ../libguestfs-1.11.19/cat/virt-ls.pod:51
2345 " virt-ls -lR -d guest / | grep '^s'\n"
2350 #: ../cat/virt-ls.pod:53 ../libguestfs-1.11.19/cat/virt-ls.pod:53
2351 msgid "List all regular files with filenames ending in '.png':"
2355 #: ../cat/virt-ls.pod:55 ../libguestfs-1.11.19/cat/virt-ls.pod:55
2358 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
2363 #: ../cat/virt-ls.pod:57 ../libguestfs-1.11.19/cat/virt-ls.pod:57
2364 msgid "To display files larger than 10MB in home directories:"
2368 #: ../cat/virt-ls.pod:59 ../libguestfs-1.11.19/cat/virt-ls.pod:59
2371 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
2376 #: ../cat/virt-ls.pod:61 ../libguestfs-1.11.19/cat/virt-ls.pod:61
2377 msgid "Find everything modified in the last 7 days:"
2381 #: ../cat/virt-ls.pod:63 ../libguestfs-1.11.19/cat/virt-ls.pod:63
2384 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
2389 #: ../cat/virt-ls.pod:65 ../libguestfs-1.11.19/cat/virt-ls.pod:65
2390 msgid "Find regular files modified in the last 24 hours:"
2394 #: ../cat/virt-ls.pod:67 ../libguestfs-1.11.19/cat/virt-ls.pod:67
2397 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
2402 #: ../cat/virt-ls.pod:69 ../libguestfs-1.11.19/cat/virt-ls.pod:69
2403 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
2407 #: ../cat/virt-ls.pod:71 ../libguestfs-1.11.19/cat/virt-ls.pod:71
2409 "Find the differences between files in a guest and an earlier snapshot of the "
2414 #: ../cat/virt-ls.pod:74 ../libguestfs-1.11.19/cat/virt-ls.pod:74
2417 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
2418 " virt-ls -lR -a current.img / --uids --time-t > new\n"
2419 " diff -u old new | less\n"
2424 #: ../cat/virt-ls.pod:78 ../libguestfs-1.11.19/cat/virt-ls.pod:78
2426 "The commands above won't find files where the content has changed but the "
2427 "metadata (eg. file size and modification date) is the same. To do that, you "
2428 "need to add the I<--checksum> parameter to both C<virt-ls> commands. I<--"
2429 "checksum> can be quite slow since it has to read and compute a checksum of "
2430 "every regular file in the virtual machine."
2434 #: ../cat/virt-ls.pod:84 ../libguestfs-1.11.19/cat/virt-ls.pod:84
2435 msgid "OUTPUT MODES"
2439 #: ../cat/virt-ls.pod:86 ../libguestfs-1.11.19/cat/virt-ls.pod:86
2441 "C<virt-ls> has four output modes, controlled by different combinations of "
2442 "the I<-l> and I<-R> options."
2446 #: ../cat/virt-ls.pod:89 ../libguestfs-1.11.19/cat/virt-ls.pod:89
2447 msgid "SIMPLE LISTING"
2451 #: ../cat/virt-ls.pod:91 ../libguestfs-1.11.19/cat/virt-ls.pod:91
2452 msgid "A simple listing is like the ordinary L<ls(1)> command:"
2456 #: ../cat/virt-ls.pod:93 ../libguestfs-1.11.19/cat/virt-ls.pod:93
2459 " $ virt-ls -d guest /\n"
2467 #: ../cat/virt-ls.pod:98 ../libguestfs-1.11.19/cat/virt-ls.pod:98
2470 msgid "LONG LISTING"
2474 #: ../cat/virt-ls.pod:100 ../libguestfs-1.11.19/cat/virt-ls.pod:100
2476 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
2477 "(more specifically, like the C<guestfs_ll> function)."
2481 #: ../cat/virt-ls.pod:103 ../libguestfs-1.11.19/cat/virt-ls.pod:103
2484 " $ virt-ls -l -d guest /\n"
2486 " dr-xr-xr-x. 2 root root 4096 2009-08-25 19:06 bin\n"
2487 " dr-xr-xr-x. 5 root root 3072 2009-08-25 19:06 boot\n"
2493 #: ../cat/virt-ls.pod:109 ../libguestfs-1.11.19/cat/virt-ls.pod:109
2495 "Note that while this is useful for displaying a directory, do not try "
2496 "parsing this output in another program. Use L</RECURSIVE LONG LISTING> "
2501 #: ../cat/virt-ls.pod:113 ../libguestfs-1.11.19/cat/virt-ls.pod:113
2502 msgid "RECURSIVE LISTING"
2506 #: ../cat/virt-ls.pod:115 ../libguestfs-1.11.19/cat/virt-ls.pod:115
2508 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
2509 "and directories recursively:"
2513 #: ../cat/virt-ls.pod:118 ../libguestfs-1.11.19/cat/virt-ls.pod:118
2516 " $ virt-ls -R -d guest /tmp\n"
2524 #: ../cat/virt-ls.pod:123 ../libguestfs-1.11.19/cat/virt-ls.pod:123
2526 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
2527 "converts C<\\0> characters to C<\\n>."
2531 #: ../cat/virt-ls.pod:126 ../libguestfs-1.11.19/cat/virt-ls.pod:126
2532 msgid "RECURSIVE LONG LISTING"
2536 #: ../cat/virt-ls.pod:128 ../libguestfs-1.11.19/cat/virt-ls.pod:128
2538 "Using I<-lR> options together changes the output to display directories "
2539 "recursively, with file stats, and optionally other features such as "
2540 "checksums and extended attributes."
2544 #: ../cat/virt-ls.pod:132 ../libguestfs-1.11.19/cat/virt-ls.pod:132
2546 "Most of the interesting features of C<virt-ls> are only available when using "
2551 #: ../cat/virt-ls.pod:135 ../libguestfs-1.11.19/cat/virt-ls.pod:135
2553 "The fields are normally space-separated. Filenames are B<not> quoted, so "
2554 "you cannot use the output in another program (because filenames can contain "
2555 "spaces and other unsafe characters). If the guest was untrusted and someone "
2556 "knew you were using C<virt-ls> to analyze the guest, they could play tricks "
2557 "on you by creating filenames with embedded newline characters. To B<safely> "
2558 "parse the output in another program, use the I<--csv> (Comma-Separated "
2563 #: ../cat/virt-ls.pod:143 ../libguestfs-1.11.19/cat/virt-ls.pod:143
2565 "Note that this output format is completely unrelated to the C<ls -lR> "
2570 #: ../cat/virt-ls.pod:146 ../libguestfs-1.11.19/cat/virt-ls.pod:146
2573 " $ virt-ls -lR -d guest /bin\n"
2574 " d 0555 4096 /bin\n"
2575 " - 0755 123 /bin/alsaunmute\n"
2576 " - 0755 28328 /bin/arch\n"
2577 " l 0777 4 /bin/awk -> gawk\n"
2578 " - 0755 27216 /bin/basename\n"
2579 " - 0755 943360 /bin/bash\n"
2585 #: ../cat/virt-ls.pod:155 ../libguestfs-1.11.19/cat/virt-ls.pod:155
2586 msgid "These basic fields are always shown:"
2590 #: ../cat/virt-ls.pod:159 ../libguestfs-1.11.19/cat/virt-ls.pod:159
2597 #: ../cat/virt-ls.pod:161 ../libguestfs-1.11.19/cat/virt-ls.pod:161
2599 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
2600 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
2601 "link), C<s> (socket) or C<u> (unknown)."
2605 #: ../cat/virt-ls.pod:171 ../libguestfs-1.11.19/cat/virt-ls.pod:171
2612 #: ../cat/virt-ls.pod:173 ../libguestfs-1.11.19/cat/virt-ls.pod:173
2613 msgid "The Unix permissions, displayed as a 4 digit octal number."
2617 #: ../cat/virt-ls.pod:175 ../libguestfs-1.11.19/cat/virt-ls.pod:175
2624 #: ../cat/virt-ls.pod:177 ../libguestfs-1.11.19/cat/virt-ls.pod:177
2626 "The size of the file. This is shown in bytes unless I<-h> or I<--human-"
2627 "readable> option is given, in which case this is shown as a human-readable "
2632 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4183
2633 #: ../libguestfs-1.11.19/cat/virt-ls.pod:181
2634 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4183
2639 #: ../cat/virt-ls.pod:183 ../libguestfs-1.11.19/cat/virt-ls.pod:183
2640 msgid "The full path of the file or directory."
2644 #: ../cat/virt-ls.pod:185 ../libguestfs-1.11.19/cat/virt-ls.pod:185
2651 #: ../cat/virt-ls.pod:187 ../libguestfs-1.11.19/cat/virt-ls.pod:187
2652 msgid "For symbolic links only, the link target."
2656 #: ../cat/virt-ls.pod:191 ../libguestfs-1.11.19/cat/virt-ls.pod:191
2658 "In I<-lR> mode, additional command line options enable the display of more "
2663 #: ../cat/virt-ls.pod:194 ../libguestfs-1.11.19/cat/virt-ls.pod:194
2665 "With the I<--uids> flag, these additional fields are displayed before the "
2670 #: ../cat/virt-ls.pod:199 ../libguestfs-1.11.19/cat/virt-ls.pod:199
2677 #: ../cat/virt-ls.pod:201 ../libguestfs-1.11.19/cat/virt-ls.pod:201
2684 #: ../cat/virt-ls.pod:203 ../libguestfs-1.11.19/cat/virt-ls.pod:203
2686 "The UID and GID of the owner of the file (displayed numerically). Note "
2687 "these only make sense in the context of a Unix-like guest."
2691 #: ../cat/virt-ls.pod:208 ../libguestfs-1.11.19/cat/virt-ls.pod:208
2692 msgid "With the I<--times> flag, these additional fields are displayed:"
2696 #: ../cat/virt-ls.pod:212 ../libguestfs-1.11.19/cat/virt-ls.pod:212
2703 #: ../cat/virt-ls.pod:214 ../libguestfs-1.11.19/cat/virt-ls.pod:214
2704 msgid "The time of last access."
2708 #: ../cat/virt-ls.pod:216 ../libguestfs-1.11.19/cat/virt-ls.pod:216
2715 #: ../cat/virt-ls.pod:218 ../libguestfs-1.11.19/cat/virt-ls.pod:218
2716 msgid "The time of last modification."
2720 #: ../cat/virt-ls.pod:220 ../libguestfs-1.11.19/cat/virt-ls.pod:220
2727 #: ../cat/virt-ls.pod:222 ../libguestfs-1.11.19/cat/virt-ls.pod:222
2728 msgid "The time of last status change."
2732 #: ../cat/virt-ls.pod:226 ../libguestfs-1.11.19/cat/virt-ls.pod:226
2734 "The time fields are displayed as string dates and times, unless one of the "
2735 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2739 #: ../cat/virt-ls.pod:229 ../libguestfs-1.11.19/cat/virt-ls.pod:229
2740 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2744 #: ../cat/virt-ls.pod:233 ../libguestfs-1.11.19/cat/virt-ls.pod:233
2746 #| msgid "zero-device"
2748 msgstr "zero-device"
2751 #: ../cat/virt-ls.pod:235 ../libguestfs-1.11.19/cat/virt-ls.pod:235
2753 "The device containing the file (displayed as major:minor). This may not "
2754 "match devices as known to the guest."
2758 #: ../cat/virt-ls.pod:238 ../libguestfs-1.11.19/cat/virt-ls.pod:238
2763 #: ../cat/virt-ls.pod:240 ../libguestfs-1.11.19/cat/virt-ls.pod:240
2764 msgid "The inode number."
2768 #: ../cat/virt-ls.pod:242 ../libguestfs-1.11.19/cat/virt-ls.pod:242
2775 #: ../cat/virt-ls.pod:244 ../libguestfs-1.11.19/cat/virt-ls.pod:244
2776 msgid "The number of hard links."
2780 #: ../cat/virt-ls.pod:246 ../libguestfs-1.11.19/cat/virt-ls.pod:246
2785 #: ../cat/virt-ls.pod:248 ../libguestfs-1.11.19/cat/virt-ls.pod:248
2787 "For block and char special files, the device (displayed as major:minor)."
2791 #: ../cat/virt-ls.pod:251 ../libguestfs-1.11.19/cat/virt-ls.pod:251
2793 #| msgid "C<blocksize>"
2795 msgstr "C<blocksize>"
2798 #: ../cat/virt-ls.pod:253 ../libguestfs-1.11.19/cat/virt-ls.pod:253
2799 msgid "The number of 512 byte blocks allocated to the file."
2803 #: ../cat/virt-ls.pod:257 ../libguestfs-1.11.19/cat/virt-ls.pod:257
2805 "With the I<--checksum> flag, the checksum of the file contents is shown "
2806 "(only for regular files). Computing file checksums can take a considerable "
2811 #: ../cat/virt-ls.pod:280 ../libguestfs-1.11.19/cat/virt-ls.pod:280
2814 msgid "B<--checksum>"
2818 #: ../cat/virt-ls.pod:282 ../libguestfs-1.11.19/cat/virt-ls.pod:282
2819 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2823 #: ../cat/virt-ls.pod:284 ../libguestfs-1.11.19/cat/virt-ls.pod:284
2825 "Display checksum over file contents for regular files. With no argument, "
2826 "this defaults to using I<md5>. Using an argument, you can select the "
2827 "checksum type to use."
2831 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2832 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2833 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2834 #: ../libguestfs-1.11.19/cat/virt-ls.pod:288
2835 #: ../libguestfs-1.11.19/cat/virt-ls.pod:325
2836 #: ../libguestfs-1.11.19/cat/virt-ls.pod:358
2837 #: ../libguestfs-1.11.19/cat/virt-ls.pod:391
2838 #: ../libguestfs-1.11.19/cat/virt-ls.pod:401
2839 #: ../libguestfs-1.11.19/cat/virt-ls.pod:408
2840 #: ../libguestfs-1.11.19/cat/virt-ls.pod:415
2841 #: ../libguestfs-1.11.19/cat/virt-ls.pod:422
2843 "This option only has effect in I<-lR> output mode. See L</RECURSIVE LONG "
2848 #: ../cat/virt-ls.pod:316 ../libguestfs-1.11.19/cat/virt-ls.pod:316
2850 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2851 "so you cannot see what you are typing. If you are not worried about Tempest "
2852 "attacks and there is no one else in the room you can specify this flag to "
2853 "see what you are typing."
2857 #: ../cat/virt-ls.pod:321 ../libguestfs-1.11.19/cat/virt-ls.pod:321
2859 #| msgid "B<--no-dest-paths>"
2860 msgid "B<--extra-stats>"
2861 msgstr "B<--no-dest-paths>"
2864 #: ../cat/virt-ls.pod:323 ../libguestfs-1.11.19/cat/virt-ls.pod:323
2865 msgid "Display extra stats."
2869 #: ../cat/virt-ls.pod:339 ../libguestfs-1.11.19/cat/virt-ls.pod:339
2872 #| " guestfish --format=raw -a disk.img\n"
2875 " virt-ls --format=raw -a disk.img /dir\n"
2878 " guestfish --format=raw -a disk.img\n"
2882 #: ../cat/virt-ls.pod:343 ../libguestfs-1.11.19/cat/virt-ls.pod:343
2885 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
2888 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2891 " guestfish --format=raw -a disk.img --format -a another.img\n"
2895 #: ../cat/virt-ls.pod:356 ../libguestfs-1.11.19/cat/virt-ls.pod:356
2896 msgid "Display file sizes in human-readable format."
2900 #: ../cat/virt-ls.pod:370 ../libguestfs-1.11.19/cat/virt-ls.pod:370
2905 #: ../cat/virt-ls.pod:372 ../libguestfs-1.11.19/cat/virt-ls.pod:372
2907 #| msgid "B<--live>"
2908 msgid "B<--recursive>"
2912 #: ../cat/virt-ls.pod:374 ../libguestfs-1.11.19/cat/virt-ls.pod:374
2914 "Select the mode. With neither of these options, C<virt-ls> produces a "
2915 "simple, flat list of the files in the named directory. See L</SIMPLE "
2920 #: ../cat/virt-ls.pod:378 ../libguestfs-1.11.19/cat/virt-ls.pod:378
2922 "C<virt-ls -l> produces a \"long listing\", which shows more detail. See L</"
2927 #: ../cat/virt-ls.pod:381 ../libguestfs-1.11.19/cat/virt-ls.pod:381
2929 "C<virt-ls -R> produces a recursive list of files starting at the named "
2930 "directory. See L</RECURSIVE LISTING>."
2934 #: ../cat/virt-ls.pod:384 ../libguestfs-1.11.19/cat/virt-ls.pod:384
2936 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2937 "parsed. See L</RECURSIVE LONG LISTING>."
2941 #: ../cat/virt-ls.pod:387 ../libguestfs-1.11.19/cat/virt-ls.pod:387
2943 #| msgid "B<--live>"
2948 #: ../cat/virt-ls.pod:389 ../libguestfs-1.11.19/cat/virt-ls.pod:389
2949 msgid "Display time fields."
2953 #: ../cat/virt-ls.pod:394 ../libguestfs-1.11.19/cat/virt-ls.pod:394
2955 #| msgid "B<--echo-keys>"
2956 msgid "B<--time-days>"
2957 msgstr "B<--echo-keys>"
2960 #: ../cat/virt-ls.pod:396 ../libguestfs-1.11.19/cat/virt-ls.pod:396
2961 msgid "Display time fields as days before now (negative if in the future)."
2965 #: ../cat/virt-ls.pod:398 ../libguestfs-1.11.19/cat/virt-ls.pod:398
2967 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
2968 "of the file is between 0 and 86399 seconds."
2972 #: ../cat/virt-ls.pod:404 ../libguestfs-1.11.19/cat/virt-ls.pod:404
2974 #| msgid "B<--live>"
2975 msgid "B<--time-relative>"
2979 #: ../cat/virt-ls.pod:406 ../libguestfs-1.11.19/cat/virt-ls.pod:406
2980 msgid "Display time fields as seconds before now (negative if in the future)."
2984 #: ../cat/virt-ls.pod:411 ../libguestfs-1.11.19/cat/virt-ls.pod:411
2986 #| msgid "I<--timeout N>"
2988 msgstr "I<--timeout N>"
2991 #: ../cat/virt-ls.pod:413 ../libguestfs-1.11.19/cat/virt-ls.pod:413
2992 msgid "Display time fields as seconds since the Unix epoch."
2996 #: ../cat/virt-ls.pod:418 ../libguestfs-1.11.19/cat/virt-ls.pod:418
3003 #: ../cat/virt-ls.pod:420 ../libguestfs-1.11.19/cat/virt-ls.pod:420
3004 msgid "Display UID and GID fields."
3008 #: ../cat/virt-ls.pod:445 ../libguestfs-1.11.19/cat/virt-ls.pod:445
3009 msgid "Previous versions of virt-ls allowed you to write either:"
3013 #: ../cat/virt-ls.pod:447 ../libguestfs-1.11.19/cat/virt-ls.pod:447
3016 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3019 " virt-ls disk.img [disk.img ...] /dir\n"
3022 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3026 #: ../cat/virt-ls.pod:451 ../libguestfs-1.11.19/cat/virt-ls.pod:451
3029 #| " inspect-get-hostname root\n"
3032 " virt-ls guestname /dir\n"
3035 " inspect-get-hostname корінь\n"
3039 #: ../cat/virt-ls.pod:492 ../libguestfs-1.11.19/cat/virt-ls.pod:492
3042 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3043 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
3044 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3046 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3047 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3048 "L<http://libguestfs.org/>."
3050 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3051 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
3052 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3055 #: ../cat/virt-ls.pod:508 ../df/virt-df.pod:230 ../edit/virt-edit.pod:369
3056 #: ../libguestfs-1.11.19/cat/virt-ls.pod:508
3057 #: ../libguestfs-1.11.19/df/virt-df.pod:230
3058 #: ../libguestfs-1.11.19/edit/virt-edit.pod:369
3059 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:298
3060 #: ../rescue/virt-rescue.pod:298
3062 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
3063 msgid "Copyright (C) 2009-2011 Red Hat Inc."
3064 msgstr "© Red Hat Inc., 2009–2010"
3067 #: ../df/virt-df.pod:5 ../libguestfs-1.11.19/df/virt-df.pod:5
3068 msgid "virt-df - Display free space on virtual filesystems"
3072 #: ../df/virt-df.pod:9 ../libguestfs-1.11.19/df/virt-df.pod:9
3075 #| " virt-list-partitions [--options] domname\n"
3078 " virt-df [--options]\n"
3081 " virt-list-partitions [--параметри] назва_домену\n"
3085 #: ../df/virt-df.pod:11 ../libguestfs-1.11.19/df/virt-df.pod:11
3088 #| " virt-list-partitions [--options] domname\n"
3091 " virt-df [--options] -d domname\n"
3094 " virt-list-partitions [--параметри] назва_домену\n"
3098 #: ../df/virt-df.pod:13 ../libguestfs-1.11.19/df/virt-df.pod:13
3101 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3104 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
3107 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3111 #: ../df/virt-df.pod:17 ../libguestfs-1.11.19/df/virt-df.pod:17
3114 #| " virt-list-partitions [--options] domname\n"
3117 " virt-df [--options] domname\n"
3120 " virt-list-partitions [--параметри] назва_домену\n"
3124 #: ../df/virt-df.pod:19 ../libguestfs-1.11.19/df/virt-df.pod:19
3127 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3130 " virt-df [--options] disk.img [disk.img ...]\n"
3133 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3137 #: ../df/virt-df.pod:23 ../libguestfs-1.11.19/df/virt-df.pod:23
3139 "C<virt-df> is a command line tool to display free space on virtual machine "
3140 "filesystems. Unlike other tools, it doesn't just display the size of disk "
3141 "allocated to a virtual machine, but can look inside disk images to see how "
3142 "much space is really being used."
3146 #: ../df/virt-df.pod:28 ../libguestfs-1.11.19/df/virt-df.pod:28
3148 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt "
3149 "to get a list of all active and inactive guests, and performs a C<df>-type "
3150 "operation on each one in turn, printing out the results."
3154 #: ../df/virt-df.pod:32 ../libguestfs-1.11.19/df/virt-df.pod:32
3156 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a C<df>-"
3157 "type operation on either the single named libvirt domain, or on the disk "
3158 "image(s) listed on the command line (which must all belong to a single VM). "
3159 "In this mode (with arguments), C<virt-df> will I<only work for a single "
3160 "guest>. If you want to run on multiple guests, then you have to invoke "
3161 "C<virt-df> multiple times."
3165 #: ../df/virt-df.pod:39 ../libguestfs-1.11.19/df/virt-df.pod:39
3167 "Use the I<--csv> option to get a format which can be easily parsed by other "
3168 "programs. Other options are similar to the standard L<df(1)> command."
3172 #: ../df/virt-df.pod:45 ../libguestfs-1.11.19/df/virt-df.pod:45
3174 "Show disk usage for a single libvirt guest called C<F14x64>. Make the "
3175 "output human-readable:"
3179 #: ../df/virt-df.pod:48 ../libguestfs-1.11.19/df/virt-df.pod:48
3182 " # virt-df -d F14x64 -h\n"
3183 " Filesystem Size Used Available Use%\n"
3184 " F14x64:/dev/sda1 484M 66M 393M 14%\n"
3185 " F14x64:/dev/vg_f13x64/lv_root 7.4G 3.4G 4.0G 46%\n"
3190 #: ../df/virt-df.pod:53 ../libguestfs-1.11.19/df/virt-df.pod:53
3191 msgid "Show disk usage for a disk image file called C<test.img>:"
3195 #: ../df/virt-df.pod:55 ../libguestfs-1.11.19/df/virt-df.pod:55
3198 " $ virt-df -a test1.img\n"
3199 " Filesystem 1K-blocks Used Available Use%\n"
3200 " test1.img:/dev/sda1 99099 1551 92432 2%\n"
3205 #: ../df/virt-df.pod:106 ../libguestfs-1.11.19/df/virt-df.pod:106
3208 #| " guestfish --format=raw -a disk.img\n"
3211 " virt-df --format=raw -a disk.img\n"
3214 " guestfish --format=raw -a disk.img\n"
3218 #: ../df/virt-df.pod:110 ../libguestfs-1.11.19/df/virt-df.pod:110
3221 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3224 " virt-df --format=raw -a disk.img --format -a another.img\n"
3227 " guestfish --format=raw -a disk.img --format -a another.img\n"
3231 #: ../df/virt-df.pod:123 ../libguestfs-1.11.19/df/virt-df.pod:123
3232 msgid "Print sizes in human-readable format."
3236 #: ../df/virt-df.pod:125 ../libguestfs-1.11.19/df/virt-df.pod:125
3237 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
3241 #: ../df/virt-df.pod:127 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:155
3242 #: ../libguestfs-1.11.19/df/virt-df.pod:127
3243 #: ../libguestfs-1.11.19/fish/guestfish.pod:258
3244 #: ../libguestfs-1.11.19/fuse/guestmount.pod:155
3249 #: ../df/virt-df.pod:129 ../libguestfs-1.11.19/df/virt-df.pod:129
3251 #| msgid "B<--live>"
3256 #: ../df/virt-df.pod:131 ../libguestfs-1.11.19/df/virt-df.pod:131
3257 msgid "Print inodes instead of blocks."
3261 #: ../df/virt-df.pod:133 ../libguestfs-1.11.19/df/virt-df.pod:133
3263 #| msgid "B<--merge>"
3264 msgid "B<--one-per-guest>"
3268 #: ../df/virt-df.pod:135 ../libguestfs-1.11.19/df/virt-df.pod:135
3270 "Run one libguestfs appliance per guest. Normally C<virt-df> will add the "
3271 "disks from several guests to a single libguestfs appliance."
3275 #: ../df/virt-df.pod:138 ../libguestfs-1.11.19/df/virt-df.pod:138
3276 msgid "You might use this option in the following circumstances:"
3280 #: ../df/virt-df.pod:142 ../df/virt-df.pod:148 ../edit/virt-edit.pod:266
3281 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
3282 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
3283 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
3284 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
3285 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
3286 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
3287 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
3288 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
3289 #: ../fish/guestfish-actions.pod:385 ../fish/guestfish-actions.pod:393
3290 #: ../fish/guestfish-actions.pod:400 ../fish/guestfish-actions.pod:407
3291 #: ../fish/guestfish-actions.pod:1099 ../fish/guestfish-actions.pod:1103
3292 #: ../fish/guestfish-actions.pod:1107 ../fish/guestfish-actions.pod:1111
3293 #: ../fish/guestfish-actions.pod:1119 ../fish/guestfish-actions.pod:1123
3294 #: ../fish/guestfish-actions.pod:1127 ../fish/guestfish-actions.pod:1137
3295 #: ../fish/guestfish-actions.pod:1141 ../fish/guestfish-actions.pod:1145
3296 #: ../fish/guestfish-actions.pod:1235 ../fish/guestfish-actions.pod:1239
3297 #: ../fish/guestfish-actions.pod:1244 ../fish/guestfish-actions.pod:1249
3298 #: ../fish/guestfish-actions.pod:1291 ../fish/guestfish-actions.pod:1295
3299 #: ../fish/guestfish-actions.pod:1300 ../fish/guestfish-actions.pod:1933
3300 #: ../fish/guestfish-actions.pod:1939 ../fish/guestfish-actions.pod:1947
3301 #: ../fish/guestfish-actions.pod:1954 ../fish/guestfish-actions.pod:1961
3302 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
3303 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
3304 #: ../inspector/virt-inspector.pod:384 ../inspector/virt-inspector.pod:388
3305 #: ../libguestfs-1.11.19/df/virt-df.pod:142
3306 #: ../libguestfs-1.11.19/df/virt-df.pod:148
3307 #: ../libguestfs-1.11.19/edit/virt-edit.pod:266
3308 #: ../libguestfs-1.11.19/edit/virt-edit.pod:271
3309 #: ../libguestfs-1.11.19/edit/virt-edit.pod:276
3310 #: ../libguestfs-1.11.19/edit/virt-edit.pod:287
3311 #: ../libguestfs-1.11.19/edit/virt-edit.pod:291
3312 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:98
3313 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:102
3314 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:106
3315 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:132
3316 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:137
3317 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:227
3318 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:231
3319 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:235
3320 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:239
3321 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:243
3322 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:13
3323 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:20
3324 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:385
3325 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:393
3326 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:400
3327 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:407
3328 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1099
3329 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1103
3330 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1107
3331 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1111
3332 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1119
3333 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1123
3334 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1127
3335 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1137
3336 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1141
3337 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1145
3338 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1235
3339 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1239
3340 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1244
3341 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1249
3342 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1291
3343 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1295
3344 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1300
3345 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1933
3346 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1939
3347 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1947
3348 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1954
3349 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1961
3350 #: ../libguestfs-1.11.19/fish/guestfish.pod:445
3351 #: ../libguestfs-1.11.19/fish/guestfish.pod:449
3352 #: ../libguestfs-1.11.19/fish/guestfish.pod:453
3353 #: ../libguestfs-1.11.19/fish/guestfish.pod:457
3354 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:384
3355 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:388
3356 #: ../libguestfs-1.11.19/resize/virt-resize.pod:282
3357 #: ../libguestfs-1.11.19/resize/virt-resize.pod:286
3358 #: ../libguestfs-1.11.19/resize/virt-resize.pod:295
3359 #: ../libguestfs-1.11.19/resize/virt-resize.pod:301
3360 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:15
3361 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:22
3362 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:583
3363 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:591
3364 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:598
3365 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:605
3366 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1662
3367 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1666
3368 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1670
3369 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1674
3370 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1682
3371 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1686
3372 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1690
3373 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1700
3374 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1704
3375 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1708
3376 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1846
3377 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1850
3378 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1855
3379 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1860
3380 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1921
3381 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1925
3382 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1930
3383 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2859
3384 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2865
3385 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2873
3386 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2880
3387 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2887
3388 #: ../libguestfs-1.11.19/src/guestfs.pod:388
3389 #: ../libguestfs-1.11.19/src/guestfs.pod:393
3390 #: ../libguestfs-1.11.19/src/guestfs.pod:398
3391 #: ../libguestfs-1.11.19/src/guestfs.pod:402
3392 #: ../libguestfs-1.11.19/src/guestfs.pod:407
3393 #: ../libguestfs-1.11.19/src/guestfs.pod:411
3394 #: ../libguestfs-1.11.19/src/guestfs.pod:416
3395 #: ../libguestfs-1.11.19/src/guestfs.pod:421
3396 #: ../libguestfs-1.11.19/src/guestfs.pod:1064
3397 #: ../libguestfs-1.11.19/src/guestfs.pod:1068
3398 #: ../libguestfs-1.11.19/src/guestfs.pod:1072
3399 #: ../libguestfs-1.11.19/src/guestfs.pod:1077
3400 #: ../libguestfs-1.11.19/src/guestfs.pod:1085
3401 #: ../libguestfs-1.11.19/src/guestfs.pod:1104
3402 #: ../libguestfs-1.11.19/src/guestfs.pod:1112
3403 #: ../libguestfs-1.11.19/src/guestfs.pod:1134
3404 #: ../libguestfs-1.11.19/src/guestfs.pod:1138
3405 #: ../libguestfs-1.11.19/src/guestfs.pod:1142
3406 #: ../libguestfs-1.11.19/src/guestfs.pod:1146
3407 #: ../libguestfs-1.11.19/src/guestfs.pod:1150
3408 #: ../libguestfs-1.11.19/src/guestfs.pod:1154
3409 #: ../libguestfs-1.11.19/src/guestfs.pod:1643
3410 #: ../libguestfs-1.11.19/src/guestfs.pod:1648
3411 #: ../libguestfs-1.11.19/src/guestfs.pod:1652
3412 #: ../libguestfs-1.11.19/src/guestfs.pod:1754
3413 #: ../libguestfs-1.11.19/src/guestfs.pod:1759
3414 #: ../libguestfs-1.11.19/src/guestfs.pod:1763
3415 #: ../libguestfs-1.11.19/src/guestfs.pod:1773
3416 #: ../libguestfs-1.11.19/src/guestfs.pod:2047
3417 #: ../libguestfs-1.11.19/src/guestfs.pod:2052
3418 #: ../libguestfs-1.11.19/src/guestfs.pod:2058
3419 #: ../libguestfs-1.11.19/src/guestfs.pod:2066
3420 #: ../libguestfs-1.11.19/src/guestfs.pod:2420
3421 #: ../libguestfs-1.11.19/src/guestfs.pod:2426
3422 #: ../libguestfs-1.11.19/src/guestfs.pod:2431
3423 #: ../libguestfs-1.11.19/src/guestfs.pod:2437
3424 #: ../libguestfs-1.11.19/src/guestfs.pod:2818
3425 #: ../libguestfs-1.11.19/src/guestfs.pod:2822
3426 #: ../libguestfs-1.11.19/src/guestfs.pod:2826
3427 #: ../libguestfs-1.11.19/src/guestfs.pod:2830
3428 #: ../libguestfs-1.11.19/src/guestfs.pod:2844
3429 #: ../libguestfs-1.11.19/src/guestfs.pod:2849
3430 #: ../libguestfs-1.11.19/src/guestfs.pod:3061
3431 #: ../libguestfs-1.11.19/src/guestfs.pod:3065
3432 #: ../libguestfs-1.11.19/src/guestfs.pod:3069
3433 #: ../libguestfs-1.11.19/src/guestfs.pod:3073 ../resize/virt-resize.pod:282
3434 #: ../resize/virt-resize.pod:286 ../resize/virt-resize.pod:295
3435 #: ../resize/virt-resize.pod:301 ../src/guestfs-actions.pod:15
3436 #: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:583
3437 #: ../src/guestfs-actions.pod:591 ../src/guestfs-actions.pod:598
3438 #: ../src/guestfs-actions.pod:605 ../src/guestfs-actions.pod:1662
3439 #: ../src/guestfs-actions.pod:1666 ../src/guestfs-actions.pod:1670
3440 #: ../src/guestfs-actions.pod:1674 ../src/guestfs-actions.pod:1682
3441 #: ../src/guestfs-actions.pod:1686 ../src/guestfs-actions.pod:1690
3442 #: ../src/guestfs-actions.pod:1700 ../src/guestfs-actions.pod:1704
3443 #: ../src/guestfs-actions.pod:1708 ../src/guestfs-actions.pod:1846
3444 #: ../src/guestfs-actions.pod:1850 ../src/guestfs-actions.pod:1855
3445 #: ../src/guestfs-actions.pod:1860 ../src/guestfs-actions.pod:1921
3446 #: ../src/guestfs-actions.pod:1925 ../src/guestfs-actions.pod:1930
3447 #: ../src/guestfs-actions.pod:2859 ../src/guestfs-actions.pod:2865
3448 #: ../src/guestfs-actions.pod:2873 ../src/guestfs-actions.pod:2880
3449 #: ../src/guestfs-actions.pod:2887 ../src/guestfs.pod:388
3450 #: ../src/guestfs.pod:393 ../src/guestfs.pod:398 ../src/guestfs.pod:402
3451 #: ../src/guestfs.pod:407 ../src/guestfs.pod:411 ../src/guestfs.pod:416
3452 #: ../src/guestfs.pod:421 ../src/guestfs.pod:1064 ../src/guestfs.pod:1068
3453 #: ../src/guestfs.pod:1072 ../src/guestfs.pod:1077 ../src/guestfs.pod:1085
3454 #: ../src/guestfs.pod:1104 ../src/guestfs.pod:1112 ../src/guestfs.pod:1134
3455 #: ../src/guestfs.pod:1138 ../src/guestfs.pod:1142 ../src/guestfs.pod:1146
3456 #: ../src/guestfs.pod:1150 ../src/guestfs.pod:1154 ../src/guestfs.pod:1643
3457 #: ../src/guestfs.pod:1648 ../src/guestfs.pod:1652 ../src/guestfs.pod:1754
3458 #: ../src/guestfs.pod:1759 ../src/guestfs.pod:1763 ../src/guestfs.pod:1773
3459 #: ../src/guestfs.pod:2047 ../src/guestfs.pod:2052 ../src/guestfs.pod:2058
3460 #: ../src/guestfs.pod:2066 ../src/guestfs.pod:2420 ../src/guestfs.pod:2426
3461 #: ../src/guestfs.pod:2431 ../src/guestfs.pod:2437 ../src/guestfs.pod:2818
3462 #: ../src/guestfs.pod:2822 ../src/guestfs.pod:2826 ../src/guestfs.pod:2830
3463 #: ../src/guestfs.pod:2844 ../src/guestfs.pod:2849 ../src/guestfs.pod:3061
3464 #: ../src/guestfs.pod:3065 ../src/guestfs.pod:3069 ../src/guestfs.pod:3073
3465 #: ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202
3466 #: ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:710
3467 #: ../tools/virt-win-reg.pl:716 ../tools/virt-win-reg.pl:722
3472 #: ../df/virt-df.pod:144 ../libguestfs-1.11.19/df/virt-df.pod:144
3474 "If you think an untrusted guest might actively try to exploit the libguestfs "
3475 "appliance kernel, then this prevents one guest from interfering with the "
3476 "stats printed for another guest."
3480 #: ../df/virt-df.pod:150 ../libguestfs-1.11.19/df/virt-df.pod:150
3482 "If the kernel has a bug which stops it from accessing a filesystem in one "
3483 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
3484 "and report stats for further guests."
3488 #: ../df/virt-df.pod:159 ../libguestfs-1.11.19/df/virt-df.pod:159
3490 "Print UUIDs instead of names. This is useful for following a guest even "
3491 "when the guest is migrated or renamed, or when two guests happen to have the "
3496 #: ../df/virt-df.pod:163 ../libguestfs-1.11.19/df/virt-df.pod:163
3498 "Note that only domains that we fetch from libvirt come with UUIDs. For disk "
3499 "images, we still print the disk image name even when this option is "
3504 #: ../df/virt-df.pod:218 ../libguestfs-1.11.19/df/virt-df.pod:218
3506 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<http://"
3511 #: ../edit/virt-edit.pod:5 ../libguestfs-1.11.19/edit/virt-edit.pod:5
3512 msgid "virt-edit - Edit a file in a virtual machine"
3516 #: ../edit/virt-edit.pod:9 ../libguestfs-1.11.19/edit/virt-edit.pod:9
3519 #| " virt-list-partitions [--options] domname\n"
3522 " virt-edit [--options] -d domname file [file ...]\n"
3525 " virt-list-partitions [--параметри] назва_домену\n"
3529 #: ../edit/virt-edit.pod:11 ../libguestfs-1.11.19/edit/virt-edit.pod:11
3532 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3535 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
3538 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3542 #: ../edit/virt-edit.pod:13 ../libguestfs-1.11.19/edit/virt-edit.pod:13
3545 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
3550 #: ../edit/virt-edit.pod:17 ../libguestfs-1.11.19/edit/virt-edit.pod:17
3553 " virt-edit domname file\n"
3558 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
3559 #: ../libguestfs-1.11.19/edit/virt-edit.pod:19
3560 #: ../libguestfs-1.11.19/edit/virt-edit.pod:183
3563 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
3566 " virt-edit disk.img [disk.img ...] file\n"
3569 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
3573 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
3574 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
3575 #: ../fuse/guestmount.pod:15 ../libguestfs-1.11.19/edit/virt-edit.pod:21
3576 #: ../libguestfs-1.11.19/fish/guestfish.pod:23
3577 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:13
3578 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:15
3579 #: ../libguestfs-1.11.19/fuse/guestmount.pod:15
3580 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:19
3581 #: ../rescue/virt-rescue.pod:19 ../tools/virt-tar.pl:64
3582 #: ../tools/virt-win-reg.pl:51
3584 msgstr "ПОПЕРЕДЖЕННЯ"
3587 #: ../edit/virt-edit.pod:23 ../libguestfs-1.11.19/edit/virt-edit.pod:23
3589 "You must I<not> use C<virt-edit> on live virtual machines. If you do this, "
3590 "you risk disk corruption in the VM. C<virt-edit> tries to stop you from "
3591 "doing this, but doesn't catch all cases."
3595 #: ../edit/virt-edit.pod:29 ../libguestfs-1.11.19/edit/virt-edit.pod:29
3597 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
3598 "exists in the named virtual machine (or disk image)."
3602 #: ../edit/virt-edit.pod:32 ../libguestfs-1.11.19/edit/virt-edit.pod:32
3604 "Multiple filenames can be given, in which case they are each edited in "
3605 "turn. Each filename must be a full path, starting at the root directory "
3606 "(starting with '/')."
3610 #: ../edit/virt-edit.pod:36 ../libguestfs-1.11.19/edit/virt-edit.pod:36
3611 msgid "If you want to just view a file, use L<virt-cat(1)>."
3615 #: ../edit/virt-edit.pod:38 ../libguestfs-1.11.19/edit/virt-edit.pod:38
3617 "For more complex cases you should look at the L<guestfish(1)> tool (see L</"
3618 "USING GUESTFISH> below)."
3622 #: ../edit/virt-edit.pod:41 ../libguestfs-1.11.19/edit/virt-edit.pod:41
3624 "C<virt-edit> cannot be used to create a new file. L<guestfish(1)> can do "
3625 "that and much more."
3629 #: ../edit/virt-edit.pod:46 ../libguestfs-1.11.19/edit/virt-edit.pod:46
3630 msgid "Edit the named files interactively:"
3634 #: ../edit/virt-edit.pod:48 ../libguestfs-1.11.19/edit/virt-edit.pod:48
3637 " virt-edit -d mydomain /boot/grub/grub.conf\n"
3642 #: ../edit/virt-edit.pod:50 ../libguestfs-1.11.19/edit/virt-edit.pod:50
3645 " virt-edit -d mydomain /etc/passwd\n"
3650 #: ../edit/virt-edit.pod:52 ../libguestfs-1.11.19/edit/virt-edit.pod:52
3651 msgid "For Windows guests, some Windows paths are understood:"
3655 #: ../edit/virt-edit.pod:54 ../libguestfs-1.11.19/edit/virt-edit.pod:54
3658 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
3663 #: ../edit/virt-edit.pod:56 ../libguestfs-1.11.19/edit/virt-edit.pod:56
3665 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
3666 "INTERACTIVE EDITING> below). To change the init default level to 5:"
3670 #: ../edit/virt-edit.pod:60 ../libguestfs-1.11.19/edit/virt-edit.pod:60
3673 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
3678 #: ../edit/virt-edit.pod:81 ../libguestfs-1.11.19/edit/virt-edit.pod:81
3679 msgid "B<-b> extension"
3683 #: ../edit/virt-edit.pod:83 ../libguestfs-1.11.19/edit/virt-edit.pod:83
3684 msgid "B<--backup> extension"
3688 #: ../edit/virt-edit.pod:85 ../libguestfs-1.11.19/edit/virt-edit.pod:85
3690 "Create a backup of the original file I<in the guest disk image>. The backup "
3691 "has the original filename with C<extension> added."
3695 #: ../edit/virt-edit.pod:88 ../libguestfs-1.11.19/edit/virt-edit.pod:88
3697 "Usually the first character of C<extension> would be a dot C<.> so you would "
3702 #: ../edit/virt-edit.pod:91 ../libguestfs-1.11.19/edit/virt-edit.pod:91
3705 " virt-edit -b .orig [etc]\n"
3710 #: ../edit/virt-edit.pod:93 ../libguestfs-1.11.19/edit/virt-edit.pod:93
3711 msgid "By default, no backup file is made."
3715 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
3716 #: ../fuse/guestmount.pod:96 ../inspector/virt-inspector.pod:74
3717 #: ../libguestfs-1.11.19/edit/virt-edit.pod:95
3718 #: ../libguestfs-1.11.19/fish/guestfish.pod:181
3719 #: ../libguestfs-1.11.19/fuse/guestmount.pod:96
3720 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:74
3721 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
3722 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
3724 msgstr "B<-c адреса>"
3727 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
3728 #: ../fuse/guestmount.pod:98 ../inspector/virt-inspector.pod:76
3729 #: ../libguestfs-1.11.19/edit/virt-edit.pod:97
3730 #: ../libguestfs-1.11.19/fish/guestfish.pod:183
3731 #: ../libguestfs-1.11.19/fuse/guestmount.pod:98
3732 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:76
3733 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
3734 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
3735 msgid "B<--connect URI>"
3736 msgstr "B<--connect адреса>"
3739 #: ../edit/virt-edit.pod:102 ../libguestfs-1.11.19/edit/virt-edit.pod:102
3740 #: ../tools/virt-list-filesystems.pl:84 ../tools/virt-list-partitions.pl:85
3741 #: ../tools/virt-tar.pl:134 ../tools/virt-win-reg.pl:135
3743 "If you specify guest block devices directly, then libvirt is not used at all."
3747 #: ../edit/virt-edit.pod:114 ../libguestfs-1.11.19/edit/virt-edit.pod:114
3749 "When prompting for keys and passphrases, virt-edit normally turns echoing "
3750 "off so you cannot see what you are typing. If you are not worried about "
3751 "Tempest attacks and there is no one else in the room you can specify this "
3752 "flag to see what you are typing."
3756 #: ../edit/virt-edit.pod:119 ../libguestfs-1.11.19/edit/virt-edit.pod:119
3761 #: ../edit/virt-edit.pod:121 ../libguestfs-1.11.19/edit/virt-edit.pod:121
3763 #| msgid "B<--help>"
3764 msgid "B<--expr> EXPR"
3768 #: ../edit/virt-edit.pod:123 ../libguestfs-1.11.19/edit/virt-edit.pod:123
3770 "Instead of launching the external editor, non-interactively apply the Perl "
3771 "expression C<EXPR> to each line in the file. See L</NON-INTERACTIVE "
3776 #: ../edit/virt-edit.pod:127 ../libguestfs-1.11.19/edit/virt-edit.pod:127
3778 "Be careful to properly quote the expression to prevent it from being altered "
3783 #: ../edit/virt-edit.pod:130 ../libguestfs-1.11.19/edit/virt-edit.pod:130
3784 msgid "Note that this option is only available when Perl 5 is installed."
3788 #: ../edit/virt-edit.pod:132 ../libguestfs-1.11.19/edit/virt-edit.pod:132
3790 #| msgid "B<--format=raw|qcow2|..>"
3791 msgid "B<--format> raw|qcow2|..."
3792 msgstr "B<--format=raw|qcow2|..>"
3795 #: ../edit/virt-edit.pod:143 ../libguestfs-1.11.19/edit/virt-edit.pod:143
3798 #| " guestfish --format=raw -a disk.img\n"
3801 " virt-edit --format=raw -a disk.img file\n"
3804 " guestfish --format=raw -a disk.img\n"
3808 #: ../edit/virt-edit.pod:147 ../libguestfs-1.11.19/edit/virt-edit.pod:147
3811 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3814 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
3817 " guestfish --format=raw -a disk.img --format -a another.img\n"
3821 #: ../edit/virt-edit.pod:181 ../libguestfs-1.11.19/edit/virt-edit.pod:181
3822 msgid "Previous versions of virt-edit allowed you to write either:"
3826 #: ../edit/virt-edit.pod:187 ../libguestfs-1.11.19/edit/virt-edit.pod:187
3829 #| " edit filename\n"
3832 " virt-edit guestname file\n"
3835 " edit назва_файла\n"
3839 #: ../edit/virt-edit.pod:195 ../libguestfs-1.11.19/edit/virt-edit.pod:195
3840 msgid "NON-INTERACTIVE EDITING"
3844 #: ../edit/virt-edit.pod:197 ../libguestfs-1.11.19/edit/virt-edit.pod:197
3846 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
3847 "administrator can interactively edit the file."
3851 #: ../edit/virt-edit.pod:200 ../libguestfs-1.11.19/edit/virt-edit.pod:200
3853 "There are two ways also to use C<virt-edit> from scripts in order to make "
3854 "automated edits to files. (Note that although you I<can> use C<virt-edit> "
3855 "like this, it's less error-prone to write scripts directly using the "
3856 "libguestfs API and Augeas for configuration file editing.)"
3860 #: ../edit/virt-edit.pod:206 ../libguestfs-1.11.19/edit/virt-edit.pod:206
3862 "The first method is to temporarily set C<$EDITOR> to any script or program "
3863 "you want to run. The script is invoked as C<$EDITOR tmpfile> and it should "
3864 "update C<tmpfile> in place however it likes."
3868 #: ../edit/virt-edit.pod:210 ../libguestfs-1.11.19/edit/virt-edit.pod:210
3870 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
3871 "short Perl snippet in the style of L<sed(1)>. For example to replace all "
3872 "instances of C<foo> with C<bar> in a file:"
3876 #: ../edit/virt-edit.pod:214 ../libguestfs-1.11.19/edit/virt-edit.pod:214
3879 " virt-edit -d domname filename -e 's/foo/bar/'\n"
3884 #: ../edit/virt-edit.pod:216 ../libguestfs-1.11.19/edit/virt-edit.pod:216
3886 "The full power of Perl regular expressions can be used (see L<perlre(1)>). "
3887 "For example to delete root's password you could do:"
3891 #: ../edit/virt-edit.pod:219 ../libguestfs-1.11.19/edit/virt-edit.pod:219
3894 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
3899 #: ../edit/virt-edit.pod:221 ../libguestfs-1.11.19/edit/virt-edit.pod:221
3901 "What really happens is that the snippet is evaluated as a Perl expression "
3902 "for each line of the file. The line, including the final C<\\n>, is passed "
3903 "in C<$_> and the expression should update C<$_> or leave it unchanged."
3907 #: ../edit/virt-edit.pod:226 ../libguestfs-1.11.19/edit/virt-edit.pod:226
3909 "To delete a line, set C<$_> to the empty string. For example, to delete the "
3910 "C<apache> user account from the password file you can do:"
3914 #: ../edit/virt-edit.pod:229 ../libguestfs-1.11.19/edit/virt-edit.pod:229
3917 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
3922 #: ../edit/virt-edit.pod:231 ../libguestfs-1.11.19/edit/virt-edit.pod:231
3924 "To insert a line, prepend or append it to C<$_>. However appending lines to "
3925 "the end of the file is rather difficult this way since there is no concept "
3926 "of \"last line of the file\" - your expression just doesn't get called "
3927 "again. You might want to use the first method (setting C<$EDITOR>) if you "
3932 #: ../edit/virt-edit.pod:237 ../libguestfs-1.11.19/edit/virt-edit.pod:237
3934 "The variable C<$lineno> contains the current line number. As is "
3935 "traditional, the first line in the file is number C<1>."
3939 #: ../edit/virt-edit.pod:240 ../libguestfs-1.11.19/edit/virt-edit.pod:240
3941 "The return value from the expression is ignored, but the expression may call "
3942 "C<die> in order to abort the whole program, leaving the original file "
3947 #: ../edit/virt-edit.pod:244 ../libguestfs-1.11.19/edit/virt-edit.pod:244
3949 "Remember when matching the end of a line that C<$_> may contain the final C<"
3950 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
3951 "newline then neither of these. Thus to match or substitute some text at the "
3952 "end of a line, use this regular expression:"
3956 #: ../edit/virt-edit.pod:249 ../libguestfs-1.11.19/edit/virt-edit.pod:249
3959 " /some text(\\r?\\n)?$/\n"
3964 #: ../edit/virt-edit.pod:251 ../libguestfs-1.11.19/edit/virt-edit.pod:251
3966 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
3967 "$_> itself (since that would remove all newlines from the file):"
3971 #: ../edit/virt-edit.pod:255 ../libguestfs-1.11.19/edit/virt-edit.pod:255
3974 " my $m = $_; chomp $m; $m =~ /some text$/\n"
3979 #: ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
3980 #: ../libguestfs-1.11.19/edit/virt-edit.pod:257
3981 #: ../libguestfs-1.11.19/fish/guestfish.pod:858
3982 msgid "WINDOWS PATHS"
3986 #: ../edit/virt-edit.pod:259 ../libguestfs-1.11.19/edit/virt-edit.pod:259
3988 "C<virt-edit> has a limited ability to understand Windows drive letters and "
3989 "paths (eg. C<E:\\foo\\bar.txt>)."
3993 #: ../edit/virt-edit.pod:262 ../libguestfs-1.11.19/edit/virt-edit.pod:262
3994 msgid "If and only if the guest is running Windows then:"
3998 #: ../edit/virt-edit.pod:268 ../libguestfs-1.11.19/edit/virt-edit.pod:268
4000 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
4001 "to the correct filesystem."
4005 #: ../edit/virt-edit.pod:273 ../libguestfs-1.11.19/edit/virt-edit.pod:273
4007 "Any backslash (C<\\>) characters in the path are replaced with forward "
4008 "slashes so that libguestfs can process it."
4012 #: ../edit/virt-edit.pod:278 ../libguestfs-1.11.19/edit/virt-edit.pod:278
4014 "The path is resolved case insensitively to locate the file that should be "
4019 #: ../edit/virt-edit.pod:283 ../libguestfs-1.11.19/edit/virt-edit.pod:283
4020 msgid "There are some known shortcomings:"
4024 #: ../edit/virt-edit.pod:289 ../libguestfs-1.11.19/edit/virt-edit.pod:289
4025 msgid "Some NTFS symbolic links may not be followed correctly."
4029 #: ../edit/virt-edit.pod:293 ../libguestfs-1.11.19/edit/virt-edit.pod:293
4030 msgid "NTFS junction points that cross filesystems are not followed."
4034 #: ../edit/virt-edit.pod:299 ../libguestfs-1.11.19/edit/virt-edit.pod:299
4036 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
4037 "C<virt-edit> doesn't work."
4041 #: ../edit/virt-edit.pod:302 ../libguestfs-1.11.19/edit/virt-edit.pod:302
4042 msgid "Using C<virt-edit> is approximately equivalent to doing:"
4046 #: ../edit/virt-edit.pod:304 ../libguestfs-1.11.19/edit/virt-edit.pod:304
4049 #| " guestfish --ro -d myguest -i\n"
4052 " guestfish --rw -i -d domname edit /file\n"
4055 " guestfish --ro -d myguest -i\n"
4059 #: ../edit/virt-edit.pod:306 ../libguestfs-1.11.19/edit/virt-edit.pod:306
4061 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
4066 #: ../edit/virt-edit.pod:309 ../libguestfs-1.11.19/edit/virt-edit.pod:309
4068 "The command above uses libguestfs's guest inspection feature and so does not "
4069 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
4070 "disk images that don't contain guests. To edit a file on a disk image "
4075 #: ../edit/virt-edit.pod:314 ../libguestfs-1.11.19/edit/virt-edit.pod:314
4078 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
4081 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
4084 " guestfish --format=raw -a disk.img --format -a another.img\n"
4088 #: ../edit/virt-edit.pod:316 ../libguestfs-1.11.19/edit/virt-edit.pod:316
4090 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
4091 "the disk image to edit, and C</file> is the full path to the file."
4095 #: ../edit/virt-edit.pod:320 ../libguestfs-1.11.19/edit/virt-edit.pod:320
4097 "C<virt-edit> cannot create new files. Use the guestfish commands C<touch>, "
4098 "C<write> or C<upload> instead:"
4102 #: ../edit/virt-edit.pod:323 ../libguestfs-1.11.19/edit/virt-edit.pod:323
4105 #| " guestfish --ro -d myguest -i\n"
4108 " guestfish --rw -i -d domname touch /newfile\n"
4111 " guestfish --ro -d myguest -i\n"
4115 #: ../edit/virt-edit.pod:325 ../libguestfs-1.11.19/edit/virt-edit.pod:325
4118 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
4123 #: ../edit/virt-edit.pod:327 ../libguestfs-1.11.19/edit/virt-edit.pod:327
4126 " guestfish --rw -i -d domname upload localfile /newfile\n"
4131 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1075
4132 #: ../libguestfs-1.11.19/edit/virt-edit.pod:329
4133 #: ../libguestfs-1.11.19/fish/guestfish.pod:1075
4134 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:257
4135 #: ../libguestfs-1.11.19/src/guestfs.pod:2960
4136 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:82
4137 #: ../rescue/virt-rescue.pod:257 ../src/guestfs.pod:2960
4138 #: ../test-tool/libguestfs-test-tool.pod:82
4139 msgid "ENVIRONMENT VARIABLES"
4140 msgstr "ЗМІННІ СЕРЕДОВИЩА"
4143 #: ../edit/virt-edit.pod:333 ../libguestfs-1.11.19/edit/virt-edit.pod:333
4150 #: ../edit/virt-edit.pod:335 ../libguestfs-1.11.19/edit/virt-edit.pod:335
4152 "If set, this string is used as the editor. It may contain arguments, eg. C<"
4157 #: ../edit/virt-edit.pod:338 ../libguestfs-1.11.19/edit/virt-edit.pod:338
4158 msgid "If not set, C<vi> is used."
4162 #: ../edit/virt-edit.pod:351 ../libguestfs-1.11.19/edit/virt-edit.pod:351
4165 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4166 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
4167 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4169 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4170 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4171 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4173 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4174 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
4175 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4178 #: ../examples/guestfs-examples.pod:5
4179 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:5
4180 msgid "guestfs-examples - Examples of using libguestfs from C"
4184 #: ../examples/guestfs-examples.pod:9
4185 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:9
4186 #: ../libguestfs-1.11.19/src/guestfs.pod:9 ../src/guestfs.pod:9
4189 " #include <guestfs.h>\n"
4192 " #include <guestfs.h>\n"
4196 #: ../examples/guestfs-examples.pod:11
4197 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:11
4200 " guestfs_h *g = guestfs_create ();\n"
4201 " guestfs_add_drive_ro (g, \"disk.img\");\n"
4202 " guestfs_launch (g);\n"
4207 #: ../examples/guestfs-examples.pod:15
4208 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:15
4209 #: ../libguestfs-1.11.19/src/guestfs.pod:19 ../src/guestfs.pod:19
4212 " cc prog.c -o prog -lguestfs\n"
4214 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
4217 " cc prog.c -o prog -lguestfs\n"
4219 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
4223 #: ../examples/guestfs-examples.pod:21
4224 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:21
4226 "This manual page contains examples of calling libguestfs from the C "
4227 "programming language. If you are not familiar with using libguestfs, you "
4228 "also need to read L<guestfs(3)>."
4232 #: ../examples/guestfs-examples.pod:25
4233 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:25
4234 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:70
4235 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:31
4236 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:34
4237 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:28
4238 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
4239 #: ../python/examples/guestfs-python.pod:34
4240 #: ../ruby/examples/guestfs-ruby.pod:28
4241 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
4245 #: ../examples/guestfs-examples.pod:27
4246 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:27
4247 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:72
4248 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:33
4249 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:36
4250 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:30
4251 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
4252 #: ../python/examples/guestfs-python.pod:36
4253 #: ../ruby/examples/guestfs-ruby.pod:30
4260 #: ../examples/guestfs-examples.pod:29
4261 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:29
4262 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:74
4263 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:35
4264 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:38
4265 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:32
4266 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
4267 #: ../python/examples/guestfs-python.pod:38
4268 #: ../ruby/examples/guestfs-ruby.pod:32
4269 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
4273 #: ../examples/guestfs-examples.pod:31
4274 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:31
4275 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:76
4276 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:37
4277 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:40
4278 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:34
4279 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
4280 #: ../python/examples/guestfs-python.pod:40
4281 #: ../ruby/examples/guestfs-ruby.pod:34
4288 #: ../examples/guestfs-examples.pod:35
4289 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:35
4292 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4293 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
4294 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4296 "L<guestfs(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)"
4297 ">, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
4299 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4300 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
4301 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4304 #: ../examples/guestfs-examples.pod:43 ../examples/guestfs-recipes.pod:395
4305 #: ../fish/guestfish.pod:1238 ../fish/virt-copy-in.pod:60
4306 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
4307 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:314
4308 #: ../inspector/virt-inspector.pod:380
4309 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:43
4310 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:395
4311 #: ../libguestfs-1.11.19/fish/guestfish.pod:1238
4312 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:60
4313 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:49
4314 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:58
4315 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:51
4316 #: ../libguestfs-1.11.19/fuse/guestmount.pod:314
4317 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:380
4318 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:89
4319 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:50
4320 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:52
4321 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:46
4322 #: ../libguestfs-1.11.19/src/guestfs.pod:3080
4323 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:93
4324 #: ../ocaml/examples/guestfs-ocaml.pod:89 ../perl/examples/guestfs-perl.pod:50
4325 #: ../python/examples/guestfs-python.pod:52
4326 #: ../ruby/examples/guestfs-ruby.pod:46 ../src/guestfs.pod:3080
4327 #: ../test-tool/libguestfs-test-tool.pod:93
4332 #: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397
4333 #: ../fish/guestfish.pod:1240 ../fish/virt-copy-in.pod:62
4334 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
4335 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:316
4336 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:45
4337 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:397
4338 #: ../libguestfs-1.11.19/fish/guestfish.pod:1240
4339 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:62
4340 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:51
4341 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:60
4342 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:53
4343 #: ../libguestfs-1.11.19/fuse/guestmount.pod:316
4344 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:91
4345 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:52
4346 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:54
4347 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:48
4348 #: ../libguestfs-1.11.19/src/guestfs.pod:3082
4349 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:95
4350 #: ../ocaml/examples/guestfs-ocaml.pod:91 ../perl/examples/guestfs-perl.pod:52
4351 #: ../python/examples/guestfs-python.pod:54
4352 #: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3082
4353 #: ../test-tool/libguestfs-test-tool.pod:95
4354 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
4358 #: ../examples/guestfs-examples.pod:49
4359 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:49
4360 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:95
4361 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:58
4362 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:52
4363 #: ../ocaml/examples/guestfs-ocaml.pod:95
4364 #: ../python/examples/guestfs-python.pod:58
4365 #: ../ruby/examples/guestfs-ruby.pod:52
4367 #| msgid "Copyright (C) 2009 Red Hat Inc."
4368 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
4369 msgstr "© Red Hat Inc., 2009"
4372 #: ../examples/guestfs-examples.pod:51 ../examples/guestfs-recipes.pod:403
4373 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:51
4374 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:403
4375 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:97
4376 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:58
4377 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:60
4378 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:54
4379 #: ../ocaml/examples/guestfs-ocaml.pod:97 ../perl/examples/guestfs-perl.pod:58
4380 #: ../python/examples/guestfs-python.pod:60
4381 #: ../ruby/examples/guestfs-ruby.pod:54
4383 "The examples in this manual page may be freely copied, modified and "
4384 "distributed without any restrictions."
4388 #: ../examples/guestfs-examples.pod:54 ../examples/guestfs-recipes.pod:406
4389 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:54
4390 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:406
4391 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:100
4392 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:61
4393 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:63
4394 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:57
4395 #: ../libguestfs-1.11.19/src/guestfs.pod:3089
4396 #: ../ocaml/examples/guestfs-ocaml.pod:100
4397 #: ../perl/examples/guestfs-perl.pod:61
4398 #: ../python/examples/guestfs-python.pod:63
4399 #: ../ruby/examples/guestfs-ruby.pod:57 ../src/guestfs.pod:3089
4401 "This library is free software; you can redistribute it and/or modify it "
4402 "under the terms of the GNU Lesser General Public License as published by the "
4403 "Free Software Foundation; either version 2 of the License, or (at your "
4404 "option) any later version."
4408 #: ../examples/guestfs-examples.pod:59 ../examples/guestfs-recipes.pod:411
4409 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:59
4410 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:411
4411 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:105
4412 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:66
4413 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:68
4414 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:62
4415 #: ../libguestfs-1.11.19/src/guestfs.pod:3094
4416 #: ../ocaml/examples/guestfs-ocaml.pod:105
4417 #: ../perl/examples/guestfs-perl.pod:66
4418 #: ../python/examples/guestfs-python.pod:68
4419 #: ../ruby/examples/guestfs-ruby.pod:62 ../src/guestfs.pod:3094
4421 "This library is distributed in the hope that it will be useful, but WITHOUT "
4422 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
4423 "FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License "
4428 #: ../examples/guestfs-examples.pod:64 ../examples/guestfs-recipes.pod:416
4429 #: ../libguestfs-1.11.19/examples/guestfs-examples.pod:64
4430 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:416
4431 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:110
4432 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:71
4433 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:73
4434 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:67
4435 #: ../libguestfs-1.11.19/src/guestfs.pod:3099
4436 #: ../ocaml/examples/guestfs-ocaml.pod:110
4437 #: ../perl/examples/guestfs-perl.pod:71
4438 #: ../python/examples/guestfs-python.pod:73
4439 #: ../ruby/examples/guestfs-ruby.pod:67 ../src/guestfs.pod:3099
4441 "You should have received a copy of the GNU Lesser General Public License "
4442 "along with this library; if not, write to the Free Software Foundation, "
4443 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
4447 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
4448 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:3
4449 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:12
4454 #: ../examples/guestfs-recipes.pod:5
4455 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:5
4457 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
4458 "here. The only way which works for both sorts of output is to just write "
4459 "the URL directly. Do NOT use L<...> for URLs."
4463 #: ../examples/guestfs-recipes.pod:9
4464 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:9
4466 "We break with tradition here and don't use ALL CAPS for the section "
4467 "headings, as this makes them much easier to read."
4471 #: ../examples/guestfs-recipes.pod:16
4472 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:16
4473 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
4477 #: ../examples/guestfs-recipes.pod:20
4478 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:20
4480 "This page contains recipes for and links to things you can do using "
4481 "libguestfs, L<guestfish(1)> and the virt tools."
4485 #: ../examples/guestfs-recipes.pod:23
4486 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:23
4487 msgid "Audit a virtual machine for setuid files"
4491 #: ../examples/guestfs-recipes.pod:25
4492 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:25
4494 "The link below contains a small program which can be used to audit a Linux "
4495 "virtual machine to see what setuid and setgid files it contains."
4499 #: ../examples/guestfs-recipes.pod:28
4500 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:28
4502 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
4507 #: ../examples/guestfs-recipes.pod:30
4508 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:30
4509 msgid "Change the background image in a Windows XP VM"
4513 #: ../examples/guestfs-recipes.pod:32
4514 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:32
4516 "The links below explain how to use L<guestfish(1)> to change the background "
4517 "image for a user of a Windows XP VM. Unfortunately the technique appears to "
4518 "be substantially different for each version of Windows."
4522 #: ../examples/guestfs-recipes.pod:37
4523 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:37
4525 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
4526 "lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
4530 #: ../examples/guestfs-recipes.pod:40
4531 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:40
4532 msgid "Cloning a virtual machine (Linux)"
4536 #: ../examples/guestfs-recipes.pod:42
4537 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:42
4539 "The guestfish technique described in the link below works well for most "
4540 "Linux VMs. Depending on the Linux distro you may need to change the paths "
4545 #: ../examples/guestfs-recipes.pod:46
4546 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:46
4548 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
4553 #: ../examples/guestfs-recipes.pod:48
4554 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:48
4556 "Avoid L<virt-clone(1)>. Currently what to do about virt-clone is under "
4561 #: ../examples/guestfs-recipes.pod:51
4562 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:51
4563 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
4567 #: ../examples/guestfs-recipes.pod:53
4568 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:53
4569 msgid "Cloning a virtual machine (Windows)"
4573 #: ../examples/guestfs-recipes.pod:55
4574 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:55
4576 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
4577 "straightforward. Currently there is code in the Aeolus Oz project which "
4578 "does this (using libguestfs). As part of our review of the virt-clone tool, "
4579 "we may add sysprepping ability."
4583 #: ../examples/guestfs-recipes.pod:60
4584 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:60
4586 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
4587 "list/2011-May/msg00019.html"
4591 #: ../examples/guestfs-recipes.pod:63
4592 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:63
4593 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
4597 #: ../examples/guestfs-recipes.pod:65
4598 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:65
4599 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
4603 #: ../examples/guestfs-recipes.pod:67
4604 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:67
4607 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
4612 #: ../examples/guestfs-recipes.pod:69
4613 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:69
4614 msgid "To export just a subdirectory, eg. C</files>, do:"
4618 #: ../examples/guestfs-recipes.pod:71
4619 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:71
4622 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
4627 #: ../examples/guestfs-recipes.pod:73
4628 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:73
4629 msgid "Create empty disk images"
4633 #: ../examples/guestfs-recipes.pod:75
4634 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:75
4636 "You can use the L<guestfish(1)> I<-N> option to create empty disk images. "
4637 "The useful guide below explains the options available."
4641 #: ../examples/guestfs-recipes.pod:78
4642 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:78
4644 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
4649 #: ../examples/guestfs-recipes.pod:80
4650 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:80
4651 msgid "Dump raw filesystem content from inside a disk image or VM"
4655 #: ../examples/guestfs-recipes.pod:82
4656 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:82
4658 "You can use the L<guestfish(1)> C<download> command to extract the raw "
4659 "filesystem content from any filesystem in a disk image or a VM (even one "
4660 "which is encrypted or buried inside an LV):"
4664 #: ../examples/guestfs-recipes.pod:86
4665 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:86
4668 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
4671 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
4674 " guestfish --format=raw -a disk.img --format -a another.img\n"
4678 #: ../examples/guestfs-recipes.pod:88
4679 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:88
4682 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
4687 #: ../examples/guestfs-recipes.pod:90
4688 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:90
4689 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
4693 #: ../examples/guestfs-recipes.pod:92
4694 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:92
4695 msgid "Edit grub configuration in a VM"
4699 #: ../examples/guestfs-recipes.pod:94
4700 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:94
4701 msgid "You can use this to:"
4705 #: ../examples/guestfs-recipes.pod:100
4706 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:100
4707 msgid "Fix a virtual machine that does not boot."
4711 #: ../examples/guestfs-recipes.pod:104
4712 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:104
4713 msgid "Change which kernel is used to boot the VM."
4717 #: ../examples/guestfs-recipes.pod:108
4718 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:108
4719 msgid "Change kernel command line options."
4723 #: ../examples/guestfs-recipes.pod:112
4724 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:112
4725 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
4729 #: ../examples/guestfs-recipes.pod:114
4730 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:114
4733 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
4738 #: ../examples/guestfs-recipes.pod:116
4739 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:116
4741 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
4746 #: ../examples/guestfs-recipes.pod:119
4747 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:119
4750 " virt-rescue -d BrokenGuest\n"
4755 #: ../examples/guestfs-recipes.pod:121
4756 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:121
4757 msgid "Export any directory from a VM"
4761 #: ../examples/guestfs-recipes.pod:123
4762 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:123
4764 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
4768 #: ../examples/guestfs-recipes.pod:126
4769 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:126
4772 #| " copy-out /home .\n"
4775 " virt-copy-out -d Guest /home .\n"
4778 " copy-out /home .\n"
4782 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
4783 #: ../fish/guestfish-actions.pod:1287 ../fish/guestfish-actions.pod:1929
4784 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:128
4785 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:9
4786 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1287
4787 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1929
4788 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:11
4789 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1917
4790 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2855
4791 #: ../libguestfs-1.11.19/src/guestfs.pod:1639 ../src/guestfs-actions.pod:11
4792 #: ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:2855
4793 #: ../src/guestfs.pod:1639 ../tools/virt-win-reg.pl:706
4798 #: ../examples/guestfs-recipes.pod:134
4799 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:134
4801 "The final dot of the command is not a printing error. It means we want to "
4802 "copy out to the current directory."
4806 #: ../examples/guestfs-recipes.pod:139
4807 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:139
4808 msgid "This creates a directory called C<home> under the current directory."
4812 #: ../examples/guestfs-recipes.pod:143
4813 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:143
4815 "If the guest is a Windows guest then you can use drive letters and "
4816 "backslashes, but you must prefix the path with C<win:> and quote it to "
4817 "protect it from the shell, like this:"
4821 #: ../examples/guestfs-recipes.pod:147
4822 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:147
4825 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
4830 #: ../examples/guestfs-recipes.pod:149
4831 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:149
4832 msgid "To get the output as a compressed tarball, do:"
4836 #: ../examples/guestfs-recipes.pod:151
4837 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:151
4840 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
4845 #: ../examples/guestfs-recipes.pod:153
4846 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:153
4848 "Although it sounds tempting, this is usually not a reliable way to get a "
4849 "backup from a running guest. See the entry in the FAQ: http://libguestfs."
4850 "org/FAQ.html#backup"
4854 #: ../examples/guestfs-recipes.pod:157
4855 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:157
4856 msgid "Find out which user is using the most space"
4860 #: ../examples/guestfs-recipes.pod:159
4861 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:159
4863 "This simple script examines a Linux guest to find out which user is using "
4864 "the most space in their home directory:"
4868 #: ../examples/guestfs-recipes.pod:162
4869 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:162
4872 #| " #!/usr/bin/guestfish -f\n"
4878 " #!/usr/bin/guestfish -f\n"
4882 #: ../examples/guestfs-recipes.pod:164
4883 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:164
4886 #| " set-qemu qemu\n"
4896 #: ../examples/guestfs-recipes.pod:166
4897 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:166
4906 #: ../examples/guestfs-recipes.pod:169
4907 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:169
4910 #| " guestfish --ro -d myguest -i\n"
4913 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
4916 " guestfish --ro -d myguest -i\n"
4920 #: ../examples/guestfs-recipes.pod:171
4921 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:171
4924 " for d in $(guestfish --remote ls \"$dir\"); do\n"
4925 " echo -n \"$dir/$d\"\n"
4927 " guestfish --remote du \"$dir/$d\";\n"
4928 " done | sort -nr -k 2\n"
4933 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
4934 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:177
4935 #: ../libguestfs-1.11.19/fish/guestfish.pod:941
4938 " guestfish --remote exit\n"
4943 #: ../examples/guestfs-recipes.pod:179
4944 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:179
4945 msgid "Get DHCP address from a VM"
4949 #: ../examples/guestfs-recipes.pod:181
4950 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:181
4952 "The link below explains the many different possible techniques for getting "
4953 "the last assigned DHCP address of a virtual machine."
4957 #: ../examples/guestfs-recipes.pod:184
4958 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:184
4960 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
4961 "a-virtual-machine-disk-image/#content"
4965 #: ../examples/guestfs-recipes.pod:186
4966 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:186
4968 "In the libguestfs source examples directory you will find the latest version "
4969 "of the C<virt-dhcp-address.c> program."
4973 #: ../examples/guestfs-recipes.pod:189
4974 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:189
4975 msgid "Get the operating system product name string"
4979 #: ../examples/guestfs-recipes.pod:191
4980 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:191
4981 msgid "Save the following script into a file called C<product-name.sh>:"
4985 #: ../examples/guestfs-recipes.pod:193
4986 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:193
4989 #| " eval \"`guestfish --listen`\"\n"
4990 #| " guestfish --remote add-ro disk.img\n"
4991 #| " guestfish --remote run\n"
4992 #| " guestfish --remote lvs\n"
4997 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
4998 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
4999 " guestfish --remote inspect-get-product-name \"$root\"\n"
5000 " guestfish --remote exit\n"
5003 " eval \"`guestfish --listen`\"\n"
5004 " guestfish --remote add-ro disk.img\n"
5005 " guestfish --remote run\n"
5006 " guestfish --remote lvs\n"
5010 #: ../examples/guestfs-recipes.pod:200
5011 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:200
5012 msgid "Make the script executable and run it on a named guest:"
5016 #: ../examples/guestfs-recipes.pod:202
5017 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:202
5020 " # product-name.sh RHEL60x64\n"
5021 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
5026 #: ../examples/guestfs-recipes.pod:205
5027 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:205
5029 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
5030 "C<xpath> command line tool or from your favourite programming language:"
5034 #: ../examples/guestfs-recipes.pod:209
5035 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:209
5038 " # virt-inspector RHEL60x64 > xml\n"
5039 " # xpath '//product_name' < xml\n"
5042 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
5047 #: ../examples/guestfs-recipes.pod:215
5048 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:215
5049 msgid "Get the default boot kernel for a Linux VM"
5053 #: ../examples/guestfs-recipes.pod:217
5054 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:217
5056 "The link below contains a program to print the default boot kernel for a "
5061 #: ../examples/guestfs-recipes.pod:220
5062 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:220
5064 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
5065 "kernel-for-a-vm/#content"
5069 #: ../examples/guestfs-recipes.pod:222
5070 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:222
5072 "It uses Augeas, and the technique is generally applicable for many different "
5077 #: ../examples/guestfs-recipes.pod:229
5078 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:229
5079 msgid "listing the user accounts in the guest"
5083 #: ../examples/guestfs-recipes.pod:233
5084 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:233
5085 msgid "what repositories is it configured to use"
5089 #: ../examples/guestfs-recipes.pod:237
5090 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:237
5091 msgid "what NTP servers does it connect to"
5095 #: ../examples/guestfs-recipes.pod:241
5096 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:241
5097 msgid "what were the boot messages last time it booted"
5101 #: ../examples/guestfs-recipes.pod:245
5102 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:245
5103 msgid "listing who was logged in recently"
5107 #: ../examples/guestfs-recipes.pod:249
5108 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:249
5109 msgid "http://augeas.net/"
5113 #: ../examples/guestfs-recipes.pod:251
5114 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:251
5115 msgid "Install RPMs in a guest"
5119 #: ../examples/guestfs-recipes.pod:253
5120 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:253
5122 "The link below contains a method to install RPMs in a guest. In fact the "
5123 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
5124 "installs them next time the guest is booted. You could use this technique "
5125 "to install vital security updates in an offline guest."
5129 #: ../examples/guestfs-recipes.pod:259
5130 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:259
5132 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
5136 #: ../examples/guestfs-recipes.pod:261
5137 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:261
5138 msgid "List applications installed in a VM"
5142 #: ../examples/guestfs-recipes.pod:263
5143 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:263
5144 msgid "Save the following to a file C<list-apps.sh>:"
5148 #: ../examples/guestfs-recipes.pod:265
5149 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:265
5152 #| " eval \"`guestfish --listen`\"\n"
5153 #| " guestfish --remote add-ro disk.img\n"
5154 #| " guestfish --remote run\n"
5155 #| " guestfish --remote lvs\n"
5160 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5161 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5162 " guestfish --remote inspect-list-applications \"$root\"\n"
5163 " guestfish --remote exit\n"
5166 " eval \"`guestfish --listen`\"\n"
5167 " guestfish --remote add-ro disk.img\n"
5168 " guestfish --remote run\n"
5169 " guestfish --remote lvs\n"
5173 #: ../examples/guestfs-recipes.pod:272
5174 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:272
5176 "Make the file executable and then you can run it on any named virtual "
5181 #: ../examples/guestfs-recipes.pod:275
5182 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:275
5185 " # list-apps.sh WinGuest\n"
5187 " app_name: Mozilla Firefox (3.6.12)\n"
5188 " app_display_name: Mozilla Firefox (3.6.12)\n"
5190 " app_version: 3.6.12 (en-GB)\n"
5192 " app_install_path: C:\\Program Files\\Mozilla Firefox\n"
5193 " app_trans_path:\n"
5194 " app_publisher: Mozilla\n"
5195 " app_url: http://www.mozilla.com/en-GB/\n"
5196 " app_source_package:\n"
5198 " app_description: Mozilla Firefox\n"
5201 " app_name: VLC media player\n"
5202 " app_display_name: VLC media player 1.1.5\n"
5204 " app_version: 1.1.5\n"
5206 " app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
5207 " app_trans_path:\n"
5208 " app_publisher: VideoLAN\n"
5209 " app_url: http://www.videolan.org/\n"
5210 " app_source_package:\n"
5212 " app_description:\n"
5218 #: ../examples/guestfs-recipes.pod:305
5219 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:305
5221 "If you want to run the script on disk images (instead of libvirt virtual "
5222 "machines), change C<-d \"$1\"> to C<-a \"$1\">. See also L<virt-inspector(1)"
5227 #: ../examples/guestfs-recipes.pod:309
5228 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:309
5229 msgid "List files and directories in a VM"
5233 #: ../examples/guestfs-recipes.pod:311
5234 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:311
5235 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
5239 #: ../examples/guestfs-recipes.pod:313
5240 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:313
5243 #| " guestfish --ro -d myguest -i\n"
5246 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
5249 " guestfish --ro -d myguest -i\n"
5253 #: ../examples/guestfs-recipes.pod:315
5254 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:315
5255 msgid "List services in a Windows VM"
5259 #: ../examples/guestfs-recipes.pod:317
5260 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:317
5262 "The link below contains a script that can be used to list out the services "
5263 "from a Windows VM, and whether those services run at boot time or are loaded "
5268 #: ../examples/guestfs-recipes.pod:321
5269 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:321
5271 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
5276 #: ../examples/guestfs-recipes.pod:323
5277 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:323
5278 msgid "Make a disk image sparse"
5282 #: ../examples/guestfs-recipes.pod:325
5283 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:325
5285 "The link below contains some guides for making a disk image sparse (or "
5286 "reintroducing sparseness)."
5290 #: ../examples/guestfs-recipes.pod:328
5291 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:328
5293 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/#content"
5297 #: ../examples/guestfs-recipes.pod:330
5298 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:330
5299 msgid "Monitor disk usage over time"
5303 #: ../examples/guestfs-recipes.pod:332
5304 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:332
5306 "You can use L<virt-df(1)> to monitor disk usage of your guests over time. "
5307 "The link below contains a guide."
5311 #: ../examples/guestfs-recipes.pod:335
5312 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:335
5313 msgid "http://virt-tools.org/learning/advanced-virt-df/"
5317 #: ../examples/guestfs-recipes.pod:337
5318 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:337
5319 msgid "Reading the Windows Event Log from Windows Vista (or later)"
5323 #: ../examples/guestfs-recipes.pod:339
5324 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:339
5326 "L<guestfish(1)> plus the tools described in the link below can be used to "
5327 "read out the Windows Event Log from any virtual machine running Windows "
5328 "Vista or a later version."
5332 #: ../examples/guestfs-recipes.pod:343
5333 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:343
5335 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
5336 "guestfish/#content"
5340 #: ../examples/guestfs-recipes.pod:345
5341 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:345
5342 msgid "Remove root password (Linux)"
5346 #: ../examples/guestfs-recipes.pod:347
5347 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:347
5349 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
5350 "files. One use is to remove the root password from a Linux guest:"
5354 #: ../examples/guestfs-recipes.pod:350
5355 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:350
5358 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
5363 #: ../examples/guestfs-recipes.pod:352
5364 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:352
5365 msgid "Remove Administrator password (Windows)"
5369 #: ../examples/guestfs-recipes.pod:354
5370 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:354
5372 "The link below contains one technique for removing the Administrator "
5373 "password from a Windows VM, or to be more precise, it gives you a command "
5374 "prompt the next time you log in which you can use to bypass any security:"
5378 #: ../examples/guestfs-recipes.pod:359
5379 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:359
5381 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
5382 "administrator-password-with-guestfish/"
5386 #: ../examples/guestfs-recipes.pod:361
5387 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:361
5388 msgid "Unpack a live CD"
5392 #: ../examples/guestfs-recipes.pod:363
5393 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:363
5395 "Linux live CDs often contain multiple layers of disk images wrapped like a "
5396 "Russian doll. You can use L<guestfish(1)> to look inside these multiple "
5397 "layers, as outlined in the guide below."
5401 #: ../examples/guestfs-recipes.pod:367
5402 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:367
5404 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
5409 #: ../examples/guestfs-recipes.pod:369
5410 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:369
5411 msgid "Uploading and downloading files"
5415 #: ../examples/guestfs-recipes.pod:371
5416 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:371
5418 "The link below contains general tips on uploading (copying in) and "
5419 "downloading (copying out) files from VMs."
5423 #: ../examples/guestfs-recipes.pod:374
5424 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:374
5426 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
5430 #: ../examples/guestfs-recipes.pod:376
5431 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:376
5432 msgid "Use libguestfs tools on VMware ESX guests"
5436 #: ../examples/guestfs-recipes.pod:378
5437 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:378
5439 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
5440 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
5444 #: ../examples/guestfs-recipes.pod:382
5445 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:382
5447 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
5452 #: ../examples/guestfs-recipes.pod:386
5453 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:386
5456 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
5457 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
5458 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
5460 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, "
5461 "L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, L<http://"
5464 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
5465 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
5466 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
5469 #: ../examples/guestfs-recipes.pod:401
5470 #: ../libguestfs-1.11.19/examples/guestfs-recipes.pod:401
5472 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
5473 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
5474 msgstr "© Red Hat Inc., 2009–2010"
5477 #: ../fish/guestfish-actions.pod:1
5478 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1
5483 #: ../fish/guestfish-actions.pod:3
5484 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3
5487 " add-cdrom filename\n"
5492 #: ../fish/guestfish-actions.pod:5
5493 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5
5494 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7
5495 #: ../src/guestfs-actions.pod:7
5496 msgid "This function adds a virtual CD-ROM disk image to the guest."
5500 #: ../fish/guestfish-actions.pod:7
5501 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:7
5502 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:9
5503 #: ../src/guestfs-actions.pod:9
5504 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
5508 #: ../fish/guestfish-actions.pod:15
5509 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:15
5511 "This call checks for the existence of C<filename>. This stops you from "
5512 "specifying other types of drive which are supported by qemu such as C<nbd:> "
5513 "and C<http:> URLs. To specify those, use the general L</config> call "
5518 #: ../fish/guestfish-actions.pod:22
5519 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:22
5521 "If you just want to add an ISO file (often you use this as an efficient way "
5522 "to transfer large files into the guest), then you should probably use L</add-"
5523 "drive-ro> instead."
5527 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:163
5528 #: ../fish/guestfish-actions.pod:177
5529 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:28
5530 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:163
5531 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:177
5532 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:32
5533 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:254
5534 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:275
5535 #: ../src/guestfs-actions.pod:32 ../src/guestfs-actions.pod:254
5536 #: ../src/guestfs-actions.pod:275
5538 "This function is deprecated. In new code, use the C<add_drive_opts> call "
5543 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:166
5544 #: ../fish/guestfish-actions.pod:180 ../fish/guestfish-actions.pod:986
5545 #: ../fish/guestfish-actions.pod:1346 ../fish/guestfish-actions.pod:1360
5546 #: ../fish/guestfish-actions.pod:3085 ../fish/guestfish-actions.pod:3292
5547 #: ../fish/guestfish-actions.pod:3406 ../fish/guestfish-actions.pod:3454
5548 #: ../fish/guestfish-actions.pod:4355 ../fish/guestfish-actions.pod:4378
5549 #: ../fish/guestfish-actions.pod:4400 ../fish/guestfish-actions.pod:4438
5550 #: ../fish/guestfish-actions.pod:5087 ../fish/guestfish-actions.pod:5185
5551 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:31
5552 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:166
5553 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:180
5554 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:986
5555 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1346
5556 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1360
5557 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3085
5558 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3292
5559 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3406
5560 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3454
5561 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4355
5562 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4378
5563 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4400
5564 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4438
5565 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5087
5566 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5185
5567 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:35
5568 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:257
5569 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:278
5570 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1513
5571 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2008
5572 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2029
5573 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4628
5574 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4947
5575 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5165
5576 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5255
5577 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6544
5578 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6574
5579 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6607
5580 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6666
5581 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7602
5582 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7714
5583 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7884
5584 #: ../src/guestfs-actions.pod:35 ../src/guestfs-actions.pod:257
5585 #: ../src/guestfs-actions.pod:278 ../src/guestfs-actions.pod:1513
5586 #: ../src/guestfs-actions.pod:2008 ../src/guestfs-actions.pod:2029
5587 #: ../src/guestfs-actions.pod:4628 ../src/guestfs-actions.pod:4947
5588 #: ../src/guestfs-actions.pod:5165 ../src/guestfs-actions.pod:5255
5589 #: ../src/guestfs-actions.pod:6544 ../src/guestfs-actions.pod:6574
5590 #: ../src/guestfs-actions.pod:6607 ../src/guestfs-actions.pod:6666
5591 #: ../src/guestfs-actions.pod:7602 ../src/guestfs-actions.pod:7714
5592 #: ../src/guestfs-actions.pod:7884
5594 "Deprecated functions will not be removed from the API, but the fact that "
5595 "they are deprecated indicates that there are problems with correct use of "
5600 #: ../fish/guestfish-actions.pod:35
5601 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:35
5606 #: ../fish/guestfish-actions.pod:37
5607 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:37
5612 #: ../fish/guestfish-actions.pod:39
5613 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:39
5616 " add-domain dom [libvirturi:..] [readonly:..] [iface:..] [live:..] [allowuuid:..]\n"
5621 #: ../fish/guestfish-actions.pod:41
5622 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:41
5624 "This function adds the disk(s) attached to the named libvirt domain C<dom>. "
5625 "It works by connecting to libvirt, requesting the domain and domain XML from "
5626 "libvirt, parsing it for disks, and calling L</add-drive-opts> on each one."
5630 #: ../fish/guestfish-actions.pod:46
5631 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:46
5632 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:64
5633 #: ../src/guestfs-actions.pod:64
5635 "The number of disks added is returned. This operation is atomic: if an "
5636 "error is returned, then no disks are added."
5640 #: ../fish/guestfish-actions.pod:49
5641 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:49
5642 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:67
5643 #: ../src/guestfs-actions.pod:67
5645 "This function does some minimal checks to make sure the libvirt domain is "
5646 "not running (unless C<readonly> is true). In a future version we will try "
5647 "to acquire the libvirt lock on each disk."
5651 #: ../fish/guestfish-actions.pod:53
5652 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:53
5653 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:71
5654 #: ../src/guestfs-actions.pod:71
5656 "Disks must be accessible locally. This often means that adding disks from a "
5657 "remote libvirt connection (see L<http://libvirt.org/remote.html>) will fail "
5658 "unless those disks are accessible via the same device path locally too."
5662 #: ../fish/guestfish-actions.pod:58
5663 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:58
5664 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:76
5665 #: ../src/guestfs-actions.pod:76
5667 "The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
5668 "libvirt.org/uri.html>). If this is not set then we connect to the default "
5669 "libvirt URI (or one set through an environment variable, see the libvirt "
5670 "documentation for full details)."
5674 #: ../fish/guestfish-actions.pod:64
5675 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:64
5676 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:82
5677 #: ../src/guestfs-actions.pod:82
5679 "The optional C<live> flag controls whether this call will try to connect to "
5680 "a running virtual machine C<guestfsd> process if it sees a suitable "
5681 "E<lt>channelE<gt> element in the libvirt XML definition. The default (if "
5682 "the flag is omitted) is never to try. See L<guestfs(3)/ATTACHING TO RUNNING "
5683 "DAEMONS> for more information."
5687 #: ../fish/guestfish-actions.pod:71
5688 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:71
5689 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:89
5690 #: ../src/guestfs-actions.pod:89
5692 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
5693 "passed instead of the domain name. The C<dom> string is treated as a UUID "
5694 "first and looked up, and if that lookup fails then we treat C<dom> as a name "
5699 #: ../fish/guestfish-actions.pod:76
5700 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:76
5702 "The other optional parameters are passed directly through to L</add-drive-"
5707 #: ../fish/guestfish-actions.pod:79 ../fish/guestfish-actions.pod:143
5708 #: ../fish/guestfish-actions.pod:568 ../fish/guestfish-actions.pod:1968
5709 #: ../fish/guestfish-actions.pod:3134 ../fish/guestfish-actions.pod:3307
5710 #: ../fish/guestfish-actions.pod:3442
5711 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:79
5712 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:143
5713 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:568
5714 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1968
5715 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3134
5716 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3307
5717 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3442
5719 "This command has one or more optional arguments. See L</OPTIONAL ARGUMENTS>."
5723 #: ../fish/guestfish-actions.pod:81
5724 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:81
5729 #: ../fish/guestfish-actions.pod:83
5730 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:83
5733 " add-drive filename\n"
5736 " add-drive назва_файла\n"
5740 #: ../fish/guestfish-actions.pod:85
5741 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:85
5743 "This function is the equivalent of calling L</add-drive-opts> with no "
5744 "optional parameters, so the disk is added writable, with the format being "
5745 "detected automatically."
5749 #: ../fish/guestfish-actions.pod:89
5750 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:89
5752 "Automatic detection of the format opens you up to a potential security hole "
5753 "when dealing with untrusted raw-format images. See CVE-2010-3851 and "
5754 "RHBZ#642934. Specifying the format closes this security hole. Therefore "
5755 "you should think about replacing calls to this function with calls to L</add-"
5756 "drive-opts>, and specifying the format."
5760 #: ../fish/guestfish-actions.pod:96
5761 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:96
5762 msgid "add-drive-opts"
5763 msgstr "add-drive-opts"
5766 #: ../fish/guestfish-actions.pod:98
5767 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:98
5772 #: ../fish/guestfish-actions.pod:100
5773 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:100
5776 " add-drive-opts filename [readonly:..] [format:..] [iface:..]\n"
5781 #: ../fish/guestfish-actions.pod:102
5782 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:102
5783 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:160
5784 #: ../src/guestfs-actions.pod:160
5786 "This function adds a virtual machine disk image C<filename> to libguestfs. "
5787 "The first time you call this function, the disk appears as C</dev/sda>, the "
5788 "second time as C</dev/sdb>, and so on."
5792 #: ../fish/guestfish-actions.pod:107
5793 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:107
5794 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:165
5795 #: ../src/guestfs-actions.pod:165
5797 "You don't necessarily need to be root when using libguestfs. However you "
5798 "obviously do need sufficient permissions to access the filename for whatever "
5799 "operations you want to perform (ie. read access if you just want to read the "
5800 "image or write access if you want to modify the image)."
5804 #: ../fish/guestfish-actions.pod:113
5805 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:113
5806 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:171
5807 #: ../src/guestfs-actions.pod:171
5808 msgid "This call checks that C<filename> exists."
5812 #: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3096
5813 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:115
5814 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3096
5815 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:173
5816 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4655
5817 #: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4655
5818 msgid "The optional arguments are:"
5822 #: ../fish/guestfish-actions.pod:119
5823 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:119
5824 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:177
5825 #: ../src/guestfs-actions.pod:177
5827 msgstr "C<readonly>"
5830 #: ../fish/guestfish-actions.pod:121
5831 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:121
5832 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:179
5833 #: ../src/guestfs-actions.pod:179
5835 "If true then the image is treated as read-only. Writes are still allowed, "
5836 "but they are stored in a temporary snapshot overlay which is discarded at "
5837 "the end. The disk that you add is not modified."
5841 #: ../fish/guestfish-actions.pod:125
5842 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:125
5843 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:183
5844 #: ../src/guestfs-actions.pod:183
5849 #: ../fish/guestfish-actions.pod:127
5850 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:127
5852 "This forces the image format. If you omit this (or use L</add-drive> or L</"
5853 "add-drive-ro>) then the format is automatically detected. Possible formats "
5854 "include C<raw> and C<qcow2>."
5858 #: ../fish/guestfish-actions.pod:131
5859 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:131
5860 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:189
5861 #: ../src/guestfs-actions.pod:189
5863 "Automatic detection of the format opens you up to a potential security hole "
5864 "when dealing with untrusted raw-format images. See CVE-2010-3851 and "
5865 "RHBZ#642934. Specifying the format closes this security hole."
5869 #: ../fish/guestfish-actions.pod:136
5870 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:136
5871 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:194
5872 #: ../src/guestfs-actions.pod:194
5877 #: ../fish/guestfish-actions.pod:138
5878 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:138
5880 "This rarely-used option lets you emulate the behaviour of the deprecated L</"
5881 "add-drive-with-if> call (q.v.)"
5885 #: ../fish/guestfish-actions.pod:145
5886 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:145
5887 msgid "add-drive-ro"
5888 msgstr "add-drive-ro"
5891 #: ../fish/guestfish-actions.pod:147
5892 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:147
5897 #: ../fish/guestfish-actions.pod:149
5898 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:149
5901 " add-drive-ro filename\n"
5906 #: ../fish/guestfish-actions.pod:151
5907 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:151
5909 "This function is the equivalent of calling L</add-drive-opts> with the "
5910 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
5911 "is added read-only, with the format being detected automatically."
5915 #: ../fish/guestfish-actions.pod:156
5916 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:156
5917 msgid "add-drive-ro-with-if"
5921 #: ../fish/guestfish-actions.pod:158
5922 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:158
5925 " add-drive-ro-with-if filename iface\n"
5930 #: ../fish/guestfish-actions.pod:160
5931 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:160
5933 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
5934 "interface emulation to use at run time."
5938 #: ../fish/guestfish-actions.pod:170
5939 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:170
5940 msgid "add-drive-with-if"
5944 #: ../fish/guestfish-actions.pod:172
5945 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:172
5948 " add-drive-with-if filename iface\n"
5953 #: ../fish/guestfish-actions.pod:174
5954 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:174
5956 "This is the same as L</add-drive> but it allows you to specify the QEMU "
5957 "interface emulation to use at run time."
5961 #: ../fish/guestfish-actions.pod:184
5962 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:184
5967 #: ../fish/guestfish-actions.pod:186
5968 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:186
5971 " aug-clear augpath\n"
5976 #: ../fish/guestfish-actions.pod:188
5977 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:188
5978 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:290
5979 #: ../src/guestfs-actions.pod:290
5981 "Set the value associated with C<path> to C<NULL>. This is the same as the "
5982 "L<augtool(1)> C<clear> command."
5986 #: ../fish/guestfish-actions.pod:191
5987 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:191
5992 #: ../fish/guestfish-actions.pod:193
5993 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:193
6001 #: ../fish/guestfish-actions.pod:195
6002 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:195
6004 "Close the current Augeas handle and free up any resources used by it. After "
6005 "calling this, you have to call L</aug-init> again before you can use any "
6006 "other Augeas functions."
6010 #: ../fish/guestfish-actions.pod:200
6011 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:200
6016 #: ../fish/guestfish-actions.pod:202
6017 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:202
6020 " aug-defnode name expr val\n"
6025 #: ../fish/guestfish-actions.pod:204
6026 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:204
6027 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:319
6028 #: ../src/guestfs-actions.pod:319
6030 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
6034 #: ../fish/guestfish-actions.pod:207
6035 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:207
6037 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
6038 "calling L</aug-set> C<expr>, C<value>. C<name> will be the nodeset "
6039 "containing that single node."
6043 #: ../fish/guestfish-actions.pod:211
6044 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:211
6045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:326
6046 #: ../src/guestfs-actions.pod:326
6048 "On success this returns a pair containing the number of nodes in the "
6049 "nodeset, and a boolean flag if a node was created."
6053 #: ../fish/guestfish-actions.pod:215
6054 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:215
6059 #: ../fish/guestfish-actions.pod:217
6060 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:217
6063 " aug-defvar name expr\n"
6068 #: ../fish/guestfish-actions.pod:219
6069 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:219
6070 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:343
6071 #: ../src/guestfs-actions.pod:343
6073 "Defines an Augeas variable C<name> whose value is the result of evaluating "
6074 "C<expr>. If C<expr> is NULL, then C<name> is undefined."
6078 #: ../fish/guestfish-actions.pod:223
6079 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:223
6080 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:347
6081 #: ../src/guestfs-actions.pod:347
6083 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
6084 "evaluates to something which is not a nodeset."
6088 #: ../fish/guestfish-actions.pod:226
6089 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:226
6094 #: ../fish/guestfish-actions.pod:228
6095 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:228
6098 " aug-get augpath\n"
6103 #: ../fish/guestfish-actions.pod:230
6104 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:230
6105 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:360
6106 #: ../src/guestfs-actions.pod:360
6108 "Look up the value associated with C<path>. If C<path> matches exactly one "
6109 "node, the C<value> is returned."
6113 #: ../fish/guestfish-actions.pod:233
6114 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:233
6119 #: ../fish/guestfish-actions.pod:235
6120 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:235
6123 " aug-init root flags\n"
6128 #: ../fish/guestfish-actions.pod:237
6129 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:237
6130 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:375
6131 #: ../src/guestfs-actions.pod:375
6133 "Create a new Augeas handle for editing configuration files. If there was "
6134 "any previous Augeas handle associated with this guestfs session, then it is "
6139 #: ../fish/guestfish-actions.pod:241
6140 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:241
6141 msgid "You must call this before using any other L</aug-*> commands."
6145 #: ../fish/guestfish-actions.pod:244
6146 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:244
6147 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:382
6148 #: ../src/guestfs-actions.pod:382
6150 "C<root> is the filesystem root. C<root> must not be NULL, use C</> instead."
6154 #: ../fish/guestfish-actions.pod:247
6155 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:247
6156 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:385
6157 #: ../src/guestfs-actions.pod:385
6159 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
6160 "logical I<or> of the following integers:"
6164 #: ../fish/guestfish-actions.pod:253
6165 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:253
6166 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:391
6167 #: ../src/guestfs-actions.pod:391
6168 msgid "C<AUG_SAVE_BACKUP> = 1"
6169 msgstr "C<AUG_SAVE_BACKUP> = 1"
6172 #: ../fish/guestfish-actions.pod:255
6173 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:255
6174 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:393
6175 #: ../src/guestfs-actions.pod:393
6176 msgid "Keep the original file with a C<.augsave> extension."
6180 #: ../fish/guestfish-actions.pod:257
6181 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:257
6182 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:395
6183 #: ../src/guestfs-actions.pod:395
6184 msgid "C<AUG_SAVE_NEWFILE> = 2"
6185 msgstr "C<AUG_SAVE_NEWFILE> = 2"
6188 #: ../fish/guestfish-actions.pod:259
6189 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:259
6190 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:397
6191 #: ../src/guestfs-actions.pod:397
6193 "Save changes into a file with extension C<.augnew>, and do not overwrite "
6194 "original. Overrides C<AUG_SAVE_BACKUP>."
6198 #: ../fish/guestfish-actions.pod:262
6199 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:262
6200 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:400
6201 #: ../src/guestfs-actions.pod:400
6202 msgid "C<AUG_TYPE_CHECK> = 4"
6203 msgstr "C<AUG_TYPE_CHECK> = 4"
6206 #: ../fish/guestfish-actions.pod:264
6207 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:264
6208 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:402
6209 #: ../src/guestfs-actions.pod:402
6210 msgid "Typecheck lenses (can be expensive)."
6214 #: ../fish/guestfish-actions.pod:266
6215 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:266
6216 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:404
6217 #: ../src/guestfs-actions.pod:404
6218 msgid "C<AUG_NO_STDINC> = 8"
6219 msgstr "C<AUG_NO_STDINC> = 8"
6222 #: ../fish/guestfish-actions.pod:268
6223 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:268
6224 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:406
6225 #: ../src/guestfs-actions.pod:406
6226 msgid "Do not use standard load path for modules."
6230 #: ../fish/guestfish-actions.pod:270
6231 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:270
6232 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:408
6233 #: ../src/guestfs-actions.pod:408
6234 msgid "C<AUG_SAVE_NOOP> = 16"
6235 msgstr "C<AUG_SAVE_NOOP> = 16"
6238 #: ../fish/guestfish-actions.pod:272
6239 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:272
6240 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:410
6241 #: ../src/guestfs-actions.pod:410
6242 msgid "Make save a no-op, just record what would have been changed."
6246 #: ../fish/guestfish-actions.pod:274
6247 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:274
6248 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:412
6249 #: ../src/guestfs-actions.pod:412
6250 msgid "C<AUG_NO_LOAD> = 32"
6251 msgstr "C<AUG_NO_LOAD> = 32"
6254 #: ../fish/guestfish-actions.pod:276
6255 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:276
6256 msgid "Do not load the tree in L</aug-init>."
6260 #: ../fish/guestfish-actions.pod:280
6261 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:280
6262 msgid "To close the handle, you can call L</aug-close>."
6266 #: ../fish/guestfish-actions.pod:282
6267 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:282
6268 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:420
6269 #: ../src/guestfs-actions.pod:420
6270 msgid "To find out more about Augeas, see L<http://augeas.net/>."
6274 #: ../fish/guestfish-actions.pod:284
6275 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:284
6280 #: ../fish/guestfish-actions.pod:286
6281 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:286
6284 " aug-insert augpath label true|false\n"
6289 #: ../fish/guestfish-actions.pod:288
6290 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:288
6291 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:434
6292 #: ../src/guestfs-actions.pod:434
6294 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
6295 "or after C<path> (depending on the boolean flag C<before>)."
6299 #: ../fish/guestfish-actions.pod:292
6300 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:292
6301 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:438
6302 #: ../src/guestfs-actions.pod:438
6304 "C<path> must match exactly one existing node in the tree, and C<label> must "
6305 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
6309 #: ../fish/guestfish-actions.pod:296
6310 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:296
6315 #: ../fish/guestfish-actions.pod:298
6316 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:298
6324 #: ../fish/guestfish-actions.pod:300
6325 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:300
6326 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:451
6327 #: ../src/guestfs-actions.pod:451
6328 msgid "Load files into the tree."
6329 msgstr "Завантажити файли до ієрархії."
6332 #: ../fish/guestfish-actions.pod:302
6333 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:302
6334 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:453
6335 #: ../src/guestfs-actions.pod:453
6336 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
6340 #: ../fish/guestfish-actions.pod:305
6341 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:305
6346 #: ../fish/guestfish-actions.pod:307
6347 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:307
6355 #: ../fish/guestfish-actions.pod:309
6356 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:309
6358 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
6359 "resulting nodes into alphabetical order."
6363 #: ../fish/guestfish-actions.pod:312
6364 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:312
6369 #: ../fish/guestfish-actions.pod:314
6370 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:314
6373 " aug-match augpath\n"
6378 #: ../fish/guestfish-actions.pod:316
6379 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:316
6380 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:481
6381 #: ../src/guestfs-actions.pod:481
6383 "Returns a list of paths which match the path expression C<path>. The "
6384 "returned paths are sufficiently qualified so that they match exactly one "
6385 "node in the current tree."
6389 #: ../fish/guestfish-actions.pod:320
6390 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:320
6395 #: ../fish/guestfish-actions.pod:322
6396 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:322
6399 " aug-mv src dest\n"
6404 #: ../fish/guestfish-actions.pod:324
6405 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:324
6406 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:498
6407 #: ../src/guestfs-actions.pod:498
6409 "Move the node C<src> to C<dest>. C<src> must match exactly one node. "
6410 "C<dest> is overwritten if it exists."
6414 #: ../fish/guestfish-actions.pod:327
6415 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:327
6420 #: ../fish/guestfish-actions.pod:329
6421 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:329
6429 #: ../fish/guestfish-actions.pod:331
6430 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:331
6431 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:511
6432 #: ../src/guestfs-actions.pod:511
6433 msgid "Remove C<path> and all of its children."
6437 #: ../fish/guestfish-actions.pod:333
6438 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:333
6439 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:513
6440 #: ../src/guestfs-actions.pod:513
6441 msgid "On success this returns the number of entries which were removed."
6445 #: ../fish/guestfish-actions.pod:335
6446 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:335
6451 #: ../fish/guestfish-actions.pod:337
6452 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:337
6460 #: ../fish/guestfish-actions.pod:339
6461 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:339
6462 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:524
6463 #: ../src/guestfs-actions.pod:524
6464 msgid "This writes all pending changes to disk."
6468 #: ../fish/guestfish-actions.pod:341
6469 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:341
6471 "The flags which were passed to L</aug-init> affect exactly how files are "
6476 #: ../fish/guestfish-actions.pod:344
6477 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:344
6482 #: ../fish/guestfish-actions.pod:346
6483 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:346
6486 " aug-set augpath val\n"
6491 #: ../fish/guestfish-actions.pod:348
6492 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:348
6493 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:540
6494 #: ../src/guestfs-actions.pod:540
6495 msgid "Set the value associated with C<path> to C<val>."
6499 #: ../fish/guestfish-actions.pod:350
6500 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:350
6502 "In the Augeas API, it is possible to clear a node by setting the value to "
6503 "NULL. Due to an oversight in the libguestfs API you cannot do that with "
6504 "this call. Instead you must use the L</aug-clear> call."
6508 #: ../fish/guestfish-actions.pod:355
6509 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:355
6514 #: ../fish/guestfish-actions.pod:357
6515 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:357
6518 " available 'groups ...'\n"
6523 #: ../fish/guestfish-actions.pod:359
6524 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:359
6525 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:557
6526 #: ../src/guestfs-actions.pod:557
6528 "This command is used to check the availability of some groups of "
6529 "functionality in the appliance, which not all builds of the libguestfs "
6530 "appliance will be able to provide."
6534 #: ../fish/guestfish-actions.pod:363
6535 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:363
6537 "The libguestfs groups, and the functions that those groups correspond to, "
6538 "are listed in L<guestfs(3)/AVAILABILITY>. You can also fetch this list at "
6539 "runtime by calling L</available-all-groups>."
6543 #: ../fish/guestfish-actions.pod:368
6544 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:368
6545 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:566
6546 #: ../src/guestfs-actions.pod:566
6548 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
6549 "\"]> would check for the availability of the Linux inotify functions and "
6550 "Augeas (configuration file editing) functions."
6554 #: ../fish/guestfish-actions.pod:373
6555 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:373
6556 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:571
6557 #: ../src/guestfs-actions.pod:571
6558 msgid "The command returns no error if I<all> requested groups are available."
6562 #: ../fish/guestfish-actions.pod:375
6563 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:375
6564 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:573
6565 #: ../src/guestfs-actions.pod:573
6567 "It fails with an error if one or more of the requested groups is unavailable "
6572 #: ../fish/guestfish-actions.pod:378
6573 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:378
6574 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:576
6575 #: ../src/guestfs-actions.pod:576
6577 "If an unknown group name is included in the list of groups then an error is "
6582 #: ../fish/guestfish-actions.pod:381
6583 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:381
6584 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:579
6585 #: ../src/guestfs-actions.pod:579
6587 msgstr "I<Нотатки:>"
6590 #: ../fish/guestfish-actions.pod:387
6591 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:387
6592 msgid "You must call L</launch> before calling this function."
6596 #: ../fish/guestfish-actions.pod:389
6597 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:389
6598 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:587
6599 #: ../src/guestfs-actions.pod:587
6601 "The reason is because we don't know what groups are supported by the "
6602 "appliance/daemon until it is running and can be queried."
6606 #: ../fish/guestfish-actions.pod:395
6607 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:395
6608 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:593
6609 #: ../src/guestfs-actions.pod:593
6611 "If a group of functions is available, this does not necessarily mean that "
6612 "they will work. You still have to check for errors when calling individual "
6613 "API functions even if they are available."
6617 #: ../fish/guestfish-actions.pod:402
6618 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:402
6619 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:600
6620 #: ../src/guestfs-actions.pod:600
6622 "It is usually the job of distro packagers to build complete functionality "
6623 "into the libguestfs appliance. Upstream libguestfs, if built from source "
6624 "with all requirements satisfied, will support everything."
6628 #: ../fish/guestfish-actions.pod:409
6629 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:409
6631 "This call was added in version C<1.0.80>. In previous versions of "
6632 "libguestfs all you could do would be to speculatively execute a command to "
6633 "find out if the daemon implemented it. See also L</version>."
6637 #: ../fish/guestfish-actions.pod:416
6638 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:416
6639 msgid "available-all-groups"
6643 #: ../fish/guestfish-actions.pod:418
6644 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:418
6647 " available-all-groups\n"
6652 #: ../fish/guestfish-actions.pod:420
6653 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:420
6655 "This command returns a list of all optional groups that this daemon knows "
6656 "about. Note this returns both supported and unsupported groups. To find "
6657 "out which ones the daemon can actually support you have to call L</"
6658 "available> on each member of the returned list."
6662 #: ../fish/guestfish-actions.pod:426
6663 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:426
6664 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
6668 #: ../fish/guestfish-actions.pod:428
6669 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:428
6674 #: ../fish/guestfish-actions.pod:430
6675 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:430
6678 " base64-in (base64file|-) filename\n"
6683 #: ../fish/guestfish-actions.pod:432
6684 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:432
6685 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:644
6686 #: ../src/guestfs-actions.pod:644
6688 "This command uploads base64-encoded data from C<base64file> to C<filename>."
6692 #: ../fish/guestfish-actions.pod:435 ../fish/guestfish-actions.pod:444
6693 #: ../fish/guestfish-actions.pod:693 ../fish/guestfish-actions.pod:862
6694 #: ../fish/guestfish-actions.pod:881 ../fish/guestfish-actions.pod:1255
6695 #: ../fish/guestfish-actions.pod:4658 ../fish/guestfish-actions.pod:4670
6696 #: ../fish/guestfish-actions.pod:4681 ../fish/guestfish-actions.pod:4692
6697 #: ../fish/guestfish-actions.pod:4744 ../fish/guestfish-actions.pod:4753
6698 #: ../fish/guestfish-actions.pod:4807 ../fish/guestfish-actions.pod:4830
6699 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:435
6700 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:444
6701 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:693
6702 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:862
6703 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:881
6704 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1255
6705 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4658
6706 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4670
6707 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4681
6708 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4692
6709 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4744
6710 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4753
6711 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4807
6712 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4830
6713 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
6717 #: ../fish/guestfish-actions.pod:437
6718 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:437
6723 #: ../fish/guestfish-actions.pod:439
6724 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:439
6727 " base64-out filename (base64file|-)\n"
6732 #: ../fish/guestfish-actions.pod:441
6733 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:441
6734 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:658
6735 #: ../src/guestfs-actions.pod:658
6737 "This command downloads the contents of C<filename>, writing it out to local "
6738 "file C<base64file> encoded as base64."
6742 #: ../fish/guestfish-actions.pod:446
6743 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:446
6744 msgid "blockdev-flushbufs"
6748 #: ../fish/guestfish-actions.pod:448
6749 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:448
6752 " blockdev-flushbufs device\n"
6757 #: ../fish/guestfish-actions.pod:450
6758 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:450
6759 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:671
6760 #: ../src/guestfs-actions.pod:671
6762 "This tells the kernel to flush internal buffers associated with C<device>."
6766 #: ../fish/guestfish-actions.pod:453 ../fish/guestfish-actions.pod:464
6767 #: ../fish/guestfish-actions.pod:473 ../fish/guestfish-actions.pod:483
6768 #: ../fish/guestfish-actions.pod:495 ../fish/guestfish-actions.pod:508
6769 #: ../fish/guestfish-actions.pod:516 ../fish/guestfish-actions.pod:527
6770 #: ../fish/guestfish-actions.pod:535 ../fish/guestfish-actions.pod:543
6771 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:453
6772 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:464
6773 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:473
6774 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:483
6775 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:495
6776 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:508
6777 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:516
6778 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:527
6779 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:535
6780 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:543
6781 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:674
6782 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:691
6783 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:706
6784 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:722
6785 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:740
6786 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:759
6787 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:773
6788 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:791
6789 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:805
6790 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:819
6791 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:691
6792 #: ../src/guestfs-actions.pod:706 ../src/guestfs-actions.pod:722
6793 #: ../src/guestfs-actions.pod:740 ../src/guestfs-actions.pod:759
6794 #: ../src/guestfs-actions.pod:773 ../src/guestfs-actions.pod:791
6795 #: ../src/guestfs-actions.pod:805 ../src/guestfs-actions.pod:819
6796 msgid "This uses the L<blockdev(8)> command."
6800 #: ../fish/guestfish-actions.pod:455
6801 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:455
6802 msgid "blockdev-getbsz"
6806 #: ../fish/guestfish-actions.pod:457
6807 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:457
6810 " blockdev-getbsz device\n"
6815 #: ../fish/guestfish-actions.pod:459
6816 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:459
6817 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:686
6818 #: ../src/guestfs-actions.pod:686
6819 msgid "This returns the block size of a device."
6823 #: ../fish/guestfish-actions.pod:461 ../fish/guestfish-actions.pod:524
6824 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:461
6825 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:524
6826 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:688
6827 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:788
6828 #: ../src/guestfs-actions.pod:688 ../src/guestfs-actions.pod:788
6830 "(Note this is different from both I<size in blocks> and I<filesystem block "
6835 #: ../fish/guestfish-actions.pod:466
6836 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:466
6837 msgid "blockdev-getro"
6841 #: ../fish/guestfish-actions.pod:468
6842 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:468
6845 " blockdev-getro device\n"
6850 #: ../fish/guestfish-actions.pod:470
6851 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:470
6852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:703
6853 #: ../src/guestfs-actions.pod:703
6855 "Returns a boolean indicating if the block device is read-only (true if read-"
6856 "only, false if not)."
6860 #: ../fish/guestfish-actions.pod:475
6861 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:475
6862 msgid "blockdev-getsize64"
6866 #: ../fish/guestfish-actions.pod:477
6867 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:477
6870 " blockdev-getsize64 device\n"
6875 #: ../fish/guestfish-actions.pod:479
6876 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:479
6877 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:718
6878 #: ../src/guestfs-actions.pod:718
6879 msgid "This returns the size of the device in bytes."
6883 #: ../fish/guestfish-actions.pod:481
6884 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:481
6885 msgid "See also L</blockdev-getsz>."
6889 #: ../fish/guestfish-actions.pod:485
6890 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:485
6891 msgid "blockdev-getss"
6895 #: ../fish/guestfish-actions.pod:487
6896 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:487
6899 " blockdev-getss device\n"
6904 #: ../fish/guestfish-actions.pod:489
6905 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:489
6906 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:734
6907 #: ../src/guestfs-actions.pod:734
6909 "This returns the size of sectors on a block device. Usually 512, but can be "
6910 "larger for modern devices."
6914 #: ../fish/guestfish-actions.pod:492
6915 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:492
6917 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
6921 #: ../fish/guestfish-actions.pod:497
6922 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:497
6923 msgid "blockdev-getsz"
6927 #: ../fish/guestfish-actions.pod:499
6928 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:499
6931 " blockdev-getsz device\n"
6936 #: ../fish/guestfish-actions.pod:501
6937 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:501
6938 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:752
6939 #: ../src/guestfs-actions.pod:752
6941 "This returns the size of the device in units of 512-byte sectors (even if "
6942 "the sectorsize isn't 512 bytes ... weird)."
6946 #: ../fish/guestfish-actions.pod:504
6947 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:504
6949 "See also L</blockdev-getss> for the real sector size of the device, and L</"
6950 "blockdev-getsize64> for the more useful I<size in bytes>."
6954 #: ../fish/guestfish-actions.pod:510
6955 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:510
6956 msgid "blockdev-rereadpt"
6960 #: ../fish/guestfish-actions.pod:512
6961 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:512
6964 " blockdev-rereadpt device\n"
6969 #: ../fish/guestfish-actions.pod:514
6970 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:514
6971 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:771
6972 #: ../src/guestfs-actions.pod:771
6973 msgid "Reread the partition table on C<device>."
6977 #: ../fish/guestfish-actions.pod:518
6978 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:518
6979 msgid "blockdev-setbsz"
6983 #: ../fish/guestfish-actions.pod:520
6984 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:520
6987 " blockdev-setbsz device blocksize\n"
6992 #: ../fish/guestfish-actions.pod:522
6993 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:522
6994 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:786
6995 #: ../src/guestfs-actions.pod:786
6996 msgid "This sets the block size of a device."
7000 #: ../fish/guestfish-actions.pod:529
7001 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:529
7002 msgid "blockdev-setro"
7006 #: ../fish/guestfish-actions.pod:531
7007 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:531
7010 " blockdev-setro device\n"
7015 #: ../fish/guestfish-actions.pod:533
7016 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:533
7017 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:803
7018 #: ../src/guestfs-actions.pod:803
7019 msgid "Sets the block device named C<device> to read-only."
7023 #: ../fish/guestfish-actions.pod:537
7024 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:537
7025 msgid "blockdev-setrw"
7029 #: ../fish/guestfish-actions.pod:539
7030 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:539
7033 " blockdev-setrw device\n"
7038 #: ../fish/guestfish-actions.pod:541
7039 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:541
7040 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:817
7041 #: ../src/guestfs-actions.pod:817
7042 msgid "Sets the block device named C<device> to read-write."
7046 #: ../fish/guestfish-actions.pod:545
7047 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:545
7048 msgid "btrfs-filesystem-resize"
7052 #: ../fish/guestfish-actions.pod:547
7053 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:547
7056 " btrfs-filesystem-resize mountpoint [size:..]\n"
7061 #: ../fish/guestfish-actions.pod:549
7062 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:549
7063 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:839
7064 #: ../src/guestfs-actions.pod:839
7065 msgid "This command resizes a btrfs filesystem."
7069 #: ../fish/guestfish-actions.pod:551
7070 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:551
7071 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:841
7072 #: ../src/guestfs-actions.pod:841
7074 "Note that unlike other resize calls, the filesystem has to be mounted and "
7075 "the parameter is the mountpoint not the device (this is a requirement of "
7080 #: ../fish/guestfish-actions.pod:555 ../fish/guestfish-actions.pod:3417
7081 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:555
7082 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3417
7083 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:845
7084 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5189
7085 #: ../src/guestfs-actions.pod:845 ../src/guestfs-actions.pod:5189
7086 msgid "The optional parameters are:"
7090 #: ../fish/guestfish-actions.pod:559 ../fish/guestfish-actions.pod:3421
7091 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:559
7092 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3421
7093 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:849
7094 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5193
7095 #: ../src/guestfs-actions.pod:849 ../src/guestfs-actions.pod:5193
7100 #: ../fish/guestfish-actions.pod:561
7101 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:561
7102 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:851
7103 #: ../src/guestfs-actions.pod:851
7105 "The new size (in bytes) of the filesystem. If omitted, the filesystem is "
7106 "resized to the maximum size."
7110 #: ../fish/guestfish-actions.pod:566
7111 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:566
7112 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:856
7113 #: ../src/guestfs-actions.pod:856
7114 msgid "See also L<btrfs(8)>."
7118 #: ../fish/guestfish-actions.pod:570
7119 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:570
7120 msgid "case-sensitive-path"
7124 #: ../fish/guestfish-actions.pod:572
7125 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:572
7128 " case-sensitive-path path\n"
7133 #: ../fish/guestfish-actions.pod:574
7134 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:574
7135 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:890
7136 #: ../src/guestfs-actions.pod:890
7138 "This can be used to resolve case insensitive paths on a filesystem which is "
7139 "case sensitive. The use case is to resolve paths which you have read from "
7140 "Windows configuration files or the Windows Registry, to the true path."
7144 #: ../fish/guestfish-actions.pod:579
7145 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:579
7146 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:895
7147 #: ../src/guestfs-actions.pod:895
7149 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
7150 "(and probably others), which is that although the underlying filesystem is "
7151 "case-insensitive, the driver exports the filesystem to Linux as case-"
7156 #: ../fish/guestfish-actions.pod:584
7157 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:584
7158 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:900
7159 #: ../src/guestfs-actions.pod:900
7161 "One consequence of this is that special directories such as C<c:\\windows> "
7162 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
7163 "precise details of how they were created. In Windows itself this would not "
7168 #: ../fish/guestfish-actions.pod:590
7169 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:590
7170 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:906
7171 #: ../src/guestfs-actions.pod:906
7173 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
7178 #: ../fish/guestfish-actions.pod:593
7179 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:593
7180 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:909
7181 #: ../src/guestfs-actions.pod:909
7183 "This function resolves the true case of each element in the path and returns "
7184 "the case-sensitive path."
7188 #: ../fish/guestfish-actions.pod:596
7189 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:596
7191 "Thus L</case-sensitive-path> (\"/Windows/System32\") might return C<\"/"
7192 "WINDOWS/system32\"> (the exact return value would depend on details of how "
7193 "the directories were originally created under Windows)."
7197 #: ../fish/guestfish-actions.pod:601
7198 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:601
7199 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:917
7200 #: ../src/guestfs-actions.pod:917
7201 msgid "I<Note>: This function does not handle drive names, backslashes etc."
7205 #: ../fish/guestfish-actions.pod:604
7206 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:604
7207 msgid "See also L</realpath>."
7211 #: ../fish/guestfish-actions.pod:606
7212 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:606
7217 #: ../fish/guestfish-actions.pod:608
7218 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:608
7228 #: ../fish/guestfish-actions.pod:610 ../fish/guestfish-actions.pod:3837
7229 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:610
7230 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3837
7231 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:933
7232 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5832
7233 #: ../src/guestfs-actions.pod:933 ../src/guestfs-actions.pod:5832
7234 msgid "Return the contents of the file named C<path>."
7238 #: ../fish/guestfish-actions.pod:612
7239 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:612
7241 "Note that this function cannot correctly handle binary files (specifically, "
7242 "files containing C<\\0> character which is treated as end of string). For "
7243 "those you need to use the L</read-file> or L</download> functions which have "
7244 "a more complex interface."
7248 #: ../fish/guestfish-actions.pod:617 ../fish/guestfish-actions.pod:752
7249 #: ../fish/guestfish-actions.pod:764 ../fish/guestfish-actions.pod:940
7250 #: ../fish/guestfish-actions.pod:950 ../fish/guestfish-actions.pod:1017
7251 #: ../fish/guestfish-actions.pod:1027 ../fish/guestfish-actions.pod:1219
7252 #: ../fish/guestfish-actions.pod:1526 ../fish/guestfish-actions.pod:1536
7253 #: ../fish/guestfish-actions.pod:1564 ../fish/guestfish-actions.pod:1579
7254 #: ../fish/guestfish-actions.pod:1589 ../fish/guestfish-actions.pod:1608
7255 #: ../fish/guestfish-actions.pod:3707 ../fish/guestfish-actions.pod:3722
7256 #: ../fish/guestfish-actions.pod:3798 ../fish/guestfish-actions.pod:3815
7257 #: ../fish/guestfish-actions.pod:3830 ../fish/guestfish-actions.pod:4499
7258 #: ../fish/guestfish-actions.pod:4545 ../fish/guestfish-actions.pod:4630
7259 #: ../fish/guestfish-actions.pod:4645 ../fish/guestfish-actions.pod:5051
7260 #: ../fish/guestfish-actions.pod:5063 ../fish/guestfish-actions.pod:5081
7261 #: ../fish/guestfish-actions.pod:5098 ../fish/guestfish-actions.pod:5108
7262 #: ../fish/guestfish-actions.pod:5157 ../fish/guestfish-actions.pod:5167
7263 #: ../fish/guestfish-actions.pod:5196 ../fish/guestfish-actions.pod:5206
7264 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:617
7265 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:752
7266 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:764
7267 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:940
7268 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:950
7269 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1017
7270 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1027
7271 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1219
7272 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1526
7273 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1536
7274 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1564
7275 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1579
7276 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1589
7277 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1608
7278 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3707
7279 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3722
7280 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3798
7281 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3815
7282 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3830
7283 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4499
7284 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4545
7285 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4630
7286 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4645
7287 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5051
7288 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5063
7289 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5081
7290 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5098
7291 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5108
7292 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5157
7293 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5167
7294 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5196
7295 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5206
7296 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:943
7297 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1122
7298 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1142
7299 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1438
7300 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1457
7301 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1560
7302 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1579
7303 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1825
7304 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2296
7305 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2315
7306 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2358
7307 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2382
7308 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2399
7309 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2428
7310 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5614
7311 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5640
7312 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5771
7313 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5797
7314 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5821
7315 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6772
7316 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6827
7317 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6973
7318 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6997
7319 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7662
7320 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7682
7321 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7708
7322 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7734
7323 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7753
7324 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7839
7325 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7858
7326 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7904
7327 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7923
7328 #: ../src/guestfs-actions.pod:943 ../src/guestfs-actions.pod:1122
7329 #: ../src/guestfs-actions.pod:1142 ../src/guestfs-actions.pod:1438
7330 #: ../src/guestfs-actions.pod:1457 ../src/guestfs-actions.pod:1560
7331 #: ../src/guestfs-actions.pod:1579 ../src/guestfs-actions.pod:1825
7332 #: ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2315
7333 #: ../src/guestfs-actions.pod:2358 ../src/guestfs-actions.pod:2382
7334 #: ../src/guestfs-actions.pod:2399 ../src/guestfs-actions.pod:2428
7335 #: ../src/guestfs-actions.pod:5614 ../src/guestfs-actions.pod:5640
7336 #: ../src/guestfs-actions.pod:5771 ../src/guestfs-actions.pod:5797
7337 #: ../src/guestfs-actions.pod:5821 ../src/guestfs-actions.pod:6772
7338 #: ../src/guestfs-actions.pod:6827 ../src/guestfs-actions.pod:6973
7339 #: ../src/guestfs-actions.pod:6997 ../src/guestfs-actions.pod:7662
7340 #: ../src/guestfs-actions.pod:7682 ../src/guestfs-actions.pod:7708
7341 #: ../src/guestfs-actions.pod:7734 ../src/guestfs-actions.pod:7753
7342 #: ../src/guestfs-actions.pod:7839 ../src/guestfs-actions.pod:7858
7343 #: ../src/guestfs-actions.pod:7904 ../src/guestfs-actions.pod:7923
7345 "Because of the message protocol, there is a transfer limit of somewhere "
7346 "between 2MB and 4MB. See L<guestfs(3)/PROTOCOL LIMITS>."
7350 #: ../fish/guestfish-actions.pod:620
7351 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:620
7356 #: ../fish/guestfish-actions.pod:622
7357 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:622
7360 " checksum csumtype path\n"
7365 #: ../fish/guestfish-actions.pod:624
7366 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:624
7367 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:955
7368 #: ../src/guestfs-actions.pod:955
7370 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
7374 #: ../fish/guestfish-actions.pod:627
7375 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:627
7376 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:958
7377 #: ../src/guestfs-actions.pod:958
7379 "The type of checksum to compute is given by the C<csumtype> parameter which "
7380 "must have one of the following values:"
7384 #: ../fish/guestfish-actions.pod:632
7385 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:632
7386 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:963
7387 #: ../src/guestfs-actions.pod:963
7392 #: ../fish/guestfish-actions.pod:634
7393 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:634
7394 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:965
7395 #: ../src/guestfs-actions.pod:965
7397 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
7402 #: ../fish/guestfish-actions.pod:637
7403 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:637
7404 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:968
7405 #: ../src/guestfs-actions.pod:968
7410 #: ../fish/guestfish-actions.pod:639
7411 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:639
7412 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:970
7413 #: ../src/guestfs-actions.pod:970
7414 msgid "Compute the MD5 hash (using the C<md5sum> program)."
7418 #: ../fish/guestfish-actions.pod:641
7419 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:641
7420 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:972
7421 #: ../src/guestfs-actions.pod:972
7426 #: ../fish/guestfish-actions.pod:643
7427 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:643
7428 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:974
7429 #: ../src/guestfs-actions.pod:974
7430 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
7434 #: ../fish/guestfish-actions.pod:645
7435 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:645
7436 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:976
7437 #: ../src/guestfs-actions.pod:976
7442 #: ../fish/guestfish-actions.pod:647
7443 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:647
7444 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:978
7445 #: ../src/guestfs-actions.pod:978
7446 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
7450 #: ../fish/guestfish-actions.pod:649
7451 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:649
7452 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:980
7453 #: ../src/guestfs-actions.pod:980
7458 #: ../fish/guestfish-actions.pod:651
7459 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:651
7460 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:982
7461 #: ../src/guestfs-actions.pod:982
7462 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
7466 #: ../fish/guestfish-actions.pod:653
7467 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:653
7468 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:984
7469 #: ../src/guestfs-actions.pod:984
7474 #: ../fish/guestfish-actions.pod:655
7475 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:655
7476 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:986
7477 #: ../src/guestfs-actions.pod:986
7478 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
7482 #: ../fish/guestfish-actions.pod:657
7483 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:657
7484 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:988
7485 #: ../src/guestfs-actions.pod:988
7490 #: ../fish/guestfish-actions.pod:659
7491 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:659
7492 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:990
7493 #: ../src/guestfs-actions.pod:990
7494 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
7498 #: ../fish/guestfish-actions.pod:663
7499 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:663
7500 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:994
7501 #: ../src/guestfs-actions.pod:994
7502 msgid "The checksum is returned as a printable string."
7506 #: ../fish/guestfish-actions.pod:665
7507 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:665
7508 msgid "To get the checksum for a device, use L</checksum-device>."
7512 #: ../fish/guestfish-actions.pod:667
7513 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:667
7514 msgid "To get the checksums for many files, use L</checksums-out>."
7518 #: ../fish/guestfish-actions.pod:669
7519 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:669
7520 msgid "checksum-device"
7521 msgstr "checksum-device"
7524 #: ../fish/guestfish-actions.pod:671
7525 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:671
7528 " checksum-device csumtype device\n"
7533 #: ../fish/guestfish-actions.pod:673
7534 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:673
7536 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
7537 "device named C<device>. For the types of checksums supported see the L</"
7538 "checksum> command."
7542 #: ../fish/guestfish-actions.pod:677
7543 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:677
7544 msgid "checksums-out"
7548 #: ../fish/guestfish-actions.pod:679
7549 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:679
7552 " checksums-out csumtype directory (sumsfile|-)\n"
7557 #: ../fish/guestfish-actions.pod:681
7558 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:681
7559 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1029
7560 #: ../src/guestfs-actions.pod:1029
7562 "This command computes the checksums of all regular files in C<directory> and "
7563 "then emits a list of those checksums to the local output file C<sumsfile>."
7567 #: ../fish/guestfish-actions.pod:685
7568 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:685
7569 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1033
7570 #: ../src/guestfs-actions.pod:1033
7572 "This can be used for verifying the integrity of a virtual machine. However "
7573 "to be properly secure you should pay attention to the output of the checksum "
7574 "command (it uses the ones from GNU coreutils). In particular when the "
7575 "filename is not printable, coreutils uses a special backslash syntax. For "
7576 "more information, see the GNU coreutils info file."
7580 #: ../fish/guestfish-actions.pod:695
7581 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:695
7586 #: ../fish/guestfish-actions.pod:697
7587 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:697
7590 " chmod mode path\n"
7595 #: ../fish/guestfish-actions.pod:699
7596 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:699
7597 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1052
7598 #: ../src/guestfs-actions.pod:1052
7600 "Change the mode (permissions) of C<path> to C<mode>. Only numeric modes are "
7605 #: ../fish/guestfish-actions.pod:702
7606 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:702
7607 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1055
7608 #: ../src/guestfs-actions.pod:1055
7610 "I<Note>: When using this command from guestfish, C<mode> by default would be "
7611 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
7616 #: ../fish/guestfish-actions.pod:706 ../fish/guestfish-actions.pod:3060
7617 #: ../fish/guestfish-actions.pod:3199 ../fish/guestfish-actions.pod:3209
7618 #: ../fish/guestfish-actions.pod:3219
7619 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:706
7620 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3060
7621 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3199
7622 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3209
7623 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3219
7624 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1059
7625 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4586
7626 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4795
7627 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4814
7628 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4833
7629 #: ../src/guestfs-actions.pod:1059 ../src/guestfs-actions.pod:4586
7630 #: ../src/guestfs-actions.pod:4795 ../src/guestfs-actions.pod:4814
7631 #: ../src/guestfs-actions.pod:4833
7632 msgid "The mode actually set is affected by the umask."
7636 #: ../fish/guestfish-actions.pod:708
7637 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:708
7642 #: ../fish/guestfish-actions.pod:710
7643 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:710
7646 " chown owner group path\n"
7651 #: ../fish/guestfish-actions.pod:712
7652 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:712
7653 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1073
7654 #: ../src/guestfs-actions.pod:1073
7655 msgid "Change the file owner to C<owner> and group to C<group>."
7659 #: ../fish/guestfish-actions.pod:714 ../fish/guestfish-actions.pod:2495
7660 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:714
7661 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2495
7662 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1075
7663 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3657
7664 #: ../src/guestfs-actions.pod:1075 ../src/guestfs-actions.pod:3657
7666 "Only numeric uid and gid are supported. If you want to use names, you will "
7667 "need to locate and parse the password file yourself (Augeas support makes "
7668 "this relatively easy)."
7672 #: ../fish/guestfish-actions.pod:718
7673 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:718
7678 #: ../fish/guestfish-actions.pod:720
7679 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:720
7682 " command 'arguments ...'\n"
7687 #: ../fish/guestfish-actions.pod:722
7688 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:722
7689 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1089
7690 #: ../src/guestfs-actions.pod:1089
7692 "This call runs a command from the guest filesystem. The filesystem must be "
7693 "mounted, and must contain a compatible operating system (ie. something "
7694 "Linux, with the same or compatible processor architecture)."
7698 #: ../fish/guestfish-actions.pod:727
7699 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:727
7701 "The single parameter is an argv-style list of arguments. The first element "
7702 "is the name of the program to run. Subsequent elements are parameters. The "
7703 "list must be non-empty (ie. must contain a program name). Note that the "
7704 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
7708 #: ../fish/guestfish-actions.pod:734
7709 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:734
7710 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1101
7711 #: ../src/guestfs-actions.pod:1101
7712 msgid "The return value is anything printed to I<stdout> by the command."
7716 #: ../fish/guestfish-actions.pod:737
7717 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:737
7718 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1104
7719 #: ../src/guestfs-actions.pod:1104
7721 "If the command returns a non-zero exit status, then this function returns an "
7722 "error message. The error message string is the content of I<stderr> from "
7727 #: ../fish/guestfish-actions.pod:741
7728 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:741
7729 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1108
7730 #: ../src/guestfs-actions.pod:1108
7732 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
7733 "bin>. If you require a program from another location, you should provide "
7734 "the full path in the first parameter."
7738 #: ../fish/guestfish-actions.pod:746
7739 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:746
7740 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1113
7741 #: ../src/guestfs-actions.pod:1113
7743 "Shared libraries and data files required by the program must be available on "
7744 "filesystems which are mounted in the correct places. It is the caller's "
7745 "responsibility to ensure all filesystems that are needed are mounted at the "
7750 #: ../fish/guestfish-actions.pod:755
7751 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:755
7752 msgid "command-lines"
7756 #: ../fish/guestfish-actions.pod:757
7757 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:757
7760 " command-lines 'arguments ...'\n"
7765 #: ../fish/guestfish-actions.pod:759
7766 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:759
7768 "This is the same as L</command>, but splits the result into a list of lines."
7772 #: ../fish/guestfish-actions.pod:762
7773 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:762
7774 msgid "See also: L</sh-lines>"
7778 #: ../fish/guestfish-actions.pod:767
7779 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:767
7784 #: ../fish/guestfish-actions.pod:769
7785 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:769
7788 " config qemuparam qemuvalue\n"
7793 #: ../fish/guestfish-actions.pod:771
7794 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:771
7795 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1154
7796 #: ../src/guestfs-actions.pod:1154
7798 "This can be used to add arbitrary qemu command line parameters of the form "
7799 "I<-param value>. Actually it's not quite arbitrary - we prevent you from "
7800 "setting some parameters which would interfere with parameters that we use."
7804 #: ../fish/guestfish-actions.pod:776
7805 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:776
7806 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1159
7807 #: ../src/guestfs-actions.pod:1159
7808 msgid "The first character of C<param> string must be a C<-> (dash)."
7812 #: ../fish/guestfish-actions.pod:778
7813 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:778
7814 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1161
7815 #: ../src/guestfs-actions.pod:1161
7816 msgid "C<value> can be NULL."
7820 #: ../fish/guestfish-actions.pod:780
7821 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:780
7826 #: ../fish/guestfish-actions.pod:782
7827 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:782
7830 " copy-size src dest size\n"
7835 #: ../fish/guestfish-actions.pod:784
7836 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:784
7837 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1175
7838 #: ../src/guestfs-actions.pod:1175
7840 "This command copies exactly C<size> bytes from one source device or file "
7841 "C<src> to another destination device or file C<dest>."
7845 #: ../fish/guestfish-actions.pod:787
7846 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:787
7847 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1178
7848 #: ../src/guestfs-actions.pod:1178
7850 "Note this will fail if the source is too short or if the destination is not "
7855 #: ../fish/guestfish-actions.pod:790
7856 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:790
7861 #: ../fish/guestfish-actions.pod:792
7862 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:792
7870 #: ../fish/guestfish-actions.pod:794
7871 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:794
7872 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1197
7873 #: ../src/guestfs-actions.pod:1197
7875 "This copies a file from C<src> to C<dest> where C<dest> is either a "
7876 "destination filename or destination directory."
7880 #: ../fish/guestfish-actions.pod:797
7881 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:797
7886 #: ../fish/guestfish-actions.pod:799
7887 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:799
7895 #: ../fish/guestfish-actions.pod:801
7896 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:801
7897 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1211
7898 #: ../src/guestfs-actions.pod:1211
7900 "This copies a file or directory from C<src> to C<dest> recursively using the "
7905 #: ../fish/guestfish-actions.pod:804
7906 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:804
7911 #: ../fish/guestfish-actions.pod:806
7912 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:806
7920 #: ../fish/guestfish-actions.pod:808
7921 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:808
7922 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1225
7923 #: ../src/guestfs-actions.pod:1225
7925 "This command copies from one source device or file C<src> to another "
7926 "destination device or file C<dest>. Normally you would use this to copy to "
7927 "or from a device or partition, for example to duplicate a filesystem."
7931 #: ../fish/guestfish-actions.pod:813
7932 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:813
7934 "If the destination is a device, it must be as large or larger than the "
7935 "source file or device, otherwise the copy will fail. This command cannot do "
7936 "partial copies (see L</copy-size>)."
7940 #: ../fish/guestfish-actions.pod:817
7941 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:817
7946 #: ../fish/guestfish-actions.pod:819
7947 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:819
7957 #: ../fish/guestfish-actions.pod:821
7958 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:821
7959 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1243
7960 #: ../src/guestfs-actions.pod:1243
7961 msgid "This command runs the C<df> command to report disk space used."
7965 #: ../fish/guestfish-actions.pod:823 ../fish/guestfish-actions.pod:834
7966 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:823
7967 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:834
7969 "This command is mostly useful for interactive sessions. It is I<not> "
7970 "intended that you try to parse the output string. Use L</statvfs> from "
7975 #: ../fish/guestfish-actions.pod:827
7976 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:827
7981 #: ../fish/guestfish-actions.pod:829
7982 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:829
7992 #: ../fish/guestfish-actions.pod:831
7993 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:831
7994 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1259
7995 #: ../src/guestfs-actions.pod:1259
7997 "This command runs the C<df -h> command to report disk space used in human-"
8002 #: ../fish/guestfish-actions.pod:838
8003 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:838
8008 #: ../fish/guestfish-actions.pod:840
8009 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:840
8019 #: ../fish/guestfish-actions.pod:842
8020 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:842
8021 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1276
8022 #: ../src/guestfs-actions.pod:1276
8024 "This returns the kernel messages (C<dmesg> output) from the guest kernel. "
8025 "This is sometimes useful for extended debugging of problems."
8029 #: ../fish/guestfish-actions.pod:846
8030 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:846
8032 "Another way to get the same information is to enable verbose messages with "
8033 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
8034 "before running the program."
8038 #: ../fish/guestfish-actions.pod:851
8039 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:851
8044 #: ../fish/guestfish-actions.pod:853
8045 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:853
8048 " download remotefilename (filename|-)\n"
8053 #: ../fish/guestfish-actions.pod:855 ../fish/guestfish-actions.pod:868
8054 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:855
8055 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:868
8056 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1297
8057 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1322
8058 #: ../src/guestfs-actions.pod:1297 ../src/guestfs-actions.pod:1322
8060 "Download file C<remotefilename> and save it as C<filename> on the local "
8065 #: ../fish/guestfish-actions.pod:858 ../fish/guestfish-actions.pod:4803
8066 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:858
8067 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4803
8068 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1300
8069 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7232
8070 #: ../src/guestfs-actions.pod:1300 ../src/guestfs-actions.pod:7232
8071 msgid "C<filename> can also be a named pipe."
8075 #: ../fish/guestfish-actions.pod:860
8076 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:860
8077 msgid "See also L</upload>, L</cat>."
8081 #: ../fish/guestfish-actions.pod:864
8082 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:864
8083 msgid "download-offset"
8084 msgstr "download-offset"
8087 #: ../fish/guestfish-actions.pod:866
8088 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:866
8091 " download-offset remotefilename (filename|-) offset size\n"
8096 #: ../fish/guestfish-actions.pod:871
8097 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:871
8098 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1325
8099 #: ../src/guestfs-actions.pod:1325
8101 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
8102 "region must be within the file or device)."
8106 #: ../fish/guestfish-actions.pod:874
8107 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:874
8109 "Note that there is no limit on the amount of data that can be downloaded "
8110 "with this call, unlike with L</pread>, and this call always reads the full "
8111 "amount unless an error occurs."
8115 #: ../fish/guestfish-actions.pod:879
8116 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:879
8117 msgid "See also L</download>, L</pread>."
8121 #: ../fish/guestfish-actions.pod:883
8122 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:883
8127 #: ../fish/guestfish-actions.pod:885
8128 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:885
8131 " drop-caches whattodrop\n"
8136 #: ../fish/guestfish-actions.pod:887
8137 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:887
8138 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1350
8139 #: ../src/guestfs-actions.pod:1350
8141 "This instructs the guest kernel to drop its page cache, and/or dentries and "
8142 "inode caches. The parameter C<whattodrop> tells the kernel what precisely "
8143 "to drop, see L<http://linux-mm.org/Drop_Caches>"
8147 #: ../fish/guestfish-actions.pod:892
8148 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:892
8149 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1355
8150 #: ../src/guestfs-actions.pod:1355
8151 msgid "Setting C<whattodrop> to 3 should drop everything."
8155 #: ../fish/guestfish-actions.pod:894
8156 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:894
8157 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1357
8158 #: ../src/guestfs-actions.pod:1357
8160 "This automatically calls L<sync(2)> before the operation, so that the "
8161 "maximum guest memory is freed."
8165 #: ../fish/guestfish-actions.pod:897
8166 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:897
8171 #: ../fish/guestfish-actions.pod:899
8172 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:899
8182 #: ../fish/guestfish-actions.pod:901
8183 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:901
8184 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1370
8185 #: ../src/guestfs-actions.pod:1370
8187 "This command runs the C<du -s> command to estimate file space usage for "
8192 #: ../fish/guestfish-actions.pod:904
8193 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:904
8194 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1373
8195 #: ../src/guestfs-actions.pod:1373
8197 "C<path> can be a file or a directory. If C<path> is a directory then the "
8198 "estimate includes the contents of the directory and all subdirectories "
8203 #: ../fish/guestfish-actions.pod:908
8204 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:908
8205 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1377
8206 #: ../src/guestfs-actions.pod:1377
8208 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
8212 #: ../fish/guestfish-actions.pod:911
8213 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:911
8218 #: ../fish/guestfish-actions.pod:913
8219 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:913
8222 " e2fsck-f device\n"
8227 #: ../fish/guestfish-actions.pod:915
8228 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:915
8229 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1395
8230 #: ../src/guestfs-actions.pod:1395
8232 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
8233 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
8238 #: ../fish/guestfish-actions.pod:919
8239 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:919
8241 "This command is only needed because of L</resize2fs> (q.v.). Normally you "
8242 "should use L</fsck>."
8246 #: ../fish/guestfish-actions.pod:922
8247 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:922
8252 #: ../fish/guestfish-actions.pod:924
8253 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:924
8256 " echo-daemon 'words ...'\n"
8261 #: ../fish/guestfish-actions.pod:926
8262 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:926
8263 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1412
8264 #: ../src/guestfs-actions.pod:1412
8266 "This command concatenates the list of C<words> passed with single spaces "
8267 "between them and returns the resulting string."
8271 #: ../fish/guestfish-actions.pod:929
8272 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:929
8273 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1415
8274 #: ../src/guestfs-actions.pod:1415
8275 msgid "You can use this command to test the connection through to the daemon."
8279 #: ../fish/guestfish-actions.pod:931
8280 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:931
8281 msgid "See also L</ping-daemon>."
8285 #: ../fish/guestfish-actions.pod:933
8286 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:933
8291 #: ../fish/guestfish-actions.pod:935
8292 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:935
8295 " egrep regex path\n"
8300 #: ../fish/guestfish-actions.pod:937
8301 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:937
8302 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1431
8303 #: ../src/guestfs-actions.pod:1431
8305 "This calls the external C<egrep> program and returns the matching lines."
8309 #: ../fish/guestfish-actions.pod:943
8310 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:943
8315 #: ../fish/guestfish-actions.pod:945
8316 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:945
8319 " egrepi regex path\n"
8324 #: ../fish/guestfish-actions.pod:947
8325 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:947
8326 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1450
8327 #: ../src/guestfs-actions.pod:1450
8329 "This calls the external C<egrep -i> program and returns the matching lines."
8333 #: ../fish/guestfish-actions.pod:953
8334 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:953
8339 #: ../fish/guestfish-actions.pod:955
8340 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:955
8343 " equal file1 file2\n"
8346 " equal файл1 файл2\n"
8350 #: ../fish/guestfish-actions.pod:957
8351 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:957
8352 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1469
8353 #: ../src/guestfs-actions.pod:1469
8355 "This compares the two files C<file1> and C<file2> and returns true if their "
8356 "content is exactly equal, or false otherwise."
8360 #: ../fish/guestfish-actions.pod:960
8361 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:960
8362 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1472
8363 #: ../src/guestfs-actions.pod:1472
8364 msgid "The external L<cmp(1)> program is used for the comparison."
8368 #: ../fish/guestfish-actions.pod:962
8369 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:962
8374 #: ../fish/guestfish-actions.pod:964
8375 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:964
8385 #: ../fish/guestfish-actions.pod:966
8386 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:966
8387 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1484
8388 #: ../src/guestfs-actions.pod:1484
8390 "This returns C<true> if and only if there is a file, directory (or anything) "
8391 "with the given C<path> name."
8395 #: ../fish/guestfish-actions.pod:969
8396 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:969
8397 msgid "See also L</is-file>, L</is-dir>, L</stat>."
8398 msgstr "Див. також L</is-file>, L</is-dir>, L</stat>."
8401 #: ../fish/guestfish-actions.pod:971
8402 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:971
8407 #: ../fish/guestfish-actions.pod:973
8408 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:973
8411 " fallocate path len\n"
8414 " fallocate шлях довжина\n"
8418 #: ../fish/guestfish-actions.pod:975 ../fish/guestfish-actions.pod:994
8419 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:975
8420 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:994
8421 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1500
8422 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1526
8423 #: ../src/guestfs-actions.pod:1500 ../src/guestfs-actions.pod:1526
8425 "This command preallocates a file (containing zero bytes) named C<path> of "
8426 "size C<len> bytes. If the file exists already, it is overwritten."
8430 #: ../fish/guestfish-actions.pod:979
8431 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:979
8432 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1504
8433 #: ../src/guestfs-actions.pod:1504
8435 "Do not confuse this with the guestfish-specific C<alloc> command which "
8436 "allocates a file in the host and attaches it as a device."
8440 #: ../fish/guestfish-actions.pod:983
8441 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:983
8442 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1510
8443 #: ../src/guestfs-actions.pod:1510
8445 "This function is deprecated. In new code, use the C<fallocate64> call "
8450 #: ../fish/guestfish-actions.pod:990
8451 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:990
8453 msgstr "fallocate64"
8456 #: ../fish/guestfish-actions.pod:992
8457 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:992
8460 " fallocate64 path len\n"
8463 " fallocate64 шлях довжина\n"
8467 #: ../fish/guestfish-actions.pod:998
8468 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:998
8470 "Note that this call allocates disk blocks for the file. To create a sparse "
8471 "file use L</truncate-size> instead."
8475 #: ../fish/guestfish-actions.pod:1001
8476 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1001
8478 "The deprecated call L</fallocate> does the same, but owing to an oversight "
8479 "it only allowed 30 bit lengths to be specified, effectively limiting the "
8480 "maximum size of files created through that call to 1GB."
8484 #: ../fish/guestfish-actions.pod:1006
8485 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1006
8486 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1538
8487 #: ../src/guestfs-actions.pod:1538
8489 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
8490 "commands which create a file in the host and attach it as a device."
8494 #: ../fish/guestfish-actions.pod:1010
8495 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1010
8500 #: ../fish/guestfish-actions.pod:1012
8501 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1012
8504 " fgrep pattern path\n"
8507 " fgrep шаблон шлях\n"
8511 #: ../fish/guestfish-actions.pod:1014
8512 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1014
8513 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1553
8514 #: ../src/guestfs-actions.pod:1553
8516 "This calls the external C<fgrep> program and returns the matching lines."
8520 #: ../fish/guestfish-actions.pod:1020
8521 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1020
8526 #: ../fish/guestfish-actions.pod:1022
8527 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1022
8530 " fgrepi pattern path\n"
8533 " fgrepi шаблон шлях\n"
8537 #: ../fish/guestfish-actions.pod:1024
8538 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1024
8539 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1572
8540 #: ../src/guestfs-actions.pod:1572
8542 "This calls the external C<fgrep -i> program and returns the matching lines."
8546 #: ../fish/guestfish-actions.pod:1030
8547 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1030
8552 #: ../fish/guestfish-actions.pod:1032
8553 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1032
8563 #: ../fish/guestfish-actions.pod:1034
8564 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1034
8565 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1590
8566 #: ../src/guestfs-actions.pod:1590
8568 "This call uses the standard L<file(1)> command to determine the type or "
8569 "contents of the file."
8573 #: ../fish/guestfish-actions.pod:1037
8574 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1037
8575 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1593
8576 #: ../src/guestfs-actions.pod:1593
8578 "This call will also transparently look inside various types of compressed "
8583 #: ../fish/guestfish-actions.pod:1040
8584 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1040
8585 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1596
8586 #: ../src/guestfs-actions.pod:1596
8588 "The exact command which runs is C<file -zb path>. Note in particular that "
8589 "the filename is not prepended to the output (the I<-b> option)."
8593 #: ../fish/guestfish-actions.pod:1044
8594 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1044
8595 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1600
8596 #: ../src/guestfs-actions.pod:1600
8598 "The output depends on the output of the underlying L<file(1)> command and it "
8599 "can change in future in ways beyond our control. In other words, the output "
8600 "is not guaranteed by the ABI."
8604 #: ../fish/guestfish-actions.pod:1048
8605 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1048
8607 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
8608 "(etc), L</is-zero>."
8612 #: ../fish/guestfish-actions.pod:1051
8613 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1051
8614 msgid "file-architecture"
8615 msgstr "file-architecture"
8618 #: ../fish/guestfish-actions.pod:1053
8619 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1053
8622 " file-architecture filename\n"
8625 " file-architecture назва_файла\n"
8629 #: ../fish/guestfish-actions.pod:1055
8630 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1055
8631 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1618
8632 #: ../src/guestfs-actions.pod:1618
8634 "This detects the architecture of the binary C<filename>, and returns it if "
8639 #: ../fish/guestfish-actions.pod:1058
8640 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1058
8641 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1621
8642 #: ../src/guestfs-actions.pod:1621
8643 msgid "Currently defined architectures are:"
8647 #: ../fish/guestfish-actions.pod:1062
8648 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1062
8649 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1625
8650 #: ../src/guestfs-actions.pod:1625
8655 #: ../fish/guestfish-actions.pod:1064
8656 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1064
8657 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1627
8658 #: ../src/guestfs-actions.pod:1627
8660 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
8661 "irrespective of the precise processor requirements of the binary."
8665 #: ../fish/guestfish-actions.pod:1067
8666 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1067
8667 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1630
8668 #: ../src/guestfs-actions.pod:1630
8673 #: ../fish/guestfish-actions.pod:1069
8674 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1069
8675 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1632
8676 #: ../src/guestfs-actions.pod:1632
8677 msgid "64 bit x86-64."
8681 #: ../fish/guestfish-actions.pod:1071
8682 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1071
8683 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1634
8684 #: ../src/guestfs-actions.pod:1634
8689 #: ../fish/guestfish-actions.pod:1073
8690 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1073
8691 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1636
8692 #: ../src/guestfs-actions.pod:1636
8693 msgid "32 bit SPARC."
8697 #: ../fish/guestfish-actions.pod:1075
8698 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1075
8699 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1638
8700 #: ../src/guestfs-actions.pod:1638
8705 #: ../fish/guestfish-actions.pod:1077
8706 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1077
8707 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1640
8708 #: ../src/guestfs-actions.pod:1640
8709 msgid "64 bit SPARC V9 and above."
8713 #: ../fish/guestfish-actions.pod:1079
8714 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1079
8715 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1642
8716 #: ../src/guestfs-actions.pod:1642
8721 #: ../fish/guestfish-actions.pod:1081
8722 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1081
8723 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1644
8724 #: ../src/guestfs-actions.pod:1644
8725 msgid "Intel Itanium."
8726 msgstr "Intel Itanium."
8729 #: ../fish/guestfish-actions.pod:1083
8730 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1083
8731 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1646
8732 #: ../src/guestfs-actions.pod:1646
8737 #: ../fish/guestfish-actions.pod:1085
8738 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1085
8739 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1648
8740 #: ../src/guestfs-actions.pod:1648
8741 msgid "32 bit Power PC."
8745 #: ../fish/guestfish-actions.pod:1087
8746 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1087
8747 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1650
8748 #: ../src/guestfs-actions.pod:1650
8753 #: ../fish/guestfish-actions.pod:1089
8754 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1089
8755 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1652
8756 #: ../src/guestfs-actions.pod:1652
8757 msgid "64 bit Power PC."
8761 #: ../fish/guestfish-actions.pod:1093
8762 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1093
8763 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1656
8764 #: ../src/guestfs-actions.pod:1656
8765 msgid "Libguestfs may return other architecture strings in future."
8769 #: ../fish/guestfish-actions.pod:1095
8770 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1095
8771 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1658
8772 #: ../src/guestfs-actions.pod:1658
8773 msgid "The function works on at least the following types of files:"
8777 #: ../fish/guestfish-actions.pod:1101
8778 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1101
8779 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1664
8780 #: ../src/guestfs-actions.pod:1664
8781 msgid "many types of Un*x and Linux binary"
8785 #: ../fish/guestfish-actions.pod:1105
8786 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1105
8787 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1668
8788 #: ../src/guestfs-actions.pod:1668
8789 msgid "many types of Un*x and Linux shared library"
8793 #: ../fish/guestfish-actions.pod:1109
8794 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1109
8795 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1672
8796 #: ../src/guestfs-actions.pod:1672
8797 msgid "Windows Win32 and Win64 binaries"
8801 #: ../fish/guestfish-actions.pod:1113
8802 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1113
8803 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1676
8804 #: ../src/guestfs-actions.pod:1676
8805 msgid "Windows Win32 and Win64 DLLs"
8809 #: ../fish/guestfish-actions.pod:1115
8810 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1115
8811 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1678
8812 #: ../src/guestfs-actions.pod:1678
8813 msgid "Win32 binaries and DLLs return C<i386>."
8817 #: ../fish/guestfish-actions.pod:1117
8818 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1117
8819 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1680
8820 #: ../src/guestfs-actions.pod:1680
8821 msgid "Win64 binaries and DLLs return C<x86_64>."
8825 #: ../fish/guestfish-actions.pod:1121
8826 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1121
8827 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1684
8828 #: ../src/guestfs-actions.pod:1684
8829 msgid "Linux kernel modules"
8833 #: ../fish/guestfish-actions.pod:1125
8834 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1125
8835 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1688
8836 #: ../src/guestfs-actions.pod:1688
8837 msgid "Linux new-style initrd images"
8841 #: ../fish/guestfish-actions.pod:1129
8842 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1129
8843 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1692
8844 #: ../src/guestfs-actions.pod:1692
8845 msgid "some non-x86 Linux vmlinuz kernels"
8849 #: ../fish/guestfish-actions.pod:1133
8850 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1133
8851 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1696
8852 #: ../src/guestfs-actions.pod:1696
8853 msgid "What it can't do currently:"
8857 #: ../fish/guestfish-actions.pod:1139
8858 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1139
8859 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1702
8860 #: ../src/guestfs-actions.pod:1702
8861 msgid "static libraries (libfoo.a)"
8865 #: ../fish/guestfish-actions.pod:1143
8866 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1143
8867 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1706
8868 #: ../src/guestfs-actions.pod:1706
8869 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
8873 #: ../fish/guestfish-actions.pod:1147
8874 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1147
8875 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1710
8876 #: ../src/guestfs-actions.pod:1710
8877 msgid "x86 Linux vmlinuz kernels"
8881 #: ../fish/guestfish-actions.pod:1149
8882 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1149
8883 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1712
8884 #: ../src/guestfs-actions.pod:1712
8886 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
8887 "compressed code, and are horribly hard to unpack. If you want to find the "
8888 "architecture of a kernel, use the architecture of the associated initrd or "
8889 "kernel module(s) instead."
8893 #: ../fish/guestfish-actions.pod:1156
8894 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1156
8899 #: ../fish/guestfish-actions.pod:1158
8900 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1158
8910 #: ../fish/guestfish-actions.pod:1160
8911 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1160
8912 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1730
8913 #: ../src/guestfs-actions.pod:1730
8914 msgid "This command returns the size of C<file> in bytes."
8918 #: ../fish/guestfish-actions.pod:1162
8919 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1162
8921 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
8922 "file> etc. To get the size of block devices, use L</blockdev-getsize64>."
8926 #: ../fish/guestfish-actions.pod:1166
8927 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1166
8932 #: ../fish/guestfish-actions.pod:1168
8933 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1168
8936 " fill c len path\n"
8941 #: ../fish/guestfish-actions.pod:1170
8942 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1170
8943 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1748
8944 #: ../src/guestfs-actions.pod:1748
8946 "This command creates a new file called C<path>. The initial content of the "
8947 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
8952 #: ../fish/guestfish-actions.pod:1174
8953 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1174
8955 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
8956 "L</truncate-size>. To create a file with a pattern of repeating bytes use "
8961 #: ../fish/guestfish-actions.pod:1179
8962 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1179
8963 msgid "fill-pattern"
8964 msgstr "fill-pattern"
8967 #: ../fish/guestfish-actions.pod:1181
8968 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1181
8971 " fill-pattern pattern len path\n"
8976 #: ../fish/guestfish-actions.pod:1183
8977 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1183
8979 "This function is like L</fill> except that it creates a new file of length "
8980 "C<len> containing the repeating pattern of bytes in C<pattern>. The pattern "
8981 "is truncated if necessary to ensure the length of the file is exactly C<len> "
8986 #: ../fish/guestfish-actions.pod:1188
8987 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1188
8992 #: ../fish/guestfish-actions.pod:1190
8993 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1190
9003 #: ../fish/guestfish-actions.pod:1192
9004 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1192
9005 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1794
9006 #: ../src/guestfs-actions.pod:1794
9008 "This command lists out all files and directories, recursively, starting at "
9009 "C<directory>. It is essentially equivalent to running the shell command "
9010 "C<find directory -print> but some post-processing happens on the output, "
9015 #: ../fish/guestfish-actions.pod:1197
9016 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1197
9017 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1799
9018 #: ../src/guestfs-actions.pod:1799
9020 "This returns a list of strings I<without any prefix>. Thus if the directory "
9025 #: ../fish/guestfish-actions.pod:1200
9026 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1200
9027 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1802
9028 #: ../src/guestfs-actions.pod:1802
9038 #: ../fish/guestfish-actions.pod:1204
9039 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1204
9040 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
9044 #: ../fish/guestfish-actions.pod:1207
9045 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1207
9046 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1809
9047 #: ../src/guestfs-actions.pod:1809
9058 #: ../fish/guestfish-actions.pod:1212
9059 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1212
9060 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1814
9061 #: ../src/guestfs-actions.pod:1814
9062 msgid "If C<directory> is not a directory, then this command returns an error."
9066 #: ../fish/guestfish-actions.pod:1215
9067 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1215
9068 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1817
9069 #: ../src/guestfs-actions.pod:1817
9070 msgid "The returned list is sorted."
9074 #: ../fish/guestfish-actions.pod:1217
9075 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1217
9076 msgid "See also L</find0>."
9077 msgstr "Див. також L</find0>."
9080 #: ../fish/guestfish-actions.pod:1222
9081 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1222
9086 #: ../fish/guestfish-actions.pod:1224
9087 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1224
9090 " find0 directory (files|-)\n"
9093 " find0 каталог (файли|-)\n"
9097 #: ../fish/guestfish-actions.pod:1226
9098 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1226
9099 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1837
9100 #: ../src/guestfs-actions.pod:1837
9102 "This command lists out all files and directories, recursively, starting at "
9103 "C<directory>, placing the resulting list in the external file called "
9108 #: ../fish/guestfish-actions.pod:1230
9109 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1230
9111 "This command works the same way as L</find> with the following exceptions:"
9115 #: ../fish/guestfish-actions.pod:1237
9116 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1237
9117 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1848
9118 #: ../src/guestfs-actions.pod:1848
9119 msgid "The resulting list is written to an external file."
9123 #: ../fish/guestfish-actions.pod:1241
9124 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1241
9125 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1852
9126 #: ../src/guestfs-actions.pod:1852
9128 "Items (filenames) in the result are separated by C<\\0> characters. See "
9129 "L<find(1)> option I<-print0>."
9133 #: ../fish/guestfish-actions.pod:1246
9134 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1246
9135 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1857
9136 #: ../src/guestfs-actions.pod:1857
9137 msgid "This command is not limited in the number of names that it can return."
9141 #: ../fish/guestfish-actions.pod:1251
9142 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1251
9143 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1862
9144 #: ../src/guestfs-actions.pod:1862
9145 msgid "The result list is not sorted."
9149 #: ../fish/guestfish-actions.pod:1257
9150 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1257
9151 msgid "findfs-label"
9152 msgstr "findfs-label"
9155 #: ../fish/guestfish-actions.pod:1259
9156 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1259
9159 " findfs-label label\n"
9162 " findfs-label мітка\n"
9166 #: ../fish/guestfish-actions.pod:1261
9167 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1261
9168 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1876
9169 #: ../src/guestfs-actions.pod:1876
9171 "This command searches the filesystems and returns the one which has the "
9172 "given label. An error is returned if no such filesystem can be found."
9176 #: ../fish/guestfish-actions.pod:1265
9177 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1265
9178 msgid "To find the label of a filesystem, use L</vfs-label>."
9179 msgstr "Для визначення мітки файлової системи скористайтеся L</vfs-label>."
9182 #: ../fish/guestfish-actions.pod:1267
9183 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1267
9185 msgstr "findfs-uuid"
9188 #: ../fish/guestfish-actions.pod:1269
9189 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1269
9192 " findfs-uuid uuid\n"
9195 " findfs-uuid uuid\n"
9199 #: ../fish/guestfish-actions.pod:1271
9200 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1271
9201 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1893
9202 #: ../src/guestfs-actions.pod:1893
9204 "This command searches the filesystems and returns the one which has the "
9205 "given UUID. An error is returned if no such filesystem can be found."
9209 #: ../fish/guestfish-actions.pod:1275
9210 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1275
9211 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
9212 msgstr "Для визначення UUID файлової системи скористайтеся L</vfs-uuid>."
9215 #: ../fish/guestfish-actions.pod:1277
9216 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1277
9221 #: ../fish/guestfish-actions.pod:1279
9222 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1279
9225 " fsck fstype device\n"
9228 " fsck тип_файлової_системи пристрій\n"
9232 #: ../fish/guestfish-actions.pod:1281
9233 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1281
9234 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1911
9235 #: ../src/guestfs-actions.pod:1911
9237 "This runs the filesystem checker (fsck) on C<device> which should have "
9238 "filesystem type C<fstype>."
9242 #: ../fish/guestfish-actions.pod:1284
9243 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1284
9244 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1914
9245 #: ../src/guestfs-actions.pod:1914
9247 "The returned integer is the status. See L<fsck(8)> for the list of status "
9248 "codes from C<fsck>."
9252 #: ../fish/guestfish-actions.pod:1293
9253 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1293
9254 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1923
9255 #: ../src/guestfs-actions.pod:1923
9256 msgid "Multiple status codes can be summed together."
9260 #: ../fish/guestfish-actions.pod:1297
9261 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1297
9262 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1927
9263 #: ../src/guestfs-actions.pod:1927
9265 "A non-zero return code can mean \"success\", for example if errors have been "
9266 "corrected on the filesystem."
9270 #: ../fish/guestfish-actions.pod:1302
9271 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1302
9272 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1932
9273 #: ../src/guestfs-actions.pod:1932
9274 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
9278 #: ../fish/guestfish-actions.pod:1307
9279 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1307
9280 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1937
9281 #: ../src/guestfs-actions.pod:1937
9283 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
9287 #: ../fish/guestfish-actions.pod:1309
9288 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1309
9293 #: ../fish/guestfish-actions.pod:1311
9294 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1311
9304 #: ../fish/guestfish-actions.pod:1313
9305 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1313
9306 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1948
9307 #: ../src/guestfs-actions.pod:1948
9309 "Return the additional kernel options which are added to the guest kernel "
9314 #: ../fish/guestfish-actions.pod:1316
9315 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1316
9316 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1951
9317 #: ../src/guestfs-actions.pod:1951
9318 msgid "If C<NULL> then no options are added."
9322 #: ../fish/guestfish-actions.pod:1318
9323 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1318
9324 msgid "get-attach-method"
9325 msgstr "get-attach-method"
9328 #: ../fish/guestfish-actions.pod:1320
9329 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1320
9332 " get-attach-method\n"
9335 " get-attach-method\n"
9339 #: ../fish/guestfish-actions.pod:1322
9340 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1322
9341 msgid "Return the current attach method. See L</set-attach-method>."
9345 #: ../fish/guestfish-actions.pod:1324
9346 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1324
9347 msgid "get-autosync"
9348 msgstr "get-autosync"
9351 #: ../fish/guestfish-actions.pod:1326
9352 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1326
9362 #: ../fish/guestfish-actions.pod:1328
9363 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1328
9364 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1976
9365 #: ../src/guestfs-actions.pod:1976
9366 msgid "Get the autosync flag."
9370 #: ../fish/guestfish-actions.pod:1330
9371 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1330
9376 #: ../fish/guestfish-actions.pod:1332
9377 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1332
9387 #: ../fish/guestfish-actions.pod:1334
9388 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1334
9389 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1987
9390 #: ../src/guestfs-actions.pod:1987
9391 msgid "Return the direct appliance mode flag."
9395 #: ../fish/guestfish-actions.pod:1336
9396 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1336
9398 msgstr "get-e2label"
9401 #: ../fish/guestfish-actions.pod:1338
9402 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1338
9405 " get-e2label device\n"
9408 " get-e2label пристрій\n"
9412 #: ../fish/guestfish-actions.pod:1340
9413 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1340
9414 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1999
9415 #: ../src/guestfs-actions.pod:1999
9417 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
9421 #: ../fish/guestfish-actions.pod:1343
9422 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1343
9423 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2005
9424 #: ../src/guestfs-actions.pod:2005
9426 "This function is deprecated. In new code, use the C<vfs_label> call instead."
9430 #: ../fish/guestfish-actions.pod:1350
9431 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1350
9436 #: ../fish/guestfish-actions.pod:1352
9437 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1352
9440 " get-e2uuid device\n"
9443 " get-e2uuid пристрій\n"
9447 #: ../fish/guestfish-actions.pod:1354
9448 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1354
9449 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2020
9450 #: ../src/guestfs-actions.pod:2020
9452 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
9456 #: ../fish/guestfish-actions.pod:1357
9457 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1357
9458 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2026
9459 #: ../src/guestfs-actions.pod:2026
9461 "This function is deprecated. In new code, use the C<vfs_uuid> call instead."
9465 #: ../fish/guestfish-actions.pod:1364
9466 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1364
9468 msgstr "get-memsize"
9471 #: ../fish/guestfish-actions.pod:1366
9472 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1366
9482 #: ../fish/guestfish-actions.pod:1368
9483 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1368
9484 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2040
9485 #: ../src/guestfs-actions.pod:2040
9487 "This gets the memory size in megabytes allocated to the qemu subprocess."
9491 #: ../fish/guestfish-actions.pod:1371
9492 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1371
9494 "If L</set-memsize> was not called on this handle, and if "
9495 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
9496 "value for memsize."
9500 #: ../fish/guestfish-actions.pod:1375 ../fish/guestfish-actions.pod:1432
9501 #: ../fish/guestfish-actions.pod:4163 ../fish/guestfish-actions.pod:4265
9502 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1375
9503 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1432
9504 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4163
9505 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4265
9506 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2047
9507 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2139
9508 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6293
9509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6419
9510 #: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2139
9511 #: ../src/guestfs-actions.pod:6293 ../src/guestfs-actions.pod:6419
9513 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
9517 #: ../fish/guestfish-actions.pod:1378
9518 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1378
9520 msgstr "get-network"
9523 #: ../fish/guestfish-actions.pod:1380
9524 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1380
9534 #: ../fish/guestfish-actions.pod:1382
9535 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1382
9536 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2059
9537 #: ../src/guestfs-actions.pod:2059
9538 msgid "This returns the enable network flag."
9542 #: ../fish/guestfish-actions.pod:1384
9543 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1384
9548 #: ../fish/guestfish-actions.pod:1386
9549 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1386
9559 #: ../fish/guestfish-actions.pod:1388
9560 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1388
9561 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2070
9562 #: ../src/guestfs-actions.pod:2070
9563 msgid "Return the current search path."
9567 #: ../fish/guestfish-actions.pod:1390
9568 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1390
9569 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2072
9570 #: ../src/guestfs-actions.pod:2072
9572 "This is always non-NULL. If it wasn't set already, then this will return "
9577 #: ../fish/guestfish-actions.pod:1393
9578 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1393
9583 #: ../fish/guestfish-actions.pod:1395
9584 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1395
9592 #: ../fish/guestfish-actions.pod:1397
9593 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1397
9594 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2085
9595 #: ../src/guestfs-actions.pod:2085
9596 msgid "This returns the process group flag."
9600 #: ../fish/guestfish-actions.pod:1399
9601 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1399
9606 #: ../fish/guestfish-actions.pod:1401
9607 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1401
9612 #: ../fish/guestfish-actions.pod:1403
9613 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1403
9623 #: ../fish/guestfish-actions.pod:1405
9624 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1405
9625 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2096
9626 #: ../src/guestfs-actions.pod:2096
9628 "Return the process ID of the qemu subprocess. If there is no qemu "
9629 "subprocess, then this will return an error."
9633 #: ../fish/guestfish-actions.pod:1408
9634 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1408
9635 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2099
9636 #: ../src/guestfs-actions.pod:2099
9637 msgid "This is an internal call used for debugging and testing."
9641 #: ../fish/guestfish-actions.pod:1410
9642 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1410
9647 #: ../fish/guestfish-actions.pod:1412
9648 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1412
9658 #: ../fish/guestfish-actions.pod:1414
9659 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1414
9660 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2110
9661 #: ../src/guestfs-actions.pod:2110
9662 msgid "Return the current qemu binary."
9666 #: ../fish/guestfish-actions.pod:1416
9667 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1416
9668 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2112
9669 #: ../src/guestfs-actions.pod:2112
9671 "This is always non-NULL. If it wasn't set already, then this will return "
9672 "the default qemu binary name."
9676 #: ../fish/guestfish-actions.pod:1419
9677 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1419
9678 msgid "get-recovery-proc"
9679 msgstr "get-recovery-proc"
9682 #: ../fish/guestfish-actions.pod:1421
9683 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1421
9686 " get-recovery-proc\n"
9689 " get-recovery-proc\n"
9693 #: ../fish/guestfish-actions.pod:1423
9694 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1423
9695 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2125
9696 #: ../src/guestfs-actions.pod:2125
9697 msgid "Return the recovery process enabled flag."
9701 #: ../fish/guestfish-actions.pod:1425
9702 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1425
9704 msgstr "get-selinux"
9707 #: ../fish/guestfish-actions.pod:1427
9708 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1427
9718 #: ../fish/guestfish-actions.pod:1429
9719 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1429
9721 "This returns the current setting of the selinux flag which is passed to the "
9722 "appliance at boot time. See L</set-selinux>."
9726 #: ../fish/guestfish-actions.pod:1435
9727 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1435
9732 #: ../fish/guestfish-actions.pod:1437
9733 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1437
9743 #: ../fish/guestfish-actions.pod:1439
9744 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1439
9745 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2151
9746 #: ../src/guestfs-actions.pod:2151
9748 "This returns the current state as an opaque integer. This is only useful "
9749 "for printing debug and internal error messages."
9753 #: ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:2362
9754 #: ../fish/guestfish-actions.pod:2380 ../fish/guestfish-actions.pod:2418
9755 #: ../fish/guestfish-actions.pod:2434
9756 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1442
9757 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2362
9758 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2380
9759 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2418
9760 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2434
9761 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2154
9762 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3434
9763 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3463
9764 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3524
9765 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3551
9766 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:3434
9767 #: ../src/guestfs-actions.pod:3463 ../src/guestfs-actions.pod:3524
9768 #: ../src/guestfs-actions.pod:3551
9769 msgid "For more information on states, see L<guestfs(3)>."
9773 #: ../fish/guestfish-actions.pod:1444
9774 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1444
9779 #: ../fish/guestfish-actions.pod:1446
9780 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1446
9790 #: ../fish/guestfish-actions.pod:1448
9791 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1448
9792 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2165
9793 #: ../src/guestfs-actions.pod:2165
9794 msgid "Return the command trace flag."
9798 #: ../fish/guestfish-actions.pod:1450
9799 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1450
9804 #: ../fish/guestfish-actions.pod:1452
9805 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1452
9815 #: ../fish/guestfish-actions.pod:1454
9816 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1454
9818 "Return the current umask. By default the umask is C<022> unless it has been "
9819 "set by calling L</umask>."
9823 #: ../fish/guestfish-actions.pod:1457
9824 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1457
9826 msgstr "get-verbose"
9829 #: ../fish/guestfish-actions.pod:1459
9830 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1459
9840 #: ../fish/guestfish-actions.pod:1461
9841 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1461
9842 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2188
9843 #: ../src/guestfs-actions.pod:2188
9844 msgid "This returns the verbose messages flag."
9848 #: ../fish/guestfish-actions.pod:1463
9849 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1463
9854 #: ../fish/guestfish-actions.pod:1465
9855 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1465
9865 #: ../fish/guestfish-actions.pod:1467
9866 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1467
9867 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2199
9868 #: ../src/guestfs-actions.pod:2199
9869 msgid "This gets the SELinux security context of the daemon."
9873 #: ../fish/guestfish-actions.pod:1469
9874 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1469
9875 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
9879 #: ../fish/guestfish-actions.pod:1472
9880 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1472
9885 #: ../fish/guestfish-actions.pod:1474
9886 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1474
9889 " getxattr path name\n"
9892 " getxattr шлях назва\n"
9896 #: ../fish/guestfish-actions.pod:1476
9897 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1476
9899 "Get a single extended attribute from file C<path> named C<name>. This call "
9900 "follows symlinks. If you want to lookup an extended attribute for the "
9901 "symlink itself, use L</lgetxattr>."
9905 #: ../fish/guestfish-actions.pod:1480 ../fish/guestfish-actions.pod:2507
9906 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1480
9907 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2507
9909 "Normally it is better to get all extended attributes from a file in one go "
9910 "by calling L</getxattrs>. However some Linux filesystem implementations are "
9911 "buggy and do not provide a way to list out attributes. For these "
9912 "filesystems (notably ntfs-3g) you have to know the names of the extended "
9913 "attributes you want in advance and call this function."
9917 #: ../fish/guestfish-actions.pod:1487 ../fish/guestfish-actions.pod:2514
9918 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1487
9919 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2514
9920 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2228
9921 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3684
9922 #: ../src/guestfs-actions.pod:2228 ../src/guestfs-actions.pod:3684
9924 "Extended attribute values are blobs of binary data. If there is no extended "
9925 "attribute named C<name>, this returns an error."
9929 #: ../fish/guestfish-actions.pod:1490
9930 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1490
9931 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9932 msgstr "Див. також L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9935 #: ../fish/guestfish-actions.pod:1492
9936 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1492
9941 #: ../fish/guestfish-actions.pod:1494
9942 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1494
9952 #: ../fish/guestfish-actions.pod:1496
9953 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1496
9954 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2245
9955 #: ../src/guestfs-actions.pod:2245
9957 "This call lists the extended attributes of the file or directory C<path>."
9961 #: ../fish/guestfish-actions.pod:1499
9962 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1499
9963 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2248
9964 #: ../src/guestfs-actions.pod:2248
9966 "At the system call level, this is a combination of the L<listxattr(2)> and "
9967 "L<getxattr(2)> calls."
9971 #: ../fish/guestfish-actions.pod:1502
9972 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1502
9973 msgid "See also: L</lgetxattrs>, L<attr(5)>."
9974 msgstr "Див. також L</lgetxattrs>, L<attr(5)>."
9977 #: ../fish/guestfish-actions.pod:1504
9978 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1504
9980 msgstr "glob-expand"
9983 #: ../fish/guestfish-actions.pod:1506
9984 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1506
9987 " glob-expand pattern\n"
9990 " glob-expand шаблон\n"
9994 #: ../fish/guestfish-actions.pod:1508
9995 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1508
9996 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2265
9997 #: ../src/guestfs-actions.pod:2265
9999 "This command searches for all the pathnames matching C<pattern> according to "
10000 "the wildcard expansion rules used by the shell."
10004 #: ../fish/guestfish-actions.pod:1512
10005 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1512
10006 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2269
10007 #: ../src/guestfs-actions.pod:2269
10009 "If no paths match, then this returns an empty list (note: not an error)."
10013 #: ../fish/guestfish-actions.pod:1515
10014 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1515
10015 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2272
10016 #: ../src/guestfs-actions.pod:2272
10018 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
10019 "GLOB_BRACE>. See that manual page for more details."
10023 #: ../fish/guestfish-actions.pod:1519
10024 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1519
10029 #: ../fish/guestfish-actions.pod:1521
10030 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1521
10033 " grep regex path\n"
10036 " grepi формальний_вираз шлях\n"
10040 #: ../fish/guestfish-actions.pod:1523
10041 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1523
10042 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2289
10043 #: ../src/guestfs-actions.pod:2289
10044 msgid "This calls the external C<grep> program and returns the matching lines."
10048 #: ../fish/guestfish-actions.pod:1529
10049 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1529
10054 #: ../fish/guestfish-actions.pod:1531
10055 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1531
10058 " grepi regex path\n"
10061 " grepi формальний_вираз шлях\n"
10065 #: ../fish/guestfish-actions.pod:1533
10066 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1533
10067 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2308
10068 #: ../src/guestfs-actions.pod:2308
10070 "This calls the external C<grep -i> program and returns the matching lines."
10074 #: ../fish/guestfish-actions.pod:1539
10075 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1539
10076 msgid "grub-install"
10077 msgstr "grub-install"
10080 #: ../fish/guestfish-actions.pod:1541
10081 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1541
10084 " grub-install root device\n"
10087 " grub-install кореневий пристрій\n"
10091 #: ../fish/guestfish-actions.pod:1543
10092 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1543
10093 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2327
10094 #: ../src/guestfs-actions.pod:2327
10096 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
10097 "the root directory being C<root>."
10101 #: ../fish/guestfish-actions.pod:1546
10102 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1546
10103 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2330
10104 #: ../src/guestfs-actions.pod:2330
10106 "Note: If grub-install reports the error \"No suitable drive was found in the "
10107 "generated device map.\" it may be that you need to create a C</boot/grub/"
10108 "device.map> file first that contains the mapping between grub device names "
10109 "and Linux device names. It is usually sufficient to create a file "
10114 #: ../fish/guestfish-actions.pod:1553
10115 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1553
10116 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2337
10117 #: ../src/guestfs-actions.pod:2337
10120 " (hd0) /dev/vda\n"
10125 #: ../fish/guestfish-actions.pod:1555
10126 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1555
10127 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2339
10128 #: ../src/guestfs-actions.pod:2339
10129 msgid "replacing C</dev/vda> with the name of the installation device."
10133 #: ../fish/guestfish-actions.pod:1557
10134 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1557
10139 #: ../fish/guestfish-actions.pod:1559
10140 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1559
10150 #: ../fish/guestfish-actions.pod:1561
10151 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1561
10152 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2351
10153 #: ../src/guestfs-actions.pod:2351
10155 "This command returns up to the first 10 lines of a file as a list of strings."
10159 #: ../fish/guestfish-actions.pod:1567
10160 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1567
10165 #: ../fish/guestfish-actions.pod:1569
10166 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1569
10169 " head-n nrlines path\n"
10174 #: ../fish/guestfish-actions.pod:1571
10175 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1571
10176 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2370
10177 #: ../src/guestfs-actions.pod:2370
10179 "If the parameter C<nrlines> is a positive number, this returns the first "
10180 "C<nrlines> lines of the file C<path>."
10184 #: ../fish/guestfish-actions.pod:1574
10185 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1574
10186 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2373
10187 #: ../src/guestfs-actions.pod:2373
10189 "If the parameter C<nrlines> is a negative number, this returns lines from "
10190 "the file C<path>, excluding the last C<nrlines> lines."
10194 #: ../fish/guestfish-actions.pod:1577 ../fish/guestfish-actions.pod:4643
10195 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1577
10196 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4643
10197 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2376
10198 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6991
10199 #: ../src/guestfs-actions.pod:2376 ../src/guestfs-actions.pod:6991
10200 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
10204 #: ../fish/guestfish-actions.pod:1582
10205 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1582
10210 #: ../fish/guestfish-actions.pod:1584
10211 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1584
10221 #: ../fish/guestfish-actions.pod:1586
10222 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1586
10223 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2393
10224 #: ../src/guestfs-actions.pod:2393
10226 "This runs C<hexdump -C> on the given C<path>. The result is the human-"
10227 "readable, canonical hex dump of the file."
10231 #: ../fish/guestfish-actions.pod:1592
10232 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1592
10234 msgstr "initrd-cat"
10237 #: ../fish/guestfish-actions.pod:1594
10238 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1594
10241 " initrd-cat initrdpath filename\n"
10244 " initrd-cat шлях_initrd назва_файла\n"
10248 #: ../fish/guestfish-actions.pod:1596
10249 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1596
10250 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2412
10251 #: ../src/guestfs-actions.pod:2412
10253 "This command unpacks the file C<filename> from the initrd file called "
10254 "C<initrdpath>. The filename must be given I<without> the initial C</> "
10259 #: ../fish/guestfish-actions.pod:1600
10260 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1600
10261 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2416
10262 #: ../src/guestfs-actions.pod:2416
10264 "For example, in guestfish you could use the following command to examine the "
10265 "boot script (usually called C</init>) contained in a Linux initrd or "
10270 #: ../fish/guestfish-actions.pod:1604
10271 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1604
10272 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2420
10273 #: ../src/guestfs-actions.pod:2420
10276 " initrd-cat /boot/initrd-<version>.img init\n"
10281 #: ../fish/guestfish-actions.pod:1606
10282 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1606
10283 msgid "See also L</initrd-list>."
10284 msgstr "Див. також L</initrd-list>."
10287 #: ../fish/guestfish-actions.pod:1611
10288 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1611
10289 msgid "initrd-list"
10290 msgstr "initrd-list"
10293 #: ../fish/guestfish-actions.pod:1613
10294 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1613
10297 " initrd-list path\n"
10300 " initrd-list шлях\n"
10304 #: ../fish/guestfish-actions.pod:1615
10305 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1615
10306 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2439
10307 #: ../src/guestfs-actions.pod:2439
10308 msgid "This command lists out files contained in an initrd."
10312 #: ../fish/guestfish-actions.pod:1617
10313 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1617
10314 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2441
10315 #: ../src/guestfs-actions.pod:2441
10317 "The files are listed without any initial C</> character. The files are "
10318 "listed in the order they appear (not necessarily alphabetical). Directory "
10319 "names are listed as separate items."
10323 #: ../fish/guestfish-actions.pod:1621
10324 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1621
10325 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2445
10326 #: ../src/guestfs-actions.pod:2445
10328 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
10329 "initrd. We I<only> support the newer initramfs format (compressed cpio "
10334 #: ../fish/guestfish-actions.pod:1625
10335 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1625
10336 msgid "inotify-add-watch"
10337 msgstr "inotify-add-watch"
10340 #: ../fish/guestfish-actions.pod:1627
10341 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1627
10344 " inotify-add-watch path mask\n"
10347 " inotify-add-watch шлях маска\n"
10351 #: ../fish/guestfish-actions.pod:1629
10352 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1629
10353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2462
10354 #: ../src/guestfs-actions.pod:2462
10355 msgid "Watch C<path> for the events listed in C<mask>."
10359 #: ../fish/guestfish-actions.pod:1631
10360 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1631
10361 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2464
10362 #: ../src/guestfs-actions.pod:2464
10364 "Note that if C<path> is a directory then events within that directory are "
10365 "watched, but this does I<not> happen recursively (in subdirectories)."
10369 #: ../fish/guestfish-actions.pod:1635
10370 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1635
10371 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2468
10372 #: ../src/guestfs-actions.pod:2468
10374 "Note for non-C or non-Linux callers: the inotify events are defined by the "
10375 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
10379 #: ../fish/guestfish-actions.pod:1639
10380 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1639
10381 msgid "inotify-close"
10382 msgstr "inotify-close"
10385 #: ../fish/guestfish-actions.pod:1641
10386 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1641
10396 #: ../fish/guestfish-actions.pod:1643
10397 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1643
10398 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2481
10399 #: ../src/guestfs-actions.pod:2481
10401 "This closes the inotify handle which was previously opened by inotify_init. "
10402 "It removes all watches, throws away any pending events, and deallocates all "
10407 #: ../fish/guestfish-actions.pod:1647
10408 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1647
10409 msgid "inotify-files"
10410 msgstr "inotify-files"
10413 #: ../fish/guestfish-actions.pod:1649
10414 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1649
10424 #: ../fish/guestfish-actions.pod:1651
10425 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1651
10427 "This function is a helpful wrapper around L</inotify-read> which just "
10428 "returns a list of pathnames of objects that were touched. The returned "
10429 "pathnames are sorted and deduplicated."
10433 #: ../fish/guestfish-actions.pod:1655
10434 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1655
10435 msgid "inotify-init"
10436 msgstr "inotify-init"
10439 #: ../fish/guestfish-actions.pod:1657
10440 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1657
10443 " inotify-init maxevents\n"
10448 #: ../fish/guestfish-actions.pod:1659
10449 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1659
10450 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2510
10451 #: ../src/guestfs-actions.pod:2510
10453 "This command creates a new inotify handle. The inotify subsystem can be "
10454 "used to notify events which happen to objects in the guest filesystem."
10458 #: ../fish/guestfish-actions.pod:1663
10459 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1663
10461 "C<maxevents> is the maximum number of events which will be queued up between "
10462 "calls to L</inotify-read> or L</inotify-files>. If this is passed as C<0>, "
10463 "then the kernel (or previously set) default is used. For Linux 2.6.29 the "
10464 "default was 16384 events. Beyond this limit, the kernel throws away events, "
10465 "but records the fact that it threw them away by setting a flag "
10466 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
10470 #: ../fish/guestfish-actions.pod:1673
10471 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1673
10473 "Before any events are generated, you have to add some watches to the "
10474 "internal watch list. See: L</inotify-add-watch>, L</inotify-rm-watch> and "
10475 "L</inotify-watch-all>."
10479 #: ../fish/guestfish-actions.pod:1679
10480 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1679
10482 "Queued up events should be read periodically by calling L</inotify-read> (or "
10483 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>). "
10484 "If you don't read the events out often enough then you risk the internal "
10485 "queue overflowing."
10489 #: ../fish/guestfish-actions.pod:1686
10490 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1686
10492 "The handle should be closed after use by calling L</inotify-close>. This "
10493 "also removes any watches automatically."
10497 #: ../fish/guestfish-actions.pod:1690
10498 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1690
10499 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2541
10500 #: ../src/guestfs-actions.pod:2541
10502 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
10503 "by the Linux kernel, which is roughly what we expose via libguestfs. Note "
10504 "that there is one global inotify handle per libguestfs instance."
10508 #: ../fish/guestfish-actions.pod:1695
10509 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1695
10510 msgid "inotify-read"
10511 msgstr "inotify-read"
10514 #: ../fish/guestfish-actions.pod:1697
10515 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1697
10525 #: ../fish/guestfish-actions.pod:1699
10526 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1699
10527 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2555
10528 #: ../src/guestfs-actions.pod:2555
10530 "Return the complete queue of events that have happened since the previous "
10535 #: ../fish/guestfish-actions.pod:1702
10536 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1702
10537 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2558
10538 #: ../src/guestfs-actions.pod:2558
10539 msgid "If no events have happened, this returns an empty list."
10543 #: ../fish/guestfish-actions.pod:1704
10544 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1704
10545 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2560
10546 #: ../src/guestfs-actions.pod:2560
10548 "I<Note>: In order to make sure that all events have been read, you must call "
10549 "this function repeatedly until it returns an empty list. The reason is that "
10550 "the call will read events up to the maximum appliance-to-host message size "
10551 "and leave remaining events in the queue."
10555 #: ../fish/guestfish-actions.pod:1710
10556 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1710
10557 msgid "inotify-rm-watch"
10558 msgstr "inotify-rm-watch"
10561 #: ../fish/guestfish-actions.pod:1712
10562 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1712
10565 " inotify-rm-watch wd\n"
10570 #: ../fish/guestfish-actions.pod:1714
10571 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1714
10572 msgid "Remove a previously defined inotify watch. See L</inotify-add-watch>."
10576 #: ../fish/guestfish-actions.pod:1717
10577 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1717
10578 msgid "inspect-get-arch"
10579 msgstr "inspect-get-arch"
10582 #: ../fish/guestfish-actions.pod:1719
10583 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1719
10586 " inspect-get-arch root\n"
10589 " inspect-get-arch корінь\n"
10593 #: ../fish/guestfish-actions.pod:1721
10594 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1721
10596 "This returns the architecture of the inspected operating system. The "
10597 "possible return values are listed under L</file-architecture>."
10601 #: ../fish/guestfish-actions.pod:1725
10602 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1725
10603 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2595
10604 #: ../src/guestfs-actions.pod:2595
10606 "If the architecture could not be determined, then the string C<unknown> is "
10611 #: ../fish/guestfish-actions.pod:1728 ../fish/guestfish-actions.pod:1811
10612 #: ../fish/guestfish-actions.pod:1890 ../fish/guestfish-actions.pod:1902
10613 #: ../fish/guestfish-actions.pod:1986 ../fish/guestfish-actions.pod:2047
10614 #: ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2082
10615 #: ../fish/guestfish-actions.pod:2122 ../fish/guestfish-actions.pod:2154
10616 #: ../fish/guestfish-actions.pod:2167 ../fish/guestfish-actions.pod:2180
10617 #: ../fish/guestfish-actions.pod:2190 ../fish/guestfish-actions.pod:2200
10618 #: ../fish/guestfish-actions.pod:2212 ../fish/guestfish-actions.pod:2308
10619 #: ../fish/guestfish-actions.pod:2342
10620 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1728
10621 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1811
10622 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1890
10623 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1902
10624 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1986
10625 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2047
10626 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2068
10627 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2082
10628 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2122
10629 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2154
10630 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2167
10631 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2180
10632 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2190
10633 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2200
10634 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2212
10635 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2308
10636 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2342
10637 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2598
10638 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2688
10639 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2792
10640 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2811
10641 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2942
10642 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3025
10643 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3053
10644 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3074
10645 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3127
10646 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3167
10647 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3187
10648 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3207
10649 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3224
10650 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3240
10651 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3258
10652 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3360
10653 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3401
10654 #: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2688
10655 #: ../src/guestfs-actions.pod:2792 ../src/guestfs-actions.pod:2811
10656 #: ../src/guestfs-actions.pod:2942 ../src/guestfs-actions.pod:3025
10657 #: ../src/guestfs-actions.pod:3053 ../src/guestfs-actions.pod:3074
10658 #: ../src/guestfs-actions.pod:3127 ../src/guestfs-actions.pod:3167
10659 #: ../src/guestfs-actions.pod:3187 ../src/guestfs-actions.pod:3207
10660 #: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3240
10661 #: ../src/guestfs-actions.pod:3258 ../src/guestfs-actions.pod:3360
10662 #: ../src/guestfs-actions.pod:3401
10663 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
10667 #: ../fish/guestfish-actions.pod:1730
10668 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1730
10669 msgid "inspect-get-distro"
10670 msgstr "inspect-get-distro"
10673 #: ../fish/guestfish-actions.pod:1732
10674 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1732
10677 " inspect-get-distro root\n"
10680 " inspect-get-distro корінь\n"
10684 #: ../fish/guestfish-actions.pod:1734
10685 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1734
10686 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2611
10687 #: ../src/guestfs-actions.pod:2611
10689 "This returns the distro (distribution) of the inspected operating system."
10693 #: ../fish/guestfish-actions.pod:1737
10694 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1737
10695 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2614
10696 #: ../src/guestfs-actions.pod:2614
10697 msgid "Currently defined distros are:"
10701 #: ../fish/guestfish-actions.pod:1741
10702 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1741
10703 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2618
10704 #: ../src/guestfs-actions.pod:2618
10705 msgid "\"archlinux\""
10706 msgstr "\"archlinux\""
10709 #: ../fish/guestfish-actions.pod:1743
10710 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1743
10711 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2620
10712 #: ../src/guestfs-actions.pod:2620
10713 msgid "Arch Linux."
10714 msgstr "Arch Linux."
10717 #: ../fish/guestfish-actions.pod:1745
10718 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1745
10719 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2622
10720 #: ../src/guestfs-actions.pod:2622
10725 #: ../fish/guestfish-actions.pod:1747
10726 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1747
10727 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2624
10728 #: ../src/guestfs-actions.pod:2624
10733 #: ../fish/guestfish-actions.pod:1749
10734 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1749
10735 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2626
10736 #: ../src/guestfs-actions.pod:2626
10738 msgstr "\"debian\""
10741 #: ../fish/guestfish-actions.pod:1751
10742 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1751
10743 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2628
10744 #: ../src/guestfs-actions.pod:2628
10749 #: ../fish/guestfish-actions.pod:1753
10750 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1753
10751 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2630
10752 #: ../src/guestfs-actions.pod:2630
10754 msgstr "\"fedora\""
10757 #: ../fish/guestfish-actions.pod:1755
10758 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1755
10759 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2632
10760 #: ../src/guestfs-actions.pod:2632
10765 #: ../fish/guestfish-actions.pod:1757
10766 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1757
10767 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2634
10768 #: ../src/guestfs-actions.pod:2634
10770 msgstr "\"gentoo\""
10773 #: ../fish/guestfish-actions.pod:1759
10774 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1759
10775 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2636
10776 #: ../src/guestfs-actions.pod:2636
10781 #: ../fish/guestfish-actions.pod:1761
10782 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1761
10783 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2638
10784 #: ../src/guestfs-actions.pod:2638
10785 msgid "\"linuxmint\""
10786 msgstr "\"linuxmint\""
10789 #: ../fish/guestfish-actions.pod:1763
10790 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1763
10791 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2640
10792 #: ../src/guestfs-actions.pod:2640
10793 msgid "Linux Mint."
10794 msgstr "Linux Mint."
10797 #: ../fish/guestfish-actions.pod:1765
10798 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1765
10799 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2642
10800 #: ../src/guestfs-actions.pod:2642
10801 msgid "\"mandriva\""
10802 msgstr "\"mandriva\""
10805 #: ../fish/guestfish-actions.pod:1767
10806 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1767
10807 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2644
10808 #: ../src/guestfs-actions.pod:2644
10813 #: ../fish/guestfish-actions.pod:1769
10814 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1769
10815 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2646
10816 #: ../src/guestfs-actions.pod:2646
10821 #: ../fish/guestfish-actions.pod:1771
10822 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1771
10823 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2648
10824 #: ../src/guestfs-actions.pod:2648
10829 #: ../fish/guestfish-actions.pod:1773
10830 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1773
10831 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2650
10832 #: ../src/guestfs-actions.pod:2650
10834 msgstr "\"pardus\""
10837 #: ../fish/guestfish-actions.pod:1775
10838 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1775
10839 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2652
10840 #: ../src/guestfs-actions.pod:2652
10845 #: ../fish/guestfish-actions.pod:1777
10846 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1777
10847 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2654
10848 #: ../src/guestfs-actions.pod:2654
10849 msgid "\"redhat-based\""
10850 msgstr "\"redhat-based\""
10853 #: ../fish/guestfish-actions.pod:1779
10854 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1779
10855 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2656
10856 #: ../src/guestfs-actions.pod:2656
10857 msgid "Some Red Hat-derived distro."
10858 msgstr "Дистрибутив, що походить від Red Hat."
10861 #: ../fish/guestfish-actions.pod:1781
10862 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1781
10863 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2658
10864 #: ../src/guestfs-actions.pod:2658
10869 #: ../fish/guestfish-actions.pod:1783
10870 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1783
10871 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2660
10872 #: ../src/guestfs-actions.pod:2660
10873 msgid "Red Hat Enterprise Linux."
10877 #: ../fish/guestfish-actions.pod:1785
10878 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1785
10879 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2662
10880 #: ../src/guestfs-actions.pod:2662
10881 msgid "\"scientificlinux\""
10885 #: ../fish/guestfish-actions.pod:1787
10886 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1787
10887 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2664
10888 #: ../src/guestfs-actions.pod:2664
10889 msgid "Scientific Linux."
10893 #: ../fish/guestfish-actions.pod:1789
10894 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1789
10895 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2666
10896 #: ../src/guestfs-actions.pod:2666
10897 msgid "\"slackware\""
10901 #: ../fish/guestfish-actions.pod:1791
10902 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1791
10903 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2668
10904 #: ../src/guestfs-actions.pod:2668
10909 #: ../fish/guestfish-actions.pod:1793
10910 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1793
10911 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2670
10912 #: ../src/guestfs-actions.pod:2670
10914 msgstr "\"ubuntu\""
10917 #: ../fish/guestfish-actions.pod:1795
10918 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1795
10919 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2672
10920 #: ../src/guestfs-actions.pod:2672
10925 #: ../fish/guestfish-actions.pod:1797 ../fish/guestfish-actions.pod:1881
10926 #: ../fish/guestfish-actions.pod:2145
10927 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1797
10928 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1881
10929 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2145
10930 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2674
10931 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2783
10932 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3158
10933 #: ../src/guestfs-actions.pod:2674 ../src/guestfs-actions.pod:2783
10934 #: ../src/guestfs-actions.pod:3158
10935 msgid "\"unknown\""
10936 msgstr "\"unknown\""
10939 #: ../fish/guestfish-actions.pod:1799
10940 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1799
10941 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2676
10942 #: ../src/guestfs-actions.pod:2676
10943 msgid "The distro could not be determined."
10944 msgstr "Дистрибутив, тип якого не вдалося визначити."
10947 #: ../fish/guestfish-actions.pod:1801 ../fish/guestfish-actions.pod:2137
10948 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1801
10949 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2137
10950 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2678
10951 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3150
10952 #: ../src/guestfs-actions.pod:2678 ../src/guestfs-actions.pod:3150
10953 msgid "\"windows\""
10954 msgstr "\"windows\""
10957 #: ../fish/guestfish-actions.pod:1803
10958 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1803
10959 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2680
10960 #: ../src/guestfs-actions.pod:2680
10962 "Windows does not have distributions. This string is returned if the OS type "
10967 #: ../fish/guestfish-actions.pod:1808 ../fish/guestfish-actions.pod:1887
10968 #: ../fish/guestfish-actions.pod:2151
10969 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1808
10970 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1887
10971 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2151
10972 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2685
10973 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2789
10974 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3164
10975 #: ../src/guestfs-actions.pod:2685 ../src/guestfs-actions.pod:2789
10976 #: ../src/guestfs-actions.pod:3164
10978 "Future versions of libguestfs may return other strings here. The caller "
10979 "should be prepared to handle any string."
10983 #: ../fish/guestfish-actions.pod:1813
10984 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1813
10985 msgid "inspect-get-drive-mappings"
10989 #: ../fish/guestfish-actions.pod:1815
10990 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1815
10993 " inspect-get-drive-mappings root\n"
10998 #: ../fish/guestfish-actions.pod:1817
10999 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1817
11000 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2701
11001 #: ../src/guestfs-actions.pod:2701
11003 "This call is useful for Windows which uses a primitive system of assigning "
11004 "drive letters (like \"C:\") to partitions. This inspection API examines the "
11005 "Windows Registry to find out how disks/partitions are mapped to drive "
11006 "letters, and returns a hash table as in the example below:"
11010 #: ../fish/guestfish-actions.pod:1823
11011 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1823
11012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2707
11013 #: ../src/guestfs-actions.pod:2707
11016 " C => /dev/vda2\n"
11017 " E => /dev/vdb1\n"
11018 " F => /dev/vdc1\n"
11023 #: ../fish/guestfish-actions.pod:1827
11024 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1827
11025 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2711
11026 #: ../src/guestfs-actions.pod:2711
11028 "Note that keys are drive letters. For Windows, the key is case insensitive "
11029 "and just contains the drive letter, without the customary colon separator "
11034 #: ../fish/guestfish-actions.pod:1831
11035 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1831
11036 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2715
11037 #: ../src/guestfs-actions.pod:2715
11039 "In future we may support other operating systems that also used drive "
11040 "letters, but the keys for those might not be case insensitive and might be "
11041 "longer than 1 character. For example in OS-9, hard drives were named C<h0>, "
11046 #: ../fish/guestfish-actions.pod:1836
11047 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1836
11048 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2720
11049 #: ../src/guestfs-actions.pod:2720
11051 "For Windows guests, currently only hard drive mappings are returned. "
11052 "Removable disks (eg. DVD-ROMs) are ignored."
11056 #: ../fish/guestfish-actions.pod:1839
11057 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1839
11058 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2723
11059 #: ../src/guestfs-actions.pod:2723
11061 "For guests that do not use drive mappings, or if the drive mappings could "
11062 "not be determined, this returns an empty hash table."
11066 #: ../fish/guestfish-actions.pod:1842
11067 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1842
11069 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11070 "get-mountpoints>, L</inspect-get-filesystems>."
11074 #: ../fish/guestfish-actions.pod:1846
11075 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1846
11076 msgid "inspect-get-filesystems"
11077 msgstr "inspect-get-filesystems"
11080 #: ../fish/guestfish-actions.pod:1848
11081 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1848
11084 " inspect-get-filesystems root\n"
11087 " inspect-get-filesystems корінь\n"
11091 #: ../fish/guestfish-actions.pod:1850
11092 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1850
11093 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2744
11094 #: ../src/guestfs-actions.pod:2744
11096 "This returns a list of all the filesystems that we think are associated with "
11097 "this operating system. This includes the root filesystem, other ordinary "
11098 "filesystems, and non-mounted devices like swap partitions."
11102 #: ../fish/guestfish-actions.pod:1855
11103 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1855
11104 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2749
11105 #: ../src/guestfs-actions.pod:2749
11107 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
11108 "to be shared between operating systems."
11112 #: ../fish/guestfish-actions.pod:1858
11113 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1858
11115 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11116 "get-mountpoints>."
11120 #: ../fish/guestfish-actions.pod:1861
11121 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1861
11122 msgid "inspect-get-format"
11123 msgstr "inspect-get-format"
11126 #: ../fish/guestfish-actions.pod:1863
11127 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1863
11130 " inspect-get-format root\n"
11133 " inspect-get-format корінь\n"
11137 #: ../fish/guestfish-actions.pod:1865
11138 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1865
11139 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2767
11140 #: ../src/guestfs-actions.pod:2767
11142 "This returns the format of the inspected operating system. You can use it "
11143 "to detect install images, live CDs and similar."
11147 #: ../fish/guestfish-actions.pod:1868
11148 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1868
11149 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2770
11150 #: ../src/guestfs-actions.pod:2770
11151 msgid "Currently defined formats are:"
11155 #: ../fish/guestfish-actions.pod:1872
11156 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1872
11157 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2774
11158 #: ../src/guestfs-actions.pod:2774
11159 msgid "\"installed\""
11160 msgstr "\"installed\""
11163 #: ../fish/guestfish-actions.pod:1874
11164 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1874
11165 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2776
11166 #: ../src/guestfs-actions.pod:2776
11167 msgid "This is an installed operating system."
11168 msgstr "Це встановлена операційна система."
11171 #: ../fish/guestfish-actions.pod:1876
11172 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1876
11173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2778
11174 #: ../src/guestfs-actions.pod:2778
11175 msgid "\"installer\""
11179 #: ../fish/guestfish-actions.pod:1878
11180 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1878
11181 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2780
11182 #: ../src/guestfs-actions.pod:2780
11184 "The disk image being inspected is not an installed operating system, but a "
11185 "I<bootable> install disk, live CD, or similar."
11189 #: ../fish/guestfish-actions.pod:1883
11190 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1883
11191 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2785
11192 #: ../src/guestfs-actions.pod:2785
11193 msgid "The format of this disk image is not known."
11197 #: ../fish/guestfish-actions.pod:1892
11198 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1892
11199 msgid "inspect-get-hostname"
11200 msgstr "inspect-get-hostname"
11203 #: ../fish/guestfish-actions.pod:1894
11204 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1894
11207 " inspect-get-hostname root\n"
11210 " inspect-get-hostname корінь\n"
11214 #: ../fish/guestfish-actions.pod:1896
11215 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1896
11216 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2805
11217 #: ../src/guestfs-actions.pod:2805
11219 "This function returns the hostname of the operating system as found by "
11220 "inspection of the guest's configuration files."
11224 #: ../fish/guestfish-actions.pod:1899
11225 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1899
11226 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2808
11227 #: ../src/guestfs-actions.pod:2808
11229 "If the hostname could not be determined, then the string C<unknown> is "
11234 #: ../fish/guestfish-actions.pod:1904
11235 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1904
11236 msgid "inspect-get-icon"
11240 #: ../fish/guestfish-actions.pod:1906
11241 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1906
11244 " inspect-get-icon root [favicon:..] [highquality:..]\n"
11249 #: ../fish/guestfish-actions.pod:1908
11250 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1908
11251 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2834
11252 #: ../src/guestfs-actions.pod:2834
11254 "This function returns an icon corresponding to the inspected operating "
11255 "system. The icon is returned as a buffer containing a PNG image (re-encoded "
11256 "to PNG if necessary)."
11260 #: ../fish/guestfish-actions.pod:1912
11261 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1912
11262 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2838
11263 #: ../src/guestfs-actions.pod:2838
11265 "If it was not possible to get an icon this function returns a zero-length "
11266 "(non-NULL) buffer. I<Callers must check for this case>."
11270 #: ../fish/guestfish-actions.pod:1915
11271 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1915
11272 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2841
11273 #: ../src/guestfs-actions.pod:2841
11275 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
11276 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
11277 "this file will be returned. You can disable favicons by passing the "
11278 "optional C<favicon> boolean as false (default is true)."
11282 #: ../fish/guestfish-actions.pod:1921
11283 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1921
11284 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2847
11285 #: ../src/guestfs-actions.pod:2847
11287 "If finding the favicon fails, then we look in other places in the guest for "
11292 #: ../fish/guestfish-actions.pod:1924
11293 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1924
11294 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2850
11295 #: ../src/guestfs-actions.pod:2850
11297 "If the optional C<highquality> boolean is true then only high quality icons "
11298 "are returned, which means only icons of high resolution with an alpha "
11299 "channel. The default (false) is to return any icon we can, even if it is of "
11300 "substandard quality."
11304 #: ../fish/guestfish-actions.pod:1935
11305 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1935
11306 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2861
11307 #: ../src/guestfs-actions.pod:2861
11309 "Unlike most other inspection API calls, the guest's disks must be mounted up "
11310 "before you call this, since it needs to read information from the guest "
11311 "filesystem during the call."
11315 #: ../fish/guestfish-actions.pod:1941
11316 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1941
11317 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2867
11318 #: ../src/guestfs-actions.pod:2867
11320 "B<Security:> The icon data comes from the untrusted guest, and should be "
11321 "treated with caution. PNG files have been known to contain exploits. "
11322 "Ensure that libpng (or other relevant libraries) are fully up to date before "
11323 "trying to process or display the icon."
11327 #: ../fish/guestfish-actions.pod:1949
11328 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1949
11329 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2875
11330 #: ../src/guestfs-actions.pod:2875
11332 "The PNG image returned can be any size. It might not be square. Libguestfs "
11333 "tries to return the largest, highest quality icon available. The "
11334 "application must scale the icon to the required size."
11338 #: ../fish/guestfish-actions.pod:1956
11339 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1956
11340 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2882
11341 #: ../src/guestfs-actions.pod:2882
11343 "Extracting icons from Windows guests requires the external C<wrestool> "
11344 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
11345 "C<pnmtopng>, C<pamcut>) from the C<netpbm> package. These must be "
11346 "installed separately."
11350 #: ../fish/guestfish-actions.pod:1963
11351 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1963
11352 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2889
11353 #: ../src/guestfs-actions.pod:2889
11355 "Operating system icons are usually trademarks. Seek legal advice before "
11356 "using trademarks in applications."
11360 #: ../fish/guestfish-actions.pod:1970
11361 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1970
11362 msgid "inspect-get-major-version"
11363 msgstr "inspect-get-major-version"
11366 #: ../fish/guestfish-actions.pod:1972
11367 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1972
11370 " inspect-get-major-version root\n"
11373 " inspect-get-major-version корінь\n"
11377 #: ../fish/guestfish-actions.pod:1974
11378 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1974
11379 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2930
11380 #: ../src/guestfs-actions.pod:2930
11382 "This returns the major version number of the inspected operating system."
11386 #: ../fish/guestfish-actions.pod:1977
11387 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1977
11388 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2933
11389 #: ../src/guestfs-actions.pod:2933
11391 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
11392 "popular public names used by the operating system. Notably the operating "
11393 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
11394 "1). You can find out the real versions corresponding to releases of Windows "
11395 "by consulting Wikipedia or MSDN."
11399 #: ../fish/guestfish-actions.pod:1984 ../fish/guestfish-actions.pod:1995
11400 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1984
11401 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1995
11402 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2940
11403 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2957
11404 #: ../src/guestfs-actions.pod:2940 ../src/guestfs-actions.pod:2957
11405 msgid "If the version could not be determined, then C<0> is returned."
11409 #: ../fish/guestfish-actions.pod:1988
11410 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1988
11411 msgid "inspect-get-minor-version"
11412 msgstr "inspect-get-minor-version"
11415 #: ../fish/guestfish-actions.pod:1990
11416 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1990
11419 " inspect-get-minor-version root\n"
11422 " inspect-get-minor-version корінь\n"
11426 #: ../fish/guestfish-actions.pod:1992
11427 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1992
11428 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2954
11429 #: ../src/guestfs-actions.pod:2954
11431 "This returns the minor version number of the inspected operating system."
11435 #: ../fish/guestfish-actions.pod:1997
11436 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:1997
11438 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11439 "get-major-version>."
11443 #: ../fish/guestfish-actions.pod:2000
11444 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2000
11445 msgid "inspect-get-mountpoints"
11446 msgstr "inspect-get-mountpoints"
11449 #: ../fish/guestfish-actions.pod:2002
11450 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2002
11453 " inspect-get-mountpoints root\n"
11456 " inspect-get-mountpoints корінь\n"
11460 #: ../fish/guestfish-actions.pod:2004
11461 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2004
11462 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2972
11463 #: ../src/guestfs-actions.pod:2972
11465 "This returns a hash of where we think the filesystems associated with this "
11466 "operating system should be mounted. Callers should note that this is at "
11467 "best an educated guess made by reading configuration files such as C</etc/"
11468 "fstab>. I<In particular note> that this may return filesystems which are "
11469 "non-existent or not mountable and callers should be prepared to handle or "
11470 "ignore failures if they try to mount them."
11474 #: ../fish/guestfish-actions.pod:2013
11475 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2013
11476 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2981
11477 #: ../src/guestfs-actions.pod:2981
11479 "Each element in the returned hashtable has a key which is the path of the "
11480 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
11481 "mounted there (eg. C</dev/sda1>)."
11485 #: ../fish/guestfish-actions.pod:2018
11486 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2018
11487 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2986
11488 #: ../src/guestfs-actions.pod:2986
11490 "Non-mounted devices such as swap devices are I<not> returned in this list."
11494 #: ../fish/guestfish-actions.pod:2021
11495 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2021
11497 "For operating systems like Windows which still use drive letters, this call "
11498 "will only return an entry for the first drive \"mounted on\" C</>. For "
11499 "information about the mapping of drive letters to partitions, see L</inspect-"
11500 "get-drive-mappings>."
11504 #: ../fish/guestfish-actions.pod:2027
11505 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2027
11507 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11508 "get-filesystems>."
11512 #: ../fish/guestfish-actions.pod:2030
11513 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2030
11514 msgid "inspect-get-package-format"
11515 msgstr "inspect-get-package-format"
11518 #: ../fish/guestfish-actions.pod:2032
11519 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2032
11522 " inspect-get-package-format root\n"
11525 " inspect-get-package-format корінь\n"
11529 #: ../fish/guestfish-actions.pod:2034
11530 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2034
11532 "This function and L</inspect-get-package-management> return the package "
11533 "format and package management tool used by the inspected operating system. "
11534 "For example for Fedora these functions would return C<rpm> (package format) "
11535 "and C<yum> (package management)."
11539 #: ../fish/guestfish-actions.pod:2040
11540 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2040
11541 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3018
11542 #: ../src/guestfs-actions.pod:3018
11544 "This returns the string C<unknown> if we could not determine the package "
11545 "format I<or> if the operating system does not have a real packaging system "
11550 #: ../fish/guestfish-actions.pod:2044
11551 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2044
11552 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3022
11553 #: ../src/guestfs-actions.pod:3022
11555 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>. "
11556 "Future versions of libguestfs may return other strings."
11560 #: ../fish/guestfish-actions.pod:2049
11561 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2049
11562 msgid "inspect-get-package-management"
11563 msgstr "inspect-get-package-management"
11566 #: ../fish/guestfish-actions.pod:2051
11567 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2051
11570 " inspect-get-package-management root\n"
11573 " inspect-get-package-management корінь\n"
11577 #: ../fish/guestfish-actions.pod:2053
11578 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2053
11580 "L</inspect-get-package-format> and this function return the package format "
11581 "and package management tool used by the inspected operating system. For "
11582 "example for Fedora these functions would return C<rpm> (package format) and "
11583 "C<yum> (package management)."
11587 #: ../fish/guestfish-actions.pod:2059
11588 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2059
11589 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3044
11590 #: ../src/guestfs-actions.pod:3044
11592 "This returns the string C<unknown> if we could not determine the package "
11593 "management tool I<or> if the operating system does not have a real packaging "
11594 "system (eg. Windows)."
11598 #: ../fish/guestfish-actions.pod:2063
11599 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2063
11600 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3048
11601 #: ../src/guestfs-actions.pod:3048
11603 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
11604 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>. Future versions of "
11605 "libguestfs may return other strings."
11609 #: ../fish/guestfish-actions.pod:2070
11610 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2070
11611 msgid "inspect-get-product-name"
11612 msgstr "inspect-get-product-name"
11615 #: ../fish/guestfish-actions.pod:2072
11616 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2072
11619 " inspect-get-product-name root\n"
11622 " inspect-get-product-name корінь\n"
11626 #: ../fish/guestfish-actions.pod:2074
11627 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2074
11628 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3066
11629 #: ../src/guestfs-actions.pod:3066
11631 "This returns the product name of the inspected operating system. The "
11632 "product name is generally some freeform string which can be displayed to the "
11633 "user, but should not be parsed by programs."
11637 #: ../fish/guestfish-actions.pod:2079
11638 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2079
11639 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3071
11640 #: ../src/guestfs-actions.pod:3071
11642 "If the product name could not be determined, then the string C<unknown> is "
11647 #: ../fish/guestfish-actions.pod:2084
11648 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2084
11649 msgid "inspect-get-product-variant"
11653 #: ../fish/guestfish-actions.pod:2086
11654 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2086
11657 " inspect-get-product-variant root\n"
11662 #: ../fish/guestfish-actions.pod:2088
11663 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2088
11664 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3087
11665 #: ../src/guestfs-actions.pod:3087
11666 msgid "This returns the product variant of the inspected operating system."
11670 #: ../fish/guestfish-actions.pod:2091
11671 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2091
11672 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3090
11673 #: ../src/guestfs-actions.pod:3090
11675 "For Windows guests, this returns the contents of the Registry key C<HKLM"
11676 "\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType> which "
11677 "is usually a string such as C<Client> or C<Server> (other values are "
11678 "possible). This can be used to distinguish consumer and enterprise versions "
11679 "of Windows that have the same version number (for example, Windows 7 and "
11680 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
11681 "the latter is C<Server>)."
11685 #: ../fish/guestfish-actions.pod:2100
11686 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2100
11687 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3099
11688 #: ../src/guestfs-actions.pod:3099
11690 "For enterprise Linux guests, in future we intend this to return the product "
11691 "variant such as C<Desktop>, C<Server> and so on. But this is not "
11692 "implemented at present."
11696 #: ../fish/guestfish-actions.pod:2104
11697 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2104
11698 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3103
11699 #: ../src/guestfs-actions.pod:3103
11701 "If the product variant could not be determined, then the string C<unknown> "
11706 #: ../fish/guestfish-actions.pod:2107
11707 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2107
11709 "Please read L<guestfs(3)/INSPECTION> for more details. See also L</inspect-"
11710 "get-product-name>, L</inspect-get-major-version>."
11714 #: ../fish/guestfish-actions.pod:2111
11715 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2111
11716 msgid "inspect-get-roots"
11717 msgstr "inspect-get-roots"
11720 #: ../fish/guestfish-actions.pod:2113
11721 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2113
11724 " inspect-get-roots\n"
11727 " inspect-get-roots\n"
11731 #: ../fish/guestfish-actions.pod:2115
11732 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2115
11734 "This function is a convenient way to get the list of root devices, as "
11735 "returned from a previous call to L</inspect-os>, but without redoing the "
11736 "whole inspection process."
11740 #: ../fish/guestfish-actions.pod:2119
11741 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2119
11743 "This returns an empty list if either no root devices were found or the "
11744 "caller has not called L</inspect-os>."
11748 #: ../fish/guestfish-actions.pod:2124
11749 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2124
11750 msgid "inspect-get-type"
11751 msgstr "inspect-get-type"
11754 #: ../fish/guestfish-actions.pod:2126
11755 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2126
11758 " inspect-get-type root\n"
11761 " inspect-get-type корінь\n"
11765 #: ../fish/guestfish-actions.pod:2128
11766 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2128
11767 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3141
11768 #: ../src/guestfs-actions.pod:3141
11770 "This returns the type of the inspected operating system. Currently defined "
11775 #: ../fish/guestfish-actions.pod:2133
11776 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2133
11777 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3146
11778 #: ../src/guestfs-actions.pod:3146
11783 #: ../fish/guestfish-actions.pod:2135
11784 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2135
11785 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3148
11786 #: ../src/guestfs-actions.pod:3148
11787 msgid "Any Linux-based operating system."
11791 #: ../fish/guestfish-actions.pod:2139
11792 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2139
11793 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3152
11794 #: ../src/guestfs-actions.pod:3152
11795 msgid "Any Microsoft Windows operating system."
11799 #: ../fish/guestfish-actions.pod:2141
11800 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2141
11801 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3154
11802 #: ../src/guestfs-actions.pod:3154
11803 msgid "\"freebsd\""
11804 msgstr "\"freebsd\""
11807 #: ../fish/guestfish-actions.pod:2143
11808 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2143
11809 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3156
11810 #: ../src/guestfs-actions.pod:3156
11815 #: ../fish/guestfish-actions.pod:2147
11816 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2147
11817 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3160
11818 #: ../src/guestfs-actions.pod:3160
11819 msgid "The operating system type could not be determined."
11823 #: ../fish/guestfish-actions.pod:2156
11824 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2156
11825 msgid "inspect-get-windows-current-control-set"
11829 #: ../fish/guestfish-actions.pod:2158
11830 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2158
11833 " inspect-get-windows-current-control-set root\n"
11838 #: ../fish/guestfish-actions.pod:2160
11839 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2160
11840 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3180
11841 #: ../src/guestfs-actions.pod:3180
11843 "This returns the Windows CurrentControlSet of the inspected guest. The "
11844 "CurrentControlSet is a registry key name such as C<ControlSet001>."
11848 #: ../fish/guestfish-actions.pod:2163
11849 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2163
11850 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3183
11851 #: ../src/guestfs-actions.pod:3183
11853 "This call assumes that the guest is Windows and that the Registry could be "
11854 "examined by inspection. If this is not the case then an error is returned."
11858 #: ../fish/guestfish-actions.pod:2169
11859 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2169
11860 msgid "inspect-get-windows-systemroot"
11861 msgstr "inspect-get-windows-systemroot"
11864 #: ../fish/guestfish-actions.pod:2171
11865 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2171
11868 " inspect-get-windows-systemroot root\n"
11871 " inspect-get-windows-systemroot корінь\n"
11875 #: ../fish/guestfish-actions.pod:2173
11876 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2173
11877 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3200
11878 #: ../src/guestfs-actions.pod:3200
11880 "This returns the Windows systemroot of the inspected guest. The systemroot "
11881 "is a directory path such as C</WINDOWS>."
11885 #: ../fish/guestfish-actions.pod:2176
11886 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2176
11887 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3203
11888 #: ../src/guestfs-actions.pod:3203
11890 "This call assumes that the guest is Windows and that the systemroot could be "
11891 "determined by inspection. If this is not the case then an error is returned."
11895 #: ../fish/guestfish-actions.pod:2182
11896 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2182
11897 msgid "inspect-is-live"
11898 msgstr "inspect-is-live"
11901 #: ../fish/guestfish-actions.pod:2184
11902 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2184
11905 " inspect-is-live root\n"
11908 " inspect-is-live корінь\n"
11912 #: ../fish/guestfish-actions.pod:2186
11913 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2186
11915 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11916 "then this returns true if a live image was detected on the disk."
11920 #: ../fish/guestfish-actions.pod:2192
11921 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2192
11922 msgid "inspect-is-multipart"
11923 msgstr "inspect-is-multipart"
11926 #: ../fish/guestfish-actions.pod:2194
11927 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2194
11930 " inspect-is-multipart root\n"
11933 " inspect-is-multipart корінь\n"
11937 #: ../fish/guestfish-actions.pod:2196
11938 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2196
11940 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11941 "then this returns true if the disk is part of a set."
11945 #: ../fish/guestfish-actions.pod:2202
11946 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2202
11947 msgid "inspect-is-netinst"
11948 msgstr "inspect-is-netinst"
11951 #: ../fish/guestfish-actions.pod:2204
11952 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2204
11955 " inspect-is-netinst root\n"
11958 " inspect-is-netinst корінь\n"
11962 #: ../fish/guestfish-actions.pod:2206
11963 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2206
11965 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11966 "then this returns true if the disk is a network installer, ie. not a self-"
11967 "contained install CD but one which is likely to require network access to "
11968 "complete the install."
11972 #: ../fish/guestfish-actions.pod:2214
11973 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2214
11974 msgid "inspect-list-applications"
11975 msgstr "inspect-list-applications"
11978 #: ../fish/guestfish-actions.pod:2216
11979 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2216
11982 " inspect-list-applications root\n"
11985 " inspect-list-applications кореневий_каталог\n"
11989 #: ../fish/guestfish-actions.pod:2218
11990 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2218
11991 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3270
11992 #: ../src/guestfs-actions.pod:3270
11993 msgid "Return the list of applications installed in the operating system."
11997 #: ../fish/guestfish-actions.pod:2220
11998 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2220
12000 "I<Note:> This call works differently from other parts of the inspection "
12001 "API. You have to call L</inspect-os>, then L</inspect-get-mountpoints>, "
12002 "then mount up the disks, before calling this. Listing applications is a "
12003 "significantly more difficult operation which requires access to the full "
12004 "filesystem. Also note that unlike the other L</inspect-get-*> calls which "
12005 "are just returning data cached in the libguestfs handle, this call actually "
12006 "reads parts of the mounted filesystems during the call."
12010 #: ../fish/guestfish-actions.pod:2230
12011 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2230
12012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3282
12013 #: ../src/guestfs-actions.pod:3282
12015 "This returns an empty list if the inspection code was not able to determine "
12016 "the list of applications."
12020 #: ../fish/guestfish-actions.pod:2233
12021 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2233
12022 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3285
12023 #: ../src/guestfs-actions.pod:3285
12024 msgid "The application structure contains the following fields:"
12028 #: ../fish/guestfish-actions.pod:2237
12029 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2237
12030 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3289
12031 #: ../src/guestfs-actions.pod:3289
12032 msgid "C<app_name>"
12033 msgstr "C<app_name>"
12036 #: ../fish/guestfish-actions.pod:2239
12037 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2239
12038 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3291
12039 #: ../src/guestfs-actions.pod:3291
12041 "The name of the application. For Red Hat-derived and Debian-derived Linux "
12042 "guests, this is the package name."
12046 #: ../fish/guestfish-actions.pod:2242
12047 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2242
12048 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3294
12049 #: ../src/guestfs-actions.pod:3294
12050 msgid "C<app_display_name>"
12051 msgstr "C<app_display_name>"
12054 #: ../fish/guestfish-actions.pod:2244
12055 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2244
12056 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3296
12057 #: ../src/guestfs-actions.pod:3296
12059 "The display name of the application, sometimes localized to the install "
12060 "language of the guest operating system."
12064 #: ../fish/guestfish-actions.pod:2247
12065 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2247
12066 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3299
12067 #: ../src/guestfs-actions.pod:3299
12069 "If unavailable this is returned as an empty string C<\"\">. Callers needing "
12070 "to display something can use C<app_name> instead."
12074 #: ../fish/guestfish-actions.pod:2250
12075 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2250
12076 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3302
12077 #: ../src/guestfs-actions.pod:3302
12078 msgid "C<app_epoch>"
12079 msgstr "C<app_epoch>"
12082 #: ../fish/guestfish-actions.pod:2252
12083 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2252
12084 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3304
12085 #: ../src/guestfs-actions.pod:3304
12087 "For package managers which use epochs, this contains the epoch of the "
12088 "package (an integer). If unavailable, this is returned as C<0>."
12092 #: ../fish/guestfish-actions.pod:2255
12093 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2255
12094 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3307
12095 #: ../src/guestfs-actions.pod:3307
12096 msgid "C<app_version>"
12097 msgstr "C<app_version>"
12100 #: ../fish/guestfish-actions.pod:2257
12101 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2257
12102 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3309
12103 #: ../src/guestfs-actions.pod:3309
12105 "The version string of the application or package. If unavailable this is "
12106 "returned as an empty string C<\"\">."
12110 #: ../fish/guestfish-actions.pod:2260
12111 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2260
12112 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3312
12113 #: ../src/guestfs-actions.pod:3312
12114 msgid "C<app_release>"
12115 msgstr "C<app_release>"
12118 #: ../fish/guestfish-actions.pod:2262
12119 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2262
12120 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3314
12121 #: ../src/guestfs-actions.pod:3314
12123 "The release string of the application or package, for package managers that "
12124 "use this. If unavailable this is returned as an empty string C<\"\">."
12128 #: ../fish/guestfish-actions.pod:2266
12129 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2266
12130 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3318
12131 #: ../src/guestfs-actions.pod:3318
12132 msgid "C<app_install_path>"
12133 msgstr "C<app_install_path>"
12136 #: ../fish/guestfish-actions.pod:2268
12137 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2268
12138 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3320
12139 #: ../src/guestfs-actions.pod:3320
12141 "The installation path of the application (on operating systems such as "
12142 "Windows which use installation paths). This path is in the format used by "
12143 "the guest operating system, it is not a libguestfs path."
12147 #: ../fish/guestfish-actions.pod:2273
12148 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2273
12149 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3325
12150 #: ../src/guestfs-actions.pod:3325
12151 msgid "If unavailable this is returned as an empty string C<\"\">."
12155 #: ../fish/guestfish-actions.pod:2275
12156 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2275
12157 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3327
12158 #: ../src/guestfs-actions.pod:3327
12159 msgid "C<app_trans_path>"
12160 msgstr "C<app_trans_path>"
12163 #: ../fish/guestfish-actions.pod:2277
12164 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2277
12165 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3329
12166 #: ../src/guestfs-actions.pod:3329
12168 "The install path translated into a libguestfs path. If unavailable this is "
12169 "returned as an empty string C<\"\">."
12173 #: ../fish/guestfish-actions.pod:2280
12174 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2280
12175 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3332
12176 #: ../src/guestfs-actions.pod:3332
12177 msgid "C<app_publisher>"
12178 msgstr "C<app_publisher>"
12181 #: ../fish/guestfish-actions.pod:2282
12182 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2282
12183 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3334
12184 #: ../src/guestfs-actions.pod:3334
12186 "The name of the publisher of the application, for package managers that use "
12187 "this. If unavailable this is returned as an empty string C<\"\">."
12191 #: ../fish/guestfish-actions.pod:2286
12192 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2286
12193 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3338
12194 #: ../src/guestfs-actions.pod:3338
12196 msgstr "C<app_url>"
12199 #: ../fish/guestfish-actions.pod:2288
12200 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2288
12201 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3340
12202 #: ../src/guestfs-actions.pod:3340
12204 "The URL (eg. upstream URL) of the application. If unavailable this is "
12205 "returned as an empty string C<\"\">."
12209 #: ../fish/guestfish-actions.pod:2291
12210 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2291
12211 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3343
12212 #: ../src/guestfs-actions.pod:3343
12213 msgid "C<app_source_package>"
12214 msgstr "C<app_source_package>"
12217 #: ../fish/guestfish-actions.pod:2293
12218 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2293
12219 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3345
12220 #: ../src/guestfs-actions.pod:3345
12222 "For packaging systems which support this, the name of the source package. "
12223 "If unavailable this is returned as an empty string C<\"\">."
12227 #: ../fish/guestfish-actions.pod:2296
12228 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2296
12229 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3348
12230 #: ../src/guestfs-actions.pod:3348
12231 msgid "C<app_summary>"
12232 msgstr "C<app_summary>"
12235 #: ../fish/guestfish-actions.pod:2298
12236 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2298
12237 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3350
12238 #: ../src/guestfs-actions.pod:3350
12240 "A short (usually one line) description of the application or package. If "
12241 "unavailable this is returned as an empty string C<\"\">."
12245 #: ../fish/guestfish-actions.pod:2301
12246 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2301
12247 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3353
12248 #: ../src/guestfs-actions.pod:3353
12249 msgid "C<app_description>"
12250 msgstr "C<app_description>"
12253 #: ../fish/guestfish-actions.pod:2303
12254 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2303
12255 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3355
12256 #: ../src/guestfs-actions.pod:3355
12258 "A longer description of the application or package. If unavailable this is "
12259 "returned as an empty string C<\"\">."
12263 #: ../fish/guestfish-actions.pod:2310
12264 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2310
12266 msgstr "inspect-os"
12269 #: ../fish/guestfish-actions.pod:2312
12270 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2312
12280 #: ../fish/guestfish-actions.pod:2314
12281 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2314
12282 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3373
12283 #: ../src/guestfs-actions.pod:3373
12285 "This function uses other libguestfs functions and certain heuristics to "
12286 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
12287 "for operating systems."
12291 #: ../fish/guestfish-actions.pod:2318
12292 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2318
12293 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3377
12294 #: ../src/guestfs-actions.pod:3377
12295 msgid "The list returned is empty if no operating systems were found."
12299 #: ../fish/guestfish-actions.pod:2320
12300 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2320
12301 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3379
12302 #: ../src/guestfs-actions.pod:3379
12304 "If one operating system was found, then this returns a list with a single "
12305 "element, which is the name of the root filesystem of this operating system. "
12306 "It is also possible for this function to return a list containing more than "
12307 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
12308 "element being the root filesystem of one of the operating systems."
12312 #: ../fish/guestfish-actions.pod:2327
12313 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2327
12315 "You can pass the root string(s) returned to other L</inspect-get-*> "
12316 "functions in order to query further information about each operating system, "
12317 "such as the name and version."
12321 #: ../fish/guestfish-actions.pod:2332
12322 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2332
12324 "This function uses other libguestfs features such as L</mount-ro> and L</"
12325 "umount-all> in order to mount and unmount filesystems and look at the "
12326 "contents. This should be called with no disks currently mounted. The "
12327 "function may also use Augeas, so any existing Augeas handle will be closed."
12331 #: ../fish/guestfish-actions.pod:2338
12332 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2338
12333 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3397
12334 #: ../src/guestfs-actions.pod:3397
12336 "This function cannot decrypt encrypted disks. The caller must do that first "
12337 "(supplying the necessary keys) if the disk is encrypted."
12341 #: ../fish/guestfish-actions.pod:2344 ../fish/guestfish-actions.pod:2542
12342 #: ../fish/guestfish-actions.pod:2601
12343 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2344
12344 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2542
12345 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2601
12346 msgid "See also L</list-filesystems>."
12347 msgstr "Див. також L</list-filesystems>."
12350 #: ../fish/guestfish-actions.pod:2346
12351 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2346
12352 msgid "is-blockdev"
12353 msgstr "is-blockdev"
12356 #: ../fish/guestfish-actions.pod:2348
12357 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2348
12360 " is-blockdev path\n"
12363 " is-blockdev шлях\n"
12367 #: ../fish/guestfish-actions.pod:2350
12368 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2350
12369 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3417
12370 #: ../src/guestfs-actions.pod:3417
12372 "This returns C<true> if and only if there is a block device with the given "
12377 #: ../fish/guestfish-actions.pod:2353 ../fish/guestfish-actions.pod:2371
12378 #: ../fish/guestfish-actions.pod:2390 ../fish/guestfish-actions.pod:2399
12379 #: ../fish/guestfish-actions.pod:2409 ../fish/guestfish-actions.pod:2443
12380 #: ../fish/guestfish-actions.pod:2452
12381 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2353
12382 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2371
12383 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2390
12384 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2399
12385 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2409
12386 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2443
12387 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2452
12388 msgid "See also L</stat>."
12389 msgstr "Див. також L</stat>."
12392 #: ../fish/guestfish-actions.pod:2355
12393 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2355
12398 #: ../fish/guestfish-actions.pod:2357
12399 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2357
12409 #: ../fish/guestfish-actions.pod:2359
12410 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2359
12411 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3431
12412 #: ../src/guestfs-actions.pod:3431
12414 "This returns true iff this handle is busy processing a command (in the "
12419 #: ../fish/guestfish-actions.pod:2364
12420 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2364
12422 msgstr "is-chardev"
12425 #: ../fish/guestfish-actions.pod:2366
12426 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2366
12429 " is-chardev path\n"
12432 " is-chardev шлях\n"
12436 #: ../fish/guestfish-actions.pod:2368
12437 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2368
12438 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3446
12439 #: ../src/guestfs-actions.pod:3446
12441 "This returns C<true> if and only if there is a character device with the "
12442 "given C<path> name."
12446 #: ../fish/guestfish-actions.pod:2373
12447 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2373
12452 #: ../fish/guestfish-actions.pod:2375
12453 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2375
12463 #: ../fish/guestfish-actions.pod:2377
12464 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2377
12465 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3460
12466 #: ../src/guestfs-actions.pod:3460
12468 "This returns true iff this handle is being configured (in the C<CONFIG> "
12473 #: ../fish/guestfish-actions.pod:2382
12474 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2382
12479 #: ../fish/guestfish-actions.pod:2384
12480 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2384
12490 #: ../fish/guestfish-actions.pod:2386
12491 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2386
12492 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3475
12493 #: ../src/guestfs-actions.pod:3475
12495 "This returns C<true> if and only if there is a directory with the given "
12496 "C<path> name. Note that it returns false for other objects like files."
12500 #: ../fish/guestfish-actions.pod:2392
12501 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2392
12506 #: ../fish/guestfish-actions.pod:2394
12507 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2394
12517 #: ../fish/guestfish-actions.pod:2396
12518 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2396
12519 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3491
12520 #: ../src/guestfs-actions.pod:3491
12522 "This returns C<true> if and only if there is a FIFO (named pipe) with the "
12523 "given C<path> name."
12527 #: ../fish/guestfish-actions.pod:2401
12528 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2401
12533 #: ../fish/guestfish-actions.pod:2403
12534 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2403
12544 #: ../fish/guestfish-actions.pod:2405
12545 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2405
12546 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3506
12547 #: ../src/guestfs-actions.pod:3506
12549 "This returns C<true> if and only if there is a regular file with the given "
12550 "C<path> name. Note that it returns false for other objects like directories."
12554 #: ../fish/guestfish-actions.pod:2411
12555 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2411
12556 msgid "is-launching"
12557 msgstr "is-launching"
12560 #: ../fish/guestfish-actions.pod:2413
12561 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2413
12571 #: ../fish/guestfish-actions.pod:2415
12572 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2415
12573 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3521
12574 #: ../src/guestfs-actions.pod:3521
12576 "This returns true iff this handle is launching the subprocess (in the "
12577 "C<LAUNCHING> state)."
12581 #: ../fish/guestfish-actions.pod:2420
12582 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2420
12587 #: ../fish/guestfish-actions.pod:2422
12588 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2422
12594 " is-lv пристрій\n"
12598 #: ../fish/guestfish-actions.pod:2424
12599 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2424
12600 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3536
12601 #: ../src/guestfs-actions.pod:3536
12603 "This command tests whether C<device> is a logical volume, and returns true "
12604 "iff this is the case."
12608 #: ../fish/guestfish-actions.pod:2427
12609 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2427
12614 #: ../fish/guestfish-actions.pod:2429
12615 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2429
12625 #: ../fish/guestfish-actions.pod:2431
12626 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2431
12627 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3548
12628 #: ../src/guestfs-actions.pod:3548
12630 "This returns true iff this handle is ready to accept commands (in the "
12635 #: ../fish/guestfish-actions.pod:2436
12636 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2436
12641 #: ../fish/guestfish-actions.pod:2438
12642 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2438
12645 " is-socket path\n"
12648 " is-socket шлях\n"
12652 #: ../fish/guestfish-actions.pod:2440
12653 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2440
12654 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3563
12655 #: ../src/guestfs-actions.pod:3563
12657 "This returns C<true> if and only if there is a Unix domain socket with the "
12658 "given C<path> name."
12662 #: ../fish/guestfish-actions.pod:2445
12663 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2445
12665 msgstr "is-symlink"
12668 #: ../fish/guestfish-actions.pod:2447
12669 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2447
12672 " is-symlink path\n"
12675 " is-symlink шлях\n"
12679 #: ../fish/guestfish-actions.pod:2449
12680 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2449
12681 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3578
12682 #: ../src/guestfs-actions.pod:3578
12684 "This returns C<true> if and only if there is a symbolic link with the given "
12689 #: ../fish/guestfish-actions.pod:2454
12690 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2454
12695 #: ../fish/guestfish-actions.pod:2456
12696 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2456
12704 #: ../fish/guestfish-actions.pod:2458
12705 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2458
12706 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3593
12707 #: ../src/guestfs-actions.pod:3593
12709 "This returns true iff the file exists and the file is empty or it contains "
12714 #: ../fish/guestfish-actions.pod:2461
12715 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2461
12716 msgid "is-zero-device"
12720 #: ../fish/guestfish-actions.pod:2463
12721 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2463
12724 " is-zero-device device\n"
12729 #: ../fish/guestfish-actions.pod:2465
12730 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2465
12731 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3606
12732 #: ../src/guestfs-actions.pod:3606
12733 msgid "This returns true iff the device exists and contains all zero bytes."
12737 #: ../fish/guestfish-actions.pod:2467
12738 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2467
12739 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3608
12740 #: ../src/guestfs-actions.pod:3608
12741 msgid "Note that for large devices this can take a long time to run."
12745 #: ../fish/guestfish-actions.pod:2469
12746 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2469
12747 msgid "kill-subprocess"
12748 msgstr "kill-subprocess"
12751 #: ../fish/guestfish-actions.pod:2471
12752 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2471
12755 " kill-subprocess\n"
12758 " kill-subprocess\n"
12762 #: ../fish/guestfish-actions.pod:2473
12763 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2473
12764 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3619
12765 #: ../src/guestfs-actions.pod:3619
12766 msgid "This kills the qemu subprocess. You should never need to call this."
12770 #: ../fish/guestfish-actions.pod:2475
12771 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2475
12776 #: ../fish/guestfish-actions.pod:2477
12777 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2477
12782 #: ../fish/guestfish-actions.pod:2479
12783 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2479
12793 #: ../fish/guestfish-actions.pod:2481
12794 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2481
12795 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3630
12796 #: ../src/guestfs-actions.pod:3630
12798 "Internally libguestfs is implemented by running a virtual machine using "
12803 #: ../fish/guestfish-actions.pod:2484
12804 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2484
12805 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3633
12806 #: ../src/guestfs-actions.pod:3633
12808 "You should call this after configuring the handle (eg. adding drives) but "
12809 "before performing any actions."
12813 #: ../fish/guestfish-actions.pod:2487
12814 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2487
12819 #: ../fish/guestfish-actions.pod:2489
12820 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2489
12823 " lchown owner group path\n"
12826 " lchown власник група шлях\n"
12830 #: ../fish/guestfish-actions.pod:2491
12831 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2491
12833 "Change the file owner to C<owner> and group to C<group>. This is like L</"
12834 "chown> but if C<path> is a symlink then the link itself is changed, not the "
12839 #: ../fish/guestfish-actions.pod:2499
12840 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2499
12845 #: ../fish/guestfish-actions.pod:2501
12846 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2501
12849 " lgetxattr path name\n"
12852 " lgetxattr шлях назва\n"
12856 #: ../fish/guestfish-actions.pod:2503
12857 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2503
12858 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3673
12859 #: ../src/guestfs-actions.pod:3673
12861 "Get a single extended attribute from file C<path> named C<name>. If C<path> "
12862 "is a symlink, then this call returns an extended attribute from the symlink."
12866 #: ../fish/guestfish-actions.pod:2517
12867 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2517
12868 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12869 msgstr "Див. також L</lgetxattrs>, L</getxattr>, L<attr(5)>."
12872 #: ../fish/guestfish-actions.pod:2519
12873 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2519
12875 msgstr "lgetxattrs"
12878 #: ../fish/guestfish-actions.pod:2521
12879 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2521
12882 " lgetxattrs path\n"
12885 " lgetxattrs шлях\n"
12889 #: ../fish/guestfish-actions.pod:2523
12890 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2523
12892 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
12893 "it returns the extended attributes of the link itself."
12897 #: ../fish/guestfish-actions.pod:2527
12898 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2527
12903 #: ../fish/guestfish-actions.pod:2529
12904 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2529
12912 #: ../fish/guestfish-actions.pod:2531
12913 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2531
12914 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3716
12915 #: ../src/guestfs-actions.pod:3716
12917 "List all 9p filesystems attached to the guest. A list of mount tags is "
12922 #: ../fish/guestfish-actions.pod:2534
12923 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2534
12924 msgid "list-devices"
12925 msgstr "list-devices"
12928 #: ../fish/guestfish-actions.pod:2536
12929 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2536
12939 #: ../fish/guestfish-actions.pod:2538
12940 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2538
12941 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3730
12942 #: ../src/guestfs-actions.pod:3730
12943 msgid "List all the block devices."
12947 #: ../fish/guestfish-actions.pod:2540
12948 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2540
12949 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3732
12950 #: ../src/guestfs-actions.pod:3732
12951 msgid "The full block device names are returned, eg. C</dev/sda>."
12955 #: ../fish/guestfish-actions.pod:2544
12956 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2544
12957 msgid "list-dm-devices"
12961 #: ../fish/guestfish-actions.pod:2546
12962 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2546
12965 " list-dm-devices\n"
12970 #: ../fish/guestfish-actions.pod:2548
12971 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2548
12972 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3747
12973 #: ../src/guestfs-actions.pod:3747
12974 msgid "List all device mapper devices."
12978 #: ../fish/guestfish-actions.pod:2550
12979 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2550
12981 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
12982 "previous call to L</luks-open>."
12986 #: ../fish/guestfish-actions.pod:2553
12987 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2553
12989 "Device mapper devices which correspond to logical volumes are I<not> "
12990 "returned in this list. Call L</lvs> if you want to list logical volumes."
12994 #: ../fish/guestfish-actions.pod:2557
12995 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2557
12996 msgid "list-filesystems"
12997 msgstr "list-filesystems"
13000 #: ../fish/guestfish-actions.pod:2559
13001 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2559
13004 " list-filesystems\n"
13007 " list-filesystems\n"
13011 #: ../fish/guestfish-actions.pod:2561
13012 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2561
13013 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3767
13014 #: ../src/guestfs-actions.pod:3767
13016 "This inspection command looks for filesystems on partitions, block devices "
13017 "and logical volumes, returning a list of devices containing filesystems and "
13022 #: ../fish/guestfish-actions.pod:2565
13023 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2565
13024 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3771
13025 #: ../src/guestfs-actions.pod:3771
13027 "The return value is a hash, where the keys are the devices containing "
13028 "filesystems, and the values are the filesystem types. For example:"
13032 #: ../fish/guestfish-actions.pod:2569
13033 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2569
13034 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3775
13035 #: ../src/guestfs-actions.pod:3775
13038 " \"/dev/sda1\" => \"ntfs\"\n"
13039 " \"/dev/sda2\" => \"ext2\"\n"
13040 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
13041 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
13046 #: ../fish/guestfish-actions.pod:2574
13047 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2574
13048 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3780
13049 #: ../src/guestfs-actions.pod:3780
13051 "The value can have the special value \"unknown\", meaning the content of the "
13052 "device is undetermined or empty. \"swap\" means a Linux swap partition."
13056 #: ../fish/guestfish-actions.pod:2578
13057 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2578
13059 "This command runs other libguestfs commands, which might include L</mount> "
13060 "and L</umount>, and therefore you should use this soon after launch and only "
13061 "when nothing is mounted."
13065 #: ../fish/guestfish-actions.pod:2582
13066 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2582
13068 "Not all of the filesystems returned will be mountable. In particular, swap "
13069 "partitions are returned in the list. Also this command does not check that "
13070 "each filesystem found is valid and mountable, and some filesystems might be "
13071 "mountable but require special options. Filesystems may not all belong to a "
13072 "single logical operating system (use L</inspect-os> to look for OSes)."
13076 #: ../fish/guestfish-actions.pod:2590
13077 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2590
13078 msgid "list-partitions"
13079 msgstr "list-partitions"
13082 #: ../fish/guestfish-actions.pod:2592
13083 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2592
13086 " list-partitions\n"
13089 " list-partitions\n"
13093 #: ../fish/guestfish-actions.pod:2594
13094 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2594
13095 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3809
13096 #: ../src/guestfs-actions.pod:3809
13097 msgid "List all the partitions detected on all block devices."
13101 #: ../fish/guestfish-actions.pod:2596
13102 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2596
13103 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3811
13104 #: ../src/guestfs-actions.pod:3811
13105 msgid "The full partition device names are returned, eg. C</dev/sda1>"
13109 #: ../fish/guestfish-actions.pod:2598
13110 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2598
13112 "This does not return logical volumes. For that you will need to call L</"
13117 #: ../fish/guestfish-actions.pod:2603
13118 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2603
13123 #: ../fish/guestfish-actions.pod:2605
13124 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2605
13134 #: ../fish/guestfish-actions.pod:2607
13135 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2607
13136 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3830
13137 #: ../src/guestfs-actions.pod:3830
13139 "List the files in C<directory> (relative to the root directory, there is no "
13140 "cwd) in the format of 'ls -la'."
13144 #: ../fish/guestfish-actions.pod:2610
13145 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2610
13146 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3833
13147 #: ../src/guestfs-actions.pod:3833
13149 "This command is mostly useful for interactive sessions. It is I<not> "
13150 "intended that you try to parse the output string."
13154 #: ../fish/guestfish-actions.pod:2613
13155 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2613
13160 #: ../fish/guestfish-actions.pod:2615
13161 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2615
13164 " ln target linkname\n"
13167 " ln призначення назва_посилання\n"
13171 #: ../fish/guestfish-actions.pod:2617
13172 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2617
13173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3848
13174 #: ../src/guestfs-actions.pod:3848
13175 msgid "This command creates a hard link using the C<ln> command."
13179 #: ../fish/guestfish-actions.pod:2619
13180 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2619
13185 #: ../fish/guestfish-actions.pod:2621
13186 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2621
13189 " ln-f target linkname\n"
13192 " ln-f призначення назва_посилання\n"
13196 #: ../fish/guestfish-actions.pod:2623
13197 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2623
13198 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3861
13199 #: ../src/guestfs-actions.pod:3861
13201 "This command creates a hard link using the C<ln -f> command. The I<-f> "
13202 "option removes the link (C<linkname>) if it exists already."
13206 #: ../fish/guestfish-actions.pod:2626
13207 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2626
13212 #: ../fish/guestfish-actions.pod:2628
13213 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2628
13216 " ln-s target linkname\n"
13219 " ln-s призначення назва_посилання\n"
13223 #: ../fish/guestfish-actions.pod:2630
13224 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2630
13225 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3875
13226 #: ../src/guestfs-actions.pod:3875
13227 msgid "This command creates a symbolic link using the C<ln -s> command."
13231 #: ../fish/guestfish-actions.pod:2632
13232 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2632
13237 #: ../fish/guestfish-actions.pod:2634
13238 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2634
13241 " ln-sf target linkname\n"
13244 " ln-sf призначення назва_посилання\n"
13248 #: ../fish/guestfish-actions.pod:2636
13249 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2636
13250 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3888
13251 #: ../src/guestfs-actions.pod:3888
13253 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
13254 "option removes the link (C<linkname>) if it exists already."
13258 #: ../fish/guestfish-actions.pod:2639
13259 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2639
13260 msgid "lremovexattr"
13261 msgstr "lremovexattr"
13264 #: ../fish/guestfish-actions.pod:2641
13265 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2641
13268 " lremovexattr xattr path\n"
13273 #: ../fish/guestfish-actions.pod:2643
13274 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2643
13276 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
13277 "it removes an extended attribute of the link itself."
13281 #: ../fish/guestfish-actions.pod:2647
13282 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2647
13287 #: ../fish/guestfish-actions.pod:2649
13288 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2649
13298 #: ../fish/guestfish-actions.pod:2651
13299 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2651
13300 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3916
13301 #: ../src/guestfs-actions.pod:3916
13303 "List the files in C<directory> (relative to the root directory, there is no "
13304 "cwd). The '.' and '..' entries are not returned, but hidden files are shown."
13308 #: ../fish/guestfish-actions.pod:2655
13309 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2655
13311 "This command is mostly useful for interactive sessions. Programs should "
13312 "probably use L</readdir> instead."
13316 #: ../fish/guestfish-actions.pod:2658
13317 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2658
13322 #: ../fish/guestfish-actions.pod:2660
13323 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2660
13326 " lsetxattr xattr val vallen path\n"
13331 #: ../fish/guestfish-actions.pod:2662
13332 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2662
13334 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
13335 "sets an extended attribute of the link itself."
13339 #: ../fish/guestfish-actions.pod:2666
13340 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2666
13345 #: ../fish/guestfish-actions.pod:2668
13346 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2668
13356 #: ../fish/guestfish-actions.pod:2670 ../fish/guestfish-actions.pod:4478
13357 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2670
13358 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4478
13359 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3952
13360 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6731
13361 #: ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:6731
13362 msgid "Returns file information for the given C<path>."
13366 #: ../fish/guestfish-actions.pod:2672
13367 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2672
13369 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
13370 "the link is stat-ed, not the file it refers to."
13374 #: ../fish/guestfish-actions.pod:2676
13375 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2676
13376 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3958
13377 #: ../src/guestfs-actions.pod:3958
13378 msgid "This is the same as the C<lstat(2)> system call."
13382 #: ../fish/guestfish-actions.pod:2678
13383 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2678
13388 #: ../fish/guestfish-actions.pod:2680
13389 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2680
13392 " lstatlist path 'names ...'\n"
13397 #: ../fish/guestfish-actions.pod:2682
13398 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2682
13400 "This call allows you to perform the L</lstat> operation on multiple files, "
13401 "where all files are in the directory C<path>. C<names> is the list of files "
13402 "from this directory."
13406 #: ../fish/guestfish-actions.pod:2686
13407 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2686
13408 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3977
13409 #: ../src/guestfs-actions.pod:3977
13411 "On return you get a list of stat structs, with a one-to-one correspondence "
13412 "to the C<names> list. If any name did not exist or could not be lstat'd, "
13413 "then the C<ino> field of that structure is set to C<-1>."
13417 #: ../fish/guestfish-actions.pod:2691
13418 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2691
13420 "This call is intended for programs that want to efficiently list a directory "
13421 "contents without making many round-trips. See also L</lxattrlist> for a "
13422 "similarly efficient call for getting extended attributes. Very long "
13423 "directory listings might cause the protocol message size to be exceeded, "
13424 "causing this call to fail. The caller must split up such requests into "
13425 "smaller groups of names."
13429 #: ../fish/guestfish-actions.pod:2699
13430 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2699
13431 msgid "luks-add-key"
13432 msgstr "luks-add-key"
13435 #: ../fish/guestfish-actions.pod:2701
13436 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2701
13439 " luks-add-key device keyslot\n"
13444 #: ../fish/guestfish-actions.pod:2703
13445 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2703
13446 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4005
13447 #: ../src/guestfs-actions.pod:4005
13449 "This command adds a new key on LUKS device C<device>. C<key> is any "
13450 "existing key, and is used to access the device. C<newkey> is the new key to "
13451 "add. C<keyslot> is the key slot that will be replaced."
13455 #: ../fish/guestfish-actions.pod:2708
13456 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2708
13458 "Note that if C<keyslot> already contains a key, then this command will "
13459 "fail. You have to use L</luks-kill-slot> first to remove that key."
13463 #: ../fish/guestfish-actions.pod:2712 ../fish/guestfish-actions.pod:2734
13464 #: ../fish/guestfish-actions.pod:2747 ../fish/guestfish-actions.pod:2761
13465 #: ../fish/guestfish-actions.pod:2787 ../fish/guestfish-actions.pod:2797
13466 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2712
13467 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2734
13468 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2747
13469 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2761
13470 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2787
13471 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2797
13473 "This command has one or more key or passphrase parameters. Guestfish will "
13474 "prompt for these separately."
13478 #: ../fish/guestfish-actions.pod:2715
13479 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2715
13481 msgstr "luks-close"
13484 #: ../fish/guestfish-actions.pod:2717
13485 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2717
13488 " luks-close device\n"
13491 " luks-close пристрій\n"
13495 #: ../fish/guestfish-actions.pod:2719
13496 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2719
13498 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
13499 "luks-open-ro>. The C<device> parameter must be the name of the LUKS mapping "
13500 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
13505 #: ../fish/guestfish-actions.pod:2725
13506 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2725
13507 msgid "luks-format"
13508 msgstr "luks-format"
13511 #: ../fish/guestfish-actions.pod:2727
13512 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2727
13515 " luks-format device keyslot\n"
13520 #: ../fish/guestfish-actions.pod:2729
13521 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2729
13522 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4046
13523 #: ../src/guestfs-actions.pod:4046
13525 "This command erases existing data on C<device> and formats the device as a "
13526 "LUKS encrypted device. C<key> is the initial key, which is added to key "
13527 "slot C<slot>. (LUKS supports 8 key slots, numbered 0-7)."
13531 #: ../fish/guestfish-actions.pod:2737 ../fish/guestfish-actions.pod:2750
13532 #: ../fish/guestfish-actions.pod:2837 ../fish/guestfish-actions.pod:3498
13533 #: ../fish/guestfish-actions.pod:4024 ../fish/guestfish-actions.pod:4349
13534 #: ../fish/guestfish-actions.pod:4372 ../fish/guestfish-actions.pod:4394
13535 #: ../fish/guestfish-actions.pod:5132
13536 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2737
13537 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2750
13538 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2837
13539 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3498
13540 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4024
13541 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4349
13542 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4372
13543 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4394
13544 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5132
13545 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4053
13546 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4076
13547 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4219
13548 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5322
13549 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6110
13550 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6538
13551 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6568
13552 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6601
13553 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7799
13554 #: ../src/guestfs-actions.pod:4053 ../src/guestfs-actions.pod:4076
13555 #: ../src/guestfs-actions.pod:4219 ../src/guestfs-actions.pod:5322
13556 #: ../src/guestfs-actions.pod:6110 ../src/guestfs-actions.pod:6538
13557 #: ../src/guestfs-actions.pod:6568 ../src/guestfs-actions.pod:6601
13558 #: ../src/guestfs-actions.pod:7799
13560 "B<This command is dangerous. Without careful use you can easily destroy all "
13565 #: ../fish/guestfish-actions.pod:2740
13566 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2740
13567 msgid "luks-format-cipher"
13568 msgstr "luks-format-cipher"
13571 #: ../fish/guestfish-actions.pod:2742
13572 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2742
13575 " luks-format-cipher device keyslot cipher\n"
13580 #: ../fish/guestfish-actions.pod:2744
13581 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2744
13583 "This command is the same as L</luks-format> but it also allows you to set "
13584 "the C<cipher> used."
13588 #: ../fish/guestfish-actions.pod:2753
13589 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2753
13590 msgid "luks-kill-slot"
13591 msgstr "luks-kill-slot"
13594 #: ../fish/guestfish-actions.pod:2755
13595 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2755
13598 " luks-kill-slot device keyslot\n"
13603 #: ../fish/guestfish-actions.pod:2757
13604 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2757
13605 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4093
13606 #: ../src/guestfs-actions.pod:4093
13608 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
13609 "device C<device>. C<key> must be one of the I<other> keys."
13613 #: ../fish/guestfish-actions.pod:2764
13614 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2764
13619 #: ../fish/guestfish-actions.pod:2766
13620 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2766
13623 " luks-open device mapname\n"
13628 #: ../fish/guestfish-actions.pod:2768
13629 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2768
13630 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4113
13631 #: ../src/guestfs-actions.pod:4113
13633 "This command opens a block device which has been encrypted according to the "
13634 "Linux Unified Key Setup (LUKS) standard."
13638 #: ../fish/guestfish-actions.pod:2771
13639 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2771
13640 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4116
13641 #: ../src/guestfs-actions.pod:4116
13642 msgid "C<device> is the encrypted block device or partition."
13646 #: ../fish/guestfish-actions.pod:2773
13647 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2773
13648 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4118
13649 #: ../src/guestfs-actions.pod:4118
13651 "The caller must supply one of the keys associated with the LUKS block "
13652 "device, in the C<key> parameter."
13656 #: ../fish/guestfish-actions.pod:2776
13657 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2776
13658 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4121
13659 #: ../src/guestfs-actions.pod:4121
13661 "This creates a new block device called C</dev/mapper/mapname>. Reads and "
13662 "writes to this block device are decrypted from and encrypted to the "
13663 "underlying C<device> respectively."
13667 #: ../fish/guestfish-actions.pod:2780
13668 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2780
13670 "If this block device contains LVM volume groups, then calling L</vgscan> "
13671 "followed by L</vg-activate-all> will make them visible."
13675 #: ../fish/guestfish-actions.pod:2784
13676 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2784
13677 msgid "Use L</list-dm-devices> to list all device mapper devices."
13681 #: ../fish/guestfish-actions.pod:2790
13682 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2790
13683 msgid "luks-open-ro"
13684 msgstr "luks-open-ro"
13687 #: ../fish/guestfish-actions.pod:2792
13688 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2792
13691 " luks-open-ro device mapname\n"
13696 #: ../fish/guestfish-actions.pod:2794
13697 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2794
13699 "This is the same as L</luks-open> except that a read-only mapping is created."
13703 #: ../fish/guestfish-actions.pod:2800
13704 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2800
13709 #: ../fish/guestfish-actions.pod:2802
13710 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2802
13713 " lvcreate logvol volgroup mbytes\n"
13718 #: ../fish/guestfish-actions.pod:2804
13719 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2804
13720 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4167
13721 #: ../src/guestfs-actions.pod:4167
13723 "This creates an LVM logical volume called C<logvol> on the volume group "
13724 "C<volgroup>, with C<size> megabytes."
13728 #: ../fish/guestfish-actions.pod:2807
13729 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2807
13730 msgid "lvm-canonical-lv-name"
13731 msgstr "lvm-canonical-lv-name"
13734 #: ../fish/guestfish-actions.pod:2809
13735 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2809
13738 " lvm-canonical-lv-name lvname\n"
13743 #: ../fish/guestfish-actions.pod:2811
13744 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2811
13745 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4180
13746 #: ../src/guestfs-actions.pod:4180
13748 "This converts alternative naming schemes for LVs that you might find to the "
13749 "canonical name. For example, C</dev/mapper/VG-LV> is converted to C</dev/VG/"
13754 #: ../fish/guestfish-actions.pod:2815
13755 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2815
13756 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4184
13757 #: ../src/guestfs-actions.pod:4184
13759 "This command returns an error if the C<lvname> parameter does not refer to a "
13764 #: ../fish/guestfish-actions.pod:2818
13765 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2818
13766 msgid "See also L</is-lv>."
13767 msgstr "Див. також L</is-lv>."
13770 #: ../fish/guestfish-actions.pod:2820
13771 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2820
13772 msgid "lvm-clear-filter"
13773 msgstr "lvm-clear-filter"
13776 #: ../fish/guestfish-actions.pod:2822
13777 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2822
13780 " lvm-clear-filter\n"
13783 " lvm-clear-filter\n"
13787 #: ../fish/guestfish-actions.pod:2824
13788 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2824
13790 "This undoes the effect of L</lvm-set-filter>. LVM will be able to see every "
13795 #: ../fish/guestfish-actions.pod:2827 ../fish/guestfish-actions.pod:2858
13796 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2827
13797 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2858
13798 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4202
13799 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4244
13800 #: ../src/guestfs-actions.pod:4202 ../src/guestfs-actions.pod:4244
13802 "This command also clears the LVM cache and performs a volume group scan."
13806 #: ../fish/guestfish-actions.pod:2830
13807 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2830
13808 msgid "lvm-remove-all"
13809 msgstr "lvm-remove-all"
13812 #: ../fish/guestfish-actions.pod:2832
13813 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2832
13816 " lvm-remove-all\n"
13819 " lvm-remove-all\n"
13823 #: ../fish/guestfish-actions.pod:2834
13824 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2834
13825 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4214
13826 #: ../src/guestfs-actions.pod:4214
13828 "This command removes all LVM logical volumes, volume groups and physical "
13833 #: ../fish/guestfish-actions.pod:2840
13834 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2840
13835 msgid "lvm-set-filter"
13836 msgstr "lvm-set-filter"
13839 #: ../fish/guestfish-actions.pod:2842
13840 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2842
13843 " lvm-set-filter 'devices ...'\n"
13846 " lvm-set-filter 'пристрої...'\n"
13850 #: ../fish/guestfish-actions.pod:2844
13851 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2844
13852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4230
13853 #: ../src/guestfs-actions.pod:4230
13855 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
13856 "block devices in the list C<devices>, and will ignore all other attached "
13861 #: ../fish/guestfish-actions.pod:2848
13862 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2848
13863 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4234
13864 #: ../src/guestfs-actions.pod:4234
13866 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
13867 "get LVM to ignore the duplicates, otherwise LVM can get confused. Note also "
13868 "there are two types of duplication possible: either cloned PVs/VGs which "
13869 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
13870 "same name. In normal operation you cannot create this situation, but you "
13871 "can do it outside LVM, eg. by cloning disk images or by bit twiddling "
13872 "inside the LVM metadata."
13876 #: ../fish/guestfish-actions.pod:2861
13877 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2861
13878 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4247
13879 #: ../src/guestfs-actions.pod:4247
13880 msgid "You can filter whole block devices or individual partitions."
13884 #: ../fish/guestfish-actions.pod:2863
13885 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2863
13886 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4249
13887 #: ../src/guestfs-actions.pod:4249
13889 "You cannot use this if any VG is currently in use (eg. contains a mounted "
13890 "filesystem), even if you are not filtering out that VG."
13894 #: ../fish/guestfish-actions.pod:2867
13895 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2867
13900 #: ../fish/guestfish-actions.pod:2869
13901 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2869
13904 " lvremove device\n"
13907 " lvremove пристрій\n"
13911 #: ../fish/guestfish-actions.pod:2871
13912 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2871
13913 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4263
13914 #: ../src/guestfs-actions.pod:4263
13916 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
13917 "LV, such as C</dev/VG/LV>."
13921 #: ../fish/guestfish-actions.pod:2874
13922 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2874
13923 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4266
13924 #: ../src/guestfs-actions.pod:4266
13926 "You can also remove all LVs in a volume group by specifying the VG name, C</"
13931 #: ../fish/guestfish-actions.pod:2877
13932 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2877
13937 #: ../fish/guestfish-actions.pod:2879
13938 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2879
13941 " lvrename logvol newlogvol\n"
13946 #: ../fish/guestfish-actions.pod:2881
13947 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2881
13948 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4280
13949 #: ../src/guestfs-actions.pod:4280
13950 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
13954 #: ../fish/guestfish-actions.pod:2883
13955 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2883
13960 #: ../fish/guestfish-actions.pod:2885
13961 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2885
13964 " lvresize device mbytes\n"
13969 #: ../fish/guestfish-actions.pod:2887
13970 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2887
13971 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4293
13972 #: ../src/guestfs-actions.pod:4293
13974 "This resizes (expands or shrinks) an existing LVM logical volume to "
13975 "C<mbytes>. When reducing, data in the reduced part is lost."
13979 #: ../fish/guestfish-actions.pod:2891
13980 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2891
13981 msgid "lvresize-free"
13982 msgstr "lvresize-free"
13985 #: ../fish/guestfish-actions.pod:2893
13986 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2893
13989 " lvresize-free lv percent\n"
13994 #: ../fish/guestfish-actions.pod:2895
13995 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2895
13996 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4308
13997 #: ../src/guestfs-actions.pod:4308
13999 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
14000 "remaining free space in the volume group. Commonly you would call this with "
14001 "pc = 100 which expands the logical volume as much as possible, using all "
14002 "remaining free space in the volume group."
14006 #: ../fish/guestfish-actions.pod:2901
14007 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2901
14012 #: ../fish/guestfish-actions.pod:2903
14013 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2903
14023 #: ../fish/guestfish-actions.pod:2905
14024 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2905
14025 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4323
14026 #: ../src/guestfs-actions.pod:4323
14028 "List all the logical volumes detected. This is the equivalent of the L<lvs"
14033 #: ../fish/guestfish-actions.pod:2908
14034 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2908
14035 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4326
14036 #: ../src/guestfs-actions.pod:4326
14038 "This returns a list of the logical volume device names (eg. C</dev/"
14039 "VolGroup00/LogVol00>)."
14043 #: ../fish/guestfish-actions.pod:2911
14044 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2911
14045 msgid "See also L</lvs-full>, L</list-filesystems>."
14046 msgstr "Див. також L</lvs-full>, L</list-filesystems>."
14049 #: ../fish/guestfish-actions.pod:2913
14050 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2913
14055 #: ../fish/guestfish-actions.pod:2915
14056 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2915
14066 #: ../fish/guestfish-actions.pod:2917
14067 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2917
14068 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4342
14069 #: ../src/guestfs-actions.pod:4342
14071 "List all the logical volumes detected. This is the equivalent of the L<lvs"
14072 "(8)> command. The \"full\" version includes all fields."
14076 #: ../fish/guestfish-actions.pod:2920
14077 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2920
14082 #: ../fish/guestfish-actions.pod:2922
14083 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2922
14089 " lvuuid пристрій\n"
14093 #: ../fish/guestfish-actions.pod:2924
14094 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2924
14095 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4357
14096 #: ../src/guestfs-actions.pod:4357
14097 msgid "This command returns the UUID of the LVM LV C<device>."
14101 #: ../fish/guestfish-actions.pod:2926
14102 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2926
14104 msgstr "lxattrlist"
14107 #: ../fish/guestfish-actions.pod:2928
14108 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2928
14111 " lxattrlist path 'names ...'\n"
14116 #: ../fish/guestfish-actions.pod:2930
14117 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2930
14118 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4371
14119 #: ../src/guestfs-actions.pod:4371
14121 "This call allows you to get the extended attributes of multiple files, where "
14122 "all files are in the directory C<path>. C<names> is the list of files from "
14127 #: ../fish/guestfish-actions.pod:2934
14128 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2934
14129 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4375
14130 #: ../src/guestfs-actions.pod:4375
14132 "On return you get a flat list of xattr structs which must be interpreted "
14133 "sequentially. The first xattr struct always has a zero-length C<attrname>. "
14134 "C<attrval> in this struct is zero-length to indicate there was an error "
14135 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
14136 "number (the number of following attributes for this file, which could be C<"
14137 "\"0\">). Then after the first xattr struct are the zero or more attributes "
14138 "for the first named file. This repeats for the second and subsequent files."
14142 #: ../fish/guestfish-actions.pod:2944
14143 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2944
14145 "This call is intended for programs that want to efficiently list a directory "
14146 "contents without making many round-trips. See also L</lstatlist> for a "
14147 "similarly efficient call for getting standard stats. Very long directory "
14148 "listings might cause the protocol message size to be exceeded, causing this "
14149 "call to fail. The caller must split up such requests into smaller groups of "
14154 #: ../fish/guestfish-actions.pod:2952
14155 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2952
14160 #: ../fish/guestfish-actions.pod:2954
14161 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2954
14171 #: ../fish/guestfish-actions.pod:2956
14172 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2956
14173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4405
14174 #: ../src/guestfs-actions.pod:4405
14175 msgid "Create a directory named C<path>."
14179 #: ../fish/guestfish-actions.pod:2958
14180 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2958
14182 msgstr "mkdir-mode"
14185 #: ../fish/guestfish-actions.pod:2960
14186 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2960
14189 " mkdir-mode path mode\n"
14192 " mkdir-mode шлях режим\n"
14196 #: ../fish/guestfish-actions.pod:2962
14197 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2962
14198 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4418
14199 #: ../src/guestfs-actions.pod:4418
14201 "This command creates a directory, setting the initial permissions of the "
14202 "directory to C<mode>."
14206 #: ../fish/guestfish-actions.pod:2965
14207 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2965
14208 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4421
14209 #: ../src/guestfs-actions.pod:4421
14211 "For common Linux filesystems, the actual mode which is set will be C<mode & "
14212 "~umask & 01777>. Non-native-Linux filesystems may interpret the mode in "
14217 #: ../fish/guestfish-actions.pod:2969
14218 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2969
14219 msgid "See also L</mkdir>, L</umask>"
14220 msgstr "Див. також L</mkdir>, L</umask>"
14223 #: ../fish/guestfish-actions.pod:2971
14224 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2971
14229 #: ../fish/guestfish-actions.pod:2973
14230 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2973
14240 #: ../fish/guestfish-actions.pod:2975
14241 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2975
14242 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4437
14243 #: ../src/guestfs-actions.pod:4437
14245 "Create a directory named C<path>, creating any parent directories as "
14246 "necessary. This is like the C<mkdir -p> shell command."
14250 #: ../fish/guestfish-actions.pod:2978
14251 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2978
14256 #: ../fish/guestfish-actions.pod:2980
14257 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2980
14260 " mkdtemp template\n"
14263 " mkdtemp шаблон\n"
14267 #: ../fish/guestfish-actions.pod:2982
14268 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2982
14269 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4450
14270 #: ../src/guestfs-actions.pod:4450
14272 "This command creates a temporary directory. The C<template> parameter "
14273 "should be a full pathname for the temporary directory name with the final "
14274 "six characters being \"XXXXXX\"."
14278 #: ../fish/guestfish-actions.pod:2987
14279 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2987
14280 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4455
14281 #: ../src/guestfs-actions.pod:4455
14283 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
14284 "being suitable for Windows filesystems."
14288 #: ../fish/guestfish-actions.pod:2990
14289 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2990
14290 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4458
14291 #: ../src/guestfs-actions.pod:4458
14292 msgid "The name of the temporary directory that was created is returned."
14296 #: ../fish/guestfish-actions.pod:2993
14297 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2993
14298 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4461
14299 #: ../src/guestfs-actions.pod:4461
14300 msgid "The temporary directory is created with mode 0700 and is owned by root."
14304 #: ../fish/guestfish-actions.pod:2996
14305 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2996
14306 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4464
14307 #: ../src/guestfs-actions.pod:4464
14309 "The caller is responsible for deleting the temporary directory and its "
14310 "contents after use."
14314 #: ../fish/guestfish-actions.pod:2999
14315 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:2999
14316 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4467
14317 #: ../src/guestfs-actions.pod:4467
14318 msgid "See also: L<mkdtemp(3)>"
14322 #: ../fish/guestfish-actions.pod:3001
14323 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3001
14328 #: ../fish/guestfish-actions.pod:3003
14329 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3003
14332 " mke2fs-J fstype blocksize device journal\n"
14337 #: ../fish/guestfish-actions.pod:3005
14338 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3005
14339 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4483
14340 #: ../src/guestfs-actions.pod:4483
14342 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14343 "C<journal>. It is equivalent to the command:"
14347 #: ../fish/guestfish-actions.pod:3009
14348 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3009
14349 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4487
14350 #: ../src/guestfs-actions.pod:4487
14353 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
14356 " mke2fs -t fstype -b blocksize -J device=<журнал> <пристрій>\n"
14360 #: ../fish/guestfish-actions.pod:3011
14361 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3011
14362 msgid "See also L</mke2journal>."
14363 msgstr "Див. також L</mke2journal>."
14366 #: ../fish/guestfish-actions.pod:3013
14367 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3013
14372 #: ../fish/guestfish-actions.pod:3015
14373 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3015
14376 " mke2fs-JL fstype blocksize device label\n"
14381 #: ../fish/guestfish-actions.pod:3017
14382 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3017
14383 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4504
14384 #: ../src/guestfs-actions.pod:4504
14386 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14387 "the journal labeled C<label>."
14391 #: ../fish/guestfish-actions.pod:3020
14392 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3020
14393 msgid "See also L</mke2journal-L>."
14394 msgstr "Див. також L</mke2journal-L>."
14397 #: ../fish/guestfish-actions.pod:3022
14398 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3022
14403 #: ../fish/guestfish-actions.pod:3024
14404 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3024
14407 " mke2fs-JU fstype blocksize device uuid\n"
14412 #: ../fish/guestfish-actions.pod:3026
14413 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3026
14414 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4522
14415 #: ../src/guestfs-actions.pod:4522
14417 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
14418 "the journal with UUID C<uuid>."
14422 #: ../fish/guestfish-actions.pod:3029
14423 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3029
14424 msgid "See also L</mke2journal-U>."
14425 msgstr "Див. також L</mke2journal-U>."
14428 #: ../fish/guestfish-actions.pod:3031
14429 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3031
14430 msgid "mke2journal"
14431 msgstr "mke2journal"
14434 #: ../fish/guestfish-actions.pod:3033
14435 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3033
14438 " mke2journal blocksize device\n"
14443 #: ../fish/guestfish-actions.pod:3035
14444 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3035
14445 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4538
14446 #: ../src/guestfs-actions.pod:4538
14448 "This creates an ext2 external journal on C<device>. It is equivalent to the "
14453 #: ../fish/guestfish-actions.pod:3038
14454 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3038
14455 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4541
14456 #: ../src/guestfs-actions.pod:4541
14459 " mke2fs -O journal_dev -b blocksize device\n"
14464 #: ../fish/guestfish-actions.pod:3040
14465 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3040
14466 msgid "mke2journal-L"
14467 msgstr "mke2journal-L"
14470 #: ../fish/guestfish-actions.pod:3042
14471 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3042
14474 " mke2journal-L blocksize label device\n"
14479 #: ../fish/guestfish-actions.pod:3044
14480 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3044
14481 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4555
14482 #: ../src/guestfs-actions.pod:4555
14483 msgid "This creates an ext2 external journal on C<device> with label C<label>."
14487 #: ../fish/guestfish-actions.pod:3046
14488 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3046
14489 msgid "mke2journal-U"
14490 msgstr "mke2journal-U"
14493 #: ../fish/guestfish-actions.pod:3048
14494 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3048
14497 " mke2journal-U blocksize uuid device\n"
14502 #: ../fish/guestfish-actions.pod:3050
14503 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3050
14504 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4569
14505 #: ../src/guestfs-actions.pod:4569
14506 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
14510 #: ../fish/guestfish-actions.pod:3052
14511 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3052
14516 #: ../fish/guestfish-actions.pod:3054
14517 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3054
14520 " mkfifo mode path\n"
14523 " mkfifo режим шлях\n"
14527 #: ../fish/guestfish-actions.pod:3056
14528 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3056
14530 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>. It "
14531 "is just a convenient wrapper around L</mknod>."
14535 #: ../fish/guestfish-actions.pod:3062
14536 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3062
14541 #: ../fish/guestfish-actions.pod:3064
14542 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3064
14545 " mkfs fstype device\n"
14548 " mkfs тип_файлової_системи пристрій\n"
14552 #: ../fish/guestfish-actions.pod:3066
14553 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3066
14554 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4599
14555 #: ../src/guestfs-actions.pod:4599
14557 "This creates a filesystem on C<device> (usually a partition or LVM logical "
14558 "volume). The filesystem type is C<fstype>, for example C<ext3>."
14562 #: ../fish/guestfish-actions.pod:3070
14563 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3070
14568 #: ../fish/guestfish-actions.pod:3072
14569 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3072
14572 " mkfs-b fstype blocksize device\n"
14577 #: ../fish/guestfish-actions.pod:3074
14578 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3074
14580 "This call is similar to L</mkfs>, but it allows you to control the block "
14581 "size of the resulting filesystem. Supported block sizes depend on the "
14582 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
14586 #: ../fish/guestfish-actions.pod:3079 ../fish/guestfish-actions.pod:3106
14587 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3079
14588 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3106
14589 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4620
14590 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4665
14591 #: ../src/guestfs-actions.pod:4620 ../src/guestfs-actions.pod:4665
14593 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
14598 #: ../fish/guestfish-actions.pod:3082
14599 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3082
14600 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4625
14601 #: ../src/guestfs-actions.pod:4625
14603 "This function is deprecated. In new code, use the C<mkfs_opts> call instead."
14607 #: ../fish/guestfish-actions.pod:3089
14608 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3089
14613 #: ../fish/guestfish-actions.pod:3091
14614 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3091
14617 " mkfs-opts fstype device [blocksize:..] [features:..] [inode:..] [sectorsize:..]\n"
14622 #: ../fish/guestfish-actions.pod:3093
14623 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3093
14624 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4652
14625 #: ../src/guestfs-actions.pod:4652
14627 "This function creates a filesystem on C<device>. The filesystem type is "
14628 "C<fstype>, for example C<ext3>."
14632 #: ../fish/guestfish-actions.pod:3100
14633 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3100
14634 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4659
14635 #: ../src/guestfs-actions.pod:4659
14636 msgid "C<blocksize>"
14637 msgstr "C<blocksize>"
14640 #: ../fish/guestfish-actions.pod:3102
14641 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3102
14642 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4661
14643 #: ../src/guestfs-actions.pod:4661
14645 "The filesystem block size. Supported block sizes depend on the filesystem "
14646 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
14651 #: ../fish/guestfish-actions.pod:3109
14652 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3109
14653 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4668
14654 #: ../src/guestfs-actions.pod:4668
14655 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
14659 #: ../fish/guestfish-actions.pod:3111
14660 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3111
14661 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4670
14662 #: ../src/guestfs-actions.pod:4670
14663 msgid "C<features>"
14664 msgstr "C<features>"
14667 #: ../fish/guestfish-actions.pod:3113
14668 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3113
14669 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4672
14670 #: ../src/guestfs-actions.pod:4672
14671 msgid "This passes the I<-O> parameter to the external mkfs program."
14675 #: ../fish/guestfish-actions.pod:3115
14676 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3115
14677 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4674
14678 #: ../src/guestfs-actions.pod:4674
14680 "For certain filesystem types, this allows extra filesystem features to be "
14681 "selected. See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
14685 #: ../fish/guestfish-actions.pod:3119
14686 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3119
14687 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4678
14688 #: ../src/guestfs-actions.pod:4678
14690 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem "
14695 #: ../fish/guestfish-actions.pod:3122
14696 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3122
14697 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4681
14698 #: ../src/guestfs-actions.pod:4681
14703 #: ../fish/guestfish-actions.pod:3124
14704 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3124
14705 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4683
14706 #: ../src/guestfs-actions.pod:4683
14708 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
14709 "sets the inode size (only for ext2/3/4 filesystems at present)."
14713 #: ../fish/guestfish-actions.pod:3127
14714 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3127
14715 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4686
14716 #: ../src/guestfs-actions.pod:4686
14717 msgid "C<sectorsize>"
14721 #: ../fish/guestfish-actions.pod:3129
14722 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3129
14723 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4688
14724 #: ../src/guestfs-actions.pod:4688
14726 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
14727 "sets sector size for ufs filesystem."
14731 #: ../fish/guestfish-actions.pod:3136
14732 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3136
14733 msgid "mkmountpoint"
14734 msgstr "mkmountpoint"
14737 #: ../fish/guestfish-actions.pod:3138
14738 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3138
14741 " mkmountpoint exemptpath\n"
14746 #: ../fish/guestfish-actions.pod:3140
14747 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3140
14749 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
14750 "to create extra mountpoints before mounting the first filesystem."
14754 #: ../fish/guestfish-actions.pod:3144
14755 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3144
14756 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4731
14757 #: ../src/guestfs-actions.pod:4731
14759 "These calls are I<only> necessary in some very limited circumstances, mainly "
14760 "the case where you want to mount a mix of unrelated and/or read-only "
14761 "filesystems together."
14765 #: ../fish/guestfish-actions.pod:3148
14766 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3148
14767 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4735
14768 #: ../src/guestfs-actions.pod:4735
14770 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
14771 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
14772 "inside that. You can unpack this as follows in guestfish:"
14776 #: ../fish/guestfish-actions.pod:3153
14777 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3153
14778 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4740
14779 #: ../src/guestfs-actions.pod:4740
14782 " add-ro Fedora-11-i686-Live.iso\n"
14784 " mkmountpoint /cd\n"
14785 " mkmountpoint /sqsh\n"
14786 " mkmountpoint /ext3fs\n"
14787 " mount /dev/sda /cd\n"
14788 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14789 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14792 " add-ro Fedora-11-i686-Live.iso\n"
14794 " mkmountpoint /cd\n"
14795 " mkmountpoint /sqsh\n"
14796 " mkmountpoint /ext3fs\n"
14797 " mount /dev/sda /cd\n"
14798 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
14799 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
14803 #: ../fish/guestfish-actions.pod:3162
14804 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3162
14805 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4749
14806 #: ../src/guestfs-actions.pod:4749
14807 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
14811 #: ../fish/guestfish-actions.pod:3164
14812 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3164
14814 "L</mkmountpoint> is not compatible with L</umount-all>. You may get "
14815 "unexpected errors if you try to mix these calls. It is safest to manually "
14816 "unmount filesystems and remove mountpoints after use."
14820 #: ../fish/guestfish-actions.pod:3168
14821 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3168
14823 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
14824 "for this to work for manual mountpoints, you must ensure that the innermost "
14825 "mountpoints have the longest pathnames, as in the example code above."
14829 #: ../fish/guestfish-actions.pod:3173
14830 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3173
14831 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4760
14832 #: ../src/guestfs-actions.pod:4760
14834 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
14838 #: ../fish/guestfish-actions.pod:3175
14839 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3175
14841 "Autosync [see L</set-autosync>, this is set by default on handles] can cause "
14842 "L</umount-all> to be called when the handle is closed which can also trigger "
14847 #: ../fish/guestfish-actions.pod:3179
14848 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3179
14853 #: ../fish/guestfish-actions.pod:3181
14854 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3181
14857 " mknod mode devmajor devminor path\n"
14862 #: ../fish/guestfish-actions.pod:3183
14863 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3183
14864 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4779
14865 #: ../src/guestfs-actions.pod:4779
14867 "This call creates block or character special devices, or named pipes (FIFOs)."
14871 #: ../fish/guestfish-actions.pod:3186
14872 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3186
14873 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4782
14874 #: ../src/guestfs-actions.pod:4782
14876 "The C<mode> parameter should be the mode, using the standard constants. "
14877 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
14878 "used when creating block and character special devices."
14882 #: ../fish/guestfish-actions.pod:3191
14883 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3191
14885 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
14886 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
14887 "regular file). These constants are available in the standard Linux header "
14888 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
14889 "wrappers around this command which bitwise OR in the appropriate constant "
14894 #: ../fish/guestfish-actions.pod:3201
14895 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3201
14900 #: ../fish/guestfish-actions.pod:3203
14901 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3203
14904 " mknod-b mode devmajor devminor path\n"
14909 #: ../fish/guestfish-actions.pod:3205
14910 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3205
14912 "This call creates a block device node called C<path> with mode C<mode> and "
14913 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
14914 "wrapper around L</mknod>."
14918 #: ../fish/guestfish-actions.pod:3211
14919 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3211
14924 #: ../fish/guestfish-actions.pod:3213
14925 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3213
14928 " mknod-c mode devmajor devminor path\n"
14933 #: ../fish/guestfish-actions.pod:3215
14934 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3215
14936 "This call creates a char device node called C<path> with mode C<mode> and "
14937 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
14938 "wrapper around L</mknod>."
14942 #: ../fish/guestfish-actions.pod:3221
14943 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3221
14948 #: ../fish/guestfish-actions.pod:3223
14949 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3223
14955 " mkswap пристрій\n"
14959 #: ../fish/guestfish-actions.pod:3225
14960 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3225
14961 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4845
14962 #: ../src/guestfs-actions.pod:4845
14963 msgid "Create a swap partition on C<device>."
14967 #: ../fish/guestfish-actions.pod:3227
14968 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3227
14973 #: ../fish/guestfish-actions.pod:3229
14974 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3229
14977 " mkswap-L label device\n"
14980 " mkswap-L мітка пристрій\n"
14984 #: ../fish/guestfish-actions.pod:3231
14985 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3231
14986 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4858
14987 #: ../src/guestfs-actions.pod:4858
14988 msgid "Create a swap partition on C<device> with label C<label>."
14992 #: ../fish/guestfish-actions.pod:3233
14993 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3233
14994 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4860
14995 #: ../src/guestfs-actions.pod:4860
14997 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
14998 "sda>), just to a partition. This appears to be a limitation of the kernel "
15003 #: ../fish/guestfish-actions.pod:3237
15004 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3237
15009 #: ../fish/guestfish-actions.pod:3239
15010 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3239
15013 " mkswap-U uuid device\n"
15016 " mkswap-U uuid пристрій\n"
15020 #: ../fish/guestfish-actions.pod:3241
15021 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3241
15022 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4875
15023 #: ../src/guestfs-actions.pod:4875
15024 msgid "Create a swap partition on C<device> with UUID C<uuid>."
15028 #: ../fish/guestfish-actions.pod:3243
15029 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3243
15030 msgid "mkswap-file"
15031 msgstr "mkswap-file"
15034 #: ../fish/guestfish-actions.pod:3245
15035 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3245
15038 " mkswap-file path\n"
15041 " mkswap-file шлях\n"
15045 #: ../fish/guestfish-actions.pod:3247
15046 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3247
15047 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4887
15048 #: ../src/guestfs-actions.pod:4887
15049 msgid "Create a swap file."
15050 msgstr "Створити файл резервної пам’яті."
15053 #: ../fish/guestfish-actions.pod:3249
15054 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3249
15056 "This command just writes a swap file signature to an existing file. To "
15057 "create the file itself, use something like L</fallocate>."
15061 #: ../fish/guestfish-actions.pod:3252
15062 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3252
15067 #: ../fish/guestfish-actions.pod:3254
15068 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3254
15071 " modprobe modulename\n"
15074 " modprobe назва_модуля\n"
15078 #: ../fish/guestfish-actions.pod:3256
15079 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3256
15080 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4902
15081 #: ../src/guestfs-actions.pod:4902
15082 msgid "This loads a kernel module in the appliance."
15086 #: ../fish/guestfish-actions.pod:3258
15087 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3258
15088 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4904
15089 #: ../src/guestfs-actions.pod:4904
15091 "The kernel module must have been whitelisted when libguestfs was built (see "
15092 "C<appliance/kmod.whitelist.in> in the source)."
15096 #: ../fish/guestfish-actions.pod:3261
15097 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3261
15102 #: ../fish/guestfish-actions.pod:3263
15103 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3263
15106 " mount device mountpoint\n"
15109 " mount пристрій точка_монтування\n"
15113 #: ../fish/guestfish-actions.pod:3265
15114 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3265
15115 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4918
15116 #: ../src/guestfs-actions.pod:4918
15118 "Mount a guest disk at a position in the filesystem. Block devices are named "
15119 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest. If "
15120 "those block devices contain partitions, they will have the usual names (eg. "
15121 "C</dev/sda1>). Also LVM C</dev/VG/LV>-style names can be used."
15125 #: ../fish/guestfish-actions.pod:3271
15126 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3271
15127 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4924
15128 #: ../src/guestfs-actions.pod:4924
15130 "The rules are the same as for L<mount(2)>: A filesystem must first be "
15131 "mounted on C</> before others can be mounted. Other filesystems can only be "
15132 "mounted on directories which already exist."
15136 #: ../fish/guestfish-actions.pod:3276
15137 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3276
15138 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4929
15139 #: ../src/guestfs-actions.pod:4929
15141 "The mounted filesystem is writable, if we have sufficient permissions on the "
15142 "underlying device."
15146 #: ../fish/guestfish-actions.pod:3279
15147 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3279
15149 "B<Important note:> When you use this call, the filesystem options C<sync> "
15150 "and C<noatime> are set implicitly. This was originally done because we "
15151 "thought it would improve reliability, but it turns out that I<-o sync> has a "
15152 "very large negative performance impact and negligible effect on "
15153 "reliability. Therefore we recommend that you avoid using L</mount> in any "
15154 "code that needs performance, and instead use L</mount-options> (use an empty "
15155 "string for the first parameter if you don't want any options)."
15159 #: ../fish/guestfish-actions.pod:3289
15160 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3289
15161 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4944
15162 #: ../src/guestfs-actions.pod:4944
15164 "This function is deprecated. In new code, use the C<mount_options> call "
15169 #: ../fish/guestfish-actions.pod:3296
15170 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3296
15175 #: ../fish/guestfish-actions.pod:3298
15176 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3298
15179 " mount-9p mounttag mountpoint [options:..]\n"
15184 #: ../fish/guestfish-actions.pod:3300
15185 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3300
15186 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4968
15187 #: ../src/guestfs-actions.pod:4968
15189 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
15194 #: ../fish/guestfish-actions.pod:3303
15195 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3303
15196 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4971
15197 #: ../src/guestfs-actions.pod:4971
15199 "If required, C<trans=virtio> will be automatically added to the options. "
15200 "Any other options required can be passed in the optional C<options> "
15205 #: ../fish/guestfish-actions.pod:3309
15206 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3309
15208 msgstr "mount-loop"
15211 #: ../fish/guestfish-actions.pod:3311
15212 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3311
15215 " mount-loop file mountpoint\n"
15220 #: ../fish/guestfish-actions.pod:3313
15221 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3313
15222 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5010
15223 #: ../src/guestfs-actions.pod:5010
15225 "This command lets you mount C<file> (a filesystem image in a file) on a "
15226 "mount point. It is entirely equivalent to the command C<mount -o loop file "
15231 #: ../fish/guestfish-actions.pod:3317
15232 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3317
15233 msgid "mount-options"
15234 msgstr "mount-options"
15237 #: ../fish/guestfish-actions.pod:3319
15238 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3319
15241 " mount-options options device mountpoint\n"
15246 #: ../fish/guestfish-actions.pod:3321
15247 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3321
15249 "This is the same as the L</mount> command, but it allows you to set the "
15250 "mount options as for the L<mount(8)> I<-o> flag."
15254 #: ../fish/guestfish-actions.pod:3325
15255 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3325
15256 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5030
15257 #: ../src/guestfs-actions.pod:5030
15259 "If the C<options> parameter is an empty string, then no options are passed "
15260 "(all options default to whatever the filesystem uses)."
15264 #: ../fish/guestfish-actions.pod:3329
15265 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3329
15270 #: ../fish/guestfish-actions.pod:3331
15271 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3331
15274 " mount-ro device mountpoint\n"
15277 " mount-ro пристрій точка_монтування\n"
15281 #: ../fish/guestfish-actions.pod:3333
15282 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3333
15284 "This is the same as the L</mount> command, but it mounts the filesystem with "
15285 "the read-only (I<-o ro>) flag."
15289 #: ../fish/guestfish-actions.pod:3336
15290 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3336
15295 #: ../fish/guestfish-actions.pod:3338
15296 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3338
15299 " mount-vfs options vfstype device mountpoint\n"
15304 #: ../fish/guestfish-actions.pod:3340
15305 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3340
15307 "This is the same as the L</mount> command, but it allows you to set both the "
15308 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
15312 #: ../fish/guestfish-actions.pod:3344
15313 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3344
15314 msgid "mountpoints"
15315 msgstr "mountpoints"
15318 #: ../fish/guestfish-actions.pod:3346
15319 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3346
15329 #: ../fish/guestfish-actions.pod:3348
15330 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3348
15332 "This call is similar to L</mounts>. That call returns a list of devices. "
15333 "This one returns a hash table (map) of device name to directory where the "
15334 "device is mounted."
15338 #: ../fish/guestfish-actions.pod:3352
15339 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3352
15344 #: ../fish/guestfish-actions.pod:3354
15345 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3354
15355 #: ../fish/guestfish-actions.pod:3356
15356 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3356
15357 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5091
15358 #: ../src/guestfs-actions.pod:5091
15360 "This returns the list of currently mounted filesystems. It returns the list "
15361 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
15365 #: ../fish/guestfish-actions.pod:3359
15366 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3359
15367 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5094
15368 #: ../src/guestfs-actions.pod:5094
15369 msgid "Some internal mounts are not shown."
15373 #: ../fish/guestfish-actions.pod:3361
15374 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3361
15375 msgid "See also: L</mountpoints>"
15376 msgstr "Див. також L</mountpoints>"
15379 #: ../fish/guestfish-actions.pod:3363
15380 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3363
15385 #: ../fish/guestfish-actions.pod:3365
15386 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3365
15392 " mv джерело призначення\n"
15396 #: ../fish/guestfish-actions.pod:3367
15397 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3367
15398 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5111
15399 #: ../src/guestfs-actions.pod:5111
15401 "This moves a file from C<src> to C<dest> where C<dest> is either a "
15402 "destination filename or destination directory."
15406 #: ../fish/guestfish-actions.pod:3370
15407 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3370
15408 msgid "ntfs-3g-probe"
15409 msgstr "ntfs-3g-probe"
15412 #: ../fish/guestfish-actions.pod:3372
15413 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3372
15416 " ntfs-3g-probe true|false device\n"
15421 #: ../fish/guestfish-actions.pod:3374
15422 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3374
15423 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5125
15424 #: ../src/guestfs-actions.pod:5125
15426 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
15427 "C<device> for mountability. (Not all NTFS volumes can be mounted read-"
15428 "write, and some cannot be mounted at all)."
15432 #: ../fish/guestfish-actions.pod:3378
15433 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3378
15434 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5129
15435 #: ../src/guestfs-actions.pod:5129
15437 "C<rw> is a boolean flag. Set it to true if you want to test if the volume "
15438 "can be mounted read-write. Set it to false if you want to test if the "
15439 "volume can be mounted read-only."
15443 #: ../fish/guestfish-actions.pod:3382
15444 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3382
15445 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5133
15446 #: ../src/guestfs-actions.pod:5133
15448 "The return value is an integer which C<0> if the operation would succeed, or "
15449 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
15453 #: ../fish/guestfish-actions.pod:3386
15454 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3386
15456 msgstr "ntfsresize"
15459 #: ../fish/guestfish-actions.pod:3388
15460 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3388
15463 " ntfsresize device\n"
15466 " ntfsresize пристрій\n"
15470 #: ../fish/guestfish-actions.pod:3390 ../fish/guestfish-actions.pod:3414
15471 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3390
15472 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3414
15473 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5147
15474 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5186
15475 #: ../src/guestfs-actions.pod:5147 ../src/guestfs-actions.pod:5186
15477 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
15478 "size of the underlying device."
15482 #: ../fish/guestfish-actions.pod:3393
15483 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3393
15484 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5150
15485 #: ../src/guestfs-actions.pod:5150
15487 "I<Note:> After the resize operation, the filesystem is marked as requiring a "
15488 "consistency check (for safety). You have to boot into Windows to perform "
15489 "this check and clear this condition. Furthermore, ntfsresize refuses to "
15490 "resize filesystems which have been marked in this way. So in effect it is "
15491 "not possible to call ntfsresize multiple times on a single filesystem "
15492 "without booting into Windows between each resize."
15496 #: ../fish/guestfish-actions.pod:3401 ../fish/guestfish-actions.pod:3440
15497 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3401
15498 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3440
15499 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5158
15500 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5212
15501 #: ../src/guestfs-actions.pod:5158 ../src/guestfs-actions.pod:5212
15502 msgid "See also L<ntfsresize(8)>."
15506 #: ../fish/guestfish-actions.pod:3403 ../fish/guestfish-actions.pod:3451
15507 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3403
15508 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3451
15509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5162
15510 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5252
15511 #: ../src/guestfs-actions.pod:5162 ../src/guestfs-actions.pod:5252
15513 "This function is deprecated. In new code, use the C<ntfsresize_opts> call "
15518 #: ../fish/guestfish-actions.pod:3410
15519 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3410
15520 msgid "ntfsresize-opts"
15524 #: ../fish/guestfish-actions.pod:3412
15525 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3412
15528 " ntfsresize-opts device [size:..] [force:..]\n"
15533 #: ../fish/guestfish-actions.pod:3423
15534 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3423
15535 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5195
15536 #: ../src/guestfs-actions.pod:5195
15538 "The new size (in bytes) of the filesystem. If omitted, the filesystem is "
15539 "resized to fit the container (eg. partition)."
15543 #: ../fish/guestfish-actions.pod:3426
15544 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3426
15545 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5198
15546 #: ../src/guestfs-actions.pod:5198
15551 #: ../fish/guestfish-actions.pod:3428
15552 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3428
15553 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5200
15554 #: ../src/guestfs-actions.pod:5200
15556 "If this option is true, then force the resize of the filesystem even if the "
15557 "filesystem is marked as requiring a consistency check."
15561 #: ../fish/guestfish-actions.pod:3431
15562 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3431
15564 "After the resize operation, the filesystem is always marked as requiring a "
15565 "consistency check (for safety). You have to boot into Windows to perform "
15566 "this check and clear this condition. If you I<don't> set the C<force> "
15567 "option then it is not possible to call L</ntfsresize-opts> multiple times on "
15568 "a single filesystem without booting into Windows between each resize."
15572 #: ../fish/guestfish-actions.pod:3444
15573 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3444
15574 msgid "ntfsresize-size"
15575 msgstr "ntfsresize-size"
15578 #: ../fish/guestfish-actions.pod:3446
15579 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3446
15582 " ntfsresize-size device size\n"
15587 #: ../fish/guestfish-actions.pod:3448
15588 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3448
15590 "This command is the same as L</ntfsresize> except that it allows you to "
15591 "specify the new size (in bytes) explicitly."
15595 #: ../fish/guestfish-actions.pod:3458
15596 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3458
15601 #: ../fish/guestfish-actions.pod:3460
15602 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3460
15605 " part-add device prlogex startsect endsect\n"
15610 #: ../fish/guestfish-actions.pod:3462
15611 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3462
15613 "This command adds a partition to C<device>. If there is no partition table "
15614 "on the device, call L</part-init> first."
15618 #: ../fish/guestfish-actions.pod:3465
15619 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3465
15620 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5273
15621 #: ../src/guestfs-actions.pod:5273
15623 "The C<prlogex> parameter is the type of partition. Normally you should pass "
15624 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
15625 "C<logical>) and C<e> (or C<extended>) partition types."
15629 #: ../fish/guestfish-actions.pod:3470
15630 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3470
15631 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5278
15632 #: ../src/guestfs-actions.pod:5278
15634 "C<startsect> and C<endsect> are the start and end of the partition in "
15635 "I<sectors>. C<endsect> may be negative, which means it counts backwards "
15636 "from the end of the disk (C<-1> is the last sector)."
15640 #: ../fish/guestfish-actions.pod:3474
15641 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3474
15643 "Creating a partition which covers the whole disk is not so easy. Use L</"
15644 "part-disk> to do that."
15648 #: ../fish/guestfish-actions.pod:3477
15649 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3477
15654 #: ../fish/guestfish-actions.pod:3479
15655 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3479
15658 " part-del device partnum\n"
15663 #: ../fish/guestfish-actions.pod:3481
15664 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3481
15665 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5296
15666 #: ../src/guestfs-actions.pod:5296
15667 msgid "This command deletes the partition numbered C<partnum> on C<device>."
15671 #: ../fish/guestfish-actions.pod:3483
15672 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3483
15673 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5298
15674 #: ../src/guestfs-actions.pod:5298
15676 "Note that in the case of MBR partitioning, deleting an extended partition "
15677 "also deletes any logical partitions it contains."
15681 #: ../fish/guestfish-actions.pod:3487
15682 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3487
15687 #: ../fish/guestfish-actions.pod:3489
15688 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3489
15691 " part-disk device parttype\n"
15694 " part-disk пристрій тип_розділу\n"
15698 #: ../fish/guestfish-actions.pod:3491
15699 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3491
15701 "This command is simply a combination of L</part-init> followed by L</part-"
15702 "add> to create a single primary partition covering the whole disk."
15706 #: ../fish/guestfish-actions.pod:3495
15707 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3495
15709 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
15710 "possible values are described in L</part-init>."
15714 #: ../fish/guestfish-actions.pod:3501
15715 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3501
15716 msgid "part-get-bootable"
15717 msgstr "part-get-bootable"
15720 #: ../fish/guestfish-actions.pod:3503
15721 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3503
15724 " part-get-bootable device partnum\n"
15729 #: ../fish/guestfish-actions.pod:3505
15730 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3505
15731 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5334
15732 #: ../src/guestfs-actions.pod:5334
15734 "This command returns true if the partition C<partnum> on C<device> has the "
15735 "bootable flag set."
15739 #: ../fish/guestfish-actions.pod:3508
15740 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3508
15741 msgid "See also L</part-set-bootable>."
15742 msgstr "Див. також L</part-set-bootable>."
15745 #: ../fish/guestfish-actions.pod:3510
15746 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3510
15747 msgid "part-get-mbr-id"
15748 msgstr "part-get-mbr-id"
15751 #: ../fish/guestfish-actions.pod:3512
15752 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3512
15755 " part-get-mbr-id device partnum\n"
15760 #: ../fish/guestfish-actions.pod:3514
15761 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3514
15762 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5350
15763 #: ../src/guestfs-actions.pod:5350
15765 "Returns the MBR type byte (also known as the ID byte) from the numbered "
15766 "partition C<partnum>."
15770 #: ../fish/guestfish-actions.pod:3517 ../fish/guestfish-actions.pod:3661
15771 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3517
15772 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3661
15774 "Note that only MBR (old DOS-style) partitions have type bytes. You will get "
15775 "undefined results for other partition table types (see L</part-get-"
15780 #: ../fish/guestfish-actions.pod:3521
15781 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3521
15782 msgid "part-get-parttype"
15783 msgstr "part-get-parttype"
15786 #: ../fish/guestfish-actions.pod:3523
15787 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3523
15790 " part-get-parttype device\n"
15793 " part-get-parttype пристрій\n"
15797 #: ../fish/guestfish-actions.pod:3525
15798 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3525
15799 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5367
15800 #: ../src/guestfs-actions.pod:5367
15802 "This command examines the partition table on C<device> and returns the "
15803 "partition table type (format) being used."
15807 #: ../fish/guestfish-actions.pod:3528
15808 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3528
15810 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
15811 "table), C<gpt> (a GPT/EFI-style partition table). Other values are "
15812 "possible, although unusual. See L</part-init> for a full list."
15816 #: ../fish/guestfish-actions.pod:3533
15817 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3533
15822 #: ../fish/guestfish-actions.pod:3535
15823 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3535
15826 " part-init device parttype\n"
15831 #: ../fish/guestfish-actions.pod:3537
15832 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3537
15833 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5387
15834 #: ../src/guestfs-actions.pod:5387
15836 "This creates an empty partition table on C<device> of one of the partition "
15837 "types listed below. Usually C<parttype> should be either C<msdos> or C<gpt> "
15838 "(for large disks)."
15842 #: ../fish/guestfish-actions.pod:3541
15843 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3541
15845 "Initially there are no partitions. Following this, you should call L</part-"
15846 "add> for each partition required."
15850 #: ../fish/guestfish-actions.pod:3544
15851 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3544
15852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5394
15853 #: ../src/guestfs-actions.pod:5394
15854 msgid "Possible values for C<parttype> are:"
15858 #: ../fish/guestfish-actions.pod:3548
15859 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3548
15860 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5398
15861 #: ../src/guestfs-actions.pod:5398
15866 #: ../fish/guestfish-actions.pod:3550
15867 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3550
15868 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5400
15869 #: ../src/guestfs-actions.pod:5400
15874 #: ../fish/guestfish-actions.pod:3552
15875 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3552
15876 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5402
15877 #: ../src/guestfs-actions.pod:5402
15878 msgid "Intel EFI / GPT partition table."
15882 #: ../fish/guestfish-actions.pod:3554
15883 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3554
15884 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5404
15885 #: ../src/guestfs-actions.pod:5404
15887 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
15888 "and Intel-based Mac OS X. It also has limited backwards compatibility with "
15889 "the C<mbr> format."
15893 #: ../fish/guestfish-actions.pod:3558
15894 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3558
15895 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5408
15896 #: ../src/guestfs-actions.pod:5408
15901 #: ../fish/guestfish-actions.pod:3560
15902 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3560
15903 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5410
15904 #: ../src/guestfs-actions.pod:5410
15909 #: ../fish/guestfish-actions.pod:3562
15910 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3562
15911 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5412
15912 #: ../src/guestfs-actions.pod:5412
15914 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
15915 "Windows. This partition type will B<only> work for device sizes up to 2 "
15916 "TB. For large disks we recommend using C<gpt>."
15920 #: ../fish/guestfish-actions.pod:3569
15921 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3569
15922 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5419
15923 #: ../src/guestfs-actions.pod:5419
15925 "Other partition table types that may work but are not supported include:"
15929 #: ../fish/guestfish-actions.pod:3574
15930 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3574
15931 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5424
15932 #: ../src/guestfs-actions.pod:5424
15937 #: ../fish/guestfish-actions.pod:3576
15938 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3576
15939 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5426
15940 #: ../src/guestfs-actions.pod:5426
15941 msgid "AIX disk labels."
15942 msgstr "Мітки дисків AIX."
15945 #: ../fish/guestfish-actions.pod:3578
15946 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3578
15947 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5428
15948 #: ../src/guestfs-actions.pod:5428
15950 #| msgid "B<amiga> | B<rdb>"
15952 msgstr "B<amiga> | B<rdb>"
15955 #: ../fish/guestfish-actions.pod:3580
15956 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3580
15957 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5430
15958 #: ../src/guestfs-actions.pod:5430
15963 #: ../fish/guestfish-actions.pod:3582
15964 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3582
15965 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5432
15966 #: ../src/guestfs-actions.pod:5432
15967 msgid "Amiga \"Rigid Disk Block\" format."
15968 msgstr "Формат \"Rigid Disk Block\" Amiga."
15971 #: ../fish/guestfish-actions.pod:3584
15972 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3584
15973 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5434
15974 #: ../src/guestfs-actions.pod:5434
15979 #: ../fish/guestfish-actions.pod:3586
15980 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3586
15981 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5436
15982 #: ../src/guestfs-actions.pod:5436
15983 msgid "BSD disk labels."
15984 msgstr "Мітки дисків BSD."
15987 #: ../fish/guestfish-actions.pod:3588
15988 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3588
15989 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5438
15990 #: ../src/guestfs-actions.pod:5438
15995 #: ../fish/guestfish-actions.pod:3590
15996 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3590
15997 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5440
15998 #: ../src/guestfs-actions.pod:5440
15999 msgid "DASD, used on IBM mainframes."
16000 msgstr "DASD, використовувалися у мейнфреймах IBM."
16003 #: ../fish/guestfish-actions.pod:3592
16004 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3592
16005 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5442
16006 #: ../src/guestfs-actions.pod:5442
16011 #: ../fish/guestfish-actions.pod:3594
16012 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3594
16013 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5444
16014 #: ../src/guestfs-actions.pod:5444
16015 msgid "MIPS/SGI volumes."
16016 msgstr "Томи MIPS/SGI."
16019 #: ../fish/guestfish-actions.pod:3596
16020 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3596
16021 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5446
16022 #: ../src/guestfs-actions.pod:5446
16027 #: ../fish/guestfish-actions.pod:3598
16028 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3598
16029 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5448
16030 #: ../src/guestfs-actions.pod:5448
16031 msgid "Old Mac partition format. Modern Macs use C<gpt>."
16032 msgstr "Старий формат розділів Mac. Сучасні системи Mac використовують C<gpt>."
16035 #: ../fish/guestfish-actions.pod:3600
16036 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3600
16037 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5450
16038 #: ../src/guestfs-actions.pod:5450
16043 #: ../fish/guestfish-actions.pod:3602
16044 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3602
16045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5452
16046 #: ../src/guestfs-actions.pod:5452
16047 msgid "NEC PC-98 format, common in Japan apparently."
16048 msgstr "Формат NEC PC-98, поширений у Японії."
16051 #: ../fish/guestfish-actions.pod:3604
16052 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3604
16053 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5454
16054 #: ../src/guestfs-actions.pod:5454
16059 #: ../fish/guestfish-actions.pod:3606
16060 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3606
16061 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5456
16062 #: ../src/guestfs-actions.pod:5456
16063 msgid "Sun disk labels."
16064 msgstr "Мітки дисків Sun."
16067 #: ../fish/guestfish-actions.pod:3610
16068 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3610
16073 #: ../fish/guestfish-actions.pod:3612
16074 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3612
16077 " part-list device\n"
16080 " part-list device\n"
16084 #: ../fish/guestfish-actions.pod:3614
16085 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3614
16086 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5470
16087 #: ../src/guestfs-actions.pod:5470
16089 "This command parses the partition table on C<device> and returns the list of "
16090 "partitions found."
16094 #: ../fish/guestfish-actions.pod:3617
16095 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3617
16096 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5473
16097 #: ../src/guestfs-actions.pod:5473
16098 msgid "The fields in the returned structure are:"
16102 #: ../fish/guestfish-actions.pod:3621
16103 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3621
16104 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5477
16105 #: ../src/guestfs-actions.pod:5477
16106 msgid "B<part_num>"
16107 msgstr "B<part_num>"
16110 #: ../fish/guestfish-actions.pod:3623
16111 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3623
16112 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5479
16113 #: ../src/guestfs-actions.pod:5479
16114 msgid "Partition number, counting from 1."
16118 #: ../fish/guestfish-actions.pod:3625
16119 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3625
16120 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5481
16121 #: ../src/guestfs-actions.pod:5481
16122 msgid "B<part_start>"
16123 msgstr "B<part_start>"
16126 #: ../fish/guestfish-actions.pod:3627
16127 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3627
16129 "Start of the partition I<in bytes>. To get sectors you have to divide by "
16130 "the device's sector size, see L</blockdev-getss>."
16134 #: ../fish/guestfish-actions.pod:3630
16135 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3630
16136 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5486
16137 #: ../src/guestfs-actions.pod:5486
16138 msgid "B<part_end>"
16139 msgstr "B<part_end>"
16142 #: ../fish/guestfish-actions.pod:3632
16143 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3632
16144 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5488
16145 #: ../src/guestfs-actions.pod:5488
16146 msgid "End of the partition in bytes."
16150 #: ../fish/guestfish-actions.pod:3634
16151 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3634
16152 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5490
16153 #: ../src/guestfs-actions.pod:5490
16154 msgid "B<part_size>"
16155 msgstr "B<part_size>"
16158 #: ../fish/guestfish-actions.pod:3636
16159 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3636
16160 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5492
16161 #: ../src/guestfs-actions.pod:5492
16162 msgid "Size of the partition in bytes."
16166 #: ../fish/guestfish-actions.pod:3640
16167 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3640
16168 msgid "part-set-bootable"
16169 msgstr "part-set-bootable"
16172 #: ../fish/guestfish-actions.pod:3642
16173 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3642
16176 " part-set-bootable device partnum true|false\n"
16181 #: ../fish/guestfish-actions.pod:3644
16182 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3644
16183 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5510
16184 #: ../src/guestfs-actions.pod:5510
16186 "This sets the bootable flag on partition numbered C<partnum> on device "
16187 "C<device>. Note that partitions are numbered from 1."
16191 #: ../fish/guestfish-actions.pod:3647
16192 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3647
16193 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5513
16194 #: ../src/guestfs-actions.pod:5513
16196 "The bootable flag is used by some operating systems (notably Windows) to "
16197 "determine which partition to boot from. It is by no means universally "
16202 #: ../fish/guestfish-actions.pod:3651
16203 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3651
16204 msgid "part-set-mbr-id"
16205 msgstr "part-set-mbr-id"
16208 #: ../fish/guestfish-actions.pod:3653
16209 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3653
16212 " part-set-mbr-id device partnum idbyte\n"
16217 #: ../fish/guestfish-actions.pod:3655
16218 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3655
16219 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5529
16220 #: ../src/guestfs-actions.pod:5529
16222 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
16223 "C<partnum> to C<idbyte>. Note that the type bytes quoted in most "
16224 "documentation are in fact hexadecimal numbers, but usually documented "
16225 "without any leading \"0x\" which might be confusing."
16229 #: ../fish/guestfish-actions.pod:3665
16230 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3665
16231 msgid "part-set-name"
16232 msgstr "part-set-name"
16235 #: ../fish/guestfish-actions.pod:3667
16236 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3667
16239 " part-set-name device partnum name\n"
16244 #: ../fish/guestfish-actions.pod:3669
16245 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3669
16246 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5551
16247 #: ../src/guestfs-actions.pod:5551
16249 "This sets the partition name on partition numbered C<partnum> on device "
16250 "C<device>. Note that partitions are numbered from 1."
16254 #: ../fish/guestfish-actions.pod:3672
16255 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3672
16256 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5554
16257 #: ../src/guestfs-actions.pod:5554
16259 "The partition name can only be set on certain types of partition table. "
16260 "This works on C<gpt> but not on C<mbr> partitions."
16264 #: ../fish/guestfish-actions.pod:3675
16265 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3675
16266 msgid "part-to-dev"
16267 msgstr "part-to-dev"
16270 #: ../fish/guestfish-actions.pod:3677
16271 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3677
16274 " part-to-dev partition\n"
16277 " part-to-dev розділ\n"
16281 #: ../fish/guestfish-actions.pod:3679
16282 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3679
16283 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5567
16284 #: ../src/guestfs-actions.pod:5567
16286 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
16287 "partition number, returning the device name (eg. \"/dev/sdb\")."
16291 #: ../fish/guestfish-actions.pod:3683
16292 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3683
16294 "The named partition must exist, for example as a string returned from L</"
16295 "list-partitions>."
16299 #: ../fish/guestfish-actions.pod:3686
16300 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3686
16301 msgid "ping-daemon"
16302 msgstr "ping-daemon"
16305 #: ../fish/guestfish-actions.pod:3688
16306 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3688
16316 #: ../fish/guestfish-actions.pod:3690
16317 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3690
16318 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5584
16319 #: ../src/guestfs-actions.pod:5584
16321 "This is a test probe into the guestfs daemon running inside the qemu "
16322 "subprocess. Calling this function checks that the daemon responds to the "
16323 "ping message, without affecting the daemon or attached block device(s) in "
16328 #: ../fish/guestfish-actions.pod:3695
16329 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3695
16334 #: ../fish/guestfish-actions.pod:3697
16335 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3697
16338 " pread path count offset\n"
16343 #: ../fish/guestfish-actions.pod:3699
16344 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3699
16345 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5602
16346 #: ../src/guestfs-actions.pod:5602
16348 "This command lets you read part of a file. It reads C<count> bytes of the "
16349 "file, starting at C<offset>, from file C<path>."
16353 #: ../fish/guestfish-actions.pod:3702 ../fish/guestfish-actions.pod:3717
16354 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3702
16355 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3717
16356 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5605
16357 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5631
16358 #: ../src/guestfs-actions.pod:5605 ../src/guestfs-actions.pod:5631
16360 "This may read fewer bytes than requested. For further details see the "
16361 "L<pread(2)> system call."
16365 #: ../fish/guestfish-actions.pod:3705
16366 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3705
16367 msgid "See also L</pwrite>, L</pread-device>."
16368 msgstr "Див. також L</pwrite>, L</pread-device>."
16371 #: ../fish/guestfish-actions.pod:3710
16372 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3710
16373 msgid "pread-device"
16374 msgstr "pread-device"
16377 #: ../fish/guestfish-actions.pod:3712
16378 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3712
16381 " pread-device device count offset\n"
16386 #: ../fish/guestfish-actions.pod:3714
16387 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3714
16388 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5628
16389 #: ../src/guestfs-actions.pod:5628
16391 "This command lets you read part of a file. It reads C<count> bytes of "
16392 "C<device>, starting at C<offset>."
16396 #: ../fish/guestfish-actions.pod:3720
16397 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3720
16398 msgid "See also L</pread>."
16399 msgstr "Див. також L</pread>."
16402 #: ../fish/guestfish-actions.pod:3725
16403 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3725
16408 #: ../fish/guestfish-actions.pod:3727
16409 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3727
16412 " pvcreate device\n"
16415 " pvcreate пристрій\n"
16419 #: ../fish/guestfish-actions.pod:3729
16420 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3729
16421 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5651
16422 #: ../src/guestfs-actions.pod:5651
16424 "This creates an LVM physical volume on the named C<device>, where C<device> "
16425 "should usually be a partition name such as C</dev/sda1>."
16429 #: ../fish/guestfish-actions.pod:3733
16430 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3733
16435 #: ../fish/guestfish-actions.pod:3735
16436 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3735
16439 " pvremove device\n"
16442 " pvremove пристрій\n"
16446 #: ../fish/guestfish-actions.pod:3737
16447 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3737
16448 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5665
16449 #: ../src/guestfs-actions.pod:5665
16451 "This wipes a physical volume C<device> so that LVM will no longer recognise "
16456 #: ../fish/guestfish-actions.pod:3740
16457 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3740
16458 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5668
16459 #: ../src/guestfs-actions.pod:5668
16461 "The implementation uses the C<pvremove> command which refuses to wipe "
16462 "physical volumes that contain any volume groups, so you have to remove those "
16467 #: ../fish/guestfish-actions.pod:3744
16468 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3744
16473 #: ../fish/guestfish-actions.pod:3746
16474 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3746
16477 " pvresize device\n"
16480 " pvresize пристрій\n"
16484 #: ../fish/guestfish-actions.pod:3748
16485 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3748
16486 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5682
16487 #: ../src/guestfs-actions.pod:5682
16489 "This resizes (expands or shrinks) an existing LVM physical volume to match "
16490 "the new size of the underlying device."
16494 #: ../fish/guestfish-actions.pod:3751
16495 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3751
16496 msgid "pvresize-size"
16497 msgstr "pvresize-size"
16500 #: ../fish/guestfish-actions.pod:3753
16501 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3753
16504 " pvresize-size device size\n"
16509 #: ../fish/guestfish-actions.pod:3755
16510 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3755
16512 "This command is the same as L</pvresize> except that it allows you to "
16513 "specify the new size (in bytes) explicitly."
16517 #: ../fish/guestfish-actions.pod:3758
16518 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3758
16523 #: ../fish/guestfish-actions.pod:3760
16524 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3760
16534 #: ../fish/guestfish-actions.pod:3762
16535 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3762
16536 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5708
16537 #: ../src/guestfs-actions.pod:5708
16539 "List all the physical volumes detected. This is the equivalent of the L<pvs"
16544 #: ../fish/guestfish-actions.pod:3765
16545 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3765
16546 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5711
16547 #: ../src/guestfs-actions.pod:5711
16549 "This returns a list of just the device names that contain PVs (eg. C</dev/"
16554 #: ../fish/guestfish-actions.pod:3768
16555 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3768
16556 msgid "See also L</pvs-full>."
16557 msgstr "Див. також L</pvs-full>."
16560 #: ../fish/guestfish-actions.pod:3770
16561 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3770
16566 #: ../fish/guestfish-actions.pod:3772
16567 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3772
16577 #: ../fish/guestfish-actions.pod:3774
16578 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3774
16579 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5727
16580 #: ../src/guestfs-actions.pod:5727
16582 "List all the physical volumes detected. This is the equivalent of the L<pvs"
16583 "(8)> command. The \"full\" version includes all fields."
16587 #: ../fish/guestfish-actions.pod:3777
16588 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3777
16593 #: ../fish/guestfish-actions.pod:3779
16594 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3779
16600 " pvuuid пристрій\n"
16604 #: ../fish/guestfish-actions.pod:3781
16605 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3781
16606 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5742
16607 #: ../src/guestfs-actions.pod:5742
16608 msgid "This command returns the UUID of the LVM PV C<device>."
16612 #: ../fish/guestfish-actions.pod:3783
16613 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3783
16618 #: ../fish/guestfish-actions.pod:3785
16619 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3785
16622 " pwrite path content offset\n"
16627 #: ../fish/guestfish-actions.pod:3787
16628 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3787
16629 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5758
16630 #: ../src/guestfs-actions.pod:5758
16632 "This command writes to part of a file. It writes the data buffer C<content> "
16633 "to the file C<path> starting at offset C<offset>."
16637 #: ../fish/guestfish-actions.pod:3790
16638 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3790
16639 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5761
16640 #: ../src/guestfs-actions.pod:5761
16642 "This command implements the L<pwrite(2)> system call, and like that system "
16643 "call it may not write the full data requested. The return value is the "
16644 "number of bytes that were actually written to the file. This could even be "
16645 "0, although short writes are unlikely for regular files in ordinary "
16650 #: ../fish/guestfish-actions.pod:3796
16651 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3796
16652 msgid "See also L</pread>, L</pwrite-device>."
16653 msgstr "Див. також L</pread>, L</pwrite-device>."
16656 #: ../fish/guestfish-actions.pod:3801
16657 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3801
16658 msgid "pwrite-device"
16659 msgstr "pwrite-device"
16662 #: ../fish/guestfish-actions.pod:3803
16663 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3803
16666 " pwrite-device device content offset\n"
16671 #: ../fish/guestfish-actions.pod:3805
16672 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3805
16673 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5785
16674 #: ../src/guestfs-actions.pod:5785
16676 "This command writes to part of a device. It writes the data buffer "
16677 "C<content> to C<device> starting at offset C<offset>."
16681 #: ../fish/guestfish-actions.pod:3808
16682 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3808
16683 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5788
16684 #: ../src/guestfs-actions.pod:5788
16686 "This command implements the L<pwrite(2)> system call, and like that system "
16687 "call it may not write the full data requested (although short writes to disk "
16688 "devices and partitions are probably impossible with standard Linux kernels)."
16692 #: ../fish/guestfish-actions.pod:3813
16693 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3813
16694 msgid "See also L</pwrite>."
16695 msgstr "Див. також L</pwrite>."
16698 #: ../fish/guestfish-actions.pod:3818
16699 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3818
16704 #: ../fish/guestfish-actions.pod:3820
16705 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3820
16708 " read-file path\n"
16711 " read-file шлях\n"
16715 #: ../fish/guestfish-actions.pod:3822
16716 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3822
16717 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5809
16718 #: ../src/guestfs-actions.pod:5809
16719 msgid "This calls returns the contents of the file C<path> as a buffer."
16723 #: ../fish/guestfish-actions.pod:3825
16724 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3825
16726 "Unlike L</cat>, this function can correctly handle files that contain "
16727 "embedded ASCII NUL characters. However unlike L</download>, this function "
16728 "is limited in the total size of file that can be handled."
16732 #: ../fish/guestfish-actions.pod:3833
16733 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3833
16735 msgstr "read-lines"
16738 #: ../fish/guestfish-actions.pod:3835
16739 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3835
16742 " read-lines path\n"
16745 " read-lines шлях\n"
16749 #: ../fish/guestfish-actions.pod:3839
16750 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3839
16751 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5834
16752 #: ../src/guestfs-actions.pod:5834
16754 "The file contents are returned as a list of lines. Trailing C<LF> and "
16755 "C<CRLF> character sequences are I<not> returned."
16759 #: ../fish/guestfish-actions.pod:3842
16760 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3842
16762 "Note that this function cannot correctly handle binary files (specifically, "
16763 "files containing C<\\0> character which is treated as end of line). For "
16764 "those you need to use the L</read-file> function which has a more complex "
16769 #: ../fish/guestfish-actions.pod:3847
16770 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3847
16775 #: ../fish/guestfish-actions.pod:3849
16776 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3849
16782 " readdir каталог\n"
16786 #: ../fish/guestfish-actions.pod:3851
16787 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3851
16788 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5854
16789 #: ../src/guestfs-actions.pod:5854
16790 msgid "This returns the list of directory entries in directory C<dir>."
16794 #: ../fish/guestfish-actions.pod:3853
16795 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3853
16796 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5856
16797 #: ../src/guestfs-actions.pod:5856
16799 "All entries in the directory are returned, including C<.> and C<..>. The "
16800 "entries are I<not> sorted, but returned in the same order as the underlying "
16805 #: ../fish/guestfish-actions.pod:3857
16806 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3857
16807 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5860
16808 #: ../src/guestfs-actions.pod:5860
16810 "Also this call returns basic file type information about each file. The "
16811 "C<ftyp> field will contain one of the following characters:"
16815 #: ../fish/guestfish-actions.pod:3862
16816 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3862
16817 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5865
16818 #: ../src/guestfs-actions.pod:5865
16823 #: ../fish/guestfish-actions.pod:3864
16824 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3864
16825 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5867
16826 #: ../src/guestfs-actions.pod:5867
16827 msgid "Block special"
16828 msgstr "Блоковий особливий"
16831 #: ../fish/guestfish-actions.pod:3866
16832 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3866
16833 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5869
16834 #: ../src/guestfs-actions.pod:5869
16839 #: ../fish/guestfish-actions.pod:3868
16840 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3868
16841 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5871
16842 #: ../src/guestfs-actions.pod:5871
16843 msgid "Char special"
16844 msgstr "Символьний особливий"
16847 #: ../fish/guestfish-actions.pod:3870
16848 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3870
16849 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5873
16850 #: ../src/guestfs-actions.pod:5873
16855 #: ../fish/guestfish-actions.pod:3872
16856 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3872
16857 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5875
16858 #: ../src/guestfs-actions.pod:5875
16863 #: ../fish/guestfish-actions.pod:3874
16864 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3874
16865 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5877
16866 #: ../src/guestfs-actions.pod:5877
16871 #: ../fish/guestfish-actions.pod:3876
16872 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3876
16873 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5879
16874 #: ../src/guestfs-actions.pod:5879
16875 msgid "FIFO (named pipe)"
16876 msgstr "FIFO (іменований канал)"
16879 #: ../fish/guestfish-actions.pod:3878
16880 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3878
16881 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5881
16882 #: ../src/guestfs-actions.pod:5881
16887 #: ../fish/guestfish-actions.pod:3880
16888 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3880
16889 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5883
16890 #: ../src/guestfs-actions.pod:5883
16891 msgid "Symbolic link"
16892 msgstr "Символічне посилання"
16895 #: ../fish/guestfish-actions.pod:3882
16896 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3882
16897 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5885
16898 #: ../src/guestfs-actions.pod:5885
16903 #: ../fish/guestfish-actions.pod:3884
16904 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3884
16905 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5887
16906 #: ../src/guestfs-actions.pod:5887
16907 msgid "Regular file"
16908 msgstr "Звичайний файл"
16911 #: ../fish/guestfish-actions.pod:3886
16912 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3886
16913 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5889
16914 #: ../src/guestfs-actions.pod:5889
16919 #: ../fish/guestfish-actions.pod:3888
16920 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3888
16921 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5891
16922 #: ../src/guestfs-actions.pod:5891
16927 #: ../fish/guestfish-actions.pod:3890
16928 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3890
16929 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5893
16930 #: ../src/guestfs-actions.pod:5893
16935 #: ../fish/guestfish-actions.pod:3892
16936 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3892
16937 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5895
16938 #: ../src/guestfs-actions.pod:5895
16939 msgid "Unknown file type"
16940 msgstr "Невідомий тип файла"
16943 #: ../fish/guestfish-actions.pod:3894
16944 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3894
16945 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5897
16946 #: ../src/guestfs-actions.pod:5897
16951 #: ../fish/guestfish-actions.pod:3896
16952 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3896
16953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5899
16954 #: ../src/guestfs-actions.pod:5899
16956 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
16960 #: ../fish/guestfish-actions.pod:3901
16961 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3901
16963 "This function is primarily intended for use by programs. To get a simple "
16964 "list of names, use L</ls>. To get a printable directory for human "
16965 "consumption, use L</ll>."
16969 #: ../fish/guestfish-actions.pod:3905
16970 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3905
16975 #: ../fish/guestfish-actions.pod:3907
16976 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3907
16986 #: ../fish/guestfish-actions.pod:3909
16987 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3909
16988 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5920
16989 #: ../src/guestfs-actions.pod:5920
16990 msgid "This command reads the target of a symbolic link."
16994 #: ../fish/guestfish-actions.pod:3911
16995 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3911
16996 msgid "readlinklist"
16997 msgstr "readlinklist"
17000 #: ../fish/guestfish-actions.pod:3913
17001 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3913
17004 " readlinklist path 'names ...'\n"
17009 #: ../fish/guestfish-actions.pod:3915
17010 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3915
17011 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5934
17012 #: ../src/guestfs-actions.pod:5934
17014 "This call allows you to do a C<readlink> operation on multiple files, where "
17015 "all files are in the directory C<path>. C<names> is the list of files from "
17020 #: ../fish/guestfish-actions.pod:3919
17021 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3919
17022 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5938
17023 #: ../src/guestfs-actions.pod:5938
17025 "On return you get a list of strings, with a one-to-one correspondence to the "
17026 "C<names> list. Each string is the value of the symbolic link."
17030 #: ../fish/guestfish-actions.pod:3923
17031 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3923
17032 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5942
17033 #: ../src/guestfs-actions.pod:5942
17035 "If the C<readlink(2)> operation fails on any name, then the corresponding "
17036 "result string is the empty string C<\"\">. However the whole operation is "
17037 "completed even if there were C<readlink(2)> errors, and so you can call this "
17038 "function with names where you don't know if they are symbolic links already "
17039 "(albeit slightly less efficient)."
17043 #: ../fish/guestfish-actions.pod:3930
17044 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3930
17045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5949
17046 #: ../src/guestfs-actions.pod:5949
17048 "This call is intended for programs that want to efficiently list a directory "
17049 "contents without making many round-trips. Very long directory listings "
17050 "might cause the protocol message size to be exceeded, causing this call to "
17051 "fail. The caller must split up such requests into smaller groups of names."
17055 #: ../fish/guestfish-actions.pod:3937
17056 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3937
17061 #: ../fish/guestfish-actions.pod:3939
17062 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3939
17072 #: ../fish/guestfish-actions.pod:3941
17073 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3941
17074 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5968
17075 #: ../src/guestfs-actions.pod:5968
17077 "Return the canonicalized absolute pathname of C<path>. The returned path "
17078 "has no C<.>, C<..> or symbolic link path elements."
17082 #: ../fish/guestfish-actions.pod:3944
17083 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3944
17084 msgid "removexattr"
17085 msgstr "removexattr"
17088 #: ../fish/guestfish-actions.pod:3946
17089 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3946
17092 " removexattr xattr path\n"
17097 #: ../fish/guestfish-actions.pod:3948
17098 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3948
17099 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5983
17100 #: ../src/guestfs-actions.pod:5983
17102 "This call removes the extended attribute named C<xattr> of the file C<path>."
17106 #: ../fish/guestfish-actions.pod:3951
17107 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3951
17108 msgid "See also: L</lremovexattr>, L<attr(5)>."
17109 msgstr "Див. також L</lremovexattr>, L<attr(5)>."
17112 #: ../fish/guestfish-actions.pod:3953
17113 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3953
17118 #: ../fish/guestfish-actions.pod:3955
17119 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3955
17122 " resize2fs device\n"
17125 " resize2fs пристрій\n"
17129 #: ../fish/guestfish-actions.pod:3957
17130 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3957
17131 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5998
17132 #: ../src/guestfs-actions.pod:5998
17134 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
17135 "underlying device."
17139 #: ../fish/guestfish-actions.pod:3960
17140 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3960
17142 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
17143 "before calling this command. For unknown reasons C<resize2fs> sometimes "
17144 "gives an error about this and sometimes not. In any case, it is always safe "
17145 "to call L</e2fsck-f> before calling this function."
17149 #: ../fish/guestfish-actions.pod:3966
17150 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3966
17151 msgid "resize2fs-M"
17152 msgstr "resize2fs-M"
17155 #: ../fish/guestfish-actions.pod:3968
17156 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3968
17159 " resize2fs-M device\n"
17162 " resize2fs-M пристрій\n"
17166 #: ../fish/guestfish-actions.pod:3970
17167 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3970
17169 "This command is the same as L</resize2fs>, but the filesystem is resized to "
17170 "its minimum size. This works like the I<-M> option to the C<resize2fs> "
17175 #: ../fish/guestfish-actions.pod:3974
17176 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3974
17178 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
17179 "and read the C<Block size> and C<Block count> values. These two numbers, "
17180 "multiplied together, give the resulting size of the minimal filesystem in "
17185 #: ../fish/guestfish-actions.pod:3979
17186 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3979
17187 msgid "resize2fs-size"
17188 msgstr "resize2fs-size"
17191 #: ../fish/guestfish-actions.pod:3981
17192 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3981
17195 " resize2fs-size device size\n"
17200 #: ../fish/guestfish-actions.pod:3983
17201 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3983
17203 "This command is the same as L</resize2fs> except that it allows you to "
17204 "specify the new size (in bytes) explicitly."
17208 #: ../fish/guestfish-actions.pod:3986
17209 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3986
17214 #: ../fish/guestfish-actions.pod:3988
17215 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3988
17225 #: ../fish/guestfish-actions.pod:3990
17226 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3990
17227 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6050
17228 #: ../src/guestfs-actions.pod:6050
17229 msgid "Remove the single file C<path>."
17233 #: ../fish/guestfish-actions.pod:3992
17234 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3992
17239 #: ../fish/guestfish-actions.pod:3994
17240 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3994
17250 #: ../fish/guestfish-actions.pod:3996
17251 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:3996
17252 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6062
17253 #: ../src/guestfs-actions.pod:6062
17255 "Remove the file or directory C<path>, recursively removing the contents if "
17256 "its a directory. This is like the C<rm -rf> shell command."
17260 #: ../fish/guestfish-actions.pod:4000
17261 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4000
17266 #: ../fish/guestfish-actions.pod:4002
17267 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4002
17277 #: ../fish/guestfish-actions.pod:4004
17278 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4004
17279 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6076
17280 #: ../src/guestfs-actions.pod:6076
17281 msgid "Remove the single directory C<path>."
17285 #: ../fish/guestfish-actions.pod:4006
17286 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4006
17287 msgid "rmmountpoint"
17288 msgstr "rmmountpoint"
17291 #: ../fish/guestfish-actions.pod:4008
17292 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4008
17295 " rmmountpoint exemptpath\n"
17300 #: ../fish/guestfish-actions.pod:4010
17301 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4010
17303 "This calls removes a mountpoint that was previously created with L</"
17304 "mkmountpoint>. See L</mkmountpoint> for full details."
17308 #: ../fish/guestfish-actions.pod:4014
17309 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4014
17310 msgid "scrub-device"
17311 msgstr "scrub-device"
17314 #: ../fish/guestfish-actions.pod:4016
17315 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4016
17318 " scrub-device device\n"
17321 " scrub-device пристрій\n"
17325 #: ../fish/guestfish-actions.pod:4018
17326 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4018
17327 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6102
17328 #: ../src/guestfs-actions.pod:6102
17330 "This command writes patterns over C<device> to make data retrieval more "
17335 #: ../fish/guestfish-actions.pod:4021 ../fish/guestfish-actions.pod:4036
17336 #: ../fish/guestfish-actions.pod:4049
17337 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4021
17338 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4036
17339 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4049
17340 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6105
17341 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6126
17342 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6145
17343 #: ../src/guestfs-actions.pod:6105 ../src/guestfs-actions.pod:6126
17344 #: ../src/guestfs-actions.pod:6145
17346 "It is an interface to the L<scrub(1)> program. See that manual page for "
17351 #: ../fish/guestfish-actions.pod:4027
17352 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4027
17354 msgstr "scrub-file"
17357 #: ../fish/guestfish-actions.pod:4029
17358 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4029
17361 " scrub-file file\n"
17364 " scrub-file файл\n"
17368 #: ../fish/guestfish-actions.pod:4031
17369 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4031
17370 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6121
17371 #: ../src/guestfs-actions.pod:6121
17373 "This command writes patterns over a file to make data retrieval more "
17378 #: ../fish/guestfish-actions.pod:4034
17379 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4034
17380 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6124
17381 #: ../src/guestfs-actions.pod:6124
17382 msgid "The file is I<removed> after scrubbing."
17386 #: ../fish/guestfish-actions.pod:4039
17387 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4039
17388 msgid "scrub-freespace"
17389 msgstr "scrub-freespace"
17392 #: ../fish/guestfish-actions.pod:4041
17393 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4041
17396 " scrub-freespace dir\n"
17399 " scrub-freespace каталог\n"
17403 #: ../fish/guestfish-actions.pod:4043
17404 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4043
17406 "This command creates the directory C<dir> and then fills it with files until "
17407 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
17408 "deletes them. The intention is to scrub any free space on the partition "
17409 "containing C<dir>."
17413 #: ../fish/guestfish-actions.pod:4052
17414 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4052
17416 msgstr "set-append"
17419 #: ../fish/guestfish-actions.pod:4054
17420 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4054
17425 #: ../fish/guestfish-actions.pod:4056
17426 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4056
17429 " set-append append\n"
17434 #: ../fish/guestfish-actions.pod:4058
17435 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4058
17436 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6158
17437 #: ../src/guestfs-actions.pod:6158
17439 "This function is used to add additional options to the guest kernel command "
17444 #: ../fish/guestfish-actions.pod:4061
17445 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4061
17446 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6161
17447 #: ../src/guestfs-actions.pod:6161
17449 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
17450 "environment variable."
17454 #: ../fish/guestfish-actions.pod:4064
17455 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4064
17456 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6164
17457 #: ../src/guestfs-actions.pod:6164
17459 "Setting C<append> to C<NULL> means I<no> additional options are passed "
17460 "(libguestfs always adds a few of its own)."
17464 #: ../fish/guestfish-actions.pod:4067
17465 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4067
17466 msgid "set-attach-method"
17467 msgstr "set-attach-method"
17470 #: ../fish/guestfish-actions.pod:4069
17471 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4069
17472 msgid "attach-method"
17476 #: ../fish/guestfish-actions.pod:4071
17477 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4071
17480 " set-attach-method attachmethod\n"
17485 #: ../fish/guestfish-actions.pod:4073
17486 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4073
17487 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6177
17488 #: ../src/guestfs-actions.pod:6177
17490 "Set the method that libguestfs uses to connect to the back end guestfsd "
17491 "daemon. Possible methods are:"
17495 #: ../fish/guestfish-actions.pod:4078
17496 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4078
17497 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6182
17498 #: ../libguestfs-1.11.19/src/guestfs.pod:2687 ../src/guestfs-actions.pod:6182
17499 #: ../src/guestfs.pod:2687
17500 msgid "C<appliance>"
17501 msgstr "C<appliance>"
17504 #: ../fish/guestfish-actions.pod:4080
17505 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4080
17506 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6184
17507 #: ../src/guestfs-actions.pod:6184
17509 "Launch an appliance and connect to it. This is the ordinary method and the "
17514 #: ../fish/guestfish-actions.pod:4083
17515 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4083
17516 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6187
17517 #: ../src/guestfs-actions.pod:6187
17518 msgid "C<unix:I<path>>"
17519 msgstr "C<unix:I<шлях>>"
17522 #: ../fish/guestfish-actions.pod:4085
17523 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4085
17524 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6189
17525 #: ../src/guestfs-actions.pod:6189
17526 msgid "Connect to the Unix domain socket I<path>."
17527 msgstr "Встановити з’єднання з сокетом домену Unix I<шлях>."
17530 #: ../fish/guestfish-actions.pod:4087
17531 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4087
17532 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6191
17533 #: ../src/guestfs-actions.pod:6191
17535 "This method lets you connect to an existing daemon or (using virtio-serial) "
17536 "to a live guest. For more information, see L<guestfs(3)/ATTACHING TO "
17537 "RUNNING DAEMONS>."
17541 #: ../fish/guestfish-actions.pod:4093
17542 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4093
17543 msgid "set-autosync"
17544 msgstr "set-autosync"
17547 #: ../fish/guestfish-actions.pod:4095
17548 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4095
17553 #: ../fish/guestfish-actions.pod:4097
17554 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4097
17557 " set-autosync true|false\n"
17560 " set-autosync true|false\n"
17564 #: ../fish/guestfish-actions.pod:4099
17565 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4099
17566 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6207
17567 #: ../src/guestfs-actions.pod:6207
17569 "If C<autosync> is true, this enables autosync. Libguestfs will make a best "
17570 "effort attempt to make filesystems consistent and synchronized when the "
17571 "handle is closed (also if the program exits without closing handles)."
17575 #: ../fish/guestfish-actions.pod:4104
17576 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4104
17577 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6212
17578 #: ../src/guestfs-actions.pod:6212
17580 "This is enabled by default (since libguestfs 1.5.24, previously it was "
17581 "disabled by default)."
17585 #: ../fish/guestfish-actions.pod:4107
17586 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4107
17588 msgstr "set-direct"
17591 #: ../fish/guestfish-actions.pod:4109
17592 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4109
17597 #: ../fish/guestfish-actions.pod:4111
17598 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4111
17601 " set-direct true|false\n"
17604 " set-direct true|false\n"
17608 #: ../fish/guestfish-actions.pod:4113
17609 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4113
17610 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6225
17611 #: ../src/guestfs-actions.pod:6225
17613 "If the direct appliance mode flag is enabled, then stdin and stdout are "
17614 "passed directly through to the appliance once it is launched."
17618 #: ../fish/guestfish-actions.pod:4117
17619 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4117
17621 "One consequence of this is that log messages aren't caught by the library "
17622 "and handled by L</set-log-message-callback>, but go straight to stdout."
17626 #: ../fish/guestfish-actions.pod:4121
17627 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4121
17628 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6233
17629 #: ../src/guestfs-actions.pod:6233
17630 msgid "You probably don't want to use this unless you know what you are doing."
17634 #: ../fish/guestfish-actions.pod:4124
17635 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4124
17636 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6236
17637 #: ../src/guestfs-actions.pod:6236
17638 msgid "The default is disabled."
17642 #: ../fish/guestfish-actions.pod:4126
17643 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4126
17644 msgid "set-e2label"
17645 msgstr "set-e2label"
17648 #: ../fish/guestfish-actions.pod:4128
17649 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4128
17652 " set-e2label device label\n"
17657 #: ../fish/guestfish-actions.pod:4130
17658 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4130
17659 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6249
17660 #: ../src/guestfs-actions.pod:6249
17662 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
17663 "C<label>. Filesystem labels are limited to 16 characters."
17667 #: ../fish/guestfish-actions.pod:4134
17668 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4134
17670 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
17671 "label on a filesystem."
17675 #: ../fish/guestfish-actions.pod:4137
17676 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4137
17678 msgstr "set-e2uuid"
17681 #: ../fish/guestfish-actions.pod:4139
17682 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4139
17685 " set-e2uuid device uuid\n"
17690 #: ../fish/guestfish-actions.pod:4141
17691 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4141
17692 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6267
17693 #: ../src/guestfs-actions.pod:6267
17695 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
17696 "C<uuid>. The format of the UUID and alternatives such as C<clear>, "
17697 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
17701 #: ../fish/guestfish-actions.pod:4146
17702 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4146
17704 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
17705 "UUID of a filesystem."
17709 #: ../fish/guestfish-actions.pod:4149
17710 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4149
17711 msgid "set-memsize"
17712 msgstr "set-memsize"
17715 #: ../fish/guestfish-actions.pod:4151
17716 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4151
17721 #: ../fish/guestfish-actions.pod:4153
17722 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4153
17725 " set-memsize memsize\n"
17730 #: ../fish/guestfish-actions.pod:4155
17731 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4155
17733 "This sets the memory size in megabytes allocated to the qemu subprocess. "
17734 "This only has any effect if called before L</launch>."
17738 #: ../fish/guestfish-actions.pod:4159
17739 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4159
17740 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6289
17741 #: ../src/guestfs-actions.pod:6289
17743 "You can also change this by setting the environment variable "
17744 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
17748 #: ../fish/guestfish-actions.pod:4166
17749 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4166
17750 msgid "set-network"
17751 msgstr "set-network"
17754 #: ../fish/guestfish-actions.pod:4168
17755 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4168
17760 #: ../fish/guestfish-actions.pod:4170
17761 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4170
17764 " set-network true|false\n"
17767 " set-network true|false\n"
17771 #: ../fish/guestfish-actions.pod:4172
17772 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4172
17773 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6306
17774 #: ../src/guestfs-actions.pod:6306
17776 "If C<network> is true, then the network is enabled in the libguestfs "
17777 "appliance. The default is false."
17781 #: ../fish/guestfish-actions.pod:4175
17782 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4175
17783 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6309
17784 #: ../src/guestfs-actions.pod:6309
17786 "This affects whether commands are able to access the network (see L<guestfs"
17787 "(3)/RUNNING COMMANDS>)."
17791 #: ../fish/guestfish-actions.pod:4178
17792 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4178
17794 "You must call this before calling L</launch>, otherwise it has no effect."
17798 #: ../fish/guestfish-actions.pod:4181
17799 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4181
17804 #: ../fish/guestfish-actions.pod:4185
17805 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4185
17808 " set-path searchpath\n"
17813 #: ../fish/guestfish-actions.pod:4187
17814 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4187
17815 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6325
17816 #: ../src/guestfs-actions.pod:6325
17817 msgid "Set the path that libguestfs searches for kernel and initrd.img."
17821 #: ../fish/guestfish-actions.pod:4189
17822 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4189
17823 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6327
17824 #: ../src/guestfs-actions.pod:6327
17826 "The default is C<$libdir/guestfs> unless overridden by setting "
17827 "C<LIBGUESTFS_PATH> environment variable."
17831 #: ../fish/guestfish-actions.pod:4192
17832 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4192
17833 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6330
17834 #: ../src/guestfs-actions.pod:6330
17835 msgid "Setting C<path> to C<NULL> restores the default path."
17839 #: ../fish/guestfish-actions.pod:4194
17840 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4194
17845 #: ../fish/guestfish-actions.pod:4196
17846 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4196
17851 #: ../fish/guestfish-actions.pod:4198
17852 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4198
17855 " set-pgroup true|false\n"
17860 #: ../fish/guestfish-actions.pod:4200
17861 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4200
17862 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6342
17863 #: ../src/guestfs-actions.pod:6342
17865 "If C<pgroup> is true, child processes are placed into their own process "
17870 #: ../fish/guestfish-actions.pod:4203
17871 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4203
17872 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6345
17873 #: ../src/guestfs-actions.pod:6345
17875 "The practical upshot of this is that signals like C<SIGINT> (from users "
17876 "pressing C<^C>) won't be received by the child process."
17880 #: ../fish/guestfish-actions.pod:4206
17881 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4206
17882 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6348
17883 #: ../src/guestfs-actions.pod:6348
17885 "The default for this flag is false, because usually you want C<^C> to kill "
17890 #: ../fish/guestfish-actions.pod:4209
17891 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4209
17896 #: ../fish/guestfish-actions.pod:4211
17897 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4211
17902 #: ../fish/guestfish-actions.pod:4213
17903 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4213
17913 #: ../fish/guestfish-actions.pod:4215
17914 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4215
17915 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6361
17916 #: ../src/guestfs-actions.pod:6361
17917 msgid "Set the qemu binary that we will use."
17921 #: ../fish/guestfish-actions.pod:4217
17922 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4217
17923 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6363
17924 #: ../src/guestfs-actions.pod:6363
17926 "The default is chosen when the library was compiled by the configure script."
17930 #: ../fish/guestfish-actions.pod:4220
17931 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4220
17932 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6366
17933 #: ../src/guestfs-actions.pod:6366
17935 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
17940 #: ../fish/guestfish-actions.pod:4223
17941 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4223
17942 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6369
17943 #: ../src/guestfs-actions.pod:6369
17944 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
17948 #: ../fish/guestfish-actions.pod:4225
17949 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4225
17950 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6371
17951 #: ../src/guestfs-actions.pod:6371
17953 "Note that you should call this function as early as possible after creating "
17954 "the handle. This is because some pre-launch operations depend on testing "
17955 "qemu features (by running C<qemu -help>). If the qemu binary changes, we "
17956 "don't retest features, and so you might see inconsistent results. Using the "
17957 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
17958 "the qemu binary at the same time as the handle is created."
17962 #: ../fish/guestfish-actions.pod:4233
17963 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4233
17964 msgid "set-recovery-proc"
17965 msgstr "set-recovery-proc"
17968 #: ../fish/guestfish-actions.pod:4235
17969 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4235
17970 msgid "recovery-proc"
17971 msgstr "recovery-proc"
17974 #: ../fish/guestfish-actions.pod:4237
17975 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4237
17978 " set-recovery-proc true|false\n"
17981 " set-recovery-proc true|false\n"
17985 #: ../fish/guestfish-actions.pod:4239
17986 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4239
17988 "If this is called with the parameter C<false> then L</launch> does not "
17989 "create a recovery process. The purpose of the recovery process is to stop "
17990 "runaway qemu processes in the case where the main program aborts abruptly."
17994 #: ../fish/guestfish-actions.pod:4244
17995 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4244
17997 "This only has any effect if called before L</launch>, and the default is "
18002 #: ../fish/guestfish-actions.pod:4247
18003 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4247
18004 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6397
18005 #: ../src/guestfs-actions.pod:6397
18007 "About the only time when you would want to disable this is if the main "
18008 "process will fork itself into the background (\"daemonize\" itself). In "
18009 "this case the recovery process thinks that the main program has disappeared "
18010 "and so kills qemu, which is not very helpful."
18014 #: ../fish/guestfish-actions.pod:4253
18015 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4253
18016 msgid "set-selinux"
18017 msgstr "set-selinux"
18020 #: ../fish/guestfish-actions.pod:4255
18021 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4255
18026 #: ../fish/guestfish-actions.pod:4257
18027 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4257
18030 " set-selinux true|false\n"
18033 " set-selinux true|false\n"
18037 #: ../fish/guestfish-actions.pod:4259
18038 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4259
18039 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6413
18040 #: ../src/guestfs-actions.pod:6413
18042 "This sets the selinux flag that is passed to the appliance at boot time. "
18043 "The default is C<selinux=0> (disabled)."
18047 #: ../fish/guestfish-actions.pod:4262
18048 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4262
18049 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6416
18050 #: ../src/guestfs-actions.pod:6416
18052 "Note that if SELinux is enabled, it is always in Permissive mode "
18053 "(C<enforcing=0>)."
18057 #: ../fish/guestfish-actions.pod:4268
18058 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4268
18063 #: ../fish/guestfish-actions.pod:4270
18064 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4270
18069 #: ../fish/guestfish-actions.pod:4272
18070 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4272
18073 " set-trace true|false\n"
18076 " set-trace true|false\n"
18080 #: ../fish/guestfish-actions.pod:4274
18081 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4274
18082 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6432
18083 #: ../src/guestfs-actions.pod:6432
18085 "If the command trace flag is set to 1, then libguestfs calls, parameters and "
18086 "return values are traced."
18090 #: ../fish/guestfish-actions.pod:4277
18091 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4277
18092 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6435
18093 #: ../src/guestfs-actions.pod:6435
18095 "If you want to trace C API calls into libguestfs (and other libraries) then "
18096 "possibly a better way is to use the external ltrace(1) command."
18100 #: ../fish/guestfish-actions.pod:4281
18101 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4281
18102 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6439
18103 #: ../src/guestfs-actions.pod:6439
18105 "Command traces are disabled unless the environment variable "
18106 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
18110 #: ../fish/guestfish-actions.pod:4284
18111 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4284
18113 "Trace messages are normally sent to C<stderr>, unless you register a "
18114 "callback to send them somewhere else (see L</set-event-callback>)."
18118 #: ../fish/guestfish-actions.pod:4288
18119 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4288
18120 msgid "set-verbose"
18121 msgstr "set-verbose"
18124 #: ../fish/guestfish-actions.pod:4290
18125 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4290
18130 #: ../fish/guestfish-actions.pod:4292
18131 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4292
18134 " set-verbose true|false\n"
18137 " set-verbose true|false\n"
18141 #: ../fish/guestfish-actions.pod:4294
18142 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4294
18143 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6456
18144 #: ../src/guestfs-actions.pod:6456
18145 msgid "If C<verbose> is true, this turns on verbose messages."
18149 #: ../fish/guestfish-actions.pod:4296
18150 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4296
18151 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6458
18152 #: ../src/guestfs-actions.pod:6458
18154 "Verbose messages are disabled unless the environment variable "
18155 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
18159 #: ../fish/guestfish-actions.pod:4299
18160 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4299
18162 "Verbose messages are normally sent to C<stderr>, unless you register a "
18163 "callback to send them somewhere else (see L</set-event-callback>)."
18167 #: ../fish/guestfish-actions.pod:4303
18168 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4303
18173 #: ../fish/guestfish-actions.pod:4305
18174 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4305
18177 " setcon context\n"
18180 " setcon контекст\n"
18184 #: ../fish/guestfish-actions.pod:4307
18185 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4307
18186 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6475
18187 #: ../src/guestfs-actions.pod:6475
18189 "This sets the SELinux security context of the daemon to the string "
18194 #: ../fish/guestfish-actions.pod:4310
18195 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4310
18196 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6478
18197 #: ../src/guestfs-actions.pod:6478
18198 msgid "See the documentation about SELINUX in L<guestfs(3)>."
18202 #: ../fish/guestfish-actions.pod:4312
18203 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4312
18208 #: ../fish/guestfish-actions.pod:4314
18209 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4314
18212 " setxattr xattr val vallen path\n"
18217 #: ../fish/guestfish-actions.pod:4316
18218 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4316
18219 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6493
18220 #: ../src/guestfs-actions.pod:6493
18222 "This call sets the extended attribute named C<xattr> of the file C<path> to "
18223 "the value C<val> (of length C<vallen>). The value is arbitrary 8 bit data."
18227 #: ../fish/guestfish-actions.pod:4320
18228 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4320
18229 msgid "See also: L</lsetxattr>, L<attr(5)>."
18230 msgstr "Див. також L</lsetxattr>, L<attr(5)>."
18233 #: ../fish/guestfish-actions.pod:4322
18234 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4322
18239 #: ../fish/guestfish-actions.pod:4324
18240 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4324
18243 " sfdisk device cyls heads sectors 'lines ...'\n"
18248 #: ../fish/guestfish-actions.pod:4326
18249 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4326
18250 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6513
18251 #: ../src/guestfs-actions.pod:6513
18253 "This is a direct interface to the L<sfdisk(8)> program for creating "
18254 "partitions on block devices."
18258 #: ../fish/guestfish-actions.pod:4329
18259 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4329
18260 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6516
18261 #: ../src/guestfs-actions.pod:6516
18262 msgid "C<device> should be a block device, for example C</dev/sda>."
18266 #: ../fish/guestfish-actions.pod:4331
18267 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4331
18268 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6518
18269 #: ../src/guestfs-actions.pod:6518
18271 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
18272 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
18273 "H> and I<-S> parameters. If you pass C<0> for any of these, then the "
18274 "corresponding parameter is omitted. Usually for 'large' disks, you can just "
18275 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
18276 "the kernel) cannot work out the right geometry and you will need to tell it."
18280 #: ../fish/guestfish-actions.pod:4339
18281 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4339
18282 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6526
18283 #: ../src/guestfs-actions.pod:6526
18285 "C<lines> is a list of lines that we feed to C<sfdisk>. For more information "
18286 "refer to the L<sfdisk(8)> manpage."
18290 #: ../fish/guestfish-actions.pod:4342
18291 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4342
18292 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6529
18293 #: ../src/guestfs-actions.pod:6529
18295 "To create a single partition occupying the whole disk, you would pass "
18296 "C<lines> as a single element list, when the single element being the string "
18301 #: ../fish/guestfish-actions.pod:4346
18302 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4346
18303 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
18304 msgstr "Див. також L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
18307 #: ../fish/guestfish-actions.pod:4352 ../fish/guestfish-actions.pod:4375
18308 #: ../fish/guestfish-actions.pod:4397
18309 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4352
18310 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4375
18311 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4397
18312 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6541
18313 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6571
18314 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6604
18315 #: ../src/guestfs-actions.pod:6541 ../src/guestfs-actions.pod:6571
18316 #: ../src/guestfs-actions.pod:6604
18318 "This function is deprecated. In new code, use the C<part_add> call instead."
18322 #: ../fish/guestfish-actions.pod:4359
18323 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4359
18328 #: ../fish/guestfish-actions.pod:4361
18329 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4361
18332 " sfdiskM device 'lines ...'\n"
18337 #: ../fish/guestfish-actions.pod:4363
18338 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4363
18340 "This is a simplified interface to the L</sfdisk> command, where partition "
18341 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
18342 "you don't need to specify the cyls, heads and sectors parameters which were "
18343 "rarely if ever used anyway."
18347 #: ../fish/guestfish-actions.pod:4369
18348 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4369
18349 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
18351 "Див також L</sfdisk>, сторінку довідки (man) L<sfdisk(8)> та L</part-disk>"
18354 #: ../fish/guestfish-actions.pod:4382
18355 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4382
18360 #: ../fish/guestfish-actions.pod:4384
18361 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4384
18364 " sfdisk-N device partnum cyls heads sectors line\n"
18369 #: ../fish/guestfish-actions.pod:4386
18370 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4386
18371 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6591
18372 #: ../src/guestfs-actions.pod:6591
18374 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
18375 "(note: C<n> counts from 1)."
18379 #: ../fish/guestfish-actions.pod:4389
18380 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4389
18382 "For other parameters, see L</sfdisk>. You should usually pass C<0> for the "
18383 "cyls/heads/sectors parameters."
18387 #: ../fish/guestfish-actions.pod:4392
18388 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4392
18389 msgid "See also: L</part-add>"
18390 msgstr "Див. також L</part-add>"
18393 #: ../fish/guestfish-actions.pod:4404
18394 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4404
18395 msgid "sfdisk-disk-geometry"
18396 msgstr "sfdisk-disk-geometry"
18399 #: ../fish/guestfish-actions.pod:4406
18400 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4406
18403 " sfdisk-disk-geometry device\n"
18406 " sfdisk-disk-geometry пристрій\n"
18410 #: ../fish/guestfish-actions.pod:4408
18411 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4408
18413 "This displays the disk geometry of C<device> read from the partition table. "
18414 "Especially in the case where the underlying block device has been resized, "
18415 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
18416 "kernel-geometry>)."
18420 #: ../fish/guestfish-actions.pod:4413 ../fish/guestfish-actions.pod:4422
18421 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4413
18422 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4422
18423 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6624
18424 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6640
18425 #: ../src/guestfs-actions.pod:6624 ../src/guestfs-actions.pod:6640
18426 msgid "The result is in human-readable format, and not designed to be parsed."
18430 #: ../fish/guestfish-actions.pod:4416
18431 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4416
18432 msgid "sfdisk-kernel-geometry"
18433 msgstr "sfdisk-kernel-geometry"
18436 #: ../fish/guestfish-actions.pod:4418
18437 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4418
18440 " sfdisk-kernel-geometry device\n"
18443 " sfdisk-kernel-geometry пристрій\n"
18447 #: ../fish/guestfish-actions.pod:4420
18448 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4420
18449 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6638
18450 #: ../src/guestfs-actions.pod:6638
18451 msgid "This displays the kernel's idea of the geometry of C<device>."
18455 #: ../fish/guestfish-actions.pod:4425
18456 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4425
18461 #: ../fish/guestfish-actions.pod:4427
18462 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4427
18465 " sfdisk-l device\n"
18468 " sfdisk-l пристрій\n"
18472 #: ../fish/guestfish-actions.pod:4429
18473 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4429
18474 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6654
18475 #: ../src/guestfs-actions.pod:6654
18477 "This displays the partition table on C<device>, in the human-readable output "
18478 "of the L<sfdisk(8)> command. It is not intended to be parsed."
18482 #: ../fish/guestfish-actions.pod:4433
18483 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4433
18484 msgid "See also: L</part-list>"
18485 msgstr "Див. також L</part-list>"
18488 #: ../fish/guestfish-actions.pod:4435
18489 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4435
18490 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6663
18491 #: ../src/guestfs-actions.pod:6663
18493 "This function is deprecated. In new code, use the C<part_list> call instead."
18497 #: ../fish/guestfish-actions.pod:4442
18498 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4442
18503 #: ../fish/guestfish-actions.pod:4444
18504 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4444
18514 #: ../fish/guestfish-actions.pod:4446
18515 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4446
18516 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6678
18517 #: ../src/guestfs-actions.pod:6678
18519 "This call runs a command from the guest filesystem via the guest's C</bin/"
18524 #: ../fish/guestfish-actions.pod:4449
18525 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4449
18526 msgid "This is like L</command>, but passes the command to:"
18530 #: ../fish/guestfish-actions.pod:4451
18531 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4451
18532 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6683
18533 #: ../src/guestfs-actions.pod:6683
18536 " /bin/sh -c \"command\"\n"
18541 #: ../fish/guestfish-actions.pod:4453
18542 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4453
18543 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6685
18544 #: ../src/guestfs-actions.pod:6685
18546 "Depending on the guest's shell, this usually results in wildcards being "
18547 "expanded, shell expressions being interpolated and so on."
18551 #: ../fish/guestfish-actions.pod:4457
18552 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4457
18553 msgid "All the provisos about L</command> apply to this call."
18557 #: ../fish/guestfish-actions.pod:4459
18558 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4459
18563 #: ../fish/guestfish-actions.pod:4461
18564 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4461
18567 " sh-lines command\n"
18570 " sh-lines команда\n"
18574 #: ../fish/guestfish-actions.pod:4463
18575 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4463
18576 msgid "This is the same as L</sh>, but splits the result into a list of lines."
18580 #: ../fish/guestfish-actions.pod:4466
18581 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4466
18582 msgid "See also: L</command-lines>"
18583 msgstr "Див. також L</command-lines>"
18586 #: ../fish/guestfish-actions.pod:4468
18587 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4468
18592 #: ../fish/guestfish-actions.pod:4470
18593 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4470
18599 " sleep час_у_секундах\n"
18603 #: ../fish/guestfish-actions.pod:4472
18604 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4472
18605 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6719
18606 #: ../src/guestfs-actions.pod:6719
18607 msgid "Sleep for C<secs> seconds."
18611 #: ../fish/guestfish-actions.pod:4474
18612 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4474
18617 #: ../fish/guestfish-actions.pod:4476
18618 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4476
18628 #: ../fish/guestfish-actions.pod:4480
18629 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4480
18630 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6733
18631 #: ../src/guestfs-actions.pod:6733
18632 msgid "This is the same as the C<stat(2)> system call."
18636 #: ../fish/guestfish-actions.pod:4482
18637 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4482
18642 #: ../fish/guestfish-actions.pod:4484
18643 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4484
18653 #: ../fish/guestfish-actions.pod:4486
18654 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4486
18655 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6747
18656 #: ../src/guestfs-actions.pod:6747
18658 "Returns file system statistics for any mounted file system. C<path> should "
18659 "be a file or directory in the mounted file system (typically it is the mount "
18660 "point itself, but it doesn't need to be)."
18664 #: ../fish/guestfish-actions.pod:4490
18665 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4490
18666 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6751
18667 #: ../src/guestfs-actions.pod:6751
18668 msgid "This is the same as the C<statvfs(2)> system call."
18672 #: ../fish/guestfish-actions.pod:4492
18673 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4492
18678 #: ../fish/guestfish-actions.pod:4494
18679 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4494
18689 #: ../fish/guestfish-actions.pod:4496
18690 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4496
18691 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6765
18692 #: ../src/guestfs-actions.pod:6765
18694 "This runs the L<strings(1)> command on a file and returns the list of "
18695 "printable strings found."
18699 #: ../fish/guestfish-actions.pod:4502
18700 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4502
18705 #: ../fish/guestfish-actions.pod:4504
18706 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4504
18709 " strings-e encoding path\n"
18712 " strings-e кодування шлях\n"
18716 #: ../fish/guestfish-actions.pod:4506
18717 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4506
18719 "This is like the L</strings> command, but allows you to specify the encoding "
18720 "of strings that are looked for in the source file C<path>."
18724 #: ../fish/guestfish-actions.pod:4510
18725 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4510
18726 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6788
18727 #: ../src/guestfs-actions.pod:6788
18728 msgid "Allowed encodings are:"
18729 msgstr "Можливими кодуваннями є:"
18732 #: ../fish/guestfish-actions.pod:4514
18733 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4514
18734 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6792
18735 #: ../src/guestfs-actions.pod:6792
18740 #: ../fish/guestfish-actions.pod:4516
18741 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4516
18743 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
18744 "ISO-8859-X (this is what L</strings> uses)."
18748 #: ../fish/guestfish-actions.pod:4519
18749 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4519
18750 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6797
18751 #: ../src/guestfs-actions.pod:6797
18756 #: ../fish/guestfish-actions.pod:4521
18757 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4521
18758 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6799
18759 #: ../src/guestfs-actions.pod:6799
18760 msgid "Single 8-bit-byte characters."
18761 msgstr "Окремі 8-бітові-байтові символи."
18764 #: ../fish/guestfish-actions.pod:4523
18765 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4523
18766 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6801
18767 #: ../src/guestfs-actions.pod:6801
18772 #: ../fish/guestfish-actions.pod:4525
18773 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4525
18774 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6803
18775 #: ../src/guestfs-actions.pod:6803
18776 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
18780 #: ../fish/guestfish-actions.pod:4528
18781 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4528
18782 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6806
18783 #: ../src/guestfs-actions.pod:6806
18784 msgid "l (lower case letter L)"
18788 #: ../fish/guestfish-actions.pod:4530
18789 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4530
18790 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6808
18791 #: ../src/guestfs-actions.pod:6808
18793 "16-bit little endian such as UTF-16LE and UCS-2LE. This is useful for "
18794 "examining binaries in Windows guests."
18798 #: ../fish/guestfish-actions.pod:4533
18799 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4533
18800 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6811
18801 #: ../src/guestfs-actions.pod:6811
18806 #: ../fish/guestfish-actions.pod:4535
18807 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4535
18808 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6813
18809 #: ../src/guestfs-actions.pod:6813
18810 msgid "32-bit big endian such as UCS-4BE."
18814 #: ../fish/guestfish-actions.pod:4537
18815 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4537
18816 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6815
18817 #: ../src/guestfs-actions.pod:6815
18822 #: ../fish/guestfish-actions.pod:4539
18823 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4539
18824 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6817
18825 #: ../src/guestfs-actions.pod:6817
18826 msgid "32-bit little endian such as UCS-4LE."
18830 #: ../fish/guestfish-actions.pod:4543
18831 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4543
18832 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6821
18833 #: ../src/guestfs-actions.pod:6821
18834 msgid "The returned strings are transcoded to UTF-8."
18838 #: ../fish/guestfish-actions.pod:4548
18839 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4548
18840 msgid "swapoff-device"
18841 msgstr "swapoff-device"
18844 #: ../fish/guestfish-actions.pod:4550
18845 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4550
18848 " swapoff-device device\n"
18851 " swapoff-device пристрій\n"
18855 #: ../fish/guestfish-actions.pod:4552
18856 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4552
18858 "This command disables the libguestfs appliance swap device or partition "
18859 "named C<device>. See L</swapon-device>."
18863 #: ../fish/guestfish-actions.pod:4556
18864 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4556
18865 msgid "swapoff-file"
18866 msgstr "swapoff-file"
18869 #: ../fish/guestfish-actions.pod:4558
18870 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4558
18873 " swapoff-file file\n"
18876 " swapoff-file файл\n"
18880 #: ../fish/guestfish-actions.pod:4560
18881 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4560
18882 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6852
18883 #: ../src/guestfs-actions.pod:6852
18884 msgid "This command disables the libguestfs appliance swap on file."
18888 #: ../fish/guestfish-actions.pod:4562
18889 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4562
18890 msgid "swapoff-label"
18891 msgstr "swapoff-label"
18894 #: ../fish/guestfish-actions.pod:4564
18895 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4564
18898 " swapoff-label label\n"
18901 " swapoff-label мітка\n"
18905 #: ../fish/guestfish-actions.pod:4566
18906 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4566
18907 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6864
18908 #: ../src/guestfs-actions.pod:6864
18910 "This command disables the libguestfs appliance swap on labeled swap "
18915 #: ../fish/guestfish-actions.pod:4569
18916 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4569
18917 msgid "swapoff-uuid"
18918 msgstr "swapoff-uuid"
18921 #: ../fish/guestfish-actions.pod:4571
18922 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4571
18925 " swapoff-uuid uuid\n"
18928 " swapoff-uuid uuid\n"
18932 #: ../fish/guestfish-actions.pod:4573
18933 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4573
18934 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6877
18935 #: ../src/guestfs-actions.pod:6877
18937 "This command disables the libguestfs appliance swap partition with the given "
18942 #: ../fish/guestfish-actions.pod:4576
18943 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4576
18944 msgid "swapon-device"
18945 msgstr "swapon-device"
18948 #: ../fish/guestfish-actions.pod:4578
18949 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4578
18952 " swapon-device device\n"
18955 " swapon-device пристрій\n"
18959 #: ../fish/guestfish-actions.pod:4580
18960 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4580
18962 "This command enables the libguestfs appliance to use the swap device or "
18963 "partition named C<device>. The increased memory is made available for all "
18964 "commands, for example those run using L</command> or L</sh>."
18968 #: ../fish/guestfish-actions.pod:4585
18969 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4585
18970 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6895
18971 #: ../src/guestfs-actions.pod:6895
18973 "Note that you should not swap to existing guest swap partitions unless you "
18974 "know what you are doing. They may contain hibernation information, or other "
18975 "information that the guest doesn't want you to trash. You also risk leaking "
18976 "information about the host to the guest this way. Instead, attach a new "
18977 "host device to the guest and swap on that."
18981 #: ../fish/guestfish-actions.pod:4592
18982 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4592
18983 msgid "swapon-file"
18984 msgstr "swapon-file"
18987 #: ../fish/guestfish-actions.pod:4594
18988 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4594
18991 " swapon-file file\n"
18994 " swapon-file файл\n"
18998 #: ../fish/guestfish-actions.pod:4596
18999 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4596
19001 "This command enables swap to a file. See L</swapon-device> for other notes."
19005 #: ../fish/guestfish-actions.pod:4599
19006 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4599
19007 msgid "swapon-label"
19008 msgstr "swapon-label"
19011 #: ../fish/guestfish-actions.pod:4601
19012 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4601
19015 " swapon-label label\n"
19018 " swapon-label мітка\n"
19022 #: ../fish/guestfish-actions.pod:4603
19023 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4603
19025 "This command enables swap to a labeled swap partition. See L</swapon-"
19026 "device> for other notes."
19030 #: ../fish/guestfish-actions.pod:4606
19031 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4606
19032 msgid "swapon-uuid"
19033 msgstr "swapon-uuid"
19036 #: ../fish/guestfish-actions.pod:4608
19037 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4608
19040 " swapon-uuid uuid\n"
19043 " swapon-uuid uuid\n"
19047 #: ../fish/guestfish-actions.pod:4610
19048 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4610
19050 "This command enables swap to a swap partition with the given UUID. See L</"
19051 "swapon-device> for other notes."
19055 #: ../fish/guestfish-actions.pod:4613
19056 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4613
19061 #: ../fish/guestfish-actions.pod:4615
19062 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4615
19072 #: ../fish/guestfish-actions.pod:4617
19073 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4617
19074 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6950
19075 #: ../src/guestfs-actions.pod:6950
19077 "This syncs the disk, so that any writes are flushed through to the "
19078 "underlying disk image."
19082 #: ../fish/guestfish-actions.pod:4620
19083 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4620
19084 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6953
19085 #: ../src/guestfs-actions.pod:6953
19087 "You should always call this if you have modified a disk image, before "
19088 "closing the handle."
19092 #: ../fish/guestfish-actions.pod:4623
19093 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4623
19098 #: ../fish/guestfish-actions.pod:4625
19099 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4625
19109 #: ../fish/guestfish-actions.pod:4627
19110 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4627
19111 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6966
19112 #: ../src/guestfs-actions.pod:6966
19114 "This command returns up to the last 10 lines of a file as a list of strings."
19118 #: ../fish/guestfish-actions.pod:4633
19119 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4633
19124 #: ../fish/guestfish-actions.pod:4635
19125 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4635
19128 " tail-n nrlines path\n"
19133 #: ../fish/guestfish-actions.pod:4637
19134 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4637
19135 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6985
19136 #: ../src/guestfs-actions.pod:6985
19138 "If the parameter C<nrlines> is a positive number, this returns the last "
19139 "C<nrlines> lines of the file C<path>."
19143 #: ../fish/guestfish-actions.pod:4640
19144 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4640
19145 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6988
19146 #: ../src/guestfs-actions.pod:6988
19148 "If the parameter C<nrlines> is a negative number, this returns lines from "
19149 "the file C<path>, starting with the C<-nrlines>th line."
19153 #: ../fish/guestfish-actions.pod:4648
19154 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4648
19159 #: ../fish/guestfish-actions.pod:4650
19160 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4650
19163 " tar-in (tarfile|-) directory\n"
19166 " tar-in (файл_tar|-) каталог\n"
19170 #: ../fish/guestfish-actions.pod:4652
19171 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4652
19172 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7009
19173 #: ../src/guestfs-actions.pod:7009
19175 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
19176 "tar file) into C<directory>."
19180 #: ../fish/guestfish-actions.pod:4655
19181 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4655
19182 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
19186 #: ../fish/guestfish-actions.pod:4660
19187 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4660
19192 #: ../fish/guestfish-actions.pod:4662
19193 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4662
19196 " tar-out directory (tarfile|-)\n"
19199 " tar-out каталог (файл tar|-)\n"
19203 #: ../fish/guestfish-actions.pod:4664
19204 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4664
19205 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7026
19206 #: ../src/guestfs-actions.pod:7026
19208 "This command packs the contents of C<directory> and downloads it to local "
19213 #: ../fish/guestfish-actions.pod:4667
19214 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4667
19215 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
19219 #: ../fish/guestfish-actions.pod:4672
19220 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4672
19225 #: ../fish/guestfish-actions.pod:4674
19226 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4674
19229 " tgz-in (tarball|-) directory\n"
19232 " tgz-in (архів tar|-) каталог\n"
19236 #: ../fish/guestfish-actions.pod:4676
19237 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4676
19238 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7043
19239 #: ../src/guestfs-actions.pod:7043
19241 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
19242 "tar file) into C<directory>."
19246 #: ../fish/guestfish-actions.pod:4679
19247 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4679
19248 msgid "To upload an uncompressed tarball, use L</tar-in>."
19252 #: ../fish/guestfish-actions.pod:4683
19253 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4683
19258 #: ../fish/guestfish-actions.pod:4685
19259 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4685
19262 " tgz-out directory (tarball|-)\n"
19265 " tgz-out каталог (архів tar|-)\n"
19269 #: ../fish/guestfish-actions.pod:4687
19270 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4687
19271 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7059
19272 #: ../src/guestfs-actions.pod:7059
19274 "This command packs the contents of C<directory> and downloads it to local "
19279 #: ../fish/guestfish-actions.pod:4690
19280 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4690
19281 msgid "To download an uncompressed tarball, use L</tar-out>."
19285 #: ../fish/guestfish-actions.pod:4694
19286 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4694
19291 #: ../fish/guestfish-actions.pod:4696
19292 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4696
19302 #: ../fish/guestfish-actions.pod:4698
19303 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4698
19304 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7074
19305 #: ../src/guestfs-actions.pod:7074
19307 "Touch acts like the L<touch(1)> command. It can be used to update the "
19308 "timestamps on a file, or, if the file does not exist, to create a new zero-"
19313 #: ../fish/guestfish-actions.pod:4702
19314 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4702
19315 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7078
19316 #: ../src/guestfs-actions.pod:7078
19318 "This command only works on regular files, and will fail on other file types "
19319 "such as directories, symbolic links, block special etc."
19323 #: ../fish/guestfish-actions.pod:4705
19324 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4705
19329 #: ../fish/guestfish-actions.pod:4707
19330 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4707
19340 #: ../fish/guestfish-actions.pod:4709
19341 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4709
19342 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7091
19343 #: ../src/guestfs-actions.pod:7091
19345 "This command truncates C<path> to a zero-length file. The file must exist "
19350 #: ../fish/guestfish-actions.pod:4712
19351 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4712
19352 msgid "truncate-size"
19353 msgstr "truncate-size"
19356 #: ../fish/guestfish-actions.pod:4714
19357 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4714
19360 " truncate-size path size\n"
19363 " truncate-size шлях розмір\n"
19367 #: ../fish/guestfish-actions.pod:4716
19368 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4716
19369 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7105
19370 #: ../src/guestfs-actions.pod:7105
19372 "This command truncates C<path> to size C<size> bytes. The file must exist "
19377 #: ../fish/guestfish-actions.pod:4719
19378 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4719
19380 "If the current file size is less than C<size> then the file is extended to "
19381 "the required size with zero bytes. This creates a sparse file (ie. disk "
19382 "blocks are not allocated for the file until you write to it). To create a "
19383 "non-sparse file of zeroes, use L</fallocate64> instead."
19387 #: ../fish/guestfish-actions.pod:4725
19388 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4725
19393 #: ../fish/guestfish-actions.pod:4727
19394 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4727
19397 " tune2fs-l device\n"
19400 " tune2fs-l пристрій\n"
19404 #: ../fish/guestfish-actions.pod:4729
19405 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4729
19406 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7124
19407 #: ../src/guestfs-actions.pod:7124
19409 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
19414 #: ../fish/guestfish-actions.pod:4732
19415 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4732
19416 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7127
19417 #: ../src/guestfs-actions.pod:7127
19419 "It is the same as running C<tune2fs -l device>. See L<tune2fs(8)> manpage "
19420 "for more details. The list of fields returned isn't clearly defined, and "
19421 "depends on both the version of C<tune2fs> that libguestfs was built against, "
19422 "and the filesystem itself."
19426 #: ../fish/guestfish-actions.pod:4737
19427 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4737
19432 #: ../fish/guestfish-actions.pod:4739
19433 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4739
19436 " txz-in (tarball|-) directory\n"
19439 " txz-in (архів tar|-) каталог\n"
19443 #: ../fish/guestfish-actions.pod:4741
19444 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4741
19445 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7147
19446 #: ../src/guestfs-actions.pod:7147
19448 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
19449 "tar file) into C<directory>."
19453 #: ../fish/guestfish-actions.pod:4746
19454 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4746
19459 #: ../fish/guestfish-actions.pod:4748
19460 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4748
19463 " txz-out directory (tarball|-)\n"
19466 " txz-out каталог (архів tar|-)\n"
19470 #: ../fish/guestfish-actions.pod:4750
19471 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4750
19472 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7161
19473 #: ../src/guestfs-actions.pod:7161
19475 "This command packs the contents of C<directory> and downloads it to local "
19476 "file C<tarball> (as an xz compressed tar archive)."
19480 #: ../fish/guestfish-actions.pod:4755
19481 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4755
19486 #: ../fish/guestfish-actions.pod:4757
19487 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4757
19497 #: ../fish/guestfish-actions.pod:4759
19498 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4759
19499 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7174
19500 #: ../src/guestfs-actions.pod:7174
19502 "This function sets the mask used for creating new files and device nodes to "
19507 #: ../fish/guestfish-actions.pod:4762
19508 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4762
19509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7177
19510 #: ../src/guestfs-actions.pod:7177
19512 "Typical umask values would be C<022> which creates new files with "
19513 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
19514 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
19518 #: ../fish/guestfish-actions.pod:4767
19519 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4767
19520 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7182
19521 #: ../src/guestfs-actions.pod:7182
19523 "The default umask is C<022>. This is important because it means that "
19524 "directories and device nodes will be created with C<0644> or C<0755> mode "
19525 "even if you specify C<0777>."
19529 #: ../fish/guestfish-actions.pod:4771
19530 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4771
19531 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
19532 msgstr "Див. також L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
19535 #: ../fish/guestfish-actions.pod:4774
19536 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4774
19537 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7189
19538 #: ../src/guestfs-actions.pod:7189
19539 msgid "This call returns the previous umask."
19543 #: ../fish/guestfish-actions.pod:4776
19544 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4776
19549 #: ../fish/guestfish-actions.pod:4778
19550 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4778
19555 #: ../fish/guestfish-actions.pod:4780
19556 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4780
19559 " umount pathordevice\n"
19562 " umount шлях_або_пристрій\n"
19566 #: ../fish/guestfish-actions.pod:4782
19567 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4782
19568 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7201
19569 #: ../src/guestfs-actions.pod:7201
19571 "This unmounts the given filesystem. The filesystem may be specified either "
19572 "by its mountpoint (path) or the device which contains the filesystem."
19576 #: ../fish/guestfish-actions.pod:4786
19577 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4786
19579 msgstr "umount-all"
19582 #: ../fish/guestfish-actions.pod:4788
19583 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4788
19584 msgid "unmount-all"
19585 msgstr "unmount-all"
19588 #: ../fish/guestfish-actions.pod:4790
19589 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4790
19599 #: ../fish/guestfish-actions.pod:4792
19600 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4792
19601 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7214
19602 #: ../src/guestfs-actions.pod:7214
19603 msgid "This unmounts all mounted filesystems."
19607 #: ../fish/guestfish-actions.pod:4794
19608 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4794
19609 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7216
19610 #: ../src/guestfs-actions.pod:7216
19611 msgid "Some internal mounts are not unmounted by this call."
19615 #: ../fish/guestfish-actions.pod:4796
19616 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4796
19621 #: ../fish/guestfish-actions.pod:4798
19622 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4798
19625 " upload (filename|-) remotefilename\n"
19628 " upload (назва_файла|-) назва_віддаленого_файла\n"
19632 #: ../fish/guestfish-actions.pod:4800 ../fish/guestfish-actions.pod:4813
19633 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4800
19634 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4813
19635 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7229
19636 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7253
19637 #: ../src/guestfs-actions.pod:7229 ../src/guestfs-actions.pod:7253
19638 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
19642 #: ../fish/guestfish-actions.pod:4805
19643 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4805
19644 msgid "See also L</download>."
19645 msgstr "Див. також L</download>."
19648 #: ../fish/guestfish-actions.pod:4809
19649 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4809
19650 msgid "upload-offset"
19651 msgstr "upload-offset"
19654 #: ../fish/guestfish-actions.pod:4811
19655 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4811
19658 " upload-offset (filename|-) remotefilename offset\n"
19661 " upload-offset (назва_файла|-) назва_віддаленого_файла відступ\n"
19665 #: ../fish/guestfish-actions.pod:4816
19666 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4816
19667 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7256
19668 #: ../src/guestfs-actions.pod:7256
19670 "C<remotefilename> is overwritten starting at the byte C<offset> specified. "
19671 "The intention is to overwrite parts of existing files or devices, although "
19672 "if a non-existant file is specified then it is created with a \"hole\" "
19673 "before C<offset>. The size of the data written is implicit in the size of "
19674 "the source C<filename>."
19678 #: ../fish/guestfish-actions.pod:4823
19679 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4823
19681 "Note that there is no limit on the amount of data that can be uploaded with "
19682 "this call, unlike with L</pwrite>, and this call always writes the full "
19683 "amount unless an error occurs."
19687 #: ../fish/guestfish-actions.pod:4828
19688 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4828
19689 msgid "See also L</upload>, L</pwrite>."
19690 msgstr "Див. також L</upload>, L</pwrite>."
19693 #: ../fish/guestfish-actions.pod:4832
19694 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4832
19699 #: ../fish/guestfish-actions.pod:4834
19700 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4834
19703 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
19708 #: ../fish/guestfish-actions.pod:4836
19709 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4836
19710 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7289
19711 #: ../src/guestfs-actions.pod:7289
19712 msgid "This command sets the timestamps of a file with nanosecond precision."
19716 #: ../fish/guestfish-actions.pod:4839
19717 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4839
19718 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7292
19719 #: ../src/guestfs-actions.pod:7292
19721 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
19726 #: ../fish/guestfish-actions.pod:4842
19727 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4842
19728 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7295
19729 #: ../src/guestfs-actions.pod:7295
19731 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
19732 "nanoseconds from the epoch."
19736 #: ../fish/guestfish-actions.pod:4845
19737 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4845
19738 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7298
19739 #: ../src/guestfs-actions.pod:7298
19741 "If the C<*nsecs> field contains the special value C<-1> then the "
19742 "corresponding timestamp is set to the current time. (The C<*secs> field is "
19743 "ignored in this case)."
19747 #: ../fish/guestfish-actions.pod:4849
19748 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4849
19749 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7302
19750 #: ../src/guestfs-actions.pod:7302
19752 "If the C<*nsecs> field contains the special value C<-2> then the "
19753 "corresponding timestamp is left unchanged. (The C<*secs> field is ignored "
19758 #: ../fish/guestfish-actions.pod:4853
19759 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4853
19764 #: ../fish/guestfish-actions.pod:4855
19765 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4855
19775 #: ../fish/guestfish-actions.pod:4857
19776 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4857
19777 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7315
19778 #: ../src/guestfs-actions.pod:7315
19780 "Return the libguestfs version number that the program is linked against."
19784 #: ../fish/guestfish-actions.pod:4860
19785 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4860
19786 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7318
19787 #: ../src/guestfs-actions.pod:7318
19789 "Note that because of dynamic linking this is not necessarily the version of "
19790 "libguestfs that you compiled against. You can compile the program, and then "
19791 "at runtime dynamically link against a completely different C<libguestfs.so> "
19796 #: ../fish/guestfish-actions.pod:4865
19797 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4865
19798 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7323
19799 #: ../src/guestfs-actions.pod:7323
19801 "This call was added in version C<1.0.58>. In previous versions of "
19802 "libguestfs there was no way to get the version number. From C code you can "
19803 "use dynamic linker functions to find out if this symbol exists (if it "
19804 "doesn't, then it's an earlier version)."
19808 #: ../fish/guestfish-actions.pod:4871
19809 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4871
19810 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7329
19811 #: ../src/guestfs-actions.pod:7329
19813 "The call returns a structure with four elements. The first three (C<major>, "
19814 "C<minor> and C<release>) are numbers and correspond to the usual version "
19815 "triplet. The fourth element (C<extra>) is a string and is normally empty, "
19816 "but may be used for distro-specific information."
19820 #: ../fish/guestfish-actions.pod:4877
19821 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4877
19822 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7335
19823 #: ../src/guestfs-actions.pod:7335
19825 "To construct the original version string: C<$major.$minor.$release$extra>"
19829 #: ../fish/guestfish-actions.pod:4880
19830 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4880
19831 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7338
19832 #: ../src/guestfs-actions.pod:7338
19833 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
19837 #: ../fish/guestfish-actions.pod:4882
19838 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4882
19840 "I<Note:> Don't use this call to test for availability of features. In "
19841 "enterprise distributions we backport features from later versions into "
19842 "earlier versions, making this an unreliable way to test for features. Use "
19843 "L</available> instead."
19847 #: ../fish/guestfish-actions.pod:4888
19848 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4888
19853 #: ../fish/guestfish-actions.pod:4890
19854 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4890
19857 " vfs-label device\n"
19860 " vfs-label пристрій\n"
19864 #: ../fish/guestfish-actions.pod:4892
19865 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4892
19866 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7358
19867 #: ../src/guestfs-actions.pod:7358
19868 msgid "This returns the filesystem label of the filesystem on C<device>."
19872 #: ../fish/guestfish-actions.pod:4895
19873 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4895
19874 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7361
19875 #: ../src/guestfs-actions.pod:7361
19876 msgid "If the filesystem is unlabeled, this returns the empty string."
19880 #: ../fish/guestfish-actions.pod:4897
19881 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4897
19882 msgid "To find a filesystem from the label, use L</findfs-label>."
19886 #: ../fish/guestfish-actions.pod:4899
19887 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4899
19892 #: ../fish/guestfish-actions.pod:4901
19893 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4901
19896 " vfs-type device\n"
19899 " vfs-type пристрій\n"
19903 #: ../fish/guestfish-actions.pod:4903
19904 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4903
19905 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7376
19906 #: ../src/guestfs-actions.pod:7376
19908 "This command gets the filesystem type corresponding to the filesystem on "
19913 #: ../fish/guestfish-actions.pod:4906
19914 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4906
19915 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7379
19916 #: ../src/guestfs-actions.pod:7379
19918 "For most filesystems, the result is the name of the Linux VFS module which "
19919 "would be used to mount this filesystem if you mounted it without specifying "
19920 "the filesystem type. For example a string such as C<ext3> or C<ntfs>."
19924 #: ../fish/guestfish-actions.pod:4911
19925 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4911
19930 #: ../fish/guestfish-actions.pod:4913
19931 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4913
19934 " vfs-uuid device\n"
19937 " vfs-uuid пристрій\n"
19941 #: ../fish/guestfish-actions.pod:4915
19942 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4915
19943 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7395
19944 #: ../src/guestfs-actions.pod:7395
19945 msgid "This returns the filesystem UUID of the filesystem on C<device>."
19949 #: ../fish/guestfish-actions.pod:4918
19950 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4918
19951 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7398
19952 #: ../src/guestfs-actions.pod:7398
19953 msgid "If the filesystem does not have a UUID, this returns the empty string."
19957 #: ../fish/guestfish-actions.pod:4920
19958 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4920
19959 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
19963 #: ../fish/guestfish-actions.pod:4922
19964 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4922
19965 msgid "vg-activate"
19966 msgstr "vg-activate"
19969 #: ../fish/guestfish-actions.pod:4924
19970 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4924
19973 " vg-activate true|false 'volgroups ...'\n"
19978 #: ../fish/guestfish-actions.pod:4926
19979 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4926
19980 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7414
19981 #: ../src/guestfs-actions.pod:7414
19983 "This command activates or (if C<activate> is false) deactivates all logical "
19984 "volumes in the listed volume groups C<volgroups>."
19988 #: ../fish/guestfish-actions.pod:4929
19989 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4929
19990 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7417
19991 #: ../src/guestfs-actions.pod:7417
19992 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
19996 #: ../fish/guestfish-actions.pod:4931
19997 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4931
19998 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7419
19999 #: ../src/guestfs-actions.pod:7419
20001 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
20002 "activated or deactivated."
20006 #: ../fish/guestfish-actions.pod:4934
20007 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4934
20008 msgid "vg-activate-all"
20009 msgstr "vg-activate-all"
20012 #: ../fish/guestfish-actions.pod:4936
20013 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4936
20016 " vg-activate-all true|false\n"
20019 " vg-activate-all true|false\n"
20023 #: ../fish/guestfish-actions.pod:4938
20024 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4938
20025 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7432
20026 #: ../src/guestfs-actions.pod:7432
20028 "This command activates or (if C<activate> is false) deactivates all logical "
20029 "volumes in all volume groups."
20033 #: ../fish/guestfish-actions.pod:4941
20034 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4941
20035 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7435
20036 #: ../src/guestfs-actions.pod:7435
20037 msgid "This command is the same as running C<vgchange -a y|n>"
20041 #: ../fish/guestfish-actions.pod:4943
20042 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4943
20047 #: ../fish/guestfish-actions.pod:4945
20048 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4945
20051 " vgcreate volgroup 'physvols ...'\n"
20056 #: ../fish/guestfish-actions.pod:4947
20057 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4947
20058 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7448
20059 #: ../src/guestfs-actions.pod:7448
20061 "This creates an LVM volume group called C<volgroup> from the non-empty list "
20062 "of physical volumes C<physvols>."
20066 #: ../fish/guestfish-actions.pod:4950
20067 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4950
20072 #: ../fish/guestfish-actions.pod:4952
20073 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4952
20076 " vglvuuids vgname\n"
20081 #: ../fish/guestfish-actions.pod:4954
20082 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4954
20083 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7461
20084 #: ../src/guestfs-actions.pod:7461
20086 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
20087 "volumes created in this volume group."
20091 #: ../fish/guestfish-actions.pod:4957
20092 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4957
20094 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
20095 "logical volumes and volume groups."
20099 #: ../fish/guestfish-actions.pod:4960
20100 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4960
20101 msgid "See also L</vgpvuuids>."
20102 msgstr "Див. також L</vgpvuuids>."
20105 #: ../fish/guestfish-actions.pod:4962
20106 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4962
20111 #: ../fish/guestfish-actions.pod:4964
20112 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4964
20115 " vgpvuuids vgname\n"
20120 #: ../fish/guestfish-actions.pod:4966
20121 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4966
20122 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7481
20123 #: ../src/guestfs-actions.pod:7481
20125 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
20126 "volumes that this volume group resides on."
20130 #: ../fish/guestfish-actions.pod:4969
20131 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4969
20133 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
20134 "physical volumes and volume groups."
20138 #: ../fish/guestfish-actions.pod:4972
20139 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4972
20140 msgid "See also L</vglvuuids>."
20141 msgstr "Див. також L</vglvuuids>."
20144 #: ../fish/guestfish-actions.pod:4974
20145 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4974
20150 #: ../fish/guestfish-actions.pod:4976
20151 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4976
20154 " vgremove vgname\n"
20159 #: ../fish/guestfish-actions.pod:4978
20160 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4978
20161 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7501
20162 #: ../src/guestfs-actions.pod:7501
20163 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
20167 #: ../fish/guestfish-actions.pod:4980
20168 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4980
20169 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7503
20170 #: ../src/guestfs-actions.pod:7503
20172 "This also forcibly removes all logical volumes in the volume group (if any)."
20176 #: ../fish/guestfish-actions.pod:4983
20177 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4983
20182 #: ../fish/guestfish-actions.pod:4985
20183 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4985
20186 " vgrename volgroup newvolgroup\n"
20191 #: ../fish/guestfish-actions.pod:4987
20192 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4987
20193 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7517
20194 #: ../src/guestfs-actions.pod:7517
20195 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
20199 #: ../fish/guestfish-actions.pod:4989
20200 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4989
20205 #: ../fish/guestfish-actions.pod:4991
20206 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4991
20216 #: ../fish/guestfish-actions.pod:4993
20217 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4993
20218 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7528
20219 #: ../src/guestfs-actions.pod:7528
20221 "List all the volumes groups detected. This is the equivalent of the L<vgs(8)"
20226 #: ../fish/guestfish-actions.pod:4996
20227 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4996
20228 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7531
20229 #: ../src/guestfs-actions.pod:7531
20231 "This returns a list of just the volume group names that were detected (eg. "
20236 #: ../fish/guestfish-actions.pod:4999
20237 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:4999
20238 msgid "See also L</vgs-full>."
20239 msgstr "Див. також L</vgs-full>."
20242 #: ../fish/guestfish-actions.pod:5001
20243 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5001
20248 #: ../fish/guestfish-actions.pod:5003
20249 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5003
20259 #: ../fish/guestfish-actions.pod:5005
20260 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5005
20261 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7547
20262 #: ../src/guestfs-actions.pod:7547
20264 "List all the volumes groups detected. This is the equivalent of the L<vgs(8)"
20265 "> command. The \"full\" version includes all fields."
20269 #: ../fish/guestfish-actions.pod:5008
20270 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5008
20275 #: ../fish/guestfish-actions.pod:5010
20276 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5010
20286 #: ../fish/guestfish-actions.pod:5012
20287 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5012
20288 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7561
20289 #: ../src/guestfs-actions.pod:7561
20291 "This rescans all block devices and rebuilds the list of LVM physical "
20292 "volumes, volume groups and logical volumes."
20296 #: ../fish/guestfish-actions.pod:5015
20297 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5015
20302 #: ../fish/guestfish-actions.pod:5017
20303 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5017
20311 #: ../fish/guestfish-actions.pod:5019
20312 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5019
20313 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7574
20314 #: ../src/guestfs-actions.pod:7574
20315 msgid "This command returns the UUID of the LVM VG named C<vgname>."
20319 #: ../fish/guestfish-actions.pod:5021
20320 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5021
20325 #: ../fish/guestfish-actions.pod:5023
20326 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5023
20336 #: ../fish/guestfish-actions.pod:5025
20337 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5025
20338 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7614
20339 #: ../src/guestfs-actions.pod:7614
20341 "This command counts the characters in a file, using the C<wc -c> external "
20346 #: ../fish/guestfish-actions.pod:5028
20347 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5028
20352 #: ../fish/guestfish-actions.pod:5030
20353 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5030
20363 #: ../fish/guestfish-actions.pod:5032
20364 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5032
20365 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7627
20366 #: ../src/guestfs-actions.pod:7627
20368 "This command counts the lines in a file, using the C<wc -l> external command."
20372 #: ../fish/guestfish-actions.pod:5035
20373 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5035
20378 #: ../fish/guestfish-actions.pod:5037
20379 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5037
20389 #: ../fish/guestfish-actions.pod:5039
20390 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5039
20391 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7640
20392 #: ../src/guestfs-actions.pod:7640
20394 "This command counts the words in a file, using the C<wc -w> external command."
20398 #: ../fish/guestfish-actions.pod:5042
20399 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5042
20404 #: ../fish/guestfish-actions.pod:5044
20405 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5044
20408 " write path content\n"
20411 " write шлях дані\n"
20415 #: ../fish/guestfish-actions.pod:5046
20416 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5046
20417 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7655
20418 #: ../src/guestfs-actions.pod:7655
20420 "This call creates a file called C<path>. The content of the file is the "
20421 "string C<content> (which can contain any 8 bit data)."
20425 #: ../fish/guestfish-actions.pod:5049
20426 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5049
20427 msgid "See also L</write-append>."
20431 #: ../fish/guestfish-actions.pod:5054
20432 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5054
20433 msgid "write-append"
20437 #: ../fish/guestfish-actions.pod:5056
20438 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5056
20441 " write-append path content\n"
20446 #: ../fish/guestfish-actions.pod:5058
20447 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5058
20448 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7675
20449 #: ../src/guestfs-actions.pod:7675
20451 "This call appends C<content> to the end of file C<path>. If C<path> does "
20452 "not exist, then a new file is created."
20456 #: ../fish/guestfish-actions.pod:5061
20457 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5061
20458 msgid "See also L</write>."
20462 #: ../fish/guestfish-actions.pod:5066
20463 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5066
20465 msgstr "write-file"
20468 #: ../fish/guestfish-actions.pod:5068
20469 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5068
20472 " write-file path content size\n"
20477 #: ../fish/guestfish-actions.pod:5070
20478 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5070
20479 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7695
20480 #: ../src/guestfs-actions.pod:7695
20482 "This call creates a file called C<path>. The contents of the file is the "
20483 "string C<content> (which can contain any 8 bit data), with length C<size>."
20487 #: ../fish/guestfish-actions.pod:5074
20488 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5074
20489 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7699
20490 #: ../src/guestfs-actions.pod:7699
20492 "As a special case, if C<size> is C<0> then the length is calculated using "
20493 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
20497 #: ../fish/guestfish-actions.pod:5078
20498 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5078
20499 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7703
20500 #: ../src/guestfs-actions.pod:7703
20502 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
20503 "I<not> work, even if the length is specified."
20507 #: ../fish/guestfish-actions.pod:5084
20508 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5084
20509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7711
20510 #: ../src/guestfs-actions.pod:7711
20512 "This function is deprecated. In new code, use the C<write> call instead."
20516 #: ../fish/guestfish-actions.pod:5091
20517 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5091
20522 #: ../fish/guestfish-actions.pod:5093
20523 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5093
20526 " zegrep regex path\n"
20529 " zegrep формальний_вираз шлях\n"
20533 #: ../fish/guestfish-actions.pod:5095
20534 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5095
20535 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7727
20536 #: ../src/guestfs-actions.pod:7727
20538 "This calls the external C<zegrep> program and returns the matching lines."
20542 #: ../fish/guestfish-actions.pod:5101
20543 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5101
20548 #: ../fish/guestfish-actions.pod:5103
20549 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5103
20552 " zegrepi regex path\n"
20557 #: ../fish/guestfish-actions.pod:5105
20558 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5105
20559 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7746
20560 #: ../src/guestfs-actions.pod:7746
20562 "This calls the external C<zegrep -i> program and returns the matching lines."
20566 #: ../fish/guestfish-actions.pod:5111
20567 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5111
20572 #: ../fish/guestfish-actions.pod:5113
20573 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5113
20583 #: ../fish/guestfish-actions.pod:5115
20584 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5115
20585 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7764
20586 #: ../src/guestfs-actions.pod:7764
20587 msgid "This command writes zeroes over the first few blocks of C<device>."
20591 #: ../fish/guestfish-actions.pod:5117
20592 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5117
20593 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7766
20594 #: ../src/guestfs-actions.pod:7766
20596 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
20597 "securely wipe the device). It should be sufficient to remove any partition "
20598 "tables, filesystem superblocks and so on."
20602 #: ../fish/guestfish-actions.pod:5121
20603 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5121
20604 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
20608 #: ../fish/guestfish-actions.pod:5124
20609 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5124
20610 msgid "zero-device"
20611 msgstr "zero-device"
20614 #: ../fish/guestfish-actions.pod:5126
20615 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5126
20618 " zero-device device\n"
20621 " zero-device пристрій\n"
20625 #: ../fish/guestfish-actions.pod:5128
20626 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5128
20628 "This command writes zeroes over the entire C<device>. Compare with L</zero> "
20629 "which just zeroes the first few blocks of a device."
20633 #: ../fish/guestfish-actions.pod:5135
20634 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5135
20639 #: ../fish/guestfish-actions.pod:5137
20640 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5137
20643 " zerofree device\n"
20646 " zerofree пристрій\n"
20650 #: ../fish/guestfish-actions.pod:5139
20651 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5139
20652 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7810
20653 #: ../src/guestfs-actions.pod:7810
20655 "This runs the I<zerofree> program on C<device>. This program claims to zero "
20656 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
20657 "possible to compress the filesystem more effectively."
20661 #: ../fish/guestfish-actions.pod:5144
20662 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5144
20663 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7815
20664 #: ../src/guestfs-actions.pod:7815
20665 msgid "You should B<not> run this program if the filesystem is mounted."
20669 #: ../fish/guestfish-actions.pod:5147
20670 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5147
20671 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7818
20672 #: ../src/guestfs-actions.pod:7818
20674 "It is possible that using this program can damage the filesystem or data on "
20679 #: ../fish/guestfish-actions.pod:5150
20680 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5150
20685 #: ../fish/guestfish-actions.pod:5152
20686 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5152
20689 " zfgrep pattern path\n"
20692 " zfgrep шаблон шлях\n"
20696 #: ../fish/guestfish-actions.pod:5154
20697 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5154
20698 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7832
20699 #: ../src/guestfs-actions.pod:7832
20701 "This calls the external C<zfgrep> program and returns the matching lines."
20705 #: ../fish/guestfish-actions.pod:5160
20706 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5160
20711 #: ../fish/guestfish-actions.pod:5162
20712 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5162
20715 " zfgrepi pattern path\n"
20718 " zfgrepi шаблон шлях\n"
20722 #: ../fish/guestfish-actions.pod:5164
20723 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5164
20724 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7851
20725 #: ../src/guestfs-actions.pod:7851
20727 "This calls the external C<zfgrep -i> program and returns the matching lines."
20731 #: ../fish/guestfish-actions.pod:5170
20732 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5170
20737 #: ../fish/guestfish-actions.pod:5172
20738 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5172
20741 " zfile meth path\n"
20744 " zfile метод шлях\n"
20748 #: ../fish/guestfish-actions.pod:5174
20749 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5174
20750 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7870
20751 #: ../src/guestfs-actions.pod:7870
20753 "This command runs C<file> after first decompressing C<path> using C<method>."
20757 #: ../fish/guestfish-actions.pod:5177
20758 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5177
20759 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7873
20760 #: ../src/guestfs-actions.pod:7873
20761 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
20765 #: ../fish/guestfish-actions.pod:5179
20766 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5179
20768 "Since 1.0.63, use L</file> instead which can now process compressed files."
20772 #: ../fish/guestfish-actions.pod:5182
20773 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5182
20774 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7881
20775 #: ../src/guestfs-actions.pod:7881
20777 "This function is deprecated. In new code, use the C<file> call instead."
20781 #: ../fish/guestfish-actions.pod:5189
20782 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5189
20787 #: ../fish/guestfish-actions.pod:5191
20788 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5191
20791 " zgrep regex path\n"
20794 " zgrep формальний_вираз шлях\n"
20798 #: ../fish/guestfish-actions.pod:5193
20799 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5193
20800 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7897
20801 #: ../src/guestfs-actions.pod:7897
20803 "This calls the external C<zgrep> program and returns the matching lines."
20807 #: ../fish/guestfish-actions.pod:5199
20808 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5199
20813 #: ../fish/guestfish-actions.pod:5201
20814 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5201
20817 " zgrepi regex path\n"
20820 " zgrepi формальний_вираз шлях\n"
20824 #: ../fish/guestfish-actions.pod:5203
20825 #: ../libguestfs-1.11.19/fish/guestfish-actions.pod:5203
20826 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7916
20827 #: ../src/guestfs-actions.pod:7916
20829 "This calls the external C<zgrep -i> program and returns the matching lines."
20833 #: ../fish/guestfish-commands.pod:1
20834 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:1
20839 #: ../fish/guestfish-commands.pod:3
20840 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:3
20845 #: ../fish/guestfish-commands.pod:5
20846 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:5
20849 " alloc filename size\n"
20854 #: ../fish/guestfish-commands.pod:7
20855 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:7
20857 "This creates an empty (zeroed) file of the given size, and then adds so it "
20858 "can be further examined."
20862 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:182
20863 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:10
20864 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:182
20865 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
20869 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:184
20870 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:12
20871 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:184
20872 msgid "Size can be specified using standard suffixes, eg. C<1M>."
20876 #: ../fish/guestfish-commands.pod:14
20877 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:14
20879 "To create a sparse file, use L</sparse> instead. To create a prepared disk "
20880 "image, see L</PREPARED DISK IMAGES>."
20884 #: ../fish/guestfish-commands.pod:17
20885 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:17
20890 #: ../fish/guestfish-commands.pod:19
20891 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:19
20894 " copy-in local [local ...] /remotedir\n"
20899 #: ../fish/guestfish-commands.pod:21
20900 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:21
20902 "C<copy-in> copies local files or directories recursively into the disk "
20903 "image, placing them in the directory called C</remotedir> (which must "
20904 "exist). This guestfish meta-command turns into a sequence of L</tar-in> and "
20905 "other commands as necessary."
20909 #: ../fish/guestfish-commands.pod:26
20910 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:26
20912 "Multiple local files and directories can be specified, but the last "
20913 "parameter must always be a remote directory. Wildcards cannot be used."
20917 #: ../fish/guestfish-commands.pod:30
20918 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:30
20923 #: ../fish/guestfish-commands.pod:32
20924 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:32
20927 " copy-out remote [remote ...] localdir\n"
20932 #: ../fish/guestfish-commands.pod:34
20933 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:34
20935 "C<copy-out> copies remote files or directories recursively out of the disk "
20936 "image, placing them on the host disk in a local directory called C<localdir> "
20937 "(which must exist). This guestfish meta-command turns into a sequence of L</"
20938 "download>, L</tar-out> and other commands as necessary."
20942 #: ../fish/guestfish-commands.pod:40
20943 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:40
20945 "Multiple remote files and directories can be specified, but the last "
20946 "parameter must always be a local directory. To download to the current "
20947 "directory, use C<.> as in:"
20951 #: ../fish/guestfish-commands.pod:44
20952 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:44
20955 " copy-out /home .\n"
20958 " copy-out /home .\n"
20962 #: ../fish/guestfish-commands.pod:46
20963 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:46
20965 "Wildcards cannot be used in the ordinary command, but you can use them with "
20966 "the help of L</glob> like this:"
20970 #: ../fish/guestfish-commands.pod:49
20971 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:49
20974 " glob copy-out /home/* .\n"
20977 " glob copy-out /home/* .\n"
20981 #: ../fish/guestfish-commands.pod:51
20982 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:51
20987 #: ../fish/guestfish-commands.pod:53
20988 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:53
20991 " display filename\n"
20996 #: ../fish/guestfish-commands.pod:55
20997 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:55
20999 "Use C<display> (a graphical display program) to display an image file. It "
21000 "downloads the file, and runs C<display> on it."
21004 #: ../fish/guestfish-commands.pod:58
21005 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:58
21007 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
21008 "environment variable. For example to use the GNOME display program:"
21012 #: ../fish/guestfish-commands.pod:61
21013 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:61
21016 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
21021 #: ../fish/guestfish-commands.pod:63
21022 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:63
21023 msgid "See also L<display(1)>."
21027 #: ../fish/guestfish-commands.pod:65
21028 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:65
21033 #: ../fish/guestfish-commands.pod:67
21034 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:67
21037 " echo [params ...]\n"
21040 " echo [параметри...]\n"
21044 #: ../fish/guestfish-commands.pod:69
21045 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:69
21046 msgid "This echos the parameters to the terminal."
21050 #: ../fish/guestfish-commands.pod:71
21051 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:71
21056 #: ../fish/guestfish-commands.pod:73
21057 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:73
21062 #: ../fish/guestfish-commands.pod:75
21063 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:75
21068 #: ../fish/guestfish-commands.pod:77
21069 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:77
21075 " edit назва_файла\n"
21079 #: ../fish/guestfish-commands.pod:79
21080 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:79
21082 "This is used to edit a file. It downloads the file, edits it locally using "
21083 "your editor, then uploads the result."
21087 #: ../fish/guestfish-commands.pod:82
21088 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:82
21090 "The editor is C<$EDITOR>. However if you use the alternate commands C<vi> "
21091 "or C<emacs> you will get those corresponding editors."
21095 #: ../fish/guestfish-commands.pod:86
21096 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:86
21101 #: ../fish/guestfish-commands.pod:88
21102 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:88
21105 " glob command args...\n"
21108 " glob команда параметри...\n"
21112 #: ../fish/guestfish-commands.pod:90
21113 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:90
21115 "Expand wildcards in any paths in the args list, and run C<command> "
21116 "repeatedly on each matching path."
21120 #: ../fish/guestfish-commands.pod:93
21121 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:93
21122 msgid "See L</WILDCARDS AND GLOBBING>."
21123 msgstr "Див. L</WILDCARDS AND GLOBBING>."
21126 #: ../fish/guestfish-commands.pod:95
21127 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:95
21132 #: ../fish/guestfish-commands.pod:97
21133 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:97
21136 " hexedit <filename|device>\n"
21137 " hexedit <filename|device> <max>\n"
21138 " hexedit <filename|device> <start> <max>\n"
21143 #: ../fish/guestfish-commands.pod:101
21144 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:101
21146 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
21151 #: ../fish/guestfish-commands.pod:104
21152 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:104
21154 "This command works by downloading potentially the whole file or device, "
21155 "editing it locally, then uploading it. If the file or device is large, you "
21156 "have to specify which part you wish to edit by using C<max> and/or C<start> "
21157 "C<max> parameters. C<start> and C<max> are specified in bytes, with the "
21158 "usual modifiers allowed such as C<1M> (1 megabyte)."
21162 #: ../fish/guestfish-commands.pod:111
21163 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:111
21164 msgid "For example to edit the first few sectors of a disk you might do:"
21168 #: ../fish/guestfish-commands.pod:114
21169 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:114
21172 " hexedit /dev/sda 1M\n"
21175 " hexedit /dev/sda 1M\n"
21179 #: ../fish/guestfish-commands.pod:116
21180 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:116
21182 "which would allow you to edit anywhere within the first megabyte of the disk."
21186 #: ../fish/guestfish-commands.pod:119
21187 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:119
21188 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
21192 #: ../fish/guestfish-commands.pod:121
21193 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:121
21196 " hexedit /dev/sda1 0x400 0x400\n"
21199 " hexedit /dev/sda1 0x400 0x400\n"
21203 #: ../fish/guestfish-commands.pod:123
21204 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:123
21205 msgid "(assuming the superblock is in the standard location)."
21209 #: ../fish/guestfish-commands.pod:125
21210 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:125
21212 "This command requires the external L<hexedit(1)> program. You can specify "
21213 "another program to use by setting the C<HEXEDITOR> environment variable."
21217 #: ../fish/guestfish-commands.pod:129
21218 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:129
21219 msgid "See also L</hexdump>."
21220 msgstr "Див. також L</hexdump>."
21223 #: ../fish/guestfish-commands.pod:131
21224 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:131
21229 #: ../fish/guestfish-commands.pod:133
21230 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:133
21238 #: ../fish/guestfish-commands.pod:135
21239 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:135
21241 "Change the local directory, ie. the current directory of guestfish itself."
21245 #: ../fish/guestfish-commands.pod:138
21246 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:138
21247 msgid "Note that C<!cd> won't do what you might expect."
21251 #: ../fish/guestfish-commands.pod:140
21252 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:140
21257 #: ../fish/guestfish-commands.pod:142
21258 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:142
21263 #: ../fish/guestfish-commands.pod:144
21264 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:144
21274 #: ../fish/guestfish-commands.pod:146
21275 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:146
21276 msgid "Opens the manual page for guestfish."
21280 #: ../fish/guestfish-commands.pod:148
21281 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:148
21286 #: ../fish/guestfish-commands.pod:150
21287 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:150
21292 #: ../fish/guestfish-commands.pod:152
21293 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:152
21301 #: ../fish/guestfish-commands.pod:154
21302 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:154
21310 #: ../fish/guestfish-commands.pod:156
21311 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:156
21312 msgid "This is used to view a file."
21316 #: ../fish/guestfish-commands.pod:158
21317 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:158
21319 "The default viewer is C<$PAGER>. However if you use the alternate command "
21320 "C<less> you will get the C<less> command specifically."
21324 #: ../fish/guestfish-commands.pod:161
21325 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:161
21330 #: ../fish/guestfish-commands.pod:163
21331 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:163
21339 #: ../fish/guestfish-commands.pod:165
21340 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:165
21342 "Close and reopen the libguestfs handle. It is not necessary to use this "
21343 "normally, because the handle is closed properly when guestfish exits. "
21344 "However this is occasionally useful for testing."
21348 #: ../fish/guestfish-commands.pod:169
21349 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:169
21354 #: ../fish/guestfish-commands.pod:171
21355 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:171
21358 " sparse filename size\n"
21363 #: ../fish/guestfish-commands.pod:173
21364 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:173
21366 "This creates an empty sparse file of the given size, and then adds so it can "
21367 "be further examined."
21371 #: ../fish/guestfish-commands.pod:176
21372 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:176
21374 "In all respects it works the same as the L</alloc> command, except that the "
21375 "image file is allocated sparsely, which means that disk blocks are not "
21376 "assigned to the file until they are needed. Sparse disk files only use "
21377 "space when written to, but they are slower and there is a danger you could "
21378 "run out of real disk space during a write operation."
21382 #: ../fish/guestfish-commands.pod:186
21383 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:186
21388 #: ../fish/guestfish-commands.pod:188
21389 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:188
21399 #: ../fish/guestfish-commands.pod:190
21400 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:190
21402 "This command returns a list of the optional groups known to the daemon, and "
21403 "indicates which ones are supported by this build of the libguestfs appliance."
21407 #: ../fish/guestfish-commands.pod:194
21408 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:194
21409 msgid "See also L<guestfs(3)/AVAILABILITY>."
21413 #: ../fish/guestfish-commands.pod:196
21414 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:196
21419 #: ../fish/guestfish-commands.pod:198
21420 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:198
21423 " time command args...\n"
21428 #: ../fish/guestfish-commands.pod:200
21429 #: ../libguestfs-1.11.19/fish/guestfish-commands.pod:200
21431 "Run the command as usual, but print the elapsed time afterwards. This can "
21432 "be useful for benchmarking operations."
21436 #: ../fish/guestfish.pod:5 ../libguestfs-1.11.19/fish/guestfish.pod:5
21437 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
21441 #: ../fish/guestfish.pod:9 ../libguestfs-1.11.19/fish/guestfish.pod:9
21444 " guestfish [--options] [commands]\n"
21449 #: ../fish/guestfish.pod:11 ../libguestfs-1.11.19/fish/guestfish.pod:11
21457 #: ../fish/guestfish.pod:13 ../libguestfs-1.11.19/fish/guestfish.pod:13
21460 " guestfish [--ro|--rw] -a disk.img\n"
21465 #: ../fish/guestfish.pod:15 ../libguestfs-1.11.19/fish/guestfish.pod:15
21468 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
21473 #: ../fish/guestfish.pod:17 ../libguestfs-1.11.19/fish/guestfish.pod:17
21476 " guestfish -d libvirt-domain\n"
21481 #: ../fish/guestfish.pod:19 ../libguestfs-1.11.19/fish/guestfish.pod:19
21484 " guestfish [--ro|--rw] -a disk.img -i\n"
21489 #: ../fish/guestfish.pod:21 ../libguestfs-1.11.19/fish/guestfish.pod:21
21492 " guestfish -d libvirt-domain -i\n"
21497 #: ../fish/guestfish.pod:25 ../libguestfs-1.11.19/fish/guestfish.pod:25
21499 "Using guestfish in read/write mode on live virtual machines can be "
21500 "dangerous, potentially causing disk corruption. Use the I<--ro> (read-only) "
21501 "option to use guestfish safely if the disk image or virtual machine might be "
21506 #: ../fish/guestfish.pod:32 ../libguestfs-1.11.19/fish/guestfish.pod:32
21508 "Guestfish is a shell and command-line tool for examining and modifying "
21509 "virtual machine filesystems. It uses libguestfs and exposes all of the "
21510 "functionality of the guestfs API, see L<guestfs(3)>."
21514 #: ../fish/guestfish.pod:36 ../libguestfs-1.11.19/fish/guestfish.pod:36
21516 "Guestfish gives you structured access to the libguestfs API, from shell "
21517 "scripts or the command line or interactively. If you want to rescue a "
21518 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
21523 #: ../fish/guestfish.pod:43 ../libguestfs-1.11.19/fish/guestfish.pod:43
21524 msgid "As an interactive shell"
21528 #: ../fish/guestfish.pod:45 ../libguestfs-1.11.19/fish/guestfish.pod:45
21536 #: ../fish/guestfish.pod:47 ../libguestfs-1.11.19/fish/guestfish.pod:47
21539 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
21540 " editing virtual machine filesystems.\n"
21545 #: ../fish/guestfish.pod:50 ../libguestfs-1.11.19/fish/guestfish.pod:50
21548 " Type: 'help' for a list of commands\n"
21549 " 'man' to read the manual\n"
21550 " 'quit' to quit the shell\n"
21555 #: ../fish/guestfish.pod:54 ../libguestfs-1.11.19/fish/guestfish.pod:54
21558 " ><fs> add-ro disk.img\n"
21560 " ><fs> list-filesystems\n"
21561 " /dev/sda1: ext4\n"
21562 " /dev/vg_guest/lv_root: ext4\n"
21563 " /dev/vg_guest/lv_swap: swap\n"
21564 " ><fs> mount /dev/vg_guest/lv_root /\n"
21565 " ><fs> cat /etc/fstab\n"
21567 " # Created by anaconda\n"
21574 #: ../fish/guestfish.pod:67 ../libguestfs-1.11.19/fish/guestfish.pod:67
21575 msgid "From shell scripts"
21579 #: ../fish/guestfish.pod:69 ../libguestfs-1.11.19/fish/guestfish.pod:69
21580 msgid "Create a new C</etc/motd> file in a guest or disk image:"
21584 #: ../fish/guestfish.pod:71 ../libguestfs-1.11.19/fish/guestfish.pod:71
21587 " guestfish <<_EOF_\n"
21590 " mount /dev/vg_guest/lv_root /\n"
21591 " write /etc/motd \"Welcome, new users\"\n"
21597 #: ../fish/guestfish.pod:78 ../libguestfs-1.11.19/fish/guestfish.pod:78
21598 msgid "List the LVM logical volumes in a disk image:"
21602 #: ../fish/guestfish.pod:80 ../libguestfs-1.11.19/fish/guestfish.pod:80
21605 " guestfish -a disk.img --ro <<_EOF_\n"
21613 #: ../fish/guestfish.pod:85 ../libguestfs-1.11.19/fish/guestfish.pod:85
21614 msgid "List all the filesystems in a disk image:"
21618 #: ../fish/guestfish.pod:87 ../libguestfs-1.11.19/fish/guestfish.pod:87
21621 " guestfish -a disk.img --ro <<_EOF_\n"
21623 " list-filesystems\n"
21629 #: ../fish/guestfish.pod:92 ../libguestfs-1.11.19/fish/guestfish.pod:92
21630 msgid "On one command line"
21634 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
21635 #: ../libguestfs-1.11.19/fish/guestfish.pod:94
21636 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:31
21637 msgid "Update C</etc/resolv.conf> in a guest:"
21641 #: ../fish/guestfish.pod:96 ../libguestfs-1.11.19/fish/guestfish.pod:96
21645 " add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
21646 " write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
21651 #: ../fish/guestfish.pod:100 ../libguestfs-1.11.19/fish/guestfish.pod:100
21652 msgid "Edit C</boot/grub/grub.conf> interactively:"
21656 #: ../fish/guestfish.pod:102 ../libguestfs-1.11.19/fish/guestfish.pod:102
21659 " guestfish --rw --add disk.img \\\n"
21660 " --mount /dev/vg_guest/lv_root \\\n"
21661 " --mount /dev/sda1:/boot \\\n"
21662 " edit /boot/grub/grub.conf\n"
21667 #: ../fish/guestfish.pod:107 ../libguestfs-1.11.19/fish/guestfish.pod:107
21668 msgid "Mount disks automatically"
21672 #: ../fish/guestfish.pod:109 ../libguestfs-1.11.19/fish/guestfish.pod:109
21674 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
21678 #: ../fish/guestfish.pod:112 ../libguestfs-1.11.19/fish/guestfish.pod:112
21681 " guestfish --ro -a disk.img -i cat /etc/group\n"
21686 #: ../fish/guestfish.pod:114 ../libguestfs-1.11.19/fish/guestfish.pod:114
21689 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
21694 #: ../fish/guestfish.pod:116 ../libguestfs-1.11.19/fish/guestfish.pod:116
21695 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
21699 #: ../fish/guestfish.pod:118 ../libguestfs-1.11.19/fish/guestfish.pod:118
21702 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
21707 #: ../fish/guestfish.pod:120 ../libguestfs-1.11.19/fish/guestfish.pod:120
21708 msgid "As a script interpreter"
21712 #: ../fish/guestfish.pod:122 ../libguestfs-1.11.19/fish/guestfish.pod:122
21713 msgid "Create a 100MB disk containing an ext2-formatted partition:"
21717 #: ../fish/guestfish.pod:124 ../libguestfs-1.11.19/fish/guestfish.pod:124
21720 " #!/usr/bin/guestfish -f\n"
21721 " sparse test1.img 100M\n"
21723 " part-disk /dev/sda mbr\n"
21724 " mkfs ext2 /dev/sda1\n"
21729 #: ../fish/guestfish.pod:130 ../libguestfs-1.11.19/fish/guestfish.pod:130
21730 msgid "Start with a prepared disk"
21734 #: ../fish/guestfish.pod:132 ../libguestfs-1.11.19/fish/guestfish.pod:132
21736 "An alternate way to create a 100MB disk called C<test1.img> containing a "
21737 "single ext2-formatted partition:"
21741 #: ../fish/guestfish.pod:135 ../libguestfs-1.11.19/fish/guestfish.pod:135
21744 " guestfish -N fs\n"
21749 #: ../fish/guestfish.pod:137 ../libguestfs-1.11.19/fish/guestfish.pod:137
21750 msgid "To list what is available do:"
21754 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:998
21755 #: ../libguestfs-1.11.19/fish/guestfish.pod:139
21756 #: ../libguestfs-1.11.19/fish/guestfish.pod:998
21759 " guestfish -N help | less\n"
21764 #: ../fish/guestfish.pod:141 ../libguestfs-1.11.19/fish/guestfish.pod:141
21765 msgid "Remote control"
21766 msgstr "Дистанційне керування"
21769 #: ../fish/guestfish.pod:143 ../libguestfs-1.11.19/fish/guestfish.pod:143
21772 " eval \"`guestfish --listen`\"\n"
21773 " guestfish --remote add-ro disk.img\n"
21774 " guestfish --remote run\n"
21775 " guestfish --remote lvs\n"
21778 " eval \"`guestfish --listen`\"\n"
21779 " guestfish --remote add-ro disk.img\n"
21780 " guestfish --remote run\n"
21781 " guestfish --remote lvs\n"
21785 #: ../fish/guestfish.pod:154 ../libguestfs-1.11.19/fish/guestfish.pod:154
21786 msgid "Displays general help on options."
21790 #: ../fish/guestfish.pod:158 ../libguestfs-1.11.19/fish/guestfish.pod:158
21791 msgid "B<--cmd-help>"
21792 msgstr "B<--cmd-help>"
21795 #: ../fish/guestfish.pod:160 ../libguestfs-1.11.19/fish/guestfish.pod:160
21796 msgid "Lists all available guestfish commands."
21800 #: ../fish/guestfish.pod:162 ../libguestfs-1.11.19/fish/guestfish.pod:162
21802 msgstr "B<-h команда>"
21805 #: ../fish/guestfish.pod:164 ../libguestfs-1.11.19/fish/guestfish.pod:164
21806 msgid "B<--cmd-help cmd>"
21807 msgstr "B<--cmd-help команда>"
21810 #: ../fish/guestfish.pod:166 ../libguestfs-1.11.19/fish/guestfish.pod:166
21811 msgid "Displays detailed help on a single command C<cmd>."
21815 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:87
21816 #: ../libguestfs-1.11.19/fish/guestfish.pod:168
21817 #: ../libguestfs-1.11.19/fuse/guestmount.pod:87
21818 msgid "B<-a image>"
21819 msgstr "B<-a образ>"
21822 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:89
21823 #: ../libguestfs-1.11.19/fish/guestfish.pod:170
21824 #: ../libguestfs-1.11.19/fuse/guestmount.pod:89
21825 msgid "B<--add image>"
21826 msgstr "B<--add образ>"
21829 #: ../fish/guestfish.pod:172 ../libguestfs-1.11.19/fish/guestfish.pod:172
21830 msgid "Add a block device or virtual machine image to the shell."
21834 #: ../fish/guestfish.pod:177 ../libguestfs-1.11.19/fish/guestfish.pod:177
21836 "Using this flag is mostly equivalent to using the C<add> command, with "
21837 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
21838 "the I<--format=...> flag was given."
21842 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:100
21843 #: ../libguestfs-1.11.19/fish/guestfish.pod:185
21844 #: ../libguestfs-1.11.19/fuse/guestmount.pod:100
21846 "When used in conjunction with the I<-d> option, this specifies the libvirt "
21847 "URI to use. The default is to use the default libvirt connection."
21851 #: ../fish/guestfish.pod:189 ../libguestfs-1.11.19/fish/guestfish.pod:189
21856 #: ../fish/guestfish.pod:191 ../libguestfs-1.11.19/fish/guestfish.pod:191
21858 "If using the I<--listen> option and a csh-like shell, use this option. See "
21859 "section L</REMOTE CONTROL AND CSH> below."
21863 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:104
21864 #: ../libguestfs-1.11.19/fish/guestfish.pod:194
21865 #: ../libguestfs-1.11.19/fuse/guestmount.pod:104
21866 msgid "B<-d libvirt-domain>"
21867 msgstr "B<-d домен-libvirt>"
21870 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:106
21871 #: ../libguestfs-1.11.19/fish/guestfish.pod:196
21872 #: ../libguestfs-1.11.19/fuse/guestmount.pod:106
21873 msgid "B<--domain libvirt-domain>"
21874 msgstr "B<--domain домен-libvirt>"
21877 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:108
21878 #: ../libguestfs-1.11.19/fish/guestfish.pod:198
21879 #: ../libguestfs-1.11.19/fuse/guestmount.pod:108
21881 "Add disks from the named libvirt domain. If the I<--ro> option is also "
21882 "used, then any libvirt domain can be used. However in write mode, only "
21883 "libvirt domains which are shut down can be named here."
21887 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:112
21888 #: ../libguestfs-1.11.19/fish/guestfish.pod:202
21889 #: ../libguestfs-1.11.19/fuse/guestmount.pod:112
21890 msgid "Domain UUIDs can be used instead of names."
21894 #: ../fish/guestfish.pod:204 ../libguestfs-1.11.19/fish/guestfish.pod:204
21896 "Using this flag is mostly equivalent to using the C<add-domain> command, "
21897 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
21898 "if the I<--format:...> flag was given."
21902 #: ../fish/guestfish.pod:208 ../libguestfs-1.11.19/fish/guestfish.pod:208
21907 #: ../fish/guestfish.pod:210 ../libguestfs-1.11.19/fish/guestfish.pod:210
21908 msgid "B<--no-dest-paths>"
21909 msgstr "B<--no-dest-paths>"
21912 #: ../fish/guestfish.pod:212 ../libguestfs-1.11.19/fish/guestfish.pod:212
21914 "Don't tab-complete paths on the guest filesystem. It is useful to be able "
21915 "to hit the tab key to complete paths on the guest filesystem, but this "
21916 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
21917 "allow this feature to be disabled."
21921 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:128
21922 #: ../libguestfs-1.11.19/fish/guestfish.pod:219
21923 #: ../libguestfs-1.11.19/fuse/guestmount.pod:128
21925 "When prompting for keys and passphrases, guestfish normally turns echoing "
21926 "off so you cannot see what you are typing. If you are not worried about "
21927 "Tempest attacks and there is no one else in the room you can specify this "
21928 "flag to see what you are typing."
21932 #: ../fish/guestfish.pod:224 ../libguestfs-1.11.19/fish/guestfish.pod:224
21934 msgstr "B<-f файл>"
21937 #: ../fish/guestfish.pod:226 ../libguestfs-1.11.19/fish/guestfish.pod:226
21938 msgid "B<--file file>"
21939 msgstr "B<--file файл>"
21942 #: ../fish/guestfish.pod:228 ../libguestfs-1.11.19/fish/guestfish.pod:228
21943 msgid "Read commands from C<file>. To write pure guestfish scripts, use:"
21947 #: ../fish/guestfish.pod:231 ../libguestfs-1.11.19/fish/guestfish.pod:231
21950 " #!/usr/bin/guestfish -f\n"
21953 " #!/usr/bin/guestfish -f\n"
21957 #: ../fish/guestfish.pod:244 ../libguestfs-1.11.19/fish/guestfish.pod:244
21960 " guestfish --format=raw -a disk.img\n"
21963 " guestfish --format=raw -a disk.img\n"
21967 #: ../fish/guestfish.pod:248 ../libguestfs-1.11.19/fish/guestfish.pod:248
21970 " guestfish --format=raw -a disk.img --format -a another.img\n"
21973 " guestfish --format=raw -a disk.img --format -a another.img\n"
21977 #: ../fish/guestfish.pod:253 ../libguestfs-1.11.19/fish/guestfish.pod:253
21979 "If you have untrusted raw-format guest disk images, you should use this "
21980 "option to specify the disk format. This avoids a possible security problem "
21981 "with malicious guests (CVE-2010-3851). See also L</add-drive-opts>."
21985 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:157
21986 #: ../libguestfs-1.11.19/fish/guestfish.pod:260
21987 #: ../libguestfs-1.11.19/fuse/guestmount.pod:157
21988 msgid "B<--inspector>"
21989 msgstr "B<--inspector>"
21992 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:159
21993 #: ../libguestfs-1.11.19/fish/guestfish.pod:262
21994 #: ../libguestfs-1.11.19/fuse/guestmount.pod:159
21996 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
21997 "system and mount filesystems as they would be mounted on the real virtual "
22002 #: ../fish/guestfish.pod:266 ../libguestfs-1.11.19/fish/guestfish.pod:266
22003 msgid "Typical usage is either:"
22007 #: ../fish/guestfish.pod:268 ../libguestfs-1.11.19/fish/guestfish.pod:268
22010 " guestfish -d myguest -i\n"
22013 " guestfish -d myguest -i\n"
22017 #: ../fish/guestfish.pod:270 ../libguestfs-1.11.19/fish/guestfish.pod:270
22018 msgid "(for an inactive libvirt domain called I<myguest>), or:"
22022 #: ../fish/guestfish.pod:272 ../libguestfs-1.11.19/fish/guestfish.pod:272
22025 " guestfish --ro -d myguest -i\n"
22028 " guestfish --ro -d myguest -i\n"
22032 #: ../fish/guestfish.pod:274 ../libguestfs-1.11.19/fish/guestfish.pod:274
22033 msgid "(for active domains, readonly), or specify the block device directly:"
22037 #: ../fish/guestfish.pod:276 ../libguestfs-1.11.19/fish/guestfish.pod:276
22040 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
22043 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
22047 #: ../fish/guestfish.pod:278 ../libguestfs-1.11.19/fish/guestfish.pod:278
22049 "Note that the command line syntax changed slightly over older versions of "
22050 "guestfish. You can still use the old syntax:"
22054 #: ../fish/guestfish.pod:281 ../libguestfs-1.11.19/fish/guestfish.pod:281
22057 " guestfish [--ro] -i disk.img\n"
22060 " guestfish [--ro] -i disk.img\n"
22064 #: ../fish/guestfish.pod:283 ../libguestfs-1.11.19/fish/guestfish.pod:283
22067 " guestfish [--ro] -i libvirt-domain\n"
22072 #: ../fish/guestfish.pod:285 ../libguestfs-1.11.19/fish/guestfish.pod:285
22074 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
22075 "then using other commands to mount the filesystems that were found."
22079 #: ../fish/guestfish.pod:294 ../libguestfs-1.11.19/fish/guestfish.pod:294
22080 msgid "B<--listen>"
22081 msgstr "B<--listen>"
22084 #: ../fish/guestfish.pod:296 ../libguestfs-1.11.19/fish/guestfish.pod:296
22086 "Fork into the background and listen for remote commands. See section L</"
22087 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
22091 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:168
22092 #: ../libguestfs-1.11.19/fish/guestfish.pod:299
22093 #: ../libguestfs-1.11.19/fuse/guestmount.pod:168
22098 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:170
22099 #: ../libguestfs-1.11.19/fish/guestfish.pod:301
22100 #: ../libguestfs-1.11.19/fuse/guestmount.pod:170
22102 "Connect to a live virtual machine. (Experimental, see L<guestfs(3)/"
22103 "ATTACHING TO RUNNING DAEMONS>)."
22107 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:173
22108 #: ../libguestfs-1.11.19/fish/guestfish.pod:304
22109 #: ../libguestfs-1.11.19/fuse/guestmount.pod:173
22110 msgid "B<-m dev[:mountpoint[:options]]>"
22114 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:175
22115 #: ../libguestfs-1.11.19/fish/guestfish.pod:306
22116 #: ../libguestfs-1.11.19/fuse/guestmount.pod:175
22117 msgid "B<--mount dev[:mountpoint[:options]]>"
22121 #: ../fish/guestfish.pod:308 ../libguestfs-1.11.19/fish/guestfish.pod:308
22122 msgid "Mount the named partition or logical volume on the given mountpoint."
22126 #: ../fish/guestfish.pod:310 ../libguestfs-1.11.19/fish/guestfish.pod:310
22127 msgid "If the mountpoint is omitted, it defaults to C</>."
22131 #: ../fish/guestfish.pod:312 ../libguestfs-1.11.19/fish/guestfish.pod:312
22132 msgid "You have to mount something on C</> before most commands will work."
22136 #: ../fish/guestfish.pod:314 ../libguestfs-1.11.19/fish/guestfish.pod:314
22138 "If any I<-m> or I<--mount> options are given, the guest is automatically "
22143 #: ../fish/guestfish.pod:317 ../libguestfs-1.11.19/fish/guestfish.pod:317
22145 "If you don't know what filesystems a disk image contains, you can either run "
22146 "guestfish without this option, then list the partitions, filesystems and LVs "
22147 "available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
22148 "commands), or you can use the L<virt-filesystems(1)> program."
22152 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:183
22153 #: ../libguestfs-1.11.19/fish/guestfish.pod:323
22154 #: ../libguestfs-1.11.19/fuse/guestmount.pod:183
22156 "The third (and rarely used) part of the mount parameter is the list of mount "
22157 "options used to mount the underlying filesystem. If this is not given, then "
22158 "the mount options are either the empty string or C<ro> (the latter if the "
22159 "I<--ro> flag is used). By specifying the mount options, you override this "
22160 "default choice. Probably the only time you would use this is to enable ACLs "
22161 "and/or extended attributes if the filesystem can support them:"
22165 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:191
22166 #: ../libguestfs-1.11.19/fish/guestfish.pod:331
22167 #: ../libguestfs-1.11.19/fuse/guestmount.pod:191
22170 " -m /dev/sda1:/:acl,user_xattr\n"
22175 #: ../fish/guestfish.pod:333 ../libguestfs-1.11.19/fish/guestfish.pod:333
22176 msgid "Using this flag is equivalent to using the C<mount-options> command."
22180 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:193
22181 #: ../libguestfs-1.11.19/fish/guestfish.pod:335
22182 #: ../libguestfs-1.11.19/fuse/guestmount.pod:193
22183 #: ../libguestfs-1.11.19/resize/virt-resize.pod:352
22184 #: ../resize/virt-resize.pod:352
22189 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:195
22190 #: ../libguestfs-1.11.19/fish/guestfish.pod:337
22191 #: ../libguestfs-1.11.19/fuse/guestmount.pod:195
22192 msgid "B<--no-sync>"
22193 msgstr "B<--no-sync>"
22196 #: ../fish/guestfish.pod:339 ../libguestfs-1.11.19/fish/guestfish.pod:339
22198 "Disable autosync. This is enabled by default. See the discussion of "
22199 "autosync in the L<guestfs(3)> manpage."
22203 #: ../fish/guestfish.pod:342 ../libguestfs-1.11.19/fish/guestfish.pod:342
22208 #: ../fish/guestfish.pod:344 ../libguestfs-1.11.19/fish/guestfish.pod:344
22209 msgid "B<--new type>"
22210 msgstr "B<--new тип>"
22213 #: ../fish/guestfish.pod:346 ../libguestfs-1.11.19/fish/guestfish.pod:346
22215 msgstr "B<-N help>"
22218 #: ../fish/guestfish.pod:348 ../libguestfs-1.11.19/fish/guestfish.pod:348
22220 "Prepare a fresh disk image formatted as \"type\". This is an alternative to "
22221 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
22222 "preformatted disk with a filesystem and adds it. See L</PREPARED DISK "
22227 #: ../fish/guestfish.pod:353 ../libguestfs-1.11.19/fish/guestfish.pod:353
22228 msgid "B<--progress-bars>"
22229 msgstr "B<--progress-bars>"
22232 #: ../fish/guestfish.pod:355 ../libguestfs-1.11.19/fish/guestfish.pod:355
22233 msgid "Enable progress bars, even when guestfish is used non-interactively."
22237 #: ../fish/guestfish.pod:357 ../libguestfs-1.11.19/fish/guestfish.pod:357
22239 "Progress bars are enabled by default when guestfish is used as an "
22240 "interactive shell."
22244 #: ../fish/guestfish.pod:360 ../libguestfs-1.11.19/fish/guestfish.pod:360
22245 msgid "B<--no-progress-bars>"
22246 msgstr "B<--no-progress-bars>"
22249 #: ../fish/guestfish.pod:362 ../libguestfs-1.11.19/fish/guestfish.pod:362
22250 msgid "Disable progress bars."
22254 #: ../fish/guestfish.pod:364 ../libguestfs-1.11.19/fish/guestfish.pod:364
22255 msgid "B<--remote[=pid]>"
22256 msgstr "B<--remote[=pid]>"
22259 #: ../fish/guestfish.pod:366 ../libguestfs-1.11.19/fish/guestfish.pod:366
22261 "Send remote commands to C<$GUESTFISH_PID> or C<pid>. See section L</REMOTE "
22262 "CONTROL GUESTFISH OVER A SOCKET> below."
22266 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:239
22267 #: ../libguestfs-1.11.19/fish/guestfish.pod:369
22268 #: ../libguestfs-1.11.19/fuse/guestmount.pod:239
22269 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:161
22270 #: ../rescue/virt-rescue.pod:161
22275 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:241
22276 #: ../libguestfs-1.11.19/fish/guestfish.pod:371
22277 #: ../libguestfs-1.11.19/fuse/guestmount.pod:241
22278 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:163
22279 #: ../rescue/virt-rescue.pod:163
22284 #: ../fish/guestfish.pod:373 ../libguestfs-1.11.19/fish/guestfish.pod:373
22286 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
22287 "mounts are done read-only."
22291 #: ../fish/guestfish.pod:376 ../libguestfs-1.11.19/fish/guestfish.pod:376
22292 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:167
22293 #: ../rescue/virt-rescue.pod:167
22295 "The option must always be used if the disk image or virtual machine might be "
22296 "running, and is generally recommended in cases where you don't need write "
22297 "access to the disk."
22301 #: ../fish/guestfish.pod:380 ../libguestfs-1.11.19/fish/guestfish.pod:380
22303 "Note that prepared disk images created with I<-N> are not affected by this "
22304 "option. Also commands like C<add> are not affected - you have to specify "
22305 "the C<readonly:true> option explicitly if you need it."
22309 #: ../fish/guestfish.pod:384 ../libguestfs-1.11.19/fish/guestfish.pod:384
22310 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
22314 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:253
22315 #: ../libguestfs-1.11.19/fish/guestfish.pod:386
22316 #: ../libguestfs-1.11.19/fuse/guestmount.pod:253
22317 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:173
22318 #: ../rescue/virt-rescue.pod:173
22319 msgid "B<--selinux>"
22320 msgstr "B<--selinux>"
22323 #: ../fish/guestfish.pod:388 ../libguestfs-1.11.19/fish/guestfish.pod:388
22324 msgid "Enable SELinux support for the guest. See L<guestfs(3)/SELINUX>."
22328 #: ../fish/guestfish.pod:394 ../libguestfs-1.11.19/fish/guestfish.pod:394
22330 "Enable very verbose messages. This is particularly useful if you find a bug."
22334 #: ../fish/guestfish.pod:401 ../libguestfs-1.11.19/fish/guestfish.pod:401
22335 msgid "Display the guestfish / libguestfs version number and exit."
22339 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:269
22340 #: ../libguestfs-1.11.19/fish/guestfish.pod:403
22341 #: ../libguestfs-1.11.19/fuse/guestmount.pod:269
22342 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:190
22343 #: ../rescue/virt-rescue.pod:190
22348 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:271
22349 #: ../libguestfs-1.11.19/fish/guestfish.pod:405
22350 #: ../libguestfs-1.11.19/fuse/guestmount.pod:271
22351 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:192
22352 #: ../rescue/virt-rescue.pod:192
22357 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:273
22358 #: ../libguestfs-1.11.19/fish/guestfish.pod:407
22359 #: ../libguestfs-1.11.19/fuse/guestmount.pod:273
22361 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
22362 "mounts are done read-write."
22366 #: ../fish/guestfish.pod:410 ../libguestfs-1.11.19/fish/guestfish.pod:410
22367 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
22371 #: ../fish/guestfish.pod:414 ../libguestfs-1.11.19/fish/guestfish.pod:414
22372 msgid "Echo each command before executing it."
22376 #: ../fish/guestfish.pod:418 ../libguestfs-1.11.19/fish/guestfish.pod:418
22377 msgid "COMMANDS ON COMMAND LINE"
22381 #: ../fish/guestfish.pod:420 ../libguestfs-1.11.19/fish/guestfish.pod:420
22383 "Any additional (non-option) arguments are treated as commands to execute."
22387 #: ../fish/guestfish.pod:423 ../libguestfs-1.11.19/fish/guestfish.pod:423
22389 "Commands to execute should be separated by a colon (C<:>), where the colon "
22390 "is a separate parameter. Thus:"
22394 #: ../fish/guestfish.pod:426 ../libguestfs-1.11.19/fish/guestfish.pod:426
22397 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
22402 #: ../fish/guestfish.pod:428 ../libguestfs-1.11.19/fish/guestfish.pod:428
22404 "If there are no additional arguments, then we enter a shell, either an "
22405 "interactive shell with a prompt (if the input is a terminal) or a non-"
22406 "interactive shell."
22410 #: ../fish/guestfish.pod:432 ../libguestfs-1.11.19/fish/guestfish.pod:432
22412 "In either command line mode or non-interactive shell, the first command that "
22413 "gives an error causes the whole shell to exit. In interactive mode (with a "
22414 "prompt) if a command fails, you can continue to enter commands."
22418 #: ../fish/guestfish.pod:437 ../libguestfs-1.11.19/fish/guestfish.pod:437
22419 msgid "USING launch (OR run)"
22423 #: ../fish/guestfish.pod:439 ../libguestfs-1.11.19/fish/guestfish.pod:439
22425 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
22426 "then launch it, then mount any disks you need, and finally issue actions/"
22427 "commands. So the general order of the day is:"
22431 #: ../fish/guestfish.pod:447 ../libguestfs-1.11.19/fish/guestfish.pod:447
22432 msgid "add or -a/--add"
22436 #: ../fish/guestfish.pod:451 ../libguestfs-1.11.19/fish/guestfish.pod:451
22437 msgid "launch (aka run)"
22441 #: ../fish/guestfish.pod:455 ../libguestfs-1.11.19/fish/guestfish.pod:455
22442 msgid "mount or -m/--mount"
22446 #: ../fish/guestfish.pod:459 ../libguestfs-1.11.19/fish/guestfish.pod:459
22447 msgid "any other commands"
22451 #: ../fish/guestfish.pod:463 ../libguestfs-1.11.19/fish/guestfish.pod:463
22453 "C<run> is a synonym for C<launch>. You must C<launch> (or C<run>) your "
22454 "guest before mounting or performing any other commands."
22458 #: ../fish/guestfish.pod:466 ../libguestfs-1.11.19/fish/guestfish.pod:466
22460 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
22461 "I<--new> options were given then C<run> is done automatically, simply "
22462 "because guestfish can't perform the action you asked for without doing this."
22466 #: ../fish/guestfish.pod:471 ../libguestfs-1.11.19/fish/guestfish.pod:471
22467 msgid "OPENING DISKS FOR READ AND WRITE"
22471 #: ../fish/guestfish.pod:473 ../libguestfs-1.11.19/fish/guestfish.pod:473
22473 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
22474 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
22475 "I<-i> and I<-m> open disk images read-only or for writing."
22479 #: ../fish/guestfish.pod:478 ../libguestfs-1.11.19/fish/guestfish.pod:478
22481 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to "
22482 "opening disk images supplied on the command line for write. To open a disk "
22483 "image read-only you have to do I<-a image --ro>."
22487 #: ../fish/guestfish.pod:482 ../libguestfs-1.11.19/fish/guestfish.pod:482
22489 "This matters: If you accidentally open a live VM disk image writable then "
22490 "you will cause irreversible disk corruption."
22494 #: ../fish/guestfish.pod:485 ../libguestfs-1.11.19/fish/guestfish.pod:485
22496 "In a future libguestfs we intend to change the default the other way. Disk "
22497 "images will be opened read-only. You will have to either specify "
22498 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
22499 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
22500 "access for disk images specified by those other command line options."
22504 #: ../fish/guestfish.pod:492 ../libguestfs-1.11.19/fish/guestfish.pod:492
22506 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
22507 "which does nothing (it is already the default). However it is highly "
22508 "recommended that you use this option to indicate that you need write access, "
22509 "and prepare your scripts for the day when this option will be required for "
22514 #: ../fish/guestfish.pod:498 ../libguestfs-1.11.19/fish/guestfish.pod:498
22516 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any "
22517 "other libguestfs program apart from guestfish and guestmount."
22521 #: ../fish/guestfish.pod:501 ../libguestfs-1.11.19/fish/guestfish.pod:501
22526 #: ../fish/guestfish.pod:503 ../libguestfs-1.11.19/fish/guestfish.pod:503
22528 "You can quote ordinary parameters using either single or double quotes. For "
22533 #: ../fish/guestfish.pod:506 ../libguestfs-1.11.19/fish/guestfish.pod:506
22536 " add \"file with a space.img\"\n"
22541 #: ../fish/guestfish.pod:508 ../libguestfs-1.11.19/fish/guestfish.pod:508
22544 " rm '/file name'\n"
22549 #: ../fish/guestfish.pod:510 ../libguestfs-1.11.19/fish/guestfish.pod:510
22557 #: ../fish/guestfish.pod:512 ../libguestfs-1.11.19/fish/guestfish.pod:512
22559 "A few commands require a list of strings to be passed. For these, use a "
22560 "whitespace-separated list, enclosed in quotes. Strings containing "
22561 "whitespace to be passed through must be enclosed in single quotes. A "
22562 "literal single quote must be escaped with a backslash."
22566 #: ../fish/guestfish.pod:517 ../libguestfs-1.11.19/fish/guestfish.pod:517
22569 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
22570 " command \"/bin/echo 'foo bar'\"\n"
22571 " command \"/bin/echo \\'foo\\'\"\n"
22576 #: ../fish/guestfish.pod:521 ../libguestfs-1.11.19/fish/guestfish.pod:521
22577 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
22581 #: ../fish/guestfish.pod:523 ../libguestfs-1.11.19/fish/guestfish.pod:523
22583 "In double-quoted arguments (only) use backslash to insert special characters:"
22587 #: ../fish/guestfish.pod:528 ../libguestfs-1.11.19/fish/guestfish.pod:528
22592 #: ../fish/guestfish.pod:530 ../libguestfs-1.11.19/fish/guestfish.pod:530
22593 msgid "Alert (bell) character."
22597 #: ../fish/guestfish.pod:532 ../libguestfs-1.11.19/fish/guestfish.pod:532
22602 #: ../fish/guestfish.pod:534 ../libguestfs-1.11.19/fish/guestfish.pod:534
22603 msgid "Backspace character."
22607 #: ../fish/guestfish.pod:536 ../libguestfs-1.11.19/fish/guestfish.pod:536
22612 #: ../fish/guestfish.pod:538 ../libguestfs-1.11.19/fish/guestfish.pod:538
22613 msgid "Form feed character."
22617 #: ../fish/guestfish.pod:540 ../libguestfs-1.11.19/fish/guestfish.pod:540
22622 #: ../fish/guestfish.pod:542 ../libguestfs-1.11.19/fish/guestfish.pod:542
22623 msgid "Newline character."
22627 #: ../fish/guestfish.pod:544 ../libguestfs-1.11.19/fish/guestfish.pod:544
22632 #: ../fish/guestfish.pod:546 ../libguestfs-1.11.19/fish/guestfish.pod:546
22633 msgid "Carriage return character."
22637 #: ../fish/guestfish.pod:548 ../libguestfs-1.11.19/fish/guestfish.pod:548
22642 #: ../fish/guestfish.pod:550 ../libguestfs-1.11.19/fish/guestfish.pod:550
22643 msgid "Horizontal tab character."
22647 #: ../fish/guestfish.pod:552 ../libguestfs-1.11.19/fish/guestfish.pod:552
22652 #: ../fish/guestfish.pod:554 ../libguestfs-1.11.19/fish/guestfish.pod:554
22653 msgid "Vertical tab character."
22657 #: ../fish/guestfish.pod:556 ../libguestfs-1.11.19/fish/guestfish.pod:556
22662 #: ../fish/guestfish.pod:558 ../libguestfs-1.11.19/fish/guestfish.pod:558
22663 msgid "A literal double quote character."
22667 #: ../fish/guestfish.pod:560 ../libguestfs-1.11.19/fish/guestfish.pod:560
22672 #: ../fish/guestfish.pod:562 ../libguestfs-1.11.19/fish/guestfish.pod:562
22674 "A character with octal value I<ooo>. There must be precisely 3 octal digits "
22679 #: ../fish/guestfish.pod:565 ../libguestfs-1.11.19/fish/guestfish.pod:565
22684 #: ../fish/guestfish.pod:567 ../libguestfs-1.11.19/fish/guestfish.pod:567
22686 "A character with hex value I<hh>. There must be precisely 2 hex digits."
22690 #: ../fish/guestfish.pod:570 ../libguestfs-1.11.19/fish/guestfish.pod:570
22692 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
22697 #: ../fish/guestfish.pod:573 ../libguestfs-1.11.19/fish/guestfish.pod:573
22702 #: ../fish/guestfish.pod:575 ../libguestfs-1.11.19/fish/guestfish.pod:575
22703 msgid "A literal backslash character."
22707 #: ../fish/guestfish.pod:579 ../libguestfs-1.11.19/fish/guestfish.pod:579
22708 msgid "OPTIONAL ARGUMENTS"
22712 #: ../fish/guestfish.pod:581 ../libguestfs-1.11.19/fish/guestfish.pod:581
22714 "Some commands take optional arguments. These arguments appear in this "
22715 "documentation as C<[argname:..]>. You can use them as in these examples:"
22719 #: ../fish/guestfish.pod:585 ../libguestfs-1.11.19/fish/guestfish.pod:585
22722 " add-drive-opts filename\n"
22727 #: ../fish/guestfish.pod:587 ../libguestfs-1.11.19/fish/guestfish.pod:587
22730 " add-drive-opts filename readonly:true\n"
22735 #: ../fish/guestfish.pod:589 ../libguestfs-1.11.19/fish/guestfish.pod:589
22738 " add-drive-opts filename format:qcow2 readonly:false\n"
22743 #: ../fish/guestfish.pod:591 ../libguestfs-1.11.19/fish/guestfish.pod:591
22745 "Each optional argument can appear at most once. All optional arguments must "
22746 "appear after the required ones."
22750 #: ../fish/guestfish.pod:594 ../libguestfs-1.11.19/fish/guestfish.pod:594
22755 #: ../fish/guestfish.pod:596 ../libguestfs-1.11.19/fish/guestfish.pod:596
22757 "This section applies to all commands which can take integers as parameters."
22761 #: ../fish/guestfish.pod:599 ../libguestfs-1.11.19/fish/guestfish.pod:599
22762 msgid "SIZE SUFFIX"
22766 #: ../fish/guestfish.pod:601 ../libguestfs-1.11.19/fish/guestfish.pod:601
22768 "When the command takes a parameter measured in bytes, you can use one of the "
22769 "following suffixes to specify kilobytes, megabytes and larger sizes:"
22773 #: ../fish/guestfish.pod:607 ../libguestfs-1.11.19/fish/guestfish.pod:607
22774 msgid "B<k> or B<K> or B<KiB>"
22775 msgstr "B<k>, B<K> або B<KiB>"
22778 #: ../fish/guestfish.pod:609 ../libguestfs-1.11.19/fish/guestfish.pod:609
22779 msgid "The size in kilobytes (multiplied by 1024)."
22783 #: ../fish/guestfish.pod:611 ../libguestfs-1.11.19/fish/guestfish.pod:611
22788 #: ../fish/guestfish.pod:613 ../libguestfs-1.11.19/fish/guestfish.pod:613
22789 msgid "The size in SI 1000 byte units."
22793 #: ../fish/guestfish.pod:615 ../libguestfs-1.11.19/fish/guestfish.pod:615
22794 msgid "B<M> or B<MiB>"
22795 msgstr "B<M> або B<MiB>"
22798 #: ../fish/guestfish.pod:617 ../libguestfs-1.11.19/fish/guestfish.pod:617
22799 msgid "The size in megabytes (multiplied by 1048576)."
22803 #: ../fish/guestfish.pod:619 ../libguestfs-1.11.19/fish/guestfish.pod:619
22808 #: ../fish/guestfish.pod:621 ../libguestfs-1.11.19/fish/guestfish.pod:621
22809 msgid "The size in SI 1000000 byte units."
22813 #: ../fish/guestfish.pod:623 ../libguestfs-1.11.19/fish/guestfish.pod:623
22814 msgid "B<G> or B<GiB>"
22815 msgstr "B<G> або B<GiB>"
22818 #: ../fish/guestfish.pod:625 ../libguestfs-1.11.19/fish/guestfish.pod:625
22819 msgid "The size in gigabytes (multiplied by 2**30)."
22820 msgstr "Розмір у гігабайтах (з множником 2**30)."
22823 #: ../fish/guestfish.pod:627 ../libguestfs-1.11.19/fish/guestfish.pod:627
22828 #: ../fish/guestfish.pod:629 ../libguestfs-1.11.19/fish/guestfish.pod:629
22829 msgid "The size in SI 10**9 byte units."
22830 msgstr "Розмір у одиницях СІ: 10**9 байтів."
22833 #: ../fish/guestfish.pod:631 ../libguestfs-1.11.19/fish/guestfish.pod:631
22834 msgid "B<T> or B<TiB>"
22835 msgstr "B<T> або B<TiB>"
22838 #: ../fish/guestfish.pod:633 ../libguestfs-1.11.19/fish/guestfish.pod:633
22839 msgid "The size in terabytes (multiplied by 2**40)."
22840 msgstr "Розмір у терабайтах (з множником 2**40)."
22843 #: ../fish/guestfish.pod:635 ../libguestfs-1.11.19/fish/guestfish.pod:635
22848 #: ../fish/guestfish.pod:637 ../libguestfs-1.11.19/fish/guestfish.pod:637
22849 msgid "The size in SI 10**12 byte units."
22853 #: ../fish/guestfish.pod:639 ../libguestfs-1.11.19/fish/guestfish.pod:639
22854 msgid "B<P> or B<PiB>"
22855 msgstr "B<P> або B<PiB>"
22858 #: ../fish/guestfish.pod:641 ../libguestfs-1.11.19/fish/guestfish.pod:641
22859 msgid "The size in petabytes (multiplied by 2**50)."
22863 #: ../fish/guestfish.pod:643 ../libguestfs-1.11.19/fish/guestfish.pod:643
22868 #: ../fish/guestfish.pod:645 ../libguestfs-1.11.19/fish/guestfish.pod:645
22869 msgid "The size in SI 10**15 byte units."
22873 #: ../fish/guestfish.pod:647 ../libguestfs-1.11.19/fish/guestfish.pod:647
22874 msgid "B<E> or B<EiB>"
22875 msgstr "B<E> або B<EiB>"
22878 #: ../fish/guestfish.pod:649 ../libguestfs-1.11.19/fish/guestfish.pod:649
22879 msgid "The size in exabytes (multiplied by 2**60)."
22883 #: ../fish/guestfish.pod:651 ../libguestfs-1.11.19/fish/guestfish.pod:651
22888 #: ../fish/guestfish.pod:653 ../libguestfs-1.11.19/fish/guestfish.pod:653
22889 msgid "The size in SI 10**18 byte units."
22893 #: ../fish/guestfish.pod:655 ../libguestfs-1.11.19/fish/guestfish.pod:655
22894 msgid "B<Z> or B<ZiB>"
22895 msgstr "B<Z> або B<ZiB>"
22898 #: ../fish/guestfish.pod:657 ../libguestfs-1.11.19/fish/guestfish.pod:657
22899 msgid "The size in zettabytes (multiplied by 2**70)."
22903 #: ../fish/guestfish.pod:659 ../libguestfs-1.11.19/fish/guestfish.pod:659
22908 #: ../fish/guestfish.pod:661 ../libguestfs-1.11.19/fish/guestfish.pod:661
22909 msgid "The size in SI 10**21 byte units."
22913 #: ../fish/guestfish.pod:663 ../libguestfs-1.11.19/fish/guestfish.pod:663
22914 msgid "B<Y> or B<YiB>"
22915 msgstr "B<Y> або B<YiB>"
22918 #: ../fish/guestfish.pod:665 ../libguestfs-1.11.19/fish/guestfish.pod:665
22919 msgid "The size in yottabytes (multiplied by 2**80)."
22923 #: ../fish/guestfish.pod:667 ../libguestfs-1.11.19/fish/guestfish.pod:667
22928 #: ../fish/guestfish.pod:669 ../libguestfs-1.11.19/fish/guestfish.pod:669
22929 msgid "The size in SI 10**24 byte units."
22933 #: ../fish/guestfish.pod:675 ../libguestfs-1.11.19/fish/guestfish.pod:675
22936 " truncate-size /file 1G\n"
22941 #: ../fish/guestfish.pod:677 ../libguestfs-1.11.19/fish/guestfish.pod:677
22942 msgid "would truncate the file to 1 gigabyte."
22946 #: ../fish/guestfish.pod:679 ../libguestfs-1.11.19/fish/guestfish.pod:679
22948 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
22949 "the parameter to L</memsize> is specified in megabytes already). Adding a "
22950 "suffix will probably not do what you expect."
22954 #: ../fish/guestfish.pod:683 ../libguestfs-1.11.19/fish/guestfish.pod:683
22955 msgid "OCTAL AND HEXADECIMAL NUMBERS"
22959 #: ../fish/guestfish.pod:685 ../libguestfs-1.11.19/fish/guestfish.pod:685
22961 "For specifying the radix (base) use the C convention: C<0> to prefix an "
22962 "octal number or C<0x> to prefix a hexadecimal number. For example:"
22966 #: ../fish/guestfish.pod:688 ../libguestfs-1.11.19/fish/guestfish.pod:688
22969 " 1234 decimal number 1234\n"
22970 " 02322 octal number, equivalent to decimal 1234\n"
22971 " 0x4d2 hexadecimal number, equivalent to decimal 1234\n"
22976 #: ../fish/guestfish.pod:692 ../libguestfs-1.11.19/fish/guestfish.pod:692
22978 "When using the C<chmod> command, you almost always want to specify an octal "
22979 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
22980 "L<chmod(1)> program):"
22984 #: ../fish/guestfish.pod:696 ../libguestfs-1.11.19/fish/guestfish.pod:696
22987 " chmod 0777 /public # OK\n"
22988 " chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal.\n"
22993 #: ../fish/guestfish.pod:699 ../libguestfs-1.11.19/fish/guestfish.pod:699
22995 "Commands that return numbers usually print them in decimal, but some "
22996 "commands print numbers in other radices (eg. C<umask> prints the mode in "
22997 "octal, preceeded by C<0>)."
23001 #: ../fish/guestfish.pod:703 ../libguestfs-1.11.19/fish/guestfish.pod:703
23002 msgid "WILDCARDS AND GLOBBING"
23006 #: ../fish/guestfish.pod:705 ../libguestfs-1.11.19/fish/guestfish.pod:705
23008 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
23009 "(globbing) by default. So for example the following will not do what you "
23014 #: ../fish/guestfish.pod:709 ../libguestfs-1.11.19/fish/guestfish.pod:709
23022 #: ../fish/guestfish.pod:711 ../libguestfs-1.11.19/fish/guestfish.pod:711
23024 "Assuming you don't have a directory called literally C</home/*> then the "
23025 "above command will return an error."
23029 #: ../fish/guestfish.pod:714 ../libguestfs-1.11.19/fish/guestfish.pod:714
23030 msgid "To perform wildcard expansion, use the C<glob> command."
23034 #: ../fish/guestfish.pod:716 ../libguestfs-1.11.19/fish/guestfish.pod:716
23037 " glob rm-rf /home/*\n"
23042 #: ../fish/guestfish.pod:718 ../libguestfs-1.11.19/fish/guestfish.pod:718
23044 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
23045 "many times), equivalent to:"
23049 #: ../fish/guestfish.pod:721 ../libguestfs-1.11.19/fish/guestfish.pod:721
23052 " rm-rf /home/jim\n"
23053 " rm-rf /home/joe\n"
23054 " rm-rf /home/mary\n"
23059 #: ../fish/guestfish.pod:725 ../libguestfs-1.11.19/fish/guestfish.pod:725
23060 msgid "C<glob> only works on simple guest paths and not on device names."
23064 #: ../fish/guestfish.pod:727 ../libguestfs-1.11.19/fish/guestfish.pod:727
23066 "If you have several parameters, each containing a wildcard, then glob will "
23067 "perform a Cartesian product."
23071 #: ../fish/guestfish.pod:730 ../libguestfs-1.11.19/fish/guestfish.pod:730
23076 #: ../fish/guestfish.pod:732 ../libguestfs-1.11.19/fish/guestfish.pod:732
23078 "Any line which starts with a I<#> character is treated as a comment and "
23079 "ignored. The I<#> can optionally be preceeded by whitespace, but B<not> by "
23080 "a command. For example:"
23084 #: ../fish/guestfish.pod:736 ../libguestfs-1.11.19/fish/guestfish.pod:736
23087 " # this is a comment\n"
23088 " # this is a comment\n"
23089 " foo # NOT a comment\n"
23094 #: ../fish/guestfish.pod:740 ../libguestfs-1.11.19/fish/guestfish.pod:740
23095 msgid "Blank lines are also ignored."
23099 #: ../fish/guestfish.pod:742 ../libguestfs-1.11.19/fish/guestfish.pod:742
23100 msgid "RUNNING COMMANDS LOCALLY"
23104 #: ../fish/guestfish.pod:744 ../libguestfs-1.11.19/fish/guestfish.pod:744
23106 "Any line which starts with a I<!> character is treated as a command sent to "
23107 "the local shell (C</bin/sh> or whatever L<system(3)> uses). For example:"
23111 #: ../fish/guestfish.pod:748 ../libguestfs-1.11.19/fish/guestfish.pod:748
23115 " tgz-out /remote local/remote-data.tar.gz\n"
23120 #: ../fish/guestfish.pod:751 ../libguestfs-1.11.19/fish/guestfish.pod:751
23122 "will create a directory C<local> on the host, and then export the contents "
23123 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>. "
23124 "(See C<tgz-out>)."
23128 #: ../fish/guestfish.pod:755 ../libguestfs-1.11.19/fish/guestfish.pod:755
23130 "To change the local directory, use the C<lcd> command. C<!cd> will have no "
23131 "effect, due to the way that subprocesses work in Unix."
23135 #: ../fish/guestfish.pod:758 ../libguestfs-1.11.19/fish/guestfish.pod:758
23136 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
23140 #: ../fish/guestfish.pod:760 ../libguestfs-1.11.19/fish/guestfish.pod:760
23142 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
23143 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
23144 "and executed as guestfish commands."
23148 #: ../fish/guestfish.pod:764 ../libguestfs-1.11.19/fish/guestfish.pod:764
23150 "Thus you can use shell script to construct arbitrary guestfish commands "
23151 "which are then parsed by guestfish."
23155 #: ../fish/guestfish.pod:767 ../libguestfs-1.11.19/fish/guestfish.pod:767
23157 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
23158 "through C</foo.100>) using guestfish commands alone. However this is simple "
23159 "if we use a shell script to create the guestfish commands for us:"
23163 #: ../fish/guestfish.pod:772 ../libguestfs-1.11.19/fish/guestfish.pod:772
23166 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
23171 #: ../fish/guestfish.pod:774 ../libguestfs-1.11.19/fish/guestfish.pod:774
23172 msgid "or with names like C</foo.001>:"
23176 #: ../fish/guestfish.pod:776 ../libguestfs-1.11.19/fish/guestfish.pod:776
23179 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
23184 #: ../fish/guestfish.pod:778 ../libguestfs-1.11.19/fish/guestfish.pod:778
23186 "When using guestfish interactively it can be helpful to just run the shell "
23187 "script first (ie. remove the initial C<E<lt>> character so it is just an "
23188 "ordinary I<!> local command), see what guestfish commands it would run, and "
23189 "when you are happy with those prepend the C<E<lt>> character to run the "
23190 "guestfish commands for real."
23194 #: ../fish/guestfish.pod:784 ../libguestfs-1.11.19/fish/guestfish.pod:784
23199 #: ../fish/guestfish.pod:786 ../libguestfs-1.11.19/fish/guestfish.pod:786
23201 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
23202 "command (a guestfish command) to the second command (any host command). For "
23207 #: ../fish/guestfish.pod:790 ../libguestfs-1.11.19/fish/guestfish.pod:790
23210 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
23215 #: ../fish/guestfish.pod:792 ../libguestfs-1.11.19/fish/guestfish.pod:792
23217 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
23218 "program). The above command would list all accounts in the guest filesystem "
23219 "which have UID 0, ie. root accounts including backdoors. Other examples:"
23223 #: ../fish/guestfish.pod:797 ../libguestfs-1.11.19/fish/guestfish.pod:797
23226 " hexdump /bin/ls | head\n"
23227 " list-devices | tail -1\n"
23228 " tgz-out / - | tar ztf -\n"
23233 #: ../fish/guestfish.pod:801 ../libguestfs-1.11.19/fish/guestfish.pod:801
23235 "The space before the pipe symbol is required, any space after the pipe "
23236 "symbol is optional. Everything after the pipe symbol is just passed "
23237 "straight to the host shell, so it can contain redirections, globs and "
23238 "anything else that makes sense on the host side."
23242 #: ../fish/guestfish.pod:806 ../libguestfs-1.11.19/fish/guestfish.pod:806
23244 "To use a literal argument which begins with a pipe symbol, you have to quote "
23249 #: ../fish/guestfish.pod:809 ../libguestfs-1.11.19/fish/guestfish.pod:809
23257 #: ../fish/guestfish.pod:811 ../libguestfs-1.11.19/fish/guestfish.pod:811
23258 msgid "HOME DIRECTORIES"
23262 #: ../fish/guestfish.pod:813 ../libguestfs-1.11.19/fish/guestfish.pod:813
23264 "If a parameter starts with the character C<~> then the tilde may be expanded "
23265 "as a home directory path (either C<~> for the current user's home directory, "
23266 "or C<~user> for another user)."
23270 #: ../fish/guestfish.pod:817 ../libguestfs-1.11.19/fish/guestfish.pod:817
23272 "Note that home directory expansion happens for users known I<on the host>, "
23273 "not in the guest filesystem."
23277 #: ../fish/guestfish.pod:820 ../libguestfs-1.11.19/fish/guestfish.pod:820
23279 "To use a literal argument which begins with a tilde, you have to quote it, "
23284 #: ../fish/guestfish.pod:823 ../libguestfs-1.11.19/fish/guestfish.pod:823
23292 #: ../fish/guestfish.pod:825 ../libguestfs-1.11.19/fish/guestfish.pod:825
23293 #: ../libguestfs-1.11.19/src/guestfs.pod:519 ../src/guestfs.pod:519
23294 msgid "ENCRYPTED DISKS"
23295 msgstr "ЗАШИФРОВАНІ ДИСКИ"
23298 #: ../fish/guestfish.pod:827 ../libguestfs-1.11.19/fish/guestfish.pod:827
23300 "Libguestfs has some support for Linux guests encrypted according to the "
23301 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
23302 "disk encryption systems used by modern Linux guests. Currently only LVM-on-"
23303 "LUKS is supported."
23307 #: ../fish/guestfish.pod:832 ../libguestfs-1.11.19/fish/guestfish.pod:832
23308 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
23312 #: ../fish/guestfish.pod:834 ../libguestfs-1.11.19/fish/guestfish.pod:834
23315 " ><fs> vfs-type /dev/sda2\n"
23321 #: ../fish/guestfish.pod:837 ../libguestfs-1.11.19/fish/guestfish.pod:837
23323 "Then open those devices using L</luks-open>. This creates a device-mapper "
23324 "device called C</dev/mapper/luksdev>."
23328 #: ../fish/guestfish.pod:840 ../libguestfs-1.11.19/fish/guestfish.pod:840
23331 " ><fs> luks-open /dev/sda2 luksdev\n"
23332 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
23337 #: ../fish/guestfish.pod:843 ../libguestfs-1.11.19/fish/guestfish.pod:843
23339 "Finally you have to tell LVM to scan for volume groups on the newly created "
23344 #: ../fish/guestfish.pod:846 ../libguestfs-1.11.19/fish/guestfish.pod:846
23348 " vg-activate-all true\n"
23353 #: ../fish/guestfish.pod:849 ../libguestfs-1.11.19/fish/guestfish.pod:849
23354 msgid "The logical volume(s) can now be mounted in the usual way."
23358 #: ../fish/guestfish.pod:851 ../libguestfs-1.11.19/fish/guestfish.pod:851
23360 "Before closing a LUKS device you must unmount any logical volumes on it and "
23361 "deactivate the volume groups by calling C<vg-activate false VG> on each "
23362 "one. Then you can close the mapper device:"
23366 #: ../fish/guestfish.pod:855 ../libguestfs-1.11.19/fish/guestfish.pod:855
23369 " vg-activate false /dev/VG\n"
23370 " luks-close /dev/mapper/luksdev\n"
23375 #: ../fish/guestfish.pod:860 ../libguestfs-1.11.19/fish/guestfish.pod:860
23377 "If a path is prefixed with C<win:> then you can use Windows-style drive "
23378 "letters and paths (with some limitations). The following commands are "
23383 #: ../fish/guestfish.pod:864 ../libguestfs-1.11.19/fish/guestfish.pod:864
23386 " file /WINDOWS/system32/config/system.LOG\n"
23391 #: ../fish/guestfish.pod:866 ../libguestfs-1.11.19/fish/guestfish.pod:866
23394 " file win:\\windows\\system32\\config\\system.log\n"
23399 #: ../fish/guestfish.pod:868 ../libguestfs-1.11.19/fish/guestfish.pod:868
23402 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
23407 #: ../fish/guestfish.pod:870 ../libguestfs-1.11.19/fish/guestfish.pod:870
23409 "The parameter is rewritten \"behind the scenes\" by looking up the position "
23410 "where the drive is mounted, prepending that to the path, changing all "
23411 "backslash characters to forward slash, then resolving the result using L</"
23412 "case-sensitive-path>. For example if the E: drive was mounted on C</e> then "
23413 "the parameter might be rewritten like this:"
23417 #: ../fish/guestfish.pod:876 ../libguestfs-1.11.19/fish/guestfish.pod:876
23420 " win:e:\\foo\\bar => /e/FOO/bar\n"
23425 #: ../fish/guestfish.pod:878 ../libguestfs-1.11.19/fish/guestfish.pod:878
23426 msgid "This only works in argument positions that expect a path."
23430 #: ../fish/guestfish.pod:880 ../libguestfs-1.11.19/fish/guestfish.pod:880
23431 msgid "UPLOADING AND DOWNLOADING FILES"
23435 #: ../fish/guestfish.pod:882 ../libguestfs-1.11.19/fish/guestfish.pod:882
23437 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
23438 "others which upload from or download to a local file, you can use the "
23439 "special filename C<-> to mean \"from stdin\" or \"to stdout\". For example:"
23443 #: ../fish/guestfish.pod:886 ../libguestfs-1.11.19/fish/guestfish.pod:886
23451 #: ../fish/guestfish.pod:888 ../libguestfs-1.11.19/fish/guestfish.pod:888
23453 "reads stdin and creates from that a file C</foo> in the disk image, and:"
23457 #: ../fish/guestfish.pod:891 ../libguestfs-1.11.19/fish/guestfish.pod:891
23460 " tar-out /etc - | tar tf -\n"
23465 #: ../fish/guestfish.pod:893 ../libguestfs-1.11.19/fish/guestfish.pod:893
23467 "writes the tarball to stdout and then pipes that into the external \"tar\" "
23468 "command (see L</PIPES>)."
23472 #: ../fish/guestfish.pod:896 ../libguestfs-1.11.19/fish/guestfish.pod:896
23474 "When using C<-> to read from stdin, the input is read up to the end of "
23475 "stdin. You can also use a special \"heredoc\"-like syntax to read up to "
23476 "some arbitrary end marker:"
23480 #: ../fish/guestfish.pod:900 ../libguestfs-1.11.19/fish/guestfish.pod:900
23483 " upload -<<END /foo\n"
23492 #: ../fish/guestfish.pod:906 ../libguestfs-1.11.19/fish/guestfish.pod:906
23494 "Any string of characters can be used instead of C<END>. The end marker must "
23495 "appear on a line of its own, without any preceeding or following characters "
23496 "(not even spaces)."
23500 #: ../fish/guestfish.pod:910 ../libguestfs-1.11.19/fish/guestfish.pod:910
23502 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
23503 "upload local files (so-called \"FileIn\" parameters in the generator)."
23507 #: ../fish/guestfish.pod:913 ../libguestfs-1.11.19/fish/guestfish.pod:913
23508 msgid "EXIT ON ERROR BEHAVIOUR"
23512 #: ../fish/guestfish.pod:915 ../libguestfs-1.11.19/fish/guestfish.pod:915
23514 "By default, guestfish will ignore any errors when in interactive mode (ie. "
23515 "taking commands from a human over a tty), and will exit on the first error "
23516 "in non-interactive mode (scripts, commands given on the command line)."
23520 #: ../fish/guestfish.pod:920 ../libguestfs-1.11.19/fish/guestfish.pod:920
23522 "If you prefix a command with a I<-> character, then that command will not "
23523 "cause guestfish to exit, even if that (one) command returns an error."
23527 #: ../fish/guestfish.pod:924 ../libguestfs-1.11.19/fish/guestfish.pod:924
23528 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
23532 #: ../fish/guestfish.pod:926 ../libguestfs-1.11.19/fish/guestfish.pod:926
23534 "Guestfish can be remote-controlled over a socket. This is useful "
23535 "particularly in shell scripts where you want to make several different "
23536 "changes to a filesystem, but you don't want the overhead of starting up a "
23537 "guestfish process each time."
23541 #: ../fish/guestfish.pod:931 ../libguestfs-1.11.19/fish/guestfish.pod:931
23542 msgid "Start a guestfish server process using:"
23546 #: ../fish/guestfish.pod:933 ../libguestfs-1.11.19/fish/guestfish.pod:933
23549 " eval \"`guestfish --listen`\"\n"
23554 #: ../fish/guestfish.pod:935 ../libguestfs-1.11.19/fish/guestfish.pod:935
23555 msgid "and then send it commands by doing:"
23559 #: ../fish/guestfish.pod:937 ../libguestfs-1.11.19/fish/guestfish.pod:937
23562 " guestfish --remote cmd [...]\n"
23567 #: ../fish/guestfish.pod:939 ../libguestfs-1.11.19/fish/guestfish.pod:939
23568 msgid "To cause the server to exit, send it the exit command:"
23572 #: ../fish/guestfish.pod:943 ../libguestfs-1.11.19/fish/guestfish.pod:943
23574 "Note that the server will normally exit if there is an error in a command. "
23575 "You can change this in the usual way. See section L</EXIT ON ERROR "
23580 #: ../fish/guestfish.pod:947 ../libguestfs-1.11.19/fish/guestfish.pod:947
23581 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
23585 #: ../fish/guestfish.pod:949 ../libguestfs-1.11.19/fish/guestfish.pod:949
23587 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
23588 "is how the I<--remote> option knows where to send the commands. You can "
23589 "have several guestfish listener processes running using:"
23593 #: ../fish/guestfish.pod:953 ../libguestfs-1.11.19/fish/guestfish.pod:953
23596 " eval \"`guestfish --listen`\"\n"
23597 " pid1=$GUESTFISH_PID\n"
23598 " eval \"`guestfish --listen`\"\n"
23599 " pid2=$GUESTFISH_PID\n"
23601 " guestfish --remote=$pid1 cmd\n"
23602 " guestfish --remote=$pid2 cmd\n"
23607 #: ../fish/guestfish.pod:961 ../libguestfs-1.11.19/fish/guestfish.pod:961
23608 msgid "REMOTE CONTROL AND CSH"
23612 #: ../fish/guestfish.pod:963 ../libguestfs-1.11.19/fish/guestfish.pod:963
23614 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
23619 #: ../fish/guestfish.pod:966 ../libguestfs-1.11.19/fish/guestfish.pod:966
23622 " eval \"`guestfish --listen --csh`\"\n"
23627 #: ../fish/guestfish.pod:968 ../libguestfs-1.11.19/fish/guestfish.pod:968
23628 msgid "REMOTE CONTROL DETAILS"
23632 #: ../fish/guestfish.pod:970 ../libguestfs-1.11.19/fish/guestfish.pod:970
23634 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
23635 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
23636 "and C<$PID> is the process ID of the server."
23640 #: ../fish/guestfish.pod:974 ../libguestfs-1.11.19/fish/guestfish.pod:974
23641 msgid "Guestfish client and server versions must match exactly."
23645 #: ../fish/guestfish.pod:976 ../libguestfs-1.11.19/fish/guestfish.pod:976
23646 msgid "PREPARED DISK IMAGES"
23650 #: ../fish/guestfish.pod:978 ../libguestfs-1.11.19/fish/guestfish.pod:978
23652 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
23653 "preformatted disk images that guestfish can make for you to save typing. "
23654 "This is particularly useful for testing purposes. This option is used "
23655 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
23656 "can be mixed with I<-a>)."
23660 #: ../fish/guestfish.pod:984 ../libguestfs-1.11.19/fish/guestfish.pod:984
23662 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
23663 "the second and so on. Existing files in the current directory are "
23668 #: ../fish/guestfish.pod:988 ../libguestfs-1.11.19/fish/guestfish.pod:988
23670 "The type briefly describes how the disk should be sized, partitioned, how "
23671 "filesystem(s) should be created, and how content should be added. "
23672 "Optionally the type can be followed by extra parameters, separated by C<:> "
23673 "(colon) characters. For example, I<-N fs> creates a default 100MB, sparsely-"
23674 "allocated disk, containing a single partition, with the partition formatted "
23675 "as ext2. I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
23680 #: ../fish/guestfish.pod:996 ../libguestfs-1.11.19/fish/guestfish.pod:996
23681 msgid "To list the available types and any extra parameters they take, run:"
23685 #: ../fish/guestfish.pod:1000 ../libguestfs-1.11.19/fish/guestfish.pod:1000
23687 "Note that the prepared filesystem is not mounted. You would usually have to "
23688 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
23692 #: ../fish/guestfish.pod:1004 ../libguestfs-1.11.19/fish/guestfish.pod:1004
23694 "If any I<-N> or I<--new> options are given, the guest is automatically "
23699 #: ../fish/guestfish.pod:1009 ../libguestfs-1.11.19/fish/guestfish.pod:1009
23700 msgid "Create a 100MB disk with an ext4-formatted partition:"
23704 #: ../fish/guestfish.pod:1011 ../libguestfs-1.11.19/fish/guestfish.pod:1011
23707 " guestfish -N fs:ext4\n"
23712 #: ../fish/guestfish.pod:1013 ../libguestfs-1.11.19/fish/guestfish.pod:1013
23713 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
23717 #: ../fish/guestfish.pod:1015 ../libguestfs-1.11.19/fish/guestfish.pod:1015
23720 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
23725 #: ../fish/guestfish.pod:1017 ../libguestfs-1.11.19/fish/guestfish.pod:1017
23726 msgid "Create a blank 200MB disk:"
23730 #: ../fish/guestfish.pod:1019 ../libguestfs-1.11.19/fish/guestfish.pod:1019
23733 " guestfish -N disk:200M\n"
23738 #: ../fish/guestfish.pod:1021 ../libguestfs-1.11.19/fish/guestfish.pod:1021
23739 msgid "PROGRESS BARS"
23743 #: ../fish/guestfish.pod:1023 ../libguestfs-1.11.19/fish/guestfish.pod:1023
23745 "Some (not all) long-running commands send progress notification messages as "
23746 "they are running. Guestfish turns these messages into progress bars."
23750 #: ../fish/guestfish.pod:1027 ../libguestfs-1.11.19/fish/guestfish.pod:1027
23752 "When a command that supports progress bars takes longer than two seconds to "
23753 "run, and if progress bars are enabled, then you will see one appearing below "
23758 #: ../fish/guestfish.pod:1031 ../libguestfs-1.11.19/fish/guestfish.pod:1031
23761 " ><fs> copy-size /large-file /another-file 2048M\n"
23762 " / 10% [#####-----------------------------------------] 00:30\n"
23767 #: ../fish/guestfish.pod:1034 ../libguestfs-1.11.19/fish/guestfish.pod:1034
23769 "The spinner on the left hand side moves round once for every progress "
23770 "notification received from the backend. This is a (reasonably) golden "
23771 "assurance that the command is \"doing something\" even if the progress bar "
23772 "is not moving, because the command is able to send the progress "
23773 "notifications. When the bar reaches 100% and the command finishes, the "
23774 "spinner disappears."
23778 #: ../fish/guestfish.pod:1041 ../libguestfs-1.11.19/fish/guestfish.pod:1041
23780 "Progress bars are enabled by default when guestfish is used interactively. "
23781 "You can enable them even for non-interactive modes using I<--progress-bars>, "
23782 "and you can disable them completely using I<--no-progress-bars>."
23786 #: ../fish/guestfish.pod:1046 ../libguestfs-1.11.19/fish/guestfish.pod:1046
23787 msgid "GUESTFISH COMMANDS"
23791 #: ../fish/guestfish.pod:1048 ../libguestfs-1.11.19/fish/guestfish.pod:1048
23793 "The commands in this section are guestfish convenience commands, in other "
23794 "words, they are not part of the L<guestfs(3)> API."
23798 #: ../fish/guestfish.pod:1051 ../libguestfs-1.11.19/fish/guestfish.pod:1051
23803 #: ../fish/guestfish.pod:1053 ../libguestfs-1.11.19/fish/guestfish.pod:1053
23815 #: ../fish/guestfish.pod:1056 ../libguestfs-1.11.19/fish/guestfish.pod:1056
23816 msgid "Without any parameter, this provides general help."
23817 msgstr "Без параметра показує загальну довідкову інформацію."
23820 #: ../fish/guestfish.pod:1058 ../libguestfs-1.11.19/fish/guestfish.pod:1058
23821 msgid "With a C<cmd> parameter, this displays detailed help for that command."
23825 #: ../fish/guestfish.pod:1060 ../libguestfs-1.11.19/fish/guestfish.pod:1060
23826 msgid "quit | exit"
23830 #: ../fish/guestfish.pod:1062 ../libguestfs-1.11.19/fish/guestfish.pod:1062
23831 msgid "This exits guestfish. You can also use C<^D> key."
23835 #: ../fish/guestfish.pod:1064 ../libguestfs-1.11.19/fish/guestfish.pod:1064
23836 msgid "@FISH_COMMANDS@"
23840 #: ../fish/guestfish.pod:1066 ../libguestfs-1.11.19/fish/guestfish.pod:1066
23845 #: ../fish/guestfish.pod:1068 ../libguestfs-1.11.19/fish/guestfish.pod:1068
23846 #: ../libguestfs-1.11.19/src/guestfs.pod:1474 ../src/guestfs.pod:1474
23851 #: ../fish/guestfish.pod:1070 ../libguestfs-1.11.19/fish/guestfish.pod:1070
23852 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:77
23853 #: ../test-tool/libguestfs-test-tool.pod:77
23855 msgstr "КОД ВИХОДУ"
23858 #: ../fish/guestfish.pod:1072 ../libguestfs-1.11.19/fish/guestfish.pod:1072
23860 "guestfish returns 0 if the commands completed without error, or 1 if there "
23865 #: ../fish/guestfish.pod:1079 ../libguestfs-1.11.19/fish/guestfish.pod:1079
23870 #: ../fish/guestfish.pod:1081 ../libguestfs-1.11.19/fish/guestfish.pod:1081
23872 "The C<edit> command uses C<$EDITOR> as the editor. If not set, it uses "
23877 #: ../fish/guestfish.pod:1084 ../libguestfs-1.11.19/fish/guestfish.pod:1084
23878 msgid "GUESTFISH_DISPLAY_IMAGE"
23882 #: ../fish/guestfish.pod:1086 ../libguestfs-1.11.19/fish/guestfish.pod:1086
23884 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images. "
23885 "If not set, it uses L<display(1)>."
23889 #: ../fish/guestfish.pod:1089 ../libguestfs-1.11.19/fish/guestfish.pod:1089
23890 msgid "GUESTFISH_PID"
23894 #: ../fish/guestfish.pod:1091 ../libguestfs-1.11.19/fish/guestfish.pod:1091
23896 "Used with the I<--remote> option to specify the remote guestfish process to "
23897 "control. See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
23901 #: ../fish/guestfish.pod:1095 ../libguestfs-1.11.19/fish/guestfish.pod:1095
23906 #: ../fish/guestfish.pod:1097 ../libguestfs-1.11.19/fish/guestfish.pod:1097
23908 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor. If "
23909 "not specified, the external L<hexedit(1)> program is used."
23913 #: ../fish/guestfish.pod:1101 ../libguestfs-1.11.19/fish/guestfish.pod:1101
23918 #: ../fish/guestfish.pod:1103 ../libguestfs-1.11.19/fish/guestfish.pod:1103
23920 "If compiled with GNU readline support, various files in the home directory "
23921 "can be used. See L</FILES>."
23925 #: ../fish/guestfish.pod:1106 ../libguestfs-1.11.19/fish/guestfish.pod:1106
23926 #: ../libguestfs-1.11.19/src/guestfs.pod:2964 ../src/guestfs.pod:2964
23927 msgid "LIBGUESTFS_APPEND"
23931 #: ../fish/guestfish.pod:1108 ../libguestfs-1.11.19/fish/guestfish.pod:1108
23932 #: ../libguestfs-1.11.19/src/guestfs.pod:2966 ../src/guestfs.pod:2966
23933 msgid "Pass additional options to the guest kernel."
23937 #: ../fish/guestfish.pod:1110 ../libguestfs-1.11.19/fish/guestfish.pod:1110
23938 #: ../libguestfs-1.11.19/src/guestfs.pod:2968 ../src/guestfs.pod:2968
23939 msgid "LIBGUESTFS_DEBUG"
23940 msgstr "LIBGUESTFS_DEBUG"
23943 #: ../fish/guestfish.pod:1112 ../libguestfs-1.11.19/fish/guestfish.pod:1112
23945 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages. This has the same "
23946 "effect as using the B<-v> option."
23950 #: ../fish/guestfish.pod:1115 ../libguestfs-1.11.19/fish/guestfish.pod:1115
23951 #: ../libguestfs-1.11.19/src/guestfs.pod:2973 ../src/guestfs.pod:2973
23952 msgid "LIBGUESTFS_MEMSIZE"
23953 msgstr "LIBGUESTFS_MEMSIZE"
23956 #: ../fish/guestfish.pod:1117 ../libguestfs-1.11.19/fish/guestfish.pod:1117
23957 #: ../libguestfs-1.11.19/src/guestfs.pod:2975 ../src/guestfs.pod:2975
23959 "Set the memory allocated to the qemu process, in megabytes. For example:"
23963 #: ../fish/guestfish.pod:1120 ../libguestfs-1.11.19/fish/guestfish.pod:1120
23964 #: ../libguestfs-1.11.19/src/guestfs.pod:2978 ../src/guestfs.pod:2978
23967 " LIBGUESTFS_MEMSIZE=700\n"
23970 " LIBGUESTFS_MEMSIZE=700\n"
23974 #: ../fish/guestfish.pod:1122 ../libguestfs-1.11.19/fish/guestfish.pod:1122
23975 #: ../libguestfs-1.11.19/src/guestfs.pod:2980 ../src/guestfs.pod:2980
23976 msgid "LIBGUESTFS_PATH"
23980 #: ../fish/guestfish.pod:1124 ../libguestfs-1.11.19/fish/guestfish.pod:1124
23982 "Set the path that guestfish uses to search for kernel and initrd.img. See "
23983 "the discussion of paths in L<guestfs(3)>."
23987 #: ../fish/guestfish.pod:1127 ../libguestfs-1.11.19/fish/guestfish.pod:1127
23988 #: ../libguestfs-1.11.19/src/guestfs.pod:2985 ../src/guestfs.pod:2985
23989 msgid "LIBGUESTFS_QEMU"
23993 #: ../fish/guestfish.pod:1129 ../libguestfs-1.11.19/fish/guestfish.pod:1129
23994 #: ../libguestfs-1.11.19/src/guestfs.pod:2987 ../src/guestfs.pod:2987
23996 "Set the default qemu binary that libguestfs uses. If not set, then the qemu "
23997 "which was found at compile time by the configure script is used."
24001 #: ../fish/guestfish.pod:1133 ../libguestfs-1.11.19/fish/guestfish.pod:1133
24002 #: ../libguestfs-1.11.19/src/guestfs.pod:2993 ../src/guestfs.pod:2993
24003 msgid "LIBGUESTFS_TRACE"
24007 #: ../fish/guestfish.pod:1135 ../libguestfs-1.11.19/fish/guestfish.pod:1135
24008 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
24012 #: ../fish/guestfish.pod:1137 ../libguestfs-1.11.19/fish/guestfish.pod:1137
24014 msgstr "РОЗБИТТЯ НА СТОРІНКИ"
24017 #: ../fish/guestfish.pod:1139 ../libguestfs-1.11.19/fish/guestfish.pod:1139
24019 "The C<more> command uses C<$PAGER> as the pager. If not set, it uses "
24024 #: ../fish/guestfish.pod:1142 ../libguestfs-1.11.19/fish/guestfish.pod:1142
24025 #: ../libguestfs-1.11.19/src/guestfs.pod:2998 ../src/guestfs.pod:2998
24030 #: ../fish/guestfish.pod:1144 ../libguestfs-1.11.19/fish/guestfish.pod:1144
24031 #: ../libguestfs-1.11.19/src/guestfs.pod:3000 ../src/guestfs.pod:3000
24033 "Location of temporary directory, defaults to C</tmp> except for the cached "
24034 "supermin appliance which defaults to C</var/tmp>."
24038 #: ../fish/guestfish.pod:1147 ../libguestfs-1.11.19/fish/guestfish.pod:1147
24039 #: ../libguestfs-1.11.19/src/guestfs.pod:3003 ../src/guestfs.pod:3003
24041 "If libguestfs was compiled to use the supermin appliance then the real "
24042 "appliance is cached in this directory, shared between all handles belonging "
24043 "to the same EUID. You can use C<$TMPDIR> to configure another directory to "
24044 "use in case C</var/tmp> is not large enough."
24048 #: ../fish/guestfish.pod:1155 ../fuse/guestmount.pod:288
24049 #: ../libguestfs-1.11.19/fish/guestfish.pod:1155
24050 #: ../libguestfs-1.11.19/fuse/guestmount.pod:288
24051 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:269
24052 #: ../rescue/virt-rescue.pod:269
24057 #: ../fish/guestfish.pod:1159 ../fuse/guestmount.pod:292
24058 #: ../libguestfs-1.11.19/fish/guestfish.pod:1159
24059 #: ../libguestfs-1.11.19/fuse/guestmount.pod:292
24060 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:273
24061 #: ../rescue/virt-rescue.pod:273
24062 msgid "$HOME/.libguestfs-tools.rc"
24066 #: ../fish/guestfish.pod:1161 ../fuse/guestmount.pod:294
24067 #: ../libguestfs-1.11.19/fish/guestfish.pod:1161
24068 #: ../libguestfs-1.11.19/fuse/guestmount.pod:294
24069 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:275
24070 #: ../rescue/virt-rescue.pod:275
24071 msgid "/etc/libguestfs-tools.conf"
24075 #: ../fish/guestfish.pod:1163 ../fuse/guestmount.pod:296
24076 #: ../libguestfs-1.11.19/fish/guestfish.pod:1163
24077 #: ../libguestfs-1.11.19/fuse/guestmount.pod:296
24078 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:277
24079 #: ../rescue/virt-rescue.pod:277
24081 "This configuration file controls the default read-only or read-write mode "
24082 "(I<--ro> or I<--rw>)."
24086 #: ../fish/guestfish.pod:1166 ../libguestfs-1.11.19/fish/guestfish.pod:1166
24087 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
24091 #: ../fish/guestfish.pod:1168 ../libguestfs-1.11.19/fish/guestfish.pod:1168
24092 msgid "$HOME/.guestfish"
24096 #: ../fish/guestfish.pod:1170 ../libguestfs-1.11.19/fish/guestfish.pod:1170
24098 "If compiled with GNU readline support, then the command history is saved in "
24103 #: ../fish/guestfish.pod:1173 ../libguestfs-1.11.19/fish/guestfish.pod:1173
24104 msgid "$HOME/.inputrc"
24108 #: ../fish/guestfish.pod:1175 ../libguestfs-1.11.19/fish/guestfish.pod:1175
24109 msgid "/etc/inputrc"
24113 #: ../fish/guestfish.pod:1177 ../libguestfs-1.11.19/fish/guestfish.pod:1177
24115 "If compiled with GNU readline support, then these files can be used to "
24116 "configure readline. For further information, please see L<readline(3)/"
24117 "INITIALIZATION FILE>."
24121 #: ../fish/guestfish.pod:1181 ../libguestfs-1.11.19/fish/guestfish.pod:1181
24122 msgid "To write rules which only apply to guestfish, use:"
24126 #: ../fish/guestfish.pod:1183 ../libguestfs-1.11.19/fish/guestfish.pod:1183
24136 #: ../fish/guestfish.pod:1187 ../libguestfs-1.11.19/fish/guestfish.pod:1187
24138 "Variables that you can set in inputrc that change the behaviour of guestfish "
24139 "in useful ways include:"
24143 #: ../fish/guestfish.pod:1192 ../libguestfs-1.11.19/fish/guestfish.pod:1192
24144 msgid "completion-ignore-case (default: on)"
24148 #: ../fish/guestfish.pod:1194 ../libguestfs-1.11.19/fish/guestfish.pod:1194
24150 "By default, guestfish will ignore case when tab-completing paths on the "
24155 #: ../fish/guestfish.pod:1197 ../libguestfs-1.11.19/fish/guestfish.pod:1197
24158 " set completion-ignore-case off\n"
24163 #: ../fish/guestfish.pod:1199 ../libguestfs-1.11.19/fish/guestfish.pod:1199
24164 msgid "to make guestfish case sensitive."
24168 #: ../fish/guestfish.pod:1203 ../libguestfs-1.11.19/fish/guestfish.pod:1203
24173 #: ../fish/guestfish.pod:1205 ../libguestfs-1.11.19/fish/guestfish.pod:1205
24174 msgid "test2.img (etc)"
24178 #: ../fish/guestfish.pod:1207 ../libguestfs-1.11.19/fish/guestfish.pod:1207
24180 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
24181 "will be created in the file C<test1.img> in the current directory. The "
24182 "second use of I<-N> will use C<test2.img> and so on. Any existing file with "
24183 "the same name will be overwritten."
24187 #: ../fish/guestfish.pod:1216 ../libguestfs-1.11.19/fish/guestfish.pod:1216
24189 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-copy-in(1)"
24190 ">, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)"
24191 ">, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions"
24192 "(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)"
24193 ">, L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)"
24194 ">, L<display(1)>, L<hexedit(1)>."
24198 #: ../fish/guestfish.pod:1244 ../libguestfs-1.11.19/fish/guestfish.pod:1244
24199 #: ../libguestfs-1.11.19/src/guestfs.pod:3086
24200 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:99
24201 #: ../src/guestfs.pod:3086 ../test-tool/libguestfs-test-tool.pod:99
24202 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
24206 #: ../fish/virt-copy-in.pod:5 ../libguestfs-1.11.19/fish/virt-copy-in.pod:5
24208 "virt-copy-in - Copy files and directories into a virtual machine disk image."
24212 #: ../fish/virt-copy-in.pod:9 ../libguestfs-1.11.19/fish/virt-copy-in.pod:9
24215 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
24220 #: ../fish/virt-copy-in.pod:11 ../libguestfs-1.11.19/fish/virt-copy-in.pod:11
24223 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
24228 #: ../fish/virt-copy-in.pod:15 ../libguestfs-1.11.19/fish/virt-copy-in.pod:15
24230 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially "
24231 "causing disk corruption. The virtual machine must be shut down before you "
24232 "use this command."
24236 #: ../fish/virt-copy-in.pod:21 ../libguestfs-1.11.19/fish/virt-copy-in.pod:21
24238 "C<virt-copy-in> copies files and directories from the local disk into a "
24239 "virtual machine disk image or named libvirt domain."
24243 #: ../fish/virt-copy-in.pod:24 ../libguestfs-1.11.19/fish/virt-copy-in.pod:24
24245 "You can give one of more filenames and directories on the command line. "
24246 "Directories are copied in recursively. The final parameter must be the "
24247 "destination directory in the disk image which must be an absolute path "
24248 "starting with a C</> character."
24252 #: ../fish/virt-copy-in.pod:33 ../libguestfs-1.11.19/fish/virt-copy-in.pod:33
24255 " virt-copy-in -d MyGuest resolv.conf /etc\n"
24260 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
24261 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:35
24262 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:32
24263 msgid "Upload a home directory to a guest:"
24267 #: ../fish/virt-copy-in.pod:37 ../libguestfs-1.11.19/fish/virt-copy-in.pod:37
24270 " virt-copy-in -d MyGuest skel /home\n"
24275 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
24276 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
24277 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:39
24278 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:28
24279 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:36
24280 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:30
24281 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
24285 #: ../fish/virt-copy-in.pod:41 ../libguestfs-1.11.19/fish/virt-copy-in.pod:41
24287 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24288 "> C<copy-in> command. For anything more complex than a trivial copy, you "
24289 "are probably better off using guestfish directly."
24293 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
24294 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
24295 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:47
24296 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:36
24297 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:44
24298 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:38
24300 "Since the shell script just passes options straight to guestfish, read "
24301 "L<guestfish(1)> to see the full list of options."
24305 #: ../fish/virt-copy-in.pod:52 ../libguestfs-1.11.19/fish/virt-copy-in.pod:52
24308 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24309 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24310 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24311 #| "libguestfs.org/>."
24313 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
24314 "L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
24316 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24317 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24318 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24322 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
24323 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
24324 #: ../libguestfs-1.11.19/fish/virt-copy-in.pod:66
24325 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:55
24326 #: ../libguestfs-1.11.19/fish/virt-tar-in.pod:64
24327 #: ../libguestfs-1.11.19/fish/virt-tar-out.pod:57
24329 #| msgid "Copyright (C) 2009 Red Hat Inc."
24330 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
24331 msgstr "© Red Hat Inc., 2009"
24334 #: ../fish/virt-copy-out.pod:5 ../libguestfs-1.11.19/fish/virt-copy-out.pod:5
24336 "virt-copy-out - Copy files and directories out of a virtual machine disk "
24341 #: ../fish/virt-copy-out.pod:9 ../libguestfs-1.11.19/fish/virt-copy-out.pod:9
24344 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
24349 #: ../fish/virt-copy-out.pod:11
24350 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:11
24353 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
24358 #: ../fish/virt-copy-out.pod:15
24359 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:15
24361 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
24362 "image or named libvirt domain."
24366 #: ../fish/virt-copy-out.pod:18
24367 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:18
24369 "You can give one of more filenames and directories on the command line. "
24370 "Directories are copied out recursively."
24374 #: ../fish/virt-copy-out.pod:23
24375 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:23
24376 msgid "Download the home directories from a virtual machine:"
24380 #: ../fish/virt-copy-out.pod:25
24381 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:25
24385 " virt-copy-out -d MyGuest /home homes\n"
24390 #: ../fish/virt-copy-out.pod:30
24391 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:30
24393 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24394 "> C<copy-out> command. For anything more complex than a trivial copy, you "
24395 "are probably better off using guestfish directly."
24399 #: ../fish/virt-copy-out.pod:41
24400 #: ../libguestfs-1.11.19/fish/virt-copy-out.pod:41
24403 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24404 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24405 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24406 #| "libguestfs.org/>."
24408 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L<virt-"
24409 "tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
24411 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24412 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24413 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24417 #: ../fish/virt-tar-in.pod:5 ../libguestfs-1.11.19/fish/virt-tar-in.pod:5
24418 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
24422 #: ../fish/virt-tar-in.pod:9 ../libguestfs-1.11.19/fish/virt-tar-in.pod:9
24425 " virt-tar-in -a disk.img data.tar /destination\n"
24430 #: ../fish/virt-tar-in.pod:11 ../libguestfs-1.11.19/fish/virt-tar-in.pod:11
24433 " virt-tar-in -d domain data.tar /destination\n"
24438 #: ../fish/virt-tar-in.pod:13 ../libguestfs-1.11.19/fish/virt-tar-in.pod:13
24441 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
24446 #: ../fish/virt-tar-in.pod:17 ../libguestfs-1.11.19/fish/virt-tar-in.pod:17
24448 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
24449 "causing disk corruption. The virtual machine must be shut down before you "
24450 "use this command."
24454 #: ../fish/virt-tar-in.pod:23 ../libguestfs-1.11.19/fish/virt-tar-in.pod:23
24456 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
24457 "image or named libvirt domain."
24461 #: ../fish/virt-tar-in.pod:26 ../libguestfs-1.11.19/fish/virt-tar-in.pod:26
24463 "The first parameter is the tar file. Use C<-> to read the tar file from "
24464 "standard input. The second parameter is the absolute target directory to "
24469 #: ../fish/virt-tar-in.pod:34 ../libguestfs-1.11.19/fish/virt-tar-in.pod:34
24472 " virt-tar-in -d MyGuest homes.tar /home\n"
24477 #: ../fish/virt-tar-in.pod:38 ../libguestfs-1.11.19/fish/virt-tar-in.pod:38
24479 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24480 "> C<tar-in> command. For anything more complex than a trivial copy, you are "
24481 "probably better off using guestfish directly."
24485 #: ../fish/virt-tar-in.pod:49 ../libguestfs-1.11.19/fish/virt-tar-in.pod:49
24488 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24489 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24490 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24491 #| "libguestfs.org/>."
24493 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
24494 "L<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, L<http://libguestfs."
24497 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24498 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24499 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24503 #: ../fish/virt-tar-out.pod:5 ../libguestfs-1.11.19/fish/virt-tar-out.pod:5
24505 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
24509 #: ../fish/virt-tar-out.pod:9 ../libguestfs-1.11.19/fish/virt-tar-out.pod:9
24512 " virt-tar-out -a disk.img /dir files.tar\n"
24517 #: ../fish/virt-tar-out.pod:11 ../libguestfs-1.11.19/fish/virt-tar-out.pod:11
24520 " virt-tar-out -d domain /dir files.tar\n"
24525 #: ../fish/virt-tar-out.pod:13 ../libguestfs-1.11.19/fish/virt-tar-out.pod:13
24528 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
24533 #: ../fish/virt-tar-out.pod:17 ../libguestfs-1.11.19/fish/virt-tar-out.pod:17
24535 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
24539 #: ../fish/virt-tar-out.pod:20 ../libguestfs-1.11.19/fish/virt-tar-out.pod:20
24541 "The first parameter is the absolute path of the virtual machine directory. "
24542 "The second parameter is the tar file to write. Use C<-> to write to "
24547 #: ../fish/virt-tar-out.pod:26 ../libguestfs-1.11.19/fish/virt-tar-out.pod:26
24548 msgid "Download the home directories from a guest:"
24552 #: ../fish/virt-tar-out.pod:28 ../libguestfs-1.11.19/fish/virt-tar-out.pod:28
24555 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
24560 #: ../fish/virt-tar-out.pod:32 ../libguestfs-1.11.19/fish/virt-tar-out.pod:32
24562 "This command is just a simple shell script wrapper around the L<guestfish(1)"
24563 "> C<tar-out> command. For anything more complex than a trivial copy, you "
24564 "are probably better off using guestfish directly."
24568 #: ../fish/virt-tar-out.pod:43 ../libguestfs-1.11.19/fish/virt-tar-out.pod:43
24571 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
24572 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
24573 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
24574 #| "libguestfs.org/>."
24576 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
24577 "L<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
24579 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
24580 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
24581 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24585 #: ../fuse/guestmount.pod:5 ../libguestfs-1.11.19/fuse/guestmount.pod:5
24587 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
24591 #: ../fuse/guestmount.pod:9 ../libguestfs-1.11.19/fuse/guestmount.pod:9
24594 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
24599 #: ../fuse/guestmount.pod:11 ../libguestfs-1.11.19/fuse/guestmount.pod:11
24602 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
24607 #: ../fuse/guestmount.pod:13 ../libguestfs-1.11.19/fuse/guestmount.pod:13
24610 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
24615 #: ../fuse/guestmount.pod:17 ../libguestfs-1.11.19/fuse/guestmount.pod:17
24617 "You must I<not> use C<guestmount> in read-write mode on live virtual "
24618 "machines. If you do this, you risk disk corruption in the VM."
24622 #: ../fuse/guestmount.pod:22 ../libguestfs-1.11.19/fuse/guestmount.pod:22
24624 "The guestmount program can be used to mount virtual machine filesystems and "
24625 "other disk images on the host. It uses libguestfs for access to the guest "
24626 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
24627 "a mountable device."
24631 #: ../fuse/guestmount.pod:27 ../libguestfs-1.11.19/fuse/guestmount.pod:27
24633 "Along with other options, you have to give at least one device (I<-a> "
24634 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
24635 "option) or use the I<-i> inspection option. How this works is better "
24636 "explained in the L<guestfish(1)> manual page, or by looking at the examples "
24641 #: ../fuse/guestmount.pod:33 ../libguestfs-1.11.19/fuse/guestmount.pod:33
24643 "FUSE lets you mount filesystems as non-root. The mountpoint must be owned "
24644 "by you, and the filesystem will not be visible to any other users unless you "
24645 "make certain global configuration changes to C</etc/fuse.conf>. To unmount "
24646 "the filesystem, use the C<fusermount -u> command."
24650 #: ../fuse/guestmount.pod:41 ../libguestfs-1.11.19/fuse/guestmount.pod:41
24652 "For a typical Windows guest which has its main filesystem on the first "
24657 #: ../fuse/guestmount.pod:44 ../libguestfs-1.11.19/fuse/guestmount.pod:44
24660 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
24665 #: ../fuse/guestmount.pod:46 ../libguestfs-1.11.19/fuse/guestmount.pod:46
24667 "For a typical Linux guest which has a /boot filesystem on the first "
24668 "partition, and the root filesystem on a logical volume:"
24672 #: ../fuse/guestmount.pod:49 ../libguestfs-1.11.19/fuse/guestmount.pod:49
24675 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
24680 #: ../fuse/guestmount.pod:51 ../libguestfs-1.11.19/fuse/guestmount.pod:51
24681 msgid "To get libguestfs to detect guest mountpoints for you:"
24685 #: ../fuse/guestmount.pod:53 ../libguestfs-1.11.19/fuse/guestmount.pod:53
24688 " guestmount -a guest.img -i --ro /mnt\n"
24693 #: ../fuse/guestmount.pod:55 ../libguestfs-1.11.19/fuse/guestmount.pod:55
24694 msgid "For a libvirt guest called \"Guest\" you could do:"
24698 #: ../fuse/guestmount.pod:57 ../libguestfs-1.11.19/fuse/guestmount.pod:57
24701 " guestmount -d Guest -i --ro /mnt\n"
24706 #: ../fuse/guestmount.pod:59 ../libguestfs-1.11.19/fuse/guestmount.pod:59
24708 "If you don't know what filesystems are contained in a guest or disk image, "
24709 "use L<virt-filesystems(1)> first:"
24713 #: ../fuse/guestmount.pod:62 ../libguestfs-1.11.19/fuse/guestmount.pod:62
24716 " virt-filesystems MyGuest\n"
24721 #: ../fuse/guestmount.pod:64 ../libguestfs-1.11.19/fuse/guestmount.pod:64
24723 "If you want to trace the libguestfs calls but without excessive debugging "
24724 "information, we recommend:"
24728 #: ../fuse/guestmount.pod:67 ../libguestfs-1.11.19/fuse/guestmount.pod:67
24731 " guestmount [...] --trace /mnt\n"
24736 #: ../fuse/guestmount.pod:69 ../libguestfs-1.11.19/fuse/guestmount.pod:69
24737 msgid "If you want to debug the program, we recommend:"
24741 #: ../fuse/guestmount.pod:71 ../libguestfs-1.11.19/fuse/guestmount.pod:71
24744 " guestmount [...] --trace --verbose /mnt\n"
24749 #: ../fuse/guestmount.pod:73 ../libguestfs-1.11.19/fuse/guestmount.pod:73
24750 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:68
24751 #: ../libguestfs-1.11.19/resize/virt-resize.pod:486
24752 #: ../rescue/virt-rescue.pod:68 ../resize/virt-resize.pod:486
24757 #: ../fuse/guestmount.pod:75 ../libguestfs-1.11.19/fuse/guestmount.pod:75
24758 msgid "Other users cannot see the filesystem by default"
24762 #: ../fuse/guestmount.pod:77 ../libguestfs-1.11.19/fuse/guestmount.pod:77
24764 "If you mount a filesystem as one user (eg. root), then other users will not "
24765 "be able to see it by default. The fix is to add the FUSE C<allow_other> "
24766 "option when mounting:"
24770 #: ../fuse/guestmount.pod:81 ../libguestfs-1.11.19/fuse/guestmount.pod:81
24773 " sudo guestmount [...] -o allow_other /mnt\n"
24778 #: ../fuse/guestmount.pod:91 ../libguestfs-1.11.19/fuse/guestmount.pod:91
24779 msgid "Add a block device or virtual machine image."
24783 #: ../fuse/guestmount.pod:114 ../libguestfs-1.11.19/fuse/guestmount.pod:114
24784 msgid "B<--dir-cache-timeout N>"
24785 msgstr "B<--dir-cache-timeout N>"
24788 #: ../fuse/guestmount.pod:116 ../libguestfs-1.11.19/fuse/guestmount.pod:116
24790 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
24791 "seconds. The readdir cache [actually, there are several semi-independent "
24792 "caches] is populated after a readdir(2) call with the stat and extended "
24793 "attributes of the files in the directory, in anticipation that they will be "
24794 "requested soon after."
24798 #: ../fuse/guestmount.pod:122 ../libguestfs-1.11.19/fuse/guestmount.pod:122
24800 "There is also a different attribute cache implemented by FUSE (see the FUSE "
24801 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
24802 "requests, only cache existing ones."
24806 #: ../fuse/guestmount.pod:142 ../libguestfs-1.11.19/fuse/guestmount.pod:142
24808 "If you have untrusted raw-format guest disk images, you should use this "
24809 "option to specify the disk format. This avoids a possible security problem "
24810 "with malicious guests (CVE-2010-3851). See also L<guestfs(3)/"
24811 "guestfs_add_drive_opts>."
24815 #: ../fuse/guestmount.pod:147 ../libguestfs-1.11.19/fuse/guestmount.pod:147
24816 msgid "B<--fuse-help>"
24817 msgstr "B<--fuse-help>"
24820 #: ../fuse/guestmount.pod:149 ../libguestfs-1.11.19/fuse/guestmount.pod:149
24821 msgid "Display help on special FUSE options (see I<-o> below)."
24825 #: ../fuse/guestmount.pod:153 ../libguestfs-1.11.19/fuse/guestmount.pod:153
24826 msgid "Display brief help and exit."
24830 #: ../fuse/guestmount.pod:177 ../libguestfs-1.11.19/fuse/guestmount.pod:177
24832 "Mount the named partition or logical volume on the given mountpoint B<in the "
24833 "guest> (this has nothing to do with mountpoints in the host)."
24837 #: ../fuse/guestmount.pod:180 ../libguestfs-1.11.19/fuse/guestmount.pod:180
24839 "If the mountpoint is omitted, it defaults to C</>. You have to mount "
24840 "something on C</>."
24844 #: ../fuse/guestmount.pod:197 ../libguestfs-1.11.19/fuse/guestmount.pod:197
24846 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
24847 "unmounted. If you specify this option, then we don't attempt to sync the "
24848 "disk. See the discussion of autosync in the L<guestfs(3)> manpage."
24852 #: ../fuse/guestmount.pod:202 ../libguestfs-1.11.19/fuse/guestmount.pod:202
24854 #| msgid "B<--partition>"
24855 msgid "B<-o option>"
24856 msgstr "B<--partition>"
24859 #: ../fuse/guestmount.pod:204 ../libguestfs-1.11.19/fuse/guestmount.pod:204
24861 #| msgid "B<--partition>"
24862 msgid "B<--option option>"
24863 msgstr "B<--partition>"
24866 #: ../fuse/guestmount.pod:206 ../libguestfs-1.11.19/fuse/guestmount.pod:206
24867 msgid "Pass extra options to FUSE."
24871 #: ../fuse/guestmount.pod:208 ../libguestfs-1.11.19/fuse/guestmount.pod:208
24873 "To get a list of all the extra options supported by FUSE, use the command "
24874 "below. Note that only the FUSE I<-o> options can be passed, and only some "
24875 "of them are a good idea."
24879 #: ../fuse/guestmount.pod:212 ../libguestfs-1.11.19/fuse/guestmount.pod:212
24882 " guestmount --fuse-help\n"
24887 #: ../fuse/guestmount.pod:214 ../libguestfs-1.11.19/fuse/guestmount.pod:214
24888 msgid "Some potentially useful FUSE options:"
24892 #: ../fuse/guestmount.pod:218 ../libguestfs-1.11.19/fuse/guestmount.pod:218
24893 msgid "B<-o allow_other>"
24897 #: ../fuse/guestmount.pod:220 ../libguestfs-1.11.19/fuse/guestmount.pod:220
24898 msgid "Allow other users to see the filesystem."
24902 #: ../fuse/guestmount.pod:222 ../libguestfs-1.11.19/fuse/guestmount.pod:222
24903 msgid "B<-o attr_timeout=N>"
24904 msgstr "B<-o attr_timeout=N>"
24907 #: ../fuse/guestmount.pod:224 ../libguestfs-1.11.19/fuse/guestmount.pod:224
24908 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
24912 #: ../fuse/guestmount.pod:226 ../libguestfs-1.11.19/fuse/guestmount.pod:226
24913 msgid "B<-o kernel_cache>"
24917 #: ../fuse/guestmount.pod:228 ../libguestfs-1.11.19/fuse/guestmount.pod:228
24919 "Allow the kernel to cache files (reduces the number of reads that have to go "
24920 "through the L<guestfs(3)> API). This is generally a good idea if you can "
24921 "afford the extra memory usage."
24925 #: ../fuse/guestmount.pod:232 ../libguestfs-1.11.19/fuse/guestmount.pod:232
24926 msgid "B<-o uid=N> B<-o gid=N>"
24930 #: ../fuse/guestmount.pod:234 ../libguestfs-1.11.19/fuse/guestmount.pod:234
24932 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
24933 "the chosen values."
24937 #: ../fuse/guestmount.pod:243 ../libguestfs-1.11.19/fuse/guestmount.pod:243
24939 "Add devices and mount everything read-only. Also disallow writes and make "
24940 "the disk appear read-only to FUSE."
24944 #: ../fuse/guestmount.pod:246 ../libguestfs-1.11.19/fuse/guestmount.pod:246
24946 "This is highly recommended if you are not going to edit the guest disk. If "
24947 "the guest is running and this option is I<not> supplied, then there is a "
24948 "strong risk of disk corruption in the guest. We try to prevent this from "
24949 "happening, but it is not always possible."
24953 #: ../fuse/guestmount.pod:251 ../libguestfs-1.11.19/fuse/guestmount.pod:251
24954 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:171
24955 #: ../rescue/virt-rescue.pod:171
24956 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
24960 #: ../fuse/guestmount.pod:255 ../libguestfs-1.11.19/fuse/guestmount.pod:255
24961 msgid "Enable SELinux support for the guest."
24965 #: ../fuse/guestmount.pod:261 ../libguestfs-1.11.19/fuse/guestmount.pod:261
24966 msgid "Enable verbose messages from underlying libguestfs."
24970 #: ../fuse/guestmount.pod:267 ../libguestfs-1.11.19/fuse/guestmount.pod:267
24971 msgid "Display the program version and exit."
24975 #: ../fuse/guestmount.pod:276 ../fuse/guestmount.pod:299
24976 #: ../libguestfs-1.11.19/fuse/guestmount.pod:276
24977 #: ../libguestfs-1.11.19/fuse/guestmount.pod:299
24978 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:197
24979 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:280
24980 #: ../rescue/virt-rescue.pod:197 ../rescue/virt-rescue.pod:280
24981 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
24985 #: ../fuse/guestmount.pod:280 ../libguestfs-1.11.19/fuse/guestmount.pod:280
24992 #: ../fuse/guestmount.pod:282 ../libguestfs-1.11.19/fuse/guestmount.pod:282
24993 msgid "Trace libguestfs calls and entry into each FUSE function."
24997 #: ../fuse/guestmount.pod:284 ../libguestfs-1.11.19/fuse/guestmount.pod:284
24998 msgid "This also stops the daemon from forking into the background."
25002 #: ../fuse/guestmount.pod:305 ../libguestfs-1.11.19/fuse/guestmount.pod:305
25004 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
25005 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
25010 #: ../fuse/guestmount.pod:320 ../libguestfs-1.11.19/fuse/guestmount.pod:320
25011 msgid "Copyright (C) 2009-2010 Red Hat Inc. L<http://libguestfs.org/>"
25015 #: ../inspector/virt-inspector.pod:5
25016 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:5
25018 "virt-inspector - Display operating system version and other information "
25019 "about a virtual machine"
25023 #: ../inspector/virt-inspector.pod:9
25024 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:9
25027 #| " virt-list-partitions [--options] domname\n"
25030 " virt-inspector [--options] -d domname\n"
25033 " virt-list-partitions [--параметри] назва_домену\n"
25037 #: ../inspector/virt-inspector.pod:11
25038 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:11
25041 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
25044 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
25047 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
25051 #: ../inspector/virt-inspector.pod:15
25052 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:15
25055 #| " virt-list-partitions [--options] domname\n"
25058 " virt-inspector domname\n"
25061 " virt-list-partitions [--параметри] назва_домену\n"
25065 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141
25066 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:17
25067 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:141
25070 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
25073 " virt-inspector disk.img [disk.img ...]\n"
25076 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
25080 #: ../inspector/virt-inspector.pod:21
25081 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:21
25083 "B<virt-inspector> examines a virtual machine or disk image and tries to "
25084 "determine the version of the operating system and other information about "
25085 "the virtual machine."
25089 #: ../inspector/virt-inspector.pod:25
25090 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:25
25091 msgid "Virt-inspector produces XML output for feeding into other programs."
25095 #: ../inspector/virt-inspector.pod:27
25096 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:27
25098 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
25099 "the libvirt domain (see: C<virsh list --all>)."
25103 #: ../inspector/virt-inspector.pod:30
25104 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:30
25106 "You can also run virt-inspector directly on disk images from a single "
25107 "virtual machine. Use C<virt-inspector -a disk.img>. In rare cases a domain "
25108 "has several block devices, in which case you should list several I<-a> "
25109 "options one after another, with the first corresponding to the guest's C</"
25110 "dev/sda>, the second to the guest's C</dev/sdb> and so on."
25114 #: ../inspector/virt-inspector.pod:37
25115 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:37
25117 "You can also run virt-inspector on install disks, live CDs, bootable USB "
25118 "keys and similar."
25122 #: ../inspector/virt-inspector.pod:40
25123 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:40
25125 "Virt-inspector can only inspect and report upon I<one domain at a time>. To "
25126 "inspect several virtual machines, you have to run virt-inspector several "
25127 "times (for example, from a shell script for-loop)."
25131 #: ../inspector/virt-inspector.pod:45
25132 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:45
25134 "Because virt-inspector needs direct access to guest images, it won't "
25135 "normally work over remote libvirt connections."
25139 #: ../inspector/virt-inspector.pod:48
25140 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:48
25142 "All of the information available from virt-inspector is also available "
25143 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>). "
25144 "The same information can also be fetched using guestfish or via libguestfs "
25145 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
25146 "WITH OTHER PROGRAMMING LANGUAGES>)."
25150 #: ../inspector/virt-inspector.pod:81
25151 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:81
25153 "Libvirt is only used if you specify a C<domname> on the command line. If "
25154 "you specify guest block devices directly (I<-a>), then libvirt is not used "
25159 #: ../inspector/virt-inspector.pod:94
25160 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:94
25162 "When prompting for keys and passphrases, virt-inspector normally turns "
25163 "echoing off so you cannot see what you are typing. If you are not worried "
25164 "about Tempest attacks and there is no one else in the room you can specify "
25165 "this flag to see what you are typing."
25169 #: ../inspector/virt-inspector.pod:103
25170 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:103
25171 #: ../tools/virt-list-filesystems.pl:93 ../tools/virt-list-partitions.pl:94
25172 #: ../tools/virt-tar.pl:143 ../tools/virt-win-reg.pl:144
25174 "Specify the format of disk images given on the command line. If this is "
25175 "omitted then the format is autodetected from the content of the disk image."
25179 #: ../inspector/virt-inspector.pod:107
25180 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:107
25181 #: ../tools/virt-list-filesystems.pl:97 ../tools/virt-list-partitions.pl:98
25182 #: ../tools/virt-tar.pl:147 ../tools/virt-win-reg.pl:148
25184 "If disk images are requested from libvirt, then this program asks libvirt "
25185 "for this information. In this case, the value of the format parameter is "
25190 #: ../inspector/virt-inspector.pod:111
25191 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:111
25192 #: ../libguestfs-1.11.19/resize/virt-resize.pod:314
25193 #: ../libguestfs-1.11.19/resize/virt-resize.pod:400
25194 #: ../resize/virt-resize.pod:314 ../resize/virt-resize.pod:400
25195 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
25196 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
25198 "If working with untrusted raw-format guest disk images, you should ensure "
25199 "the format is always specified."
25203 #: ../inspector/virt-inspector.pod:139
25204 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:139
25205 msgid "Previous versions of virt-inspector allowed you to write either:"
25209 #: ../inspector/virt-inspector.pod:145
25210 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:145
25213 #| " inspect-get-hostname root\n"
25216 " virt-inspector guestname\n"
25219 " inspect-get-hostname корінь\n"
25223 #: ../inspector/virt-inspector.pod:153
25224 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:153
25229 #: ../inspector/virt-inspector.pod:155
25230 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:155
25232 "The virt-inspector XML is described precisely in a RELAX NG schema file "
25233 "C<virt-inspector.rng> which is supplied with libguestfs. This section is "
25234 "just an overview."
25238 #: ../inspector/virt-inspector.pod:159
25239 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:159
25241 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
25242 "more E<lt>operatingsystemE<gt> elements. You would only see more than one "
25243 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
25244 "which is vanishingly rare in real world VMs."
25248 #: ../inspector/virt-inspector.pod:164
25249 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:164
25250 msgid "E<lt>operatingsystemE<gt>"
25254 #: ../inspector/virt-inspector.pod:166
25255 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:166
25257 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
25258 "describe the operating system, its architecture, the descriptive \"product "
25259 "name\" string, the type of OS and so on, as in this example:"
25263 #: ../inspector/virt-inspector.pod:170
25264 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:170
25267 " <operatingsystems>\n"
25268 " <operatingsystem>\n"
25269 " <root>/dev/sda2</root>\n"
25270 " <name>windows</name>\n"
25271 " <arch>i386</arch>\n"
25272 " <distro>windows</distro>\n"
25273 " <product_name>Windows 7 Enterprise</product_name>\n"
25274 " <product_variant>Client</product_variant>\n"
25275 " <major_version>6</major_version>\n"
25276 " <minor_version>1</minor_version>\n"
25277 " <windows_systemroot>/Windows</windows_systemroot>\n"
25278 " <format>installed</format>\n"
25283 #: ../inspector/virt-inspector.pod:183
25284 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:183
25286 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
25287 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
25288 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
25289 "architecture. The other fields are fairly self-explanatory, but because "
25290 "these fields are taken directly from the libguestfs inspection API you can "
25291 "find precise information from L<guestfs(3)/INSPECTION>."
25295 #: ../inspector/virt-inspector.pod:191
25296 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:191
25298 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
25299 "of view of libguestfs (block devices may have completely different names "
25300 "inside the VM itself)."
25304 #: ../inspector/virt-inspector.pod:195
25305 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:195
25307 #| msgid "mountpoints"
25308 msgid "E<lt>mountpointsE<gt>"
25309 msgstr "mountpoints"
25312 #: ../inspector/virt-inspector.pod:197
25313 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:197
25315 "Un*x-like guests typically have multiple filesystems which are mounted at "
25316 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
25317 "element which looks like this:"
25321 #: ../inspector/virt-inspector.pod:201
25322 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:201
25325 " <operatingsystems>\n"
25326 " <operatingsystem>\n"
25329 " <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
25330 " <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
25331 " </mountpoints>\n"
25336 #: ../inspector/virt-inspector.pod:209
25337 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:209
25339 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
25340 "and may have completely different names inside the guest. Only mountable "
25341 "filesystems appear in this list, not things like swap devices."
25345 #: ../inspector/virt-inspector.pod:214
25346 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:214
25348 #| msgid "list-filesystems"
25349 msgid "E<lt>filesystemsE<gt>"
25350 msgstr "list-filesystems"
25353 #: ../inspector/virt-inspector.pod:216
25354 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:216
25356 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
25357 "filesystems belonging to the guest, including swap and empty partitions. "
25358 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
25359 "this OS or shared with this OS and other OSes)."
25363 #: ../inspector/virt-inspector.pod:222
25364 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:222
25365 msgid "You might see something like this:"
25369 #: ../inspector/virt-inspector.pod:224
25370 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:224
25373 " <operatingsystems>\n"
25374 " <operatingsystem>\n"
25377 " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
25378 " <type>ext4</type>\n"
25379 " <label>Fedora-13-x86_64</label>\n"
25380 " <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
25386 #: ../inspector/virt-inspector.pod:234
25387 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:234
25389 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
25390 "the label, and the UUID."
25394 #: ../inspector/virt-inspector.pod:237
25395 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:237
25396 msgid "E<lt>applicationsE<gt>"
25400 #: ../inspector/virt-inspector.pod:239
25401 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:239
25403 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
25404 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
25409 #: ../inspector/virt-inspector.pod:243
25410 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:243
25412 "E<lt>package_formatE<gt>, if present, describes the packaging system used. "
25413 "Typical values would be C<rpm> and C<deb>."
25417 #: ../inspector/virt-inspector.pod:246
25418 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:246
25420 "E<lt>package_managementE<gt>, if present, describes the package manager. "
25421 "Typical values include C<yum>, C<up2date> and C<apt>"
25425 #: ../inspector/virt-inspector.pod:249
25426 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:249
25427 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
25431 #: ../inspector/virt-inspector.pod:252
25432 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:252
25435 " <operatingsystems>\n"
25436 " <operatingsystem>\n"
25438 " <applications>\n"
25440 " <name>coreutils</name>\n"
25441 " <version>8.5</version>\n"
25442 " <release>1</release>\n"
25443 " </application>\n"
25448 #: ../inspector/virt-inspector.pod:262
25449 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:262
25451 "The version and release fields may not be available for some types guests. "
25452 "Other fields are possible, see L<guestfs(3)/"
25453 "guestfs_inspect_list_applications>."
25457 #: ../inspector/virt-inspector.pod:266
25458 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:266
25459 msgid "E<lt>drive_mappingsE<gt>"
25463 #: ../inspector/virt-inspector.pod:268
25464 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:268
25466 "For operating systems like Windows which use drive letters, virt-inspector "
25467 "is able to find out how drive letters map to filesystems."
25471 #: ../inspector/virt-inspector.pod:272
25472 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:272
25475 " <operatingsystems>\n"
25476 " <operatingsystem>\n"
25478 " <drive_mappings>\n"
25479 " <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
25480 " <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
25481 " </drive_mappings>\n"
25486 #: ../inspector/virt-inspector.pod:280
25487 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:280
25489 "In the example above, drive C maps to the filesystem on the second partition "
25490 "on the first disk, and drive E maps to the filesystem on the first partition "
25491 "on the second disk."
25495 #: ../inspector/virt-inspector.pod:284
25496 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:284
25498 "Note that this only covers permanent local filesystem mappings, not things "
25499 "like network shares. Furthermore NTFS volume mount points may not be listed "
25504 #: ../inspector/virt-inspector.pod:288
25505 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:288
25507 #| msgid "B<-s E<lt>NE<gt>>"
25508 msgid "E<lt>iconE<gt>"
25509 msgstr "B<-s E<lt>NE<gt>>"
25512 #: ../inspector/virt-inspector.pod:290
25513 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:290
25515 "Virt-inspector is sometimes able to extract an icon or logo for the guest. "
25516 "The icon is returned as base64-encoded PNG data. Note that the icon can be "
25517 "very large and high quality."
25521 #: ../inspector/virt-inspector.pod:294
25522 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:294
25525 " <operatingsystems>\n"
25526 " <operatingsystem>\n"
25529 " iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
25530 " [... many lines of base64 data ...]\n"
25536 #: ../inspector/virt-inspector.pod:302
25537 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:302
25539 "To display the icon, you have to extract it and convert the base64 data back "
25540 "to a binary file. Use an XPath query or simply an editor to extract the "
25541 "data, then use the coreutils L<base64(1)> program to do the conversion back "
25546 #: ../inspector/virt-inspector.pod:307
25547 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:307
25550 " base64 -i -d < icon.data > icon.png\n"
25555 #: ../inspector/virt-inspector.pod:309
25556 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:309
25557 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
25561 #: ../inspector/virt-inspector.pod:311
25562 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:311
25564 "Virt-inspector can detect some operating system installers on install disks, "
25565 "live CDs, bootable USB keys and more."
25569 #: ../inspector/virt-inspector.pod:314
25570 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:314
25572 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
25573 "fields may be present to indicate a live CD, network installer, or one part "
25574 "of a multipart CD. For example:"
25578 #: ../inspector/virt-inspector.pod:318
25579 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:318
25582 " <operatingsystems>\n"
25583 " <operatingsystem>\n"
25584 " <root>/dev/sda</root>\n"
25585 " <name>linux</name>\n"
25586 " <arch>i386</arch>\n"
25587 " <distro>ubuntu</distro>\n"
25588 " <product_name>Ubuntu 10.10 "Maverick Meerkat"</product_name>\n"
25589 " <major_version>10</major_version>\n"
25590 " <minor_version>10</minor_version>\n"
25591 " <format>installer</format>\n"
25597 #: ../inspector/virt-inspector.pod:330
25598 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:330
25599 msgid "USING XPATH"
25603 #: ../inspector/virt-inspector.pod:332
25604 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:332
25606 "You can use the XPath query language, and/or the xpath tool, in order to "
25607 "select parts of the XML."
25611 #: ../inspector/virt-inspector.pod:337
25612 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:337
25615 " $ virt-inspector -d Guest | xpath //filesystems\n"
25616 " Found 1 nodes:\n"
25619 " <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
25620 " <type>ext4</type>\n"
25626 #: ../inspector/virt-inspector.pod:345
25627 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:345
25630 " $ virt-inspector -d Guest | \\\n"
25631 " xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
25632 " Query didn't return a nodeset. Value: ext4\n"
25637 #: ../inspector/virt-inspector.pod:356
25638 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:356
25639 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
25643 #: ../inspector/virt-inspector.pod:358
25644 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:358
25646 "Early versions of libguestfs shipped with a different virt-inspector program "
25647 "written in Perl (the current version is written in C). The XML output of "
25648 "the Perl virt-inspector was different and it could also output in other "
25649 "formats like text."
25653 #: ../inspector/virt-inspector.pod:363
25654 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:363
25656 "The old virt-inspector is no longer supported or shipped with libguestfs."
25660 #: ../inspector/virt-inspector.pod:366
25661 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:366
25663 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
25664 "versions of virt-inspector with different names:"
25668 #: ../inspector/virt-inspector.pod:369
25669 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:369
25672 " virt-inspector Old Perl version.\n"
25673 " virt-inspector2 New C version.\n"
25678 #: ../inspector/virt-inspector.pod:374
25679 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:374
25681 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
25682 ">, L<http://libguestfs.org/>."
25686 #: ../inspector/virt-inspector.pod:390
25687 #: ../libguestfs-1.11.19/inspector/virt-inspector.pod:390
25688 msgid "Matthew Booth L<mbooth@redhat.com>"
25692 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:5
25693 #: ../ocaml/examples/guestfs-ocaml.pod:5
25694 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
25698 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:9
25699 #: ../ocaml/examples/guestfs-ocaml.pod:9
25700 msgid "Module style:"
25704 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:11
25705 #: ../ocaml/examples/guestfs-ocaml.pod:11
25708 " let g = Guestfs.create () in\n"
25709 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
25710 " Guestfs.launch g;\n"
25715 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:15
25716 #: ../ocaml/examples/guestfs-ocaml.pod:15
25717 msgid "Object-oriented style:"
25721 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:17
25722 #: ../ocaml/examples/guestfs-ocaml.pod:17
25725 " let g = new Guestfs.guestfs () in\n"
25726 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
25732 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:21
25733 #: ../ocaml/examples/guestfs-ocaml.pod:21
25736 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
25738 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
25743 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:27
25744 #: ../ocaml/examples/guestfs-ocaml.pod:27
25746 "This manual page documents how to call libguestfs from the OCaml programming "
25747 "language. This page just documents the differences from the C API and gives "
25748 "some examples. If you are not familiar with using libguestfs, you also need "
25749 "to read L<guestfs(3)>."
25753 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:32
25754 #: ../ocaml/examples/guestfs-ocaml.pod:32
25755 msgid "PROGRAMMING STYLES"
25759 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:34
25760 #: ../ocaml/examples/guestfs-ocaml.pod:34
25762 "There are two different programming styles supported by the OCaml bindings. "
25763 "You can use a module style, with each C function mapped to an OCaml function:"
25767 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:38
25768 #: ../ocaml/examples/guestfs-ocaml.pod:38
25771 #| " int guestfs_last_errno (guestfs_h *g);\n"
25774 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
25777 " int guestfs_last_errno (guestfs_h *g);\n"
25781 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:40
25782 #: ../ocaml/examples/guestfs-ocaml.pod:40
25787 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:42
25788 #: ../ocaml/examples/guestfs-ocaml.pod:42
25791 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
25796 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:44
25797 #: ../ocaml/examples/guestfs-ocaml.pod:44
25799 "Alternately you can use an object-oriented style, calling methods on the "
25800 "class C<Guestfs.guestfs>:"
25804 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:47
25805 #: ../ocaml/examples/guestfs-ocaml.pod:47
25808 " method set_verbose : bool -> unit\n"
25813 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:49
25814 #: ../ocaml/examples/guestfs-ocaml.pod:49
25816 "The object-oriented style is usually briefer, and the minor performance "
25817 "penalty isn't noticable in the general overhead of performing libguestfs "
25822 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:53
25823 #: ../ocaml/examples/guestfs-ocaml.pod:53
25824 msgid "CLOSING THE HANDLE"
25828 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:55
25829 #: ../ocaml/examples/guestfs-ocaml.pod:55
25831 "The handle is closed when it is reaped by the garbage collector. Because "
25832 "libguestfs handles include a lot of state, it is also possible to close (and "
25833 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
25838 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:60
25839 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:21
25840 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:22
25841 #: ../ocaml/examples/guestfs-ocaml.pod:60
25842 #: ../python/examples/guestfs-python.pod:21
25843 #: ../ruby/examples/guestfs-ruby.pod:22
25850 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:62
25851 #: ../ocaml/examples/guestfs-ocaml.pod:62
25853 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
25854 "exception. This has a single parameter which is the error message (a "
25859 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:66
25860 #: ../ocaml/examples/guestfs-ocaml.pod:66
25862 "Calling any function/method on a closed handle raises C<Guestfs."
25863 "Handle_closed>. The single parameter is the name of the function that you "
25868 #: ../libguestfs-1.11.19/ocaml/examples/guestfs-ocaml.pod:80
25869 #: ../ocaml/examples/guestfs-ocaml.pod:80
25871 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-perl(3)>, L<guestfs-python"
25872 "(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>, "
25873 "L<http://caml.inria.fr/>."
25877 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:5
25878 #: ../perl/examples/guestfs-perl.pod:5
25879 msgid "guestfs-perl - How to use libguestfs from Perl"
25883 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:9
25884 #: ../perl/examples/guestfs-perl.pod:9
25887 " use Sys::Guestfs;\n"
25892 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:11
25893 #: ../perl/examples/guestfs-perl.pod:11
25896 " my $h = Sys::Guestfs->new ();\n"
25897 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
25898 " $h->launch ();\n"
25899 " $h->mount_options ('', '/dev/sda1', '/');\n"
25900 " $h->touch ('/hello');\n"
25906 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:20
25907 #: ../perl/examples/guestfs-perl.pod:20
25909 "This manual page documents how to call libguestfs from the Perl programming "
25910 "language. This page just documents the differences from the C API and gives "
25911 "some examples. If you are not familiar with using libguestfs, you also need "
25912 "to read L<guestfs(3)>. To read the full Perl API, see L<Sys::Guestfs(3)>."
25916 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:26
25917 #: ../perl/examples/guestfs-perl.pod:26
25922 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:28
25923 #: ../perl/examples/guestfs-perl.pod:28
25925 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
25930 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:41
25931 #: ../perl/examples/guestfs-perl.pod:41
25934 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
25935 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
25936 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25938 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)"
25939 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
25940 "libguestfs.org/>."
25942 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
25943 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
25944 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25947 #: ../libguestfs-1.11.19/perl/examples/guestfs-perl.pod:56
25948 #: ../perl/examples/guestfs-perl.pod:56
25950 #| msgid "Copyright (C) 2009 Red Hat Inc."
25951 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
25952 msgstr "© Red Hat Inc., 2009"
25955 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:5
25956 #: ../python/examples/guestfs-python.pod:5
25957 msgid "guestfs-python - How to use libguestfs from Python"
25961 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:9
25962 #: ../python/examples/guestfs-python.pod:9
25965 " import guestfs\n"
25966 " g = guestfs.GuestFS ()\n"
25967 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
25973 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:16
25974 #: ../python/examples/guestfs-python.pod:16
25976 "This manual page documents how to call libguestfs from the Python "
25977 "programming language. This page just documents the differences from the C "
25978 "API and gives some examples. If you are not familiar with using libguestfs, "
25979 "you also need to read L<guestfs(3)>."
25983 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:23
25984 #: ../python/examples/guestfs-python.pod:23
25986 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
25987 "single string argument which is the error message."
25991 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:26
25992 #: ../python/examples/guestfs-python.pod:26
25993 msgid "MORE DOCUMENTATION"
25997 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:28
25998 #: ../python/examples/guestfs-python.pod:28
26003 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:30
26004 #: ../python/examples/guestfs-python.pod:30
26008 " >>> import guestfs\n"
26009 " >>> help (guestfs)\n"
26014 #: ../libguestfs-1.11.19/python/examples/guestfs-python.pod:44
26015 #: ../python/examples/guestfs-python.pod:44
26018 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26019 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
26020 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26022 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)"
26023 ">, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
26025 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26026 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
26027 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26030 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:5 ../rescue/virt-rescue.pod:5
26031 msgid "virt-rescue - Run a rescue shell on a virtual machine"
26035 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:9 ../rescue/virt-rescue.pod:9
26038 #| " virt-list-partitions [--options] domname\n"
26041 " virt-rescue [--options] -d domname\n"
26044 " virt-list-partitions [--параметри] назва_домену\n"
26048 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:11
26049 #: ../rescue/virt-rescue.pod:11
26052 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26055 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
26058 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
26062 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:15
26063 #: ../rescue/virt-rescue.pod:15
26066 #| " virt-list-partitions [--options] domname\n"
26069 " virt-rescue [--options] domname\n"
26072 " virt-list-partitions [--параметри] назва_домену\n"
26076 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:17
26077 #: ../rescue/virt-rescue.pod:17
26080 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26083 " virt-rescue [--options] disk.img [disk.img ...]\n"
26086 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
26090 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:21
26091 #: ../rescue/virt-rescue.pod:21
26093 "You must I<not> use C<virt-rescue> on live virtual machines. Doing so will "
26094 "probably result in disk corruption in the VM. C<virt-rescue> tries to stop "
26095 "you from doing this, but doesn't catch all cases."
26099 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:25
26100 #: ../rescue/virt-rescue.pod:25
26102 "However if you use the I<--ro> (read only) option, then you can attach a "
26103 "shell to a live virtual machine. The results might be strange or "
26104 "inconsistent at times but you won't get disk corruption."
26108 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:31
26109 #: ../rescue/virt-rescue.pod:31
26111 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
26112 "need for a CD. virt-rescue gives you a rescue shell and some simple "
26113 "recovery tools which you can use to examine or rescue a virtual machine or "
26118 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:36
26119 #: ../rescue/virt-rescue.pod:36
26121 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
26122 "on disk image(s):"
26126 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:39
26127 #: ../rescue/virt-rescue.pod:39
26130 " virt-rescue -d GuestName\n"
26135 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:41
26136 #: ../rescue/virt-rescue.pod:41
26139 " virt-rescue --ro -a /path/to/disk.img\n"
26144 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:43
26145 #: ../rescue/virt-rescue.pod:43
26148 " virt-rescue -a /dev/sdc\n"
26153 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:45
26154 #: ../rescue/virt-rescue.pod:45
26155 msgid "For live VMs you I<must> use the --ro option."
26159 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:47
26160 #: ../rescue/virt-rescue.pod:47
26162 "When you run virt-rescue on a virtual machine or disk image, you are placed "
26163 "in an interactive bash shell where you can use many ordinary Linux "
26164 "commands. What you see in C</> (C</bin>, C</lib> etc) is the rescue "
26165 "appliance. You must mount the virtual machine's filesystems by hand. There "
26166 "is an empty directory called C</sysroot> where you can mount filesystems."
26170 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:54
26171 #: ../rescue/virt-rescue.pod:54
26173 "In the example below, we list logical volumes, then choose one to mount "
26174 "under C</sysroot>:"
26178 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:57
26179 #: ../rescue/virt-rescue.pod:57
26183 " LV VG Attr LSize Origin Snap% Move Log Copy% Convert\n"
26184 " lv_root vg_f11x64 -wi-a- 8.83G\n"
26185 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
26186 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
26187 " ><rescue> ls /sysroot\n"
26192 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:64
26193 #: ../rescue/virt-rescue.pod:64
26195 "If you don't know what filesystems are available on the virtual machine then "
26196 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
26200 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:70
26201 #: ../rescue/virt-rescue.pod:70
26203 "Virt-rescue can be used on I<any> disk image file or device, not just a "
26204 "virtual machine. For example you can use it on a blank file if you want to "
26205 "partition that file (although we would recommend using L<guestfish(1)> "
26206 "instead as it is more suitable for this purpose). You can even use virt-"
26207 "rescue on things like SD cards."
26211 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:76
26212 #: ../rescue/virt-rescue.pod:76
26214 "Virt-rescue does not require root. You only need to run it as root if you "
26215 "need root to open the disk image."
26219 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:79
26220 #: ../rescue/virt-rescue.pod:79
26222 "This tool is just designed for quick interactive hacking on a virtual "
26223 "machine. For more structured access to a virtual machine disk image, you "
26224 "should use L<guestfs(3)>. To get a structured shell that you can use to "
26225 "make scripted changes to guests, use L<guestfish(1)>."
26229 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:103
26230 #: ../rescue/virt-rescue.pod:103
26231 msgid "B<--append kernelopts>"
26235 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:105
26236 #: ../rescue/virt-rescue.pod:105
26237 msgid "Pass additional options to the rescue kernel."
26241 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:135
26242 #: ../rescue/virt-rescue.pod:135
26245 #| " guestfish --format=raw -a disk.img\n"
26248 " virt-rescue --format=raw -a disk.img\n"
26251 " guestfish --format=raw -a disk.img\n"
26255 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:139
26256 #: ../rescue/virt-rescue.pod:139
26259 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
26262 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
26265 " guestfish --format=raw -a disk.img --format -a another.img\n"
26269 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:148
26270 #: ../rescue/virt-rescue.pod:148
26275 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:150
26276 #: ../rescue/virt-rescue.pod:150
26278 #| msgid "B<--merge>"
26279 msgid "B<--memsize MB>"
26280 msgstr "B<--merge>"
26283 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:152
26284 #: ../rescue/virt-rescue.pod:152
26286 "Change the amount of memory allocated to the rescue system. The default is "
26287 "set by libguestfs and is small but adequate for running system tools. The "
26288 "occasional program might need more memory. The parameter is specified in "
26293 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:157
26294 #: ../rescue/virt-rescue.pod:157
26296 #| msgid "B<--inspector>"
26297 msgid "B<--network>"
26298 msgstr "B<--inspector>"
26301 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:159
26302 #: ../rescue/virt-rescue.pod:159
26303 msgid "Enable QEMU user networking in the guest. See L</NETWORK>."
26307 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:165
26308 #: ../rescue/virt-rescue.pod:165
26309 msgid "Open the image read-only."
26313 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:175
26314 #: ../rescue/virt-rescue.pod:175
26316 "Enable SELinux in the rescue appliance. You should read L<guestfs(3)/"
26317 "SELINUX> before using this option."
26321 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:194
26322 #: ../rescue/virt-rescue.pod:194
26324 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
26325 "are done read-write."
26329 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:207
26330 #: ../rescue/virt-rescue.pod:207
26331 msgid "Previous versions of virt-rescue allowed you to write either:"
26335 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:209
26336 #: ../rescue/virt-rescue.pod:209
26339 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26342 " virt-rescue disk.img [disk.img ...]\n"
26345 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
26349 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:213
26350 #: ../rescue/virt-rescue.pod:213
26353 #| " file-architecture filename\n"
26356 " virt-rescue guestname\n"
26359 " file-architecture назва_файла\n"
26363 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:221
26364 #: ../rescue/virt-rescue.pod:221
26369 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:223
26370 #: ../rescue/virt-rescue.pod:223
26372 "Adding the I<--network> option enables QEMU user networking in the rescue "
26373 "appliance. There are some differences between user networking and ordinary "
26378 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:229
26379 #: ../rescue/virt-rescue.pod:229
26380 msgid "ping does not work"
26384 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:231
26385 #: ../rescue/virt-rescue.pod:231
26387 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
26388 "send the ping packets, and because virt-rescue must be able to run as non-"
26389 "root, QEMU user networking is not able to emulate the L<ping(8)> command. "
26390 "The ping command will appear to resolve addresses but will not be able to "
26391 "send or receive any packets. This does not mean that the network is not "
26396 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:238
26397 #: ../rescue/virt-rescue.pod:238
26398 msgid "cannot receive connections"
26402 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:240
26403 #: ../rescue/virt-rescue.pod:240
26404 msgid "QEMU user networking cannot receive incoming connections."
26408 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:242
26409 #: ../rescue/virt-rescue.pod:242
26410 msgid "making TCP connections"
26414 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:244
26415 #: ../rescue/virt-rescue.pod:244
26417 "The virt-rescue appliance needs to be small and so does not include many "
26418 "network tools. In particular there is no L<telnet(1)> command. You can "
26419 "make TCP connections from the shell using the magical C</dev/tcp/"
26420 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
26424 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:249
26425 #: ../rescue/virt-rescue.pod:249
26428 " exec 3<>/dev/tcp/redhat.com/80\n"
26429 " echo \"GET /\" >&3\n"
26435 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:253
26436 #: ../rescue/virt-rescue.pod:253
26437 msgid "See L<bash(1)> for more details."
26441 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:259
26442 #: ../rescue/virt-rescue.pod:259
26444 "Several environment variables affect virt-rescue. See L<guestfs(3)/"
26445 "ENVIRONMENT VARIABLES> for the complete list."
26449 #: ../libguestfs-1.11.19/rescue/virt-rescue.pod:286
26450 #: ../rescue/virt-rescue.pod:286
26453 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26454 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
26455 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26457 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<http://"
26458 "libguestfs.org/>."
26460 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
26461 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
26462 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26465 #: ../libguestfs-1.11.19/resize/virt-resize.pod:5 ../resize/virt-resize.pod:5
26466 msgid "virt-resize - Resize a virtual machine disk"
26470 #: ../libguestfs-1.11.19/resize/virt-resize.pod:9 ../resize/virt-resize.pod:9
26473 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
26474 " [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
26475 " [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
26480 #: ../libguestfs-1.11.19/resize/virt-resize.pod:15
26481 #: ../resize/virt-resize.pod:15
26483 "Virt-resize is a tool which can resize a virtual machine disk, making it "
26484 "larger or smaller overall, and resizing or deleting any partitions contained "
26489 #: ../libguestfs-1.11.19/resize/virt-resize.pod:19
26490 #: ../resize/virt-resize.pod:19
26492 "Virt-resize B<cannot> resize disk images in-place. Virt-resize B<should "
26493 "not> be used on live virtual machines - for consistent results, shut the "
26494 "virtual machine down before resizing it."
26498 #: ../libguestfs-1.11.19/resize/virt-resize.pod:23
26499 #: ../resize/virt-resize.pod:23
26501 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
26502 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
26506 #: ../libguestfs-1.11.19/resize/virt-resize.pod:31
26507 #: ../libguestfs-1.11.19/src/guestfs.pod:469
26508 #: ../libguestfs-1.11.19/src/guestfs.pod:1257
26509 #: ../libguestfs-1.11.19/src/guestfs.pod:1395
26510 #: ../libguestfs-1.11.19/src/guestfs.pod:2465 ../resize/virt-resize.pod:31
26511 #: ../src/guestfs.pod:469 ../src/guestfs.pod:1257 ../src/guestfs.pod:1395
26512 #: ../src/guestfs.pod:2465
26517 #: ../libguestfs-1.11.19/resize/virt-resize.pod:33
26518 #: ../resize/virt-resize.pod:33
26520 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
26521 "fill the extra 5GB of space."
26525 #: ../libguestfs-1.11.19/resize/virt-resize.pod:36
26526 #: ../resize/virt-resize.pod:36
26529 " virt-filesystems --long -h --all -a olddisk\n"
26534 #: ../libguestfs-1.11.19/resize/virt-resize.pod:38
26535 #: ../resize/virt-resize.pod:38
26538 " truncate -r olddisk newdisk\n"
26539 " truncate -s +5G newdisk\n"
26544 #: ../libguestfs-1.11.19/resize/virt-resize.pod:41
26545 #: ../resize/virt-resize.pod:41
26548 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
26549 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
26554 #: ../libguestfs-1.11.19/resize/virt-resize.pod:44
26555 #: ../libguestfs-1.11.19/src/guestfs.pod:475
26556 #: ../libguestfs-1.11.19/src/guestfs.pod:1261
26557 #: ../libguestfs-1.11.19/src/guestfs.pod:1399
26558 #: ../libguestfs-1.11.19/src/guestfs.pod:2490 ../resize/virt-resize.pod:44
26559 #: ../src/guestfs.pod:475 ../src/guestfs.pod:1261 ../src/guestfs.pod:1399
26560 #: ../src/guestfs.pod:2490
26565 #: ../libguestfs-1.11.19/resize/virt-resize.pod:46
26566 #: ../resize/virt-resize.pod:46
26568 "As above, but make the /boot partition 200MB bigger, while giving the "
26569 "remaining space to /dev/sda2:"
26573 #: ../libguestfs-1.11.19/resize/virt-resize.pod:49
26574 #: ../resize/virt-resize.pod:49
26577 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
26578 " olddisk newdisk\n"
26583 #: ../libguestfs-1.11.19/resize/virt-resize.pod:52
26584 #: ../libguestfs-1.11.19/src/guestfs.pod:486
26585 #: ../libguestfs-1.11.19/src/guestfs.pod:1405 ../resize/virt-resize.pod:52
26586 #: ../src/guestfs.pod:486 ../src/guestfs.pod:1405
26591 #: ../libguestfs-1.11.19/resize/virt-resize.pod:54
26592 #: ../resize/virt-resize.pod:54
26594 "As in the first example, but expand a logical volume as the final step. "
26595 "This is what you would typically use for Linux guests that use LVM:"
26599 #: ../libguestfs-1.11.19/resize/virt-resize.pod:58
26600 #: ../resize/virt-resize.pod:58
26603 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
26604 " olddisk newdisk\n"
26609 #: ../libguestfs-1.11.19/resize/virt-resize.pod:61
26610 #: ../resize/virt-resize.pod:61
26615 #: ../libguestfs-1.11.19/resize/virt-resize.pod:63
26616 #: ../resize/virt-resize.pod:63
26618 "As in the first example, but the output format will be qcow2 instead of a "
26623 #: ../libguestfs-1.11.19/resize/virt-resize.pod:66
26624 #: ../resize/virt-resize.pod:66
26627 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
26628 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
26633 #: ../libguestfs-1.11.19/resize/virt-resize.pod:71
26634 #: ../resize/virt-resize.pod:71
26635 msgid "DETAILED USAGE"
26639 #: ../libguestfs-1.11.19/resize/virt-resize.pod:73
26640 #: ../resize/virt-resize.pod:73
26641 msgid "EXPANDING A VIRTUAL MACHINE DISK"
26645 #: ../libguestfs-1.11.19/resize/virt-resize.pod:77
26646 #: ../resize/virt-resize.pod:77
26647 msgid "1. Shut down the virtual machine"
26651 #: ../libguestfs-1.11.19/resize/virt-resize.pod:79
26652 #: ../resize/virt-resize.pod:79
26653 msgid "2. Locate input disk image"
26657 #: ../libguestfs-1.11.19/resize/virt-resize.pod:81
26658 #: ../resize/virt-resize.pod:81
26660 "Locate the input disk image (ie. the file or device on the host containing "
26661 "the guest's disk). If the guest is managed by libvirt, you can use C<virsh "
26662 "dumpxml> like this to find the disk image name:"
26666 #: ../libguestfs-1.11.19/resize/virt-resize.pod:85
26667 #: ../resize/virt-resize.pod:85
26670 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
26671 " Found 1 nodes:\n"
26673 " <source dev=\"/dev/vg/lv_guest\" />\n"
26678 #: ../libguestfs-1.11.19/resize/virt-resize.pod:90
26679 #: ../resize/virt-resize.pod:90
26680 msgid "3. Look at current sizing"
26684 #: ../libguestfs-1.11.19/resize/virt-resize.pod:92
26685 #: ../resize/virt-resize.pod:92
26686 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
26690 #: ../libguestfs-1.11.19/resize/virt-resize.pod:95
26691 #: ../resize/virt-resize.pod:95
26694 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
26695 " Name Type Size Parent\n"
26696 " /dev/sda1 partition 101M /dev/sda\n"
26697 " /dev/sda2 partition 7.9G /dev/sda\n"
26698 " /dev/sda device 8.0G -\n"
26703 #: ../libguestfs-1.11.19/resize/virt-resize.pod:101
26704 #: ../resize/virt-resize.pod:101
26706 "(This example is a virtual machine with an 8 GB disk which we would like to "
26707 "expand up to 10 GB)."
26711 #: ../libguestfs-1.11.19/resize/virt-resize.pod:104
26712 #: ../resize/virt-resize.pod:104
26713 msgid "4. Create output disk"
26717 #: ../libguestfs-1.11.19/resize/virt-resize.pod:106
26718 #: ../resize/virt-resize.pod:106
26720 "Virt-resize cannot do in-place disk modifications. You have to have space "
26721 "to store the resized output disk."
26725 #: ../libguestfs-1.11.19/resize/virt-resize.pod:109
26726 #: ../resize/virt-resize.pod:109
26728 "To store the resized disk image in a file, create a file of a suitable size:"
26732 #: ../libguestfs-1.11.19/resize/virt-resize.pod:112
26733 #: ../resize/virt-resize.pod:112
26736 " # rm -f outdisk\n"
26737 " # truncate -s 10G outdisk\n"
26742 #: ../libguestfs-1.11.19/resize/virt-resize.pod:115
26743 #: ../resize/virt-resize.pod:115
26744 msgid "Or use L<lvcreate(1)> to create a logical volume:"
26748 #: ../libguestfs-1.11.19/resize/virt-resize.pod:117
26749 #: ../resize/virt-resize.pod:117
26752 " # lvcreate -L 10G -n lv_name vg_name\n"
26757 #: ../libguestfs-1.11.19/resize/virt-resize.pod:119
26758 #: ../resize/virt-resize.pod:119
26759 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
26763 #: ../libguestfs-1.11.19/resize/virt-resize.pod:121
26764 #: ../resize/virt-resize.pod:121
26767 " # virsh pool-list\n"
26768 " # virsh vol-create-as poolname newvol 10G\n"
26773 #: ../libguestfs-1.11.19/resize/virt-resize.pod:124
26774 #: ../resize/virt-resize.pod:124
26779 #: ../libguestfs-1.11.19/resize/virt-resize.pod:126
26780 #: ../resize/virt-resize.pod:126
26782 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
26783 "file) and the output disk. The output disk is the one created in the "
26788 #: ../libguestfs-1.11.19/resize/virt-resize.pod:130
26789 #: ../resize/virt-resize.pod:130
26792 " # virt-resize indisk outdisk\n"
26797 #: ../libguestfs-1.11.19/resize/virt-resize.pod:132
26798 #: ../resize/virt-resize.pod:132
26800 "This command just copies disk image C<indisk> to disk image C<outdisk> "
26801 "I<without> resizing or changing any existing partitions. If C<outdisk> is "
26802 "larger, then an extra, empty partition is created at the end of the disk "
26803 "covering the extra space. If C<outdisk> is smaller, then it will give an "
26808 #: ../libguestfs-1.11.19/resize/virt-resize.pod:138
26809 #: ../resize/virt-resize.pod:138
26811 "More realistically you'd want to expand existing partitions in the disk "
26812 "image by passing extra options (for the full list see the L</OPTIONS> "
26817 #: ../libguestfs-1.11.19/resize/virt-resize.pod:142
26818 #: ../resize/virt-resize.pod:142
26820 "L</--expand> is the most useful option. It expands the named partition "
26821 "within the disk to fill any extra space:"
26825 #: ../libguestfs-1.11.19/resize/virt-resize.pod:145
26826 #: ../resize/virt-resize.pod:145
26829 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
26834 #: ../libguestfs-1.11.19/resize/virt-resize.pod:147
26835 #: ../resize/virt-resize.pod:147
26837 "(In this case, an extra partition is I<not> created at the end of the disk, "
26838 "because there will be no unused space)."
26842 #: ../libguestfs-1.11.19/resize/virt-resize.pod:150
26843 #: ../resize/virt-resize.pod:150
26845 "L</--resize> is the other commonly used option. The following would "
26846 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
26847 "rest of the available space:"
26851 #: ../libguestfs-1.11.19/resize/virt-resize.pod:154
26852 #: ../resize/virt-resize.pod:154
26855 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
26856 " indisk outdisk\n"
26861 #: ../libguestfs-1.11.19/resize/virt-resize.pod:157
26862 #: ../resize/virt-resize.pod:157
26864 "If the expanded partition in the image contains a filesystem or LVM PV, then "
26865 "if virt-resize knows how, it will resize the contents, the equivalent of "
26866 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
26867 "or L<btrfs(8)>. However virt-resize does not know how to resize some "
26868 "filesystems, so you would have to online resize them after booting the guest."
26872 #: ../libguestfs-1.11.19/resize/virt-resize.pod:164
26873 #: ../resize/virt-resize.pod:164
26874 msgid "Other options are covered below."
26878 #: ../libguestfs-1.11.19/resize/virt-resize.pod:166
26879 #: ../resize/virt-resize.pod:166
26884 #: ../libguestfs-1.11.19/resize/virt-resize.pod:168
26885 #: ../resize/virt-resize.pod:168
26886 msgid "Thoroughly test the new disk image I<before> discarding the old one."
26890 #: ../libguestfs-1.11.19/resize/virt-resize.pod:170
26891 #: ../resize/virt-resize.pod:170
26892 msgid "If you are using libvirt, edit the XML to point at the new disk:"
26896 #: ../libguestfs-1.11.19/resize/virt-resize.pod:172
26897 #: ../resize/virt-resize.pod:172
26900 #| " edit filename\n"
26903 " # virsh edit guestname\n"
26906 " edit назва_файла\n"
26910 #: ../libguestfs-1.11.19/resize/virt-resize.pod:174
26911 #: ../resize/virt-resize.pod:174
26913 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
26914 "html#elementsDisks>"
26918 #: ../libguestfs-1.11.19/resize/virt-resize.pod:177
26919 #: ../resize/virt-resize.pod:177
26920 msgid "Then start up the domain with the new, resized disk:"
26924 #: ../libguestfs-1.11.19/resize/virt-resize.pod:179
26925 #: ../resize/virt-resize.pod:179
26928 #| " ln-s target linkname\n"
26931 " # virsh start guestname\n"
26934 " ln-s призначення назва_посилання\n"
26938 #: ../libguestfs-1.11.19/resize/virt-resize.pod:181
26939 #: ../resize/virt-resize.pod:181
26941 "and check that it still works. See also the L</NOTES> section below for "
26942 "additional information."
26946 #: ../libguestfs-1.11.19/resize/virt-resize.pod:184
26947 #: ../resize/virt-resize.pod:184
26948 msgid "7. Resize LVs etc inside the guest"
26952 #: ../libguestfs-1.11.19/resize/virt-resize.pod:186
26953 #: ../resize/virt-resize.pod:186
26954 msgid "(This can also be done offline using L<guestfish(1)>)"
26958 #: ../libguestfs-1.11.19/resize/virt-resize.pod:188
26959 #: ../resize/virt-resize.pod:188
26961 "Once the guest has booted you should see the new space available, at least "
26962 "for filesystems that virt-resize knows how to resize, and for PVs. The user "
26963 "may need to resize LVs inside PVs, and also resize filesystem types that "
26964 "virt-resize does not know how to expand."
26968 #: ../libguestfs-1.11.19/resize/virt-resize.pod:195
26969 #: ../resize/virt-resize.pod:195
26970 msgid "SHRINKING A VIRTUAL MACHINE DISK"
26974 #: ../libguestfs-1.11.19/resize/virt-resize.pod:197
26975 #: ../resize/virt-resize.pod:197
26977 "Shrinking is somewhat more complex than expanding, and only an overview is "
26982 #: ../libguestfs-1.11.19/resize/virt-resize.pod:200
26983 #: ../resize/virt-resize.pod:200
26985 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
26986 "filesystems). The user has to shrink content before passing the disk image "
26987 "to virt-resize, and virt-resize will check that the content has been shrunk "
26992 #: ../libguestfs-1.11.19/resize/virt-resize.pod:205
26993 #: ../resize/virt-resize.pod:205
26994 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
26998 #: ../libguestfs-1.11.19/resize/virt-resize.pod:207
26999 #: ../resize/virt-resize.pod:207
27001 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
27002 "steps 3 and 4 above to allocate a new disk image."
27006 #: ../libguestfs-1.11.19/resize/virt-resize.pod:210
27007 #: ../resize/virt-resize.pod:210
27009 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
27013 #: ../libguestfs-1.11.19/resize/virt-resize.pod:213
27014 #: ../resize/virt-resize.pod:213
27015 msgid "IGNORING OR DELETING PARTITIONS"
27019 #: ../libguestfs-1.11.19/resize/virt-resize.pod:215
27020 #: ../resize/virt-resize.pod:215
27022 "virt-resize also gives a convenient way to ignore or delete partitions when "
27023 "copying from the input disk to the output disk. Ignoring a partition speeds "
27024 "up the copy where you don't care about the existing contents of a "
27025 "partition. Deleting a partition removes it completely, but note that it "
27026 "also renumbers any partitions after the one which is deleted, which can "
27027 "leave some guests unbootable."
27031 #: ../libguestfs-1.11.19/resize/virt-resize.pod:222
27032 #: ../resize/virt-resize.pod:222
27033 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
27037 #: ../libguestfs-1.11.19/resize/virt-resize.pod:224
27038 #: ../resize/virt-resize.pod:224
27040 "If the input disk is in qcow2 format, then you may prefer that the output is "
27041 "in qcow2 format as well. Alternately, virt-resize can convert the format on "
27042 "the fly. The output format is simply determined by the format of the empty "
27043 "output container that you provide. Thus to create qcow2 output, use:"
27047 #: ../libguestfs-1.11.19/resize/virt-resize.pod:230
27048 #: ../resize/virt-resize.pod:230
27051 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
27056 #: ../libguestfs-1.11.19/resize/virt-resize.pod:232
27057 #: ../resize/virt-resize.pod:232
27058 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
27062 #: ../libguestfs-1.11.19/resize/virt-resize.pod:234
27063 #: ../resize/virt-resize.pod:234
27064 msgid "Similarly, to get non-sparse raw output use:"
27068 #: ../libguestfs-1.11.19/resize/virt-resize.pod:236
27069 #: ../resize/virt-resize.pod:236
27072 #| " fallocate path len\n"
27075 " fallocate -l size outdisk\n"
27078 " fallocate шлях довжина\n"
27082 #: ../libguestfs-1.11.19/resize/virt-resize.pod:238
27083 #: ../resize/virt-resize.pod:238
27085 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
27086 "dev/zero of=outdisk bs=1M count=..>)"
27090 #: ../libguestfs-1.11.19/resize/virt-resize.pod:247
27091 #: ../resize/virt-resize.pod:247
27092 msgid "Display help."
27096 #: ../libguestfs-1.11.19/resize/virt-resize.pod:249
27097 #: ../resize/virt-resize.pod:249
27102 #: ../libguestfs-1.11.19/resize/virt-resize.pod:251
27103 #: ../resize/virt-resize.pod:251 ../tools/virt-make-fs.pl:177
27104 #: ../tools/virt-win-reg.pl:120
27106 msgstr "B<--debug>"
27109 #: ../libguestfs-1.11.19/resize/virt-resize.pod:253
27110 #: ../resize/virt-resize.pod:253 ../tools/virt-win-reg.pl:122
27111 msgid "Enable debugging messages."
27115 #: ../libguestfs-1.11.19/resize/virt-resize.pod:255
27116 #: ../resize/virt-resize.pod:255
27118 #| msgid "B<--no-dest-paths>"
27119 msgid "B<--delete part>"
27120 msgstr "B<--no-dest-paths>"
27123 #: ../libguestfs-1.11.19/resize/virt-resize.pod:257
27124 #: ../resize/virt-resize.pod:257
27126 "Delete the named partition. It would be more accurate to describe this as "
27127 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
27128 "the original disk image is left intact."
27132 #: ../libguestfs-1.11.19/resize/virt-resize.pod:261
27133 #: ../resize/virt-resize.pod:261
27135 "Note that when you delete a partition, then anything contained in the "
27136 "partition is also deleted. Furthermore, this causes any partitions that "
27137 "come after to be I<renumbered>, which can easily make your guest unbootable."
27141 #: ../libguestfs-1.11.19/resize/virt-resize.pod:266
27142 #: ../libguestfs-1.11.19/resize/virt-resize.pod:327
27143 #: ../libguestfs-1.11.19/resize/virt-resize.pod:448
27144 #: ../resize/virt-resize.pod:266 ../resize/virt-resize.pod:327
27145 #: ../resize/virt-resize.pod:448
27146 msgid "You can give this option multiple times."
27150 #: ../libguestfs-1.11.19/resize/virt-resize.pod:268
27151 #: ../resize/virt-resize.pod:268
27153 #| msgid "B<--partition>"
27154 msgid "B<--expand part>"
27155 msgstr "B<--partition>"
27158 #: ../libguestfs-1.11.19/resize/virt-resize.pod:270
27159 #: ../resize/virt-resize.pod:270
27161 "Expand the named partition so it uses up all extra space (space left over "
27162 "after any other resize changes that you request have been done)."
27166 #: ../libguestfs-1.11.19/resize/virt-resize.pod:273
27167 #: ../resize/virt-resize.pod:273
27169 "If virt-resize knows how, it will expand the direct content of the "
27170 "partition. For example, if the partition is an LVM PV, it will expand the "
27171 "PV to fit (like calling L<pvresize(8)>). Virt-resize leaves any other "
27172 "content it doesn't know about alone."
27176 #: ../libguestfs-1.11.19/resize/virt-resize.pod:278
27177 #: ../resize/virt-resize.pod:278
27178 msgid "Currently virt-resize can resize:"
27182 #: ../libguestfs-1.11.19/resize/virt-resize.pod:284
27183 #: ../resize/virt-resize.pod:284
27184 msgid "ext2, ext3 and ext4 filesystems."
27188 #: ../libguestfs-1.11.19/resize/virt-resize.pod:288
27189 #: ../resize/virt-resize.pod:288
27190 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
27194 #: ../libguestfs-1.11.19/resize/virt-resize.pod:290
27195 #: ../resize/virt-resize.pod:290
27197 "The filesystem must have been shut down consistently last time it was used. "
27198 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
27199 "consistency check, so at the first boot after resizing Windows will check "
27204 #: ../libguestfs-1.11.19/resize/virt-resize.pod:297
27205 #: ../resize/virt-resize.pod:297
27207 "LVM PVs (physical volumes). virt-resize does not usually resize anything "
27208 "inside the PV, but see the I<--LV-expand> option. The user could also "
27209 "resize LVs as desired after boot."
27213 #: ../libguestfs-1.11.19/resize/virt-resize.pod:303
27214 #: ../resize/virt-resize.pod:303
27215 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
27219 #: ../libguestfs-1.11.19/resize/virt-resize.pod:307
27220 #: ../libguestfs-1.11.19/resize/virt-resize.pod:476
27221 #: ../resize/virt-resize.pod:307 ../resize/virt-resize.pod:476
27222 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
27226 #: ../libguestfs-1.11.19/resize/virt-resize.pod:309
27227 #: ../resize/virt-resize.pod:309 ../tools/virt-list-filesystems.pl:91
27228 #: ../tools/virt-list-partitions.pl:92 ../tools/virt-tar.pl:141
27229 #: ../tools/virt-win-reg.pl:142
27230 msgid "B<--format> raw"
27234 #: ../libguestfs-1.11.19/resize/virt-resize.pod:311
27235 #: ../resize/virt-resize.pod:311
27237 "Specify the format of the input disk image. If this flag is not given then "
27238 "it is auto-detected from the image itself."
27242 #: ../libguestfs-1.11.19/resize/virt-resize.pod:317
27243 #: ../resize/virt-resize.pod:317
27245 "Note that this option I<does not> affect the output format. See L</QCOW2 "
27246 "AND NON-SPARSE RAW FORMATS>."
27250 #: ../libguestfs-1.11.19/resize/virt-resize.pod:320
27251 #: ../resize/virt-resize.pod:320
27253 #| msgid "B<--format>"
27254 msgid "B<--ignore part>"
27255 msgstr "B<--format>"
27258 #: ../libguestfs-1.11.19/resize/virt-resize.pod:322
27259 #: ../resize/virt-resize.pod:322
27261 "Ignore the named partition. Effectively this means the partition is "
27262 "allocated on the destination disk, but the content is not copied across from "
27263 "the source disk. The content of the partition will be blank (all zero "
27268 #: ../libguestfs-1.11.19/resize/virt-resize.pod:329
27269 #: ../resize/virt-resize.pod:329
27270 msgid "B<--LV-expand logvol>"
27274 #: ../libguestfs-1.11.19/resize/virt-resize.pod:331
27275 #: ../resize/virt-resize.pod:331
27277 "This takes the logical volume and, as a final step, expands it to fill all "
27278 "the space available in its volume group. A typical usage, assuming a Linux "
27279 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
27280 "lv_root> would be:"
27284 #: ../libguestfs-1.11.19/resize/virt-resize.pod:336
27285 #: ../resize/virt-resize.pod:336
27288 " virt-resize indisk outdisk \\\n"
27289 " --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
27294 #: ../libguestfs-1.11.19/resize/virt-resize.pod:339
27295 #: ../resize/virt-resize.pod:339
27297 "This would first expand the partition (and PV), and then expand the root "
27298 "device to fill the extra space in the PV."
27302 #: ../libguestfs-1.11.19/resize/virt-resize.pod:342
27303 #: ../resize/virt-resize.pod:342
27305 "The contents of the LV are also resized if virt-resize knows how to do "
27306 "that. You can stop virt-resize from trying to expand the content by using "
27307 "the option I<--no-expand-content>."
27311 #: ../libguestfs-1.11.19/resize/virt-resize.pod:346
27312 #: ../resize/virt-resize.pod:346
27313 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
27317 #: ../libguestfs-1.11.19/resize/virt-resize.pod:348
27318 #: ../resize/virt-resize.pod:348
27320 "You can give this option multiple times, I<but> it doesn't make sense to do "
27321 "this unless the logical volumes you specify are all in different volume "
27326 #: ../libguestfs-1.11.19/resize/virt-resize.pod:354
27327 #: ../resize/virt-resize.pod:354
27329 #| msgid "B<--debug>"
27330 msgid "B<--dryrun>"
27331 msgstr "B<--debug>"
27334 #: ../libguestfs-1.11.19/resize/virt-resize.pod:356
27335 #: ../resize/virt-resize.pod:356
27336 msgid "Print a summary of what would be done, but don't do anything."
27340 #: ../libguestfs-1.11.19/resize/virt-resize.pod:358
27341 #: ../resize/virt-resize.pod:358
27342 msgid "B<--no-copy-boot-loader>"
27346 #: ../libguestfs-1.11.19/resize/virt-resize.pod:360
27347 #: ../resize/virt-resize.pod:360
27349 "By default, virt-resize copies over some sectors at the start of the disk "
27350 "(up to the beginning of the first partition). Commonly these sectors "
27351 "contain the Master Boot Record (MBR) and the boot loader, and are required "
27352 "in order for the guest to boot correctly."
27356 #: ../libguestfs-1.11.19/resize/virt-resize.pod:365
27357 #: ../resize/virt-resize.pod:365
27359 "If you specify this flag, then this initial copy is not done. You may need "
27360 "to reinstall the boot loader in this case."
27364 #: ../libguestfs-1.11.19/resize/virt-resize.pod:368
27365 #: ../resize/virt-resize.pod:368
27367 #| msgid "B<--partition>"
27368 msgid "B<--no-extra-partition>"
27369 msgstr "B<--partition>"
27372 #: ../libguestfs-1.11.19/resize/virt-resize.pod:370
27373 #: ../resize/virt-resize.pod:370
27375 "By default, virt-resize creates an extra partition if there is any extra, "
27376 "unused space after all resizing has happened. Use this option to prevent "
27377 "the extra partition from being created. If you do this then the extra space "
27378 "will be inaccessible until you run fdisk, parted, or some other partitioning "
27379 "tool in the guest."
27383 #: ../libguestfs-1.11.19/resize/virt-resize.pod:376
27384 #: ../resize/virt-resize.pod:376
27386 "Note that if the surplus space is smaller than 10 MB, no extra partition "
27391 #: ../libguestfs-1.11.19/resize/virt-resize.pod:379
27392 #: ../resize/virt-resize.pod:379
27394 #| msgid "B<--no-dest-paths>"
27395 msgid "B<--no-expand-content>"
27396 msgstr "B<--no-dest-paths>"
27399 #: ../libguestfs-1.11.19/resize/virt-resize.pod:381
27400 #: ../resize/virt-resize.pod:381
27402 "By default, virt-resize will try to expand the direct contents of "
27403 "partitions, if it knows how (see I<--expand> option above)."
27407 #: ../libguestfs-1.11.19/resize/virt-resize.pod:384
27408 #: ../resize/virt-resize.pod:384
27410 "If you give the I<--no-expand-content> option then virt-resize will not "
27415 #: ../libguestfs-1.11.19/resize/virt-resize.pod:387
27416 #: ../resize/virt-resize.pod:387
27418 #| msgid "ntfsresize-size"
27419 msgid "B<--ntfsresize-force>"
27420 msgstr "ntfsresize-size"
27423 #: ../libguestfs-1.11.19/resize/virt-resize.pod:389
27424 #: ../resize/virt-resize.pod:389
27426 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
27427 "the NTFS disk is marked as needing a consistency check. You have to use "
27428 "this option if you want to resize a Windows guest multiple times without "
27429 "booting into Windows between each resize."
27433 #: ../libguestfs-1.11.19/resize/virt-resize.pod:395
27434 #: ../resize/virt-resize.pod:395
27436 #| msgid "B<--format>"
27437 msgid "B<--output-format> raw"
27438 msgstr "B<--format>"
27441 #: ../libguestfs-1.11.19/resize/virt-resize.pod:397
27442 #: ../resize/virt-resize.pod:397
27444 "Specify the format of the output disk image. If this flag is not given then "
27445 "it is auto-detected from the image itself."
27449 #: ../libguestfs-1.11.19/resize/virt-resize.pod:403
27450 #: ../resize/virt-resize.pod:403
27452 "Note that this option I<does not create> the output format. This option "
27453 "just tells libguestfs what it is so it doesn't try to guess it. You still "
27454 "need to create the output disk with the right format. See L</QCOW2 AND NON-"
27455 "SPARSE RAW FORMATS>."
27459 #: ../libguestfs-1.11.19/resize/virt-resize.pod:408
27460 #: ../resize/virt-resize.pod:408
27465 #: ../libguestfs-1.11.19/resize/virt-resize.pod:410
27466 #: ../resize/virt-resize.pod:410
27468 #| msgid "B<--live>"
27473 #: ../libguestfs-1.11.19/resize/virt-resize.pod:412
27474 #: ../resize/virt-resize.pod:412
27475 msgid "Don't print the summary."
27479 #: ../libguestfs-1.11.19/resize/virt-resize.pod:414
27480 #: ../resize/virt-resize.pod:414
27482 #| msgid "B<part_size>"
27483 msgid "B<--resize part=size>"
27484 msgstr "B<part_size>"
27487 #: ../libguestfs-1.11.19/resize/virt-resize.pod:416
27488 #: ../resize/virt-resize.pod:416
27490 "Resize the named partition (expanding or shrinking it) so that it has the "
27495 #: ../libguestfs-1.11.19/resize/virt-resize.pod:419
27496 #: ../resize/virt-resize.pod:419
27498 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
27499 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
27500 "size; or as a relative number or percentage. For example:"
27504 #: ../libguestfs-1.11.19/resize/virt-resize.pod:425
27505 #: ../resize/virt-resize.pod:425
27508 #| " hexedit /dev/sda 1M\n"
27511 " --resize /dev/sda2=10G\n"
27514 " hexedit /dev/sda 1M\n"
27518 #: ../libguestfs-1.11.19/resize/virt-resize.pod:427
27519 #: ../resize/virt-resize.pod:427
27522 #| " pvresize device\n"
27525 " --resize /dev/sda4=90%\n"
27528 " pvresize пристрій\n"
27532 #: ../libguestfs-1.11.19/resize/virt-resize.pod:429
27533 #: ../resize/virt-resize.pod:429
27536 #| " hexedit /dev/sda 1M\n"
27539 " --resize /dev/sda2=+1G\n"
27542 " hexedit /dev/sda 1M\n"
27546 #: ../libguestfs-1.11.19/resize/virt-resize.pod:431
27547 #: ../resize/virt-resize.pod:431
27550 #| " hexedit /dev/sda 1M\n"
27553 " --resize /dev/sda2=-200M\n"
27556 " hexedit /dev/sda 1M\n"
27560 #: ../libguestfs-1.11.19/resize/virt-resize.pod:433
27561 #: ../resize/virt-resize.pod:433
27564 #| " hexedit /dev/sda 1M\n"
27567 " --resize /dev/sda1=+128K\n"
27570 " hexedit /dev/sda 1M\n"
27574 #: ../libguestfs-1.11.19/resize/virt-resize.pod:435
27575 #: ../resize/virt-resize.pod:435
27578 #| " hexedit /dev/sda 1M\n"
27581 " --resize /dev/sda1=+10%\n"
27584 " hexedit /dev/sda 1M\n"
27588 #: ../libguestfs-1.11.19/resize/virt-resize.pod:437
27589 #: ../resize/virt-resize.pod:437
27592 #| " hexedit /dev/sda 1M\n"
27595 " --resize /dev/sda1=-10%\n"
27598 " hexedit /dev/sda 1M\n"
27602 #: ../libguestfs-1.11.19/resize/virt-resize.pod:439
27603 #: ../resize/virt-resize.pod:439
27605 "You can increase the size of any partition. Virt-resize will expand the "
27606 "direct content of the partition if it knows how (see I<--expand> below)."
27610 #: ../libguestfs-1.11.19/resize/virt-resize.pod:443
27611 #: ../resize/virt-resize.pod:443
27613 "You can only I<decrease> the size of partitions that contain filesystems or "
27614 "PVs which have already been shrunk. Virt-resize will check this has been "
27615 "done before proceeding, or else will print an error (see also I<--resize-"
27620 #: ../libguestfs-1.11.19/resize/virt-resize.pod:450
27621 #: ../resize/virt-resize.pod:450
27622 msgid "B<--resize-force part=size>"
27626 #: ../libguestfs-1.11.19/resize/virt-resize.pod:452
27627 #: ../resize/virt-resize.pod:452
27629 "This is the same as I<--resize> except that it will let you decrease the "
27630 "size of any partition. Generally this means you will lose any data which "
27631 "was at the end of the partition you shrink, but you may not care about that "
27632 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
27633 "as a swap partition)."
27637 #: ../libguestfs-1.11.19/resize/virt-resize.pod:458
27638 #: ../resize/virt-resize.pod:458
27639 msgid "See also the I<--ignore> option."
27643 #: ../libguestfs-1.11.19/resize/virt-resize.pod:460
27644 #: ../resize/virt-resize.pod:460
27646 #| msgid "B<--partition>"
27647 msgid "B<--shrink part>"
27648 msgstr "B<--partition>"
27651 #: ../libguestfs-1.11.19/resize/virt-resize.pod:462
27652 #: ../resize/virt-resize.pod:462
27654 "Shrink the named partition until the overall disk image fits in the "
27655 "destination. The named partition B<must> contain a filesystem or PV which "
27656 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
27657 "online tools). Virt-resize will check this and give an error if it has not "
27662 #: ../libguestfs-1.11.19/resize/virt-resize.pod:468
27663 #: ../resize/virt-resize.pod:468
27665 "The amount by which the overall disk must be shrunk (after carrying out all "
27666 "other operations requested by the user) is called the \"deficit\". For "
27667 "example, a straight copy (assume no other operations) from a 5GB disk image "
27668 "to a 4GB disk image results in a 1GB deficit. In this case, virt-resize "
27669 "would give an error unless the user specified a partition to shrink and that "
27670 "partition had more than a gigabyte of free space."
27674 #: ../libguestfs-1.11.19/resize/virt-resize.pod:488
27675 #: ../resize/virt-resize.pod:488
27676 msgid "\"Partition 1 does not end on cylinder boundary.\""
27680 #: ../libguestfs-1.11.19/resize/virt-resize.pod:490
27681 #: ../resize/virt-resize.pod:490
27683 "Virt-resize aligns partitions to multiples of 64 sectors. Usually this "
27684 "means the partitions will not be aligned to the ancient CHS geometry. "
27685 "However CHS geometry is meaningless for disks manufactured since the early "
27686 "1990s, and doubly so for virtual hard drives. Alignment of partitions to "
27687 "cylinders is not required by any modern operating system."
27691 #: ../libguestfs-1.11.19/resize/virt-resize.pod:497
27692 #: ../resize/virt-resize.pod:497
27693 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
27697 #: ../libguestfs-1.11.19/resize/virt-resize.pod:499
27698 #: ../resize/virt-resize.pod:499
27700 "In Windows Vista and later versions, Microsoft switched to using a separate "
27701 "boot partition. In these VMs, typically C</dev/sda1> is the boot partition "
27702 "and C</dev/sda2> is the main (C:) drive. We have not had any luck resizing "
27703 "the boot partition. Doing so seems to break the guest completely. However "
27704 "expanding the second partition (ie. C: drive) should work."
27708 #: ../libguestfs-1.11.19/resize/virt-resize.pod:506
27709 #: ../resize/virt-resize.pod:506
27711 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
27712 "NTFS partitions have been expanded. This is just a safety check and (unless "
27713 "it find errors) is nothing to worry about."
27717 #: ../libguestfs-1.11.19/resize/virt-resize.pod:510
27718 #: ../resize/virt-resize.pod:510
27719 msgid "GUEST BOOT STUCK AT \"GRUB\""
27723 #: ../libguestfs-1.11.19/resize/virt-resize.pod:512
27724 #: ../resize/virt-resize.pod:512
27726 "If a Linux guest does not boot after resizing, and the boot is stuck after "
27727 "printing C<GRUB> on the console, try reinstalling grub. This sometimes "
27728 "happens on older (RHEL 5-era) guests, for reasons we don't fully understand, "
27729 "although we think is to do with partition alignment."
27733 #: ../libguestfs-1.11.19/resize/virt-resize.pod:517
27734 #: ../resize/virt-resize.pod:517
27737 " guestfish -i -a newdisk\n"
27738 " ><fs> cat /boot/grub/device.map\n"
27739 " # check the contents of this file are sensible or\n"
27740 " # edit the file if necessary\n"
27741 " ><fs> grub-install / /dev/vda\n"
27747 #: ../libguestfs-1.11.19/resize/virt-resize.pod:524
27748 #: ../resize/virt-resize.pod:524
27750 "For more flexible guest reconfiguration, including if you need to specify "
27751 "other parameters to grub-install, use L<virt-rescue(1)>."
27755 #: ../libguestfs-1.11.19/resize/virt-resize.pod:527
27756 #: ../resize/virt-resize.pod:527
27757 msgid "ALTERNATIVE TOOLS"
27761 #: ../libguestfs-1.11.19/resize/virt-resize.pod:529
27762 #: ../resize/virt-resize.pod:529
27764 "There are several proprietary tools for resizing partitions. We won't "
27765 "mention any here."
27769 #: ../libguestfs-1.11.19/resize/virt-resize.pod:532
27770 #: ../resize/virt-resize.pod:532
27772 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
27773 "operations on disk images. They can resize and move partitions, but I don't "
27774 "think they can do anything with the contents, and they certainly don't "
27779 #: ../libguestfs-1.11.19/resize/virt-resize.pod:537
27780 #: ../resize/virt-resize.pod:537
27782 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
27783 "but at a much lower level. You will probably end up hand-calculating sector "
27784 "offsets, which is something that virt-resize was designed to avoid. If you "
27785 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
27790 #: ../libguestfs-1.11.19/resize/virt-resize.pod:552
27791 #: ../resize/virt-resize.pod:552
27793 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
27794 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
27795 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
27796 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<http://libguestfs.org/>."
27800 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:5
27801 #: ../ruby/examples/guestfs-ruby.pod:5
27802 msgid "guestfs-ruby - How to use libguestfs from Ruby"
27806 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:9
27807 #: ../ruby/examples/guestfs-ruby.pod:9
27810 " require 'guestfs'\n"
27811 " g = Guestfs::Guestfs.new()\n"
27812 " g.add_drive_opts(\"disk.img\",\n"
27813 " :readonly => 1, :format => \"raw\")\n"
27819 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:17
27820 #: ../ruby/examples/guestfs-ruby.pod:17
27822 "This manual page documents how to call libguestfs from the Ruby programming "
27823 "language. This page just documents the differences from the C API and gives "
27824 "some examples. If you are not familiar with using libguestfs, you also need "
27825 "to read L<guestfs(3)>."
27829 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:24
27830 #: ../ruby/examples/guestfs-ruby.pod:24
27832 "Errors from libguestfs functions are mapped into the C<Error> exception. "
27833 "This has a single parameter which is the error message (a string)."
27837 #: ../libguestfs-1.11.19/ruby/examples/guestfs-ruby.pod:38
27838 #: ../ruby/examples/guestfs-ruby.pod:38
27841 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
27842 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
27843 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
27845 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)"
27846 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<http://libguestfs.org/>."
27848 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
27849 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
27850 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
27853 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1
27854 #: ../src/guestfs-actions.pod:1
27855 msgid "guestfs_add_cdrom"
27859 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3
27860 #: ../src/guestfs-actions.pod:3
27864 " guestfs_add_cdrom (guestfs_h *g,\n"
27865 " const char *filename);\n"
27870 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:17
27871 #: ../src/guestfs-actions.pod:17
27873 "This call checks for the existence of C<filename>. This stops you from "
27874 "specifying other types of drive which are supported by qemu such as C<nbd:> "
27875 "and C<http:> URLs. To specify those, use the general C<guestfs_config> call "
27880 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:24
27881 #: ../src/guestfs-actions.pod:24
27883 "If you just want to add an ISO file (often you use this as an efficient way "
27884 "to transfer large files into the guest), then you should probably use "
27885 "C<guestfs_add_drive_ro> instead."
27889 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:30
27890 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:140
27891 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:201
27892 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:238
27893 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:252
27894 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:273
27895 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:293
27896 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:307
27897 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:422
27898 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:442
27899 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:456
27900 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:501
27901 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:529
27902 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:547
27903 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:614
27904 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:647
27905 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:661
27906 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:676
27907 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:775
27908 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:793
27909 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:807
27910 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:821
27911 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:858
27912 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1041
27913 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1061
27914 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1079
27915 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1163
27916 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1181
27917 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1200
27918 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1214
27919 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1234
27920 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1304
27921 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1335
27922 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1360
27923 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1402
27924 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1508
27925 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1542
27926 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1757
27927 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1779
27928 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1866
27929 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2341
27930 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2485
27931 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2546
27932 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2581
27933 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3621
27934 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3636
27935 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3661
27936 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3850
27937 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3864
27938 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3877
27939 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3891
27940 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3906
27941 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3942
27942 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4014
27943 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4034
27944 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4051
27945 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4074
27946 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4097
27947 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4132
27948 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4151
27949 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4170
27950 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4205
27951 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4217
27952 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4253
27953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4269
27954 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4282
27955 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4297
27956 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4314
27957 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4407
27958 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4427
27959 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4440
27960 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4491
27961 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4509
27962 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4527
27963 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4543
27964 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4557
27965 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4571
27966 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4588
27967 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4603
27968 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4623
27969 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4693
27970 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4766
27971 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4797
27972 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4816
27973 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4835
27974 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4847
27975 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4864
27976 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4877
27977 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4892
27978 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4907
27979 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4942
27980 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4975
27981 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5014
27982 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5034
27983 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5048
27984 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5065
27985 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5114
27986 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5160
27987 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5214
27988 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5250
27989 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5285
27990 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5302
27991 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5320
27992 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5460
27993 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5517
27994 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5539
27995 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5557
27996 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5589
27997 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5655
27998 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5672
27999 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5685
28000 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5699
28001 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5988
28002 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6007
28003 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6026
28004 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6040
28005 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6052
28006 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6066
28007 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6078
28008 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6092
28009 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6108
28010 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6129
28011 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6148
28012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6167
28013 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6197
28014 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6215
28015 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6238
28016 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6256
28017 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6275
28018 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6296
28019 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6315
28020 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6332
28021 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6351
28022 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6379
28023 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6403
28024 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6422
28025 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6446
28026 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6465
28027 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6480
28028 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6499
28029 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6536
28030 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6566
28031 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6599
28032 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6721
28033 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6842
28034 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6854
28035 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6867
28036 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6880
28037 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6902
28038 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6915
28039 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6928
28040 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6941
28041 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6956
28042 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7015
28043 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7032
28044 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7048
28045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7064
28046 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7081
28047 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7094
28048 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7114
28049 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7150
28050 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7164
28051 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7205
28052 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7218
28053 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7236
28054 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7270
28055 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7306
28056 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7422
28057 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7437
28058 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7451
28059 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7506
28060 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7519
28061 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7564
28062 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7597
28063 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7660
28064 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7680
28065 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7706
28066 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7773
28067 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7792
28068 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7821
28069 #: ../src/guestfs-actions.pod:30 ../src/guestfs-actions.pod:140
28070 #: ../src/guestfs-actions.pod:201 ../src/guestfs-actions.pod:238
28071 #: ../src/guestfs-actions.pod:252 ../src/guestfs-actions.pod:273
28072 #: ../src/guestfs-actions.pod:293 ../src/guestfs-actions.pod:307
28073 #: ../src/guestfs-actions.pod:422 ../src/guestfs-actions.pod:442
28074 #: ../src/guestfs-actions.pod:456 ../src/guestfs-actions.pod:501
28075 #: ../src/guestfs-actions.pod:529 ../src/guestfs-actions.pod:547
28076 #: ../src/guestfs-actions.pod:614 ../src/guestfs-actions.pod:647
28077 #: ../src/guestfs-actions.pod:661 ../src/guestfs-actions.pod:676
28078 #: ../src/guestfs-actions.pod:775 ../src/guestfs-actions.pod:793
28079 #: ../src/guestfs-actions.pod:807 ../src/guestfs-actions.pod:821
28080 #: ../src/guestfs-actions.pod:858 ../src/guestfs-actions.pod:1041
28081 #: ../src/guestfs-actions.pod:1061 ../src/guestfs-actions.pod:1079
28082 #: ../src/guestfs-actions.pod:1163 ../src/guestfs-actions.pod:1181
28083 #: ../src/guestfs-actions.pod:1200 ../src/guestfs-actions.pod:1214
28084 #: ../src/guestfs-actions.pod:1234 ../src/guestfs-actions.pod:1304
28085 #: ../src/guestfs-actions.pod:1335 ../src/guestfs-actions.pod:1360
28086 #: ../src/guestfs-actions.pod:1402 ../src/guestfs-actions.pod:1508
28087 #: ../src/guestfs-actions.pod:1542 ../src/guestfs-actions.pod:1757
28088 #: ../src/guestfs-actions.pod:1779 ../src/guestfs-actions.pod:1866
28089 #: ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:2485
28090 #: ../src/guestfs-actions.pod:2546 ../src/guestfs-actions.pod:2581
28091 #: ../src/guestfs-actions.pod:3621 ../src/guestfs-actions.pod:3636
28092 #: ../src/guestfs-actions.pod:3661 ../src/guestfs-actions.pod:3850
28093 #: ../src/guestfs-actions.pod:3864 ../src/guestfs-actions.pod:3877
28094 #: ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:3906
28095 #: ../src/guestfs-actions.pod:3942 ../src/guestfs-actions.pod:4014
28096 #: ../src/guestfs-actions.pod:4034 ../src/guestfs-actions.pod:4051
28097 #: ../src/guestfs-actions.pod:4074 ../src/guestfs-actions.pod:4097
28098 #: ../src/guestfs-actions.pod:4132 ../src/guestfs-actions.pod:4151
28099 #: ../src/guestfs-actions.pod:4170 ../src/guestfs-actions.pod:4205
28100 #: ../src/guestfs-actions.pod:4217 ../src/guestfs-actions.pod:4253
28101 #: ../src/guestfs-actions.pod:4269 ../src/guestfs-actions.pod:4282
28102 #: ../src/guestfs-actions.pod:4297 ../src/guestfs-actions.pod:4314
28103 #: ../src/guestfs-actions.pod:4407 ../src/guestfs-actions.pod:4427
28104 #: ../src/guestfs-actions.pod:4440 ../src/guestfs-actions.pod:4491
28105 #: ../src/guestfs-actions.pod:4509 ../src/guestfs-actions.pod:4527
28106 #: ../src/guestfs-actions.pod:4543 ../src/guestfs-actions.pod:4557
28107 #: ../src/guestfs-actions.pod:4571 ../src/guestfs-actions.pod:4588
28108 #: ../src/guestfs-actions.pod:4603 ../src/guestfs-actions.pod:4623
28109 #: ../src/guestfs-actions.pod:4693 ../src/guestfs-actions.pod:4766
28110 #: ../src/guestfs-actions.pod:4797 ../src/guestfs-actions.pod:4816
28111 #: ../src/guestfs-actions.pod:4835 ../src/guestfs-actions.pod:4847
28112 #: ../src/guestfs-actions.pod:4864 ../src/guestfs-actions.pod:4877
28113 #: ../src/guestfs-actions.pod:4892 ../src/guestfs-actions.pod:4907
28114 #: ../src/guestfs-actions.pod:4942 ../src/guestfs-actions.pod:4975
28115 #: ../src/guestfs-actions.pod:5014 ../src/guestfs-actions.pod:5034
28116 #: ../src/guestfs-actions.pod:5048 ../src/guestfs-actions.pod:5065
28117 #: ../src/guestfs-actions.pod:5114 ../src/guestfs-actions.pod:5160
28118 #: ../src/guestfs-actions.pod:5214 ../src/guestfs-actions.pod:5250
28119 #: ../src/guestfs-actions.pod:5285 ../src/guestfs-actions.pod:5302
28120 #: ../src/guestfs-actions.pod:5320 ../src/guestfs-actions.pod:5460
28121 #: ../src/guestfs-actions.pod:5517 ../src/guestfs-actions.pod:5539
28122 #: ../src/guestfs-actions.pod:5557 ../src/guestfs-actions.pod:5589
28123 #: ../src/guestfs-actions.pod:5655 ../src/guestfs-actions.pod:5672
28124 #: ../src/guestfs-actions.pod:5685 ../src/guestfs-actions.pod:5699
28125 #: ../src/guestfs-actions.pod:5988 ../src/guestfs-actions.pod:6007
28126 #: ../src/guestfs-actions.pod:6026 ../src/guestfs-actions.pod:6040
28127 #: ../src/guestfs-actions.pod:6052 ../src/guestfs-actions.pod:6066
28128 #: ../src/guestfs-actions.pod:6078 ../src/guestfs-actions.pod:6092
28129 #: ../src/guestfs-actions.pod:6108 ../src/guestfs-actions.pod:6129
28130 #: ../src/guestfs-actions.pod:6148 ../src/guestfs-actions.pod:6167
28131 #: ../src/guestfs-actions.pod:6197 ../src/guestfs-actions.pod:6215
28132 #: ../src/guestfs-actions.pod:6238 ../src/guestfs-actions.pod:6256
28133 #: ../src/guestfs-actions.pod:6275 ../src/guestfs-actions.pod:6296
28134 #: ../src/guestfs-actions.pod:6315 ../src/guestfs-actions.pod:6332
28135 #: ../src/guestfs-actions.pod:6351 ../src/guestfs-actions.pod:6379
28136 #: ../src/guestfs-actions.pod:6403 ../src/guestfs-actions.pod:6422
28137 #: ../src/guestfs-actions.pod:6446 ../src/guestfs-actions.pod:6465
28138 #: ../src/guestfs-actions.pod:6480 ../src/guestfs-actions.pod:6499
28139 #: ../src/guestfs-actions.pod:6536 ../src/guestfs-actions.pod:6566
28140 #: ../src/guestfs-actions.pod:6599 ../src/guestfs-actions.pod:6721
28141 #: ../src/guestfs-actions.pod:6842 ../src/guestfs-actions.pod:6854
28142 #: ../src/guestfs-actions.pod:6867 ../src/guestfs-actions.pod:6880
28143 #: ../src/guestfs-actions.pod:6902 ../src/guestfs-actions.pod:6915
28144 #: ../src/guestfs-actions.pod:6928 ../src/guestfs-actions.pod:6941
28145 #: ../src/guestfs-actions.pod:6956 ../src/guestfs-actions.pod:7015
28146 #: ../src/guestfs-actions.pod:7032 ../src/guestfs-actions.pod:7048
28147 #: ../src/guestfs-actions.pod:7064 ../src/guestfs-actions.pod:7081
28148 #: ../src/guestfs-actions.pod:7094 ../src/guestfs-actions.pod:7114
28149 #: ../src/guestfs-actions.pod:7150 ../src/guestfs-actions.pod:7164
28150 #: ../src/guestfs-actions.pod:7205 ../src/guestfs-actions.pod:7218
28151 #: ../src/guestfs-actions.pod:7236 ../src/guestfs-actions.pod:7270
28152 #: ../src/guestfs-actions.pod:7306 ../src/guestfs-actions.pod:7422
28153 #: ../src/guestfs-actions.pod:7437 ../src/guestfs-actions.pod:7451
28154 #: ../src/guestfs-actions.pod:7506 ../src/guestfs-actions.pod:7519
28155 #: ../src/guestfs-actions.pod:7564 ../src/guestfs-actions.pod:7597
28156 #: ../src/guestfs-actions.pod:7660 ../src/guestfs-actions.pod:7680
28157 #: ../src/guestfs-actions.pod:7706 ../src/guestfs-actions.pod:7773
28158 #: ../src/guestfs-actions.pod:7792 ../src/guestfs-actions.pod:7821
28159 msgid "This function returns 0 on success or -1 on error."
28163 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:39
28164 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:142
28165 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1165
28166 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1980
28167 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2078
28168 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2192
28169 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3623
28170 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3643
28171 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4951
28172 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6217
28173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6334
28174 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6467
28175 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6958
28176 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7083
28177 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7606
28178 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:142
28179 #: ../src/guestfs-actions.pod:1165 ../src/guestfs-actions.pod:1980
28180 #: ../src/guestfs-actions.pod:2078 ../src/guestfs-actions.pod:2192
28181 #: ../src/guestfs-actions.pod:3623 ../src/guestfs-actions.pod:3643
28182 #: ../src/guestfs-actions.pod:4951 ../src/guestfs-actions.pod:6217
28183 #: ../src/guestfs-actions.pod:6334 ../src/guestfs-actions.pod:6467
28184 #: ../src/guestfs-actions.pod:6958 ../src/guestfs-actions.pod:7083
28185 #: ../src/guestfs-actions.pod:7606
28186 msgid "(Added in 0.3)"
28190 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:41
28191 #: ../src/guestfs-actions.pod:41
28192 msgid "guestfs_add_domain"
28196 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:43
28197 #: ../src/guestfs-actions.pod:43
28201 " guestfs_add_domain (guestfs_h *g,\n"
28202 " const char *dom,\n"
28208 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:48
28209 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:151
28210 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:832
28211 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2826
28212 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4642
28213 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4961
28214 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5178
28215 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:151
28216 #: ../src/guestfs-actions.pod:832 ../src/guestfs-actions.pod:2826
28217 #: ../src/guestfs-actions.pod:4642 ../src/guestfs-actions.pod:4961
28218 #: ../src/guestfs-actions.pod:5178
28220 "You may supply a list of optional arguments to this call. Use zero or more "
28221 "of the following pairs of parameters, and terminate the list with C<-1> on "
28222 "its own. See L</CALLS WITH OPTIONAL ARGUMENTS>."
28226 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:53
28227 #: ../src/guestfs-actions.pod:53
28230 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
28231 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
28232 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
28233 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
28234 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
28239 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:59
28240 #: ../src/guestfs-actions.pod:59
28242 "This function adds the disk(s) attached to the named libvirt domain C<dom>. "
28243 "It works by connecting to libvirt, requesting the domain and domain XML from "
28244 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
28249 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:94
28250 #: ../src/guestfs-actions.pod:94
28252 "The other optional parameters are passed directly through to "
28253 "C<guestfs_add_drive_opts>."
28257 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:97
28258 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:350
28259 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:515
28260 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:693
28261 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:724
28262 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:742
28263 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:761
28264 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1380
28265 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1736
28266 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1939
28267 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2050
28268 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2101
28269 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2156
28270 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2179
28271 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2472
28272 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2944
28273 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2962
28274 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5137
28275 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5357
28276 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5769
28277 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5795
28278 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7191
28279 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7617
28280 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7630
28281 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7643
28282 #: ../src/guestfs-actions.pod:97 ../src/guestfs-actions.pod:350
28283 #: ../src/guestfs-actions.pod:515 ../src/guestfs-actions.pod:693
28284 #: ../src/guestfs-actions.pod:724 ../src/guestfs-actions.pod:742
28285 #: ../src/guestfs-actions.pod:761 ../src/guestfs-actions.pod:1380
28286 #: ../src/guestfs-actions.pod:1736 ../src/guestfs-actions.pod:1939
28287 #: ../src/guestfs-actions.pod:2050 ../src/guestfs-actions.pod:2101
28288 #: ../src/guestfs-actions.pod:2156 ../src/guestfs-actions.pod:2179
28289 #: ../src/guestfs-actions.pod:2472 ../src/guestfs-actions.pod:2944
28290 #: ../src/guestfs-actions.pod:2962 ../src/guestfs-actions.pod:5137
28291 #: ../src/guestfs-actions.pod:5357 ../src/guestfs-actions.pod:5769
28292 #: ../src/guestfs-actions.pod:5795 ../src/guestfs-actions.pod:7191
28293 #: ../src/guestfs-actions.pod:7617 ../src/guestfs-actions.pod:7630
28294 #: ../src/guestfs-actions.pod:7643
28295 msgid "On error this function returns -1."
28299 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:99
28300 #: ../src/guestfs-actions.pod:99
28301 msgid "(Added in 1.7.4)"
28305 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:101
28306 #: ../src/guestfs-actions.pod:101
28307 msgid "guestfs_add_domain_va"
28311 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:103
28312 #: ../src/guestfs-actions.pod:103
28316 " guestfs_add_domain_va (guestfs_h *g,\n"
28317 " const char *dom,\n"
28318 " va_list args);\n"
28323 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:108
28324 #: ../src/guestfs-actions.pod:108
28325 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
28329 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:110
28330 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:121
28331 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:214
28332 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:225
28333 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:871
28334 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:882
28335 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2910
28336 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2922
28337 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4707
28338 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4719
28339 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4989
28340 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5001
28341 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5227
28342 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5238
28343 #: ../src/guestfs-actions.pod:110 ../src/guestfs-actions.pod:121
28344 #: ../src/guestfs-actions.pod:214 ../src/guestfs-actions.pod:225
28345 #: ../src/guestfs-actions.pod:871 ../src/guestfs-actions.pod:882
28346 #: ../src/guestfs-actions.pod:2910 ../src/guestfs-actions.pod:2922
28347 #: ../src/guestfs-actions.pod:4707 ../src/guestfs-actions.pod:4719
28348 #: ../src/guestfs-actions.pod:4989 ../src/guestfs-actions.pod:5001
28349 #: ../src/guestfs-actions.pod:5227 ../src/guestfs-actions.pod:5238
28350 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
28351 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
28354 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:112
28355 #: ../src/guestfs-actions.pod:112
28356 msgid "guestfs_add_domain_argv"
28357 msgstr "guestfs_add_domain_argv"
28360 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:114
28361 #: ../src/guestfs-actions.pod:114
28365 " guestfs_add_domain_argv (guestfs_h *g,\n"
28366 " const char *dom,\n"
28367 " const struct guestfs_add_domain_argv *optargs);\n"
28372 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:119
28373 #: ../src/guestfs-actions.pod:119
28374 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
28378 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:123
28379 #: ../src/guestfs-actions.pod:123
28380 msgid "guestfs_add_drive"
28384 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:125
28385 #: ../src/guestfs-actions.pod:125
28389 " guestfs_add_drive (guestfs_h *g,\n"
28390 " const char *filename);\n"
28395 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:129
28396 #: ../src/guestfs-actions.pod:129
28398 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
28399 "optional parameters, so the disk is added writable, with the format being "
28400 "detected automatically."
28404 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:133
28405 #: ../src/guestfs-actions.pod:133
28407 "Automatic detection of the format opens you up to a potential security hole "
28408 "when dealing with untrusted raw-format images. See CVE-2010-3851 and "
28409 "RHBZ#642934. Specifying the format closes this security hole. Therefore "
28410 "you should think about replacing calls to this function with calls to "
28411 "C<guestfs_add_drive_opts>, and specifying the format."
28415 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:144
28416 #: ../src/guestfs-actions.pod:144
28417 msgid "guestfs_add_drive_opts"
28421 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:146
28422 #: ../src/guestfs-actions.pod:146
28426 " guestfs_add_drive_opts (guestfs_h *g,\n"
28427 " const char *filename,\n"
28433 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:156
28434 #: ../src/guestfs-actions.pod:156
28437 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
28438 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
28439 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
28444 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:185
28445 #: ../src/guestfs-actions.pod:185
28447 "This forces the image format. If you omit this (or use C<guestfs_add_drive> "
28448 "or C<guestfs_add_drive_ro>) then the format is automatically detected. "
28449 "Possible formats include C<raw> and C<qcow2>."
28453 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:196
28454 #: ../src/guestfs-actions.pod:196
28456 "This rarely-used option lets you emulate the behaviour of the deprecated "
28457 "C<guestfs_add_drive_with_if> call (q.v.)"
28461 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:203
28462 #: ../src/guestfs-actions.pod:203
28463 msgid "(Added in 1.5.23)"
28467 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:205
28468 #: ../src/guestfs-actions.pod:205
28469 msgid "guestfs_add_drive_opts_va"
28473 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:207
28474 #: ../src/guestfs-actions.pod:207
28478 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
28479 " const char *filename,\n"
28480 " va_list args);\n"
28485 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:212
28486 #: ../src/guestfs-actions.pod:212
28487 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
28491 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:216
28492 #: ../src/guestfs-actions.pod:216
28493 msgid "guestfs_add_drive_opts_argv"
28497 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:218
28498 #: ../src/guestfs-actions.pod:218
28502 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
28503 " const char *filename,\n"
28504 " const struct guestfs_add_drive_opts_argv *optargs);\n"
28509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:223
28510 #: ../src/guestfs-actions.pod:223
28511 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
28515 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:227
28516 #: ../src/guestfs-actions.pod:227
28517 msgid "guestfs_add_drive_ro"
28521 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:229
28522 #: ../src/guestfs-actions.pod:229
28526 " guestfs_add_drive_ro (guestfs_h *g,\n"
28527 " const char *filename);\n"
28532 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:233
28533 #: ../src/guestfs-actions.pod:233
28535 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
28536 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
28537 "disk is added read-only, with the format being detected automatically."
28541 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:240
28542 #: ../src/guestfs-actions.pod:240
28543 msgid "(Added in 1.0.38)"
28547 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:242
28548 #: ../src/guestfs-actions.pod:242
28549 msgid "guestfs_add_drive_ro_with_if"
28553 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:244
28554 #: ../src/guestfs-actions.pod:244
28558 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
28559 " const char *filename,\n"
28560 " const char *iface);\n"
28565 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:249
28566 #: ../src/guestfs-actions.pod:249
28568 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
28569 "QEMU interface emulation to use at run time."
28573 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:261
28574 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:282
28575 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2431
28576 #: ../src/guestfs-actions.pod:261 ../src/guestfs-actions.pod:282
28577 #: ../src/guestfs-actions.pod:2431
28578 msgid "(Added in 1.0.84)"
28582 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:263
28583 #: ../src/guestfs-actions.pod:263
28584 msgid "guestfs_add_drive_with_if"
28588 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:265
28589 #: ../src/guestfs-actions.pod:265
28593 " guestfs_add_drive_with_if (guestfs_h *g,\n"
28594 " const char *filename,\n"
28595 " const char *iface);\n"
28600 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:270
28601 #: ../src/guestfs-actions.pod:270
28603 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
28604 "QEMU interface emulation to use at run time."
28608 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:284
28609 #: ../src/guestfs-actions.pod:284
28610 msgid "guestfs_aug_clear"
28614 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:286
28615 #: ../src/guestfs-actions.pod:286
28619 " guestfs_aug_clear (guestfs_h *g,\n"
28620 " const char *augpath);\n"
28625 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:295
28626 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2181
28627 #: ../src/guestfs-actions.pod:295 ../src/guestfs-actions.pod:2181
28628 msgid "(Added in 1.3.4)"
28632 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:297
28633 #: ../src/guestfs-actions.pod:297
28634 msgid "guestfs_aug_close"
28638 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:299
28639 #: ../src/guestfs-actions.pod:299
28643 " guestfs_aug_close (guestfs_h *g);\n"
28648 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:302
28649 #: ../src/guestfs-actions.pod:302
28651 "Close the current Augeas handle and free up any resources used by it. After "
28652 "calling this, you have to call C<guestfs_aug_init> again before you can use "
28653 "any other Augeas functions."
28657 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:309
28658 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:334
28659 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:352
28660 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:366
28661 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:424
28662 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:444
28663 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:458
28664 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:489
28665 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:503
28666 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:517
28667 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:531
28668 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:549
28669 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5846
28670 #: ../src/guestfs-actions.pod:309 ../src/guestfs-actions.pod:334
28671 #: ../src/guestfs-actions.pod:352 ../src/guestfs-actions.pod:366
28672 #: ../src/guestfs-actions.pod:424 ../src/guestfs-actions.pod:444
28673 #: ../src/guestfs-actions.pod:458 ../src/guestfs-actions.pod:489
28674 #: ../src/guestfs-actions.pod:503 ../src/guestfs-actions.pod:517
28675 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:549
28676 #: ../src/guestfs-actions.pod:5846
28677 msgid "(Added in 0.7)"
28681 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:311
28682 #: ../src/guestfs-actions.pod:311
28683 msgid "guestfs_aug_defnode"
28687 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:313
28688 #: ../src/guestfs-actions.pod:313
28691 " struct guestfs_int_bool *\n"
28692 " guestfs_aug_defnode (guestfs_h *g,\n"
28693 " const char *name,\n"
28694 " const char *expr,\n"
28695 " const char *val);\n"
28700 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:322
28701 #: ../src/guestfs-actions.pod:322
28703 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
28704 "calling C<guestfs_aug_set> C<expr>, C<value>. C<name> will be the nodeset "
28705 "containing that single node."
28709 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:330
28710 #: ../src/guestfs-actions.pod:330
28712 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
28713 "an error. I<The caller must call C<guestfs_free_int_bool> after use>."
28717 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:336
28718 #: ../src/guestfs-actions.pod:336
28719 msgid "guestfs_aug_defvar"
28723 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:338
28724 #: ../src/guestfs-actions.pod:338
28728 " guestfs_aug_defvar (guestfs_h *g,\n"
28729 " const char *name,\n"
28730 " const char *expr);\n"
28735 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:354
28736 #: ../src/guestfs-actions.pod:354
28737 msgid "guestfs_aug_get"
28741 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:356
28742 #: ../src/guestfs-actions.pod:356
28746 " guestfs_aug_get (guestfs_h *g,\n"
28747 " const char *augpath);\n"
28752 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:363
28753 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:922
28754 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:940
28755 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1000
28756 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1016
28757 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1119
28758 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1249
28759 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1266
28760 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1285
28761 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1419
28762 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1607
28763 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1719
28764 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1882
28765 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1899
28766 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1966
28767 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2002
28768 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2023
28769 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2204
28770 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2396
28771 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2600
28772 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2690
28773 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2794
28774 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2813
28775 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3027
28776 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3055
28777 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3076
28778 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3110
28779 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3169
28780 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3189
28781 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3209
28782 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3836
28783 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4189
28784 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4359
28785 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4469
28786 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5375
28787 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5574
28788 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5744
28789 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5922
28790 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5971
28791 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6627
28792 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6643
28793 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6660
28794 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6691
28795 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7365
28796 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7384
28797 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7402
28798 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7576
28799 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7878
28800 #: ../src/guestfs-actions.pod:363 ../src/guestfs-actions.pod:922
28801 #: ../src/guestfs-actions.pod:940 ../src/guestfs-actions.pod:1000
28802 #: ../src/guestfs-actions.pod:1016 ../src/guestfs-actions.pod:1119
28803 #: ../src/guestfs-actions.pod:1249 ../src/guestfs-actions.pod:1266
28804 #: ../src/guestfs-actions.pod:1285 ../src/guestfs-actions.pod:1419
28805 #: ../src/guestfs-actions.pod:1607 ../src/guestfs-actions.pod:1719
28806 #: ../src/guestfs-actions.pod:1882 ../src/guestfs-actions.pod:1899
28807 #: ../src/guestfs-actions.pod:1966 ../src/guestfs-actions.pod:2002
28808 #: ../src/guestfs-actions.pod:2023 ../src/guestfs-actions.pod:2204
28809 #: ../src/guestfs-actions.pod:2396 ../src/guestfs-actions.pod:2600
28810 #: ../src/guestfs-actions.pod:2690 ../src/guestfs-actions.pod:2794
28811 #: ../src/guestfs-actions.pod:2813 ../src/guestfs-actions.pod:3027
28812 #: ../src/guestfs-actions.pod:3055 ../src/guestfs-actions.pod:3076
28813 #: ../src/guestfs-actions.pod:3110 ../src/guestfs-actions.pod:3169
28814 #: ../src/guestfs-actions.pod:3189 ../src/guestfs-actions.pod:3209
28815 #: ../src/guestfs-actions.pod:3836 ../src/guestfs-actions.pod:4189
28816 #: ../src/guestfs-actions.pod:4359 ../src/guestfs-actions.pod:4469
28817 #: ../src/guestfs-actions.pod:5375 ../src/guestfs-actions.pod:5574
28818 #: ../src/guestfs-actions.pod:5744 ../src/guestfs-actions.pod:5922
28819 #: ../src/guestfs-actions.pod:5971 ../src/guestfs-actions.pod:6627
28820 #: ../src/guestfs-actions.pod:6643 ../src/guestfs-actions.pod:6660
28821 #: ../src/guestfs-actions.pod:6691 ../src/guestfs-actions.pod:7365
28822 #: ../src/guestfs-actions.pod:7384 ../src/guestfs-actions.pod:7402
28823 #: ../src/guestfs-actions.pod:7576 ../src/guestfs-actions.pod:7878
28825 "This function returns a string, or NULL on error. I<The caller must free "
28826 "the returned string after use>."
28830 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:368
28831 #: ../src/guestfs-actions.pod:368
28832 msgid "guestfs_aug_init"
28836 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:370
28837 #: ../src/guestfs-actions.pod:370
28841 " guestfs_aug_init (guestfs_h *g,\n"
28842 " const char *root,\n"
28848 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:379
28849 #: ../src/guestfs-actions.pod:379
28850 msgid "You must call this before using any other C<guestfs_aug_*> commands."
28854 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:414
28855 #: ../src/guestfs-actions.pod:414
28856 msgid "Do not load the tree in C<guestfs_aug_init>."
28860 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:418
28861 #: ../src/guestfs-actions.pod:418
28862 msgid "To close the handle, you can call C<guestfs_aug_close>."
28866 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:426
28867 #: ../src/guestfs-actions.pod:426
28868 msgid "guestfs_aug_insert"
28872 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:428
28873 #: ../src/guestfs-actions.pod:428
28877 " guestfs_aug_insert (guestfs_h *g,\n"
28878 " const char *augpath,\n"
28879 " const char *label,\n"
28885 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:446
28886 #: ../src/guestfs-actions.pod:446
28887 msgid "guestfs_aug_load"
28891 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:448
28892 #: ../src/guestfs-actions.pod:448
28896 " guestfs_aug_load (guestfs_h *g);\n"
28901 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:460
28902 #: ../src/guestfs-actions.pod:460
28903 msgid "guestfs_aug_ls"
28907 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:462
28908 #: ../src/guestfs-actions.pod:462
28912 " guestfs_aug_ls (guestfs_h *g,\n"
28913 " const char *augpath);\n"
28918 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:466
28919 #: ../src/guestfs-actions.pod:466
28921 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
28922 "sorting the resulting nodes into alphabetical order."
28926 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:469
28927 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:485
28928 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:631
28929 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1138
28930 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1434
28931 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1453
28932 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1556
28933 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1575
28934 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1821
28935 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2276
28936 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2292
28937 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2311
28938 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2354
28939 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2378
28940 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2449
28941 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2498
28942 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2755
28943 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3129
28944 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3405
28945 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3719
28946 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3736
28947 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3756
28948 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3818
28949 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3923
28950 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4331
28951 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5098
28952 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5716
28953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5842
28954 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5956
28955 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6707
28956 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6768
28957 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6823
28958 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6969
28959 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6993
28960 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7469
28961 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7489
28962 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7536
28963 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7730
28964 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7749
28965 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7835
28966 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7854
28967 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7900
28968 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7919
28969 #: ../src/guestfs-actions.pod:469 ../src/guestfs-actions.pod:485
28970 #: ../src/guestfs-actions.pod:631 ../src/guestfs-actions.pod:1138
28971 #: ../src/guestfs-actions.pod:1434 ../src/guestfs-actions.pod:1453
28972 #: ../src/guestfs-actions.pod:1556 ../src/guestfs-actions.pod:1575
28973 #: ../src/guestfs-actions.pod:1821 ../src/guestfs-actions.pod:2276
28974 #: ../src/guestfs-actions.pod:2292 ../src/guestfs-actions.pod:2311
28975 #: ../src/guestfs-actions.pod:2354 ../src/guestfs-actions.pod:2378
28976 #: ../src/guestfs-actions.pod:2449 ../src/guestfs-actions.pod:2498
28977 #: ../src/guestfs-actions.pod:2755 ../src/guestfs-actions.pod:3129
28978 #: ../src/guestfs-actions.pod:3405 ../src/guestfs-actions.pod:3719
28979 #: ../src/guestfs-actions.pod:3736 ../src/guestfs-actions.pod:3756
28980 #: ../src/guestfs-actions.pod:3818 ../src/guestfs-actions.pod:3923
28981 #: ../src/guestfs-actions.pod:4331 ../src/guestfs-actions.pod:5098
28982 #: ../src/guestfs-actions.pod:5716 ../src/guestfs-actions.pod:5842
28983 #: ../src/guestfs-actions.pod:5956 ../src/guestfs-actions.pod:6707
28984 #: ../src/guestfs-actions.pod:6768 ../src/guestfs-actions.pod:6823
28985 #: ../src/guestfs-actions.pod:6969 ../src/guestfs-actions.pod:6993
28986 #: ../src/guestfs-actions.pod:7469 ../src/guestfs-actions.pod:7489
28987 #: ../src/guestfs-actions.pod:7536 ../src/guestfs-actions.pod:7730
28988 #: ../src/guestfs-actions.pod:7749 ../src/guestfs-actions.pod:7835
28989 #: ../src/guestfs-actions.pod:7854 ../src/guestfs-actions.pod:7900
28990 #: ../src/guestfs-actions.pod:7919
28992 "This function returns a NULL-terminated array of strings (like L<environ(3)"
28993 ">), or NULL if there was an error. I<The caller must free the strings and "
28994 "the array after use>."
28998 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:473
28999 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1063
29000 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1081
29001 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1491
29002 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3483
29003 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3514
29004 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4172
29005 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4222
29006 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4409
29007 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4442
29008 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4605
29009 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5102
29010 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5657
29011 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6054
29012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6068
29013 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6080
29014 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6548
29015 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7207
29016 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7220
29017 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7453
29018 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7718
29019 #: ../src/guestfs-actions.pod:473 ../src/guestfs-actions.pod:1063
29020 #: ../src/guestfs-actions.pod:1081 ../src/guestfs-actions.pod:1491
29021 #: ../src/guestfs-actions.pod:3483 ../src/guestfs-actions.pod:3514
29022 #: ../src/guestfs-actions.pod:4172 ../src/guestfs-actions.pod:4222
29023 #: ../src/guestfs-actions.pod:4409 ../src/guestfs-actions.pod:4442
29024 #: ../src/guestfs-actions.pod:4605 ../src/guestfs-actions.pod:5102
29025 #: ../src/guestfs-actions.pod:5657 ../src/guestfs-actions.pod:6054
29026 #: ../src/guestfs-actions.pod:6068 ../src/guestfs-actions.pod:6080
29027 #: ../src/guestfs-actions.pod:6548 ../src/guestfs-actions.pod:7207
29028 #: ../src/guestfs-actions.pod:7220 ../src/guestfs-actions.pod:7453
29029 #: ../src/guestfs-actions.pod:7718
29030 msgid "(Added in 0.8)"
29034 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:475
29035 #: ../src/guestfs-actions.pod:475
29036 msgid "guestfs_aug_match"
29040 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:477
29041 #: ../src/guestfs-actions.pod:477
29045 " guestfs_aug_match (guestfs_h *g,\n"
29046 " const char *augpath);\n"
29051 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:491
29052 #: ../src/guestfs-actions.pod:491
29053 msgid "guestfs_aug_mv"
29057 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:493
29058 #: ../src/guestfs-actions.pod:493
29062 " guestfs_aug_mv (guestfs_h *g,\n"
29063 " const char *src,\n"
29064 " const char *dest);\n"
29069 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:505
29070 #: ../src/guestfs-actions.pod:505
29071 msgid "guestfs_aug_rm"
29075 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:507
29076 #: ../src/guestfs-actions.pod:507
29080 " guestfs_aug_rm (guestfs_h *g,\n"
29081 " const char *augpath);\n"
29086 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:519
29087 #: ../src/guestfs-actions.pod:519
29088 msgid "guestfs_aug_save"
29092 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:521
29093 #: ../src/guestfs-actions.pod:521
29097 " guestfs_aug_save (guestfs_h *g);\n"
29102 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:526
29103 #: ../src/guestfs-actions.pod:526
29105 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
29110 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:533
29111 #: ../src/guestfs-actions.pod:533
29112 msgid "guestfs_aug_set"
29116 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:535
29117 #: ../src/guestfs-actions.pod:535
29121 " guestfs_aug_set (guestfs_h *g,\n"
29122 " const char *augpath,\n"
29123 " const char *val);\n"
29128 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:542
29129 #: ../src/guestfs-actions.pod:542
29131 "In the Augeas API, it is possible to clear a node by setting the value to "
29132 "NULL. Due to an oversight in the libguestfs API you cannot do that with "
29133 "this call. Instead you must use the C<guestfs_aug_clear> call."
29137 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:551
29138 #: ../src/guestfs-actions.pod:551
29139 msgid "guestfs_available"
29143 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:553
29144 #: ../src/guestfs-actions.pod:553
29148 " guestfs_available (guestfs_h *g,\n"
29149 " char *const *groups);\n"
29154 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:561
29155 #: ../src/guestfs-actions.pod:561
29157 "The libguestfs groups, and the functions that those groups correspond to, "
29158 "are listed in L<guestfs(3)/AVAILABILITY>. You can also fetch this list at "
29159 "runtime by calling C<guestfs_available_all_groups>."
29163 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:585
29164 #: ../src/guestfs-actions.pod:585
29165 msgid "You must call C<guestfs_launch> before calling this function."
29169 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:607
29170 #: ../src/guestfs-actions.pod:607
29172 "This call was added in version C<1.0.80>. In previous versions of "
29173 "libguestfs all you could do would be to speculatively execute a command to "
29174 "find out if the daemon implemented it. See also C<guestfs_version>."
29178 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:616
29179 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1236
29180 #: ../src/guestfs-actions.pod:616 ../src/guestfs-actions.pod:1236
29181 msgid "(Added in 1.0.80)"
29185 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:618
29186 #: ../src/guestfs-actions.pod:618
29187 msgid "guestfs_available_all_groups"
29191 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:620
29192 #: ../src/guestfs-actions.pod:620
29196 " guestfs_available_all_groups (guestfs_h *g);\n"
29201 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:623
29202 #: ../src/guestfs-actions.pod:623
29204 "This command returns a list of all optional groups that this daemon knows "
29205 "about. Note this returns both supported and unsupported groups. To find "
29206 "out which ones the daemon can actually support you have to call "
29207 "C<guestfs_available> on each member of the returned list."
29211 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:629
29212 #: ../src/guestfs-actions.pod:629
29213 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
29217 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:635
29218 #: ../src/guestfs-actions.pod:635
29219 msgid "(Added in 1.3.15)"
29223 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:637
29224 #: ../src/guestfs-actions.pod:637
29225 msgid "guestfs_base64_in"
29229 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:639
29230 #: ../src/guestfs-actions.pod:639
29234 " guestfs_base64_in (guestfs_h *g,\n"
29235 " const char *base64file,\n"
29236 " const char *filename);\n"
29241 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:649
29242 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:663
29243 #: ../src/guestfs-actions.pod:649 ../src/guestfs-actions.pod:663
29244 msgid "(Added in 1.3.5)"
29248 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:651
29249 #: ../src/guestfs-actions.pod:651
29250 msgid "guestfs_base64_out"
29254 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:653
29255 #: ../src/guestfs-actions.pod:653
29259 " guestfs_base64_out (guestfs_h *g,\n"
29260 " const char *filename,\n"
29261 " const char *base64file);\n"
29266 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:665
29267 #: ../src/guestfs-actions.pod:665
29268 msgid "guestfs_blockdev_flushbufs"
29272 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:667
29273 #: ../src/guestfs-actions.pod:667
29277 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
29278 " const char *device);\n"
29283 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:678
29284 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:695
29285 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:710
29286 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:726
29287 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:744
29288 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:763
29289 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:777
29290 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:795
29291 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:809
29292 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:823
29293 #: ../src/guestfs-actions.pod:678 ../src/guestfs-actions.pod:695
29294 #: ../src/guestfs-actions.pod:710 ../src/guestfs-actions.pod:726
29295 #: ../src/guestfs-actions.pod:744 ../src/guestfs-actions.pod:763
29296 #: ../src/guestfs-actions.pod:777 ../src/guestfs-actions.pod:795
29297 #: ../src/guestfs-actions.pod:809 ../src/guestfs-actions.pod:823
29298 msgid "(Added in 0.9.3)"
29302 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:680
29303 #: ../src/guestfs-actions.pod:680
29304 msgid "guestfs_blockdev_getbsz"
29308 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:682
29309 #: ../src/guestfs-actions.pod:682
29313 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
29314 " const char *device);\n"
29319 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:697
29320 #: ../src/guestfs-actions.pod:697
29321 msgid "guestfs_blockdev_getro"
29325 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:699
29326 #: ../src/guestfs-actions.pod:699
29330 " guestfs_blockdev_getro (guestfs_h *g,\n"
29331 " const char *device);\n"
29336 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:708
29337 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1474
29338 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1489
29339 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1978
29340 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1989
29341 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2061
29342 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2087
29343 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2127
29344 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2142
29345 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2167
29346 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2190
29347 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3226
29348 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3242
29349 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3260
29350 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3422
29351 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3436
29352 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3451
29353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3465
29354 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3481
29355 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3496
29356 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3512
29357 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3526
29358 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3539
29359 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3553
29360 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3568
29361 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3583
29362 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3596
29363 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3610
29364 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5339
29365 #: ../src/guestfs-actions.pod:708 ../src/guestfs-actions.pod:1474
29366 #: ../src/guestfs-actions.pod:1489 ../src/guestfs-actions.pod:1978
29367 #: ../src/guestfs-actions.pod:1989 ../src/guestfs-actions.pod:2061
29368 #: ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2127
29369 #: ../src/guestfs-actions.pod:2142 ../src/guestfs-actions.pod:2167
29370 #: ../src/guestfs-actions.pod:2190 ../src/guestfs-actions.pod:3226
29371 #: ../src/guestfs-actions.pod:3242 ../src/guestfs-actions.pod:3260
29372 #: ../src/guestfs-actions.pod:3422 ../src/guestfs-actions.pod:3436
29373 #: ../src/guestfs-actions.pod:3451 ../src/guestfs-actions.pod:3465
29374 #: ../src/guestfs-actions.pod:3481 ../src/guestfs-actions.pod:3496
29375 #: ../src/guestfs-actions.pod:3512 ../src/guestfs-actions.pod:3526
29376 #: ../src/guestfs-actions.pod:3539 ../src/guestfs-actions.pod:3553
29377 #: ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3583
29378 #: ../src/guestfs-actions.pod:3596 ../src/guestfs-actions.pod:3610
29379 #: ../src/guestfs-actions.pod:5339
29380 msgid "This function returns a C truth value on success or -1 on error."
29384 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:712
29385 #: ../src/guestfs-actions.pod:712
29386 msgid "guestfs_blockdev_getsize64"
29390 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:714
29391 #: ../src/guestfs-actions.pod:714
29395 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
29396 " const char *device);\n"
29401 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:720
29402 #: ../src/guestfs-actions.pod:720
29403 msgid "See also C<guestfs_blockdev_getsz>."
29407 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:728
29408 #: ../src/guestfs-actions.pod:728
29409 msgid "guestfs_blockdev_getss"
29413 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:730
29414 #: ../src/guestfs-actions.pod:730
29418 " guestfs_blockdev_getss (guestfs_h *g,\n"
29419 " const char *device);\n"
29424 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:737
29425 #: ../src/guestfs-actions.pod:737
29427 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
29432 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:746
29433 #: ../src/guestfs-actions.pod:746
29434 msgid "guestfs_blockdev_getsz"
29438 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:748
29439 #: ../src/guestfs-actions.pod:748
29443 " guestfs_blockdev_getsz (guestfs_h *g,\n"
29444 " const char *device);\n"
29449 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:755
29450 #: ../src/guestfs-actions.pod:755
29452 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
29453 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
29457 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:765
29458 #: ../src/guestfs-actions.pod:765
29459 msgid "guestfs_blockdev_rereadpt"
29463 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:767
29464 #: ../src/guestfs-actions.pod:767
29468 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
29469 " const char *device);\n"
29474 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:779
29475 #: ../src/guestfs-actions.pod:779
29476 msgid "guestfs_blockdev_setbsz"
29480 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:781
29481 #: ../src/guestfs-actions.pod:781
29485 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
29486 " const char *device,\n"
29487 " int blocksize);\n"
29492 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:797
29493 #: ../src/guestfs-actions.pod:797
29494 msgid "guestfs_blockdev_setro"
29498 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:799
29499 #: ../src/guestfs-actions.pod:799
29503 " guestfs_blockdev_setro (guestfs_h *g,\n"
29504 " const char *device);\n"
29509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:811
29510 #: ../src/guestfs-actions.pod:811
29511 msgid "guestfs_blockdev_setrw"
29515 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:813
29516 #: ../src/guestfs-actions.pod:813
29520 " guestfs_blockdev_setrw (guestfs_h *g,\n"
29521 " const char *device);\n"
29526 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:825
29527 #: ../src/guestfs-actions.pod:825
29528 msgid "guestfs_btrfs_filesystem_resize"
29532 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:827
29533 #: ../src/guestfs-actions.pod:827
29537 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
29538 " const char *mountpoint,\n"
29544 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:837
29545 #: ../src/guestfs-actions.pod:837
29548 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
29553 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:860
29554 #: ../src/guestfs-actions.pod:860
29555 msgid "(Added in 1.11.17)"
29559 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:862
29560 #: ../src/guestfs-actions.pod:862
29561 msgid "guestfs_btrfs_filesystem_resize_va"
29565 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:864
29566 #: ../src/guestfs-actions.pod:864
29570 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
29571 " const char *mountpoint,\n"
29572 " va_list args);\n"
29577 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:869
29578 #: ../src/guestfs-actions.pod:869
29579 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
29583 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:873
29584 #: ../src/guestfs-actions.pod:873
29585 msgid "guestfs_btrfs_filesystem_resize_argv"
29589 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:875
29590 #: ../src/guestfs-actions.pod:875
29594 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
29595 " const char *mountpoint,\n"
29596 " const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
29601 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:880
29602 #: ../src/guestfs-actions.pod:880
29603 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
29607 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:884
29608 #: ../src/guestfs-actions.pod:884
29609 msgid "guestfs_case_sensitive_path"
29613 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:886
29614 #: ../src/guestfs-actions.pod:886
29618 " guestfs_case_sensitive_path (guestfs_h *g,\n"
29619 " const char *path);\n"
29624 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:912
29625 #: ../src/guestfs-actions.pod:912
29627 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\") might return C<"
29628 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
29629 "how the directories were originally created under Windows)."
29633 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:920
29634 #: ../src/guestfs-actions.pod:920
29635 msgid "See also C<guestfs_realpath>."
29639 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:925
29640 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7387
29641 #: ../src/guestfs-actions.pod:925 ../src/guestfs-actions.pod:7387
29642 msgid "(Added in 1.0.75)"
29646 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:927
29647 #: ../src/guestfs-actions.pod:927
29648 msgid "guestfs_cat"
29652 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:929
29653 #: ../src/guestfs-actions.pod:929
29657 " guestfs_cat (guestfs_h *g,\n"
29658 " const char *path);\n"
29663 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:935
29664 #: ../src/guestfs-actions.pod:935
29666 "Note that this function cannot correctly handle binary files (specifically, "
29667 "files containing C<\\0> character which is treated as end of string). For "
29668 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
29669 "functions which have a more complex interface."
29673 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:946
29674 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3740
29675 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3822
29676 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3839
29677 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3927
29678 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4335
29679 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4349
29680 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5720
29681 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5734
29682 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7540
29683 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7554
29684 #: ../src/guestfs-actions.pod:946 ../src/guestfs-actions.pod:3740
29685 #: ../src/guestfs-actions.pod:3822 ../src/guestfs-actions.pod:3839
29686 #: ../src/guestfs-actions.pod:3927 ../src/guestfs-actions.pod:4335
29687 #: ../src/guestfs-actions.pod:4349 ../src/guestfs-actions.pod:5720
29688 #: ../src/guestfs-actions.pod:5734 ../src/guestfs-actions.pod:7540
29689 #: ../src/guestfs-actions.pod:7554
29690 msgid "(Added in 0.4)"
29694 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:948
29695 #: ../src/guestfs-actions.pod:948
29696 msgid "guestfs_checksum"
29700 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:950
29701 #: ../src/guestfs-actions.pod:950
29705 " guestfs_checksum (guestfs_h *g,\n"
29706 " const char *csumtype,\n"
29707 " const char *path);\n"
29712 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:996
29713 #: ../src/guestfs-actions.pod:996
29714 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
29718 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:998
29719 #: ../src/guestfs-actions.pod:998
29720 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
29724 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1003
29725 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1311
29726 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2158
29727 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3438
29728 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3467
29729 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3528
29730 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3555
29731 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7243
29732 #: ../src/guestfs-actions.pod:1003 ../src/guestfs-actions.pod:1311
29733 #: ../src/guestfs-actions.pod:2158 ../src/guestfs-actions.pod:3438
29734 #: ../src/guestfs-actions.pod:3467 ../src/guestfs-actions.pod:3528
29735 #: ../src/guestfs-actions.pod:3555 ../src/guestfs-actions.pod:7243
29736 msgid "(Added in 1.0.2)"
29740 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1005
29741 #: ../src/guestfs-actions.pod:1005
29742 msgid "guestfs_checksum_device"
29746 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1007
29747 #: ../src/guestfs-actions.pod:1007
29751 " guestfs_checksum_device (guestfs_h *g,\n"
29752 " const char *csumtype,\n"
29753 " const char *device);\n"
29758 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1012
29759 #: ../src/guestfs-actions.pod:1012
29761 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
29762 "device named C<device>. For the types of checksums supported see the "
29763 "C<guestfs_checksum> command."
29767 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1019
29768 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5169
29769 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5304
29770 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5341
29771 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5359
29772 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5541
29773 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7152
29774 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7166
29775 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7566
29776 #: ../src/guestfs-actions.pod:1019 ../src/guestfs-actions.pod:5169
29777 #: ../src/guestfs-actions.pod:5304 ../src/guestfs-actions.pod:5341
29778 #: ../src/guestfs-actions.pod:5359 ../src/guestfs-actions.pod:5541
29779 #: ../src/guestfs-actions.pod:7152 ../src/guestfs-actions.pod:7166
29780 #: ../src/guestfs-actions.pod:7566
29781 msgid "(Added in 1.3.2)"
29785 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1021
29786 #: ../src/guestfs-actions.pod:1021
29787 msgid "guestfs_checksums_out"
29791 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1023
29792 #: ../src/guestfs-actions.pod:1023
29796 " guestfs_checksums_out (guestfs_h *g,\n"
29797 " const char *csumtype,\n"
29798 " const char *directory,\n"
29799 " const char *sumsfile);\n"
29804 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1043
29805 #: ../src/guestfs-actions.pod:1043
29806 msgid "(Added in 1.3.7)"
29810 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1045
29811 #: ../src/guestfs-actions.pod:1045
29812 msgid "guestfs_chmod"
29816 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1047
29817 #: ../src/guestfs-actions.pod:1047
29821 " guestfs_chmod (guestfs_h *g,\n"
29823 " const char *path);\n"
29828 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1065
29829 #: ../src/guestfs-actions.pod:1065
29830 msgid "guestfs_chown"
29834 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1067
29835 #: ../src/guestfs-actions.pod:1067
29839 " guestfs_chown (guestfs_h *g,\n"
29842 " const char *path);\n"
29847 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1083
29848 #: ../src/guestfs-actions.pod:1083
29849 msgid "guestfs_command"
29853 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1085
29854 #: ../src/guestfs-actions.pod:1085
29858 " guestfs_command (guestfs_h *g,\n"
29859 " char *const *arguments);\n"
29864 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1094
29865 #: ../src/guestfs-actions.pod:1094
29867 "The single parameter is an argv-style list of arguments. The first element "
29868 "is the name of the program to run. Subsequent elements are parameters. The "
29869 "list must be non-empty (ie. must contain a program name). Note that the "
29870 "command runs directly, and is I<not> invoked via the shell (see "
29875 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1125
29876 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1145
29877 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1610
29878 #: ../src/guestfs-actions.pod:1125 ../src/guestfs-actions.pod:1145
29879 #: ../src/guestfs-actions.pod:1610
29880 msgid "(Added in 0.9.1)"
29884 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1127
29885 #: ../src/guestfs-actions.pod:1127
29886 msgid "guestfs_command_lines"
29890 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1129
29891 #: ../src/guestfs-actions.pod:1129
29895 " guestfs_command_lines (guestfs_h *g,\n"
29896 " char *const *arguments);\n"
29901 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1133
29902 #: ../src/guestfs-actions.pod:1133
29904 "This is the same as C<guestfs_command>, but splits the result into a list of "
29909 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1136
29910 #: ../src/guestfs-actions.pod:1136
29911 msgid "See also: C<guestfs_sh_lines>"
29915 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1147
29916 #: ../src/guestfs-actions.pod:1147
29917 msgid "guestfs_config"
29921 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1149
29922 #: ../src/guestfs-actions.pod:1149
29926 " guestfs_config (guestfs_h *g,\n"
29927 " const char *qemuparam,\n"
29928 " const char *qemuvalue);\n"
29933 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1167
29934 #: ../src/guestfs-actions.pod:1167
29935 msgid "guestfs_copy_size"
29939 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1169
29940 #: ../src/guestfs-actions.pod:1169
29944 " guestfs_copy_size (guestfs_h *g,\n"
29945 " const char *src,\n"
29946 " const char *dest,\n"
29947 " int64_t size);\n"
29952 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1183
29953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1306
29954 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1337
29955 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1382
29956 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1759
29957 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1781
29958 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3638
29959 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7238
29960 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7272
29961 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7775
29962 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7794
29963 #: ../src/guestfs-actions.pod:1183 ../src/guestfs-actions.pod:1306
29964 #: ../src/guestfs-actions.pod:1337 ../src/guestfs-actions.pod:1382
29965 #: ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:1781
29966 #: ../src/guestfs-actions.pod:3638 ../src/guestfs-actions.pod:7238
29967 #: ../src/guestfs-actions.pod:7272 ../src/guestfs-actions.pod:7775
29968 #: ../src/guestfs-actions.pod:7794
29970 "This long-running command can generate progress notification messages so "
29971 "that the caller can display a progress bar or indicator. To receive these "
29972 "messages, the caller must register a progress event callback. See L<guestfs"
29973 "(3)/GUESTFS_EVENT_PROGRESS>."
29977 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1188
29978 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4362
29979 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5747
29980 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7473
29981 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7493
29982 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7579
29983 #: ../src/guestfs-actions.pod:1188 ../src/guestfs-actions.pod:4362
29984 #: ../src/guestfs-actions.pod:5747 ../src/guestfs-actions.pod:7473
29985 #: ../src/guestfs-actions.pod:7493 ../src/guestfs-actions.pod:7579
29986 msgid "(Added in 1.0.87)"
29990 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1190
29991 #: ../src/guestfs-actions.pod:1190
29996 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1192
29997 #: ../src/guestfs-actions.pod:1192
30001 " guestfs_cp (guestfs_h *g,\n"
30002 " const char *src,\n"
30003 " const char *dest);\n"
30008 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1202
30009 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1216
30010 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1288
30011 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1362
30012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1476
30013 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5116
30014 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5591
30015 #: ../src/guestfs-actions.pod:1202 ../src/guestfs-actions.pod:1216
30016 #: ../src/guestfs-actions.pod:1288 ../src/guestfs-actions.pod:1362
30017 #: ../src/guestfs-actions.pod:1476 ../src/guestfs-actions.pod:5116
30018 #: ../src/guestfs-actions.pod:5591
30019 msgid "(Added in 1.0.18)"
30023 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1204
30024 #: ../src/guestfs-actions.pod:1204
30025 msgid "guestfs_cp_a"
30029 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1206
30030 #: ../src/guestfs-actions.pod:1206
30034 " guestfs_cp_a (guestfs_h *g,\n"
30035 " const char *src,\n"
30036 " const char *dest);\n"
30041 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1218
30042 #: ../src/guestfs-actions.pod:1218
30047 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1220
30048 #: ../src/guestfs-actions.pod:1220
30052 " guestfs_dd (guestfs_h *g,\n"
30053 " const char *src,\n"
30054 " const char *dest);\n"
30059 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1230
30060 #: ../src/guestfs-actions.pod:1230
30062 "If the destination is a device, it must be as large or larger than the "
30063 "source file or device, otherwise the copy will fail. This command cannot do "
30064 "partial copies (see C<guestfs_copy_size>)."
30068 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1238
30069 #: ../src/guestfs-actions.pod:1238
30074 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1240
30075 #: ../src/guestfs-actions.pod:1240
30079 " guestfs_df (guestfs_h *g);\n"
30084 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1245
30085 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1262
30086 #: ../src/guestfs-actions.pod:1245 ../src/guestfs-actions.pod:1262
30088 "This command is mostly useful for interactive sessions. It is I<not> "
30089 "intended that you try to parse the output string. Use C<guestfs_statvfs> "
30094 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1252
30095 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1269
30096 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1387
30097 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2361
30098 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2385
30099 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2453
30100 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4472
30101 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5016
30102 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6976
30103 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7000
30104 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7619
30105 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7632
30106 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7645
30107 #: ../src/guestfs-actions.pod:1252 ../src/guestfs-actions.pod:1269
30108 #: ../src/guestfs-actions.pod:1387 ../src/guestfs-actions.pod:2361
30109 #: ../src/guestfs-actions.pod:2385 ../src/guestfs-actions.pod:2453
30110 #: ../src/guestfs-actions.pod:4472 ../src/guestfs-actions.pod:5016
30111 #: ../src/guestfs-actions.pod:6976 ../src/guestfs-actions.pod:7000
30112 #: ../src/guestfs-actions.pod:7619 ../src/guestfs-actions.pod:7632
30113 #: ../src/guestfs-actions.pod:7645
30114 msgid "(Added in 1.0.54)"
30118 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1254
30119 #: ../src/guestfs-actions.pod:1254
30120 msgid "guestfs_df_h"
30124 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1256
30125 #: ../src/guestfs-actions.pod:1256
30129 " guestfs_df_h (guestfs_h *g);\n"
30134 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1271
30135 #: ../src/guestfs-actions.pod:1271
30136 msgid "guestfs_dmesg"
30140 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1273
30141 #: ../src/guestfs-actions.pod:1273
30145 " guestfs_dmesg (guestfs_h *g);\n"
30150 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1280
30151 #: ../src/guestfs-actions.pod:1280
30153 "Another way to get the same information is to enable verbose messages with "
30154 "C<guestfs_set_verbose> or by setting the environment variable "
30155 "C<LIBGUESTFS_DEBUG=1> before running the program."
30159 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1290
30160 #: ../src/guestfs-actions.pod:1290
30161 msgid "guestfs_download"
30165 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1292
30166 #: ../src/guestfs-actions.pod:1292
30170 " guestfs_download (guestfs_h *g,\n"
30171 " const char *remotefilename,\n"
30172 " const char *filename);\n"
30177 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1302
30178 #: ../src/guestfs-actions.pod:1302
30179 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
30183 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1313
30184 #: ../src/guestfs-actions.pod:1313
30185 msgid "guestfs_download_offset"
30189 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1315
30190 #: ../src/guestfs-actions.pod:1315
30194 " guestfs_download_offset (guestfs_h *g,\n"
30195 " const char *remotefilename,\n"
30196 " const char *filename,\n"
30197 " int64_t offset,\n"
30198 " int64_t size);\n"
30203 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1328
30204 #: ../src/guestfs-actions.pod:1328
30206 "Note that there is no limit on the amount of data that can be downloaded "
30207 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
30208 "full amount unless an error occurs."
30212 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1333
30213 #: ../src/guestfs-actions.pod:1333
30214 msgid "See also C<guestfs_download>, C<guestfs_pread>."
30218 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1342
30219 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7277
30220 #: ../src/guestfs-actions.pod:1342 ../src/guestfs-actions.pod:7277
30221 msgid "(Added in 1.5.17)"
30225 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1344
30226 #: ../src/guestfs-actions.pod:1344
30227 msgid "guestfs_drop_caches"
30231 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1346
30232 #: ../src/guestfs-actions.pod:1346
30236 " guestfs_drop_caches (guestfs_h *g,\n"
30237 " int whattodrop);\n"
30242 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1364
30243 #: ../src/guestfs-actions.pod:1364
30248 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1366
30249 #: ../src/guestfs-actions.pod:1366
30253 " guestfs_du (guestfs_h *g,\n"
30254 " const char *path);\n"
30259 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1389
30260 #: ../src/guestfs-actions.pod:1389
30261 msgid "guestfs_e2fsck_f"
30265 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1391
30266 #: ../src/guestfs-actions.pod:1391
30270 " guestfs_e2fsck_f (guestfs_h *g,\n"
30271 " const char *device);\n"
30276 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1399
30277 #: ../src/guestfs-actions.pod:1399
30279 "This command is only needed because of C<guestfs_resize2fs> (q.v.). "
30280 "Normally you should use C<guestfs_fsck>."
30284 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1404
30285 #: ../src/guestfs-actions.pod:1404
30286 msgid "(Added in 1.0.29)"
30290 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1406
30291 #: ../src/guestfs-actions.pod:1406
30292 msgid "guestfs_echo_daemon"
30296 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1408
30297 #: ../src/guestfs-actions.pod:1408
30301 " guestfs_echo_daemon (guestfs_h *g,\n"
30302 " char *const *words);\n"
30307 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1417
30308 #: ../src/guestfs-actions.pod:1417
30309 msgid "See also C<guestfs_ping_daemon>."
30313 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1422
30314 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2169
30315 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6448
30316 #: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:2169
30317 #: ../src/guestfs-actions.pod:6448
30318 msgid "(Added in 1.0.69)"
30322 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1424
30323 #: ../src/guestfs-actions.pod:1424
30324 msgid "guestfs_egrep"
30328 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1426
30329 #: ../src/guestfs-actions.pod:1426
30333 " guestfs_egrep (guestfs_h *g,\n"
30334 " const char *regex,\n"
30335 " const char *path);\n"
30340 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1441
30341 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1460
30342 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1517
30343 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1563
30344 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1582
30345 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2299
30346 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2318
30347 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2474
30348 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2487
30349 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2502
30350 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2548
30351 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2570
30352 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2583
30353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3852
30354 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3866
30355 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3879
30356 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3893
30357 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4894
30358 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5925
30359 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5974
30360 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6844
30361 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6856
30362 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6869
30363 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6882
30364 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6904
30365 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6917
30366 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6930
30367 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6943
30368 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7737
30369 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7756
30370 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7842
30371 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7861
30372 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7907
30373 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7926
30374 #: ../src/guestfs-actions.pod:1441 ../src/guestfs-actions.pod:1460
30375 #: ../src/guestfs-actions.pod:1517 ../src/guestfs-actions.pod:1563
30376 #: ../src/guestfs-actions.pod:1582 ../src/guestfs-actions.pod:2299
30377 #: ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2474
30378 #: ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2502
30379 #: ../src/guestfs-actions.pod:2548 ../src/guestfs-actions.pod:2570
30380 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:3852
30381 #: ../src/guestfs-actions.pod:3866 ../src/guestfs-actions.pod:3879
30382 #: ../src/guestfs-actions.pod:3893 ../src/guestfs-actions.pod:4894
30383 #: ../src/guestfs-actions.pod:5925 ../src/guestfs-actions.pod:5974
30384 #: ../src/guestfs-actions.pod:6844 ../src/guestfs-actions.pod:6856
30385 #: ../src/guestfs-actions.pod:6869 ../src/guestfs-actions.pod:6882
30386 #: ../src/guestfs-actions.pod:6904 ../src/guestfs-actions.pod:6917
30387 #: ../src/guestfs-actions.pod:6930 ../src/guestfs-actions.pod:6943
30388 #: ../src/guestfs-actions.pod:7737 ../src/guestfs-actions.pod:7756
30389 #: ../src/guestfs-actions.pod:7842 ../src/guestfs-actions.pod:7861
30390 #: ../src/guestfs-actions.pod:7907 ../src/guestfs-actions.pod:7926
30391 msgid "(Added in 1.0.66)"
30395 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1443
30396 #: ../src/guestfs-actions.pod:1443
30397 msgid "guestfs_egrepi"
30401 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1445
30402 #: ../src/guestfs-actions.pod:1445
30406 " guestfs_egrepi (guestfs_h *g,\n"
30407 " const char *regex,\n"
30408 " const char *path);\n"
30413 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1462
30414 #: ../src/guestfs-actions.pod:1462
30415 msgid "guestfs_equal"
30419 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1464
30420 #: ../src/guestfs-actions.pod:1464
30424 " guestfs_equal (guestfs_h *g,\n"
30425 " const char *file1,\n"
30426 " const char *file2);\n"
30431 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1478
30432 #: ../src/guestfs-actions.pod:1478
30433 msgid "guestfs_exists"
30437 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1480
30438 #: ../src/guestfs-actions.pod:1480
30442 " guestfs_exists (guestfs_h *g,\n"
30443 " const char *path);\n"
30448 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1487
30449 #: ../src/guestfs-actions.pod:1487
30450 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
30454 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1493
30455 #: ../src/guestfs-actions.pod:1493
30456 msgid "guestfs_fallocate"
30460 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1495
30461 #: ../src/guestfs-actions.pod:1495
30465 " guestfs_fallocate (guestfs_h *g,\n"
30466 " const char *path,\n"
30472 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1519
30473 #: ../src/guestfs-actions.pod:1519
30474 msgid "guestfs_fallocate64"
30478 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1521
30479 #: ../src/guestfs-actions.pod:1521
30483 " guestfs_fallocate64 (guestfs_h *g,\n"
30484 " const char *path,\n"
30490 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1530
30491 #: ../src/guestfs-actions.pod:1530
30493 "Note that this call allocates disk blocks for the file. To create a sparse "
30494 "file use C<guestfs_truncate_size> instead."
30498 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1533
30499 #: ../src/guestfs-actions.pod:1533
30501 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
30502 "oversight it only allowed 30 bit lengths to be specified, effectively "
30503 "limiting the maximum size of files created through that call to 1GB."
30507 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1544
30508 #: ../src/guestfs-actions.pod:1544
30509 msgid "(Added in 1.3.17)"
30513 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1546
30514 #: ../src/guestfs-actions.pod:1546
30515 msgid "guestfs_fgrep"
30519 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1548
30520 #: ../src/guestfs-actions.pod:1548
30524 " guestfs_fgrep (guestfs_h *g,\n"
30525 " const char *pattern,\n"
30526 " const char *path);\n"
30531 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1565
30532 #: ../src/guestfs-actions.pod:1565
30533 msgid "guestfs_fgrepi"
30537 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1567
30538 #: ../src/guestfs-actions.pod:1567
30542 " guestfs_fgrepi (guestfs_h *g,\n"
30543 " const char *pattern,\n"
30544 " const char *path);\n"
30549 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1584
30550 #: ../src/guestfs-actions.pod:1584
30551 msgid "guestfs_file"
30555 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1586
30556 #: ../src/guestfs-actions.pod:1586
30560 " guestfs_file (guestfs_h *g,\n"
30561 " const char *path);\n"
30566 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1604
30567 #: ../src/guestfs-actions.pod:1604
30569 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
30570 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
30574 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1612
30575 #: ../src/guestfs-actions.pod:1612
30576 msgid "guestfs_file_architecture"
30580 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1614
30581 #: ../src/guestfs-actions.pod:1614
30585 " guestfs_file_architecture (guestfs_h *g,\n"
30586 " const char *filename);\n"
30591 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1722
30592 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1885
30593 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1902
30594 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2603
30595 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2693
30596 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2759
30597 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2946
30598 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2964
30599 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3004
30600 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3079
30601 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3172
30602 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3409
30603 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3541
30604 #: ../src/guestfs-actions.pod:1722 ../src/guestfs-actions.pod:1885
30605 #: ../src/guestfs-actions.pod:1902 ../src/guestfs-actions.pod:2603
30606 #: ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2759
30607 #: ../src/guestfs-actions.pod:2946 ../src/guestfs-actions.pod:2964
30608 #: ../src/guestfs-actions.pod:3004 ../src/guestfs-actions.pod:3079
30609 #: ../src/guestfs-actions.pod:3172 ../src/guestfs-actions.pod:3409
30610 #: ../src/guestfs-actions.pod:3541
30611 msgid "(Added in 1.5.3)"
30615 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1724
30616 #: ../src/guestfs-actions.pod:1724
30617 msgid "guestfs_filesize"
30621 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1726
30622 #: ../src/guestfs-actions.pod:1726
30626 " guestfs_filesize (guestfs_h *g,\n"
30627 " const char *file);\n"
30632 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1732
30633 #: ../src/guestfs-actions.pod:1732
30635 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
30636 "C<guestfs_is_dir>, C<guestfs_is_file> etc. To get the size of block "
30637 "devices, use C<guestfs_blockdev_getsize64>."
30641 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1738
30642 #: ../src/guestfs-actions.pod:1738
30643 msgid "(Added in 1.0.82)"
30647 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1740
30648 #: ../src/guestfs-actions.pod:1740
30649 msgid "guestfs_fill"
30653 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1742
30654 #: ../src/guestfs-actions.pod:1742
30658 " guestfs_fill (guestfs_h *g,\n"
30661 " const char *path);\n"
30666 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1752
30667 #: ../src/guestfs-actions.pod:1752
30669 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
30670 "C<guestfs_truncate_size>. To create a file with a pattern of repeating "
30671 "bytes use C<guestfs_fill_pattern>."
30675 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1764
30676 #: ../src/guestfs-actions.pod:1764
30677 msgid "(Added in 1.0.79)"
30681 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1766
30682 #: ../src/guestfs-actions.pod:1766
30683 msgid "guestfs_fill_pattern"
30687 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1768
30688 #: ../src/guestfs-actions.pod:1768
30692 " guestfs_fill_pattern (guestfs_h *g,\n"
30693 " const char *pattern,\n"
30695 " const char *path);\n"
30700 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1774
30701 #: ../src/guestfs-actions.pod:1774
30703 "This function is like C<guestfs_fill> except that it creates a new file of "
30704 "length C<len> containing the repeating pattern of bytes in C<pattern>. The "
30705 "pattern is truncated if necessary to ensure the length of the file is "
30706 "exactly C<len> bytes."
30710 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1786
30711 #: ../src/guestfs-actions.pod:1786
30712 msgid "(Added in 1.3.12)"
30716 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1788
30717 #: ../src/guestfs-actions.pod:1788
30718 msgid "guestfs_find"
30722 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1790
30723 #: ../src/guestfs-actions.pod:1790
30727 " guestfs_find (guestfs_h *g,\n"
30728 " const char *directory);\n"
30733 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1806
30734 #: ../src/guestfs-actions.pod:1806
30736 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
30740 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1819
30741 #: ../src/guestfs-actions.pod:1819
30742 msgid "See also C<guestfs_find0>."
30746 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1828
30747 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4299
30748 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6009
30749 #: ../src/guestfs-actions.pod:1828 ../src/guestfs-actions.pod:4299
30750 #: ../src/guestfs-actions.pod:6009
30751 msgid "(Added in 1.0.27)"
30755 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1830
30756 #: ../src/guestfs-actions.pod:1830
30757 msgid "guestfs_find0"
30761 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1832
30762 #: ../src/guestfs-actions.pod:1832
30766 " guestfs_find0 (guestfs_h *g,\n"
30767 " const char *directory,\n"
30768 " const char *files);\n"
30773 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1841
30774 #: ../src/guestfs-actions.pod:1841
30776 "This command works the same way as C<guestfs_find> with the following "
30781 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1868
30782 #: ../src/guestfs-actions.pod:1868
30783 msgid "(Added in 1.0.74)"
30787 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1870
30788 #: ../src/guestfs-actions.pod:1870
30789 msgid "guestfs_findfs_label"
30793 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1872
30794 #: ../src/guestfs-actions.pod:1872
30798 " guestfs_findfs_label (guestfs_h *g,\n"
30799 " const char *label);\n"
30804 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1880
30805 #: ../src/guestfs-actions.pod:1880
30806 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
30810 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1887
30811 #: ../src/guestfs-actions.pod:1887
30812 msgid "guestfs_findfs_uuid"
30816 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1889
30817 #: ../src/guestfs-actions.pod:1889
30821 " guestfs_findfs_uuid (guestfs_h *g,\n"
30822 " const char *uuid);\n"
30827 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1897
30828 #: ../src/guestfs-actions.pod:1897
30829 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
30833 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1904
30834 #: ../src/guestfs-actions.pod:1904
30835 msgid "guestfs_fsck"
30839 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1906
30840 #: ../src/guestfs-actions.pod:1906
30844 " guestfs_fsck (guestfs_h *g,\n"
30845 " const char *fstype,\n"
30846 " const char *device);\n"
30851 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1941
30852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7780
30853 #: ../src/guestfs-actions.pod:1941 ../src/guestfs-actions.pod:7780
30854 msgid "(Added in 1.0.16)"
30858 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1943
30859 #: ../src/guestfs-actions.pod:1943
30860 msgid "guestfs_get_append"
30864 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1945
30865 #: ../src/guestfs-actions.pod:1945
30869 " guestfs_get_append (guestfs_h *g);\n"
30874 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1953
30875 #: ../src/guestfs-actions.pod:1953
30877 "This function returns a string which may be NULL. There is no way to return "
30878 "an error from this function. The string is owned by the guest handle and "
30879 "must I<not> be freed."
30883 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1957
30884 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5687
30885 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6169
30886 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6611
30887 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6630
30888 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6646
30889 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6670
30890 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7424
30891 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7439
30892 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7823
30893 #: ../src/guestfs-actions.pod:1957 ../src/guestfs-actions.pod:5687
30894 #: ../src/guestfs-actions.pod:6169 ../src/guestfs-actions.pod:6611
30895 #: ../src/guestfs-actions.pod:6630 ../src/guestfs-actions.pod:6646
30896 #: ../src/guestfs-actions.pod:6670 ../src/guestfs-actions.pod:7424
30897 #: ../src/guestfs-actions.pod:7439 ../src/guestfs-actions.pod:7823
30898 msgid "(Added in 1.0.26)"
30902 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1959
30903 #: ../src/guestfs-actions.pod:1959
30904 msgid "guestfs_get_attach_method"
30908 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1961
30909 #: ../src/guestfs-actions.pod:1961
30913 " guestfs_get_attach_method (guestfs_h *g);\n"
30918 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1964
30919 #: ../src/guestfs-actions.pod:1964
30920 msgid "Return the current attach method. See C<guestfs_set_attach_method>."
30924 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1969
30925 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6199
30926 #: ../src/guestfs-actions.pod:1969 ../src/guestfs-actions.pod:6199
30927 msgid "(Added in 1.9.8)"
30931 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1971
30932 #: ../src/guestfs-actions.pod:1971
30933 msgid "guestfs_get_autosync"
30937 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1973
30938 #: ../src/guestfs-actions.pod:1973
30942 " guestfs_get_autosync (guestfs_h *g);\n"
30947 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1982
30948 #: ../src/guestfs-actions.pod:1982
30949 msgid "guestfs_get_direct"
30953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1984
30954 #: ../src/guestfs-actions.pod:1984
30958 " guestfs_get_direct (guestfs_h *g);\n"
30963 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1991
30964 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6240
30965 #: ../src/guestfs-actions.pod:1991 ../src/guestfs-actions.pod:6240
30966 msgid "(Added in 1.0.72)"
30970 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1993
30971 #: ../src/guestfs-actions.pod:1993
30972 msgid "guestfs_get_e2label"
30976 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:1995
30977 #: ../src/guestfs-actions.pod:1995
30981 " guestfs_get_e2label (guestfs_h *g,\n"
30982 " const char *device);\n"
30987 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2012
30988 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2033
30989 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6258
30990 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6277
30991 #: ../src/guestfs-actions.pod:2012 ../src/guestfs-actions.pod:2033
30992 #: ../src/guestfs-actions.pod:6258 ../src/guestfs-actions.pod:6277
30993 msgid "(Added in 1.0.15)"
30997 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2014
30998 #: ../src/guestfs-actions.pod:2014
30999 msgid "guestfs_get_e2uuid"
31003 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2016
31004 #: ../src/guestfs-actions.pod:2016
31008 " guestfs_get_e2uuid (guestfs_h *g,\n"
31009 " const char *device);\n"
31014 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2035
31015 #: ../src/guestfs-actions.pod:2035
31016 msgid "guestfs_get_memsize"
31020 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2037
31021 #: ../src/guestfs-actions.pod:2037
31025 " guestfs_get_memsize (guestfs_h *g);\n"
31030 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2043
31031 #: ../src/guestfs-actions.pod:2043
31033 "If C<guestfs_set_memsize> was not called on this handle, and if "
31034 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
31035 "value for memsize."
31039 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2052
31040 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4590
31041 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4799
31042 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4818
31043 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4837
31044 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4849
31045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4866
31046 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4879
31047 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5912
31048 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6298
31049 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6578
31050 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7193
31051 #: ../src/guestfs-actions.pod:2052 ../src/guestfs-actions.pod:4590
31052 #: ../src/guestfs-actions.pod:4799 ../src/guestfs-actions.pod:4818
31053 #: ../src/guestfs-actions.pod:4837 ../src/guestfs-actions.pod:4849
31054 #: ../src/guestfs-actions.pod:4866 ../src/guestfs-actions.pod:4879
31055 #: ../src/guestfs-actions.pod:5912 ../src/guestfs-actions.pod:6298
31056 #: ../src/guestfs-actions.pod:6578 ../src/guestfs-actions.pod:7193
31057 msgid "(Added in 1.0.55)"
31061 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2054
31062 #: ../src/guestfs-actions.pod:2054
31063 msgid "guestfs_get_network"
31067 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2056
31068 #: ../src/guestfs-actions.pod:2056
31072 " guestfs_get_network (guestfs_h *g);\n"
31077 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2063
31078 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6317
31079 #: ../src/guestfs-actions.pod:2063 ../src/guestfs-actions.pod:6317
31080 msgid "(Added in 1.5.4)"
31084 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2065
31085 #: ../src/guestfs-actions.pod:2065
31086 msgid "guestfs_get_path"
31090 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2067
31091 #: ../src/guestfs-actions.pod:2067
31095 " guestfs_get_path (guestfs_h *g);\n"
31100 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2075
31101 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2115
31102 #: ../src/guestfs-actions.pod:2075 ../src/guestfs-actions.pod:2115
31104 "This function returns a string, or NULL on error. The string is owned by "
31105 "the guest handle and must I<not> be freed."
31109 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2080
31110 #: ../src/guestfs-actions.pod:2080
31111 msgid "guestfs_get_pgroup"
31115 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2082
31116 #: ../src/guestfs-actions.pod:2082
31120 " guestfs_get_pgroup (guestfs_h *g);\n"
31125 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2089
31126 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6353
31127 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7685
31128 #: ../src/guestfs-actions.pod:2089 ../src/guestfs-actions.pod:6353
31129 #: ../src/guestfs-actions.pod:7685
31131 #| msgid "(Added in 1.5.1)"
31132 msgid "(Added in 1.11.18)"
31133 msgstr "(Додано у 1.5.1)"
31136 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2091
31137 #: ../src/guestfs-actions.pod:2091
31138 msgid "guestfs_get_pid"
31142 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2093
31143 #: ../src/guestfs-actions.pod:2093
31147 " guestfs_get_pid (guestfs_h *g);\n"
31152 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2103
31153 #: ../src/guestfs-actions.pod:2103
31154 msgid "(Added in 1.0.56)"
31158 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2105
31159 #: ../src/guestfs-actions.pod:2105
31160 msgid "guestfs_get_qemu"
31164 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2107
31165 #: ../src/guestfs-actions.pod:2107
31169 " guestfs_get_qemu (guestfs_h *g);\n"
31174 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2118
31175 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6381
31176 #: ../src/guestfs-actions.pod:2118 ../src/guestfs-actions.pod:6381
31177 msgid "(Added in 1.0.6)"
31181 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2120
31182 #: ../src/guestfs-actions.pod:2120
31183 msgid "guestfs_get_recovery_proc"
31187 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2122
31188 #: ../src/guestfs-actions.pod:2122
31192 " guestfs_get_recovery_proc (guestfs_h *g);\n"
31197 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2129
31198 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3663
31199 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3994
31200 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4397
31201 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4429
31202 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5617
31203 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5960
31204 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6405
31205 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7096
31206 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7116
31207 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7308
31208 #: ../src/guestfs-actions.pod:2129 ../src/guestfs-actions.pod:3663
31209 #: ../src/guestfs-actions.pod:3994 ../src/guestfs-actions.pod:4397
31210 #: ../src/guestfs-actions.pod:4429 ../src/guestfs-actions.pod:5617
31211 #: ../src/guestfs-actions.pod:5960 ../src/guestfs-actions.pod:6405
31212 #: ../src/guestfs-actions.pod:7096 ../src/guestfs-actions.pod:7116
31213 #: ../src/guestfs-actions.pod:7308
31214 msgid "(Added in 1.0.77)"
31218 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2131
31219 #: ../src/guestfs-actions.pod:2131
31220 msgid "guestfs_get_selinux"
31224 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2133
31225 #: ../src/guestfs-actions.pod:2133
31229 " guestfs_get_selinux (guestfs_h *g);\n"
31234 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2136
31235 #: ../src/guestfs-actions.pod:2136
31237 "This returns the current setting of the selinux flag which is passed to the "
31238 "appliance at boot time. See C<guestfs_set_selinux>."
31242 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2144
31243 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2207
31244 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6424
31245 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6482
31246 #: ../src/guestfs-actions.pod:2144 ../src/guestfs-actions.pod:2207
31247 #: ../src/guestfs-actions.pod:6424 ../src/guestfs-actions.pod:6482
31248 msgid "(Added in 1.0.67)"
31252 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2146
31253 #: ../src/guestfs-actions.pod:2146
31254 msgid "guestfs_get_state"
31258 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2148
31259 #: ../src/guestfs-actions.pod:2148
31263 " guestfs_get_state (guestfs_h *g);\n"
31268 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2160
31269 #: ../src/guestfs-actions.pod:2160
31270 msgid "guestfs_get_trace"
31274 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2162
31275 #: ../src/guestfs-actions.pod:2162
31279 " guestfs_get_trace (guestfs_h *g);\n"
31284 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2171
31285 #: ../src/guestfs-actions.pod:2171
31286 msgid "guestfs_get_umask"
31290 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2173
31291 #: ../src/guestfs-actions.pod:2173
31295 " guestfs_get_umask (guestfs_h *g);\n"
31300 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2176
31301 #: ../src/guestfs-actions.pod:2176
31303 "Return the current umask. By default the umask is C<022> unless it has been "
31304 "set by calling C<guestfs_umask>."
31308 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2183
31309 #: ../src/guestfs-actions.pod:2183
31310 msgid "guestfs_get_verbose"
31314 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2185
31315 #: ../src/guestfs-actions.pod:2185
31319 " guestfs_get_verbose (guestfs_h *g);\n"
31324 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2194
31325 #: ../src/guestfs-actions.pod:2194
31326 msgid "guestfs_getcon"
31330 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2196
31331 #: ../src/guestfs-actions.pod:2196
31335 " guestfs_getcon (guestfs_h *g);\n"
31340 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2201
31341 #: ../src/guestfs-actions.pod:2201
31343 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
31347 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2209
31348 #: ../src/guestfs-actions.pod:2209
31349 msgid "guestfs_getxattr"
31353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2211
31354 #: ../src/guestfs-actions.pod:2211
31358 " guestfs_getxattr (guestfs_h *g,\n"
31359 " const char *path,\n"
31360 " const char *name,\n"
31361 " size_t *size_r);\n"
31366 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2217
31367 #: ../src/guestfs-actions.pod:2217
31369 "Get a single extended attribute from file C<path> named C<name>. This call "
31370 "follows symlinks. If you want to lookup an extended attribute for the "
31371 "symlink itself, use C<guestfs_lgetxattr>."
31375 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2221
31376 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3677
31377 #: ../src/guestfs-actions.pod:2221 ../src/guestfs-actions.pod:3677
31379 "Normally it is better to get all extended attributes from a file in one go "
31380 "by calling C<guestfs_getxattrs>. However some Linux filesystem "
31381 "implementations are buggy and do not provide a way to list out attributes. "
31382 "For these filesystems (notably ntfs-3g) you have to know the names of the "
31383 "extended attributes you want in advance and call this function."
31387 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2231
31388 #: ../src/guestfs-actions.pod:2231
31389 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
31393 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2233
31394 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2424
31395 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2894
31396 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3689
31397 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5610
31398 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5636
31399 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5817
31400 #: ../src/guestfs-actions.pod:2233 ../src/guestfs-actions.pod:2424
31401 #: ../src/guestfs-actions.pod:2894 ../src/guestfs-actions.pod:3689
31402 #: ../src/guestfs-actions.pod:5610 ../src/guestfs-actions.pod:5636
31403 #: ../src/guestfs-actions.pod:5817
31405 "This function returns a buffer, or NULL on error. The size of the returned "
31406 "buffer is written to C<*size_r>. I<The caller must free the returned buffer "
31411 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2237
31412 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3693
31413 #: ../src/guestfs-actions.pod:2237 ../src/guestfs-actions.pod:3693
31414 msgid "(Added in 1.7.24)"
31418 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2239
31419 #: ../src/guestfs-actions.pod:2239
31420 msgid "guestfs_getxattrs"
31424 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2241
31425 #: ../src/guestfs-actions.pod:2241
31428 " struct guestfs_xattr_list *\n"
31429 " guestfs_getxattrs (guestfs_h *g,\n"
31430 " const char *path);\n"
31435 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2251
31436 #: ../src/guestfs-actions.pod:2251
31437 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
31441 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2253
31442 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3705
31443 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4393
31444 #: ../src/guestfs-actions.pod:2253 ../src/guestfs-actions.pod:3705
31445 #: ../src/guestfs-actions.pod:4393
31447 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
31448 "an error. I<The caller must call C<guestfs_free_xattr_list> after use>."
31452 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2257
31453 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3709
31454 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3908
31455 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3944
31456 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5990
31457 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6501
31458 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7888
31459 #: ../src/guestfs-actions.pod:2257 ../src/guestfs-actions.pod:3709
31460 #: ../src/guestfs-actions.pod:3908 ../src/guestfs-actions.pod:3944
31461 #: ../src/guestfs-actions.pod:5990 ../src/guestfs-actions.pod:6501
31462 #: ../src/guestfs-actions.pod:7888
31463 msgid "(Added in 1.0.59)"
31467 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2259
31468 #: ../src/guestfs-actions.pod:2259
31469 msgid "guestfs_glob_expand"
31473 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2261
31474 #: ../src/guestfs-actions.pod:2261
31478 " guestfs_glob_expand (guestfs_h *g,\n"
31479 " const char *pattern);\n"
31484 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2280
31485 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6694
31486 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6711
31487 #: ../src/guestfs-actions.pod:2280 ../src/guestfs-actions.pod:6694
31488 #: ../src/guestfs-actions.pod:6711
31489 msgid "(Added in 1.0.50)"
31493 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2282
31494 #: ../src/guestfs-actions.pod:2282
31495 msgid "guestfs_grep"
31499 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2284
31500 #: ../src/guestfs-actions.pod:2284
31504 " guestfs_grep (guestfs_h *g,\n"
31505 " const char *regex,\n"
31506 " const char *path);\n"
31511 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2301
31512 #: ../src/guestfs-actions.pod:2301
31513 msgid "guestfs_grepi"
31517 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2303
31518 #: ../src/guestfs-actions.pod:2303
31522 " guestfs_grepi (guestfs_h *g,\n"
31523 " const char *regex,\n"
31524 " const char *path);\n"
31529 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2320
31530 #: ../src/guestfs-actions.pod:2320
31531 msgid "guestfs_grub_install"
31535 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2322
31536 #: ../src/guestfs-actions.pod:2322
31540 " guestfs_grub_install (guestfs_h *g,\n"
31541 " const char *root,\n"
31542 " const char *device);\n"
31547 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2343
31548 #: ../src/guestfs-actions.pod:2343
31549 msgid "(Added in 1.0.17)"
31553 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2345
31554 #: ../src/guestfs-actions.pod:2345
31555 msgid "guestfs_head"
31559 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2347
31560 #: ../src/guestfs-actions.pod:2347
31564 " guestfs_head (guestfs_h *g,\n"
31565 " const char *path);\n"
31570 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2363
31571 #: ../src/guestfs-actions.pod:2363
31572 msgid "guestfs_head_n"
31576 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2365
31577 #: ../src/guestfs-actions.pod:2365
31581 " guestfs_head_n (guestfs_h *g,\n"
31583 " const char *path);\n"
31588 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2387
31589 #: ../src/guestfs-actions.pod:2387
31590 msgid "guestfs_hexdump"
31594 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2389
31595 #: ../src/guestfs-actions.pod:2389
31599 " guestfs_hexdump (guestfs_h *g,\n"
31600 " const char *path);\n"
31605 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2402
31606 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6775
31607 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6830
31608 #: ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:6775
31609 #: ../src/guestfs-actions.pod:6830
31610 msgid "(Added in 1.0.22)"
31614 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2404
31615 #: ../src/guestfs-actions.pod:2404
31616 msgid "guestfs_initrd_cat"
31620 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2406
31621 #: ../src/guestfs-actions.pod:2406
31625 " guestfs_initrd_cat (guestfs_h *g,\n"
31626 " const char *initrdpath,\n"
31627 " const char *filename,\n"
31628 " size_t *size_r);\n"
31633 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2422
31634 #: ../src/guestfs-actions.pod:2422
31635 msgid "See also C<guestfs_initrd_list>."
31639 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2433
31640 #: ../src/guestfs-actions.pod:2433
31641 msgid "guestfs_initrd_list"
31645 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2435
31646 #: ../src/guestfs-actions.pod:2435
31650 " guestfs_initrd_list (guestfs_h *g,\n"
31651 " const char *path);\n"
31656 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2455
31657 #: ../src/guestfs-actions.pod:2455
31658 msgid "guestfs_inotify_add_watch"
31662 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2457
31663 #: ../src/guestfs-actions.pod:2457
31667 " guestfs_inotify_add_watch (guestfs_h *g,\n"
31668 " const char *path,\n"
31674 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2476
31675 #: ../src/guestfs-actions.pod:2476
31676 msgid "guestfs_inotify_close"
31680 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2478
31681 #: ../src/guestfs-actions.pod:2478
31685 " guestfs_inotify_close (guestfs_h *g);\n"
31690 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2489
31691 #: ../src/guestfs-actions.pod:2489
31692 msgid "guestfs_inotify_files"
31696 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2491
31697 #: ../src/guestfs-actions.pod:2491
31701 " guestfs_inotify_files (guestfs_h *g);\n"
31706 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2494
31707 #: ../src/guestfs-actions.pod:2494
31709 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
31710 "returns a list of pathnames of objects that were touched. The returned "
31711 "pathnames are sorted and deduplicated."
31715 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2504
31716 #: ../src/guestfs-actions.pod:2504
31717 msgid "guestfs_inotify_init"
31721 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2506
31722 #: ../src/guestfs-actions.pod:2506
31726 " guestfs_inotify_init (guestfs_h *g,\n"
31727 " int maxevents);\n"
31732 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2514
31733 #: ../src/guestfs-actions.pod:2514
31735 "C<maxevents> is the maximum number of events which will be queued up between "
31736 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>. If this is "
31737 "passed as C<0>, then the kernel (or previously set) default is used. For "
31738 "Linux 2.6.29 the default was 16384 events. Beyond this limit, the kernel "
31739 "throws away events, but records the fact that it threw them away by setting "
31740 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
31741 "C<guestfs_inotify_read>)."
31745 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2524
31746 #: ../src/guestfs-actions.pod:2524
31748 "Before any events are generated, you have to add some watches to the "
31749 "internal watch list. See: C<guestfs_inotify_add_watch>, "
31750 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
31754 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2530
31755 #: ../src/guestfs-actions.pod:2530
31757 "Queued up events should be read periodically by calling "
31758 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
31759 "wrapper around C<guestfs_inotify_read>). If you don't read the events out "
31760 "often enough then you risk the internal queue overflowing."
31764 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2537
31765 #: ../src/guestfs-actions.pod:2537
31767 "The handle should be closed after use by calling C<guestfs_inotify_close>. "
31768 "This also removes any watches automatically."
31772 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2550
31773 #: ../src/guestfs-actions.pod:2550
31774 msgid "guestfs_inotify_read"
31778 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2552
31779 #: ../src/guestfs-actions.pod:2552
31782 " struct guestfs_inotify_event_list *\n"
31783 " guestfs_inotify_read (guestfs_h *g);\n"
31788 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2566
31789 #: ../src/guestfs-actions.pod:2566
31791 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
31792 "there was an error. I<The caller must call "
31793 "C<guestfs_free_inotify_event_list> after use>."
31797 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2572
31798 #: ../src/guestfs-actions.pod:2572
31799 msgid "guestfs_inotify_rm_watch"
31803 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2574
31804 #: ../src/guestfs-actions.pod:2574
31808 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
31814 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2578
31815 #: ../src/guestfs-actions.pod:2578
31817 "Remove a previously defined inotify watch. See C<guestfs_inotify_add_watch>."
31821 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2585
31822 #: ../src/guestfs-actions.pod:2585
31823 msgid "guestfs_inspect_get_arch"
31827 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2587
31828 #: ../src/guestfs-actions.pod:2587
31832 " guestfs_inspect_get_arch (guestfs_h *g,\n"
31833 " const char *root);\n"
31838 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2591
31839 #: ../src/guestfs-actions.pod:2591
31841 "This returns the architecture of the inspected operating system. The "
31842 "possible return values are listed under C<guestfs_file_architecture>."
31846 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2605
31847 #: ../src/guestfs-actions.pod:2605
31848 msgid "guestfs_inspect_get_distro"
31852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2607
31853 #: ../src/guestfs-actions.pod:2607
31857 " guestfs_inspect_get_distro (guestfs_h *g,\n"
31858 " const char *root);\n"
31863 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2695
31864 #: ../src/guestfs-actions.pod:2695
31865 msgid "guestfs_inspect_get_drive_mappings"
31869 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2697
31870 #: ../src/guestfs-actions.pod:2697
31874 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
31875 " const char *root);\n"
31880 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2726
31881 #: ../src/guestfs-actions.pod:2726
31883 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
31884 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
31888 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2730
31889 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2998
31890 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3796
31891 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5078
31892 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7132
31893 #: ../src/guestfs-actions.pod:2730 ../src/guestfs-actions.pod:2998
31894 #: ../src/guestfs-actions.pod:3796 ../src/guestfs-actions.pod:5078
31895 #: ../src/guestfs-actions.pod:7132
31897 "This function returns a NULL-terminated array of strings, or NULL if there "
31898 "was an error. The array of strings will always have length C<2n+1>, where "
31899 "C<n> keys and values alternate, followed by the trailing NULL entry. I<The "
31900 "caller must free the strings and the array after use>."
31904 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2736
31905 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3192
31906 #: ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3192
31907 msgid "(Added in 1.9.17)"
31911 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2738
31912 #: ../src/guestfs-actions.pod:2738
31913 msgid "guestfs_inspect_get_filesystems"
31917 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2740
31918 #: ../src/guestfs-actions.pod:2740
31922 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
31923 " const char *root);\n"
31928 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2752
31929 #: ../src/guestfs-actions.pod:2752
31931 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
31932 "C<guestfs_inspect_get_mountpoints>."
31936 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2761
31937 #: ../src/guestfs-actions.pod:2761
31938 msgid "guestfs_inspect_get_format"
31942 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2763
31943 #: ../src/guestfs-actions.pod:2763
31947 " guestfs_inspect_get_format (guestfs_h *g,\n"
31948 " const char *root);\n"
31953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2797
31954 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3228
31955 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3244
31956 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3262
31957 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6028
31958 #: ../src/guestfs-actions.pod:2797 ../src/guestfs-actions.pod:3228
31959 #: ../src/guestfs-actions.pod:3244 ../src/guestfs-actions.pod:3262
31960 #: ../src/guestfs-actions.pod:6028
31961 msgid "(Added in 1.9.4)"
31965 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2799
31966 #: ../src/guestfs-actions.pod:2799
31967 msgid "guestfs_inspect_get_hostname"
31971 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2801
31972 #: ../src/guestfs-actions.pod:2801
31976 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
31977 " const char *root);\n"
31982 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2816
31983 #: ../src/guestfs-actions.pod:2816
31984 msgid "(Added in 1.7.9)"
31988 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2818
31989 #: ../src/guestfs-actions.pod:2818
31990 msgid "guestfs_inspect_get_icon"
31994 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2820
31995 #: ../src/guestfs-actions.pod:2820
31999 " guestfs_inspect_get_icon (guestfs_h *g,\n"
32000 " const char *root,\n"
32001 " size_t *size_r,\n"
32007 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2831
32008 #: ../src/guestfs-actions.pod:2831
32011 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
32012 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
32017 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2898
32018 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3723
32019 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4977
32020 #: ../src/guestfs-actions.pod:2898 ../src/guestfs-actions.pod:3723
32021 #: ../src/guestfs-actions.pod:4977
32022 msgid "(Added in 1.11.12)"
32026 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2900
32027 #: ../src/guestfs-actions.pod:2900
32028 msgid "guestfs_inspect_get_icon_va"
32032 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2902
32033 #: ../src/guestfs-actions.pod:2902
32037 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
32038 " const char *root,\n"
32039 " size_t *size_r,\n"
32040 " va_list args);\n"
32045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2908
32046 #: ../src/guestfs-actions.pod:2908
32047 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
32051 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2912
32052 #: ../src/guestfs-actions.pod:2912
32053 msgid "guestfs_inspect_get_icon_argv"
32057 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2914
32058 #: ../src/guestfs-actions.pod:2914
32062 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
32063 " const char *root,\n"
32064 " size_t *size_r,\n"
32065 " const struct guestfs_inspect_get_icon_argv *optargs);\n"
32070 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2920
32071 #: ../src/guestfs-actions.pod:2920
32072 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
32076 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2924
32077 #: ../src/guestfs-actions.pod:2924
32078 msgid "guestfs_inspect_get_major_version"
32082 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2926
32083 #: ../src/guestfs-actions.pod:2926
32087 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
32088 " const char *root);\n"
32093 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2948
32094 #: ../src/guestfs-actions.pod:2948
32095 msgid "guestfs_inspect_get_minor_version"
32099 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2950
32100 #: ../src/guestfs-actions.pod:2950
32104 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
32105 " const char *root);\n"
32110 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2959
32111 #: ../src/guestfs-actions.pod:2959
32113 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32114 "C<guestfs_inspect_get_major_version>."
32118 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2966
32119 #: ../src/guestfs-actions.pod:2966
32120 msgid "guestfs_inspect_get_mountpoints"
32124 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2968
32125 #: ../src/guestfs-actions.pod:2968
32129 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
32130 " const char *root);\n"
32135 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2989
32136 #: ../src/guestfs-actions.pod:2989
32138 "For operating systems like Windows which still use drive letters, this call "
32139 "will only return an entry for the first drive \"mounted on\" C</>. For "
32140 "information about the mapping of drive letters to partitions, see "
32141 "C<guestfs_inspect_get_drive_mappings>."
32145 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:2995
32146 #: ../src/guestfs-actions.pod:2995
32148 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32149 "C<guestfs_inspect_get_filesystems>."
32153 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3006
32154 #: ../src/guestfs-actions.pod:3006
32155 msgid "guestfs_inspect_get_package_format"
32159 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3008
32160 #: ../src/guestfs-actions.pod:3008
32164 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
32165 " const char *root);\n"
32170 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3012
32171 #: ../src/guestfs-actions.pod:3012
32173 "This function and C<guestfs_inspect_get_package_management> return the "
32174 "package format and package management tool used by the inspected operating "
32175 "system. For example for Fedora these functions would return C<rpm> (package "
32176 "format) and C<yum> (package management)."
32180 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3030
32181 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3058
32182 #: ../src/guestfs-actions.pod:3030 ../src/guestfs-actions.pod:3058
32183 msgid "(Added in 1.7.5)"
32187 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3032
32188 #: ../src/guestfs-actions.pod:3032
32189 msgid "guestfs_inspect_get_package_management"
32193 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3034
32194 #: ../src/guestfs-actions.pod:3034
32198 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
32199 " const char *root);\n"
32204 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3038
32205 #: ../src/guestfs-actions.pod:3038
32207 "C<guestfs_inspect_get_package_format> and this function return the package "
32208 "format and package management tool used by the inspected operating system. "
32209 "For example for Fedora these functions would return C<rpm> (package format) "
32210 "and C<yum> (package management)."
32214 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3060
32215 #: ../src/guestfs-actions.pod:3060
32216 msgid "guestfs_inspect_get_product_name"
32220 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3062
32221 #: ../src/guestfs-actions.pod:3062
32225 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
32226 " const char *root);\n"
32231 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3081
32232 #: ../src/guestfs-actions.pod:3081
32233 msgid "guestfs_inspect_get_product_variant"
32237 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3083
32238 #: ../src/guestfs-actions.pod:3083
32242 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
32243 " const char *root);\n"
32248 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3106
32249 #: ../src/guestfs-actions.pod:3106
32251 "Please read L<guestfs(3)/INSPECTION> for more details. See also "
32252 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
32256 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3113
32257 #: ../src/guestfs-actions.pod:3113
32258 msgid "(Added in 1.9.13)"
32262 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3115
32263 #: ../src/guestfs-actions.pod:3115
32264 msgid "guestfs_inspect_get_roots"
32268 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3117
32269 #: ../src/guestfs-actions.pod:3117
32273 " guestfs_inspect_get_roots (guestfs_h *g);\n"
32278 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3120
32279 #: ../src/guestfs-actions.pod:3120
32281 "This function is a convenient way to get the list of root devices, as "
32282 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
32283 "the whole inspection process."
32287 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3124
32288 #: ../src/guestfs-actions.pod:3124
32290 "This returns an empty list if either no root devices were found or the "
32291 "caller has not called C<guestfs_inspect_os>."
32295 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3133
32296 #: ../src/guestfs-actions.pod:3133
32297 msgid "(Added in 1.7.3)"
32301 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3135
32302 #: ../src/guestfs-actions.pod:3135
32303 msgid "guestfs_inspect_get_type"
32307 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3137
32308 #: ../src/guestfs-actions.pod:3137
32312 " guestfs_inspect_get_type (guestfs_h *g,\n"
32313 " const char *root);\n"
32318 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3174
32319 #: ../src/guestfs-actions.pod:3174
32320 msgid "guestfs_inspect_get_windows_current_control_set"
32324 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3176
32325 #: ../src/guestfs-actions.pod:3176
32329 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
32330 " const char *root);\n"
32335 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3194
32336 #: ../src/guestfs-actions.pod:3194
32337 msgid "guestfs_inspect_get_windows_systemroot"
32341 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3196
32342 #: ../src/guestfs-actions.pod:3196
32346 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
32347 " const char *root);\n"
32352 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3212
32353 #: ../src/guestfs-actions.pod:3212
32354 msgid "(Added in 1.5.25)"
32358 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3214
32359 #: ../src/guestfs-actions.pod:3214
32360 msgid "guestfs_inspect_is_live"
32364 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3216
32365 #: ../src/guestfs-actions.pod:3216
32369 " guestfs_inspect_is_live (guestfs_h *g,\n"
32370 " const char *root);\n"
32375 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3220
32376 #: ../src/guestfs-actions.pod:3220
32378 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
32379 "disk), then this returns true if a live image was detected on the disk."
32383 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3230
32384 #: ../src/guestfs-actions.pod:3230
32385 msgid "guestfs_inspect_is_multipart"
32389 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3232
32390 #: ../src/guestfs-actions.pod:3232
32394 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
32395 " const char *root);\n"
32400 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3236
32401 #: ../src/guestfs-actions.pod:3236
32403 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
32404 "disk), then this returns true if the disk is part of a set."
32408 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3246
32409 #: ../src/guestfs-actions.pod:3246
32410 msgid "guestfs_inspect_is_netinst"
32414 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3248
32415 #: ../src/guestfs-actions.pod:3248
32419 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
32420 " const char *root);\n"
32425 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3252
32426 #: ../src/guestfs-actions.pod:3252
32428 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
32429 "disk), then this returns true if the disk is a network installer, ie. not a "
32430 "self-contained install CD but one which is likely to require network access "
32431 "to complete the install."
32435 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3264
32436 #: ../src/guestfs-actions.pod:3264
32437 msgid "guestfs_inspect_list_applications"
32441 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3266
32442 #: ../src/guestfs-actions.pod:3266
32445 " struct guestfs_application_list *\n"
32446 " guestfs_inspect_list_applications (guestfs_h *g,\n"
32447 " const char *root);\n"
32452 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3272
32453 #: ../src/guestfs-actions.pod:3272
32455 "I<Note:> This call works differently from other parts of the inspection "
32456 "API. You have to call C<guestfs_inspect_os>, then "
32457 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
32458 "this. Listing applications is a significantly more difficult operation "
32459 "which requires access to the full filesystem. Also note that unlike the "
32460 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
32461 "the libguestfs handle, this call actually reads parts of the mounted "
32462 "filesystems during the call."
32466 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3362
32467 #: ../src/guestfs-actions.pod:3362
32469 "This function returns a C<struct guestfs_application_list *>, or NULL if "
32470 "there was an error. I<The caller must call C<guestfs_free_application_list> "
32475 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3366
32476 #: ../src/guestfs-actions.pod:3366
32477 msgid "(Added in 1.7.8)"
32481 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3368
32482 #: ../src/guestfs-actions.pod:3368
32483 msgid "guestfs_inspect_os"
32487 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3370
32488 #: ../src/guestfs-actions.pod:3370
32492 " guestfs_inspect_os (guestfs_h *g);\n"
32497 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3386
32498 #: ../src/guestfs-actions.pod:3386
32500 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
32501 "functions in order to query further information about each operating system, "
32502 "such as the name and version."
32506 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3391
32507 #: ../src/guestfs-actions.pod:3391
32509 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
32510 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
32511 "the contents. This should be called with no disks currently mounted. The "
32512 "function may also use Augeas, so any existing Augeas handle will be closed."
32516 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3403
32517 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3734
32518 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3816
32519 #: ../src/guestfs-actions.pod:3403 ../src/guestfs-actions.pod:3734
32520 #: ../src/guestfs-actions.pod:3816
32521 msgid "See also C<guestfs_list_filesystems>."
32525 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3411
32526 #: ../src/guestfs-actions.pod:3411
32527 msgid "guestfs_is_blockdev"
32531 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3413
32532 #: ../src/guestfs-actions.pod:3413
32536 " guestfs_is_blockdev (guestfs_h *g,\n"
32537 " const char *path);\n"
32542 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3420
32543 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3449
32544 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3479
32545 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3494
32546 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3510
32547 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3566
32548 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3581
32549 #: ../src/guestfs-actions.pod:3420 ../src/guestfs-actions.pod:3449
32550 #: ../src/guestfs-actions.pod:3479 ../src/guestfs-actions.pod:3494
32551 #: ../src/guestfs-actions.pod:3510 ../src/guestfs-actions.pod:3566
32552 #: ../src/guestfs-actions.pod:3581
32553 msgid "See also C<guestfs_stat>."
32557 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3424
32558 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3453
32559 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3498
32560 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3570
32561 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3585
32562 #: ../src/guestfs-actions.pod:3424 ../src/guestfs-actions.pod:3453
32563 #: ../src/guestfs-actions.pod:3498 ../src/guestfs-actions.pod:3570
32564 #: ../src/guestfs-actions.pod:3585
32565 msgid "(Added in 1.5.10)"
32569 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3426
32570 #: ../src/guestfs-actions.pod:3426
32571 msgid "guestfs_is_busy"
32575 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3428
32576 #: ../src/guestfs-actions.pod:3428
32580 " guestfs_is_busy (guestfs_h *g);\n"
32585 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3440
32586 #: ../src/guestfs-actions.pod:3440
32587 msgid "guestfs_is_chardev"
32591 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3442
32592 #: ../src/guestfs-actions.pod:3442
32596 " guestfs_is_chardev (guestfs_h *g,\n"
32597 " const char *path);\n"
32602 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3455
32603 #: ../src/guestfs-actions.pod:3455
32604 msgid "guestfs_is_config"
32608 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3457
32609 #: ../src/guestfs-actions.pod:3457
32613 " guestfs_is_config (guestfs_h *g);\n"
32618 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3469
32619 #: ../src/guestfs-actions.pod:3469
32620 msgid "guestfs_is_dir"
32624 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3471
32625 #: ../src/guestfs-actions.pod:3471
32629 " guestfs_is_dir (guestfs_h *g,\n"
32630 " const char *path);\n"
32635 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3485
32636 #: ../src/guestfs-actions.pod:3485
32637 msgid "guestfs_is_fifo"
32641 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3487
32642 #: ../src/guestfs-actions.pod:3487
32646 " guestfs_is_fifo (guestfs_h *g,\n"
32647 " const char *path);\n"
32652 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3500
32653 #: ../src/guestfs-actions.pod:3500
32654 msgid "guestfs_is_file"
32658 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3502
32659 #: ../src/guestfs-actions.pod:3502
32663 " guestfs_is_file (guestfs_h *g,\n"
32664 " const char *path);\n"
32669 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3516
32670 #: ../src/guestfs-actions.pod:3516
32671 msgid "guestfs_is_launching"
32675 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3518
32676 #: ../src/guestfs-actions.pod:3518
32680 " guestfs_is_launching (guestfs_h *g);\n"
32685 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3530
32686 #: ../src/guestfs-actions.pod:3530
32687 msgid "guestfs_is_lv"
32691 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3532
32692 #: ../src/guestfs-actions.pod:3532
32696 " guestfs_is_lv (guestfs_h *g,\n"
32697 " const char *device);\n"
32702 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3543
32703 #: ../src/guestfs-actions.pod:3543
32704 msgid "guestfs_is_ready"
32708 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3545
32709 #: ../src/guestfs-actions.pod:3545
32713 " guestfs_is_ready (guestfs_h *g);\n"
32718 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3557
32719 #: ../src/guestfs-actions.pod:3557
32720 msgid "guestfs_is_socket"
32724 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3559
32725 #: ../src/guestfs-actions.pod:3559
32729 " guestfs_is_socket (guestfs_h *g,\n"
32730 " const char *path);\n"
32735 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3572
32736 #: ../src/guestfs-actions.pod:3572
32737 msgid "guestfs_is_symlink"
32741 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3574
32742 #: ../src/guestfs-actions.pod:3574
32746 " guestfs_is_symlink (guestfs_h *g,\n"
32747 " const char *path);\n"
32752 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3587
32753 #: ../src/guestfs-actions.pod:3587
32754 msgid "guestfs_is_zero"
32758 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3589
32759 #: ../src/guestfs-actions.pod:3589
32763 " guestfs_is_zero (guestfs_h *g,\n"
32764 " const char *path);\n"
32769 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3598
32770 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3612
32771 #: ../src/guestfs-actions.pod:3598 ../src/guestfs-actions.pod:3612
32772 msgid "(Added in 1.11.8)"
32776 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3600
32777 #: ../src/guestfs-actions.pod:3600
32778 msgid "guestfs_is_zero_device"
32782 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3602
32783 #: ../src/guestfs-actions.pod:3602
32787 " guestfs_is_zero_device (guestfs_h *g,\n"
32788 " const char *device);\n"
32793 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3614
32794 #: ../src/guestfs-actions.pod:3614
32795 msgid "guestfs_kill_subprocess"
32799 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3616
32800 #: ../src/guestfs-actions.pod:3616
32804 " guestfs_kill_subprocess (guestfs_h *g);\n"
32809 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3625
32810 #: ../src/guestfs-actions.pod:3625
32811 msgid "guestfs_launch"
32815 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3627
32816 #: ../src/guestfs-actions.pod:3627
32820 " guestfs_launch (guestfs_h *g);\n"
32825 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3645
32826 #: ../src/guestfs-actions.pod:3645
32827 msgid "guestfs_lchown"
32831 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3647
32832 #: ../src/guestfs-actions.pod:3647
32836 " guestfs_lchown (guestfs_h *g,\n"
32839 " const char *path);\n"
32844 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3653
32845 #: ../src/guestfs-actions.pod:3653
32847 "Change the file owner to C<owner> and group to C<group>. This is like "
32848 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
32849 "changed, not the target."
32853 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3665
32854 #: ../src/guestfs-actions.pod:3665
32855 msgid "guestfs_lgetxattr"
32859 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3667
32860 #: ../src/guestfs-actions.pod:3667
32864 " guestfs_lgetxattr (guestfs_h *g,\n"
32865 " const char *path,\n"
32866 " const char *name,\n"
32867 " size_t *size_r);\n"
32872 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3687
32873 #: ../src/guestfs-actions.pod:3687
32874 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
32878 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3695
32879 #: ../src/guestfs-actions.pod:3695
32880 msgid "guestfs_lgetxattrs"
32884 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3697
32885 #: ../src/guestfs-actions.pod:3697
32888 " struct guestfs_xattr_list *\n"
32889 " guestfs_lgetxattrs (guestfs_h *g,\n"
32890 " const char *path);\n"
32895 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3701
32896 #: ../src/guestfs-actions.pod:3701
32898 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
32899 "then it returns the extended attributes of the link itself."
32903 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3711
32904 #: ../src/guestfs-actions.pod:3711
32905 msgid "guestfs_list_9p"
32909 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3713
32910 #: ../src/guestfs-actions.pod:3713
32914 " guestfs_list_9p (guestfs_h *g);\n"
32919 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3725
32920 #: ../src/guestfs-actions.pod:3725
32921 msgid "guestfs_list_devices"
32925 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3727
32926 #: ../src/guestfs-actions.pod:3727
32930 " guestfs_list_devices (guestfs_h *g);\n"
32935 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3742
32936 #: ../src/guestfs-actions.pod:3742
32937 msgid "guestfs_list_dm_devices"
32941 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3744
32942 #: ../src/guestfs-actions.pod:3744
32946 " guestfs_list_dm_devices (guestfs_h *g);\n"
32951 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3749
32952 #: ../src/guestfs-actions.pod:3749
32954 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
32955 "previous call to C<guestfs_luks_open>."
32959 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3752
32960 #: ../src/guestfs-actions.pod:3752
32962 "Device mapper devices which correspond to logical volumes are I<not> "
32963 "returned in this list. Call C<guestfs_lvs> if you want to list logical "
32968 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3760
32969 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5216
32970 #: ../src/guestfs-actions.pod:3760 ../src/guestfs-actions.pod:5216
32971 msgid "(Added in 1.11.15)"
32975 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3762
32976 #: ../src/guestfs-actions.pod:3762
32977 msgid "guestfs_list_filesystems"
32981 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3764
32982 #: ../src/guestfs-actions.pod:3764
32986 " guestfs_list_filesystems (guestfs_h *g);\n"
32991 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3784
32992 #: ../src/guestfs-actions.pod:3784
32994 "This command runs other libguestfs commands, which might include "
32995 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
32996 "soon after launch and only when nothing is mounted."
33000 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3788
33001 #: ../src/guestfs-actions.pod:3788
33003 "Not all of the filesystems returned will be mountable. In particular, swap "
33004 "partitions are returned in the list. Also this command does not check that "
33005 "each filesystem found is valid and mountable, and some filesystems might be "
33006 "mountable but require special options. Filesystems may not all belong to a "
33007 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
33011 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3802
33012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5577
33013 #: ../src/guestfs-actions.pod:3802 ../src/guestfs-actions.pod:5577
33014 msgid "(Added in 1.5.15)"
33018 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3804
33019 #: ../src/guestfs-actions.pod:3804
33020 msgid "guestfs_list_partitions"
33021 msgstr "guestfs_list_partitions"
33024 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3806
33025 #: ../src/guestfs-actions.pod:3806
33029 " guestfs_list_partitions (guestfs_h *g);\n"
33033 " guestfs_list_partitions (guestfs_h *g);\n"
33037 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3813
33038 #: ../src/guestfs-actions.pod:3813
33040 "This does not return logical volumes. For that you will need to call "
33045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3824
33046 #: ../src/guestfs-actions.pod:3824
33048 msgstr "guestfs_ll"
33051 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3826
33052 #: ../src/guestfs-actions.pod:3826
33056 " guestfs_ll (guestfs_h *g,\n"
33057 " const char *directory);\n"
33061 " guestfs_ll (guestfs_h *g,\n"
33062 " const char *directory);\n"
33066 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3841
33067 #: ../src/guestfs-actions.pod:3841
33069 msgstr "guestfs_ln"
33072 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3843
33073 #: ../src/guestfs-actions.pod:3843
33077 " guestfs_ln (guestfs_h *g,\n"
33078 " const char *target,\n"
33079 " const char *linkname);\n"
33083 " guestfs_ln (guestfs_h *g,\n"
33084 " const char *target,\n"
33085 " const char *linkname);\n"
33089 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3854
33090 #: ../src/guestfs-actions.pod:3854
33091 msgid "guestfs_ln_f"
33092 msgstr "guestfs_ln_f"
33095 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3856
33096 #: ../src/guestfs-actions.pod:3856
33100 " guestfs_ln_f (guestfs_h *g,\n"
33101 " const char *target,\n"
33102 " const char *linkname);\n"
33106 " guestfs_ln_f (guestfs_h *g,\n"
33107 " const char *target,\n"
33108 " const char *linkname);\n"
33112 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3868
33113 #: ../src/guestfs-actions.pod:3868
33114 msgid "guestfs_ln_s"
33115 msgstr "guestfs_ln_s"
33118 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3870
33119 #: ../src/guestfs-actions.pod:3870
33123 " guestfs_ln_s (guestfs_h *g,\n"
33124 " const char *target,\n"
33125 " const char *linkname);\n"
33129 " guestfs_ln_s (guestfs_h *g,\n"
33130 " const char *target,\n"
33131 " const char *linkname);\n"
33135 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3881
33136 #: ../src/guestfs-actions.pod:3881
33137 msgid "guestfs_ln_sf"
33138 msgstr "guestfs_ln_sf"
33141 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3883
33142 #: ../src/guestfs-actions.pod:3883
33146 " guestfs_ln_sf (guestfs_h *g,\n"
33147 " const char *target,\n"
33148 " const char *linkname);\n"
33152 " guestfs_ln_sf (guestfs_h *g,\n"
33153 " const char *target,\n"
33154 " const char *linkname);\n"
33158 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3895
33159 #: ../src/guestfs-actions.pod:3895
33160 msgid "guestfs_lremovexattr"
33161 msgstr "guestfs_lremovexattr"
33164 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3897
33165 #: ../src/guestfs-actions.pod:3897
33169 " guestfs_lremovexattr (guestfs_h *g,\n"
33170 " const char *xattr,\n"
33171 " const char *path);\n"
33175 " guestfs_lremovexattr (guestfs_h *g,\n"
33176 " const char *xattr,\n"
33177 " const char *path);\n"
33181 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3902
33182 #: ../src/guestfs-actions.pod:3902
33184 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
33185 "link, then it removes an extended attribute of the link itself."
33189 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3910
33190 #: ../src/guestfs-actions.pod:3910
33192 msgstr "guestfs_ls"
33195 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3912
33196 #: ../src/guestfs-actions.pod:3912
33200 " guestfs_ls (guestfs_h *g,\n"
33201 " const char *directory);\n"
33205 " guestfs_ls (guestfs_h *g,\n"
33206 " const char *directory);\n"
33210 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3920
33211 #: ../src/guestfs-actions.pod:3920
33213 "This command is mostly useful for interactive sessions. Programs should "
33214 "probably use C<guestfs_readdir> instead."
33218 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3929
33219 #: ../src/guestfs-actions.pod:3929
33220 msgid "guestfs_lsetxattr"
33221 msgstr "guestfs_lsetxattr"
33224 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3931
33225 #: ../src/guestfs-actions.pod:3931
33229 " guestfs_lsetxattr (guestfs_h *g,\n"
33230 " const char *xattr,\n"
33231 " const char *val,\n"
33233 " const char *path);\n"
33237 " guestfs_lsetxattr (guestfs_h *g,\n"
33238 " const char *xattr,\n"
33239 " const char *val,\n"
33241 " const char *path);\n"
33245 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3938
33246 #: ../src/guestfs-actions.pod:3938
33248 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
33249 "then it sets an extended attribute of the link itself."
33253 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3946
33254 #: ../src/guestfs-actions.pod:3946
33255 msgid "guestfs_lstat"
33256 msgstr "guestfs_lstat"
33259 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3948
33260 #: ../src/guestfs-actions.pod:3948
33263 " struct guestfs_stat *\n"
33264 " guestfs_lstat (guestfs_h *g,\n"
33265 " const char *path);\n"
33268 " struct guestfs_stat *\n"
33269 " guestfs_lstat (guestfs_h *g,\n"
33270 " const char *path);\n"
33274 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3954
33275 #: ../src/guestfs-actions.pod:3954
33277 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
33278 "link, then the link is stat-ed, not the file it refers to."
33282 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3960
33283 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6735
33284 #: ../src/guestfs-actions.pod:3960 ../src/guestfs-actions.pod:6735
33286 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
33287 "error. I<The caller must call C<guestfs_free_stat> after use>."
33291 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3964
33292 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6739
33293 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6757
33294 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7138
33295 #: ../src/guestfs-actions.pod:3964 ../src/guestfs-actions.pod:6739
33296 #: ../src/guestfs-actions.pod:6757 ../src/guestfs-actions.pod:7138
33297 msgid "(Added in 0.9.2)"
33298 msgstr "(Додано у 0.9.2)"
33301 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3966
33302 #: ../src/guestfs-actions.pod:3966
33303 msgid "guestfs_lstatlist"
33304 msgstr "guestfs_lstatlist"
33307 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3968
33308 #: ../src/guestfs-actions.pod:3968
33311 " struct guestfs_stat_list *\n"
33312 " guestfs_lstatlist (guestfs_h *g,\n"
33313 " const char *path,\n"
33314 " char *const *names);\n"
33317 " struct guestfs_stat_list *\n"
33318 " guestfs_lstatlist (guestfs_h *g,\n"
33319 " const char *path,\n"
33320 " char *const *names);\n"
33324 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3973
33325 #: ../src/guestfs-actions.pod:3973
33327 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
33328 "files, where all files are in the directory C<path>. C<names> is the list "
33329 "of files from this directory."
33333 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3982
33334 #: ../src/guestfs-actions.pod:3982
33336 "This call is intended for programs that want to efficiently list a directory "
33337 "contents without making many round-trips. See also C<guestfs_lxattrlist> "
33338 "for a similarly efficient call for getting extended attributes. Very long "
33339 "directory listings might cause the protocol message size to be exceeded, "
33340 "causing this call to fail. The caller must split up such requests into "
33341 "smaller groups of names."
33345 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3990
33346 #: ../src/guestfs-actions.pod:3990
33348 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
33349 "an error. I<The caller must call C<guestfs_free_stat_list> after use>."
33353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3996
33354 #: ../src/guestfs-actions.pod:3996
33355 msgid "guestfs_luks_add_key"
33356 msgstr "guestfs_luks_add_key"
33359 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:3998
33360 #: ../src/guestfs-actions.pod:3998
33364 " guestfs_luks_add_key (guestfs_h *g,\n"
33365 " const char *device,\n"
33366 " const char *key,\n"
33367 " const char *newkey,\n"
33372 " guestfs_luks_add_key (guestfs_h *g,\n"
33373 " const char *device,\n"
33374 " const char *key,\n"
33375 " const char *newkey,\n"
33380 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4010
33381 #: ../src/guestfs-actions.pod:4010
33383 "Note that if C<keyslot> already contains a key, then this command will "
33384 "fail. You have to use C<guestfs_luks_kill_slot> first to remove that key."
33388 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4016
33389 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4056
33390 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4079
33391 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4099
33392 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4134
33393 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4153
33394 #: ../src/guestfs-actions.pod:4016 ../src/guestfs-actions.pod:4056
33395 #: ../src/guestfs-actions.pod:4079 ../src/guestfs-actions.pod:4099
33396 #: ../src/guestfs-actions.pod:4134 ../src/guestfs-actions.pod:4153
33398 "This function takes a key or passphrase parameter which could contain "
33399 "sensitive material. Read the section L</KEYS AND PASSPHRASES> for more "
33404 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4020
33405 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4060
33406 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4083
33407 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4103
33408 #: ../src/guestfs-actions.pod:4020 ../src/guestfs-actions.pod:4060
33409 #: ../src/guestfs-actions.pod:4083 ../src/guestfs-actions.pod:4103
33410 msgid "(Added in 1.5.2)"
33411 msgstr "(Додано у 1.5.2)"
33414 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4022
33415 #: ../src/guestfs-actions.pod:4022
33416 msgid "guestfs_luks_close"
33417 msgstr "guestfs_luks_close"
33420 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4024
33421 #: ../src/guestfs-actions.pod:4024
33425 " guestfs_luks_close (guestfs_h *g,\n"
33426 " const char *device);\n"
33430 " guestfs_luks_close (guestfs_h *g,\n"
33431 " const char *device);\n"
33435 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4028
33436 #: ../src/guestfs-actions.pod:4028
33438 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
33439 "or C<guestfs_luks_open_ro>. The C<device> parameter must be the name of the "
33440 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
33441 "underlying block device."
33445 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4036
33446 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4138
33447 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4157
33448 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4207
33449 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4255
33450 #: ../src/guestfs-actions.pod:4036 ../src/guestfs-actions.pod:4138
33451 #: ../src/guestfs-actions.pod:4157 ../src/guestfs-actions.pod:4207
33452 #: ../src/guestfs-actions.pod:4255
33453 msgid "(Added in 1.5.1)"
33454 msgstr "(Додано у 1.5.1)"
33457 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4038
33458 #: ../src/guestfs-actions.pod:4038
33459 msgid "guestfs_luks_format"
33460 msgstr "guestfs_luks_format"
33463 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4040
33464 #: ../src/guestfs-actions.pod:4040
33468 " guestfs_luks_format (guestfs_h *g,\n"
33469 " const char *device,\n"
33470 " const char *key,\n"
33475 " guestfs_luks_format (guestfs_h *g,\n"
33476 " const char *device,\n"
33477 " const char *key,\n"
33482 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4062
33483 #: ../src/guestfs-actions.pod:4062
33484 msgid "guestfs_luks_format_cipher"
33485 msgstr "guestfs_luks_format_cipher"
33488 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4064
33489 #: ../src/guestfs-actions.pod:4064
33493 " guestfs_luks_format_cipher (guestfs_h *g,\n"
33494 " const char *device,\n"
33495 " const char *key,\n"
33497 " const char *cipher);\n"
33501 " guestfs_luks_format_cipher (guestfs_h *g,\n"
33502 " const char *device,\n"
33503 " const char *key,\n"
33505 " const char *cipher);\n"
33509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4071
33510 #: ../src/guestfs-actions.pod:4071
33512 "This command is the same as C<guestfs_luks_format> but it also allows you to "
33513 "set the C<cipher> used."
33517 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4085
33518 #: ../src/guestfs-actions.pod:4085
33519 msgid "guestfs_luks_kill_slot"
33520 msgstr "guestfs_luks_kill_slot"
33523 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4087
33524 #: ../src/guestfs-actions.pod:4087
33528 " guestfs_luks_kill_slot (guestfs_h *g,\n"
33529 " const char *device,\n"
33530 " const char *key,\n"
33535 " guestfs_luks_kill_slot (guestfs_h *g,\n"
33536 " const char *device,\n"
33537 " const char *key,\n"
33542 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4105
33543 #: ../src/guestfs-actions.pod:4105
33544 msgid "guestfs_luks_open"
33545 msgstr "guestfs_luks_open"
33548 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4107
33549 #: ../src/guestfs-actions.pod:4107
33553 " guestfs_luks_open (guestfs_h *g,\n"
33554 " const char *device,\n"
33555 " const char *key,\n"
33556 " const char *mapname);\n"
33560 " guestfs_luks_open (guestfs_h *g,\n"
33561 " const char *device,\n"
33562 " const char *key,\n"
33563 " const char *mapname);\n"
33567 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4125
33568 #: ../src/guestfs-actions.pod:4125
33570 "If this block device contains LVM volume groups, then calling "
33571 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
33576 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4129
33577 #: ../src/guestfs-actions.pod:4129
33578 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
33582 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4140
33583 #: ../src/guestfs-actions.pod:4140
33584 msgid "guestfs_luks_open_ro"
33585 msgstr "guestfs_luks_open_ro"
33588 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4142
33589 #: ../src/guestfs-actions.pod:4142
33593 " guestfs_luks_open_ro (guestfs_h *g,\n"
33594 " const char *device,\n"
33595 " const char *key,\n"
33596 " const char *mapname);\n"
33600 " guestfs_luks_open_ro (guestfs_h *g,\n"
33601 " const char *device,\n"
33602 " const char *key,\n"
33603 " const char *mapname);\n"
33607 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4148
33608 #: ../src/guestfs-actions.pod:4148
33610 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
33615 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4159
33616 #: ../src/guestfs-actions.pod:4159
33617 msgid "guestfs_lvcreate"
33618 msgstr "guestfs_lvcreate"
33621 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4161
33622 #: ../src/guestfs-actions.pod:4161
33626 " guestfs_lvcreate (guestfs_h *g,\n"
33627 " const char *logvol,\n"
33628 " const char *volgroup,\n"
33633 " guestfs_lvcreate (guestfs_h *g,\n"
33634 " const char *logvol,\n"
33635 " const char *volgroup,\n"
33640 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4174
33641 #: ../src/guestfs-actions.pod:4174
33642 msgid "guestfs_lvm_canonical_lv_name"
33643 msgstr "guestfs_lvm_canonical_lv_name"
33646 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4176
33647 #: ../src/guestfs-actions.pod:4176
33651 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
33652 " const char *lvname);\n"
33656 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
33657 " const char *lvname);\n"
33661 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4187
33662 #: ../src/guestfs-actions.pod:4187
33663 msgid "See also C<guestfs_is_lv>."
33667 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4192
33668 #: ../src/guestfs-actions.pod:4192
33669 msgid "(Added in 1.5.24)"
33670 msgstr "(Додано у 1.5.24)"
33673 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4194
33674 #: ../src/guestfs-actions.pod:4194
33675 msgid "guestfs_lvm_clear_filter"
33676 msgstr "guestfs_lvm_clear_filter"
33679 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4196
33680 #: ../src/guestfs-actions.pod:4196
33684 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
33688 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
33692 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4199
33693 #: ../src/guestfs-actions.pod:4199
33695 "This undoes the effect of C<guestfs_lvm_set_filter>. LVM will be able to "
33696 "see every block device."
33700 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4209
33701 #: ../src/guestfs-actions.pod:4209
33702 msgid "guestfs_lvm_remove_all"
33703 msgstr "guestfs_lvm_remove_all"
33706 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4211
33707 #: ../src/guestfs-actions.pod:4211
33711 " guestfs_lvm_remove_all (guestfs_h *g);\n"
33715 " guestfs_lvm_remove_all (guestfs_h *g);\n"
33719 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4224
33720 #: ../src/guestfs-actions.pod:4224
33721 msgid "guestfs_lvm_set_filter"
33722 msgstr "guestfs_lvm_set_filter"
33725 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4226
33726 #: ../src/guestfs-actions.pod:4226
33730 " guestfs_lvm_set_filter (guestfs_h *g,\n"
33731 " char *const *devices);\n"
33735 " guestfs_lvm_set_filter (guestfs_h *g,\n"
33736 " char *const *devices);\n"
33740 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4257
33741 #: ../src/guestfs-actions.pod:4257
33742 msgid "guestfs_lvremove"
33743 msgstr "guestfs_lvremove"
33746 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4259
33747 #: ../src/guestfs-actions.pod:4259
33751 " guestfs_lvremove (guestfs_h *g,\n"
33752 " const char *device);\n"
33756 " guestfs_lvremove (guestfs_h *g,\n"
33757 " const char *device);\n"
33761 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4271
33762 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5674
33763 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7508
33764 #: ../src/guestfs-actions.pod:4271 ../src/guestfs-actions.pod:5674
33765 #: ../src/guestfs-actions.pod:7508
33766 msgid "(Added in 1.0.13)"
33767 msgstr "(Додано у 1.0.13)"
33770 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4273
33771 #: ../src/guestfs-actions.pod:4273
33772 msgid "guestfs_lvrename"
33773 msgstr "guestfs_lvrename"
33776 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4275
33777 #: ../src/guestfs-actions.pod:4275
33781 " guestfs_lvrename (guestfs_h *g,\n"
33782 " const char *logvol,\n"
33783 " const char *newlogvol);\n"
33787 " guestfs_lvrename (guestfs_h *g,\n"
33788 " const char *logvol,\n"
33789 " const char *newlogvol);\n"
33793 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4284
33794 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7521
33795 #: ../src/guestfs-actions.pod:4284 ../src/guestfs-actions.pod:7521
33796 msgid "(Added in 1.0.83)"
33797 msgstr "(Додано у 1.0.83)"
33800 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4286
33801 #: ../src/guestfs-actions.pod:4286
33802 msgid "guestfs_lvresize"
33803 msgstr "guestfs_lvresize"
33806 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4288
33807 #: ../src/guestfs-actions.pod:4288
33811 " guestfs_lvresize (guestfs_h *g,\n"
33812 " const char *device,\n"
33817 " guestfs_lvresize (guestfs_h *g,\n"
33818 " const char *device,\n"
33823 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4301
33824 #: ../src/guestfs-actions.pod:4301
33825 msgid "guestfs_lvresize_free"
33826 msgstr "guestfs_lvresize_free"
33829 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4303
33830 #: ../src/guestfs-actions.pod:4303
33834 " guestfs_lvresize_free (guestfs_h *g,\n"
33835 " const char *lv,\n"
33840 " guestfs_lvresize_free (guestfs_h *g,\n"
33841 " const char *lv,\n"
33846 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4316
33847 #: ../src/guestfs-actions.pod:4316
33848 msgid "(Added in 1.3.3)"
33849 msgstr "(Додано у 1.3.3)"
33852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4318
33853 #: ../src/guestfs-actions.pod:4318
33854 msgid "guestfs_lvs"
33855 msgstr "guestfs_lvs"
33858 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4320
33859 #: ../src/guestfs-actions.pod:4320
33863 " guestfs_lvs (guestfs_h *g);\n"
33867 " guestfs_lvs (guestfs_h *g);\n"
33871 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4329
33872 #: ../src/guestfs-actions.pod:4329
33873 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
33877 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4337
33878 #: ../src/guestfs-actions.pod:4337
33879 msgid "guestfs_lvs_full"
33880 msgstr "guestfs_lvs_full"
33883 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4339
33884 #: ../src/guestfs-actions.pod:4339
33887 " struct guestfs_lvm_lv_list *\n"
33888 " guestfs_lvs_full (guestfs_h *g);\n"
33891 " struct guestfs_lvm_lv_list *\n"
33892 " guestfs_lvs_full (guestfs_h *g);\n"
33896 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4345
33897 #: ../src/guestfs-actions.pod:4345
33899 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
33900 "was an error. I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
33904 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4351
33905 #: ../src/guestfs-actions.pod:4351
33906 msgid "guestfs_lvuuid"
33907 msgstr "guestfs_lvuuid"
33910 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4353
33911 #: ../src/guestfs-actions.pod:4353
33915 " guestfs_lvuuid (guestfs_h *g,\n"
33916 " const char *device);\n"
33920 " guestfs_lvuuid (guestfs_h *g,\n"
33921 " const char *device);\n"
33925 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4364
33926 #: ../src/guestfs-actions.pod:4364
33927 msgid "guestfs_lxattrlist"
33928 msgstr "guestfs_lxattrlist"
33931 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4366
33932 #: ../src/guestfs-actions.pod:4366
33935 " struct guestfs_xattr_list *\n"
33936 " guestfs_lxattrlist (guestfs_h *g,\n"
33937 " const char *path,\n"
33938 " char *const *names);\n"
33941 " struct guestfs_xattr_list *\n"
33942 " guestfs_lxattrlist (guestfs_h *g,\n"
33943 " const char *path,\n"
33944 " char *const *names);\n"
33948 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4385
33949 #: ../src/guestfs-actions.pod:4385
33951 "This call is intended for programs that want to efficiently list a directory "
33952 "contents without making many round-trips. See also C<guestfs_lstatlist> for "
33953 "a similarly efficient call for getting standard stats. Very long directory "
33954 "listings might cause the protocol message size to be exceeded, causing this "
33955 "call to fail. The caller must split up such requests into smaller groups of "
33960 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4399
33961 #: ../src/guestfs-actions.pod:4399
33962 msgid "guestfs_mkdir"
33963 msgstr "guestfs_mkdir"
33966 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4401
33967 #: ../src/guestfs-actions.pod:4401
33971 " guestfs_mkdir (guestfs_h *g,\n"
33972 " const char *path);\n"
33976 " guestfs_mkdir (guestfs_h *g,\n"
33977 " const char *path);\n"
33981 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4411
33982 #: ../src/guestfs-actions.pod:4411
33983 msgid "guestfs_mkdir_mode"
33984 msgstr "guestfs_mkdir_mode"
33987 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4413
33988 #: ../src/guestfs-actions.pod:4413
33992 " guestfs_mkdir_mode (guestfs_h *g,\n"
33993 " const char *path,\n"
33998 " guestfs_mkdir_mode (guestfs_h *g,\n"
33999 " const char *path,\n"
34004 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4425
34005 #: ../src/guestfs-actions.pod:4425
34006 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
34010 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4431
34011 #: ../src/guestfs-actions.pod:4431
34012 msgid "guestfs_mkdir_p"
34013 msgstr "guestfs_mkdir_p"
34016 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4433
34017 #: ../src/guestfs-actions.pod:4433
34021 " guestfs_mkdir_p (guestfs_h *g,\n"
34022 " const char *path);\n"
34026 " guestfs_mkdir_p (guestfs_h *g,\n"
34027 " const char *path);\n"
34031 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4444
34032 #: ../src/guestfs-actions.pod:4444
34033 msgid "guestfs_mkdtemp"
34034 msgstr "guestfs_mkdtemp"
34037 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4446
34038 #: ../src/guestfs-actions.pod:4446
34042 " guestfs_mkdtemp (guestfs_h *g,\n"
34043 " const char *template);\n"
34047 " guestfs_mkdtemp (guestfs_h *g,\n"
34048 " const char *template);\n"
34052 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4474
34053 #: ../src/guestfs-actions.pod:4474
34054 msgid "guestfs_mke2fs_J"
34055 msgstr "guestfs_mke2fs_J"
34058 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4476
34059 #: ../src/guestfs-actions.pod:4476
34063 " guestfs_mke2fs_J (guestfs_h *g,\n"
34064 " const char *fstype,\n"
34065 " int blocksize,\n"
34066 " const char *device,\n"
34067 " const char *journal);\n"
34071 " guestfs_mke2fs_J (guestfs_h *g,\n"
34072 " const char *fstype,\n"
34073 " int blocksize,\n"
34074 " const char *device,\n"
34075 " const char *journal);\n"
34079 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4489
34080 #: ../src/guestfs-actions.pod:4489
34081 msgid "See also C<guestfs_mke2journal>."
34085 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4493
34086 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4511
34087 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4529
34088 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4545
34089 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4559
34090 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4573
34091 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4632
34092 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4909
34093 #: ../src/guestfs-actions.pod:4493 ../src/guestfs-actions.pod:4511
34094 #: ../src/guestfs-actions.pod:4529 ../src/guestfs-actions.pod:4545
34095 #: ../src/guestfs-actions.pod:4559 ../src/guestfs-actions.pod:4573
34096 #: ../src/guestfs-actions.pod:4632 ../src/guestfs-actions.pod:4909
34097 msgid "(Added in 1.0.68)"
34098 msgstr "(Додано у 1.0.68)"
34101 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4495
34102 #: ../src/guestfs-actions.pod:4495
34103 msgid "guestfs_mke2fs_JL"
34104 msgstr "guestfs_mke2fs_JL"
34107 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4497
34108 #: ../src/guestfs-actions.pod:4497
34112 " guestfs_mke2fs_JL (guestfs_h *g,\n"
34113 " const char *fstype,\n"
34114 " int blocksize,\n"
34115 " const char *device,\n"
34116 " const char *label);\n"
34120 " guestfs_mke2fs_JL (guestfs_h *g,\n"
34121 " const char *fstype,\n"
34122 " int blocksize,\n"
34123 " const char *device,\n"
34124 " const char *label);\n"
34128 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4507
34129 #: ../src/guestfs-actions.pod:4507
34130 msgid "See also C<guestfs_mke2journal_L>."
34134 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4513
34135 #: ../src/guestfs-actions.pod:4513
34136 msgid "guestfs_mke2fs_JU"
34137 msgstr "guestfs_mke2fs_JU"
34140 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4515
34141 #: ../src/guestfs-actions.pod:4515
34145 " guestfs_mke2fs_JU (guestfs_h *g,\n"
34146 " const char *fstype,\n"
34147 " int blocksize,\n"
34148 " const char *device,\n"
34149 " const char *uuid);\n"
34153 " guestfs_mke2fs_JU (guestfs_h *g,\n"
34154 " const char *fstype,\n"
34155 " int blocksize,\n"
34156 " const char *device,\n"
34157 " const char *uuid);\n"
34161 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4525
34162 #: ../src/guestfs-actions.pod:4525
34163 msgid "See also C<guestfs_mke2journal_U>."
34167 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4531
34168 #: ../src/guestfs-actions.pod:4531
34169 msgid "guestfs_mke2journal"
34170 msgstr "guestfs_mke2journal"
34173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4533
34174 #: ../src/guestfs-actions.pod:4533
34178 " guestfs_mke2journal (guestfs_h *g,\n"
34179 " int blocksize,\n"
34180 " const char *device);\n"
34184 " guestfs_mke2journal (guestfs_h *g,\n"
34185 " int blocksize,\n"
34186 " const char *device);\n"
34190 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4547
34191 #: ../src/guestfs-actions.pod:4547
34192 msgid "guestfs_mke2journal_L"
34193 msgstr "guestfs_mke2journal_L"
34196 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4549
34197 #: ../src/guestfs-actions.pod:4549
34201 " guestfs_mke2journal_L (guestfs_h *g,\n"
34202 " int blocksize,\n"
34203 " const char *label,\n"
34204 " const char *device);\n"
34208 " guestfs_mke2journal_L (guestfs_h *g,\n"
34209 " int blocksize,\n"
34210 " const char *label,\n"
34211 " const char *device);\n"
34215 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4561
34216 #: ../src/guestfs-actions.pod:4561
34217 msgid "guestfs_mke2journal_U"
34218 msgstr "guestfs_mke2journal_U"
34221 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4563
34222 #: ../src/guestfs-actions.pod:4563
34226 " guestfs_mke2journal_U (guestfs_h *g,\n"
34227 " int blocksize,\n"
34228 " const char *uuid,\n"
34229 " const char *device);\n"
34233 " guestfs_mke2journal_U (guestfs_h *g,\n"
34234 " int blocksize,\n"
34235 " const char *uuid,\n"
34236 " const char *device);\n"
34240 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4575
34241 #: ../src/guestfs-actions.pod:4575
34242 msgid "guestfs_mkfifo"
34243 msgstr "guestfs_mkfifo"
34246 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4577
34247 #: ../src/guestfs-actions.pod:4577
34251 " guestfs_mkfifo (guestfs_h *g,\n"
34253 " const char *path);\n"
34257 " guestfs_mkfifo (guestfs_h *g,\n"
34259 " const char *path);\n"
34263 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4582
34264 #: ../src/guestfs-actions.pod:4582
34266 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>. It "
34267 "is just a convenient wrapper around C<guestfs_mknod>."
34271 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4592
34272 #: ../src/guestfs-actions.pod:4592
34273 msgid "guestfs_mkfs"
34274 msgstr "guestfs_mkfs"
34277 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4594
34278 #: ../src/guestfs-actions.pod:4594
34282 " guestfs_mkfs (guestfs_h *g,\n"
34283 " const char *fstype,\n"
34284 " const char *device);\n"
34288 " guestfs_mkfs (guestfs_h *g,\n"
34289 " const char *fstype,\n"
34290 " const char *device);\n"
34294 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4607
34295 #: ../src/guestfs-actions.pod:4607
34296 msgid "guestfs_mkfs_b"
34297 msgstr "guestfs_mkfs_b"
34300 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4609
34301 #: ../src/guestfs-actions.pod:4609
34305 " guestfs_mkfs_b (guestfs_h *g,\n"
34306 " const char *fstype,\n"
34307 " int blocksize,\n"
34308 " const char *device);\n"
34312 " guestfs_mkfs_b (guestfs_h *g,\n"
34313 " const char *fstype,\n"
34314 " int blocksize,\n"
34315 " const char *device);\n"
34319 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4615
34320 #: ../src/guestfs-actions.pod:4615
34322 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
34323 "block size of the resulting filesystem. Supported block sizes depend on the "
34324 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
34328 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4634
34329 #: ../src/guestfs-actions.pod:4634
34330 msgid "guestfs_mkfs_opts"
34331 msgstr "guestfs_mkfs_opts"
34334 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4636
34335 #: ../src/guestfs-actions.pod:4636
34339 " guestfs_mkfs_opts (guestfs_h *g,\n"
34340 " const char *fstype,\n"
34341 " const char *device,\n"
34346 " guestfs_mkfs_opts (guestfs_h *g,\n"
34347 " const char *fstype,\n"
34348 " const char *device,\n"
34353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4647
34354 #: ../src/guestfs-actions.pod:4647
34357 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
34358 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
34359 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
34360 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
34365 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4695
34366 #: ../src/guestfs-actions.pod:4695
34367 msgid "(Added in 1.7.19)"
34368 msgstr "(Додано у 1.7.19)"
34371 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4697
34372 #: ../src/guestfs-actions.pod:4697
34373 msgid "guestfs_mkfs_opts_va"
34374 msgstr "guestfs_mkfs_opts_va"
34377 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4699
34378 #: ../src/guestfs-actions.pod:4699
34382 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
34383 " const char *fstype,\n"
34384 " const char *device,\n"
34385 " va_list args);\n"
34389 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
34390 " const char *fstype,\n"
34391 " const char *device,\n"
34392 " va_list args);\n"
34396 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4705
34397 #: ../src/guestfs-actions.pod:4705
34398 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
34402 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4709
34403 #: ../src/guestfs-actions.pod:4709
34404 msgid "guestfs_mkfs_opts_argv"
34405 msgstr "guestfs_mkfs_opts_argv"
34408 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4711
34409 #: ../src/guestfs-actions.pod:4711
34413 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
34414 " const char *fstype,\n"
34415 " const char *device,\n"
34416 " const struct guestfs_mkfs_opts_argv *optargs);\n"
34420 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
34421 " const char *fstype,\n"
34422 " const char *device,\n"
34423 " const struct guestfs_mkfs_opts_argv *optargs);\n"
34427 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4717
34428 #: ../src/guestfs-actions.pod:4717
34429 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
34433 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4721
34434 #: ../src/guestfs-actions.pod:4721
34435 msgid "guestfs_mkmountpoint"
34436 msgstr "guestfs_mkmountpoint"
34439 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4723
34440 #: ../src/guestfs-actions.pod:4723
34444 " guestfs_mkmountpoint (guestfs_h *g,\n"
34445 " const char *exemptpath);\n"
34449 " guestfs_mkmountpoint (guestfs_h *g,\n"
34450 " const char *exemptpath);\n"
34454 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4727
34455 #: ../src/guestfs-actions.pod:4727
34457 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
34458 "that can be used to create extra mountpoints before mounting the first "
34463 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4751
34464 #: ../src/guestfs-actions.pod:4751
34466 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>. You "
34467 "may get unexpected errors if you try to mix these calls. It is safest to "
34468 "manually unmount filesystems and remove mountpoints after use."
34472 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4755
34473 #: ../src/guestfs-actions.pod:4755
34475 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
34476 "first, so for this to work for manual mountpoints, you must ensure that the "
34477 "innermost mountpoints have the longest pathnames, as in the example code "
34482 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4762
34483 #: ../src/guestfs-actions.pod:4762
34485 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
34486 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
34487 "can also trigger these issues."
34491 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4768
34492 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5084
34493 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6094
34494 #: ../src/guestfs-actions.pod:4768 ../src/guestfs-actions.pod:5084
34495 #: ../src/guestfs-actions.pod:6094
34496 msgid "(Added in 1.0.62)"
34497 msgstr "(Додано у 1.0.62)"
34500 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4770
34501 #: ../src/guestfs-actions.pod:4770
34502 msgid "guestfs_mknod"
34506 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4772
34507 #: ../src/guestfs-actions.pod:4772
34511 " guestfs_mknod (guestfs_h *g,\n"
34515 " const char *path);\n"
34520 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4787
34521 #: ../src/guestfs-actions.pod:4787
34523 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
34524 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
34525 "regular file). These constants are available in the standard Linux header "
34526 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
34527 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
34528 "the appropriate constant for you."
34532 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4801
34533 #: ../src/guestfs-actions.pod:4801
34534 msgid "guestfs_mknod_b"
34538 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4803
34539 #: ../src/guestfs-actions.pod:4803
34543 " guestfs_mknod_b (guestfs_h *g,\n"
34547 " const char *path);\n"
34552 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4810
34553 #: ../src/guestfs-actions.pod:4810
34555 "This call creates a block device node called C<path> with mode C<mode> and "
34556 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
34557 "wrapper around C<guestfs_mknod>."
34561 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4820
34562 #: ../src/guestfs-actions.pod:4820
34563 msgid "guestfs_mknod_c"
34567 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4822
34568 #: ../src/guestfs-actions.pod:4822
34572 " guestfs_mknod_c (guestfs_h *g,\n"
34576 " const char *path);\n"
34581 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4829
34582 #: ../src/guestfs-actions.pod:4829
34584 "This call creates a char device node called C<path> with mode C<mode> and "
34585 "device major/minor C<devmajor> and C<devminor>. It is just a convenient "
34586 "wrapper around C<guestfs_mknod>."
34590 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4839
34591 #: ../src/guestfs-actions.pod:4839
34592 msgid "guestfs_mkswap"
34596 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4841
34597 #: ../src/guestfs-actions.pod:4841
34601 " guestfs_mkswap (guestfs_h *g,\n"
34602 " const char *device);\n"
34607 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4851
34608 #: ../src/guestfs-actions.pod:4851
34609 msgid "guestfs_mkswap_L"
34613 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4853
34614 #: ../src/guestfs-actions.pod:4853
34618 " guestfs_mkswap_L (guestfs_h *g,\n"
34619 " const char *label,\n"
34620 " const char *device);\n"
34625 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4868
34626 #: ../src/guestfs-actions.pod:4868
34627 msgid "guestfs_mkswap_U"
34631 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4870
34632 #: ../src/guestfs-actions.pod:4870
34636 " guestfs_mkswap_U (guestfs_h *g,\n"
34637 " const char *uuid,\n"
34638 " const char *device);\n"
34643 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4881
34644 #: ../src/guestfs-actions.pod:4881
34645 msgid "guestfs_mkswap_file"
34649 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4883
34650 #: ../src/guestfs-actions.pod:4883
34654 " guestfs_mkswap_file (guestfs_h *g,\n"
34655 " const char *path);\n"
34660 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4889
34661 #: ../src/guestfs-actions.pod:4889
34663 "This command just writes a swap file signature to an existing file. To "
34664 "create the file itself, use something like C<guestfs_fallocate>."
34668 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4896
34669 #: ../src/guestfs-actions.pod:4896
34670 msgid "guestfs_modprobe"
34674 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4898
34675 #: ../src/guestfs-actions.pod:4898
34679 " guestfs_modprobe (guestfs_h *g,\n"
34680 " const char *modulename);\n"
34685 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4911
34686 #: ../src/guestfs-actions.pod:4911
34687 msgid "guestfs_mount"
34691 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4913
34692 #: ../src/guestfs-actions.pod:4913
34696 " guestfs_mount (guestfs_h *g,\n"
34697 " const char *device,\n"
34698 " const char *mountpoint);\n"
34703 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4932
34704 #: ../src/guestfs-actions.pod:4932
34706 "B<Important note:> When you use this call, the filesystem options C<sync> "
34707 "and C<noatime> are set implicitly. This was originally done because we "
34708 "thought it would improve reliability, but it turns out that I<-o sync> has a "
34709 "very large negative performance impact and negligible effect on "
34710 "reliability. Therefore we recommend that you avoid using C<guestfs_mount> "
34711 "in any code that needs performance, and instead use C<guestfs_mount_options> "
34712 "(use an empty string for the first parameter if you don't want any options)."
34716 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4953
34717 #: ../src/guestfs-actions.pod:4953
34718 msgid "guestfs_mount_9p"
34722 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4955
34723 #: ../src/guestfs-actions.pod:4955
34727 " guestfs_mount_9p (guestfs_h *g,\n"
34728 " const char *mounttag,\n"
34729 " const char *mountpoint,\n"
34735 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4966
34736 #: ../src/guestfs-actions.pod:4966
34739 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
34744 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4979
34745 #: ../src/guestfs-actions.pod:4979
34746 msgid "guestfs_mount_9p_va"
34750 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4981
34751 #: ../src/guestfs-actions.pod:4981
34755 " guestfs_mount_9p_va (guestfs_h *g,\n"
34756 " const char *mounttag,\n"
34757 " const char *mountpoint,\n"
34758 " va_list args);\n"
34763 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4987
34764 #: ../src/guestfs-actions.pod:4987
34765 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
34769 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4991
34770 #: ../src/guestfs-actions.pod:4991
34771 msgid "guestfs_mount_9p_argv"
34775 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4993
34776 #: ../src/guestfs-actions.pod:4993
34780 " guestfs_mount_9p_argv (guestfs_h *g,\n"
34781 " const char *mounttag,\n"
34782 " const char *mountpoint,\n"
34783 " const struct guestfs_mount_9p_argv *optargs);\n"
34788 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:4999
34789 #: ../src/guestfs-actions.pod:4999
34790 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
34794 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5003
34795 #: ../src/guestfs-actions.pod:5003
34796 msgid "guestfs_mount_loop"
34800 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5005
34801 #: ../src/guestfs-actions.pod:5005
34805 " guestfs_mount_loop (guestfs_h *g,\n"
34806 " const char *file,\n"
34807 " const char *mountpoint);\n"
34812 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5018
34813 #: ../src/guestfs-actions.pod:5018
34814 msgid "guestfs_mount_options"
34818 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5020
34819 #: ../src/guestfs-actions.pod:5020
34823 " guestfs_mount_options (guestfs_h *g,\n"
34824 " const char *options,\n"
34825 " const char *device,\n"
34826 " const char *mountpoint);\n"
34831 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5026
34832 #: ../src/guestfs-actions.pod:5026
34834 "This is the same as the C<guestfs_mount> command, but it allows you to set "
34835 "the mount options as for the L<mount(8)> I<-o> flag."
34839 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5036
34840 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5050
34841 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5067
34842 #: ../src/guestfs-actions.pod:5036 ../src/guestfs-actions.pod:5050
34843 #: ../src/guestfs-actions.pod:5067
34844 msgid "(Added in 1.0.10)"
34848 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5038
34849 #: ../src/guestfs-actions.pod:5038
34850 msgid "guestfs_mount_ro"
34854 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5040
34855 #: ../src/guestfs-actions.pod:5040
34859 " guestfs_mount_ro (guestfs_h *g,\n"
34860 " const char *device,\n"
34861 " const char *mountpoint);\n"
34866 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5045
34867 #: ../src/guestfs-actions.pod:5045
34869 "This is the same as the C<guestfs_mount> command, but it mounts the "
34870 "filesystem with the read-only (I<-o ro>) flag."
34874 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5052
34875 #: ../src/guestfs-actions.pod:5052
34876 msgid "guestfs_mount_vfs"
34880 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5054
34881 #: ../src/guestfs-actions.pod:5054
34885 " guestfs_mount_vfs (guestfs_h *g,\n"
34886 " const char *options,\n"
34887 " const char *vfstype,\n"
34888 " const char *device,\n"
34889 " const char *mountpoint);\n"
34894 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5061
34895 #: ../src/guestfs-actions.pod:5061
34897 "This is the same as the C<guestfs_mount> command, but it allows you to set "
34898 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
34903 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5069
34904 #: ../src/guestfs-actions.pod:5069
34905 msgid "guestfs_mountpoints"
34909 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5071
34910 #: ../src/guestfs-actions.pod:5071
34914 " guestfs_mountpoints (guestfs_h *g);\n"
34919 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5074
34920 #: ../src/guestfs-actions.pod:5074
34922 "This call is similar to C<guestfs_mounts>. That call returns a list of "
34923 "devices. This one returns a hash table (map) of device name to directory "
34924 "where the device is mounted."
34928 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5086
34929 #: ../src/guestfs-actions.pod:5086
34930 msgid "guestfs_mounts"
34934 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5088
34935 #: ../src/guestfs-actions.pod:5088
34939 " guestfs_mounts (guestfs_h *g);\n"
34944 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5096
34945 #: ../src/guestfs-actions.pod:5096
34946 msgid "See also: C<guestfs_mountpoints>"
34950 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5104
34951 #: ../src/guestfs-actions.pod:5104
34956 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5106
34957 #: ../src/guestfs-actions.pod:5106
34961 " guestfs_mv (guestfs_h *g,\n"
34962 " const char *src,\n"
34963 " const char *dest);\n"
34968 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5118
34969 #: ../src/guestfs-actions.pod:5118
34970 msgid "guestfs_ntfs_3g_probe"
34974 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5120
34975 #: ../src/guestfs-actions.pod:5120
34979 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
34981 " const char *device);\n"
34986 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5139
34987 #: ../src/guestfs-actions.pod:5139
34988 msgid "(Added in 1.0.43)"
34992 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5141
34993 #: ../src/guestfs-actions.pod:5141
34994 msgid "guestfs_ntfsresize"
34998 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5143
34999 #: ../src/guestfs-actions.pod:5143
35003 " guestfs_ntfsresize (guestfs_h *g,\n"
35004 " const char *device);\n"
35009 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5171
35010 #: ../src/guestfs-actions.pod:5171
35011 msgid "guestfs_ntfsresize_opts"
35015 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5173
35016 #: ../src/guestfs-actions.pod:5173
35020 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
35021 " const char *device,\n"
35027 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5183
35028 #: ../src/guestfs-actions.pod:5183
35031 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
35032 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
35037 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5203
35038 #: ../src/guestfs-actions.pod:5203
35040 "After the resize operation, the filesystem is always marked as requiring a "
35041 "consistency check (for safety). You have to boot into Windows to perform "
35042 "this check and clear this condition. If you I<don't> set the C<force> "
35043 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
35044 "times on a single filesystem without booting into Windows between each "
35049 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5218
35050 #: ../src/guestfs-actions.pod:5218
35051 msgid "guestfs_ntfsresize_opts_va"
35055 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5220
35056 #: ../src/guestfs-actions.pod:5220
35060 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
35061 " const char *device,\n"
35062 " va_list args);\n"
35067 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5225
35068 #: ../src/guestfs-actions.pod:5225
35069 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
35073 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5229
35074 #: ../src/guestfs-actions.pod:5229
35075 msgid "guestfs_ntfsresize_opts_argv"
35079 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5231
35080 #: ../src/guestfs-actions.pod:5231
35084 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
35085 " const char *device,\n"
35086 " const struct guestfs_ntfsresize_opts_argv *optargs);\n"
35091 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5236
35092 #: ../src/guestfs-actions.pod:5236
35093 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
35097 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5240
35098 #: ../src/guestfs-actions.pod:5240
35099 msgid "guestfs_ntfsresize_size"
35103 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5242
35104 #: ../src/guestfs-actions.pod:5242
35108 " guestfs_ntfsresize_size (guestfs_h *g,\n"
35109 " const char *device,\n"
35110 " int64_t size);\n"
35115 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5247
35116 #: ../src/guestfs-actions.pod:5247
35118 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
35119 "to specify the new size (in bytes) explicitly."
35123 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5259
35124 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5701
35125 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5774
35126 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6042
35127 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7665
35128 #: ../src/guestfs-actions.pod:5259 ../src/guestfs-actions.pod:5701
35129 #: ../src/guestfs-actions.pod:5774 ../src/guestfs-actions.pod:6042
35130 #: ../src/guestfs-actions.pod:7665
35131 msgid "(Added in 1.3.14)"
35135 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5261
35136 #: ../src/guestfs-actions.pod:5261
35137 msgid "guestfs_part_add"
35141 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5263
35142 #: ../src/guestfs-actions.pod:5263
35146 " guestfs_part_add (guestfs_h *g,\n"
35147 " const char *device,\n"
35148 " const char *prlogex,\n"
35149 " int64_t startsect,\n"
35150 " int64_t endsect);\n"
35155 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5270
35156 #: ../src/guestfs-actions.pod:5270
35158 "This command adds a partition to C<device>. If there is no partition table "
35159 "on the device, call C<guestfs_part_init> first."
35163 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5282
35164 #: ../src/guestfs-actions.pod:5282
35166 "Creating a partition which covers the whole disk is not so easy. Use "
35167 "C<guestfs_part_disk> to do that."
35171 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5287
35172 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5325
35173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5378
35174 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5462
35175 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5500
35176 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5519
35177 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5559
35178 #: ../src/guestfs-actions.pod:5287 ../src/guestfs-actions.pod:5325
35179 #: ../src/guestfs-actions.pod:5378 ../src/guestfs-actions.pod:5462
35180 #: ../src/guestfs-actions.pod:5500 ../src/guestfs-actions.pod:5519
35181 #: ../src/guestfs-actions.pod:5559
35182 msgid "(Added in 1.0.78)"
35186 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5289
35187 #: ../src/guestfs-actions.pod:5289
35188 msgid "guestfs_part_del"
35192 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5291
35193 #: ../src/guestfs-actions.pod:5291
35197 " guestfs_part_del (guestfs_h *g,\n"
35198 " const char *device,\n"
35204 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5306
35205 #: ../src/guestfs-actions.pod:5306
35206 msgid "guestfs_part_disk"
35210 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5308
35211 #: ../src/guestfs-actions.pod:5308
35215 " guestfs_part_disk (guestfs_h *g,\n"
35216 " const char *device,\n"
35217 " const char *parttype);\n"
35222 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5313
35223 #: ../src/guestfs-actions.pod:5313
35225 "This command is simply a combination of C<guestfs_part_init> followed by "
35226 "C<guestfs_part_add> to create a single primary partition covering the whole "
35231 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5317
35232 #: ../src/guestfs-actions.pod:5317
35234 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
35235 "possible values are described in C<guestfs_part_init>."
35239 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5327
35240 #: ../src/guestfs-actions.pod:5327
35241 msgid "guestfs_part_get_bootable"
35245 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5329
35246 #: ../src/guestfs-actions.pod:5329
35250 " guestfs_part_get_bootable (guestfs_h *g,\n"
35251 " const char *device,\n"
35257 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5337
35258 #: ../src/guestfs-actions.pod:5337
35259 msgid "See also C<guestfs_part_set_bootable>."
35263 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5343
35264 #: ../src/guestfs-actions.pod:5343
35265 msgid "guestfs_part_get_mbr_id"
35269 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5345
35270 #: ../src/guestfs-actions.pod:5345
35274 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
35275 " const char *device,\n"
35281 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5353
35282 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5535
35283 #: ../src/guestfs-actions.pod:5353 ../src/guestfs-actions.pod:5535
35285 "Note that only MBR (old DOS-style) partitions have type bytes. You will get "
35286 "undefined results for other partition table types (see "
35287 "C<guestfs_part_get_parttype>)."
35291 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5361
35292 #: ../src/guestfs-actions.pod:5361
35293 msgid "guestfs_part_get_parttype"
35297 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5363
35298 #: ../src/guestfs-actions.pod:5363
35302 " guestfs_part_get_parttype (guestfs_h *g,\n"
35303 " const char *device);\n"
35308 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5370
35309 #: ../src/guestfs-actions.pod:5370
35311 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
35312 "table), C<gpt> (a GPT/EFI-style partition table). Other values are "
35313 "possible, although unusual. See C<guestfs_part_init> for a full list."
35317 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5380
35318 #: ../src/guestfs-actions.pod:5380
35319 msgid "guestfs_part_init"
35323 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5382
35324 #: ../src/guestfs-actions.pod:5382
35328 " guestfs_part_init (guestfs_h *g,\n"
35329 " const char *device,\n"
35330 " const char *parttype);\n"
35335 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5391
35336 #: ../src/guestfs-actions.pod:5391
35338 "Initially there are no partitions. Following this, you should call "
35339 "C<guestfs_part_add> for each partition required."
35343 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5464
35344 #: ../src/guestfs-actions.pod:5464
35345 msgid "guestfs_part_list"
35346 msgstr "guestfs_part_list"
35349 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5466
35350 #: ../src/guestfs-actions.pod:5466
35353 " struct guestfs_partition_list *\n"
35354 " guestfs_part_list (guestfs_h *g,\n"
35355 " const char *device);\n"
35358 " struct guestfs_partition_list *\n"
35359 " guestfs_part_list (guestfs_h *g,\n"
35360 " const char *device);\n"
35364 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5483
35365 #: ../src/guestfs-actions.pod:5483
35367 "Start of the partition I<in bytes>. To get sectors you have to divide by "
35368 "the device's sector size, see C<guestfs_blockdev_getss>."
35372 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5496
35373 #: ../src/guestfs-actions.pod:5496
35375 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
35376 "was an error. I<The caller must call C<guestfs_free_partition_list> after "
35381 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5502
35382 #: ../src/guestfs-actions.pod:5502
35383 msgid "guestfs_part_set_bootable"
35387 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5504
35388 #: ../src/guestfs-actions.pod:5504
35392 " guestfs_part_set_bootable (guestfs_h *g,\n"
35393 " const char *device,\n"
35395 " int bootable);\n"
35400 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5521
35401 #: ../src/guestfs-actions.pod:5521
35402 msgid "guestfs_part_set_mbr_id"
35406 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5523
35407 #: ../src/guestfs-actions.pod:5523
35411 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
35412 " const char *device,\n"
35419 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5543
35420 #: ../src/guestfs-actions.pod:5543
35421 msgid "guestfs_part_set_name"
35425 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5545
35426 #: ../src/guestfs-actions.pod:5545
35430 " guestfs_part_set_name (guestfs_h *g,\n"
35431 " const char *device,\n"
35433 " const char *name);\n"
35438 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5561
35439 #: ../src/guestfs-actions.pod:5561
35440 msgid "guestfs_part_to_dev"
35444 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5563
35445 #: ../src/guestfs-actions.pod:5563
35449 " guestfs_part_to_dev (guestfs_h *g,\n"
35450 " const char *partition);\n"
35455 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5571
35456 #: ../src/guestfs-actions.pod:5571
35458 "The named partition must exist, for example as a string returned from "
35459 "C<guestfs_list_partitions>."
35463 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5579
35464 #: ../src/guestfs-actions.pod:5579
35465 msgid "guestfs_ping_daemon"
35469 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5581
35470 #: ../src/guestfs-actions.pod:5581
35474 " guestfs_ping_daemon (guestfs_h *g);\n"
35479 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5593
35480 #: ../src/guestfs-actions.pod:5593
35481 msgid "guestfs_pread"
35485 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5595
35486 #: ../src/guestfs-actions.pod:5595
35490 " guestfs_pread (guestfs_h *g,\n"
35491 " const char *path,\n"
35493 " int64_t offset,\n"
35494 " size_t *size_r);\n"
35499 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5608
35500 #: ../src/guestfs-actions.pod:5608
35501 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
35505 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5619
35506 #: ../src/guestfs-actions.pod:5619
35507 msgid "guestfs_pread_device"
35511 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5621
35512 #: ../src/guestfs-actions.pod:5621
35516 " guestfs_pread_device (guestfs_h *g,\n"
35517 " const char *device,\n"
35519 " int64_t offset,\n"
35520 " size_t *size_r);\n"
35525 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5634
35526 #: ../src/guestfs-actions.pod:5634
35527 msgid "See also C<guestfs_pread>."
35531 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5643
35532 #: ../src/guestfs-actions.pod:5643
35533 msgid "(Added in 1.5.21)"
35537 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5645
35538 #: ../src/guestfs-actions.pod:5645
35539 msgid "guestfs_pvcreate"
35543 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5647
35544 #: ../src/guestfs-actions.pod:5647
35548 " guestfs_pvcreate (guestfs_h *g,\n"
35549 " const char *device);\n"
35554 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5659
35555 #: ../src/guestfs-actions.pod:5659
35556 msgid "guestfs_pvremove"
35560 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5661
35561 #: ../src/guestfs-actions.pod:5661
35565 " guestfs_pvremove (guestfs_h *g,\n"
35566 " const char *device);\n"
35571 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5676
35572 #: ../src/guestfs-actions.pod:5676
35573 msgid "guestfs_pvresize"
35577 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5678
35578 #: ../src/guestfs-actions.pod:5678
35582 " guestfs_pvresize (guestfs_h *g,\n"
35583 " const char *device);\n"
35588 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5689
35589 #: ../src/guestfs-actions.pod:5689
35590 msgid "guestfs_pvresize_size"
35594 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5691
35595 #: ../src/guestfs-actions.pod:5691
35599 " guestfs_pvresize_size (guestfs_h *g,\n"
35600 " const char *device,\n"
35601 " int64_t size);\n"
35606 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5696
35607 #: ../src/guestfs-actions.pod:5696
35609 "This command is the same as C<guestfs_pvresize> except that it allows you to "
35610 "specify the new size (in bytes) explicitly."
35614 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5703
35615 #: ../src/guestfs-actions.pod:5703
35616 msgid "guestfs_pvs"
35620 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5705
35621 #: ../src/guestfs-actions.pod:5705
35625 " guestfs_pvs (guestfs_h *g);\n"
35630 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5714
35631 #: ../src/guestfs-actions.pod:5714
35632 msgid "See also C<guestfs_pvs_full>."
35636 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5722
35637 #: ../src/guestfs-actions.pod:5722
35638 msgid "guestfs_pvs_full"
35642 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5724
35643 #: ../src/guestfs-actions.pod:5724
35646 " struct guestfs_lvm_pv_list *\n"
35647 " guestfs_pvs_full (guestfs_h *g);\n"
35652 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5730
35653 #: ../src/guestfs-actions.pod:5730
35655 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
35656 "was an error. I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
35660 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5736
35661 #: ../src/guestfs-actions.pod:5736
35662 msgid "guestfs_pvuuid"
35666 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5738
35667 #: ../src/guestfs-actions.pod:5738
35671 " guestfs_pvuuid (guestfs_h *g,\n"
35672 " const char *device);\n"
35677 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5749
35678 #: ../src/guestfs-actions.pod:5749
35679 msgid "guestfs_pwrite"
35683 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5751
35684 #: ../src/guestfs-actions.pod:5751
35688 " guestfs_pwrite (guestfs_h *g,\n"
35689 " const char *path,\n"
35690 " const char *content,\n"
35691 " size_t content_size,\n"
35692 " int64_t offset);\n"
35697 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5767
35698 #: ../src/guestfs-actions.pod:5767
35699 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
35703 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5776
35704 #: ../src/guestfs-actions.pod:5776
35705 msgid "guestfs_pwrite_device"
35709 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5778
35710 #: ../src/guestfs-actions.pod:5778
35714 " guestfs_pwrite_device (guestfs_h *g,\n"
35715 " const char *device,\n"
35716 " const char *content,\n"
35717 " size_t content_size,\n"
35718 " int64_t offset);\n"
35723 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5793
35724 #: ../src/guestfs-actions.pod:5793
35725 msgid "See also C<guestfs_pwrite>."
35729 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5800
35730 #: ../src/guestfs-actions.pod:5800
35731 msgid "(Added in 1.5.20)"
35735 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5802
35736 #: ../src/guestfs-actions.pod:5802
35737 msgid "guestfs_read_file"
35741 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5804
35742 #: ../src/guestfs-actions.pod:5804
35746 " guestfs_read_file (guestfs_h *g,\n"
35747 " const char *path,\n"
35748 " size_t *size_r);\n"
35753 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5812
35754 #: ../src/guestfs-actions.pod:5812
35756 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
35757 "embedded ASCII NUL characters. However unlike C<guestfs_download>, this "
35758 "function is limited in the total size of file that can be handled."
35762 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5824
35763 #: ../src/guestfs-actions.pod:5824
35764 msgid "(Added in 1.0.63)"
35768 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5826
35769 #: ../src/guestfs-actions.pod:5826
35770 msgid "guestfs_read_lines"
35774 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5828
35775 #: ../src/guestfs-actions.pod:5828
35779 " guestfs_read_lines (guestfs_h *g,\n"
35780 " const char *path);\n"
35785 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5837
35786 #: ../src/guestfs-actions.pod:5837
35788 "Note that this function cannot correctly handle binary files (specifically, "
35789 "files containing C<\\0> character which is treated as end of line). For "
35790 "those you need to use the C<guestfs_read_file> function which has a more "
35791 "complex interface."
35795 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5848
35796 #: ../src/guestfs-actions.pod:5848
35797 msgid "guestfs_readdir"
35801 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5850
35802 #: ../src/guestfs-actions.pod:5850
35805 " struct guestfs_dirent_list *\n"
35806 " guestfs_readdir (guestfs_h *g,\n"
35807 " const char *dir);\n"
35812 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5904
35813 #: ../src/guestfs-actions.pod:5904
35815 "This function is primarily intended for use by programs. To get a simple "
35816 "list of names, use C<guestfs_ls>. To get a printable directory for human "
35817 "consumption, use C<guestfs_ll>."
35821 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5908
35822 #: ../src/guestfs-actions.pod:5908
35824 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
35825 "was an error. I<The caller must call C<guestfs_free_dirent_list> after use>."
35829 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5914
35830 #: ../src/guestfs-actions.pod:5914
35831 msgid "guestfs_readlink"
35835 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5916
35836 #: ../src/guestfs-actions.pod:5916
35840 " guestfs_readlink (guestfs_h *g,\n"
35841 " const char *path);\n"
35846 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5927
35847 #: ../src/guestfs-actions.pod:5927
35848 msgid "guestfs_readlinklist"
35852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5929
35853 #: ../src/guestfs-actions.pod:5929
35857 " guestfs_readlinklist (guestfs_h *g,\n"
35858 " const char *path,\n"
35859 " char *const *names);\n"
35864 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5962
35865 #: ../src/guestfs-actions.pod:5962
35866 msgid "guestfs_realpath"
35870 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5964
35871 #: ../src/guestfs-actions.pod:5964
35875 " guestfs_realpath (guestfs_h *g,\n"
35876 " const char *path);\n"
35881 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5976
35882 #: ../src/guestfs-actions.pod:5976
35883 msgid "guestfs_removexattr"
35887 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5978
35888 #: ../src/guestfs-actions.pod:5978
35892 " guestfs_removexattr (guestfs_h *g,\n"
35893 " const char *xattr,\n"
35894 " const char *path);\n"
35899 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5986
35900 #: ../src/guestfs-actions.pod:5986
35901 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
35905 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5992
35906 #: ../src/guestfs-actions.pod:5992
35907 msgid "guestfs_resize2fs"
35911 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:5994
35912 #: ../src/guestfs-actions.pod:5994
35916 " guestfs_resize2fs (guestfs_h *g,\n"
35917 " const char *device);\n"
35922 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6001
35923 #: ../src/guestfs-actions.pod:6001
35925 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
35926 "C<device> before calling this command. For unknown reasons C<resize2fs> "
35927 "sometimes gives an error about this and sometimes not. In any case, it is "
35928 "always safe to call C<guestfs_e2fsck_f> before calling this function."
35932 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6011
35933 #: ../src/guestfs-actions.pod:6011
35934 msgid "guestfs_resize2fs_M"
35938 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6013
35939 #: ../src/guestfs-actions.pod:6013
35943 " guestfs_resize2fs_M (guestfs_h *g,\n"
35944 " const char *device);\n"
35949 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6017
35950 #: ../src/guestfs-actions.pod:6017
35952 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
35953 "resized to its minimum size. This works like the I<-M> option to the "
35954 "C<resize2fs> command."
35958 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6021
35959 #: ../src/guestfs-actions.pod:6021
35961 "To get the resulting size of the filesystem you should call "
35962 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values. "
35963 "These two numbers, multiplied together, give the resulting size of the "
35964 "minimal filesystem in bytes."
35968 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6030
35969 #: ../src/guestfs-actions.pod:6030
35970 msgid "guestfs_resize2fs_size"
35974 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6032
35975 #: ../src/guestfs-actions.pod:6032
35979 " guestfs_resize2fs_size (guestfs_h *g,\n"
35980 " const char *device,\n"
35981 " int64_t size);\n"
35986 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6037
35987 #: ../src/guestfs-actions.pod:6037
35989 "This command is the same as C<guestfs_resize2fs> except that it allows you "
35990 "to specify the new size (in bytes) explicitly."
35994 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6044
35995 #: ../src/guestfs-actions.pod:6044
36000 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6046
36001 #: ../src/guestfs-actions.pod:6046
36005 " guestfs_rm (guestfs_h *g,\n"
36006 " const char *path);\n"
36011 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6056
36012 #: ../src/guestfs-actions.pod:6056
36013 msgid "guestfs_rm_rf"
36017 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6058
36018 #: ../src/guestfs-actions.pod:6058
36022 " guestfs_rm_rf (guestfs_h *g,\n"
36023 " const char *path);\n"
36028 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6070
36029 #: ../src/guestfs-actions.pod:6070
36030 msgid "guestfs_rmdir"
36034 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6072
36035 #: ../src/guestfs-actions.pod:6072
36039 " guestfs_rmdir (guestfs_h *g,\n"
36040 " const char *path);\n"
36045 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6082
36046 #: ../src/guestfs-actions.pod:6082
36047 msgid "guestfs_rmmountpoint"
36051 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6084
36052 #: ../src/guestfs-actions.pod:6084
36056 " guestfs_rmmountpoint (guestfs_h *g,\n"
36057 " const char *exemptpath);\n"
36062 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6088
36063 #: ../src/guestfs-actions.pod:6088
36065 "This calls removes a mountpoint that was previously created with "
36066 "C<guestfs_mkmountpoint>. See C<guestfs_mkmountpoint> for full details."
36070 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6096
36071 #: ../src/guestfs-actions.pod:6096
36072 msgid "guestfs_scrub_device"
36076 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6098
36077 #: ../src/guestfs-actions.pod:6098
36081 " guestfs_scrub_device (guestfs_h *g,\n"
36082 " const char *device);\n"
36087 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6113
36088 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6131
36089 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6150
36090 #: ../src/guestfs-actions.pod:6113 ../src/guestfs-actions.pod:6131
36091 #: ../src/guestfs-actions.pod:6150
36092 msgid "(Added in 1.0.52)"
36096 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6115
36097 #: ../src/guestfs-actions.pod:6115
36098 msgid "guestfs_scrub_file"
36102 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6117
36103 #: ../src/guestfs-actions.pod:6117
36107 " guestfs_scrub_file (guestfs_h *g,\n"
36108 " const char *file);\n"
36113 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6133
36114 #: ../src/guestfs-actions.pod:6133
36115 msgid "guestfs_scrub_freespace"
36119 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6135
36120 #: ../src/guestfs-actions.pod:6135
36124 " guestfs_scrub_freespace (guestfs_h *g,\n"
36125 " const char *dir);\n"
36130 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6139
36131 #: ../src/guestfs-actions.pod:6139
36133 "This command creates the directory C<dir> and then fills it with files until "
36134 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
36135 "and deletes them. The intention is to scrub any free space on the partition "
36136 "containing C<dir>."
36140 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6152
36141 #: ../src/guestfs-actions.pod:6152
36142 msgid "guestfs_set_append"
36146 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6154
36147 #: ../src/guestfs-actions.pod:6154
36151 " guestfs_set_append (guestfs_h *g,\n"
36152 " const char *append);\n"
36157 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6171
36158 #: ../src/guestfs-actions.pod:6171
36159 msgid "guestfs_set_attach_method"
36163 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6173
36164 #: ../src/guestfs-actions.pod:6173
36168 " guestfs_set_attach_method (guestfs_h *g,\n"
36169 " const char *attachmethod);\n"
36174 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6201
36175 #: ../src/guestfs-actions.pod:6201
36176 msgid "guestfs_set_autosync"
36180 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6203
36181 #: ../src/guestfs-actions.pod:6203
36185 " guestfs_set_autosync (guestfs_h *g,\n"
36186 " int autosync);\n"
36191 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6219
36192 #: ../src/guestfs-actions.pod:6219
36193 msgid "guestfs_set_direct"
36197 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6221
36198 #: ../src/guestfs-actions.pod:6221
36202 " guestfs_set_direct (guestfs_h *g,\n"
36208 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6229
36209 #: ../src/guestfs-actions.pod:6229
36211 "One consequence of this is that log messages aren't caught by the library "
36212 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
36217 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6242
36218 #: ../src/guestfs-actions.pod:6242
36219 msgid "guestfs_set_e2label"
36223 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6244
36224 #: ../src/guestfs-actions.pod:6244
36228 " guestfs_set_e2label (guestfs_h *g,\n"
36229 " const char *device,\n"
36230 " const char *label);\n"
36235 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6253
36236 #: ../src/guestfs-actions.pod:6253
36238 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
36239 "the existing label on a filesystem."
36243 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6260
36244 #: ../src/guestfs-actions.pod:6260
36245 msgid "guestfs_set_e2uuid"
36249 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6262
36250 #: ../src/guestfs-actions.pod:6262
36254 " guestfs_set_e2uuid (guestfs_h *g,\n"
36255 " const char *device,\n"
36256 " const char *uuid);\n"
36261 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6272
36262 #: ../src/guestfs-actions.pod:6272
36264 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
36265 "the existing UUID of a filesystem."
36269 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6279
36270 #: ../src/guestfs-actions.pod:6279
36271 msgid "guestfs_set_memsize"
36275 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6281
36276 #: ../src/guestfs-actions.pod:6281
36280 " guestfs_set_memsize (guestfs_h *g,\n"
36286 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6285
36287 #: ../src/guestfs-actions.pod:6285
36289 "This sets the memory size in megabytes allocated to the qemu subprocess. "
36290 "This only has any effect if called before C<guestfs_launch>."
36294 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6300
36295 #: ../src/guestfs-actions.pod:6300
36296 msgid "guestfs_set_network"
36300 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6302
36301 #: ../src/guestfs-actions.pod:6302
36305 " guestfs_set_network (guestfs_h *g,\n"
36311 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6312
36312 #: ../src/guestfs-actions.pod:6312
36314 "You must call this before calling C<guestfs_launch>, otherwise it has no "
36319 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6319
36320 #: ../src/guestfs-actions.pod:6319
36321 msgid "guestfs_set_path"
36325 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6321
36326 #: ../src/guestfs-actions.pod:6321
36330 " guestfs_set_path (guestfs_h *g,\n"
36331 " const char *searchpath);\n"
36336 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6336
36337 #: ../src/guestfs-actions.pod:6336
36338 msgid "guestfs_set_pgroup"
36342 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6338
36343 #: ../src/guestfs-actions.pod:6338
36347 " guestfs_set_pgroup (guestfs_h *g,\n"
36353 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6355
36354 #: ../src/guestfs-actions.pod:6355
36355 msgid "guestfs_set_qemu"
36359 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6357
36360 #: ../src/guestfs-actions.pod:6357
36364 " guestfs_set_qemu (guestfs_h *g,\n"
36365 " const char *qemu);\n"
36370 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6383
36371 #: ../src/guestfs-actions.pod:6383
36372 msgid "guestfs_set_recovery_proc"
36376 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6385
36377 #: ../src/guestfs-actions.pod:6385
36381 " guestfs_set_recovery_proc (guestfs_h *g,\n"
36382 " int recoveryproc);\n"
36387 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6389
36388 #: ../src/guestfs-actions.pod:6389
36390 "If this is called with the parameter C<false> then C<guestfs_launch> does "
36391 "not create a recovery process. The purpose of the recovery process is to "
36392 "stop runaway qemu processes in the case where the main program aborts "
36397 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6394
36398 #: ../src/guestfs-actions.pod:6394
36400 "This only has any effect if called before C<guestfs_launch>, and the default "
36405 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6407
36406 #: ../src/guestfs-actions.pod:6407
36407 msgid "guestfs_set_selinux"
36411 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6409
36412 #: ../src/guestfs-actions.pod:6409
36416 " guestfs_set_selinux (guestfs_h *g,\n"
36422 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6426
36423 #: ../src/guestfs-actions.pod:6426
36424 msgid "guestfs_set_trace"
36428 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6428
36429 #: ../src/guestfs-actions.pod:6428
36433 " guestfs_set_trace (guestfs_h *g,\n"
36439 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6442
36440 #: ../src/guestfs-actions.pod:6442
36442 "Trace messages are normally sent to C<stderr>, unless you register a "
36443 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
36447 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6450
36448 #: ../src/guestfs-actions.pod:6450
36449 msgid "guestfs_set_verbose"
36453 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6452
36454 #: ../src/guestfs-actions.pod:6452
36458 " guestfs_set_verbose (guestfs_h *g,\n"
36464 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6461
36465 #: ../src/guestfs-actions.pod:6461
36467 "Verbose messages are normally sent to C<stderr>, unless you register a "
36468 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
36472 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6469
36473 #: ../src/guestfs-actions.pod:6469
36474 msgid "guestfs_setcon"
36478 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6471
36479 #: ../src/guestfs-actions.pod:6471
36483 " guestfs_setcon (guestfs_h *g,\n"
36484 " const char *context);\n"
36489 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6484
36490 #: ../src/guestfs-actions.pod:6484
36491 msgid "guestfs_setxattr"
36495 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6486
36496 #: ../src/guestfs-actions.pod:6486
36500 " guestfs_setxattr (guestfs_h *g,\n"
36501 " const char *xattr,\n"
36502 " const char *val,\n"
36504 " const char *path);\n"
36509 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6497
36510 #: ../src/guestfs-actions.pod:6497
36511 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
36515 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6503
36516 #: ../src/guestfs-actions.pod:6503
36517 msgid "guestfs_sfdisk"
36521 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6505
36522 #: ../src/guestfs-actions.pod:6505
36526 " guestfs_sfdisk (guestfs_h *g,\n"
36527 " const char *device,\n"
36531 " char *const *lines);\n"
36536 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6533
36537 #: ../src/guestfs-actions.pod:6533
36539 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
36543 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6550
36544 #: ../src/guestfs-actions.pod:6550
36545 msgid "guestfs_sfdiskM"
36549 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6552
36550 #: ../src/guestfs-actions.pod:6552
36554 " guestfs_sfdiskM (guestfs_h *g,\n"
36555 " const char *device,\n"
36556 " char *const *lines);\n"
36561 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6557
36562 #: ../src/guestfs-actions.pod:6557
36564 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
36565 "partition sizes are specified in megabytes only (rounded to the nearest "
36566 "cylinder) and you don't need to specify the cyls, heads and sectors "
36567 "parameters which were rarely if ever used anyway."
36571 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6563
36572 #: ../src/guestfs-actions.pod:6563
36574 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
36575 "C<guestfs_part_disk>"
36579 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6580
36580 #: ../src/guestfs-actions.pod:6580
36581 msgid "guestfs_sfdisk_N"
36585 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6582
36586 #: ../src/guestfs-actions.pod:6582
36590 " guestfs_sfdisk_N (guestfs_h *g,\n"
36591 " const char *device,\n"
36596 " const char *line);\n"
36601 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6594
36602 #: ../src/guestfs-actions.pod:6594
36604 "For other parameters, see C<guestfs_sfdisk>. You should usually pass C<0> "
36605 "for the cyls/heads/sectors parameters."
36609 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6597
36610 #: ../src/guestfs-actions.pod:6597
36611 msgid "See also: C<guestfs_part_add>"
36615 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6613
36616 #: ../src/guestfs-actions.pod:6613
36617 msgid "guestfs_sfdisk_disk_geometry"
36621 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6615
36622 #: ../src/guestfs-actions.pod:6615
36626 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
36627 " const char *device);\n"
36632 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6619
36633 #: ../src/guestfs-actions.pod:6619
36635 "This displays the disk geometry of C<device> read from the partition table. "
36636 "Especially in the case where the underlying block device has been resized, "
36637 "this can be different from the kernel's idea of the geometry (see "
36638 "C<guestfs_sfdisk_kernel_geometry>)."
36642 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6632
36643 #: ../src/guestfs-actions.pod:6632
36644 msgid "guestfs_sfdisk_kernel_geometry"
36648 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6634
36649 #: ../src/guestfs-actions.pod:6634
36653 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
36654 " const char *device);\n"
36659 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6648
36660 #: ../src/guestfs-actions.pod:6648
36661 msgid "guestfs_sfdisk_l"
36665 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6650
36666 #: ../src/guestfs-actions.pod:6650
36670 " guestfs_sfdisk_l (guestfs_h *g,\n"
36671 " const char *device);\n"
36676 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6658
36677 #: ../src/guestfs-actions.pod:6658
36678 msgid "See also: C<guestfs_part_list>"
36682 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6672
36683 #: ../src/guestfs-actions.pod:6672
36688 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6674
36689 #: ../src/guestfs-actions.pod:6674
36693 " guestfs_sh (guestfs_h *g,\n"
36694 " const char *command);\n"
36699 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6681
36700 #: ../src/guestfs-actions.pod:6681
36701 msgid "This is like C<guestfs_command>, but passes the command to:"
36705 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6689
36706 #: ../src/guestfs-actions.pod:6689
36707 msgid "All the provisos about C<guestfs_command> apply to this call."
36711 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6696
36712 #: ../src/guestfs-actions.pod:6696
36713 msgid "guestfs_sh_lines"
36717 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6698
36718 #: ../src/guestfs-actions.pod:6698
36722 " guestfs_sh_lines (guestfs_h *g,\n"
36723 " const char *command);\n"
36728 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6702
36729 #: ../src/guestfs-actions.pod:6702
36731 "This is the same as C<guestfs_sh>, but splits the result into a list of "
36736 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6705
36737 #: ../src/guestfs-actions.pod:6705
36738 msgid "See also: C<guestfs_command_lines>"
36742 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6713
36743 #: ../src/guestfs-actions.pod:6713
36744 msgid "guestfs_sleep"
36748 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6715
36749 #: ../src/guestfs-actions.pod:6715
36753 " guestfs_sleep (guestfs_h *g,\n"
36759 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6723
36760 #: ../src/guestfs-actions.pod:6723
36761 msgid "(Added in 1.0.41)"
36765 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6725
36766 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:109
36767 #: ../src/guestfs-actions.pod:6725 ../src/guestfs-structs.pod:109
36768 msgid "guestfs_stat"
36772 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6727
36773 #: ../src/guestfs-actions.pod:6727
36776 " struct guestfs_stat *\n"
36777 " guestfs_stat (guestfs_h *g,\n"
36778 " const char *path);\n"
36783 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6741
36784 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:135
36785 #: ../src/guestfs-actions.pod:6741 ../src/guestfs-structs.pod:135
36786 msgid "guestfs_statvfs"
36790 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6743
36791 #: ../src/guestfs-actions.pod:6743
36794 " struct guestfs_statvfs *\n"
36795 " guestfs_statvfs (guestfs_h *g,\n"
36796 " const char *path);\n"
36801 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6753
36802 #: ../src/guestfs-actions.pod:6753
36804 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
36805 "error. I<The caller must call C<guestfs_free_statvfs> after use>."
36809 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6759
36810 #: ../src/guestfs-actions.pod:6759
36811 msgid "guestfs_strings"
36815 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6761
36816 #: ../src/guestfs-actions.pod:6761
36820 " guestfs_strings (guestfs_h *g,\n"
36821 " const char *path);\n"
36826 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6777
36827 #: ../src/guestfs-actions.pod:6777
36828 msgid "guestfs_strings_e"
36832 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6779
36833 #: ../src/guestfs-actions.pod:6779
36837 " guestfs_strings_e (guestfs_h *g,\n"
36838 " const char *encoding,\n"
36839 " const char *path);\n"
36844 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6784
36845 #: ../src/guestfs-actions.pod:6784
36847 "This is like the C<guestfs_strings> command, but allows you to specify the "
36848 "encoding of strings that are looked for in the source file C<path>."
36852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6794
36853 #: ../src/guestfs-actions.pod:6794
36855 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
36856 "ISO-8859-X (this is what C<guestfs_strings> uses)."
36860 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6832
36861 #: ../src/guestfs-actions.pod:6832
36862 msgid "guestfs_swapoff_device"
36866 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6834
36867 #: ../src/guestfs-actions.pod:6834
36871 " guestfs_swapoff_device (guestfs_h *g,\n"
36872 " const char *device);\n"
36877 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6838
36878 #: ../src/guestfs-actions.pod:6838
36880 "This command disables the libguestfs appliance swap device or partition "
36881 "named C<device>. See C<guestfs_swapon_device>."
36885 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6846
36886 #: ../src/guestfs-actions.pod:6846
36887 msgid "guestfs_swapoff_file"
36891 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6848
36892 #: ../src/guestfs-actions.pod:6848
36896 " guestfs_swapoff_file (guestfs_h *g,\n"
36897 " const char *file);\n"
36902 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6858
36903 #: ../src/guestfs-actions.pod:6858
36904 msgid "guestfs_swapoff_label"
36908 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6860
36909 #: ../src/guestfs-actions.pod:6860
36913 " guestfs_swapoff_label (guestfs_h *g,\n"
36914 " const char *label);\n"
36919 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6871
36920 #: ../src/guestfs-actions.pod:6871
36921 msgid "guestfs_swapoff_uuid"
36925 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6873
36926 #: ../src/guestfs-actions.pod:6873
36930 " guestfs_swapoff_uuid (guestfs_h *g,\n"
36931 " const char *uuid);\n"
36936 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6884
36937 #: ../src/guestfs-actions.pod:6884
36938 msgid "guestfs_swapon_device"
36942 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6886
36943 #: ../src/guestfs-actions.pod:6886
36947 " guestfs_swapon_device (guestfs_h *g,\n"
36948 " const char *device);\n"
36953 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6890
36954 #: ../src/guestfs-actions.pod:6890
36956 "This command enables the libguestfs appliance to use the swap device or "
36957 "partition named C<device>. The increased memory is made available for all "
36958 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
36962 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6906
36963 #: ../src/guestfs-actions.pod:6906
36964 msgid "guestfs_swapon_file"
36968 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6908
36969 #: ../src/guestfs-actions.pod:6908
36973 " guestfs_swapon_file (guestfs_h *g,\n"
36974 " const char *file);\n"
36979 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6912
36980 #: ../src/guestfs-actions.pod:6912
36982 "This command enables swap to a file. See C<guestfs_swapon_device> for other "
36987 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6919
36988 #: ../src/guestfs-actions.pod:6919
36989 msgid "guestfs_swapon_label"
36993 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6921
36994 #: ../src/guestfs-actions.pod:6921
36998 " guestfs_swapon_label (guestfs_h *g,\n"
36999 " const char *label);\n"
37004 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6925
37005 #: ../src/guestfs-actions.pod:6925
37007 "This command enables swap to a labeled swap partition. See "
37008 "C<guestfs_swapon_device> for other notes."
37012 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6932
37013 #: ../src/guestfs-actions.pod:6932
37014 msgid "guestfs_swapon_uuid"
37018 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6934
37019 #: ../src/guestfs-actions.pod:6934
37023 " guestfs_swapon_uuid (guestfs_h *g,\n"
37024 " const char *uuid);\n"
37029 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6938
37030 #: ../src/guestfs-actions.pod:6938
37032 "This command enables swap to a swap partition with the given UUID. See "
37033 "C<guestfs_swapon_device> for other notes."
37037 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6945
37038 #: ../src/guestfs-actions.pod:6945
37039 msgid "guestfs_sync"
37043 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6947
37044 #: ../src/guestfs-actions.pod:6947
37048 " guestfs_sync (guestfs_h *g);\n"
37053 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6960
37054 #: ../src/guestfs-actions.pod:6960
37055 msgid "guestfs_tail"
37059 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6962
37060 #: ../src/guestfs-actions.pod:6962
37064 " guestfs_tail (guestfs_h *g,\n"
37065 " const char *path);\n"
37070 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6978
37071 #: ../src/guestfs-actions.pod:6978
37072 msgid "guestfs_tail_n"
37076 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:6980
37077 #: ../src/guestfs-actions.pod:6980
37081 " guestfs_tail_n (guestfs_h *g,\n"
37083 " const char *path);\n"
37088 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7002
37089 #: ../src/guestfs-actions.pod:7002
37090 msgid "guestfs_tar_in"
37094 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7004
37095 #: ../src/guestfs-actions.pod:7004
37099 " guestfs_tar_in (guestfs_h *g,\n"
37100 " const char *tarfile,\n"
37101 " const char *directory);\n"
37106 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7012
37107 #: ../src/guestfs-actions.pod:7012
37109 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
37113 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7017
37114 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7034
37115 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7050
37116 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7066
37117 #: ../src/guestfs-actions.pod:7017 ../src/guestfs-actions.pod:7034
37118 #: ../src/guestfs-actions.pod:7050 ../src/guestfs-actions.pod:7066
37119 msgid "(Added in 1.0.3)"
37123 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7019
37124 #: ../src/guestfs-actions.pod:7019
37125 msgid "guestfs_tar_out"
37129 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7021
37130 #: ../src/guestfs-actions.pod:7021
37134 " guestfs_tar_out (guestfs_h *g,\n"
37135 " const char *directory,\n"
37136 " const char *tarfile);\n"
37141 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7029
37142 #: ../src/guestfs-actions.pod:7029
37144 "To download a compressed tarball, use C<guestfs_tgz_out> or "
37145 "C<guestfs_txz_out>."
37149 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7036
37150 #: ../src/guestfs-actions.pod:7036
37151 msgid "guestfs_tgz_in"
37155 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7038
37156 #: ../src/guestfs-actions.pod:7038
37160 " guestfs_tgz_in (guestfs_h *g,\n"
37161 " const char *tarball,\n"
37162 " const char *directory);\n"
37167 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7046
37168 #: ../src/guestfs-actions.pod:7046
37169 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
37173 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7052
37174 #: ../src/guestfs-actions.pod:7052
37175 msgid "guestfs_tgz_out"
37179 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7054
37180 #: ../src/guestfs-actions.pod:7054
37184 " guestfs_tgz_out (guestfs_h *g,\n"
37185 " const char *directory,\n"
37186 " const char *tarball);\n"
37191 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7062
37192 #: ../src/guestfs-actions.pod:7062
37193 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
37197 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7068
37198 #: ../src/guestfs-actions.pod:7068
37199 msgid "guestfs_touch"
37203 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7070
37204 #: ../src/guestfs-actions.pod:7070
37208 " guestfs_touch (guestfs_h *g,\n"
37209 " const char *path);\n"
37214 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7085
37215 #: ../src/guestfs-actions.pod:7085
37216 msgid "guestfs_truncate"
37220 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7087
37221 #: ../src/guestfs-actions.pod:7087
37225 " guestfs_truncate (guestfs_h *g,\n"
37226 " const char *path);\n"
37231 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7098
37232 #: ../src/guestfs-actions.pod:7098
37233 msgid "guestfs_truncate_size"
37237 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7100
37238 #: ../src/guestfs-actions.pod:7100
37242 " guestfs_truncate_size (guestfs_h *g,\n"
37243 " const char *path,\n"
37244 " int64_t size);\n"
37249 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7108
37250 #: ../src/guestfs-actions.pod:7108
37252 "If the current file size is less than C<size> then the file is extended to "
37253 "the required size with zero bytes. This creates a sparse file (ie. disk "
37254 "blocks are not allocated for the file until you write to it). To create a "
37255 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
37259 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7118
37260 #: ../src/guestfs-actions.pod:7118
37261 msgid "guestfs_tune2fs_l"
37265 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7120
37266 #: ../src/guestfs-actions.pod:7120
37270 " guestfs_tune2fs_l (guestfs_h *g,\n"
37271 " const char *device);\n"
37276 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7140
37277 #: ../src/guestfs-actions.pod:7140
37278 msgid "guestfs_txz_in"
37282 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7142
37283 #: ../src/guestfs-actions.pod:7142
37287 " guestfs_txz_in (guestfs_h *g,\n"
37288 " const char *tarball,\n"
37289 " const char *directory);\n"
37294 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7154
37295 #: ../src/guestfs-actions.pod:7154
37296 msgid "guestfs_txz_out"
37300 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7156
37301 #: ../src/guestfs-actions.pod:7156
37305 " guestfs_txz_out (guestfs_h *g,\n"
37306 " const char *directory,\n"
37307 " const char *tarball);\n"
37312 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7168
37313 #: ../src/guestfs-actions.pod:7168
37314 msgid "guestfs_umask"
37318 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7170
37319 #: ../src/guestfs-actions.pod:7170
37323 " guestfs_umask (guestfs_h *g,\n"
37329 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7186
37330 #: ../src/guestfs-actions.pod:7186
37332 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
37333 "C<guestfs_mkdir>."
37337 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7195
37338 #: ../src/guestfs-actions.pod:7195
37339 msgid "guestfs_umount"
37343 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7197
37344 #: ../src/guestfs-actions.pod:7197
37348 " guestfs_umount (guestfs_h *g,\n"
37349 " const char *pathordevice);\n"
37354 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7209
37355 #: ../src/guestfs-actions.pod:7209
37356 msgid "guestfs_umount_all"
37360 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7211
37361 #: ../src/guestfs-actions.pod:7211
37365 " guestfs_umount_all (guestfs_h *g);\n"
37370 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7222
37371 #: ../src/guestfs-actions.pod:7222
37372 msgid "guestfs_upload"
37376 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7224
37377 #: ../src/guestfs-actions.pod:7224
37381 " guestfs_upload (guestfs_h *g,\n"
37382 " const char *filename,\n"
37383 " const char *remotefilename);\n"
37388 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7234
37389 #: ../src/guestfs-actions.pod:7234
37390 msgid "See also C<guestfs_download>."
37394 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7245
37395 #: ../src/guestfs-actions.pod:7245
37396 msgid "guestfs_upload_offset"
37400 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7247
37401 #: ../src/guestfs-actions.pod:7247
37405 " guestfs_upload_offset (guestfs_h *g,\n"
37406 " const char *filename,\n"
37407 " const char *remotefilename,\n"
37408 " int64_t offset);\n"
37413 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7263
37414 #: ../src/guestfs-actions.pod:7263
37416 "Note that there is no limit on the amount of data that can be uploaded with "
37417 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
37418 "full amount unless an error occurs."
37422 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7268
37423 #: ../src/guestfs-actions.pod:7268
37424 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
37428 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7279
37429 #: ../src/guestfs-actions.pod:7279
37430 msgid "guestfs_utimens"
37434 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7281
37435 #: ../src/guestfs-actions.pod:7281
37439 " guestfs_utimens (guestfs_h *g,\n"
37440 " const char *path,\n"
37441 " int64_t atsecs,\n"
37442 " int64_t atnsecs,\n"
37443 " int64_t mtsecs,\n"
37444 " int64_t mtnsecs);\n"
37449 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7310
37450 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:175
37451 #: ../src/guestfs-actions.pod:7310 ../src/guestfs-structs.pod:175
37452 msgid "guestfs_version"
37456 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7312
37457 #: ../src/guestfs-actions.pod:7312
37460 " struct guestfs_version *\n"
37461 " guestfs_version (guestfs_h *g);\n"
37466 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7340
37467 #: ../src/guestfs-actions.pod:7340
37469 "I<Note:> Don't use this call to test for availability of features. In "
37470 "enterprise distributions we backport features from later versions into "
37471 "earlier versions, making this an unreliable way to test for features. Use "
37472 "C<guestfs_available> instead."
37476 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7346
37477 #: ../src/guestfs-actions.pod:7346
37479 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
37480 "error. I<The caller must call C<guestfs_free_version> after use>."
37484 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7350
37485 #: ../src/guestfs-actions.pod:7350
37486 msgid "(Added in 1.0.58)"
37490 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7352
37491 #: ../src/guestfs-actions.pod:7352
37492 msgid "guestfs_vfs_label"
37496 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7354
37497 #: ../src/guestfs-actions.pod:7354
37501 " guestfs_vfs_label (guestfs_h *g,\n"
37502 " const char *device);\n"
37507 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7363
37508 #: ../src/guestfs-actions.pod:7363
37509 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
37513 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7368
37514 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7405
37515 #: ../src/guestfs-actions.pod:7368 ../src/guestfs-actions.pod:7405
37516 msgid "(Added in 1.3.18)"
37520 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7370
37521 #: ../src/guestfs-actions.pod:7370
37522 msgid "guestfs_vfs_type"
37526 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7372
37527 #: ../src/guestfs-actions.pod:7372
37531 " guestfs_vfs_type (guestfs_h *g,\n"
37532 " const char *device);\n"
37537 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7389
37538 #: ../src/guestfs-actions.pod:7389
37539 msgid "guestfs_vfs_uuid"
37543 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7391
37544 #: ../src/guestfs-actions.pod:7391
37548 " guestfs_vfs_uuid (guestfs_h *g,\n"
37549 " const char *device);\n"
37554 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7400
37555 #: ../src/guestfs-actions.pod:7400
37556 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
37560 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7407
37561 #: ../src/guestfs-actions.pod:7407
37562 msgid "guestfs_vg_activate"
37566 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7409
37567 #: ../src/guestfs-actions.pod:7409
37571 " guestfs_vg_activate (guestfs_h *g,\n"
37573 " char *const *volgroups);\n"
37578 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7426
37579 #: ../src/guestfs-actions.pod:7426
37580 msgid "guestfs_vg_activate_all"
37584 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7428
37585 #: ../src/guestfs-actions.pod:7428
37589 " guestfs_vg_activate_all (guestfs_h *g,\n"
37590 " int activate);\n"
37595 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7441
37596 #: ../src/guestfs-actions.pod:7441
37597 msgid "guestfs_vgcreate"
37601 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7443
37602 #: ../src/guestfs-actions.pod:7443
37606 " guestfs_vgcreate (guestfs_h *g,\n"
37607 " const char *volgroup,\n"
37608 " char *const *physvols);\n"
37613 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7455
37614 #: ../src/guestfs-actions.pod:7455
37615 msgid "guestfs_vglvuuids"
37619 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7457
37620 #: ../src/guestfs-actions.pod:7457
37624 " guestfs_vglvuuids (guestfs_h *g,\n"
37625 " const char *vgname);\n"
37630 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7464
37631 #: ../src/guestfs-actions.pod:7464
37633 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
37634 "associate logical volumes and volume groups."
37638 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7467
37639 #: ../src/guestfs-actions.pod:7467
37640 msgid "See also C<guestfs_vgpvuuids>."
37644 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7475
37645 #: ../src/guestfs-actions.pod:7475
37646 msgid "guestfs_vgpvuuids"
37650 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7477
37651 #: ../src/guestfs-actions.pod:7477
37655 " guestfs_vgpvuuids (guestfs_h *g,\n"
37656 " const char *vgname);\n"
37661 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7484
37662 #: ../src/guestfs-actions.pod:7484
37664 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
37665 "associate physical volumes and volume groups."
37669 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7487
37670 #: ../src/guestfs-actions.pod:7487
37671 msgid "See also C<guestfs_vglvuuids>."
37675 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7495
37676 #: ../src/guestfs-actions.pod:7495
37677 msgid "guestfs_vgremove"
37681 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7497
37682 #: ../src/guestfs-actions.pod:7497
37686 " guestfs_vgremove (guestfs_h *g,\n"
37687 " const char *vgname);\n"
37692 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7510
37693 #: ../src/guestfs-actions.pod:7510
37694 msgid "guestfs_vgrename"
37698 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7512
37699 #: ../src/guestfs-actions.pod:7512
37703 " guestfs_vgrename (guestfs_h *g,\n"
37704 " const char *volgroup,\n"
37705 " const char *newvolgroup);\n"
37710 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7523
37711 #: ../src/guestfs-actions.pod:7523
37712 msgid "guestfs_vgs"
37716 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7525
37717 #: ../src/guestfs-actions.pod:7525
37721 " guestfs_vgs (guestfs_h *g);\n"
37726 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7534
37727 #: ../src/guestfs-actions.pod:7534
37728 msgid "See also C<guestfs_vgs_full>."
37732 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7542
37733 #: ../src/guestfs-actions.pod:7542
37734 msgid "guestfs_vgs_full"
37738 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7544
37739 #: ../src/guestfs-actions.pod:7544
37742 " struct guestfs_lvm_vg_list *\n"
37743 " guestfs_vgs_full (guestfs_h *g);\n"
37748 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7550
37749 #: ../src/guestfs-actions.pod:7550
37751 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
37752 "was an error. I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
37756 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7556
37757 #: ../src/guestfs-actions.pod:7556
37758 msgid "guestfs_vgscan"
37762 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7558
37763 #: ../src/guestfs-actions.pod:7558
37767 " guestfs_vgscan (guestfs_h *g);\n"
37772 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7568
37773 #: ../src/guestfs-actions.pod:7568
37774 msgid "guestfs_vguuid"
37778 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7570
37779 #: ../src/guestfs-actions.pod:7570
37783 " guestfs_vguuid (guestfs_h *g,\n"
37784 " const char *vgname);\n"
37789 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7581
37790 #: ../src/guestfs-actions.pod:7581
37791 msgid "guestfs_wait_ready"
37795 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7583
37796 #: ../src/guestfs-actions.pod:7583
37800 " guestfs_wait_ready (guestfs_h *g);\n"
37805 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7586
37806 #: ../src/guestfs-actions.pod:7586
37807 msgid "This function is a no op."
37811 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7588
37812 #: ../src/guestfs-actions.pod:7588
37814 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
37815 "calling C<guestfs_launch> to wait for the launch to complete. However this "
37816 "is no longer necessary because C<guestfs_launch> now does the waiting."
37820 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7593
37821 #: ../src/guestfs-actions.pod:7593
37823 "If you see any calls to this function in code then you can just remove them, "
37824 "unless you want to retain compatibility with older versions of the API."
37828 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7599
37829 #: ../src/guestfs-actions.pod:7599
37831 "This function is deprecated. In new code, use the C<launch> call instead."
37835 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7608
37836 #: ../src/guestfs-actions.pod:7608
37837 msgid "guestfs_wc_c"
37841 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7610
37842 #: ../src/guestfs-actions.pod:7610
37846 " guestfs_wc_c (guestfs_h *g,\n"
37847 " const char *path);\n"
37852 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7621
37853 #: ../src/guestfs-actions.pod:7621
37854 msgid "guestfs_wc_l"
37858 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7623
37859 #: ../src/guestfs-actions.pod:7623
37863 " guestfs_wc_l (guestfs_h *g,\n"
37864 " const char *path);\n"
37869 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7634
37870 #: ../src/guestfs-actions.pod:7634
37871 msgid "guestfs_wc_w"
37875 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7636
37876 #: ../src/guestfs-actions.pod:7636
37880 " guestfs_wc_w (guestfs_h *g,\n"
37881 " const char *path);\n"
37886 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7647
37887 #: ../src/guestfs-actions.pod:7647
37888 msgid "guestfs_write"
37892 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7649
37893 #: ../src/guestfs-actions.pod:7649
37897 " guestfs_write (guestfs_h *g,\n"
37898 " const char *path,\n"
37899 " const char *content,\n"
37900 " size_t content_size);\n"
37905 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7658
37906 #: ../src/guestfs-actions.pod:7658
37907 msgid "See also C<guestfs_write_append>."
37911 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7667
37912 #: ../src/guestfs-actions.pod:7667
37913 msgid "guestfs_write_append"
37917 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7669
37918 #: ../src/guestfs-actions.pod:7669
37922 " guestfs_write_append (guestfs_h *g,\n"
37923 " const char *path,\n"
37924 " const char *content,\n"
37925 " size_t content_size);\n"
37930 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7678
37931 #: ../src/guestfs-actions.pod:7678
37932 msgid "See also C<guestfs_write>."
37936 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7687
37937 #: ../src/guestfs-actions.pod:7687
37938 msgid "guestfs_write_file"
37939 msgstr "guestfs_write_file"
37942 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7689
37943 #: ../src/guestfs-actions.pod:7689
37947 " guestfs_write_file (guestfs_h *g,\n"
37948 " const char *path,\n"
37949 " const char *content,\n"
37954 " guestfs_write_file (guestfs_h *g,\n"
37955 " const char *path,\n"
37956 " const char *content,\n"
37961 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7720
37962 #: ../src/guestfs-actions.pod:7720
37963 msgid "guestfs_zegrep"
37964 msgstr "guestfs_zegrep"
37967 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7722
37968 #: ../src/guestfs-actions.pod:7722
37972 " guestfs_zegrep (guestfs_h *g,\n"
37973 " const char *regex,\n"
37974 " const char *path);\n"
37978 " guestfs_zegrep (guestfs_h *g,\n"
37979 " const char *regex,\n"
37980 " const char *path);\n"
37984 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7739
37985 #: ../src/guestfs-actions.pod:7739
37986 msgid "guestfs_zegrepi"
37987 msgstr "guestfs_zegrepi"
37990 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7741
37991 #: ../src/guestfs-actions.pod:7741
37995 " guestfs_zegrepi (guestfs_h *g,\n"
37996 " const char *regex,\n"
37997 " const char *path);\n"
38001 " guestfs_zegrepi (guestfs_h *g,\n"
38002 " const char *regex,\n"
38003 " const char *path);\n"
38007 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7758
38008 #: ../src/guestfs-actions.pod:7758
38009 msgid "guestfs_zero"
38010 msgstr "guestfs_zero"
38013 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7760
38014 #: ../src/guestfs-actions.pod:7760
38018 " guestfs_zero (guestfs_h *g,\n"
38019 " const char *device);\n"
38023 " guestfs_zero (guestfs_h *g,\n"
38024 " const char *device);\n"
38028 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7770
38029 #: ../src/guestfs-actions.pod:7770
38031 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
38032 "C<guestfs_is_zero_device>"
38036 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7782
38037 #: ../src/guestfs-actions.pod:7782
38038 msgid "guestfs_zero_device"
38039 msgstr "guestfs_zero_device"
38042 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7784
38043 #: ../src/guestfs-actions.pod:7784
38047 " guestfs_zero_device (guestfs_h *g,\n"
38048 " const char *device);\n"
38052 " guestfs_zero_device (guestfs_h *g,\n"
38053 " const char *device);\n"
38057 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7788
38058 #: ../src/guestfs-actions.pod:7788
38060 "This command writes zeroes over the entire C<device>. Compare with "
38061 "C<guestfs_zero> which just zeroes the first few blocks of a device."
38065 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7802
38066 #: ../src/guestfs-actions.pod:7802
38067 msgid "(Added in 1.3.1)"
38068 msgstr "(Додано у 1.3.1)"
38071 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7804
38072 #: ../src/guestfs-actions.pod:7804
38073 msgid "guestfs_zerofree"
38074 msgstr "guestfs_zerofree"
38077 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7806
38078 #: ../src/guestfs-actions.pod:7806
38082 " guestfs_zerofree (guestfs_h *g,\n"
38083 " const char *device);\n"
38087 " guestfs_zerofree (guestfs_h *g,\n"
38088 " const char *device);\n"
38092 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7825
38093 #: ../src/guestfs-actions.pod:7825
38094 msgid "guestfs_zfgrep"
38095 msgstr "guestfs_zfgrep"
38098 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7827
38099 #: ../src/guestfs-actions.pod:7827
38103 " guestfs_zfgrep (guestfs_h *g,\n"
38104 " const char *pattern,\n"
38105 " const char *path);\n"
38109 " guestfs_zfgrep (guestfs_h *g,\n"
38110 " const char *pattern,\n"
38111 " const char *path);\n"
38115 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7844
38116 #: ../src/guestfs-actions.pod:7844
38117 msgid "guestfs_zfgrepi"
38118 msgstr "guestfs_zfgrepi"
38121 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7846
38122 #: ../src/guestfs-actions.pod:7846
38126 " guestfs_zfgrepi (guestfs_h *g,\n"
38127 " const char *pattern,\n"
38128 " const char *path);\n"
38132 " guestfs_zfgrepi (guestfs_h *g,\n"
38133 " const char *pattern,\n"
38134 " const char *path);\n"
38138 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7863
38139 #: ../src/guestfs-actions.pod:7863
38140 msgid "guestfs_zfile"
38141 msgstr "guestfs_zfile"
38144 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7865
38145 #: ../src/guestfs-actions.pod:7865
38149 " guestfs_zfile (guestfs_h *g,\n"
38150 " const char *meth,\n"
38151 " const char *path);\n"
38155 " guestfs_zfile (guestfs_h *g,\n"
38156 " const char *meth,\n"
38157 " const char *path);\n"
38161 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7875
38162 #: ../src/guestfs-actions.pod:7875
38164 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
38169 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7890
38170 #: ../src/guestfs-actions.pod:7890
38171 msgid "guestfs_zgrep"
38172 msgstr "guestfs_zgrep"
38175 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7892
38176 #: ../src/guestfs-actions.pod:7892
38180 " guestfs_zgrep (guestfs_h *g,\n"
38181 " const char *regex,\n"
38182 " const char *path);\n"
38186 " guestfs_zgrep (guestfs_h *g,\n"
38187 " const char *regex,\n"
38188 " const char *path);\n"
38192 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7909
38193 #: ../src/guestfs-actions.pod:7909
38194 msgid "guestfs_zgrepi"
38195 msgstr "guestfs_zgrepi"
38198 #: ../libguestfs-1.11.19/src/guestfs-actions.pod:7911
38199 #: ../src/guestfs-actions.pod:7911
38203 " guestfs_zgrepi (guestfs_h *g,\n"
38204 " const char *regex,\n"
38205 " const char *path);\n"
38209 " guestfs_zgrepi (guestfs_h *g,\n"
38210 " const char *regex,\n"
38211 " const char *path);\n"
38215 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:3
38216 #: ../src/guestfs-availability.pod:3
38221 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:5
38222 #: ../src/guestfs-availability.pod:5
38224 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
38225 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
38226 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
38227 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
38228 "L</guestfs_aug_save> L</guestfs_aug_set>"
38232 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:21
38233 #: ../src/guestfs-availability.pod:21
38238 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:23
38239 #: ../src/guestfs-availability.pod:23
38240 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
38244 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:26
38245 #: ../src/guestfs-availability.pod:26
38247 msgstr "B<inotify>"
38250 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:28
38251 #: ../src/guestfs-availability.pod:28
38253 "The following functions: L</guestfs_inotify_add_watch> L</"
38254 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
38255 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
38259 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:36
38260 #: ../src/guestfs-availability.pod:36
38261 msgid "B<linuxfsuuid>"
38262 msgstr "B<linuxfsuuid>"
38265 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:38
38266 #: ../src/guestfs-availability.pod:38
38268 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
38269 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
38273 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:45
38274 #: ../src/guestfs-availability.pod:45
38275 msgid "B<linuxmodules>"
38276 msgstr "B<linuxmodules>"
38279 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:47
38280 #: ../src/guestfs-availability.pod:47
38281 msgid "The following functions: L</guestfs_modprobe>"
38285 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:50
38286 #: ../src/guestfs-availability.pod:50
38287 msgid "B<linuxxattrs>"
38288 msgstr "B<linuxxattrs>"
38291 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:52
38292 #: ../src/guestfs-availability.pod:52
38294 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
38295 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
38296 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
38297 "guestfs_setxattr>"
38301 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:63
38302 #: ../src/guestfs-availability.pod:63
38307 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:65
38308 #: ../src/guestfs-availability.pod:65
38310 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
38311 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
38312 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
38316 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:74
38317 #: ../src/guestfs-availability.pod:74
38322 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:76
38323 #: ../src/guestfs-availability.pod:76
38325 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
38326 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
38327 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
38328 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
38329 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
38330 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
38331 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
38335 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:99
38336 #: ../src/guestfs-availability.pod:99
38341 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:101
38342 #: ../src/guestfs-availability.pod:101
38344 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
38345 "guestfs_mknod_b> L</guestfs_mknod_c>"
38349 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:107
38350 #: ../src/guestfs-availability.pod:107
38355 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:109
38356 #: ../src/guestfs-availability.pod:109
38357 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
38361 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:112
38362 #: ../src/guestfs-availability.pod:112
38363 msgid "B<ntfsprogs>"
38364 msgstr "B<ntfsprogs>"
38367 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:114
38368 #: ../src/guestfs-availability.pod:114
38370 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
38371 "L</guestfs_ntfsresize_size>"
38375 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:119
38376 #: ../src/guestfs-availability.pod:119
38377 msgid "B<realpath>"
38378 msgstr "B<realpath>"
38381 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:121
38382 #: ../src/guestfs-availability.pod:121
38383 msgid "The following functions: L</guestfs_realpath>"
38387 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:124
38388 #: ../src/guestfs-availability.pod:124
38393 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:126
38394 #: ../src/guestfs-availability.pod:126
38396 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
38397 "guestfs_scrub_freespace>"
38401 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:131
38402 #: ../src/guestfs-availability.pod:131
38404 msgstr "B<selinux>"
38407 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:133
38408 #: ../src/guestfs-availability.pod:133
38409 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
38413 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:137
38414 #: ../src/guestfs-availability.pod:137
38419 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:139
38420 #: ../src/guestfs-availability.pod:139
38421 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
38425 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:143
38426 #: ../src/guestfs-availability.pod:143
38427 msgid "B<zerofree>"
38428 msgstr "B<zerofree>"
38431 #: ../libguestfs-1.11.19/src/guestfs-availability.pod:145
38432 #: ../src/guestfs-availability.pod:145
38433 msgid "The following functions: L</guestfs_zerofree>"
38437 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:1
38438 #: ../src/guestfs-structs.pod:1
38439 msgid "guestfs_int_bool"
38443 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:3
38444 #: ../src/guestfs-structs.pod:3
38447 " struct guestfs_int_bool {\n"
38455 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:8
38456 #: ../src/guestfs-structs.pod:8
38459 " struct guestfs_int_bool_list {\n"
38460 " uint32_t len; /* Number of elements in list. */\n"
38461 " struct guestfs_int_bool *val; /* Elements. */\n"
38467 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:13
38468 #: ../src/guestfs-structs.pod:13
38471 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
38472 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
38477 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:16
38478 #: ../src/guestfs-structs.pod:16
38479 msgid "guestfs_lvm_pv"
38483 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:18
38484 #: ../src/guestfs-structs.pod:18
38487 " struct guestfs_lvm_pv {\n"
38488 " char *pv_name;\n"
38489 " /* The next field is NOT nul-terminated, be careful when printing it: */\n"
38490 " char pv_uuid[32];\n"
38492 " uint64_t pv_size;\n"
38493 " uint64_t dev_size;\n"
38494 " uint64_t pv_free;\n"
38495 " uint64_t pv_used;\n"
38496 " char *pv_attr;\n"
38497 " int64_t pv_pe_count;\n"
38498 " int64_t pv_pe_alloc_count;\n"
38499 " char *pv_tags;\n"
38500 " uint64_t pe_start;\n"
38501 " int64_t pv_mda_count;\n"
38502 " uint64_t pv_mda_free;\n"
38508 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:36
38509 #: ../src/guestfs-structs.pod:36
38512 " struct guestfs_lvm_pv_list {\n"
38513 " uint32_t len; /* Number of elements in list. */\n"
38514 " struct guestfs_lvm_pv *val; /* Elements. */\n"
38520 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:41
38521 #: ../src/guestfs-structs.pod:41
38524 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
38525 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
38530 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:44
38531 #: ../src/guestfs-structs.pod:44
38532 msgid "guestfs_lvm_vg"
38536 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:46
38537 #: ../src/guestfs-structs.pod:46
38540 " struct guestfs_lvm_vg {\n"
38541 " char *vg_name;\n"
38542 " /* The next field is NOT nul-terminated, be careful when printing it: */\n"
38543 " char vg_uuid[32];\n"
38545 " char *vg_attr;\n"
38546 " uint64_t vg_size;\n"
38547 " uint64_t vg_free;\n"
38548 " char *vg_sysid;\n"
38549 " uint64_t vg_extent_size;\n"
38550 " int64_t vg_extent_count;\n"
38551 " int64_t vg_free_count;\n"
38552 " int64_t max_lv;\n"
38553 " int64_t max_pv;\n"
38554 " int64_t pv_count;\n"
38555 " int64_t lv_count;\n"
38556 " int64_t snap_count;\n"
38557 " int64_t vg_seqno;\n"
38558 " char *vg_tags;\n"
38559 " int64_t vg_mda_count;\n"
38560 " uint64_t vg_mda_free;\n"
38566 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:69
38567 #: ../src/guestfs-structs.pod:69
38570 " struct guestfs_lvm_vg_list {\n"
38571 " uint32_t len; /* Number of elements in list. */\n"
38572 " struct guestfs_lvm_vg *val; /* Elements. */\n"
38578 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:74
38579 #: ../src/guestfs-structs.pod:74
38582 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
38583 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
38588 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:77
38589 #: ../src/guestfs-structs.pod:77
38590 msgid "guestfs_lvm_lv"
38594 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:79
38595 #: ../src/guestfs-structs.pod:79
38598 " struct guestfs_lvm_lv {\n"
38599 " char *lv_name;\n"
38600 " /* The next field is NOT nul-terminated, be careful when printing it: */\n"
38601 " char lv_uuid[32];\n"
38602 " char *lv_attr;\n"
38603 " int64_t lv_major;\n"
38604 " int64_t lv_minor;\n"
38605 " int64_t lv_kernel_major;\n"
38606 " int64_t lv_kernel_minor;\n"
38607 " uint64_t lv_size;\n"
38608 " int64_t seg_count;\n"
38610 " /* The next field is [0..100] or -1 meaning 'not present': */\n"
38611 " float snap_percent;\n"
38612 " /* The next field is [0..100] or -1 meaning 'not present': */\n"
38613 " float copy_percent;\n"
38614 " char *move_pv;\n"
38615 " char *lv_tags;\n"
38616 " char *mirror_log;\n"
38617 " char *modules;\n"
38623 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:101
38624 #: ../src/guestfs-structs.pod:101
38627 " struct guestfs_lvm_lv_list {\n"
38628 " uint32_t len; /* Number of elements in list. */\n"
38629 " struct guestfs_lvm_lv *val; /* Elements. */\n"
38635 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:106
38636 #: ../src/guestfs-structs.pod:106
38639 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
38640 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
38645 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:111
38646 #: ../src/guestfs-structs.pod:111
38649 " struct guestfs_stat {\n"
38653 " int64_t nlink;\n"
38658 " int64_t blksize;\n"
38659 " int64_t blocks;\n"
38660 " int64_t atime;\n"
38661 " int64_t mtime;\n"
38662 " int64_t ctime;\n"
38668 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:127
38669 #: ../src/guestfs-structs.pod:127
38672 " struct guestfs_stat_list {\n"
38673 " uint32_t len; /* Number of elements in list. */\n"
38674 " struct guestfs_stat *val; /* Elements. */\n"
38680 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:132
38681 #: ../src/guestfs-structs.pod:132
38684 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
38685 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
38690 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:137
38691 #: ../src/guestfs-structs.pod:137
38694 " struct guestfs_statvfs {\n"
38695 " int64_t bsize;\n"
38696 " int64_t frsize;\n"
38697 " int64_t blocks;\n"
38698 " int64_t bfree;\n"
38699 " int64_t bavail;\n"
38700 " int64_t files;\n"
38701 " int64_t ffree;\n"
38702 " int64_t favail;\n"
38705 " int64_t namemax;\n"
38711 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:151
38712 #: ../src/guestfs-structs.pod:151
38715 " struct guestfs_statvfs_list {\n"
38716 " uint32_t len; /* Number of elements in list. */\n"
38717 " struct guestfs_statvfs *val; /* Elements. */\n"
38723 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:156
38724 #: ../src/guestfs-structs.pod:156
38727 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
38728 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
38733 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:159
38734 #: ../src/guestfs-structs.pod:159
38735 msgid "guestfs_dirent"
38739 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:161
38740 #: ../src/guestfs-structs.pod:161
38743 " struct guestfs_dirent {\n"
38752 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:167
38753 #: ../src/guestfs-structs.pod:167
38756 " struct guestfs_dirent_list {\n"
38757 " uint32_t len; /* Number of elements in list. */\n"
38758 " struct guestfs_dirent *val; /* Elements. */\n"
38764 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:172
38765 #: ../src/guestfs-structs.pod:172
38768 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
38769 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
38774 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:177
38775 #: ../src/guestfs-structs.pod:177
38778 " struct guestfs_version {\n"
38779 " int64_t major;\n"
38780 " int64_t minor;\n"
38781 " int64_t release;\n"
38788 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:184
38789 #: ../src/guestfs-structs.pod:184
38792 " struct guestfs_version_list {\n"
38793 " uint32_t len; /* Number of elements in list. */\n"
38794 " struct guestfs_version *val; /* Elements. */\n"
38800 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:189
38801 #: ../src/guestfs-structs.pod:189
38804 " void guestfs_free_version (struct guestfs_free_version *);\n"
38805 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
38810 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:192
38811 #: ../src/guestfs-structs.pod:192
38812 msgid "guestfs_xattr"
38816 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:194
38817 #: ../src/guestfs-structs.pod:194
38820 " struct guestfs_xattr {\n"
38821 " char *attrname;\n"
38822 " /* The next two fields describe a byte array. */\n"
38823 " uint32_t attrval_len;\n"
38824 " char *attrval;\n"
38830 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:201
38831 #: ../src/guestfs-structs.pod:201
38834 " struct guestfs_xattr_list {\n"
38835 " uint32_t len; /* Number of elements in list. */\n"
38836 " struct guestfs_xattr *val; /* Elements. */\n"
38842 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:206
38843 #: ../src/guestfs-structs.pod:206
38846 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
38847 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
38852 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:209
38853 #: ../src/guestfs-structs.pod:209
38854 msgid "guestfs_inotify_event"
38858 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:211
38859 #: ../src/guestfs-structs.pod:211
38862 " struct guestfs_inotify_event {\n"
38863 " int64_t in_wd;\n"
38864 " uint32_t in_mask;\n"
38865 " uint32_t in_cookie;\n"
38866 " char *in_name;\n"
38872 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:218
38873 #: ../src/guestfs-structs.pod:218
38876 " struct guestfs_inotify_event_list {\n"
38877 " uint32_t len; /* Number of elements in list. */\n"
38878 " struct guestfs_inotify_event *val; /* Elements. */\n"
38884 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:223
38885 #: ../src/guestfs-structs.pod:223
38888 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
38889 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
38894 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:226
38895 #: ../src/guestfs-structs.pod:226
38896 msgid "guestfs_partition"
38900 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:228
38901 #: ../src/guestfs-structs.pod:228
38904 " struct guestfs_partition {\n"
38905 " int32_t part_num;\n"
38906 " uint64_t part_start;\n"
38907 " uint64_t part_end;\n"
38908 " uint64_t part_size;\n"
38914 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:235
38915 #: ../src/guestfs-structs.pod:235
38918 " struct guestfs_partition_list {\n"
38919 " uint32_t len; /* Number of elements in list. */\n"
38920 " struct guestfs_partition *val; /* Elements. */\n"
38926 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:240
38927 #: ../src/guestfs-structs.pod:240
38930 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
38931 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
38936 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:243
38937 #: ../src/guestfs-structs.pod:243
38938 msgid "guestfs_application"
38942 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:245
38943 #: ../src/guestfs-structs.pod:245
38946 " struct guestfs_application {\n"
38947 " char *app_name;\n"
38948 " char *app_display_name;\n"
38949 " int32_t app_epoch;\n"
38950 " char *app_version;\n"
38951 " char *app_release;\n"
38952 " char *app_install_path;\n"
38953 " char *app_trans_path;\n"
38954 " char *app_publisher;\n"
38955 " char *app_url;\n"
38956 " char *app_source_package;\n"
38957 " char *app_summary;\n"
38958 " char *app_description;\n"
38964 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:260
38965 #: ../src/guestfs-structs.pod:260
38968 " struct guestfs_application_list {\n"
38969 " uint32_t len; /* Number of elements in list. */\n"
38970 " struct guestfs_application *val; /* Elements. */\n"
38976 #: ../libguestfs-1.11.19/src/guestfs-structs.pod:265
38977 #: ../src/guestfs-structs.pod:265
38980 " void guestfs_free_application (struct guestfs_free_application *);\n"
38981 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
38986 #: ../libguestfs-1.11.19/src/guestfs.pod:5 ../src/guestfs.pod:5
38987 msgid "guestfs - Library for accessing and modifying virtual machine images"
38989 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
38993 #: ../libguestfs-1.11.19/src/guestfs.pod:11 ../src/guestfs.pod:11
38996 " guestfs_h *g = guestfs_create ();\n"
38997 " guestfs_add_drive (g, \"guest.img\");\n"
38998 " guestfs_launch (g);\n"
38999 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39000 " guestfs_touch (g, \"/hello\");\n"
39001 " guestfs_umount (g, \"/\");\n"
39002 " guestfs_close (g);\n"
39005 " guestfs_h *g = guestfs_create ();\n"
39006 " guestfs_add_drive (g, \"guest.img\");\n"
39007 " guestfs_launch (g);\n"
39008 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39009 " guestfs_touch (g, \"/hello\");\n"
39010 " guestfs_umount (g, \"/\");\n"
39011 " guestfs_close (g);\n"
39015 #: ../libguestfs-1.11.19/src/guestfs.pod:25 ../src/guestfs.pod:25
39017 "Libguestfs is a library for accessing and modifying guest disk images. "
39018 "Amongst the things this is good for: making batch configuration changes to "
39019 "guests, getting disk used/free statistics (see also: virt-df), migrating "
39020 "between virtualization systems (see also: virt-p2v), performing partial "
39021 "backups, performing partial guest clones, cloning guests and changing "
39022 "registry/UUID/hostname info, and much else besides."
39026 #: ../libguestfs-1.11.19/src/guestfs.pod:33 ../src/guestfs.pod:33
39028 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
39029 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
39030 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
39035 #: ../libguestfs-1.11.19/src/guestfs.pod:38 ../src/guestfs.pod:38
39037 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
39038 "what filesystem is in each LV, etc.). It can also run commands in the "
39039 "context of the guest. Also you can access filesystems over FUSE."
39043 #: ../libguestfs-1.11.19/src/guestfs.pod:43 ../src/guestfs.pod:43
39045 "Libguestfs is a library that can be linked with C and C++ management "
39046 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
39047 "PHP, Haskell or C#). You can also use it from shell scripts or the command "
39052 #: ../libguestfs-1.11.19/src/guestfs.pod:48 ../src/guestfs.pod:48
39054 "You don't need to be root to use libguestfs, although obviously you do need "
39055 "enough permissions to access the disk images."
39059 #: ../libguestfs-1.11.19/src/guestfs.pod:51 ../src/guestfs.pod:51
39061 "Libguestfs is a large API because it can do many things. For a gentle "
39062 "introduction, please read the L</API OVERVIEW> section next."
39066 #: ../libguestfs-1.11.19/src/guestfs.pod:54 ../src/guestfs.pod:54
39068 "There are also some example programs in the L<guestfs-examples(3)> manual "
39073 #: ../libguestfs-1.11.19/src/guestfs.pod:57 ../src/guestfs.pod:57
39074 msgid "API OVERVIEW"
39078 #: ../libguestfs-1.11.19/src/guestfs.pod:59 ../src/guestfs.pod:59
39080 "This section provides a gentler overview of the libguestfs API. We also try "
39081 "to group API calls together, where that may not be obvious from reading "
39082 "about the individual calls in the main section of this manual."
39086 #: ../libguestfs-1.11.19/src/guestfs.pod:64 ../src/guestfs.pod:64
39091 #: ../libguestfs-1.11.19/src/guestfs.pod:66 ../src/guestfs.pod:66
39093 "Before you can use libguestfs calls, you have to create a handle. Then you "
39094 "must add at least one disk image to the handle, followed by launching the "
39095 "handle, then performing whatever operations you want, and finally closing "
39096 "the handle. By convention we use the single letter C<g> for the name of the "
39097 "handle variable, although of course you can use any name you want."
39101 #: ../libguestfs-1.11.19/src/guestfs.pod:73 ../src/guestfs.pod:73
39102 msgid "The general structure of all libguestfs-using programs looks like this:"
39106 #: ../libguestfs-1.11.19/src/guestfs.pod:76 ../src/guestfs.pod:76
39109 " guestfs_h *g = guestfs_create ();\n"
39112 " guestfs_h *g = guestfs_create ();\n"
39116 #: ../libguestfs-1.11.19/src/guestfs.pod:78 ../src/guestfs.pod:78
39119 " /* Call guestfs_add_drive additional times if there are\n"
39120 " * multiple disk images.\n"
39122 " guestfs_add_drive (g, \"guest.img\");\n"
39127 #: ../libguestfs-1.11.19/src/guestfs.pod:83 ../src/guestfs.pod:83
39130 " /* Most manipulation calls won't work until you've launched\n"
39131 " * the handle 'g'. You have to do this _after_ adding drives\n"
39132 " * and _before_ other commands.\n"
39134 " guestfs_launch (g);\n"
39139 #: ../libguestfs-1.11.19/src/guestfs.pod:89 ../src/guestfs.pod:89
39142 " /* Now you can examine what partitions, LVs etc are available.\n"
39144 " char **partitions = guestfs_list_partitions (g);\n"
39145 " char **logvols = guestfs_lvs (g);\n"
39148 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
39150 " char **partitions = guestfs_list_partitions (g);\n"
39151 " char **logvols = guestfs_lvs (g);\n"
39155 #: ../libguestfs-1.11.19/src/guestfs.pod:94 ../src/guestfs.pod:94
39158 " /* To access a filesystem in the image, you must mount it.\n"
39160 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39163 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
39165 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
39169 #: ../libguestfs-1.11.19/src/guestfs.pod:98 ../src/guestfs.pod:98
39172 " /* Now you can perform filesystem actions on the guest\n"
39175 " guestfs_touch (g, \"/hello\");\n"
39180 #: ../libguestfs-1.11.19/src/guestfs.pod:103 ../src/guestfs.pod:103
39183 " /* This is only needed for libguestfs < 1.5.24. Since then\n"
39184 " * it is done automatically when you close the handle. See\n"
39185 " * discussion of autosync in this page.\n"
39187 " guestfs_sync (g);\n"
39192 #: ../libguestfs-1.11.19/src/guestfs.pod:109 ../src/guestfs.pod:109
39195 " /* Close the handle 'g'. */\n"
39196 " guestfs_close (g);\n"
39199 " /* Закрити дескриптор 'g'. */\n"
39200 " guestfs_close (g);\n"
39204 #: ../libguestfs-1.11.19/src/guestfs.pod:112 ../src/guestfs.pod:112
39206 "The code above doesn't include any error checking. In real code you should "
39207 "check return values carefully for errors. In general all functions that "
39208 "return integers return C<-1> on error, and all functions that return "
39209 "pointers return C<NULL> on error. See section L</ERROR HANDLING> below for "
39210 "how to handle errors, and consult the documentation for each function call "
39211 "below to see precisely how they return error indications. See L<guestfs-"
39212 "examples(3)> for fully worked examples."
39216 #: ../libguestfs-1.11.19/src/guestfs.pod:121 ../src/guestfs.pod:121
39217 msgid "DISK IMAGES"
39218 msgstr "ОБРАЗИ ДИСКІВ"
39221 #: ../libguestfs-1.11.19/src/guestfs.pod:123 ../src/guestfs.pod:123
39223 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
39224 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
39225 "actual block device, or simply an empty file of zeroes that you have created "
39226 "through L<posix_fallocate(3)>. Libguestfs lets you do useful things to all "
39231 #: ../libguestfs-1.11.19/src/guestfs.pod:129 ../src/guestfs.pod:129
39233 "The call you should use in modern code for adding drives is L</"
39234 "guestfs_add_drive_opts>. To add a disk image, allowing writes, and "
39235 "specifying that the format is raw, do:"
39239 #: ../libguestfs-1.11.19/src/guestfs.pod:133 ../src/guestfs.pod:133
39242 " guestfs_add_drive_opts (g, filename,\n"
39243 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39247 " guestfs_add_drive_opts (g, filename,\n"
39248 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39253 #: ../libguestfs-1.11.19/src/guestfs.pod:137 ../src/guestfs.pod:137
39254 msgid "You can add a disk read-only using:"
39255 msgstr "Ви можете додати диск у режимі лише читання:"
39258 #: ../libguestfs-1.11.19/src/guestfs.pod:139 ../src/guestfs.pod:139
39261 " guestfs_add_drive_opts (g, filename,\n"
39262 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39263 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
39267 " guestfs_add_drive_opts (g, filename,\n"
39268 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
39269 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
39274 #: ../libguestfs-1.11.19/src/guestfs.pod:144 ../src/guestfs.pod:144
39276 "or by calling the older function L</guestfs_add_drive_ro>. In either case "
39277 "libguestfs won't modify the file."
39281 #: ../libguestfs-1.11.19/src/guestfs.pod:147 ../src/guestfs.pod:147
39283 "Be extremely cautious if the disk image is in use, eg. if it is being used "
39284 "by a virtual machine. Adding it read-write will almost certainly cause disk "
39285 "corruption, but adding it read-only is safe."
39289 #: ../libguestfs-1.11.19/src/guestfs.pod:151 ../src/guestfs.pod:151
39291 "You must add at least one disk image, and you may add multiple disk images. "
39292 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
39293 "first one you added), C</dev/sdb> (for the second one you added), etc."
39297 #: ../libguestfs-1.11.19/src/guestfs.pod:156 ../src/guestfs.pod:156
39299 "Once L</guestfs_launch> has been called you cannot add any more images. You "
39300 "can call L</guestfs_list_devices> to get a list of the device names, in the "
39301 "order that you added them. See also L</BLOCK DEVICE NAMING> below."
39305 #: ../libguestfs-1.11.19/src/guestfs.pod:161 ../src/guestfs.pod:161
39307 msgstr "МОНТУВАННЯ"
39310 #: ../libguestfs-1.11.19/src/guestfs.pod:163 ../src/guestfs.pod:163
39312 "Before you can read or write files, create directories and so on in a disk "
39313 "image that contains filesystems, you have to mount those filesystems using "
39314 "L</guestfs_mount_options> or L</guestfs_mount_ro>. If you already know that "
39315 "a disk image contains (for example) one partition with a filesystem on that "
39316 "partition, then you can mount it directly:"
39320 #: ../libguestfs-1.11.19/src/guestfs.pod:170 ../src/guestfs.pod:170
39323 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
39326 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
39330 #: ../libguestfs-1.11.19/src/guestfs.pod:172 ../src/guestfs.pod:172
39332 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
39333 "disk image that we added (C</dev/sda>). If the disk contains Linux LVM2 "
39334 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>). Note "
39335 "that these are libguestfs virtual devices, and are nothing to do with host "
39340 #: ../libguestfs-1.11.19/src/guestfs.pod:178 ../src/guestfs.pod:178
39342 "If you are given a disk image and you don't know what it contains then you "
39343 "have to find out. Libguestfs can do that too: use L</"
39344 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
39345 "LVs, and either try mounting each to see what is mountable, or else examine "
39346 "them with L</guestfs_vfs_type> or L</guestfs_file>. To list just "
39347 "filesystems, use L</guestfs_list_filesystems>."
39351 #: ../libguestfs-1.11.19/src/guestfs.pod:186 ../src/guestfs.pod:186
39353 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
39354 "L</INSPECTION> below). But you might find it easier to look at higher level "
39355 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
39359 #: ../libguestfs-1.11.19/src/guestfs.pod:191 ../src/guestfs.pod:191
39361 "To mount a filesystem read-only, use L</guestfs_mount_ro>. There are "
39362 "several other variations of the C<guestfs_mount_*> call."
39366 #: ../libguestfs-1.11.19/src/guestfs.pod:194 ../src/guestfs.pod:194
39367 msgid "FILESYSTEM ACCESS AND MODIFICATION"
39368 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
39371 #: ../libguestfs-1.11.19/src/guestfs.pod:196 ../src/guestfs.pod:196
39373 "The majority of the libguestfs API consists of fairly low-level calls for "
39374 "accessing and modifying the files, directories, symlinks etc on mounted "
39375 "filesystems. There are over a hundred such calls which you can find listed "
39376 "in detail below in this man page, and we don't even pretend to cover them "
39377 "all in this overview."
39381 #: ../libguestfs-1.11.19/src/guestfs.pod:202 ../src/guestfs.pod:202
39383 "Specify filenames as full paths, starting with C<\"/\"> and including the "
39386 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
39387 "точкою монтування."
39390 #: ../libguestfs-1.11.19/src/guestfs.pod:205 ../src/guestfs.pod:205
39392 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
39393 "the file called C<\"etc/passwd\"> then you could do:"
39395 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
39396 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
39400 #: ../libguestfs-1.11.19/src/guestfs.pod:208 ../src/guestfs.pod:208
39403 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
39406 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
39410 #: ../libguestfs-1.11.19/src/guestfs.pod:210 ../src/guestfs.pod:210
39412 "This would return C<data> as a newly allocated buffer containing the full "
39413 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
39414 "or C<NULL> if there was an error."
39418 #: ../libguestfs-1.11.19/src/guestfs.pod:214 ../src/guestfs.pod:214
39420 "As another example, to create a top-level directory on that filesystem "
39421 "called C<\"var\"> you would do:"
39425 #: ../libguestfs-1.11.19/src/guestfs.pod:217 ../src/guestfs.pod:217
39428 " guestfs_mkdir (g, \"/var\");\n"
39431 " guestfs_mkdir (g, \"/var\");\n"
39435 #: ../libguestfs-1.11.19/src/guestfs.pod:219 ../src/guestfs.pod:219
39436 msgid "To create a symlink you could do:"
39437 msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
39440 #: ../libguestfs-1.11.19/src/guestfs.pod:221 ../src/guestfs.pod:221
39443 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
39444 " \"/etc/rc3.d/S30portmap\");\n"
39447 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
39448 " \"/etc/rc3.d/S30portmap\");\n"
39452 #: ../libguestfs-1.11.19/src/guestfs.pod:224 ../src/guestfs.pod:224
39454 "Libguestfs will reject attempts to use relative paths and there is no "
39455 "concept of a current working directory."
39459 #: ../libguestfs-1.11.19/src/guestfs.pod:227 ../src/guestfs.pod:227
39461 "Libguestfs can return errors in many situations: for example if the "
39462 "filesystem isn't writable, or if a file or directory that you requested "
39463 "doesn't exist. If you are using the C API (documented here) you have to "
39464 "check for those error conditions after each call. (Other language bindings "
39465 "turn these errors into exceptions)."
39469 #: ../libguestfs-1.11.19/src/guestfs.pod:233 ../src/guestfs.pod:233
39471 "File writes are affected by the per-handle umask, set by calling L</"
39472 "guestfs_umask> and defaulting to 022. See L</UMASK>."
39476 #: ../libguestfs-1.11.19/src/guestfs.pod:236 ../src/guestfs.pod:236
39477 msgid "PARTITIONING"
39478 msgstr "ПОДІЛ НА РОЗДІЛИ"
39481 #: ../libguestfs-1.11.19/src/guestfs.pod:238 ../src/guestfs.pod:238
39483 "Libguestfs contains API calls to read, create and modify partition tables on "
39488 #: ../libguestfs-1.11.19/src/guestfs.pod:241 ../src/guestfs.pod:241
39490 "In the common case where you want to create a single partition covering the "
39491 "whole disk, you should use the L</guestfs_part_disk> call:"
39495 #: ../libguestfs-1.11.19/src/guestfs.pod:245 ../src/guestfs.pod:245
39498 " const char *parttype = \"mbr\";\n"
39499 " if (disk_is_larger_than_2TB)\n"
39500 " parttype = \"gpt\";\n"
39501 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
39504 " const char *parttype = \"mbr\";\n"
39505 " if (disk_is_larger_than_2TB)\n"
39506 " parttype = \"gpt\";\n"
39507 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
39511 #: ../libguestfs-1.11.19/src/guestfs.pod:250 ../src/guestfs.pod:250
39513 "Obviously this effectively wipes anything that was on that disk image before."
39517 #: ../libguestfs-1.11.19/src/guestfs.pod:253 ../src/guestfs.pod:253
39522 #: ../libguestfs-1.11.19/src/guestfs.pod:255 ../src/guestfs.pod:255
39524 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
39525 "guestfs_lvcreate> and L</guestfs_vgremove>. It won't make much sense unless "
39526 "you familiarize yourself with the concepts of physical volumes, volume "
39527 "groups and logical volumes."
39531 #: ../libguestfs-1.11.19/src/guestfs.pod:260 ../src/guestfs.pod:260
39533 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
39534 "tldp.org/HOWTO/LVM-HOWTO/>."
39538 #: ../libguestfs-1.11.19/src/guestfs.pod:263 ../src/guestfs.pod:263
39539 msgid "DOWNLOADING"
39540 msgstr "ОТРИМАННЯ ДАНИХ"
39543 #: ../libguestfs-1.11.19/src/guestfs.pod:265 ../src/guestfs.pod:265
39545 "Use L</guestfs_cat> to download small, text only files. This call is "
39546 "limited to files which are less than 2 MB and which cannot contain any ASCII "
39547 "NUL (C<\\0>) characters. However the API is very simple to use."
39551 #: ../libguestfs-1.11.19/src/guestfs.pod:269 ../src/guestfs.pod:269
39553 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
39554 "bit data, since it returns a (pointer, size) pair. However it is still "
39555 "limited to \"small\" files, less than 2 MB."
39559 #: ../libguestfs-1.11.19/src/guestfs.pod:273 ../src/guestfs.pod:273
39561 "L</guestfs_download> can be used to download any file, with no limits on "
39562 "content or size (even files larger than 4 GB)."
39566 #: ../libguestfs-1.11.19/src/guestfs.pod:276 ../src/guestfs.pod:276
39568 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
39572 #: ../libguestfs-1.11.19/src/guestfs.pod:279 ../src/guestfs.pod:279
39574 msgstr "ВИВАНТАЖЕННЯ"
39577 #: ../libguestfs-1.11.19/src/guestfs.pod:281 ../src/guestfs.pod:281
39579 "It's often the case that you want to write a file or files to the disk image."
39583 #: ../libguestfs-1.11.19/src/guestfs.pod:284 ../src/guestfs.pod:284
39585 "To write a small file with fixed content, use L</guestfs_write>. To create "
39586 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
39587 "guestfs_fallocate64> (with all disk blocks allocated). There are a variety "
39588 "of other functions for creating test files, for example L</guestfs_fill> and "
39589 "L</guestfs_fill_pattern>."
39593 #: ../libguestfs-1.11.19/src/guestfs.pod:290 ../src/guestfs.pod:290
39595 "To upload a single file, use L</guestfs_upload>. This call has no limits on "
39596 "file content or size (even files larger than 4 GB)."
39600 #: ../libguestfs-1.11.19/src/guestfs.pod:293 ../src/guestfs.pod:293
39602 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
39606 #: ../libguestfs-1.11.19/src/guestfs.pod:295 ../src/guestfs.pod:295
39608 "However the fastest way to upload I<large numbers of arbitrary files> is to "
39609 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
39610 ">), then attach this using L</guestfs_add_drive_ro>. If you add the drive "
39611 "in a predictable way (eg. adding it last after all other drives) then you "
39612 "can get the device name from L</guestfs_list_devices> and mount it directly "
39613 "using L</guestfs_mount_ro>. Note that squashfs images are sometimes non-"
39614 "portable between kernel versions, and they don't support labels or UUIDs. "
39615 "If you want to pre-build an image or you need to mount it using a label or "
39616 "UUID, use an ISO image instead."
39620 #: ../libguestfs-1.11.19/src/guestfs.pod:306 ../src/guestfs.pod:306
39622 msgstr "КОПІЮВАННЯ"
39625 #: ../libguestfs-1.11.19/src/guestfs.pod:308 ../src/guestfs.pod:308
39627 "There are various different commands for copying between files and devices "
39628 "and in and out of the guest filesystem. These are summarised in the table "
39633 #: ../libguestfs-1.11.19/src/guestfs.pod:314 ../src/guestfs.pod:314
39634 msgid "B<file> to B<file>"
39635 msgstr "B<файл> у B<файл>"
39638 #: ../libguestfs-1.11.19/src/guestfs.pod:316 ../src/guestfs.pod:316
39640 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
39641 "directories recursively."
39645 #: ../libguestfs-1.11.19/src/guestfs.pod:319 ../src/guestfs.pod:319
39646 msgid "B<file or device> to B<file or device>"
39647 msgstr "B<файл або пристрій> у B<файл або пристрій>"
39650 #: ../libguestfs-1.11.19/src/guestfs.pod:321 ../src/guestfs.pod:321
39652 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
39653 "devices in the guest."
39657 #: ../libguestfs-1.11.19/src/guestfs.pod:324 ../src/guestfs.pod:324
39658 msgid "Example: duplicate the contents of an LV:"
39662 #: ../libguestfs-1.11.19/src/guestfs.pod:326 ../src/guestfs.pod:326
39665 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
39668 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
39672 #: ../libguestfs-1.11.19/src/guestfs.pod:328 ../src/guestfs.pod:328
39674 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
39675 "(C</dev/VG/Original>). To copy less than the whole source device, use L</"
39676 "guestfs_copy_size>."
39680 #: ../libguestfs-1.11.19/src/guestfs.pod:332 ../src/guestfs.pod:332
39681 msgid "B<file on the host> to B<file or device>"
39685 #: ../libguestfs-1.11.19/src/guestfs.pod:334 ../src/guestfs.pod:334
39686 msgid "Use L</guestfs_upload>. See L</UPLOADING> above."
39690 #: ../libguestfs-1.11.19/src/guestfs.pod:336 ../src/guestfs.pod:336
39691 msgid "B<file or device> to B<file on the host>"
39695 #: ../libguestfs-1.11.19/src/guestfs.pod:338 ../src/guestfs.pod:338
39696 msgid "Use L</guestfs_download>. See L</DOWNLOADING> above."
39700 #: ../libguestfs-1.11.19/src/guestfs.pod:342 ../src/guestfs.pod:342
39701 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
39705 #: ../libguestfs-1.11.19/src/guestfs.pod:344 ../src/guestfs.pod:344
39707 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
39708 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
39709 "appears you can only upload and download to files. However many Un*x-like "
39710 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
39711 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
39712 "and arbitrary file descriptor N."
39716 #: ../libguestfs-1.11.19/src/guestfs.pod:352 ../src/guestfs.pod:352
39717 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
39721 #: ../libguestfs-1.11.19/src/guestfs.pod:355 ../src/guestfs.pod:355
39724 " guestfs_download (g, filename, \"/dev/stdout\");\n"
39727 " guestfs_download (g, filename, \"/dev/stdout\");\n"
39731 #: ../libguestfs-1.11.19/src/guestfs.pod:357 ../src/guestfs.pod:357
39732 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
39736 #: ../libguestfs-1.11.19/src/guestfs.pod:359 ../src/guestfs.pod:359
39739 " char devfd[64];\n"
39740 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
39741 " guestfs_tar_out (g, \"/\", devfd);\n"
39744 " char devfd[64];\n"
39745 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
39746 " guestfs_tar_out (g, \"/\", devfd);\n"
39750 #: ../libguestfs-1.11.19/src/guestfs.pod:363 ../src/guestfs.pod:363
39751 msgid "LISTING FILES"
39752 msgstr "СПИСКИ ФАЙЛІВ"
39755 #: ../libguestfs-1.11.19/src/guestfs.pod:365 ../src/guestfs.pod:365
39757 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
39758 "L<guestfish(1)>-equivalent command C<ll>)."
39762 #: ../libguestfs-1.11.19/src/guestfs.pod:368 ../src/guestfs.pod:368
39764 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
39765 "programs, as a flat list of strings."
39769 #: ../libguestfs-1.11.19/src/guestfs.pod:371 ../src/guestfs.pod:371
39771 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
39772 "directory, plus additional information about each one. It is more "
39773 "equivalent to using the L<readdir(3)> call on a local filesystem."
39777 #: ../libguestfs-1.11.19/src/guestfs.pod:375 ../src/guestfs.pod:375
39779 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
39783 #: ../libguestfs-1.11.19/src/guestfs.pod:378 ../src/guestfs.pod:378
39784 msgid "RUNNING COMMANDS"
39785 msgstr "ВИКОНАННЯ КОМАНД"
39788 #: ../libguestfs-1.11.19/src/guestfs.pod:380 ../src/guestfs.pod:380
39790 "Although libguestfs is primarily an API for manipulating files inside guest "
39791 "images, we also provide some limited facilities for running commands inside "
39796 #: ../libguestfs-1.11.19/src/guestfs.pod:384 ../src/guestfs.pod:384
39797 msgid "There are many limitations to this:"
39801 #: ../libguestfs-1.11.19/src/guestfs.pod:390 ../src/guestfs.pod:390
39803 "The kernel version that the command runs under will be different from what "
39808 #: ../libguestfs-1.11.19/src/guestfs.pod:395 ../src/guestfs.pod:395
39810 "If the command needs to communicate with daemons, then most likely they "
39811 "won't be running."
39815 #: ../libguestfs-1.11.19/src/guestfs.pod:400 ../src/guestfs.pod:400
39816 msgid "The command will be running in limited memory."
39820 #: ../libguestfs-1.11.19/src/guestfs.pod:404 ../src/guestfs.pod:404
39822 "The network may not be available unless you enable it (see L</"
39823 "guestfs_set_network>)."
39827 #: ../libguestfs-1.11.19/src/guestfs.pod:409 ../src/guestfs.pod:409
39828 msgid "Only supports Linux guests (not Windows, BSD, etc)."
39832 #: ../libguestfs-1.11.19/src/guestfs.pod:413 ../src/guestfs.pod:413
39834 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
39838 #: ../libguestfs-1.11.19/src/guestfs.pod:418 ../src/guestfs.pod:418
39840 "For SELinux guests, you may need to enable SELinux and load policy first. "
39841 "See L</SELINUX> in this manpage."
39845 #: ../libguestfs-1.11.19/src/guestfs.pod:423 ../src/guestfs.pod:423
39847 "I<Security:> It is not safe to run commands from untrusted, possibly "
39848 "malicious guests. These commands may attempt to exploit your program by "
39849 "sending unexpected output. They could also try to exploit the Linux kernel "
39850 "or qemu provided by the libguestfs appliance. They could use the network "
39851 "provided by the libguestfs appliance to bypass ordinary network partitions "
39852 "and firewalls. They could use the elevated privileges or different SELinux "
39853 "context of your program to their advantage."
39857 #: ../libguestfs-1.11.19/src/guestfs.pod:432 ../src/guestfs.pod:432
39859 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
39860 "(a script which runs when the guest next boots normally), and to have this "
39861 "script run the commands you want in the normal context of the running guest, "
39862 "network security and so on. For information about other security issues, "
39863 "see L</SECURITY>."
39867 #: ../libguestfs-1.11.19/src/guestfs.pod:440 ../src/guestfs.pod:440
39869 "The two main API calls to run commands are L</guestfs_command> and L</"
39870 "guestfs_sh> (there are also variations)."
39874 #: ../libguestfs-1.11.19/src/guestfs.pod:443 ../src/guestfs.pod:443
39876 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
39877 "shell globs, redirections, etc will work."
39881 #: ../libguestfs-1.11.19/src/guestfs.pod:446 ../src/guestfs.pod:446
39882 msgid "CONFIGURATION FILES"
39883 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
39886 #: ../libguestfs-1.11.19/src/guestfs.pod:448 ../src/guestfs.pod:448
39888 "To read and write configuration files in Linux guest filesystems, we "
39889 "strongly recommend using Augeas. For example, Augeas understands how to "
39890 "read and write, say, a Linux shadow password file or X.org configuration "
39891 "file, and so avoids you having to write that code."
39895 #: ../libguestfs-1.11.19/src/guestfs.pod:453 ../src/guestfs.pod:453
39897 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs. We don't "
39898 "document Augeas itself here because there is excellent documentation on the "
39899 "L<http://augeas.net/> website."
39903 #: ../libguestfs-1.11.19/src/guestfs.pod:457 ../src/guestfs.pod:457
39905 "If you don't want to use Augeas (you fool!) then try calling L</"
39906 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
39911 #: ../libguestfs-1.11.19/src/guestfs.pod:461 ../src/guestfs.pod:461
39916 #: ../libguestfs-1.11.19/src/guestfs.pod:463 ../src/guestfs.pod:463
39918 "We support SELinux guests. To ensure that labeling happens correctly in "
39919 "SELinux guests, you need to enable SELinux and load the guest's policy:"
39923 #: ../libguestfs-1.11.19/src/guestfs.pod:471 ../src/guestfs.pod:471
39924 msgid "Before launching, do:"
39928 #: ../libguestfs-1.11.19/src/guestfs.pod:473 ../src/guestfs.pod:473
39931 " guestfs_set_selinux (g, 1);\n"
39934 " guestfs_set_selinux (g, 1);\n"
39938 #: ../libguestfs-1.11.19/src/guestfs.pod:477 ../src/guestfs.pod:477
39940 "After mounting the guest's filesystem(s), load the policy. This is best "
39941 "done by running the L<load_policy(8)> command in the guest itself:"
39945 #: ../libguestfs-1.11.19/src/guestfs.pod:481 ../src/guestfs.pod:481
39948 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
39951 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
39955 #: ../libguestfs-1.11.19/src/guestfs.pod:483 ../src/guestfs.pod:483
39957 "(Older versions of C<load_policy> require you to specify the name of the "
39962 #: ../libguestfs-1.11.19/src/guestfs.pod:488 ../src/guestfs.pod:488
39964 "Optionally, set the security context for the API. The correct security "
39965 "context to use can only be known by inspecting the guest. As an example:"
39969 #: ../libguestfs-1.11.19/src/guestfs.pod:492 ../src/guestfs.pod:492
39972 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
39975 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
39979 #: ../libguestfs-1.11.19/src/guestfs.pod:496 ../src/guestfs.pod:496
39980 msgid "This will work for running commands and editing existing files."
39984 #: ../libguestfs-1.11.19/src/guestfs.pod:498 ../src/guestfs.pod:498
39986 "When new files are created, you may need to label them explicitly, for "
39987 "example by running the external command C<restorecon pathname>."
39991 #: ../libguestfs-1.11.19/src/guestfs.pod:502 ../src/guestfs.pod:502
39996 #: ../libguestfs-1.11.19/src/guestfs.pod:504 ../src/guestfs.pod:504
39998 "Certain calls are affected by the current file mode creation mask (the "
39999 "\"umask\"). In particular ones which create files or directories, such as "
40000 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>. This affects "
40001 "either the default mode that the file is created with or modifies the mode "
40006 #: ../libguestfs-1.11.19/src/guestfs.pod:510 ../src/guestfs.pod:510
40008 "The default umask is C<022>, so files are created with modes such as C<0644> "
40009 "and directories with C<0755>."
40013 #: ../libguestfs-1.11.19/src/guestfs.pod:513 ../src/guestfs.pod:513
40015 "There are two ways to avoid being affected by umask. Either set umask to 0 "
40016 "(call C<guestfs_umask (g, 0)> early after launching). Or call L</"
40017 "guestfs_chmod> after creating each file or directory."
40021 #: ../libguestfs-1.11.19/src/guestfs.pod:517 ../src/guestfs.pod:517
40022 msgid "For more information about umask, see L<umask(2)>."
40026 #: ../libguestfs-1.11.19/src/guestfs.pod:521 ../src/guestfs.pod:521
40028 "Libguestfs allows you to access Linux guests which have been encrypted using "
40029 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
40030 "standard. This includes nearly all whole disk encryption systems used by "
40031 "modern Linux guests."
40035 #: ../libguestfs-1.11.19/src/guestfs.pod:527 ../src/guestfs.pod:527
40037 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
40038 "returns the string C<crypto_LUKS>)."
40042 #: ../libguestfs-1.11.19/src/guestfs.pod:530 ../src/guestfs.pod:530
40044 "Then open these devices by calling L</guestfs_luks_open>. Obviously you "
40045 "will require the passphrase!"
40049 #: ../libguestfs-1.11.19/src/guestfs.pod:533 ../src/guestfs.pod:533
40051 "Opening a LUKS device creates a new device mapper device called C</dev/"
40052 "mapper/mapname> (where C<mapname> is the string you supply to L</"
40053 "guestfs_luks_open>). Reads and writes to this mapper device are decrypted "
40054 "from and encrypted to the underlying block device respectively."
40058 #: ../libguestfs-1.11.19/src/guestfs.pod:539 ../src/guestfs.pod:539
40060 "LVM volume groups on the device can be made visible by calling L</"
40061 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>. The logical volume"
40062 "(s) can now be mounted in the usual way."
40066 #: ../libguestfs-1.11.19/src/guestfs.pod:543 ../src/guestfs.pod:543
40068 "Use the reverse process to close a LUKS device. Unmount any logical volumes "
40069 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
40070 "[\"/dev/VG\"])>. Then close the mapper device by calling L</"
40071 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
40072 "underlying encrypted block device)."
40076 #: ../libguestfs-1.11.19/src/guestfs.pod:550 ../src/guestfs.pod:550
40081 #: ../libguestfs-1.11.19/src/guestfs.pod:552 ../src/guestfs.pod:552
40083 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
40084 "contains operating systems, an install CD or a live CD. (These APIs used to "
40085 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
40086 "version 1.5.3 the most frequently used part of this library has been "
40087 "rewritten in C and moved into the core code)."
40091 #: ../libguestfs-1.11.19/src/guestfs.pod:559 ../src/guestfs.pod:559
40093 "Add all disks belonging to the unknown virtual machine and call L</"
40094 "guestfs_launch> in the usual way."
40098 #: ../libguestfs-1.11.19/src/guestfs.pod:562 ../src/guestfs.pod:562
40100 "Then call L</guestfs_inspect_os>. This function uses other libguestfs calls "
40101 "and certain heuristics, and returns a list of operating systems that were "
40102 "found. An empty list means none were found. A single element is the root "
40103 "filesystem of the operating system. For dual- or multi-boot guests, "
40104 "multiple roots can be returned, each one corresponding to a separate "
40105 "operating system. (Multi-boot virtual machines are extremely rare in the "
40106 "world of virtualization, but since this scenario can happen, we have built "
40107 "libguestfs to deal with it.)"
40111 #: ../libguestfs-1.11.19/src/guestfs.pod:571 ../src/guestfs.pod:571
40113 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
40114 "to get additional details about that operating system. For example, call L</"
40115 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
40116 "Windows and Linux-based operating systems respectively."
40120 #: ../libguestfs-1.11.19/src/guestfs.pod:577 ../src/guestfs.pod:577
40122 "Un*x-like and Linux-based operating systems usually consist of several "
40123 "filesystems which are mounted at boot time (for example, a separate boot "
40124 "partition mounted on C</boot>). The inspection rules are able to detect how "
40125 "filesystems correspond to mount points. Call "
40126 "C<guestfs_inspect_get_mountpoints> to get this mapping. It might return a "
40127 "hash table like this example:"
40131 #: ../libguestfs-1.11.19/src/guestfs.pod:584 ../src/guestfs.pod:584
40134 " /boot => /dev/sda1\n"
40135 " / => /dev/vg_guest/lv_root\n"
40136 " /usr => /dev/vg_guest/lv_usr\n"
40139 " /boot => /dev/sda1\n"
40140 " / => /dev/vg_guest/lv_root\n"
40141 " /usr => /dev/vg_guest/lv_usr\n"
40145 #: ../libguestfs-1.11.19/src/guestfs.pod:588 ../src/guestfs.pod:588
40147 "The caller can then make calls to L</guestfs_mount_options> to mount the "
40148 "filesystems as suggested."
40152 #: ../libguestfs-1.11.19/src/guestfs.pod:591 ../src/guestfs.pod:591
40154 "Be careful to mount filesystems in the right order (eg. C</> before C</"
40155 "usr>). Sorting the keys of the hash by length, shortest first, should work."
40159 #: ../libguestfs-1.11.19/src/guestfs.pod:595 ../src/guestfs.pod:595
40161 "Inspection currently only works for some common operating systems. "
40162 "Contributors are welcome to send patches for other operating systems that we "
40163 "currently cannot detect."
40167 #: ../libguestfs-1.11.19/src/guestfs.pod:599 ../src/guestfs.pod:599
40169 "Encrypted disks must be opened before inspection. See L</ENCRYPTED DISKS> "
40170 "for more details. The L</guestfs_inspect_os> function just ignores any "
40171 "encrypted devices."
40175 #: ../libguestfs-1.11.19/src/guestfs.pod:603 ../src/guestfs.pod:603
40177 "A note on the implementation: The call L</guestfs_inspect_os> performs "
40178 "inspection and caches the results in the guest handle. Subsequent calls to "
40179 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
40180 "read the disks. If you change the content of the guest disks, you can redo "
40181 "inspection by calling L</guestfs_inspect_os> again. (L</"
40182 "guestfs_inspect_list_applications> works a little differently from the other "
40183 "calls and does read the disks. See documentation for that function for "
40188 #: ../libguestfs-1.11.19/src/guestfs.pod:612 ../src/guestfs.pod:612
40189 msgid "INSPECTING INSTALL DISKS"
40193 #: ../libguestfs-1.11.19/src/guestfs.pod:614 ../src/guestfs.pod:614
40195 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
40200 #: ../libguestfs-1.11.19/src/guestfs.pod:617 ../src/guestfs.pod:617
40202 "Call L</guestfs_inspect_get_format> to return the format of the operating "
40203 "system, which currently can be C<installed> (a regular operating system) or "
40204 "C<installer> (some sort of install disk)."
40208 #: ../libguestfs-1.11.19/src/guestfs.pod:621 ../src/guestfs.pod:621
40210 "Further information is available about the operating system that can be "
40211 "installed using the regular inspection APIs like L</"
40212 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
40216 #: ../libguestfs-1.11.19/src/guestfs.pod:626 ../src/guestfs.pod:626
40218 "Some additional information specific to installer disks is also available "
40219 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
40220 "guestfs_inspect_is_multipart> calls."
40224 #: ../libguestfs-1.11.19/src/guestfs.pod:631 ../src/guestfs.pod:631
40225 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
40229 #: ../libguestfs-1.11.19/src/guestfs.pod:633 ../src/guestfs.pod:633
40231 "Libguestfs can mount NTFS partitions. It does this using the L<http://www."
40232 "ntfs-3g.org/> driver."
40236 #: ../libguestfs-1.11.19/src/guestfs.pod:636 ../src/guestfs.pod:636
40237 msgid "DRIVE LETTERS AND PATHS"
40238 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
40241 #: ../libguestfs-1.11.19/src/guestfs.pod:638 ../src/guestfs.pod:638
40243 "DOS and Windows still use drive letters, and the filesystems are always "
40244 "treated as case insensitive by Windows itself, and therefore you might find "
40245 "a Windows configuration file referring to a path like C<c:\\windows"
40246 "\\system32>. When the filesystem is mounted in libguestfs, that directory "
40247 "might be referred to as C</WINDOWS/System32>."
40251 #: ../libguestfs-1.11.19/src/guestfs.pod:644 ../src/guestfs.pod:644
40253 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
40254 "L</guestfs_inspect_get_drive_mappings>)"
40258 #: ../libguestfs-1.11.19/src/guestfs.pod:647 ../src/guestfs.pod:647
40260 "Dealing with separator characters (backslash vs forward slash) is outside "
40261 "the scope of libguestfs, but usually a simple character replacement will "
40266 #: ../libguestfs-1.11.19/src/guestfs.pod:651 ../src/guestfs.pod:651
40268 "To resolve the case insensitivity of paths, call L</"
40269 "guestfs_case_sensitive_path>."
40273 #: ../libguestfs-1.11.19/src/guestfs.pod:654 ../src/guestfs.pod:654
40274 msgid "ACCESSING THE WINDOWS REGISTRY"
40275 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
40278 #: ../libguestfs-1.11.19/src/guestfs.pod:656 ../src/guestfs.pod:656
40280 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
40281 "files, through the library C<hivex> which is part of the libguestfs project "
40282 "although ships as a separate tarball. You have to locate and download the "
40283 "hive file(s) yourself, and then pass them to C<hivex> functions. See also "
40284 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
40285 "reg(1)> for more help on this issue."
40289 #: ../libguestfs-1.11.19/src/guestfs.pod:664 ../src/guestfs.pod:664
40290 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
40291 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
40294 #: ../libguestfs-1.11.19/src/guestfs.pod:666 ../src/guestfs.pod:666
40296 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
40297 "provide something which looks like a Linux symlink. The way it tries to do "
40298 "the rewriting is described here:"
40302 #: ../libguestfs-1.11.19/src/guestfs.pod:670 ../src/guestfs.pod:670
40304 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
40307 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
40311 #: ../libguestfs-1.11.19/src/guestfs.pod:672 ../src/guestfs.pod:672
40313 "The essential problem is that ntfs-3g simply does not have enough "
40314 "information to do a correct job. NTFS links can contain drive letters and "
40315 "references to external device GUIDs that ntfs-3g has no way of resolving. "
40316 "It is almost certainly the case that libguestfs callers should ignore what "
40317 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
40321 #: ../libguestfs-1.11.19/src/guestfs.pod:679 ../src/guestfs.pod:679
40323 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
40324 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
40325 "attribute, and read the raw reparse data from that (you can find the format "
40326 "documented in various places around the web)."
40330 #: ../libguestfs-1.11.19/src/guestfs.pod:684 ../src/guestfs.pod:684
40331 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
40335 #: ../libguestfs-1.11.19/src/guestfs.pod:686 ../src/guestfs.pod:686
40337 "There are other useful extended attributes that can be read from ntfs-3g "
40338 "filesystems (using L</guestfs_getxattr>). See:"
40342 #: ../libguestfs-1.11.19/src/guestfs.pod:689 ../src/guestfs.pod:689
40344 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
40346 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
40349 #: ../libguestfs-1.11.19/src/guestfs.pod:691 ../src/guestfs.pod:691
40350 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
40351 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
40354 #: ../libguestfs-1.11.19/src/guestfs.pod:693 ../src/guestfs.pod:693
40356 "Although we don't want to discourage you from using the C API, we will "
40357 "mention here that the same API is also available in other languages."
40361 #: ../libguestfs-1.11.19/src/guestfs.pod:696 ../src/guestfs.pod:696
40363 "The API is broadly identical in all supported languages. This means that "
40364 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
40365 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
40366 "OCaml. In other words, a straightforward, predictable isomorphism between "
40371 #: ../libguestfs-1.11.19/src/guestfs.pod:702 ../src/guestfs.pod:702
40373 "Error messages are automatically transformed into exceptions if the language "
40378 #: ../libguestfs-1.11.19/src/guestfs.pod:705 ../src/guestfs.pod:705
40380 "We don't try to \"object orientify\" parts of the API in OO languages, "
40381 "although contributors are welcome to write higher level APIs above what we "
40382 "provide in their favourite languages if they wish."
40386 #: ../libguestfs-1.11.19/src/guestfs.pod:711 ../src/guestfs.pod:711
40391 #: ../libguestfs-1.11.19/src/guestfs.pod:713 ../src/guestfs.pod:713
40393 "You can use the I<guestfs.h> header file from C++ programs. The C++ API is "
40394 "identical to the C API. C++ classes and exceptions are not used."
40398 #: ../libguestfs-1.11.19/src/guestfs.pod:717 ../src/guestfs.pod:717
40403 #: ../libguestfs-1.11.19/src/guestfs.pod:719 ../src/guestfs.pod:719
40405 "The C# bindings are highly experimental. Please read the warnings at the "
40406 "top of C<csharp/Libguestfs.cs>."
40410 #: ../libguestfs-1.11.19/src/guestfs.pod:722 ../src/guestfs.pod:722
40412 msgstr "B<Haskell>"
40415 #: ../libguestfs-1.11.19/src/guestfs.pod:724 ../src/guestfs.pod:724
40417 "This is the only language binding that is working but incomplete. Only "
40418 "calls which return simple integers have been bound in Haskell, and we are "
40419 "looking for help to complete this binding."
40423 #: ../libguestfs-1.11.19/src/guestfs.pod:728 ../src/guestfs.pod:728
40428 #: ../libguestfs-1.11.19/src/guestfs.pod:730 ../src/guestfs.pod:730
40430 "Full documentation is contained in the Javadoc which is distributed with "
40435 #: ../libguestfs-1.11.19/src/guestfs.pod:733 ../src/guestfs.pod:733
40440 #: ../libguestfs-1.11.19/src/guestfs.pod:735 ../src/guestfs.pod:735
40441 msgid "See L<guestfs-ocaml(3)>."
40442 msgstr "Див. L<guestfs-ocaml(3)>."
40445 #: ../libguestfs-1.11.19/src/guestfs.pod:737 ../src/guestfs.pod:737
40450 #: ../libguestfs-1.11.19/src/guestfs.pod:739 ../src/guestfs.pod:739
40451 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
40452 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
40455 #: ../libguestfs-1.11.19/src/guestfs.pod:741 ../src/guestfs.pod:741
40460 #: ../libguestfs-1.11.19/src/guestfs.pod:743 ../src/guestfs.pod:743
40462 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
40463 "the php-libguestfs package for your distribution."
40467 #: ../libguestfs-1.11.19/src/guestfs.pod:746 ../src/guestfs.pod:746
40468 msgid "The PHP binding only works correctly on 64 bit machines."
40472 #: ../libguestfs-1.11.19/src/guestfs.pod:748 ../src/guestfs.pod:748
40477 #: ../libguestfs-1.11.19/src/guestfs.pod:750 ../src/guestfs.pod:750
40478 msgid "See L<guestfs-python(3)>."
40479 msgstr "Див. L<guestfs-python(3)>."
40482 #: ../libguestfs-1.11.19/src/guestfs.pod:752 ../src/guestfs.pod:752
40487 #: ../libguestfs-1.11.19/src/guestfs.pod:754 ../src/guestfs.pod:754
40488 msgid "See L<guestfs-ruby(3)>."
40489 msgstr "Див. L<guestfs-ruby(3)>."
40492 #: ../libguestfs-1.11.19/src/guestfs.pod:756 ../src/guestfs.pod:756
40493 msgid "B<shell scripts>"
40494 msgstr "B<скрипти оболонки>"
40497 #: ../libguestfs-1.11.19/src/guestfs.pod:758 ../src/guestfs.pod:758
40498 msgid "See L<guestfish(1)>."
40499 msgstr "Див. L<guestfish(1)>."
40502 #: ../libguestfs-1.11.19/src/guestfs.pod:762 ../src/guestfs.pod:762
40503 msgid "LIBGUESTFS GOTCHAS"
40507 #: ../libguestfs-1.11.19/src/guestfs.pod:764 ../src/guestfs.pod:764
40509 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
40510 "system [...] that works in the way it is documented but is counterintuitive "
40511 "and almost invites mistakes.\""
40515 #: ../libguestfs-1.11.19/src/guestfs.pod:768 ../src/guestfs.pod:768
40517 "Since we developed libguestfs and the associated tools, there are several "
40518 "things we would have designed differently, but are now stuck with for "
40519 "backwards compatibility or other reasons. If there is ever a libguestfs 2.0 "
40520 "release, you can expect these to change. Beware of them."
40524 #: ../libguestfs-1.11.19/src/guestfs.pod:776 ../src/guestfs.pod:776
40525 msgid "Autosync / forgetting to sync."
40529 #: ../libguestfs-1.11.19/src/guestfs.pod:778 ../src/guestfs.pod:778
40531 "I<Update:> Autosync is enabled by default for all API users starting from "
40532 "libguestfs 1.5.24. This section only applies to older versions."
40536 #: ../libguestfs-1.11.19/src/guestfs.pod:781 ../src/guestfs.pod:781
40538 "When modifying a filesystem from C or another language, you B<must> unmount "
40539 "all filesystems and call L</guestfs_sync> explicitly before you close the "
40540 "libguestfs handle. You can also call:"
40544 #: ../libguestfs-1.11.19/src/guestfs.pod:785 ../src/guestfs.pod:785
40547 " guestfs_set_autosync (g, 1);\n"
40550 " guestfs_set_autosync (g, 1);\n"
40554 #: ../libguestfs-1.11.19/src/guestfs.pod:787 ../src/guestfs.pod:787
40556 "to have the unmount/sync done automatically for you when the handle 'g' is "
40557 "closed. (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
40561 #: ../libguestfs-1.11.19/src/guestfs.pod:791 ../src/guestfs.pod:791
40563 "If you forget to do this, then it is entirely possible that your changes "
40564 "won't be written out, or will be partially written, or (very rarely) that "
40565 "you'll get disk corruption."
40569 #: ../libguestfs-1.11.19/src/guestfs.pod:795 ../src/guestfs.pod:795
40571 "Note that in L<guestfish(3)> autosync is the default. So quick and dirty "
40572 "guestfish scripts that forget to sync will work just fine, which can make "
40573 "this very puzzling if you are trying to debug a problem."
40577 #: ../libguestfs-1.11.19/src/guestfs.pod:799 ../src/guestfs.pod:799
40578 msgid "Mount option C<-o sync> should not be the default."
40582 #: ../libguestfs-1.11.19/src/guestfs.pod:801 ../src/guestfs.pod:801
40584 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly. "
40585 "However C<-o sync> does not add any reliability benefit, but does have a "
40586 "very large performance impact."
40590 #: ../libguestfs-1.11.19/src/guestfs.pod:805 ../src/guestfs.pod:805
40592 "The work around is to use L</guestfs_mount_options> and set the mount "
40593 "options that you actually want to use."
40597 #: ../libguestfs-1.11.19/src/guestfs.pod:808 ../src/guestfs.pod:808
40598 msgid "Read-only should be the default."
40602 #: ../libguestfs-1.11.19/src/guestfs.pod:810 ../src/guestfs.pod:810
40604 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
40605 "specify I<--rw> if you want to make changes to the image."
40609 #: ../libguestfs-1.11.19/src/guestfs.pod:813 ../src/guestfs.pod:813
40610 msgid "This would reduce the potential to corrupt live VM images."
40614 #: ../libguestfs-1.11.19/src/guestfs.pod:815 ../src/guestfs.pod:815
40616 "Note that many filesystems change the disk when you just mount and unmount, "
40617 "even if you didn't perform any writes. You need to use L</"
40618 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
40622 #: ../libguestfs-1.11.19/src/guestfs.pod:819 ../src/guestfs.pod:819
40623 msgid "guestfish command line is hard to use."
40627 #: ../libguestfs-1.11.19/src/guestfs.pod:821 ../src/guestfs.pod:821
40629 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
40630 "examination). It tries to run a guestfish command C<disk.img> which doesn't "
40631 "exist, so it fails. In earlier versions of guestfish the error message was "
40632 "also unintuitive, but we have corrected this since. Like the Bourne shell, "
40633 "we should have used C<guestfish -c command> to run commands."
40637 #: ../libguestfs-1.11.19/src/guestfs.pod:828 ../src/guestfs.pod:828
40638 msgid "guestfish megabyte modifiers don't work right on all commands"
40642 #: ../libguestfs-1.11.19/src/guestfs.pod:830 ../src/guestfs.pod:830
40644 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
40645 "other modifiers). What guestfish actually does is to multiply the number "
40646 "part by the modifier part and pass the result to the C API. However this "
40647 "doesn't work for a few APIs which aren't expecting bytes, but are already "
40648 "expecting some other unit (eg. megabytes)."
40652 #: ../libguestfs-1.11.19/src/guestfs.pod:837 ../src/guestfs.pod:837
40653 msgid "The most common is L</guestfs_lvcreate>. The guestfish command:"
40657 #: ../libguestfs-1.11.19/src/guestfs.pod:839 ../src/guestfs.pod:839
40660 " lvcreate LV VG 100M\n"
40663 " lvcreate LV VG 100M\n"
40667 #: ../libguestfs-1.11.19/src/guestfs.pod:841 ../src/guestfs.pod:841
40669 "does not do what you might expect. Instead because L</guestfs_lvcreate> is "
40670 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
40671 "megabytes * megabytes) logical volume. The error message you get from this "
40672 "is also a little obscure."
40676 #: ../libguestfs-1.11.19/src/guestfs.pod:846 ../src/guestfs.pod:846
40678 "This could be fixed in the generator by specially marking parameters and "
40679 "return values which take bytes or other units."
40683 #: ../libguestfs-1.11.19/src/guestfs.pod:849 ../src/guestfs.pod:849
40684 msgid "Ambiguity between devices and paths"
40688 #: ../libguestfs-1.11.19/src/guestfs.pod:851 ../src/guestfs.pod:851
40690 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
40691 "sdb2>) and a similar pathname. A file might just happen to be called "
40692 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
40696 #: ../libguestfs-1.11.19/src/guestfs.pod:856 ../src/guestfs.pod:856
40698 "In the current API we usually resolve this ambiguity by having two separate "
40699 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>. "
40700 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
40701 "detecting if the path supplied begins with C</dev/>."
40705 #: ../libguestfs-1.11.19/src/guestfs.pod:862 ../src/guestfs.pod:862
40707 "To avoid both the ambiguity and the need to duplicate some calls, we could "
40708 "make paths/devices into structured names. One way to do this would be to "
40709 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
40710 "aspect of grub. Another way would be to use a structured type, equivalent "
40711 "to this OCaml type:"
40715 #: ../libguestfs-1.11.19/src/guestfs.pod:868 ../src/guestfs.pod:868
40718 " type path = Path of string | Device of int | Partition of int * int\n"
40723 #: ../libguestfs-1.11.19/src/guestfs.pod:870 ../src/guestfs.pod:870
40724 msgid "which would allow you to pass arguments like:"
40728 #: ../libguestfs-1.11.19/src/guestfs.pod:872 ../src/guestfs.pod:872
40731 " Path \"/foo/bar\"\n"
40732 " Device 1 (* /dev/sdb, or perhaps /dev/sda *)\n"
40733 " Partition (1, 2) (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
40734 " Path \"/dev/sdb2\" (* not a device *)\n"
40739 #: ../libguestfs-1.11.19/src/guestfs.pod:877 ../src/guestfs.pod:877
40741 "As you can see there are still problems to resolve even with this "
40742 "representation. Also consider how it might work in guestfish."
40746 #: ../libguestfs-1.11.19/src/guestfs.pod:882 ../src/guestfs.pod:882
40747 msgid "KEYS AND PASSPHRASES"
40748 msgstr "КЛЮЧІ І ПАРОЛІ"
40751 #: ../libguestfs-1.11.19/src/guestfs.pod:884 ../src/guestfs.pod:884
40753 "Certain libguestfs calls take a parameter that contains sensitive key "
40754 "material, passed in as a C string."
40758 #: ../libguestfs-1.11.19/src/guestfs.pod:887 ../src/guestfs.pod:887
40760 "In the future we would hope to change the libguestfs implementation so that "
40761 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
40762 "swap. However this is I<not> done at the moment, because of the complexity "
40763 "of such an implementation."
40767 #: ../libguestfs-1.11.19/src/guestfs.pod:892 ../src/guestfs.pod:892
40769 "Therefore you should be aware that any key parameter you pass to libguestfs "
40770 "might end up being written out to the swap partition. If this is a concern, "
40771 "scrub the swap partition or don't use libguestfs on encrypted devices."
40775 #: ../libguestfs-1.11.19/src/guestfs.pod:897 ../src/guestfs.pod:897
40776 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
40780 #: ../libguestfs-1.11.19/src/guestfs.pod:899 ../src/guestfs.pod:899
40782 "All high-level libguestfs actions are synchronous. If you want to use "
40783 "libguestfs asynchronously then you must create a thread."
40787 #: ../libguestfs-1.11.19/src/guestfs.pod:902 ../src/guestfs.pod:902
40789 "Only use the handle from a single thread. Either use the handle exclusively "
40790 "from one thread, or provide your own mutex so that two threads cannot issue "
40791 "calls on the same handle at the same time."
40795 #: ../libguestfs-1.11.19/src/guestfs.pod:906 ../src/guestfs.pod:906
40797 "See the graphical program guestfs-browser for one possible architecture for "
40798 "multithreaded programs using libvirt and libguestfs."
40802 #: ../libguestfs-1.11.19/src/guestfs.pod:909 ../src/guestfs.pod:909
40807 #: ../libguestfs-1.11.19/src/guestfs.pod:911 ../src/guestfs.pod:911
40809 "Libguestfs needs a supermin appliance, which it finds by looking along an "
40814 #: ../libguestfs-1.11.19/src/guestfs.pod:914 ../src/guestfs.pod:914
40816 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
40817 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
40821 #: ../libguestfs-1.11.19/src/guestfs.pod:917 ../src/guestfs.pod:917
40823 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
40824 "to change the directories that libguestfs will search in. The value is a "
40825 "colon-separated list of paths. The current directory is I<not> searched "
40826 "unless the path contains an empty element or C<.>. For example "
40827 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
40828 "then C</usr/lib/guestfs>."
40832 #: ../libguestfs-1.11.19/src/guestfs.pod:924 ../src/guestfs.pod:924
40833 msgid "QEMU WRAPPERS"
40837 #: ../libguestfs-1.11.19/src/guestfs.pod:926 ../src/guestfs.pod:926
40839 "If you want to compile your own qemu, run qemu from a non-standard location, "
40840 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
40845 #: ../libguestfs-1.11.19/src/guestfs.pod:930 ../src/guestfs.pod:930
40847 "There is one important rule to remember: you I<must C<exec qemu>> as the "
40848 "last command in the shell script (so that qemu replaces the shell and "
40849 "becomes the direct child of the libguestfs-using program). If you don't do "
40850 "this, then the qemu process won't be cleaned up correctly."
40854 #: ../libguestfs-1.11.19/src/guestfs.pod:935 ../src/guestfs.pod:935
40856 "Here is an example of a wrapper, where I have built my own copy of qemu from "
40861 #: ../libguestfs-1.11.19/src/guestfs.pod:938 ../src/guestfs.pod:938
40865 " qemudir=/home/rjones/d/qemu\n"
40866 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
40870 " qemudir=/home/rjones/d/qemu\n"
40871 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
40875 #: ../libguestfs-1.11.19/src/guestfs.pod:942 ../src/guestfs.pod:942
40877 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
40878 "then use it by setting the LIBGUESTFS_QEMU environment variable. For "
40883 #: ../libguestfs-1.11.19/src/guestfs.pod:946 ../src/guestfs.pod:946
40886 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
40889 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
40893 #: ../libguestfs-1.11.19/src/guestfs.pod:948 ../src/guestfs.pod:948
40895 "Note that libguestfs also calls qemu with the -help and -version options in "
40896 "order to determine features."
40900 #: ../libguestfs-1.11.19/src/guestfs.pod:951 ../src/guestfs.pod:951
40901 msgid "ATTACHING TO RUNNING DAEMONS"
40902 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
40905 #: ../libguestfs-1.11.19/src/guestfs.pod:953 ../src/guestfs.pod:953
40907 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
40908 "babies. Use with caution."
40912 #: ../libguestfs-1.11.19/src/guestfs.pod:956 ../src/guestfs.pod:956
40914 "I<Note (2):> This section explains how to attach to a running daemon from a "
40915 "low level perspective. For most users, simply using virt tools such as "
40916 "L<guestfish(1)> with the I<--live> option will \"just work\"."
40920 #: ../libguestfs-1.11.19/src/guestfs.pod:960 ../src/guestfs.pod:960
40921 msgid "Using guestfs_set_attach_method"
40922 msgstr "За допомогою guestfs_set_attach_method"
40925 #: ../libguestfs-1.11.19/src/guestfs.pod:962 ../src/guestfs.pod:962
40927 "By calling L</guestfs_set_attach_method> you can change how the library "
40928 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
40929 "ARCHITECTURE> for some background)."
40933 #: ../libguestfs-1.11.19/src/guestfs.pod:966 ../src/guestfs.pod:966
40935 "The normal attach method is C<appliance>, where a small appliance is created "
40936 "containing the daemon, and then the library connects to this."
40940 #: ../libguestfs-1.11.19/src/guestfs.pod:969 ../src/guestfs.pod:969
40942 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
40943 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
40944 "daemon over the Unix domain socket."
40948 #: ../libguestfs-1.11.19/src/guestfs.pod:973 ../src/guestfs.pod:973
40950 "The normal use for this is to connect to a running virtual machine that "
40951 "contains a C<guestfsd> daemon, and send commands so you can read and write "
40952 "files inside the live virtual machine."
40956 #: ../libguestfs-1.11.19/src/guestfs.pod:977 ../src/guestfs.pod:977
40957 msgid "Using guestfs_add_domain with live flag"
40958 msgstr "За допомогою guestfs_add_domain з прапорцем live"
40961 #: ../libguestfs-1.11.19/src/guestfs.pod:979 ../src/guestfs.pod:979
40963 "L</guestfs_add_domain> provides some help for getting the correct attach "
40964 "method. If you pass the C<live> option to this function, then (if the "
40965 "virtual machine is running) it will examine the libvirt XML looking for a "
40966 "virtio-serial channel to connect to:"
40970 #: ../libguestfs-1.11.19/src/guestfs.pod:985 ../src/guestfs.pod:985
40977 " <channel type='unix'>\n"
40978 " <source mode='bind' path='/path/to/socket'/>\n"
40979 " <target type='virtio' name='org.libguestfs.channel.0'/>\n"
40990 " <channel type='unix'>\n"
40991 " <source mode='bind' path='/path/to/socket'/>\n"
40992 " <target type='virtio' name='org.libguestfs.channel.0'/>\n"
41000 #: ../libguestfs-1.11.19/src/guestfs.pod:997 ../src/guestfs.pod:997
41002 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
41003 "method to C<unix:/path/to/socket>."
41007 #: ../libguestfs-1.11.19/src/guestfs.pod:1000 ../src/guestfs.pod:1000
41009 "Some of the libguestfs tools (including guestfish) support a I<--live> "
41010 "option which is passed through to L</guestfs_add_domain> thus allowing you "
41011 "to attach to and modify live virtual machines."
41015 #: ../libguestfs-1.11.19/src/guestfs.pod:1004 ../src/guestfs.pod:1004
41017 "The virtual machine needs to have been set up beforehand so that it has the "
41018 "virtio-serial channel and so that guestfsd is running inside it."
41022 #: ../libguestfs-1.11.19/src/guestfs.pod:1008 ../src/guestfs.pod:1008
41023 msgid "ABI GUARANTEE"
41024 msgstr "ГАРАНТІЯ ЩОДО ABI"
41027 #: ../libguestfs-1.11.19/src/guestfs.pod:1010 ../src/guestfs.pod:1010
41029 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
41030 "actions as outlined in this section. Although we will deprecate some "
41031 "actions, for example if they get replaced by newer calls, we will keep the "
41032 "old actions forever. This allows you the developer to program in confidence "
41033 "against the libguestfs API."
41037 #: ../libguestfs-1.11.19/src/guestfs.pod:1016 ../src/guestfs.pod:1016
41038 msgid "BLOCK DEVICE NAMING"
41039 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
41042 #: ../libguestfs-1.11.19/src/guestfs.pod:1018 ../src/guestfs.pod:1018
41044 "In the kernel there is now quite a profusion of schemata for naming block "
41045 "devices (in this context, by I<block device> I mean a physical or virtual "
41046 "hard drive). The original Linux IDE driver used names starting with C</dev/"
41047 "hd*>. SCSI devices have historically used a different naming scheme, C</dev/"
41048 "sd*>. When the Linux kernel I<libata> driver became a popular replacement "
41049 "for the old IDE driver (particularly for SATA devices) those devices also "
41050 "used the C</dev/sd*> scheme. Additionally we now have virtual machines with "
41051 "paravirtualized drivers. This has created several different naming systems, "
41052 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
41056 #: ../libguestfs-1.11.19/src/guestfs.pod:1030 ../src/guestfs.pod:1030
41058 "As discussed above, libguestfs uses a qemu appliance running an embedded "
41059 "Linux kernel to access block devices. We can run a variety of appliances "
41060 "based on a variety of Linux kernels."
41064 #: ../libguestfs-1.11.19/src/guestfs.pod:1034 ../src/guestfs.pod:1034
41066 "This causes a problem for libguestfs because many API calls use device or "
41067 "partition names. Working scripts and the recipe (example) scripts that we "
41068 "make available over the internet could fail if the naming scheme changes."
41072 #: ../libguestfs-1.11.19/src/guestfs.pod:1039 ../src/guestfs.pod:1039
41074 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>. "
41075 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
41076 "required. For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
41077 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
41081 #: ../libguestfs-1.11.19/src/guestfs.pod:1045 ../src/guestfs.pod:1045
41083 "Note that this I<only> applies to parameters. The L</guestfs_list_devices>, "
41084 "L</guestfs_list_partitions> and similar calls return the true names of the "
41085 "devices and partitions as known to the appliance."
41089 #: ../libguestfs-1.11.19/src/guestfs.pod:1050 ../src/guestfs.pod:1050
41090 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
41094 #: ../libguestfs-1.11.19/src/guestfs.pod:1052 ../src/guestfs.pod:1052
41096 "Usually this translation is transparent. However in some (very rare) cases "
41097 "you may need to know the exact algorithm. Such cases include where you use "
41098 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
41099 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
41103 #: ../libguestfs-1.11.19/src/guestfs.pod:1058 ../src/guestfs.pod:1058
41105 "The algorithm is applied only to I<parameters> which are known to be either "
41106 "device or partition names. Return values from functions such as L</"
41107 "guestfs_list_devices> are never changed."
41111 #: ../libguestfs-1.11.19/src/guestfs.pod:1066 ../src/guestfs.pod:1066
41112 msgid "Is the string a parameter which is a device or partition name?"
41116 #: ../libguestfs-1.11.19/src/guestfs.pod:1070 ../src/guestfs.pod:1070
41117 msgid "Does the string begin with C</dev/sd>?"
41118 msgstr "Чи починається рядок з C</dev/sd>?"
41121 #: ../libguestfs-1.11.19/src/guestfs.pod:1074 ../src/guestfs.pod:1074
41123 "Does the named device exist? If so, we use that device. However if I<not> "
41124 "then we continue with this algorithm."
41128 #: ../libguestfs-1.11.19/src/guestfs.pod:1079 ../src/guestfs.pod:1079
41129 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
41133 #: ../libguestfs-1.11.19/src/guestfs.pod:1081 ../src/guestfs.pod:1081
41134 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
41138 #: ../libguestfs-1.11.19/src/guestfs.pod:1083 ../src/guestfs.pod:1083
41139 msgid "If that named device exists, use it. If not, continue."
41143 #: ../libguestfs-1.11.19/src/guestfs.pod:1087 ../src/guestfs.pod:1087
41144 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
41148 #: ../libguestfs-1.11.19/src/guestfs.pod:1089 ../src/guestfs.pod:1089
41149 msgid "If that named device exists, use it. If not, return an error."
41153 #: ../libguestfs-1.11.19/src/guestfs.pod:1093 ../src/guestfs.pod:1093
41154 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
41158 #: ../libguestfs-1.11.19/src/guestfs.pod:1095 ../src/guestfs.pod:1095
41160 "Although the standard naming scheme and automatic translation is useful for "
41161 "simple programs and guestfish scripts, for larger programs it is best not to "
41162 "rely on this mechanism."
41166 #: ../libguestfs-1.11.19/src/guestfs.pod:1099 ../src/guestfs.pod:1099
41168 "Where possible for maximum future portability programs using libguestfs "
41169 "should use these future-proof techniques:"
41173 #: ../libguestfs-1.11.19/src/guestfs.pod:1106 ../src/guestfs.pod:1106
41175 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
41176 "device names, and then use those names directly."
41180 #: ../libguestfs-1.11.19/src/guestfs.pod:1109 ../src/guestfs.pod:1109
41182 "Since those device names exist by definition, they will never be translated."
41186 #: ../libguestfs-1.11.19/src/guestfs.pod:1114 ../src/guestfs.pod:1114
41188 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
41189 "filesystem labels."
41193 #: ../libguestfs-1.11.19/src/guestfs.pod:1119 ../src/guestfs.pod:1119
41198 #: ../libguestfs-1.11.19/src/guestfs.pod:1121 ../src/guestfs.pod:1121
41200 "This section discusses security implications of using libguestfs, "
41201 "particularly with untrusted or malicious guests or disk images."
41205 #: ../libguestfs-1.11.19/src/guestfs.pod:1124 ../src/guestfs.pod:1124
41206 msgid "GENERAL SECURITY CONSIDERATIONS"
41207 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
41210 #: ../libguestfs-1.11.19/src/guestfs.pod:1126 ../src/guestfs.pod:1126
41212 "Be careful with any files or data that you download from a guest (by "
41213 "\"download\" we mean not just the L</guestfs_download> command but any "
41214 "command that reads files, filenames, directories or anything else from a "
41215 "disk image). An attacker could manipulate the data to fool your program "
41216 "into doing the wrong thing. Consider cases such as:"
41220 #: ../libguestfs-1.11.19/src/guestfs.pod:1136 ../src/guestfs.pod:1136
41221 msgid "the data (file etc) not being present"
41225 #: ../libguestfs-1.11.19/src/guestfs.pod:1140 ../src/guestfs.pod:1140
41226 msgid "being present but empty"
41230 #: ../libguestfs-1.11.19/src/guestfs.pod:1144 ../src/guestfs.pod:1144
41231 msgid "being much larger than normal"
41235 #: ../libguestfs-1.11.19/src/guestfs.pod:1148 ../src/guestfs.pod:1148
41236 msgid "containing arbitrary 8 bit data"
41240 #: ../libguestfs-1.11.19/src/guestfs.pod:1152 ../src/guestfs.pod:1152
41241 msgid "being in an unexpected character encoding"
41245 #: ../libguestfs-1.11.19/src/guestfs.pod:1156 ../src/guestfs.pod:1156
41246 msgid "containing homoglyphs."
41250 #: ../libguestfs-1.11.19/src/guestfs.pod:1160 ../src/guestfs.pod:1160
41251 msgid "SECURITY OF MOUNTING FILESYSTEMS"
41252 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
41255 #: ../libguestfs-1.11.19/src/guestfs.pod:1162 ../src/guestfs.pod:1162
41257 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
41258 "(VFS) module can sometimes be escalated into exploits by deliberately "
41259 "creating a malicious, malformed filesystem. These exploits are very severe "
41260 "for two reasons. Firstly there are very many filesystem drivers in the "
41261 "kernel, and many of them are infrequently used and not much developer "
41262 "attention has been paid to the code. Linux userspace helps potential "
41263 "crackers by detecting the filesystem type and automatically choosing the "
41264 "right VFS driver, even if that filesystem type is obscure or unexpected for "
41265 "the administrator. Secondly, a kernel-level exploit is like a local root "
41266 "exploit (worse in some ways), giving immediate and total access to the "
41267 "system right down to the hardware level."
41271 #: ../libguestfs-1.11.19/src/guestfs.pod:1175 ../src/guestfs.pod:1175
41273 "That explains why you should never mount a filesystem from an untrusted "
41274 "guest on your host kernel. How about libguestfs? We run a Linux kernel "
41275 "inside a qemu virtual machine, usually running as a non-root user. The "
41276 "attacker would need to write a filesystem which first exploited the kernel, "
41277 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
41278 "the libguestfs protocol, and finally to be as serious as the host kernel "
41279 "exploit it would need to escalate its privileges to root. This multi-step "
41280 "escalation, performed by a static piece of data, is thought to be extremely "
41281 "hard to do, although we never say 'never' about security issues."
41285 #: ../libguestfs-1.11.19/src/guestfs.pod:1186 ../src/guestfs.pod:1186
41287 "In any case callers can reduce the attack surface by forcing the filesystem "
41288 "type when mounting (use L</guestfs_mount_vfs>)."
41292 #: ../libguestfs-1.11.19/src/guestfs.pod:1189 ../src/guestfs.pod:1189
41293 msgid "PROTOCOL SECURITY"
41294 msgstr "ЗАХИСТ ПРОТОКОЛУ"
41297 #: ../libguestfs-1.11.19/src/guestfs.pod:1191 ../src/guestfs.pod:1191
41299 "The protocol is designed to be secure, being based on RFC 4506 (XDR) with a "
41300 "defined upper message size. However a program that uses libguestfs must "
41301 "also take care - for example you can write a program that downloads a binary "
41302 "from a disk image and executes it locally, and no amount of protocol "
41303 "security will save you from the consequences."
41307 #: ../libguestfs-1.11.19/src/guestfs.pod:1197 ../src/guestfs.pod:1197
41308 msgid "INSPECTION SECURITY"
41312 #: ../libguestfs-1.11.19/src/guestfs.pod:1199 ../src/guestfs.pod:1199
41314 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
41315 "directly from the guest, and these could contain any 8 bit data. Callers "
41316 "should be careful to escape these before printing them to a structured file "
41317 "(for example, use HTML escaping if creating a web page)."
41321 #: ../libguestfs-1.11.19/src/guestfs.pod:1205 ../src/guestfs.pod:1205
41323 "Guest configuration may be altered in unusual ways by the administrator of "
41324 "the virtual machine, and may not reflect reality (particularly for untrusted "
41325 "or actively malicious guests). For example we parse the hostname from "
41326 "configuration files like C</etc/sysconfig/network> that we find in the "
41327 "guest, but the guest administrator can easily manipulate these files to "
41328 "provide the wrong hostname."
41332 #: ../libguestfs-1.11.19/src/guestfs.pod:1213 ../src/guestfs.pod:1213
41334 "The inspection API parses guest configuration using two external libraries: "
41335 "Augeas (Linux configuration) and hivex (Windows Registry). Both are "
41336 "designed to be robust in the face of malicious data, although denial of "
41337 "service attacks are still possible, for example with oversized configuration "
41342 #: ../libguestfs-1.11.19/src/guestfs.pod:1219 ../src/guestfs.pod:1219
41343 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
41344 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
41347 #: ../libguestfs-1.11.19/src/guestfs.pod:1221 ../src/guestfs.pod:1221
41349 "Be very cautious about running commands from the guest. By running a "
41350 "command in the guest, you are giving CPU time to a binary that you do not "
41351 "control, under the same user account as the library, albeit wrapped in qemu "
41352 "virtualization. More information and alternatives can be found in the "
41353 "section L</RUNNING COMMANDS>."
41357 #: ../libguestfs-1.11.19/src/guestfs.pod:1227 ../src/guestfs.pod:1227
41358 msgid "CVE-2010-3851"
41359 msgstr "CVE-2010-3851"
41362 #: ../libguestfs-1.11.19/src/guestfs.pod:1229 ../src/guestfs.pod:1229
41363 msgid "https://bugzilla.redhat.com/642934"
41364 msgstr "https://bugzilla.redhat.com/642934"
41367 #: ../libguestfs-1.11.19/src/guestfs.pod:1231 ../src/guestfs.pod:1231
41369 "This security bug concerns the automatic disk format detection that qemu "
41370 "does on disk images."
41374 #: ../libguestfs-1.11.19/src/guestfs.pod:1234 ../src/guestfs.pod:1234
41376 "A raw disk image is just the raw bytes, there is no header. Other disk "
41377 "images like qcow2 contain a special header. Qemu deals with this by looking "
41378 "for one of the known headers, and if none is found then assuming the disk "
41379 "image must be raw."
41383 #: ../libguestfs-1.11.19/src/guestfs.pod:1239 ../src/guestfs.pod:1239
41385 "This allows a guest which has been given a raw disk image to write some "
41386 "other header. At next boot (or when the disk image is accessed by "
41387 "libguestfs) qemu would do autodetection and think the disk image format was, "
41388 "say, qcow2 based on the header written by the guest."
41392 #: ../libguestfs-1.11.19/src/guestfs.pod:1244 ../src/guestfs.pod:1244
41394 "This in itself would not be a problem, but qcow2 offers many features, one "
41395 "of which is to allow a disk image to refer to another image (called the "
41396 "\"backing disk\"). It does this by placing the path to the backing disk "
41397 "into the qcow2 header. This path is not validated and could point to any "
41398 "host file (eg. \"/etc/passwd\"). The backing disk is then exposed through "
41399 "\"holes\" in the qcow2 disk image, which of course is completely under the "
41400 "control of the attacker."
41404 #: ../libguestfs-1.11.19/src/guestfs.pod:1252 ../src/guestfs.pod:1252
41406 "In libguestfs this is rather hard to exploit except under two circumstances:"
41410 #: ../libguestfs-1.11.19/src/guestfs.pod:1259 ../src/guestfs.pod:1259
41411 msgid "You have enabled the network or have opened the disk in write mode."
41415 #: ../libguestfs-1.11.19/src/guestfs.pod:1263 ../src/guestfs.pod:1263
41417 "You are also running untrusted code from the guest (see L</RUNNING "
41422 #: ../libguestfs-1.11.19/src/guestfs.pod:1268 ../src/guestfs.pod:1268
41424 "The way to avoid this is to specify the expected disk format when adding "
41425 "disks (the optional C<format> option to L</guestfs_add_drive_opts>). You "
41426 "should always do this if the disk is raw format, and it's a good idea for "
41431 #: ../libguestfs-1.11.19/src/guestfs.pod:1273 ../src/guestfs.pod:1273
41433 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
41434 "format is fetched from libvirt and passed through."
41438 #: ../libguestfs-1.11.19/src/guestfs.pod:1276 ../src/guestfs.pod:1276
41440 "For libguestfs tools, use the I<--format> command line parameter as "
41445 #: ../libguestfs-1.11.19/src/guestfs.pod:1279 ../src/guestfs.pod:1279
41446 msgid "CONNECTION MANAGEMENT"
41447 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
41450 #: ../libguestfs-1.11.19/src/guestfs.pod:1281 ../src/guestfs.pod:1281
41451 msgid "guestfs_h *"
41452 msgstr "guestfs_h *"
41455 #: ../libguestfs-1.11.19/src/guestfs.pod:1283 ../src/guestfs.pod:1283
41457 "C<guestfs_h> is the opaque type representing a connection handle. Create a "
41458 "handle by calling L</guestfs_create>. Call L</guestfs_close> to free the "
41459 "handle and release all resources used."
41463 #: ../libguestfs-1.11.19/src/guestfs.pod:1287 ../src/guestfs.pod:1287
41465 "For information on using multiple handles and threads, see the section L</"
41466 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
41470 #: ../libguestfs-1.11.19/src/guestfs.pod:1290 ../src/guestfs.pod:1290
41471 msgid "guestfs_create"
41472 msgstr "guestfs_create"
41475 #: ../libguestfs-1.11.19/src/guestfs.pod:1292 ../src/guestfs.pod:1292
41478 " guestfs_h *guestfs_create (void);\n"
41481 " guestfs_h *guestfs_create (void);\n"
41485 #: ../libguestfs-1.11.19/src/guestfs.pod:1294 ../src/guestfs.pod:1294
41486 msgid "Create a connection handle."
41487 msgstr "Створити дескриптор з’єднання."
41490 #: ../libguestfs-1.11.19/src/guestfs.pod:1296 ../src/guestfs.pod:1296
41492 "On success this returns a non-NULL pointer to a handle. On error it returns "
41497 #: ../libguestfs-1.11.19/src/guestfs.pod:1299 ../src/guestfs.pod:1299
41499 "You have to \"configure\" the handle after creating it. This includes "
41500 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
41501 "handle at least once."
41505 #: ../libguestfs-1.11.19/src/guestfs.pod:1303 ../src/guestfs.pod:1303
41506 msgid "After configuring the handle, you have to call L</guestfs_launch>."
41510 #: ../libguestfs-1.11.19/src/guestfs.pod:1305 ../src/guestfs.pod:1305
41512 "You may also want to configure error handling for the handle. See the L</"
41513 "ERROR HANDLING> section below."
41517 #: ../libguestfs-1.11.19/src/guestfs.pod:1308 ../src/guestfs.pod:1308
41518 msgid "guestfs_close"
41519 msgstr "guestfs_close"
41522 #: ../libguestfs-1.11.19/src/guestfs.pod:1310 ../src/guestfs.pod:1310
41525 " void guestfs_close (guestfs_h *g);\n"
41528 " void guestfs_close (guestfs_h *g);\n"
41532 #: ../libguestfs-1.11.19/src/guestfs.pod:1312 ../src/guestfs.pod:1312
41533 msgid "This closes the connection handle and frees up all resources used."
41537 #: ../libguestfs-1.11.19/src/guestfs.pod:1314 ../src/guestfs.pod:1314
41539 "If autosync was set on the handle and the handle was launched, then this "
41540 "implicitly calls various functions to unmount filesystems and sync the "
41541 "disk. See L</guestfs_set_autosync> for more details."
41545 #: ../libguestfs-1.11.19/src/guestfs.pod:1318 ../src/guestfs.pod:1318
41546 msgid "If a close callback was set on the handle, then it is called."
41550 #: ../libguestfs-1.11.19/src/guestfs.pod:1320 ../src/guestfs.pod:1320
41551 msgid "ERROR HANDLING"
41552 msgstr "ОБРОБКА ПОМИЛОК"
41555 #: ../libguestfs-1.11.19/src/guestfs.pod:1322 ../src/guestfs.pod:1322
41557 "API functions can return errors. For example, almost all functions that "
41558 "return C<int> will return C<-1> to indicate an error."
41562 #: ../libguestfs-1.11.19/src/guestfs.pod:1325 ../src/guestfs.pod:1325
41564 "Additional information is available for errors: an error message string and "
41565 "optionally an error number (errno) if the thing that failed was a system "
41570 #: ../libguestfs-1.11.19/src/guestfs.pod:1329 ../src/guestfs.pod:1329
41572 "You can get at the additional information about the last error on the handle "
41573 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
41574 "up an error handler with L</guestfs_set_error_handler>."
41578 #: ../libguestfs-1.11.19/src/guestfs.pod:1334 ../src/guestfs.pod:1334
41580 "When the handle is created, a default error handler is installed which "
41581 "prints the error message string to C<stderr>. For small short-running "
41582 "command line programs it is sufficient to do:"
41586 #: ../libguestfs-1.11.19/src/guestfs.pod:1338 ../src/guestfs.pod:1338
41589 " if (guestfs_launch (g) == -1)\n"
41590 " exit (EXIT_FAILURE);\n"
41593 " if (guestfs_launch (g) == -1)\n"
41594 " exit (EXIT_FAILURE);\n"
41598 #: ../libguestfs-1.11.19/src/guestfs.pod:1341 ../src/guestfs.pod:1341
41600 "since the default error handler will ensure that an error message has been "
41601 "printed to C<stderr> before the program exits."
41605 #: ../libguestfs-1.11.19/src/guestfs.pod:1344 ../src/guestfs.pod:1344
41607 "For other programs the caller will almost certainly want to install an "
41608 "alternate error handler or do error handling in-line like this:"
41612 #: ../libguestfs-1.11.19/src/guestfs.pod:1347 ../src/guestfs.pod:1347
41615 " g = guestfs_create ();\n"
41618 " g = guestfs_create ();\n"
41622 #: ../libguestfs-1.11.19/src/guestfs.pod:1349 ../src/guestfs.pod:1349
41625 " /* This disables the default behaviour of printing errors\n"
41627 " guestfs_set_error_handler (g, NULL, NULL);\n"
41632 #: ../libguestfs-1.11.19/src/guestfs.pod:1353 ../src/guestfs.pod:1353
41635 " if (guestfs_launch (g) == -1) {\n"
41636 " /* Examine the error message and print it etc. */\n"
41637 " char *msg = guestfs_last_error (g);\n"
41638 " int errnum = guestfs_last_errno (g);\n"
41639 " fprintf (stderr, \"%s\\n\", msg);\n"
41644 " if (guestfs_launch (g) == -1) {\n"
41645 " /* Вивчити повідомлення про помилку і вивести його тощо. */\n"
41646 " char *msg = guestfs_last_error (g);\n"
41647 " int errnum = guestfs_last_errno (g);\n"
41648 " fprintf (stderr, \"%s\\n\", msg);\n"
41654 #: ../libguestfs-1.11.19/src/guestfs.pod:1361 ../src/guestfs.pod:1361
41656 "Out of memory errors are handled differently. The default action is to call "
41657 "L<abort(3)>. If this is undesirable, then you can set a handler using L</"
41658 "guestfs_set_out_of_memory_handler>."
41662 #: ../libguestfs-1.11.19/src/guestfs.pod:1365 ../src/guestfs.pod:1365
41664 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
41665 "because there is no handle if this happens there is no way to get additional "
41666 "error information. However L</guestfs_create> is supposed to be a "
41667 "lightweight operation which can only fail because of insufficient memory (it "
41668 "returns NULL in this case)."
41672 #: ../libguestfs-1.11.19/src/guestfs.pod:1371 ../src/guestfs.pod:1371
41673 msgid "guestfs_last_error"
41674 msgstr "guestfs_last_error"
41677 #: ../libguestfs-1.11.19/src/guestfs.pod:1373 ../src/guestfs.pod:1373
41680 " const char *guestfs_last_error (guestfs_h *g);\n"
41683 " const char *guestfs_last_error (guestfs_h *g);\n"
41687 #: ../libguestfs-1.11.19/src/guestfs.pod:1375 ../src/guestfs.pod:1375
41689 "This returns the last error message that happened on C<g>. If there has not "
41690 "been an error since the handle was created, then this returns C<NULL>."
41694 #: ../libguestfs-1.11.19/src/guestfs.pod:1379 ../src/guestfs.pod:1379
41696 "The lifetime of the returned string is until the next error occurs, or L</"
41697 "guestfs_close> is called."
41701 #: ../libguestfs-1.11.19/src/guestfs.pod:1382 ../src/guestfs.pod:1382
41702 msgid "guestfs_last_errno"
41703 msgstr "guestfs_last_errno"
41706 #: ../libguestfs-1.11.19/src/guestfs.pod:1384 ../src/guestfs.pod:1384
41709 " int guestfs_last_errno (guestfs_h *g);\n"
41712 " int guestfs_last_errno (guestfs_h *g);\n"
41716 #: ../libguestfs-1.11.19/src/guestfs.pod:1386 ../src/guestfs.pod:1386
41717 msgid "This returns the last error number (errno) that happened on C<g>."
41721 #: ../libguestfs-1.11.19/src/guestfs.pod:1388 ../src/guestfs.pod:1388
41722 msgid "If successful, an errno integer not equal to zero is returned."
41726 #: ../libguestfs-1.11.19/src/guestfs.pod:1390 ../src/guestfs.pod:1390
41728 "If no error, this returns 0. This call can return 0 in three situations:"
41732 #: ../libguestfs-1.11.19/src/guestfs.pod:1397 ../src/guestfs.pod:1397
41733 msgid "There has not been any error on the handle."
41737 #: ../libguestfs-1.11.19/src/guestfs.pod:1401 ../src/guestfs.pod:1401
41739 "There has been an error but the errno was meaningless. This corresponds to "
41740 "the case where the error did not come from a failed system call, but for "
41741 "some other reason."
41745 #: ../libguestfs-1.11.19/src/guestfs.pod:1407 ../src/guestfs.pod:1407
41747 "There was an error from a failed system call, but for some reason the errno "
41748 "was not captured and returned. This usually indicates a bug in libguestfs."
41752 #: ../libguestfs-1.11.19/src/guestfs.pod:1413 ../src/guestfs.pod:1413
41754 "Libguestfs tries to convert the errno from inside the applicance into a "
41755 "corresponding errno for the caller (not entirely trivial: the appliance "
41756 "might be running a completely different operating system from the library "
41757 "and error numbers are not standardized across Un*xen). If this could not be "
41758 "done, then the error is translated to C<EINVAL>. In practice this should "
41759 "only happen in very rare circumstances."
41763 #: ../libguestfs-1.11.19/src/guestfs.pod:1421 ../src/guestfs.pod:1421
41764 msgid "guestfs_set_error_handler"
41765 msgstr "guestfs_set_error_handler"
41768 #: ../libguestfs-1.11.19/src/guestfs.pod:1423 ../src/guestfs.pod:1423
41771 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
41773 " const char *msg);\n"
41774 " void guestfs_set_error_handler (guestfs_h *g,\n"
41775 " guestfs_error_handler_cb cb,\n"
41776 " void *opaque);\n"
41779 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
41781 " const char *msg);\n"
41782 " void guestfs_set_error_handler (guestfs_h *g,\n"
41783 " guestfs_error_handler_cb cb,\n"
41784 " void *opaque);\n"
41788 #: ../libguestfs-1.11.19/src/guestfs.pod:1430 ../src/guestfs.pod:1430
41790 "The callback C<cb> will be called if there is an error. The parameters "
41791 "passed to the callback are an opaque data pointer and the error message "
41796 #: ../libguestfs-1.11.19/src/guestfs.pod:1434 ../src/guestfs.pod:1434
41798 "C<errno> is not passed to the callback. To get that the callback must call "
41799 "L</guestfs_last_errno>."
41803 #: ../libguestfs-1.11.19/src/guestfs.pod:1437 ../src/guestfs.pod:1437
41805 "Note that the message string C<msg> is freed as soon as the callback "
41806 "function returns, so if you want to stash it somewhere you must make your "
41811 #: ../libguestfs-1.11.19/src/guestfs.pod:1441 ../src/guestfs.pod:1441
41812 msgid "The default handler prints messages on C<stderr>."
41816 #: ../libguestfs-1.11.19/src/guestfs.pod:1443 ../src/guestfs.pod:1443
41817 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
41821 #: ../libguestfs-1.11.19/src/guestfs.pod:1445 ../src/guestfs.pod:1445
41822 msgid "guestfs_get_error_handler"
41823 msgstr "guestfs_get_error_handler"
41826 #: ../libguestfs-1.11.19/src/guestfs.pod:1447 ../src/guestfs.pod:1447
41829 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
41830 " void **opaque_rtn);\n"
41833 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
41834 " void **opaque_rtn);\n"
41838 #: ../libguestfs-1.11.19/src/guestfs.pod:1450 ../src/guestfs.pod:1450
41839 msgid "Returns the current error handler callback."
41843 #: ../libguestfs-1.11.19/src/guestfs.pod:1452 ../src/guestfs.pod:1452
41844 msgid "guestfs_set_out_of_memory_handler"
41845 msgstr "guestfs_set_out_of_memory_handler"
41848 #: ../libguestfs-1.11.19/src/guestfs.pod:1454 ../src/guestfs.pod:1454
41851 " typedef void (*guestfs_abort_cb) (void);\n"
41852 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
41853 " guestfs_abort_cb);\n"
41856 " typedef void (*guestfs_abort_cb) (void);\n"
41857 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
41858 " guestfs_abort_cb);\n"
41862 #: ../libguestfs-1.11.19/src/guestfs.pod:1458 ../src/guestfs.pod:1458
41864 "The callback C<cb> will be called if there is an out of memory situation. "
41865 "I<Note this callback must not return>."
41869 #: ../libguestfs-1.11.19/src/guestfs.pod:1461 ../src/guestfs.pod:1461
41870 msgid "The default is to call L<abort(3)>."
41874 #: ../libguestfs-1.11.19/src/guestfs.pod:1463 ../src/guestfs.pod:1463
41876 "You cannot set C<cb> to C<NULL>. You can't ignore out of memory situations."
41880 #: ../libguestfs-1.11.19/src/guestfs.pod:1466 ../src/guestfs.pod:1466
41881 msgid "guestfs_get_out_of_memory_handler"
41882 msgstr "guestfs_get_out_of_memory_handler"
41885 #: ../libguestfs-1.11.19/src/guestfs.pod:1468 ../src/guestfs.pod:1468
41888 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
41891 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
41895 #: ../libguestfs-1.11.19/src/guestfs.pod:1470 ../src/guestfs.pod:1470
41896 msgid "This returns the current out of memory handler."
41900 #: ../libguestfs-1.11.19/src/guestfs.pod:1472 ../src/guestfs.pod:1472
41902 msgstr "ВИКЛИКИ API"
41905 #: ../libguestfs-1.11.19/src/guestfs.pod:1476 ../src/guestfs.pod:1476
41910 #: ../libguestfs-1.11.19/src/guestfs.pod:1478 ../src/guestfs.pod:1478
41915 #: ../libguestfs-1.11.19/src/guestfs.pod:1480 ../src/guestfs.pod:1480
41916 msgid "AVAILABILITY"
41917 msgstr "ДОСТУПНІСТЬ"
41920 #: ../libguestfs-1.11.19/src/guestfs.pod:1482 ../src/guestfs.pod:1482
41921 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
41922 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
41925 #: ../libguestfs-1.11.19/src/guestfs.pod:1484 ../src/guestfs.pod:1484
41927 "Using L</guestfs_available> you can test availability of the following "
41928 "groups of functions. This test queries the appliance to see if the "
41929 "appliance you are currently using supports the functionality."
41933 #: ../libguestfs-1.11.19/src/guestfs.pod:1489 ../src/guestfs.pod:1489
41934 msgid "@AVAILABILITY@"
41935 msgstr "@AVAILABILITY@"
41938 #: ../libguestfs-1.11.19/src/guestfs.pod:1491 ../src/guestfs.pod:1491
41939 msgid "GUESTFISH supported COMMAND"
41943 #: ../libguestfs-1.11.19/src/guestfs.pod:1493 ../src/guestfs.pod:1493
41945 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
41946 "prints out the available groups and whether they are supported by this build "
41947 "of libguestfs. Note however that you have to do C<run> first."
41951 #: ../libguestfs-1.11.19/src/guestfs.pod:1498 ../src/guestfs.pod:1498
41952 msgid "SINGLE CALLS AT COMPILE TIME"
41956 #: ../libguestfs-1.11.19/src/guestfs.pod:1500 ../src/guestfs.pod:1500
41958 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
41959 "function, such as:"
41963 #: ../libguestfs-1.11.19/src/guestfs.pod:1503 ../src/guestfs.pod:1503
41966 " #define LIBGUESTFS_HAVE_DD 1\n"
41969 " #define LIBGUESTFS_HAVE_DD 1\n"
41973 #: ../libguestfs-1.11.19/src/guestfs.pod:1505 ../src/guestfs.pod:1505
41974 msgid "if L</guestfs_dd> is available."
41978 #: ../libguestfs-1.11.19/src/guestfs.pod:1507 ../src/guestfs.pod:1507
41980 "Before version 1.5.8, if you needed to test whether a single libguestfs "
41981 "function is available at compile time, we recommended using build tools such "
41982 "as autoconf or cmake. For example in autotools you could use:"
41986 #: ../libguestfs-1.11.19/src/guestfs.pod:1512 ../src/guestfs.pod:1512
41989 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
41990 " AC_CHECK_FUNCS([guestfs_dd])\n"
41993 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
41994 " AC_CHECK_FUNCS([guestfs_dd])\n"
41998 #: ../libguestfs-1.11.19/src/guestfs.pod:1515 ../src/guestfs.pod:1515
42000 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
42005 #: ../libguestfs-1.11.19/src/guestfs.pod:1518 ../src/guestfs.pod:1518
42006 msgid "SINGLE CALLS AT RUN TIME"
42010 #: ../libguestfs-1.11.19/src/guestfs.pod:1520 ../src/guestfs.pod:1520
42012 "Testing at compile time doesn't guarantee that a function really exists in "
42013 "the library. The reason is that you might be dynamically linked against a "
42014 "previous I<libguestfs.so> (dynamic library) which doesn't have the call. "
42015 "This situation unfortunately results in a segmentation fault, which is a "
42016 "shortcoming of the C dynamic linking system itself."
42020 #: ../libguestfs-1.11.19/src/guestfs.pod:1527 ../src/guestfs.pod:1527
42022 "You can use L<dlopen(3)> to test if a function is available at run time, as "
42023 "in this example program (note that you still need the compile time check as "
42028 #: ../libguestfs-1.11.19/src/guestfs.pod:1531 ../src/guestfs.pod:1531
42031 " #include <stdio.h>\n"
42032 " #include <stdlib.h>\n"
42033 " #include <unistd.h>\n"
42034 " #include <dlfcn.h>\n"
42035 " #include <guestfs.h>\n"
42038 " #include <stdio.h>\n"
42039 " #include <stdlib.h>\n"
42040 " #include <unistd.h>\n"
42041 " #include <dlfcn.h>\n"
42042 " #include <guestfs.h>\n"
42046 #: ../libguestfs-1.11.19/src/guestfs.pod:1537 ../src/guestfs.pod:1537
42051 " #ifdef LIBGUESTFS_HAVE_DD\n"
42053 " int has_function;\n"
42058 " #ifdef LIBGUESTFS_HAVE_DD\n"
42060 " int has_function;\n"
42064 #: ../libguestfs-1.11.19/src/guestfs.pod:1543 ../src/guestfs.pod:1543
42067 " /* Test if the function guestfs_dd is really available. */\n"
42068 " dl = dlopen (NULL, RTLD_LAZY);\n"
42070 " fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
42071 " exit (EXIT_FAILURE);\n"
42073 " has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
42079 #: ../libguestfs-1.11.19/src/guestfs.pod:1552 ../src/guestfs.pod:1552
42082 " if (!has_function)\n"
42083 " printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
42085 " printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
42086 " /* Now it's safe to call\n"
42087 " guestfs_dd (g, \"foo\", \"bar\");\n"
42091 " printf (\"guestfs_dd function was not found at compile time\\n\");\n"
42098 #: ../libguestfs-1.11.19/src/guestfs.pod:1565 ../src/guestfs.pod:1565
42100 "You may think the above is an awful lot of hassle, and it is. There are "
42101 "other ways outside of the C linking system to ensure that this kind of "
42102 "incompatibility never arises, such as using package versioning:"
42106 #: ../libguestfs-1.11.19/src/guestfs.pod:1570 ../src/guestfs.pod:1570
42109 " Requires: libguestfs >= 1.0.80\n"
42114 #: ../libguestfs-1.11.19/src/guestfs.pod:1572 ../src/guestfs.pod:1572
42115 msgid "CALLS WITH OPTIONAL ARGUMENTS"
42119 #: ../libguestfs-1.11.19/src/guestfs.pod:1574 ../src/guestfs.pod:1574
42121 "A recent feature of the API is the introduction of calls which take optional "
42122 "arguments. In C these are declared 3 ways. The main way is as a call which "
42123 "takes variable arguments (ie. C<...>), as in this example:"
42127 #: ../libguestfs-1.11.19/src/guestfs.pod:1579 ../src/guestfs.pod:1579
42130 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
42133 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
42137 #: ../libguestfs-1.11.19/src/guestfs.pod:1581 ../src/guestfs.pod:1581
42139 "Call this with a list of optional arguments, terminated by C<-1>. So to "
42140 "call with no optional arguments specified:"
42144 #: ../libguestfs-1.11.19/src/guestfs.pod:1584 ../src/guestfs.pod:1584
42147 " guestfs_add_drive_opts (g, filename, -1);\n"
42150 " guestfs_add_drive_opts (g, filename, -1);\n"
42154 #: ../libguestfs-1.11.19/src/guestfs.pod:1586 ../src/guestfs.pod:1586
42155 msgid "With a single optional argument:"
42159 #: ../libguestfs-1.11.19/src/guestfs.pod:1588 ../src/guestfs.pod:1588
42162 " guestfs_add_drive_opts (g, filename,\n"
42163 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42167 " guestfs_add_drive_opts (g, filename,\n"
42168 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42173 #: ../libguestfs-1.11.19/src/guestfs.pod:1592 ../src/guestfs.pod:1592
42178 #: ../libguestfs-1.11.19/src/guestfs.pod:1594 ../src/guestfs.pod:1594
42181 " guestfs_add_drive_opts (g, filename,\n"
42182 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42183 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
42187 " guestfs_add_drive_opts (g, filename,\n"
42188 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
42189 " GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
42194 #: ../libguestfs-1.11.19/src/guestfs.pod:1599 ../src/guestfs.pod:1599
42196 "and so forth. Don't forget the terminating C<-1> otherwise Bad Things will "
42201 #: ../libguestfs-1.11.19/src/guestfs.pod:1602 ../src/guestfs.pod:1602
42202 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
42206 #: ../libguestfs-1.11.19/src/guestfs.pod:1604 ../src/guestfs.pod:1604
42208 "The second variant has the same name with the suffix C<_va>, which works the "
42209 "same way but takes a C<va_list>. See the C manual for details. For the "
42210 "example function, this is declared:"
42214 #: ../libguestfs-1.11.19/src/guestfs.pod:1608 ../src/guestfs.pod:1608
42217 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
42218 " va_list args);\n"
42221 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
42222 " va_list args);\n"
42226 #: ../libguestfs-1.11.19/src/guestfs.pod:1611 ../src/guestfs.pod:1611
42227 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
42231 #: ../libguestfs-1.11.19/src/guestfs.pod:1613 ../src/guestfs.pod:1613
42233 "The third variant is useful where you need to construct these calls. You "
42234 "pass in a structure where you fill in the optional fields. The structure "
42235 "has a bitmask as the first element which you must set to indicate which "
42236 "fields you have filled in. For our example function the structure and call "
42241 #: ../libguestfs-1.11.19/src/guestfs.pod:1619 ../src/guestfs.pod:1619
42244 " struct guestfs_add_drive_opts_argv {\n"
42245 " uint64_t bitmask;\n"
42247 " const char *format;\n"
42250 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
42251 " const struct guestfs_add_drive_opts_argv *optargs);\n"
42254 " struct guestfs_add_drive_opts_argv {\n"
42255 " uint64_t bitmask;\n"
42257 " const char *format;\n"
42260 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
42261 " const struct guestfs_add_drive_opts_argv *optargs);\n"
42265 #: ../libguestfs-1.11.19/src/guestfs.pod:1628 ../src/guestfs.pod:1628
42266 msgid "You could call it like this:"
42270 #: ../libguestfs-1.11.19/src/guestfs.pod:1630 ../src/guestfs.pod:1630
42273 " struct guestfs_add_drive_opts_argv optargs = {\n"
42274 " .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
42275 " GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
42276 " .readonly = 1,\n"
42277 " .format = \"qcow2\"\n"
42281 " struct guestfs_add_drive_opts_argv optargs = {\n"
42282 " .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
42283 " GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
42284 " .readonly = 1,\n"
42285 " .format = \"qcow2\"\n"
42290 #: ../libguestfs-1.11.19/src/guestfs.pod:1637 ../src/guestfs.pod:1637
42293 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
42296 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
42300 #: ../libguestfs-1.11.19/src/guestfs.pod:1645 ../src/guestfs.pod:1645
42301 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
42305 #: ../libguestfs-1.11.19/src/guestfs.pod:1650 ../src/guestfs.pod:1650
42306 msgid "You do not need to fill in all fields of the structure."
42310 #: ../libguestfs-1.11.19/src/guestfs.pod:1654 ../src/guestfs.pod:1654
42312 "There must be a one-to-one correspondence between fields of the structure "
42313 "that are filled in, and bits set in the bitmask."
42317 #: ../libguestfs-1.11.19/src/guestfs.pod:1659 ../src/guestfs.pod:1659
42318 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
42322 #: ../libguestfs-1.11.19/src/guestfs.pod:1661 ../src/guestfs.pod:1661
42324 "In other languages, optional arguments are expressed in the way that is "
42325 "natural for that language. We refer you to the language-specific "
42326 "documentation for more details on that."
42330 #: ../libguestfs-1.11.19/src/guestfs.pod:1665 ../src/guestfs.pod:1665
42331 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
42335 #: ../libguestfs-1.11.19/src/guestfs.pod:1667 ../src/guestfs.pod:1667
42336 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
42340 #: ../libguestfs-1.11.19/src/guestfs.pod:1669 ../src/guestfs.pod:1669
42342 "B<Note:> This section documents the generic event mechanism introduced in "
42343 "libguestfs 1.10, which you should use in new code if possible. The old "
42344 "functions C<guestfs_set_log_message_callback>, "
42345 "C<guestfs_set_subprocess_quit_callback>, "
42346 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
42347 "C<guestfs_set_progress_callback> are no longer documented in this manual "
42348 "page. Because of the ABI guarantee, the old functions continue to work."
42352 #: ../libguestfs-1.11.19/src/guestfs.pod:1678 ../src/guestfs.pod:1678
42354 "Handles generate events when certain things happen, such as log messages "
42355 "being generated, progress messages during long-running operations, or the "
42356 "handle being closed. The API calls described below let you register a "
42357 "callback to be called when events happen. You can register multiple "
42358 "callbacks (for the same, different or overlapping sets of events), and "
42359 "individually remove callbacks. If callbacks are not removed, then they "
42360 "remain in force until the handle is closed."
42364 #: ../libguestfs-1.11.19/src/guestfs.pod:1686 ../src/guestfs.pod:1686
42366 "In the current implementation, events are only generated synchronously: that "
42367 "means that events (and hence callbacks) can only happen while you are in the "
42368 "middle of making another libguestfs call. The callback is called in the "
42373 #: ../libguestfs-1.11.19/src/guestfs.pod:1691 ../src/guestfs.pod:1691
42375 "Events may contain a payload, usually nothing (void), an array of 64 bit "
42376 "unsigned integers, or a message buffer. Payloads are discussed later on."
42380 #: ../libguestfs-1.11.19/src/guestfs.pod:1695 ../src/guestfs.pod:1695
42381 msgid "CLASSES OF EVENTS"
42385 #: ../libguestfs-1.11.19/src/guestfs.pod:1699 ../src/guestfs.pod:1699
42386 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
42390 #: ../libguestfs-1.11.19/src/guestfs.pod:1702 ../src/guestfs.pod:1702
42392 "The callback function will be called while the handle is being closed "
42393 "(synchronously from L</guestfs_close>)."
42397 #: ../libguestfs-1.11.19/src/guestfs.pod:1705 ../src/guestfs.pod:1705
42399 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
42400 "handles that are open when the program exits. This means that this callback "
42401 "might be called indirectly from L<exit(3)>, which can cause unexpected "
42402 "problems in higher-level languages (eg. if your HLL interpreter has already "
42403 "been cleaned up by the time this is called, and if your callback then jumps "
42404 "into some HLL function)."
42408 #: ../libguestfs-1.11.19/src/guestfs.pod:1712 ../src/guestfs.pod:1712
42410 "If no callback is registered: the handle is closed without any callback "
42415 #: ../libguestfs-1.11.19/src/guestfs.pod:1715 ../src/guestfs.pod:1715
42416 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
42420 #: ../libguestfs-1.11.19/src/guestfs.pod:1718 ../src/guestfs.pod:1718
42422 "The callback function will be called when the child process quits, either "
42423 "asynchronously or if killed by L</guestfs_kill_subprocess>. (This "
42424 "corresponds to a transition from any state to the CONFIG state)."
42428 #: ../libguestfs-1.11.19/src/guestfs.pod:1722
42429 #: ../libguestfs-1.11.19/src/guestfs.pod:1731 ../src/guestfs.pod:1722
42430 #: ../src/guestfs.pod:1731
42431 msgid "If no callback is registered: the event is ignored."
42435 #: ../libguestfs-1.11.19/src/guestfs.pod:1724 ../src/guestfs.pod:1724
42436 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
42440 #: ../libguestfs-1.11.19/src/guestfs.pod:1727 ../src/guestfs.pod:1727
42442 "The callback function will be called when the child process becomes ready "
42443 "first time after it has been launched. (This corresponds to a transition "
42444 "from LAUNCHING to the READY state)."
42448 #: ../libguestfs-1.11.19/src/guestfs.pod:1733 ../src/guestfs.pod:1733
42449 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
42453 #: ../libguestfs-1.11.19/src/guestfs.pod:1736 ../src/guestfs.pod:1736
42455 "Some long-running operations can generate progress messages. If this "
42456 "callback is registered, then it will be called each time a progress message "
42457 "is generated (usually two seconds after the operation started, and three "
42458 "times per second thereafter until it completes, although the frequency may "
42459 "change in future versions)."
42463 #: ../libguestfs-1.11.19/src/guestfs.pod:1742 ../src/guestfs.pod:1742
42465 "The callback receives in the payload four unsigned 64 bit numbers which are "
42466 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
42470 #: ../libguestfs-1.11.19/src/guestfs.pod:1745 ../src/guestfs.pod:1745
42472 "The units of C<total> are not defined, although for some operations C<total> "
42473 "may relate in some way to the amount of data to be transferred (eg. in bytes "
42474 "or megabytes), and C<position> may be the portion which has been transferred."
42478 #: ../libguestfs-1.11.19/src/guestfs.pod:1750 ../src/guestfs.pod:1750
42479 msgid "The only defined and stable parts of the API are:"
42483 #: ../libguestfs-1.11.19/src/guestfs.pod:1756 ../src/guestfs.pod:1756
42485 "The callback can display to the user some type of progress bar or indicator "
42486 "which shows the ratio of C<position>:C<total>."
42490 #: ../libguestfs-1.11.19/src/guestfs.pod:1761 ../src/guestfs.pod:1761
42491 msgid "0 E<lt>= C<position> E<lt>= C<total>"
42495 #: ../libguestfs-1.11.19/src/guestfs.pod:1765 ../src/guestfs.pod:1765
42497 "If any progress notification is sent during a call, then a final progress "
42498 "notification is always sent when C<position> = C<total> (I<unless> the call "
42499 "fails with an error)."
42503 #: ../libguestfs-1.11.19/src/guestfs.pod:1769 ../src/guestfs.pod:1769
42505 "This is to simplify caller code, so callers can easily set the progress "
42506 "indicator to \"100%\" at the end of the operation, without requiring special "
42507 "code to detect this case."
42511 #: ../libguestfs-1.11.19/src/guestfs.pod:1775 ../src/guestfs.pod:1775
42513 "For some calls we are unable to estimate the progress of the call, but we "
42514 "can still generate progress messages to indicate activity. This is known as "
42515 "\"pulse mode\", and is directly supported by certain progress bar "
42516 "implementations (eg. GtkProgressBar)."
42520 #: ../libguestfs-1.11.19/src/guestfs.pod:1780 ../src/guestfs.pod:1780
42522 "For these calls, zero or more progress messages are generated with "
42523 "C<position = 0> and C<total = 1>, followed by a final message with "
42524 "C<position = total = 1>."
42528 #: ../libguestfs-1.11.19/src/guestfs.pod:1784 ../src/guestfs.pod:1784
42530 "As noted above, if the call fails with an error then the final message may "
42531 "not be generated."
42535 #: ../libguestfs-1.11.19/src/guestfs.pod:1789 ../src/guestfs.pod:1789
42537 "The callback also receives the procedure number (C<proc_nr>) and serial "
42538 "number (C<serial>) of the call. These are only useful for debugging "
42539 "protocol issues, and the callback can normally ignore them. The callback "
42540 "may want to print these numbers in error messages or debugging messages."
42544 #: ../libguestfs-1.11.19/src/guestfs.pod:1795 ../src/guestfs.pod:1795
42545 msgid "If no callback is registered: progress messages are discarded."
42549 #: ../libguestfs-1.11.19/src/guestfs.pod:1797 ../src/guestfs.pod:1797
42550 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
42554 #: ../libguestfs-1.11.19/src/guestfs.pod:1800 ../src/guestfs.pod:1800
42556 "The callback function is called whenever a log message is generated by qemu, "
42557 "the appliance kernel, guestfsd (daemon), or utility programs."
42561 #: ../libguestfs-1.11.19/src/guestfs.pod:1803 ../src/guestfs.pod:1803
42563 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
42564 "guestfs_launch>) then additional debug messages are generated."
42568 #: ../libguestfs-1.11.19/src/guestfs.pod:1806
42569 #: ../libguestfs-1.11.19/src/guestfs.pod:1820 ../src/guestfs.pod:1806
42570 #: ../src/guestfs.pod:1820
42572 "If no callback is registered: the messages are discarded unless the verbose "
42573 "flag is set in which case they are sent to stderr. You can override the "
42574 "printing of verbose messages to stderr by setting up a callback."
42578 #: ../libguestfs-1.11.19/src/guestfs.pod:1811 ../src/guestfs.pod:1811
42579 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
42583 #: ../libguestfs-1.11.19/src/guestfs.pod:1814 ../src/guestfs.pod:1814
42585 "The callback function is called whenever a log message is generated by the "
42586 "library part of libguestfs."
42590 #: ../libguestfs-1.11.19/src/guestfs.pod:1817 ../src/guestfs.pod:1817
42592 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
42593 "messages are generated."
42597 #: ../libguestfs-1.11.19/src/guestfs.pod:1825 ../src/guestfs.pod:1825
42598 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
42602 #: ../libguestfs-1.11.19/src/guestfs.pod:1828 ../src/guestfs.pod:1828
42604 "The callback function is called whenever a trace message is generated. This "
42605 "only applies if the trace flag (L</guestfs_set_trace>) is set."
42609 #: ../libguestfs-1.11.19/src/guestfs.pod:1831 ../src/guestfs.pod:1831
42611 "If no callback is registered: the messages are sent to stderr. You can "
42612 "override the printing of trace messages to stderr by setting up a callback."
42616 #: ../libguestfs-1.11.19/src/guestfs.pod:1837 ../src/guestfs.pod:1837
42617 msgid "guestfs_set_event_callback"
42621 #: ../libguestfs-1.11.19/src/guestfs.pod:1839 ../src/guestfs.pod:1839
42624 " int guestfs_set_event_callback (guestfs_h *g,\n"
42625 " guestfs_event_callback cb,\n"
42626 " uint64_t event_bitmask,\n"
42628 " void *opaque);\n"
42633 #: ../libguestfs-1.11.19/src/guestfs.pod:1845 ../src/guestfs.pod:1845
42635 "This function registers a callback (C<cb>) for all event classes in the "
42636 "C<event_bitmask>."
42640 #: ../libguestfs-1.11.19/src/guestfs.pod:1848 ../src/guestfs.pod:1848
42642 "For example, to register for all log message events, you could call this "
42643 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>. "
42644 "To register a single callback for all possible classes of events, use "
42645 "C<GUESTFS_EVENT_ALL>."
42649 #: ../libguestfs-1.11.19/src/guestfs.pod:1854 ../src/guestfs.pod:1854
42650 msgid "C<flags> should always be passed as 0."
42654 #: ../libguestfs-1.11.19/src/guestfs.pod:1856 ../src/guestfs.pod:1856
42656 "C<opaque> is an opaque pointer which is passed to the callback. You can use "
42657 "it for any purpose."
42661 #: ../libguestfs-1.11.19/src/guestfs.pod:1859 ../src/guestfs.pod:1859
42663 "The return value is the event handle (an integer) which you can use to "
42664 "delete the callback (see below)."
42668 #: ../libguestfs-1.11.19/src/guestfs.pod:1862 ../src/guestfs.pod:1862
42670 "If there is an error, this function returns C<-1>, and sets the error in the "
42671 "handle in the usual way (see L</guestfs_last_error> etc.)"
42675 #: ../libguestfs-1.11.19/src/guestfs.pod:1865 ../src/guestfs.pod:1865
42677 "Callbacks remain in effect until they are deleted, or until the handle is "
42682 #: ../libguestfs-1.11.19/src/guestfs.pod:1868 ../src/guestfs.pod:1868
42684 "In the case where multiple callbacks are registered for a particular event "
42685 "class, all of the callbacks are called. The order in which multiple "
42686 "callbacks are called is not defined."
42690 #: ../libguestfs-1.11.19/src/guestfs.pod:1872 ../src/guestfs.pod:1872
42691 msgid "guestfs_delete_event_callback"
42695 #: ../libguestfs-1.11.19/src/guestfs.pod:1874 ../src/guestfs.pod:1874
42698 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
42703 #: ../libguestfs-1.11.19/src/guestfs.pod:1876 ../src/guestfs.pod:1876
42705 "Delete a callback that was previously registered. C<event_handle> should be "
42706 "the integer that was returned by a previous call to "
42707 "C<guestfs_set_event_callback> on the same handle."
42711 #: ../libguestfs-1.11.19/src/guestfs.pod:1880 ../src/guestfs.pod:1880
42712 msgid "guestfs_event_callback"
42716 #: ../libguestfs-1.11.19/src/guestfs.pod:1882 ../src/guestfs.pod:1882
42719 " typedef void (*guestfs_event_callback) (\n"
42722 " uint64_t event,\n"
42723 " int event_handle,\n"
42725 " const char *buf, size_t buf_len,\n"
42726 " const uint64_t *array, size_t array_len);\n"
42731 #: ../libguestfs-1.11.19/src/guestfs.pod:1891 ../src/guestfs.pod:1891
42733 "This is the type of the event callback function that you have to provide."
42737 #: ../libguestfs-1.11.19/src/guestfs.pod:1894 ../src/guestfs.pod:1894
42739 "The basic parameters are: the handle (C<g>), the opaque user pointer "
42740 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
42741 "handle, and C<flags> which in the current API you should ignore."
42745 #: ../libguestfs-1.11.19/src/guestfs.pod:1898 ../src/guestfs.pod:1898
42747 "The remaining parameters contain the event payload (if any). Each event may "
42748 "contain a payload, which usually relates to the event class, but for future "
42749 "proofing your code should be written to handle any payload for any event "
42754 #: ../libguestfs-1.11.19/src/guestfs.pod:1903 ../src/guestfs.pod:1903
42756 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
42757 "there is no message buffer). Note that this message buffer can contain "
42758 "arbitrary 8 bit data, including NUL bytes."
42762 #: ../libguestfs-1.11.19/src/guestfs.pod:1907 ../src/guestfs.pod:1907
42764 "C<array> and C<array_len> is an array of 64 bit unsigned integers. At the "
42765 "moment this is only used for progress messages."
42769 #: ../libguestfs-1.11.19/src/guestfs.pod:1910 ../src/guestfs.pod:1910
42770 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
42774 #: ../libguestfs-1.11.19/src/guestfs.pod:1912 ../src/guestfs.pod:1912
42776 "One motivation for the generic event API was to allow GUI programs to "
42777 "capture debug and other messages. In libguestfs E<le> 1.8 these were sent "
42778 "unconditionally to C<stderr>."
42782 #: ../libguestfs-1.11.19/src/guestfs.pod:1916 ../src/guestfs.pod:1916
42784 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
42785 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>. (Note that error "
42786 "messages are not events; you must capture error messages separately)."
42790 #: ../libguestfs-1.11.19/src/guestfs.pod:1921 ../src/guestfs.pod:1921
42792 "Programs have to set up a callback to capture the classes of events of "
42797 #: ../libguestfs-1.11.19/src/guestfs.pod:1924 ../src/guestfs.pod:1924
42801 " guestfs_set_event_callback\n"
42802 " (g, message_callback,\n"
42803 " GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
42804 " GUESTFS_EVENT_TRACE,\n"
42805 " 0, NULL) == -1)\n"
42806 " if (eh == -1) {\n"
42807 " // handle error in the usual way\n"
42813 #: ../libguestfs-1.11.19/src/guestfs.pod:1934 ../src/guestfs.pod:1934
42815 "The callback can then direct messages to the appropriate place. In this "
42816 "example, messages are directed to syslog:"
42820 #: ../libguestfs-1.11.19/src/guestfs.pod:1937 ../src/guestfs.pod:1937
42824 " message_callback (\n"
42827 " uint64_t event,\n"
42828 " int event_handle,\n"
42830 " const char *buf, size_t buf_len,\n"
42831 " const uint64_t *array, size_t array_len)\n"
42833 " const int priority = LOG_USER|LOG_INFO;\n"
42834 " if (buf_len > 0)\n"
42835 " syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
42841 #: ../libguestfs-1.11.19/src/guestfs.pod:1952 ../src/guestfs.pod:1952
42842 msgid "CANCELLING LONG TRANSFERS"
42846 #: ../libguestfs-1.11.19/src/guestfs.pod:1954 ../src/guestfs.pod:1954
42848 "Some operations can be cancelled by the caller while they are in progress. "
42849 "Currently only operations that involve uploading or downloading data can be "
42850 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
42851 "parameters in the generator)."
42855 #: ../libguestfs-1.11.19/src/guestfs.pod:1959 ../src/guestfs.pod:1959
42856 msgid "guestfs_user_cancel"
42860 #: ../libguestfs-1.11.19/src/guestfs.pod:1961 ../src/guestfs.pod:1961
42863 " void guestfs_user_cancel (guestfs_h *g);\n"
42868 #: ../libguestfs-1.11.19/src/guestfs.pod:1963 ../src/guestfs.pod:1963
42870 "C<guestfs_user_cancel> cancels the current upload or download operation."
42874 #: ../libguestfs-1.11.19/src/guestfs.pod:1966 ../src/guestfs.pod:1966
42876 "Unlike most other libguestfs calls, this function is signal safe and thread "
42877 "safe. You can call it from a signal handler or from another thread, without "
42878 "needing to do any locking."
42882 #: ../libguestfs-1.11.19/src/guestfs.pod:1970 ../src/guestfs.pod:1970
42884 "The transfer that was in progress (if there is one) will stop shortly "
42885 "afterwards, and will return an error. The errno (see L</"
42886 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
42887 "out if the operation was cancelled or failed because of another error."
42891 #: ../libguestfs-1.11.19/src/guestfs.pod:1976 ../src/guestfs.pod:1976
42893 "No cleanup is performed: for example, if a file was being uploaded then "
42894 "after cancellation there may be a partially uploaded file. It is the "
42895 "caller's responsibility to clean up if necessary."
42899 #: ../libguestfs-1.11.19/src/guestfs.pod:1980 ../src/guestfs.pod:1980
42900 msgid "There are two common places that you might call C<guestfs_user_cancel>."
42904 #: ../libguestfs-1.11.19/src/guestfs.pod:1982 ../src/guestfs.pod:1982
42906 "In an interactive text-based program, you might call it from a C<SIGINT> "
42907 "signal handler so that pressing C<^C> cancels the current operation. (You "
42908 "also need to call L</guestfs_set_pgroup> so that child processes don't "
42909 "receive the C<^C> signal)."
42913 #: ../libguestfs-1.11.19/src/guestfs.pod:1987 ../src/guestfs.pod:1987
42915 "In a graphical program, when the main thread is displaying a progress bar "
42916 "with a cancel button, wire up the cancel button to call this function."
42920 #: ../libguestfs-1.11.19/src/guestfs.pod:1991 ../src/guestfs.pod:1991
42921 msgid "PRIVATE DATA AREA"
42925 #: ../libguestfs-1.11.19/src/guestfs.pod:1993 ../src/guestfs.pod:1993
42927 "You can attach named pieces of private data to the libguestfs handle, fetch "
42928 "them by name, and walk over them, for the lifetime of the handle. This is "
42929 "called the private data area and is only available from the C API."
42933 #: ../libguestfs-1.11.19/src/guestfs.pod:1998 ../src/guestfs.pod:1998
42934 msgid "To attach a named piece of data, use the following call:"
42938 #: ../libguestfs-1.11.19/src/guestfs.pod:2000 ../src/guestfs.pod:2000
42941 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
42944 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
42948 #: ../libguestfs-1.11.19/src/guestfs.pod:2002 ../src/guestfs.pod:2002
42950 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
42951 "pointer (which can be C<NULL>). Any previous item with the same key is "
42956 #: ../libguestfs-1.11.19/src/guestfs.pod:2006 ../src/guestfs.pod:2006
42958 "You can use any C<key> you want, but your key should I<not> start with an "
42959 "underscore character. Keys beginning with an underscore character are "
42960 "reserved for internal libguestfs purposes (eg. for implementing language "
42961 "bindings). It is recommended that you prefix the key with some unique "
42962 "string to avoid collisions with other users."
42966 #: ../libguestfs-1.11.19/src/guestfs.pod:2012 ../src/guestfs.pod:2012
42967 msgid "To retrieve the pointer, use:"
42971 #: ../libguestfs-1.11.19/src/guestfs.pod:2014 ../src/guestfs.pod:2014
42974 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
42977 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
42981 #: ../libguestfs-1.11.19/src/guestfs.pod:2016 ../src/guestfs.pod:2016
42983 "This function returns C<NULL> if either no data is found associated with "
42984 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
42989 #: ../libguestfs-1.11.19/src/guestfs.pod:2020 ../src/guestfs.pod:2020
42991 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
42992 "way. As far as libguestfs is concerned, it need not be a valid pointer at "
42993 "all. In particular, libguestfs does I<not> try to free the data when the "
42994 "handle is closed. If the data must be freed, then the caller must either "
42995 "free it before calling L</guestfs_close> or must set up a close callback to "
42996 "do it (see L</GUESTFS_EVENT_CLOSE>)."
43000 #: ../libguestfs-1.11.19/src/guestfs.pod:2027 ../src/guestfs.pod:2027
43001 msgid "To walk over all entries, use these two functions:"
43005 #: ../libguestfs-1.11.19/src/guestfs.pod:2029 ../src/guestfs.pod:2029
43008 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
43013 #: ../libguestfs-1.11.19/src/guestfs.pod:2031 ../src/guestfs.pod:2031
43016 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
43021 #: ../libguestfs-1.11.19/src/guestfs.pod:2033 ../src/guestfs.pod:2033
43023 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
43024 "not have any particular meaning -- keys are not returned in any defined "
43025 "order). A pointer to the key is returned in C<*key_rtn> and the "
43026 "corresponding data pointer is returned from the function. C<NULL> is "
43027 "returned if there are no keys stored in the handle."
43031 #: ../libguestfs-1.11.19/src/guestfs.pod:2039 ../src/guestfs.pod:2039
43033 "C<guestfs_next_private> returns the next key, pointer pair. The return "
43034 "value of this function is also C<NULL> is there are no further entries to "
43039 #: ../libguestfs-1.11.19/src/guestfs.pod:2043 ../src/guestfs.pod:2043
43040 msgid "Notes about walking over entries:"
43044 #: ../libguestfs-1.11.19/src/guestfs.pod:2049 ../src/guestfs.pod:2049
43046 "You must not call C<guestfs_set_private> while walking over the entries."
43050 #: ../libguestfs-1.11.19/src/guestfs.pod:2054 ../src/guestfs.pod:2054
43052 "The handle maintains an internal iterator which is reset when you call "
43053 "C<guestfs_first_private>. This internal iterator is invalidated when you "
43054 "call C<guestfs_set_private>."
43058 #: ../libguestfs-1.11.19/src/guestfs.pod:2060 ../src/guestfs.pod:2060
43059 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
43063 #: ../libguestfs-1.11.19/src/guestfs.pod:2062 ../src/guestfs.pod:2062
43066 " guestfs_set_private (g, key, NULL);\n"
43071 #: ../libguestfs-1.11.19/src/guestfs.pod:2064 ../src/guestfs.pod:2064
43072 msgid "then that C<key> is not returned when walking."
43076 #: ../libguestfs-1.11.19/src/guestfs.pod:2068 ../src/guestfs.pod:2068
43078 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
43079 "C<guestfs_next_private> or C<guestfs_set_private>."
43083 #: ../libguestfs-1.11.19/src/guestfs.pod:2074 ../src/guestfs.pod:2074
43085 "The following example code shows how to print all keys and data pointers "
43086 "that are associated with the handle C<g>:"
43090 #: ../libguestfs-1.11.19/src/guestfs.pod:2077 ../src/guestfs.pod:2077
43093 " const char *key;\n"
43094 " void *data = guestfs_first_private (g, &key);\n"
43095 " while (data != NULL)\n"
43097 " printf (\"key = %s, data = %p\\n\", key, data);\n"
43098 " data = guestfs_next_private (g, &key);\n"
43104 #: ../libguestfs-1.11.19/src/guestfs.pod:2085 ../src/guestfs.pod:2085
43106 "More commonly you are only interested in keys that begin with an application-"
43107 "specific prefix C<foo_>. Modify the loop like so:"
43111 #: ../libguestfs-1.11.19/src/guestfs.pod:2088 ../src/guestfs.pod:2088
43114 " const char *key;\n"
43115 " void *data = guestfs_first_private (g, &key);\n"
43116 " while (data != NULL)\n"
43118 " if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
43119 " printf (\"key = %s, data = %p\\n\", key, data);\n"
43120 " data = guestfs_next_private (g, &key);\n"
43126 #: ../libguestfs-1.11.19/src/guestfs.pod:2097 ../src/guestfs.pod:2097
43128 "If you need to modify keys while walking, then you have to jump back to the "
43129 "beginning of the loop. For example, to delete all keys prefixed with "
43134 #: ../libguestfs-1.11.19/src/guestfs.pod:2101 ../src/guestfs.pod:2101
43137 " const char *key;\n"
43140 " data = guestfs_first_private (g, &key);\n"
43141 " while (data != NULL)\n"
43143 " if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
43145 " guestfs_set_private (g, key, NULL);\n"
43146 " /* note that 'key' pointer is now invalid, and so is\n"
43147 " the internal iterator */\n"
43150 " data = guestfs_next_private (g, &key);\n"
43156 #: ../libguestfs-1.11.19/src/guestfs.pod:2117 ../src/guestfs.pod:2117
43158 "Note that the above loop is guaranteed to terminate because the keys are "
43159 "being deleted, but other manipulations of keys within the loop might not "
43160 "terminate unless you also maintain an indication of which keys have been "
43165 #: ../libguestfs-1.11.19/src/guestfs.pod:2122
43166 #: ../libguestfs-1.11.19/src/guestfs.pod:2127 ../src/guestfs.pod:2122
43167 #: ../src/guestfs.pod:2127
43172 #: ../libguestfs-1.11.19/src/guestfs.pod:2124 ../src/guestfs.pod:2124
43174 "<!-- old anchor for the next section --> <a name="
43175 "\"state_machine_and_low_level_event_api\"/>"
43177 "<!-- old anchor for the next section --> <a name="
43178 "\"state_machine_and_low_level_event_api\"/>"
43181 #: ../libguestfs-1.11.19/src/guestfs.pod:2129 ../src/guestfs.pod:2129
43182 msgid "ARCHITECTURE"
43183 msgstr "АРХІТЕКТУРА"
43186 #: ../libguestfs-1.11.19/src/guestfs.pod:2131 ../src/guestfs.pod:2131
43188 "Internally, libguestfs is implemented by running an appliance (a special "
43189 "type of small virtual machine) using L<qemu(1)>. Qemu runs as a child "
43190 "process of the main program."
43194 #: ../libguestfs-1.11.19/src/guestfs.pod:2135 ../src/guestfs.pod:2135
43197 " ___________________\n"
43199 " | main program |\n"
43201 " | | child process / appliance\n"
43202 " | | __________________________\n"
43204 " +-------------------+ RPC | +-----------------+ |\n"
43205 " | libguestfs <--------------------> guestfsd | |\n"
43206 " | | | +-----------------+ |\n"
43207 " \\___________________/ | | Linux kernel | |\n"
43208 " | +--^--------------+ |\n"
43209 " \\_________|________________/\n"
43211 " _______v______\n"
43214 " | disk image |\n"
43215 " \\______________/\n"
43220 #: ../libguestfs-1.11.19/src/guestfs.pod:2155 ../src/guestfs.pod:2155
43222 "The library, linked to the main program, creates the child process and hence "
43223 "the appliance in the L</guestfs_launch> function."
43227 #: ../libguestfs-1.11.19/src/guestfs.pod:2158 ../src/guestfs.pod:2158
43229 "Inside the appliance is a Linux kernel and a complete stack of userspace "
43230 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
43231 "L</guestfsd>. The library talks to L</guestfsd> using remote procedure "
43232 "calls (RPC). There is a mostly one-to-one correspondence between libguestfs "
43233 "API calls and RPC calls to the daemon. Lastly the disk image(s) are "
43234 "attached to the qemu process which translates device access by the "
43235 "appliance's Linux kernel into accesses to the image."
43239 #: ../libguestfs-1.11.19/src/guestfs.pod:2167 ../src/guestfs.pod:2167
43241 "A common misunderstanding is that the appliance \"is\" the virtual machine. "
43242 "Although the disk image you are attached to might also be used by some "
43243 "virtual machine, libguestfs doesn't know or care about this. (But you will "
43244 "care if both libguestfs's qemu process and your virtual machine are trying "
43245 "to update the disk image at the same time, since these usually results in "
43246 "massive disk corruption)."
43250 #: ../libguestfs-1.11.19/src/guestfs.pod:2174 ../src/guestfs.pod:2174
43251 msgid "STATE MACHINE"
43252 msgstr "СКІНЧЕННИЙ АВТОМАТ"
43255 #: ../libguestfs-1.11.19/src/guestfs.pod:2176 ../src/guestfs.pod:2176
43256 msgid "libguestfs uses a state machine to model the child process:"
43260 #: ../libguestfs-1.11.19/src/guestfs.pod:2178 ../src/guestfs.pod:2178
43264 " guestfs_create\n"
43272 " / | \\ \\ guestfs_launch\n"
43273 " / | _\\__V______\n"
43275 " / | | LAUNCHING |\n"
43276 " / | \\___________/\n"
43278 " / | guestfs_launch\n"
43280 " ______ / __|____V\n"
43281 " / \\ ------> / \\\n"
43282 " | BUSY | | READY |\n"
43283 " \\______/ <------ \\________/\n"
43288 #: ../libguestfs-1.11.19/src/guestfs.pod:2200 ../src/guestfs.pod:2200
43290 "The normal transitions are (1) CONFIG (when the handle is created, but there "
43291 "is no child process), (2) LAUNCHING (when the child process is booting up), "
43292 "(3) alternating between READY and BUSY as commands are issued to, and "
43293 "carried out by, the child process."
43297 #: ../libguestfs-1.11.19/src/guestfs.pod:2205 ../src/guestfs.pod:2205
43299 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
43300 "asynchronously at any time (eg. due to some internal error), and that causes "
43301 "the state to transition back to CONFIG."
43305 #: ../libguestfs-1.11.19/src/guestfs.pod:2209 ../src/guestfs.pod:2209
43307 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
43308 "issued when in the CONFIG state."
43312 #: ../libguestfs-1.11.19/src/guestfs.pod:2212 ../src/guestfs.pod:2212
43314 "The API offers one call that goes from CONFIG through LAUNCHING to READY. "
43315 "L</guestfs_launch> blocks until the child process is READY to accept "
43316 "commands (or until some failure or timeout). L</guestfs_launch> internally "
43317 "moves the state from CONFIG to LAUNCHING while it is running."
43321 #: ../libguestfs-1.11.19/src/guestfs.pod:2218 ../src/guestfs.pod:2218
43323 "API actions such as L</guestfs_mount> can only be issued when in the READY "
43324 "state. These API calls block waiting for the command to be carried out (ie. "
43325 "the state to transition to BUSY and then back to READY). There are no non-"
43326 "blocking versions, and no way to issue more than one command per handle at "
43331 #: ../libguestfs-1.11.19/src/guestfs.pod:2224 ../src/guestfs.pod:2224
43333 "Finally, the child process sends asynchronous messages back to the main "
43334 "program, such as kernel log messages. You can register a callback to "
43335 "receive these messages."
43339 #: ../libguestfs-1.11.19/src/guestfs.pod:2228 ../src/guestfs.pod:2228
43344 #: ../libguestfs-1.11.19/src/guestfs.pod:2230 ../src/guestfs.pod:2230
43345 msgid "COMMUNICATION PROTOCOL"
43349 #: ../libguestfs-1.11.19/src/guestfs.pod:2232 ../src/guestfs.pod:2232
43351 "Don't rely on using this protocol directly. This section documents how it "
43352 "currently works, but it may change at any time."
43356 #: ../libguestfs-1.11.19/src/guestfs.pod:2235 ../src/guestfs.pod:2235
43358 "The protocol used to talk between the library and the daemon running inside "
43359 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
43360 "1014, RFC 1832, RFC 4506)."
43364 #: ../libguestfs-1.11.19/src/guestfs.pod:2239 ../src/guestfs.pod:2239
43366 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
43367 "this file is automatically generated)."
43371 #: ../libguestfs-1.11.19/src/guestfs.pod:2242 ../src/guestfs.pod:2242
43373 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
43374 "and C<FileOut> parameters, which are handled with very simple request/reply "
43375 "messages. Then there are functions that have any C<FileIn> or C<FileOut> "
43376 "parameters, which use the same request and reply messages, but they may also "
43377 "be followed by files sent using a chunked encoding."
43381 #: ../libguestfs-1.11.19/src/guestfs.pod:2249 ../src/guestfs.pod:2249
43382 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
43386 #: ../libguestfs-1.11.19/src/guestfs.pod:2251 ../src/guestfs.pod:2251
43387 msgid "For ordinary functions, the request message is:"
43391 #: ../libguestfs-1.11.19/src/guestfs.pod:2253 ../src/guestfs.pod:2253
43394 " total length (header + arguments,\n"
43395 " but not including the length word itself)\n"
43396 " struct guestfs_message_header (encoded as XDR)\n"
43397 " struct guestfs_<foo>_args (encoded as XDR)\n"
43402 #: ../libguestfs-1.11.19/src/guestfs.pod:2258 ../src/guestfs.pod:2258
43404 "The total length field allows the daemon to allocate a fixed size buffer "
43405 "into which it slurps the rest of the message. As a result, the total length "
43406 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
43407 "effective size of any request is limited to somewhere under this size."
43411 #: ../libguestfs-1.11.19/src/guestfs.pod:2264 ../src/guestfs.pod:2264
43413 "Note also that many functions don't take any arguments, in which case the "
43414 "C<guestfs_I<foo>_args> is completely omitted."
43418 #: ../libguestfs-1.11.19/src/guestfs.pod:2267 ../src/guestfs.pod:2267
43420 "The header contains the procedure number (C<guestfs_proc>) which is how the "
43421 "receiver knows what type of args structure to expect, or none at all."
43425 #: ../libguestfs-1.11.19/src/guestfs.pod:2271 ../src/guestfs.pod:2271
43427 "For functions that take optional arguments, the optional arguments are "
43428 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
43429 "arguments. A bitmask in the header indicates which optional arguments are "
43430 "meaningful. The bitmask is also checked to see if it contains bits set "
43431 "which the daemon does not know about (eg. if more optional arguments were "
43432 "added in a later version of the library), and this causes the call to be "
43437 #: ../libguestfs-1.11.19/src/guestfs.pod:2279 ../src/guestfs.pod:2279
43438 msgid "The reply message for ordinary functions is:"
43442 #: ../libguestfs-1.11.19/src/guestfs.pod:2281 ../src/guestfs.pod:2281
43445 " total length (header + ret,\n"
43446 " but not including the length word itself)\n"
43447 " struct guestfs_message_header (encoded as XDR)\n"
43448 " struct guestfs_<foo>_ret (encoded as XDR)\n"
43453 #: ../libguestfs-1.11.19/src/guestfs.pod:2286 ../src/guestfs.pod:2286
43455 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
43456 "functions that return no formal return values."
43460 #: ../libguestfs-1.11.19/src/guestfs.pod:2289 ../src/guestfs.pod:2289
43462 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
43466 #: ../libguestfs-1.11.19/src/guestfs.pod:2292 ../src/guestfs.pod:2292
43468 "In the case of an error, a flag is set in the header, and the reply message "
43469 "is slightly changed:"
43473 #: ../libguestfs-1.11.19/src/guestfs.pod:2295 ../src/guestfs.pod:2295
43476 " total length (header + error,\n"
43477 " but not including the length word itself)\n"
43478 " struct guestfs_message_header (encoded as XDR)\n"
43479 " struct guestfs_message_error (encoded as XDR)\n"
43484 #: ../libguestfs-1.11.19/src/guestfs.pod:2300 ../src/guestfs.pod:2300
43486 "The C<guestfs_message_error> structure contains the error message as a "
43491 #: ../libguestfs-1.11.19/src/guestfs.pod:2303 ../src/guestfs.pod:2303
43492 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
43496 #: ../libguestfs-1.11.19/src/guestfs.pod:2305 ../src/guestfs.pod:2305
43498 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest. "
43499 "The normal request message is sent (see above). However this is followed by "
43500 "a sequence of file chunks."
43504 #: ../libguestfs-1.11.19/src/guestfs.pod:2309 ../src/guestfs.pod:2309
43507 " total length (header + arguments,\n"
43508 " but not including the length word itself,\n"
43509 " and not including the chunks)\n"
43510 " struct guestfs_message_header (encoded as XDR)\n"
43511 " struct guestfs_<foo>_args (encoded as XDR)\n"
43512 " sequence of chunks for FileIn param #0\n"
43513 " sequence of chunks for FileIn param #1 etc.\n"
43518 #: ../libguestfs-1.11.19/src/guestfs.pod:2317 ../src/guestfs.pod:2317
43519 msgid "The \"sequence of chunks\" is:"
43523 #: ../libguestfs-1.11.19/src/guestfs.pod:2319 ../src/guestfs.pod:2319
43526 " length of chunk (not including length word itself)\n"
43527 " struct guestfs_chunk (encoded as XDR)\n"
43528 " length of chunk\n"
43529 " struct guestfs_chunk (encoded as XDR)\n"
43531 " length of chunk\n"
43532 " struct guestfs_chunk (with data.data_len == 0)\n"
43537 #: ../libguestfs-1.11.19/src/guestfs.pod:2327 ../src/guestfs.pod:2327
43539 "The final chunk has the C<data_len> field set to zero. Additionally a flag "
43540 "is set in the final chunk to indicate either successful completion or early "
43545 #: ../libguestfs-1.11.19/src/guestfs.pod:2331 ../src/guestfs.pod:2331
43547 "At time of writing there are no functions that have more than one FileIn "
43548 "parameter. However this is (theoretically) supported, by sending the "
43549 "sequence of chunks for each FileIn parameter one after another (from left to "
43554 #: ../libguestfs-1.11.19/src/guestfs.pod:2336 ../src/guestfs.pod:2336
43556 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
43557 "transfer. The library does this by sending a chunk with a special flag set "
43558 "to indicate cancellation. When the daemon sees this, it cancels the whole "
43559 "RPC, does I<not> send any reply, and goes back to reading the next request."
43563 #: ../libguestfs-1.11.19/src/guestfs.pod:2342 ../src/guestfs.pod:2342
43565 "The daemon may also cancel. It does this by writing a special word "
43566 "C<GUESTFS_CANCEL_FLAG> to the socket. The library listens for this during "
43567 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
43568 "cancel chunk). The special word is chosen so that even if cancellation "
43569 "happens right at the end of the transfer (after the library has finished "
43570 "writing and has started listening for the reply), the \"spurious\" cancel "
43571 "flag will not be confused with the reply message."
43575 #: ../libguestfs-1.11.19/src/guestfs.pod:2351 ../src/guestfs.pod:2351
43577 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
43578 "limit), and also files where the size is not known in advance (eg. from "
43579 "pipes or sockets). However the chunks are rather small "
43580 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
43581 "to keep much in memory."
43585 #: ../libguestfs-1.11.19/src/guestfs.pod:2357 ../src/guestfs.pod:2357
43586 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
43590 #: ../libguestfs-1.11.19/src/guestfs.pod:2359 ../src/guestfs.pod:2359
43592 "The protocol for FileOut parameters is exactly the same as for FileIn "
43593 "parameters, but with the roles of daemon and library reversed."
43597 #: ../libguestfs-1.11.19/src/guestfs.pod:2362 ../src/guestfs.pod:2362
43600 " total length (header + ret,\n"
43601 " but not including the length word itself,\n"
43602 " and not including the chunks)\n"
43603 " struct guestfs_message_header (encoded as XDR)\n"
43604 " struct guestfs_<foo>_ret (encoded as XDR)\n"
43605 " sequence of chunks for FileOut param #0\n"
43606 " sequence of chunks for FileOut param #1 etc.\n"
43611 #: ../libguestfs-1.11.19/src/guestfs.pod:2370 ../src/guestfs.pod:2370
43612 msgid "INITIAL MESSAGE"
43616 #: ../libguestfs-1.11.19/src/guestfs.pod:2372 ../src/guestfs.pod:2372
43618 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
43619 "which indicates that the guest and daemon is alive. This is what L</"
43620 "guestfs_launch> waits for."
43624 #: ../libguestfs-1.11.19/src/guestfs.pod:2376 ../src/guestfs.pod:2376
43625 msgid "PROGRESS NOTIFICATION MESSAGES"
43629 #: ../libguestfs-1.11.19/src/guestfs.pod:2378 ../src/guestfs.pod:2378
43631 "The daemon may send progress notification messages at any time. These are "
43632 "distinguished by the normal length word being replaced by "
43633 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
43637 #: ../libguestfs-1.11.19/src/guestfs.pod:2382 ../src/guestfs.pod:2382
43639 "The library turns them into progress callbacks (see L</"
43640 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
43645 #: ../libguestfs-1.11.19/src/guestfs.pod:2386 ../src/guestfs.pod:2386
43647 "The daemon self-limits the frequency of progress messages it sends (see "
43648 "C<daemon/proto.c:notify_progress>). Not all calls generate progress "
43653 #: ../libguestfs-1.11.19/src/guestfs.pod:2390 ../src/guestfs.pod:2390
43654 msgid "LIBGUESTFS VERSION NUMBERS"
43658 #: ../libguestfs-1.11.19/src/guestfs.pod:2392 ../src/guestfs.pod:2392
43660 "Since April 2010, libguestfs has started to make separate development and "
43661 "stable releases, along with corresponding branches in our git repository. "
43662 "These separate releases can be identified by version number:"
43666 #: ../libguestfs-1.11.19/src/guestfs.pod:2397 ../src/guestfs.pod:2397
43669 " even numbers for stable: 1.2.x, 1.4.x, ...\n"
43670 " .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
43676 " | `-------- sub-version\n"
43678 " `------ always '1' because we don't change the ABI\n"
43683 #: ../libguestfs-1.11.19/src/guestfs.pod:2408 ../src/guestfs.pod:2408
43684 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
43688 #: ../libguestfs-1.11.19/src/guestfs.pod:2410 ../src/guestfs.pod:2410
43690 "As time passes we cherry pick fixes from the development branch and backport "
43691 "those into the stable branch, the effect being that the stable branch should "
43692 "get more stable and less buggy over time. So the stable releases are ideal "
43693 "for people who don't need new features but would just like the software to "
43698 #: ../libguestfs-1.11.19/src/guestfs.pod:2416 ../src/guestfs.pod:2416
43699 msgid "Our criteria for backporting changes are:"
43703 #: ../libguestfs-1.11.19/src/guestfs.pod:2422 ../src/guestfs.pod:2422
43705 "Documentation changes which don't affect any code are backported unless the "
43706 "documentation refers to a future feature which is not in stable."
43710 #: ../libguestfs-1.11.19/src/guestfs.pod:2428 ../src/guestfs.pod:2428
43712 "Bug fixes which are not controversial, fix obvious problems, and have been "
43713 "well tested are backported."
43717 #: ../libguestfs-1.11.19/src/guestfs.pod:2433 ../src/guestfs.pod:2433
43719 "Simple rearrangements of code which shouldn't affect how it works get "
43720 "backported. This is so that the code in the two branches doesn't get too "
43721 "far out of step, allowing us to backport future fixes more easily."
43725 #: ../libguestfs-1.11.19/src/guestfs.pod:2439 ../src/guestfs.pod:2439
43727 "We I<don't> backport new features, new APIs, new tools etc, except in one "
43728 "exceptional case: the new feature is required in order to implement an "
43729 "important bug fix."
43733 #: ../libguestfs-1.11.19/src/guestfs.pod:2445 ../src/guestfs.pod:2445
43735 "A new stable branch starts when we think the new features in development are "
43736 "substantial and compelling enough over the current stable branch to warrant "
43737 "it. When that happens we create new stable and development versions 1.N.0 "
43738 "and 1.(N+1).0 [N is even]. The new dot-oh release won't necessarily be so "
43739 "stable at this point, but by backporting fixes from development, that branch "
43740 "will stabilize over time."
43744 #: ../libguestfs-1.11.19/src/guestfs.pod:2453 ../src/guestfs.pod:2453
43745 msgid "EXTENDING LIBGUESTFS"
43749 #: ../libguestfs-1.11.19/src/guestfs.pod:2455 ../src/guestfs.pod:2455
43750 msgid "ADDING A NEW API ACTION"
43754 #: ../libguestfs-1.11.19/src/guestfs.pod:2457 ../src/guestfs.pod:2457
43756 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
43757 "documentation) are generated, and this makes it easy to extend the "
43762 #: ../libguestfs-1.11.19/src/guestfs.pod:2461 ../src/guestfs.pod:2461
43763 msgid "To add a new API action there are two changes:"
43767 #: ../libguestfs-1.11.19/src/guestfs.pod:2467 ../src/guestfs.pod:2467
43769 "You need to add a description of the call (name, parameters, return type, "
43770 "tests, documentation) to C<generator/generator_actions.ml>."
43774 #: ../libguestfs-1.11.19/src/guestfs.pod:2470 ../src/guestfs.pod:2470
43776 "There are two sorts of API action, depending on whether the call goes "
43777 "through to the daemon in the appliance, or is serviced entirely by the "
43778 "library (see L</ARCHITECTURE> above). L</guestfs_sync> is an example of the "
43779 "former, since the sync is done in the appliance. L</guestfs_set_trace> is "
43780 "an example of the latter, since a trace flag is maintained in the handle and "
43781 "all tracing is done on the library side."
43785 #: ../libguestfs-1.11.19/src/guestfs.pod:2478 ../src/guestfs.pod:2478
43787 "Most new actions are of the first type, and get added to the "
43788 "C<daemon_functions> list. Each function has a unique procedure number used "
43789 "in the RPC protocol which is assigned to that action when we publish "
43790 "libguestfs and cannot be reused. Take the latest procedure number and "
43795 #: ../libguestfs-1.11.19/src/guestfs.pod:2484 ../src/guestfs.pod:2484
43797 "For library-only actions of the second type, add to the "
43798 "C<non_daemon_functions> list. Since these functions are serviced by the "
43799 "library and do not travel over the RPC mechanism to the daemon, these "
43800 "functions do not need a procedure number, and so the procedure number is set "
43805 #: ../libguestfs-1.11.19/src/guestfs.pod:2492 ../src/guestfs.pod:2492
43806 msgid "Implement the action (in C):"
43810 #: ../libguestfs-1.11.19/src/guestfs.pod:2494 ../src/guestfs.pod:2494
43812 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
43813 "C<daemon/> directory."
43817 #: ../libguestfs-1.11.19/src/guestfs.pod:2497 ../src/guestfs.pod:2497
43819 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
43820 "(note: double underscore) in the C<src/> directory."
43824 #: ../libguestfs-1.11.19/src/guestfs.pod:2500 ../src/guestfs.pod:2500
43825 msgid "In either case, use another function as an example of what to do."
43829 #: ../libguestfs-1.11.19/src/guestfs.pod:2504 ../src/guestfs.pod:2504
43830 msgid "After making these changes, use C<make> to compile."
43834 #: ../libguestfs-1.11.19/src/guestfs.pod:2506 ../src/guestfs.pod:2506
43836 "Note that you don't need to implement the RPC, language bindings, manual "
43837 "pages or anything else. It's all automatically generated from the OCaml "
43842 #: ../libguestfs-1.11.19/src/guestfs.pod:2510 ../src/guestfs.pod:2510
43843 msgid "ADDING TESTS FOR AN API ACTION"
43847 #: ../libguestfs-1.11.19/src/guestfs.pod:2512 ../src/guestfs.pod:2512
43849 "You can supply zero or as many tests as you want per API call. The tests "
43850 "can either be added as part of the API description (C<generator/"
43851 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
43852 "into C<regressions/>. Note that adding a script to C<regressions/> is "
43853 "slower, so if possible use the first method."
43857 #: ../libguestfs-1.11.19/src/guestfs.pod:2518 ../src/guestfs.pod:2518
43859 "The following describes the test environment used when you add an API test "
43860 "in C<generator_actions.ml>."
43864 #: ../libguestfs-1.11.19/src/guestfs.pod:2521 ../src/guestfs.pod:2521
43865 msgid "The test environment has 4 block devices:"
43869 #: ../libguestfs-1.11.19/src/guestfs.pod:2525 ../src/guestfs.pod:2525
43870 msgid "C</dev/sda> 500MB"
43871 msgstr "C</dev/sda> 500 МБ"
43874 #: ../libguestfs-1.11.19/src/guestfs.pod:2527 ../src/guestfs.pod:2527
43875 msgid "General block device for testing."
43879 #: ../libguestfs-1.11.19/src/guestfs.pod:2529 ../src/guestfs.pod:2529
43880 msgid "C</dev/sdb> 50MB"
43881 msgstr "C</dev/sdb> 50 МБ"
43884 #: ../libguestfs-1.11.19/src/guestfs.pod:2531 ../src/guestfs.pod:2531
43886 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
43891 #: ../libguestfs-1.11.19/src/guestfs.pod:2534 ../src/guestfs.pod:2534
43892 msgid "C</dev/sdc> 10MB"
43893 msgstr "C</dev/sdc> 10 МБ"
43896 #: ../libguestfs-1.11.19/src/guestfs.pod:2536 ../src/guestfs.pod:2536
43897 msgid "Used in a few tests where two block devices are needed."
43901 #: ../libguestfs-1.11.19/src/guestfs.pod:2538 ../src/guestfs.pod:2538
43902 msgid "C</dev/sdd>"
43903 msgstr "C</dev/sdd>"
43906 #: ../libguestfs-1.11.19/src/guestfs.pod:2540 ../src/guestfs.pod:2540
43907 msgid "ISO with fixed content (see C<images/test.iso>)."
43911 #: ../libguestfs-1.11.19/src/guestfs.pod:2544 ../src/guestfs.pod:2544
43913 "To be able to run the tests in a reasonable amount of time, the libguestfs "
43914 "appliance and block devices are reused between tests. So don't try testing "
43915 "L</guestfs_kill_subprocess> :-x"
43919 #: ../libguestfs-1.11.19/src/guestfs.pod:2548 ../src/guestfs.pod:2548
43921 "Each test starts with an initial scenario, selected using one of the "
43922 "C<Init*> expressions, described in C<generator/generator_types.ml>. These "
43923 "initialize the disks mentioned above in a particular way as documented in "
43924 "C<generator_types.ml>. You should not assume anything about the previous "
43925 "contents of other disks that are not initialized."
43929 #: ../libguestfs-1.11.19/src/guestfs.pod:2554 ../src/guestfs.pod:2554
43931 "You can add a prerequisite clause to any individual test. This is a run-"
43932 "time check, which, if it fails, causes the test to be skipped. Useful if "
43933 "testing a command which might not work on all variations of libguestfs "
43934 "builds. A test that has prerequisite of C<Always> means to run "
43939 #: ../libguestfs-1.11.19/src/guestfs.pod:2560 ../src/guestfs.pod:2560
43941 "In addition, packagers can skip individual tests by setting environment "
43942 "variables before running C<make check>."
43946 #: ../libguestfs-1.11.19/src/guestfs.pod:2563 ../src/guestfs.pod:2563
43949 " SKIP_TEST_<CMD>_<NUM>=1\n"
43954 #: ../libguestfs-1.11.19/src/guestfs.pod:2565 ../src/guestfs.pod:2565
43955 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
43959 #: ../libguestfs-1.11.19/src/guestfs.pod:2567 ../src/guestfs.pod:2567
43964 #: ../libguestfs-1.11.19/src/guestfs.pod:2569 ../src/guestfs.pod:2569
43967 " SKIP_TEST_<CMD>=1\n"
43972 #: ../libguestfs-1.11.19/src/guestfs.pod:2571 ../src/guestfs.pod:2571
43973 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
43977 #: ../libguestfs-1.11.19/src/guestfs.pod:2573 ../src/guestfs.pod:2573
43978 msgid "Packagers can run only certain tests by setting for example:"
43982 #: ../libguestfs-1.11.19/src/guestfs.pod:2575 ../src/guestfs.pod:2575
43985 " TEST_ONLY=\"vfs_type zerofree\"\n"
43990 #: ../libguestfs-1.11.19/src/guestfs.pod:2577 ../src/guestfs.pod:2577
43992 "See C<capitests/tests.c> for more details of how these environment variables "
43997 #: ../libguestfs-1.11.19/src/guestfs.pod:2580 ../src/guestfs.pod:2580
43998 msgid "DEBUGGING NEW API ACTIONS"
44002 #: ../libguestfs-1.11.19/src/guestfs.pod:2582 ../src/guestfs.pod:2582
44003 msgid "Test new actions work before submitting them."
44007 #: ../libguestfs-1.11.19/src/guestfs.pod:2584 ../src/guestfs.pod:2584
44008 msgid "You can use guestfish to try out new commands."
44012 #: ../libguestfs-1.11.19/src/guestfs.pod:2586 ../src/guestfs.pod:2586
44014 "Debugging the daemon is a problem because it runs inside a minimal "
44015 "environment. However you can fprintf messages in the daemon to stderr, and "
44016 "they will show up if you use C<guestfish -v>."
44020 #: ../libguestfs-1.11.19/src/guestfs.pod:2590 ../src/guestfs.pod:2590
44021 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
44025 #: ../libguestfs-1.11.19/src/guestfs.pod:2592 ../src/guestfs.pod:2592
44027 "Our C source code generally adheres to some basic code-formatting "
44028 "conventions. The existing code base is not totally consistent on this "
44029 "front, but we do prefer that contributed code be formatted similarly. In "
44030 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
44031 "indentation level, and other than that, follow the K&R style."
44035 #: ../libguestfs-1.11.19/src/guestfs.pod:2598 ../src/guestfs.pod:2598
44037 "If you use Emacs, add the following to one of one of your start-up files (e."
44038 "g., ~/.emacs), to help ensure that you get indentation right:"
44042 #: ../libguestfs-1.11.19/src/guestfs.pod:2601 ../src/guestfs.pod:2601
44045 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
44046 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
44047 " (add-hook 'find-file-hook\n"
44048 " '(lambda () (if (and buffer-file-name\n"
44049 " (string-match \"/libguestfs\\\\>\"\n"
44050 " (buffer-file-name))\n"
44051 " (not (string-equal mode-name \"Change Log\"))\n"
44052 " (not (string-equal mode-name \"Makefile\")))\n"
44053 " (setq indent-tabs-mode nil))))\n"
44058 #: ../libguestfs-1.11.19/src/guestfs.pod:2611 ../src/guestfs.pod:2611
44061 " ;;; When editing C sources in libguestfs, use this style.\n"
44062 " (defun libguestfs-c-mode ()\n"
44063 " \"C mode with adjusted defaults for use with libguestfs.\"\n"
44065 " (c-set-style \"K&R\")\n"
44066 " (setq c-indent-level 2)\n"
44067 " (setq c-basic-offset 2))\n"
44068 " (add-hook 'c-mode-hook\n"
44069 " '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
44070 " (buffer-file-name))\n"
44071 " (libguestfs-c-mode))))\n"
44076 #: ../libguestfs-1.11.19/src/guestfs.pod:2623 ../src/guestfs.pod:2623
44077 msgid "Enable warnings when compiling (and fix any problems this finds):"
44081 #: ../libguestfs-1.11.19/src/guestfs.pod:2626 ../src/guestfs.pod:2626
44084 " ./configure --enable-gcc-warnings\n"
44087 " ./configure --enable-gcc-warnings\n"
44091 #: ../libguestfs-1.11.19/src/guestfs.pod:2628 ../src/guestfs.pod:2628
44092 msgid "Useful targets are:"
44096 #: ../libguestfs-1.11.19/src/guestfs.pod:2630 ../src/guestfs.pod:2630
44099 " make syntax-check # checks the syntax of the C code\n"
44100 " make check # runs the test suite\n"
44105 #: ../libguestfs-1.11.19/src/guestfs.pod:2633 ../src/guestfs.pod:2633
44106 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
44110 #: ../libguestfs-1.11.19/src/guestfs.pod:2635 ../src/guestfs.pod:2635
44112 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
44113 "which are used to do shell quoting."
44117 #: ../libguestfs-1.11.19/src/guestfs.pod:2640 ../src/guestfs.pod:2640
44122 #: ../libguestfs-1.11.19/src/guestfs.pod:2642 ../src/guestfs.pod:2642
44124 "Simple shell quoted string. Any spaces or other shell characters are "
44129 #: ../libguestfs-1.11.19/src/guestfs.pod:2645 ../src/guestfs.pod:2645
44134 #: ../libguestfs-1.11.19/src/guestfs.pod:2647 ../src/guestfs.pod:2647
44136 "Same as C<%Q> except the string is treated as a path which is prefixed by "
44141 #: ../libguestfs-1.11.19/src/guestfs.pod:2654 ../src/guestfs.pod:2654
44144 " asprintf (&cmd, \"cat %R\", path);\n"
44149 #: ../libguestfs-1.11.19/src/guestfs.pod:2656 ../src/guestfs.pod:2656
44150 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
44154 #: ../libguestfs-1.11.19/src/guestfs.pod:2658 ../src/guestfs.pod:2658
44156 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
44157 "{,r,v,rv}()> functions. These parameters do NOT need to be quoted because "
44158 "they are not passed via the shell (instead, straight to exec). You probably "
44159 "want to use the C<sysroot_path()> function however."
44163 #: ../libguestfs-1.11.19/src/guestfs.pod:2664 ../src/guestfs.pod:2664
44164 msgid "SUBMITTING YOUR NEW API ACTIONS"
44168 #: ../libguestfs-1.11.19/src/guestfs.pod:2666 ../src/guestfs.pod:2666
44170 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
44171 "libguestfs> and CC to L<rjones@redhat.com>."
44175 #: ../libguestfs-1.11.19/src/guestfs.pod:2670 ../src/guestfs.pod:2670
44176 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
44180 #: ../libguestfs-1.11.19/src/guestfs.pod:2672 ../src/guestfs.pod:2672
44181 msgid "We support i18n (gettext anyhow) in the library."
44185 #: ../libguestfs-1.11.19/src/guestfs.pod:2674 ../src/guestfs.pod:2674
44187 "However many messages come from the daemon, and we don't translate those at "
44188 "the moment. One reason is that the appliance generally has all locale files "
44189 "removed from it, because they take up a lot of space. So we'd have to readd "
44190 "some of those, as well as copying our PO files into the appliance."
44194 #: ../libguestfs-1.11.19/src/guestfs.pod:2680 ../src/guestfs.pod:2680
44196 "Debugging messages are never translated, since they are intended for the "
44201 #: ../libguestfs-1.11.19/src/guestfs.pod:2683 ../src/guestfs.pod:2683
44202 msgid "SOURCE CODE SUBDIRECTORIES"
44206 #: ../libguestfs-1.11.19/src/guestfs.pod:2689 ../src/guestfs.pod:2689
44207 msgid "The libguestfs appliance, build scripts and so on."
44211 #: ../libguestfs-1.11.19/src/guestfs.pod:2691 ../src/guestfs.pod:2691
44212 msgid "C<capitests>"
44213 msgstr "C<capitests>"
44216 #: ../libguestfs-1.11.19/src/guestfs.pod:2693 ../src/guestfs.pod:2693
44217 msgid "Automated tests of the C API."
44221 #: ../libguestfs-1.11.19/src/guestfs.pod:2695 ../src/guestfs.pod:2695
44226 #: ../libguestfs-1.11.19/src/guestfs.pod:2697 ../src/guestfs.pod:2697
44228 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
44233 #: ../libguestfs-1.11.19/src/guestfs.pod:2700 ../src/guestfs.pod:2700
44238 #: ../libguestfs-1.11.19/src/guestfs.pod:2702 ../src/guestfs.pod:2702
44240 "Safety and liveness tests of components that libguestfs depends upon (not of "
44241 "libguestfs itself). Mainly this is for qemu and the kernel."
44245 #: ../libguestfs-1.11.19/src/guestfs.pod:2705 ../src/guestfs.pod:2705
44247 msgstr "C<contrib>"
44250 #: ../libguestfs-1.11.19/src/guestfs.pod:2707 ../src/guestfs.pod:2707
44251 msgid "Outside contributions, experimental parts."
44255 #: ../libguestfs-1.11.19/src/guestfs.pod:2709 ../src/guestfs.pod:2709
44260 #: ../libguestfs-1.11.19/src/guestfs.pod:2711 ../src/guestfs.pod:2711
44262 "The daemon that runs inside the libguestfs appliance and carries out actions."
44266 #: ../libguestfs-1.11.19/src/guestfs.pod:2714 ../src/guestfs.pod:2714
44271 #: ../libguestfs-1.11.19/src/guestfs.pod:2716 ../src/guestfs.pod:2716
44272 msgid "L<virt-df(1)> command and documentation."
44276 #: ../libguestfs-1.11.19/src/guestfs.pod:2718 ../src/guestfs.pod:2718
44281 #: ../libguestfs-1.11.19/src/guestfs.pod:2720 ../src/guestfs.pod:2720
44282 msgid "L<virt-edit(1)> command and documentation."
44286 #: ../libguestfs-1.11.19/src/guestfs.pod:2722 ../src/guestfs.pod:2722
44287 msgid "C<examples>"
44288 msgstr "C<examples>"
44291 #: ../libguestfs-1.11.19/src/guestfs.pod:2724 ../src/guestfs.pod:2724
44292 msgid "C API example code."
44293 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
44296 #: ../libguestfs-1.11.19/src/guestfs.pod:2726 ../src/guestfs.pod:2726
44301 #: ../libguestfs-1.11.19/src/guestfs.pod:2728 ../src/guestfs.pod:2728
44303 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
44304 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
44305 "L<virt-tar-out(1)>."
44309 #: ../libguestfs-1.11.19/src/guestfs.pod:2732 ../src/guestfs.pod:2732
44314 #: ../libguestfs-1.11.19/src/guestfs.pod:2734 ../src/guestfs.pod:2734
44316 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
44320 #: ../libguestfs-1.11.19/src/guestfs.pod:2736 ../src/guestfs.pod:2736
44321 msgid "C<generator>"
44322 msgstr "C<generator>"
44325 #: ../libguestfs-1.11.19/src/guestfs.pod:2738 ../src/guestfs.pod:2738
44327 "The crucially important generator, used to automatically generate large "
44328 "amounts of boilerplate C code for things like RPC and bindings."
44332 #: ../libguestfs-1.11.19/src/guestfs.pod:2741 ../src/guestfs.pod:2741
44337 #: ../libguestfs-1.11.19/src/guestfs.pod:2743 ../src/guestfs.pod:2743
44338 msgid "Files used by the test suite."
44342 #: ../libguestfs-1.11.19/src/guestfs.pod:2745 ../src/guestfs.pod:2745
44343 msgid "Some \"phony\" guest images which we test against."
44347 #: ../libguestfs-1.11.19/src/guestfs.pod:2747 ../src/guestfs.pod:2747
44348 msgid "C<inspector>"
44349 msgstr "C<inspector>"
44352 #: ../libguestfs-1.11.19/src/guestfs.pod:2749 ../src/guestfs.pod:2749
44353 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
44357 #: ../libguestfs-1.11.19/src/guestfs.pod:2751 ../src/guestfs.pod:2751
44362 #: ../libguestfs-1.11.19/src/guestfs.pod:2753 ../src/guestfs.pod:2753
44363 msgid "Logo used on the website. The fish is called Arthur by the way."
44367 #: ../libguestfs-1.11.19/src/guestfs.pod:2755 ../src/guestfs.pod:2755
44372 #: ../libguestfs-1.11.19/src/guestfs.pod:2757 ../src/guestfs.pod:2757
44373 msgid "M4 macros used by autoconf."
44377 #: ../libguestfs-1.11.19/src/guestfs.pod:2759 ../src/guestfs.pod:2759
44382 #: ../libguestfs-1.11.19/src/guestfs.pod:2761 ../src/guestfs.pod:2761
44383 msgid "Translations of simple gettext strings."
44384 msgstr "Переклади простих рядків gettext."
44387 #: ../libguestfs-1.11.19/src/guestfs.pod:2763 ../src/guestfs.pod:2763
44389 msgstr "C<po-docs>"
44392 #: ../libguestfs-1.11.19/src/guestfs.pod:2765 ../src/guestfs.pod:2765
44394 "The build infrastructure and PO files for translations of manpages and POD "
44395 "files. Eventually this will be combined with the C<po> directory, but that "
44396 "is rather complicated."
44400 #: ../libguestfs-1.11.19/src/guestfs.pod:2769 ../src/guestfs.pod:2769
44401 msgid "C<regressions>"
44402 msgstr "C<regressions>"
44405 #: ../libguestfs-1.11.19/src/guestfs.pod:2771 ../src/guestfs.pod:2771
44406 msgid "Regression tests."
44407 msgstr "Тести на регресії."
44410 #: ../libguestfs-1.11.19/src/guestfs.pod:2773 ../src/guestfs.pod:2773
44415 #: ../libguestfs-1.11.19/src/guestfs.pod:2775 ../src/guestfs.pod:2775
44416 msgid "L<virt-rescue(1)> command and documentation."
44420 #: ../libguestfs-1.11.19/src/guestfs.pod:2777 ../src/guestfs.pod:2777
44425 #: ../libguestfs-1.11.19/src/guestfs.pod:2779 ../src/guestfs.pod:2779
44426 msgid "Source code to the C library."
44430 #: ../libguestfs-1.11.19/src/guestfs.pod:2781 ../src/guestfs.pod:2781
44435 #: ../libguestfs-1.11.19/src/guestfs.pod:2783 ../src/guestfs.pod:2783
44436 msgid "Command line tools written in Perl (L<virt-resize(1)> and many others)."
44440 #: ../libguestfs-1.11.19/src/guestfs.pod:2785 ../src/guestfs.pod:2785
44441 msgid "C<test-tool>"
44442 msgstr "C<test-tool>"
44445 #: ../libguestfs-1.11.19/src/guestfs.pod:2787 ../src/guestfs.pod:2787
44447 "Test tool for end users to test if their qemu/kernel combination will work "
44452 #: ../libguestfs-1.11.19/src/guestfs.pod:2790 ../src/guestfs.pod:2790
44457 #: ../libguestfs-1.11.19/src/guestfs.pod:2792 ../src/guestfs.pod:2792
44459 msgstr "C<haskell>"
44462 #: ../libguestfs-1.11.19/src/guestfs.pod:2794 ../src/guestfs.pod:2794
44467 #: ../libguestfs-1.11.19/src/guestfs.pod:2796 ../src/guestfs.pod:2796
44472 #: ../libguestfs-1.11.19/src/guestfs.pod:2798 ../src/guestfs.pod:2798
44477 #: ../libguestfs-1.11.19/src/guestfs.pod:2800 ../src/guestfs.pod:2800
44482 #: ../libguestfs-1.11.19/src/guestfs.pod:2802 ../src/guestfs.pod:2802
44487 #: ../libguestfs-1.11.19/src/guestfs.pod:2804 ../src/guestfs.pod:2804
44492 #: ../libguestfs-1.11.19/src/guestfs.pod:2806 ../src/guestfs.pod:2806
44493 msgid "Language bindings."
44494 msgstr "Прив’язки до мов програмування."
44497 #: ../libguestfs-1.11.19/src/guestfs.pod:2810 ../src/guestfs.pod:2810
44498 msgid "MAKING A STABLE RELEASE"
44502 #: ../libguestfs-1.11.19/src/guestfs.pod:2812 ../src/guestfs.pod:2812
44504 "When we make a stable release, there are several steps documented here. See "
44505 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
44510 #: ../libguestfs-1.11.19/src/guestfs.pod:2820 ../src/guestfs.pod:2820
44511 msgid "Finalize RELEASE-NOTES."
44515 #: ../libguestfs-1.11.19/src/guestfs.pod:2824 ../src/guestfs.pod:2824
44516 msgid "Update ROADMAP."
44520 #: ../libguestfs-1.11.19/src/guestfs.pod:2828 ../src/guestfs.pod:2828
44521 msgid "Run C<src/api-support/update-from-tarballs.sh>."
44525 #: ../libguestfs-1.11.19/src/guestfs.pod:2832 ../src/guestfs.pod:2832
44526 msgid "Push and pull from Transifex."
44530 #: ../libguestfs-1.11.19/src/guestfs.pod:2834 ../src/guestfs.pod:2834
44535 #: ../libguestfs-1.11.19/src/guestfs.pod:2836 ../src/guestfs.pod:2836
44543 #: ../libguestfs-1.11.19/src/guestfs.pod:2838 ../src/guestfs.pod:2838
44544 msgid "to push the latest POT files to Transifex. Then run:"
44548 #: ../libguestfs-1.11.19/src/guestfs.pod:2840 ../src/guestfs.pod:2840
44556 #: ../libguestfs-1.11.19/src/guestfs.pod:2842 ../src/guestfs.pod:2842
44557 msgid "which is a wrapper to pull the latest translated C<*.po> files."
44561 #: ../libguestfs-1.11.19/src/guestfs.pod:2846 ../src/guestfs.pod:2846
44563 "Create new stable and development directories under L<http://libguestfs.org/"
44568 #: ../libguestfs-1.11.19/src/guestfs.pod:2851 ../src/guestfs.pod:2851
44569 msgid "Create the branch in git:"
44573 #: ../libguestfs-1.11.19/src/guestfs.pod:2853 ../src/guestfs.pod:2853
44576 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
44577 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
44578 " git branch stable-1.XX\n"
44579 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
44584 #: ../libguestfs-1.11.19/src/guestfs.pod:2860 ../src/guestfs.pod:2860
44589 #: ../libguestfs-1.11.19/src/guestfs.pod:2862 ../src/guestfs.pod:2862
44590 msgid "PROTOCOL LIMITS"
44591 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
44594 #: ../libguestfs-1.11.19/src/guestfs.pod:2864 ../src/guestfs.pod:2864
44596 "Internally libguestfs uses a message-based protocol to pass API calls and "
44597 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
44598 "plenty more detail about this). The maximum message size used by the "
44599 "protocol is slightly less than 4 MB. For some API calls you may need to be "
44600 "aware of this limit. The API calls which may be affected are individually "
44601 "documented, with a link back to this section of the documentation."
44605 #: ../libguestfs-1.11.19/src/guestfs.pod:2872 ../src/guestfs.pod:2872
44607 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
44608 "a simple string. Because this string is at some point internally encoded as "
44609 "a message, the maximum size that it can return is slightly under 4 MB. If "
44610 "the requested file is larger than this then you will get an error."
44614 #: ../libguestfs-1.11.19/src/guestfs.pod:2878 ../src/guestfs.pod:2878
44616 "In order to transfer large files into and out of the guest filesystem, you "
44617 "need to use particular calls that support this. The sections L</UPLOADING> "
44618 "and L</DOWNLOADING> document how to do this."
44622 #: ../libguestfs-1.11.19/src/guestfs.pod:2882 ../src/guestfs.pod:2882
44624 "You might also consider mounting the disk image using our FUSE filesystem "
44625 "support (L<guestmount(1)>)."
44629 #: ../libguestfs-1.11.19/src/guestfs.pod:2885 ../src/guestfs.pod:2885
44630 msgid "MAXIMUM NUMBER OF DISKS"
44634 #: ../libguestfs-1.11.19/src/guestfs.pod:2887 ../src/guestfs.pod:2887
44635 msgid "When using virtio disks (the default) the current limit is B<25> disks."
44639 #: ../libguestfs-1.11.19/src/guestfs.pod:2890 ../src/guestfs.pod:2890
44641 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
44642 "slots. However febootstrap only understands disks with names C</dev/vda> "
44643 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
44648 #: ../libguestfs-1.11.19/src/guestfs.pod:2895 ../src/guestfs.pod:2895
44650 "We are working to substantially raise this limit in future versions but it "
44651 "requires complex changes to qemu."
44655 #: ../libguestfs-1.11.19/src/guestfs.pod:2898 ../src/guestfs.pod:2898
44657 "In future versions of libguestfs it should also be possible to \"hot plug\" "
44658 "disks (add and remove disks after calling L</guestfs_launch>). This also "
44659 "requires changes to qemu."
44663 #: ../libguestfs-1.11.19/src/guestfs.pod:2902 ../src/guestfs.pod:2902
44664 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
44668 #: ../libguestfs-1.11.19/src/guestfs.pod:2904 ../src/guestfs.pod:2904
44669 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
44673 #: ../libguestfs-1.11.19/src/guestfs.pod:2906 ../src/guestfs.pod:2906
44675 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
44676 "vda>, and C</dev/vda1> through C</dev/vda15>)."
44680 #: ../libguestfs-1.11.19/src/guestfs.pod:2909 ../src/guestfs.pod:2909
44682 "If you attach a disk with more than 15 partitions, the extra partitions are "
44683 "ignored by libguestfs."
44687 #: ../libguestfs-1.11.19/src/guestfs.pod:2912 ../src/guestfs.pod:2912
44688 msgid "MAXIMUM SIZE OF A DISK"
44692 #: ../libguestfs-1.11.19/src/guestfs.pod:2914 ../src/guestfs.pod:2914
44693 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
44697 #: ../libguestfs-1.11.19/src/guestfs.pod:2916 ../src/guestfs.pod:2916
44699 "We have tested block devices up to 1 exabyte (2**60 or "
44700 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
44705 #: ../libguestfs-1.11.19/src/guestfs.pod:2920 ../src/guestfs.pod:2920
44707 "Although libguestfs probably does not impose any limit, the underlying host "
44708 "storage will. If you store disk images on a host ext4 filesystem, then the "
44709 "maximum size will be limited by the maximum ext4 file size (currently 16 "
44710 "TB). If you store disk images as host logical volumes then you are limited "
44711 "by the maximum size of an LV."
44715 #: ../libguestfs-1.11.19/src/guestfs.pod:2926 ../src/guestfs.pod:2926
44717 "For the hugest disk image files, we recommend using XFS on the host for "
44722 #: ../libguestfs-1.11.19/src/guestfs.pod:2929 ../src/guestfs.pod:2929
44723 msgid "MAXIMUM SIZE OF A PARTITION"
44727 #: ../libguestfs-1.11.19/src/guestfs.pod:2931 ../src/guestfs.pod:2931
44729 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
44730 "numbers. Assuming a 512 byte sector size, this means that MBR cannot "
44731 "address a partition located beyond 2 TB on the disk."
44735 #: ../libguestfs-1.11.19/src/guestfs.pod:2935 ../src/guestfs.pod:2935
44737 "It is recommended that you use GPT partitions on disks which are larger than "
44738 "this size. GPT uses 64 bit sector numbers and so can address partitions "
44739 "which are theoretically larger than the largest disk we could support."
44743 #: ../libguestfs-1.11.19/src/guestfs.pod:2940 ../src/guestfs.pod:2940
44744 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
44748 #: ../libguestfs-1.11.19/src/guestfs.pod:2942 ../src/guestfs.pod:2942
44750 "This depends on the filesystem type. libguestfs itself does not impose any "
44751 "known limit. Consult Wikipedia or the filesystem documentation to find out "
44752 "what these limits are."
44756 #: ../libguestfs-1.11.19/src/guestfs.pod:2946 ../src/guestfs.pod:2946
44757 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
44761 #: ../libguestfs-1.11.19/src/guestfs.pod:2948 ../src/guestfs.pod:2948
44763 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
44764 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
44765 "uploads and downloads."
44769 #: ../libguestfs-1.11.19/src/guestfs.pod:2952 ../src/guestfs.pod:2952
44770 msgid "INSPECTION LIMITS"
44774 #: ../libguestfs-1.11.19/src/guestfs.pod:2954 ../src/guestfs.pod:2954
44776 "The inspection code has several arbitrary limits on things like the size of "
44777 "Windows Registry hive it will read, and the length of product name. These "
44778 "are intended to stop a malicious guest from consuming arbitrary amounts of "
44779 "memory and disk space on the host, and should not be reached in practice. "
44780 "See the source code for more information."
44784 #: ../libguestfs-1.11.19/src/guestfs.pod:2970 ../src/guestfs.pod:2970
44786 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages. This has the same "
44787 "effect as calling C<guestfs_set_verbose (g, 1)>."
44791 #: ../libguestfs-1.11.19/src/guestfs.pod:2982 ../src/guestfs.pod:2982
44793 "Set the path that libguestfs uses to search for a supermin appliance. See "
44794 "the discussion of paths in section L</PATH> above."
44798 #: ../libguestfs-1.11.19/src/guestfs.pod:2991 ../src/guestfs.pod:2991
44799 msgid "See also L</QEMU WRAPPERS> above."
44803 #: ../libguestfs-1.11.19/src/guestfs.pod:2995 ../src/guestfs.pod:2995
44805 "Set C<LIBGUESTFS_TRACE=1> to enable command traces. This has the same "
44806 "effect as calling C<guestfs_set_trace (g, 1)>."
44810 #: ../libguestfs-1.11.19/src/guestfs.pod:3013 ../src/guestfs.pod:3013
44812 "L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, L<guestfs-"
44813 "ruby(3)>, L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-copy-in"
44814 "(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems"
44815 "(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-"
44816 "partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-"
44817 "tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<qemu(1)"
44818 ">, L<febootstrap(1)>, L<hivex(3)>, L<http://libguestfs.org/>."
44822 #: ../libguestfs-1.11.19/src/guestfs.pod:3040 ../src/guestfs.pod:3040
44824 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
44825 "(8)>, L<disktype(1)>."
44829 #: ../libguestfs-1.11.19/src/guestfs.pod:3047 ../src/guestfs.pod:3047
44830 #: ../tools/virt-make-fs.pl:553 ../tools/virt-win-reg.pl:761
44835 #: ../libguestfs-1.11.19/src/guestfs.pod:3049 ../src/guestfs.pod:3049
44836 msgid "To get a list of bugs against libguestfs use this link:"
44838 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
44842 #: ../libguestfs-1.11.19/src/guestfs.pod:3051 ../src/guestfs.pod:3051
44844 "L<https://bugzilla.redhat.com/buglist.cgi?"
44845 "component=libguestfs&product=Virtualization+Tools>"
44847 "L<https://bugzilla.redhat.com/buglist.cgi?"
44848 "component=libguestfs&product=Virtualization+Tools>"
44851 #: ../libguestfs-1.11.19/src/guestfs.pod:3053 ../src/guestfs.pod:3053
44852 msgid "To report a new bug against libguestfs use this link:"
44853 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
44856 #: ../libguestfs-1.11.19/src/guestfs.pod:3055 ../src/guestfs.pod:3055
44858 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
44859 "component=libguestfs&product=Virtualization+Tools>"
44861 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
44862 "component=libguestfs&product=Virtualization+Tools>"
44865 #: ../libguestfs-1.11.19/src/guestfs.pod:3057 ../src/guestfs.pod:3057
44866 msgid "When reporting a bug, please check:"
44870 #: ../libguestfs-1.11.19/src/guestfs.pod:3063 ../src/guestfs.pod:3063
44871 msgid "That the bug hasn't been reported already."
44875 #: ../libguestfs-1.11.19/src/guestfs.pod:3067 ../src/guestfs.pod:3067
44876 msgid "That you are testing a recent version."
44880 #: ../libguestfs-1.11.19/src/guestfs.pod:3071 ../src/guestfs.pod:3071
44881 msgid "Describe the bug accurately, and give a way to reproduce it."
44885 #: ../libguestfs-1.11.19/src/guestfs.pod:3075 ../src/guestfs.pod:3075
44887 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
44892 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:5
44893 #: ../test-tool/libguestfs-test-tool.pod:5
44894 msgid "libguestfs-test-tool - End user tests for libguestfs"
44898 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:9
44899 #: ../test-tool/libguestfs-test-tool.pod:9
44902 " libguestfs-test-tool [--options]\n"
44907 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:13
44908 #: ../test-tool/libguestfs-test-tool.pod:13
44910 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
44911 "and developers, to allow them to check basic libguestfs functionality is "
44912 "working. This is needed because libguestfs occasionally breaks for reasons "
44913 "beyond our control: usually because of changes in the underlying qemu or "
44914 "kernel packages, or the host environment."
44918 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:20
44919 #: ../test-tool/libguestfs-test-tool.pod:20
44920 msgid "If you suspect a problem in libguestfs, then just run:"
44924 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:22
44925 #: ../test-tool/libguestfs-test-tool.pod:22
44928 " libguestfs-test-tool\n"
44933 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:24
44934 #: ../test-tool/libguestfs-test-tool.pod:24
44935 msgid "It will print lots of diagnostic messages."
44939 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:26
44940 #: ../test-tool/libguestfs-test-tool.pod:26
44941 msgid "If it runs to completion successfully, you will see this near the end:"
44945 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:28
44946 #: ../test-tool/libguestfs-test-tool.pod:28
44949 " ===== TEST FINISHED OK =====\n"
44954 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:30
44955 #: ../test-tool/libguestfs-test-tool.pod:30
44956 msgid "and the test tool will exit with code 0."
44960 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:32
44961 #: ../test-tool/libguestfs-test-tool.pod:32
44963 "If it fails (and/or exits with non-zero error code), please paste the "
44964 "B<complete, unedited> output of the test tool into a bug report. More "
44965 "information about reporting bugs can be found on the L<http://libguestfs.org/"
44970 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:41
44971 #: ../test-tool/libguestfs-test-tool.pod:41
44976 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:43
44977 #: ../test-tool/libguestfs-test-tool.pod:43
44978 msgid "Display short usage information and exit."
44982 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:45
44983 #: ../test-tool/libguestfs-test-tool.pod:45
44984 msgid "I<--qemu qemu_binary>"
44985 msgstr "I<--qemu виконуваний_файл_qemu>"
44988 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:47
44989 #: ../test-tool/libguestfs-test-tool.pod:47
44991 "If you have downloaded another qemu binary, point this option at the full "
44992 "path of the binary to try it."
44996 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:50
44997 #: ../test-tool/libguestfs-test-tool.pod:50
44998 msgid "I<--qemudir qemu_source_dir>"
45002 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:52
45003 #: ../test-tool/libguestfs-test-tool.pod:52
45005 "If you have compiled qemu from source, point this option at the source "
45006 "directory to try it."
45010 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:55
45011 #: ../test-tool/libguestfs-test-tool.pod:55
45012 msgid "I<--timeout N>"
45013 msgstr "I<--timeout N>"
45016 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:57
45017 #: ../test-tool/libguestfs-test-tool.pod:57
45019 "Set the launch timeout to C<N> seconds. The default is 120 seconds which "
45020 "does not usually need to be adjusted unless your machine is very slow."
45024 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:63
45025 #: ../test-tool/libguestfs-test-tool.pod:63
45026 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
45030 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:65
45031 #: ../test-tool/libguestfs-test-tool.pod:65
45033 "If you have compiled another version of qemu from source and would like to "
45034 "try that, then you can use the I<--qemudir> option to point to the qemu "
45035 "source directory."
45039 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:69
45040 #: ../test-tool/libguestfs-test-tool.pod:69
45042 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
45043 "option to point to the binary."
45047 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:72
45048 #: ../test-tool/libguestfs-test-tool.pod:72
45050 "When using an alternate qemu with libguestfs, usually you would need to "
45051 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
45052 ">). libguestfs-test-tool writes a temporary qemu wrapper script when you "
45053 "use either of the I<--qemudir> or I<--qemu> options."
45057 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:79
45058 #: ../test-tool/libguestfs-test-tool.pod:79
45060 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
45061 "I<1> if there was an error."
45065 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:84
45066 #: ../test-tool/libguestfs-test-tool.pod:84
45068 "For the full list of environment variables which may affect libguestfs, "
45069 "please see the L<guestfs(3)> manual page."
45073 #: ../libguestfs-1.11.19/test-tool/libguestfs-test-tool.pod:89
45074 #: ../test-tool/libguestfs-test-tool.pod:89
45075 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
45079 #: ../tools/virt-list-filesystems.pl:32
45081 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
45085 #: ../tools/virt-list-filesystems.pl:36
45088 " virt-list-filesystems [--options] domname\n"
45093 #: ../tools/virt-list-filesystems.pl:38
45096 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
45101 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
45103 "This tool is obsolete. Use L<virt-filesystems(1)> as a more flexible "
45108 #: ../tools/virt-list-filesystems.pl:45
45110 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
45111 "are contained in a virtual machine or disk image."
45115 #: ../tools/virt-list-filesystems.pl:49
45117 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
45118 "functionality. For more complex cases you should look at the L<guestfish(1)"
45123 #: ../tools/virt-list-filesystems.pl:112
45125 "With this option, C<virt-list-filesystems> displays the type of each "
45126 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
45130 #: ../tools/virt-list-filesystems.pl:119
45132 #| msgid "B<-a image>"
45134 msgstr "B<-a образ>"
45137 #: ../tools/virt-list-filesystems.pl:123
45139 "Normally we only show mountable filesystems. If this option is given then "
45140 "swap devices are shown too."
45144 #: ../tools/virt-list-filesystems.pl:197
45146 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
45147 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
45148 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45150 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
45151 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
45152 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45155 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
45156 msgid "Copyright (C) 2009 Red Hat Inc."
45157 msgstr "© Red Hat Inc., 2009"
45160 #: ../tools/virt-list-partitions.pl:32
45162 "virt-list-partitions - List partitions in a virtual machine or disk image"
45166 #: ../tools/virt-list-partitions.pl:36
45169 " virt-list-partitions [--options] domname\n"
45172 " virt-list-partitions [--параметри] назва_домену\n"
45176 #: ../tools/virt-list-partitions.pl:38
45179 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
45182 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
45186 #: ../tools/virt-list-partitions.pl:45
45188 "C<virt-list-partitions> is a command line tool to list the partitions that "
45189 "are contained in a virtual machine or disk image. It is mainly useful as a "
45190 "first step to using L<virt-resize(1)>."
45194 #: ../tools/virt-list-partitions.pl:50
45196 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
45197 "functionality. For more complex cases you should look at the L<guestfish(1)"
45202 #: ../tools/virt-list-partitions.pl:113
45203 msgid "Show sizes in human-readable form (eg. \"1G\")."
45207 #: ../tools/virt-list-partitions.pl:123
45209 "With this option, C<virt-list-partitions> displays the type and size of each "
45210 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
45214 #: ../tools/virt-list-partitions.pl:130
45219 #: ../tools/virt-list-partitions.pl:132
45221 #| msgid "B<-t> | B<--total>"
45223 msgstr "B<-t> | B<--total>"
45226 #: ../tools/virt-list-partitions.pl:134
45228 "Display the total size of each block device (as a separate row or rows)."
45232 #: ../tools/virt-list-partitions.pl:267
45234 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
45235 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
45236 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45238 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
45239 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
45240 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
45243 #: ../tools/virt-list-partitions.pl:283
45244 msgid "Copyright (C) 2009-2010 Red Hat Inc."
45245 msgstr "© Red Hat Inc., 2009–2010"
45248 #: ../tools/virt-make-fs.pl:37
45249 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
45253 #: ../tools/virt-make-fs.pl:41
45256 " virt-make-fs [--options] input.tar output.img\n"
45261 #: ../tools/virt-make-fs.pl:43
45264 " virt-make-fs [--options] input.tar.gz output.img\n"
45269 #: ../tools/virt-make-fs.pl:45
45272 " virt-make-fs [--options] directory output.img\n"
45277 #: ../tools/virt-make-fs.pl:49
45279 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
45280 "archive or some files in a directory. It is similar to tools like L<mkisofs"
45281 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>. Unlike those tools, it can "
45282 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
45283 "you want to attach these filesystems to existing virtual machines (eg. to "
45284 "import large amounts of read-only data to a VM)."
45288 #: ../tools/virt-make-fs.pl:57
45289 msgid "Basic usage is:"
45293 #: ../tools/virt-make-fs.pl:59
45296 " virt-make-fs input output\n"
45301 #: ../tools/virt-make-fs.pl:61
45303 "where C<input> is either a directory containing files that you want to add, "
45304 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
45305 "C<output> is a disk image. The input type is detected automatically. The "
45306 "output disk image defaults to a raw ext2 image unless you specify extra "
45307 "flags (see L</OPTIONS> below)."
45311 #: ../tools/virt-make-fs.pl:67
45312 msgid "EXTRA SPACE"
45316 #: ../tools/virt-make-fs.pl:69
45318 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
45319 "the files that it contains, but might have extra space. Depending on how "
45320 "you are going to use the output, you might think this extra space is wasted "
45321 "and want to minimize it, or you might want to leave space so that more files "
45322 "can be added later. Virt-make-fs defaults to minimizing the extra space, "
45323 "but you can use the I<--size> flag to leave space in the filesystem if you "
45328 #: ../tools/virt-make-fs.pl:77
45330 "An alternative way to leave extra space but not make the output image any "
45331 "bigger is to use an alternative disk image format (instead of the default "
45332 "\"raw\" format). Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
45333 "image format (check your hypervisor supports this before using it). This "
45334 "allows you to choose a large I<--size> but the extra space won't actually be "
45335 "allocated in the image until you try to store something in it."
45339 #: ../tools/virt-make-fs.pl:85
45341 "Don't forget that you can also use local commands including L<resize2fs(8)> "
45342 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
45343 "to build another image from scratch."
45347 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
45348 #: ../tools/virt-make-fs.pl:142
45353 #: ../tools/virt-make-fs.pl:91
45356 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
45359 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
45363 #: ../tools/virt-make-fs.pl:93
45364 msgid "FILESYSTEM TYPE"
45365 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
45368 #: ../tools/virt-make-fs.pl:95
45370 "The default filesystem type is C<ext2>. Just about any filesystem type that "
45371 "libguestfs supports can be used (but I<not> read-only formats like "
45372 "ISO9660). Here are some of the more common choices:"
45376 #: ../tools/virt-make-fs.pl:101
45381 #: ../tools/virt-make-fs.pl:103
45383 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size. If "
45384 "you are not going to use the filesystem in a way that requires the journal, "
45385 "then this is just wasted overhead."
45389 #: ../tools/virt-make-fs.pl:107
45390 msgid "I<ntfs> or I<vfat>"
45391 msgstr "I<ntfs> або I<vfat>"
45394 #: ../tools/virt-make-fs.pl:109
45395 msgid "Useful if exporting data to a Windows guest."
45399 #: ../tools/virt-make-fs.pl:111
45401 "I<Note for vfat>: The tar archive or local directory must only contain files "
45402 "which are owned by root (ie. UID:GID = 0:0). The reason is that the tar "
45403 "program running within libguestfs is unable to change the ownership of non-"
45404 "root files, since vfat itself does not support this."
45408 #: ../tools/virt-make-fs.pl:116
45413 #: ../tools/virt-make-fs.pl:118
45415 "Lower overhead than C<ext2>, but certain limitations on filename length and "
45416 "total filesystem size."
45420 #: ../tools/virt-make-fs.pl:125
45423 " virt-make-fs --type=minix input minixfs.img\n"
45428 #: ../tools/virt-make-fs.pl:127
45429 msgid "TO PARTITION OR NOT TO PARTITION"
45433 #: ../tools/virt-make-fs.pl:129
45434 msgid "Optionally virt-make-fs can add a partition table to the output disk."
45438 #: ../tools/virt-make-fs.pl:131
45440 "Adding a partition can make the disk image more compatible with certain "
45441 "virtualized operating systems which don't expect to see a filesystem "
45442 "directly located on a block device (Linux doesn't care and will happily "
45443 "handle both types)."
45447 #: ../tools/virt-make-fs.pl:136
45449 "On the other hand, if you have a partition table then the output image is no "
45450 "longer a straight filesystem. For example you cannot run L<fsck(8)> "
45451 "directly on a partitioned disk image. (However libguestfs tools such as "
45452 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
45456 #: ../tools/virt-make-fs.pl:144
45457 msgid "Add an MBR partition:"
45461 #: ../tools/virt-make-fs.pl:146
45464 " virt-make-fs --partition -- input disk.img\n"
45469 #: ../tools/virt-make-fs.pl:148
45471 "If the output disk image could be terabyte-sized or larger, it's better to "
45472 "use an EFI/GPT-compatible partition table:"
45476 #: ../tools/virt-make-fs.pl:151
45479 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
45484 #: ../tools/virt-make-fs.pl:179
45485 msgid "Enable debugging information."
45486 msgstr "Увімкнути виведення діагностичних даних."
45489 #: ../tools/virt-make-fs.pl:185
45490 msgid "B<--size=E<lt>NE<gt>>"
45491 msgstr "B<--size=E<lt>NE<gt>>"
45494 #: ../tools/virt-make-fs.pl:187
45495 msgid "B<--size=+E<lt>NE<gt>>"
45496 msgstr "B<--size=+E<lt>NE<gt>>"
45499 #: ../tools/virt-make-fs.pl:189
45500 msgid "B<-s E<lt>NE<gt>>"
45501 msgstr "B<-s E<lt>NE<gt>>"
45504 #: ../tools/virt-make-fs.pl:191
45505 msgid "B<-s +E<lt>NE<gt>>"
45506 msgstr "B<-s +E<lt>NE<gt>>"
45509 #: ../tools/virt-make-fs.pl:193
45511 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
45515 #: ../tools/virt-make-fs.pl:196
45517 "If this option is I<not> given, then the output image will be just large "
45518 "enough to contain all the files, with not much wasted space."
45522 #: ../tools/virt-make-fs.pl:199
45524 "To choose a fixed size output disk, specify an absolute number followed by b/"
45525 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
45526 "Petabytes or Exabytes. This must be large enough to contain all the input "
45527 "files, else you will get an error."
45531 #: ../tools/virt-make-fs.pl:204
45533 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
45534 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
45535 "Petabytes or Exabytes. For example: I<--size=+200M> means enough space for "
45536 "the input files, and (approximately) an extra 200 MB free space."
45540 #: ../tools/virt-make-fs.pl:210
45542 "Note that virt-make-fs estimates free space, and therefore will not produce "
45543 "filesystems containing precisely the free space requested. (It is much more "
45544 "expensive and time-consuming to produce a filesystem which has precisely the "
45545 "desired free space)."
45549 #: ../tools/virt-make-fs.pl:219
45550 msgid "B<--format=E<lt>fmtE<gt>>"
45554 #: ../tools/virt-make-fs.pl:221
45555 msgid "B<-F E<lt>fmtE<gt>>"
45559 #: ../tools/virt-make-fs.pl:223
45560 msgid "Choose the output disk image format."
45564 #: ../tools/virt-make-fs.pl:225
45565 msgid "The default is C<raw> (raw disk image)."
45569 #: ../tools/virt-make-fs.pl:227
45571 "For other choices, see the L<qemu-img(1)> manpage. The only other choice "
45572 "that would really make sense here is C<qcow2>."
45576 #: ../tools/virt-make-fs.pl:234
45577 msgid "B<--type=E<lt>fsE<gt>>"
45581 #: ../tools/virt-make-fs.pl:236
45582 msgid "B<-t E<lt>fsE<gt>>"
45586 #: ../tools/virt-make-fs.pl:238
45587 msgid "Choose the output filesystem type."
45591 #: ../tools/virt-make-fs.pl:240
45592 msgid "The default is C<ext2>."
45593 msgstr "Типовим значенням є C<ext2>."
45596 #: ../tools/virt-make-fs.pl:242
45598 "Any filesystem which is supported read-write by libguestfs can be used here."
45602 #: ../tools/virt-make-fs.pl:249
45603 msgid "B<--partition>"
45604 msgstr "B<--partition>"
45607 #: ../tools/virt-make-fs.pl:251
45608 msgid "B<--partition=E<lt>parttypeE<gt>>"
45612 #: ../tools/virt-make-fs.pl:253
45614 "If specified, this flag adds an MBR partition table to the output disk image."
45618 #: ../tools/virt-make-fs.pl:256
45620 "You can change the partition table type, eg. I<--partition=gpt> for large "
45625 #: ../tools/virt-make-fs.pl:259
45627 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
45628 "might consider the next parameter to be the partition type. For example:"
45632 #: ../tools/virt-make-fs.pl:263
45635 " virt-make-fs --partition input.tar ...\n"
45640 #: ../tools/virt-make-fs.pl:265
45642 "would cause virt-make-fs to think you wanted to use a partition type of "
45643 "C<input.tar> which is completely wrong. To avoid this, use I<--> (a double "
45644 "dash) between options and the input file argument:"
45648 #: ../tools/virt-make-fs.pl:269
45651 " virt-make-fs --partition -- input.tar ...\n"
45654 " virt-make-fs --partition -- input.tar ...\n"
45658 #: ../tools/virt-make-fs.pl:541
45660 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
45661 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
45662 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
45664 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
45665 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
45666 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
45669 #: ../tools/virt-make-fs.pl:555 ../tools/virt-win-reg.pl:763
45671 "When reporting bugs, please enable debugging and capture the I<complete> "
45676 #: ../tools/virt-make-fs.pl:558
45679 " export LIBGUESTFS_DEBUG=1\n"
45680 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
45683 " export LIBGUESTFS_DEBUG=1\n"
45684 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
45688 #: ../tools/virt-make-fs.pl:561
45690 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
45695 #: ../tools/virt-tar.pl:33
45696 msgid "virt-tar - Extract or upload files to a virtual machine"
45700 #: ../tools/virt-tar.pl:37
45703 " virt-tar [--options] -x domname directory tarball\n"
45708 #: ../tools/virt-tar.pl:39
45711 " virt-tar [--options] -u domname tarball directory\n"
45716 #: ../tools/virt-tar.pl:41
45719 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
45724 #: ../tools/virt-tar.pl:43
45727 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
45732 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
45737 #: ../tools/virt-tar.pl:47
45739 "This tool is obsolete. Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
45740 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
45744 #: ../tools/virt-tar.pl:52
45745 msgid "Download C</home> from the VM into a local tarball:"
45749 #: ../tools/virt-tar.pl:54
45752 " virt-tar -x domname /home home.tar\n"
45757 #: ../tools/virt-tar.pl:56
45760 " virt-tar -zx domname /home home.tar.gz\n"
45765 #: ../tools/virt-tar.pl:58
45766 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
45770 #: ../tools/virt-tar.pl:60
45773 " virt-tar -u domname uploadstuff.tar /tmp\n"
45778 #: ../tools/virt-tar.pl:62
45781 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
45786 #: ../tools/virt-tar.pl:66
45788 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
45789 "virtual machines. If you do this, you risk disk corruption in the VM. "
45790 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
45794 #: ../tools/virt-tar.pl:71
45796 "You can use I<-x> (extract) on live virtual machines, but you might get "
45797 "inconsistent results or errors if there is filesystem activity inside the "
45798 "VM. If the live VM is synched and quiescent, then C<virt-tar> will usually "
45799 "work, but the only way to guarantee consistent results is if the virtual "
45800 "machine is shut down."
45804 #: ../tools/virt-tar.pl:79
45806 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
45807 "parts of a guest filesystem. There are many possibilities: making backups, "
45808 "uploading data files, snooping on guest activity, fixing or customizing "
45813 #: ../tools/virt-tar.pl:84
45815 "If you want to just view a single file, use L<virt-cat(1)>. If you just "
45816 "want to edit a single file, use L<virt-edit(1)>. For more complex cases you "
45817 "should look at the L<guestfish(1)> tool."
45821 #: ../tools/virt-tar.pl:88
45823 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
45824 "its contents (recursively) from the virtual machine into a local tarball. "
45825 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
45826 "virtual machine. You cannot use these two options together."
45830 #: ../tools/virt-tar.pl:94
45832 "In addition, you may need to use the I<-z> (gZip) option to enable "
45833 "compression. When uploading, you have to specify I<-z> if the upload file "
45834 "is compressed because virt-tar won't detect this on its own."
45838 #: ../tools/virt-tar.pl:98
45840 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs. For "
45841 "example it cannot do PKZip files or bzip2 compression. If you want that "
45842 "then you'll have to rebuild the tarballs yourself. (This is a limitation of "
45843 "the L<libguestfs(3)> API)."
45847 #: ../tools/virt-tar.pl:160
45849 #| msgid "B<--format>"
45850 msgid "B<--extract>"
45851 msgstr "B<--format>"
45854 #: ../tools/virt-tar.pl:162
45856 #| msgid "download"
45857 msgid "B<--download>"
45861 #: ../tools/virt-tar.pl:164
45866 #: ../tools/virt-tar.pl:166
45868 #| msgid "B<-u> | B<--upload>"
45869 msgid "B<--upload>"
45870 msgstr "B<-u> | B<--upload>"
45873 #: ../tools/virt-tar.pl:168
45875 "Use I<-x> to extract (download) a directory from a virtual machine to a "
45880 #: ../tools/virt-tar.pl:171
45882 "Use I<-u> to upload and unpack from a local tarball into a virtual machine. "
45883 "Please read the L</WARNING> section above before using this option."
45887 #: ../tools/virt-tar.pl:175
45888 msgid "You must specify exactly one of these options."
45892 #: ../tools/virt-tar.pl:181
45897 #: ../tools/virt-tar.pl:183
45899 #| msgid "B<-z> | B<--gzip>"
45901 msgstr "B<-z> | B<--gzip>"
45904 #: ../tools/virt-tar.pl:185
45905 msgid "Specify that the input or output tarball is gzip-compressed."
45909 #: ../tools/virt-tar.pl:298
45911 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
45912 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
45913 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
45916 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
45917 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
45918 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
45922 #: ../tools/virt-win-reg.pl:37
45924 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
45928 #: ../tools/virt-win-reg.pl:41
45931 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
45936 #: ../tools/virt-win-reg.pl:43
45939 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
45944 #: ../tools/virt-win-reg.pl:45
45947 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
45952 #: ../tools/virt-win-reg.pl:47
45955 " virt-win-reg --merge domname [input.reg ...]\n"
45960 #: ../tools/virt-win-reg.pl:49
45963 " virt-win-reg [--options] disk.img ... # instead of domname\n"
45968 #: ../tools/virt-win-reg.pl:53
45970 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
45971 "virtual machines. If you do this, you I<will> get irreversible disk "
45972 "corruption in the VM. C<virt-win-reg> tries to stop you from doing this, "
45973 "but doesn't catch all cases."
45977 #: ../tools/virt-win-reg.pl:58
45979 "Modifying the Windows Registry is an inherently risky operation. The format "
45980 "is deliberately obscure and undocumented, and Registry changes can leave the "
45981 "system unbootable. Therefore when using the I<--merge> option, make sure "
45982 "you have a reliable backup first."
45986 #: ../tools/virt-win-reg.pl:65
45988 "This program can export and merge Windows Registry entries from a Windows "
45993 #: ../tools/virt-win-reg.pl:68
45995 "The first parameter is the libvirt guest name or the raw disk image of a "
46000 #: ../tools/virt-win-reg.pl:71
46002 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
46003 "exported (recursively). For example:"
46007 #: ../tools/virt-win-reg.pl:74
46010 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
46015 #: ../tools/virt-win-reg.pl:76
46017 "You can also display single values from within registry keys, for example:"
46021 #: ../tools/virt-win-reg.pl:79
46024 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
46025 " $ virt-win-reg Windows7 $cvkey ProductName\n"
46026 " Windows 7 Enterprise\n"
46031 #: ../tools/virt-win-reg.pl:83
46033 "With I<--merge>, you can merge a textual regedit file into the Windows "
46038 #: ../tools/virt-win-reg.pl:86
46041 " $ virt-win-reg --merge Windows7 changes.reg\n"
46046 #: ../tools/virt-win-reg.pl:90
46048 "This program is only meant for simple access to the registry. If you want "
46049 "to do complicated things with the registry, we suggest you download the "
46050 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
46051 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
46052 "L<hivexregedit(1)>."
46056 #: ../tools/virt-win-reg.pl:159
46058 msgstr "B<--merge>"
46061 #: ../tools/virt-win-reg.pl:161
46063 "In merge mode, this merges a textual regedit file into the Windows Registry "
46064 "of the virtual machine. If this flag is I<not> given then virt-win-reg "
46065 "displays or exports Registry entries instead."
46069 #: ../tools/virt-win-reg.pl:165
46071 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
46072 "result in disk corruption. However exporting (without this flag) is always "
46077 #: ../tools/virt-win-reg.pl:173
46078 msgid "B<--encoding> UTF-16LE|ASCII"
46082 #: ../tools/virt-win-reg.pl:175
46084 "When merging (only), you may need to specify the encoding for strings to be "
46085 "used in the hive file. This is explained in detail in L<Win::Hivex::Regedit"
46086 "(3)/ENCODING STRINGS>."
46090 #: ../tools/virt-win-reg.pl:179
46092 "The default is to use UTF-16LE, which should work with recent versions of "
46097 #: ../tools/virt-win-reg.pl:186
46098 msgid "B<--unsafe-printable-strings>"
46102 #: ../tools/virt-win-reg.pl:188
46104 "When exporting (only), assume strings are UTF-16LE and print them as strings "
46105 "instead of hex sequences. Remove the final zero codepoint from strings if "
46110 #: ../tools/virt-win-reg.pl:192
46112 "This is unsafe and does not preserve the fidelity of strings in the original "
46113 "Registry for various reasons:"
46117 #: ../tools/virt-win-reg.pl:199
46119 "Assumes the original encoding is UTF-16LE. ASCII strings and strings in "
46120 "other encodings will be corrupted by this transformation."
46124 #: ../tools/virt-win-reg.pl:204
46126 "Assumes that everything which has type 1 or 2 is really a string and that "
46127 "everything else is not a string, but the type field in real Registries is "
46132 #: ../tools/virt-win-reg.pl:210
46134 "Loses information about whether a zero codepoint followed the string in the "
46139 #: ../tools/virt-win-reg.pl:215
46141 "This all happens because the Registry itself contains no information about "
46142 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
46146 #: ../tools/virt-win-reg.pl:219
46148 "You should only use this option for quick hacking and debugging of the "
46149 "Registry contents, and I<never> use it if the output is going to be passed "
46150 "into another program or stored in another Registry."
46154 #: ../tools/virt-win-reg.pl:556
46155 msgid "SUPPORTED SYSTEMS"
46159 #: ../tools/virt-win-reg.pl:558
46161 "The program currently supports Windows NT-derived guests starting with "
46162 "Windows XP through to at least Windows 7."
46166 #: ../tools/virt-win-reg.pl:561
46167 msgid "The following Registry keys are supported:"
46171 #: ../tools/virt-win-reg.pl:565
46172 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
46176 #: ../tools/virt-win-reg.pl:567
46177 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
46181 #: ../tools/virt-win-reg.pl:569
46182 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
46186 #: ../tools/virt-win-reg.pl:571
46187 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
46191 #: ../tools/virt-win-reg.pl:573
46192 msgid "C<HKEY_USERS\\.DEFAULT>"
46196 #: ../tools/virt-win-reg.pl:575
46197 msgid "C<HKEY_USERS\\I<SID>>"
46201 #: ../tools/virt-win-reg.pl:577
46202 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
46206 #: ../tools/virt-win-reg.pl:579
46207 msgid "C<HKEY_USERS\\I<username>>"
46211 #: ../tools/virt-win-reg.pl:581
46213 "where I<username> is a local user name (this is a libguestfs extension)."
46217 #: ../tools/virt-win-reg.pl:585
46219 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
46224 #: ../tools/virt-win-reg.pl:588
46226 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
46227 "supported (there is no \"current user\")."
46231 #: ../tools/virt-win-reg.pl:591
46236 #: ../tools/virt-win-reg.pl:593
46238 "C<virt-win-reg> expects that regedit files have already been reencoded in "
46239 "the local encoding. Usually on Linux hosts, this means UTF-8 with Unix-"
46240 "style line endings. Since Windows regedit files are often in UTF-16LE with "
46241 "Windows-style line endings, you may need to reencode the whole file before "
46242 "or after processing."
46246 #: ../tools/virt-win-reg.pl:599
46248 "To reencode a file from Windows format to Linux (before processing it with "
46249 "the I<--merge> option), you would do something like this:"
46253 #: ../tools/virt-win-reg.pl:602
46256 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
46261 #: ../tools/virt-win-reg.pl:604
46263 "To go in the opposite direction, after exporting and before sending the file "
46264 "to a Windows user, do something like this:"
46268 #: ../tools/virt-win-reg.pl:607
46271 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
46276 #: ../tools/virt-win-reg.pl:609
46277 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
46281 #: ../tools/virt-win-reg.pl:611
46283 "If you are unsure about the current encoding, use the L<file(1)> command. "
46284 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
46285 "style (CRLF) line endings, like this:"
46289 #: ../tools/virt-win-reg.pl:615
46292 " $ file software.reg\n"
46293 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
46294 " with CRLF line terminators\n"
46299 #: ../tools/virt-win-reg.pl:619
46300 msgid "This file would need conversion before you could I<--merge> it."
46304 #: ../tools/virt-win-reg.pl:621
46305 msgid "CurrentControlSet etc."
46309 #: ../tools/virt-win-reg.pl:623
46311 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
46312 "Registry at the level of the hive file, and therefore you cannot modify "
46317 #: ../tools/virt-win-reg.pl:627
46319 "C<CurrentControlSet> is usually an alias for C<ControlSet001>. In some "
46320 "circumstances it might refer to another control set. The way to find out is "
46321 "to look at the C<HKLM\\SYSTEM\\Select> key:"
46325 #: ../tools/virt-win-reg.pl:631
46328 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
46329 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
46330 " \"Current\"=dword:00000001\n"
46331 " \"Default\"=dword:00000001\n"
46332 " \"Failed\"=dword:00000000\n"
46333 " \"LastKnownGood\"=dword:00000002\n"
46338 #: ../tools/virt-win-reg.pl:638
46339 msgid "\"Current\" is the one which Windows will choose when it boots."
46343 #: ../tools/virt-win-reg.pl:640
46345 "Similarly, other C<Current...> keys in the path may need to be replaced."
46349 #: ../tools/virt-win-reg.pl:643
46350 msgid "WINDOWS TIPS"
46354 #: ../tools/virt-win-reg.pl:645
46356 "Note that some of these tips modify the guest disk image. The guest I<must> "
46357 "be shut off, else you will get disk corruption."
46361 #: ../tools/virt-win-reg.pl:648
46362 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
46366 #: ../tools/virt-win-reg.pl:650
46368 "Prepare a DOS batch script, VBScript or executable. Upload this using "
46369 "L<guestfish(1)>. For this example the script is called C<test.bat> and it "
46370 "is uploaded into C<C:\\>:"
46374 #: ../tools/virt-win-reg.pl:654
46377 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
46382 #: ../tools/virt-win-reg.pl:656
46383 msgid "Prepare a regedit file containing the registry change:"
46387 #: ../tools/virt-win-reg.pl:658
46390 " cat > test.reg <<'EOF'\n"
46391 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
46392 " \"Test\"=\"c:\\\\test.bat\"\n"
46398 #: ../tools/virt-win-reg.pl:663
46400 "In this example we use the key C<RunOnce> which means that the script will "
46401 "run precisely once when the first user logs in. If you want it to run every "
46402 "time a user logs in, replace C<RunOnce> with C<Run>."
46406 #: ../tools/virt-win-reg.pl:667
46407 msgid "Now update the registry:"
46411 #: ../tools/virt-win-reg.pl:669
46414 " virt-win-reg --merge WindowsGuest test.reg\n"
46419 #: ../tools/virt-win-reg.pl:671
46420 msgid "INSTALLING A SERVICE"
46424 #: ../tools/virt-win-reg.pl:673
46426 "This section assumes you are familiar with Windows services, and you either "
46427 "have a program which handles the Windows Service Control Protocol directly "
46428 "or you want to run any program using a service wrapper like SrvAny or the "
46433 #: ../tools/virt-win-reg.pl:678
46435 "First upload the program and optionally the service wrapper. In this case "
46436 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
46440 #: ../tools/virt-win-reg.pl:682
46443 " guestfish -i -d WindowsGuest <<EOF\n"
46444 " upload rhsrvany.exe /rhsrvany.exe\n"
46445 " upload test.exe /test.exe\n"
46451 #: ../tools/virt-win-reg.pl:687
46453 "Prepare a regedit file containing the registry changes. In this example, "
46454 "the first registry change is needed for the service itself or the service "
46455 "wrapper (if used). The second registry change is only needed because I am "
46456 "using the RHSrvAny service wrapper."
46460 #: ../tools/virt-win-reg.pl:692
46463 " cat > service.reg <<'EOF'\n"
46464 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
46465 " \"Type\"=dword:00000010\n"
46466 " \"Start\"=dword:00000002\n"
46467 " \"ErrorControl\"=dword:00000001\n"
46468 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
46469 " \"DisplayName\"=\"RHSrvAny\"\n"
46470 " \"ObjectName\"=\"NetworkService\"\n"
46475 #: ../tools/virt-win-reg.pl:701
46478 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
46479 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
46480 " \"PWD\"=\"c:\\\\Temp\"\n"
46486 #: ../tools/virt-win-reg.pl:712
46488 "For use of C<ControlSet001> see the section above in this manual page. You "
46489 "may need to adjust this according to the control set that is in use by the "
46494 #: ../tools/virt-win-reg.pl:718
46496 "C<\"ObjectName\"> controls the privileges that the service will have. An "
46497 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
46498 "privileged account."
46502 #: ../tools/virt-win-reg.pl:724
46504 "For the meaning of the magic numbers, see this Microsoft KB article: "
46505 "L<http://support.microsoft.com/kb/103000>."
46509 #: ../tools/virt-win-reg.pl:729
46510 msgid "Update the registry:"
46514 #: ../tools/virt-win-reg.pl:731
46517 " virt-win-reg --merge WindowsGuest service.reg\n"
46522 #: ../tools/virt-win-reg.pl:735
46524 "Be careful when passing parameters containing C<\\> (backslash) in the "
46525 "shell. Usually you will have to use 'single quotes' or double backslashes "
46526 "(but not both) to protect them from the shell."
46530 #: ../tools/virt-win-reg.pl:739
46531 msgid "Paths and value names are case-insensitive."
46535 #: ../tools/virt-win-reg.pl:748
46537 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
46538 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
46539 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
46543 #: ../tools/virt-win-reg.pl:766
46546 " export LIBGUESTFS_DEBUG=1\n"
46547 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
46552 #: ../tools/virt-win-reg.pl:769
46554 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
46558 #~ msgid "B<-a> | B<--all>"
46559 #~ msgstr "B<-a> | B<--all>"
46561 #~ msgid "B<-x> | B<--extract> | B<--download>"
46562 #~ msgstr "B<-x> | B<--extract> | B<--download>"