Version 1.13.12.
[libguestfs.git] / po-docs / uk.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
4 #
5 # Yuri Chornoivan <yurchor@ukr.net>, 2011.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: libguestfs\n"
9 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
10 "POT-Creation-Date: 2011-09-14 18:20+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"
14 "Language: uk\n"
15 "MIME-Version: 1.0\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"
20
21 #. type: =head1
22 #: ../cat/virt-cat.pod:3 ../cat/virt-filesystems.pod:3 ../cat/virt-ls.pod:3
23 #: ../df/virt-df.pod:3 ../edit/virt-edit.pod:3
24 #: ../examples/guestfs-examples.pod:3 ../examples/guestfs-recipes.pod:14
25 #: ../fish/guestfish.pod:3 ../fish/virt-copy-in.pod:3
26 #: ../fish/virt-copy-out.pod:3 ../fish/virt-tar-in.pod:3
27 #: ../fish/virt-tar-out.pod:3 ../fuse/guestmount.pod:3
28 #: ../inspector/virt-inspector.pod:3 ../java/examples/guestfs-java.pod:3
29 #: ../ocaml/examples/guestfs-ocaml.pod:3 ../perl/examples/guestfs-perl.pod:3
30 #: ../python/examples/guestfs-python.pod:3 ../rescue/virt-rescue.pod:3
31 #: ../resize/virt-resize.pod:3 ../ruby/examples/guestfs-ruby.pod:3
32 #: ../src/guestfs.pod:3 ../test-tool/libguestfs-test-tool.pod:3
33 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
34 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31
35 #: ../tools/virt-win-reg.pl:35
36 msgid "NAME"
37 msgstr "НАЗВА"
38
39 #. type: textblock
40 #: ../cat/virt-cat.pod:5
41 msgid "virt-cat - Display files in a virtual machine"
42 msgstr ""
43
44 #. type: =head1
45 #: ../cat/virt-cat.pod:7 ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7
46 #: ../df/virt-df.pod:7 ../edit/virt-edit.pod:7
47 #: ../examples/guestfs-examples.pod:7 ../fish/guestfish.pod:7
48 #: ../fish/virt-copy-in.pod:7 ../fish/virt-copy-out.pod:7
49 #: ../fish/virt-tar-in.pod:7 ../fish/virt-tar-out.pod:7
50 #: ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pod:7
51 #: ../java/examples/guestfs-java.pod:7 ../ocaml/examples/guestfs-ocaml.pod:7
52 #: ../perl/examples/guestfs-perl.pod:7 ../python/examples/guestfs-python.pod:7
53 #: ../rescue/virt-rescue.pod:7 ../resize/virt-resize.pod:7
54 #: ../ruby/examples/guestfs-ruby.pod:7 ../src/guestfs.pod:7
55 #: ../test-tool/libguestfs-test-tool.pod:7
56 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
57 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35
58 #: ../tools/virt-win-reg.pl:39
59 msgid "SYNOPSIS"
60 msgstr "КОРОТКИЙ ОПИС"
61
62 #. type: verbatim
63 #: ../cat/virt-cat.pod:9
64 #, fuzzy, no-wrap
65 #| msgid ""
66 #| " virt-list-partitions [--options] domname\n"
67 #| "\n"
68 msgid ""
69 " virt-cat [--options] -d domname file [file ...]\n"
70 "\n"
71 msgstr ""
72 " virt-list-partitions [--параметри] назва_домену\n"
73 "\n"
74
75 #. type: verbatim
76 #: ../cat/virt-cat.pod:11
77 #, fuzzy, no-wrap
78 #| msgid ""
79 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
80 #| "\n"
81 msgid ""
82 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
83 "\n"
84 msgstr ""
85 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
86 "\n"
87
88 #. type: textblock
89 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
90 #: ../inspector/virt-inspector.pod:13
91 msgid "Old-style:"
92 msgstr ""
93
94 #. type: verbatim
95 #: ../cat/virt-cat.pod:15
96 #, no-wrap
97 msgid ""
98 " virt-cat domname file\n"
99 "\n"
100 msgstr ""
101
102 #. type: verbatim
103 #: ../cat/virt-cat.pod:17
104 #, no-wrap
105 msgid ""
106 " virt-cat disk.img file\n"
107 "\n"
108 msgstr ""
109
110 #. type: =head1
111 #: ../cat/virt-cat.pod:19 ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
112 #: ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
113 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
114 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19
115 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21
116 #: ../fish/virt-tar-out.pod:15 ../fuse/guestmount.pod:20
117 #: ../inspector/virt-inspector.pod:19 ../java/examples/guestfs-java.pod:15
118 #: ../ocaml/examples/guestfs-ocaml.pod:25 ../perl/examples/guestfs-perl.pod:18
119 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:29
120 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
121 #: ../src/guestfs.pod:23 ../test-tool/libguestfs-test-tool.pod:11
122 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
123 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
124 #: ../tools/virt-win-reg.pl:63
125 msgid "DESCRIPTION"
126 msgstr "ОПИС"
127
128 #. type: textblock
129 #: ../cat/virt-cat.pod:21
130 msgid ""
131 "C<virt-cat> is a command line tool to display the contents of C<file> where "
132 "C<file> exists in the named virtual machine (or disk image)."
133 msgstr ""
134
135 #. type: textblock
136 #: ../cat/virt-cat.pod:24
137 msgid ""
138 "Multiple filenames can be given, in which case they are concatenated "
139 "together.  Each filename must be a full path, starting at the root directory "
140 "(starting with '/')."
141 msgstr ""
142
143 #. type: textblock
144 #: ../cat/virt-cat.pod:28
145 msgid ""
146 "C<virt-cat> can be used to quickly view a file.  To edit a file, use C<virt-"
147 "edit>.  For more complex cases you should look at the L<guestfish(1)> tool "
148 "(see L</USING GUESTFISH> below)."
149 msgstr ""
150
151 #. type: =head1
152 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
153 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
154 #: ../fish/guestfish.pod:1018 ../fish/virt-copy-in.pod:29
155 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
156 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
157 #: ../resize/virt-resize.pod:27 ../tools/virt-tar.pl:50
158 msgid "EXAMPLES"
159 msgstr "ПРИКЛАДИ"
160
161 #. type: textblock
162 #: ../cat/virt-cat.pod:34
163 msgid ""
164 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
165 msgstr ""
166
167 #. type: verbatim
168 #: ../cat/virt-cat.pod:37
169 #, no-wrap
170 msgid ""
171 " virt-cat -d mydomain /etc/fstab\n"
172 "\n"
173 msgstr ""
174
175 #. type: textblock
176 #: ../cat/virt-cat.pod:39
177 msgid "List syslog messages from a VM disk image file:"
178 msgstr ""
179
180 #. type: verbatim
181 #: ../cat/virt-cat.pod:41
182 #, no-wrap
183 msgid ""
184 " virt-cat -a disk.img /var/log/messages | tail\n"
185 "\n"
186 msgstr ""
187
188 #. type: textblock
189 #: ../cat/virt-cat.pod:43
190 msgid "Find out what DHCP IP address a VM acquired:"
191 msgstr ""
192
193 #. type: verbatim
194 #: ../cat/virt-cat.pod:45
195 #, no-wrap
196 msgid ""
197 " virt-cat -d mydomain /var/log/messages | \\\n"
198 "   grep 'dhclient: bound to' | tail\n"
199 "\n"
200 msgstr ""
201
202 #. type: textblock
203 #: ../cat/virt-cat.pod:48
204 msgid "Find out what packages were recently installed:"
205 msgstr ""
206
207 #. type: verbatim
208 #: ../cat/virt-cat.pod:50
209 #, no-wrap
210 msgid ""
211 " virt-cat -d mydomain /var/log/yum.log | tail\n"
212 "\n"
213 msgstr ""
214
215 #. type: textblock
216 #: ../cat/virt-cat.pod:52
217 msgid "Find out who is logged on inside a virtual machine:"
218 msgstr ""
219
220 #. type: verbatim
221 #: ../cat/virt-cat.pod:54
222 #, no-wrap
223 msgid ""
224 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
225 " who /tmp/utmp\n"
226 "\n"
227 msgstr ""
228
229 #. type: textblock
230 #: ../cat/virt-cat.pod:57
231 msgid "or who was logged on:"
232 msgstr ""
233
234 #. type: verbatim
235 #: ../cat/virt-cat.pod:59
236 #, no-wrap
237 msgid ""
238 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
239 " last -f /tmp/wtmp\n"
240 "\n"
241 msgstr ""
242
243 #. type: =head1
244 #: ../cat/virt-cat.pod:62 ../cat/virt-filesystems.pod:91
245 #: ../cat/virt-ls.pod:261 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
246 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
247 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
248 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:83
249 #: ../inspector/virt-inspector.pod:55 ../rescue/virt-rescue.pod:84
250 #: ../resize/virt-resize.pod:241 ../test-tool/libguestfs-test-tool.pod:36
251 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
252 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
253 #: ../tools/virt-win-reg.pl:96
254 msgid "OPTIONS"
255 msgstr "ПАРАМЕТРИ"
256
257 #. type: =item
258 #: ../cat/virt-cat.pod:66 ../cat/virt-filesystems.pod:95
259 #: ../cat/virt-ls.pod:265 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
260 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:151
261 #: ../inspector/virt-inspector.pod:59 ../rescue/virt-rescue.pod:88
262 #: ../resize/virt-resize.pod:245 ../test-tool/libguestfs-test-tool.pod:40
263 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
264 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
265 #: ../tools/virt-win-reg.pl:104
266 msgid "B<--help>"
267 msgstr "B<--help>"
268
269 #. type: textblock
270 #: ../cat/virt-cat.pod:68 ../cat/virt-filesystems.pod:97
271 #: ../cat/virt-ls.pod:267 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
272 #: ../inspector/virt-inspector.pod:61 ../rescue/virt-rescue.pod:90
273 #: ../tools/virt-list-filesystems.pl:63 ../tools/virt-list-partitions.pl:64
274 #: ../tools/virt-make-fs.pl:163 ../tools/virt-tar.pl:113
275 #: ../tools/virt-win-reg.pl:106
276 msgid "Display brief help."
277 msgstr ""
278
279 #. type: =item
280 #: ../cat/virt-cat.pod:70 ../cat/virt-filesystems.pod:99
281 #: ../cat/virt-ls.pod:269 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
282 #: ../inspector/virt-inspector.pod:63 ../rescue/virt-rescue.pod:92
283 #, fuzzy
284 #| msgid "B<-f file>"
285 msgid "B<-a> file"
286 msgstr "B<-f файл>"
287
288 #. type: =item
289 #: ../cat/virt-cat.pod:72 ../cat/virt-filesystems.pod:101
290 #: ../cat/virt-ls.pod:271 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
291 #: ../inspector/virt-inspector.pod:65 ../rescue/virt-rescue.pod:94
292 #, fuzzy
293 #| msgid "B<--add image>"
294 msgid "B<--add> file"
295 msgstr "B<--add образ>"
296
297 #. type: textblock
298 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
299 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
300 #: ../inspector/virt-inspector.pod:67 ../rescue/virt-rescue.pod:96
301 msgid ""
302 "Add I<file> which should be a disk image from a virtual machine.  If the "
303 "virtual machine has multiple block devices, you must supply all of them with "
304 "separate I<-a> options."
305 msgstr ""
306
307 #. type: textblock
308 #: ../cat/virt-cat.pod:78 ../cat/virt-filesystems.pod:107
309 #: ../cat/virt-ls.pod:277 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
310 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:93
311 #: ../inspector/virt-inspector.pod:71 ../rescue/virt-rescue.pod:100
312 msgid ""
313 "The format of the disk image is auto-detected.  To override this and force a "
314 "particular format use the I<--format=..> option."
315 msgstr ""
316
317 #. type: =item
318 #: ../cat/virt-cat.pod:81 ../cat/virt-filesystems.pod:125
319 #: ../cat/virt-ls.pod:291 ../df/virt-df.pod:78 ../rescue/virt-rescue.pod:107
320 #, fuzzy
321 #| msgid "B<-c URI>"
322 msgid "B<-c> URI"
323 msgstr "B<-c адреса>"
324
325 #. type: =item
326 #: ../cat/virt-cat.pod:83 ../cat/virt-filesystems.pod:127
327 #: ../cat/virt-ls.pod:293 ../df/virt-df.pod:80 ../rescue/virt-rescue.pod:109
328 #, fuzzy
329 #| msgid "B<--connect URI>"
330 msgid "B<--connect> URI"
331 msgstr "B<--connect адреса>"
332
333 #. type: textblock
334 #: ../cat/virt-cat.pod:85 ../cat/virt-filesystems.pod:129
335 #: ../cat/virt-ls.pod:295 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
336 #: ../inspector/virt-inspector.pod:78 ../rescue/virt-rescue.pod:111
337 #: ../tools/virt-list-filesystems.pl:81 ../tools/virt-list-partitions.pl:82
338 #: ../tools/virt-tar.pl:131 ../tools/virt-win-reg.pl:132
339 msgid ""
340 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
341 "to the default libvirt hypervisor."
342 msgstr ""
343
344 #. type: textblock
345 #: ../cat/virt-cat.pod:88 ../cat/virt-filesystems.pod:132
346 #: ../cat/virt-ls.pod:298 ../df/virt-df.pod:85 ../rescue/virt-rescue.pod:114
347 msgid ""
348 "If you specify guest block devices directly (I<-a>), then libvirt is not "
349 "used at all."
350 msgstr ""
351
352 #. type: =item
353 #: ../cat/virt-cat.pod:91 ../cat/virt-filesystems.pod:141
354 #: ../cat/virt-ls.pod:307 ../df/virt-df.pod:94 ../edit/virt-edit.pod:105
355 #: ../inspector/virt-inspector.pod:85 ../rescue/virt-rescue.pod:117
356 msgid "B<-d> guest"
357 msgstr ""
358
359 #. type: =item
360 #: ../cat/virt-cat.pod:93 ../cat/virt-filesystems.pod:143
361 #: ../cat/virt-ls.pod:309 ../df/virt-df.pod:96 ../edit/virt-edit.pod:107
362 #: ../inspector/virt-inspector.pod:87 ../rescue/virt-rescue.pod:119
363 msgid "B<--domain> guest"
364 msgstr ""
365
366 #. type: textblock
367 #: ../cat/virt-cat.pod:95 ../cat/virt-filesystems.pod:145
368 #: ../cat/virt-ls.pod:311 ../df/virt-df.pod:98 ../edit/virt-edit.pod:109
369 #: ../inspector/virt-inspector.pod:89 ../rescue/virt-rescue.pod:121
370 msgid ""
371 "Add all the disks from the named libvirt guest.  Domain UUIDs can be used "
372 "instead of names."
373 msgstr ""
374
375 #. type: =item
376 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
377 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
378 #: ../fuse/guestmount.pod:126 ../inspector/virt-inspector.pod:92
379 msgid "B<--echo-keys>"
380 msgstr "B<--echo-keys>"
381
382 #. type: textblock
383 #: ../cat/virt-cat.pod:100
384 msgid ""
385 "When prompting for keys and passphrases, virt-cat normally turns echoing off "
386 "so you cannot see what you are typing.  If you are not worried about Tempest "
387 "attacks and there is no one else in the room you can specify this flag to "
388 "see what you are typing."
389 msgstr ""
390
391 #. type: =item
392 #: ../cat/virt-cat.pod:105 ../cat/virt-filesystems.pod:170
393 #: ../cat/virt-ls.pod:328 ../df/virt-df.pod:101 ../fish/guestfish.pod:233
394 #: ../fuse/guestmount.pod:133 ../inspector/virt-inspector.pod:99
395 #: ../rescue/virt-rescue.pod:124
396 msgid "B<--format=raw|qcow2|..>"
397 msgstr "B<--format=raw|qcow2|..>"
398
399 #. type: =item
400 #: ../cat/virt-cat.pod:107 ../cat/virt-filesystems.pod:172
401 #: ../cat/virt-ls.pod:330 ../df/virt-df.pod:103 ../edit/virt-edit.pod:134
402 #: ../fish/guestfish.pod:235 ../fuse/guestmount.pod:135
403 #: ../inspector/virt-inspector.pod:101 ../rescue/virt-rescue.pod:126
404 msgid "B<--format>"
405 msgstr "B<--format>"
406
407 #. type: textblock
408 #: ../cat/virt-cat.pod:109 ../cat/virt-filesystems.pod:174
409 #: ../cat/virt-ls.pod:332 ../df/virt-df.pod:105 ../edit/virt-edit.pod:136
410 #: ../fish/guestfish.pod:237 ../fuse/guestmount.pod:137
411 #: ../rescue/virt-rescue.pod:128
412 msgid ""
413 "The default for the I<-a> option is to auto-detect the format of the disk "
414 "image.  Using this forces the disk format for I<-a> options which follow on "
415 "the command line.  Using I<--format> with no argument switches back to auto-"
416 "detection for subsequent I<-a> options."
417 msgstr ""
418
419 #. type: textblock
420 #: ../cat/virt-cat.pod:114 ../cat/virt-filesystems.pod:179
421 #: ../cat/virt-ls.pod:337 ../df/virt-df.pod:110 ../edit/virt-edit.pod:141
422 #: ../fish/guestfish.pod:242 ../fish/guestfish.pod:673
423 #: ../inspector/virt-inspector.pod:336 ../rescue/virt-rescue.pod:133
424 #: ../src/guestfs.pod:2761
425 msgid "For example:"
426 msgstr "Приклад:"
427
428 #. type: verbatim
429 #: ../cat/virt-cat.pod:116
430 #, fuzzy, no-wrap
431 #| msgid ""
432 #| " guestfish --format=raw -a disk.img\n"
433 #| "\n"
434 msgid ""
435 " virt-cat --format=raw -a disk.img file\n"
436 "\n"
437 msgstr ""
438 " guestfish --format=raw -a disk.img\n"
439 "\n"
440
441 #. type: textblock
442 #: ../cat/virt-cat.pod:118 ../cat/virt-filesystems.pod:183
443 #: ../cat/virt-ls.pod:341 ../df/virt-df.pod:114 ../edit/virt-edit.pod:145
444 #: ../fish/guestfish.pod:246 ../rescue/virt-rescue.pod:137
445 msgid "forces raw format (no auto-detection) for C<disk.img>."
446 msgstr ""
447
448 #. type: verbatim
449 #: ../cat/virt-cat.pod:120
450 #, fuzzy, no-wrap
451 #| msgid ""
452 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
453 #| "\n"
454 msgid ""
455 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
456 "\n"
457 msgstr ""
458 " guestfish --format=raw -a disk.img --format -a another.img\n"
459 "\n"
460
461 #. type: textblock
462 #: ../cat/virt-cat.pod:122 ../cat/virt-filesystems.pod:187
463 #: ../cat/virt-ls.pod:345 ../df/virt-df.pod:118 ../edit/virt-edit.pod:149
464 #: ../fish/guestfish.pod:250 ../rescue/virt-rescue.pod:141
465 msgid ""
466 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
467 "detection for C<another.img>."
468 msgstr ""
469
470 #. type: textblock
471 #: ../cat/virt-cat.pod:125 ../cat/virt-filesystems.pod:190
472 #: ../cat/virt-ls.pod:348 ../df/virt-df.pod:121 ../edit/virt-edit.pod:152
473 #: ../rescue/virt-rescue.pod:144
474 msgid ""
475 "If you have untrusted raw-format guest disk images, you should use this "
476 "option to specify the disk format.  This avoids a possible security problem "
477 "with malicious guests (CVE-2010-3851)."
478 msgstr ""
479
480 #. type: =item
481 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
482 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
483 #: ../fuse/guestmount.pod:163 ../inspector/virt-inspector.pod:114
484 msgid "B<--keys-from-stdin>"
485 msgstr "B<--keys-from-stdin>"
486
487 #. type: textblock
488 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
489 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
490 #: ../fuse/guestmount.pod:165 ../inspector/virt-inspector.pod:116
491 msgid ""
492 "Read key or passphrase parameters from stdin.  The default is to try to read "
493 "passphrases from the user by opening C</dev/tty>."
494 msgstr ""
495
496 #. type: =item
497 #: ../cat/virt-cat.pod:134 ../cat/virt-filesystems.pod:261
498 #: ../cat/virt-ls.pod:425 ../df/virt-df.pod:173 ../edit/virt-edit.pod:161
499 #: ../fish/guestfish.pod:390 ../fuse/guestmount.pod:257
500 #: ../inspector/virt-inspector.pod:119 ../rescue/virt-rescue.pod:178
501 msgid "B<-v>"
502 msgstr "B<-v>"
503
504 #. type: =item
505 #: ../cat/virt-cat.pod:136 ../cat/virt-filesystems.pod:263
506 #: ../cat/virt-ls.pod:427 ../df/virt-df.pod:175 ../edit/virt-edit.pod:163
507 #: ../fish/guestfish.pod:392 ../fuse/guestmount.pod:259
508 #: ../inspector/virt-inspector.pod:121 ../rescue/virt-rescue.pod:180
509 msgid "B<--verbose>"
510 msgstr "B<--verbose>"
511
512 #. type: textblock
513 #: ../cat/virt-cat.pod:138 ../cat/virt-filesystems.pod:265
514 #: ../cat/virt-ls.pod:429 ../df/virt-df.pod:177 ../edit/virt-edit.pod:165
515 #: ../inspector/virt-inspector.pod:123 ../rescue/virt-rescue.pod:182
516 msgid "Enable verbose messages for debugging."
517 msgstr ""
518
519 #. type: =item
520 #: ../cat/virt-cat.pod:140 ../cat/virt-filesystems.pod:267
521 #: ../cat/virt-ls.pod:431 ../df/virt-df.pod:179 ../edit/virt-edit.pod:167
522 #: ../fish/guestfish.pod:397 ../fuse/guestmount.pod:263
523 #: ../inspector/virt-inspector.pod:125 ../rescue/virt-rescue.pod:184
524 #: ../resize/virt-resize.pod:484
525 msgid "B<-V>"
526 msgstr "B<-V>"
527
528 #. type: =item
529 #: ../cat/virt-cat.pod:142 ../cat/virt-filesystems.pod:269
530 #: ../cat/virt-ls.pod:433 ../df/virt-df.pod:181 ../edit/virt-edit.pod:169
531 #: ../fish/guestfish.pod:399 ../fuse/guestmount.pod:265
532 #: ../inspector/virt-inspector.pod:127 ../rescue/virt-rescue.pod:186
533 #: ../resize/virt-resize.pod:486 ../tools/virt-list-filesystems.pl:69
534 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169
535 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112
536 msgid "B<--version>"
537 msgstr "B<--version>"
538
539 #. type: textblock
540 #: ../cat/virt-cat.pod:144 ../cat/virt-filesystems.pod:271
541 #: ../cat/virt-ls.pod:435 ../df/virt-df.pod:183 ../edit/virt-edit.pod:171
542 #: ../inspector/virt-inspector.pod:129 ../rescue/virt-rescue.pod:188
543 #: ../resize/virt-resize.pod:488 ../tools/virt-list-filesystems.pl:71
544 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171
545 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
546 msgid "Display version number and exit."
547 msgstr "Показати дані щодо версії і завершити роботу."
548
549 #. type: =item
550 #: ../cat/virt-cat.pod:146 ../cat/virt-filesystems.pod:281
551 #: ../cat/virt-ls.pod:437 ../df/virt-df.pod:185 ../edit/virt-edit.pod:173
552 #: ../fish/guestfish.pod:412 ../fuse/guestmount.pod:278
553 #: ../inspector/virt-inspector.pod:131 ../rescue/virt-rescue.pod:199
554 #: ../tools/virt-tar.pl:158
555 msgid "B<-x>"
556 msgstr "B<-x>"
557
558 #. type: textblock
559 #: ../cat/virt-cat.pod:148 ../cat/virt-filesystems.pod:283
560 #: ../cat/virt-ls.pod:439 ../df/virt-df.pod:187 ../edit/virt-edit.pod:175
561 #: ../inspector/virt-inspector.pod:133 ../rescue/virt-rescue.pod:201
562 msgid "Enable tracing of libguestfs API calls."
563 msgstr ""
564
565 #. type: =head1
566 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
567 #: ../inspector/virt-inspector.pod:137 ../rescue/virt-rescue.pod:205
568 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
569 msgstr ""
570
571 #. type: textblock
572 #: ../cat/virt-cat.pod:154
573 msgid "Previous versions of virt-cat allowed you to write either:"
574 msgstr ""
575
576 #. type: verbatim
577 #: ../cat/virt-cat.pod:156
578 #, fuzzy, no-wrap
579 #| msgid ""
580 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
581 #| "\n"
582 msgid ""
583 " virt-cat disk.img [disk.img ...] file\n"
584 "\n"
585 msgstr ""
586 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
587 "\n"
588
589 #. type: textblock
590 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
591 #: ../inspector/virt-inspector.pod:143 ../rescue/virt-rescue.pod:211
592 #, fuzzy
593 #| msgid "or:"
594 msgid "or"
595 msgstr "або:"
596
597 #. type: verbatim
598 #: ../cat/virt-cat.pod:160
599 #, no-wrap
600 msgid ""
601 " virt-cat guestname file\n"
602 "\n"
603 msgstr ""
604
605 #. type: textblock
606 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
607 #: ../inspector/virt-inspector.pod:147 ../rescue/virt-rescue.pod:215
608 msgid ""
609 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
610 "the confusing case where a disk image might have the same name as a guest."
611 msgstr ""
612
613 #. type: textblock
614 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
615 #: ../inspector/virt-inspector.pod:151 ../rescue/virt-rescue.pod:219
616 msgid "For compatibility the old style is still supported."
617 msgstr ""
618
619 #. type: =head1
620 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:297
621 msgid "USING GUESTFISH"
622 msgstr ""
623
624 #. type: textblock
625 #: ../cat/virt-cat.pod:170
626 msgid ""
627 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
628 "C<virt-cat> doesn't work."
629 msgstr ""
630
631 #. type: textblock
632 #: ../cat/virt-cat.pod:173
633 msgid "Using C<virt-cat> is approximately equivalent to doing:"
634 msgstr ""
635
636 #. type: verbatim
637 #: ../cat/virt-cat.pod:175
638 #, fuzzy, no-wrap
639 #| msgid ""
640 #| " guestfish --ro -d myguest -i\n"
641 #| "\n"
642 msgid ""
643 " guestfish --ro -i -d domname download file -\n"
644 "\n"
645 msgstr ""
646 " guestfish --ro -d myguest -i\n"
647 "\n"
648
649 #. type: textblock
650 #: ../cat/virt-cat.pod:177
651 msgid ""
652 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
653 "path to the file.  Note the final C<-> (meaning \"output to stdout\")."
654 msgstr ""
655
656 #. type: textblock
657 #: ../cat/virt-cat.pod:181
658 msgid ""
659 "The command above uses libguestfs's guest inspection feature and so does not "
660 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
661 "disk images that don't contain guests.  To display a file from a disk image "
662 "directly, use:"
663 msgstr ""
664
665 #. type: verbatim
666 #: ../cat/virt-cat.pod:186
667 #, fuzzy, no-wrap
668 #| msgid ""
669 #| " guestfish [--ro] -i disk.img\n"
670 #| "\n"
671 msgid ""
672 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
673 "\n"
674 msgstr ""
675 " guestfish [--ro] -i disk.img\n"
676 "\n"
677
678 #. type: textblock
679 #: ../cat/virt-cat.pod:188
680 msgid ""
681 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
682 "the disk image, and C<file> is the full path to the file."
683 msgstr ""
684
685 #. type: =head1
686 #: ../cat/virt-cat.pod:191 ../cat/virt-filesystems.pod:365
687 #: ../cat/virt-ls.pod:483 ../df/virt-df.pod:215 ../edit/virt-edit.pod:342
688 #: ../inspector/virt-inspector.pod:352 ../rescue/virt-rescue.pod:262
689 #: ../resize/virt-resize.pod:601 ../tools/virt-list-filesystems.pl:188
690 #: ../tools/virt-list-partitions.pl:258 ../tools/virt-make-fs.pl:532
691 #: ../tools/virt-tar.pl:289 ../tools/virt-win-reg.pl:733
692 msgid "SHELL QUOTING"
693 msgstr ""
694
695 #. type: textblock
696 #: ../cat/virt-cat.pod:193 ../cat/virt-filesystems.pod:367
697 #: ../cat/virt-ls.pod:485 ../df/virt-df.pod:217 ../edit/virt-edit.pod:344
698 #: ../inspector/virt-inspector.pod:354 ../rescue/virt-rescue.pod:264
699 #: ../resize/virt-resize.pod:603 ../tools/virt-list-filesystems.pl:190
700 #: ../tools/virt-list-partitions.pl:260 ../tools/virt-make-fs.pl:534
701 #: ../tools/virt-tar.pl:291 ../tools/virt-win-reg.pl:741
702 msgid ""
703 "Libvirt guest names can contain arbitrary characters, some of which have "
704 "meaning to the shell such as C<#> and space.  You may need to quote or "
705 "escape these characters on the command line.  See the shell manual page L<sh"
706 "(1)> for details."
707 msgstr ""
708
709 #. type: =head1
710 #: ../cat/virt-cat.pod:198 ../cat/virt-filesystems.pod:372
711 #: ../cat/virt-ls.pod:490 ../df/virt-df.pod:222 ../edit/virt-edit.pod:349
712 #: ../fish/guestfish.pod:1081 ../fuse/guestmount.pod:303
713 #: ../inspector/virt-inspector.pod:375 ../resize/virt-resize.pod:608
714 #: ../test-tool/libguestfs-test-tool.pod:90
715 msgid "EXIT STATUS"
716 msgstr ""
717
718 #. type: textblock
719 #: ../cat/virt-cat.pod:200 ../cat/virt-filesystems.pod:374
720 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351
721 #: ../fuse/guestmount.pod:305 ../inspector/virt-inspector.pod:377
722 #: ../resize/virt-resize.pod:610
723 msgid ""
724 "This program returns 0 if successful, or non-zero if there was an error."
725 msgstr ""
726
727 #. type: =head1
728 #: ../cat/virt-cat.pod:203 ../cat/virt-filesystems.pod:377
729 #: ../cat/virt-ls.pod:495 ../df/virt-df.pod:227 ../edit/virt-edit.pod:354
730 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
731 #: ../fish/guestfish.pod:1235 ../fish/virt-copy-in.pod:50
732 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47
733 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:308
734 #: ../inspector/virt-inspector.pod:380 ../java/examples/guestfs-java.pod:45
735 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39
736 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:284
737 #: ../resize/virt-resize.pod:613 ../ruby/examples/guestfs-ruby.pod:36
738 #: ../src/guestfs.pod:3135 ../test-tool/libguestfs-test-tool.pod:100
739 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
740 #: ../tools/virt-make-fs.pl:539 ../tools/virt-tar.pl:296
741 #: ../tools/virt-win-reg.pl:746
742 msgid "SEE ALSO"
743 msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
744
745 #. type: textblock
746 #: ../cat/virt-cat.pod:205
747 #, fuzzy
748 #| msgid ""
749 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
750 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
751 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
752 msgid ""
753 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
754 "tar-out(1)>, L<http://libguestfs.org/>."
755 msgstr ""
756 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
757 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
758 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
759
760 #. type: =head1
761 #: ../cat/virt-cat.pod:212 ../cat/virt-filesystems.pod:388
762 #: ../cat/virt-ls.pod:507 ../df/virt-df.pod:235 ../edit/virt-edit.pod:368
763 #: ../rescue/virt-rescue.pod:292 ../resize/virt-resize.pod:634
764 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
765 #: ../tools/virt-make-fs.pl:564 ../tools/virt-tar.pl:311
766 #: ../tools/virt-win-reg.pl:772
767 msgid "AUTHOR"
768 msgstr "АВТОР"
769
770 #. type: textblock
771 #: ../cat/virt-cat.pod:214 ../cat/virt-filesystems.pod:390
772 #: ../cat/virt-ls.pod:509 ../df/virt-df.pod:237 ../edit/virt-edit.pod:370
773 #: ../inspector/virt-inspector.pod:395 ../rescue/virt-rescue.pod:294
774 #: ../resize/virt-resize.pod:636 ../tools/virt-list-filesystems.pl:210
775 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:566
776 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:774
777 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
778 msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
779
780 #. type: =head1
781 #: ../cat/virt-cat.pod:216 ../cat/virt-filesystems.pod:392
782 #: ../cat/virt-ls.pod:511 ../df/virt-df.pod:239 ../edit/virt-edit.pod:372
783 #: ../examples/guestfs-examples.pod:48 ../examples/guestfs-recipes.pod:400
784 #: ../fish/guestfish.pod:1264 ../fish/virt-copy-in.pod:64
785 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62
786 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:323
787 #: ../inspector/virt-inspector.pod:403 ../java/examples/guestfs-java.pod:61
788 #: ../ocaml/examples/guestfs-ocaml.pod:94 ../perl/examples/guestfs-perl.pod:55
789 #: ../python/examples/guestfs-python.pod:57 ../rescue/virt-rescue.pod:296
790 #: ../resize/virt-resize.pod:638 ../ruby/examples/guestfs-ruby.pod:51
791 #: ../src/guestfs.pod:3211 ../test-tool/libguestfs-test-tool.pod:110
792 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
793 #: ../tools/virt-make-fs.pl:568 ../tools/virt-tar.pl:315
794 #: ../tools/virt-win-reg.pl:776
795 msgid "COPYRIGHT"
796 msgstr "АВТОРСЬКІ ПРАВА"
797
798 #. type: textblock
799 #: ../cat/virt-cat.pod:218 ../inspector/virt-inspector.pod:405
800 #: ../resize/virt-resize.pod:640
801 #, fuzzy
802 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
803 msgid "Copyright (C) 2010-2011 Red Hat Inc."
804 msgstr "© Red Hat Inc., 2009–2010"
805
806 #. type: textblock
807 #: ../cat/virt-cat.pod:220 ../cat/virt-filesystems.pod:396
808 #: ../cat/virt-ls.pod:515 ../df/virt-df.pod:243 ../edit/virt-edit.pod:376
809 #: ../fish/guestfish.pod:1269 ../fish/virt-copy-in.pod:69
810 #: ../fish/virt-copy-out.pod:58 ../fish/virt-tar-in.pod:67
811 #: ../fish/virt-tar-out.pod:60 ../fuse/guestmount.pod:328
812 #: ../inspector/virt-inspector.pod:407 ../rescue/virt-rescue.pod:300
813 #: ../resize/virt-resize.pod:642 ../test-tool/libguestfs-test-tool.pod:115
814 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
815 #: ../tools/virt-make-fs.pl:572 ../tools/virt-tar.pl:319
816 #: ../tools/virt-win-reg.pl:780
817 msgid ""
818 "This program is free software; you can redistribute it and/or modify it "
819 "under the terms of the GNU General Public License as published by the Free "
820 "Software Foundation; either version 2 of the License, or (at your option) "
821 "any later version."
822 msgstr ""
823
824 #. type: textblock
825 #: ../cat/virt-cat.pod:225 ../cat/virt-filesystems.pod:401
826 #: ../cat/virt-ls.pod:520 ../df/virt-df.pod:248 ../edit/virt-edit.pod:381
827 #: ../fish/guestfish.pod:1274 ../fish/virt-copy-in.pod:74
828 #: ../fish/virt-copy-out.pod:63 ../fish/virt-tar-in.pod:72
829 #: ../fish/virt-tar-out.pod:65 ../fuse/guestmount.pod:333
830 #: ../inspector/virt-inspector.pod:412 ../rescue/virt-rescue.pod:305
831 #: ../resize/virt-resize.pod:647 ../test-tool/libguestfs-test-tool.pod:120
832 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
833 #: ../tools/virt-make-fs.pl:577 ../tools/virt-tar.pl:324
834 #: ../tools/virt-win-reg.pl:785
835 msgid ""
836 "This program is distributed in the hope that it will be useful, but WITHOUT "
837 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
838 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
839 "more details."
840 msgstr ""
841 "Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-"
842 "ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії ПРАЦЕЗДАТНОСТІ "
843 "або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше про це можна "
844 "дізнатися з GNU General Public License."
845
846 #. type: textblock
847 #: ../cat/virt-cat.pod:230 ../cat/virt-filesystems.pod:406
848 #: ../cat/virt-ls.pod:525 ../df/virt-df.pod:253 ../edit/virt-edit.pod:386
849 #: ../fish/guestfish.pod:1279 ../fish/virt-copy-in.pod:79
850 #: ../fish/virt-copy-out.pod:68 ../fish/virt-tar-in.pod:77
851 #: ../fish/virt-tar-out.pod:70 ../fuse/guestmount.pod:338
852 #: ../inspector/virt-inspector.pod:417 ../rescue/virt-rescue.pod:310
853 #: ../resize/virt-resize.pod:652 ../test-tool/libguestfs-test-tool.pod:125
854 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
855 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:329
856 #: ../tools/virt-win-reg.pl:790
857 msgid ""
858 "You should have received a copy of the GNU General Public License along with "
859 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
860 "Ave, Cambridge, MA 02139, USA."
861 msgstr ""
862
863 #. type: textblock
864 #: ../cat/virt-filesystems.pod:5
865 msgid ""
866 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
867 "virtual machine or disk image"
868 msgstr ""
869
870 #. type: verbatim
871 #: ../cat/virt-filesystems.pod:9
872 #, fuzzy, no-wrap
873 #| msgid ""
874 #| " virt-list-partitions [--options] domname\n"
875 #| "\n"
876 msgid ""
877 " virt-filesystems [--options] -d domname\n"
878 "\n"
879 msgstr ""
880 " virt-list-partitions [--параметри] назва_домену\n"
881 "\n"
882
883 #. type: verbatim
884 #: ../cat/virt-filesystems.pod:11
885 #, fuzzy, no-wrap
886 #| msgid ""
887 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
888 #| "\n"
889 msgid ""
890 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
891 "\n"
892 msgstr ""
893 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
894 "\n"
895
896 #. type: textblock
897 #: ../cat/virt-filesystems.pod:15
898 msgid ""
899 "This tool allows you to discover filesystems, partitions, logical volumes, "
900 "and their sizes in a disk image or virtual machine.  It is a replacement for "
901 "L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
902 msgstr ""
903
904 #. type: textblock
905 #: ../cat/virt-filesystems.pod:20
906 msgid ""
907 "One use for this tool is from shell scripts to iterate over all filesystems "
908 "from a disk image:"
909 msgstr ""
910
911 #. type: verbatim
912 #: ../cat/virt-filesystems.pod:23
913 #, no-wrap
914 msgid ""
915 " for fs in $(virt-filesystems -a disk.img); do\n"
916 "   # ...\n"
917 " done\n"
918 "\n"
919 msgstr ""
920
921 #. type: textblock
922 #: ../cat/virt-filesystems.pod:27
923 msgid ""
924 "Another use is to list partitions before using another tool to modify those "
925 "partitions (such as L<virt-resize(1)>).  If you are curious about what an "
926 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
927 msgstr ""
928
929 #. type: textblock
930 #: ../cat/virt-filesystems.pod:32
931 msgid ""
932 "Various command line options control what this program displays.  You need "
933 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
934 "guest respectively.  If you just specify that then the program shows "
935 "filesystems found, one per line, like this:"
936 msgstr ""
937
938 #. type: verbatim
939 #: ../cat/virt-filesystems.pod:37
940 #, no-wrap
941 msgid ""
942 " $ virt-filesystems -a disk.img\n"
943 " /dev/sda1\n"
944 " /dev/vg_guest/lv_root\n"
945 "\n"
946 msgstr ""
947
948 #. type: textblock
949 #: ../cat/virt-filesystems.pod:41
950 msgid ""
951 "If you add I<-l> or I<--long> then the output includes extra information:"
952 msgstr ""
953
954 #. type: verbatim
955 #: ../cat/virt-filesystems.pod:44
956 #, no-wrap
957 msgid ""
958 " $ virt-filesystems -a disk.img -l\n"
959 " Name                   Type         VFS   Label  Size\n"
960 " /dev/sda1              filesystem   ext4  boot   524288000\n"
961 " /dev/vg_guest/lv_root  filesystem   ext4  root   10212081664\n"
962 "\n"
963 msgstr ""
964
965 #. type: textblock
966 #: ../cat/virt-filesystems.pod:49
967 msgid ""
968 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
969 "shown as well:"
970 msgstr ""
971
972 #. type: verbatim
973 #: ../cat/virt-filesystems.pod:52
974 #, no-wrap
975 msgid ""
976 " $ virt-filesystems -a disk.img --extra\n"
977 " /dev/sda1\n"
978 " /dev/vg_guest/lv_root\n"
979 " /dev/vg_guest/lv_swap\n"
980 " /dev/vg_guest/lv_data\n"
981 "\n"
982 msgstr ""
983
984 #. type: textblock
985 #: ../cat/virt-filesystems.pod:58
986 msgid ""
987 "If you add I<--partitions> then partitions are shown instead of filesystems:"
988 msgstr ""
989
990 #. type: verbatim
991 #: ../cat/virt-filesystems.pod:60
992 #, no-wrap
993 msgid ""
994 " $ virt-filesystems -a disk.img --partitions\n"
995 " /dev/sda1\n"
996 " /dev/sda2\n"
997 "\n"
998 msgstr ""
999
1000 #. type: textblock
1001 #: ../cat/virt-filesystems.pod:64
1002 msgid ""
1003 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I<--physical-"
1004 "volumes>, I<--block-devices> to list those items."
1005 msgstr ""
1006
1007 #. type: textblock
1008 #: ../cat/virt-filesystems.pod:67
1009 msgid ""
1010 "You can use these options in combination as well (if you want a combination "
1011 "including filesystems, you have to add I<--filesystems>).  Notice that some "
1012 "items fall into several categories (eg. C</dev/sda1> might be both a "
1013 "partition and a filesystem).  These items are listed several times.  To get "
1014 "a list which includes absolutely everything that virt-filesystems knows "
1015 "about, use the I<--all> option."
1016 msgstr ""
1017
1018 #. type: textblock
1019 #: ../cat/virt-filesystems.pod:74
1020 msgid ""
1021 "UUIDs (because they are quite long) are not shown by default.  Add the I<--"
1022 "uuid> option to display device and filesystem UUIDs in the long output."
1023 msgstr ""
1024
1025 #. type: textblock
1026 #: ../cat/virt-filesystems.pod:78
1027 msgid ""
1028 "I<--all --long --uuid> is a useful combination to display all possible "
1029 "information about everything."
1030 msgstr ""
1031
1032 #. type: verbatim
1033 #: ../cat/virt-filesystems.pod:81
1034 #, no-wrap
1035 msgid ""
1036 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1037 " Name      Type       VFS  Label           Size Parent   UUID\n"
1038 " /dev/sda1 filesystem ntfs System Reserved 100M -        F81C92571C92112C\n"
1039 " /dev/sda2 filesystem ntfs -               20G  -        F2E8996AE8992E3B\n"
1040 " /dev/sda1 partition  -    -               100M /dev/sda -\n"
1041 " /dev/sda2 partition  -    -               20G  /dev/sda -\n"
1042 " /dev/sda  device     -    -               20G  -        -\n"
1043 "\n"
1044 msgstr ""
1045
1046 #. type: textblock
1047 #: ../cat/virt-filesystems.pod:89
1048 msgid ""
1049 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1050 msgstr ""
1051
1052 #. type: =item
1053 #: ../cat/virt-filesystems.pod:110 ../tools/virt-list-filesystems.pl:121
1054 #, fuzzy
1055 #| msgid "B<--help>"
1056 msgid "B<--all>"
1057 msgstr "B<--help>"
1058
1059 #. type: textblock
1060 #: ../cat/virt-filesystems.pod:112
1061 msgid ""
1062 "Display everything.  This is currently the same as specifying these options: "
1063 "I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I<--"
1064 "logical-volumes>, I<--volume-groups>, I<--physical-volumes>.  (More may be "
1065 "added to this list in future)."
1066 msgstr ""
1067
1068 #. type: textblock
1069 #: ../cat/virt-filesystems.pod:117
1070 #, fuzzy
1071 #| msgid "See also L</is-lv>."
1072 msgid "See also I<--long>."
1073 msgstr "Див. також L</is-lv>."
1074
1075 #. type: =item
1076 #: ../cat/virt-filesystems.pod:119
1077 #, fuzzy
1078 #| msgid "B<--live>"
1079 msgid "B<--blkdevs>"
1080 msgstr "B<--live>"
1081
1082 #. type: =item
1083 #: ../cat/virt-filesystems.pod:121
1084 #, fuzzy
1085 #| msgid "is-blockdev"
1086 msgid "B<--block-devices>"
1087 msgstr "is-blockdev"
1088
1089 #. type: textblock
1090 #: ../cat/virt-filesystems.pod:123
1091 #, fuzzy
1092 #| msgid "is-blockdev"
1093 msgid "Display block devices."
1094 msgstr "is-blockdev"
1095
1096 #. type: =item
1097 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301 ../df/virt-df.pod:88
1098 #, fuzzy
1099 #| msgid "B<--csh>"
1100 msgid "B<--csv>"
1101 msgstr "B<--csh>"
1102
1103 #. type: textblock
1104 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303 ../df/virt-df.pod:90
1105 msgid ""
1106 "Write out the results in CSV format (comma-separated values).  This format "
1107 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1108 "ABOUT CSV FORMAT> below."
1109 msgstr ""
1110
1111 #. type: textblock
1112 #: ../cat/virt-filesystems.pod:150
1113 msgid ""
1114 "When prompting for keys and passphrases, virt-filesystems normally turns "
1115 "echoing off so you cannot see what you are typing.  If you are not worried "
1116 "about Tempest attacks and there is no one else in the room you can specify "
1117 "this flag to see what you are typing."
1118 msgstr ""
1119
1120 #. type: =item
1121 #: ../cat/virt-filesystems.pod:155
1122 #, fuzzy
1123 #| msgid "B<--ro>"
1124 msgid "B<--extra>"
1125 msgstr "B<--ro>"
1126
1127 #. type: textblock
1128 #: ../cat/virt-filesystems.pod:157
1129 msgid ""
1130 "This causes filesystems that are not ordinary, mountable filesystems to be "
1131 "displayed.  This category includes swapspace, and filesystems that are empty "
1132 "or contain unknown data."
1133 msgstr ""
1134
1135 #. type: textblock
1136 #: ../cat/virt-filesystems.pod:161
1137 msgid "This option implies I<--filesystems>."
1138 msgstr ""
1139
1140 #. type: =item
1141 #: ../cat/virt-filesystems.pod:163
1142 #, fuzzy
1143 #| msgid "list-filesystems"
1144 msgid "B<--filesystems>"
1145 msgstr "list-filesystems"
1146
1147 #. type: textblock
1148 #: ../cat/virt-filesystems.pod:165
1149 msgid ""
1150 "Display mountable filesystems.  If no display option was selected then this "
1151 "option is implied."
1152 msgstr ""
1153
1154 #. type: textblock
1155 #: ../cat/virt-filesystems.pod:168
1156 msgid "With I<--extra>, non-mountable filesystems are shown too."
1157 msgstr ""
1158
1159 #. type: verbatim
1160 #: ../cat/virt-filesystems.pod:181
1161 #, fuzzy, no-wrap
1162 #| msgid ""
1163 #| " guestfish --format=raw -a disk.img\n"
1164 #| "\n"
1165 msgid ""
1166 " virt-filesystems --format=raw -a disk.img\n"
1167 "\n"
1168 msgstr ""
1169 " guestfish --format=raw -a disk.img\n"
1170 "\n"
1171
1172 #. type: verbatim
1173 #: ../cat/virt-filesystems.pod:185
1174 #, fuzzy, no-wrap
1175 #| msgid ""
1176 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
1177 #| "\n"
1178 msgid ""
1179 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1180 "\n"
1181 msgstr ""
1182 " guestfish --format=raw -a disk.img --format -a another.img\n"
1183 "\n"
1184
1185 #. type: =item
1186 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1187 #: ../df/virt-df.pod:125 ../fish/guestfish.pod:156
1188 #: ../tools/virt-list-partitions.pl:109
1189 msgid "B<-h>"
1190 msgstr "B<-h>"
1191
1192 #. type: =item
1193 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1194 #: ../df/virt-df.pod:127 ../tools/virt-list-partitions.pl:111
1195 #, fuzzy
1196 #| msgid "B<-h> | B<--human-readable>"
1197 msgid "B<--human-readable>"
1198 msgstr "B<-h> | B<--human-readable>"
1199
1200 #. type: textblock
1201 #: ../cat/virt-filesystems.pod:198
1202 msgid "In I<--long> mode, display sizes in human-readable format."
1203 msgstr ""
1204
1205 #. type: =item
1206 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1207 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1208 msgid "B<-l>"
1209 msgstr ""
1210
1211 #. type: =item
1212 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1213 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1214 #, fuzzy
1215 #| msgid "B<--ro>"
1216 msgid "B<--long>"
1217 msgstr "B<--ro>"
1218
1219 #. type: textblock
1220 #: ../cat/virt-filesystems.pod:209
1221 msgid "Display extra columns of data (\"long format\")."
1222 msgstr ""
1223
1224 #. type: textblock
1225 #: ../cat/virt-filesystems.pod:211
1226 msgid "A title row is added unless you also specify I<--no-title>."
1227 msgstr ""
1228
1229 #. type: textblock
1230 #: ../cat/virt-filesystems.pod:213
1231 msgid ""
1232 "The extra columns displayed depend on what output you select, and the "
1233 "ordering of columns may change in future versions.  Use the title row, I<--"
1234 "csv> output and/or L<csvtool(1)> to match columns to data in external "
1235 "programs."
1236 msgstr ""
1237
1238 #. type: textblock
1239 #: ../cat/virt-filesystems.pod:218
1240 msgid ""
1241 "Use I<-h> if you want sizes to be displayed in human-readable format.  The "
1242 "default is to show raw numbers of I<bytes>."
1243 msgstr ""
1244
1245 #. type: textblock
1246 #: ../cat/virt-filesystems.pod:221
1247 msgid "Use I<--uuid> to display UUIDs too."
1248 msgstr ""
1249
1250 #. type: =item
1251 #: ../cat/virt-filesystems.pod:223
1252 #, fuzzy
1253 #| msgid "B<--live>"
1254 msgid "B<--lvs>"
1255 msgstr "B<--live>"
1256
1257 #. type: =item
1258 #: ../cat/virt-filesystems.pod:225
1259 #, fuzzy
1260 #| msgid "B<--live>"
1261 msgid "B<--logvols>"
1262 msgstr "B<--live>"
1263
1264 #. type: =item
1265 #: ../cat/virt-filesystems.pod:227
1266 #, fuzzy
1267 #| msgid "B<--live>"
1268 msgid "B<--logical-volumes>"
1269 msgstr "B<--live>"
1270
1271 #. type: textblock
1272 #: ../cat/virt-filesystems.pod:229
1273 msgid ""
1274 "Display LVM logical volumes.  In this mode, these are displayed irrespective "
1275 "of whether the LVs contain filesystems."
1276 msgstr ""
1277
1278 #. type: =item
1279 #: ../cat/virt-filesystems.pod:232
1280 #, fuzzy
1281 #| msgid "B<--listen>"
1282 msgid "B<--no-title>"
1283 msgstr "B<--listen>"
1284
1285 #. type: textblock
1286 #: ../cat/virt-filesystems.pod:234
1287 msgid "In I<--long> mode, don't add a title row."
1288 msgstr ""
1289
1290 #. type: textblock
1291 #: ../cat/virt-filesystems.pod:236
1292 msgid ""
1293 "Note that the order of the columns is not fixed, and may change in future "
1294 "versions of virt-filesystems, so using this option may give you unexpected "
1295 "surprises."
1296 msgstr ""
1297
1298 #. type: =item
1299 #: ../cat/virt-filesystems.pod:240
1300 #, fuzzy
1301 #| msgid "B<--partition>"
1302 msgid "B<--parts>"
1303 msgstr "B<--partition>"
1304
1305 #. type: =item
1306 #: ../cat/virt-filesystems.pod:242
1307 #, fuzzy
1308 #| msgid "B<--partition>"
1309 msgid "B<--partitions>"
1310 msgstr "B<--partition>"
1311
1312 #. type: textblock
1313 #: ../cat/virt-filesystems.pod:244
1314 msgid ""
1315 "Display partitions.  In this mode, these are displayed irrespective of "
1316 "whether the partitions contain filesystems."
1317 msgstr ""
1318
1319 #. type: =item
1320 #: ../cat/virt-filesystems.pod:247
1321 #, fuzzy
1322 #| msgid "B<--csh>"
1323 msgid "B<--pvs>"
1324 msgstr "B<--csh>"
1325
1326 #. type: =item
1327 #: ../cat/virt-filesystems.pod:249
1328 #, fuzzy
1329 #| msgid "B<--verbose>"
1330 msgid "B<--physvols>"
1331 msgstr "B<--verbose>"
1332
1333 #. type: =item
1334 #: ../cat/virt-filesystems.pod:251
1335 msgid "B<--physical-volumes>"
1336 msgstr ""
1337
1338 #. type: textblock
1339 #: ../cat/virt-filesystems.pod:253
1340 msgid "Display LVM physical volumes."
1341 msgstr ""
1342
1343 #. type: =item
1344 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:163
1345 #, fuzzy
1346 #| msgid "B<--live>"
1347 msgid "B<--uuid>"
1348 msgstr "B<--live>"
1349
1350 #. type: =item
1351 #: ../cat/virt-filesystems.pod:257
1352 #, fuzzy
1353 #| msgid "B<--csh>"
1354 msgid "B<--uuids>"
1355 msgstr "B<--csh>"
1356
1357 #. type: textblock
1358 #: ../cat/virt-filesystems.pod:259
1359 msgid "In I<--long> mode, display UUIDs as well."
1360 msgstr ""
1361
1362 #. type: =item
1363 #: ../cat/virt-filesystems.pod:273
1364 #, fuzzy
1365 #| msgid "B<--csh>"
1366 msgid "B<--vgs>"
1367 msgstr "B<--csh>"
1368
1369 #. type: =item
1370 #: ../cat/virt-filesystems.pod:275
1371 #, fuzzy
1372 #| msgid "B<--verbose>"
1373 msgid "B<--volgroups>"
1374 msgstr "B<--verbose>"
1375
1376 #. type: =item
1377 #: ../cat/virt-filesystems.pod:277
1378 #, fuzzy
1379 #| msgid "B<--verbose>"
1380 msgid "B<--volume-groups>"
1381 msgstr "B<--verbose>"
1382
1383 #. type: textblock
1384 #: ../cat/virt-filesystems.pod:279
1385 msgid "Display LVM volume groups."
1386 msgstr ""
1387
1388 #. type: =head1
1389 #: ../cat/virt-filesystems.pod:287
1390 msgid "COLUMNS"
1391 msgstr ""
1392
1393 #. type: textblock
1394 #: ../cat/virt-filesystems.pod:289
1395 msgid ""
1396 "Note that columns in the output are subject to reordering and change in "
1397 "future versions of this tool."
1398 msgstr ""
1399
1400 #. type: =item
1401 #: ../cat/virt-filesystems.pod:294
1402 msgid "B<Name>"
1403 msgstr ""
1404
1405 #. type: textblock
1406 #: ../cat/virt-filesystems.pod:296
1407 msgid "The filesystem, partition, block device or LVM name."
1408 msgstr ""
1409
1410 #. type: textblock
1411 #: ../cat/virt-filesystems.pod:298
1412 msgid ""
1413 "For device and partition names these are displayed as canonical libguestfs "
1414 "names, so that for example C</dev/sda2> is the second partition on the first "
1415 "device."
1416 msgstr ""
1417
1418 #. type: textblock
1419 #: ../cat/virt-filesystems.pod:302
1420 msgid ""
1421 "If the I<--long> option is B<not> specified, then only the name column is "
1422 "shown in the output."
1423 msgstr ""
1424
1425 #. type: =item
1426 #: ../cat/virt-filesystems.pod:305
1427 #, fuzzy
1428 #| msgid "B<-N type>"
1429 msgid "B<Type>"
1430 msgstr "B<-N тип>"
1431
1432 #. type: textblock
1433 #: ../cat/virt-filesystems.pod:307
1434 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
1435 msgstr ""
1436
1437 #. type: =item
1438 #: ../cat/virt-filesystems.pod:309
1439 msgid "B<VFS>"
1440 msgstr ""
1441
1442 #. type: textblock
1443 #: ../cat/virt-filesystems.pod:311
1444 msgid ""
1445 "If there is a filesystem, then this column displays the filesystem type if "
1446 "one could be detected, eg. C<ext4>."
1447 msgstr ""
1448
1449 #. type: =item
1450 #: ../cat/virt-filesystems.pod:314
1451 msgid "B<Label>"
1452 msgstr ""
1453
1454 #. type: textblock
1455 #: ../cat/virt-filesystems.pod:316
1456 msgid ""
1457 "If the object has a label (used for identifying and mounting filesystems) "
1458 "then this column contains the label."
1459 msgstr ""
1460
1461 #. type: =item
1462 #: ../cat/virt-filesystems.pod:319
1463 #, fuzzy
1464 #| msgid "B<part_size>"
1465 msgid "B<Size>"
1466 msgstr "B<part_size>"
1467
1468 #. type: textblock
1469 #: ../cat/virt-filesystems.pod:321
1470 msgid ""
1471 "The size of the object in bytes.  If the I<--human> option is used then the "
1472 "size is displayed in a human-readable form."
1473 msgstr ""
1474
1475 #. type: =item
1476 #: ../cat/virt-filesystems.pod:324
1477 msgid "B<Parent>"
1478 msgstr ""
1479
1480 #. type: textblock
1481 #: ../cat/virt-filesystems.pod:326
1482 msgid ""
1483 "The parent column records the parent relationship between objects.  For "
1484 "example, if the object is a partition, then this column contains the name of "
1485 "the containing device.  If the object is a logical volume, then this column "
1486 "is the name of the volume group."
1487 msgstr ""
1488
1489 #. type: =item
1490 #: ../cat/virt-filesystems.pod:331
1491 msgid "B<UUID>"
1492 msgstr ""
1493
1494 #. type: textblock
1495 #: ../cat/virt-filesystems.pod:333
1496 msgid ""
1497 "If the object has a UUID (used for identifying and mounting filesystems and "
1498 "block devices) then this column contains the UUID as a string."
1499 msgstr ""
1500
1501 #. type: textblock
1502 #: ../cat/virt-filesystems.pod:337
1503 msgid "The UUID is only displayed if the I<--uuid> option is given."
1504 msgstr ""
1505
1506 #. type: =head1
1507 #: ../cat/virt-filesystems.pod:341 ../cat/virt-ls.pod:459
1508 #: ../df/virt-df.pod:191
1509 msgid "NOTE ABOUT CSV FORMAT"
1510 msgstr ""
1511
1512 #. type: textblock
1513 #: ../cat/virt-filesystems.pod:343 ../cat/virt-ls.pod:461
1514 #: ../df/virt-df.pod:193
1515 msgid ""
1516 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
1517 "should be easy to parse, but it is definitely not easy to parse."
1518 msgstr ""
1519
1520 #. type: textblock
1521 #: ../cat/virt-filesystems.pod:346 ../cat/virt-ls.pod:464
1522 #: ../df/virt-df.pod:196
1523 msgid ""
1524 "Myth: Just split fields at commas.  Reality: This does I<not> work "
1525 "reliably.  This example has two columns:"
1526 msgstr ""
1527
1528 #. type: verbatim
1529 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:467
1530 #: ../df/virt-df.pod:199
1531 #, no-wrap
1532 msgid ""
1533 " \"foo,bar\",baz\n"
1534 "\n"
1535 msgstr ""
1536
1537 #. type: textblock
1538 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:469
1539 #: ../df/virt-df.pod:201
1540 msgid ""
1541 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
1542 "reliably.  This example has one row:"
1543 msgstr ""
1544
1545 #. type: verbatim
1546 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:472
1547 #: ../df/virt-df.pod:204
1548 #, no-wrap
1549 msgid ""
1550 " \"foo\n"
1551 " bar\",baz\n"
1552 "\n"
1553 msgstr ""
1554
1555 #. type: textblock
1556 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:475
1557 #: ../df/virt-df.pod:207
1558 msgid ""
1559 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
1560 "packaged in major Linux distributions)."
1561 msgstr ""
1562
1563 #. type: textblock
1564 #: ../cat/virt-filesystems.pod:360 ../cat/virt-ls.pod:478
1565 #: ../df/virt-df.pod:210
1566 msgid ""
1567 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
1568 "or Python's built-in csv library)."
1569 msgstr ""
1570
1571 #. type: textblock
1572 #: ../cat/virt-filesystems.pod:363 ../cat/virt-ls.pod:481
1573 #: ../df/virt-df.pod:213
1574 msgid "Most spreadsheets and databases can import CSV directly."
1575 msgstr ""
1576
1577 #. type: textblock
1578 #: ../cat/virt-filesystems.pod:379
1579 #, fuzzy
1580 #| msgid ""
1581 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
1582 #| "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
1583 #| "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
1584 msgid ""
1585 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
1586 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
1587 "libguestfs.org/>."
1588 msgstr ""
1589 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
1590 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
1591 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
1592
1593 #. type: textblock
1594 #: ../cat/virt-filesystems.pod:394 ../tools/virt-make-fs.pl:570
1595 #: ../tools/virt-win-reg.pl:778
1596 msgid "Copyright (C) 2010 Red Hat Inc."
1597 msgstr ""
1598
1599 #. type: textblock
1600 #: ../cat/virt-ls.pod:5
1601 msgid "virt-ls - List files in a virtual machine"
1602 msgstr ""
1603
1604 #. type: verbatim
1605 #: ../cat/virt-ls.pod:9
1606 #, no-wrap
1607 msgid ""
1608 " virt-ls [--options] -d domname directory [directory ...]\n"
1609 "\n"
1610 msgstr ""
1611
1612 #. type: verbatim
1613 #: ../cat/virt-ls.pod:11
1614 #, fuzzy, no-wrap
1615 #| msgid ""
1616 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
1617 #| "\n"
1618 msgid ""
1619 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
1620 "\n"
1621 msgstr ""
1622 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
1623 "\n"
1624
1625 #. type: textblock
1626 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15 ../rescue/virt-rescue.pod:13
1627 msgid "Old style:"
1628 msgstr ""
1629
1630 #. type: verbatim
1631 #: ../cat/virt-ls.pod:15
1632 #, fuzzy, no-wrap
1633 #| msgid ""
1634 #| " virt-list-partitions [--options] domname\n"
1635 #| "\n"
1636 msgid ""
1637 " virt-ls [--options] domname directory\n"
1638 "\n"
1639 msgstr ""
1640 " virt-list-partitions [--параметри] назва_домену\n"
1641 "\n"
1642
1643 #. type: verbatim
1644 #: ../cat/virt-ls.pod:17
1645 #, fuzzy, no-wrap
1646 #| msgid ""
1647 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
1648 #| "\n"
1649 msgid ""
1650 " virt-ls [--options] disk.img [disk.img ...] directory\n"
1651 "\n"
1652 msgstr ""
1653 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
1654 "\n"
1655
1656 #. type: textblock
1657 #: ../cat/virt-ls.pod:21
1658 msgid ""
1659 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
1660 "more from a virtual machine or disk image."
1661 msgstr ""
1662
1663 #. type: textblock
1664 #: ../cat/virt-ls.pod:24
1665 msgid ""
1666 "Multiple directory names can be given, in which case the output from each is "
1667 "concatenated."
1668 msgstr ""
1669
1670 #. type: textblock
1671 #: ../cat/virt-ls.pod:27
1672 msgid ""
1673 "To list directories from a libvirt guest use the I<-d> option to specify the "
1674 "name of the guest.  For a disk image, use the I<-a> option."
1675 msgstr ""
1676
1677 #. type: textblock
1678 #: ../cat/virt-ls.pod:31
1679 msgid ""
1680 "C<virt-ls> can do many simple file listings.  For more complicated cases you "
1681 "may need to use L<guestfish(1)>, or write a program directly to the L<guestfs"
1682 "(3)> API."
1683 msgstr ""
1684
1685 #. type: textblock
1686 #: ../cat/virt-ls.pod:37
1687 msgid "Get a list of all files and directories in a virtual machine:"
1688 msgstr ""
1689
1690 #. type: verbatim
1691 #: ../cat/virt-ls.pod:39
1692 #, fuzzy, no-wrap
1693 #| msgid ""
1694 #| " guestfish --ro -d myguest -i\n"
1695 #| "\n"
1696 msgid ""
1697 " virt-ls -R -d guest /\n"
1698 "\n"
1699 msgstr ""
1700 " guestfish --ro -d myguest -i\n"
1701 "\n"
1702
1703 #. type: textblock
1704 #: ../cat/virt-ls.pod:41
1705 msgid "List all setuid or setgid programs in a Linux virtual machine:"
1706 msgstr ""
1707
1708 #. type: verbatim
1709 #: ../cat/virt-ls.pod:43
1710 #, no-wrap
1711 msgid ""
1712 " virt-ls -lR -d guest / | grep '^- [42]'\n"
1713 "\n"
1714 msgstr ""
1715
1716 #. type: textblock
1717 #: ../cat/virt-ls.pod:45
1718 msgid "List all public-writable directories in a Linux virtual machine:"
1719 msgstr ""
1720
1721 #. type: verbatim
1722 #: ../cat/virt-ls.pod:47
1723 #, no-wrap
1724 msgid ""
1725 " virt-ls -lR -d guest / | grep '^d ...7'\n"
1726 "\n"
1727 msgstr ""
1728
1729 #. type: textblock
1730 #: ../cat/virt-ls.pod:49
1731 msgid "List all Unix domain sockets in a Linux virtual machine:"
1732 msgstr ""
1733
1734 #. type: verbatim
1735 #: ../cat/virt-ls.pod:51
1736 #, no-wrap
1737 msgid ""
1738 " virt-ls -lR -d guest / | grep '^s'\n"
1739 "\n"
1740 msgstr ""
1741
1742 #. type: textblock
1743 #: ../cat/virt-ls.pod:53
1744 msgid "List all regular files with filenames ending in '.png':"
1745 msgstr ""
1746
1747 #. type: verbatim
1748 #: ../cat/virt-ls.pod:55
1749 #, no-wrap
1750 msgid ""
1751 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
1752 "\n"
1753 msgstr ""
1754
1755 #. type: textblock
1756 #: ../cat/virt-ls.pod:57
1757 msgid "To display files larger than 10MB in home directories:"
1758 msgstr ""
1759
1760 #. type: verbatim
1761 #: ../cat/virt-ls.pod:59
1762 #, no-wrap
1763 msgid ""
1764 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
1765 "\n"
1766 msgstr ""
1767
1768 #. type: textblock
1769 #: ../cat/virt-ls.pod:61
1770 msgid "Find everything modified in the last 7 days:"
1771 msgstr ""
1772
1773 #. type: verbatim
1774 #: ../cat/virt-ls.pod:63
1775 #, no-wrap
1776 msgid ""
1777 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
1778 "\n"
1779 msgstr ""
1780
1781 #. type: textblock
1782 #: ../cat/virt-ls.pod:65
1783 msgid "Find regular files modified in the last 24 hours:"
1784 msgstr ""
1785
1786 #. type: verbatim
1787 #: ../cat/virt-ls.pod:67
1788 #, no-wrap
1789 msgid ""
1790 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
1791 "\n"
1792 msgstr ""
1793
1794 #. type: =head2
1795 #: ../cat/virt-ls.pod:69
1796 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
1797 msgstr ""
1798
1799 #. type: textblock
1800 #: ../cat/virt-ls.pod:71
1801 msgid ""
1802 "Find the differences between files in a guest and an earlier snapshot of the "
1803 "same guest."
1804 msgstr ""
1805
1806 #. type: verbatim
1807 #: ../cat/virt-ls.pod:74
1808 #, no-wrap
1809 msgid ""
1810 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
1811 " virt-ls -lR -a current.img / --uids --time-t > new\n"
1812 " diff -u old new | less\n"
1813 "\n"
1814 msgstr ""
1815
1816 #. type: textblock
1817 #: ../cat/virt-ls.pod:78
1818 msgid ""
1819 "The commands above won't find files where the content has changed but the "
1820 "metadata (eg. file size and modification date) is the same.  To do that, you "
1821 "need to add the I<--checksum> parameter to both C<virt-ls> commands.  I<--"
1822 "checksum> can be quite slow since it has to read and compute a checksum of "
1823 "every regular file in the virtual machine."
1824 msgstr ""
1825
1826 #. type: =head1
1827 #: ../cat/virt-ls.pod:84
1828 msgid "OUTPUT MODES"
1829 msgstr ""
1830
1831 #. type: textblock
1832 #: ../cat/virt-ls.pod:86
1833 msgid ""
1834 "C<virt-ls> has four output modes, controlled by different combinations of "
1835 "the I<-l> and I<-R> options."
1836 msgstr ""
1837
1838 #. type: =head2
1839 #: ../cat/virt-ls.pod:89
1840 msgid "SIMPLE LISTING"
1841 msgstr ""
1842
1843 #. type: textblock
1844 #: ../cat/virt-ls.pod:91
1845 msgid "A simple listing is like the ordinary L<ls(1)> command:"
1846 msgstr ""
1847
1848 #. type: verbatim
1849 #: ../cat/virt-ls.pod:93
1850 #, no-wrap
1851 msgid ""
1852 " $ virt-ls -d guest /\n"
1853 " bin\n"
1854 " boot\n"
1855 " [etc.]\n"
1856 "\n"
1857 msgstr ""
1858
1859 #. type: =head2
1860 #: ../cat/virt-ls.pod:98
1861 #, fuzzy
1862 #| msgid "MOUNTING"
1863 msgid "LONG LISTING"
1864 msgstr "МОНТУВАННЯ"
1865
1866 #. type: textblock
1867 #: ../cat/virt-ls.pod:100
1868 msgid ""
1869 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
1870 "(more specifically, like the C<guestfs_ll> function)."
1871 msgstr ""
1872
1873 #. type: verbatim
1874 #: ../cat/virt-ls.pod:103
1875 #, no-wrap
1876 msgid ""
1877 " $ virt-ls -l -d guest /\n"
1878 " total 204\n"
1879 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
1880 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
1881 " [etc.]\n"
1882 "\n"
1883 msgstr ""
1884
1885 #. type: textblock
1886 #: ../cat/virt-ls.pod:109
1887 msgid ""
1888 "Note that while this is useful for displaying a directory, do not try "
1889 "parsing this output in another program.  Use L</RECURSIVE LONG LISTING> "
1890 "instead."
1891 msgstr ""
1892
1893 #. type: =head2
1894 #: ../cat/virt-ls.pod:113
1895 msgid "RECURSIVE LISTING"
1896 msgstr ""
1897
1898 #. type: textblock
1899 #: ../cat/virt-ls.pod:115
1900 msgid ""
1901 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
1902 "and directories recursively:"
1903 msgstr ""
1904
1905 #. type: verbatim
1906 #: ../cat/virt-ls.pod:118
1907 #, no-wrap
1908 msgid ""
1909 " $ virt-ls -R -d guest /tmp\n"
1910 " foo\n"
1911 " foo/bar\n"
1912 " [etc.]\n"
1913 "\n"
1914 msgstr ""
1915
1916 #. type: textblock
1917 #: ../cat/virt-ls.pod:123
1918 msgid ""
1919 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
1920 "converts C<\\0> characters to C<\\n>."
1921 msgstr ""
1922
1923 #. type: =head2
1924 #: ../cat/virt-ls.pod:126
1925 msgid "RECURSIVE LONG LISTING"
1926 msgstr ""
1927
1928 #. type: textblock
1929 #: ../cat/virt-ls.pod:128
1930 msgid ""
1931 "Using I<-lR> options together changes the output to display directories "
1932 "recursively, with file stats, and optionally other features such as "
1933 "checksums and extended attributes."
1934 msgstr ""
1935
1936 #. type: textblock
1937 #: ../cat/virt-ls.pod:132
1938 msgid ""
1939 "Most of the interesting features of C<virt-ls> are only available when using "
1940 "I<-lR> mode."
1941 msgstr ""
1942
1943 #. type: textblock
1944 #: ../cat/virt-ls.pod:135
1945 msgid ""
1946 "The fields are normally space-separated.  Filenames are B<not> quoted, so "
1947 "you cannot use the output in another program (because filenames can contain "
1948 "spaces and other unsafe characters).  If the guest was untrusted and someone "
1949 "knew you were using C<virt-ls> to analyze the guest, they could play tricks "
1950 "on you by creating filenames with embedded newline characters.  To B<safely> "
1951 "parse the output in another program, use the I<--csv> (Comma-Separated "
1952 "Values) option."
1953 msgstr ""
1954
1955 #. type: textblock
1956 #: ../cat/virt-ls.pod:143
1957 msgid ""
1958 "Note that this output format is completely unrelated to the C<ls -lR> "
1959 "command."
1960 msgstr ""
1961
1962 #. type: verbatim
1963 #: ../cat/virt-ls.pod:146
1964 #, no-wrap
1965 msgid ""
1966 " $ virt-ls -lR -d guest /bin\n"
1967 " d 0555       4096 /bin\n"
1968 " - 0755        123 /bin/alsaunmute\n"
1969 " - 0755      28328 /bin/arch\n"
1970 " l 0777          4 /bin/awk -> gawk\n"
1971 " - 0755      27216 /bin/basename\n"
1972 " - 0755     943360 /bin/bash\n"
1973 " [etc.]\n"
1974 "\n"
1975 msgstr ""
1976
1977 #. type: textblock
1978 #: ../cat/virt-ls.pod:155
1979 msgid "These basic fields are always shown:"
1980 msgstr ""
1981
1982 #. type: =item
1983 #: ../cat/virt-ls.pod:159
1984 #, fuzzy
1985 #| msgid "vfs-type"
1986 msgid "type"
1987 msgstr "vfs-type"
1988
1989 #. type: textblock
1990 #: ../cat/virt-ls.pod:161
1991 msgid ""
1992 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
1993 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
1994 "link), C<s> (socket) or C<u> (unknown)."
1995 msgstr ""
1996
1997 #. type: =item
1998 #: ../cat/virt-ls.pod:171
1999 #, fuzzy
2000 #| msgid "version"
2001 msgid "permissions"
2002 msgstr "version"
2003
2004 #. type: textblock
2005 #: ../cat/virt-ls.pod:173
2006 msgid "The Unix permissions, displayed as a 4 digit octal number."
2007 msgstr ""
2008
2009 #. type: =item
2010 #: ../cat/virt-ls.pod:175
2011 #, fuzzy
2012 #| msgid "filesize"
2013 msgid "size"
2014 msgstr "filesize"
2015
2016 #. type: textblock
2017 #: ../cat/virt-ls.pod:177
2018 msgid ""
2019 "The size of the file.  This is shown in bytes unless I<-h> or I<--human-"
2020 "readable> option is given, in which case this is shown as a human-readable "
2021 "number."
2022 msgstr ""
2023
2024 #. type: =head2
2025 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4188
2026 msgid "path"
2027 msgstr ""
2028
2029 #. type: textblock
2030 #: ../cat/virt-ls.pod:183
2031 msgid "The full path of the file or directory."
2032 msgstr ""
2033
2034 #. type: =item
2035 #: ../cat/virt-ls.pod:185
2036 #, fuzzy
2037 #| msgid "readlink"
2038 msgid "link"
2039 msgstr "readlink"
2040
2041 #. type: textblock
2042 #: ../cat/virt-ls.pod:187
2043 msgid "For symbolic links only, the link target."
2044 msgstr ""
2045
2046 #. type: textblock
2047 #: ../cat/virt-ls.pod:191
2048 msgid ""
2049 "In I<-lR> mode, additional command line options enable the display of more "
2050 "fields."
2051 msgstr ""
2052
2053 #. type: textblock
2054 #: ../cat/virt-ls.pod:194
2055 msgid ""
2056 "With the I<--uids> flag, these additional fields are displayed before the "
2057 "path:"
2058 msgstr ""
2059
2060 #. type: =item
2061 #: ../cat/virt-ls.pod:199
2062 #, fuzzy
2063 #| msgid "lvuuid"
2064 msgid "uid"
2065 msgstr "lvuuid"
2066
2067 #. type: =item
2068 #: ../cat/virt-ls.pod:201
2069 #, fuzzy
2070 #| msgid "vguuid"
2071 msgid "gid"
2072 msgstr "vguuid"
2073
2074 #. type: textblock
2075 #: ../cat/virt-ls.pod:203
2076 msgid ""
2077 "The UID and GID of the owner of the file (displayed numerically).  Note "
2078 "these only make sense in the context of a Unix-like guest."
2079 msgstr ""
2080
2081 #. type: textblock
2082 #: ../cat/virt-ls.pod:208
2083 msgid "With the I<--times> flag, these additional fields are displayed:"
2084 msgstr ""
2085
2086 #. type: =item
2087 #: ../cat/virt-ls.pod:212
2088 #, fuzzy
2089 #| msgid "time"
2090 msgid "atime"
2091 msgstr "time"
2092
2093 #. type: textblock
2094 #: ../cat/virt-ls.pod:214
2095 msgid "The time of last access."
2096 msgstr ""
2097
2098 #. type: =item
2099 #: ../cat/virt-ls.pod:216
2100 #, fuzzy
2101 #| msgid "time"
2102 msgid "mtime"
2103 msgstr "time"
2104
2105 #. type: textblock
2106 #: ../cat/virt-ls.pod:218
2107 msgid "The time of last modification."
2108 msgstr ""
2109
2110 #. type: =item
2111 #: ../cat/virt-ls.pod:220
2112 #, fuzzy
2113 #| msgid "time"
2114 msgid "ctime"
2115 msgstr "time"
2116
2117 #. type: textblock
2118 #: ../cat/virt-ls.pod:222
2119 msgid "The time of last status change."
2120 msgstr ""
2121
2122 #. type: textblock
2123 #: ../cat/virt-ls.pod:226
2124 msgid ""
2125 "The time fields are displayed as string dates and times, unless one of the "
2126 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2127 msgstr ""
2128
2129 #. type: textblock
2130 #: ../cat/virt-ls.pod:229
2131 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2132 msgstr ""
2133
2134 #. type: =item
2135 #: ../cat/virt-ls.pod:233
2136 #, fuzzy
2137 #| msgid "zero-device"
2138 msgid "device"
2139 msgstr "zero-device"
2140
2141 #. type: textblock
2142 #: ../cat/virt-ls.pod:235
2143 msgid ""
2144 "The device containing the file (displayed as major:minor).  This may not "
2145 "match devices as known to the guest."
2146 msgstr ""
2147
2148 #. type: =item
2149 #: ../cat/virt-ls.pod:238
2150 msgid "inode"
2151 msgstr ""
2152
2153 #. type: textblock
2154 #: ../cat/virt-ls.pod:240
2155 msgid "The inode number."
2156 msgstr ""
2157
2158 #. type: =item
2159 #: ../cat/virt-ls.pod:242
2160 #, fuzzy
2161 #| msgid "readlink"
2162 msgid "nlink"
2163 msgstr "readlink"
2164
2165 #. type: textblock
2166 #: ../cat/virt-ls.pod:244
2167 msgid "The number of hard links."
2168 msgstr ""
2169
2170 #. type: =item
2171 #: ../cat/virt-ls.pod:246
2172 msgid "rdev"
2173 msgstr ""
2174
2175 #. type: textblock
2176 #: ../cat/virt-ls.pod:248
2177 msgid ""
2178 "For block and char special files, the device (displayed as major:minor)."
2179 msgstr ""
2180
2181 #. type: =item
2182 #: ../cat/virt-ls.pod:251
2183 #, fuzzy
2184 #| msgid "C<blocksize>"
2185 msgid "blocks"
2186 msgstr "C<blocksize>"
2187
2188 #. type: textblock
2189 #: ../cat/virt-ls.pod:253
2190 msgid "The number of 512 byte blocks allocated to the file."
2191 msgstr ""
2192
2193 #. type: textblock
2194 #: ../cat/virt-ls.pod:257
2195 msgid ""
2196 "With the I<--checksum> flag, the checksum of the file contents is shown "
2197 "(only for regular files).  Computing file checksums can take a considerable "
2198 "amount of time."
2199 msgstr ""
2200
2201 #. type: =item
2202 #: ../cat/virt-ls.pod:280
2203 #, fuzzy
2204 #| msgid "checksum"
2205 msgid "B<--checksum>"
2206 msgstr "checksum"
2207
2208 #. type: =item
2209 #: ../cat/virt-ls.pod:282
2210 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2211 msgstr ""
2212
2213 #. type: textblock
2214 #: ../cat/virt-ls.pod:284
2215 msgid ""
2216 "Display checksum over file contents for regular files.  With no argument, "
2217 "this defaults to using I<md5>.  Using an argument, you can select the "
2218 "checksum type to use."
2219 msgstr ""
2220
2221 #. type: textblock
2222 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2223 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2224 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2225 msgid ""
2226 "This option only has effect in I<-lR> output mode.  See L</RECURSIVE LONG "
2227 "LISTING> above."
2228 msgstr ""
2229
2230 #. type: textblock
2231 #: ../cat/virt-ls.pod:316
2232 msgid ""
2233 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2234 "so you cannot see what you are typing.  If you are not worried about Tempest "
2235 "attacks and there is no one else in the room you can specify this flag to "
2236 "see what you are typing."
2237 msgstr ""
2238
2239 #. type: =item
2240 #: ../cat/virt-ls.pod:321
2241 #, fuzzy
2242 #| msgid "B<--no-dest-paths>"
2243 msgid "B<--extra-stats>"
2244 msgstr "B<--no-dest-paths>"
2245
2246 #. type: textblock
2247 #: ../cat/virt-ls.pod:323
2248 msgid "Display extra stats."
2249 msgstr ""
2250
2251 #. type: verbatim
2252 #: ../cat/virt-ls.pod:339
2253 #, fuzzy, no-wrap
2254 #| msgid ""
2255 #| " guestfish --format=raw -a disk.img\n"
2256 #| "\n"
2257 msgid ""
2258 " virt-ls --format=raw -a disk.img /dir\n"
2259 "\n"
2260 msgstr ""
2261 " guestfish --format=raw -a disk.img\n"
2262 "\n"
2263
2264 #. type: verbatim
2265 #: ../cat/virt-ls.pod:343
2266 #, fuzzy, no-wrap
2267 #| msgid ""
2268 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
2269 #| "\n"
2270 msgid ""
2271 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2272 "\n"
2273 msgstr ""
2274 " guestfish --format=raw -a disk.img --format -a another.img\n"
2275 "\n"
2276
2277 #. type: textblock
2278 #: ../cat/virt-ls.pod:356
2279 msgid "Display file sizes in human-readable format."
2280 msgstr ""
2281
2282 #. type: =item
2283 #: ../cat/virt-ls.pod:370
2284 msgid "B<-R>"
2285 msgstr ""
2286
2287 #. type: =item
2288 #: ../cat/virt-ls.pod:372
2289 #, fuzzy
2290 #| msgid "B<--live>"
2291 msgid "B<--recursive>"
2292 msgstr "B<--live>"
2293
2294 #. type: textblock
2295 #: ../cat/virt-ls.pod:374
2296 msgid ""
2297 "Select the mode.  With neither of these options, C<virt-ls> produces a "
2298 "simple, flat list of the files in the named directory.  See L</SIMPLE "
2299 "LISTING>."
2300 msgstr ""
2301
2302 #. type: textblock
2303 #: ../cat/virt-ls.pod:378
2304 msgid ""
2305 "C<virt-ls -l> produces a \"long listing\", which shows more detail.  See L</"
2306 "LONG LISTING>."
2307 msgstr ""
2308
2309 #. type: textblock
2310 #: ../cat/virt-ls.pod:381
2311 msgid ""
2312 "C<virt-ls -R> produces a recursive list of files starting at the named "
2313 "directory.  See L</RECURSIVE LISTING>."
2314 msgstr ""
2315
2316 #. type: textblock
2317 #: ../cat/virt-ls.pod:384
2318 msgid ""
2319 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2320 "parsed.  See L</RECURSIVE LONG LISTING>."
2321 msgstr ""
2322
2323 #. type: =item
2324 #: ../cat/virt-ls.pod:387
2325 #, fuzzy
2326 #| msgid "B<--live>"
2327 msgid "B<--times>"
2328 msgstr "B<--live>"
2329
2330 #. type: textblock
2331 #: ../cat/virt-ls.pod:389
2332 msgid "Display time fields."
2333 msgstr ""
2334
2335 #. type: =item
2336 #: ../cat/virt-ls.pod:394
2337 #, fuzzy
2338 #| msgid "B<--echo-keys>"
2339 msgid "B<--time-days>"
2340 msgstr "B<--echo-keys>"
2341
2342 #. type: textblock
2343 #: ../cat/virt-ls.pod:396
2344 msgid "Display time fields as days before now (negative if in the future)."
2345 msgstr ""
2346
2347 #. type: textblock
2348 #: ../cat/virt-ls.pod:398
2349 msgid ""
2350 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
2351 "of the file is between 0 and 86399 seconds."
2352 msgstr ""
2353
2354 #. type: =item
2355 #: ../cat/virt-ls.pod:404
2356 #, fuzzy
2357 #| msgid "B<--live>"
2358 msgid "B<--time-relative>"
2359 msgstr "B<--live>"
2360
2361 #. type: textblock
2362 #: ../cat/virt-ls.pod:406
2363 msgid "Display time fields as seconds before now (negative if in the future)."
2364 msgstr ""
2365
2366 #. type: =item
2367 #: ../cat/virt-ls.pod:411
2368 #, fuzzy
2369 #| msgid "I<--timeout N>"
2370 msgid "B<--time-t>"
2371 msgstr "I<--timeout N>"
2372
2373 #. type: textblock
2374 #: ../cat/virt-ls.pod:413
2375 msgid "Display time fields as seconds since the Unix epoch."
2376 msgstr ""
2377
2378 #. type: =item
2379 #: ../cat/virt-ls.pod:418
2380 #, fuzzy
2381 #| msgid "B<--csh>"
2382 msgid "B<--uids>"
2383 msgstr "B<--csh>"
2384
2385 #. type: textblock
2386 #: ../cat/virt-ls.pod:420
2387 msgid "Display UID and GID fields."
2388 msgstr ""
2389
2390 #. type: textblock
2391 #: ../cat/virt-ls.pod:445
2392 msgid "Previous versions of virt-ls allowed you to write either:"
2393 msgstr ""
2394
2395 #. type: verbatim
2396 #: ../cat/virt-ls.pod:447
2397 #, fuzzy, no-wrap
2398 #| msgid ""
2399 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2400 #| "\n"
2401 msgid ""
2402 " virt-ls disk.img [disk.img ...] /dir\n"
2403 "\n"
2404 msgstr ""
2405 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2406 "\n"
2407
2408 #. type: verbatim
2409 #: ../cat/virt-ls.pod:451
2410 #, fuzzy, no-wrap
2411 #| msgid ""
2412 #| " inspect-get-hostname root\n"
2413 #| "\n"
2414 msgid ""
2415 " virt-ls guestname /dir\n"
2416 "\n"
2417 msgstr ""
2418 " inspect-get-hostname корінь\n"
2419 "\n"
2420
2421 #. type: textblock
2422 #: ../cat/virt-ls.pod:497
2423 #, fuzzy
2424 #| msgid ""
2425 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
2426 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
2427 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
2428 msgid ""
2429 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
2430 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
2431 "L<http://libguestfs.org/>."
2432 msgstr ""
2433 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
2434 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
2435 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
2436
2437 #. type: textblock
2438 #: ../cat/virt-ls.pod:513 ../df/virt-df.pod:241 ../edit/virt-edit.pod:374
2439 #: ../rescue/virt-rescue.pod:298
2440 #, fuzzy
2441 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
2442 msgid "Copyright (C) 2009-2011 Red Hat Inc."
2443 msgstr "© Red Hat Inc., 2009–2010"
2444
2445 #. type: textblock
2446 #: ../df/virt-df.pod:5
2447 msgid "virt-df - Display free space on virtual filesystems"
2448 msgstr ""
2449
2450 #. type: verbatim
2451 #: ../df/virt-df.pod:9
2452 #, fuzzy, no-wrap
2453 #| msgid ""
2454 #| " virt-list-partitions [--options] domname\n"
2455 #| "\n"
2456 msgid ""
2457 " virt-df [--options]\n"
2458 "\n"
2459 msgstr ""
2460 " virt-list-partitions [--параметри] назва_домену\n"
2461 "\n"
2462
2463 #. type: verbatim
2464 #: ../df/virt-df.pod:11
2465 #, fuzzy, no-wrap
2466 #| msgid ""
2467 #| " virt-list-partitions [--options] domname\n"
2468 #| "\n"
2469 msgid ""
2470 " virt-df [--options] -d domname\n"
2471 "\n"
2472 msgstr ""
2473 " virt-list-partitions [--параметри] назва_домену\n"
2474 "\n"
2475
2476 #. type: verbatim
2477 #: ../df/virt-df.pod:13
2478 #, fuzzy, no-wrap
2479 #| msgid ""
2480 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2481 #| "\n"
2482 msgid ""
2483 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
2484 "\n"
2485 msgstr ""
2486 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2487 "\n"
2488
2489 #. type: verbatim
2490 #: ../df/virt-df.pod:17
2491 #, fuzzy, no-wrap
2492 #| msgid ""
2493 #| " virt-list-partitions [--options] domname\n"
2494 #| "\n"
2495 msgid ""
2496 " virt-df [--options] domname\n"
2497 "\n"
2498 msgstr ""
2499 " virt-list-partitions [--параметри] назва_домену\n"
2500 "\n"
2501
2502 #. type: verbatim
2503 #: ../df/virt-df.pod:19
2504 #, fuzzy, no-wrap
2505 #| msgid ""
2506 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2507 #| "\n"
2508 msgid ""
2509 " virt-df [--options] disk.img [disk.img ...]\n"
2510 "\n"
2511 msgstr ""
2512 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2513 "\n"
2514
2515 #. type: textblock
2516 #: ../df/virt-df.pod:23
2517 msgid ""
2518 "C<virt-df> is a command line tool to display free space on virtual machine "
2519 "filesystems.  Unlike other tools, it doesn't just display the size of disk "
2520 "allocated to a virtual machine, but can look inside disk images to see how "
2521 "much space is really being used."
2522 msgstr ""
2523
2524 #. type: textblock
2525 #: ../df/virt-df.pod:28
2526 msgid ""
2527 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt "
2528 "to get a list of all active and inactive guests, and performs a C<df>-type "
2529 "operation on each one in turn, printing out the results."
2530 msgstr ""
2531
2532 #. type: textblock
2533 #: ../df/virt-df.pod:32
2534 msgid ""
2535 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a C<df>-"
2536 "type operation on either the single named libvirt domain, or on the disk "
2537 "image(s) listed on the command line (which must all belong to a single VM).  "
2538 "In this mode (with arguments), C<virt-df> will I<only work for a single "
2539 "guest>.  If you want to run on multiple guests, then you have to invoke "
2540 "C<virt-df> multiple times."
2541 msgstr ""
2542
2543 #. type: textblock
2544 #: ../df/virt-df.pod:39
2545 msgid ""
2546 "Use the I<--csv> option to get a format which can be easily parsed by other "
2547 "programs.  Other options are similar to the standard L<df(1)> command."
2548 msgstr ""
2549
2550 #. type: textblock
2551 #: ../df/virt-df.pod:45
2552 msgid ""
2553 "Show disk usage for a single libvirt guest called C<F14x64>.  Make the "
2554 "output human-readable:"
2555 msgstr ""
2556
2557 #. type: verbatim
2558 #: ../df/virt-df.pod:48
2559 #, no-wrap
2560 msgid ""
2561 " # virt-df -d F14x64 -h\n"
2562 " Filesystem                       Size     Used  Available  Use%\n"
2563 " F14x64:/dev/sda1                 484M      66M       393M   14%\n"
2564 " F14x64:/dev/vg_f13x64/lv_root    7.4G     3.4G       4.0G   46%\n"
2565 "\n"
2566 msgstr ""
2567
2568 #. type: textblock
2569 #: ../df/virt-df.pod:53
2570 msgid "Show disk usage for a disk image file called C<test.img>:"
2571 msgstr ""
2572
2573 #. type: verbatim
2574 #: ../df/virt-df.pod:55
2575 #, no-wrap
2576 msgid ""
2577 " $ virt-df -a test1.img\n"
2578 " Filesystem                  1K-blocks     Used  Available  Use%\n"
2579 " test1.img:/dev/sda1             99099     1551      92432    2%\n"
2580 "\n"
2581 msgstr ""
2582
2583 #. type: verbatim
2584 #: ../df/virt-df.pod:112
2585 #, fuzzy, no-wrap
2586 #| msgid ""
2587 #| " guestfish --format=raw -a disk.img\n"
2588 #| "\n"
2589 msgid ""
2590 " virt-df --format=raw -a disk.img\n"
2591 "\n"
2592 msgstr ""
2593 " guestfish --format=raw -a disk.img\n"
2594 "\n"
2595
2596 #. type: verbatim
2597 #: ../df/virt-df.pod:116
2598 #, fuzzy, no-wrap
2599 #| msgid ""
2600 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
2601 #| "\n"
2602 msgid ""
2603 " virt-df --format=raw -a disk.img --format -a another.img\n"
2604 "\n"
2605 msgstr ""
2606 " guestfish --format=raw -a disk.img --format -a another.img\n"
2607 "\n"
2608
2609 #. type: textblock
2610 #: ../df/virt-df.pod:129
2611 msgid "Print sizes in human-readable format."
2612 msgstr ""
2613
2614 #. type: textblock
2615 #: ../df/virt-df.pod:131
2616 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
2617 msgstr ""
2618
2619 #. type: =item
2620 #: ../df/virt-df.pod:133 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:155
2621 msgid "B<-i>"
2622 msgstr "B<-i>"
2623
2624 #. type: =item
2625 #: ../df/virt-df.pod:135
2626 #, fuzzy
2627 #| msgid "B<--live>"
2628 msgid "B<--inodes>"
2629 msgstr "B<--live>"
2630
2631 #. type: textblock
2632 #: ../df/virt-df.pod:137
2633 msgid "Print inodes instead of blocks."
2634 msgstr ""
2635
2636 #. type: =item
2637 #: ../df/virt-df.pod:139
2638 #, fuzzy
2639 #| msgid "B<--merge>"
2640 msgid "B<--one-per-guest>"
2641 msgstr "B<--merge>"
2642
2643 #. type: textblock
2644 #: ../df/virt-df.pod:141
2645 msgid ""
2646 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
2647 "disks from several guests to a single libguestfs appliance."
2648 msgstr ""
2649
2650 #. type: textblock
2651 #: ../df/virt-df.pod:144
2652 msgid "You might use this option in the following circumstances:"
2653 msgstr ""
2654
2655 #. type: =item
2656 #: ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266
2657 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
2658 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
2659 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
2660 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
2661 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
2662 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
2663 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
2664 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
2665 #: ../fish/guestfish-actions.pod:390 ../fish/guestfish-actions.pod:398
2666 #: ../fish/guestfish-actions.pod:405 ../fish/guestfish-actions.pod:412
2667 #: ../fish/guestfish-actions.pod:1104 ../fish/guestfish-actions.pod:1108
2668 #: ../fish/guestfish-actions.pod:1112 ../fish/guestfish-actions.pod:1116
2669 #: ../fish/guestfish-actions.pod:1124 ../fish/guestfish-actions.pod:1128
2670 #: ../fish/guestfish-actions.pod:1132 ../fish/guestfish-actions.pod:1142
2671 #: ../fish/guestfish-actions.pod:1146 ../fish/guestfish-actions.pod:1150
2672 #: ../fish/guestfish-actions.pod:1240 ../fish/guestfish-actions.pod:1244
2673 #: ../fish/guestfish-actions.pod:1249 ../fish/guestfish-actions.pod:1254
2674 #: ../fish/guestfish-actions.pod:1296 ../fish/guestfish-actions.pod:1300
2675 #: ../fish/guestfish-actions.pod:1305 ../fish/guestfish-actions.pod:1938
2676 #: ../fish/guestfish-actions.pod:1944 ../fish/guestfish-actions.pod:1952
2677 #: ../fish/guestfish-actions.pod:1959 ../fish/guestfish-actions.pod:1966
2678 #: ../fish/guestfish.pod:445 ../fish/guestfish.pod:449
2679 #: ../fish/guestfish.pod:453 ../fish/guestfish.pod:457
2680 #: ../inspector/virt-inspector.pod:393 ../inspector/virt-inspector.pod:397
2681 #: ../resize/virt-resize.pod:282 ../resize/virt-resize.pod:286
2682 #: ../resize/virt-resize.pod:295 ../resize/virt-resize.pod:301
2683 #: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29
2684 #: ../src/guestfs-actions.pod:588 ../src/guestfs-actions.pod:596
2685 #: ../src/guestfs-actions.pod:603 ../src/guestfs-actions.pod:610
2686 #: ../src/guestfs-actions.pod:1667 ../src/guestfs-actions.pod:1671
2687 #: ../src/guestfs-actions.pod:1675 ../src/guestfs-actions.pod:1679
2688 #: ../src/guestfs-actions.pod:1687 ../src/guestfs-actions.pod:1691
2689 #: ../src/guestfs-actions.pod:1695 ../src/guestfs-actions.pod:1705
2690 #: ../src/guestfs-actions.pod:1709 ../src/guestfs-actions.pod:1713
2691 #: ../src/guestfs-actions.pod:1851 ../src/guestfs-actions.pod:1855
2692 #: ../src/guestfs-actions.pod:1860 ../src/guestfs-actions.pod:1865
2693 #: ../src/guestfs-actions.pod:1926 ../src/guestfs-actions.pod:1930
2694 #: ../src/guestfs-actions.pod:1935 ../src/guestfs-actions.pod:2864
2695 #: ../src/guestfs-actions.pod:2870 ../src/guestfs-actions.pod:2878
2696 #: ../src/guestfs-actions.pod:2885 ../src/guestfs-actions.pod:2892
2697 #: ../src/guestfs.pod:388 ../src/guestfs.pod:393 ../src/guestfs.pod:398
2698 #: ../src/guestfs.pod:402 ../src/guestfs.pod:407 ../src/guestfs.pod:411
2699 #: ../src/guestfs.pod:416 ../src/guestfs.pod:421 ../src/guestfs.pod:1064
2700 #: ../src/guestfs.pod:1068 ../src/guestfs.pod:1072 ../src/guestfs.pod:1077
2701 #: ../src/guestfs.pod:1085 ../src/guestfs.pod:1104 ../src/guestfs.pod:1112
2702 #: ../src/guestfs.pod:1134 ../src/guestfs.pod:1138 ../src/guestfs.pod:1142
2703 #: ../src/guestfs.pod:1146 ../src/guestfs.pod:1150 ../src/guestfs.pod:1154
2704 #: ../src/guestfs.pod:1644 ../src/guestfs.pod:1649 ../src/guestfs.pod:1653
2705 #: ../src/guestfs.pod:1755 ../src/guestfs.pod:1760 ../src/guestfs.pod:1764
2706 #: ../src/guestfs.pod:1774 ../src/guestfs.pod:2063 ../src/guestfs.pod:2068
2707 #: ../src/guestfs.pod:2074 ../src/guestfs.pod:2082 ../src/guestfs.pod:2529
2708 #: ../src/guestfs.pod:2535 ../src/guestfs.pod:2540 ../src/guestfs.pod:2546
2709 #: ../src/guestfs.pod:2927 ../src/guestfs.pod:2932 ../src/guestfs.pod:2936
2710 #: ../src/guestfs.pod:2940 ../src/guestfs.pod:2944 ../src/guestfs.pod:2958
2711 #: ../src/guestfs.pod:2963 ../src/guestfs.pod:3188 ../src/guestfs.pod:3192
2712 #: ../src/guestfs.pod:3196 ../src/guestfs.pod:3200
2713 #: ../tools/virt-win-reg.pl:197 ../tools/virt-win-reg.pl:202
2714 #: ../tools/virt-win-reg.pl:208 ../tools/virt-win-reg.pl:710
2715 #: ../tools/virt-win-reg.pl:716 ../tools/virt-win-reg.pl:722
2716 msgid "*"
2717 msgstr "*"
2718
2719 #. type: textblock
2720 #: ../df/virt-df.pod:150
2721 msgid ""
2722 "If you think an untrusted guest might actively try to exploit the libguestfs "
2723 "appliance kernel, then this prevents one guest from interfering with the "
2724 "stats printed for another guest."
2725 msgstr ""
2726
2727 #. type: textblock
2728 #: ../df/virt-df.pod:156
2729 msgid ""
2730 "If the kernel has a bug which stops it from accessing a filesystem in one "
2731 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
2732 "and report stats for further guests."
2733 msgstr ""
2734
2735 #. type: textblock
2736 #: ../df/virt-df.pod:165
2737 msgid ""
2738 "Print UUIDs instead of names.  This is useful for following a guest even "
2739 "when the guest is migrated or renamed, or when two guests happen to have the "
2740 "same name."
2741 msgstr ""
2742
2743 #. type: textblock
2744 #: ../df/virt-df.pod:169
2745 msgid ""
2746 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk "
2747 "images, we still print the disk image name even when this option is "
2748 "specified."
2749 msgstr ""
2750
2751 #. type: textblock
2752 #: ../df/virt-df.pod:229
2753 msgid ""
2754 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<http://"
2755 "libguestfs.org/>."
2756 msgstr ""
2757
2758 #. type: textblock
2759 #: ../edit/virt-edit.pod:5
2760 msgid "virt-edit - Edit a file in a virtual machine"
2761 msgstr ""
2762
2763 #. type: verbatim
2764 #: ../edit/virt-edit.pod:9
2765 #, fuzzy, no-wrap
2766 #| msgid ""
2767 #| " virt-list-partitions [--options] domname\n"
2768 #| "\n"
2769 msgid ""
2770 " virt-edit [--options] -d domname file [file ...]\n"
2771 "\n"
2772 msgstr ""
2773 " virt-list-partitions [--параметри] назва_домену\n"
2774 "\n"
2775
2776 #. type: verbatim
2777 #: ../edit/virt-edit.pod:11
2778 #, fuzzy, no-wrap
2779 #| msgid ""
2780 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2781 #| "\n"
2782 msgid ""
2783 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
2784 "\n"
2785 msgstr ""
2786 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2787 "\n"
2788
2789 #. type: verbatim
2790 #: ../edit/virt-edit.pod:13
2791 #, no-wrap
2792 msgid ""
2793 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
2794 "\n"
2795 msgstr ""
2796
2797 #. type: verbatim
2798 #: ../edit/virt-edit.pod:17
2799 #, no-wrap
2800 msgid ""
2801 " virt-edit domname file\n"
2802 "\n"
2803 msgstr ""
2804
2805 #. type: verbatim
2806 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
2807 #, fuzzy, no-wrap
2808 #| msgid ""
2809 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
2810 #| "\n"
2811 msgid ""
2812 " virt-edit disk.img [disk.img ...] file\n"
2813 "\n"
2814 msgstr ""
2815 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
2816 "\n"
2817
2818 #. type: =head1
2819 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
2820 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
2821 #: ../fuse/guestmount.pod:15 ../rescue/virt-rescue.pod:19
2822 #: ../tools/virt-tar.pl:64 ../tools/virt-win-reg.pl:51
2823 msgid "WARNING"
2824 msgstr "ПОПЕРЕДЖЕННЯ"
2825
2826 #. type: textblock
2827 #: ../edit/virt-edit.pod:23
2828 msgid ""
2829 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
2830 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
2831 "doing this, but doesn't catch all cases."
2832 msgstr ""
2833
2834 #. type: textblock
2835 #: ../edit/virt-edit.pod:29
2836 msgid ""
2837 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
2838 "exists in the named virtual machine (or disk image)."
2839 msgstr ""
2840
2841 #. type: textblock
2842 #: ../edit/virt-edit.pod:32
2843 msgid ""
2844 "Multiple filenames can be given, in which case they are each edited in "
2845 "turn.  Each filename must be a full path, starting at the root directory "
2846 "(starting with '/')."
2847 msgstr ""
2848
2849 #. type: textblock
2850 #: ../edit/virt-edit.pod:36
2851 msgid "If you want to just view a file, use L<virt-cat(1)>."
2852 msgstr ""
2853
2854 #. type: textblock
2855 #: ../edit/virt-edit.pod:38
2856 msgid ""
2857 "For more complex cases you should look at the L<guestfish(1)> tool (see L</"
2858 "USING GUESTFISH> below)."
2859 msgstr ""
2860
2861 #. type: textblock
2862 #: ../edit/virt-edit.pod:41
2863 msgid ""
2864 "C<virt-edit> cannot be used to create a new file.  L<guestfish(1)> can do "
2865 "that and much more."
2866 msgstr ""
2867
2868 #. type: textblock
2869 #: ../edit/virt-edit.pod:46
2870 msgid "Edit the named files interactively:"
2871 msgstr ""
2872
2873 #. type: verbatim
2874 #: ../edit/virt-edit.pod:48
2875 #, no-wrap
2876 msgid ""
2877 " virt-edit -d mydomain /boot/grub/grub.conf\n"
2878 "\n"
2879 msgstr ""
2880
2881 #. type: verbatim
2882 #: ../edit/virt-edit.pod:50
2883 #, no-wrap
2884 msgid ""
2885 " virt-edit -d mydomain /etc/passwd\n"
2886 "\n"
2887 msgstr ""
2888
2889 #. type: textblock
2890 #: ../edit/virt-edit.pod:52
2891 msgid "For Windows guests, some Windows paths are understood:"
2892 msgstr ""
2893
2894 #. type: verbatim
2895 #: ../edit/virt-edit.pod:54
2896 #, no-wrap
2897 msgid ""
2898 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
2899 "\n"
2900 msgstr ""
2901
2902 #. type: textblock
2903 #: ../edit/virt-edit.pod:56
2904 msgid ""
2905 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
2906 "INTERACTIVE EDITING> below).  To change the init default level to 5:"
2907 msgstr ""
2908
2909 #. type: verbatim
2910 #: ../edit/virt-edit.pod:60
2911 #, no-wrap
2912 msgid ""
2913 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
2914 "\n"
2915 msgstr ""
2916
2917 #. type: =item
2918 #: ../edit/virt-edit.pod:81
2919 msgid "B<-b> extension"
2920 msgstr ""
2921
2922 #. type: =item
2923 #: ../edit/virt-edit.pod:83
2924 msgid "B<--backup> extension"
2925 msgstr ""
2926
2927 #. type: textblock
2928 #: ../edit/virt-edit.pod:85
2929 msgid ""
2930 "Create a backup of the original file I<in the guest disk image>.  The backup "
2931 "has the original filename with C<extension> added."
2932 msgstr ""
2933
2934 #. type: textblock
2935 #: ../edit/virt-edit.pod:88
2936 msgid ""
2937 "Usually the first character of C<extension> would be a dot C<.> so you would "
2938 "write:"
2939 msgstr ""
2940
2941 #. type: verbatim
2942 #: ../edit/virt-edit.pod:91
2943 #, no-wrap
2944 msgid ""
2945 " virt-edit -b .orig [etc]\n"
2946 "\n"
2947 msgstr ""
2948
2949 #. type: textblock
2950 #: ../edit/virt-edit.pod:93
2951 msgid "By default, no backup file is made."
2952 msgstr ""
2953
2954 #. type: =item
2955 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
2956 #: ../fuse/guestmount.pod:96 ../inspector/virt-inspector.pod:74
2957 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
2958 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
2959 msgid "B<-c URI>"
2960 msgstr "B<-c адреса>"
2961
2962 #. type: =item
2963 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
2964 #: ../fuse/guestmount.pod:98 ../inspector/virt-inspector.pod:76
2965 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
2966 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
2967 msgid "B<--connect URI>"
2968 msgstr "B<--connect адреса>"
2969
2970 #. type: textblock
2971 #: ../edit/virt-edit.pod:102 ../tools/virt-list-filesystems.pl:84
2972 #: ../tools/virt-list-partitions.pl:85 ../tools/virt-tar.pl:134
2973 #: ../tools/virt-win-reg.pl:135
2974 msgid ""
2975 "If you specify guest block devices directly, then libvirt is not used at all."
2976 msgstr ""
2977
2978 #. type: textblock
2979 #: ../edit/virt-edit.pod:114
2980 msgid ""
2981 "When prompting for keys and passphrases, virt-edit normally turns echoing "
2982 "off so you cannot see what you are typing.  If you are not worried about "
2983 "Tempest attacks and there is no one else in the room you can specify this "
2984 "flag to see what you are typing."
2985 msgstr ""
2986
2987 #. type: =item
2988 #: ../edit/virt-edit.pod:119
2989 msgid "B<-e> EXPR"
2990 msgstr ""
2991
2992 #. type: =item
2993 #: ../edit/virt-edit.pod:121
2994 #, fuzzy
2995 #| msgid "B<--help>"
2996 msgid "B<--expr> EXPR"
2997 msgstr "B<--help>"
2998
2999 #. type: textblock
3000 #: ../edit/virt-edit.pod:123
3001 msgid ""
3002 "Instead of launching the external editor, non-interactively apply the Perl "
3003 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
3004 "EDITING> below."
3005 msgstr ""
3006
3007 #. type: textblock
3008 #: ../edit/virt-edit.pod:127
3009 msgid ""
3010 "Be careful to properly quote the expression to prevent it from being altered "
3011 "by the shell."
3012 msgstr ""
3013
3014 #. type: textblock
3015 #: ../edit/virt-edit.pod:130
3016 msgid "Note that this option is only available when Perl 5 is installed."
3017 msgstr ""
3018
3019 #. type: =item
3020 #: ../edit/virt-edit.pod:132
3021 #, fuzzy
3022 #| msgid "B<--format=raw|qcow2|..>"
3023 msgid "B<--format> raw|qcow2|..."
3024 msgstr "B<--format=raw|qcow2|..>"
3025
3026 #. type: verbatim
3027 #: ../edit/virt-edit.pod:143
3028 #, fuzzy, no-wrap
3029 #| msgid ""
3030 #| " guestfish --format=raw -a disk.img\n"
3031 #| "\n"
3032 msgid ""
3033 " virt-edit --format=raw -a disk.img file\n"
3034 "\n"
3035 msgstr ""
3036 " guestfish --format=raw -a disk.img\n"
3037 "\n"
3038
3039 #. type: verbatim
3040 #: ../edit/virt-edit.pod:147
3041 #, fuzzy, no-wrap
3042 #| msgid ""
3043 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3044 #| "\n"
3045 msgid ""
3046 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
3047 "\n"
3048 msgstr ""
3049 " guestfish --format=raw -a disk.img --format -a another.img\n"
3050 "\n"
3051
3052 #. type: textblock
3053 #: ../edit/virt-edit.pod:181
3054 msgid "Previous versions of virt-edit allowed you to write either:"
3055 msgstr ""
3056
3057 #. type: verbatim
3058 #: ../edit/virt-edit.pod:187
3059 #, fuzzy, no-wrap
3060 #| msgid ""
3061 #| " edit filename\n"
3062 #| "\n"
3063 msgid ""
3064 " virt-edit guestname file\n"
3065 "\n"
3066 msgstr ""
3067 " edit назва_файла\n"
3068 "\n"
3069
3070 #. type: =head1
3071 #: ../edit/virt-edit.pod:195
3072 msgid "NON-INTERACTIVE EDITING"
3073 msgstr ""
3074
3075 #. type: textblock
3076 #: ../edit/virt-edit.pod:197
3077 msgid ""
3078 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
3079 "administrator can interactively edit the file."
3080 msgstr ""
3081
3082 #. type: textblock
3083 #: ../edit/virt-edit.pod:200
3084 msgid ""
3085 "There are two ways also to use C<virt-edit> from scripts in order to make "
3086 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
3087 "like this, it's less error-prone to write scripts directly using the "
3088 "libguestfs API and Augeas for configuration file editing.)"
3089 msgstr ""
3090
3091 #. type: textblock
3092 #: ../edit/virt-edit.pod:206
3093 msgid ""
3094 "The first method is to temporarily set C<$EDITOR> to any script or program "
3095 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
3096 "update C<tmpfile> in place however it likes."
3097 msgstr ""
3098
3099 #. type: textblock
3100 #: ../edit/virt-edit.pod:210
3101 msgid ""
3102 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
3103 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
3104 "instances of C<foo> with C<bar> in a file:"
3105 msgstr ""
3106
3107 #. type: verbatim
3108 #: ../edit/virt-edit.pod:214
3109 #, no-wrap
3110 msgid ""
3111 " virt-edit -d domname filename -e 's/foo/bar/'\n"
3112 "\n"
3113 msgstr ""
3114
3115 #. type: textblock
3116 #: ../edit/virt-edit.pod:216
3117 msgid ""
3118 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
3119 "For example to delete root's password you could do:"
3120 msgstr ""
3121
3122 #. type: verbatim
3123 #: ../edit/virt-edit.pod:219
3124 #, no-wrap
3125 msgid ""
3126 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
3127 "\n"
3128 msgstr ""
3129
3130 #. type: textblock
3131 #: ../edit/virt-edit.pod:221
3132 msgid ""
3133 "What really happens is that the snippet is evaluated as a Perl expression "
3134 "for each line of the file.  The line, including the final C<\\n>, is passed "
3135 "in C<$_> and the expression should update C<$_> or leave it unchanged."
3136 msgstr ""
3137
3138 #. type: textblock
3139 #: ../edit/virt-edit.pod:226
3140 msgid ""
3141 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
3142 "C<apache> user account from the password file you can do:"
3143 msgstr ""
3144
3145 #. type: verbatim
3146 #: ../edit/virt-edit.pod:229
3147 #, no-wrap
3148 msgid ""
3149 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
3150 "\n"
3151 msgstr ""
3152
3153 #. type: textblock
3154 #: ../edit/virt-edit.pod:231
3155 msgid ""
3156 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
3157 "the end of the file is rather difficult this way since there is no concept "
3158 "of \"last line of the file\" - your expression just doesn't get called "
3159 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
3160 "want to do this."
3161 msgstr ""
3162
3163 #. type: textblock
3164 #: ../edit/virt-edit.pod:237
3165 msgid ""
3166 "The variable C<$lineno> contains the current line number.  As is "
3167 "traditional, the first line in the file is number C<1>."
3168 msgstr ""
3169
3170 #. type: textblock
3171 #: ../edit/virt-edit.pod:240
3172 msgid ""
3173 "The return value from the expression is ignored, but the expression may call "
3174 "C<die> in order to abort the whole program, leaving the original file "
3175 "untouched."
3176 msgstr ""
3177
3178 #. type: textblock
3179 #: ../edit/virt-edit.pod:244
3180 msgid ""
3181 "Remember when matching the end of a line that C<$_> may contain the final C<"
3182 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
3183 "newline then neither of these.  Thus to match or substitute some text at the "
3184 "end of a line, use this regular expression:"
3185 msgstr ""
3186
3187 #. type: verbatim
3188 #: ../edit/virt-edit.pod:249
3189 #, no-wrap
3190 msgid ""
3191 " /some text(\\r?\\n)?$/\n"
3192 "\n"
3193 msgstr ""
3194
3195 #. type: textblock
3196 #: ../edit/virt-edit.pod:251
3197 msgid ""
3198 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
3199 "$_> itself (since that would remove all newlines from the file):"
3200 msgstr ""
3201
3202 #. type: verbatim
3203 #: ../edit/virt-edit.pod:255
3204 #, no-wrap
3205 msgid ""
3206 " my $m = $_; chomp $m; $m =~ /some text$/\n"
3207 "\n"
3208 msgstr ""
3209
3210 #. type: =head1
3211 #: ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
3212 msgid "WINDOWS PATHS"
3213 msgstr ""
3214
3215 #. type: textblock
3216 #: ../edit/virt-edit.pod:259
3217 msgid ""
3218 "C<virt-edit> has a limited ability to understand Windows drive letters and "
3219 "paths (eg. C<E:\\foo\\bar.txt>)."
3220 msgstr ""
3221
3222 #. type: textblock
3223 #: ../edit/virt-edit.pod:262
3224 msgid "If and only if the guest is running Windows then:"
3225 msgstr ""
3226
3227 #. type: textblock
3228 #: ../edit/virt-edit.pod:268
3229 msgid ""
3230 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
3231 "to the correct filesystem."
3232 msgstr ""
3233
3234 #. type: textblock
3235 #: ../edit/virt-edit.pod:273
3236 msgid ""
3237 "Any backslash (C<\\>) characters in the path are replaced with forward "
3238 "slashes so that libguestfs can process it."
3239 msgstr ""
3240
3241 #. type: textblock
3242 #: ../edit/virt-edit.pod:278
3243 msgid ""
3244 "The path is resolved case insensitively to locate the file that should be "
3245 "edited."
3246 msgstr ""
3247
3248 #. type: textblock
3249 #: ../edit/virt-edit.pod:283
3250 msgid "There are some known shortcomings:"
3251 msgstr ""
3252
3253 #. type: textblock
3254 #: ../edit/virt-edit.pod:289
3255 msgid "Some NTFS symbolic links may not be followed correctly."
3256 msgstr ""
3257
3258 #. type: textblock
3259 #: ../edit/virt-edit.pod:293
3260 msgid "NTFS junction points that cross filesystems are not followed."
3261 msgstr ""
3262
3263 #. type: textblock
3264 #: ../edit/virt-edit.pod:299
3265 msgid ""
3266 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
3267 "C<virt-edit> doesn't work."
3268 msgstr ""
3269
3270 #. type: textblock
3271 #: ../edit/virt-edit.pod:302
3272 msgid "Using C<virt-edit> is approximately equivalent to doing:"
3273 msgstr ""
3274
3275 #. type: verbatim
3276 #: ../edit/virt-edit.pod:304
3277 #, fuzzy, no-wrap
3278 #| msgid ""
3279 #| " guestfish --ro -d myguest -i\n"
3280 #| "\n"
3281 msgid ""
3282 " guestfish --rw -i -d domname edit /file\n"
3283 "\n"
3284 msgstr ""
3285 " guestfish --ro -d myguest -i\n"
3286 "\n"
3287
3288 #. type: textblock
3289 #: ../edit/virt-edit.pod:306
3290 msgid ""
3291 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
3292 "path to the file."
3293 msgstr ""
3294
3295 #. type: textblock
3296 #: ../edit/virt-edit.pod:309
3297 msgid ""
3298 "The command above uses libguestfs's guest inspection feature and so does not "
3299 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
3300 "disk images that don't contain guests.  To edit a file on a disk image "
3301 "directly, use:"
3302 msgstr ""
3303
3304 #. type: verbatim
3305 #: ../edit/virt-edit.pod:314
3306 #, fuzzy, no-wrap
3307 #| msgid ""
3308 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3309 #| "\n"
3310 msgid ""
3311 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
3312 "\n"
3313 msgstr ""
3314 " guestfish --format=raw -a disk.img --format -a another.img\n"
3315 "\n"
3316
3317 #. type: textblock
3318 #: ../edit/virt-edit.pod:316
3319 msgid ""
3320 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
3321 "the disk image to edit, and C</file> is the full path to the file."
3322 msgstr ""
3323
3324 #. type: textblock
3325 #: ../edit/virt-edit.pod:320
3326 msgid ""
3327 "C<virt-edit> cannot create new files.  Use the guestfish commands C<touch>, "
3328 "C<write> or C<upload> instead:"
3329 msgstr ""
3330
3331 #. type: verbatim
3332 #: ../edit/virt-edit.pod:323
3333 #, fuzzy, no-wrap
3334 #| msgid ""
3335 #| " guestfish --ro -d myguest -i\n"
3336 #| "\n"
3337 msgid ""
3338 " guestfish --rw -i -d domname touch /newfile\n"
3339 "\n"
3340 msgstr ""
3341 " guestfish --ro -d myguest -i\n"
3342 "\n"
3343
3344 #. type: verbatim
3345 #: ../edit/virt-edit.pod:325
3346 #, no-wrap
3347 msgid ""
3348 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
3349 "\n"
3350 msgstr ""
3351
3352 #. type: verbatim
3353 #: ../edit/virt-edit.pod:327
3354 #, no-wrap
3355 msgid ""
3356 " guestfish --rw -i -d domname upload localfile /newfile\n"
3357 "\n"
3358 msgstr ""
3359
3360 #. type: =head1
3361 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1086
3362 #: ../rescue/virt-rescue.pod:257 ../src/guestfs.pod:3074
3363 #: ../test-tool/libguestfs-test-tool.pod:95
3364 msgid "ENVIRONMENT VARIABLES"
3365 msgstr "ЗМІННІ СЕРЕДОВИЩА"
3366
3367 #. type: =item
3368 #: ../edit/virt-edit.pod:333
3369 #, fuzzy
3370 #| msgid "EDITOR"
3371 msgid "C<EDITOR>"
3372 msgstr "РЕДАКТОР"
3373
3374 #. type: textblock
3375 #: ../edit/virt-edit.pod:335
3376 msgid ""
3377 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
3378 "\"emacs -nw\">"
3379 msgstr ""
3380
3381 #. type: textblock
3382 #: ../edit/virt-edit.pod:338
3383 msgid "If not set, C<vi> is used."
3384 msgstr ""
3385
3386 #. type: textblock
3387 #: ../edit/virt-edit.pod:356
3388 #, fuzzy
3389 #| msgid ""
3390 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3391 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
3392 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3393 msgid ""
3394 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
3395 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3396 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
3397 msgstr ""
3398 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3399 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
3400 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3401
3402 #. type: textblock
3403 #: ../examples/guestfs-examples.pod:5
3404 msgid "guestfs-examples - Examples of using libguestfs from C"
3405 msgstr ""
3406
3407 #. type: verbatim
3408 #: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9
3409 #, no-wrap
3410 msgid ""
3411 " #include <guestfs.h>\n"
3412 " \n"
3413 msgstr ""
3414 " #include <guestfs.h>\n"
3415 " \n"
3416
3417 #. type: verbatim
3418 #: ../examples/guestfs-examples.pod:11
3419 #, no-wrap
3420 msgid ""
3421 " guestfs_h *g = guestfs_create ();\n"
3422 " guestfs_add_drive_ro (g, \"disk.img\");\n"
3423 " guestfs_launch (g);\n"
3424 "\n"
3425 msgstr ""
3426
3427 #. type: verbatim
3428 #: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19
3429 #, no-wrap
3430 msgid ""
3431 " cc prog.c -o prog -lguestfs\n"
3432 "or:\n"
3433 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
3434 "\n"
3435 msgstr ""
3436 " cc prog.c -o prog -lguestfs\n"
3437 "або:\n"
3438 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
3439 "\n"
3440
3441 #. type: textblock
3442 #: ../examples/guestfs-examples.pod:21
3443 msgid ""
3444 "This manual page contains examples of calling libguestfs from the C "
3445 "programming language.  If you are not familiar with using libguestfs, you "
3446 "also need to read L<guestfs(3)>."
3447 msgstr ""
3448
3449 #. type: =head1
3450 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
3451 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
3452 #: ../python/examples/guestfs-python.pod:34
3453 #: ../ruby/examples/guestfs-ruby.pod:28
3454 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
3455 msgstr ""
3456
3457 #. type: textblock
3458 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
3459 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
3460 #: ../python/examples/guestfs-python.pod:36
3461 #: ../ruby/examples/guestfs-ruby.pod:30
3462 #, fuzzy
3463 #| msgid "EXAMPLE"
3464 msgid "@EXAMPLE1@"
3465 msgstr "ПРИКЛАД"
3466
3467 #. type: =head1
3468 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
3469 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
3470 #: ../python/examples/guestfs-python.pod:38
3471 #: ../ruby/examples/guestfs-ruby.pod:32
3472 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
3473 msgstr ""
3474
3475 #. type: textblock
3476 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
3477 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
3478 #: ../python/examples/guestfs-python.pod:40
3479 #: ../ruby/examples/guestfs-ruby.pod:34
3480 #, fuzzy
3481 #| msgid "EXAMPLE"
3482 msgid "@EXAMPLE2@"
3483 msgstr "ПРИКЛАД"
3484
3485 #. type: textblock
3486 #: ../examples/guestfs-examples.pod:35
3487 #, fuzzy
3488 #| msgid ""
3489 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3490 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
3491 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3492 msgid ""
3493 "L<guestfs(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, "
3494 "L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
3495 "libguestfs.org/>."
3496 msgstr ""
3497 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
3498 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
3499 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
3500
3501 #. type: =head1
3502 #: ../examples/guestfs-examples.pod:44 ../examples/guestfs-recipes.pod:396
3503 #: ../fish/guestfish.pod:1260 ../fish/virt-copy-in.pod:60
3504 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
3505 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:319
3506 #: ../inspector/virt-inspector.pod:389 ../java/examples/guestfs-java.pod:57
3507 #: ../ocaml/examples/guestfs-ocaml.pod:90 ../perl/examples/guestfs-perl.pod:51
3508 #: ../python/examples/guestfs-python.pod:53
3509 #: ../ruby/examples/guestfs-ruby.pod:47 ../src/guestfs.pod:3207
3510 #: ../test-tool/libguestfs-test-tool.pod:106
3511 msgid "AUTHORS"
3512 msgstr "АВТОРИ"
3513
3514 #. type: textblock
3515 #: ../examples/guestfs-examples.pod:46 ../examples/guestfs-recipes.pod:398
3516 #: ../fish/guestfish.pod:1262 ../fish/virt-copy-in.pod:62
3517 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
3518 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:321
3519 #: ../java/examples/guestfs-java.pod:59 ../ocaml/examples/guestfs-ocaml.pod:92
3520 #: ../perl/examples/guestfs-perl.pod:53
3521 #: ../python/examples/guestfs-python.pod:55
3522 #: ../ruby/examples/guestfs-ruby.pod:49 ../src/guestfs.pod:3209
3523 #: ../test-tool/libguestfs-test-tool.pod:108
3524 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3525 msgstr ""
3526
3527 #. type: textblock
3528 #: ../examples/guestfs-examples.pod:50 ../ocaml/examples/guestfs-ocaml.pod:96
3529 #: ../python/examples/guestfs-python.pod:59
3530 #: ../ruby/examples/guestfs-ruby.pod:53
3531 #, fuzzy
3532 #| msgid "Copyright (C) 2009 Red Hat Inc."
3533 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
3534 msgstr "© Red Hat Inc., 2009"
3535
3536 #. type: textblock
3537 #: ../examples/guestfs-examples.pod:52 ../examples/guestfs-recipes.pod:404
3538 #: ../java/examples/guestfs-java.pod:65 ../ocaml/examples/guestfs-ocaml.pod:98
3539 #: ../perl/examples/guestfs-perl.pod:59
3540 #: ../python/examples/guestfs-python.pod:61
3541 #: ../ruby/examples/guestfs-ruby.pod:55
3542 msgid ""
3543 "The examples in this manual page may be freely copied, modified and "
3544 "distributed without any restrictions."
3545 msgstr ""
3546
3547 #. type: textblock
3548 #: ../examples/guestfs-examples.pod:55 ../examples/guestfs-recipes.pod:407
3549 #: ../java/examples/guestfs-java.pod:68
3550 #: ../ocaml/examples/guestfs-ocaml.pod:101
3551 #: ../perl/examples/guestfs-perl.pod:62
3552 #: ../python/examples/guestfs-python.pod:64
3553 #: ../ruby/examples/guestfs-ruby.pod:58 ../src/guestfs.pod:3216
3554 msgid ""
3555 "This library is free software; you can redistribute it and/or modify it "
3556 "under the terms of the GNU Lesser General Public License as published by the "
3557 "Free Software Foundation; either version 2 of the License, or (at your "
3558 "option) any later version."
3559 msgstr ""
3560
3561 #. type: textblock
3562 #: ../examples/guestfs-examples.pod:60 ../examples/guestfs-recipes.pod:412
3563 #: ../java/examples/guestfs-java.pod:73
3564 #: ../ocaml/examples/guestfs-ocaml.pod:106
3565 #: ../perl/examples/guestfs-perl.pod:67
3566 #: ../python/examples/guestfs-python.pod:69
3567 #: ../ruby/examples/guestfs-ruby.pod:63 ../src/guestfs.pod:3221
3568 msgid ""
3569 "This library is distributed in the hope that it will be useful, but WITHOUT "
3570 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3571 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3572 "for more details."
3573 msgstr ""
3574
3575 #. type: textblock
3576 #: ../examples/guestfs-examples.pod:65 ../examples/guestfs-recipes.pod:417
3577 #: ../java/examples/guestfs-java.pod:78
3578 #: ../ocaml/examples/guestfs-ocaml.pod:111
3579 #: ../perl/examples/guestfs-perl.pod:72
3580 #: ../python/examples/guestfs-python.pod:74
3581 #: ../ruby/examples/guestfs-ruby.pod:68 ../src/guestfs.pod:3226
3582 msgid ""
3583 "You should have received a copy of the GNU Lesser General Public License "
3584 "along with this library; if not, write to the Free Software Foundation, "
3585 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3586 msgstr ""
3587
3588 #. type: =end
3589 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
3590 msgid "comment"
3591 msgstr ""
3592
3593 #. type: textblock
3594 #: ../examples/guestfs-recipes.pod:5
3595 msgid ""
3596 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
3597 "here.  The only way which works for both sorts of output is to just write "
3598 "the URL directly.  Do NOT use L<...> for URLs."
3599 msgstr ""
3600
3601 #. type: textblock
3602 #: ../examples/guestfs-recipes.pod:9
3603 msgid ""
3604 "We break with tradition here and don't use ALL CAPS for the section "
3605 "headings, as this makes them much easier to read."
3606 msgstr ""
3607
3608 #. type: textblock
3609 #: ../examples/guestfs-recipes.pod:16
3610 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
3611 msgstr ""
3612
3613 #. type: textblock
3614 #: ../examples/guestfs-recipes.pod:20
3615 msgid ""
3616 "This page contains recipes for and links to things you can do using "
3617 "libguestfs, L<guestfish(1)> and the virt tools."
3618 msgstr ""
3619
3620 #. type: =head1
3621 #: ../examples/guestfs-recipes.pod:23
3622 msgid "Audit a virtual machine for setuid files"
3623 msgstr ""
3624
3625 #. type: textblock
3626 #: ../examples/guestfs-recipes.pod:25
3627 msgid ""
3628 "The link below contains a small program which can be used to audit a Linux "
3629 "virtual machine to see what setuid and setgid files it contains."
3630 msgstr ""
3631
3632 #. type: textblock
3633 #: ../examples/guestfs-recipes.pod:28
3634 msgid ""
3635 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
3636 "files/#content"
3637 msgstr ""
3638
3639 #. type: =head1
3640 #: ../examples/guestfs-recipes.pod:30
3641 msgid "Change the background image in a Windows XP VM"
3642 msgstr ""
3643
3644 #. type: textblock
3645 #: ../examples/guestfs-recipes.pod:32
3646 msgid ""
3647 "The links below explain how to use L<guestfish(1)> to change the background "
3648 "image for a user of a Windows XP VM.  Unfortunately the technique appears to "
3649 "be substantially different for each version of Windows."
3650 msgstr ""
3651
3652 #. type: textblock
3653 #: ../examples/guestfs-recipes.pod:37
3654 msgid ""
3655 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
3656 "lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
3657 msgstr ""
3658
3659 #. type: =head1
3660 #: ../examples/guestfs-recipes.pod:40
3661 msgid "Cloning a virtual machine (Linux)"
3662 msgstr ""
3663
3664 #. type: textblock
3665 #: ../examples/guestfs-recipes.pod:42
3666 msgid ""
3667 "The guestfish technique described in the link below works well for most "
3668 "Linux VMs.  Depending on the Linux distro you may need to change the paths "
3669 "slightly."
3670 msgstr ""
3671
3672 #. type: textblock
3673 #: ../examples/guestfs-recipes.pod:46
3674 msgid ""
3675 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
3676 "vm/#content"
3677 msgstr ""
3678
3679 #. type: textblock
3680 #: ../examples/guestfs-recipes.pod:48
3681 msgid ""
3682 "Avoid L<virt-clone(1)>.  Currently what to do about virt-clone is under "
3683 "discussion."
3684 msgstr ""
3685
3686 #. type: textblock
3687 #: ../examples/guestfs-recipes.pod:51
3688 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
3689 msgstr ""
3690
3691 #. type: =head1
3692 #: ../examples/guestfs-recipes.pod:53
3693 msgid "Cloning a virtual machine (Windows)"
3694 msgstr ""
3695
3696 #. type: textblock
3697 #: ../examples/guestfs-recipes.pod:55
3698 msgid ""
3699 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
3700 "straightforward.  Currently there is code in the Aeolus Oz project which "
3701 "does this (using libguestfs).  As part of our review of the virt-clone tool, "
3702 "we may add sysprepping ability."
3703 msgstr ""
3704
3705 #. type: textblock
3706 #: ../examples/guestfs-recipes.pod:60
3707 msgid ""
3708 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
3709 "list/2011-May/msg00019.html"
3710 msgstr ""
3711
3712 #. type: =head1
3713 #: ../examples/guestfs-recipes.pod:63
3714 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
3715 msgstr ""
3716
3717 #. type: textblock
3718 #: ../examples/guestfs-recipes.pod:65
3719 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
3720 msgstr ""
3721
3722 #. type: verbatim
3723 #: ../examples/guestfs-recipes.pod:67
3724 #, no-wrap
3725 msgid ""
3726 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
3727 "\n"
3728 msgstr ""
3729
3730 #. type: textblock
3731 #: ../examples/guestfs-recipes.pod:69
3732 msgid "To export just a subdirectory, eg. C</files>, do:"
3733 msgstr ""
3734
3735 #. type: verbatim
3736 #: ../examples/guestfs-recipes.pod:71
3737 #, no-wrap
3738 msgid ""
3739 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
3740 "\n"
3741 msgstr ""
3742
3743 #. type: =head1
3744 #: ../examples/guestfs-recipes.pod:73
3745 msgid "Create empty disk images"
3746 msgstr ""
3747
3748 #. type: textblock
3749 #: ../examples/guestfs-recipes.pod:75
3750 msgid ""
3751 "You can use the L<guestfish(1)> I<-N> option to create empty disk images.  "
3752 "The useful guide below explains the options available."
3753 msgstr ""
3754
3755 #. type: textblock
3756 #: ../examples/guestfs-recipes.pod:78
3757 msgid ""
3758 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
3759 "#content"
3760 msgstr ""
3761
3762 #. type: =head1
3763 #: ../examples/guestfs-recipes.pod:80
3764 msgid "Dump raw filesystem content from inside a disk image or VM"
3765 msgstr ""
3766
3767 #. type: textblock
3768 #: ../examples/guestfs-recipes.pod:82
3769 msgid ""
3770 "You can use the L<guestfish(1)> C<download> command to extract the raw "
3771 "filesystem content from any filesystem in a disk image or a VM (even one "
3772 "which is encrypted or buried inside an LV):"
3773 msgstr ""
3774
3775 #. type: verbatim
3776 #: ../examples/guestfs-recipes.pod:86
3777 #, fuzzy, no-wrap
3778 #| msgid ""
3779 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
3780 #| "\n"
3781 msgid ""
3782 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
3783 "\n"
3784 msgstr ""
3785 " guestfish --format=raw -a disk.img --format -a another.img\n"
3786 "\n"
3787
3788 #. type: verbatim
3789 #: ../examples/guestfs-recipes.pod:88
3790 #, no-wrap
3791 msgid ""
3792 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
3793 "\n"
3794 msgstr ""
3795
3796 #. type: textblock
3797 #: ../examples/guestfs-recipes.pod:90
3798 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
3799 msgstr ""
3800
3801 #. type: =head1
3802 #: ../examples/guestfs-recipes.pod:92
3803 msgid "Edit grub configuration in a VM"
3804 msgstr ""
3805
3806 #. type: textblock
3807 #: ../examples/guestfs-recipes.pod:94
3808 msgid "You can use this to:"
3809 msgstr ""
3810
3811 #. type: textblock
3812 #: ../examples/guestfs-recipes.pod:100
3813 msgid "Fix a virtual machine that does not boot."
3814 msgstr ""
3815
3816 #. type: textblock
3817 #: ../examples/guestfs-recipes.pod:104
3818 msgid "Change which kernel is used to boot the VM."
3819 msgstr ""
3820
3821 #. type: textblock
3822 #: ../examples/guestfs-recipes.pod:108
3823 msgid "Change kernel command line options."
3824 msgstr ""
3825
3826 #. type: textblock
3827 #: ../examples/guestfs-recipes.pod:112
3828 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
3829 msgstr ""
3830
3831 #. type: verbatim
3832 #: ../examples/guestfs-recipes.pod:114
3833 #, no-wrap
3834 msgid ""
3835 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
3836 "\n"
3837 msgstr ""
3838
3839 #. type: textblock
3840 #: ../examples/guestfs-recipes.pod:116
3841 msgid ""
3842 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
3843 "this:"
3844 msgstr ""
3845
3846 #. type: verbatim
3847 #: ../examples/guestfs-recipes.pod:119
3848 #, no-wrap
3849 msgid ""
3850 " virt-rescue -d BrokenGuest\n"
3851 "\n"
3852 msgstr ""
3853
3854 #. type: =head1
3855 #: ../examples/guestfs-recipes.pod:121
3856 msgid "Export any directory from a VM"
3857 msgstr ""
3858
3859 #. type: textblock
3860 #: ../examples/guestfs-recipes.pod:123
3861 msgid ""
3862 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
3863 msgstr ""
3864
3865 #. type: verbatim
3866 #: ../examples/guestfs-recipes.pod:126
3867 #, fuzzy, no-wrap
3868 #| msgid ""
3869 #| " copy-out /home .\n"
3870 #| "\n"
3871 msgid ""
3872 " virt-copy-out -d Guest /home .\n"
3873 "\n"
3874 msgstr ""
3875 " copy-out /home .\n"
3876 "\n"
3877
3878 #. type: textblock
3879 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
3880 #: ../fish/guestfish-actions.pod:1292 ../fish/guestfish-actions.pod:1934
3881 #: ../src/guestfs-actions.pod:18 ../src/guestfs-actions.pod:1922
3882 #: ../src/guestfs-actions.pod:2860 ../src/guestfs.pod:1640
3883 #: ../tools/virt-win-reg.pl:706
3884 msgid "Notes:"
3885 msgstr "Нотатки:"
3886
3887 #. type: textblock
3888 #: ../examples/guestfs-recipes.pod:134
3889 msgid ""
3890 "The final dot of the command is not a printing error.  It means we want to "
3891 "copy out to the current directory."
3892 msgstr ""
3893
3894 #. type: textblock
3895 #: ../examples/guestfs-recipes.pod:139
3896 msgid "This creates a directory called C<home> under the current directory."
3897 msgstr ""
3898
3899 #. type: textblock
3900 #: ../examples/guestfs-recipes.pod:143
3901 msgid ""
3902 "If the guest is a Windows guest then you can use drive letters and "
3903 "backslashes, but you must prefix the path with C<win:> and quote it to "
3904 "protect it from the shell, like this:"
3905 msgstr ""
3906
3907 #. type: verbatim
3908 #: ../examples/guestfs-recipes.pod:147
3909 #, no-wrap
3910 msgid ""
3911 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
3912 "\n"
3913 msgstr ""
3914
3915 #. type: textblock
3916 #: ../examples/guestfs-recipes.pod:149
3917 msgid "To get the output as a compressed tarball, do:"
3918 msgstr ""
3919
3920 #. type: verbatim
3921 #: ../examples/guestfs-recipes.pod:151
3922 #, no-wrap
3923 msgid ""
3924 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
3925 "\n"
3926 msgstr ""
3927
3928 #. type: textblock
3929 #: ../examples/guestfs-recipes.pod:153
3930 msgid ""
3931 "Although it sounds tempting, this is usually not a reliable way to get a "
3932 "backup from a running guest.  See the entry in the FAQ: http://libguestfs."
3933 "org/FAQ.html#backup"
3934 msgstr ""
3935
3936 #. type: =head1
3937 #: ../examples/guestfs-recipes.pod:157
3938 msgid "Find out which user is using the most space"
3939 msgstr ""
3940
3941 #. type: textblock
3942 #: ../examples/guestfs-recipes.pod:159
3943 msgid ""
3944 "This simple script examines a Linux guest to find out which user is using "
3945 "the most space in their home directory:"
3946 msgstr ""
3947
3948 #. type: verbatim
3949 #: ../examples/guestfs-recipes.pod:162
3950 #, fuzzy, no-wrap
3951 #| msgid ""
3952 #| " #!/usr/bin/guestfish -f\n"
3953 #| "\n"
3954 msgid ""
3955 " #!/bin/sh -\n"
3956 " \n"
3957 msgstr ""
3958 " #!/usr/bin/guestfish -f\n"
3959 "\n"
3960
3961 #. type: verbatim
3962 #: ../examples/guestfs-recipes.pod:164
3963 #, fuzzy, no-wrap
3964 #| msgid ""
3965 #| " set-qemu qemu\n"
3966 #| "\n"
3967 msgid ""
3968 " set -e\n"
3969 " \n"
3970 msgstr ""
3971 " set-qemu qemu\n"
3972 "\n"
3973
3974 #. type: verbatim
3975 #: ../examples/guestfs-recipes.pod:166
3976 #, no-wrap
3977 msgid ""
3978 " vm=\"$1\"\n"
3979 " dir=/home\n"
3980 " \n"
3981 msgstr ""
3982
3983 #. type: verbatim
3984 #: ../examples/guestfs-recipes.pod:169
3985 #, fuzzy, no-wrap
3986 #| msgid ""
3987 #| " guestfish --ro -d myguest -i\n"
3988 #| "\n"
3989 msgid ""
3990 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
3991 " \n"
3992 msgstr ""
3993 " guestfish --ro -d myguest -i\n"
3994 "\n"
3995
3996 #. type: verbatim
3997 #: ../examples/guestfs-recipes.pod:171
3998 #, no-wrap
3999 msgid ""
4000 " for d in $(guestfish --remote ls \"$dir\"); do\n"
4001 "     echo -n \"$dir/$d\"\n"
4002 "     echo -ne '\\t'\n"
4003 "     guestfish --remote du \"$dir/$d\";\n"
4004 " done | sort -nr -k 2\n"
4005 " \n"
4006 msgstr ""
4007
4008 #. type: verbatim
4009 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
4010 #, no-wrap
4011 msgid ""
4012 " guestfish --remote exit\n"
4013 "\n"
4014 msgstr ""
4015
4016 #. type: =head1
4017 #: ../examples/guestfs-recipes.pod:179
4018 msgid "Get DHCP address from a VM"
4019 msgstr ""
4020
4021 #. type: textblock
4022 #: ../examples/guestfs-recipes.pod:181
4023 msgid ""
4024 "The link below explains the many different possible techniques for getting "
4025 "the last assigned DHCP address of a virtual machine."
4026 msgstr ""
4027
4028 #. type: textblock
4029 #: ../examples/guestfs-recipes.pod:184
4030 msgid ""
4031 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
4032 "a-virtual-machine-disk-image/#content"
4033 msgstr ""
4034
4035 #. type: textblock
4036 #: ../examples/guestfs-recipes.pod:186
4037 msgid ""
4038 "In the libguestfs source examples directory you will find the latest version "
4039 "of the C<virt-dhcp-address.c> program."
4040 msgstr ""
4041
4042 #. type: =head1
4043 #: ../examples/guestfs-recipes.pod:189
4044 msgid "Get the operating system product name string"
4045 msgstr ""
4046
4047 #. type: textblock
4048 #: ../examples/guestfs-recipes.pod:191
4049 msgid "Save the following script into a file called C<product-name.sh>:"
4050 msgstr ""
4051
4052 #. type: verbatim
4053 #: ../examples/guestfs-recipes.pod:193
4054 #, fuzzy, no-wrap
4055 #| msgid ""
4056 #| " eval \"`guestfish --listen`\"\n"
4057 #| " guestfish --remote add-ro disk.img\n"
4058 #| " guestfish --remote run\n"
4059 #| " guestfish --remote lvs\n"
4060 #| "\n"
4061 msgid ""
4062 " #!/bin/sh -\n"
4063 " set -e\n"
4064 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
4065 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
4066 " guestfish --remote inspect-get-product-name \"$root\"\n"
4067 " guestfish --remote exit\n"
4068 "\n"
4069 msgstr ""
4070 " eval \"`guestfish --listen`\"\n"
4071 " guestfish --remote add-ro disk.img\n"
4072 " guestfish --remote run\n"
4073 " guestfish --remote lvs\n"
4074 "\n"
4075
4076 #. type: textblock
4077 #: ../examples/guestfs-recipes.pod:200
4078 msgid "Make the script executable and run it on a named guest:"
4079 msgstr ""
4080
4081 #. type: verbatim
4082 #: ../examples/guestfs-recipes.pod:202
4083 #, no-wrap
4084 msgid ""
4085 " # product-name.sh RHEL60x64\n"
4086 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
4087 "\n"
4088 msgstr ""
4089
4090 #. type: textblock
4091 #: ../examples/guestfs-recipes.pod:205
4092 msgid ""
4093 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
4094 "C<xpath> command line tool or from your favourite programming language:"
4095 msgstr ""
4096
4097 #. type: verbatim
4098 #: ../examples/guestfs-recipes.pod:209
4099 #, no-wrap
4100 msgid ""
4101 " # virt-inspector RHEL60x64 > xml\n"
4102 " # xpath '//product_name' < xml\n"
4103 " Found 1 nodes:\n"
4104 " -- NODE --\n"
4105 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
4106 "\n"
4107 msgstr ""
4108
4109 #. type: =head1
4110 #: ../examples/guestfs-recipes.pod:215
4111 msgid "Get the default boot kernel for a Linux VM"
4112 msgstr ""
4113
4114 #. type: textblock
4115 #: ../examples/guestfs-recipes.pod:217
4116 msgid ""
4117 "The link below contains a program to print the default boot kernel for a "
4118 "Linux VM."
4119 msgstr ""
4120
4121 #. type: textblock
4122 #: ../examples/guestfs-recipes.pod:220
4123 msgid ""
4124 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
4125 "kernel-for-a-vm/#content"
4126 msgstr ""
4127
4128 #. type: textblock
4129 #: ../examples/guestfs-recipes.pod:222
4130 msgid ""
4131 "It uses Augeas, and the technique is generally applicable for many different "
4132 "tasks, such as:"
4133 msgstr ""
4134
4135 #. type: textblock
4136 #: ../examples/guestfs-recipes.pod:229
4137 msgid "listing the user accounts in the guest"
4138 msgstr ""
4139
4140 #. type: textblock
4141 #: ../examples/guestfs-recipes.pod:233
4142 msgid "what repositories is it configured to use"
4143 msgstr ""
4144
4145 #. type: textblock
4146 #: ../examples/guestfs-recipes.pod:237
4147 msgid "what NTP servers does it connect to"
4148 msgstr ""
4149
4150 #. type: textblock
4151 #: ../examples/guestfs-recipes.pod:241
4152 msgid "what were the boot messages last time it booted"
4153 msgstr ""
4154
4155 #. type: textblock
4156 #: ../examples/guestfs-recipes.pod:245
4157 msgid "listing who was logged in recently"
4158 msgstr ""
4159
4160 #. type: textblock
4161 #: ../examples/guestfs-recipes.pod:249
4162 msgid "http://augeas.net/"
4163 msgstr ""
4164
4165 #. type: =head1
4166 #: ../examples/guestfs-recipes.pod:251
4167 msgid "Install RPMs in a guest"
4168 msgstr ""
4169
4170 #. type: textblock
4171 #: ../examples/guestfs-recipes.pod:253
4172 msgid ""
4173 "The link below contains a method to install RPMs in a guest.  In fact the "
4174 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
4175 "installs them next time the guest is booted.  You could use this technique "
4176 "to install vital security updates in an offline guest."
4177 msgstr ""
4178
4179 #. type: textblock
4180 #: ../examples/guestfs-recipes.pod:259
4181 msgid ""
4182 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
4183 msgstr ""
4184
4185 #. type: =head1
4186 #: ../examples/guestfs-recipes.pod:261
4187 msgid "List applications installed in a VM"
4188 msgstr ""
4189
4190 #. type: textblock
4191 #: ../examples/guestfs-recipes.pod:263
4192 msgid "Save the following to a file C<list-apps.sh>:"
4193 msgstr ""
4194
4195 #. type: verbatim
4196 #: ../examples/guestfs-recipes.pod:265
4197 #, fuzzy, no-wrap
4198 #| msgid ""
4199 #| " eval \"`guestfish --listen`\"\n"
4200 #| " guestfish --remote add-ro disk.img\n"
4201 #| " guestfish --remote run\n"
4202 #| " guestfish --remote lvs\n"
4203 #| "\n"
4204 msgid ""
4205 " #!/bin/sh -\n"
4206 " set -e\n"
4207 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
4208 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
4209 " guestfish --remote inspect-list-applications \"$root\"\n"
4210 " guestfish --remote exit\n"
4211 "\n"
4212 msgstr ""
4213 " eval \"`guestfish --listen`\"\n"
4214 " guestfish --remote add-ro disk.img\n"
4215 " guestfish --remote run\n"
4216 " guestfish --remote lvs\n"
4217 "\n"
4218
4219 #. type: textblock
4220 #: ../examples/guestfs-recipes.pod:272
4221 msgid ""
4222 "Make the file executable and then you can run it on any named virtual "
4223 "machine:"
4224 msgstr ""
4225
4226 #. type: verbatim
4227 #: ../examples/guestfs-recipes.pod:275
4228 #, no-wrap
4229 msgid ""
4230 " # list-apps.sh WinGuest\n"
4231 " [0] = {\n"
4232 "   app_name: Mozilla Firefox (3.6.12)\n"
4233 "   app_display_name: Mozilla Firefox (3.6.12)\n"
4234 "   app_epoch: 0\n"
4235 "   app_version: 3.6.12 (en-GB)\n"
4236 "   app_release:\n"
4237 "   app_install_path: C:\\Program Files\\Mozilla Firefox\n"
4238 "   app_trans_path:\n"
4239 "   app_publisher: Mozilla\n"
4240 "   app_url: http://www.mozilla.com/en-GB/\n"
4241 "   app_source_package:\n"
4242 "   app_summary:\n"
4243 "   app_description: Mozilla Firefox\n"
4244 " }\n"
4245 " [1] = {\n"
4246 "   app_name: VLC media player\n"
4247 "   app_display_name: VLC media player 1.1.5\n"
4248 "   app_epoch: 0\n"
4249 "   app_version: 1.1.5\n"
4250 "   app_release:\n"
4251 "   app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
4252 "   app_trans_path:\n"
4253 "   app_publisher: VideoLAN\n"
4254 "   app_url: http://www.videolan.org/\n"
4255 "   app_source_package:\n"
4256 "   app_summary:\n"
4257 "   app_description:\n"
4258 " }\n"
4259 "\n"
4260 msgstr ""
4261
4262 #. type: textblock
4263 #: ../examples/guestfs-recipes.pod:305
4264 msgid ""
4265 "If you want to run the script on disk images (instead of libvirt virtual "
4266 "machines), change C<-d \"$1\"> to C<-a \"$1\">.  See also L<virt-inspector(1)"
4267 ">."
4268 msgstr ""
4269
4270 #. type: =head1
4271 #: ../examples/guestfs-recipes.pod:309
4272 msgid "List files and directories in a VM"
4273 msgstr ""
4274
4275 #. type: textblock
4276 #: ../examples/guestfs-recipes.pod:311
4277 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
4278 msgstr ""
4279
4280 #. type: verbatim
4281 #: ../examples/guestfs-recipes.pod:313
4282 #, fuzzy, no-wrap
4283 #| msgid ""
4284 #| " guestfish --ro -d myguest -i\n"
4285 #| "\n"
4286 msgid ""
4287 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
4288 "\n"
4289 msgstr ""
4290 " guestfish --ro -d myguest -i\n"
4291 "\n"
4292
4293 #. type: =head1
4294 #: ../examples/guestfs-recipes.pod:315
4295 msgid "List services in a Windows VM"
4296 msgstr ""
4297
4298 #. type: textblock
4299 #: ../examples/guestfs-recipes.pod:317
4300 msgid ""
4301 "The link below contains a script that can be used to list out the services "
4302 "from a Windows VM, and whether those services run at boot time or are loaded "
4303 "on demand."
4304 msgstr ""
4305
4306 #. type: textblock
4307 #: ../examples/guestfs-recipes.pod:321
4308 msgid ""
4309 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
4310 "#content"
4311 msgstr ""
4312
4313 #. type: =head1
4314 #: ../examples/guestfs-recipes.pod:323
4315 msgid "Make a disk image sparse"
4316 msgstr ""
4317
4318 #. type: textblock
4319 #: ../examples/guestfs-recipes.pod:325
4320 msgid ""
4321 "The link below contains some guides for making a disk image sparse (or "
4322 "reintroducing sparseness)."
4323 msgstr ""
4324
4325 #. type: textblock
4326 #: ../examples/guestfs-recipes.pod:328
4327 msgid ""
4328 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/#content"
4329 msgstr ""
4330
4331 #. type: =head1
4332 #: ../examples/guestfs-recipes.pod:330
4333 msgid "Monitor disk usage over time"
4334 msgstr ""
4335
4336 #. type: textblock
4337 #: ../examples/guestfs-recipes.pod:332
4338 msgid ""
4339 "You can use L<virt-df(1)> to monitor disk usage of your guests over time.  "
4340 "The link below contains a guide."
4341 msgstr ""
4342
4343 #. type: textblock
4344 #: ../examples/guestfs-recipes.pod:335
4345 msgid "http://virt-tools.org/learning/advanced-virt-df/"
4346 msgstr ""
4347
4348 #. type: =head1
4349 #: ../examples/guestfs-recipes.pod:337
4350 msgid "Reading the Windows Event Log from Windows Vista (or later)"
4351 msgstr ""
4352
4353 #. type: textblock
4354 #: ../examples/guestfs-recipes.pod:339
4355 msgid ""
4356 "L<guestfish(1)> plus the tools described in the link below can be used to "
4357 "read out the Windows Event Log from any virtual machine running Windows "
4358 "Vista or a later version."
4359 msgstr ""
4360
4361 #. type: textblock
4362 #: ../examples/guestfs-recipes.pod:343
4363 msgid ""
4364 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
4365 "guestfish/#content"
4366 msgstr ""
4367
4368 #. type: =head1
4369 #: ../examples/guestfs-recipes.pod:345
4370 msgid "Remove root password (Linux)"
4371 msgstr ""
4372
4373 #. type: textblock
4374 #: ../examples/guestfs-recipes.pod:347
4375 msgid ""
4376 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
4377 "files.  One use is to remove the root password from a Linux guest:"
4378 msgstr ""
4379
4380 #. type: verbatim
4381 #: ../examples/guestfs-recipes.pod:350
4382 #, no-wrap
4383 msgid ""
4384 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
4385 "\n"
4386 msgstr ""
4387
4388 #. type: =head1
4389 #: ../examples/guestfs-recipes.pod:352
4390 msgid "Remove Administrator password (Windows)"
4391 msgstr ""
4392
4393 #. type: textblock
4394 #: ../examples/guestfs-recipes.pod:354
4395 msgid ""
4396 "The link below contains one technique for removing the Administrator "
4397 "password from a Windows VM, or to be more precise, it gives you a command "
4398 "prompt the next time you log in which you can use to bypass any security:"
4399 msgstr ""
4400
4401 #. type: textblock
4402 #: ../examples/guestfs-recipes.pod:359
4403 msgid ""
4404 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
4405 "administrator-password-with-guestfish/"
4406 msgstr ""
4407
4408 #. type: =head1
4409 #: ../examples/guestfs-recipes.pod:361
4410 msgid "Unpack a live CD"
4411 msgstr ""
4412
4413 #. type: textblock
4414 #: ../examples/guestfs-recipes.pod:363
4415 msgid ""
4416 "Linux live CDs often contain multiple layers of disk images wrapped like a "
4417 "Russian doll.  You can use L<guestfish(1)> to look inside these multiple "
4418 "layers, as outlined in the guide below."
4419 msgstr ""
4420
4421 #. type: textblock
4422 #: ../examples/guestfs-recipes.pod:367
4423 msgid ""
4424 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
4425 "cd/#content"
4426 msgstr ""
4427
4428 #. type: =head1
4429 #: ../examples/guestfs-recipes.pod:369
4430 msgid "Uploading and downloading files"
4431 msgstr ""
4432
4433 #. type: textblock
4434 #: ../examples/guestfs-recipes.pod:371
4435 msgid ""
4436 "The link below contains general tips on uploading (copying in)  and "
4437 "downloading (copying out) files from VMs."
4438 msgstr ""
4439
4440 #. type: textblock
4441 #: ../examples/guestfs-recipes.pod:374
4442 msgid ""
4443 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
4444 msgstr ""
4445
4446 #. type: =head1
4447 #: ../examples/guestfs-recipes.pod:376
4448 msgid "Use libguestfs tools on VMware ESX guests"
4449 msgstr ""
4450
4451 #. type: textblock
4452 #: ../examples/guestfs-recipes.pod:378
4453 msgid ""
4454 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
4455 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
4456 msgstr ""
4457
4458 #. type: textblock
4459 #: ../examples/guestfs-recipes.pod:382
4460 msgid ""
4461 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
4462 "guests/#content"
4463 msgstr ""
4464
4465 #. type: textblock
4466 #: ../examples/guestfs-recipes.pod:386
4467 #, fuzzy
4468 #| msgid ""
4469 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4470 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
4471 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4472 msgid ""
4473 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, "
4474 "L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby"
4475 "(3)>, L<http://libguestfs.org/>."
4476 msgstr ""
4477 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
4478 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
4479 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
4480
4481 #. type: textblock
4482 #: ../examples/guestfs-recipes.pod:402
4483 #, fuzzy
4484 #| msgid "Copyright (C) 2009-2010 Red Hat Inc."
4485 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
4486 msgstr "© Red Hat Inc., 2009–2010"
4487
4488 #. type: =head2
4489 #: ../fish/guestfish-actions.pod:1
4490 msgid "add-cdrom"
4491 msgstr ""
4492
4493 #. type: verbatim
4494 #: ../fish/guestfish-actions.pod:3
4495 #, no-wrap
4496 msgid ""
4497 " add-cdrom filename\n"
4498 "\n"
4499 msgstr ""
4500
4501 #. type: textblock
4502 #: ../fish/guestfish-actions.pod:5 ../src/guestfs-actions.pod:14
4503 msgid "This function adds a virtual CD-ROM disk image to the guest."
4504 msgstr ""
4505
4506 #. type: textblock
4507 #: ../fish/guestfish-actions.pod:7 ../src/guestfs-actions.pod:16
4508 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
4509 msgstr ""
4510
4511 #. type: textblock
4512 #: ../fish/guestfish-actions.pod:15
4513 msgid ""
4514 "This call checks for the existence of C<filename>.  This stops you from "
4515 "specifying other types of drive which are supported by qemu such as C<nbd:> "
4516 "and C<http:> URLs.  To specify those, use the general L</config> call "
4517 "instead."
4518 msgstr ""
4519
4520 #. type: textblock
4521 #: ../fish/guestfish-actions.pod:22
4522 msgid ""
4523 "If you just want to add an ISO file (often you use this as an efficient way "
4524 "to transfer large files into the guest), then you should probably use L</add-"
4525 "drive-ro> instead."
4526 msgstr ""
4527
4528 #. type: textblock
4529 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:163
4530 #: ../fish/guestfish-actions.pod:177
4531 msgid ""
4532 "I<This function is deprecated.> In new code, use the L</add_drive_opts> call "
4533 "instead."
4534 msgstr ""
4535
4536 #. type: textblock
4537 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:166
4538 #: ../fish/guestfish-actions.pod:180 ../fish/guestfish-actions.pod:991
4539 #: ../fish/guestfish-actions.pod:1351 ../fish/guestfish-actions.pod:1365
4540 #: ../fish/guestfish-actions.pod:3090 ../fish/guestfish-actions.pod:3297
4541 #: ../fish/guestfish-actions.pod:3411 ../fish/guestfish-actions.pod:3459
4542 #: ../fish/guestfish-actions.pod:4360 ../fish/guestfish-actions.pod:4383
4543 #: ../fish/guestfish-actions.pod:4405 ../fish/guestfish-actions.pod:4443
4544 #: ../fish/guestfish-actions.pod:5092 ../fish/guestfish-actions.pod:5198
4545 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:252
4546 #: ../src/guestfs-actions.pod:273 ../src/guestfs-actions.pod:1508
4547 #: ../src/guestfs-actions.pod:2007 ../src/guestfs-actions.pod:2028
4548 #: ../src/guestfs-actions.pod:4623 ../src/guestfs-actions.pod:4926
4549 #: ../src/guestfs-actions.pod:5155 ../src/guestfs-actions.pod:5255
4550 #: ../src/guestfs-actions.pod:6521 ../src/guestfs-actions.pod:6565
4551 #: ../src/guestfs-actions.pod:6599 ../src/guestfs-actions.pod:6662
4552 #: ../src/guestfs-actions.pod:7594 ../src/guestfs-actions.pod:7703
4553 #: ../src/guestfs-actions.pod:7886
4554 msgid ""
4555 "Deprecated functions will not be removed from the API, but the fact that "
4556 "they are deprecated indicates that there are problems with correct use of "
4557 "these functions."
4558 msgstr ""
4559
4560 #. type: =head2
4561 #: ../fish/guestfish-actions.pod:35
4562 msgid "add-domain"
4563 msgstr "add-domain"
4564
4565 #. type: =head2
4566 #: ../fish/guestfish-actions.pod:37
4567 msgid "domain"
4568 msgstr ""
4569
4570 #. type: verbatim
4571 #: ../fish/guestfish-actions.pod:39
4572 #, no-wrap
4573 msgid ""
4574 " add-domain dom [libvirturi:..] [readonly:..] [iface:..] [live:..] [allowuuid:..]\n"
4575 "\n"
4576 msgstr ""
4577
4578 #. type: textblock
4579 #: ../fish/guestfish-actions.pod:41
4580 msgid ""
4581 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
4582 "It works by connecting to libvirt, requesting the domain and domain XML from "
4583 "libvirt, parsing it for disks, and calling L</add-drive-opts> on each one."
4584 msgstr ""
4585
4586 #. type: textblock
4587 #: ../fish/guestfish-actions.pod:46 ../src/guestfs-actions.pod:64
4588 msgid ""
4589 "The number of disks added is returned.  This operation is atomic: if an "
4590 "error is returned, then no disks are added."
4591 msgstr ""
4592
4593 #. type: textblock
4594 #: ../fish/guestfish-actions.pod:49 ../src/guestfs-actions.pod:67
4595 msgid ""
4596 "This function does some minimal checks to make sure the libvirt domain is "
4597 "not running (unless C<readonly> is true).  In a future version we will try "
4598 "to acquire the libvirt lock on each disk."
4599 msgstr ""
4600
4601 #. type: textblock
4602 #: ../fish/guestfish-actions.pod:53 ../src/guestfs-actions.pod:71
4603 msgid ""
4604 "Disks must be accessible locally.  This often means that adding disks from a "
4605 "remote libvirt connection (see L<http://libvirt.org/remote.html>)  will fail "
4606 "unless those disks are accessible via the same device path locally too."
4607 msgstr ""
4608
4609 #. type: textblock
4610 #: ../fish/guestfish-actions.pod:58 ../src/guestfs-actions.pod:76
4611 msgid ""
4612 "The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
4613 "libvirt.org/uri.html>).  If this is not set then we connect to the default "
4614 "libvirt URI (or one set through an environment variable, see the libvirt "
4615 "documentation for full details)."
4616 msgstr ""
4617
4618 #. type: textblock
4619 #: ../fish/guestfish-actions.pod:64 ../src/guestfs-actions.pod:82
4620 msgid ""
4621 "The optional C<live> flag controls whether this call will try to connect to "
4622 "a running virtual machine C<guestfsd> process if it sees a suitable "
4623 "E<lt>channelE<gt> element in the libvirt XML definition.  The default (if "
4624 "the flag is omitted) is never to try.  See L<guestfs(3)/ATTACHING TO RUNNING "
4625 "DAEMONS> for more information."
4626 msgstr ""
4627
4628 #. type: textblock
4629 #: ../fish/guestfish-actions.pod:71 ../src/guestfs-actions.pod:89
4630 msgid ""
4631 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
4632 "passed instead of the domain name.  The C<dom> string is treated as a UUID "
4633 "first and looked up, and if that lookup fails then we treat C<dom> as a name "
4634 "as usual."
4635 msgstr ""
4636
4637 #. type: textblock
4638 #: ../fish/guestfish-actions.pod:76
4639 msgid ""
4640 "The other optional parameters are passed directly through to L</add-drive-"
4641 "opts>."
4642 msgstr ""
4643
4644 #. type: textblock
4645 #: ../fish/guestfish-actions.pod:79 ../fish/guestfish-actions.pod:143
4646 #: ../fish/guestfish-actions.pod:573 ../fish/guestfish-actions.pod:1973
4647 #: ../fish/guestfish-actions.pod:3139 ../fish/guestfish-actions.pod:3312
4648 #: ../fish/guestfish-actions.pod:3447
4649 msgid ""
4650 "This command has one or more optional arguments.  See L</OPTIONAL ARGUMENTS>."
4651 msgstr ""
4652
4653 #. type: =head2
4654 #: ../fish/guestfish-actions.pod:81
4655 msgid "add-drive"
4656 msgstr "add-drive"
4657
4658 #. type: verbatim
4659 #: ../fish/guestfish-actions.pod:83
4660 #, no-wrap
4661 msgid ""
4662 " add-drive filename\n"
4663 "\n"
4664 msgstr ""
4665 " add-drive назва_файла\n"
4666 "\n"
4667
4668 #. type: textblock
4669 #: ../fish/guestfish-actions.pod:85
4670 msgid ""
4671 "This function is the equivalent of calling L</add-drive-opts> with no "
4672 "optional parameters, so the disk is added writable, with the format being "
4673 "detected automatically."
4674 msgstr ""
4675
4676 #. type: textblock
4677 #: ../fish/guestfish-actions.pod:89
4678 msgid ""
4679 "Automatic detection of the format opens you up to a potential security hole "
4680 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
4681 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
4682 "you should think about replacing calls to this function with calls to L</add-"
4683 "drive-opts>, and specifying the format."
4684 msgstr ""
4685
4686 #. type: =head2
4687 #: ../fish/guestfish-actions.pod:96
4688 msgid "add-drive-opts"
4689 msgstr "add-drive-opts"
4690
4691 #. type: =head2
4692 #: ../fish/guestfish-actions.pod:98
4693 msgid "add"
4694 msgstr "add"
4695
4696 #. type: verbatim
4697 #: ../fish/guestfish-actions.pod:100
4698 #, no-wrap
4699 msgid ""
4700 " add-drive-opts filename [readonly:..] [format:..] [iface:..]\n"
4701 "\n"
4702 msgstr ""
4703
4704 #. type: textblock
4705 #: ../fish/guestfish-actions.pod:102 ../src/guestfs-actions.pod:160
4706 msgid ""
4707 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
4708 "The first time you call this function, the disk appears as C</dev/sda>, the "
4709 "second time as C</dev/sdb>, and so on."
4710 msgstr ""
4711
4712 #. type: textblock
4713 #: ../fish/guestfish-actions.pod:107 ../src/guestfs-actions.pod:165
4714 msgid ""
4715 "You don't necessarily need to be root when using libguestfs.  However you "
4716 "obviously do need sufficient permissions to access the filename for whatever "
4717 "operations you want to perform (ie. read access if you just want to read the "
4718 "image or write access if you want to modify the image)."
4719 msgstr ""
4720
4721 #. type: textblock
4722 #: ../fish/guestfish-actions.pod:113 ../src/guestfs-actions.pod:171
4723 msgid "This call checks that C<filename> exists."
4724 msgstr ""
4725
4726 #. type: textblock
4727 #: ../fish/guestfish-actions.pod:115 ../fish/guestfish-actions.pod:3101
4728 #: ../src/guestfs-actions.pod:173 ../src/guestfs-actions.pod:4660
4729 msgid "The optional arguments are:"
4730 msgstr ""
4731
4732 #. type: =item
4733 #: ../fish/guestfish-actions.pod:119 ../src/guestfs-actions.pod:177
4734 msgid "C<readonly>"
4735 msgstr "C<readonly>"
4736
4737 #. type: textblock
4738 #: ../fish/guestfish-actions.pod:121 ../src/guestfs-actions.pod:179
4739 msgid ""
4740 "If true then the image is treated as read-only.  Writes are still allowed, "
4741 "but they are stored in a temporary snapshot overlay which is discarded at "
4742 "the end.  The disk that you add is not modified."
4743 msgstr ""
4744
4745 #. type: =item
4746 #: ../fish/guestfish-actions.pod:125 ../src/guestfs-actions.pod:183
4747 msgid "C<format>"
4748 msgstr "C<format>"
4749
4750 #. type: textblock
4751 #: ../fish/guestfish-actions.pod:127
4752 msgid ""
4753 "This forces the image format.  If you omit this (or use L</add-drive> or L</"
4754 "add-drive-ro>) then the format is automatically detected.  Possible formats "
4755 "include C<raw> and C<qcow2>."
4756 msgstr ""
4757
4758 #. type: textblock
4759 #: ../fish/guestfish-actions.pod:131 ../src/guestfs-actions.pod:189
4760 msgid ""
4761 "Automatic detection of the format opens you up to a potential security hole "
4762 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
4763 "RHBZ#642934.  Specifying the format closes this security hole."
4764 msgstr ""
4765
4766 #. type: =item
4767 #: ../fish/guestfish-actions.pod:136 ../src/guestfs-actions.pod:194
4768 msgid "C<iface>"
4769 msgstr "C<iface>"
4770
4771 #. type: textblock
4772 #: ../fish/guestfish-actions.pod:138
4773 msgid ""
4774 "This rarely-used option lets you emulate the behaviour of the deprecated L</"
4775 "add-drive-with-if> call (q.v.)"
4776 msgstr ""
4777
4778 #. type: =head2
4779 #: ../fish/guestfish-actions.pod:145
4780 msgid "add-drive-ro"
4781 msgstr "add-drive-ro"
4782
4783 #. type: =head2
4784 #: ../fish/guestfish-actions.pod:147
4785 msgid "add-ro"
4786 msgstr "add-ro"
4787
4788 #. type: verbatim
4789 #: ../fish/guestfish-actions.pod:149
4790 #, no-wrap
4791 msgid ""
4792 " add-drive-ro filename\n"
4793 "\n"
4794 msgstr ""
4795
4796 #. type: textblock
4797 #: ../fish/guestfish-actions.pod:151
4798 msgid ""
4799 "This function is the equivalent of calling L</add-drive-opts> with the "
4800 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
4801 "is added read-only, with the format being detected automatically."
4802 msgstr ""
4803
4804 #. type: =head2
4805 #: ../fish/guestfish-actions.pod:156
4806 msgid "add-drive-ro-with-if"
4807 msgstr ""
4808
4809 #. type: verbatim
4810 #: ../fish/guestfish-actions.pod:158
4811 #, no-wrap
4812 msgid ""
4813 " add-drive-ro-with-if filename iface\n"
4814 "\n"
4815 msgstr ""
4816
4817 #. type: textblock
4818 #: ../fish/guestfish-actions.pod:160
4819 msgid ""
4820 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
4821 "interface emulation to use at run time."
4822 msgstr ""
4823
4824 #. type: =head2
4825 #: ../fish/guestfish-actions.pod:170
4826 msgid "add-drive-with-if"
4827 msgstr ""
4828
4829 #. type: verbatim
4830 #: ../fish/guestfish-actions.pod:172
4831 #, no-wrap
4832 msgid ""
4833 " add-drive-with-if filename iface\n"
4834 "\n"
4835 msgstr ""
4836
4837 #. type: textblock
4838 #: ../fish/guestfish-actions.pod:174
4839 msgid ""
4840 "This is the same as L</add-drive> but it allows you to specify the QEMU "
4841 "interface emulation to use at run time."
4842 msgstr ""
4843
4844 #. type: =head2
4845 #: ../fish/guestfish-actions.pod:184
4846 msgid "aug-clear"
4847 msgstr ""
4848
4849 #. type: verbatim
4850 #: ../fish/guestfish-actions.pod:186
4851 #, no-wrap
4852 msgid ""
4853 " aug-clear augpath\n"
4854 "\n"
4855 msgstr ""
4856
4857 #. type: textblock
4858 #: ../fish/guestfish-actions.pod:188 ../src/guestfs-actions.pod:290
4859 msgid ""
4860 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
4861 "L<augtool(1)> C<clear> command."
4862 msgstr ""
4863
4864 #. type: =head2
4865 #: ../fish/guestfish-actions.pod:191
4866 msgid "aug-close"
4867 msgstr ""
4868
4869 #. type: verbatim
4870 #: ../fish/guestfish-actions.pod:193
4871 #, no-wrap
4872 msgid ""
4873 " aug-close\n"
4874 "\n"
4875 msgstr ""
4876
4877 #. type: textblock
4878 #: ../fish/guestfish-actions.pod:195
4879 msgid ""
4880 "Close the current Augeas handle and free up any resources used by it.  After "
4881 "calling this, you have to call L</aug-init> again before you can use any "
4882 "other Augeas functions."
4883 msgstr ""
4884
4885 #. type: =head2
4886 #: ../fish/guestfish-actions.pod:200
4887 msgid "aug-defnode"
4888 msgstr ""
4889
4890 #. type: verbatim
4891 #: ../fish/guestfish-actions.pod:202
4892 #, no-wrap
4893 msgid ""
4894 " aug-defnode name expr val\n"
4895 "\n"
4896 msgstr ""
4897
4898 #. type: textblock
4899 #: ../fish/guestfish-actions.pod:204 ../src/guestfs-actions.pod:319
4900 msgid ""
4901 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
4902 msgstr ""
4903
4904 #. type: textblock
4905 #: ../fish/guestfish-actions.pod:207
4906 msgid ""
4907 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
4908 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
4909 "containing that single node."
4910 msgstr ""
4911
4912 #. type: textblock
4913 #: ../fish/guestfish-actions.pod:211 ../src/guestfs-actions.pod:326
4914 msgid ""
4915 "On success this returns a pair containing the number of nodes in the "
4916 "nodeset, and a boolean flag if a node was created."
4917 msgstr ""
4918
4919 #. type: =head2
4920 #: ../fish/guestfish-actions.pod:215
4921 msgid "aug-defvar"
4922 msgstr ""
4923
4924 #. type: verbatim
4925 #: ../fish/guestfish-actions.pod:217
4926 #, no-wrap
4927 msgid ""
4928 " aug-defvar name expr\n"
4929 "\n"
4930 msgstr ""
4931
4932 #. type: textblock
4933 #: ../fish/guestfish-actions.pod:219 ../src/guestfs-actions.pod:343
4934 msgid ""
4935 "Defines an Augeas variable C<name> whose value is the result of evaluating "
4936 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
4937 msgstr ""
4938
4939 #. type: textblock
4940 #: ../fish/guestfish-actions.pod:223 ../src/guestfs-actions.pod:347
4941 msgid ""
4942 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
4943 "evaluates to something which is not a nodeset."
4944 msgstr ""
4945
4946 #. type: =head2
4947 #: ../fish/guestfish-actions.pod:226
4948 msgid "aug-get"
4949 msgstr ""
4950
4951 #. type: verbatim
4952 #: ../fish/guestfish-actions.pod:228
4953 #, no-wrap
4954 msgid ""
4955 " aug-get augpath\n"
4956 "\n"
4957 msgstr ""
4958
4959 #. type: textblock
4960 #: ../fish/guestfish-actions.pod:230 ../src/guestfs-actions.pod:360
4961 msgid ""
4962 "Look up the value associated with C<path>.  If C<path> matches exactly one "
4963 "node, the C<value> is returned."
4964 msgstr ""
4965
4966 #. type: =head2
4967 #: ../fish/guestfish-actions.pod:233
4968 msgid "aug-init"
4969 msgstr ""
4970
4971 #. type: verbatim
4972 #: ../fish/guestfish-actions.pod:235
4973 #, no-wrap
4974 msgid ""
4975 " aug-init root flags\n"
4976 "\n"
4977 msgstr ""
4978
4979 #. type: textblock
4980 #: ../fish/guestfish-actions.pod:237 ../src/guestfs-actions.pod:375
4981 msgid ""
4982 "Create a new Augeas handle for editing configuration files.  If there was "
4983 "any previous Augeas handle associated with this guestfs session, then it is "
4984 "closed."
4985 msgstr ""
4986
4987 #. type: textblock
4988 #: ../fish/guestfish-actions.pod:241
4989 msgid "You must call this before using any other L</aug-*> commands."
4990 msgstr ""
4991
4992 #. type: textblock
4993 #: ../fish/guestfish-actions.pod:244 ../src/guestfs-actions.pod:382
4994 msgid ""
4995 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
4996 msgstr ""
4997
4998 #. type: textblock
4999 #: ../fish/guestfish-actions.pod:247 ../src/guestfs-actions.pod:385
5000 msgid ""
5001 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
5002 "logical I<or> of the following integers:"
5003 msgstr ""
5004
5005 #. type: =item
5006 #: ../fish/guestfish-actions.pod:253 ../src/guestfs-actions.pod:391
5007 msgid "C<AUG_SAVE_BACKUP> = 1"
5008 msgstr "C<AUG_SAVE_BACKUP> = 1"
5009
5010 #. type: textblock
5011 #: ../fish/guestfish-actions.pod:255 ../src/guestfs-actions.pod:393
5012 msgid "Keep the original file with a C<.augsave> extension."
5013 msgstr ""
5014
5015 #. type: =item
5016 #: ../fish/guestfish-actions.pod:257 ../src/guestfs-actions.pod:395
5017 msgid "C<AUG_SAVE_NEWFILE> = 2"
5018 msgstr "C<AUG_SAVE_NEWFILE> = 2"
5019
5020 #. type: textblock
5021 #: ../fish/guestfish-actions.pod:259 ../src/guestfs-actions.pod:397
5022 msgid ""
5023 "Save changes into a file with extension C<.augnew>, and do not overwrite "
5024 "original.  Overrides C<AUG_SAVE_BACKUP>."
5025 msgstr ""
5026
5027 #. type: =item
5028 #: ../fish/guestfish-actions.pod:262 ../src/guestfs-actions.pod:400
5029 msgid "C<AUG_TYPE_CHECK> = 4"
5030 msgstr "C<AUG_TYPE_CHECK> = 4"
5031
5032 #. type: textblock
5033 #: ../fish/guestfish-actions.pod:264 ../src/guestfs-actions.pod:402
5034 msgid "Typecheck lenses."
5035 msgstr ""
5036
5037 #. type: textblock
5038 #: ../fish/guestfish-actions.pod:266
5039 msgid ""
5040 "This option is only useful when debugging Augeas lenses.  Use of this option "
5041 "may require additional memory for the libguestfs appliance.  You may need to "
5042 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call L</set-memsize>."
5043 msgstr ""
5044
5045 #. type: =item
5046 #: ../fish/guestfish-actions.pod:271 ../src/guestfs-actions.pod:409
5047 msgid "C<AUG_NO_STDINC> = 8"
5048 msgstr "C<AUG_NO_STDINC> = 8"
5049
5050 #. type: textblock
5051 #: ../fish/guestfish-actions.pod:273 ../src/guestfs-actions.pod:411
5052 msgid "Do not use standard load path for modules."
5053 msgstr ""
5054
5055 #. type: =item
5056 #: ../fish/guestfish-actions.pod:275 ../src/guestfs-actions.pod:413
5057 msgid "C<AUG_SAVE_NOOP> = 16"
5058 msgstr "C<AUG_SAVE_NOOP> = 16"
5059
5060 #. type: textblock
5061 #: ../fish/guestfish-actions.pod:277 ../src/guestfs-actions.pod:415
5062 msgid "Make save a no-op, just record what would have been changed."
5063 msgstr ""
5064
5065 #. type: =item
5066 #: ../fish/guestfish-actions.pod:279 ../src/guestfs-actions.pod:417
5067 msgid "C<AUG_NO_LOAD> = 32"
5068 msgstr "C<AUG_NO_LOAD> = 32"
5069
5070 #. type: textblock
5071 #: ../fish/guestfish-actions.pod:281
5072 msgid "Do not load the tree in L</aug-init>."
5073 msgstr ""
5074
5075 #. type: textblock
5076 #: ../fish/guestfish-actions.pod:285
5077 msgid "To close the handle, you can call L</aug-close>."
5078 msgstr ""
5079
5080 #. type: textblock
5081 #: ../fish/guestfish-actions.pod:287 ../src/guestfs-actions.pod:425
5082 msgid "To find out more about Augeas, see L<http://augeas.net/>."
5083 msgstr ""
5084
5085 #. type: =head2
5086 #: ../fish/guestfish-actions.pod:289
5087 msgid "aug-insert"
5088 msgstr ""
5089
5090 #. type: verbatim
5091 #: ../fish/guestfish-actions.pod:291
5092 #, no-wrap
5093 msgid ""
5094 " aug-insert augpath label true|false\n"
5095 "\n"
5096 msgstr ""
5097
5098 #. type: textblock
5099 #: ../fish/guestfish-actions.pod:293 ../src/guestfs-actions.pod:439
5100 msgid ""
5101 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
5102 "or after C<path> (depending on the boolean flag C<before>)."
5103 msgstr ""
5104
5105 #. type: textblock
5106 #: ../fish/guestfish-actions.pod:297 ../src/guestfs-actions.pod:443
5107 msgid ""
5108 "C<path> must match exactly one existing node in the tree, and C<label> must "
5109 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
5110 msgstr ""
5111
5112 #. type: =head2
5113 #: ../fish/guestfish-actions.pod:301
5114 msgid "aug-load"
5115 msgstr ""
5116
5117 #. type: verbatim
5118 #: ../fish/guestfish-actions.pod:303
5119 #, no-wrap
5120 msgid ""
5121 " aug-load\n"
5122 "\n"
5123 msgstr ""
5124
5125 #. type: textblock
5126 #: ../fish/guestfish-actions.pod:305 ../src/guestfs-actions.pod:456
5127 msgid "Load files into the tree."
5128 msgstr "Завантажити файли до ієрархії."
5129
5130 #. type: textblock
5131 #: ../fish/guestfish-actions.pod:307 ../src/guestfs-actions.pod:458
5132 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
5133 msgstr ""
5134
5135 #. type: =head2
5136 #: ../fish/guestfish-actions.pod:310
5137 msgid "aug-ls"
5138 msgstr ""
5139
5140 #. type: verbatim
5141 #: ../fish/guestfish-actions.pod:312
5142 #, no-wrap
5143 msgid ""
5144 " aug-ls augpath\n"
5145 "\n"
5146 msgstr ""
5147
5148 #. type: textblock
5149 #: ../fish/guestfish-actions.pod:314
5150 msgid ""
5151 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
5152 "resulting nodes into alphabetical order."
5153 msgstr ""
5154
5155 #. type: =head2
5156 #: ../fish/guestfish-actions.pod:317
5157 msgid "aug-match"
5158 msgstr ""
5159
5160 #. type: verbatim
5161 #: ../fish/guestfish-actions.pod:319
5162 #, no-wrap
5163 msgid ""
5164 " aug-match augpath\n"
5165 "\n"
5166 msgstr ""
5167
5168 #. type: textblock
5169 #: ../fish/guestfish-actions.pod:321 ../src/guestfs-actions.pod:486
5170 msgid ""
5171 "Returns a list of paths which match the path expression C<path>.  The "
5172 "returned paths are sufficiently qualified so that they match exactly one "
5173 "node in the current tree."
5174 msgstr ""
5175
5176 #. type: =head2
5177 #: ../fish/guestfish-actions.pod:325
5178 msgid "aug-mv"
5179 msgstr ""
5180
5181 #. type: verbatim
5182 #: ../fish/guestfish-actions.pod:327
5183 #, no-wrap
5184 msgid ""
5185 " aug-mv src dest\n"
5186 "\n"
5187 msgstr ""
5188
5189 #. type: textblock
5190 #: ../fish/guestfish-actions.pod:329 ../src/guestfs-actions.pod:503
5191 msgid ""
5192 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
5193 "C<dest> is overwritten if it exists."
5194 msgstr ""
5195
5196 #. type: =head2
5197 #: ../fish/guestfish-actions.pod:332
5198 msgid "aug-rm"
5199 msgstr ""
5200
5201 #. type: verbatim
5202 #: ../fish/guestfish-actions.pod:334
5203 #, no-wrap
5204 msgid ""
5205 " aug-rm augpath\n"
5206 "\n"
5207 msgstr ""
5208
5209 #. type: textblock
5210 #: ../fish/guestfish-actions.pod:336 ../src/guestfs-actions.pod:516
5211 msgid "Remove C<path> and all of its children."
5212 msgstr ""
5213
5214 #. type: textblock
5215 #: ../fish/guestfish-actions.pod:338 ../src/guestfs-actions.pod:518
5216 msgid "On success this returns the number of entries which were removed."
5217 msgstr ""
5218
5219 #. type: =head2
5220 #: ../fish/guestfish-actions.pod:340
5221 msgid "aug-save"
5222 msgstr ""
5223
5224 #. type: verbatim
5225 #: ../fish/guestfish-actions.pod:342
5226 #, no-wrap
5227 msgid ""
5228 " aug-save\n"
5229 "\n"
5230 msgstr ""
5231
5232 #. type: textblock
5233 #: ../fish/guestfish-actions.pod:344 ../src/guestfs-actions.pod:529
5234 msgid "This writes all pending changes to disk."
5235 msgstr ""
5236
5237 #. type: textblock
5238 #: ../fish/guestfish-actions.pod:346
5239 msgid ""
5240 "The flags which were passed to L</aug-init> affect exactly how files are "
5241 "saved."
5242 msgstr ""
5243
5244 #. type: =head2
5245 #: ../fish/guestfish-actions.pod:349
5246 msgid "aug-set"
5247 msgstr ""
5248
5249 #. type: verbatim
5250 #: ../fish/guestfish-actions.pod:351
5251 #, no-wrap
5252 msgid ""
5253 " aug-set augpath val\n"
5254 "\n"
5255 msgstr ""
5256
5257 #. type: textblock
5258 #: ../fish/guestfish-actions.pod:353 ../src/guestfs-actions.pod:545
5259 msgid "Set the value associated with C<path> to C<val>."
5260 msgstr ""
5261
5262 #. type: textblock
5263 #: ../fish/guestfish-actions.pod:355
5264 msgid ""
5265 "In the Augeas API, it is possible to clear a node by setting the value to "
5266 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
5267 "this call.  Instead you must use the L</aug-clear> call."
5268 msgstr ""
5269
5270 #. type: =head2
5271 #: ../fish/guestfish-actions.pod:360
5272 msgid "available"
5273 msgstr ""
5274
5275 #. type: verbatim
5276 #: ../fish/guestfish-actions.pod:362
5277 #, no-wrap
5278 msgid ""
5279 " available 'groups ...'\n"
5280 "\n"
5281 msgstr ""
5282
5283 #. type: textblock
5284 #: ../fish/guestfish-actions.pod:364 ../src/guestfs-actions.pod:562
5285 msgid ""
5286 "This command is used to check the availability of some groups of "
5287 "functionality in the appliance, which not all builds of the libguestfs "
5288 "appliance will be able to provide."
5289 msgstr ""
5290
5291 #. type: textblock
5292 #: ../fish/guestfish-actions.pod:368
5293 msgid ""
5294 "The libguestfs groups, and the functions that those groups correspond to, "
5295 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
5296 "runtime by calling L</available-all-groups>."
5297 msgstr ""
5298
5299 #. type: textblock
5300 #: ../fish/guestfish-actions.pod:373 ../src/guestfs-actions.pod:571
5301 msgid ""
5302 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
5303 "\"]> would check for the availability of the Linux inotify functions and "
5304 "Augeas (configuration file editing) functions."
5305 msgstr ""
5306
5307 #. type: textblock
5308 #: ../fish/guestfish-actions.pod:378 ../src/guestfs-actions.pod:576
5309 msgid "The command returns no error if I<all> requested groups are available."
5310 msgstr ""
5311
5312 #. type: textblock
5313 #: ../fish/guestfish-actions.pod:380 ../src/guestfs-actions.pod:578
5314 msgid ""
5315 "It fails with an error if one or more of the requested groups is unavailable "
5316 "in the appliance."
5317 msgstr ""
5318
5319 #. type: textblock
5320 #: ../fish/guestfish-actions.pod:383 ../src/guestfs-actions.pod:581
5321 msgid ""
5322 "If an unknown group name is included in the list of groups then an error is "
5323 "always returned."
5324 msgstr ""
5325
5326 #. type: textblock
5327 #: ../fish/guestfish-actions.pod:386 ../src/guestfs-actions.pod:584
5328 msgid "I<Notes:>"
5329 msgstr "I<Нотатки:>"
5330
5331 #. type: textblock
5332 #: ../fish/guestfish-actions.pod:392
5333 msgid "You must call L</launch> before calling this function."
5334 msgstr ""
5335
5336 #. type: textblock
5337 #: ../fish/guestfish-actions.pod:394 ../src/guestfs-actions.pod:592
5338 msgid ""
5339 "The reason is because we don't know what groups are supported by the "
5340 "appliance/daemon until it is running and can be queried."
5341 msgstr ""
5342
5343 #. type: textblock
5344 #: ../fish/guestfish-actions.pod:400 ../src/guestfs-actions.pod:598
5345 msgid ""
5346 "If a group of functions is available, this does not necessarily mean that "
5347 "they will work.  You still have to check for errors when calling individual "
5348 "API functions even if they are available."
5349 msgstr ""
5350
5351 #. type: textblock
5352 #: ../fish/guestfish-actions.pod:407 ../src/guestfs-actions.pod:605
5353 msgid ""
5354 "It is usually the job of distro packagers to build complete functionality "
5355 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
5356 "with all requirements satisfied, will support everything."
5357 msgstr ""
5358
5359 #. type: textblock
5360 #: ../fish/guestfish-actions.pod:414
5361 msgid ""
5362 "This call was added in version C<1.0.80>.  In previous versions of "
5363 "libguestfs all you could do would be to speculatively execute a command to "
5364 "find out if the daemon implemented it.  See also L</version>."
5365 msgstr ""
5366
5367 #. type: =head2
5368 #: ../fish/guestfish-actions.pod:421
5369 msgid "available-all-groups"
5370 msgstr ""
5371
5372 #. type: verbatim
5373 #: ../fish/guestfish-actions.pod:423
5374 #, no-wrap
5375 msgid ""
5376 " available-all-groups\n"
5377 "\n"
5378 msgstr ""
5379
5380 #. type: textblock
5381 #: ../fish/guestfish-actions.pod:425
5382 msgid ""
5383 "This command returns a list of all optional groups that this daemon knows "
5384 "about.  Note this returns both supported and unsupported groups.  To find "
5385 "out which ones the daemon can actually support you have to call L</"
5386 "available> on each member of the returned list."
5387 msgstr ""
5388
5389 #. type: textblock
5390 #: ../fish/guestfish-actions.pod:431
5391 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
5392 msgstr ""
5393
5394 #. type: =head2
5395 #: ../fish/guestfish-actions.pod:433
5396 msgid "base64-in"
5397 msgstr ""
5398
5399 #. type: verbatim
5400 #: ../fish/guestfish-actions.pod:435
5401 #, no-wrap
5402 msgid ""
5403 " base64-in (base64file|-) filename\n"
5404 "\n"
5405 msgstr ""
5406
5407 #. type: textblock
5408 #: ../fish/guestfish-actions.pod:437 ../src/guestfs-actions.pod:649
5409 msgid ""
5410 "This command uploads base64-encoded data from C<base64file> to C<filename>."
5411 msgstr ""
5412
5413 #. type: textblock
5414 #: ../fish/guestfish-actions.pod:440 ../fish/guestfish-actions.pod:449
5415 #: ../fish/guestfish-actions.pod:698 ../fish/guestfish-actions.pod:867
5416 #: ../fish/guestfish-actions.pod:886 ../fish/guestfish-actions.pod:1260
5417 #: ../fish/guestfish-actions.pod:4663 ../fish/guestfish-actions.pod:4675
5418 #: ../fish/guestfish-actions.pod:4686 ../fish/guestfish-actions.pod:4697
5419 #: ../fish/guestfish-actions.pod:4749 ../fish/guestfish-actions.pod:4758
5420 #: ../fish/guestfish-actions.pod:4812 ../fish/guestfish-actions.pod:4835
5421 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
5422 msgstr ""
5423
5424 #. type: =head2
5425 #: ../fish/guestfish-actions.pod:442
5426 msgid "base64-out"
5427 msgstr ""
5428
5429 #. type: verbatim
5430 #: ../fish/guestfish-actions.pod:444
5431 #, no-wrap
5432 msgid ""
5433 " base64-out filename (base64file|-)\n"
5434 "\n"
5435 msgstr ""
5436
5437 #. type: textblock
5438 #: ../fish/guestfish-actions.pod:446 ../src/guestfs-actions.pod:663
5439 msgid ""
5440 "This command downloads the contents of C<filename>, writing it out to local "
5441 "file C<base64file> encoded as base64."
5442 msgstr ""
5443
5444 #. type: =head2
5445 #: ../fish/guestfish-actions.pod:451
5446 msgid "blockdev-flushbufs"
5447 msgstr ""
5448
5449 #. type: verbatim
5450 #: ../fish/guestfish-actions.pod:453
5451 #, no-wrap
5452 msgid ""
5453 " blockdev-flushbufs device\n"
5454 "\n"
5455 msgstr ""
5456
5457 #. type: textblock
5458 #: ../fish/guestfish-actions.pod:455 ../src/guestfs-actions.pod:676
5459 msgid ""
5460 "This tells the kernel to flush internal buffers associated with C<device>."
5461 msgstr ""
5462
5463 #. type: textblock
5464 #: ../fish/guestfish-actions.pod:458 ../fish/guestfish-actions.pod:469
5465 #: ../fish/guestfish-actions.pod:478 ../fish/guestfish-actions.pod:488
5466 #: ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:513
5467 #: ../fish/guestfish-actions.pod:521 ../fish/guestfish-actions.pod:532
5468 #: ../fish/guestfish-actions.pod:540 ../fish/guestfish-actions.pod:548
5469 #: ../src/guestfs-actions.pod:679 ../src/guestfs-actions.pod:696
5470 #: ../src/guestfs-actions.pod:711 ../src/guestfs-actions.pod:727
5471 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:764
5472 #: ../src/guestfs-actions.pod:778 ../src/guestfs-actions.pod:796
5473 #: ../src/guestfs-actions.pod:810 ../src/guestfs-actions.pod:824
5474 msgid "This uses the L<blockdev(8)> command."
5475 msgstr ""
5476
5477 #. type: =head2
5478 #: ../fish/guestfish-actions.pod:460
5479 msgid "blockdev-getbsz"
5480 msgstr ""
5481
5482 #. type: verbatim
5483 #: ../fish/guestfish-actions.pod:462
5484 #, no-wrap
5485 msgid ""
5486 " blockdev-getbsz device\n"
5487 "\n"
5488 msgstr ""
5489
5490 #. type: textblock
5491 #: ../fish/guestfish-actions.pod:464 ../src/guestfs-actions.pod:691
5492 msgid "This returns the block size of a device."
5493 msgstr ""
5494
5495 #. type: textblock
5496 #: ../fish/guestfish-actions.pod:466 ../fish/guestfish-actions.pod:529
5497 #: ../src/guestfs-actions.pod:693 ../src/guestfs-actions.pod:793
5498 msgid ""
5499 "(Note this is different from both I<size in blocks> and I<filesystem block "
5500 "size>)."
5501 msgstr ""
5502
5503 #. type: =head2
5504 #: ../fish/guestfish-actions.pod:471
5505 msgid "blockdev-getro"
5506 msgstr ""
5507
5508 #. type: verbatim
5509 #: ../fish/guestfish-actions.pod:473
5510 #, no-wrap
5511 msgid ""
5512 " blockdev-getro device\n"
5513 "\n"
5514 msgstr ""
5515
5516 #. type: textblock
5517 #: ../fish/guestfish-actions.pod:475 ../src/guestfs-actions.pod:708
5518 msgid ""
5519 "Returns a boolean indicating if the block device is read-only (true if read-"
5520 "only, false if not)."
5521 msgstr ""
5522
5523 #. type: =head2
5524 #: ../fish/guestfish-actions.pod:480
5525 msgid "blockdev-getsize64"
5526 msgstr ""
5527
5528 #. type: verbatim
5529 #: ../fish/guestfish-actions.pod:482
5530 #, no-wrap
5531 msgid ""
5532 " blockdev-getsize64 device\n"
5533 "\n"
5534 msgstr ""
5535
5536 #. type: textblock
5537 #: ../fish/guestfish-actions.pod:484 ../src/guestfs-actions.pod:723
5538 msgid "This returns the size of the device in bytes."
5539 msgstr ""
5540
5541 #. type: textblock
5542 #: ../fish/guestfish-actions.pod:486
5543 msgid "See also L</blockdev-getsz>."
5544 msgstr ""
5545
5546 #. type: =head2
5547 #: ../fish/guestfish-actions.pod:490
5548 msgid "blockdev-getss"
5549 msgstr ""
5550
5551 #. type: verbatim
5552 #: ../fish/guestfish-actions.pod:492
5553 #, no-wrap
5554 msgid ""
5555 " blockdev-getss device\n"
5556 "\n"
5557 msgstr ""
5558
5559 #. type: textblock
5560 #: ../fish/guestfish-actions.pod:494 ../src/guestfs-actions.pod:739
5561 msgid ""
5562 "This returns the size of sectors on a block device.  Usually 512, but can be "
5563 "larger for modern devices."
5564 msgstr ""
5565
5566 #. type: textblock
5567 #: ../fish/guestfish-actions.pod:497
5568 msgid ""
5569 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
5570 msgstr ""
5571
5572 #. type: =head2
5573 #: ../fish/guestfish-actions.pod:502
5574 msgid "blockdev-getsz"
5575 msgstr ""
5576
5577 #. type: verbatim
5578 #: ../fish/guestfish-actions.pod:504
5579 #, no-wrap
5580 msgid ""
5581 " blockdev-getsz device\n"
5582 "\n"
5583 msgstr ""
5584
5585 #. type: textblock
5586 #: ../fish/guestfish-actions.pod:506 ../src/guestfs-actions.pod:757
5587 msgid ""
5588 "This returns the size of the device in units of 512-byte sectors (even if "
5589 "the sectorsize isn't 512 bytes ... weird)."
5590 msgstr ""
5591
5592 #. type: textblock
5593 #: ../fish/guestfish-actions.pod:509
5594 msgid ""
5595 "See also L</blockdev-getss> for the real sector size of the device, and L</"
5596 "blockdev-getsize64> for the more useful I<size in bytes>."
5597 msgstr ""
5598
5599 #. type: =head2
5600 #: ../fish/guestfish-actions.pod:515
5601 msgid "blockdev-rereadpt"
5602 msgstr ""
5603
5604 #. type: verbatim
5605 #: ../fish/guestfish-actions.pod:517
5606 #, no-wrap
5607 msgid ""
5608 " blockdev-rereadpt device\n"
5609 "\n"
5610 msgstr ""
5611
5612 #. type: textblock
5613 #: ../fish/guestfish-actions.pod:519 ../src/guestfs-actions.pod:776
5614 msgid "Reread the partition table on C<device>."
5615 msgstr ""
5616
5617 #. type: =head2
5618 #: ../fish/guestfish-actions.pod:523
5619 msgid "blockdev-setbsz"
5620 msgstr ""
5621
5622 #. type: verbatim
5623 #: ../fish/guestfish-actions.pod:525
5624 #, no-wrap
5625 msgid ""
5626 " blockdev-setbsz device blocksize\n"
5627 "\n"
5628 msgstr ""
5629
5630 #. type: textblock
5631 #: ../fish/guestfish-actions.pod:527 ../src/guestfs-actions.pod:791
5632 msgid "This sets the block size of a device."
5633 msgstr ""
5634
5635 #. type: =head2
5636 #: ../fish/guestfish-actions.pod:534
5637 msgid "blockdev-setro"
5638 msgstr ""
5639
5640 #. type: verbatim
5641 #: ../fish/guestfish-actions.pod:536
5642 #, no-wrap
5643 msgid ""
5644 " blockdev-setro device\n"
5645 "\n"
5646 msgstr ""
5647
5648 #. type: textblock
5649 #: ../fish/guestfish-actions.pod:538 ../src/guestfs-actions.pod:808
5650 msgid "Sets the block device named C<device> to read-only."
5651 msgstr ""
5652
5653 #. type: =head2
5654 #: ../fish/guestfish-actions.pod:542
5655 msgid "blockdev-setrw"
5656 msgstr ""
5657
5658 #. type: verbatim
5659 #: ../fish/guestfish-actions.pod:544
5660 #, no-wrap
5661 msgid ""
5662 " blockdev-setrw device\n"
5663 "\n"
5664 msgstr ""
5665
5666 #. type: textblock
5667 #: ../fish/guestfish-actions.pod:546 ../src/guestfs-actions.pod:822
5668 msgid "Sets the block device named C<device> to read-write."
5669 msgstr ""
5670
5671 #. type: =head2
5672 #: ../fish/guestfish-actions.pod:550
5673 msgid "btrfs-filesystem-resize"
5674 msgstr ""
5675
5676 #. type: verbatim
5677 #: ../fish/guestfish-actions.pod:552
5678 #, no-wrap
5679 msgid ""
5680 " btrfs-filesystem-resize mountpoint [size:..]\n"
5681 "\n"
5682 msgstr ""
5683
5684 #. type: textblock
5685 #: ../fish/guestfish-actions.pod:554 ../src/guestfs-actions.pod:844
5686 msgid "This command resizes a btrfs filesystem."
5687 msgstr ""
5688
5689 #. type: textblock
5690 #: ../fish/guestfish-actions.pod:556 ../src/guestfs-actions.pod:846
5691 msgid ""
5692 "Note that unlike other resize calls, the filesystem has to be mounted and "
5693 "the parameter is the mountpoint not the device (this is a requirement of "
5694 "btrfs itself)."
5695 msgstr ""
5696
5697 #. type: textblock
5698 #: ../fish/guestfish-actions.pod:560 ../fish/guestfish-actions.pod:3422
5699 #: ../src/guestfs-actions.pod:850 ../src/guestfs-actions.pod:5194
5700 msgid "The optional parameters are:"
5701 msgstr ""
5702
5703 #. type: =item
5704 #: ../fish/guestfish-actions.pod:564 ../fish/guestfish-actions.pod:3426
5705 #: ../src/guestfs-actions.pod:854 ../src/guestfs-actions.pod:5198
5706 msgid "C<size>"
5707 msgstr ""
5708
5709 #. type: textblock
5710 #: ../fish/guestfish-actions.pod:566 ../src/guestfs-actions.pod:856
5711 msgid ""
5712 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
5713 "resized to the maximum size."
5714 msgstr ""
5715
5716 #. type: textblock
5717 #: ../fish/guestfish-actions.pod:571 ../src/guestfs-actions.pod:861
5718 msgid "See also L<btrfs(8)>."
5719 msgstr ""
5720
5721 #. type: =head2
5722 #: ../fish/guestfish-actions.pod:575
5723 msgid "case-sensitive-path"
5724 msgstr ""
5725
5726 #. type: verbatim
5727 #: ../fish/guestfish-actions.pod:577
5728 #, no-wrap
5729 msgid ""
5730 " case-sensitive-path path\n"
5731 "\n"
5732 msgstr ""
5733
5734 #. type: textblock
5735 #: ../fish/guestfish-actions.pod:579 ../src/guestfs-actions.pod:895
5736 msgid ""
5737 "This can be used to resolve case insensitive paths on a filesystem which is "
5738 "case sensitive.  The use case is to resolve paths which you have read from "
5739 "Windows configuration files or the Windows Registry, to the true path."
5740 msgstr ""
5741
5742 #. type: textblock
5743 #: ../fish/guestfish-actions.pod:584 ../src/guestfs-actions.pod:900
5744 msgid ""
5745 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
5746 "(and probably others), which is that although the underlying filesystem is "
5747 "case-insensitive, the driver exports the filesystem to Linux as case-"
5748 "sensitive."
5749 msgstr ""
5750
5751 #. type: textblock
5752 #: ../fish/guestfish-actions.pod:589 ../src/guestfs-actions.pod:905
5753 msgid ""
5754 "One consequence of this is that special directories such as C<c:\\windows> "
5755 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
5756 "precise details of how they were created.  In Windows itself this would not "
5757 "be a problem."
5758 msgstr ""
5759
5760 #. type: textblock
5761 #: ../fish/guestfish-actions.pod:595 ../src/guestfs-actions.pod:911
5762 msgid ""
5763 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
5764 "#posixfilenames1>"
5765 msgstr ""
5766
5767 #. type: textblock
5768 #: ../fish/guestfish-actions.pod:598 ../src/guestfs-actions.pod:914
5769 msgid ""
5770 "This function resolves the true case of each element in the path and returns "
5771 "the case-sensitive path."
5772 msgstr ""
5773
5774 #. type: textblock
5775 #: ../fish/guestfish-actions.pod:601
5776 msgid ""
5777 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
5778 "WINDOWS/system32\"> (the exact return value would depend on details of how "
5779 "the directories were originally created under Windows)."
5780 msgstr ""
5781
5782 #. type: textblock
5783 #: ../fish/guestfish-actions.pod:606 ../src/guestfs-actions.pod:922
5784 msgid "I<Note>: This function does not handle drive names, backslashes etc."
5785 msgstr ""
5786
5787 #. type: textblock
5788 #: ../fish/guestfish-actions.pod:609
5789 msgid "See also L</realpath>."
5790 msgstr ""
5791
5792 #. type: =head2
5793 #: ../fish/guestfish-actions.pod:611
5794 msgid "cat"
5795 msgstr "cat"
5796
5797 #. type: verbatim
5798 #: ../fish/guestfish-actions.pod:613
5799 #, no-wrap
5800 msgid ""
5801 " cat path\n"
5802 "\n"
5803 msgstr ""
5804 " cat шлях\n"
5805 "\n"
5806
5807 #. type: textblock
5808 #: ../fish/guestfish-actions.pod:615 ../fish/guestfish-actions.pod:3842
5809 #: ../src/guestfs-actions.pod:938 ../src/guestfs-actions.pod:5837
5810 msgid "Return the contents of the file named C<path>."
5811 msgstr ""
5812
5813 #. type: textblock
5814 #: ../fish/guestfish-actions.pod:617
5815 msgid ""
5816 "Note that this function cannot correctly handle binary files (specifically, "
5817 "files containing C<\\0> character which is treated as end of string).  For "
5818 "those you need to use the L</read-file> or L</download> functions which have "
5819 "a more complex interface."
5820 msgstr ""
5821
5822 #. type: textblock
5823 #: ../fish/guestfish-actions.pod:622 ../fish/guestfish-actions.pod:757
5824 #: ../fish/guestfish-actions.pod:769 ../fish/guestfish-actions.pod:945
5825 #: ../fish/guestfish-actions.pod:955 ../fish/guestfish-actions.pod:1022
5826 #: ../fish/guestfish-actions.pod:1032 ../fish/guestfish-actions.pod:1224
5827 #: ../fish/guestfish-actions.pod:1531 ../fish/guestfish-actions.pod:1541
5828 #: ../fish/guestfish-actions.pod:1569 ../fish/guestfish-actions.pod:1584
5829 #: ../fish/guestfish-actions.pod:1594 ../fish/guestfish-actions.pod:1613
5830 #: ../fish/guestfish-actions.pod:3712 ../fish/guestfish-actions.pod:3727
5831 #: ../fish/guestfish-actions.pod:3803 ../fish/guestfish-actions.pod:3820
5832 #: ../fish/guestfish-actions.pod:3835 ../fish/guestfish-actions.pod:4504
5833 #: ../fish/guestfish-actions.pod:4550 ../fish/guestfish-actions.pod:4635
5834 #: ../fish/guestfish-actions.pod:4650 ../fish/guestfish-actions.pod:5056
5835 #: ../fish/guestfish-actions.pod:5068 ../fish/guestfish-actions.pod:5086
5836 #: ../fish/guestfish-actions.pod:5103 ../fish/guestfish-actions.pod:5113
5837 #: ../fish/guestfish-actions.pod:5170 ../fish/guestfish-actions.pod:5180
5838 #: ../fish/guestfish-actions.pod:5209 ../fish/guestfish-actions.pod:5219
5839 #: ../src/guestfs-actions.pod:948 ../src/guestfs-actions.pod:1127
5840 #: ../src/guestfs-actions.pod:1147 ../src/guestfs-actions.pod:1443
5841 #: ../src/guestfs-actions.pod:1462 ../src/guestfs-actions.pod:1565
5842 #: ../src/guestfs-actions.pod:1584 ../src/guestfs-actions.pod:1830
5843 #: ../src/guestfs-actions.pod:2301 ../src/guestfs-actions.pod:2320
5844 #: ../src/guestfs-actions.pod:2363 ../src/guestfs-actions.pod:2387
5845 #: ../src/guestfs-actions.pod:2404 ../src/guestfs-actions.pod:2433
5846 #: ../src/guestfs-actions.pod:5619 ../src/guestfs-actions.pod:5645
5847 #: ../src/guestfs-actions.pod:5776 ../src/guestfs-actions.pod:5802
5848 #: ../src/guestfs-actions.pod:5826 ../src/guestfs-actions.pod:6777
5849 #: ../src/guestfs-actions.pod:6832 ../src/guestfs-actions.pod:6978
5850 #: ../src/guestfs-actions.pod:7002 ../src/guestfs-actions.pod:7667
5851 #: ../src/guestfs-actions.pod:7687 ../src/guestfs-actions.pod:7720
5852 #: ../src/guestfs-actions.pod:7739 ../src/guestfs-actions.pod:7758
5853 #: ../src/guestfs-actions.pod:7852 ../src/guestfs-actions.pod:7871
5854 #: ../src/guestfs-actions.pod:7917 ../src/guestfs-actions.pod:7936
5855 msgid ""
5856 "Because of the message protocol, there is a transfer limit of somewhere "
5857 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
5858 msgstr ""
5859
5860 #. type: =head2
5861 #: ../fish/guestfish-actions.pod:625
5862 msgid "checksum"
5863 msgstr "checksum"
5864
5865 #. type: verbatim
5866 #: ../fish/guestfish-actions.pod:627
5867 #, no-wrap
5868 msgid ""
5869 " checksum csumtype path\n"
5870 "\n"
5871 msgstr ""
5872
5873 #. type: textblock
5874 #: ../fish/guestfish-actions.pod:629 ../src/guestfs-actions.pod:960
5875 msgid ""
5876 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
5877 msgstr ""
5878
5879 #. type: textblock
5880 #: ../fish/guestfish-actions.pod:632 ../src/guestfs-actions.pod:963
5881 msgid ""
5882 "The type of checksum to compute is given by the C<csumtype> parameter which "
5883 "must have one of the following values:"
5884 msgstr ""
5885
5886 #. type: =item
5887 #: ../fish/guestfish-actions.pod:637 ../src/guestfs-actions.pod:968
5888 msgid "C<crc>"
5889 msgstr "C<crc>"
5890
5891 #. type: textblock
5892 #: ../fish/guestfish-actions.pod:639 ../src/guestfs-actions.pod:970
5893 msgid ""
5894 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
5895 "C<cksum> command."
5896 msgstr ""
5897
5898 #. type: =item
5899 #: ../fish/guestfish-actions.pod:642 ../src/guestfs-actions.pod:973
5900 msgid "C<md5>"
5901 msgstr "C<md5>"
5902
5903 #. type: textblock
5904 #: ../fish/guestfish-actions.pod:644 ../src/guestfs-actions.pod:975
5905 msgid "Compute the MD5 hash (using the C<md5sum> program)."
5906 msgstr ""
5907
5908 #. type: =item
5909 #: ../fish/guestfish-actions.pod:646 ../src/guestfs-actions.pod:977
5910 msgid "C<sha1>"
5911 msgstr "C<sha1>"
5912
5913 #. type: textblock
5914 #: ../fish/guestfish-actions.pod:648 ../src/guestfs-actions.pod:979
5915 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
5916 msgstr ""
5917
5918 #. type: =item
5919 #: ../fish/guestfish-actions.pod:650 ../src/guestfs-actions.pod:981
5920 msgid "C<sha224>"
5921 msgstr "C<sha224>"
5922
5923 #. type: textblock
5924 #: ../fish/guestfish-actions.pod:652 ../src/guestfs-actions.pod:983
5925 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
5926 msgstr ""
5927
5928 #. type: =item
5929 #: ../fish/guestfish-actions.pod:654 ../src/guestfs-actions.pod:985
5930 msgid "C<sha256>"
5931 msgstr "C<sha256>"
5932
5933 #. type: textblock
5934 #: ../fish/guestfish-actions.pod:656 ../src/guestfs-actions.pod:987
5935 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
5936 msgstr ""
5937
5938 #. type: =item
5939 #: ../fish/guestfish-actions.pod:658 ../src/guestfs-actions.pod:989
5940 msgid "C<sha384>"
5941 msgstr "C<sha384>"
5942
5943 #. type: textblock
5944 #: ../fish/guestfish-actions.pod:660 ../src/guestfs-actions.pod:991
5945 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
5946 msgstr ""
5947
5948 #. type: =item
5949 #: ../fish/guestfish-actions.pod:662 ../src/guestfs-actions.pod:993
5950 msgid "C<sha512>"
5951 msgstr "C<sha512>"
5952
5953 #. type: textblock
5954 #: ../fish/guestfish-actions.pod:664 ../src/guestfs-actions.pod:995
5955 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
5956 msgstr ""
5957
5958 #. type: textblock
5959 #: ../fish/guestfish-actions.pod:668 ../src/guestfs-actions.pod:999
5960 msgid "The checksum is returned as a printable string."
5961 msgstr ""
5962
5963 #. type: textblock
5964 #: ../fish/guestfish-actions.pod:670
5965 msgid "To get the checksum for a device, use L</checksum-device>."
5966 msgstr ""
5967
5968 #. type: textblock
5969 #: ../fish/guestfish-actions.pod:672
5970 msgid "To get the checksums for many files, use L</checksums-out>."
5971 msgstr ""
5972
5973 #. type: =head2
5974 #: ../fish/guestfish-actions.pod:674
5975 msgid "checksum-device"
5976 msgstr "checksum-device"
5977
5978 #. type: verbatim
5979 #: ../fish/guestfish-actions.pod:676
5980 #, no-wrap
5981 msgid ""
5982 " checksum-device csumtype device\n"
5983 "\n"
5984 msgstr ""
5985
5986 #. type: textblock
5987 #: ../fish/guestfish-actions.pod:678
5988 msgid ""
5989 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
5990 "device named C<device>.  For the types of checksums supported see the L</"
5991 "checksum> command."
5992 msgstr ""
5993
5994 #. type: =head2
5995 #: ../fish/guestfish-actions.pod:682
5996 msgid "checksums-out"
5997 msgstr ""
5998
5999 #. type: verbatim
6000 #: ../fish/guestfish-actions.pod:684
6001 #, no-wrap
6002 msgid ""
6003 " checksums-out csumtype directory (sumsfile|-)\n"
6004 "\n"
6005 msgstr ""
6006
6007 #. type: textblock
6008 #: ../fish/guestfish-actions.pod:686 ../src/guestfs-actions.pod:1034
6009 msgid ""
6010 "This command computes the checksums of all regular files in C<directory> and "
6011 "then emits a list of those checksums to the local output file C<sumsfile>."
6012 msgstr ""
6013
6014 #. type: textblock
6015 #: ../fish/guestfish-actions.pod:690 ../src/guestfs-actions.pod:1038
6016 msgid ""
6017 "This can be used for verifying the integrity of a virtual machine.  However "
6018 "to be properly secure you should pay attention to the output of the checksum "
6019 "command (it uses the ones from GNU coreutils).  In particular when the "
6020 "filename is not printable, coreutils uses a special backslash syntax.  For "
6021 "more information, see the GNU coreutils info file."
6022 msgstr ""
6023
6024 #. type: =head2
6025 #: ../fish/guestfish-actions.pod:700
6026 msgid "chmod"
6027 msgstr "chmod"
6028
6029 #. type: verbatim
6030 #: ../fish/guestfish-actions.pod:702
6031 #, no-wrap
6032 msgid ""
6033 " chmod mode path\n"
6034 "\n"
6035 msgstr ""
6036
6037 #. type: textblock
6038 #: ../fish/guestfish-actions.pod:704 ../src/guestfs-actions.pod:1057
6039 msgid ""
6040 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
6041 "supported."
6042 msgstr ""
6043
6044 #. type: textblock
6045 #: ../fish/guestfish-actions.pod:707 ../src/guestfs-actions.pod:1060
6046 msgid ""
6047 "I<Note>: When using this command from guestfish, C<mode> by default would be "
6048 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
6049 "C<700>."
6050 msgstr ""
6051
6052 #. type: textblock
6053 #: ../fish/guestfish-actions.pod:711 ../fish/guestfish-actions.pod:3065
6054 #: ../fish/guestfish-actions.pod:3204 ../fish/guestfish-actions.pod:3214
6055 #: ../fish/guestfish-actions.pod:3224 ../src/guestfs-actions.pod:1064
6056 #: ../src/guestfs-actions.pod:4591 ../src/guestfs-actions.pod:4800
6057 #: ../src/guestfs-actions.pod:4819 ../src/guestfs-actions.pod:4838
6058 msgid "The mode actually set is affected by the umask."
6059 msgstr ""
6060
6061 #. type: =head2
6062 #: ../fish/guestfish-actions.pod:713
6063 msgid "chown"
6064 msgstr "chown"
6065
6066 #. type: verbatim
6067 #: ../fish/guestfish-actions.pod:715
6068 #, no-wrap
6069 msgid ""
6070 " chown owner group path\n"
6071 "\n"
6072 msgstr ""
6073
6074 #. type: textblock
6075 #: ../fish/guestfish-actions.pod:717 ../src/guestfs-actions.pod:1078
6076 msgid "Change the file owner to C<owner> and group to C<group>."
6077 msgstr ""
6078
6079 #. type: textblock
6080 #: ../fish/guestfish-actions.pod:719 ../fish/guestfish-actions.pod:2500
6081 #: ../src/guestfs-actions.pod:1080 ../src/guestfs-actions.pod:3662
6082 msgid ""
6083 "Only numeric uid and gid are supported.  If you want to use names, you will "
6084 "need to locate and parse the password file yourself (Augeas support makes "
6085 "this relatively easy)."
6086 msgstr ""
6087
6088 #. type: =head2
6089 #: ../fish/guestfish-actions.pod:723
6090 msgid "command"
6091 msgstr ""
6092
6093 #. type: verbatim
6094 #: ../fish/guestfish-actions.pod:725
6095 #, no-wrap
6096 msgid ""
6097 " command 'arguments ...'\n"
6098 "\n"
6099 msgstr ""
6100
6101 #. type: textblock
6102 #: ../fish/guestfish-actions.pod:727 ../src/guestfs-actions.pod:1094
6103 msgid ""
6104 "This call runs a command from the guest filesystem.  The filesystem must be "
6105 "mounted, and must contain a compatible operating system (ie. something "
6106 "Linux, with the same or compatible processor architecture)."
6107 msgstr ""
6108
6109 #. type: textblock
6110 #: ../fish/guestfish-actions.pod:732
6111 msgid ""
6112 "The single parameter is an argv-style list of arguments.  The first element "
6113 "is the name of the program to run.  Subsequent elements are parameters.  The "
6114 "list must be non-empty (ie. must contain a program name).  Note that the "
6115 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
6116 msgstr ""
6117
6118 #. type: textblock
6119 #: ../fish/guestfish-actions.pod:739 ../src/guestfs-actions.pod:1106
6120 msgid "The return value is anything printed to I<stdout> by the command."
6121 msgstr ""
6122
6123 #. type: textblock
6124 #: ../fish/guestfish-actions.pod:742 ../src/guestfs-actions.pod:1109
6125 msgid ""
6126 "If the command returns a non-zero exit status, then this function returns an "
6127 "error message.  The error message string is the content of I<stderr> from "
6128 "the command."
6129 msgstr ""
6130
6131 #. type: textblock
6132 #: ../fish/guestfish-actions.pod:746 ../src/guestfs-actions.pod:1113
6133 msgid ""
6134 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
6135 "bin>.  If you require a program from another location, you should provide "
6136 "the full path in the first parameter."
6137 msgstr ""
6138
6139 #. type: textblock
6140 #: ../fish/guestfish-actions.pod:751 ../src/guestfs-actions.pod:1118
6141 msgid ""
6142 "Shared libraries and data files required by the program must be available on "
6143 "filesystems which are mounted in the correct places.  It is the caller's "
6144 "responsibility to ensure all filesystems that are needed are mounted at the "
6145 "right locations."
6146 msgstr ""
6147
6148 #. type: =head2
6149 #: ../fish/guestfish-actions.pod:760
6150 msgid "command-lines"
6151 msgstr ""
6152
6153 #. type: verbatim
6154 #: ../fish/guestfish-actions.pod:762
6155 #, no-wrap
6156 msgid ""
6157 " command-lines 'arguments ...'\n"
6158 "\n"
6159 msgstr ""
6160
6161 #. type: textblock
6162 #: ../fish/guestfish-actions.pod:764
6163 msgid ""
6164 "This is the same as L</command>, but splits the result into a list of lines."
6165 msgstr ""
6166
6167 #. type: textblock
6168 #: ../fish/guestfish-actions.pod:767
6169 msgid "See also: L</sh-lines>"
6170 msgstr ""
6171
6172 #. type: =head2
6173 #: ../fish/guestfish-actions.pod:772
6174 msgid "config"
6175 msgstr ""
6176
6177 #. type: verbatim
6178 #: ../fish/guestfish-actions.pod:774
6179 #, no-wrap
6180 msgid ""
6181 " config qemuparam qemuvalue\n"
6182 "\n"
6183 msgstr ""
6184
6185 #. type: textblock
6186 #: ../fish/guestfish-actions.pod:776 ../src/guestfs-actions.pod:1159
6187 msgid ""
6188 "This can be used to add arbitrary qemu command line parameters of the form "
6189 "I<-param value>.  Actually it's not quite arbitrary - we prevent you from "
6190 "setting some parameters which would interfere with parameters that we use."
6191 msgstr ""
6192
6193 #. type: textblock
6194 #: ../fish/guestfish-actions.pod:781 ../src/guestfs-actions.pod:1164
6195 msgid "The first character of C<param> string must be a C<-> (dash)."
6196 msgstr ""
6197
6198 #. type: textblock
6199 #: ../fish/guestfish-actions.pod:783 ../src/guestfs-actions.pod:1166
6200 msgid "C<value> can be NULL."
6201 msgstr ""
6202
6203 #. type: =head2
6204 #: ../fish/guestfish-actions.pod:785
6205 msgid "copy-size"
6206 msgstr ""
6207
6208 #. type: verbatim
6209 #: ../fish/guestfish-actions.pod:787
6210 #, no-wrap
6211 msgid ""
6212 " copy-size src dest size\n"
6213 "\n"
6214 msgstr ""
6215
6216 #. type: textblock
6217 #: ../fish/guestfish-actions.pod:789 ../src/guestfs-actions.pod:1180
6218 msgid ""
6219 "This command copies exactly C<size> bytes from one source device or file "
6220 "C<src> to another destination device or file C<dest>."
6221 msgstr ""
6222
6223 #. type: textblock
6224 #: ../fish/guestfish-actions.pod:792 ../src/guestfs-actions.pod:1183
6225 msgid ""
6226 "Note this will fail if the source is too short or if the destination is not "
6227 "large enough."
6228 msgstr ""
6229
6230 #. type: =head2
6231 #: ../fish/guestfish-actions.pod:795
6232 msgid "cp"
6233 msgstr "cp"
6234
6235 #. type: verbatim
6236 #: ../fish/guestfish-actions.pod:797
6237 #, no-wrap
6238 msgid ""
6239 " cp src dest\n"
6240 "\n"
6241 msgstr ""
6242
6243 #. type: textblock
6244 #: ../fish/guestfish-actions.pod:799 ../src/guestfs-actions.pod:1202
6245 msgid ""
6246 "This copies a file from C<src> to C<dest> where C<dest> is either a "
6247 "destination filename or destination directory."
6248 msgstr ""
6249
6250 #. type: =head2
6251 #: ../fish/guestfish-actions.pod:802
6252 msgid "cp-a"
6253 msgstr "cp-a"
6254
6255 #. type: verbatim
6256 #: ../fish/guestfish-actions.pod:804
6257 #, no-wrap
6258 msgid ""
6259 " cp-a src dest\n"
6260 "\n"
6261 msgstr ""
6262
6263 #. type: textblock
6264 #: ../fish/guestfish-actions.pod:806 ../src/guestfs-actions.pod:1216
6265 msgid ""
6266 "This copies a file or directory from C<src> to C<dest> recursively using the "
6267 "C<cp -a> command."
6268 msgstr ""
6269
6270 #. type: =head2
6271 #: ../fish/guestfish-actions.pod:809
6272 msgid "dd"
6273 msgstr "dd"
6274
6275 #. type: verbatim
6276 #: ../fish/guestfish-actions.pod:811
6277 #, no-wrap
6278 msgid ""
6279 " dd src dest\n"
6280 "\n"
6281 msgstr ""
6282
6283 #. type: textblock
6284 #: ../fish/guestfish-actions.pod:813 ../src/guestfs-actions.pod:1230
6285 msgid ""
6286 "This command copies from one source device or file C<src> to another "
6287 "destination device or file C<dest>.  Normally you would use this to copy to "
6288 "or from a device or partition, for example to duplicate a filesystem."
6289 msgstr ""
6290
6291 #. type: textblock
6292 #: ../fish/guestfish-actions.pod:818
6293 msgid ""
6294 "If the destination is a device, it must be as large or larger than the "
6295 "source file or device, otherwise the copy will fail.  This command cannot do "
6296 "partial copies (see L</copy-size>)."
6297 msgstr ""
6298
6299 #. type: =head2
6300 #: ../fish/guestfish-actions.pod:822
6301 msgid "df"
6302 msgstr "df"
6303
6304 #. type: verbatim
6305 #: ../fish/guestfish-actions.pod:824
6306 #, no-wrap
6307 msgid ""
6308 " df\n"
6309 "\n"
6310 msgstr ""
6311 " df\n"
6312 "\n"
6313
6314 #. type: textblock
6315 #: ../fish/guestfish-actions.pod:826 ../src/guestfs-actions.pod:1248
6316 msgid "This command runs the C<df> command to report disk space used."
6317 msgstr ""
6318
6319 #. type: textblock
6320 #: ../fish/guestfish-actions.pod:828 ../fish/guestfish-actions.pod:839
6321 msgid ""
6322 "This command is mostly useful for interactive sessions.  It is I<not> "
6323 "intended that you try to parse the output string.  Use L</statvfs> from "
6324 "programs."
6325 msgstr ""
6326
6327 #. type: =head2
6328 #: ../fish/guestfish-actions.pod:832
6329 msgid "df-h"
6330 msgstr "df-h"
6331
6332 #. type: verbatim
6333 #: ../fish/guestfish-actions.pod:834
6334 #, no-wrap
6335 msgid ""
6336 " df-h\n"
6337 "\n"
6338 msgstr ""
6339 " df-h\n"
6340 "\n"
6341
6342 #. type: textblock
6343 #: ../fish/guestfish-actions.pod:836 ../src/guestfs-actions.pod:1264
6344 msgid ""
6345 "This command runs the C<df -h> command to report disk space used in human-"
6346 "readable format."
6347 msgstr ""
6348
6349 #. type: =head2
6350 #: ../fish/guestfish-actions.pod:843
6351 msgid "dmesg"
6352 msgstr "dmesg"
6353
6354 #. type: verbatim
6355 #: ../fish/guestfish-actions.pod:845
6356 #, no-wrap
6357 msgid ""
6358 " dmesg\n"
6359 "\n"
6360 msgstr ""
6361 " dmesg\n"
6362 "\n"
6363
6364 #. type: textblock
6365 #: ../fish/guestfish-actions.pod:847 ../src/guestfs-actions.pod:1281
6366 msgid ""
6367 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
6368 "This is sometimes useful for extended debugging of problems."
6369 msgstr ""
6370
6371 #. type: textblock
6372 #: ../fish/guestfish-actions.pod:851
6373 msgid ""
6374 "Another way to get the same information is to enable verbose messages with "
6375 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
6376 "before running the program."
6377 msgstr ""
6378
6379 #. type: =head2
6380 #: ../fish/guestfish-actions.pod:856
6381 msgid "download"
6382 msgstr "download"
6383
6384 #. type: verbatim
6385 #: ../fish/guestfish-actions.pod:858
6386 #, no-wrap
6387 msgid ""
6388 " download remotefilename (filename|-)\n"
6389 "\n"
6390 msgstr ""
6391
6392 #. type: textblock
6393 #: ../fish/guestfish-actions.pod:860 ../fish/guestfish-actions.pod:873
6394 #: ../src/guestfs-actions.pod:1302 ../src/guestfs-actions.pod:1327
6395 msgid ""
6396 "Download file C<remotefilename> and save it as C<filename> on the local "
6397 "machine."
6398 msgstr ""
6399
6400 #. type: textblock
6401 #: ../fish/guestfish-actions.pod:863 ../fish/guestfish-actions.pod:4808
6402 #: ../src/guestfs-actions.pod:1305 ../src/guestfs-actions.pod:7237
6403 msgid "C<filename> can also be a named pipe."
6404 msgstr ""
6405
6406 #. type: textblock
6407 #: ../fish/guestfish-actions.pod:865
6408 msgid "See also L</upload>, L</cat>."
6409 msgstr ""
6410
6411 #. type: =head2
6412 #: ../fish/guestfish-actions.pod:869
6413 msgid "download-offset"
6414 msgstr "download-offset"
6415
6416 #. type: verbatim
6417 #: ../fish/guestfish-actions.pod:871
6418 #, no-wrap
6419 msgid ""
6420 " download-offset remotefilename (filename|-) offset size\n"
6421 "\n"
6422 msgstr ""
6423
6424 #. type: textblock
6425 #: ../fish/guestfish-actions.pod:876 ../src/guestfs-actions.pod:1330
6426 msgid ""
6427 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
6428 "region must be within the file or device)."
6429 msgstr ""
6430
6431 #. type: textblock
6432 #: ../fish/guestfish-actions.pod:879
6433 msgid ""
6434 "Note that there is no limit on the amount of data that can be downloaded "
6435 "with this call, unlike with L</pread>, and this call always reads the full "
6436 "amount unless an error occurs."
6437 msgstr ""
6438
6439 #. type: textblock
6440 #: ../fish/guestfish-actions.pod:884
6441 msgid "See also L</download>, L</pread>."
6442 msgstr ""
6443
6444 #. type: =head2
6445 #: ../fish/guestfish-actions.pod:888
6446 msgid "drop-caches"
6447 msgstr ""
6448
6449 #. type: verbatim
6450 #: ../fish/guestfish-actions.pod:890
6451 #, no-wrap
6452 msgid ""
6453 " drop-caches whattodrop\n"
6454 "\n"
6455 msgstr ""
6456
6457 #. type: textblock
6458 #: ../fish/guestfish-actions.pod:892 ../src/guestfs-actions.pod:1355
6459 msgid ""
6460 "This instructs the guest kernel to drop its page cache, and/or dentries and "
6461 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
6462 "to drop, see L<http://linux-mm.org/Drop_Caches>"
6463 msgstr ""
6464
6465 #. type: textblock
6466 #: ../fish/guestfish-actions.pod:897 ../src/guestfs-actions.pod:1360
6467 msgid "Setting C<whattodrop> to 3 should drop everything."
6468 msgstr ""
6469
6470 #. type: textblock
6471 #: ../fish/guestfish-actions.pod:899 ../src/guestfs-actions.pod:1362
6472 msgid ""
6473 "This automatically calls L<sync(2)> before the operation, so that the "
6474 "maximum guest memory is freed."
6475 msgstr ""
6476
6477 #. type: =head2
6478 #: ../fish/guestfish-actions.pod:902
6479 msgid "du"
6480 msgstr "du"
6481
6482 #. type: verbatim
6483 #: ../fish/guestfish-actions.pod:904
6484 #, no-wrap
6485 msgid ""
6486 " du path\n"
6487 "\n"
6488 msgstr ""
6489 " du шлях\n"
6490 "\n"
6491
6492 #. type: textblock
6493 #: ../fish/guestfish-actions.pod:906 ../src/guestfs-actions.pod:1375
6494 msgid ""
6495 "This command runs the C<du -s> command to estimate file space usage for "
6496 "C<path>."
6497 msgstr ""
6498
6499 #. type: textblock
6500 #: ../fish/guestfish-actions.pod:909 ../src/guestfs-actions.pod:1378
6501 msgid ""
6502 "C<path> can be a file or a directory.  If C<path> is a directory then the "
6503 "estimate includes the contents of the directory and all subdirectories "
6504 "(recursively)."
6505 msgstr ""
6506
6507 #. type: textblock
6508 #: ../fish/guestfish-actions.pod:913 ../src/guestfs-actions.pod:1382
6509 msgid ""
6510 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
6511 msgstr ""
6512
6513 #. type: =head2
6514 #: ../fish/guestfish-actions.pod:916
6515 msgid "e2fsck-f"
6516 msgstr "e2fsck-f"
6517
6518 #. type: verbatim
6519 #: ../fish/guestfish-actions.pod:918
6520 #, no-wrap
6521 msgid ""
6522 " e2fsck-f device\n"
6523 "\n"
6524 msgstr ""
6525
6526 #. type: textblock
6527 #: ../fish/guestfish-actions.pod:920 ../src/guestfs-actions.pod:1400
6528 msgid ""
6529 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
6530 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
6531 "clean (I<-f>)."
6532 msgstr ""
6533
6534 #. type: textblock
6535 #: ../fish/guestfish-actions.pod:924
6536 msgid ""
6537 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
6538 "should use L</fsck>."
6539 msgstr ""
6540
6541 #. type: =head2
6542 #: ../fish/guestfish-actions.pod:927
6543 msgid "echo-daemon"
6544 msgstr ""
6545
6546 #. type: verbatim
6547 #: ../fish/guestfish-actions.pod:929
6548 #, no-wrap
6549 msgid ""
6550 " echo-daemon 'words ...'\n"
6551 "\n"
6552 msgstr ""
6553
6554 #. type: textblock
6555 #: ../fish/guestfish-actions.pod:931 ../src/guestfs-actions.pod:1417
6556 msgid ""
6557 "This command concatenates the list of C<words> passed with single spaces "
6558 "between them and returns the resulting string."
6559 msgstr ""
6560
6561 #. type: textblock
6562 #: ../fish/guestfish-actions.pod:934 ../src/guestfs-actions.pod:1420
6563 msgid "You can use this command to test the connection through to the daemon."
6564 msgstr ""
6565
6566 #. type: textblock
6567 #: ../fish/guestfish-actions.pod:936
6568 msgid "See also L</ping-daemon>."
6569 msgstr ""
6570
6571 #. type: =head2
6572 #: ../fish/guestfish-actions.pod:938
6573 msgid "egrep"
6574 msgstr "egrep"
6575
6576 #. type: verbatim
6577 #: ../fish/guestfish-actions.pod:940
6578 #, no-wrap
6579 msgid ""
6580 " egrep regex path\n"
6581 "\n"
6582 msgstr ""
6583
6584 #. type: textblock
6585 #: ../fish/guestfish-actions.pod:942 ../src/guestfs-actions.pod:1436
6586 msgid ""
6587 "This calls the external C<egrep> program and returns the matching lines."
6588 msgstr ""
6589
6590 #. type: =head2
6591 #: ../fish/guestfish-actions.pod:948
6592 msgid "egrepi"
6593 msgstr "egrepi"
6594
6595 #. type: verbatim
6596 #: ../fish/guestfish-actions.pod:950
6597 #, no-wrap
6598 msgid ""
6599 " egrepi regex path\n"
6600 "\n"
6601 msgstr ""
6602
6603 #. type: textblock
6604 #: ../fish/guestfish-actions.pod:952 ../src/guestfs-actions.pod:1455
6605 msgid ""
6606 "This calls the external C<egrep -i> program and returns the matching lines."
6607 msgstr ""
6608
6609 #. type: =head2
6610 #: ../fish/guestfish-actions.pod:958
6611 msgid "equal"
6612 msgstr "equal"
6613
6614 #. type: verbatim
6615 #: ../fish/guestfish-actions.pod:960
6616 #, no-wrap
6617 msgid ""
6618 " equal file1 file2\n"
6619 "\n"
6620 msgstr ""
6621 " equal файл1 файл2\n"
6622 "\n"
6623
6624 #. type: textblock
6625 #: ../fish/guestfish-actions.pod:962 ../src/guestfs-actions.pod:1474
6626 msgid ""
6627 "This compares the two files C<file1> and C<file2> and returns true if their "
6628 "content is exactly equal, or false otherwise."
6629 msgstr ""
6630
6631 #. type: textblock
6632 #: ../fish/guestfish-actions.pod:965 ../src/guestfs-actions.pod:1477
6633 msgid "The external L<cmp(1)> program is used for the comparison."
6634 msgstr ""
6635
6636 #. type: =head2
6637 #: ../fish/guestfish-actions.pod:967
6638 msgid "exists"
6639 msgstr "exists"
6640
6641 #. type: verbatim
6642 #: ../fish/guestfish-actions.pod:969
6643 #, no-wrap
6644 msgid ""
6645 " exists path\n"
6646 "\n"
6647 msgstr ""
6648 " exists шлях\n"
6649 "\n"
6650
6651 #. type: textblock
6652 #: ../fish/guestfish-actions.pod:971 ../src/guestfs-actions.pod:1489
6653 msgid ""
6654 "This returns C<true> if and only if there is a file, directory (or anything) "
6655 "with the given C<path> name."
6656 msgstr ""
6657
6658 #. type: textblock
6659 #: ../fish/guestfish-actions.pod:974
6660 msgid "See also L</is-file>, L</is-dir>, L</stat>."
6661 msgstr "Див. також L</is-file>, L</is-dir>, L</stat>."
6662
6663 #. type: =head2
6664 #: ../fish/guestfish-actions.pod:976
6665 msgid "fallocate"
6666 msgstr "fallocate"
6667
6668 #. type: verbatim
6669 #: ../fish/guestfish-actions.pod:978
6670 #, no-wrap
6671 msgid ""
6672 " fallocate path len\n"
6673 "\n"
6674 msgstr ""
6675 " fallocate шлях довжина\n"
6676 "\n"
6677
6678 #. type: textblock
6679 #: ../fish/guestfish-actions.pod:980 ../fish/guestfish-actions.pod:999
6680 #: ../src/guestfs-actions.pod:1512 ../src/guestfs-actions.pod:1531
6681 msgid ""
6682 "This command preallocates a file (containing zero bytes) named C<path> of "
6683 "size C<len> bytes.  If the file exists already, it is overwritten."
6684 msgstr ""
6685
6686 #. type: textblock
6687 #: ../fish/guestfish-actions.pod:984 ../src/guestfs-actions.pod:1516
6688 msgid ""
6689 "Do not confuse this with the guestfish-specific C<alloc> command which "
6690 "allocates a file in the host and attaches it as a device."
6691 msgstr ""
6692
6693 #. type: textblock
6694 #: ../fish/guestfish-actions.pod:988
6695 msgid ""
6696 "I<This function is deprecated.> In new code, use the L</fallocate64> call "
6697 "instead."
6698 msgstr ""
6699
6700 #. type: =head2
6701 #: ../fish/guestfish-actions.pod:995
6702 msgid "fallocate64"
6703 msgstr "fallocate64"
6704
6705 #. type: verbatim
6706 #: ../fish/guestfish-actions.pod:997
6707 #, no-wrap
6708 msgid ""
6709 " fallocate64 path len\n"
6710 "\n"
6711 msgstr ""
6712 " fallocate64 шлях довжина\n"
6713 "\n"
6714
6715 #. type: textblock
6716 #: ../fish/guestfish-actions.pod:1003
6717 msgid ""
6718 "Note that this call allocates disk blocks for the file.  To create a sparse "
6719 "file use L</truncate-size> instead."
6720 msgstr ""
6721
6722 #. type: textblock
6723 #: ../fish/guestfish-actions.pod:1006
6724 msgid ""
6725 "The deprecated call L</fallocate> does the same, but owing to an oversight "
6726 "it only allowed 30 bit lengths to be specified, effectively limiting the "
6727 "maximum size of files created through that call to 1GB."
6728 msgstr ""
6729
6730 #. type: textblock
6731 #: ../fish/guestfish-actions.pod:1011 ../src/guestfs-actions.pod:1543
6732 msgid ""
6733 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
6734 "commands which create a file in the host and attach it as a device."
6735 msgstr ""
6736
6737 #. type: =head2
6738 #: ../fish/guestfish-actions.pod:1015
6739 msgid "fgrep"
6740 msgstr "fgrep"
6741
6742 #. type: verbatim
6743 #: ../fish/guestfish-actions.pod:1017
6744 #, no-wrap
6745 msgid ""
6746 " fgrep pattern path\n"
6747 "\n"
6748 msgstr ""
6749 " fgrep шаблон шлях\n"
6750 "\n"
6751
6752 #. type: textblock
6753 #: ../fish/guestfish-actions.pod:1019 ../src/guestfs-actions.pod:1558
6754 msgid ""
6755 "This calls the external C<fgrep> program and returns the matching lines."
6756 msgstr ""
6757
6758 #. type: =head2
6759 #: ../fish/guestfish-actions.pod:1025
6760 msgid "fgrepi"
6761 msgstr "fgrepi"
6762
6763 #. type: verbatim
6764 #: ../fish/guestfish-actions.pod:1027
6765 #, no-wrap
6766 msgid ""
6767 " fgrepi pattern path\n"
6768 "\n"
6769 msgstr ""
6770 " fgrepi шаблон шлях\n"
6771 "\n"
6772
6773 #. type: textblock
6774 #: ../fish/guestfish-actions.pod:1029 ../src/guestfs-actions.pod:1577
6775 msgid ""
6776 "This calls the external C<fgrep -i> program and returns the matching lines."
6777 msgstr ""
6778
6779 #. type: =head2
6780 #: ../fish/guestfish-actions.pod:1035
6781 msgid "file"
6782 msgstr "file"
6783
6784 #. type: verbatim
6785 #: ../fish/guestfish-actions.pod:1037
6786 #, no-wrap
6787 msgid ""
6788 " file path\n"
6789 "\n"
6790 msgstr ""
6791 " file шлях\n"
6792 "\n"
6793
6794 #. type: textblock
6795 #: ../fish/guestfish-actions.pod:1039 ../src/guestfs-actions.pod:1595
6796 msgid ""
6797 "This call uses the standard L<file(1)> command to determine the type or "
6798 "contents of the file."
6799 msgstr ""
6800
6801 #. type: textblock
6802 #: ../fish/guestfish-actions.pod:1042 ../src/guestfs-actions.pod:1598
6803 msgid ""
6804 "This call will also transparently look inside various types of compressed "
6805 "file."
6806 msgstr ""
6807
6808 #. type: textblock
6809 #: ../fish/guestfish-actions.pod:1045 ../src/guestfs-actions.pod:1601
6810 msgid ""
6811 "The exact command which runs is C<file -zb path>.  Note in particular that "
6812 "the filename is not prepended to the output (the I<-b> option)."
6813 msgstr ""
6814
6815 #. type: textblock
6816 #: ../fish/guestfish-actions.pod:1049 ../src/guestfs-actions.pod:1605
6817 msgid ""
6818 "The output depends on the output of the underlying L<file(1)> command and it "
6819 "can change in future in ways beyond our control.  In other words, the output "
6820 "is not guaranteed by the ABI."
6821 msgstr ""
6822
6823 #. type: textblock
6824 #: ../fish/guestfish-actions.pod:1053
6825 msgid ""
6826 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
6827 "(etc), L</is-zero>."
6828 msgstr ""
6829
6830 #. type: =head2
6831 #: ../fish/guestfish-actions.pod:1056
6832 msgid "file-architecture"
6833 msgstr "file-architecture"
6834
6835 #. type: verbatim
6836 #: ../fish/guestfish-actions.pod:1058
6837 #, no-wrap
6838 msgid ""
6839 " file-architecture filename\n"
6840 "\n"
6841 msgstr ""
6842 " file-architecture назва_файла\n"
6843 "\n"
6844
6845 #. type: textblock
6846 #: ../fish/guestfish-actions.pod:1060 ../src/guestfs-actions.pod:1623
6847 msgid ""
6848 "This detects the architecture of the binary C<filename>, and returns it if "
6849 "known."
6850 msgstr ""
6851
6852 #. type: textblock
6853 #: ../fish/guestfish-actions.pod:1063 ../src/guestfs-actions.pod:1626
6854 msgid "Currently defined architectures are:"
6855 msgstr ""
6856
6857 #. type: =item
6858 #: ../fish/guestfish-actions.pod:1067 ../src/guestfs-actions.pod:1630
6859 msgid "\"i386\""
6860 msgstr "\"i386\""
6861
6862 #. type: textblock
6863 #: ../fish/guestfish-actions.pod:1069 ../src/guestfs-actions.pod:1632
6864 msgid ""
6865 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
6866 "irrespective of the precise processor requirements of the binary."
6867 msgstr ""
6868
6869 #. type: =item
6870 #: ../fish/guestfish-actions.pod:1072 ../src/guestfs-actions.pod:1635
6871 msgid "\"x86_64\""
6872 msgstr "\"x86_64\""
6873
6874 #. type: textblock
6875 #: ../fish/guestfish-actions.pod:1074 ../src/guestfs-actions.pod:1637
6876 msgid "64 bit x86-64."
6877 msgstr ""
6878
6879 #. type: =item
6880 #: ../fish/guestfish-actions.pod:1076 ../src/guestfs-actions.pod:1639
6881 msgid "\"sparc\""
6882 msgstr ""
6883
6884 #. type: textblock
6885 #: ../fish/guestfish-actions.pod:1078 ../src/guestfs-actions.pod:1641
6886 msgid "32 bit SPARC."
6887 msgstr ""
6888
6889 #. type: =item
6890 #: ../fish/guestfish-actions.pod:1080 ../src/guestfs-actions.pod:1643
6891 msgid "\"sparc64\""
6892 msgstr ""
6893
6894 #. type: textblock
6895 #: ../fish/guestfish-actions.pod:1082 ../src/guestfs-actions.pod:1645
6896 msgid "64 bit SPARC V9 and above."
6897 msgstr ""
6898
6899 #. type: =item
6900 #: ../fish/guestfish-actions.pod:1084 ../src/guestfs-actions.pod:1647
6901 msgid "\"ia64\""
6902 msgstr "\"ia64\""
6903
6904 #. type: textblock
6905 #: ../fish/guestfish-actions.pod:1086 ../src/guestfs-actions.pod:1649
6906 msgid "Intel Itanium."
6907 msgstr "Intel Itanium."
6908
6909 #. type: =item
6910 #: ../fish/guestfish-actions.pod:1088 ../src/guestfs-actions.pod:1651
6911 msgid "\"ppc\""
6912 msgstr ""
6913
6914 #. type: textblock
6915 #: ../fish/guestfish-actions.pod:1090 ../src/guestfs-actions.pod:1653
6916 msgid "32 bit Power PC."
6917 msgstr ""
6918
6919 #. type: =item
6920 #: ../fish/guestfish-actions.pod:1092 ../src/guestfs-actions.pod:1655
6921 msgid "\"ppc64\""
6922 msgstr ""
6923
6924 #. type: textblock
6925 #: ../fish/guestfish-actions.pod:1094 ../src/guestfs-actions.pod:1657
6926 msgid "64 bit Power PC."
6927 msgstr ""
6928
6929 #. type: textblock
6930 #: ../fish/guestfish-actions.pod:1098 ../src/guestfs-actions.pod:1661
6931 msgid "Libguestfs may return other architecture strings in future."
6932 msgstr ""
6933
6934 #. type: textblock
6935 #: ../fish/guestfish-actions.pod:1100 ../src/guestfs-actions.pod:1663
6936 msgid "The function works on at least the following types of files:"
6937 msgstr ""
6938
6939 #. type: textblock
6940 #: ../fish/guestfish-actions.pod:1106 ../src/guestfs-actions.pod:1669
6941 msgid "many types of Un*x and Linux binary"
6942 msgstr ""
6943
6944 #. type: textblock
6945 #: ../fish/guestfish-actions.pod:1110 ../src/guestfs-actions.pod:1673
6946 msgid "many types of Un*x and Linux shared library"
6947 msgstr ""
6948
6949 #. type: textblock
6950 #: ../fish/guestfish-actions.pod:1114 ../src/guestfs-actions.pod:1677
6951 msgid "Windows Win32 and Win64 binaries"
6952 msgstr ""
6953
6954 #. type: textblock
6955 #: ../fish/guestfish-actions.pod:1118 ../src/guestfs-actions.pod:1681
6956 msgid "Windows Win32 and Win64 DLLs"
6957 msgstr ""
6958
6959 #. type: textblock
6960 #: ../fish/guestfish-actions.pod:1120 ../src/guestfs-actions.pod:1683
6961 msgid "Win32 binaries and DLLs return C<i386>."
6962 msgstr ""
6963
6964 #. type: textblock
6965 #: ../fish/guestfish-actions.pod:1122 ../src/guestfs-actions.pod:1685
6966 msgid "Win64 binaries and DLLs return C<x86_64>."
6967 msgstr ""
6968
6969 #. type: textblock
6970 #: ../fish/guestfish-actions.pod:1126 ../src/guestfs-actions.pod:1689
6971 msgid "Linux kernel modules"
6972 msgstr ""
6973
6974 #. type: textblock
6975 #: ../fish/guestfish-actions.pod:1130 ../src/guestfs-actions.pod:1693
6976 msgid "Linux new-style initrd images"
6977 msgstr ""
6978
6979 #. type: textblock
6980 #: ../fish/guestfish-actions.pod:1134 ../src/guestfs-actions.pod:1697
6981 msgid "some non-x86 Linux vmlinuz kernels"
6982 msgstr ""
6983
6984 #. type: textblock
6985 #: ../fish/guestfish-actions.pod:1138 ../src/guestfs-actions.pod:1701
6986 msgid "What it can't do currently:"
6987 msgstr ""
6988
6989 #. type: textblock
6990 #: ../fish/guestfish-actions.pod:1144 ../src/guestfs-actions.pod:1707
6991 msgid "static libraries (libfoo.a)"
6992 msgstr ""
6993
6994 #. type: textblock
6995 #: ../fish/guestfish-actions.pod:1148 ../src/guestfs-actions.pod:1711
6996 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6997 msgstr ""
6998
6999 #. type: textblock
7000 #: ../fish/guestfish-actions.pod:1152 ../src/guestfs-actions.pod:1715
7001 msgid "x86 Linux vmlinuz kernels"
7002 msgstr ""
7003
7004 #. type: textblock
7005 #: ../fish/guestfish-actions.pod:1154 ../src/guestfs-actions.pod:1717
7006 msgid ""
7007 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
7008 "compressed code, and are horribly hard to unpack.  If you want to find the "
7009 "architecture of a kernel, use the architecture of the associated initrd or "
7010 "kernel module(s) instead."
7011 msgstr ""
7012
7013 #. type: =head2
7014 #: ../fish/guestfish-actions.pod:1161
7015 msgid "filesize"
7016 msgstr "filesize"
7017
7018 #. type: verbatim
7019 #: ../fish/guestfish-actions.pod:1163
7020 #, no-wrap
7021 msgid ""
7022 " filesize file\n"
7023 "\n"
7024 msgstr ""
7025 " filesize файл\n"
7026 "\n"
7027
7028 #. type: textblock
7029 #: ../fish/guestfish-actions.pod:1165 ../src/guestfs-actions.pod:1735
7030 msgid "This command returns the size of C<file> in bytes."
7031 msgstr ""
7032
7033 #. type: textblock
7034 #: ../fish/guestfish-actions.pod:1167
7035 msgid ""
7036 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
7037 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
7038 msgstr ""
7039
7040 #. type: =head2
7041 #: ../fish/guestfish-actions.pod:1171
7042 msgid "fill"
7043 msgstr "fill"
7044
7045 #. type: verbatim
7046 #: ../fish/guestfish-actions.pod:1173
7047 #, no-wrap
7048 msgid ""
7049 " fill c len path\n"
7050 "\n"
7051 msgstr ""
7052
7053 #. type: textblock
7054 #: ../fish/guestfish-actions.pod:1175 ../src/guestfs-actions.pod:1753
7055 msgid ""
7056 "This command creates a new file called C<path>.  The initial content of the "
7057 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
7058 "[0..255]>."
7059 msgstr ""
7060
7061 #. type: textblock
7062 #: ../fish/guestfish-actions.pod:1179
7063 msgid ""
7064 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
7065 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
7066 "L</fill-pattern>."
7067 msgstr ""
7068
7069 #. type: =head2
7070 #: ../fish/guestfish-actions.pod:1184
7071 msgid "fill-pattern"
7072 msgstr "fill-pattern"
7073
7074 #. type: verbatim
7075 #: ../fish/guestfish-actions.pod:1186
7076 #, no-wrap
7077 msgid ""
7078 " fill-pattern pattern len path\n"
7079 "\n"
7080 msgstr ""
7081
7082 #. type: textblock
7083 #: ../fish/guestfish-actions.pod:1188
7084 msgid ""
7085 "This function is like L</fill> except that it creates a new file of length "
7086 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
7087 "is truncated if necessary to ensure the length of the file is exactly C<len> "
7088 "bytes."
7089 msgstr ""
7090
7091 #. type: =head2
7092 #: ../fish/guestfish-actions.pod:1193
7093 msgid "find"
7094 msgstr "find"
7095
7096 #. type: verbatim
7097 #: ../fish/guestfish-actions.pod:1195
7098 #, no-wrap
7099 msgid ""
7100 " find directory\n"
7101 "\n"
7102 msgstr ""
7103 " find каталог\n"
7104 "\n"
7105
7106 #. type: textblock
7107 #: ../fish/guestfish-actions.pod:1197 ../src/guestfs-actions.pod:1799
7108 msgid ""
7109 "This command lists out all files and directories, recursively, starting at "
7110 "C<directory>.  It is essentially equivalent to running the shell command "
7111 "C<find directory -print> but some post-processing happens on the output, "
7112 "described below."
7113 msgstr ""
7114
7115 #. type: textblock
7116 #: ../fish/guestfish-actions.pod:1202 ../src/guestfs-actions.pod:1804
7117 msgid ""
7118 "This returns a list of strings I<without any prefix>.  Thus if the directory "
7119 "structure was:"
7120 msgstr ""
7121
7122 #. type: verbatim
7123 #: ../fish/guestfish-actions.pod:1205 ../src/guestfs-actions.pod:1807
7124 #, no-wrap
7125 msgid ""
7126 " /tmp/a\n"
7127 " /tmp/b\n"
7128 " /tmp/c/d\n"
7129 "\n"
7130 msgstr ""
7131
7132 #. type: textblock
7133 #: ../fish/guestfish-actions.pod:1209
7134 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
7135 msgstr ""
7136
7137 #. type: verbatim
7138 #: ../fish/guestfish-actions.pod:1212 ../src/guestfs-actions.pod:1814
7139 #, no-wrap
7140 msgid ""
7141 " a\n"
7142 " b\n"
7143 " c\n"
7144 " c/d\n"
7145 "\n"
7146 msgstr ""
7147
7148 #. type: textblock
7149 #: ../fish/guestfish-actions.pod:1217 ../src/guestfs-actions.pod:1819
7150 msgid "If C<directory> is not a directory, then this command returns an error."
7151 msgstr ""
7152
7153 #. type: textblock
7154 #: ../fish/guestfish-actions.pod:1220 ../src/guestfs-actions.pod:1822
7155 msgid "The returned list is sorted."
7156 msgstr ""
7157
7158 #. type: textblock
7159 #: ../fish/guestfish-actions.pod:1222
7160 msgid "See also L</find0>."
7161 msgstr "Див. також L</find0>."
7162
7163 #. type: =head2
7164 #: ../fish/guestfish-actions.pod:1227
7165 msgid "find0"
7166 msgstr "find0"
7167
7168 #. type: verbatim
7169 #: ../fish/guestfish-actions.pod:1229
7170 #, no-wrap
7171 msgid ""
7172 " find0 directory (files|-)\n"
7173 "\n"
7174 msgstr ""
7175 " find0 каталог (файли|-)\n"
7176 "\n"
7177
7178 #. type: textblock
7179 #: ../fish/guestfish-actions.pod:1231 ../src/guestfs-actions.pod:1842
7180 msgid ""
7181 "This command lists out all files and directories, recursively, starting at "
7182 "C<directory>, placing the resulting list in the external file called "
7183 "C<files>."
7184 msgstr ""
7185
7186 #. type: textblock
7187 #: ../fish/guestfish-actions.pod:1235
7188 msgid ""
7189 "This command works the same way as L</find> with the following exceptions:"
7190 msgstr ""
7191
7192 #. type: textblock
7193 #: ../fish/guestfish-actions.pod:1242 ../src/guestfs-actions.pod:1853
7194 msgid "The resulting list is written to an external file."
7195 msgstr ""
7196
7197 #. type: textblock
7198 #: ../fish/guestfish-actions.pod:1246 ../src/guestfs-actions.pod:1857
7199 msgid ""
7200 "Items (filenames) in the result are separated by C<\\0> characters.  See "
7201 "L<find(1)> option I<-print0>."
7202 msgstr ""
7203
7204 #. type: textblock
7205 #: ../fish/guestfish-actions.pod:1251 ../src/guestfs-actions.pod:1862
7206 msgid "This command is not limited in the number of names that it can return."
7207 msgstr ""
7208
7209 #. type: textblock
7210 #: ../fish/guestfish-actions.pod:1256 ../src/guestfs-actions.pod:1867
7211 msgid "The result list is not sorted."
7212 msgstr ""
7213
7214 #. type: =head2
7215 #: ../fish/guestfish-actions.pod:1262
7216 msgid "findfs-label"
7217 msgstr "findfs-label"
7218
7219 #. type: verbatim
7220 #: ../fish/guestfish-actions.pod:1264
7221 #, no-wrap
7222 msgid ""
7223 " findfs-label label\n"
7224 "\n"
7225 msgstr ""
7226 " findfs-label мітка\n"
7227 "\n"
7228
7229 #. type: textblock
7230 #: ../fish/guestfish-actions.pod:1266 ../src/guestfs-actions.pod:1881
7231 msgid ""
7232 "This command searches the filesystems and returns the one which has the "
7233 "given label.  An error is returned if no such filesystem can be found."
7234 msgstr ""
7235
7236 #. type: textblock
7237 #: ../fish/guestfish-actions.pod:1270
7238 msgid "To find the label of a filesystem, use L</vfs-label>."
7239 msgstr "Для визначення мітки файлової системи скористайтеся L</vfs-label>."
7240
7241 #. type: =head2
7242 #: ../fish/guestfish-actions.pod:1272
7243 msgid "findfs-uuid"
7244 msgstr "findfs-uuid"
7245
7246 #. type: verbatim
7247 #: ../fish/guestfish-actions.pod:1274
7248 #, no-wrap
7249 msgid ""
7250 " findfs-uuid uuid\n"
7251 "\n"
7252 msgstr ""
7253 " findfs-uuid uuid\n"
7254 "\n"
7255
7256 #. type: textblock
7257 #: ../fish/guestfish-actions.pod:1276 ../src/guestfs-actions.pod:1898
7258 msgid ""
7259 "This command searches the filesystems and returns the one which has the "
7260 "given UUID.  An error is returned if no such filesystem can be found."
7261 msgstr ""
7262
7263 #. type: textblock
7264 #: ../fish/guestfish-actions.pod:1280
7265 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
7266 msgstr "Для визначення UUID файлової системи скористайтеся L</vfs-uuid>."
7267
7268 #. type: =head2
7269 #: ../fish/guestfish-actions.pod:1282
7270 msgid "fsck"
7271 msgstr "fsck"
7272
7273 #. type: verbatim
7274 #: ../fish/guestfish-actions.pod:1284
7275 #, no-wrap
7276 msgid ""
7277 " fsck fstype device\n"
7278 "\n"
7279 msgstr ""
7280 " fsck тип_файлової_системи пристрій\n"
7281 "\n"
7282
7283 #. type: textblock
7284 #: ../fish/guestfish-actions.pod:1286 ../src/guestfs-actions.pod:1916
7285 msgid ""
7286 "This runs the filesystem checker (fsck) on C<device> which should have "
7287 "filesystem type C<fstype>."
7288 msgstr ""
7289
7290 #. type: textblock
7291 #: ../fish/guestfish-actions.pod:1289 ../src/guestfs-actions.pod:1919
7292 msgid ""
7293 "The returned integer is the status.  See L<fsck(8)> for the list of status "
7294 "codes from C<fsck>."
7295 msgstr ""
7296
7297 #. type: textblock
7298 #: ../fish/guestfish-actions.pod:1298 ../src/guestfs-actions.pod:1928
7299 msgid "Multiple status codes can be summed together."
7300 msgstr ""
7301
7302 #. type: textblock
7303 #: ../fish/guestfish-actions.pod:1302 ../src/guestfs-actions.pod:1932
7304 msgid ""
7305 "A non-zero return code can mean \"success\", for example if errors have been "
7306 "corrected on the filesystem."
7307 msgstr ""
7308
7309 #. type: textblock
7310 #: ../fish/guestfish-actions.pod:1307 ../src/guestfs-actions.pod:1937
7311 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
7312 msgstr ""
7313
7314 #. type: textblock
7315 #: ../fish/guestfish-actions.pod:1312 ../src/guestfs-actions.pod:1942
7316 msgid ""
7317 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
7318 msgstr ""
7319
7320 #. type: =head2
7321 #: ../fish/guestfish-actions.pod:1314
7322 msgid "get-append"
7323 msgstr "get-append"
7324
7325 #. type: verbatim
7326 #: ../fish/guestfish-actions.pod:1316
7327 #, no-wrap
7328 msgid ""
7329 " get-append\n"
7330 "\n"
7331 msgstr ""
7332 " get-append\n"
7333 "\n"
7334
7335 #. type: textblock
7336 #: ../fish/guestfish-actions.pod:1318 ../src/guestfs-actions.pod:1953
7337 msgid ""
7338 "Return the additional kernel options which are added to the guest kernel "
7339 "command line."
7340 msgstr ""
7341
7342 #. type: textblock
7343 #: ../fish/guestfish-actions.pod:1321 ../src/guestfs-actions.pod:1956
7344 msgid "If C<NULL> then no options are added."
7345 msgstr ""
7346
7347 #. type: =head2
7348 #: ../fish/guestfish-actions.pod:1323
7349 msgid "get-attach-method"
7350 msgstr "get-attach-method"
7351
7352 #. type: verbatim
7353 #: ../fish/guestfish-actions.pod:1325
7354 #, no-wrap
7355 msgid ""
7356 " get-attach-method\n"
7357 "\n"
7358 msgstr ""
7359 " get-attach-method\n"
7360 "\n"
7361
7362 #. type: textblock
7363 #: ../fish/guestfish-actions.pod:1327
7364 msgid "Return the current attach method.  See L</set-attach-method>."
7365 msgstr ""
7366
7367 #. type: =head2
7368 #: ../fish/guestfish-actions.pod:1329
7369 msgid "get-autosync"
7370 msgstr "get-autosync"
7371
7372 #. type: verbatim
7373 #: ../fish/guestfish-actions.pod:1331
7374 #, no-wrap
7375 msgid ""
7376 " get-autosync\n"
7377 "\n"
7378 msgstr ""
7379 " get-autosync\n"
7380 "\n"
7381
7382 #. type: textblock
7383 #: ../fish/guestfish-actions.pod:1333 ../src/guestfs-actions.pod:1981
7384 msgid "Get the autosync flag."
7385 msgstr ""
7386
7387 #. type: =head2
7388 #: ../fish/guestfish-actions.pod:1335
7389 msgid "get-direct"
7390 msgstr "get-direct"
7391
7392 #. type: verbatim
7393 #: ../fish/guestfish-actions.pod:1337
7394 #, no-wrap
7395 msgid ""
7396 " get-direct\n"
7397 "\n"
7398 msgstr ""
7399 " get-direct\n"
7400 "\n"
7401
7402 #. type: textblock
7403 #: ../fish/guestfish-actions.pod:1339 ../src/guestfs-actions.pod:1992
7404 msgid "Return the direct appliance mode flag."
7405 msgstr ""
7406
7407 #. type: =head2
7408 #: ../fish/guestfish-actions.pod:1341
7409 msgid "get-e2label"
7410 msgstr "get-e2label"
7411
7412 #. type: verbatim
7413 #: ../fish/guestfish-actions.pod:1343
7414 #, no-wrap
7415 msgid ""
7416 " get-e2label device\n"
7417 "\n"
7418 msgstr ""
7419 " get-e2label пристрій\n"
7420 "\n"
7421
7422 #. type: textblock
7423 #: ../fish/guestfish-actions.pod:1345 ../src/guestfs-actions.pod:2011
7424 msgid ""
7425 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
7426 msgstr ""
7427
7428 #. type: textblock
7429 #: ../fish/guestfish-actions.pod:1348
7430 msgid ""
7431 "I<This function is deprecated.> In new code, use the L</vfs_label> call "
7432 "instead."
7433 msgstr ""
7434
7435 #. type: =head2
7436 #: ../fish/guestfish-actions.pod:1355
7437 msgid "get-e2uuid"
7438 msgstr "get-e2uuid"
7439
7440 #. type: verbatim
7441 #: ../fish/guestfish-actions.pod:1357
7442 #, no-wrap
7443 msgid ""
7444 " get-e2uuid device\n"
7445 "\n"
7446 msgstr ""
7447 " get-e2uuid пристрій\n"
7448 "\n"
7449
7450 #. type: textblock
7451 #: ../fish/guestfish-actions.pod:1359 ../src/guestfs-actions.pod:2032
7452 msgid ""
7453 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
7454 msgstr ""
7455
7456 #. type: textblock
7457 #: ../fish/guestfish-actions.pod:1362
7458 msgid ""
7459 "I<This function is deprecated.> In new code, use the L</vfs_uuid> call "
7460 "instead."
7461 msgstr ""
7462
7463 #. type: =head2
7464 #: ../fish/guestfish-actions.pod:1369
7465 msgid "get-memsize"
7466 msgstr "get-memsize"
7467
7468 #. type: verbatim
7469 #: ../fish/guestfish-actions.pod:1371
7470 #, no-wrap
7471 msgid ""
7472 " get-memsize\n"
7473 "\n"
7474 msgstr ""
7475 " get-memsize\n"
7476 "\n"
7477
7478 #. type: textblock
7479 #: ../fish/guestfish-actions.pod:1373 ../src/guestfs-actions.pod:2045
7480 msgid ""
7481 "This gets the memory size in megabytes allocated to the qemu subprocess."
7482 msgstr ""
7483
7484 #. type: textblock
7485 #: ../fish/guestfish-actions.pod:1376
7486 msgid ""
7487 "If L</set-memsize> was not called on this handle, and if "
7488 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
7489 "value for memsize."
7490 msgstr ""
7491
7492 #. type: textblock
7493 #: ../fish/guestfish-actions.pod:1380 ../fish/guestfish-actions.pod:1437
7494 #: ../fish/guestfish-actions.pod:4168 ../fish/guestfish-actions.pod:4270
7495 #: ../src/guestfs-actions.pod:2052 ../src/guestfs-actions.pod:2144
7496 #: ../src/guestfs-actions.pod:6298 ../src/guestfs-actions.pod:6424
7497 msgid ""
7498 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
7499 msgstr ""
7500
7501 #. type: =head2
7502 #: ../fish/guestfish-actions.pod:1383
7503 msgid "get-network"
7504 msgstr "get-network"
7505
7506 #. type: verbatim
7507 #: ../fish/guestfish-actions.pod:1385
7508 #, no-wrap
7509 msgid ""
7510 " get-network\n"
7511 "\n"
7512 msgstr ""
7513 " get-network\n"
7514 "\n"
7515
7516 #. type: textblock
7517 #: ../fish/guestfish-actions.pod:1387 ../src/guestfs-actions.pod:2064
7518 msgid "This returns the enable network flag."
7519 msgstr ""
7520
7521 #. type: =head2
7522 #: ../fish/guestfish-actions.pod:1389
7523 msgid "get-path"
7524 msgstr "get-path"
7525
7526 #. type: verbatim
7527 #: ../fish/guestfish-actions.pod:1391
7528 #, no-wrap
7529 msgid ""
7530 " get-path\n"
7531 "\n"
7532 msgstr ""
7533 " get-path\n"
7534 "\n"
7535
7536 #. type: textblock
7537 #: ../fish/guestfish-actions.pod:1393 ../src/guestfs-actions.pod:2075
7538 msgid "Return the current search path."
7539 msgstr ""
7540
7541 #. type: textblock
7542 #: ../fish/guestfish-actions.pod:1395 ../src/guestfs-actions.pod:2077
7543 msgid ""
7544 "This is always non-NULL.  If it wasn't set already, then this will return "
7545 "the default path."
7546 msgstr ""
7547
7548 #. type: =head2
7549 #: ../fish/guestfish-actions.pod:1398
7550 msgid "get-pgroup"
7551 msgstr ""
7552
7553 #. type: verbatim
7554 #: ../fish/guestfish-actions.pod:1400
7555 #, no-wrap
7556 msgid ""
7557 " get-pgroup\n"
7558 "\n"
7559 msgstr ""
7560
7561 #. type: textblock
7562 #: ../fish/guestfish-actions.pod:1402 ../src/guestfs-actions.pod:2090
7563 msgid "This returns the process group flag."
7564 msgstr ""
7565
7566 #. type: =head2
7567 #: ../fish/guestfish-actions.pod:1404
7568 msgid "get-pid"
7569 msgstr "get-pid"
7570
7571 #. type: =head2
7572 #: ../fish/guestfish-actions.pod:1406
7573 msgid "pid"
7574 msgstr ""
7575
7576 #. type: verbatim
7577 #: ../fish/guestfish-actions.pod:1408
7578 #, no-wrap
7579 msgid ""
7580 " get-pid\n"
7581 "\n"
7582 msgstr ""
7583 " get-pid\n"
7584 "\n"
7585
7586 #. type: textblock
7587 #: ../fish/guestfish-actions.pod:1410 ../src/guestfs-actions.pod:2101
7588 msgid ""
7589 "Return the process ID of the qemu subprocess.  If there is no qemu "
7590 "subprocess, then this will return an error."
7591 msgstr ""
7592
7593 #. type: textblock
7594 #: ../fish/guestfish-actions.pod:1413 ../src/guestfs-actions.pod:2104
7595 msgid "This is an internal call used for debugging and testing."
7596 msgstr ""
7597
7598 #. type: =head2
7599 #: ../fish/guestfish-actions.pod:1415
7600 msgid "get-qemu"
7601 msgstr "get-qemu"
7602
7603 #. type: verbatim
7604 #: ../fish/guestfish-actions.pod:1417
7605 #, no-wrap
7606 msgid ""
7607 " get-qemu\n"
7608 "\n"
7609 msgstr ""
7610 " get-qemu\n"
7611 "\n"
7612
7613 #. type: textblock
7614 #: ../fish/guestfish-actions.pod:1419 ../src/guestfs-actions.pod:2115
7615 msgid "Return the current qemu binary."
7616 msgstr ""
7617
7618 #. type: textblock
7619 #: ../fish/guestfish-actions.pod:1421 ../src/guestfs-actions.pod:2117
7620 msgid ""
7621 "This is always non-NULL.  If it wasn't set already, then this will return "
7622 "the default qemu binary name."
7623 msgstr ""
7624
7625 #. type: =head2
7626 #: ../fish/guestfish-actions.pod:1424
7627 msgid "get-recovery-proc"
7628 msgstr "get-recovery-proc"
7629
7630 #. type: verbatim
7631 #: ../fish/guestfish-actions.pod:1426
7632 #, no-wrap
7633 msgid ""
7634 " get-recovery-proc\n"
7635 "\n"
7636 msgstr ""
7637 " get-recovery-proc\n"
7638 "\n"
7639
7640 #. type: textblock
7641 #: ../fish/guestfish-actions.pod:1428 ../src/guestfs-actions.pod:2130
7642 msgid "Return the recovery process enabled flag."
7643 msgstr ""
7644
7645 #. type: =head2
7646 #: ../fish/guestfish-actions.pod:1430
7647 msgid "get-selinux"
7648 msgstr "get-selinux"
7649
7650 #. type: verbatim
7651 #: ../fish/guestfish-actions.pod:1432
7652 #, no-wrap
7653 msgid ""
7654 " get-selinux\n"
7655 "\n"
7656 msgstr ""
7657 " get-selinux\n"
7658 "\n"
7659
7660 #. type: textblock
7661 #: ../fish/guestfish-actions.pod:1434
7662 msgid ""
7663 "This returns the current setting of the selinux flag which is passed to the "
7664 "appliance at boot time.  See L</set-selinux>."
7665 msgstr ""
7666
7667 #. type: =head2
7668 #: ../fish/guestfish-actions.pod:1440
7669 msgid "get-state"
7670 msgstr "get-state"
7671
7672 #. type: verbatim
7673 #: ../fish/guestfish-actions.pod:1442
7674 #, no-wrap
7675 msgid ""
7676 " get-state\n"
7677 "\n"
7678 msgstr ""
7679 " get-state\n"
7680 "\n"
7681
7682 #. type: textblock
7683 #: ../fish/guestfish-actions.pod:1444 ../src/guestfs-actions.pod:2156
7684 msgid ""
7685 "This returns the current state as an opaque integer.  This is only useful "
7686 "for printing debug and internal error messages."
7687 msgstr ""
7688
7689 #. type: textblock
7690 #: ../fish/guestfish-actions.pod:1447 ../fish/guestfish-actions.pod:2367
7691 #: ../fish/guestfish-actions.pod:2385 ../fish/guestfish-actions.pod:2423
7692 #: ../fish/guestfish-actions.pod:2439 ../src/guestfs-actions.pod:2159
7693 #: ../src/guestfs-actions.pod:3439 ../src/guestfs-actions.pod:3468
7694 #: ../src/guestfs-actions.pod:3529 ../src/guestfs-actions.pod:3556
7695 msgid "For more information on states, see L<guestfs(3)>."
7696 msgstr ""
7697
7698 #. type: =head2
7699 #: ../fish/guestfish-actions.pod:1449
7700 msgid "get-trace"
7701 msgstr "get-trace"
7702
7703 #. type: verbatim
7704 #: ../fish/guestfish-actions.pod:1451
7705 #, no-wrap
7706 msgid ""
7707 " get-trace\n"
7708 "\n"
7709 msgstr ""
7710 " get-trace\n"
7711 "\n"
7712
7713 #. type: textblock
7714 #: ../fish/guestfish-actions.pod:1453 ../src/guestfs-actions.pod:2170
7715 msgid "Return the command trace flag."
7716 msgstr ""
7717
7718 #. type: =head2
7719 #: ../fish/guestfish-actions.pod:1455
7720 msgid "get-umask"
7721 msgstr "get-umask"
7722
7723 #. type: verbatim
7724 #: ../fish/guestfish-actions.pod:1457
7725 #, no-wrap
7726 msgid ""
7727 " get-umask\n"
7728 "\n"
7729 msgstr ""
7730 " get-umask\n"
7731 "\n"
7732
7733 #. type: textblock
7734 #: ../fish/guestfish-actions.pod:1459
7735 msgid ""
7736 "Return the current umask.  By default the umask is C<022> unless it has been "
7737 "set by calling L</umask>."
7738 msgstr ""
7739
7740 #. type: =head2
7741 #: ../fish/guestfish-actions.pod:1462
7742 msgid "get-verbose"
7743 msgstr "get-verbose"
7744
7745 #. type: verbatim
7746 #: ../fish/guestfish-actions.pod:1464
7747 #, no-wrap
7748 msgid ""
7749 " get-verbose\n"
7750 "\n"
7751 msgstr ""
7752 " get-verbose\n"
7753 "\n"
7754
7755 #. type: textblock
7756 #: ../fish/guestfish-actions.pod:1466 ../src/guestfs-actions.pod:2193
7757 msgid "This returns the verbose messages flag."
7758 msgstr ""
7759
7760 #. type: =head2
7761 #: ../fish/guestfish-actions.pod:1468
7762 msgid "getcon"
7763 msgstr "getcon"
7764
7765 #. type: verbatim
7766 #: ../fish/guestfish-actions.pod:1470
7767 #, no-wrap
7768 msgid ""
7769 " getcon\n"
7770 "\n"
7771 msgstr ""
7772 " getcon\n"
7773 "\n"
7774
7775 #. type: textblock
7776 #: ../fish/guestfish-actions.pod:1472 ../src/guestfs-actions.pod:2204
7777 msgid "This gets the SELinux security context of the daemon."
7778 msgstr ""
7779
7780 #. type: textblock
7781 #: ../fish/guestfish-actions.pod:1474
7782 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
7783 msgstr ""
7784
7785 #. type: =head2
7786 #: ../fish/guestfish-actions.pod:1477
7787 msgid "getxattr"
7788 msgstr "getxattr"
7789
7790 #. type: verbatim
7791 #: ../fish/guestfish-actions.pod:1479
7792 #, no-wrap
7793 msgid ""
7794 " getxattr path name\n"
7795 "\n"
7796 msgstr ""
7797 " getxattr шлях назва\n"
7798 "\n"
7799
7800 #. type: textblock
7801 #: ../fish/guestfish-actions.pod:1481
7802 msgid ""
7803 "Get a single extended attribute from file C<path> named C<name>.  This call "
7804 "follows symlinks.  If you want to lookup an extended attribute for the "
7805 "symlink itself, use L</lgetxattr>."
7806 msgstr ""
7807
7808 #. type: textblock
7809 #: ../fish/guestfish-actions.pod:1485 ../fish/guestfish-actions.pod:2512
7810 msgid ""
7811 "Normally it is better to get all extended attributes from a file in one go "
7812 "by calling L</getxattrs>.  However some Linux filesystem implementations are "
7813 "buggy and do not provide a way to list out attributes.  For these "
7814 "filesystems (notably ntfs-3g)  you have to know the names of the extended "
7815 "attributes you want in advance and call this function."
7816 msgstr ""
7817
7818 #. type: textblock
7819 #: ../fish/guestfish-actions.pod:1492 ../fish/guestfish-actions.pod:2519
7820 #: ../src/guestfs-actions.pod:2233 ../src/guestfs-actions.pod:3689
7821 msgid ""
7822 "Extended attribute values are blobs of binary data.  If there is no extended "
7823 "attribute named C<name>, this returns an error."
7824 msgstr ""
7825
7826 #. type: textblock
7827 #: ../fish/guestfish-actions.pod:1495
7828 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
7829 msgstr "Див. також L</getxattrs>, L</lgetxattr>, L<attr(5)>."
7830
7831 #. type: =head2
7832 #: ../fish/guestfish-actions.pod:1497
7833 msgid "getxattrs"
7834 msgstr "getxattrs"
7835
7836 #. type: verbatim
7837 #: ../fish/guestfish-actions.pod:1499
7838 #, no-wrap
7839 msgid ""
7840 " getxattrs path\n"
7841 "\n"
7842 msgstr ""
7843 " getxattrs шлях\n"
7844 "\n"
7845
7846 #. type: textblock
7847 #: ../fish/guestfish-actions.pod:1501 ../src/guestfs-actions.pod:2250
7848 msgid ""
7849 "This call lists the extended attributes of the file or directory C<path>."
7850 msgstr ""
7851
7852 #. type: textblock
7853 #: ../fish/guestfish-actions.pod:1504 ../src/guestfs-actions.pod:2253
7854 msgid ""
7855 "At the system call level, this is a combination of the L<listxattr(2)> and "
7856 "L<getxattr(2)> calls."
7857 msgstr ""
7858
7859 #. type: textblock
7860 #: ../fish/guestfish-actions.pod:1507
7861 msgid "See also: L</lgetxattrs>, L<attr(5)>."
7862 msgstr "Див. також L</lgetxattrs>, L<attr(5)>."
7863
7864 #. type: =head2
7865 #: ../fish/guestfish-actions.pod:1509
7866 msgid "glob-expand"
7867 msgstr "glob-expand"
7868
7869 #. type: verbatim
7870 #: ../fish/guestfish-actions.pod:1511
7871 #, no-wrap
7872 msgid ""
7873 " glob-expand pattern\n"
7874 "\n"
7875 msgstr ""
7876 " glob-expand шаблон\n"
7877 "\n"
7878
7879 #. type: textblock
7880 #: ../fish/guestfish-actions.pod:1513 ../src/guestfs-actions.pod:2270
7881 msgid ""
7882 "This command searches for all the pathnames matching C<pattern> according to "
7883 "the wildcard expansion rules used by the shell."
7884 msgstr ""
7885
7886 #. type: textblock
7887 #: ../fish/guestfish-actions.pod:1517 ../src/guestfs-actions.pod:2274
7888 msgid ""
7889 "If no paths match, then this returns an empty list (note: not an error)."
7890 msgstr ""
7891
7892 #. type: textblock
7893 #: ../fish/guestfish-actions.pod:1520 ../src/guestfs-actions.pod:2277
7894 msgid ""
7895 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
7896 "GLOB_BRACE>.  See that manual page for more details."
7897 msgstr ""
7898
7899 #. type: =head2
7900 #: ../fish/guestfish-actions.pod:1524
7901 msgid "grep"
7902 msgstr "grep"
7903
7904 #. type: verbatim
7905 #: ../fish/guestfish-actions.pod:1526
7906 #, no-wrap
7907 msgid ""
7908 " grep regex path\n"
7909 "\n"
7910 msgstr ""
7911 " grepi формальний_вираз шлях\n"
7912 "\n"
7913
7914 #. type: textblock
7915 #: ../fish/guestfish-actions.pod:1528 ../src/guestfs-actions.pod:2294
7916 msgid "This calls the external C<grep> program and returns the matching lines."
7917 msgstr ""
7918
7919 #. type: =head2
7920 #: ../fish/guestfish-actions.pod:1534
7921 msgid "grepi"
7922 msgstr "grepi"
7923
7924 #. type: verbatim
7925 #: ../fish/guestfish-actions.pod:1536
7926 #, no-wrap
7927 msgid ""
7928 " grepi regex path\n"
7929 "\n"
7930 msgstr ""
7931 " grepi формальний_вираз шлях\n"
7932 "\n"
7933
7934 #. type: textblock
7935 #: ../fish/guestfish-actions.pod:1538 ../src/guestfs-actions.pod:2313
7936 msgid ""
7937 "This calls the external C<grep -i> program and returns the matching lines."
7938 msgstr ""
7939
7940 #. type: =head2
7941 #: ../fish/guestfish-actions.pod:1544
7942 msgid "grub-install"
7943 msgstr "grub-install"
7944
7945 #. type: verbatim
7946 #: ../fish/guestfish-actions.pod:1546
7947 #, no-wrap
7948 msgid ""
7949 " grub-install root device\n"
7950 "\n"
7951 msgstr ""
7952 " grub-install кореневий пристрій\n"
7953 "\n"
7954
7955 #. type: textblock
7956 #: ../fish/guestfish-actions.pod:1548 ../src/guestfs-actions.pod:2332
7957 msgid ""
7958 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
7959 "the root directory being C<root>."
7960 msgstr ""
7961
7962 #. type: textblock
7963 #: ../fish/guestfish-actions.pod:1551 ../src/guestfs-actions.pod:2335
7964 msgid ""
7965 "Note: If grub-install reports the error \"No suitable drive was found in the "
7966 "generated device map.\" it may be that you need to create a C</boot/grub/"
7967 "device.map> file first that contains the mapping between grub device names "
7968 "and Linux device names.  It is usually sufficient to create a file "
7969 "containing:"
7970 msgstr ""
7971
7972 #. type: verbatim
7973 #: ../fish/guestfish-actions.pod:1558 ../src/guestfs-actions.pod:2342
7974 #, no-wrap
7975 msgid ""
7976 " (hd0) /dev/vda\n"
7977 "\n"
7978 msgstr ""
7979
7980 #. type: textblock
7981 #: ../fish/guestfish-actions.pod:1560 ../src/guestfs-actions.pod:2344
7982 msgid "replacing C</dev/vda> with the name of the installation device."
7983 msgstr ""
7984
7985 #. type: =head2
7986 #: ../fish/guestfish-actions.pod:1562
7987 msgid "head"
7988 msgstr "head"
7989
7990 #. type: verbatim
7991 #: ../fish/guestfish-actions.pod:1564
7992 #, no-wrap
7993 msgid ""
7994 " head path\n"
7995 "\n"
7996 msgstr ""
7997 " head шлях\n"
7998 "\n"
7999
8000 #. type: textblock
8001 #: ../fish/guestfish-actions.pod:1566 ../src/guestfs-actions.pod:2356
8002 msgid ""
8003 "This command returns up to the first 10 lines of a file as a list of strings."
8004 msgstr ""
8005
8006 #. type: =head2
8007 #: ../fish/guestfish-actions.pod:1572
8008 msgid "head-n"
8009 msgstr "head-n"
8010
8011 #. type: verbatim
8012 #: ../fish/guestfish-actions.pod:1574
8013 #, no-wrap
8014 msgid ""
8015 " head-n nrlines path\n"
8016 "\n"
8017 msgstr ""
8018
8019 #. type: textblock
8020 #: ../fish/guestfish-actions.pod:1576 ../src/guestfs-actions.pod:2375
8021 msgid ""
8022 "If the parameter C<nrlines> is a positive number, this returns the first "
8023 "C<nrlines> lines of the file C<path>."
8024 msgstr ""
8025
8026 #. type: textblock
8027 #: ../fish/guestfish-actions.pod:1579 ../src/guestfs-actions.pod:2378
8028 msgid ""
8029 "If the parameter C<nrlines> is a negative number, this returns lines from "
8030 "the file C<path>, excluding the last C<nrlines> lines."
8031 msgstr ""
8032
8033 #. type: textblock
8034 #: ../fish/guestfish-actions.pod:1582 ../fish/guestfish-actions.pod:4648
8035 #: ../src/guestfs-actions.pod:2381 ../src/guestfs-actions.pod:6996
8036 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
8037 msgstr ""
8038
8039 #. type: =head2
8040 #: ../fish/guestfish-actions.pod:1587
8041 msgid "hexdump"
8042 msgstr "hexdump"
8043
8044 #. type: verbatim
8045 #: ../fish/guestfish-actions.pod:1589
8046 #, no-wrap
8047 msgid ""
8048 " hexdump path\n"
8049 "\n"
8050 msgstr ""
8051 " hexdump шлях\n"
8052 "\n"
8053
8054 #. type: textblock
8055 #: ../fish/guestfish-actions.pod:1591 ../src/guestfs-actions.pod:2398
8056 msgid ""
8057 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
8058 "readable, canonical hex dump of the file."
8059 msgstr ""
8060
8061 #. type: =head2
8062 #: ../fish/guestfish-actions.pod:1597
8063 msgid "initrd-cat"
8064 msgstr "initrd-cat"
8065
8066 #. type: verbatim
8067 #: ../fish/guestfish-actions.pod:1599
8068 #, no-wrap
8069 msgid ""
8070 " initrd-cat initrdpath filename\n"
8071 "\n"
8072 msgstr ""
8073 " initrd-cat шлях_initrd назва_файла\n"
8074 "\n"
8075
8076 #. type: textblock
8077 #: ../fish/guestfish-actions.pod:1601 ../src/guestfs-actions.pod:2417
8078 msgid ""
8079 "This command unpacks the file C<filename> from the initrd file called "
8080 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
8081 "character."
8082 msgstr ""
8083
8084 #. type: textblock
8085 #: ../fish/guestfish-actions.pod:1605 ../src/guestfs-actions.pod:2421
8086 msgid ""
8087 "For example, in guestfish you could use the following command to examine the "
8088 "boot script (usually called C</init>)  contained in a Linux initrd or "
8089 "initramfs image:"
8090 msgstr ""
8091
8092 #. type: verbatim
8093 #: ../fish/guestfish-actions.pod:1609 ../src/guestfs-actions.pod:2425
8094 #, no-wrap
8095 msgid ""
8096 " initrd-cat /boot/initrd-<version>.img init\n"
8097 "\n"
8098 msgstr ""
8099
8100 #. type: textblock
8101 #: ../fish/guestfish-actions.pod:1611
8102 msgid "See also L</initrd-list>."
8103 msgstr "Див. також L</initrd-list>."
8104
8105 #. type: =head2
8106 #: ../fish/guestfish-actions.pod:1616
8107 msgid "initrd-list"
8108 msgstr "initrd-list"
8109
8110 #. type: verbatim
8111 #: ../fish/guestfish-actions.pod:1618
8112 #, no-wrap
8113 msgid ""
8114 " initrd-list path\n"
8115 "\n"
8116 msgstr ""
8117 " initrd-list шлях\n"
8118 "\n"
8119
8120 #. type: textblock
8121 #: ../fish/guestfish-actions.pod:1620 ../src/guestfs-actions.pod:2444
8122 msgid "This command lists out files contained in an initrd."
8123 msgstr ""
8124
8125 #. type: textblock
8126 #: ../fish/guestfish-actions.pod:1622 ../src/guestfs-actions.pod:2446
8127 msgid ""
8128 "The files are listed without any initial C</> character.  The files are "
8129 "listed in the order they appear (not necessarily alphabetical).  Directory "
8130 "names are listed as separate items."
8131 msgstr ""
8132
8133 #. type: textblock
8134 #: ../fish/guestfish-actions.pod:1626 ../src/guestfs-actions.pod:2450
8135 msgid ""
8136 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
8137 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
8138 "files)."
8139 msgstr ""
8140
8141 #. type: =head2
8142 #: ../fish/guestfish-actions.pod:1630
8143 msgid "inotify-add-watch"
8144 msgstr "inotify-add-watch"
8145
8146 #. type: verbatim
8147 #: ../fish/guestfish-actions.pod:1632
8148 #, no-wrap
8149 msgid ""
8150 " inotify-add-watch path mask\n"
8151 "\n"
8152 msgstr ""
8153 " inotify-add-watch шлях маска\n"
8154 "\n"
8155
8156 #. type: textblock
8157 #: ../fish/guestfish-actions.pod:1634 ../src/guestfs-actions.pod:2467
8158 msgid "Watch C<path> for the events listed in C<mask>."
8159 msgstr ""
8160
8161 #. type: textblock
8162 #: ../fish/guestfish-actions.pod:1636 ../src/guestfs-actions.pod:2469
8163 msgid ""
8164 "Note that if C<path> is a directory then events within that directory are "
8165 "watched, but this does I<not> happen recursively (in subdirectories)."
8166 msgstr ""
8167
8168 #. type: textblock
8169 #: ../fish/guestfish-actions.pod:1640 ../src/guestfs-actions.pod:2473
8170 msgid ""
8171 "Note for non-C or non-Linux callers: the inotify events are defined by the "
8172 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
8173 msgstr ""
8174
8175 #. type: =head2
8176 #: ../fish/guestfish-actions.pod:1644
8177 msgid "inotify-close"
8178 msgstr "inotify-close"
8179
8180 #. type: verbatim
8181 #: ../fish/guestfish-actions.pod:1646
8182 #, no-wrap
8183 msgid ""
8184 " inotify-close\n"
8185 "\n"
8186 msgstr ""
8187 " inotify-close\n"
8188 "\n"
8189
8190 #. type: textblock
8191 #: ../fish/guestfish-actions.pod:1648 ../src/guestfs-actions.pod:2486
8192 msgid ""
8193 "This closes the inotify handle which was previously opened by inotify_init.  "
8194 "It removes all watches, throws away any pending events, and deallocates all "
8195 "resources."
8196 msgstr ""
8197
8198 #. type: =head2
8199 #: ../fish/guestfish-actions.pod:1652
8200 msgid "inotify-files"
8201 msgstr "inotify-files"
8202
8203 #. type: verbatim
8204 #: ../fish/guestfish-actions.pod:1654
8205 #, no-wrap
8206 msgid ""
8207 " inotify-files\n"
8208 "\n"
8209 msgstr ""
8210 " inotify-files\n"
8211 "\n"
8212
8213 #. type: textblock
8214 #: ../fish/guestfish-actions.pod:1656
8215 msgid ""
8216 "This function is a helpful wrapper around L</inotify-read> which just "
8217 "returns a list of pathnames of objects that were touched.  The returned "
8218 "pathnames are sorted and deduplicated."
8219 msgstr ""
8220
8221 #. type: =head2
8222 #: ../fish/guestfish-actions.pod:1660
8223 msgid "inotify-init"
8224 msgstr "inotify-init"
8225
8226 #. type: verbatim
8227 #: ../fish/guestfish-actions.pod:1662
8228 #, no-wrap
8229 msgid ""
8230 " inotify-init maxevents\n"
8231 "\n"
8232 msgstr ""
8233
8234 #. type: textblock
8235 #: ../fish/guestfish-actions.pod:1664 ../src/guestfs-actions.pod:2515
8236 msgid ""
8237 "This command creates a new inotify handle.  The inotify subsystem can be "
8238 "used to notify events which happen to objects in the guest filesystem."
8239 msgstr ""
8240
8241 #. type: textblock
8242 #: ../fish/guestfish-actions.pod:1668
8243 msgid ""
8244 "C<maxevents> is the maximum number of events which will be queued up between "
8245 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
8246 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
8247 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
8248 "but records the fact that it threw them away by setting a flag "
8249 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
8250 msgstr ""
8251
8252 #. type: textblock
8253 #: ../fish/guestfish-actions.pod:1678
8254 msgid ""
8255 "Before any events are generated, you have to add some watches to the "
8256 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
8257 "L</inotify-watch-all>."
8258 msgstr ""
8259
8260 #. type: textblock
8261 #: ../fish/guestfish-actions.pod:1684
8262 msgid ""
8263 "Queued up events should be read periodically by calling L</inotify-read> (or "
8264 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
8265 "If you don't read the events out often enough then you risk the internal "
8266 "queue overflowing."
8267 msgstr ""
8268
8269 #. type: textblock
8270 #: ../fish/guestfish-actions.pod:1691
8271 msgid ""
8272 "The handle should be closed after use by calling L</inotify-close>.  This "
8273 "also removes any watches automatically."
8274 msgstr ""
8275
8276 #. type: textblock
8277 #: ../fish/guestfish-actions.pod:1695 ../src/guestfs-actions.pod:2546
8278 msgid ""
8279 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
8280 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
8281 "that there is one global inotify handle per libguestfs instance."
8282 msgstr ""
8283
8284 #. type: =head2
8285 #: ../fish/guestfish-actions.pod:1700
8286 msgid "inotify-read"
8287 msgstr "inotify-read"
8288
8289 #. type: verbatim
8290 #: ../fish/guestfish-actions.pod:1702
8291 #, no-wrap
8292 msgid ""
8293 " inotify-read\n"
8294 "\n"
8295 msgstr ""
8296 " inotify-read\n"
8297 "\n"
8298
8299 #. type: textblock
8300 #: ../fish/guestfish-actions.pod:1704 ../src/guestfs-actions.pod:2560
8301 msgid ""
8302 "Return the complete queue of events that have happened since the previous "
8303 "read call."
8304 msgstr ""
8305
8306 #. type: textblock
8307 #: ../fish/guestfish-actions.pod:1707 ../src/guestfs-actions.pod:2563
8308 msgid "If no events have happened, this returns an empty list."
8309 msgstr ""
8310
8311 #. type: textblock
8312 #: ../fish/guestfish-actions.pod:1709 ../src/guestfs-actions.pod:2565
8313 msgid ""
8314 "I<Note>: In order to make sure that all events have been read, you must call "
8315 "this function repeatedly until it returns an empty list.  The reason is that "
8316 "the call will read events up to the maximum appliance-to-host message size "
8317 "and leave remaining events in the queue."
8318 msgstr ""
8319
8320 #. type: =head2
8321 #: ../fish/guestfish-actions.pod:1715
8322 msgid "inotify-rm-watch"
8323 msgstr "inotify-rm-watch"
8324
8325 #. type: verbatim
8326 #: ../fish/guestfish-actions.pod:1717
8327 #, no-wrap
8328 msgid ""
8329 " inotify-rm-watch wd\n"
8330 "\n"
8331 msgstr ""
8332
8333 #. type: textblock
8334 #: ../fish/guestfish-actions.pod:1719
8335 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
8336 msgstr ""
8337
8338 #. type: =head2
8339 #: ../fish/guestfish-actions.pod:1722
8340 msgid "inspect-get-arch"
8341 msgstr "inspect-get-arch"
8342
8343 #. type: verbatim
8344 #: ../fish/guestfish-actions.pod:1724
8345 #, no-wrap
8346 msgid ""
8347 " inspect-get-arch root\n"
8348 "\n"
8349 msgstr ""
8350 " inspect-get-arch корінь\n"
8351 "\n"
8352
8353 #. type: textblock
8354 #: ../fish/guestfish-actions.pod:1726
8355 msgid ""
8356 "This returns the architecture of the inspected operating system.  The "
8357 "possible return values are listed under L</file-architecture>."
8358 msgstr ""
8359
8360 #. type: textblock
8361 #: ../fish/guestfish-actions.pod:1730 ../src/guestfs-actions.pod:2600
8362 msgid ""
8363 "If the architecture could not be determined, then the string C<unknown> is "
8364 "returned."
8365 msgstr ""
8366
8367 #. type: textblock
8368 #: ../fish/guestfish-actions.pod:1733 ../fish/guestfish-actions.pod:1816
8369 #: ../fish/guestfish-actions.pod:1895 ../fish/guestfish-actions.pod:1907
8370 #: ../fish/guestfish-actions.pod:1991 ../fish/guestfish-actions.pod:2052
8371 #: ../fish/guestfish-actions.pod:2073 ../fish/guestfish-actions.pod:2087
8372 #: ../fish/guestfish-actions.pod:2127 ../fish/guestfish-actions.pod:2159
8373 #: ../fish/guestfish-actions.pod:2172 ../fish/guestfish-actions.pod:2185
8374 #: ../fish/guestfish-actions.pod:2195 ../fish/guestfish-actions.pod:2205
8375 #: ../fish/guestfish-actions.pod:2217 ../fish/guestfish-actions.pod:2313
8376 #: ../fish/guestfish-actions.pod:2347 ../src/guestfs-actions.pod:2603
8377 #: ../src/guestfs-actions.pod:2693 ../src/guestfs-actions.pod:2797
8378 #: ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2947
8379 #: ../src/guestfs-actions.pod:3030 ../src/guestfs-actions.pod:3058
8380 #: ../src/guestfs-actions.pod:3079 ../src/guestfs-actions.pod:3132
8381 #: ../src/guestfs-actions.pod:3172 ../src/guestfs-actions.pod:3192
8382 #: ../src/guestfs-actions.pod:3212 ../src/guestfs-actions.pod:3229
8383 #: ../src/guestfs-actions.pod:3245 ../src/guestfs-actions.pod:3263
8384 #: ../src/guestfs-actions.pod:3365 ../src/guestfs-actions.pod:3406
8385 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
8386 msgstr ""
8387
8388 #. type: =head2
8389 #: ../fish/guestfish-actions.pod:1735
8390 msgid "inspect-get-distro"
8391 msgstr "inspect-get-distro"
8392
8393 #. type: verbatim
8394 #: ../fish/guestfish-actions.pod:1737
8395 #, no-wrap
8396 msgid ""
8397 " inspect-get-distro root\n"
8398 "\n"
8399 msgstr ""
8400 " inspect-get-distro корінь\n"
8401 "\n"
8402
8403 #. type: textblock
8404 #: ../fish/guestfish-actions.pod:1739 ../src/guestfs-actions.pod:2616
8405 msgid ""
8406 "This returns the distro (distribution) of the inspected operating system."
8407 msgstr ""
8408
8409 #. type: textblock
8410 #: ../fish/guestfish-actions.pod:1742 ../src/guestfs-actions.pod:2619
8411 msgid "Currently defined distros are:"
8412 msgstr ""
8413
8414 #. type: =item
8415 #: ../fish/guestfish-actions.pod:1746 ../src/guestfs-actions.pod:2623
8416 msgid "\"archlinux\""
8417 msgstr "\"archlinux\""
8418
8419 #. type: textblock
8420 #: ../fish/guestfish-actions.pod:1748 ../src/guestfs-actions.pod:2625
8421 msgid "Arch Linux."
8422 msgstr "Arch Linux."
8423
8424 #. type: =item
8425 #: ../fish/guestfish-actions.pod:1750 ../src/guestfs-actions.pod:2627
8426 msgid "\"centos\""
8427 msgstr ""
8428
8429 #. type: textblock
8430 #: ../fish/guestfish-actions.pod:1752 ../src/guestfs-actions.pod:2629
8431 msgid "CentOS."
8432 msgstr ""
8433
8434 #. type: =item
8435 #: ../fish/guestfish-actions.pod:1754 ../src/guestfs-actions.pod:2631
8436 msgid "\"debian\""
8437 msgstr "\"debian\""
8438
8439 #. type: textblock
8440 #: ../fish/guestfish-actions.pod:1756 ../src/guestfs-actions.pod:2633
8441 msgid "Debian."
8442 msgstr "Debian."
8443
8444 #. type: =item
8445 #: ../fish/guestfish-actions.pod:1758 ../src/guestfs-actions.pod:2635
8446 msgid "\"fedora\""
8447 msgstr "\"fedora\""
8448
8449 #. type: textblock
8450 #: ../fish/guestfish-actions.pod:1760 ../src/guestfs-actions.pod:2637
8451 msgid "Fedora."
8452 msgstr "Fedora."
8453
8454 #. type: =item
8455 #: ../fish/guestfish-actions.pod:1762 ../src/guestfs-actions.pod:2639
8456 msgid "\"gentoo\""
8457 msgstr "\"gentoo\""
8458
8459 #. type: textblock
8460 #: ../fish/guestfish-actions.pod:1764 ../src/guestfs-actions.pod:2641
8461 msgid "Gentoo."
8462 msgstr "Gentoo."
8463
8464 #. type: =item
8465 #: ../fish/guestfish-actions.pod:1766 ../src/guestfs-actions.pod:2643
8466 msgid "\"linuxmint\""
8467 msgstr "\"linuxmint\""
8468
8469 #. type: textblock
8470 #: ../fish/guestfish-actions.pod:1768 ../src/guestfs-actions.pod:2645
8471 msgid "Linux Mint."
8472 msgstr "Linux Mint."
8473
8474 #. type: =item
8475 #: ../fish/guestfish-actions.pod:1770 ../src/guestfs-actions.pod:2647
8476 msgid "\"mandriva\""
8477 msgstr "\"mandriva\""
8478
8479 #. type: textblock
8480 #: ../fish/guestfish-actions.pod:1772 ../src/guestfs-actions.pod:2649
8481 msgid "Mandriva."
8482 msgstr "Mandriva."
8483
8484 #. type: =item
8485 #: ../fish/guestfish-actions.pod:1774 ../src/guestfs-actions.pod:2651
8486 msgid "\"meego\""
8487 msgstr "\"meego\""
8488
8489 #. type: textblock
8490 #: ../fish/guestfish-actions.pod:1776 ../src/guestfs-actions.pod:2653
8491 msgid "MeeGo."
8492 msgstr "MeeGo."
8493
8494 #. type: =item
8495 #: ../fish/guestfish-actions.pod:1778 ../src/guestfs-actions.pod:2655
8496 msgid "\"pardus\""
8497 msgstr "\"pardus\""
8498
8499 #. type: textblock
8500 #: ../fish/guestfish-actions.pod:1780 ../src/guestfs-actions.pod:2657
8501 msgid "Pardus."
8502 msgstr "Pardus."
8503
8504 #. type: =item
8505 #: ../fish/guestfish-actions.pod:1782 ../src/guestfs-actions.pod:2659
8506 msgid "\"redhat-based\""
8507 msgstr "\"redhat-based\""
8508
8509 #. type: textblock
8510 #: ../fish/guestfish-actions.pod:1784 ../src/guestfs-actions.pod:2661
8511 msgid "Some Red Hat-derived distro."
8512 msgstr "Дистрибутив, що походить від Red Hat."
8513
8514 #. type: =item
8515 #: ../fish/guestfish-actions.pod:1786 ../src/guestfs-actions.pod:2663
8516 msgid "\"rhel\""
8517 msgstr "\"rhel\""
8518
8519 #. type: textblock
8520 #: ../fish/guestfish-actions.pod:1788 ../src/guestfs-actions.pod:2665
8521 msgid "Red Hat Enterprise Linux."
8522 msgstr ""
8523
8524 #. type: =item
8525 #: ../fish/guestfish-actions.pod:1790 ../src/guestfs-actions.pod:2667
8526 msgid "\"scientificlinux\""
8527 msgstr ""
8528
8529 #. type: textblock
8530 #: ../fish/guestfish-actions.pod:1792 ../src/guestfs-actions.pod:2669
8531 msgid "Scientific Linux."
8532 msgstr ""
8533
8534 #. type: =item
8535 #: ../fish/guestfish-actions.pod:1794 ../src/guestfs-actions.pod:2671
8536 msgid "\"slackware\""
8537 msgstr ""
8538
8539 #. type: textblock
8540 #: ../fish/guestfish-actions.pod:1796 ../src/guestfs-actions.pod:2673
8541 msgid "Slackware."
8542 msgstr ""
8543
8544 #. type: =item
8545 #: ../fish/guestfish-actions.pod:1798 ../src/guestfs-actions.pod:2675
8546 msgid "\"ubuntu\""
8547 msgstr "\"ubuntu\""
8548
8549 #. type: textblock
8550 #: ../fish/guestfish-actions.pod:1800 ../src/guestfs-actions.pod:2677
8551 msgid "Ubuntu."
8552 msgstr "Ubuntu."
8553
8554 #. type: =item
8555 #: ../fish/guestfish-actions.pod:1802 ../fish/guestfish-actions.pod:1886
8556 #: ../fish/guestfish-actions.pod:2150 ../src/guestfs-actions.pod:2679
8557 #: ../src/guestfs-actions.pod:2788 ../src/guestfs-actions.pod:3163
8558 msgid "\"unknown\""
8559 msgstr "\"unknown\""
8560
8561 #. type: textblock
8562 #: ../fish/guestfish-actions.pod:1804 ../src/guestfs-actions.pod:2681
8563 msgid "The distro could not be determined."
8564 msgstr "Дистрибутив, тип якого не вдалося визначити."
8565
8566 #. type: =item
8567 #: ../fish/guestfish-actions.pod:1806 ../fish/guestfish-actions.pod:2142
8568 #: ../src/guestfs-actions.pod:2683 ../src/guestfs-actions.pod:3155
8569 msgid "\"windows\""
8570 msgstr "\"windows\""
8571
8572 #. type: textblock
8573 #: ../fish/guestfish-actions.pod:1808 ../src/guestfs-actions.pod:2685
8574 msgid ""
8575 "Windows does not have distributions.  This string is returned if the OS type "
8576 "is Windows."
8577 msgstr ""
8578
8579 #. type: textblock
8580 #: ../fish/guestfish-actions.pod:1813 ../fish/guestfish-actions.pod:1892
8581 #: ../fish/guestfish-actions.pod:2156 ../src/guestfs-actions.pod:2690
8582 #: ../src/guestfs-actions.pod:2794 ../src/guestfs-actions.pod:3169
8583 msgid ""
8584 "Future versions of libguestfs may return other strings here.  The caller "
8585 "should be prepared to handle any string."
8586 msgstr ""
8587
8588 #. type: =head2
8589 #: ../fish/guestfish-actions.pod:1818
8590 msgid "inspect-get-drive-mappings"
8591 msgstr ""
8592
8593 #. type: verbatim
8594 #: ../fish/guestfish-actions.pod:1820
8595 #, no-wrap
8596 msgid ""
8597 " inspect-get-drive-mappings root\n"
8598 "\n"
8599 msgstr ""
8600
8601 #. type: textblock
8602 #: ../fish/guestfish-actions.pod:1822 ../src/guestfs-actions.pod:2706
8603 msgid ""
8604 "This call is useful for Windows which uses a primitive system of assigning "
8605 "drive letters (like \"C:\") to partitions.  This inspection API examines the "
8606 "Windows Registry to find out how disks/partitions are mapped to drive "
8607 "letters, and returns a hash table as in the example below:"
8608 msgstr ""
8609
8610 #. type: verbatim
8611 #: ../fish/guestfish-actions.pod:1828 ../src/guestfs-actions.pod:2712
8612 #, no-wrap
8613 msgid ""
8614 " C      =>     /dev/vda2\n"
8615 " E      =>     /dev/vdb1\n"
8616 " F      =>     /dev/vdc1\n"
8617 "\n"
8618 msgstr ""
8619
8620 #. type: textblock
8621 #: ../fish/guestfish-actions.pod:1832 ../src/guestfs-actions.pod:2716
8622 msgid ""
8623 "Note that keys are drive letters.  For Windows, the key is case insensitive "
8624 "and just contains the drive letter, without the customary colon separator "
8625 "character."
8626 msgstr ""
8627
8628 #. type: textblock
8629 #: ../fish/guestfish-actions.pod:1836 ../src/guestfs-actions.pod:2720
8630 msgid ""
8631 "In future we may support other operating systems that also used drive "
8632 "letters, but the keys for those might not be case insensitive and might be "
8633 "longer than 1 character.  For example in OS-9, hard drives were named C<h0>, "
8634 "C<h1> etc."
8635 msgstr ""
8636
8637 #. type: textblock
8638 #: ../fish/guestfish-actions.pod:1841 ../src/guestfs-actions.pod:2725
8639 msgid ""
8640 "For Windows guests, currently only hard drive mappings are returned.  "
8641 "Removable disks (eg. DVD-ROMs) are ignored."
8642 msgstr ""
8643
8644 #. type: textblock
8645 #: ../fish/guestfish-actions.pod:1844 ../src/guestfs-actions.pod:2728
8646 msgid ""
8647 "For guests that do not use drive mappings, or if the drive mappings could "
8648 "not be determined, this returns an empty hash table."
8649 msgstr ""
8650
8651 #. type: textblock
8652 #: ../fish/guestfish-actions.pod:1847
8653 msgid ""
8654 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
8655 "get-mountpoints>, L</inspect-get-filesystems>."
8656 msgstr ""
8657
8658 #. type: =head2
8659 #: ../fish/guestfish-actions.pod:1851
8660 msgid "inspect-get-filesystems"
8661 msgstr "inspect-get-filesystems"
8662
8663 #. type: verbatim
8664 #: ../fish/guestfish-actions.pod:1853
8665 #, no-wrap
8666 msgid ""
8667 " inspect-get-filesystems root\n"
8668 "\n"
8669 msgstr ""
8670 " inspect-get-filesystems корінь\n"
8671 "\n"
8672
8673 #. type: textblock
8674 #: ../fish/guestfish-actions.pod:1855 ../src/guestfs-actions.pod:2749
8675 msgid ""
8676 "This returns a list of all the filesystems that we think are associated with "
8677 "this operating system.  This includes the root filesystem, other ordinary "
8678 "filesystems, and non-mounted devices like swap partitions."
8679 msgstr ""
8680
8681 #. type: textblock
8682 #: ../fish/guestfish-actions.pod:1860 ../src/guestfs-actions.pod:2754
8683 msgid ""
8684 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
8685 "to be shared between operating systems."
8686 msgstr ""
8687
8688 #. type: textblock
8689 #: ../fish/guestfish-actions.pod:1863
8690 msgid ""
8691 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
8692 "get-mountpoints>."
8693 msgstr ""
8694
8695 #. type: =head2
8696 #: ../fish/guestfish-actions.pod:1866
8697 msgid "inspect-get-format"
8698 msgstr "inspect-get-format"
8699
8700 #. type: verbatim
8701 #: ../fish/guestfish-actions.pod:1868
8702 #, no-wrap
8703 msgid ""
8704 " inspect-get-format root\n"
8705 "\n"
8706 msgstr ""
8707 " inspect-get-format корінь\n"
8708 "\n"
8709
8710 #. type: textblock
8711 #: ../fish/guestfish-actions.pod:1870 ../src/guestfs-actions.pod:2772
8712 msgid ""
8713 "This returns the format of the inspected operating system.  You can use it "
8714 "to detect install images, live CDs and similar."
8715 msgstr ""
8716
8717 #. type: textblock
8718 #: ../fish/guestfish-actions.pod:1873 ../src/guestfs-actions.pod:2775
8719 msgid "Currently defined formats are:"
8720 msgstr ""
8721
8722 #. type: =item
8723 #: ../fish/guestfish-actions.pod:1877 ../src/guestfs-actions.pod:2779
8724 msgid "\"installed\""
8725 msgstr "\"installed\""
8726
8727 #. type: textblock
8728 #: ../fish/guestfish-actions.pod:1879 ../src/guestfs-actions.pod:2781
8729 msgid "This is an installed operating system."
8730 msgstr "Це встановлена операційна система."
8731
8732 #. type: =item
8733 #: ../fish/guestfish-actions.pod:1881 ../src/guestfs-actions.pod:2783
8734 msgid "\"installer\""
8735 msgstr ""
8736
8737 #. type: textblock
8738 #: ../fish/guestfish-actions.pod:1883 ../src/guestfs-actions.pod:2785
8739 msgid ""
8740 "The disk image being inspected is not an installed operating system, but a "
8741 "I<bootable> install disk, live CD, or similar."
8742 msgstr ""
8743
8744 #. type: textblock
8745 #: ../fish/guestfish-actions.pod:1888 ../src/guestfs-actions.pod:2790
8746 msgid "The format of this disk image is not known."
8747 msgstr ""
8748
8749 #. type: =head2
8750 #: ../fish/guestfish-actions.pod:1897
8751 msgid "inspect-get-hostname"
8752 msgstr "inspect-get-hostname"
8753
8754 #. type: verbatim
8755 #: ../fish/guestfish-actions.pod:1899
8756 #, no-wrap
8757 msgid ""
8758 " inspect-get-hostname root\n"
8759 "\n"
8760 msgstr ""
8761 " inspect-get-hostname корінь\n"
8762 "\n"
8763
8764 #. type: textblock
8765 #: ../fish/guestfish-actions.pod:1901 ../src/guestfs-actions.pod:2810
8766 msgid ""
8767 "This function returns the hostname of the operating system as found by "
8768 "inspection of the guest's configuration files."
8769 msgstr ""
8770
8771 #. type: textblock
8772 #: ../fish/guestfish-actions.pod:1904 ../src/guestfs-actions.pod:2813
8773 msgid ""
8774 "If the hostname could not be determined, then the string C<unknown> is "
8775 "returned."
8776 msgstr ""
8777
8778 #. type: =head2
8779 #: ../fish/guestfish-actions.pod:1909
8780 msgid "inspect-get-icon"
8781 msgstr ""
8782
8783 #. type: verbatim
8784 #: ../fish/guestfish-actions.pod:1911
8785 #, no-wrap
8786 msgid ""
8787 " inspect-get-icon root [favicon:..] [highquality:..]\n"
8788 "\n"
8789 msgstr ""
8790
8791 #. type: textblock
8792 #: ../fish/guestfish-actions.pod:1913 ../src/guestfs-actions.pod:2839
8793 msgid ""
8794 "This function returns an icon corresponding to the inspected operating "
8795 "system.  The icon is returned as a buffer containing a PNG image (re-encoded "
8796 "to PNG if necessary)."
8797 msgstr ""
8798
8799 #. type: textblock
8800 #: ../fish/guestfish-actions.pod:1917 ../src/guestfs-actions.pod:2843
8801 msgid ""
8802 "If it was not possible to get an icon this function returns a zero-length "
8803 "(non-NULL) buffer.  I<Callers must check for this case>."
8804 msgstr ""
8805
8806 #. type: textblock
8807 #: ../fish/guestfish-actions.pod:1920 ../src/guestfs-actions.pod:2846
8808 msgid ""
8809 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
8810 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
8811 "this file will be returned.  You can disable favicons by passing the "
8812 "optional C<favicon> boolean as false (default is true)."
8813 msgstr ""
8814
8815 #. type: textblock
8816 #: ../fish/guestfish-actions.pod:1926 ../src/guestfs-actions.pod:2852
8817 msgid ""
8818 "If finding the favicon fails, then we look in other places in the guest for "
8819 "a suitable icon."
8820 msgstr ""
8821
8822 #. type: textblock
8823 #: ../fish/guestfish-actions.pod:1929 ../src/guestfs-actions.pod:2855
8824 msgid ""
8825 "If the optional C<highquality> boolean is true then only high quality icons "
8826 "are returned, which means only icons of high resolution with an alpha "
8827 "channel.  The default (false) is to return any icon we can, even if it is of "
8828 "substandard quality."
8829 msgstr ""
8830
8831 #. type: textblock
8832 #: ../fish/guestfish-actions.pod:1940 ../src/guestfs-actions.pod:2866
8833 msgid ""
8834 "Unlike most other inspection API calls, the guest's disks must be mounted up "
8835 "before you call this, since it needs to read information from the guest "
8836 "filesystem during the call."
8837 msgstr ""
8838
8839 #. type: textblock
8840 #: ../fish/guestfish-actions.pod:1946 ../src/guestfs-actions.pod:2872
8841 msgid ""
8842 "B<Security:> The icon data comes from the untrusted guest, and should be "
8843 "treated with caution.  PNG files have been known to contain exploits.  "
8844 "Ensure that libpng (or other relevant libraries) are fully up to date before "
8845 "trying to process or display the icon."
8846 msgstr ""
8847
8848 #. type: textblock
8849 #: ../fish/guestfish-actions.pod:1954 ../src/guestfs-actions.pod:2880
8850 msgid ""
8851 "The PNG image returned can be any size.  It might not be square.  Libguestfs "
8852 "tries to return the largest, highest quality icon available.  The "
8853 "application must scale the icon to the required size."
8854 msgstr ""
8855
8856 #. type: textblock
8857 #: ../fish/guestfish-actions.pod:1961 ../src/guestfs-actions.pod:2887
8858 msgid ""
8859 "Extracting icons from Windows guests requires the external C<wrestool> "
8860 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
8861 "C<pnmtopng>, C<pamcut>)  from the C<netpbm> package.  These must be "
8862 "installed separately."
8863 msgstr ""
8864
8865 #. type: textblock
8866 #: ../fish/guestfish-actions.pod:1968 ../src/guestfs-actions.pod:2894
8867 msgid ""
8868 "Operating system icons are usually trademarks.  Seek legal advice before "
8869 "using trademarks in applications."
8870 msgstr ""
8871
8872 #. type: =head2
8873 #: ../fish/guestfish-actions.pod:1975
8874 msgid "inspect-get-major-version"
8875 msgstr "inspect-get-major-version"
8876
8877 #. type: verbatim
8878 #: ../fish/guestfish-actions.pod:1977
8879 #, no-wrap
8880 msgid ""
8881 " inspect-get-major-version root\n"
8882 "\n"
8883 msgstr ""
8884 " inspect-get-major-version корінь\n"
8885 "\n"
8886
8887 #. type: textblock
8888 #: ../fish/guestfish-actions.pod:1979 ../src/guestfs-actions.pod:2935
8889 msgid ""
8890 "This returns the major version number of the inspected operating system."
8891 msgstr ""
8892
8893 #. type: textblock
8894 #: ../fish/guestfish-actions.pod:1982 ../src/guestfs-actions.pod:2938
8895 msgid ""
8896 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
8897 "popular public names used by the operating system.  Notably the operating "
8898 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
8899 "1).  You can find out the real versions corresponding to releases of Windows "
8900 "by consulting Wikipedia or MSDN."
8901 msgstr ""
8902
8903 #. type: textblock
8904 #: ../fish/guestfish-actions.pod:1989 ../fish/guestfish-actions.pod:2000
8905 #: ../src/guestfs-actions.pod:2945 ../src/guestfs-actions.pod:2962
8906 msgid "If the version could not be determined, then C<0> is returned."
8907 msgstr ""
8908
8909 #. type: =head2
8910 #: ../fish/guestfish-actions.pod:1993
8911 msgid "inspect-get-minor-version"
8912 msgstr "inspect-get-minor-version"
8913
8914 #. type: verbatim
8915 #: ../fish/guestfish-actions.pod:1995
8916 #, no-wrap
8917 msgid ""
8918 " inspect-get-minor-version root\n"
8919 "\n"
8920 msgstr ""
8921 " inspect-get-minor-version корінь\n"
8922 "\n"
8923
8924 #. type: textblock
8925 #: ../fish/guestfish-actions.pod:1997 ../src/guestfs-actions.pod:2959
8926 msgid ""
8927 "This returns the minor version number of the inspected operating system."
8928 msgstr ""
8929
8930 #. type: textblock
8931 #: ../fish/guestfish-actions.pod:2002
8932 msgid ""
8933 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
8934 "get-major-version>."
8935 msgstr ""
8936
8937 #. type: =head2
8938 #: ../fish/guestfish-actions.pod:2005
8939 msgid "inspect-get-mountpoints"
8940 msgstr "inspect-get-mountpoints"
8941
8942 #. type: verbatim
8943 #: ../fish/guestfish-actions.pod:2007
8944 #, no-wrap
8945 msgid ""
8946 " inspect-get-mountpoints root\n"
8947 "\n"
8948 msgstr ""
8949 " inspect-get-mountpoints корінь\n"
8950 "\n"
8951
8952 #. type: textblock
8953 #: ../fish/guestfish-actions.pod:2009 ../src/guestfs-actions.pod:2977
8954 msgid ""
8955 "This returns a hash of where we think the filesystems associated with this "
8956 "operating system should be mounted.  Callers should note that this is at "
8957 "best an educated guess made by reading configuration files such as C</etc/"
8958 "fstab>.  I<In particular note> that this may return filesystems which are "
8959 "non-existent or not mountable and callers should be prepared to handle or "
8960 "ignore failures if they try to mount them."
8961 msgstr ""
8962
8963 #. type: textblock
8964 #: ../fish/guestfish-actions.pod:2018 ../src/guestfs-actions.pod:2986
8965 msgid ""
8966 "Each element in the returned hashtable has a key which is the path of the "
8967 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
8968 "mounted there (eg. C</dev/sda1>)."
8969 msgstr ""
8970
8971 #. type: textblock
8972 #: ../fish/guestfish-actions.pod:2023 ../src/guestfs-actions.pod:2991
8973 msgid ""
8974 "Non-mounted devices such as swap devices are I<not> returned in this list."
8975 msgstr ""
8976
8977 #. type: textblock
8978 #: ../fish/guestfish-actions.pod:2026
8979 msgid ""
8980 "For operating systems like Windows which still use drive letters, this call "
8981 "will only return an entry for the first drive \"mounted on\" C</>.  For "
8982 "information about the mapping of drive letters to partitions, see L</inspect-"
8983 "get-drive-mappings>."
8984 msgstr ""
8985
8986 #. type: textblock
8987 #: ../fish/guestfish-actions.pod:2032
8988 msgid ""
8989 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
8990 "get-filesystems>."
8991 msgstr ""
8992
8993 #. type: =head2
8994 #: ../fish/guestfish-actions.pod:2035
8995 msgid "inspect-get-package-format"
8996 msgstr "inspect-get-package-format"
8997
8998 #. type: verbatim
8999 #: ../fish/guestfish-actions.pod:2037
9000 #, no-wrap
9001 msgid ""
9002 " inspect-get-package-format root\n"
9003 "\n"
9004 msgstr ""
9005 " inspect-get-package-format корінь\n"
9006 "\n"
9007
9008 #. type: textblock
9009 #: ../fish/guestfish-actions.pod:2039
9010 msgid ""
9011 "This function and L</inspect-get-package-management> return the package "
9012 "format and package management tool used by the inspected operating system.  "
9013 "For example for Fedora these functions would return C<rpm> (package format) "
9014 "and C<yum> (package management)."
9015 msgstr ""
9016
9017 #. type: textblock
9018 #: ../fish/guestfish-actions.pod:2045 ../src/guestfs-actions.pod:3023
9019 msgid ""
9020 "This returns the string C<unknown> if we could not determine the package "
9021 "format I<or> if the operating system does not have a real packaging system "
9022 "(eg. Windows)."
9023 msgstr ""
9024
9025 #. type: textblock
9026 #: ../fish/guestfish-actions.pod:2049 ../src/guestfs-actions.pod:3027
9027 msgid ""
9028 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>.  "
9029 "Future versions of libguestfs may return other strings."
9030 msgstr ""
9031
9032 #. type: =head2
9033 #: ../fish/guestfish-actions.pod:2054
9034 msgid "inspect-get-package-management"
9035 msgstr "inspect-get-package-management"
9036
9037 #. type: verbatim
9038 #: ../fish/guestfish-actions.pod:2056
9039 #, no-wrap
9040 msgid ""
9041 " inspect-get-package-management root\n"
9042 "\n"
9043 msgstr ""
9044 " inspect-get-package-management корінь\n"
9045 "\n"
9046
9047 #. type: textblock
9048 #: ../fish/guestfish-actions.pod:2058
9049 msgid ""
9050 "L</inspect-get-package-format> and this function return the package format "
9051 "and package management tool used by the inspected operating system.  For "
9052 "example for Fedora these functions would return C<rpm> (package format) and "
9053 "C<yum> (package management)."
9054 msgstr ""
9055
9056 #. type: textblock
9057 #: ../fish/guestfish-actions.pod:2064 ../src/guestfs-actions.pod:3049
9058 msgid ""
9059 "This returns the string C<unknown> if we could not determine the package "
9060 "management tool I<or> if the operating system does not have a real packaging "
9061 "system (eg. Windows)."
9062 msgstr ""
9063
9064 #. type: textblock
9065 #: ../fish/guestfish-actions.pod:2068 ../src/guestfs-actions.pod:3053
9066 msgid ""
9067 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
9068 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>.  Future versions of "
9069 "libguestfs may return other strings."
9070 msgstr ""
9071
9072 #. type: =head2
9073 #: ../fish/guestfish-actions.pod:2075
9074 msgid "inspect-get-product-name"
9075 msgstr "inspect-get-product-name"
9076
9077 #. type: verbatim
9078 #: ../fish/guestfish-actions.pod:2077
9079 #, no-wrap
9080 msgid ""
9081 " inspect-get-product-name root\n"
9082 "\n"
9083 msgstr ""
9084 " inspect-get-product-name корінь\n"
9085 "\n"
9086
9087 #. type: textblock
9088 #: ../fish/guestfish-actions.pod:2079 ../src/guestfs-actions.pod:3071
9089 msgid ""
9090 "This returns the product name of the inspected operating system.  The "
9091 "product name is generally some freeform string which can be displayed to the "
9092 "user, but should not be parsed by programs."
9093 msgstr ""
9094
9095 #. type: textblock
9096 #: ../fish/guestfish-actions.pod:2084 ../src/guestfs-actions.pod:3076
9097 msgid ""
9098 "If the product name could not be determined, then the string C<unknown> is "
9099 "returned."
9100 msgstr ""
9101
9102 #. type: =head2
9103 #: ../fish/guestfish-actions.pod:2089
9104 msgid "inspect-get-product-variant"
9105 msgstr ""
9106
9107 #. type: verbatim
9108 #: ../fish/guestfish-actions.pod:2091
9109 #, no-wrap
9110 msgid ""
9111 " inspect-get-product-variant root\n"
9112 "\n"
9113 msgstr ""
9114
9115 #. type: textblock
9116 #: ../fish/guestfish-actions.pod:2093 ../src/guestfs-actions.pod:3092
9117 msgid "This returns the product variant of the inspected operating system."
9118 msgstr ""
9119
9120 #. type: textblock
9121 #: ../fish/guestfish-actions.pod:2096 ../src/guestfs-actions.pod:3095
9122 msgid ""
9123 "For Windows guests, this returns the contents of the Registry key C<HKLM"
9124 "\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType> which "
9125 "is usually a string such as C<Client> or C<Server> (other values are "
9126 "possible).  This can be used to distinguish consumer and enterprise versions "
9127 "of Windows that have the same version number (for example, Windows 7 and "
9128 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
9129 "the latter is C<Server>)."
9130 msgstr ""
9131
9132 #. type: textblock
9133 #: ../fish/guestfish-actions.pod:2105 ../src/guestfs-actions.pod:3104
9134 msgid ""
9135 "For enterprise Linux guests, in future we intend this to return the product "
9136 "variant such as C<Desktop>, C<Server> and so on.  But this is not "
9137 "implemented at present."
9138 msgstr ""
9139
9140 #. type: textblock
9141 #: ../fish/guestfish-actions.pod:2109 ../src/guestfs-actions.pod:3108
9142 msgid ""
9143 "If the product variant could not be determined, then the string C<unknown> "
9144 "is returned."
9145 msgstr ""
9146
9147 #. type: textblock
9148 #: ../fish/guestfish-actions.pod:2112
9149 msgid ""
9150 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
9151 "get-product-name>, L</inspect-get-major-version>."
9152 msgstr ""
9153
9154 #. type: =head2
9155 #: ../fish/guestfish-actions.pod:2116
9156 msgid "inspect-get-roots"
9157 msgstr "inspect-get-roots"
9158
9159 #. type: verbatim
9160 #: ../fish/guestfish-actions.pod:2118
9161 #, no-wrap
9162 msgid ""
9163 " inspect-get-roots\n"
9164 "\n"
9165 msgstr ""
9166 " inspect-get-roots\n"
9167 "\n"
9168
9169 #. type: textblock
9170 #: ../fish/guestfish-actions.pod:2120
9171 msgid ""
9172 "This function is a convenient way to get the list of root devices, as "
9173 "returned from a previous call to L</inspect-os>, but without redoing the "
9174 "whole inspection process."
9175 msgstr ""
9176
9177 #. type: textblock
9178 #: ../fish/guestfish-actions.pod:2124
9179 msgid ""
9180 "This returns an empty list if either no root devices were found or the "
9181 "caller has not called L</inspect-os>."
9182 msgstr ""
9183
9184 #. type: =head2
9185 #: ../fish/guestfish-actions.pod:2129
9186 msgid "inspect-get-type"
9187 msgstr "inspect-get-type"
9188
9189 #. type: verbatim
9190 #: ../fish/guestfish-actions.pod:2131
9191 #, no-wrap
9192 msgid ""
9193 " inspect-get-type root\n"
9194 "\n"
9195 msgstr ""
9196 " inspect-get-type корінь\n"
9197 "\n"
9198
9199 #. type: textblock
9200 #: ../fish/guestfish-actions.pod:2133 ../src/guestfs-actions.pod:3146
9201 msgid ""
9202 "This returns the type of the inspected operating system.  Currently defined "
9203 "types are:"
9204 msgstr ""
9205
9206 #. type: =item
9207 #: ../fish/guestfish-actions.pod:2138 ../src/guestfs-actions.pod:3151
9208 msgid "\"linux\""
9209 msgstr "\"linux\""
9210
9211 #. type: textblock
9212 #: ../fish/guestfish-actions.pod:2140 ../src/guestfs-actions.pod:3153
9213 msgid "Any Linux-based operating system."
9214 msgstr ""
9215
9216 #. type: textblock
9217 #: ../fish/guestfish-actions.pod:2144 ../src/guestfs-actions.pod:3157
9218 msgid "Any Microsoft Windows operating system."
9219 msgstr ""
9220
9221 #. type: =item
9222 #: ../fish/guestfish-actions.pod:2146 ../src/guestfs-actions.pod:3159
9223 msgid "\"freebsd\""
9224 msgstr "\"freebsd\""
9225
9226 #. type: textblock
9227 #: ../fish/guestfish-actions.pod:2148 ../src/guestfs-actions.pod:3161
9228 msgid "FreeBSD."
9229 msgstr "FreeBSD."
9230
9231 #. type: textblock
9232 #: ../fish/guestfish-actions.pod:2152 ../src/guestfs-actions.pod:3165
9233 msgid "The operating system type could not be determined."
9234 msgstr ""
9235
9236 #. type: =head2
9237 #: ../fish/guestfish-actions.pod:2161
9238 msgid "inspect-get-windows-current-control-set"
9239 msgstr ""
9240
9241 #. type: verbatim
9242 #: ../fish/guestfish-actions.pod:2163
9243 #, no-wrap
9244 msgid ""
9245 " inspect-get-windows-current-control-set root\n"
9246 "\n"
9247 msgstr ""
9248
9249 #. type: textblock
9250 #: ../fish/guestfish-actions.pod:2165 ../src/guestfs-actions.pod:3185
9251 msgid ""
9252 "This returns the Windows CurrentControlSet of the inspected guest.  The "
9253 "CurrentControlSet is a registry key name such as C<ControlSet001>."
9254 msgstr ""
9255
9256 #. type: textblock
9257 #: ../fish/guestfish-actions.pod:2168 ../src/guestfs-actions.pod:3188
9258 msgid ""
9259 "This call assumes that the guest is Windows and that the Registry could be "
9260 "examined by inspection.  If this is not the case then an error is returned."
9261 msgstr ""
9262
9263 #. type: =head2
9264 #: ../fish/guestfish-actions.pod:2174
9265 msgid "inspect-get-windows-systemroot"
9266 msgstr "inspect-get-windows-systemroot"
9267
9268 #. type: verbatim
9269 #: ../fish/guestfish-actions.pod:2176
9270 #, no-wrap
9271 msgid ""
9272 " inspect-get-windows-systemroot root\n"
9273 "\n"
9274 msgstr ""
9275 " inspect-get-windows-systemroot корінь\n"
9276 "\n"
9277
9278 #. type: textblock
9279 #: ../fish/guestfish-actions.pod:2178 ../src/guestfs-actions.pod:3205
9280 msgid ""
9281 "This returns the Windows systemroot of the inspected guest.  The systemroot "
9282 "is a directory path such as C</WINDOWS>."
9283 msgstr ""
9284
9285 #. type: textblock
9286 #: ../fish/guestfish-actions.pod:2181 ../src/guestfs-actions.pod:3208
9287 msgid ""
9288 "This call assumes that the guest is Windows and that the systemroot could be "
9289 "determined by inspection.  If this is not the case then an error is returned."
9290 msgstr ""
9291
9292 #. type: =head2
9293 #: ../fish/guestfish-actions.pod:2187
9294 msgid "inspect-is-live"
9295 msgstr "inspect-is-live"
9296
9297 #. type: verbatim
9298 #: ../fish/guestfish-actions.pod:2189
9299 #, no-wrap
9300 msgid ""
9301 " inspect-is-live root\n"
9302 "\n"
9303 msgstr ""
9304 " inspect-is-live корінь\n"
9305 "\n"
9306
9307 #. type: textblock
9308 #: ../fish/guestfish-actions.pod:2191
9309 msgid ""
9310 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
9311 "then this returns true if a live image was detected on the disk."
9312 msgstr ""
9313
9314 #. type: =head2
9315 #: ../fish/guestfish-actions.pod:2197
9316 msgid "inspect-is-multipart"
9317 msgstr "inspect-is-multipart"
9318
9319 #. type: verbatim
9320 #: ../fish/guestfish-actions.pod:2199
9321 #, no-wrap
9322 msgid ""
9323 " inspect-is-multipart root\n"
9324 "\n"
9325 msgstr ""
9326 " inspect-is-multipart корінь\n"
9327 "\n"
9328
9329 #. type: textblock
9330 #: ../fish/guestfish-actions.pod:2201
9331 msgid ""
9332 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
9333 "then this returns true if the disk is part of a set."
9334 msgstr ""
9335
9336 #. type: =head2
9337 #: ../fish/guestfish-actions.pod:2207
9338 msgid "inspect-is-netinst"
9339 msgstr "inspect-is-netinst"
9340
9341 #. type: verbatim
9342 #: ../fish/guestfish-actions.pod:2209
9343 #, no-wrap
9344 msgid ""
9345 " inspect-is-netinst root\n"
9346 "\n"
9347 msgstr ""
9348 " inspect-is-netinst корінь\n"
9349 "\n"
9350
9351 #. type: textblock
9352 #: ../fish/guestfish-actions.pod:2211
9353 msgid ""
9354 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
9355 "then this returns true if the disk is a network installer, ie. not a self-"
9356 "contained install CD but one which is likely to require network access to "
9357 "complete the install."
9358 msgstr ""
9359
9360 #. type: =head2
9361 #: ../fish/guestfish-actions.pod:2219
9362 msgid "inspect-list-applications"
9363 msgstr "inspect-list-applications"
9364
9365 #. type: verbatim
9366 #: ../fish/guestfish-actions.pod:2221
9367 #, no-wrap
9368 msgid ""
9369 " inspect-list-applications root\n"
9370 "\n"
9371 msgstr ""
9372 " inspect-list-applications кореневий_каталог\n"
9373 "\n"
9374
9375 #. type: textblock
9376 #: ../fish/guestfish-actions.pod:2223 ../src/guestfs-actions.pod:3275
9377 msgid "Return the list of applications installed in the operating system."
9378 msgstr ""
9379
9380 #. type: textblock
9381 #: ../fish/guestfish-actions.pod:2225
9382 msgid ""
9383 "I<Note:> This call works differently from other parts of the inspection "
9384 "API.  You have to call L</inspect-os>, then L</inspect-get-mountpoints>, "
9385 "then mount up the disks, before calling this.  Listing applications is a "
9386 "significantly more difficult operation which requires access to the full "
9387 "filesystem.  Also note that unlike the other L</inspect-get-*> calls which "
9388 "are just returning data cached in the libguestfs handle, this call actually "
9389 "reads parts of the mounted filesystems during the call."
9390 msgstr ""
9391
9392 #. type: textblock
9393 #: ../fish/guestfish-actions.pod:2235 ../src/guestfs-actions.pod:3287
9394 msgid ""
9395 "This returns an empty list if the inspection code was not able to determine "
9396 "the list of applications."
9397 msgstr ""
9398
9399 #. type: textblock
9400 #: ../fish/guestfish-actions.pod:2238 ../src/guestfs-actions.pod:3290
9401 msgid "The application structure contains the following fields:"
9402 msgstr ""
9403
9404 #. type: =item
9405 #: ../fish/guestfish-actions.pod:2242 ../src/guestfs-actions.pod:3294
9406 msgid "C<app_name>"
9407 msgstr "C<app_name>"
9408
9409 #. type: textblock
9410 #: ../fish/guestfish-actions.pod:2244 ../src/guestfs-actions.pod:3296
9411 msgid ""
9412 "The name of the application.  For Red Hat-derived and Debian-derived Linux "
9413 "guests, this is the package name."
9414 msgstr ""
9415
9416 #. type: =item
9417 #: ../fish/guestfish-actions.pod:2247 ../src/guestfs-actions.pod:3299
9418 msgid "C<app_display_name>"
9419 msgstr "C<app_display_name>"
9420
9421 #. type: textblock
9422 #: ../fish/guestfish-actions.pod:2249 ../src/guestfs-actions.pod:3301
9423 msgid ""
9424 "The display name of the application, sometimes localized to the install "
9425 "language of the guest operating system."
9426 msgstr ""
9427
9428 #. type: textblock
9429 #: ../fish/guestfish-actions.pod:2252 ../src/guestfs-actions.pod:3304
9430 msgid ""
9431 "If unavailable this is returned as an empty string C<\"\">.  Callers needing "
9432 "to display something can use C<app_name> instead."
9433 msgstr ""
9434
9435 #. type: =item
9436 #: ../fish/guestfish-actions.pod:2255 ../src/guestfs-actions.pod:3307
9437 msgid "C<app_epoch>"
9438 msgstr "C<app_epoch>"
9439
9440 #. type: textblock
9441 #: ../fish/guestfish-actions.pod:2257 ../src/guestfs-actions.pod:3309
9442 msgid ""
9443 "For package managers which use epochs, this contains the epoch of the "
9444 "package (an integer).  If unavailable, this is returned as C<0>."
9445 msgstr ""
9446
9447 #. type: =item
9448 #: ../fish/guestfish-actions.pod:2260 ../src/guestfs-actions.pod:3312
9449 msgid "C<app_version>"
9450 msgstr "C<app_version>"
9451
9452 #. type: textblock
9453 #: ../fish/guestfish-actions.pod:2262 ../src/guestfs-actions.pod:3314
9454 msgid ""
9455 "The version string of the application or package.  If unavailable this is "
9456 "returned as an empty string C<\"\">."
9457 msgstr ""
9458
9459 #. type: =item
9460 #: ../fish/guestfish-actions.pod:2265 ../src/guestfs-actions.pod:3317
9461 msgid "C<app_release>"
9462 msgstr "C<app_release>"
9463
9464 #. type: textblock
9465 #: ../fish/guestfish-actions.pod:2267 ../src/guestfs-actions.pod:3319
9466 msgid ""
9467 "The release string of the application or package, for package managers that "
9468 "use this.  If unavailable this is returned as an empty string C<\"\">."
9469 msgstr ""
9470
9471 #. type: =item
9472 #: ../fish/guestfish-actions.pod:2271 ../src/guestfs-actions.pod:3323
9473 msgid "C<app_install_path>"
9474 msgstr "C<app_install_path>"
9475
9476 #. type: textblock
9477 #: ../fish/guestfish-actions.pod:2273 ../src/guestfs-actions.pod:3325
9478 msgid ""
9479 "The installation path of the application (on operating systems such as "
9480 "Windows which use installation paths).  This path is in the format used by "
9481 "the guest operating system, it is not a libguestfs path."
9482 msgstr ""
9483
9484 #. type: textblock
9485 #: ../fish/guestfish-actions.pod:2278 ../src/guestfs-actions.pod:3330
9486 msgid "If unavailable this is returned as an empty string C<\"\">."
9487 msgstr ""
9488
9489 #. type: =item
9490 #: ../fish/guestfish-actions.pod:2280 ../src/guestfs-actions.pod:3332
9491 msgid "C<app_trans_path>"
9492 msgstr "C<app_trans_path>"
9493
9494 #. type: textblock
9495 #: ../fish/guestfish-actions.pod:2282 ../src/guestfs-actions.pod:3334
9496 msgid ""
9497 "The install path translated into a libguestfs path.  If unavailable this is "
9498 "returned as an empty string C<\"\">."
9499 msgstr ""
9500
9501 #. type: =item
9502 #: ../fish/guestfish-actions.pod:2285 ../src/guestfs-actions.pod:3337
9503 msgid "C<app_publisher>"
9504 msgstr "C<app_publisher>"
9505
9506 #. type: textblock
9507 #: ../fish/guestfish-actions.pod:2287 ../src/guestfs-actions.pod:3339
9508 msgid ""
9509 "The name of the publisher of the application, for package managers that use "
9510 "this.  If unavailable this is returned as an empty string C<\"\">."
9511 msgstr ""
9512
9513 #. type: =item
9514 #: ../fish/guestfish-actions.pod:2291 ../src/guestfs-actions.pod:3343
9515 msgid "C<app_url>"
9516 msgstr "C<app_url>"
9517
9518 #. type: textblock
9519 #: ../fish/guestfish-actions.pod:2293 ../src/guestfs-actions.pod:3345
9520 msgid ""
9521 "The URL (eg. upstream URL) of the application.  If unavailable this is "
9522 "returned as an empty string C<\"\">."
9523 msgstr ""
9524
9525 #. type: =item
9526 #: ../fish/guestfish-actions.pod:2296 ../src/guestfs-actions.pod:3348
9527 msgid "C<app_source_package>"
9528 msgstr "C<app_source_package>"
9529
9530 #. type: textblock
9531 #: ../fish/guestfish-actions.pod:2298 ../src/guestfs-actions.pod:3350
9532 msgid ""
9533 "For packaging systems which support this, the name of the source package.  "
9534 "If unavailable this is returned as an empty string C<\"\">."
9535 msgstr ""
9536
9537 #. type: =item
9538 #: ../fish/guestfish-actions.pod:2301 ../src/guestfs-actions.pod:3353
9539 msgid "C<app_summary>"
9540 msgstr "C<app_summary>"
9541
9542 #. type: textblock
9543 #: ../fish/guestfish-actions.pod:2303 ../src/guestfs-actions.pod:3355
9544 msgid ""
9545 "A short (usually one line) description of the application or package.  If "
9546 "unavailable this is returned as an empty string C<\"\">."
9547 msgstr ""
9548
9549 #. type: =item
9550 #: ../fish/guestfish-actions.pod:2306 ../src/guestfs-actions.pod:3358
9551 msgid "C<app_description>"
9552 msgstr "C<app_description>"
9553
9554 #. type: textblock
9555 #: ../fish/guestfish-actions.pod:2308 ../src/guestfs-actions.pod:3360
9556 msgid ""
9557 "A longer description of the application or package.  If unavailable this is "
9558 "returned as an empty string C<\"\">."
9559 msgstr ""
9560
9561 #. type: =head2
9562 #: ../fish/guestfish-actions.pod:2315
9563 msgid "inspect-os"
9564 msgstr "inspect-os"
9565
9566 #. type: verbatim
9567 #: ../fish/guestfish-actions.pod:2317
9568 #, no-wrap
9569 msgid ""
9570 " inspect-os\n"
9571 "\n"
9572 msgstr ""
9573 " inspect-os\n"
9574 "\n"
9575
9576 #. type: textblock
9577 #: ../fish/guestfish-actions.pod:2319 ../src/guestfs-actions.pod:3378
9578 msgid ""
9579 "This function uses other libguestfs functions and certain heuristics to "
9580 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
9581 "for operating systems."
9582 msgstr ""
9583
9584 #. type: textblock
9585 #: ../fish/guestfish-actions.pod:2323 ../src/guestfs-actions.pod:3382
9586 msgid "The list returned is empty if no operating systems were found."
9587 msgstr ""
9588
9589 #. type: textblock
9590 #: ../fish/guestfish-actions.pod:2325 ../src/guestfs-actions.pod:3384
9591 msgid ""
9592 "If one operating system was found, then this returns a list with a single "
9593 "element, which is the name of the root filesystem of this operating system.  "
9594 "It is also possible for this function to return a list containing more than "
9595 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
9596 "element being the root filesystem of one of the operating systems."
9597 msgstr ""
9598
9599 #. type: textblock
9600 #: ../fish/guestfish-actions.pod:2332
9601 msgid ""
9602 "You can pass the root string(s) returned to other L</inspect-get-*> "
9603 "functions in order to query further information about each operating system, "
9604 "such as the name and version."
9605 msgstr ""
9606
9607 #. type: textblock
9608 #: ../fish/guestfish-actions.pod:2337
9609 msgid ""
9610 "This function uses other libguestfs features such as L</mount-ro> and L</"
9611 "umount-all> in order to mount and unmount filesystems and look at the "
9612 "contents.  This should be called with no disks currently mounted.  The "
9613 "function may also use Augeas, so any existing Augeas handle will be closed."
9614 msgstr ""
9615
9616 #. type: textblock
9617 #: ../fish/guestfish-actions.pod:2343 ../src/guestfs-actions.pod:3402
9618 msgid ""
9619 "This function cannot decrypt encrypted disks.  The caller must do that first "
9620 "(supplying the necessary keys) if the disk is encrypted."
9621 msgstr ""
9622
9623 #. type: textblock
9624 #: ../fish/guestfish-actions.pod:2349 ../fish/guestfish-actions.pod:2547
9625 #: ../fish/guestfish-actions.pod:2606
9626 msgid "See also L</list-filesystems>."
9627 msgstr "Див. також L</list-filesystems>."
9628
9629 #. type: =head2
9630 #: ../fish/guestfish-actions.pod:2351
9631 msgid "is-blockdev"
9632 msgstr "is-blockdev"
9633
9634 #. type: verbatim
9635 #: ../fish/guestfish-actions.pod:2353
9636 #, no-wrap
9637 msgid ""
9638 " is-blockdev path\n"
9639 "\n"
9640 msgstr ""
9641 " is-blockdev шлях\n"
9642 "\n"
9643
9644 #. type: textblock
9645 #: ../fish/guestfish-actions.pod:2355 ../src/guestfs-actions.pod:3422
9646 msgid ""
9647 "This returns C<true> if and only if there is a block device with the given "
9648 "C<path> name."
9649 msgstr ""
9650
9651 #. type: textblock
9652 #: ../fish/guestfish-actions.pod:2358 ../fish/guestfish-actions.pod:2376
9653 #: ../fish/guestfish-actions.pod:2395 ../fish/guestfish-actions.pod:2404
9654 #: ../fish/guestfish-actions.pod:2414 ../fish/guestfish-actions.pod:2448
9655 #: ../fish/guestfish-actions.pod:2457
9656 msgid "See also L</stat>."
9657 msgstr "Див. також L</stat>."
9658
9659 #. type: =head2
9660 #: ../fish/guestfish-actions.pod:2360
9661 msgid "is-busy"
9662 msgstr "is-busy"
9663
9664 #. type: verbatim
9665 #: ../fish/guestfish-actions.pod:2362
9666 #, no-wrap
9667 msgid ""
9668 " is-busy\n"
9669 "\n"
9670 msgstr ""
9671 " is-busy\n"
9672 "\n"
9673
9674 #. type: textblock
9675 #: ../fish/guestfish-actions.pod:2364 ../src/guestfs-actions.pod:3436
9676 msgid ""
9677 "This returns true iff this handle is busy processing a command (in the "
9678 "C<BUSY> state)."
9679 msgstr ""
9680
9681 #. type: =head2
9682 #: ../fish/guestfish-actions.pod:2369
9683 msgid "is-chardev"
9684 msgstr "is-chardev"
9685
9686 #. type: verbatim
9687 #: ../fish/guestfish-actions.pod:2371
9688 #, no-wrap
9689 msgid ""
9690 " is-chardev path\n"
9691 "\n"
9692 msgstr ""
9693 " is-chardev шлях\n"
9694 "\n"
9695
9696 #. type: textblock
9697 #: ../fish/guestfish-actions.pod:2373 ../src/guestfs-actions.pod:3451
9698 msgid ""
9699 "This returns C<true> if and only if there is a character device with the "
9700 "given C<path> name."
9701 msgstr ""
9702
9703 #. type: =head2
9704 #: ../fish/guestfish-actions.pod:2378
9705 msgid "is-config"
9706 msgstr "is-config"
9707
9708 #. type: verbatim
9709 #: ../fish/guestfish-actions.pod:2380
9710 #, no-wrap
9711 msgid ""
9712 " is-config\n"
9713 "\n"
9714 msgstr ""
9715 " is-config\n"
9716 "\n"
9717
9718 #. type: textblock
9719 #: ../fish/guestfish-actions.pod:2382 ../src/guestfs-actions.pod:3465
9720 msgid ""
9721 "This returns true iff this handle is being configured (in the C<CONFIG> "
9722 "state)."
9723 msgstr ""
9724
9725 #. type: =head2
9726 #: ../fish/guestfish-actions.pod:2387
9727 msgid "is-dir"
9728 msgstr "is-dir"
9729
9730 #. type: verbatim
9731 #: ../fish/guestfish-actions.pod:2389
9732 #, no-wrap
9733 msgid ""
9734 " is-dir path\n"
9735 "\n"
9736 msgstr ""
9737 " is-dir шлях\n"
9738 "\n"
9739
9740 #. type: textblock
9741 #: ../fish/guestfish-actions.pod:2391 ../src/guestfs-actions.pod:3480
9742 msgid ""
9743 "This returns C<true> if and only if there is a directory with the given "
9744 "C<path> name.  Note that it returns false for other objects like files."
9745 msgstr ""
9746
9747 #. type: =head2
9748 #: ../fish/guestfish-actions.pod:2397
9749 msgid "is-fifo"
9750 msgstr "is-fifo"
9751
9752 #. type: verbatim
9753 #: ../fish/guestfish-actions.pod:2399
9754 #, no-wrap
9755 msgid ""
9756 " is-fifo path\n"
9757 "\n"
9758 msgstr ""
9759 " is-fifo шлях\n"
9760 "\n"
9761
9762 #. type: textblock
9763 #: ../fish/guestfish-actions.pod:2401 ../src/guestfs-actions.pod:3496
9764 msgid ""
9765 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
9766 "given C<path> name."
9767 msgstr ""
9768
9769 #. type: =head2
9770 #: ../fish/guestfish-actions.pod:2406
9771 msgid "is-file"
9772 msgstr "is-file"
9773
9774 #. type: verbatim
9775 #: ../fish/guestfish-actions.pod:2408
9776 #, no-wrap
9777 msgid ""
9778 " is-file path\n"
9779 "\n"
9780 msgstr ""
9781 " is-file шлях\n"
9782 "\n"
9783
9784 #. type: textblock
9785 #: ../fish/guestfish-actions.pod:2410 ../src/guestfs-actions.pod:3511
9786 msgid ""
9787 "This returns C<true> if and only if there is a regular file with the given "
9788 "C<path> name.  Note that it returns false for other objects like directories."
9789 msgstr ""
9790
9791 #. type: =head2
9792 #: ../fish/guestfish-actions.pod:2416
9793 msgid "is-launching"
9794 msgstr "is-launching"
9795
9796 #. type: verbatim
9797 #: ../fish/guestfish-actions.pod:2418
9798 #, no-wrap
9799 msgid ""
9800 " is-launching\n"
9801 "\n"
9802 msgstr ""
9803 " is-launching\n"
9804 "\n"
9805
9806 #. type: textblock
9807 #: ../fish/guestfish-actions.pod:2420 ../src/guestfs-actions.pod:3526
9808 msgid ""
9809 "This returns true iff this handle is launching the subprocess (in the "
9810 "C<LAUNCHING> state)."
9811 msgstr ""
9812
9813 #. type: =head2
9814 #: ../fish/guestfish-actions.pod:2425
9815 msgid "is-lv"
9816 msgstr "is-lv"
9817
9818 #. type: verbatim
9819 #: ../fish/guestfish-actions.pod:2427
9820 #, no-wrap
9821 msgid ""
9822 " is-lv device\n"
9823 "\n"
9824 msgstr ""
9825 " is-lv пристрій\n"
9826 "\n"
9827
9828 #. type: textblock
9829 #: ../fish/guestfish-actions.pod:2429 ../src/guestfs-actions.pod:3541
9830 msgid ""
9831 "This command tests whether C<device> is a logical volume, and returns true "
9832 "iff this is the case."
9833 msgstr ""
9834
9835 #. type: =head2
9836 #: ../fish/guestfish-actions.pod:2432
9837 msgid "is-ready"
9838 msgstr "is-ready"
9839
9840 #. type: verbatim
9841 #: ../fish/guestfish-actions.pod:2434
9842 #, no-wrap
9843 msgid ""
9844 " is-ready\n"
9845 "\n"
9846 msgstr ""
9847 " is-ready\n"
9848 "\n"
9849
9850 #. type: textblock
9851 #: ../fish/guestfish-actions.pod:2436 ../src/guestfs-actions.pod:3553
9852 msgid ""
9853 "This returns true iff this handle is ready to accept commands (in the "
9854 "C<READY> state)."
9855 msgstr ""
9856
9857 #. type: =head2
9858 #: ../fish/guestfish-actions.pod:2441
9859 msgid "is-socket"
9860 msgstr "is-socket"
9861
9862 #. type: verbatim
9863 #: ../fish/guestfish-actions.pod:2443
9864 #, no-wrap
9865 msgid ""
9866 " is-socket path\n"
9867 "\n"
9868 msgstr ""
9869 " is-socket шлях\n"
9870 "\n"
9871
9872 #. type: textblock
9873 #: ../fish/guestfish-actions.pod:2445 ../src/guestfs-actions.pod:3568
9874 msgid ""
9875 "This returns C<true> if and only if there is a Unix domain socket with the "
9876 "given C<path> name."
9877 msgstr ""
9878
9879 #. type: =head2
9880 #: ../fish/guestfish-actions.pod:2450
9881 msgid "is-symlink"
9882 msgstr "is-symlink"
9883
9884 #. type: verbatim
9885 #: ../fish/guestfish-actions.pod:2452
9886 #, no-wrap
9887 msgid ""
9888 " is-symlink path\n"
9889 "\n"
9890 msgstr ""
9891 " is-symlink шлях\n"
9892 "\n"
9893
9894 #. type: textblock
9895 #: ../fish/guestfish-actions.pod:2454 ../src/guestfs-actions.pod:3583
9896 msgid ""
9897 "This returns C<true> if and only if there is a symbolic link with the given "
9898 "C<path> name."
9899 msgstr ""
9900
9901 #. type: =head2
9902 #: ../fish/guestfish-actions.pod:2459
9903 msgid "is-zero"
9904 msgstr ""
9905
9906 #. type: verbatim
9907 #: ../fish/guestfish-actions.pod:2461
9908 #, no-wrap
9909 msgid ""
9910 " is-zero path\n"
9911 "\n"
9912 msgstr ""
9913
9914 #. type: textblock
9915 #: ../fish/guestfish-actions.pod:2463 ../src/guestfs-actions.pod:3598
9916 msgid ""
9917 "This returns true iff the file exists and the file is empty or it contains "
9918 "all zero bytes."
9919 msgstr ""
9920
9921 #. type: =head2
9922 #: ../fish/guestfish-actions.pod:2466
9923 msgid "is-zero-device"
9924 msgstr ""
9925
9926 #. type: verbatim
9927 #: ../fish/guestfish-actions.pod:2468
9928 #, no-wrap
9929 msgid ""
9930 " is-zero-device device\n"
9931 "\n"
9932 msgstr ""
9933
9934 #. type: textblock
9935 #: ../fish/guestfish-actions.pod:2470 ../src/guestfs-actions.pod:3611
9936 msgid "This returns true iff the device exists and contains all zero bytes."
9937 msgstr ""
9938
9939 #. type: textblock
9940 #: ../fish/guestfish-actions.pod:2472 ../src/guestfs-actions.pod:3613
9941 msgid "Note that for large devices this can take a long time to run."
9942 msgstr ""
9943
9944 #. type: =head2
9945 #: ../fish/guestfish-actions.pod:2474
9946 msgid "kill-subprocess"
9947 msgstr "kill-subprocess"
9948
9949 #. type: verbatim
9950 #: ../fish/guestfish-actions.pod:2476
9951 #, no-wrap
9952 msgid ""
9953 " kill-subprocess\n"
9954 "\n"
9955 msgstr ""
9956 " kill-subprocess\n"
9957 "\n"
9958
9959 #. type: textblock
9960 #: ../fish/guestfish-actions.pod:2478 ../src/guestfs-actions.pod:3624
9961 msgid "This kills the qemu subprocess.  You should never need to call this."
9962 msgstr ""
9963
9964 #. type: =head2
9965 #: ../fish/guestfish-actions.pod:2480
9966 msgid "launch"
9967 msgstr "launch"
9968
9969 #. type: =head2
9970 #: ../fish/guestfish-actions.pod:2482
9971 msgid "run"
9972 msgstr ""
9973
9974 #. type: verbatim
9975 #: ../fish/guestfish-actions.pod:2484
9976 #, no-wrap
9977 msgid ""
9978 " launch\n"
9979 "\n"
9980 msgstr ""
9981 " launch\n"
9982 "\n"
9983
9984 #. type: textblock
9985 #: ../fish/guestfish-actions.pod:2486 ../src/guestfs-actions.pod:3635
9986 msgid ""
9987 "Internally libguestfs is implemented by running a virtual machine using "
9988 "L<qemu(1)>."
9989 msgstr ""
9990
9991 #. type: textblock
9992 #: ../fish/guestfish-actions.pod:2489 ../src/guestfs-actions.pod:3638
9993 msgid ""
9994 "You should call this after configuring the handle (eg. adding drives) but "
9995 "before performing any actions."
9996 msgstr ""
9997
9998 #. type: =head2
9999 #: ../fish/guestfish-actions.pod:2492
10000 msgid "lchown"
10001 msgstr "lchown"
10002
10003 #. type: verbatim
10004 #: ../fish/guestfish-actions.pod:2494
10005 #, no-wrap
10006 msgid ""
10007 " lchown owner group path\n"
10008 "\n"
10009 msgstr ""
10010 " lchown власник група шлях\n"
10011 "\n"
10012
10013 #. type: textblock
10014 #: ../fish/guestfish-actions.pod:2496
10015 msgid ""
10016 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
10017 "chown> but if C<path> is a symlink then the link itself is changed, not the "
10018 "target."
10019 msgstr ""
10020
10021 #. type: =head2
10022 #: ../fish/guestfish-actions.pod:2504
10023 msgid "lgetxattr"
10024 msgstr "lgetxattr"
10025
10026 #. type: verbatim
10027 #: ../fish/guestfish-actions.pod:2506
10028 #, no-wrap
10029 msgid ""
10030 " lgetxattr path name\n"
10031 "\n"
10032 msgstr ""
10033 " lgetxattr шлях назва\n"
10034 "\n"
10035
10036 #. type: textblock
10037 #: ../fish/guestfish-actions.pod:2508 ../src/guestfs-actions.pod:3678
10038 msgid ""
10039 "Get a single extended attribute from file C<path> named C<name>.  If C<path> "
10040 "is a symlink, then this call returns an extended attribute from the symlink."
10041 msgstr ""
10042
10043 #. type: textblock
10044 #: ../fish/guestfish-actions.pod:2522
10045 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
10046 msgstr "Див. також L</lgetxattrs>, L</getxattr>, L<attr(5)>."
10047
10048 #. type: =head2
10049 #: ../fish/guestfish-actions.pod:2524
10050 msgid "lgetxattrs"
10051 msgstr "lgetxattrs"
10052
10053 #. type: verbatim
10054 #: ../fish/guestfish-actions.pod:2526
10055 #, no-wrap
10056 msgid ""
10057 " lgetxattrs path\n"
10058 "\n"
10059 msgstr ""
10060 " lgetxattrs шлях\n"
10061 "\n"
10062
10063 #. type: textblock
10064 #: ../fish/guestfish-actions.pod:2528
10065 msgid ""
10066 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
10067 "it returns the extended attributes of the link itself."
10068 msgstr ""
10069
10070 #. type: =head2
10071 #: ../fish/guestfish-actions.pod:2532
10072 msgid "list-9p"
10073 msgstr ""
10074
10075 #. type: verbatim
10076 #: ../fish/guestfish-actions.pod:2534
10077 #, no-wrap
10078 msgid ""
10079 " list-9p\n"
10080 "\n"
10081 msgstr ""
10082
10083 #. type: textblock
10084 #: ../fish/guestfish-actions.pod:2536 ../src/guestfs-actions.pod:3721
10085 msgid ""
10086 "List all 9p filesystems attached to the guest.  A list of mount tags is "
10087 "returned."
10088 msgstr ""
10089
10090 #. type: =head2
10091 #: ../fish/guestfish-actions.pod:2539
10092 msgid "list-devices"
10093 msgstr "list-devices"
10094
10095 #. type: verbatim
10096 #: ../fish/guestfish-actions.pod:2541
10097 #, no-wrap
10098 msgid ""
10099 " list-devices\n"
10100 "\n"
10101 msgstr ""
10102 " list-devices\n"
10103 "\n"
10104
10105 #. type: textblock
10106 #: ../fish/guestfish-actions.pod:2543 ../src/guestfs-actions.pod:3735
10107 msgid "List all the block devices."
10108 msgstr ""
10109
10110 #. type: textblock
10111 #: ../fish/guestfish-actions.pod:2545 ../src/guestfs-actions.pod:3737
10112 msgid "The full block device names are returned, eg. C</dev/sda>."
10113 msgstr ""
10114
10115 #. type: =head2
10116 #: ../fish/guestfish-actions.pod:2549
10117 msgid "list-dm-devices"
10118 msgstr ""
10119
10120 #. type: verbatim
10121 #: ../fish/guestfish-actions.pod:2551
10122 #, no-wrap
10123 msgid ""
10124 " list-dm-devices\n"
10125 "\n"
10126 msgstr ""
10127
10128 #. type: textblock
10129 #: ../fish/guestfish-actions.pod:2553 ../src/guestfs-actions.pod:3752
10130 msgid "List all device mapper devices."
10131 msgstr ""
10132
10133 #. type: textblock
10134 #: ../fish/guestfish-actions.pod:2555
10135 msgid ""
10136 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
10137 "previous call to L</luks-open>."
10138 msgstr ""
10139
10140 #. type: textblock
10141 #: ../fish/guestfish-actions.pod:2558
10142 msgid ""
10143 "Device mapper devices which correspond to logical volumes are I<not> "
10144 "returned in this list.  Call L</lvs> if you want to list logical volumes."
10145 msgstr ""
10146
10147 #. type: =head2
10148 #: ../fish/guestfish-actions.pod:2562
10149 msgid "list-filesystems"
10150 msgstr "list-filesystems"
10151
10152 #. type: verbatim
10153 #: ../fish/guestfish-actions.pod:2564
10154 #, no-wrap
10155 msgid ""
10156 " list-filesystems\n"
10157 "\n"
10158 msgstr ""
10159 " list-filesystems\n"
10160 "\n"
10161
10162 #. type: textblock
10163 #: ../fish/guestfish-actions.pod:2566 ../src/guestfs-actions.pod:3772
10164 msgid ""
10165 "This inspection command looks for filesystems on partitions, block devices "
10166 "and logical volumes, returning a list of devices containing filesystems and "
10167 "their type."
10168 msgstr ""
10169
10170 #. type: textblock
10171 #: ../fish/guestfish-actions.pod:2570 ../src/guestfs-actions.pod:3776
10172 msgid ""
10173 "The return value is a hash, where the keys are the devices containing "
10174 "filesystems, and the values are the filesystem types.  For example:"
10175 msgstr ""
10176
10177 #. type: verbatim
10178 #: ../fish/guestfish-actions.pod:2574 ../src/guestfs-actions.pod:3780
10179 #, no-wrap
10180 msgid ""
10181 " \"/dev/sda1\" => \"ntfs\"\n"
10182 " \"/dev/sda2\" => \"ext2\"\n"
10183 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
10184 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
10185 "\n"
10186 msgstr ""
10187
10188 #. type: textblock
10189 #: ../fish/guestfish-actions.pod:2579 ../src/guestfs-actions.pod:3785
10190 msgid ""
10191 "The value can have the special value \"unknown\", meaning the content of the "
10192 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
10193 msgstr ""
10194
10195 #. type: textblock
10196 #: ../fish/guestfish-actions.pod:2583
10197 msgid ""
10198 "This command runs other libguestfs commands, which might include L</mount> "
10199 "and L</umount>, and therefore you should use this soon after launch and only "
10200 "when nothing is mounted."
10201 msgstr ""
10202
10203 #. type: textblock
10204 #: ../fish/guestfish-actions.pod:2587
10205 msgid ""
10206 "Not all of the filesystems returned will be mountable.  In particular, swap "
10207 "partitions are returned in the list.  Also this command does not check that "
10208 "each filesystem found is valid and mountable, and some filesystems might be "
10209 "mountable but require special options.  Filesystems may not all belong to a "
10210 "single logical operating system (use L</inspect-os> to look for OSes)."
10211 msgstr ""
10212
10213 #. type: =head2
10214 #: ../fish/guestfish-actions.pod:2595
10215 msgid "list-partitions"
10216 msgstr "list-partitions"
10217
10218 #. type: verbatim
10219 #: ../fish/guestfish-actions.pod:2597
10220 #, no-wrap
10221 msgid ""
10222 " list-partitions\n"
10223 "\n"
10224 msgstr ""
10225 " list-partitions\n"
10226 "\n"
10227
10228 #. type: textblock
10229 #: ../fish/guestfish-actions.pod:2599 ../src/guestfs-actions.pod:3814
10230 msgid "List all the partitions detected on all block devices."
10231 msgstr ""
10232
10233 #. type: textblock
10234 #: ../fish/guestfish-actions.pod:2601 ../src/guestfs-actions.pod:3816
10235 msgid "The full partition device names are returned, eg. C</dev/sda1>"
10236 msgstr ""
10237
10238 #. type: textblock
10239 #: ../fish/guestfish-actions.pod:2603
10240 msgid ""
10241 "This does not return logical volumes.  For that you will need to call L</"
10242 "lvs>."
10243 msgstr ""
10244
10245 #. type: =head2
10246 #: ../fish/guestfish-actions.pod:2608
10247 msgid "ll"
10248 msgstr "ll"
10249
10250 #. type: verbatim
10251 #: ../fish/guestfish-actions.pod:2610
10252 #, no-wrap
10253 msgid ""
10254 " ll directory\n"
10255 "\n"
10256 msgstr ""
10257 " ll каталог\n"
10258 "\n"
10259
10260 #. type: textblock
10261 #: ../fish/guestfish-actions.pod:2612 ../src/guestfs-actions.pod:3835
10262 msgid ""
10263 "List the files in C<directory> (relative to the root directory, there is no "
10264 "cwd) in the format of 'ls -la'."
10265 msgstr ""
10266
10267 #. type: textblock
10268 #: ../fish/guestfish-actions.pod:2615 ../src/guestfs-actions.pod:3838
10269 msgid ""
10270 "This command is mostly useful for interactive sessions.  It is I<not> "
10271 "intended that you try to parse the output string."
10272 msgstr ""
10273
10274 #. type: =head2
10275 #: ../fish/guestfish-actions.pod:2618
10276 msgid "ln"
10277 msgstr "ln"
10278
10279 #. type: verbatim
10280 #: ../fish/guestfish-actions.pod:2620
10281 #, no-wrap
10282 msgid ""
10283 " ln target linkname\n"
10284 "\n"
10285 msgstr ""
10286 " ln призначення назва_посилання\n"
10287 "\n"
10288
10289 #. type: textblock
10290 #: ../fish/guestfish-actions.pod:2622 ../src/guestfs-actions.pod:3853
10291 msgid "This command creates a hard link using the C<ln> command."
10292 msgstr ""
10293
10294 #. type: =head2
10295 #: ../fish/guestfish-actions.pod:2624
10296 msgid "ln-f"
10297 msgstr "ln-f"
10298
10299 #. type: verbatim
10300 #: ../fish/guestfish-actions.pod:2626
10301 #, no-wrap
10302 msgid ""
10303 " ln-f target linkname\n"
10304 "\n"
10305 msgstr ""
10306 " ln-f призначення назва_посилання\n"
10307 "\n"
10308
10309 #. type: textblock
10310 #: ../fish/guestfish-actions.pod:2628 ../src/guestfs-actions.pod:3866
10311 msgid ""
10312 "This command creates a hard link using the C<ln -f> command.  The I<-f> "
10313 "option removes the link (C<linkname>) if it exists already."
10314 msgstr ""
10315
10316 #. type: =head2
10317 #: ../fish/guestfish-actions.pod:2631
10318 msgid "ln-s"
10319 msgstr "ln-s"
10320
10321 #. type: verbatim
10322 #: ../fish/guestfish-actions.pod:2633
10323 #, no-wrap
10324 msgid ""
10325 " ln-s target linkname\n"
10326 "\n"
10327 msgstr ""
10328 " ln-s призначення назва_посилання\n"
10329 "\n"
10330
10331 #. type: textblock
10332 #: ../fish/guestfish-actions.pod:2635 ../src/guestfs-actions.pod:3880
10333 msgid "This command creates a symbolic link using the C<ln -s> command."
10334 msgstr ""
10335
10336 #. type: =head2
10337 #: ../fish/guestfish-actions.pod:2637
10338 msgid "ln-sf"
10339 msgstr "ln-sf"
10340
10341 #. type: verbatim
10342 #: ../fish/guestfish-actions.pod:2639
10343 #, no-wrap
10344 msgid ""
10345 " ln-sf target linkname\n"
10346 "\n"
10347 msgstr ""
10348 " ln-sf призначення назва_посилання\n"
10349 "\n"
10350
10351 #. type: textblock
10352 #: ../fish/guestfish-actions.pod:2641 ../src/guestfs-actions.pod:3893
10353 msgid ""
10354 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
10355 "option removes the link (C<linkname>) if it exists already."
10356 msgstr ""
10357
10358 #. type: =head2
10359 #: ../fish/guestfish-actions.pod:2644
10360 msgid "lremovexattr"
10361 msgstr "lremovexattr"
10362
10363 #. type: verbatim
10364 #: ../fish/guestfish-actions.pod:2646
10365 #, no-wrap
10366 msgid ""
10367 " lremovexattr xattr path\n"
10368 "\n"
10369 msgstr ""
10370
10371 #. type: textblock
10372 #: ../fish/guestfish-actions.pod:2648
10373 msgid ""
10374 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
10375 "it removes an extended attribute of the link itself."
10376 msgstr ""
10377
10378 #. type: =head2
10379 #: ../fish/guestfish-actions.pod:2652
10380 msgid "ls"
10381 msgstr "ls"
10382
10383 #. type: verbatim
10384 #: ../fish/guestfish-actions.pod:2654
10385 #, no-wrap
10386 msgid ""
10387 " ls directory\n"
10388 "\n"
10389 msgstr ""
10390 " ls каталог\n"
10391 "\n"
10392
10393 #. type: textblock
10394 #: ../fish/guestfish-actions.pod:2656 ../src/guestfs-actions.pod:3921
10395 msgid ""
10396 "List the files in C<directory> (relative to the root directory, there is no "
10397 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
10398 msgstr ""
10399
10400 #. type: textblock
10401 #: ../fish/guestfish-actions.pod:2660
10402 msgid ""
10403 "This command is mostly useful for interactive sessions.  Programs should "
10404 "probably use L</readdir> instead."
10405 msgstr ""
10406
10407 #. type: =head2
10408 #: ../fish/guestfish-actions.pod:2663
10409 msgid "lsetxattr"
10410 msgstr "lsetxattr"
10411
10412 #. type: verbatim
10413 #: ../fish/guestfish-actions.pod:2665
10414 #, no-wrap
10415 msgid ""
10416 " lsetxattr xattr val vallen path\n"
10417 "\n"
10418 msgstr ""
10419
10420 #. type: textblock
10421 #: ../fish/guestfish-actions.pod:2667
10422 msgid ""
10423 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
10424 "sets an extended attribute of the link itself."
10425 msgstr ""
10426
10427 #. type: =head2
10428 #: ../fish/guestfish-actions.pod:2671
10429 msgid "lstat"
10430 msgstr "lstat"
10431
10432 #. type: verbatim
10433 #: ../fish/guestfish-actions.pod:2673
10434 #, no-wrap
10435 msgid ""
10436 " lstat path\n"
10437 "\n"
10438 msgstr ""
10439 " lstat шлях\n"
10440 "\n"
10441
10442 #. type: textblock
10443 #: ../fish/guestfish-actions.pod:2675 ../fish/guestfish-actions.pod:4483
10444 #: ../src/guestfs-actions.pod:3957 ../src/guestfs-actions.pod:6736
10445 msgid "Returns file information for the given C<path>."
10446 msgstr ""
10447
10448 #. type: textblock
10449 #: ../fish/guestfish-actions.pod:2677
10450 msgid ""
10451 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
10452 "the link is stat-ed, not the file it refers to."
10453 msgstr ""
10454
10455 #. type: textblock
10456 #: ../fish/guestfish-actions.pod:2681 ../src/guestfs-actions.pod:3963
10457 msgid "This is the same as the C<lstat(2)> system call."
10458 msgstr ""
10459
10460 #. type: =head2
10461 #: ../fish/guestfish-actions.pod:2683
10462 msgid "lstatlist"
10463 msgstr "lstatlist"
10464
10465 #. type: verbatim
10466 #: ../fish/guestfish-actions.pod:2685
10467 #, no-wrap
10468 msgid ""
10469 " lstatlist path 'names ...'\n"
10470 "\n"
10471 msgstr ""
10472
10473 #. type: textblock
10474 #: ../fish/guestfish-actions.pod:2687
10475 msgid ""
10476 "This call allows you to perform the L</lstat> operation on multiple files, "
10477 "where all files are in the directory C<path>.  C<names> is the list of files "
10478 "from this directory."
10479 msgstr ""
10480
10481 #. type: textblock
10482 #: ../fish/guestfish-actions.pod:2691 ../src/guestfs-actions.pod:3982
10483 msgid ""
10484 "On return you get a list of stat structs, with a one-to-one correspondence "
10485 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
10486 "then the C<ino> field of that structure is set to C<-1>."
10487 msgstr ""
10488
10489 #. type: textblock
10490 #: ../fish/guestfish-actions.pod:2696
10491 msgid ""
10492 "This call is intended for programs that want to efficiently list a directory "
10493 "contents without making many round-trips.  See also L</lxattrlist> for a "
10494 "similarly efficient call for getting extended attributes.  Very long "
10495 "directory listings might cause the protocol message size to be exceeded, "
10496 "causing this call to fail.  The caller must split up such requests into "
10497 "smaller groups of names."
10498 msgstr ""
10499
10500 #. type: =head2
10501 #: ../fish/guestfish-actions.pod:2704
10502 msgid "luks-add-key"
10503 msgstr "luks-add-key"
10504
10505 #. type: verbatim
10506 #: ../fish/guestfish-actions.pod:2706
10507 #, no-wrap
10508 msgid ""
10509 " luks-add-key device keyslot\n"
10510 "\n"
10511 msgstr ""
10512
10513 #. type: textblock
10514 #: ../fish/guestfish-actions.pod:2708 ../src/guestfs-actions.pod:4010
10515 msgid ""
10516 "This command adds a new key on LUKS device C<device>.  C<key> is any "
10517 "existing key, and is used to access the device.  C<newkey> is the new key to "
10518 "add.  C<keyslot> is the key slot that will be replaced."
10519 msgstr ""
10520
10521 #. type: textblock
10522 #: ../fish/guestfish-actions.pod:2713
10523 msgid ""
10524 "Note that if C<keyslot> already contains a key, then this command will "
10525 "fail.  You have to use L</luks-kill-slot> first to remove that key."
10526 msgstr ""
10527
10528 #. type: textblock
10529 #: ../fish/guestfish-actions.pod:2717 ../fish/guestfish-actions.pod:2739
10530 #: ../fish/guestfish-actions.pod:2752 ../fish/guestfish-actions.pod:2766
10531 #: ../fish/guestfish-actions.pod:2792 ../fish/guestfish-actions.pod:2802
10532 msgid ""
10533 "This command has one or more key or passphrase parameters.  Guestfish will "
10534 "prompt for these separately."
10535 msgstr ""
10536
10537 #. type: =head2
10538 #: ../fish/guestfish-actions.pod:2720
10539 msgid "luks-close"
10540 msgstr "luks-close"
10541
10542 #. type: verbatim
10543 #: ../fish/guestfish-actions.pod:2722
10544 #, no-wrap
10545 msgid ""
10546 " luks-close device\n"
10547 "\n"
10548 msgstr ""
10549 " luks-close пристрій\n"
10550 "\n"
10551
10552 #. type: textblock
10553 #: ../fish/guestfish-actions.pod:2724
10554 msgid ""
10555 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
10556 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
10557 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
10558 "block device."
10559 msgstr ""
10560
10561 #. type: =head2
10562 #: ../fish/guestfish-actions.pod:2730
10563 msgid "luks-format"
10564 msgstr "luks-format"
10565
10566 #. type: verbatim
10567 #: ../fish/guestfish-actions.pod:2732
10568 #, no-wrap
10569 msgid ""
10570 " luks-format device keyslot\n"
10571 "\n"
10572 msgstr ""
10573
10574 #. type: textblock
10575 #: ../fish/guestfish-actions.pod:2734 ../src/guestfs-actions.pod:4051
10576 msgid ""
10577 "This command erases existing data on C<device> and formats the device as a "
10578 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
10579 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
10580 msgstr ""
10581
10582 #. type: textblock
10583 #: ../fish/guestfish-actions.pod:2742 ../fish/guestfish-actions.pod:2755
10584 #: ../fish/guestfish-actions.pod:2842 ../fish/guestfish-actions.pod:3503
10585 #: ../fish/guestfish-actions.pod:4029 ../fish/guestfish-actions.pod:4354
10586 #: ../fish/guestfish-actions.pod:4377 ../fish/guestfish-actions.pod:4399
10587 #: ../fish/guestfish-actions.pod:5145 ../src/guestfs-actions.pod:4058
10588 #: ../src/guestfs-actions.pod:4081 ../src/guestfs-actions.pod:4224
10589 #: ../src/guestfs-actions.pod:5327 ../src/guestfs-actions.pod:6115
10590 #: ../src/guestfs-actions.pod:6550 ../src/guestfs-actions.pod:6580
10591 #: ../src/guestfs-actions.pod:6613 ../src/guestfs-actions.pod:7812
10592 msgid ""
10593 "B<This command is dangerous.  Without careful use you can easily destroy all "
10594 "your data>."
10595 msgstr ""
10596
10597 #. type: =head2
10598 #: ../fish/guestfish-actions.pod:2745
10599 msgid "luks-format-cipher"
10600 msgstr "luks-format-cipher"
10601
10602 #. type: verbatim
10603 #: ../fish/guestfish-actions.pod:2747
10604 #, no-wrap
10605 msgid ""
10606 " luks-format-cipher device keyslot cipher\n"
10607 "\n"
10608 msgstr ""
10609
10610 #. type: textblock
10611 #: ../fish/guestfish-actions.pod:2749
10612 msgid ""
10613 "This command is the same as L</luks-format> but it also allows you to set "
10614 "the C<cipher> used."
10615 msgstr ""
10616
10617 #. type: =head2
10618 #: ../fish/guestfish-actions.pod:2758
10619 msgid "luks-kill-slot"
10620 msgstr "luks-kill-slot"
10621
10622 #. type: verbatim
10623 #: ../fish/guestfish-actions.pod:2760
10624 #, no-wrap
10625 msgid ""
10626 " luks-kill-slot device keyslot\n"
10627 "\n"
10628 msgstr ""
10629
10630 #. type: textblock
10631 #: ../fish/guestfish-actions.pod:2762 ../src/guestfs-actions.pod:4098
10632 msgid ""
10633 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
10634 "device C<device>.  C<key> must be one of the I<other> keys."
10635 msgstr ""
10636
10637 #. type: =head2
10638 #: ../fish/guestfish-actions.pod:2769
10639 msgid "luks-open"
10640 msgstr "luks-open"
10641
10642 #. type: verbatim
10643 #: ../fish/guestfish-actions.pod:2771
10644 #, no-wrap
10645 msgid ""
10646 " luks-open device mapname\n"
10647 "\n"
10648 msgstr ""
10649
10650 #. type: textblock
10651 #: ../fish/guestfish-actions.pod:2773 ../src/guestfs-actions.pod:4118
10652 msgid ""
10653 "This command opens a block device which has been encrypted according to the "
10654 "Linux Unified Key Setup (LUKS) standard."
10655 msgstr ""
10656
10657 #. type: textblock
10658 #: ../fish/guestfish-actions.pod:2776 ../src/guestfs-actions.pod:4121
10659 msgid "C<device> is the encrypted block device or partition."
10660 msgstr ""
10661
10662 #. type: textblock
10663 #: ../fish/guestfish-actions.pod:2778 ../src/guestfs-actions.pod:4123
10664 msgid ""
10665 "The caller must supply one of the keys associated with the LUKS block "
10666 "device, in the C<key> parameter."
10667 msgstr ""
10668
10669 #. type: textblock
10670 #: ../fish/guestfish-actions.pod:2781 ../src/guestfs-actions.pod:4126
10671 msgid ""
10672 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
10673 "writes to this block device are decrypted from and encrypted to the "
10674 "underlying C<device> respectively."
10675 msgstr ""
10676
10677 #. type: textblock
10678 #: ../fish/guestfish-actions.pod:2785
10679 msgid ""
10680 "If this block device contains LVM volume groups, then calling L</vgscan> "
10681 "followed by L</vg-activate-all> will make them visible."
10682 msgstr ""
10683
10684 #. type: textblock
10685 #: ../fish/guestfish-actions.pod:2789
10686 msgid "Use L</list-dm-devices> to list all device mapper devices."
10687 msgstr ""
10688
10689 #. type: =head2
10690 #: ../fish/guestfish-actions.pod:2795
10691 msgid "luks-open-ro"
10692 msgstr "luks-open-ro"
10693
10694 #. type: verbatim
10695 #: ../fish/guestfish-actions.pod:2797
10696 #, no-wrap
10697 msgid ""
10698 " luks-open-ro device mapname\n"
10699 "\n"
10700 msgstr ""
10701
10702 #. type: textblock
10703 #: ../fish/guestfish-actions.pod:2799
10704 msgid ""
10705 "This is the same as L</luks-open> except that a read-only mapping is created."
10706 msgstr ""
10707
10708 #. type: =head2
10709 #: ../fish/guestfish-actions.pod:2805
10710 msgid "lvcreate"
10711 msgstr "lvcreate"
10712
10713 #. type: verbatim
10714 #: ../fish/guestfish-actions.pod:2807
10715 #, no-wrap
10716 msgid ""
10717 " lvcreate logvol volgroup mbytes\n"
10718 "\n"
10719 msgstr ""
10720
10721 #. type: textblock
10722 #: ../fish/guestfish-actions.pod:2809 ../src/guestfs-actions.pod:4172
10723 msgid ""
10724 "This creates an LVM logical volume called C<logvol> on the volume group "
10725 "C<volgroup>, with C<size> megabytes."
10726 msgstr ""
10727
10728 #. type: =head2
10729 #: ../fish/guestfish-actions.pod:2812
10730 msgid "lvm-canonical-lv-name"
10731 msgstr "lvm-canonical-lv-name"
10732
10733 #. type: verbatim
10734 #: ../fish/guestfish-actions.pod:2814
10735 #, no-wrap
10736 msgid ""
10737 " lvm-canonical-lv-name lvname\n"
10738 "\n"
10739 msgstr ""
10740
10741 #. type: textblock
10742 #: ../fish/guestfish-actions.pod:2816 ../src/guestfs-actions.pod:4185
10743 msgid ""
10744 "This converts alternative naming schemes for LVs that you might find to the "
10745 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to C</dev/VG/"
10746 "LV>."
10747 msgstr ""
10748
10749 #. type: textblock
10750 #: ../fish/guestfish-actions.pod:2820 ../src/guestfs-actions.pod:4189
10751 msgid ""
10752 "This command returns an error if the C<lvname> parameter does not refer to a "
10753 "logical volume."
10754 msgstr ""
10755
10756 #. type: textblock
10757 #: ../fish/guestfish-actions.pod:2823
10758 msgid "See also L</is-lv>."
10759 msgstr "Див. також L</is-lv>."
10760
10761 #. type: =head2
10762 #: ../fish/guestfish-actions.pod:2825
10763 msgid "lvm-clear-filter"
10764 msgstr "lvm-clear-filter"
10765
10766 #. type: verbatim
10767 #: ../fish/guestfish-actions.pod:2827
10768 #, no-wrap
10769 msgid ""
10770 " lvm-clear-filter\n"
10771 "\n"
10772 msgstr ""
10773 " lvm-clear-filter\n"
10774 "\n"
10775
10776 #. type: textblock
10777 #: ../fish/guestfish-actions.pod:2829
10778 msgid ""
10779 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
10780 "block device."
10781 msgstr ""
10782
10783 #. type: textblock
10784 #: ../fish/guestfish-actions.pod:2832 ../fish/guestfish-actions.pod:2863
10785 #: ../src/guestfs-actions.pod:4207 ../src/guestfs-actions.pod:4249
10786 msgid ""
10787 "This command also clears the LVM cache and performs a volume group scan."
10788 msgstr ""
10789
10790 #. type: =head2
10791 #: ../fish/guestfish-actions.pod:2835
10792 msgid "lvm-remove-all"
10793 msgstr "lvm-remove-all"
10794
10795 #. type: verbatim
10796 #: ../fish/guestfish-actions.pod:2837
10797 #, no-wrap
10798 msgid ""
10799 " lvm-remove-all\n"
10800 "\n"
10801 msgstr ""
10802 " lvm-remove-all\n"
10803 "\n"
10804
10805 #. type: textblock
10806 #: ../fish/guestfish-actions.pod:2839 ../src/guestfs-actions.pod:4219
10807 msgid ""
10808 "This command removes all LVM logical volumes, volume groups and physical "
10809 "volumes."
10810 msgstr ""
10811
10812 #. type: =head2
10813 #: ../fish/guestfish-actions.pod:2845
10814 msgid "lvm-set-filter"
10815 msgstr "lvm-set-filter"
10816
10817 #. type: verbatim
10818 #: ../fish/guestfish-actions.pod:2847
10819 #, no-wrap
10820 msgid ""
10821 " lvm-set-filter 'devices ...'\n"
10822 "\n"
10823 msgstr ""
10824 " lvm-set-filter 'пристрої...'\n"
10825 "\n"
10826
10827 #. type: textblock
10828 #: ../fish/guestfish-actions.pod:2849 ../src/guestfs-actions.pod:4235
10829 msgid ""
10830 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
10831 "block devices in the list C<devices>, and will ignore all other attached "
10832 "block devices."
10833 msgstr ""
10834
10835 #. type: textblock
10836 #: ../fish/guestfish-actions.pod:2853 ../src/guestfs-actions.pod:4239
10837 msgid ""
10838 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
10839 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
10840 "there are two types of duplication possible: either cloned PVs/VGs which "
10841 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
10842 "same name.  In normal operation you cannot create this situation, but you "
10843 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
10844 "inside the LVM metadata."
10845 msgstr ""
10846
10847 #. type: textblock
10848 #: ../fish/guestfish-actions.pod:2866 ../src/guestfs-actions.pod:4252
10849 msgid "You can filter whole block devices or individual partitions."
10850 msgstr ""
10851
10852 #. type: textblock
10853 #: ../fish/guestfish-actions.pod:2868 ../src/guestfs-actions.pod:4254
10854 msgid ""
10855 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
10856 "filesystem), even if you are not filtering out that VG."
10857 msgstr ""
10858
10859 #. type: =head2
10860 #: ../fish/guestfish-actions.pod:2872
10861 msgid "lvremove"
10862 msgstr "lvremove"
10863
10864 #. type: verbatim
10865 #: ../fish/guestfish-actions.pod:2874
10866 #, no-wrap
10867 msgid ""
10868 " lvremove device\n"
10869 "\n"
10870 msgstr ""
10871 " lvremove пристрій\n"
10872 "\n"
10873
10874 #. type: textblock
10875 #: ../fish/guestfish-actions.pod:2876 ../src/guestfs-actions.pod:4268
10876 msgid ""
10877 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
10878 "LV, such as C</dev/VG/LV>."
10879 msgstr ""
10880
10881 #. type: textblock
10882 #: ../fish/guestfish-actions.pod:2879 ../src/guestfs-actions.pod:4271
10883 msgid ""
10884 "You can also remove all LVs in a volume group by specifying the VG name, C</"
10885 "dev/VG>."
10886 msgstr ""
10887
10888 #. type: =head2
10889 #: ../fish/guestfish-actions.pod:2882
10890 msgid "lvrename"
10891 msgstr "lvrename"
10892
10893 #. type: verbatim
10894 #: ../fish/guestfish-actions.pod:2884
10895 #, no-wrap
10896 msgid ""
10897 " lvrename logvol newlogvol\n"
10898 "\n"
10899 msgstr ""
10900
10901 #. type: textblock
10902 #: ../fish/guestfish-actions.pod:2886 ../src/guestfs-actions.pod:4285
10903 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
10904 msgstr ""
10905
10906 #. type: =head2
10907 #: ../fish/guestfish-actions.pod:2888
10908 msgid "lvresize"
10909 msgstr "lvresize"
10910
10911 #. type: verbatim
10912 #: ../fish/guestfish-actions.pod:2890
10913 #, no-wrap
10914 msgid ""
10915 " lvresize device mbytes\n"
10916 "\n"
10917 msgstr ""
10918
10919 #. type: textblock
10920 #: ../fish/guestfish-actions.pod:2892 ../src/guestfs-actions.pod:4298
10921 msgid ""
10922 "This resizes (expands or shrinks) an existing LVM logical volume to "
10923 "C<mbytes>.  When reducing, data in the reduced part is lost."
10924 msgstr ""
10925
10926 #. type: =head2
10927 #: ../fish/guestfish-actions.pod:2896
10928 msgid "lvresize-free"
10929 msgstr "lvresize-free"
10930
10931 #. type: verbatim
10932 #: ../fish/guestfish-actions.pod:2898
10933 #, no-wrap
10934 msgid ""
10935 " lvresize-free lv percent\n"
10936 "\n"
10937 msgstr ""
10938
10939 #. type: textblock
10940 #: ../fish/guestfish-actions.pod:2900 ../src/guestfs-actions.pod:4313
10941 msgid ""
10942 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
10943 "remaining free space in the volume group.  Commonly you would call this with "
10944 "pc = 100 which expands the logical volume as much as possible, using all "
10945 "remaining free space in the volume group."
10946 msgstr ""
10947
10948 #. type: =head2
10949 #: ../fish/guestfish-actions.pod:2906
10950 msgid "lvs"
10951 msgstr "lvs"
10952
10953 #. type: verbatim
10954 #: ../fish/guestfish-actions.pod:2908
10955 #, no-wrap
10956 msgid ""
10957 " lvs\n"
10958 "\n"
10959 msgstr ""
10960 " lvs\n"
10961 "\n"
10962
10963 #. type: textblock
10964 #: ../fish/guestfish-actions.pod:2910 ../src/guestfs-actions.pod:4328
10965 msgid ""
10966 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
10967 "(8)> command."
10968 msgstr ""
10969
10970 #. type: textblock
10971 #: ../fish/guestfish-actions.pod:2913 ../src/guestfs-actions.pod:4331
10972 msgid ""
10973 "This returns a list of the logical volume device names (eg. C</dev/"
10974 "VolGroup00/LogVol00>)."
10975 msgstr ""
10976
10977 #. type: textblock
10978 #: ../fish/guestfish-actions.pod:2916
10979 msgid "See also L</lvs-full>, L</list-filesystems>."
10980 msgstr "Див. також L</lvs-full>, L</list-filesystems>."
10981
10982 #. type: =head2
10983 #: ../fish/guestfish-actions.pod:2918
10984 msgid "lvs-full"
10985 msgstr "lvs-full"
10986
10987 #. type: verbatim
10988 #: ../fish/guestfish-actions.pod:2920
10989 #, no-wrap
10990 msgid ""
10991 " lvs-full\n"
10992 "\n"
10993 msgstr ""
10994 " lvs-full\n"
10995 "\n"
10996
10997 #. type: textblock
10998 #: ../fish/guestfish-actions.pod:2922 ../src/guestfs-actions.pod:4347
10999 msgid ""
11000 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
11001 "(8)> command.  The \"full\" version includes all fields."
11002 msgstr ""
11003
11004 #. type: =head2
11005 #: ../fish/guestfish-actions.pod:2925
11006 msgid "lvuuid"
11007 msgstr "lvuuid"
11008
11009 #. type: verbatim
11010 #: ../fish/guestfish-actions.pod:2927
11011 #, no-wrap
11012 msgid ""
11013 " lvuuid device\n"
11014 "\n"
11015 msgstr ""
11016 " lvuuid пристрій\n"
11017 "\n"
11018
11019 #. type: textblock
11020 #: ../fish/guestfish-actions.pod:2929 ../src/guestfs-actions.pod:4362
11021 msgid "This command returns the UUID of the LVM LV C<device>."
11022 msgstr ""
11023
11024 #. type: =head2
11025 #: ../fish/guestfish-actions.pod:2931
11026 msgid "lxattrlist"
11027 msgstr "lxattrlist"
11028
11029 #. type: verbatim
11030 #: ../fish/guestfish-actions.pod:2933
11031 #, no-wrap
11032 msgid ""
11033 " lxattrlist path 'names ...'\n"
11034 "\n"
11035 msgstr ""
11036
11037 #. type: textblock
11038 #: ../fish/guestfish-actions.pod:2935 ../src/guestfs-actions.pod:4376
11039 msgid ""
11040 "This call allows you to get the extended attributes of multiple files, where "
11041 "all files are in the directory C<path>.  C<names> is the list of files from "
11042 "this directory."
11043 msgstr ""
11044
11045 #. type: textblock
11046 #: ../fish/guestfish-actions.pod:2939 ../src/guestfs-actions.pod:4380
11047 msgid ""
11048 "On return you get a flat list of xattr structs which must be interpreted "
11049 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
11050 "C<attrval> in this struct is zero-length to indicate there was an error "
11051 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
11052 "number (the number of following attributes for this file, which could be C<"
11053 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
11054 "for the first named file.  This repeats for the second and subsequent files."
11055 msgstr ""
11056
11057 #. type: textblock
11058 #: ../fish/guestfish-actions.pod:2949
11059 msgid ""
11060 "This call is intended for programs that want to efficiently list a directory "
11061 "contents without making many round-trips.  See also L</lstatlist> for a "
11062 "similarly efficient call for getting standard stats.  Very long directory "
11063 "listings might cause the protocol message size to be exceeded, causing this "
11064 "call to fail.  The caller must split up such requests into smaller groups of "
11065 "names."
11066 msgstr ""
11067
11068 #. type: =head2
11069 #: ../fish/guestfish-actions.pod:2957
11070 msgid "mkdir"
11071 msgstr "mkdir"
11072
11073 #. type: verbatim
11074 #: ../fish/guestfish-actions.pod:2959
11075 #, no-wrap
11076 msgid ""
11077 " mkdir path\n"
11078 "\n"
11079 msgstr ""
11080 " mkdir шлях\n"
11081 "\n"
11082
11083 #. type: textblock
11084 #: ../fish/guestfish-actions.pod:2961 ../src/guestfs-actions.pod:4410
11085 msgid "Create a directory named C<path>."
11086 msgstr ""
11087
11088 #. type: =head2
11089 #: ../fish/guestfish-actions.pod:2963
11090 msgid "mkdir-mode"
11091 msgstr "mkdir-mode"
11092
11093 #. type: verbatim
11094 #: ../fish/guestfish-actions.pod:2965
11095 #, no-wrap
11096 msgid ""
11097 " mkdir-mode path mode\n"
11098 "\n"
11099 msgstr ""
11100 " mkdir-mode шлях режим\n"
11101 "\n"
11102
11103 #. type: textblock
11104 #: ../fish/guestfish-actions.pod:2967 ../src/guestfs-actions.pod:4423
11105 msgid ""
11106 "This command creates a directory, setting the initial permissions of the "
11107 "directory to C<mode>."
11108 msgstr ""
11109
11110 #. type: textblock
11111 #: ../fish/guestfish-actions.pod:2970 ../src/guestfs-actions.pod:4426
11112 msgid ""
11113 "For common Linux filesystems, the actual mode which is set will be C<mode & "
11114 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
11115 "other ways."
11116 msgstr ""
11117
11118 #. type: textblock
11119 #: ../fish/guestfish-actions.pod:2974
11120 msgid "See also L</mkdir>, L</umask>"
11121 msgstr "Див. також L</mkdir>, L</umask>"
11122
11123 #. type: =head2
11124 #: ../fish/guestfish-actions.pod:2976
11125 msgid "mkdir-p"
11126 msgstr "mkdir-p"
11127
11128 #. type: verbatim
11129 #: ../fish/guestfish-actions.pod:2978
11130 #, no-wrap
11131 msgid ""
11132 " mkdir-p path\n"
11133 "\n"
11134 msgstr ""
11135 " mkdir-p шлях\n"
11136 "\n"
11137
11138 #. type: textblock
11139 #: ../fish/guestfish-actions.pod:2980 ../src/guestfs-actions.pod:4442
11140 msgid ""
11141 "Create a directory named C<path>, creating any parent directories as "
11142 "necessary.  This is like the C<mkdir -p> shell command."
11143 msgstr ""
11144
11145 #. type: =head2
11146 #: ../fish/guestfish-actions.pod:2983
11147 msgid "mkdtemp"
11148 msgstr "mkdtemp"
11149
11150 #. type: verbatim
11151 #: ../fish/guestfish-actions.pod:2985
11152 #, no-wrap
11153 msgid ""
11154 " mkdtemp template\n"
11155 "\n"
11156 msgstr ""
11157 " mkdtemp шаблон\n"
11158 "\n"
11159
11160 #. type: textblock
11161 #: ../fish/guestfish-actions.pod:2987 ../src/guestfs-actions.pod:4455
11162 msgid ""
11163 "This command creates a temporary directory.  The C<template> parameter "
11164 "should be a full pathname for the temporary directory name with the final "
11165 "six characters being \"XXXXXX\"."
11166 msgstr ""
11167
11168 #. type: textblock
11169 #: ../fish/guestfish-actions.pod:2992 ../src/guestfs-actions.pod:4460
11170 msgid ""
11171 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
11172 "being suitable for Windows filesystems."
11173 msgstr ""
11174
11175 #. type: textblock
11176 #: ../fish/guestfish-actions.pod:2995 ../src/guestfs-actions.pod:4463
11177 msgid "The name of the temporary directory that was created is returned."
11178 msgstr ""
11179
11180 #. type: textblock
11181 #: ../fish/guestfish-actions.pod:2998 ../src/guestfs-actions.pod:4466
11182 msgid "The temporary directory is created with mode 0700 and is owned by root."
11183 msgstr ""
11184
11185 #. type: textblock
11186 #: ../fish/guestfish-actions.pod:3001 ../src/guestfs-actions.pod:4469
11187 msgid ""
11188 "The caller is responsible for deleting the temporary directory and its "
11189 "contents after use."
11190 msgstr ""
11191
11192 #. type: textblock
11193 #: ../fish/guestfish-actions.pod:3004 ../src/guestfs-actions.pod:4472
11194 msgid "See also: L<mkdtemp(3)>"
11195 msgstr ""
11196
11197 #. type: =head2
11198 #: ../fish/guestfish-actions.pod:3006
11199 msgid "mke2fs-J"
11200 msgstr "mke2fs-J"
11201
11202 #. type: verbatim
11203 #: ../fish/guestfish-actions.pod:3008
11204 #, no-wrap
11205 msgid ""
11206 " mke2fs-J fstype blocksize device journal\n"
11207 "\n"
11208 msgstr ""
11209
11210 #. type: textblock
11211 #: ../fish/guestfish-actions.pod:3010 ../src/guestfs-actions.pod:4488
11212 msgid ""
11213 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
11214 "C<journal>.  It is equivalent to the command:"
11215 msgstr ""
11216
11217 #. type: verbatim
11218 #: ../fish/guestfish-actions.pod:3014 ../src/guestfs-actions.pod:4492
11219 #, no-wrap
11220 msgid ""
11221 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
11222 "\n"
11223 msgstr ""
11224 " mke2fs -t fstype -b blocksize -J device=<журнал> <пристрій>\n"
11225 "\n"
11226
11227 #. type: textblock
11228 #: ../fish/guestfish-actions.pod:3016
11229 msgid "See also L</mke2journal>."
11230 msgstr "Див. також L</mke2journal>."
11231
11232 #. type: =head2
11233 #: ../fish/guestfish-actions.pod:3018
11234 msgid "mke2fs-JL"
11235 msgstr "mke2fs-JL"
11236
11237 #. type: verbatim
11238 #: ../fish/guestfish-actions.pod:3020
11239 #, no-wrap
11240 msgid ""
11241 " mke2fs-JL fstype blocksize device label\n"
11242 "\n"
11243 msgstr ""
11244
11245 #. type: textblock
11246 #: ../fish/guestfish-actions.pod:3022 ../src/guestfs-actions.pod:4509
11247 msgid ""
11248 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
11249 "the journal labeled C<label>."
11250 msgstr ""
11251
11252 #. type: textblock
11253 #: ../fish/guestfish-actions.pod:3025
11254 msgid "See also L</mke2journal-L>."
11255 msgstr "Див. також L</mke2journal-L>."
11256
11257 #. type: =head2
11258 #: ../fish/guestfish-actions.pod:3027
11259 msgid "mke2fs-JU"
11260 msgstr "mke2fs-JU"
11261
11262 #. type: verbatim
11263 #: ../fish/guestfish-actions.pod:3029
11264 #, no-wrap
11265 msgid ""
11266 " mke2fs-JU fstype blocksize device uuid\n"
11267 "\n"
11268 msgstr ""
11269
11270 #. type: textblock
11271 #: ../fish/guestfish-actions.pod:3031 ../src/guestfs-actions.pod:4527
11272 msgid ""
11273 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
11274 "the journal with UUID C<uuid>."
11275 msgstr ""
11276
11277 #. type: textblock
11278 #: ../fish/guestfish-actions.pod:3034
11279 msgid "See also L</mke2journal-U>."
11280 msgstr "Див. також L</mke2journal-U>."
11281
11282 #. type: =head2
11283 #: ../fish/guestfish-actions.pod:3036
11284 msgid "mke2journal"
11285 msgstr "mke2journal"
11286
11287 #. type: verbatim
11288 #: ../fish/guestfish-actions.pod:3038
11289 #, no-wrap
11290 msgid ""
11291 " mke2journal blocksize device\n"
11292 "\n"
11293 msgstr ""
11294
11295 #. type: textblock
11296 #: ../fish/guestfish-actions.pod:3040 ../src/guestfs-actions.pod:4543
11297 msgid ""
11298 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
11299 "command:"
11300 msgstr ""
11301
11302 #. type: verbatim
11303 #: ../fish/guestfish-actions.pod:3043 ../src/guestfs-actions.pod:4546
11304 #, no-wrap
11305 msgid ""
11306 " mke2fs -O journal_dev -b blocksize device\n"
11307 "\n"
11308 msgstr ""
11309
11310 #. type: =head2
11311 #: ../fish/guestfish-actions.pod:3045
11312 msgid "mke2journal-L"
11313 msgstr "mke2journal-L"
11314
11315 #. type: verbatim
11316 #: ../fish/guestfish-actions.pod:3047
11317 #, no-wrap
11318 msgid ""
11319 " mke2journal-L blocksize label device\n"
11320 "\n"
11321 msgstr ""
11322
11323 #. type: textblock
11324 #: ../fish/guestfish-actions.pod:3049 ../src/guestfs-actions.pod:4560
11325 msgid "This creates an ext2 external journal on C<device> with label C<label>."
11326 msgstr ""
11327
11328 #. type: =head2
11329 #: ../fish/guestfish-actions.pod:3051
11330 msgid "mke2journal-U"
11331 msgstr "mke2journal-U"
11332
11333 #. type: verbatim
11334 #: ../fish/guestfish-actions.pod:3053
11335 #, no-wrap
11336 msgid ""
11337 " mke2journal-U blocksize uuid device\n"
11338 "\n"
11339 msgstr ""
11340
11341 #. type: textblock
11342 #: ../fish/guestfish-actions.pod:3055 ../src/guestfs-actions.pod:4574
11343 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
11344 msgstr ""
11345
11346 #. type: =head2
11347 #: ../fish/guestfish-actions.pod:3057
11348 msgid "mkfifo"
11349 msgstr "mkfifo"
11350
11351 #. type: verbatim
11352 #: ../fish/guestfish-actions.pod:3059
11353 #, no-wrap
11354 msgid ""
11355 " mkfifo mode path\n"
11356 "\n"
11357 msgstr ""
11358 " mkfifo режим шлях\n"
11359 "\n"
11360
11361 #. type: textblock
11362 #: ../fish/guestfish-actions.pod:3061
11363 msgid ""
11364 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
11365 "is just a convenient wrapper around L</mknod>."
11366 msgstr ""
11367
11368 #. type: =head2
11369 #: ../fish/guestfish-actions.pod:3067
11370 msgid "mkfs"
11371 msgstr "mkfs"
11372
11373 #. type: verbatim
11374 #: ../fish/guestfish-actions.pod:3069
11375 #, no-wrap
11376 msgid ""
11377 " mkfs fstype device\n"
11378 "\n"
11379 msgstr ""
11380 " mkfs тип_файлової_системи пристрій\n"
11381 "\n"
11382
11383 #. type: textblock
11384 #: ../fish/guestfish-actions.pod:3071 ../src/guestfs-actions.pod:4604
11385 msgid ""
11386 "This creates a filesystem on C<device> (usually a partition or LVM logical "
11387 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
11388 msgstr ""
11389
11390 #. type: =head2
11391 #: ../fish/guestfish-actions.pod:3075
11392 msgid "mkfs-b"
11393 msgstr "mkfs-b"
11394
11395 #. type: verbatim
11396 #: ../fish/guestfish-actions.pod:3077
11397 #, no-wrap
11398 msgid ""
11399 " mkfs-b fstype blocksize device\n"
11400 "\n"
11401 msgstr ""
11402
11403 #. type: textblock
11404 #: ../fish/guestfish-actions.pod:3079
11405 msgid ""
11406 "This call is similar to L</mkfs>, but it allows you to control the block "
11407 "size of the resulting filesystem.  Supported block sizes depend on the "
11408 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
11409 msgstr ""
11410
11411 #. type: textblock
11412 #: ../fish/guestfish-actions.pod:3084 ../fish/guestfish-actions.pod:3111
11413 #: ../src/guestfs-actions.pod:4632 ../src/guestfs-actions.pod:4670
11414 msgid ""
11415 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
11416 "cluster size."
11417 msgstr ""
11418
11419 #. type: textblock
11420 #: ../fish/guestfish-actions.pod:3087
11421 msgid ""
11422 "I<This function is deprecated.> In new code, use the L</mkfs_opts> call "
11423 "instead."
11424 msgstr ""
11425
11426 #. type: =head2
11427 #: ../fish/guestfish-actions.pod:3094
11428 msgid "mkfs-opts"
11429 msgstr "mkfs-opts"
11430
11431 #. type: verbatim
11432 #: ../fish/guestfish-actions.pod:3096
11433 #, no-wrap
11434 msgid ""
11435 " mkfs-opts fstype device [blocksize:..] [features:..] [inode:..] [sectorsize:..]\n"
11436 "\n"
11437 msgstr ""
11438
11439 #. type: textblock
11440 #: ../fish/guestfish-actions.pod:3098 ../src/guestfs-actions.pod:4657
11441 msgid ""
11442 "This function creates a filesystem on C<device>.  The filesystem type is "
11443 "C<fstype>, for example C<ext3>."
11444 msgstr ""
11445
11446 #. type: =item
11447 #: ../fish/guestfish-actions.pod:3105 ../src/guestfs-actions.pod:4664
11448 msgid "C<blocksize>"
11449 msgstr "C<blocksize>"
11450
11451 #. type: textblock
11452 #: ../fish/guestfish-actions.pod:3107 ../src/guestfs-actions.pod:4666
11453 msgid ""
11454 "The filesystem block size.  Supported block sizes depend on the filesystem "
11455 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
11456 "filesystems."
11457 msgstr ""
11458
11459 #. type: textblock
11460 #: ../fish/guestfish-actions.pod:3114 ../src/guestfs-actions.pod:4673
11461 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
11462 msgstr ""
11463
11464 #. type: =item
11465 #: ../fish/guestfish-actions.pod:3116 ../src/guestfs-actions.pod:4675
11466 msgid "C<features>"
11467 msgstr "C<features>"
11468
11469 #. type: textblock
11470 #: ../fish/guestfish-actions.pod:3118 ../src/guestfs-actions.pod:4677
11471 msgid "This passes the I<-O> parameter to the external mkfs program."
11472 msgstr ""
11473
11474 #. type: textblock
11475 #: ../fish/guestfish-actions.pod:3120 ../src/guestfs-actions.pod:4679
11476 msgid ""
11477 "For certain filesystem types, this allows extra filesystem features to be "
11478 "selected.  See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
11479 msgstr ""
11480
11481 #. type: textblock
11482 #: ../fish/guestfish-actions.pod:3124 ../src/guestfs-actions.pod:4683
11483 msgid ""
11484 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem "
11485 "type."
11486 msgstr ""
11487
11488 #. type: =item
11489 #: ../fish/guestfish-actions.pod:3127 ../src/guestfs-actions.pod:4686
11490 msgid "C<inode>"
11491 msgstr ""
11492
11493 #. type: textblock
11494 #: ../fish/guestfish-actions.pod:3129 ../src/guestfs-actions.pod:4688
11495 msgid ""
11496 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
11497 "sets the inode size (only for ext2/3/4 filesystems at present)."
11498 msgstr ""
11499
11500 #. type: =item
11501 #: ../fish/guestfish-actions.pod:3132 ../src/guestfs-actions.pod:4691
11502 msgid "C<sectorsize>"
11503 msgstr ""
11504
11505 #. type: textblock
11506 #: ../fish/guestfish-actions.pod:3134 ../src/guestfs-actions.pod:4693
11507 msgid ""
11508 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
11509 "sets sector size for ufs filesystem."
11510 msgstr ""
11511
11512 #. type: =head2
11513 #: ../fish/guestfish-actions.pod:3141
11514 msgid "mkmountpoint"
11515 msgstr "mkmountpoint"
11516
11517 #. type: verbatim
11518 #: ../fish/guestfish-actions.pod:3143
11519 #, no-wrap
11520 msgid ""
11521 " mkmountpoint exemptpath\n"
11522 "\n"
11523 msgstr ""
11524
11525 #. type: textblock
11526 #: ../fish/guestfish-actions.pod:3145
11527 msgid ""
11528 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
11529 "to create extra mountpoints before mounting the first filesystem."
11530 msgstr ""
11531
11532 #. type: textblock
11533 #: ../fish/guestfish-actions.pod:3149 ../src/guestfs-actions.pod:4736
11534 msgid ""
11535 "These calls are I<only> necessary in some very limited circumstances, mainly "
11536 "the case where you want to mount a mix of unrelated and/or read-only "
11537 "filesystems together."
11538 msgstr ""
11539
11540 #. type: textblock
11541 #: ../fish/guestfish-actions.pod:3153 ../src/guestfs-actions.pod:4740
11542 msgid ""
11543 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
11544 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
11545 "inside that.  You can unpack this as follows in guestfish:"
11546 msgstr ""
11547
11548 #. type: verbatim
11549 #: ../fish/guestfish-actions.pod:3158 ../src/guestfs-actions.pod:4745
11550 #, no-wrap
11551 msgid ""
11552 " add-ro Fedora-11-i686-Live.iso\n"
11553 " run\n"
11554 " mkmountpoint /cd\n"
11555 " mkmountpoint /sqsh\n"
11556 " mkmountpoint /ext3fs\n"
11557 " mount /dev/sda /cd\n"
11558 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
11559 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
11560 "\n"
11561 msgstr ""
11562 " add-ro Fedora-11-i686-Live.iso\n"
11563 " run\n"
11564 " mkmountpoint /cd\n"
11565 " mkmountpoint /sqsh\n"
11566 " mkmountpoint /ext3fs\n"
11567 " mount /dev/sda /cd\n"
11568 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
11569 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
11570 "\n"
11571
11572 #. type: textblock
11573 #: ../fish/guestfish-actions.pod:3167 ../src/guestfs-actions.pod:4754
11574 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
11575 msgstr ""
11576
11577 #. type: textblock
11578 #: ../fish/guestfish-actions.pod:3169
11579 msgid ""
11580 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
11581 "unexpected errors if you try to mix these calls.  It is safest to manually "
11582 "unmount filesystems and remove mountpoints after use."
11583 msgstr ""
11584
11585 #. type: textblock
11586 #: ../fish/guestfish-actions.pod:3173
11587 msgid ""
11588 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
11589 "for this to work for manual mountpoints, you must ensure that the innermost "
11590 "mountpoints have the longest pathnames, as in the example code above."
11591 msgstr ""
11592
11593 #. type: textblock
11594 #: ../fish/guestfish-actions.pod:3178 ../src/guestfs-actions.pod:4765
11595 msgid ""
11596 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
11597 msgstr ""
11598
11599 #. type: textblock
11600 #: ../fish/guestfish-actions.pod:3180
11601 msgid ""
11602 "Autosync [see L</set-autosync>, this is set by default on handles] can cause "
11603 "L</umount-all> to be called when the handle is closed which can also trigger "
11604 "these issues."
11605 msgstr ""
11606
11607 #. type: =head2
11608 #: ../fish/guestfish-actions.pod:3184
11609 msgid "mknod"
11610 msgstr "mknod"
11611
11612 #. type: verbatim
11613 #: ../fish/guestfish-actions.pod:3186
11614 #, no-wrap
11615 msgid ""
11616 " mknod mode devmajor devminor path\n"
11617 "\n"
11618 msgstr ""
11619
11620 #. type: textblock
11621 #: ../fish/guestfish-actions.pod:3188 ../src/guestfs-actions.pod:4784
11622 msgid ""
11623 "This call creates block or character special devices, or named pipes (FIFOs)."
11624 msgstr ""
11625
11626 #. type: textblock
11627 #: ../fish/guestfish-actions.pod:3191 ../src/guestfs-actions.pod:4787
11628 msgid ""
11629 "The C<mode> parameter should be the mode, using the standard constants.  "
11630 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
11631 "used when creating block and character special devices."
11632 msgstr ""
11633
11634 #. type: textblock
11635 #: ../fish/guestfish-actions.pod:3196
11636 msgid ""
11637 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
11638 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
11639 "regular file).  These constants are available in the standard Linux header "
11640 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
11641 "wrappers around this command which bitwise OR in the appropriate constant "
11642 "for you."
11643 msgstr ""
11644
11645 #. type: =head2
11646 #: ../fish/guestfish-actions.pod:3206
11647 msgid "mknod-b"
11648 msgstr "mknod-b"
11649
11650 #. type: verbatim
11651 #: ../fish/guestfish-actions.pod:3208
11652 #, no-wrap
11653 msgid ""
11654 " mknod-b mode devmajor devminor path\n"
11655 "\n"
11656 msgstr ""
11657
11658 #. type: textblock
11659 #: ../fish/guestfish-actions.pod:3210
11660 msgid ""
11661 "This call creates a block device node called C<path> with mode C<mode> and "
11662 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
11663 "wrapper around L</mknod>."
11664 msgstr ""
11665
11666 #. type: =head2
11667 #: ../fish/guestfish-actions.pod:3216
11668 msgid "mknod-c"
11669 msgstr "mknod-c"
11670
11671 #. type: verbatim
11672 #: ../fish/guestfish-actions.pod:3218
11673 #, no-wrap
11674 msgid ""
11675 " mknod-c mode devmajor devminor path\n"
11676 "\n"
11677 msgstr ""
11678
11679 #. type: textblock
11680 #: ../fish/guestfish-actions.pod:3220
11681 msgid ""
11682 "This call creates a char device node called C<path> with mode C<mode> and "
11683 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
11684 "wrapper around L</mknod>."
11685 msgstr ""
11686
11687 #. type: =head2
11688 #: ../fish/guestfish-actions.pod:3226
11689 msgid "mkswap"
11690 msgstr "mkswap"
11691
11692 #. type: verbatim
11693 #: ../fish/guestfish-actions.pod:3228
11694 #, no-wrap
11695 msgid ""
11696 " mkswap device\n"
11697 "\n"
11698 msgstr ""
11699 " mkswap пристрій\n"
11700 "\n"
11701
11702 #. type: textblock
11703 #: ../fish/guestfish-actions.pod:3230 ../src/guestfs-actions.pod:4850
11704 msgid "Create a swap partition on C<device>."
11705 msgstr ""
11706
11707 #. type: =head2
11708 #: ../fish/guestfish-actions.pod:3232
11709 msgid "mkswap-L"
11710 msgstr "mkswap-L"
11711
11712 #. type: verbatim
11713 #: ../fish/guestfish-actions.pod:3234
11714 #, no-wrap
11715 msgid ""
11716 " mkswap-L label device\n"
11717 "\n"
11718 msgstr ""
11719 " mkswap-L мітка пристрій\n"
11720 "\n"
11721
11722 #. type: textblock
11723 #: ../fish/guestfish-actions.pod:3236 ../src/guestfs-actions.pod:4863
11724 msgid "Create a swap partition on C<device> with label C<label>."
11725 msgstr ""
11726
11727 #. type: textblock
11728 #: ../fish/guestfish-actions.pod:3238 ../src/guestfs-actions.pod:4865
11729 msgid ""
11730 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
11731 "sda>), just to a partition.  This appears to be a limitation of the kernel "
11732 "or swap tools."
11733 msgstr ""
11734
11735 #. type: =head2
11736 #: ../fish/guestfish-actions.pod:3242
11737 msgid "mkswap-U"
11738 msgstr "mkswap-U"
11739
11740 #. type: verbatim
11741 #: ../fish/guestfish-actions.pod:3244
11742 #, no-wrap
11743 msgid ""
11744 " mkswap-U uuid device\n"
11745 "\n"
11746 msgstr ""
11747 " mkswap-U uuid пристрій\n"
11748 "\n"
11749
11750 #. type: textblock
11751 #: ../fish/guestfish-actions.pod:3246 ../src/guestfs-actions.pod:4880
11752 msgid "Create a swap partition on C<device> with UUID C<uuid>."
11753 msgstr ""
11754
11755 #. type: =head2
11756 #: ../fish/guestfish-actions.pod:3248
11757 msgid "mkswap-file"
11758 msgstr "mkswap-file"
11759
11760 #. type: verbatim
11761 #: ../fish/guestfish-actions.pod:3250
11762 #, no-wrap
11763 msgid ""
11764 " mkswap-file path\n"
11765 "\n"
11766 msgstr ""
11767 " mkswap-file шлях\n"
11768 "\n"
11769
11770 #. type: textblock
11771 #: ../fish/guestfish-actions.pod:3252 ../src/guestfs-actions.pod:4892
11772 msgid "Create a swap file."
11773 msgstr "Створити файл резервної пам’яті."
11774
11775 #. type: textblock
11776 #: ../fish/guestfish-actions.pod:3254
11777 msgid ""
11778 "This command just writes a swap file signature to an existing file.  To "
11779 "create the file itself, use something like L</fallocate>."
11780 msgstr ""
11781
11782 #. type: =head2
11783 #: ../fish/guestfish-actions.pod:3257
11784 msgid "modprobe"
11785 msgstr "modprobe"
11786
11787 #. type: verbatim
11788 #: ../fish/guestfish-actions.pod:3259
11789 #, no-wrap
11790 msgid ""
11791 " modprobe modulename\n"
11792 "\n"
11793 msgstr ""
11794 " modprobe назва_модуля\n"
11795 "\n"
11796
11797 #. type: textblock
11798 #: ../fish/guestfish-actions.pod:3261 ../src/guestfs-actions.pod:4907
11799 msgid "This loads a kernel module in the appliance."
11800 msgstr ""
11801
11802 #. type: textblock
11803 #: ../fish/guestfish-actions.pod:3263 ../src/guestfs-actions.pod:4909
11804 msgid ""
11805 "The kernel module must have been whitelisted when libguestfs was built (see "
11806 "C<appliance/kmod.whitelist.in> in the source)."
11807 msgstr ""
11808
11809 #. type: =head2
11810 #: ../fish/guestfish-actions.pod:3266
11811 msgid "mount"
11812 msgstr "mount"
11813
11814 #. type: verbatim
11815 #: ../fish/guestfish-actions.pod:3268
11816 #, no-wrap
11817 msgid ""
11818 " mount device mountpoint\n"
11819 "\n"
11820 msgstr ""
11821 " mount пристрій точка_монтування\n"
11822 "\n"
11823
11824 #. type: textblock
11825 #: ../fish/guestfish-actions.pod:3270 ../src/guestfs-actions.pod:4930
11826 msgid ""
11827 "Mount a guest disk at a position in the filesystem.  Block devices are named "
11828 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
11829 "those block devices contain partitions, they will have the usual names (eg. "
11830 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
11831 msgstr ""
11832
11833 #. type: textblock
11834 #: ../fish/guestfish-actions.pod:3276 ../src/guestfs-actions.pod:4936
11835 msgid ""
11836 "The rules are the same as for L<mount(2)>: A filesystem must first be "
11837 "mounted on C</> before others can be mounted.  Other filesystems can only be "
11838 "mounted on directories which already exist."
11839 msgstr ""
11840
11841 #. type: textblock
11842 #: ../fish/guestfish-actions.pod:3281 ../src/guestfs-actions.pod:4941
11843 msgid ""
11844 "The mounted filesystem is writable, if we have sufficient permissions on the "
11845 "underlying device."
11846 msgstr ""
11847
11848 #. type: textblock
11849 #: ../fish/guestfish-actions.pod:3284
11850 msgid ""
11851 "B<Important note:> When you use this call, the filesystem options C<sync> "
11852 "and C<noatime> are set implicitly.  This was originally done because we "
11853 "thought it would improve reliability, but it turns out that I<-o sync> has a "
11854 "very large negative performance impact and negligible effect on "
11855 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
11856 "code that needs performance, and instead use L</mount-options> (use an empty "
11857 "string for the first parameter if you don't want any options)."
11858 msgstr ""
11859
11860 #. type: textblock
11861 #: ../fish/guestfish-actions.pod:3294
11862 msgid ""
11863 "I<This function is deprecated.> In new code, use the L</mount_options> call "
11864 "instead."
11865 msgstr ""
11866
11867 #. type: =head2
11868 #: ../fish/guestfish-actions.pod:3301
11869 msgid "mount-9p"
11870 msgstr ""
11871
11872 #. type: verbatim
11873 #: ../fish/guestfish-actions.pod:3303
11874 #, no-wrap
11875 msgid ""
11876 " mount-9p mounttag mountpoint [options:..]\n"
11877 "\n"
11878 msgstr ""
11879
11880 #. type: textblock
11881 #: ../fish/guestfish-actions.pod:3305 ../src/guestfs-actions.pod:4973
11882 msgid ""
11883 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
11884 "C<mountpoint>."
11885 msgstr ""
11886
11887 #. type: textblock
11888 #: ../fish/guestfish-actions.pod:3308 ../src/guestfs-actions.pod:4976
11889 msgid ""
11890 "If required, C<trans=virtio> will be automatically added to the options.  "
11891 "Any other options required can be passed in the optional C<options> "
11892 "parameter."
11893 msgstr ""
11894
11895 #. type: =head2
11896 #: ../fish/guestfish-actions.pod:3314
11897 msgid "mount-loop"
11898 msgstr "mount-loop"
11899
11900 #. type: verbatim
11901 #: ../fish/guestfish-actions.pod:3316
11902 #, no-wrap
11903 msgid ""
11904 " mount-loop file mountpoint\n"
11905 "\n"
11906 msgstr ""
11907
11908 #. type: textblock
11909 #: ../fish/guestfish-actions.pod:3318 ../src/guestfs-actions.pod:5015
11910 msgid ""
11911 "This command lets you mount C<file> (a filesystem image in a file) on a "
11912 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
11913 "mountpoint>."
11914 msgstr ""
11915
11916 #. type: =head2
11917 #: ../fish/guestfish-actions.pod:3322
11918 msgid "mount-options"
11919 msgstr "mount-options"
11920
11921 #. type: verbatim
11922 #: ../fish/guestfish-actions.pod:3324
11923 #, no-wrap
11924 msgid ""
11925 " mount-options options device mountpoint\n"
11926 "\n"
11927 msgstr ""
11928
11929 #. type: textblock
11930 #: ../fish/guestfish-actions.pod:3326
11931 msgid ""
11932 "This is the same as the L</mount> command, but it allows you to set the "
11933 "mount options as for the L<mount(8)> I<-o> flag."
11934 msgstr ""
11935
11936 #. type: textblock
11937 #: ../fish/guestfish-actions.pod:3330 ../src/guestfs-actions.pod:5035
11938 msgid ""
11939 "If the C<options> parameter is an empty string, then no options are passed "
11940 "(all options default to whatever the filesystem uses)."
11941 msgstr ""
11942
11943 #. type: =head2
11944 #: ../fish/guestfish-actions.pod:3334
11945 msgid "mount-ro"
11946 msgstr "mount-ro"
11947
11948 #. type: verbatim
11949 #: ../fish/guestfish-actions.pod:3336
11950 #, no-wrap
11951 msgid ""
11952 " mount-ro device mountpoint\n"
11953 "\n"
11954 msgstr ""
11955 " mount-ro пристрій точка_монтування\n"
11956 "\n"
11957
11958 #. type: textblock
11959 #: ../fish/guestfish-actions.pod:3338
11960 msgid ""
11961 "This is the same as the L</mount> command, but it mounts the filesystem with "
11962 "the read-only (I<-o ro>) flag."
11963 msgstr ""
11964
11965 #. type: =head2
11966 #: ../fish/guestfish-actions.pod:3341
11967 msgid "mount-vfs"
11968 msgstr "mount-vfs"
11969
11970 #. type: verbatim
11971 #: ../fish/guestfish-actions.pod:3343
11972 #, no-wrap
11973 msgid ""
11974 " mount-vfs options vfstype device mountpoint\n"
11975 "\n"
11976 msgstr ""
11977
11978 #. type: textblock
11979 #: ../fish/guestfish-actions.pod:3345
11980 msgid ""
11981 "This is the same as the L</mount> command, but it allows you to set both the "
11982 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
11983 msgstr ""
11984
11985 #. type: =head2
11986 #: ../fish/guestfish-actions.pod:3349
11987 msgid "mountpoints"
11988 msgstr "mountpoints"
11989
11990 #. type: verbatim
11991 #: ../fish/guestfish-actions.pod:3351
11992 #, no-wrap
11993 msgid ""
11994 " mountpoints\n"
11995 "\n"
11996 msgstr ""
11997 " mountpoints\n"
11998 "\n"
11999
12000 #. type: textblock
12001 #: ../fish/guestfish-actions.pod:3353
12002 msgid ""
12003 "This call is similar to L</mounts>.  That call returns a list of devices.  "
12004 "This one returns a hash table (map) of device name to directory where the "
12005 "device is mounted."
12006 msgstr ""
12007
12008 #. type: =head2
12009 #: ../fish/guestfish-actions.pod:3357
12010 msgid "mounts"
12011 msgstr "mounts"
12012
12013 #. type: verbatim
12014 #: ../fish/guestfish-actions.pod:3359
12015 #, no-wrap
12016 msgid ""
12017 " mounts\n"
12018 "\n"
12019 msgstr ""
12020 " mounts\n"
12021 "\n"
12022
12023 #. type: textblock
12024 #: ../fish/guestfish-actions.pod:3361 ../src/guestfs-actions.pod:5096
12025 msgid ""
12026 "This returns the list of currently mounted filesystems.  It returns the list "
12027 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
12028 msgstr ""
12029
12030 #. type: textblock
12031 #: ../fish/guestfish-actions.pod:3364 ../src/guestfs-actions.pod:5099
12032 msgid "Some internal mounts are not shown."
12033 msgstr ""
12034
12035 #. type: textblock
12036 #: ../fish/guestfish-actions.pod:3366
12037 msgid "See also: L</mountpoints>"
12038 msgstr "Див. також L</mountpoints>"
12039
12040 #. type: =head2
12041 #: ../fish/guestfish-actions.pod:3368
12042 msgid "mv"
12043 msgstr "mv"
12044
12045 #. type: verbatim
12046 #: ../fish/guestfish-actions.pod:3370
12047 #, no-wrap
12048 msgid ""
12049 " mv src dest\n"
12050 "\n"
12051 msgstr ""
12052 " mv джерело призначення\n"
12053 "\n"
12054
12055 #. type: textblock
12056 #: ../fish/guestfish-actions.pod:3372 ../src/guestfs-actions.pod:5116
12057 msgid ""
12058 "This moves a file from C<src> to C<dest> where C<dest> is either a "
12059 "destination filename or destination directory."
12060 msgstr ""
12061
12062 #. type: =head2
12063 #: ../fish/guestfish-actions.pod:3375
12064 msgid "ntfs-3g-probe"
12065 msgstr "ntfs-3g-probe"
12066
12067 #. type: verbatim
12068 #: ../fish/guestfish-actions.pod:3377
12069 #, no-wrap
12070 msgid ""
12071 " ntfs-3g-probe true|false device\n"
12072 "\n"
12073 msgstr ""
12074
12075 #. type: textblock
12076 #: ../fish/guestfish-actions.pod:3379 ../src/guestfs-actions.pod:5130
12077 msgid ""
12078 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
12079 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
12080 "write, and some cannot be mounted at all)."
12081 msgstr ""
12082
12083 #. type: textblock
12084 #: ../fish/guestfish-actions.pod:3383 ../src/guestfs-actions.pod:5134
12085 msgid ""
12086 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
12087 "can be mounted read-write.  Set it to false if you want to test if the "
12088 "volume can be mounted read-only."
12089 msgstr ""
12090
12091 #. type: textblock
12092 #: ../fish/guestfish-actions.pod:3387 ../src/guestfs-actions.pod:5138
12093 msgid ""
12094 "The return value is an integer which C<0> if the operation would succeed, or "
12095 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
12096 msgstr ""
12097
12098 #. type: =head2
12099 #: ../fish/guestfish-actions.pod:3391
12100 msgid "ntfsresize"
12101 msgstr "ntfsresize"
12102
12103 #. type: verbatim
12104 #: ../fish/guestfish-actions.pod:3393
12105 #, no-wrap
12106 msgid ""
12107 " ntfsresize device\n"
12108 "\n"
12109 msgstr ""
12110 " ntfsresize пристрій\n"
12111 "\n"
12112
12113 #. type: textblock
12114 #: ../fish/guestfish-actions.pod:3395 ../fish/guestfish-actions.pod:3419
12115 #: ../src/guestfs-actions.pod:5159 ../src/guestfs-actions.pod:5191
12116 msgid ""
12117 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
12118 "size of the underlying device."
12119 msgstr ""
12120
12121 #. type: textblock
12122 #: ../fish/guestfish-actions.pod:3398 ../src/guestfs-actions.pod:5162
12123 msgid ""
12124 "I<Note:> After the resize operation, the filesystem is marked as requiring a "
12125 "consistency check (for safety).  You have to boot into Windows to perform "
12126 "this check and clear this condition.  Furthermore, ntfsresize refuses to "
12127 "resize filesystems which have been marked in this way.  So in effect it is "
12128 "not possible to call ntfsresize multiple times on a single filesystem "
12129 "without booting into Windows between each resize."
12130 msgstr ""
12131
12132 #. type: textblock
12133 #: ../fish/guestfish-actions.pod:3406 ../fish/guestfish-actions.pod:3445
12134 #: ../src/guestfs-actions.pod:5170 ../src/guestfs-actions.pod:5217
12135 msgid "See also L<ntfsresize(8)>."
12136 msgstr ""
12137
12138 #. type: textblock
12139 #: ../fish/guestfish-actions.pod:3408 ../fish/guestfish-actions.pod:3456
12140 msgid ""
12141 "I<This function is deprecated.> In new code, use the L</ntfsresize_opts> "
12142 "call instead."
12143 msgstr ""
12144
12145 #. type: =head2
12146 #: ../fish/guestfish-actions.pod:3415
12147 msgid "ntfsresize-opts"
12148 msgstr ""
12149
12150 #. type: verbatim
12151 #: ../fish/guestfish-actions.pod:3417
12152 #, no-wrap
12153 msgid ""
12154 " ntfsresize-opts device [size:..] [force:..]\n"
12155 "\n"
12156 msgstr ""
12157
12158 #. type: textblock
12159 #: ../fish/guestfish-actions.pod:3428 ../src/guestfs-actions.pod:5200
12160 msgid ""
12161 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
12162 "resized to fit the container (eg. partition)."
12163 msgstr ""
12164
12165 #. type: =item
12166 #: ../fish/guestfish-actions.pod:3431 ../src/guestfs-actions.pod:5203
12167 msgid "C<force>"
12168 msgstr ""
12169
12170 #. type: textblock
12171 #: ../fish/guestfish-actions.pod:3433 ../src/guestfs-actions.pod:5205
12172 msgid ""
12173 "If this option is true, then force the resize of the filesystem even if the "
12174 "filesystem is marked as requiring a consistency check."
12175 msgstr ""
12176
12177 #. type: textblock
12178 #: ../fish/guestfish-actions.pod:3436
12179 msgid ""
12180 "After the resize operation, the filesystem is always marked as requiring a "
12181 "consistency check (for safety).  You have to boot into Windows to perform "
12182 "this check and clear this condition.  If you I<don't> set the C<force> "
12183 "option then it is not possible to call L</ntfsresize-opts> multiple times on "
12184 "a single filesystem without booting into Windows between each resize."
12185 msgstr ""
12186
12187 #. type: =head2
12188 #: ../fish/guestfish-actions.pod:3449
12189 msgid "ntfsresize-size"
12190 msgstr "ntfsresize-size"
12191
12192 #. type: verbatim
12193 #: ../fish/guestfish-actions.pod:3451
12194 #, no-wrap
12195 msgid ""
12196 " ntfsresize-size device size\n"
12197 "\n"
12198 msgstr ""
12199
12200 #. type: textblock
12201 #: ../fish/guestfish-actions.pod:3453
12202 msgid ""
12203 "This command is the same as L</ntfsresize> except that it allows you to "
12204 "specify the new size (in bytes) explicitly."
12205 msgstr ""
12206
12207 #. type: =head2
12208 #: ../fish/guestfish-actions.pod:3463
12209 msgid "part-add"
12210 msgstr "part-add"
12211
12212 #. type: verbatim
12213 #: ../fish/guestfish-actions.pod:3465
12214 #, no-wrap
12215 msgid ""
12216 " part-add device prlogex startsect endsect\n"
12217 "\n"
12218 msgstr ""
12219
12220 #. type: textblock
12221 #: ../fish/guestfish-actions.pod:3467
12222 msgid ""
12223 "This command adds a partition to C<device>.  If there is no partition table "
12224 "on the device, call L</part-init> first."
12225 msgstr ""
12226
12227 #. type: textblock
12228 #: ../fish/guestfish-actions.pod:3470 ../src/guestfs-actions.pod:5278
12229 msgid ""
12230 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
12231 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
12232 "C<logical>) and C<e> (or C<extended>) partition types."
12233 msgstr ""
12234
12235 #. type: textblock
12236 #: ../fish/guestfish-actions.pod:3475 ../src/guestfs-actions.pod:5283
12237 msgid ""
12238 "C<startsect> and C<endsect> are the start and end of the partition in "
12239 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
12240 "from the end of the disk (C<-1> is the last sector)."
12241 msgstr ""
12242
12243 #. type: textblock
12244 #: ../fish/guestfish-actions.pod:3479
12245 msgid ""
12246 "Creating a partition which covers the whole disk is not so easy.  Use L</"
12247 "part-disk> to do that."
12248 msgstr ""
12249
12250 #. type: =head2
12251 #: ../fish/guestfish-actions.pod:3482
12252 msgid "part-del"
12253 msgstr "part-del"
12254
12255 #. type: verbatim
12256 #: ../fish/guestfish-actions.pod:3484
12257 #, no-wrap
12258 msgid ""
12259 " part-del device partnum\n"
12260 "\n"
12261 msgstr ""
12262
12263 #. type: textblock
12264 #: ../fish/guestfish-actions.pod:3486 ../src/guestfs-actions.pod:5301
12265 msgid "This command deletes the partition numbered C<partnum> on C<device>."
12266 msgstr ""
12267
12268 #. type: textblock
12269 #: ../fish/guestfish-actions.pod:3488 ../src/guestfs-actions.pod:5303
12270 msgid ""
12271 "Note that in the case of MBR partitioning, deleting an extended partition "
12272 "also deletes any logical partitions it contains."
12273 msgstr ""
12274
12275 #. type: =head2
12276 #: ../fish/guestfish-actions.pod:3492
12277 msgid "part-disk"
12278 msgstr "part-disk"
12279
12280 #. type: verbatim
12281 #: ../fish/guestfish-actions.pod:3494
12282 #, no-wrap
12283 msgid ""
12284 " part-disk device parttype\n"
12285 "\n"
12286 msgstr ""
12287 " part-disk пристрій тип_розділу\n"
12288 "\n"
12289
12290 #. type: textblock
12291 #: ../fish/guestfish-actions.pod:3496
12292 msgid ""
12293 "This command is simply a combination of L</part-init> followed by L</part-"
12294 "add> to create a single primary partition covering the whole disk."
12295 msgstr ""
12296
12297 #. type: textblock
12298 #: ../fish/guestfish-actions.pod:3500
12299 msgid ""
12300 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
12301 "possible values are described in L</part-init>."
12302 msgstr ""
12303
12304 #. type: =head2
12305 #: ../fish/guestfish-actions.pod:3506
12306 msgid "part-get-bootable"
12307 msgstr "part-get-bootable"
12308
12309 #. type: verbatim
12310 #: ../fish/guestfish-actions.pod:3508
12311 #, no-wrap
12312 msgid ""
12313 " part-get-bootable device partnum\n"
12314 "\n"
12315 msgstr ""
12316
12317 #. type: textblock
12318 #: ../fish/guestfish-actions.pod:3510 ../src/guestfs-actions.pod:5339
12319 msgid ""
12320 "This command returns true if the partition C<partnum> on C<device> has the "
12321 "bootable flag set."
12322 msgstr ""
12323
12324 #. type: textblock
12325 #: ../fish/guestfish-actions.pod:3513
12326 msgid "See also L</part-set-bootable>."
12327 msgstr "Див. також L</part-set-bootable>."
12328
12329 #. type: =head2
12330 #: ../fish/guestfish-actions.pod:3515
12331 msgid "part-get-mbr-id"
12332 msgstr "part-get-mbr-id"
12333
12334 #. type: verbatim
12335 #: ../fish/guestfish-actions.pod:3517
12336 #, no-wrap
12337 msgid ""
12338 " part-get-mbr-id device partnum\n"
12339 "\n"
12340 msgstr ""
12341
12342 #. type: textblock
12343 #: ../fish/guestfish-actions.pod:3519 ../src/guestfs-actions.pod:5355
12344 msgid ""
12345 "Returns the MBR type byte (also known as the ID byte) from the numbered "
12346 "partition C<partnum>."
12347 msgstr ""
12348
12349 #. type: textblock
12350 #: ../fish/guestfish-actions.pod:3522 ../fish/guestfish-actions.pod:3666
12351 msgid ""
12352 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
12353 "undefined results for other partition table types (see L</part-get-"
12354 "parttype>)."
12355 msgstr ""
12356
12357 #. type: =head2
12358 #: ../fish/guestfish-actions.pod:3526
12359 msgid "part-get-parttype"
12360 msgstr "part-get-parttype"
12361
12362 #. type: verbatim
12363 #: ../fish/guestfish-actions.pod:3528
12364 #, no-wrap
12365 msgid ""
12366 " part-get-parttype device\n"
12367 "\n"
12368 msgstr ""
12369 " part-get-parttype пристрій\n"
12370 "\n"
12371
12372 #. type: textblock
12373 #: ../fish/guestfish-actions.pod:3530 ../src/guestfs-actions.pod:5372
12374 msgid ""
12375 "This command examines the partition table on C<device> and returns the "
12376 "partition table type (format) being used."
12377 msgstr ""
12378
12379 #. type: textblock
12380 #: ../fish/guestfish-actions.pod:3533
12381 msgid ""
12382 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
12383 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
12384 "possible, although unusual.  See L</part-init> for a full list."
12385 msgstr ""
12386
12387 #. type: =head2
12388 #: ../fish/guestfish-actions.pod:3538
12389 msgid "part-init"
12390 msgstr "part-init"
12391
12392 #. type: verbatim
12393 #: ../fish/guestfish-actions.pod:3540
12394 #, no-wrap
12395 msgid ""
12396 " part-init device parttype\n"
12397 "\n"
12398 msgstr ""
12399
12400 #. type: textblock
12401 #: ../fish/guestfish-actions.pod:3542 ../src/guestfs-actions.pod:5392
12402 msgid ""
12403 "This creates an empty partition table on C<device> of one of the partition "
12404 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
12405 "(for large disks)."
12406 msgstr ""
12407
12408 #. type: textblock
12409 #: ../fish/guestfish-actions.pod:3546
12410 msgid ""
12411 "Initially there are no partitions.  Following this, you should call L</part-"
12412 "add> for each partition required."
12413 msgstr ""
12414
12415 #. type: textblock
12416 #: ../fish/guestfish-actions.pod:3549 ../src/guestfs-actions.pod:5399
12417 msgid "Possible values for C<parttype> are:"
12418 msgstr ""
12419
12420 #. type: =item
12421 #: ../fish/guestfish-actions.pod:3553 ../src/guestfs-actions.pod:5403
12422 msgid "B<efi>"
12423 msgstr ""
12424
12425 #. type: =item
12426 #: ../fish/guestfish-actions.pod:3555 ../src/guestfs-actions.pod:5405
12427 msgid "B<gpt>"
12428 msgstr ""
12429
12430 #. type: textblock
12431 #: ../fish/guestfish-actions.pod:3557 ../src/guestfs-actions.pod:5407
12432 msgid "Intel EFI / GPT partition table."
12433 msgstr ""
12434
12435 #. type: textblock
12436 #: ../fish/guestfish-actions.pod:3559 ../src/guestfs-actions.pod:5409
12437 msgid ""
12438 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
12439 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
12440 "the C<mbr> format."
12441 msgstr ""
12442
12443 #. type: =item
12444 #: ../fish/guestfish-actions.pod:3563 ../src/guestfs-actions.pod:5413
12445 msgid "B<mbr>"
12446 msgstr ""
12447
12448 #. type: =item
12449 #: ../fish/guestfish-actions.pod:3565 ../src/guestfs-actions.pod:5415
12450 msgid "B<msdos>"
12451 msgstr ""
12452
12453 #. type: textblock
12454 #: ../fish/guestfish-actions.pod:3567 ../src/guestfs-actions.pod:5417
12455 msgid ""
12456 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
12457 "Windows.  This partition type will B<only> work for device sizes up to 2 "
12458 "TB.  For large disks we recommend using C<gpt>."
12459 msgstr ""
12460
12461 #. type: textblock
12462 #: ../fish/guestfish-actions.pod:3574 ../src/guestfs-actions.pod:5424
12463 msgid ""
12464 "Other partition table types that may work but are not supported include:"
12465 msgstr ""
12466
12467 #. type: =item
12468 #: ../fish/guestfish-actions.pod:3579 ../src/guestfs-actions.pod:5429
12469 msgid "B<aix>"
12470 msgstr "B<aix>"
12471
12472 #. type: textblock
12473 #: ../fish/guestfish-actions.pod:3581 ../src/guestfs-actions.pod:5431
12474 msgid "AIX disk labels."
12475 msgstr "Мітки дисків AIX."
12476
12477 #. type: =item
12478 #: ../fish/guestfish-actions.pod:3583 ../src/guestfs-actions.pod:5433
12479 #, fuzzy
12480 #| msgid "B<amiga> | B<rdb>"
12481 msgid "B<amiga>"
12482 msgstr "B<amiga> | B<rdb>"
12483
12484 #. type: =item
12485 #: ../fish/guestfish-actions.pod:3585 ../src/guestfs-actions.pod:5435
12486 msgid "B<rdb>"
12487 msgstr ""
12488
12489 #. type: textblock
12490 #: ../fish/guestfish-actions.pod:3587 ../src/guestfs-actions.pod:5437
12491 msgid "Amiga \"Rigid Disk Block\" format."
12492 msgstr "Формат \"Rigid Disk Block\" Amiga."
12493
12494 #. type: =item
12495 #: ../fish/guestfish-actions.pod:3589 ../src/guestfs-actions.pod:5439
12496 msgid "B<bsd>"
12497 msgstr "B<bsd>"
12498
12499 #. type: textblock
12500 #: ../fish/guestfish-actions.pod:3591 ../src/guestfs-actions.pod:5441
12501 msgid "BSD disk labels."
12502 msgstr "Мітки дисків BSD."
12503
12504 #. type: =item
12505 #: ../fish/guestfish-actions.pod:3593 ../src/guestfs-actions.pod:5443
12506 msgid "B<dasd>"
12507 msgstr "B<dasd>"
12508
12509 #. type: textblock
12510 #: ../fish/guestfish-actions.pod:3595 ../src/guestfs-actions.pod:5445
12511 msgid "DASD, used on IBM mainframes."
12512 msgstr "DASD, використовувалися у мейнфреймах IBM."
12513
12514 #. type: =item
12515 #: ../fish/guestfish-actions.pod:3597 ../src/guestfs-actions.pod:5447
12516 msgid "B<dvh>"
12517 msgstr "B<dvh>"
12518
12519 #. type: textblock
12520 #: ../fish/guestfish-actions.pod:3599 ../src/guestfs-actions.pod:5449
12521 msgid "MIPS/SGI volumes."
12522 msgstr "Томи MIPS/SGI."
12523
12524 #. type: =item
12525 #: ../fish/guestfish-actions.pod:3601 ../src/guestfs-actions.pod:5451
12526 msgid "B<mac>"
12527 msgstr "B<mac>"
12528
12529 #. type: textblock
12530 #: ../fish/guestfish-actions.pod:3603 ../src/guestfs-actions.pod:5453
12531 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
12532 msgstr "Старий формат розділів Mac. Сучасні системи Mac використовують C<gpt>."
12533
12534 #. type: =item
12535 #: ../fish/guestfish-actions.pod:3605 ../src/guestfs-actions.pod:5455
12536 msgid "B<pc98>"
12537 msgstr "B<pc98>"
12538
12539 #. type: textblock
12540 #: ../fish/guestfish-actions.pod:3607 ../src/guestfs-actions.pod:5457
12541 msgid "NEC PC-98 format, common in Japan apparently."
12542 msgstr "Формат NEC PC-98, поширений у Японії."
12543
12544 #. type: =item
12545 #: ../fish/guestfish-actions.pod:3609 ../src/guestfs-actions.pod:5459
12546 msgid "B<sun>"
12547 msgstr "B<sun>"
12548
12549 #. type: textblock
12550 #: ../fish/guestfish-actions.pod:3611 ../src/guestfs-actions.pod:5461
12551 msgid "Sun disk labels."
12552 msgstr "Мітки дисків Sun."
12553
12554 #. type: =head2
12555 #: ../fish/guestfish-actions.pod:3615
12556 msgid "part-list"
12557 msgstr "part-list"
12558
12559 #. type: verbatim
12560 #: ../fish/guestfish-actions.pod:3617
12561 #, no-wrap
12562 msgid ""
12563 " part-list device\n"
12564 "\n"
12565 msgstr ""
12566 " part-list device\n"
12567 "\n"
12568
12569 #. type: textblock
12570 #: ../fish/guestfish-actions.pod:3619 ../src/guestfs-actions.pod:5475
12571 msgid ""
12572 "This command parses the partition table on C<device> and returns the list of "
12573 "partitions found."
12574 msgstr ""
12575
12576 #. type: textblock
12577 #: ../fish/guestfish-actions.pod:3622 ../src/guestfs-actions.pod:5478
12578 msgid "The fields in the returned structure are:"
12579 msgstr ""
12580
12581 #. type: =item
12582 #: ../fish/guestfish-actions.pod:3626 ../src/guestfs-actions.pod:5482
12583 msgid "B<part_num>"
12584 msgstr "B<part_num>"
12585
12586 #. type: textblock
12587 #: ../fish/guestfish-actions.pod:3628 ../src/guestfs-actions.pod:5484
12588 msgid "Partition number, counting from 1."
12589 msgstr ""
12590
12591 #. type: =item
12592 #: ../fish/guestfish-actions.pod:3630 ../src/guestfs-actions.pod:5486
12593 msgid "B<part_start>"
12594 msgstr "B<part_start>"
12595
12596 #. type: textblock
12597 #: ../fish/guestfish-actions.pod:3632
12598 msgid ""
12599 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
12600 "the device's sector size, see L</blockdev-getss>."
12601 msgstr ""
12602
12603 #. type: =item
12604 #: ../fish/guestfish-actions.pod:3635 ../src/guestfs-actions.pod:5491
12605 msgid "B<part_end>"
12606 msgstr "B<part_end>"
12607
12608 #. type: textblock
12609 #: ../fish/guestfish-actions.pod:3637 ../src/guestfs-actions.pod:5493
12610 msgid "End of the partition in bytes."
12611 msgstr ""
12612
12613 #. type: =item
12614 #: ../fish/guestfish-actions.pod:3639 ../src/guestfs-actions.pod:5495
12615 msgid "B<part_size>"
12616 msgstr "B<part_size>"
12617
12618 #. type: textblock
12619 #: ../fish/guestfish-actions.pod:3641 ../src/guestfs-actions.pod:5497
12620 msgid "Size of the partition in bytes."
12621 msgstr ""
12622
12623 #. type: =head2
12624 #: ../fish/guestfish-actions.pod:3645
12625 msgid "part-set-bootable"
12626 msgstr "part-set-bootable"
12627
12628 #. type: verbatim
12629 #: ../fish/guestfish-actions.pod:3647
12630 #, no-wrap
12631 msgid ""
12632 " part-set-bootable device partnum true|false\n"
12633 "\n"
12634 msgstr ""
12635
12636 #. type: textblock
12637 #: ../fish/guestfish-actions.pod:3649 ../src/guestfs-actions.pod:5515
12638 msgid ""
12639 "This sets the bootable flag on partition numbered C<partnum> on device "
12640 "C<device>.  Note that partitions are numbered from 1."
12641 msgstr ""
12642
12643 #. type: textblock
12644 #: ../fish/guestfish-actions.pod:3652 ../src/guestfs-actions.pod:5518
12645 msgid ""
12646 "The bootable flag is used by some operating systems (notably Windows) to "
12647 "determine which partition to boot from.  It is by no means universally "
12648 "recognized."
12649 msgstr ""
12650
12651 #. type: =head2
12652 #: ../fish/guestfish-actions.pod:3656
12653 msgid "part-set-mbr-id"
12654 msgstr "part-set-mbr-id"
12655
12656 #. type: verbatim
12657 #: ../fish/guestfish-actions.pod:3658
12658 #, no-wrap
12659 msgid ""
12660 " part-set-mbr-id device partnum idbyte\n"
12661 "\n"
12662 msgstr ""
12663
12664 #. type: textblock
12665 #: ../fish/guestfish-actions.pod:3660 ../src/guestfs-actions.pod:5534
12666 msgid ""
12667 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
12668 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
12669 "documentation are in fact hexadecimal numbers, but usually documented "
12670 "without any leading \"0x\" which might be confusing."
12671 msgstr ""
12672
12673 #. type: =head2
12674 #: ../fish/guestfish-actions.pod:3670
12675 msgid "part-set-name"
12676 msgstr "part-set-name"
12677
12678 #. type: verbatim
12679 #: ../fish/guestfish-actions.pod:3672
12680 #, no-wrap
12681 msgid ""
12682 " part-set-name device partnum name\n"
12683 "\n"
12684 msgstr ""
12685
12686 #. type: textblock
12687 #: ../fish/guestfish-actions.pod:3674 ../src/guestfs-actions.pod:5556
12688 msgid ""
12689 "This sets the partition name on partition numbered C<partnum> on device "
12690 "C<device>.  Note that partitions are numbered from 1."
12691 msgstr ""
12692
12693 #. type: textblock
12694 #: ../fish/guestfish-actions.pod:3677 ../src/guestfs-actions.pod:5559
12695 msgid ""
12696 "The partition name can only be set on certain types of partition table.  "
12697 "This works on C<gpt> but not on C<mbr> partitions."
12698 msgstr ""
12699
12700 #. type: =head2
12701 #: ../fish/guestfish-actions.pod:3680
12702 msgid "part-to-dev"
12703 msgstr "part-to-dev"
12704
12705 #. type: verbatim
12706 #: ../fish/guestfish-actions.pod:3682
12707 #, no-wrap
12708 msgid ""
12709 " part-to-dev partition\n"
12710 "\n"
12711 msgstr ""
12712 " part-to-dev розділ\n"
12713 "\n"
12714
12715 #. type: textblock
12716 #: ../fish/guestfish-actions.pod:3684 ../src/guestfs-actions.pod:5572
12717 msgid ""
12718 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
12719 "partition number, returning the device name (eg. \"/dev/sdb\")."
12720 msgstr ""
12721
12722 #. type: textblock
12723 #: ../fish/guestfish-actions.pod:3688
12724 msgid ""
12725 "The named partition must exist, for example as a string returned from L</"
12726 "list-partitions>."
12727 msgstr ""
12728
12729 #. type: =head2
12730 #: ../fish/guestfish-actions.pod:3691
12731 msgid "ping-daemon"
12732 msgstr "ping-daemon"
12733
12734 #. type: verbatim
12735 #: ../fish/guestfish-actions.pod:3693
12736 #, no-wrap
12737 msgid ""
12738 " ping-daemon\n"
12739 "\n"
12740 msgstr ""
12741 " ping-daemon\n"
12742 "\n"
12743
12744 #. type: textblock
12745 #: ../fish/guestfish-actions.pod:3695 ../src/guestfs-actions.pod:5589
12746 msgid ""
12747 "This is a test probe into the guestfs daemon running inside the qemu "
12748 "subprocess.  Calling this function checks that the daemon responds to the "
12749 "ping message, without affecting the daemon or attached block device(s) in "
12750 "any other way."
12751 msgstr ""
12752
12753 #. type: =head2
12754 #: ../fish/guestfish-actions.pod:3700
12755 msgid "pread"
12756 msgstr "pread"
12757
12758 #. type: verbatim
12759 #: ../fish/guestfish-actions.pod:3702
12760 #, no-wrap
12761 msgid ""
12762 " pread path count offset\n"
12763 "\n"
12764 msgstr ""
12765
12766 #. type: textblock
12767 #: ../fish/guestfish-actions.pod:3704 ../src/guestfs-actions.pod:5607
12768 msgid ""
12769 "This command lets you read part of a file.  It reads C<count> bytes of the "
12770 "file, starting at C<offset>, from file C<path>."
12771 msgstr ""
12772
12773 #. type: textblock
12774 #: ../fish/guestfish-actions.pod:3707 ../fish/guestfish-actions.pod:3722
12775 #: ../src/guestfs-actions.pod:5610 ../src/guestfs-actions.pod:5636
12776 msgid ""
12777 "This may read fewer bytes than requested.  For further details see the "
12778 "L<pread(2)> system call."
12779 msgstr ""
12780
12781 #. type: textblock
12782 #: ../fish/guestfish-actions.pod:3710
12783 msgid "See also L</pwrite>, L</pread-device>."
12784 msgstr "Див. також L</pwrite>, L</pread-device>."
12785
12786 #. type: =head2
12787 #: ../fish/guestfish-actions.pod:3715
12788 msgid "pread-device"
12789 msgstr "pread-device"
12790
12791 #. type: verbatim
12792 #: ../fish/guestfish-actions.pod:3717
12793 #, no-wrap
12794 msgid ""
12795 " pread-device device count offset\n"
12796 "\n"
12797 msgstr ""
12798
12799 #. type: textblock
12800 #: ../fish/guestfish-actions.pod:3719 ../src/guestfs-actions.pod:5633
12801 msgid ""
12802 "This command lets you read part of a file.  It reads C<count> bytes of "
12803 "C<device>, starting at C<offset>."
12804 msgstr ""
12805
12806 #. type: textblock
12807 #: ../fish/guestfish-actions.pod:3725
12808 msgid "See also L</pread>."
12809 msgstr "Див. також L</pread>."
12810
12811 #. type: =head2
12812 #: ../fish/guestfish-actions.pod:3730
12813 msgid "pvcreate"
12814 msgstr "pvcreate"
12815
12816 #. type: verbatim
12817 #: ../fish/guestfish-actions.pod:3732
12818 #, no-wrap
12819 msgid ""
12820 " pvcreate device\n"
12821 "\n"
12822 msgstr ""
12823 " pvcreate пристрій\n"
12824 "\n"
12825
12826 #. type: textblock
12827 #: ../fish/guestfish-actions.pod:3734 ../src/guestfs-actions.pod:5656
12828 msgid ""
12829 "This creates an LVM physical volume on the named C<device>, where C<device> "
12830 "should usually be a partition name such as C</dev/sda1>."
12831 msgstr ""
12832
12833 #. type: =head2
12834 #: ../fish/guestfish-actions.pod:3738
12835 msgid "pvremove"
12836 msgstr "pvremove"
12837
12838 #. type: verbatim
12839 #: ../fish/guestfish-actions.pod:3740
12840 #, no-wrap
12841 msgid ""
12842 " pvremove device\n"
12843 "\n"
12844 msgstr ""
12845 " pvremove пристрій\n"
12846 "\n"
12847
12848 #. type: textblock
12849 #: ../fish/guestfish-actions.pod:3742 ../src/guestfs-actions.pod:5670
12850 msgid ""
12851 "This wipes a physical volume C<device> so that LVM will no longer recognise "
12852 "it."
12853 msgstr ""
12854
12855 #. type: textblock
12856 #: ../fish/guestfish-actions.pod:3745 ../src/guestfs-actions.pod:5673
12857 msgid ""
12858 "The implementation uses the C<pvremove> command which refuses to wipe "
12859 "physical volumes that contain any volume groups, so you have to remove those "
12860 "first."
12861 msgstr ""
12862
12863 #. type: =head2
12864 #: ../fish/guestfish-actions.pod:3749
12865 msgid "pvresize"
12866 msgstr "pvresize"
12867
12868 #. type: verbatim
12869 #: ../fish/guestfish-actions.pod:3751
12870 #, no-wrap
12871 msgid ""
12872 " pvresize device\n"
12873 "\n"
12874 msgstr ""
12875 " pvresize пристрій\n"
12876 "\n"
12877
12878 #. type: textblock
12879 #: ../fish/guestfish-actions.pod:3753 ../src/guestfs-actions.pod:5687
12880 msgid ""
12881 "This resizes (expands or shrinks) an existing LVM physical volume to match "
12882 "the new size of the underlying device."
12883 msgstr ""
12884
12885 #. type: =head2
12886 #: ../fish/guestfish-actions.pod:3756
12887 msgid "pvresize-size"
12888 msgstr "pvresize-size"
12889
12890 #. type: verbatim
12891 #: ../fish/guestfish-actions.pod:3758
12892 #, no-wrap
12893 msgid ""
12894 " pvresize-size device size\n"
12895 "\n"
12896 msgstr ""
12897
12898 #. type: textblock
12899 #: ../fish/guestfish-actions.pod:3760
12900 msgid ""
12901 "This command is the same as L</pvresize> except that it allows you to "
12902 "specify the new size (in bytes) explicitly."
12903 msgstr ""
12904
12905 #. type: =head2
12906 #: ../fish/guestfish-actions.pod:3763
12907 msgid "pvs"
12908 msgstr "pvs"
12909
12910 #. type: verbatim
12911 #: ../fish/guestfish-actions.pod:3765
12912 #, no-wrap
12913 msgid ""
12914 " pvs\n"
12915 "\n"
12916 msgstr ""
12917 " pvs\n"
12918 "\n"
12919
12920 #. type: textblock
12921 #: ../fish/guestfish-actions.pod:3767 ../src/guestfs-actions.pod:5713
12922 msgid ""
12923 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
12924 "(8)> command."
12925 msgstr ""
12926
12927 #. type: textblock
12928 #: ../fish/guestfish-actions.pod:3770 ../src/guestfs-actions.pod:5716
12929 msgid ""
12930 "This returns a list of just the device names that contain PVs (eg. C</dev/"
12931 "sda2>)."
12932 msgstr ""
12933
12934 #. type: textblock
12935 #: ../fish/guestfish-actions.pod:3773
12936 msgid "See also L</pvs-full>."
12937 msgstr "Див. також L</pvs-full>."
12938
12939 #. type: =head2
12940 #: ../fish/guestfish-actions.pod:3775
12941 msgid "pvs-full"
12942 msgstr "pvs-full"
12943
12944 #. type: verbatim
12945 #: ../fish/guestfish-actions.pod:3777
12946 #, no-wrap
12947 msgid ""
12948 " pvs-full\n"
12949 "\n"
12950 msgstr ""
12951 " pvs-full\n"
12952 "\n"
12953
12954 #. type: textblock
12955 #: ../fish/guestfish-actions.pod:3779 ../src/guestfs-actions.pod:5732
12956 msgid ""
12957 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
12958 "(8)> command.  The \"full\" version includes all fields."
12959 msgstr ""
12960
12961 #. type: =head2
12962 #: ../fish/guestfish-actions.pod:3782
12963 msgid "pvuuid"
12964 msgstr "pvuuid"
12965
12966 #. type: verbatim
12967 #: ../fish/guestfish-actions.pod:3784
12968 #, no-wrap
12969 msgid ""
12970 " pvuuid device\n"
12971 "\n"
12972 msgstr ""
12973 " pvuuid пристрій\n"
12974 "\n"
12975
12976 #. type: textblock
12977 #: ../fish/guestfish-actions.pod:3786 ../src/guestfs-actions.pod:5747
12978 msgid "This command returns the UUID of the LVM PV C<device>."
12979 msgstr ""
12980
12981 #. type: =head2
12982 #: ../fish/guestfish-actions.pod:3788
12983 msgid "pwrite"
12984 msgstr "pwrite"
12985
12986 #. type: verbatim
12987 #: ../fish/guestfish-actions.pod:3790
12988 #, no-wrap
12989 msgid ""
12990 " pwrite path content offset\n"
12991 "\n"
12992 msgstr ""
12993
12994 #. type: textblock
12995 #: ../fish/guestfish-actions.pod:3792 ../src/guestfs-actions.pod:5763
12996 msgid ""
12997 "This command writes to part of a file.  It writes the data buffer C<content> "
12998 "to the file C<path> starting at offset C<offset>."
12999 msgstr ""
13000
13001 #. type: textblock
13002 #: ../fish/guestfish-actions.pod:3795 ../src/guestfs-actions.pod:5766
13003 msgid ""
13004 "This command implements the L<pwrite(2)> system call, and like that system "
13005 "call it may not write the full data requested.  The return value is the "
13006 "number of bytes that were actually written to the file.  This could even be "
13007 "0, although short writes are unlikely for regular files in ordinary "
13008 "circumstances."
13009 msgstr ""
13010
13011 #. type: textblock
13012 #: ../fish/guestfish-actions.pod:3801
13013 msgid "See also L</pread>, L</pwrite-device>."
13014 msgstr "Див. також L</pread>, L</pwrite-device>."
13015
13016 #. type: =head2
13017 #: ../fish/guestfish-actions.pod:3806
13018 msgid "pwrite-device"
13019 msgstr "pwrite-device"
13020
13021 #. type: verbatim
13022 #: ../fish/guestfish-actions.pod:3808
13023 #, no-wrap
13024 msgid ""
13025 " pwrite-device device content offset\n"
13026 "\n"
13027 msgstr ""
13028
13029 #. type: textblock
13030 #: ../fish/guestfish-actions.pod:3810 ../src/guestfs-actions.pod:5790
13031 msgid ""
13032 "This command writes to part of a device.  It writes the data buffer "
13033 "C<content> to C<device> starting at offset C<offset>."
13034 msgstr ""
13035
13036 #. type: textblock
13037 #: ../fish/guestfish-actions.pod:3813 ../src/guestfs-actions.pod:5793
13038 msgid ""
13039 "This command implements the L<pwrite(2)> system call, and like that system "
13040 "call it may not write the full data requested (although short writes to disk "
13041 "devices and partitions are probably impossible with standard Linux kernels)."
13042 msgstr ""
13043
13044 #. type: textblock
13045 #: ../fish/guestfish-actions.pod:3818
13046 msgid "See also L</pwrite>."
13047 msgstr "Див. також L</pwrite>."
13048
13049 #. type: =head2
13050 #: ../fish/guestfish-actions.pod:3823
13051 msgid "read-file"
13052 msgstr "read-file"
13053
13054 #. type: verbatim
13055 #: ../fish/guestfish-actions.pod:3825
13056 #, no-wrap
13057 msgid ""
13058 " read-file path\n"
13059 "\n"
13060 msgstr ""
13061 " read-file шлях\n"
13062 "\n"
13063
13064 #. type: textblock
13065 #: ../fish/guestfish-actions.pod:3827 ../src/guestfs-actions.pod:5814
13066 msgid "This calls returns the contents of the file C<path> as a buffer."
13067 msgstr ""
13068
13069 #. type: textblock
13070 #: ../fish/guestfish-actions.pod:3830
13071 msgid ""
13072 "Unlike L</cat>, this function can correctly handle files that contain "
13073 "embedded ASCII NUL characters.  However unlike L</download>, this function "
13074 "is limited in the total size of file that can be handled."
13075 msgstr ""
13076
13077 #. type: =head2
13078 #: ../fish/guestfish-actions.pod:3838
13079 msgid "read-lines"
13080 msgstr "read-lines"
13081
13082 #. type: verbatim
13083 #: ../fish/guestfish-actions.pod:3840
13084 #, no-wrap
13085 msgid ""
13086 " read-lines path\n"
13087 "\n"
13088 msgstr ""
13089 " read-lines шлях\n"
13090 "\n"
13091
13092 #. type: textblock
13093 #: ../fish/guestfish-actions.pod:3844 ../src/guestfs-actions.pod:5839
13094 msgid ""
13095 "The file contents are returned as a list of lines.  Trailing C<LF> and "
13096 "C<CRLF> character sequences are I<not> returned."
13097 msgstr ""
13098
13099 #. type: textblock
13100 #: ../fish/guestfish-actions.pod:3847
13101 msgid ""
13102 "Note that this function cannot correctly handle binary files (specifically, "
13103 "files containing C<\\0> character which is treated as end of line).  For "
13104 "those you need to use the L</read-file> function which has a more complex "
13105 "interface."
13106 msgstr ""
13107
13108 #. type: =head2
13109 #: ../fish/guestfish-actions.pod:3852
13110 msgid "readdir"
13111 msgstr "readdir"
13112
13113 #. type: verbatim
13114 #: ../fish/guestfish-actions.pod:3854
13115 #, no-wrap
13116 msgid ""
13117 " readdir dir\n"
13118 "\n"
13119 msgstr ""
13120 " readdir каталог\n"
13121 "\n"
13122
13123 #. type: textblock
13124 #: ../fish/guestfish-actions.pod:3856 ../src/guestfs-actions.pod:5859
13125 msgid "This returns the list of directory entries in directory C<dir>."
13126 msgstr ""
13127
13128 #. type: textblock
13129 #: ../fish/guestfish-actions.pod:3858 ../src/guestfs-actions.pod:5861
13130 msgid ""
13131 "All entries in the directory are returned, including C<.> and C<..>.  The "
13132 "entries are I<not> sorted, but returned in the same order as the underlying "
13133 "filesystem."
13134 msgstr ""
13135
13136 #. type: textblock
13137 #: ../fish/guestfish-actions.pod:3862 ../src/guestfs-actions.pod:5865
13138 msgid ""
13139 "Also this call returns basic file type information about each file.  The "
13140 "C<ftyp> field will contain one of the following characters:"
13141 msgstr ""
13142
13143 #. type: =item
13144 #: ../fish/guestfish-actions.pod:3867 ../src/guestfs-actions.pod:5870
13145 msgid "'b'"
13146 msgstr "'b'"
13147
13148 #. type: textblock
13149 #: ../fish/guestfish-actions.pod:3869 ../src/guestfs-actions.pod:5872
13150 msgid "Block special"
13151 msgstr "Блоковий особливий"
13152
13153 #. type: =item
13154 #: ../fish/guestfish-actions.pod:3871 ../src/guestfs-actions.pod:5874
13155 msgid "'c'"
13156 msgstr "'c'"
13157
13158 #. type: textblock
13159 #: ../fish/guestfish-actions.pod:3873 ../src/guestfs-actions.pod:5876
13160 msgid "Char special"
13161 msgstr "Символьний особливий"
13162
13163 #. type: =item
13164 #: ../fish/guestfish-actions.pod:3875 ../src/guestfs-actions.pod:5878
13165 msgid "'d'"
13166 msgstr "'d'"
13167
13168 #. type: textblock
13169 #: ../fish/guestfish-actions.pod:3877 ../src/guestfs-actions.pod:5880
13170 msgid "Directory"
13171 msgstr "Каталог"
13172
13173 #. type: =item
13174 #: ../fish/guestfish-actions.pod:3879 ../src/guestfs-actions.pod:5882
13175 msgid "'f'"
13176 msgstr "'f'"
13177
13178 #. type: textblock
13179 #: ../fish/guestfish-actions.pod:3881 ../src/guestfs-actions.pod:5884
13180 msgid "FIFO (named pipe)"
13181 msgstr "FIFO (іменований канал)"
13182
13183 #. type: =item
13184 #: ../fish/guestfish-actions.pod:3883 ../src/guestfs-actions.pod:5886
13185 msgid "'l'"
13186 msgstr "'l'"
13187
13188 #. type: textblock
13189 #: ../fish/guestfish-actions.pod:3885 ../src/guestfs-actions.pod:5888
13190 msgid "Symbolic link"
13191 msgstr "Символічне посилання"
13192
13193 #. type: =item
13194 #: ../fish/guestfish-actions.pod:3887 ../src/guestfs-actions.pod:5890
13195 msgid "'r'"
13196 msgstr "'r'"
13197
13198 #. type: textblock
13199 #: ../fish/guestfish-actions.pod:3889 ../src/guestfs-actions.pod:5892
13200 msgid "Regular file"
13201 msgstr "Звичайний файл"
13202
13203 #. type: =item
13204 #: ../fish/guestfish-actions.pod:3891 ../src/guestfs-actions.pod:5894
13205 msgid "'s'"
13206 msgstr "'s'"
13207
13208 #. type: textblock
13209 #: ../fish/guestfish-actions.pod:3893 ../src/guestfs-actions.pod:5896
13210 msgid "Socket"
13211 msgstr "Сокет"
13212
13213 #. type: =item
13214 #: ../fish/guestfish-actions.pod:3895 ../src/guestfs-actions.pod:5898
13215 msgid "'u'"
13216 msgstr "'u'"
13217
13218 #. type: textblock
13219 #: ../fish/guestfish-actions.pod:3897 ../src/guestfs-actions.pod:5900
13220 msgid "Unknown file type"
13221 msgstr "Невідомий тип файла"
13222
13223 #. type: =item
13224 #: ../fish/guestfish-actions.pod:3899 ../src/guestfs-actions.pod:5902
13225 msgid "'?'"
13226 msgstr ""
13227
13228 #. type: textblock
13229 #: ../fish/guestfish-actions.pod:3901 ../src/guestfs-actions.pod:5904
13230 msgid ""
13231 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
13232 msgstr ""
13233
13234 #. type: textblock
13235 #: ../fish/guestfish-actions.pod:3906
13236 msgid ""
13237 "This function is primarily intended for use by programs.  To get a simple "
13238 "list of names, use L</ls>.  To get a printable directory for human "
13239 "consumption, use L</ll>."
13240 msgstr ""
13241
13242 #. type: =head2
13243 #: ../fish/guestfish-actions.pod:3910
13244 msgid "readlink"
13245 msgstr "readlink"
13246
13247 #. type: verbatim
13248 #: ../fish/guestfish-actions.pod:3912
13249 #, no-wrap
13250 msgid ""
13251 " readlink path\n"
13252 "\n"
13253 msgstr ""
13254 " readlink шлях\n"
13255 "\n"
13256
13257 #. type: textblock
13258 #: ../fish/guestfish-actions.pod:3914 ../src/guestfs-actions.pod:5925
13259 msgid "This command reads the target of a symbolic link."
13260 msgstr ""
13261
13262 #. type: =head2
13263 #: ../fish/guestfish-actions.pod:3916
13264 msgid "readlinklist"
13265 msgstr "readlinklist"
13266
13267 #. type: verbatim
13268 #: ../fish/guestfish-actions.pod:3918
13269 #, no-wrap
13270 msgid ""
13271 " readlinklist path 'names ...'\n"
13272 "\n"
13273 msgstr ""
13274
13275 #. type: textblock
13276 #: ../fish/guestfish-actions.pod:3920 ../src/guestfs-actions.pod:5939
13277 msgid ""
13278 "This call allows you to do a C<readlink> operation on multiple files, where "
13279 "all files are in the directory C<path>.  C<names> is the list of files from "
13280 "this directory."
13281 msgstr ""
13282
13283 #. type: textblock
13284 #: ../fish/guestfish-actions.pod:3924 ../src/guestfs-actions.pod:5943
13285 msgid ""
13286 "On return you get a list of strings, with a one-to-one correspondence to the "
13287 "C<names> list.  Each string is the value of the symbolic link."
13288 msgstr ""
13289
13290 #. type: textblock
13291 #: ../fish/guestfish-actions.pod:3928 ../src/guestfs-actions.pod:5947
13292 msgid ""
13293 "If the C<readlink(2)> operation fails on any name, then the corresponding "
13294 "result string is the empty string C<\"\">.  However the whole operation is "
13295 "completed even if there were C<readlink(2)> errors, and so you can call this "
13296 "function with names where you don't know if they are symbolic links already "
13297 "(albeit slightly less efficient)."
13298 msgstr ""
13299
13300 #. type: textblock
13301 #: ../fish/guestfish-actions.pod:3935 ../src/guestfs-actions.pod:5954
13302 msgid ""
13303 "This call is intended for programs that want to efficiently list a directory "
13304 "contents without making many round-trips.  Very long directory listings "
13305 "might cause the protocol message size to be exceeded, causing this call to "
13306 "fail.  The caller must split up such requests into smaller groups of names."
13307 msgstr ""
13308
13309 #. type: =head2
13310 #: ../fish/guestfish-actions.pod:3942
13311 msgid "realpath"
13312 msgstr "realpath"
13313
13314 #. type: verbatim
13315 #: ../fish/guestfish-actions.pod:3944
13316 #, no-wrap
13317 msgid ""
13318 " realpath path\n"
13319 "\n"
13320 msgstr ""
13321 " realpath шлях\n"
13322 "\n"
13323
13324 #. type: textblock
13325 #: ../fish/guestfish-actions.pod:3946 ../src/guestfs-actions.pod:5973
13326 msgid ""
13327 "Return the canonicalized absolute pathname of C<path>.  The returned path "
13328 "has no C<.>, C<..> or symbolic link path elements."
13329 msgstr ""
13330
13331 #. type: =head2
13332 #: ../fish/guestfish-actions.pod:3949
13333 msgid "removexattr"
13334 msgstr "removexattr"
13335
13336 #. type: verbatim
13337 #: ../fish/guestfish-actions.pod:3951
13338 #, no-wrap
13339 msgid ""
13340 " removexattr xattr path\n"
13341 "\n"
13342 msgstr ""
13343
13344 #. type: textblock
13345 #: ../fish/guestfish-actions.pod:3953 ../src/guestfs-actions.pod:5988
13346 msgid ""
13347 "This call removes the extended attribute named C<xattr> of the file C<path>."
13348 msgstr ""
13349
13350 #. type: textblock
13351 #: ../fish/guestfish-actions.pod:3956
13352 msgid "See also: L</lremovexattr>, L<attr(5)>."
13353 msgstr "Див. також L</lremovexattr>, L<attr(5)>."
13354
13355 #. type: =head2
13356 #: ../fish/guestfish-actions.pod:3958
13357 msgid "resize2fs"
13358 msgstr "resize2fs"
13359
13360 #. type: verbatim
13361 #: ../fish/guestfish-actions.pod:3960
13362 #, no-wrap
13363 msgid ""
13364 " resize2fs device\n"
13365 "\n"
13366 msgstr ""
13367 " resize2fs пристрій\n"
13368 "\n"
13369
13370 #. type: textblock
13371 #: ../fish/guestfish-actions.pod:3962 ../src/guestfs-actions.pod:6003
13372 msgid ""
13373 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
13374 "underlying device."
13375 msgstr ""
13376
13377 #. type: textblock
13378 #: ../fish/guestfish-actions.pod:3965
13379 msgid ""
13380 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
13381 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
13382 "gives an error about this and sometimes not.  In any case, it is always safe "
13383 "to call L</e2fsck-f> before calling this function."
13384 msgstr ""
13385
13386 #. type: =head2
13387 #: ../fish/guestfish-actions.pod:3971
13388 msgid "resize2fs-M"
13389 msgstr "resize2fs-M"
13390
13391 #. type: verbatim
13392 #: ../fish/guestfish-actions.pod:3973
13393 #, no-wrap
13394 msgid ""
13395 " resize2fs-M device\n"
13396 "\n"
13397 msgstr ""
13398 " resize2fs-M пристрій\n"
13399 "\n"
13400
13401 #. type: textblock
13402 #: ../fish/guestfish-actions.pod:3975
13403 msgid ""
13404 "This command is the same as L</resize2fs>, but the filesystem is resized to "
13405 "its minimum size.  This works like the I<-M> option to the C<resize2fs> "
13406 "command."
13407 msgstr ""
13408
13409 #. type: textblock
13410 #: ../fish/guestfish-actions.pod:3979
13411 msgid ""
13412 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
13413 "and read the C<Block size> and C<Block count> values.  These two numbers, "
13414 "multiplied together, give the resulting size of the minimal filesystem in "
13415 "bytes."
13416 msgstr ""
13417
13418 #. type: =head2
13419 #: ../fish/guestfish-actions.pod:3984
13420 msgid "resize2fs-size"
13421 msgstr "resize2fs-size"
13422
13423 #. type: verbatim
13424 #: ../fish/guestfish-actions.pod:3986
13425 #, no-wrap
13426 msgid ""
13427 " resize2fs-size device size\n"
13428 "\n"
13429 msgstr ""
13430
13431 #. type: textblock
13432 #: ../fish/guestfish-actions.pod:3988
13433 msgid ""
13434 "This command is the same as L</resize2fs> except that it allows you to "
13435 "specify the new size (in bytes) explicitly."
13436 msgstr ""
13437
13438 #. type: =head2
13439 #: ../fish/guestfish-actions.pod:3991
13440 msgid "rm"
13441 msgstr "rm"
13442
13443 #. type: verbatim
13444 #: ../fish/guestfish-actions.pod:3993
13445 #, no-wrap
13446 msgid ""
13447 " rm path\n"
13448 "\n"
13449 msgstr ""
13450 " rm шлях\n"
13451 "\n"
13452
13453 #. type: textblock
13454 #: ../fish/guestfish-actions.pod:3995 ../src/guestfs-actions.pod:6055
13455 msgid "Remove the single file C<path>."
13456 msgstr ""
13457
13458 #. type: =head2
13459 #: ../fish/guestfish-actions.pod:3997
13460 msgid "rm-rf"
13461 msgstr "rm-rf"
13462
13463 #. type: verbatim
13464 #: ../fish/guestfish-actions.pod:3999
13465 #, no-wrap
13466 msgid ""
13467 " rm-rf path\n"
13468 "\n"
13469 msgstr ""
13470 " rm-rf шлях\n"
13471 "\n"
13472
13473 #. type: textblock
13474 #: ../fish/guestfish-actions.pod:4001 ../src/guestfs-actions.pod:6067
13475 msgid ""
13476 "Remove the file or directory C<path>, recursively removing the contents if "
13477 "its a directory.  This is like the C<rm -rf> shell command."
13478 msgstr ""
13479
13480 #. type: =head2
13481 #: ../fish/guestfish-actions.pod:4005
13482 msgid "rmdir"
13483 msgstr "rmdir"
13484
13485 #. type: verbatim
13486 #: ../fish/guestfish-actions.pod:4007
13487 #, no-wrap
13488 msgid ""
13489 " rmdir path\n"
13490 "\n"
13491 msgstr ""
13492 " rmdir шлях\n"
13493 "\n"
13494
13495 #. type: textblock
13496 #: ../fish/guestfish-actions.pod:4009 ../src/guestfs-actions.pod:6081
13497 msgid "Remove the single directory C<path>."
13498 msgstr ""
13499
13500 #. type: =head2
13501 #: ../fish/guestfish-actions.pod:4011
13502 msgid "rmmountpoint"
13503 msgstr "rmmountpoint"
13504
13505 #. type: verbatim
13506 #: ../fish/guestfish-actions.pod:4013
13507 #, no-wrap
13508 msgid ""
13509 " rmmountpoint exemptpath\n"
13510 "\n"
13511 msgstr ""
13512
13513 #. type: textblock
13514 #: ../fish/guestfish-actions.pod:4015
13515 msgid ""
13516 "This calls removes a mountpoint that was previously created with L</"
13517 "mkmountpoint>.  See L</mkmountpoint> for full details."
13518 msgstr ""
13519
13520 #. type: =head2
13521 #: ../fish/guestfish-actions.pod:4019
13522 msgid "scrub-device"
13523 msgstr "scrub-device"
13524
13525 #. type: verbatim
13526 #: ../fish/guestfish-actions.pod:4021
13527 #, no-wrap
13528 msgid ""
13529 " scrub-device device\n"
13530 "\n"
13531 msgstr ""
13532 " scrub-device пристрій\n"
13533 "\n"
13534
13535 #. type: textblock
13536 #: ../fish/guestfish-actions.pod:4023 ../src/guestfs-actions.pod:6107
13537 msgid ""
13538 "This command writes patterns over C<device> to make data retrieval more "
13539 "difficult."
13540 msgstr ""
13541
13542 #. type: textblock
13543 #: ../fish/guestfish-actions.pod:4026 ../fish/guestfish-actions.pod:4041
13544 #: ../fish/guestfish-actions.pod:4054 ../src/guestfs-actions.pod:6110
13545 #: ../src/guestfs-actions.pod:6131 ../src/guestfs-actions.pod:6150
13546 msgid ""
13547 "It is an interface to the L<scrub(1)> program.  See that manual page for "
13548 "more details."
13549 msgstr ""
13550
13551 #. type: =head2
13552 #: ../fish/guestfish-actions.pod:4032
13553 msgid "scrub-file"
13554 msgstr "scrub-file"
13555
13556 #. type: verbatim
13557 #: ../fish/guestfish-actions.pod:4034
13558 #, no-wrap
13559 msgid ""
13560 " scrub-file file\n"
13561 "\n"
13562 msgstr ""
13563 " scrub-file файл\n"
13564 "\n"
13565
13566 #. type: textblock
13567 #: ../fish/guestfish-actions.pod:4036 ../src/guestfs-actions.pod:6126
13568 msgid ""
13569 "This command writes patterns over a file to make data retrieval more "
13570 "difficult."
13571 msgstr ""
13572
13573 #. type: textblock
13574 #: ../fish/guestfish-actions.pod:4039 ../src/guestfs-actions.pod:6129
13575 msgid "The file is I<removed> after scrubbing."
13576 msgstr ""
13577
13578 #. type: =head2
13579 #: ../fish/guestfish-actions.pod:4044
13580 msgid "scrub-freespace"
13581 msgstr "scrub-freespace"
13582
13583 #. type: verbatim
13584 #: ../fish/guestfish-actions.pod:4046
13585 #, no-wrap
13586 msgid ""
13587 " scrub-freespace dir\n"
13588 "\n"
13589 msgstr ""
13590 " scrub-freespace каталог\n"
13591 "\n"
13592
13593 #. type: textblock
13594 #: ../fish/guestfish-actions.pod:4048
13595 msgid ""
13596 "This command creates the directory C<dir> and then fills it with files until "
13597 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
13598 "deletes them.  The intention is to scrub any free space on the partition "
13599 "containing C<dir>."
13600 msgstr ""
13601
13602 #. type: =head2
13603 #: ../fish/guestfish-actions.pod:4057
13604 msgid "set-append"
13605 msgstr "set-append"
13606
13607 #. type: =head2
13608 #: ../fish/guestfish-actions.pod:4059
13609 msgid "append"
13610 msgstr ""
13611
13612 #. type: verbatim
13613 #: ../fish/guestfish-actions.pod:4061
13614 #, no-wrap
13615 msgid ""
13616 " set-append append\n"
13617 "\n"
13618 msgstr ""
13619
13620 #. type: textblock
13621 #: ../fish/guestfish-actions.pod:4063 ../src/guestfs-actions.pod:6163
13622 msgid ""
13623 "This function is used to add additional options to the guest kernel command "
13624 "line."
13625 msgstr ""
13626
13627 #. type: textblock
13628 #: ../fish/guestfish-actions.pod:4066 ../src/guestfs-actions.pod:6166
13629 msgid ""
13630 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
13631 "environment variable."
13632 msgstr ""
13633
13634 #. type: textblock
13635 #: ../fish/guestfish-actions.pod:4069 ../src/guestfs-actions.pod:6169
13636 msgid ""
13637 "Setting C<append> to C<NULL> means I<no> additional options are passed "
13638 "(libguestfs always adds a few of its own)."
13639 msgstr ""
13640
13641 #. type: =head2
13642 #: ../fish/guestfish-actions.pod:4072
13643 msgid "set-attach-method"
13644 msgstr "set-attach-method"
13645
13646 #. type: =head2
13647 #: ../fish/guestfish-actions.pod:4074
13648 msgid "attach-method"
13649 msgstr ""
13650
13651 #. type: verbatim
13652 #: ../fish/guestfish-actions.pod:4076
13653 #, no-wrap
13654 msgid ""
13655 " set-attach-method attachmethod\n"
13656 "\n"
13657 msgstr ""
13658
13659 #. type: textblock
13660 #: ../fish/guestfish-actions.pod:4078 ../src/guestfs-actions.pod:6182
13661 msgid ""
13662 "Set the method that libguestfs uses to connect to the back end guestfsd "
13663 "daemon.  Possible methods are:"
13664 msgstr ""
13665
13666 #. type: =item
13667 #: ../fish/guestfish-actions.pod:4083 ../src/guestfs-actions.pod:6187
13668 #: ../src/guestfs.pod:2796
13669 msgid "C<appliance>"
13670 msgstr "C<appliance>"
13671
13672 #. type: textblock
13673 #: ../fish/guestfish-actions.pod:4085 ../src/guestfs-actions.pod:6189
13674 msgid ""
13675 "Launch an appliance and connect to it.  This is the ordinary method and the "
13676 "default."
13677 msgstr ""
13678
13679 #. type: =item
13680 #: ../fish/guestfish-actions.pod:4088 ../src/guestfs-actions.pod:6192
13681 msgid "C<unix:I<path>>"
13682 msgstr "C<unix:I<шлях>>"
13683
13684 #. type: textblock
13685 #: ../fish/guestfish-actions.pod:4090 ../src/guestfs-actions.pod:6194
13686 msgid "Connect to the Unix domain socket I<path>."
13687 msgstr "Встановити з’єднання з сокетом домену Unix I<шлях>."
13688
13689 #. type: textblock
13690 #: ../fish/guestfish-actions.pod:4092 ../src/guestfs-actions.pod:6196
13691 msgid ""
13692 "This method lets you connect to an existing daemon or (using virtio-serial) "
13693 "to a live guest.  For more information, see L<guestfs(3)/ATTACHING TO "
13694 "RUNNING DAEMONS>."
13695 msgstr ""
13696
13697 #. type: =head2
13698 #: ../fish/guestfish-actions.pod:4098
13699 msgid "set-autosync"
13700 msgstr "set-autosync"
13701
13702 #. type: =head2
13703 #: ../fish/guestfish-actions.pod:4100
13704 msgid "autosync"
13705 msgstr "autosync"
13706
13707 #. type: verbatim
13708 #: ../fish/guestfish-actions.pod:4102
13709 #, no-wrap
13710 msgid ""
13711 " set-autosync true|false\n"
13712 "\n"
13713 msgstr ""
13714 " set-autosync true|false\n"
13715 "\n"
13716
13717 #. type: textblock
13718 #: ../fish/guestfish-actions.pod:4104 ../src/guestfs-actions.pod:6212
13719 msgid ""
13720 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
13721 "effort attempt to make filesystems consistent and synchronized when the "
13722 "handle is closed (also if the program exits without closing handles)."
13723 msgstr ""
13724
13725 #. type: textblock
13726 #: ../fish/guestfish-actions.pod:4109 ../src/guestfs-actions.pod:6217
13727 msgid ""
13728 "This is enabled by default (since libguestfs 1.5.24, previously it was "
13729 "disabled by default)."
13730 msgstr ""
13731
13732 #. type: =head2
13733 #: ../fish/guestfish-actions.pod:4112
13734 msgid "set-direct"
13735 msgstr "set-direct"
13736
13737 #. type: =head2
13738 #: ../fish/guestfish-actions.pod:4114
13739 msgid "direct"
13740 msgstr "direct"
13741
13742 #. type: verbatim
13743 #: ../fish/guestfish-actions.pod:4116
13744 #, no-wrap
13745 msgid ""
13746 " set-direct true|false\n"
13747 "\n"
13748 msgstr ""
13749 " set-direct true|false\n"
13750 "\n"
13751
13752 #. type: textblock
13753 #: ../fish/guestfish-actions.pod:4118 ../src/guestfs-actions.pod:6230
13754 msgid ""
13755 "If the direct appliance mode flag is enabled, then stdin and stdout are "
13756 "passed directly through to the appliance once it is launched."
13757 msgstr ""
13758
13759 #. type: textblock
13760 #: ../fish/guestfish-actions.pod:4122
13761 msgid ""
13762 "One consequence of this is that log messages aren't caught by the library "
13763 "and handled by L</set-log-message-callback>, but go straight to stdout."
13764 msgstr ""
13765
13766 #. type: textblock
13767 #: ../fish/guestfish-actions.pod:4126 ../src/guestfs-actions.pod:6238
13768 msgid "You probably don't want to use this unless you know what you are doing."
13769 msgstr ""
13770
13771 #. type: textblock
13772 #: ../fish/guestfish-actions.pod:4129 ../src/guestfs-actions.pod:6241
13773 msgid "The default is disabled."
13774 msgstr ""
13775
13776 #. type: =head2
13777 #: ../fish/guestfish-actions.pod:4131
13778 msgid "set-e2label"
13779 msgstr "set-e2label"
13780
13781 #. type: verbatim
13782 #: ../fish/guestfish-actions.pod:4133
13783 #, no-wrap
13784 msgid ""
13785 " set-e2label device label\n"
13786 "\n"
13787 msgstr ""
13788
13789 #. type: textblock
13790 #: ../fish/guestfish-actions.pod:4135 ../src/guestfs-actions.pod:6254
13791 msgid ""
13792 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
13793 "C<label>.  Filesystem labels are limited to 16 characters."
13794 msgstr ""
13795
13796 #. type: textblock
13797 #: ../fish/guestfish-actions.pod:4139
13798 msgid ""
13799 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
13800 "label on a filesystem."
13801 msgstr ""
13802
13803 #. type: =head2
13804 #: ../fish/guestfish-actions.pod:4142
13805 msgid "set-e2uuid"
13806 msgstr "set-e2uuid"
13807
13808 #. type: verbatim
13809 #: ../fish/guestfish-actions.pod:4144
13810 #, no-wrap
13811 msgid ""
13812 " set-e2uuid device uuid\n"
13813 "\n"
13814 msgstr ""
13815
13816 #. type: textblock
13817 #: ../fish/guestfish-actions.pod:4146 ../src/guestfs-actions.pod:6272
13818 msgid ""
13819 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
13820 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
13821 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
13822 msgstr ""
13823
13824 #. type: textblock
13825 #: ../fish/guestfish-actions.pod:4151
13826 msgid ""
13827 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
13828 "UUID of a filesystem."
13829 msgstr ""
13830
13831 #. type: =head2
13832 #: ../fish/guestfish-actions.pod:4154
13833 msgid "set-memsize"
13834 msgstr "set-memsize"
13835
13836 #. type: =head2
13837 #: ../fish/guestfish-actions.pod:4156
13838 msgid "memsize"
13839 msgstr ""
13840
13841 #. type: verbatim
13842 #: ../fish/guestfish-actions.pod:4158
13843 #, no-wrap
13844 msgid ""
13845 " set-memsize memsize\n"
13846 "\n"
13847 msgstr ""
13848
13849 #. type: textblock
13850 #: ../fish/guestfish-actions.pod:4160
13851 msgid ""
13852 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
13853 "This only has any effect if called before L</launch>."
13854 msgstr ""
13855
13856 #. type: textblock
13857 #: ../fish/guestfish-actions.pod:4164 ../src/guestfs-actions.pod:6294
13858 msgid ""
13859 "You can also change this by setting the environment variable "
13860 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
13861 msgstr ""
13862
13863 #. type: =head2
13864 #: ../fish/guestfish-actions.pod:4171
13865 msgid "set-network"
13866 msgstr "set-network"
13867
13868 #. type: =head2
13869 #: ../fish/guestfish-actions.pod:4173
13870 msgid "network"
13871 msgstr "network"
13872
13873 #. type: verbatim
13874 #: ../fish/guestfish-actions.pod:4175
13875 #, no-wrap
13876 msgid ""
13877 " set-network true|false\n"
13878 "\n"
13879 msgstr ""
13880 " set-network true|false\n"
13881 "\n"
13882
13883 #. type: textblock
13884 #: ../fish/guestfish-actions.pod:4177 ../src/guestfs-actions.pod:6311
13885 msgid ""
13886 "If C<network> is true, then the network is enabled in the libguestfs "
13887 "appliance.  The default is false."
13888 msgstr ""
13889
13890 #. type: textblock
13891 #: ../fish/guestfish-actions.pod:4180 ../src/guestfs-actions.pod:6314
13892 msgid ""
13893 "This affects whether commands are able to access the network (see L<guestfs"
13894 "(3)/RUNNING COMMANDS>)."
13895 msgstr ""
13896
13897 #. type: textblock
13898 #: ../fish/guestfish-actions.pod:4183
13899 msgid ""
13900 "You must call this before calling L</launch>, otherwise it has no effect."
13901 msgstr ""
13902
13903 #. type: =head2
13904 #: ../fish/guestfish-actions.pod:4186
13905 msgid "set-path"
13906 msgstr "set-path"
13907
13908 #. type: verbatim
13909 #: ../fish/guestfish-actions.pod:4190
13910 #, no-wrap
13911 msgid ""
13912 " set-path searchpath\n"
13913 "\n"
13914 msgstr ""
13915
13916 #. type: textblock
13917 #: ../fish/guestfish-actions.pod:4192 ../src/guestfs-actions.pod:6330
13918 msgid "Set the path that libguestfs searches for kernel and initrd.img."
13919 msgstr ""
13920
13921 #. type: textblock
13922 #: ../fish/guestfish-actions.pod:4194 ../src/guestfs-actions.pod:6332
13923 msgid ""
13924 "The default is C<$libdir/guestfs> unless overridden by setting "
13925 "C<LIBGUESTFS_PATH> environment variable."
13926 msgstr ""
13927
13928 #. type: textblock
13929 #: ../fish/guestfish-actions.pod:4197 ../src/guestfs-actions.pod:6335
13930 msgid "Setting C<path> to C<NULL> restores the default path."
13931 msgstr ""
13932
13933 #. type: =head2
13934 #: ../fish/guestfish-actions.pod:4199
13935 msgid "set-pgroup"
13936 msgstr ""
13937
13938 #. type: =head2
13939 #: ../fish/guestfish-actions.pod:4201
13940 msgid "pgroup"
13941 msgstr ""
13942
13943 #. type: verbatim
13944 #: ../fish/guestfish-actions.pod:4203
13945 #, no-wrap
13946 msgid ""
13947 " set-pgroup true|false\n"
13948 "\n"
13949 msgstr ""
13950
13951 #. type: textblock
13952 #: ../fish/guestfish-actions.pod:4205 ../src/guestfs-actions.pod:6347
13953 msgid ""
13954 "If C<pgroup> is true, child processes are placed into their own process "
13955 "group."
13956 msgstr ""
13957
13958 #. type: textblock
13959 #: ../fish/guestfish-actions.pod:4208 ../src/guestfs-actions.pod:6350
13960 msgid ""
13961 "The practical upshot of this is that signals like C<SIGINT> (from users "
13962 "pressing C<^C>) won't be received by the child process."
13963 msgstr ""
13964
13965 #. type: textblock
13966 #: ../fish/guestfish-actions.pod:4211 ../src/guestfs-actions.pod:6353
13967 msgid ""
13968 "The default for this flag is false, because usually you want C<^C> to kill "
13969 "the subprocess."
13970 msgstr ""
13971
13972 #. type: =head2
13973 #: ../fish/guestfish-actions.pod:4214
13974 msgid "set-qemu"
13975 msgstr "set-qemu"
13976
13977 #. type: =head2
13978 #: ../fish/guestfish-actions.pod:4216
13979 msgid "qemu"
13980 msgstr "qemu"
13981
13982 #. type: verbatim
13983 #: ../fish/guestfish-actions.pod:4218
13984 #, no-wrap
13985 msgid ""
13986 " set-qemu qemu\n"
13987 "\n"
13988 msgstr ""
13989 " set-qemu qemu\n"
13990 "\n"
13991
13992 #. type: textblock
13993 #: ../fish/guestfish-actions.pod:4220 ../src/guestfs-actions.pod:6366
13994 msgid "Set the qemu binary that we will use."
13995 msgstr ""
13996
13997 #. type: textblock
13998 #: ../fish/guestfish-actions.pod:4222 ../src/guestfs-actions.pod:6368
13999 msgid ""
14000 "The default is chosen when the library was compiled by the configure script."
14001 msgstr ""
14002
14003 #. type: textblock
14004 #: ../fish/guestfish-actions.pod:4225 ../src/guestfs-actions.pod:6371
14005 msgid ""
14006 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
14007 "variable."
14008 msgstr ""
14009
14010 #. type: textblock
14011 #: ../fish/guestfish-actions.pod:4228 ../src/guestfs-actions.pod:6374
14012 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
14013 msgstr ""
14014
14015 #. type: textblock
14016 #: ../fish/guestfish-actions.pod:4230 ../src/guestfs-actions.pod:6376
14017 msgid ""
14018 "Note that you should call this function as early as possible after creating "
14019 "the handle.  This is because some pre-launch operations depend on testing "
14020 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
14021 "don't retest features, and so you might see inconsistent results.  Using the "
14022 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
14023 "the qemu binary at the same time as the handle is created."
14024 msgstr ""
14025
14026 #. type: =head2
14027 #: ../fish/guestfish-actions.pod:4238
14028 msgid "set-recovery-proc"
14029 msgstr "set-recovery-proc"
14030
14031 #. type: =head2
14032 #: ../fish/guestfish-actions.pod:4240
14033 msgid "recovery-proc"
14034 msgstr "recovery-proc"
14035
14036 #. type: verbatim
14037 #: ../fish/guestfish-actions.pod:4242
14038 #, no-wrap
14039 msgid ""
14040 " set-recovery-proc true|false\n"
14041 "\n"
14042 msgstr ""
14043 " set-recovery-proc true|false\n"
14044 "\n"
14045
14046 #. type: textblock
14047 #: ../fish/guestfish-actions.pod:4244
14048 msgid ""
14049 "If this is called with the parameter C<false> then L</launch> does not "
14050 "create a recovery process.  The purpose of the recovery process is to stop "
14051 "runaway qemu processes in the case where the main program aborts abruptly."
14052 msgstr ""
14053
14054 #. type: textblock
14055 #: ../fish/guestfish-actions.pod:4249
14056 msgid ""
14057 "This only has any effect if called before L</launch>, and the default is "
14058 "true."
14059 msgstr ""
14060
14061 #. type: textblock
14062 #: ../fish/guestfish-actions.pod:4252 ../src/guestfs-actions.pod:6402
14063 msgid ""
14064 "About the only time when you would want to disable this is if the main "
14065 "process will fork itself into the background (\"daemonize\" itself).  In "
14066 "this case the recovery process thinks that the main program has disappeared "
14067 "and so kills qemu, which is not very helpful."
14068 msgstr ""
14069
14070 #. type: =head2
14071 #: ../fish/guestfish-actions.pod:4258
14072 msgid "set-selinux"
14073 msgstr "set-selinux"
14074
14075 #. type: =head2
14076 #: ../fish/guestfish-actions.pod:4260
14077 msgid "selinux"
14078 msgstr "selinux"
14079
14080 #. type: verbatim
14081 #: ../fish/guestfish-actions.pod:4262
14082 #, no-wrap
14083 msgid ""
14084 " set-selinux true|false\n"
14085 "\n"
14086 msgstr ""
14087 " set-selinux true|false\n"
14088 "\n"
14089
14090 #. type: textblock
14091 #: ../fish/guestfish-actions.pod:4264 ../src/guestfs-actions.pod:6418
14092 msgid ""
14093 "This sets the selinux flag that is passed to the appliance at boot time.  "
14094 "The default is C<selinux=0> (disabled)."
14095 msgstr ""
14096
14097 #. type: textblock
14098 #: ../fish/guestfish-actions.pod:4267 ../src/guestfs-actions.pod:6421
14099 msgid ""
14100 "Note that if SELinux is enabled, it is always in Permissive mode "
14101 "(C<enforcing=0>)."
14102 msgstr ""
14103
14104 #. type: =head2
14105 #: ../fish/guestfish-actions.pod:4273
14106 msgid "set-trace"
14107 msgstr "set-trace"
14108
14109 #. type: =head2
14110 #: ../fish/guestfish-actions.pod:4275
14111 msgid "trace"
14112 msgstr "trace"
14113
14114 #. type: verbatim
14115 #: ../fish/guestfish-actions.pod:4277
14116 #, no-wrap
14117 msgid ""
14118 " set-trace true|false\n"
14119 "\n"
14120 msgstr ""
14121 " set-trace true|false\n"
14122 "\n"
14123
14124 #. type: textblock
14125 #: ../fish/guestfish-actions.pod:4279 ../src/guestfs-actions.pod:6437
14126 msgid ""
14127 "If the command trace flag is set to 1, then libguestfs calls, parameters and "
14128 "return values are traced."
14129 msgstr ""
14130
14131 #. type: textblock
14132 #: ../fish/guestfish-actions.pod:4282 ../src/guestfs-actions.pod:6440
14133 msgid ""
14134 "If you want to trace C API calls into libguestfs (and other libraries) then "
14135 "possibly a better way is to use the external ltrace(1) command."
14136 msgstr ""
14137
14138 #. type: textblock
14139 #: ../fish/guestfish-actions.pod:4286 ../src/guestfs-actions.pod:6444
14140 msgid ""
14141 "Command traces are disabled unless the environment variable "
14142 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
14143 msgstr ""
14144
14145 #. type: textblock
14146 #: ../fish/guestfish-actions.pod:4289
14147 msgid ""
14148 "Trace messages are normally sent to C<stderr>, unless you register a "
14149 "callback to send them somewhere else (see L</set-event-callback>)."
14150 msgstr ""
14151
14152 #. type: =head2
14153 #: ../fish/guestfish-actions.pod:4293
14154 msgid "set-verbose"
14155 msgstr "set-verbose"
14156
14157 #. type: =head2
14158 #: ../fish/guestfish-actions.pod:4295
14159 msgid "verbose"
14160 msgstr ""
14161
14162 #. type: verbatim
14163 #: ../fish/guestfish-actions.pod:4297
14164 #, no-wrap
14165 msgid ""
14166 " set-verbose true|false\n"
14167 "\n"
14168 msgstr ""
14169 " set-verbose true|false\n"
14170 "\n"
14171
14172 #. type: textblock
14173 #: ../fish/guestfish-actions.pod:4299 ../src/guestfs-actions.pod:6461
14174 msgid "If C<verbose> is true, this turns on verbose messages."
14175 msgstr ""
14176
14177 #. type: textblock
14178 #: ../fish/guestfish-actions.pod:4301 ../src/guestfs-actions.pod:6463
14179 msgid ""
14180 "Verbose messages are disabled unless the environment variable "
14181 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
14182 msgstr ""
14183
14184 #. type: textblock
14185 #: ../fish/guestfish-actions.pod:4304
14186 msgid ""
14187 "Verbose messages are normally sent to C<stderr>, unless you register a "
14188 "callback to send them somewhere else (see L</set-event-callback>)."
14189 msgstr ""
14190
14191 #. type: =head2
14192 #: ../fish/guestfish-actions.pod:4308
14193 msgid "setcon"
14194 msgstr "setcon"
14195
14196 #. type: verbatim
14197 #: ../fish/guestfish-actions.pod:4310
14198 #, no-wrap
14199 msgid ""
14200 " setcon context\n"
14201 "\n"
14202 msgstr ""
14203 " setcon контекст\n"
14204 "\n"
14205
14206 #. type: textblock
14207 #: ../fish/guestfish-actions.pod:4312 ../src/guestfs-actions.pod:6480
14208 msgid ""
14209 "This sets the SELinux security context of the daemon to the string "
14210 "C<context>."
14211 msgstr ""
14212
14213 #. type: textblock
14214 #: ../fish/guestfish-actions.pod:4315 ../src/guestfs-actions.pod:6483
14215 msgid "See the documentation about SELINUX in L<guestfs(3)>."
14216 msgstr ""
14217
14218 #. type: =head2
14219 #: ../fish/guestfish-actions.pod:4317
14220 msgid "setxattr"
14221 msgstr "setxattr"
14222
14223 #. type: verbatim
14224 #: ../fish/guestfish-actions.pod:4319
14225 #, no-wrap
14226 msgid ""
14227 " setxattr xattr val vallen path\n"
14228 "\n"
14229 msgstr ""
14230
14231 #. type: textblock
14232 #: ../fish/guestfish-actions.pod:4321 ../src/guestfs-actions.pod:6498
14233 msgid ""
14234 "This call sets the extended attribute named C<xattr> of the file C<path> to "
14235 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
14236 msgstr ""
14237
14238 #. type: textblock
14239 #: ../fish/guestfish-actions.pod:4325
14240 msgid "See also: L</lsetxattr>, L<attr(5)>."
14241 msgstr "Див. також L</lsetxattr>, L<attr(5)>."
14242
14243 #. type: =head2
14244 #: ../fish/guestfish-actions.pod:4327
14245 msgid "sfdisk"
14246 msgstr "sfdisk"
14247
14248 #. type: verbatim
14249 #: ../fish/guestfish-actions.pod:4329
14250 #, no-wrap
14251 msgid ""
14252 " sfdisk device cyls heads sectors 'lines ...'\n"
14253 "\n"
14254 msgstr ""
14255
14256 #. type: textblock
14257 #: ../fish/guestfish-actions.pod:4331 ../src/guestfs-actions.pod:6525
14258 msgid ""
14259 "This is a direct interface to the L<sfdisk(8)> program for creating "
14260 "partitions on block devices."
14261 msgstr ""
14262
14263 #. type: textblock
14264 #: ../fish/guestfish-actions.pod:4334 ../src/guestfs-actions.pod:6528
14265 msgid "C<device> should be a block device, for example C</dev/sda>."
14266 msgstr ""
14267
14268 #. type: textblock
14269 #: ../fish/guestfish-actions.pod:4336 ../src/guestfs-actions.pod:6530
14270 msgid ""
14271 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
14272 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
14273 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
14274 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
14275 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
14276 "the kernel) cannot work out the right geometry and you will need to tell it."
14277 msgstr ""
14278
14279 #. type: textblock
14280 #: ../fish/guestfish-actions.pod:4344 ../src/guestfs-actions.pod:6538
14281 msgid ""
14282 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
14283 "refer to the L<sfdisk(8)> manpage."
14284 msgstr ""
14285
14286 #. type: textblock
14287 #: ../fish/guestfish-actions.pod:4347 ../src/guestfs-actions.pod:6541
14288 msgid ""
14289 "To create a single partition occupying the whole disk, you would pass "
14290 "C<lines> as a single element list, when the single element being the string "
14291 "C<,> (comma)."
14292 msgstr ""
14293
14294 #. type: textblock
14295 #: ../fish/guestfish-actions.pod:4351
14296 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
14297 msgstr "Див. також L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
14298
14299 #. type: textblock
14300 #: ../fish/guestfish-actions.pod:4357 ../fish/guestfish-actions.pod:4380
14301 #: ../fish/guestfish-actions.pod:4402
14302 msgid ""
14303 "I<This function is deprecated.> In new code, use the L</part_add> call "
14304 "instead."
14305 msgstr ""
14306
14307 #. type: =head2
14308 #: ../fish/guestfish-actions.pod:4364
14309 msgid "sfdiskM"
14310 msgstr "sfdiskM"
14311
14312 #. type: verbatim
14313 #: ../fish/guestfish-actions.pod:4366
14314 #, no-wrap
14315 msgid ""
14316 " sfdiskM device 'lines ...'\n"
14317 "\n"
14318 msgstr ""
14319
14320 #. type: textblock
14321 #: ../fish/guestfish-actions.pod:4368
14322 msgid ""
14323 "This is a simplified interface to the L</sfdisk> command, where partition "
14324 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
14325 "you don't need to specify the cyls, heads and sectors parameters which were "
14326 "rarely if ever used anyway."
14327 msgstr ""
14328
14329 #. type: textblock
14330 #: ../fish/guestfish-actions.pod:4374
14331 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
14332 msgstr ""
14333 "Див також L</sfdisk>, сторінку довідки (man) L<sfdisk(8)> та L</part-disk>"
14334
14335 #. type: =head2
14336 #: ../fish/guestfish-actions.pod:4387
14337 msgid "sfdisk-N"
14338 msgstr "sfdisk-N"
14339
14340 #. type: verbatim
14341 #: ../fish/guestfish-actions.pod:4389
14342 #, no-wrap
14343 msgid ""
14344 " sfdisk-N device partnum cyls heads sectors line\n"
14345 "\n"
14346 msgstr ""
14347
14348 #. type: textblock
14349 #: ../fish/guestfish-actions.pod:4391 ../src/guestfs-actions.pod:6603
14350 msgid ""
14351 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
14352 "(note: C<n> counts from 1)."
14353 msgstr ""
14354
14355 #. type: textblock
14356 #: ../fish/guestfish-actions.pod:4394
14357 msgid ""
14358 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
14359 "cyls/heads/sectors parameters."
14360 msgstr ""
14361
14362 #. type: textblock
14363 #: ../fish/guestfish-actions.pod:4397
14364 msgid "See also: L</part-add>"
14365 msgstr "Див. також L</part-add>"
14366
14367 #. type: =head2
14368 #: ../fish/guestfish-actions.pod:4409
14369 msgid "sfdisk-disk-geometry"
14370 msgstr "sfdisk-disk-geometry"
14371
14372 #. type: verbatim
14373 #: ../fish/guestfish-actions.pod:4411
14374 #, no-wrap
14375 msgid ""
14376 " sfdisk-disk-geometry device\n"
14377 "\n"
14378 msgstr ""
14379 " sfdisk-disk-geometry пристрій\n"
14380 "\n"
14381
14382 #. type: textblock
14383 #: ../fish/guestfish-actions.pod:4413
14384 msgid ""
14385 "This displays the disk geometry of C<device> read from the partition table.  "
14386 "Especially in the case where the underlying block device has been resized, "
14387 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
14388 "kernel-geometry>)."
14389 msgstr ""
14390
14391 #. type: textblock
14392 #: ../fish/guestfish-actions.pod:4418 ../fish/guestfish-actions.pod:4427
14393 #: ../src/guestfs-actions.pod:6629 ../src/guestfs-actions.pod:6645
14394 msgid "The result is in human-readable format, and not designed to be parsed."
14395 msgstr ""
14396
14397 #. type: =head2
14398 #: ../fish/guestfish-actions.pod:4421
14399 msgid "sfdisk-kernel-geometry"
14400 msgstr "sfdisk-kernel-geometry"
14401
14402 #. type: verbatim
14403 #: ../fish/guestfish-actions.pod:4423
14404 #, no-wrap
14405 msgid ""
14406 " sfdisk-kernel-geometry device\n"
14407 "\n"
14408 msgstr ""
14409 " sfdisk-kernel-geometry пристрій\n"
14410 "\n"
14411
14412 #. type: textblock
14413 #: ../fish/guestfish-actions.pod:4425 ../src/guestfs-actions.pod:6643
14414 msgid "This displays the kernel's idea of the geometry of C<device>."
14415 msgstr ""
14416
14417 #. type: =head2
14418 #: ../fish/guestfish-actions.pod:4430
14419 msgid "sfdisk-l"
14420 msgstr "sfdisk-l"
14421
14422 #. type: verbatim
14423 #: ../fish/guestfish-actions.pod:4432
14424 #, no-wrap
14425 msgid ""
14426 " sfdisk-l device\n"
14427 "\n"
14428 msgstr ""
14429 " sfdisk-l пристрій\n"
14430 "\n"
14431
14432 #. type: textblock
14433 #: ../fish/guestfish-actions.pod:4434 ../src/guestfs-actions.pod:6666
14434 msgid ""
14435 "This displays the partition table on C<device>, in the human-readable output "
14436 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
14437 msgstr ""
14438
14439 #. type: textblock
14440 #: ../fish/guestfish-actions.pod:4438
14441 msgid "See also: L</part-list>"
14442 msgstr "Див. також L</part-list>"
14443
14444 #. type: textblock
14445 #: ../fish/guestfish-actions.pod:4440
14446 msgid ""
14447 "I<This function is deprecated.> In new code, use the L</part_list> call "
14448 "instead."
14449 msgstr ""
14450
14451 #. type: =head2
14452 #: ../fish/guestfish-actions.pod:4447
14453 msgid "sh"
14454 msgstr "sh"
14455
14456 #. type: verbatim
14457 #: ../fish/guestfish-actions.pod:4449
14458 #, no-wrap
14459 msgid ""
14460 " sh command\n"
14461 "\n"
14462 msgstr ""
14463 " sh команда\n"
14464 "\n"
14465
14466 #. type: textblock
14467 #: ../fish/guestfish-actions.pod:4451 ../src/guestfs-actions.pod:6683
14468 msgid ""
14469 "This call runs a command from the guest filesystem via the guest's C</bin/"
14470 "sh>."
14471 msgstr ""
14472
14473 #. type: textblock
14474 #: ../fish/guestfish-actions.pod:4454
14475 msgid "This is like L</command>, but passes the command to:"
14476 msgstr ""
14477
14478 #. type: verbatim
14479 #: ../fish/guestfish-actions.pod:4456 ../src/guestfs-actions.pod:6688
14480 #, no-wrap
14481 msgid ""
14482 " /bin/sh -c \"command\"\n"
14483 "\n"
14484 msgstr ""
14485
14486 #. type: textblock
14487 #: ../fish/guestfish-actions.pod:4458 ../src/guestfs-actions.pod:6690
14488 msgid ""
14489 "Depending on the guest's shell, this usually results in wildcards being "
14490 "expanded, shell expressions being interpolated and so on."
14491 msgstr ""
14492
14493 #. type: textblock
14494 #: ../fish/guestfish-actions.pod:4462
14495 msgid "All the provisos about L</command> apply to this call."
14496 msgstr ""
14497
14498 #. type: =head2
14499 #: ../fish/guestfish-actions.pod:4464
14500 msgid "sh-lines"
14501 msgstr "sh-lines"
14502
14503 #. type: verbatim
14504 #: ../fish/guestfish-actions.pod:4466
14505 #, no-wrap
14506 msgid ""
14507 " sh-lines command\n"
14508 "\n"
14509 msgstr ""
14510 " sh-lines команда\n"
14511 "\n"
14512
14513 #. type: textblock
14514 #: ../fish/guestfish-actions.pod:4468
14515 msgid "This is the same as L</sh>, but splits the result into a list of lines."
14516 msgstr ""
14517
14518 #. type: textblock
14519 #: ../fish/guestfish-actions.pod:4471
14520 msgid "See also: L</command-lines>"
14521 msgstr "Див. також L</command-lines>"
14522
14523 #. type: =head2
14524 #: ../fish/guestfish-actions.pod:4473
14525 msgid "sleep"
14526 msgstr "sleep"
14527
14528 #. type: verbatim
14529 #: ../fish/guestfish-actions.pod:4475
14530 #, no-wrap
14531 msgid ""
14532 " sleep secs\n"
14533 "\n"
14534 msgstr ""
14535 " sleep час_у_секундах\n"
14536 "\n"
14537
14538 #. type: textblock
14539 #: ../fish/guestfish-actions.pod:4477 ../src/guestfs-actions.pod:6724
14540 msgid "Sleep for C<secs> seconds."
14541 msgstr ""
14542
14543 #. type: =head2
14544 #: ../fish/guestfish-actions.pod:4479
14545 msgid "stat"
14546 msgstr "stat"
14547
14548 #. type: verbatim
14549 #: ../fish/guestfish-actions.pod:4481
14550 #, no-wrap
14551 msgid ""
14552 " stat path\n"
14553 "\n"
14554 msgstr ""
14555 " stat шлях\n"
14556 "\n"
14557
14558 #. type: textblock
14559 #: ../fish/guestfish-actions.pod:4485 ../src/guestfs-actions.pod:6738
14560 msgid "This is the same as the C<stat(2)> system call."
14561 msgstr ""
14562
14563 #. type: =head2
14564 #: ../fish/guestfish-actions.pod:4487
14565 msgid "statvfs"
14566 msgstr "statvfs"
14567
14568 #. type: verbatim
14569 #: ../fish/guestfish-actions.pod:4489
14570 #, no-wrap
14571 msgid ""
14572 " statvfs path\n"
14573 "\n"
14574 msgstr ""
14575 " statvfs шлях\n"
14576 "\n"
14577
14578 #. type: textblock
14579 #: ../fish/guestfish-actions.pod:4491 ../src/guestfs-actions.pod:6752
14580 msgid ""
14581 "Returns file system statistics for any mounted file system.  C<path> should "
14582 "be a file or directory in the mounted file system (typically it is the mount "
14583 "point itself, but it doesn't need to be)."
14584 msgstr ""
14585
14586 #. type: textblock
14587 #: ../fish/guestfish-actions.pod:4495 ../src/guestfs-actions.pod:6756
14588 msgid "This is the same as the C<statvfs(2)> system call."
14589 msgstr ""
14590
14591 #. type: =head2
14592 #: ../fish/guestfish-actions.pod:4497
14593 msgid "strings"
14594 msgstr "strings"
14595
14596 #. type: verbatim
14597 #: ../fish/guestfish-actions.pod:4499
14598 #, no-wrap
14599 msgid ""
14600 " strings path\n"
14601 "\n"
14602 msgstr ""
14603 " strings шлях\n"
14604 "\n"
14605
14606 #. type: textblock
14607 #: ../fish/guestfish-actions.pod:4501 ../src/guestfs-actions.pod:6770
14608 msgid ""
14609 "This runs the L<strings(1)> command on a file and returns the list of "
14610 "printable strings found."
14611 msgstr ""
14612
14613 #. type: =head2
14614 #: ../fish/guestfish-actions.pod:4507
14615 msgid "strings-e"
14616 msgstr "strings-e"
14617
14618 #. type: verbatim
14619 #: ../fish/guestfish-actions.pod:4509
14620 #, no-wrap
14621 msgid ""
14622 " strings-e encoding path\n"
14623 "\n"
14624 msgstr ""
14625 " strings-e кодування шлях\n"
14626 "\n"
14627
14628 #. type: textblock
14629 #: ../fish/guestfish-actions.pod:4511
14630 msgid ""
14631 "This is like the L</strings> command, but allows you to specify the encoding "
14632 "of strings that are looked for in the source file C<path>."
14633 msgstr ""
14634
14635 #. type: textblock
14636 #: ../fish/guestfish-actions.pod:4515 ../src/guestfs-actions.pod:6793
14637 msgid "Allowed encodings are:"
14638 msgstr "Можливими кодуваннями є:"
14639
14640 #. type: =item
14641 #: ../fish/guestfish-actions.pod:4519 ../src/guestfs-actions.pod:6797
14642 msgid "s"
14643 msgstr "s"
14644
14645 #. type: textblock
14646 #: ../fish/guestfish-actions.pod:4521
14647 msgid ""
14648 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
14649 "ISO-8859-X (this is what L</strings> uses)."
14650 msgstr ""
14651
14652 #. type: =item
14653 #: ../fish/guestfish-actions.pod:4524 ../src/guestfs-actions.pod:6802
14654 msgid "S"
14655 msgstr "S"
14656
14657 #. type: textblock
14658 #: ../fish/guestfish-actions.pod:4526 ../src/guestfs-actions.pod:6804
14659 msgid "Single 8-bit-byte characters."
14660 msgstr "Окремі 8-бітові-байтові символи."
14661
14662 #. type: =item
14663 #: ../fish/guestfish-actions.pod:4528 ../src/guestfs-actions.pod:6806
14664 msgid "b"
14665 msgstr "b"
14666
14667 #. type: textblock
14668 #: ../fish/guestfish-actions.pod:4530 ../src/guestfs-actions.pod:6808
14669 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
14670 msgstr ""
14671
14672 #. type: =item
14673 #: ../fish/guestfish-actions.pod:4533 ../src/guestfs-actions.pod:6811
14674 msgid "l (lower case letter L)"
14675 msgstr ""
14676
14677 #. type: textblock
14678 #: ../fish/guestfish-actions.pod:4535 ../src/guestfs-actions.pod:6813
14679 msgid ""
14680 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
14681 "examining binaries in Windows guests."
14682 msgstr ""
14683
14684 #. type: =item
14685 #: ../fish/guestfish-actions.pod:4538 ../src/guestfs-actions.pod:6816
14686 msgid "B"
14687 msgstr "B"
14688
14689 #. type: textblock
14690 #: ../fish/guestfish-actions.pod:4540 ../src/guestfs-actions.pod:6818
14691 msgid "32-bit big endian such as UCS-4BE."
14692 msgstr ""
14693
14694 #. type: =item
14695 #: ../fish/guestfish-actions.pod:4542 ../src/guestfs-actions.pod:6820
14696 msgid "L"
14697 msgstr "L"
14698
14699 #. type: textblock
14700 #: ../fish/guestfish-actions.pod:4544 ../src/guestfs-actions.pod:6822
14701 msgid "32-bit little endian such as UCS-4LE."
14702 msgstr ""
14703
14704 #. type: textblock
14705 #: ../fish/guestfish-actions.pod:4548 ../src/guestfs-actions.pod:6826
14706 msgid "The returned strings are transcoded to UTF-8."
14707 msgstr ""
14708
14709 #. type: =head2
14710 #: ../fish/guestfish-actions.pod:4553
14711 msgid "swapoff-device"
14712 msgstr "swapoff-device"
14713
14714 #. type: verbatim
14715 #: ../fish/guestfish-actions.pod:4555
14716 #, no-wrap
14717 msgid ""
14718 " swapoff-device device\n"
14719 "\n"
14720 msgstr ""
14721 " swapoff-device пристрій\n"
14722 "\n"
14723
14724 #. type: textblock
14725 #: ../fish/guestfish-actions.pod:4557
14726 msgid ""
14727 "This command disables the libguestfs appliance swap device or partition "
14728 "named C<device>.  See L</swapon-device>."
14729 msgstr ""
14730
14731 #. type: =head2
14732 #: ../fish/guestfish-actions.pod:4561
14733 msgid "swapoff-file"
14734 msgstr "swapoff-file"
14735
14736 #. type: verbatim
14737 #: ../fish/guestfish-actions.pod:4563
14738 #, no-wrap
14739 msgid ""
14740 " swapoff-file file\n"
14741 "\n"
14742 msgstr ""
14743 " swapoff-file файл\n"
14744 "\n"
14745
14746 #. type: textblock
14747 #: ../fish/guestfish-actions.pod:4565 ../src/guestfs-actions.pod:6857
14748 msgid "This command disables the libguestfs appliance swap on file."
14749 msgstr ""
14750
14751 #. type: =head2
14752 #: ../fish/guestfish-actions.pod:4567
14753 msgid "swapoff-label"
14754 msgstr "swapoff-label"
14755
14756 #. type: verbatim
14757 #: ../fish/guestfish-actions.pod:4569
14758 #, no-wrap
14759 msgid ""
14760 " swapoff-label label\n"
14761 "\n"
14762 msgstr ""
14763 " swapoff-label мітка\n"
14764 "\n"
14765
14766 #. type: textblock
14767 #: ../fish/guestfish-actions.pod:4571 ../src/guestfs-actions.pod:6869
14768 msgid ""
14769 "This command disables the libguestfs appliance swap on labeled swap "
14770 "partition."
14771 msgstr ""
14772
14773 #. type: =head2
14774 #: ../fish/guestfish-actions.pod:4574
14775 msgid "swapoff-uuid"
14776 msgstr "swapoff-uuid"
14777
14778 #. type: verbatim
14779 #: ../fish/guestfish-actions.pod:4576
14780 #, no-wrap
14781 msgid ""
14782 " swapoff-uuid uuid\n"
14783 "\n"
14784 msgstr ""
14785 " swapoff-uuid uuid\n"
14786 "\n"
14787
14788 #. type: textblock
14789 #: ../fish/guestfish-actions.pod:4578 ../src/guestfs-actions.pod:6882
14790 msgid ""
14791 "This command disables the libguestfs appliance swap partition with the given "
14792 "UUID."
14793 msgstr ""
14794
14795 #. type: =head2
14796 #: ../fish/guestfish-actions.pod:4581
14797 msgid "swapon-device"
14798 msgstr "swapon-device"
14799
14800 #. type: verbatim
14801 #: ../fish/guestfish-actions.pod:4583
14802 #, no-wrap
14803 msgid ""
14804 " swapon-device device\n"
14805 "\n"
14806 msgstr ""
14807 " swapon-device пристрій\n"
14808 "\n"
14809
14810 #. type: textblock
14811 #: ../fish/guestfish-actions.pod:4585
14812 msgid ""
14813 "This command enables the libguestfs appliance to use the swap device or "
14814 "partition named C<device>.  The increased memory is made available for all "
14815 "commands, for example those run using L</command> or L</sh>."
14816 msgstr ""
14817
14818 #. type: textblock
14819 #: ../fish/guestfish-actions.pod:4590 ../src/guestfs-actions.pod:6900
14820 msgid ""
14821 "Note that you should not swap to existing guest swap partitions unless you "
14822 "know what you are doing.  They may contain hibernation information, or other "
14823 "information that the guest doesn't want you to trash.  You also risk leaking "
14824 "information about the host to the guest this way.  Instead, attach a new "
14825 "host device to the guest and swap on that."
14826 msgstr ""
14827
14828 #. type: =head2
14829 #: ../fish/guestfish-actions.pod:4597
14830 msgid "swapon-file"
14831 msgstr "swapon-file"
14832
14833 #. type: verbatim
14834 #: ../fish/guestfish-actions.pod:4599
14835 #, no-wrap
14836 msgid ""
14837 " swapon-file file\n"
14838 "\n"
14839 msgstr ""
14840 " swapon-file файл\n"
14841 "\n"
14842
14843 #. type: textblock
14844 #: ../fish/guestfish-actions.pod:4601
14845 msgid ""
14846 "This command enables swap to a file.  See L</swapon-device> for other notes."
14847 msgstr ""
14848
14849 #. type: =head2
14850 #: ../fish/guestfish-actions.pod:4604
14851 msgid "swapon-label"
14852 msgstr "swapon-label"
14853
14854 #. type: verbatim
14855 #: ../fish/guestfish-actions.pod:4606
14856 #, no-wrap
14857 msgid ""
14858 " swapon-label label\n"
14859 "\n"
14860 msgstr ""
14861 " swapon-label мітка\n"
14862 "\n"
14863
14864 #. type: textblock
14865 #: ../fish/guestfish-actions.pod:4608
14866 msgid ""
14867 "This command enables swap to a labeled swap partition.  See L</swapon-"
14868 "device> for other notes."
14869 msgstr ""
14870
14871 #. type: =head2
14872 #: ../fish/guestfish-actions.pod:4611
14873 msgid "swapon-uuid"
14874 msgstr "swapon-uuid"
14875
14876 #. type: verbatim
14877 #: ../fish/guestfish-actions.pod:4613
14878 #, no-wrap
14879 msgid ""
14880 " swapon-uuid uuid\n"
14881 "\n"
14882 msgstr ""
14883 " swapon-uuid uuid\n"
14884 "\n"
14885
14886 #. type: textblock
14887 #: ../fish/guestfish-actions.pod:4615
14888 msgid ""
14889 "This command enables swap to a swap partition with the given UUID.  See L</"
14890 "swapon-device> for other notes."
14891 msgstr ""
14892
14893 #. type: =head2
14894 #: ../fish/guestfish-actions.pod:4618
14895 msgid "sync"
14896 msgstr "sync"
14897
14898 #. type: verbatim
14899 #: ../fish/guestfish-actions.pod:4620
14900 #, no-wrap
14901 msgid ""
14902 " sync\n"
14903 "\n"
14904 msgstr ""
14905 " sync\n"
14906 "\n"
14907
14908 #. type: textblock
14909 #: ../fish/guestfish-actions.pod:4622 ../src/guestfs-actions.pod:6955
14910 msgid ""
14911 "This syncs the disk, so that any writes are flushed through to the "
14912 "underlying disk image."
14913 msgstr ""
14914
14915 #. type: textblock
14916 #: ../fish/guestfish-actions.pod:4625 ../src/guestfs-actions.pod:6958
14917 msgid ""
14918 "You should always call this if you have modified a disk image, before "
14919 "closing the handle."
14920 msgstr ""
14921
14922 #. type: =head2
14923 #: ../fish/guestfish-actions.pod:4628
14924 msgid "tail"
14925 msgstr "tail"
14926
14927 #. type: verbatim
14928 #: ../fish/guestfish-actions.pod:4630
14929 #, no-wrap
14930 msgid ""
14931 " tail path\n"
14932 "\n"
14933 msgstr ""
14934 " tail шлях\n"
14935 "\n"
14936
14937 #. type: textblock
14938 #: ../fish/guestfish-actions.pod:4632 ../src/guestfs-actions.pod:6971
14939 msgid ""
14940 "This command returns up to the last 10 lines of a file as a list of strings."
14941 msgstr ""
14942
14943 #. type: =head2
14944 #: ../fish/guestfish-actions.pod:4638
14945 msgid "tail-n"
14946 msgstr "tail-n"
14947
14948 #. type: verbatim
14949 #: ../fish/guestfish-actions.pod:4640
14950 #, no-wrap
14951 msgid ""
14952 " tail-n nrlines path\n"
14953 "\n"
14954 msgstr ""
14955
14956 #. type: textblock
14957 #: ../fish/guestfish-actions.pod:4642 ../src/guestfs-actions.pod:6990
14958 msgid ""
14959 "If the parameter C<nrlines> is a positive number, this returns the last "
14960 "C<nrlines> lines of the file C<path>."
14961 msgstr ""
14962
14963 #. type: textblock
14964 #: ../fish/guestfish-actions.pod:4645 ../src/guestfs-actions.pod:6993
14965 msgid ""
14966 "If the parameter C<nrlines> is a negative number, this returns lines from "
14967 "the file C<path>, starting with the C<-nrlines>th line."
14968 msgstr ""
14969
14970 #. type: =head2
14971 #: ../fish/guestfish-actions.pod:4653
14972 msgid "tar-in"
14973 msgstr "tar-in"
14974
14975 #. type: verbatim
14976 #: ../fish/guestfish-actions.pod:4655
14977 #, no-wrap
14978 msgid ""
14979 " tar-in (tarfile|-) directory\n"
14980 "\n"
14981 msgstr ""
14982 " tar-in (файл_tar|-) каталог\n"
14983 "\n"
14984
14985 #. type: textblock
14986 #: ../fish/guestfish-actions.pod:4657 ../src/guestfs-actions.pod:7014
14987 msgid ""
14988 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
14989 "tar file) into C<directory>."
14990 msgstr ""
14991
14992 #. type: textblock
14993 #: ../fish/guestfish-actions.pod:4660
14994 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
14995 msgstr ""
14996
14997 #. type: =head2
14998 #: ../fish/guestfish-actions.pod:4665
14999 msgid "tar-out"
15000 msgstr "tar-out"
15001
15002 #. type: verbatim
15003 #: ../fish/guestfish-actions.pod:4667
15004 #, no-wrap
15005 msgid ""
15006 " tar-out directory (tarfile|-)\n"
15007 "\n"
15008 msgstr ""
15009 " tar-out каталог (файл tar|-)\n"
15010 "\n"
15011
15012 #. type: textblock
15013 #: ../fish/guestfish-actions.pod:4669 ../src/guestfs-actions.pod:7031
15014 msgid ""
15015 "This command packs the contents of C<directory> and downloads it to local "
15016 "file C<tarfile>."
15017 msgstr ""
15018
15019 #. type: textblock
15020 #: ../fish/guestfish-actions.pod:4672
15021 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
15022 msgstr ""
15023
15024 #. type: =head2
15025 #: ../fish/guestfish-actions.pod:4677
15026 msgid "tgz-in"
15027 msgstr "tgz-in"
15028
15029 #. type: verbatim
15030 #: ../fish/guestfish-actions.pod:4679
15031 #, no-wrap
15032 msgid ""
15033 " tgz-in (tarball|-) directory\n"
15034 "\n"
15035 msgstr ""
15036 " tgz-in (архів tar|-) каталог\n"
15037 "\n"
15038
15039 #. type: textblock
15040 #: ../fish/guestfish-actions.pod:4681 ../src/guestfs-actions.pod:7048
15041 msgid ""
15042 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
15043 "tar file) into C<directory>."
15044 msgstr ""
15045
15046 #. type: textblock
15047 #: ../fish/guestfish-actions.pod:4684
15048 msgid "To upload an uncompressed tarball, use L</tar-in>."
15049 msgstr ""
15050
15051 #. type: =head2
15052 #: ../fish/guestfish-actions.pod:4688
15053 msgid "tgz-out"
15054 msgstr "tgz-out"
15055
15056 #. type: verbatim
15057 #: ../fish/guestfish-actions.pod:4690
15058 #, no-wrap
15059 msgid ""
15060 " tgz-out directory (tarball|-)\n"
15061 "\n"
15062 msgstr ""
15063 " tgz-out каталог (архів tar|-)\n"
15064 "\n"
15065
15066 #. type: textblock
15067 #: ../fish/guestfish-actions.pod:4692 ../src/guestfs-actions.pod:7064
15068 msgid ""
15069 "This command packs the contents of C<directory> and downloads it to local "
15070 "file C<tarball>."
15071 msgstr ""
15072
15073 #. type: textblock
15074 #: ../fish/guestfish-actions.pod:4695
15075 msgid "To download an uncompressed tarball, use L</tar-out>."
15076 msgstr ""
15077
15078 #. type: =head2
15079 #: ../fish/guestfish-actions.pod:4699
15080 msgid "touch"
15081 msgstr "touch"
15082
15083 #. type: verbatim
15084 #: ../fish/guestfish-actions.pod:4701
15085 #, no-wrap
15086 msgid ""
15087 " touch path\n"
15088 "\n"
15089 msgstr ""
15090 " touch шлях\n"
15091 "\n"
15092
15093 #. type: textblock
15094 #: ../fish/guestfish-actions.pod:4703 ../src/guestfs-actions.pod:7079
15095 msgid ""
15096 "Touch acts like the L<touch(1)> command.  It can be used to update the "
15097 "timestamps on a file, or, if the file does not exist, to create a new zero-"
15098 "length file."
15099 msgstr ""
15100
15101 #. type: textblock
15102 #: ../fish/guestfish-actions.pod:4707 ../src/guestfs-actions.pod:7083
15103 msgid ""
15104 "This command only works on regular files, and will fail on other file types "
15105 "such as directories, symbolic links, block special etc."
15106 msgstr ""
15107
15108 #. type: =head2
15109 #: ../fish/guestfish-actions.pod:4710
15110 msgid "truncate"
15111 msgstr "truncate"
15112
15113 #. type: verbatim
15114 #: ../fish/guestfish-actions.pod:4712
15115 #, no-wrap
15116 msgid ""
15117 " truncate path\n"
15118 "\n"
15119 msgstr ""
15120 " truncate шлях\n"
15121 "\n"
15122
15123 #. type: textblock
15124 #: ../fish/guestfish-actions.pod:4714 ../src/guestfs-actions.pod:7096
15125 msgid ""
15126 "This command truncates C<path> to a zero-length file.  The file must exist "
15127 "already."
15128 msgstr ""
15129
15130 #. type: =head2
15131 #: ../fish/guestfish-actions.pod:4717
15132 msgid "truncate-size"
15133 msgstr "truncate-size"
15134
15135 #. type: verbatim
15136 #: ../fish/guestfish-actions.pod:4719
15137 #, no-wrap
15138 msgid ""
15139 " truncate-size path size\n"
15140 "\n"
15141 msgstr ""
15142 " truncate-size шлях розмір\n"
15143 "\n"
15144
15145 #. type: textblock
15146 #: ../fish/guestfish-actions.pod:4721 ../src/guestfs-actions.pod:7110
15147 msgid ""
15148 "This command truncates C<path> to size C<size> bytes.  The file must exist "
15149 "already."
15150 msgstr ""
15151
15152 #. type: textblock
15153 #: ../fish/guestfish-actions.pod:4724
15154 msgid ""
15155 "If the current file size is less than C<size> then the file is extended to "
15156 "the required size with zero bytes.  This creates a sparse file (ie. disk "
15157 "blocks are not allocated for the file until you write to it).  To create a "
15158 "non-sparse file of zeroes, use L</fallocate64> instead."
15159 msgstr ""
15160
15161 #. type: =head2
15162 #: ../fish/guestfish-actions.pod:4730
15163 msgid "tune2fs-l"
15164 msgstr "tune2fs-l"
15165
15166 #. type: verbatim
15167 #: ../fish/guestfish-actions.pod:4732
15168 #, no-wrap
15169 msgid ""
15170 " tune2fs-l device\n"
15171 "\n"
15172 msgstr ""
15173 " tune2fs-l пристрій\n"
15174 "\n"
15175
15176 #. type: textblock
15177 #: ../fish/guestfish-actions.pod:4734 ../src/guestfs-actions.pod:7129
15178 msgid ""
15179 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
15180 "C<device>."
15181 msgstr ""
15182
15183 #. type: textblock
15184 #: ../fish/guestfish-actions.pod:4737 ../src/guestfs-actions.pod:7132
15185 msgid ""
15186 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
15187 "for more details.  The list of fields returned isn't clearly defined, and "
15188 "depends on both the version of C<tune2fs> that libguestfs was built against, "
15189 "and the filesystem itself."
15190 msgstr ""
15191
15192 #. type: =head2
15193 #: ../fish/guestfish-actions.pod:4742
15194 msgid "txz-in"
15195 msgstr "txz-in"
15196
15197 #. type: verbatim
15198 #: ../fish/guestfish-actions.pod:4744
15199 #, no-wrap
15200 msgid ""
15201 " txz-in (tarball|-) directory\n"
15202 "\n"
15203 msgstr ""
15204 " txz-in (архів tar|-) каталог\n"
15205 "\n"
15206
15207 #. type: textblock
15208 #: ../fish/guestfish-actions.pod:4746 ../src/guestfs-actions.pod:7152
15209 msgid ""
15210 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
15211 "tar file) into C<directory>."
15212 msgstr ""
15213
15214 #. type: =head2
15215 #: ../fish/guestfish-actions.pod:4751
15216 msgid "txz-out"
15217 msgstr "txz-out"
15218
15219 #. type: verbatim
15220 #: ../fish/guestfish-actions.pod:4753
15221 #, no-wrap
15222 msgid ""
15223 " txz-out directory (tarball|-)\n"
15224 "\n"
15225 msgstr ""
15226 " txz-out каталог (архів tar|-)\n"
15227 "\n"
15228
15229 #. type: textblock
15230 #: ../fish/guestfish-actions.pod:4755 ../src/guestfs-actions.pod:7166
15231 msgid ""
15232 "This command packs the contents of C<directory> and downloads it to local "
15233 "file C<tarball> (as an xz compressed tar archive)."
15234 msgstr ""
15235
15236 #. type: =head2
15237 #: ../fish/guestfish-actions.pod:4760
15238 msgid "umask"
15239 msgstr "umask"
15240
15241 #. type: verbatim
15242 #: ../fish/guestfish-actions.pod:4762
15243 #, no-wrap
15244 msgid ""
15245 " umask mask\n"
15246 "\n"
15247 msgstr ""
15248 " umask маска\n"
15249 "\n"
15250
15251 #. type: textblock
15252 #: ../fish/guestfish-actions.pod:4764 ../src/guestfs-actions.pod:7179
15253 msgid ""
15254 "This function sets the mask used for creating new files and device nodes to "
15255 "C<mask & 0777>."
15256 msgstr ""
15257
15258 #. type: textblock
15259 #: ../fish/guestfish-actions.pod:4767 ../src/guestfs-actions.pod:7182
15260 msgid ""
15261 "Typical umask values would be C<022> which creates new files with "
15262 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
15263 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
15264 msgstr ""
15265
15266 #. type: textblock
15267 #: ../fish/guestfish-actions.pod:4772 ../src/guestfs-actions.pod:7187
15268 msgid ""
15269 "The default umask is C<022>.  This is important because it means that "
15270 "directories and device nodes will be created with C<0644> or C<0755> mode "
15271 "even if you specify C<0777>."
15272 msgstr ""
15273
15274 #. type: textblock
15275 #: ../fish/guestfish-actions.pod:4776
15276 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
15277 msgstr "Див. також L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
15278
15279 #. type: textblock
15280 #: ../fish/guestfish-actions.pod:4779 ../src/guestfs-actions.pod:7194
15281 msgid "This call returns the previous umask."
15282 msgstr ""
15283
15284 #. type: =head2
15285 #: ../fish/guestfish-actions.pod:4781
15286 msgid "umount"
15287 msgstr "umount"
15288
15289 #. type: =head2
15290 #: ../fish/guestfish-actions.pod:4783
15291 msgid "unmount"
15292 msgstr "unmount"
15293
15294 #. type: verbatim
15295 #: ../fish/guestfish-actions.pod:4785
15296 #, no-wrap
15297 msgid ""
15298 " umount pathordevice\n"
15299 "\n"
15300 msgstr ""
15301 " umount шлях_або_пристрій\n"
15302 "\n"
15303
15304 #. type: textblock
15305 #: ../fish/guestfish-actions.pod:4787 ../src/guestfs-actions.pod:7206
15306 msgid ""
15307 "This unmounts the given filesystem.  The filesystem may be specified either "
15308 "by its mountpoint (path) or the device which contains the filesystem."
15309 msgstr ""
15310
15311 #. type: =head2
15312 #: ../fish/guestfish-actions.pod:4791
15313 msgid "umount-all"
15314 msgstr "umount-all"
15315
15316 #. type: =head2
15317 #: ../fish/guestfish-actions.pod:4793
15318 msgid "unmount-all"
15319 msgstr "unmount-all"
15320
15321 #. type: verbatim
15322 #: ../fish/guestfish-actions.pod:4795
15323 #, no-wrap
15324 msgid ""
15325 " umount-all\n"
15326 "\n"
15327 msgstr ""
15328 " umount-all\n"
15329 "\n"
15330
15331 #. type: textblock
15332 #: ../fish/guestfish-actions.pod:4797 ../src/guestfs-actions.pod:7219
15333 msgid "This unmounts all mounted filesystems."
15334 msgstr ""
15335
15336 #. type: textblock
15337 #: ../fish/guestfish-actions.pod:4799 ../src/guestfs-actions.pod:7221
15338 msgid "Some internal mounts are not unmounted by this call."
15339 msgstr ""
15340
15341 #. type: =head2
15342 #: ../fish/guestfish-actions.pod:4801
15343 msgid "upload"
15344 msgstr "upload"
15345
15346 #. type: verbatim
15347 #: ../fish/guestfish-actions.pod:4803
15348 #, no-wrap
15349 msgid ""
15350 " upload (filename|-) remotefilename\n"
15351 "\n"
15352 msgstr ""
15353 " upload (назва_файла|-) назва_віддаленого_файла\n"
15354 "\n"
15355
15356 #. type: textblock
15357 #: ../fish/guestfish-actions.pod:4805 ../fish/guestfish-actions.pod:4818
15358 #: ../src/guestfs-actions.pod:7234 ../src/guestfs-actions.pod:7258
15359 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
15360 msgstr ""
15361
15362 #. type: textblock
15363 #: ../fish/guestfish-actions.pod:4810
15364 msgid "See also L</download>."
15365 msgstr "Див. також L</download>."
15366
15367 #. type: =head2
15368 #: ../fish/guestfish-actions.pod:4814
15369 msgid "upload-offset"
15370 msgstr "upload-offset"
15371
15372 #. type: verbatim
15373 #: ../fish/guestfish-actions.pod:4816
15374 #, no-wrap
15375 msgid ""
15376 " upload-offset (filename|-) remotefilename offset\n"
15377 "\n"
15378 msgstr ""
15379 " upload-offset (назва_файла|-) назва_віддаленого_файла відступ\n"
15380 "\n"
15381
15382 #. type: textblock
15383 #: ../fish/guestfish-actions.pod:4821 ../src/guestfs-actions.pod:7261
15384 msgid ""
15385 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
15386 "The intention is to overwrite parts of existing files or devices, although "
15387 "if a non-existant file is specified then it is created with a \"hole\" "
15388 "before C<offset>.  The size of the data written is implicit in the size of "
15389 "the source C<filename>."
15390 msgstr ""
15391
15392 #. type: textblock
15393 #: ../fish/guestfish-actions.pod:4828
15394 msgid ""
15395 "Note that there is no limit on the amount of data that can be uploaded with "
15396 "this call, unlike with L</pwrite>, and this call always writes the full "
15397 "amount unless an error occurs."
15398 msgstr ""
15399
15400 #. type: textblock
15401 #: ../fish/guestfish-actions.pod:4833
15402 msgid "See also L</upload>, L</pwrite>."
15403 msgstr "Див. також L</upload>, L</pwrite>."
15404
15405 #. type: =head2
15406 #: ../fish/guestfish-actions.pod:4837
15407 msgid "utimens"
15408 msgstr "utimens"
15409
15410 #. type: verbatim
15411 #: ../fish/guestfish-actions.pod:4839
15412 #, no-wrap
15413 msgid ""
15414 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
15415 "\n"
15416 msgstr ""
15417
15418 #. type: textblock
15419 #: ../fish/guestfish-actions.pod:4841 ../src/guestfs-actions.pod:7294
15420 msgid "This command sets the timestamps of a file with nanosecond precision."
15421 msgstr ""
15422
15423 #. type: textblock
15424 #: ../fish/guestfish-actions.pod:4844 ../src/guestfs-actions.pod:7297
15425 msgid ""
15426 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
15427 "from the epoch."
15428 msgstr ""
15429
15430 #. type: textblock
15431 #: ../fish/guestfish-actions.pod:4847 ../src/guestfs-actions.pod:7300
15432 msgid ""
15433 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
15434 "nanoseconds from the epoch."
15435 msgstr ""
15436
15437 #. type: textblock
15438 #: ../fish/guestfish-actions.pod:4850 ../src/guestfs-actions.pod:7303
15439 msgid ""
15440 "If the C<*nsecs> field contains the special value C<-1> then the "
15441 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
15442 "ignored in this case)."
15443 msgstr ""
15444
15445 #. type: textblock
15446 #: ../fish/guestfish-actions.pod:4854 ../src/guestfs-actions.pod:7307
15447 msgid ""
15448 "If the C<*nsecs> field contains the special value C<-2> then the "
15449 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
15450 "in this case)."
15451 msgstr ""
15452
15453 #. type: =head2
15454 #: ../fish/guestfish-actions.pod:4858
15455 msgid "version"
15456 msgstr "version"
15457
15458 #. type: verbatim
15459 #: ../fish/guestfish-actions.pod:4860
15460 #, no-wrap
15461 msgid ""
15462 " version\n"
15463 "\n"
15464 msgstr ""
15465 " version\n"
15466 "\n"
15467
15468 #. type: textblock
15469 #: ../fish/guestfish-actions.pod:4862 ../src/guestfs-actions.pod:7320
15470 msgid ""
15471 "Return the libguestfs version number that the program is linked against."
15472 msgstr ""
15473
15474 #. type: textblock
15475 #: ../fish/guestfish-actions.pod:4865 ../src/guestfs-actions.pod:7323
15476 msgid ""
15477 "Note that because of dynamic linking this is not necessarily the version of "
15478 "libguestfs that you compiled against.  You can compile the program, and then "
15479 "at runtime dynamically link against a completely different C<libguestfs.so> "
15480 "library."
15481 msgstr ""
15482
15483 #. type: textblock
15484 #: ../fish/guestfish-actions.pod:4870 ../src/guestfs-actions.pod:7328
15485 msgid ""
15486 "This call was added in version C<1.0.58>.  In previous versions of "
15487 "libguestfs there was no way to get the version number.  From C code you can "
15488 "use dynamic linker functions to find out if this symbol exists (if it "
15489 "doesn't, then it's an earlier version)."
15490 msgstr ""
15491
15492 #. type: textblock
15493 #: ../fish/guestfish-actions.pod:4876 ../src/guestfs-actions.pod:7334
15494 msgid ""
15495 "The call returns a structure with four elements.  The first three (C<major>, "
15496 "C<minor> and C<release>) are numbers and correspond to the usual version "
15497 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
15498 "but may be used for distro-specific information."
15499 msgstr ""
15500
15501 #. type: textblock
15502 #: ../fish/guestfish-actions.pod:4882 ../src/guestfs-actions.pod:7340
15503 msgid ""
15504 "To construct the original version string: C<$major.$minor.$release$extra>"
15505 msgstr ""
15506
15507 #. type: textblock
15508 #: ../fish/guestfish-actions.pod:4885 ../src/guestfs-actions.pod:7343
15509 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
15510 msgstr ""
15511
15512 #. type: textblock
15513 #: ../fish/guestfish-actions.pod:4887
15514 msgid ""
15515 "I<Note:> Don't use this call to test for availability of features.  In "
15516 "enterprise distributions we backport features from later versions into "
15517 "earlier versions, making this an unreliable way to test for features.  Use "
15518 "L</available> instead."
15519 msgstr ""
15520
15521 #. type: =head2
15522 #: ../fish/guestfish-actions.pod:4893
15523 msgid "vfs-label"
15524 msgstr "vfs-label"
15525
15526 #. type: verbatim
15527 #: ../fish/guestfish-actions.pod:4895
15528 #, no-wrap
15529 msgid ""
15530 " vfs-label device\n"
15531 "\n"
15532 msgstr ""
15533 " vfs-label пристрій\n"
15534 "\n"
15535
15536 #. type: textblock
15537 #: ../fish/guestfish-actions.pod:4897 ../src/guestfs-actions.pod:7363
15538 msgid "This returns the filesystem label of the filesystem on C<device>."
15539 msgstr ""
15540
15541 #. type: textblock
15542 #: ../fish/guestfish-actions.pod:4900 ../src/guestfs-actions.pod:7366
15543 msgid "If the filesystem is unlabeled, this returns the empty string."
15544 msgstr ""
15545
15546 #. type: textblock
15547 #: ../fish/guestfish-actions.pod:4902
15548 msgid "To find a filesystem from the label, use L</findfs-label>."
15549 msgstr ""
15550
15551 #. type: =head2
15552 #: ../fish/guestfish-actions.pod:4904
15553 msgid "vfs-type"
15554 msgstr "vfs-type"
15555
15556 #. type: verbatim
15557 #: ../fish/guestfish-actions.pod:4906
15558 #, no-wrap
15559 msgid ""
15560 " vfs-type device\n"
15561 "\n"
15562 msgstr ""
15563 " vfs-type пристрій\n"
15564 "\n"
15565
15566 #. type: textblock
15567 #: ../fish/guestfish-actions.pod:4908 ../src/guestfs-actions.pod:7381
15568 msgid ""
15569 "This command gets the filesystem type corresponding to the filesystem on "
15570 "C<device>."
15571 msgstr ""
15572
15573 #. type: textblock
15574 #: ../fish/guestfish-actions.pod:4911 ../src/guestfs-actions.pod:7384
15575 msgid ""
15576 "For most filesystems, the result is the name of the Linux VFS module which "
15577 "would be used to mount this filesystem if you mounted it without specifying "
15578 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
15579 msgstr ""
15580
15581 #. type: =head2
15582 #: ../fish/guestfish-actions.pod:4916
15583 msgid "vfs-uuid"
15584 msgstr "vfs-uuid"
15585
15586 #. type: verbatim
15587 #: ../fish/guestfish-actions.pod:4918
15588 #, no-wrap
15589 msgid ""
15590 " vfs-uuid device\n"
15591 "\n"
15592 msgstr ""
15593 " vfs-uuid пристрій\n"
15594 "\n"
15595
15596 #. type: textblock
15597 #: ../fish/guestfish-actions.pod:4920 ../src/guestfs-actions.pod:7400
15598 msgid "This returns the filesystem UUID of the filesystem on C<device>."
15599 msgstr ""
15600
15601 #. type: textblock
15602 #: ../fish/guestfish-actions.pod:4923 ../src/guestfs-actions.pod:7403
15603 msgid "If the filesystem does not have a UUID, this returns the empty string."
15604 msgstr ""
15605
15606 #. type: textblock
15607 #: ../fish/guestfish-actions.pod:4925
15608 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
15609 msgstr ""
15610
15611 #. type: =head2
15612 #: ../fish/guestfish-actions.pod:4927
15613 msgid "vg-activate"
15614 msgstr "vg-activate"
15615
15616 #. type: verbatim
15617 #: ../fish/guestfish-actions.pod:4929
15618 #, no-wrap
15619 msgid ""
15620 " vg-activate true|false 'volgroups ...'\n"
15621 "\n"
15622 msgstr ""
15623
15624 #. type: textblock
15625 #: ../fish/guestfish-actions.pod:4931 ../src/guestfs-actions.pod:7419
15626 msgid ""
15627 "This command activates or (if C<activate> is false) deactivates all logical "
15628 "volumes in the listed volume groups C<volgroups>."
15629 msgstr ""
15630
15631 #. type: textblock
15632 #: ../fish/guestfish-actions.pod:4934 ../src/guestfs-actions.pod:7422
15633 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
15634 msgstr ""
15635
15636 #. type: textblock
15637 #: ../fish/guestfish-actions.pod:4936 ../src/guestfs-actions.pod:7424
15638 msgid ""
15639 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
15640 "activated or deactivated."
15641 msgstr ""
15642
15643 #. type: =head2
15644 #: ../fish/guestfish-actions.pod:4939
15645 msgid "vg-activate-all"
15646 msgstr "vg-activate-all"
15647
15648 #. type: verbatim
15649 #: ../fish/guestfish-actions.pod:4941
15650 #, no-wrap
15651 msgid ""
15652 " vg-activate-all true|false\n"
15653 "\n"
15654 msgstr ""
15655 " vg-activate-all true|false\n"
15656 "\n"
15657
15658 #. type: textblock
15659 #: ../fish/guestfish-actions.pod:4943 ../src/guestfs-actions.pod:7437
15660 msgid ""
15661 "This command activates or (if C<activate> is false) deactivates all logical "
15662 "volumes in all volume groups."
15663 msgstr ""
15664
15665 #. type: textblock
15666 #: ../fish/guestfish-actions.pod:4946 ../src/guestfs-actions.pod:7440
15667 msgid "This command is the same as running C<vgchange -a y|n>"
15668 msgstr ""
15669
15670 #. type: =head2
15671 #: ../fish/guestfish-actions.pod:4948
15672 msgid "vgcreate"
15673 msgstr "vgcreate"
15674
15675 #. type: verbatim
15676 #: ../fish/guestfish-actions.pod:4950
15677 #, no-wrap
15678 msgid ""
15679 " vgcreate volgroup 'physvols ...'\n"
15680 "\n"
15681 msgstr ""
15682
15683 #. type: textblock
15684 #: ../fish/guestfish-actions.pod:4952 ../src/guestfs-actions.pod:7453
15685 msgid ""
15686 "This creates an LVM volume group called C<volgroup> from the non-empty list "
15687 "of physical volumes C<physvols>."
15688 msgstr ""
15689
15690 #. type: =head2
15691 #: ../fish/guestfish-actions.pod:4955
15692 msgid "vglvuuids"
15693 msgstr "vglvuuids"
15694
15695 #. type: verbatim
15696 #: ../fish/guestfish-actions.pod:4957
15697 #, no-wrap
15698 msgid ""
15699 " vglvuuids vgname\n"
15700 "\n"
15701 msgstr ""
15702
15703 #. type: textblock
15704 #: ../fish/guestfish-actions.pod:4959 ../src/guestfs-actions.pod:7466
15705 msgid ""
15706 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
15707 "volumes created in this volume group."
15708 msgstr ""
15709
15710 #. type: textblock
15711 #: ../fish/guestfish-actions.pod:4962
15712 msgid ""
15713 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
15714 "logical volumes and volume groups."
15715 msgstr ""
15716
15717 #. type: textblock
15718 #: ../fish/guestfish-actions.pod:4965
15719 msgid "See also L</vgpvuuids>."
15720 msgstr "Див. також L</vgpvuuids>."
15721
15722 #. type: =head2
15723 #: ../fish/guestfish-actions.pod:4967
15724 msgid "vgpvuuids"
15725 msgstr "vgpvuuids"
15726
15727 #. type: verbatim
15728 #: ../fish/guestfish-actions.pod:4969
15729 #, no-wrap
15730 msgid ""
15731 " vgpvuuids vgname\n"
15732 "\n"
15733 msgstr ""
15734
15735 #. type: textblock
15736 #: ../fish/guestfish-actions.pod:4971 ../src/guestfs-actions.pod:7486
15737 msgid ""
15738 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
15739 "volumes that this volume group resides on."
15740 msgstr ""
15741
15742 #. type: textblock
15743 #: ../fish/guestfish-actions.pod:4974
15744 msgid ""
15745 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
15746 "physical volumes and volume groups."
15747 msgstr ""
15748
15749 #. type: textblock
15750 #: ../fish/guestfish-actions.pod:4977
15751 msgid "See also L</vglvuuids>."
15752 msgstr "Див. також L</vglvuuids>."
15753
15754 #. type: =head2
15755 #: ../fish/guestfish-actions.pod:4979
15756 msgid "vgremove"
15757 msgstr "vgremove"
15758
15759 #. type: verbatim
15760 #: ../fish/guestfish-actions.pod:4981
15761 #, no-wrap
15762 msgid ""
15763 " vgremove vgname\n"
15764 "\n"
15765 msgstr ""
15766
15767 #. type: textblock
15768 #: ../fish/guestfish-actions.pod:4983 ../src/guestfs-actions.pod:7506
15769 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
15770 msgstr ""
15771
15772 #. type: textblock
15773 #: ../fish/guestfish-actions.pod:4985 ../src/guestfs-actions.pod:7508
15774 msgid ""
15775 "This also forcibly removes all logical volumes in the volume group (if any)."
15776 msgstr ""
15777
15778 #. type: =head2
15779 #: ../fish/guestfish-actions.pod:4988
15780 msgid "vgrename"
15781 msgstr "vgrename"
15782
15783 #. type: verbatim
15784 #: ../fish/guestfish-actions.pod:4990
15785 #, no-wrap
15786 msgid ""
15787 " vgrename volgroup newvolgroup\n"
15788 "\n"
15789 msgstr ""
15790
15791 #. type: textblock
15792 #: ../fish/guestfish-actions.pod:4992 ../src/guestfs-actions.pod:7522
15793 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
15794 msgstr ""
15795
15796 #. type: =head2
15797 #: ../fish/guestfish-actions.pod:4994
15798 msgid "vgs"
15799 msgstr "vgs"
15800
15801 #. type: verbatim
15802 #: ../fish/guestfish-actions.pod:4996
15803 #, no-wrap
15804 msgid ""
15805 " vgs\n"
15806 "\n"
15807 msgstr ""
15808 " vgs\n"
15809 "\n"
15810
15811 #. type: textblock
15812 #: ../fish/guestfish-actions.pod:4998 ../src/guestfs-actions.pod:7533
15813 msgid ""
15814 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
15815 "> command."
15816 msgstr ""
15817
15818 #. type: textblock
15819 #: ../fish/guestfish-actions.pod:5001 ../src/guestfs-actions.pod:7536
15820 msgid ""
15821 "This returns a list of just the volume group names that were detected (eg. "
15822 "C<VolGroup00>)."
15823 msgstr ""
15824
15825 #. type: textblock
15826 #: ../fish/guestfish-actions.pod:5004
15827 msgid "See also L</vgs-full>."
15828 msgstr "Див. також L</vgs-full>."
15829
15830 #. type: =head2
15831 #: ../fish/guestfish-actions.pod:5006
15832 msgid "vgs-full"
15833 msgstr "vgs-full"
15834
15835 #. type: verbatim
15836 #: ../fish/guestfish-actions.pod:5008
15837 #, no-wrap
15838 msgid ""
15839 " vgs-full\n"
15840 "\n"
15841 msgstr ""
15842 " vgs-full\n"
15843 "\n"
15844
15845 #. type: textblock
15846 #: ../fish/guestfish-actions.pod:5010 ../src/guestfs-actions.pod:7552
15847 msgid ""
15848 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
15849 "> command.  The \"full\" version includes all fields."
15850 msgstr ""
15851
15852 #. type: =head2
15853 #: ../fish/guestfish-actions.pod:5013
15854 msgid "vgscan"
15855 msgstr "vgscan"
15856
15857 #. type: verbatim
15858 #: ../fish/guestfish-actions.pod:5015
15859 #, no-wrap
15860 msgid ""
15861 " vgscan\n"
15862 "\n"
15863 msgstr ""
15864 " vgscan\n"
15865 "\n"
15866
15867 #. type: textblock
15868 #: ../fish/guestfish-actions.pod:5017 ../src/guestfs-actions.pod:7566
15869 msgid ""
15870 "This rescans all block devices and rebuilds the list of LVM physical "
15871 "volumes, volume groups and logical volumes."
15872 msgstr ""
15873
15874 #. type: =head2
15875 #: ../fish/guestfish-actions.pod:5020
15876 msgid "vguuid"
15877 msgstr "vguuid"
15878
15879 #. type: verbatim
15880 #: ../fish/guestfish-actions.pod:5022
15881 #, no-wrap
15882 msgid ""
15883 " vguuid vgname\n"
15884 "\n"
15885 msgstr ""
15886
15887 #. type: textblock
15888 #: ../fish/guestfish-actions.pod:5024 ../src/guestfs-actions.pod:7579
15889 msgid "This command returns the UUID of the LVM VG named C<vgname>."
15890 msgstr ""
15891
15892 #. type: =head2
15893 #: ../fish/guestfish-actions.pod:5026
15894 msgid "wc-c"
15895 msgstr "wc-c"
15896
15897 #. type: verbatim
15898 #: ../fish/guestfish-actions.pod:5028
15899 #, no-wrap
15900 msgid ""
15901 " wc-c path\n"
15902 "\n"
15903 msgstr ""
15904 " wc-c шлях\n"
15905 "\n"
15906
15907 #. type: textblock
15908 #: ../fish/guestfish-actions.pod:5030 ../src/guestfs-actions.pod:7619
15909 msgid ""
15910 "This command counts the characters in a file, using the C<wc -c> external "
15911 "command."
15912 msgstr ""
15913
15914 #. type: =head2
15915 #: ../fish/guestfish-actions.pod:5033
15916 msgid "wc-l"
15917 msgstr "wc-l"
15918
15919 #. type: verbatim
15920 #: ../fish/guestfish-actions.pod:5035
15921 #, no-wrap
15922 msgid ""
15923 " wc-l path\n"
15924 "\n"
15925 msgstr ""
15926 " wc-l шлях\n"
15927 "\n"
15928
15929 #. type: textblock
15930 #: ../fish/guestfish-actions.pod:5037 ../src/guestfs-actions.pod:7632
15931 msgid ""
15932 "This command counts the lines in a file, using the C<wc -l> external command."
15933 msgstr ""
15934
15935 #. type: =head2
15936 #: ../fish/guestfish-actions.pod:5040
15937 msgid "wc-w"
15938 msgstr "wc-w"
15939
15940 #. type: verbatim
15941 #: ../fish/guestfish-actions.pod:5042
15942 #, no-wrap
15943 msgid ""
15944 " wc-w path\n"
15945 "\n"
15946 msgstr ""
15947 " wc-w шлях\n"
15948 "\n"
15949
15950 #. type: textblock
15951 #: ../fish/guestfish-actions.pod:5044 ../src/guestfs-actions.pod:7645
15952 msgid ""
15953 "This command counts the words in a file, using the C<wc -w> external command."
15954 msgstr ""
15955
15956 #. type: =head2
15957 #: ../fish/guestfish-actions.pod:5047
15958 msgid "write"
15959 msgstr "write"
15960
15961 #. type: verbatim
15962 #: ../fish/guestfish-actions.pod:5049
15963 #, no-wrap
15964 msgid ""
15965 " write path content\n"
15966 "\n"
15967 msgstr ""
15968 " write шлях дані\n"
15969 "\n"
15970
15971 #. type: textblock
15972 #: ../fish/guestfish-actions.pod:5051 ../src/guestfs-actions.pod:7660
15973 msgid ""
15974 "This call creates a file called C<path>.  The content of the file is the "
15975 "string C<content> (which can contain any 8 bit data)."
15976 msgstr ""
15977
15978 #. type: textblock
15979 #: ../fish/guestfish-actions.pod:5054
15980 msgid "See also L</write-append>."
15981 msgstr ""
15982
15983 #. type: =head2
15984 #: ../fish/guestfish-actions.pod:5059
15985 msgid "write-append"
15986 msgstr ""
15987
15988 #. type: verbatim
15989 #: ../fish/guestfish-actions.pod:5061
15990 #, no-wrap
15991 msgid ""
15992 " write-append path content\n"
15993 "\n"
15994 msgstr ""
15995
15996 #. type: textblock
15997 #: ../fish/guestfish-actions.pod:5063 ../src/guestfs-actions.pod:7680
15998 msgid ""
15999 "This call appends C<content> to the end of file C<path>.  If C<path> does "
16000 "not exist, then a new file is created."
16001 msgstr ""
16002
16003 #. type: textblock
16004 #: ../fish/guestfish-actions.pod:5066
16005 msgid "See also L</write>."
16006 msgstr ""
16007
16008 #. type: =head2
16009 #: ../fish/guestfish-actions.pod:5071
16010 msgid "write-file"
16011 msgstr "write-file"
16012
16013 #. type: verbatim
16014 #: ../fish/guestfish-actions.pod:5073
16015 #, no-wrap
16016 msgid ""
16017 " write-file path content size\n"
16018 "\n"
16019 msgstr ""
16020
16021 #. type: textblock
16022 #: ../fish/guestfish-actions.pod:5075 ../src/guestfs-actions.pod:7707
16023 msgid ""
16024 "This call creates a file called C<path>.  The contents of the file is the "
16025 "string C<content> (which can contain any 8 bit data), with length C<size>."
16026 msgstr ""
16027
16028 #. type: textblock
16029 #: ../fish/guestfish-actions.pod:5079 ../src/guestfs-actions.pod:7711
16030 msgid ""
16031 "As a special case, if C<size> is C<0> then the length is calculated using "
16032 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
16033 msgstr ""
16034
16035 #. type: textblock
16036 #: ../fish/guestfish-actions.pod:5083 ../src/guestfs-actions.pod:7715
16037 msgid ""
16038 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
16039 "I<not> work, even if the length is specified."
16040 msgstr ""
16041
16042 #. type: textblock
16043 #: ../fish/guestfish-actions.pod:5089
16044 msgid ""
16045 "I<This function is deprecated.> In new code, use the L</write> call instead."
16046 msgstr ""
16047
16048 #. type: =head2
16049 #: ../fish/guestfish-actions.pod:5096
16050 msgid "zegrep"
16051 msgstr "zegrep"
16052
16053 #. type: verbatim
16054 #: ../fish/guestfish-actions.pod:5098
16055 #, no-wrap
16056 msgid ""
16057 " zegrep regex path\n"
16058 "\n"
16059 msgstr ""
16060 " zegrep формальний_вираз шлях\n"
16061 "\n"
16062
16063 #. type: textblock
16064 #: ../fish/guestfish-actions.pod:5100 ../src/guestfs-actions.pod:7732
16065 msgid ""
16066 "This calls the external C<zegrep> program and returns the matching lines."
16067 msgstr ""
16068
16069 #. type: =head2
16070 #: ../fish/guestfish-actions.pod:5106
16071 msgid "zegrepi"
16072 msgstr "zegrepi"
16073
16074 #. type: verbatim
16075 #: ../fish/guestfish-actions.pod:5108
16076 #, no-wrap
16077 msgid ""
16078 " zegrepi regex path\n"
16079 "\n"
16080 msgstr ""
16081
16082 #. type: textblock
16083 #: ../fish/guestfish-actions.pod:5110 ../src/guestfs-actions.pod:7751
16084 msgid ""
16085 "This calls the external C<zegrep -i> program and returns the matching lines."
16086 msgstr ""
16087
16088 #. type: =head2
16089 #: ../fish/guestfish-actions.pod:5116
16090 msgid "zero"
16091 msgstr "zero"
16092
16093 #. type: verbatim
16094 #: ../fish/guestfish-actions.pod:5118
16095 #, no-wrap
16096 msgid ""
16097 " zero device\n"
16098 "\n"
16099 msgstr ""
16100 " zero пристрій\n"
16101 "\n"
16102
16103 #. type: textblock
16104 #: ../fish/guestfish-actions.pod:5120 ../src/guestfs-actions.pod:7769
16105 msgid "This command writes zeroes over the first few blocks of C<device>."
16106 msgstr ""
16107
16108 #. type: textblock
16109 #: ../fish/guestfish-actions.pod:5122 ../src/guestfs-actions.pod:7771
16110 msgid ""
16111 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
16112 "securely wipe the device).  It should be sufficient to remove any partition "
16113 "tables, filesystem superblocks and so on."
16114 msgstr ""
16115
16116 #. type: textblock
16117 #: ../fish/guestfish-actions.pod:5126 ../fish/guestfish-actions.pod:5141
16118 #: ../src/guestfs-actions.pod:7775 ../src/guestfs-actions.pod:7801
16119 msgid ""
16120 "If blocks are already zero, then this command avoids writing zeroes.  This "
16121 "prevents the underlying device from becoming non-sparse or growing "
16122 "unnecessarily."
16123 msgstr ""
16124
16125 #. type: textblock
16126 #: ../fish/guestfish-actions.pod:5130
16127 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
16128 msgstr ""
16129
16130 #. type: =head2
16131 #: ../fish/guestfish-actions.pod:5133
16132 msgid "zero-device"
16133 msgstr "zero-device"
16134
16135 #. type: verbatim
16136 #: ../fish/guestfish-actions.pod:5135
16137 #, no-wrap
16138 msgid ""
16139 " zero-device device\n"
16140 "\n"
16141 msgstr ""
16142 " zero-device пристрій\n"
16143 "\n"
16144
16145 #. type: textblock
16146 #: ../fish/guestfish-actions.pod:5137
16147 msgid ""
16148 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
16149 "which just zeroes the first few blocks of a device."
16150 msgstr ""
16151
16152 #. type: =head2
16153 #: ../fish/guestfish-actions.pod:5148
16154 msgid "zerofree"
16155 msgstr "zerofree"
16156
16157 #. type: verbatim
16158 #: ../fish/guestfish-actions.pod:5150
16159 #, no-wrap
16160 msgid ""
16161 " zerofree device\n"
16162 "\n"
16163 msgstr ""
16164 " zerofree пристрій\n"
16165 "\n"
16166
16167 #. type: textblock
16168 #: ../fish/guestfish-actions.pod:5152 ../src/guestfs-actions.pod:7823
16169 msgid ""
16170 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
16171 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
16172 "possible to compress the filesystem more effectively."
16173 msgstr ""
16174
16175 #. type: textblock
16176 #: ../fish/guestfish-actions.pod:5157 ../src/guestfs-actions.pod:7828
16177 msgid "You should B<not> run this program if the filesystem is mounted."
16178 msgstr ""
16179
16180 #. type: textblock
16181 #: ../fish/guestfish-actions.pod:5160 ../src/guestfs-actions.pod:7831
16182 msgid ""
16183 "It is possible that using this program can damage the filesystem or data on "
16184 "the filesystem."
16185 msgstr ""
16186
16187 #. type: =head2
16188 #: ../fish/guestfish-actions.pod:5163
16189 msgid "zfgrep"
16190 msgstr "zfgrep"
16191
16192 #. type: verbatim
16193 #: ../fish/guestfish-actions.pod:5165
16194 #, no-wrap
16195 msgid ""
16196 " zfgrep pattern path\n"
16197 "\n"
16198 msgstr ""
16199 " zfgrep шаблон шлях\n"
16200 "\n"
16201
16202 #. type: textblock
16203 #: ../fish/guestfish-actions.pod:5167 ../src/guestfs-actions.pod:7845
16204 msgid ""
16205 "This calls the external C<zfgrep> program and returns the matching lines."
16206 msgstr ""
16207
16208 #. type: =head2
16209 #: ../fish/guestfish-actions.pod:5173
16210 msgid "zfgrepi"
16211 msgstr "zfgrepi"
16212
16213 #. type: verbatim
16214 #: ../fish/guestfish-actions.pod:5175
16215 #, no-wrap
16216 msgid ""
16217 " zfgrepi pattern path\n"
16218 "\n"
16219 msgstr ""
16220 " zfgrepi шаблон шлях\n"
16221 "\n"
16222
16223 #. type: textblock
16224 #: ../fish/guestfish-actions.pod:5177 ../src/guestfs-actions.pod:7864
16225 msgid ""
16226 "This calls the external C<zfgrep -i> program and returns the matching lines."
16227 msgstr ""
16228
16229 #. type: =head2
16230 #: ../fish/guestfish-actions.pod:5183
16231 msgid "zfile"
16232 msgstr "zfile"
16233
16234 #. type: verbatim
16235 #: ../fish/guestfish-actions.pod:5185
16236 #, no-wrap
16237 msgid ""
16238 " zfile meth path\n"
16239 "\n"
16240 msgstr ""
16241 " zfile метод шлях\n"
16242 "\n"
16243
16244 #. type: textblock
16245 #: ../fish/guestfish-actions.pod:5187 ../src/guestfs-actions.pod:7890
16246 msgid ""
16247 "This command runs C<file> after first decompressing C<path> using C<method>."
16248 msgstr ""
16249
16250 #. type: textblock
16251 #: ../fish/guestfish-actions.pod:5190 ../src/guestfs-actions.pod:7893
16252 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
16253 msgstr ""
16254
16255 #. type: textblock
16256 #: ../fish/guestfish-actions.pod:5192
16257 msgid ""
16258 "Since 1.0.63, use L</file> instead which can now process compressed files."
16259 msgstr ""
16260
16261 #. type: textblock
16262 #: ../fish/guestfish-actions.pod:5195
16263 msgid ""
16264 "I<This function is deprecated.> In new code, use the L</file> call instead."
16265 msgstr ""
16266
16267 #. type: =head2
16268 #: ../fish/guestfish-actions.pod:5202
16269 msgid "zgrep"
16270 msgstr "zgrep"
16271
16272 #. type: verbatim
16273 #: ../fish/guestfish-actions.pod:5204
16274 #, no-wrap
16275 msgid ""
16276 " zgrep regex path\n"
16277 "\n"
16278 msgstr ""
16279 " zgrep формальний_вираз шлях\n"
16280 "\n"
16281
16282 #. type: textblock
16283 #: ../fish/guestfish-actions.pod:5206 ../src/guestfs-actions.pod:7910
16284 msgid ""
16285 "This calls the external C<zgrep> program and returns the matching lines."
16286 msgstr ""
16287
16288 #. type: =head2
16289 #: ../fish/guestfish-actions.pod:5212
16290 msgid "zgrepi"
16291 msgstr "zgrepi"
16292
16293 #. type: verbatim
16294 #: ../fish/guestfish-actions.pod:5214
16295 #, no-wrap
16296 msgid ""
16297 " zgrepi regex path\n"
16298 "\n"
16299 msgstr ""
16300 " zgrepi формальний_вираз шлях\n"
16301 "\n"
16302
16303 #. type: textblock
16304 #: ../fish/guestfish-actions.pod:5216 ../src/guestfs-actions.pod:7929
16305 msgid ""
16306 "This calls the external C<zgrep -i> program and returns the matching lines."
16307 msgstr ""
16308
16309 #. type: =head2
16310 #: ../fish/guestfish-commands.pod:1
16311 msgid "alloc"
16312 msgstr "alloc"
16313
16314 #. type: =head2
16315 #: ../fish/guestfish-commands.pod:3
16316 msgid "allocate"
16317 msgstr ""
16318
16319 #. type: verbatim
16320 #: ../fish/guestfish-commands.pod:5
16321 #, no-wrap
16322 msgid ""
16323 " alloc filename size\n"
16324 "\n"
16325 msgstr ""
16326
16327 #. type: textblock
16328 #: ../fish/guestfish-commands.pod:7
16329 msgid ""
16330 "This creates an empty (zeroed) file of the given size, and then adds so it "
16331 "can be further examined."
16332 msgstr ""
16333
16334 #. type: textblock
16335 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:193
16336 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
16337 msgstr ""
16338
16339 #. type: textblock
16340 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:195
16341 msgid "Size can be specified using standard suffixes, eg. C<1M>."
16342 msgstr ""
16343
16344 #. type: textblock
16345 #: ../fish/guestfish-commands.pod:14
16346 msgid ""
16347 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
16348 "image, see L</PREPARED DISK IMAGES>."
16349 msgstr ""
16350
16351 #. type: =head2
16352 #: ../fish/guestfish-commands.pod:17
16353 msgid "copy-in"
16354 msgstr "copy-in"
16355
16356 #. type: verbatim
16357 #: ../fish/guestfish-commands.pod:19
16358 #, no-wrap
16359 msgid ""
16360 " copy-in local [local ...] /remotedir\n"
16361 "\n"
16362 msgstr ""
16363
16364 #. type: textblock
16365 #: ../fish/guestfish-commands.pod:21
16366 msgid ""
16367 "C<copy-in> copies local files or directories recursively into the disk "
16368 "image, placing them in the directory called C</remotedir> (which must "
16369 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
16370 "other commands as necessary."
16371 msgstr ""
16372
16373 #. type: textblock
16374 #: ../fish/guestfish-commands.pod:26
16375 msgid ""
16376 "Multiple local files and directories can be specified, but the last "
16377 "parameter must always be a remote directory.  Wildcards cannot be used."
16378 msgstr ""
16379
16380 #. type: =head2
16381 #: ../fish/guestfish-commands.pod:30
16382 msgid "copy-out"
16383 msgstr "copy-out"
16384
16385 #. type: verbatim
16386 #: ../fish/guestfish-commands.pod:32
16387 #, no-wrap
16388 msgid ""
16389 " copy-out remote [remote ...] localdir\n"
16390 "\n"
16391 msgstr ""
16392
16393 #. type: textblock
16394 #: ../fish/guestfish-commands.pod:34
16395 msgid ""
16396 "C<copy-out> copies remote files or directories recursively out of the disk "
16397 "image, placing them on the host disk in a local directory called C<localdir> "
16398 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
16399 "download>, L</tar-out> and other commands as necessary."
16400 msgstr ""
16401
16402 #. type: textblock
16403 #: ../fish/guestfish-commands.pod:40
16404 msgid ""
16405 "Multiple remote files and directories can be specified, but the last "
16406 "parameter must always be a local directory.  To download to the current "
16407 "directory, use C<.> as in:"
16408 msgstr ""
16409
16410 #. type: verbatim
16411 #: ../fish/guestfish-commands.pod:44
16412 #, no-wrap
16413 msgid ""
16414 " copy-out /home .\n"
16415 "\n"
16416 msgstr ""
16417 " copy-out /home .\n"
16418 "\n"
16419
16420 #. type: textblock
16421 #: ../fish/guestfish-commands.pod:46
16422 msgid ""
16423 "Wildcards cannot be used in the ordinary command, but you can use them with "
16424 "the help of L</glob> like this:"
16425 msgstr ""
16426
16427 #. type: verbatim
16428 #: ../fish/guestfish-commands.pod:49
16429 #, no-wrap
16430 msgid ""
16431 " glob copy-out /home/* .\n"
16432 "\n"
16433 msgstr ""
16434 " glob copy-out /home/* .\n"
16435 "\n"
16436
16437 #. type: =head2
16438 #: ../fish/guestfish-commands.pod:51
16439 msgid "display"
16440 msgstr ""
16441
16442 #. type: verbatim
16443 #: ../fish/guestfish-commands.pod:53
16444 #, no-wrap
16445 msgid ""
16446 " display filename\n"
16447 "\n"
16448 msgstr ""
16449
16450 #. type: textblock
16451 #: ../fish/guestfish-commands.pod:55
16452 msgid ""
16453 "Use C<display> (a graphical display program) to display an image file.  It "
16454 "downloads the file, and runs C<display> on it."
16455 msgstr ""
16456
16457 #. type: textblock
16458 #: ../fish/guestfish-commands.pod:58
16459 msgid ""
16460 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
16461 "environment variable.  For example to use the GNOME display program:"
16462 msgstr ""
16463
16464 #. type: verbatim
16465 #: ../fish/guestfish-commands.pod:61
16466 #, no-wrap
16467 msgid ""
16468 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
16469 "\n"
16470 msgstr ""
16471
16472 #. type: textblock
16473 #: ../fish/guestfish-commands.pod:63
16474 msgid "See also L<display(1)>."
16475 msgstr ""
16476
16477 #. type: =head2
16478 #: ../fish/guestfish-commands.pod:65
16479 msgid "echo"
16480 msgstr "echo"
16481
16482 #. type: verbatim
16483 #: ../fish/guestfish-commands.pod:67
16484 #, no-wrap
16485 msgid ""
16486 " echo [params ...]\n"
16487 "\n"
16488 msgstr ""
16489 " echo [параметри...]\n"
16490 "\n"
16491
16492 #. type: textblock
16493 #: ../fish/guestfish-commands.pod:69
16494 msgid "This echos the parameters to the terminal."
16495 msgstr ""
16496
16497 #. type: =head2
16498 #: ../fish/guestfish-commands.pod:71
16499 msgid "edit"
16500 msgstr "edit"
16501
16502 #. type: =head2
16503 #: ../fish/guestfish-commands.pod:73
16504 msgid "vi"
16505 msgstr "vi"
16506
16507 #. type: =head2
16508 #: ../fish/guestfish-commands.pod:75
16509 msgid "emacs"
16510 msgstr "emacs"
16511
16512 #. type: verbatim
16513 #: ../fish/guestfish-commands.pod:77
16514 #, no-wrap
16515 msgid ""
16516 " edit filename\n"
16517 "\n"
16518 msgstr ""
16519 " edit назва_файла\n"
16520 "\n"
16521
16522 #. type: textblock
16523 #: ../fish/guestfish-commands.pod:79
16524 msgid ""
16525 "This is used to edit a file.  It downloads the file, edits it locally using "
16526 "your editor, then uploads the result."
16527 msgstr ""
16528
16529 #. type: textblock
16530 #: ../fish/guestfish-commands.pod:82
16531 msgid ""
16532 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
16533 "or C<emacs> you will get those corresponding editors."
16534 msgstr ""
16535
16536 #. type: =head2
16537 #: ../fish/guestfish-commands.pod:86
16538 msgid "glob"
16539 msgstr "glob"
16540
16541 #. type: verbatim
16542 #: ../fish/guestfish-commands.pod:88
16543 #, no-wrap
16544 msgid ""
16545 " glob command args...\n"
16546 "\n"
16547 msgstr ""
16548 " glob команда параметри...\n"
16549 "\n"
16550
16551 #. type: textblock
16552 #: ../fish/guestfish-commands.pod:90
16553 msgid ""
16554 "Expand wildcards in any paths in the args list, and run C<command> "
16555 "repeatedly on each matching path."
16556 msgstr ""
16557
16558 #. type: textblock
16559 #: ../fish/guestfish-commands.pod:93
16560 msgid "See L</WILDCARDS AND GLOBBING>."
16561 msgstr "Див. L</WILDCARDS AND GLOBBING>."
16562
16563 #. type: =head2
16564 #: ../fish/guestfish-commands.pod:95
16565 msgid "hexedit"
16566 msgstr "hexedit"
16567
16568 #. type: verbatim
16569 #: ../fish/guestfish-commands.pod:97
16570 #, no-wrap
16571 msgid ""
16572 " hexedit <filename|device>\n"
16573 " hexedit <filename|device> <max>\n"
16574 " hexedit <filename|device> <start> <max>\n"
16575 "\n"
16576 msgstr ""
16577
16578 #. type: textblock
16579 #: ../fish/guestfish-commands.pod:101
16580 msgid ""
16581 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
16582 "device."
16583 msgstr ""
16584
16585 #. type: textblock
16586 #: ../fish/guestfish-commands.pod:104
16587 msgid ""
16588 "This command works by downloading potentially the whole file or device, "
16589 "editing it locally, then uploading it.  If the file or device is large, you "
16590 "have to specify which part you wish to edit by using C<max> and/or C<start> "
16591 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
16592 "usual modifiers allowed such as C<1M> (1 megabyte)."
16593 msgstr ""
16594
16595 #. type: textblock
16596 #: ../fish/guestfish-commands.pod:111
16597 msgid "For example to edit the first few sectors of a disk you might do:"
16598 msgstr ""
16599
16600 #. type: verbatim
16601 #: ../fish/guestfish-commands.pod:114
16602 #, no-wrap
16603 msgid ""
16604 " hexedit /dev/sda 1M\n"
16605 "\n"
16606 msgstr ""
16607 " hexedit /dev/sda 1M\n"
16608 "\n"
16609
16610 #. type: textblock
16611 #: ../fish/guestfish-commands.pod:116
16612 msgid ""
16613 "which would allow you to edit anywhere within the first megabyte of the disk."
16614 msgstr ""
16615
16616 #. type: textblock
16617 #: ../fish/guestfish-commands.pod:119
16618 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
16619 msgstr ""
16620
16621 #. type: verbatim
16622 #: ../fish/guestfish-commands.pod:121
16623 #, no-wrap
16624 msgid ""
16625 " hexedit /dev/sda1 0x400 0x400\n"
16626 "\n"
16627 msgstr ""
16628 " hexedit /dev/sda1 0x400 0x400\n"
16629 "\n"
16630
16631 #. type: textblock
16632 #: ../fish/guestfish-commands.pod:123
16633 msgid "(assuming the superblock is in the standard location)."
16634 msgstr ""
16635
16636 #. type: textblock
16637 #: ../fish/guestfish-commands.pod:125
16638 msgid ""
16639 "This command requires the external L<hexedit(1)> program.  You can specify "
16640 "another program to use by setting the C<HEXEDITOR> environment variable."
16641 msgstr ""
16642
16643 #. type: textblock
16644 #: ../fish/guestfish-commands.pod:129
16645 msgid "See also L</hexdump>."
16646 msgstr "Див. також L</hexdump>."
16647
16648 #. type: =head2
16649 #: ../fish/guestfish-commands.pod:131
16650 msgid "lcd"
16651 msgstr "lcd"
16652
16653 #. type: verbatim
16654 #: ../fish/guestfish-commands.pod:133
16655 #, no-wrap
16656 msgid ""
16657 " lcd directory\n"
16658 "\n"
16659 msgstr ""
16660
16661 #. type: textblock
16662 #: ../fish/guestfish-commands.pod:135
16663 msgid ""
16664 "Change the local directory, ie. the current directory of guestfish itself."
16665 msgstr ""
16666
16667 #. type: textblock
16668 #: ../fish/guestfish-commands.pod:138
16669 msgid "Note that C<!cd> won't do what you might expect."
16670 msgstr ""
16671
16672 #. type: =head2
16673 #: ../fish/guestfish-commands.pod:140
16674 msgid "man"
16675 msgstr "man"
16676
16677 #. type: =head2
16678 #: ../fish/guestfish-commands.pod:142
16679 msgid "manual"
16680 msgstr ""
16681
16682 #. type: verbatim
16683 #: ../fish/guestfish-commands.pod:144
16684 #, no-wrap
16685 msgid ""
16686 "  man\n"
16687 "\n"
16688 msgstr ""
16689 "  man\n"
16690 "\n"
16691
16692 #. type: textblock
16693 #: ../fish/guestfish-commands.pod:146
16694 msgid "Opens the manual page for guestfish."
16695 msgstr ""
16696
16697 #. type: =head2
16698 #: ../fish/guestfish-commands.pod:148
16699 msgid "more"
16700 msgstr "more"
16701
16702 #. type: =head2
16703 #: ../fish/guestfish-commands.pod:150
16704 msgid "less"
16705 msgstr "less"
16706
16707 #. type: verbatim
16708 #: ../fish/guestfish-commands.pod:152
16709 #, no-wrap
16710 msgid ""
16711 " more filename\n"
16712 "\n"
16713 msgstr ""
16714
16715 #. type: verbatim
16716 #: ../fish/guestfish-commands.pod:154
16717 #, no-wrap
16718 msgid ""
16719 " less filename\n"
16720 "\n"
16721 msgstr ""
16722
16723 #. type: textblock
16724 #: ../fish/guestfish-commands.pod:156
16725 msgid "This is used to view a file."
16726 msgstr ""
16727
16728 #. type: textblock
16729 #: ../fish/guestfish-commands.pod:158
16730 msgid ""
16731 "The default viewer is C<$PAGER>.  However if you use the alternate command "
16732 "C<less> you will get the C<less> command specifically."
16733 msgstr ""
16734
16735 #. type: =head2
16736 #: ../fish/guestfish-commands.pod:161
16737 msgid "reopen"
16738 msgstr "reopen"
16739
16740 #. type: verbatim
16741 #: ../fish/guestfish-commands.pod:163
16742 #, no-wrap
16743 msgid ""
16744 "  reopen\n"
16745 "\n"
16746 msgstr ""
16747
16748 #. type: textblock
16749 #: ../fish/guestfish-commands.pod:165
16750 msgid ""
16751 "Close and reopen the libguestfs handle.  It is not necessary to use this "
16752 "normally, because the handle is closed properly when guestfish exits.  "
16753 "However this is occasionally useful for testing."
16754 msgstr ""
16755
16756 #. type: =head2
16757 #: ../fish/guestfish-commands.pod:169
16758 msgid "setenv"
16759 msgstr ""
16760
16761 #. type: verbatim
16762 #: ../fish/guestfish-commands.pod:171
16763 #, no-wrap
16764 msgid ""
16765 "  setenv VAR value\n"
16766 "\n"
16767 msgstr ""
16768
16769 #. type: textblock
16770 #: ../fish/guestfish-commands.pod:173
16771 msgid "Set the environment variable C<VAR> to the string C<value>."
16772 msgstr ""
16773
16774 #. type: textblock
16775 #: ../fish/guestfish-commands.pod:175
16776 msgid ""
16777 "To print the value of an environment variable use a shell command such as:"
16778 msgstr ""
16779
16780 #. type: verbatim
16781 #: ../fish/guestfish-commands.pod:178
16782 #, no-wrap
16783 msgid ""
16784 " !echo $VAR\n"
16785 "\n"
16786 msgstr ""
16787
16788 #. type: =head2
16789 #: ../fish/guestfish-commands.pod:180
16790 msgid "sparse"
16791 msgstr "sparse"
16792
16793 #. type: verbatim
16794 #: ../fish/guestfish-commands.pod:182
16795 #, no-wrap
16796 msgid ""
16797 " sparse filename size\n"
16798 "\n"
16799 msgstr ""
16800
16801 #. type: textblock
16802 #: ../fish/guestfish-commands.pod:184
16803 msgid ""
16804 "This creates an empty sparse file of the given size, and then adds so it can "
16805 "be further examined."
16806 msgstr ""
16807
16808 #. type: textblock
16809 #: ../fish/guestfish-commands.pod:187
16810 msgid ""
16811 "In all respects it works the same as the L</alloc> command, except that the "
16812 "image file is allocated sparsely, which means that disk blocks are not "
16813 "assigned to the file until they are needed.  Sparse disk files only use "
16814 "space when written to, but they are slower and there is a danger you could "
16815 "run out of real disk space during a write operation."
16816 msgstr ""
16817
16818 #. type: =head2
16819 #: ../fish/guestfish-commands.pod:197
16820 msgid "supported"
16821 msgstr "supported"
16822
16823 #. type: verbatim
16824 #: ../fish/guestfish-commands.pod:199
16825 #, no-wrap
16826 msgid ""
16827 " supported\n"
16828 "\n"
16829 msgstr ""
16830 " supported\n"
16831 "\n"
16832
16833 #. type: textblock
16834 #: ../fish/guestfish-commands.pod:201
16835 msgid ""
16836 "This command returns a list of the optional groups known to the daemon, and "
16837 "indicates which ones are supported by this build of the libguestfs appliance."
16838 msgstr ""
16839
16840 #. type: textblock
16841 #: ../fish/guestfish-commands.pod:205
16842 msgid "See also L<guestfs(3)/AVAILABILITY>."
16843 msgstr ""
16844
16845 #. type: =head2
16846 #: ../fish/guestfish-commands.pod:207
16847 msgid "time"
16848 msgstr "time"
16849
16850 #. type: verbatim
16851 #: ../fish/guestfish-commands.pod:209
16852 #, no-wrap
16853 msgid ""
16854 " time command args...\n"
16855 "\n"
16856 msgstr ""
16857
16858 #. type: textblock
16859 #: ../fish/guestfish-commands.pod:211
16860 msgid ""
16861 "Run the command as usual, but print the elapsed time afterwards.  This can "
16862 "be useful for benchmarking operations."
16863 msgstr ""
16864
16865 #. type: =head2
16866 #: ../fish/guestfish-commands.pod:214
16867 msgid "unsetenv"
16868 msgstr ""
16869
16870 #. type: verbatim
16871 #: ../fish/guestfish-commands.pod:216
16872 #, no-wrap
16873 msgid ""
16874 "  unsetenv VAR\n"
16875 "\n"
16876 msgstr ""
16877
16878 #. type: textblock
16879 #: ../fish/guestfish-commands.pod:218
16880 msgid "Remove C<VAR> from the environment."
16881 msgstr ""
16882
16883 #. type: textblock
16884 #: ../fish/guestfish.pod:5
16885 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
16886 msgstr ""
16887
16888 #. type: verbatim
16889 #: ../fish/guestfish.pod:9
16890 #, no-wrap
16891 msgid ""
16892 " guestfish [--options] [commands]\n"
16893 "\n"
16894 msgstr ""
16895
16896 #. type: verbatim
16897 #: ../fish/guestfish.pod:11
16898 #, no-wrap
16899 msgid ""
16900 " guestfish\n"
16901 "\n"
16902 msgstr ""
16903
16904 #. type: verbatim
16905 #: ../fish/guestfish.pod:13
16906 #, no-wrap
16907 msgid ""
16908 " guestfish [--ro|--rw] -a disk.img\n"
16909 "\n"
16910 msgstr ""
16911
16912 #. type: verbatim
16913 #: ../fish/guestfish.pod:15
16914 #, no-wrap
16915 msgid ""
16916 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
16917 "\n"
16918 msgstr ""
16919
16920 #. type: verbatim
16921 #: ../fish/guestfish.pod:17
16922 #, no-wrap
16923 msgid ""
16924 " guestfish -d libvirt-domain\n"
16925 "\n"
16926 msgstr ""
16927
16928 #. type: verbatim
16929 #: ../fish/guestfish.pod:19
16930 #, no-wrap
16931 msgid ""
16932 " guestfish [--ro|--rw] -a disk.img -i\n"
16933 "\n"
16934 msgstr ""
16935
16936 #. type: verbatim
16937 #: ../fish/guestfish.pod:21
16938 #, no-wrap
16939 msgid ""
16940 " guestfish -d libvirt-domain -i\n"
16941 "\n"
16942 msgstr ""
16943
16944 #. type: textblock
16945 #: ../fish/guestfish.pod:25
16946 msgid ""
16947 "Using guestfish in read/write mode on live virtual machines can be "
16948 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
16949 "option to use guestfish safely if the disk image or virtual machine might be "
16950 "live."
16951 msgstr ""
16952
16953 #. type: textblock
16954 #: ../fish/guestfish.pod:32
16955 msgid ""
16956 "Guestfish is a shell and command-line tool for examining and modifying "
16957 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
16958 "functionality of the guestfs API, see L<guestfs(3)>."
16959 msgstr ""
16960
16961 #. type: textblock
16962 #: ../fish/guestfish.pod:36
16963 msgid ""
16964 "Guestfish gives you structured access to the libguestfs API, from shell "
16965 "scripts or the command line or interactively.  If you want to rescue a "
16966 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
16967 "command."
16968 msgstr ""
16969
16970 #. type: =head2
16971 #: ../fish/guestfish.pod:43
16972 msgid "As an interactive shell"
16973 msgstr ""
16974
16975 #. type: verbatim
16976 #: ../fish/guestfish.pod:45
16977 #, no-wrap
16978 msgid ""
16979 " $ guestfish\n"
16980 " \n"
16981 msgstr ""
16982
16983 #. type: verbatim
16984 #: ../fish/guestfish.pod:47
16985 #, no-wrap
16986 msgid ""
16987 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
16988 " editing virtual machine filesystems.\n"
16989 " \n"
16990 msgstr ""
16991
16992 #. type: verbatim
16993 #: ../fish/guestfish.pod:50
16994 #, no-wrap
16995 msgid ""
16996 " Type: 'help' for a list of commands\n"
16997 "       'man' to read the manual\n"
16998 "       'quit' to quit the shell\n"
16999 " \n"
17000 msgstr ""
17001
17002 #. type: verbatim
17003 #: ../fish/guestfish.pod:54
17004 #, no-wrap
17005 msgid ""
17006 " ><fs> add-ro disk.img\n"
17007 " ><fs> run\n"
17008 " ><fs> list-filesystems\n"
17009 " /dev/sda1: ext4\n"
17010 " /dev/vg_guest/lv_root: ext4\n"
17011 " /dev/vg_guest/lv_swap: swap\n"
17012 " ><fs> mount /dev/vg_guest/lv_root /\n"
17013 " ><fs> cat /etc/fstab\n"
17014 " # /etc/fstab\n"
17015 " # Created by anaconda\n"
17016 " [...]\n"
17017 " ><fs> exit\n"
17018 "\n"
17019 msgstr ""
17020
17021 #. type: =head2
17022 #: ../fish/guestfish.pod:67
17023 msgid "From shell scripts"
17024 msgstr ""
17025
17026 #. type: textblock
17027 #: ../fish/guestfish.pod:69
17028 msgid "Create a new C</etc/motd> file in a guest or disk image:"
17029 msgstr ""
17030
17031 #. type: verbatim
17032 #: ../fish/guestfish.pod:71
17033 #, no-wrap
17034 msgid ""
17035 " guestfish <<_EOF_\n"
17036 " add disk.img\n"
17037 " run\n"
17038 " mount /dev/vg_guest/lv_root /\n"
17039 " write /etc/motd \"Welcome, new users\"\n"
17040 " _EOF_\n"
17041 "\n"
17042 msgstr ""
17043
17044 #. type: textblock
17045 #: ../fish/guestfish.pod:78
17046 msgid "List the LVM logical volumes in a disk image:"
17047 msgstr ""
17048
17049 #. type: verbatim
17050 #: ../fish/guestfish.pod:80
17051 #, no-wrap
17052 msgid ""
17053 " guestfish -a disk.img --ro <<_EOF_\n"
17054 " run\n"
17055 " lvs\n"
17056 " _EOF_\n"
17057 "\n"
17058 msgstr ""
17059
17060 #. type: textblock
17061 #: ../fish/guestfish.pod:85
17062 msgid "List all the filesystems in a disk image:"
17063 msgstr ""
17064
17065 #. type: verbatim
17066 #: ../fish/guestfish.pod:87
17067 #, no-wrap
17068 msgid ""
17069 " guestfish -a disk.img --ro <<_EOF_\n"
17070 " run\n"
17071 " list-filesystems\n"
17072 " _EOF_\n"
17073 "\n"
17074 msgstr ""
17075
17076 #. type: =head2
17077 #: ../fish/guestfish.pod:92
17078 msgid "On one command line"
17079 msgstr ""
17080
17081 #. type: textblock
17082 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
17083 msgid "Update C</etc/resolv.conf> in a guest:"
17084 msgstr ""
17085
17086 #. type: verbatim
17087 #: ../fish/guestfish.pod:96
17088 #, no-wrap
17089 msgid ""
17090 " guestfish \\\n"
17091 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
17092 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
17093 "\n"
17094 msgstr ""
17095
17096 #. type: textblock
17097 #: ../fish/guestfish.pod:100
17098 msgid "Edit C</boot/grub/grub.conf> interactively:"
17099 msgstr ""
17100
17101 #. type: verbatim
17102 #: ../fish/guestfish.pod:102
17103 #, no-wrap
17104 msgid ""
17105 " guestfish --rw --add disk.img \\\n"
17106 "   --mount /dev/vg_guest/lv_root \\\n"
17107 "   --mount /dev/sda1:/boot \\\n"
17108 "   edit /boot/grub/grub.conf\n"
17109 "\n"
17110 msgstr ""
17111
17112 #. type: =head2
17113 #: ../fish/guestfish.pod:107
17114 msgid "Mount disks automatically"
17115 msgstr ""
17116
17117 #. type: textblock
17118 #: ../fish/guestfish.pod:109
17119 msgid ""
17120 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
17121 msgstr ""
17122
17123 #. type: verbatim
17124 #: ../fish/guestfish.pod:112
17125 #, no-wrap
17126 msgid ""
17127 " guestfish --ro -a disk.img -i cat /etc/group\n"
17128 "\n"
17129 msgstr ""
17130
17131 #. type: verbatim
17132 #: ../fish/guestfish.pod:114
17133 #, no-wrap
17134 msgid ""
17135 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
17136 "\n"
17137 msgstr ""
17138
17139 #. type: textblock
17140 #: ../fish/guestfish.pod:116
17141 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
17142 msgstr ""
17143
17144 #. type: verbatim
17145 #: ../fish/guestfish.pod:118
17146 #, no-wrap
17147 msgid ""
17148 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
17149 "\n"
17150 msgstr ""
17151
17152 #. type: =head2
17153 #: ../fish/guestfish.pod:120
17154 msgid "As a script interpreter"
17155 msgstr ""
17156
17157 #. type: textblock
17158 #: ../fish/guestfish.pod:122
17159 msgid "Create a 100MB disk containing an ext2-formatted partition:"
17160 msgstr ""
17161
17162 #. type: verbatim
17163 #: ../fish/guestfish.pod:124
17164 #, no-wrap
17165 msgid ""
17166 " #!/usr/bin/guestfish -f\n"
17167 " sparse test1.img 100M\n"
17168 " run\n"
17169 " part-disk /dev/sda mbr\n"
17170 " mkfs ext2 /dev/sda1\n"
17171 "\n"
17172 msgstr ""
17173
17174 #. type: =head2
17175 #: ../fish/guestfish.pod:130
17176 msgid "Start with a prepared disk"
17177 msgstr ""
17178
17179 #. type: textblock
17180 #: ../fish/guestfish.pod:132
17181 msgid ""
17182 "An alternate way to create a 100MB disk called C<test1.img> containing a "
17183 "single ext2-formatted partition:"
17184 msgstr ""
17185
17186 #. type: verbatim
17187 #: ../fish/guestfish.pod:135
17188 #, no-wrap
17189 msgid ""
17190 " guestfish -N fs\n"
17191 "\n"
17192 msgstr ""
17193
17194 #. type: textblock
17195 #: ../fish/guestfish.pod:137
17196 msgid "To list what is available do:"
17197 msgstr ""
17198
17199 #. type: verbatim
17200 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:1009
17201 #, no-wrap
17202 msgid ""
17203 " guestfish -N help | less\n"
17204 "\n"
17205 msgstr ""
17206
17207 #. type: =head2
17208 #: ../fish/guestfish.pod:141
17209 msgid "Remote control"
17210 msgstr "Дистанційне керування"
17211
17212 #. type: verbatim
17213 #: ../fish/guestfish.pod:143
17214 #, no-wrap
17215 msgid ""
17216 " eval \"`guestfish --listen`\"\n"
17217 " guestfish --remote add-ro disk.img\n"
17218 " guestfish --remote run\n"
17219 " guestfish --remote lvs\n"
17220 "\n"
17221 msgstr ""
17222 " eval \"`guestfish --listen`\"\n"
17223 " guestfish --remote add-ro disk.img\n"
17224 " guestfish --remote run\n"
17225 " guestfish --remote lvs\n"
17226 "\n"
17227
17228 #. type: textblock
17229 #: ../fish/guestfish.pod:154
17230 msgid "Displays general help on options."
17231 msgstr ""
17232
17233 #. type: =item
17234 #: ../fish/guestfish.pod:158
17235 msgid "B<--cmd-help>"
17236 msgstr "B<--cmd-help>"
17237
17238 #. type: textblock
17239 #: ../fish/guestfish.pod:160
17240 msgid "Lists all available guestfish commands."
17241 msgstr ""
17242
17243 #. type: =item
17244 #: ../fish/guestfish.pod:162
17245 msgid "B<-h cmd>"
17246 msgstr "B<-h команда>"
17247
17248 #. type: =item
17249 #: ../fish/guestfish.pod:164
17250 msgid "B<--cmd-help cmd>"
17251 msgstr "B<--cmd-help команда>"
17252
17253 #. type: textblock
17254 #: ../fish/guestfish.pod:166
17255 msgid "Displays detailed help on a single command C<cmd>."
17256 msgstr ""
17257
17258 #. type: =item
17259 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:87
17260 msgid "B<-a image>"
17261 msgstr "B<-a образ>"
17262
17263 #. type: =item
17264 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:89
17265 msgid "B<--add image>"
17266 msgstr "B<--add образ>"
17267
17268 #. type: textblock
17269 #: ../fish/guestfish.pod:172
17270 msgid "Add a block device or virtual machine image to the shell."
17271 msgstr ""
17272
17273 #. type: textblock
17274 #: ../fish/guestfish.pod:177
17275 msgid ""
17276 "Using this flag is mostly equivalent to using the C<add> command, with "
17277 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
17278 "the I<--format=...> flag was given."
17279 msgstr ""
17280
17281 #. type: textblock
17282 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:100
17283 msgid ""
17284 "When used in conjunction with the I<-d> option, this specifies the libvirt "
17285 "URI to use.  The default is to use the default libvirt connection."
17286 msgstr ""
17287
17288 #. type: =item
17289 #: ../fish/guestfish.pod:189
17290 msgid "B<--csh>"
17291 msgstr "B<--csh>"
17292
17293 #. type: textblock
17294 #: ../fish/guestfish.pod:191
17295 msgid ""
17296 "If using the I<--listen> option and a csh-like shell, use this option.  See "
17297 "section L</REMOTE CONTROL AND CSH> below."
17298 msgstr ""
17299
17300 #. type: =item
17301 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:104
17302 msgid "B<-d libvirt-domain>"
17303 msgstr "B<-d домен-libvirt>"
17304
17305 #. type: =item
17306 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:106
17307 msgid "B<--domain libvirt-domain>"
17308 msgstr "B<--domain домен-libvirt>"
17309
17310 #. type: textblock
17311 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:108
17312 msgid ""
17313 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
17314 "used, then any libvirt domain can be used.  However in write mode, only "
17315 "libvirt domains which are shut down can be named here."
17316 msgstr ""
17317
17318 #. type: textblock
17319 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:112
17320 msgid "Domain UUIDs can be used instead of names."
17321 msgstr ""
17322
17323 #. type: textblock
17324 #: ../fish/guestfish.pod:204
17325 msgid ""
17326 "Using this flag is mostly equivalent to using the C<add-domain> command, "
17327 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
17328 "if the I<--format:...> flag was given."
17329 msgstr ""
17330
17331 #. type: =item
17332 #: ../fish/guestfish.pod:208
17333 msgid "B<-D>"
17334 msgstr "B<-D>"
17335
17336 #. type: =item
17337 #: ../fish/guestfish.pod:210
17338 msgid "B<--no-dest-paths>"
17339 msgstr "B<--no-dest-paths>"
17340
17341 #. type: textblock
17342 #: ../fish/guestfish.pod:212
17343 msgid ""
17344 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
17345 "to hit the tab key to complete paths on the guest filesystem, but this "
17346 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
17347 "allow this feature to be disabled."
17348 msgstr ""
17349
17350 #. type: textblock
17351 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:128
17352 msgid ""
17353 "When prompting for keys and passphrases, guestfish normally turns echoing "
17354 "off so you cannot see what you are typing.  If you are not worried about "
17355 "Tempest attacks and there is no one else in the room you can specify this "
17356 "flag to see what you are typing."
17357 msgstr ""
17358
17359 #. type: =item
17360 #: ../fish/guestfish.pod:224
17361 msgid "B<-f file>"
17362 msgstr "B<-f файл>"
17363
17364 #. type: =item
17365 #: ../fish/guestfish.pod:226
17366 msgid "B<--file file>"
17367 msgstr "B<--file файл>"
17368
17369 #. type: textblock
17370 #: ../fish/guestfish.pod:228
17371 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
17372 msgstr ""
17373
17374 #. type: verbatim
17375 #: ../fish/guestfish.pod:231
17376 #, no-wrap
17377 msgid ""
17378 " #!/usr/bin/guestfish -f\n"
17379 "\n"
17380 msgstr ""
17381 " #!/usr/bin/guestfish -f\n"
17382 "\n"
17383
17384 #. type: verbatim
17385 #: ../fish/guestfish.pod:244
17386 #, no-wrap
17387 msgid ""
17388 " guestfish --format=raw -a disk.img\n"
17389 "\n"
17390 msgstr ""
17391 " guestfish --format=raw -a disk.img\n"
17392 "\n"
17393
17394 #. type: verbatim
17395 #: ../fish/guestfish.pod:248
17396 #, no-wrap
17397 msgid ""
17398 " guestfish --format=raw -a disk.img --format -a another.img\n"
17399 "\n"
17400 msgstr ""
17401 " guestfish --format=raw -a disk.img --format -a another.img\n"
17402 "\n"
17403
17404 #. type: textblock
17405 #: ../fish/guestfish.pod:253
17406 msgid ""
17407 "If you have untrusted raw-format guest disk images, you should use this "
17408 "option to specify the disk format.  This avoids a possible security problem "
17409 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
17410 msgstr ""
17411
17412 #. type: =item
17413 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:157
17414 msgid "B<--inspector>"
17415 msgstr "B<--inspector>"
17416
17417 #. type: textblock
17418 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:159
17419 msgid ""
17420 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
17421 "system and mount filesystems as they would be mounted on the real virtual "
17422 "machine."
17423 msgstr ""
17424
17425 #. type: textblock
17426 #: ../fish/guestfish.pod:266
17427 msgid "Typical usage is either:"
17428 msgstr ""
17429
17430 #. type: verbatim
17431 #: ../fish/guestfish.pod:268
17432 #, no-wrap
17433 msgid ""
17434 " guestfish -d myguest -i\n"
17435 "\n"
17436 msgstr ""
17437 " guestfish -d myguest -i\n"
17438 "\n"
17439
17440 #. type: textblock
17441 #: ../fish/guestfish.pod:270
17442 msgid "(for an inactive libvirt domain called I<myguest>), or:"
17443 msgstr ""
17444
17445 #. type: verbatim
17446 #: ../fish/guestfish.pod:272
17447 #, no-wrap
17448 msgid ""
17449 " guestfish --ro -d myguest -i\n"
17450 "\n"
17451 msgstr ""
17452 " guestfish --ro -d myguest -i\n"
17453 "\n"
17454
17455 #. type: textblock
17456 #: ../fish/guestfish.pod:274
17457 msgid "(for active domains, readonly), or specify the block device directly:"
17458 msgstr ""
17459
17460 #. type: verbatim
17461 #: ../fish/guestfish.pod:276
17462 #, no-wrap
17463 msgid ""
17464 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
17465 "\n"
17466 msgstr ""
17467 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
17468 "\n"
17469
17470 #. type: textblock
17471 #: ../fish/guestfish.pod:278
17472 msgid ""
17473 "Note that the command line syntax changed slightly over older versions of "
17474 "guestfish.  You can still use the old syntax:"
17475 msgstr ""
17476
17477 #. type: verbatim
17478 #: ../fish/guestfish.pod:281
17479 #, no-wrap
17480 msgid ""
17481 " guestfish [--ro] -i disk.img\n"
17482 "\n"
17483 msgstr ""
17484 " guestfish [--ro] -i disk.img\n"
17485 "\n"
17486
17487 #. type: verbatim
17488 #: ../fish/guestfish.pod:283
17489 #, no-wrap
17490 msgid ""
17491 " guestfish [--ro] -i libvirt-domain\n"
17492 "\n"
17493 msgstr ""
17494
17495 #. type: textblock
17496 #: ../fish/guestfish.pod:285
17497 msgid ""
17498 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
17499 "then using other commands to mount the filesystems that were found."
17500 msgstr ""
17501
17502 #. type: =item
17503 #: ../fish/guestfish.pod:294
17504 msgid "B<--listen>"
17505 msgstr "B<--listen>"
17506
17507 #. type: textblock
17508 #: ../fish/guestfish.pod:296
17509 msgid ""
17510 "Fork into the background and listen for remote commands.  See section L</"
17511 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
17512 msgstr ""
17513
17514 #. type: =item
17515 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:168
17516 msgid "B<--live>"
17517 msgstr "B<--live>"
17518
17519 #. type: textblock
17520 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:170
17521 msgid ""
17522 "Connect to a live virtual machine.  (Experimental, see L<guestfs(3)/"
17523 "ATTACHING TO RUNNING DAEMONS>)."
17524 msgstr ""
17525
17526 #. type: =item
17527 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:173
17528 msgid "B<-m dev[:mountpoint[:options]]>"
17529 msgstr ""
17530
17531 #. type: =item
17532 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:175
17533 msgid "B<--mount dev[:mountpoint[:options]]>"
17534 msgstr ""
17535
17536 #. type: textblock
17537 #: ../fish/guestfish.pod:308
17538 msgid "Mount the named partition or logical volume on the given mountpoint."
17539 msgstr ""
17540
17541 #. type: textblock
17542 #: ../fish/guestfish.pod:310
17543 msgid "If the mountpoint is omitted, it defaults to C</>."
17544 msgstr ""
17545
17546 #. type: textblock
17547 #: ../fish/guestfish.pod:312
17548 msgid "You have to mount something on C</> before most commands will work."
17549 msgstr ""
17550
17551 #. type: textblock
17552 #: ../fish/guestfish.pod:314
17553 msgid ""
17554 "If any I<-m> or I<--mount> options are given, the guest is automatically "
17555 "launched."
17556 msgstr ""
17557
17558 #. type: textblock
17559 #: ../fish/guestfish.pod:317
17560 msgid ""
17561 "If you don't know what filesystems a disk image contains, you can either run "
17562 "guestfish without this option, then list the partitions, filesystems and LVs "
17563 "available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
17564 "commands), or you can use the L<virt-filesystems(1)> program."
17565 msgstr ""
17566
17567 #. type: textblock
17568 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:183
17569 msgid ""
17570 "The third (and rarely used) part of the mount parameter is the list of mount "
17571 "options used to mount the underlying filesystem.  If this is not given, then "
17572 "the mount options are either the empty string or C<ro> (the latter if the "
17573 "I<--ro> flag is used).  By specifying the mount options, you override this "
17574 "default choice.  Probably the only time you would use this is to enable ACLs "
17575 "and/or extended attributes if the filesystem can support them:"
17576 msgstr ""
17577
17578 #. type: verbatim
17579 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:191
17580 #, no-wrap
17581 msgid ""
17582 " -m /dev/sda1:/:acl,user_xattr\n"
17583 "\n"
17584 msgstr ""
17585
17586 #. type: textblock
17587 #: ../fish/guestfish.pod:333
17588 msgid "Using this flag is equivalent to using the C<mount-options> command."
17589 msgstr ""
17590
17591 #. type: =item
17592 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:193
17593 #: ../resize/virt-resize.pod:358
17594 msgid "B<-n>"
17595 msgstr "B<-n>"
17596
17597 #. type: =item
17598 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:195
17599 msgid "B<--no-sync>"
17600 msgstr "B<--no-sync>"
17601
17602 #. type: textblock
17603 #: ../fish/guestfish.pod:339
17604 msgid ""
17605 "Disable autosync.  This is enabled by default.  See the discussion of "
17606 "autosync in the L<guestfs(3)> manpage."
17607 msgstr ""
17608
17609 #. type: =item
17610 #: ../fish/guestfish.pod:342
17611 msgid "B<-N type>"
17612 msgstr "B<-N тип>"
17613
17614 #. type: =item
17615 #: ../fish/guestfish.pod:344
17616 msgid "B<--new type>"
17617 msgstr "B<--new тип>"
17618
17619 #. type: =item
17620 #: ../fish/guestfish.pod:346
17621 msgid "B<-N help>"
17622 msgstr "B<-N help>"
17623
17624 #. type: textblock
17625 #: ../fish/guestfish.pod:348
17626 msgid ""
17627 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
17628 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
17629 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
17630 "IMAGES> below."
17631 msgstr ""
17632
17633 #. type: =item
17634 #: ../fish/guestfish.pod:353
17635 msgid "B<--progress-bars>"
17636 msgstr "B<--progress-bars>"
17637
17638 #. type: textblock
17639 #: ../fish/guestfish.pod:355
17640 msgid "Enable progress bars, even when guestfish is used non-interactively."
17641 msgstr ""
17642
17643 #. type: textblock
17644 #: ../fish/guestfish.pod:357
17645 msgid ""
17646 "Progress bars are enabled by default when guestfish is used as an "
17647 "interactive shell."
17648 msgstr ""
17649
17650 #. type: =item
17651 #: ../fish/guestfish.pod:360
17652 msgid "B<--no-progress-bars>"
17653 msgstr "B<--no-progress-bars>"
17654
17655 #. type: textblock
17656 #: ../fish/guestfish.pod:362
17657 msgid "Disable progress bars."
17658 msgstr ""
17659
17660 #. type: =item
17661 #: ../fish/guestfish.pod:364
17662 msgid "B<--remote[=pid]>"
17663 msgstr "B<--remote[=pid]>"
17664
17665 #. type: textblock
17666 #: ../fish/guestfish.pod:366
17667 msgid ""
17668 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
17669 "CONTROL GUESTFISH OVER A SOCKET> below."
17670 msgstr ""
17671
17672 #. type: =item
17673 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:239
17674 #: ../rescue/virt-rescue.pod:161
17675 msgid "B<-r>"
17676 msgstr "B<-r>"
17677
17678 #. type: =item
17679 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:241
17680 #: ../rescue/virt-rescue.pod:163
17681 msgid "B<--ro>"
17682 msgstr "B<--ro>"
17683
17684 #. type: textblock
17685 #: ../fish/guestfish.pod:373
17686 msgid ""
17687 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
17688 "mounts are done read-only."
17689 msgstr ""
17690
17691 #. type: textblock
17692 #: ../fish/guestfish.pod:376 ../rescue/virt-rescue.pod:167
17693 msgid ""
17694 "The option must always be used if the disk image or virtual machine might be "
17695 "running, and is generally recommended in cases where you don't need write "
17696 "access to the disk."
17697 msgstr ""
17698
17699 #. type: textblock
17700 #: ../fish/guestfish.pod:380
17701 msgid ""
17702 "Note that prepared disk images created with I<-N> are not affected by this "
17703 "option.  Also commands like C<add> are not affected - you have to specify "
17704 "the C<readonly:true> option explicitly if you need it."
17705 msgstr ""
17706
17707 #. type: textblock
17708 #: ../fish/guestfish.pod:384
17709 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
17710 msgstr ""
17711
17712 #. type: =item
17713 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:253
17714 #: ../rescue/virt-rescue.pod:173
17715 msgid "B<--selinux>"
17716 msgstr "B<--selinux>"
17717
17718 #. type: textblock
17719 #: ../fish/guestfish.pod:388
17720 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
17721 msgstr ""
17722
17723 #. type: textblock
17724 #: ../fish/guestfish.pod:394
17725 msgid ""
17726 "Enable very verbose messages.  This is particularly useful if you find a bug."
17727 msgstr ""
17728
17729 #. type: textblock
17730 #: ../fish/guestfish.pod:401
17731 msgid "Display the guestfish / libguestfs version number and exit."
17732 msgstr ""
17733
17734 #. type: =item
17735 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:269
17736 #: ../rescue/virt-rescue.pod:190
17737 msgid "B<-w>"
17738 msgstr "B<-w>"
17739
17740 #. type: =item
17741 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:271
17742 #: ../rescue/virt-rescue.pod:192
17743 msgid "B<--rw>"
17744 msgstr "B<--rw>"
17745
17746 #. type: textblock
17747 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:273
17748 msgid ""
17749 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
17750 "mounts are done read-write."
17751 msgstr ""
17752
17753 #. type: textblock
17754 #: ../fish/guestfish.pod:410
17755 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
17756 msgstr ""
17757
17758 #. type: textblock
17759 #: ../fish/guestfish.pod:414
17760 msgid "Echo each command before executing it."
17761 msgstr ""
17762
17763 #. type: =head1
17764 #: ../fish/guestfish.pod:418
17765 msgid "COMMANDS ON COMMAND LINE"
17766 msgstr ""
17767
17768 #. type: textblock
17769 #: ../fish/guestfish.pod:420
17770 msgid ""
17771 "Any additional (non-option) arguments are treated as commands to execute."
17772 msgstr ""
17773
17774 #. type: textblock
17775 #: ../fish/guestfish.pod:423
17776 msgid ""
17777 "Commands to execute should be separated by a colon (C<:>), where the colon "
17778 "is a separate parameter.  Thus:"
17779 msgstr ""
17780
17781 #. type: verbatim
17782 #: ../fish/guestfish.pod:426
17783 #, no-wrap
17784 msgid ""
17785 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
17786 "\n"
17787 msgstr ""
17788
17789 #. type: textblock
17790 #: ../fish/guestfish.pod:428
17791 msgid ""
17792 "If there are no additional arguments, then we enter a shell, either an "
17793 "interactive shell with a prompt (if the input is a terminal) or a non-"
17794 "interactive shell."
17795 msgstr ""
17796
17797 #. type: textblock
17798 #: ../fish/guestfish.pod:432
17799 msgid ""
17800 "In either command line mode or non-interactive shell, the first command that "
17801 "gives an error causes the whole shell to exit.  In interactive mode (with a "
17802 "prompt) if a command fails, you can continue to enter commands."
17803 msgstr ""
17804
17805 #. type: =head1
17806 #: ../fish/guestfish.pod:437
17807 msgid "USING launch (OR run)"
17808 msgstr ""
17809
17810 #. type: textblock
17811 #: ../fish/guestfish.pod:439
17812 msgid ""
17813 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
17814 "then launch it, then mount any disks you need, and finally issue actions/"
17815 "commands.  So the general order of the day is:"
17816 msgstr ""
17817
17818 #. type: textblock
17819 #: ../fish/guestfish.pod:447
17820 msgid "add or -a/--add"
17821 msgstr ""
17822
17823 #. type: textblock
17824 #: ../fish/guestfish.pod:451
17825 msgid "launch (aka run)"
17826 msgstr ""
17827
17828 #. type: textblock
17829 #: ../fish/guestfish.pod:455
17830 msgid "mount or -m/--mount"
17831 msgstr ""
17832
17833 #. type: textblock
17834 #: ../fish/guestfish.pod:459
17835 msgid "any other commands"
17836 msgstr ""
17837
17838 #. type: textblock
17839 #: ../fish/guestfish.pod:463
17840 msgid ""
17841 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
17842 "guest before mounting or performing any other commands."
17843 msgstr ""
17844
17845 #. type: textblock
17846 #: ../fish/guestfish.pod:466
17847 msgid ""
17848 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
17849 "I<--new> options were given then C<run> is done automatically, simply "
17850 "because guestfish can't perform the action you asked for without doing this."
17851 msgstr ""
17852
17853 #. type: =head1
17854 #: ../fish/guestfish.pod:471
17855 msgid "OPENING DISKS FOR READ AND WRITE"
17856 msgstr ""
17857
17858 #. type: textblock
17859 #: ../fish/guestfish.pod:473
17860 msgid ""
17861 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
17862 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
17863 "I<-i> and I<-m> open disk images read-only or for writing."
17864 msgstr ""
17865
17866 #. type: textblock
17867 #: ../fish/guestfish.pod:478
17868 msgid ""
17869 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to "
17870 "opening disk images supplied on the command line for write.  To open a disk "
17871 "image read-only you have to do I<-a image --ro>."
17872 msgstr ""
17873
17874 #. type: textblock
17875 #: ../fish/guestfish.pod:482
17876 msgid ""
17877 "This matters: If you accidentally open a live VM disk image writable then "
17878 "you will cause irreversible disk corruption."
17879 msgstr ""
17880
17881 #. type: textblock
17882 #: ../fish/guestfish.pod:485
17883 msgid ""
17884 "In a future libguestfs we intend to change the default the other way.  Disk "
17885 "images will be opened read-only.  You will have to either specify "
17886 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
17887 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
17888 "access for disk images specified by those other command line options."
17889 msgstr ""
17890
17891 #. type: textblock
17892 #: ../fish/guestfish.pod:492
17893 msgid ""
17894 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
17895 "which does nothing (it is already the default).  However it is highly "
17896 "recommended that you use this option to indicate that you need write access, "
17897 "and prepare your scripts for the day when this option will be required for "
17898 "write access."
17899 msgstr ""
17900
17901 #. type: textblock
17902 #: ../fish/guestfish.pod:498
17903 msgid ""
17904 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any "
17905 "other libguestfs program apart from guestfish and guestmount."
17906 msgstr ""
17907
17908 #. type: =head1
17909 #: ../fish/guestfish.pod:501
17910 msgid "QUOTING"
17911 msgstr ""
17912
17913 #. type: textblock
17914 #: ../fish/guestfish.pod:503
17915 msgid ""
17916 "You can quote ordinary parameters using either single or double quotes.  For "
17917 "example:"
17918 msgstr ""
17919
17920 #. type: verbatim
17921 #: ../fish/guestfish.pod:506
17922 #, no-wrap
17923 msgid ""
17924 " add \"file with a space.img\"\n"
17925 "\n"
17926 msgstr ""
17927
17928 #. type: verbatim
17929 #: ../fish/guestfish.pod:508
17930 #, no-wrap
17931 msgid ""
17932 " rm '/file name'\n"
17933 "\n"
17934 msgstr ""
17935
17936 #. type: verbatim
17937 #: ../fish/guestfish.pod:510
17938 #, no-wrap
17939 msgid ""
17940 " rm '/\"'\n"
17941 "\n"
17942 msgstr ""
17943
17944 #. type: textblock
17945 #: ../fish/guestfish.pod:512
17946 msgid ""
17947 "A few commands require a list of strings to be passed.  For these, use a "
17948 "whitespace-separated list, enclosed in quotes.  Strings containing "
17949 "whitespace to be passed through must be enclosed in single quotes.  A "
17950 "literal single quote must be escaped with a backslash."
17951 msgstr ""
17952
17953 #. type: verbatim
17954 #: ../fish/guestfish.pod:517
17955 #, no-wrap
17956 msgid ""
17957 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
17958 " command \"/bin/echo 'foo      bar'\"\n"
17959 " command \"/bin/echo \\'foo\\'\"\n"
17960 "\n"
17961 msgstr ""
17962
17963 #. type: =head2
17964 #: ../fish/guestfish.pod:521
17965 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
17966 msgstr ""
17967
17968 #. type: textblock
17969 #: ../fish/guestfish.pod:523
17970 msgid ""
17971 "In double-quoted arguments (only) use backslash to insert special characters:"
17972 msgstr ""
17973
17974 #. type: =item
17975 #: ../fish/guestfish.pod:528
17976 msgid "C<\\a>"
17977 msgstr ""
17978
17979 #. type: textblock
17980 #: ../fish/guestfish.pod:530
17981 msgid "Alert (bell) character."
17982 msgstr ""
17983
17984 #. type: =item
17985 #: ../fish/guestfish.pod:532
17986 msgid "C<\\b>"
17987 msgstr ""
17988
17989 #. type: textblock
17990 #: ../fish/guestfish.pod:534
17991 msgid "Backspace character."
17992 msgstr ""
17993
17994 #. type: =item
17995 #: ../fish/guestfish.pod:536
17996 msgid "C<\\f>"
17997 msgstr ""
17998
17999 #. type: textblock
18000 #: ../fish/guestfish.pod:538
18001 msgid "Form feed character."
18002 msgstr ""
18003
18004 #. type: =item
18005 #: ../fish/guestfish.pod:540
18006 msgid "C<\\n>"
18007 msgstr ""
18008
18009 #. type: textblock
18010 #: ../fish/guestfish.pod:542
18011 msgid "Newline character."
18012 msgstr ""
18013
18014 #. type: =item
18015 #: ../fish/guestfish.pod:544
18016 msgid "C<\\r>"
18017 msgstr ""
18018
18019 #. type: textblock
18020 #: ../fish/guestfish.pod:546
18021 msgid "Carriage return character."
18022 msgstr ""
18023
18024 #. type: =item
18025 #: ../fish/guestfish.pod:548
18026 msgid "C<\\t>"
18027 msgstr ""
18028
18029 #. type: textblock
18030 #: ../fish/guestfish.pod:550
18031 msgid "Horizontal tab character."
18032 msgstr ""
18033
18034 #. type: =item
18035 #: ../fish/guestfish.pod:552
18036 msgid "C<\\v>"
18037 msgstr ""
18038
18039 #. type: textblock
18040 #: ../fish/guestfish.pod:554
18041 msgid "Vertical tab character."
18042 msgstr ""
18043
18044 #. type: =item
18045 #: ../fish/guestfish.pod:556
18046 msgid "C<\\\">"
18047 msgstr ""
18048
18049 #. type: textblock
18050 #: ../fish/guestfish.pod:558
18051 msgid "A literal double quote character."
18052 msgstr ""
18053
18054 #. type: =item
18055 #: ../fish/guestfish.pod:560
18056 msgid "C<\\ooo>"
18057 msgstr ""
18058
18059 #. type: textblock
18060 #: ../fish/guestfish.pod:562
18061 msgid ""
18062 "A character with octal value I<ooo>.  There must be precisely 3 octal digits "
18063 "(unlike C)."
18064 msgstr ""
18065
18066 #. type: =item
18067 #: ../fish/guestfish.pod:565
18068 msgid "C<\\xhh>"
18069 msgstr ""
18070
18071 #. type: textblock
18072 #: ../fish/guestfish.pod:567
18073 msgid ""
18074 "A character with hex value I<hh>.  There must be precisely 2 hex digits."
18075 msgstr ""
18076
18077 #. type: textblock
18078 #: ../fish/guestfish.pod:570
18079 msgid ""
18080 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
18081 "strings."
18082 msgstr ""
18083
18084 #. type: =item
18085 #: ../fish/guestfish.pod:573
18086 msgid "C<\\\\>"
18087 msgstr ""
18088
18089 #. type: textblock
18090 #: ../fish/guestfish.pod:575
18091 msgid "A literal backslash character."
18092 msgstr ""
18093
18094 #. type: =head1
18095 #: ../fish/guestfish.pod:579
18096 msgid "OPTIONAL ARGUMENTS"
18097 msgstr ""
18098
18099 #. type: textblock
18100 #: ../fish/guestfish.pod:581
18101 msgid ""
18102 "Some commands take optional arguments.  These arguments appear in this "
18103 "documentation as C<[argname:..]>.  You can use them as in these examples:"
18104 msgstr ""
18105
18106 #. type: verbatim
18107 #: ../fish/guestfish.pod:585
18108 #, no-wrap
18109 msgid ""
18110 " add-drive-opts filename\n"
18111 "\n"
18112 msgstr ""
18113
18114 #. type: verbatim
18115 #: ../fish/guestfish.pod:587
18116 #, no-wrap
18117 msgid ""
18118 " add-drive-opts filename readonly:true\n"
18119 "\n"
18120 msgstr ""
18121
18122 #. type: verbatim
18123 #: ../fish/guestfish.pod:589
18124 #, no-wrap
18125 msgid ""
18126 " add-drive-opts filename format:qcow2 readonly:false\n"
18127 "\n"
18128 msgstr ""
18129
18130 #. type: textblock
18131 #: ../fish/guestfish.pod:591
18132 msgid ""
18133 "Each optional argument can appear at most once.  All optional arguments must "
18134 "appear after the required ones."
18135 msgstr ""
18136
18137 #. type: =head1
18138 #: ../fish/guestfish.pod:594
18139 msgid "NUMBERS"
18140 msgstr "ЧИСЛА"
18141
18142 #. type: textblock
18143 #: ../fish/guestfish.pod:596
18144 msgid ""
18145 "This section applies to all commands which can take integers as parameters."
18146 msgstr ""
18147
18148 #. type: =head2
18149 #: ../fish/guestfish.pod:599
18150 msgid "SIZE SUFFIX"
18151 msgstr ""
18152
18153 #. type: textblock
18154 #: ../fish/guestfish.pod:601
18155 msgid ""
18156 "When the command takes a parameter measured in bytes, you can use one of the "
18157 "following suffixes to specify kilobytes, megabytes and larger sizes:"
18158 msgstr ""
18159
18160 #. type: =item
18161 #: ../fish/guestfish.pod:607
18162 msgid "B<k> or B<K> or B<KiB>"
18163 msgstr "B<k>, B<K> або B<KiB>"
18164
18165 #. type: textblock
18166 #: ../fish/guestfish.pod:609
18167 msgid "The size in kilobytes (multiplied by 1024)."
18168 msgstr ""
18169
18170 #. type: =item
18171 #: ../fish/guestfish.pod:611
18172 msgid "B<KB>"
18173 msgstr "B<KB>"
18174
18175 #. type: textblock
18176 #: ../fish/guestfish.pod:613
18177 msgid "The size in SI 1000 byte units."
18178 msgstr ""
18179
18180 #. type: =item
18181 #: ../fish/guestfish.pod:615
18182 msgid "B<M> or B<MiB>"
18183 msgstr "B<M> або B<MiB>"
18184
18185 #. type: textblock
18186 #: ../fish/guestfish.pod:617
18187 msgid "The size in megabytes (multiplied by 1048576)."
18188 msgstr ""
18189
18190 #. type: =item
18191 #: ../fish/guestfish.pod:619
18192 msgid "B<MB>"
18193 msgstr "B<MB>"
18194
18195 #. type: textblock
18196 #: ../fish/guestfish.pod:621
18197 msgid "The size in SI 1000000 byte units."
18198 msgstr ""
18199
18200 #. type: =item
18201 #: ../fish/guestfish.pod:623
18202 msgid "B<G> or B<GiB>"
18203 msgstr "B<G> або B<GiB>"
18204
18205 #. type: textblock
18206 #: ../fish/guestfish.pod:625
18207 msgid "The size in gigabytes (multiplied by 2**30)."
18208 msgstr "Розмір у гігабайтах (з множником 2**30)."
18209
18210 #. type: =item
18211 #: ../fish/guestfish.pod:627
18212 msgid "B<GB>"
18213 msgstr "B<GB>"
18214
18215 #. type: textblock
18216 #: ../fish/guestfish.pod:629
18217 msgid "The size in SI 10**9 byte units."
18218 msgstr "Розмір у одиницях СІ: 10**9 байтів."
18219
18220 #. type: =item
18221 #: ../fish/guestfish.pod:631
18222 msgid "B<T> or B<TiB>"
18223 msgstr "B<T> або B<TiB>"
18224
18225 #. type: textblock
18226 #: ../fish/guestfish.pod:633
18227 msgid "The size in terabytes (multiplied by 2**40)."
18228 msgstr "Розмір у терабайтах (з множником 2**40)."
18229
18230 #. type: =item
18231 #: ../fish/guestfish.pod:635
18232 msgid "B<TB>"
18233 msgstr "B<TB>"
18234
18235 #. type: textblock
18236 #: ../fish/guestfish.pod:637
18237 msgid "The size in SI 10**12 byte units."
18238 msgstr ""
18239
18240 #. type: =item
18241 #: ../fish/guestfish.pod:639
18242 msgid "B<P> or B<PiB>"
18243 msgstr "B<P> або B<PiB>"
18244
18245 #. type: textblock
18246 #: ../fish/guestfish.pod:641
18247 msgid "The size in petabytes (multiplied by 2**50)."
18248 msgstr ""
18249
18250 #. type: =item
18251 #: ../fish/guestfish.pod:643
18252 msgid "B<PB>"
18253 msgstr "B<PB>"
18254
18255 #. type: textblock
18256 #: ../fish/guestfish.pod:645
18257 msgid "The size in SI 10**15 byte units."
18258 msgstr ""
18259
18260 #. type: =item
18261 #: ../fish/guestfish.pod:647
18262 msgid "B<E> or B<EiB>"
18263 msgstr "B<E> або B<EiB>"
18264
18265 #. type: textblock
18266 #: ../fish/guestfish.pod:649
18267 msgid "The size in exabytes (multiplied by 2**60)."
18268 msgstr ""
18269
18270 #. type: =item
18271 #: ../fish/guestfish.pod:651
18272 msgid "B<EB>"
18273 msgstr "B<EB>"
18274
18275 #. type: textblock
18276 #: ../fish/guestfish.pod:653
18277 msgid "The size in SI 10**18 byte units."
18278 msgstr ""
18279
18280 #. type: =item
18281 #: ../fish/guestfish.pod:655
18282 msgid "B<Z> or B<ZiB>"
18283 msgstr "B<Z> або B<ZiB>"
18284
18285 #. type: textblock
18286 #: ../fish/guestfish.pod:657
18287 msgid "The size in zettabytes (multiplied by 2**70)."
18288 msgstr ""
18289
18290 #. type: =item
18291 #: ../fish/guestfish.pod:659
18292 msgid "B<ZB>"
18293 msgstr "B<ZB>"
18294
18295 #. type: textblock
18296 #: ../fish/guestfish.pod:661
18297 msgid "The size in SI 10**21 byte units."
18298 msgstr ""
18299
18300 #. type: =item
18301 #: ../fish/guestfish.pod:663
18302 msgid "B<Y> or B<YiB>"
18303 msgstr "B<Y> або B<YiB>"
18304
18305 #. type: textblock
18306 #: ../fish/guestfish.pod:665
18307 msgid "The size in yottabytes (multiplied by 2**80)."
18308 msgstr ""
18309
18310 #. type: =item
18311 #: ../fish/guestfish.pod:667
18312 msgid "B<YB>"
18313 msgstr "B<YB>"
18314
18315 #. type: textblock
18316 #: ../fish/guestfish.pod:669
18317 msgid "The size in SI 10**24 byte units."
18318 msgstr ""
18319
18320 #. type: verbatim
18321 #: ../fish/guestfish.pod:675
18322 #, no-wrap
18323 msgid ""
18324 " truncate-size /file 1G\n"
18325 "\n"
18326 msgstr ""
18327
18328 #. type: textblock
18329 #: ../fish/guestfish.pod:677
18330 msgid "would truncate the file to 1 gigabyte."
18331 msgstr ""
18332
18333 #. type: textblock
18334 #: ../fish/guestfish.pod:679
18335 msgid ""
18336 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
18337 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
18338 "suffix will probably not do what you expect."
18339 msgstr ""
18340
18341 #. type: =head2
18342 #: ../fish/guestfish.pod:683
18343 msgid "OCTAL AND HEXADECIMAL NUMBERS"
18344 msgstr ""
18345
18346 #. type: textblock
18347 #: ../fish/guestfish.pod:685
18348 msgid ""
18349 "For specifying the radix (base) use the C convention: C<0> to prefix an "
18350 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
18351 msgstr ""
18352
18353 #. type: verbatim
18354 #: ../fish/guestfish.pod:688
18355 #, no-wrap
18356 msgid ""
18357 " 1234      decimal number 1234\n"
18358 " 02322     octal number, equivalent to decimal 1234\n"
18359 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
18360 "\n"
18361 msgstr ""
18362
18363 #. type: textblock
18364 #: ../fish/guestfish.pod:692
18365 msgid ""
18366 "When using the C<chmod> command, you almost always want to specify an octal "
18367 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
18368 "L<chmod(1)> program):"
18369 msgstr ""
18370
18371 #. type: verbatim
18372 #: ../fish/guestfish.pod:696
18373 #, no-wrap
18374 msgid ""
18375 " chmod 0777 /public  # OK\n"
18376 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
18377 "\n"
18378 msgstr ""
18379
18380 #. type: textblock
18381 #: ../fish/guestfish.pod:699
18382 msgid ""
18383 "Commands that return numbers usually print them in decimal, but some "
18384 "commands print numbers in other radices (eg. C<umask> prints the mode in "
18385 "octal, preceeded by C<0>)."
18386 msgstr ""
18387
18388 #. type: =head1
18389 #: ../fish/guestfish.pod:703
18390 msgid "WILDCARDS AND GLOBBING"
18391 msgstr ""
18392
18393 #. type: textblock
18394 #: ../fish/guestfish.pod:705
18395 msgid ""
18396 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
18397 "(globbing) by default.  So for example the following will not do what you "
18398 "expect:"
18399 msgstr ""
18400
18401 #. type: verbatim
18402 #: ../fish/guestfish.pod:709
18403 #, no-wrap
18404 msgid ""
18405 " rm-rf /home/*\n"
18406 "\n"
18407 msgstr ""
18408
18409 #. type: textblock
18410 #: ../fish/guestfish.pod:711
18411 msgid ""
18412 "Assuming you don't have a directory called literally C</home/*> then the "
18413 "above command will return an error."
18414 msgstr ""
18415
18416 #. type: textblock
18417 #: ../fish/guestfish.pod:714
18418 msgid "To perform wildcard expansion, use the C<glob> command."
18419 msgstr ""
18420
18421 #. type: verbatim
18422 #: ../fish/guestfish.pod:716
18423 #, no-wrap
18424 msgid ""
18425 " glob rm-rf /home/*\n"
18426 "\n"
18427 msgstr ""
18428
18429 #. type: textblock
18430 #: ../fish/guestfish.pod:718
18431 msgid ""
18432 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
18433 "many times), equivalent to:"
18434 msgstr ""
18435
18436 #. type: verbatim
18437 #: ../fish/guestfish.pod:721
18438 #, no-wrap
18439 msgid ""
18440 " rm-rf /home/jim\n"
18441 " rm-rf /home/joe\n"
18442 " rm-rf /home/mary\n"
18443 "\n"
18444 msgstr ""
18445
18446 #. type: textblock
18447 #: ../fish/guestfish.pod:725
18448 msgid "C<glob> only works on simple guest paths and not on device names."
18449 msgstr ""
18450
18451 #. type: textblock
18452 #: ../fish/guestfish.pod:727
18453 msgid ""
18454 "If you have several parameters, each containing a wildcard, then glob will "
18455 "perform a Cartesian product."
18456 msgstr ""
18457
18458 #. type: =head1
18459 #: ../fish/guestfish.pod:730
18460 msgid "COMMENTS"
18461 msgstr "КОМЕНТАРІ"
18462
18463 #. type: textblock
18464 #: ../fish/guestfish.pod:732
18465 msgid ""
18466 "Any line which starts with a I<#> character is treated as a comment and "
18467 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
18468 "a command.  For example:"
18469 msgstr ""
18470
18471 #. type: verbatim
18472 #: ../fish/guestfish.pod:736
18473 #, no-wrap
18474 msgid ""
18475 " # this is a comment\n"
18476 "         # this is a comment\n"
18477 " foo # NOT a comment\n"
18478 "\n"
18479 msgstr ""
18480
18481 #. type: textblock
18482 #: ../fish/guestfish.pod:740
18483 msgid "Blank lines are also ignored."
18484 msgstr ""
18485
18486 #. type: =head1
18487 #: ../fish/guestfish.pod:742
18488 msgid "RUNNING COMMANDS LOCALLY"
18489 msgstr ""
18490
18491 #. type: textblock
18492 #: ../fish/guestfish.pod:744
18493 msgid ""
18494 "Any line which starts with a I<!> character is treated as a command sent to "
18495 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
18496 msgstr ""
18497
18498 #. type: verbatim
18499 #: ../fish/guestfish.pod:748
18500 #, no-wrap
18501 msgid ""
18502 " !mkdir local\n"
18503 " tgz-out /remote local/remote-data.tar.gz\n"
18504 "\n"
18505 msgstr ""
18506
18507 #. type: textblock
18508 #: ../fish/guestfish.pod:751
18509 msgid ""
18510 "will create a directory C<local> on the host, and then export the contents "
18511 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
18512 "(See C<tgz-out>)."
18513 msgstr ""
18514
18515 #. type: textblock
18516 #: ../fish/guestfish.pod:755
18517 msgid ""
18518 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
18519 "effect, due to the way that subprocesses work in Unix."
18520 msgstr ""
18521
18522 #. type: =head2
18523 #: ../fish/guestfish.pod:758
18524 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
18525 msgstr ""
18526
18527 #. type: textblock
18528 #: ../fish/guestfish.pod:760
18529 msgid ""
18530 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
18531 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
18532 "and executed as guestfish commands."
18533 msgstr ""
18534
18535 #. type: textblock
18536 #: ../fish/guestfish.pod:764
18537 msgid ""
18538 "Thus you can use shell script to construct arbitrary guestfish commands "
18539 "which are then parsed by guestfish."
18540 msgstr ""
18541
18542 #. type: textblock
18543 #: ../fish/guestfish.pod:767
18544 msgid ""
18545 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
18546 "through C</foo.100>) using guestfish commands alone.  However this is simple "
18547 "if we use a shell script to create the guestfish commands for us:"
18548 msgstr ""
18549
18550 #. type: verbatim
18551 #: ../fish/guestfish.pod:772
18552 #, no-wrap
18553 msgid ""
18554 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
18555 "\n"
18556 msgstr ""
18557
18558 #. type: textblock
18559 #: ../fish/guestfish.pod:774
18560 msgid "or with names like C</foo.001>:"
18561 msgstr ""
18562
18563 #. type: verbatim
18564 #: ../fish/guestfish.pod:776
18565 #, no-wrap
18566 msgid ""
18567 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
18568 "\n"
18569 msgstr ""
18570
18571 #. type: textblock
18572 #: ../fish/guestfish.pod:778
18573 msgid ""
18574 "When using guestfish interactively it can be helpful to just run the shell "
18575 "script first (ie. remove the initial C<E<lt>> character so it is just an "
18576 "ordinary I<!> local command), see what guestfish commands it would run, and "
18577 "when you are happy with those prepend the C<E<lt>> character to run the "
18578 "guestfish commands for real."
18579 msgstr ""
18580
18581 #. type: =head1
18582 #: ../fish/guestfish.pod:784
18583 msgid "PIPES"
18584 msgstr "КАНАЛИ"
18585
18586 #. type: textblock
18587 #: ../fish/guestfish.pod:786
18588 msgid ""
18589 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
18590 "command (a guestfish command) to the second command (any host command).  For "
18591 "example:"
18592 msgstr ""
18593
18594 #. type: verbatim
18595 #: ../fish/guestfish.pod:790
18596 #, no-wrap
18597 msgid ""
18598 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
18599 "\n"
18600 msgstr ""
18601
18602 #. type: textblock
18603 #: ../fish/guestfish.pod:792
18604 msgid ""
18605 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
18606 "program).  The above command would list all accounts in the guest filesystem "
18607 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
18608 msgstr ""
18609
18610 #. type: verbatim
18611 #: ../fish/guestfish.pod:797
18612 #, no-wrap
18613 msgid ""
18614 " hexdump /bin/ls | head\n"
18615 " list-devices | tail -1\n"
18616 " tgz-out / - | tar ztf -\n"
18617 "\n"
18618 msgstr ""
18619
18620 #. type: textblock
18621 #: ../fish/guestfish.pod:801
18622 msgid ""
18623 "The space before the pipe symbol is required, any space after the pipe "
18624 "symbol is optional.  Everything after the pipe symbol is just passed "
18625 "straight to the host shell, so it can contain redirections, globs and "
18626 "anything else that makes sense on the host side."
18627 msgstr ""
18628
18629 #. type: textblock
18630 #: ../fish/guestfish.pod:806
18631 msgid ""
18632 "To use a literal argument which begins with a pipe symbol, you have to quote "
18633 "it, eg:"
18634 msgstr ""
18635
18636 #. type: verbatim
18637 #: ../fish/guestfish.pod:809
18638 #, no-wrap
18639 msgid ""
18640 " echo \"|\"\n"
18641 "\n"
18642 msgstr ""
18643
18644 #. type: =head1
18645 #: ../fish/guestfish.pod:811
18646 msgid "HOME DIRECTORIES"
18647 msgstr ""
18648
18649 #. type: textblock
18650 #: ../fish/guestfish.pod:813
18651 msgid ""
18652 "If a parameter starts with the character C<~> then the tilde may be expanded "
18653 "as a home directory path (either C<~> for the current user's home directory, "
18654 "or C<~user> for another user)."
18655 msgstr ""
18656
18657 #. type: textblock
18658 #: ../fish/guestfish.pod:817
18659 msgid ""
18660 "Note that home directory expansion happens for users known I<on the host>, "
18661 "not in the guest filesystem."
18662 msgstr ""
18663
18664 #. type: textblock
18665 #: ../fish/guestfish.pod:820
18666 msgid ""
18667 "To use a literal argument which begins with a tilde, you have to quote it, "
18668 "eg:"
18669 msgstr ""
18670
18671 #. type: verbatim
18672 #: ../fish/guestfish.pod:823
18673 #, no-wrap
18674 msgid ""
18675 " echo \"~\"\n"
18676 "\n"
18677 msgstr ""
18678
18679 #. type: =head2
18680 #: ../fish/guestfish.pod:825 ../src/guestfs.pod:519
18681 msgid "ENCRYPTED DISKS"
18682 msgstr "ЗАШИФРОВАНІ ДИСКИ"
18683
18684 #. type: textblock
18685 #: ../fish/guestfish.pod:827
18686 msgid ""
18687 "Libguestfs has some support for Linux guests encrypted according to the "
18688 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
18689 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
18690 "LUKS is supported."
18691 msgstr ""
18692
18693 #. type: textblock
18694 #: ../fish/guestfish.pod:832
18695 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
18696 msgstr ""
18697
18698 #. type: verbatim
18699 #: ../fish/guestfish.pod:834
18700 #, no-wrap
18701 msgid ""
18702 " ><fs> vfs-type /dev/sda2\n"
18703 " crypto_LUKS\n"
18704 "\n"
18705 msgstr ""
18706
18707 #. type: textblock
18708 #: ../fish/guestfish.pod:837
18709 msgid ""
18710 "Then open those devices using L</luks-open>.  This creates a device-mapper "
18711 "device called C</dev/mapper/luksdev>."
18712 msgstr ""
18713
18714 #. type: verbatim
18715 #: ../fish/guestfish.pod:840
18716 #, no-wrap
18717 msgid ""
18718 " ><fs> luks-open /dev/sda2 luksdev\n"
18719 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
18720 "\n"
18721 msgstr ""
18722
18723 #. type: textblock
18724 #: ../fish/guestfish.pod:843
18725 msgid ""
18726 "Finally you have to tell LVM to scan for volume groups on the newly created "
18727 "mapper device:"
18728 msgstr ""
18729
18730 #. type: verbatim
18731 #: ../fish/guestfish.pod:846
18732 #, no-wrap
18733 msgid ""
18734 " vgscan\n"
18735 " vg-activate-all true\n"
18736 "\n"
18737 msgstr ""
18738
18739 #. type: textblock
18740 #: ../fish/guestfish.pod:849
18741 msgid "The logical volume(s) can now be mounted in the usual way."
18742 msgstr ""
18743
18744 #. type: textblock
18745 #: ../fish/guestfish.pod:851
18746 msgid ""
18747 "Before closing a LUKS device you must unmount any logical volumes on it and "
18748 "deactivate the volume groups by calling C<vg-activate false VG> on each "
18749 "one.  Then you can close the mapper device:"
18750 msgstr ""
18751
18752 #. type: verbatim
18753 #: ../fish/guestfish.pod:855
18754 #, no-wrap
18755 msgid ""
18756 " vg-activate false /dev/VG\n"
18757 " luks-close /dev/mapper/luksdev\n"
18758 "\n"
18759 msgstr ""
18760
18761 #. type: textblock
18762 #: ../fish/guestfish.pod:860
18763 msgid ""
18764 "If a path is prefixed with C<win:> then you can use Windows-style drive "
18765 "letters and paths (with some limitations).  The following commands are "
18766 "equivalent:"
18767 msgstr ""
18768
18769 #. type: verbatim
18770 #: ../fish/guestfish.pod:864
18771 #, no-wrap
18772 msgid ""
18773 " file /WINDOWS/system32/config/system.LOG\n"
18774 "\n"
18775 msgstr ""
18776
18777 #. type: verbatim
18778 #: ../fish/guestfish.pod:866
18779 #, no-wrap
18780 msgid ""
18781 " file win:\\windows\\system32\\config\\system.log\n"
18782 "\n"
18783 msgstr ""
18784
18785 #. type: verbatim
18786 #: ../fish/guestfish.pod:868
18787 #, no-wrap
18788 msgid ""
18789 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
18790 "\n"
18791 msgstr ""
18792
18793 #. type: textblock
18794 #: ../fish/guestfish.pod:870
18795 msgid ""
18796 "The parameter is rewritten \"behind the scenes\" by looking up the position "
18797 "where the drive is mounted, prepending that to the path, changing all "
18798 "backslash characters to forward slash, then resolving the result using L</"
18799 "case-sensitive-path>.  For example if the E: drive was mounted on C</e> then "
18800 "the parameter might be rewritten like this:"
18801 msgstr ""
18802
18803 #. type: verbatim
18804 #: ../fish/guestfish.pod:876
18805 #, no-wrap
18806 msgid ""
18807 " win:e:\\foo\\bar => /e/FOO/bar\n"
18808 "\n"
18809 msgstr ""
18810
18811 #. type: textblock
18812 #: ../fish/guestfish.pod:878
18813 msgid "This only works in argument positions that expect a path."
18814 msgstr ""
18815
18816 #. type: =head1
18817 #: ../fish/guestfish.pod:880
18818 msgid "UPLOADING AND DOWNLOADING FILES"
18819 msgstr ""
18820
18821 #. type: textblock
18822 #: ../fish/guestfish.pod:882
18823 msgid ""
18824 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
18825 "others which upload from or download to a local file, you can use the "
18826 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
18827 msgstr ""
18828
18829 #. type: verbatim
18830 #: ../fish/guestfish.pod:886
18831 #, no-wrap
18832 msgid ""
18833 " upload - /foo\n"
18834 "\n"
18835 msgstr ""
18836
18837 #. type: textblock
18838 #: ../fish/guestfish.pod:888
18839 msgid ""
18840 "reads stdin and creates from that a file C</foo> in the disk image, and:"
18841 msgstr ""
18842
18843 #. type: verbatim
18844 #: ../fish/guestfish.pod:891
18845 #, no-wrap
18846 msgid ""
18847 " tar-out /etc - | tar tf -\n"
18848 "\n"
18849 msgstr ""
18850
18851 #. type: textblock
18852 #: ../fish/guestfish.pod:893
18853 msgid ""
18854 "writes the tarball to stdout and then pipes that into the external \"tar\" "
18855 "command (see L</PIPES>)."
18856 msgstr ""
18857
18858 #. type: textblock
18859 #: ../fish/guestfish.pod:896
18860 msgid ""
18861 "When using C<-> to read from stdin, the input is read up to the end of "
18862 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
18863 "some arbitrary end marker:"
18864 msgstr ""
18865
18866 #. type: verbatim
18867 #: ../fish/guestfish.pod:900
18868 #, no-wrap
18869 msgid ""
18870 " upload -<<END /foo\n"
18871 " input line 1\n"
18872 " input line 2\n"
18873 " input line 3\n"
18874 " END\n"
18875 "\n"
18876 msgstr ""
18877
18878 #. type: textblock
18879 #: ../fish/guestfish.pod:906
18880 msgid ""
18881 "Any string of characters can be used instead of C<END>.  The end marker must "
18882 "appear on a line of its own, without any preceeding or following characters "
18883 "(not even spaces)."
18884 msgstr ""
18885
18886 #. type: textblock
18887 #: ../fish/guestfish.pod:910
18888 msgid ""
18889 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
18890 "upload local files (so-called \"FileIn\" parameters in the generator)."
18891 msgstr ""
18892
18893 #. type: =head1
18894 #: ../fish/guestfish.pod:913
18895 msgid "EXIT ON ERROR BEHAVIOUR"
18896 msgstr ""
18897
18898 #. type: textblock
18899 #: ../fish/guestfish.pod:915
18900 msgid ""
18901 "By default, guestfish will ignore any errors when in interactive mode (ie. "
18902 "taking commands from a human over a tty), and will exit on the first error "
18903 "in non-interactive mode (scripts, commands given on the command line)."
18904 msgstr ""
18905
18906 #. type: textblock
18907 #: ../fish/guestfish.pod:920
18908 msgid ""
18909 "If you prefix a command with a I<-> character, then that command will not "
18910 "cause guestfish to exit, even if that (one) command returns an error."
18911 msgstr ""
18912
18913 #. type: =head1
18914 #: ../fish/guestfish.pod:924
18915 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
18916 msgstr ""
18917
18918 #. type: textblock
18919 #: ../fish/guestfish.pod:926
18920 msgid ""
18921 "Guestfish can be remote-controlled over a socket.  This is useful "
18922 "particularly in shell scripts where you want to make several different "
18923 "changes to a filesystem, but you don't want the overhead of starting up a "
18924 "guestfish process each time."
18925 msgstr ""
18926
18927 #. type: textblock
18928 #: ../fish/guestfish.pod:931
18929 msgid "Start a guestfish server process using:"
18930 msgstr ""
18931
18932 #. type: verbatim
18933 #: ../fish/guestfish.pod:933
18934 #, no-wrap
18935 msgid ""
18936 " eval \"`guestfish --listen`\"\n"
18937 "\n"
18938 msgstr ""
18939
18940 #. type: textblock
18941 #: ../fish/guestfish.pod:935
18942 msgid "and then send it commands by doing:"
18943 msgstr ""
18944
18945 #. type: verbatim
18946 #: ../fish/guestfish.pod:937
18947 #, no-wrap
18948 msgid ""
18949 " guestfish --remote cmd [...]\n"
18950 "\n"
18951 msgstr ""
18952
18953 #. type: textblock
18954 #: ../fish/guestfish.pod:939
18955 msgid "To cause the server to exit, send it the exit command:"
18956 msgstr ""
18957
18958 #. type: textblock
18959 #: ../fish/guestfish.pod:943
18960 msgid ""
18961 "Note that the server will normally exit if there is an error in a command.  "
18962 "You can change this in the usual way.  See section L</EXIT ON ERROR "
18963 "BEHAVIOUR>."
18964 msgstr ""
18965
18966 #. type: =head2
18967 #: ../fish/guestfish.pod:947
18968 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
18969 msgstr ""
18970
18971 #. type: textblock
18972 #: ../fish/guestfish.pod:949
18973 msgid ""
18974 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
18975 "is how the I<--remote> option knows where to send the commands.  You can "
18976 "have several guestfish listener processes running using:"
18977 msgstr ""
18978
18979 #. type: verbatim
18980 #: ../fish/guestfish.pod:953
18981 #, no-wrap
18982 msgid ""
18983 " eval \"`guestfish --listen`\"\n"
18984 " pid1=$GUESTFISH_PID\n"
18985 " eval \"`guestfish --listen`\"\n"
18986 " pid2=$GUESTFISH_PID\n"
18987 " ...\n"
18988 " guestfish --remote=$pid1 cmd\n"
18989 " guestfish --remote=$pid2 cmd\n"
18990 "\n"
18991 msgstr ""
18992
18993 #. type: =head2
18994 #: ../fish/guestfish.pod:961
18995 msgid "REMOTE CONTROL AND CSH"
18996 msgstr ""
18997
18998 #. type: textblock
18999 #: ../fish/guestfish.pod:963
19000 msgid ""
19001 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
19002 "option:"
19003 msgstr ""
19004
19005 #. type: verbatim
19006 #: ../fish/guestfish.pod:966
19007 #, no-wrap
19008 msgid ""
19009 " eval \"`guestfish --listen --csh`\"\n"
19010 "\n"
19011 msgstr ""
19012
19013 #. type: =head2
19014 #: ../fish/guestfish.pod:968
19015 msgid "REMOTE CONTROL DETAILS"
19016 msgstr ""
19017
19018 #. type: textblock
19019 #: ../fish/guestfish.pod:970
19020 msgid ""
19021 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
19022 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
19023 "and C<$PID> is the process ID of the server."
19024 msgstr ""
19025
19026 #. type: textblock
19027 #: ../fish/guestfish.pod:974
19028 msgid "Guestfish client and server versions must match exactly."
19029 msgstr ""
19030
19031 #. type: =head2
19032 #: ../fish/guestfish.pod:976
19033 msgid "REMOTE CONTROL RUN COMMAND HANGING"
19034 msgstr ""
19035
19036 #. type: textblock
19037 #: ../fish/guestfish.pod:978
19038 msgid ""
19039 "Using the C<run> (or C<launch>) command remotely in a command substitution "
19040 "context hangs, ie. don't do (note the backquotes):"
19041 msgstr ""
19042
19043 #. type: verbatim
19044 #: ../fish/guestfish.pod:981
19045 #, fuzzy, no-wrap
19046 #| msgid ""
19047 #| " guestfish --ro -d myguest -i\n"
19048 #| "\n"
19049 msgid ""
19050 " a=`guestfish --remote run`\n"
19051 "\n"
19052 msgstr ""
19053 " guestfish --ro -d myguest -i\n"
19054 "\n"
19055
19056 #. type: textblock
19057 #: ../fish/guestfish.pod:983
19058 msgid ""
19059 "Since the C<run> command produces no output on stdout, this is not useful "
19060 "anyway.  For further information see L<https://bugzilla.redhat.com/show_bug."
19061 "cgi?id=592910>."
19062 msgstr ""
19063
19064 #. type: =head1
19065 #: ../fish/guestfish.pod:987
19066 msgid "PREPARED DISK IMAGES"
19067 msgstr ""
19068
19069 #. type: textblock
19070 #: ../fish/guestfish.pod:989
19071 msgid ""
19072 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
19073 "preformatted disk images that guestfish can make for you to save typing.  "
19074 "This is particularly useful for testing purposes.  This option is used "
19075 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
19076 "can be mixed with I<-a>)."
19077 msgstr ""
19078
19079 #. type: textblock
19080 #: ../fish/guestfish.pod:995
19081 msgid ""
19082 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
19083 "the second and so on.  Existing files in the current directory are "
19084 "I<overwritten>."
19085 msgstr ""
19086
19087 #. type: textblock
19088 #: ../fish/guestfish.pod:999
19089 msgid ""
19090 "The type briefly describes how the disk should be sized, partitioned, how "
19091 "filesystem(s) should be created, and how content should be added.  "
19092 "Optionally the type can be followed by extra parameters, separated by C<:> "
19093 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
19094 "allocated disk, containing a single partition, with the partition formatted "
19095 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
19096 "disk instead."
19097 msgstr ""
19098
19099 #. type: textblock
19100 #: ../fish/guestfish.pod:1007
19101 msgid "To list the available types and any extra parameters they take, run:"
19102 msgstr ""
19103
19104 #. type: textblock
19105 #: ../fish/guestfish.pod:1011
19106 msgid ""
19107 "Note that the prepared filesystem is not mounted.  You would usually have to "
19108 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
19109 msgstr ""
19110
19111 #. type: textblock
19112 #: ../fish/guestfish.pod:1015
19113 msgid ""
19114 "If any I<-N> or I<--new> options are given, the guest is automatically "
19115 "launched."
19116 msgstr ""
19117
19118 #. type: textblock
19119 #: ../fish/guestfish.pod:1020
19120 msgid "Create a 100MB disk with an ext4-formatted partition:"
19121 msgstr ""
19122
19123 #. type: verbatim
19124 #: ../fish/guestfish.pod:1022
19125 #, no-wrap
19126 msgid ""
19127 " guestfish -N fs:ext4\n"
19128 "\n"
19129 msgstr ""
19130
19131 #. type: textblock
19132 #: ../fish/guestfish.pod:1024
19133 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
19134 msgstr ""
19135
19136 #. type: verbatim
19137 #: ../fish/guestfish.pod:1026
19138 #, no-wrap
19139 msgid ""
19140 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
19141 "\n"
19142 msgstr ""
19143
19144 #. type: textblock
19145 #: ../fish/guestfish.pod:1028
19146 msgid "Create a blank 200MB disk:"
19147 msgstr ""
19148
19149 #. type: verbatim
19150 #: ../fish/guestfish.pod:1030
19151 #, no-wrap
19152 msgid ""
19153 " guestfish -N disk:200M\n"
19154 "\n"
19155 msgstr ""
19156
19157 #. type: =head1
19158 #: ../fish/guestfish.pod:1032
19159 msgid "PROGRESS BARS"
19160 msgstr ""
19161
19162 #. type: textblock
19163 #: ../fish/guestfish.pod:1034
19164 msgid ""
19165 "Some (not all) long-running commands send progress notification messages as "
19166 "they are running.  Guestfish turns these messages into progress bars."
19167 msgstr ""
19168
19169 #. type: textblock
19170 #: ../fish/guestfish.pod:1038
19171 msgid ""
19172 "When a command that supports progress bars takes longer than two seconds to "
19173 "run, and if progress bars are enabled, then you will see one appearing below "
19174 "the command:"
19175 msgstr ""
19176
19177 #. type: verbatim
19178 #: ../fish/guestfish.pod:1042
19179 #, no-wrap
19180 msgid ""
19181 " ><fs> copy-size /large-file /another-file 2048M\n"
19182 " / 10% [#####-----------------------------------------] 00:30\n"
19183 "\n"
19184 msgstr ""
19185
19186 #. type: textblock
19187 #: ../fish/guestfish.pod:1045
19188 msgid ""
19189 "The spinner on the left hand side moves round once for every progress "
19190 "notification received from the backend.  This is a (reasonably) golden "
19191 "assurance that the command is \"doing something\" even if the progress bar "
19192 "is not moving, because the command is able to send the progress "
19193 "notifications.  When the bar reaches 100% and the command finishes, the "
19194 "spinner disappears."
19195 msgstr ""
19196
19197 #. type: textblock
19198 #: ../fish/guestfish.pod:1052
19199 msgid ""
19200 "Progress bars are enabled by default when guestfish is used interactively.  "
19201 "You can enable them even for non-interactive modes using I<--progress-bars>, "
19202 "and you can disable them completely using I<--no-progress-bars>."
19203 msgstr ""
19204
19205 #. type: =head1
19206 #: ../fish/guestfish.pod:1057
19207 msgid "GUESTFISH COMMANDS"
19208 msgstr ""
19209
19210 #. type: textblock
19211 #: ../fish/guestfish.pod:1059
19212 msgid ""
19213 "The commands in this section are guestfish convenience commands, in other "
19214 "words, they are not part of the L<guestfs(3)> API."
19215 msgstr ""
19216
19217 #. type: =head2
19218 #: ../fish/guestfish.pod:1062
19219 msgid "help"
19220 msgstr "help"
19221
19222 #. type: verbatim
19223 #: ../fish/guestfish.pod:1064
19224 #, no-wrap
19225 msgid ""
19226 " help\n"
19227 " help cmd\n"
19228 "\n"
19229 msgstr ""
19230 " help\n"
19231 " help команда\n"
19232 "\n"
19233
19234 #. type: textblock
19235 #: ../fish/guestfish.pod:1067
19236 msgid "Without any parameter, this provides general help."
19237 msgstr "Без параметра показує загальну довідкову інформацію."
19238
19239 #. type: textblock
19240 #: ../fish/guestfish.pod:1069
19241 msgid "With a C<cmd> parameter, this displays detailed help for that command."
19242 msgstr ""
19243
19244 #. type: =head2
19245 #: ../fish/guestfish.pod:1071
19246 msgid "quit | exit"
19247 msgstr ""
19248
19249 #. type: textblock
19250 #: ../fish/guestfish.pod:1073
19251 msgid "This exits guestfish.  You can also use C<^D> key."
19252 msgstr ""
19253
19254 #. type: textblock
19255 #: ../fish/guestfish.pod:1075
19256 msgid "@FISH_COMMANDS@"
19257 msgstr ""
19258
19259 #. type: =head1
19260 #: ../fish/guestfish.pod:1077
19261 msgid "COMMANDS"
19262 msgstr "КОМАНДИ"
19263
19264 #. type: textblock
19265 #: ../fish/guestfish.pod:1079 ../src/guestfs.pod:1475
19266 msgid "@ACTIONS@"
19267 msgstr "@ACTIONS@"
19268
19269 #. type: textblock
19270 #: ../fish/guestfish.pod:1083
19271 msgid ""
19272 "guestfish returns 0 if the commands completed without error, or 1 if there "
19273 "was an error."
19274 msgstr ""
19275
19276 #. type: =item
19277 #: ../fish/guestfish.pod:1090
19278 msgid "EDITOR"
19279 msgstr "РЕДАКТОР"
19280
19281 #. type: textblock
19282 #: ../fish/guestfish.pod:1092
19283 msgid ""
19284 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
19285 "C<vi>."
19286 msgstr ""
19287
19288 #. type: =item
19289 #: ../fish/guestfish.pod:1095 ../src/guestfs.pod:3078
19290 msgid "FEBOOTSTRAP_KERNEL"
19291 msgstr ""
19292
19293 #. type: =item
19294 #: ../fish/guestfish.pod:1097 ../src/guestfs.pod:3080
19295 msgid "FEBOOTSTRAP_MODULES"
19296 msgstr ""
19297
19298 #. type: textblock
19299 #: ../fish/guestfish.pod:1099 ../src/guestfs.pod:3082
19300 msgid ""
19301 "These two environment variables allow the kernel that libguestfs uses in the "
19302 "appliance to be selected.  If C<$FEBOOTSTRAP_KERNEL> is not set, then the "
19303 "most recent host kernel is chosen.  For more information about kernel "
19304 "selection, see L<febootstrap-supermin-helper(8)>.  This feature is only "
19305 "available in febootstrap E<ge> 3.8."
19306 msgstr ""
19307
19308 #. type: =item
19309 #: ../fish/guestfish.pod:1105
19310 msgid "GUESTFISH_DISPLAY_IMAGE"
19311 msgstr ""
19312
19313 #. type: textblock
19314 #: ../fish/guestfish.pod:1107
19315 msgid ""
19316 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images.  "
19317 "If not set, it uses L<display(1)>."
19318 msgstr ""
19319
19320 #. type: =item
19321 #: ../fish/guestfish.pod:1110
19322 msgid "GUESTFISH_PID"
19323 msgstr ""
19324
19325 #. type: textblock
19326 #: ../fish/guestfish.pod:1112
19327 msgid ""
19328 "Used with the I<--remote> option to specify the remote guestfish process to "
19329 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
19330 msgstr ""
19331
19332 #. type: =item
19333 #: ../fish/guestfish.pod:1116
19334 msgid "HEXEDITOR"
19335 msgstr ""
19336
19337 #. type: textblock
19338 #: ../fish/guestfish.pod:1118
19339 msgid ""
19340 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
19341 "not specified, the external L<hexedit(1)> program is used."
19342 msgstr ""
19343
19344 #. type: =item
19345 #: ../fish/guestfish.pod:1122
19346 msgid "HOME"
19347 msgstr "ДОМІВКА"
19348
19349 #. type: textblock
19350 #: ../fish/guestfish.pod:1124
19351 msgid ""
19352 "If compiled with GNU readline support, various files in the home directory "
19353 "can be used.  See L</FILES>."
19354 msgstr ""
19355
19356 #. type: =item
19357 #: ../fish/guestfish.pod:1127 ../src/guestfs.pod:3088
19358 msgid "LIBGUESTFS_APPEND"
19359 msgstr ""
19360
19361 #. type: textblock
19362 #: ../fish/guestfish.pod:1129 ../src/guestfs.pod:3090
19363 msgid "Pass additional options to the guest kernel."
19364 msgstr ""
19365
19366 #. type: =item
19367 #: ../fish/guestfish.pod:1131 ../src/guestfs.pod:3092
19368 msgid "LIBGUESTFS_DEBUG"
19369 msgstr "LIBGUESTFS_DEBUG"
19370
19371 #. type: textblock
19372 #: ../fish/guestfish.pod:1133
19373 msgid ""
19374 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
19375 "effect as using the B<-v> option."
19376 msgstr ""
19377
19378 #. type: =item
19379 #: ../fish/guestfish.pod:1136 ../src/guestfs.pod:3097
19380 msgid "LIBGUESTFS_MEMSIZE"
19381 msgstr "LIBGUESTFS_MEMSIZE"
19382
19383 #. type: textblock
19384 #: ../fish/guestfish.pod:1138 ../src/guestfs.pod:3099
19385 msgid ""
19386 "Set the memory allocated to the qemu process, in megabytes.  For example:"
19387 msgstr ""
19388
19389 #. type: verbatim
19390 #: ../fish/guestfish.pod:1141 ../src/guestfs.pod:3102
19391 #, no-wrap
19392 msgid ""
19393 " LIBGUESTFS_MEMSIZE=700\n"
19394 "\n"
19395 msgstr ""
19396 " LIBGUESTFS_MEMSIZE=700\n"
19397 "\n"
19398
19399 #. type: =item
19400 #: ../fish/guestfish.pod:1143 ../src/guestfs.pod:3104
19401 msgid "LIBGUESTFS_PATH"
19402 msgstr ""
19403
19404 #. type: textblock
19405 #: ../fish/guestfish.pod:1145
19406 msgid ""
19407 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
19408 "the discussion of paths in L<guestfs(3)>."
19409 msgstr ""
19410
19411 #. type: =item
19412 #: ../fish/guestfish.pod:1148 ../src/guestfs.pod:3109
19413 msgid "LIBGUESTFS_QEMU"
19414 msgstr ""
19415
19416 #. type: textblock
19417 #: ../fish/guestfish.pod:1150 ../src/guestfs.pod:3111
19418 msgid ""
19419 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
19420 "which was found at compile time by the configure script is used."
19421 msgstr ""
19422
19423 #. type: =item
19424 #: ../fish/guestfish.pod:1154 ../src/guestfs.pod:3117
19425 msgid "LIBGUESTFS_TRACE"
19426 msgstr ""
19427
19428 #. type: textblock
19429 #: ../fish/guestfish.pod:1156
19430 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
19431 msgstr ""
19432
19433 #. type: =item
19434 #: ../fish/guestfish.pod:1158
19435 msgid "PAGER"
19436 msgstr "РОЗБИТТЯ НА СТОРІНКИ"
19437
19438 #. type: textblock
19439 #: ../fish/guestfish.pod:1160
19440 msgid ""
19441 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
19442 "C<more>."
19443 msgstr ""
19444
19445 #. type: =item
19446 #: ../fish/guestfish.pod:1163 ../src/guestfs.pod:3122
19447 msgid "TMPDIR"
19448 msgstr ""
19449
19450 #. type: textblock
19451 #: ../fish/guestfish.pod:1165 ../src/guestfs.pod:3124
19452 msgid ""
19453 "Location of temporary directory, defaults to C</tmp> except for the cached "
19454 "supermin appliance which defaults to C</var/tmp>."
19455 msgstr ""
19456
19457 #. type: textblock
19458 #: ../fish/guestfish.pod:1168 ../src/guestfs.pod:3127
19459 msgid ""
19460 "If libguestfs was compiled to use the supermin appliance then the real "
19461 "appliance is cached in this directory, shared between all handles belonging "
19462 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
19463 "use in case C</var/tmp> is not large enough."
19464 msgstr ""
19465
19466 #. type: =head1
19467 #: ../fish/guestfish.pod:1176 ../fuse/guestmount.pod:288
19468 #: ../rescue/virt-rescue.pod:269
19469 msgid "FILES"
19470 msgstr "ФАЙЛИ"
19471
19472 #. type: =item
19473 #: ../fish/guestfish.pod:1180 ../fuse/guestmount.pod:292
19474 #: ../rescue/virt-rescue.pod:273
19475 msgid "$HOME/.libguestfs-tools.rc"
19476 msgstr ""
19477
19478 #. type: =item
19479 #: ../fish/guestfish.pod:1182 ../fuse/guestmount.pod:294
19480 #: ../rescue/virt-rescue.pod:275
19481 msgid "/etc/libguestfs-tools.conf"
19482 msgstr ""
19483
19484 #. type: textblock
19485 #: ../fish/guestfish.pod:1184 ../fuse/guestmount.pod:296
19486 #: ../rescue/virt-rescue.pod:277
19487 msgid ""
19488 "This configuration file controls the default read-only or read-write mode "
19489 "(I<--ro> or I<--rw>)."
19490 msgstr ""
19491
19492 #. type: textblock
19493 #: ../fish/guestfish.pod:1187
19494 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
19495 msgstr ""
19496
19497 #. type: =item
19498 #: ../fish/guestfish.pod:1189
19499 msgid "$HOME/.guestfish"
19500 msgstr ""
19501
19502 #. type: textblock
19503 #: ../fish/guestfish.pod:1191
19504 msgid ""
19505 "If compiled with GNU readline support, then the command history is saved in "
19506 "this file."
19507 msgstr ""
19508
19509 #. type: =item
19510 #: ../fish/guestfish.pod:1194
19511 msgid "$HOME/.inputrc"
19512 msgstr ""
19513
19514 #. type: =item
19515 #: ../fish/guestfish.pod:1196
19516 msgid "/etc/inputrc"
19517 msgstr ""
19518
19519 #. type: textblock
19520 #: ../fish/guestfish.pod:1198
19521 msgid ""
19522 "If compiled with GNU readline support, then these files can be used to "
19523 "configure readline.  For further information, please see L<readline(3)/"
19524 "INITIALIZATION FILE>."
19525 msgstr ""
19526
19527 #. type: textblock
19528 #: ../fish/guestfish.pod:1202
19529 msgid "To write rules which only apply to guestfish, use:"
19530 msgstr ""
19531
19532 #. type: verbatim
19533 #: ../fish/guestfish.pod:1204
19534 #, no-wrap
19535 msgid ""
19536 " $if guestfish\n"
19537 " ...\n"
19538 " $endif\n"
19539 "\n"
19540 msgstr ""
19541
19542 #. type: textblock
19543 #: ../fish/guestfish.pod:1208
19544 msgid ""
19545 "Variables that you can set in inputrc that change the behaviour of guestfish "
19546 "in useful ways include:"
19547 msgstr ""
19548
19549 #. type: =item
19550 #: ../fish/guestfish.pod:1213
19551 msgid "completion-ignore-case (default: on)"
19552 msgstr ""
19553
19554 #. type: textblock
19555 #: ../fish/guestfish.pod:1215
19556 msgid ""
19557 "By default, guestfish will ignore case when tab-completing paths on the "
19558 "disk.  Use:"
19559 msgstr ""
19560
19561 #. type: verbatim
19562 #: ../fish/guestfish.pod:1218
19563 #, no-wrap
19564 msgid ""
19565 " set completion-ignore-case off\n"
19566 "\n"
19567 msgstr ""
19568
19569 #. type: textblock
19570 #: ../fish/guestfish.pod:1220
19571 msgid "to make guestfish case sensitive."
19572 msgstr ""
19573
19574 #. type: =item
19575 #: ../fish/guestfish.pod:1224
19576 msgid "test1.img"
19577 msgstr ""
19578
19579 #. type: =item
19580 #: ../fish/guestfish.pod:1226
19581 msgid "test2.img (etc)"
19582 msgstr ""
19583
19584 #. type: textblock
19585 #: ../fish/guestfish.pod:1228
19586 msgid ""
19587 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
19588 "will be created in the file C<test1.img> in the current directory.  The "
19589 "second use of I<-N> will use C<test2.img> and so on.  Any existing file with "
19590 "the same name will be overwritten."
19591 msgstr ""
19592
19593 #. type: textblock
19594 #: ../fish/guestfish.pod:1237
19595 msgid ""
19596 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-copy-in(1)"
19597 ">, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)"
19598 ">, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions"
19599 "(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)"
19600 ">, L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)"
19601 ">, L<display(1)>, L<hexedit(1)>, L<febootstrap-supermin-helper(8)>."
19602 msgstr ""
19603
19604 #. type: textblock
19605 #: ../fish/guestfish.pod:1266 ../src/guestfs.pod:3213
19606 #: ../test-tool/libguestfs-test-tool.pod:112
19607 msgid "Copyright (C) 2009-2011 Red Hat Inc.  L<http://libguestfs.org/>"
19608 msgstr ""
19609
19610 #. type: textblock
19611 #: ../fish/virt-copy-in.pod:5
19612 msgid ""
19613 "virt-copy-in - Copy files and directories into a virtual machine disk image."
19614 msgstr ""
19615
19616 #. type: verbatim
19617 #: ../fish/virt-copy-in.pod:9
19618 #, no-wrap
19619 msgid ""
19620 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
19621 "\n"
19622 msgstr ""
19623
19624 #. type: verbatim
19625 #: ../fish/virt-copy-in.pod:11
19626 #, no-wrap
19627 msgid ""
19628 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
19629 "\n"
19630 msgstr ""
19631
19632 #. type: textblock
19633 #: ../fish/virt-copy-in.pod:15
19634 msgid ""
19635 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially "
19636 "causing disk corruption.  The virtual machine must be shut down before you "
19637 "use this command."
19638 msgstr ""
19639
19640 #. type: textblock
19641 #: ../fish/virt-copy-in.pod:21
19642 msgid ""
19643 "C<virt-copy-in> copies files and directories from the local disk into a "
19644 "virtual machine disk image or named libvirt domain."
19645 msgstr ""
19646
19647 #. type: textblock
19648 #: ../fish/virt-copy-in.pod:24
19649 msgid ""
19650 "You can give one of more filenames and directories on the command line.  "
19651 "Directories are copied in recursively.  The final parameter must be the "
19652 "destination directory in the disk image which must be an absolute path "
19653 "starting with a C</> character."
19654 msgstr ""
19655
19656 #. type: verbatim
19657 #: ../fish/virt-copy-in.pod:33
19658 #, no-wrap
19659 msgid ""
19660 " virt-copy-in -d MyGuest resolv.conf /etc\n"
19661 "\n"
19662 msgstr ""
19663
19664 #. type: textblock
19665 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
19666 msgid "Upload a home directory to a guest:"
19667 msgstr ""
19668
19669 #. type: verbatim
19670 #: ../fish/virt-copy-in.pod:37
19671 #, no-wrap
19672 msgid ""
19673 " virt-copy-in -d MyGuest skel /home\n"
19674 "\n"
19675 msgstr ""
19676
19677 #. type: =head1
19678 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
19679 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
19680 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
19681 msgstr ""
19682
19683 #. type: textblock
19684 #: ../fish/virt-copy-in.pod:41
19685 msgid ""
19686 "This command is just a simple shell script wrapper around the L<guestfish(1)"
19687 "> C<copy-in> command.  For anything more complex than a trivial copy, you "
19688 "are probably better off using guestfish directly."
19689 msgstr ""
19690
19691 #. type: textblock
19692 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
19693 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
19694 msgid ""
19695 "Since the shell script just passes options straight to guestfish, read "
19696 "L<guestfish(1)> to see the full list of options."
19697 msgstr ""
19698
19699 #. type: textblock
19700 #: ../fish/virt-copy-in.pod:52
19701 #, fuzzy
19702 #| msgid ""
19703 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
19704 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
19705 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
19706 #| "libguestfs.org/>."
19707 msgid ""
19708 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
19709 "L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
19710 msgstr ""
19711 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
19712 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
19713 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
19714 "org/>."
19715
19716 #. type: textblock
19717 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
19718 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
19719 #, fuzzy
19720 #| msgid "Copyright (C) 2009 Red Hat Inc."
19721 msgid "Copyright (C) 2011 Red Hat Inc.  L<http://libguestfs.org/>"
19722 msgstr "© Red Hat Inc., 2009"
19723
19724 #. type: textblock
19725 #: ../fish/virt-copy-out.pod:5
19726 msgid ""
19727 "virt-copy-out - Copy files and directories out of a virtual machine disk "
19728 "image."
19729 msgstr ""
19730
19731 #. type: verbatim
19732 #: ../fish/virt-copy-out.pod:9
19733 #, no-wrap
19734 msgid ""
19735 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
19736 "\n"
19737 msgstr ""
19738
19739 #. type: verbatim
19740 #: ../fish/virt-copy-out.pod:11
19741 #, no-wrap
19742 msgid ""
19743 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
19744 "\n"
19745 msgstr ""
19746
19747 #. type: textblock
19748 #: ../fish/virt-copy-out.pod:15
19749 msgid ""
19750 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
19751 "image or named libvirt domain."
19752 msgstr ""
19753
19754 #. type: textblock
19755 #: ../fish/virt-copy-out.pod:18
19756 msgid ""
19757 "You can give one of more filenames and directories on the command line.  "
19758 "Directories are copied out recursively."
19759 msgstr ""
19760
19761 #. type: textblock
19762 #: ../fish/virt-copy-out.pod:23
19763 msgid "Download the home directories from a virtual machine:"
19764 msgstr ""
19765
19766 #. type: verbatim
19767 #: ../fish/virt-copy-out.pod:25
19768 #, no-wrap
19769 msgid ""
19770 " mkdir homes\n"
19771 " virt-copy-out -d MyGuest /home homes\n"
19772 "\n"
19773 msgstr ""
19774
19775 #. type: textblock
19776 #: ../fish/virt-copy-out.pod:30
19777 msgid ""
19778 "This command is just a simple shell script wrapper around the L<guestfish(1)"
19779 "> C<copy-out> command.  For anything more complex than a trivial copy, you "
19780 "are probably better off using guestfish directly."
19781 msgstr ""
19782
19783 #. type: textblock
19784 #: ../fish/virt-copy-out.pod:41
19785 #, fuzzy
19786 #| msgid ""
19787 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
19788 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
19789 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
19790 #| "libguestfs.org/>."
19791 msgid ""
19792 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L<virt-"
19793 "tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
19794 msgstr ""
19795 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
19796 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
19797 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
19798 "org/>."
19799
19800 #. type: textblock
19801 #: ../fish/virt-tar-in.pod:5
19802 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
19803 msgstr ""
19804
19805 #. type: verbatim
19806 #: ../fish/virt-tar-in.pod:9
19807 #, no-wrap
19808 msgid ""
19809 " virt-tar-in -a disk.img data.tar /destination\n"
19810 "\n"
19811 msgstr ""
19812
19813 #. type: verbatim
19814 #: ../fish/virt-tar-in.pod:11
19815 #, no-wrap
19816 msgid ""
19817 " virt-tar-in -d domain data.tar /destination\n"
19818 "\n"
19819 msgstr ""
19820
19821 #. type: verbatim
19822 #: ../fish/virt-tar-in.pod:13
19823 #, no-wrap
19824 msgid ""
19825 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
19826 "\n"
19827 msgstr ""
19828
19829 #. type: textblock
19830 #: ../fish/virt-tar-in.pod:17
19831 msgid ""
19832 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
19833 "causing disk corruption.  The virtual machine must be shut down before you "
19834 "use this command."
19835 msgstr ""
19836
19837 #. type: textblock
19838 #: ../fish/virt-tar-in.pod:23
19839 msgid ""
19840 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
19841 "image or named libvirt domain."
19842 msgstr ""
19843
19844 #. type: textblock
19845 #: ../fish/virt-tar-in.pod:26
19846 msgid ""
19847 "The first parameter is the tar file.  Use C<-> to read the tar file from "
19848 "standard input.  The second parameter is the absolute target directory to "
19849 "unpack into."
19850 msgstr ""
19851
19852 #. type: verbatim
19853 #: ../fish/virt-tar-in.pod:34
19854 #, no-wrap
19855 msgid ""
19856 " virt-tar-in -d MyGuest homes.tar /home\n"
19857 "\n"
19858 msgstr ""
19859
19860 #. type: textblock
19861 #: ../fish/virt-tar-in.pod:38
19862 msgid ""
19863 "This command is just a simple shell script wrapper around the L<guestfish(1)"
19864 "> C<tar-in> command.  For anything more complex than a trivial copy, you are "
19865 "probably better off using guestfish directly."
19866 msgstr ""
19867
19868 #. type: textblock
19869 #: ../fish/virt-tar-in.pod:49
19870 #, fuzzy
19871 #| msgid ""
19872 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
19873 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
19874 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
19875 #| "libguestfs.org/>."
19876 msgid ""
19877 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
19878 "L<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, L<http://libguestfs."
19879 "org/>."
19880 msgstr ""
19881 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
19882 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
19883 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
19884 "org/>."
19885
19886 #. type: textblock
19887 #: ../fish/virt-tar-out.pod:5
19888 msgid ""
19889 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
19890 msgstr ""
19891
19892 #. type: verbatim
19893 #: ../fish/virt-tar-out.pod:9
19894 #, no-wrap
19895 msgid ""
19896 " virt-tar-out -a disk.img /dir files.tar\n"
19897 "\n"
19898 msgstr ""
19899
19900 #. type: verbatim
19901 #: ../fish/virt-tar-out.pod:11
19902 #, no-wrap
19903 msgid ""
19904 " virt-tar-out -d domain /dir files.tar\n"
19905 "\n"
19906 msgstr ""
19907
19908 #. type: verbatim
19909 #: ../fish/virt-tar-out.pod:13
19910 #, no-wrap
19911 msgid ""
19912 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
19913 "\n"
19914 msgstr ""
19915
19916 #. type: textblock
19917 #: ../fish/virt-tar-out.pod:17
19918 msgid ""
19919 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
19920 msgstr ""
19921
19922 #. type: textblock
19923 #: ../fish/virt-tar-out.pod:20
19924 msgid ""
19925 "The first parameter is the absolute path of the virtual machine directory.  "
19926 "The second parameter is the tar file to write.  Use C<-> to write to "
19927 "standard output."
19928 msgstr ""
19929
19930 #. type: textblock
19931 #: ../fish/virt-tar-out.pod:26
19932 msgid "Download the home directories from a guest:"
19933 msgstr ""
19934
19935 #. type: verbatim
19936 #: ../fish/virt-tar-out.pod:28
19937 #, no-wrap
19938 msgid ""
19939 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
19940 "\n"
19941 msgstr ""
19942
19943 #. type: textblock
19944 #: ../fish/virt-tar-out.pod:32
19945 msgid ""
19946 "This command is just a simple shell script wrapper around the L<guestfish(1)"
19947 "> C<tar-out> command.  For anything more complex than a trivial copy, you "
19948 "are probably better off using guestfish directly."
19949 msgstr ""
19950
19951 #. type: textblock
19952 #: ../fish/virt-tar-out.pod:43
19953 #, fuzzy
19954 #| msgid ""
19955 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-"
19956 #| "copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, "
19957 #| "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
19958 #| "libguestfs.org/>."
19959 msgid ""
19960 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
19961 "L<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
19962 msgstr ""
19963 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
19964 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
19965 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
19966 "org/>."
19967
19968 #. type: textblock
19969 #: ../fuse/guestmount.pod:5
19970 msgid ""
19971 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
19972 msgstr ""
19973
19974 #. type: verbatim
19975 #: ../fuse/guestmount.pod:9
19976 #, no-wrap
19977 msgid ""
19978 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
19979 "\n"
19980 msgstr ""
19981
19982 #. type: verbatim
19983 #: ../fuse/guestmount.pod:11
19984 #, no-wrap
19985 msgid ""
19986 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
19987 "\n"
19988 msgstr ""
19989
19990 #. type: verbatim
19991 #: ../fuse/guestmount.pod:13
19992 #, no-wrap
19993 msgid ""
19994 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
19995 "\n"
19996 msgstr ""
19997
19998 #. type: textblock
19999 #: ../fuse/guestmount.pod:17
20000 msgid ""
20001 "You must I<not> use C<guestmount> in read-write mode on live virtual "
20002 "machines.  If you do this, you risk disk corruption in the VM."
20003 msgstr ""
20004
20005 #. type: textblock
20006 #: ../fuse/guestmount.pod:22
20007 msgid ""
20008 "The guestmount program can be used to mount virtual machine filesystems and "
20009 "other disk images on the host.  It uses libguestfs for access to the guest "
20010 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
20011 "a mountable device."
20012 msgstr ""
20013
20014 #. type: textblock
20015 #: ../fuse/guestmount.pod:27
20016 msgid ""
20017 "Along with other options, you have to give at least one device (I<-a> "
20018 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
20019 "option) or use the I<-i> inspection option.  How this works is better "
20020 "explained in the L<guestfish(1)> manual page, or by looking at the examples "
20021 "below."
20022 msgstr ""
20023
20024 #. type: textblock
20025 #: ../fuse/guestmount.pod:33
20026 msgid ""
20027 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
20028 "by you, and the filesystem will not be visible to any other users unless you "
20029 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
20030 "the filesystem, use the C<fusermount -u> command."
20031 msgstr ""
20032
20033 #. type: textblock
20034 #: ../fuse/guestmount.pod:41
20035 msgid ""
20036 "For a typical Windows guest which has its main filesystem on the first "
20037 "partition:"
20038 msgstr ""
20039
20040 #. type: verbatim
20041 #: ../fuse/guestmount.pod:44
20042 #, no-wrap
20043 msgid ""
20044 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
20045 "\n"
20046 msgstr ""
20047
20048 #. type: textblock
20049 #: ../fuse/guestmount.pod:46
20050 msgid ""
20051 "For a typical Linux guest which has a /boot filesystem on the first "
20052 "partition, and the root filesystem on a logical volume:"
20053 msgstr ""
20054
20055 #. type: verbatim
20056 #: ../fuse/guestmount.pod:49
20057 #, no-wrap
20058 msgid ""
20059 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
20060 "\n"
20061 msgstr ""
20062
20063 #. type: textblock
20064 #: ../fuse/guestmount.pod:51
20065 msgid "To get libguestfs to detect guest mountpoints for you:"
20066 msgstr ""
20067
20068 #. type: verbatim
20069 #: ../fuse/guestmount.pod:53
20070 #, no-wrap
20071 msgid ""
20072 " guestmount -a guest.img -i --ro /mnt\n"
20073 "\n"
20074 msgstr ""
20075
20076 #. type: textblock
20077 #: ../fuse/guestmount.pod:55
20078 msgid "For a libvirt guest called \"Guest\" you could do:"
20079 msgstr ""
20080
20081 #. type: verbatim
20082 #: ../fuse/guestmount.pod:57
20083 #, no-wrap
20084 msgid ""
20085 " guestmount -d Guest -i --ro /mnt\n"
20086 "\n"
20087 msgstr ""
20088
20089 #. type: textblock
20090 #: ../fuse/guestmount.pod:59
20091 msgid ""
20092 "If you don't know what filesystems are contained in a guest or disk image, "
20093 "use L<virt-filesystems(1)> first:"
20094 msgstr ""
20095
20096 #. type: verbatim
20097 #: ../fuse/guestmount.pod:62
20098 #, no-wrap
20099 msgid ""
20100 " virt-filesystems MyGuest\n"
20101 "\n"
20102 msgstr ""
20103
20104 #. type: textblock
20105 #: ../fuse/guestmount.pod:64
20106 msgid ""
20107 "If you want to trace the libguestfs calls but without excessive debugging "
20108 "information, we recommend:"
20109 msgstr ""
20110
20111 #. type: verbatim
20112 #: ../fuse/guestmount.pod:67
20113 #, no-wrap
20114 msgid ""
20115 " guestmount [...] --trace /mnt\n"
20116 "\n"
20117 msgstr ""
20118
20119 #. type: textblock
20120 #: ../fuse/guestmount.pod:69
20121 msgid "If you want to debug the program, we recommend:"
20122 msgstr ""
20123
20124 #. type: verbatim
20125 #: ../fuse/guestmount.pod:71
20126 #, no-wrap
20127 msgid ""
20128 " guestmount [...] --trace --verbose /mnt\n"
20129 "\n"
20130 msgstr ""
20131
20132 #. type: =head1
20133 #: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:68
20134 #: ../resize/virt-resize.pod:544
20135 msgid "NOTES"
20136 msgstr "ПРИМІТКИ"
20137
20138 #. type: =head2
20139 #: ../fuse/guestmount.pod:75
20140 msgid "Other users cannot see the filesystem by default"
20141 msgstr ""
20142
20143 #. type: textblock
20144 #: ../fuse/guestmount.pod:77
20145 msgid ""
20146 "If you mount a filesystem as one user (eg. root), then other users will not "
20147 "be able to see it by default.  The fix is to add the FUSE C<allow_other> "
20148 "option when mounting:"
20149 msgstr ""
20150
20151 #. type: verbatim
20152 #: ../fuse/guestmount.pod:81
20153 #, no-wrap
20154 msgid ""
20155 " sudo guestmount [...] -o allow_other /mnt\n"
20156 "\n"
20157 msgstr ""
20158
20159 #. type: textblock
20160 #: ../fuse/guestmount.pod:91
20161 msgid "Add a block device or virtual machine image."
20162 msgstr ""
20163
20164 #. type: =item
20165 #: ../fuse/guestmount.pod:114
20166 msgid "B<--dir-cache-timeout N>"
20167 msgstr "B<--dir-cache-timeout N>"
20168
20169 #. type: textblock
20170 #: ../fuse/guestmount.pod:116
20171 msgid ""
20172 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
20173 "seconds.  The readdir cache [actually, there are several semi-independent "
20174 "caches] is populated after a readdir(2) call with the stat and extended "
20175 "attributes of the files in the directory, in anticipation that they will be "
20176 "requested soon after."
20177 msgstr ""
20178
20179 #. type: textblock
20180 #: ../fuse/guestmount.pod:122
20181 msgid ""
20182 "There is also a different attribute cache implemented by FUSE (see the FUSE "
20183 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
20184 "requests, only cache existing ones."
20185 msgstr ""
20186
20187 #. type: textblock
20188 #: ../fuse/guestmount.pod:142
20189 msgid ""
20190 "If you have untrusted raw-format guest disk images, you should use this "
20191 "option to specify the disk format.  This avoids a possible security problem "
20192 "with malicious guests (CVE-2010-3851).  See also L<guestfs(3)/"
20193 "guestfs_add_drive_opts>."
20194 msgstr ""
20195
20196 #. type: =item
20197 #: ../fuse/guestmount.pod:147
20198 msgid "B<--fuse-help>"
20199 msgstr "B<--fuse-help>"
20200
20201 #. type: textblock
20202 #: ../fuse/guestmount.pod:149
20203 msgid "Display help on special FUSE options (see I<-o> below)."
20204 msgstr ""
20205
20206 #. type: textblock
20207 #: ../fuse/guestmount.pod:153
20208 msgid "Display brief help and exit."
20209 msgstr ""
20210
20211 #. type: textblock
20212 #: ../fuse/guestmount.pod:177
20213 msgid ""
20214 "Mount the named partition or logical volume on the given mountpoint B<in the "
20215 "guest> (this has nothing to do with mountpoints in the host)."
20216 msgstr ""
20217
20218 #. type: textblock
20219 #: ../fuse/guestmount.pod:180
20220 msgid ""
20221 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
20222 "something on C</>."
20223 msgstr ""
20224
20225 #. type: textblock
20226 #: ../fuse/guestmount.pod:197
20227 msgid ""
20228 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
20229 "unmounted.  If you specify this option, then we don't attempt to sync the "
20230 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
20231 msgstr ""
20232
20233 #. type: =item
20234 #: ../fuse/guestmount.pod:202
20235 #, fuzzy
20236 #| msgid "B<--partition>"
20237 msgid "B<-o option>"
20238 msgstr "B<--partition>"
20239
20240 #. type: =item
20241 #: ../fuse/guestmount.pod:204
20242 #, fuzzy
20243 #| msgid "B<--partition>"
20244 msgid "B<--option option>"
20245 msgstr "B<--partition>"
20246
20247 #. type: textblock
20248 #: ../fuse/guestmount.pod:206
20249 msgid "Pass extra options to FUSE."
20250 msgstr ""
20251
20252 #. type: textblock
20253 #: ../fuse/guestmount.pod:208
20254 msgid ""
20255 "To get a list of all the extra options supported by FUSE, use the command "
20256 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
20257 "of them are a good idea."
20258 msgstr ""
20259
20260 #. type: verbatim
20261 #: ../fuse/guestmount.pod:212
20262 #, no-wrap
20263 msgid ""
20264 " guestmount --fuse-help\n"
20265 "\n"
20266 msgstr ""
20267
20268 #. type: textblock
20269 #: ../fuse/guestmount.pod:214
20270 msgid "Some potentially useful FUSE options:"
20271 msgstr ""
20272
20273 #. type: =item
20274 #: ../fuse/guestmount.pod:218
20275 msgid "B<-o allow_other>"
20276 msgstr ""
20277
20278 #. type: textblock
20279 #: ../fuse/guestmount.pod:220
20280 msgid "Allow other users to see the filesystem."
20281 msgstr ""
20282
20283 #. type: =item
20284 #: ../fuse/guestmount.pod:222
20285 msgid "B<-o attr_timeout=N>"
20286 msgstr "B<-o attr_timeout=N>"
20287
20288 #. type: textblock
20289 #: ../fuse/guestmount.pod:224
20290 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
20291 msgstr ""
20292
20293 #. type: =item
20294 #: ../fuse/guestmount.pod:226
20295 msgid "B<-o kernel_cache>"
20296 msgstr ""
20297
20298 #. type: textblock
20299 #: ../fuse/guestmount.pod:228
20300 msgid ""
20301 "Allow the kernel to cache files (reduces the number of reads that have to go "
20302 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
20303 "afford the extra memory usage."
20304 msgstr ""
20305
20306 #. type: =item
20307 #: ../fuse/guestmount.pod:232
20308 msgid "B<-o uid=N> B<-o gid=N>"
20309 msgstr ""
20310
20311 #. type: textblock
20312 #: ../fuse/guestmount.pod:234
20313 msgid ""
20314 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
20315 "the chosen values."
20316 msgstr ""
20317
20318 #. type: textblock
20319 #: ../fuse/guestmount.pod:243
20320 msgid ""
20321 "Add devices and mount everything read-only.  Also disallow writes and make "
20322 "the disk appear read-only to FUSE."
20323 msgstr ""
20324
20325 #. type: textblock
20326 #: ../fuse/guestmount.pod:246
20327 msgid ""
20328 "This is highly recommended if you are not going to edit the guest disk.  If "
20329 "the guest is running and this option is I<not> supplied, then there is a "
20330 "strong risk of disk corruption in the guest.  We try to prevent this from "
20331 "happening, but it is not always possible."
20332 msgstr ""
20333
20334 #. type: textblock
20335 #: ../fuse/guestmount.pod:251 ../rescue/virt-rescue.pod:171
20336 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
20337 msgstr ""
20338
20339 #. type: textblock
20340 #: ../fuse/guestmount.pod:255
20341 msgid "Enable SELinux support for the guest."
20342 msgstr ""
20343
20344 #. type: textblock
20345 #: ../fuse/guestmount.pod:261
20346 msgid "Enable verbose messages from underlying libguestfs."
20347 msgstr ""
20348
20349 #. type: textblock
20350 #: ../fuse/guestmount.pod:267
20351 msgid "Display the program version and exit."
20352 msgstr ""
20353
20354 #. type: textblock
20355 #: ../fuse/guestmount.pod:276 ../fuse/guestmount.pod:299
20356 #: ../rescue/virt-rescue.pod:197 ../rescue/virt-rescue.pod:280
20357 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
20358 msgstr ""
20359
20360 #. type: =item
20361 #: ../fuse/guestmount.pod:280
20362 #, fuzzy
20363 #| msgid "B<--ro>"
20364 msgid "B<--trace>"
20365 msgstr "B<--ro>"
20366
20367 #. type: textblock
20368 #: ../fuse/guestmount.pod:282
20369 msgid "Trace libguestfs calls and entry into each FUSE function."
20370 msgstr ""
20371
20372 #. type: textblock
20373 #: ../fuse/guestmount.pod:284
20374 msgid "This also stops the daemon from forking into the background."
20375 msgstr ""
20376
20377 #. type: textblock
20378 #: ../fuse/guestmount.pod:310
20379 msgid ""
20380 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
20381 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
20382 "net/>."
20383 msgstr ""
20384
20385 #. type: textblock
20386 #: ../fuse/guestmount.pod:325
20387 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
20388 msgstr ""
20389
20390 #. type: textblock
20391 #: ../inspector/virt-inspector.pod:5
20392 msgid ""
20393 "virt-inspector - Display operating system version and other information "
20394 "about a virtual machine"
20395 msgstr ""
20396
20397 #. type: verbatim
20398 #: ../inspector/virt-inspector.pod:9
20399 #, fuzzy, no-wrap
20400 #| msgid ""
20401 #| " virt-list-partitions [--options] domname\n"
20402 #| "\n"
20403 msgid ""
20404 " virt-inspector [--options] -d domname\n"
20405 "\n"
20406 msgstr ""
20407 " virt-list-partitions [--параметри] назва_домену\n"
20408 "\n"
20409
20410 #. type: verbatim
20411 #: ../inspector/virt-inspector.pod:11
20412 #, fuzzy, no-wrap
20413 #| msgid ""
20414 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
20415 #| "\n"
20416 msgid ""
20417 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
20418 "\n"
20419 msgstr ""
20420 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
20421 "\n"
20422
20423 #. type: verbatim
20424 #: ../inspector/virt-inspector.pod:15
20425 #, fuzzy, no-wrap
20426 #| msgid ""
20427 #| " virt-list-partitions [--options] domname\n"
20428 #| "\n"
20429 msgid ""
20430 " virt-inspector domname\n"
20431 "\n"
20432 msgstr ""
20433 " virt-list-partitions [--параметри] назва_домену\n"
20434 "\n"
20435
20436 #. type: verbatim
20437 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:141
20438 #, fuzzy, no-wrap
20439 #| msgid ""
20440 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
20441 #| "\n"
20442 msgid ""
20443 " virt-inspector disk.img [disk.img ...]\n"
20444 "\n"
20445 msgstr ""
20446 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
20447 "\n"
20448
20449 #. type: textblock
20450 #: ../inspector/virt-inspector.pod:21
20451 msgid ""
20452 "B<virt-inspector> examines a virtual machine or disk image and tries to "
20453 "determine the version of the operating system and other information about "
20454 "the virtual machine."
20455 msgstr ""
20456
20457 #. type: textblock
20458 #: ../inspector/virt-inspector.pod:25
20459 msgid "Virt-inspector produces XML output for feeding into other programs."
20460 msgstr ""
20461
20462 #. type: textblock
20463 #: ../inspector/virt-inspector.pod:27
20464 msgid ""
20465 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
20466 "the libvirt domain (see: C<virsh list --all>)."
20467 msgstr ""
20468
20469 #. type: textblock
20470 #: ../inspector/virt-inspector.pod:30
20471 msgid ""
20472 "You can also run virt-inspector directly on disk images from a single "
20473 "virtual machine.  Use C<virt-inspector -a disk.img>.  In rare cases a domain "
20474 "has several block devices, in which case you should list several I<-a> "
20475 "options one after another, with the first corresponding to the guest's C</"
20476 "dev/sda>, the second to the guest's C</dev/sdb> and so on."
20477 msgstr ""
20478
20479 #. type: textblock
20480 #: ../inspector/virt-inspector.pod:37
20481 msgid ""
20482 "You can also run virt-inspector on install disks, live CDs, bootable USB "
20483 "keys and similar."
20484 msgstr ""
20485
20486 #. type: textblock
20487 #: ../inspector/virt-inspector.pod:40
20488 msgid ""
20489 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
20490 "inspect several virtual machines, you have to run virt-inspector several "
20491 "times (for example, from a shell script for-loop)."
20492 msgstr ""
20493
20494 #. type: textblock
20495 #: ../inspector/virt-inspector.pod:45
20496 msgid ""
20497 "Because virt-inspector needs direct access to guest images, it won't "
20498 "normally work over remote libvirt connections."
20499 msgstr ""
20500
20501 #. type: textblock
20502 #: ../inspector/virt-inspector.pod:48
20503 msgid ""
20504 "All of the information available from virt-inspector is also available "
20505 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>).  "
20506 "The same information can also be fetched using guestfish or via libguestfs "
20507 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
20508 "WITH OTHER PROGRAMMING LANGUAGES>)."
20509 msgstr ""
20510
20511 #. type: textblock
20512 #: ../inspector/virt-inspector.pod:81
20513 msgid ""
20514 "Libvirt is only used if you specify a C<domname> on the command line.  If "
20515 "you specify guest block devices directly (I<-a>), then libvirt is not used "
20516 "at all."
20517 msgstr ""
20518
20519 #. type: textblock
20520 #: ../inspector/virt-inspector.pod:94
20521 msgid ""
20522 "When prompting for keys and passphrases, virt-inspector normally turns "
20523 "echoing off so you cannot see what you are typing.  If you are not worried "
20524 "about Tempest attacks and there is no one else in the room you can specify "
20525 "this flag to see what you are typing."
20526 msgstr ""
20527
20528 #. type: textblock
20529 #: ../inspector/virt-inspector.pod:103 ../tools/virt-list-filesystems.pl:93
20530 #: ../tools/virt-list-partitions.pl:94 ../tools/virt-tar.pl:143
20531 #: ../tools/virt-win-reg.pl:144
20532 msgid ""
20533 "Specify the format of disk images given on the command line.  If this is "
20534 "omitted then the format is autodetected from the content of the disk image."
20535 msgstr ""
20536
20537 #. type: textblock
20538 #: ../inspector/virt-inspector.pod:107 ../tools/virt-list-filesystems.pl:97
20539 #: ../tools/virt-list-partitions.pl:98 ../tools/virt-tar.pl:147
20540 #: ../tools/virt-win-reg.pl:148
20541 msgid ""
20542 "If disk images are requested from libvirt, then this program asks libvirt "
20543 "for this information.  In this case, the value of the format parameter is "
20544 "ignored."
20545 msgstr ""
20546
20547 #. type: textblock
20548 #: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:314
20549 #: ../resize/virt-resize.pod:406 ../tools/virt-list-filesystems.pl:101
20550 #: ../tools/virt-list-partitions.pl:102 ../tools/virt-tar.pl:151
20551 #: ../tools/virt-win-reg.pl:152
20552 msgid ""
20553 "If working with untrusted raw-format guest disk images, you should ensure "
20554 "the format is always specified."
20555 msgstr ""
20556
20557 #. type: textblock
20558 #: ../inspector/virt-inspector.pod:139
20559 msgid "Previous versions of virt-inspector allowed you to write either:"
20560 msgstr ""
20561
20562 #. type: verbatim
20563 #: ../inspector/virt-inspector.pod:145
20564 #, fuzzy, no-wrap
20565 #| msgid ""
20566 #| " inspect-get-hostname root\n"
20567 #| "\n"
20568 msgid ""
20569 " virt-inspector guestname\n"
20570 "\n"
20571 msgstr ""
20572 " inspect-get-hostname корінь\n"
20573 "\n"
20574
20575 #. type: =head1
20576 #: ../inspector/virt-inspector.pod:153
20577 msgid "XML FORMAT"
20578 msgstr ""
20579
20580 #. type: textblock
20581 #: ../inspector/virt-inspector.pod:155
20582 msgid ""
20583 "The virt-inspector XML is described precisely in a RELAX NG schema file "
20584 "C<virt-inspector.rng> which is supplied with libguestfs.  This section is "
20585 "just an overview."
20586 msgstr ""
20587
20588 #. type: textblock
20589 #: ../inspector/virt-inspector.pod:159
20590 msgid ""
20591 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
20592 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
20593 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
20594 "which is vanishingly rare in real world VMs."
20595 msgstr ""
20596
20597 #. type: =head2
20598 #: ../inspector/virt-inspector.pod:164
20599 msgid "E<lt>operatingsystemE<gt>"
20600 msgstr ""
20601
20602 #. type: textblock
20603 #: ../inspector/virt-inspector.pod:166
20604 msgid ""
20605 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
20606 "describe the operating system, its architecture, the descriptive \"product "
20607 "name\" string, the type of OS and so on, as in this example:"
20608 msgstr ""
20609
20610 #. type: verbatim
20611 #: ../inspector/virt-inspector.pod:170
20612 #, no-wrap
20613 msgid ""
20614 " <operatingsystems>\n"
20615 "   <operatingsystem>\n"
20616 "     <root>/dev/sda2</root>\n"
20617 "     <name>windows</name>\n"
20618 "     <arch>i386</arch>\n"
20619 "     <distro>windows</distro>\n"
20620 "     <product_name>Windows 7 Enterprise</product_name>\n"
20621 "     <product_variant>Client</product_variant>\n"
20622 "     <major_version>6</major_version>\n"
20623 "     <minor_version>1</minor_version>\n"
20624 "     <windows_systemroot>/Windows</windows_systemroot>\n"
20625 "     <format>installed</format>\n"
20626 "\n"
20627 msgstr ""
20628
20629 #. type: textblock
20630 #: ../inspector/virt-inspector.pod:183
20631 msgid ""
20632 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
20633 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
20634 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
20635 "architecture.  The other fields are fairly self-explanatory, but because "
20636 "these fields are taken directly from the libguestfs inspection API you can "
20637 "find precise information from L<guestfs(3)/INSPECTION>."
20638 msgstr ""
20639
20640 #. type: textblock
20641 #: ../inspector/virt-inspector.pod:191
20642 msgid ""
20643 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
20644 "of view of libguestfs (block devices may have completely different names "
20645 "inside the VM itself)."
20646 msgstr ""
20647
20648 #. type: =head2
20649 #: ../inspector/virt-inspector.pod:195
20650 #, fuzzy
20651 #| msgid "mountpoints"
20652 msgid "E<lt>mountpointsE<gt>"
20653 msgstr "mountpoints"
20654
20655 #. type: textblock
20656 #: ../inspector/virt-inspector.pod:197
20657 msgid ""
20658 "Un*x-like guests typically have multiple filesystems which are mounted at "
20659 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
20660 "element which looks like this:"
20661 msgstr ""
20662
20663 #. type: verbatim
20664 #: ../inspector/virt-inspector.pod:201
20665 #, no-wrap
20666 msgid ""
20667 " <operatingsystems>\n"
20668 "   <operatingsystem>\n"
20669 "     ...\n"
20670 "     <mountpoints>\n"
20671 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
20672 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
20673 "     </mountpoints>\n"
20674 "\n"
20675 msgstr ""
20676
20677 #. type: textblock
20678 #: ../inspector/virt-inspector.pod:209
20679 msgid ""
20680 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
20681 "and may have completely different names inside the guest.  Only mountable "
20682 "filesystems appear in this list, not things like swap devices."
20683 msgstr ""
20684
20685 #. type: =head2
20686 #: ../inspector/virt-inspector.pod:214
20687 #, fuzzy
20688 #| msgid "list-filesystems"
20689 msgid "E<lt>filesystemsE<gt>"
20690 msgstr "list-filesystems"
20691
20692 #. type: textblock
20693 #: ../inspector/virt-inspector.pod:216
20694 msgid ""
20695 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
20696 "filesystems belonging to the guest, including swap and empty partitions.  "
20697 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
20698 "this OS or shared with this OS and other OSes)."
20699 msgstr ""
20700
20701 #. type: textblock
20702 #: ../inspector/virt-inspector.pod:222
20703 msgid "You might see something like this:"
20704 msgstr ""
20705
20706 #. type: verbatim
20707 #: ../inspector/virt-inspector.pod:224
20708 #, no-wrap
20709 msgid ""
20710 " <operatingsystems>\n"
20711 "   <operatingsystem>\n"
20712 "     ...\n"
20713 "     <filesystems>\n"
20714 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
20715 "         <type>ext4</type>\n"
20716 "         <label>Fedora-13-x86_64</label>\n"
20717 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
20718 "       </filesystem>\n"
20719 "\n"
20720 msgstr ""
20721
20722 #. type: textblock
20723 #: ../inspector/virt-inspector.pod:234
20724 msgid ""
20725 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
20726 "the label, and the UUID."
20727 msgstr ""
20728
20729 #. type: =head2
20730 #: ../inspector/virt-inspector.pod:237
20731 msgid "E<lt>applicationsE<gt>"
20732 msgstr ""
20733
20734 #. type: textblock
20735 #: ../inspector/virt-inspector.pod:239
20736 msgid ""
20737 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
20738 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
20739 "machine."
20740 msgstr ""
20741
20742 #. type: textblock
20743 #: ../inspector/virt-inspector.pod:243
20744 msgid ""
20745 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
20746 "Typical values would be C<rpm> and C<deb>."
20747 msgstr ""
20748
20749 #. type: textblock
20750 #: ../inspector/virt-inspector.pod:246
20751 msgid ""
20752 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
20753 "Typical values include C<yum>, C<up2date> and C<apt>"
20754 msgstr ""
20755
20756 #. type: textblock
20757 #: ../inspector/virt-inspector.pod:249
20758 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
20759 msgstr ""
20760
20761 #. type: verbatim
20762 #: ../inspector/virt-inspector.pod:252
20763 #, no-wrap
20764 msgid ""
20765 " <operatingsystems>\n"
20766 "   <operatingsystem>\n"
20767 "     ...\n"
20768 "     <applications>\n"
20769 "       <application>\n"
20770 "         <name>coreutils</name>\n"
20771 "         <version>8.5</version>\n"
20772 "         <release>1</release>\n"
20773 "       </application>\n"
20774 "\n"
20775 msgstr ""
20776
20777 #. type: textblock
20778 #: ../inspector/virt-inspector.pod:262
20779 msgid ""
20780 "The version and release fields may not be available for some types guests.  "
20781 "Other fields are possible, see L<guestfs(3)/"
20782 "guestfs_inspect_list_applications>."
20783 msgstr ""
20784
20785 #. type: =head2
20786 #: ../inspector/virt-inspector.pod:266
20787 msgid "E<lt>drive_mappingsE<gt>"
20788 msgstr ""
20789
20790 #. type: textblock
20791 #: ../inspector/virt-inspector.pod:268
20792 msgid ""
20793 "For operating systems like Windows which use drive letters, virt-inspector "
20794 "is able to find out how drive letters map to filesystems."
20795 msgstr ""
20796
20797 #. type: verbatim
20798 #: ../inspector/virt-inspector.pod:272
20799 #, no-wrap
20800 msgid ""
20801 " <operatingsystems>\n"
20802 "   <operatingsystem>\n"
20803 "     ...\n"
20804 "     <drive_mappings>\n"
20805 "       <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
20806 "       <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
20807 "     </drive_mappings>\n"
20808 "\n"
20809 msgstr ""
20810
20811 #. type: textblock
20812 #: ../inspector/virt-inspector.pod:280
20813 msgid ""
20814 "In the example above, drive C maps to the filesystem on the second partition "
20815 "on the first disk, and drive E maps to the filesystem on the first partition "
20816 "on the second disk."
20817 msgstr ""
20818
20819 #. type: textblock
20820 #: ../inspector/virt-inspector.pod:284
20821 msgid ""
20822 "Note that this only covers permanent local filesystem mappings, not things "
20823 "like network shares.  Furthermore NTFS volume mount points may not be listed "
20824 "here."
20825 msgstr ""
20826
20827 #. type: =head2
20828 #: ../inspector/virt-inspector.pod:288
20829 #, fuzzy
20830 #| msgid "B<-s E<lt>NE<gt>>"
20831 msgid "E<lt>iconE<gt>"
20832 msgstr "B<-s E<lt>NE<gt>>"
20833
20834 #. type: textblock
20835 #: ../inspector/virt-inspector.pod:290
20836 msgid ""
20837 "Virt-inspector is sometimes able to extract an icon or logo for the guest.  "
20838 "The icon is returned as base64-encoded PNG data.  Note that the icon can be "
20839 "very large and high quality."
20840 msgstr ""
20841
20842 #. type: verbatim
20843 #: ../inspector/virt-inspector.pod:294
20844 #, no-wrap
20845 msgid ""
20846 " <operatingsystems>\n"
20847 "   <operatingsystem>\n"
20848 "     ...\n"
20849 "     <icon>\n"
20850 "       iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
20851 "       [... many lines of base64 data ...]\n"
20852 "     </icon>\n"
20853 "\n"
20854 msgstr ""
20855
20856 #. type: textblock
20857 #: ../inspector/virt-inspector.pod:302
20858 msgid ""
20859 "To display the icon, you have to extract it and convert the base64 data back "
20860 "to a binary file.  Use an XPath query or simply an editor to extract the "
20861 "data, then use the coreutils L<base64(1)> program to do the conversion back "
20862 "to a PNG file:"
20863 msgstr ""
20864
20865 #. type: verbatim
20866 #: ../inspector/virt-inspector.pod:307
20867 #, no-wrap
20868 msgid ""
20869 " base64 -i -d < icon.data > icon.png\n"
20870 "\n"
20871 msgstr ""
20872
20873 #. type: =head2
20874 #: ../inspector/virt-inspector.pod:309
20875 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
20876 msgstr ""
20877
20878 #. type: textblock
20879 #: ../inspector/virt-inspector.pod:311
20880 msgid ""
20881 "Virt-inspector can detect some operating system installers on install disks, "
20882 "live CDs, bootable USB keys and more."
20883 msgstr ""
20884
20885 #. type: textblock
20886 #: ../inspector/virt-inspector.pod:314
20887 msgid ""
20888 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
20889 "fields may be present to indicate a live CD, network installer, or one part "
20890 "of a multipart CD.  For example:"
20891 msgstr ""
20892
20893 #. type: verbatim
20894 #: ../inspector/virt-inspector.pod:318
20895 #, no-wrap
20896 msgid ""
20897 " <operatingsystems>\n"
20898 "   <operatingsystem>\n"
20899 "     <root>/dev/sda</root>\n"
20900 "     <name>linux</name>\n"
20901 "     <arch>i386</arch>\n"
20902 "     <distro>ubuntu</distro>\n"
20903 "     <product_name>Ubuntu 10.10 &quot;Maverick Meerkat&quot;</product_name>\n"
20904 "     <major_version>10</major_version>\n"
20905 "     <minor_version>10</minor_version>\n"
20906 "     <format>installer</format>\n"
20907 "     <live/>\n"
20908 "\n"
20909 msgstr ""
20910
20911 #. type: =head1
20912 #: ../inspector/virt-inspector.pod:330
20913 msgid "USING XPATH"
20914 msgstr ""
20915
20916 #. type: textblock
20917 #: ../inspector/virt-inspector.pod:332
20918 msgid ""
20919 "You can use the XPath query language to select parts of the XML.  We "
20920 "recommend using C<xmlstarlet> to perform XPath queries from the command line."
20921 msgstr ""
20922
20923 #. type: verbatim
20924 #: ../inspector/virt-inspector.pod:338
20925 #, no-wrap
20926 msgid ""
20927 " $ virt-inspector -d Guest | xmlstarlet sel -t -c '//filesystems'\n"
20928 " <filesystems>\n"
20929 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
20930 "        <type>ext4</type>\n"
20931 " [...]\n"
20932 "\n"
20933 msgstr ""
20934
20935 #. type: verbatim
20936 #: ../inspector/virt-inspector.pod:344
20937 #, no-wrap
20938 msgid ""
20939 " $ virt-inspector -d Guest | \\\n"
20940 "     xmlstarlet sel -t -c \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
20941 " ext4\n"
20942 "\n"
20943 msgstr ""
20944
20945 #. type: verbatim
20946 #: ../inspector/virt-inspector.pod:348
20947 #, no-wrap
20948 msgid ""
20949 " $ virt-inspector -d Guest | \\\n"
20950 "    xmlstarlet sel -t -v '//icon' | base64 -i -d | display -\n"
20951 " [displays the guest icon, if there is one]\n"
20952 "\n"
20953 msgstr ""
20954
20955 #. type: =head1
20956 #: ../inspector/virt-inspector.pod:359
20957 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
20958 msgstr ""
20959
20960 #. type: textblock
20961 #: ../inspector/virt-inspector.pod:361
20962 msgid ""
20963 "Early versions of libguestfs shipped with a different virt-inspector program "
20964 "written in Perl (the current version is written in C).  The XML output of "
20965 "the Perl virt-inspector was different and it could also output in other "
20966 "formats like text."
20967 msgstr ""
20968
20969 #. type: textblock
20970 #: ../inspector/virt-inspector.pod:366
20971 msgid ""
20972 "The old virt-inspector is no longer supported or shipped with libguestfs."
20973 msgstr ""
20974
20975 #. type: textblock
20976 #: ../inspector/virt-inspector.pod:369
20977 msgid ""
20978 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
20979 "versions of virt-inspector with different names:"
20980 msgstr ""
20981
20982 #. type: verbatim
20983 #: ../inspector/virt-inspector.pod:372
20984 #, no-wrap
20985 msgid ""
20986 " virt-inspector     Old Perl version.\n"
20987 " virt-inspector2    New C version.\n"
20988 "\n"
20989 msgstr ""
20990
20991 #. type: textblock
20992 #: ../inspector/virt-inspector.pod:382
20993 #, fuzzy
20994 #| msgid ""
20995 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
20996 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
20997 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
20998 msgid ""
20999 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
21000 ">, L<xmlstarlet(1)>, L<http://libguestfs.org/>."
21001 msgstr ""
21002 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21003 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
21004 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21005
21006 #. type: textblock
21007 #: ../inspector/virt-inspector.pod:399
21008 msgid "Matthew Booth L<mbooth@redhat.com>"
21009 msgstr ""
21010
21011 #. type: textblock
21012 #: ../java/examples/guestfs-java.pod:5
21013 msgid "guestfs-java - How to use libguestfs from Java"
21014 msgstr ""
21015
21016 #. type: verbatim
21017 #: ../java/examples/guestfs-java.pod:9
21018 #, no-wrap
21019 msgid ""
21020 " import com.redhat.et.libguestfs.*;\n"
21021 " \n"
21022 msgstr ""
21023
21024 #. type: verbatim
21025 #: ../java/examples/guestfs-java.pod:11
21026 #, no-wrap
21027 msgid ""
21028 " GuestFS g = new GuestFS ();\n"
21029 " g.add_drive_opts (\"disk.img\", null);\n"
21030 " g.launch ();\n"
21031 "\n"
21032 msgstr ""
21033
21034 #. type: textblock
21035 #: ../java/examples/guestfs-java.pod:17
21036 msgid ""
21037 "This manual page documents how to call libguestfs from the Java programming "
21038 "language.  This page just documents the differences from the C API and gives "
21039 "some examples.  If you are not familiar with using libguestfs, you also need "
21040 "to read L<guestfs(3)>."
21041 msgstr ""
21042
21043 #. type: =head2
21044 #: ../java/examples/guestfs-java.pod:22 ../ocaml/examples/guestfs-ocaml.pod:53
21045 msgid "CLOSING THE HANDLE"
21046 msgstr ""
21047
21048 #. type: textblock
21049 #: ../java/examples/guestfs-java.pod:24
21050 msgid ""
21051 "The handle is closed when it is reaped by the garbage collector.  Because "
21052 "libguestfs handles include a lot of state, it is also possible to close (and "
21053 "hence free) them explicitly by calling the C<close> method."
21054 msgstr ""
21055
21056 #. type: =head2
21057 #: ../java/examples/guestfs-java.pod:29 ../ocaml/examples/guestfs-ocaml.pod:60
21058 #: ../python/examples/guestfs-python.pod:21
21059 #: ../ruby/examples/guestfs-ruby.pod:22
21060 #, fuzzy
21061 #| msgid "OPTIONS"
21062 msgid "EXCEPTIONS"
21063 msgstr "ПАРАМЕТРИ"
21064
21065 #. type: textblock
21066 #: ../java/examples/guestfs-java.pod:31
21067 msgid ""
21068 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
21069 "exception.  This has a single parameter which is the error message (a "
21070 "C<String>)."
21071 msgstr ""
21072
21073 #. type: textblock
21074 #: ../java/examples/guestfs-java.pod:35
21075 msgid "Calling any method on a closed handle raises the same exception."
21076 msgstr ""
21077
21078 #. type: textblock
21079 #: ../java/examples/guestfs-java.pod:47
21080 #, fuzzy
21081 #| msgid ""
21082 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21083 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
21084 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21085 msgid ""
21086 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)"
21087 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
21088 "libguestfs.org/>, L<http://caml.inria.fr/>."
21089 msgstr ""
21090 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21091 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
21092 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21093
21094 #. type: textblock
21095 #: ../java/examples/guestfs-java.pod:63 ../perl/examples/guestfs-perl.pod:57
21096 #, fuzzy
21097 #| msgid "Copyright (C) 2009 Red Hat Inc."
21098 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
21099 msgstr "© Red Hat Inc., 2009"
21100
21101 #. type: textblock
21102 #: ../ocaml/examples/guestfs-ocaml.pod:5
21103 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
21104 msgstr ""
21105
21106 #. type: textblock
21107 #: ../ocaml/examples/guestfs-ocaml.pod:9
21108 msgid "Module style:"
21109 msgstr ""
21110
21111 #. type: verbatim
21112 #: ../ocaml/examples/guestfs-ocaml.pod:11
21113 #, no-wrap
21114 msgid ""
21115 " let g = Guestfs.create () in\n"
21116 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
21117 " Guestfs.launch g;\n"
21118 "\n"
21119 msgstr ""
21120
21121 #. type: textblock
21122 #: ../ocaml/examples/guestfs-ocaml.pod:15
21123 msgid "Object-oriented style:"
21124 msgstr ""
21125
21126 #. type: verbatim
21127 #: ../ocaml/examples/guestfs-ocaml.pod:17
21128 #, no-wrap
21129 msgid ""
21130 " let g = new Guestfs.guestfs () in\n"
21131 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
21132 " g#launch ();\n"
21133 "\n"
21134 msgstr ""
21135
21136 #. type: verbatim
21137 #: ../ocaml/examples/guestfs-ocaml.pod:21
21138 #, no-wrap
21139 msgid ""
21140 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
21141 "or:\n"
21142 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
21143 "\n"
21144 msgstr ""
21145
21146 #. type: textblock
21147 #: ../ocaml/examples/guestfs-ocaml.pod:27
21148 msgid ""
21149 "This manual page documents how to call libguestfs from the OCaml programming "
21150 "language.  This page just documents the differences from the C API and gives "
21151 "some examples.  If you are not familiar with using libguestfs, you also need "
21152 "to read L<guestfs(3)>."
21153 msgstr ""
21154
21155 #. type: =head2
21156 #: ../ocaml/examples/guestfs-ocaml.pod:32
21157 msgid "PROGRAMMING STYLES"
21158 msgstr ""
21159
21160 #. type: textblock
21161 #: ../ocaml/examples/guestfs-ocaml.pod:34
21162 msgid ""
21163 "There are two different programming styles supported by the OCaml bindings.  "
21164 "You can use a module style, with each C function mapped to an OCaml function:"
21165 msgstr ""
21166
21167 #. type: verbatim
21168 #: ../ocaml/examples/guestfs-ocaml.pod:38
21169 #, fuzzy, no-wrap
21170 #| msgid ""
21171 #| " int guestfs_last_errno (guestfs_h *g);\n"
21172 #| "\n"
21173 msgid ""
21174 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
21175 "\n"
21176 msgstr ""
21177 " int guestfs_last_errno (guestfs_h *g);\n"
21178 "\n"
21179
21180 #. type: textblock
21181 #: ../ocaml/examples/guestfs-ocaml.pod:40
21182 msgid "becomes:"
21183 msgstr ""
21184
21185 #. type: verbatim
21186 #: ../ocaml/examples/guestfs-ocaml.pod:42
21187 #, no-wrap
21188 msgid ""
21189 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
21190 "\n"
21191 msgstr ""
21192
21193 #. type: textblock
21194 #: ../ocaml/examples/guestfs-ocaml.pod:44
21195 msgid ""
21196 "Alternately you can use an object-oriented style, calling methods on the "
21197 "class C<Guestfs.guestfs>:"
21198 msgstr ""
21199
21200 #. type: verbatim
21201 #: ../ocaml/examples/guestfs-ocaml.pod:47
21202 #, no-wrap
21203 msgid ""
21204 " method set_verbose : bool -> unit\n"
21205 "\n"
21206 msgstr ""
21207
21208 #. type: textblock
21209 #: ../ocaml/examples/guestfs-ocaml.pod:49
21210 msgid ""
21211 "The object-oriented style is usually briefer, and the minor performance "
21212 "penalty isn't noticable in the general overhead of performing libguestfs "
21213 "functions."
21214 msgstr ""
21215
21216 #. type: textblock
21217 #: ../ocaml/examples/guestfs-ocaml.pod:55
21218 msgid ""
21219 "The handle is closed when it is reaped by the garbage collector.  Because "
21220 "libguestfs handles include a lot of state, it is also possible to close (and "
21221 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
21222 "method."
21223 msgstr ""
21224
21225 #. type: textblock
21226 #: ../ocaml/examples/guestfs-ocaml.pod:62
21227 msgid ""
21228 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
21229 "exception.  This has a single parameter which is the error message (a "
21230 "string)."
21231 msgstr ""
21232
21233 #. type: textblock
21234 #: ../ocaml/examples/guestfs-ocaml.pod:66
21235 msgid ""
21236 "Calling any function/method on a closed handle raises C<Guestfs."
21237 "Handle_closed>.  The single parameter is the name of the function that you "
21238 "called."
21239 msgstr ""
21240
21241 #. type: textblock
21242 #: ../ocaml/examples/guestfs-ocaml.pod:80
21243 #, fuzzy
21244 #| msgid ""
21245 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21246 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
21247 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21248 msgid ""
21249 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-perl(3)"
21250 ">, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
21251 "libguestfs.org/>, L<http://caml.inria.fr/>."
21252 msgstr ""
21253 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21254 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
21255 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21256
21257 #. type: textblock
21258 #: ../perl/examples/guestfs-perl.pod:5
21259 msgid "guestfs-perl - How to use libguestfs from Perl"
21260 msgstr ""
21261
21262 #. type: verbatim
21263 #: ../perl/examples/guestfs-perl.pod:9
21264 #, no-wrap
21265 msgid ""
21266 " use Sys::Guestfs;\n"
21267 " \n"
21268 msgstr ""
21269
21270 #. type: verbatim
21271 #: ../perl/examples/guestfs-perl.pod:11
21272 #, no-wrap
21273 msgid ""
21274 " my $h = Sys::Guestfs->new ();\n"
21275 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
21276 " $h->launch ();\n"
21277 " $h->mount_options ('', '/dev/sda1', '/');\n"
21278 " $h->touch ('/hello');\n"
21279 " $h->sync ();\n"
21280 "\n"
21281 msgstr ""
21282
21283 #. type: textblock
21284 #: ../perl/examples/guestfs-perl.pod:20
21285 msgid ""
21286 "This manual page documents how to call libguestfs from the Perl programming "
21287 "language.  This page just documents the differences from the C API and gives "
21288 "some examples.  If you are not familiar with using libguestfs, you also need "
21289 "to read L<guestfs(3)>.  To read the full Perl API, see L<Sys::Guestfs(3)>."
21290 msgstr ""
21291
21292 #. type: =head2
21293 #: ../perl/examples/guestfs-perl.pod:26
21294 msgid "ERRORS"
21295 msgstr ""
21296
21297 #. type: textblock
21298 #: ../perl/examples/guestfs-perl.pod:28
21299 msgid ""
21300 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
21301 ">)."
21302 msgstr ""
21303
21304 #. type: textblock
21305 #: ../perl/examples/guestfs-perl.pod:41
21306 #, fuzzy
21307 #| msgid ""
21308 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21309 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
21310 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21311 msgid ""
21312 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)"
21313 ">, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
21314 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
21315 msgstr ""
21316 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21317 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
21318 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21319
21320 #. type: textblock
21321 #: ../python/examples/guestfs-python.pod:5
21322 msgid "guestfs-python - How to use libguestfs from Python"
21323 msgstr ""
21324
21325 #. type: verbatim
21326 #: ../python/examples/guestfs-python.pod:9
21327 #, no-wrap
21328 msgid ""
21329 " import guestfs\n"
21330 " g = guestfs.GuestFS ()\n"
21331 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
21332 " g.launch\n"
21333 "\n"
21334 msgstr ""
21335
21336 #. type: textblock
21337 #: ../python/examples/guestfs-python.pod:16
21338 msgid ""
21339 "This manual page documents how to call libguestfs from the Python "
21340 "programming language.  This page just documents the differences from the C "
21341 "API and gives some examples.  If you are not familiar with using libguestfs, "
21342 "you also need to read L<guestfs(3)>."
21343 msgstr ""
21344
21345 #. type: textblock
21346 #: ../python/examples/guestfs-python.pod:23
21347 msgid ""
21348 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
21349 "single string argument which is the error message."
21350 msgstr ""
21351
21352 #. type: =head2
21353 #: ../python/examples/guestfs-python.pod:26
21354 msgid "MORE DOCUMENTATION"
21355 msgstr ""
21356
21357 #. type: textblock
21358 #: ../python/examples/guestfs-python.pod:28
21359 msgid "Type:"
21360 msgstr ""
21361
21362 #. type: verbatim
21363 #: ../python/examples/guestfs-python.pod:30
21364 #, no-wrap
21365 msgid ""
21366 " $ python\n"
21367 " >>> import guestfs\n"
21368 " >>> help (guestfs)\n"
21369 "\n"
21370 msgstr ""
21371
21372 #. type: textblock
21373 #: ../python/examples/guestfs-python.pod:44
21374 #, fuzzy
21375 #| msgid ""
21376 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21377 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
21378 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21379 msgid ""
21380 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
21381 ">, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://"
21382 "libguestfs.org/>."
21383 msgstr ""
21384 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21385 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
21386 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21387
21388 #. type: textblock
21389 #: ../rescue/virt-rescue.pod:5
21390 msgid "virt-rescue - Run a rescue shell on a virtual machine"
21391 msgstr ""
21392
21393 #. type: verbatim
21394 #: ../rescue/virt-rescue.pod:9
21395 #, fuzzy, no-wrap
21396 #| msgid ""
21397 #| " virt-list-partitions [--options] domname\n"
21398 #| "\n"
21399 msgid ""
21400 " virt-rescue [--options] -d domname\n"
21401 "\n"
21402 msgstr ""
21403 " virt-list-partitions [--параметри] назва_домену\n"
21404 "\n"
21405
21406 #. type: verbatim
21407 #: ../rescue/virt-rescue.pod:11
21408 #, fuzzy, no-wrap
21409 #| msgid ""
21410 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
21411 #| "\n"
21412 msgid ""
21413 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
21414 "\n"
21415 msgstr ""
21416 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
21417 "\n"
21418
21419 #. type: verbatim
21420 #: ../rescue/virt-rescue.pod:15
21421 #, fuzzy, no-wrap
21422 #| msgid ""
21423 #| " virt-list-partitions [--options] domname\n"
21424 #| "\n"
21425 msgid ""
21426 " virt-rescue [--options] domname\n"
21427 "\n"
21428 msgstr ""
21429 " virt-list-partitions [--параметри] назва_домену\n"
21430 "\n"
21431
21432 #. type: verbatim
21433 #: ../rescue/virt-rescue.pod:17
21434 #, fuzzy, no-wrap
21435 #| msgid ""
21436 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
21437 #| "\n"
21438 msgid ""
21439 " virt-rescue [--options] disk.img [disk.img ...]\n"
21440 "\n"
21441 msgstr ""
21442 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
21443 "\n"
21444
21445 #. type: textblock
21446 #: ../rescue/virt-rescue.pod:21
21447 msgid ""
21448 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
21449 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
21450 "you from doing this, but doesn't catch all cases."
21451 msgstr ""
21452
21453 #. type: textblock
21454 #: ../rescue/virt-rescue.pod:25
21455 msgid ""
21456 "However if you use the I<--ro> (read only) option, then you can attach a "
21457 "shell to a live virtual machine.  The results might be strange or "
21458 "inconsistent at times but you won't get disk corruption."
21459 msgstr ""
21460
21461 #. type: textblock
21462 #: ../rescue/virt-rescue.pod:31
21463 msgid ""
21464 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
21465 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
21466 "recovery tools which you can use to examine or rescue a virtual machine or "
21467 "disk image."
21468 msgstr ""
21469
21470 #. type: textblock
21471 #: ../rescue/virt-rescue.pod:36
21472 msgid ""
21473 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
21474 "on disk image(s):"
21475 msgstr ""
21476
21477 #. type: verbatim
21478 #: ../rescue/virt-rescue.pod:39
21479 #, no-wrap
21480 msgid ""
21481 " virt-rescue -d GuestName\n"
21482 "\n"
21483 msgstr ""
21484
21485 #. type: verbatim
21486 #: ../rescue/virt-rescue.pod:41
21487 #, no-wrap
21488 msgid ""
21489 " virt-rescue --ro -a /path/to/disk.img\n"
21490 "\n"
21491 msgstr ""
21492
21493 #. type: verbatim
21494 #: ../rescue/virt-rescue.pod:43
21495 #, no-wrap
21496 msgid ""
21497 " virt-rescue -a /dev/sdc\n"
21498 "\n"
21499 msgstr ""
21500
21501 #. type: textblock
21502 #: ../rescue/virt-rescue.pod:45
21503 msgid "For live VMs you I<must> use the --ro option."
21504 msgstr ""
21505
21506 #. type: textblock
21507 #: ../rescue/virt-rescue.pod:47
21508 msgid ""
21509 "When you run virt-rescue on a virtual machine or disk image, you are placed "
21510 "in an interactive bash shell where you can use many ordinary Linux "
21511 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
21512 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
21513 "is an empty directory called C</sysroot> where you can mount filesystems."
21514 msgstr ""
21515
21516 #. type: textblock
21517 #: ../rescue/virt-rescue.pod:54
21518 msgid ""
21519 "In the example below, we list logical volumes, then choose one to mount "
21520 "under C</sysroot>:"
21521 msgstr ""
21522
21523 #. type: verbatim
21524 #: ../rescue/virt-rescue.pod:57
21525 #, no-wrap
21526 msgid ""
21527 " ><rescue> lvs\n"
21528 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
21529 " lv_root vg_f11x64 -wi-a-   8.83G\n"
21530 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
21531 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
21532 " ><rescue> ls /sysroot\n"
21533 "\n"
21534 msgstr ""
21535
21536 #. type: textblock
21537 #: ../rescue/virt-rescue.pod:64
21538 msgid ""
21539 "If you don't know what filesystems are available on the virtual machine then "
21540 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
21541 msgstr ""
21542
21543 #. type: textblock
21544 #: ../rescue/virt-rescue.pod:70
21545 msgid ""
21546 "Virt-rescue can be used on I<any> disk image file or device, not just a "
21547 "virtual machine.  For example you can use it on a blank file if you want to "
21548 "partition that file (although we would recommend using L<guestfish(1)> "
21549 "instead as it is more suitable for this purpose).  You can even use virt-"
21550 "rescue on things like SD cards."
21551 msgstr ""
21552
21553 #. type: textblock
21554 #: ../rescue/virt-rescue.pod:76
21555 msgid ""
21556 "Virt-rescue does not require root.  You only need to run it as root if you "
21557 "need root to open the disk image."
21558 msgstr ""
21559
21560 #. type: textblock
21561 #: ../rescue/virt-rescue.pod:79
21562 msgid ""
21563 "This tool is just designed for quick interactive hacking on a virtual "
21564 "machine.  For more structured access to a virtual machine disk image, you "
21565 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
21566 "make scripted changes to guests, use L<guestfish(1)>."
21567 msgstr ""
21568
21569 #. type: =item
21570 #: ../rescue/virt-rescue.pod:103
21571 msgid "B<--append kernelopts>"
21572 msgstr ""
21573
21574 #. type: textblock
21575 #: ../rescue/virt-rescue.pod:105
21576 msgid "Pass additional options to the rescue kernel."
21577 msgstr ""
21578
21579 #. type: verbatim
21580 #: ../rescue/virt-rescue.pod:135
21581 #, fuzzy, no-wrap
21582 #| msgid ""
21583 #| " guestfish --format=raw -a disk.img\n"
21584 #| "\n"
21585 msgid ""
21586 " virt-rescue --format=raw -a disk.img\n"
21587 "\n"
21588 msgstr ""
21589 " guestfish --format=raw -a disk.img\n"
21590 "\n"
21591
21592 #. type: verbatim
21593 #: ../rescue/virt-rescue.pod:139
21594 #, fuzzy, no-wrap
21595 #| msgid ""
21596 #| " guestfish --format=raw -a disk.img --format -a another.img\n"
21597 #| "\n"
21598 msgid ""
21599 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
21600 "\n"
21601 msgstr ""
21602 " guestfish --format=raw -a disk.img --format -a another.img\n"
21603 "\n"
21604
21605 #. type: =item
21606 #: ../rescue/virt-rescue.pod:148
21607 msgid "B<-m MB>"
21608 msgstr ""
21609
21610 #. type: =item
21611 #: ../rescue/virt-rescue.pod:150
21612 #, fuzzy
21613 #| msgid "B<--merge>"
21614 msgid "B<--memsize MB>"
21615 msgstr "B<--merge>"
21616
21617 #. type: textblock
21618 #: ../rescue/virt-rescue.pod:152
21619 msgid ""
21620 "Change the amount of memory allocated to the rescue system.  The default is "
21621 "set by libguestfs and is small but adequate for running system tools.  The "
21622 "occasional program might need more memory.  The parameter is specified in "
21623 "megabytes."
21624 msgstr ""
21625
21626 #. type: =item
21627 #: ../rescue/virt-rescue.pod:157
21628 #, fuzzy
21629 #| msgid "B<--inspector>"
21630 msgid "B<--network>"
21631 msgstr "B<--inspector>"
21632
21633 #. type: textblock
21634 #: ../rescue/virt-rescue.pod:159
21635 msgid "Enable QEMU user networking in the guest.  See L</NETWORK>."
21636 msgstr ""
21637
21638 #. type: textblock
21639 #: ../rescue/virt-rescue.pod:165
21640 msgid "Open the image read-only."
21641 msgstr ""
21642
21643 #. type: textblock
21644 #: ../rescue/virt-rescue.pod:175
21645 msgid ""
21646 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
21647 "SELINUX> before using this option."
21648 msgstr ""
21649
21650 #. type: textblock
21651 #: ../rescue/virt-rescue.pod:194
21652 msgid ""
21653 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
21654 "are done read-write."
21655 msgstr ""
21656
21657 #. type: textblock
21658 #: ../rescue/virt-rescue.pod:207
21659 msgid "Previous versions of virt-rescue allowed you to write either:"
21660 msgstr ""
21661
21662 #. type: verbatim
21663 #: ../rescue/virt-rescue.pod:209
21664 #, fuzzy, no-wrap
21665 #| msgid ""
21666 #| " virt-list-partitions [--options] disk.img [disk.img ...]\n"
21667 #| "\n"
21668 msgid ""
21669 " virt-rescue disk.img [disk.img ...]\n"
21670 "\n"
21671 msgstr ""
21672 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
21673 "\n"
21674
21675 #. type: verbatim
21676 #: ../rescue/virt-rescue.pod:213
21677 #, fuzzy, no-wrap
21678 #| msgid ""
21679 #| " file-architecture filename\n"
21680 #| "\n"
21681 msgid ""
21682 " virt-rescue guestname\n"
21683 "\n"
21684 msgstr ""
21685 " file-architecture назва_файла\n"
21686 "\n"
21687
21688 #. type: =head1
21689 #: ../rescue/virt-rescue.pod:221
21690 msgid "NETWORK"
21691 msgstr ""
21692
21693 #. type: textblock
21694 #: ../rescue/virt-rescue.pod:223
21695 msgid ""
21696 "Adding the I<--network> option enables QEMU user networking in the rescue "
21697 "appliance.  There are some differences between user networking and ordinary "
21698 "networking:"
21699 msgstr ""
21700
21701 #. type: =item
21702 #: ../rescue/virt-rescue.pod:229
21703 msgid "ping does not work"
21704 msgstr ""
21705
21706 #. type: textblock
21707 #: ../rescue/virt-rescue.pod:231
21708 msgid ""
21709 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
21710 "send the ping packets, and because virt-rescue must be able to run as non-"
21711 "root, QEMU user networking is not able to emulate the L<ping(8)> command.  "
21712 "The ping command will appear to resolve addresses but will not be able to "
21713 "send or receive any packets.  This does not mean that the network is not "
21714 "working."
21715 msgstr ""
21716
21717 #. type: =item
21718 #: ../rescue/virt-rescue.pod:238
21719 msgid "cannot receive connections"
21720 msgstr ""
21721
21722 #. type: textblock
21723 #: ../rescue/virt-rescue.pod:240
21724 msgid "QEMU user networking cannot receive incoming connections."
21725 msgstr ""
21726
21727 #. type: =item
21728 #: ../rescue/virt-rescue.pod:242
21729 msgid "making TCP connections"
21730 msgstr ""
21731
21732 #. type: textblock
21733 #: ../rescue/virt-rescue.pod:244
21734 msgid ""
21735 "The virt-rescue appliance needs to be small and so does not include many "
21736 "network tools.  In particular there is no L<telnet(1)> command.  You can "
21737 "make TCP connections from the shell using the magical C</dev/tcp/"
21738 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
21739 msgstr ""
21740
21741 #. type: verbatim
21742 #: ../rescue/virt-rescue.pod:249
21743 #, no-wrap
21744 msgid ""
21745 " exec 3<>/dev/tcp/redhat.com/80\n"
21746 " echo \"GET /\" >&3\n"
21747 " cat <&3\n"
21748 "\n"
21749 msgstr ""
21750
21751 #. type: textblock
21752 #: ../rescue/virt-rescue.pod:253
21753 msgid "See L<bash(1)> for more details."
21754 msgstr ""
21755
21756 #. type: textblock
21757 #: ../rescue/virt-rescue.pod:259
21758 msgid ""
21759 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
21760 "ENVIRONMENT VARIABLES> for the complete list."
21761 msgstr ""
21762
21763 #. type: textblock
21764 #: ../rescue/virt-rescue.pod:286
21765 #, fuzzy
21766 #| msgid ""
21767 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21768 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
21769 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21770 msgid ""
21771 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<http://"
21772 "libguestfs.org/>."
21773 msgstr ""
21774 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
21775 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
21776 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
21777
21778 #. type: textblock
21779 #: ../resize/virt-resize.pod:5
21780 msgid "virt-resize - Resize a virtual machine disk"
21781 msgstr ""
21782
21783 #. type: verbatim
21784 #: ../resize/virt-resize.pod:9
21785 #, no-wrap
21786 msgid ""
21787 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
21788 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
21789 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
21790 "\n"
21791 msgstr ""
21792
21793 #. type: textblock
21794 #: ../resize/virt-resize.pod:15
21795 msgid ""
21796 "Virt-resize is a tool which can resize a virtual machine disk, making it "
21797 "larger or smaller overall, and resizing or deleting any partitions contained "
21798 "within."
21799 msgstr ""
21800
21801 #. type: textblock
21802 #: ../resize/virt-resize.pod:19
21803 msgid ""
21804 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
21805 "not> be used on live virtual machines - for consistent results, shut the "
21806 "virtual machine down before resizing it."
21807 msgstr ""
21808
21809 #. type: textblock
21810 #: ../resize/virt-resize.pod:23
21811 msgid ""
21812 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
21813 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
21814 msgstr ""
21815
21816 #. type: =item
21817 #: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:520
21818 #: ../src/guestfs.pod:469 ../src/guestfs.pod:1257 ../src/guestfs.pod:1396
21819 #: ../src/guestfs.pod:2574
21820 msgid "1."
21821 msgstr "1."
21822
21823 #. type: textblock
21824 #: ../resize/virt-resize.pod:33
21825 msgid ""
21826 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
21827 "fill the extra 5GB of space."
21828 msgstr ""
21829
21830 #. type: verbatim
21831 #: ../resize/virt-resize.pod:36
21832 #, no-wrap
21833 msgid ""
21834 " virt-filesystems --long -h --all -a olddisk\n"
21835 " \n"
21836 msgstr ""
21837
21838 #. type: verbatim
21839 #: ../resize/virt-resize.pod:38
21840 #, no-wrap
21841 msgid ""
21842 " truncate -r olddisk newdisk\n"
21843 " truncate -s +5G newdisk\n"
21844 " \n"
21845 msgstr ""
21846
21847 #. type: verbatim
21848 #: ../resize/virt-resize.pod:41
21849 #, no-wrap
21850 msgid ""
21851 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
21852 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
21853 "\n"
21854 msgstr ""
21855
21856 #. type: =item
21857 #: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:527
21858 #: ../src/guestfs.pod:475 ../src/guestfs.pod:1261 ../src/guestfs.pod:1400
21859 #: ../src/guestfs.pod:2599
21860 msgid "2."
21861 msgstr "2."
21862
21863 #. type: textblock
21864 #: ../resize/virt-resize.pod:46
21865 msgid ""
21866 "As above, but make the /boot partition 200MB bigger, while giving the "
21867 "remaining space to /dev/sda2:"
21868 msgstr ""
21869
21870 #. type: verbatim
21871 #: ../resize/virt-resize.pod:49
21872 #, no-wrap
21873 msgid ""
21874 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
21875 "   olddisk newdisk\n"
21876 "\n"
21877 msgstr ""
21878
21879 #. type: =item
21880 #: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:533
21881 #: ../src/guestfs.pod:486 ../src/guestfs.pod:1406
21882 msgid "3."
21883 msgstr "3."
21884
21885 #. type: textblock
21886 #: ../resize/virt-resize.pod:54
21887 msgid ""
21888 "As in the first example, but expand a logical volume as the final step.  "
21889 "This is what you would typically use for Linux guests that use LVM:"
21890 msgstr ""
21891
21892 #. type: verbatim
21893 #: ../resize/virt-resize.pod:58
21894 #, no-wrap
21895 msgid ""
21896 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
21897 "   olddisk newdisk\n"
21898 "\n"
21899 msgstr ""
21900
21901 #. type: =item
21902 #: ../resize/virt-resize.pod:61
21903 msgid "4."
21904 msgstr ""
21905
21906 #. type: textblock
21907 #: ../resize/virt-resize.pod:63
21908 msgid ""
21909 "As in the first example, but the output format will be qcow2 instead of a "
21910 "raw disk:"
21911 msgstr ""
21912
21913 #. type: verbatim
21914 #: ../resize/virt-resize.pod:66
21915 #, no-wrap
21916 msgid ""
21917 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
21918 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
21919 "\n"
21920 msgstr ""
21921
21922 #. type: =head1
21923 #: ../resize/virt-resize.pod:71
21924 msgid "DETAILED USAGE"
21925 msgstr ""
21926
21927 #. type: =head2
21928 #: ../resize/virt-resize.pod:73
21929 msgid "EXPANDING A VIRTUAL MACHINE DISK"
21930 msgstr ""
21931
21932 #. type: =item
21933 #: ../resize/virt-resize.pod:77
21934 msgid "1. Shut down the virtual machine"
21935 msgstr ""
21936
21937 #. type: =item
21938 #: ../resize/virt-resize.pod:79
21939 msgid "2. Locate input disk image"
21940 msgstr ""
21941
21942 #. type: textblock
21943 #: ../resize/virt-resize.pod:81
21944 msgid ""
21945 "Locate the input disk image (ie. the file or device on the host containing "
21946 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
21947 "dumpxml> like this to find the disk image name:"
21948 msgstr ""
21949
21950 #. type: verbatim
21951 #: ../resize/virt-resize.pod:85
21952 #, no-wrap
21953 msgid ""
21954 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
21955 " Found 1 nodes:\n"
21956 " -- NODE --\n"
21957 " <source dev=\"/dev/vg/lv_guest\" />\n"
21958 "\n"
21959 msgstr ""
21960
21961 #. type: =item
21962 #: ../resize/virt-resize.pod:90
21963 msgid "3. Look at current sizing"
21964 msgstr ""
21965
21966 #. type: textblock
21967 #: ../resize/virt-resize.pod:92
21968 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
21969 msgstr ""
21970
21971 #. type: verbatim
21972 #: ../resize/virt-resize.pod:95
21973 #, no-wrap
21974 msgid ""
21975 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
21976 " Name       Type       Size  Parent\n"
21977 " /dev/sda1  partition  101M  /dev/sda\n"
21978 " /dev/sda2  partition  7.9G  /dev/sda\n"
21979 " /dev/sda   device     8.0G  -\n"
21980 "\n"
21981 msgstr ""
21982
21983 #. type: textblock
21984 #: ../resize/virt-resize.pod:101
21985 msgid ""
21986 "(This example is a virtual machine with an 8 GB disk which we would like to "
21987 "expand up to 10 GB)."
21988 msgstr ""
21989
21990 #. type: =item
21991 #: ../resize/virt-resize.pod:104
21992 msgid "4. Create output disk"
21993 msgstr ""
21994
21995 #. type: textblock
21996 #: ../resize/virt-resize.pod:106
21997 msgid ""
21998 "Virt-resize cannot do in-place disk modifications.  You have to have space "
21999 "to store the resized output disk."
22000 msgstr ""
22001
22002 #. type: textblock
22003 #: ../resize/virt-resize.pod:109
22004 msgid ""
22005 "To store the resized disk image in a file, create a file of a suitable size:"
22006 msgstr ""
22007
22008 #. type: verbatim
22009 #: ../resize/virt-resize.pod:112
22010 #, no-wrap
22011 msgid ""
22012 " # rm -f outdisk\n"
22013 " # truncate -s 10G outdisk\n"
22014 "\n"
22015 msgstr ""
22016
22017 #. type: textblock
22018 #: ../resize/virt-resize.pod:115
22019 msgid "Or use L<lvcreate(1)> to create a logical volume:"
22020 msgstr ""
22021
22022 #. type: verbatim
22023 #: ../resize/virt-resize.pod:117
22024 #, no-wrap
22025 msgid ""
22026 " # lvcreate -L 10G -n lv_name vg_name\n"
22027 "\n"
22028 msgstr ""
22029
22030 #. type: textblock
22031 #: ../resize/virt-resize.pod:119
22032 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
22033 msgstr ""
22034
22035 #. type: verbatim
22036 #: ../resize/virt-resize.pod:121
22037 #, no-wrap
22038 msgid ""
22039 " # virsh pool-list\n"
22040 " # virsh vol-create-as poolname newvol 10G\n"
22041 "\n"
22042 msgstr ""
22043
22044 #. type: =item
22045 #: ../resize/virt-resize.pod:124
22046 msgid "5. Resize"
22047 msgstr ""
22048
22049 #. type: textblock
22050 #: ../resize/virt-resize.pod:126
22051 msgid ""
22052 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
22053 "file) and the output disk.  The output disk is the one created in the "
22054 "previous step."
22055 msgstr ""
22056
22057 #. type: verbatim
22058 #: ../resize/virt-resize.pod:130
22059 #, no-wrap
22060 msgid ""
22061 " # virt-resize indisk outdisk\n"
22062 "\n"
22063 msgstr ""
22064
22065 #. type: textblock
22066 #: ../resize/virt-resize.pod:132
22067 msgid ""
22068 "This command just copies disk image C<indisk> to disk image C<outdisk> "
22069 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
22070 "larger, then an extra, empty partition is created at the end of the disk "
22071 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
22072 "error."
22073 msgstr ""
22074
22075 #. type: textblock
22076 #: ../resize/virt-resize.pod:138
22077 msgid ""
22078 "More realistically you'd want to expand existing partitions in the disk "
22079 "image by passing extra options (for the full list see the L</OPTIONS> "
22080 "section below)."
22081 msgstr ""
22082
22083 #. type: textblock
22084 #: ../resize/virt-resize.pod:142
22085 msgid ""
22086 "L</--expand> is the most useful option.  It expands the named partition "
22087 "within the disk to fill any extra space:"
22088 msgstr ""
22089
22090 #. type: verbatim
22091 #: ../resize/virt-resize.pod:145
22092 #, no-wrap
22093 msgid ""
22094 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
22095 "\n"
22096 msgstr ""
22097
22098 #. type: textblock
22099 #: ../resize/virt-resize.pod:147
22100 msgid ""
22101 "(In this case, an extra partition is I<not> created at the end of the disk, "
22102 "because there will be no unused space)."
22103 msgstr ""
22104
22105 #. type: textblock
22106 #: ../resize/virt-resize.pod:150
22107 msgid ""
22108 "L</--resize> is the other commonly used option.  The following would "
22109 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
22110 "rest of the available space:"
22111 msgstr ""
22112
22113 #. type: verbatim
22114 #: ../resize/virt-resize.pod:154
22115 #, no-wrap
22116 msgid ""
22117 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
22118 "     indisk outdisk\n"
22119 "\n"
22120 msgstr ""
22121
22122 #. type: textblock
22123 #: ../resize/virt-resize.pod:157
22124 msgid ""
22125 "If the expanded partition in the image contains a filesystem or LVM PV, then "
22126 "if virt-resize knows how, it will resize the contents, the equivalent of "
22127 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
22128 "or L<btrfs(8)>.  However virt-resize does not know how to resize some "
22129 "filesystems, so you would have to online resize them after booting the guest."
22130 msgstr ""
22131
22132 #. type: textblock
22133 #: ../resize/virt-resize.pod:164
22134 msgid "Other options are covered below."
22135 msgstr ""
22136
22137 #. type: =item
22138 #: ../resize/virt-resize.pod:166
22139 msgid "6. Test"
22140 msgstr ""
22141
22142 #. type: textblock
22143 #: ../resize/virt-resize.pod:168
22144 msgid "Thoroughly test the new disk image I<before> discarding the old one."
22145 msgstr ""
22146
22147 #. type: textblock
22148 #: ../resize/virt-resize.pod:170
22149 msgid "If you are using libvirt, edit the XML to point at the new disk:"
22150 msgstr ""
22151
22152 #. type: verbatim
22153 #: ../resize/virt-resize.pod:172
22154 #, fuzzy, no-wrap
22155 #| msgid ""
22156 #| " edit filename\n"
22157 #| "\n"
22158 msgid ""
22159 " # virsh edit guestname\n"
22160 "\n"
22161 msgstr ""
22162 " edit назва_файла\n"
22163 "\n"
22164
22165 #. type: textblock
22166 #: ../resize/virt-resize.pod:174
22167 msgid ""
22168 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
22169 "html#elementsDisks>"
22170 msgstr ""
22171
22172 #. type: textblock
22173 #: ../resize/virt-resize.pod:177
22174 msgid "Then start up the domain with the new, resized disk:"
22175 msgstr ""
22176
22177 #. type: verbatim
22178 #: ../resize/virt-resize.pod:179
22179 #, fuzzy, no-wrap
22180 #| msgid ""
22181 #| " ln-s target linkname\n"
22182 #| "\n"
22183 msgid ""
22184 " # virsh start guestname\n"
22185 "\n"
22186 msgstr ""
22187 " ln-s призначення назва_посилання\n"
22188 "\n"
22189
22190 #. type: textblock
22191 #: ../resize/virt-resize.pod:181
22192 msgid ""
22193 "and check that it still works.  See also the L</NOTES> section below for "
22194 "additional information."
22195 msgstr ""
22196
22197 #. type: =item
22198 #: ../resize/virt-resize.pod:184
22199 msgid "7. Resize LVs etc inside the guest"
22200 msgstr ""
22201
22202 #. type: textblock
22203 #: ../resize/virt-resize.pod:186
22204 msgid "(This can also be done offline using L<guestfish(1)>)"
22205 msgstr ""
22206
22207 #. type: textblock
22208 #: ../resize/virt-resize.pod:188
22209 msgid ""
22210 "Once the guest has booted you should see the new space available, at least "
22211 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
22212 "may need to resize LVs inside PVs, and also resize filesystem types that "
22213 "virt-resize does not know how to expand."
22214 msgstr ""
22215
22216 #. type: =head2
22217 #: ../resize/virt-resize.pod:195
22218 msgid "SHRINKING A VIRTUAL MACHINE DISK"
22219 msgstr ""
22220
22221 #. type: textblock
22222 #: ../resize/virt-resize.pod:197
22223 msgid ""
22224 "Shrinking is somewhat more complex than expanding, and only an overview is "
22225 "given here."
22226 msgstr ""
22227
22228 #. type: textblock
22229 #: ../resize/virt-resize.pod:200
22230 msgid ""
22231 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
22232 "filesystems).  The user has to shrink content before passing the disk image "
22233 "to virt-resize, and virt-resize will check that the content has been shrunk "
22234 "properly."
22235 msgstr ""
22236
22237 #. type: textblock
22238 #: ../resize/virt-resize.pod:205
22239 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
22240 msgstr ""
22241
22242 #. type: textblock
22243 #: ../resize/virt-resize.pod:207
22244 msgid ""
22245 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
22246 "steps 3 and 4 above to allocate a new disk image."
22247 msgstr ""
22248
22249 #. type: textblock
22250 #: ../resize/virt-resize.pod:210
22251 msgid ""
22252 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
22253 msgstr ""
22254
22255 #. type: =head2
22256 #: ../resize/virt-resize.pod:213
22257 msgid "IGNORING OR DELETING PARTITIONS"
22258 msgstr ""
22259
22260 #. type: textblock
22261 #: ../resize/virt-resize.pod:215
22262 msgid ""
22263 "virt-resize also gives a convenient way to ignore or delete partitions when "
22264 "copying from the input disk to the output disk.  Ignoring a partition speeds "
22265 "up the copy where you don't care about the existing contents of a "
22266 "partition.  Deleting a partition removes it completely, but note that it "
22267 "also renumbers any partitions after the one which is deleted, which can "
22268 "leave some guests unbootable."
22269 msgstr ""
22270
22271 #. type: =head2
22272 #: ../resize/virt-resize.pod:222
22273 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
22274 msgstr ""
22275
22276 #. type: textblock
22277 #: ../resize/virt-resize.pod:224
22278 msgid ""
22279 "If the input disk is in qcow2 format, then you may prefer that the output is "
22280 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
22281 "the fly.  The output format is simply determined by the format of the empty "
22282 "output container that you provide.  Thus to create qcow2 output, use:"
22283 msgstr ""
22284
22285 #. type: verbatim
22286 #: ../resize/virt-resize.pod:230
22287 #, no-wrap
22288 msgid ""
22289 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
22290 "\n"
22291 msgstr ""
22292
22293 #. type: textblock
22294 #: ../resize/virt-resize.pod:232
22295 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
22296 msgstr ""
22297
22298 #. type: textblock
22299 #: ../resize/virt-resize.pod:234
22300 msgid "Similarly, to get non-sparse raw output use:"
22301 msgstr ""
22302
22303 #. type: verbatim
22304 #: ../resize/virt-resize.pod:236
22305 #, fuzzy, no-wrap
22306 #| msgid ""
22307 #| " fallocate path len\n"
22308 #| "\n"
22309 msgid ""
22310 " fallocate -l size outdisk\n"
22311 "\n"
22312 msgstr ""
22313 " fallocate шлях довжина\n"
22314 "\n"
22315
22316 #. type: textblock
22317 #: ../resize/virt-resize.pod:238
22318 msgid ""
22319 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
22320 "dev/zero of=outdisk bs=1M count=..>)"
22321 msgstr ""
22322
22323 #. type: textblock
22324 #: ../resize/virt-resize.pod:247
22325 msgid "Display help."
22326 msgstr ""
22327
22328 #. type: =item
22329 #: ../resize/virt-resize.pod:249
22330 msgid "B<-d>"
22331 msgstr ""
22332
22333 #. type: =item
22334 #: ../resize/virt-resize.pod:251 ../tools/virt-make-fs.pl:177
22335 #: ../tools/virt-win-reg.pl:120
22336 msgid "B<--debug>"
22337 msgstr "B<--debug>"
22338
22339 #. type: textblock
22340 #: ../resize/virt-resize.pod:253 ../tools/virt-win-reg.pl:122
22341 msgid "Enable debugging messages."
22342 msgstr ""
22343
22344 #. type: =item
22345 #: ../resize/virt-resize.pod:255
22346 #, fuzzy
22347 #| msgid "B<--no-dest-paths>"
22348 msgid "B<--delete part>"
22349 msgstr "B<--no-dest-paths>"
22350
22351 #. type: textblock
22352 #: ../resize/virt-resize.pod:257
22353 msgid ""
22354 "Delete the named partition.  It would be more accurate to describe this as "
22355 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
22356 "the original disk image is left intact."
22357 msgstr ""
22358
22359 #. type: textblock
22360 #: ../resize/virt-resize.pod:261
22361 msgid ""
22362 "Note that when you delete a partition, then anything contained in the "
22363 "partition is also deleted.  Furthermore, this causes any partitions that "
22364 "come after to be I<renumbered>, which can easily make your guest unbootable."
22365 msgstr ""
22366
22367 #. type: textblock
22368 #: ../resize/virt-resize.pod:266 ../resize/virt-resize.pod:327
22369 #: ../resize/virt-resize.pod:454
22370 msgid "You can give this option multiple times."
22371 msgstr ""
22372
22373 #. type: =item
22374 #: ../resize/virt-resize.pod:268
22375 #, fuzzy
22376 #| msgid "B<--partition>"
22377 msgid "B<--expand part>"
22378 msgstr "B<--partition>"
22379
22380 #. type: textblock
22381 #: ../resize/virt-resize.pod:270
22382 msgid ""
22383 "Expand the named partition so it uses up all extra space (space left over "
22384 "after any other resize changes that you request have been done)."
22385 msgstr ""
22386
22387 #. type: textblock
22388 #: ../resize/virt-resize.pod:273
22389 msgid ""
22390 "If virt-resize knows how, it will expand the direct content of the "
22391 "partition.  For example, if the partition is an LVM PV, it will expand the "
22392 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
22393 "content it doesn't know about alone."
22394 msgstr ""
22395
22396 #. type: textblock
22397 #: ../resize/virt-resize.pod:278
22398 msgid "Currently virt-resize can resize:"
22399 msgstr ""
22400
22401 #. type: textblock
22402 #: ../resize/virt-resize.pod:284
22403 msgid "ext2, ext3 and ext4 filesystems."
22404 msgstr ""
22405
22406 #. type: textblock
22407 #: ../resize/virt-resize.pod:288
22408 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
22409 msgstr ""
22410
22411 #. type: textblock
22412 #: ../resize/virt-resize.pod:290
22413 msgid ""
22414 "The filesystem must have been shut down consistently last time it was used.  "
22415 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
22416 "consistency check, so at the first boot after resizing Windows will check "
22417 "the disk."
22418 msgstr ""
22419
22420 #. type: textblock
22421 #: ../resize/virt-resize.pod:297
22422 msgid ""
22423 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
22424 "inside the PV, but see the I<--LV-expand> option.  The user could also "
22425 "resize LVs as desired after boot."
22426 msgstr ""
22427
22428 #. type: textblock
22429 #: ../resize/virt-resize.pod:303
22430 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
22431 msgstr ""
22432
22433 #. type: textblock
22434 #: ../resize/virt-resize.pod:307 ../resize/virt-resize.pod:482
22435 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
22436 msgstr ""
22437
22438 #. type: =item
22439 #: ../resize/virt-resize.pod:309 ../tools/virt-list-filesystems.pl:91
22440 #: ../tools/virt-list-partitions.pl:92 ../tools/virt-tar.pl:141
22441 #: ../tools/virt-win-reg.pl:142
22442 msgid "B<--format> raw"
22443 msgstr ""
22444
22445 #. type: textblock
22446 #: ../resize/virt-resize.pod:311
22447 msgid ""
22448 "Specify the format of the input disk image.  If this flag is not given then "
22449 "it is auto-detected from the image itself."
22450 msgstr ""
22451
22452 #. type: textblock
22453 #: ../resize/virt-resize.pod:317
22454 msgid ""
22455 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
22456 "AND NON-SPARSE RAW FORMATS>."
22457 msgstr ""
22458
22459 #. type: =item
22460 #: ../resize/virt-resize.pod:320
22461 #, fuzzy
22462 #| msgid "B<--format>"
22463 msgid "B<--ignore part>"
22464 msgstr "B<--format>"
22465
22466 #. type: textblock
22467 #: ../resize/virt-resize.pod:322
22468 msgid ""
22469 "Ignore the named partition.  Effectively this means the partition is "
22470 "allocated on the destination disk, but the content is not copied across from "
22471 "the source disk.  The content of the partition will be blank (all zero "
22472 "bytes)."
22473 msgstr ""
22474
22475 #. type: =item
22476 #: ../resize/virt-resize.pod:329
22477 msgid "B<--LV-expand logvol>"
22478 msgstr ""
22479
22480 #. type: textblock
22481 #: ../resize/virt-resize.pod:331
22482 msgid ""
22483 "This takes the logical volume and, as a final step, expands it to fill all "
22484 "the space available in its volume group.  A typical usage, assuming a Linux "
22485 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
22486 "lv_root> would be:"
22487 msgstr ""
22488
22489 #. type: verbatim
22490 #: ../resize/virt-resize.pod:336
22491 #, no-wrap
22492 msgid ""
22493 " virt-resize indisk outdisk \\\n"
22494 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
22495 "\n"
22496 msgstr ""
22497
22498 #. type: textblock
22499 #: ../resize/virt-resize.pod:339
22500 msgid ""
22501 "This would first expand the partition (and PV), and then expand the root "
22502 "device to fill the extra space in the PV."
22503 msgstr ""
22504
22505 #. type: textblock
22506 #: ../resize/virt-resize.pod:342
22507 msgid ""
22508 "The contents of the LV are also resized if virt-resize knows how to do "
22509 "that.  You can stop virt-resize from trying to expand the content by using "
22510 "the option I<--no-expand-content>."
22511 msgstr ""
22512
22513 #. type: textblock
22514 #: ../resize/virt-resize.pod:346
22515 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
22516 msgstr ""
22517
22518 #. type: textblock
22519 #: ../resize/virt-resize.pod:348
22520 msgid ""
22521 "You can give this option multiple times, I<but> it doesn't make sense to do "
22522 "this unless the logical volumes you specify are all in different volume "
22523 "groups."
22524 msgstr ""
22525
22526 #. type: =item
22527 #: ../resize/virt-resize.pod:352
22528 #, fuzzy
22529 #| msgid "B<-h> | B<--human-readable>"
22530 msgid "B<--machine-readable>"
22531 msgstr "B<-h> | B<--human-readable>"
22532
22533 #. type: textblock
22534 #: ../resize/virt-resize.pod:354
22535 msgid ""
22536 "This option is used to make the output more machine friendly when being "
22537 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
22538 msgstr ""
22539
22540 #. type: =item
22541 #: ../resize/virt-resize.pod:360
22542 #, fuzzy
22543 #| msgid "B<--debug>"
22544 msgid "B<--dryrun>"
22545 msgstr "B<--debug>"
22546
22547 #. type: textblock
22548 #: ../resize/virt-resize.pod:362
22549 msgid "Print a summary of what would be done, but don't do anything."
22550 msgstr ""
22551
22552 #. type: =item
22553 #: ../resize/virt-resize.pod:364
22554 msgid "B<--no-copy-boot-loader>"
22555 msgstr ""
22556
22557 #. type: textblock
22558 #: ../resize/virt-resize.pod:366
22559 msgid ""
22560 "By default, virt-resize copies over some sectors at the start of the disk "
22561 "(up to the beginning of the first partition).  Commonly these sectors "
22562 "contain the Master Boot Record (MBR) and the boot loader, and are required "
22563 "in order for the guest to boot correctly."
22564 msgstr ""
22565
22566 #. type: textblock
22567 #: ../resize/virt-resize.pod:371
22568 msgid ""
22569 "If you specify this flag, then this initial copy is not done.  You may need "
22570 "to reinstall the boot loader in this case."
22571 msgstr ""
22572
22573 #. type: =item
22574 #: ../resize/virt-resize.pod:374
22575 #, fuzzy
22576 #| msgid "B<--partition>"
22577 msgid "B<--no-extra-partition>"
22578 msgstr "B<--partition>"
22579
22580 #. type: textblock
22581 #: ../resize/virt-resize.pod:376
22582 msgid ""
22583 "By default, virt-resize creates an extra partition if there is any extra, "
22584 "unused space after all resizing has happened.  Use this option to prevent "
22585 "the extra partition from being created.  If you do this then the extra space "
22586 "will be inaccessible until you run fdisk, parted, or some other partitioning "
22587 "tool in the guest."
22588 msgstr ""
22589
22590 #. type: textblock
22591 #: ../resize/virt-resize.pod:382
22592 msgid ""
22593 "Note that if the surplus space is smaller than 10 MB, no extra partition "
22594 "will be created."
22595 msgstr ""
22596
22597 #. type: =item
22598 #: ../resize/virt-resize.pod:385
22599 #, fuzzy
22600 #| msgid "B<--no-dest-paths>"
22601 msgid "B<--no-expand-content>"
22602 msgstr "B<--no-dest-paths>"
22603
22604 #. type: textblock
22605 #: ../resize/virt-resize.pod:387
22606 msgid ""
22607 "By default, virt-resize will try to expand the direct contents of "
22608 "partitions, if it knows how (see I<--expand> option above)."
22609 msgstr ""
22610
22611 #. type: textblock
22612 #: ../resize/virt-resize.pod:390
22613 msgid ""
22614 "If you give the I<--no-expand-content> option then virt-resize will not "
22615 "attempt this."
22616 msgstr ""
22617
22618 #. type: =item
22619 #: ../resize/virt-resize.pod:393
22620 #, fuzzy
22621 #| msgid "ntfsresize-size"
22622 msgid "B<--ntfsresize-force>"
22623 msgstr "ntfsresize-size"
22624
22625 #. type: textblock
22626 #: ../resize/virt-resize.pod:395
22627 msgid ""
22628 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
22629 "the NTFS disk is marked as needing a consistency check.  You have to use "
22630 "this option if you want to resize a Windows guest multiple times without "
22631 "booting into Windows between each resize."
22632 msgstr ""
22633
22634 #. type: =item
22635 #: ../resize/virt-resize.pod:401
22636 #, fuzzy
22637 #| msgid "B<--format>"
22638 msgid "B<--output-format> raw"
22639 msgstr "B<--format>"
22640
22641 #. type: textblock
22642 #: ../resize/virt-resize.pod:403
22643 msgid ""
22644 "Specify the format of the output disk image.  If this flag is not given then "
22645 "it is auto-detected from the image itself."
22646 msgstr ""
22647
22648 #. type: textblock
22649 #: ../resize/virt-resize.pod:409
22650 msgid ""
22651 "Note that this option I<does not create> the output format.  This option "
22652 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
22653 "need to create the output disk with the right format.  See L</QCOW2 AND NON-"
22654 "SPARSE RAW FORMATS>."
22655 msgstr ""
22656
22657 #. type: =item
22658 #: ../resize/virt-resize.pod:414
22659 msgid "B<-q>"
22660 msgstr ""
22661
22662 #. type: =item
22663 #: ../resize/virt-resize.pod:416
22664 #, fuzzy
22665 #| msgid "B<--live>"
22666 msgid "B<--quiet>"
22667 msgstr "B<--live>"
22668
22669 #. type: textblock
22670 #: ../resize/virt-resize.pod:418
22671 msgid "Don't print the summary."
22672 msgstr ""
22673
22674 #. type: =item
22675 #: ../resize/virt-resize.pod:420
22676 #, fuzzy
22677 #| msgid "B<part_size>"
22678 msgid "B<--resize part=size>"
22679 msgstr "B<part_size>"
22680
22681 #. type: textblock
22682 #: ../resize/virt-resize.pod:422
22683 msgid ""
22684 "Resize the named partition (expanding or shrinking it) so that it has the "
22685 "given size."
22686 msgstr ""
22687
22688 #. type: textblock
22689 #: ../resize/virt-resize.pod:425
22690 msgid ""
22691 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
22692 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
22693 "size; or as a relative number or percentage.  For example:"
22694 msgstr ""
22695
22696 #. type: verbatim
22697 #: ../resize/virt-resize.pod:431
22698 #, fuzzy, no-wrap
22699 #| msgid ""
22700 #| " hexedit /dev/sda 1M\n"
22701 #| "\n"
22702 msgid ""
22703 " --resize /dev/sda2=10G\n"
22704 "\n"
22705 msgstr ""
22706 " hexedit /dev/sda 1M\n"
22707 "\n"
22708
22709 #. type: verbatim
22710 #: ../resize/virt-resize.pod:433
22711 #, fuzzy, no-wrap
22712 #| msgid ""
22713 #| " pvresize device\n"
22714 #| "\n"
22715 msgid ""
22716 " --resize /dev/sda4=90%\n"
22717 "\n"
22718 msgstr ""
22719 " pvresize пристрій\n"
22720 "\n"
22721
22722 #. type: verbatim
22723 #: ../resize/virt-resize.pod:435
22724 #, fuzzy, no-wrap
22725 #| msgid ""
22726 #| " hexedit /dev/sda 1M\n"
22727 #| "\n"
22728 msgid ""
22729 " --resize /dev/sda2=+1G\n"
22730 "\n"
22731 msgstr ""
22732 " hexedit /dev/sda 1M\n"
22733 "\n"
22734
22735 #. type: verbatim
22736 #: ../resize/virt-resize.pod:437
22737 #, fuzzy, no-wrap
22738 #| msgid ""
22739 #| " hexedit /dev/sda 1M\n"
22740 #| "\n"
22741 msgid ""
22742 " --resize /dev/sda2=-200M\n"
22743 "\n"
22744 msgstr ""
22745 " hexedit /dev/sda 1M\n"
22746 "\n"
22747
22748 #. type: verbatim
22749 #: ../resize/virt-resize.pod:439
22750 #, fuzzy, no-wrap
22751 #| msgid ""
22752 #| " hexedit /dev/sda 1M\n"
22753 #| "\n"
22754 msgid ""
22755 " --resize /dev/sda1=+128K\n"
22756 "\n"
22757 msgstr ""
22758 " hexedit /dev/sda 1M\n"
22759 "\n"
22760
22761 #. type: verbatim
22762 #: ../resize/virt-resize.pod:441
22763 #, fuzzy, no-wrap
22764 #| msgid ""
22765 #| " hexedit /dev/sda 1M\n"
22766 #| "\n"
22767 msgid ""
22768 " --resize /dev/sda1=+10%\n"
22769 "\n"
22770 msgstr ""
22771 " hexedit /dev/sda 1M\n"
22772 "\n"
22773
22774 #. type: verbatim
22775 #: ../resize/virt-resize.pod:443
22776 #, fuzzy, no-wrap
22777 #| msgid ""
22778 #| " hexedit /dev/sda 1M\n"
22779 #| "\n"
22780 msgid ""
22781 " --resize /dev/sda1=-10%\n"
22782 "\n"
22783 msgstr ""
22784 " hexedit /dev/sda 1M\n"
22785 "\n"
22786
22787 #. type: textblock
22788 #: ../resize/virt-resize.pod:445
22789 msgid ""
22790 "You can increase the size of any partition.  Virt-resize will expand the "
22791 "direct content of the partition if it knows how (see I<--expand> below)."
22792 msgstr ""
22793
22794 #. type: textblock
22795 #: ../resize/virt-resize.pod:449
22796 msgid ""
22797 "You can only I<decrease> the size of partitions that contain filesystems or "
22798 "PVs which have already been shrunk.  Virt-resize will check this has been "
22799 "done before proceeding, or else will print an error (see also I<--resize-"
22800 "force>)."
22801 msgstr ""
22802
22803 #. type: =item
22804 #: ../resize/virt-resize.pod:456
22805 msgid "B<--resize-force part=size>"
22806 msgstr ""
22807
22808 #. type: textblock
22809 #: ../resize/virt-resize.pod:458
22810 msgid ""
22811 "This is the same as I<--resize> except that it will let you decrease the "
22812 "size of any partition.  Generally this means you will lose any data which "
22813 "was at the end of the partition you shrink, but you may not care about that "
22814 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
22815 "as a swap partition)."
22816 msgstr ""
22817
22818 #. type: textblock
22819 #: ../resize/virt-resize.pod:464
22820 msgid "See also the I<--ignore> option."
22821 msgstr ""
22822
22823 #. type: =item
22824 #: ../resize/virt-resize.pod:466
22825 #, fuzzy
22826 #| msgid "B<--partition>"
22827 msgid "B<--shrink part>"
22828 msgstr "B<--partition>"
22829
22830 #. type: textblock
22831 #: ../resize/virt-resize.pod:468
22832 msgid ""
22833 "Shrink the named partition until the overall disk image fits in the "
22834 "destination.  The named partition B<must> contain a filesystem or PV which "
22835 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
22836 "online tools).  Virt-resize will check this and give an error if it has not "
22837 "been done."
22838 msgstr ""
22839
22840 #. type: textblock
22841 #: ../resize/virt-resize.pod:474
22842 msgid ""
22843 "The amount by which the overall disk must be shrunk (after carrying out all "
22844 "other operations requested by the user) is called the \"deficit\".  For "
22845 "example, a straight copy (assume no other operations)  from a 5GB disk image "
22846 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
22847 "would give an error unless the user specified a partition to shrink and that "
22848 "partition had more than a gigabyte of free space."
22849 msgstr ""
22850
22851 #. type: =head1
22852 #: ../resize/virt-resize.pod:492
22853 msgid "MACHINE READABLE OUTPUT"
22854 msgstr ""
22855
22856 #. type: textblock
22857 #: ../resize/virt-resize.pod:494
22858 msgid ""
22859 "The I<--machine-readable> option can be used to make the output more machine "
22860 "friendly, which is useful when calling virt-resize from other programs, GUIs "
22861 "etc."
22862 msgstr ""
22863
22864 #. type: textblock
22865 #: ../resize/virt-resize.pod:498
22866 msgid "There are two ways to use this option."
22867 msgstr ""
22868
22869 #. type: textblock
22870 #: ../resize/virt-resize.pod:500
22871 msgid ""
22872 "Firstly use the option on its own to query the capabilities of the virt-"
22873 "resize binary.  Typical output looks like this:"
22874 msgstr ""
22875
22876 #. type: verbatim
22877 #: ../resize/virt-resize.pod:503
22878 #, no-wrap
22879 msgid ""
22880 " $ virt-resize --machine-readable\n"
22881 " virt-resize\n"
22882 " ntfsresize-force\n"
22883 " 32bitok\n"
22884 " ntfs\n"
22885 " btrfs\n"
22886 "\n"
22887 msgstr ""
22888
22889 #. type: textblock
22890 #: ../resize/virt-resize.pod:510
22891 msgid ""
22892 "A list of features is printed, one per line, and the program exits with "
22893 "status 0."
22894 msgstr ""
22895
22896 #. type: textblock
22897 #: ../resize/virt-resize.pod:513
22898 msgid ""
22899 "Secondly use the option in conjunction with other options to make the "
22900 "regular program output more machine friendly."
22901 msgstr ""
22902
22903 #. type: textblock
22904 #: ../resize/virt-resize.pod:516
22905 msgid "At the moment this means:"
22906 msgstr ""
22907
22908 #. type: textblock
22909 #: ../resize/virt-resize.pod:522
22910 msgid ""
22911 "Progress bar messages can be parsed from stdout by looking for this regular "
22912 "expression:"
22913 msgstr ""
22914
22915 #. type: verbatim
22916 #: ../resize/virt-resize.pod:525
22917 #, no-wrap
22918 msgid ""
22919 " ^[0-9]+/[0-9]+$\n"
22920 "\n"
22921 msgstr ""
22922
22923 #. type: textblock
22924 #: ../resize/virt-resize.pod:529
22925 msgid ""
22926 "The calling program should treat messages sent to stdout (except for "
22927 "progress bar messages) as status messages.  They can be logged and/or "
22928 "displayed to the user."
22929 msgstr ""
22930
22931 #. type: textblock
22932 #: ../resize/virt-resize.pod:535
22933 msgid ""
22934 "The calling program should treat messages sent to stderr as error messages.  "
22935 "In addition, virt-resize exits with a non-zero status code if there was a "
22936 "fatal error."
22937 msgstr ""
22938
22939 #. type: textblock
22940 #: ../resize/virt-resize.pod:541
22941 msgid ""
22942 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
22943 "readable> option and will return an error."
22944 msgstr ""
22945
22946 #. type: =head2
22947 #: ../resize/virt-resize.pod:546
22948 msgid "\"Partition 1 does not end on cylinder boundary.\""
22949 msgstr ""
22950
22951 #. type: textblock
22952 #: ../resize/virt-resize.pod:548
22953 msgid ""
22954 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
22955 "means the partitions will not be aligned to the ancient CHS geometry.  "
22956 "However CHS geometry is meaningless for disks manufactured since the early "
22957 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
22958 "cylinders is not required by any modern operating system."
22959 msgstr ""
22960
22961 #. type: =head2
22962 #: ../resize/virt-resize.pod:555
22963 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
22964 msgstr ""
22965
22966 #. type: textblock
22967 #: ../resize/virt-resize.pod:557
22968 msgid ""
22969 "In Windows Vista and later versions, Microsoft switched to using a separate "
22970 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
22971 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
22972 "the boot partition.  Doing so seems to break the guest completely.  However "
22973 "expanding the second partition (ie. C: drive) should work."
22974 msgstr ""
22975
22976 #. type: textblock
22977 #: ../resize/virt-resize.pod:564
22978 msgid ""
22979 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
22980 "NTFS partitions have been expanded.  This is just a safety check and (unless "
22981 "it find errors) is nothing to worry about."
22982 msgstr ""
22983
22984 #. type: =head2
22985 #: ../resize/virt-resize.pod:568
22986 msgid "GUEST BOOT STUCK AT \"GRUB\""
22987 msgstr ""
22988
22989 #. type: textblock
22990 #: ../resize/virt-resize.pod:570
22991 msgid ""
22992 "If a Linux guest does not boot after resizing, and the boot is stuck after "
22993 "printing C<GRUB> on the console, try reinstalling grub.  This sometimes "
22994 "happens on older (RHEL 5-era) guests, for reasons we don't fully understand, "
22995 "although we think is to do with partition alignment."
22996 msgstr ""
22997
22998 #. type: verbatim
22999 #: ../resize/virt-resize.pod:575
23000 #, no-wrap
23001 msgid ""
23002 " guestfish -i -a newdisk\n"
23003 " ><fs> cat /boot/grub/device.map\n"
23004 " # check the contents of this file are sensible or\n"
23005 " # edit the file if necessary\n"
23006 " ><fs> grub-install / /dev/vda\n"
23007 " ><fs> exit\n"
23008 "\n"
23009 msgstr ""
23010
23011 #. type: textblock
23012 #: ../resize/virt-resize.pod:582
23013 msgid ""
23014 "For more flexible guest reconfiguration, including if you need to specify "
23015 "other parameters to grub-install, use L<virt-rescue(1)>."
23016 msgstr ""
23017
23018 #. type: =head1
23019 #: ../resize/virt-resize.pod:585
23020 msgid "ALTERNATIVE TOOLS"
23021 msgstr ""
23022
23023 #. type: textblock
23024 #: ../resize/virt-resize.pod:587
23025 msgid ""
23026 "There are several proprietary tools for resizing partitions.  We won't "
23027 "mention any here."
23028 msgstr ""
23029
23030 #. type: textblock
23031 #: ../resize/virt-resize.pod:590
23032 msgid ""
23033 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
23034 "operations on disk images.  They can resize and move partitions, but I don't "
23035 "think they can do anything with the contents, and they certainly don't "
23036 "understand LVM."
23037 msgstr ""
23038
23039 #. type: textblock
23040 #: ../resize/virt-resize.pod:595
23041 msgid ""
23042 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
23043 "but at a much lower level.  You will probably end up hand-calculating sector "
23044 "offsets, which is something that virt-resize was designed to avoid.  If you "
23045 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
23046 "I<--debug> flag."
23047 msgstr ""
23048
23049 #. type: textblock
23050 #: ../resize/virt-resize.pod:615
23051 msgid ""
23052 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
23053 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
23054 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
23055 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<http://libguestfs.org/>."
23056 msgstr ""
23057
23058 #. type: textblock
23059 #: ../ruby/examples/guestfs-ruby.pod:5
23060 msgid "guestfs-ruby - How to use libguestfs from Ruby"
23061 msgstr ""
23062
23063 #. type: verbatim
23064 #: ../ruby/examples/guestfs-ruby.pod:9
23065 #, no-wrap
23066 msgid ""
23067 " require 'guestfs'\n"
23068 " g = Guestfs::Guestfs.new()\n"
23069 " g.add_drive_opts(\"disk.img\",\n"
23070 "                  :readonly => 1, :format => \"raw\")\n"
23071 " g.launch()\n"
23072 "\n"
23073 msgstr ""
23074
23075 #. type: textblock
23076 #: ../ruby/examples/guestfs-ruby.pod:17
23077 msgid ""
23078 "This manual page documents how to call libguestfs from the Ruby programming "
23079 "language.  This page just documents the differences from the C API and gives "
23080 "some examples.  If you are not familiar with using libguestfs, you also need "
23081 "to read L<guestfs(3)>."
23082 msgstr ""
23083
23084 #. type: textblock
23085 #: ../ruby/examples/guestfs-ruby.pod:24
23086 msgid ""
23087 "Errors from libguestfs functions are mapped into the C<Error> exception.  "
23088 "This has a single parameter which is the error message (a string)."
23089 msgstr ""
23090
23091 #. type: textblock
23092 #: ../ruby/examples/guestfs-ruby.pod:38
23093 #, fuzzy
23094 #| msgid ""
23095 #| "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
23096 #| "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::"
23097 #| "Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23098 msgid ""
23099 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
23100 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, L<http://"
23101 "libguestfs.org/>."
23102 msgstr ""
23103 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
23104 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
23105 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23106
23107 #. type: =head2
23108 #: ../src/guestfs-actions.pod:1
23109 msgid "guestfs_add_cdrom"
23110 msgstr ""
23111
23112 #. type: verbatim
23113 #: ../src/guestfs-actions.pod:3
23114 #, no-wrap
23115 msgid ""
23116 " int\n"
23117 " guestfs_add_cdrom (guestfs_h *g,\n"
23118 "                    const char *filename);\n"
23119 "\n"
23120 msgstr ""
23121
23122 #. type: textblock
23123 #: ../src/guestfs-actions.pod:7 ../src/guestfs-actions.pod:249
23124 #: ../src/guestfs-actions.pod:270
23125 msgid ""
23126 "I<This function is deprecated.> In new code, use the L</"
23127 "guestfs_add_drive_opts> call instead."
23128 msgstr ""
23129
23130 #. type: textblock
23131 #: ../src/guestfs-actions.pod:24
23132 msgid ""
23133 "This call checks for the existence of C<filename>.  This stops you from "
23134 "specifying other types of drive which are supported by qemu such as C<nbd:> "
23135 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
23136 "instead."
23137 msgstr ""
23138
23139 #. type: textblock
23140 #: ../src/guestfs-actions.pod:31
23141 msgid ""
23142 "If you just want to add an ISO file (often you use this as an efficient way "
23143 "to transfer large files into the guest), then you should probably use "
23144 "C<guestfs_add_drive_ro> instead."
23145 msgstr ""
23146
23147 #. type: textblock
23148 #: ../src/guestfs-actions.pod:37 ../src/guestfs-actions.pod:140
23149 #: ../src/guestfs-actions.pod:201 ../src/guestfs-actions.pod:238
23150 #: ../src/guestfs-actions.pod:259 ../src/guestfs-actions.pod:280
23151 #: ../src/guestfs-actions.pod:293 ../src/guestfs-actions.pod:307
23152 #: ../src/guestfs-actions.pod:427 ../src/guestfs-actions.pod:447
23153 #: ../src/guestfs-actions.pod:461 ../src/guestfs-actions.pod:506
23154 #: ../src/guestfs-actions.pod:534 ../src/guestfs-actions.pod:552
23155 #: ../src/guestfs-actions.pod:619 ../src/guestfs-actions.pod:652
23156 #: ../src/guestfs-actions.pod:666 ../src/guestfs-actions.pod:681
23157 #: ../src/guestfs-actions.pod:780 ../src/guestfs-actions.pod:798
23158 #: ../src/guestfs-actions.pod:812 ../src/guestfs-actions.pod:826
23159 #: ../src/guestfs-actions.pod:863 ../src/guestfs-actions.pod:1046
23160 #: ../src/guestfs-actions.pod:1066 ../src/guestfs-actions.pod:1084
23161 #: ../src/guestfs-actions.pod:1168 ../src/guestfs-actions.pod:1186
23162 #: ../src/guestfs-actions.pod:1205 ../src/guestfs-actions.pod:1219
23163 #: ../src/guestfs-actions.pod:1239 ../src/guestfs-actions.pod:1309
23164 #: ../src/guestfs-actions.pod:1340 ../src/guestfs-actions.pod:1365
23165 #: ../src/guestfs-actions.pod:1407 ../src/guestfs-actions.pod:1520
23166 #: ../src/guestfs-actions.pod:1547 ../src/guestfs-actions.pod:1762
23167 #: ../src/guestfs-actions.pod:1784 ../src/guestfs-actions.pod:1871
23168 #: ../src/guestfs-actions.pod:2346 ../src/guestfs-actions.pod:2490
23169 #: ../src/guestfs-actions.pod:2551 ../src/guestfs-actions.pod:2586
23170 #: ../src/guestfs-actions.pod:3626 ../src/guestfs-actions.pod:3641
23171 #: ../src/guestfs-actions.pod:3666 ../src/guestfs-actions.pod:3855
23172 #: ../src/guestfs-actions.pod:3869 ../src/guestfs-actions.pod:3882
23173 #: ../src/guestfs-actions.pod:3896 ../src/guestfs-actions.pod:3911
23174 #: ../src/guestfs-actions.pod:3947 ../src/guestfs-actions.pod:4019
23175 #: ../src/guestfs-actions.pod:4039 ../src/guestfs-actions.pod:4056
23176 #: ../src/guestfs-actions.pod:4079 ../src/guestfs-actions.pod:4102
23177 #: ../src/guestfs-actions.pod:4137 ../src/guestfs-actions.pod:4156
23178 #: ../src/guestfs-actions.pod:4175 ../src/guestfs-actions.pod:4210
23179 #: ../src/guestfs-actions.pod:4222 ../src/guestfs-actions.pod:4258
23180 #: ../src/guestfs-actions.pod:4274 ../src/guestfs-actions.pod:4287
23181 #: ../src/guestfs-actions.pod:4302 ../src/guestfs-actions.pod:4319
23182 #: ../src/guestfs-actions.pod:4412 ../src/guestfs-actions.pod:4432
23183 #: ../src/guestfs-actions.pod:4445 ../src/guestfs-actions.pod:4496
23184 #: ../src/guestfs-actions.pod:4514 ../src/guestfs-actions.pod:4532
23185 #: ../src/guestfs-actions.pod:4548 ../src/guestfs-actions.pod:4562
23186 #: ../src/guestfs-actions.pod:4576 ../src/guestfs-actions.pod:4593
23187 #: ../src/guestfs-actions.pod:4608 ../src/guestfs-actions.pod:4635
23188 #: ../src/guestfs-actions.pod:4698 ../src/guestfs-actions.pod:4771
23189 #: ../src/guestfs-actions.pod:4802 ../src/guestfs-actions.pod:4821
23190 #: ../src/guestfs-actions.pod:4840 ../src/guestfs-actions.pod:4852
23191 #: ../src/guestfs-actions.pod:4869 ../src/guestfs-actions.pod:4882
23192 #: ../src/guestfs-actions.pod:4897 ../src/guestfs-actions.pod:4912
23193 #: ../src/guestfs-actions.pod:4954 ../src/guestfs-actions.pod:4980
23194 #: ../src/guestfs-actions.pod:5019 ../src/guestfs-actions.pod:5039
23195 #: ../src/guestfs-actions.pod:5053 ../src/guestfs-actions.pod:5070
23196 #: ../src/guestfs-actions.pod:5119 ../src/guestfs-actions.pod:5172
23197 #: ../src/guestfs-actions.pod:5219 ../src/guestfs-actions.pod:5262
23198 #: ../src/guestfs-actions.pod:5290 ../src/guestfs-actions.pod:5307
23199 #: ../src/guestfs-actions.pod:5325 ../src/guestfs-actions.pod:5465
23200 #: ../src/guestfs-actions.pod:5522 ../src/guestfs-actions.pod:5544
23201 #: ../src/guestfs-actions.pod:5562 ../src/guestfs-actions.pod:5594
23202 #: ../src/guestfs-actions.pod:5660 ../src/guestfs-actions.pod:5677
23203 #: ../src/guestfs-actions.pod:5690 ../src/guestfs-actions.pod:5704
23204 #: ../src/guestfs-actions.pod:5993 ../src/guestfs-actions.pod:6012
23205 #: ../src/guestfs-actions.pod:6031 ../src/guestfs-actions.pod:6045
23206 #: ../src/guestfs-actions.pod:6057 ../src/guestfs-actions.pod:6071
23207 #: ../src/guestfs-actions.pod:6083 ../src/guestfs-actions.pod:6097
23208 #: ../src/guestfs-actions.pod:6113 ../src/guestfs-actions.pod:6134
23209 #: ../src/guestfs-actions.pod:6153 ../src/guestfs-actions.pod:6172
23210 #: ../src/guestfs-actions.pod:6202 ../src/guestfs-actions.pod:6220
23211 #: ../src/guestfs-actions.pod:6243 ../src/guestfs-actions.pod:6261
23212 #: ../src/guestfs-actions.pod:6280 ../src/guestfs-actions.pod:6301
23213 #: ../src/guestfs-actions.pod:6320 ../src/guestfs-actions.pod:6337
23214 #: ../src/guestfs-actions.pod:6356 ../src/guestfs-actions.pod:6384
23215 #: ../src/guestfs-actions.pod:6408 ../src/guestfs-actions.pod:6427
23216 #: ../src/guestfs-actions.pod:6451 ../src/guestfs-actions.pod:6470
23217 #: ../src/guestfs-actions.pod:6485 ../src/guestfs-actions.pod:6504
23218 #: ../src/guestfs-actions.pod:6548 ../src/guestfs-actions.pod:6578
23219 #: ../src/guestfs-actions.pod:6611 ../src/guestfs-actions.pod:6726
23220 #: ../src/guestfs-actions.pod:6847 ../src/guestfs-actions.pod:6859
23221 #: ../src/guestfs-actions.pod:6872 ../src/guestfs-actions.pod:6885
23222 #: ../src/guestfs-actions.pod:6907 ../src/guestfs-actions.pod:6920
23223 #: ../src/guestfs-actions.pod:6933 ../src/guestfs-actions.pod:6946
23224 #: ../src/guestfs-actions.pod:6961 ../src/guestfs-actions.pod:7020
23225 #: ../src/guestfs-actions.pod:7037 ../src/guestfs-actions.pod:7053
23226 #: ../src/guestfs-actions.pod:7069 ../src/guestfs-actions.pod:7086
23227 #: ../src/guestfs-actions.pod:7099 ../src/guestfs-actions.pod:7119
23228 #: ../src/guestfs-actions.pod:7155 ../src/guestfs-actions.pod:7169
23229 #: ../src/guestfs-actions.pod:7210 ../src/guestfs-actions.pod:7223
23230 #: ../src/guestfs-actions.pod:7241 ../src/guestfs-actions.pod:7275
23231 #: ../src/guestfs-actions.pod:7311 ../src/guestfs-actions.pod:7427
23232 #: ../src/guestfs-actions.pod:7442 ../src/guestfs-actions.pod:7456
23233 #: ../src/guestfs-actions.pod:7511 ../src/guestfs-actions.pod:7524
23234 #: ../src/guestfs-actions.pod:7569 ../src/guestfs-actions.pod:7609
23235 #: ../src/guestfs-actions.pod:7665 ../src/guestfs-actions.pod:7685
23236 #: ../src/guestfs-actions.pod:7718 ../src/guestfs-actions.pod:7782
23237 #: ../src/guestfs-actions.pod:7805 ../src/guestfs-actions.pod:7834
23238 msgid "This function returns 0 on success or -1 on error."
23239 msgstr ""
23240
23241 #. type: textblock
23242 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:142
23243 #: ../src/guestfs-actions.pod:1170 ../src/guestfs-actions.pod:1985
23244 #: ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:2197
23245 #: ../src/guestfs-actions.pod:3628 ../src/guestfs-actions.pod:3648
23246 #: ../src/guestfs-actions.pod:4956 ../src/guestfs-actions.pod:6222
23247 #: ../src/guestfs-actions.pod:6339 ../src/guestfs-actions.pod:6472
23248 #: ../src/guestfs-actions.pod:6963 ../src/guestfs-actions.pod:7088
23249 #: ../src/guestfs-actions.pod:7611
23250 msgid "(Added in 0.3)"
23251 msgstr ""
23252
23253 #. type: =head2
23254 #: ../src/guestfs-actions.pod:41
23255 msgid "guestfs_add_domain"
23256 msgstr ""
23257
23258 #. type: verbatim
23259 #: ../src/guestfs-actions.pod:43
23260 #, no-wrap
23261 msgid ""
23262 " int\n"
23263 " guestfs_add_domain (guestfs_h *g,\n"
23264 "                     const char *dom,\n"
23265 "                     ...);\n"
23266 "\n"
23267 msgstr ""
23268
23269 #. type: textblock
23270 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:151
23271 #: ../src/guestfs-actions.pod:837 ../src/guestfs-actions.pod:2831
23272 #: ../src/guestfs-actions.pod:4647 ../src/guestfs-actions.pod:4966
23273 #: ../src/guestfs-actions.pod:5183
23274 msgid ""
23275 "You may supply a list of optional arguments to this call.  Use zero or more "
23276 "of the following pairs of parameters, and terminate the list with C<-1> on "
23277 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
23278 msgstr ""
23279
23280 #. type: verbatim
23281 #: ../src/guestfs-actions.pod:53
23282 #, no-wrap
23283 msgid ""
23284 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
23285 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
23286 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
23287 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
23288 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
23289 "\n"
23290 msgstr ""
23291
23292 #. type: textblock
23293 #: ../src/guestfs-actions.pod:59
23294 msgid ""
23295 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
23296 "It works by connecting to libvirt, requesting the domain and domain XML from "
23297 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
23298 "one."
23299 msgstr ""
23300
23301 #. type: textblock
23302 #: ../src/guestfs-actions.pod:94
23303 msgid ""
23304 "The other optional parameters are passed directly through to "
23305 "C<guestfs_add_drive_opts>."
23306 msgstr ""
23307
23308 #. type: textblock
23309 #: ../src/guestfs-actions.pod:97 ../src/guestfs-actions.pod:350
23310 #: ../src/guestfs-actions.pod:520 ../src/guestfs-actions.pod:698
23311 #: ../src/guestfs-actions.pod:729 ../src/guestfs-actions.pod:747
23312 #: ../src/guestfs-actions.pod:766 ../src/guestfs-actions.pod:1385
23313 #: ../src/guestfs-actions.pod:1741 ../src/guestfs-actions.pod:1944
23314 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2106
23315 #: ../src/guestfs-actions.pod:2161 ../src/guestfs-actions.pod:2184
23316 #: ../src/guestfs-actions.pod:2477 ../src/guestfs-actions.pod:2949
23317 #: ../src/guestfs-actions.pod:2967 ../src/guestfs-actions.pod:5142
23318 #: ../src/guestfs-actions.pod:5362 ../src/guestfs-actions.pod:5774
23319 #: ../src/guestfs-actions.pod:5800 ../src/guestfs-actions.pod:7196
23320 #: ../src/guestfs-actions.pod:7622 ../src/guestfs-actions.pod:7635
23321 #: ../src/guestfs-actions.pod:7648
23322 msgid "On error this function returns -1."
23323 msgstr ""
23324
23325 #. type: textblock
23326 #: ../src/guestfs-actions.pod:99
23327 msgid "(Added in 1.7.4)"
23328 msgstr ""
23329
23330 #. type: =head2
23331 #: ../src/guestfs-actions.pod:101
23332 msgid "guestfs_add_domain_va"
23333 msgstr ""
23334
23335 #. type: verbatim
23336 #: ../src/guestfs-actions.pod:103
23337 #, no-wrap
23338 msgid ""
23339 " int\n"
23340 " guestfs_add_domain_va (guestfs_h *g,\n"
23341 "                        const char *dom,\n"
23342 "                        va_list args);\n"
23343 "\n"
23344 msgstr ""
23345
23346 #. type: textblock
23347 #: ../src/guestfs-actions.pod:108
23348 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
23349 msgstr ""
23350
23351 #. type: textblock
23352 #: ../src/guestfs-actions.pod:110 ../src/guestfs-actions.pod:121
23353 #: ../src/guestfs-actions.pod:214 ../src/guestfs-actions.pod:225
23354 #: ../src/guestfs-actions.pod:876 ../src/guestfs-actions.pod:887
23355 #: ../src/guestfs-actions.pod:2915 ../src/guestfs-actions.pod:2927
23356 #: ../src/guestfs-actions.pod:4712 ../src/guestfs-actions.pod:4724
23357 #: ../src/guestfs-actions.pod:4994 ../src/guestfs-actions.pod:5006
23358 #: ../src/guestfs-actions.pod:5232 ../src/guestfs-actions.pod:5243
23359 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
23360 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
23361
23362 #. type: =head2
23363 #: ../src/guestfs-actions.pod:112
23364 msgid "guestfs_add_domain_argv"
23365 msgstr "guestfs_add_domain_argv"
23366
23367 #. type: verbatim
23368 #: ../src/guestfs-actions.pod:114
23369 #, no-wrap
23370 msgid ""
23371 " int\n"
23372 " guestfs_add_domain_argv (guestfs_h *g,\n"
23373 "                          const char *dom,\n"
23374 "                          const struct guestfs_add_domain_argv *optargs);\n"
23375 "\n"
23376 msgstr ""
23377
23378 #. type: textblock
23379 #: ../src/guestfs-actions.pod:119
23380 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
23381 msgstr ""
23382
23383 #. type: =head2
23384 #: ../src/guestfs-actions.pod:123
23385 msgid "guestfs_add_drive"
23386 msgstr ""
23387
23388 #. type: verbatim
23389 #: ../src/guestfs-actions.pod:125
23390 #, no-wrap
23391 msgid ""
23392 " int\n"
23393 " guestfs_add_drive (guestfs_h *g,\n"
23394 "                    const char *filename);\n"
23395 "\n"
23396 msgstr ""
23397
23398 #. type: textblock
23399 #: ../src/guestfs-actions.pod:129
23400 msgid ""
23401 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
23402 "optional parameters, so the disk is added writable, with the format being "
23403 "detected automatically."
23404 msgstr ""
23405
23406 #. type: textblock
23407 #: ../src/guestfs-actions.pod:133
23408 msgid ""
23409 "Automatic detection of the format opens you up to a potential security hole "
23410 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
23411 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
23412 "you should think about replacing calls to this function with calls to "
23413 "C<guestfs_add_drive_opts>, and specifying the format."
23414 msgstr ""
23415
23416 #. type: =head2
23417 #: ../src/guestfs-actions.pod:144
23418 msgid "guestfs_add_drive_opts"
23419 msgstr ""
23420
23421 #. type: verbatim
23422 #: ../src/guestfs-actions.pod:146
23423 #, no-wrap
23424 msgid ""
23425 " int\n"
23426 " guestfs_add_drive_opts (guestfs_h *g,\n"
23427 "                         const char *filename,\n"
23428 "                         ...);\n"
23429 "\n"
23430 msgstr ""
23431
23432 #. type: verbatim
23433 #: ../src/guestfs-actions.pod:156
23434 #, no-wrap
23435 msgid ""
23436 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
23437 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
23438 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
23439 "\n"
23440 msgstr ""
23441
23442 #. type: textblock
23443 #: ../src/guestfs-actions.pod:185
23444 msgid ""
23445 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
23446 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
23447 "Possible formats include C<raw> and C<qcow2>."
23448 msgstr ""
23449
23450 #. type: textblock
23451 #: ../src/guestfs-actions.pod:196
23452 msgid ""
23453 "This rarely-used option lets you emulate the behaviour of the deprecated "
23454 "C<guestfs_add_drive_with_if> call (q.v.)"
23455 msgstr ""
23456
23457 #. type: textblock
23458 #: ../src/guestfs-actions.pod:203
23459 msgid "(Added in 1.5.23)"
23460 msgstr ""
23461
23462 #. type: =head2
23463 #: ../src/guestfs-actions.pod:205
23464 msgid "guestfs_add_drive_opts_va"
23465 msgstr ""
23466
23467 #. type: verbatim
23468 #: ../src/guestfs-actions.pod:207
23469 #, no-wrap
23470 msgid ""
23471 " int\n"
23472 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
23473 "                            const char *filename,\n"
23474 "                            va_list args);\n"
23475 "\n"
23476 msgstr ""
23477
23478 #. type: textblock
23479 #: ../src/guestfs-actions.pod:212
23480 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
23481 msgstr ""
23482
23483 #. type: =head2
23484 #: ../src/guestfs-actions.pod:216
23485 msgid "guestfs_add_drive_opts_argv"
23486 msgstr ""
23487
23488 #. type: verbatim
23489 #: ../src/guestfs-actions.pod:218
23490 #, no-wrap
23491 msgid ""
23492 " int\n"
23493 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
23494 "                              const char *filename,\n"
23495 "                              const struct guestfs_add_drive_opts_argv *optargs);\n"
23496 "\n"
23497 msgstr ""
23498
23499 #. type: textblock
23500 #: ../src/guestfs-actions.pod:223
23501 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
23502 msgstr ""
23503
23504 #. type: =head2
23505 #: ../src/guestfs-actions.pod:227
23506 msgid "guestfs_add_drive_ro"
23507 msgstr ""
23508
23509 #. type: verbatim
23510 #: ../src/guestfs-actions.pod:229
23511 #, no-wrap
23512 msgid ""
23513 " int\n"
23514 " guestfs_add_drive_ro (guestfs_h *g,\n"
23515 "                       const char *filename);\n"
23516 "\n"
23517 msgstr ""
23518
23519 #. type: textblock
23520 #: ../src/guestfs-actions.pod:233
23521 msgid ""
23522 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
23523 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
23524 "disk is added read-only, with the format being detected automatically."
23525 msgstr ""
23526
23527 #. type: textblock
23528 #: ../src/guestfs-actions.pod:240
23529 msgid "(Added in 1.0.38)"
23530 msgstr ""
23531
23532 #. type: =head2
23533 #: ../src/guestfs-actions.pod:242
23534 msgid "guestfs_add_drive_ro_with_if"
23535 msgstr ""
23536
23537 #. type: verbatim
23538 #: ../src/guestfs-actions.pod:244
23539 #, no-wrap
23540 msgid ""
23541 " int\n"
23542 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
23543 "                               const char *filename,\n"
23544 "                               const char *iface);\n"
23545 "\n"
23546 msgstr ""
23547
23548 #. type: textblock
23549 #: ../src/guestfs-actions.pod:256
23550 msgid ""
23551 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
23552 "QEMU interface emulation to use at run time."
23553 msgstr ""
23554
23555 #. type: textblock
23556 #: ../src/guestfs-actions.pod:261 ../src/guestfs-actions.pod:282
23557 #: ../src/guestfs-actions.pod:2436
23558 msgid "(Added in 1.0.84)"
23559 msgstr ""
23560
23561 #. type: =head2
23562 #: ../src/guestfs-actions.pod:263
23563 msgid "guestfs_add_drive_with_if"
23564 msgstr ""
23565
23566 #. type: verbatim
23567 #: ../src/guestfs-actions.pod:265
23568 #, no-wrap
23569 msgid ""
23570 " int\n"
23571 " guestfs_add_drive_with_if (guestfs_h *g,\n"
23572 "                            const char *filename,\n"
23573 "                            const char *iface);\n"
23574 "\n"
23575 msgstr ""
23576
23577 #. type: textblock
23578 #: ../src/guestfs-actions.pod:277
23579 msgid ""
23580 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
23581 "QEMU interface emulation to use at run time."
23582 msgstr ""
23583
23584 #. type: =head2
23585 #: ../src/guestfs-actions.pod:284
23586 msgid "guestfs_aug_clear"
23587 msgstr ""
23588
23589 #. type: verbatim
23590 #: ../src/guestfs-actions.pod:286
23591 #, no-wrap
23592 msgid ""
23593 " int\n"
23594 " guestfs_aug_clear (guestfs_h *g,\n"
23595 "                    const char *augpath);\n"
23596 "\n"
23597 msgstr ""
23598
23599 #. type: textblock
23600 #: ../src/guestfs-actions.pod:295 ../src/guestfs-actions.pod:2186
23601 msgid "(Added in 1.3.4)"
23602 msgstr ""
23603
23604 #. type: =head2
23605 #: ../src/guestfs-actions.pod:297
23606 msgid "guestfs_aug_close"
23607 msgstr ""
23608
23609 #. type: verbatim
23610 #: ../src/guestfs-actions.pod:299
23611 #, no-wrap
23612 msgid ""
23613 " int\n"
23614 " guestfs_aug_close (guestfs_h *g);\n"
23615 "\n"
23616 msgstr ""
23617
23618 #. type: textblock
23619 #: ../src/guestfs-actions.pod:302
23620 msgid ""
23621 "Close the current Augeas handle and free up any resources used by it.  After "
23622 "calling this, you have to call C<guestfs_aug_init> again before you can use "
23623 "any other Augeas functions."
23624 msgstr ""
23625
23626 #. type: textblock
23627 #: ../src/guestfs-actions.pod:309 ../src/guestfs-actions.pod:334
23628 #: ../src/guestfs-actions.pod:352 ../src/guestfs-actions.pod:366
23629 #: ../src/guestfs-actions.pod:429 ../src/guestfs-actions.pod:449
23630 #: ../src/guestfs-actions.pod:463 ../src/guestfs-actions.pod:494
23631 #: ../src/guestfs-actions.pod:508 ../src/guestfs-actions.pod:522
23632 #: ../src/guestfs-actions.pod:536 ../src/guestfs-actions.pod:554
23633 #: ../src/guestfs-actions.pod:5851
23634 msgid "(Added in 0.7)"
23635 msgstr ""
23636
23637 #. type: =head2
23638 #: ../src/guestfs-actions.pod:311
23639 msgid "guestfs_aug_defnode"
23640 msgstr ""
23641
23642 #. type: verbatim
23643 #: ../src/guestfs-actions.pod:313
23644 #, no-wrap
23645 msgid ""
23646 " struct guestfs_int_bool *\n"
23647 " guestfs_aug_defnode (guestfs_h *g,\n"
23648 "                      const char *name,\n"
23649 "                      const char *expr,\n"
23650 "                      const char *val);\n"
23651 "\n"
23652 msgstr ""
23653
23654 #. type: textblock
23655 #: ../src/guestfs-actions.pod:322
23656 msgid ""
23657 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
23658 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
23659 "containing that single node."
23660 msgstr ""
23661
23662 #. type: textblock
23663 #: ../src/guestfs-actions.pod:330
23664 msgid ""
23665 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
23666 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
23667 msgstr ""
23668
23669 #. type: =head2
23670 #: ../src/guestfs-actions.pod:336
23671 msgid "guestfs_aug_defvar"
23672 msgstr ""
23673
23674 #. type: verbatim
23675 #: ../src/guestfs-actions.pod:338
23676 #, no-wrap
23677 msgid ""
23678 " int\n"
23679 " guestfs_aug_defvar (guestfs_h *g,\n"
23680 "                     const char *name,\n"
23681 "                     const char *expr);\n"
23682 "\n"
23683 msgstr ""
23684
23685 #. type: =head2
23686 #: ../src/guestfs-actions.pod:354
23687 msgid "guestfs_aug_get"
23688 msgstr ""
23689
23690 #. type: verbatim
23691 #: ../src/guestfs-actions.pod:356
23692 #, no-wrap
23693 msgid ""
23694 " char *\n"
23695 " guestfs_aug_get (guestfs_h *g,\n"
23696 "                  const char *augpath);\n"
23697 "\n"
23698 msgstr ""
23699
23700 #. type: textblock
23701 #: ../src/guestfs-actions.pod:363 ../src/guestfs-actions.pod:927
23702 #: ../src/guestfs-actions.pod:945 ../src/guestfs-actions.pod:1005
23703 #: ../src/guestfs-actions.pod:1021 ../src/guestfs-actions.pod:1124
23704 #: ../src/guestfs-actions.pod:1254 ../src/guestfs-actions.pod:1271
23705 #: ../src/guestfs-actions.pod:1290 ../src/guestfs-actions.pod:1424
23706 #: ../src/guestfs-actions.pod:1612 ../src/guestfs-actions.pod:1724
23707 #: ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1904
23708 #: ../src/guestfs-actions.pod:1971 ../src/guestfs-actions.pod:2014
23709 #: ../src/guestfs-actions.pod:2035 ../src/guestfs-actions.pod:2209
23710 #: ../src/guestfs-actions.pod:2401 ../src/guestfs-actions.pod:2605
23711 #: ../src/guestfs-actions.pod:2695 ../src/guestfs-actions.pod:2799
23712 #: ../src/guestfs-actions.pod:2818 ../src/guestfs-actions.pod:3032
23713 #: ../src/guestfs-actions.pod:3060 ../src/guestfs-actions.pod:3081
23714 #: ../src/guestfs-actions.pod:3115 ../src/guestfs-actions.pod:3174
23715 #: ../src/guestfs-actions.pod:3194 ../src/guestfs-actions.pod:3214
23716 #: ../src/guestfs-actions.pod:3841 ../src/guestfs-actions.pod:4194
23717 #: ../src/guestfs-actions.pod:4364 ../src/guestfs-actions.pod:4474
23718 #: ../src/guestfs-actions.pod:5380 ../src/guestfs-actions.pod:5579
23719 #: ../src/guestfs-actions.pod:5749 ../src/guestfs-actions.pod:5927
23720 #: ../src/guestfs-actions.pod:5976 ../src/guestfs-actions.pod:6632
23721 #: ../src/guestfs-actions.pod:6648 ../src/guestfs-actions.pod:6672
23722 #: ../src/guestfs-actions.pod:6696 ../src/guestfs-actions.pod:7370
23723 #: ../src/guestfs-actions.pod:7389 ../src/guestfs-actions.pod:7407
23724 #: ../src/guestfs-actions.pod:7581 ../src/guestfs-actions.pod:7898
23725 msgid ""
23726 "This function returns a string, or NULL on error.  I<The caller must free "
23727 "the returned string after use>."
23728 msgstr ""
23729
23730 #. type: =head2
23731 #: ../src/guestfs-actions.pod:368
23732 msgid "guestfs_aug_init"
23733 msgstr ""
23734
23735 #. type: verbatim
23736 #: ../src/guestfs-actions.pod:370
23737 #, no-wrap
23738 msgid ""
23739 " int\n"
23740 " guestfs_aug_init (guestfs_h *g,\n"
23741 "                   const char *root,\n"
23742 "                   int flags);\n"
23743 "\n"
23744 msgstr ""
23745
23746 #. type: textblock
23747 #: ../src/guestfs-actions.pod:379
23748 msgid "You must call this before using any other C<guestfs_aug_*> commands."
23749 msgstr ""
23750
23751 #. type: textblock
23752 #: ../src/guestfs-actions.pod:404
23753 msgid ""
23754 "This option is only useful when debugging Augeas lenses.  Use of this option "
23755 "may require additional memory for the libguestfs appliance.  You may need to "
23756 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call "
23757 "C<guestfs_set_memsize>."
23758 msgstr ""
23759
23760 #. type: textblock
23761 #: ../src/guestfs-actions.pod:419
23762 msgid "Do not load the tree in C<guestfs_aug_init>."
23763 msgstr ""
23764
23765 #. type: textblock
23766 #: ../src/guestfs-actions.pod:423
23767 msgid "To close the handle, you can call C<guestfs_aug_close>."
23768 msgstr ""
23769
23770 #. type: =head2
23771 #: ../src/guestfs-actions.pod:431
23772 msgid "guestfs_aug_insert"
23773 msgstr ""
23774
23775 #. type: verbatim
23776 #: ../src/guestfs-actions.pod:433
23777 #, no-wrap
23778 msgid ""
23779 " int\n"
23780 " guestfs_aug_insert (guestfs_h *g,\n"
23781 "                     const char *augpath,\n"
23782 "                     const char *label,\n"
23783 "                     int before);\n"
23784 "\n"
23785 msgstr ""
23786
23787 #. type: =head2
23788 #: ../src/guestfs-actions.pod:451
23789 msgid "guestfs_aug_load"
23790 msgstr ""
23791
23792 #. type: verbatim
23793 #: ../src/guestfs-actions.pod:453
23794 #, no-wrap
23795 msgid ""
23796 " int\n"
23797 " guestfs_aug_load (guestfs_h *g);\n"
23798 "\n"
23799 msgstr ""
23800
23801 #. type: =head2
23802 #: ../src/guestfs-actions.pod:465
23803 msgid "guestfs_aug_ls"
23804 msgstr ""
23805
23806 #. type: verbatim
23807 #: ../src/guestfs-actions.pod:467
23808 #, no-wrap
23809 msgid ""
23810 " char **\n"
23811 " guestfs_aug_ls (guestfs_h *g,\n"
23812 "                 const char *augpath);\n"
23813 "\n"
23814 msgstr ""
23815
23816 #. type: textblock
23817 #: ../src/guestfs-actions.pod:471
23818 msgid ""
23819 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
23820 "sorting the resulting nodes into alphabetical order."
23821 msgstr ""
23822
23823 #. type: textblock
23824 #: ../src/guestfs-actions.pod:474 ../src/guestfs-actions.pod:490
23825 #: ../src/guestfs-actions.pod:636 ../src/guestfs-actions.pod:1143
23826 #: ../src/guestfs-actions.pod:1439 ../src/guestfs-actions.pod:1458
23827 #: ../src/guestfs-actions.pod:1561 ../src/guestfs-actions.pod:1580
23828 #: ../src/guestfs-actions.pod:1826 ../src/guestfs-actions.pod:2281
23829 #: ../src/guestfs-actions.pod:2297 ../src/guestfs-actions.pod:2316
23830 #: ../src/guestfs-actions.pod:2359 ../src/guestfs-actions.pod:2383
23831 #: ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2503
23832 #: ../src/guestfs-actions.pod:2760 ../src/guestfs-actions.pod:3134
23833 #: ../src/guestfs-actions.pod:3410 ../src/guestfs-actions.pod:3724
23834 #: ../src/guestfs-actions.pod:3741 ../src/guestfs-actions.pod:3761
23835 #: ../src/guestfs-actions.pod:3823 ../src/guestfs-actions.pod:3928
23836 #: ../src/guestfs-actions.pod:4336 ../src/guestfs-actions.pod:5103
23837 #: ../src/guestfs-actions.pod:5721 ../src/guestfs-actions.pod:5847
23838 #: ../src/guestfs-actions.pod:5961 ../src/guestfs-actions.pod:6712
23839 #: ../src/guestfs-actions.pod:6773 ../src/guestfs-actions.pod:6828
23840 #: ../src/guestfs-actions.pod:6974 ../src/guestfs-actions.pod:6998
23841 #: ../src/guestfs-actions.pod:7474 ../src/guestfs-actions.pod:7494
23842 #: ../src/guestfs-actions.pod:7541 ../src/guestfs-actions.pod:7735
23843 #: ../src/guestfs-actions.pod:7754 ../src/guestfs-actions.pod:7848
23844 #: ../src/guestfs-actions.pod:7867 ../src/guestfs-actions.pod:7913
23845 #: ../src/guestfs-actions.pod:7932
23846 msgid ""
23847 "This function returns a NULL-terminated array of strings (like L<environ(3)"
23848 ">), or NULL if there was an error.  I<The caller must free the strings and "
23849 "the array after use>."
23850 msgstr ""
23851
23852 #. type: textblock
23853 #: ../src/guestfs-actions.pod:478 ../src/guestfs-actions.pod:1068
23854 #: ../src/guestfs-actions.pod:1086 ../src/guestfs-actions.pod:1496
23855 #: ../src/guestfs-actions.pod:3488 ../src/guestfs-actions.pod:3519
23856 #: ../src/guestfs-actions.pod:4177 ../src/guestfs-actions.pod:4227
23857 #: ../src/guestfs-actions.pod:4414 ../src/guestfs-actions.pod:4447
23858 #: ../src/guestfs-actions.pod:4610 ../src/guestfs-actions.pod:5107
23859 #: ../src/guestfs-actions.pod:5662 ../src/guestfs-actions.pod:6059
23860 #: ../src/guestfs-actions.pod:6073 ../src/guestfs-actions.pod:6085
23861 #: ../src/guestfs-actions.pod:6553 ../src/guestfs-actions.pod:7212
23862 #: ../src/guestfs-actions.pod:7225 ../src/guestfs-actions.pod:7458
23863 #: ../src/guestfs-actions.pod:7723
23864 msgid "(Added in 0.8)"
23865 msgstr ""
23866
23867 #. type: =head2
23868 #: ../src/guestfs-actions.pod:480
23869 msgid "guestfs_aug_match"
23870 msgstr ""
23871
23872 #. type: verbatim
23873 #: ../src/guestfs-actions.pod:482
23874 #, no-wrap
23875 msgid ""
23876 " char **\n"
23877 " guestfs_aug_match (guestfs_h *g,\n"
23878 "                    const char *augpath);\n"
23879 "\n"
23880 msgstr ""
23881
23882 #. type: =head2
23883 #: ../src/guestfs-actions.pod:496
23884 msgid "guestfs_aug_mv"
23885 msgstr ""
23886
23887 #. type: verbatim
23888 #: ../src/guestfs-actions.pod:498
23889 #, no-wrap
23890 msgid ""
23891 " int\n"
23892 " guestfs_aug_mv (guestfs_h *g,\n"
23893 "                 const char *src,\n"
23894 "                 const char *dest);\n"
23895 "\n"
23896 msgstr ""
23897
23898 #. type: =head2
23899 #: ../src/guestfs-actions.pod:510
23900 msgid "guestfs_aug_rm"
23901 msgstr ""
23902
23903 #. type: verbatim
23904 #: ../src/guestfs-actions.pod:512
23905 #, no-wrap
23906 msgid ""
23907 " int\n"
23908 " guestfs_aug_rm (guestfs_h *g,\n"
23909 "                 const char *augpath);\n"
23910 "\n"
23911 msgstr ""
23912
23913 #. type: =head2
23914 #: ../src/guestfs-actions.pod:524
23915 msgid "guestfs_aug_save"
23916 msgstr ""
23917
23918 #. type: verbatim
23919 #: ../src/guestfs-actions.pod:526
23920 #, no-wrap
23921 msgid ""
23922 " int\n"
23923 " guestfs_aug_save (guestfs_h *g);\n"
23924 "\n"
23925 msgstr ""
23926
23927 #. type: textblock
23928 #: ../src/guestfs-actions.pod:531
23929 msgid ""
23930 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
23931 "are saved."
23932 msgstr ""
23933
23934 #. type: =head2
23935 #: ../src/guestfs-actions.pod:538
23936 msgid "guestfs_aug_set"
23937 msgstr ""
23938
23939 #. type: verbatim
23940 #: ../src/guestfs-actions.pod:540
23941 #, no-wrap
23942 msgid ""
23943 " int\n"
23944 " guestfs_aug_set (guestfs_h *g,\n"
23945 "                  const char *augpath,\n"
23946 "                  const char *val);\n"
23947 "\n"
23948 msgstr ""
23949
23950 #. type: textblock
23951 #: ../src/guestfs-actions.pod:547
23952 msgid ""
23953 "In the Augeas API, it is possible to clear a node by setting the value to "
23954 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
23955 "this call.  Instead you must use the C<guestfs_aug_clear> call."
23956 msgstr ""
23957
23958 #. type: =head2
23959 #: ../src/guestfs-actions.pod:556
23960 msgid "guestfs_available"
23961 msgstr ""
23962
23963 #. type: verbatim
23964 #: ../src/guestfs-actions.pod:558
23965 #, no-wrap
23966 msgid ""
23967 " int\n"
23968 " guestfs_available (guestfs_h *g,\n"
23969 "                    char *const *groups);\n"
23970 "\n"
23971 msgstr ""
23972
23973 #. type: textblock
23974 #: ../src/guestfs-actions.pod:566
23975 msgid ""
23976 "The libguestfs groups, and the functions that those groups correspond to, "
23977 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
23978 "runtime by calling C<guestfs_available_all_groups>."
23979 msgstr ""
23980
23981 #. type: textblock
23982 #: ../src/guestfs-actions.pod:590
23983 msgid "You must call C<guestfs_launch> before calling this function."
23984 msgstr ""
23985
23986 #. type: textblock
23987 #: ../src/guestfs-actions.pod:612
23988 msgid ""
23989 "This call was added in version C<1.0.80>.  In previous versions of "
23990 "libguestfs all you could do would be to speculatively execute a command to "
23991 "find out if the daemon implemented it.  See also C<guestfs_version>."
23992 msgstr ""
23993
23994 #. type: textblock
23995 #: ../src/guestfs-actions.pod:621 ../src/guestfs-actions.pod:1241
23996 msgid "(Added in 1.0.80)"
23997 msgstr ""
23998
23999 #. type: =head2
24000 #: ../src/guestfs-actions.pod:623
24001 msgid "guestfs_available_all_groups"
24002 msgstr ""
24003
24004 #. type: verbatim
24005 #: ../src/guestfs-actions.pod:625
24006 #, no-wrap
24007 msgid ""
24008 " char **\n"
24009 " guestfs_available_all_groups (guestfs_h *g);\n"
24010 "\n"
24011 msgstr ""
24012
24013 #. type: textblock
24014 #: ../src/guestfs-actions.pod:628
24015 msgid ""
24016 "This command returns a list of all optional groups that this daemon knows "
24017 "about.  Note this returns both supported and unsupported groups.  To find "
24018 "out which ones the daemon can actually support you have to call "
24019 "C<guestfs_available> on each member of the returned list."
24020 msgstr ""
24021
24022 #. type: textblock
24023 #: ../src/guestfs-actions.pod:634
24024 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
24025 msgstr ""
24026
24027 #. type: textblock
24028 #: ../src/guestfs-actions.pod:640
24029 msgid "(Added in 1.3.15)"
24030 msgstr ""
24031
24032 #. type: =head2
24033 #: ../src/guestfs-actions.pod:642
24034 msgid "guestfs_base64_in"
24035 msgstr ""
24036
24037 #. type: verbatim
24038 #: ../src/guestfs-actions.pod:644
24039 #, no-wrap
24040 msgid ""
24041 " int\n"
24042 " guestfs_base64_in (guestfs_h *g,\n"
24043 "                    const char *base64file,\n"
24044 "                    const char *filename);\n"
24045 "\n"
24046 msgstr ""
24047
24048 #. type: textblock
24049 #: ../src/guestfs-actions.pod:654 ../src/guestfs-actions.pod:668
24050 msgid "(Added in 1.3.5)"
24051 msgstr ""
24052
24053 #. type: =head2
24054 #: ../src/guestfs-actions.pod:656
24055 msgid "guestfs_base64_out"
24056 msgstr ""
24057
24058 #. type: verbatim
24059 #: ../src/guestfs-actions.pod:658
24060 #, no-wrap
24061 msgid ""
24062 " int\n"
24063 " guestfs_base64_out (guestfs_h *g,\n"
24064 "                     const char *filename,\n"
24065 "                     const char *base64file);\n"
24066 "\n"
24067 msgstr ""
24068
24069 #. type: =head2
24070 #: ../src/guestfs-actions.pod:670
24071 msgid "guestfs_blockdev_flushbufs"
24072 msgstr ""
24073
24074 #. type: verbatim
24075 #: ../src/guestfs-actions.pod:672
24076 #, no-wrap
24077 msgid ""
24078 " int\n"
24079 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
24080 "                             const char *device);\n"
24081 "\n"
24082 msgstr ""
24083
24084 #. type: textblock
24085 #: ../src/guestfs-actions.pod:683 ../src/guestfs-actions.pod:700
24086 #: ../src/guestfs-actions.pod:715 ../src/guestfs-actions.pod:731
24087 #: ../src/guestfs-actions.pod:749 ../src/guestfs-actions.pod:768
24088 #: ../src/guestfs-actions.pod:782 ../src/guestfs-actions.pod:800
24089 #: ../src/guestfs-actions.pod:814 ../src/guestfs-actions.pod:828
24090 msgid "(Added in 0.9.3)"
24091 msgstr ""
24092
24093 #. type: =head2
24094 #: ../src/guestfs-actions.pod:685
24095 msgid "guestfs_blockdev_getbsz"
24096 msgstr ""
24097
24098 #. type: verbatim
24099 #: ../src/guestfs-actions.pod:687
24100 #, no-wrap
24101 msgid ""
24102 " int\n"
24103 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
24104 "                          const char *device);\n"
24105 "\n"
24106 msgstr ""
24107
24108 #. type: =head2
24109 #: ../src/guestfs-actions.pod:702
24110 msgid "guestfs_blockdev_getro"
24111 msgstr ""
24112
24113 #. type: verbatim
24114 #: ../src/guestfs-actions.pod:704
24115 #, no-wrap
24116 msgid ""
24117 " int\n"
24118 " guestfs_blockdev_getro (guestfs_h *g,\n"
24119 "                         const char *device);\n"
24120 "\n"
24121 msgstr ""
24122
24123 #. type: textblock
24124 #: ../src/guestfs-actions.pod:713 ../src/guestfs-actions.pod:1479
24125 #: ../src/guestfs-actions.pod:1494 ../src/guestfs-actions.pod:1983
24126 #: ../src/guestfs-actions.pod:1994 ../src/guestfs-actions.pod:2066
24127 #: ../src/guestfs-actions.pod:2092 ../src/guestfs-actions.pod:2132
24128 #: ../src/guestfs-actions.pod:2147 ../src/guestfs-actions.pod:2172
24129 #: ../src/guestfs-actions.pod:2195 ../src/guestfs-actions.pod:3231
24130 #: ../src/guestfs-actions.pod:3247 ../src/guestfs-actions.pod:3265
24131 #: ../src/guestfs-actions.pod:3427 ../src/guestfs-actions.pod:3441
24132 #: ../src/guestfs-actions.pod:3456 ../src/guestfs-actions.pod:3470
24133 #: ../src/guestfs-actions.pod:3486 ../src/guestfs-actions.pod:3501
24134 #: ../src/guestfs-actions.pod:3517 ../src/guestfs-actions.pod:3531
24135 #: ../src/guestfs-actions.pod:3544 ../src/guestfs-actions.pod:3558
24136 #: ../src/guestfs-actions.pod:3573 ../src/guestfs-actions.pod:3588
24137 #: ../src/guestfs-actions.pod:3601 ../src/guestfs-actions.pod:3615
24138 #: ../src/guestfs-actions.pod:5344
24139 msgid "This function returns a C truth value on success or -1 on error."
24140 msgstr ""
24141
24142 #. type: =head2
24143 #: ../src/guestfs-actions.pod:717
24144 msgid "guestfs_blockdev_getsize64"
24145 msgstr ""
24146
24147 #. type: verbatim
24148 #: ../src/guestfs-actions.pod:719
24149 #, no-wrap
24150 msgid ""
24151 " int64_t\n"
24152 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
24153 "                             const char *device);\n"
24154 "\n"
24155 msgstr ""
24156
24157 #. type: textblock
24158 #: ../src/guestfs-actions.pod:725
24159 msgid "See also C<guestfs_blockdev_getsz>."
24160 msgstr ""
24161
24162 #. type: =head2
24163 #: ../src/guestfs-actions.pod:733
24164 msgid "guestfs_blockdev_getss"
24165 msgstr ""
24166
24167 #. type: verbatim
24168 #: ../src/guestfs-actions.pod:735
24169 #, no-wrap
24170 msgid ""
24171 " int\n"
24172 " guestfs_blockdev_getss (guestfs_h *g,\n"
24173 "                         const char *device);\n"
24174 "\n"
24175 msgstr ""
24176
24177 #. type: textblock
24178 #: ../src/guestfs-actions.pod:742
24179 msgid ""
24180 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
24181 "that)."
24182 msgstr ""
24183
24184 #. type: =head2
24185 #: ../src/guestfs-actions.pod:751
24186 msgid "guestfs_blockdev_getsz"
24187 msgstr ""
24188
24189 #. type: verbatim
24190 #: ../src/guestfs-actions.pod:753
24191 #, no-wrap
24192 msgid ""
24193 " int64_t\n"
24194 " guestfs_blockdev_getsz (guestfs_h *g,\n"
24195 "                         const char *device);\n"
24196 "\n"
24197 msgstr ""
24198
24199 #. type: textblock
24200 #: ../src/guestfs-actions.pod:760
24201 msgid ""
24202 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
24203 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
24204 msgstr ""
24205
24206 #. type: =head2
24207 #: ../src/guestfs-actions.pod:770
24208 msgid "guestfs_blockdev_rereadpt"
24209 msgstr ""
24210
24211 #. type: verbatim
24212 #: ../src/guestfs-actions.pod:772
24213 #, no-wrap
24214 msgid ""
24215 " int\n"
24216 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
24217 "                            const char *device);\n"
24218 "\n"
24219 msgstr ""
24220
24221 #. type: =head2
24222 #: ../src/guestfs-actions.pod:784
24223 msgid "guestfs_blockdev_setbsz"
24224 msgstr ""
24225
24226 #. type: verbatim
24227 #: ../src/guestfs-actions.pod:786
24228 #, no-wrap
24229 msgid ""
24230 " int\n"
24231 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
24232 "                          const char *device,\n"
24233 "                          int blocksize);\n"
24234 "\n"
24235 msgstr ""
24236
24237 #. type: =head2
24238 #: ../src/guestfs-actions.pod:802
24239 msgid "guestfs_blockdev_setro"
24240 msgstr ""
24241
24242 #. type: verbatim
24243 #: ../src/guestfs-actions.pod:804
24244 #, no-wrap
24245 msgid ""
24246 " int\n"
24247 " guestfs_blockdev_setro (guestfs_h *g,\n"
24248 "                         const char *device);\n"
24249 "\n"
24250 msgstr ""
24251
24252 #. type: =head2
24253 #: ../src/guestfs-actions.pod:816
24254 msgid "guestfs_blockdev_setrw"
24255 msgstr ""
24256
24257 #. type: verbatim
24258 #: ../src/guestfs-actions.pod:818
24259 #, no-wrap
24260 msgid ""
24261 " int\n"
24262 " guestfs_blockdev_setrw (guestfs_h *g,\n"
24263 "                         const char *device);\n"
24264 "\n"
24265 msgstr ""
24266
24267 #. type: =head2
24268 #: ../src/guestfs-actions.pod:830
24269 msgid "guestfs_btrfs_filesystem_resize"
24270 msgstr ""
24271
24272 #. type: verbatim
24273 #: ../src/guestfs-actions.pod:832
24274 #, no-wrap
24275 msgid ""
24276 " int\n"
24277 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
24278 "                                  const char *mountpoint,\n"
24279 "                                  ...);\n"
24280 "\n"
24281 msgstr ""
24282
24283 #. type: verbatim
24284 #: ../src/guestfs-actions.pod:842
24285 #, no-wrap
24286 msgid ""
24287 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
24288 "\n"
24289 msgstr ""
24290
24291 #. type: textblock
24292 #: ../src/guestfs-actions.pod:865
24293 msgid "(Added in 1.11.17)"
24294 msgstr ""
24295
24296 #. type: =head2
24297 #: ../src/guestfs-actions.pod:867
24298 msgid "guestfs_btrfs_filesystem_resize_va"
24299 msgstr ""
24300
24301 #. type: verbatim
24302 #: ../src/guestfs-actions.pod:869
24303 #, no-wrap
24304 msgid ""
24305 " int\n"
24306 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
24307 "                                     const char *mountpoint,\n"
24308 "                                     va_list args);\n"
24309 "\n"
24310 msgstr ""
24311
24312 #. type: textblock
24313 #: ../src/guestfs-actions.pod:874
24314 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
24315 msgstr ""
24316
24317 #. type: =head2
24318 #: ../src/guestfs-actions.pod:878
24319 msgid "guestfs_btrfs_filesystem_resize_argv"
24320 msgstr ""
24321
24322 #. type: verbatim
24323 #: ../src/guestfs-actions.pod:880
24324 #, no-wrap
24325 msgid ""
24326 " int\n"
24327 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
24328 "                                       const char *mountpoint,\n"
24329 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
24330 "\n"
24331 msgstr ""
24332
24333 #. type: textblock
24334 #: ../src/guestfs-actions.pod:885
24335 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
24336 msgstr ""
24337
24338 #. type: =head2
24339 #: ../src/guestfs-actions.pod:889
24340 msgid "guestfs_case_sensitive_path"
24341 msgstr ""
24342
24343 #. type: verbatim
24344 #: ../src/guestfs-actions.pod:891
24345 #, no-wrap
24346 msgid ""
24347 " char *\n"
24348 " guestfs_case_sensitive_path (guestfs_h *g,\n"
24349 "                              const char *path);\n"
24350 "\n"
24351 msgstr ""
24352
24353 #. type: textblock
24354 #: ../src/guestfs-actions.pod:917
24355 msgid ""
24356 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
24357 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
24358 "how the directories were originally created under Windows)."
24359 msgstr ""
24360
24361 #. type: textblock
24362 #: ../src/guestfs-actions.pod:925
24363 msgid "See also C<guestfs_realpath>."
24364 msgstr ""
24365
24366 #. type: textblock
24367 #: ../src/guestfs-actions.pod:930 ../src/guestfs-actions.pod:7392
24368 msgid "(Added in 1.0.75)"
24369 msgstr ""
24370
24371 #. type: =head2
24372 #: ../src/guestfs-actions.pod:932
24373 msgid "guestfs_cat"
24374 msgstr ""
24375
24376 #. type: verbatim
24377 #: ../src/guestfs-actions.pod:934
24378 #, no-wrap
24379 msgid ""
24380 " char *\n"
24381 " guestfs_cat (guestfs_h *g,\n"
24382 "              const char *path);\n"
24383 "\n"
24384 msgstr ""
24385
24386 #. type: textblock
24387 #: ../src/guestfs-actions.pod:940
24388 msgid ""
24389 "Note that this function cannot correctly handle binary files (specifically, "
24390 "files containing C<\\0> character which is treated as end of string).  For "
24391 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
24392 "functions which have a more complex interface."
24393 msgstr ""
24394
24395 #. type: textblock
24396 #: ../src/guestfs-actions.pod:951 ../src/guestfs-actions.pod:3745
24397 #: ../src/guestfs-actions.pod:3827 ../src/guestfs-actions.pod:3844
24398 #: ../src/guestfs-actions.pod:3932 ../src/guestfs-actions.pod:4340
24399 #: ../src/guestfs-actions.pod:4354 ../src/guestfs-actions.pod:5725
24400 #: ../src/guestfs-actions.pod:5739 ../src/guestfs-actions.pod:7545
24401 #: ../src/guestfs-actions.pod:7559
24402 msgid "(Added in 0.4)"
24403 msgstr ""
24404
24405 #. type: =head2
24406 #: ../src/guestfs-actions.pod:953
24407 msgid "guestfs_checksum"
24408 msgstr ""
24409
24410 #. type: verbatim
24411 #: ../src/guestfs-actions.pod:955
24412 #, no-wrap
24413 msgid ""
24414 " char *\n"
24415 " guestfs_checksum (guestfs_h *g,\n"
24416 "                   const char *csumtype,\n"
24417 "                   const char *path);\n"
24418 "\n"
24419 msgstr ""
24420
24421 #. type: textblock
24422 #: ../src/guestfs-actions.pod:1001
24423 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
24424 msgstr ""
24425
24426 #. type: textblock
24427 #: ../src/guestfs-actions.pod:1003
24428 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
24429 msgstr ""
24430
24431 #. type: textblock
24432 #: ../src/guestfs-actions.pod:1008 ../src/guestfs-actions.pod:1316
24433 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:3443
24434 #: ../src/guestfs-actions.pod:3472 ../src/guestfs-actions.pod:3533
24435 #: ../src/guestfs-actions.pod:3560 ../src/guestfs-actions.pod:7248
24436 msgid "(Added in 1.0.2)"
24437 msgstr ""
24438
24439 #. type: =head2
24440 #: ../src/guestfs-actions.pod:1010
24441 msgid "guestfs_checksum_device"
24442 msgstr ""
24443
24444 #. type: verbatim
24445 #: ../src/guestfs-actions.pod:1012
24446 #, no-wrap
24447 msgid ""
24448 " char *\n"
24449 " guestfs_checksum_device (guestfs_h *g,\n"
24450 "                          const char *csumtype,\n"
24451 "                          const char *device);\n"
24452 "\n"
24453 msgstr ""
24454
24455 #. type: textblock
24456 #: ../src/guestfs-actions.pod:1017
24457 msgid ""
24458 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
24459 "device named C<device>.  For the types of checksums supported see the "
24460 "C<guestfs_checksum> command."
24461 msgstr ""
24462
24463 #. type: textblock
24464 #: ../src/guestfs-actions.pod:1024 ../src/guestfs-actions.pod:5174
24465 #: ../src/guestfs-actions.pod:5309 ../src/guestfs-actions.pod:5346
24466 #: ../src/guestfs-actions.pod:5364 ../src/guestfs-actions.pod:5546
24467 #: ../src/guestfs-actions.pod:7157 ../src/guestfs-actions.pod:7171
24468 #: ../src/guestfs-actions.pod:7571
24469 msgid "(Added in 1.3.2)"
24470 msgstr ""
24471
24472 #. type: =head2
24473 #: ../src/guestfs-actions.pod:1026
24474 msgid "guestfs_checksums_out"
24475 msgstr ""
24476
24477 #. type: verbatim
24478 #: ../src/guestfs-actions.pod:1028
24479 #, no-wrap
24480 msgid ""
24481 " int\n"
24482 " guestfs_checksums_out (guestfs_h *g,\n"
24483 "                        const char *csumtype,\n"
24484 "                        const char *directory,\n"
24485 "                        const char *sumsfile);\n"
24486 "\n"
24487 msgstr ""
24488
24489 #. type: textblock
24490 #: ../src/guestfs-actions.pod:1048
24491 msgid "(Added in 1.3.7)"
24492 msgstr ""
24493
24494 #. type: =head2
24495 #: ../src/guestfs-actions.pod:1050
24496 msgid "guestfs_chmod"
24497 msgstr ""
24498
24499 #. type: verbatim
24500 #: ../src/guestfs-actions.pod:1052
24501 #, no-wrap
24502 msgid ""
24503 " int\n"
24504 " guestfs_chmod (guestfs_h *g,\n"
24505 "                int mode,\n"
24506 "                const char *path);\n"
24507 "\n"
24508 msgstr ""
24509
24510 #. type: =head2
24511 #: ../src/guestfs-actions.pod:1070
24512 msgid "guestfs_chown"
24513 msgstr ""
24514
24515 #. type: verbatim
24516 #: ../src/guestfs-actions.pod:1072
24517 #, no-wrap
24518 msgid ""
24519 " int\n"
24520 " guestfs_chown (guestfs_h *g,\n"
24521 "                int owner,\n"
24522 "                int group,\n"
24523 "                const char *path);\n"
24524 "\n"
24525 msgstr ""
24526
24527 #. type: =head2
24528 #: ../src/guestfs-actions.pod:1088
24529 msgid "guestfs_command"
24530 msgstr ""
24531
24532 #. type: verbatim
24533 #: ../src/guestfs-actions.pod:1090
24534 #, no-wrap
24535 msgid ""
24536 " char *\n"
24537 " guestfs_command (guestfs_h *g,\n"
24538 "                  char *const *arguments);\n"
24539 "\n"
24540 msgstr ""
24541
24542 #. type: textblock
24543 #: ../src/guestfs-actions.pod:1099
24544 msgid ""
24545 "The single parameter is an argv-style list of arguments.  The first element "
24546 "is the name of the program to run.  Subsequent elements are parameters.  The "
24547 "list must be non-empty (ie. must contain a program name).  Note that the "
24548 "command runs directly, and is I<not> invoked via the shell (see "
24549 "C<guestfs_sh>)."
24550 msgstr ""
24551
24552 #. type: textblock
24553 #: ../src/guestfs-actions.pod:1130 ../src/guestfs-actions.pod:1150
24554 #: ../src/guestfs-actions.pod:1615
24555 msgid "(Added in 0.9.1)"
24556 msgstr ""
24557
24558 #. type: =head2
24559 #: ../src/guestfs-actions.pod:1132
24560 msgid "guestfs_command_lines"
24561 msgstr ""
24562
24563 #. type: verbatim
24564 #: ../src/guestfs-actions.pod:1134
24565 #, no-wrap
24566 msgid ""
24567 " char **\n"
24568 " guestfs_command_lines (guestfs_h *g,\n"
24569 "                        char *const *arguments);\n"
24570 "\n"
24571 msgstr ""
24572
24573 #. type: textblock
24574 #: ../src/guestfs-actions.pod:1138
24575 msgid ""
24576 "This is the same as C<guestfs_command>, but splits the result into a list of "
24577 "lines."
24578 msgstr ""
24579
24580 #. type: textblock
24581 #: ../src/guestfs-actions.pod:1141
24582 msgid "See also: C<guestfs_sh_lines>"
24583 msgstr ""
24584
24585 #. type: =head2
24586 #: ../src/guestfs-actions.pod:1152
24587 msgid "guestfs_config"
24588 msgstr ""
24589
24590 #. type: verbatim
24591 #: ../src/guestfs-actions.pod:1154
24592 #, no-wrap
24593 msgid ""
24594 " int\n"
24595 " guestfs_config (guestfs_h *g,\n"
24596 "                 const char *qemuparam,\n"
24597 "                 const char *qemuvalue);\n"
24598 "\n"
24599 msgstr ""
24600
24601 #. type: =head2
24602 #: ../src/guestfs-actions.pod:1172
24603 msgid "guestfs_copy_size"
24604 msgstr ""
24605
24606 #. type: verbatim
24607 #: ../src/guestfs-actions.pod:1174
24608 #, no-wrap
24609 msgid ""
24610 " int\n"
24611 " guestfs_copy_size (guestfs_h *g,\n"
24612 "                    const char *src,\n"
24613 "                    const char *dest,\n"
24614 "                    int64_t size);\n"
24615 "\n"
24616 msgstr ""
24617
24618 #. type: textblock
24619 #: ../src/guestfs-actions.pod:1188 ../src/guestfs-actions.pod:1311
24620 #: ../src/guestfs-actions.pod:1342 ../src/guestfs-actions.pod:1387
24621 #: ../src/guestfs-actions.pod:1764 ../src/guestfs-actions.pod:1786
24622 #: ../src/guestfs-actions.pod:3643 ../src/guestfs-actions.pod:7243
24623 #: ../src/guestfs-actions.pod:7277 ../src/guestfs-actions.pod:7784
24624 #: ../src/guestfs-actions.pod:7807
24625 msgid ""
24626 "This long-running command can generate progress notification messages so "
24627 "that the caller can display a progress bar or indicator.  To receive these "
24628 "messages, the caller must register a progress event callback.  See L<guestfs"
24629 "(3)/GUESTFS_EVENT_PROGRESS>."
24630 msgstr ""
24631
24632 #. type: textblock
24633 #: ../src/guestfs-actions.pod:1193 ../src/guestfs-actions.pod:4367
24634 #: ../src/guestfs-actions.pod:5752 ../src/guestfs-actions.pod:7478
24635 #: ../src/guestfs-actions.pod:7498 ../src/guestfs-actions.pod:7584
24636 msgid "(Added in 1.0.87)"
24637 msgstr ""
24638
24639 #. type: =head2
24640 #: ../src/guestfs-actions.pod:1195
24641 msgid "guestfs_cp"
24642 msgstr ""
24643
24644 #. type: verbatim
24645 #: ../src/guestfs-actions.pod:1197
24646 #, no-wrap
24647 msgid ""
24648 " int\n"
24649 " guestfs_cp (guestfs_h *g,\n"
24650 "             const char *src,\n"
24651 "             const char *dest);\n"
24652 "\n"
24653 msgstr ""
24654
24655 #. type: textblock
24656 #: ../src/guestfs-actions.pod:1207 ../src/guestfs-actions.pod:1221
24657 #: ../src/guestfs-actions.pod:1293 ../src/guestfs-actions.pod:1367
24658 #: ../src/guestfs-actions.pod:1481 ../src/guestfs-actions.pod:5121
24659 #: ../src/guestfs-actions.pod:5596
24660 msgid "(Added in 1.0.18)"
24661 msgstr ""
24662
24663 #. type: =head2
24664 #: ../src/guestfs-actions.pod:1209
24665 msgid "guestfs_cp_a"
24666 msgstr ""
24667
24668 #. type: verbatim
24669 #: ../src/guestfs-actions.pod:1211
24670 #, no-wrap
24671 msgid ""
24672 " int\n"
24673 " guestfs_cp_a (guestfs_h *g,\n"
24674 "               const char *src,\n"
24675 "               const char *dest);\n"
24676 "\n"
24677 msgstr ""
24678
24679 #. type: =head2
24680 #: ../src/guestfs-actions.pod:1223
24681 msgid "guestfs_dd"
24682 msgstr ""
24683
24684 #. type: verbatim
24685 #: ../src/guestfs-actions.pod:1225
24686 #, no-wrap
24687 msgid ""
24688 " int\n"
24689 " guestfs_dd (guestfs_h *g,\n"
24690 "             const char *src,\n"
24691 "             const char *dest);\n"
24692 "\n"
24693 msgstr ""
24694
24695 #. type: textblock
24696 #: ../src/guestfs-actions.pod:1235
24697 msgid ""
24698 "If the destination is a device, it must be as large or larger than the "
24699 "source file or device, otherwise the copy will fail.  This command cannot do "
24700 "partial copies (see C<guestfs_copy_size>)."
24701 msgstr ""
24702
24703 #. type: =head2
24704 #: ../src/guestfs-actions.pod:1243
24705 msgid "guestfs_df"
24706 msgstr ""
24707
24708 #. type: verbatim
24709 #: ../src/guestfs-actions.pod:1245
24710 #, no-wrap
24711 msgid ""
24712 " char *\n"
24713 " guestfs_df (guestfs_h *g);\n"
24714 "\n"
24715 msgstr ""
24716
24717 #. type: textblock
24718 #: ../src/guestfs-actions.pod:1250 ../src/guestfs-actions.pod:1267
24719 msgid ""
24720 "This command is mostly useful for interactive sessions.  It is I<not> "
24721 "intended that you try to parse the output string.  Use C<guestfs_statvfs> "
24722 "from programs."
24723 msgstr ""
24724
24725 #. type: textblock
24726 #: ../src/guestfs-actions.pod:1257 ../src/guestfs-actions.pod:1274
24727 #: ../src/guestfs-actions.pod:1392 ../src/guestfs-actions.pod:2366
24728 #: ../src/guestfs-actions.pod:2390 ../src/guestfs-actions.pod:2458
24729 #: ../src/guestfs-actions.pod:4477 ../src/guestfs-actions.pod:5021
24730 #: ../src/guestfs-actions.pod:6981 ../src/guestfs-actions.pod:7005
24731 #: ../src/guestfs-actions.pod:7624 ../src/guestfs-actions.pod:7637
24732 #: ../src/guestfs-actions.pod:7650
24733 msgid "(Added in 1.0.54)"
24734 msgstr ""
24735
24736 #. type: =head2
24737 #: ../src/guestfs-actions.pod:1259
24738 msgid "guestfs_df_h"
24739 msgstr ""
24740
24741 #. type: verbatim
24742 #: ../src/guestfs-actions.pod:1261
24743 #, no-wrap
24744 msgid ""
24745 " char *\n"
24746 " guestfs_df_h (guestfs_h *g);\n"
24747 "\n"
24748 msgstr ""
24749
24750 #. type: =head2
24751 #: ../src/guestfs-actions.pod:1276
24752 msgid "guestfs_dmesg"
24753 msgstr ""
24754
24755 #. type: verbatim
24756 #: ../src/guestfs-actions.pod:1278
24757 #, no-wrap
24758 msgid ""
24759 " char *\n"
24760 " guestfs_dmesg (guestfs_h *g);\n"
24761 "\n"
24762 msgstr ""
24763
24764 #. type: textblock
24765 #: ../src/guestfs-actions.pod:1285
24766 msgid ""
24767 "Another way to get the same information is to enable verbose messages with "
24768 "C<guestfs_set_verbose> or by setting the environment variable "
24769 "C<LIBGUESTFS_DEBUG=1> before running the program."
24770 msgstr ""
24771
24772 #. type: =head2
24773 #: ../src/guestfs-actions.pod:1295
24774 msgid "guestfs_download"
24775 msgstr ""
24776
24777 #. type: verbatim
24778 #: ../src/guestfs-actions.pod:1297
24779 #, no-wrap
24780 msgid ""
24781 " int\n"
24782 " guestfs_download (guestfs_h *g,\n"
24783 "                   const char *remotefilename,\n"
24784 "                   const char *filename);\n"
24785 "\n"
24786 msgstr ""
24787
24788 #. type: textblock
24789 #: ../src/guestfs-actions.pod:1307
24790 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
24791 msgstr ""
24792
24793 #. type: =head2
24794 #: ../src/guestfs-actions.pod:1318
24795 msgid "guestfs_download_offset"
24796 msgstr ""
24797
24798 #. type: verbatim
24799 #: ../src/guestfs-actions.pod:1320
24800 #, no-wrap
24801 msgid ""
24802 " int\n"
24803 " guestfs_download_offset (guestfs_h *g,\n"
24804 "                          const char *remotefilename,\n"
24805 "                          const char *filename,\n"
24806 "                          int64_t offset,\n"
24807 "                          int64_t size);\n"
24808 "\n"
24809 msgstr ""
24810
24811 #. type: textblock
24812 #: ../src/guestfs-actions.pod:1333
24813 msgid ""
24814 "Note that there is no limit on the amount of data that can be downloaded "
24815 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
24816 "full amount unless an error occurs."
24817 msgstr ""
24818
24819 #. type: textblock
24820 #: ../src/guestfs-actions.pod:1338
24821 msgid "See also C<guestfs_download>, C<guestfs_pread>."
24822 msgstr ""
24823
24824 #. type: textblock
24825 #: ../src/guestfs-actions.pod:1347 ../src/guestfs-actions.pod:7282
24826 msgid "(Added in 1.5.17)"
24827 msgstr ""
24828
24829 #. type: =head2
24830 #: ../src/guestfs-actions.pod:1349
24831 msgid "guestfs_drop_caches"
24832 msgstr ""
24833
24834 #. type: verbatim
24835 #: ../src/guestfs-actions.pod:1351
24836 #, no-wrap
24837 msgid ""
24838 " int\n"
24839 " guestfs_drop_caches (guestfs_h *g,\n"
24840 "                      int whattodrop);\n"
24841 "\n"
24842 msgstr ""
24843
24844 #. type: =head2
24845 #: ../src/guestfs-actions.pod:1369
24846 msgid "guestfs_du"
24847 msgstr ""
24848
24849 #. type: verbatim
24850 #: ../src/guestfs-actions.pod:1371
24851 #, no-wrap
24852 msgid ""
24853 " int64_t\n"
24854 " guestfs_du (guestfs_h *g,\n"
24855 "             const char *path);\n"
24856 "\n"
24857 msgstr ""
24858
24859 #. type: =head2
24860 #: ../src/guestfs-actions.pod:1394
24861 msgid "guestfs_e2fsck_f"
24862 msgstr ""
24863
24864 #. type: verbatim
24865 #: ../src/guestfs-actions.pod:1396
24866 #, no-wrap
24867 msgid ""
24868 " int\n"
24869 " guestfs_e2fsck_f (guestfs_h *g,\n"
24870 "                   const char *device);\n"
24871 "\n"
24872 msgstr ""
24873
24874 #. type: textblock
24875 #: ../src/guestfs-actions.pod:1404
24876 msgid ""
24877 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
24878 "Normally you should use C<guestfs_fsck>."
24879 msgstr ""
24880
24881 #. type: textblock
24882 #: ../src/guestfs-actions.pod:1409
24883 msgid "(Added in 1.0.29)"
24884 msgstr ""
24885
24886 #. type: =head2
24887 #: ../src/guestfs-actions.pod:1411
24888 msgid "guestfs_echo_daemon"
24889 msgstr ""
24890
24891 #. type: verbatim
24892 #: ../src/guestfs-actions.pod:1413
24893 #, no-wrap
24894 msgid ""
24895 " char *\n"
24896 " guestfs_echo_daemon (guestfs_h *g,\n"
24897 "                      char *const *words);\n"
24898 "\n"
24899 msgstr ""
24900
24901 #. type: textblock
24902 #: ../src/guestfs-actions.pod:1422
24903 msgid "See also C<guestfs_ping_daemon>."
24904 msgstr ""
24905
24906 #. type: textblock
24907 #: ../src/guestfs-actions.pod:1427 ../src/guestfs-actions.pod:2174
24908 #: ../src/guestfs-actions.pod:6453
24909 msgid "(Added in 1.0.69)"
24910 msgstr ""
24911
24912 #. type: =head2
24913 #: ../src/guestfs-actions.pod:1429
24914 msgid "guestfs_egrep"
24915 msgstr ""
24916
24917 #. type: verbatim
24918 #: ../src/guestfs-actions.pod:1431
24919 #, no-wrap
24920 msgid ""
24921 " char **\n"
24922 " guestfs_egrep (guestfs_h *g,\n"
24923 "                const char *regex,\n"
24924 "                const char *path);\n"
24925 "\n"
24926 msgstr ""
24927
24928 #. type: textblock
24929 #: ../src/guestfs-actions.pod:1446 ../src/guestfs-actions.pod:1465
24930 #: ../src/guestfs-actions.pod:1522 ../src/guestfs-actions.pod:1568
24931 #: ../src/guestfs-actions.pod:1587 ../src/guestfs-actions.pod:2304
24932 #: ../src/guestfs-actions.pod:2323 ../src/guestfs-actions.pod:2479
24933 #: ../src/guestfs-actions.pod:2492 ../src/guestfs-actions.pod:2507
24934 #: ../src/guestfs-actions.pod:2553 ../src/guestfs-actions.pod:2575
24935 #: ../src/guestfs-actions.pod:2588 ../src/guestfs-actions.pod:3857
24936 #: ../src/guestfs-actions.pod:3871 ../src/guestfs-actions.pod:3884
24937 #: ../src/guestfs-actions.pod:3898 ../src/guestfs-actions.pod:4899
24938 #: ../src/guestfs-actions.pod:5930 ../src/guestfs-actions.pod:5979
24939 #: ../src/guestfs-actions.pod:6849 ../src/guestfs-actions.pod:6861
24940 #: ../src/guestfs-actions.pod:6874 ../src/guestfs-actions.pod:6887
24941 #: ../src/guestfs-actions.pod:6909 ../src/guestfs-actions.pod:6922
24942 #: ../src/guestfs-actions.pod:6935 ../src/guestfs-actions.pod:6948
24943 #: ../src/guestfs-actions.pod:7742 ../src/guestfs-actions.pod:7761
24944 #: ../src/guestfs-actions.pod:7855 ../src/guestfs-actions.pod:7874
24945 #: ../src/guestfs-actions.pod:7920 ../src/guestfs-actions.pod:7939
24946 msgid "(Added in 1.0.66)"
24947 msgstr ""
24948
24949 #. type: =head2
24950 #: ../src/guestfs-actions.pod:1448
24951 msgid "guestfs_egrepi"
24952 msgstr ""
24953
24954 #. type: verbatim
24955 #: ../src/guestfs-actions.pod:1450
24956 #, no-wrap
24957 msgid ""
24958 " char **\n"
24959 " guestfs_egrepi (guestfs_h *g,\n"
24960 "                 const char *regex,\n"
24961 "                 const char *path);\n"
24962 "\n"
24963 msgstr ""
24964
24965 #. type: =head2
24966 #: ../src/guestfs-actions.pod:1467
24967 msgid "guestfs_equal"
24968 msgstr ""
24969
24970 #. type: verbatim
24971 #: ../src/guestfs-actions.pod:1469
24972 #, no-wrap
24973 msgid ""
24974 " int\n"
24975 " guestfs_equal (guestfs_h *g,\n"
24976 "                const char *file1,\n"
24977 "                const char *file2);\n"
24978 "\n"
24979 msgstr ""
24980
24981 #. type: =head2
24982 #: ../src/guestfs-actions.pod:1483
24983 msgid "guestfs_exists"
24984 msgstr ""
24985
24986 #. type: verbatim
24987 #: ../src/guestfs-actions.pod:1485
24988 #, no-wrap
24989 msgid ""
24990 " int\n"
24991 " guestfs_exists (guestfs_h *g,\n"
24992 "                 const char *path);\n"
24993 "\n"
24994 msgstr ""
24995
24996 #. type: textblock
24997 #: ../src/guestfs-actions.pod:1492
24998 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
24999 msgstr ""
25000
25001 #. type: =head2
25002 #: ../src/guestfs-actions.pod:1498
25003 msgid "guestfs_fallocate"
25004 msgstr ""
25005
25006 #. type: verbatim
25007 #: ../src/guestfs-actions.pod:1500
25008 #, no-wrap
25009 msgid ""
25010 " int\n"
25011 " guestfs_fallocate (guestfs_h *g,\n"
25012 "                    const char *path,\n"
25013 "                    int len);\n"
25014 "\n"
25015 msgstr ""
25016
25017 #. type: textblock
25018 #: ../src/guestfs-actions.pod:1505
25019 msgid ""
25020 "I<This function is deprecated.> In new code, use the L</guestfs_fallocate64> "
25021 "call instead."
25022 msgstr ""
25023
25024 #. type: =head2
25025 #: ../src/guestfs-actions.pod:1524
25026 msgid "guestfs_fallocate64"
25027 msgstr ""
25028
25029 #. type: verbatim
25030 #: ../src/guestfs-actions.pod:1526
25031 #, no-wrap
25032 msgid ""
25033 " int\n"
25034 " guestfs_fallocate64 (guestfs_h *g,\n"
25035 "                      const char *path,\n"
25036 "                      int64_t len);\n"
25037 "\n"
25038 msgstr ""
25039
25040 #. type: textblock
25041 #: ../src/guestfs-actions.pod:1535
25042 msgid ""
25043 "Note that this call allocates disk blocks for the file.  To create a sparse "
25044 "file use C<guestfs_truncate_size> instead."
25045 msgstr ""
25046
25047 #. type: textblock
25048 #: ../src/guestfs-actions.pod:1538
25049 msgid ""
25050 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
25051 "oversight it only allowed 30 bit lengths to be specified, effectively "
25052 "limiting the maximum size of files created through that call to 1GB."
25053 msgstr ""
25054
25055 #. type: textblock
25056 #: ../src/guestfs-actions.pod:1549
25057 msgid "(Added in 1.3.17)"
25058 msgstr ""
25059
25060 #. type: =head2
25061 #: ../src/guestfs-actions.pod:1551
25062 msgid "guestfs_fgrep"
25063 msgstr ""
25064
25065 #. type: verbatim
25066 #: ../src/guestfs-actions.pod:1553
25067 #, no-wrap
25068 msgid ""
25069 " char **\n"
25070 " guestfs_fgrep (guestfs_h *g,\n"
25071 "                const char *pattern,\n"
25072 "                const char *path);\n"
25073 "\n"
25074 msgstr ""
25075
25076 #. type: =head2
25077 #: ../src/guestfs-actions.pod:1570
25078 msgid "guestfs_fgrepi"
25079 msgstr ""
25080
25081 #. type: verbatim
25082 #: ../src/guestfs-actions.pod:1572
25083 #, no-wrap
25084 msgid ""
25085 " char **\n"
25086 " guestfs_fgrepi (guestfs_h *g,\n"
25087 "                 const char *pattern,\n"
25088 "                 const char *path);\n"
25089 "\n"
25090 msgstr ""
25091
25092 #. type: =head2
25093 #: ../src/guestfs-actions.pod:1589
25094 msgid "guestfs_file"
25095 msgstr ""
25096
25097 #. type: verbatim
25098 #: ../src/guestfs-actions.pod:1591
25099 #, no-wrap
25100 msgid ""
25101 " char *\n"
25102 " guestfs_file (guestfs_h *g,\n"
25103 "               const char *path);\n"
25104 "\n"
25105 msgstr ""
25106
25107 #. type: textblock
25108 #: ../src/guestfs-actions.pod:1609
25109 msgid ""
25110 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
25111 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
25112 msgstr ""
25113
25114 #. type: =head2
25115 #: ../src/guestfs-actions.pod:1617
25116 msgid "guestfs_file_architecture"
25117 msgstr ""
25118
25119 #. type: verbatim
25120 #: ../src/guestfs-actions.pod:1619
25121 #, no-wrap
25122 msgid ""
25123 " char *\n"
25124 " guestfs_file_architecture (guestfs_h *g,\n"
25125 "                            const char *filename);\n"
25126 "\n"
25127 msgstr ""
25128
25129 #. type: textblock
25130 #: ../src/guestfs-actions.pod:1727 ../src/guestfs-actions.pod:1890
25131 #: ../src/guestfs-actions.pod:1907 ../src/guestfs-actions.pod:2608
25132 #: ../src/guestfs-actions.pod:2698 ../src/guestfs-actions.pod:2764
25133 #: ../src/guestfs-actions.pod:2951 ../src/guestfs-actions.pod:2969
25134 #: ../src/guestfs-actions.pod:3009 ../src/guestfs-actions.pod:3084
25135 #: ../src/guestfs-actions.pod:3177 ../src/guestfs-actions.pod:3414
25136 #: ../src/guestfs-actions.pod:3546
25137 msgid "(Added in 1.5.3)"
25138 msgstr ""
25139
25140 #. type: =head2
25141 #: ../src/guestfs-actions.pod:1729
25142 msgid "guestfs_filesize"
25143 msgstr ""
25144
25145 #. type: verbatim
25146 #: ../src/guestfs-actions.pod:1731
25147 #, no-wrap
25148 msgid ""
25149 " int64_t\n"
25150 " guestfs_filesize (guestfs_h *g,\n"
25151 "                   const char *file);\n"
25152 "\n"
25153 msgstr ""
25154
25155 #. type: textblock
25156 #: ../src/guestfs-actions.pod:1737
25157 msgid ""
25158 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
25159 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
25160 "devices, use C<guestfs_blockdev_getsize64>."
25161 msgstr ""
25162
25163 #. type: textblock
25164 #: ../src/guestfs-actions.pod:1743
25165 msgid "(Added in 1.0.82)"
25166 msgstr ""
25167
25168 #. type: =head2
25169 #: ../src/guestfs-actions.pod:1745
25170 msgid "guestfs_fill"
25171 msgstr ""
25172
25173 #. type: verbatim
25174 #: ../src/guestfs-actions.pod:1747
25175 #, no-wrap
25176 msgid ""
25177 " int\n"
25178 " guestfs_fill (guestfs_h *g,\n"
25179 "               int c,\n"
25180 "               int len,\n"
25181 "               const char *path);\n"
25182 "\n"
25183 msgstr ""
25184
25185 #. type: textblock
25186 #: ../src/guestfs-actions.pod:1757
25187 msgid ""
25188 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
25189 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
25190 "bytes use C<guestfs_fill_pattern>."
25191 msgstr ""
25192
25193 #. type: textblock
25194 #: ../src/guestfs-actions.pod:1769
25195 msgid "(Added in 1.0.79)"
25196 msgstr ""
25197
25198 #. type: =head2
25199 #: ../src/guestfs-actions.pod:1771
25200 msgid "guestfs_fill_pattern"
25201 msgstr ""
25202
25203 #. type: verbatim
25204 #: ../src/guestfs-actions.pod:1773
25205 #, no-wrap
25206 msgid ""
25207 " int\n"
25208 " guestfs_fill_pattern (guestfs_h *g,\n"
25209 "                       const char *pattern,\n"
25210 "                       int len,\n"
25211 "                       const char *path);\n"
25212 "\n"
25213 msgstr ""
25214
25215 #. type: textblock
25216 #: ../src/guestfs-actions.pod:1779
25217 msgid ""
25218 "This function is like C<guestfs_fill> except that it creates a new file of "
25219 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
25220 "pattern is truncated if necessary to ensure the length of the file is "
25221 "exactly C<len> bytes."
25222 msgstr ""
25223
25224 #. type: textblock
25225 #: ../src/guestfs-actions.pod:1791
25226 msgid "(Added in 1.3.12)"
25227 msgstr ""
25228
25229 #. type: =head2
25230 #: ../src/guestfs-actions.pod:1793
25231 msgid "guestfs_find"
25232 msgstr ""
25233
25234 #. type: verbatim
25235 #: ../src/guestfs-actions.pod:1795
25236 #, no-wrap
25237 msgid ""
25238 " char **\n"
25239 " guestfs_find (guestfs_h *g,\n"
25240 "               const char *directory);\n"
25241 "\n"
25242 msgstr ""
25243
25244 #. type: textblock
25245 #: ../src/guestfs-actions.pod:1811
25246 msgid ""
25247 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
25248 msgstr ""
25249
25250 #. type: textblock
25251 #: ../src/guestfs-actions.pod:1824
25252 msgid "See also C<guestfs_find0>."
25253 msgstr ""
25254
25255 #. type: textblock
25256 #: ../src/guestfs-actions.pod:1833 ../src/guestfs-actions.pod:4304
25257 #: ../src/guestfs-actions.pod:6014
25258 msgid "(Added in 1.0.27)"
25259 msgstr ""
25260
25261 #. type: =head2
25262 #: ../src/guestfs-actions.pod:1835
25263 msgid "guestfs_find0"
25264 msgstr ""
25265
25266 #. type: verbatim
25267 #: ../src/guestfs-actions.pod:1837
25268 #, no-wrap
25269 msgid ""
25270 " int\n"
25271 " guestfs_find0 (guestfs_h *g,\n"
25272 "                const char *directory,\n"
25273 "                const char *files);\n"
25274 "\n"
25275 msgstr ""
25276
25277 #. type: textblock
25278 #: ../src/guestfs-actions.pod:1846
25279 msgid ""
25280 "This command works the same way as C<guestfs_find> with the following "
25281 "exceptions:"
25282 msgstr ""
25283
25284 #. type: textblock
25285 #: ../src/guestfs-actions.pod:1873
25286 msgid "(Added in 1.0.74)"
25287 msgstr ""
25288
25289 #. type: =head2
25290 #: ../src/guestfs-actions.pod:1875
25291 msgid "guestfs_findfs_label"
25292 msgstr ""
25293
25294 #. type: verbatim
25295 #: ../src/guestfs-actions.pod:1877
25296 #, no-wrap
25297 msgid ""
25298 " char *\n"
25299 " guestfs_findfs_label (guestfs_h *g,\n"
25300 "                       const char *label);\n"
25301 "\n"
25302 msgstr ""
25303
25304 #. type: textblock
25305 #: ../src/guestfs-actions.pod:1885
25306 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
25307 msgstr ""
25308
25309 #. type: =head2
25310 #: ../src/guestfs-actions.pod:1892
25311 msgid "guestfs_findfs_uuid"
25312 msgstr ""
25313
25314 #. type: verbatim
25315 #: ../src/guestfs-actions.pod:1894
25316 #, no-wrap
25317 msgid ""
25318 " char *\n"
25319 " guestfs_findfs_uuid (guestfs_h *g,\n"
25320 "                      const char *uuid);\n"
25321 "\n"
25322 msgstr ""
25323
25324 #. type: textblock
25325 #: ../src/guestfs-actions.pod:1902
25326 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
25327 msgstr ""
25328
25329 #. type: =head2
25330 #: ../src/guestfs-actions.pod:1909
25331 msgid "guestfs_fsck"
25332 msgstr ""
25333
25334 #. type: verbatim
25335 #: ../src/guestfs-actions.pod:1911
25336 #, no-wrap
25337 msgid ""
25338 " int\n"
25339 " guestfs_fsck (guestfs_h *g,\n"
25340 "               const char *fstype,\n"
25341 "               const char *device);\n"
25342 "\n"
25343 msgstr ""
25344
25345 #. type: textblock
25346 #: ../src/guestfs-actions.pod:1946 ../src/guestfs-actions.pod:7789
25347 msgid "(Added in 1.0.16)"
25348 msgstr ""
25349
25350 #. type: =head2
25351 #: ../src/guestfs-actions.pod:1948
25352 msgid "guestfs_get_append"
25353 msgstr ""
25354
25355 #. type: verbatim
25356 #: ../src/guestfs-actions.pod:1950
25357 #, no-wrap
25358 msgid ""
25359 " const char *\n"
25360 " guestfs_get_append (guestfs_h *g);\n"
25361 "\n"
25362 msgstr ""
25363
25364 #. type: textblock
25365 #: ../src/guestfs-actions.pod:1958
25366 msgid ""
25367 "This function returns a string which may be NULL.  There is no way to return "
25368 "an error from this function.  The string is owned by the guest handle and "
25369 "must I<not> be freed."
25370 msgstr ""
25371
25372 #. type: textblock
25373 #: ../src/guestfs-actions.pod:1962 ../src/guestfs-actions.pod:5692
25374 #: ../src/guestfs-actions.pod:6174 ../src/guestfs-actions.pod:6616
25375 #: ../src/guestfs-actions.pod:6635 ../src/guestfs-actions.pod:6651
25376 #: ../src/guestfs-actions.pod:6675 ../src/guestfs-actions.pod:7429
25377 #: ../src/guestfs-actions.pod:7444 ../src/guestfs-actions.pod:7836
25378 msgid "(Added in 1.0.26)"
25379 msgstr ""
25380
25381 #. type: =head2
25382 #: ../src/guestfs-actions.pod:1964
25383 msgid "guestfs_get_attach_method"
25384 msgstr ""
25385
25386 #. type: verbatim
25387 #: ../src/guestfs-actions.pod:1966
25388 #, no-wrap
25389 msgid ""
25390 " char *\n"
25391 " guestfs_get_attach_method (guestfs_h *g);\n"
25392 "\n"
25393 msgstr ""
25394
25395 #. type: textblock
25396 #: ../src/guestfs-actions.pod:1969
25397 msgid "Return the current attach method.  See C<guestfs_set_attach_method>."
25398 msgstr ""
25399
25400 #. type: textblock
25401 #: ../src/guestfs-actions.pod:1974 ../src/guestfs-actions.pod:6204
25402 msgid "(Added in 1.9.8)"
25403 msgstr ""
25404
25405 #. type: =head2
25406 #: ../src/guestfs-actions.pod:1976
25407 msgid "guestfs_get_autosync"
25408 msgstr ""
25409
25410 #. type: verbatim
25411 #: ../src/guestfs-actions.pod:1978
25412 #, no-wrap
25413 msgid ""
25414 " int\n"
25415 " guestfs_get_autosync (guestfs_h *g);\n"
25416 "\n"
25417 msgstr ""
25418
25419 #. type: =head2
25420 #: ../src/guestfs-actions.pod:1987
25421 msgid "guestfs_get_direct"
25422 msgstr ""
25423
25424 #. type: verbatim
25425 #: ../src/guestfs-actions.pod:1989
25426 #, no-wrap
25427 msgid ""
25428 " int\n"
25429 " guestfs_get_direct (guestfs_h *g);\n"
25430 "\n"
25431 msgstr ""
25432
25433 #. type: textblock
25434 #: ../src/guestfs-actions.pod:1996 ../src/guestfs-actions.pod:6245
25435 msgid "(Added in 1.0.72)"
25436 msgstr ""
25437
25438 #. type: =head2
25439 #: ../src/guestfs-actions.pod:1998
25440 msgid "guestfs_get_e2label"
25441 msgstr ""
25442
25443 #. type: verbatim
25444 #: ../src/guestfs-actions.pod:2000
25445 #, no-wrap
25446 msgid ""
25447 " char *\n"
25448 " guestfs_get_e2label (guestfs_h *g,\n"
25449 "                      const char *device);\n"
25450 "\n"
25451 msgstr ""
25452
25453 #. type: textblock
25454 #: ../src/guestfs-actions.pod:2004
25455 msgid ""
25456 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_label> "
25457 "call instead."
25458 msgstr ""
25459
25460 #. type: textblock
25461 #: ../src/guestfs-actions.pod:2017 ../src/guestfs-actions.pod:2038
25462 #: ../src/guestfs-actions.pod:6263 ../src/guestfs-actions.pod:6282
25463 msgid "(Added in 1.0.15)"
25464 msgstr ""
25465
25466 #. type: =head2
25467 #: ../src/guestfs-actions.pod:2019
25468 msgid "guestfs_get_e2uuid"
25469 msgstr ""
25470
25471 #. type: verbatim
25472 #: ../src/guestfs-actions.pod:2021
25473 #, no-wrap
25474 msgid ""
25475 " char *\n"
25476 " guestfs_get_e2uuid (guestfs_h *g,\n"
25477 "                     const char *device);\n"
25478 "\n"
25479 msgstr ""
25480
25481 #. type: textblock
25482 #: ../src/guestfs-actions.pod:2025
25483 msgid ""
25484 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_uuid> "
25485 "call instead."
25486 msgstr ""
25487
25488 #. type: =head2
25489 #: ../src/guestfs-actions.pod:2040
25490 msgid "guestfs_get_memsize"
25491 msgstr ""
25492
25493 #. type: verbatim
25494 #: ../src/guestfs-actions.pod:2042
25495 #, no-wrap
25496 msgid ""
25497 " int\n"
25498 " guestfs_get_memsize (guestfs_h *g);\n"
25499 "\n"
25500 msgstr ""
25501
25502 #. type: textblock
25503 #: ../src/guestfs-actions.pod:2048
25504 msgid ""
25505 "If C<guestfs_set_memsize> was not called on this handle, and if "
25506 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
25507 "value for memsize."
25508 msgstr ""
25509
25510 #. type: textblock
25511 #: ../src/guestfs-actions.pod:2057 ../src/guestfs-actions.pod:4595
25512 #: ../src/guestfs-actions.pod:4804 ../src/guestfs-actions.pod:4823
25513 #: ../src/guestfs-actions.pod:4842 ../src/guestfs-actions.pod:4854
25514 #: ../src/guestfs-actions.pod:4871 ../src/guestfs-actions.pod:4884
25515 #: ../src/guestfs-actions.pod:5917 ../src/guestfs-actions.pod:6303
25516 #: ../src/guestfs-actions.pod:6583 ../src/guestfs-actions.pod:7198
25517 msgid "(Added in 1.0.55)"
25518 msgstr ""
25519
25520 #. type: =head2
25521 #: ../src/guestfs-actions.pod:2059
25522 msgid "guestfs_get_network"
25523 msgstr ""
25524
25525 #. type: verbatim
25526 #: ../src/guestfs-actions.pod:2061
25527 #, no-wrap
25528 msgid ""
25529 " int\n"
25530 " guestfs_get_network (guestfs_h *g);\n"
25531 "\n"
25532 msgstr ""
25533
25534 #. type: textblock
25535 #: ../src/guestfs-actions.pod:2068 ../src/guestfs-actions.pod:6322
25536 msgid "(Added in 1.5.4)"
25537 msgstr ""
25538
25539 #. type: =head2
25540 #: ../src/guestfs-actions.pod:2070
25541 msgid "guestfs_get_path"
25542 msgstr ""
25543
25544 #. type: verbatim
25545 #: ../src/guestfs-actions.pod:2072
25546 #, no-wrap
25547 msgid ""
25548 " const char *\n"
25549 " guestfs_get_path (guestfs_h *g);\n"
25550 "\n"
25551 msgstr ""
25552
25553 #. type: textblock
25554 #: ../src/guestfs-actions.pod:2080 ../src/guestfs-actions.pod:2120
25555 msgid ""
25556 "This function returns a string, or NULL on error.  The string is owned by "
25557 "the guest handle and must I<not> be freed."
25558 msgstr ""
25559
25560 #. type: =head2
25561 #: ../src/guestfs-actions.pod:2085
25562 msgid "guestfs_get_pgroup"
25563 msgstr ""
25564
25565 #. type: verbatim
25566 #: ../src/guestfs-actions.pod:2087
25567 #, no-wrap
25568 msgid ""
25569 " int\n"
25570 " guestfs_get_pgroup (guestfs_h *g);\n"
25571 "\n"
25572 msgstr ""
25573
25574 #. type: textblock
25575 #: ../src/guestfs-actions.pod:2094 ../src/guestfs-actions.pod:6358
25576 #: ../src/guestfs-actions.pod:7690
25577 #, fuzzy
25578 #| msgid "(Added in 1.5.1)"
25579 msgid "(Added in 1.11.18)"
25580 msgstr "(Додано у 1.5.1)"
25581
25582 #. type: =head2
25583 #: ../src/guestfs-actions.pod:2096
25584 msgid "guestfs_get_pid"
25585 msgstr ""
25586
25587 #. type: verbatim
25588 #: ../src/guestfs-actions.pod:2098
25589 #, no-wrap
25590 msgid ""
25591 " int\n"
25592 " guestfs_get_pid (guestfs_h *g);\n"
25593 "\n"
25594 msgstr ""
25595
25596 #. type: textblock
25597 #: ../src/guestfs-actions.pod:2108
25598 msgid "(Added in 1.0.56)"
25599 msgstr ""
25600
25601 #. type: =head2
25602 #: ../src/guestfs-actions.pod:2110
25603 msgid "guestfs_get_qemu"
25604 msgstr ""
25605
25606 #. type: verbatim
25607 #: ../src/guestfs-actions.pod:2112
25608 #, no-wrap
25609 msgid ""
25610 " const char *\n"
25611 " guestfs_get_qemu (guestfs_h *g);\n"
25612 "\n"
25613 msgstr ""
25614
25615 #. type: textblock
25616 #: ../src/guestfs-actions.pod:2123 ../src/guestfs-actions.pod:6386
25617 msgid "(Added in 1.0.6)"
25618 msgstr ""
25619
25620 #. type: =head2
25621 #: ../src/guestfs-actions.pod:2125
25622 msgid "guestfs_get_recovery_proc"
25623 msgstr ""
25624
25625 #. type: verbatim
25626 #: ../src/guestfs-actions.pod:2127
25627 #, no-wrap
25628 msgid ""
25629 " int\n"
25630 " guestfs_get_recovery_proc (guestfs_h *g);\n"
25631 "\n"
25632 msgstr ""
25633
25634 #. type: textblock
25635 #: ../src/guestfs-actions.pod:2134 ../src/guestfs-actions.pod:3668
25636 #: ../src/guestfs-actions.pod:3999 ../src/guestfs-actions.pod:4402
25637 #: ../src/guestfs-actions.pod:4434 ../src/guestfs-actions.pod:5622
25638 #: ../src/guestfs-actions.pod:5965 ../src/guestfs-actions.pod:6410
25639 #: ../src/guestfs-actions.pod:7101 ../src/guestfs-actions.pod:7121
25640 #: ../src/guestfs-actions.pod:7313
25641 msgid "(Added in 1.0.77)"
25642 msgstr ""
25643
25644 #. type: =head2
25645 #: ../src/guestfs-actions.pod:2136
25646 msgid "guestfs_get_selinux"
25647 msgstr ""
25648
25649 #. type: verbatim
25650 #: ../src/guestfs-actions.pod:2138
25651 #, no-wrap
25652 msgid ""
25653 " int\n"
25654 " guestfs_get_selinux (guestfs_h *g);\n"
25655 "\n"
25656 msgstr ""
25657
25658 #. type: textblock
25659 #: ../src/guestfs-actions.pod:2141
25660 msgid ""
25661 "This returns the current setting of the selinux flag which is passed to the "
25662 "appliance at boot time.  See C<guestfs_set_selinux>."
25663 msgstr ""
25664
25665 #. type: textblock
25666 #: ../src/guestfs-actions.pod:2149 ../src/guestfs-actions.pod:2212
25667 #: ../src/guestfs-actions.pod:6429 ../src/guestfs-actions.pod:6487
25668 msgid "(Added in 1.0.67)"
25669 msgstr ""
25670
25671 #. type: =head2
25672 #: ../src/guestfs-actions.pod:2151
25673 msgid "guestfs_get_state"
25674 msgstr ""
25675
25676 #. type: verbatim
25677 #: ../src/guestfs-actions.pod:2153
25678 #, no-wrap
25679 msgid ""
25680 " int\n"
25681 " guestfs_get_state (guestfs_h *g);\n"
25682 "\n"
25683 msgstr ""
25684
25685 #. type: =head2
25686 #: ../src/guestfs-actions.pod:2165
25687 msgid "guestfs_get_trace"
25688 msgstr ""
25689
25690 #. type: verbatim
25691 #: ../src/guestfs-actions.pod:2167
25692 #, no-wrap
25693 msgid ""
25694 " int\n"
25695 " guestfs_get_trace (guestfs_h *g);\n"
25696 "\n"
25697 msgstr ""
25698
25699 #. type: =head2
25700 #: ../src/guestfs-actions.pod:2176
25701 msgid "guestfs_get_umask"
25702 msgstr ""
25703
25704 #. type: verbatim
25705 #: ../src/guestfs-actions.pod:2178
25706 #, no-wrap
25707 msgid ""
25708 " int\n"
25709 " guestfs_get_umask (guestfs_h *g);\n"
25710 "\n"
25711 msgstr ""
25712
25713 #. type: textblock
25714 #: ../src/guestfs-actions.pod:2181
25715 msgid ""
25716 "Return the current umask.  By default the umask is C<022> unless it has been "
25717 "set by calling C<guestfs_umask>."
25718 msgstr ""
25719
25720 #. type: =head2
25721 #: ../src/guestfs-actions.pod:2188
25722 msgid "guestfs_get_verbose"
25723 msgstr ""
25724
25725 #. type: verbatim
25726 #: ../src/guestfs-actions.pod:2190
25727 #, no-wrap
25728 msgid ""
25729 " int\n"
25730 " guestfs_get_verbose (guestfs_h *g);\n"
25731 "\n"
25732 msgstr ""
25733
25734 #. type: =head2
25735 #: ../src/guestfs-actions.pod:2199
25736 msgid "guestfs_getcon"
25737 msgstr ""
25738
25739 #. type: verbatim
25740 #: ../src/guestfs-actions.pod:2201
25741 #, no-wrap
25742 msgid ""
25743 " char *\n"
25744 " guestfs_getcon (guestfs_h *g);\n"
25745 "\n"
25746 msgstr ""
25747
25748 #. type: textblock
25749 #: ../src/guestfs-actions.pod:2206
25750 msgid ""
25751 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
25752 msgstr ""
25753
25754 #. type: =head2
25755 #: ../src/guestfs-actions.pod:2214
25756 msgid "guestfs_getxattr"
25757 msgstr ""
25758
25759 #. type: verbatim
25760 #: ../src/guestfs-actions.pod:2216
25761 #, no-wrap
25762 msgid ""
25763 " char *\n"
25764 " guestfs_getxattr (guestfs_h *g,\n"
25765 "                   const char *path,\n"
25766 "                   const char *name,\n"
25767 "                   size_t *size_r);\n"
25768 "\n"
25769 msgstr ""
25770
25771 #. type: textblock
25772 #: ../src/guestfs-actions.pod:2222
25773 msgid ""
25774 "Get a single extended attribute from file C<path> named C<name>.  This call "
25775 "follows symlinks.  If you want to lookup an extended attribute for the "
25776 "symlink itself, use C<guestfs_lgetxattr>."
25777 msgstr ""
25778
25779 #. type: textblock
25780 #: ../src/guestfs-actions.pod:2226 ../src/guestfs-actions.pod:3682
25781 msgid ""
25782 "Normally it is better to get all extended attributes from a file in one go "
25783 "by calling C<guestfs_getxattrs>.  However some Linux filesystem "
25784 "implementations are buggy and do not provide a way to list out attributes.  "
25785 "For these filesystems (notably ntfs-3g)  you have to know the names of the "
25786 "extended attributes you want in advance and call this function."
25787 msgstr ""
25788
25789 #. type: textblock
25790 #: ../src/guestfs-actions.pod:2236
25791 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
25792 msgstr ""
25793
25794 #. type: textblock
25795 #: ../src/guestfs-actions.pod:2238 ../src/guestfs-actions.pod:2429
25796 #: ../src/guestfs-actions.pod:2899 ../src/guestfs-actions.pod:3694
25797 #: ../src/guestfs-actions.pod:5615 ../src/guestfs-actions.pod:5641
25798 #: ../src/guestfs-actions.pod:5822
25799 msgid ""
25800 "This function returns a buffer, or NULL on error.  The size of the returned "
25801 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
25802 "after use>."
25803 msgstr ""
25804
25805 #. type: textblock
25806 #: ../src/guestfs-actions.pod:2242 ../src/guestfs-actions.pod:3698
25807 msgid "(Added in 1.7.24)"
25808 msgstr ""
25809
25810 #. type: =head2
25811 #: ../src/guestfs-actions.pod:2244
25812 msgid "guestfs_getxattrs"
25813 msgstr ""
25814
25815 #. type: verbatim
25816 #: ../src/guestfs-actions.pod:2246
25817 #, no-wrap
25818 msgid ""
25819 " struct guestfs_xattr_list *\n"
25820 " guestfs_getxattrs (guestfs_h *g,\n"
25821 "                    const char *path);\n"
25822 "\n"
25823 msgstr ""
25824
25825 #. type: textblock
25826 #: ../src/guestfs-actions.pod:2256
25827 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
25828 msgstr ""
25829
25830 #. type: textblock
25831 #: ../src/guestfs-actions.pod:2258 ../src/guestfs-actions.pod:3710
25832 #: ../src/guestfs-actions.pod:4398
25833 msgid ""
25834 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
25835 "an error.  I<The caller must call C<guestfs_free_xattr_list> after use>."
25836 msgstr ""
25837
25838 #. type: textblock
25839 #: ../src/guestfs-actions.pod:2262 ../src/guestfs-actions.pod:3714
25840 #: ../src/guestfs-actions.pod:3913 ../src/guestfs-actions.pod:3949
25841 #: ../src/guestfs-actions.pod:5995 ../src/guestfs-actions.pod:6506
25842 #: ../src/guestfs-actions.pod:7901
25843 msgid "(Added in 1.0.59)"
25844 msgstr ""
25845
25846 #. type: =head2
25847 #: ../src/guestfs-actions.pod:2264
25848 msgid "guestfs_glob_expand"
25849 msgstr ""
25850
25851 #. type: verbatim
25852 #: ../src/guestfs-actions.pod:2266
25853 #, no-wrap
25854 msgid ""
25855 " char **\n"
25856 " guestfs_glob_expand (guestfs_h *g,\n"
25857 "                      const char *pattern);\n"
25858 "\n"
25859 msgstr ""
25860
25861 #. type: textblock
25862 #: ../src/guestfs-actions.pod:2285 ../src/guestfs-actions.pod:6699
25863 #: ../src/guestfs-actions.pod:6716
25864 msgid "(Added in 1.0.50)"
25865 msgstr ""
25866
25867 #. type: =head2
25868 #: ../src/guestfs-actions.pod:2287
25869 msgid "guestfs_grep"
25870 msgstr ""
25871
25872 #. type: verbatim
25873 #: ../src/guestfs-actions.pod:2289
25874 #, no-wrap
25875 msgid ""
25876 " char **\n"
25877 " guestfs_grep (guestfs_h *g,\n"
25878 "               const char *regex,\n"
25879 "               const char *path);\n"
25880 "\n"
25881 msgstr ""
25882
25883 #. type: =head2
25884 #: ../src/guestfs-actions.pod:2306
25885 msgid "guestfs_grepi"
25886 msgstr ""
25887
25888 #. type: verbatim
25889 #: ../src/guestfs-actions.pod:2308
25890 #, no-wrap
25891 msgid ""
25892 " char **\n"
25893 " guestfs_grepi (guestfs_h *g,\n"
25894 "                const char *regex,\n"
25895 "                const char *path);\n"
25896 "\n"
25897 msgstr ""
25898
25899 #. type: =head2
25900 #: ../src/guestfs-actions.pod:2325
25901 msgid "guestfs_grub_install"
25902 msgstr ""
25903
25904 #. type: verbatim
25905 #: ../src/guestfs-actions.pod:2327
25906 #, no-wrap
25907 msgid ""
25908 " int\n"
25909 " guestfs_grub_install (guestfs_h *g,\n"
25910 "                       const char *root,\n"
25911 "                       const char *device);\n"
25912 "\n"
25913 msgstr ""
25914
25915 #. type: textblock
25916 #: ../src/guestfs-actions.pod:2348
25917 msgid "(Added in 1.0.17)"
25918 msgstr ""
25919
25920 #. type: =head2
25921 #: ../src/guestfs-actions.pod:2350
25922 msgid "guestfs_head"
25923 msgstr ""
25924
25925 #. type: verbatim
25926 #: ../src/guestfs-actions.pod:2352
25927 #, no-wrap
25928 msgid ""
25929 " char **\n"
25930 " guestfs_head (guestfs_h *g,\n"
25931 "               const char *path);\n"
25932 "\n"
25933 msgstr ""
25934
25935 #. type: =head2
25936 #: ../src/guestfs-actions.pod:2368
25937 msgid "guestfs_head_n"
25938 msgstr ""
25939
25940 #. type: verbatim
25941 #: ../src/guestfs-actions.pod:2370
25942 #, no-wrap
25943 msgid ""
25944 " char **\n"
25945 " guestfs_head_n (guestfs_h *g,\n"
25946 "                 int nrlines,\n"
25947 "                 const char *path);\n"
25948 "\n"
25949 msgstr ""
25950
25951 #. type: =head2
25952 #: ../src/guestfs-actions.pod:2392
25953 msgid "guestfs_hexdump"
25954 msgstr ""
25955
25956 #. type: verbatim
25957 #: ../src/guestfs-actions.pod:2394
25958 #, no-wrap
25959 msgid ""
25960 " char *\n"
25961 " guestfs_hexdump (guestfs_h *g,\n"
25962 "                  const char *path);\n"
25963 "\n"
25964 msgstr ""
25965
25966 #. type: textblock
25967 #: ../src/guestfs-actions.pod:2407 ../src/guestfs-actions.pod:6780
25968 #: ../src/guestfs-actions.pod:6835
25969 msgid "(Added in 1.0.22)"
25970 msgstr ""
25971
25972 #. type: =head2
25973 #: ../src/guestfs-actions.pod:2409
25974 msgid "guestfs_initrd_cat"
25975 msgstr ""
25976
25977 #. type: verbatim
25978 #: ../src/guestfs-actions.pod:2411
25979 #, no-wrap
25980 msgid ""
25981 " char *\n"
25982 " guestfs_initrd_cat (guestfs_h *g,\n"
25983 "                     const char *initrdpath,\n"
25984 "                     const char *filename,\n"
25985 "                     size_t *size_r);\n"
25986 "\n"
25987 msgstr ""
25988
25989 #. type: textblock
25990 #: ../src/guestfs-actions.pod:2427
25991 msgid "See also C<guestfs_initrd_list>."
25992 msgstr ""
25993
25994 #. type: =head2
25995 #: ../src/guestfs-actions.pod:2438
25996 msgid "guestfs_initrd_list"
25997 msgstr ""
25998
25999 #. type: verbatim
26000 #: ../src/guestfs-actions.pod:2440
26001 #, no-wrap
26002 msgid ""
26003 " char **\n"
26004 " guestfs_initrd_list (guestfs_h *g,\n"
26005 "                      const char *path);\n"
26006 "\n"
26007 msgstr ""
26008
26009 #. type: =head2
26010 #: ../src/guestfs-actions.pod:2460
26011 msgid "guestfs_inotify_add_watch"
26012 msgstr ""
26013
26014 #. type: verbatim
26015 #: ../src/guestfs-actions.pod:2462
26016 #, no-wrap
26017 msgid ""
26018 " int64_t\n"
26019 " guestfs_inotify_add_watch (guestfs_h *g,\n"
26020 "                            const char *path,\n"
26021 "                            int mask);\n"
26022 "\n"
26023 msgstr ""
26024
26025 #. type: =head2
26026 #: ../src/guestfs-actions.pod:2481
26027 msgid "guestfs_inotify_close"
26028 msgstr ""
26029
26030 #. type: verbatim
26031 #: ../src/guestfs-actions.pod:2483
26032 #, no-wrap
26033 msgid ""
26034 " int\n"
26035 " guestfs_inotify_close (guestfs_h *g);\n"
26036 "\n"
26037 msgstr ""
26038
26039 #. type: =head2
26040 #: ../src/guestfs-actions.pod:2494
26041 msgid "guestfs_inotify_files"
26042 msgstr ""
26043
26044 #. type: verbatim
26045 #: ../src/guestfs-actions.pod:2496
26046 #, no-wrap
26047 msgid ""
26048 " char **\n"
26049 " guestfs_inotify_files (guestfs_h *g);\n"
26050 "\n"
26051 msgstr ""
26052
26053 #. type: textblock
26054 #: ../src/guestfs-actions.pod:2499
26055 msgid ""
26056 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
26057 "returns a list of pathnames of objects that were touched.  The returned "
26058 "pathnames are sorted and deduplicated."
26059 msgstr ""
26060
26061 #. type: =head2
26062 #: ../src/guestfs-actions.pod:2509
26063 msgid "guestfs_inotify_init"
26064 msgstr ""
26065
26066 #. type: verbatim
26067 #: ../src/guestfs-actions.pod:2511
26068 #, no-wrap
26069 msgid ""
26070 " int\n"
26071 " guestfs_inotify_init (guestfs_h *g,\n"
26072 "                       int maxevents);\n"
26073 "\n"
26074 msgstr ""
26075
26076 #. type: textblock
26077 #: ../src/guestfs-actions.pod:2519
26078 msgid ""
26079 "C<maxevents> is the maximum number of events which will be queued up between "
26080 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
26081 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
26082 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
26083 "throws away events, but records the fact that it threw them away by setting "
26084 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
26085 "C<guestfs_inotify_read>)."
26086 msgstr ""
26087
26088 #. type: textblock
26089 #: ../src/guestfs-actions.pod:2529
26090 msgid ""
26091 "Before any events are generated, you have to add some watches to the "
26092 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
26093 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
26094 msgstr ""
26095
26096 #. type: textblock
26097 #: ../src/guestfs-actions.pod:2535
26098 msgid ""
26099 "Queued up events should be read periodically by calling "
26100 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
26101 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
26102 "often enough then you risk the internal queue overflowing."
26103 msgstr ""
26104
26105 #. type: textblock
26106 #: ../src/guestfs-actions.pod:2542
26107 msgid ""
26108 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
26109 "This also removes any watches automatically."
26110 msgstr ""
26111
26112 #. type: =head2
26113 #: ../src/guestfs-actions.pod:2555
26114 msgid "guestfs_inotify_read"
26115 msgstr ""
26116
26117 #. type: verbatim
26118 #: ../src/guestfs-actions.pod:2557
26119 #, no-wrap
26120 msgid ""
26121 " struct guestfs_inotify_event_list *\n"
26122 " guestfs_inotify_read (guestfs_h *g);\n"
26123 "\n"
26124 msgstr ""
26125
26126 #. type: textblock
26127 #: ../src/guestfs-actions.pod:2571
26128 msgid ""
26129 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
26130 "there was an error.  I<The caller must call "
26131 "C<guestfs_free_inotify_event_list> after use>."
26132 msgstr ""
26133
26134 #. type: =head2
26135 #: ../src/guestfs-actions.pod:2577
26136 msgid "guestfs_inotify_rm_watch"
26137 msgstr ""
26138
26139 #. type: verbatim
26140 #: ../src/guestfs-actions.pod:2579
26141 #, no-wrap
26142 msgid ""
26143 " int\n"
26144 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
26145 "                           int wd);\n"
26146 "\n"
26147 msgstr ""
26148
26149 #. type: textblock
26150 #: ../src/guestfs-actions.pod:2583
26151 msgid ""
26152 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
26153 msgstr ""
26154
26155 #. type: =head2
26156 #: ../src/guestfs-actions.pod:2590
26157 msgid "guestfs_inspect_get_arch"
26158 msgstr ""
26159
26160 #. type: verbatim
26161 #: ../src/guestfs-actions.pod:2592
26162 #, no-wrap
26163 msgid ""
26164 " char *\n"
26165 " guestfs_inspect_get_arch (guestfs_h *g,\n"
26166 "                           const char *root);\n"
26167 "\n"
26168 msgstr ""
26169
26170 #. type: textblock
26171 #: ../src/guestfs-actions.pod:2596
26172 msgid ""
26173 "This returns the architecture of the inspected operating system.  The "
26174 "possible return values are listed under C<guestfs_file_architecture>."
26175 msgstr ""
26176
26177 #. type: =head2
26178 #: ../src/guestfs-actions.pod:2610
26179 msgid "guestfs_inspect_get_distro"
26180 msgstr ""
26181
26182 #. type: verbatim
26183 #: ../src/guestfs-actions.pod:2612
26184 #, no-wrap
26185 msgid ""
26186 " char *\n"
26187 " guestfs_inspect_get_distro (guestfs_h *g,\n"
26188 "                             const char *root);\n"
26189 "\n"
26190 msgstr ""
26191
26192 #. type: =head2
26193 #: ../src/guestfs-actions.pod:2700
26194 msgid "guestfs_inspect_get_drive_mappings"
26195 msgstr ""
26196
26197 #. type: verbatim
26198 #: ../src/guestfs-actions.pod:2702
26199 #, no-wrap
26200 msgid ""
26201 " char **\n"
26202 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
26203 "                                     const char *root);\n"
26204 "\n"
26205 msgstr ""
26206
26207 #. type: textblock
26208 #: ../src/guestfs-actions.pod:2731
26209 msgid ""
26210 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
26211 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
26212 msgstr ""
26213
26214 #. type: textblock
26215 #: ../src/guestfs-actions.pod:2735 ../src/guestfs-actions.pod:3003
26216 #: ../src/guestfs-actions.pod:3801 ../src/guestfs-actions.pod:5083
26217 #: ../src/guestfs-actions.pod:7137
26218 msgid ""
26219 "This function returns a NULL-terminated array of strings, or NULL if there "
26220 "was an error.  The array of strings will always have length C<2n+1>, where "
26221 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
26222 "caller must free the strings and the array after use>."
26223 msgstr ""
26224
26225 #. type: textblock
26226 #: ../src/guestfs-actions.pod:2741 ../src/guestfs-actions.pod:3197
26227 msgid "(Added in 1.9.17)"
26228 msgstr ""
26229
26230 #. type: =head2
26231 #: ../src/guestfs-actions.pod:2743
26232 msgid "guestfs_inspect_get_filesystems"
26233 msgstr ""
26234
26235 #. type: verbatim
26236 #: ../src/guestfs-actions.pod:2745
26237 #, no-wrap
26238 msgid ""
26239 " char **\n"
26240 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
26241 "                                  const char *root);\n"
26242 "\n"
26243 msgstr ""
26244
26245 #. type: textblock
26246 #: ../src/guestfs-actions.pod:2757
26247 msgid ""
26248 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
26249 "C<guestfs_inspect_get_mountpoints>."
26250 msgstr ""
26251
26252 #. type: =head2
26253 #: ../src/guestfs-actions.pod:2766
26254 msgid "guestfs_inspect_get_format"
26255 msgstr ""
26256
26257 #. type: verbatim
26258 #: ../src/guestfs-actions.pod:2768
26259 #, no-wrap
26260 msgid ""
26261 " char *\n"
26262 " guestfs_inspect_get_format (guestfs_h *g,\n"
26263 "                             const char *root);\n"
26264 "\n"
26265 msgstr ""
26266
26267 #. type: textblock
26268 #: ../src/guestfs-actions.pod:2802 ../src/guestfs-actions.pod:3233
26269 #: ../src/guestfs-actions.pod:3249 ../src/guestfs-actions.pod:3267
26270 #: ../src/guestfs-actions.pod:6033
26271 msgid "(Added in 1.9.4)"
26272 msgstr ""
26273
26274 #. type: =head2
26275 #: ../src/guestfs-actions.pod:2804
26276 msgid "guestfs_inspect_get_hostname"
26277 msgstr ""
26278
26279 #. type: verbatim
26280 #: ../src/guestfs-actions.pod:2806
26281 #, no-wrap
26282 msgid ""
26283 " char *\n"
26284 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
26285 "                               const char *root);\n"
26286 "\n"
26287 msgstr ""
26288
26289 #. type: textblock
26290 #: ../src/guestfs-actions.pod:2821
26291 msgid "(Added in 1.7.9)"
26292 msgstr ""
26293
26294 #. type: =head2
26295 #: ../src/guestfs-actions.pod:2823
26296 msgid "guestfs_inspect_get_icon"
26297 msgstr ""
26298
26299 #. type: verbatim
26300 #: ../src/guestfs-actions.pod:2825
26301 #, no-wrap
26302 msgid ""
26303 " char *\n"
26304 " guestfs_inspect_get_icon (guestfs_h *g,\n"
26305 "                           const char *root,\n"
26306 "                           size_t *size_r,\n"
26307 "                           ...);\n"
26308 "\n"
26309 msgstr ""
26310
26311 #. type: verbatim
26312 #: ../src/guestfs-actions.pod:2836
26313 #, no-wrap
26314 msgid ""
26315 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
26316 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
26317 "\n"
26318 msgstr ""
26319
26320 #. type: textblock
26321 #: ../src/guestfs-actions.pod:2903 ../src/guestfs-actions.pod:3728
26322 #: ../src/guestfs-actions.pod:4982
26323 msgid "(Added in 1.11.12)"
26324 msgstr ""
26325
26326 #. type: =head2
26327 #: ../src/guestfs-actions.pod:2905
26328 msgid "guestfs_inspect_get_icon_va"
26329 msgstr ""
26330
26331 #. type: verbatim
26332 #: ../src/guestfs-actions.pod:2907
26333 #, no-wrap
26334 msgid ""
26335 " char *\n"
26336 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
26337 "                              const char *root,\n"
26338 "                              size_t *size_r,\n"
26339 "                              va_list args);\n"
26340 "\n"
26341 msgstr ""
26342
26343 #. type: textblock
26344 #: ../src/guestfs-actions.pod:2913
26345 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
26346 msgstr ""
26347
26348 #. type: =head2
26349 #: ../src/guestfs-actions.pod:2917
26350 msgid "guestfs_inspect_get_icon_argv"
26351 msgstr ""
26352
26353 #. type: verbatim
26354 #: ../src/guestfs-actions.pod:2919
26355 #, no-wrap
26356 msgid ""
26357 " char *\n"
26358 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
26359 "                                const char *root,\n"
26360 "                                size_t *size_r,\n"
26361 "                                const struct guestfs_inspect_get_icon_argv *optargs);\n"
26362 "\n"
26363 msgstr ""
26364
26365 #. type: textblock
26366 #: ../src/guestfs-actions.pod:2925
26367 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
26368 msgstr ""
26369
26370 #. type: =head2
26371 #: ../src/guestfs-actions.pod:2929
26372 msgid "guestfs_inspect_get_major_version"
26373 msgstr ""
26374
26375 #. type: verbatim
26376 #: ../src/guestfs-actions.pod:2931
26377 #, no-wrap
26378 msgid ""
26379 " int\n"
26380 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
26381 "                                    const char *root);\n"
26382 "\n"
26383 msgstr ""
26384
26385 #. type: =head2
26386 #: ../src/guestfs-actions.pod:2953
26387 msgid "guestfs_inspect_get_minor_version"
26388 msgstr ""
26389
26390 #. type: verbatim
26391 #: ../src/guestfs-actions.pod:2955
26392 #, no-wrap
26393 msgid ""
26394 " int\n"
26395 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
26396 "                                    const char *root);\n"
26397 "\n"
26398 msgstr ""
26399
26400 #. type: textblock
26401 #: ../src/guestfs-actions.pod:2964
26402 msgid ""
26403 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
26404 "C<guestfs_inspect_get_major_version>."
26405 msgstr ""
26406
26407 #. type: =head2
26408 #: ../src/guestfs-actions.pod:2971
26409 msgid "guestfs_inspect_get_mountpoints"
26410 msgstr ""
26411
26412 #. type: verbatim
26413 #: ../src/guestfs-actions.pod:2973
26414 #, no-wrap
26415 msgid ""
26416 " char **\n"
26417 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
26418 "                                  const char *root);\n"
26419 "\n"
26420 msgstr ""
26421
26422 #. type: textblock
26423 #: ../src/guestfs-actions.pod:2994
26424 msgid ""
26425 "For operating systems like Windows which still use drive letters, this call "
26426 "will only return an entry for the first drive \"mounted on\" C</>.  For "
26427 "information about the mapping of drive letters to partitions, see "
26428 "C<guestfs_inspect_get_drive_mappings>."
26429 msgstr ""
26430
26431 #. type: textblock
26432 #: ../src/guestfs-actions.pod:3000
26433 msgid ""
26434 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
26435 "C<guestfs_inspect_get_filesystems>."
26436 msgstr ""
26437
26438 #. type: =head2
26439 #: ../src/guestfs-actions.pod:3011
26440 msgid "guestfs_inspect_get_package_format"
26441 msgstr ""
26442
26443 #. type: verbatim
26444 #: ../src/guestfs-actions.pod:3013
26445 #, no-wrap
26446 msgid ""
26447 " char *\n"
26448 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
26449 "                                     const char *root);\n"
26450 "\n"
26451 msgstr ""
26452
26453 #. type: textblock
26454 #: ../src/guestfs-actions.pod:3017
26455 msgid ""
26456 "This function and C<guestfs_inspect_get_package_management> return the "
26457 "package format and package management tool used by the inspected operating "
26458 "system.  For example for Fedora these functions would return C<rpm> (package "
26459 "format) and C<yum> (package management)."
26460 msgstr ""
26461
26462 #. type: textblock
26463 #: ../src/guestfs-actions.pod:3035 ../src/guestfs-actions.pod:3063
26464 msgid "(Added in 1.7.5)"
26465 msgstr ""
26466
26467 #. type: =head2
26468 #: ../src/guestfs-actions.pod:3037
26469 msgid "guestfs_inspect_get_package_management"
26470 msgstr ""
26471
26472 #. type: verbatim
26473 #: ../src/guestfs-actions.pod:3039
26474 #, no-wrap
26475 msgid ""
26476 " char *\n"
26477 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
26478 "                                         const char *root);\n"
26479 "\n"
26480 msgstr ""
26481
26482 #. type: textblock
26483 #: ../src/guestfs-actions.pod:3043
26484 msgid ""
26485 "C<guestfs_inspect_get_package_format> and this function return the package "
26486 "format and package management tool used by the inspected operating system.  "
26487 "For example for Fedora these functions would return C<rpm> (package format) "
26488 "and C<yum> (package management)."
26489 msgstr ""
26490
26491 #. type: =head2
26492 #: ../src/guestfs-actions.pod:3065
26493 msgid "guestfs_inspect_get_product_name"
26494 msgstr ""
26495
26496 #. type: verbatim
26497 #: ../src/guestfs-actions.pod:3067
26498 #, no-wrap
26499 msgid ""
26500 " char *\n"
26501 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
26502 "                                   const char *root);\n"
26503 "\n"
26504 msgstr ""
26505
26506 #. type: =head2
26507 #: ../src/guestfs-actions.pod:3086
26508 msgid "guestfs_inspect_get_product_variant"
26509 msgstr ""
26510
26511 #. type: verbatim
26512 #: ../src/guestfs-actions.pod:3088
26513 #, no-wrap
26514 msgid ""
26515 " char *\n"
26516 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
26517 "                                      const char *root);\n"
26518 "\n"
26519 msgstr ""
26520
26521 #. type: textblock
26522 #: ../src/guestfs-actions.pod:3111
26523 msgid ""
26524 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
26525 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
26526 msgstr ""
26527
26528 #. type: textblock
26529 #: ../src/guestfs-actions.pod:3118
26530 msgid "(Added in 1.9.13)"
26531 msgstr ""
26532
26533 #. type: =head2
26534 #: ../src/guestfs-actions.pod:3120
26535 msgid "guestfs_inspect_get_roots"
26536 msgstr ""
26537
26538 #. type: verbatim
26539 #: ../src/guestfs-actions.pod:3122
26540 #, no-wrap
26541 msgid ""
26542 " char **\n"
26543 " guestfs_inspect_get_roots (guestfs_h *g);\n"
26544 "\n"
26545 msgstr ""
26546
26547 #. type: textblock
26548 #: ../src/guestfs-actions.pod:3125
26549 msgid ""
26550 "This function is a convenient way to get the list of root devices, as "
26551 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
26552 "the whole inspection process."
26553 msgstr ""
26554
26555 #. type: textblock
26556 #: ../src/guestfs-actions.pod:3129
26557 msgid ""
26558 "This returns an empty list if either no root devices were found or the "
26559 "caller has not called C<guestfs_inspect_os>."
26560 msgstr ""
26561
26562 #. type: textblock
26563 #: ../src/guestfs-actions.pod:3138
26564 msgid "(Added in 1.7.3)"
26565 msgstr ""
26566
26567 #. type: =head2
26568 #: ../src/guestfs-actions.pod:3140
26569 msgid "guestfs_inspect_get_type"
26570 msgstr ""
26571
26572 #. type: verbatim
26573 #: ../src/guestfs-actions.pod:3142
26574 #, no-wrap
26575 msgid ""
26576 " char *\n"
26577 " guestfs_inspect_get_type (guestfs_h *g,\n"
26578 "                           const char *root);\n"
26579 "\n"
26580 msgstr ""
26581
26582 #. type: =head2
26583 #: ../src/guestfs-actions.pod:3179
26584 msgid "guestfs_inspect_get_windows_current_control_set"
26585 msgstr ""
26586
26587 #. type: verbatim
26588 #: ../src/guestfs-actions.pod:3181
26589 #, no-wrap
26590 msgid ""
26591 " char *\n"
26592 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
26593 "                                                  const char *root);\n"
26594 "\n"
26595 msgstr ""
26596
26597 #. type: =head2
26598 #: ../src/guestfs-actions.pod:3199
26599 msgid "guestfs_inspect_get_windows_systemroot"
26600 msgstr ""
26601
26602 #. type: verbatim
26603 #: ../src/guestfs-actions.pod:3201
26604 #, no-wrap
26605 msgid ""
26606 " char *\n"
26607 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
26608 "                                         const char *root);\n"
26609 "\n"
26610 msgstr ""
26611
26612 #. type: textblock
26613 #: ../src/guestfs-actions.pod:3217
26614 msgid "(Added in 1.5.25)"
26615 msgstr ""
26616
26617 #. type: =head2
26618 #: ../src/guestfs-actions.pod:3219
26619 msgid "guestfs_inspect_is_live"
26620 msgstr ""
26621
26622 #. type: verbatim
26623 #: ../src/guestfs-actions.pod:3221
26624 #, no-wrap
26625 msgid ""
26626 " int\n"
26627 " guestfs_inspect_is_live (guestfs_h *g,\n"
26628 "                          const char *root);\n"
26629 "\n"
26630 msgstr ""
26631
26632 #. type: textblock
26633 #: ../src/guestfs-actions.pod:3225
26634 msgid ""
26635 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
26636 "disk), then this returns true if a live image was detected on the disk."
26637 msgstr ""
26638
26639 #. type: =head2
26640 #: ../src/guestfs-actions.pod:3235
26641 msgid "guestfs_inspect_is_multipart"
26642 msgstr ""
26643
26644 #. type: verbatim
26645 #: ../src/guestfs-actions.pod:3237
26646 #, no-wrap
26647 msgid ""
26648 " int\n"
26649 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
26650 "                               const char *root);\n"
26651 "\n"
26652 msgstr ""
26653
26654 #. type: textblock
26655 #: ../src/guestfs-actions.pod:3241
26656 msgid ""
26657 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
26658 "disk), then this returns true if the disk is part of a set."
26659 msgstr ""
26660
26661 #. type: =head2
26662 #: ../src/guestfs-actions.pod:3251
26663 msgid "guestfs_inspect_is_netinst"
26664 msgstr ""
26665
26666 #. type: verbatim
26667 #: ../src/guestfs-actions.pod:3253
26668 #, no-wrap
26669 msgid ""
26670 " int\n"
26671 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
26672 "                             const char *root);\n"
26673 "\n"
26674 msgstr ""
26675
26676 #. type: textblock
26677 #: ../src/guestfs-actions.pod:3257
26678 msgid ""
26679 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
26680 "disk), then this returns true if the disk is a network installer, ie. not a "
26681 "self-contained install CD but one which is likely to require network access "
26682 "to complete the install."
26683 msgstr ""
26684
26685 #. type: =head2
26686 #: ../src/guestfs-actions.pod:3269
26687 msgid "guestfs_inspect_list_applications"
26688 msgstr ""
26689
26690 #. type: verbatim
26691 #: ../src/guestfs-actions.pod:3271
26692 #, no-wrap
26693 msgid ""
26694 " struct guestfs_application_list *\n"
26695 " guestfs_inspect_list_applications (guestfs_h *g,\n"
26696 "                                    const char *root);\n"
26697 "\n"
26698 msgstr ""
26699
26700 #. type: textblock
26701 #: ../src/guestfs-actions.pod:3277
26702 msgid ""
26703 "I<Note:> This call works differently from other parts of the inspection "
26704 "API.  You have to call C<guestfs_inspect_os>, then "
26705 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
26706 "this.  Listing applications is a significantly more difficult operation "
26707 "which requires access to the full filesystem.  Also note that unlike the "
26708 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
26709 "the libguestfs handle, this call actually reads parts of the mounted "
26710 "filesystems during the call."
26711 msgstr ""
26712
26713 #. type: textblock
26714 #: ../src/guestfs-actions.pod:3367
26715 msgid ""
26716 "This function returns a C<struct guestfs_application_list *>, or NULL if "
26717 "there was an error.  I<The caller must call C<guestfs_free_application_list> "
26718 "after use>."
26719 msgstr ""
26720
26721 #. type: textblock
26722 #: ../src/guestfs-actions.pod:3371
26723 msgid "(Added in 1.7.8)"
26724 msgstr ""
26725
26726 #. type: =head2
26727 #: ../src/guestfs-actions.pod:3373
26728 msgid "guestfs_inspect_os"
26729 msgstr ""
26730
26731 #. type: verbatim
26732 #: ../src/guestfs-actions.pod:3375
26733 #, no-wrap
26734 msgid ""
26735 " char **\n"
26736 " guestfs_inspect_os (guestfs_h *g);\n"
26737 "\n"
26738 msgstr ""
26739
26740 #. type: textblock
26741 #: ../src/guestfs-actions.pod:3391
26742 msgid ""
26743 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
26744 "functions in order to query further information about each operating system, "
26745 "such as the name and version."
26746 msgstr ""
26747
26748 #. type: textblock
26749 #: ../src/guestfs-actions.pod:3396
26750 msgid ""
26751 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
26752 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
26753 "the contents.  This should be called with no disks currently mounted.  The "
26754 "function may also use Augeas, so any existing Augeas handle will be closed."
26755 msgstr ""
26756
26757 #. type: textblock
26758 #: ../src/guestfs-actions.pod:3408 ../src/guestfs-actions.pod:3739
26759 #: ../src/guestfs-actions.pod:3821
26760 msgid "See also C<guestfs_list_filesystems>."
26761 msgstr ""
26762
26763 #. type: =head2
26764 #: ../src/guestfs-actions.pod:3416
26765 msgid "guestfs_is_blockdev"
26766 msgstr ""
26767
26768 #. type: verbatim
26769 #: ../src/guestfs-actions.pod:3418
26770 #, no-wrap
26771 msgid ""
26772 " int\n"
26773 " guestfs_is_blockdev (guestfs_h *g,\n"
26774 "                      const char *path);\n"
26775 "\n"
26776 msgstr ""
26777
26778 #. type: textblock
26779 #: ../src/guestfs-actions.pod:3425 ../src/guestfs-actions.pod:3454
26780 #: ../src/guestfs-actions.pod:3484 ../src/guestfs-actions.pod:3499
26781 #: ../src/guestfs-actions.pod:3515 ../src/guestfs-actions.pod:3571
26782 #: ../src/guestfs-actions.pod:3586
26783 msgid "See also C<guestfs_stat>."
26784 msgstr ""
26785
26786 #. type: textblock
26787 #: ../src/guestfs-actions.pod:3429 ../src/guestfs-actions.pod:3458
26788 #: ../src/guestfs-actions.pod:3503 ../src/guestfs-actions.pod:3575
26789 #: ../src/guestfs-actions.pod:3590
26790 msgid "(Added in 1.5.10)"
26791 msgstr ""
26792
26793 #. type: =head2
26794 #: ../src/guestfs-actions.pod:3431
26795 msgid "guestfs_is_busy"
26796 msgstr ""
26797
26798 #. type: verbatim
26799 #: ../src/guestfs-actions.pod:3433
26800 #, no-wrap
26801 msgid ""
26802 " int\n"
26803 " guestfs_is_busy (guestfs_h *g);\n"
26804 "\n"
26805 msgstr ""
26806
26807 #. type: =head2
26808 #: ../src/guestfs-actions.pod:3445
26809 msgid "guestfs_is_chardev"
26810 msgstr ""
26811
26812 #. type: verbatim
26813 #: ../src/guestfs-actions.pod:3447
26814 #, no-wrap
26815 msgid ""
26816 " int\n"
26817 " guestfs_is_chardev (guestfs_h *g,\n"
26818 "                     const char *path);\n"
26819 "\n"
26820 msgstr ""
26821
26822 #. type: =head2
26823 #: ../src/guestfs-actions.pod:3460
26824 msgid "guestfs_is_config"
26825 msgstr ""
26826
26827 #. type: verbatim
26828 #: ../src/guestfs-actions.pod:3462
26829 #, no-wrap
26830 msgid ""
26831 " int\n"
26832 " guestfs_is_config (guestfs_h *g);\n"
26833 "\n"
26834 msgstr ""
26835
26836 #. type: =head2
26837 #: ../src/guestfs-actions.pod:3474
26838 msgid "guestfs_is_dir"
26839 msgstr ""
26840
26841 #. type: verbatim
26842 #: ../src/guestfs-actions.pod:3476
26843 #, no-wrap
26844 msgid ""
26845 " int\n"
26846 " guestfs_is_dir (guestfs_h *g,\n"
26847 "                 const char *path);\n"
26848 "\n"
26849 msgstr ""
26850
26851 #. type: =head2
26852 #: ../src/guestfs-actions.pod:3490
26853 msgid "guestfs_is_fifo"
26854 msgstr ""
26855
26856 #. type: verbatim
26857 #: ../src/guestfs-actions.pod:3492
26858 #, no-wrap
26859 msgid ""
26860 " int\n"
26861 " guestfs_is_fifo (guestfs_h *g,\n"
26862 "                  const char *path);\n"
26863 "\n"
26864 msgstr ""
26865
26866 #. type: =head2
26867 #: ../src/guestfs-actions.pod:3505
26868 msgid "guestfs_is_file"
26869 msgstr ""
26870
26871 #. type: verbatim
26872 #: ../src/guestfs-actions.pod:3507
26873 #, no-wrap
26874 msgid ""
26875 " int\n"
26876 " guestfs_is_file (guestfs_h *g,\n"
26877 "                  const char *path);\n"
26878 "\n"
26879 msgstr ""
26880
26881 #. type: =head2
26882 #: ../src/guestfs-actions.pod:3521
26883 msgid "guestfs_is_launching"
26884 msgstr ""
26885
26886 #. type: verbatim
26887 #: ../src/guestfs-actions.pod:3523
26888 #, no-wrap
26889 msgid ""
26890 " int\n"
26891 " guestfs_is_launching (guestfs_h *g);\n"
26892 "\n"
26893 msgstr ""
26894
26895 #. type: =head2
26896 #: ../src/guestfs-actions.pod:3535
26897 msgid "guestfs_is_lv"
26898 msgstr ""
26899
26900 #. type: verbatim
26901 #: ../src/guestfs-actions.pod:3537
26902 #, no-wrap
26903 msgid ""
26904 " int\n"
26905 " guestfs_is_lv (guestfs_h *g,\n"
26906 "                const char *device);\n"
26907 "\n"
26908 msgstr ""
26909
26910 #. type: =head2
26911 #: ../src/guestfs-actions.pod:3548
26912 msgid "guestfs_is_ready"
26913 msgstr ""
26914
26915 #. type: verbatim
26916 #: ../src/guestfs-actions.pod:3550
26917 #, no-wrap
26918 msgid ""
26919 " int\n"
26920 " guestfs_is_ready (guestfs_h *g);\n"
26921 "\n"
26922 msgstr ""
26923
26924 #. type: =head2
26925 #: ../src/guestfs-actions.pod:3562
26926 msgid "guestfs_is_socket"
26927 msgstr ""
26928
26929 #. type: verbatim
26930 #: ../src/guestfs-actions.pod:3564
26931 #, no-wrap
26932 msgid ""
26933 " int\n"
26934 " guestfs_is_socket (guestfs_h *g,\n"
26935 "                    const char *path);\n"
26936 "\n"
26937 msgstr ""
26938
26939 #. type: =head2
26940 #: ../src/guestfs-actions.pod:3577
26941 msgid "guestfs_is_symlink"
26942 msgstr ""
26943
26944 #. type: verbatim
26945 #: ../src/guestfs-actions.pod:3579
26946 #, no-wrap
26947 msgid ""
26948 " int\n"
26949 " guestfs_is_symlink (guestfs_h *g,\n"
26950 "                     const char *path);\n"
26951 "\n"
26952 msgstr ""
26953
26954 #. type: =head2
26955 #: ../src/guestfs-actions.pod:3592
26956 msgid "guestfs_is_zero"
26957 msgstr ""
26958
26959 #. type: verbatim
26960 #: ../src/guestfs-actions.pod:3594
26961 #, no-wrap
26962 msgid ""
26963 " int\n"
26964 " guestfs_is_zero (guestfs_h *g,\n"
26965 "                  const char *path);\n"
26966 "\n"
26967 msgstr ""
26968
26969 #. type: textblock
26970 #: ../src/guestfs-actions.pod:3603 ../src/guestfs-actions.pod:3617
26971 msgid "(Added in 1.11.8)"
26972 msgstr ""
26973
26974 #. type: =head2
26975 #: ../src/guestfs-actions.pod:3605
26976 msgid "guestfs_is_zero_device"
26977 msgstr ""
26978
26979 #. type: verbatim
26980 #: ../src/guestfs-actions.pod:3607
26981 #, no-wrap
26982 msgid ""
26983 " int\n"
26984 " guestfs_is_zero_device (guestfs_h *g,\n"
26985 "                         const char *device);\n"
26986 "\n"
26987 msgstr ""
26988
26989 #. type: =head2
26990 #: ../src/guestfs-actions.pod:3619
26991 msgid "guestfs_kill_subprocess"
26992 msgstr ""
26993
26994 #. type: verbatim
26995 #: ../src/guestfs-actions.pod:3621
26996 #, no-wrap
26997 msgid ""
26998 " int\n"
26999 " guestfs_kill_subprocess (guestfs_h *g);\n"
27000 "\n"
27001 msgstr ""
27002
27003 #. type: =head2
27004 #: ../src/guestfs-actions.pod:3630
27005 msgid "guestfs_launch"
27006 msgstr ""
27007
27008 #. type: verbatim
27009 #: ../src/guestfs-actions.pod:3632
27010 #, no-wrap
27011 msgid ""
27012 " int\n"
27013 " guestfs_launch (guestfs_h *g);\n"
27014 "\n"
27015 msgstr ""
27016
27017 #. type: =head2
27018 #: ../src/guestfs-actions.pod:3650
27019 msgid "guestfs_lchown"
27020 msgstr ""
27021
27022 #. type: verbatim
27023 #: ../src/guestfs-actions.pod:3652
27024 #, no-wrap
27025 msgid ""
27026 " int\n"
27027 " guestfs_lchown (guestfs_h *g,\n"
27028 "                 int owner,\n"
27029 "                 int group,\n"
27030 "                 const char *path);\n"
27031 "\n"
27032 msgstr ""
27033
27034 #. type: textblock
27035 #: ../src/guestfs-actions.pod:3658
27036 msgid ""
27037 "Change the file owner to C<owner> and group to C<group>.  This is like "
27038 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
27039 "changed, not the target."
27040 msgstr ""
27041
27042 #. type: =head2
27043 #: ../src/guestfs-actions.pod:3670
27044 msgid "guestfs_lgetxattr"
27045 msgstr ""
27046
27047 #. type: verbatim
27048 #: ../src/guestfs-actions.pod:3672
27049 #, no-wrap
27050 msgid ""
27051 " char *\n"
27052 " guestfs_lgetxattr (guestfs_h *g,\n"
27053 "                    const char *path,\n"
27054 "                    const char *name,\n"
27055 "                    size_t *size_r);\n"
27056 "\n"
27057 msgstr ""
27058
27059 #. type: textblock
27060 #: ../src/guestfs-actions.pod:3692
27061 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
27062 msgstr ""
27063
27064 #. type: =head2
27065 #: ../src/guestfs-actions.pod:3700
27066 msgid "guestfs_lgetxattrs"
27067 msgstr ""
27068
27069 #. type: verbatim
27070 #: ../src/guestfs-actions.pod:3702
27071 #, no-wrap
27072 msgid ""
27073 " struct guestfs_xattr_list *\n"
27074 " guestfs_lgetxattrs (guestfs_h *g,\n"
27075 "                     const char *path);\n"
27076 "\n"
27077 msgstr ""
27078
27079 #. type: textblock
27080 #: ../src/guestfs-actions.pod:3706
27081 msgid ""
27082 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
27083 "then it returns the extended attributes of the link itself."
27084 msgstr ""
27085
27086 #. type: =head2
27087 #: ../src/guestfs-actions.pod:3716
27088 msgid "guestfs_list_9p"
27089 msgstr ""
27090
27091 #. type: verbatim
27092 #: ../src/guestfs-actions.pod:3718
27093 #, no-wrap
27094 msgid ""
27095 " char **\n"
27096 " guestfs_list_9p (guestfs_h *g);\n"
27097 "\n"
27098 msgstr ""
27099
27100 #. type: =head2
27101 #: ../src/guestfs-actions.pod:3730
27102 msgid "guestfs_list_devices"
27103 msgstr ""
27104
27105 #. type: verbatim
27106 #: ../src/guestfs-actions.pod:3732
27107 #, no-wrap
27108 msgid ""
27109 " char **\n"
27110 " guestfs_list_devices (guestfs_h *g);\n"
27111 "\n"
27112 msgstr ""
27113
27114 #. type: =head2
27115 #: ../src/guestfs-actions.pod:3747
27116 msgid "guestfs_list_dm_devices"
27117 msgstr ""
27118
27119 #. type: verbatim
27120 #: ../src/guestfs-actions.pod:3749
27121 #, no-wrap
27122 msgid ""
27123 " char **\n"
27124 " guestfs_list_dm_devices (guestfs_h *g);\n"
27125 "\n"
27126 msgstr ""
27127
27128 #. type: textblock
27129 #: ../src/guestfs-actions.pod:3754
27130 msgid ""
27131 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
27132 "previous call to C<guestfs_luks_open>."
27133 msgstr ""
27134
27135 #. type: textblock
27136 #: ../src/guestfs-actions.pod:3757
27137 msgid ""
27138 "Device mapper devices which correspond to logical volumes are I<not> "
27139 "returned in this list.  Call C<guestfs_lvs> if you want to list logical "
27140 "volumes."
27141 msgstr ""
27142
27143 #. type: textblock
27144 #: ../src/guestfs-actions.pod:3765 ../src/guestfs-actions.pod:5221
27145 msgid "(Added in 1.11.15)"
27146 msgstr ""
27147
27148 #. type: =head2
27149 #: ../src/guestfs-actions.pod:3767
27150 msgid "guestfs_list_filesystems"
27151 msgstr ""
27152
27153 #. type: verbatim
27154 #: ../src/guestfs-actions.pod:3769
27155 #, no-wrap
27156 msgid ""
27157 " char **\n"
27158 " guestfs_list_filesystems (guestfs_h *g);\n"
27159 "\n"
27160 msgstr ""
27161
27162 #. type: textblock
27163 #: ../src/guestfs-actions.pod:3789
27164 msgid ""
27165 "This command runs other libguestfs commands, which might include "
27166 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
27167 "soon after launch and only when nothing is mounted."
27168 msgstr ""
27169
27170 #. type: textblock
27171 #: ../src/guestfs-actions.pod:3793
27172 msgid ""
27173 "Not all of the filesystems returned will be mountable.  In particular, swap "
27174 "partitions are returned in the list.  Also this command does not check that "
27175 "each filesystem found is valid and mountable, and some filesystems might be "
27176 "mountable but require special options.  Filesystems may not all belong to a "
27177 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
27178 msgstr ""
27179
27180 #. type: textblock
27181 #: ../src/guestfs-actions.pod:3807 ../src/guestfs-actions.pod:5582
27182 msgid "(Added in 1.5.15)"
27183 msgstr ""
27184
27185 #. type: =head2
27186 #: ../src/guestfs-actions.pod:3809
27187 msgid "guestfs_list_partitions"
27188 msgstr "guestfs_list_partitions"
27189
27190 #. type: verbatim
27191 #: ../src/guestfs-actions.pod:3811
27192 #, no-wrap
27193 msgid ""
27194 " char **\n"
27195 " guestfs_list_partitions (guestfs_h *g);\n"
27196 "\n"
27197 msgstr ""
27198 " char **\n"
27199 " guestfs_list_partitions (guestfs_h *g);\n"
27200 "\n"
27201
27202 #. type: textblock
27203 #: ../src/guestfs-actions.pod:3818
27204 msgid ""
27205 "This does not return logical volumes.  For that you will need to call "
27206 "C<guestfs_lvs>."
27207 msgstr ""
27208
27209 #. type: =head2
27210 #: ../src/guestfs-actions.pod:3829
27211 msgid "guestfs_ll"
27212 msgstr "guestfs_ll"
27213
27214 #. type: verbatim
27215 #: ../src/guestfs-actions.pod:3831
27216 #, no-wrap
27217 msgid ""
27218 " char *\n"
27219 " guestfs_ll (guestfs_h *g,\n"
27220 "             const char *directory);\n"
27221 "\n"
27222 msgstr ""
27223 " char *\n"
27224 " guestfs_ll (guestfs_h *g,\n"
27225 "             const char *directory);\n"
27226 "\n"
27227
27228 #. type: =head2
27229 #: ../src/guestfs-actions.pod:3846
27230 msgid "guestfs_ln"
27231 msgstr "guestfs_ln"
27232
27233 #. type: verbatim
27234 #: ../src/guestfs-actions.pod:3848
27235 #, no-wrap
27236 msgid ""
27237 " int\n"
27238 " guestfs_ln (guestfs_h *g,\n"
27239 "             const char *target,\n"
27240 "             const char *linkname);\n"
27241 "\n"
27242 msgstr ""
27243 " int\n"
27244 " guestfs_ln (guestfs_h *g,\n"
27245 "             const char *target,\n"
27246 "             const char *linkname);\n"
27247 "\n"
27248
27249 #. type: =head2
27250 #: ../src/guestfs-actions.pod:3859
27251 msgid "guestfs_ln_f"
27252 msgstr "guestfs_ln_f"
27253
27254 #. type: verbatim
27255 #: ../src/guestfs-actions.pod:3861
27256 #, no-wrap
27257 msgid ""
27258 " int\n"
27259 " guestfs_ln_f (guestfs_h *g,\n"
27260 "               const char *target,\n"
27261 "               const char *linkname);\n"
27262 "\n"
27263 msgstr ""
27264 " int\n"
27265 " guestfs_ln_f (guestfs_h *g,\n"
27266 "               const char *target,\n"
27267 "               const char *linkname);\n"
27268 "\n"
27269
27270 #. type: =head2
27271 #: ../src/guestfs-actions.pod:3873
27272 msgid "guestfs_ln_s"
27273 msgstr "guestfs_ln_s"
27274
27275 #. type: verbatim
27276 #: ../src/guestfs-actions.pod:3875
27277 #, no-wrap
27278 msgid ""
27279 " int\n"
27280 " guestfs_ln_s (guestfs_h *g,\n"
27281 "               const char *target,\n"
27282 "               const char *linkname);\n"
27283 "\n"
27284 msgstr ""
27285 " int\n"
27286 " guestfs_ln_s (guestfs_h *g,\n"
27287 "               const char *target,\n"
27288 "               const char *linkname);\n"
27289 "\n"
27290
27291 #. type: =head2
27292 #: ../src/guestfs-actions.pod:3886
27293 msgid "guestfs_ln_sf"
27294 msgstr "guestfs_ln_sf"
27295
27296 #. type: verbatim
27297 #: ../src/guestfs-actions.pod:3888
27298 #, no-wrap
27299 msgid ""
27300 " int\n"
27301 " guestfs_ln_sf (guestfs_h *g,\n"
27302 "                const char *target,\n"
27303 "                const char *linkname);\n"
27304 "\n"
27305 msgstr ""
27306 " int\n"
27307 " guestfs_ln_sf (guestfs_h *g,\n"
27308 "                const char *target,\n"
27309 "                const char *linkname);\n"
27310 "\n"
27311
27312 #. type: =head2
27313 #: ../src/guestfs-actions.pod:3900
27314 msgid "guestfs_lremovexattr"
27315 msgstr "guestfs_lremovexattr"
27316
27317 #. type: verbatim
27318 #: ../src/guestfs-actions.pod:3902
27319 #, no-wrap
27320 msgid ""
27321 " int\n"
27322 " guestfs_lremovexattr (guestfs_h *g,\n"
27323 "                       const char *xattr,\n"
27324 "                       const char *path);\n"
27325 "\n"
27326 msgstr ""
27327 " int\n"
27328 " guestfs_lremovexattr (guestfs_h *g,\n"
27329 "                       const char *xattr,\n"
27330 "                       const char *path);\n"
27331 "\n"
27332
27333 #. type: textblock
27334 #: ../src/guestfs-actions.pod:3907
27335 msgid ""
27336 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
27337 "link, then it removes an extended attribute of the link itself."
27338 msgstr ""
27339
27340 #. type: =head2
27341 #: ../src/guestfs-actions.pod:3915
27342 msgid "guestfs_ls"
27343 msgstr "guestfs_ls"
27344
27345 #. type: verbatim
27346 #: ../src/guestfs-actions.pod:3917
27347 #, no-wrap
27348 msgid ""
27349 " char **\n"
27350 " guestfs_ls (guestfs_h *g,\n"
27351 "             const char *directory);\n"
27352 "\n"
27353 msgstr ""
27354 " char **\n"
27355 " guestfs_ls (guestfs_h *g,\n"
27356 "             const char *directory);\n"
27357 "\n"
27358
27359 #. type: textblock
27360 #: ../src/guestfs-actions.pod:3925
27361 msgid ""
27362 "This command is mostly useful for interactive sessions.  Programs should "
27363 "probably use C<guestfs_readdir> instead."
27364 msgstr ""
27365
27366 #. type: =head2
27367 #: ../src/guestfs-actions.pod:3934
27368 msgid "guestfs_lsetxattr"
27369 msgstr "guestfs_lsetxattr"
27370
27371 #. type: verbatim
27372 #: ../src/guestfs-actions.pod:3936
27373 #, no-wrap
27374 msgid ""
27375 " int\n"
27376 " guestfs_lsetxattr (guestfs_h *g,\n"
27377 "                    const char *xattr,\n"
27378 "                    const char *val,\n"
27379 "                    int vallen,\n"
27380 "                    const char *path);\n"
27381 "\n"
27382 msgstr ""
27383 " int\n"
27384 " guestfs_lsetxattr (guestfs_h *g,\n"
27385 "                    const char *xattr,\n"
27386 "                    const char *val,\n"
27387 "                    int vallen,\n"
27388 "                    const char *path);\n"
27389 "\n"
27390
27391 #. type: textblock
27392 #: ../src/guestfs-actions.pod:3943
27393 msgid ""
27394 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
27395 "then it sets an extended attribute of the link itself."
27396 msgstr ""
27397
27398 #. type: =head2
27399 #: ../src/guestfs-actions.pod:3951
27400 msgid "guestfs_lstat"
27401 msgstr "guestfs_lstat"
27402
27403 #. type: verbatim
27404 #: ../src/guestfs-actions.pod:3953
27405 #, no-wrap
27406 msgid ""
27407 " struct guestfs_stat *\n"
27408 " guestfs_lstat (guestfs_h *g,\n"
27409 "                const char *path);\n"
27410 "\n"
27411 msgstr ""
27412 " struct guestfs_stat *\n"
27413 " guestfs_lstat (guestfs_h *g,\n"
27414 "                const char *path);\n"
27415 "\n"
27416
27417 #. type: textblock
27418 #: ../src/guestfs-actions.pod:3959
27419 msgid ""
27420 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
27421 "link, then the link is stat-ed, not the file it refers to."
27422 msgstr ""
27423
27424 #. type: textblock
27425 #: ../src/guestfs-actions.pod:3965 ../src/guestfs-actions.pod:6740
27426 msgid ""
27427 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
27428 "error.  I<The caller must call C<guestfs_free_stat> after use>."
27429 msgstr ""
27430
27431 #. type: textblock
27432 #: ../src/guestfs-actions.pod:3969 ../src/guestfs-actions.pod:6744
27433 #: ../src/guestfs-actions.pod:6762 ../src/guestfs-actions.pod:7143
27434 msgid "(Added in 0.9.2)"
27435 msgstr "(Додано у 0.9.2)"
27436
27437 #. type: =head2
27438 #: ../src/guestfs-actions.pod:3971
27439 msgid "guestfs_lstatlist"
27440 msgstr "guestfs_lstatlist"
27441
27442 #. type: verbatim
27443 #: ../src/guestfs-actions.pod:3973
27444 #, no-wrap
27445 msgid ""
27446 " struct guestfs_stat_list *\n"
27447 " guestfs_lstatlist (guestfs_h *g,\n"
27448 "                    const char *path,\n"
27449 "                    char *const *names);\n"
27450 "\n"
27451 msgstr ""
27452 " struct guestfs_stat_list *\n"
27453 " guestfs_lstatlist (guestfs_h *g,\n"
27454 "                    const char *path,\n"
27455 "                    char *const *names);\n"
27456 "\n"
27457
27458 #. type: textblock
27459 #: ../src/guestfs-actions.pod:3978
27460 msgid ""
27461 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
27462 "files, where all files are in the directory C<path>.  C<names> is the list "
27463 "of files from this directory."
27464 msgstr ""
27465
27466 #. type: textblock
27467 #: ../src/guestfs-actions.pod:3987
27468 msgid ""
27469 "This call is intended for programs that want to efficiently list a directory "
27470 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
27471 "for a similarly efficient call for getting extended attributes.  Very long "
27472 "directory listings might cause the protocol message size to be exceeded, "
27473 "causing this call to fail.  The caller must split up such requests into "
27474 "smaller groups of names."
27475 msgstr ""
27476
27477 #. type: textblock
27478 #: ../src/guestfs-actions.pod:3995
27479 msgid ""
27480 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
27481 "an error.  I<The caller must call C<guestfs_free_stat_list> after use>."
27482 msgstr ""
27483
27484 #. type: =head2
27485 #: ../src/guestfs-actions.pod:4001
27486 msgid "guestfs_luks_add_key"
27487 msgstr "guestfs_luks_add_key"
27488
27489 #. type: verbatim
27490 #: ../src/guestfs-actions.pod:4003
27491 #, no-wrap
27492 msgid ""
27493 " int\n"
27494 " guestfs_luks_add_key (guestfs_h *g,\n"
27495 "                       const char *device,\n"
27496 "                       const char *key,\n"
27497 "                       const char *newkey,\n"
27498 "                       int keyslot);\n"
27499 "\n"
27500 msgstr ""
27501 " int\n"
27502 " guestfs_luks_add_key (guestfs_h *g,\n"
27503 "                       const char *device,\n"
27504 "                       const char *key,\n"
27505 "                       const char *newkey,\n"
27506 "                       int keyslot);\n"
27507 "\n"
27508
27509 #. type: textblock
27510 #: ../src/guestfs-actions.pod:4015
27511 msgid ""
27512 "Note that if C<keyslot> already contains a key, then this command will "
27513 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
27514 msgstr ""
27515
27516 #. type: textblock
27517 #: ../src/guestfs-actions.pod:4021 ../src/guestfs-actions.pod:4061
27518 #: ../src/guestfs-actions.pod:4084 ../src/guestfs-actions.pod:4104
27519 #: ../src/guestfs-actions.pod:4139 ../src/guestfs-actions.pod:4158
27520 msgid ""
27521 "This function takes a key or passphrase parameter which could contain "
27522 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
27523 "information."
27524 msgstr ""
27525
27526 #. type: textblock
27527 #: ../src/guestfs-actions.pod:4025 ../src/guestfs-actions.pod:4065
27528 #: ../src/guestfs-actions.pod:4088 ../src/guestfs-actions.pod:4108
27529 msgid "(Added in 1.5.2)"
27530 msgstr "(Додано у 1.5.2)"
27531
27532 #. type: =head2
27533 #: ../src/guestfs-actions.pod:4027
27534 msgid "guestfs_luks_close"
27535 msgstr "guestfs_luks_close"
27536
27537 #. type: verbatim
27538 #: ../src/guestfs-actions.pod:4029
27539 #, no-wrap
27540 msgid ""
27541 " int\n"
27542 " guestfs_luks_close (guestfs_h *g,\n"
27543 "                     const char *device);\n"
27544 "\n"
27545 msgstr ""
27546 " int\n"
27547 " guestfs_luks_close (guestfs_h *g,\n"
27548 "                     const char *device);\n"
27549 "\n"
27550
27551 #. type: textblock
27552 #: ../src/guestfs-actions.pod:4033
27553 msgid ""
27554 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
27555 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
27556 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
27557 "underlying block device."
27558 msgstr ""
27559
27560 #. type: textblock
27561 #: ../src/guestfs-actions.pod:4041 ../src/guestfs-actions.pod:4143
27562 #: ../src/guestfs-actions.pod:4162 ../src/guestfs-actions.pod:4212
27563 #: ../src/guestfs-actions.pod:4260
27564 msgid "(Added in 1.5.1)"
27565 msgstr "(Додано у 1.5.1)"
27566
27567 #. type: =head2
27568 #: ../src/guestfs-actions.pod:4043
27569 msgid "guestfs_luks_format"
27570 msgstr "guestfs_luks_format"
27571
27572 #. type: verbatim
27573 #: ../src/guestfs-actions.pod:4045
27574 #, no-wrap
27575 msgid ""
27576 " int\n"
27577 " guestfs_luks_format (guestfs_h *g,\n"
27578 "                      const char *device,\n"
27579 "                      const char *key,\n"
27580 "                      int keyslot);\n"
27581 "\n"
27582 msgstr ""
27583 " int\n"
27584 " guestfs_luks_format (guestfs_h *g,\n"
27585 "                      const char *device,\n"
27586 "                      const char *key,\n"
27587 "                      int keyslot);\n"
27588 "\n"
27589
27590 #. type: =head2
27591 #: ../src/guestfs-actions.pod:4067
27592 msgid "guestfs_luks_format_cipher"
27593 msgstr "guestfs_luks_format_cipher"
27594
27595 #. type: verbatim
27596 #: ../src/guestfs-actions.pod:4069
27597 #, no-wrap
27598 msgid ""
27599 " int\n"
27600 " guestfs_luks_format_cipher (guestfs_h *g,\n"
27601 "                             const char *device,\n"
27602 "                             const char *key,\n"
27603 "                             int keyslot,\n"
27604 "                             const char *cipher);\n"
27605 "\n"
27606 msgstr ""
27607 " int\n"
27608 " guestfs_luks_format_cipher (guestfs_h *g,\n"
27609 "                             const char *device,\n"
27610 "                             const char *key,\n"
27611 "                             int keyslot,\n"
27612 "                             const char *cipher);\n"
27613 "\n"
27614
27615 #. type: textblock
27616 #: ../src/guestfs-actions.pod:4076
27617 msgid ""
27618 "This command is the same as C<guestfs_luks_format> but it also allows you to "
27619 "set the C<cipher> used."
27620 msgstr ""
27621
27622 #. type: =head2
27623 #: ../src/guestfs-actions.pod:4090
27624 msgid "guestfs_luks_kill_slot"
27625 msgstr "guestfs_luks_kill_slot"
27626
27627 #. type: verbatim
27628 #: ../src/guestfs-actions.pod:4092
27629 #, no-wrap
27630 msgid ""
27631 " int\n"
27632 " guestfs_luks_kill_slot (guestfs_h *g,\n"
27633 "                         const char *device,\n"
27634 "                         const char *key,\n"
27635 "                         int keyslot);\n"
27636 "\n"
27637 msgstr ""
27638 " int\n"
27639 " guestfs_luks_kill_slot (guestfs_h *g,\n"
27640 "                         const char *device,\n"
27641 "                         const char *key,\n"
27642 "                         int keyslot);\n"
27643 "\n"
27644
27645 #. type: =head2
27646 #: ../src/guestfs-actions.pod:4110
27647 msgid "guestfs_luks_open"
27648 msgstr "guestfs_luks_open"
27649
27650 #. type: verbatim
27651 #: ../src/guestfs-actions.pod:4112
27652 #, no-wrap
27653 msgid ""
27654 " int\n"
27655 " guestfs_luks_open (guestfs_h *g,\n"
27656 "                    const char *device,\n"
27657 "                    const char *key,\n"
27658 "                    const char *mapname);\n"
27659 "\n"
27660 msgstr ""
27661 " int\n"
27662 " guestfs_luks_open (guestfs_h *g,\n"
27663 "                    const char *device,\n"
27664 "                    const char *key,\n"
27665 "                    const char *mapname);\n"
27666 "\n"
27667
27668 #. type: textblock
27669 #: ../src/guestfs-actions.pod:4130
27670 msgid ""
27671 "If this block device contains LVM volume groups, then calling "
27672 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
27673 "visible."
27674 msgstr ""
27675
27676 #. type: textblock
27677 #: ../src/guestfs-actions.pod:4134
27678 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
27679 msgstr ""
27680
27681 #. type: =head2
27682 #: ../src/guestfs-actions.pod:4145
27683 msgid "guestfs_luks_open_ro"
27684 msgstr "guestfs_luks_open_ro"
27685
27686 #. type: verbatim
27687 #: ../src/guestfs-actions.pod:4147
27688 #, no-wrap
27689 msgid ""
27690 " int\n"
27691 " guestfs_luks_open_ro (guestfs_h *g,\n"
27692 "                       const char *device,\n"
27693 "                       const char *key,\n"
27694 "                       const char *mapname);\n"
27695 "\n"
27696 msgstr ""
27697 " int\n"
27698 " guestfs_luks_open_ro (guestfs_h *g,\n"
27699 "                       const char *device,\n"
27700 "                       const char *key,\n"
27701 "                       const char *mapname);\n"
27702 "\n"
27703
27704 #. type: textblock
27705 #: ../src/guestfs-actions.pod:4153
27706 msgid ""
27707 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
27708 "created."
27709 msgstr ""
27710
27711 #. type: =head2
27712 #: ../src/guestfs-actions.pod:4164
27713 msgid "guestfs_lvcreate"
27714 msgstr "guestfs_lvcreate"
27715
27716 #. type: verbatim
27717 #: ../src/guestfs-actions.pod:4166
27718 #, no-wrap
27719 msgid ""
27720 " int\n"
27721 " guestfs_lvcreate (guestfs_h *g,\n"
27722 "                   const char *logvol,\n"
27723 "                   const char *volgroup,\n"
27724 "                   int mbytes);\n"
27725 "\n"
27726 msgstr ""
27727 " int\n"
27728 " guestfs_lvcreate (guestfs_h *g,\n"
27729 "                   const char *logvol,\n"
27730 "                   const char *volgroup,\n"
27731 "                   int mbytes);\n"
27732 "\n"
27733
27734 #. type: =head2
27735 #: ../src/guestfs-actions.pod:4179
27736 msgid "guestfs_lvm_canonical_lv_name"
27737 msgstr "guestfs_lvm_canonical_lv_name"
27738
27739 #. type: verbatim
27740 #: ../src/guestfs-actions.pod:4181
27741 #, no-wrap
27742 msgid ""
27743 " char *\n"
27744 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
27745 "                                const char *lvname);\n"
27746 "\n"
27747 msgstr ""
27748 " char *\n"
27749 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
27750 "                                const char *lvname);\n"
27751 "\n"
27752
27753 #. type: textblock
27754 #: ../src/guestfs-actions.pod:4192
27755 msgid "See also C<guestfs_is_lv>."
27756 msgstr ""
27757
27758 #. type: textblock
27759 #: ../src/guestfs-actions.pod:4197
27760 msgid "(Added in 1.5.24)"
27761 msgstr "(Додано у 1.5.24)"
27762
27763 #. type: =head2
27764 #: ../src/guestfs-actions.pod:4199
27765 msgid "guestfs_lvm_clear_filter"
27766 msgstr "guestfs_lvm_clear_filter"
27767
27768 #. type: verbatim
27769 #: ../src/guestfs-actions.pod:4201
27770 #, no-wrap
27771 msgid ""
27772 " int\n"
27773 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
27774 "\n"
27775 msgstr ""
27776 " int\n"
27777 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
27778 "\n"
27779
27780 #. type: textblock
27781 #: ../src/guestfs-actions.pod:4204
27782 msgid ""
27783 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
27784 "see every block device."
27785 msgstr ""
27786
27787 #. type: =head2
27788 #: ../src/guestfs-actions.pod:4214
27789 msgid "guestfs_lvm_remove_all"
27790 msgstr "guestfs_lvm_remove_all"
27791
27792 #. type: verbatim
27793 #: ../src/guestfs-actions.pod:4216
27794 #, no-wrap
27795 msgid ""
27796 " int\n"
27797 " guestfs_lvm_remove_all (guestfs_h *g);\n"
27798 "\n"
27799 msgstr ""
27800 " int\n"
27801 " guestfs_lvm_remove_all (guestfs_h *g);\n"
27802 "\n"
27803
27804 #. type: =head2
27805 #: ../src/guestfs-actions.pod:4229
27806 msgid "guestfs_lvm_set_filter"
27807 msgstr "guestfs_lvm_set_filter"
27808
27809 #. type: verbatim
27810 #: ../src/guestfs-actions.pod:4231
27811 #, no-wrap
27812 msgid ""
27813 " int\n"
27814 " guestfs_lvm_set_filter (guestfs_h *g,\n"
27815 "                         char *const *devices);\n"
27816 "\n"
27817 msgstr ""
27818 " int\n"
27819 " guestfs_lvm_set_filter (guestfs_h *g,\n"
27820 "                         char *const *devices);\n"
27821 "\n"
27822
27823 #. type: =head2
27824 #: ../src/guestfs-actions.pod:4262
27825 msgid "guestfs_lvremove"
27826 msgstr "guestfs_lvremove"
27827
27828 #. type: verbatim
27829 #: ../src/guestfs-actions.pod:4264
27830 #, no-wrap
27831 msgid ""
27832 " int\n"
27833 " guestfs_lvremove (guestfs_h *g,\n"
27834 "                   const char *device);\n"
27835 "\n"
27836 msgstr ""
27837 " int\n"
27838 " guestfs_lvremove (guestfs_h *g,\n"
27839 "                   const char *device);\n"
27840 "\n"
27841
27842 #. type: textblock
27843 #: ../src/guestfs-actions.pod:4276 ../src/guestfs-actions.pod:5679
27844 #: ../src/guestfs-actions.pod:7513
27845 msgid "(Added in 1.0.13)"
27846 msgstr "(Додано у 1.0.13)"
27847
27848 #. type: =head2
27849 #: ../src/guestfs-actions.pod:4278
27850 msgid "guestfs_lvrename"
27851 msgstr "guestfs_lvrename"
27852
27853 #. type: verbatim
27854 #: ../src/guestfs-actions.pod:4280
27855 #, no-wrap
27856 msgid ""
27857 " int\n"
27858 " guestfs_lvrename (guestfs_h *g,\n"
27859 "                   const char *logvol,\n"
27860 "                   const char *newlogvol);\n"
27861 "\n"
27862 msgstr ""
27863 " int\n"
27864 " guestfs_lvrename (guestfs_h *g,\n"
27865 "                   const char *logvol,\n"
27866 "                   const char *newlogvol);\n"
27867 "\n"
27868
27869 #. type: textblock
27870 #: ../src/guestfs-actions.pod:4289 ../src/guestfs-actions.pod:7526
27871 msgid "(Added in 1.0.83)"
27872 msgstr "(Додано у 1.0.83)"
27873
27874 #. type: =head2
27875 #: ../src/guestfs-actions.pod:4291
27876 msgid "guestfs_lvresize"
27877 msgstr "guestfs_lvresize"
27878
27879 #. type: verbatim
27880 #: ../src/guestfs-actions.pod:4293
27881 #, no-wrap
27882 msgid ""
27883 " int\n"
27884 " guestfs_lvresize (guestfs_h *g,\n"
27885 "                   const char *device,\n"
27886 "                   int mbytes);\n"
27887 "\n"
27888 msgstr ""
27889 " int\n"
27890 " guestfs_lvresize (guestfs_h *g,\n"
27891 "                   const char *device,\n"
27892 "                   int mbytes);\n"
27893 "\n"
27894
27895 #. type: =head2
27896 #: ../src/guestfs-actions.pod:4306
27897 msgid "guestfs_lvresize_free"
27898 msgstr "guestfs_lvresize_free"
27899
27900 #. type: verbatim
27901 #: ../src/guestfs-actions.pod:4308
27902 #, no-wrap
27903 msgid ""
27904 " int\n"
27905 " guestfs_lvresize_free (guestfs_h *g,\n"
27906 "                        const char *lv,\n"
27907 "                        int percent);\n"
27908 "\n"
27909 msgstr ""
27910 " int\n"
27911 " guestfs_lvresize_free (guestfs_h *g,\n"
27912 "                        const char *lv,\n"
27913 "                        int percent);\n"
27914 "\n"
27915
27916 #. type: textblock
27917 #: ../src/guestfs-actions.pod:4321
27918 msgid "(Added in 1.3.3)"
27919 msgstr "(Додано у 1.3.3)"
27920
27921 #. type: =head2
27922 #: ../src/guestfs-actions.pod:4323
27923 msgid "guestfs_lvs"
27924 msgstr "guestfs_lvs"
27925
27926 #. type: verbatim
27927 #: ../src/guestfs-actions.pod:4325
27928 #, no-wrap
27929 msgid ""
27930 " char **\n"
27931 " guestfs_lvs (guestfs_h *g);\n"
27932 "\n"
27933 msgstr ""
27934 " char **\n"
27935 " guestfs_lvs (guestfs_h *g);\n"
27936 "\n"
27937
27938 #. type: textblock
27939 #: ../src/guestfs-actions.pod:4334
27940 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
27941 msgstr ""
27942
27943 #. type: =head2
27944 #: ../src/guestfs-actions.pod:4342
27945 msgid "guestfs_lvs_full"
27946 msgstr "guestfs_lvs_full"
27947
27948 #. type: verbatim
27949 #: ../src/guestfs-actions.pod:4344
27950 #, no-wrap
27951 msgid ""
27952 " struct guestfs_lvm_lv_list *\n"
27953 " guestfs_lvs_full (guestfs_h *g);\n"
27954 "\n"
27955 msgstr ""
27956 " struct guestfs_lvm_lv_list *\n"
27957 " guestfs_lvs_full (guestfs_h *g);\n"
27958 "\n"
27959
27960 #. type: textblock
27961 #: ../src/guestfs-actions.pod:4350
27962 msgid ""
27963 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
27964 "was an error.  I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
27965 msgstr ""
27966
27967 #. type: =head2
27968 #: ../src/guestfs-actions.pod:4356
27969 msgid "guestfs_lvuuid"
27970 msgstr "guestfs_lvuuid"
27971
27972 #. type: verbatim
27973 #: ../src/guestfs-actions.pod:4358
27974 #, no-wrap
27975 msgid ""
27976 " char *\n"
27977 " guestfs_lvuuid (guestfs_h *g,\n"
27978 "                 const char *device);\n"
27979 "\n"
27980 msgstr ""
27981 " char *\n"
27982 " guestfs_lvuuid (guestfs_h *g,\n"
27983 "                 const char *device);\n"
27984 "\n"
27985
27986 #. type: =head2
27987 #: ../src/guestfs-actions.pod:4369
27988 msgid "guestfs_lxattrlist"
27989 msgstr "guestfs_lxattrlist"
27990
27991 #. type: verbatim
27992 #: ../src/guestfs-actions.pod:4371
27993 #, no-wrap
27994 msgid ""
27995 " struct guestfs_xattr_list *\n"
27996 " guestfs_lxattrlist (guestfs_h *g,\n"
27997 "                     const char *path,\n"
27998 "                     char *const *names);\n"
27999 "\n"
28000 msgstr ""
28001 " struct guestfs_xattr_list *\n"
28002 " guestfs_lxattrlist (guestfs_h *g,\n"
28003 "                     const char *path,\n"
28004 "                     char *const *names);\n"
28005 "\n"
28006
28007 #. type: textblock
28008 #: ../src/guestfs-actions.pod:4390
28009 msgid ""
28010 "This call is intended for programs that want to efficiently list a directory "
28011 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
28012 "a similarly efficient call for getting standard stats.  Very long directory "
28013 "listings might cause the protocol message size to be exceeded, causing this "
28014 "call to fail.  The caller must split up such requests into smaller groups of "
28015 "names."
28016 msgstr ""
28017
28018 #. type: =head2
28019 #: ../src/guestfs-actions.pod:4404
28020 msgid "guestfs_mkdir"
28021 msgstr "guestfs_mkdir"
28022
28023 #. type: verbatim
28024 #: ../src/guestfs-actions.pod:4406
28025 #, no-wrap
28026 msgid ""
28027 " int\n"
28028 " guestfs_mkdir (guestfs_h *g,\n"
28029 "                const char *path);\n"
28030 "\n"
28031 msgstr ""
28032 " int\n"
28033 " guestfs_mkdir (guestfs_h *g,\n"
28034 "                const char *path);\n"
28035 "\n"
28036
28037 #. type: =head2
28038 #: ../src/guestfs-actions.pod:4416
28039 msgid "guestfs_mkdir_mode"
28040 msgstr "guestfs_mkdir_mode"
28041
28042 #. type: verbatim
28043 #: ../src/guestfs-actions.pod:4418
28044 #, no-wrap
28045 msgid ""
28046 " int\n"
28047 " guestfs_mkdir_mode (guestfs_h *g,\n"
28048 "                     const char *path,\n"
28049 "                     int mode);\n"
28050 "\n"
28051 msgstr ""
28052 " int\n"
28053 " guestfs_mkdir_mode (guestfs_h *g,\n"
28054 "                     const char *path,\n"
28055 "                     int mode);\n"
28056 "\n"
28057
28058 #. type: textblock
28059 #: ../src/guestfs-actions.pod:4430
28060 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
28061 msgstr ""
28062
28063 #. type: =head2
28064 #: ../src/guestfs-actions.pod:4436
28065 msgid "guestfs_mkdir_p"
28066 msgstr "guestfs_mkdir_p"
28067
28068 #. type: verbatim
28069 #: ../src/guestfs-actions.pod:4438
28070 #, no-wrap
28071 msgid ""
28072 " int\n"
28073 " guestfs_mkdir_p (guestfs_h *g,\n"
28074 "                  const char *path);\n"
28075 "\n"
28076 msgstr ""
28077 " int\n"
28078 " guestfs_mkdir_p (guestfs_h *g,\n"
28079 "                  const char *path);\n"
28080 "\n"
28081
28082 #. type: =head2
28083 #: ../src/guestfs-actions.pod:4449
28084 msgid "guestfs_mkdtemp"
28085 msgstr "guestfs_mkdtemp"
28086
28087 #. type: verbatim
28088 #: ../src/guestfs-actions.pod:4451
28089 #, no-wrap
28090 msgid ""
28091 " char *\n"
28092 " guestfs_mkdtemp (guestfs_h *g,\n"
28093 "                  const char *template);\n"
28094 "\n"
28095 msgstr ""
28096 " char *\n"
28097 " guestfs_mkdtemp (guestfs_h *g,\n"
28098 "                  const char *template);\n"
28099 "\n"
28100
28101 #. type: =head2
28102 #: ../src/guestfs-actions.pod:4479
28103 msgid "guestfs_mke2fs_J"
28104 msgstr "guestfs_mke2fs_J"
28105
28106 #. type: verbatim
28107 #: ../src/guestfs-actions.pod:4481
28108 #, no-wrap
28109 msgid ""
28110 " int\n"
28111 " guestfs_mke2fs_J (guestfs_h *g,\n"
28112 "                   const char *fstype,\n"
28113 "                   int blocksize,\n"
28114 "                   const char *device,\n"
28115 "                   const char *journal);\n"
28116 "\n"
28117 msgstr ""
28118 " int\n"
28119 " guestfs_mke2fs_J (guestfs_h *g,\n"
28120 "                   const char *fstype,\n"
28121 "                   int blocksize,\n"
28122 "                   const char *device,\n"
28123 "                   const char *journal);\n"
28124 "\n"
28125
28126 #. type: textblock
28127 #: ../src/guestfs-actions.pod:4494
28128 msgid "See also C<guestfs_mke2journal>."
28129 msgstr ""
28130
28131 #. type: textblock
28132 #: ../src/guestfs-actions.pod:4498 ../src/guestfs-actions.pod:4516
28133 #: ../src/guestfs-actions.pod:4534 ../src/guestfs-actions.pod:4550
28134 #: ../src/guestfs-actions.pod:4564 ../src/guestfs-actions.pod:4578
28135 #: ../src/guestfs-actions.pod:4637 ../src/guestfs-actions.pod:4914
28136 msgid "(Added in 1.0.68)"
28137 msgstr "(Додано у 1.0.68)"
28138
28139 #. type: =head2
28140 #: ../src/guestfs-actions.pod:4500
28141 msgid "guestfs_mke2fs_JL"
28142 msgstr "guestfs_mke2fs_JL"
28143
28144 #. type: verbatim
28145 #: ../src/guestfs-actions.pod:4502
28146 #, no-wrap
28147 msgid ""
28148 " int\n"
28149 " guestfs_mke2fs_JL (guestfs_h *g,\n"
28150 "                    const char *fstype,\n"
28151 "                    int blocksize,\n"
28152 "                    const char *device,\n"
28153 "                    const char *label);\n"
28154 "\n"
28155 msgstr ""
28156 " int\n"
28157 " guestfs_mke2fs_JL (guestfs_h *g,\n"
28158 "                    const char *fstype,\n"
28159 "                    int blocksize,\n"
28160 "                    const char *device,\n"
28161 "                    const char *label);\n"
28162 "\n"
28163
28164 #. type: textblock
28165 #: ../src/guestfs-actions.pod:4512
28166 msgid "See also C<guestfs_mke2journal_L>."
28167 msgstr ""
28168
28169 #. type: =head2
28170 #: ../src/guestfs-actions.pod:4518
28171 msgid "guestfs_mke2fs_JU"
28172 msgstr "guestfs_mke2fs_JU"
28173
28174 #. type: verbatim
28175 #: ../src/guestfs-actions.pod:4520
28176 #, no-wrap
28177 msgid ""
28178 " int\n"
28179 " guestfs_mke2fs_JU (guestfs_h *g,\n"
28180 "                    const char *fstype,\n"
28181 "                    int blocksize,\n"
28182 "                    const char *device,\n"
28183 "                    const char *uuid);\n"
28184 "\n"
28185 msgstr ""
28186 " int\n"
28187 " guestfs_mke2fs_JU (guestfs_h *g,\n"
28188 "                    const char *fstype,\n"
28189 "                    int blocksize,\n"
28190 "                    const char *device,\n"
28191 "                    const char *uuid);\n"
28192 "\n"
28193
28194 #. type: textblock
28195 #: ../src/guestfs-actions.pod:4530
28196 msgid "See also C<guestfs_mke2journal_U>."
28197 msgstr ""
28198
28199 #. type: =head2
28200 #: ../src/guestfs-actions.pod:4536
28201 msgid "guestfs_mke2journal"
28202 msgstr "guestfs_mke2journal"
28203
28204 #. type: verbatim
28205 #: ../src/guestfs-actions.pod:4538
28206 #, no-wrap
28207 msgid ""
28208 " int\n"
28209 " guestfs_mke2journal (guestfs_h *g,\n"
28210 "                      int blocksize,\n"
28211 "                      const char *device);\n"
28212 "\n"
28213 msgstr ""
28214 " int\n"
28215 " guestfs_mke2journal (guestfs_h *g,\n"
28216 "                      int blocksize,\n"
28217 "                      const char *device);\n"
28218 "\n"
28219
28220 #. type: =head2
28221 #: ../src/guestfs-actions.pod:4552
28222 msgid "guestfs_mke2journal_L"
28223 msgstr "guestfs_mke2journal_L"
28224
28225 #. type: verbatim
28226 #: ../src/guestfs-actions.pod:4554
28227 #, no-wrap
28228 msgid ""
28229 " int\n"
28230 " guestfs_mke2journal_L (guestfs_h *g,\n"
28231 "                        int blocksize,\n"
28232 "                        const char *label,\n"
28233 "                        const char *device);\n"
28234 "\n"
28235 msgstr ""
28236 " int\n"
28237 " guestfs_mke2journal_L (guestfs_h *g,\n"
28238 "                        int blocksize,\n"
28239 "                        const char *label,\n"
28240 "                        const char *device);\n"
28241 "\n"
28242
28243 #. type: =head2
28244 #: ../src/guestfs-actions.pod:4566
28245 msgid "guestfs_mke2journal_U"
28246 msgstr "guestfs_mke2journal_U"
28247
28248 #. type: verbatim
28249 #: ../src/guestfs-actions.pod:4568
28250 #, no-wrap
28251 msgid ""
28252 " int\n"
28253 " guestfs_mke2journal_U (guestfs_h *g,\n"
28254 "                        int blocksize,\n"
28255 "                        const char *uuid,\n"
28256 "                        const char *device);\n"
28257 "\n"
28258 msgstr ""
28259 " int\n"
28260 " guestfs_mke2journal_U (guestfs_h *g,\n"
28261 "                        int blocksize,\n"
28262 "                        const char *uuid,\n"
28263 "                        const char *device);\n"
28264 "\n"
28265
28266 #. type: =head2
28267 #: ../src/guestfs-actions.pod:4580
28268 msgid "guestfs_mkfifo"
28269 msgstr "guestfs_mkfifo"
28270
28271 #. type: verbatim
28272 #: ../src/guestfs-actions.pod:4582
28273 #, no-wrap
28274 msgid ""
28275 " int\n"
28276 " guestfs_mkfifo (guestfs_h *g,\n"
28277 "                 int mode,\n"
28278 "                 const char *path);\n"
28279 "\n"
28280 msgstr ""
28281 " int\n"
28282 " guestfs_mkfifo (guestfs_h *g,\n"
28283 "                 int mode,\n"
28284 "                 const char *path);\n"
28285 "\n"
28286
28287 #. type: textblock
28288 #: ../src/guestfs-actions.pod:4587
28289 msgid ""
28290 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
28291 "is just a convenient wrapper around C<guestfs_mknod>."
28292 msgstr ""
28293
28294 #. type: =head2
28295 #: ../src/guestfs-actions.pod:4597
28296 msgid "guestfs_mkfs"
28297 msgstr "guestfs_mkfs"
28298
28299 #. type: verbatim
28300 #: ../src/guestfs-actions.pod:4599
28301 #, no-wrap
28302 msgid ""
28303 " int\n"
28304 " guestfs_mkfs (guestfs_h *g,\n"
28305 "               const char *fstype,\n"
28306 "               const char *device);\n"
28307 "\n"
28308 msgstr ""
28309 " int\n"
28310 " guestfs_mkfs (guestfs_h *g,\n"
28311 "               const char *fstype,\n"
28312 "               const char *device);\n"
28313 "\n"
28314
28315 #. type: =head2
28316 #: ../src/guestfs-actions.pod:4612
28317 msgid "guestfs_mkfs_b"
28318 msgstr "guestfs_mkfs_b"
28319
28320 #. type: verbatim
28321 #: ../src/guestfs-actions.pod:4614
28322 #, no-wrap
28323 msgid ""
28324 " int\n"
28325 " guestfs_mkfs_b (guestfs_h *g,\n"
28326 "                 const char *fstype,\n"
28327 "                 int blocksize,\n"
28328 "                 const char *device);\n"
28329 "\n"
28330 msgstr ""
28331 " int\n"
28332 " guestfs_mkfs_b (guestfs_h *g,\n"
28333 "                 const char *fstype,\n"
28334 "                 int blocksize,\n"
28335 "                 const char *device);\n"
28336 "\n"
28337
28338 #. type: textblock
28339 #: ../src/guestfs-actions.pod:4620
28340 msgid ""
28341 "I<This function is deprecated.> In new code, use the L</guestfs_mkfs_opts> "
28342 "call instead."
28343 msgstr ""
28344
28345 #. type: textblock
28346 #: ../src/guestfs-actions.pod:4627
28347 msgid ""
28348 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
28349 "block size of the resulting filesystem.  Supported block sizes depend on the "
28350 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
28351 msgstr ""
28352
28353 #. type: =head2
28354 #: ../src/guestfs-actions.pod:4639
28355 msgid "guestfs_mkfs_opts"
28356 msgstr "guestfs_mkfs_opts"
28357
28358 #. type: verbatim
28359 #: ../src/guestfs-actions.pod:4641
28360 #, no-wrap
28361 msgid ""
28362 " int\n"
28363 " guestfs_mkfs_opts (guestfs_h *g,\n"
28364 "                    const char *fstype,\n"
28365 "                    const char *device,\n"
28366 "                    ...);\n"
28367 "\n"
28368 msgstr ""
28369 " int\n"
28370 " guestfs_mkfs_opts (guestfs_h *g,\n"
28371 "                    const char *fstype,\n"
28372 "                    const char *device,\n"
28373 "                    ...);\n"
28374 "\n"
28375
28376 #. type: verbatim
28377 #: ../src/guestfs-actions.pod:4652
28378 #, no-wrap
28379 msgid ""
28380 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
28381 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
28382 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
28383 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
28384 "\n"
28385 msgstr ""
28386
28387 #. type: textblock
28388 #: ../src/guestfs-actions.pod:4700
28389 msgid "(Added in 1.7.19)"
28390 msgstr "(Додано у 1.7.19)"
28391
28392 #. type: =head2
28393 #: ../src/guestfs-actions.pod:4702
28394 msgid "guestfs_mkfs_opts_va"
28395 msgstr "guestfs_mkfs_opts_va"
28396
28397 #. type: verbatim
28398 #: ../src/guestfs-actions.pod:4704
28399 #, no-wrap
28400 msgid ""
28401 " int\n"
28402 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
28403 "                       const char *fstype,\n"
28404 "                       const char *device,\n"
28405 "                       va_list args);\n"
28406 "\n"
28407 msgstr ""
28408 " int\n"
28409 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
28410 "                       const char *fstype,\n"
28411 "                       const char *device,\n"
28412 "                       va_list args);\n"
28413 "\n"
28414
28415 #. type: textblock
28416 #: ../src/guestfs-actions.pod:4710
28417 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
28418 msgstr ""
28419
28420 #. type: =head2
28421 #: ../src/guestfs-actions.pod:4714
28422 msgid "guestfs_mkfs_opts_argv"
28423 msgstr "guestfs_mkfs_opts_argv"
28424
28425 #. type: verbatim
28426 #: ../src/guestfs-actions.pod:4716
28427 #, no-wrap
28428 msgid ""
28429 " int\n"
28430 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
28431 "                         const char *fstype,\n"
28432 "                         const char *device,\n"
28433 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
28434 "\n"
28435 msgstr ""
28436 " int\n"
28437 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
28438 "                         const char *fstype,\n"
28439 "                         const char *device,\n"
28440 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
28441 "\n"
28442
28443 #. type: textblock
28444 #: ../src/guestfs-actions.pod:4722
28445 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
28446 msgstr ""
28447
28448 #. type: =head2
28449 #: ../src/guestfs-actions.pod:4726
28450 msgid "guestfs_mkmountpoint"
28451 msgstr "guestfs_mkmountpoint"
28452
28453 #. type: verbatim
28454 #: ../src/guestfs-actions.pod:4728
28455 #, no-wrap
28456 msgid ""
28457 " int\n"
28458 " guestfs_mkmountpoint (guestfs_h *g,\n"
28459 "                       const char *exemptpath);\n"
28460 "\n"
28461 msgstr ""
28462 " int\n"
28463 " guestfs_mkmountpoint (guestfs_h *g,\n"
28464 "                       const char *exemptpath);\n"
28465 "\n"
28466
28467 #. type: textblock
28468 #: ../src/guestfs-actions.pod:4732
28469 msgid ""
28470 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
28471 "that can be used to create extra mountpoints before mounting the first "
28472 "filesystem."
28473 msgstr ""
28474
28475 #. type: textblock
28476 #: ../src/guestfs-actions.pod:4756
28477 msgid ""
28478 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
28479 "may get unexpected errors if you try to mix these calls.  It is safest to "
28480 "manually unmount filesystems and remove mountpoints after use."
28481 msgstr ""
28482
28483 #. type: textblock
28484 #: ../src/guestfs-actions.pod:4760
28485 msgid ""
28486 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
28487 "first, so for this to work for manual mountpoints, you must ensure that the "
28488 "innermost mountpoints have the longest pathnames, as in the example code "
28489 "above."
28490 msgstr ""
28491
28492 #. type: textblock
28493 #: ../src/guestfs-actions.pod:4767
28494 msgid ""
28495 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
28496 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
28497 "can also trigger these issues."
28498 msgstr ""
28499
28500 #. type: textblock
28501 #: ../src/guestfs-actions.pod:4773 ../src/guestfs-actions.pod:5089
28502 #: ../src/guestfs-actions.pod:6099
28503 msgid "(Added in 1.0.62)"
28504 msgstr "(Додано у 1.0.62)"
28505
28506 #. type: =head2
28507 #: ../src/guestfs-actions.pod:4775
28508 msgid "guestfs_mknod"
28509 msgstr ""
28510
28511 #. type: verbatim
28512 #: ../src/guestfs-actions.pod:4777
28513 #, no-wrap
28514 msgid ""
28515 " int\n"
28516 " guestfs_mknod (guestfs_h *g,\n"
28517 "                int mode,\n"
28518 "                int devmajor,\n"
28519 "                int devminor,\n"
28520 "                const char *path);\n"
28521 "\n"
28522 msgstr ""
28523
28524 #. type: textblock
28525 #: ../src/guestfs-actions.pod:4792
28526 msgid ""
28527 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
28528 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
28529 "regular file).  These constants are available in the standard Linux header "
28530 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
28531 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
28532 "the appropriate constant for you."
28533 msgstr ""
28534
28535 #. type: =head2
28536 #: ../src/guestfs-actions.pod:4806
28537 msgid "guestfs_mknod_b"
28538 msgstr ""
28539
28540 #. type: verbatim
28541 #: ../src/guestfs-actions.pod:4808
28542 #, no-wrap
28543 msgid ""
28544 " int\n"
28545 " guestfs_mknod_b (guestfs_h *g,\n"
28546 "                  int mode,\n"
28547 "                  int devmajor,\n"
28548 "                  int devminor,\n"
28549 "                  const char *path);\n"
28550 "\n"
28551 msgstr ""
28552
28553 #. type: textblock
28554 #: ../src/guestfs-actions.pod:4815
28555 msgid ""
28556 "This call creates a block device node called C<path> with mode C<mode> and "
28557 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
28558 "wrapper around C<guestfs_mknod>."
28559 msgstr ""
28560
28561 #. type: =head2
28562 #: ../src/guestfs-actions.pod:4825
28563 msgid "guestfs_mknod_c"
28564 msgstr ""
28565
28566 #. type: verbatim
28567 #: ../src/guestfs-actions.pod:4827
28568 #, no-wrap
28569 msgid ""
28570 " int\n"
28571 " guestfs_mknod_c (guestfs_h *g,\n"
28572 "                  int mode,\n"
28573 "                  int devmajor,\n"
28574 "                  int devminor,\n"
28575 "                  const char *path);\n"
28576 "\n"
28577 msgstr ""
28578
28579 #. type: textblock
28580 #: ../src/guestfs-actions.pod:4834
28581 msgid ""
28582 "This call creates a char device node called C<path> with mode C<mode> and "
28583 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
28584 "wrapper around C<guestfs_mknod>."
28585 msgstr ""
28586
28587 #. type: =head2
28588 #: ../src/guestfs-actions.pod:4844
28589 msgid "guestfs_mkswap"
28590 msgstr ""
28591
28592 #. type: verbatim
28593 #: ../src/guestfs-actions.pod:4846
28594 #, no-wrap
28595 msgid ""
28596 " int\n"
28597 " guestfs_mkswap (guestfs_h *g,\n"
28598 "                 const char *device);\n"
28599 "\n"
28600 msgstr ""
28601
28602 #. type: =head2
28603 #: ../src/guestfs-actions.pod:4856
28604 msgid "guestfs_mkswap_L"
28605 msgstr ""
28606
28607 #. type: verbatim
28608 #: ../src/guestfs-actions.pod:4858
28609 #, no-wrap
28610 msgid ""
28611 " int\n"
28612 " guestfs_mkswap_L (guestfs_h *g,\n"
28613 "                   const char *label,\n"
28614 "                   const char *device);\n"
28615 "\n"
28616 msgstr ""
28617
28618 #. type: =head2
28619 #: ../src/guestfs-actions.pod:4873
28620 msgid "guestfs_mkswap_U"
28621 msgstr ""
28622
28623 #. type: verbatim
28624 #: ../src/guestfs-actions.pod:4875
28625 #, no-wrap
28626 msgid ""
28627 " int\n"
28628 " guestfs_mkswap_U (guestfs_h *g,\n"
28629 "                   const char *uuid,\n"
28630 "                   const char *device);\n"
28631 "\n"
28632 msgstr ""
28633
28634 #. type: =head2
28635 #: ../src/guestfs-actions.pod:4886
28636 msgid "guestfs_mkswap_file"
28637 msgstr ""
28638
28639 #. type: verbatim
28640 #: ../src/guestfs-actions.pod:4888
28641 #, no-wrap
28642 msgid ""
28643 " int\n"
28644 " guestfs_mkswap_file (guestfs_h *g,\n"
28645 "                      const char *path);\n"
28646 "\n"
28647 msgstr ""
28648
28649 #. type: textblock
28650 #: ../src/guestfs-actions.pod:4894
28651 msgid ""
28652 "This command just writes a swap file signature to an existing file.  To "
28653 "create the file itself, use something like C<guestfs_fallocate>."
28654 msgstr ""
28655
28656 #. type: =head2
28657 #: ../src/guestfs-actions.pod:4901
28658 msgid "guestfs_modprobe"
28659 msgstr ""
28660
28661 #. type: verbatim
28662 #: ../src/guestfs-actions.pod:4903
28663 #, no-wrap
28664 msgid ""
28665 " int\n"
28666 " guestfs_modprobe (guestfs_h *g,\n"
28667 "                   const char *modulename);\n"
28668 "\n"
28669 msgstr ""
28670
28671 #. type: =head2
28672 #: ../src/guestfs-actions.pod:4916
28673 msgid "guestfs_mount"
28674 msgstr ""
28675
28676 #. type: verbatim
28677 #: ../src/guestfs-actions.pod:4918
28678 #, no-wrap
28679 msgid ""
28680 " int\n"
28681 " guestfs_mount (guestfs_h *g,\n"
28682 "                const char *device,\n"
28683 "                const char *mountpoint);\n"
28684 "\n"
28685 msgstr ""
28686
28687 #. type: textblock
28688 #: ../src/guestfs-actions.pod:4923
28689 msgid ""
28690 "I<This function is deprecated.> In new code, use the L</"
28691 "guestfs_mount_options> call instead."
28692 msgstr ""
28693
28694 #. type: textblock
28695 #: ../src/guestfs-actions.pod:4944
28696 msgid ""
28697 "B<Important note:> When you use this call, the filesystem options C<sync> "
28698 "and C<noatime> are set implicitly.  This was originally done because we "
28699 "thought it would improve reliability, but it turns out that I<-o sync> has a "
28700 "very large negative performance impact and negligible effect on "
28701 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
28702 "in any code that needs performance, and instead use C<guestfs_mount_options> "
28703 "(use an empty string for the first parameter if you don't want any options)."
28704 msgstr ""
28705
28706 #. type: =head2
28707 #: ../src/guestfs-actions.pod:4958
28708 msgid "guestfs_mount_9p"
28709 msgstr ""
28710
28711 #. type: verbatim
28712 #: ../src/guestfs-actions.pod:4960
28713 #, no-wrap
28714 msgid ""
28715 " int\n"
28716 " guestfs_mount_9p (guestfs_h *g,\n"
28717 "                   const char *mounttag,\n"
28718 "                   const char *mountpoint,\n"
28719 "                   ...);\n"
28720 "\n"
28721 msgstr ""
28722
28723 #. type: verbatim
28724 #: ../src/guestfs-actions.pod:4971
28725 #, no-wrap
28726 msgid ""
28727 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
28728 "\n"
28729 msgstr ""
28730
28731 #. type: =head2
28732 #: ../src/guestfs-actions.pod:4984
28733 msgid "guestfs_mount_9p_va"
28734 msgstr ""
28735
28736 #. type: verbatim
28737 #: ../src/guestfs-actions.pod:4986
28738 #, no-wrap
28739 msgid ""
28740 " int\n"
28741 " guestfs_mount_9p_va (guestfs_h *g,\n"
28742 "                      const char *mounttag,\n"
28743 "                      const char *mountpoint,\n"
28744 "                      va_list args);\n"
28745 "\n"
28746 msgstr ""
28747
28748 #. type: textblock
28749 #: ../src/guestfs-actions.pod:4992
28750 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
28751 msgstr ""
28752
28753 #. type: =head2
28754 #: ../src/guestfs-actions.pod:4996
28755 msgid "guestfs_mount_9p_argv"
28756 msgstr ""
28757
28758 #. type: verbatim
28759 #: ../src/guestfs-actions.pod:4998
28760 #, no-wrap
28761 msgid ""
28762 " int\n"
28763 " guestfs_mount_9p_argv (guestfs_h *g,\n"
28764 "                        const char *mounttag,\n"
28765 "                        const char *mountpoint,\n"
28766 "                        const struct guestfs_mount_9p_argv *optargs);\n"
28767 "\n"
28768 msgstr ""
28769
28770 #. type: textblock
28771 #: ../src/guestfs-actions.pod:5004
28772 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
28773 msgstr ""
28774
28775 #. type: =head2
28776 #: ../src/guestfs-actions.pod:5008
28777 msgid "guestfs_mount_loop"
28778 msgstr ""
28779
28780 #. type: verbatim
28781 #: ../src/guestfs-actions.pod:5010
28782 #, no-wrap
28783 msgid ""
28784 " int\n"
28785 " guestfs_mount_loop (guestfs_h *g,\n"
28786 "                     const char *file,\n"
28787 "                     const char *mountpoint);\n"
28788 "\n"
28789 msgstr ""
28790
28791 #. type: =head2
28792 #: ../src/guestfs-actions.pod:5023
28793 msgid "guestfs_mount_options"
28794 msgstr ""
28795
28796 #. type: verbatim
28797 #: ../src/guestfs-actions.pod:5025
28798 #, no-wrap
28799 msgid ""
28800 " int\n"
28801 " guestfs_mount_options (guestfs_h *g,\n"
28802 "                        const char *options,\n"
28803 "                        const char *device,\n"
28804 "                        const char *mountpoint);\n"
28805 "\n"
28806 msgstr ""
28807
28808 #. type: textblock
28809 #: ../src/guestfs-actions.pod:5031
28810 msgid ""
28811 "This is the same as the C<guestfs_mount> command, but it allows you to set "
28812 "the mount options as for the L<mount(8)> I<-o> flag."
28813 msgstr ""
28814
28815 #. type: textblock
28816 #: ../src/guestfs-actions.pod:5041 ../src/guestfs-actions.pod:5055
28817 #: ../src/guestfs-actions.pod:5072
28818 msgid "(Added in 1.0.10)"
28819 msgstr ""
28820
28821 #. type: =head2
28822 #: ../src/guestfs-actions.pod:5043
28823 msgid "guestfs_mount_ro"
28824 msgstr ""
28825
28826 #. type: verbatim
28827 #: ../src/guestfs-actions.pod:5045
28828 #, no-wrap
28829 msgid ""
28830 " int\n"
28831 " guestfs_mount_ro (guestfs_h *g,\n"
28832 "                   const char *device,\n"
28833 "                   const char *mountpoint);\n"
28834 "\n"
28835 msgstr ""
28836
28837 #. type: textblock
28838 #: ../src/guestfs-actions.pod:5050
28839 msgid ""
28840 "This is the same as the C<guestfs_mount> command, but it mounts the "
28841 "filesystem with the read-only (I<-o ro>) flag."
28842 msgstr ""
28843
28844 #. type: =head2
28845 #: ../src/guestfs-actions.pod:5057
28846 msgid "guestfs_mount_vfs"
28847 msgstr ""
28848
28849 #. type: verbatim
28850 #: ../src/guestfs-actions.pod:5059
28851 #, no-wrap
28852 msgid ""
28853 " int\n"
28854 " guestfs_mount_vfs (guestfs_h *g,\n"
28855 "                    const char *options,\n"
28856 "                    const char *vfstype,\n"
28857 "                    const char *device,\n"
28858 "                    const char *mountpoint);\n"
28859 "\n"
28860 msgstr ""
28861
28862 #. type: textblock
28863 #: ../src/guestfs-actions.pod:5066
28864 msgid ""
28865 "This is the same as the C<guestfs_mount> command, but it allows you to set "
28866 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
28867 "t> flags."
28868 msgstr ""
28869
28870 #. type: =head2
28871 #: ../src/guestfs-actions.pod:5074
28872 msgid "guestfs_mountpoints"
28873 msgstr ""
28874
28875 #. type: verbatim
28876 #: ../src/guestfs-actions.pod:5076
28877 #, no-wrap
28878 msgid ""
28879 " char **\n"
28880 " guestfs_mountpoints (guestfs_h *g);\n"
28881 "\n"
28882 msgstr ""
28883
28884 #. type: textblock
28885 #: ../src/guestfs-actions.pod:5079
28886 msgid ""
28887 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
28888 "devices.  This one returns a hash table (map) of device name to directory "
28889 "where the device is mounted."
28890 msgstr ""
28891
28892 #. type: =head2
28893 #: ../src/guestfs-actions.pod:5091
28894 msgid "guestfs_mounts"
28895 msgstr ""
28896
28897 #. type: verbatim
28898 #: ../src/guestfs-actions.pod:5093
28899 #, no-wrap
28900 msgid ""
28901 " char **\n"
28902 " guestfs_mounts (guestfs_h *g);\n"
28903 "\n"
28904 msgstr ""
28905
28906 #. type: textblock
28907 #: ../src/guestfs-actions.pod:5101
28908 msgid "See also: C<guestfs_mountpoints>"
28909 msgstr ""
28910
28911 #. type: =head2
28912 #: ../src/guestfs-actions.pod:5109
28913 msgid "guestfs_mv"
28914 msgstr ""
28915
28916 #. type: verbatim
28917 #: ../src/guestfs-actions.pod:5111
28918 #, no-wrap
28919 msgid ""
28920 " int\n"
28921 " guestfs_mv (guestfs_h *g,\n"
28922 "             const char *src,\n"
28923 "             const char *dest);\n"
28924 "\n"
28925 msgstr ""
28926
28927 #. type: =head2
28928 #: ../src/guestfs-actions.pod:5123
28929 msgid "guestfs_ntfs_3g_probe"
28930 msgstr ""
28931
28932 #. type: verbatim
28933 #: ../src/guestfs-actions.pod:5125
28934 #, no-wrap
28935 msgid ""
28936 " int\n"
28937 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
28938 "                        int rw,\n"
28939 "                        const char *device);\n"
28940 "\n"
28941 msgstr ""
28942
28943 #. type: textblock
28944 #: ../src/guestfs-actions.pod:5144
28945 msgid "(Added in 1.0.43)"
28946 msgstr ""
28947
28948 #. type: =head2
28949 #: ../src/guestfs-actions.pod:5146
28950 msgid "guestfs_ntfsresize"
28951 msgstr ""
28952
28953 #. type: verbatim
28954 #: ../src/guestfs-actions.pod:5148
28955 #, no-wrap
28956 msgid ""
28957 " int\n"
28958 " guestfs_ntfsresize (guestfs_h *g,\n"
28959 "                     const char *device);\n"
28960 "\n"
28961 msgstr ""
28962
28963 #. type: textblock
28964 #: ../src/guestfs-actions.pod:5152 ../src/guestfs-actions.pod:5252
28965 msgid ""
28966 "I<This function is deprecated.> In new code, use the L</"
28967 "guestfs_ntfsresize_opts> call instead."
28968 msgstr ""
28969
28970 #. type: =head2
28971 #: ../src/guestfs-actions.pod:5176
28972 msgid "guestfs_ntfsresize_opts"
28973 msgstr ""
28974
28975 #. type: verbatim
28976 #: ../src/guestfs-actions.pod:5178
28977 #, no-wrap
28978 msgid ""
28979 " int\n"
28980 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
28981 "                          const char *device,\n"
28982 "                          ...);\n"
28983 "\n"
28984 msgstr ""
28985
28986 #. type: verbatim
28987 #: ../src/guestfs-actions.pod:5188
28988 #, no-wrap
28989 msgid ""
28990 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
28991 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
28992 "\n"
28993 msgstr ""
28994
28995 #. type: textblock
28996 #: ../src/guestfs-actions.pod:5208
28997 msgid ""
28998 "After the resize operation, the filesystem is always marked as requiring a "
28999 "consistency check (for safety).  You have to boot into Windows to perform "
29000 "this check and clear this condition.  If you I<don't> set the C<force> "
29001 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
29002 "times on a single filesystem without booting into Windows between each "
29003 "resize."
29004 msgstr ""
29005
29006 #. type: =head2
29007 #: ../src/guestfs-actions.pod:5223
29008 msgid "guestfs_ntfsresize_opts_va"
29009 msgstr ""
29010
29011 #. type: verbatim
29012 #: ../src/guestfs-actions.pod:5225
29013 #, no-wrap
29014 msgid ""
29015 " int\n"
29016 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
29017 "                             const char *device,\n"
29018 "                             va_list args);\n"
29019 "\n"
29020 msgstr ""
29021
29022 #. type: textblock
29023 #: ../src/guestfs-actions.pod:5230
29024 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
29025 msgstr ""
29026
29027 #. type: =head2
29028 #: ../src/guestfs-actions.pod:5234
29029 msgid "guestfs_ntfsresize_opts_argv"
29030 msgstr ""
29031
29032 #. type: verbatim
29033 #: ../src/guestfs-actions.pod:5236
29034 #, no-wrap
29035 msgid ""
29036 " int\n"
29037 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
29038 "                               const char *device,\n"
29039 "                               const struct guestfs_ntfsresize_opts_argv *optargs);\n"
29040 "\n"
29041 msgstr ""
29042
29043 #. type: textblock
29044 #: ../src/guestfs-actions.pod:5241
29045 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
29046 msgstr ""
29047
29048 #. type: =head2
29049 #: ../src/guestfs-actions.pod:5245
29050 msgid "guestfs_ntfsresize_size"
29051 msgstr ""
29052
29053 #. type: verbatim
29054 #: ../src/guestfs-actions.pod:5247
29055 #, no-wrap
29056 msgid ""
29057 " int\n"
29058 " guestfs_ntfsresize_size (guestfs_h *g,\n"
29059 "                          const char *device,\n"
29060 "                          int64_t size);\n"
29061 "\n"
29062 msgstr ""
29063
29064 #. type: textblock
29065 #: ../src/guestfs-actions.pod:5259
29066 msgid ""
29067 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
29068 "to specify the new size (in bytes) explicitly."
29069 msgstr ""
29070
29071 #. type: textblock
29072 #: ../src/guestfs-actions.pod:5264 ../src/guestfs-actions.pod:5706
29073 #: ../src/guestfs-actions.pod:5779 ../src/guestfs-actions.pod:6047
29074 #: ../src/guestfs-actions.pod:7670
29075 msgid "(Added in 1.3.14)"
29076 msgstr ""
29077
29078 #. type: =head2
29079 #: ../src/guestfs-actions.pod:5266
29080 msgid "guestfs_part_add"
29081 msgstr ""
29082
29083 #. type: verbatim
29084 #: ../src/guestfs-actions.pod:5268
29085 #, no-wrap
29086 msgid ""
29087 " int\n"
29088 " guestfs_part_add (guestfs_h *g,\n"
29089 "                   const char *device,\n"
29090 "                   const char *prlogex,\n"
29091 "                   int64_t startsect,\n"
29092 "                   int64_t endsect);\n"
29093 "\n"
29094 msgstr ""
29095
29096 #. type: textblock
29097 #: ../src/guestfs-actions.pod:5275
29098 msgid ""
29099 "This command adds a partition to C<device>.  If there is no partition table "
29100 "on the device, call C<guestfs_part_init> first."
29101 msgstr ""
29102
29103 #. type: textblock
29104 #: ../src/guestfs-actions.pod:5287
29105 msgid ""
29106 "Creating a partition which covers the whole disk is not so easy.  Use "
29107 "C<guestfs_part_disk> to do that."
29108 msgstr ""
29109
29110 #. type: textblock
29111 #: ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5330
29112 #: ../src/guestfs-actions.pod:5383 ../src/guestfs-actions.pod:5467
29113 #: ../src/guestfs-actions.pod:5505 ../src/guestfs-actions.pod:5524
29114 #: ../src/guestfs-actions.pod:5564
29115 msgid "(Added in 1.0.78)"
29116 msgstr ""
29117
29118 #. type: =head2
29119 #: ../src/guestfs-actions.pod:5294
29120 msgid "guestfs_part_del"
29121 msgstr ""
29122
29123 #. type: verbatim
29124 #: ../src/guestfs-actions.pod:5296
29125 #, no-wrap
29126 msgid ""
29127 " int\n"
29128 " guestfs_part_del (guestfs_h *g,\n"
29129 "                   const char *device,\n"
29130 "                   int partnum);\n"
29131 "\n"
29132 msgstr ""
29133
29134 #. type: =head2
29135 #: ../src/guestfs-actions.pod:5311
29136 msgid "guestfs_part_disk"
29137 msgstr ""
29138
29139 #. type: verbatim
29140 #: ../src/guestfs-actions.pod:5313
29141 #, no-wrap
29142 msgid ""
29143 " int\n"
29144 " guestfs_part_disk (guestfs_h *g,\n"
29145 "                    const char *device,\n"
29146 "                    const char *parttype);\n"
29147 "\n"
29148 msgstr ""
29149
29150 #. type: textblock
29151 #: ../src/guestfs-actions.pod:5318
29152 msgid ""
29153 "This command is simply a combination of C<guestfs_part_init> followed by "
29154 "C<guestfs_part_add> to create a single primary partition covering the whole "
29155 "disk."
29156 msgstr ""
29157
29158 #. type: textblock
29159 #: ../src/guestfs-actions.pod:5322
29160 msgid ""
29161 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
29162 "possible values are described in C<guestfs_part_init>."
29163 msgstr ""
29164
29165 #. type: =head2
29166 #: ../src/guestfs-actions.pod:5332
29167 msgid "guestfs_part_get_bootable"
29168 msgstr ""
29169
29170 #. type: verbatim
29171 #: ../src/guestfs-actions.pod:5334
29172 #, no-wrap
29173 msgid ""
29174 " int\n"
29175 " guestfs_part_get_bootable (guestfs_h *g,\n"
29176 "                            const char *device,\n"
29177 "                            int partnum);\n"
29178 "\n"
29179 msgstr ""
29180
29181 #. type: textblock
29182 #: ../src/guestfs-actions.pod:5342
29183 msgid "See also C<guestfs_part_set_bootable>."
29184 msgstr ""
29185
29186 #. type: =head2
29187 #: ../src/guestfs-actions.pod:5348
29188 msgid "guestfs_part_get_mbr_id"
29189 msgstr ""
29190
29191 #. type: verbatim
29192 #: ../src/guestfs-actions.pod:5350
29193 #, no-wrap
29194 msgid ""
29195 " int\n"
29196 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
29197 "                          const char *device,\n"
29198 "                          int partnum);\n"
29199 "\n"
29200 msgstr ""
29201
29202 #. type: textblock
29203 #: ../src/guestfs-actions.pod:5358 ../src/guestfs-actions.pod:5540
29204 msgid ""
29205 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
29206 "undefined results for other partition table types (see "
29207 "C<guestfs_part_get_parttype>)."
29208 msgstr ""
29209
29210 #. type: =head2
29211 #: ../src/guestfs-actions.pod:5366
29212 msgid "guestfs_part_get_parttype"
29213 msgstr ""
29214
29215 #. type: verbatim
29216 #: ../src/guestfs-actions.pod:5368
29217 #, no-wrap
29218 msgid ""
29219 " char *\n"
29220 " guestfs_part_get_parttype (guestfs_h *g,\n"
29221 "                            const char *device);\n"
29222 "\n"
29223 msgstr ""
29224
29225 #. type: textblock
29226 #: ../src/guestfs-actions.pod:5375
29227 msgid ""
29228 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
29229 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
29230 "possible, although unusual.  See C<guestfs_part_init> for a full list."
29231 msgstr ""
29232
29233 #. type: =head2
29234 #: ../src/guestfs-actions.pod:5385
29235 msgid "guestfs_part_init"
29236 msgstr ""
29237
29238 #. type: verbatim
29239 #: ../src/guestfs-actions.pod:5387
29240 #, no-wrap
29241 msgid ""
29242 " int\n"
29243 " guestfs_part_init (guestfs_h *g,\n"
29244 "                    const char *device,\n"
29245 "                    const char *parttype);\n"
29246 "\n"
29247 msgstr ""
29248
29249 #. type: textblock
29250 #: ../src/guestfs-actions.pod:5396
29251 msgid ""
29252 "Initially there are no partitions.  Following this, you should call "
29253 "C<guestfs_part_add> for each partition required."
29254 msgstr ""
29255
29256 #. type: =head2
29257 #: ../src/guestfs-actions.pod:5469
29258 msgid "guestfs_part_list"
29259 msgstr "guestfs_part_list"
29260
29261 #. type: verbatim
29262 #: ../src/guestfs-actions.pod:5471
29263 #, no-wrap
29264 msgid ""
29265 " struct guestfs_partition_list *\n"
29266 " guestfs_part_list (guestfs_h *g,\n"
29267 "                    const char *device);\n"
29268 "\n"
29269 msgstr ""
29270 " struct guestfs_partition_list *\n"
29271 " guestfs_part_list (guestfs_h *g,\n"
29272 "                    const char *device);\n"
29273 "\n"
29274
29275 #. type: textblock
29276 #: ../src/guestfs-actions.pod:5488
29277 msgid ""
29278 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
29279 "the device's sector size, see C<guestfs_blockdev_getss>."
29280 msgstr ""
29281
29282 #. type: textblock
29283 #: ../src/guestfs-actions.pod:5501
29284 msgid ""
29285 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
29286 "was an error.  I<The caller must call C<guestfs_free_partition_list> after "
29287 "use>."
29288 msgstr ""
29289
29290 #. type: =head2
29291 #: ../src/guestfs-actions.pod:5507
29292 msgid "guestfs_part_set_bootable"
29293 msgstr ""
29294
29295 #. type: verbatim
29296 #: ../src/guestfs-actions.pod:5509
29297 #, no-wrap
29298 msgid ""
29299 " int\n"
29300 " guestfs_part_set_bootable (guestfs_h *g,\n"
29301 "                            const char *device,\n"
29302 "                            int partnum,\n"
29303 "                            int bootable);\n"
29304 "\n"
29305 msgstr ""
29306
29307 #. type: =head2
29308 #: ../src/guestfs-actions.pod:5526
29309 msgid "guestfs_part_set_mbr_id"
29310 msgstr ""
29311
29312 #. type: verbatim
29313 #: ../src/guestfs-actions.pod:5528
29314 #, no-wrap
29315 msgid ""
29316 " int\n"
29317 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
29318 "                          const char *device,\n"
29319 "                          int partnum,\n"
29320 "                          int idbyte);\n"
29321 "\n"
29322 msgstr ""
29323
29324 #. type: =head2
29325 #: ../src/guestfs-actions.pod:5548
29326 msgid "guestfs_part_set_name"
29327 msgstr ""
29328
29329 #. type: verbatim
29330 #: ../src/guestfs-actions.pod:5550
29331 #, no-wrap
29332 msgid ""
29333 " int\n"
29334 " guestfs_part_set_name (guestfs_h *g,\n"
29335 "                        const char *device,\n"
29336 "                        int partnum,\n"
29337 "                        const char *name);\n"
29338 "\n"
29339 msgstr ""
29340
29341 #. type: =head2
29342 #: ../src/guestfs-actions.pod:5566
29343 msgid "guestfs_part_to_dev"
29344 msgstr ""
29345
29346 #. type: verbatim
29347 #: ../src/guestfs-actions.pod:5568
29348 #, no-wrap
29349 msgid ""
29350 " char *\n"
29351 " guestfs_part_to_dev (guestfs_h *g,\n"
29352 "                      const char *partition);\n"
29353 "\n"
29354 msgstr ""
29355
29356 #. type: textblock
29357 #: ../src/guestfs-actions.pod:5576
29358 msgid ""
29359 "The named partition must exist, for example as a string returned from "
29360 "C<guestfs_list_partitions>."
29361 msgstr ""
29362
29363 #. type: =head2
29364 #: ../src/guestfs-actions.pod:5584
29365 msgid "guestfs_ping_daemon"
29366 msgstr ""
29367
29368 #. type: verbatim
29369 #: ../src/guestfs-actions.pod:5586
29370 #, no-wrap
29371 msgid ""
29372 " int\n"
29373 " guestfs_ping_daemon (guestfs_h *g);\n"
29374 "\n"
29375 msgstr ""
29376
29377 #. type: =head2
29378 #: ../src/guestfs-actions.pod:5598
29379 msgid "guestfs_pread"
29380 msgstr ""
29381
29382 #. type: verbatim
29383 #: ../src/guestfs-actions.pod:5600
29384 #, no-wrap
29385 msgid ""
29386 " char *\n"
29387 " guestfs_pread (guestfs_h *g,\n"
29388 "                const char *path,\n"
29389 "                int count,\n"
29390 "                int64_t offset,\n"
29391 "                size_t *size_r);\n"
29392 "\n"
29393 msgstr ""
29394
29395 #. type: textblock
29396 #: ../src/guestfs-actions.pod:5613
29397 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
29398 msgstr ""
29399
29400 #. type: =head2
29401 #: ../src/guestfs-actions.pod:5624
29402 msgid "guestfs_pread_device"
29403 msgstr ""
29404
29405 #. type: verbatim
29406 #: ../src/guestfs-actions.pod:5626
29407 #, no-wrap
29408 msgid ""
29409 " char *\n"
29410 " guestfs_pread_device (guestfs_h *g,\n"
29411 "                       const char *device,\n"
29412 "                       int count,\n"
29413 "                       int64_t offset,\n"
29414 "                       size_t *size_r);\n"
29415 "\n"
29416 msgstr ""
29417
29418 #. type: textblock
29419 #: ../src/guestfs-actions.pod:5639
29420 msgid "See also C<guestfs_pread>."
29421 msgstr ""
29422
29423 #. type: textblock
29424 #: ../src/guestfs-actions.pod:5648
29425 msgid "(Added in 1.5.21)"
29426 msgstr ""
29427
29428 #. type: =head2
29429 #: ../src/guestfs-actions.pod:5650
29430 msgid "guestfs_pvcreate"
29431 msgstr ""
29432
29433 #. type: verbatim
29434 #: ../src/guestfs-actions.pod:5652
29435 #, no-wrap
29436 msgid ""
29437 " int\n"
29438 " guestfs_pvcreate (guestfs_h *g,\n"
29439 "                   const char *device);\n"
29440 "\n"
29441 msgstr ""
29442
29443 #. type: =head2
29444 #: ../src/guestfs-actions.pod:5664
29445 msgid "guestfs_pvremove"
29446 msgstr ""
29447
29448 #. type: verbatim
29449 #: ../src/guestfs-actions.pod:5666
29450 #, no-wrap
29451 msgid ""
29452 " int\n"
29453 " guestfs_pvremove (guestfs_h *g,\n"
29454 "                   const char *device);\n"
29455 "\n"
29456 msgstr ""
29457
29458 #. type: =head2
29459 #: ../src/guestfs-actions.pod:5681
29460 msgid "guestfs_pvresize"
29461 msgstr ""
29462
29463 #. type: verbatim
29464 #: ../src/guestfs-actions.pod:5683
29465 #, no-wrap
29466 msgid ""
29467 " int\n"
29468 " guestfs_pvresize (guestfs_h *g,\n"
29469 "                   const char *device);\n"
29470 "\n"
29471 msgstr ""
29472
29473 #. type: =head2
29474 #: ../src/guestfs-actions.pod:5694
29475 msgid "guestfs_pvresize_size"
29476 msgstr ""
29477
29478 #. type: verbatim
29479 #: ../src/guestfs-actions.pod:5696
29480 #, no-wrap
29481 msgid ""
29482 " int\n"
29483 " guestfs_pvresize_size (guestfs_h *g,\n"
29484 "                        const char *device,\n"
29485 "                        int64_t size);\n"
29486 "\n"
29487 msgstr ""
29488
29489 #. type: textblock
29490 #: ../src/guestfs-actions.pod:5701
29491 msgid ""
29492 "This command is the same as C<guestfs_pvresize> except that it allows you to "
29493 "specify the new size (in bytes) explicitly."
29494 msgstr ""
29495
29496 #. type: =head2
29497 #: ../src/guestfs-actions.pod:5708
29498 msgid "guestfs_pvs"
29499 msgstr ""
29500
29501 #. type: verbatim
29502 #: ../src/guestfs-actions.pod:5710
29503 #, no-wrap
29504 msgid ""
29505 " char **\n"
29506 " guestfs_pvs (guestfs_h *g);\n"
29507 "\n"
29508 msgstr ""
29509
29510 #. type: textblock
29511 #: ../src/guestfs-actions.pod:5719
29512 msgid "See also C<guestfs_pvs_full>."
29513 msgstr ""
29514
29515 #. type: =head2
29516 #: ../src/guestfs-actions.pod:5727
29517 msgid "guestfs_pvs_full"
29518 msgstr ""
29519
29520 #. type: verbatim
29521 #: ../src/guestfs-actions.pod:5729
29522 #, no-wrap
29523 msgid ""
29524 " struct guestfs_lvm_pv_list *\n"
29525 " guestfs_pvs_full (guestfs_h *g);\n"
29526 "\n"
29527 msgstr ""
29528
29529 #. type: textblock
29530 #: ../src/guestfs-actions.pod:5735
29531 msgid ""
29532 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
29533 "was an error.  I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
29534 msgstr ""
29535
29536 #. type: =head2
29537 #: ../src/guestfs-actions.pod:5741
29538 msgid "guestfs_pvuuid"
29539 msgstr ""
29540
29541 #. type: verbatim
29542 #: ../src/guestfs-actions.pod:5743
29543 #, no-wrap
29544 msgid ""
29545 " char *\n"
29546 " guestfs_pvuuid (guestfs_h *g,\n"
29547 "                 const char *device);\n"
29548 "\n"
29549 msgstr ""
29550
29551 #. type: =head2
29552 #: ../src/guestfs-actions.pod:5754
29553 msgid "guestfs_pwrite"
29554 msgstr ""
29555
29556 #. type: verbatim
29557 #: ../src/guestfs-actions.pod:5756
29558 #, no-wrap
29559 msgid ""
29560 " int\n"
29561 " guestfs_pwrite (guestfs_h *g,\n"
29562 "                 const char *path,\n"
29563 "                 const char *content,\n"
29564 "                 size_t content_size,\n"
29565 "                 int64_t offset);\n"
29566 "\n"
29567 msgstr ""
29568
29569 #. type: textblock
29570 #: ../src/guestfs-actions.pod:5772
29571 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
29572 msgstr ""
29573
29574 #. type: =head2
29575 #: ../src/guestfs-actions.pod:5781
29576 msgid "guestfs_pwrite_device"
29577 msgstr ""
29578
29579 #. type: verbatim
29580 #: ../src/guestfs-actions.pod:5783
29581 #, no-wrap
29582 msgid ""
29583 " int\n"
29584 " guestfs_pwrite_device (guestfs_h *g,\n"
29585 "                        const char *device,\n"
29586 "                        const char *content,\n"
29587 "                        size_t content_size,\n"
29588 "                        int64_t offset);\n"
29589 "\n"
29590 msgstr ""
29591
29592 #. type: textblock
29593 #: ../src/guestfs-actions.pod:5798
29594 msgid "See also C<guestfs_pwrite>."
29595 msgstr ""
29596
29597 #. type: textblock
29598 #: ../src/guestfs-actions.pod:5805
29599 msgid "(Added in 1.5.20)"
29600 msgstr ""
29601
29602 #. type: =head2
29603 #: ../src/guestfs-actions.pod:5807
29604 msgid "guestfs_read_file"
29605 msgstr ""
29606
29607 #. type: verbatim
29608 #: ../src/guestfs-actions.pod:5809
29609 #, no-wrap
29610 msgid ""
29611 " char *\n"
29612 " guestfs_read_file (guestfs_h *g,\n"
29613 "                    const char *path,\n"
29614 "                    size_t *size_r);\n"
29615 "\n"
29616 msgstr ""
29617
29618 #. type: textblock
29619 #: ../src/guestfs-actions.pod:5817
29620 msgid ""
29621 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
29622 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
29623 "function is limited in the total size of file that can be handled."
29624 msgstr ""
29625
29626 #. type: textblock
29627 #: ../src/guestfs-actions.pod:5829
29628 msgid "(Added in 1.0.63)"
29629 msgstr ""
29630
29631 #. type: =head2
29632 #: ../src/guestfs-actions.pod:5831
29633 msgid "guestfs_read_lines"
29634 msgstr ""
29635
29636 #. type: verbatim
29637 #: ../src/guestfs-actions.pod:5833
29638 #, no-wrap
29639 msgid ""
29640 " char **\n"
29641 " guestfs_read_lines (guestfs_h *g,\n"
29642 "                     const char *path);\n"
29643 "\n"
29644 msgstr ""
29645
29646 #. type: textblock
29647 #: ../src/guestfs-actions.pod:5842
29648 msgid ""
29649 "Note that this function cannot correctly handle binary files (specifically, "
29650 "files containing C<\\0> character which is treated as end of line).  For "
29651 "those you need to use the C<guestfs_read_file> function which has a more "
29652 "complex interface."
29653 msgstr ""
29654
29655 #. type: =head2
29656 #: ../src/guestfs-actions.pod:5853
29657 msgid "guestfs_readdir"
29658 msgstr ""
29659
29660 #. type: verbatim
29661 #: ../src/guestfs-actions.pod:5855
29662 #, no-wrap
29663 msgid ""
29664 " struct guestfs_dirent_list *\n"
29665 " guestfs_readdir (guestfs_h *g,\n"
29666 "                  const char *dir);\n"
29667 "\n"
29668 msgstr ""
29669
29670 #. type: textblock
29671 #: ../src/guestfs-actions.pod:5909
29672 msgid ""
29673 "This function is primarily intended for use by programs.  To get a simple "
29674 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
29675 "consumption, use C<guestfs_ll>."
29676 msgstr ""
29677
29678 #. type: textblock
29679 #: ../src/guestfs-actions.pod:5913
29680 msgid ""
29681 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
29682 "was an error.  I<The caller must call C<guestfs_free_dirent_list> after use>."
29683 msgstr ""
29684
29685 #. type: =head2
29686 #: ../src/guestfs-actions.pod:5919
29687 msgid "guestfs_readlink"
29688 msgstr ""
29689
29690 #. type: verbatim
29691 #: ../src/guestfs-actions.pod:5921
29692 #, no-wrap
29693 msgid ""
29694 " char *\n"
29695 " guestfs_readlink (guestfs_h *g,\n"
29696 "                   const char *path);\n"
29697 "\n"
29698 msgstr ""
29699
29700 #. type: =head2
29701 #: ../src/guestfs-actions.pod:5932
29702 msgid "guestfs_readlinklist"
29703 msgstr ""
29704
29705 #. type: verbatim
29706 #: ../src/guestfs-actions.pod:5934
29707 #, no-wrap
29708 msgid ""
29709 " char **\n"
29710 " guestfs_readlinklist (guestfs_h *g,\n"
29711 "                       const char *path,\n"
29712 "                       char *const *names);\n"
29713 "\n"
29714 msgstr ""
29715
29716 #. type: =head2
29717 #: ../src/guestfs-actions.pod:5967
29718 msgid "guestfs_realpath"
29719 msgstr ""
29720
29721 #. type: verbatim
29722 #: ../src/guestfs-actions.pod:5969
29723 #, no-wrap
29724 msgid ""
29725 " char *\n"
29726 " guestfs_realpath (guestfs_h *g,\n"
29727 "                   const char *path);\n"
29728 "\n"
29729 msgstr ""
29730
29731 #. type: =head2
29732 #: ../src/guestfs-actions.pod:5981
29733 msgid "guestfs_removexattr"
29734 msgstr ""
29735
29736 #. type: verbatim
29737 #: ../src/guestfs-actions.pod:5983
29738 #, no-wrap
29739 msgid ""
29740 " int\n"
29741 " guestfs_removexattr (guestfs_h *g,\n"
29742 "                      const char *xattr,\n"
29743 "                      const char *path);\n"
29744 "\n"
29745 msgstr ""
29746
29747 #. type: textblock
29748 #: ../src/guestfs-actions.pod:5991
29749 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
29750 msgstr ""
29751
29752 #. type: =head2
29753 #: ../src/guestfs-actions.pod:5997
29754 msgid "guestfs_resize2fs"
29755 msgstr ""
29756
29757 #. type: verbatim
29758 #: ../src/guestfs-actions.pod:5999
29759 #, no-wrap
29760 msgid ""
29761 " int\n"
29762 " guestfs_resize2fs (guestfs_h *g,\n"
29763 "                    const char *device);\n"
29764 "\n"
29765 msgstr ""
29766
29767 #. type: textblock
29768 #: ../src/guestfs-actions.pod:6006
29769 msgid ""
29770 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
29771 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
29772 "sometimes gives an error about this and sometimes not.  In any case, it is "
29773 "always safe to call C<guestfs_e2fsck_f> before calling this function."
29774 msgstr ""
29775
29776 #. type: =head2
29777 #: ../src/guestfs-actions.pod:6016
29778 msgid "guestfs_resize2fs_M"
29779 msgstr ""
29780
29781 #. type: verbatim
29782 #: ../src/guestfs-actions.pod:6018
29783 #, no-wrap
29784 msgid ""
29785 " int\n"
29786 " guestfs_resize2fs_M (guestfs_h *g,\n"
29787 "                      const char *device);\n"
29788 "\n"
29789 msgstr ""
29790
29791 #. type: textblock
29792 #: ../src/guestfs-actions.pod:6022
29793 msgid ""
29794 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
29795 "resized to its minimum size.  This works like the I<-M> option to the "
29796 "C<resize2fs> command."
29797 msgstr ""
29798
29799 #. type: textblock
29800 #: ../src/guestfs-actions.pod:6026
29801 msgid ""
29802 "To get the resulting size of the filesystem you should call "
29803 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values.  "
29804 "These two numbers, multiplied together, give the resulting size of the "
29805 "minimal filesystem in bytes."
29806 msgstr ""
29807
29808 #. type: =head2
29809 #: ../src/guestfs-actions.pod:6035
29810 msgid "guestfs_resize2fs_size"
29811 msgstr ""
29812
29813 #. type: verbatim
29814 #: ../src/guestfs-actions.pod:6037
29815 #, no-wrap
29816 msgid ""
29817 " int\n"
29818 " guestfs_resize2fs_size (guestfs_h *g,\n"
29819 "                         const char *device,\n"
29820 "                         int64_t size);\n"
29821 "\n"
29822 msgstr ""
29823
29824 #. type: textblock
29825 #: ../src/guestfs-actions.pod:6042
29826 msgid ""
29827 "This command is the same as C<guestfs_resize2fs> except that it allows you "
29828 "to specify the new size (in bytes) explicitly."
29829 msgstr ""
29830
29831 #. type: =head2
29832 #: ../src/guestfs-actions.pod:6049
29833 msgid "guestfs_rm"
29834 msgstr ""
29835
29836 #. type: verbatim
29837 #: ../src/guestfs-actions.pod:6051
29838 #, no-wrap
29839 msgid ""
29840 " int\n"
29841 " guestfs_rm (guestfs_h *g,\n"
29842 "             const char *path);\n"
29843 "\n"
29844 msgstr ""
29845
29846 #. type: =head2
29847 #: ../src/guestfs-actions.pod:6061
29848 msgid "guestfs_rm_rf"
29849 msgstr ""
29850
29851 #. type: verbatim
29852 #: ../src/guestfs-actions.pod:6063
29853 #, no-wrap
29854 msgid ""
29855 " int\n"
29856 " guestfs_rm_rf (guestfs_h *g,\n"
29857 "                const char *path);\n"
29858 "\n"
29859 msgstr ""
29860
29861 #. type: =head2
29862 #: ../src/guestfs-actions.pod:6075
29863 msgid "guestfs_rmdir"
29864 msgstr ""
29865
29866 #. type: verbatim
29867 #: ../src/guestfs-actions.pod:6077
29868 #, no-wrap
29869 msgid ""
29870 " int\n"
29871 " guestfs_rmdir (guestfs_h *g,\n"
29872 "                const char *path);\n"
29873 "\n"
29874 msgstr ""
29875
29876 #. type: =head2
29877 #: ../src/guestfs-actions.pod:6087
29878 msgid "guestfs_rmmountpoint"
29879 msgstr ""
29880
29881 #. type: verbatim
29882 #: ../src/guestfs-actions.pod:6089
29883 #, no-wrap
29884 msgid ""
29885 " int\n"
29886 " guestfs_rmmountpoint (guestfs_h *g,\n"
29887 "                       const char *exemptpath);\n"
29888 "\n"
29889 msgstr ""
29890
29891 #. type: textblock
29892 #: ../src/guestfs-actions.pod:6093
29893 msgid ""
29894 "This calls removes a mountpoint that was previously created with "
29895 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
29896 msgstr ""
29897
29898 #. type: =head2
29899 #: ../src/guestfs-actions.pod:6101
29900 msgid "guestfs_scrub_device"
29901 msgstr ""
29902
29903 #. type: verbatim
29904 #: ../src/guestfs-actions.pod:6103
29905 #, no-wrap
29906 msgid ""
29907 " int\n"
29908 " guestfs_scrub_device (guestfs_h *g,\n"
29909 "                       const char *device);\n"
29910 "\n"
29911 msgstr ""
29912
29913 #. type: textblock
29914 #: ../src/guestfs-actions.pod:6118 ../src/guestfs-actions.pod:6136
29915 #: ../src/guestfs-actions.pod:6155
29916 msgid "(Added in 1.0.52)"
29917 msgstr ""
29918
29919 #. type: =head2
29920 #: ../src/guestfs-actions.pod:6120
29921 msgid "guestfs_scrub_file"
29922 msgstr ""
29923
29924 #. type: verbatim
29925 #: ../src/guestfs-actions.pod:6122
29926 #, no-wrap
29927 msgid ""
29928 " int\n"
29929 " guestfs_scrub_file (guestfs_h *g,\n"
29930 "                     const char *file);\n"
29931 "\n"
29932 msgstr ""
29933
29934 #. type: =head2
29935 #: ../src/guestfs-actions.pod:6138
29936 msgid "guestfs_scrub_freespace"
29937 msgstr ""
29938
29939 #. type: verbatim
29940 #: ../src/guestfs-actions.pod:6140
29941 #, no-wrap
29942 msgid ""
29943 " int\n"
29944 " guestfs_scrub_freespace (guestfs_h *g,\n"
29945 "                          const char *dir);\n"
29946 "\n"
29947 msgstr ""
29948
29949 #. type: textblock
29950 #: ../src/guestfs-actions.pod:6144
29951 msgid ""
29952 "This command creates the directory C<dir> and then fills it with files until "
29953 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
29954 "and deletes them.  The intention is to scrub any free space on the partition "
29955 "containing C<dir>."
29956 msgstr ""
29957
29958 #. type: =head2
29959 #: ../src/guestfs-actions.pod:6157
29960 msgid "guestfs_set_append"
29961 msgstr ""
29962
29963 #. type: verbatim
29964 #: ../src/guestfs-actions.pod:6159
29965 #, no-wrap
29966 msgid ""
29967 " int\n"
29968 " guestfs_set_append (guestfs_h *g,\n"
29969 "                     const char *append);\n"
29970 "\n"
29971 msgstr ""
29972
29973 #. type: =head2
29974 #: ../src/guestfs-actions.pod:6176
29975 msgid "guestfs_set_attach_method"
29976 msgstr ""
29977
29978 #. type: verbatim
29979 #: ../src/guestfs-actions.pod:6178
29980 #, no-wrap
29981 msgid ""
29982 " int\n"
29983 " guestfs_set_attach_method (guestfs_h *g,\n"
29984 "                            const char *attachmethod);\n"
29985 "\n"
29986 msgstr ""
29987
29988 #. type: =head2
29989 #: ../src/guestfs-actions.pod:6206
29990 msgid "guestfs_set_autosync"
29991 msgstr ""
29992
29993 #. type: verbatim
29994 #: ../src/guestfs-actions.pod:6208
29995 #, no-wrap
29996 msgid ""
29997 " int\n"
29998 " guestfs_set_autosync (guestfs_h *g,\n"
29999 "                       int autosync);\n"
30000 "\n"
30001 msgstr ""
30002
30003 #. type: =head2
30004 #: ../src/guestfs-actions.pod:6224
30005 msgid "guestfs_set_direct"
30006 msgstr ""
30007
30008 #. type: verbatim
30009 #: ../src/guestfs-actions.pod:6226
30010 #, no-wrap
30011 msgid ""
30012 " int\n"
30013 " guestfs_set_direct (guestfs_h *g,\n"
30014 "                     int direct);\n"
30015 "\n"
30016 msgstr ""
30017
30018 #. type: textblock
30019 #: ../src/guestfs-actions.pod:6234
30020 msgid ""
30021 "One consequence of this is that log messages aren't caught by the library "
30022 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
30023 "stdout."
30024 msgstr ""
30025
30026 #. type: =head2
30027 #: ../src/guestfs-actions.pod:6247
30028 msgid "guestfs_set_e2label"
30029 msgstr ""
30030
30031 #. type: verbatim
30032 #: ../src/guestfs-actions.pod:6249
30033 #, no-wrap
30034 msgid ""
30035 " int\n"
30036 " guestfs_set_e2label (guestfs_h *g,\n"
30037 "                      const char *device,\n"
30038 "                      const char *label);\n"
30039 "\n"
30040 msgstr ""
30041
30042 #. type: textblock
30043 #: ../src/guestfs-actions.pod:6258
30044 msgid ""
30045 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
30046 "the existing label on a filesystem."
30047 msgstr ""
30048
30049 #. type: =head2
30050 #: ../src/guestfs-actions.pod:6265
30051 msgid "guestfs_set_e2uuid"
30052 msgstr ""
30053
30054 #. type: verbatim
30055 #: ../src/guestfs-actions.pod:6267
30056 #, no-wrap
30057 msgid ""
30058 " int\n"
30059 " guestfs_set_e2uuid (guestfs_h *g,\n"
30060 "                     const char *device,\n"
30061 "                     const char *uuid);\n"
30062 "\n"
30063 msgstr ""
30064
30065 #. type: textblock
30066 #: ../src/guestfs-actions.pod:6277
30067 msgid ""
30068 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
30069 "the existing UUID of a filesystem."
30070 msgstr ""
30071
30072 #. type: =head2
30073 #: ../src/guestfs-actions.pod:6284
30074 msgid "guestfs_set_memsize"
30075 msgstr ""
30076
30077 #. type: verbatim
30078 #: ../src/guestfs-actions.pod:6286
30079 #, no-wrap
30080 msgid ""
30081 " int\n"
30082 " guestfs_set_memsize (guestfs_h *g,\n"
30083 "                      int memsize);\n"
30084 "\n"
30085 msgstr ""
30086
30087 #. type: textblock
30088 #: ../src/guestfs-actions.pod:6290
30089 msgid ""
30090 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
30091 "This only has any effect if called before C<guestfs_launch>."
30092 msgstr ""
30093
30094 #. type: =head2
30095 #: ../src/guestfs-actions.pod:6305
30096 msgid "guestfs_set_network"
30097 msgstr ""
30098
30099 #. type: verbatim
30100 #: ../src/guestfs-actions.pod:6307
30101 #, no-wrap
30102 msgid ""
30103 " int\n"
30104 " guestfs_set_network (guestfs_h *g,\n"
30105 "                      int network);\n"
30106 "\n"
30107 msgstr ""
30108
30109 #. type: textblock
30110 #: ../src/guestfs-actions.pod:6317
30111 msgid ""
30112 "You must call this before calling C<guestfs_launch>, otherwise it has no "
30113 "effect."
30114 msgstr ""
30115
30116 #. type: =head2
30117 #: ../src/guestfs-actions.pod:6324
30118 msgid "guestfs_set_path"
30119 msgstr ""
30120
30121 #. type: verbatim
30122 #: ../src/guestfs-actions.pod:6326
30123 #, no-wrap
30124 msgid ""
30125 " int\n"
30126 " guestfs_set_path (guestfs_h *g,\n"
30127 "                   const char *searchpath);\n"
30128 "\n"
30129 msgstr ""
30130
30131 #. type: =head2
30132 #: ../src/guestfs-actions.pod:6341
30133 msgid "guestfs_set_pgroup"
30134 msgstr ""
30135
30136 #. type: verbatim
30137 #: ../src/guestfs-actions.pod:6343
30138 #, no-wrap
30139 msgid ""
30140 " int\n"
30141 " guestfs_set_pgroup (guestfs_h *g,\n"
30142 "                     int pgroup);\n"
30143 "\n"
30144 msgstr ""
30145
30146 #. type: =head2
30147 #: ../src/guestfs-actions.pod:6360
30148 msgid "guestfs_set_qemu"
30149 msgstr ""
30150
30151 #. type: verbatim
30152 #: ../src/guestfs-actions.pod:6362
30153 #, no-wrap
30154 msgid ""
30155 " int\n"
30156 " guestfs_set_qemu (guestfs_h *g,\n"
30157 "                   const char *qemu);\n"
30158 "\n"
30159 msgstr ""
30160
30161 #. type: =head2
30162 #: ../src/guestfs-actions.pod:6388
30163 msgid "guestfs_set_recovery_proc"
30164 msgstr ""
30165
30166 #. type: verbatim
30167 #: ../src/guestfs-actions.pod:6390
30168 #, no-wrap
30169 msgid ""
30170 " int\n"
30171 " guestfs_set_recovery_proc (guestfs_h *g,\n"
30172 "                            int recoveryproc);\n"
30173 "\n"
30174 msgstr ""
30175
30176 #. type: textblock
30177 #: ../src/guestfs-actions.pod:6394
30178 msgid ""
30179 "If this is called with the parameter C<false> then C<guestfs_launch> does "
30180 "not create a recovery process.  The purpose of the recovery process is to "
30181 "stop runaway qemu processes in the case where the main program aborts "
30182 "abruptly."
30183 msgstr ""
30184
30185 #. type: textblock
30186 #: ../src/guestfs-actions.pod:6399
30187 msgid ""
30188 "This only has any effect if called before C<guestfs_launch>, and the default "
30189 "is true."
30190 msgstr ""
30191
30192 #. type: =head2
30193 #: ../src/guestfs-actions.pod:6412
30194 msgid "guestfs_set_selinux"
30195 msgstr ""
30196
30197 #. type: verbatim
30198 #: ../src/guestfs-actions.pod:6414
30199 #, no-wrap
30200 msgid ""
30201 " int\n"
30202 " guestfs_set_selinux (guestfs_h *g,\n"
30203 "                      int selinux);\n"
30204 "\n"
30205 msgstr ""
30206
30207 #. type: =head2
30208 #: ../src/guestfs-actions.pod:6431
30209 msgid "guestfs_set_trace"
30210 msgstr ""
30211
30212 #. type: verbatim
30213 #: ../src/guestfs-actions.pod:6433
30214 #, no-wrap
30215 msgid ""
30216 " int\n"
30217 " guestfs_set_trace (guestfs_h *g,\n"
30218 "                    int trace);\n"
30219 "\n"
30220 msgstr ""
30221
30222 #. type: textblock
30223 #: ../src/guestfs-actions.pod:6447
30224 msgid ""
30225 "Trace messages are normally sent to C<stderr>, unless you register a "
30226 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
30227 msgstr ""
30228
30229 #. type: =head2
30230 #: ../src/guestfs-actions.pod:6455
30231 msgid "guestfs_set_verbose"
30232 msgstr ""
30233
30234 #. type: verbatim
30235 #: ../src/guestfs-actions.pod:6457
30236 #, no-wrap
30237 msgid ""
30238 " int\n"
30239 " guestfs_set_verbose (guestfs_h *g,\n"
30240 "                      int verbose);\n"
30241 "\n"
30242 msgstr ""
30243
30244 #. type: textblock
30245 #: ../src/guestfs-actions.pod:6466
30246 msgid ""
30247 "Verbose messages are normally sent to C<stderr>, unless you register a "
30248 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
30249 msgstr ""
30250
30251 #. type: =head2
30252 #: ../src/guestfs-actions.pod:6474
30253 msgid "guestfs_setcon"
30254 msgstr ""
30255
30256 #. type: verbatim
30257 #: ../src/guestfs-actions.pod:6476
30258 #, no-wrap
30259 msgid ""
30260 " int\n"
30261 " guestfs_setcon (guestfs_h *g,\n"
30262 "                 const char *context);\n"
30263 "\n"
30264 msgstr ""
30265
30266 #. type: =head2
30267 #: ../src/guestfs-actions.pod:6489
30268 msgid "guestfs_setxattr"
30269 msgstr ""
30270
30271 #. type: verbatim
30272 #: ../src/guestfs-actions.pod:6491
30273 #, no-wrap
30274 msgid ""
30275 " int\n"
30276 " guestfs_setxattr (guestfs_h *g,\n"
30277 "                   const char *xattr,\n"
30278 "                   const char *val,\n"
30279 "                   int vallen,\n"
30280 "                   const char *path);\n"
30281 "\n"
30282 msgstr ""
30283
30284 #. type: textblock
30285 #: ../src/guestfs-actions.pod:6502
30286 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
30287 msgstr ""
30288
30289 #. type: =head2
30290 #: ../src/guestfs-actions.pod:6508
30291 msgid "guestfs_sfdisk"
30292 msgstr ""
30293
30294 #. type: verbatim
30295 #: ../src/guestfs-actions.pod:6510
30296 #, no-wrap
30297 msgid ""
30298 " int\n"
30299 " guestfs_sfdisk (guestfs_h *g,\n"
30300 "                 const char *device,\n"
30301 "                 int cyls,\n"
30302 "                 int heads,\n"
30303 "                 int sectors,\n"
30304 "                 char *const *lines);\n"
30305 "\n"
30306 msgstr ""
30307
30308 #. type: textblock
30309 #: ../src/guestfs-actions.pod:6518 ../src/guestfs-actions.pod:6562
30310 #: ../src/guestfs-actions.pod:6596
30311 msgid ""
30312 "I<This function is deprecated.> In new code, use the L</guestfs_part_add> "
30313 "call instead."
30314 msgstr ""
30315
30316 #. type: textblock
30317 #: ../src/guestfs-actions.pod:6545
30318 msgid ""
30319 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
30320 msgstr ""
30321
30322 #. type: =head2
30323 #: ../src/guestfs-actions.pod:6555
30324 msgid "guestfs_sfdiskM"
30325 msgstr ""
30326
30327 #. type: verbatim
30328 #: ../src/guestfs-actions.pod:6557
30329 #, no-wrap
30330 msgid ""
30331 " int\n"
30332 " guestfs_sfdiskM (guestfs_h *g,\n"
30333 "                  const char *device,\n"
30334 "                  char *const *lines);\n"
30335 "\n"
30336 msgstr ""
30337
30338 #. type: textblock
30339 #: ../src/guestfs-actions.pod:6569
30340 msgid ""
30341 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
30342 "partition sizes are specified in megabytes only (rounded to the nearest "
30343 "cylinder) and you don't need to specify the cyls, heads and sectors "
30344 "parameters which were rarely if ever used anyway."
30345 msgstr ""
30346
30347 #. type: textblock
30348 #: ../src/guestfs-actions.pod:6575
30349 msgid ""
30350 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
30351 "C<guestfs_part_disk>"
30352 msgstr ""
30353
30354 #. type: =head2
30355 #: ../src/guestfs-actions.pod:6585
30356 msgid "guestfs_sfdisk_N"
30357 msgstr ""
30358
30359 #. type: verbatim
30360 #: ../src/guestfs-actions.pod:6587
30361 #, no-wrap
30362 msgid ""
30363 " int\n"
30364 " guestfs_sfdisk_N (guestfs_h *g,\n"
30365 "                   const char *device,\n"
30366 "                   int partnum,\n"
30367 "                   int cyls,\n"
30368 "                   int heads,\n"
30369 "                   int sectors,\n"
30370 "                   const char *line);\n"
30371 "\n"
30372 msgstr ""
30373
30374 #. type: textblock
30375 #: ../src/guestfs-actions.pod:6606
30376 msgid ""
30377 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
30378 "for the cyls/heads/sectors parameters."
30379 msgstr ""
30380
30381 #. type: textblock
30382 #: ../src/guestfs-actions.pod:6609
30383 msgid "See also: C<guestfs_part_add>"
30384 msgstr ""
30385
30386 #. type: =head2
30387 #: ../src/guestfs-actions.pod:6618
30388 msgid "guestfs_sfdisk_disk_geometry"
30389 msgstr ""
30390
30391 #. type: verbatim
30392 #: ../src/guestfs-actions.pod:6620
30393 #, no-wrap
30394 msgid ""
30395 " char *\n"
30396 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
30397 "                               const char *device);\n"
30398 "\n"
30399 msgstr ""
30400
30401 #. type: textblock
30402 #: ../src/guestfs-actions.pod:6624
30403 msgid ""
30404 "This displays the disk geometry of C<device> read from the partition table.  "
30405 "Especially in the case where the underlying block device has been resized, "
30406 "this can be different from the kernel's idea of the geometry (see "
30407 "C<guestfs_sfdisk_kernel_geometry>)."
30408 msgstr ""
30409
30410 #. type: =head2
30411 #: ../src/guestfs-actions.pod:6637
30412 msgid "guestfs_sfdisk_kernel_geometry"
30413 msgstr ""
30414
30415 #. type: verbatim
30416 #: ../src/guestfs-actions.pod:6639
30417 #, no-wrap
30418 msgid ""
30419 " char *\n"
30420 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
30421 "                                 const char *device);\n"
30422 "\n"
30423 msgstr ""
30424
30425 #. type: =head2
30426 #: ../src/guestfs-actions.pod:6653
30427 msgid "guestfs_sfdisk_l"
30428 msgstr ""
30429
30430 #. type: verbatim
30431 #: ../src/guestfs-actions.pod:6655
30432 #, no-wrap
30433 msgid ""
30434 " char *\n"
30435 " guestfs_sfdisk_l (guestfs_h *g,\n"
30436 "                   const char *device);\n"
30437 "\n"
30438 msgstr ""
30439
30440 #. type: textblock
30441 #: ../src/guestfs-actions.pod:6659
30442 msgid ""
30443 "I<This function is deprecated.> In new code, use the L</guestfs_part_list> "
30444 "call instead."
30445 msgstr ""
30446
30447 #. type: textblock
30448 #: ../src/guestfs-actions.pod:6670
30449 msgid "See also: C<guestfs_part_list>"
30450 msgstr ""
30451
30452 #. type: =head2
30453 #: ../src/guestfs-actions.pod:6677
30454 msgid "guestfs_sh"
30455 msgstr ""
30456
30457 #. type: verbatim
30458 #: ../src/guestfs-actions.pod:6679
30459 #, no-wrap
30460 msgid ""
30461 " char *\n"
30462 " guestfs_sh (guestfs_h *g,\n"
30463 "             const char *command);\n"
30464 "\n"
30465 msgstr ""
30466
30467 #. type: textblock
30468 #: ../src/guestfs-actions.pod:6686
30469 msgid "This is like C<guestfs_command>, but passes the command to:"
30470 msgstr ""
30471
30472 #. type: textblock
30473 #: ../src/guestfs-actions.pod:6694
30474 msgid "All the provisos about C<guestfs_command> apply to this call."
30475 msgstr ""
30476
30477 #. type: =head2
30478 #: ../src/guestfs-actions.pod:6701
30479 msgid "guestfs_sh_lines"
30480 msgstr ""
30481
30482 #. type: verbatim
30483 #: ../src/guestfs-actions.pod:6703
30484 #, no-wrap
30485 msgid ""
30486 " char **\n"
30487 " guestfs_sh_lines (guestfs_h *g,\n"
30488 "                   const char *command);\n"
30489 "\n"
30490 msgstr ""
30491
30492 #. type: textblock
30493 #: ../src/guestfs-actions.pod:6707
30494 msgid ""
30495 "This is the same as C<guestfs_sh>, but splits the result into a list of "
30496 "lines."
30497 msgstr ""
30498
30499 #. type: textblock
30500 #: ../src/guestfs-actions.pod:6710
30501 msgid "See also: C<guestfs_command_lines>"
30502 msgstr ""
30503
30504 #. type: =head2
30505 #: ../src/guestfs-actions.pod:6718
30506 msgid "guestfs_sleep"
30507 msgstr ""
30508
30509 #. type: verbatim
30510 #: ../src/guestfs-actions.pod:6720
30511 #, no-wrap
30512 msgid ""
30513 " int\n"
30514 " guestfs_sleep (guestfs_h *g,\n"
30515 "                int secs);\n"
30516 "\n"
30517 msgstr ""
30518
30519 #. type: textblock
30520 #: ../src/guestfs-actions.pod:6728
30521 msgid "(Added in 1.0.41)"
30522 msgstr ""
30523
30524 #. type: =head2
30525 #: ../src/guestfs-actions.pod:6730 ../src/guestfs-structs.pod:109
30526 msgid "guestfs_stat"
30527 msgstr ""
30528
30529 #. type: verbatim
30530 #: ../src/guestfs-actions.pod:6732
30531 #, no-wrap
30532 msgid ""
30533 " struct guestfs_stat *\n"
30534 " guestfs_stat (guestfs_h *g,\n"
30535 "               const char *path);\n"
30536 "\n"
30537 msgstr ""
30538
30539 #. type: =head2
30540 #: ../src/guestfs-actions.pod:6746 ../src/guestfs-structs.pod:135
30541 msgid "guestfs_statvfs"
30542 msgstr ""
30543
30544 #. type: verbatim
30545 #: ../src/guestfs-actions.pod:6748
30546 #, no-wrap
30547 msgid ""
30548 " struct guestfs_statvfs *\n"
30549 " guestfs_statvfs (guestfs_h *g,\n"
30550 "                  const char *path);\n"
30551 "\n"
30552 msgstr ""
30553
30554 #. type: textblock
30555 #: ../src/guestfs-actions.pod:6758
30556 msgid ""
30557 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
30558 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
30559 msgstr ""
30560
30561 #. type: =head2
30562 #: ../src/guestfs-actions.pod:6764
30563 msgid "guestfs_strings"
30564 msgstr ""
30565
30566 #. type: verbatim
30567 #: ../src/guestfs-actions.pod:6766
30568 #, no-wrap
30569 msgid ""
30570 " char **\n"
30571 " guestfs_strings (guestfs_h *g,\n"
30572 "                  const char *path);\n"
30573 "\n"
30574 msgstr ""
30575
30576 #. type: =head2
30577 #: ../src/guestfs-actions.pod:6782
30578 msgid "guestfs_strings_e"
30579 msgstr ""
30580
30581 #. type: verbatim
30582 #: ../src/guestfs-actions.pod:6784
30583 #, no-wrap
30584 msgid ""
30585 " char **\n"
30586 " guestfs_strings_e (guestfs_h *g,\n"
30587 "                    const char *encoding,\n"
30588 "                    const char *path);\n"
30589 "\n"
30590 msgstr ""
30591
30592 #. type: textblock
30593 #: ../src/guestfs-actions.pod:6789
30594 msgid ""
30595 "This is like the C<guestfs_strings> command, but allows you to specify the "
30596 "encoding of strings that are looked for in the source file C<path>."
30597 msgstr ""
30598
30599 #. type: textblock
30600 #: ../src/guestfs-actions.pod:6799
30601 msgid ""
30602 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
30603 "ISO-8859-X (this is what C<guestfs_strings> uses)."
30604 msgstr ""
30605
30606 #. type: =head2
30607 #: ../src/guestfs-actions.pod:6837
30608 msgid "guestfs_swapoff_device"
30609 msgstr ""
30610
30611 #. type: verbatim
30612 #: ../src/guestfs-actions.pod:6839
30613 #, no-wrap
30614 msgid ""
30615 " int\n"
30616 " guestfs_swapoff_device (guestfs_h *g,\n"
30617 "                         const char *device);\n"
30618 "\n"
30619 msgstr ""
30620
30621 #. type: textblock
30622 #: ../src/guestfs-actions.pod:6843
30623 msgid ""
30624 "This command disables the libguestfs appliance swap device or partition "
30625 "named C<device>.  See C<guestfs_swapon_device>."
30626 msgstr ""
30627
30628 #. type: =head2
30629 #: ../src/guestfs-actions.pod:6851
30630 msgid "guestfs_swapoff_file"
30631 msgstr ""
30632
30633 #. type: verbatim
30634 #: ../src/guestfs-actions.pod:6853
30635 #, no-wrap
30636 msgid ""
30637 " int\n"
30638 " guestfs_swapoff_file (guestfs_h *g,\n"
30639 "                       const char *file);\n"
30640 "\n"
30641 msgstr ""
30642
30643 #. type: =head2
30644 #: ../src/guestfs-actions.pod:6863
30645 msgid "guestfs_swapoff_label"
30646 msgstr ""
30647
30648 #. type: verbatim
30649 #: ../src/guestfs-actions.pod:6865
30650 #, no-wrap
30651 msgid ""
30652 " int\n"
30653 " guestfs_swapoff_label (guestfs_h *g,\n"
30654 "                        const char *label);\n"
30655 "\n"
30656 msgstr ""
30657
30658 #. type: =head2
30659 #: ../src/guestfs-actions.pod:6876
30660 msgid "guestfs_swapoff_uuid"
30661 msgstr ""
30662
30663 #. type: verbatim
30664 #: ../src/guestfs-actions.pod:6878
30665 #, no-wrap
30666 msgid ""
30667 " int\n"
30668 " guestfs_swapoff_uuid (guestfs_h *g,\n"
30669 "                       const char *uuid);\n"
30670 "\n"
30671 msgstr ""
30672
30673 #. type: =head2
30674 #: ../src/guestfs-actions.pod:6889
30675 msgid "guestfs_swapon_device"
30676 msgstr ""
30677
30678 #. type: verbatim
30679 #: ../src/guestfs-actions.pod:6891
30680 #, no-wrap
30681 msgid ""
30682 " int\n"
30683 " guestfs_swapon_device (guestfs_h *g,\n"
30684 "                        const char *device);\n"
30685 "\n"
30686 msgstr ""
30687
30688 #. type: textblock
30689 #: ../src/guestfs-actions.pod:6895
30690 msgid ""
30691 "This command enables the libguestfs appliance to use the swap device or "
30692 "partition named C<device>.  The increased memory is made available for all "
30693 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
30694 msgstr ""
30695
30696 #. type: =head2
30697 #: ../src/guestfs-actions.pod:6911
30698 msgid "guestfs_swapon_file"
30699 msgstr ""
30700
30701 #. type: verbatim
30702 #: ../src/guestfs-actions.pod:6913
30703 #, no-wrap
30704 msgid ""
30705 " int\n"
30706 " guestfs_swapon_file (guestfs_h *g,\n"
30707 "                      const char *file);\n"
30708 "\n"
30709 msgstr ""
30710
30711 #. type: textblock
30712 #: ../src/guestfs-actions.pod:6917
30713 msgid ""
30714 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
30715 "notes."
30716 msgstr ""
30717
30718 #. type: =head2
30719 #: ../src/guestfs-actions.pod:6924
30720 msgid "guestfs_swapon_label"
30721 msgstr ""
30722
30723 #. type: verbatim
30724 #: ../src/guestfs-actions.pod:6926
30725 #, no-wrap
30726 msgid ""
30727 " int\n"
30728 " guestfs_swapon_label (guestfs_h *g,\n"
30729 "                       const char *label);\n"
30730 "\n"
30731 msgstr ""
30732
30733 #. type: textblock
30734 #: ../src/guestfs-actions.pod:6930
30735 msgid ""
30736 "This command enables swap to a labeled swap partition.  See "
30737 "C<guestfs_swapon_device> for other notes."
30738 msgstr ""
30739
30740 #. type: =head2
30741 #: ../src/guestfs-actions.pod:6937
30742 msgid "guestfs_swapon_uuid"
30743 msgstr ""
30744
30745 #. type: verbatim
30746 #: ../src/guestfs-actions.pod:6939
30747 #, no-wrap
30748 msgid ""
30749 " int\n"
30750 " guestfs_swapon_uuid (guestfs_h *g,\n"
30751 "                      const char *uuid);\n"
30752 "\n"
30753 msgstr ""
30754
30755 #. type: textblock
30756 #: ../src/guestfs-actions.pod:6943
30757 msgid ""
30758 "This command enables swap to a swap partition with the given UUID.  See "
30759 "C<guestfs_swapon_device> for other notes."
30760 msgstr ""
30761
30762 #. type: =head2
30763 #: ../src/guestfs-actions.pod:6950
30764 msgid "guestfs_sync"
30765 msgstr ""
30766
30767 #. type: verbatim
30768 #: ../src/guestfs-actions.pod:6952
30769 #, no-wrap
30770 msgid ""
30771 " int\n"
30772 " guestfs_sync (guestfs_h *g);\n"
30773 "\n"
30774 msgstr ""
30775
30776 #. type: =head2
30777 #: ../src/guestfs-actions.pod:6965
30778 msgid "guestfs_tail"
30779 msgstr ""
30780
30781 #. type: verbatim
30782 #: ../src/guestfs-actions.pod:6967
30783 #, no-wrap
30784 msgid ""
30785 " char **\n"
30786 " guestfs_tail (guestfs_h *g,\n"
30787 "               const char *path);\n"
30788 "\n"
30789 msgstr ""
30790
30791 #. type: =head2
30792 #: ../src/guestfs-actions.pod:6983
30793 msgid "guestfs_tail_n"
30794 msgstr ""
30795
30796 #. type: verbatim
30797 #: ../src/guestfs-actions.pod:6985
30798 #, no-wrap
30799 msgid ""
30800 " char **\n"
30801 " guestfs_tail_n (guestfs_h *g,\n"
30802 "                 int nrlines,\n"
30803 "                 const char *path);\n"
30804 "\n"
30805 msgstr ""
30806
30807 #. type: =head2
30808 #: ../src/guestfs-actions.pod:7007
30809 msgid "guestfs_tar_in"
30810 msgstr ""
30811
30812 #. type: verbatim
30813 #: ../src/guestfs-actions.pod:7009
30814 #, no-wrap
30815 msgid ""
30816 " int\n"
30817 " guestfs_tar_in (guestfs_h *g,\n"
30818 "                 const char *tarfile,\n"
30819 "                 const char *directory);\n"
30820 "\n"
30821 msgstr ""
30822
30823 #. type: textblock
30824 #: ../src/guestfs-actions.pod:7017
30825 msgid ""
30826 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
30827 msgstr ""
30828
30829 #. type: textblock
30830 #: ../src/guestfs-actions.pod:7022 ../src/guestfs-actions.pod:7039
30831 #: ../src/guestfs-actions.pod:7055 ../src/guestfs-actions.pod:7071
30832 msgid "(Added in 1.0.3)"
30833 msgstr ""
30834
30835 #. type: =head2
30836 #: ../src/guestfs-actions.pod:7024
30837 msgid "guestfs_tar_out"
30838 msgstr ""
30839
30840 #. type: verbatim
30841 #: ../src/guestfs-actions.pod:7026
30842 #, no-wrap
30843 msgid ""
30844 " int\n"
30845 " guestfs_tar_out (guestfs_h *g,\n"
30846 "                  const char *directory,\n"
30847 "                  const char *tarfile);\n"
30848 "\n"
30849 msgstr ""
30850
30851 #. type: textblock
30852 #: ../src/guestfs-actions.pod:7034
30853 msgid ""
30854 "To download a compressed tarball, use C<guestfs_tgz_out> or "
30855 "C<guestfs_txz_out>."
30856 msgstr ""
30857
30858 #. type: =head2
30859 #: ../src/guestfs-actions.pod:7041
30860 msgid "guestfs_tgz_in"
30861 msgstr ""
30862
30863 #. type: verbatim
30864 #: ../src/guestfs-actions.pod:7043
30865 #, no-wrap
30866 msgid ""
30867 " int\n"
30868 " guestfs_tgz_in (guestfs_h *g,\n"
30869 "                 const char *tarball,\n"
30870 "                 const char *directory);\n"
30871 "\n"
30872 msgstr ""
30873
30874 #. type: textblock
30875 #: ../src/guestfs-actions.pod:7051
30876 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
30877 msgstr ""
30878
30879 #. type: =head2
30880 #: ../src/guestfs-actions.pod:7057
30881 msgid "guestfs_tgz_out"
30882 msgstr ""
30883
30884 #. type: verbatim
30885 #: ../src/guestfs-actions.pod:7059
30886 #, no-wrap
30887 msgid ""
30888 " int\n"
30889 " guestfs_tgz_out (guestfs_h *g,\n"
30890 "                  const char *directory,\n"
30891 "                  const char *tarball);\n"
30892 "\n"
30893 msgstr ""
30894
30895 #. type: textblock
30896 #: ../src/guestfs-actions.pod:7067
30897 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
30898 msgstr ""
30899
30900 #. type: =head2
30901 #: ../src/guestfs-actions.pod:7073
30902 msgid "guestfs_touch"
30903 msgstr ""
30904
30905 #. type: verbatim
30906 #: ../src/guestfs-actions.pod:7075
30907 #, no-wrap
30908 msgid ""
30909 " int\n"
30910 " guestfs_touch (guestfs_h *g,\n"
30911 "                const char *path);\n"
30912 "\n"
30913 msgstr ""
30914
30915 #. type: =head2
30916 #: ../src/guestfs-actions.pod:7090
30917 msgid "guestfs_truncate"
30918 msgstr ""
30919
30920 #. type: verbatim
30921 #: ../src/guestfs-actions.pod:7092
30922 #, no-wrap
30923 msgid ""
30924 " int\n"
30925 " guestfs_truncate (guestfs_h *g,\n"
30926 "                   const char *path);\n"
30927 "\n"
30928 msgstr ""
30929
30930 #. type: =head2
30931 #: ../src/guestfs-actions.pod:7103
30932 msgid "guestfs_truncate_size"
30933 msgstr ""
30934
30935 #. type: verbatim
30936 #: ../src/guestfs-actions.pod:7105
30937 #, no-wrap
30938 msgid ""
30939 " int\n"
30940 " guestfs_truncate_size (guestfs_h *g,\n"
30941 "                        const char *path,\n"
30942 "                        int64_t size);\n"
30943 "\n"
30944 msgstr ""
30945
30946 #. type: textblock
30947 #: ../src/guestfs-actions.pod:7113
30948 msgid ""
30949 "If the current file size is less than C<size> then the file is extended to "
30950 "the required size with zero bytes.  This creates a sparse file (ie. disk "
30951 "blocks are not allocated for the file until you write to it).  To create a "
30952 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
30953 msgstr ""
30954
30955 #. type: =head2
30956 #: ../src/guestfs-actions.pod:7123
30957 msgid "guestfs_tune2fs_l"
30958 msgstr ""
30959
30960 #. type: verbatim
30961 #: ../src/guestfs-actions.pod:7125
30962 #, no-wrap
30963 msgid ""
30964 " char **\n"
30965 " guestfs_tune2fs_l (guestfs_h *g,\n"
30966 "                    const char *device);\n"
30967 "\n"
30968 msgstr ""
30969
30970 #. type: =head2
30971 #: ../src/guestfs-actions.pod:7145
30972 msgid "guestfs_txz_in"
30973 msgstr ""
30974
30975 #. type: verbatim
30976 #: ../src/guestfs-actions.pod:7147
30977 #, no-wrap
30978 msgid ""
30979 " int\n"
30980 " guestfs_txz_in (guestfs_h *g,\n"
30981 "                 const char *tarball,\n"
30982 "                 const char *directory);\n"
30983 "\n"
30984 msgstr ""
30985
30986 #. type: =head2
30987 #: ../src/guestfs-actions.pod:7159
30988 msgid "guestfs_txz_out"
30989 msgstr ""
30990
30991 #. type: verbatim
30992 #: ../src/guestfs-actions.pod:7161
30993 #, no-wrap
30994 msgid ""
30995 " int\n"
30996 " guestfs_txz_out (guestfs_h *g,\n"
30997 "                  const char *directory,\n"
30998 "                  const char *tarball);\n"
30999 "\n"
31000 msgstr ""
31001
31002 #. type: =head2
31003 #: ../src/guestfs-actions.pod:7173
31004 msgid "guestfs_umask"
31005 msgstr ""
31006
31007 #. type: verbatim
31008 #: ../src/guestfs-actions.pod:7175
31009 #, no-wrap
31010 msgid ""
31011 " int\n"
31012 " guestfs_umask (guestfs_h *g,\n"
31013 "                int mask);\n"
31014 "\n"
31015 msgstr ""
31016
31017 #. type: textblock
31018 #: ../src/guestfs-actions.pod:7191
31019 msgid ""
31020 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
31021 "C<guestfs_mkdir>."
31022 msgstr ""
31023
31024 #. type: =head2
31025 #: ../src/guestfs-actions.pod:7200
31026 msgid "guestfs_umount"
31027 msgstr ""
31028
31029 #. type: verbatim
31030 #: ../src/guestfs-actions.pod:7202
31031 #, no-wrap
31032 msgid ""
31033 " int\n"
31034 " guestfs_umount (guestfs_h *g,\n"
31035 "                 const char *pathordevice);\n"
31036 "\n"
31037 msgstr ""
31038
31039 #. type: =head2
31040 #: ../src/guestfs-actions.pod:7214
31041 msgid "guestfs_umount_all"
31042 msgstr ""
31043
31044 #. type: verbatim
31045 #: ../src/guestfs-actions.pod:7216
31046 #, no-wrap
31047 msgid ""
31048 " int\n"
31049 " guestfs_umount_all (guestfs_h *g);\n"
31050 "\n"
31051 msgstr ""
31052
31053 #. type: =head2
31054 #: ../src/guestfs-actions.pod:7227
31055 msgid "guestfs_upload"
31056 msgstr ""
31057
31058 #. type: verbatim
31059 #: ../src/guestfs-actions.pod:7229
31060 #, no-wrap
31061 msgid ""
31062 " int\n"
31063 " guestfs_upload (guestfs_h *g,\n"
31064 "                 const char *filename,\n"
31065 "                 const char *remotefilename);\n"
31066 "\n"
31067 msgstr ""
31068
31069 #. type: textblock
31070 #: ../src/guestfs-actions.pod:7239
31071 msgid "See also C<guestfs_download>."
31072 msgstr ""
31073
31074 #. type: =head2
31075 #: ../src/guestfs-actions.pod:7250
31076 msgid "guestfs_upload_offset"
31077 msgstr ""
31078
31079 #. type: verbatim
31080 #: ../src/guestfs-actions.pod:7252
31081 #, no-wrap
31082 msgid ""
31083 " int\n"
31084 " guestfs_upload_offset (guestfs_h *g,\n"
31085 "                        const char *filename,\n"
31086 "                        const char *remotefilename,\n"
31087 "                        int64_t offset);\n"
31088 "\n"
31089 msgstr ""
31090
31091 #. type: textblock
31092 #: ../src/guestfs-actions.pod:7268
31093 msgid ""
31094 "Note that there is no limit on the amount of data that can be uploaded with "
31095 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
31096 "full amount unless an error occurs."
31097 msgstr ""
31098
31099 #. type: textblock
31100 #: ../src/guestfs-actions.pod:7273
31101 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
31102 msgstr ""
31103
31104 #. type: =head2
31105 #: ../src/guestfs-actions.pod:7284
31106 msgid "guestfs_utimens"
31107 msgstr ""
31108
31109 #. type: verbatim
31110 #: ../src/guestfs-actions.pod:7286
31111 #, no-wrap
31112 msgid ""
31113 " int\n"
31114 " guestfs_utimens (guestfs_h *g,\n"
31115 "                  const char *path,\n"
31116 "                  int64_t atsecs,\n"
31117 "                  int64_t atnsecs,\n"
31118 "                  int64_t mtsecs,\n"
31119 "                  int64_t mtnsecs);\n"
31120 "\n"
31121 msgstr ""
31122
31123 #. type: =head2
31124 #: ../src/guestfs-actions.pod:7315 ../src/guestfs-structs.pod:175
31125 msgid "guestfs_version"
31126 msgstr ""
31127
31128 #. type: verbatim
31129 #: ../src/guestfs-actions.pod:7317
31130 #, no-wrap
31131 msgid ""
31132 " struct guestfs_version *\n"
31133 " guestfs_version (guestfs_h *g);\n"
31134 "\n"
31135 msgstr ""
31136
31137 #. type: textblock
31138 #: ../src/guestfs-actions.pod:7345
31139 msgid ""
31140 "I<Note:> Don't use this call to test for availability of features.  In "
31141 "enterprise distributions we backport features from later versions into "
31142 "earlier versions, making this an unreliable way to test for features.  Use "
31143 "C<guestfs_available> instead."
31144 msgstr ""
31145
31146 #. type: textblock
31147 #: ../src/guestfs-actions.pod:7351
31148 msgid ""
31149 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
31150 "error.  I<The caller must call C<guestfs_free_version> after use>."
31151 msgstr ""
31152
31153 #. type: textblock
31154 #: ../src/guestfs-actions.pod:7355
31155 msgid "(Added in 1.0.58)"
31156 msgstr ""
31157
31158 #. type: =head2
31159 #: ../src/guestfs-actions.pod:7357
31160 msgid "guestfs_vfs_label"
31161 msgstr ""
31162
31163 #. type: verbatim
31164 #: ../src/guestfs-actions.pod:7359
31165 #, no-wrap
31166 msgid ""
31167 " char *\n"
31168 " guestfs_vfs_label (guestfs_h *g,\n"
31169 "                    const char *device);\n"
31170 "\n"
31171 msgstr ""
31172
31173 #. type: textblock
31174 #: ../src/guestfs-actions.pod:7368
31175 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
31176 msgstr ""
31177
31178 #. type: textblock
31179 #: ../src/guestfs-actions.pod:7373 ../src/guestfs-actions.pod:7410
31180 msgid "(Added in 1.3.18)"
31181 msgstr ""
31182
31183 #. type: =head2
31184 #: ../src/guestfs-actions.pod:7375
31185 msgid "guestfs_vfs_type"
31186 msgstr ""
31187
31188 #. type: verbatim
31189 #: ../src/guestfs-actions.pod:7377
31190 #, no-wrap
31191 msgid ""
31192 " char *\n"
31193 " guestfs_vfs_type (guestfs_h *g,\n"
31194 "                   const char *device);\n"
31195 "\n"
31196 msgstr ""
31197
31198 #. type: =head2
31199 #: ../src/guestfs-actions.pod:7394
31200 msgid "guestfs_vfs_uuid"
31201 msgstr ""
31202
31203 #. type: verbatim
31204 #: ../src/guestfs-actions.pod:7396
31205 #, no-wrap
31206 msgid ""
31207 " char *\n"
31208 " guestfs_vfs_uuid (guestfs_h *g,\n"
31209 "                   const char *device);\n"
31210 "\n"
31211 msgstr ""
31212
31213 #. type: textblock
31214 #: ../src/guestfs-actions.pod:7405
31215 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
31216 msgstr ""
31217
31218 #. type: =head2
31219 #: ../src/guestfs-actions.pod:7412
31220 msgid "guestfs_vg_activate"
31221 msgstr ""
31222
31223 #. type: verbatim
31224 #: ../src/guestfs-actions.pod:7414
31225 #, no-wrap
31226 msgid ""
31227 " int\n"
31228 " guestfs_vg_activate (guestfs_h *g,\n"
31229 "                      int activate,\n"
31230 "                      char *const *volgroups);\n"
31231 "\n"
31232 msgstr ""
31233
31234 #. type: =head2
31235 #: ../src/guestfs-actions.pod:7431
31236 msgid "guestfs_vg_activate_all"
31237 msgstr ""
31238
31239 #. type: verbatim
31240 #: ../src/guestfs-actions.pod:7433
31241 #, no-wrap
31242 msgid ""
31243 " int\n"
31244 " guestfs_vg_activate_all (guestfs_h *g,\n"
31245 "                          int activate);\n"
31246 "\n"
31247 msgstr ""
31248
31249 #. type: =head2
31250 #: ../src/guestfs-actions.pod:7446
31251 msgid "guestfs_vgcreate"
31252 msgstr ""
31253
31254 #. type: verbatim
31255 #: ../src/guestfs-actions.pod:7448
31256 #, no-wrap
31257 msgid ""
31258 " int\n"
31259 " guestfs_vgcreate (guestfs_h *g,\n"
31260 "                   const char *volgroup,\n"
31261 "                   char *const *physvols);\n"
31262 "\n"
31263 msgstr ""
31264
31265 #. type: =head2
31266 #: ../src/guestfs-actions.pod:7460
31267 msgid "guestfs_vglvuuids"
31268 msgstr ""
31269
31270 #. type: verbatim
31271 #: ../src/guestfs-actions.pod:7462
31272 #, no-wrap
31273 msgid ""
31274 " char **\n"
31275 " guestfs_vglvuuids (guestfs_h *g,\n"
31276 "                    const char *vgname);\n"
31277 "\n"
31278 msgstr ""
31279
31280 #. type: textblock
31281 #: ../src/guestfs-actions.pod:7469
31282 msgid ""
31283 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
31284 "associate logical volumes and volume groups."
31285 msgstr ""
31286
31287 #. type: textblock
31288 #: ../src/guestfs-actions.pod:7472
31289 msgid "See also C<guestfs_vgpvuuids>."
31290 msgstr ""
31291
31292 #. type: =head2
31293 #: ../src/guestfs-actions.pod:7480
31294 msgid "guestfs_vgpvuuids"
31295 msgstr ""
31296
31297 #. type: verbatim
31298 #: ../src/guestfs-actions.pod:7482
31299 #, no-wrap
31300 msgid ""
31301 " char **\n"
31302 " guestfs_vgpvuuids (guestfs_h *g,\n"
31303 "                    const char *vgname);\n"
31304 "\n"
31305 msgstr ""
31306
31307 #. type: textblock
31308 #: ../src/guestfs-actions.pod:7489
31309 msgid ""
31310 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
31311 "associate physical volumes and volume groups."
31312 msgstr ""
31313
31314 #. type: textblock
31315 #: ../src/guestfs-actions.pod:7492
31316 msgid "See also C<guestfs_vglvuuids>."
31317 msgstr ""
31318
31319 #. type: =head2
31320 #: ../src/guestfs-actions.pod:7500
31321 msgid "guestfs_vgremove"
31322 msgstr ""
31323
31324 #. type: verbatim
31325 #: ../src/guestfs-actions.pod:7502
31326 #, no-wrap
31327 msgid ""
31328 " int\n"
31329 " guestfs_vgremove (guestfs_h *g,\n"
31330 "                   const char *vgname);\n"
31331 "\n"
31332 msgstr ""
31333
31334 #. type: =head2
31335 #: ../src/guestfs-actions.pod:7515
31336 msgid "guestfs_vgrename"
31337 msgstr ""
31338
31339 #. type: verbatim
31340 #: ../src/guestfs-actions.pod:7517
31341 #, no-wrap
31342 msgid ""
31343 " int\n"
31344 " guestfs_vgrename (guestfs_h *g,\n"
31345 "                   const char *volgroup,\n"
31346 "                   const char *newvolgroup);\n"
31347 "\n"
31348 msgstr ""
31349
31350 #. type: =head2
31351 #: ../src/guestfs-actions.pod:7528
31352 msgid "guestfs_vgs"
31353 msgstr ""
31354
31355 #. type: verbatim
31356 #: ../src/guestfs-actions.pod:7530
31357 #, no-wrap
31358 msgid ""
31359 " char **\n"
31360 " guestfs_vgs (guestfs_h *g);\n"
31361 "\n"
31362 msgstr ""
31363
31364 #. type: textblock
31365 #: ../src/guestfs-actions.pod:7539
31366 msgid "See also C<guestfs_vgs_full>."
31367 msgstr ""
31368
31369 #. type: =head2
31370 #: ../src/guestfs-actions.pod:7547
31371 msgid "guestfs_vgs_full"
31372 msgstr ""
31373
31374 #. type: verbatim
31375 #: ../src/guestfs-actions.pod:7549
31376 #, no-wrap
31377 msgid ""
31378 " struct guestfs_lvm_vg_list *\n"
31379 " guestfs_vgs_full (guestfs_h *g);\n"
31380 "\n"
31381 msgstr ""
31382
31383 #. type: textblock
31384 #: ../src/guestfs-actions.pod:7555
31385 msgid ""
31386 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
31387 "was an error.  I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
31388 msgstr ""
31389
31390 #. type: =head2
31391 #: ../src/guestfs-actions.pod:7561
31392 msgid "guestfs_vgscan"
31393 msgstr ""
31394
31395 #. type: verbatim
31396 #: ../src/guestfs-actions.pod:7563
31397 #, no-wrap
31398 msgid ""
31399 " int\n"
31400 " guestfs_vgscan (guestfs_h *g);\n"
31401 "\n"
31402 msgstr ""
31403
31404 #. type: =head2
31405 #: ../src/guestfs-actions.pod:7573
31406 msgid "guestfs_vguuid"
31407 msgstr ""
31408
31409 #. type: verbatim
31410 #: ../src/guestfs-actions.pod:7575
31411 #, no-wrap
31412 msgid ""
31413 " char *\n"
31414 " guestfs_vguuid (guestfs_h *g,\n"
31415 "                 const char *vgname);\n"
31416 "\n"
31417 msgstr ""
31418
31419 #. type: =head2
31420 #: ../src/guestfs-actions.pod:7586
31421 msgid "guestfs_wait_ready"
31422 msgstr ""
31423
31424 #. type: verbatim
31425 #: ../src/guestfs-actions.pod:7588
31426 #, no-wrap
31427 msgid ""
31428 " int\n"
31429 " guestfs_wait_ready (guestfs_h *g);\n"
31430 "\n"
31431 msgstr ""
31432
31433 #. type: textblock
31434 #: ../src/guestfs-actions.pod:7591
31435 msgid ""
31436 "I<This function is deprecated.> In new code, use the L</guestfs_launch> call "
31437 "instead."
31438 msgstr ""
31439
31440 #. type: textblock
31441 #: ../src/guestfs-actions.pod:7598
31442 msgid "This function is a no op."
31443 msgstr ""
31444
31445 #. type: textblock
31446 #: ../src/guestfs-actions.pod:7600
31447 msgid ""
31448 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
31449 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
31450 "is no longer necessary because C<guestfs_launch> now does the waiting."
31451 msgstr ""
31452
31453 #. type: textblock
31454 #: ../src/guestfs-actions.pod:7605
31455 msgid ""
31456 "If you see any calls to this function in code then you can just remove them, "
31457 "unless you want to retain compatibility with older versions of the API."
31458 msgstr ""
31459
31460 #. type: =head2
31461 #: ../src/guestfs-actions.pod:7613
31462 msgid "guestfs_wc_c"
31463 msgstr ""
31464
31465 #. type: verbatim
31466 #: ../src/guestfs-actions.pod:7615
31467 #, no-wrap
31468 msgid ""
31469 " int\n"
31470 " guestfs_wc_c (guestfs_h *g,\n"
31471 "               const char *path);\n"
31472 "\n"
31473 msgstr ""
31474
31475 #. type: =head2
31476 #: ../src/guestfs-actions.pod:7626
31477 msgid "guestfs_wc_l"
31478 msgstr ""
31479
31480 #. type: verbatim
31481 #: ../src/guestfs-actions.pod:7628
31482 #, no-wrap
31483 msgid ""
31484 " int\n"
31485 " guestfs_wc_l (guestfs_h *g,\n"
31486 "               const char *path);\n"
31487 "\n"
31488 msgstr ""
31489
31490 #. type: =head2
31491 #: ../src/guestfs-actions.pod:7639
31492 msgid "guestfs_wc_w"
31493 msgstr ""
31494
31495 #. type: verbatim
31496 #: ../src/guestfs-actions.pod:7641
31497 #, no-wrap
31498 msgid ""
31499 " int\n"
31500 " guestfs_wc_w (guestfs_h *g,\n"
31501 "               const char *path);\n"
31502 "\n"
31503 msgstr ""
31504
31505 #. type: =head2
31506 #: ../src/guestfs-actions.pod:7652
31507 msgid "guestfs_write"
31508 msgstr ""
31509
31510 #. type: verbatim
31511 #: ../src/guestfs-actions.pod:7654
31512 #, no-wrap
31513 msgid ""
31514 " int\n"
31515 " guestfs_write (guestfs_h *g,\n"
31516 "                const char *path,\n"
31517 "                const char *content,\n"
31518 "                size_t content_size);\n"
31519 "\n"
31520 msgstr ""
31521
31522 #. type: textblock
31523 #: ../src/guestfs-actions.pod:7663
31524 msgid "See also C<guestfs_write_append>."
31525 msgstr ""
31526
31527 #. type: =head2
31528 #: ../src/guestfs-actions.pod:7672
31529 msgid "guestfs_write_append"
31530 msgstr ""
31531
31532 #. type: verbatim
31533 #: ../src/guestfs-actions.pod:7674
31534 #, no-wrap
31535 msgid ""
31536 " int\n"
31537 " guestfs_write_append (guestfs_h *g,\n"
31538 "                       const char *path,\n"
31539 "                       const char *content,\n"
31540 "                       size_t content_size);\n"
31541 "\n"
31542 msgstr ""
31543
31544 #. type: textblock
31545 #: ../src/guestfs-actions.pod:7683
31546 msgid "See also C<guestfs_write>."
31547 msgstr ""
31548
31549 #. type: =head2
31550 #: ../src/guestfs-actions.pod:7692
31551 msgid "guestfs_write_file"
31552 msgstr "guestfs_write_file"
31553
31554 #. type: verbatim
31555 #: ../src/guestfs-actions.pod:7694
31556 #, no-wrap
31557 msgid ""
31558 " int\n"
31559 " guestfs_write_file (guestfs_h *g,\n"
31560 "                     const char *path,\n"
31561 "                     const char *content,\n"
31562 "                     int size);\n"
31563 "\n"
31564 msgstr ""
31565 " int\n"
31566 " guestfs_write_file (guestfs_h *g,\n"
31567 "                     const char *path,\n"
31568 "                     const char *content,\n"
31569 "                     int size);\n"
31570 "\n"
31571
31572 #. type: textblock
31573 #: ../src/guestfs-actions.pod:7700
31574 msgid ""
31575 "I<This function is deprecated.> In new code, use the L</guestfs_write> call "
31576 "instead."
31577 msgstr ""
31578
31579 #. type: =head2
31580 #: ../src/guestfs-actions.pod:7725
31581 msgid "guestfs_zegrep"
31582 msgstr "guestfs_zegrep"
31583
31584 #. type: verbatim
31585 #: ../src/guestfs-actions.pod:7727
31586 #, no-wrap
31587 msgid ""
31588 " char **\n"
31589 " guestfs_zegrep (guestfs_h *g,\n"
31590 "                 const char *regex,\n"
31591 "                 const char *path);\n"
31592 "\n"
31593 msgstr ""
31594 " char **\n"
31595 " guestfs_zegrep (guestfs_h *g,\n"
31596 "                 const char *regex,\n"
31597 "                 const char *path);\n"
31598 "\n"
31599
31600 #. type: =head2
31601 #: ../src/guestfs-actions.pod:7744
31602 msgid "guestfs_zegrepi"
31603 msgstr "guestfs_zegrepi"
31604
31605 #. type: verbatim
31606 #: ../src/guestfs-actions.pod:7746
31607 #, no-wrap
31608 msgid ""
31609 " char **\n"
31610 " guestfs_zegrepi (guestfs_h *g,\n"
31611 "                  const char *regex,\n"
31612 "                  const char *path);\n"
31613 "\n"
31614 msgstr ""
31615 " char **\n"
31616 " guestfs_zegrepi (guestfs_h *g,\n"
31617 "                  const char *regex,\n"
31618 "                  const char *path);\n"
31619 "\n"
31620
31621 #. type: =head2
31622 #: ../src/guestfs-actions.pod:7763
31623 msgid "guestfs_zero"
31624 msgstr "guestfs_zero"
31625
31626 #. type: verbatim
31627 #: ../src/guestfs-actions.pod:7765
31628 #, no-wrap
31629 msgid ""
31630 " int\n"
31631 " guestfs_zero (guestfs_h *g,\n"
31632 "               const char *device);\n"
31633 "\n"
31634 msgstr ""
31635 " int\n"
31636 " guestfs_zero (guestfs_h *g,\n"
31637 "               const char *device);\n"
31638 "\n"
31639
31640 #. type: textblock
31641 #: ../src/guestfs-actions.pod:7779
31642 msgid ""
31643 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
31644 "C<guestfs_is_zero_device>"
31645 msgstr ""
31646
31647 #. type: =head2
31648 #: ../src/guestfs-actions.pod:7791
31649 msgid "guestfs_zero_device"
31650 msgstr "guestfs_zero_device"
31651
31652 #. type: verbatim
31653 #: ../src/guestfs-actions.pod:7793
31654 #, no-wrap
31655 msgid ""
31656 " int\n"
31657 " guestfs_zero_device (guestfs_h *g,\n"
31658 "                      const char *device);\n"
31659 "\n"
31660 msgstr ""
31661 " int\n"
31662 " guestfs_zero_device (guestfs_h *g,\n"
31663 "                      const char *device);\n"
31664 "\n"
31665
31666 #. type: textblock
31667 #: ../src/guestfs-actions.pod:7797
31668 msgid ""
31669 "This command writes zeroes over the entire C<device>.  Compare with "
31670 "C<guestfs_zero> which just zeroes the first few blocks of a device."
31671 msgstr ""
31672
31673 #. type: textblock
31674 #: ../src/guestfs-actions.pod:7815
31675 msgid "(Added in 1.3.1)"
31676 msgstr "(Додано у 1.3.1)"
31677
31678 #. type: =head2
31679 #: ../src/guestfs-actions.pod:7817
31680 msgid "guestfs_zerofree"
31681 msgstr "guestfs_zerofree"
31682
31683 #. type: verbatim
31684 #: ../src/guestfs-actions.pod:7819
31685 #, no-wrap
31686 msgid ""
31687 " int\n"
31688 " guestfs_zerofree (guestfs_h *g,\n"
31689 "                   const char *device);\n"
31690 "\n"
31691 msgstr ""
31692 " int\n"
31693 " guestfs_zerofree (guestfs_h *g,\n"
31694 "                   const char *device);\n"
31695 "\n"
31696
31697 #. type: =head2
31698 #: ../src/guestfs-actions.pod:7838
31699 msgid "guestfs_zfgrep"
31700 msgstr "guestfs_zfgrep"
31701
31702 #. type: verbatim
31703 #: ../src/guestfs-actions.pod:7840
31704 #, no-wrap
31705 msgid ""
31706 " char **\n"
31707 " guestfs_zfgrep (guestfs_h *g,\n"
31708 "                 const char *pattern,\n"
31709 "                 const char *path);\n"
31710 "\n"
31711 msgstr ""
31712 " char **\n"
31713 " guestfs_zfgrep (guestfs_h *g,\n"
31714 "                 const char *pattern,\n"
31715 "                 const char *path);\n"
31716 "\n"
31717
31718 #. type: =head2
31719 #: ../src/guestfs-actions.pod:7857
31720 msgid "guestfs_zfgrepi"
31721 msgstr "guestfs_zfgrepi"
31722
31723 #. type: verbatim
31724 #: ../src/guestfs-actions.pod:7859
31725 #, no-wrap
31726 msgid ""
31727 " char **\n"
31728 " guestfs_zfgrepi (guestfs_h *g,\n"
31729 "                  const char *pattern,\n"
31730 "                  const char *path);\n"
31731 "\n"
31732 msgstr ""
31733 " char **\n"
31734 " guestfs_zfgrepi (guestfs_h *g,\n"
31735 "                  const char *pattern,\n"
31736 "                  const char *path);\n"
31737 "\n"
31738
31739 #. type: =head2
31740 #: ../src/guestfs-actions.pod:7876
31741 msgid "guestfs_zfile"
31742 msgstr "guestfs_zfile"
31743
31744 #. type: verbatim
31745 #: ../src/guestfs-actions.pod:7878
31746 #, no-wrap
31747 msgid ""
31748 " char *\n"
31749 " guestfs_zfile (guestfs_h *g,\n"
31750 "                const char *meth,\n"
31751 "                const char *path);\n"
31752 "\n"
31753 msgstr ""
31754 " char *\n"
31755 " guestfs_zfile (guestfs_h *g,\n"
31756 "                const char *meth,\n"
31757 "                const char *path);\n"
31758 "\n"
31759
31760 #. type: textblock
31761 #: ../src/guestfs-actions.pod:7883
31762 msgid ""
31763 "I<This function is deprecated.> In new code, use the L</guestfs_file> call "
31764 "instead."
31765 msgstr ""
31766
31767 #. type: textblock
31768 #: ../src/guestfs-actions.pod:7895
31769 msgid ""
31770 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
31771 "files."
31772 msgstr ""
31773
31774 #. type: =head2
31775 #: ../src/guestfs-actions.pod:7903
31776 msgid "guestfs_zgrep"
31777 msgstr "guestfs_zgrep"
31778
31779 #. type: verbatim
31780 #: ../src/guestfs-actions.pod:7905
31781 #, no-wrap
31782 msgid ""
31783 " char **\n"
31784 " guestfs_zgrep (guestfs_h *g,\n"
31785 "                const char *regex,\n"
31786 "                const char *path);\n"
31787 "\n"
31788 msgstr ""
31789 " char **\n"
31790 " guestfs_zgrep (guestfs_h *g,\n"
31791 "                const char *regex,\n"
31792 "                const char *path);\n"
31793 "\n"
31794
31795 #. type: =head2
31796 #: ../src/guestfs-actions.pod:7922
31797 msgid "guestfs_zgrepi"
31798 msgstr "guestfs_zgrepi"
31799
31800 #. type: verbatim
31801 #: ../src/guestfs-actions.pod:7924
31802 #, no-wrap
31803 msgid ""
31804 " char **\n"
31805 " guestfs_zgrepi (guestfs_h *g,\n"
31806 "                 const char *regex,\n"
31807 "                 const char *path);\n"
31808 "\n"
31809 msgstr ""
31810 " char **\n"
31811 " guestfs_zgrepi (guestfs_h *g,\n"
31812 "                 const char *regex,\n"
31813 "                 const char *path);\n"
31814 "\n"
31815
31816 #. type: =item
31817 #: ../src/guestfs-availability.pod:3
31818 msgid "B<augeas>"
31819 msgstr "B<augeas>"
31820
31821 #. type: textblock
31822 #: ../src/guestfs-availability.pod:5
31823 msgid ""
31824 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
31825 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
31826 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
31827 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
31828 "L</guestfs_aug_save> L</guestfs_aug_set>"
31829 msgstr ""
31830
31831 #. type: =item
31832 #: ../src/guestfs-availability.pod:21
31833 msgid "B<btrfs>"
31834 msgstr ""
31835
31836 #. type: textblock
31837 #: ../src/guestfs-availability.pod:23
31838 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
31839 msgstr ""
31840
31841 #. type: =item
31842 #: ../src/guestfs-availability.pod:26
31843 msgid "B<inotify>"
31844 msgstr "B<inotify>"
31845
31846 #. type: textblock
31847 #: ../src/guestfs-availability.pod:28
31848 msgid ""
31849 "The following functions: L</guestfs_inotify_add_watch> L</"
31850 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
31851 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
31852 msgstr ""
31853
31854 #. type: =item
31855 #: ../src/guestfs-availability.pod:36
31856 msgid "B<linuxfsuuid>"
31857 msgstr "B<linuxfsuuid>"
31858
31859 #. type: textblock
31860 #: ../src/guestfs-availability.pod:38
31861 msgid ""
31862 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
31863 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
31864 msgstr ""
31865
31866 #. type: =item
31867 #: ../src/guestfs-availability.pod:45
31868 msgid "B<linuxmodules>"
31869 msgstr "B<linuxmodules>"
31870
31871 #. type: textblock
31872 #: ../src/guestfs-availability.pod:47
31873 msgid "The following functions: L</guestfs_modprobe>"
31874 msgstr ""
31875
31876 #. type: =item
31877 #: ../src/guestfs-availability.pod:50
31878 msgid "B<linuxxattrs>"
31879 msgstr "B<linuxxattrs>"
31880
31881 #. type: textblock
31882 #: ../src/guestfs-availability.pod:52
31883 msgid ""
31884 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
31885 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
31886 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
31887 "guestfs_setxattr>"
31888 msgstr ""
31889
31890 #. type: =item
31891 #: ../src/guestfs-availability.pod:63
31892 msgid "B<luks>"
31893 msgstr "B<luks>"
31894
31895 #. type: textblock
31896 #: ../src/guestfs-availability.pod:65
31897 msgid ""
31898 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
31899 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
31900 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
31901 msgstr ""
31902
31903 #. type: =item
31904 #: ../src/guestfs-availability.pod:74
31905 msgid "B<lvm2>"
31906 msgstr "B<lvm2>"
31907
31908 #. type: textblock
31909 #: ../src/guestfs-availability.pod:76
31910 msgid ""
31911 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
31912 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
31913 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
31914 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
31915 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
31916 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
31917 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
31918 msgstr ""
31919
31920 #. type: =item
31921 #: ../src/guestfs-availability.pod:99
31922 msgid "B<mknod>"
31923 msgstr "B<mknod>"
31924
31925 #. type: textblock
31926 #: ../src/guestfs-availability.pod:101
31927 msgid ""
31928 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
31929 "guestfs_mknod_b> L</guestfs_mknod_c>"
31930 msgstr ""
31931
31932 #. type: =item
31933 #: ../src/guestfs-availability.pod:107
31934 msgid "B<ntfs3g>"
31935 msgstr "B<ntfs3g>"
31936
31937 #. type: textblock
31938 #: ../src/guestfs-availability.pod:109
31939 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
31940 msgstr ""
31941
31942 #. type: =item
31943 #: ../src/guestfs-availability.pod:112
31944 msgid "B<ntfsprogs>"
31945 msgstr "B<ntfsprogs>"
31946
31947 #. type: textblock
31948 #: ../src/guestfs-availability.pod:114
31949 msgid ""
31950 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
31951 "L</guestfs_ntfsresize_size>"
31952 msgstr ""
31953
31954 #. type: =item
31955 #: ../src/guestfs-availability.pod:119
31956 msgid "B<realpath>"
31957 msgstr "B<realpath>"
31958
31959 #. type: textblock
31960 #: ../src/guestfs-availability.pod:121
31961 msgid "The following functions: L</guestfs_realpath>"
31962 msgstr ""
31963
31964 #. type: =item
31965 #: ../src/guestfs-availability.pod:124
31966 msgid "B<scrub>"
31967 msgstr "B<scrub>"
31968
31969 #. type: textblock
31970 #: ../src/guestfs-availability.pod:126
31971 msgid ""
31972 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
31973 "guestfs_scrub_freespace>"
31974 msgstr ""
31975
31976 #. type: =item
31977 #: ../src/guestfs-availability.pod:131
31978 msgid "B<selinux>"
31979 msgstr "B<selinux>"
31980
31981 #. type: textblock
31982 #: ../src/guestfs-availability.pod:133
31983 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
31984 msgstr ""
31985
31986 #. type: =item
31987 #: ../src/guestfs-availability.pod:137
31988 msgid "B<xz>"
31989 msgstr "B<xz>"
31990
31991 #. type: textblock
31992 #: ../src/guestfs-availability.pod:139
31993 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
31994 msgstr ""
31995
31996 #. type: =item
31997 #: ../src/guestfs-availability.pod:143
31998 msgid "B<zerofree>"
31999 msgstr "B<zerofree>"
32000
32001 #. type: textblock
32002 #: ../src/guestfs-availability.pod:145
32003 msgid "The following functions: L</guestfs_zerofree>"
32004 msgstr ""
32005
32006 #. type: =head2
32007 #: ../src/guestfs-structs.pod:1
32008 msgid "guestfs_int_bool"
32009 msgstr ""
32010
32011 #. type: verbatim
32012 #: ../src/guestfs-structs.pod:3
32013 #, no-wrap
32014 msgid ""
32015 " struct guestfs_int_bool {\n"
32016 "   int32_t i;\n"
32017 "   int32_t b;\n"
32018 " };\n"
32019 " \n"
32020 msgstr ""
32021
32022 #. type: verbatim
32023 #: ../src/guestfs-structs.pod:8
32024 #, no-wrap
32025 msgid ""
32026 " struct guestfs_int_bool_list {\n"
32027 "   uint32_t len; /* Number of elements in list. */\n"
32028 "   struct guestfs_int_bool *val; /* Elements. */\n"
32029 " };\n"
32030 " \n"
32031 msgstr ""
32032
32033 #. type: verbatim
32034 #: ../src/guestfs-structs.pod:13
32035 #, no-wrap
32036 msgid ""
32037 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
32038 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
32039 "\n"
32040 msgstr ""
32041
32042 #. type: =head2
32043 #: ../src/guestfs-structs.pod:16
32044 msgid "guestfs_lvm_pv"
32045 msgstr ""
32046
32047 #. type: verbatim
32048 #: ../src/guestfs-structs.pod:18
32049 #, no-wrap
32050 msgid ""
32051 " struct guestfs_lvm_pv {\n"
32052 "   char *pv_name;\n"
32053 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
32054 "   char pv_uuid[32];\n"
32055 "   char *pv_fmt;\n"
32056 "   uint64_t pv_size;\n"
32057 "   uint64_t dev_size;\n"
32058 "   uint64_t pv_free;\n"
32059 "   uint64_t pv_used;\n"
32060 "   char *pv_attr;\n"
32061 "   int64_t pv_pe_count;\n"
32062 "   int64_t pv_pe_alloc_count;\n"
32063 "   char *pv_tags;\n"
32064 "   uint64_t pe_start;\n"
32065 "   int64_t pv_mda_count;\n"
32066 "   uint64_t pv_mda_free;\n"
32067 " };\n"
32068 " \n"
32069 msgstr ""
32070
32071 #. type: verbatim
32072 #: ../src/guestfs-structs.pod:36
32073 #, no-wrap
32074 msgid ""
32075 " struct guestfs_lvm_pv_list {\n"
32076 "   uint32_t len; /* Number of elements in list. */\n"
32077 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
32078 " };\n"
32079 " \n"
32080 msgstr ""
32081
32082 #. type: verbatim
32083 #: ../src/guestfs-structs.pod:41
32084 #, no-wrap
32085 msgid ""
32086 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
32087 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
32088 "\n"
32089 msgstr ""
32090
32091 #. type: =head2
32092 #: ../src/guestfs-structs.pod:44
32093 msgid "guestfs_lvm_vg"
32094 msgstr ""
32095
32096 #. type: verbatim
32097 #: ../src/guestfs-structs.pod:46
32098 #, no-wrap
32099 msgid ""
32100 " struct guestfs_lvm_vg {\n"
32101 "   char *vg_name;\n"
32102 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
32103 "   char vg_uuid[32];\n"
32104 "   char *vg_fmt;\n"
32105 "   char *vg_attr;\n"
32106 "   uint64_t vg_size;\n"
32107 "   uint64_t vg_free;\n"
32108 "   char *vg_sysid;\n"
32109 "   uint64_t vg_extent_size;\n"
32110 "   int64_t vg_extent_count;\n"
32111 "   int64_t vg_free_count;\n"
32112 "   int64_t max_lv;\n"
32113 "   int64_t max_pv;\n"
32114 "   int64_t pv_count;\n"
32115 "   int64_t lv_count;\n"
32116 "   int64_t snap_count;\n"
32117 "   int64_t vg_seqno;\n"
32118 "   char *vg_tags;\n"
32119 "   int64_t vg_mda_count;\n"
32120 "   uint64_t vg_mda_free;\n"
32121 " };\n"
32122 " \n"
32123 msgstr ""
32124
32125 #. type: verbatim
32126 #: ../src/guestfs-structs.pod:69
32127 #, no-wrap
32128 msgid ""
32129 " struct guestfs_lvm_vg_list {\n"
32130 "   uint32_t len; /* Number of elements in list. */\n"
32131 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
32132 " };\n"
32133 " \n"
32134 msgstr ""
32135
32136 #. type: verbatim
32137 #: ../src/guestfs-structs.pod:74
32138 #, no-wrap
32139 msgid ""
32140 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
32141 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
32142 "\n"
32143 msgstr ""
32144
32145 #. type: =head2
32146 #: ../src/guestfs-structs.pod:77
32147 msgid "guestfs_lvm_lv"
32148 msgstr ""
32149
32150 #. type: verbatim
32151 #: ../src/guestfs-structs.pod:79
32152 #, no-wrap
32153 msgid ""
32154 " struct guestfs_lvm_lv {\n"
32155 "   char *lv_name;\n"
32156 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
32157 "   char lv_uuid[32];\n"
32158 "   char *lv_attr;\n"
32159 "   int64_t lv_major;\n"
32160 "   int64_t lv_minor;\n"
32161 "   int64_t lv_kernel_major;\n"
32162 "   int64_t lv_kernel_minor;\n"
32163 "   uint64_t lv_size;\n"
32164 "   int64_t seg_count;\n"
32165 "   char *origin;\n"
32166 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
32167 "   float snap_percent;\n"
32168 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
32169 "   float copy_percent;\n"
32170 "   char *move_pv;\n"
32171 "   char *lv_tags;\n"
32172 "   char *mirror_log;\n"
32173 "   char *modules;\n"
32174 " };\n"
32175 " \n"
32176 msgstr ""
32177
32178 #. type: verbatim
32179 #: ../src/guestfs-structs.pod:101
32180 #, no-wrap
32181 msgid ""
32182 " struct guestfs_lvm_lv_list {\n"
32183 "   uint32_t len; /* Number of elements in list. */\n"
32184 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
32185 " };\n"
32186 " \n"
32187 msgstr ""
32188
32189 #. type: verbatim
32190 #: ../src/guestfs-structs.pod:106
32191 #, no-wrap
32192 msgid ""
32193 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
32194 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
32195 "\n"
32196 msgstr ""
32197
32198 #. type: verbatim
32199 #: ../src/guestfs-structs.pod:111
32200 #, no-wrap
32201 msgid ""
32202 " struct guestfs_stat {\n"
32203 "   int64_t dev;\n"
32204 "   int64_t ino;\n"
32205 "   int64_t mode;\n"
32206 "   int64_t nlink;\n"
32207 "   int64_t uid;\n"
32208 "   int64_t gid;\n"
32209 "   int64_t rdev;\n"
32210 "   int64_t size;\n"
32211 "   int64_t blksize;\n"
32212 "   int64_t blocks;\n"
32213 "   int64_t atime;\n"
32214 "   int64_t mtime;\n"
32215 "   int64_t ctime;\n"
32216 " };\n"
32217 " \n"
32218 msgstr ""
32219
32220 #. type: verbatim
32221 #: ../src/guestfs-structs.pod:127
32222 #, no-wrap
32223 msgid ""
32224 " struct guestfs_stat_list {\n"
32225 "   uint32_t len; /* Number of elements in list. */\n"
32226 "   struct guestfs_stat *val; /* Elements. */\n"
32227 " };\n"
32228 " \n"
32229 msgstr ""
32230
32231 #. type: verbatim
32232 #: ../src/guestfs-structs.pod:132
32233 #, no-wrap
32234 msgid ""
32235 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
32236 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
32237 "\n"
32238 msgstr ""
32239
32240 #. type: verbatim
32241 #: ../src/guestfs-structs.pod:137
32242 #, no-wrap
32243 msgid ""
32244 " struct guestfs_statvfs {\n"
32245 "   int64_t bsize;\n"
32246 "   int64_t frsize;\n"
32247 "   int64_t blocks;\n"
32248 "   int64_t bfree;\n"
32249 "   int64_t bavail;\n"
32250 "   int64_t files;\n"
32251 "   int64_t ffree;\n"
32252 "   int64_t favail;\n"
32253 "   int64_t fsid;\n"
32254 "   int64_t flag;\n"
32255 "   int64_t namemax;\n"
32256 " };\n"
32257 " \n"
32258 msgstr ""
32259
32260 #. type: verbatim
32261 #: ../src/guestfs-structs.pod:151
32262 #, no-wrap
32263 msgid ""
32264 " struct guestfs_statvfs_list {\n"
32265 "   uint32_t len; /* Number of elements in list. */\n"
32266 "   struct guestfs_statvfs *val; /* Elements. */\n"
32267 " };\n"
32268 " \n"
32269 msgstr ""
32270
32271 #. type: verbatim
32272 #: ../src/guestfs-structs.pod:156
32273 #, no-wrap
32274 msgid ""
32275 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
32276 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
32277 "\n"
32278 msgstr ""
32279
32280 #. type: =head2
32281 #: ../src/guestfs-structs.pod:159
32282 msgid "guestfs_dirent"
32283 msgstr ""
32284
32285 #. type: verbatim
32286 #: ../src/guestfs-structs.pod:161
32287 #, no-wrap
32288 msgid ""
32289 " struct guestfs_dirent {\n"
32290 "   int64_t ino;\n"
32291 "   char ftyp;\n"
32292 "   char *name;\n"
32293 " };\n"
32294 " \n"
32295 msgstr ""
32296
32297 #. type: verbatim
32298 #: ../src/guestfs-structs.pod:167
32299 #, no-wrap
32300 msgid ""
32301 " struct guestfs_dirent_list {\n"
32302 "   uint32_t len; /* Number of elements in list. */\n"
32303 "   struct guestfs_dirent *val; /* Elements. */\n"
32304 " };\n"
32305 " \n"
32306 msgstr ""
32307
32308 #. type: verbatim
32309 #: ../src/guestfs-structs.pod:172
32310 #, no-wrap
32311 msgid ""
32312 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
32313 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
32314 "\n"
32315 msgstr ""
32316
32317 #. type: verbatim
32318 #: ../src/guestfs-structs.pod:177
32319 #, no-wrap
32320 msgid ""
32321 " struct guestfs_version {\n"
32322 "   int64_t major;\n"
32323 "   int64_t minor;\n"
32324 "   int64_t release;\n"
32325 "   char *extra;\n"
32326 " };\n"
32327 " \n"
32328 msgstr ""
32329
32330 #. type: verbatim
32331 #: ../src/guestfs-structs.pod:184
32332 #, no-wrap
32333 msgid ""
32334 " struct guestfs_version_list {\n"
32335 "   uint32_t len; /* Number of elements in list. */\n"
32336 "   struct guestfs_version *val; /* Elements. */\n"
32337 " };\n"
32338 " \n"
32339 msgstr ""
32340
32341 #. type: verbatim
32342 #: ../src/guestfs-structs.pod:189
32343 #, no-wrap
32344 msgid ""
32345 " void guestfs_free_version (struct guestfs_free_version *);\n"
32346 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
32347 "\n"
32348 msgstr ""
32349
32350 #. type: =head2
32351 #: ../src/guestfs-structs.pod:192
32352 msgid "guestfs_xattr"
32353 msgstr ""
32354
32355 #. type: verbatim
32356 #: ../src/guestfs-structs.pod:194
32357 #, no-wrap
32358 msgid ""
32359 " struct guestfs_xattr {\n"
32360 "   char *attrname;\n"
32361 "   /* The next two fields describe a byte array. */\n"
32362 "   uint32_t attrval_len;\n"
32363 "   char *attrval;\n"
32364 " };\n"
32365 " \n"
32366 msgstr ""
32367
32368 #. type: verbatim
32369 #: ../src/guestfs-structs.pod:201
32370 #, no-wrap
32371 msgid ""
32372 " struct guestfs_xattr_list {\n"
32373 "   uint32_t len; /* Number of elements in list. */\n"
32374 "   struct guestfs_xattr *val; /* Elements. */\n"
32375 " };\n"
32376 " \n"
32377 msgstr ""
32378
32379 #. type: verbatim
32380 #: ../src/guestfs-structs.pod:206
32381 #, no-wrap
32382 msgid ""
32383 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
32384 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
32385 "\n"
32386 msgstr ""
32387
32388 #. type: =head2
32389 #: ../src/guestfs-structs.pod:209
32390 msgid "guestfs_inotify_event"
32391 msgstr ""
32392
32393 #. type: verbatim
32394 #: ../src/guestfs-structs.pod:211
32395 #, no-wrap
32396 msgid ""
32397 " struct guestfs_inotify_event {\n"
32398 "   int64_t in_wd;\n"
32399 "   uint32_t in_mask;\n"
32400 "   uint32_t in_cookie;\n"
32401 "   char *in_name;\n"
32402 " };\n"
32403 " \n"
32404 msgstr ""
32405
32406 #. type: verbatim
32407 #: ../src/guestfs-structs.pod:218
32408 #, no-wrap
32409 msgid ""
32410 " struct guestfs_inotify_event_list {\n"
32411 "   uint32_t len; /* Number of elements in list. */\n"
32412 "   struct guestfs_inotify_event *val; /* Elements. */\n"
32413 " };\n"
32414 " \n"
32415 msgstr ""
32416
32417 #. type: verbatim
32418 #: ../src/guestfs-structs.pod:223
32419 #, no-wrap
32420 msgid ""
32421 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
32422 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
32423 "\n"
32424 msgstr ""
32425
32426 #. type: =head2
32427 #: ../src/guestfs-structs.pod:226
32428 msgid "guestfs_partition"
32429 msgstr ""
32430
32431 #. type: verbatim
32432 #: ../src/guestfs-structs.pod:228
32433 #, no-wrap
32434 msgid ""
32435 " struct guestfs_partition {\n"
32436 "   int32_t part_num;\n"
32437 "   uint64_t part_start;\n"
32438 "   uint64_t part_end;\n"
32439 "   uint64_t part_size;\n"
32440 " };\n"
32441 " \n"
32442 msgstr ""
32443
32444 #. type: verbatim
32445 #: ../src/guestfs-structs.pod:235
32446 #, no-wrap
32447 msgid ""
32448 " struct guestfs_partition_list {\n"
32449 "   uint32_t len; /* Number of elements in list. */\n"
32450 "   struct guestfs_partition *val; /* Elements. */\n"
32451 " };\n"
32452 " \n"
32453 msgstr ""
32454
32455 #. type: verbatim
32456 #: ../src/guestfs-structs.pod:240
32457 #, no-wrap
32458 msgid ""
32459 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
32460 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
32461 "\n"
32462 msgstr ""
32463
32464 #. type: =head2
32465 #: ../src/guestfs-structs.pod:243
32466 msgid "guestfs_application"
32467 msgstr ""
32468
32469 #. type: verbatim
32470 #: ../src/guestfs-structs.pod:245
32471 #, no-wrap
32472 msgid ""
32473 " struct guestfs_application {\n"
32474 "   char *app_name;\n"
32475 "   char *app_display_name;\n"
32476 "   int32_t app_epoch;\n"
32477 "   char *app_version;\n"
32478 "   char *app_release;\n"
32479 "   char *app_install_path;\n"
32480 "   char *app_trans_path;\n"
32481 "   char *app_publisher;\n"
32482 "   char *app_url;\n"
32483 "   char *app_source_package;\n"
32484 "   char *app_summary;\n"
32485 "   char *app_description;\n"
32486 " };\n"
32487 " \n"
32488 msgstr ""
32489
32490 #. type: verbatim
32491 #: ../src/guestfs-structs.pod:260
32492 #, no-wrap
32493 msgid ""
32494 " struct guestfs_application_list {\n"
32495 "   uint32_t len; /* Number of elements in list. */\n"
32496 "   struct guestfs_application *val; /* Elements. */\n"
32497 " };\n"
32498 " \n"
32499 msgstr ""
32500
32501 #. type: verbatim
32502 #: ../src/guestfs-structs.pod:265
32503 #, no-wrap
32504 msgid ""
32505 " void guestfs_free_application (struct guestfs_free_application *);\n"
32506 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
32507 "\n"
32508 msgstr ""
32509
32510 #. type: textblock
32511 #: ../src/guestfs.pod:5
32512 msgid "guestfs - Library for accessing and modifying virtual machine images"
32513 msgstr ""
32514 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
32515 "машин"
32516
32517 #. type: verbatim
32518 #: ../src/guestfs.pod:11
32519 #, no-wrap
32520 msgid ""
32521 " guestfs_h *g = guestfs_create ();\n"
32522 " guestfs_add_drive (g, \"guest.img\");\n"
32523 " guestfs_launch (g);\n"
32524 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
32525 " guestfs_touch (g, \"/hello\");\n"
32526 " guestfs_umount (g, \"/\");\n"
32527 " guestfs_close (g);\n"
32528 "\n"
32529 msgstr ""
32530 " guestfs_h *g = guestfs_create ();\n"
32531 " guestfs_add_drive (g, \"guest.img\");\n"
32532 " guestfs_launch (g);\n"
32533 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
32534 " guestfs_touch (g, \"/hello\");\n"
32535 " guestfs_umount (g, \"/\");\n"
32536 " guestfs_close (g);\n"
32537 "\n"
32538
32539 #. type: textblock
32540 #: ../src/guestfs.pod:25
32541 msgid ""
32542 "Libguestfs is a library for accessing and modifying guest disk images.  "
32543 "Amongst the things this is good for: making batch configuration changes to "
32544 "guests, getting disk used/free statistics (see also: virt-df), migrating "
32545 "between virtualization systems (see also: virt-p2v), performing partial "
32546 "backups, performing partial guest clones, cloning guests and changing "
32547 "registry/UUID/hostname info, and much else besides."
32548 msgstr ""
32549
32550 #. type: textblock
32551 #: ../src/guestfs.pod:33
32552 msgid ""
32553 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
32554 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
32555 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
32556 "qcow2, vmdk."
32557 msgstr ""
32558
32559 #. type: textblock
32560 #: ../src/guestfs.pod:38
32561 msgid ""
32562 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
32563 "what filesystem is in each LV, etc.).  It can also run commands in the "
32564 "context of the guest.  Also you can access filesystems over FUSE."
32565 msgstr ""
32566
32567 #. type: textblock
32568 #: ../src/guestfs.pod:43
32569 msgid ""
32570 "Libguestfs is a library that can be linked with C and C++ management "
32571 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
32572 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
32573 "line."
32574 msgstr ""
32575
32576 #. type: textblock
32577 #: ../src/guestfs.pod:48
32578 msgid ""
32579 "You don't need to be root to use libguestfs, although obviously you do need "
32580 "enough permissions to access the disk images."
32581 msgstr ""
32582
32583 #. type: textblock
32584 #: ../src/guestfs.pod:51
32585 msgid ""
32586 "Libguestfs is a large API because it can do many things.  For a gentle "
32587 "introduction, please read the L</API OVERVIEW> section next."
32588 msgstr ""
32589
32590 #. type: textblock
32591 #: ../src/guestfs.pod:54
32592 msgid ""
32593 "There are also some example programs in the L<guestfs-examples(3)> manual "
32594 "page."
32595 msgstr ""
32596
32597 #. type: =head1
32598 #: ../src/guestfs.pod:57
32599 msgid "API OVERVIEW"
32600 msgstr "ОГЛЯД API"
32601
32602 #. type: textblock
32603 #: ../src/guestfs.pod:59
32604 msgid ""
32605 "This section provides a gentler overview of the libguestfs API.  We also try "
32606 "to group API calls together, where that may not be obvious from reading "
32607 "about the individual calls in the main section of this manual."
32608 msgstr ""
32609
32610 #. type: =head2
32611 #: ../src/guestfs.pod:64
32612 msgid "HANDLES"
32613 msgstr "ОБРОБНИКИ"
32614
32615 #. type: textblock
32616 #: ../src/guestfs.pod:66
32617 msgid ""
32618 "Before you can use libguestfs calls, you have to create a handle.  Then you "
32619 "must add at least one disk image to the handle, followed by launching the "
32620 "handle, then performing whatever operations you want, and finally closing "
32621 "the handle.  By convention we use the single letter C<g> for the name of the "
32622 "handle variable, although of course you can use any name you want."
32623 msgstr ""
32624
32625 #. type: textblock
32626 #: ../src/guestfs.pod:73
32627 msgid "The general structure of all libguestfs-using programs looks like this:"
32628 msgstr ""
32629
32630 #. type: verbatim
32631 #: ../src/guestfs.pod:76
32632 #, no-wrap
32633 msgid ""
32634 " guestfs_h *g = guestfs_create ();\n"
32635 " \n"
32636 msgstr ""
32637 " guestfs_h *g = guestfs_create ();\n"
32638 " \n"
32639
32640 #. type: verbatim
32641 #: ../src/guestfs.pod:78
32642 #, no-wrap
32643 msgid ""
32644 " /* Call guestfs_add_drive additional times if there are\n"
32645 "  * multiple disk images.\n"
32646 "  */\n"
32647 " guestfs_add_drive (g, \"guest.img\");\n"
32648 " \n"
32649 msgstr ""
32650
32651 #. type: verbatim
32652 #: ../src/guestfs.pod:83
32653 #, no-wrap
32654 msgid ""
32655 " /* Most manipulation calls won't work until you've launched\n"
32656 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
32657 "  * and _before_ other commands.\n"
32658 "  */\n"
32659 " guestfs_launch (g);\n"
32660 " \n"
32661 msgstr ""
32662
32663 #. type: verbatim
32664 #: ../src/guestfs.pod:89
32665 #, no-wrap
32666 msgid ""
32667 " /* Now you can examine what partitions, LVs etc are available.\n"
32668 "  */\n"
32669 " char **partitions = guestfs_list_partitions (g);\n"
32670 " char **logvols = guestfs_lvs (g);\n"
32671 " \n"
32672 msgstr ""
32673 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
32674 "  */\n"
32675 " char **partitions = guestfs_list_partitions (g);\n"
32676 " char **logvols = guestfs_lvs (g);\n"
32677 " \n"
32678
32679 #. type: verbatim
32680 #: ../src/guestfs.pod:94
32681 #, no-wrap
32682 msgid ""
32683 " /* To access a filesystem in the image, you must mount it.\n"
32684 "  */\n"
32685 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
32686 " \n"
32687 msgstr ""
32688 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
32689 "  */\n"
32690 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
32691 " \n"
32692
32693 #. type: verbatim
32694 #: ../src/guestfs.pod:98
32695 #, no-wrap
32696 msgid ""
32697 " /* Now you can perform filesystem actions on the guest\n"
32698 "  * disk image.\n"
32699 "  */\n"
32700 " guestfs_touch (g, \"/hello\");\n"
32701 " \n"
32702 msgstr ""
32703
32704 #. type: verbatim
32705 #: ../src/guestfs.pod:103
32706 #, no-wrap
32707 msgid ""
32708 " /* This is only needed for libguestfs < 1.5.24.  Since then\n"
32709 "  * it is done automatically when you close the handle.  See\n"
32710 "  * discussion of autosync in this page.\n"
32711 "  */\n"
32712 " guestfs_sync (g);\n"
32713 " \n"
32714 msgstr ""
32715
32716 #. type: verbatim
32717 #: ../src/guestfs.pod:109
32718 #, no-wrap
32719 msgid ""
32720 " /* Close the handle 'g'. */\n"
32721 " guestfs_close (g);\n"
32722 "\n"
32723 msgstr ""
32724 " /* Закрити дескриптор 'g'. */\n"
32725 " guestfs_close (g);\n"
32726 "\n"
32727
32728 #. type: textblock
32729 #: ../src/guestfs.pod:112
32730 msgid ""
32731 "The code above doesn't include any error checking.  In real code you should "
32732 "check return values carefully for errors.  In general all functions that "
32733 "return integers return C<-1> on error, and all functions that return "
32734 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
32735 "how to handle errors, and consult the documentation for each function call "
32736 "below to see precisely how they return error indications.  See L<guestfs-"
32737 "examples(3)> for fully worked examples."
32738 msgstr ""
32739
32740 #. type: =head2
32741 #: ../src/guestfs.pod:121
32742 msgid "DISK IMAGES"
32743 msgstr "ОБРАЗИ ДИСКІВ"
32744
32745 #. type: textblock
32746 #: ../src/guestfs.pod:123
32747 msgid ""
32748 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
32749 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
32750 "actual block device, or simply an empty file of zeroes that you have created "
32751 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
32752 "of these."
32753 msgstr ""
32754
32755 #. type: textblock
32756 #: ../src/guestfs.pod:129
32757 msgid ""
32758 "The call you should use in modern code for adding drives is L</"
32759 "guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
32760 "specifying that the format is raw, do:"
32761 msgstr ""
32762
32763 #. type: verbatim
32764 #: ../src/guestfs.pod:133
32765 #, no-wrap
32766 msgid ""
32767 " guestfs_add_drive_opts (g, filename,\n"
32768 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
32769 "                         -1);\n"
32770 "\n"
32771 msgstr ""
32772 " guestfs_add_drive_opts (g, filename,\n"
32773 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
32774 "                         -1);\n"
32775 "\n"
32776
32777 #. type: textblock
32778 #: ../src/guestfs.pod:137
32779 msgid "You can add a disk read-only using:"
32780 msgstr "Ви можете додати диск у режимі лише читання:"
32781
32782 #. type: verbatim
32783 #: ../src/guestfs.pod:139
32784 #, no-wrap
32785 msgid ""
32786 " guestfs_add_drive_opts (g, filename,\n"
32787 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
32788 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
32789 "                         -1);\n"
32790 "\n"
32791 msgstr ""
32792 " guestfs_add_drive_opts (g, filename,\n"
32793 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
32794 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
32795 "                         -1);\n"
32796 "\n"
32797
32798 #. type: textblock
32799 #: ../src/guestfs.pod:144
32800 msgid ""
32801 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
32802 "libguestfs won't modify the file."
32803 msgstr ""
32804
32805 #. type: textblock
32806 #: ../src/guestfs.pod:147
32807 msgid ""
32808 "Be extremely cautious if the disk image is in use, eg. if it is being used "
32809 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
32810 "corruption, but adding it read-only is safe."
32811 msgstr ""
32812
32813 #. type: textblock
32814 #: ../src/guestfs.pod:151
32815 msgid ""
32816 "You must add at least one disk image, and you may add multiple disk images.  "
32817 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
32818 "first one you added), C</dev/sdb> (for the second one you added), etc."
32819 msgstr ""
32820
32821 #. type: textblock
32822 #: ../src/guestfs.pod:156
32823 msgid ""
32824 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
32825 "can call L</guestfs_list_devices> to get a list of the device names, in the "
32826 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
32827 msgstr ""
32828
32829 #. type: =head2
32830 #: ../src/guestfs.pod:161
32831 msgid "MOUNTING"
32832 msgstr "МОНТУВАННЯ"
32833
32834 #. type: textblock
32835 #: ../src/guestfs.pod:163
32836 msgid ""
32837 "Before you can read or write files, create directories and so on in a disk "
32838 "image that contains filesystems, you have to mount those filesystems using "
32839 "L</guestfs_mount_options> or L</guestfs_mount_ro>.  If you already know that "
32840 "a disk image contains (for example) one partition with a filesystem on that "
32841 "partition, then you can mount it directly:"
32842 msgstr ""
32843
32844 #. type: verbatim
32845 #: ../src/guestfs.pod:170
32846 #, no-wrap
32847 msgid ""
32848 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
32849 "\n"
32850 msgstr ""
32851 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
32852 "\n"
32853
32854 #. type: textblock
32855 #: ../src/guestfs.pod:172
32856 msgid ""
32857 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
32858 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
32859 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>).  Note "
32860 "that these are libguestfs virtual devices, and are nothing to do with host "
32861 "devices."
32862 msgstr ""
32863
32864 #. type: textblock
32865 #: ../src/guestfs.pod:178
32866 msgid ""
32867 "If you are given a disk image and you don't know what it contains then you "
32868 "have to find out.  Libguestfs can do that too: use L</"
32869 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
32870 "LVs, and either try mounting each to see what is mountable, or else examine "
32871 "them with L</guestfs_vfs_type> or L</guestfs_file>.  To list just "
32872 "filesystems, use L</guestfs_list_filesystems>."
32873 msgstr ""
32874
32875 #. type: textblock
32876 #: ../src/guestfs.pod:186
32877 msgid ""
32878 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
32879 "L</INSPECTION> below).  But you might find it easier to look at higher level "
32880 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
32881 msgstr ""
32882
32883 #. type: textblock
32884 #: ../src/guestfs.pod:191
32885 msgid ""
32886 "To mount a filesystem read-only, use L</guestfs_mount_ro>.  There are "
32887 "several other variations of the C<guestfs_mount_*> call."
32888 msgstr ""
32889
32890 #. type: =head2
32891 #: ../src/guestfs.pod:194
32892 msgid "FILESYSTEM ACCESS AND MODIFICATION"
32893 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
32894
32895 #. type: textblock
32896 #: ../src/guestfs.pod:196
32897 msgid ""
32898 "The majority of the libguestfs API consists of fairly low-level calls for "
32899 "accessing and modifying the files, directories, symlinks etc on mounted "
32900 "filesystems.  There are over a hundred such calls which you can find listed "
32901 "in detail below in this man page, and we don't even pretend to cover them "
32902 "all in this overview."
32903 msgstr ""
32904
32905 #. type: textblock
32906 #: ../src/guestfs.pod:202
32907 msgid ""
32908 "Specify filenames as full paths, starting with C<\"/\"> and including the "
32909 "mount point."
32910 msgstr ""
32911 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
32912 "точкою монтування."
32913
32914 #. type: textblock
32915 #: ../src/guestfs.pod:205
32916 msgid ""
32917 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
32918 "the file called C<\"etc/passwd\"> then you could do:"
32919 msgstr ""
32920 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
32921 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
32922 "таким кодом:"
32923
32924 #. type: verbatim
32925 #: ../src/guestfs.pod:208
32926 #, no-wrap
32927 msgid ""
32928 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
32929 "\n"
32930 msgstr ""
32931 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
32932 "\n"
32933
32934 #. type: textblock
32935 #: ../src/guestfs.pod:210
32936 msgid ""
32937 "This would return C<data> as a newly allocated buffer containing the full "
32938 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
32939 "or C<NULL> if there was an error."
32940 msgstr ""
32941
32942 #. type: textblock
32943 #: ../src/guestfs.pod:214
32944 msgid ""
32945 "As another example, to create a top-level directory on that filesystem "
32946 "called C<\"var\"> you would do:"
32947 msgstr ""
32948
32949 #. type: verbatim
32950 #: ../src/guestfs.pod:217
32951 #, no-wrap
32952 msgid ""
32953 " guestfs_mkdir (g, \"/var\");\n"
32954 "\n"
32955 msgstr ""
32956 " guestfs_mkdir (g, \"/var\");\n"
32957 "\n"
32958
32959 #. type: textblock
32960 #: ../src/guestfs.pod:219
32961 msgid "To create a symlink you could do:"
32962 msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
32963
32964 #. type: verbatim
32965 #: ../src/guestfs.pod:221
32966 #, no-wrap
32967 msgid ""
32968 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
32969 "               \"/etc/rc3.d/S30portmap\");\n"
32970 "\n"
32971 msgstr ""
32972 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
32973 "               \"/etc/rc3.d/S30portmap\");\n"
32974 "\n"
32975
32976 #. type: textblock
32977 #: ../src/guestfs.pod:224
32978 msgid ""
32979 "Libguestfs will reject attempts to use relative paths and there is no "
32980 "concept of a current working directory."
32981 msgstr ""
32982
32983 #. type: textblock
32984 #: ../src/guestfs.pod:227
32985 msgid ""
32986 "Libguestfs can return errors in many situations: for example if the "
32987 "filesystem isn't writable, or if a file or directory that you requested "
32988 "doesn't exist.  If you are using the C API (documented here)  you have to "
32989 "check for those error conditions after each call.  (Other language bindings "
32990 "turn these errors into exceptions)."
32991 msgstr ""
32992
32993 #. type: textblock
32994 #: ../src/guestfs.pod:233
32995 msgid ""
32996 "File writes are affected by the per-handle umask, set by calling L</"
32997 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
32998 msgstr ""
32999
33000 #. type: =head2
33001 #: ../src/guestfs.pod:236
33002 msgid "PARTITIONING"
33003 msgstr "ПОДІЛ НА РОЗДІЛИ"
33004
33005 #. type: textblock
33006 #: ../src/guestfs.pod:238
33007 msgid ""
33008 "Libguestfs contains API calls to read, create and modify partition tables on "
33009 "disk images."
33010 msgstr ""
33011
33012 #. type: textblock
33013 #: ../src/guestfs.pod:241
33014 msgid ""
33015 "In the common case where you want to create a single partition covering the "
33016 "whole disk, you should use the L</guestfs_part_disk> call:"
33017 msgstr ""
33018
33019 #. type: verbatim
33020 #: ../src/guestfs.pod:245
33021 #, no-wrap
33022 msgid ""
33023 " const char *parttype = \"mbr\";\n"
33024 " if (disk_is_larger_than_2TB)\n"
33025 "   parttype = \"gpt\";\n"
33026 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
33027 "\n"
33028 msgstr ""
33029 " const char *parttype = \"mbr\";\n"
33030 " if (disk_is_larger_than_2TB)\n"
33031 "   parttype = \"gpt\";\n"
33032 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
33033 "\n"
33034
33035 #. type: textblock
33036 #: ../src/guestfs.pod:250
33037 msgid ""
33038 "Obviously this effectively wipes anything that was on that disk image before."
33039 msgstr ""
33040
33041 #. type: =head2
33042 #: ../src/guestfs.pod:253
33043 msgid "LVM2"
33044 msgstr "LVM2"
33045
33046 #. type: textblock
33047 #: ../src/guestfs.pod:255
33048 msgid ""
33049 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
33050 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
33051 "you familiarize yourself with the concepts of physical volumes, volume "
33052 "groups and logical volumes."
33053 msgstr ""
33054
33055 #. type: textblock
33056 #: ../src/guestfs.pod:260
33057 msgid ""
33058 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
33059 "tldp.org/HOWTO/LVM-HOWTO/>."
33060 msgstr ""
33061
33062 #. type: =head2
33063 #: ../src/guestfs.pod:263
33064 msgid "DOWNLOADING"
33065 msgstr "ОТРИМАННЯ ДАНИХ"
33066
33067 #. type: textblock
33068 #: ../src/guestfs.pod:265
33069 msgid ""
33070 "Use L</guestfs_cat> to download small, text only files.  This call is "
33071 "limited to files which are less than 2 MB and which cannot contain any ASCII "
33072 "NUL (C<\\0>) characters.  However the API is very simple to use."
33073 msgstr ""
33074
33075 #. type: textblock
33076 #: ../src/guestfs.pod:269
33077 msgid ""
33078 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
33079 "bit data, since it returns a (pointer, size) pair.  However it is still "
33080 "limited to \"small\" files, less than 2 MB."
33081 msgstr ""
33082
33083 #. type: textblock
33084 #: ../src/guestfs.pod:273
33085 msgid ""
33086 "L</guestfs_download> can be used to download any file, with no limits on "
33087 "content or size (even files larger than 4 GB)."
33088 msgstr ""
33089
33090 #. type: textblock
33091 #: ../src/guestfs.pod:276
33092 msgid ""
33093 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
33094 msgstr ""
33095
33096 #. type: =head2
33097 #: ../src/guestfs.pod:279
33098 msgid "UPLOADING"
33099 msgstr "ВИВАНТАЖЕННЯ"
33100
33101 #. type: textblock
33102 #: ../src/guestfs.pod:281
33103 msgid ""
33104 "It's often the case that you want to write a file or files to the disk image."
33105 msgstr ""
33106
33107 #. type: textblock
33108 #: ../src/guestfs.pod:284
33109 msgid ""
33110 "To write a small file with fixed content, use L</guestfs_write>.  To create "
33111 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
33112 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
33113 "of other functions for creating test files, for example L</guestfs_fill> and "
33114 "L</guestfs_fill_pattern>."
33115 msgstr ""
33116
33117 #. type: textblock
33118 #: ../src/guestfs.pod:290
33119 msgid ""
33120 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
33121 "file content or size (even files larger than 4 GB)."
33122 msgstr ""
33123
33124 #. type: textblock
33125 #: ../src/guestfs.pod:293
33126 msgid ""
33127 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
33128 msgstr ""
33129
33130 #. type: textblock
33131 #: ../src/guestfs.pod:295
33132 msgid ""
33133 "However the fastest way to upload I<large numbers of arbitrary files> is to "
33134 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
33135 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
33136 "in a predictable way (eg. adding it last after all other drives) then you "
33137 "can get the device name from L</guestfs_list_devices> and mount it directly "
33138 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
33139 "portable between kernel versions, and they don't support labels or UUIDs.  "
33140 "If you want to pre-build an image or you need to mount it using a label or "
33141 "UUID, use an ISO image instead."
33142 msgstr ""
33143
33144 #. type: =head2
33145 #: ../src/guestfs.pod:306
33146 msgid "COPYING"
33147 msgstr "КОПІЮВАННЯ"
33148
33149 #. type: textblock
33150 #: ../src/guestfs.pod:308
33151 msgid ""
33152 "There are various different commands for copying between files and devices "
33153 "and in and out of the guest filesystem.  These are summarised in the table "
33154 "below."
33155 msgstr ""
33156
33157 #. type: =item
33158 #: ../src/guestfs.pod:314
33159 msgid "B<file> to B<file>"
33160 msgstr "B<файл> у B<файл>"
33161
33162 #. type: textblock
33163 #: ../src/guestfs.pod:316
33164 msgid ""
33165 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
33166 "directories recursively."
33167 msgstr ""
33168
33169 #. type: =item
33170 #: ../src/guestfs.pod:319
33171 msgid "B<file or device> to B<file or device>"
33172 msgstr "B<файл або пристрій> у B<файл або пристрій>"
33173
33174 #. type: textblock
33175 #: ../src/guestfs.pod:321
33176 msgid ""
33177 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
33178 "devices in the guest."
33179 msgstr ""
33180
33181 #. type: textblock
33182 #: ../src/guestfs.pod:324
33183 msgid "Example: duplicate the contents of an LV:"
33184 msgstr ""
33185
33186 #. type: verbatim
33187 #: ../src/guestfs.pod:326
33188 #, no-wrap
33189 msgid ""
33190 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
33191 "\n"
33192 msgstr ""
33193 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
33194 "\n"
33195
33196 #. type: textblock
33197 #: ../src/guestfs.pod:328
33198 msgid ""
33199 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
33200 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
33201 "guestfs_copy_size>."
33202 msgstr ""
33203
33204 #. type: =item
33205 #: ../src/guestfs.pod:332
33206 msgid "B<file on the host> to B<file or device>"
33207 msgstr ""
33208
33209 #. type: textblock
33210 #: ../src/guestfs.pod:334
33211 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
33212 msgstr ""
33213
33214 #. type: =item
33215 #: ../src/guestfs.pod:336
33216 msgid "B<file or device> to B<file on the host>"
33217 msgstr ""
33218
33219 #. type: textblock
33220 #: ../src/guestfs.pod:338
33221 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
33222 msgstr ""
33223
33224 #. type: =head2
33225 #: ../src/guestfs.pod:342
33226 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
33227 msgstr ""
33228
33229 #. type: textblock
33230 #: ../src/guestfs.pod:344
33231 msgid ""
33232 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
33233 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
33234 "appears you can only upload and download to files.  However many Un*x-like "
33235 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
33236 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
33237 "and arbitrary file descriptor N."
33238 msgstr ""
33239
33240 #. type: textblock
33241 #: ../src/guestfs.pod:352
33242 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
33243 msgstr ""
33244
33245 #. type: verbatim
33246 #: ../src/guestfs.pod:355
33247 #, no-wrap
33248 msgid ""
33249 " guestfs_download (g, filename, \"/dev/stdout\");\n"
33250 "\n"
33251 msgstr ""
33252 " guestfs_download (g, filename, \"/dev/stdout\");\n"
33253 "\n"
33254
33255 #. type: textblock
33256 #: ../src/guestfs.pod:357
33257 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
33258 msgstr ""
33259
33260 #. type: verbatim
33261 #: ../src/guestfs.pod:359
33262 #, no-wrap
33263 msgid ""
33264 " char devfd[64];\n"
33265 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
33266 " guestfs_tar_out (g, \"/\", devfd);\n"
33267 "\n"
33268 msgstr ""
33269 " char devfd[64];\n"
33270 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
33271 " guestfs_tar_out (g, \"/\", devfd);\n"
33272 "\n"
33273
33274 #. type: =head2
33275 #: ../src/guestfs.pod:363
33276 msgid "LISTING FILES"
33277 msgstr "СПИСКИ ФАЙЛІВ"
33278
33279 #. type: textblock
33280 #: ../src/guestfs.pod:365
33281 msgid ""
33282 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
33283 "L<guestfish(1)>-equivalent command C<ll>)."
33284 msgstr ""
33285
33286 #. type: textblock
33287 #: ../src/guestfs.pod:368
33288 msgid ""
33289 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
33290 "programs, as a flat list of strings."
33291 msgstr ""
33292
33293 #. type: textblock
33294 #: ../src/guestfs.pod:371
33295 msgid ""
33296 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
33297 "directory, plus additional information about each one.  It is more "
33298 "equivalent to using the L<readdir(3)> call on a local filesystem."
33299 msgstr ""
33300
33301 #. type: textblock
33302 #: ../src/guestfs.pod:375
33303 msgid ""
33304 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
33305 msgstr ""
33306
33307 #. type: =head2
33308 #: ../src/guestfs.pod:378
33309 msgid "RUNNING COMMANDS"
33310 msgstr "ВИКОНАННЯ КОМАНД"
33311
33312 #. type: textblock
33313 #: ../src/guestfs.pod:380
33314 msgid ""
33315 "Although libguestfs is primarily an API for manipulating files inside guest "
33316 "images, we also provide some limited facilities for running commands inside "
33317 "guests."
33318 msgstr ""
33319
33320 #. type: textblock
33321 #: ../src/guestfs.pod:384
33322 msgid "There are many limitations to this:"
33323 msgstr ""
33324
33325 #. type: textblock
33326 #: ../src/guestfs.pod:390
33327 msgid ""
33328 "The kernel version that the command runs under will be different from what "
33329 "it expects."
33330 msgstr ""
33331
33332 #. type: textblock
33333 #: ../src/guestfs.pod:395
33334 msgid ""
33335 "If the command needs to communicate with daemons, then most likely they "
33336 "won't be running."
33337 msgstr ""
33338
33339 #. type: textblock
33340 #: ../src/guestfs.pod:400
33341 msgid "The command will be running in limited memory."
33342 msgstr ""
33343
33344 #. type: textblock
33345 #: ../src/guestfs.pod:404
33346 msgid ""
33347 "The network may not be available unless you enable it (see L</"
33348 "guestfs_set_network>)."
33349 msgstr ""
33350
33351 #. type: textblock
33352 #: ../src/guestfs.pod:409
33353 msgid "Only supports Linux guests (not Windows, BSD, etc)."
33354 msgstr ""
33355
33356 #. type: textblock
33357 #: ../src/guestfs.pod:413
33358 msgid ""
33359 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
33360 msgstr ""
33361
33362 #. type: textblock
33363 #: ../src/guestfs.pod:418
33364 msgid ""
33365 "For SELinux guests, you may need to enable SELinux and load policy first.  "
33366 "See L</SELINUX> in this manpage."
33367 msgstr ""
33368
33369 #. type: textblock
33370 #: ../src/guestfs.pod:423
33371 msgid ""
33372 "I<Security:> It is not safe to run commands from untrusted, possibly "
33373 "malicious guests.  These commands may attempt to exploit your program by "
33374 "sending unexpected output.  They could also try to exploit the Linux kernel "
33375 "or qemu provided by the libguestfs appliance.  They could use the network "
33376 "provided by the libguestfs appliance to bypass ordinary network partitions "
33377 "and firewalls.  They could use the elevated privileges or different SELinux "
33378 "context of your program to their advantage."
33379 msgstr ""
33380
33381 #. type: textblock
33382 #: ../src/guestfs.pod:432
33383 msgid ""
33384 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
33385 "(a script which runs when the guest next boots normally), and to have this "
33386 "script run the commands you want in the normal context of the running guest, "
33387 "network security and so on.  For information about other security issues, "
33388 "see L</SECURITY>."
33389 msgstr ""
33390
33391 #. type: textblock
33392 #: ../src/guestfs.pod:440
33393 msgid ""
33394 "The two main API calls to run commands are L</guestfs_command> and L</"
33395 "guestfs_sh> (there are also variations)."
33396 msgstr ""
33397
33398 #. type: textblock
33399 #: ../src/guestfs.pod:443
33400 msgid ""
33401 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
33402 "shell globs, redirections, etc will work."
33403 msgstr ""
33404
33405 #. type: =head2
33406 #: ../src/guestfs.pod:446
33407 msgid "CONFIGURATION FILES"
33408 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
33409
33410 #. type: textblock
33411 #: ../src/guestfs.pod:448
33412 msgid ""
33413 "To read and write configuration files in Linux guest filesystems, we "
33414 "strongly recommend using Augeas.  For example, Augeas understands how to "
33415 "read and write, say, a Linux shadow password file or X.org configuration "
33416 "file, and so avoids you having to write that code."
33417 msgstr ""
33418
33419 #. type: textblock
33420 #: ../src/guestfs.pod:453
33421 msgid ""
33422 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
33423 "document Augeas itself here because there is excellent documentation on the "
33424 "L<http://augeas.net/> website."
33425 msgstr ""
33426
33427 #. type: textblock
33428 #: ../src/guestfs.pod:457
33429 msgid ""
33430 "If you don't want to use Augeas (you fool!) then try calling L</"
33431 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
33432 "over."
33433 msgstr ""
33434
33435 #. type: =head2
33436 #: ../src/guestfs.pod:461
33437 msgid "SELINUX"
33438 msgstr "SELINUX"
33439
33440 #. type: textblock
33441 #: ../src/guestfs.pod:463
33442 msgid ""
33443 "We support SELinux guests.  To ensure that labeling happens correctly in "
33444 "SELinux guests, you need to enable SELinux and load the guest's policy:"
33445 msgstr ""
33446
33447 #. type: textblock
33448 #: ../src/guestfs.pod:471
33449 msgid "Before launching, do:"
33450 msgstr ""
33451
33452 #. type: verbatim
33453 #: ../src/guestfs.pod:473
33454 #, no-wrap
33455 msgid ""
33456 " guestfs_set_selinux (g, 1);\n"
33457 "\n"
33458 msgstr ""
33459 " guestfs_set_selinux (g, 1);\n"
33460 "\n"
33461
33462 #. type: textblock
33463 #: ../src/guestfs.pod:477
33464 msgid ""
33465 "After mounting the guest's filesystem(s), load the policy.  This is best "
33466 "done by running the L<load_policy(8)> command in the guest itself:"
33467 msgstr ""
33468
33469 #. type: verbatim
33470 #: ../src/guestfs.pod:481
33471 #, no-wrap
33472 msgid ""
33473 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
33474 "\n"
33475 msgstr ""
33476 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
33477 "\n"
33478
33479 #. type: textblock
33480 #: ../src/guestfs.pod:483
33481 msgid ""
33482 "(Older versions of C<load_policy> require you to specify the name of the "
33483 "policy file)."
33484 msgstr ""
33485
33486 #. type: textblock
33487 #: ../src/guestfs.pod:488
33488 msgid ""
33489 "Optionally, set the security context for the API.  The correct security "
33490 "context to use can only be known by inspecting the guest.  As an example:"
33491 msgstr ""
33492
33493 #. type: verbatim
33494 #: ../src/guestfs.pod:492
33495 #, no-wrap
33496 msgid ""
33497 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
33498 "\n"
33499 msgstr ""
33500 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
33501 "\n"
33502
33503 #. type: textblock
33504 #: ../src/guestfs.pod:496
33505 msgid "This will work for running commands and editing existing files."
33506 msgstr ""
33507
33508 #. type: textblock
33509 #: ../src/guestfs.pod:498
33510 msgid ""
33511 "When new files are created, you may need to label them explicitly, for "
33512 "example by running the external command C<restorecon pathname>."
33513 msgstr ""
33514
33515 #. type: =head2
33516 #: ../src/guestfs.pod:502
33517 msgid "UMASK"
33518 msgstr "UMASK"
33519
33520 #. type: textblock
33521 #: ../src/guestfs.pod:504
33522 msgid ""
33523 "Certain calls are affected by the current file mode creation mask (the "
33524 "\"umask\").  In particular ones which create files or directories, such as "
33525 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
33526 "either the default mode that the file is created with or modifies the mode "
33527 "that you supply."
33528 msgstr ""
33529
33530 #. type: textblock
33531 #: ../src/guestfs.pod:510
33532 msgid ""
33533 "The default umask is C<022>, so files are created with modes such as C<0644> "
33534 "and directories with C<0755>."
33535 msgstr ""
33536
33537 #. type: textblock
33538 #: ../src/guestfs.pod:513
33539 msgid ""
33540 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
33541 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
33542 "guestfs_chmod> after creating each file or directory."
33543 msgstr ""
33544
33545 #. type: textblock
33546 #: ../src/guestfs.pod:517
33547 msgid "For more information about umask, see L<umask(2)>."
33548 msgstr ""
33549
33550 #. type: textblock
33551 #: ../src/guestfs.pod:521
33552 msgid ""
33553 "Libguestfs allows you to access Linux guests which have been encrypted using "
33554 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
33555 "standard.  This includes nearly all whole disk encryption systems used by "
33556 "modern Linux guests."
33557 msgstr ""
33558
33559 #. type: textblock
33560 #: ../src/guestfs.pod:527
33561 msgid ""
33562 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
33563 "returns the string C<crypto_LUKS>)."
33564 msgstr ""
33565
33566 #. type: textblock
33567 #: ../src/guestfs.pod:530
33568 msgid ""
33569 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
33570 "will require the passphrase!"
33571 msgstr ""
33572
33573 #. type: textblock
33574 #: ../src/guestfs.pod:533
33575 msgid ""
33576 "Opening a LUKS device creates a new device mapper device called C</dev/"
33577 "mapper/mapname> (where C<mapname> is the string you supply to L</"
33578 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
33579 "from and encrypted to the underlying block device respectively."
33580 msgstr ""
33581
33582 #. type: textblock
33583 #: ../src/guestfs.pod:539
33584 msgid ""
33585 "LVM volume groups on the device can be made visible by calling L</"
33586 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
33587 "(s) can now be mounted in the usual way."
33588 msgstr ""
33589
33590 #. type: textblock
33591 #: ../src/guestfs.pod:543
33592 msgid ""
33593 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
33594 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
33595 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
33596 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
33597 "underlying encrypted block device)."
33598 msgstr ""
33599
33600 #. type: =head2
33601 #: ../src/guestfs.pod:550
33602 msgid "INSPECTION"
33603 msgstr "ПЕРЕВІРКА"
33604
33605 #. type: textblock
33606 #: ../src/guestfs.pod:552
33607 msgid ""
33608 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
33609 "contains operating systems, an install CD or a live CD.  (These APIs used to "
33610 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
33611 "version 1.5.3 the most frequently used part of this library has been "
33612 "rewritten in C and moved into the core code)."
33613 msgstr ""
33614
33615 #. type: textblock
33616 #: ../src/guestfs.pod:559
33617 msgid ""
33618 "Add all disks belonging to the unknown virtual machine and call L</"
33619 "guestfs_launch> in the usual way."
33620 msgstr ""
33621
33622 #. type: textblock
33623 #: ../src/guestfs.pod:562
33624 msgid ""
33625 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
33626 "and certain heuristics, and returns a list of operating systems that were "
33627 "found.  An empty list means none were found.  A single element is the root "
33628 "filesystem of the operating system.  For dual- or multi-boot guests, "
33629 "multiple roots can be returned, each one corresponding to a separate "
33630 "operating system.  (Multi-boot virtual machines are extremely rare in the "
33631 "world of virtualization, but since this scenario can happen, we have built "
33632 "libguestfs to deal with it.)"
33633 msgstr ""
33634
33635 #. type: textblock
33636 #: ../src/guestfs.pod:571
33637 msgid ""
33638 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
33639 "to get additional details about that operating system.  For example, call L</"
33640 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
33641 "Windows and Linux-based operating systems respectively."
33642 msgstr ""
33643
33644 #. type: textblock
33645 #: ../src/guestfs.pod:577
33646 msgid ""
33647 "Un*x-like and Linux-based operating systems usually consist of several "
33648 "filesystems which are mounted at boot time (for example, a separate boot "
33649 "partition mounted on C</boot>).  The inspection rules are able to detect how "
33650 "filesystems correspond to mount points.  Call "
33651 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
33652 "hash table like this example:"
33653 msgstr ""
33654
33655 #. type: verbatim
33656 #: ../src/guestfs.pod:584
33657 #, no-wrap
33658 msgid ""
33659 " /boot => /dev/sda1\n"
33660 " /     => /dev/vg_guest/lv_root\n"
33661 " /usr  => /dev/vg_guest/lv_usr\n"
33662 "\n"
33663 msgstr ""
33664 " /boot => /dev/sda1\n"
33665 " /     => /dev/vg_guest/lv_root\n"
33666 " /usr  => /dev/vg_guest/lv_usr\n"
33667 "\n"
33668
33669 #. type: textblock
33670 #: ../src/guestfs.pod:588
33671 msgid ""
33672 "The caller can then make calls to L</guestfs_mount_options> to mount the "
33673 "filesystems as suggested."
33674 msgstr ""
33675
33676 #. type: textblock
33677 #: ../src/guestfs.pod:591
33678 msgid ""
33679 "Be careful to mount filesystems in the right order (eg. C</> before C</"
33680 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
33681 msgstr ""
33682
33683 #. type: textblock
33684 #: ../src/guestfs.pod:595
33685 msgid ""
33686 "Inspection currently only works for some common operating systems.  "
33687 "Contributors are welcome to send patches for other operating systems that we "
33688 "currently cannot detect."
33689 msgstr ""
33690
33691 #. type: textblock
33692 #: ../src/guestfs.pod:599
33693 msgid ""
33694 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
33695 "for more details.  The L</guestfs_inspect_os> function just ignores any "
33696 "encrypted devices."
33697 msgstr ""
33698
33699 #. type: textblock
33700 #: ../src/guestfs.pod:603
33701 msgid ""
33702 "A note on the implementation: The call L</guestfs_inspect_os> performs "
33703 "inspection and caches the results in the guest handle.  Subsequent calls to "
33704 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
33705 "read the disks.  If you change the content of the guest disks, you can redo "
33706 "inspection by calling L</guestfs_inspect_os> again.  (L</"
33707 "guestfs_inspect_list_applications> works a little differently from the other "
33708 "calls and does read the disks.  See documentation for that function for "
33709 "details)."
33710 msgstr ""
33711
33712 #. type: =head3
33713 #: ../src/guestfs.pod:612
33714 msgid "INSPECTING INSTALL DISKS"
33715 msgstr ""
33716
33717 #. type: textblock
33718 #: ../src/guestfs.pod:614
33719 msgid ""
33720 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
33721 "CDs and more."
33722 msgstr ""
33723
33724 #. type: textblock
33725 #: ../src/guestfs.pod:617
33726 msgid ""
33727 "Call L</guestfs_inspect_get_format> to return the format of the operating "
33728 "system, which currently can be C<installed> (a regular operating system) or "
33729 "C<installer> (some sort of install disk)."
33730 msgstr ""
33731
33732 #. type: textblock
33733 #: ../src/guestfs.pod:621
33734 msgid ""
33735 "Further information is available about the operating system that can be "
33736 "installed using the regular inspection APIs like L</"
33737 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
33738 msgstr ""
33739
33740 #. type: textblock
33741 #: ../src/guestfs.pod:626
33742 msgid ""
33743 "Some additional information specific to installer disks is also available "
33744 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
33745 "guestfs_inspect_is_multipart> calls."
33746 msgstr ""
33747
33748 #. type: =head2
33749 #: ../src/guestfs.pod:631
33750 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
33751 msgstr ""
33752
33753 #. type: textblock
33754 #: ../src/guestfs.pod:633
33755 msgid ""
33756 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
33757 "ntfs-3g.org/> driver."
33758 msgstr ""
33759
33760 #. type: =head3
33761 #: ../src/guestfs.pod:636
33762 msgid "DRIVE LETTERS AND PATHS"
33763 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
33764
33765 #. type: textblock
33766 #: ../src/guestfs.pod:638
33767 msgid ""
33768 "DOS and Windows still use drive letters, and the filesystems are always "
33769 "treated as case insensitive by Windows itself, and therefore you might find "
33770 "a Windows configuration file referring to a path like C<c:\\windows"
33771 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
33772 "might be referred to as C</WINDOWS/System32>."
33773 msgstr ""
33774
33775 #. type: textblock
33776 #: ../src/guestfs.pod:644
33777 msgid ""
33778 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
33779 "L</guestfs_inspect_get_drive_mappings>)"
33780 msgstr ""
33781
33782 #. type: textblock
33783 #: ../src/guestfs.pod:647
33784 msgid ""
33785 "Dealing with separator characters (backslash vs forward slash) is outside "
33786 "the scope of libguestfs, but usually a simple character replacement will "
33787 "work."
33788 msgstr ""
33789
33790 #. type: textblock
33791 #: ../src/guestfs.pod:651
33792 msgid ""
33793 "To resolve the case insensitivity of paths, call L</"
33794 "guestfs_case_sensitive_path>."
33795 msgstr ""
33796
33797 #. type: =head3
33798 #: ../src/guestfs.pod:654
33799 msgid "ACCESSING THE WINDOWS REGISTRY"
33800 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
33801
33802 #. type: textblock
33803 #: ../src/guestfs.pod:656
33804 msgid ""
33805 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
33806 "files, through the library C<hivex> which is part of the libguestfs project "
33807 "although ships as a separate tarball.  You have to locate and download the "
33808 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
33809 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
33810 "reg(1)> for more help on this issue."
33811 msgstr ""
33812
33813 #. type: =head3
33814 #: ../src/guestfs.pod:664
33815 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
33816 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
33817
33818 #. type: textblock
33819 #: ../src/guestfs.pod:666
33820 msgid ""
33821 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
33822 "provide something which looks like a Linux symlink.  The way it tries to do "
33823 "the rewriting is described here:"
33824 msgstr ""
33825
33826 #. type: textblock
33827 #: ../src/guestfs.pod:670
33828 msgid ""
33829 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
33830 "symbolic-links/>"
33831 msgstr ""
33832 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
33833 "symbolic-links/>"
33834
33835 #. type: textblock
33836 #: ../src/guestfs.pod:672
33837 msgid ""
33838 "The essential problem is that ntfs-3g simply does not have enough "
33839 "information to do a correct job.  NTFS links can contain drive letters and "
33840 "references to external device GUIDs that ntfs-3g has no way of resolving.  "
33841 "It is almost certainly the case that libguestfs callers should ignore what "
33842 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
33843 msgstr ""
33844
33845 #. type: textblock
33846 #: ../src/guestfs.pod:679
33847 msgid ""
33848 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
33849 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
33850 "attribute, and read the raw reparse data from that (you can find the format "
33851 "documented in various places around the web)."
33852 msgstr ""
33853
33854 #. type: =head3
33855 #: ../src/guestfs.pod:684
33856 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
33857 msgstr ""
33858
33859 #. type: textblock
33860 #: ../src/guestfs.pod:686
33861 msgid ""
33862 "There are other useful extended attributes that can be read from ntfs-3g "
33863 "filesystems (using L</guestfs_getxattr>).  See:"
33864 msgstr ""
33865
33866 #. type: textblock
33867 #: ../src/guestfs.pod:689
33868 msgid ""
33869 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
33870 msgstr ""
33871 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
33872
33873 #. type: =head2
33874 #: ../src/guestfs.pod:691
33875 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
33876 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
33877
33878 #. type: textblock
33879 #: ../src/guestfs.pod:693
33880 msgid ""
33881 "Although we don't want to discourage you from using the C API, we will "
33882 "mention here that the same API is also available in other languages."
33883 msgstr ""
33884
33885 #. type: textblock
33886 #: ../src/guestfs.pod:696
33887 msgid ""
33888 "The API is broadly identical in all supported languages.  This means that "
33889 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
33890 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
33891 "OCaml.  In other words, a straightforward, predictable isomorphism between "
33892 "each language."
33893 msgstr ""
33894
33895 #. type: textblock
33896 #: ../src/guestfs.pod:702
33897 msgid ""
33898 "Error messages are automatically transformed into exceptions if the language "
33899 "supports it."
33900 msgstr ""
33901
33902 #. type: textblock
33903 #: ../src/guestfs.pod:705
33904 msgid ""
33905 "We don't try to \"object orientify\" parts of the API in OO languages, "
33906 "although contributors are welcome to write higher level APIs above what we "
33907 "provide in their favourite languages if they wish."
33908 msgstr ""
33909
33910 #. type: =item
33911 #: ../src/guestfs.pod:711
33912 msgid "B<C++>"
33913 msgstr "B<C++>"
33914
33915 #. type: textblock
33916 #: ../src/guestfs.pod:713
33917 msgid ""
33918 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
33919 "identical to the C API.  C++ classes and exceptions are not used."
33920 msgstr ""
33921
33922 #. type: =item
33923 #: ../src/guestfs.pod:717
33924 msgid "B<C#>"
33925 msgstr "B<C#>"
33926
33927 #. type: textblock
33928 #: ../src/guestfs.pod:719
33929 msgid ""
33930 "The C# bindings are highly experimental.  Please read the warnings at the "
33931 "top of C<csharp/Libguestfs.cs>."
33932 msgstr ""
33933
33934 #. type: =item
33935 #: ../src/guestfs.pod:722
33936 msgid "B<Haskell>"
33937 msgstr "B<Haskell>"
33938
33939 #. type: textblock
33940 #: ../src/guestfs.pod:724
33941 msgid ""
33942 "This is the only language binding that is working but incomplete.  Only "
33943 "calls which return simple integers have been bound in Haskell, and we are "
33944 "looking for help to complete this binding."
33945 msgstr ""
33946
33947 #. type: =item
33948 #: ../src/guestfs.pod:728
33949 msgid "B<Java>"
33950 msgstr "B<Java>"
33951
33952 #. type: textblock
33953 #: ../src/guestfs.pod:730
33954 msgid ""
33955 "Full documentation is contained in the Javadoc which is distributed with "
33956 "libguestfs.  For examples, see L<guestfs-java(3)>."
33957 msgstr ""
33958
33959 #. type: =item
33960 #: ../src/guestfs.pod:733
33961 msgid "B<OCaml>"
33962 msgstr "B<OCaml>"
33963
33964 #. type: textblock
33965 #: ../src/guestfs.pod:735
33966 msgid "See L<guestfs-ocaml(3)>."
33967 msgstr "Див. L<guestfs-ocaml(3)>."
33968
33969 #. type: =item
33970 #: ../src/guestfs.pod:737
33971 msgid "B<Perl>"
33972 msgstr "B<Perl>"
33973
33974 #. type: textblock
33975 #: ../src/guestfs.pod:739
33976 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
33977 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
33978
33979 #. type: =item
33980 #: ../src/guestfs.pod:741
33981 msgid "B<PHP>"
33982 msgstr "B<PHP>"
33983
33984 #. type: textblock
33985 #: ../src/guestfs.pod:743
33986 msgid ""
33987 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
33988 "the php-libguestfs package for your distribution."
33989 msgstr ""
33990
33991 #. type: textblock
33992 #: ../src/guestfs.pod:746
33993 msgid "The PHP binding only works correctly on 64 bit machines."
33994 msgstr ""
33995
33996 #. type: =item
33997 #: ../src/guestfs.pod:748
33998 msgid "B<Python>"
33999 msgstr "B<Python>"
34000
34001 #. type: textblock
34002 #: ../src/guestfs.pod:750
34003 msgid "See L<guestfs-python(3)>."
34004 msgstr "Див. L<guestfs-python(3)>."
34005
34006 #. type: =item
34007 #: ../src/guestfs.pod:752
34008 msgid "B<Ruby>"
34009 msgstr "B<Ruby>"
34010
34011 #. type: textblock
34012 #: ../src/guestfs.pod:754
34013 msgid "See L<guestfs-ruby(3)>."
34014 msgstr "Див. L<guestfs-ruby(3)>."
34015
34016 #. type: =item
34017 #: ../src/guestfs.pod:756
34018 msgid "B<shell scripts>"
34019 msgstr "B<скрипти оболонки>"
34020
34021 #. type: textblock
34022 #: ../src/guestfs.pod:758
34023 msgid "See L<guestfish(1)>."
34024 msgstr "Див. L<guestfish(1)>."
34025
34026 #. type: =head2
34027 #: ../src/guestfs.pod:762
34028 msgid "LIBGUESTFS GOTCHAS"
34029 msgstr ""
34030
34031 #. type: textblock
34032 #: ../src/guestfs.pod:764
34033 msgid ""
34034 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
34035 "system [...] that works in the way it is documented but is counterintuitive "
34036 "and almost invites mistakes.\""
34037 msgstr ""
34038
34039 #. type: textblock
34040 #: ../src/guestfs.pod:768
34041 msgid ""
34042 "Since we developed libguestfs and the associated tools, there are several "
34043 "things we would have designed differently, but are now stuck with for "
34044 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
34045 "release, you can expect these to change.  Beware of them."
34046 msgstr ""
34047
34048 #. type: =item
34049 #: ../src/guestfs.pod:776
34050 msgid "Autosync / forgetting to sync."
34051 msgstr ""
34052
34053 #. type: textblock
34054 #: ../src/guestfs.pod:778
34055 msgid ""
34056 "I<Update:> Autosync is enabled by default for all API users starting from "
34057 "libguestfs 1.5.24.  This section only applies to older versions."
34058 msgstr ""
34059
34060 #. type: textblock
34061 #: ../src/guestfs.pod:781
34062 msgid ""
34063 "When modifying a filesystem from C or another language, you B<must> unmount "
34064 "all filesystems and call L</guestfs_sync> explicitly before you close the "
34065 "libguestfs handle.  You can also call:"
34066 msgstr ""
34067
34068 #. type: verbatim
34069 #: ../src/guestfs.pod:785
34070 #, no-wrap
34071 msgid ""
34072 " guestfs_set_autosync (g, 1);\n"
34073 "\n"
34074 msgstr ""
34075 " guestfs_set_autosync (g, 1);\n"
34076 "\n"
34077
34078 #. type: textblock
34079 #: ../src/guestfs.pod:787
34080 msgid ""
34081 "to have the unmount/sync done automatically for you when the handle 'g' is "
34082 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
34083 msgstr ""
34084
34085 #. type: textblock
34086 #: ../src/guestfs.pod:791
34087 msgid ""
34088 "If you forget to do this, then it is entirely possible that your changes "
34089 "won't be written out, or will be partially written, or (very rarely) that "
34090 "you'll get disk corruption."
34091 msgstr ""
34092
34093 #. type: textblock
34094 #: ../src/guestfs.pod:795
34095 msgid ""
34096 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
34097 "guestfish scripts that forget to sync will work just fine, which can make "
34098 "this very puzzling if you are trying to debug a problem."
34099 msgstr ""
34100
34101 #. type: =item
34102 #: ../src/guestfs.pod:799
34103 msgid "Mount option C<-o sync> should not be the default."
34104 msgstr ""
34105
34106 #. type: textblock
34107 #: ../src/guestfs.pod:801
34108 msgid ""
34109 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
34110 "However C<-o sync> does not add any reliability benefit, but does have a "
34111 "very large performance impact."
34112 msgstr ""
34113
34114 #. type: textblock
34115 #: ../src/guestfs.pod:805
34116 msgid ""
34117 "The work around is to use L</guestfs_mount_options> and set the mount "
34118 "options that you actually want to use."
34119 msgstr ""
34120
34121 #. type: =item
34122 #: ../src/guestfs.pod:808
34123 msgid "Read-only should be the default."
34124 msgstr ""
34125
34126 #. type: textblock
34127 #: ../src/guestfs.pod:810
34128 msgid ""
34129 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
34130 "specify I<--rw> if you want to make changes to the image."
34131 msgstr ""
34132
34133 #. type: textblock
34134 #: ../src/guestfs.pod:813
34135 msgid "This would reduce the potential to corrupt live VM images."
34136 msgstr ""
34137
34138 #. type: textblock
34139 #: ../src/guestfs.pod:815
34140 msgid ""
34141 "Note that many filesystems change the disk when you just mount and unmount, "
34142 "even if you didn't perform any writes.  You need to use L</"
34143 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
34144 msgstr ""
34145
34146 #. type: =item
34147 #: ../src/guestfs.pod:819
34148 msgid "guestfish command line is hard to use."
34149 msgstr ""
34150
34151 #. type: textblock
34152 #: ../src/guestfs.pod:821
34153 msgid ""
34154 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
34155 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
34156 "exist, so it fails.  In earlier versions of guestfish the error message was "
34157 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
34158 "we should have used C<guestfish -c command> to run commands."
34159 msgstr ""
34160
34161 #. type: =item
34162 #: ../src/guestfs.pod:828
34163 msgid "guestfish megabyte modifiers don't work right on all commands"
34164 msgstr ""
34165
34166 #. type: textblock
34167 #: ../src/guestfs.pod:830
34168 msgid ""
34169 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
34170 "other modifiers).  What guestfish actually does is to multiply the number "
34171 "part by the modifier part and pass the result to the C API.  However this "
34172 "doesn't work for a few APIs which aren't expecting bytes, but are already "
34173 "expecting some other unit (eg. megabytes)."
34174 msgstr ""
34175
34176 #. type: textblock
34177 #: ../src/guestfs.pod:837
34178 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
34179 msgstr ""
34180
34181 #. type: verbatim
34182 #: ../src/guestfs.pod:839
34183 #, no-wrap
34184 msgid ""
34185 " lvcreate LV VG 100M\n"
34186 "\n"
34187 msgstr ""
34188 " lvcreate LV VG 100M\n"
34189 "\n"
34190
34191 #. type: textblock
34192 #: ../src/guestfs.pod:841
34193 msgid ""
34194 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
34195 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
34196 "megabytes * megabytes) logical volume.  The error message you get from this "
34197 "is also a little obscure."
34198 msgstr ""
34199
34200 #. type: textblock
34201 #: ../src/guestfs.pod:846
34202 msgid ""
34203 "This could be fixed in the generator by specially marking parameters and "
34204 "return values which take bytes or other units."
34205 msgstr ""
34206
34207 #. type: =item
34208 #: ../src/guestfs.pod:849
34209 msgid "Ambiguity between devices and paths"
34210 msgstr ""
34211
34212 #. type: textblock
34213 #: ../src/guestfs.pod:851
34214 msgid ""
34215 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
34216 "sdb2>) and a similar pathname.  A file might just happen to be called "
34217 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
34218 msgstr ""
34219
34220 #. type: textblock
34221 #: ../src/guestfs.pod:856
34222 msgid ""
34223 "In the current API we usually resolve this ambiguity by having two separate "
34224 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
34225 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
34226 "detecting if the path supplied begins with C</dev/>."
34227 msgstr ""
34228
34229 #. type: textblock
34230 #: ../src/guestfs.pod:862
34231 msgid ""
34232 "To avoid both the ambiguity and the need to duplicate some calls, we could "
34233 "make paths/devices into structured names.  One way to do this would be to "
34234 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
34235 "aspect of grub.  Another way would be to use a structured type, equivalent "
34236 "to this OCaml type:"
34237 msgstr ""
34238
34239 #. type: verbatim
34240 #: ../src/guestfs.pod:868
34241 #, no-wrap
34242 msgid ""
34243 " type path = Path of string | Device of int | Partition of int * int\n"
34244 "\n"
34245 msgstr ""
34246
34247 #. type: textblock
34248 #: ../src/guestfs.pod:870
34249 msgid "which would allow you to pass arguments like:"
34250 msgstr ""
34251
34252 #. type: verbatim
34253 #: ../src/guestfs.pod:872
34254 #, no-wrap
34255 msgid ""
34256 " Path \"/foo/bar\"\n"
34257 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
34258 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
34259 " Path \"/dev/sdb2\"    (* not a device *)\n"
34260 "\n"
34261 msgstr ""
34262
34263 #. type: textblock
34264 #: ../src/guestfs.pod:877
34265 msgid ""
34266 "As you can see there are still problems to resolve even with this "
34267 "representation.  Also consider how it might work in guestfish."
34268 msgstr ""
34269
34270 #. type: =head2
34271 #: ../src/guestfs.pod:882
34272 msgid "KEYS AND PASSPHRASES"
34273 msgstr "КЛЮЧІ І ПАРОЛІ"
34274
34275 #. type: textblock
34276 #: ../src/guestfs.pod:884
34277 msgid ""
34278 "Certain libguestfs calls take a parameter that contains sensitive key "
34279 "material, passed in as a C string."
34280 msgstr ""
34281
34282 #. type: textblock
34283 #: ../src/guestfs.pod:887
34284 msgid ""
34285 "In the future we would hope to change the libguestfs implementation so that "
34286 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
34287 "swap.  However this is I<not> done at the moment, because of the complexity "
34288 "of such an implementation."
34289 msgstr ""
34290
34291 #. type: textblock
34292 #: ../src/guestfs.pod:892
34293 msgid ""
34294 "Therefore you should be aware that any key parameter you pass to libguestfs "
34295 "might end up being written out to the swap partition.  If this is a concern, "
34296 "scrub the swap partition or don't use libguestfs on encrypted devices."
34297 msgstr ""
34298
34299 #. type: =head2
34300 #: ../src/guestfs.pod:897
34301 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
34302 msgstr ""
34303
34304 #. type: textblock
34305 #: ../src/guestfs.pod:899
34306 msgid ""
34307 "All high-level libguestfs actions are synchronous.  If you want to use "
34308 "libguestfs asynchronously then you must create a thread."
34309 msgstr ""
34310
34311 #. type: textblock
34312 #: ../src/guestfs.pod:902
34313 msgid ""
34314 "Only use the handle from a single thread.  Either use the handle exclusively "
34315 "from one thread, or provide your own mutex so that two threads cannot issue "
34316 "calls on the same handle at the same time."
34317 msgstr ""
34318
34319 #. type: textblock
34320 #: ../src/guestfs.pod:906
34321 msgid ""
34322 "See the graphical program guestfs-browser for one possible architecture for "
34323 "multithreaded programs using libvirt and libguestfs."
34324 msgstr ""
34325
34326 #. type: =head2
34327 #: ../src/guestfs.pod:909
34328 msgid "PATH"
34329 msgstr "ШЛЯХ"
34330
34331 #. type: textblock
34332 #: ../src/guestfs.pod:911
34333 msgid ""
34334 "Libguestfs needs a supermin appliance, which it finds by looking along an "
34335 "internal path."
34336 msgstr ""
34337
34338 #. type: textblock
34339 #: ../src/guestfs.pod:914
34340 msgid ""
34341 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
34342 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
34343 msgstr ""
34344
34345 #. type: textblock
34346 #: ../src/guestfs.pod:917
34347 msgid ""
34348 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
34349 "to change the directories that libguestfs will search in.  The value is a "
34350 "colon-separated list of paths.  The current directory is I<not> searched "
34351 "unless the path contains an empty element or C<.>.  For example "
34352 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
34353 "then C</usr/lib/guestfs>."
34354 msgstr ""
34355
34356 #. type: =head2
34357 #: ../src/guestfs.pod:924
34358 msgid "QEMU WRAPPERS"
34359 msgstr ""
34360
34361 #. type: textblock
34362 #: ../src/guestfs.pod:926
34363 msgid ""
34364 "If you want to compile your own qemu, run qemu from a non-standard location, "
34365 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
34366 "around qemu."
34367 msgstr ""
34368
34369 #. type: textblock
34370 #: ../src/guestfs.pod:930
34371 msgid ""
34372 "There is one important rule to remember: you I<must C<exec qemu>> as the "
34373 "last command in the shell script (so that qemu replaces the shell and "
34374 "becomes the direct child of the libguestfs-using program).  If you don't do "
34375 "this, then the qemu process won't be cleaned up correctly."
34376 msgstr ""
34377
34378 #. type: textblock
34379 #: ../src/guestfs.pod:935
34380 msgid ""
34381 "Here is an example of a wrapper, where I have built my own copy of qemu from "
34382 "source:"
34383 msgstr ""
34384
34385 #. type: verbatim
34386 #: ../src/guestfs.pod:938
34387 #, no-wrap
34388 msgid ""
34389 " #!/bin/sh -\n"
34390 " qemudir=/home/rjones/d/qemu\n"
34391 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
34392 "\n"
34393 msgstr ""
34394 " #!/bin/sh -\n"
34395 " qemudir=/home/rjones/d/qemu\n"
34396 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
34397 "\n"
34398
34399 #. type: textblock
34400 #: ../src/guestfs.pod:942
34401 msgid ""
34402 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
34403 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
34404 "example:"
34405 msgstr ""
34406
34407 #. type: verbatim
34408 #: ../src/guestfs.pod:946
34409 #, no-wrap
34410 msgid ""
34411 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
34412 "\n"
34413 msgstr ""
34414 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
34415 "\n"
34416
34417 #. type: textblock
34418 #: ../src/guestfs.pod:948
34419 msgid ""
34420 "Note that libguestfs also calls qemu with the -help and -version options in "
34421 "order to determine features."
34422 msgstr ""
34423
34424 #. type: =head2
34425 #: ../src/guestfs.pod:951
34426 msgid "ATTACHING TO RUNNING DAEMONS"
34427 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
34428
34429 #. type: textblock
34430 #: ../src/guestfs.pod:953
34431 msgid ""
34432 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
34433 "babies.  Use with caution."
34434 msgstr ""
34435
34436 #. type: textblock
34437 #: ../src/guestfs.pod:956
34438 msgid ""
34439 "I<Note (2):> This section explains how to attach to a running daemon from a "
34440 "low level perspective.  For most users, simply using virt tools such as "
34441 "L<guestfish(1)> with the I<--live> option will \"just work\"."
34442 msgstr ""
34443
34444 #. type: =head3
34445 #: ../src/guestfs.pod:960
34446 msgid "Using guestfs_set_attach_method"
34447 msgstr "За допомогою guestfs_set_attach_method"
34448
34449 #. type: textblock
34450 #: ../src/guestfs.pod:962
34451 msgid ""
34452 "By calling L</guestfs_set_attach_method> you can change how the library "
34453 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
34454 "ARCHITECTURE> for some background)."
34455 msgstr ""
34456
34457 #. type: textblock
34458 #: ../src/guestfs.pod:966
34459 msgid ""
34460 "The normal attach method is C<appliance>, where a small appliance is created "
34461 "containing the daemon, and then the library connects to this."
34462 msgstr ""
34463
34464 #. type: textblock
34465 #: ../src/guestfs.pod:969
34466 msgid ""
34467 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
34468 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
34469 "daemon over the Unix domain socket."
34470 msgstr ""
34471
34472 #. type: textblock
34473 #: ../src/guestfs.pod:973
34474 msgid ""
34475 "The normal use for this is to connect to a running virtual machine that "
34476 "contains a C<guestfsd> daemon, and send commands so you can read and write "
34477 "files inside the live virtual machine."
34478 msgstr ""
34479
34480 #. type: =head3
34481 #: ../src/guestfs.pod:977
34482 msgid "Using guestfs_add_domain with live flag"
34483 msgstr "За допомогою guestfs_add_domain з прапорцем live"
34484
34485 #. type: textblock
34486 #: ../src/guestfs.pod:979
34487 msgid ""
34488 "L</guestfs_add_domain> provides some help for getting the correct attach "
34489 "method.  If you pass the C<live> option to this function, then (if the "
34490 "virtual machine is running) it will examine the libvirt XML looking for a "
34491 "virtio-serial channel to connect to:"
34492 msgstr ""
34493
34494 #. type: verbatim
34495 #: ../src/guestfs.pod:985
34496 #, no-wrap
34497 msgid ""
34498 " <domain>\n"
34499 "   ...\n"
34500 "   <devices>\n"
34501 "     ...\n"
34502 "     <channel type='unix'>\n"
34503 "       <source mode='bind' path='/path/to/socket'/>\n"
34504 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
34505 "     </channel>\n"
34506 "     ...\n"
34507 "   </devices>\n"
34508 " </domain>\n"
34509 "\n"
34510 msgstr ""
34511 " <domain>\n"
34512 "   ...\n"
34513 "   <devices>\n"
34514 "     ...\n"
34515 "     <channel type='unix'>\n"
34516 "       <source mode='bind' path='/path/to/socket'/>\n"
34517 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
34518 "     </channel>\n"
34519 "     ...\n"
34520 "   </devices>\n"
34521 " </domain>\n"
34522 "\n"
34523
34524 #. type: textblock
34525 #: ../src/guestfs.pod:997
34526 msgid ""
34527 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
34528 "method to C<unix:/path/to/socket>."
34529 msgstr ""
34530
34531 #. type: textblock
34532 #: ../src/guestfs.pod:1000
34533 msgid ""
34534 "Some of the libguestfs tools (including guestfish) support a I<--live> "
34535 "option which is passed through to L</guestfs_add_domain> thus allowing you "
34536 "to attach to and modify live virtual machines."
34537 msgstr ""
34538
34539 #. type: textblock
34540 #: ../src/guestfs.pod:1004
34541 msgid ""
34542 "The virtual machine needs to have been set up beforehand so that it has the "
34543 "virtio-serial channel and so that guestfsd is running inside it."
34544 msgstr ""
34545
34546 #. type: =head2
34547 #: ../src/guestfs.pod:1008
34548 msgid "ABI GUARANTEE"
34549 msgstr "ГАРАНТІЯ ЩОДО ABI"
34550
34551 #. type: textblock
34552 #: ../src/guestfs.pod:1010
34553 msgid ""
34554 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
34555 "actions as outlined in this section.  Although we will deprecate some "
34556 "actions, for example if they get replaced by newer calls, we will keep the "
34557 "old actions forever.  This allows you the developer to program in confidence "
34558 "against the libguestfs API."
34559 msgstr ""
34560
34561 #. type: =head2
34562 #: ../src/guestfs.pod:1016
34563 msgid "BLOCK DEVICE NAMING"
34564 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
34565
34566 #. type: textblock
34567 #: ../src/guestfs.pod:1018
34568 msgid ""
34569 "In the kernel there is now quite a profusion of schemata for naming block "
34570 "devices (in this context, by I<block device> I mean a physical or virtual "
34571 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
34572 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
34573 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
34574 "for the old IDE driver (particularly for SATA devices) those devices also "
34575 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
34576 "paravirtualized drivers.  This has created several different naming systems, "
34577 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
34578 msgstr ""
34579
34580 #. type: textblock
34581 #: ../src/guestfs.pod:1030
34582 msgid ""
34583 "As discussed above, libguestfs uses a qemu appliance running an embedded "
34584 "Linux kernel to access block devices.  We can run a variety of appliances "
34585 "based on a variety of Linux kernels."
34586 msgstr ""
34587
34588 #. type: textblock
34589 #: ../src/guestfs.pod:1034
34590 msgid ""
34591 "This causes a problem for libguestfs because many API calls use device or "
34592 "partition names.  Working scripts and the recipe (example) scripts that we "
34593 "make available over the internet could fail if the naming scheme changes."
34594 msgstr ""
34595
34596 #. type: textblock
34597 #: ../src/guestfs.pod:1039
34598 msgid ""
34599 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
34600 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
34601 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
34602 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
34603 msgstr ""
34604
34605 #. type: textblock
34606 #: ../src/guestfs.pod:1045
34607 msgid ""
34608 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
34609 "L</guestfs_list_partitions> and similar calls return the true names of the "
34610 "devices and partitions as known to the appliance."
34611 msgstr ""
34612
34613 #. type: =head3
34614 #: ../src/guestfs.pod:1050
34615 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
34616 msgstr ""
34617
34618 #. type: textblock
34619 #: ../src/guestfs.pod:1052
34620 msgid ""
34621 "Usually this translation is transparent.  However in some (very rare)  cases "
34622 "you may need to know the exact algorithm.  Such cases include where you use "
34623 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
34624 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
34625 msgstr ""
34626
34627 #. type: textblock
34628 #: ../src/guestfs.pod:1058
34629 msgid ""
34630 "The algorithm is applied only to I<parameters> which are known to be either "
34631 "device or partition names.  Return values from functions such as L</"
34632 "guestfs_list_devices> are never changed."
34633 msgstr ""
34634
34635 #. type: textblock
34636 #: ../src/guestfs.pod:1066
34637 msgid "Is the string a parameter which is a device or partition name?"
34638 msgstr ""
34639
34640 #. type: textblock
34641 #: ../src/guestfs.pod:1070
34642 msgid "Does the string begin with C</dev/sd>?"
34643 msgstr "Чи починається рядок з C</dev/sd>?"
34644
34645 #. type: textblock
34646 #: ../src/guestfs.pod:1074
34647 msgid ""
34648 "Does the named device exist? If so, we use that device.  However if I<not> "
34649 "then we continue with this algorithm."
34650 msgstr ""
34651
34652 #. type: textblock
34653 #: ../src/guestfs.pod:1079
34654 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
34655 msgstr ""
34656
34657 #. type: textblock
34658 #: ../src/guestfs.pod:1081
34659 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
34660 msgstr ""
34661
34662 #. type: textblock
34663 #: ../src/guestfs.pod:1083
34664 msgid "If that named device exists, use it.  If not, continue."
34665 msgstr ""
34666
34667 #. type: textblock
34668 #: ../src/guestfs.pod:1087
34669 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
34670 msgstr ""
34671
34672 #. type: textblock
34673 #: ../src/guestfs.pod:1089
34674 msgid "If that named device exists, use it.  If not, return an error."
34675 msgstr ""
34676
34677 #. type: =head3
34678 #: ../src/guestfs.pod:1093
34679 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
34680 msgstr ""
34681
34682 #. type: textblock
34683 #: ../src/guestfs.pod:1095
34684 msgid ""
34685 "Although the standard naming scheme and automatic translation is useful for "
34686 "simple programs and guestfish scripts, for larger programs it is best not to "
34687 "rely on this mechanism."
34688 msgstr ""
34689
34690 #. type: textblock
34691 #: ../src/guestfs.pod:1099
34692 msgid ""
34693 "Where possible for maximum future portability programs using libguestfs "
34694 "should use these future-proof techniques:"
34695 msgstr ""
34696
34697 #. type: textblock
34698 #: ../src/guestfs.pod:1106
34699 msgid ""
34700 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
34701 "device names, and then use those names directly."
34702 msgstr ""
34703
34704 #. type: textblock
34705 #: ../src/guestfs.pod:1109
34706 msgid ""
34707 "Since those device names exist by definition, they will never be translated."
34708 msgstr ""
34709
34710 #. type: textblock
34711 #: ../src/guestfs.pod:1114
34712 msgid ""
34713 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
34714 "filesystem labels."
34715 msgstr ""
34716
34717 #. type: =head1
34718 #: ../src/guestfs.pod:1119
34719 msgid "SECURITY"
34720 msgstr "БЕЗПЕКА"
34721
34722 #. type: textblock
34723 #: ../src/guestfs.pod:1121
34724 msgid ""
34725 "This section discusses security implications of using libguestfs, "
34726 "particularly with untrusted or malicious guests or disk images."
34727 msgstr ""
34728
34729 #. type: =head2
34730 #: ../src/guestfs.pod:1124
34731 msgid "GENERAL SECURITY CONSIDERATIONS"
34732 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
34733
34734 #. type: textblock
34735 #: ../src/guestfs.pod:1126
34736 msgid ""
34737 "Be careful with any files or data that you download from a guest (by "
34738 "\"download\" we mean not just the L</guestfs_download> command but any "
34739 "command that reads files, filenames, directories or anything else from a "
34740 "disk image).  An attacker could manipulate the data to fool your program "
34741 "into doing the wrong thing.  Consider cases such as:"
34742 msgstr ""
34743
34744 #. type: textblock
34745 #: ../src/guestfs.pod:1136
34746 msgid "the data (file etc) not being present"
34747 msgstr ""
34748
34749 #. type: textblock
34750 #: ../src/guestfs.pod:1140
34751 msgid "being present but empty"
34752 msgstr ""
34753
34754 #. type: textblock
34755 #: ../src/guestfs.pod:1144
34756 msgid "being much larger than normal"
34757 msgstr ""
34758
34759 #. type: textblock
34760 #: ../src/guestfs.pod:1148
34761 msgid "containing arbitrary 8 bit data"
34762 msgstr ""
34763
34764 #. type: textblock
34765 #: ../src/guestfs.pod:1152
34766 msgid "being in an unexpected character encoding"
34767 msgstr ""
34768
34769 #. type: textblock
34770 #: ../src/guestfs.pod:1156
34771 msgid "containing homoglyphs."
34772 msgstr ""
34773
34774 #. type: =head2
34775 #: ../src/guestfs.pod:1160
34776 msgid "SECURITY OF MOUNTING FILESYSTEMS"
34777 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
34778
34779 #. type: textblock
34780 #: ../src/guestfs.pod:1162
34781 msgid ""
34782 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
34783 "(VFS) module can sometimes be escalated into exploits by deliberately "
34784 "creating a malicious, malformed filesystem.  These exploits are very severe "
34785 "for two reasons.  Firstly there are very many filesystem drivers in the "
34786 "kernel, and many of them are infrequently used and not much developer "
34787 "attention has been paid to the code.  Linux userspace helps potential "
34788 "crackers by detecting the filesystem type and automatically choosing the "
34789 "right VFS driver, even if that filesystem type is obscure or unexpected for "
34790 "the administrator.  Secondly, a kernel-level exploit is like a local root "
34791 "exploit (worse in some ways), giving immediate and total access to the "
34792 "system right down to the hardware level."
34793 msgstr ""
34794
34795 #. type: textblock
34796 #: ../src/guestfs.pod:1175
34797 msgid ""
34798 "That explains why you should never mount a filesystem from an untrusted "
34799 "guest on your host kernel.  How about libguestfs? We run a Linux kernel "
34800 "inside a qemu virtual machine, usually running as a non-root user.  The "
34801 "attacker would need to write a filesystem which first exploited the kernel, "
34802 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
34803 "the libguestfs protocol, and finally to be as serious as the host kernel "
34804 "exploit it would need to escalate its privileges to root.  This multi-step "
34805 "escalation, performed by a static piece of data, is thought to be extremely "
34806 "hard to do, although we never say 'never' about security issues."
34807 msgstr ""
34808
34809 #. type: textblock
34810 #: ../src/guestfs.pod:1186
34811 msgid ""
34812 "In any case callers can reduce the attack surface by forcing the filesystem "
34813 "type when mounting (use L</guestfs_mount_vfs>)."
34814 msgstr ""
34815
34816 #. type: =head2
34817 #: ../src/guestfs.pod:1189
34818 msgid "PROTOCOL SECURITY"
34819 msgstr "ЗАХИСТ ПРОТОКОЛУ"
34820
34821 #. type: textblock
34822 #: ../src/guestfs.pod:1191
34823 msgid ""
34824 "The protocol is designed to be secure, being based on RFC 4506 (XDR)  with a "
34825 "defined upper message size.  However a program that uses libguestfs must "
34826 "also take care - for example you can write a program that downloads a binary "
34827 "from a disk image and executes it locally, and no amount of protocol "
34828 "security will save you from the consequences."
34829 msgstr ""
34830
34831 #. type: =head2
34832 #: ../src/guestfs.pod:1197
34833 msgid "INSPECTION SECURITY"
34834 msgstr ""
34835
34836 #. type: textblock
34837 #: ../src/guestfs.pod:1199
34838 msgid ""
34839 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
34840 "directly from the guest, and these could contain any 8 bit data.  Callers "
34841 "should be careful to escape these before printing them to a structured file "
34842 "(for example, use HTML escaping if creating a web page)."
34843 msgstr ""
34844
34845 #. type: textblock
34846 #: ../src/guestfs.pod:1205
34847 msgid ""
34848 "Guest configuration may be altered in unusual ways by the administrator of "
34849 "the virtual machine, and may not reflect reality (particularly for untrusted "
34850 "or actively malicious guests).  For example we parse the hostname from "
34851 "configuration files like C</etc/sysconfig/network> that we find in the "
34852 "guest, but the guest administrator can easily manipulate these files to "
34853 "provide the wrong hostname."
34854 msgstr ""
34855
34856 #. type: textblock
34857 #: ../src/guestfs.pod:1213
34858 msgid ""
34859 "The inspection API parses guest configuration using two external libraries: "
34860 "Augeas (Linux configuration) and hivex (Windows Registry).  Both are "
34861 "designed to be robust in the face of malicious data, although denial of "
34862 "service attacks are still possible, for example with oversized configuration "
34863 "files."
34864 msgstr ""
34865
34866 #. type: =head2
34867 #: ../src/guestfs.pod:1219
34868 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
34869 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
34870
34871 #. type: textblock
34872 #: ../src/guestfs.pod:1221
34873 msgid ""
34874 "Be very cautious about running commands from the guest.  By running a "
34875 "command in the guest, you are giving CPU time to a binary that you do not "
34876 "control, under the same user account as the library, albeit wrapped in qemu "
34877 "virtualization.  More information and alternatives can be found in the "
34878 "section L</RUNNING COMMANDS>."
34879 msgstr ""
34880
34881 #. type: =head2
34882 #: ../src/guestfs.pod:1227
34883 msgid "CVE-2010-3851"
34884 msgstr "CVE-2010-3851"
34885
34886 #. type: textblock
34887 #: ../src/guestfs.pod:1229
34888 msgid "https://bugzilla.redhat.com/642934"
34889 msgstr "https://bugzilla.redhat.com/642934"
34890
34891 #. type: textblock
34892 #: ../src/guestfs.pod:1231
34893 msgid ""
34894 "This security bug concerns the automatic disk format detection that qemu "
34895 "does on disk images."
34896 msgstr ""
34897
34898 #. type: textblock
34899 #: ../src/guestfs.pod:1234
34900 msgid ""
34901 "A raw disk image is just the raw bytes, there is no header.  Other disk "
34902 "images like qcow2 contain a special header.  Qemu deals with this by looking "
34903 "for one of the known headers, and if none is found then assuming the disk "
34904 "image must be raw."
34905 msgstr ""
34906
34907 #. type: textblock
34908 #: ../src/guestfs.pod:1239
34909 msgid ""
34910 "This allows a guest which has been given a raw disk image to write some "
34911 "other header.  At next boot (or when the disk image is accessed by "
34912 "libguestfs) qemu would do autodetection and think the disk image format was, "
34913 "say, qcow2 based on the header written by the guest."
34914 msgstr ""
34915
34916 #. type: textblock
34917 #: ../src/guestfs.pod:1244
34918 msgid ""
34919 "This in itself would not be a problem, but qcow2 offers many features, one "
34920 "of which is to allow a disk image to refer to another image (called the "
34921 "\"backing disk\").  It does this by placing the path to the backing disk "
34922 "into the qcow2 header.  This path is not validated and could point to any "
34923 "host file (eg. \"/etc/passwd\").  The backing disk is then exposed through "
34924 "\"holes\" in the qcow2 disk image, which of course is completely under the "
34925 "control of the attacker."
34926 msgstr ""
34927
34928 #. type: textblock
34929 #: ../src/guestfs.pod:1252
34930 msgid ""
34931 "In libguestfs this is rather hard to exploit except under two circumstances:"
34932 msgstr ""
34933
34934 #. type: textblock
34935 #: ../src/guestfs.pod:1259
34936 msgid "You have enabled the network or have opened the disk in write mode."
34937 msgstr ""
34938
34939 #. type: textblock
34940 #: ../src/guestfs.pod:1263
34941 msgid ""
34942 "You are also running untrusted code from the guest (see L</RUNNING "
34943 "COMMANDS>)."
34944 msgstr ""
34945
34946 #. type: textblock
34947 #: ../src/guestfs.pod:1268
34948 msgid ""
34949 "The way to avoid this is to specify the expected disk format when adding "
34950 "disks (the optional C<format> option to L</guestfs_add_drive_opts>).  You "
34951 "should always do this if the disk is raw format, and it's a good idea for "
34952 "other cases too."
34953 msgstr ""
34954
34955 #. type: textblock
34956 #: ../src/guestfs.pod:1273
34957 msgid ""
34958 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
34959 "format is fetched from libvirt and passed through."
34960 msgstr ""
34961
34962 #. type: textblock
34963 #: ../src/guestfs.pod:1276
34964 msgid ""
34965 "For libguestfs tools, use the I<--format> command line parameter as "
34966 "appropriate."
34967 msgstr ""
34968
34969 #. type: =head1
34970 #: ../src/guestfs.pod:1279
34971 msgid "CONNECTION MANAGEMENT"
34972 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
34973
34974 #. type: =head2
34975 #: ../src/guestfs.pod:1281
34976 msgid "guestfs_h *"
34977 msgstr "guestfs_h *"
34978
34979 #. type: textblock
34980 #: ../src/guestfs.pod:1283
34981 msgid ""
34982 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
34983 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
34984 "handle and release all resources used."
34985 msgstr ""
34986
34987 #. type: textblock
34988 #: ../src/guestfs.pod:1287
34989 msgid ""
34990 "For information on using multiple handles and threads, see the section L</"
34991 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
34992 msgstr ""
34993
34994 #. type: =head2
34995 #: ../src/guestfs.pod:1290
34996 msgid "guestfs_create"
34997 msgstr "guestfs_create"
34998
34999 #. type: verbatim
35000 #: ../src/guestfs.pod:1292
35001 #, no-wrap
35002 msgid ""
35003 " guestfs_h *guestfs_create (void);\n"
35004 "\n"
35005 msgstr ""
35006 " guestfs_h *guestfs_create (void);\n"
35007 "\n"
35008
35009 #. type: textblock
35010 #: ../src/guestfs.pod:1294
35011 msgid "Create a connection handle."
35012 msgstr "Створити дескриптор з’єднання."
35013
35014 #. type: textblock
35015 #: ../src/guestfs.pod:1296
35016 msgid ""
35017 "On success this returns a non-NULL pointer to a handle.  On error it returns "
35018 "NULL."
35019 msgstr ""
35020
35021 #. type: textblock
35022 #: ../src/guestfs.pod:1299
35023 msgid ""
35024 "You have to \"configure\" the handle after creating it.  This includes "
35025 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
35026 "handle at least once."
35027 msgstr ""
35028
35029 #. type: textblock
35030 #: ../src/guestfs.pod:1303
35031 msgid "After configuring the handle, you have to call L</guestfs_launch>."
35032 msgstr ""
35033
35034 #. type: textblock
35035 #: ../src/guestfs.pod:1305
35036 msgid ""
35037 "You may also want to configure error handling for the handle.  See the L</"
35038 "ERROR HANDLING> section below."
35039 msgstr ""
35040
35041 #. type: =head2
35042 #: ../src/guestfs.pod:1308
35043 msgid "guestfs_close"
35044 msgstr "guestfs_close"
35045
35046 #. type: verbatim
35047 #: ../src/guestfs.pod:1310
35048 #, no-wrap
35049 msgid ""
35050 " void guestfs_close (guestfs_h *g);\n"
35051 "\n"
35052 msgstr ""
35053 " void guestfs_close (guestfs_h *g);\n"
35054 "\n"
35055
35056 #. type: textblock
35057 #: ../src/guestfs.pod:1312
35058 msgid "This closes the connection handle and frees up all resources used."
35059 msgstr ""
35060
35061 #. type: textblock
35062 #: ../src/guestfs.pod:1314
35063 msgid ""
35064 "If autosync was set on the handle and the handle was launched, then this "
35065 "implicitly calls various functions to unmount filesystems and sync the "
35066 "disk.  See L</guestfs_set_autosync> for more details."
35067 msgstr ""
35068
35069 #. type: textblock
35070 #: ../src/guestfs.pod:1318
35071 msgid "If a close callback was set on the handle, then it is called."
35072 msgstr ""
35073
35074 #. type: =head1
35075 #: ../src/guestfs.pod:1320
35076 msgid "ERROR HANDLING"
35077 msgstr "ОБРОБКА ПОМИЛОК"
35078
35079 #. type: textblock
35080 #: ../src/guestfs.pod:1322
35081 msgid ""
35082 "API functions can return errors.  For example, almost all functions that "
35083 "return C<int> will return C<-1> to indicate an error."
35084 msgstr ""
35085
35086 #. type: textblock
35087 #: ../src/guestfs.pod:1325
35088 msgid ""
35089 "Additional information is available for errors: an error message string and "
35090 "optionally an error number (errno) if the thing that failed was a system "
35091 "call."
35092 msgstr ""
35093
35094 #. type: textblock
35095 #: ../src/guestfs.pod:1329
35096 msgid ""
35097 "You can get at the additional information about the last error on the handle "
35098 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
35099 "up an error handler with L</guestfs_set_error_handler>."
35100 msgstr ""
35101
35102 #. type: textblock
35103 #: ../src/guestfs.pod:1334
35104 msgid ""
35105 "When the handle is created, a default error handler is installed which "
35106 "prints the error message string to C<stderr>.  For small short-running "
35107 "command line programs it is sufficient to do:"
35108 msgstr ""
35109
35110 #. type: verbatim
35111 #: ../src/guestfs.pod:1338
35112 #, no-wrap
35113 msgid ""
35114 " if (guestfs_launch (g) == -1)\n"
35115 "   exit (EXIT_FAILURE);\n"
35116 "\n"
35117 msgstr ""
35118 " if (guestfs_launch (g) == -1)\n"
35119 "   exit (EXIT_FAILURE);\n"
35120 "\n"
35121
35122 #. type: textblock
35123 #: ../src/guestfs.pod:1341
35124 msgid ""
35125 "since the default error handler will ensure that an error message has been "
35126 "printed to C<stderr> before the program exits."
35127 msgstr ""
35128
35129 #. type: textblock
35130 #: ../src/guestfs.pod:1344
35131 msgid ""
35132 "For other programs the caller will almost certainly want to install an "
35133 "alternate error handler or do error handling in-line like this:"
35134 msgstr ""
35135
35136 #. type: verbatim
35137 #: ../src/guestfs.pod:1347
35138 #, no-wrap
35139 msgid ""
35140 " /* This disables the default behaviour of printing errors\n"
35141 "    on stderr. */\n"
35142 " guestfs_set_error_handler (g, NULL, NULL);\n"
35143 " \n"
35144 msgstr ""
35145
35146 #. type: verbatim
35147 #: ../src/guestfs.pod:1351
35148 #, fuzzy, no-wrap
35149 #| msgid ""
35150 #| " if (guestfs_launch (g) == -1) {\n"
35151 #| "   /* Examine the error message and print it etc. */\n"
35152 #| "   char *msg = guestfs_last_error (g);\n"
35153 #| "   int errnum = guestfs_last_errno (g);\n"
35154 #| "   fprintf (stderr, \"%s\\n\", msg);\n"
35155 #| "   /* ... */\n"
35156 #| "  }\n"
35157 #| "\n"
35158 msgid ""
35159 " if (guestfs_launch (g) == -1) {\n"
35160 "   /* Examine the error message and print it etc. */\n"
35161 "   char *msg = guestfs_last_error (g);\n"
35162 "   int errnum = guestfs_last_errno (g);\n"
35163 "   fprintf (stderr, \"%s\", msg);\n"
35164 "   if (errnum != 0)\n"
35165 "     fprintf (stderr, \": %s\", strerror (errnum));\n"
35166 "   fprintf (stderr, \"\\n\");\n"
35167 "   /* ... */\n"
35168 " }\n"
35169 "\n"
35170 msgstr ""
35171 " if (guestfs_launch (g) == -1) {\n"
35172 "   /* Вивчити повідомлення про помилку і вивести його тощо. */\n"
35173 "   char *msg = guestfs_last_error (g);\n"
35174 "   int errnum = guestfs_last_errno (g);\n"
35175 "   fprintf (stderr, \"%s\\n\", msg);\n"
35176 "   /* ... */\n"
35177 "  }\n"
35178 "\n"
35179
35180 #. type: textblock
35181 #: ../src/guestfs.pod:1362
35182 msgid ""
35183 "Out of memory errors are handled differently.  The default action is to call "
35184 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
35185 "guestfs_set_out_of_memory_handler>."
35186 msgstr ""
35187
35188 #. type: textblock
35189 #: ../src/guestfs.pod:1366
35190 msgid ""
35191 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
35192 "because there is no handle if this happens there is no way to get additional "
35193 "error information.  However L</guestfs_create> is supposed to be a "
35194 "lightweight operation which can only fail because of insufficient memory (it "
35195 "returns NULL in this case)."
35196 msgstr ""
35197
35198 #. type: =head2
35199 #: ../src/guestfs.pod:1372
35200 msgid "guestfs_last_error"
35201 msgstr "guestfs_last_error"
35202
35203 #. type: verbatim
35204 #: ../src/guestfs.pod:1374
35205 #, no-wrap
35206 msgid ""
35207 " const char *guestfs_last_error (guestfs_h *g);\n"
35208 "\n"
35209 msgstr ""
35210 " const char *guestfs_last_error (guestfs_h *g);\n"
35211 "\n"
35212
35213 #. type: textblock
35214 #: ../src/guestfs.pod:1376
35215 msgid ""
35216 "This returns the last error message that happened on C<g>.  If there has not "
35217 "been an error since the handle was created, then this returns C<NULL>."
35218 msgstr ""
35219
35220 #. type: textblock
35221 #: ../src/guestfs.pod:1380
35222 msgid ""
35223 "The lifetime of the returned string is until the next error occurs, or L</"
35224 "guestfs_close> is called."
35225 msgstr ""
35226
35227 #. type: =head2
35228 #: ../src/guestfs.pod:1383
35229 msgid "guestfs_last_errno"
35230 msgstr "guestfs_last_errno"
35231
35232 #. type: verbatim
35233 #: ../src/guestfs.pod:1385
35234 #, no-wrap
35235 msgid ""
35236 " int guestfs_last_errno (guestfs_h *g);\n"
35237 "\n"
35238 msgstr ""
35239 " int guestfs_last_errno (guestfs_h *g);\n"
35240 "\n"
35241
35242 #. type: textblock
35243 #: ../src/guestfs.pod:1387
35244 msgid "This returns the last error number (errno) that happened on C<g>."
35245 msgstr ""
35246
35247 #. type: textblock
35248 #: ../src/guestfs.pod:1389
35249 msgid "If successful, an errno integer not equal to zero is returned."
35250 msgstr ""
35251
35252 #. type: textblock
35253 #: ../src/guestfs.pod:1391
35254 msgid ""
35255 "If no error, this returns 0.  This call can return 0 in three situations:"
35256 msgstr ""
35257
35258 #. type: textblock
35259 #: ../src/guestfs.pod:1398
35260 msgid "There has not been any error on the handle."
35261 msgstr ""
35262
35263 #. type: textblock
35264 #: ../src/guestfs.pod:1402
35265 msgid ""
35266 "There has been an error but the errno was meaningless.  This corresponds to "
35267 "the case where the error did not come from a failed system call, but for "
35268 "some other reason."
35269 msgstr ""
35270
35271 #. type: textblock
35272 #: ../src/guestfs.pod:1408
35273 msgid ""
35274 "There was an error from a failed system call, but for some reason the errno "
35275 "was not captured and returned.  This usually indicates a bug in libguestfs."
35276 msgstr ""
35277
35278 #. type: textblock
35279 #: ../src/guestfs.pod:1414
35280 msgid ""
35281 "Libguestfs tries to convert the errno from inside the applicance into a "
35282 "corresponding errno for the caller (not entirely trivial: the appliance "
35283 "might be running a completely different operating system from the library "
35284 "and error numbers are not standardized across Un*xen).  If this could not be "
35285 "done, then the error is translated to C<EINVAL>.  In practice this should "
35286 "only happen in very rare circumstances."
35287 msgstr ""
35288
35289 #. type: =head2
35290 #: ../src/guestfs.pod:1422
35291 msgid "guestfs_set_error_handler"
35292 msgstr "guestfs_set_error_handler"
35293
35294 #. type: verbatim
35295 #: ../src/guestfs.pod:1424
35296 #, no-wrap
35297 msgid ""
35298 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
35299 "                                           void *opaque,\n"
35300 "                                           const char *msg);\n"
35301 " void guestfs_set_error_handler (guestfs_h *g,\n"
35302 "                                 guestfs_error_handler_cb cb,\n"
35303 "                                 void *opaque);\n"
35304 "\n"
35305 msgstr ""
35306 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
35307 "                                           void *opaque,\n"
35308 "                                           const char *msg);\n"
35309 " void guestfs_set_error_handler (guestfs_h *g,\n"
35310 "                                 guestfs_error_handler_cb cb,\n"
35311 "                                 void *opaque);\n"
35312 "\n"
35313
35314 #. type: textblock
35315 #: ../src/guestfs.pod:1431
35316 msgid ""
35317 "The callback C<cb> will be called if there is an error.  The parameters "
35318 "passed to the callback are an opaque data pointer and the error message "
35319 "string."
35320 msgstr ""
35321
35322 #. type: textblock
35323 #: ../src/guestfs.pod:1435
35324 msgid ""
35325 "C<errno> is not passed to the callback.  To get that the callback must call "
35326 "L</guestfs_last_errno>."
35327 msgstr ""
35328
35329 #. type: textblock
35330 #: ../src/guestfs.pod:1438
35331 msgid ""
35332 "Note that the message string C<msg> is freed as soon as the callback "
35333 "function returns, so if you want to stash it somewhere you must make your "
35334 "own copy."
35335 msgstr ""
35336
35337 #. type: textblock
35338 #: ../src/guestfs.pod:1442
35339 msgid "The default handler prints messages on C<stderr>."
35340 msgstr ""
35341
35342 #. type: textblock
35343 #: ../src/guestfs.pod:1444
35344 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
35345 msgstr ""
35346
35347 #. type: =head2
35348 #: ../src/guestfs.pod:1446
35349 msgid "guestfs_get_error_handler"
35350 msgstr "guestfs_get_error_handler"
35351
35352 #. type: verbatim
35353 #: ../src/guestfs.pod:1448
35354 #, no-wrap
35355 msgid ""
35356 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
35357 "                                                     void **opaque_rtn);\n"
35358 "\n"
35359 msgstr ""
35360 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
35361 "                                                     void **opaque_rtn);\n"
35362 "\n"
35363
35364 #. type: textblock
35365 #: ../src/guestfs.pod:1451
35366 msgid "Returns the current error handler callback."
35367 msgstr ""
35368
35369 #. type: =head2
35370 #: ../src/guestfs.pod:1453
35371 msgid "guestfs_set_out_of_memory_handler"
35372 msgstr "guestfs_set_out_of_memory_handler"
35373
35374 #. type: verbatim
35375 #: ../src/guestfs.pod:1455
35376 #, fuzzy, no-wrap
35377 #| msgid ""
35378 #| " typedef void (*guestfs_abort_cb) (void);\n"
35379 #| " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
35380 #| "                                        guestfs_abort_cb);\n"
35381 #| "\n"
35382 msgid ""
35383 " typedef void (*guestfs_abort_cb) (void);\n"
35384 " void guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
35385 "                                         guestfs_abort_cb);\n"
35386 "\n"
35387 msgstr ""
35388 " typedef void (*guestfs_abort_cb) (void);\n"
35389 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
35390 "                                        guestfs_abort_cb);\n"
35391 "\n"
35392
35393 #. type: textblock
35394 #: ../src/guestfs.pod:1459
35395 msgid ""
35396 "The callback C<cb> will be called if there is an out of memory situation.  "
35397 "I<Note this callback must not return>."
35398 msgstr ""
35399
35400 #. type: textblock
35401 #: ../src/guestfs.pod:1462
35402 msgid "The default is to call L<abort(3)>."
35403 msgstr ""
35404
35405 #. type: textblock
35406 #: ../src/guestfs.pod:1464
35407 msgid ""
35408 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
35409 msgstr ""
35410
35411 #. type: =head2
35412 #: ../src/guestfs.pod:1467
35413 msgid "guestfs_get_out_of_memory_handler"
35414 msgstr "guestfs_get_out_of_memory_handler"
35415
35416 #. type: verbatim
35417 #: ../src/guestfs.pod:1469
35418 #, no-wrap
35419 msgid ""
35420 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
35421 "\n"
35422 msgstr ""
35423 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
35424 "\n"
35425
35426 #. type: textblock
35427 #: ../src/guestfs.pod:1471
35428 msgid "This returns the current out of memory handler."
35429 msgstr ""
35430
35431 #. type: =head1
35432 #: ../src/guestfs.pod:1473
35433 msgid "API CALLS"
35434 msgstr "ВИКЛИКИ API"
35435
35436 #. type: =head1
35437 #: ../src/guestfs.pod:1477
35438 msgid "STRUCTURES"
35439 msgstr "СТРУКТУРИ"
35440
35441 #. type: textblock
35442 #: ../src/guestfs.pod:1479
35443 msgid "@STRUCTS@"
35444 msgstr "@STRUCTS@"
35445
35446 #. type: =head1
35447 #: ../src/guestfs.pod:1481
35448 msgid "AVAILABILITY"
35449 msgstr "ДОСТУПНІСТЬ"
35450
35451 #. type: =head2
35452 #: ../src/guestfs.pod:1483
35453 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
35454 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
35455
35456 #. type: textblock
35457 #: ../src/guestfs.pod:1485
35458 msgid ""
35459 "Using L</guestfs_available> you can test availability of the following "
35460 "groups of functions.  This test queries the appliance to see if the "
35461 "appliance you are currently using supports the functionality."
35462 msgstr ""
35463
35464 #. type: textblock
35465 #: ../src/guestfs.pod:1490
35466 msgid "@AVAILABILITY@"
35467 msgstr "@AVAILABILITY@"
35468
35469 #. type: =head2
35470 #: ../src/guestfs.pod:1492
35471 msgid "GUESTFISH supported COMMAND"
35472 msgstr ""
35473
35474 #. type: textblock
35475 #: ../src/guestfs.pod:1494
35476 msgid ""
35477 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
35478 "prints out the available groups and whether they are supported by this build "
35479 "of libguestfs.  Note however that you have to do C<run> first."
35480 msgstr ""
35481
35482 #. type: =head2
35483 #: ../src/guestfs.pod:1499
35484 msgid "SINGLE CALLS AT COMPILE TIME"
35485 msgstr ""
35486
35487 #. type: textblock
35488 #: ../src/guestfs.pod:1501
35489 msgid ""
35490 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
35491 "function, such as:"
35492 msgstr ""
35493
35494 #. type: verbatim
35495 #: ../src/guestfs.pod:1504
35496 #, no-wrap
35497 msgid ""
35498 " #define LIBGUESTFS_HAVE_DD 1\n"
35499 "\n"
35500 msgstr ""
35501 " #define LIBGUESTFS_HAVE_DD 1\n"
35502 "\n"
35503
35504 #. type: textblock
35505 #: ../src/guestfs.pod:1506
35506 msgid "if L</guestfs_dd> is available."
35507 msgstr ""
35508
35509 #. type: textblock
35510 #: ../src/guestfs.pod:1508
35511 msgid ""
35512 "Before version 1.5.8, if you needed to test whether a single libguestfs "
35513 "function is available at compile time, we recommended using build tools such "
35514 "as autoconf or cmake.  For example in autotools you could use:"
35515 msgstr ""
35516
35517 #. type: verbatim
35518 #: ../src/guestfs.pod:1513
35519 #, no-wrap
35520 msgid ""
35521 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
35522 " AC_CHECK_FUNCS([guestfs_dd])\n"
35523 "\n"
35524 msgstr ""
35525 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
35526 " AC_CHECK_FUNCS([guestfs_dd])\n"
35527 "\n"
35528
35529 #. type: textblock
35530 #: ../src/guestfs.pod:1516
35531 msgid ""
35532 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
35533 "in your program."
35534 msgstr ""
35535
35536 #. type: =head2
35537 #: ../src/guestfs.pod:1519
35538 msgid "SINGLE CALLS AT RUN TIME"
35539 msgstr ""
35540
35541 #. type: textblock
35542 #: ../src/guestfs.pod:1521
35543 msgid ""
35544 "Testing at compile time doesn't guarantee that a function really exists in "
35545 "the library.  The reason is that you might be dynamically linked against a "
35546 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
35547 "This situation unfortunately results in a segmentation fault, which is a "
35548 "shortcoming of the C dynamic linking system itself."
35549 msgstr ""
35550
35551 #. type: textblock
35552 #: ../src/guestfs.pod:1528
35553 msgid ""
35554 "You can use L<dlopen(3)> to test if a function is available at run time, as "
35555 "in this example program (note that you still need the compile time check as "
35556 "well):"
35557 msgstr ""
35558
35559 #. type: verbatim
35560 #: ../src/guestfs.pod:1532
35561 #, no-wrap
35562 msgid ""
35563 " #include <stdio.h>\n"
35564 " #include <stdlib.h>\n"
35565 " #include <unistd.h>\n"
35566 " #include <dlfcn.h>\n"
35567 " #include <guestfs.h>\n"
35568 " \n"
35569 msgstr ""
35570 " #include <stdio.h>\n"
35571 " #include <stdlib.h>\n"
35572 " #include <unistd.h>\n"
35573 " #include <dlfcn.h>\n"
35574 " #include <guestfs.h>\n"
35575 " \n"
35576
35577 #. type: verbatim
35578 #: ../src/guestfs.pod:1538
35579 #, no-wrap
35580 msgid ""
35581 " main ()\n"
35582 " {\n"
35583 " #ifdef LIBGUESTFS_HAVE_DD\n"
35584 "   void *dl;\n"
35585 "   int has_function;\n"
35586 " \n"
35587 msgstr ""
35588 " main ()\n"
35589 " {\n"
35590 " #ifdef LIBGUESTFS_HAVE_DD\n"
35591 "   void *dl;\n"
35592 "   int has_function;\n"
35593 " \n"
35594
35595 #. type: verbatim
35596 #: ../src/guestfs.pod:1544
35597 #, no-wrap
35598 msgid ""
35599 "   /* Test if the function guestfs_dd is really available. */\n"
35600 "   dl = dlopen (NULL, RTLD_LAZY);\n"
35601 "   if (!dl) {\n"
35602 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
35603 "     exit (EXIT_FAILURE);\n"
35604 "   }\n"
35605 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
35606 "   dlclose (dl);\n"
35607 " \n"
35608 msgstr ""
35609
35610 #. type: verbatim
35611 #: ../src/guestfs.pod:1553
35612 #, no-wrap
35613 msgid ""
35614 "   if (!has_function)\n"
35615 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
35616 "   else {\n"
35617 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
35618 "     /* Now it's safe to call\n"
35619 "     guestfs_dd (g, \"foo\", \"bar\");\n"
35620 "     */\n"
35621 "   }\n"
35622 " #else\n"
35623 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
35624 " #endif\n"
35625 "  }\n"
35626 "\n"
35627 msgstr ""
35628
35629 #. type: textblock
35630 #: ../src/guestfs.pod:1566
35631 msgid ""
35632 "You may think the above is an awful lot of hassle, and it is.  There are "
35633 "other ways outside of the C linking system to ensure that this kind of "
35634 "incompatibility never arises, such as using package versioning:"
35635 msgstr ""
35636
35637 #. type: verbatim
35638 #: ../src/guestfs.pod:1571
35639 #, no-wrap
35640 msgid ""
35641 " Requires: libguestfs >= 1.0.80\n"
35642 "\n"
35643 msgstr ""
35644
35645 #. type: =head1
35646 #: ../src/guestfs.pod:1573
35647 msgid "CALLS WITH OPTIONAL ARGUMENTS"
35648 msgstr ""
35649
35650 #. type: textblock
35651 #: ../src/guestfs.pod:1575
35652 msgid ""
35653 "A recent feature of the API is the introduction of calls which take optional "
35654 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
35655 "takes variable arguments (ie. C<...>), as in this example:"
35656 msgstr ""
35657
35658 #. type: verbatim
35659 #: ../src/guestfs.pod:1580
35660 #, no-wrap
35661 msgid ""
35662 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
35663 "\n"
35664 msgstr ""
35665 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
35666 "\n"
35667
35668 #. type: textblock
35669 #: ../src/guestfs.pod:1582
35670 msgid ""
35671 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
35672 "call with no optional arguments specified:"
35673 msgstr ""
35674
35675 #. type: verbatim
35676 #: ../src/guestfs.pod:1585
35677 #, no-wrap
35678 msgid ""
35679 " guestfs_add_drive_opts (g, filename, -1);\n"
35680 "\n"
35681 msgstr ""
35682 " guestfs_add_drive_opts (g, filename, -1);\n"
35683 "\n"
35684
35685 #. type: textblock
35686 #: ../src/guestfs.pod:1587
35687 msgid "With a single optional argument:"
35688 msgstr ""
35689
35690 #. type: verbatim
35691 #: ../src/guestfs.pod:1589
35692 #, no-wrap
35693 msgid ""
35694 " guestfs_add_drive_opts (g, filename,\n"
35695 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
35696 "                         -1);\n"
35697 "\n"
35698 msgstr ""
35699 " guestfs_add_drive_opts (g, filename,\n"
35700 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
35701 "                         -1);\n"
35702 "\n"
35703
35704 #. type: textblock
35705 #: ../src/guestfs.pod:1593
35706 msgid "With two:"
35707 msgstr ""
35708
35709 #. type: verbatim
35710 #: ../src/guestfs.pod:1595
35711 #, no-wrap
35712 msgid ""
35713 " guestfs_add_drive_opts (g, filename,\n"
35714 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
35715 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35716 "                         -1);\n"
35717 "\n"
35718 msgstr ""
35719 " guestfs_add_drive_opts (g, filename,\n"
35720 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
35721 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35722 "                         -1);\n"
35723 "\n"
35724
35725 #. type: textblock
35726 #: ../src/guestfs.pod:1600
35727 msgid ""
35728 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
35729 "happen!"
35730 msgstr ""
35731
35732 #. type: =head2
35733 #: ../src/guestfs.pod:1603
35734 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
35735 msgstr ""
35736
35737 #. type: textblock
35738 #: ../src/guestfs.pod:1605
35739 msgid ""
35740 "The second variant has the same name with the suffix C<_va>, which works the "
35741 "same way but takes a C<va_list>.  See the C manual for details.  For the "
35742 "example function, this is declared:"
35743 msgstr ""
35744
35745 #. type: verbatim
35746 #: ../src/guestfs.pod:1609
35747 #, no-wrap
35748 msgid ""
35749 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
35750 "                                va_list args);\n"
35751 "\n"
35752 msgstr ""
35753 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
35754 "                                va_list args);\n"
35755 "\n"
35756
35757 #. type: =head2
35758 #: ../src/guestfs.pod:1612
35759 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
35760 msgstr ""
35761
35762 #. type: textblock
35763 #: ../src/guestfs.pod:1614
35764 msgid ""
35765 "The third variant is useful where you need to construct these calls.  You "
35766 "pass in a structure where you fill in the optional fields.  The structure "
35767 "has a bitmask as the first element which you must set to indicate which "
35768 "fields you have filled in.  For our example function the structure and call "
35769 "are declared:"
35770 msgstr ""
35771
35772 #. type: verbatim
35773 #: ../src/guestfs.pod:1620
35774 #, no-wrap
35775 msgid ""
35776 " struct guestfs_add_drive_opts_argv {\n"
35777 "   uint64_t bitmask;\n"
35778 "   int readonly;\n"
35779 "   const char *format;\n"
35780 "   /* ... */\n"
35781 " };\n"
35782 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
35783 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
35784 "\n"
35785 msgstr ""
35786 " struct guestfs_add_drive_opts_argv {\n"
35787 "   uint64_t bitmask;\n"
35788 "   int readonly;\n"
35789 "   const char *format;\n"
35790 "   /* ... */\n"
35791 " };\n"
35792 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
35793 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
35794 "\n"
35795
35796 #. type: textblock
35797 #: ../src/guestfs.pod:1629
35798 msgid "You could call it like this:"
35799 msgstr ""
35800
35801 #. type: verbatim
35802 #: ../src/guestfs.pod:1631
35803 #, no-wrap
35804 msgid ""
35805 " struct guestfs_add_drive_opts_argv optargs = {\n"
35806 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
35807 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
35808 "   .readonly = 1,\n"
35809 "   .format = \"qcow2\"\n"
35810 " };\n"
35811 " \n"
35812 msgstr ""
35813 " struct guestfs_add_drive_opts_argv optargs = {\n"
35814 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
35815 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
35816 "   .readonly = 1,\n"
35817 "   .format = \"qcow2\"\n"
35818 " };\n"
35819 " \n"
35820
35821 #. type: verbatim
35822 #: ../src/guestfs.pod:1638
35823 #, no-wrap
35824 msgid ""
35825 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
35826 "\n"
35827 msgstr ""
35828 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
35829 "\n"
35830
35831 #. type: textblock
35832 #: ../src/guestfs.pod:1646
35833 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
35834 msgstr ""
35835
35836 #. type: textblock
35837 #: ../src/guestfs.pod:1651
35838 msgid "You do not need to fill in all fields of the structure."
35839 msgstr ""
35840
35841 #. type: textblock
35842 #: ../src/guestfs.pod:1655
35843 msgid ""
35844 "There must be a one-to-one correspondence between fields of the structure "
35845 "that are filled in, and bits set in the bitmask."
35846 msgstr ""
35847
35848 #. type: =head2
35849 #: ../src/guestfs.pod:1660
35850 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
35851 msgstr ""
35852
35853 #. type: textblock
35854 #: ../src/guestfs.pod:1662
35855 msgid ""
35856 "In other languages, optional arguments are expressed in the way that is "
35857 "natural for that language.  We refer you to the language-specific "
35858 "documentation for more details on that."
35859 msgstr ""
35860
35861 #. type: textblock
35862 #: ../src/guestfs.pod:1666
35863 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
35864 msgstr ""
35865
35866 #. type: =head2
35867 #: ../src/guestfs.pod:1668
35868 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
35869 msgstr ""
35870
35871 #. type: textblock
35872 #: ../src/guestfs.pod:1670
35873 msgid ""
35874 "B<Note:> This section documents the generic event mechanism introduced in "
35875 "libguestfs 1.10, which you should use in new code if possible.  The old "
35876 "functions C<guestfs_set_log_message_callback>, "
35877 "C<guestfs_set_subprocess_quit_callback>, "
35878 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
35879 "C<guestfs_set_progress_callback> are no longer documented in this manual "
35880 "page.  Because of the ABI guarantee, the old functions continue to work."
35881 msgstr ""
35882
35883 #. type: textblock
35884 #: ../src/guestfs.pod:1679
35885 msgid ""
35886 "Handles generate events when certain things happen, such as log messages "
35887 "being generated, progress messages during long-running operations, or the "
35888 "handle being closed.  The API calls described below let you register a "
35889 "callback to be called when events happen.  You can register multiple "
35890 "callbacks (for the same, different or overlapping sets of events), and "
35891 "individually remove callbacks.  If callbacks are not removed, then they "
35892 "remain in force until the handle is closed."
35893 msgstr ""
35894
35895 #. type: textblock
35896 #: ../src/guestfs.pod:1687
35897 msgid ""
35898 "In the current implementation, events are only generated synchronously: that "
35899 "means that events (and hence callbacks) can only happen while you are in the "
35900 "middle of making another libguestfs call.  The callback is called in the "
35901 "same thread."
35902 msgstr ""
35903
35904 #. type: textblock
35905 #: ../src/guestfs.pod:1692
35906 msgid ""
35907 "Events may contain a payload, usually nothing (void), an array of 64 bit "
35908 "unsigned integers, or a message buffer.  Payloads are discussed later on."
35909 msgstr ""
35910
35911 #. type: =head3
35912 #: ../src/guestfs.pod:1696
35913 msgid "CLASSES OF EVENTS"
35914 msgstr ""
35915
35916 #. type: =item
35917 #: ../src/guestfs.pod:1700
35918 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
35919 msgstr ""
35920
35921 #. type: textblock
35922 #: ../src/guestfs.pod:1703
35923 msgid ""
35924 "The callback function will be called while the handle is being closed "
35925 "(synchronously from L</guestfs_close>)."
35926 msgstr ""
35927
35928 #. type: textblock
35929 #: ../src/guestfs.pod:1706
35930 msgid ""
35931 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
35932 "handles that are open when the program exits.  This means that this callback "
35933 "might be called indirectly from L<exit(3)>, which can cause unexpected "
35934 "problems in higher-level languages (eg. if your HLL interpreter has already "
35935 "been cleaned up by the time this is called, and if your callback then jumps "
35936 "into some HLL function)."
35937 msgstr ""
35938
35939 #. type: textblock
35940 #: ../src/guestfs.pod:1713
35941 msgid ""
35942 "If no callback is registered: the handle is closed without any callback "
35943 "being invoked."
35944 msgstr ""
35945
35946 #. type: =item
35947 #: ../src/guestfs.pod:1716
35948 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
35949 msgstr ""
35950
35951 #. type: textblock
35952 #: ../src/guestfs.pod:1719
35953 msgid ""
35954 "The callback function will be called when the child process quits, either "
35955 "asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
35956 "corresponds to a transition from any state to the CONFIG state)."
35957 msgstr ""
35958
35959 #. type: textblock
35960 #: ../src/guestfs.pod:1723 ../src/guestfs.pod:1732 ../src/guestfs.pod:1849
35961 msgid "If no callback is registered: the event is ignored."
35962 msgstr ""
35963
35964 #. type: =item
35965 #: ../src/guestfs.pod:1725
35966 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
35967 msgstr ""
35968
35969 #. type: textblock
35970 #: ../src/guestfs.pod:1728
35971 msgid ""
35972 "The callback function will be called when the child process becomes ready "
35973 "first time after it has been launched.  (This corresponds to a transition "
35974 "from LAUNCHING to the READY state)."
35975 msgstr ""
35976
35977 #. type: =item
35978 #: ../src/guestfs.pod:1734
35979 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
35980 msgstr ""
35981
35982 #. type: textblock
35983 #: ../src/guestfs.pod:1737
35984 msgid ""
35985 "Some long-running operations can generate progress messages.  If this "
35986 "callback is registered, then it will be called each time a progress message "
35987 "is generated (usually two seconds after the operation started, and three "
35988 "times per second thereafter until it completes, although the frequency may "
35989 "change in future versions)."
35990 msgstr ""
35991
35992 #. type: textblock
35993 #: ../src/guestfs.pod:1743
35994 msgid ""
35995 "The callback receives in the payload four unsigned 64 bit numbers which are "
35996 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
35997 msgstr ""
35998
35999 #. type: textblock
36000 #: ../src/guestfs.pod:1746
36001 msgid ""
36002 "The units of C<total> are not defined, although for some operations C<total> "
36003 "may relate in some way to the amount of data to be transferred (eg. in bytes "
36004 "or megabytes), and C<position> may be the portion which has been transferred."
36005 msgstr ""
36006
36007 #. type: textblock
36008 #: ../src/guestfs.pod:1751
36009 msgid "The only defined and stable parts of the API are:"
36010 msgstr ""
36011
36012 #. type: textblock
36013 #: ../src/guestfs.pod:1757
36014 msgid ""
36015 "The callback can display to the user some type of progress bar or indicator "
36016 "which shows the ratio of C<position>:C<total>."
36017 msgstr ""
36018
36019 #. type: textblock
36020 #: ../src/guestfs.pod:1762
36021 msgid "0 E<lt>= C<position> E<lt>= C<total>"
36022 msgstr ""
36023
36024 #. type: textblock
36025 #: ../src/guestfs.pod:1766
36026 msgid ""
36027 "If any progress notification is sent during a call, then a final progress "
36028 "notification is always sent when C<position> = C<total> (I<unless> the call "
36029 "fails with an error)."
36030 msgstr ""
36031
36032 #. type: textblock
36033 #: ../src/guestfs.pod:1770
36034 msgid ""
36035 "This is to simplify caller code, so callers can easily set the progress "
36036 "indicator to \"100%\" at the end of the operation, without requiring special "
36037 "code to detect this case."
36038 msgstr ""
36039
36040 #. type: textblock
36041 #: ../src/guestfs.pod:1776
36042 msgid ""
36043 "For some calls we are unable to estimate the progress of the call, but we "
36044 "can still generate progress messages to indicate activity.  This is known as "
36045 "\"pulse mode\", and is directly supported by certain progress bar "
36046 "implementations (eg. GtkProgressBar)."
36047 msgstr ""
36048
36049 #. type: textblock
36050 #: ../src/guestfs.pod:1781
36051 msgid ""
36052 "For these calls, zero or more progress messages are generated with "
36053 "C<position = 0> and C<total = 1>, followed by a final message with "
36054 "C<position = total = 1>."
36055 msgstr ""
36056
36057 #. type: textblock
36058 #: ../src/guestfs.pod:1785
36059 msgid ""
36060 "As noted above, if the call fails with an error then the final message may "
36061 "not be generated."
36062 msgstr ""
36063
36064 #. type: textblock
36065 #: ../src/guestfs.pod:1790
36066 msgid ""
36067 "The callback also receives the procedure number (C<proc_nr>) and serial "
36068 "number (C<serial>) of the call.  These are only useful for debugging "
36069 "protocol issues, and the callback can normally ignore them.  The callback "
36070 "may want to print these numbers in error messages or debugging messages."
36071 msgstr ""
36072
36073 #. type: textblock
36074 #: ../src/guestfs.pod:1796
36075 msgid "If no callback is registered: progress messages are discarded."
36076 msgstr ""
36077
36078 #. type: =item
36079 #: ../src/guestfs.pod:1798
36080 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
36081 msgstr ""
36082
36083 #. type: textblock
36084 #: ../src/guestfs.pod:1801
36085 msgid ""
36086 "The callback function is called whenever a log message is generated by qemu, "
36087 "the appliance kernel, guestfsd (daemon), or utility programs."
36088 msgstr ""
36089
36090 #. type: textblock
36091 #: ../src/guestfs.pod:1804
36092 msgid ""
36093 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
36094 "guestfs_launch>) then additional debug messages are generated."
36095 msgstr ""
36096
36097 #. type: textblock
36098 #: ../src/guestfs.pod:1807 ../src/guestfs.pod:1821
36099 msgid ""
36100 "If no callback is registered: the messages are discarded unless the verbose "
36101 "flag is set in which case they are sent to stderr.  You can override the "
36102 "printing of verbose messages to stderr by setting up a callback."
36103 msgstr ""
36104
36105 #. type: =item
36106 #: ../src/guestfs.pod:1812
36107 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
36108 msgstr ""
36109
36110 #. type: textblock
36111 #: ../src/guestfs.pod:1815
36112 msgid ""
36113 "The callback function is called whenever a log message is generated by the "
36114 "library part of libguestfs."
36115 msgstr ""
36116
36117 #. type: textblock
36118 #: ../src/guestfs.pod:1818
36119 msgid ""
36120 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
36121 "messages are generated."
36122 msgstr ""
36123
36124 #. type: =item
36125 #: ../src/guestfs.pod:1826
36126 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
36127 msgstr ""
36128
36129 #. type: textblock
36130 #: ../src/guestfs.pod:1829
36131 msgid ""
36132 "The callback function is called whenever a trace message is generated.  This "
36133 "only applies if the trace flag (L</guestfs_set_trace>) is set."
36134 msgstr ""
36135
36136 #. type: textblock
36137 #: ../src/guestfs.pod:1832
36138 msgid ""
36139 "If no callback is registered: the messages are sent to stderr.  You can "
36140 "override the printing of trace messages to stderr by setting up a callback."
36141 msgstr ""
36142
36143 #. type: =item
36144 #: ../src/guestfs.pod:1836
36145 msgid "GUESTFS_EVENT_ENTER (payload type: function name)"
36146 msgstr ""
36147
36148 #. type: textblock
36149 #: ../src/guestfs.pod:1839
36150 msgid ""
36151 "The callback function is called whenever a libguestfs function is entered."
36152 msgstr ""
36153
36154 #. type: textblock
36155 #: ../src/guestfs.pod:1842
36156 msgid ""
36157 "The payload is a string which contains the name of the function that we are "
36158 "entering (not including C<guestfs_> prefix)."
36159 msgstr ""
36160
36161 #. type: textblock
36162 #: ../src/guestfs.pod:1845
36163 msgid ""
36164 "Note that libguestfs functions can call themselves, so you may see many "
36165 "events from a single call.  A few libguestfs functions do not generate this "
36166 "event."
36167 msgstr ""
36168
36169 #. type: =head3
36170 #: ../src/guestfs.pod:1853
36171 msgid "guestfs_set_event_callback"
36172 msgstr ""
36173
36174 #. type: verbatim
36175 #: ../src/guestfs.pod:1855
36176 #, no-wrap
36177 msgid ""
36178 " int guestfs_set_event_callback (guestfs_h *g,\n"
36179 "                                 guestfs_event_callback cb,\n"
36180 "                                 uint64_t event_bitmask,\n"
36181 "                                 int flags,\n"
36182 "                                 void *opaque);\n"
36183 "\n"
36184 msgstr ""
36185
36186 #. type: textblock
36187 #: ../src/guestfs.pod:1861
36188 msgid ""
36189 "This function registers a callback (C<cb>) for all event classes in the "
36190 "C<event_bitmask>."
36191 msgstr ""
36192
36193 #. type: textblock
36194 #: ../src/guestfs.pod:1864
36195 msgid ""
36196 "For example, to register for all log message events, you could call this "
36197 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>.  "
36198 "To register a single callback for all possible classes of events, use "
36199 "C<GUESTFS_EVENT_ALL>."
36200 msgstr ""
36201
36202 #. type: textblock
36203 #: ../src/guestfs.pod:1870
36204 msgid "C<flags> should always be passed as 0."
36205 msgstr ""
36206
36207 #. type: textblock
36208 #: ../src/guestfs.pod:1872
36209 msgid ""
36210 "C<opaque> is an opaque pointer which is passed to the callback.  You can use "
36211 "it for any purpose."
36212 msgstr ""
36213
36214 #. type: textblock
36215 #: ../src/guestfs.pod:1875
36216 msgid ""
36217 "The return value is the event handle (an integer) which you can use to "
36218 "delete the callback (see below)."
36219 msgstr ""
36220
36221 #. type: textblock
36222 #: ../src/guestfs.pod:1878
36223 msgid ""
36224 "If there is an error, this function returns C<-1>, and sets the error in the "
36225 "handle in the usual way (see L</guestfs_last_error> etc.)"
36226 msgstr ""
36227
36228 #. type: textblock
36229 #: ../src/guestfs.pod:1881
36230 msgid ""
36231 "Callbacks remain in effect until they are deleted, or until the handle is "
36232 "closed."
36233 msgstr ""
36234
36235 #. type: textblock
36236 #: ../src/guestfs.pod:1884
36237 msgid ""
36238 "In the case where multiple callbacks are registered for a particular event "
36239 "class, all of the callbacks are called.  The order in which multiple "
36240 "callbacks are called is not defined."
36241 msgstr ""
36242
36243 #. type: =head3
36244 #: ../src/guestfs.pod:1888
36245 msgid "guestfs_delete_event_callback"
36246 msgstr ""
36247
36248 #. type: verbatim
36249 #: ../src/guestfs.pod:1890
36250 #, no-wrap
36251 msgid ""
36252 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
36253 "\n"
36254 msgstr ""
36255
36256 #. type: textblock
36257 #: ../src/guestfs.pod:1892
36258 msgid ""
36259 "Delete a callback that was previously registered.  C<event_handle> should be "
36260 "the integer that was returned by a previous call to "
36261 "C<guestfs_set_event_callback> on the same handle."
36262 msgstr ""
36263
36264 #. type: =head3
36265 #: ../src/guestfs.pod:1896
36266 msgid "guestfs_event_callback"
36267 msgstr ""
36268
36269 #. type: verbatim
36270 #: ../src/guestfs.pod:1898
36271 #, no-wrap
36272 msgid ""
36273 " typedef void (*guestfs_event_callback) (\n"
36274 "                  guestfs_h *g,\n"
36275 "                  void *opaque,\n"
36276 "                  uint64_t event,\n"
36277 "                  int event_handle,\n"
36278 "                  int flags,\n"
36279 "                  const char *buf, size_t buf_len,\n"
36280 "                  const uint64_t *array, size_t array_len);\n"
36281 "\n"
36282 msgstr ""
36283
36284 #. type: textblock
36285 #: ../src/guestfs.pod:1907
36286 msgid ""
36287 "This is the type of the event callback function that you have to provide."
36288 msgstr ""
36289
36290 #. type: textblock
36291 #: ../src/guestfs.pod:1910
36292 msgid ""
36293 "The basic parameters are: the handle (C<g>), the opaque user pointer "
36294 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
36295 "handle, and C<flags> which in the current API you should ignore."
36296 msgstr ""
36297
36298 #. type: textblock
36299 #: ../src/guestfs.pod:1914
36300 msgid ""
36301 "The remaining parameters contain the event payload (if any).  Each event may "
36302 "contain a payload, which usually relates to the event class, but for future "
36303 "proofing your code should be written to handle any payload for any event "
36304 "class."
36305 msgstr ""
36306
36307 #. type: textblock
36308 #: ../src/guestfs.pod:1919
36309 msgid ""
36310 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
36311 "there is no message buffer).  Note that this message buffer can contain "
36312 "arbitrary 8 bit data, including NUL bytes."
36313 msgstr ""
36314
36315 #. type: textblock
36316 #: ../src/guestfs.pod:1923
36317 msgid ""
36318 "C<array> and C<array_len> is an array of 64 bit unsigned integers.  At the "
36319 "moment this is only used for progress messages."
36320 msgstr ""
36321
36322 #. type: =head3
36323 #: ../src/guestfs.pod:1926
36324 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
36325 msgstr ""
36326
36327 #. type: textblock
36328 #: ../src/guestfs.pod:1928
36329 msgid ""
36330 "One motivation for the generic event API was to allow GUI programs to "
36331 "capture debug and other messages.  In libguestfs E<le> 1.8 these were sent "
36332 "unconditionally to C<stderr>."
36333 msgstr ""
36334
36335 #. type: textblock
36336 #: ../src/guestfs.pod:1932
36337 msgid ""
36338 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
36339 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>.  (Note that error "
36340 "messages are not events; you must capture error messages separately)."
36341 msgstr ""
36342
36343 #. type: textblock
36344 #: ../src/guestfs.pod:1937
36345 msgid ""
36346 "Programs have to set up a callback to capture the classes of events of "
36347 "interest:"
36348 msgstr ""
36349
36350 #. type: verbatim
36351 #: ../src/guestfs.pod:1940
36352 #, no-wrap
36353 msgid ""
36354 " int eh =\n"
36355 "   guestfs_set_event_callback\n"
36356 "     (g, message_callback,\n"
36357 "      GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
36358 "      GUESTFS_EVENT_TRACE,\n"
36359 "      0, NULL) == -1)\n"
36360 " if (eh == -1) {\n"
36361 "   // handle error in the usual way\n"
36362 " }\n"
36363 "\n"
36364 msgstr ""
36365
36366 #. type: textblock
36367 #: ../src/guestfs.pod:1950
36368 msgid ""
36369 "The callback can then direct messages to the appropriate place.  In this "
36370 "example, messages are directed to syslog:"
36371 msgstr ""
36372
36373 #. type: verbatim
36374 #: ../src/guestfs.pod:1953
36375 #, no-wrap
36376 msgid ""
36377 " static void\n"
36378 " message_callback (\n"
36379 "         guestfs_h *g,\n"
36380 "         void *opaque,\n"
36381 "         uint64_t event,\n"
36382 "         int event_handle,\n"
36383 "         int flags,\n"
36384 "         const char *buf, size_t buf_len,\n"
36385 "         const uint64_t *array, size_t array_len)\n"
36386 " {\n"
36387 "   const int priority = LOG_USER|LOG_INFO;\n"
36388 "   if (buf_len > 0)\n"
36389 "     syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
36390 " }\n"
36391 "\n"
36392 msgstr ""
36393
36394 #. type: =head1
36395 #: ../src/guestfs.pod:1968
36396 msgid "CANCELLING LONG TRANSFERS"
36397 msgstr ""
36398
36399 #. type: textblock
36400 #: ../src/guestfs.pod:1970
36401 msgid ""
36402 "Some operations can be cancelled by the caller while they are in progress.  "
36403 "Currently only operations that involve uploading or downloading data can be "
36404 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
36405 "parameters in the generator)."
36406 msgstr ""
36407
36408 #. type: =head2
36409 #: ../src/guestfs.pod:1975
36410 msgid "guestfs_user_cancel"
36411 msgstr ""
36412
36413 #. type: verbatim
36414 #: ../src/guestfs.pod:1977
36415 #, no-wrap
36416 msgid ""
36417 " void guestfs_user_cancel (guestfs_h *g);\n"
36418 "\n"
36419 msgstr ""
36420
36421 #. type: textblock
36422 #: ../src/guestfs.pod:1979
36423 msgid ""
36424 "C<guestfs_user_cancel> cancels the current upload or download operation."
36425 msgstr ""
36426
36427 #. type: textblock
36428 #: ../src/guestfs.pod:1982
36429 msgid ""
36430 "Unlike most other libguestfs calls, this function is signal safe and thread "
36431 "safe.  You can call it from a signal handler or from another thread, without "
36432 "needing to do any locking."
36433 msgstr ""
36434
36435 #. type: textblock
36436 #: ../src/guestfs.pod:1986
36437 msgid ""
36438 "The transfer that was in progress (if there is one) will stop shortly "
36439 "afterwards, and will return an error.  The errno (see L</"
36440 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
36441 "out if the operation was cancelled or failed because of another error."
36442 msgstr ""
36443
36444 #. type: textblock
36445 #: ../src/guestfs.pod:1992
36446 msgid ""
36447 "No cleanup is performed: for example, if a file was being uploaded then "
36448 "after cancellation there may be a partially uploaded file.  It is the "
36449 "caller's responsibility to clean up if necessary."
36450 msgstr ""
36451
36452 #. type: textblock
36453 #: ../src/guestfs.pod:1996
36454 msgid "There are two common places that you might call C<guestfs_user_cancel>."
36455 msgstr ""
36456
36457 #. type: textblock
36458 #: ../src/guestfs.pod:1998
36459 msgid ""
36460 "In an interactive text-based program, you might call it from a C<SIGINT> "
36461 "signal handler so that pressing C<^C> cancels the current operation.  (You "
36462 "also need to call L</guestfs_set_pgroup> so that child processes don't "
36463 "receive the C<^C> signal)."
36464 msgstr ""
36465
36466 #. type: textblock
36467 #: ../src/guestfs.pod:2003
36468 msgid ""
36469 "In a graphical program, when the main thread is displaying a progress bar "
36470 "with a cancel button, wire up the cancel button to call this function."
36471 msgstr ""
36472
36473 #. type: =head1
36474 #: ../src/guestfs.pod:2007
36475 msgid "PRIVATE DATA AREA"
36476 msgstr ""
36477
36478 #. type: textblock
36479 #: ../src/guestfs.pod:2009
36480 msgid ""
36481 "You can attach named pieces of private data to the libguestfs handle, fetch "
36482 "them by name, and walk over them, for the lifetime of the handle.  This is "
36483 "called the private data area and is only available from the C API."
36484 msgstr ""
36485
36486 #. type: textblock
36487 #: ../src/guestfs.pod:2014
36488 msgid "To attach a named piece of data, use the following call:"
36489 msgstr ""
36490
36491 #. type: verbatim
36492 #: ../src/guestfs.pod:2016
36493 #, no-wrap
36494 msgid ""
36495 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
36496 "\n"
36497 msgstr ""
36498 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
36499 "\n"
36500
36501 #. type: textblock
36502 #: ../src/guestfs.pod:2018
36503 msgid ""
36504 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
36505 "pointer (which can be C<NULL>).  Any previous item with the same key is "
36506 "overwritten."
36507 msgstr ""
36508
36509 #. type: textblock
36510 #: ../src/guestfs.pod:2022
36511 msgid ""
36512 "You can use any C<key> you want, but your key should I<not> start with an "
36513 "underscore character.  Keys beginning with an underscore character are "
36514 "reserved for internal libguestfs purposes (eg. for implementing language "
36515 "bindings).  It is recommended that you prefix the key with some unique "
36516 "string to avoid collisions with other users."
36517 msgstr ""
36518
36519 #. type: textblock
36520 #: ../src/guestfs.pod:2028
36521 msgid "To retrieve the pointer, use:"
36522 msgstr ""
36523
36524 #. type: verbatim
36525 #: ../src/guestfs.pod:2030
36526 #, no-wrap
36527 msgid ""
36528 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
36529 "\n"
36530 msgstr ""
36531 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
36532 "\n"
36533
36534 #. type: textblock
36535 #: ../src/guestfs.pod:2032
36536 msgid ""
36537 "This function returns C<NULL> if either no data is found associated with "
36538 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
36539 "C<NULL>."
36540 msgstr ""
36541
36542 #. type: textblock
36543 #: ../src/guestfs.pod:2036
36544 msgid ""
36545 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
36546 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
36547 "all.  In particular, libguestfs does I<not> try to free the data when the "
36548 "handle is closed.  If the data must be freed, then the caller must either "
36549 "free it before calling L</guestfs_close> or must set up a close callback to "
36550 "do it (see L</GUESTFS_EVENT_CLOSE>)."
36551 msgstr ""
36552
36553 #. type: textblock
36554 #: ../src/guestfs.pod:2043
36555 msgid "To walk over all entries, use these two functions:"
36556 msgstr ""
36557
36558 #. type: verbatim
36559 #: ../src/guestfs.pod:2045
36560 #, no-wrap
36561 msgid ""
36562 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
36563 "\n"
36564 msgstr ""
36565
36566 #. type: verbatim
36567 #: ../src/guestfs.pod:2047
36568 #, no-wrap
36569 msgid ""
36570 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
36571 "\n"
36572 msgstr ""
36573
36574 #. type: textblock
36575 #: ../src/guestfs.pod:2049
36576 msgid ""
36577 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
36578 "not have any particular meaning -- keys are not returned in any defined "
36579 "order).  A pointer to the key is returned in C<*key_rtn> and the "
36580 "corresponding data pointer is returned from the function.  C<NULL> is "
36581 "returned if there are no keys stored in the handle."
36582 msgstr ""
36583
36584 #. type: textblock
36585 #: ../src/guestfs.pod:2055
36586 msgid ""
36587 "C<guestfs_next_private> returns the next key, pointer pair.  The return "
36588 "value of this function is also C<NULL> is there are no further entries to "
36589 "return."
36590 msgstr ""
36591
36592 #. type: textblock
36593 #: ../src/guestfs.pod:2059
36594 msgid "Notes about walking over entries:"
36595 msgstr ""
36596
36597 #. type: textblock
36598 #: ../src/guestfs.pod:2065
36599 msgid ""
36600 "You must not call C<guestfs_set_private> while walking over the entries."
36601 msgstr ""
36602
36603 #. type: textblock
36604 #: ../src/guestfs.pod:2070
36605 msgid ""
36606 "The handle maintains an internal iterator which is reset when you call "
36607 "C<guestfs_first_private>.  This internal iterator is invalidated when you "
36608 "call C<guestfs_set_private>."
36609 msgstr ""
36610
36611 #. type: textblock
36612 #: ../src/guestfs.pod:2076
36613 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
36614 msgstr ""
36615
36616 #. type: verbatim
36617 #: ../src/guestfs.pod:2078
36618 #, no-wrap
36619 msgid ""
36620 " guestfs_set_private (g, key, NULL);\n"
36621 "\n"
36622 msgstr ""
36623
36624 #. type: textblock
36625 #: ../src/guestfs.pod:2080
36626 msgid "then that C<key> is not returned when walking."
36627 msgstr ""
36628
36629 #. type: textblock
36630 #: ../src/guestfs.pod:2084
36631 msgid ""
36632 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
36633 "C<guestfs_next_private> or C<guestfs_set_private>."
36634 msgstr ""
36635
36636 #. type: textblock
36637 #: ../src/guestfs.pod:2090
36638 msgid ""
36639 "The following example code shows how to print all keys and data pointers "
36640 "that are associated with the handle C<g>:"
36641 msgstr ""
36642
36643 #. type: verbatim
36644 #: ../src/guestfs.pod:2093
36645 #, no-wrap
36646 msgid ""
36647 " const char *key;\n"
36648 " void *data = guestfs_first_private (g, &key);\n"
36649 " while (data != NULL)\n"
36650 "   {\n"
36651 "     printf (\"key = %s, data = %p\\n\", key, data);\n"
36652 "     data = guestfs_next_private (g, &key);\n"
36653 "   }\n"
36654 "\n"
36655 msgstr ""
36656
36657 #. type: textblock
36658 #: ../src/guestfs.pod:2101
36659 msgid ""
36660 "More commonly you are only interested in keys that begin with an application-"
36661 "specific prefix C<foo_>.  Modify the loop like so:"
36662 msgstr ""
36663
36664 #. type: verbatim
36665 #: ../src/guestfs.pod:2104
36666 #, no-wrap
36667 msgid ""
36668 " const char *key;\n"
36669 " void *data = guestfs_first_private (g, &key);\n"
36670 " while (data != NULL)\n"
36671 "   {\n"
36672 "     if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
36673 "       printf (\"key = %s, data = %p\\n\", key, data);\n"
36674 "     data = guestfs_next_private (g, &key);\n"
36675 "   }\n"
36676 "\n"
36677 msgstr ""
36678
36679 #. type: textblock
36680 #: ../src/guestfs.pod:2113
36681 msgid ""
36682 "If you need to modify keys while walking, then you have to jump back to the "
36683 "beginning of the loop.  For example, to delete all keys prefixed with "
36684 "C<foo_>:"
36685 msgstr ""
36686
36687 #. type: verbatim
36688 #: ../src/guestfs.pod:2117
36689 #, no-wrap
36690 msgid ""
36691 "  const char *key;\n"
36692 "  void *data;\n"
36693 " again:\n"
36694 "  data = guestfs_first_private (g, &key);\n"
36695 "  while (data != NULL)\n"
36696 "    {\n"
36697 "      if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
36698 "        {\n"
36699 "          guestfs_set_private (g, key, NULL);\n"
36700 "          /* note that 'key' pointer is now invalid, and so is\n"
36701 "             the internal iterator */\n"
36702 "          goto again;\n"
36703 "        }\n"
36704 "      data = guestfs_next_private (g, &key);\n"
36705 "    }\n"
36706 "\n"
36707 msgstr ""
36708
36709 #. type: textblock
36710 #: ../src/guestfs.pod:2133
36711 msgid ""
36712 "Note that the above loop is guaranteed to terminate because the keys are "
36713 "being deleted, but other manipulations of keys within the loop might not "
36714 "terminate unless you also maintain an indication of which keys have been "
36715 "visited."
36716 msgstr ""
36717
36718 #. type: =end
36719 #: ../src/guestfs.pod:2138 ../src/guestfs.pod:2143
36720 msgid "html"
36721 msgstr "html"
36722
36723 #. type: textblock
36724 #: ../src/guestfs.pod:2140
36725 msgid ""
36726 "<!-- old anchor for the next section --> <a name="
36727 "\"state_machine_and_low_level_event_api\"/>"
36728 msgstr ""
36729 "<!-- old anchor for the next section --> <a name="
36730 "\"state_machine_and_low_level_event_api\"/>"
36731
36732 #. type: =head1
36733 #: ../src/guestfs.pod:2145
36734 msgid "ARCHITECTURE"
36735 msgstr "АРХІТЕКТУРА"
36736
36737 #. type: textblock
36738 #: ../src/guestfs.pod:2147
36739 msgid ""
36740 "Internally, libguestfs is implemented by running an appliance (a special "
36741 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
36742 "process of the main program."
36743 msgstr ""
36744
36745 #. type: verbatim
36746 #: ../src/guestfs.pod:2151
36747 #, no-wrap
36748 msgid ""
36749 "  ___________________\n"
36750 " /                   \\\n"
36751 " | main program      |\n"
36752 " |                   |\n"
36753 " |                   |           child process / appliance\n"
36754 " |                   |           __________________________\n"
36755 " |                   |          / qemu                     \\\n"
36756 " +-------------------+   RPC    |      +-----------------+ |\n"
36757 " | libguestfs     <--------------------> guestfsd        | |\n"
36758 " |                   |          |      +-----------------+ |\n"
36759 " \\___________________/          |      | Linux kernel    | |\n"
36760 "                                |      +--^--------------+ |\n"
36761 "                                \\_________|________________/\n"
36762 "                                          |\n"
36763 "                                   _______v______\n"
36764 "                                  /              \\\n"
36765 "                                  | Device or    |\n"
36766 "                                  | disk image   |\n"
36767 "                                  \\______________/\n"
36768 "\n"
36769 msgstr ""
36770
36771 #. type: textblock
36772 #: ../src/guestfs.pod:2171
36773 msgid ""
36774 "The library, linked to the main program, creates the child process and hence "
36775 "the appliance in the L</guestfs_launch> function."
36776 msgstr ""
36777
36778 #. type: textblock
36779 #: ../src/guestfs.pod:2174
36780 msgid ""
36781 "Inside the appliance is a Linux kernel and a complete stack of userspace "
36782 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
36783 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
36784 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
36785 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
36786 "attached to the qemu process which translates device access by the "
36787 "appliance's Linux kernel into accesses to the image."
36788 msgstr ""
36789
36790 #. type: textblock
36791 #: ../src/guestfs.pod:2183
36792 msgid ""
36793 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
36794 "Although the disk image you are attached to might also be used by some "
36795 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
36796 "care if both libguestfs's qemu process and your virtual machine are trying "
36797 "to update the disk image at the same time, since these usually results in "
36798 "massive disk corruption)."
36799 msgstr ""
36800
36801 #. type: =head1
36802 #: ../src/guestfs.pod:2190
36803 msgid "STATE MACHINE"
36804 msgstr "СКІНЧЕННИЙ АВТОМАТ"
36805
36806 #. type: textblock
36807 #: ../src/guestfs.pod:2192
36808 msgid "libguestfs uses a state machine to model the child process:"
36809 msgstr ""
36810
36811 #. type: verbatim
36812 #: ../src/guestfs.pod:2194
36813 #, no-wrap
36814 msgid ""
36815 "                         |\n"
36816 "                    guestfs_create\n"
36817 "                         |\n"
36818 "                         |\n"
36819 "                     ____V_____\n"
36820 "                    /          \\\n"
36821 "                    |  CONFIG  |\n"
36822 "                    \\__________/\n"
36823 "                     ^ ^   ^  \\\n"
36824 "                    /  |    \\  \\ guestfs_launch\n"
36825 "                   /   |    _\\__V______\n"
36826 "                  /    |   /           \\\n"
36827 "                 /     |   | LAUNCHING |\n"
36828 "                /      |   \\___________/\n"
36829 "               /       |       /\n"
36830 "              /        |  guestfs_launch\n"
36831 "             /         |     /\n"
36832 "    ______  /        __|____V\n"
36833 "   /      \\ ------> /        \\\n"
36834 "   | BUSY |         | READY  |\n"
36835 "   \\______/ <------ \\________/\n"
36836 "\n"
36837 msgstr ""
36838
36839 #. type: textblock
36840 #: ../src/guestfs.pod:2216
36841 msgid ""
36842 "The normal transitions are (1) CONFIG (when the handle is created, but there "
36843 "is no child process), (2) LAUNCHING (when the child process is booting up), "
36844 "(3) alternating between READY and BUSY as commands are issued to, and "
36845 "carried out by, the child process."
36846 msgstr ""
36847
36848 #. type: textblock
36849 #: ../src/guestfs.pod:2221
36850 msgid ""
36851 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
36852 "asynchronously at any time (eg. due to some internal error), and that causes "
36853 "the state to transition back to CONFIG."
36854 msgstr ""
36855
36856 #. type: textblock
36857 #: ../src/guestfs.pod:2225
36858 msgid ""
36859 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
36860 "issued when in the CONFIG state."
36861 msgstr ""
36862
36863 #. type: textblock
36864 #: ../src/guestfs.pod:2228
36865 msgid ""
36866 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
36867 "L</guestfs_launch> blocks until the child process is READY to accept "
36868 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
36869 "moves the state from CONFIG to LAUNCHING while it is running."
36870 msgstr ""
36871
36872 #. type: textblock
36873 #: ../src/guestfs.pod:2234
36874 msgid ""
36875 "API actions such as L</guestfs_mount> can only be issued when in the READY "
36876 "state.  These API calls block waiting for the command to be carried out (ie. "
36877 "the state to transition to BUSY and then back to READY).  There are no non-"
36878 "blocking versions, and no way to issue more than one command per handle at "
36879 "the same time."
36880 msgstr ""
36881
36882 #. type: textblock
36883 #: ../src/guestfs.pod:2240
36884 msgid ""
36885 "Finally, the child process sends asynchronous messages back to the main "
36886 "program, such as kernel log messages.  You can register a callback to "
36887 "receive these messages."
36888 msgstr ""
36889
36890 #. type: =head1
36891 #: ../src/guestfs.pod:2244
36892 msgid "INTERNALS"
36893 msgstr ""
36894
36895 #. type: =head2
36896 #: ../src/guestfs.pod:2246
36897 msgid "APPLIANCE BOOT PROCESS"
36898 msgstr ""
36899
36900 #. type: textblock
36901 #: ../src/guestfs.pod:2248
36902 msgid ""
36903 "This process has evolved and continues to evolve.  The description here "
36904 "corresponds only to the current version of libguestfs and is provided for "
36905 "information only."
36906 msgstr ""
36907
36908 #. type: textblock
36909 #: ../src/guestfs.pod:2252
36910 msgid ""
36911 "In order to follow the stages involved below, enable libguestfs debugging "
36912 "(set the environment variable C<LIBGUESTFS_DEBUG=1>)."
36913 msgstr ""
36914
36915 #. type: =item
36916 #: ../src/guestfs.pod:2257
36917 #, fuzzy
36918 #| msgid "C<appliance>"
36919 msgid "Create the appliance"
36920 msgstr "C<appliance>"
36921
36922 #. type: textblock
36923 #: ../src/guestfs.pod:2259
36924 msgid ""
36925 "C<febootstrap-supermin-helper> is invoked to create the kernel, a small "
36926 "initrd and the appliance."
36927 msgstr ""
36928
36929 #. type: textblock
36930 #: ../src/guestfs.pod:2262
36931 msgid ""
36932 "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another "
36933 "directory if C<TMPDIR> is set)."
36934 msgstr ""
36935
36936 #. type: textblock
36937 #: ../src/guestfs.pod:2265
36938 msgid ""
36939 "For a complete description of how the appliance is created and cached, read "
36940 "the L<febootstrap(8)> and L<febootstrap-supermin-helper(8)> man pages."
36941 msgstr ""
36942
36943 #. type: =item
36944 #: ../src/guestfs.pod:2269
36945 msgid "Start qemu and boot the kernel"
36946 msgstr ""
36947
36948 #. type: textblock
36949 #: ../src/guestfs.pod:2271
36950 msgid "qemu is invoked to boot the kernel."
36951 msgstr ""
36952
36953 #. type: =item
36954 #: ../src/guestfs.pod:2273
36955 msgid "Run the initrd"
36956 msgstr ""
36957
36958 #. type: textblock
36959 #: ../src/guestfs.pod:2275
36960 msgid ""
36961 "C<febootstrap-supermin-helper> builds a small initrd.  The initrd is not the "
36962 "appliance.  The purpose of the initrd is to load enough kernel modules in "
36963 "order that the appliance itself can be mounted and started."
36964 msgstr ""
36965
36966 #. type: textblock
36967 #: ../src/guestfs.pod:2279
36968 msgid ""
36969 "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/"
36970 "initrd>."
36971 msgstr ""
36972
36973 #. type: textblock
36974 #: ../src/guestfs.pod:2282
36975 msgid ""
36976 "When the initrd has started you will see messages showing that kernel "
36977 "modules are being loaded, similar to this:"
36978 msgstr ""
36979
36980 #. type: verbatim
36981 #: ../src/guestfs.pod:2285
36982 #, no-wrap
36983 msgid ""
36984 " febootstrap: ext2 mini initrd starting up\n"
36985 " febootstrap: mounting /sys\n"
36986 " febootstrap: internal insmod libcrc32c.ko\n"
36987 " febootstrap: internal insmod crc32c-intel.ko\n"
36988 "\n"
36989 msgstr ""
36990
36991 #. type: =item
36992 #: ../src/guestfs.pod:2290
36993 msgid "Find and mount the appliance device"
36994 msgstr ""
36995
36996 #. type: textblock
36997 #: ../src/guestfs.pod:2292
36998 msgid ""
36999 "The appliance is a sparse file containing an ext2 filesystem which contains "
37000 "a familiar (although reduced in size) Linux operating system.  It would "
37001 "normally be called C</var/tmp/.guestfs-E<lt>UIDE<gt>/root>."
37002 msgstr ""
37003
37004 #. type: textblock
37005 #: ../src/guestfs.pod:2296
37006 msgid ""
37007 "The regular disks being inspected by libguestfs are the first devices "
37008 "exposed by qemu (eg. as C</dev/vda>)."
37009 msgstr ""
37010
37011 #. type: textblock
37012 #: ../src/guestfs.pod:2299
37013 msgid ""
37014 "The last disk added to qemu is the appliance itself (eg. C</dev/vdb> if "
37015 "there was only one regular disk)."
37016 msgstr ""
37017
37018 #. type: textblock
37019 #: ../src/guestfs.pod:2302
37020 msgid ""
37021 "Thus the final job of the initrd is to locate the appliance disk, mount it, "
37022 "and switch root into the appliance, and run C</init> from the appliance."
37023 msgstr ""
37024
37025 #. type: textblock
37026 #: ../src/guestfs.pod:2306
37027 msgid "If this works successfully you will see messages such as:"
37028 msgstr ""
37029
37030 #. type: verbatim
37031 #: ../src/guestfs.pod:2308
37032 #, no-wrap
37033 msgid ""
37034 " febootstrap: picked /sys/block/vdb/dev as root device\n"
37035 " febootstrap: creating /dev/root as block special 252:16\n"
37036 " febootstrap: mounting new root on /root\n"
37037 " febootstrap: chroot\n"
37038 " Starting /init script ...\n"
37039 "\n"
37040 msgstr ""
37041
37042 #. type: textblock
37043 #: ../src/guestfs.pod:2314
37044 msgid ""
37045 "Note that C<Starting /init script ...> indicates that the appliance's init "
37046 "script is now running."
37047 msgstr ""
37048
37049 #. type: =item
37050 #: ../src/guestfs.pod:2317
37051 msgid "Initialize the appliance"
37052 msgstr ""
37053
37054 #. type: textblock
37055 #: ../src/guestfs.pod:2319
37056 msgid ""
37057 "The appliance itself now initializes itself.  This involves starting certain "
37058 "processes like C<udev>, possibly printing some debug information, and "
37059 "finally running the daemon (C<guestfsd>)."
37060 msgstr ""
37061
37062 #. type: =item
37063 #: ../src/guestfs.pod:2323
37064 #, fuzzy
37065 #| msgid "C<daemon>"
37066 msgid "The daemon"
37067 msgstr "C<daemon>"
37068
37069 #. type: textblock
37070 #: ../src/guestfs.pod:2325
37071 msgid ""
37072 "Finally the daemon (C<guestfsd>) runs inside the appliance.  If it runs you "
37073 "should see:"
37074 msgstr ""
37075
37076 #. type: verbatim
37077 #: ../src/guestfs.pod:2328
37078 #, fuzzy, no-wrap
37079 #| msgid ""
37080 #| " set-verbose true|false\n"
37081 #| "\n"
37082 msgid ""
37083 " verbose daemon enabled\n"
37084 "\n"
37085 msgstr ""
37086 " set-verbose true|false\n"
37087 "\n"
37088
37089 #. type: textblock
37090 #: ../src/guestfs.pod:2330
37091 msgid ""
37092 "The daemon expects to see a named virtio-serial port exposed by qemu and "
37093 "connected on the other end to the library."
37094 msgstr ""
37095
37096 #. type: textblock
37097 #: ../src/guestfs.pod:2333
37098 msgid ""
37099 "The daemon connects to this port (and hence to the library) and sends a four "
37100 "byte message C<GUESTFS_LAUNCH_FLAG>, which initiates the communication "
37101 "protocol (see below)."
37102 msgstr ""
37103
37104 #. type: =head2
37105 #: ../src/guestfs.pod:2339
37106 msgid "COMMUNICATION PROTOCOL"
37107 msgstr ""
37108
37109 #. type: textblock
37110 #: ../src/guestfs.pod:2341
37111 msgid ""
37112 "Don't rely on using this protocol directly.  This section documents how it "
37113 "currently works, but it may change at any time."
37114 msgstr ""
37115
37116 #. type: textblock
37117 #: ../src/guestfs.pod:2344
37118 msgid ""
37119 "The protocol used to talk between the library and the daemon running inside "
37120 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
37121 "1014, RFC 1832, RFC 4506)."
37122 msgstr ""
37123
37124 #. type: textblock
37125 #: ../src/guestfs.pod:2348
37126 msgid ""
37127 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
37128 "this file is automatically generated)."
37129 msgstr ""
37130
37131 #. type: textblock
37132 #: ../src/guestfs.pod:2351
37133 msgid ""
37134 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
37135 "and C<FileOut> parameters, which are handled with very simple request/reply "
37136 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
37137 "parameters, which use the same request and reply messages, but they may also "
37138 "be followed by files sent using a chunked encoding."
37139 msgstr ""
37140
37141 #. type: =head3
37142 #: ../src/guestfs.pod:2358
37143 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
37144 msgstr ""
37145
37146 #. type: textblock
37147 #: ../src/guestfs.pod:2360
37148 msgid "For ordinary functions, the request message is:"
37149 msgstr ""
37150
37151 #. type: verbatim
37152 #: ../src/guestfs.pod:2362
37153 #, no-wrap
37154 msgid ""
37155 " total length (header + arguments,\n"
37156 "      but not including the length word itself)\n"
37157 " struct guestfs_message_header (encoded as XDR)\n"
37158 " struct guestfs_<foo>_args (encoded as XDR)\n"
37159 "\n"
37160 msgstr ""
37161
37162 #. type: textblock
37163 #: ../src/guestfs.pod:2367
37164 msgid ""
37165 "The total length field allows the daemon to allocate a fixed size buffer "
37166 "into which it slurps the rest of the message.  As a result, the total length "
37167 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
37168 "effective size of any request is limited to somewhere under this size."
37169 msgstr ""
37170
37171 #. type: textblock
37172 #: ../src/guestfs.pod:2373
37173 msgid ""
37174 "Note also that many functions don't take any arguments, in which case the "
37175 "C<guestfs_I<foo>_args> is completely omitted."
37176 msgstr ""
37177
37178 #. type: textblock
37179 #: ../src/guestfs.pod:2376
37180 msgid ""
37181 "The header contains the procedure number (C<guestfs_proc>) which is how the "
37182 "receiver knows what type of args structure to expect, or none at all."
37183 msgstr ""
37184
37185 #. type: textblock
37186 #: ../src/guestfs.pod:2380
37187 msgid ""
37188 "For functions that take optional arguments, the optional arguments are "
37189 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
37190 "arguments.  A bitmask in the header indicates which optional arguments are "
37191 "meaningful.  The bitmask is also checked to see if it contains bits set "
37192 "which the daemon does not know about (eg. if more optional arguments were "
37193 "added in a later version of the library), and this causes the call to be "
37194 "rejected."
37195 msgstr ""
37196
37197 #. type: textblock
37198 #: ../src/guestfs.pod:2388
37199 msgid "The reply message for ordinary functions is:"
37200 msgstr ""
37201
37202 #. type: verbatim
37203 #: ../src/guestfs.pod:2390
37204 #, no-wrap
37205 msgid ""
37206 " total length (header + ret,\n"
37207 "      but not including the length word itself)\n"
37208 " struct guestfs_message_header (encoded as XDR)\n"
37209 " struct guestfs_<foo>_ret (encoded as XDR)\n"
37210 "\n"
37211 msgstr ""
37212
37213 #. type: textblock
37214 #: ../src/guestfs.pod:2395
37215 msgid ""
37216 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
37217 "functions that return no formal return values."
37218 msgstr ""
37219
37220 #. type: textblock
37221 #: ../src/guestfs.pod:2398
37222 msgid ""
37223 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
37224 msgstr ""
37225
37226 #. type: textblock
37227 #: ../src/guestfs.pod:2401
37228 msgid ""
37229 "In the case of an error, a flag is set in the header, and the reply message "
37230 "is slightly changed:"
37231 msgstr ""
37232
37233 #. type: verbatim
37234 #: ../src/guestfs.pod:2404
37235 #, no-wrap
37236 msgid ""
37237 " total length (header + error,\n"
37238 "      but not including the length word itself)\n"
37239 " struct guestfs_message_header (encoded as XDR)\n"
37240 " struct guestfs_message_error (encoded as XDR)\n"
37241 "\n"
37242 msgstr ""
37243
37244 #. type: textblock
37245 #: ../src/guestfs.pod:2409
37246 msgid ""
37247 "The C<guestfs_message_error> structure contains the error message as a "
37248 "string."
37249 msgstr ""
37250
37251 #. type: =head3
37252 #: ../src/guestfs.pod:2412
37253 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
37254 msgstr ""
37255
37256 #. type: textblock
37257 #: ../src/guestfs.pod:2414
37258 msgid ""
37259 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
37260 "The normal request message is sent (see above).  However this is followed by "
37261 "a sequence of file chunks."
37262 msgstr ""
37263
37264 #. type: verbatim
37265 #: ../src/guestfs.pod:2418
37266 #, no-wrap
37267 msgid ""
37268 " total length (header + arguments,\n"
37269 "      but not including the length word itself,\n"
37270 "      and not including the chunks)\n"
37271 " struct guestfs_message_header (encoded as XDR)\n"
37272 " struct guestfs_<foo>_args (encoded as XDR)\n"
37273 " sequence of chunks for FileIn param #0\n"
37274 " sequence of chunks for FileIn param #1 etc.\n"
37275 "\n"
37276 msgstr ""
37277
37278 #. type: textblock
37279 #: ../src/guestfs.pod:2426
37280 msgid "The \"sequence of chunks\" is:"
37281 msgstr ""
37282
37283 #. type: verbatim
37284 #: ../src/guestfs.pod:2428
37285 #, no-wrap
37286 msgid ""
37287 " length of chunk (not including length word itself)\n"
37288 " struct guestfs_chunk (encoded as XDR)\n"
37289 " length of chunk\n"
37290 " struct guestfs_chunk (encoded as XDR)\n"
37291 "   ...\n"
37292 " length of chunk\n"
37293 " struct guestfs_chunk (with data.data_len == 0)\n"
37294 "\n"
37295 msgstr ""
37296
37297 #. type: textblock
37298 #: ../src/guestfs.pod:2436
37299 msgid ""
37300 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
37301 "is set in the final chunk to indicate either successful completion or early "
37302 "cancellation."
37303 msgstr ""
37304
37305 #. type: textblock
37306 #: ../src/guestfs.pod:2440
37307 msgid ""
37308 "At time of writing there are no functions that have more than one FileIn "
37309 "parameter.  However this is (theoretically) supported, by sending the "
37310 "sequence of chunks for each FileIn parameter one after another (from left to "
37311 "right)."
37312 msgstr ""
37313
37314 #. type: textblock
37315 #: ../src/guestfs.pod:2445
37316 msgid ""
37317 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
37318 "transfer.  The library does this by sending a chunk with a special flag set "
37319 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
37320 "RPC, does I<not> send any reply, and goes back to reading the next request."
37321 msgstr ""
37322
37323 #. type: textblock
37324 #: ../src/guestfs.pod:2451
37325 msgid ""
37326 "The daemon may also cancel.  It does this by writing a special word "
37327 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
37328 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
37329 "cancel chunk).  The special word is chosen so that even if cancellation "
37330 "happens right at the end of the transfer (after the library has finished "
37331 "writing and has started listening for the reply), the \"spurious\" cancel "
37332 "flag will not be confused with the reply message."
37333 msgstr ""
37334
37335 #. type: textblock
37336 #: ../src/guestfs.pod:2460
37337 msgid ""
37338 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
37339 "limit), and also files where the size is not known in advance (eg. from "
37340 "pipes or sockets).  However the chunks are rather small "
37341 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
37342 "to keep much in memory."
37343 msgstr ""
37344
37345 #. type: =head3
37346 #: ../src/guestfs.pod:2466
37347 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
37348 msgstr ""
37349
37350 #. type: textblock
37351 #: ../src/guestfs.pod:2468
37352 msgid ""
37353 "The protocol for FileOut parameters is exactly the same as for FileIn "
37354 "parameters, but with the roles of daemon and library reversed."
37355 msgstr ""
37356
37357 #. type: verbatim
37358 #: ../src/guestfs.pod:2471
37359 #, no-wrap
37360 msgid ""
37361 " total length (header + ret,\n"
37362 "      but not including the length word itself,\n"
37363 "      and not including the chunks)\n"
37364 " struct guestfs_message_header (encoded as XDR)\n"
37365 " struct guestfs_<foo>_ret (encoded as XDR)\n"
37366 " sequence of chunks for FileOut param #0\n"
37367 " sequence of chunks for FileOut param #1 etc.\n"
37368 "\n"
37369 msgstr ""
37370
37371 #. type: =head3
37372 #: ../src/guestfs.pod:2479
37373 msgid "INITIAL MESSAGE"
37374 msgstr ""
37375
37376 #. type: textblock
37377 #: ../src/guestfs.pod:2481
37378 msgid ""
37379 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
37380 "which indicates that the guest and daemon is alive.  This is what L</"
37381 "guestfs_launch> waits for."
37382 msgstr ""
37383
37384 #. type: =head3
37385 #: ../src/guestfs.pod:2485
37386 msgid "PROGRESS NOTIFICATION MESSAGES"
37387 msgstr ""
37388
37389 #. type: textblock
37390 #: ../src/guestfs.pod:2487
37391 msgid ""
37392 "The daemon may send progress notification messages at any time.  These are "
37393 "distinguished by the normal length word being replaced by "
37394 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
37395 msgstr ""
37396
37397 #. type: textblock
37398 #: ../src/guestfs.pod:2491
37399 msgid ""
37400 "The library turns them into progress callbacks (see L</"
37401 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
37402 "if not."
37403 msgstr ""
37404
37405 #. type: textblock
37406 #: ../src/guestfs.pod:2495
37407 msgid ""
37408 "The daemon self-limits the frequency of progress messages it sends (see "
37409 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
37410 "messages."
37411 msgstr ""
37412
37413 #. type: =head1
37414 #: ../src/guestfs.pod:2499
37415 msgid "LIBGUESTFS VERSION NUMBERS"
37416 msgstr ""
37417
37418 #. type: textblock
37419 #: ../src/guestfs.pod:2501
37420 msgid ""
37421 "Since April 2010, libguestfs has started to make separate development and "
37422 "stable releases, along with corresponding branches in our git repository.  "
37423 "These separate releases can be identified by version number:"
37424 msgstr ""
37425
37426 #. type: verbatim
37427 #: ../src/guestfs.pod:2506
37428 #, no-wrap
37429 msgid ""
37430 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
37431 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
37432 "       |\n"
37433 "       v\n"
37434 " 1  .  3  .  5\n"
37435 " ^           ^\n"
37436 " |           |\n"
37437 " |           `-------- sub-version\n"
37438 " |\n"
37439 " `------ always '1' because we don't change the ABI\n"
37440 "\n"
37441 msgstr ""
37442
37443 #. type: textblock
37444 #: ../src/guestfs.pod:2517
37445 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
37446 msgstr ""
37447
37448 #. type: textblock
37449 #: ../src/guestfs.pod:2519
37450 msgid ""
37451 "As time passes we cherry pick fixes from the development branch and backport "
37452 "those into the stable branch, the effect being that the stable branch should "
37453 "get more stable and less buggy over time.  So the stable releases are ideal "
37454 "for people who don't need new features but would just like the software to "
37455 "work."
37456 msgstr ""
37457
37458 #. type: textblock
37459 #: ../src/guestfs.pod:2525
37460 msgid "Our criteria for backporting changes are:"
37461 msgstr ""
37462
37463 #. type: textblock
37464 #: ../src/guestfs.pod:2531
37465 msgid ""
37466 "Documentation changes which don't affect any code are backported unless the "
37467 "documentation refers to a future feature which is not in stable."
37468 msgstr ""
37469
37470 #. type: textblock
37471 #: ../src/guestfs.pod:2537
37472 msgid ""
37473 "Bug fixes which are not controversial, fix obvious problems, and have been "
37474 "well tested are backported."
37475 msgstr ""
37476
37477 #. type: textblock
37478 #: ../src/guestfs.pod:2542
37479 msgid ""
37480 "Simple rearrangements of code which shouldn't affect how it works get "
37481 "backported.  This is so that the code in the two branches doesn't get too "
37482 "far out of step, allowing us to backport future fixes more easily."
37483 msgstr ""
37484
37485 #. type: textblock
37486 #: ../src/guestfs.pod:2548
37487 msgid ""
37488 "We I<don't> backport new features, new APIs, new tools etc, except in one "
37489 "exceptional case: the new feature is required in order to implement an "
37490 "important bug fix."
37491 msgstr ""
37492
37493 #. type: textblock
37494 #: ../src/guestfs.pod:2554
37495 msgid ""
37496 "A new stable branch starts when we think the new features in development are "
37497 "substantial and compelling enough over the current stable branch to warrant "
37498 "it.  When that happens we create new stable and development versions 1.N.0 "
37499 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
37500 "stable at this point, but by backporting fixes from development, that branch "
37501 "will stabilize over time."
37502 msgstr ""
37503
37504 #. type: =head1
37505 #: ../src/guestfs.pod:2562
37506 msgid "EXTENDING LIBGUESTFS"
37507 msgstr ""
37508
37509 #. type: =head2
37510 #: ../src/guestfs.pod:2564
37511 msgid "ADDING A NEW API ACTION"
37512 msgstr ""
37513
37514 #. type: textblock
37515 #: ../src/guestfs.pod:2566
37516 msgid ""
37517 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
37518 "documentation) are generated, and this makes it easy to extend the "
37519 "libguestfs API."
37520 msgstr ""
37521
37522 #. type: textblock
37523 #: ../src/guestfs.pod:2570
37524 msgid "To add a new API action there are two changes:"
37525 msgstr ""
37526
37527 #. type: textblock
37528 #: ../src/guestfs.pod:2576
37529 msgid ""
37530 "You need to add a description of the call (name, parameters, return type, "
37531 "tests, documentation) to C<generator/generator_actions.ml>."
37532 msgstr ""
37533
37534 #. type: textblock
37535 #: ../src/guestfs.pod:2579
37536 msgid ""
37537 "There are two sorts of API action, depending on whether the call goes "
37538 "through to the daemon in the appliance, or is serviced entirely by the "
37539 "library (see L</ARCHITECTURE> above).  L</guestfs_sync> is an example of the "
37540 "former, since the sync is done in the appliance.  L</guestfs_set_trace> is "
37541 "an example of the latter, since a trace flag is maintained in the handle and "
37542 "all tracing is done on the library side."
37543 msgstr ""
37544
37545 #. type: textblock
37546 #: ../src/guestfs.pod:2587
37547 msgid ""
37548 "Most new actions are of the first type, and get added to the "
37549 "C<daemon_functions> list.  Each function has a unique procedure number used "
37550 "in the RPC protocol which is assigned to that action when we publish "
37551 "libguestfs and cannot be reused.  Take the latest procedure number and "
37552 "increment it."
37553 msgstr ""
37554
37555 #. type: textblock
37556 #: ../src/guestfs.pod:2593
37557 msgid ""
37558 "For library-only actions of the second type, add to the "
37559 "C<non_daemon_functions> list.  Since these functions are serviced by the "
37560 "library and do not travel over the RPC mechanism to the daemon, these "
37561 "functions do not need a procedure number, and so the procedure number is set "
37562 "to C<-1>."
37563 msgstr ""
37564
37565 #. type: textblock
37566 #: ../src/guestfs.pod:2601
37567 msgid "Implement the action (in C):"
37568 msgstr ""
37569
37570 #. type: textblock
37571 #: ../src/guestfs.pod:2603
37572 msgid ""
37573 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
37574 "C<daemon/> directory."
37575 msgstr ""
37576
37577 #. type: textblock
37578 #: ../src/guestfs.pod:2606
37579 msgid ""
37580 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
37581 "(note: double underscore) in the C<src/> directory."
37582 msgstr ""
37583
37584 #. type: textblock
37585 #: ../src/guestfs.pod:2609
37586 msgid "In either case, use another function as an example of what to do."
37587 msgstr ""
37588
37589 #. type: textblock
37590 #: ../src/guestfs.pod:2613
37591 msgid "After making these changes, use C<make> to compile."
37592 msgstr ""
37593
37594 #. type: textblock
37595 #: ../src/guestfs.pod:2615
37596 msgid ""
37597 "Note that you don't need to implement the RPC, language bindings, manual "
37598 "pages or anything else.  It's all automatically generated from the OCaml "
37599 "description."
37600 msgstr ""
37601
37602 #. type: =head2
37603 #: ../src/guestfs.pod:2619
37604 msgid "ADDING TESTS FOR AN API ACTION"
37605 msgstr ""
37606
37607 #. type: textblock
37608 #: ../src/guestfs.pod:2621
37609 msgid ""
37610 "You can supply zero or as many tests as you want per API call.  The tests "
37611 "can either be added as part of the API description (C<generator/"
37612 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
37613 "into C<regressions/>.  Note that adding a script to C<regressions/> is "
37614 "slower, so if possible use the first method."
37615 msgstr ""
37616
37617 #. type: textblock
37618 #: ../src/guestfs.pod:2627
37619 msgid ""
37620 "The following describes the test environment used when you add an API test "
37621 "in C<generator_actions.ml>."
37622 msgstr ""
37623
37624 #. type: textblock
37625 #: ../src/guestfs.pod:2630
37626 msgid "The test environment has 4 block devices:"
37627 msgstr ""
37628
37629 #. type: =item
37630 #: ../src/guestfs.pod:2634
37631 msgid "C</dev/sda> 500MB"
37632 msgstr "C</dev/sda> 500 МБ"
37633
37634 #. type: textblock
37635 #: ../src/guestfs.pod:2636
37636 msgid "General block device for testing."
37637 msgstr ""
37638
37639 #. type: =item
37640 #: ../src/guestfs.pod:2638
37641 msgid "C</dev/sdb> 50MB"
37642 msgstr "C</dev/sdb> 50 МБ"
37643
37644 #. type: textblock
37645 #: ../src/guestfs.pod:2640
37646 msgid ""
37647 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
37648 "operations."
37649 msgstr ""
37650
37651 #. type: =item
37652 #: ../src/guestfs.pod:2643
37653 msgid "C</dev/sdc> 10MB"
37654 msgstr "C</dev/sdc> 10 МБ"
37655
37656 #. type: textblock
37657 #: ../src/guestfs.pod:2645
37658 msgid "Used in a few tests where two block devices are needed."
37659 msgstr ""
37660
37661 #. type: =item
37662 #: ../src/guestfs.pod:2647
37663 msgid "C</dev/sdd>"
37664 msgstr "C</dev/sdd>"
37665
37666 #. type: textblock
37667 #: ../src/guestfs.pod:2649
37668 msgid "ISO with fixed content (see C<images/test.iso>)."
37669 msgstr ""
37670
37671 #. type: textblock
37672 #: ../src/guestfs.pod:2653
37673 msgid ""
37674 "To be able to run the tests in a reasonable amount of time, the libguestfs "
37675 "appliance and block devices are reused between tests.  So don't try testing "
37676 "L</guestfs_kill_subprocess> :-x"
37677 msgstr ""
37678
37679 #. type: textblock
37680 #: ../src/guestfs.pod:2657
37681 msgid ""
37682 "Each test starts with an initial scenario, selected using one of the "
37683 "C<Init*> expressions, described in C<generator/generator_types.ml>.  These "
37684 "initialize the disks mentioned above in a particular way as documented in "
37685 "C<generator_types.ml>.  You should not assume anything about the previous "
37686 "contents of other disks that are not initialized."
37687 msgstr ""
37688
37689 #. type: textblock
37690 #: ../src/guestfs.pod:2663
37691 msgid ""
37692 "You can add a prerequisite clause to any individual test.  This is a run-"
37693 "time check, which, if it fails, causes the test to be skipped.  Useful if "
37694 "testing a command which might not work on all variations of libguestfs "
37695 "builds.  A test that has prerequisite of C<Always> means to run "
37696 "unconditionally."
37697 msgstr ""
37698
37699 #. type: textblock
37700 #: ../src/guestfs.pod:2669
37701 msgid ""
37702 "In addition, packagers can skip individual tests by setting environment "
37703 "variables before running C<make check>."
37704 msgstr ""
37705
37706 #. type: verbatim
37707 #: ../src/guestfs.pod:2672
37708 #, no-wrap
37709 msgid ""
37710 " SKIP_TEST_<CMD>_<NUM>=1\n"
37711 "\n"
37712 msgstr ""
37713
37714 #. type: textblock
37715 #: ../src/guestfs.pod:2674
37716 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
37717 msgstr ""
37718
37719 #. type: textblock
37720 #: ../src/guestfs.pod:2676
37721 msgid "or:"
37722 msgstr "або:"
37723
37724 #. type: verbatim
37725 #: ../src/guestfs.pod:2678
37726 #, no-wrap
37727 msgid ""
37728 " SKIP_TEST_<CMD>=1\n"
37729 "\n"
37730 msgstr ""
37731
37732 #. type: textblock
37733 #: ../src/guestfs.pod:2680
37734 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
37735 msgstr ""
37736
37737 #. type: textblock
37738 #: ../src/guestfs.pod:2682
37739 msgid "Packagers can run only certain tests by setting for example:"
37740 msgstr ""
37741
37742 #. type: verbatim
37743 #: ../src/guestfs.pod:2684
37744 #, no-wrap
37745 msgid ""
37746 " TEST_ONLY=\"vfs_type zerofree\"\n"
37747 "\n"
37748 msgstr ""
37749
37750 #. type: textblock
37751 #: ../src/guestfs.pod:2686
37752 msgid ""
37753 "See C<capitests/tests.c> for more details of how these environment variables "
37754 "work."
37755 msgstr ""
37756
37757 #. type: =head2
37758 #: ../src/guestfs.pod:2689
37759 msgid "DEBUGGING NEW API ACTIONS"
37760 msgstr ""
37761
37762 #. type: textblock
37763 #: ../src/guestfs.pod:2691
37764 msgid "Test new actions work before submitting them."
37765 msgstr ""
37766
37767 #. type: textblock
37768 #: ../src/guestfs.pod:2693
37769 msgid "You can use guestfish to try out new commands."
37770 msgstr ""
37771
37772 #. type: textblock
37773 #: ../src/guestfs.pod:2695
37774 msgid ""
37775 "Debugging the daemon is a problem because it runs inside a minimal "
37776 "environment.  However you can fprintf messages in the daemon to stderr, and "
37777 "they will show up if you use C<guestfish -v>."
37778 msgstr ""
37779
37780 #. type: =head2
37781 #: ../src/guestfs.pod:2699
37782 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
37783 msgstr ""
37784
37785 #. type: textblock
37786 #: ../src/guestfs.pod:2701
37787 msgid ""
37788 "Our C source code generally adheres to some basic code-formatting "
37789 "conventions.  The existing code base is not totally consistent on this "
37790 "front, but we do prefer that contributed code be formatted similarly.  In "
37791 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
37792 "indentation level, and other than that, follow the K&R style."
37793 msgstr ""
37794
37795 #. type: textblock
37796 #: ../src/guestfs.pod:2707
37797 msgid ""
37798 "If you use Emacs, add the following to one of one of your start-up files (e."
37799 "g., ~/.emacs), to help ensure that you get indentation right:"
37800 msgstr ""
37801
37802 #. type: verbatim
37803 #: ../src/guestfs.pod:2710
37804 #, no-wrap
37805 msgid ""
37806 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
37807 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
37808 " (add-hook 'find-file-hook\n"
37809 "     '(lambda () (if (and buffer-file-name\n"
37810 "                          (string-match \"/libguestfs\\\\>\"\n"
37811 "                              (buffer-file-name))\n"
37812 "                          (not (string-equal mode-name \"Change Log\"))\n"
37813 "                          (not (string-equal mode-name \"Makefile\")))\n"
37814 "                     (setq indent-tabs-mode nil))))\n"
37815 " \n"
37816 msgstr ""
37817
37818 #. type: verbatim
37819 #: ../src/guestfs.pod:2720
37820 #, no-wrap
37821 msgid ""
37822 " ;;; When editing C sources in libguestfs, use this style.\n"
37823 " (defun libguestfs-c-mode ()\n"
37824 "   \"C mode with adjusted defaults for use with libguestfs.\"\n"
37825 "   (interactive)\n"
37826 "   (c-set-style \"K&R\")\n"
37827 "   (setq c-indent-level 2)\n"
37828 "   (setq c-basic-offset 2))\n"
37829 " (add-hook 'c-mode-hook\n"
37830 "           '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
37831 "                               (buffer-file-name))\n"
37832 "                           (libguestfs-c-mode))))\n"
37833 "\n"
37834 msgstr ""
37835
37836 #. type: textblock
37837 #: ../src/guestfs.pod:2732
37838 msgid "Enable warnings when compiling (and fix any problems this finds):"
37839 msgstr ""
37840
37841 #. type: verbatim
37842 #: ../src/guestfs.pod:2735
37843 #, no-wrap
37844 msgid ""
37845 " ./configure --enable-gcc-warnings\n"
37846 "\n"
37847 msgstr ""
37848 " ./configure --enable-gcc-warnings\n"
37849 "\n"
37850
37851 #. type: textblock
37852 #: ../src/guestfs.pod:2737
37853 msgid "Useful targets are:"
37854 msgstr ""
37855
37856 #. type: verbatim
37857 #: ../src/guestfs.pod:2739
37858 #, no-wrap
37859 msgid ""
37860 " make syntax-check  # checks the syntax of the C code\n"
37861 " make check         # runs the test suite\n"
37862 "\n"
37863 msgstr ""
37864
37865 #. type: =head2
37866 #: ../src/guestfs.pod:2742
37867 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
37868 msgstr ""
37869
37870 #. type: textblock
37871 #: ../src/guestfs.pod:2744
37872 msgid ""
37873 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
37874 "which are used to do shell quoting."
37875 msgstr ""
37876
37877 #. type: =item
37878 #: ../src/guestfs.pod:2749
37879 msgid "%Q"
37880 msgstr "%Q"
37881
37882 #. type: textblock
37883 #: ../src/guestfs.pod:2751
37884 msgid ""
37885 "Simple shell quoted string.  Any spaces or other shell characters are "
37886 "escaped for you."
37887 msgstr ""
37888
37889 #. type: =item
37890 #: ../src/guestfs.pod:2754
37891 msgid "%R"
37892 msgstr "%R"
37893
37894 #. type: textblock
37895 #: ../src/guestfs.pod:2756
37896 msgid ""
37897 "Same as C<%Q> except the string is treated as a path which is prefixed by "
37898 "the sysroot."
37899 msgstr ""
37900
37901 #. type: verbatim
37902 #: ../src/guestfs.pod:2763
37903 #, no-wrap
37904 msgid ""
37905 " asprintf (&cmd, \"cat %R\", path);\n"
37906 "\n"
37907 msgstr ""
37908
37909 #. type: textblock
37910 #: ../src/guestfs.pod:2765
37911 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
37912 msgstr ""
37913
37914 #. type: textblock
37915 #: ../src/guestfs.pod:2767
37916 msgid ""
37917 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
37918 "{,r,v,rv}()> functions.  These parameters do NOT need to be quoted because "
37919 "they are not passed via the shell (instead, straight to exec).  You probably "
37920 "want to use the C<sysroot_path()> function however."
37921 msgstr ""
37922
37923 #. type: =head2
37924 #: ../src/guestfs.pod:2773
37925 msgid "SUBMITTING YOUR NEW API ACTIONS"
37926 msgstr ""
37927
37928 #. type: textblock
37929 #: ../src/guestfs.pod:2775
37930 msgid ""
37931 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
37932 "libguestfs> and CC to L<rjones@redhat.com>."
37933 msgstr ""
37934
37935 #. type: =head2
37936 #: ../src/guestfs.pod:2779
37937 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
37938 msgstr ""
37939
37940 #. type: textblock
37941 #: ../src/guestfs.pod:2781
37942 msgid "We support i18n (gettext anyhow) in the library."
37943 msgstr ""
37944
37945 #. type: textblock
37946 #: ../src/guestfs.pod:2783
37947 msgid ""
37948 "However many messages come from the daemon, and we don't translate those at "
37949 "the moment.  One reason is that the appliance generally has all locale files "
37950 "removed from it, because they take up a lot of space.  So we'd have to readd "
37951 "some of those, as well as copying our PO files into the appliance."
37952 msgstr ""
37953
37954 #. type: textblock
37955 #: ../src/guestfs.pod:2789
37956 msgid ""
37957 "Debugging messages are never translated, since they are intended for the "
37958 "programmers."
37959 msgstr ""
37960
37961 #. type: =head2
37962 #: ../src/guestfs.pod:2792
37963 msgid "SOURCE CODE SUBDIRECTORIES"
37964 msgstr ""
37965
37966 #. type: textblock
37967 #: ../src/guestfs.pod:2798
37968 msgid "The libguestfs appliance, build scripts and so on."
37969 msgstr ""
37970
37971 #. type: =item
37972 #: ../src/guestfs.pod:2800
37973 msgid "C<capitests>"
37974 msgstr "C<capitests>"
37975
37976 #. type: textblock
37977 #: ../src/guestfs.pod:2802
37978 msgid "Automated tests of the C API."
37979 msgstr ""
37980
37981 #. type: =item
37982 #: ../src/guestfs.pod:2804
37983 msgid "C<cat>"
37984 msgstr "C<cat>"
37985
37986 #. type: textblock
37987 #: ../src/guestfs.pod:2806
37988 msgid ""
37989 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
37990 "documentation."
37991 msgstr ""
37992
37993 #. type: =item
37994 #: ../src/guestfs.pod:2809
37995 msgid "C<caution>"
37996 msgstr ""
37997
37998 #. type: textblock
37999 #: ../src/guestfs.pod:2811
38000 msgid ""
38001 "Safety and liveness tests of components that libguestfs depends upon (not of "
38002 "libguestfs itself).  Mainly this is for qemu and the kernel."
38003 msgstr ""
38004
38005 #. type: =item
38006 #: ../src/guestfs.pod:2814
38007 msgid "C<contrib>"
38008 msgstr "C<contrib>"
38009
38010 #. type: textblock
38011 #: ../src/guestfs.pod:2816
38012 msgid "Outside contributions, experimental parts."
38013 msgstr ""
38014
38015 #. type: =item
38016 #: ../src/guestfs.pod:2818
38017 msgid "C<daemon>"
38018 msgstr "C<daemon>"
38019
38020 #. type: textblock
38021 #: ../src/guestfs.pod:2820
38022 msgid ""
38023 "The daemon that runs inside the libguestfs appliance and carries out actions."
38024 msgstr ""
38025
38026 #. type: =item
38027 #: ../src/guestfs.pod:2823
38028 msgid "C<df>"
38029 msgstr "C<df>"
38030
38031 #. type: textblock
38032 #: ../src/guestfs.pod:2825
38033 msgid "L<virt-df(1)> command and documentation."
38034 msgstr ""
38035
38036 #. type: =item
38037 #: ../src/guestfs.pod:2827
38038 msgid "C<edit>"
38039 msgstr ""
38040
38041 #. type: textblock
38042 #: ../src/guestfs.pod:2829
38043 msgid "L<virt-edit(1)> command and documentation."
38044 msgstr ""
38045
38046 #. type: =item
38047 #: ../src/guestfs.pod:2831
38048 msgid "C<examples>"
38049 msgstr "C<examples>"
38050
38051 #. type: textblock
38052 #: ../src/guestfs.pod:2833
38053 msgid "C API example code."
38054 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
38055
38056 #. type: =item
38057 #: ../src/guestfs.pod:2835
38058 msgid "C<fish>"
38059 msgstr "C<fish>"
38060
38061 #. type: textblock
38062 #: ../src/guestfs.pod:2837
38063 msgid ""
38064 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
38065 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
38066 "L<virt-tar-out(1)>."
38067 msgstr ""
38068
38069 #. type: =item
38070 #: ../src/guestfs.pod:2841
38071 msgid "C<fuse>"
38072 msgstr "C<fuse>"
38073
38074 #. type: textblock
38075 #: ../src/guestfs.pod:2843
38076 msgid ""
38077 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
38078 msgstr ""
38079
38080 #. type: =item
38081 #: ../src/guestfs.pod:2845
38082 msgid "C<generator>"
38083 msgstr "C<generator>"
38084
38085 #. type: textblock
38086 #: ../src/guestfs.pod:2847
38087 msgid ""
38088 "The crucially important generator, used to automatically generate large "
38089 "amounts of boilerplate C code for things like RPC and bindings."
38090 msgstr ""
38091
38092 #. type: =item
38093 #: ../src/guestfs.pod:2850
38094 msgid "C<images>"
38095 msgstr "C<images>"
38096
38097 #. type: textblock
38098 #: ../src/guestfs.pod:2852
38099 msgid "Files used by the test suite."
38100 msgstr ""
38101
38102 #. type: textblock
38103 #: ../src/guestfs.pod:2854
38104 msgid "Some \"phony\" guest images which we test against."
38105 msgstr ""
38106
38107 #. type: =item
38108 #: ../src/guestfs.pod:2856
38109 msgid "C<inspector>"
38110 msgstr "C<inspector>"
38111
38112 #. type: textblock
38113 #: ../src/guestfs.pod:2858
38114 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
38115 msgstr ""
38116
38117 #. type: =item
38118 #: ../src/guestfs.pod:2860
38119 msgid "C<logo>"
38120 msgstr "C<logo>"
38121
38122 #. type: textblock
38123 #: ../src/guestfs.pod:2862
38124 msgid "Logo used on the website.  The fish is called Arthur by the way."
38125 msgstr ""
38126
38127 #. type: =item
38128 #: ../src/guestfs.pod:2864
38129 msgid "C<m4>"
38130 msgstr "C<m4>"
38131
38132 #. type: textblock
38133 #: ../src/guestfs.pod:2866
38134 msgid "M4 macros used by autoconf."
38135 msgstr ""
38136
38137 #. type: =item
38138 #: ../src/guestfs.pod:2868
38139 msgid "C<po>"
38140 msgstr "C<po>"
38141
38142 #. type: textblock
38143 #: ../src/guestfs.pod:2870
38144 msgid "Translations of simple gettext strings."
38145 msgstr "Переклади простих рядків gettext."
38146
38147 #. type: =item
38148 #: ../src/guestfs.pod:2872
38149 msgid "C<po-docs>"
38150 msgstr "C<po-docs>"
38151
38152 #. type: textblock
38153 #: ../src/guestfs.pod:2874
38154 msgid ""
38155 "The build infrastructure and PO files for translations of manpages and POD "
38156 "files.  Eventually this will be combined with the C<po> directory, but that "
38157 "is rather complicated."
38158 msgstr ""
38159
38160 #. type: =item
38161 #: ../src/guestfs.pod:2878
38162 msgid "C<regressions>"
38163 msgstr "C<regressions>"
38164
38165 #. type: textblock
38166 #: ../src/guestfs.pod:2880
38167 msgid "Regression tests."
38168 msgstr "Тести на регресії."
38169
38170 #. type: =item
38171 #: ../src/guestfs.pod:2882
38172 msgid "C<rescue>"
38173 msgstr "C<rescue>"
38174
38175 #. type: textblock
38176 #: ../src/guestfs.pod:2884
38177 msgid "L<virt-rescue(1)> command and documentation."
38178 msgstr ""
38179
38180 #. type: =item
38181 #: ../src/guestfs.pod:2886
38182 msgid "C<src>"
38183 msgstr "C<src>"
38184
38185 #. type: textblock
38186 #: ../src/guestfs.pod:2888
38187 msgid "Source code to the C library."
38188 msgstr ""
38189
38190 #. type: =item
38191 #: ../src/guestfs.pod:2890
38192 msgid "C<tools>"
38193 msgstr "C<tools>"
38194
38195 #. type: textblock
38196 #: ../src/guestfs.pod:2892
38197 msgid "Command line tools written in Perl (L<virt-resize(1)> and many others)."
38198 msgstr ""
38199
38200 #. type: =item
38201 #: ../src/guestfs.pod:2894
38202 msgid "C<test-tool>"
38203 msgstr "C<test-tool>"
38204
38205 #. type: textblock
38206 #: ../src/guestfs.pod:2896
38207 msgid ""
38208 "Test tool for end users to test if their qemu/kernel combination will work "
38209 "with libguestfs."
38210 msgstr ""
38211
38212 #. type: =item
38213 #: ../src/guestfs.pod:2899
38214 msgid "C<csharp>"
38215 msgstr "C<csharp>"
38216
38217 #. type: =item
38218 #: ../src/guestfs.pod:2901
38219 msgid "C<haskell>"
38220 msgstr "C<haskell>"
38221
38222 #. type: =item
38223 #: ../src/guestfs.pod:2903
38224 msgid "C<java>"
38225 msgstr "C<java>"
38226
38227 #. type: =item
38228 #: ../src/guestfs.pod:2905
38229 msgid "C<ocaml>"
38230 msgstr "C<ocaml>"
38231
38232 #. type: =item
38233 #: ../src/guestfs.pod:2907
38234 msgid "C<php>"
38235 msgstr "C<php>"
38236
38237 #. type: =item
38238 #: ../src/guestfs.pod:2909
38239 msgid "C<perl>"
38240 msgstr "C<perl>"
38241
38242 #. type: =item
38243 #: ../src/guestfs.pod:2911
38244 msgid "C<python>"
38245 msgstr "C<python>"
38246
38247 #. type: =item
38248 #: ../src/guestfs.pod:2913
38249 msgid "C<ruby>"
38250 msgstr "C<ruby>"
38251
38252 #. type: textblock
38253 #: ../src/guestfs.pod:2915
38254 msgid "Language bindings."
38255 msgstr "Прив’язки до мов програмування."
38256
38257 #. type: =head2
38258 #: ../src/guestfs.pod:2919
38259 msgid "MAKING A STABLE RELEASE"
38260 msgstr ""
38261
38262 #. type: textblock
38263 #: ../src/guestfs.pod:2921
38264 msgid ""
38265 "When we make a stable release, there are several steps documented here.  See "
38266 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
38267 "branch policy."
38268 msgstr ""
38269
38270 #. type: textblock
38271 #: ../src/guestfs.pod:2929
38272 msgid ""
38273 "Check C<make && make check> works on at least Fedora, Debian and Ubuntu."
38274 msgstr ""
38275
38276 #. type: textblock
38277 #: ../src/guestfs.pod:2934
38278 msgid "Finalize RELEASE-NOTES."
38279 msgstr ""
38280
38281 #. type: textblock
38282 #: ../src/guestfs.pod:2938
38283 msgid "Update ROADMAP."
38284 msgstr ""
38285
38286 #. type: textblock
38287 #: ../src/guestfs.pod:2942
38288 msgid "Run C<src/api-support/update-from-tarballs.sh>."
38289 msgstr ""
38290
38291 #. type: textblock
38292 #: ../src/guestfs.pod:2946
38293 msgid "Push and pull from Transifex."
38294 msgstr ""
38295
38296 #. type: textblock
38297 #: ../src/guestfs.pod:2948
38298 msgid "Run:"
38299 msgstr ""
38300
38301 #. type: verbatim
38302 #: ../src/guestfs.pod:2950
38303 #, no-wrap
38304 msgid ""
38305 " tx push -s\n"
38306 "\n"
38307 msgstr ""
38308
38309 #. type: textblock
38310 #: ../src/guestfs.pod:2952
38311 msgid "to push the latest POT files to Transifex.  Then run:"
38312 msgstr ""
38313
38314 #. type: verbatim
38315 #: ../src/guestfs.pod:2954
38316 #, no-wrap
38317 msgid ""
38318 " ./tx-pull.sh\n"
38319 "\n"
38320 msgstr ""
38321
38322 #. type: textblock
38323 #: ../src/guestfs.pod:2956
38324 msgid "which is a wrapper to pull the latest translated C<*.po> files."
38325 msgstr ""
38326
38327 #. type: textblock
38328 #: ../src/guestfs.pod:2960
38329 msgid ""
38330 "Create new stable and development directories under L<http://libguestfs.org/"
38331 "download>."
38332 msgstr ""
38333
38334 #. type: textblock
38335 #: ../src/guestfs.pod:2965
38336 msgid "Create the branch in git:"
38337 msgstr ""
38338
38339 #. type: verbatim
38340 #: ../src/guestfs.pod:2967
38341 #, no-wrap
38342 msgid ""
38343 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
38344 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
38345 " git branch stable-1.XX\n"
38346 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
38347 "\n"
38348 msgstr ""
38349
38350 #. type: =head1
38351 #: ../src/guestfs.pod:2974
38352 msgid "LIMITS"
38353 msgstr ""
38354
38355 #. type: =head2
38356 #: ../src/guestfs.pod:2976
38357 msgid "PROTOCOL LIMITS"
38358 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
38359
38360 #. type: textblock
38361 #: ../src/guestfs.pod:2978
38362 msgid ""
38363 "Internally libguestfs uses a message-based protocol to pass API calls and "
38364 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
38365 "plenty more detail about this).  The maximum message size used by the "
38366 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
38367 "aware of this limit.  The API calls which may be affected are individually "
38368 "documented, with a link back to this section of the documentation."
38369 msgstr ""
38370
38371 #. type: textblock
38372 #: ../src/guestfs.pod:2986
38373 msgid ""
38374 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
38375 "a simple string.  Because this string is at some point internally encoded as "
38376 "a message, the maximum size that it can return is slightly under 4 MB.  If "
38377 "the requested file is larger than this then you will get an error."
38378 msgstr ""
38379
38380 #. type: textblock
38381 #: ../src/guestfs.pod:2992
38382 msgid ""
38383 "In order to transfer large files into and out of the guest filesystem, you "
38384 "need to use particular calls that support this.  The sections L</UPLOADING> "
38385 "and L</DOWNLOADING> document how to do this."
38386 msgstr ""
38387
38388 #. type: textblock
38389 #: ../src/guestfs.pod:2996
38390 msgid ""
38391 "You might also consider mounting the disk image using our FUSE filesystem "
38392 "support (L<guestmount(1)>)."
38393 msgstr ""
38394
38395 #. type: =head2
38396 #: ../src/guestfs.pod:2999
38397 msgid "MAXIMUM NUMBER OF DISKS"
38398 msgstr ""
38399
38400 #. type: textblock
38401 #: ../src/guestfs.pod:3001
38402 msgid "When using virtio disks (the default) the current limit is B<25> disks."
38403 msgstr ""
38404
38405 #. type: textblock
38406 #: ../src/guestfs.pod:3004
38407 msgid ""
38408 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
38409 "slots.  However febootstrap only understands disks with names C</dev/vda> "
38410 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
38411 "purposes."
38412 msgstr ""
38413
38414 #. type: textblock
38415 #: ../src/guestfs.pod:3009
38416 msgid ""
38417 "We are working to substantially raise this limit in future versions but it "
38418 "requires complex changes to qemu."
38419 msgstr ""
38420
38421 #. type: textblock
38422 #: ../src/guestfs.pod:3012
38423 msgid ""
38424 "In future versions of libguestfs it should also be possible to \"hot plug\" "
38425 "disks (add and remove disks after calling L</guestfs_launch>).  This also "
38426 "requires changes to qemu."
38427 msgstr ""
38428
38429 #. type: =head2
38430 #: ../src/guestfs.pod:3016
38431 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
38432 msgstr ""
38433
38434 #. type: textblock
38435 #: ../src/guestfs.pod:3018
38436 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
38437 msgstr ""
38438
38439 #. type: textblock
38440 #: ../src/guestfs.pod:3020
38441 msgid ""
38442 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
38443 "vda>, and C</dev/vda1> through C</dev/vda15>)."
38444 msgstr ""
38445
38446 #. type: textblock
38447 #: ../src/guestfs.pod:3023
38448 msgid ""
38449 "If you attach a disk with more than 15 partitions, the extra partitions are "
38450 "ignored by libguestfs."
38451 msgstr ""
38452
38453 #. type: =head2
38454 #: ../src/guestfs.pod:3026
38455 msgid "MAXIMUM SIZE OF A DISK"
38456 msgstr ""
38457
38458 #. type: textblock
38459 #: ../src/guestfs.pod:3028
38460 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
38461 msgstr ""
38462
38463 #. type: textblock
38464 #: ../src/guestfs.pod:3030
38465 msgid ""
38466 "We have tested block devices up to 1 exabyte (2**60 or "
38467 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
38468 "filesystem."
38469 msgstr ""
38470
38471 #. type: textblock
38472 #: ../src/guestfs.pod:3034
38473 msgid ""
38474 "Although libguestfs probably does not impose any limit, the underlying host "
38475 "storage will.  If you store disk images on a host ext4 filesystem, then the "
38476 "maximum size will be limited by the maximum ext4 file size (currently 16 "
38477 "TB).  If you store disk images as host logical volumes then you are limited "
38478 "by the maximum size of an LV."
38479 msgstr ""
38480
38481 #. type: textblock
38482 #: ../src/guestfs.pod:3040
38483 msgid ""
38484 "For the hugest disk image files, we recommend using XFS on the host for "
38485 "storage."
38486 msgstr ""
38487
38488 #. type: =head2
38489 #: ../src/guestfs.pod:3043
38490 msgid "MAXIMUM SIZE OF A PARTITION"
38491 msgstr ""
38492
38493 #. type: textblock
38494 #: ../src/guestfs.pod:3045
38495 msgid ""
38496 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
38497 "numbers.  Assuming a 512 byte sector size, this means that MBR cannot "
38498 "address a partition located beyond 2 TB on the disk."
38499 msgstr ""
38500
38501 #. type: textblock
38502 #: ../src/guestfs.pod:3049
38503 msgid ""
38504 "It is recommended that you use GPT partitions on disks which are larger than "
38505 "this size.  GPT uses 64 bit sector numbers and so can address partitions "
38506 "which are theoretically larger than the largest disk we could support."
38507 msgstr ""
38508
38509 #. type: =head2
38510 #: ../src/guestfs.pod:3054
38511 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
38512 msgstr ""
38513
38514 #. type: textblock
38515 #: ../src/guestfs.pod:3056
38516 msgid ""
38517 "This depends on the filesystem type.  libguestfs itself does not impose any "
38518 "known limit.  Consult Wikipedia or the filesystem documentation to find out "
38519 "what these limits are."
38520 msgstr ""
38521
38522 #. type: =head2
38523 #: ../src/guestfs.pod:3060
38524 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
38525 msgstr ""
38526
38527 #. type: textblock
38528 #: ../src/guestfs.pod:3062
38529 msgid ""
38530 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
38531 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
38532 "uploads and downloads."
38533 msgstr ""
38534
38535 #. type: =head2
38536 #: ../src/guestfs.pod:3066
38537 msgid "INSPECTION LIMITS"
38538 msgstr ""
38539
38540 #. type: textblock
38541 #: ../src/guestfs.pod:3068
38542 msgid ""
38543 "The inspection code has several arbitrary limits on things like the size of "
38544 "Windows Registry hive it will read, and the length of product name.  These "
38545 "are intended to stop a malicious guest from consuming arbitrary amounts of "
38546 "memory and disk space on the host, and should not be reached in practice.  "
38547 "See the source code for more information."
38548 msgstr ""
38549
38550 #. type: textblock
38551 #: ../src/guestfs.pod:3094
38552 msgid ""
38553 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
38554 "effect as calling C<guestfs_set_verbose (g, 1)>."
38555 msgstr ""
38556
38557 #. type: textblock
38558 #: ../src/guestfs.pod:3106
38559 msgid ""
38560 "Set the path that libguestfs uses to search for a supermin appliance.  See "
38561 "the discussion of paths in section L</PATH> above."
38562 msgstr ""
38563
38564 #. type: textblock
38565 #: ../src/guestfs.pod:3115
38566 msgid "See also L</QEMU WRAPPERS> above."
38567 msgstr ""
38568
38569 #. type: textblock
38570 #: ../src/guestfs.pod:3119
38571 msgid ""
38572 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
38573 "effect as calling C<guestfs_set_trace (g, 1)>."
38574 msgstr ""
38575
38576 #. type: textblock
38577 #: ../src/guestfs.pod:3137
38578 msgid ""
38579 "L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-"
38580 "perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, L<guestfish(1)>, "
38581 "L<guestmount(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
38582 "L<virt-df(1)>, L<virt-edit(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)"
38583 ">, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, "
38584 "L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-tar-in(1)>, "
38585 "L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, "
38586 "L<febootstrap-supermin-helper(8)>, L<hivex(3)>, L<http://libguestfs.org/>."
38587 msgstr ""
38588
38589 #. type: textblock
38590 #: ../src/guestfs.pod:3167
38591 msgid ""
38592 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
38593 "(8)>, L<disktype(1)>."
38594 msgstr ""
38595
38596 #. type: =head1
38597 #: ../src/guestfs.pod:3174 ../tools/virt-make-fs.pl:553
38598 #: ../tools/virt-win-reg.pl:761
38599 msgid "BUGS"
38600 msgstr "ВАДИ"
38601
38602 #. type: textblock
38603 #: ../src/guestfs.pod:3176
38604 msgid "To get a list of bugs against libguestfs use this link:"
38605 msgstr ""
38606 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
38607 "посиланням:"
38608
38609 #. type: textblock
38610 #: ../src/guestfs.pod:3178
38611 msgid ""
38612 "L<https://bugzilla.redhat.com/buglist.cgi?"
38613 "component=libguestfs&product=Virtualization+Tools>"
38614 msgstr ""
38615 "L<https://bugzilla.redhat.com/buglist.cgi?"
38616 "component=libguestfs&product=Virtualization+Tools>"
38617
38618 #. type: textblock
38619 #: ../src/guestfs.pod:3180
38620 msgid "To report a new bug against libguestfs use this link:"
38621 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
38622
38623 #. type: textblock
38624 #: ../src/guestfs.pod:3182
38625 msgid ""
38626 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
38627 "component=libguestfs&product=Virtualization+Tools>"
38628 msgstr ""
38629 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
38630 "component=libguestfs&product=Virtualization+Tools>"
38631
38632 #. type: textblock
38633 #: ../src/guestfs.pod:3184
38634 msgid "When reporting a bug, please check:"
38635 msgstr ""
38636
38637 #. type: textblock
38638 #: ../src/guestfs.pod:3190
38639 msgid "That the bug hasn't been reported already."
38640 msgstr ""
38641
38642 #. type: textblock
38643 #: ../src/guestfs.pod:3194
38644 msgid "That you are testing a recent version."
38645 msgstr ""
38646
38647 #. type: textblock
38648 #: ../src/guestfs.pod:3198
38649 msgid "Describe the bug accurately, and give a way to reproduce it."
38650 msgstr ""
38651
38652 #. type: textblock
38653 #: ../src/guestfs.pod:3202
38654 msgid ""
38655 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
38656 "bug report."
38657 msgstr ""
38658
38659 #. type: textblock
38660 #: ../test-tool/libguestfs-test-tool.pod:5
38661 msgid "libguestfs-test-tool - Diagnostics for libguestfs"
38662 msgstr ""
38663
38664 #. type: verbatim
38665 #: ../test-tool/libguestfs-test-tool.pod:9
38666 #, no-wrap
38667 msgid ""
38668 " libguestfs-test-tool [--options]\n"
38669 "\n"
38670 msgstr ""
38671
38672 #. type: textblock
38673 #: ../test-tool/libguestfs-test-tool.pod:13
38674 msgid ""
38675 "libguestfs-test-tool is a test program shipped with libguestfs to allow you "
38676 "to check basic libguestfs functionality is working.  This is needed because "
38677 "libguestfs occasionally breaks for reasons beyond our control: usually "
38678 "because of changes in the underlying qemu or kernel packages, or the host "
38679 "environment."
38680 msgstr ""
38681
38682 #. type: textblock
38683 #: ../test-tool/libguestfs-test-tool.pod:19
38684 msgid "If you suspect a problem in libguestfs, then just run:"
38685 msgstr ""
38686
38687 #. type: verbatim
38688 #: ../test-tool/libguestfs-test-tool.pod:21
38689 #, no-wrap
38690 msgid ""
38691 " libguestfs-test-tool\n"
38692 "\n"
38693 msgstr ""
38694
38695 #. type: textblock
38696 #: ../test-tool/libguestfs-test-tool.pod:23
38697 msgid "It will print lots of diagnostic messages."
38698 msgstr ""
38699
38700 #. type: textblock
38701 #: ../test-tool/libguestfs-test-tool.pod:25
38702 msgid "If it runs to completion successfully, you will see this near the end:"
38703 msgstr ""
38704
38705 #. type: verbatim
38706 #: ../test-tool/libguestfs-test-tool.pod:27
38707 #, no-wrap
38708 msgid ""
38709 " ===== TEST FINISHED OK =====\n"
38710 "\n"
38711 msgstr ""
38712
38713 #. type: textblock
38714 #: ../test-tool/libguestfs-test-tool.pod:29
38715 msgid "and the test tool will exit with code 0."
38716 msgstr ""
38717
38718 #. type: textblock
38719 #: ../test-tool/libguestfs-test-tool.pod:31
38720 msgid ""
38721 "If it fails (and/or exits with non-zero error code), please paste the "
38722 "I<complete, unedited> output of the test tool into a bug report.  More "
38723 "information about reporting bugs can be found on the L<http://libguestfs.org/"
38724 "> website."
38725 msgstr ""
38726
38727 #. type: textblock
38728 #: ../test-tool/libguestfs-test-tool.pod:42
38729 msgid "Display short usage information and exit."
38730 msgstr ""
38731
38732 #. type: =item
38733 #: ../test-tool/libguestfs-test-tool.pod:44
38734 #, fuzzy
38735 #| msgid "I<--qemu qemu_binary>"
38736 msgid "B<--qemu qemu_binary>"
38737 msgstr "I<--qemu виконуваний_файл_qemu>"
38738
38739 #. type: textblock
38740 #: ../test-tool/libguestfs-test-tool.pod:46
38741 msgid ""
38742 "If you have downloaded another qemu binary, point this option at the full "
38743 "path of the binary to try it."
38744 msgstr ""
38745
38746 #. type: =item
38747 #: ../test-tool/libguestfs-test-tool.pod:49
38748 #, fuzzy
38749 #| msgid "I<--qemu qemu_binary>"
38750 msgid "B<--qemudir qemu_source_dir>"
38751 msgstr "I<--qemu виконуваний_файл_qemu>"
38752
38753 #. type: textblock
38754 #: ../test-tool/libguestfs-test-tool.pod:51
38755 msgid ""
38756 "If you have compiled qemu from source, point this option at the source "
38757 "directory to try it."
38758 msgstr ""
38759
38760 #. type: =item
38761 #: ../test-tool/libguestfs-test-tool.pod:54
38762 msgid "B<-t N>"
38763 msgstr ""
38764
38765 #. type: =item
38766 #: ../test-tool/libguestfs-test-tool.pod:56
38767 #, fuzzy
38768 #| msgid "I<--timeout N>"
38769 msgid "B<--timeout N>"
38770 msgstr "I<--timeout N>"
38771
38772 #. type: textblock
38773 #: ../test-tool/libguestfs-test-tool.pod:58
38774 msgid ""
38775 "Set the launch timeout to C<N> seconds.  The default is 600 seconds (10 "
38776 "minutes) which does not usually need to be adjusted."
38777 msgstr ""
38778
38779 #. type: =head1
38780 #: ../test-tool/libguestfs-test-tool.pod:63
38781 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
38782 msgstr ""
38783
38784 #. type: textblock
38785 #: ../test-tool/libguestfs-test-tool.pod:65
38786 msgid ""
38787 "If you have compiled another version of qemu from source and would like to "
38788 "try that, then you can use the I<--qemudir> option to point to the qemu "
38789 "source directory."
38790 msgstr ""
38791
38792 #. type: textblock
38793 #: ../test-tool/libguestfs-test-tool.pod:69
38794 msgid ""
38795 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
38796 "option to point to the binary."
38797 msgstr ""
38798
38799 #. type: textblock
38800 #: ../test-tool/libguestfs-test-tool.pod:72
38801 msgid ""
38802 "Note when using these options, you can ignore the business of qemu wrapper "
38803 "scripts (L<guestfs(3)/QEMU WRAPPERS>), since libguestfs-test-tool writes a "
38804 "wrapper script for you if one is needed."
38805 msgstr ""
38806
38807 #. type: =head1
38808 #: ../test-tool/libguestfs-test-tool.pod:76
38809 msgid "TRYING OUT A DIFFERENT KERNEL"
38810 msgstr ""
38811
38812 #. type: textblock
38813 #: ../test-tool/libguestfs-test-tool.pod:78
38814 msgid ""
38815 "If you are using febootstrap E<ge> 3.8 then you can select which kernel "
38816 "libguestfs tries.  You do this by setting the environment variables "
38817 "C<FEBOOTSTRAP_KERNEL> and/or C<FEBOOTSTRAP_MODULES>."
38818 msgstr ""
38819
38820 #. type: textblock
38821 #: ../test-tool/libguestfs-test-tool.pod:82
38822 msgid ""
38823 "Refer to L<febootstrap-supermin-helper(8)/ENVIRONMENT VARIABLES> for further "
38824 "information."
38825 msgstr ""
38826
38827 #. type: =head1
38828 #: ../test-tool/libguestfs-test-tool.pod:85
38829 msgid "SELF-DIAGNOSIS"
38830 msgstr ""
38831
38832 #. type: textblock
38833 #: ../test-tool/libguestfs-test-tool.pod:87
38834 msgid ""
38835 "Refer to L<guestfs(3)/APPLIANCE BOOT PROCESS> to understand the messages "
38836 "produced by libguestfs-test-tool and/or possible errors."
38837 msgstr ""
38838
38839 #. type: textblock
38840 #: ../test-tool/libguestfs-test-tool.pod:92
38841 msgid ""
38842 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
38843 "I<1> if there was an error."
38844 msgstr ""
38845
38846 #. type: textblock
38847 #: ../test-tool/libguestfs-test-tool.pod:97
38848 msgid ""
38849 "For the full list of environment variables which may affect libguestfs, "
38850 "please see the L<guestfs(3)> manual page."
38851 msgstr ""
38852
38853 #. type: textblock
38854 #: ../test-tool/libguestfs-test-tool.pod:102
38855 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
38856 msgstr ""
38857
38858 #. type: textblock
38859 #: ../tools/virt-list-filesystems.pl:32
38860 msgid ""
38861 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
38862 msgstr ""
38863
38864 #. type: verbatim
38865 #: ../tools/virt-list-filesystems.pl:36
38866 #, no-wrap
38867 msgid ""
38868 " virt-list-filesystems [--options] domname\n"
38869 "\n"
38870 msgstr ""
38871
38872 #. type: verbatim
38873 #: ../tools/virt-list-filesystems.pl:38
38874 #, no-wrap
38875 msgid ""
38876 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
38877 "\n"
38878 msgstr ""
38879
38880 #. type: textblock
38881 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
38882 msgid ""
38883 "This tool is obsolete.  Use L<virt-filesystems(1)> as a more flexible "
38884 "replacement."
38885 msgstr ""
38886
38887 #. type: textblock
38888 #: ../tools/virt-list-filesystems.pl:45
38889 msgid ""
38890 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
38891 "are contained in a virtual machine or disk image."
38892 msgstr ""
38893
38894 #. type: textblock
38895 #: ../tools/virt-list-filesystems.pl:49
38896 msgid ""
38897 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
38898 "functionality.  For more complex cases you should look at the L<guestfish(1)"
38899 "> tool."
38900 msgstr ""
38901
38902 #. type: textblock
38903 #: ../tools/virt-list-filesystems.pl:112
38904 msgid ""
38905 "With this option, C<virt-list-filesystems> displays the type of each "
38906 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
38907 msgstr ""
38908
38909 #. type: =item
38910 #: ../tools/virt-list-filesystems.pl:119
38911 #, fuzzy
38912 #| msgid "B<-a image>"
38913 msgid "B<-a>"
38914 msgstr "B<-a образ>"
38915
38916 #. type: textblock
38917 #: ../tools/virt-list-filesystems.pl:123
38918 msgid ""
38919 "Normally we only show mountable filesystems.  If this option is given then "
38920 "swap devices are shown too."
38921 msgstr ""
38922
38923 #. type: textblock
38924 #: ../tools/virt-list-filesystems.pl:197
38925 msgid ""
38926 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
38927 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
38928 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
38929 msgstr ""
38930 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
38931 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
38932 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
38933
38934 #. type: textblock
38935 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
38936 msgid "Copyright (C) 2009 Red Hat Inc."
38937 msgstr "© Red Hat Inc., 2009"
38938
38939 #. type: textblock
38940 #: ../tools/virt-list-partitions.pl:32
38941 msgid ""
38942 "virt-list-partitions - List partitions in a virtual machine or disk image"
38943 msgstr ""
38944
38945 #. type: verbatim
38946 #: ../tools/virt-list-partitions.pl:36
38947 #, no-wrap
38948 msgid ""
38949 " virt-list-partitions [--options] domname\n"
38950 "\n"
38951 msgstr ""
38952 " virt-list-partitions [--параметри] назва_домену\n"
38953 "\n"
38954
38955 #. type: verbatim
38956 #: ../tools/virt-list-partitions.pl:38
38957 #, no-wrap
38958 msgid ""
38959 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
38960 "\n"
38961 msgstr ""
38962 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
38963 "\n"
38964
38965 #. type: textblock
38966 #: ../tools/virt-list-partitions.pl:45
38967 msgid ""
38968 "C<virt-list-partitions> is a command line tool to list the partitions that "
38969 "are contained in a virtual machine or disk image.  It is mainly useful as a "
38970 "first step to using L<virt-resize(1)>."
38971 msgstr ""
38972
38973 #. type: textblock
38974 #: ../tools/virt-list-partitions.pl:50
38975 msgid ""
38976 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
38977 "functionality.  For more complex cases you should look at the L<guestfish(1)"
38978 "> tool."
38979 msgstr ""
38980
38981 #. type: textblock
38982 #: ../tools/virt-list-partitions.pl:113
38983 msgid "Show sizes in human-readable form (eg. \"1G\")."
38984 msgstr ""
38985
38986 #. type: textblock
38987 #: ../tools/virt-list-partitions.pl:123
38988 msgid ""
38989 "With this option, C<virt-list-partitions> displays the type and size of each "
38990 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
38991 msgstr ""
38992
38993 #. type: =item
38994 #: ../tools/virt-list-partitions.pl:130
38995 msgid "B<-t>"
38996 msgstr ""
38997
38998 #. type: =item
38999 #: ../tools/virt-list-partitions.pl:132
39000 #, fuzzy
39001 #| msgid "B<-t> | B<--total>"
39002 msgid "B<--total>"
39003 msgstr "B<-t> | B<--total>"
39004
39005 #. type: textblock
39006 #: ../tools/virt-list-partitions.pl:134
39007 msgid ""
39008 "Display the total size of each block device (as a separate row or rows)."
39009 msgstr ""
39010
39011 #. type: textblock
39012 #: ../tools/virt-list-partitions.pl:267
39013 msgid ""
39014 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
39015 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
39016 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
39017 msgstr ""
39018 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
39019 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
39020 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
39021
39022 #. type: textblock
39023 #: ../tools/virt-list-partitions.pl:283
39024 msgid "Copyright (C) 2009-2010 Red Hat Inc."
39025 msgstr "© Red Hat Inc., 2009–2010"
39026
39027 #. type: textblock
39028 #: ../tools/virt-make-fs.pl:37
39029 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
39030 msgstr ""
39031
39032 #. type: verbatim
39033 #: ../tools/virt-make-fs.pl:41
39034 #, no-wrap
39035 msgid ""
39036 " virt-make-fs [--options] input.tar output.img\n"
39037 "\n"
39038 msgstr ""
39039
39040 #. type: verbatim
39041 #: ../tools/virt-make-fs.pl:43
39042 #, no-wrap
39043 msgid ""
39044 " virt-make-fs [--options] input.tar.gz output.img\n"
39045 "\n"
39046 msgstr ""
39047
39048 #. type: verbatim
39049 #: ../tools/virt-make-fs.pl:45
39050 #, no-wrap
39051 msgid ""
39052 " virt-make-fs [--options] directory output.img\n"
39053 "\n"
39054 msgstr ""
39055
39056 #. type: textblock
39057 #: ../tools/virt-make-fs.pl:49
39058 msgid ""
39059 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
39060 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
39061 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
39062 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
39063 "you want to attach these filesystems to existing virtual machines (eg. to "
39064 "import large amounts of read-only data to a VM)."
39065 msgstr ""
39066
39067 #. type: textblock
39068 #: ../tools/virt-make-fs.pl:57
39069 msgid "Basic usage is:"
39070 msgstr ""
39071
39072 #. type: verbatim
39073 #: ../tools/virt-make-fs.pl:59
39074 #, no-wrap
39075 msgid ""
39076 " virt-make-fs input output\n"
39077 "\n"
39078 msgstr ""
39079
39080 #. type: textblock
39081 #: ../tools/virt-make-fs.pl:61
39082 msgid ""
39083 "where C<input> is either a directory containing files that you want to add, "
39084 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
39085 "C<output> is a disk image.  The input type is detected automatically.  The "
39086 "output disk image defaults to a raw ext2 image unless you specify extra "
39087 "flags (see L</OPTIONS> below)."
39088 msgstr ""
39089
39090 #. type: =head2
39091 #: ../tools/virt-make-fs.pl:67
39092 msgid "EXTRA SPACE"
39093 msgstr ""
39094
39095 #. type: textblock
39096 #: ../tools/virt-make-fs.pl:69
39097 msgid ""
39098 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
39099 "the files that it contains, but might have extra space.  Depending on how "
39100 "you are going to use the output, you might think this extra space is wasted "
39101 "and want to minimize it, or you might want to leave space so that more files "
39102 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
39103 "but you can use the I<--size> flag to leave space in the filesystem if you "
39104 "want it."
39105 msgstr ""
39106
39107 #. type: textblock
39108 #: ../tools/virt-make-fs.pl:77
39109 msgid ""
39110 "An alternative way to leave extra space but not make the output image any "
39111 "bigger is to use an alternative disk image format (instead of the default "
39112 "\"raw\" format).  Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
39113 "image format (check your hypervisor supports this before using it).  This "
39114 "allows you to choose a large I<--size> but the extra space won't actually be "
39115 "allocated in the image until you try to store something in it."
39116 msgstr ""
39117
39118 #. type: textblock
39119 #: ../tools/virt-make-fs.pl:85
39120 msgid ""
39121 "Don't forget that you can also use local commands including L<resize2fs(8)> "
39122 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
39123 "to build another image from scratch."
39124 msgstr ""
39125
39126 #. type: =head3
39127 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
39128 #: ../tools/virt-make-fs.pl:142
39129 msgid "EXAMPLE"
39130 msgstr "ПРИКЛАД"
39131
39132 #. type: verbatim
39133 #: ../tools/virt-make-fs.pl:91
39134 #, no-wrap
39135 msgid ""
39136 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
39137 "\n"
39138 msgstr ""
39139 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
39140 "\n"
39141
39142 #. type: =head2
39143 #: ../tools/virt-make-fs.pl:93
39144 msgid "FILESYSTEM TYPE"
39145 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
39146
39147 #. type: textblock
39148 #: ../tools/virt-make-fs.pl:95
39149 msgid ""
39150 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
39151 "libguestfs supports can be used (but I<not> read-only formats like "
39152 "ISO9660).  Here are some of the more common choices:"
39153 msgstr ""
39154
39155 #. type: =item
39156 #: ../tools/virt-make-fs.pl:101
39157 msgid "I<ext3>"
39158 msgstr "I<ext3>"
39159
39160 #. type: textblock
39161 #: ../tools/virt-make-fs.pl:103
39162 msgid ""
39163 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
39164 "you are not going to use the filesystem in a way that requires the journal, "
39165 "then this is just wasted overhead."
39166 msgstr ""
39167
39168 #. type: =item
39169 #: ../tools/virt-make-fs.pl:107
39170 msgid "I<ntfs> or I<vfat>"
39171 msgstr "I<ntfs> або I<vfat>"
39172
39173 #. type: textblock
39174 #: ../tools/virt-make-fs.pl:109
39175 msgid "Useful if exporting data to a Windows guest."
39176 msgstr ""
39177
39178 #. type: textblock
39179 #: ../tools/virt-make-fs.pl:111
39180 msgid ""
39181 "I<Note for vfat>: The tar archive or local directory must only contain files "
39182 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
39183 "program running within libguestfs is unable to change the ownership of non-"
39184 "root files, since vfat itself does not support this."
39185 msgstr ""
39186
39187 #. type: =item
39188 #: ../tools/virt-make-fs.pl:116
39189 msgid "I<minix>"
39190 msgstr "I<minix>"
39191
39192 #. type: textblock
39193 #: ../tools/virt-make-fs.pl:118
39194 msgid ""
39195 "Lower overhead than C<ext2>, but certain limitations on filename length and "
39196 "total filesystem size."
39197 msgstr ""
39198
39199 #. type: verbatim
39200 #: ../tools/virt-make-fs.pl:125
39201 #, no-wrap
39202 msgid ""
39203 " virt-make-fs --type=minix input minixfs.img\n"
39204 "\n"
39205 msgstr ""
39206
39207 #. type: =head2
39208 #: ../tools/virt-make-fs.pl:127
39209 msgid "TO PARTITION OR NOT TO PARTITION"
39210 msgstr ""
39211
39212 #. type: textblock
39213 #: ../tools/virt-make-fs.pl:129
39214 msgid "Optionally virt-make-fs can add a partition table to the output disk."
39215 msgstr ""
39216
39217 #. type: textblock
39218 #: ../tools/virt-make-fs.pl:131
39219 msgid ""
39220 "Adding a partition can make the disk image more compatible with certain "
39221 "virtualized operating systems which don't expect to see a filesystem "
39222 "directly located on a block device (Linux doesn't care and will happily "
39223 "handle both types)."
39224 msgstr ""
39225
39226 #. type: textblock
39227 #: ../tools/virt-make-fs.pl:136
39228 msgid ""
39229 "On the other hand, if you have a partition table then the output image is no "
39230 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
39231 "directly on a partitioned disk image.  (However libguestfs tools such as "
39232 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
39233 msgstr ""
39234
39235 #. type: textblock
39236 #: ../tools/virt-make-fs.pl:144
39237 msgid "Add an MBR partition:"
39238 msgstr ""
39239
39240 #. type: verbatim
39241 #: ../tools/virt-make-fs.pl:146
39242 #, no-wrap
39243 msgid ""
39244 " virt-make-fs --partition -- input disk.img\n"
39245 "\n"
39246 msgstr ""
39247
39248 #. type: textblock
39249 #: ../tools/virt-make-fs.pl:148
39250 msgid ""
39251 "If the output disk image could be terabyte-sized or larger, it's better to "
39252 "use an EFI/GPT-compatible partition table:"
39253 msgstr ""
39254
39255 #. type: verbatim
39256 #: ../tools/virt-make-fs.pl:151
39257 #, no-wrap
39258 msgid ""
39259 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
39260 "\n"
39261 msgstr ""
39262
39263 #. type: textblock
39264 #: ../tools/virt-make-fs.pl:179
39265 msgid "Enable debugging information."
39266 msgstr "Увімкнути виведення діагностичних даних."
39267
39268 #. type: =item
39269 #: ../tools/virt-make-fs.pl:185
39270 msgid "B<--size=E<lt>NE<gt>>"
39271 msgstr "B<--size=E<lt>NE<gt>>"
39272
39273 #. type: =item
39274 #: ../tools/virt-make-fs.pl:187
39275 msgid "B<--size=+E<lt>NE<gt>>"
39276 msgstr "B<--size=+E<lt>NE<gt>>"
39277
39278 #. type: =item
39279 #: ../tools/virt-make-fs.pl:189
39280 msgid "B<-s E<lt>NE<gt>>"
39281 msgstr "B<-s E<lt>NE<gt>>"
39282
39283 #. type: =item
39284 #: ../tools/virt-make-fs.pl:191
39285 msgid "B<-s +E<lt>NE<gt>>"
39286 msgstr "B<-s +E<lt>NE<gt>>"
39287
39288 #. type: textblock
39289 #: ../tools/virt-make-fs.pl:193
39290 msgid ""
39291 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
39292 msgstr ""
39293
39294 #. type: textblock
39295 #: ../tools/virt-make-fs.pl:196
39296 msgid ""
39297 "If this option is I<not> given, then the output image will be just large "
39298 "enough to contain all the files, with not much wasted space."
39299 msgstr ""
39300
39301 #. type: textblock
39302 #: ../tools/virt-make-fs.pl:199
39303 msgid ""
39304 "To choose a fixed size output disk, specify an absolute number followed by b/"
39305 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
39306 "Petabytes or Exabytes.  This must be large enough to contain all the input "
39307 "files, else you will get an error."
39308 msgstr ""
39309
39310 #. type: textblock
39311 #: ../tools/virt-make-fs.pl:204
39312 msgid ""
39313 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
39314 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
39315 "Petabytes or Exabytes.  For example: I<--size=+200M> means enough space for "
39316 "the input files, and (approximately) an extra 200 MB free space."
39317 msgstr ""
39318
39319 #. type: textblock
39320 #: ../tools/virt-make-fs.pl:210
39321 msgid ""
39322 "Note that virt-make-fs estimates free space, and therefore will not produce "
39323 "filesystems containing precisely the free space requested.  (It is much more "
39324 "expensive and time-consuming to produce a filesystem which has precisely the "
39325 "desired free space)."
39326 msgstr ""
39327
39328 #. type: =item
39329 #: ../tools/virt-make-fs.pl:219
39330 msgid "B<--format=E<lt>fmtE<gt>>"
39331 msgstr ""
39332
39333 #. type: =item
39334 #: ../tools/virt-make-fs.pl:221
39335 msgid "B<-F E<lt>fmtE<gt>>"
39336 msgstr ""
39337
39338 #. type: textblock
39339 #: ../tools/virt-make-fs.pl:223
39340 msgid "Choose the output disk image format."
39341 msgstr ""
39342
39343 #. type: textblock
39344 #: ../tools/virt-make-fs.pl:225
39345 msgid "The default is C<raw> (raw disk image)."
39346 msgstr ""
39347
39348 #. type: textblock
39349 #: ../tools/virt-make-fs.pl:227
39350 msgid ""
39351 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
39352 "that would really make sense here is C<qcow2>."
39353 msgstr ""
39354
39355 #. type: =item
39356 #: ../tools/virt-make-fs.pl:234
39357 msgid "B<--type=E<lt>fsE<gt>>"
39358 msgstr ""
39359
39360 #. type: =item
39361 #: ../tools/virt-make-fs.pl:236
39362 msgid "B<-t E<lt>fsE<gt>>"
39363 msgstr ""
39364
39365 #. type: textblock
39366 #: ../tools/virt-make-fs.pl:238
39367 msgid "Choose the output filesystem type."
39368 msgstr ""
39369
39370 #. type: textblock
39371 #: ../tools/virt-make-fs.pl:240
39372 msgid "The default is C<ext2>."
39373 msgstr "Типовим значенням є C<ext2>."
39374
39375 #. type: textblock
39376 #: ../tools/virt-make-fs.pl:242
39377 msgid ""
39378 "Any filesystem which is supported read-write by libguestfs can be used here."
39379 msgstr ""
39380
39381 #. type: =item
39382 #: ../tools/virt-make-fs.pl:249
39383 msgid "B<--partition>"
39384 msgstr "B<--partition>"
39385
39386 #. type: =item
39387 #: ../tools/virt-make-fs.pl:251
39388 msgid "B<--partition=E<lt>parttypeE<gt>>"
39389 msgstr ""
39390
39391 #. type: textblock
39392 #: ../tools/virt-make-fs.pl:253
39393 msgid ""
39394 "If specified, this flag adds an MBR partition table to the output disk image."
39395 msgstr ""
39396
39397 #. type: textblock
39398 #: ../tools/virt-make-fs.pl:256
39399 msgid ""
39400 "You can change the partition table type, eg. I<--partition=gpt> for large "
39401 "disks."
39402 msgstr ""
39403
39404 #. type: textblock
39405 #: ../tools/virt-make-fs.pl:259
39406 msgid ""
39407 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
39408 "might consider the next parameter to be the partition type.  For example:"
39409 msgstr ""
39410
39411 #. type: verbatim
39412 #: ../tools/virt-make-fs.pl:263
39413 #, no-wrap
39414 msgid ""
39415 " virt-make-fs --partition input.tar ...\n"
39416 "\n"
39417 msgstr ""
39418
39419 #. type: textblock
39420 #: ../tools/virt-make-fs.pl:265
39421 msgid ""
39422 "would cause virt-make-fs to think you wanted to use a partition type of "
39423 "C<input.tar> which is completely wrong.  To avoid this, use I<--> (a double "
39424 "dash) between options and the input file argument:"
39425 msgstr ""
39426
39427 #. type: verbatim
39428 #: ../tools/virt-make-fs.pl:269
39429 #, no-wrap
39430 msgid ""
39431 " virt-make-fs --partition -- input.tar ...\n"
39432 "\n"
39433 msgstr ""
39434 " virt-make-fs --partition -- input.tar ...\n"
39435 "\n"
39436
39437 #. type: textblock
39438 #: ../tools/virt-make-fs.pl:541
39439 msgid ""
39440 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
39441 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
39442 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
39443 msgstr ""
39444 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
39445 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
39446 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
39447
39448 #. type: textblock
39449 #: ../tools/virt-make-fs.pl:555 ../tools/virt-win-reg.pl:763
39450 msgid ""
39451 "When reporting bugs, please enable debugging and capture the I<complete> "
39452 "output:"
39453 msgstr ""
39454
39455 #. type: verbatim
39456 #: ../tools/virt-make-fs.pl:558
39457 #, no-wrap
39458 msgid ""
39459 " export LIBGUESTFS_DEBUG=1\n"
39460 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
39461 "\n"
39462 msgstr ""
39463 " export LIBGUESTFS_DEBUG=1\n"
39464 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
39465 "\n"
39466
39467 #. type: textblock
39468 #: ../tools/virt-make-fs.pl:561
39469 msgid ""
39470 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
39471 "redhat.com/>"
39472 msgstr ""
39473
39474 #. type: textblock
39475 #: ../tools/virt-tar.pl:33
39476 msgid "virt-tar - Extract or upload files to a virtual machine"
39477 msgstr ""
39478
39479 #. type: verbatim
39480 #: ../tools/virt-tar.pl:37
39481 #, no-wrap
39482 msgid ""
39483 " virt-tar [--options] -x domname directory tarball\n"
39484 "\n"
39485 msgstr ""
39486
39487 #. type: verbatim
39488 #: ../tools/virt-tar.pl:39
39489 #, no-wrap
39490 msgid ""
39491 " virt-tar [--options] -u domname tarball directory\n"
39492 "\n"
39493 msgstr ""
39494
39495 #. type: verbatim
39496 #: ../tools/virt-tar.pl:41
39497 #, no-wrap
39498 msgid ""
39499 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
39500 "\n"
39501 msgstr ""
39502
39503 #. type: verbatim
39504 #: ../tools/virt-tar.pl:43
39505 #, no-wrap
39506 msgid ""
39507 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
39508 "\n"
39509 msgstr ""
39510
39511 #. type: =head2
39512 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
39513 msgid "NOTE"
39514 msgstr "ПРИМІТКА"
39515
39516 #. type: textblock
39517 #: ../tools/virt-tar.pl:47
39518 msgid ""
39519 "This tool is obsolete.  Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
39520 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
39521 msgstr ""
39522
39523 #. type: textblock
39524 #: ../tools/virt-tar.pl:52
39525 msgid "Download C</home> from the VM into a local tarball:"
39526 msgstr ""
39527
39528 #. type: verbatim
39529 #: ../tools/virt-tar.pl:54
39530 #, no-wrap
39531 msgid ""
39532 " virt-tar -x domname /home home.tar\n"
39533 "\n"
39534 msgstr ""
39535
39536 #. type: verbatim
39537 #: ../tools/virt-tar.pl:56
39538 #, no-wrap
39539 msgid ""
39540 " virt-tar -zx domname /home home.tar.gz\n"
39541 "\n"
39542 msgstr ""
39543
39544 #. type: textblock
39545 #: ../tools/virt-tar.pl:58
39546 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
39547 msgstr ""
39548
39549 #. type: verbatim
39550 #: ../tools/virt-tar.pl:60
39551 #, no-wrap
39552 msgid ""
39553 " virt-tar -u domname uploadstuff.tar /tmp\n"
39554 "\n"
39555 msgstr ""
39556
39557 #. type: verbatim
39558 #: ../tools/virt-tar.pl:62
39559 #, no-wrap
39560 msgid ""
39561 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
39562 "\n"
39563 msgstr ""
39564
39565 #. type: textblock
39566 #: ../tools/virt-tar.pl:66
39567 msgid ""
39568 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
39569 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
39570 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
39571 msgstr ""
39572
39573 #. type: textblock
39574 #: ../tools/virt-tar.pl:71
39575 msgid ""
39576 "You can use I<-x> (extract) on live virtual machines, but you might get "
39577 "inconsistent results or errors if there is filesystem activity inside the "
39578 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
39579 "work, but the only way to guarantee consistent results is if the virtual "
39580 "machine is shut down."
39581 msgstr ""
39582
39583 #. type: textblock
39584 #: ../tools/virt-tar.pl:79
39585 msgid ""
39586 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
39587 "parts of a guest filesystem.  There are many possibilities: making backups, "
39588 "uploading data files, snooping on guest activity, fixing or customizing "
39589 "guests, etc."
39590 msgstr ""
39591
39592 #. type: textblock
39593 #: ../tools/virt-tar.pl:84
39594 msgid ""
39595 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
39596 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
39597 "should look at the L<guestfish(1)> tool."
39598 msgstr ""
39599
39600 #. type: textblock
39601 #: ../tools/virt-tar.pl:88
39602 msgid ""
39603 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
39604 "its contents (recursively) from the virtual machine into a local tarball.  "
39605 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
39606 "virtual machine.  You cannot use these two options together."
39607 msgstr ""
39608
39609 #. type: textblock
39610 #: ../tools/virt-tar.pl:94
39611 msgid ""
39612 "In addition, you may need to use the I<-z> (gZip) option to enable "
39613 "compression.  When uploading, you have to specify I<-z> if the upload file "
39614 "is compressed because virt-tar won't detect this on its own."
39615 msgstr ""
39616
39617 #. type: textblock
39618 #: ../tools/virt-tar.pl:98
39619 msgid ""
39620 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
39621 "example it cannot do PKZip files or bzip2 compression.  If you want that "
39622 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
39623 "the L<libguestfs(3)> API)."
39624 msgstr ""
39625
39626 #. type: =item
39627 #: ../tools/virt-tar.pl:160
39628 #, fuzzy
39629 #| msgid "B<--format>"
39630 msgid "B<--extract>"
39631 msgstr "B<--format>"
39632
39633 #. type: =item
39634 #: ../tools/virt-tar.pl:162
39635 #, fuzzy
39636 #| msgid "download"
39637 msgid "B<--download>"
39638 msgstr "download"
39639
39640 #. type: =item
39641 #: ../tools/virt-tar.pl:164
39642 msgid "B<-u>"
39643 msgstr ""
39644
39645 #. type: =item
39646 #: ../tools/virt-tar.pl:166
39647 #, fuzzy
39648 #| msgid "B<-u> | B<--upload>"
39649 msgid "B<--upload>"
39650 msgstr "B<-u> | B<--upload>"
39651
39652 #. type: textblock
39653 #: ../tools/virt-tar.pl:168
39654 msgid ""
39655 "Use I<-x> to extract (download) a directory from a virtual machine to a "
39656 "local tarball."
39657 msgstr ""
39658
39659 #. type: textblock
39660 #: ../tools/virt-tar.pl:171
39661 msgid ""
39662 "Use I<-u> to upload and unpack from a local tarball into a virtual machine.  "
39663 "Please read the L</WARNING> section above before using this option."
39664 msgstr ""
39665
39666 #. type: textblock
39667 #: ../tools/virt-tar.pl:175
39668 msgid "You must specify exactly one of these options."
39669 msgstr ""
39670
39671 #. type: =item
39672 #: ../tools/virt-tar.pl:181
39673 msgid "B<-z>"
39674 msgstr ""
39675
39676 #. type: =item
39677 #: ../tools/virt-tar.pl:183
39678 #, fuzzy
39679 #| msgid "B<-z> | B<--gzip>"
39680 msgid "B<--gzip>"
39681 msgstr "B<-z> | B<--gzip>"
39682
39683 #. type: textblock
39684 #: ../tools/virt-tar.pl:185
39685 msgid "Specify that the input or output tarball is gzip-compressed."
39686 msgstr ""
39687
39688 #. type: textblock
39689 #: ../tools/virt-tar.pl:298
39690 msgid ""
39691 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
39692 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
39693 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
39694 "org/>."
39695 msgstr ""
39696 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
39697 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
39698 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
39699 "org/>."
39700
39701 #. type: textblock
39702 #: ../tools/virt-win-reg.pl:37
39703 msgid ""
39704 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
39705 msgstr ""
39706
39707 #. type: verbatim
39708 #: ../tools/virt-win-reg.pl:41
39709 #, no-wrap
39710 msgid ""
39711 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
39712 "\n"
39713 msgstr ""
39714
39715 #. type: verbatim
39716 #: ../tools/virt-win-reg.pl:43
39717 #, no-wrap
39718 msgid ""
39719 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
39720 "\n"
39721 msgstr ""
39722
39723 #. type: verbatim
39724 #: ../tools/virt-win-reg.pl:45
39725 #, no-wrap
39726 msgid ""
39727 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
39728 "\n"
39729 msgstr ""
39730
39731 #. type: verbatim
39732 #: ../tools/virt-win-reg.pl:47
39733 #, no-wrap
39734 msgid ""
39735 " virt-win-reg --merge domname [input.reg ...]\n"
39736 "\n"
39737 msgstr ""
39738
39739 #. type: verbatim
39740 #: ../tools/virt-win-reg.pl:49
39741 #, no-wrap
39742 msgid ""
39743 " virt-win-reg [--options] disk.img ... # instead of domname\n"
39744 "\n"
39745 msgstr ""
39746
39747 #. type: textblock
39748 #: ../tools/virt-win-reg.pl:53
39749 msgid ""
39750 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
39751 "virtual machines.  If you do this, you I<will> get irreversible disk "
39752 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
39753 "but doesn't catch all cases."
39754 msgstr ""
39755
39756 #. type: textblock
39757 #: ../tools/virt-win-reg.pl:58
39758 msgid ""
39759 "Modifying the Windows Registry is an inherently risky operation.  The format "
39760 "is deliberately obscure and undocumented, and Registry changes can leave the "
39761 "system unbootable.  Therefore when using the I<--merge> option, make sure "
39762 "you have a reliable backup first."
39763 msgstr ""
39764
39765 #. type: textblock
39766 #: ../tools/virt-win-reg.pl:65
39767 msgid ""
39768 "This program can export and merge Windows Registry entries from a Windows "
39769 "guest."
39770 msgstr ""
39771
39772 #. type: textblock
39773 #: ../tools/virt-win-reg.pl:68
39774 msgid ""
39775 "The first parameter is the libvirt guest name or the raw disk image of a "
39776 "Windows guest."
39777 msgstr ""
39778
39779 #. type: textblock
39780 #: ../tools/virt-win-reg.pl:71
39781 msgid ""
39782 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
39783 "exported (recursively).  For example:"
39784 msgstr ""
39785
39786 #. type: verbatim
39787 #: ../tools/virt-win-reg.pl:74
39788 #, no-wrap
39789 msgid ""
39790 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
39791 "\n"
39792 msgstr ""
39793
39794 #. type: textblock
39795 #: ../tools/virt-win-reg.pl:76
39796 msgid ""
39797 "You can also display single values from within registry keys, for example:"
39798 msgstr ""
39799
39800 #. type: verbatim
39801 #: ../tools/virt-win-reg.pl:79
39802 #, no-wrap
39803 msgid ""
39804 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
39805 " $ virt-win-reg Windows7 $cvkey ProductName\n"
39806 " Windows 7 Enterprise\n"
39807 "\n"
39808 msgstr ""
39809
39810 #. type: textblock
39811 #: ../tools/virt-win-reg.pl:83
39812 msgid ""
39813 "With I<--merge>, you can merge a textual regedit file into the Windows "
39814 "Registry:"
39815 msgstr ""
39816
39817 #. type: verbatim
39818 #: ../tools/virt-win-reg.pl:86
39819 #, no-wrap
39820 msgid ""
39821 " $ virt-win-reg --merge Windows7 changes.reg\n"
39822 "\n"
39823 msgstr ""
39824
39825 #. type: textblock
39826 #: ../tools/virt-win-reg.pl:90
39827 msgid ""
39828 "This program is only meant for simple access to the registry.  If you want "
39829 "to do complicated things with the registry, we suggest you download the "
39830 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
39831 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
39832 "L<hivexregedit(1)>."
39833 msgstr ""
39834
39835 #. type: =item
39836 #: ../tools/virt-win-reg.pl:159
39837 msgid "B<--merge>"
39838 msgstr "B<--merge>"
39839
39840 #. type: textblock
39841 #: ../tools/virt-win-reg.pl:161
39842 msgid ""
39843 "In merge mode, this merges a textual regedit file into the Windows Registry "
39844 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
39845 "displays or exports Registry entries instead."
39846 msgstr ""
39847
39848 #. type: textblock
39849 #: ../tools/virt-win-reg.pl:165
39850 msgid ""
39851 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
39852 "result in disk corruption.  However exporting (without this flag)  is always "
39853 "safe."
39854 msgstr ""
39855
39856 #. type: =item
39857 #: ../tools/virt-win-reg.pl:173
39858 msgid "B<--encoding> UTF-16LE|ASCII"
39859 msgstr ""
39860
39861 #. type: textblock
39862 #: ../tools/virt-win-reg.pl:175
39863 msgid ""
39864 "When merging (only), you may need to specify the encoding for strings to be "
39865 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
39866 "(3)/ENCODING STRINGS>."
39867 msgstr ""
39868
39869 #. type: textblock
39870 #: ../tools/virt-win-reg.pl:179
39871 msgid ""
39872 "The default is to use UTF-16LE, which should work with recent versions of "
39873 "Windows."
39874 msgstr ""
39875
39876 #. type: =item
39877 #: ../tools/virt-win-reg.pl:186
39878 msgid "B<--unsafe-printable-strings>"
39879 msgstr ""
39880
39881 #. type: textblock
39882 #: ../tools/virt-win-reg.pl:188
39883 msgid ""
39884 "When exporting (only), assume strings are UTF-16LE and print them as strings "
39885 "instead of hex sequences.  Remove the final zero codepoint from strings if "
39886 "present."
39887 msgstr ""
39888
39889 #. type: textblock
39890 #: ../tools/virt-win-reg.pl:192
39891 msgid ""
39892 "This is unsafe and does not preserve the fidelity of strings in the original "
39893 "Registry for various reasons:"
39894 msgstr ""
39895
39896 #. type: textblock
39897 #: ../tools/virt-win-reg.pl:199
39898 msgid ""
39899 "Assumes the original encoding is UTF-16LE.  ASCII strings and strings in "
39900 "other encodings will be corrupted by this transformation."
39901 msgstr ""
39902
39903 #. type: textblock
39904 #: ../tools/virt-win-reg.pl:204
39905 msgid ""
39906 "Assumes that everything which has type 1 or 2 is really a string and that "
39907 "everything else is not a string, but the type field in real Registries is "
39908 "not reliable."
39909 msgstr ""
39910
39911 #. type: textblock
39912 #: ../tools/virt-win-reg.pl:210
39913 msgid ""
39914 "Loses information about whether a zero codepoint followed the string in the "
39915 "Registry or not."
39916 msgstr ""
39917
39918 #. type: textblock
39919 #: ../tools/virt-win-reg.pl:215
39920 msgid ""
39921 "This all happens because the Registry itself contains no information about "
39922 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
39923 msgstr ""
39924
39925 #. type: textblock
39926 #: ../tools/virt-win-reg.pl:219
39927 msgid ""
39928 "You should only use this option for quick hacking and debugging of the "
39929 "Registry contents, and I<never> use it if the output is going to be passed "
39930 "into another program or stored in another Registry."
39931 msgstr ""
39932
39933 #. type: =head1
39934 #: ../tools/virt-win-reg.pl:556
39935 msgid "SUPPORTED SYSTEMS"
39936 msgstr ""
39937
39938 #. type: textblock
39939 #: ../tools/virt-win-reg.pl:558
39940 msgid ""
39941 "The program currently supports Windows NT-derived guests starting with "
39942 "Windows XP through to at least Windows 7."
39943 msgstr ""
39944
39945 #. type: textblock
39946 #: ../tools/virt-win-reg.pl:561
39947 msgid "The following Registry keys are supported:"
39948 msgstr ""
39949
39950 #. type: =item
39951 #: ../tools/virt-win-reg.pl:565
39952 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
39953 msgstr ""
39954
39955 #. type: =item
39956 #: ../tools/virt-win-reg.pl:567
39957 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
39958 msgstr ""
39959
39960 #. type: =item
39961 #: ../tools/virt-win-reg.pl:569
39962 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
39963 msgstr ""
39964
39965 #. type: =item
39966 #: ../tools/virt-win-reg.pl:571
39967 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
39968 msgstr ""
39969
39970 #. type: =item
39971 #: ../tools/virt-win-reg.pl:573
39972 msgid "C<HKEY_USERS\\.DEFAULT>"
39973 msgstr ""
39974
39975 #. type: =item
39976 #: ../tools/virt-win-reg.pl:575
39977 msgid "C<HKEY_USERS\\I<SID>>"
39978 msgstr ""
39979
39980 #. type: textblock
39981 #: ../tools/virt-win-reg.pl:577
39982 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
39983 msgstr ""
39984
39985 #. type: =item
39986 #: ../tools/virt-win-reg.pl:579
39987 msgid "C<HKEY_USERS\\I<username>>"
39988 msgstr ""
39989
39990 #. type: textblock
39991 #: ../tools/virt-win-reg.pl:581
39992 msgid ""
39993 "where I<username> is a local user name (this is a libguestfs extension)."
39994 msgstr ""
39995
39996 #. type: textblock
39997 #: ../tools/virt-win-reg.pl:585
39998 msgid ""
39999 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
40000 "C<HKEY_USERS>."
40001 msgstr ""
40002
40003 #. type: textblock
40004 #: ../tools/virt-win-reg.pl:588
40005 msgid ""
40006 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
40007 "supported (there is no \"current user\")."
40008 msgstr ""
40009
40010 #. type: =head1
40011 #: ../tools/virt-win-reg.pl:591
40012 msgid "ENCODING"
40013 msgstr "КОДУВАННЯ"
40014
40015 #. type: textblock
40016 #: ../tools/virt-win-reg.pl:593
40017 msgid ""
40018 "C<virt-win-reg> expects that regedit files have already been reencoded in "
40019 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
40020 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
40021 "Windows-style line endings, you may need to reencode the whole file before "
40022 "or after processing."
40023 msgstr ""
40024
40025 #. type: textblock
40026 #: ../tools/virt-win-reg.pl:599
40027 msgid ""
40028 "To reencode a file from Windows format to Linux (before processing it with "
40029 "the I<--merge> option), you would do something like this:"
40030 msgstr ""
40031
40032 #. type: verbatim
40033 #: ../tools/virt-win-reg.pl:602
40034 #, no-wrap
40035 msgid ""
40036 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
40037 "\n"
40038 msgstr ""
40039
40040 #. type: textblock
40041 #: ../tools/virt-win-reg.pl:604
40042 msgid ""
40043 "To go in the opposite direction, after exporting and before sending the file "
40044 "to a Windows user, do something like this:"
40045 msgstr ""
40046
40047 #. type: verbatim
40048 #: ../tools/virt-win-reg.pl:607
40049 #, no-wrap
40050 msgid ""
40051 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
40052 "\n"
40053 msgstr ""
40054
40055 #. type: textblock
40056 #: ../tools/virt-win-reg.pl:609
40057 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
40058 msgstr ""
40059
40060 #. type: textblock
40061 #: ../tools/virt-win-reg.pl:611
40062 msgid ""
40063 "If you are unsure about the current encoding, use the L<file(1)> command.  "
40064 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
40065 "style (CRLF) line endings, like this:"
40066 msgstr ""
40067
40068 #. type: verbatim
40069 #: ../tools/virt-win-reg.pl:615
40070 #, no-wrap
40071 msgid ""
40072 " $ file software.reg\n"
40073 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
40074 " with CRLF line terminators\n"
40075 "\n"
40076 msgstr ""
40077
40078 #. type: textblock
40079 #: ../tools/virt-win-reg.pl:619
40080 msgid "This file would need conversion before you could I<--merge> it."
40081 msgstr ""
40082
40083 #. type: =head1
40084 #: ../tools/virt-win-reg.pl:621
40085 msgid "CurrentControlSet etc."
40086 msgstr ""
40087
40088 #. type: textblock
40089 #: ../tools/virt-win-reg.pl:623
40090 msgid ""
40091 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
40092 "Registry at the level of the hive file, and therefore you cannot modify "
40093 "these."
40094 msgstr ""
40095
40096 #. type: textblock
40097 #: ../tools/virt-win-reg.pl:627
40098 msgid ""
40099 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
40100 "circumstances it might refer to another control set.  The way to find out is "
40101 "to look at the C<HKLM\\SYSTEM\\Select> key:"
40102 msgstr ""
40103
40104 #. type: verbatim
40105 #: ../tools/virt-win-reg.pl:631
40106 #, no-wrap
40107 msgid ""
40108 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
40109 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
40110 " \"Current\"=dword:00000001\n"
40111 " \"Default\"=dword:00000001\n"
40112 " \"Failed\"=dword:00000000\n"
40113 " \"LastKnownGood\"=dword:00000002\n"
40114 "\n"
40115 msgstr ""
40116
40117 #. type: textblock
40118 #: ../tools/virt-win-reg.pl:638
40119 msgid "\"Current\" is the one which Windows will choose when it boots."
40120 msgstr ""
40121
40122 #. type: textblock
40123 #: ../tools/virt-win-reg.pl:640
40124 msgid ""
40125 "Similarly, other C<Current...> keys in the path may need to be replaced."
40126 msgstr ""
40127
40128 #. type: =head1
40129 #: ../tools/virt-win-reg.pl:643
40130 msgid "WINDOWS TIPS"
40131 msgstr ""
40132
40133 #. type: textblock
40134 #: ../tools/virt-win-reg.pl:645
40135 msgid ""
40136 "Note that some of these tips modify the guest disk image.  The guest I<must> "
40137 "be shut off, else you will get disk corruption."
40138 msgstr ""
40139
40140 #. type: =head2
40141 #: ../tools/virt-win-reg.pl:648
40142 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
40143 msgstr ""
40144
40145 #. type: textblock
40146 #: ../tools/virt-win-reg.pl:650
40147 msgid ""
40148 "Prepare a DOS batch script, VBScript or executable.  Upload this using "
40149 "L<guestfish(1)>.  For this example the script is called C<test.bat> and it "
40150 "is uploaded into C<C:\\>:"
40151 msgstr ""
40152
40153 #. type: verbatim
40154 #: ../tools/virt-win-reg.pl:654
40155 #, no-wrap
40156 msgid ""
40157 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
40158 "\n"
40159 msgstr ""
40160
40161 #. type: textblock
40162 #: ../tools/virt-win-reg.pl:656
40163 msgid "Prepare a regedit file containing the registry change:"
40164 msgstr ""
40165
40166 #. type: verbatim
40167 #: ../tools/virt-win-reg.pl:658
40168 #, no-wrap
40169 msgid ""
40170 " cat > test.reg <<'EOF'\n"
40171 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
40172 " \"Test\"=\"c:\\\\test.bat\"\n"
40173 " EOF\n"
40174 "\n"
40175 msgstr ""
40176
40177 #. type: textblock
40178 #: ../tools/virt-win-reg.pl:663
40179 msgid ""
40180 "In this example we use the key C<RunOnce> which means that the script will "
40181 "run precisely once when the first user logs in.  If you want it to run every "
40182 "time a user logs in, replace C<RunOnce> with C<Run>."
40183 msgstr ""
40184
40185 #. type: textblock
40186 #: ../tools/virt-win-reg.pl:667
40187 msgid "Now update the registry:"
40188 msgstr ""
40189
40190 #. type: verbatim
40191 #: ../tools/virt-win-reg.pl:669
40192 #, no-wrap
40193 msgid ""
40194 " virt-win-reg --merge WindowsGuest test.reg\n"
40195 "\n"
40196 msgstr ""
40197
40198 #. type: =head2
40199 #: ../tools/virt-win-reg.pl:671
40200 msgid "INSTALLING A SERVICE"
40201 msgstr ""
40202
40203 #. type: textblock
40204 #: ../tools/virt-win-reg.pl:673
40205 msgid ""
40206 "This section assumes you are familiar with Windows services, and you either "
40207 "have a program which handles the Windows Service Control Protocol directly "
40208 "or you want to run any program using a service wrapper like SrvAny or the "
40209 "free RHSrvAny."
40210 msgstr ""
40211
40212 #. type: textblock
40213 #: ../tools/virt-win-reg.pl:678
40214 msgid ""
40215 "First upload the program and optionally the service wrapper.  In this case "
40216 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
40217 msgstr ""
40218
40219 #. type: verbatim
40220 #: ../tools/virt-win-reg.pl:682
40221 #, no-wrap
40222 msgid ""
40223 " guestfish -i -d WindowsGuest <<EOF\n"
40224 "   upload rhsrvany.exe /rhsrvany.exe\n"
40225 "   upload test.exe /test.exe\n"
40226 " EOF\n"
40227 "\n"
40228 msgstr ""
40229
40230 #. type: textblock
40231 #: ../tools/virt-win-reg.pl:687
40232 msgid ""
40233 "Prepare a regedit file containing the registry changes.  In this example, "
40234 "the first registry change is needed for the service itself or the service "
40235 "wrapper (if used).  The second registry change is only needed because I am "
40236 "using the RHSrvAny service wrapper."
40237 msgstr ""
40238
40239 #. type: verbatim
40240 #: ../tools/virt-win-reg.pl:692
40241 #, no-wrap
40242 msgid ""
40243 " cat > service.reg <<'EOF'\n"
40244 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
40245 " \"Type\"=dword:00000010\n"
40246 " \"Start\"=dword:00000002\n"
40247 " \"ErrorControl\"=dword:00000001\n"
40248 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
40249 " \"DisplayName\"=\"RHSrvAny\"\n"
40250 " \"ObjectName\"=\"NetworkService\"\n"
40251 " \n"
40252 msgstr ""
40253
40254 #. type: verbatim
40255 #: ../tools/virt-win-reg.pl:701
40256 #, no-wrap
40257 msgid ""
40258 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
40259 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
40260 " \"PWD\"=\"c:\\\\Temp\"\n"
40261 " EOF\n"
40262 "\n"
40263 msgstr ""
40264
40265 #. type: textblock
40266 #: ../tools/virt-win-reg.pl:712
40267 msgid ""
40268 "For use of C<ControlSet001> see the section above in this manual page.  You "
40269 "may need to adjust this according to the control set that is in use by the "
40270 "guest."
40271 msgstr ""
40272
40273 #. type: textblock
40274 #: ../tools/virt-win-reg.pl:718
40275 msgid ""
40276 "C<\"ObjectName\"> controls the privileges that the service will have.  An "
40277 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
40278 "privileged account."
40279 msgstr ""
40280
40281 #. type: textblock
40282 #: ../tools/virt-win-reg.pl:724
40283 msgid ""
40284 "For the meaning of the magic numbers, see this Microsoft KB article: "
40285 "L<http://support.microsoft.com/kb/103000>."
40286 msgstr ""
40287
40288 #. type: textblock
40289 #: ../tools/virt-win-reg.pl:729
40290 msgid "Update the registry:"
40291 msgstr ""
40292
40293 #. type: verbatim
40294 #: ../tools/virt-win-reg.pl:731
40295 #, no-wrap
40296 msgid ""
40297 " virt-win-reg --merge WindowsGuest service.reg\n"
40298 "\n"
40299 msgstr ""
40300
40301 #. type: textblock
40302 #: ../tools/virt-win-reg.pl:735
40303 msgid ""
40304 "Be careful when passing parameters containing C<\\> (backslash) in the "
40305 "shell.  Usually you will have to use 'single quotes' or double backslashes "
40306 "(but not both) to protect them from the shell."
40307 msgstr ""
40308
40309 #. type: textblock
40310 #: ../tools/virt-win-reg.pl:739
40311 msgid "Paths and value names are case-insensitive."
40312 msgstr ""
40313
40314 #. type: textblock
40315 #: ../tools/virt-win-reg.pl:748
40316 msgid ""
40317 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
40318 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
40319 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
40320 msgstr ""
40321
40322 #. type: verbatim
40323 #: ../tools/virt-win-reg.pl:766
40324 #, no-wrap
40325 msgid ""
40326 " export LIBGUESTFS_DEBUG=1\n"
40327 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
40328 "\n"
40329 msgstr ""
40330
40331 #. type: textblock
40332 #: ../tools/virt-win-reg.pl:769
40333 msgid ""
40334 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
40335 "redhat.com/>"
40336 msgstr ""
40337
40338 #~ msgid "I<--help>"
40339 #~ msgstr "I<--help>"
40340
40341 #~ msgid "EXIT CODE"
40342 #~ msgstr "КОД ВИХОДУ"
40343
40344 #~ msgid ""
40345 #~ " g = guestfs_create ();\n"
40346 #~ " \n"
40347 #~ msgstr ""
40348 #~ " g = guestfs_create ();\n"
40349 #~ " \n"
40350
40351 #~ msgid "B<-a> | B<--all>"
40352 #~ msgstr "B<-a> | B<--all>"
40353
40354 #~ msgid "B<-x> | B<--extract> | B<--download>"
40355 #~ msgstr "B<-x> | B<--extract> | B<--download>"