Version 1.14.2.
[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 # Translators:
6 # Yuri Chornoivan <yurchor@ukr.net>, 2011.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: libguestfs\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2011-11-09 22:24+0000\n"
12 "PO-Revision-Date: 2011-10-27 09:15+0000\n"
13 "Last-Translator: rjones <rjones@redhat.com>\n"
14 "Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
15 "Language: uk\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
20 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
21
22 #. type: =head1
23 #: ../align/virt-alignment-scan.pod:3 ../cat/virt-cat.pod:3
24 #: ../cat/virt-filesystems.pod:3 ../cat/virt-ls.pod:3
25 #: ../clone/virt-sysprep.pod:3 ../df/virt-df.pod:3 ../edit/virt-edit.pod:3
26 #: ../erlang/examples/guestfs-erlang.pod:3 ../examples/guestfs-examples.pod:3
27 #: ../examples/guestfs-recipes.pod:14 ../fish/guestfish.pod:3
28 #: ../fish/virt-copy-in.pod:3 ../fish/virt-copy-out.pod:3
29 #: ../fish/virt-tar-in.pod:3 ../fish/virt-tar-out.pod:3
30 #: ../fuse/guestmount.pod:3 ../inspector/virt-inspector.pod:3
31 #: ../java/examples/guestfs-java.pod:3 ../ocaml/examples/guestfs-ocaml.pod:3
32 #: ../perl/examples/guestfs-perl.pod:3 ../python/examples/guestfs-python.pod:3
33 #: ../rescue/virt-rescue.pod:3 ../resize/virt-resize.pod:3
34 #: ../ruby/examples/guestfs-ruby.pod:3 ../sparsify/virt-sparsify.pod:3
35 #: ../src/guestfs.pod:3 ../test-tool/libguestfs-test-tool.pod:3
36 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
37 #: ../tools/virt-make-fs.pl:35 ../tools/virt-tar.pl:31
38 #: ../tools/virt-win-reg.pl:35
39 msgid "NAME"
40 msgstr "НАЗВА"
41
42 #. type: textblock
43 #: ../align/virt-alignment-scan.pod:5
44 msgid "virt-alignment-scan - Check alignment of virtual machine partitions"
45 msgstr ""
46
47 #. type: =head1
48 #: ../align/virt-alignment-scan.pod:7 ../cat/virt-cat.pod:7
49 #: ../cat/virt-filesystems.pod:7 ../cat/virt-ls.pod:7
50 #: ../clone/virt-sysprep.pod:7 ../df/virt-df.pod:7 ../edit/virt-edit.pod:7
51 #: ../erlang/examples/guestfs-erlang.pod:7 ../examples/guestfs-examples.pod:7
52 #: ../fish/guestfish.pod:7 ../fish/virt-copy-in.pod:7
53 #: ../fish/virt-copy-out.pod:7 ../fish/virt-tar-in.pod:7
54 #: ../fish/virt-tar-out.pod:7 ../fuse/guestmount.pod:7
55 #: ../inspector/virt-inspector.pod:7 ../java/examples/guestfs-java.pod:7
56 #: ../ocaml/examples/guestfs-ocaml.pod:7 ../perl/examples/guestfs-perl.pod:7
57 #: ../python/examples/guestfs-python.pod:7 ../rescue/virt-rescue.pod:7
58 #: ../resize/virt-resize.pod:7 ../ruby/examples/guestfs-ruby.pod:7
59 #: ../sparsify/virt-sparsify.pod:7 ../src/guestfs.pod:7
60 #: ../test-tool/libguestfs-test-tool.pod:7
61 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
62 #: ../tools/virt-make-fs.pl:39 ../tools/virt-tar.pl:35
63 #: ../tools/virt-win-reg.pl:39
64 msgid "SYNOPSIS"
65 msgstr "КОРОТКИЙ ОПИС"
66
67 #. type: verbatim
68 #: ../align/virt-alignment-scan.pod:9
69 #, no-wrap
70 msgid ""
71 " virt-alignment-scan [--options] -d domname\n"
72 "\n"
73 msgstr ""
74
75 #. type: verbatim
76 #: ../align/virt-alignment-scan.pod:11
77 #, no-wrap
78 msgid ""
79 " virt-alignment-scan [--options] -a disk.img [-a disk.img ...]\n"
80 "\n"
81 msgstr ""
82
83 #. type: =head1
84 #: ../align/virt-alignment-scan.pod:13 ../cat/virt-cat.pod:19
85 #: ../cat/virt-filesystems.pod:13 ../cat/virt-ls.pod:19
86 #: ../clone/virt-sysprep.pod:13 ../df/virt-df.pod:21 ../edit/virt-edit.pod:27
87 #: ../erlang/examples/guestfs-erlang.pod:16
88 #: ../examples/guestfs-examples.pod:19 ../examples/guestfs-recipes.pod:18
89 #: ../fish/guestfish.pod:30 ../fish/virt-copy-in.pod:19
90 #: ../fish/virt-copy-out.pod:13 ../fish/virt-tar-in.pod:21
91 #: ../fish/virt-tar-out.pod:15 ../fuse/guestmount.pod:20
92 #: ../inspector/virt-inspector.pod:19 ../java/examples/guestfs-java.pod:15
93 #: ../ocaml/examples/guestfs-ocaml.pod:25 ../perl/examples/guestfs-perl.pod:18
94 #: ../python/examples/guestfs-python.pod:14 ../rescue/virt-rescue.pod:29
95 #: ../resize/virt-resize.pod:13 ../ruby/examples/guestfs-ruby.pod:15
96 #: ../sparsify/virt-sparsify.pod:11 ../src/guestfs.pod:23
97 #: ../test-tool/libguestfs-test-tool.pod:11
98 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
99 #: ../tools/virt-make-fs.pl:47 ../tools/virt-tar.pl:77
100 #: ../tools/virt-win-reg.pl:63
101 msgid "DESCRIPTION"
102 msgstr "ОПИС"
103
104 #. type: textblock
105 #: ../align/virt-alignment-scan.pod:15
106 msgid ""
107 "When older operating systems install themselves, the partitioning tools "
108 "place partitions at a sector misaligned with the underlying storage "
109 "(commonly the first partition starts on sector C<63>).  Misaligned "
110 "partitions can result in an operating system issuing more I/O than should be "
111 "necessary."
112 msgstr ""
113
114 #. type: textblock
115 #: ../align/virt-alignment-scan.pod:21
116 msgid ""
117 "The virt-alignment-scan tool checks the alignment of partitions in virtual "
118 "machines and disk images and warns you if there are alignment problems."
119 msgstr ""
120
121 #. type: textblock
122 #: ../align/virt-alignment-scan.pod:25
123 msgid ""
124 "Currently there is no virt tool for fixing alignment problems.  You can only "
125 "reinstall the guest operating system.  The following NetApp document "
126 "summarises the problem and possible solutions: L<http://media.netapp.com/"
127 "documents/tr-3747.pdf>"
128 msgstr ""
129
130 #. type: =head1
131 #: ../align/virt-alignment-scan.pod:30
132 msgid "OUTPUT"
133 msgstr ""
134
135 #. type: textblock
136 #: ../align/virt-alignment-scan.pod:32
137 msgid "To run this tool on a disk image directly, use the I<-a> option:"
138 msgstr ""
139
140 #. type: verbatim
141 #: ../align/virt-alignment-scan.pod:34
142 #, no-wrap
143 msgid ""
144 " $ virt-alignment-scan -a winxp.img\n"
145 " /dev/sda1        32256          512    bad (alignment < 4K)\n"
146 "\n"
147 msgstr ""
148
149 #. type: verbatim
150 #: ../align/virt-alignment-scan.pod:37
151 #, no-wrap
152 msgid ""
153 " $ virt-alignment-scan -a fedora16.img\n"
154 " /dev/sda1      1048576         1024K   ok\n"
155 " /dev/sda2      2097152         2048K   ok\n"
156 " /dev/sda3    526385152         2048K   ok\n"
157 "\n"
158 msgstr ""
159
160 #. type: textblock
161 #: ../align/virt-alignment-scan.pod:42
162 msgid ""
163 "To run the tool on a guest known to libvirt, use the I<-d> option and "
164 "possibly the I<-c> option:"
165 msgstr ""
166
167 #. type: verbatim
168 #: ../align/virt-alignment-scan.pod:45
169 #, no-wrap
170 msgid ""
171 " # virt-alignment-scan -d RHEL5\n"
172 " /dev/sda1        32256          512    bad (alignment < 4K)\n"
173 " /dev/sda2    106928640          512    bad (alignment < 4K)\n"
174 "\n"
175 msgstr ""
176
177 #. type: verbatim
178 #: ../align/virt-alignment-scan.pod:49
179 #, no-wrap
180 msgid ""
181 " $ virt-alignment-scan -c qemu:///system -d Win7TwoDisks\n"
182 " /dev/sda1      1048576         1024K   ok\n"
183 " /dev/sda2    105906176         1024K   ok\n"
184 " /dev/sdb1        65536           64K   ok\n"
185 "\n"
186 msgstr ""
187
188 #. type: textblock
189 #: ../align/virt-alignment-scan.pod:54
190 msgid ""
191 "The output consists of 4 or more whitespace-separated columns.  Only the "
192 "first 4 columns are signficant if you want to parse this from a program.  "
193 "The columns are:"
194 msgstr ""
195
196 #. type: =item
197 #: ../align/virt-alignment-scan.pod:60
198 msgid "col 1"
199 msgstr ""
200
201 #. type: textblock
202 #: ../align/virt-alignment-scan.pod:62
203 msgid ""
204 "the device and partition name (eg. C</dev/sda1> meaning the first partition "
205 "on the first block device)"
206 msgstr ""
207
208 #. type: =item
209 #: ../align/virt-alignment-scan.pod:65
210 msgid "col 2"
211 msgstr ""
212
213 #. type: textblock
214 #: ../align/virt-alignment-scan.pod:67
215 msgid "the start of the partition in bytes"
216 msgstr ""
217
218 #. type: =item
219 #: ../align/virt-alignment-scan.pod:69
220 msgid "col 3"
221 msgstr ""
222
223 #. type: textblock
224 #: ../align/virt-alignment-scan.pod:71
225 msgid "the alignment in bytes or Kbytes (eg. C<512> or C<4K>)"
226 msgstr ""
227
228 #. type: =item
229 #: ../align/virt-alignment-scan.pod:73
230 msgid "col 4"
231 msgstr ""
232
233 #. type: textblock
234 #: ../align/virt-alignment-scan.pod:75
235 msgid ""
236 "C<ok> if the alignment is best for performance, or C<bad> if the alignment "
237 "can cause performance problems"
238 msgstr ""
239
240 #. type: =item
241 #: ../align/virt-alignment-scan.pod:78
242 msgid "cols 5+"
243 msgstr ""
244
245 #. type: textblock
246 #: ../align/virt-alignment-scan.pod:80
247 msgid "optional free-text explanation."
248 msgstr ""
249
250 #. type: textblock
251 #: ../align/virt-alignment-scan.pod:84
252 msgid ""
253 "The exit code from the program changes depending on whether poorly aligned "
254 "partitions were found.  See L</EXIT STATUS> below."
255 msgstr ""
256
257 #. type: textblock
258 #: ../align/virt-alignment-scan.pod:87
259 msgid "If you just want the exit code with no output, use the I<-q> option."
260 msgstr ""
261
262 #. type: =head1
263 #: ../align/virt-alignment-scan.pod:89 ../cat/virt-cat.pod:62
264 #: ../cat/virt-filesystems.pod:91 ../cat/virt-ls.pod:261
265 #: ../clone/virt-sysprep.pod:42 ../df/virt-df.pod:59 ../edit/virt-edit.pod:62
266 #: ../fish/guestfish.pod:148 ../fish/virt-copy-in.pod:45
267 #: ../fish/virt-copy-out.pod:34 ../fish/virt-tar-in.pod:42
268 #: ../fish/virt-tar-out.pod:36 ../fuse/guestmount.pod:92
269 #: ../inspector/virt-inspector.pod:55 ../rescue/virt-rescue.pod:84
270 #: ../resize/virt-resize.pod:262 ../sparsify/virt-sparsify.pod:99
271 #: ../test-tool/libguestfs-test-tool.pod:36
272 #: ../tools/virt-list-filesystems.pl:53 ../tools/virt-list-partitions.pl:54
273 #: ../tools/virt-make-fs.pl:153 ../tools/virt-tar.pl:103
274 #: ../tools/virt-win-reg.pl:96
275 msgid "OPTIONS"
276 msgstr "ПАРАМЕТРИ"
277
278 #. type: =item
279 #: ../align/virt-alignment-scan.pod:93 ../cat/virt-cat.pod:66
280 #: ../cat/virt-filesystems.pod:95 ../cat/virt-ls.pod:265
281 #: ../clone/virt-sysprep.pod:46 ../df/virt-df.pod:63 ../edit/virt-edit.pod:66
282 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:160
283 #: ../inspector/virt-inspector.pod:59 ../rescue/virt-rescue.pod:88
284 #: ../resize/virt-resize.pod:266 ../sparsify/virt-sparsify.pod:103
285 #: ../test-tool/libguestfs-test-tool.pod:40
286 #: ../tools/virt-list-filesystems.pl:61 ../tools/virt-list-partitions.pl:62
287 #: ../tools/virt-make-fs.pl:161 ../tools/virt-tar.pl:111
288 #: ../tools/virt-win-reg.pl:104
289 msgid "B<--help>"
290 msgstr "B<--help>"
291
292 #. type: textblock
293 #: ../align/virt-alignment-scan.pod:95 ../cat/virt-cat.pod:68
294 #: ../cat/virt-filesystems.pod:97 ../cat/virt-ls.pod:267
295 #: ../clone/virt-sysprep.pod:48 ../df/virt-df.pod:65 ../edit/virt-edit.pod:68
296 #: ../inspector/virt-inspector.pod:61 ../rescue/virt-rescue.pod:90
297 #: ../tools/virt-list-filesystems.pl:63 ../tools/virt-list-partitions.pl:64
298 #: ../tools/virt-make-fs.pl:163 ../tools/virt-tar.pl:113
299 #: ../tools/virt-win-reg.pl:106
300 msgid "Display brief help."
301 msgstr "Показати коротку довідку."
302
303 #. type: =item
304 #: ../align/virt-alignment-scan.pod:97 ../cat/virt-cat.pod:70
305 #: ../cat/virt-filesystems.pod:99 ../cat/virt-ls.pod:269
306 #: ../clone/virt-sysprep.pod:50 ../df/virt-df.pod:67 ../edit/virt-edit.pod:70
307 #: ../inspector/virt-inspector.pod:63 ../rescue/virt-rescue.pod:92
308 msgid "B<-a> file"
309 msgstr "B<-a> файл"
310
311 #. type: =item
312 #: ../align/virt-alignment-scan.pod:99 ../cat/virt-cat.pod:72
313 #: ../cat/virt-filesystems.pod:101 ../cat/virt-ls.pod:271
314 #: ../clone/virt-sysprep.pod:52 ../df/virt-df.pod:69 ../edit/virt-edit.pod:72
315 #: ../inspector/virt-inspector.pod:65 ../rescue/virt-rescue.pod:94
316 msgid "B<--add> file"
317 msgstr "B<--add> файл"
318
319 #. type: textblock
320 #: ../align/virt-alignment-scan.pod:101 ../clone/virt-sysprep.pod:54
321 msgid "Add I<file> which should be a disk image from a virtual machine."
322 msgstr ""
323
324 #. type: textblock
325 #: ../align/virt-alignment-scan.pod:103 ../cat/virt-cat.pod:78
326 #: ../cat/virt-filesystems.pod:107 ../cat/virt-ls.pod:277
327 #: ../clone/virt-sysprep.pod:56 ../df/virt-df.pod:75 ../edit/virt-edit.pod:78
328 #: ../fish/guestfish.pod:174 ../fuse/guestmount.pod:102
329 #: ../inspector/virt-inspector.pod:71 ../rescue/virt-rescue.pod:100
330 msgid ""
331 "The format of the disk image is auto-detected.  To override this and force a "
332 "particular format use the I<--format=..> option."
333 msgstr ""
334
335 #. type: =item
336 #: ../align/virt-alignment-scan.pod:106 ../cat/virt-cat.pod:81
337 #: ../cat/virt-filesystems.pod:125 ../cat/virt-ls.pod:291
338 #: ../clone/virt-sysprep.pod:59 ../df/virt-df.pod:78
339 #: ../rescue/virt-rescue.pod:107
340 msgid "B<-c> URI"
341 msgstr "B<-c> адреса"
342
343 #. type: =item
344 #: ../align/virt-alignment-scan.pod:108 ../cat/virt-cat.pod:83
345 #: ../cat/virt-filesystems.pod:127 ../cat/virt-ls.pod:293
346 #: ../clone/virt-sysprep.pod:61 ../df/virt-df.pod:80
347 #: ../rescue/virt-rescue.pod:109
348 msgid "B<--connect> URI"
349 msgstr "B<--connect> адреса"
350
351 #. type: textblock
352 #: ../align/virt-alignment-scan.pod:110 ../cat/virt-cat.pod:85
353 #: ../cat/virt-filesystems.pod:129 ../cat/virt-ls.pod:295
354 #: ../clone/virt-sysprep.pod:63 ../df/virt-df.pod:82 ../edit/virt-edit.pod:99
355 #: ../inspector/virt-inspector.pod:78 ../rescue/virt-rescue.pod:111
356 #: ../tools/virt-list-filesystems.pl:81 ../tools/virt-list-partitions.pl:82
357 #: ../tools/virt-tar.pl:131 ../tools/virt-win-reg.pl:132
358 msgid ""
359 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
360 "to the default libvirt hypervisor."
361 msgstr ""
362
363 #. type: textblock
364 #: ../align/virt-alignment-scan.pod:113 ../cat/virt-cat.pod:88
365 #: ../cat/virt-filesystems.pod:132 ../cat/virt-ls.pod:298
366 #: ../clone/virt-sysprep.pod:66 ../df/virt-df.pod:85
367 #: ../rescue/virt-rescue.pod:114
368 msgid ""
369 "If you specify guest block devices directly (I<-a>), then libvirt is not "
370 "used at all."
371 msgstr ""
372
373 #. type: =item
374 #: ../align/virt-alignment-scan.pod:116 ../cat/virt-cat.pod:91
375 #: ../cat/virt-filesystems.pod:141 ../cat/virt-ls.pod:307
376 #: ../clone/virt-sysprep.pod:69 ../df/virt-df.pod:94 ../edit/virt-edit.pod:105
377 #: ../inspector/virt-inspector.pod:85 ../rescue/virt-rescue.pod:117
378 msgid "B<-d> guest"
379 msgstr "B<-d> гість"
380
381 #. type: =item
382 #: ../align/virt-alignment-scan.pod:118 ../cat/virt-cat.pod:93
383 #: ../cat/virt-filesystems.pod:143 ../cat/virt-ls.pod:309
384 #: ../clone/virt-sysprep.pod:71 ../df/virt-df.pod:96 ../edit/virt-edit.pod:107
385 #: ../inspector/virt-inspector.pod:87 ../rescue/virt-rescue.pod:119
386 msgid "B<--domain> guest"
387 msgstr "B<--domain> гість"
388
389 #. type: textblock
390 #: ../align/virt-alignment-scan.pod:120 ../cat/virt-cat.pod:95
391 #: ../cat/virt-filesystems.pod:145 ../cat/virt-ls.pod:311
392 #: ../clone/virt-sysprep.pod:73 ../df/virt-df.pod:98 ../edit/virt-edit.pod:109
393 #: ../inspector/virt-inspector.pod:89 ../rescue/virt-rescue.pod:121
394 msgid ""
395 "Add all the disks from the named libvirt guest.  Domain UUIDs can be used "
396 "instead of names."
397 msgstr ""
398
399 #. type: =item
400 #: ../align/virt-alignment-scan.pod:123 ../cat/virt-cat.pod:105
401 #: ../cat/virt-filesystems.pod:170 ../cat/virt-ls.pod:328
402 #: ../clone/virt-sysprep.pod:95 ../df/virt-df.pod:101
403 #: ../fish/guestfish.pod:233 ../fuse/guestmount.pod:142
404 #: ../inspector/virt-inspector.pod:99 ../rescue/virt-rescue.pod:124
405 msgid "B<--format=raw|qcow2|..>"
406 msgstr "B<--format=raw|qcow2|..>"
407
408 #. type: =item
409 #: ../align/virt-alignment-scan.pod:125 ../cat/virt-cat.pod:107
410 #: ../cat/virt-filesystems.pod:172 ../cat/virt-ls.pod:330
411 #: ../clone/virt-sysprep.pod:97 ../df/virt-df.pod:103
412 #: ../edit/virt-edit.pod:134 ../fish/guestfish.pod:235
413 #: ../fuse/guestmount.pod:144 ../inspector/virt-inspector.pod:101
414 #: ../rescue/virt-rescue.pod:126
415 msgid "B<--format>"
416 msgstr "B<--format>"
417
418 #. type: textblock
419 #: ../align/virt-alignment-scan.pod:127 ../cat/virt-cat.pod:109
420 #: ../cat/virt-filesystems.pod:174 ../cat/virt-ls.pod:332
421 #: ../clone/virt-sysprep.pod:99 ../df/virt-df.pod:105
422 #: ../edit/virt-edit.pod:136 ../fish/guestfish.pod:237
423 #: ../fuse/guestmount.pod:146 ../rescue/virt-rescue.pod:128
424 msgid ""
425 "The default for the I<-a> option is to auto-detect the format of the disk "
426 "image.  Using this forces the disk format for I<-a> options which follow on "
427 "the command line.  Using I<--format> with no argument switches back to auto-"
428 "detection for subsequent I<-a> options."
429 msgstr ""
430
431 #. type: textblock
432 #: ../align/virt-alignment-scan.pod:132 ../cat/virt-cat.pod:114
433 #: ../cat/virt-filesystems.pod:179 ../cat/virt-ls.pod:337
434 #: ../clone/virt-sysprep.pod:104 ../df/virt-df.pod:110
435 #: ../edit/virt-edit.pod:141 ../fish/guestfish.pod:242
436 #: ../fish/guestfish.pod:673 ../inspector/virt-inspector.pod:351
437 #: ../rescue/virt-rescue.pod:133 ../src/guestfs.pod:2877
438 msgid "For example:"
439 msgstr "Приклад:"
440
441 #. type: verbatim
442 #: ../align/virt-alignment-scan.pod:134
443 #, no-wrap
444 msgid ""
445 " virt-alignment-scan --format=raw -a disk.img\n"
446 "\n"
447 msgstr ""
448
449 #. type: textblock
450 #: ../align/virt-alignment-scan.pod:136 ../cat/virt-cat.pod:118
451 #: ../cat/virt-filesystems.pod:183 ../cat/virt-ls.pod:341
452 #: ../clone/virt-sysprep.pod:108 ../df/virt-df.pod:114
453 #: ../edit/virt-edit.pod:145 ../fish/guestfish.pod:246
454 #: ../rescue/virt-rescue.pod:137
455 msgid "forces raw format (no auto-detection) for C<disk.img>."
456 msgstr ""
457
458 #. type: verbatim
459 #: ../align/virt-alignment-scan.pod:138
460 #, no-wrap
461 msgid ""
462 " virt-alignment-scan --format=raw -a disk.img --format -a another.img\n"
463 "\n"
464 msgstr ""
465
466 #. type: textblock
467 #: ../align/virt-alignment-scan.pod:140 ../cat/virt-cat.pod:122
468 #: ../cat/virt-filesystems.pod:187 ../cat/virt-ls.pod:345
469 #: ../clone/virt-sysprep.pod:112 ../df/virt-df.pod:118
470 #: ../edit/virt-edit.pod:149 ../fish/guestfish.pod:250
471 #: ../rescue/virt-rescue.pod:141
472 msgid ""
473 "forces raw format (no auto-detection) for C<disk.img> and reverts to auto-"
474 "detection for C<another.img>."
475 msgstr ""
476
477 #. type: textblock
478 #: ../align/virt-alignment-scan.pod:143 ../cat/virt-cat.pod:125
479 #: ../cat/virt-filesystems.pod:190 ../cat/virt-ls.pod:348
480 #: ../clone/virt-sysprep.pod:115 ../df/virt-df.pod:121
481 #: ../edit/virt-edit.pod:152 ../rescue/virt-rescue.pod:144
482 msgid ""
483 "If you have untrusted raw-format guest disk images, you should use this "
484 "option to specify the disk format.  This avoids a possible security problem "
485 "with malicious guests (CVE-2010-3851)."
486 msgstr ""
487
488 #. type: =item
489 #: ../align/virt-alignment-scan.pod:147 ../resize/virt-resize.pod:491
490 #: ../sparsify/virt-sparsify.pod:153
491 msgid "B<-q>"
492 msgstr "B<-q>"
493
494 #. type: =item
495 #: ../align/virt-alignment-scan.pod:149 ../resize/virt-resize.pod:493
496 #: ../sparsify/virt-sparsify.pod:155
497 msgid "B<--quiet>"
498 msgstr "B<--quiet>"
499
500 #. type: textblock
501 #: ../align/virt-alignment-scan.pod:151
502 msgid ""
503 "Don't produce any output.  Just set the exit code (see L</EXIT STATUS> "
504 "below)."
505 msgstr ""
506
507 #. type: =item
508 #: ../align/virt-alignment-scan.pod:154 ../cat/virt-cat.pod:134
509 #: ../cat/virt-filesystems.pod:261 ../cat/virt-ls.pod:425
510 #: ../clone/virt-sysprep.pod:138 ../df/virt-df.pod:173
511 #: ../edit/virt-edit.pod:161 ../fish/guestfish.pod:390
512 #: ../fuse/guestmount.pod:266 ../inspector/virt-inspector.pod:119
513 #: ../rescue/virt-rescue.pod:182 ../sparsify/virt-sparsify.pod:159
514 msgid "B<-v>"
515 msgstr "B<-v>"
516
517 #. type: =item
518 #: ../align/virt-alignment-scan.pod:156 ../cat/virt-cat.pod:136
519 #: ../cat/virt-filesystems.pod:263 ../cat/virt-ls.pod:427
520 #: ../clone/virt-sysprep.pod:140 ../df/virt-df.pod:175
521 #: ../edit/virt-edit.pod:163 ../fish/guestfish.pod:392
522 #: ../fuse/guestmount.pod:268 ../inspector/virt-inspector.pod:121
523 #: ../rescue/virt-rescue.pod:184 ../sparsify/virt-sparsify.pod:161
524 msgid "B<--verbose>"
525 msgstr "B<--verbose>"
526
527 #. type: textblock
528 #: ../align/virt-alignment-scan.pod:158 ../cat/virt-cat.pod:138
529 #: ../cat/virt-filesystems.pod:265 ../cat/virt-ls.pod:429
530 #: ../clone/virt-sysprep.pod:142 ../df/virt-df.pod:177
531 #: ../edit/virt-edit.pod:165 ../inspector/virt-inspector.pod:123
532 #: ../rescue/virt-rescue.pod:186 ../sparsify/virt-sparsify.pod:163
533 msgid "Enable verbose messages for debugging."
534 msgstr ""
535
536 #. type: =item
537 #: ../align/virt-alignment-scan.pod:160 ../cat/virt-cat.pod:140
538 #: ../cat/virt-filesystems.pod:267 ../cat/virt-ls.pod:431
539 #: ../clone/virt-sysprep.pod:144 ../df/virt-df.pod:179
540 #: ../edit/virt-edit.pod:167 ../fish/guestfish.pod:397
541 #: ../fuse/guestmount.pod:272 ../inspector/virt-inspector.pod:125
542 #: ../rescue/virt-rescue.pod:188 ../resize/virt-resize.pod:561
543 #: ../sparsify/virt-sparsify.pod:165
544 msgid "B<-V>"
545 msgstr "B<-V>"
546
547 #. type: =item
548 #: ../align/virt-alignment-scan.pod:162 ../cat/virt-cat.pod:142
549 #: ../cat/virt-filesystems.pod:269 ../cat/virt-ls.pod:433
550 #: ../clone/virt-sysprep.pod:146 ../df/virt-df.pod:181
551 #: ../edit/virt-edit.pod:169 ../fish/guestfish.pod:399
552 #: ../fuse/guestmount.pod:274 ../inspector/virt-inspector.pod:127
553 #: ../rescue/virt-rescue.pod:190 ../resize/virt-resize.pod:563
554 #: ../sparsify/virt-sparsify.pod:167 ../tools/virt-list-filesystems.pl:69
555 #: ../tools/virt-list-partitions.pl:70 ../tools/virt-make-fs.pl:169
556 #: ../tools/virt-tar.pl:119 ../tools/virt-win-reg.pl:112
557 msgid "B<--version>"
558 msgstr "B<--version>"
559
560 #. type: textblock
561 #: ../align/virt-alignment-scan.pod:164 ../cat/virt-cat.pod:144
562 #: ../cat/virt-filesystems.pod:271 ../cat/virt-ls.pod:435
563 #: ../clone/virt-sysprep.pod:148 ../df/virt-df.pod:183
564 #: ../edit/virt-edit.pod:171 ../inspector/virt-inspector.pod:129
565 #: ../rescue/virt-rescue.pod:192 ../resize/virt-resize.pod:565
566 #: ../sparsify/virt-sparsify.pod:169 ../tools/virt-list-filesystems.pl:71
567 #: ../tools/virt-list-partitions.pl:72 ../tools/virt-make-fs.pl:171
568 #: ../tools/virt-tar.pl:121 ../tools/virt-win-reg.pl:114
569 msgid "Display version number and exit."
570 msgstr "Показати дані щодо версії і завершити роботу."
571
572 #. type: =item
573 #: ../align/virt-alignment-scan.pod:166 ../cat/virt-cat.pod:146
574 #: ../cat/virt-filesystems.pod:281 ../cat/virt-ls.pod:437
575 #: ../clone/virt-sysprep.pod:150 ../df/virt-df.pod:185
576 #: ../edit/virt-edit.pod:173 ../fish/guestfish.pod:412
577 #: ../fuse/guestmount.pod:287 ../inspector/virt-inspector.pod:131
578 #: ../rescue/virt-rescue.pod:203 ../sparsify/virt-sparsify.pod:171
579 #: ../tools/virt-tar.pl:158
580 msgid "B<-x>"
581 msgstr "B<-x>"
582
583 #. type: textblock
584 #: ../align/virt-alignment-scan.pod:168 ../cat/virt-cat.pod:148
585 #: ../cat/virt-filesystems.pod:283 ../cat/virt-ls.pod:439
586 #: ../clone/virt-sysprep.pod:152 ../df/virt-df.pod:187
587 #: ../edit/virt-edit.pod:175 ../inspector/virt-inspector.pod:133
588 #: ../rescue/virt-rescue.pod:205 ../sparsify/virt-sparsify.pod:173
589 msgid "Enable tracing of libguestfs API calls."
590 msgstr ""
591
592 #. type: =head1
593 #: ../align/virt-alignment-scan.pod:172
594 msgid "RECOMMENDED ALIGNMENT"
595 msgstr ""
596
597 #. type: textblock
598 #: ../align/virt-alignment-scan.pod:174
599 msgid ""
600 "Operating systems older than Windows 2008 and Linux before ca.2010 place the "
601 "first sector of the first partition at sector 63, with a 512 byte sector "
602 "size.  This happens because of a historical accident.  Drives have to report "
603 "a cylinder / head / sector (CHS) geometry to the BIOS.  The geometry is "
604 "completely meaningless on modern drives, but it happens that the geometry "
605 "reported always has 63 sectors per track.  The operating system therefore "
606 "places the first partition at the start of the second \"track\", at sector "
607 "63."
608 msgstr ""
609
610 #. type: textblock
611 #: ../align/virt-alignment-scan.pod:183
612 msgid ""
613 "When the guest OS is virtualized, the host operating system and hypervisor "
614 "may prefer accesses aligned to one of:"
615 msgstr ""
616
617 #. type: =item
618 #: ../align/virt-alignment-scan.pod:188
619 msgid "* 512 bytes"
620 msgstr ""
621
622 #. type: textblock
623 #: ../align/virt-alignment-scan.pod:190
624 msgid ""
625 "if the host OS uses local storage directly on hard drive partitions, and the "
626 "hard drive has 512 byte physical sectors."
627 msgstr ""
628
629 #. type: =item
630 #: ../align/virt-alignment-scan.pod:193
631 msgid "* 4 Kbytes"
632 msgstr ""
633
634 #. type: textblock
635 #: ../align/virt-alignment-scan.pod:195
636 msgid ""
637 "for local storage on new hard drives with 4Kbyte physical sectors; for file-"
638 "backed storage on filesystems with 4Kbyte block size; or for some types of "
639 "network-attached storage."
640 msgstr ""
641
642 #. type: =item
643 #: ../align/virt-alignment-scan.pod:199
644 msgid "* 64 Kbytes"
645 msgstr ""
646
647 #. type: textblock
648 #: ../align/virt-alignment-scan.pod:201
649 msgid ""
650 "for high-end network-attached storage.  This is the optimal block size for "
651 "some NetApp hardware."
652 msgstr ""
653
654 #. type: =item
655 #: ../align/virt-alignment-scan.pod:204
656 msgid "* 1 Mbyte"
657 msgstr ""
658
659 #. type: textblock
660 #: ../align/virt-alignment-scan.pod:206
661 msgid "see L</1 MB PARTITION ALIGNMENT> below."
662 msgstr ""
663
664 #. type: textblock
665 #: ../align/virt-alignment-scan.pod:210
666 msgid ""
667 "Partitions which are not aligned correctly to the underlying storage cause "
668 "extra I/O.  For example:"
669 msgstr ""
670
671 #. type: verbatim
672 #: ../align/virt-alignment-scan.pod:213
673 #, no-wrap
674 msgid ""
675 "                       sect#63\n"
676 "                       +--------------------------+------\n"
677 "                       |         guest            |\n"
678 "                       |    filesystem block      |\n"
679 " ---+------------------+------+-------------------+-----+---\n"
680 "    |  host block             |  host block             |\n"
681 "    |                         |                         |\n"
682 " ---+-------------------------+-------------------------+---\n"
683 "\n"
684 msgstr ""
685
686 #. type: textblock
687 #: ../align/virt-alignment-scan.pod:222
688 msgid ""
689 "In this example, each time a 4K guest block is read, two blocks on the host "
690 "must be accessed (so twice as much I/O is done).  When a 4K guest block is "
691 "written, two host blocks must first be read, the old and new data combined, "
692 "and the two blocks written back (4x I/O)."
693 msgstr ""
694
695 #. type: =head2
696 #: ../align/virt-alignment-scan.pod:227
697 msgid "LINUX HOST BLOCK AND I/O SIZE"
698 msgstr ""
699
700 #. type: textblock
701 #: ../align/virt-alignment-scan.pod:229
702 msgid ""
703 "New versions of the Linux kernel expose the physical and logical block size, "
704 "and minimum and recommended I/O size."
705 msgstr ""
706
707 #. type: textblock
708 #: ../align/virt-alignment-scan.pod:232
709 msgid "For a typical consumer hard drive with 512 byte sectors:"
710 msgstr ""
711
712 #. type: verbatim
713 #: ../align/virt-alignment-scan.pod:234
714 #, no-wrap
715 msgid ""
716 " $ cat /sys/block/sda/queue/hw_sector_size\n"
717 " 512\n"
718 " $ cat /sys/block/sda/queue/physical_block_size\n"
719 " 512\n"
720 " $ cat /sys/block/sda/queue/logical_block_size\n"
721 " 512\n"
722 " $ cat /sys/block/sda/queue/minimum_io_size\n"
723 " 512\n"
724 " $ cat /sys/block/sda/queue/optimal_io_size\n"
725 " 0\n"
726 "\n"
727 msgstr ""
728
729 #. type: textblock
730 #: ../align/virt-alignment-scan.pod:245
731 msgid "For a new consumer hard drive with 4Kbyte sectors:"
732 msgstr ""
733
734 #. type: verbatim
735 #: ../align/virt-alignment-scan.pod:247
736 #, no-wrap
737 msgid ""
738 " $ cat /sys/block/sda/queue/hw_sector_size\n"
739 " 4096\n"
740 " $ cat /sys/block/sda/queue/physical_block_size\n"
741 " 4096\n"
742 " $ cat /sys/block/sda/queue/logical_block_size\n"
743 " 4096\n"
744 " $ cat /sys/block/sda/queue/minimum_io_size\n"
745 " 4096\n"
746 " $ cat /sys/block/sda/queue/optimal_io_size\n"
747 " 0\n"
748 "\n"
749 msgstr ""
750
751 #. type: textblock
752 #: ../align/virt-alignment-scan.pod:258
753 msgid "For a NetApp LUN:"
754 msgstr ""
755
756 #. type: verbatim
757 #: ../align/virt-alignment-scan.pod:260
758 #, no-wrap
759 msgid ""
760 " $ cat /sys/block/sdc/queue/logical_block_size\n"
761 " 512\n"
762 " $ cat /sys/block/sdc/queue/physical_block_size\n"
763 " 512\n"
764 " $ cat /sys/block/sdc/queue/minimum_io_size\n"
765 " 4096\n"
766 " $ cat /sys/block/sdc/queue/optimal_io_size\n"
767 " 65536\n"
768 "\n"
769 msgstr ""
770
771 #. type: textblock
772 #: ../align/virt-alignment-scan.pod:269
773 msgid ""
774 "The NetApp allows 512 byte accesses (but they will be very inefficient), "
775 "prefers a minimum 4K I/O size, but the optimal I/O size is 64K."
776 msgstr ""
777
778 #. type: textblock
779 #: ../align/virt-alignment-scan.pod:273
780 msgid ""
781 "For detailed information about what these numbers mean, see L<http://docs."
782 "redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/"
783 "Storage_Administration_Guide/newstorage-iolimits.html>"
784 msgstr ""
785
786 #. type: textblock
787 #: ../align/virt-alignment-scan.pod:276
788 msgid ""
789 "[Thanks to Matt Booth for providing 4K drive data.  Thanks to Mike Snitzer "
790 "for providing NetApp data and additional information.]"
791 msgstr ""
792
793 #. type: =head2
794 #: ../align/virt-alignment-scan.pod:279
795 msgid "1 MB PARTITION ALIGNMENT"
796 msgstr ""
797
798 #. type: textblock
799 #: ../align/virt-alignment-scan.pod:281
800 msgid ""
801 "Microsoft picked 1 MB as the default alignment for all partitions starting "
802 "with Windows 2008 Server, and Linux has followed this."
803 msgstr ""
804
805 #. type: textblock
806 #: ../align/virt-alignment-scan.pod:284
807 msgid ""
808 "Assuming 512 byte sectors in the guest, you will now see the first partition "
809 "starting at sector 2048, and subsequent partitions (if any)  will start at a "
810 "multiple of 2048 sectors."
811 msgstr ""
812
813 #. type: textblock
814 #: ../align/virt-alignment-scan.pod:288
815 msgid ""
816 "1 MB alignment is compatible with all current alignment requirements (4K, "
817 "64K) and provides room for future growth in physical block sizes."
818 msgstr ""
819
820 #. type: =head2
821 #: ../align/virt-alignment-scan.pod:291
822 msgid "SETTING ALIGNMENT"
823 msgstr ""
824
825 #. type: textblock
826 #: ../align/virt-alignment-scan.pod:293
827 msgid ""
828 "L<virt-resize(1)> can change the alignment of the partitions of some "
829 "guests.  Currently it can fully align all the partitions of all Windows "
830 "guests, and it will fix the bootloader where necessary.  For Linux guests, "
831 "it can align the second and subsequent partitions, so the majority of OS "
832 "accesses except at boot will be aligned."
833 msgstr ""
834
835 #. type: textblock
836 #: ../align/virt-alignment-scan.pod:299
837 msgid ""
838 "Another way to correct partition alignment problems is to reinstall your "
839 "guest operating systems.  If you install operating systems from templates, "
840 "ensure these have correct partition alignment too."
841 msgstr ""
842
843 #. type: textblock
844 #: ../align/virt-alignment-scan.pod:303
845 msgid ""
846 "For older versions of Windows, the following NetApp document contains useful "
847 "information: L<http://media.netapp.com/documents/tr-3747.pdf>"
848 msgstr ""
849
850 #. type: textblock
851 #: ../align/virt-alignment-scan.pod:306
852 msgid ""
853 "For Red Hat Enterprise Linux E<le> 5, use a Kickstart script that contains "
854 "an explicit C<%pre> section that creates aligned partitions using L<parted(8)"
855 ">.  Do not use the Kickstart C<part> command.  The NetApp document above "
856 "contains an example."
857 msgstr ""
858
859 #. type: =head1
860 #: ../align/virt-alignment-scan.pod:311 ../cat/virt-cat.pod:231
861 #: ../cat/virt-filesystems.pod:373 ../cat/virt-ls.pod:483
862 #: ../clone/virt-sysprep.pod:475 ../df/virt-df.pod:215
863 #: ../edit/virt-edit.pod:342 ../inspector/virt-inspector.pod:367
864 #: ../rescue/virt-rescue.pod:266 ../resize/virt-resize.pod:676
865 #: ../tools/virt-list-filesystems.pl:188 ../tools/virt-list-partitions.pl:258
866 #: ../tools/virt-make-fs.pl:550 ../tools/virt-tar.pl:289
867 #: ../tools/virt-win-reg.pl:744
868 msgid "SHELL QUOTING"
869 msgstr ""
870
871 #. type: textblock
872 #: ../align/virt-alignment-scan.pod:313 ../cat/virt-cat.pod:233
873 #: ../cat/virt-filesystems.pod:375 ../cat/virt-ls.pod:485
874 #: ../clone/virt-sysprep.pod:477 ../df/virt-df.pod:217
875 #: ../edit/virt-edit.pod:344 ../inspector/virt-inspector.pod:369
876 #: ../rescue/virt-rescue.pod:268 ../resize/virt-resize.pod:678
877 #: ../tools/virt-list-filesystems.pl:190 ../tools/virt-list-partitions.pl:260
878 #: ../tools/virt-make-fs.pl:552 ../tools/virt-tar.pl:291
879 #: ../tools/virt-win-reg.pl:752
880 msgid ""
881 "Libvirt guest names can contain arbitrary characters, some of which have "
882 "meaning to the shell such as C<#> and space.  You may need to quote or "
883 "escape these characters on the command line.  See the shell manual page L<sh"
884 "(1)> for details."
885 msgstr ""
886
887 #. type: =head1
888 #: ../align/virt-alignment-scan.pod:318 ../cat/virt-cat.pod:238
889 #: ../cat/virt-filesystems.pod:380 ../cat/virt-ls.pod:490
890 #: ../clone/virt-sysprep.pod:482 ../df/virt-df.pod:222
891 #: ../edit/virt-edit.pod:349 ../fish/guestfish.pod:1114
892 #: ../fuse/guestmount.pod:312 ../inspector/virt-inspector.pod:390
893 #: ../resize/virt-resize.pod:683 ../sparsify/virt-sparsify.pod:227
894 #: ../test-tool/libguestfs-test-tool.pod:90
895 msgid "EXIT STATUS"
896 msgstr ""
897
898 #. type: textblock
899 #: ../align/virt-alignment-scan.pod:320
900 msgid "This program returns:"
901 msgstr ""
902
903 #. type: =item
904 #: ../align/virt-alignment-scan.pod:324 ../align/virt-alignment-scan.pod:330
905 #: ../align/virt-alignment-scan.pod:336 ../align/virt-alignment-scan.pod:343
906 #: ../cat/virt-cat.pod:177 ../cat/virt-cat.pod:182 ../cat/virt-cat.pod:187
907 #: ../cat/virt-cat.pod:198 ../cat/virt-cat.pod:202
908 #: ../clone/virt-sysprep.pod:283 ../clone/virt-sysprep.pod:287
909 #: ../clone/virt-sysprep.pod:291 ../clone/virt-sysprep.pod:295
910 #: ../clone/virt-sysprep.pod:310 ../clone/virt-sysprep.pod:314
911 #: ../clone/virt-sysprep.pod:318 ../clone/virt-sysprep.pod:322
912 #: ../clone/virt-sysprep.pod:326 ../clone/virt-sysprep.pod:362
913 #: ../clone/virt-sysprep.pod:384 ../clone/virt-sysprep.pod:388
914 #: ../df/virt-df.pod:148 ../df/virt-df.pod:154 ../edit/virt-edit.pod:266
915 #: ../edit/virt-edit.pod:271 ../edit/virt-edit.pod:276
916 #: ../edit/virt-edit.pod:287 ../edit/virt-edit.pod:291
917 #: ../examples/guestfs-recipes.pod:98 ../examples/guestfs-recipes.pod:102
918 #: ../examples/guestfs-recipes.pod:106 ../examples/guestfs-recipes.pod:132
919 #: ../examples/guestfs-recipes.pod:137 ../examples/guestfs-recipes.pod:227
920 #: ../examples/guestfs-recipes.pod:231 ../examples/guestfs-recipes.pod:235
921 #: ../examples/guestfs-recipes.pod:239 ../examples/guestfs-recipes.pod:243
922 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
923 #: ../fish/guestfish-actions.pod:441 ../fish/guestfish-actions.pod:449
924 #: ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:463
925 #: ../fish/guestfish-actions.pod:1262 ../fish/guestfish-actions.pod:1266
926 #: ../fish/guestfish-actions.pod:1270 ../fish/guestfish-actions.pod:1274
927 #: ../fish/guestfish-actions.pod:1282 ../fish/guestfish-actions.pod:1286
928 #: ../fish/guestfish-actions.pod:1290 ../fish/guestfish-actions.pod:1300
929 #: ../fish/guestfish-actions.pod:1304 ../fish/guestfish-actions.pod:1308
930 #: ../fish/guestfish-actions.pod:1398 ../fish/guestfish-actions.pod:1402
931 #: ../fish/guestfish-actions.pod:1407 ../fish/guestfish-actions.pod:1412
932 #: ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1458
933 #: ../fish/guestfish-actions.pod:1463 ../fish/guestfish-actions.pod:1719
934 #: ../fish/guestfish-actions.pod:1726 ../fish/guestfish-actions.pod:1733
935 #: ../fish/guestfish-actions.pod:2136 ../fish/guestfish-actions.pod:2142
936 #: ../fish/guestfish-actions.pod:2150 ../fish/guestfish-actions.pod:2157
937 #: ../fish/guestfish-actions.pod:2164 ../fish/guestfish.pod:445
938 #: ../fish/guestfish.pod:449 ../fish/guestfish.pod:453
939 #: ../fish/guestfish.pod:457 ../inspector/virt-inspector.pod:408
940 #: ../inspector/virt-inspector.pod:412 ../resize/virt-resize.pod:359
941 #: ../resize/virt-resize.pod:363 ../resize/virt-resize.pod:372
942 #: ../resize/virt-resize.pod:378 ../sparsify/virt-sparsify.pod:32
943 #: ../sparsify/virt-sparsify.pod:39 ../sparsify/virt-sparsify.pod:43
944 #: ../sparsify/virt-sparsify.pod:49 ../sparsify/virt-sparsify.pod:54
945 #: ../sparsify/virt-sparsify.pod:58 ../sparsify/virt-sparsify.pod:64
946 #: ../src/guestfs-actions.pod:22 ../src/guestfs-actions.pod:29
947 #: ../src/guestfs-actions.pod:641 ../src/guestfs-actions.pod:649
948 #: ../src/guestfs-actions.pod:656 ../src/guestfs-actions.pod:663
949 #: ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2083
950 #: ../src/guestfs-actions.pod:2087 ../src/guestfs-actions.pod:2091
951 #: ../src/guestfs-actions.pod:2099 ../src/guestfs-actions.pod:2103
952 #: ../src/guestfs-actions.pod:2107 ../src/guestfs-actions.pod:2117
953 #: ../src/guestfs-actions.pod:2121 ../src/guestfs-actions.pod:2125
954 #: ../src/guestfs-actions.pod:2263 ../src/guestfs-actions.pod:2267
955 #: ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2277
956 #: ../src/guestfs-actions.pod:2338 ../src/guestfs-actions.pod:2342
957 #: ../src/guestfs-actions.pod:2347 ../src/guestfs-actions.pod:2762
958 #: ../src/guestfs-actions.pod:2769 ../src/guestfs-actions.pod:2776
959 #: ../src/guestfs-actions.pod:3321 ../src/guestfs-actions.pod:3327
960 #: ../src/guestfs-actions.pod:3335 ../src/guestfs-actions.pod:3342
961 #: ../src/guestfs-actions.pod:3349 ../src/guestfs.pod:403
962 #: ../src/guestfs.pod:408 ../src/guestfs.pod:413 ../src/guestfs.pod:417
963 #: ../src/guestfs.pod:422 ../src/guestfs.pod:426 ../src/guestfs.pod:431
964 #: ../src/guestfs.pod:436 ../src/guestfs.pod:1109 ../src/guestfs.pod:1113
965 #: ../src/guestfs.pod:1117 ../src/guestfs.pod:1122 ../src/guestfs.pod:1130
966 #: ../src/guestfs.pod:1149 ../src/guestfs.pod:1157 ../src/guestfs.pod:1179
967 #: ../src/guestfs.pod:1183 ../src/guestfs.pod:1187 ../src/guestfs.pod:1191
968 #: ../src/guestfs.pod:1195 ../src/guestfs.pod:1199 ../src/guestfs.pod:1689
969 #: ../src/guestfs.pod:1694 ../src/guestfs.pod:1698 ../src/guestfs.pod:1800
970 #: ../src/guestfs.pod:1805 ../src/guestfs.pod:1809 ../src/guestfs.pod:1819
971 #: ../src/guestfs.pod:2108 ../src/guestfs.pod:2113 ../src/guestfs.pod:2119
972 #: ../src/guestfs.pod:2127 ../src/guestfs.pod:2645 ../src/guestfs.pod:2651
973 #: ../src/guestfs.pod:2656 ../src/guestfs.pod:2662 ../src/guestfs.pod:3062
974 #: ../src/guestfs.pod:3067 ../src/guestfs.pod:3071 ../src/guestfs.pod:3075
975 #: ../src/guestfs.pod:3079 ../src/guestfs.pod:3093 ../src/guestfs.pod:3098
976 #: ../src/guestfs.pod:3329 ../src/guestfs.pod:3333 ../src/guestfs.pod:3337
977 #: ../src/guestfs.pod:3341 ../tools/virt-win-reg.pl:197
978 #: ../tools/virt-win-reg.pl:202 ../tools/virt-win-reg.pl:208
979 #: ../tools/virt-win-reg.pl:721 ../tools/virt-win-reg.pl:727
980 #: ../tools/virt-win-reg.pl:733
981 msgid "*"
982 msgstr "*"
983
984 #. type: textblock
985 #: ../align/virt-alignment-scan.pod:326
986 msgid "0"
987 msgstr ""
988
989 #. type: textblock
990 #: ../align/virt-alignment-scan.pod:328
991 msgid ""
992 "successful exit, all partitions are aligned E<ge> 64K for best performance"
993 msgstr ""
994
995 #. type: textblock
996 #: ../align/virt-alignment-scan.pod:332
997 msgid "1"
998 msgstr ""
999
1000 #. type: textblock
1001 #: ../align/virt-alignment-scan.pod:334
1002 msgid "an error scanning the disk image or guest"
1003 msgstr ""
1004
1005 #. type: textblock
1006 #: ../align/virt-alignment-scan.pod:338
1007 msgid "2"
1008 msgstr ""
1009
1010 #. type: textblock
1011 #: ../align/virt-alignment-scan.pod:340
1012 msgid ""
1013 "successful exit, some partitions have alignment E<lt> 64K which can result "
1014 "in poor performance on high end network storage"
1015 msgstr ""
1016
1017 #. type: textblock
1018 #: ../align/virt-alignment-scan.pod:345
1019 msgid "3"
1020 msgstr ""
1021
1022 #. type: textblock
1023 #: ../align/virt-alignment-scan.pod:347
1024 msgid ""
1025 "successful exit, some partitions have alignment E<lt> 4K which can result in "
1026 "poor performance on most hypervisors"
1027 msgstr ""
1028
1029 #. type: =head1
1030 #: ../align/virt-alignment-scan.pod:352 ../cat/virt-cat.pod:243
1031 #: ../cat/virt-filesystems.pod:385 ../cat/virt-ls.pod:495
1032 #: ../clone/virt-sysprep.pod:486 ../df/virt-df.pod:227
1033 #: ../edit/virt-edit.pod:354 ../erlang/examples/guestfs-erlang.pod:97
1034 #: ../examples/guestfs-examples.pod:33 ../examples/guestfs-recipes.pod:384
1035 #: ../fish/guestfish.pod:1268 ../fish/virt-copy-in.pod:50
1036 #: ../fish/virt-copy-out.pod:39 ../fish/virt-tar-in.pod:47
1037 #: ../fish/virt-tar-out.pod:41 ../fuse/guestmount.pod:317
1038 #: ../inspector/virt-inspector.pod:395 ../java/examples/guestfs-java.pod:45
1039 #: ../ocaml/examples/guestfs-ocaml.pod:78 ../perl/examples/guestfs-perl.pod:39
1040 #: ../python/examples/guestfs-python.pod:42 ../rescue/virt-rescue.pod:288
1041 #: ../resize/virt-resize.pod:688 ../ruby/examples/guestfs-ruby.pod:36
1042 #: ../sparsify/virt-sparsify.pod:251 ../src/guestfs.pod:3270
1043 #: ../test-tool/libguestfs-test-tool.pod:100
1044 #: ../tools/virt-list-filesystems.pl:195 ../tools/virt-list-partitions.pl:265
1045 #: ../tools/virt-make-fs.pl:557 ../tools/virt-tar.pl:296
1046 #: ../tools/virt-win-reg.pl:757
1047 msgid "SEE ALSO"
1048 msgstr "ТАКОЖ ПЕРЕГЛЯНЬТЕ"
1049
1050 #. type: textblock
1051 #: ../align/virt-alignment-scan.pod:354
1052 msgid ""
1053 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-rescue(1)>, "
1054 "L<virt-resize(1)>, L<http://libguestfs.org/>."
1055 msgstr ""
1056
1057 #. type: =head1
1058 #: ../align/virt-alignment-scan.pod:361 ../cat/virt-cat.pod:252
1059 #: ../cat/virt-filesystems.pod:396 ../cat/virt-ls.pod:507
1060 #: ../clone/virt-sysprep.pod:501 ../df/virt-df.pod:235
1061 #: ../edit/virt-edit.pod:368 ../rescue/virt-rescue.pod:296
1062 #: ../resize/virt-resize.pod:711 ../sparsify/virt-sparsify.pod:264
1063 #: ../tools/virt-list-filesystems.pl:208 ../tools/virt-list-partitions.pl:277
1064 #: ../tools/virt-make-fs.pl:582 ../tools/virt-tar.pl:311
1065 #: ../tools/virt-win-reg.pl:783
1066 msgid "AUTHOR"
1067 msgstr "АВТОР"
1068
1069 #. type: textblock
1070 #: ../align/virt-alignment-scan.pod:363 ../cat/virt-cat.pod:254
1071 #: ../cat/virt-filesystems.pod:398 ../cat/virt-ls.pod:509
1072 #: ../clone/virt-sysprep.pod:503 ../df/virt-df.pod:237
1073 #: ../edit/virt-edit.pod:370 ../inspector/virt-inspector.pod:410
1074 #: ../rescue/virt-rescue.pod:298 ../resize/virt-resize.pod:713
1075 #: ../sparsify/virt-sparsify.pod:266 ../tools/virt-list-filesystems.pl:210
1076 #: ../tools/virt-list-partitions.pl:279 ../tools/virt-make-fs.pl:584
1077 #: ../tools/virt-tar.pl:313 ../tools/virt-win-reg.pl:785
1078 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1079 msgstr "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
1080
1081 #. type: =head1
1082 #: ../align/virt-alignment-scan.pod:365 ../cat/virt-cat.pod:256
1083 #: ../cat/virt-filesystems.pod:400 ../cat/virt-ls.pod:511
1084 #: ../clone/virt-sysprep.pod:505 ../df/virt-df.pod:239
1085 #: ../edit/virt-edit.pod:372 ../erlang/examples/guestfs-erlang.pod:114
1086 #: ../examples/guestfs-examples.pod:49 ../examples/guestfs-recipes.pod:401
1087 #: ../fish/guestfish.pod:1300 ../fish/virt-copy-in.pod:64
1088 #: ../fish/virt-copy-out.pod:53 ../fish/virt-tar-in.pod:62
1089 #: ../fish/virt-tar-out.pod:55 ../fuse/guestmount.pod:332
1090 #: ../inspector/virt-inspector.pod:418 ../java/examples/guestfs-java.pod:62
1091 #: ../ocaml/examples/guestfs-ocaml.pod:95 ../perl/examples/guestfs-perl.pod:56
1092 #: ../python/examples/guestfs-python.pod:58 ../rescue/virt-rescue.pod:300
1093 #: ../resize/virt-resize.pod:715 ../ruby/examples/guestfs-ruby.pod:52
1094 #: ../sparsify/virt-sparsify.pod:268 ../src/guestfs.pod:3352
1095 #: ../test-tool/libguestfs-test-tool.pod:110
1096 #: ../tools/virt-list-filesystems.pl:212 ../tools/virt-list-partitions.pl:281
1097 #: ../tools/virt-make-fs.pl:586 ../tools/virt-tar.pl:315
1098 #: ../tools/virt-win-reg.pl:787
1099 msgid "COPYRIGHT"
1100 msgstr "АВТОРСЬКІ ПРАВА"
1101
1102 #. type: textblock
1103 #: ../align/virt-alignment-scan.pod:367 ../clone/virt-sysprep.pod:507
1104 #: ../sparsify/virt-sparsify.pod:270
1105 msgid "Copyright (C) 2011 Red Hat Inc."
1106 msgstr ""
1107
1108 #. type: textblock
1109 #: ../align/virt-alignment-scan.pod:369 ../cat/virt-cat.pod:260
1110 #: ../cat/virt-filesystems.pod:404 ../cat/virt-ls.pod:515
1111 #: ../clone/virt-sysprep.pod:509 ../df/virt-df.pod:243
1112 #: ../edit/virt-edit.pod:376 ../fish/guestfish.pod:1305
1113 #: ../fish/virt-copy-in.pod:69 ../fish/virt-copy-out.pod:58
1114 #: ../fish/virt-tar-in.pod:67 ../fish/virt-tar-out.pod:60
1115 #: ../fuse/guestmount.pod:337 ../inspector/virt-inspector.pod:422
1116 #: ../rescue/virt-rescue.pod:304 ../resize/virt-resize.pod:719
1117 #: ../sparsify/virt-sparsify.pod:272 ../test-tool/libguestfs-test-tool.pod:115
1118 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:285
1119 #: ../tools/virt-make-fs.pl:590 ../tools/virt-tar.pl:319
1120 #: ../tools/virt-win-reg.pl:791
1121 msgid ""
1122 "This program is free software; you can redistribute it and/or modify it "
1123 "under the terms of the GNU General Public License as published by the Free "
1124 "Software Foundation; either version 2 of the License, or (at your option) "
1125 "any later version."
1126 msgstr ""
1127
1128 #. type: textblock
1129 #: ../align/virt-alignment-scan.pod:374 ../cat/virt-cat.pod:265
1130 #: ../cat/virt-filesystems.pod:409 ../cat/virt-ls.pod:520
1131 #: ../clone/virt-sysprep.pod:514 ../df/virt-df.pod:248
1132 #: ../edit/virt-edit.pod:381 ../fish/guestfish.pod:1310
1133 #: ../fish/virt-copy-in.pod:74 ../fish/virt-copy-out.pod:63
1134 #: ../fish/virt-tar-in.pod:72 ../fish/virt-tar-out.pod:65
1135 #: ../fuse/guestmount.pod:342 ../inspector/virt-inspector.pod:427
1136 #: ../rescue/virt-rescue.pod:309 ../resize/virt-resize.pod:724
1137 #: ../sparsify/virt-sparsify.pod:277 ../test-tool/libguestfs-test-tool.pod:120
1138 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:290
1139 #: ../tools/virt-make-fs.pl:595 ../tools/virt-tar.pl:324
1140 #: ../tools/virt-win-reg.pl:796
1141 msgid ""
1142 "This program is distributed in the hope that it will be useful, but WITHOUT "
1143 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
1144 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
1145 "more details."
1146 msgstr ""
1147 "Ця програма поширюється у сподіванні, що вона буде корисною, але БЕЗ БУДЬ-"
1148 "ЯКИХ ГАРАНТІЙНИХ ЗОБОВ’ЯЗАНЬ; навіть без очевидної гарантії ПРАЦЕЗДАТНОСТІ "
1149 "або ПРИДАТНОСТІ ДЛЯ ВИКОРИСТАННЯ З ПЕВНОЮ МЕТОЮ. Докладніше про це можна "
1150 "дізнатися з GNU General Public License."
1151
1152 #. type: textblock
1153 #: ../align/virt-alignment-scan.pod:379 ../cat/virt-cat.pod:270
1154 #: ../cat/virt-filesystems.pod:414 ../cat/virt-ls.pod:525
1155 #: ../clone/virt-sysprep.pod:519 ../df/virt-df.pod:253
1156 #: ../edit/virt-edit.pod:386 ../fish/guestfish.pod:1315
1157 #: ../fish/virt-copy-in.pod:79 ../fish/virt-copy-out.pod:68
1158 #: ../fish/virt-tar-in.pod:77 ../fish/virt-tar-out.pod:70
1159 #: ../fuse/guestmount.pod:347 ../inspector/virt-inspector.pod:432
1160 #: ../rescue/virt-rescue.pod:314 ../resize/virt-resize.pod:729
1161 #: ../sparsify/virt-sparsify.pod:282 ../test-tool/libguestfs-test-tool.pod:125
1162 #: ../tools/virt-list-filesystems.pl:226 ../tools/virt-list-partitions.pl:295
1163 #: ../tools/virt-make-fs.pl:600 ../tools/virt-tar.pl:329
1164 #: ../tools/virt-win-reg.pl:801
1165 msgid ""
1166 "You should have received a copy of the GNU General Public License along with "
1167 "this program; if not, write to the Free Software Foundation, Inc., 51 "
1168 "Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
1169 msgstr ""
1170 "Ви маєте отримати копію GNU General Public License разом з цією програмою; "
1171 "якщо це не так, повідомте про факт за адресою Free Software Foundation, "
1172 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
1173
1174 #. type: textblock
1175 #: ../cat/virt-cat.pod:5
1176 msgid "virt-cat - Display files in a virtual machine"
1177 msgstr "virt-cat — показ файлів у віртуальній машині"
1178
1179 #. type: verbatim
1180 #: ../cat/virt-cat.pod:9
1181 #, no-wrap
1182 msgid ""
1183 " virt-cat [--options] -d domname file [file ...]\n"
1184 "\n"
1185 msgstr ""
1186 " virt-cat [--параметри] -d назва_домену файл [файл...]\n"
1187 "\n"
1188
1189 #. type: verbatim
1190 #: ../cat/virt-cat.pod:11
1191 #, no-wrap
1192 msgid ""
1193 " virt-cat [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
1194 "\n"
1195 msgstr ""
1196 " virt-cat [--параметри] -a диск.img [-a диск.img ...] файл [файл...]\n"
1197 "\n"
1198
1199 #. type: textblock
1200 #: ../cat/virt-cat.pod:13 ../edit/virt-edit.pod:15
1201 #: ../inspector/virt-inspector.pod:13
1202 msgid "Old-style:"
1203 msgstr "Застарілий стиль:"
1204
1205 #. type: verbatim
1206 #: ../cat/virt-cat.pod:15
1207 #, no-wrap
1208 msgid ""
1209 " virt-cat domname file\n"
1210 "\n"
1211 msgstr ""
1212 " virt-cat назва_домену файл\n"
1213 "\n"
1214
1215 #. type: verbatim
1216 #: ../cat/virt-cat.pod:17
1217 #, no-wrap
1218 msgid ""
1219 " virt-cat disk.img file\n"
1220 "\n"
1221 msgstr ""
1222 " virt-cat диск.img файл\n"
1223 "\n"
1224
1225 #. type: textblock
1226 #: ../cat/virt-cat.pod:21
1227 msgid ""
1228 "C<virt-cat> is a command line tool to display the contents of C<file> where "
1229 "C<file> exists in the named virtual machine (or disk image)."
1230 msgstr ""
1231 "C<virt-cat> — інструмент командного рядка для показу вмісту C<файла>, який "
1232 "зберігається у вказаній віртуальній машині (або образі диска)."
1233
1234 #. type: textblock
1235 #: ../cat/virt-cat.pod:24
1236 msgid ""
1237 "Multiple filenames can be given, in which case they are concatenated "
1238 "together.  Each filename must be a full path, starting at the root directory "
1239 "(starting with '/')."
1240 msgstr ""
1241 "Ви можете вказати декілька назв файлів. Вміст таких файлів буде об’єднано. "
1242 "Назви файлів слід вказувати повністю (разом зі шляхом), починаючи з "
1243 "кореневого каталогу (тобто назва має починатися з «/»)."
1244
1245 #. type: textblock
1246 #: ../cat/virt-cat.pod:28
1247 msgid ""
1248 "C<virt-cat> can be used to quickly view a file.  To edit a file, use C<virt-"
1249 "edit>.  For more complex cases you should look at the L<guestfish(1)> tool "
1250 "(see L</USING GUESTFISH> below)."
1251 msgstr ""
1252 "C<virt-cat> можна скористатися для пришвидшення перегляду файла. Для "
1253 "редагування даних слід користуватися C<virt-edit>. Для виконання складніших "
1254 "дій можна скористатися програмою L<guestfish(1)> (див. L</USING GUESTFISH> "
1255 "нижче)."
1256
1257 #. type: =head1
1258 #: ../cat/virt-cat.pod:32 ../cat/virt-ls.pod:35 ../df/virt-df.pod:43
1259 #: ../edit/virt-edit.pod:44 ../fish/guestfish.pod:41
1260 #: ../fish/guestfish.pod:1051 ../fish/virt-copy-in.pod:29
1261 #: ../fish/virt-copy-out.pod:21 ../fish/virt-tar-in.pod:30
1262 #: ../fish/virt-tar-out.pod:24 ../fuse/guestmount.pod:39
1263 #: ../resize/virt-resize.pod:27 ../sparsify/virt-sparsify.pod:75
1264 #: ../tools/virt-tar.pl:50
1265 msgid "EXAMPLES"
1266 msgstr "ПРИКЛАДИ"
1267
1268 #. type: textblock
1269 #: ../cat/virt-cat.pod:34
1270 msgid ""
1271 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
1272 msgstr ""
1273 "Показ файла C</etc/fstab> з віртуальної машини libvirt з назвою C<mydomain>:"
1274
1275 #. type: verbatim
1276 #: ../cat/virt-cat.pod:37
1277 #, no-wrap
1278 msgid ""
1279 " virt-cat -d mydomain /etc/fstab\n"
1280 "\n"
1281 msgstr ""
1282 " virt-cat -d mydomain /etc/fstab\n"
1283 "\n"
1284
1285 #. type: textblock
1286 #: ../cat/virt-cat.pod:39
1287 msgid "List syslog messages from a VM disk image file:"
1288 msgstr ""
1289 "Показ списку повідомлень syslog з файла образу диска віртуальної машини:"
1290
1291 #. type: verbatim
1292 #: ../cat/virt-cat.pod:41
1293 #, no-wrap
1294 msgid ""
1295 " virt-cat -a disk.img /var/log/messages | tail\n"
1296 "\n"
1297 msgstr ""
1298 " virt-cat -a disk.img /var/log/messages | tail\n"
1299 "\n"
1300
1301 #. type: textblock
1302 #: ../cat/virt-cat.pod:43
1303 msgid "Find out what DHCP IP address a VM acquired:"
1304 msgstr "Визначення IP-адреси DHCP, використаної віртуальною машиною:"
1305
1306 #. type: verbatim
1307 #: ../cat/virt-cat.pod:45
1308 #, no-wrap
1309 msgid ""
1310 " virt-cat -d mydomain /var/log/messages | \\\n"
1311 "   grep 'dhclient: bound to' | tail\n"
1312 "\n"
1313 msgstr ""
1314 " virt-cat -d mydomain /var/log/messages | \\\n"
1315 "   grep 'dhclient: bound to' | tail\n"
1316 "\n"
1317
1318 #. type: textblock
1319 #: ../cat/virt-cat.pod:48
1320 msgid "Find out what packages were recently installed:"
1321 msgstr "Пошук нещодавно встановлених пакунків:"
1322
1323 #. type: verbatim
1324 #: ../cat/virt-cat.pod:50
1325 #, no-wrap
1326 msgid ""
1327 " virt-cat -d mydomain /var/log/yum.log | tail\n"
1328 "\n"
1329 msgstr ""
1330 " virt-cat -d mydomain /var/log/yum.log | tail\n"
1331 "\n"
1332
1333 #. type: textblock
1334 #: ../cat/virt-cat.pod:52
1335 msgid "Find out who is logged on inside a virtual machine:"
1336 msgstr "Визначення користувачів, які працюють у віртуальній машині:"
1337
1338 #. type: verbatim
1339 #: ../cat/virt-cat.pod:54
1340 #, no-wrap
1341 msgid ""
1342 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
1343 " who /tmp/utmp\n"
1344 "\n"
1345 msgstr ""
1346 " virt-cat -d mydomain /var/run/utmp > /tmp/utmp\n"
1347 " who /tmp/utmp\n"
1348 "\n"
1349
1350 #. type: textblock
1351 #: ../cat/virt-cat.pod:57
1352 msgid "or who was logged on:"
1353 msgstr "або тих, які у ній працювали:"
1354
1355 #. type: verbatim
1356 #: ../cat/virt-cat.pod:59
1357 #, no-wrap
1358 msgid ""
1359 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
1360 " last -f /tmp/wtmp\n"
1361 "\n"
1362 msgstr ""
1363 " virt-cat -d mydomain /var/log/wtmp > /tmp/wtmp\n"
1364 " last -f /tmp/wtmp\n"
1365 "\n"
1366
1367 #. type: textblock
1368 #: ../cat/virt-cat.pod:74 ../cat/virt-filesystems.pod:103
1369 #: ../cat/virt-ls.pod:273 ../df/virt-df.pod:71 ../edit/virt-edit.pod:74
1370 #: ../inspector/virt-inspector.pod:67 ../rescue/virt-rescue.pod:96
1371 msgid ""
1372 "Add I<file> which should be a disk image from a virtual machine.  If the "
1373 "virtual machine has multiple block devices, you must supply all of them with "
1374 "separate I<-a> options."
1375 msgstr ""
1376
1377 #. type: =item
1378 #: ../cat/virt-cat.pod:98 ../cat/virt-filesystems.pod:148
1379 #: ../cat/virt-ls.pod:314 ../edit/virt-edit.pod:112 ../fish/guestfish.pod:217
1380 #: ../fuse/guestmount.pod:135 ../inspector/virt-inspector.pod:92
1381 msgid "B<--echo-keys>"
1382 msgstr "B<--echo-keys>"
1383
1384 #. type: textblock
1385 #: ../cat/virt-cat.pod:100
1386 msgid ""
1387 "When prompting for keys and passphrases, virt-cat normally turns echoing off "
1388 "so you cannot see what you are typing.  If you are not worried about Tempest "
1389 "attacks and there is no one else in the room you can specify this flag to "
1390 "see what you are typing."
1391 msgstr ""
1392
1393 #. type: verbatim
1394 #: ../cat/virt-cat.pod:116
1395 #, no-wrap
1396 msgid ""
1397 " virt-cat --format=raw -a disk.img file\n"
1398 "\n"
1399 msgstr ""
1400 " virt-cat --format=raw -a disk.img file\n"
1401 "\n"
1402
1403 #. type: verbatim
1404 #: ../cat/virt-cat.pod:120
1405 #, no-wrap
1406 msgid ""
1407 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
1408 "\n"
1409 msgstr ""
1410 " virt-cat --format=raw -a disk.img --format -a another.img file\n"
1411 "\n"
1412
1413 #. type: =item
1414 #: ../cat/virt-cat.pod:129 ../cat/virt-filesystems.pod:200
1415 #: ../cat/virt-ls.pod:361 ../edit/virt-edit.pod:156 ../fish/guestfish.pod:289
1416 #: ../fuse/guestmount.pod:172 ../inspector/virt-inspector.pod:114
1417 msgid "B<--keys-from-stdin>"
1418 msgstr "B<--keys-from-stdin>"
1419
1420 #. type: textblock
1421 #: ../cat/virt-cat.pod:131 ../cat/virt-filesystems.pod:202
1422 #: ../cat/virt-ls.pod:363 ../edit/virt-edit.pod:158 ../fish/guestfish.pod:291
1423 #: ../fuse/guestmount.pod:174 ../inspector/virt-inspector.pod:116
1424 msgid ""
1425 "Read key or passphrase parameters from stdin.  The default is to try to read "
1426 "passphrases from the user by opening C</dev/tty>."
1427 msgstr ""
1428
1429 #. type: =head1
1430 #: ../cat/virt-cat.pod:152 ../cat/virt-ls.pod:443 ../edit/virt-edit.pod:179
1431 #: ../inspector/virt-inspector.pod:144 ../rescue/virt-rescue.pod:209
1432 msgid "OLD-STYLE COMMAND LINE ARGUMENTS"
1433 msgstr ""
1434
1435 #. type: textblock
1436 #: ../cat/virt-cat.pod:154
1437 msgid "Previous versions of virt-cat allowed you to write either:"
1438 msgstr ""
1439
1440 #. type: verbatim
1441 #: ../cat/virt-cat.pod:156
1442 #, no-wrap
1443 msgid ""
1444 " virt-cat disk.img [disk.img ...] file\n"
1445 "\n"
1446 msgstr ""
1447
1448 #. type: textblock
1449 #: ../cat/virt-cat.pod:158 ../cat/virt-ls.pod:449 ../edit/virt-edit.pod:185
1450 #: ../inspector/virt-inspector.pod:150 ../rescue/virt-rescue.pod:215
1451 msgid "or"
1452 msgstr "або"
1453
1454 #. type: verbatim
1455 #: ../cat/virt-cat.pod:160
1456 #, no-wrap
1457 msgid ""
1458 " virt-cat guestname file\n"
1459 "\n"
1460 msgstr ""
1461
1462 #. type: textblock
1463 #: ../cat/virt-cat.pod:162 ../cat/virt-ls.pod:453 ../edit/virt-edit.pod:189
1464 #: ../inspector/virt-inspector.pod:154 ../rescue/virt-rescue.pod:219
1465 msgid ""
1466 "whereas in this version you should use I<-a> or I<-d> respectively to avoid "
1467 "the confusing case where a disk image might have the same name as a guest."
1468 msgstr ""
1469
1470 #. type: textblock
1471 #: ../cat/virt-cat.pod:166 ../cat/virt-ls.pod:457 ../edit/virt-edit.pod:193
1472 #: ../inspector/virt-inspector.pod:158 ../rescue/virt-rescue.pod:223
1473 msgid "For compatibility the old style is still supported."
1474 msgstr ""
1475
1476 #. type: =head1
1477 #: ../cat/virt-cat.pod:168 ../edit/virt-edit.pod:257 ../fish/guestfish.pod:858
1478 msgid "WINDOWS PATHS"
1479 msgstr "ШЛЯХИ У WINDOWS"
1480
1481 #. type: textblock
1482 #: ../cat/virt-cat.pod:170
1483 msgid ""
1484 "C<virt-cat> has a limited ability to understand Windows drive letters and "
1485 "paths (eg. C<E:\\foo\\bar.txt>)."
1486 msgstr ""
1487
1488 #. type: textblock
1489 #: ../cat/virt-cat.pod:173 ../edit/virt-edit.pod:262
1490 msgid "If and only if the guest is running Windows then:"
1491 msgstr ""
1492
1493 #. type: textblock
1494 #: ../cat/virt-cat.pod:179 ../edit/virt-edit.pod:268
1495 msgid ""
1496 "Drive letter prefixes like C<C:> are resolved against the Windows Registry "
1497 "to the correct filesystem."
1498 msgstr ""
1499
1500 #. type: textblock
1501 #: ../cat/virt-cat.pod:184 ../edit/virt-edit.pod:273
1502 msgid ""
1503 "Any backslash (C<\\>) characters in the path are replaced with forward "
1504 "slashes so that libguestfs can process it."
1505 msgstr ""
1506
1507 #. type: textblock
1508 #: ../cat/virt-cat.pod:189
1509 msgid ""
1510 "The path is resolved case insensitively to locate the file that should be "
1511 "displayed."
1512 msgstr ""
1513
1514 #. type: textblock
1515 #: ../cat/virt-cat.pod:194 ../edit/virt-edit.pod:283
1516 msgid "There are some known shortcomings:"
1517 msgstr ""
1518
1519 #. type: textblock
1520 #: ../cat/virt-cat.pod:200 ../edit/virt-edit.pod:289
1521 msgid "Some NTFS symbolic links may not be followed correctly."
1522 msgstr ""
1523
1524 #. type: textblock
1525 #: ../cat/virt-cat.pod:204 ../edit/virt-edit.pod:293
1526 msgid "NTFS junction points that cross filesystems are not followed."
1527 msgstr ""
1528
1529 #. type: =head1
1530 #: ../cat/virt-cat.pod:208 ../edit/virt-edit.pod:297
1531 msgid "USING GUESTFISH"
1532 msgstr "ВИКОРИСТАННЯ GUESTFISH"
1533
1534 #. type: textblock
1535 #: ../cat/virt-cat.pod:210
1536 msgid ""
1537 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
1538 "C<virt-cat> doesn't work."
1539 msgstr ""
1540
1541 #. type: textblock
1542 #: ../cat/virt-cat.pod:213
1543 msgid "Using C<virt-cat> is approximately equivalent to doing:"
1544 msgstr ""
1545
1546 #. type: verbatim
1547 #: ../cat/virt-cat.pod:215
1548 #, no-wrap
1549 msgid ""
1550 " guestfish --ro -i -d domname download file -\n"
1551 "\n"
1552 msgstr ""
1553
1554 #. type: textblock
1555 #: ../cat/virt-cat.pod:217
1556 msgid ""
1557 "where C<domname> is the name of the libvirt guest, and C<file> is the full "
1558 "path to the file.  Note the final C<-> (meaning \"output to stdout\")."
1559 msgstr ""
1560
1561 #. type: textblock
1562 #: ../cat/virt-cat.pod:221
1563 msgid ""
1564 "The command above uses libguestfs's guest inspection feature and so does not "
1565 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
1566 "disk images that don't contain guests.  To display a file from a disk image "
1567 "directly, use:"
1568 msgstr ""
1569
1570 #. type: verbatim
1571 #: ../cat/virt-cat.pod:226
1572 #, no-wrap
1573 msgid ""
1574 " guestfish --ro -a disk.img -m /dev/sda1 download file -\n"
1575 "\n"
1576 msgstr ""
1577
1578 #. type: textblock
1579 #: ../cat/virt-cat.pod:228
1580 msgid ""
1581 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
1582 "the disk image, and C<file> is the full path to the file."
1583 msgstr ""
1584
1585 #. type: textblock
1586 #: ../cat/virt-cat.pod:240 ../cat/virt-filesystems.pod:382
1587 #: ../cat/virt-ls.pod:492 ../df/virt-df.pod:224 ../edit/virt-edit.pod:351
1588 #: ../fuse/guestmount.pod:314 ../inspector/virt-inspector.pod:392
1589 #: ../resize/virt-resize.pod:685 ../sparsify/virt-sparsify.pod:229
1590 msgid ""
1591 "This program returns 0 if successful, or non-zero if there was an error."
1592 msgstr ""
1593
1594 #. type: textblock
1595 #: ../cat/virt-cat.pod:245
1596 msgid ""
1597 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1598 "tar-out(1)>, L<http://libguestfs.org/>."
1599 msgstr ""
1600 "L<guestfs(3)>, L<guestfish(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, L<virt-"
1601 "tar-out(1)>, L<http://libguestfs.org/>."
1602
1603 #. type: textblock
1604 #: ../cat/virt-cat.pod:258 ../inspector/virt-inspector.pod:420
1605 #: ../resize/virt-resize.pod:717 ../tools/virt-make-fs.pl:588
1606 msgid "Copyright (C) 2010-2011 Red Hat Inc."
1607 msgstr "©Red Hat Inc., 2010–2011"
1608
1609 #. type: textblock
1610 #: ../cat/virt-filesystems.pod:5
1611 msgid ""
1612 "virt-filesystems - List filesystems, partitions, block devices, LVM in a "
1613 "virtual machine or disk image"
1614 msgstr ""
1615
1616 #. type: verbatim
1617 #: ../cat/virt-filesystems.pod:9
1618 #, no-wrap
1619 msgid ""
1620 " virt-filesystems [--options] -d domname\n"
1621 "\n"
1622 msgstr ""
1623 " virt-filesystems [--параметри] -d назва_домену\n"
1624 "\n"
1625
1626 #. type: verbatim
1627 #: ../cat/virt-filesystems.pod:11
1628 #, no-wrap
1629 msgid ""
1630 " virt-filesystems [--options] -a disk.img [-a disk.img ...]\n"
1631 "\n"
1632 msgstr ""
1633
1634 #. type: textblock
1635 #: ../cat/virt-filesystems.pod:15
1636 msgid ""
1637 "This tool allows you to discover filesystems, partitions, logical volumes, "
1638 "and their sizes in a disk image or virtual machine.  It is a replacement for "
1639 "L<virt-list-filesystems(1)> and L<virt-list-partitions(1)>."
1640 msgstr ""
1641
1642 #. type: textblock
1643 #: ../cat/virt-filesystems.pod:20
1644 msgid ""
1645 "One use for this tool is from shell scripts to iterate over all filesystems "
1646 "from a disk image:"
1647 msgstr ""
1648
1649 #. type: verbatim
1650 #: ../cat/virt-filesystems.pod:23
1651 #, no-wrap
1652 msgid ""
1653 " for fs in $(virt-filesystems -a disk.img); do\n"
1654 "   # ...\n"
1655 " done\n"
1656 "\n"
1657 msgstr ""
1658 " for fs in $(virt-filesystems -a disk.img); do\n"
1659 "   # ...\n"
1660 " done\n"
1661 "\n"
1662
1663 #. type: textblock
1664 #: ../cat/virt-filesystems.pod:27
1665 msgid ""
1666 "Another use is to list partitions before using another tool to modify those "
1667 "partitions (such as L<virt-resize(1)>).  If you are curious about what an "
1668 "unknown disk image contains, use this tool along with L<virt-inspector(1)>."
1669 msgstr ""
1670
1671 #. type: textblock
1672 #: ../cat/virt-filesystems.pod:32
1673 msgid ""
1674 "Various command line options control what this program displays.  You need "
1675 "to give either I<-a> or I<-d> options to specify the disk image or libvirt "
1676 "guest respectively.  If you just specify that then the program shows "
1677 "filesystems found, one per line, like this:"
1678 msgstr ""
1679
1680 #. type: verbatim
1681 #: ../cat/virt-filesystems.pod:37
1682 #, no-wrap
1683 msgid ""
1684 " $ virt-filesystems -a disk.img\n"
1685 " /dev/sda1\n"
1686 " /dev/vg_guest/lv_root\n"
1687 "\n"
1688 msgstr ""
1689 " $ virt-filesystems -a disk.img\n"
1690 " /dev/sda1\n"
1691 " /dev/vg_guest/lv_root\n"
1692 "\n"
1693
1694 #. type: textblock
1695 #: ../cat/virt-filesystems.pod:41
1696 msgid ""
1697 "If you add I<-l> or I<--long> then the output includes extra information:"
1698 msgstr ""
1699
1700 #. type: verbatim
1701 #: ../cat/virt-filesystems.pod:44
1702 #, no-wrap
1703 msgid ""
1704 " $ virt-filesystems -a disk.img -l\n"
1705 " Name                   Type         VFS   Label  Size\n"
1706 " /dev/sda1              filesystem   ext4  boot   524288000\n"
1707 " /dev/vg_guest/lv_root  filesystem   ext4  root   10212081664\n"
1708 "\n"
1709 msgstr ""
1710
1711 #. type: textblock
1712 #: ../cat/virt-filesystems.pod:49
1713 msgid ""
1714 "If you add I<--extra> then non-mountable (swap, unknown) filesystems are "
1715 "shown as well:"
1716 msgstr ""
1717
1718 #. type: verbatim
1719 #: ../cat/virt-filesystems.pod:52
1720 #, no-wrap
1721 msgid ""
1722 " $ virt-filesystems -a disk.img --extra\n"
1723 " /dev/sda1\n"
1724 " /dev/vg_guest/lv_root\n"
1725 " /dev/vg_guest/lv_swap\n"
1726 " /dev/vg_guest/lv_data\n"
1727 "\n"
1728 msgstr ""
1729 " $ virt-filesystems -a disk.img --extra\n"
1730 " /dev/sda1\n"
1731 " /dev/vg_guest/lv_root\n"
1732 " /dev/vg_guest/lv_swap\n"
1733 " /dev/vg_guest/lv_data\n"
1734 "\n"
1735
1736 #. type: textblock
1737 #: ../cat/virt-filesystems.pod:58
1738 msgid ""
1739 "If you add I<--partitions> then partitions are shown instead of filesystems:"
1740 msgstr ""
1741
1742 #. type: verbatim
1743 #: ../cat/virt-filesystems.pod:60
1744 #, no-wrap
1745 msgid ""
1746 " $ virt-filesystems -a disk.img --partitions\n"
1747 " /dev/sda1\n"
1748 " /dev/sda2\n"
1749 "\n"
1750 msgstr ""
1751 " $ virt-filesystems -a disk.img --partitions\n"
1752 " /dev/sda1\n"
1753 " /dev/sda2\n"
1754 "\n"
1755
1756 #. type: textblock
1757 #: ../cat/virt-filesystems.pod:64
1758 msgid ""
1759 "Similarly you can use I<--logical-volumes>, I<--volume-groups>, I<--physical-"
1760 "volumes>, I<--block-devices> to list those items."
1761 msgstr ""
1762
1763 #. type: textblock
1764 #: ../cat/virt-filesystems.pod:67
1765 msgid ""
1766 "You can use these options in combination as well (if you want a combination "
1767 "including filesystems, you have to add I<--filesystems>).  Notice that some "
1768 "items fall into several categories (eg. C</dev/sda1> might be both a "
1769 "partition and a filesystem).  These items are listed several times.  To get "
1770 "a list which includes absolutely everything that virt-filesystems knows "
1771 "about, use the I<--all> option."
1772 msgstr ""
1773
1774 #. type: textblock
1775 #: ../cat/virt-filesystems.pod:74
1776 msgid ""
1777 "UUIDs (because they are quite long) are not shown by default.  Add the I<--"
1778 "uuid> option to display device and filesystem UUIDs in the long output."
1779 msgstr ""
1780
1781 #. type: textblock
1782 #: ../cat/virt-filesystems.pod:78
1783 msgid ""
1784 "I<--all --long --uuid> is a useful combination to display all possible "
1785 "information about everything."
1786 msgstr ""
1787
1788 #. type: verbatim
1789 #: ../cat/virt-filesystems.pod:81
1790 #, no-wrap
1791 msgid ""
1792 " $ virt-filesystems -a win.img --all --long --uuid -h\n"
1793 " Name      Type       VFS  Label           Size Parent   UUID\n"
1794 " /dev/sda1 filesystem ntfs System Reserved 100M -        F81C92571C92112C\n"
1795 " /dev/sda2 filesystem ntfs -               20G  -        F2E8996AE8992E3B\n"
1796 " /dev/sda1 partition  -    -               100M /dev/sda -\n"
1797 " /dev/sda2 partition  -    -               20G  /dev/sda -\n"
1798 " /dev/sda  device     -    -               20G  -        -\n"
1799 "\n"
1800 msgstr ""
1801
1802 #. type: textblock
1803 #: ../cat/virt-filesystems.pod:89
1804 msgid ""
1805 "For machine-readable output, use I<--csv> to get Comma-Separated Values."
1806 msgstr ""
1807
1808 #. type: =item
1809 #: ../cat/virt-filesystems.pod:110 ../tools/virt-list-filesystems.pl:121
1810 msgid "B<--all>"
1811 msgstr "B<--all>"
1812
1813 #. type: textblock
1814 #: ../cat/virt-filesystems.pod:112
1815 msgid ""
1816 "Display everything.  This is currently the same as specifying these options: "
1817 "I<--filesystems>, I<--extra>, I<--partitions>, I<--block-devices>, I<--"
1818 "logical-volumes>, I<--volume-groups>, I<--physical-volumes>.  (More may be "
1819 "added to this list in future)."
1820 msgstr ""
1821
1822 #. type: textblock
1823 #: ../cat/virt-filesystems.pod:117
1824 msgid "See also I<--long>."
1825 msgstr "Див. також I<--long>."
1826
1827 #. type: =item
1828 #: ../cat/virt-filesystems.pod:119
1829 msgid "B<--blkdevs>"
1830 msgstr "B<--blkdevs>"
1831
1832 #. type: =item
1833 #: ../cat/virt-filesystems.pod:121
1834 msgid "B<--block-devices>"
1835 msgstr "B<--block-devices>"
1836
1837 #. type: textblock
1838 #: ../cat/virt-filesystems.pod:123
1839 msgid "Display block devices."
1840 msgstr "Показати список блокових пристроїв."
1841
1842 #. type: =item
1843 #: ../cat/virt-filesystems.pod:135 ../cat/virt-ls.pod:301 ../df/virt-df.pod:88
1844 msgid "B<--csv>"
1845 msgstr "B<--csv>"
1846
1847 #. type: textblock
1848 #: ../cat/virt-filesystems.pod:137 ../cat/virt-ls.pod:303 ../df/virt-df.pod:90
1849 msgid ""
1850 "Write out the results in CSV format (comma-separated values).  This format "
1851 "can be imported easily into databases and spreadsheets, but read L</NOTE "
1852 "ABOUT CSV FORMAT> below."
1853 msgstr ""
1854
1855 #. type: textblock
1856 #: ../cat/virt-filesystems.pod:150
1857 msgid ""
1858 "When prompting for keys and passphrases, virt-filesystems normally turns "
1859 "echoing off so you cannot see what you are typing.  If you are not worried "
1860 "about Tempest attacks and there is no one else in the room you can specify "
1861 "this flag to see what you are typing."
1862 msgstr ""
1863
1864 #. type: =item
1865 #: ../cat/virt-filesystems.pod:155
1866 msgid "B<--extra>"
1867 msgstr "B<--extra>"
1868
1869 #. type: textblock
1870 #: ../cat/virt-filesystems.pod:157
1871 msgid ""
1872 "This causes filesystems that are not ordinary, mountable filesystems to be "
1873 "displayed.  This category includes swapspace, and filesystems that are empty "
1874 "or contain unknown data."
1875 msgstr ""
1876
1877 #. type: textblock
1878 #: ../cat/virt-filesystems.pod:161
1879 msgid "This option implies I<--filesystems>."
1880 msgstr ""
1881
1882 #. type: =item
1883 #: ../cat/virt-filesystems.pod:163
1884 msgid "B<--filesystems>"
1885 msgstr "B<--filesystems>"
1886
1887 #. type: textblock
1888 #: ../cat/virt-filesystems.pod:165
1889 msgid ""
1890 "Display mountable filesystems.  If no display option was selected then this "
1891 "option is implied."
1892 msgstr ""
1893
1894 #. type: textblock
1895 #: ../cat/virt-filesystems.pod:168
1896 msgid "With I<--extra>, non-mountable filesystems are shown too."
1897 msgstr ""
1898
1899 #. type: verbatim
1900 #: ../cat/virt-filesystems.pod:181
1901 #, no-wrap
1902 msgid ""
1903 " virt-filesystems --format=raw -a disk.img\n"
1904 "\n"
1905 msgstr ""
1906 " virt-filesystems --format=raw -a диск.img\n"
1907 "\n"
1908
1909 #. type: verbatim
1910 #: ../cat/virt-filesystems.pod:185
1911 #, no-wrap
1912 msgid ""
1913 " virt-filesystems --format=raw -a disk.img --format -a another.img\n"
1914 "\n"
1915 msgstr ""
1916
1917 #. type: =item
1918 #: ../cat/virt-filesystems.pod:194 ../cat/virt-ls.pod:352
1919 #: ../df/virt-df.pod:125 ../fish/guestfish.pod:156
1920 #: ../tools/virt-list-partitions.pl:109
1921 msgid "B<-h>"
1922 msgstr "B<-h>"
1923
1924 #. type: =item
1925 #: ../cat/virt-filesystems.pod:196 ../cat/virt-ls.pod:354
1926 #: ../df/virt-df.pod:127 ../tools/virt-list-partitions.pl:111
1927 msgid "B<--human-readable>"
1928 msgstr "B<--human-readable>"
1929
1930 #. type: textblock
1931 #: ../cat/virt-filesystems.pod:198
1932 msgid "In I<--long> mode, display sizes in human-readable format."
1933 msgstr ""
1934
1935 #. type: =item
1936 #: ../cat/virt-filesystems.pod:205 ../cat/virt-ls.pod:366
1937 #: ../tools/virt-list-filesystems.pl:108 ../tools/virt-list-partitions.pl:119
1938 msgid "B<-l>"
1939 msgstr "B<-l>"
1940
1941 #. type: =item
1942 #: ../cat/virt-filesystems.pod:207 ../cat/virt-ls.pod:368
1943 #: ../tools/virt-list-filesystems.pl:110 ../tools/virt-list-partitions.pl:121
1944 msgid "B<--long>"
1945 msgstr "B<--long>"
1946
1947 #. type: textblock
1948 #: ../cat/virt-filesystems.pod:209
1949 msgid "Display extra columns of data (\"long format\")."
1950 msgstr ""
1951
1952 #. type: textblock
1953 #: ../cat/virt-filesystems.pod:211
1954 msgid "A title row is added unless you also specify I<--no-title>."
1955 msgstr ""
1956
1957 #. type: textblock
1958 #: ../cat/virt-filesystems.pod:213
1959 msgid ""
1960 "The extra columns displayed depend on what output you select, and the "
1961 "ordering of columns may change in future versions.  Use the title row, I<--"
1962 "csv> output and/or L<csvtool(1)> to match columns to data in external "
1963 "programs."
1964 msgstr ""
1965
1966 #. type: textblock
1967 #: ../cat/virt-filesystems.pod:218
1968 msgid ""
1969 "Use I<-h> if you want sizes to be displayed in human-readable format.  The "
1970 "default is to show raw numbers of I<bytes>."
1971 msgstr ""
1972
1973 #. type: textblock
1974 #: ../cat/virt-filesystems.pod:221
1975 msgid "Use I<--uuid> to display UUIDs too."
1976 msgstr ""
1977
1978 #. type: =item
1979 #: ../cat/virt-filesystems.pod:223
1980 msgid "B<--lvs>"
1981 msgstr "B<--lvs>"
1982
1983 #. type: =item
1984 #: ../cat/virt-filesystems.pod:225
1985 msgid "B<--logvols>"
1986 msgstr "B<--logvols>"
1987
1988 #. type: =item
1989 #: ../cat/virt-filesystems.pod:227
1990 msgid "B<--logical-volumes>"
1991 msgstr "B<--logical-volumes>"
1992
1993 #. type: textblock
1994 #: ../cat/virt-filesystems.pod:229
1995 msgid ""
1996 "Display LVM logical volumes.  In this mode, these are displayed irrespective "
1997 "of whether the LVs contain filesystems."
1998 msgstr ""
1999
2000 #. type: =item
2001 #: ../cat/virt-filesystems.pod:232
2002 msgid "B<--no-title>"
2003 msgstr "B<--no-title>"
2004
2005 #. type: textblock
2006 #: ../cat/virt-filesystems.pod:234
2007 msgid "In I<--long> mode, don't add a title row."
2008 msgstr ""
2009
2010 #. type: textblock
2011 #: ../cat/virt-filesystems.pod:236
2012 msgid ""
2013 "Note that the order of the columns is not fixed, and may change in future "
2014 "versions of virt-filesystems, so using this option may give you unexpected "
2015 "surprises."
2016 msgstr ""
2017
2018 #. type: =item
2019 #: ../cat/virt-filesystems.pod:240
2020 msgid "B<--parts>"
2021 msgstr "B<--parts>"
2022
2023 #. type: =item
2024 #: ../cat/virt-filesystems.pod:242
2025 msgid "B<--partitions>"
2026 msgstr "B<--partitions>"
2027
2028 #. type: textblock
2029 #: ../cat/virt-filesystems.pod:244
2030 msgid ""
2031 "Display partitions.  In this mode, these are displayed irrespective of "
2032 "whether the partitions contain filesystems."
2033 msgstr ""
2034
2035 #. type: =item
2036 #: ../cat/virt-filesystems.pod:247
2037 msgid "B<--pvs>"
2038 msgstr "B<--pvs>"
2039
2040 #. type: =item
2041 #: ../cat/virt-filesystems.pod:249
2042 msgid "B<--physvols>"
2043 msgstr "B<--physvols>"
2044
2045 #. type: =item
2046 #: ../cat/virt-filesystems.pod:251
2047 msgid "B<--physical-volumes>"
2048 msgstr "B<--physical-volumes>"
2049
2050 #. type: textblock
2051 #: ../cat/virt-filesystems.pod:253
2052 msgid "Display LVM physical volumes."
2053 msgstr ""
2054
2055 #. type: =item
2056 #: ../cat/virt-filesystems.pod:255 ../df/virt-df.pod:163
2057 msgid "B<--uuid>"
2058 msgstr "B<--uuid>"
2059
2060 #. type: =item
2061 #: ../cat/virt-filesystems.pod:257
2062 msgid "B<--uuids>"
2063 msgstr "B<--uuids>"
2064
2065 #. type: textblock
2066 #: ../cat/virt-filesystems.pod:259
2067 msgid "In I<--long> mode, display UUIDs as well."
2068 msgstr ""
2069
2070 #. type: =item
2071 #: ../cat/virt-filesystems.pod:273
2072 msgid "B<--vgs>"
2073 msgstr "B<--vgs>"
2074
2075 #. type: =item
2076 #: ../cat/virt-filesystems.pod:275
2077 msgid "B<--volgroups>"
2078 msgstr "B<--volgroups>"
2079
2080 #. type: =item
2081 #: ../cat/virt-filesystems.pod:277
2082 msgid "B<--volume-groups>"
2083 msgstr "B<--volume-groups>"
2084
2085 #. type: textblock
2086 #: ../cat/virt-filesystems.pod:279
2087 msgid "Display LVM volume groups."
2088 msgstr ""
2089
2090 #. type: =head1
2091 #: ../cat/virt-filesystems.pod:287
2092 msgid "COLUMNS"
2093 msgstr "СТОВПЧИКИ"
2094
2095 #. type: textblock
2096 #: ../cat/virt-filesystems.pod:289
2097 msgid ""
2098 "Note that columns in the output are subject to reordering and change in "
2099 "future versions of this tool."
2100 msgstr ""
2101
2102 #. type: =item
2103 #: ../cat/virt-filesystems.pod:294
2104 msgid "B<Name>"
2105 msgstr ""
2106
2107 #. type: textblock
2108 #: ../cat/virt-filesystems.pod:296
2109 msgid "The filesystem, partition, block device or LVM name."
2110 msgstr ""
2111
2112 #. type: textblock
2113 #: ../cat/virt-filesystems.pod:298
2114 msgid ""
2115 "For device and partition names these are displayed as canonical libguestfs "
2116 "names, so that for example C</dev/sda2> is the second partition on the first "
2117 "device."
2118 msgstr ""
2119
2120 #. type: textblock
2121 #: ../cat/virt-filesystems.pod:302
2122 msgid ""
2123 "If the I<--long> option is B<not> specified, then only the name column is "
2124 "shown in the output."
2125 msgstr ""
2126
2127 #. type: =item
2128 #: ../cat/virt-filesystems.pod:305
2129 msgid "B<Type>"
2130 msgstr ""
2131
2132 #. type: textblock
2133 #: ../cat/virt-filesystems.pod:307
2134 msgid "The object type, for example C<filesystem>, C<lv>, C<device> etc."
2135 msgstr ""
2136
2137 #. type: =item
2138 #: ../cat/virt-filesystems.pod:309
2139 msgid "B<VFS>"
2140 msgstr "B<VFS>"
2141
2142 #. type: textblock
2143 #: ../cat/virt-filesystems.pod:311
2144 msgid ""
2145 "If there is a filesystem, then this column displays the filesystem type if "
2146 "one could be detected, eg. C<ext4>."
2147 msgstr ""
2148
2149 #. type: =item
2150 #: ../cat/virt-filesystems.pod:314
2151 msgid "B<Label>"
2152 msgstr ""
2153
2154 #. type: textblock
2155 #: ../cat/virt-filesystems.pod:316
2156 msgid ""
2157 "If the object has a label (used for identifying and mounting filesystems) "
2158 "then this column contains the label."
2159 msgstr ""
2160
2161 #. type: =item
2162 #: ../cat/virt-filesystems.pod:319
2163 msgid "B<MBR>"
2164 msgstr ""
2165
2166 #. type: textblock
2167 #: ../cat/virt-filesystems.pod:321
2168 msgid ""
2169 "The partition type byte, displayed as a two digit hexadecimal number.  A "
2170 "comprehensive list of partition types can be found here: L<http://www.win."
2171 "tue.nl/~aeb/partitions/partition_types-1.html>"
2172 msgstr ""
2173
2174 #. type: textblock
2175 #: ../cat/virt-filesystems.pod:325
2176 msgid "This is only applicable for DOS (MBR) partitions."
2177 msgstr ""
2178
2179 #. type: =item
2180 #: ../cat/virt-filesystems.pod:327
2181 msgid "B<Size>"
2182 msgstr ""
2183
2184 #. type: textblock
2185 #: ../cat/virt-filesystems.pod:329
2186 msgid ""
2187 "The size of the object in bytes.  If the I<--human> option is used then the "
2188 "size is displayed in a human-readable form."
2189 msgstr ""
2190
2191 #. type: =item
2192 #: ../cat/virt-filesystems.pod:332
2193 msgid "B<Parent>"
2194 msgstr ""
2195
2196 #. type: textblock
2197 #: ../cat/virt-filesystems.pod:334
2198 msgid ""
2199 "The parent column records the parent relationship between objects.  For "
2200 "example, if the object is a partition, then this column contains the name of "
2201 "the containing device.  If the object is a logical volume, then this column "
2202 "is the name of the volume group."
2203 msgstr ""
2204
2205 #. type: =item
2206 #: ../cat/virt-filesystems.pod:339
2207 msgid "B<UUID>"
2208 msgstr "B<UUID>"
2209
2210 #. type: textblock
2211 #: ../cat/virt-filesystems.pod:341
2212 msgid ""
2213 "If the object has a UUID (used for identifying and mounting filesystems and "
2214 "block devices) then this column contains the UUID as a string."
2215 msgstr ""
2216
2217 #. type: textblock
2218 #: ../cat/virt-filesystems.pod:345
2219 msgid "The UUID is only displayed if the I<--uuid> option is given."
2220 msgstr ""
2221
2222 #. type: =head1
2223 #: ../cat/virt-filesystems.pod:349 ../cat/virt-ls.pod:459
2224 #: ../df/virt-df.pod:191
2225 msgid "NOTE ABOUT CSV FORMAT"
2226 msgstr ""
2227
2228 #. type: textblock
2229 #: ../cat/virt-filesystems.pod:351 ../cat/virt-ls.pod:461
2230 #: ../df/virt-df.pod:193
2231 msgid ""
2232 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
2233 "should be easy to parse, but it is definitely not easy to parse."
2234 msgstr ""
2235
2236 #. type: textblock
2237 #: ../cat/virt-filesystems.pod:354 ../cat/virt-ls.pod:464
2238 #: ../df/virt-df.pod:196
2239 msgid ""
2240 "Myth: Just split fields at commas.  Reality: This does I<not> work "
2241 "reliably.  This example has two columns:"
2242 msgstr ""
2243
2244 #. type: verbatim
2245 #: ../cat/virt-filesystems.pod:357 ../cat/virt-ls.pod:467
2246 #: ../df/virt-df.pod:199
2247 #, no-wrap
2248 msgid ""
2249 " \"foo,bar\",baz\n"
2250 "\n"
2251 msgstr ""
2252
2253 #. type: textblock
2254 #: ../cat/virt-filesystems.pod:359 ../cat/virt-ls.pod:469
2255 #: ../df/virt-df.pod:201
2256 msgid ""
2257 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
2258 "reliably.  This example has one row:"
2259 msgstr ""
2260
2261 #. type: verbatim
2262 #: ../cat/virt-filesystems.pod:362 ../cat/virt-ls.pod:472
2263 #: ../df/virt-df.pod:204
2264 #, no-wrap
2265 msgid ""
2266 " \"foo\n"
2267 " bar\",baz\n"
2268 "\n"
2269 msgstr ""
2270
2271 #. type: textblock
2272 #: ../cat/virt-filesystems.pod:365 ../cat/virt-ls.pod:475
2273 #: ../df/virt-df.pod:207
2274 msgid ""
2275 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
2276 "packaged in major Linux distributions)."
2277 msgstr ""
2278
2279 #. type: textblock
2280 #: ../cat/virt-filesystems.pod:368 ../cat/virt-ls.pod:478
2281 #: ../df/virt-df.pod:210
2282 msgid ""
2283 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
2284 "or Python's built-in csv library)."
2285 msgstr ""
2286
2287 #. type: textblock
2288 #: ../cat/virt-filesystems.pod:371 ../cat/virt-ls.pod:481
2289 #: ../df/virt-df.pod:213
2290 msgid "Most spreadsheets and databases can import CSV directly."
2291 msgstr ""
2292
2293 #. type: textblock
2294 #: ../cat/virt-filesystems.pod:387
2295 msgid ""
2296 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2297 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2298 "libguestfs.org/>."
2299 msgstr ""
2300 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-list-"
2301 "filesystems(1)>, L<virt-list-partitions(1)>, L<csvtool(1)>, L<http://"
2302 "libguestfs.org/>."
2303
2304 #. type: textblock
2305 #: ../cat/virt-filesystems.pod:402 ../tools/virt-win-reg.pl:789
2306 msgid "Copyright (C) 2010 Red Hat Inc."
2307 msgstr "©Red Hat Inc., 2010"
2308
2309 #. type: textblock
2310 #: ../cat/virt-ls.pod:5
2311 msgid "virt-ls - List files in a virtual machine"
2312 msgstr ""
2313
2314 #. type: verbatim
2315 #: ../cat/virt-ls.pod:9
2316 #, no-wrap
2317 msgid ""
2318 " virt-ls [--options] -d domname directory [directory ...]\n"
2319 "\n"
2320 msgstr ""
2321
2322 #. type: verbatim
2323 #: ../cat/virt-ls.pod:11
2324 #, no-wrap
2325 msgid ""
2326 " virt-ls [--options] -a disk.img [-a disk.img ...] directory [directory ...]\n"
2327 "\n"
2328 msgstr ""
2329
2330 #. type: textblock
2331 #: ../cat/virt-ls.pod:13 ../df/virt-df.pod:15 ../rescue/virt-rescue.pod:13
2332 msgid "Old style:"
2333 msgstr "Старий стиль:"
2334
2335 #. type: verbatim
2336 #: ../cat/virt-ls.pod:15
2337 #, no-wrap
2338 msgid ""
2339 " virt-ls [--options] domname directory\n"
2340 "\n"
2341 msgstr ""
2342
2343 #. type: verbatim
2344 #: ../cat/virt-ls.pod:17
2345 #, no-wrap
2346 msgid ""
2347 " virt-ls [--options] disk.img [disk.img ...] directory\n"
2348 "\n"
2349 msgstr ""
2350
2351 #. type: textblock
2352 #: ../cat/virt-ls.pod:21
2353 msgid ""
2354 "C<virt-ls> lists filenames, file sizes, checksums, extended attributes and "
2355 "more from a virtual machine or disk image."
2356 msgstr ""
2357
2358 #. type: textblock
2359 #: ../cat/virt-ls.pod:24
2360 msgid ""
2361 "Multiple directory names can be given, in which case the output from each is "
2362 "concatenated."
2363 msgstr ""
2364
2365 #. type: textblock
2366 #: ../cat/virt-ls.pod:27
2367 msgid ""
2368 "To list directories from a libvirt guest use the I<-d> option to specify the "
2369 "name of the guest.  For a disk image, use the I<-a> option."
2370 msgstr ""
2371
2372 #. type: textblock
2373 #: ../cat/virt-ls.pod:31
2374 msgid ""
2375 "C<virt-ls> can do many simple file listings.  For more complicated cases you "
2376 "may need to use L<guestfish(1)>, or write a program directly to the L<guestfs"
2377 "(3)> API."
2378 msgstr ""
2379
2380 #. type: textblock
2381 #: ../cat/virt-ls.pod:37
2382 msgid "Get a list of all files and directories in a virtual machine:"
2383 msgstr ""
2384
2385 #. type: verbatim
2386 #: ../cat/virt-ls.pod:39
2387 #, no-wrap
2388 msgid ""
2389 " virt-ls -R -d guest /\n"
2390 "\n"
2391 msgstr ""
2392
2393 #. type: textblock
2394 #: ../cat/virt-ls.pod:41
2395 msgid "List all setuid or setgid programs in a Linux virtual machine:"
2396 msgstr ""
2397
2398 #. type: verbatim
2399 #: ../cat/virt-ls.pod:43
2400 #, no-wrap
2401 msgid ""
2402 " virt-ls -lR -d guest / | grep '^- [42]'\n"
2403 "\n"
2404 msgstr ""
2405
2406 #. type: textblock
2407 #: ../cat/virt-ls.pod:45
2408 msgid "List all public-writable directories in a Linux virtual machine:"
2409 msgstr ""
2410
2411 #. type: verbatim
2412 #: ../cat/virt-ls.pod:47
2413 #, no-wrap
2414 msgid ""
2415 " virt-ls -lR -d guest / | grep '^d ...7'\n"
2416 "\n"
2417 msgstr ""
2418
2419 #. type: textblock
2420 #: ../cat/virt-ls.pod:49
2421 msgid "List all Unix domain sockets in a Linux virtual machine:"
2422 msgstr ""
2423
2424 #. type: verbatim
2425 #: ../cat/virt-ls.pod:51
2426 #, no-wrap
2427 msgid ""
2428 " virt-ls -lR -d guest / | grep '^s'\n"
2429 "\n"
2430 msgstr ""
2431
2432 #. type: textblock
2433 #: ../cat/virt-ls.pod:53
2434 msgid "List all regular files with filenames ending in '.png':"
2435 msgstr ""
2436
2437 #. type: verbatim
2438 #: ../cat/virt-ls.pod:55
2439 #, no-wrap
2440 msgid ""
2441 " virt-ls -lR -d guest / | grep -i '^-.*\\.png$'\n"
2442 "\n"
2443 msgstr ""
2444
2445 #. type: textblock
2446 #: ../cat/virt-ls.pod:57
2447 msgid "To display files larger than 10MB in home directories:"
2448 msgstr ""
2449
2450 #. type: verbatim
2451 #: ../cat/virt-ls.pod:59
2452 #, no-wrap
2453 msgid ""
2454 " virt-ls -lR -d guest /home | awk '$3 > 10*1024*1024'\n"
2455 "\n"
2456 msgstr ""
2457
2458 #. type: textblock
2459 #: ../cat/virt-ls.pod:61
2460 msgid "Find everything modified in the last 7 days:"
2461 msgstr ""
2462
2463 #. type: verbatim
2464 #: ../cat/virt-ls.pod:63
2465 #, no-wrap
2466 msgid ""
2467 " virt-ls -lR -d guest --time-days / | awk '$6 <= 7'\n"
2468 "\n"
2469 msgstr ""
2470
2471 #. type: textblock
2472 #: ../cat/virt-ls.pod:65
2473 msgid "Find regular files modified in the last 24 hours:"
2474 msgstr ""
2475
2476 #. type: verbatim
2477 #: ../cat/virt-ls.pod:67
2478 #, no-wrap
2479 msgid ""
2480 " virt-ls -lR -d guest --time-days / | grep '^-' | awk '$6 < 1'\n"
2481 "\n"
2482 msgstr ""
2483
2484 #. type: =head2
2485 #: ../cat/virt-ls.pod:69
2486 msgid "DIFFERENCES IN SNAPSHOTS AND BACKING FILES"
2487 msgstr ""
2488
2489 #. type: textblock
2490 #: ../cat/virt-ls.pod:71
2491 msgid ""
2492 "Find the differences between files in a guest and an earlier snapshot of the "
2493 "same guest."
2494 msgstr ""
2495
2496 #. type: verbatim
2497 #: ../cat/virt-ls.pod:74
2498 #, no-wrap
2499 msgid ""
2500 " virt-ls -lR -a snapshot.img / --uids --time-t > old\n"
2501 " virt-ls -lR -a current.img / --uids --time-t > new\n"
2502 " diff -u old new | less\n"
2503 "\n"
2504 msgstr ""
2505
2506 #. type: textblock
2507 #: ../cat/virt-ls.pod:78
2508 msgid ""
2509 "The commands above won't find files where the content has changed but the "
2510 "metadata (eg. file size and modification date) is the same.  To do that, you "
2511 "need to add the I<--checksum> parameter to both C<virt-ls> commands.  I<--"
2512 "checksum> can be quite slow since it has to read and compute a checksum of "
2513 "every regular file in the virtual machine."
2514 msgstr ""
2515
2516 #. type: =head1
2517 #: ../cat/virt-ls.pod:84
2518 msgid "OUTPUT MODES"
2519 msgstr "РЕЖИМИ ВИВЕДЕННЯ ДАНИХ"
2520
2521 #. type: textblock
2522 #: ../cat/virt-ls.pod:86
2523 msgid ""
2524 "C<virt-ls> has four output modes, controlled by different combinations of "
2525 "the I<-l> and I<-R> options."
2526 msgstr ""
2527
2528 #. type: =head2
2529 #: ../cat/virt-ls.pod:89
2530 msgid "SIMPLE LISTING"
2531 msgstr "ПРОСТИЙ СПИСОК"
2532
2533 #. type: textblock
2534 #: ../cat/virt-ls.pod:91
2535 msgid "A simple listing is like the ordinary L<ls(1)> command:"
2536 msgstr ""
2537
2538 #. type: verbatim
2539 #: ../cat/virt-ls.pod:93
2540 #, no-wrap
2541 msgid ""
2542 " $ virt-ls -d guest /\n"
2543 " bin\n"
2544 " boot\n"
2545 " [etc.]\n"
2546 "\n"
2547 msgstr ""
2548 " $ virt-ls -d guest /\n"
2549 " bin\n"
2550 " boot\n"
2551 " [тощо]\n"
2552 "\n"
2553
2554 #. type: =head2
2555 #: ../cat/virt-ls.pod:98
2556 msgid "LONG LISTING"
2557 msgstr "ДОВГИЙ СПИСОК"
2558
2559 #. type: textblock
2560 #: ../cat/virt-ls.pod:100
2561 msgid ""
2562 "With the I<-l> (I<--long>) option, the output is like the C<ls -l> command "
2563 "(more specifically, like the C<guestfs_ll> function)."
2564 msgstr ""
2565
2566 #. type: verbatim
2567 #: ../cat/virt-ls.pod:103
2568 #, no-wrap
2569 msgid ""
2570 " $ virt-ls -l -d guest /\n"
2571 " total 204\n"
2572 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2573 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2574 " [etc.]\n"
2575 "\n"
2576 msgstr ""
2577 " $ virt-ls -l -d guest /\n"
2578 " total 204\n"
2579 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
2580 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
2581 " [тощо]\n"
2582 "\n"
2583
2584 #. type: textblock
2585 #: ../cat/virt-ls.pod:109
2586 msgid ""
2587 "Note that while this is useful for displaying a directory, do not try "
2588 "parsing this output in another program.  Use L</RECURSIVE LONG LISTING> "
2589 "instead."
2590 msgstr ""
2591
2592 #. type: =head2
2593 #: ../cat/virt-ls.pod:113
2594 msgid "RECURSIVE LISTING"
2595 msgstr "РЕКУРСИВНИЙ СПИСОК"
2596
2597 #. type: textblock
2598 #: ../cat/virt-ls.pod:115
2599 msgid ""
2600 "With the I<-R> (I<--recursive>) option, C<virt-ls> lists the names of files "
2601 "and directories recursively:"
2602 msgstr ""
2603
2604 #. type: verbatim
2605 #: ../cat/virt-ls.pod:118
2606 #, no-wrap
2607 msgid ""
2608 " $ virt-ls -R -d guest /tmp\n"
2609 " foo\n"
2610 " foo/bar\n"
2611 " [etc.]\n"
2612 "\n"
2613 msgstr ""
2614 " $ virt-ls -R -d guest /tmp\n"
2615 " foo\n"
2616 " foo/bar\n"
2617 " [тощо]\n"
2618 "\n"
2619
2620 #. type: textblock
2621 #: ../cat/virt-ls.pod:123
2622 msgid ""
2623 "To generate this output, C<virt-ls> runs the C<guestfs_find0> function and "
2624 "converts C<\\0> characters to C<\\n>."
2625 msgstr ""
2626
2627 #. type: =head2
2628 #: ../cat/virt-ls.pod:126
2629 msgid "RECURSIVE LONG LISTING"
2630 msgstr "РЕКУРСИВНИЙ ДОВГИЙ СПИСОК"
2631
2632 #. type: textblock
2633 #: ../cat/virt-ls.pod:128
2634 msgid ""
2635 "Using I<-lR> options together changes the output to display directories "
2636 "recursively, with file stats, and optionally other features such as "
2637 "checksums and extended attributes."
2638 msgstr ""
2639
2640 #. type: textblock
2641 #: ../cat/virt-ls.pod:132
2642 msgid ""
2643 "Most of the interesting features of C<virt-ls> are only available when using "
2644 "I<-lR> mode."
2645 msgstr ""
2646
2647 #. type: textblock
2648 #: ../cat/virt-ls.pod:135
2649 msgid ""
2650 "The fields are normally space-separated.  Filenames are B<not> quoted, so "
2651 "you cannot use the output in another program (because filenames can contain "
2652 "spaces and other unsafe characters).  If the guest was untrusted and someone "
2653 "knew you were using C<virt-ls> to analyze the guest, they could play tricks "
2654 "on you by creating filenames with embedded newline characters.  To B<safely> "
2655 "parse the output in another program, use the I<--csv> (Comma-Separated "
2656 "Values) option."
2657 msgstr ""
2658
2659 #. type: textblock
2660 #: ../cat/virt-ls.pod:143
2661 msgid ""
2662 "Note that this output format is completely unrelated to the C<ls -lR> "
2663 "command."
2664 msgstr ""
2665
2666 #. type: verbatim
2667 #: ../cat/virt-ls.pod:146
2668 #, no-wrap
2669 msgid ""
2670 " $ virt-ls -lR -d guest /bin\n"
2671 " d 0555       4096 /bin\n"
2672 " - 0755        123 /bin/alsaunmute\n"
2673 " - 0755      28328 /bin/arch\n"
2674 " l 0777          4 /bin/awk -> gawk\n"
2675 " - 0755      27216 /bin/basename\n"
2676 " - 0755     943360 /bin/bash\n"
2677 " [etc.]\n"
2678 "\n"
2679 msgstr ""
2680 " $ virt-ls -lR -d guest /bin\n"
2681 " d 0555       4096 /bin\n"
2682 " - 0755        123 /bin/alsaunmute\n"
2683 " - 0755      28328 /bin/arch\n"
2684 " l 0777          4 /bin/awk -> gawk\n"
2685 " - 0755      27216 /bin/basename\n"
2686 " - 0755     943360 /bin/bash\n"
2687 " [тощо]\n"
2688 "\n"
2689
2690 #. type: textblock
2691 #: ../cat/virt-ls.pod:155
2692 msgid "These basic fields are always shown:"
2693 msgstr ""
2694
2695 #. type: =item
2696 #: ../cat/virt-ls.pod:159
2697 msgid "type"
2698 msgstr "тип"
2699
2700 #. type: textblock
2701 #: ../cat/virt-ls.pod:161
2702 msgid ""
2703 "The file type, one of: C<-> (regular file), C<d> (directory), C<c> "
2704 "(character device), C<b> (block device), C<p> (named pipe), C<l> (symbolic "
2705 "link), C<s> (socket) or C<u> (unknown)."
2706 msgstr ""
2707
2708 #. type: =item
2709 #: ../cat/virt-ls.pod:171
2710 msgid "permissions"
2711 msgstr "права доступу"
2712
2713 #. type: textblock
2714 #: ../cat/virt-ls.pod:173
2715 msgid "The Unix permissions, displayed as a 4 digit octal number."
2716 msgstr ""
2717
2718 #. type: =item
2719 #: ../cat/virt-ls.pod:175
2720 msgid "size"
2721 msgstr "розмір"
2722
2723 #. type: textblock
2724 #: ../cat/virt-ls.pod:177
2725 msgid ""
2726 "The size of the file.  This is shown in bytes unless I<-h> or I<--human-"
2727 "readable> option is given, in which case this is shown as a human-readable "
2728 "number."
2729 msgstr ""
2730
2731 #. type: =head2
2732 #: ../cat/virt-ls.pod:181 ../fish/guestfish-actions.pod:4380
2733 msgid "path"
2734 msgstr "шлях"
2735
2736 #. type: textblock
2737 #: ../cat/virt-ls.pod:183
2738 msgid "The full path of the file or directory."
2739 msgstr ""
2740
2741 #. type: =item
2742 #: ../cat/virt-ls.pod:185
2743 msgid "link"
2744 msgstr "посилання"
2745
2746 #. type: textblock
2747 #: ../cat/virt-ls.pod:187
2748 msgid "For symbolic links only, the link target."
2749 msgstr ""
2750
2751 #. type: textblock
2752 #: ../cat/virt-ls.pod:191
2753 msgid ""
2754 "In I<-lR> mode, additional command line options enable the display of more "
2755 "fields."
2756 msgstr ""
2757
2758 #. type: textblock
2759 #: ../cat/virt-ls.pod:194
2760 msgid ""
2761 "With the I<--uids> flag, these additional fields are displayed before the "
2762 "path:"
2763 msgstr ""
2764
2765 #. type: =item
2766 #: ../cat/virt-ls.pod:199
2767 msgid "uid"
2768 msgstr "uid"
2769
2770 #. type: =item
2771 #: ../cat/virt-ls.pod:201
2772 msgid "gid"
2773 msgstr "gid"
2774
2775 #. type: textblock
2776 #: ../cat/virt-ls.pod:203
2777 msgid ""
2778 "The UID and GID of the owner of the file (displayed numerically).  Note "
2779 "these only make sense in the context of a Unix-like guest."
2780 msgstr ""
2781
2782 #. type: textblock
2783 #: ../cat/virt-ls.pod:208
2784 msgid "With the I<--times> flag, these additional fields are displayed:"
2785 msgstr ""
2786
2787 #. type: =item
2788 #: ../cat/virt-ls.pod:212
2789 msgid "atime"
2790 msgstr "atime"
2791
2792 #. type: textblock
2793 #: ../cat/virt-ls.pod:214
2794 msgid "The time of last access."
2795 msgstr "Час останнього доступу."
2796
2797 #. type: =item
2798 #: ../cat/virt-ls.pod:216
2799 msgid "mtime"
2800 msgstr "mtime"
2801
2802 #. type: textblock
2803 #: ../cat/virt-ls.pod:218
2804 msgid "The time of last modification."
2805 msgstr "Час останнього внесення змін."
2806
2807 #. type: =item
2808 #: ../cat/virt-ls.pod:220
2809 msgid "ctime"
2810 msgstr "ctime"
2811
2812 #. type: textblock
2813 #: ../cat/virt-ls.pod:222
2814 msgid "The time of last status change."
2815 msgstr "Час останньої зміни стану."
2816
2817 #. type: textblock
2818 #: ../cat/virt-ls.pod:226
2819 msgid ""
2820 "The time fields are displayed as string dates and times, unless one of the "
2821 "I<--time-t>, I<--time-relative> or I<--time-days> flags is given."
2822 msgstr ""
2823
2824 #. type: textblock
2825 #: ../cat/virt-ls.pod:229
2826 msgid "With the I<--extra-stats> flag, these additional fields are displayed:"
2827 msgstr ""
2828
2829 #. type: =item
2830 #: ../cat/virt-ls.pod:233
2831 msgid "device"
2832 msgstr "пристрій"
2833
2834 #. type: textblock
2835 #: ../cat/virt-ls.pod:235
2836 msgid ""
2837 "The device containing the file (displayed as major:minor).  This may not "
2838 "match devices as known to the guest."
2839 msgstr ""
2840
2841 #. type: =item
2842 #: ../cat/virt-ls.pod:238
2843 msgid "inode"
2844 msgstr "inode"
2845
2846 #. type: textblock
2847 #: ../cat/virt-ls.pod:240
2848 msgid "The inode number."
2849 msgstr ""
2850
2851 #. type: =item
2852 #: ../cat/virt-ls.pod:242
2853 msgid "nlink"
2854 msgstr "nlink"
2855
2856 #. type: textblock
2857 #: ../cat/virt-ls.pod:244
2858 msgid "The number of hard links."
2859 msgstr "Кількість жорстких посилань."
2860
2861 #. type: =item
2862 #: ../cat/virt-ls.pod:246
2863 msgid "rdev"
2864 msgstr "rdev"
2865
2866 #. type: textblock
2867 #: ../cat/virt-ls.pod:248
2868 msgid ""
2869 "For block and char special files, the device (displayed as major:minor)."
2870 msgstr ""
2871
2872 #. type: =item
2873 #: ../cat/virt-ls.pod:251
2874 msgid "blocks"
2875 msgstr "блоки"
2876
2877 #. type: textblock
2878 #: ../cat/virt-ls.pod:253
2879 msgid "The number of 512 byte blocks allocated to the file."
2880 msgstr ""
2881
2882 #. type: textblock
2883 #: ../cat/virt-ls.pod:257
2884 msgid ""
2885 "With the I<--checksum> flag, the checksum of the file contents is shown "
2886 "(only for regular files).  Computing file checksums can take a considerable "
2887 "amount of time."
2888 msgstr ""
2889
2890 #. type: =item
2891 #: ../cat/virt-ls.pod:280
2892 msgid "B<--checksum>"
2893 msgstr "B<--checksum>"
2894
2895 #. type: =item
2896 #: ../cat/virt-ls.pod:282
2897 msgid "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2898 msgstr "B<--checksum=crc|md5|sha1|sha224|sha256|sha384|sha512>"
2899
2900 #. type: textblock
2901 #: ../cat/virt-ls.pod:284
2902 msgid ""
2903 "Display checksum over file contents for regular files.  With no argument, "
2904 "this defaults to using I<md5>.  Using an argument, you can select the "
2905 "checksum type to use."
2906 msgstr ""
2907
2908 #. type: textblock
2909 #: ../cat/virt-ls.pod:288 ../cat/virt-ls.pod:325 ../cat/virt-ls.pod:358
2910 #: ../cat/virt-ls.pod:391 ../cat/virt-ls.pod:401 ../cat/virt-ls.pod:408
2911 #: ../cat/virt-ls.pod:415 ../cat/virt-ls.pod:422
2912 msgid ""
2913 "This option only has effect in I<-lR> output mode.  See L</RECURSIVE LONG "
2914 "LISTING> above."
2915 msgstr ""
2916
2917 #. type: textblock
2918 #: ../cat/virt-ls.pod:316
2919 msgid ""
2920 "When prompting for keys and passphrases, virt-ls normally turns echoing off "
2921 "so you cannot see what you are typing.  If you are not worried about Tempest "
2922 "attacks and there is no one else in the room you can specify this flag to "
2923 "see what you are typing."
2924 msgstr ""
2925
2926 #. type: =item
2927 #: ../cat/virt-ls.pod:321
2928 msgid "B<--extra-stats>"
2929 msgstr "B<--extra-stats>"
2930
2931 #. type: textblock
2932 #: ../cat/virt-ls.pod:323
2933 msgid "Display extra stats."
2934 msgstr "Показати додаткові дані."
2935
2936 #. type: verbatim
2937 #: ../cat/virt-ls.pod:339
2938 #, no-wrap
2939 msgid ""
2940 " virt-ls --format=raw -a disk.img /dir\n"
2941 "\n"
2942 msgstr ""
2943
2944 #. type: verbatim
2945 #: ../cat/virt-ls.pod:343
2946 #, no-wrap
2947 msgid ""
2948 " virt-ls --format=raw -a disk.img --format -a another.img /dir\n"
2949 "\n"
2950 msgstr ""
2951
2952 #. type: textblock
2953 #: ../cat/virt-ls.pod:356
2954 msgid "Display file sizes in human-readable format."
2955 msgstr ""
2956
2957 #. type: =item
2958 #: ../cat/virt-ls.pod:370
2959 msgid "B<-R>"
2960 msgstr "B<-R>"
2961
2962 #. type: =item
2963 #: ../cat/virt-ls.pod:372
2964 msgid "B<--recursive>"
2965 msgstr "B<--recursive>"
2966
2967 #. type: textblock
2968 #: ../cat/virt-ls.pod:374
2969 msgid ""
2970 "Select the mode.  With neither of these options, C<virt-ls> produces a "
2971 "simple, flat list of the files in the named directory.  See L</SIMPLE "
2972 "LISTING>."
2973 msgstr ""
2974
2975 #. type: textblock
2976 #: ../cat/virt-ls.pod:378
2977 msgid ""
2978 "C<virt-ls -l> produces a \"long listing\", which shows more detail.  See L</"
2979 "LONG LISTING>."
2980 msgstr ""
2981
2982 #. type: textblock
2983 #: ../cat/virt-ls.pod:381
2984 msgid ""
2985 "C<virt-ls -R> produces a recursive list of files starting at the named "
2986 "directory.  See L</RECURSIVE LISTING>."
2987 msgstr ""
2988
2989 #. type: textblock
2990 #: ../cat/virt-ls.pod:384
2991 msgid ""
2992 "C<virt-ls -lR> produces a recursive long listing which can be more easily "
2993 "parsed.  See L</RECURSIVE LONG LISTING>."
2994 msgstr ""
2995
2996 #. type: =item
2997 #: ../cat/virt-ls.pod:387
2998 msgid "B<--times>"
2999 msgstr "B<--times>"
3000
3001 #. type: textblock
3002 #: ../cat/virt-ls.pod:389
3003 msgid "Display time fields."
3004 msgstr ""
3005
3006 #. type: =item
3007 #: ../cat/virt-ls.pod:394
3008 msgid "B<--time-days>"
3009 msgstr "B<--time-days>"
3010
3011 #. type: textblock
3012 #: ../cat/virt-ls.pod:396
3013 msgid "Display time fields as days before now (negative if in the future)."
3014 msgstr ""
3015
3016 #. type: textblock
3017 #: ../cat/virt-ls.pod:398
3018 msgid ""
3019 "Note that C<0> in output means \"up to 1 day before now\", or that the age "
3020 "of the file is between 0 and 86399 seconds."
3021 msgstr ""
3022
3023 #. type: =item
3024 #: ../cat/virt-ls.pod:404
3025 msgid "B<--time-relative>"
3026 msgstr "B<--time-relative>"
3027
3028 #. type: textblock
3029 #: ../cat/virt-ls.pod:406
3030 msgid "Display time fields as seconds before now (negative if in the future)."
3031 msgstr ""
3032
3033 #. type: =item
3034 #: ../cat/virt-ls.pod:411
3035 msgid "B<--time-t>"
3036 msgstr "B<--time-t>"
3037
3038 #. type: textblock
3039 #: ../cat/virt-ls.pod:413
3040 msgid "Display time fields as seconds since the Unix epoch."
3041 msgstr ""
3042
3043 #. type: =item
3044 #: ../cat/virt-ls.pod:418
3045 msgid "B<--uids>"
3046 msgstr "B<--uids>"
3047
3048 #. type: textblock
3049 #: ../cat/virt-ls.pod:420
3050 msgid "Display UID and GID fields."
3051 msgstr ""
3052
3053 #. type: textblock
3054 #: ../cat/virt-ls.pod:445
3055 msgid "Previous versions of virt-ls allowed you to write either:"
3056 msgstr ""
3057
3058 #. type: verbatim
3059 #: ../cat/virt-ls.pod:447
3060 #, no-wrap
3061 msgid ""
3062 " virt-ls disk.img [disk.img ...] /dir\n"
3063 "\n"
3064 msgstr ""
3065
3066 #. type: verbatim
3067 #: ../cat/virt-ls.pod:451
3068 #, no-wrap
3069 msgid ""
3070 " virt-ls guestname /dir\n"
3071 "\n"
3072 msgstr ""
3073
3074 #. type: textblock
3075 #: ../cat/virt-ls.pod:497
3076 msgid ""
3077 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3078 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3079 "L<http://libguestfs.org/>."
3080 msgstr ""
3081 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-"
3082 "tar-out(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
3083 "L<http://libguestfs.org/>."
3084
3085 #. type: textblock
3086 #: ../cat/virt-ls.pod:513 ../df/virt-df.pod:241 ../edit/virt-edit.pod:374
3087 #: ../rescue/virt-rescue.pod:302
3088 msgid "Copyright (C) 2009-2011 Red Hat Inc."
3089 msgstr "©Red Hat Inc., 2009–2011"
3090
3091 #. type: textblock
3092 #: ../clone/virt-sysprep.pod:5
3093 msgid ""
3094 "virt-sysprep - Reset or unconfigure a virtual machine so clones can be made"
3095 msgstr ""
3096
3097 #. type: verbatim
3098 #: ../clone/virt-sysprep.pod:9
3099 #, no-wrap
3100 msgid ""
3101 " virt-sysprep [--options] -d domname\n"
3102 "\n"
3103 msgstr ""
3104
3105 #. type: verbatim
3106 #: ../clone/virt-sysprep.pod:11
3107 #, no-wrap
3108 msgid ""
3109 " virt-sysprep [--options] -a disk.img [-a disk.img ...]\n"
3110 "\n"
3111 msgstr ""
3112
3113 #. type: textblock
3114 #: ../clone/virt-sysprep.pod:15
3115 msgid ""
3116 "Virt-sysprep \"resets\" or \"unconfigures\" a virtual machine so that clones "
3117 "can be made from it.  Steps in this process include removing SSH host keys, "
3118 "removing persistent network MAC configuration, and removing user accounts.  "
3119 "Each step can be enabled or disabled as required."
3120 msgstr ""
3121
3122 #. type: textblock
3123 #: ../clone/virt-sysprep.pod:21
3124 msgid ""
3125 "Virt-sysprep is a simple shell script, allowing easy inspection or "
3126 "customization by the system administrator."
3127 msgstr ""
3128
3129 #. type: textblock
3130 #: ../clone/virt-sysprep.pod:24
3131 msgid ""
3132 "Virt-sysprep modifies the guest or disk image I<in place>.  The guest must "
3133 "be shut down.  If you want to preserve the existing contents of the guest, "
3134 "you I<must copy or clone the disk first>.  See L</COPYING AND CLONING> below."
3135 msgstr ""
3136
3137 #. type: textblock
3138 #: ../clone/virt-sysprep.pod:29
3139 msgid ""
3140 "You do I<not> need to run virt-sysprep as root.  In fact we'd generally "
3141 "recommend that you don't.  The time you might want to run it as root is when "
3142 "you need root in order to access the disk image, but even in this case it "
3143 "would be better to change the permissions on the disk image to be writable "
3144 "as the non-root user running virt-sysprep."
3145 msgstr ""
3146
3147 #. type: textblock
3148 #: ../clone/virt-sysprep.pod:35
3149 msgid ""
3150 "\"Sysprep\" stands for \"system preparation\" tool.  The name comes from the "
3151 "Microsoft program C<sysprep.exe> which is used to unconfigure Windows "
3152 "machines in preparation for cloning them.  Having said that, virt-sysprep "
3153 "does I<not> currently work on Microsoft Windows guests.  We plan to support "
3154 "Windows sysprepping in a future version, and we already have code to do it."
3155 msgstr ""
3156
3157 #. type: =item
3158 #: ../clone/virt-sysprep.pod:76
3159 msgid "B<--enable=...>"
3160 msgstr ""
3161
3162 #. type: textblock
3163 #: ../clone/virt-sysprep.pod:78
3164 msgid ""
3165 "Choose which sysprep operations to perform.  Give a comma-separated list of "
3166 "operations, for example:"
3167 msgstr ""
3168
3169 #. type: verbatim
3170 #: ../clone/virt-sysprep.pod:81
3171 #, no-wrap
3172 msgid ""
3173 " --enable=ssh-hostkeys,udev-persistent-net\n"
3174 "\n"
3175 msgstr ""
3176
3177 #. type: textblock
3178 #: ../clone/virt-sysprep.pod:83
3179 msgid ""
3180 "would enable ONLY C<ssh-hostkeys> and C<udev-persistent-net> operations."
3181 msgstr ""
3182
3183 #. type: textblock
3184 #: ../clone/virt-sysprep.pod:85
3185 msgid ""
3186 "If the I<--enable> option is not given, then we default to trying all "
3187 "possible sysprep operations.  But some sysprep operations are skipped for "
3188 "some guest types."
3189 msgstr ""
3190
3191 #. type: textblock
3192 #: ../clone/virt-sysprep.pod:89
3193 msgid ""
3194 "Use I<--list-operations> to list operations supported by a particular "
3195 "version of virt-sysprep."
3196 msgstr ""
3197
3198 #. type: textblock
3199 #: ../clone/virt-sysprep.pod:92
3200 msgid ""
3201 "See L</OPERATIONS> below for a list and an explanation of each operation."
3202 msgstr ""
3203
3204 #. type: verbatim
3205 #: ../clone/virt-sysprep.pod:106
3206 #, no-wrap
3207 msgid ""
3208 " virt-sysprep --format=raw -a disk.img\n"
3209 "\n"
3210 msgstr ""
3211
3212 #. type: verbatim
3213 #: ../clone/virt-sysprep.pod:110
3214 #, no-wrap
3215 msgid ""
3216 " virt-sysprep --format=raw -a disk.img --format -a another.img\n"
3217 "\n"
3218 msgstr ""
3219
3220 #. type: =item
3221 #: ../clone/virt-sysprep.pod:119
3222 msgid "B<--hostname> newhostname"
3223 msgstr ""
3224
3225 #. type: textblock
3226 #: ../clone/virt-sysprep.pod:121
3227 msgid ""
3228 "Change the hostname.  See the L</hostname> operation below.  If not given, "
3229 "defaults to C<localhost.localdomain>."
3230 msgstr ""
3231
3232 #. type: =item
3233 #: ../clone/virt-sysprep.pod:124
3234 msgid "B<--list-operations>"
3235 msgstr ""
3236
3237 #. type: textblock
3238 #: ../clone/virt-sysprep.pod:126
3239 msgid "List the operations supported by the virt-sysprep program."
3240 msgstr ""
3241
3242 #. type: =item
3243 #: ../clone/virt-sysprep.pod:128
3244 msgid "B<--selinux-relabel>"
3245 msgstr ""
3246
3247 #. type: =item
3248 #: ../clone/virt-sysprep.pod:130
3249 msgid "B<--no-selinux-relabel>"
3250 msgstr ""
3251
3252 #. type: textblock
3253 #: ../clone/virt-sysprep.pod:132
3254 msgid ""
3255 "I<--selinux-relabel> forces SELinux relabelling next time the guest boots.  "
3256 "I<--no-selinux-relabel> disables relabelling."
3257 msgstr ""
3258
3259 #. type: textblock
3260 #: ../clone/virt-sysprep.pod:135
3261 msgid ""
3262 "The default is to try to detect if SELinux relabelling is required.  See L</"
3263 "SELINUX RELABELLING> below for more details."
3264 msgstr ""
3265
3266 #. type: =head1
3267 #: ../clone/virt-sysprep.pod:156
3268 msgid "OPERATIONS"
3269 msgstr ""
3270
3271 #. type: textblock
3272 #: ../clone/virt-sysprep.pod:158
3273 msgid ""
3274 "If the I<--enable> option is I<not> given, then I<all sysprep operations are "
3275 "enabled>, although some are skipped depending on the type of guest."
3276 msgstr ""
3277
3278 #. type: textblock
3279 #: ../clone/virt-sysprep.pod:162
3280 msgid ""
3281 "Operations can be individually enabled using the I<--enable> option.  Use a "
3282 "comma-separated list, for example:"
3283 msgstr ""
3284
3285 #. type: verbatim
3286 #: ../clone/virt-sysprep.pod:165
3287 #, no-wrap
3288 msgid ""
3289 " virt-sysprep --enable=ssh-hostkeys,udev-persistent-net [etc..]\n"
3290 "\n"
3291 msgstr ""
3292
3293 #. type: textblock
3294 #: ../clone/virt-sysprep.pod:167
3295 msgid ""
3296 "To list the operations supported by the current version of virt-sysprep, use "
3297 "I<--list-operations>."
3298 msgstr ""
3299
3300 #. type: textblock
3301 #: ../clone/virt-sysprep.pod:170
3302 msgid ""
3303 "Future versions of virt-sysprep may add more operations.  If you are using "
3304 "virt-sysprep and want predictable behaviour, specify only the operations "
3305 "that you want to have enabled."
3306 msgstr ""
3307
3308 #. type: =head2
3309 #: ../clone/virt-sysprep.pod:174
3310 msgid "cron-spool"
3311 msgstr ""
3312
3313 #. type: textblock
3314 #: ../clone/virt-sysprep.pod:176
3315 msgid "Remove user at-jobs and cron-jobs."
3316 msgstr ""
3317
3318 #. type: =head2
3319 #: ../clone/virt-sysprep.pod:178
3320 msgid "dhcp-client-state"
3321 msgstr ""
3322
3323 #. type: textblock
3324 #: ../clone/virt-sysprep.pod:180
3325 msgid "Remove DHCP client leases."
3326 msgstr ""
3327
3328 #. type: =head2
3329 #: ../clone/virt-sysprep.pod:182
3330 msgid "dhcp-server-state"
3331 msgstr ""
3332
3333 #. type: textblock
3334 #: ../clone/virt-sysprep.pod:184
3335 msgid "Remove DHCP server leases."
3336 msgstr ""
3337
3338 #. type: =head2
3339 #: ../clone/virt-sysprep.pod:186
3340 msgid "hostname"
3341 msgstr ""
3342
3343 #. type: textblock
3344 #: ../clone/virt-sysprep.pod:188
3345 msgid ""
3346 "Changes the hostname of the guest to the value given in the I<--hostname> "
3347 "parameter."
3348 msgstr ""
3349
3350 #. type: textblock
3351 #: ../clone/virt-sysprep.pod:191
3352 msgid ""
3353 "If the I<--hostname> parameter is not given, then the hostname is changed to "
3354 "C<localhost.localdomain>."
3355 msgstr ""
3356
3357 #. type: =head2
3358 #: ../clone/virt-sysprep.pod:194
3359 msgid "logfiles"
3360 msgstr ""
3361
3362 #. type: textblock
3363 #: ../clone/virt-sysprep.pod:196
3364 msgid "Remove many log files."
3365 msgstr ""
3366
3367 #. type: =head2
3368 #: ../clone/virt-sysprep.pod:198
3369 msgid "mail-spool"
3370 msgstr ""
3371
3372 #. type: textblock
3373 #: ../clone/virt-sysprep.pod:200
3374 msgid "Remove email from the local mail spool directory."
3375 msgstr ""
3376
3377 #. type: =head2
3378 #: ../clone/virt-sysprep.pod:202
3379 msgid "net-hwaddr"
3380 msgstr ""
3381
3382 #. type: textblock
3383 #: ../clone/virt-sysprep.pod:204
3384 msgid ""
3385 "Remove HWADDR (hard-coded MAC address) configuration.  For Fedora and Red "
3386 "Hat Enterprise Linux, this is removed from C<ifcfg-*> files."
3387 msgstr ""
3388
3389 #. type: =head2
3390 #: ../clone/virt-sysprep.pod:207
3391 msgid "random-seed"
3392 msgstr ""
3393
3394 #. type: textblock
3395 #: ../clone/virt-sysprep.pod:209
3396 msgid ""
3397 "Write some random bytes from the host into the random seed file of the guest."
3398 msgstr ""
3399
3400 #. type: textblock
3401 #: ../clone/virt-sysprep.pod:212
3402 msgid "See L</RANDOM SEED> below."
3403 msgstr ""
3404
3405 #. type: =head2
3406 #: ../clone/virt-sysprep.pod:214
3407 msgid "rhn-systemid"
3408 msgstr ""
3409
3410 #. type: textblock
3411 #: ../clone/virt-sysprep.pod:216
3412 msgid "Remove the RHN system ID."
3413 msgstr ""
3414
3415 #. type: =head2
3416 #: ../clone/virt-sysprep.pod:218
3417 msgid "smolt-uuid"
3418 msgstr ""
3419
3420 #. type: textblock
3421 #: ../clone/virt-sysprep.pod:220
3422 msgid "Remove the Smolt hardware UUID."
3423 msgstr ""
3424
3425 #. type: =head2
3426 #: ../clone/virt-sysprep.pod:222
3427 msgid "ssh-hostkeys"
3428 msgstr ""
3429
3430 #. type: textblock
3431 #: ../clone/virt-sysprep.pod:224
3432 msgid "Remove the SSH host keys in the guest."
3433 msgstr ""
3434
3435 #. type: textblock
3436 #: ../clone/virt-sysprep.pod:226
3437 msgid ""
3438 "The SSH host keys are regenerated (differently) next time the guest is "
3439 "booted."
3440 msgstr ""
3441
3442 #. type: textblock
3443 #: ../clone/virt-sysprep.pod:229
3444 msgid ""
3445 "If, after cloning, the guest gets the same IP address, ssh will give you a "
3446 "stark warning about the host key changing:"
3447 msgstr ""
3448
3449 #. type: verbatim
3450 #: ../clone/virt-sysprep.pod:232
3451 #, no-wrap
3452 msgid ""
3453 " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
3454 " @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @\n"
3455 " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"
3456 " IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\n"
3457 "\n"
3458 msgstr ""
3459
3460 #. type: =head2
3461 #: ../clone/virt-sysprep.pod:237
3462 msgid "udev-persistent-net"
3463 msgstr ""
3464
3465 #. type: textblock
3466 #: ../clone/virt-sysprep.pod:239
3467 msgid ""
3468 "Remove udev persistent net rules which map the guest's existing MAC address "
3469 "to a fixed ethernet device (eg. eth0)."
3470 msgstr ""
3471
3472 #. type: textblock
3473 #: ../clone/virt-sysprep.pod:242
3474 msgid ""
3475 "After a guest is cloned, the MAC address usually changes.  Since the old MAC "
3476 "address occupies the old name (eg. eth0), this means the fresh MAC address "
3477 "is assigned to a new name (eg. eth1) and this is usually undesirable.  "
3478 "Erasing the udev persistent net rules avoids this."
3479 msgstr ""
3480
3481 #. type: =head2
3482 #: ../clone/virt-sysprep.pod:247
3483 msgid "utmp"
3484 msgstr ""
3485
3486 #. type: textblock
3487 #: ../clone/virt-sysprep.pod:249
3488 msgid "Remove the utmp file."
3489 msgstr ""
3490
3491 #. type: textblock
3492 #: ../clone/virt-sysprep.pod:251
3493 msgid ""
3494 "This records who is currently logged in on a machine.  In modern Linux "
3495 "distros it is stored in a ramdisk and hence not part of the virtual "
3496 "machine's disk, but it was stored on disk in older distros."
3497 msgstr ""
3498
3499 #. type: =head2
3500 #: ../clone/virt-sysprep.pod:255
3501 msgid "yum-uuid"
3502 msgstr ""
3503
3504 #. type: textblock
3505 #: ../clone/virt-sysprep.pod:257
3506 msgid "Remove the yum UUID."
3507 msgstr ""
3508
3509 #. type: textblock
3510 #: ../clone/virt-sysprep.pod:259
3511 msgid ""
3512 "Yum creates a fresh UUID the next time it runs when it notices that the "
3513 "original UUID has been erased."
3514 msgstr ""
3515
3516 #. type: =head1
3517 #: ../clone/virt-sysprep.pod:262
3518 msgid "COPYING AND CLONING"
3519 msgstr ""
3520
3521 #. type: textblock
3522 #: ../clone/virt-sysprep.pod:264
3523 msgid ""
3524 "Virt-sysprep can be used as part of a process of cloning guests, or to "
3525 "prepare a template from which guests can be cloned.  There are many "
3526 "different ways to achieve this using the virt tools, and this section is "
3527 "just an introduction."
3528 msgstr ""
3529
3530 #. type: textblock
3531 #: ../clone/virt-sysprep.pod:269
3532 msgid "A virtual machine (when switched off) consists of two parts:"
3533 msgstr ""
3534
3535 #. type: =item
3536 #: ../clone/virt-sysprep.pod:273
3537 msgid "I<configuration>"
3538 msgstr ""
3539
3540 #. type: textblock
3541 #: ../clone/virt-sysprep.pod:275
3542 msgid ""
3543 "The configuration or description of the guest.  eg. The libvirt XML (see "
3544 "C<virsh dumpxml>), the running configuration of the guest, or another "
3545 "external format like OVF."
3546 msgstr ""
3547
3548 #. type: textblock
3549 #: ../clone/virt-sysprep.pod:279
3550 msgid "Some configuration items that might need to be changed:"
3551 msgstr ""
3552
3553 #. type: textblock
3554 #: ../clone/virt-sysprep.pod:285
3555 msgid "name"
3556 msgstr ""
3557
3558 #. type: textblock
3559 #: ../clone/virt-sysprep.pod:289 ../clone/virt-sysprep.pod:316
3560 msgid "UUID"
3561 msgstr ""
3562
3563 #. type: textblock
3564 #: ../clone/virt-sysprep.pod:293
3565 msgid "path to block device(s)"
3566 msgstr ""
3567
3568 #. type: textblock
3569 #: ../clone/virt-sysprep.pod:297
3570 msgid "network card MAC address"
3571 msgstr ""
3572
3573 #. type: =item
3574 #: ../clone/virt-sysprep.pod:301
3575 msgid "I<block device(s)>"
3576 msgstr ""
3577
3578 #. type: textblock
3579 #: ../clone/virt-sysprep.pod:303
3580 msgid ""
3581 "One or more hard disk images, themselves containing files, directories, "
3582 "applications, kernels, configuration, etc."
3583 msgstr ""
3584
3585 #. type: textblock
3586 #: ../clone/virt-sysprep.pod:306
3587 msgid "Some things inside the block devices that might need to be changed:"
3588 msgstr ""
3589
3590 #. type: textblock
3591 #: ../clone/virt-sysprep.pod:312
3592 msgid "hostname and other net configuration"
3593 msgstr ""
3594
3595 #. type: textblock
3596 #: ../clone/virt-sysprep.pod:320
3597 msgid "SSH host keys"
3598 msgstr ""
3599
3600 #. type: textblock
3601 #: ../clone/virt-sysprep.pod:324
3602 msgid "Windows unique security ID (SID)"
3603 msgstr ""
3604
3605 #. type: textblock
3606 #: ../clone/virt-sysprep.pod:328
3607 msgid "Puppet registration"
3608 msgstr ""
3609
3610 #. type: =head2
3611 #: ../clone/virt-sysprep.pod:334
3612 msgid "COPYING THE BLOCK DEVICE"
3613 msgstr ""
3614
3615 #. type: textblock
3616 #: ../clone/virt-sysprep.pod:336
3617 msgid ""
3618 "Starting with an original guest, you probably wish to copy the guest block "
3619 "device and its configuration to make a template.  Then once you are happy "
3620 "with the template, you will want to make many clones from it."
3621 msgstr ""
3622
3623 #. type: verbatim
3624 #: ../clone/virt-sysprep.pod:341
3625 #, no-wrap
3626 msgid ""
3627 "                        virt-sysprep\n"
3628 "                             |\n"
3629 "                             v\n"
3630 " original guest --------> template ---------->\n"
3631 "                                      \\------> cloned\n"
3632 "                                       \\-----> guests\n"
3633 "                                        \\---->\n"
3634 "\n"
3635 msgstr ""
3636
3637 #. type: textblock
3638 #: ../clone/virt-sysprep.pod:349
3639 msgid ""
3640 "You can, of course, just copy the block device on the host using L<cp(1)> or "
3641 "L<dd(1)>."
3642 msgstr ""
3643
3644 #. type: verbatim
3645 #: ../clone/virt-sysprep.pod:352
3646 #, no-wrap
3647 msgid ""
3648 "                   dd                 dd\n"
3649 " original guest --------> template ---------->\n"
3650 "                                      \\------> cloned\n"
3651 "                                       \\-----> guests\n"
3652 "                                        \\---->\n"
3653 "\n"
3654 msgstr ""
3655
3656 #. type: textblock
3657 #: ../clone/virt-sysprep.pod:358
3658 msgid "There are some smarter (and faster) ways too:"
3659 msgstr ""
3660
3661 #. type: verbatim
3662 #: ../clone/virt-sysprep.pod:364
3663 #, no-wrap
3664 msgid ""
3665 "                          snapshot\n"
3666 "                template ---------->\n"
3667 "                            \\------> cloned\n"
3668 "                             \\-----> guests\n"
3669 "                              \\---->\n"
3670 "\n"
3671 msgstr ""
3672
3673 #. type: textblock
3674 #: ../clone/virt-sysprep.pod:370
3675 msgid ""
3676 "Use the block device as a backing file and create a snapshot on top for each "
3677 "guest.  The advantage is that you don't need to copy the block device (very "
3678 "fast) and only changes are stored (less storage required)."
3679 msgstr ""
3680
3681 #. type: textblock
3682 #: ../clone/virt-sysprep.pod:375
3683 msgid ""
3684 "Note that writing to the backing file once you have created guests on top of "
3685 "it is not possible: you will corrupt the guests."
3686 msgstr ""
3687
3688 #. type: textblock
3689 #: ../clone/virt-sysprep.pod:378
3690 msgid ""
3691 "Tools that can do this include: L<qemu-img(1)> (with the I<create -f qcow2 -"
3692 "o backing_file> option), L<lvcreate(8)> (I<--snapshot> option).  Some "
3693 "filesystems (such as btrfs) and most Network Attached Storage devices can "
3694 "also create cheap snapshots from files or LUNs."
3695 msgstr ""
3696
3697 #. type: textblock
3698 #: ../clone/virt-sysprep.pod:386
3699 msgid "Get your NAS to snapshot and/or duplicate the LUN."
3700 msgstr ""
3701
3702 #. type: textblock
3703 #: ../clone/virt-sysprep.pod:390
3704 msgid "Prepare your template using L<virt-sparsify(1)>.  See below."
3705 msgstr ""
3706
3707 #. type: =head2
3708 #: ../clone/virt-sysprep.pod:394
3709 msgid "VIRT-CLONE"
3710 msgstr ""
3711
3712 #. type: textblock
3713 #: ../clone/virt-sysprep.pod:396
3714 msgid ""
3715 "A separate tool, L<virt-clone(1)>, can be used to duplicate the block device "
3716 "and/or modify the external libvirt configuration of a guest.  It will reset "
3717 "the name, UUID and MAC address of the guest in the libvirt XML."
3718 msgstr ""
3719
3720 #. type: textblock
3721 #: ../clone/virt-sysprep.pod:401
3722 msgid ""
3723 "L<virt-clone(1)> does not use libguestfs and cannot look inside the disk "
3724 "image.  This was the original motivation to write virt-sysprep."
3725 msgstr ""
3726
3727 #. type: =head2
3728 #: ../clone/virt-sysprep.pod:404
3729 msgid "SPARSIFY"
3730 msgstr ""
3731
3732 #. type: verbatim
3733 #: ../clone/virt-sysprep.pod:406
3734 #, no-wrap
3735 msgid ""
3736 "              virt-sparsify\n"
3737 " original guest --------> template\n"
3738 "\n"
3739 msgstr ""
3740
3741 #. type: textblock
3742 #: ../clone/virt-sysprep.pod:409
3743 msgid ""
3744 "L<virt-sparsify(1)> can be used to make the cloning template smaller, making "
3745 "it easier to compress and/or faster to copy."
3746 msgstr ""
3747
3748 #. type: textblock
3749 #: ../clone/virt-sysprep.pod:412
3750 msgid ""
3751 "Notice that since virt-sparsify also copies the image, you can use it to "
3752 "make the initial copy (instead of C<dd>)."
3753 msgstr ""
3754
3755 #. type: =head2
3756 #: ../clone/virt-sysprep.pod:415
3757 msgid "RESIZE"
3758 msgstr ""
3759
3760 #. type: verbatim
3761 #: ../clone/virt-sysprep.pod:417
3762 #, no-wrap
3763 msgid ""
3764 "                         virt-resize\n"
3765 "                template ---------->\n"
3766 "                            \\------> cloned\n"
3767 "                             \\-----> guests\n"
3768 "                              \\---->\n"
3769 "\n"
3770 msgstr ""
3771
3772 #. type: textblock
3773 #: ../clone/virt-sysprep.pod:423
3774 msgid ""
3775 "If you want to give people cloned guests, but let them pick the size of the "
3776 "guest themselves (eg. depending on how much they are prepared to pay for "
3777 "disk space), then instead of copying the template, you can run L<virt-resize"
3778 "(1)>.  Virt-resize performs a copy and resize, and thus is ideal for cloning "
3779 "guests from a template."
3780 msgstr ""
3781
3782 #. type: =head1
3783 #: ../clone/virt-sysprep.pod:429 ../src/guestfs.pod:1164
3784 msgid "SECURITY"
3785 msgstr "БЕЗПЕКА"
3786
3787 #. type: textblock
3788 #: ../clone/virt-sysprep.pod:431
3789 msgid ""
3790 "Although virt-sysprep removes some sensitive information from the guest, it "
3791 "does not pretend to remove all of it.  You should examine the L</OPERATIONS> "
3792 "above, and the implementation of the operations in the shell script.  You "
3793 "should also examine the guest afterwards."
3794 msgstr ""
3795
3796 #. type: textblock
3797 #: ../clone/virt-sysprep.pod:436
3798 msgid ""
3799 "Sensitive files are simply removed.  The data they contained may still exist "
3800 "on the disk, easily recovered with a hex editor or undelete tool.  Use "
3801 "L<virt-sparsify(1)> as one way to remove this content.  See also the L<scrub"
3802 "(1)> command to get rid of deleted content in directory entries and inodes."
3803 msgstr ""
3804
3805 #. type: =head2
3806 #: ../clone/virt-sysprep.pod:442
3807 msgid "RANDOM SEED"
3808 msgstr ""
3809
3810 #. type: textblock
3811 #: ../clone/virt-sysprep.pod:444
3812 msgid "I<(This section applies to Linux guests only)>"
3813 msgstr ""
3814
3815 #. type: textblock
3816 #: ../clone/virt-sysprep.pod:446
3817 msgid ""
3818 "The virt-sysprep C<random-seed> operation writes a few bytes of randomness "
3819 "from the host into the guest's random seed file."
3820 msgstr ""
3821
3822 #. type: textblock
3823 #: ../clone/virt-sysprep.pod:449
3824 msgid ""
3825 "If this is just done once and the guest is cloned from the same template, "
3826 "then each guest will start with the same entropy, and things like SSH host "
3827 "keys and TCP sequence numbers may be predictable."
3828 msgstr ""
3829
3830 #. type: textblock
3831 #: ../clone/virt-sysprep.pod:453
3832 msgid ""
3833 "Therefore you should arrange to add more randomness I<after> cloning from a "
3834 "template too, which can be done by just enabling the C<random-seed> "
3835 "operation:"
3836 msgstr ""
3837
3838 #. type: verbatim
3839 #: ../clone/virt-sysprep.pod:457
3840 #, no-wrap
3841 msgid ""
3842 " cp template.img newguest.img\n"
3843 " virt-sysprep --enable=random-seed -a newguest.img\n"
3844 "\n"
3845 msgstr ""
3846
3847 #. type: =head2
3848 #: ../clone/virt-sysprep.pod:460
3849 msgid "SELINUX RELABELLING"
3850 msgstr ""
3851
3852 #. type: textblock
3853 #: ../clone/virt-sysprep.pod:462
3854 msgid "I<(This section applies to Linux guests using SELinux only)>"
3855 msgstr ""
3856
3857 #. type: textblock
3858 #: ../clone/virt-sysprep.pod:464
3859 msgid ""
3860 "If any new files are created by virt-sysprep, then virt-sysprep touches C</."
3861 "autorelabel> so that these will be correctly labelled by SELinux the next "
3862 "time the guest is booted.  This process interrupts boot and can take some "
3863 "time."
3864 msgstr ""
3865
3866 #. type: textblock
3867 #: ../clone/virt-sysprep.pod:469
3868 msgid ""
3869 "You can force relabelling for all guests by supplying the I<--selinux-"
3870 "relabel> option."
3871 msgstr ""
3872
3873 #. type: textblock
3874 #: ../clone/virt-sysprep.pod:472
3875 msgid ""
3876 "You can disable relabelling entirely by supplying the I<--no-selinux-"
3877 "relabel> option."
3878 msgstr ""
3879
3880 #. type: textblock
3881 #: ../clone/virt-sysprep.pod:484
3882 msgid "This program returns 0 on success, or 1 if there was an error."
3883 msgstr ""
3884
3885 #. type: textblock
3886 #: ../clone/virt-sysprep.pod:488
3887 msgid ""
3888 "L<guestfs(3)>, L<guestfish(1)>, L<virt-clone(1)>, L<virt-rescue(1)>, L<virt-"
3889 "resize(1)>, L<virt-sparsify(1)>, L<virsh(1)>, L<lvcreate(8)>, L<qemu-img(1)"
3890 ">, L<scrub(1)>, L<http://libguestfs.org/>, L<http://libvirt.org/>."
3891 msgstr ""
3892
3893 #. type: textblock
3894 #: ../df/virt-df.pod:5
3895 msgid "virt-df - Display free space on virtual filesystems"
3896 msgstr ""
3897
3898 #. type: verbatim
3899 #: ../df/virt-df.pod:9
3900 #, no-wrap
3901 msgid ""
3902 " virt-df [--options]\n"
3903 "\n"
3904 msgstr ""
3905 " virt-df [--параметри]\n"
3906 "\n"
3907
3908 #. type: verbatim
3909 #: ../df/virt-df.pod:11
3910 #, no-wrap
3911 msgid ""
3912 " virt-df [--options] -d domname\n"
3913 "\n"
3914 msgstr ""
3915
3916 #. type: verbatim
3917 #: ../df/virt-df.pod:13
3918 #, no-wrap
3919 msgid ""
3920 " virt-df [--options] -a disk.img [-a disk.img ...]\n"
3921 "\n"
3922 msgstr ""
3923
3924 #. type: verbatim
3925 #: ../df/virt-df.pod:17
3926 #, no-wrap
3927 msgid ""
3928 " virt-df [--options] domname\n"
3929 "\n"
3930 msgstr ""
3931
3932 #. type: verbatim
3933 #: ../df/virt-df.pod:19
3934 #, no-wrap
3935 msgid ""
3936 " virt-df [--options] disk.img [disk.img ...]\n"
3937 "\n"
3938 msgstr ""
3939
3940 #. type: textblock
3941 #: ../df/virt-df.pod:23
3942 msgid ""
3943 "C<virt-df> is a command line tool to display free space on virtual machine "
3944 "filesystems.  Unlike other tools, it doesn't just display the size of disk "
3945 "allocated to a virtual machine, but can look inside disk images to see how "
3946 "much space is really being used."
3947 msgstr ""
3948
3949 #. type: textblock
3950 #: ../df/virt-df.pod:28
3951 msgid ""
3952 "If used without any I<-a> or I<-d> arguments, C<virt-df> checks with libvirt "
3953 "to get a list of all active and inactive guests, and performs a C<df>-type "
3954 "operation on each one in turn, printing out the results."
3955 msgstr ""
3956
3957 #. type: textblock
3958 #: ../df/virt-df.pod:32
3959 msgid ""
3960 "If any I<-a> or I<-d> arguments are specified, C<virt-df> performs a C<df>-"
3961 "type operation on either the single named libvirt domain, or on the disk "
3962 "image(s) listed on the command line (which must all belong to a single VM).  "
3963 "In this mode (with arguments), C<virt-df> will I<only work for a single "
3964 "guest>.  If you want to run on multiple guests, then you have to invoke "
3965 "C<virt-df> multiple times."
3966 msgstr ""
3967
3968 #. type: textblock
3969 #: ../df/virt-df.pod:39
3970 msgid ""
3971 "Use the I<--csv> option to get a format which can be easily parsed by other "
3972 "programs.  Other options are similar to the standard L<df(1)> command."
3973 msgstr ""
3974
3975 #. type: textblock
3976 #: ../df/virt-df.pod:45
3977 msgid ""
3978 "Show disk usage for a single libvirt guest called C<F14x64>.  Make the "
3979 "output human-readable:"
3980 msgstr ""
3981
3982 #. type: verbatim
3983 #: ../df/virt-df.pod:48
3984 #, no-wrap
3985 msgid ""
3986 " # virt-df -d F14x64 -h\n"
3987 " Filesystem                       Size     Used  Available  Use%\n"
3988 " F14x64:/dev/sda1                 484M      66M       393M   14%\n"
3989 " F14x64:/dev/vg_f13x64/lv_root    7.4G     3.4G       4.0G   46%\n"
3990 "\n"
3991 msgstr ""
3992
3993 #. type: textblock
3994 #: ../df/virt-df.pod:53
3995 msgid "Show disk usage for a disk image file called C<test.img>:"
3996 msgstr ""
3997
3998 #. type: verbatim
3999 #: ../df/virt-df.pod:55
4000 #, no-wrap
4001 msgid ""
4002 " $ virt-df -a test1.img\n"
4003 " Filesystem                  1K-blocks     Used  Available  Use%\n"
4004 " test1.img:/dev/sda1             99099     1551      92432    2%\n"
4005 "\n"
4006 msgstr ""
4007
4008 #. type: verbatim
4009 #: ../df/virt-df.pod:112
4010 #, no-wrap
4011 msgid ""
4012 " virt-df --format=raw -a disk.img\n"
4013 "\n"
4014 msgstr ""
4015
4016 #. type: verbatim
4017 #: ../df/virt-df.pod:116
4018 #, no-wrap
4019 msgid ""
4020 " virt-df --format=raw -a disk.img --format -a another.img\n"
4021 "\n"
4022 msgstr ""
4023
4024 #. type: textblock
4025 #: ../df/virt-df.pod:129
4026 msgid "Print sizes in human-readable format."
4027 msgstr ""
4028
4029 #. type: textblock
4030 #: ../df/virt-df.pod:131
4031 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
4032 msgstr ""
4033
4034 #. type: =item
4035 #: ../df/virt-df.pod:133 ../fish/guestfish.pod:258 ../fuse/guestmount.pod:164
4036 msgid "B<-i>"
4037 msgstr "B<-i>"
4038
4039 #. type: =item
4040 #: ../df/virt-df.pod:135
4041 msgid "B<--inodes>"
4042 msgstr "B<--inodes>"
4043
4044 #. type: textblock
4045 #: ../df/virt-df.pod:137
4046 msgid "Print inodes instead of blocks."
4047 msgstr ""
4048
4049 #. type: =item
4050 #: ../df/virt-df.pod:139
4051 msgid "B<--one-per-guest>"
4052 msgstr "B<--one-per-guest>"
4053
4054 #. type: textblock
4055 #: ../df/virt-df.pod:141
4056 msgid ""
4057 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
4058 "disks from several guests to a single libguestfs appliance."
4059 msgstr ""
4060
4061 #. type: textblock
4062 #: ../df/virt-df.pod:144
4063 msgid "You might use this option in the following circumstances:"
4064 msgstr ""
4065
4066 #. type: textblock
4067 #: ../df/virt-df.pod:150
4068 msgid ""
4069 "If you think an untrusted guest might actively try to exploit the libguestfs "
4070 "appliance kernel, then this prevents one guest from interfering with the "
4071 "stats printed for another guest."
4072 msgstr ""
4073
4074 #. type: textblock
4075 #: ../df/virt-df.pod:156
4076 msgid ""
4077 "If the kernel has a bug which stops it from accessing a filesystem in one "
4078 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
4079 "and report stats for further guests."
4080 msgstr ""
4081
4082 #. type: textblock
4083 #: ../df/virt-df.pod:165
4084 msgid ""
4085 "Print UUIDs instead of names.  This is useful for following a guest even "
4086 "when the guest is migrated or renamed, or when two guests happen to have the "
4087 "same name."
4088 msgstr ""
4089
4090 #. type: textblock
4091 #: ../df/virt-df.pod:169
4092 msgid ""
4093 "Note that only domains that we fetch from libvirt come with UUIDs.  For disk "
4094 "images, we still print the disk image name even when this option is "
4095 "specified."
4096 msgstr ""
4097
4098 #. type: textblock
4099 #: ../df/virt-df.pod:229
4100 msgid ""
4101 "L<df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<http://"
4102 "libguestfs.org/>."
4103 msgstr ""
4104
4105 #. type: textblock
4106 #: ../edit/virt-edit.pod:5
4107 msgid "virt-edit - Edit a file in a virtual machine"
4108 msgstr ""
4109
4110 #. type: verbatim
4111 #: ../edit/virt-edit.pod:9
4112 #, no-wrap
4113 msgid ""
4114 " virt-edit [--options] -d domname file [file ...]\n"
4115 "\n"
4116 msgstr ""
4117
4118 #. type: verbatim
4119 #: ../edit/virt-edit.pod:11
4120 #, no-wrap
4121 msgid ""
4122 " virt-edit [--options] -a disk.img [-a disk.img ...] file [file ...]\n"
4123 "\n"
4124 msgstr ""
4125
4126 #. type: verbatim
4127 #: ../edit/virt-edit.pod:13
4128 #, no-wrap
4129 msgid ""
4130 " virt-edit [-d domname|-a disk.img] file -e 'expr'\n"
4131 "\n"
4132 msgstr ""
4133
4134 #. type: verbatim
4135 #: ../edit/virt-edit.pod:17
4136 #, no-wrap
4137 msgid ""
4138 " virt-edit domname file\n"
4139 "\n"
4140 msgstr ""
4141
4142 #. type: verbatim
4143 #: ../edit/virt-edit.pod:19 ../edit/virt-edit.pod:183
4144 #, no-wrap
4145 msgid ""
4146 " virt-edit disk.img [disk.img ...] file\n"
4147 "\n"
4148 msgstr ""
4149
4150 #. type: =head1
4151 #: ../edit/virt-edit.pod:21 ../fish/guestfish.pod:23
4152 #: ../fish/virt-copy-in.pod:13 ../fish/virt-tar-in.pod:15
4153 #: ../fuse/guestmount.pod:15 ../rescue/virt-rescue.pod:19
4154 #: ../tools/virt-tar.pl:64 ../tools/virt-win-reg.pl:51
4155 msgid "WARNING"
4156 msgstr "ПОПЕРЕДЖЕННЯ"
4157
4158 #. type: textblock
4159 #: ../edit/virt-edit.pod:23
4160 msgid ""
4161 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
4162 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
4163 "doing this, but doesn't catch all cases."
4164 msgstr ""
4165
4166 #. type: textblock
4167 #: ../edit/virt-edit.pod:29
4168 msgid ""
4169 "C<virt-edit> is a command line tool to edit C<file> where each C<file> "
4170 "exists in the named virtual machine (or disk image)."
4171 msgstr ""
4172
4173 #. type: textblock
4174 #: ../edit/virt-edit.pod:32
4175 msgid ""
4176 "Multiple filenames can be given, in which case they are each edited in "
4177 "turn.  Each filename must be a full path, starting at the root directory "
4178 "(starting with '/')."
4179 msgstr ""
4180
4181 #. type: textblock
4182 #: ../edit/virt-edit.pod:36
4183 msgid "If you want to just view a file, use L<virt-cat(1)>."
4184 msgstr ""
4185
4186 #. type: textblock
4187 #: ../edit/virt-edit.pod:38
4188 msgid ""
4189 "For more complex cases you should look at the L<guestfish(1)> tool (see L</"
4190 "USING GUESTFISH> below)."
4191 msgstr ""
4192
4193 #. type: textblock
4194 #: ../edit/virt-edit.pod:41
4195 msgid ""
4196 "C<virt-edit> cannot be used to create a new file.  L<guestfish(1)> can do "
4197 "that and much more."
4198 msgstr ""
4199
4200 #. type: textblock
4201 #: ../edit/virt-edit.pod:46
4202 msgid "Edit the named files interactively:"
4203 msgstr ""
4204
4205 #. type: verbatim
4206 #: ../edit/virt-edit.pod:48
4207 #, no-wrap
4208 msgid ""
4209 " virt-edit -d mydomain /boot/grub/grub.conf\n"
4210 "\n"
4211 msgstr ""
4212
4213 #. type: verbatim
4214 #: ../edit/virt-edit.pod:50
4215 #, no-wrap
4216 msgid ""
4217 " virt-edit -d mydomain /etc/passwd\n"
4218 "\n"
4219 msgstr ""
4220
4221 #. type: textblock
4222 #: ../edit/virt-edit.pod:52
4223 msgid "For Windows guests, some Windows paths are understood:"
4224 msgstr ""
4225
4226 #. type: verbatim
4227 #: ../edit/virt-edit.pod:54
4228 #, no-wrap
4229 msgid ""
4230 " virt-edit -d mywindomain 'c:\\autoexec.bat'\n"
4231 "\n"
4232 msgstr ""
4233
4234 #. type: textblock
4235 #: ../edit/virt-edit.pod:56
4236 msgid ""
4237 "If Perl is installed, you can also edit files non-interactively (see L</NON-"
4238 "INTERACTIVE EDITING> below).  To change the init default level to 5:"
4239 msgstr ""
4240
4241 #. type: verbatim
4242 #: ../edit/virt-edit.pod:60
4243 #, no-wrap
4244 msgid ""
4245 " virt-edit -d mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
4246 "\n"
4247 msgstr ""
4248
4249 #. type: =item
4250 #: ../edit/virt-edit.pod:81
4251 msgid "B<-b> extension"
4252 msgstr ""
4253
4254 #. type: =item
4255 #: ../edit/virt-edit.pod:83
4256 msgid "B<--backup> extension"
4257 msgstr ""
4258
4259 #. type: textblock
4260 #: ../edit/virt-edit.pod:85
4261 msgid ""
4262 "Create a backup of the original file I<in the guest disk image>.  The backup "
4263 "has the original filename with C<extension> added."
4264 msgstr ""
4265
4266 #. type: textblock
4267 #: ../edit/virt-edit.pod:88
4268 msgid ""
4269 "Usually the first character of C<extension> would be a dot C<.> so you would "
4270 "write:"
4271 msgstr ""
4272
4273 #. type: verbatim
4274 #: ../edit/virt-edit.pod:91
4275 #, no-wrap
4276 msgid ""
4277 " virt-edit -b .orig [etc]\n"
4278 "\n"
4279 msgstr ""
4280
4281 #. type: textblock
4282 #: ../edit/virt-edit.pod:93
4283 msgid "By default, no backup file is made."
4284 msgstr ""
4285
4286 #. type: =item
4287 #: ../edit/virt-edit.pod:95 ../fish/guestfish.pod:181
4288 #: ../fuse/guestmount.pod:105 ../inspector/virt-inspector.pod:74
4289 #: ../tools/virt-list-filesystems.pl:77 ../tools/virt-list-partitions.pl:78
4290 #: ../tools/virt-tar.pl:127 ../tools/virt-win-reg.pl:128
4291 msgid "B<-c URI>"
4292 msgstr "B<-c адреса>"
4293
4294 #. type: =item
4295 #: ../edit/virt-edit.pod:97 ../fish/guestfish.pod:183
4296 #: ../fuse/guestmount.pod:107 ../inspector/virt-inspector.pod:76
4297 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
4298 #: ../tools/virt-tar.pl:129 ../tools/virt-win-reg.pl:130
4299 msgid "B<--connect URI>"
4300 msgstr "B<--connect адреса>"
4301
4302 #. type: textblock
4303 #: ../edit/virt-edit.pod:102 ../tools/virt-list-filesystems.pl:84
4304 #: ../tools/virt-list-partitions.pl:85 ../tools/virt-tar.pl:134
4305 #: ../tools/virt-win-reg.pl:135
4306 msgid ""
4307 "If you specify guest block devices directly, then libvirt is not used at all."
4308 msgstr ""
4309
4310 #. type: textblock
4311 #: ../edit/virt-edit.pod:114
4312 msgid ""
4313 "When prompting for keys and passphrases, virt-edit normally turns echoing "
4314 "off so you cannot see what you are typing.  If you are not worried about "
4315 "Tempest attacks and there is no one else in the room you can specify this "
4316 "flag to see what you are typing."
4317 msgstr ""
4318
4319 #. type: =item
4320 #: ../edit/virt-edit.pod:119
4321 msgid "B<-e> EXPR"
4322 msgstr "B<-e> вираз"
4323
4324 #. type: =item
4325 #: ../edit/virt-edit.pod:121
4326 msgid "B<--expr> EXPR"
4327 msgstr "B<--expr> вираз"
4328
4329 #. type: textblock
4330 #: ../edit/virt-edit.pod:123
4331 msgid ""
4332 "Instead of launching the external editor, non-interactively apply the Perl "
4333 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
4334 "EDITING> below."
4335 msgstr ""
4336
4337 #. type: textblock
4338 #: ../edit/virt-edit.pod:127
4339 msgid ""
4340 "Be careful to properly quote the expression to prevent it from being altered "
4341 "by the shell."
4342 msgstr ""
4343
4344 #. type: textblock
4345 #: ../edit/virt-edit.pod:130
4346 msgid "Note that this option is only available when Perl 5 is installed."
4347 msgstr ""
4348
4349 #. type: =item
4350 #: ../edit/virt-edit.pod:132
4351 msgid "B<--format> raw|qcow2|..."
4352 msgstr "B<--format> raw|qcow2|..."
4353
4354 #. type: verbatim
4355 #: ../edit/virt-edit.pod:143
4356 #, no-wrap
4357 msgid ""
4358 " virt-edit --format=raw -a disk.img file\n"
4359 "\n"
4360 msgstr ""
4361
4362 #. type: verbatim
4363 #: ../edit/virt-edit.pod:147
4364 #, no-wrap
4365 msgid ""
4366 " virt-edit --format=raw -a disk.img --format -a another.img file\n"
4367 "\n"
4368 msgstr ""
4369
4370 #. type: textblock
4371 #: ../edit/virt-edit.pod:181
4372 msgid "Previous versions of virt-edit allowed you to write either:"
4373 msgstr ""
4374
4375 #. type: verbatim
4376 #: ../edit/virt-edit.pod:187
4377 #, no-wrap
4378 msgid ""
4379 " virt-edit guestname file\n"
4380 "\n"
4381 msgstr ""
4382
4383 #. type: =head1
4384 #: ../edit/virt-edit.pod:195
4385 msgid "NON-INTERACTIVE EDITING"
4386 msgstr "НЕІНТЕРАКТИВНЕ РЕДАГУВАННЯ"
4387
4388 #. type: textblock
4389 #: ../edit/virt-edit.pod:197
4390 msgid ""
4391 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
4392 "administrator can interactively edit the file."
4393 msgstr ""
4394
4395 #. type: textblock
4396 #: ../edit/virt-edit.pod:200
4397 msgid ""
4398 "There are two ways also to use C<virt-edit> from scripts in order to make "
4399 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
4400 "like this, it's less error-prone to write scripts directly using the "
4401 "libguestfs API and Augeas for configuration file editing.)"
4402 msgstr ""
4403
4404 #. type: textblock
4405 #: ../edit/virt-edit.pod:206
4406 msgid ""
4407 "The first method is to temporarily set C<$EDITOR> to any script or program "
4408 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
4409 "update C<tmpfile> in place however it likes."
4410 msgstr ""
4411
4412 #. type: textblock
4413 #: ../edit/virt-edit.pod:210
4414 msgid ""
4415 "The second method is to use the I<-e> parameter of C<virt-edit> to run a "
4416 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
4417 "instances of C<foo> with C<bar> in a file:"
4418 msgstr ""
4419
4420 #. type: verbatim
4421 #: ../edit/virt-edit.pod:214
4422 #, no-wrap
4423 msgid ""
4424 " virt-edit -d domname filename -e 's/foo/bar/'\n"
4425 "\n"
4426 msgstr ""
4427
4428 #. type: textblock
4429 #: ../edit/virt-edit.pod:216
4430 msgid ""
4431 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
4432 "For example to delete root's password you could do:"
4433 msgstr ""
4434
4435 #. type: verbatim
4436 #: ../edit/virt-edit.pod:219
4437 #, no-wrap
4438 msgid ""
4439 " virt-edit -d domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
4440 "\n"
4441 msgstr ""
4442 " virt-edit -d назва_домену /etc/passwd -e 's/^root:.*?:/root::/'\n"
4443 "\n"
4444
4445 #. type: textblock
4446 #: ../edit/virt-edit.pod:221
4447 msgid ""
4448 "What really happens is that the snippet is evaluated as a Perl expression "
4449 "for each line of the file.  The line, including the final C<\\n>, is passed "
4450 "in C<$_> and the expression should update C<$_> or leave it unchanged."
4451 msgstr ""
4452
4453 #. type: textblock
4454 #: ../edit/virt-edit.pod:226
4455 msgid ""
4456 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
4457 "C<apache> user account from the password file you can do:"
4458 msgstr ""
4459
4460 #. type: verbatim
4461 #: ../edit/virt-edit.pod:229
4462 #, no-wrap
4463 msgid ""
4464 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
4465 "\n"
4466 msgstr ""
4467 " virt-edit -d mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
4468 "\n"
4469
4470 #. type: textblock
4471 #: ../edit/virt-edit.pod:231
4472 msgid ""
4473 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
4474 "the end of the file is rather difficult this way since there is no concept "
4475 "of \"last line of the file\" - your expression just doesn't get called "
4476 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
4477 "want to do this."
4478 msgstr ""
4479
4480 #. type: textblock
4481 #: ../edit/virt-edit.pod:237
4482 msgid ""
4483 "The variable C<$lineno> contains the current line number.  As is "
4484 "traditional, the first line in the file is number C<1>."
4485 msgstr ""
4486
4487 #. type: textblock
4488 #: ../edit/virt-edit.pod:240
4489 msgid ""
4490 "The return value from the expression is ignored, but the expression may call "
4491 "C<die> in order to abort the whole program, leaving the original file "
4492 "untouched."
4493 msgstr ""
4494
4495 #. type: textblock
4496 #: ../edit/virt-edit.pod:244
4497 msgid ""
4498 "Remember when matching the end of a line that C<$_> may contain the final C<"
4499 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
4500 "newline then neither of these.  Thus to match or substitute some text at the "
4501 "end of a line, use this regular expression:"
4502 msgstr ""
4503
4504 #. type: verbatim
4505 #: ../edit/virt-edit.pod:249
4506 #, no-wrap
4507 msgid ""
4508 " /some text(\\r?\\n)?$/\n"
4509 "\n"
4510 msgstr ""
4511 " /якийсь текст(\\r?\\n)?$/\n"
4512 "\n"
4513
4514 #. type: textblock
4515 #: ../edit/virt-edit.pod:251
4516 msgid ""
4517 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
4518 "$_> itself (since that would remove all newlines from the file):"
4519 msgstr ""
4520
4521 #. type: verbatim
4522 #: ../edit/virt-edit.pod:255
4523 #, no-wrap
4524 msgid ""
4525 " my $m = $_; chomp $m; $m =~ /some text$/\n"
4526 "\n"
4527 msgstr ""
4528 " my $m = $_; chomp $m; $m =~ /якийсь текст$/\n"
4529 "\n"
4530
4531 #. type: textblock
4532 #: ../edit/virt-edit.pod:259
4533 msgid ""
4534 "C<virt-edit> has a limited ability to understand Windows drive letters and "
4535 "paths (eg. C<E:\\foo\\bar.txt>)."
4536 msgstr ""
4537
4538 #. type: textblock
4539 #: ../edit/virt-edit.pod:278
4540 msgid ""
4541 "The path is resolved case insensitively to locate the file that should be "
4542 "edited."
4543 msgstr ""
4544
4545 #. type: textblock
4546 #: ../edit/virt-edit.pod:299
4547 msgid ""
4548 "L<guestfish(1)> is a more powerful, lower level tool which you can use when "
4549 "C<virt-edit> doesn't work."
4550 msgstr ""
4551
4552 #. type: textblock
4553 #: ../edit/virt-edit.pod:302
4554 msgid "Using C<virt-edit> is approximately equivalent to doing:"
4555 msgstr ""
4556
4557 #. type: verbatim
4558 #: ../edit/virt-edit.pod:304
4559 #, no-wrap
4560 msgid ""
4561 " guestfish --rw -i -d domname edit /file\n"
4562 "\n"
4563 msgstr ""
4564
4565 #. type: textblock
4566 #: ../edit/virt-edit.pod:306
4567 msgid ""
4568 "where C<domname> is the name of the libvirt guest, and C</file> is the full "
4569 "path to the file."
4570 msgstr ""
4571
4572 #. type: textblock
4573 #: ../edit/virt-edit.pod:309
4574 msgid ""
4575 "The command above uses libguestfs's guest inspection feature and so does not "
4576 "work on guests that libguestfs cannot inspect, or on things like arbitrary "
4577 "disk images that don't contain guests.  To edit a file on a disk image "
4578 "directly, use:"
4579 msgstr ""
4580
4581 #. type: verbatim
4582 #: ../edit/virt-edit.pod:314
4583 #, no-wrap
4584 msgid ""
4585 " guestfish --rw -a disk.img -m /dev/sda1 edit /file\n"
4586 "\n"
4587 msgstr ""
4588
4589 #. type: textblock
4590 #: ../edit/virt-edit.pod:316
4591 msgid ""
4592 "where C<disk.img> is the disk image, C</dev/sda1> is the filesystem within "
4593 "the disk image to edit, and C</file> is the full path to the file."
4594 msgstr ""
4595
4596 #. type: textblock
4597 #: ../edit/virt-edit.pod:320
4598 msgid ""
4599 "C<virt-edit> cannot create new files.  Use the guestfish commands C<touch>, "
4600 "C<write> or C<upload> instead:"
4601 msgstr ""
4602
4603 #. type: verbatim
4604 #: ../edit/virt-edit.pod:323
4605 #, no-wrap
4606 msgid ""
4607 " guestfish --rw -i -d domname touch /newfile\n"
4608 "\n"
4609 msgstr ""
4610
4611 #. type: verbatim
4612 #: ../edit/virt-edit.pod:325
4613 #, no-wrap
4614 msgid ""
4615 " guestfish --rw -i -d domname write /newfile \"new content\"\n"
4616 "\n"
4617 msgstr ""
4618
4619 #. type: verbatim
4620 #: ../edit/virt-edit.pod:327
4621 #, no-wrap
4622 msgid ""
4623 " guestfish --rw -i -d domname upload localfile /newfile\n"
4624 "\n"
4625 msgstr ""
4626
4627 #. type: =head1
4628 #: ../edit/virt-edit.pod:329 ../fish/guestfish.pod:1119
4629 #: ../rescue/virt-rescue.pod:261 ../sparsify/virt-sparsify.pod:232
4630 #: ../src/guestfs.pod:3209 ../test-tool/libguestfs-test-tool.pod:95
4631 msgid "ENVIRONMENT VARIABLES"
4632 msgstr "ЗМІННІ СЕРЕДОВИЩА"
4633
4634 #. type: =item
4635 #: ../edit/virt-edit.pod:333
4636 msgid "C<EDITOR>"
4637 msgstr "C<EDITOR>"
4638
4639 #. type: textblock
4640 #: ../edit/virt-edit.pod:335
4641 msgid ""
4642 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
4643 "\"emacs -nw\">"
4644 msgstr ""
4645
4646 #. type: textblock
4647 #: ../edit/virt-edit.pod:338
4648 msgid "If not set, C<vi> is used."
4649 msgstr ""
4650
4651 #. type: textblock
4652 #: ../edit/virt-edit.pod:356
4653 msgid ""
4654 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4655 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4656 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4657 msgstr ""
4658 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-"
4659 "tar-in(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
4660 "L<http://libguestfs.org/>, L<perl(1)>, L<perlre(1)>."
4661
4662 #. type: textblock
4663 #: ../erlang/examples/guestfs-erlang.pod:5
4664 msgid "guestfs-erlang - How to use libguestfs from Erlang"
4665 msgstr ""
4666
4667 #. type: verbatim
4668 #: ../erlang/examples/guestfs-erlang.pod:9
4669 #, no-wrap
4670 msgid ""
4671 " {ok, G} = guestfs:create(),\n"
4672 " ok = guestfs:add_drive_opts(G, Disk,\n"
4673 "                             [{format, \"raw\"}, {readonly, true}]),\n"
4674 " ok = guestfs:launch(G),\n"
4675 " [Device] = guestfs:list_devices(G),\n"
4676 " ok = guestfs:close(G).\n"
4677 "\n"
4678 msgstr ""
4679
4680 #. type: textblock
4681 #: ../erlang/examples/guestfs-erlang.pod:18
4682 msgid ""
4683 "This manual page documents how to call libguestfs from the Erlang "
4684 "programming language.  This page just documents the differences from the C "
4685 "API and gives some examples.  If you are not familiar with using libguestfs, "
4686 "you also need to read L<guestfs(3)>."
4687 msgstr ""
4688
4689 #. type: =head2
4690 #: ../erlang/examples/guestfs-erlang.pod:23
4691 msgid "OPENING AND CLOSING THE HANDLE"
4692 msgstr ""
4693
4694 #. type: textblock
4695 #: ../erlang/examples/guestfs-erlang.pod:25
4696 msgid ""
4697 "The Erlang bindings are implemented using an external program called C<erl-"
4698 "guestfs>.  This program must be on the current PATH, or else you should "
4699 "specify the full path to the program:"
4700 msgstr ""
4701
4702 #. type: verbatim
4703 #: ../erlang/examples/guestfs-erlang.pod:29
4704 #, no-wrap
4705 msgid ""
4706 " {ok, G} = guestfs:create().\n"
4707 "\n"
4708 msgstr ""
4709
4710 #. type: verbatim
4711 #: ../erlang/examples/guestfs-erlang.pod:31
4712 #, no-wrap
4713 msgid ""
4714 " {ok, G} = guestfs:create(\"/path/to/erl-guestfs\").\n"
4715 "\n"
4716 msgstr ""
4717
4718 #. type: textblock
4719 #: ../erlang/examples/guestfs-erlang.pod:33
4720 msgid "C<G> is the libguestfs handle which you should pass to other functions."
4721 msgstr ""
4722
4723 #. type: textblock
4724 #: ../erlang/examples/guestfs-erlang.pod:36
4725 msgid "To close the handle:"
4726 msgstr ""
4727
4728 #. type: verbatim
4729 #: ../erlang/examples/guestfs-erlang.pod:38
4730 #, no-wrap
4731 msgid ""
4732 " ok = guestfs:close(G).\n"
4733 "\n"
4734 msgstr ""
4735
4736 #. type: =head2
4737 #: ../erlang/examples/guestfs-erlang.pod:40
4738 msgid "FUNCTIONS WITH OPTIONAL ARGUMENTS"
4739 msgstr ""
4740
4741 #. type: textblock
4742 #: ../erlang/examples/guestfs-erlang.pod:42
4743 msgid ""
4744 "For functions that take optional arguments, the first arguments are the non-"
4745 "optional ones.  The last argument is a list of tuples supplying the "
4746 "remaining optional arguments."
4747 msgstr ""
4748
4749 #. type: verbatim
4750 #: ../erlang/examples/guestfs-erlang.pod:46
4751 #, no-wrap
4752 msgid ""
4753 " ok = guestfs:add_drive_opts(G, Disk,\n"
4754 "                             [{format, \"raw\"}, {readonly, true}]).\n"
4755 "\n"
4756 msgstr ""
4757
4758 #. type: textblock
4759 #: ../erlang/examples/guestfs-erlang.pod:49
4760 msgid "If the last argument would be an empty list, you can also omit it:"
4761 msgstr ""
4762
4763 #. type: verbatim
4764 #: ../erlang/examples/guestfs-erlang.pod:51
4765 #, no-wrap
4766 msgid ""
4767 " ok = guestfs:add_drive_opts(G, Disk).\n"
4768 "\n"
4769 msgstr ""
4770
4771 #. type: =head2
4772 #: ../erlang/examples/guestfs-erlang.pod:53
4773 msgid "RETURN VALUES AND ERRORS"
4774 msgstr ""
4775
4776 #. type: textblock
4777 #: ../erlang/examples/guestfs-erlang.pod:55
4778 msgid ""
4779 "On success, most functions return a C<Result> term (which could be a list, "
4780 "string, tuple etc.).  If there is nothing for the function to return, then "
4781 "the atom C<ok> is returned."
4782 msgstr ""
4783
4784 #. type: textblock
4785 #: ../erlang/examples/guestfs-erlang.pod:59
4786 msgid "On error, you would see one of the following tuples:"
4787 msgstr ""
4788
4789 #. type: =item
4790 #: ../erlang/examples/guestfs-erlang.pod:63
4791 msgid "C<{error, Msg, Errno}>"
4792 msgstr ""
4793
4794 #. type: textblock
4795 #: ../erlang/examples/guestfs-erlang.pod:65
4796 msgid "This indicates an ordinary error from the function."
4797 msgstr ""
4798
4799 #. type: textblock
4800 #: ../erlang/examples/guestfs-erlang.pod:67
4801 msgid ""
4802 "C<Msg> is the error message (string) and C<Errno> is the Unix error "
4803 "(integer)."
4804 msgstr ""
4805
4806 #. type: textblock
4807 #: ../erlang/examples/guestfs-erlang.pod:70
4808 msgid "C<Errno> can be zero.  See L<guestfs(3)/guestfs_last_errno>."
4809 msgstr ""
4810
4811 #. type: =item
4812 #: ../erlang/examples/guestfs-erlang.pod:72
4813 msgid "C<{unknown, Function}>"
4814 msgstr ""
4815
4816 #. type: textblock
4817 #: ../erlang/examples/guestfs-erlang.pod:74
4818 msgid ""
4819 "This indicates that the function you called is not known.  Generally this "
4820 "means you are mixing C<erl-guestfs> from another version of libguestfs, "
4821 "which you should not do."
4822 msgstr ""
4823
4824 #. type: textblock
4825 #: ../erlang/examples/guestfs-erlang.pod:78
4826 msgid "C<Function> is the name of the unknown function."
4827 msgstr ""
4828
4829 #. type: =item
4830 #: ../erlang/examples/guestfs-erlang.pod:80
4831 msgid "C<{unknownarg, Arg}>"
4832 msgstr ""
4833
4834 #. type: textblock
4835 #: ../erlang/examples/guestfs-erlang.pod:82
4836 msgid ""
4837 "This indicates that you called a function with optional arguments, with an "
4838 "unknown argument name."
4839 msgstr ""
4840
4841 #. type: textblock
4842 #: ../erlang/examples/guestfs-erlang.pod:85
4843 msgid "C<Arg> is the name of the unknown argument."
4844 msgstr ""
4845
4846 #. type: =head1
4847 #: ../erlang/examples/guestfs-erlang.pod:89
4848 #: ../examples/guestfs-examples.pod:25 ../java/examples/guestfs-java.pod:37
4849 #: ../ocaml/examples/guestfs-ocaml.pod:70 ../perl/examples/guestfs-perl.pod:31
4850 #: ../python/examples/guestfs-python.pod:34
4851 #: ../ruby/examples/guestfs-ruby.pod:28
4852 msgid "EXAMPLE 1: CREATE A DISK IMAGE"
4853 msgstr "ПРИКЛАД 1. СТВОРЕННЯ ОБРАЗУ ДИСКА"
4854
4855 #. type: textblock
4856 #: ../erlang/examples/guestfs-erlang.pod:91
4857 #: ../examples/guestfs-examples.pod:27 ../java/examples/guestfs-java.pod:39
4858 #: ../ocaml/examples/guestfs-ocaml.pod:72 ../perl/examples/guestfs-perl.pod:33
4859 #: ../python/examples/guestfs-python.pod:36
4860 #: ../ruby/examples/guestfs-ruby.pod:30
4861 msgid "@EXAMPLE1@"
4862 msgstr "@EXAMPLE1@"
4863
4864 #. type: =head1
4865 #: ../erlang/examples/guestfs-erlang.pod:93
4866 #: ../examples/guestfs-examples.pod:29 ../java/examples/guestfs-java.pod:41
4867 #: ../ocaml/examples/guestfs-ocaml.pod:74 ../perl/examples/guestfs-perl.pod:35
4868 #: ../python/examples/guestfs-python.pod:38
4869 #: ../ruby/examples/guestfs-ruby.pod:32
4870 msgid "EXAMPLE 2: INSPECT A VIRTUAL MACHINE DISK IMAGE"
4871 msgstr "ПРИКЛАД 2. ПЕРЕВІРКА ОБРАЗУ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
4872
4873 #. type: textblock
4874 #: ../erlang/examples/guestfs-erlang.pod:95
4875 #: ../examples/guestfs-examples.pod:31 ../java/examples/guestfs-java.pod:43
4876 #: ../ocaml/examples/guestfs-ocaml.pod:76 ../perl/examples/guestfs-perl.pod:37
4877 #: ../python/examples/guestfs-python.pod:40
4878 #: ../ruby/examples/guestfs-ruby.pod:34
4879 msgid "@EXAMPLE2@"
4880 msgstr "@EXAMPLE2@"
4881
4882 #. type: textblock
4883 #: ../erlang/examples/guestfs-erlang.pod:99
4884 msgid ""
4885 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
4886 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
4887 "L<guestfs-ruby(3)>, L<http://www.erlang.org/>.  L<http://libguestfs.org/>."
4888 msgstr ""
4889
4890 #. type: =head1
4891 #: ../erlang/examples/guestfs-erlang.pod:110
4892 #: ../examples/guestfs-examples.pod:45 ../examples/guestfs-recipes.pod:397
4893 #: ../fish/guestfish.pod:1296 ../fish/virt-copy-in.pod:60
4894 #: ../fish/virt-copy-out.pod:49 ../fish/virt-tar-in.pod:58
4895 #: ../fish/virt-tar-out.pod:51 ../fuse/guestmount.pod:328
4896 #: ../inspector/virt-inspector.pod:404 ../java/examples/guestfs-java.pod:58
4897 #: ../ocaml/examples/guestfs-ocaml.pod:91 ../perl/examples/guestfs-perl.pod:52
4898 #: ../python/examples/guestfs-python.pod:54
4899 #: ../ruby/examples/guestfs-ruby.pod:48 ../src/guestfs.pod:3348
4900 #: ../test-tool/libguestfs-test-tool.pod:106
4901 msgid "AUTHORS"
4902 msgstr "АВТОРИ"
4903
4904 #. type: textblock
4905 #: ../erlang/examples/guestfs-erlang.pod:112
4906 #: ../examples/guestfs-examples.pod:47 ../examples/guestfs-recipes.pod:399
4907 #: ../fish/guestfish.pod:1298 ../fish/virt-copy-in.pod:62
4908 #: ../fish/virt-copy-out.pod:51 ../fish/virt-tar-in.pod:60
4909 #: ../fish/virt-tar-out.pod:53 ../fuse/guestmount.pod:330
4910 #: ../java/examples/guestfs-java.pod:60 ../ocaml/examples/guestfs-ocaml.pod:93
4911 #: ../perl/examples/guestfs-perl.pod:54
4912 #: ../python/examples/guestfs-python.pod:56
4913 #: ../ruby/examples/guestfs-ruby.pod:50 ../src/guestfs.pod:3350
4914 #: ../test-tool/libguestfs-test-tool.pod:108
4915 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
4916 msgstr "Richard W.M. Jones (C<rjones at redhat dot com>)"
4917
4918 #. type: textblock
4919 #: ../erlang/examples/guestfs-erlang.pod:116
4920 #: ../java/examples/guestfs-java.pod:64 ../perl/examples/guestfs-perl.pod:58
4921 msgid "Copyright (C) 2011 Red Hat Inc. L<http://libguestfs.org/>"
4922 msgstr ""
4923
4924 #. type: textblock
4925 #: ../erlang/examples/guestfs-erlang.pod:118
4926 #: ../examples/guestfs-examples.pod:53 ../examples/guestfs-recipes.pod:405
4927 #: ../java/examples/guestfs-java.pod:66 ../ocaml/examples/guestfs-ocaml.pod:99
4928 #: ../perl/examples/guestfs-perl.pod:60
4929 #: ../python/examples/guestfs-python.pod:62
4930 #: ../ruby/examples/guestfs-ruby.pod:56
4931 msgid ""
4932 "The examples in this manual page may be freely copied, modified and "
4933 "distributed without any restrictions."
4934 msgstr ""
4935
4936 #. type: textblock
4937 #: ../erlang/examples/guestfs-erlang.pod:121
4938 #: ../examples/guestfs-examples.pod:56 ../examples/guestfs-recipes.pod:408
4939 #: ../java/examples/guestfs-java.pod:69
4940 #: ../ocaml/examples/guestfs-ocaml.pod:102
4941 #: ../perl/examples/guestfs-perl.pod:63
4942 #: ../python/examples/guestfs-python.pod:65
4943 #: ../ruby/examples/guestfs-ruby.pod:59 ../src/guestfs.pod:3357
4944 msgid ""
4945 "This library is free software; you can redistribute it and/or modify it "
4946 "under the terms of the GNU Lesser General Public License as published by the "
4947 "Free Software Foundation; either version 2 of the License, or (at your "
4948 "option) any later version."
4949 msgstr ""
4950
4951 #. type: textblock
4952 #: ../erlang/examples/guestfs-erlang.pod:126
4953 #: ../examples/guestfs-examples.pod:61 ../examples/guestfs-recipes.pod:413
4954 #: ../java/examples/guestfs-java.pod:74
4955 #: ../ocaml/examples/guestfs-ocaml.pod:107
4956 #: ../perl/examples/guestfs-perl.pod:68
4957 #: ../python/examples/guestfs-python.pod:70
4958 #: ../ruby/examples/guestfs-ruby.pod:64 ../src/guestfs.pod:3362
4959 msgid ""
4960 "This library is distributed in the hope that it will be useful, but WITHOUT "
4961 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
4962 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
4963 "for more details."
4964 msgstr ""
4965
4966 #. type: textblock
4967 #: ../erlang/examples/guestfs-erlang.pod:131
4968 #: ../examples/guestfs-examples.pod:66 ../examples/guestfs-recipes.pod:418
4969 #: ../java/examples/guestfs-java.pod:79
4970 #: ../ocaml/examples/guestfs-ocaml.pod:112
4971 #: ../perl/examples/guestfs-perl.pod:73
4972 #: ../python/examples/guestfs-python.pod:75
4973 #: ../ruby/examples/guestfs-ruby.pod:69 ../src/guestfs.pod:3367
4974 msgid ""
4975 "You should have received a copy of the GNU Lesser General Public License "
4976 "along with this library; if not, write to the Free Software Foundation, "
4977 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
4978 msgstr ""
4979
4980 #. type: textblock
4981 #: ../examples/guestfs-examples.pod:5
4982 msgid "guestfs-examples - Examples of using libguestfs from C"
4983 msgstr ""
4984
4985 #. type: verbatim
4986 #: ../examples/guestfs-examples.pod:9 ../src/guestfs.pod:9
4987 #, no-wrap
4988 msgid ""
4989 " #include <guestfs.h>\n"
4990 " \n"
4991 msgstr ""
4992 " #include <guestfs.h>\n"
4993 " \n"
4994
4995 #. type: verbatim
4996 #: ../examples/guestfs-examples.pod:11
4997 #, no-wrap
4998 msgid ""
4999 " guestfs_h *g = guestfs_create ();\n"
5000 " guestfs_add_drive_ro (g, \"disk.img\");\n"
5001 " guestfs_launch (g);\n"
5002 "\n"
5003 msgstr ""
5004 " guestfs_h *g = guestfs_create ();\n"
5005 " guestfs_add_drive_ro (g, \"disk.img\");\n"
5006 " guestfs_launch (g);\n"
5007 "\n"
5008
5009 #. type: verbatim
5010 #: ../examples/guestfs-examples.pod:15 ../src/guestfs.pod:19
5011 #, no-wrap
5012 msgid ""
5013 " cc prog.c -o prog -lguestfs\n"
5014 "or:\n"
5015 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
5016 "\n"
5017 msgstr ""
5018 " cc prog.c -o prog -lguestfs\n"
5019 "або:\n"
5020 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
5021 "\n"
5022
5023 #. type: textblock
5024 #: ../examples/guestfs-examples.pod:21
5025 msgid ""
5026 "This manual page contains examples of calling libguestfs from the C "
5027 "programming language.  If you are not familiar with using libguestfs, you "
5028 "also need to read L<guestfs(3)>."
5029 msgstr ""
5030
5031 #. type: textblock
5032 #: ../examples/guestfs-examples.pod:35
5033 msgid ""
5034 "L<guestfs(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)"
5035 ">, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
5036 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
5037 msgstr ""
5038
5039 #. type: textblock
5040 #: ../examples/guestfs-examples.pod:51 ../ocaml/examples/guestfs-ocaml.pod:97
5041 #: ../python/examples/guestfs-python.pod:60
5042 #: ../ruby/examples/guestfs-ruby.pod:54
5043 msgid "Copyright (C) 2010 Red Hat Inc. L<http://libguestfs.org/>"
5044 msgstr ""
5045
5046 #. type: =end
5047 #: ../examples/guestfs-recipes.pod:3 ../examples/guestfs-recipes.pod:12
5048 msgid "comment"
5049 msgstr "коментар"
5050
5051 #. type: textblock
5052 #: ../examples/guestfs-recipes.pod:5
5053 msgid ""
5054 "pod2man and pod2html have differing bugs which makes it hard to write URLs "
5055 "here.  The only way which works for both sorts of output is to just write "
5056 "the URL directly.  Do NOT use L<...> for URLs."
5057 msgstr ""
5058
5059 #. type: textblock
5060 #: ../examples/guestfs-recipes.pod:9
5061 msgid ""
5062 "We break with tradition here and don't use ALL CAPS for the section "
5063 "headings, as this makes them much easier to read."
5064 msgstr ""
5065
5066 #. type: textblock
5067 #: ../examples/guestfs-recipes.pod:16
5068 msgid "guestfs-recipes - libguestfs, guestfish and virt tools recipes"
5069 msgstr ""
5070
5071 #. type: textblock
5072 #: ../examples/guestfs-recipes.pod:20
5073 msgid ""
5074 "This page contains recipes for and links to things you can do using "
5075 "libguestfs, L<guestfish(1)> and the virt tools."
5076 msgstr ""
5077
5078 #. type: =head1
5079 #: ../examples/guestfs-recipes.pod:23
5080 msgid "Audit a virtual machine for setuid files"
5081 msgstr ""
5082
5083 #. type: textblock
5084 #: ../examples/guestfs-recipes.pod:25
5085 msgid ""
5086 "The link below contains a small program which can be used to audit a Linux "
5087 "virtual machine to see what setuid and setgid files it contains."
5088 msgstr ""
5089
5090 #. type: textblock
5091 #: ../examples/guestfs-recipes.pod:28
5092 msgid ""
5093 "https://rwmj.wordpress.com/2010/12/15/tip-audit-virtual-machine-for-setuid-"
5094 "files/#content"
5095 msgstr ""
5096
5097 #. type: =head1
5098 #: ../examples/guestfs-recipes.pod:30
5099 msgid "Change the background image in a Windows XP VM"
5100 msgstr ""
5101
5102 #. type: textblock
5103 #: ../examples/guestfs-recipes.pod:32
5104 msgid ""
5105 "The links below explain how to use L<guestfish(1)> to change the background "
5106 "image for a user of a Windows XP VM.  Unfortunately the technique appears to "
5107 "be substantially different for each version of Windows."
5108 msgstr ""
5109
5110 #. type: textblock
5111 #: ../examples/guestfs-recipes.pod:37
5112 msgid ""
5113 "https://lists.fedoraproject.org/pipermail/virt/2011-May/002655.html https://"
5114 "lists.fedoraproject.org/pipermail/virt/2011-May/002658.html"
5115 msgstr ""
5116
5117 #. type: =head1
5118 #: ../examples/guestfs-recipes.pod:40
5119 msgid "Cloning a virtual machine (Linux)"
5120 msgstr ""
5121
5122 #. type: textblock
5123 #: ../examples/guestfs-recipes.pod:42
5124 msgid ""
5125 "The guestfish technique described in the link below works well for most "
5126 "Linux VMs.  Depending on the Linux distro you may need to change the paths "
5127 "slightly."
5128 msgstr ""
5129
5130 #. type: textblock
5131 #: ../examples/guestfs-recipes.pod:46
5132 msgid ""
5133 "https://rwmj.wordpress.com/2010/09/24/tip-my-procedure-for-cloning-a-fedora-"
5134 "vm/#content"
5135 msgstr ""
5136
5137 #. type: textblock
5138 #: ../examples/guestfs-recipes.pod:48
5139 msgid ""
5140 "Avoid L<virt-clone(1)>.  Currently what to do about virt-clone is under "
5141 "discussion."
5142 msgstr ""
5143
5144 #. type: textblock
5145 #: ../examples/guestfs-recipes.pod:51
5146 msgid "https://www.redhat.com/archives/virt-tools-list/2011-May/msg00019.html"
5147 msgstr ""
5148
5149 #. type: =head1
5150 #: ../examples/guestfs-recipes.pod:53
5151 msgid "Cloning a virtual machine (Windows)"
5152 msgstr ""
5153
5154 #. type: textblock
5155 #: ../examples/guestfs-recipes.pod:55
5156 msgid ""
5157 "It is possible to do a \"sysprep\" using libguestfs alone, although not "
5158 "straightforward.  Currently there is code in the Aeolus Oz project which "
5159 "does this (using libguestfs).  As part of our review of the virt-clone tool, "
5160 "we may add sysprepping ability."
5161 msgstr ""
5162
5163 #. type: textblock
5164 #: ../examples/guestfs-recipes.pod:60
5165 msgid ""
5166 "https://github.com/clalancette/oz https://www.redhat.com/archives/virt-tools-"
5167 "list/2011-May/msg00019.html"
5168 msgstr ""
5169
5170 #. type: =head1
5171 #: ../examples/guestfs-recipes.pod:63
5172 msgid "Convert a CD-ROM / DVD / ISO to a tarball"
5173 msgstr ""
5174
5175 #. type: textblock
5176 #: ../examples/guestfs-recipes.pod:65
5177 msgid "This converts input C<cd.iso> to output C<cd.tar.gz>:"
5178 msgstr ""
5179
5180 #. type: verbatim
5181 #: ../examples/guestfs-recipes.pod:67
5182 #, no-wrap
5183 msgid ""
5184 " guestfish --ro -a cd.iso -m /dev/sda tgz-out / cd.tar.gz\n"
5185 "\n"
5186 msgstr ""
5187
5188 #. type: textblock
5189 #: ../examples/guestfs-recipes.pod:69
5190 msgid "To export just a subdirectory, eg. C</files>, do:"
5191 msgstr ""
5192
5193 #. type: verbatim
5194 #: ../examples/guestfs-recipes.pod:71
5195 #, no-wrap
5196 msgid ""
5197 " guestfish --ro -a cd.iso -m /dev/sda tgz-out /files cd.tar.gz\n"
5198 "\n"
5199 msgstr ""
5200
5201 #. type: =head1
5202 #: ../examples/guestfs-recipes.pod:73
5203 msgid "Create empty disk images"
5204 msgstr ""
5205
5206 #. type: textblock
5207 #: ../examples/guestfs-recipes.pod:75
5208 msgid ""
5209 "You can use the L<guestfish(1)> I<-N> option to create empty disk images.  "
5210 "The useful guide below explains the options available."
5211 msgstr ""
5212
5213 #. type: textblock
5214 #: ../examples/guestfs-recipes.pod:78
5215 msgid ""
5216 "https://rwmj.wordpress.com/2010/09/08/new-guestfish-n-options-in-1-5-9/"
5217 "#content"
5218 msgstr ""
5219
5220 #. type: =head1
5221 #: ../examples/guestfs-recipes.pod:80
5222 msgid "Dump raw filesystem content from inside a disk image or VM"
5223 msgstr ""
5224
5225 #. type: textblock
5226 #: ../examples/guestfs-recipes.pod:82
5227 msgid ""
5228 "You can use the L<guestfish(1)> C<download> command to extract the raw "
5229 "filesystem content from any filesystem in a disk image or a VM (even one "
5230 "which is encrypted or buried inside an LV):"
5231 msgstr ""
5232
5233 #. type: verbatim
5234 #: ../examples/guestfs-recipes.pod:86
5235 #, no-wrap
5236 msgid ""
5237 " guestfish --ro -a disk.img run : download /dev/sda1 sda1.img\n"
5238 "\n"
5239 msgstr ""
5240
5241 #. type: verbatim
5242 #: ../examples/guestfs-recipes.pod:88
5243 #, no-wrap
5244 msgid ""
5245 " guestfish --ro -d Guest run : download /dev/vg_guest/lv_root lv.img\n"
5246 "\n"
5247 msgstr ""
5248
5249 #. type: textblock
5250 #: ../examples/guestfs-recipes.pod:90
5251 msgid "To list the filesystems in a disk image, use L<virt-filesystems(1)>."
5252 msgstr ""
5253
5254 #. type: =head1
5255 #: ../examples/guestfs-recipes.pod:92
5256 msgid "Edit grub configuration in a VM"
5257 msgstr ""
5258
5259 #. type: textblock
5260 #: ../examples/guestfs-recipes.pod:94
5261 msgid "You can use this to:"
5262 msgstr ""
5263
5264 #. type: textblock
5265 #: ../examples/guestfs-recipes.pod:100
5266 msgid "Fix a virtual machine that does not boot."
5267 msgstr ""
5268
5269 #. type: textblock
5270 #: ../examples/guestfs-recipes.pod:104
5271 msgid "Change which kernel is used to boot the VM."
5272 msgstr ""
5273
5274 #. type: textblock
5275 #: ../examples/guestfs-recipes.pod:108
5276 msgid "Change kernel command line options."
5277 msgstr ""
5278
5279 #. type: textblock
5280 #: ../examples/guestfs-recipes.pod:112
5281 msgid "Use L<virt-edit(1)> to edit the grub configuration:"
5282 msgstr ""
5283
5284 #. type: verbatim
5285 #: ../examples/guestfs-recipes.pod:114
5286 #, no-wrap
5287 msgid ""
5288 " virt-edit -d BrokenGuest /boot/grub/grub.conf\n"
5289 "\n"
5290 msgstr ""
5291
5292 #. type: textblock
5293 #: ../examples/guestfs-recipes.pod:116
5294 msgid ""
5295 "or for general tinkering inside an unbootable VM use L<virt-rescue(1)> like "
5296 "this:"
5297 msgstr ""
5298
5299 #. type: verbatim
5300 #: ../examples/guestfs-recipes.pod:119
5301 #, no-wrap
5302 msgid ""
5303 " virt-rescue -d BrokenGuest\n"
5304 "\n"
5305 msgstr ""
5306
5307 #. type: =head1
5308 #: ../examples/guestfs-recipes.pod:121
5309 msgid "Export any directory from a VM"
5310 msgstr ""
5311
5312 #. type: textblock
5313 #: ../examples/guestfs-recipes.pod:123
5314 msgid ""
5315 "To export C</home> from a VM into a local directory use L<virt-copy-out(1)>:"
5316 msgstr ""
5317
5318 #. type: verbatim
5319 #: ../examples/guestfs-recipes.pod:126
5320 #, no-wrap
5321 msgid ""
5322 " virt-copy-out -d Guest /home .\n"
5323 "\n"
5324 msgstr ""
5325
5326 #. type: textblock
5327 #: ../examples/guestfs-recipes.pod:128 ../fish/guestfish-actions.pod:9
5328 #: ../fish/guestfish-actions.pod:1450 ../fish/guestfish-actions.pod:1715
5329 #: ../fish/guestfish-actions.pod:2132 ../src/guestfs-actions.pod:18
5330 #: ../src/guestfs-actions.pod:2334 ../src/guestfs-actions.pod:2758
5331 #: ../src/guestfs-actions.pod:3317 ../src/guestfs.pod:1685
5332 #: ../tools/virt-win-reg.pl:717
5333 msgid "Notes:"
5334 msgstr "Нотатки:"
5335
5336 #. type: textblock
5337 #: ../examples/guestfs-recipes.pod:134
5338 msgid ""
5339 "The final dot of the command is not a printing error.  It means we want to "
5340 "copy out to the current directory."
5341 msgstr ""
5342
5343 #. type: textblock
5344 #: ../examples/guestfs-recipes.pod:139
5345 msgid "This creates a directory called C<home> under the current directory."
5346 msgstr ""
5347
5348 #. type: textblock
5349 #: ../examples/guestfs-recipes.pod:143
5350 msgid ""
5351 "If the guest is a Windows guest then you can use drive letters and "
5352 "backslashes, but you must prefix the path with C<win:> and quote it to "
5353 "protect it from the shell, like this:"
5354 msgstr ""
5355
5356 #. type: verbatim
5357 #: ../examples/guestfs-recipes.pod:147
5358 #, no-wrap
5359 msgid ""
5360 " virt-copy-out -d WinGuest 'win:c:\\windows\\system32\\config' .\n"
5361 "\n"
5362 msgstr ""
5363
5364 #. type: textblock
5365 #: ../examples/guestfs-recipes.pod:149
5366 msgid "To get the output as a compressed tarball, do:"
5367 msgstr ""
5368
5369 #. type: verbatim
5370 #: ../examples/guestfs-recipes.pod:151
5371 #, no-wrap
5372 msgid ""
5373 " virt-tar-out -d Guest /home - | gzip --best > home.tar.gz\n"
5374 "\n"
5375 msgstr ""
5376
5377 #. type: textblock
5378 #: ../examples/guestfs-recipes.pod:153
5379 msgid ""
5380 "Although it sounds tempting, this is usually not a reliable way to get a "
5381 "backup from a running guest.  See the entry in the FAQ: http://libguestfs."
5382 "org/FAQ.html#backup"
5383 msgstr ""
5384
5385 #. type: =head1
5386 #: ../examples/guestfs-recipes.pod:157
5387 msgid "Find out which user is using the most space"
5388 msgstr ""
5389
5390 #. type: textblock
5391 #: ../examples/guestfs-recipes.pod:159
5392 msgid ""
5393 "This simple script examines a Linux guest to find out which user is using "
5394 "the most space in their home directory:"
5395 msgstr ""
5396
5397 #. type: verbatim
5398 #: ../examples/guestfs-recipes.pod:162
5399 #, no-wrap
5400 msgid ""
5401 " #!/bin/sh -\n"
5402 " \n"
5403 msgstr ""
5404
5405 #. type: verbatim
5406 #: ../examples/guestfs-recipes.pod:164 ../fish/guestfish.pod:984
5407 #, no-wrap
5408 msgid ""
5409 " set -e\n"
5410 " \n"
5411 msgstr ""
5412
5413 #. type: verbatim
5414 #: ../examples/guestfs-recipes.pod:166
5415 #, no-wrap
5416 msgid ""
5417 " vm=\"$1\"\n"
5418 " dir=/home\n"
5419 " \n"
5420 msgstr ""
5421
5422 #. type: verbatim
5423 #: ../examples/guestfs-recipes.pod:169
5424 #, no-wrap
5425 msgid ""
5426 " eval $(guestfish --ro -d \"$vm\" -i --listen)\n"
5427 " \n"
5428 msgstr ""
5429
5430 #. type: verbatim
5431 #: ../examples/guestfs-recipes.pod:171
5432 #, no-wrap
5433 msgid ""
5434 " for d in $(guestfish --remote ls \"$dir\"); do\n"
5435 "     echo -n \"$dir/$d\"\n"
5436 "     echo -ne '\\t'\n"
5437 "     guestfish --remote du \"$dir/$d\";\n"
5438 " done | sort -nr -k 2\n"
5439 " \n"
5440 msgstr ""
5441
5442 #. type: verbatim
5443 #: ../examples/guestfs-recipes.pod:177 ../fish/guestfish.pod:941
5444 #, no-wrap
5445 msgid ""
5446 " guestfish --remote exit\n"
5447 "\n"
5448 msgstr ""
5449
5450 #. type: =head1
5451 #: ../examples/guestfs-recipes.pod:179
5452 msgid "Get DHCP address from a VM"
5453 msgstr ""
5454
5455 #. type: textblock
5456 #: ../examples/guestfs-recipes.pod:181
5457 msgid ""
5458 "The link below explains the many different possible techniques for getting "
5459 "the last assigned DHCP address of a virtual machine."
5460 msgstr ""
5461
5462 #. type: textblock
5463 #: ../examples/guestfs-recipes.pod:184
5464 msgid ""
5465 "https://rwmj.wordpress.com/2011/03/31/tip-code-for-getting-dhcp-address-from-"
5466 "a-virtual-machine-disk-image/#content"
5467 msgstr ""
5468
5469 #. type: textblock
5470 #: ../examples/guestfs-recipes.pod:186
5471 msgid ""
5472 "In the libguestfs source examples directory you will find the latest version "
5473 "of the C<virt-dhcp-address.c> program."
5474 msgstr ""
5475
5476 #. type: =head1
5477 #: ../examples/guestfs-recipes.pod:189
5478 msgid "Get the operating system product name string"
5479 msgstr ""
5480
5481 #. type: textblock
5482 #: ../examples/guestfs-recipes.pod:191
5483 msgid "Save the following script into a file called C<product-name.sh>:"
5484 msgstr ""
5485
5486 #. type: verbatim
5487 #: ../examples/guestfs-recipes.pod:193
5488 #, no-wrap
5489 msgid ""
5490 " #!/bin/sh -\n"
5491 " set -e\n"
5492 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5493 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5494 " guestfish --remote inspect-get-product-name \"$root\"\n"
5495 " guestfish --remote exit\n"
5496 "\n"
5497 msgstr ""
5498
5499 #. type: textblock
5500 #: ../examples/guestfs-recipes.pod:200
5501 msgid "Make the script executable and run it on a named guest:"
5502 msgstr ""
5503
5504 #. type: verbatim
5505 #: ../examples/guestfs-recipes.pod:202
5506 #, no-wrap
5507 msgid ""
5508 " # product-name.sh RHEL60x64\n"
5509 " Red Hat Enterprise Linux Server release 6.0 (Santiago)\n"
5510 "\n"
5511 msgstr ""
5512
5513 #. type: textblock
5514 #: ../examples/guestfs-recipes.pod:205
5515 msgid ""
5516 "You can also use an XPath query on the L<virt-inspector(1)> XML using the "
5517 "C<xpath> command line tool or from your favourite programming language:"
5518 msgstr ""
5519
5520 #. type: verbatim
5521 #: ../examples/guestfs-recipes.pod:209
5522 #, no-wrap
5523 msgid ""
5524 " # virt-inspector RHEL60x64 > xml\n"
5525 " # xpath '//product_name' < xml\n"
5526 " Found 1 nodes:\n"
5527 " -- NODE --\n"
5528 " <product_name>Red Hat Enterprise Linux Server release 6.0 (Santiago)</product_name>\n"
5529 "\n"
5530 msgstr ""
5531
5532 #. type: =head1
5533 #: ../examples/guestfs-recipes.pod:215
5534 msgid "Get the default boot kernel for a Linux VM"
5535 msgstr ""
5536
5537 #. type: textblock
5538 #: ../examples/guestfs-recipes.pod:217
5539 msgid ""
5540 "The link below contains a program to print the default boot kernel for a "
5541 "Linux VM."
5542 msgstr ""
5543
5544 #. type: textblock
5545 #: ../examples/guestfs-recipes.pod:220
5546 msgid ""
5547 "https://rwmj.wordpress.com/2010/10/30/tip-use-augeas-to-get-the-default-boot-"
5548 "kernel-for-a-vm/#content"
5549 msgstr ""
5550
5551 #. type: textblock
5552 #: ../examples/guestfs-recipes.pod:222
5553 msgid ""
5554 "It uses Augeas, and the technique is generally applicable for many different "
5555 "tasks, such as:"
5556 msgstr ""
5557
5558 #. type: textblock
5559 #: ../examples/guestfs-recipes.pod:229
5560 msgid "listing the user accounts in the guest"
5561 msgstr ""
5562
5563 #. type: textblock
5564 #: ../examples/guestfs-recipes.pod:233
5565 msgid "what repositories is it configured to use"
5566 msgstr ""
5567
5568 #. type: textblock
5569 #: ../examples/guestfs-recipes.pod:237
5570 msgid "what NTP servers does it connect to"
5571 msgstr ""
5572
5573 #. type: textblock
5574 #: ../examples/guestfs-recipes.pod:241
5575 msgid "what were the boot messages last time it booted"
5576 msgstr ""
5577
5578 #. type: textblock
5579 #: ../examples/guestfs-recipes.pod:245
5580 msgid "listing who was logged in recently"
5581 msgstr ""
5582
5583 #. type: textblock
5584 #: ../examples/guestfs-recipes.pod:249
5585 msgid "http://augeas.net/"
5586 msgstr ""
5587
5588 #. type: =head1
5589 #: ../examples/guestfs-recipes.pod:251
5590 msgid "Install RPMs in a guest"
5591 msgstr ""
5592
5593 #. type: textblock
5594 #: ../examples/guestfs-recipes.pod:253
5595 msgid ""
5596 "The link below contains a method to install RPMs in a guest.  In fact the "
5597 "RPMs are just uploaded to the guest along with a \"firstboot\" script that "
5598 "installs them next time the guest is booted.  You could use this technique "
5599 "to install vital security updates in an offline guest."
5600 msgstr ""
5601
5602 #. type: textblock
5603 #: ../examples/guestfs-recipes.pod:259
5604 msgid ""
5605 "https://rwmj.wordpress.com/2010/12/01/tip-install-rpms-in-a-guest/#content"
5606 msgstr ""
5607
5608 #. type: =head1
5609 #: ../examples/guestfs-recipes.pod:261
5610 msgid "List applications installed in a VM"
5611 msgstr ""
5612
5613 #. type: textblock
5614 #: ../examples/guestfs-recipes.pod:263
5615 msgid "Save the following to a file C<list-apps.sh>:"
5616 msgstr ""
5617
5618 #. type: verbatim
5619 #: ../examples/guestfs-recipes.pod:265
5620 #, no-wrap
5621 msgid ""
5622 " #!/bin/sh -\n"
5623 " set -e\n"
5624 " eval \"$(guestfish --ro -d \"$1\" --i --listen)\"\n"
5625 " root=\"$(guestfish --remote inspect-get-roots)\"\n"
5626 " guestfish --remote inspect-list-applications \"$root\"\n"
5627 " guestfish --remote exit\n"
5628 "\n"
5629 msgstr ""
5630
5631 #. type: textblock
5632 #: ../examples/guestfs-recipes.pod:272
5633 msgid ""
5634 "Make the file executable and then you can run it on any named virtual "
5635 "machine:"
5636 msgstr ""
5637
5638 #. type: verbatim
5639 #: ../examples/guestfs-recipes.pod:275
5640 #, no-wrap
5641 msgid ""
5642 " # list-apps.sh WinGuest\n"
5643 " [0] = {\n"
5644 "   app_name: Mozilla Firefox (3.6.12)\n"
5645 "   app_display_name: Mozilla Firefox (3.6.12)\n"
5646 "   app_epoch: 0\n"
5647 "   app_version: 3.6.12 (en-GB)\n"
5648 "   app_release:\n"
5649 "   app_install_path: C:\\Program Files\\Mozilla Firefox\n"
5650 "   app_trans_path:\n"
5651 "   app_publisher: Mozilla\n"
5652 "   app_url: http://www.mozilla.com/en-GB/\n"
5653 "   app_source_package:\n"
5654 "   app_summary:\n"
5655 "   app_description: Mozilla Firefox\n"
5656 " }\n"
5657 " [1] = {\n"
5658 "   app_name: VLC media player\n"
5659 "   app_display_name: VLC media player 1.1.5\n"
5660 "   app_epoch: 0\n"
5661 "   app_version: 1.1.5\n"
5662 "   app_release:\n"
5663 "   app_install_path: C:\\Program Files\\VideoLAN\\VLC\n"
5664 "   app_trans_path:\n"
5665 "   app_publisher: VideoLAN\n"
5666 "   app_url: http://www.videolan.org/\n"
5667 "   app_source_package:\n"
5668 "   app_summary:\n"
5669 "   app_description:\n"
5670 " }\n"
5671 "\n"
5672 msgstr ""
5673
5674 #. type: textblock
5675 #: ../examples/guestfs-recipes.pod:305
5676 msgid ""
5677 "If you want to run the script on disk images (instead of libvirt virtual "
5678 "machines), change C<-d \"$1\"> to C<-a \"$1\">.  See also L<virt-inspector(1)"
5679 ">."
5680 msgstr ""
5681
5682 #. type: =head1
5683 #: ../examples/guestfs-recipes.pod:309
5684 msgid "List files and directories in a VM"
5685 msgstr ""
5686
5687 #. type: textblock
5688 #: ../examples/guestfs-recipes.pod:311
5689 msgid "This involves using the L<guestfish(1)> C<find0> command like this:"
5690 msgstr ""
5691
5692 #. type: verbatim
5693 #: ../examples/guestfs-recipes.pod:313
5694 #, no-wrap
5695 msgid ""
5696 " guestfish --ro -d Guest -i find0 / - | tr '\\0' '\\n' | sort\n"
5697 "\n"
5698 msgstr ""
5699
5700 #. type: =head1
5701 #: ../examples/guestfs-recipes.pod:315
5702 msgid "List services in a Windows VM"
5703 msgstr ""
5704
5705 #. type: textblock
5706 #: ../examples/guestfs-recipes.pod:317
5707 msgid ""
5708 "The link below contains a script that can be used to list out the services "
5709 "from a Windows VM, and whether those services run at boot time or are loaded "
5710 "on demand."
5711 msgstr ""
5712
5713 #. type: textblock
5714 #: ../examples/guestfs-recipes.pod:321
5715 msgid ""
5716 "https://rwmj.wordpress.com/2010/12/10/tip-list-services-in-a-windows-guest/"
5717 "#content"
5718 msgstr ""
5719
5720 #. type: =head1
5721 #: ../examples/guestfs-recipes.pod:323
5722 msgid "Make a disk image sparse"
5723 msgstr ""
5724
5725 #. type: textblock
5726 #: ../examples/guestfs-recipes.pod:325
5727 msgid ""
5728 "The link below contains some guides for making a disk image sparse (or "
5729 "reintroducing sparseness)."
5730 msgstr ""
5731
5732 #. type: textblock
5733 #: ../examples/guestfs-recipes.pod:328
5734 msgid ""
5735 "https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/#content"
5736 msgstr ""
5737
5738 #. type: =head1
5739 #: ../examples/guestfs-recipes.pod:330
5740 msgid "Monitor disk usage over time"
5741 msgstr ""
5742
5743 #. type: textblock
5744 #: ../examples/guestfs-recipes.pod:332
5745 msgid ""
5746 "You can use L<virt-df(1)> to monitor disk usage of your guests over time.  "
5747 "The link below contains a guide."
5748 msgstr ""
5749
5750 #. type: textblock
5751 #: ../examples/guestfs-recipes.pod:335
5752 msgid "http://virt-tools.org/learning/advanced-virt-df/"
5753 msgstr ""
5754
5755 #. type: =head1
5756 #: ../examples/guestfs-recipes.pod:337
5757 msgid "Reading the Windows Event Log from Windows Vista (or later)"
5758 msgstr ""
5759
5760 #. type: textblock
5761 #: ../examples/guestfs-recipes.pod:339
5762 msgid ""
5763 "L<guestfish(1)> plus the tools described in the link below can be used to "
5764 "read out the Windows Event Log from any virtual machine running Windows "
5765 "Vista or a later version."
5766 msgstr ""
5767
5768 #. type: textblock
5769 #: ../examples/guestfs-recipes.pod:343
5770 msgid ""
5771 "https://rwmj.wordpress.com/2011/04/17/decoding-the-windows-event-log-using-"
5772 "guestfish/#content"
5773 msgstr ""
5774
5775 #. type: =head1
5776 #: ../examples/guestfs-recipes.pod:345
5777 msgid "Remove root password (Linux)"
5778 msgstr ""
5779
5780 #. type: textblock
5781 #: ../examples/guestfs-recipes.pod:347
5782 msgid ""
5783 "Using the L<virt-edit(1)> I<-e> option you can do simple replacements on "
5784 "files.  One use is to remove the root password from a Linux guest:"
5785 msgstr ""
5786
5787 #. type: verbatim
5788 #: ../examples/guestfs-recipes.pod:350
5789 #, no-wrap
5790 msgid ""
5791 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
5792 "\n"
5793 msgstr ""
5794
5795 #. type: =head1
5796 #: ../examples/guestfs-recipes.pod:352
5797 msgid "Remove Administrator password (Windows)"
5798 msgstr ""
5799
5800 #. type: textblock
5801 #: ../examples/guestfs-recipes.pod:354
5802 msgid ""
5803 "The link below contains one technique for removing the Administrator "
5804 "password from a Windows VM, or to be more precise, it gives you a command "
5805 "prompt the next time you log in which you can use to bypass any security:"
5806 msgstr ""
5807
5808 #. type: textblock
5809 #: ../examples/guestfs-recipes.pod:359
5810 msgid ""
5811 "https://mdbooth.wordpress.com/2010/10/18/resetting-a-windows-guests-"
5812 "administrator-password-with-guestfish/"
5813 msgstr ""
5814
5815 #. type: =head1
5816 #: ../examples/guestfs-recipes.pod:361
5817 msgid "Unpack a live CD"
5818 msgstr ""
5819
5820 #. type: textblock
5821 #: ../examples/guestfs-recipes.pod:363
5822 msgid ""
5823 "Linux live CDs often contain multiple layers of disk images wrapped like a "
5824 "Russian doll.  You can use L<guestfish(1)> to look inside these multiple "
5825 "layers, as outlined in the guide below."
5826 msgstr ""
5827
5828 #. type: textblock
5829 #: ../examples/guestfs-recipes.pod:367
5830 msgid ""
5831 "https://rwmj.wordpress.com/2009/07/15/unpack-the-russian-doll-of-a-f11-live-"
5832 "cd/#content"
5833 msgstr ""
5834
5835 #. type: =head1
5836 #: ../examples/guestfs-recipes.pod:369
5837 msgid "Uploading and downloading files"
5838 msgstr ""
5839
5840 #. type: textblock
5841 #: ../examples/guestfs-recipes.pod:371
5842 msgid ""
5843 "The link below contains general tips on uploading (copying in)  and "
5844 "downloading (copying out) files from VMs."
5845 msgstr ""
5846
5847 #. type: textblock
5848 #: ../examples/guestfs-recipes.pod:374
5849 msgid ""
5850 "https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content"
5851 msgstr ""
5852
5853 #. type: =head1
5854 #: ../examples/guestfs-recipes.pod:376
5855 msgid "Use libguestfs tools on VMware ESX guests"
5856 msgstr ""
5857
5858 #. type: textblock
5859 #: ../examples/guestfs-recipes.pod:378
5860 msgid ""
5861 "The link below explains how to use libguestfs, L<guestfish(1)> and the virt "
5862 "tools on any VMware ESX guests, by first sharing the VMware VMFS over sshfs."
5863 msgstr ""
5864
5865 #. type: textblock
5866 #: ../examples/guestfs-recipes.pod:382
5867 msgid ""
5868 "https://rwmj.wordpress.com/2011/05/10/tip-use-libguestfs-on-vmware-esx-"
5869 "guests/#content"
5870 msgstr ""
5871
5872 #. type: textblock
5873 #: ../examples/guestfs-recipes.pod:386
5874 msgid ""
5875 "L<guestfs(3)>, L<guestfish(1)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)"
5876 ">, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-"
5877 "python(3)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
5878 msgstr ""
5879
5880 #. type: textblock
5881 #: ../examples/guestfs-recipes.pod:403
5882 msgid "Copyright (C) 2009-2011 Red Hat Inc. L<http://libguestfs.org/>"
5883 msgstr ""
5884
5885 #. type: =head2
5886 #: ../fish/guestfish-actions.pod:1
5887 msgid "add-cdrom"
5888 msgstr ""
5889
5890 #. type: verbatim
5891 #: ../fish/guestfish-actions.pod:3
5892 #, no-wrap
5893 msgid ""
5894 " add-cdrom filename\n"
5895 "\n"
5896 msgstr ""
5897
5898 #. type: textblock
5899 #: ../fish/guestfish-actions.pod:5 ../src/guestfs-actions.pod:14
5900 msgid "This function adds a virtual CD-ROM disk image to the guest."
5901 msgstr ""
5902
5903 #. type: textblock
5904 #: ../fish/guestfish-actions.pod:7 ../src/guestfs-actions.pod:16
5905 msgid "This is equivalent to the qemu parameter I<-cdrom filename>."
5906 msgstr ""
5907
5908 #. type: textblock
5909 #: ../fish/guestfish-actions.pod:15
5910 msgid ""
5911 "This call checks for the existence of C<filename>.  This stops you from "
5912 "specifying other types of drive which are supported by qemu such as C<nbd:> "
5913 "and C<http:> URLs.  To specify those, use the general L</config> call "
5914 "instead."
5915 msgstr ""
5916
5917 #. type: textblock
5918 #: ../fish/guestfish-actions.pod:22
5919 msgid ""
5920 "If you just want to add an ISO file (often you use this as an efficient way "
5921 "to transfer large files into the guest), then you should probably use L</add-"
5922 "drive-ro> instead."
5923 msgstr ""
5924
5925 #. type: textblock
5926 #: ../fish/guestfish-actions.pod:28 ../fish/guestfish-actions.pod:214
5927 #: ../fish/guestfish-actions.pod:228
5928 msgid ""
5929 "I<This function is deprecated.> In new code, use the L</add_drive_opts> call "
5930 "instead."
5931 msgstr ""
5932
5933 #. type: textblock
5934 #: ../fish/guestfish-actions.pod:31 ../fish/guestfish-actions.pod:217
5935 #: ../fish/guestfish-actions.pod:231 ../fish/guestfish-actions.pod:941
5936 #: ../fish/guestfish-actions.pod:976 ../fish/guestfish-actions.pod:1149
5937 #: ../fish/guestfish-actions.pod:1509 ../fish/guestfish-actions.pod:1523
5938 #: ../fish/guestfish-actions.pod:3284 ../fish/guestfish-actions.pod:3595
5939 #: ../fish/guestfish-actions.pod:3643 ../fish/guestfish-actions.pod:4561
5940 #: ../fish/guestfish-actions.pod:4581 ../fish/guestfish-actions.pod:4600
5941 #: ../fish/guestfish-actions.pod:4638 ../fish/guestfish-actions.pod:5287
5942 #: ../fish/guestfish-actions.pod:5390 ../src/guestfs-actions.pod:10
5943 #: ../src/guestfs-actions.pod:305 ../src/guestfs-actions.pod:326
5944 #: ../src/guestfs-actions.pod:1580 ../src/guestfs-actions.pod:1637
5945 #: ../src/guestfs-actions.pod:1920 ../src/guestfs-actions.pod:2419
5946 #: ../src/guestfs-actions.pod:2440 ../src/guestfs-actions.pod:5076
5947 #: ../src/guestfs-actions.pod:5598 ../src/guestfs-actions.pod:5698
5948 #: ../src/guestfs-actions.pod:6994 ../src/guestfs-actions.pod:7035
5949 #: ../src/guestfs-actions.pod:7066 ../src/guestfs-actions.pod:7126
5950 #: ../src/guestfs-actions.pod:8058 ../src/guestfs-actions.pod:8167
5951 #: ../src/guestfs-actions.pod:8347
5952 msgid ""
5953 "Deprecated functions will not be removed from the API, but the fact that "
5954 "they are deprecated indicates that there are problems with correct use of "
5955 "these functions."
5956 msgstr ""
5957
5958 #. type: =head2
5959 #: ../fish/guestfish-actions.pod:35
5960 msgid "add-domain"
5961 msgstr "add-domain"
5962
5963 #. type: =head2
5964 #: ../fish/guestfish-actions.pod:37
5965 msgid "domain"
5966 msgstr "домен"
5967
5968 #. type: verbatim
5969 #: ../fish/guestfish-actions.pod:39
5970 #, no-wrap
5971 msgid ""
5972 " add-domain dom [libvirturi:..] [readonly:true|false] [iface:..] [live:true|false] [allowuuid:true|false] [readonlydisk:..]\n"
5973 "\n"
5974 msgstr ""
5975
5976 #. type: textblock
5977 #: ../fish/guestfish-actions.pod:41
5978 msgid ""
5979 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
5980 "It works by connecting to libvirt, requesting the domain and domain XML from "
5981 "libvirt, parsing it for disks, and calling L</add-drive-opts> on each one."
5982 msgstr ""
5983
5984 #. type: textblock
5985 #: ../fish/guestfish-actions.pod:46 ../src/guestfs-actions.pod:65
5986 msgid ""
5987 "The number of disks added is returned.  This operation is atomic: if an "
5988 "error is returned, then no disks are added."
5989 msgstr ""
5990
5991 #. type: textblock
5992 #: ../fish/guestfish-actions.pod:49 ../src/guestfs-actions.pod:68
5993 msgid ""
5994 "This function does some minimal checks to make sure the libvirt domain is "
5995 "not running (unless C<readonly> is true).  In a future version we will try "
5996 "to acquire the libvirt lock on each disk."
5997 msgstr ""
5998
5999 #. type: textblock
6000 #: ../fish/guestfish-actions.pod:53 ../src/guestfs-actions.pod:72
6001 msgid ""
6002 "Disks must be accessible locally.  This often means that adding disks from a "
6003 "remote libvirt connection (see L<http://libvirt.org/remote.html>)  will fail "
6004 "unless those disks are accessible via the same device path locally too."
6005 msgstr ""
6006
6007 #. type: textblock
6008 #: ../fish/guestfish-actions.pod:58 ../src/guestfs-actions.pod:77
6009 msgid ""
6010 "The optional C<libvirturi> parameter sets the libvirt URI (see L<http://"
6011 "libvirt.org/uri.html>).  If this is not set then we connect to the default "
6012 "libvirt URI (or one set through an environment variable, see the libvirt "
6013 "documentation for full details)."
6014 msgstr ""
6015
6016 #. type: textblock
6017 #: ../fish/guestfish-actions.pod:64 ../src/guestfs-actions.pod:83
6018 msgid ""
6019 "The optional C<live> flag controls whether this call will try to connect to "
6020 "a running virtual machine C<guestfsd> process if it sees a suitable "
6021 "E<lt>channelE<gt> element in the libvirt XML definition.  The default (if "
6022 "the flag is omitted) is never to try.  See L<guestfs(3)/ATTACHING TO RUNNING "
6023 "DAEMONS> for more information."
6024 msgstr ""
6025
6026 #. type: textblock
6027 #: ../fish/guestfish-actions.pod:71 ../src/guestfs-actions.pod:90
6028 msgid ""
6029 "If the C<allowuuid> flag is true (default is false) then a UUID I<may> be "
6030 "passed instead of the domain name.  The C<dom> string is treated as a UUID "
6031 "first and looked up, and if that lookup fails then we treat C<dom> as a name "
6032 "as usual."
6033 msgstr ""
6034
6035 #. type: textblock
6036 #: ../fish/guestfish-actions.pod:76 ../src/guestfs-actions.pod:95
6037 msgid ""
6038 "The optional C<readonlydisk> parameter controls what we do for disks which "
6039 "are marked E<lt>readonly/E<gt> in the libvirt XML.  Possible values are:"
6040 msgstr ""
6041
6042 #. type: =item
6043 #: ../fish/guestfish-actions.pod:82 ../src/guestfs-actions.pod:101
6044 msgid "readonlydisk = \"error\""
6045 msgstr ""
6046
6047 #. type: textblock
6048 #: ../fish/guestfish-actions.pod:84 ../fish/guestfish-actions.pod:95
6049 #: ../fish/guestfish-actions.pod:106 ../src/guestfs-actions.pod:103
6050 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:125
6051 msgid "If C<readonly> is false:"
6052 msgstr ""
6053
6054 #. type: textblock
6055 #: ../fish/guestfish-actions.pod:86 ../src/guestfs-actions.pod:105
6056 msgid ""
6057 "The whole call is aborted with an error if any disk with the E<lt>readonly/"
6058 "E<gt> flag is found."
6059 msgstr ""
6060
6061 #. type: textblock
6062 #: ../fish/guestfish-actions.pod:89 ../fish/guestfish-actions.pod:100
6063 #: ../fish/guestfish-actions.pod:110 ../src/guestfs-actions.pod:108
6064 #: ../src/guestfs-actions.pod:119 ../src/guestfs-actions.pod:129
6065 msgid "If C<readonly> is true:"
6066 msgstr ""
6067
6068 #. type: textblock
6069 #: ../fish/guestfish-actions.pod:91 ../fish/guestfish-actions.pod:102
6070 #: ../fish/guestfish-actions.pod:112 ../src/guestfs-actions.pod:110
6071 #: ../src/guestfs-actions.pod:121 ../src/guestfs-actions.pod:131
6072 msgid "Disks with the E<lt>readonly/E<gt> flag are added read-only."
6073 msgstr ""
6074
6075 #. type: =item
6076 #: ../fish/guestfish-actions.pod:93 ../src/guestfs-actions.pod:112
6077 msgid "readonlydisk = \"read\""
6078 msgstr ""
6079
6080 #. type: textblock
6081 #: ../fish/guestfish-actions.pod:97 ../src/guestfs-actions.pod:116
6082 msgid ""
6083 "Disks with the E<lt>readonly/E<gt> flag are added read-only.  Other disks "
6084 "are added read/write."
6085 msgstr ""
6086
6087 #. type: =item
6088 #: ../fish/guestfish-actions.pod:104 ../src/guestfs-actions.pod:123
6089 msgid "readonlydisk = \"write\" (default)"
6090 msgstr ""
6091
6092 #. type: textblock
6093 #: ../fish/guestfish-actions.pod:108 ../src/guestfs-actions.pod:127
6094 msgid "Disks with the E<lt>readonly/E<gt> flag are added read/write."
6095 msgstr ""
6096
6097 #. type: =item
6098 #: ../fish/guestfish-actions.pod:114 ../src/guestfs-actions.pod:133
6099 msgid "readonlydisk = \"ignore\""
6100 msgstr ""
6101
6102 #. type: textblock
6103 #: ../fish/guestfish-actions.pod:116 ../src/guestfs-actions.pod:135
6104 msgid "If C<readonly> is true or false:"
6105 msgstr ""
6106
6107 #. type: textblock
6108 #: ../fish/guestfish-actions.pod:118 ../src/guestfs-actions.pod:137
6109 msgid "Disks with the E<lt>readonly/E<gt> flag are skipped."
6110 msgstr ""
6111
6112 #. type: textblock
6113 #: ../fish/guestfish-actions.pod:122
6114 msgid ""
6115 "The other optional parameters are passed directly through to L</add-drive-"
6116 "opts>."
6117 msgstr ""
6118
6119 #. type: textblock
6120 #: ../fish/guestfish-actions.pod:125 ../fish/guestfish-actions.pod:194
6121 #: ../fish/guestfish-actions.pod:624 ../fish/guestfish-actions.pod:835
6122 #: ../fish/guestfish-actions.pod:856 ../fish/guestfish-actions.pod:894
6123 #: ../fish/guestfish-actions.pod:903 ../fish/guestfish-actions.pod:912
6124 #: ../fish/guestfish-actions.pod:926 ../fish/guestfish-actions.pod:2171
6125 #: ../fish/guestfish-actions.pod:3333 ../fish/guestfish-actions.pod:3496
6126 #: ../fish/guestfish-actions.pod:3631
6127 msgid ""
6128 "This command has one or more optional arguments.  See L</OPTIONAL ARGUMENTS>."
6129 msgstr ""
6130
6131 #. type: =head2
6132 #: ../fish/guestfish-actions.pod:127
6133 msgid "add-drive"
6134 msgstr "add-drive"
6135
6136 #. type: verbatim
6137 #: ../fish/guestfish-actions.pod:129
6138 #, no-wrap
6139 msgid ""
6140 " add-drive filename\n"
6141 "\n"
6142 msgstr ""
6143 " add-drive назва_файла\n"
6144 "\n"
6145
6146 #. type: textblock
6147 #: ../fish/guestfish-actions.pod:131
6148 msgid ""
6149 "This function is the equivalent of calling L</add-drive-opts> with no "
6150 "optional parameters, so the disk is added writable, with the format being "
6151 "detected automatically."
6152 msgstr ""
6153
6154 #. type: textblock
6155 #: ../fish/guestfish-actions.pod:135
6156 msgid ""
6157 "Automatic detection of the format opens you up to a potential security hole "
6158 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
6159 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
6160 "you should think about replacing calls to this function with calls to L</add-"
6161 "drive-opts>, and specifying the format."
6162 msgstr ""
6163
6164 #. type: =head2
6165 #: ../fish/guestfish-actions.pod:142
6166 msgid "add-drive-opts"
6167 msgstr "add-drive-opts"
6168
6169 #. type: =head2
6170 #: ../fish/guestfish-actions.pod:144
6171 msgid "add"
6172 msgstr "add"
6173
6174 #. type: verbatim
6175 #: ../fish/guestfish-actions.pod:146
6176 #, no-wrap
6177 msgid ""
6178 " add-drive-opts filename [readonly:true|false] [format:..] [iface:..] [name:..]\n"
6179 "\n"
6180 msgstr ""
6181
6182 #. type: textblock
6183 #: ../fish/guestfish-actions.pod:148 ../src/guestfs-actions.pod:208
6184 msgid ""
6185 "This function adds a virtual machine disk image C<filename> to libguestfs.  "
6186 "The first time you call this function, the disk appears as C</dev/sda>, the "
6187 "second time as C</dev/sdb>, and so on."
6188 msgstr ""
6189
6190 #. type: textblock
6191 #: ../fish/guestfish-actions.pod:153 ../src/guestfs-actions.pod:213
6192 msgid ""
6193 "You don't necessarily need to be root when using libguestfs.  However you "
6194 "obviously do need sufficient permissions to access the filename for whatever "
6195 "operations you want to perform (ie. read access if you just want to read the "
6196 "image or write access if you want to modify the image)."
6197 msgstr ""
6198
6199 #. type: textblock
6200 #: ../fish/guestfish-actions.pod:159 ../src/guestfs-actions.pod:219
6201 msgid "This call checks that C<filename> exists."
6202 msgstr ""
6203
6204 #. type: textblock
6205 #: ../fish/guestfish-actions.pod:161 ../fish/guestfish-actions.pod:3295
6206 #: ../src/guestfs-actions.pod:221 ../src/guestfs-actions.pod:5113
6207 msgid "The optional arguments are:"
6208 msgstr ""
6209
6210 #. type: =item
6211 #: ../fish/guestfish-actions.pod:165 ../src/guestfs-actions.pod:225
6212 msgid "C<readonly>"
6213 msgstr "C<readonly>"
6214
6215 #. type: textblock
6216 #: ../fish/guestfish-actions.pod:167 ../src/guestfs-actions.pod:227
6217 msgid ""
6218 "If true then the image is treated as read-only.  Writes are still allowed, "
6219 "but they are stored in a temporary snapshot overlay which is discarded at "
6220 "the end.  The disk that you add is not modified."
6221 msgstr ""
6222
6223 #. type: =item
6224 #: ../fish/guestfish-actions.pod:171 ../src/guestfs-actions.pod:231
6225 msgid "C<format>"
6226 msgstr "C<format>"
6227
6228 #. type: textblock
6229 #: ../fish/guestfish-actions.pod:173
6230 msgid ""
6231 "This forces the image format.  If you omit this (or use L</add-drive> or L</"
6232 "add-drive-ro>) then the format is automatically detected.  Possible formats "
6233 "include C<raw> and C<qcow2>."
6234 msgstr ""
6235
6236 #. type: textblock
6237 #: ../fish/guestfish-actions.pod:177 ../src/guestfs-actions.pod:237
6238 msgid ""
6239 "Automatic detection of the format opens you up to a potential security hole "
6240 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
6241 "RHBZ#642934.  Specifying the format closes this security hole."
6242 msgstr ""
6243
6244 #. type: =item
6245 #: ../fish/guestfish-actions.pod:182 ../src/guestfs-actions.pod:242
6246 msgid "C<iface>"
6247 msgstr "C<iface>"
6248
6249 #. type: textblock
6250 #: ../fish/guestfish-actions.pod:184
6251 msgid ""
6252 "This rarely-used option lets you emulate the behaviour of the deprecated L</"
6253 "add-drive-with-if> call (q.v.)"
6254 msgstr ""
6255
6256 #. type: =item
6257 #: ../fish/guestfish-actions.pod:187 ../src/guestfs-actions.pod:247
6258 msgid "C<name>"
6259 msgstr ""
6260
6261 #. type: textblock
6262 #: ../fish/guestfish-actions.pod:189 ../src/guestfs-actions.pod:249
6263 msgid ""
6264 "The name the drive had in the original guest, e.g. /dev/sdb. This is used as "
6265 "a hint to the guest inspection process if it is available."
6266 msgstr ""
6267
6268 #. type: =head2
6269 #: ../fish/guestfish-actions.pod:196
6270 msgid "add-drive-ro"
6271 msgstr "add-drive-ro"
6272
6273 #. type: =head2
6274 #: ../fish/guestfish-actions.pod:198
6275 msgid "add-ro"
6276 msgstr "add-ro"
6277
6278 #. type: verbatim
6279 #: ../fish/guestfish-actions.pod:200
6280 #, no-wrap
6281 msgid ""
6282 " add-drive-ro filename\n"
6283 "\n"
6284 msgstr ""
6285
6286 #. type: textblock
6287 #: ../fish/guestfish-actions.pod:202
6288 msgid ""
6289 "This function is the equivalent of calling L</add-drive-opts> with the "
6290 "optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the disk "
6291 "is added read-only, with the format being detected automatically."
6292 msgstr ""
6293
6294 #. type: =head2
6295 #: ../fish/guestfish-actions.pod:207
6296 msgid "add-drive-ro-with-if"
6297 msgstr ""
6298
6299 #. type: verbatim
6300 #: ../fish/guestfish-actions.pod:209
6301 #, no-wrap
6302 msgid ""
6303 " add-drive-ro-with-if filename iface\n"
6304 "\n"
6305 msgstr ""
6306
6307 #. type: textblock
6308 #: ../fish/guestfish-actions.pod:211
6309 msgid ""
6310 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
6311 "interface emulation to use at run time."
6312 msgstr ""
6313
6314 #. type: =head2
6315 #: ../fish/guestfish-actions.pod:221
6316 msgid "add-drive-with-if"
6317 msgstr ""
6318
6319 #. type: verbatim
6320 #: ../fish/guestfish-actions.pod:223
6321 #, no-wrap
6322 msgid ""
6323 " add-drive-with-if filename iface\n"
6324 "\n"
6325 msgstr ""
6326
6327 #. type: textblock
6328 #: ../fish/guestfish-actions.pod:225
6329 msgid ""
6330 "This is the same as L</add-drive> but it allows you to specify the QEMU "
6331 "interface emulation to use at run time."
6332 msgstr ""
6333
6334 #. type: =head2
6335 #: ../fish/guestfish-actions.pod:235
6336 msgid "aug-clear"
6337 msgstr ""
6338
6339 #. type: verbatim
6340 #: ../fish/guestfish-actions.pod:237
6341 #, no-wrap
6342 msgid ""
6343 " aug-clear augpath\n"
6344 "\n"
6345 msgstr ""
6346
6347 #. type: textblock
6348 #: ../fish/guestfish-actions.pod:239 ../src/guestfs-actions.pod:343
6349 msgid ""
6350 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
6351 "L<augtool(1)> C<clear> command."
6352 msgstr ""
6353
6354 #. type: =head2
6355 #: ../fish/guestfish-actions.pod:242
6356 msgid "aug-close"
6357 msgstr ""
6358
6359 #. type: verbatim
6360 #: ../fish/guestfish-actions.pod:244
6361 #, no-wrap
6362 msgid ""
6363 " aug-close\n"
6364 "\n"
6365 msgstr ""
6366
6367 #. type: textblock
6368 #: ../fish/guestfish-actions.pod:246
6369 msgid ""
6370 "Close the current Augeas handle and free up any resources used by it.  After "
6371 "calling this, you have to call L</aug-init> again before you can use any "
6372 "other Augeas functions."
6373 msgstr ""
6374
6375 #. type: =head2
6376 #: ../fish/guestfish-actions.pod:251
6377 msgid "aug-defnode"
6378 msgstr ""
6379
6380 #. type: verbatim
6381 #: ../fish/guestfish-actions.pod:253
6382 #, no-wrap
6383 msgid ""
6384 " aug-defnode name expr val\n"
6385 "\n"
6386 msgstr ""
6387
6388 #. type: textblock
6389 #: ../fish/guestfish-actions.pod:255 ../src/guestfs-actions.pod:372
6390 msgid ""
6391 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
6392 msgstr ""
6393
6394 #. type: textblock
6395 #: ../fish/guestfish-actions.pod:258
6396 msgid ""
6397 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
6398 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
6399 "containing that single node."
6400 msgstr ""
6401
6402 #. type: textblock
6403 #: ../fish/guestfish-actions.pod:262 ../src/guestfs-actions.pod:379
6404 msgid ""
6405 "On success this returns a pair containing the number of nodes in the "
6406 "nodeset, and a boolean flag if a node was created."
6407 msgstr ""
6408
6409 #. type: =head2
6410 #: ../fish/guestfish-actions.pod:266
6411 msgid "aug-defvar"
6412 msgstr ""
6413
6414 #. type: verbatim
6415 #: ../fish/guestfish-actions.pod:268
6416 #, no-wrap
6417 msgid ""
6418 " aug-defvar name expr\n"
6419 "\n"
6420 msgstr ""
6421
6422 #. type: textblock
6423 #: ../fish/guestfish-actions.pod:270 ../src/guestfs-actions.pod:396
6424 msgid ""
6425 "Defines an Augeas variable C<name> whose value is the result of evaluating "
6426 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
6427 msgstr ""
6428
6429 #. type: textblock
6430 #: ../fish/guestfish-actions.pod:274 ../src/guestfs-actions.pod:400
6431 msgid ""
6432 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
6433 "evaluates to something which is not a nodeset."
6434 msgstr ""
6435
6436 #. type: =head2
6437 #: ../fish/guestfish-actions.pod:277
6438 msgid "aug-get"
6439 msgstr ""
6440
6441 #. type: verbatim
6442 #: ../fish/guestfish-actions.pod:279
6443 #, no-wrap
6444 msgid ""
6445 " aug-get augpath\n"
6446 "\n"
6447 msgstr ""
6448
6449 #. type: textblock
6450 #: ../fish/guestfish-actions.pod:281 ../src/guestfs-actions.pod:413
6451 msgid ""
6452 "Look up the value associated with C<path>.  If C<path> matches exactly one "
6453 "node, the C<value> is returned."
6454 msgstr ""
6455
6456 #. type: =head2
6457 #: ../fish/guestfish-actions.pod:284
6458 msgid "aug-init"
6459 msgstr ""
6460
6461 #. type: verbatim
6462 #: ../fish/guestfish-actions.pod:286
6463 #, no-wrap
6464 msgid ""
6465 " aug-init root flags\n"
6466 "\n"
6467 msgstr ""
6468
6469 #. type: textblock
6470 #: ../fish/guestfish-actions.pod:288 ../src/guestfs-actions.pod:428
6471 msgid ""
6472 "Create a new Augeas handle for editing configuration files.  If there was "
6473 "any previous Augeas handle associated with this guestfs session, then it is "
6474 "closed."
6475 msgstr ""
6476
6477 #. type: textblock
6478 #: ../fish/guestfish-actions.pod:292
6479 msgid "You must call this before using any other L</aug-*> commands."
6480 msgstr ""
6481
6482 #. type: textblock
6483 #: ../fish/guestfish-actions.pod:295 ../src/guestfs-actions.pod:435
6484 msgid ""
6485 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
6486 msgstr ""
6487
6488 #. type: textblock
6489 #: ../fish/guestfish-actions.pod:298 ../src/guestfs-actions.pod:438
6490 msgid ""
6491 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
6492 "logical I<or> of the following integers:"
6493 msgstr ""
6494
6495 #. type: =item
6496 #: ../fish/guestfish-actions.pod:304 ../src/guestfs-actions.pod:444
6497 msgid "C<AUG_SAVE_BACKUP> = 1"
6498 msgstr "C<AUG_SAVE_BACKUP> = 1"
6499
6500 #. type: textblock
6501 #: ../fish/guestfish-actions.pod:306 ../src/guestfs-actions.pod:446
6502 msgid "Keep the original file with a C<.augsave> extension."
6503 msgstr ""
6504
6505 #. type: =item
6506 #: ../fish/guestfish-actions.pod:308 ../src/guestfs-actions.pod:448
6507 msgid "C<AUG_SAVE_NEWFILE> = 2"
6508 msgstr "C<AUG_SAVE_NEWFILE> = 2"
6509
6510 #. type: textblock
6511 #: ../fish/guestfish-actions.pod:310 ../src/guestfs-actions.pod:450
6512 msgid ""
6513 "Save changes into a file with extension C<.augnew>, and do not overwrite "
6514 "original.  Overrides C<AUG_SAVE_BACKUP>."
6515 msgstr ""
6516
6517 #. type: =item
6518 #: ../fish/guestfish-actions.pod:313 ../src/guestfs-actions.pod:453
6519 msgid "C<AUG_TYPE_CHECK> = 4"
6520 msgstr "C<AUG_TYPE_CHECK> = 4"
6521
6522 #. type: textblock
6523 #: ../fish/guestfish-actions.pod:315 ../src/guestfs-actions.pod:455
6524 msgid "Typecheck lenses."
6525 msgstr ""
6526
6527 #. type: textblock
6528 #: ../fish/guestfish-actions.pod:317
6529 msgid ""
6530 "This option is only useful when debugging Augeas lenses.  Use of this option "
6531 "may require additional memory for the libguestfs appliance.  You may need to "
6532 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call L</set-memsize>."
6533 msgstr ""
6534
6535 #. type: =item
6536 #: ../fish/guestfish-actions.pod:322 ../src/guestfs-actions.pod:462
6537 msgid "C<AUG_NO_STDINC> = 8"
6538 msgstr "C<AUG_NO_STDINC> = 8"
6539
6540 #. type: textblock
6541 #: ../fish/guestfish-actions.pod:324 ../src/guestfs-actions.pod:464
6542 msgid "Do not use standard load path for modules."
6543 msgstr ""
6544
6545 #. type: =item
6546 #: ../fish/guestfish-actions.pod:326 ../src/guestfs-actions.pod:466
6547 msgid "C<AUG_SAVE_NOOP> = 16"
6548 msgstr "C<AUG_SAVE_NOOP> = 16"
6549
6550 #. type: textblock
6551 #: ../fish/guestfish-actions.pod:328 ../src/guestfs-actions.pod:468
6552 msgid "Make save a no-op, just record what would have been changed."
6553 msgstr ""
6554
6555 #. type: =item
6556 #: ../fish/guestfish-actions.pod:330 ../src/guestfs-actions.pod:470
6557 msgid "C<AUG_NO_LOAD> = 32"
6558 msgstr "C<AUG_NO_LOAD> = 32"
6559
6560 #. type: textblock
6561 #: ../fish/guestfish-actions.pod:332
6562 msgid "Do not load the tree in L</aug-init>."
6563 msgstr ""
6564
6565 #. type: textblock
6566 #: ../fish/guestfish-actions.pod:336
6567 msgid "To close the handle, you can call L</aug-close>."
6568 msgstr ""
6569
6570 #. type: textblock
6571 #: ../fish/guestfish-actions.pod:338 ../src/guestfs-actions.pod:478
6572 msgid "To find out more about Augeas, see L<http://augeas.net/>."
6573 msgstr ""
6574
6575 #. type: =head2
6576 #: ../fish/guestfish-actions.pod:340
6577 msgid "aug-insert"
6578 msgstr ""
6579
6580 #. type: verbatim
6581 #: ../fish/guestfish-actions.pod:342
6582 #, no-wrap
6583 msgid ""
6584 " aug-insert augpath label true|false\n"
6585 "\n"
6586 msgstr ""
6587
6588 #. type: textblock
6589 #: ../fish/guestfish-actions.pod:344 ../src/guestfs-actions.pod:492
6590 msgid ""
6591 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
6592 "or after C<path> (depending on the boolean flag C<before>)."
6593 msgstr ""
6594
6595 #. type: textblock
6596 #: ../fish/guestfish-actions.pod:348 ../src/guestfs-actions.pod:496
6597 msgid ""
6598 "C<path> must match exactly one existing node in the tree, and C<label> must "
6599 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
6600 msgstr ""
6601
6602 #. type: =head2
6603 #: ../fish/guestfish-actions.pod:352
6604 msgid "aug-load"
6605 msgstr ""
6606
6607 #. type: verbatim
6608 #: ../fish/guestfish-actions.pod:354
6609 #, no-wrap
6610 msgid ""
6611 " aug-load\n"
6612 "\n"
6613 msgstr ""
6614
6615 #. type: textblock
6616 #: ../fish/guestfish-actions.pod:356 ../src/guestfs-actions.pod:509
6617 msgid "Load files into the tree."
6618 msgstr "Завантажити файли до ієрархії."
6619
6620 #. type: textblock
6621 #: ../fish/guestfish-actions.pod:358 ../src/guestfs-actions.pod:511
6622 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
6623 msgstr ""
6624
6625 #. type: =head2
6626 #: ../fish/guestfish-actions.pod:361
6627 msgid "aug-ls"
6628 msgstr ""
6629
6630 #. type: verbatim
6631 #: ../fish/guestfish-actions.pod:363
6632 #, no-wrap
6633 msgid ""
6634 " aug-ls augpath\n"
6635 "\n"
6636 msgstr ""
6637
6638 #. type: textblock
6639 #: ../fish/guestfish-actions.pod:365
6640 msgid ""
6641 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
6642 "resulting nodes into alphabetical order."
6643 msgstr ""
6644
6645 #. type: =head2
6646 #: ../fish/guestfish-actions.pod:368
6647 msgid "aug-match"
6648 msgstr ""
6649
6650 #. type: verbatim
6651 #: ../fish/guestfish-actions.pod:370
6652 #, no-wrap
6653 msgid ""
6654 " aug-match augpath\n"
6655 "\n"
6656 msgstr ""
6657
6658 #. type: textblock
6659 #: ../fish/guestfish-actions.pod:372 ../src/guestfs-actions.pod:539
6660 msgid ""
6661 "Returns a list of paths which match the path expression C<path>.  The "
6662 "returned paths are sufficiently qualified so that they match exactly one "
6663 "node in the current tree."
6664 msgstr ""
6665
6666 #. type: =head2
6667 #: ../fish/guestfish-actions.pod:376
6668 msgid "aug-mv"
6669 msgstr ""
6670
6671 #. type: verbatim
6672 #: ../fish/guestfish-actions.pod:378
6673 #, no-wrap
6674 msgid ""
6675 " aug-mv src dest\n"
6676 "\n"
6677 msgstr ""
6678
6679 #. type: textblock
6680 #: ../fish/guestfish-actions.pod:380 ../src/guestfs-actions.pod:556
6681 msgid ""
6682 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
6683 "C<dest> is overwritten if it exists."
6684 msgstr ""
6685
6686 #. type: =head2
6687 #: ../fish/guestfish-actions.pod:383
6688 msgid "aug-rm"
6689 msgstr ""
6690
6691 #. type: verbatim
6692 #: ../fish/guestfish-actions.pod:385
6693 #, no-wrap
6694 msgid ""
6695 " aug-rm augpath\n"
6696 "\n"
6697 msgstr ""
6698
6699 #. type: textblock
6700 #: ../fish/guestfish-actions.pod:387 ../src/guestfs-actions.pod:569
6701 msgid "Remove C<path> and all of its children."
6702 msgstr ""
6703
6704 #. type: textblock
6705 #: ../fish/guestfish-actions.pod:389 ../src/guestfs-actions.pod:571
6706 msgid "On success this returns the number of entries which were removed."
6707 msgstr ""
6708
6709 #. type: =head2
6710 #: ../fish/guestfish-actions.pod:391
6711 msgid "aug-save"
6712 msgstr ""
6713
6714 #. type: verbatim
6715 #: ../fish/guestfish-actions.pod:393
6716 #, no-wrap
6717 msgid ""
6718 " aug-save\n"
6719 "\n"
6720 msgstr ""
6721
6722 #. type: textblock
6723 #: ../fish/guestfish-actions.pod:395 ../src/guestfs-actions.pod:582
6724 msgid "This writes all pending changes to disk."
6725 msgstr ""
6726
6727 #. type: textblock
6728 #: ../fish/guestfish-actions.pod:397
6729 msgid ""
6730 "The flags which were passed to L</aug-init> affect exactly how files are "
6731 "saved."
6732 msgstr ""
6733
6734 #. type: =head2
6735 #: ../fish/guestfish-actions.pod:400
6736 msgid "aug-set"
6737 msgstr ""
6738
6739 #. type: verbatim
6740 #: ../fish/guestfish-actions.pod:402
6741 #, no-wrap
6742 msgid ""
6743 " aug-set augpath val\n"
6744 "\n"
6745 msgstr ""
6746
6747 #. type: textblock
6748 #: ../fish/guestfish-actions.pod:404 ../src/guestfs-actions.pod:598
6749 msgid "Set the value associated with C<path> to C<val>."
6750 msgstr ""
6751
6752 #. type: textblock
6753 #: ../fish/guestfish-actions.pod:406
6754 msgid ""
6755 "In the Augeas API, it is possible to clear a node by setting the value to "
6756 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
6757 "this call.  Instead you must use the L</aug-clear> call."
6758 msgstr ""
6759
6760 #. type: =head2
6761 #: ../fish/guestfish-actions.pod:411
6762 msgid "available"
6763 msgstr ""
6764
6765 #. type: verbatim
6766 #: ../fish/guestfish-actions.pod:413
6767 #, no-wrap
6768 msgid ""
6769 " available 'groups ...'\n"
6770 "\n"
6771 msgstr ""
6772
6773 #. type: textblock
6774 #: ../fish/guestfish-actions.pod:415 ../src/guestfs-actions.pod:615
6775 msgid ""
6776 "This command is used to check the availability of some groups of "
6777 "functionality in the appliance, which not all builds of the libguestfs "
6778 "appliance will be able to provide."
6779 msgstr ""
6780
6781 #. type: textblock
6782 #: ../fish/guestfish-actions.pod:419
6783 msgid ""
6784 "The libguestfs groups, and the functions that those groups correspond to, "
6785 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
6786 "runtime by calling L</available-all-groups>."
6787 msgstr ""
6788
6789 #. type: textblock
6790 #: ../fish/guestfish-actions.pod:424 ../src/guestfs-actions.pod:624
6791 msgid ""
6792 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
6793 "\"]> would check for the availability of the Linux inotify functions and "
6794 "Augeas (configuration file editing) functions."
6795 msgstr ""
6796
6797 #. type: textblock
6798 #: ../fish/guestfish-actions.pod:429 ../src/guestfs-actions.pod:629
6799 msgid "The command returns no error if I<all> requested groups are available."
6800 msgstr ""
6801
6802 #. type: textblock
6803 #: ../fish/guestfish-actions.pod:431 ../src/guestfs-actions.pod:631
6804 msgid ""
6805 "It fails with an error if one or more of the requested groups is unavailable "
6806 "in the appliance."
6807 msgstr ""
6808
6809 #. type: textblock
6810 #: ../fish/guestfish-actions.pod:434 ../src/guestfs-actions.pod:634
6811 msgid ""
6812 "If an unknown group name is included in the list of groups then an error is "
6813 "always returned."
6814 msgstr ""
6815
6816 #. type: textblock
6817 #: ../fish/guestfish-actions.pod:437 ../src/guestfs-actions.pod:637
6818 msgid "I<Notes:>"
6819 msgstr "I<Нотатки:>"
6820
6821 #. type: textblock
6822 #: ../fish/guestfish-actions.pod:443
6823 msgid "You must call L</launch> before calling this function."
6824 msgstr ""
6825
6826 #. type: textblock
6827 #: ../fish/guestfish-actions.pod:445 ../src/guestfs-actions.pod:645
6828 msgid ""
6829 "The reason is because we don't know what groups are supported by the "
6830 "appliance/daemon until it is running and can be queried."
6831 msgstr ""
6832
6833 #. type: textblock
6834 #: ../fish/guestfish-actions.pod:451 ../src/guestfs-actions.pod:651
6835 msgid ""
6836 "If a group of functions is available, this does not necessarily mean that "
6837 "they will work.  You still have to check for errors when calling individual "
6838 "API functions even if they are available."
6839 msgstr ""
6840
6841 #. type: textblock
6842 #: ../fish/guestfish-actions.pod:458 ../src/guestfs-actions.pod:658
6843 msgid ""
6844 "It is usually the job of distro packagers to build complete functionality "
6845 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
6846 "with all requirements satisfied, will support everything."
6847 msgstr ""
6848
6849 #. type: textblock
6850 #: ../fish/guestfish-actions.pod:465
6851 msgid ""
6852 "This call was added in version C<1.0.80>.  In previous versions of "
6853 "libguestfs all you could do would be to speculatively execute a command to "
6854 "find out if the daemon implemented it.  See also L</version>."
6855 msgstr ""
6856
6857 #. type: =head2
6858 #: ../fish/guestfish-actions.pod:472
6859 msgid "available-all-groups"
6860 msgstr ""
6861
6862 #. type: verbatim
6863 #: ../fish/guestfish-actions.pod:474
6864 #, no-wrap
6865 msgid ""
6866 " available-all-groups\n"
6867 "\n"
6868 msgstr ""
6869
6870 #. type: textblock
6871 #: ../fish/guestfish-actions.pod:476
6872 msgid ""
6873 "This command returns a list of all optional groups that this daemon knows "
6874 "about.  Note this returns both supported and unsupported groups.  To find "
6875 "out which ones the daemon can actually support you have to call L</"
6876 "available> on each member of the returned list."
6877 msgstr ""
6878
6879 #. type: textblock
6880 #: ../fish/guestfish-actions.pod:482
6881 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
6882 msgstr ""
6883
6884 #. type: =head2
6885 #: ../fish/guestfish-actions.pod:484
6886 msgid "base64-in"
6887 msgstr ""
6888
6889 #. type: verbatim
6890 #: ../fish/guestfish-actions.pod:486
6891 #, no-wrap
6892 msgid ""
6893 " base64-in (base64file|-) filename\n"
6894 "\n"
6895 msgstr ""
6896
6897 #. type: textblock
6898 #: ../fish/guestfish-actions.pod:488 ../src/guestfs-actions.pod:702
6899 msgid ""
6900 "This command uploads base64-encoded data from C<base64file> to C<filename>."
6901 msgstr ""
6902
6903 #. type: textblock
6904 #: ../fish/guestfish-actions.pod:491 ../fish/guestfish-actions.pod:500
6905 #: ../fish/guestfish-actions.pod:749 ../fish/guestfish-actions.pod:833
6906 #: ../fish/guestfish-actions.pod:854 ../fish/guestfish-actions.pod:1025
6907 #: ../fish/guestfish-actions.pod:1044 ../fish/guestfish-actions.pod:1418
6908 #: ../fish/guestfish-actions.pod:4858 ../fish/guestfish-actions.pod:4870
6909 #: ../fish/guestfish-actions.pod:4881 ../fish/guestfish-actions.pod:4892
6910 #: ../fish/guestfish-actions.pod:4944 ../fish/guestfish-actions.pod:4953
6911 #: ../fish/guestfish-actions.pod:5007 ../fish/guestfish-actions.pod:5030
6912 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
6913 msgstr ""
6914
6915 #. type: =head2
6916 #: ../fish/guestfish-actions.pod:493
6917 msgid "base64-out"
6918 msgstr ""
6919
6920 #. type: verbatim
6921 #: ../fish/guestfish-actions.pod:495
6922 #, no-wrap
6923 msgid ""
6924 " base64-out filename (base64file|-)\n"
6925 "\n"
6926 msgstr ""
6927
6928 #. type: textblock
6929 #: ../fish/guestfish-actions.pod:497 ../src/guestfs-actions.pod:716
6930 msgid ""
6931 "This command downloads the contents of C<filename>, writing it out to local "
6932 "file C<base64file> encoded as base64."
6933 msgstr ""
6934
6935 #. type: =head2
6936 #: ../fish/guestfish-actions.pod:502
6937 msgid "blockdev-flushbufs"
6938 msgstr ""
6939
6940 #. type: verbatim
6941 #: ../fish/guestfish-actions.pod:504
6942 #, no-wrap
6943 msgid ""
6944 " blockdev-flushbufs device\n"
6945 "\n"
6946 msgstr ""
6947
6948 #. type: textblock
6949 #: ../fish/guestfish-actions.pod:506 ../src/guestfs-actions.pod:729
6950 msgid ""
6951 "This tells the kernel to flush internal buffers associated with C<device>."
6952 msgstr ""
6953
6954 #. type: textblock
6955 #: ../fish/guestfish-actions.pod:509 ../fish/guestfish-actions.pod:520
6956 #: ../fish/guestfish-actions.pod:529 ../fish/guestfish-actions.pod:539
6957 #: ../fish/guestfish-actions.pod:551 ../fish/guestfish-actions.pod:564
6958 #: ../fish/guestfish-actions.pod:572 ../fish/guestfish-actions.pod:583
6959 #: ../fish/guestfish-actions.pod:591 ../fish/guestfish-actions.pod:599
6960 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:749
6961 #: ../src/guestfs-actions.pod:764 ../src/guestfs-actions.pod:780
6962 #: ../src/guestfs-actions.pod:798 ../src/guestfs-actions.pod:817
6963 #: ../src/guestfs-actions.pod:831 ../src/guestfs-actions.pod:849
6964 #: ../src/guestfs-actions.pod:863 ../src/guestfs-actions.pod:877
6965 msgid "This uses the L<blockdev(8)> command."
6966 msgstr ""
6967
6968 #. type: =head2
6969 #: ../fish/guestfish-actions.pod:511
6970 msgid "blockdev-getbsz"
6971 msgstr ""
6972
6973 #. type: verbatim
6974 #: ../fish/guestfish-actions.pod:513
6975 #, no-wrap
6976 msgid ""
6977 " blockdev-getbsz device\n"
6978 "\n"
6979 msgstr ""
6980
6981 #. type: textblock
6982 #: ../fish/guestfish-actions.pod:515 ../src/guestfs-actions.pod:744
6983 msgid "This returns the block size of a device."
6984 msgstr ""
6985
6986 #. type: textblock
6987 #: ../fish/guestfish-actions.pod:517 ../fish/guestfish-actions.pod:580
6988 #: ../src/guestfs-actions.pod:746 ../src/guestfs-actions.pod:846
6989 msgid ""
6990 "(Note this is different from both I<size in blocks> and I<filesystem block "
6991 "size>)."
6992 msgstr ""
6993
6994 #. type: =head2
6995 #: ../fish/guestfish-actions.pod:522
6996 msgid "blockdev-getro"
6997 msgstr ""
6998
6999 #. type: verbatim
7000 #: ../fish/guestfish-actions.pod:524
7001 #, no-wrap
7002 msgid ""
7003 " blockdev-getro device\n"
7004 "\n"
7005 msgstr ""
7006
7007 #. type: textblock
7008 #: ../fish/guestfish-actions.pod:526 ../src/guestfs-actions.pod:761
7009 msgid ""
7010 "Returns a boolean indicating if the block device is read-only (true if read-"
7011 "only, false if not)."
7012 msgstr ""
7013
7014 #. type: =head2
7015 #: ../fish/guestfish-actions.pod:531
7016 msgid "blockdev-getsize64"
7017 msgstr ""
7018
7019 #. type: verbatim
7020 #: ../fish/guestfish-actions.pod:533
7021 #, no-wrap
7022 msgid ""
7023 " blockdev-getsize64 device\n"
7024 "\n"
7025 msgstr ""
7026
7027 #. type: textblock
7028 #: ../fish/guestfish-actions.pod:535 ../src/guestfs-actions.pod:776
7029 msgid "This returns the size of the device in bytes."
7030 msgstr ""
7031
7032 #. type: textblock
7033 #: ../fish/guestfish-actions.pod:537
7034 msgid "See also L</blockdev-getsz>."
7035 msgstr "Див. також L</blockdev-getsz>."
7036
7037 #. type: =head2
7038 #: ../fish/guestfish-actions.pod:541
7039 msgid "blockdev-getss"
7040 msgstr ""
7041
7042 #. type: verbatim
7043 #: ../fish/guestfish-actions.pod:543
7044 #, no-wrap
7045 msgid ""
7046 " blockdev-getss device\n"
7047 "\n"
7048 msgstr ""
7049
7050 #. type: textblock
7051 #: ../fish/guestfish-actions.pod:545 ../src/guestfs-actions.pod:792
7052 msgid ""
7053 "This returns the size of sectors on a block device.  Usually 512, but can be "
7054 "larger for modern devices."
7055 msgstr ""
7056
7057 #. type: textblock
7058 #: ../fish/guestfish-actions.pod:548
7059 msgid ""
7060 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
7061 msgstr ""
7062
7063 #. type: =head2
7064 #: ../fish/guestfish-actions.pod:553
7065 msgid "blockdev-getsz"
7066 msgstr ""
7067
7068 #. type: verbatim
7069 #: ../fish/guestfish-actions.pod:555
7070 #, no-wrap
7071 msgid ""
7072 " blockdev-getsz device\n"
7073 "\n"
7074 msgstr ""
7075
7076 #. type: textblock
7077 #: ../fish/guestfish-actions.pod:557 ../src/guestfs-actions.pod:810
7078 msgid ""
7079 "This returns the size of the device in units of 512-byte sectors (even if "
7080 "the sectorsize isn't 512 bytes ... weird)."
7081 msgstr ""
7082
7083 #. type: textblock
7084 #: ../fish/guestfish-actions.pod:560
7085 msgid ""
7086 "See also L</blockdev-getss> for the real sector size of the device, and L</"
7087 "blockdev-getsize64> for the more useful I<size in bytes>."
7088 msgstr ""
7089
7090 #. type: =head2
7091 #: ../fish/guestfish-actions.pod:566
7092 msgid "blockdev-rereadpt"
7093 msgstr ""
7094
7095 #. type: verbatim
7096 #: ../fish/guestfish-actions.pod:568
7097 #, no-wrap
7098 msgid ""
7099 " blockdev-rereadpt device\n"
7100 "\n"
7101 msgstr ""
7102
7103 #. type: textblock
7104 #: ../fish/guestfish-actions.pod:570 ../src/guestfs-actions.pod:829
7105 msgid "Reread the partition table on C<device>."
7106 msgstr ""
7107
7108 #. type: =head2
7109 #: ../fish/guestfish-actions.pod:574
7110 msgid "blockdev-setbsz"
7111 msgstr ""
7112
7113 #. type: verbatim
7114 #: ../fish/guestfish-actions.pod:576
7115 #, no-wrap
7116 msgid ""
7117 " blockdev-setbsz device blocksize\n"
7118 "\n"
7119 msgstr ""
7120
7121 #. type: textblock
7122 #: ../fish/guestfish-actions.pod:578 ../src/guestfs-actions.pod:844
7123 msgid "This sets the block size of a device."
7124 msgstr ""
7125
7126 #. type: =head2
7127 #: ../fish/guestfish-actions.pod:585
7128 msgid "blockdev-setro"
7129 msgstr ""
7130
7131 #. type: verbatim
7132 #: ../fish/guestfish-actions.pod:587
7133 #, no-wrap
7134 msgid ""
7135 " blockdev-setro device\n"
7136 "\n"
7137 msgstr ""
7138
7139 #. type: textblock
7140 #: ../fish/guestfish-actions.pod:589 ../src/guestfs-actions.pod:861
7141 msgid "Sets the block device named C<device> to read-only."
7142 msgstr ""
7143
7144 #. type: =head2
7145 #: ../fish/guestfish-actions.pod:593
7146 msgid "blockdev-setrw"
7147 msgstr ""
7148
7149 #. type: verbatim
7150 #: ../fish/guestfish-actions.pod:595
7151 #, no-wrap
7152 msgid ""
7153 " blockdev-setrw device\n"
7154 "\n"
7155 msgstr ""
7156
7157 #. type: textblock
7158 #: ../fish/guestfish-actions.pod:597 ../src/guestfs-actions.pod:875
7159 msgid "Sets the block device named C<device> to read-write."
7160 msgstr ""
7161
7162 #. type: =head2
7163 #: ../fish/guestfish-actions.pod:601
7164 msgid "btrfs-filesystem-resize"
7165 msgstr ""
7166
7167 #. type: verbatim
7168 #: ../fish/guestfish-actions.pod:603
7169 #, no-wrap
7170 msgid ""
7171 " btrfs-filesystem-resize mountpoint [size:N]\n"
7172 "\n"
7173 msgstr ""
7174
7175 #. type: textblock
7176 #: ../fish/guestfish-actions.pod:605 ../src/guestfs-actions.pod:897
7177 msgid "This command resizes a btrfs filesystem."
7178 msgstr ""
7179
7180 #. type: textblock
7181 #: ../fish/guestfish-actions.pod:607 ../src/guestfs-actions.pod:899
7182 msgid ""
7183 "Note that unlike other resize calls, the filesystem has to be mounted and "
7184 "the parameter is the mountpoint not the device (this is a requirement of "
7185 "btrfs itself)."
7186 msgstr ""
7187
7188 #. type: textblock
7189 #: ../fish/guestfish-actions.pod:611 ../fish/guestfish-actions.pod:3606
7190 #: ../src/guestfs-actions.pod:903 ../src/guestfs-actions.pod:5637
7191 msgid "The optional parameters are:"
7192 msgstr ""
7193
7194 #. type: =item
7195 #: ../fish/guestfish-actions.pod:615 ../fish/guestfish-actions.pod:3610
7196 #: ../src/guestfs-actions.pod:907 ../src/guestfs-actions.pod:5641
7197 msgid "C<size>"
7198 msgstr "C<розмір>"
7199
7200 #. type: textblock
7201 #: ../fish/guestfish-actions.pod:617 ../src/guestfs-actions.pod:909
7202 msgid ""
7203 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
7204 "resized to the maximum size."
7205 msgstr ""
7206
7207 #. type: textblock
7208 #: ../fish/guestfish-actions.pod:622 ../src/guestfs-actions.pod:914
7209 msgid "See also L<btrfs(8)>."
7210 msgstr "Див. також L<btrfs(8)>."
7211
7212 #. type: =head2
7213 #: ../fish/guestfish-actions.pod:626
7214 msgid "case-sensitive-path"
7215 msgstr ""
7216
7217 #. type: verbatim
7218 #: ../fish/guestfish-actions.pod:628
7219 #, no-wrap
7220 msgid ""
7221 " case-sensitive-path path\n"
7222 "\n"
7223 msgstr ""
7224
7225 #. type: textblock
7226 #: ../fish/guestfish-actions.pod:630 ../src/guestfs-actions.pod:948
7227 msgid ""
7228 "This can be used to resolve case insensitive paths on a filesystem which is "
7229 "case sensitive.  The use case is to resolve paths which you have read from "
7230 "Windows configuration files or the Windows Registry, to the true path."
7231 msgstr ""
7232
7233 #. type: textblock
7234 #: ../fish/guestfish-actions.pod:635 ../src/guestfs-actions.pod:953
7235 msgid ""
7236 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
7237 "(and probably others), which is that although the underlying filesystem is "
7238 "case-insensitive, the driver exports the filesystem to Linux as case-"
7239 "sensitive."
7240 msgstr ""
7241
7242 #. type: textblock
7243 #: ../fish/guestfish-actions.pod:640 ../src/guestfs-actions.pod:958
7244 msgid ""
7245 "One consequence of this is that special directories such as C<c:\\windows> "
7246 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
7247 "precise details of how they were created.  In Windows itself this would not "
7248 "be a problem."
7249 msgstr ""
7250
7251 #. type: textblock
7252 #: ../fish/guestfish-actions.pod:646 ../src/guestfs-actions.pod:964
7253 msgid ""
7254 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
7255 "#posixfilenames1>"
7256 msgstr ""
7257
7258 #. type: textblock
7259 #: ../fish/guestfish-actions.pod:649 ../src/guestfs-actions.pod:967
7260 msgid ""
7261 "This function resolves the true case of each element in the path and returns "
7262 "the case-sensitive path."
7263 msgstr ""
7264
7265 #. type: textblock
7266 #: ../fish/guestfish-actions.pod:652
7267 msgid ""
7268 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
7269 "WINDOWS/system32\"> (the exact return value would depend on details of how "
7270 "the directories were originally created under Windows)."
7271 msgstr ""
7272
7273 #. type: textblock
7274 #: ../fish/guestfish-actions.pod:657 ../src/guestfs-actions.pod:975
7275 msgid "I<Note>: This function does not handle drive names, backslashes etc."
7276 msgstr ""
7277
7278 #. type: textblock
7279 #: ../fish/guestfish-actions.pod:660
7280 msgid "See also L</realpath>."
7281 msgstr "Див. також L</realpath>."
7282
7283 #. type: =head2
7284 #: ../fish/guestfish-actions.pod:662
7285 msgid "cat"
7286 msgstr "cat"
7287
7288 #. type: verbatim
7289 #: ../fish/guestfish-actions.pod:664
7290 #, no-wrap
7291 msgid ""
7292 " cat path\n"
7293 "\n"
7294 msgstr ""
7295 " cat шлях\n"
7296 "\n"
7297
7298 #. type: textblock
7299 #: ../fish/guestfish-actions.pod:666 ../fish/guestfish-actions.pod:4037
7300 #: ../src/guestfs-actions.pod:991 ../src/guestfs-actions.pod:6297
7301 msgid "Return the contents of the file named C<path>."
7302 msgstr ""
7303
7304 #. type: textblock
7305 #: ../fish/guestfish-actions.pod:668
7306 msgid ""
7307 "Note that this function cannot correctly handle binary files (specifically, "
7308 "files containing C<\\0> character which is treated as end of string).  For "
7309 "those you need to use the L</read-file> or L</download> functions which have "
7310 "a more complex interface."
7311 msgstr ""
7312
7313 #. type: textblock
7314 #: ../fish/guestfish-actions.pod:673 ../fish/guestfish-actions.pod:808
7315 #: ../fish/guestfish-actions.pod:820 ../fish/guestfish-actions.pod:1103
7316 #: ../fish/guestfish-actions.pod:1113 ../fish/guestfish-actions.pod:1180
7317 #: ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1382
7318 #: ../fish/guestfish-actions.pod:1695 ../fish/guestfish-actions.pod:1705
7319 #: ../fish/guestfish-actions.pod:1755 ../fish/guestfish-actions.pod:1770
7320 #: ../fish/guestfish-actions.pod:1780 ../fish/guestfish-actions.pod:1799
7321 #: ../fish/guestfish-actions.pod:3907 ../fish/guestfish-actions.pod:3922
7322 #: ../fish/guestfish-actions.pod:3998 ../fish/guestfish-actions.pod:4015
7323 #: ../fish/guestfish-actions.pod:4030 ../fish/guestfish-actions.pod:4699
7324 #: ../fish/guestfish-actions.pod:4745 ../fish/guestfish-actions.pod:4830
7325 #: ../fish/guestfish-actions.pod:4845 ../fish/guestfish-actions.pod:5251
7326 #: ../fish/guestfish-actions.pod:5263 ../fish/guestfish-actions.pod:5281
7327 #: ../fish/guestfish-actions.pod:5298 ../fish/guestfish-actions.pod:5308
7328 #: ../fish/guestfish-actions.pod:5362 ../fish/guestfish-actions.pod:5372
7329 #: ../fish/guestfish-actions.pod:5401 ../fish/guestfish-actions.pod:5411
7330 #: ../src/guestfs-actions.pod:1001 ../src/guestfs-actions.pod:1180
7331 #: ../src/guestfs-actions.pod:1200 ../src/guestfs-actions.pod:1855
7332 #: ../src/guestfs-actions.pod:1874 ../src/guestfs-actions.pod:1977
7333 #: ../src/guestfs-actions.pod:1996 ../src/guestfs-actions.pod:2242
7334 #: ../src/guestfs-actions.pod:2724 ../src/guestfs-actions.pod:2743
7335 #: ../src/guestfs-actions.pod:2808 ../src/guestfs-actions.pod:2832
7336 #: ../src/guestfs-actions.pod:2849 ../src/guestfs-actions.pod:2878
7337 #: ../src/guestfs-actions.pod:6079 ../src/guestfs-actions.pod:6105
7338 #: ../src/guestfs-actions.pod:6236 ../src/guestfs-actions.pod:6262
7339 #: ../src/guestfs-actions.pod:6286 ../src/guestfs-actions.pod:7241
7340 #: ../src/guestfs-actions.pod:7296 ../src/guestfs-actions.pod:7442
7341 #: ../src/guestfs-actions.pod:7466 ../src/guestfs-actions.pod:8131
7342 #: ../src/guestfs-actions.pod:8151 ../src/guestfs-actions.pod:8184
7343 #: ../src/guestfs-actions.pod:8203 ../src/guestfs-actions.pod:8222
7344 #: ../src/guestfs-actions.pod:8313 ../src/guestfs-actions.pod:8332
7345 #: ../src/guestfs-actions.pod:8378 ../src/guestfs-actions.pod:8397
7346 msgid ""
7347 "Because of the message protocol, there is a transfer limit of somewhere "
7348 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
7349 msgstr ""
7350
7351 #. type: =head2
7352 #: ../fish/guestfish-actions.pod:676
7353 msgid "checksum"
7354 msgstr "checksum"
7355
7356 #. type: verbatim
7357 #: ../fish/guestfish-actions.pod:678
7358 #, no-wrap
7359 msgid ""
7360 " checksum csumtype path\n"
7361 "\n"
7362 msgstr ""
7363
7364 #. type: textblock
7365 #: ../fish/guestfish-actions.pod:680 ../src/guestfs-actions.pod:1013
7366 msgid ""
7367 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
7368 msgstr ""
7369
7370 #. type: textblock
7371 #: ../fish/guestfish-actions.pod:683 ../src/guestfs-actions.pod:1016
7372 msgid ""
7373 "The type of checksum to compute is given by the C<csumtype> parameter which "
7374 "must have one of the following values:"
7375 msgstr ""
7376
7377 #. type: =item
7378 #: ../fish/guestfish-actions.pod:688 ../src/guestfs-actions.pod:1021
7379 msgid "C<crc>"
7380 msgstr "C<crc>"
7381
7382 #. type: textblock
7383 #: ../fish/guestfish-actions.pod:690 ../src/guestfs-actions.pod:1023
7384 msgid ""
7385 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
7386 "C<cksum> command."
7387 msgstr ""
7388
7389 #. type: =item
7390 #: ../fish/guestfish-actions.pod:693 ../src/guestfs-actions.pod:1026
7391 msgid "C<md5>"
7392 msgstr "C<md5>"
7393
7394 #. type: textblock
7395 #: ../fish/guestfish-actions.pod:695 ../src/guestfs-actions.pod:1028
7396 msgid "Compute the MD5 hash (using the C<md5sum> program)."
7397 msgstr ""
7398
7399 #. type: =item
7400 #: ../fish/guestfish-actions.pod:697 ../src/guestfs-actions.pod:1030
7401 msgid "C<sha1>"
7402 msgstr "C<sha1>"
7403
7404 #. type: textblock
7405 #: ../fish/guestfish-actions.pod:699 ../src/guestfs-actions.pod:1032
7406 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
7407 msgstr ""
7408
7409 #. type: =item
7410 #: ../fish/guestfish-actions.pod:701 ../src/guestfs-actions.pod:1034
7411 msgid "C<sha224>"
7412 msgstr "C<sha224>"
7413
7414 #. type: textblock
7415 #: ../fish/guestfish-actions.pod:703 ../src/guestfs-actions.pod:1036
7416 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
7417 msgstr ""
7418
7419 #. type: =item
7420 #: ../fish/guestfish-actions.pod:705 ../src/guestfs-actions.pod:1038
7421 msgid "C<sha256>"
7422 msgstr "C<sha256>"
7423
7424 #. type: textblock
7425 #: ../fish/guestfish-actions.pod:707 ../src/guestfs-actions.pod:1040
7426 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
7427 msgstr ""
7428
7429 #. type: =item
7430 #: ../fish/guestfish-actions.pod:709 ../src/guestfs-actions.pod:1042
7431 msgid "C<sha384>"
7432 msgstr "C<sha384>"
7433
7434 #. type: textblock
7435 #: ../fish/guestfish-actions.pod:711 ../src/guestfs-actions.pod:1044
7436 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
7437 msgstr ""
7438
7439 #. type: =item
7440 #: ../fish/guestfish-actions.pod:713 ../src/guestfs-actions.pod:1046
7441 msgid "C<sha512>"
7442 msgstr "C<sha512>"
7443
7444 #. type: textblock
7445 #: ../fish/guestfish-actions.pod:715 ../src/guestfs-actions.pod:1048
7446 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
7447 msgstr ""
7448
7449 #. type: textblock
7450 #: ../fish/guestfish-actions.pod:719 ../src/guestfs-actions.pod:1052
7451 msgid "The checksum is returned as a printable string."
7452 msgstr ""
7453
7454 #. type: textblock
7455 #: ../fish/guestfish-actions.pod:721
7456 msgid "To get the checksum for a device, use L</checksum-device>."
7457 msgstr ""
7458
7459 #. type: textblock
7460 #: ../fish/guestfish-actions.pod:723
7461 msgid "To get the checksums for many files, use L</checksums-out>."
7462 msgstr ""
7463
7464 #. type: =head2
7465 #: ../fish/guestfish-actions.pod:725
7466 msgid "checksum-device"
7467 msgstr "checksum-device"
7468
7469 #. type: verbatim
7470 #: ../fish/guestfish-actions.pod:727
7471 #, no-wrap
7472 msgid ""
7473 " checksum-device csumtype device\n"
7474 "\n"
7475 msgstr ""
7476
7477 #. type: textblock
7478 #: ../fish/guestfish-actions.pod:729
7479 msgid ""
7480 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
7481 "device named C<device>.  For the types of checksums supported see the L</"
7482 "checksum> command."
7483 msgstr ""
7484
7485 #. type: =head2
7486 #: ../fish/guestfish-actions.pod:733
7487 msgid "checksums-out"
7488 msgstr ""
7489
7490 #. type: verbatim
7491 #: ../fish/guestfish-actions.pod:735
7492 #, no-wrap
7493 msgid ""
7494 " checksums-out csumtype directory (sumsfile|-)\n"
7495 "\n"
7496 msgstr ""
7497
7498 #. type: textblock
7499 #: ../fish/guestfish-actions.pod:737 ../src/guestfs-actions.pod:1087
7500 msgid ""
7501 "This command computes the checksums of all regular files in C<directory> and "
7502 "then emits a list of those checksums to the local output file C<sumsfile>."
7503 msgstr ""
7504
7505 #. type: textblock
7506 #: ../fish/guestfish-actions.pod:741 ../src/guestfs-actions.pod:1091
7507 msgid ""
7508 "This can be used for verifying the integrity of a virtual machine.  However "
7509 "to be properly secure you should pay attention to the output of the checksum "
7510 "command (it uses the ones from GNU coreutils).  In particular when the "
7511 "filename is not printable, coreutils uses a special backslash syntax.  For "
7512 "more information, see the GNU coreutils info file."
7513 msgstr ""
7514
7515 #. type: =head2
7516 #: ../fish/guestfish-actions.pod:751
7517 msgid "chmod"
7518 msgstr "chmod"
7519
7520 #. type: verbatim
7521 #: ../fish/guestfish-actions.pod:753
7522 #, no-wrap
7523 msgid ""
7524 " chmod mode path\n"
7525 "\n"
7526 msgstr ""
7527
7528 #. type: textblock
7529 #: ../fish/guestfish-actions.pod:755 ../src/guestfs-actions.pod:1110
7530 msgid ""
7531 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
7532 "supported."
7533 msgstr ""
7534
7535 #. type: textblock
7536 #: ../fish/guestfish-actions.pod:758 ../src/guestfs-actions.pod:1113
7537 msgid ""
7538 "I<Note>: When using this command from guestfish, C<mode> by default would be "
7539 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
7540 "C<700>."
7541 msgstr ""
7542
7543 #. type: textblock
7544 #: ../fish/guestfish-actions.pod:762 ../fish/guestfish-actions.pod:3259
7545 #: ../fish/guestfish-actions.pod:3398 ../fish/guestfish-actions.pod:3408
7546 #: ../fish/guestfish-actions.pod:3418 ../src/guestfs-actions.pod:1117
7547 #: ../src/guestfs-actions.pod:5044 ../src/guestfs-actions.pod:5253
7548 #: ../src/guestfs-actions.pod:5272 ../src/guestfs-actions.pod:5291
7549 msgid "The mode actually set is affected by the umask."
7550 msgstr ""
7551
7552 #. type: =head2
7553 #: ../fish/guestfish-actions.pod:764
7554 msgid "chown"
7555 msgstr "chown"
7556
7557 #. type: verbatim
7558 #: ../fish/guestfish-actions.pod:766
7559 #, no-wrap
7560 msgid ""
7561 " chown owner group path\n"
7562 "\n"
7563 msgstr ""
7564
7565 #. type: textblock
7566 #: ../fish/guestfish-actions.pod:768 ../src/guestfs-actions.pod:1131
7567 msgid "Change the file owner to C<owner> and group to C<group>."
7568 msgstr ""
7569
7570 #. type: textblock
7571 #: ../fish/guestfish-actions.pod:770 ../fish/guestfish-actions.pod:2703
7572 #: ../src/guestfs-actions.pod:1133 ../src/guestfs-actions.pod:4124
7573 msgid ""
7574 "Only numeric uid and gid are supported.  If you want to use names, you will "
7575 "need to locate and parse the password file yourself (Augeas support makes "
7576 "this relatively easy)."
7577 msgstr ""
7578
7579 #. type: =head2
7580 #: ../fish/guestfish-actions.pod:774
7581 msgid "command"
7582 msgstr "command"
7583
7584 #. type: verbatim
7585 #: ../fish/guestfish-actions.pod:776
7586 #, no-wrap
7587 msgid ""
7588 " command 'arguments ...'\n"
7589 "\n"
7590 msgstr ""
7591 " command 'параметри...'\n"
7592 "\n"
7593
7594 #. type: textblock
7595 #: ../fish/guestfish-actions.pod:778 ../src/guestfs-actions.pod:1147
7596 msgid ""
7597 "This call runs a command from the guest filesystem.  The filesystem must be "
7598 "mounted, and must contain a compatible operating system (ie. something "
7599 "Linux, with the same or compatible processor architecture)."
7600 msgstr ""
7601
7602 #. type: textblock
7603 #: ../fish/guestfish-actions.pod:783
7604 msgid ""
7605 "The single parameter is an argv-style list of arguments.  The first element "
7606 "is the name of the program to run.  Subsequent elements are parameters.  The "
7607 "list must be non-empty (ie. must contain a program name).  Note that the "
7608 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
7609 msgstr ""
7610
7611 #. type: textblock
7612 #: ../fish/guestfish-actions.pod:790 ../src/guestfs-actions.pod:1159
7613 msgid "The return value is anything printed to I<stdout> by the command."
7614 msgstr ""
7615
7616 #. type: textblock
7617 #: ../fish/guestfish-actions.pod:793 ../src/guestfs-actions.pod:1162
7618 msgid ""
7619 "If the command returns a non-zero exit status, then this function returns an "
7620 "error message.  The error message string is the content of I<stderr> from "
7621 "the command."
7622 msgstr ""
7623
7624 #. type: textblock
7625 #: ../fish/guestfish-actions.pod:797 ../src/guestfs-actions.pod:1166
7626 msgid ""
7627 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
7628 "bin>.  If you require a program from another location, you should provide "
7629 "the full path in the first parameter."
7630 msgstr ""
7631
7632 #. type: textblock
7633 #: ../fish/guestfish-actions.pod:802 ../src/guestfs-actions.pod:1171
7634 msgid ""
7635 "Shared libraries and data files required by the program must be available on "
7636 "filesystems which are mounted in the correct places.  It is the caller's "
7637 "responsibility to ensure all filesystems that are needed are mounted at the "
7638 "right locations."
7639 msgstr ""
7640
7641 #. type: =head2
7642 #: ../fish/guestfish-actions.pod:811
7643 msgid "command-lines"
7644 msgstr ""
7645
7646 #. type: verbatim
7647 #: ../fish/guestfish-actions.pod:813
7648 #, no-wrap
7649 msgid ""
7650 " command-lines 'arguments ...'\n"
7651 "\n"
7652 msgstr ""
7653
7654 #. type: textblock
7655 #: ../fish/guestfish-actions.pod:815
7656 msgid ""
7657 "This is the same as L</command>, but splits the result into a list of lines."
7658 msgstr ""
7659
7660 #. type: textblock
7661 #: ../fish/guestfish-actions.pod:818
7662 msgid "See also: L</sh-lines>"
7663 msgstr "Див. також L</sh-lines>"
7664
7665 #. type: =head2
7666 #: ../fish/guestfish-actions.pod:823
7667 msgid "compress-device-out"
7668 msgstr ""
7669
7670 #. type: verbatim
7671 #: ../fish/guestfish-actions.pod:825
7672 #, no-wrap
7673 msgid ""
7674 " compress-device-out ctype device (zdevice|-) [level:N]\n"
7675 "\n"
7676 msgstr ""
7677
7678 #. type: textblock
7679 #: ../fish/guestfish-actions.pod:827 ../src/guestfs-actions.pod:1221
7680 msgid ""
7681 "This command compresses C<device> and writes it out to the local file "
7682 "C<zdevice>."
7683 msgstr ""
7684
7685 #. type: textblock
7686 #: ../fish/guestfish-actions.pod:830
7687 msgid ""
7688 "The C<ctype> and optional C<level> parameters have the same meaning as in L</"
7689 "compress-out>."
7690 msgstr ""
7691
7692 #. type: =head2
7693 #: ../fish/guestfish-actions.pod:837
7694 msgid "compress-out"
7695 msgstr ""
7696
7697 #. type: verbatim
7698 #: ../fish/guestfish-actions.pod:839
7699 #, no-wrap
7700 msgid ""
7701 " compress-out ctype file (zfile|-) [level:N]\n"
7702 "\n"
7703 msgstr ""
7704
7705 #. type: textblock
7706 #: ../fish/guestfish-actions.pod:841 ../src/guestfs-actions.pod:1273
7707 msgid ""
7708 "This command compresses C<file> and writes it out to the local file C<zfile>."
7709 msgstr ""
7710
7711 #. type: textblock
7712 #: ../fish/guestfish-actions.pod:844 ../src/guestfs-actions.pod:1276
7713 msgid ""
7714 "The compression program used is controlled by the C<ctype> parameter.  "
7715 "Currently this includes: C<compress>, C<gzip>, C<bzip2>, C<xz> or C<lzop>.  "
7716 "Some compression types may not be supported by particular builds of "
7717 "libguestfs, in which case you will get an error containing the substring "
7718 "\"not supported\"."
7719 msgstr ""
7720
7721 #. type: textblock
7722 #: ../fish/guestfish-actions.pod:850 ../src/guestfs-actions.pod:1282
7723 msgid ""
7724 "The optional C<level> parameter controls compression level.  The meaning and "
7725 "default for this parameter depends on the compression program being used."
7726 msgstr ""
7727
7728 #. type: =head2
7729 #: ../fish/guestfish-actions.pod:858
7730 msgid "config"
7731 msgstr ""
7732
7733 #. type: verbatim
7734 #: ../fish/guestfish-actions.pod:860
7735 #, no-wrap
7736 msgid ""
7737 " config qemuparam qemuvalue\n"
7738 "\n"
7739 msgstr ""
7740
7741 #. type: textblock
7742 #: ../fish/guestfish-actions.pod:862 ../src/guestfs-actions.pod:1323
7743 msgid ""
7744 "This can be used to add arbitrary qemu command line parameters of the form "
7745 "I<-param value>.  Actually it's not quite arbitrary - we prevent you from "
7746 "setting some parameters which would interfere with parameters that we use."
7747 msgstr ""
7748
7749 #. type: textblock
7750 #: ../fish/guestfish-actions.pod:867 ../src/guestfs-actions.pod:1328
7751 msgid "The first character of C<param> string must be a C<-> (dash)."
7752 msgstr ""
7753
7754 #. type: textblock
7755 #: ../fish/guestfish-actions.pod:869 ../src/guestfs-actions.pod:1330
7756 msgid "C<value> can be NULL."
7757 msgstr ""
7758
7759 #. type: =head2
7760 #: ../fish/guestfish-actions.pod:871
7761 msgid "copy-device-to-device"
7762 msgstr ""
7763
7764 #. type: verbatim
7765 #: ../fish/guestfish-actions.pod:873
7766 #, no-wrap
7767 msgid ""
7768 " copy-device-to-device src dest [srcoffset:N] [destoffset:N] [size:N]\n"
7769 "\n"
7770 msgstr ""
7771
7772 #. type: textblock
7773 #: ../fish/guestfish-actions.pod:875
7774 msgid ""
7775 "The four calls L</copy-device-to-device>, L</copy-device-to-file>, L</copy-"
7776 "file-to-device>, and L</copy-file-to-file> let you copy from a source "
7777 "(device|file) to a destination (device|file)."
7778 msgstr ""
7779
7780 #. type: textblock
7781 #: ../fish/guestfish-actions.pod:882 ../src/guestfs-actions.pod:1360
7782 msgid ""
7783 "Partial copies can be made since you can specify optionally the source "
7784 "offset, destination offset and size to copy.  These values are all specified "
7785 "in bytes.  If not given, the offsets both default to zero, and the size "
7786 "defaults to copying as much as possible until we hit the end of the source."
7787 msgstr ""
7788
7789 #. type: textblock
7790 #: ../fish/guestfish-actions.pod:888 ../src/guestfs-actions.pod:1366
7791 msgid ""
7792 "The source and destination may be the same object.  However overlapping "
7793 "regions may not be copied correctly."
7794 msgstr ""
7795
7796 #. type: textblock
7797 #: ../fish/guestfish-actions.pod:891 ../src/guestfs-actions.pod:1369
7798 msgid ""
7799 "If the destination is a file, it is created if required.  If the destination "
7800 "file is not large enough, it is extended."
7801 msgstr ""
7802
7803 #. type: =head2
7804 #: ../fish/guestfish-actions.pod:896
7805 msgid "copy-device-to-file"
7806 msgstr ""
7807
7808 #. type: verbatim
7809 #: ../fish/guestfish-actions.pod:898
7810 #, no-wrap
7811 msgid ""
7812 " copy-device-to-file src dest [srcoffset:N] [destoffset:N] [size:N]\n"
7813 "\n"
7814 msgstr ""
7815
7816 #. type: textblock
7817 #: ../fish/guestfish-actions.pod:900 ../fish/guestfish-actions.pod:909
7818 #: ../fish/guestfish-actions.pod:918
7819 msgid "See L</copy-device-to-device> for a general overview of this call."
7820 msgstr ""
7821
7822 #. type: =head2
7823 #: ../fish/guestfish-actions.pod:905
7824 msgid "copy-file-to-device"
7825 msgstr ""
7826
7827 #. type: verbatim
7828 #: ../fish/guestfish-actions.pod:907
7829 #, no-wrap
7830 msgid ""
7831 " copy-file-to-device src dest [srcoffset:N] [destoffset:N] [size:N]\n"
7832 "\n"
7833 msgstr ""
7834
7835 #. type: =head2
7836 #: ../fish/guestfish-actions.pod:914
7837 msgid "copy-file-to-file"
7838 msgstr ""
7839
7840 #. type: verbatim
7841 #: ../fish/guestfish-actions.pod:916
7842 #, no-wrap
7843 msgid ""
7844 " copy-file-to-file src dest [srcoffset:N] [destoffset:N] [size:N]\n"
7845 "\n"
7846 msgstr ""
7847
7848 #. type: textblock
7849 #: ../fish/guestfish-actions.pod:921
7850 msgid ""
7851 "This is B<not> the function you want for copying files.  This is for copying "
7852 "blocks within existing files.  See L</cp>, L</cp-a> and L</mv> for general "
7853 "file copying and moving functions."
7854 msgstr ""
7855
7856 #. type: =head2
7857 #: ../fish/guestfish-actions.pod:928
7858 msgid "copy-size"
7859 msgstr ""
7860
7861 #. type: verbatim
7862 #: ../fish/guestfish-actions.pod:930
7863 #, no-wrap
7864 msgid ""
7865 " copy-size src dest size\n"
7866 "\n"
7867 msgstr ""
7868
7869 #. type: textblock
7870 #: ../fish/guestfish-actions.pod:932 ../src/guestfs-actions.pod:1584
7871 msgid ""
7872 "This command copies exactly C<size> bytes from one source device or file "
7873 "C<src> to another destination device or file C<dest>."
7874 msgstr ""
7875
7876 #. type: textblock
7877 #: ../fish/guestfish-actions.pod:935 ../src/guestfs-actions.pod:1587
7878 msgid ""
7879 "Note this will fail if the source is too short or if the destination is not "
7880 "large enough."
7881 msgstr ""
7882
7883 #. type: textblock
7884 #: ../fish/guestfish-actions.pod:938 ../fish/guestfish-actions.pod:973
7885 msgid ""
7886 "I<This function is deprecated.> In new code, use the L</"
7887 "copy_device_to_device> call instead."
7888 msgstr ""
7889
7890 #. type: =head2
7891 #: ../fish/guestfish-actions.pod:945
7892 msgid "cp"
7893 msgstr "cp"
7894
7895 #. type: verbatim
7896 #: ../fish/guestfish-actions.pod:947
7897 #, no-wrap
7898 msgid ""
7899 " cp src dest\n"
7900 "\n"
7901 msgstr ""
7902
7903 #. type: textblock
7904 #: ../fish/guestfish-actions.pod:949 ../src/guestfs-actions.pod:1606
7905 msgid ""
7906 "This copies a file from C<src> to C<dest> where C<dest> is either a "
7907 "destination filename or destination directory."
7908 msgstr ""
7909
7910 #. type: =head2
7911 #: ../fish/guestfish-actions.pod:952
7912 msgid "cp-a"
7913 msgstr "cp-a"
7914
7915 #. type: verbatim
7916 #: ../fish/guestfish-actions.pod:954
7917 #, no-wrap
7918 msgid ""
7919 " cp-a src dest\n"
7920 "\n"
7921 msgstr ""
7922
7923 #. type: textblock
7924 #: ../fish/guestfish-actions.pod:956 ../src/guestfs-actions.pod:1620
7925 msgid ""
7926 "This copies a file or directory from C<src> to C<dest> recursively using the "
7927 "C<cp -a> command."
7928 msgstr ""
7929
7930 #. type: =head2
7931 #: ../fish/guestfish-actions.pod:959
7932 msgid "dd"
7933 msgstr "dd"
7934
7935 #. type: verbatim
7936 #: ../fish/guestfish-actions.pod:961
7937 #, no-wrap
7938 msgid ""
7939 " dd src dest\n"
7940 "\n"
7941 msgstr ""
7942
7943 #. type: textblock
7944 #: ../fish/guestfish-actions.pod:963 ../src/guestfs-actions.pod:1641
7945 msgid ""
7946 "This command copies from one source device or file C<src> to another "
7947 "destination device or file C<dest>.  Normally you would use this to copy to "
7948 "or from a device or partition, for example to duplicate a filesystem."
7949 msgstr ""
7950
7951 #. type: textblock
7952 #: ../fish/guestfish-actions.pod:968
7953 msgid ""
7954 "If the destination is a device, it must be as large or larger than the "
7955 "source file or device, otherwise the copy will fail.  This command cannot do "
7956 "partial copies (see L</copy-device-to-device>)."
7957 msgstr ""
7958
7959 #. type: =head2
7960 #: ../fish/guestfish-actions.pod:980
7961 msgid "df"
7962 msgstr "df"
7963
7964 #. type: verbatim
7965 #: ../fish/guestfish-actions.pod:982
7966 #, no-wrap
7967 msgid ""
7968 " df\n"
7969 "\n"
7970 msgstr ""
7971 " df\n"
7972 "\n"
7973
7974 #. type: textblock
7975 #: ../fish/guestfish-actions.pod:984 ../src/guestfs-actions.pod:1660
7976 msgid "This command runs the C<df> command to report disk space used."
7977 msgstr ""
7978
7979 #. type: textblock
7980 #: ../fish/guestfish-actions.pod:986 ../fish/guestfish-actions.pod:997
7981 msgid ""
7982 "This command is mostly useful for interactive sessions.  It is I<not> "
7983 "intended that you try to parse the output string.  Use L</statvfs> from "
7984 "programs."
7985 msgstr ""
7986
7987 #. type: =head2
7988 #: ../fish/guestfish-actions.pod:990
7989 msgid "df-h"
7990 msgstr "df-h"
7991
7992 #. type: verbatim
7993 #: ../fish/guestfish-actions.pod:992
7994 #, no-wrap
7995 msgid ""
7996 " df-h\n"
7997 "\n"
7998 msgstr ""
7999 " df-h\n"
8000 "\n"
8001
8002 #. type: textblock
8003 #: ../fish/guestfish-actions.pod:994 ../src/guestfs-actions.pod:1676
8004 msgid ""
8005 "This command runs the C<df -h> command to report disk space used in human-"
8006 "readable format."
8007 msgstr ""
8008
8009 #. type: =head2
8010 #: ../fish/guestfish-actions.pod:1001
8011 msgid "dmesg"
8012 msgstr "dmesg"
8013
8014 #. type: verbatim
8015 #: ../fish/guestfish-actions.pod:1003
8016 #, no-wrap
8017 msgid ""
8018 " dmesg\n"
8019 "\n"
8020 msgstr ""
8021 " dmesg\n"
8022 "\n"
8023
8024 #. type: textblock
8025 #: ../fish/guestfish-actions.pod:1005 ../src/guestfs-actions.pod:1693
8026 msgid ""
8027 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
8028 "This is sometimes useful for extended debugging of problems."
8029 msgstr ""
8030
8031 #. type: textblock
8032 #: ../fish/guestfish-actions.pod:1009
8033 msgid ""
8034 "Another way to get the same information is to enable verbose messages with "
8035 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
8036 "before running the program."
8037 msgstr ""
8038
8039 #. type: =head2
8040 #: ../fish/guestfish-actions.pod:1014
8041 msgid "download"
8042 msgstr "download"
8043
8044 #. type: verbatim
8045 #: ../fish/guestfish-actions.pod:1016
8046 #, no-wrap
8047 msgid ""
8048 " download remotefilename (filename|-)\n"
8049 "\n"
8050 msgstr ""
8051
8052 #. type: textblock
8053 #: ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1031
8054 #: ../src/guestfs-actions.pod:1714 ../src/guestfs-actions.pod:1739
8055 msgid ""
8056 "Download file C<remotefilename> and save it as C<filename> on the local "
8057 "machine."
8058 msgstr ""
8059
8060 #. type: textblock
8061 #: ../fish/guestfish-actions.pod:1021 ../fish/guestfish-actions.pod:5003
8062 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:7701
8063 msgid "C<filename> can also be a named pipe."
8064 msgstr ""
8065
8066 #. type: textblock
8067 #: ../fish/guestfish-actions.pod:1023
8068 msgid "See also L</upload>, L</cat>."
8069 msgstr ""
8070
8071 #. type: =head2
8072 #: ../fish/guestfish-actions.pod:1027
8073 msgid "download-offset"
8074 msgstr "download-offset"
8075
8076 #. type: verbatim
8077 #: ../fish/guestfish-actions.pod:1029
8078 #, no-wrap
8079 msgid ""
8080 " download-offset remotefilename (filename|-) offset size\n"
8081 "\n"
8082 msgstr ""
8083
8084 #. type: textblock
8085 #: ../fish/guestfish-actions.pod:1034 ../src/guestfs-actions.pod:1742
8086 msgid ""
8087 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
8088 "region must be within the file or device)."
8089 msgstr ""
8090
8091 #. type: textblock
8092 #: ../fish/guestfish-actions.pod:1037
8093 msgid ""
8094 "Note that there is no limit on the amount of data that can be downloaded "
8095 "with this call, unlike with L</pread>, and this call always reads the full "
8096 "amount unless an error occurs."
8097 msgstr ""
8098
8099 #. type: textblock
8100 #: ../fish/guestfish-actions.pod:1042
8101 msgid "See also L</download>, L</pread>."
8102 msgstr ""
8103
8104 #. type: =head2
8105 #: ../fish/guestfish-actions.pod:1046
8106 msgid "drop-caches"
8107 msgstr ""
8108
8109 #. type: verbatim
8110 #: ../fish/guestfish-actions.pod:1048
8111 #, no-wrap
8112 msgid ""
8113 " drop-caches whattodrop\n"
8114 "\n"
8115 msgstr ""
8116
8117 #. type: textblock
8118 #: ../fish/guestfish-actions.pod:1050 ../src/guestfs-actions.pod:1767
8119 msgid ""
8120 "This instructs the guest kernel to drop its page cache, and/or dentries and "
8121 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
8122 "to drop, see L<http://linux-mm.org/Drop_Caches>"
8123 msgstr ""
8124
8125 #. type: textblock
8126 #: ../fish/guestfish-actions.pod:1055 ../src/guestfs-actions.pod:1772
8127 msgid "Setting C<whattodrop> to 3 should drop everything."
8128 msgstr ""
8129
8130 #. type: textblock
8131 #: ../fish/guestfish-actions.pod:1057 ../src/guestfs-actions.pod:1774
8132 msgid ""
8133 "This automatically calls L<sync(2)> before the operation, so that the "
8134 "maximum guest memory is freed."
8135 msgstr ""
8136
8137 #. type: =head2
8138 #: ../fish/guestfish-actions.pod:1060
8139 msgid "du"
8140 msgstr "du"
8141
8142 #. type: verbatim
8143 #: ../fish/guestfish-actions.pod:1062
8144 #, no-wrap
8145 msgid ""
8146 " du path\n"
8147 "\n"
8148 msgstr ""
8149 " du шлях\n"
8150 "\n"
8151
8152 #. type: textblock
8153 #: ../fish/guestfish-actions.pod:1064 ../src/guestfs-actions.pod:1787
8154 msgid ""
8155 "This command runs the C<du -s> command to estimate file space usage for "
8156 "C<path>."
8157 msgstr ""
8158
8159 #. type: textblock
8160 #: ../fish/guestfish-actions.pod:1067 ../src/guestfs-actions.pod:1790
8161 msgid ""
8162 "C<path> can be a file or a directory.  If C<path> is a directory then the "
8163 "estimate includes the contents of the directory and all subdirectories "
8164 "(recursively)."
8165 msgstr ""
8166
8167 #. type: textblock
8168 #: ../fish/guestfish-actions.pod:1071 ../src/guestfs-actions.pod:1794
8169 msgid ""
8170 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
8171 msgstr ""
8172
8173 #. type: =head2
8174 #: ../fish/guestfish-actions.pod:1074
8175 msgid "e2fsck-f"
8176 msgstr "e2fsck-f"
8177
8178 #. type: verbatim
8179 #: ../fish/guestfish-actions.pod:1076
8180 #, no-wrap
8181 msgid ""
8182 " e2fsck-f device\n"
8183 "\n"
8184 msgstr ""
8185
8186 #. type: textblock
8187 #: ../fish/guestfish-actions.pod:1078 ../src/guestfs-actions.pod:1812
8188 msgid ""
8189 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
8190 "on C<device>, noninteractively (I<-p>), even if the filesystem appears to be "
8191 "clean (I<-f>)."
8192 msgstr ""
8193
8194 #. type: textblock
8195 #: ../fish/guestfish-actions.pod:1082
8196 msgid ""
8197 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
8198 "should use L</fsck>."
8199 msgstr ""
8200
8201 #. type: =head2
8202 #: ../fish/guestfish-actions.pod:1085
8203 msgid "echo-daemon"
8204 msgstr ""
8205
8206 #. type: verbatim
8207 #: ../fish/guestfish-actions.pod:1087
8208 #, no-wrap
8209 msgid ""
8210 " echo-daemon 'words ...'\n"
8211 "\n"
8212 msgstr ""
8213
8214 #. type: textblock
8215 #: ../fish/guestfish-actions.pod:1089 ../src/guestfs-actions.pod:1829
8216 msgid ""
8217 "This command concatenates the list of C<words> passed with single spaces "
8218 "between them and returns the resulting string."
8219 msgstr ""
8220
8221 #. type: textblock
8222 #: ../fish/guestfish-actions.pod:1092 ../src/guestfs-actions.pod:1832
8223 msgid "You can use this command to test the connection through to the daemon."
8224 msgstr ""
8225
8226 #. type: textblock
8227 #: ../fish/guestfish-actions.pod:1094
8228 msgid "See also L</ping-daemon>."
8229 msgstr "Див. також L</ping-daemon>."
8230
8231 #. type: =head2
8232 #: ../fish/guestfish-actions.pod:1096
8233 msgid "egrep"
8234 msgstr "egrep"
8235
8236 #. type: verbatim
8237 #: ../fish/guestfish-actions.pod:1098
8238 #, no-wrap
8239 msgid ""
8240 " egrep regex path\n"
8241 "\n"
8242 msgstr ""
8243
8244 #. type: textblock
8245 #: ../fish/guestfish-actions.pod:1100 ../src/guestfs-actions.pod:1848
8246 msgid ""
8247 "This calls the external C<egrep> program and returns the matching lines."
8248 msgstr ""
8249
8250 #. type: =head2
8251 #: ../fish/guestfish-actions.pod:1106
8252 msgid "egrepi"
8253 msgstr "egrepi"
8254
8255 #. type: verbatim
8256 #: ../fish/guestfish-actions.pod:1108
8257 #, no-wrap
8258 msgid ""
8259 " egrepi regex path\n"
8260 "\n"
8261 msgstr ""
8262
8263 #. type: textblock
8264 #: ../fish/guestfish-actions.pod:1110 ../src/guestfs-actions.pod:1867
8265 msgid ""
8266 "This calls the external C<egrep -i> program and returns the matching lines."
8267 msgstr ""
8268
8269 #. type: =head2
8270 #: ../fish/guestfish-actions.pod:1116
8271 msgid "equal"
8272 msgstr "equal"
8273
8274 #. type: verbatim
8275 #: ../fish/guestfish-actions.pod:1118
8276 #, no-wrap
8277 msgid ""
8278 " equal file1 file2\n"
8279 "\n"
8280 msgstr ""
8281 " equal файл1 файл2\n"
8282 "\n"
8283
8284 #. type: textblock
8285 #: ../fish/guestfish-actions.pod:1120 ../src/guestfs-actions.pod:1886
8286 msgid ""
8287 "This compares the two files C<file1> and C<file2> and returns true if their "
8288 "content is exactly equal, or false otherwise."
8289 msgstr ""
8290
8291 #. type: textblock
8292 #: ../fish/guestfish-actions.pod:1123 ../src/guestfs-actions.pod:1889
8293 msgid "The external L<cmp(1)> program is used for the comparison."
8294 msgstr ""
8295
8296 #. type: =head2
8297 #: ../fish/guestfish-actions.pod:1125
8298 msgid "exists"
8299 msgstr "exists"
8300
8301 #. type: verbatim
8302 #: ../fish/guestfish-actions.pod:1127
8303 #, no-wrap
8304 msgid ""
8305 " exists path\n"
8306 "\n"
8307 msgstr ""
8308 " exists шлях\n"
8309 "\n"
8310
8311 #. type: textblock
8312 #: ../fish/guestfish-actions.pod:1129 ../src/guestfs-actions.pod:1901
8313 msgid ""
8314 "This returns C<true> if and only if there is a file, directory (or anything) "
8315 "with the given C<path> name."
8316 msgstr ""
8317
8318 #. type: textblock
8319 #: ../fish/guestfish-actions.pod:1132
8320 msgid "See also L</is-file>, L</is-dir>, L</stat>."
8321 msgstr "Див. також L</is-file>, L</is-dir>, L</stat>."
8322
8323 #. type: =head2
8324 #: ../fish/guestfish-actions.pod:1134
8325 msgid "fallocate"
8326 msgstr "fallocate"
8327
8328 #. type: verbatim
8329 #: ../fish/guestfish-actions.pod:1136
8330 #, no-wrap
8331 msgid ""
8332 " fallocate path len\n"
8333 "\n"
8334 msgstr ""
8335 " fallocate шлях довжина\n"
8336 "\n"
8337
8338 #. type: textblock
8339 #: ../fish/guestfish-actions.pod:1138 ../fish/guestfish-actions.pod:1157
8340 #: ../src/guestfs-actions.pod:1924 ../src/guestfs-actions.pod:1943
8341 msgid ""
8342 "This command preallocates a file (containing zero bytes) named C<path> of "
8343 "size C<len> bytes.  If the file exists already, it is overwritten."
8344 msgstr ""
8345
8346 #. type: textblock
8347 #: ../fish/guestfish-actions.pod:1142 ../src/guestfs-actions.pod:1928
8348 msgid ""
8349 "Do not confuse this with the guestfish-specific C<alloc> command which "
8350 "allocates a file in the host and attaches it as a device."
8351 msgstr ""
8352
8353 #. type: textblock
8354 #: ../fish/guestfish-actions.pod:1146
8355 msgid ""
8356 "I<This function is deprecated.> In new code, use the L</fallocate64> call "
8357 "instead."
8358 msgstr ""
8359
8360 #. type: =head2
8361 #: ../fish/guestfish-actions.pod:1153
8362 msgid "fallocate64"
8363 msgstr "fallocate64"
8364
8365 #. type: verbatim
8366 #: ../fish/guestfish-actions.pod:1155
8367 #, no-wrap
8368 msgid ""
8369 " fallocate64 path len\n"
8370 "\n"
8371 msgstr ""
8372 " fallocate64 шлях довжина\n"
8373 "\n"
8374
8375 #. type: textblock
8376 #: ../fish/guestfish-actions.pod:1161
8377 msgid ""
8378 "Note that this call allocates disk blocks for the file.  To create a sparse "
8379 "file use L</truncate-size> instead."
8380 msgstr ""
8381
8382 #. type: textblock
8383 #: ../fish/guestfish-actions.pod:1164
8384 msgid ""
8385 "The deprecated call L</fallocate> does the same, but owing to an oversight "
8386 "it only allowed 30 bit lengths to be specified, effectively limiting the "
8387 "maximum size of files created through that call to 1GB."
8388 msgstr ""
8389
8390 #. type: textblock
8391 #: ../fish/guestfish-actions.pod:1169 ../src/guestfs-actions.pod:1955
8392 msgid ""
8393 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
8394 "commands which create a file in the host and attach it as a device."
8395 msgstr ""
8396
8397 #. type: =head2
8398 #: ../fish/guestfish-actions.pod:1173
8399 msgid "fgrep"
8400 msgstr "fgrep"
8401
8402 #. type: verbatim
8403 #: ../fish/guestfish-actions.pod:1175
8404 #, no-wrap
8405 msgid ""
8406 " fgrep pattern path\n"
8407 "\n"
8408 msgstr ""
8409 " fgrep шаблон шлях\n"
8410 "\n"
8411
8412 #. type: textblock
8413 #: ../fish/guestfish-actions.pod:1177 ../src/guestfs-actions.pod:1970
8414 msgid ""
8415 "This calls the external C<fgrep> program and returns the matching lines."
8416 msgstr ""
8417
8418 #. type: =head2
8419 #: ../fish/guestfish-actions.pod:1183
8420 msgid "fgrepi"
8421 msgstr "fgrepi"
8422
8423 #. type: verbatim
8424 #: ../fish/guestfish-actions.pod:1185
8425 #, no-wrap
8426 msgid ""
8427 " fgrepi pattern path\n"
8428 "\n"
8429 msgstr ""
8430 " fgrepi шаблон шлях\n"
8431 "\n"
8432
8433 #. type: textblock
8434 #: ../fish/guestfish-actions.pod:1187 ../src/guestfs-actions.pod:1989
8435 msgid ""
8436 "This calls the external C<fgrep -i> program and returns the matching lines."
8437 msgstr ""
8438
8439 #. type: =head2
8440 #: ../fish/guestfish-actions.pod:1193
8441 msgid "file"
8442 msgstr "file"
8443
8444 #. type: verbatim
8445 #: ../fish/guestfish-actions.pod:1195
8446 #, no-wrap
8447 msgid ""
8448 " file path\n"
8449 "\n"
8450 msgstr ""
8451 " file шлях\n"
8452 "\n"
8453
8454 #. type: textblock
8455 #: ../fish/guestfish-actions.pod:1197 ../src/guestfs-actions.pod:2007
8456 msgid ""
8457 "This call uses the standard L<file(1)> command to determine the type or "
8458 "contents of the file."
8459 msgstr ""
8460
8461 #. type: textblock
8462 #: ../fish/guestfish-actions.pod:1200 ../src/guestfs-actions.pod:2010
8463 msgid ""
8464 "This call will also transparently look inside various types of compressed "
8465 "file."
8466 msgstr ""
8467
8468 #. type: textblock
8469 #: ../fish/guestfish-actions.pod:1203 ../src/guestfs-actions.pod:2013
8470 msgid ""
8471 "The exact command which runs is C<file -zb path>.  Note in particular that "
8472 "the filename is not prepended to the output (the I<-b> option)."
8473 msgstr ""
8474
8475 #. type: textblock
8476 #: ../fish/guestfish-actions.pod:1207 ../src/guestfs-actions.pod:2017
8477 msgid ""
8478 "The output depends on the output of the underlying L<file(1)> command and it "
8479 "can change in future in ways beyond our control.  In other words, the output "
8480 "is not guaranteed by the ABI."
8481 msgstr ""
8482
8483 #. type: textblock
8484 #: ../fish/guestfish-actions.pod:1211
8485 msgid ""
8486 "See also: L<file(1)>, L</vfs-type>, L</lstat>, L</is-file>, L</is-blockdev> "
8487 "(etc), L</is-zero>."
8488 msgstr ""
8489
8490 #. type: =head2
8491 #: ../fish/guestfish-actions.pod:1214
8492 msgid "file-architecture"
8493 msgstr "file-architecture"
8494
8495 #. type: verbatim
8496 #: ../fish/guestfish-actions.pod:1216
8497 #, no-wrap
8498 msgid ""
8499 " file-architecture filename\n"
8500 "\n"
8501 msgstr ""
8502 " file-architecture назва_файла\n"
8503 "\n"
8504
8505 #. type: textblock
8506 #: ../fish/guestfish-actions.pod:1218 ../src/guestfs-actions.pod:2035
8507 msgid ""
8508 "This detects the architecture of the binary C<filename>, and returns it if "
8509 "known."
8510 msgstr ""
8511
8512 #. type: textblock
8513 #: ../fish/guestfish-actions.pod:1221 ../src/guestfs-actions.pod:2038
8514 msgid "Currently defined architectures are:"
8515 msgstr ""
8516
8517 #. type: =item
8518 #: ../fish/guestfish-actions.pod:1225 ../src/guestfs-actions.pod:2042
8519 msgid "\"i386\""
8520 msgstr "\"i386\""
8521
8522 #. type: textblock
8523 #: ../fish/guestfish-actions.pod:1227 ../src/guestfs-actions.pod:2044
8524 msgid ""
8525 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
8526 "irrespective of the precise processor requirements of the binary."
8527 msgstr ""
8528
8529 #. type: =item
8530 #: ../fish/guestfish-actions.pod:1230 ../src/guestfs-actions.pod:2047
8531 msgid "\"x86_64\""
8532 msgstr "\"x86_64\""
8533
8534 #. type: textblock
8535 #: ../fish/guestfish-actions.pod:1232 ../src/guestfs-actions.pod:2049
8536 msgid "64 bit x86-64."
8537 msgstr ""
8538
8539 #. type: =item
8540 #: ../fish/guestfish-actions.pod:1234 ../src/guestfs-actions.pod:2051
8541 msgid "\"sparc\""
8542 msgstr ""
8543
8544 #. type: textblock
8545 #: ../fish/guestfish-actions.pod:1236 ../src/guestfs-actions.pod:2053
8546 msgid "32 bit SPARC."
8547 msgstr ""
8548
8549 #. type: =item
8550 #: ../fish/guestfish-actions.pod:1238 ../src/guestfs-actions.pod:2055
8551 msgid "\"sparc64\""
8552 msgstr ""
8553
8554 #. type: textblock
8555 #: ../fish/guestfish-actions.pod:1240 ../src/guestfs-actions.pod:2057
8556 msgid "64 bit SPARC V9 and above."
8557 msgstr ""
8558
8559 #. type: =item
8560 #: ../fish/guestfish-actions.pod:1242 ../src/guestfs-actions.pod:2059
8561 msgid "\"ia64\""
8562 msgstr "\"ia64\""
8563
8564 #. type: textblock
8565 #: ../fish/guestfish-actions.pod:1244 ../src/guestfs-actions.pod:2061
8566 msgid "Intel Itanium."
8567 msgstr "Intel Itanium."
8568
8569 #. type: =item
8570 #: ../fish/guestfish-actions.pod:1246 ../src/guestfs-actions.pod:2063
8571 msgid "\"ppc\""
8572 msgstr ""
8573
8574 #. type: textblock
8575 #: ../fish/guestfish-actions.pod:1248 ../src/guestfs-actions.pod:2065
8576 msgid "32 bit Power PC."
8577 msgstr ""
8578
8579 #. type: =item
8580 #: ../fish/guestfish-actions.pod:1250 ../src/guestfs-actions.pod:2067
8581 msgid "\"ppc64\""
8582 msgstr ""
8583
8584 #. type: textblock
8585 #: ../fish/guestfish-actions.pod:1252 ../src/guestfs-actions.pod:2069
8586 msgid "64 bit Power PC."
8587 msgstr ""
8588
8589 #. type: textblock
8590 #: ../fish/guestfish-actions.pod:1256 ../src/guestfs-actions.pod:2073
8591 msgid "Libguestfs may return other architecture strings in future."
8592 msgstr ""
8593
8594 #. type: textblock
8595 #: ../fish/guestfish-actions.pod:1258 ../src/guestfs-actions.pod:2075
8596 msgid "The function works on at least the following types of files:"
8597 msgstr ""
8598
8599 #. type: textblock
8600 #: ../fish/guestfish-actions.pod:1264 ../src/guestfs-actions.pod:2081
8601 msgid "many types of Un*x and Linux binary"
8602 msgstr ""
8603
8604 #. type: textblock
8605 #: ../fish/guestfish-actions.pod:1268 ../src/guestfs-actions.pod:2085
8606 msgid "many types of Un*x and Linux shared library"
8607 msgstr ""
8608
8609 #. type: textblock
8610 #: ../fish/guestfish-actions.pod:1272 ../src/guestfs-actions.pod:2089
8611 msgid "Windows Win32 and Win64 binaries"
8612 msgstr ""
8613
8614 #. type: textblock
8615 #: ../fish/guestfish-actions.pod:1276 ../src/guestfs-actions.pod:2093
8616 msgid "Windows Win32 and Win64 DLLs"
8617 msgstr ""
8618
8619 #. type: textblock
8620 #: ../fish/guestfish-actions.pod:1278 ../src/guestfs-actions.pod:2095
8621 msgid "Win32 binaries and DLLs return C<i386>."
8622 msgstr ""
8623
8624 #. type: textblock
8625 #: ../fish/guestfish-actions.pod:1280 ../src/guestfs-actions.pod:2097
8626 msgid "Win64 binaries and DLLs return C<x86_64>."
8627 msgstr ""
8628
8629 #. type: textblock
8630 #: ../fish/guestfish-actions.pod:1284 ../src/guestfs-actions.pod:2101
8631 msgid "Linux kernel modules"
8632 msgstr ""
8633
8634 #. type: textblock
8635 #: ../fish/guestfish-actions.pod:1288 ../src/guestfs-actions.pod:2105
8636 msgid "Linux new-style initrd images"
8637 msgstr ""
8638
8639 #. type: textblock
8640 #: ../fish/guestfish-actions.pod:1292 ../src/guestfs-actions.pod:2109
8641 msgid "some non-x86 Linux vmlinuz kernels"
8642 msgstr ""
8643
8644 #. type: textblock
8645 #: ../fish/guestfish-actions.pod:1296 ../src/guestfs-actions.pod:2113
8646 msgid "What it can't do currently:"
8647 msgstr ""
8648
8649 #. type: textblock
8650 #: ../fish/guestfish-actions.pod:1302 ../src/guestfs-actions.pod:2119
8651 msgid "static libraries (libfoo.a)"
8652 msgstr ""
8653
8654 #. type: textblock
8655 #: ../fish/guestfish-actions.pod:1306 ../src/guestfs-actions.pod:2123
8656 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
8657 msgstr ""
8658
8659 #. type: textblock
8660 #: ../fish/guestfish-actions.pod:1310 ../src/guestfs-actions.pod:2127
8661 msgid "x86 Linux vmlinuz kernels"
8662 msgstr ""
8663
8664 #. type: textblock
8665 #: ../fish/guestfish-actions.pod:1312 ../src/guestfs-actions.pod:2129
8666 msgid ""
8667 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
8668 "compressed code, and are horribly hard to unpack.  If you want to find the "
8669 "architecture of a kernel, use the architecture of the associated initrd or "
8670 "kernel module(s) instead."
8671 msgstr ""
8672
8673 #. type: =head2
8674 #: ../fish/guestfish-actions.pod:1319
8675 msgid "filesize"
8676 msgstr "filesize"
8677
8678 #. type: verbatim
8679 #: ../fish/guestfish-actions.pod:1321
8680 #, no-wrap
8681 msgid ""
8682 " filesize file\n"
8683 "\n"
8684 msgstr ""
8685 " filesize файл\n"
8686 "\n"
8687
8688 #. type: textblock
8689 #: ../fish/guestfish-actions.pod:1323 ../src/guestfs-actions.pod:2147
8690 msgid "This command returns the size of C<file> in bytes."
8691 msgstr ""
8692
8693 #. type: textblock
8694 #: ../fish/guestfish-actions.pod:1325
8695 msgid ""
8696 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
8697 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
8698 msgstr ""
8699
8700 #. type: =head2
8701 #: ../fish/guestfish-actions.pod:1329
8702 msgid "fill"
8703 msgstr "fill"
8704
8705 #. type: verbatim
8706 #: ../fish/guestfish-actions.pod:1331
8707 #, no-wrap
8708 msgid ""
8709 " fill c len path\n"
8710 "\n"
8711 msgstr ""
8712
8713 #. type: textblock
8714 #: ../fish/guestfish-actions.pod:1333 ../src/guestfs-actions.pod:2165
8715 msgid ""
8716 "This command creates a new file called C<path>.  The initial content of the "
8717 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
8718 "[0..255]>."
8719 msgstr ""
8720
8721 #. type: textblock
8722 #: ../fish/guestfish-actions.pod:1337
8723 msgid ""
8724 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
8725 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
8726 "L</fill-pattern>."
8727 msgstr ""
8728
8729 #. type: =head2
8730 #: ../fish/guestfish-actions.pod:1342
8731 msgid "fill-pattern"
8732 msgstr "fill-pattern"
8733
8734 #. type: verbatim
8735 #: ../fish/guestfish-actions.pod:1344
8736 #, no-wrap
8737 msgid ""
8738 " fill-pattern pattern len path\n"
8739 "\n"
8740 msgstr ""
8741
8742 #. type: textblock
8743 #: ../fish/guestfish-actions.pod:1346
8744 msgid ""
8745 "This function is like L</fill> except that it creates a new file of length "
8746 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
8747 "is truncated if necessary to ensure the length of the file is exactly C<len> "
8748 "bytes."
8749 msgstr ""
8750
8751 #. type: =head2
8752 #: ../fish/guestfish-actions.pod:1351
8753 msgid "find"
8754 msgstr "find"
8755
8756 #. type: verbatim
8757 #: ../fish/guestfish-actions.pod:1353
8758 #, no-wrap
8759 msgid ""
8760 " find directory\n"
8761 "\n"
8762 msgstr ""
8763 " find каталог\n"
8764 "\n"
8765
8766 #. type: textblock
8767 #: ../fish/guestfish-actions.pod:1355 ../src/guestfs-actions.pod:2211
8768 msgid ""
8769 "This command lists out all files and directories, recursively, starting at "
8770 "C<directory>.  It is essentially equivalent to running the shell command "
8771 "C<find directory -print> but some post-processing happens on the output, "
8772 "described below."
8773 msgstr ""
8774
8775 #. type: textblock
8776 #: ../fish/guestfish-actions.pod:1360 ../src/guestfs-actions.pod:2216
8777 msgid ""
8778 "This returns a list of strings I<without any prefix>.  Thus if the directory "
8779 "structure was:"
8780 msgstr ""
8781
8782 #. type: verbatim
8783 #: ../fish/guestfish-actions.pod:1363 ../src/guestfs-actions.pod:2219
8784 #, no-wrap
8785 msgid ""
8786 " /tmp/a\n"
8787 " /tmp/b\n"
8788 " /tmp/c/d\n"
8789 "\n"
8790 msgstr ""
8791
8792 #. type: textblock
8793 #: ../fish/guestfish-actions.pod:1367
8794 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
8795 msgstr ""
8796
8797 #. type: verbatim
8798 #: ../fish/guestfish-actions.pod:1370 ../src/guestfs-actions.pod:2226
8799 #, no-wrap
8800 msgid ""
8801 " a\n"
8802 " b\n"
8803 " c\n"
8804 " c/d\n"
8805 "\n"
8806 msgstr ""
8807
8808 #. type: textblock
8809 #: ../fish/guestfish-actions.pod:1375 ../src/guestfs-actions.pod:2231
8810 msgid "If C<directory> is not a directory, then this command returns an error."
8811 msgstr ""
8812
8813 #. type: textblock
8814 #: ../fish/guestfish-actions.pod:1378 ../src/guestfs-actions.pod:2234
8815 msgid "The returned list is sorted."
8816 msgstr ""
8817
8818 #. type: textblock
8819 #: ../fish/guestfish-actions.pod:1380
8820 msgid "See also L</find0>."
8821 msgstr "Див. також L</find0>."
8822
8823 #. type: =head2
8824 #: ../fish/guestfish-actions.pod:1385
8825 msgid "find0"
8826 msgstr "find0"
8827
8828 #. type: verbatim
8829 #: ../fish/guestfish-actions.pod:1387
8830 #, no-wrap
8831 msgid ""
8832 " find0 directory (files|-)\n"
8833 "\n"
8834 msgstr ""
8835 " find0 каталог (файли|-)\n"
8836 "\n"
8837
8838 #. type: textblock
8839 #: ../fish/guestfish-actions.pod:1389 ../src/guestfs-actions.pod:2254
8840 msgid ""
8841 "This command lists out all files and directories, recursively, starting at "
8842 "C<directory>, placing the resulting list in the external file called "
8843 "C<files>."
8844 msgstr ""
8845
8846 #. type: textblock
8847 #: ../fish/guestfish-actions.pod:1393
8848 msgid ""
8849 "This command works the same way as L</find> with the following exceptions:"
8850 msgstr ""
8851
8852 #. type: textblock
8853 #: ../fish/guestfish-actions.pod:1400 ../src/guestfs-actions.pod:2265
8854 msgid "The resulting list is written to an external file."
8855 msgstr ""
8856
8857 #. type: textblock
8858 #: ../fish/guestfish-actions.pod:1404 ../src/guestfs-actions.pod:2269
8859 msgid ""
8860 "Items (filenames) in the result are separated by C<\\0> characters.  See "
8861 "L<find(1)> option I<-print0>."
8862 msgstr ""
8863
8864 #. type: textblock
8865 #: ../fish/guestfish-actions.pod:1409 ../src/guestfs-actions.pod:2274
8866 msgid "This command is not limited in the number of names that it can return."
8867 msgstr ""
8868
8869 #. type: textblock
8870 #: ../fish/guestfish-actions.pod:1414 ../src/guestfs-actions.pod:2279
8871 msgid "The result list is not sorted."
8872 msgstr ""
8873
8874 #. type: =head2
8875 #: ../fish/guestfish-actions.pod:1420
8876 msgid "findfs-label"
8877 msgstr "findfs-label"
8878
8879 #. type: verbatim
8880 #: ../fish/guestfish-actions.pod:1422
8881 #, no-wrap
8882 msgid ""
8883 " findfs-label label\n"
8884 "\n"
8885 msgstr ""
8886 " findfs-label мітка\n"
8887 "\n"
8888
8889 #. type: textblock
8890 #: ../fish/guestfish-actions.pod:1424 ../src/guestfs-actions.pod:2293
8891 msgid ""
8892 "This command searches the filesystems and returns the one which has the "
8893 "given label.  An error is returned if no such filesystem can be found."
8894 msgstr ""
8895
8896 #. type: textblock
8897 #: ../fish/guestfish-actions.pod:1428
8898 msgid "To find the label of a filesystem, use L</vfs-label>."
8899 msgstr "Для визначення мітки файлової системи скористайтеся L</vfs-label>."
8900
8901 #. type: =head2
8902 #: ../fish/guestfish-actions.pod:1430
8903 msgid "findfs-uuid"
8904 msgstr "findfs-uuid"
8905
8906 #. type: verbatim
8907 #: ../fish/guestfish-actions.pod:1432
8908 #, no-wrap
8909 msgid ""
8910 " findfs-uuid uuid\n"
8911 "\n"
8912 msgstr ""
8913 " findfs-uuid uuid\n"
8914 "\n"
8915
8916 #. type: textblock
8917 #: ../fish/guestfish-actions.pod:1434 ../src/guestfs-actions.pod:2310
8918 msgid ""
8919 "This command searches the filesystems and returns the one which has the "
8920 "given UUID.  An error is returned if no such filesystem can be found."
8921 msgstr ""
8922
8923 #. type: textblock
8924 #: ../fish/guestfish-actions.pod:1438
8925 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
8926 msgstr "Для визначення UUID файлової системи скористайтеся L</vfs-uuid>."
8927
8928 #. type: =head2
8929 #: ../fish/guestfish-actions.pod:1440
8930 msgid "fsck"
8931 msgstr "fsck"
8932
8933 #. type: verbatim
8934 #: ../fish/guestfish-actions.pod:1442
8935 #, no-wrap
8936 msgid ""
8937 " fsck fstype device\n"
8938 "\n"
8939 msgstr ""
8940 " fsck тип_файлової_системи пристрій\n"
8941 "\n"
8942
8943 #. type: textblock
8944 #: ../fish/guestfish-actions.pod:1444 ../src/guestfs-actions.pod:2328
8945 msgid ""
8946 "This runs the filesystem checker (fsck) on C<device> which should have "
8947 "filesystem type C<fstype>."
8948 msgstr ""
8949
8950 #. type: textblock
8951 #: ../fish/guestfish-actions.pod:1447 ../src/guestfs-actions.pod:2331
8952 msgid ""
8953 "The returned integer is the status.  See L<fsck(8)> for the list of status "
8954 "codes from C<fsck>."
8955 msgstr ""
8956
8957 #. type: textblock
8958 #: ../fish/guestfish-actions.pod:1456 ../src/guestfs-actions.pod:2340
8959 msgid "Multiple status codes can be summed together."
8960 msgstr ""
8961
8962 #. type: textblock
8963 #: ../fish/guestfish-actions.pod:1460 ../src/guestfs-actions.pod:2344
8964 msgid ""
8965 "A non-zero return code can mean \"success\", for example if errors have been "
8966 "corrected on the filesystem."
8967 msgstr ""
8968
8969 #. type: textblock
8970 #: ../fish/guestfish-actions.pod:1465 ../src/guestfs-actions.pod:2349
8971 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
8972 msgstr ""
8973
8974 #. type: textblock
8975 #: ../fish/guestfish-actions.pod:1470 ../src/guestfs-actions.pod:2354
8976 msgid ""
8977 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
8978 msgstr ""
8979
8980 #. type: =head2
8981 #: ../fish/guestfish-actions.pod:1472
8982 msgid "get-append"
8983 msgstr "get-append"
8984
8985 #. type: verbatim
8986 #: ../fish/guestfish-actions.pod:1474
8987 #, no-wrap
8988 msgid ""
8989 " get-append\n"
8990 "\n"
8991 msgstr ""
8992 " get-append\n"
8993 "\n"
8994
8995 #. type: textblock
8996 #: ../fish/guestfish-actions.pod:1476 ../src/guestfs-actions.pod:2365
8997 msgid ""
8998 "Return the additional kernel options which are added to the guest kernel "
8999 "command line."
9000 msgstr ""
9001
9002 #. type: textblock
9003 #: ../fish/guestfish-actions.pod:1479 ../src/guestfs-actions.pod:2368
9004 msgid "If C<NULL> then no options are added."
9005 msgstr ""
9006
9007 #. type: =head2
9008 #: ../fish/guestfish-actions.pod:1481
9009 msgid "get-attach-method"
9010 msgstr "get-attach-method"
9011
9012 #. type: verbatim
9013 #: ../fish/guestfish-actions.pod:1483
9014 #, no-wrap
9015 msgid ""
9016 " get-attach-method\n"
9017 "\n"
9018 msgstr ""
9019 " get-attach-method\n"
9020 "\n"
9021
9022 #. type: textblock
9023 #: ../fish/guestfish-actions.pod:1485
9024 msgid "Return the current attach method.  See L</set-attach-method>."
9025 msgstr ""
9026
9027 #. type: =head2
9028 #: ../fish/guestfish-actions.pod:1487
9029 msgid "get-autosync"
9030 msgstr "get-autosync"
9031
9032 #. type: verbatim
9033 #: ../fish/guestfish-actions.pod:1489
9034 #, no-wrap
9035 msgid ""
9036 " get-autosync\n"
9037 "\n"
9038 msgstr ""
9039 " get-autosync\n"
9040 "\n"
9041
9042 #. type: textblock
9043 #: ../fish/guestfish-actions.pod:1491 ../src/guestfs-actions.pod:2393
9044 msgid "Get the autosync flag."
9045 msgstr ""
9046
9047 #. type: =head2
9048 #: ../fish/guestfish-actions.pod:1493
9049 msgid "get-direct"
9050 msgstr "get-direct"
9051
9052 #. type: verbatim
9053 #: ../fish/guestfish-actions.pod:1495
9054 #, no-wrap
9055 msgid ""
9056 " get-direct\n"
9057 "\n"
9058 msgstr ""
9059 " get-direct\n"
9060 "\n"
9061
9062 #. type: textblock
9063 #: ../fish/guestfish-actions.pod:1497 ../src/guestfs-actions.pod:2404
9064 msgid "Return the direct appliance mode flag."
9065 msgstr ""
9066
9067 #. type: =head2
9068 #: ../fish/guestfish-actions.pod:1499
9069 msgid "get-e2label"
9070 msgstr "get-e2label"
9071
9072 #. type: verbatim
9073 #: ../fish/guestfish-actions.pod:1501
9074 #, no-wrap
9075 msgid ""
9076 " get-e2label device\n"
9077 "\n"
9078 msgstr ""
9079 " get-e2label пристрій\n"
9080 "\n"
9081
9082 #. type: textblock
9083 #: ../fish/guestfish-actions.pod:1503 ../src/guestfs-actions.pod:2423
9084 msgid ""
9085 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
9086 msgstr ""
9087
9088 #. type: textblock
9089 #: ../fish/guestfish-actions.pod:1506
9090 msgid ""
9091 "I<This function is deprecated.> In new code, use the L</vfs_label> call "
9092 "instead."
9093 msgstr ""
9094
9095 #. type: =head2
9096 #: ../fish/guestfish-actions.pod:1513
9097 msgid "get-e2uuid"
9098 msgstr "get-e2uuid"
9099
9100 #. type: verbatim
9101 #: ../fish/guestfish-actions.pod:1515
9102 #, no-wrap
9103 msgid ""
9104 " get-e2uuid device\n"
9105 "\n"
9106 msgstr ""
9107 " get-e2uuid пристрій\n"
9108 "\n"
9109
9110 #. type: textblock
9111 #: ../fish/guestfish-actions.pod:1517 ../src/guestfs-actions.pod:2444
9112 msgid ""
9113 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
9114 msgstr ""
9115
9116 #. type: textblock
9117 #: ../fish/guestfish-actions.pod:1520
9118 msgid ""
9119 "I<This function is deprecated.> In new code, use the L</vfs_uuid> call "
9120 "instead."
9121 msgstr ""
9122
9123 #. type: =head2
9124 #: ../fish/guestfish-actions.pod:1527
9125 msgid "get-memsize"
9126 msgstr "get-memsize"
9127
9128 #. type: verbatim
9129 #: ../fish/guestfish-actions.pod:1529
9130 #, no-wrap
9131 msgid ""
9132 " get-memsize\n"
9133 "\n"
9134 msgstr ""
9135 " get-memsize\n"
9136 "\n"
9137
9138 #. type: textblock
9139 #: ../fish/guestfish-actions.pod:1531 ../src/guestfs-actions.pod:2457
9140 msgid ""
9141 "This gets the memory size in megabytes allocated to the qemu subprocess."
9142 msgstr ""
9143
9144 #. type: textblock
9145 #: ../fish/guestfish-actions.pod:1534
9146 msgid ""
9147 "If L</set-memsize> was not called on this handle, and if "
9148 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
9149 "value for memsize."
9150 msgstr ""
9151
9152 #. type: textblock
9153 #: ../fish/guestfish-actions.pod:1538 ../fish/guestfish-actions.pod:1595
9154 #: ../fish/guestfish-actions.pod:4360 ../fish/guestfish-actions.pod:4462
9155 #: ../src/guestfs-actions.pod:2464 ../src/guestfs-actions.pod:2556
9156 #: ../src/guestfs-actions.pod:6755 ../src/guestfs-actions.pod:6881
9157 msgid ""
9158 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
9159 msgstr ""
9160
9161 #. type: =head2
9162 #: ../fish/guestfish-actions.pod:1541
9163 msgid "get-network"
9164 msgstr "get-network"
9165
9166 #. type: verbatim
9167 #: ../fish/guestfish-actions.pod:1543
9168 #, no-wrap
9169 msgid ""
9170 " get-network\n"
9171 "\n"
9172 msgstr ""
9173 " get-network\n"
9174 "\n"
9175
9176 #. type: textblock
9177 #: ../fish/guestfish-actions.pod:1545 ../src/guestfs-actions.pod:2476
9178 msgid "This returns the enable network flag."
9179 msgstr ""
9180
9181 #. type: =head2
9182 #: ../fish/guestfish-actions.pod:1547
9183 msgid "get-path"
9184 msgstr "get-path"
9185
9186 #. type: verbatim
9187 #: ../fish/guestfish-actions.pod:1549
9188 #, no-wrap
9189 msgid ""
9190 " get-path\n"
9191 "\n"
9192 msgstr ""
9193 " get-path\n"
9194 "\n"
9195
9196 #. type: textblock
9197 #: ../fish/guestfish-actions.pod:1551 ../src/guestfs-actions.pod:2487
9198 msgid "Return the current search path."
9199 msgstr ""
9200
9201 #. type: textblock
9202 #: ../fish/guestfish-actions.pod:1553 ../src/guestfs-actions.pod:2489
9203 msgid ""
9204 "This is always non-NULL.  If it wasn't set already, then this will return "
9205 "the default path."
9206 msgstr ""
9207
9208 #. type: =head2
9209 #: ../fish/guestfish-actions.pod:1556
9210 msgid "get-pgroup"
9211 msgstr ""
9212
9213 #. type: verbatim
9214 #: ../fish/guestfish-actions.pod:1558
9215 #, no-wrap
9216 msgid ""
9217 " get-pgroup\n"
9218 "\n"
9219 msgstr ""
9220
9221 #. type: textblock
9222 #: ../fish/guestfish-actions.pod:1560 ../src/guestfs-actions.pod:2502
9223 msgid "This returns the process group flag."
9224 msgstr ""
9225
9226 #. type: =head2
9227 #: ../fish/guestfish-actions.pod:1562
9228 msgid "get-pid"
9229 msgstr "get-pid"
9230
9231 #. type: =head2
9232 #: ../fish/guestfish-actions.pod:1564
9233 msgid "pid"
9234 msgstr "PID"
9235
9236 #. type: verbatim
9237 #: ../fish/guestfish-actions.pod:1566
9238 #, no-wrap
9239 msgid ""
9240 " get-pid\n"
9241 "\n"
9242 msgstr ""
9243 " get-pid\n"
9244 "\n"
9245
9246 #. type: textblock
9247 #: ../fish/guestfish-actions.pod:1568 ../src/guestfs-actions.pod:2513
9248 msgid ""
9249 "Return the process ID of the qemu subprocess.  If there is no qemu "
9250 "subprocess, then this will return an error."
9251 msgstr ""
9252
9253 #. type: textblock
9254 #: ../fish/guestfish-actions.pod:1571 ../src/guestfs-actions.pod:2516
9255 msgid "This is an internal call used for debugging and testing."
9256 msgstr ""
9257
9258 #. type: =head2
9259 #: ../fish/guestfish-actions.pod:1573
9260 msgid "get-qemu"
9261 msgstr "get-qemu"
9262
9263 #. type: verbatim
9264 #: ../fish/guestfish-actions.pod:1575
9265 #, no-wrap
9266 msgid ""
9267 " get-qemu\n"
9268 "\n"
9269 msgstr ""
9270 " get-qemu\n"
9271 "\n"
9272
9273 #. type: textblock
9274 #: ../fish/guestfish-actions.pod:1577 ../src/guestfs-actions.pod:2527
9275 msgid "Return the current qemu binary."
9276 msgstr ""
9277
9278 #. type: textblock
9279 #: ../fish/guestfish-actions.pod:1579 ../src/guestfs-actions.pod:2529
9280 msgid ""
9281 "This is always non-NULL.  If it wasn't set already, then this will return "
9282 "the default qemu binary name."
9283 msgstr ""
9284
9285 #. type: =head2
9286 #: ../fish/guestfish-actions.pod:1582
9287 msgid "get-recovery-proc"
9288 msgstr "get-recovery-proc"
9289
9290 #. type: verbatim
9291 #: ../fish/guestfish-actions.pod:1584
9292 #, no-wrap
9293 msgid ""
9294 " get-recovery-proc\n"
9295 "\n"
9296 msgstr ""
9297 " get-recovery-proc\n"
9298 "\n"
9299
9300 #. type: textblock
9301 #: ../fish/guestfish-actions.pod:1586 ../src/guestfs-actions.pod:2542
9302 msgid "Return the recovery process enabled flag."
9303 msgstr ""
9304
9305 #. type: =head2
9306 #: ../fish/guestfish-actions.pod:1588
9307 msgid "get-selinux"
9308 msgstr "get-selinux"
9309
9310 #. type: verbatim
9311 #: ../fish/guestfish-actions.pod:1590
9312 #, no-wrap
9313 msgid ""
9314 " get-selinux\n"
9315 "\n"
9316 msgstr ""
9317 " get-selinux\n"
9318 "\n"
9319
9320 #. type: textblock
9321 #: ../fish/guestfish-actions.pod:1592
9322 msgid ""
9323 "This returns the current setting of the selinux flag which is passed to the "
9324 "appliance at boot time.  See L</set-selinux>."
9325 msgstr ""
9326
9327 #. type: =head2
9328 #: ../fish/guestfish-actions.pod:1598
9329 msgid "get-smp"
9330 msgstr ""
9331
9332 #. type: verbatim
9333 #: ../fish/guestfish-actions.pod:1600
9334 #, no-wrap
9335 msgid ""
9336 " get-smp\n"
9337 "\n"
9338 msgstr ""
9339
9340 #. type: textblock
9341 #: ../fish/guestfish-actions.pod:1602 ../src/guestfs-actions.pod:2568
9342 msgid "This returns the number of virtual CPUs assigned to the appliance."
9343 msgstr ""
9344
9345 #. type: =head2
9346 #: ../fish/guestfish-actions.pod:1604
9347 msgid "get-state"
9348 msgstr "get-state"
9349
9350 #. type: verbatim
9351 #: ../fish/guestfish-actions.pod:1606
9352 #, no-wrap
9353 msgid ""
9354 " get-state\n"
9355 "\n"
9356 msgstr ""
9357 " get-state\n"
9358 "\n"
9359
9360 #. type: textblock
9361 #: ../fish/guestfish-actions.pod:1608 ../src/guestfs-actions.pod:2579
9362 msgid ""
9363 "This returns the current state as an opaque integer.  This is only useful "
9364 "for printing debug and internal error messages."
9365 msgstr ""
9366
9367 #. type: textblock
9368 #: ../fish/guestfish-actions.pod:1611 ../fish/guestfish-actions.pod:2570
9369 #: ../fish/guestfish-actions.pod:2588 ../fish/guestfish-actions.pod:2626
9370 #: ../fish/guestfish-actions.pod:2642 ../src/guestfs-actions.pod:2582
9371 #: ../src/guestfs-actions.pod:3901 ../src/guestfs-actions.pod:3930
9372 #: ../src/guestfs-actions.pod:3991 ../src/guestfs-actions.pod:4018
9373 msgid "For more information on states, see L<guestfs(3)>."
9374 msgstr ""
9375
9376 #. type: =head2
9377 #: ../fish/guestfish-actions.pod:1613
9378 msgid "get-trace"
9379 msgstr "get-trace"
9380
9381 #. type: verbatim
9382 #: ../fish/guestfish-actions.pod:1615
9383 #, no-wrap
9384 msgid ""
9385 " get-trace\n"
9386 "\n"
9387 msgstr ""
9388 " get-trace\n"
9389 "\n"
9390
9391 #. type: textblock
9392 #: ../fish/guestfish-actions.pod:1617 ../src/guestfs-actions.pod:2593
9393 msgid "Return the command trace flag."
9394 msgstr ""
9395
9396 #. type: =head2
9397 #: ../fish/guestfish-actions.pod:1619
9398 msgid "get-umask"
9399 msgstr "get-umask"
9400
9401 #. type: verbatim
9402 #: ../fish/guestfish-actions.pod:1621
9403 #, no-wrap
9404 msgid ""
9405 " get-umask\n"
9406 "\n"
9407 msgstr ""
9408 " get-umask\n"
9409 "\n"
9410
9411 #. type: textblock
9412 #: ../fish/guestfish-actions.pod:1623
9413 msgid ""
9414 "Return the current umask.  By default the umask is C<022> unless it has been "
9415 "set by calling L</umask>."
9416 msgstr ""
9417
9418 #. type: =head2
9419 #: ../fish/guestfish-actions.pod:1626
9420 msgid "get-verbose"
9421 msgstr "get-verbose"
9422
9423 #. type: verbatim
9424 #: ../fish/guestfish-actions.pod:1628
9425 #, no-wrap
9426 msgid ""
9427 " get-verbose\n"
9428 "\n"
9429 msgstr ""
9430 " get-verbose\n"
9431 "\n"
9432
9433 #. type: textblock
9434 #: ../fish/guestfish-actions.pod:1630 ../src/guestfs-actions.pod:2616
9435 msgid "This returns the verbose messages flag."
9436 msgstr ""
9437
9438 #. type: =head2
9439 #: ../fish/guestfish-actions.pod:1632
9440 msgid "getcon"
9441 msgstr "getcon"
9442
9443 #. type: verbatim
9444 #: ../fish/guestfish-actions.pod:1634
9445 #, no-wrap
9446 msgid ""
9447 " getcon\n"
9448 "\n"
9449 msgstr ""
9450 " getcon\n"
9451 "\n"
9452
9453 #. type: textblock
9454 #: ../fish/guestfish-actions.pod:1636 ../src/guestfs-actions.pod:2627
9455 msgid "This gets the SELinux security context of the daemon."
9456 msgstr ""
9457
9458 #. type: textblock
9459 #: ../fish/guestfish-actions.pod:1638
9460 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
9461 msgstr ""
9462
9463 #. type: =head2
9464 #: ../fish/guestfish-actions.pod:1641
9465 msgid "getxattr"
9466 msgstr "getxattr"
9467
9468 #. type: verbatim
9469 #: ../fish/guestfish-actions.pod:1643
9470 #, no-wrap
9471 msgid ""
9472 " getxattr path name\n"
9473 "\n"
9474 msgstr ""
9475 " getxattr шлях назва\n"
9476 "\n"
9477
9478 #. type: textblock
9479 #: ../fish/guestfish-actions.pod:1645
9480 msgid ""
9481 "Get a single extended attribute from file C<path> named C<name>.  This call "
9482 "follows symlinks.  If you want to lookup an extended attribute for the "
9483 "symlink itself, use L</lgetxattr>."
9484 msgstr ""
9485
9486 #. type: textblock
9487 #: ../fish/guestfish-actions.pod:1649 ../fish/guestfish-actions.pod:2715
9488 msgid ""
9489 "Normally it is better to get all extended attributes from a file in one go "
9490 "by calling L</getxattrs>.  However some Linux filesystem implementations are "
9491 "buggy and do not provide a way to list out attributes.  For these "
9492 "filesystems (notably ntfs-3g)  you have to know the names of the extended "
9493 "attributes you want in advance and call this function."
9494 msgstr ""
9495
9496 #. type: textblock
9497 #: ../fish/guestfish-actions.pod:1656 ../fish/guestfish-actions.pod:2722
9498 #: ../src/guestfs-actions.pod:2656 ../src/guestfs-actions.pod:4151
9499 msgid ""
9500 "Extended attribute values are blobs of binary data.  If there is no extended "
9501 "attribute named C<name>, this returns an error."
9502 msgstr ""
9503
9504 #. type: textblock
9505 #: ../fish/guestfish-actions.pod:1659
9506 msgid "See also: L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9507 msgstr "Див. також L</getxattrs>, L</lgetxattr>, L<attr(5)>."
9508
9509 #. type: =head2
9510 #: ../fish/guestfish-actions.pod:1661
9511 msgid "getxattrs"
9512 msgstr "getxattrs"
9513
9514 #. type: verbatim
9515 #: ../fish/guestfish-actions.pod:1663
9516 #, no-wrap
9517 msgid ""
9518 " getxattrs path\n"
9519 "\n"
9520 msgstr ""
9521 " getxattrs шлях\n"
9522 "\n"
9523
9524 #. type: textblock
9525 #: ../fish/guestfish-actions.pod:1665 ../src/guestfs-actions.pod:2673
9526 msgid ""
9527 "This call lists the extended attributes of the file or directory C<path>."
9528 msgstr ""
9529
9530 #. type: textblock
9531 #: ../fish/guestfish-actions.pod:1668 ../src/guestfs-actions.pod:2676
9532 msgid ""
9533 "At the system call level, this is a combination of the L<listxattr(2)> and "
9534 "L<getxattr(2)> calls."
9535 msgstr ""
9536
9537 #. type: textblock
9538 #: ../fish/guestfish-actions.pod:1671
9539 msgid "See also: L</lgetxattrs>, L<attr(5)>."
9540 msgstr "Див. також L</lgetxattrs>, L<attr(5)>."
9541
9542 #. type: =head2
9543 #: ../fish/guestfish-actions.pod:1673
9544 msgid "glob-expand"
9545 msgstr "glob-expand"
9546
9547 #. type: verbatim
9548 #: ../fish/guestfish-actions.pod:1675
9549 #, no-wrap
9550 msgid ""
9551 " glob-expand pattern\n"
9552 "\n"
9553 msgstr ""
9554 " glob-expand шаблон\n"
9555 "\n"
9556
9557 #. type: textblock
9558 #: ../fish/guestfish-actions.pod:1677 ../src/guestfs-actions.pod:2693
9559 msgid ""
9560 "This command searches for all the pathnames matching C<pattern> according to "
9561 "the wildcard expansion rules used by the shell."
9562 msgstr ""
9563
9564 #. type: textblock
9565 #: ../fish/guestfish-actions.pod:1681 ../src/guestfs-actions.pod:2697
9566 msgid ""
9567 "If no paths match, then this returns an empty list (note: not an error)."
9568 msgstr ""
9569
9570 #. type: textblock
9571 #: ../fish/guestfish-actions.pod:1684 ../src/guestfs-actions.pod:2700
9572 msgid ""
9573 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
9574 "GLOB_BRACE>.  See that manual page for more details."
9575 msgstr ""
9576
9577 #. type: =head2
9578 #: ../fish/guestfish-actions.pod:1688
9579 msgid "grep"
9580 msgstr "grep"
9581
9582 #. type: verbatim
9583 #: ../fish/guestfish-actions.pod:1690
9584 #, no-wrap
9585 msgid ""
9586 " grep regex path\n"
9587 "\n"
9588 msgstr ""
9589 " grepi формальний_вираз шлях\n"
9590 "\n"
9591
9592 #. type: textblock
9593 #: ../fish/guestfish-actions.pod:1692 ../src/guestfs-actions.pod:2717
9594 msgid "This calls the external C<grep> program and returns the matching lines."
9595 msgstr ""
9596
9597 #. type: =head2
9598 #: ../fish/guestfish-actions.pod:1698
9599 msgid "grepi"
9600 msgstr "grepi"
9601
9602 #. type: verbatim
9603 #: ../fish/guestfish-actions.pod:1700
9604 #, no-wrap
9605 msgid ""
9606 " grepi regex path\n"
9607 "\n"
9608 msgstr ""
9609 " grepi формальний_вираз шлях\n"
9610 "\n"
9611
9612 #. type: textblock
9613 #: ../fish/guestfish-actions.pod:1702 ../src/guestfs-actions.pod:2736
9614 msgid ""
9615 "This calls the external C<grep -i> program and returns the matching lines."
9616 msgstr ""
9617
9618 #. type: =head2
9619 #: ../fish/guestfish-actions.pod:1708
9620 msgid "grub-install"
9621 msgstr "grub-install"
9622
9623 #. type: verbatim
9624 #: ../fish/guestfish-actions.pod:1710
9625 #, no-wrap
9626 msgid ""
9627 " grub-install root device\n"
9628 "\n"
9629 msgstr ""
9630 " grub-install кореневий пристрій\n"
9631 "\n"
9632
9633 #. type: textblock
9634 #: ../fish/guestfish-actions.pod:1712 ../src/guestfs-actions.pod:2755
9635 msgid ""
9636 "This command installs GRUB 1 (the Grand Unified Bootloader) on C<device>, "
9637 "with the root directory being C<root>."
9638 msgstr ""
9639
9640 #. type: textblock
9641 #: ../fish/guestfish-actions.pod:1721 ../src/guestfs-actions.pod:2764
9642 msgid ""
9643 "There is currently no way in the API to install grub2, which is used by most "
9644 "modern Linux guests.  It is possible to run the grub2 command from the "
9645 "guest, although see the caveats in L<guestfs(3)/RUNNING COMMANDS>."
9646 msgstr ""
9647
9648 #. type: textblock
9649 #: ../fish/guestfish-actions.pod:1728 ../src/guestfs-actions.pod:2771
9650 msgid ""
9651 "This uses C<grub-install> from the host.  Unfortunately grub is not always "
9652 "compatible with itself, so this only works in rather narrow circumstances.  "
9653 "Careful testing with each guest version is advisable."
9654 msgstr ""
9655
9656 #. type: textblock
9657 #: ../fish/guestfish-actions.pod:1735 ../src/guestfs-actions.pod:2778
9658 msgid ""
9659 "If grub-install reports the error \"No suitable drive was found in the "
9660 "generated device map.\" it may be that you need to create a C</boot/grub/"
9661 "device.map> file first that contains the mapping between grub device names "
9662 "and Linux device names.  It is usually sufficient to create a file "
9663 "containing:"
9664 msgstr ""
9665
9666 #. type: verbatim
9667 #: ../fish/guestfish-actions.pod:1742 ../src/guestfs-actions.pod:2785
9668 #, no-wrap
9669 msgid ""
9670 " (hd0) /dev/vda\n"
9671 "\n"
9672 msgstr ""
9673
9674 #. type: textblock
9675 #: ../fish/guestfish-actions.pod:1744 ../src/guestfs-actions.pod:2787
9676 msgid "replacing C</dev/vda> with the name of the installation device."
9677 msgstr ""
9678
9679 #. type: =head2
9680 #: ../fish/guestfish-actions.pod:1748
9681 msgid "head"
9682 msgstr "head"
9683
9684 #. type: verbatim
9685 #: ../fish/guestfish-actions.pod:1750
9686 #, no-wrap
9687 msgid ""
9688 " head path\n"
9689 "\n"
9690 msgstr ""
9691 " head шлях\n"
9692 "\n"
9693
9694 #. type: textblock
9695 #: ../fish/guestfish-actions.pod:1752 ../src/guestfs-actions.pod:2801
9696 msgid ""
9697 "This command returns up to the first 10 lines of a file as a list of strings."
9698 msgstr ""
9699
9700 #. type: =head2
9701 #: ../fish/guestfish-actions.pod:1758
9702 msgid "head-n"
9703 msgstr "head-n"
9704
9705 #. type: verbatim
9706 #: ../fish/guestfish-actions.pod:1760
9707 #, no-wrap
9708 msgid ""
9709 " head-n nrlines path\n"
9710 "\n"
9711 msgstr ""
9712
9713 #. type: textblock
9714 #: ../fish/guestfish-actions.pod:1762 ../src/guestfs-actions.pod:2820
9715 msgid ""
9716 "If the parameter C<nrlines> is a positive number, this returns the first "
9717 "C<nrlines> lines of the file C<path>."
9718 msgstr ""
9719
9720 #. type: textblock
9721 #: ../fish/guestfish-actions.pod:1765 ../src/guestfs-actions.pod:2823
9722 msgid ""
9723 "If the parameter C<nrlines> is a negative number, this returns lines from "
9724 "the file C<path>, excluding the last C<nrlines> lines."
9725 msgstr ""
9726
9727 #. type: textblock
9728 #: ../fish/guestfish-actions.pod:1768 ../fish/guestfish-actions.pod:4843
9729 #: ../src/guestfs-actions.pod:2826 ../src/guestfs-actions.pod:7460
9730 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
9731 msgstr ""
9732
9733 #. type: =head2
9734 #: ../fish/guestfish-actions.pod:1773
9735 msgid "hexdump"
9736 msgstr "hexdump"
9737
9738 #. type: verbatim
9739 #: ../fish/guestfish-actions.pod:1775
9740 #, no-wrap
9741 msgid ""
9742 " hexdump path\n"
9743 "\n"
9744 msgstr ""
9745 " hexdump шлях\n"
9746 "\n"
9747
9748 #. type: textblock
9749 #: ../fish/guestfish-actions.pod:1777 ../src/guestfs-actions.pod:2843
9750 msgid ""
9751 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
9752 "readable, canonical hex dump of the file."
9753 msgstr ""
9754
9755 #. type: =head2
9756 #: ../fish/guestfish-actions.pod:1783
9757 msgid "initrd-cat"
9758 msgstr "initrd-cat"
9759
9760 #. type: verbatim
9761 #: ../fish/guestfish-actions.pod:1785
9762 #, no-wrap
9763 msgid ""
9764 " initrd-cat initrdpath filename\n"
9765 "\n"
9766 msgstr ""
9767 " initrd-cat шлях_initrd назва_файла\n"
9768 "\n"
9769
9770 #. type: textblock
9771 #: ../fish/guestfish-actions.pod:1787 ../src/guestfs-actions.pod:2862
9772 msgid ""
9773 "This command unpacks the file C<filename> from the initrd file called "
9774 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
9775 "character."
9776 msgstr ""
9777
9778 #. type: textblock
9779 #: ../fish/guestfish-actions.pod:1791 ../src/guestfs-actions.pod:2866
9780 msgid ""
9781 "For example, in guestfish you could use the following command to examine the "
9782 "boot script (usually called C</init>)  contained in a Linux initrd or "
9783 "initramfs image:"
9784 msgstr ""
9785
9786 #. type: verbatim
9787 #: ../fish/guestfish-actions.pod:1795 ../src/guestfs-actions.pod:2870
9788 #, no-wrap
9789 msgid ""
9790 " initrd-cat /boot/initrd-<version>.img init\n"
9791 "\n"
9792 msgstr ""
9793
9794 #. type: textblock
9795 #: ../fish/guestfish-actions.pod:1797
9796 msgid "See also L</initrd-list>."
9797 msgstr "Див. також L</initrd-list>."
9798
9799 #. type: =head2
9800 #: ../fish/guestfish-actions.pod:1802
9801 msgid "initrd-list"
9802 msgstr "initrd-list"
9803
9804 #. type: verbatim
9805 #: ../fish/guestfish-actions.pod:1804
9806 #, no-wrap
9807 msgid ""
9808 " initrd-list path\n"
9809 "\n"
9810 msgstr ""
9811 " initrd-list шлях\n"
9812 "\n"
9813
9814 #. type: textblock
9815 #: ../fish/guestfish-actions.pod:1806 ../src/guestfs-actions.pod:2889
9816 msgid "This command lists out files contained in an initrd."
9817 msgstr ""
9818
9819 #. type: textblock
9820 #: ../fish/guestfish-actions.pod:1808 ../src/guestfs-actions.pod:2891
9821 msgid ""
9822 "The files are listed without any initial C</> character.  The files are "
9823 "listed in the order they appear (not necessarily alphabetical).  Directory "
9824 "names are listed as separate items."
9825 msgstr ""
9826
9827 #. type: textblock
9828 #: ../fish/guestfish-actions.pod:1812 ../src/guestfs-actions.pod:2895
9829 msgid ""
9830 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
9831 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
9832 "files)."
9833 msgstr ""
9834
9835 #. type: =head2
9836 #: ../fish/guestfish-actions.pod:1816
9837 msgid "inotify-add-watch"
9838 msgstr "inotify-add-watch"
9839
9840 #. type: verbatim
9841 #: ../fish/guestfish-actions.pod:1818
9842 #, no-wrap
9843 msgid ""
9844 " inotify-add-watch path mask\n"
9845 "\n"
9846 msgstr ""
9847 " inotify-add-watch шлях маска\n"
9848 "\n"
9849
9850 #. type: textblock
9851 #: ../fish/guestfish-actions.pod:1820 ../src/guestfs-actions.pod:2912
9852 msgid "Watch C<path> for the events listed in C<mask>."
9853 msgstr ""
9854
9855 #. type: textblock
9856 #: ../fish/guestfish-actions.pod:1822 ../src/guestfs-actions.pod:2914
9857 msgid ""
9858 "Note that if C<path> is a directory then events within that directory are "
9859 "watched, but this does I<not> happen recursively (in subdirectories)."
9860 msgstr ""
9861
9862 #. type: textblock
9863 #: ../fish/guestfish-actions.pod:1826 ../src/guestfs-actions.pod:2918
9864 msgid ""
9865 "Note for non-C or non-Linux callers: the inotify events are defined by the "
9866 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
9867 msgstr ""
9868
9869 #. type: =head2
9870 #: ../fish/guestfish-actions.pod:1830
9871 msgid "inotify-close"
9872 msgstr "inotify-close"
9873
9874 #. type: verbatim
9875 #: ../fish/guestfish-actions.pod:1832
9876 #, no-wrap
9877 msgid ""
9878 " inotify-close\n"
9879 "\n"
9880 msgstr ""
9881 " inotify-close\n"
9882 "\n"
9883
9884 #. type: textblock
9885 #: ../fish/guestfish-actions.pod:1834 ../src/guestfs-actions.pod:2931
9886 msgid ""
9887 "This closes the inotify handle which was previously opened by inotify_init.  "
9888 "It removes all watches, throws away any pending events, and deallocates all "
9889 "resources."
9890 msgstr ""
9891
9892 #. type: =head2
9893 #: ../fish/guestfish-actions.pod:1838
9894 msgid "inotify-files"
9895 msgstr "inotify-files"
9896
9897 #. type: verbatim
9898 #: ../fish/guestfish-actions.pod:1840
9899 #, no-wrap
9900 msgid ""
9901 " inotify-files\n"
9902 "\n"
9903 msgstr ""
9904 " inotify-files\n"
9905 "\n"
9906
9907 #. type: textblock
9908 #: ../fish/guestfish-actions.pod:1842
9909 msgid ""
9910 "This function is a helpful wrapper around L</inotify-read> which just "
9911 "returns a list of pathnames of objects that were touched.  The returned "
9912 "pathnames are sorted and deduplicated."
9913 msgstr ""
9914
9915 #. type: =head2
9916 #: ../fish/guestfish-actions.pod:1846
9917 msgid "inotify-init"
9918 msgstr "inotify-init"
9919
9920 #. type: verbatim
9921 #: ../fish/guestfish-actions.pod:1848
9922 #, no-wrap
9923 msgid ""
9924 " inotify-init maxevents\n"
9925 "\n"
9926 msgstr ""
9927
9928 #. type: textblock
9929 #: ../fish/guestfish-actions.pod:1850 ../src/guestfs-actions.pod:2960
9930 msgid ""
9931 "This command creates a new inotify handle.  The inotify subsystem can be "
9932 "used to notify events which happen to objects in the guest filesystem."
9933 msgstr ""
9934
9935 #. type: textblock
9936 #: ../fish/guestfish-actions.pod:1854
9937 msgid ""
9938 "C<maxevents> is the maximum number of events which will be queued up between "
9939 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
9940 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
9941 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
9942 "but records the fact that it threw them away by setting a flag "
9943 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
9944 msgstr ""
9945
9946 #. type: textblock
9947 #: ../fish/guestfish-actions.pod:1864
9948 msgid ""
9949 "Before any events are generated, you have to add some watches to the "
9950 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
9951 "L</inotify-watch-all>."
9952 msgstr ""
9953
9954 #. type: textblock
9955 #: ../fish/guestfish-actions.pod:1870
9956 msgid ""
9957 "Queued up events should be read periodically by calling L</inotify-read> (or "
9958 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
9959 "If you don't read the events out often enough then you risk the internal "
9960 "queue overflowing."
9961 msgstr ""
9962
9963 #. type: textblock
9964 #: ../fish/guestfish-actions.pod:1877
9965 msgid ""
9966 "The handle should be closed after use by calling L</inotify-close>.  This "
9967 "also removes any watches automatically."
9968 msgstr ""
9969
9970 #. type: textblock
9971 #: ../fish/guestfish-actions.pod:1881 ../src/guestfs-actions.pod:2991
9972 msgid ""
9973 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
9974 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
9975 "that there is one global inotify handle per libguestfs instance."
9976 msgstr ""
9977
9978 #. type: =head2
9979 #: ../fish/guestfish-actions.pod:1886
9980 msgid "inotify-read"
9981 msgstr "inotify-read"
9982
9983 #. type: verbatim
9984 #: ../fish/guestfish-actions.pod:1888
9985 #, no-wrap
9986 msgid ""
9987 " inotify-read\n"
9988 "\n"
9989 msgstr ""
9990 " inotify-read\n"
9991 "\n"
9992
9993 #. type: textblock
9994 #: ../fish/guestfish-actions.pod:1890 ../src/guestfs-actions.pod:3005
9995 msgid ""
9996 "Return the complete queue of events that have happened since the previous "
9997 "read call."
9998 msgstr ""
9999
10000 #. type: textblock
10001 #: ../fish/guestfish-actions.pod:1893 ../src/guestfs-actions.pod:3008
10002 msgid "If no events have happened, this returns an empty list."
10003 msgstr ""
10004
10005 #. type: textblock
10006 #: ../fish/guestfish-actions.pod:1895 ../src/guestfs-actions.pod:3010
10007 msgid ""
10008 "I<Note>: In order to make sure that all events have been read, you must call "
10009 "this function repeatedly until it returns an empty list.  The reason is that "
10010 "the call will read events up to the maximum appliance-to-host message size "
10011 "and leave remaining events in the queue."
10012 msgstr ""
10013
10014 #. type: =head2
10015 #: ../fish/guestfish-actions.pod:1901
10016 msgid "inotify-rm-watch"
10017 msgstr "inotify-rm-watch"
10018
10019 #. type: verbatim
10020 #: ../fish/guestfish-actions.pod:1903
10021 #, no-wrap
10022 msgid ""
10023 " inotify-rm-watch wd\n"
10024 "\n"
10025 msgstr ""
10026
10027 #. type: textblock
10028 #: ../fish/guestfish-actions.pod:1905
10029 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
10030 msgstr ""
10031
10032 #. type: =head2
10033 #: ../fish/guestfish-actions.pod:1908
10034 msgid "inspect-get-arch"
10035 msgstr "inspect-get-arch"
10036
10037 #. type: verbatim
10038 #: ../fish/guestfish-actions.pod:1910
10039 #, no-wrap
10040 msgid ""
10041 " inspect-get-arch root\n"
10042 "\n"
10043 msgstr ""
10044 " inspect-get-arch корінь\n"
10045 "\n"
10046
10047 #. type: textblock
10048 #: ../fish/guestfish-actions.pod:1912
10049 msgid ""
10050 "This returns the architecture of the inspected operating system.  The "
10051 "possible return values are listed under L</file-architecture>."
10052 msgstr ""
10053
10054 #. type: textblock
10055 #: ../fish/guestfish-actions.pod:1916 ../src/guestfs-actions.pod:3045
10056 msgid ""
10057 "If the architecture could not be determined, then the string C<unknown> is "
10058 "returned."
10059 msgstr ""
10060
10061 #. type: textblock
10062 #: ../fish/guestfish-actions.pod:1919 ../fish/guestfish-actions.pod:2014
10063 #: ../fish/guestfish-actions.pod:2093 ../fish/guestfish-actions.pod:2105
10064 #: ../fish/guestfish-actions.pod:2189 ../fish/guestfish-actions.pod:2251
10065 #: ../fish/guestfish-actions.pod:2272 ../fish/guestfish-actions.pod:2286
10066 #: ../fish/guestfish-actions.pod:2326 ../fish/guestfish-actions.pod:2362
10067 #: ../fish/guestfish-actions.pod:2375 ../fish/guestfish-actions.pod:2388
10068 #: ../fish/guestfish-actions.pod:2398 ../fish/guestfish-actions.pod:2408
10069 #: ../fish/guestfish-actions.pod:2420 ../fish/guestfish-actions.pod:2516
10070 #: ../fish/guestfish-actions.pod:2550 ../src/guestfs-actions.pod:3048
10071 #: ../src/guestfs-actions.pod:3150 ../src/guestfs-actions.pod:3254
10072 #: ../src/guestfs-actions.pod:3273 ../src/guestfs-actions.pod:3404
10073 #: ../src/guestfs-actions.pod:3488 ../src/guestfs-actions.pod:3516
10074 #: ../src/guestfs-actions.pod:3537 ../src/guestfs-actions.pod:3590
10075 #: ../src/guestfs-actions.pod:3634 ../src/guestfs-actions.pod:3654
10076 #: ../src/guestfs-actions.pod:3674 ../src/guestfs-actions.pod:3691
10077 #: ../src/guestfs-actions.pod:3707 ../src/guestfs-actions.pod:3725
10078 #: ../src/guestfs-actions.pod:3827 ../src/guestfs-actions.pod:3868
10079 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
10080 msgstr ""
10081
10082 #. type: =head2
10083 #: ../fish/guestfish-actions.pod:1921
10084 msgid "inspect-get-distro"
10085 msgstr "inspect-get-distro"
10086
10087 #. type: verbatim
10088 #: ../fish/guestfish-actions.pod:1923
10089 #, no-wrap
10090 msgid ""
10091 " inspect-get-distro root\n"
10092 "\n"
10093 msgstr ""
10094 " inspect-get-distro корінь\n"
10095 "\n"
10096
10097 #. type: textblock
10098 #: ../fish/guestfish-actions.pod:1925 ../src/guestfs-actions.pod:3061
10099 msgid ""
10100 "This returns the distro (distribution) of the inspected operating system."
10101 msgstr ""
10102
10103 #. type: textblock
10104 #: ../fish/guestfish-actions.pod:1928 ../src/guestfs-actions.pod:3064
10105 msgid "Currently defined distros are:"
10106 msgstr ""
10107
10108 #. type: =item
10109 #: ../fish/guestfish-actions.pod:1932 ../src/guestfs-actions.pod:3068
10110 msgid "\"archlinux\""
10111 msgstr "\"archlinux\""
10112
10113 #. type: textblock
10114 #: ../fish/guestfish-actions.pod:1934 ../src/guestfs-actions.pod:3070
10115 msgid "Arch Linux."
10116 msgstr "Arch Linux."
10117
10118 #. type: =item
10119 #: ../fish/guestfish-actions.pod:1936 ../src/guestfs-actions.pod:3072
10120 msgid "\"centos\""
10121 msgstr ""
10122
10123 #. type: textblock
10124 #: ../fish/guestfish-actions.pod:1938 ../src/guestfs-actions.pod:3074
10125 msgid "CentOS."
10126 msgstr ""
10127
10128 #. type: =item
10129 #: ../fish/guestfish-actions.pod:1940 ../src/guestfs-actions.pod:3076
10130 msgid "\"debian\""
10131 msgstr "\"debian\""
10132
10133 #. type: textblock
10134 #: ../fish/guestfish-actions.pod:1942 ../src/guestfs-actions.pod:3078
10135 msgid "Debian."
10136 msgstr "Debian."
10137
10138 #. type: =item
10139 #: ../fish/guestfish-actions.pod:1944 ../src/guestfs-actions.pod:3080
10140 msgid "\"fedora\""
10141 msgstr "\"fedora\""
10142
10143 #. type: textblock
10144 #: ../fish/guestfish-actions.pod:1946 ../src/guestfs-actions.pod:3082
10145 msgid "Fedora."
10146 msgstr "Fedora."
10147
10148 #. type: =item
10149 #: ../fish/guestfish-actions.pod:1948 ../src/guestfs-actions.pod:3084
10150 msgid "\"gentoo\""
10151 msgstr "\"gentoo\""
10152
10153 #. type: textblock
10154 #: ../fish/guestfish-actions.pod:1950 ../src/guestfs-actions.pod:3086
10155 msgid "Gentoo."
10156 msgstr "Gentoo."
10157
10158 #. type: =item
10159 #: ../fish/guestfish-actions.pod:1952 ../src/guestfs-actions.pod:3088
10160 msgid "\"linuxmint\""
10161 msgstr "\"linuxmint\""
10162
10163 #. type: textblock
10164 #: ../fish/guestfish-actions.pod:1954 ../src/guestfs-actions.pod:3090
10165 msgid "Linux Mint."
10166 msgstr "Linux Mint."
10167
10168 #. type: =item
10169 #: ../fish/guestfish-actions.pod:1956 ../src/guestfs-actions.pod:3092
10170 msgid "\"mageia\""
10171 msgstr ""
10172
10173 #. type: textblock
10174 #: ../fish/guestfish-actions.pod:1958 ../src/guestfs-actions.pod:3094
10175 msgid "Mageia."
10176 msgstr ""
10177
10178 #. type: =item
10179 #: ../fish/guestfish-actions.pod:1960 ../src/guestfs-actions.pod:3096
10180 msgid "\"mandriva\""
10181 msgstr "\"mandriva\""
10182
10183 #. type: textblock
10184 #: ../fish/guestfish-actions.pod:1962 ../src/guestfs-actions.pod:3098
10185 msgid "Mandriva."
10186 msgstr "Mandriva."
10187
10188 #. type: =item
10189 #: ../fish/guestfish-actions.pod:1964 ../src/guestfs-actions.pod:3100
10190 msgid "\"meego\""
10191 msgstr "\"meego\""
10192
10193 #. type: textblock
10194 #: ../fish/guestfish-actions.pod:1966 ../src/guestfs-actions.pod:3102
10195 msgid "MeeGo."
10196 msgstr "MeeGo."
10197
10198 #. type: =item
10199 #: ../fish/guestfish-actions.pod:1968 ../src/guestfs-actions.pod:3104
10200 msgid "\"opensuse\""
10201 msgstr ""
10202
10203 #. type: textblock
10204 #: ../fish/guestfish-actions.pod:1970 ../src/guestfs-actions.pod:3106
10205 msgid "OpenSUSE."
10206 msgstr ""
10207
10208 #. type: =item
10209 #: ../fish/guestfish-actions.pod:1972 ../src/guestfs-actions.pod:3108
10210 msgid "\"pardus\""
10211 msgstr "\"pardus\""
10212
10213 #. type: textblock
10214 #: ../fish/guestfish-actions.pod:1974 ../src/guestfs-actions.pod:3110
10215 msgid "Pardus."
10216 msgstr "Pardus."
10217
10218 #. type: =item
10219 #: ../fish/guestfish-actions.pod:1976 ../src/guestfs-actions.pod:3112
10220 msgid "\"redhat-based\""
10221 msgstr "\"redhat-based\""
10222
10223 #. type: textblock
10224 #: ../fish/guestfish-actions.pod:1978 ../src/guestfs-actions.pod:3114
10225 msgid "Some Red Hat-derived distro."
10226 msgstr "Дистрибутив, що походить від Red Hat."
10227
10228 #. type: =item
10229 #: ../fish/guestfish-actions.pod:1980 ../src/guestfs-actions.pod:3116
10230 msgid "\"rhel\""
10231 msgstr "\"rhel\""
10232
10233 #. type: textblock
10234 #: ../fish/guestfish-actions.pod:1982 ../src/guestfs-actions.pod:3118
10235 msgid "Red Hat Enterprise Linux."
10236 msgstr "Red Hat Enterprise Linux."
10237
10238 #. type: =item
10239 #: ../fish/guestfish-actions.pod:1984 ../src/guestfs-actions.pod:3120
10240 msgid "\"scientificlinux\""
10241 msgstr "\"scientificlinux\""
10242
10243 #. type: textblock
10244 #: ../fish/guestfish-actions.pod:1986 ../src/guestfs-actions.pod:3122
10245 msgid "Scientific Linux."
10246 msgstr "Scientific Linux."
10247
10248 #. type: =item
10249 #: ../fish/guestfish-actions.pod:1988 ../src/guestfs-actions.pod:3124
10250 msgid "\"slackware\""
10251 msgstr "\"slackware\""
10252
10253 #. type: textblock
10254 #: ../fish/guestfish-actions.pod:1990 ../src/guestfs-actions.pod:3126
10255 msgid "Slackware."
10256 msgstr "Slackware."
10257
10258 #. type: =item
10259 #: ../fish/guestfish-actions.pod:1992 ../src/guestfs-actions.pod:3128
10260 msgid "\"ttylinux\""
10261 msgstr ""
10262
10263 #. type: textblock
10264 #: ../fish/guestfish-actions.pod:1994 ../src/guestfs-actions.pod:3130
10265 msgid "ttylinux."
10266 msgstr ""
10267
10268 #. type: =item
10269 #: ../fish/guestfish-actions.pod:1996 ../src/guestfs-actions.pod:3132
10270 msgid "\"ubuntu\""
10271 msgstr "\"ubuntu\""
10272
10273 #. type: textblock
10274 #: ../fish/guestfish-actions.pod:1998 ../src/guestfs-actions.pod:3134
10275 msgid "Ubuntu."
10276 msgstr "Ubuntu."
10277
10278 #. type: =item
10279 #: ../fish/guestfish-actions.pod:2000 ../fish/guestfish-actions.pod:2084
10280 #: ../fish/guestfish-actions.pod:2353 ../src/guestfs-actions.pod:3136
10281 #: ../src/guestfs-actions.pod:3245 ../src/guestfs-actions.pod:3625
10282 msgid "\"unknown\""
10283 msgstr "\"unknown\""
10284
10285 #. type: textblock
10286 #: ../fish/guestfish-actions.pod:2002 ../src/guestfs-actions.pod:3138
10287 msgid "The distro could not be determined."
10288 msgstr "Дистрибутив, тип якого не вдалося визначити."
10289
10290 #. type: =item
10291 #: ../fish/guestfish-actions.pod:2004 ../fish/guestfish-actions.pod:2341
10292 #: ../src/guestfs-actions.pod:3140 ../src/guestfs-actions.pod:3613
10293 msgid "\"windows\""
10294 msgstr "\"windows\""
10295
10296 #. type: textblock
10297 #: ../fish/guestfish-actions.pod:2006 ../src/guestfs-actions.pod:3142
10298 msgid ""
10299 "Windows does not have distributions.  This string is returned if the OS type "
10300 "is Windows."
10301 msgstr ""
10302
10303 #. type: textblock
10304 #: ../fish/guestfish-actions.pod:2011 ../fish/guestfish-actions.pod:2090
10305 #: ../fish/guestfish-actions.pod:2359 ../src/guestfs-actions.pod:3147
10306 #: ../src/guestfs-actions.pod:3251 ../src/guestfs-actions.pod:3631
10307 msgid ""
10308 "Future versions of libguestfs may return other strings here.  The caller "
10309 "should be prepared to handle any string."
10310 msgstr ""
10311
10312 #. type: =head2
10313 #: ../fish/guestfish-actions.pod:2016
10314 msgid "inspect-get-drive-mappings"
10315 msgstr ""
10316
10317 #. type: verbatim
10318 #: ../fish/guestfish-actions.pod:2018
10319 #, no-wrap
10320 msgid ""
10321 " inspect-get-drive-mappings root\n"
10322 "\n"
10323 msgstr ""
10324
10325 #. type: textblock
10326 #: ../fish/guestfish-actions.pod:2020 ../src/guestfs-actions.pod:3163
10327 msgid ""
10328 "This call is useful for Windows which uses a primitive system of assigning "
10329 "drive letters (like \"C:\") to partitions.  This inspection API examines the "
10330 "Windows Registry to find out how disks/partitions are mapped to drive "
10331 "letters, and returns a hash table as in the example below:"
10332 msgstr ""
10333
10334 #. type: verbatim
10335 #: ../fish/guestfish-actions.pod:2026 ../src/guestfs-actions.pod:3169
10336 #, no-wrap
10337 msgid ""
10338 " C      =>     /dev/vda2\n"
10339 " E      =>     /dev/vdb1\n"
10340 " F      =>     /dev/vdc1\n"
10341 "\n"
10342 msgstr ""
10343
10344 #. type: textblock
10345 #: ../fish/guestfish-actions.pod:2030 ../src/guestfs-actions.pod:3173
10346 msgid ""
10347 "Note that keys are drive letters.  For Windows, the key is case insensitive "
10348 "and just contains the drive letter, without the customary colon separator "
10349 "character."
10350 msgstr ""
10351
10352 #. type: textblock
10353 #: ../fish/guestfish-actions.pod:2034 ../src/guestfs-actions.pod:3177
10354 msgid ""
10355 "In future we may support other operating systems that also used drive "
10356 "letters, but the keys for those might not be case insensitive and might be "
10357 "longer than 1 character.  For example in OS-9, hard drives were named C<h0>, "
10358 "C<h1> etc."
10359 msgstr ""
10360
10361 #. type: textblock
10362 #: ../fish/guestfish-actions.pod:2039 ../src/guestfs-actions.pod:3182
10363 msgid ""
10364 "For Windows guests, currently only hard drive mappings are returned.  "
10365 "Removable disks (eg. DVD-ROMs) are ignored."
10366 msgstr ""
10367
10368 #. type: textblock
10369 #: ../fish/guestfish-actions.pod:2042 ../src/guestfs-actions.pod:3185
10370 msgid ""
10371 "For guests that do not use drive mappings, or if the drive mappings could "
10372 "not be determined, this returns an empty hash table."
10373 msgstr ""
10374
10375 #. type: textblock
10376 #: ../fish/guestfish-actions.pod:2045
10377 msgid ""
10378 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10379 "get-mountpoints>, L</inspect-get-filesystems>."
10380 msgstr ""
10381
10382 #. type: =head2
10383 #: ../fish/guestfish-actions.pod:2049
10384 msgid "inspect-get-filesystems"
10385 msgstr "inspect-get-filesystems"
10386
10387 #. type: verbatim
10388 #: ../fish/guestfish-actions.pod:2051
10389 #, no-wrap
10390 msgid ""
10391 " inspect-get-filesystems root\n"
10392 "\n"
10393 msgstr ""
10394 " inspect-get-filesystems корінь\n"
10395 "\n"
10396
10397 #. type: textblock
10398 #: ../fish/guestfish-actions.pod:2053 ../src/guestfs-actions.pod:3206
10399 msgid ""
10400 "This returns a list of all the filesystems that we think are associated with "
10401 "this operating system.  This includes the root filesystem, other ordinary "
10402 "filesystems, and non-mounted devices like swap partitions."
10403 msgstr ""
10404
10405 #. type: textblock
10406 #: ../fish/guestfish-actions.pod:2058 ../src/guestfs-actions.pod:3211
10407 msgid ""
10408 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
10409 "to be shared between operating systems."
10410 msgstr ""
10411
10412 #. type: textblock
10413 #: ../fish/guestfish-actions.pod:2061
10414 msgid ""
10415 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10416 "get-mountpoints>."
10417 msgstr ""
10418
10419 #. type: =head2
10420 #: ../fish/guestfish-actions.pod:2064
10421 msgid "inspect-get-format"
10422 msgstr "inspect-get-format"
10423
10424 #. type: verbatim
10425 #: ../fish/guestfish-actions.pod:2066
10426 #, no-wrap
10427 msgid ""
10428 " inspect-get-format root\n"
10429 "\n"
10430 msgstr ""
10431 " inspect-get-format корінь\n"
10432 "\n"
10433
10434 #. type: textblock
10435 #: ../fish/guestfish-actions.pod:2068 ../src/guestfs-actions.pod:3229
10436 msgid ""
10437 "This returns the format of the inspected operating system.  You can use it "
10438 "to detect install images, live CDs and similar."
10439 msgstr ""
10440
10441 #. type: textblock
10442 #: ../fish/guestfish-actions.pod:2071 ../src/guestfs-actions.pod:3232
10443 msgid "Currently defined formats are:"
10444 msgstr ""
10445
10446 #. type: =item
10447 #: ../fish/guestfish-actions.pod:2075 ../src/guestfs-actions.pod:3236
10448 msgid "\"installed\""
10449 msgstr "\"installed\""
10450
10451 #. type: textblock
10452 #: ../fish/guestfish-actions.pod:2077 ../src/guestfs-actions.pod:3238
10453 msgid "This is an installed operating system."
10454 msgstr "Це встановлена операційна система."
10455
10456 #. type: =item
10457 #: ../fish/guestfish-actions.pod:2079 ../src/guestfs-actions.pod:3240
10458 msgid "\"installer\""
10459 msgstr ""
10460
10461 #. type: textblock
10462 #: ../fish/guestfish-actions.pod:2081 ../src/guestfs-actions.pod:3242
10463 msgid ""
10464 "The disk image being inspected is not an installed operating system, but a "
10465 "I<bootable> install disk, live CD, or similar."
10466 msgstr ""
10467
10468 #. type: textblock
10469 #: ../fish/guestfish-actions.pod:2086 ../src/guestfs-actions.pod:3247
10470 msgid "The format of this disk image is not known."
10471 msgstr ""
10472
10473 #. type: =head2
10474 #: ../fish/guestfish-actions.pod:2095
10475 msgid "inspect-get-hostname"
10476 msgstr "inspect-get-hostname"
10477
10478 #. type: verbatim
10479 #: ../fish/guestfish-actions.pod:2097
10480 #, no-wrap
10481 msgid ""
10482 " inspect-get-hostname root\n"
10483 "\n"
10484 msgstr ""
10485 " inspect-get-hostname корінь\n"
10486 "\n"
10487
10488 #. type: textblock
10489 #: ../fish/guestfish-actions.pod:2099 ../src/guestfs-actions.pod:3267
10490 msgid ""
10491 "This function returns the hostname of the operating system as found by "
10492 "inspection of the guest's configuration files."
10493 msgstr ""
10494
10495 #. type: textblock
10496 #: ../fish/guestfish-actions.pod:2102 ../src/guestfs-actions.pod:3270
10497 msgid ""
10498 "If the hostname could not be determined, then the string C<unknown> is "
10499 "returned."
10500 msgstr ""
10501
10502 #. type: =head2
10503 #: ../fish/guestfish-actions.pod:2107
10504 msgid "inspect-get-icon"
10505 msgstr ""
10506
10507 #. type: verbatim
10508 #: ../fish/guestfish-actions.pod:2109
10509 #, no-wrap
10510 msgid ""
10511 " inspect-get-icon root [favicon:true|false] [highquality:true|false]\n"
10512 "\n"
10513 msgstr ""
10514
10515 #. type: textblock
10516 #: ../fish/guestfish-actions.pod:2111 ../src/guestfs-actions.pod:3296
10517 msgid ""
10518 "This function returns an icon corresponding to the inspected operating "
10519 "system.  The icon is returned as a buffer containing a PNG image (re-encoded "
10520 "to PNG if necessary)."
10521 msgstr ""
10522
10523 #. type: textblock
10524 #: ../fish/guestfish-actions.pod:2115 ../src/guestfs-actions.pod:3300
10525 msgid ""
10526 "If it was not possible to get an icon this function returns a zero-length "
10527 "(non-NULL) buffer.  I<Callers must check for this case>."
10528 msgstr ""
10529
10530 #. type: textblock
10531 #: ../fish/guestfish-actions.pod:2118 ../src/guestfs-actions.pod:3303
10532 msgid ""
10533 "Libguestfs will start by looking for a file called C</etc/favicon.png> or "
10534 "C<C:\\etc\\favicon.png> and if it has the correct format, the contents of "
10535 "this file will be returned.  You can disable favicons by passing the "
10536 "optional C<favicon> boolean as false (default is true)."
10537 msgstr ""
10538
10539 #. type: textblock
10540 #: ../fish/guestfish-actions.pod:2124 ../src/guestfs-actions.pod:3309
10541 msgid ""
10542 "If finding the favicon fails, then we look in other places in the guest for "
10543 "a suitable icon."
10544 msgstr ""
10545
10546 #. type: textblock
10547 #: ../fish/guestfish-actions.pod:2127 ../src/guestfs-actions.pod:3312
10548 msgid ""
10549 "If the optional C<highquality> boolean is true then only high quality icons "
10550 "are returned, which means only icons of high resolution with an alpha "
10551 "channel.  The default (false) is to return any icon we can, even if it is of "
10552 "substandard quality."
10553 msgstr ""
10554
10555 #. type: textblock
10556 #: ../fish/guestfish-actions.pod:2138 ../src/guestfs-actions.pod:3323
10557 msgid ""
10558 "Unlike most other inspection API calls, the guest's disks must be mounted up "
10559 "before you call this, since it needs to read information from the guest "
10560 "filesystem during the call."
10561 msgstr ""
10562
10563 #. type: textblock
10564 #: ../fish/guestfish-actions.pod:2144 ../src/guestfs-actions.pod:3329
10565 msgid ""
10566 "B<Security:> The icon data comes from the untrusted guest, and should be "
10567 "treated with caution.  PNG files have been known to contain exploits.  "
10568 "Ensure that libpng (or other relevant libraries) are fully up to date before "
10569 "trying to process or display the icon."
10570 msgstr ""
10571
10572 #. type: textblock
10573 #: ../fish/guestfish-actions.pod:2152 ../src/guestfs-actions.pod:3337
10574 msgid ""
10575 "The PNG image returned can be any size.  It might not be square.  Libguestfs "
10576 "tries to return the largest, highest quality icon available.  The "
10577 "application must scale the icon to the required size."
10578 msgstr ""
10579
10580 #. type: textblock
10581 #: ../fish/guestfish-actions.pod:2159 ../src/guestfs-actions.pod:3344
10582 msgid ""
10583 "Extracting icons from Windows guests requires the external C<wrestool> "
10584 "program from the C<icoutils> package, and several programs (C<bmptopnm>, "
10585 "C<pnmtopng>, C<pamcut>)  from the C<netpbm> package.  These must be "
10586 "installed separately."
10587 msgstr ""
10588
10589 #. type: textblock
10590 #: ../fish/guestfish-actions.pod:2166 ../src/guestfs-actions.pod:3351
10591 msgid ""
10592 "Operating system icons are usually trademarks.  Seek legal advice before "
10593 "using trademarks in applications."
10594 msgstr ""
10595
10596 #. type: =head2
10597 #: ../fish/guestfish-actions.pod:2173
10598 msgid "inspect-get-major-version"
10599 msgstr "inspect-get-major-version"
10600
10601 #. type: verbatim
10602 #: ../fish/guestfish-actions.pod:2175
10603 #, no-wrap
10604 msgid ""
10605 " inspect-get-major-version root\n"
10606 "\n"
10607 msgstr ""
10608 " inspect-get-major-version корінь\n"
10609 "\n"
10610
10611 #. type: textblock
10612 #: ../fish/guestfish-actions.pod:2177 ../src/guestfs-actions.pod:3392
10613 msgid ""
10614 "This returns the major version number of the inspected operating system."
10615 msgstr ""
10616
10617 #. type: textblock
10618 #: ../fish/guestfish-actions.pod:2180 ../src/guestfs-actions.pod:3395
10619 msgid ""
10620 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
10621 "popular public names used by the operating system.  Notably the operating "
10622 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
10623 "1).  You can find out the real versions corresponding to releases of Windows "
10624 "by consulting Wikipedia or MSDN."
10625 msgstr ""
10626
10627 #. type: textblock
10628 #: ../fish/guestfish-actions.pod:2187 ../fish/guestfish-actions.pod:2198
10629 #: ../src/guestfs-actions.pod:3402 ../src/guestfs-actions.pod:3419
10630 msgid "If the version could not be determined, then C<0> is returned."
10631 msgstr ""
10632
10633 #. type: =head2
10634 #: ../fish/guestfish-actions.pod:2191
10635 msgid "inspect-get-minor-version"
10636 msgstr "inspect-get-minor-version"
10637
10638 #. type: verbatim
10639 #: ../fish/guestfish-actions.pod:2193
10640 #, no-wrap
10641 msgid ""
10642 " inspect-get-minor-version root\n"
10643 "\n"
10644 msgstr ""
10645 " inspect-get-minor-version корінь\n"
10646 "\n"
10647
10648 #. type: textblock
10649 #: ../fish/guestfish-actions.pod:2195 ../src/guestfs-actions.pod:3416
10650 msgid ""
10651 "This returns the minor version number of the inspected operating system."
10652 msgstr ""
10653
10654 #. type: textblock
10655 #: ../fish/guestfish-actions.pod:2200
10656 msgid ""
10657 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10658 "get-major-version>."
10659 msgstr ""
10660
10661 #. type: =head2
10662 #: ../fish/guestfish-actions.pod:2203
10663 msgid "inspect-get-mountpoints"
10664 msgstr "inspect-get-mountpoints"
10665
10666 #. type: verbatim
10667 #: ../fish/guestfish-actions.pod:2205
10668 #, no-wrap
10669 msgid ""
10670 " inspect-get-mountpoints root\n"
10671 "\n"
10672 msgstr ""
10673 " inspect-get-mountpoints корінь\n"
10674 "\n"
10675
10676 #. type: textblock
10677 #: ../fish/guestfish-actions.pod:2207 ../src/guestfs-actions.pod:3434
10678 msgid ""
10679 "This returns a hash of where we think the filesystems associated with this "
10680 "operating system should be mounted.  Callers should note that this is at "
10681 "best an educated guess made by reading configuration files such as C</etc/"
10682 "fstab>.  I<In particular note> that this may return filesystems which are "
10683 "non-existent or not mountable and callers should be prepared to handle or "
10684 "ignore failures if they try to mount them."
10685 msgstr ""
10686
10687 #. type: textblock
10688 #: ../fish/guestfish-actions.pod:2216 ../src/guestfs-actions.pod:3443
10689 msgid ""
10690 "Each element in the returned hashtable has a key which is the path of the "
10691 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
10692 "mounted there (eg. C</dev/sda1>)."
10693 msgstr ""
10694
10695 #. type: textblock
10696 #: ../fish/guestfish-actions.pod:2221 ../src/guestfs-actions.pod:3448
10697 msgid ""
10698 "Non-mounted devices such as swap devices are I<not> returned in this list."
10699 msgstr ""
10700
10701 #. type: textblock
10702 #: ../fish/guestfish-actions.pod:2224
10703 msgid ""
10704 "For operating systems like Windows which still use drive letters, this call "
10705 "will only return an entry for the first drive \"mounted on\" C</>.  For "
10706 "information about the mapping of drive letters to partitions, see L</inspect-"
10707 "get-drive-mappings>."
10708 msgstr ""
10709
10710 #. type: textblock
10711 #: ../fish/guestfish-actions.pod:2230
10712 msgid ""
10713 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10714 "get-filesystems>."
10715 msgstr ""
10716
10717 #. type: =head2
10718 #: ../fish/guestfish-actions.pod:2233
10719 msgid "inspect-get-package-format"
10720 msgstr "inspect-get-package-format"
10721
10722 #. type: verbatim
10723 #: ../fish/guestfish-actions.pod:2235
10724 #, no-wrap
10725 msgid ""
10726 " inspect-get-package-format root\n"
10727 "\n"
10728 msgstr ""
10729 " inspect-get-package-format корінь\n"
10730 "\n"
10731
10732 #. type: textblock
10733 #: ../fish/guestfish-actions.pod:2237
10734 msgid ""
10735 "This function and L</inspect-get-package-management> return the package "
10736 "format and package management tool used by the inspected operating system.  "
10737 "For example for Fedora these functions would return C<rpm> (package format) "
10738 "and C<yum> (package management)."
10739 msgstr ""
10740
10741 #. type: textblock
10742 #: ../fish/guestfish-actions.pod:2243 ../src/guestfs-actions.pod:3480
10743 msgid ""
10744 "This returns the string C<unknown> if we could not determine the package "
10745 "format I<or> if the operating system does not have a real packaging system "
10746 "(eg. Windows)."
10747 msgstr ""
10748
10749 #. type: textblock
10750 #: ../fish/guestfish-actions.pod:2247 ../src/guestfs-actions.pod:3484
10751 msgid ""
10752 "Possible strings include: C<rpm>, C<deb>, C<ebuild>, C<pisi>, C<pacman>, "
10753 "C<pkgsrc>.  Future versions of libguestfs may return other strings."
10754 msgstr ""
10755
10756 #. type: =head2
10757 #: ../fish/guestfish-actions.pod:2253
10758 msgid "inspect-get-package-management"
10759 msgstr "inspect-get-package-management"
10760
10761 #. type: verbatim
10762 #: ../fish/guestfish-actions.pod:2255
10763 #, no-wrap
10764 msgid ""
10765 " inspect-get-package-management root\n"
10766 "\n"
10767 msgstr ""
10768 " inspect-get-package-management корінь\n"
10769 "\n"
10770
10771 #. type: textblock
10772 #: ../fish/guestfish-actions.pod:2257
10773 msgid ""
10774 "L</inspect-get-package-format> and this function return the package format "
10775 "and package management tool used by the inspected operating system.  For "
10776 "example for Fedora these functions would return C<rpm> (package format) and "
10777 "C<yum> (package management)."
10778 msgstr ""
10779
10780 #. type: textblock
10781 #: ../fish/guestfish-actions.pod:2263 ../src/guestfs-actions.pod:3507
10782 msgid ""
10783 "This returns the string C<unknown> if we could not determine the package "
10784 "management tool I<or> if the operating system does not have a real packaging "
10785 "system (eg. Windows)."
10786 msgstr ""
10787
10788 #. type: textblock
10789 #: ../fish/guestfish-actions.pod:2267 ../src/guestfs-actions.pod:3511
10790 msgid ""
10791 "Possible strings include: C<yum>, C<up2date>, C<apt> (for all Debian "
10792 "derivatives), C<portage>, C<pisi>, C<pacman>, C<urpmi>, C<zypper>.  Future "
10793 "versions of libguestfs may return other strings."
10794 msgstr ""
10795
10796 #. type: =head2
10797 #: ../fish/guestfish-actions.pod:2274
10798 msgid "inspect-get-product-name"
10799 msgstr "inspect-get-product-name"
10800
10801 #. type: verbatim
10802 #: ../fish/guestfish-actions.pod:2276
10803 #, no-wrap
10804 msgid ""
10805 " inspect-get-product-name root\n"
10806 "\n"
10807 msgstr ""
10808 " inspect-get-product-name корінь\n"
10809 "\n"
10810
10811 #. type: textblock
10812 #: ../fish/guestfish-actions.pod:2278 ../src/guestfs-actions.pod:3529
10813 msgid ""
10814 "This returns the product name of the inspected operating system.  The "
10815 "product name is generally some freeform string which can be displayed to the "
10816 "user, but should not be parsed by programs."
10817 msgstr ""
10818
10819 #. type: textblock
10820 #: ../fish/guestfish-actions.pod:2283 ../src/guestfs-actions.pod:3534
10821 msgid ""
10822 "If the product name could not be determined, then the string C<unknown> is "
10823 "returned."
10824 msgstr ""
10825
10826 #. type: =head2
10827 #: ../fish/guestfish-actions.pod:2288
10828 msgid "inspect-get-product-variant"
10829 msgstr ""
10830
10831 #. type: verbatim
10832 #: ../fish/guestfish-actions.pod:2290
10833 #, no-wrap
10834 msgid ""
10835 " inspect-get-product-variant root\n"
10836 "\n"
10837 msgstr ""
10838
10839 #. type: textblock
10840 #: ../fish/guestfish-actions.pod:2292 ../src/guestfs-actions.pod:3550
10841 msgid "This returns the product variant of the inspected operating system."
10842 msgstr ""
10843
10844 #. type: textblock
10845 #: ../fish/guestfish-actions.pod:2295 ../src/guestfs-actions.pod:3553
10846 msgid ""
10847 "For Windows guests, this returns the contents of the Registry key C<HKLM"
10848 "\\Software\\Microsoft\\Windows NT\\CurrentVersion> C<InstallationType> which "
10849 "is usually a string such as C<Client> or C<Server> (other values are "
10850 "possible).  This can be used to distinguish consumer and enterprise versions "
10851 "of Windows that have the same version number (for example, Windows 7 and "
10852 "Windows 2008 Server are both version 6.1, but the former is C<Client> and "
10853 "the latter is C<Server>)."
10854 msgstr ""
10855
10856 #. type: textblock
10857 #: ../fish/guestfish-actions.pod:2304 ../src/guestfs-actions.pod:3562
10858 msgid ""
10859 "For enterprise Linux guests, in future we intend this to return the product "
10860 "variant such as C<Desktop>, C<Server> and so on.  But this is not "
10861 "implemented at present."
10862 msgstr ""
10863
10864 #. type: textblock
10865 #: ../fish/guestfish-actions.pod:2308 ../src/guestfs-actions.pod:3566
10866 msgid ""
10867 "If the product variant could not be determined, then the string C<unknown> "
10868 "is returned."
10869 msgstr ""
10870
10871 #. type: textblock
10872 #: ../fish/guestfish-actions.pod:2311
10873 msgid ""
10874 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
10875 "get-product-name>, L</inspect-get-major-version>."
10876 msgstr ""
10877
10878 #. type: =head2
10879 #: ../fish/guestfish-actions.pod:2315
10880 msgid "inspect-get-roots"
10881 msgstr "inspect-get-roots"
10882
10883 #. type: verbatim
10884 #: ../fish/guestfish-actions.pod:2317
10885 #, no-wrap
10886 msgid ""
10887 " inspect-get-roots\n"
10888 "\n"
10889 msgstr ""
10890 " inspect-get-roots\n"
10891 "\n"
10892
10893 #. type: textblock
10894 #: ../fish/guestfish-actions.pod:2319
10895 msgid ""
10896 "This function is a convenient way to get the list of root devices, as "
10897 "returned from a previous call to L</inspect-os>, but without redoing the "
10898 "whole inspection process."
10899 msgstr ""
10900
10901 #. type: textblock
10902 #: ../fish/guestfish-actions.pod:2323
10903 msgid ""
10904 "This returns an empty list if either no root devices were found or the "
10905 "caller has not called L</inspect-os>."
10906 msgstr ""
10907
10908 #. type: =head2
10909 #: ../fish/guestfish-actions.pod:2328
10910 msgid "inspect-get-type"
10911 msgstr "inspect-get-type"
10912
10913 #. type: verbatim
10914 #: ../fish/guestfish-actions.pod:2330
10915 #, no-wrap
10916 msgid ""
10917 " inspect-get-type root\n"
10918 "\n"
10919 msgstr ""
10920 " inspect-get-type корінь\n"
10921 "\n"
10922
10923 #. type: textblock
10924 #: ../fish/guestfish-actions.pod:2332 ../src/guestfs-actions.pod:3604
10925 msgid ""
10926 "This returns the type of the inspected operating system.  Currently defined "
10927 "types are:"
10928 msgstr ""
10929
10930 #. type: =item
10931 #: ../fish/guestfish-actions.pod:2337 ../src/guestfs-actions.pod:3609
10932 msgid "\"linux\""
10933 msgstr "\"linux\""
10934
10935 #. type: textblock
10936 #: ../fish/guestfish-actions.pod:2339 ../src/guestfs-actions.pod:3611
10937 msgid "Any Linux-based operating system."
10938 msgstr ""
10939
10940 #. type: textblock
10941 #: ../fish/guestfish-actions.pod:2343 ../src/guestfs-actions.pod:3615
10942 msgid "Any Microsoft Windows operating system."
10943 msgstr ""
10944
10945 #. type: =item
10946 #: ../fish/guestfish-actions.pod:2345 ../src/guestfs-actions.pod:3617
10947 msgid "\"freebsd\""
10948 msgstr "\"freebsd\""
10949
10950 #. type: textblock
10951 #: ../fish/guestfish-actions.pod:2347 ../src/guestfs-actions.pod:3619
10952 msgid "FreeBSD."
10953 msgstr "FreeBSD."
10954
10955 #. type: =item
10956 #: ../fish/guestfish-actions.pod:2349 ../src/guestfs-actions.pod:3621
10957 msgid "\"netbsd\""
10958 msgstr ""
10959
10960 #. type: textblock
10961 #: ../fish/guestfish-actions.pod:2351 ../src/guestfs-actions.pod:3623
10962 msgid "NetBSD."
10963 msgstr ""
10964
10965 #. type: textblock
10966 #: ../fish/guestfish-actions.pod:2355 ../src/guestfs-actions.pod:3627
10967 msgid "The operating system type could not be determined."
10968 msgstr ""
10969
10970 #. type: =head2
10971 #: ../fish/guestfish-actions.pod:2364
10972 msgid "inspect-get-windows-current-control-set"
10973 msgstr ""
10974
10975 #. type: verbatim
10976 #: ../fish/guestfish-actions.pod:2366
10977 #, no-wrap
10978 msgid ""
10979 " inspect-get-windows-current-control-set root\n"
10980 "\n"
10981 msgstr ""
10982
10983 #. type: textblock
10984 #: ../fish/guestfish-actions.pod:2368 ../src/guestfs-actions.pod:3647
10985 msgid ""
10986 "This returns the Windows CurrentControlSet of the inspected guest.  The "
10987 "CurrentControlSet is a registry key name such as C<ControlSet001>."
10988 msgstr ""
10989
10990 #. type: textblock
10991 #: ../fish/guestfish-actions.pod:2371 ../src/guestfs-actions.pod:3650
10992 msgid ""
10993 "This call assumes that the guest is Windows and that the Registry could be "
10994 "examined by inspection.  If this is not the case then an error is returned."
10995 msgstr ""
10996
10997 #. type: =head2
10998 #: ../fish/guestfish-actions.pod:2377
10999 msgid "inspect-get-windows-systemroot"
11000 msgstr "inspect-get-windows-systemroot"
11001
11002 #. type: verbatim
11003 #: ../fish/guestfish-actions.pod:2379
11004 #, no-wrap
11005 msgid ""
11006 " inspect-get-windows-systemroot root\n"
11007 "\n"
11008 msgstr ""
11009 " inspect-get-windows-systemroot корінь\n"
11010 "\n"
11011
11012 #. type: textblock
11013 #: ../fish/guestfish-actions.pod:2381 ../src/guestfs-actions.pod:3667
11014 msgid ""
11015 "This returns the Windows systemroot of the inspected guest.  The systemroot "
11016 "is a directory path such as C</WINDOWS>."
11017 msgstr ""
11018
11019 #. type: textblock
11020 #: ../fish/guestfish-actions.pod:2384 ../src/guestfs-actions.pod:3670
11021 msgid ""
11022 "This call assumes that the guest is Windows and that the systemroot could be "
11023 "determined by inspection.  If this is not the case then an error is returned."
11024 msgstr ""
11025
11026 #. type: =head2
11027 #: ../fish/guestfish-actions.pod:2390
11028 msgid "inspect-is-live"
11029 msgstr "inspect-is-live"
11030
11031 #. type: verbatim
11032 #: ../fish/guestfish-actions.pod:2392
11033 #, no-wrap
11034 msgid ""
11035 " inspect-is-live root\n"
11036 "\n"
11037 msgstr ""
11038 " inspect-is-live корінь\n"
11039 "\n"
11040
11041 #. type: textblock
11042 #: ../fish/guestfish-actions.pod:2394
11043 msgid ""
11044 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11045 "then this returns true if a live image was detected on the disk."
11046 msgstr ""
11047
11048 #. type: =head2
11049 #: ../fish/guestfish-actions.pod:2400
11050 msgid "inspect-is-multipart"
11051 msgstr "inspect-is-multipart"
11052
11053 #. type: verbatim
11054 #: ../fish/guestfish-actions.pod:2402
11055 #, no-wrap
11056 msgid ""
11057 " inspect-is-multipart root\n"
11058 "\n"
11059 msgstr ""
11060 " inspect-is-multipart корінь\n"
11061 "\n"
11062
11063 #. type: textblock
11064 #: ../fish/guestfish-actions.pod:2404
11065 msgid ""
11066 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11067 "then this returns true if the disk is part of a set."
11068 msgstr ""
11069
11070 #. type: =head2
11071 #: ../fish/guestfish-actions.pod:2410
11072 msgid "inspect-is-netinst"
11073 msgstr "inspect-is-netinst"
11074
11075 #. type: verbatim
11076 #: ../fish/guestfish-actions.pod:2412
11077 #, no-wrap
11078 msgid ""
11079 " inspect-is-netinst root\n"
11080 "\n"
11081 msgstr ""
11082 " inspect-is-netinst корінь\n"
11083 "\n"
11084
11085 #. type: textblock
11086 #: ../fish/guestfish-actions.pod:2414
11087 msgid ""
11088 "If L</inspect-get-format> returns C<installer> (this is an install disk), "
11089 "then this returns true if the disk is a network installer, ie. not a self-"
11090 "contained install CD but one which is likely to require network access to "
11091 "complete the install."
11092 msgstr ""
11093
11094 #. type: =head2
11095 #: ../fish/guestfish-actions.pod:2422
11096 msgid "inspect-list-applications"
11097 msgstr "inspect-list-applications"
11098
11099 #. type: verbatim
11100 #: ../fish/guestfish-actions.pod:2424
11101 #, no-wrap
11102 msgid ""
11103 " inspect-list-applications root\n"
11104 "\n"
11105 msgstr ""
11106 " inspect-list-applications кореневий_каталог\n"
11107 "\n"
11108
11109 #. type: textblock
11110 #: ../fish/guestfish-actions.pod:2426 ../src/guestfs-actions.pod:3737
11111 msgid "Return the list of applications installed in the operating system."
11112 msgstr ""
11113
11114 #. type: textblock
11115 #: ../fish/guestfish-actions.pod:2428
11116 msgid ""
11117 "I<Note:> This call works differently from other parts of the inspection "
11118 "API.  You have to call L</inspect-os>, then L</inspect-get-mountpoints>, "
11119 "then mount up the disks, before calling this.  Listing applications is a "
11120 "significantly more difficult operation which requires access to the full "
11121 "filesystem.  Also note that unlike the other L</inspect-get-*> calls which "
11122 "are just returning data cached in the libguestfs handle, this call actually "
11123 "reads parts of the mounted filesystems during the call."
11124 msgstr ""
11125
11126 #. type: textblock
11127 #: ../fish/guestfish-actions.pod:2438 ../src/guestfs-actions.pod:3749
11128 msgid ""
11129 "This returns an empty list if the inspection code was not able to determine "
11130 "the list of applications."
11131 msgstr ""
11132
11133 #. type: textblock
11134 #: ../fish/guestfish-actions.pod:2441 ../src/guestfs-actions.pod:3752
11135 msgid "The application structure contains the following fields:"
11136 msgstr ""
11137
11138 #. type: =item
11139 #: ../fish/guestfish-actions.pod:2445 ../src/guestfs-actions.pod:3756
11140 msgid "C<app_name>"
11141 msgstr "C<app_name>"
11142
11143 #. type: textblock
11144 #: ../fish/guestfish-actions.pod:2447 ../src/guestfs-actions.pod:3758
11145 msgid ""
11146 "The name of the application.  For Red Hat-derived and Debian-derived Linux "
11147 "guests, this is the package name."
11148 msgstr ""
11149
11150 #. type: =item
11151 #: ../fish/guestfish-actions.pod:2450 ../src/guestfs-actions.pod:3761
11152 msgid "C<app_display_name>"
11153 msgstr "C<app_display_name>"
11154
11155 #. type: textblock
11156 #: ../fish/guestfish-actions.pod:2452 ../src/guestfs-actions.pod:3763
11157 msgid ""
11158 "The display name of the application, sometimes localized to the install "
11159 "language of the guest operating system."
11160 msgstr ""
11161
11162 #. type: textblock
11163 #: ../fish/guestfish-actions.pod:2455 ../src/guestfs-actions.pod:3766
11164 msgid ""
11165 "If unavailable this is returned as an empty string C<\"\">.  Callers needing "
11166 "to display something can use C<app_name> instead."
11167 msgstr ""
11168
11169 #. type: =item
11170 #: ../fish/guestfish-actions.pod:2458 ../src/guestfs-actions.pod:3769
11171 msgid "C<app_epoch>"
11172 msgstr "C<app_epoch>"
11173
11174 #. type: textblock
11175 #: ../fish/guestfish-actions.pod:2460 ../src/guestfs-actions.pod:3771
11176 msgid ""
11177 "For package managers which use epochs, this contains the epoch of the "
11178 "package (an integer).  If unavailable, this is returned as C<0>."
11179 msgstr ""
11180
11181 #. type: =item
11182 #: ../fish/guestfish-actions.pod:2463 ../src/guestfs-actions.pod:3774
11183 msgid "C<app_version>"
11184 msgstr "C<app_version>"
11185
11186 #. type: textblock
11187 #: ../fish/guestfish-actions.pod:2465 ../src/guestfs-actions.pod:3776
11188 msgid ""
11189 "The version string of the application or package.  If unavailable this is "
11190 "returned as an empty string C<\"\">."
11191 msgstr ""
11192
11193 #. type: =item
11194 #: ../fish/guestfish-actions.pod:2468 ../src/guestfs-actions.pod:3779
11195 msgid "C<app_release>"
11196 msgstr "C<app_release>"
11197
11198 #. type: textblock
11199 #: ../fish/guestfish-actions.pod:2470 ../src/guestfs-actions.pod:3781
11200 msgid ""
11201 "The release string of the application or package, for package managers that "
11202 "use this.  If unavailable this is returned as an empty string C<\"\">."
11203 msgstr ""
11204
11205 #. type: =item
11206 #: ../fish/guestfish-actions.pod:2474 ../src/guestfs-actions.pod:3785
11207 msgid "C<app_install_path>"
11208 msgstr "C<app_install_path>"
11209
11210 #. type: textblock
11211 #: ../fish/guestfish-actions.pod:2476 ../src/guestfs-actions.pod:3787
11212 msgid ""
11213 "The installation path of the application (on operating systems such as "
11214 "Windows which use installation paths).  This path is in the format used by "
11215 "the guest operating system, it is not a libguestfs path."
11216 msgstr ""
11217
11218 #. type: textblock
11219 #: ../fish/guestfish-actions.pod:2481 ../src/guestfs-actions.pod:3792
11220 msgid "If unavailable this is returned as an empty string C<\"\">."
11221 msgstr ""
11222
11223 #. type: =item
11224 #: ../fish/guestfish-actions.pod:2483 ../src/guestfs-actions.pod:3794
11225 msgid "C<app_trans_path>"
11226 msgstr "C<app_trans_path>"
11227
11228 #. type: textblock
11229 #: ../fish/guestfish-actions.pod:2485 ../src/guestfs-actions.pod:3796
11230 msgid ""
11231 "The install path translated into a libguestfs path.  If unavailable this is "
11232 "returned as an empty string C<\"\">."
11233 msgstr ""
11234
11235 #. type: =item
11236 #: ../fish/guestfish-actions.pod:2488 ../src/guestfs-actions.pod:3799
11237 msgid "C<app_publisher>"
11238 msgstr "C<app_publisher>"
11239
11240 #. type: textblock
11241 #: ../fish/guestfish-actions.pod:2490 ../src/guestfs-actions.pod:3801
11242 msgid ""
11243 "The name of the publisher of the application, for package managers that use "
11244 "this.  If unavailable this is returned as an empty string C<\"\">."
11245 msgstr ""
11246
11247 #. type: =item
11248 #: ../fish/guestfish-actions.pod:2494 ../src/guestfs-actions.pod:3805
11249 msgid "C<app_url>"
11250 msgstr "C<app_url>"
11251
11252 #. type: textblock
11253 #: ../fish/guestfish-actions.pod:2496 ../src/guestfs-actions.pod:3807
11254 msgid ""
11255 "The URL (eg. upstream URL) of the application.  If unavailable this is "
11256 "returned as an empty string C<\"\">."
11257 msgstr ""
11258
11259 #. type: =item
11260 #: ../fish/guestfish-actions.pod:2499 ../src/guestfs-actions.pod:3810
11261 msgid "C<app_source_package>"
11262 msgstr "C<app_source_package>"
11263
11264 #. type: textblock
11265 #: ../fish/guestfish-actions.pod:2501 ../src/guestfs-actions.pod:3812
11266 msgid ""
11267 "For packaging systems which support this, the name of the source package.  "
11268 "If unavailable this is returned as an empty string C<\"\">."
11269 msgstr ""
11270
11271 #. type: =item
11272 #: ../fish/guestfish-actions.pod:2504 ../src/guestfs-actions.pod:3815
11273 msgid "C<app_summary>"
11274 msgstr "C<app_summary>"
11275
11276 #. type: textblock
11277 #: ../fish/guestfish-actions.pod:2506 ../src/guestfs-actions.pod:3817
11278 msgid ""
11279 "A short (usually one line) description of the application or package.  If "
11280 "unavailable this is returned as an empty string C<\"\">."
11281 msgstr ""
11282
11283 #. type: =item
11284 #: ../fish/guestfish-actions.pod:2509 ../src/guestfs-actions.pod:3820
11285 msgid "C<app_description>"
11286 msgstr "C<app_description>"
11287
11288 #. type: textblock
11289 #: ../fish/guestfish-actions.pod:2511 ../src/guestfs-actions.pod:3822
11290 msgid ""
11291 "A longer description of the application or package.  If unavailable this is "
11292 "returned as an empty string C<\"\">."
11293 msgstr ""
11294
11295 #. type: =head2
11296 #: ../fish/guestfish-actions.pod:2518
11297 msgid "inspect-os"
11298 msgstr "inspect-os"
11299
11300 #. type: verbatim
11301 #: ../fish/guestfish-actions.pod:2520
11302 #, no-wrap
11303 msgid ""
11304 " inspect-os\n"
11305 "\n"
11306 msgstr ""
11307 " inspect-os\n"
11308 "\n"
11309
11310 #. type: textblock
11311 #: ../fish/guestfish-actions.pod:2522 ../src/guestfs-actions.pod:3840
11312 msgid ""
11313 "This function uses other libguestfs functions and certain heuristics to "
11314 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
11315 "for operating systems."
11316 msgstr ""
11317
11318 #. type: textblock
11319 #: ../fish/guestfish-actions.pod:2526 ../src/guestfs-actions.pod:3844
11320 msgid "The list returned is empty if no operating systems were found."
11321 msgstr ""
11322
11323 #. type: textblock
11324 #: ../fish/guestfish-actions.pod:2528 ../src/guestfs-actions.pod:3846
11325 msgid ""
11326 "If one operating system was found, then this returns a list with a single "
11327 "element, which is the name of the root filesystem of this operating system.  "
11328 "It is also possible for this function to return a list containing more than "
11329 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
11330 "element being the root filesystem of one of the operating systems."
11331 msgstr ""
11332
11333 #. type: textblock
11334 #: ../fish/guestfish-actions.pod:2535
11335 msgid ""
11336 "You can pass the root string(s) returned to other L</inspect-get-*> "
11337 "functions in order to query further information about each operating system, "
11338 "such as the name and version."
11339 msgstr ""
11340
11341 #. type: textblock
11342 #: ../fish/guestfish-actions.pod:2540
11343 msgid ""
11344 "This function uses other libguestfs features such as L</mount-ro> and L</"
11345 "umount-all> in order to mount and unmount filesystems and look at the "
11346 "contents.  This should be called with no disks currently mounted.  The "
11347 "function may also use Augeas, so any existing Augeas handle will be closed."
11348 msgstr ""
11349
11350 #. type: textblock
11351 #: ../fish/guestfish-actions.pod:2546 ../src/guestfs-actions.pod:3864
11352 msgid ""
11353 "This function cannot decrypt encrypted disks.  The caller must do that first "
11354 "(supplying the necessary keys) if the disk is encrypted."
11355 msgstr ""
11356
11357 #. type: textblock
11358 #: ../fish/guestfish-actions.pod:2552 ../fish/guestfish-actions.pod:2750
11359 #: ../fish/guestfish-actions.pod:2809
11360 msgid "See also L</list-filesystems>."
11361 msgstr "Див. також L</list-filesystems>."
11362
11363 #. type: =head2
11364 #: ../fish/guestfish-actions.pod:2554
11365 msgid "is-blockdev"
11366 msgstr "is-blockdev"
11367
11368 #. type: verbatim
11369 #: ../fish/guestfish-actions.pod:2556
11370 #, no-wrap
11371 msgid ""
11372 " is-blockdev path\n"
11373 "\n"
11374 msgstr ""
11375 " is-blockdev шлях\n"
11376 "\n"
11377
11378 #. type: textblock
11379 #: ../fish/guestfish-actions.pod:2558 ../src/guestfs-actions.pod:3884
11380 msgid ""
11381 "This returns C<true> if and only if there is a block device with the given "
11382 "C<path> name."
11383 msgstr ""
11384
11385 #. type: textblock
11386 #: ../fish/guestfish-actions.pod:2561 ../fish/guestfish-actions.pod:2579
11387 #: ../fish/guestfish-actions.pod:2598 ../fish/guestfish-actions.pod:2607
11388 #: ../fish/guestfish-actions.pod:2617 ../fish/guestfish-actions.pod:2651
11389 #: ../fish/guestfish-actions.pod:2660
11390 msgid "See also L</stat>."
11391 msgstr "Див. також L</stat>."
11392
11393 #. type: =head2
11394 #: ../fish/guestfish-actions.pod:2563
11395 msgid "is-busy"
11396 msgstr "is-busy"
11397
11398 #. type: verbatim
11399 #: ../fish/guestfish-actions.pod:2565
11400 #, no-wrap
11401 msgid ""
11402 " is-busy\n"
11403 "\n"
11404 msgstr ""
11405 " is-busy\n"
11406 "\n"
11407
11408 #. type: textblock
11409 #: ../fish/guestfish-actions.pod:2567 ../src/guestfs-actions.pod:3898
11410 msgid ""
11411 "This returns true iff this handle is busy processing a command (in the "
11412 "C<BUSY> state)."
11413 msgstr ""
11414
11415 #. type: =head2
11416 #: ../fish/guestfish-actions.pod:2572
11417 msgid "is-chardev"
11418 msgstr "is-chardev"
11419
11420 #. type: verbatim
11421 #: ../fish/guestfish-actions.pod:2574
11422 #, no-wrap
11423 msgid ""
11424 " is-chardev path\n"
11425 "\n"
11426 msgstr ""
11427 " is-chardev шлях\n"
11428 "\n"
11429
11430 #. type: textblock
11431 #: ../fish/guestfish-actions.pod:2576 ../src/guestfs-actions.pod:3913
11432 msgid ""
11433 "This returns C<true> if and only if there is a character device with the "
11434 "given C<path> name."
11435 msgstr ""
11436
11437 #. type: =head2
11438 #: ../fish/guestfish-actions.pod:2581
11439 msgid "is-config"
11440 msgstr "is-config"
11441
11442 #. type: verbatim
11443 #: ../fish/guestfish-actions.pod:2583
11444 #, no-wrap
11445 msgid ""
11446 " is-config\n"
11447 "\n"
11448 msgstr ""
11449 " is-config\n"
11450 "\n"
11451
11452 #. type: textblock
11453 #: ../fish/guestfish-actions.pod:2585 ../src/guestfs-actions.pod:3927
11454 msgid ""
11455 "This returns true iff this handle is being configured (in the C<CONFIG> "
11456 "state)."
11457 msgstr ""
11458
11459 #. type: =head2
11460 #: ../fish/guestfish-actions.pod:2590
11461 msgid "is-dir"
11462 msgstr "is-dir"
11463
11464 #. type: verbatim
11465 #: ../fish/guestfish-actions.pod:2592
11466 #, no-wrap
11467 msgid ""
11468 " is-dir path\n"
11469 "\n"
11470 msgstr ""
11471 " is-dir шлях\n"
11472 "\n"
11473
11474 #. type: textblock
11475 #: ../fish/guestfish-actions.pod:2594 ../src/guestfs-actions.pod:3942
11476 msgid ""
11477 "This returns C<true> if and only if there is a directory with the given "
11478 "C<path> name.  Note that it returns false for other objects like files."
11479 msgstr ""
11480
11481 #. type: =head2
11482 #: ../fish/guestfish-actions.pod:2600
11483 msgid "is-fifo"
11484 msgstr "is-fifo"
11485
11486 #. type: verbatim
11487 #: ../fish/guestfish-actions.pod:2602
11488 #, no-wrap
11489 msgid ""
11490 " is-fifo path\n"
11491 "\n"
11492 msgstr ""
11493 " is-fifo шлях\n"
11494 "\n"
11495
11496 #. type: textblock
11497 #: ../fish/guestfish-actions.pod:2604 ../src/guestfs-actions.pod:3958
11498 msgid ""
11499 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
11500 "given C<path> name."
11501 msgstr ""
11502
11503 #. type: =head2
11504 #: ../fish/guestfish-actions.pod:2609
11505 msgid "is-file"
11506 msgstr "is-file"
11507
11508 #. type: verbatim
11509 #: ../fish/guestfish-actions.pod:2611
11510 #, no-wrap
11511 msgid ""
11512 " is-file path\n"
11513 "\n"
11514 msgstr ""
11515 " is-file шлях\n"
11516 "\n"
11517
11518 #. type: textblock
11519 #: ../fish/guestfish-actions.pod:2613 ../src/guestfs-actions.pod:3973
11520 msgid ""
11521 "This returns C<true> if and only if there is a regular file with the given "
11522 "C<path> name.  Note that it returns false for other objects like directories."
11523 msgstr ""
11524
11525 #. type: =head2
11526 #: ../fish/guestfish-actions.pod:2619
11527 msgid "is-launching"
11528 msgstr "is-launching"
11529
11530 #. type: verbatim
11531 #: ../fish/guestfish-actions.pod:2621
11532 #, no-wrap
11533 msgid ""
11534 " is-launching\n"
11535 "\n"
11536 msgstr ""
11537 " is-launching\n"
11538 "\n"
11539
11540 #. type: textblock
11541 #: ../fish/guestfish-actions.pod:2623 ../src/guestfs-actions.pod:3988
11542 msgid ""
11543 "This returns true iff this handle is launching the subprocess (in the "
11544 "C<LAUNCHING> state)."
11545 msgstr ""
11546
11547 #. type: =head2
11548 #: ../fish/guestfish-actions.pod:2628
11549 msgid "is-lv"
11550 msgstr "is-lv"
11551
11552 #. type: verbatim
11553 #: ../fish/guestfish-actions.pod:2630
11554 #, no-wrap
11555 msgid ""
11556 " is-lv device\n"
11557 "\n"
11558 msgstr ""
11559 " is-lv пристрій\n"
11560 "\n"
11561
11562 #. type: textblock
11563 #: ../fish/guestfish-actions.pod:2632 ../src/guestfs-actions.pod:4003
11564 msgid ""
11565 "This command tests whether C<device> is a logical volume, and returns true "
11566 "iff this is the case."
11567 msgstr ""
11568
11569 #. type: =head2
11570 #: ../fish/guestfish-actions.pod:2635
11571 msgid "is-ready"
11572 msgstr "is-ready"
11573
11574 #. type: verbatim
11575 #: ../fish/guestfish-actions.pod:2637
11576 #, no-wrap
11577 msgid ""
11578 " is-ready\n"
11579 "\n"
11580 msgstr ""
11581 " is-ready\n"
11582 "\n"
11583
11584 #. type: textblock
11585 #: ../fish/guestfish-actions.pod:2639 ../src/guestfs-actions.pod:4015
11586 msgid ""
11587 "This returns true iff this handle is ready to accept commands (in the "
11588 "C<READY> state)."
11589 msgstr ""
11590
11591 #. type: =head2
11592 #: ../fish/guestfish-actions.pod:2644
11593 msgid "is-socket"
11594 msgstr "is-socket"
11595
11596 #. type: verbatim
11597 #: ../fish/guestfish-actions.pod:2646
11598 #, no-wrap
11599 msgid ""
11600 " is-socket path\n"
11601 "\n"
11602 msgstr ""
11603 " is-socket шлях\n"
11604 "\n"
11605
11606 #. type: textblock
11607 #: ../fish/guestfish-actions.pod:2648 ../src/guestfs-actions.pod:4030
11608 msgid ""
11609 "This returns C<true> if and only if there is a Unix domain socket with the "
11610 "given C<path> name."
11611 msgstr ""
11612
11613 #. type: =head2
11614 #: ../fish/guestfish-actions.pod:2653
11615 msgid "is-symlink"
11616 msgstr "is-symlink"
11617
11618 #. type: verbatim
11619 #: ../fish/guestfish-actions.pod:2655
11620 #, no-wrap
11621 msgid ""
11622 " is-symlink path\n"
11623 "\n"
11624 msgstr ""
11625 " is-symlink шлях\n"
11626 "\n"
11627
11628 #. type: textblock
11629 #: ../fish/guestfish-actions.pod:2657 ../src/guestfs-actions.pod:4045
11630 msgid ""
11631 "This returns C<true> if and only if there is a symbolic link with the given "
11632 "C<path> name."
11633 msgstr ""
11634
11635 #. type: =head2
11636 #: ../fish/guestfish-actions.pod:2662
11637 msgid "is-zero"
11638 msgstr ""
11639
11640 #. type: verbatim
11641 #: ../fish/guestfish-actions.pod:2664
11642 #, no-wrap
11643 msgid ""
11644 " is-zero path\n"
11645 "\n"
11646 msgstr ""
11647
11648 #. type: textblock
11649 #: ../fish/guestfish-actions.pod:2666 ../src/guestfs-actions.pod:4060
11650 msgid ""
11651 "This returns true iff the file exists and the file is empty or it contains "
11652 "all zero bytes."
11653 msgstr ""
11654
11655 #. type: =head2
11656 #: ../fish/guestfish-actions.pod:2669
11657 msgid "is-zero-device"
11658 msgstr ""
11659
11660 #. type: verbatim
11661 #: ../fish/guestfish-actions.pod:2671
11662 #, no-wrap
11663 msgid ""
11664 " is-zero-device device\n"
11665 "\n"
11666 msgstr ""
11667
11668 #. type: textblock
11669 #: ../fish/guestfish-actions.pod:2673 ../src/guestfs-actions.pod:4073
11670 msgid "This returns true iff the device exists and contains all zero bytes."
11671 msgstr ""
11672
11673 #. type: textblock
11674 #: ../fish/guestfish-actions.pod:2675 ../src/guestfs-actions.pod:4075
11675 msgid "Note that for large devices this can take a long time to run."
11676 msgstr ""
11677
11678 #. type: =head2
11679 #: ../fish/guestfish-actions.pod:2677
11680 msgid "kill-subprocess"
11681 msgstr "kill-subprocess"
11682
11683 #. type: verbatim
11684 #: ../fish/guestfish-actions.pod:2679
11685 #, no-wrap
11686 msgid ""
11687 " kill-subprocess\n"
11688 "\n"
11689 msgstr ""
11690 " kill-subprocess\n"
11691 "\n"
11692
11693 #. type: textblock
11694 #: ../fish/guestfish-actions.pod:2681 ../src/guestfs-actions.pod:4086
11695 msgid "This kills the qemu subprocess.  You should never need to call this."
11696 msgstr ""
11697
11698 #. type: =head2
11699 #: ../fish/guestfish-actions.pod:2683
11700 msgid "launch"
11701 msgstr "launch"
11702
11703 #. type: =head2
11704 #: ../fish/guestfish-actions.pod:2685
11705 msgid "run"
11706 msgstr ""
11707
11708 #. type: verbatim
11709 #: ../fish/guestfish-actions.pod:2687
11710 #, no-wrap
11711 msgid ""
11712 " launch\n"
11713 "\n"
11714 msgstr ""
11715 " launch\n"
11716 "\n"
11717
11718 #. type: textblock
11719 #: ../fish/guestfish-actions.pod:2689 ../src/guestfs-actions.pod:4097
11720 msgid ""
11721 "Internally libguestfs is implemented by running a virtual machine using "
11722 "L<qemu(1)>."
11723 msgstr ""
11724
11725 #. type: textblock
11726 #: ../fish/guestfish-actions.pod:2692 ../src/guestfs-actions.pod:4100
11727 msgid ""
11728 "You should call this after configuring the handle (eg. adding drives) but "
11729 "before performing any actions."
11730 msgstr ""
11731
11732 #. type: =head2
11733 #: ../fish/guestfish-actions.pod:2695
11734 msgid "lchown"
11735 msgstr "lchown"
11736
11737 #. type: verbatim
11738 #: ../fish/guestfish-actions.pod:2697
11739 #, no-wrap
11740 msgid ""
11741 " lchown owner group path\n"
11742 "\n"
11743 msgstr ""
11744 " lchown власник група шлях\n"
11745 "\n"
11746
11747 #. type: textblock
11748 #: ../fish/guestfish-actions.pod:2699
11749 msgid ""
11750 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
11751 "chown> but if C<path> is a symlink then the link itself is changed, not the "
11752 "target."
11753 msgstr ""
11754
11755 #. type: =head2
11756 #: ../fish/guestfish-actions.pod:2707
11757 msgid "lgetxattr"
11758 msgstr "lgetxattr"
11759
11760 #. type: verbatim
11761 #: ../fish/guestfish-actions.pod:2709
11762 #, no-wrap
11763 msgid ""
11764 " lgetxattr path name\n"
11765 "\n"
11766 msgstr ""
11767 " lgetxattr шлях назва\n"
11768 "\n"
11769
11770 #. type: textblock
11771 #: ../fish/guestfish-actions.pod:2711 ../src/guestfs-actions.pod:4140
11772 msgid ""
11773 "Get a single extended attribute from file C<path> named C<name>.  If C<path> "
11774 "is a symlink, then this call returns an extended attribute from the symlink."
11775 msgstr ""
11776
11777 #. type: textblock
11778 #: ../fish/guestfish-actions.pod:2725
11779 msgid "See also: L</lgetxattrs>, L</getxattr>, L<attr(5)>."
11780 msgstr "Див. також L</lgetxattrs>, L</getxattr>, L<attr(5)>."
11781
11782 #. type: =head2
11783 #: ../fish/guestfish-actions.pod:2727
11784 msgid "lgetxattrs"
11785 msgstr "lgetxattrs"
11786
11787 #. type: verbatim
11788 #: ../fish/guestfish-actions.pod:2729
11789 #, no-wrap
11790 msgid ""
11791 " lgetxattrs path\n"
11792 "\n"
11793 msgstr ""
11794 " lgetxattrs шлях\n"
11795 "\n"
11796
11797 #. type: textblock
11798 #: ../fish/guestfish-actions.pod:2731
11799 msgid ""
11800 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
11801 "it returns the extended attributes of the link itself."
11802 msgstr ""
11803
11804 #. type: =head2
11805 #: ../fish/guestfish-actions.pod:2735
11806 msgid "list-9p"
11807 msgstr ""
11808
11809 #. type: verbatim
11810 #: ../fish/guestfish-actions.pod:2737
11811 #, no-wrap
11812 msgid ""
11813 " list-9p\n"
11814 "\n"
11815 msgstr ""
11816
11817 #. type: textblock
11818 #: ../fish/guestfish-actions.pod:2739 ../src/guestfs-actions.pod:4183
11819 msgid ""
11820 "List all 9p filesystems attached to the guest.  A list of mount tags is "
11821 "returned."
11822 msgstr ""
11823
11824 #. type: =head2
11825 #: ../fish/guestfish-actions.pod:2742
11826 msgid "list-devices"
11827 msgstr "list-devices"
11828
11829 #. type: verbatim
11830 #: ../fish/guestfish-actions.pod:2744
11831 #, no-wrap
11832 msgid ""
11833 " list-devices\n"
11834 "\n"
11835 msgstr ""
11836 " list-devices\n"
11837 "\n"
11838
11839 #. type: textblock
11840 #: ../fish/guestfish-actions.pod:2746 ../src/guestfs-actions.pod:4197
11841 msgid "List all the block devices."
11842 msgstr ""
11843
11844 #. type: textblock
11845 #: ../fish/guestfish-actions.pod:2748 ../src/guestfs-actions.pod:4199
11846 msgid "The full block device names are returned, eg. C</dev/sda>."
11847 msgstr ""
11848
11849 #. type: =head2
11850 #: ../fish/guestfish-actions.pod:2752
11851 msgid "list-dm-devices"
11852 msgstr ""
11853
11854 #. type: verbatim
11855 #: ../fish/guestfish-actions.pod:2754
11856 #, no-wrap
11857 msgid ""
11858 " list-dm-devices\n"
11859 "\n"
11860 msgstr ""
11861
11862 #. type: textblock
11863 #: ../fish/guestfish-actions.pod:2756 ../src/guestfs-actions.pod:4214
11864 msgid "List all device mapper devices."
11865 msgstr ""
11866
11867 #. type: textblock
11868 #: ../fish/guestfish-actions.pod:2758
11869 msgid ""
11870 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
11871 "previous call to L</luks-open>."
11872 msgstr ""
11873
11874 #. type: textblock
11875 #: ../fish/guestfish-actions.pod:2761
11876 msgid ""
11877 "Device mapper devices which correspond to logical volumes are I<not> "
11878 "returned in this list.  Call L</lvs> if you want to list logical volumes."
11879 msgstr ""
11880
11881 #. type: =head2
11882 #: ../fish/guestfish-actions.pod:2765
11883 msgid "list-filesystems"
11884 msgstr "list-filesystems"
11885
11886 #. type: verbatim
11887 #: ../fish/guestfish-actions.pod:2767
11888 #, no-wrap
11889 msgid ""
11890 " list-filesystems\n"
11891 "\n"
11892 msgstr ""
11893 " list-filesystems\n"
11894 "\n"
11895
11896 #. type: textblock
11897 #: ../fish/guestfish-actions.pod:2769 ../src/guestfs-actions.pod:4234
11898 msgid ""
11899 "This inspection command looks for filesystems on partitions, block devices "
11900 "and logical volumes, returning a list of devices containing filesystems and "
11901 "their type."
11902 msgstr ""
11903
11904 #. type: textblock
11905 #: ../fish/guestfish-actions.pod:2773 ../src/guestfs-actions.pod:4238
11906 msgid ""
11907 "The return value is a hash, where the keys are the devices containing "
11908 "filesystems, and the values are the filesystem types.  For example:"
11909 msgstr ""
11910
11911 #. type: verbatim
11912 #: ../fish/guestfish-actions.pod:2777 ../src/guestfs-actions.pod:4242
11913 #, no-wrap
11914 msgid ""
11915 " \"/dev/sda1\" => \"ntfs\"\n"
11916 " \"/dev/sda2\" => \"ext2\"\n"
11917 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
11918 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
11919 "\n"
11920 msgstr ""
11921
11922 #. type: textblock
11923 #: ../fish/guestfish-actions.pod:2782 ../src/guestfs-actions.pod:4247
11924 msgid ""
11925 "The value can have the special value \"unknown\", meaning the content of the "
11926 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
11927 msgstr ""
11928
11929 #. type: textblock
11930 #: ../fish/guestfish-actions.pod:2786
11931 msgid ""
11932 "This command runs other libguestfs commands, which might include L</mount> "
11933 "and L</umount>, and therefore you should use this soon after launch and only "
11934 "when nothing is mounted."
11935 msgstr ""
11936
11937 #. type: textblock
11938 #: ../fish/guestfish-actions.pod:2790
11939 msgid ""
11940 "Not all of the filesystems returned will be mountable.  In particular, swap "
11941 "partitions are returned in the list.  Also this command does not check that "
11942 "each filesystem found is valid and mountable, and some filesystems might be "
11943 "mountable but require special options.  Filesystems may not all belong to a "
11944 "single logical operating system (use L</inspect-os> to look for OSes)."
11945 msgstr ""
11946
11947 #. type: =head2
11948 #: ../fish/guestfish-actions.pod:2798
11949 msgid "list-partitions"
11950 msgstr "list-partitions"
11951
11952 #. type: verbatim
11953 #: ../fish/guestfish-actions.pod:2800
11954 #, no-wrap
11955 msgid ""
11956 " list-partitions\n"
11957 "\n"
11958 msgstr ""
11959 " list-partitions\n"
11960 "\n"
11961
11962 #. type: textblock
11963 #: ../fish/guestfish-actions.pod:2802 ../src/guestfs-actions.pod:4276
11964 msgid "List all the partitions detected on all block devices."
11965 msgstr ""
11966
11967 #. type: textblock
11968 #: ../fish/guestfish-actions.pod:2804 ../src/guestfs-actions.pod:4278
11969 msgid "The full partition device names are returned, eg. C</dev/sda1>"
11970 msgstr ""
11971
11972 #. type: textblock
11973 #: ../fish/guestfish-actions.pod:2806
11974 msgid ""
11975 "This does not return logical volumes.  For that you will need to call L</"
11976 "lvs>."
11977 msgstr ""
11978
11979 #. type: =head2
11980 #: ../fish/guestfish-actions.pod:2811
11981 msgid "ll"
11982 msgstr "ll"
11983
11984 #. type: verbatim
11985 #: ../fish/guestfish-actions.pod:2813
11986 #, no-wrap
11987 msgid ""
11988 " ll directory\n"
11989 "\n"
11990 msgstr ""
11991 " ll каталог\n"
11992 "\n"
11993
11994 #. type: textblock
11995 #: ../fish/guestfish-actions.pod:2815 ../src/guestfs-actions.pod:4297
11996 msgid ""
11997 "List the files in C<directory> (relative to the root directory, there is no "
11998 "cwd) in the format of 'ls -la'."
11999 msgstr ""
12000
12001 #. type: textblock
12002 #: ../fish/guestfish-actions.pod:2818 ../src/guestfs-actions.pod:4300
12003 msgid ""
12004 "This command is mostly useful for interactive sessions.  It is I<not> "
12005 "intended that you try to parse the output string."
12006 msgstr ""
12007
12008 #. type: =head2
12009 #: ../fish/guestfish-actions.pod:2821
12010 msgid "ln"
12011 msgstr "ln"
12012
12013 #. type: verbatim
12014 #: ../fish/guestfish-actions.pod:2823
12015 #, no-wrap
12016 msgid ""
12017 " ln target linkname\n"
12018 "\n"
12019 msgstr ""
12020 " ln призначення назва_посилання\n"
12021 "\n"
12022
12023 #. type: textblock
12024 #: ../fish/guestfish-actions.pod:2825 ../src/guestfs-actions.pod:4315
12025 msgid "This command creates a hard link using the C<ln> command."
12026 msgstr ""
12027
12028 #. type: =head2
12029 #: ../fish/guestfish-actions.pod:2827
12030 msgid "ln-f"
12031 msgstr "ln-f"
12032
12033 #. type: verbatim
12034 #: ../fish/guestfish-actions.pod:2829
12035 #, no-wrap
12036 msgid ""
12037 " ln-f target linkname\n"
12038 "\n"
12039 msgstr ""
12040 " ln-f призначення назва_посилання\n"
12041 "\n"
12042
12043 #. type: textblock
12044 #: ../fish/guestfish-actions.pod:2831 ../src/guestfs-actions.pod:4328
12045 msgid ""
12046 "This command creates a hard link using the C<ln -f> command.  The I<-f> "
12047 "option removes the link (C<linkname>) if it exists already."
12048 msgstr ""
12049
12050 #. type: =head2
12051 #: ../fish/guestfish-actions.pod:2834
12052 msgid "ln-s"
12053 msgstr "ln-s"
12054
12055 #. type: verbatim
12056 #: ../fish/guestfish-actions.pod:2836
12057 #, no-wrap
12058 msgid ""
12059 " ln-s target linkname\n"
12060 "\n"
12061 msgstr ""
12062 " ln-s призначення назва_посилання\n"
12063 "\n"
12064
12065 #. type: textblock
12066 #: ../fish/guestfish-actions.pod:2838 ../src/guestfs-actions.pod:4342
12067 msgid "This command creates a symbolic link using the C<ln -s> command."
12068 msgstr ""
12069
12070 #. type: =head2
12071 #: ../fish/guestfish-actions.pod:2840
12072 msgid "ln-sf"
12073 msgstr "ln-sf"
12074
12075 #. type: verbatim
12076 #: ../fish/guestfish-actions.pod:2842
12077 #, no-wrap
12078 msgid ""
12079 " ln-sf target linkname\n"
12080 "\n"
12081 msgstr ""
12082 " ln-sf призначення назва_посилання\n"
12083 "\n"
12084
12085 #. type: textblock
12086 #: ../fish/guestfish-actions.pod:2844 ../src/guestfs-actions.pod:4355
12087 msgid ""
12088 "This command creates a symbolic link using the C<ln -sf> command, The I<-f> "
12089 "option removes the link (C<linkname>) if it exists already."
12090 msgstr ""
12091
12092 #. type: =head2
12093 #: ../fish/guestfish-actions.pod:2847
12094 msgid "lremovexattr"
12095 msgstr "lremovexattr"
12096
12097 #. type: verbatim
12098 #: ../fish/guestfish-actions.pod:2849
12099 #, no-wrap
12100 msgid ""
12101 " lremovexattr xattr path\n"
12102 "\n"
12103 msgstr ""
12104
12105 #. type: textblock
12106 #: ../fish/guestfish-actions.pod:2851
12107 msgid ""
12108 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
12109 "it removes an extended attribute of the link itself."
12110 msgstr ""
12111
12112 #. type: =head2
12113 #: ../fish/guestfish-actions.pod:2855
12114 msgid "ls"
12115 msgstr "ls"
12116
12117 #. type: verbatim
12118 #: ../fish/guestfish-actions.pod:2857
12119 #, no-wrap
12120 msgid ""
12121 " ls directory\n"
12122 "\n"
12123 msgstr ""
12124 " ls каталог\n"
12125 "\n"
12126
12127 #. type: textblock
12128 #: ../fish/guestfish-actions.pod:2859 ../src/guestfs-actions.pod:4383
12129 msgid ""
12130 "List the files in C<directory> (relative to the root directory, there is no "
12131 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
12132 msgstr ""
12133
12134 #. type: textblock
12135 #: ../fish/guestfish-actions.pod:2863
12136 msgid ""
12137 "This command is mostly useful for interactive sessions.  Programs should "
12138 "probably use L</readdir> instead."
12139 msgstr ""
12140
12141 #. type: =head2
12142 #: ../fish/guestfish-actions.pod:2866
12143 msgid "lsetxattr"
12144 msgstr "lsetxattr"
12145
12146 #. type: verbatim
12147 #: ../fish/guestfish-actions.pod:2868
12148 #, no-wrap
12149 msgid ""
12150 " lsetxattr xattr val vallen path\n"
12151 "\n"
12152 msgstr ""
12153
12154 #. type: textblock
12155 #: ../fish/guestfish-actions.pod:2870
12156 msgid ""
12157 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
12158 "sets an extended attribute of the link itself."
12159 msgstr ""
12160
12161 #. type: =head2
12162 #: ../fish/guestfish-actions.pod:2874
12163 msgid "lstat"
12164 msgstr "lstat"
12165
12166 #. type: verbatim
12167 #: ../fish/guestfish-actions.pod:2876
12168 #, no-wrap
12169 msgid ""
12170 " lstat path\n"
12171 "\n"
12172 msgstr ""
12173 " lstat шлях\n"
12174 "\n"
12175
12176 #. type: textblock
12177 #: ../fish/guestfish-actions.pod:2878 ../fish/guestfish-actions.pod:4678
12178 #: ../src/guestfs-actions.pod:4419 ../src/guestfs-actions.pod:7200
12179 msgid "Returns file information for the given C<path>."
12180 msgstr ""
12181
12182 #. type: textblock
12183 #: ../fish/guestfish-actions.pod:2880
12184 msgid ""
12185 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
12186 "the link is stat-ed, not the file it refers to."
12187 msgstr ""
12188
12189 #. type: textblock
12190 #: ../fish/guestfish-actions.pod:2884 ../src/guestfs-actions.pod:4425
12191 msgid "This is the same as the C<lstat(2)> system call."
12192 msgstr ""
12193
12194 #. type: =head2
12195 #: ../fish/guestfish-actions.pod:2886
12196 msgid "lstatlist"
12197 msgstr "lstatlist"
12198
12199 #. type: verbatim
12200 #: ../fish/guestfish-actions.pod:2888
12201 #, no-wrap
12202 msgid ""
12203 " lstatlist path 'names ...'\n"
12204 "\n"
12205 msgstr ""
12206
12207 #. type: textblock
12208 #: ../fish/guestfish-actions.pod:2890
12209 msgid ""
12210 "This call allows you to perform the L</lstat> operation on multiple files, "
12211 "where all files are in the directory C<path>.  C<names> is the list of files "
12212 "from this directory."
12213 msgstr ""
12214
12215 #. type: textblock
12216 #: ../fish/guestfish-actions.pod:2894 ../src/guestfs-actions.pod:4444
12217 msgid ""
12218 "On return you get a list of stat structs, with a one-to-one correspondence "
12219 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
12220 "then the C<ino> field of that structure is set to C<-1>."
12221 msgstr ""
12222
12223 #. type: textblock
12224 #: ../fish/guestfish-actions.pod:2899
12225 msgid ""
12226 "This call is intended for programs that want to efficiently list a directory "
12227 "contents without making many round-trips.  See also L</lxattrlist> for a "
12228 "similarly efficient call for getting extended attributes.  Very long "
12229 "directory listings might cause the protocol message size to be exceeded, "
12230 "causing this call to fail.  The caller must split up such requests into "
12231 "smaller groups of names."
12232 msgstr ""
12233
12234 #. type: =head2
12235 #: ../fish/guestfish-actions.pod:2907
12236 msgid "luks-add-key"
12237 msgstr "luks-add-key"
12238
12239 #. type: verbatim
12240 #: ../fish/guestfish-actions.pod:2909
12241 #, no-wrap
12242 msgid ""
12243 " luks-add-key device keyslot\n"
12244 "\n"
12245 msgstr ""
12246
12247 #. type: textblock
12248 #: ../fish/guestfish-actions.pod:2911 ../src/guestfs-actions.pod:4472
12249 msgid ""
12250 "This command adds a new key on LUKS device C<device>.  C<key> is any "
12251 "existing key, and is used to access the device.  C<newkey> is the new key to "
12252 "add.  C<keyslot> is the key slot that will be replaced."
12253 msgstr ""
12254
12255 #. type: textblock
12256 #: ../fish/guestfish-actions.pod:2916
12257 msgid ""
12258 "Note that if C<keyslot> already contains a key, then this command will "
12259 "fail.  You have to use L</luks-kill-slot> first to remove that key."
12260 msgstr ""
12261
12262 #. type: textblock
12263 #: ../fish/guestfish-actions.pod:2920 ../fish/guestfish-actions.pod:2942
12264 #: ../fish/guestfish-actions.pod:2952 ../fish/guestfish-actions.pod:2963
12265 #: ../fish/guestfish-actions.pod:2989 ../fish/guestfish-actions.pod:2999
12266 msgid ""
12267 "This command has one or more key or passphrase parameters.  Guestfish will "
12268 "prompt for these separately."
12269 msgstr ""
12270
12271 #. type: =head2
12272 #: ../fish/guestfish-actions.pod:2923
12273 msgid "luks-close"
12274 msgstr "luks-close"
12275
12276 #. type: verbatim
12277 #: ../fish/guestfish-actions.pod:2925
12278 #, no-wrap
12279 msgid ""
12280 " luks-close device\n"
12281 "\n"
12282 msgstr ""
12283 " luks-close пристрій\n"
12284 "\n"
12285
12286 #. type: textblock
12287 #: ../fish/guestfish-actions.pod:2927
12288 msgid ""
12289 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
12290 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
12291 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
12292 "block device."
12293 msgstr ""
12294
12295 #. type: =head2
12296 #: ../fish/guestfish-actions.pod:2933
12297 msgid "luks-format"
12298 msgstr "luks-format"
12299
12300 #. type: verbatim
12301 #: ../fish/guestfish-actions.pod:2935
12302 #, no-wrap
12303 msgid ""
12304 " luks-format device keyslot\n"
12305 "\n"
12306 msgstr ""
12307
12308 #. type: textblock
12309 #: ../fish/guestfish-actions.pod:2937 ../src/guestfs-actions.pod:4513
12310 msgid ""
12311 "This command erases existing data on C<device> and formats the device as a "
12312 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
12313 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
12314 msgstr ""
12315
12316 #. type: =head2
12317 #: ../fish/guestfish-actions.pod:2945
12318 msgid "luks-format-cipher"
12319 msgstr "luks-format-cipher"
12320
12321 #. type: verbatim
12322 #: ../fish/guestfish-actions.pod:2947
12323 #, no-wrap
12324 msgid ""
12325 " luks-format-cipher device keyslot cipher\n"
12326 "\n"
12327 msgstr ""
12328
12329 #. type: textblock
12330 #: ../fish/guestfish-actions.pod:2949
12331 msgid ""
12332 "This command is the same as L</luks-format> but it also allows you to set "
12333 "the C<cipher> used."
12334 msgstr ""
12335
12336 #. type: =head2
12337 #: ../fish/guestfish-actions.pod:2955
12338 msgid "luks-kill-slot"
12339 msgstr "luks-kill-slot"
12340
12341 #. type: verbatim
12342 #: ../fish/guestfish-actions.pod:2957
12343 #, no-wrap
12344 msgid ""
12345 " luks-kill-slot device keyslot\n"
12346 "\n"
12347 msgstr ""
12348
12349 #. type: textblock
12350 #: ../fish/guestfish-actions.pod:2959 ../src/guestfs-actions.pod:4554
12351 msgid ""
12352 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
12353 "device C<device>.  C<key> must be one of the I<other> keys."
12354 msgstr ""
12355
12356 #. type: =head2
12357 #: ../fish/guestfish-actions.pod:2966
12358 msgid "luks-open"
12359 msgstr "luks-open"
12360
12361 #. type: verbatim
12362 #: ../fish/guestfish-actions.pod:2968
12363 #, no-wrap
12364 msgid ""
12365 " luks-open device mapname\n"
12366 "\n"
12367 msgstr ""
12368
12369 #. type: textblock
12370 #: ../fish/guestfish-actions.pod:2970 ../src/guestfs-actions.pod:4574
12371 msgid ""
12372 "This command opens a block device which has been encrypted according to the "
12373 "Linux Unified Key Setup (LUKS) standard."
12374 msgstr ""
12375
12376 #. type: textblock
12377 #: ../fish/guestfish-actions.pod:2973 ../src/guestfs-actions.pod:4577
12378 msgid "C<device> is the encrypted block device or partition."
12379 msgstr ""
12380
12381 #. type: textblock
12382 #: ../fish/guestfish-actions.pod:2975 ../src/guestfs-actions.pod:4579
12383 msgid ""
12384 "The caller must supply one of the keys associated with the LUKS block "
12385 "device, in the C<key> parameter."
12386 msgstr ""
12387
12388 #. type: textblock
12389 #: ../fish/guestfish-actions.pod:2978 ../src/guestfs-actions.pod:4582
12390 msgid ""
12391 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
12392 "writes to this block device are decrypted from and encrypted to the "
12393 "underlying C<device> respectively."
12394 msgstr ""
12395
12396 #. type: textblock
12397 #: ../fish/guestfish-actions.pod:2982
12398 msgid ""
12399 "If this block device contains LVM volume groups, then calling L</vgscan> "
12400 "followed by L</vg-activate-all> will make them visible."
12401 msgstr ""
12402
12403 #. type: textblock
12404 #: ../fish/guestfish-actions.pod:2986
12405 msgid "Use L</list-dm-devices> to list all device mapper devices."
12406 msgstr ""
12407
12408 #. type: =head2
12409 #: ../fish/guestfish-actions.pod:2992
12410 msgid "luks-open-ro"
12411 msgstr "luks-open-ro"
12412
12413 #. type: verbatim
12414 #: ../fish/guestfish-actions.pod:2994
12415 #, no-wrap
12416 msgid ""
12417 " luks-open-ro device mapname\n"
12418 "\n"
12419 msgstr ""
12420
12421 #. type: textblock
12422 #: ../fish/guestfish-actions.pod:2996
12423 msgid ""
12424 "This is the same as L</luks-open> except that a read-only mapping is created."
12425 msgstr ""
12426
12427 #. type: =head2
12428 #: ../fish/guestfish-actions.pod:3002
12429 msgid "lvcreate"
12430 msgstr "lvcreate"
12431
12432 #. type: verbatim
12433 #: ../fish/guestfish-actions.pod:3004
12434 #, no-wrap
12435 msgid ""
12436 " lvcreate logvol volgroup mbytes\n"
12437 "\n"
12438 msgstr ""
12439
12440 #. type: textblock
12441 #: ../fish/guestfish-actions.pod:3006 ../src/guestfs-actions.pod:4628
12442 msgid ""
12443 "This creates an LVM logical volume called C<logvol> on the volume group "
12444 "C<volgroup>, with C<size> megabytes."
12445 msgstr ""
12446
12447 #. type: =head2
12448 #: ../fish/guestfish-actions.pod:3009
12449 msgid "lvm-canonical-lv-name"
12450 msgstr "lvm-canonical-lv-name"
12451
12452 #. type: verbatim
12453 #: ../fish/guestfish-actions.pod:3011
12454 #, no-wrap
12455 msgid ""
12456 " lvm-canonical-lv-name lvname\n"
12457 "\n"
12458 msgstr ""
12459
12460 #. type: textblock
12461 #: ../fish/guestfish-actions.pod:3013 ../src/guestfs-actions.pod:4641
12462 msgid ""
12463 "This converts alternative naming schemes for LVs that you might find to the "
12464 "canonical name.  For example, C</dev/mapper/VG-LV> is converted to C</dev/VG/"
12465 "LV>."
12466 msgstr ""
12467
12468 #. type: textblock
12469 #: ../fish/guestfish-actions.pod:3017 ../src/guestfs-actions.pod:4645
12470 msgid ""
12471 "This command returns an error if the C<lvname> parameter does not refer to a "
12472 "logical volume."
12473 msgstr ""
12474
12475 #. type: textblock
12476 #: ../fish/guestfish-actions.pod:3020
12477 msgid "See also L</is-lv>."
12478 msgstr "Див. також L</is-lv>."
12479
12480 #. type: =head2
12481 #: ../fish/guestfish-actions.pod:3022
12482 msgid "lvm-clear-filter"
12483 msgstr "lvm-clear-filter"
12484
12485 #. type: verbatim
12486 #: ../fish/guestfish-actions.pod:3024
12487 #, no-wrap
12488 msgid ""
12489 " lvm-clear-filter\n"
12490 "\n"
12491 msgstr ""
12492 " lvm-clear-filter\n"
12493 "\n"
12494
12495 #. type: textblock
12496 #: ../fish/guestfish-actions.pod:3026
12497 msgid ""
12498 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
12499 "block device."
12500 msgstr ""
12501
12502 #. type: textblock
12503 #: ../fish/guestfish-actions.pod:3029 ../fish/guestfish-actions.pod:3057
12504 #: ../src/guestfs-actions.pod:4663 ../src/guestfs-actions.pod:4702
12505 msgid ""
12506 "This command also clears the LVM cache and performs a volume group scan."
12507 msgstr ""
12508
12509 #. type: =head2
12510 #: ../fish/guestfish-actions.pod:3032
12511 msgid "lvm-remove-all"
12512 msgstr "lvm-remove-all"
12513
12514 #. type: verbatim
12515 #: ../fish/guestfish-actions.pod:3034
12516 #, no-wrap
12517 msgid ""
12518 " lvm-remove-all\n"
12519 "\n"
12520 msgstr ""
12521 " lvm-remove-all\n"
12522 "\n"
12523
12524 #. type: textblock
12525 #: ../fish/guestfish-actions.pod:3036 ../src/guestfs-actions.pod:4675
12526 msgid ""
12527 "This command removes all LVM logical volumes, volume groups and physical "
12528 "volumes."
12529 msgstr ""
12530
12531 #. type: =head2
12532 #: ../fish/guestfish-actions.pod:3039
12533 msgid "lvm-set-filter"
12534 msgstr "lvm-set-filter"
12535
12536 #. type: verbatim
12537 #: ../fish/guestfish-actions.pod:3041
12538 #, no-wrap
12539 msgid ""
12540 " lvm-set-filter 'devices ...'\n"
12541 "\n"
12542 msgstr ""
12543 " lvm-set-filter 'пристрої...'\n"
12544 "\n"
12545
12546 #. type: textblock
12547 #: ../fish/guestfish-actions.pod:3043 ../src/guestfs-actions.pod:4688
12548 msgid ""
12549 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
12550 "block devices in the list C<devices>, and will ignore all other attached "
12551 "block devices."
12552 msgstr ""
12553
12554 #. type: textblock
12555 #: ../fish/guestfish-actions.pod:3047 ../src/guestfs-actions.pod:4692
12556 msgid ""
12557 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
12558 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
12559 "there are two types of duplication possible: either cloned PVs/VGs which "
12560 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
12561 "same name.  In normal operation you cannot create this situation, but you "
12562 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
12563 "inside the LVM metadata."
12564 msgstr ""
12565
12566 #. type: textblock
12567 #: ../fish/guestfish-actions.pod:3060 ../src/guestfs-actions.pod:4705
12568 msgid "You can filter whole block devices or individual partitions."
12569 msgstr ""
12570
12571 #. type: textblock
12572 #: ../fish/guestfish-actions.pod:3062 ../src/guestfs-actions.pod:4707
12573 msgid ""
12574 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
12575 "filesystem), even if you are not filtering out that VG."
12576 msgstr ""
12577
12578 #. type: =head2
12579 #: ../fish/guestfish-actions.pod:3066
12580 msgid "lvremove"
12581 msgstr "lvremove"
12582
12583 #. type: verbatim
12584 #: ../fish/guestfish-actions.pod:3068
12585 #, no-wrap
12586 msgid ""
12587 " lvremove device\n"
12588 "\n"
12589 msgstr ""
12590 " lvremove пристрій\n"
12591 "\n"
12592
12593 #. type: textblock
12594 #: ../fish/guestfish-actions.pod:3070 ../src/guestfs-actions.pod:4721
12595 msgid ""
12596 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
12597 "LV, such as C</dev/VG/LV>."
12598 msgstr ""
12599
12600 #. type: textblock
12601 #: ../fish/guestfish-actions.pod:3073 ../src/guestfs-actions.pod:4724
12602 msgid ""
12603 "You can also remove all LVs in a volume group by specifying the VG name, C</"
12604 "dev/VG>."
12605 msgstr ""
12606
12607 #. type: =head2
12608 #: ../fish/guestfish-actions.pod:3076
12609 msgid "lvrename"
12610 msgstr "lvrename"
12611
12612 #. type: verbatim
12613 #: ../fish/guestfish-actions.pod:3078
12614 #, no-wrap
12615 msgid ""
12616 " lvrename logvol newlogvol\n"
12617 "\n"
12618 msgstr ""
12619
12620 #. type: textblock
12621 #: ../fish/guestfish-actions.pod:3080 ../src/guestfs-actions.pod:4738
12622 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
12623 msgstr ""
12624
12625 #. type: =head2
12626 #: ../fish/guestfish-actions.pod:3082
12627 msgid "lvresize"
12628 msgstr "lvresize"
12629
12630 #. type: verbatim
12631 #: ../fish/guestfish-actions.pod:3084
12632 #, no-wrap
12633 msgid ""
12634 " lvresize device mbytes\n"
12635 "\n"
12636 msgstr ""
12637
12638 #. type: textblock
12639 #: ../fish/guestfish-actions.pod:3086 ../src/guestfs-actions.pod:4751
12640 msgid ""
12641 "This resizes (expands or shrinks) an existing LVM logical volume to "
12642 "C<mbytes>.  When reducing, data in the reduced part is lost."
12643 msgstr ""
12644
12645 #. type: =head2
12646 #: ../fish/guestfish-actions.pod:3090
12647 msgid "lvresize-free"
12648 msgstr "lvresize-free"
12649
12650 #. type: verbatim
12651 #: ../fish/guestfish-actions.pod:3092
12652 #, no-wrap
12653 msgid ""
12654 " lvresize-free lv percent\n"
12655 "\n"
12656 msgstr ""
12657
12658 #. type: textblock
12659 #: ../fish/guestfish-actions.pod:3094 ../src/guestfs-actions.pod:4766
12660 msgid ""
12661 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
12662 "remaining free space in the volume group.  Commonly you would call this with "
12663 "pc = 100 which expands the logical volume as much as possible, using all "
12664 "remaining free space in the volume group."
12665 msgstr ""
12666
12667 #. type: =head2
12668 #: ../fish/guestfish-actions.pod:3100
12669 msgid "lvs"
12670 msgstr "lvs"
12671
12672 #. type: verbatim
12673 #: ../fish/guestfish-actions.pod:3102
12674 #, no-wrap
12675 msgid ""
12676 " lvs\n"
12677 "\n"
12678 msgstr ""
12679 " lvs\n"
12680 "\n"
12681
12682 #. type: textblock
12683 #: ../fish/guestfish-actions.pod:3104 ../src/guestfs-actions.pod:4781
12684 msgid ""
12685 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
12686 "(8)> command."
12687 msgstr ""
12688
12689 #. type: textblock
12690 #: ../fish/guestfish-actions.pod:3107 ../src/guestfs-actions.pod:4784
12691 msgid ""
12692 "This returns a list of the logical volume device names (eg. C</dev/"
12693 "VolGroup00/LogVol00>)."
12694 msgstr ""
12695
12696 #. type: textblock
12697 #: ../fish/guestfish-actions.pod:3110
12698 msgid "See also L</lvs-full>, L</list-filesystems>."
12699 msgstr "Див. також L</lvs-full>, L</list-filesystems>."
12700
12701 #. type: =head2
12702 #: ../fish/guestfish-actions.pod:3112
12703 msgid "lvs-full"
12704 msgstr "lvs-full"
12705
12706 #. type: verbatim
12707 #: ../fish/guestfish-actions.pod:3114
12708 #, no-wrap
12709 msgid ""
12710 " lvs-full\n"
12711 "\n"
12712 msgstr ""
12713 " lvs-full\n"
12714 "\n"
12715
12716 #. type: textblock
12717 #: ../fish/guestfish-actions.pod:3116 ../src/guestfs-actions.pod:4800
12718 msgid ""
12719 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
12720 "(8)> command.  The \"full\" version includes all fields."
12721 msgstr ""
12722
12723 #. type: =head2
12724 #: ../fish/guestfish-actions.pod:3119
12725 msgid "lvuuid"
12726 msgstr "lvuuid"
12727
12728 #. type: verbatim
12729 #: ../fish/guestfish-actions.pod:3121
12730 #, no-wrap
12731 msgid ""
12732 " lvuuid device\n"
12733 "\n"
12734 msgstr ""
12735 " lvuuid пристрій\n"
12736 "\n"
12737
12738 #. type: textblock
12739 #: ../fish/guestfish-actions.pod:3123 ../src/guestfs-actions.pod:4815
12740 msgid "This command returns the UUID of the LVM LV C<device>."
12741 msgstr ""
12742
12743 #. type: =head2
12744 #: ../fish/guestfish-actions.pod:3125
12745 msgid "lxattrlist"
12746 msgstr "lxattrlist"
12747
12748 #. type: verbatim
12749 #: ../fish/guestfish-actions.pod:3127
12750 #, no-wrap
12751 msgid ""
12752 " lxattrlist path 'names ...'\n"
12753 "\n"
12754 msgstr ""
12755
12756 #. type: textblock
12757 #: ../fish/guestfish-actions.pod:3129 ../src/guestfs-actions.pod:4829
12758 msgid ""
12759 "This call allows you to get the extended attributes of multiple files, where "
12760 "all files are in the directory C<path>.  C<names> is the list of files from "
12761 "this directory."
12762 msgstr ""
12763
12764 #. type: textblock
12765 #: ../fish/guestfish-actions.pod:3133 ../src/guestfs-actions.pod:4833
12766 msgid ""
12767 "On return you get a flat list of xattr structs which must be interpreted "
12768 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
12769 "C<attrval> in this struct is zero-length to indicate there was an error "
12770 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
12771 "number (the number of following attributes for this file, which could be C<"
12772 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
12773 "for the first named file.  This repeats for the second and subsequent files."
12774 msgstr ""
12775
12776 #. type: textblock
12777 #: ../fish/guestfish-actions.pod:3143
12778 msgid ""
12779 "This call is intended for programs that want to efficiently list a directory "
12780 "contents without making many round-trips.  See also L</lstatlist> for a "
12781 "similarly efficient call for getting standard stats.  Very long directory "
12782 "listings might cause the protocol message size to be exceeded, causing this "
12783 "call to fail.  The caller must split up such requests into smaller groups of "
12784 "names."
12785 msgstr ""
12786
12787 #. type: =head2
12788 #: ../fish/guestfish-actions.pod:3151
12789 msgid "mkdir"
12790 msgstr "mkdir"
12791
12792 #. type: verbatim
12793 #: ../fish/guestfish-actions.pod:3153
12794 #, no-wrap
12795 msgid ""
12796 " mkdir path\n"
12797 "\n"
12798 msgstr ""
12799 " mkdir шлях\n"
12800 "\n"
12801
12802 #. type: textblock
12803 #: ../fish/guestfish-actions.pod:3155 ../src/guestfs-actions.pod:4863
12804 msgid "Create a directory named C<path>."
12805 msgstr ""
12806
12807 #. type: =head2
12808 #: ../fish/guestfish-actions.pod:3157
12809 msgid "mkdir-mode"
12810 msgstr "mkdir-mode"
12811
12812 #. type: verbatim
12813 #: ../fish/guestfish-actions.pod:3159
12814 #, no-wrap
12815 msgid ""
12816 " mkdir-mode path mode\n"
12817 "\n"
12818 msgstr ""
12819 " mkdir-mode шлях режим\n"
12820 "\n"
12821
12822 #. type: textblock
12823 #: ../fish/guestfish-actions.pod:3161 ../src/guestfs-actions.pod:4876
12824 msgid ""
12825 "This command creates a directory, setting the initial permissions of the "
12826 "directory to C<mode>."
12827 msgstr ""
12828
12829 #. type: textblock
12830 #: ../fish/guestfish-actions.pod:3164 ../src/guestfs-actions.pod:4879
12831 msgid ""
12832 "For common Linux filesystems, the actual mode which is set will be C<mode & "
12833 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
12834 "other ways."
12835 msgstr ""
12836
12837 #. type: textblock
12838 #: ../fish/guestfish-actions.pod:3168
12839 msgid "See also L</mkdir>, L</umask>"
12840 msgstr "Див. також L</mkdir>, L</umask>"
12841
12842 #. type: =head2
12843 #: ../fish/guestfish-actions.pod:3170
12844 msgid "mkdir-p"
12845 msgstr "mkdir-p"
12846
12847 #. type: verbatim
12848 #: ../fish/guestfish-actions.pod:3172
12849 #, no-wrap
12850 msgid ""
12851 " mkdir-p path\n"
12852 "\n"
12853 msgstr ""
12854 " mkdir-p шлях\n"
12855 "\n"
12856
12857 #. type: textblock
12858 #: ../fish/guestfish-actions.pod:3174 ../src/guestfs-actions.pod:4895
12859 msgid ""
12860 "Create a directory named C<path>, creating any parent directories as "
12861 "necessary.  This is like the C<mkdir -p> shell command."
12862 msgstr ""
12863
12864 #. type: =head2
12865 #: ../fish/guestfish-actions.pod:3177
12866 msgid "mkdtemp"
12867 msgstr "mkdtemp"
12868
12869 #. type: verbatim
12870 #: ../fish/guestfish-actions.pod:3179
12871 #, no-wrap
12872 msgid ""
12873 " mkdtemp template\n"
12874 "\n"
12875 msgstr ""
12876 " mkdtemp шаблон\n"
12877 "\n"
12878
12879 #. type: textblock
12880 #: ../fish/guestfish-actions.pod:3181 ../src/guestfs-actions.pod:4908
12881 msgid ""
12882 "This command creates a temporary directory.  The C<template> parameter "
12883 "should be a full pathname for the temporary directory name with the final "
12884 "six characters being \"XXXXXX\"."
12885 msgstr ""
12886
12887 #. type: textblock
12888 #: ../fish/guestfish-actions.pod:3186 ../src/guestfs-actions.pod:4913
12889 msgid ""
12890 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
12891 "being suitable for Windows filesystems."
12892 msgstr ""
12893
12894 #. type: textblock
12895 #: ../fish/guestfish-actions.pod:3189 ../src/guestfs-actions.pod:4916
12896 msgid "The name of the temporary directory that was created is returned."
12897 msgstr ""
12898
12899 #. type: textblock
12900 #: ../fish/guestfish-actions.pod:3192 ../src/guestfs-actions.pod:4919
12901 msgid "The temporary directory is created with mode 0700 and is owned by root."
12902 msgstr ""
12903
12904 #. type: textblock
12905 #: ../fish/guestfish-actions.pod:3195 ../src/guestfs-actions.pod:4922
12906 msgid ""
12907 "The caller is responsible for deleting the temporary directory and its "
12908 "contents after use."
12909 msgstr ""
12910
12911 #. type: textblock
12912 #: ../fish/guestfish-actions.pod:3198 ../src/guestfs-actions.pod:4925
12913 msgid "See also: L<mkdtemp(3)>"
12914 msgstr "Див. також L<mkdtemp(3)>"
12915
12916 #. type: =head2
12917 #: ../fish/guestfish-actions.pod:3200
12918 msgid "mke2fs-J"
12919 msgstr "mke2fs-J"
12920
12921 #. type: verbatim
12922 #: ../fish/guestfish-actions.pod:3202
12923 #, no-wrap
12924 msgid ""
12925 " mke2fs-J fstype blocksize device journal\n"
12926 "\n"
12927 msgstr ""
12928
12929 #. type: textblock
12930 #: ../fish/guestfish-actions.pod:3204 ../src/guestfs-actions.pod:4941
12931 msgid ""
12932 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
12933 "C<journal>.  It is equivalent to the command:"
12934 msgstr ""
12935
12936 #. type: verbatim
12937 #: ../fish/guestfish-actions.pod:3208 ../src/guestfs-actions.pod:4945
12938 #, no-wrap
12939 msgid ""
12940 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
12941 "\n"
12942 msgstr ""
12943 " mke2fs -t fstype -b blocksize -J device=<журнал> <пристрій>\n"
12944 "\n"
12945
12946 #. type: textblock
12947 #: ../fish/guestfish-actions.pod:3210
12948 msgid "See also L</mke2journal>."
12949 msgstr "Див. також L</mke2journal>."
12950
12951 #. type: =head2
12952 #: ../fish/guestfish-actions.pod:3212
12953 msgid "mke2fs-JL"
12954 msgstr "mke2fs-JL"
12955
12956 #. type: verbatim
12957 #: ../fish/guestfish-actions.pod:3214
12958 #, no-wrap
12959 msgid ""
12960 " mke2fs-JL fstype blocksize device label\n"
12961 "\n"
12962 msgstr ""
12963
12964 #. type: textblock
12965 #: ../fish/guestfish-actions.pod:3216 ../src/guestfs-actions.pod:4962
12966 msgid ""
12967 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
12968 "the journal labeled C<label>."
12969 msgstr ""
12970
12971 #. type: textblock
12972 #: ../fish/guestfish-actions.pod:3219
12973 msgid "See also L</mke2journal-L>."
12974 msgstr "Див. також L</mke2journal-L>."
12975
12976 #. type: =head2
12977 #: ../fish/guestfish-actions.pod:3221
12978 msgid "mke2fs-JU"
12979 msgstr "mke2fs-JU"
12980
12981 #. type: verbatim
12982 #: ../fish/guestfish-actions.pod:3223
12983 #, no-wrap
12984 msgid ""
12985 " mke2fs-JU fstype blocksize device uuid\n"
12986 "\n"
12987 msgstr ""
12988
12989 #. type: textblock
12990 #: ../fish/guestfish-actions.pod:3225 ../src/guestfs-actions.pod:4980
12991 msgid ""
12992 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
12993 "the journal with UUID C<uuid>."
12994 msgstr ""
12995
12996 #. type: textblock
12997 #: ../fish/guestfish-actions.pod:3228
12998 msgid "See also L</mke2journal-U>."
12999 msgstr "Див. також L</mke2journal-U>."
13000
13001 #. type: =head2
13002 #: ../fish/guestfish-actions.pod:3230
13003 msgid "mke2journal"
13004 msgstr "mke2journal"
13005
13006 #. type: verbatim
13007 #: ../fish/guestfish-actions.pod:3232
13008 #, no-wrap
13009 msgid ""
13010 " mke2journal blocksize device\n"
13011 "\n"
13012 msgstr ""
13013
13014 #. type: textblock
13015 #: ../fish/guestfish-actions.pod:3234 ../src/guestfs-actions.pod:4996
13016 msgid ""
13017 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
13018 "command:"
13019 msgstr ""
13020
13021 #. type: verbatim
13022 #: ../fish/guestfish-actions.pod:3237 ../src/guestfs-actions.pod:4999
13023 #, no-wrap
13024 msgid ""
13025 " mke2fs -O journal_dev -b blocksize device\n"
13026 "\n"
13027 msgstr ""
13028
13029 #. type: =head2
13030 #: ../fish/guestfish-actions.pod:3239
13031 msgid "mke2journal-L"
13032 msgstr "mke2journal-L"
13033
13034 #. type: verbatim
13035 #: ../fish/guestfish-actions.pod:3241
13036 #, no-wrap
13037 msgid ""
13038 " mke2journal-L blocksize label device\n"
13039 "\n"
13040 msgstr ""
13041
13042 #. type: textblock
13043 #: ../fish/guestfish-actions.pod:3243 ../src/guestfs-actions.pod:5013
13044 msgid "This creates an ext2 external journal on C<device> with label C<label>."
13045 msgstr ""
13046
13047 #. type: =head2
13048 #: ../fish/guestfish-actions.pod:3245
13049 msgid "mke2journal-U"
13050 msgstr "mke2journal-U"
13051
13052 #. type: verbatim
13053 #: ../fish/guestfish-actions.pod:3247
13054 #, no-wrap
13055 msgid ""
13056 " mke2journal-U blocksize uuid device\n"
13057 "\n"
13058 msgstr ""
13059
13060 #. type: textblock
13061 #: ../fish/guestfish-actions.pod:3249 ../src/guestfs-actions.pod:5027
13062 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
13063 msgstr ""
13064
13065 #. type: =head2
13066 #: ../fish/guestfish-actions.pod:3251
13067 msgid "mkfifo"
13068 msgstr "mkfifo"
13069
13070 #. type: verbatim
13071 #: ../fish/guestfish-actions.pod:3253
13072 #, no-wrap
13073 msgid ""
13074 " mkfifo mode path\n"
13075 "\n"
13076 msgstr ""
13077 " mkfifo режим шлях\n"
13078 "\n"
13079
13080 #. type: textblock
13081 #: ../fish/guestfish-actions.pod:3255
13082 msgid ""
13083 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
13084 "is just a convenient wrapper around L</mknod>."
13085 msgstr ""
13086
13087 #. type: =head2
13088 #: ../fish/guestfish-actions.pod:3261
13089 msgid "mkfs"
13090 msgstr "mkfs"
13091
13092 #. type: verbatim
13093 #: ../fish/guestfish-actions.pod:3263
13094 #, no-wrap
13095 msgid ""
13096 " mkfs fstype device\n"
13097 "\n"
13098 msgstr ""
13099 " mkfs тип_файлової_системи пристрій\n"
13100 "\n"
13101
13102 #. type: textblock
13103 #: ../fish/guestfish-actions.pod:3265 ../src/guestfs-actions.pod:5057
13104 msgid ""
13105 "This creates a filesystem on C<device> (usually a partition or LVM logical "
13106 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
13107 msgstr ""
13108
13109 #. type: =head2
13110 #: ../fish/guestfish-actions.pod:3269
13111 msgid "mkfs-b"
13112 msgstr "mkfs-b"
13113
13114 #. type: verbatim
13115 #: ../fish/guestfish-actions.pod:3271
13116 #, no-wrap
13117 msgid ""
13118 " mkfs-b fstype blocksize device\n"
13119 "\n"
13120 msgstr ""
13121
13122 #. type: textblock
13123 #: ../fish/guestfish-actions.pod:3273
13124 msgid ""
13125 "This call is similar to L</mkfs>, but it allows you to control the block "
13126 "size of the resulting filesystem.  Supported block sizes depend on the "
13127 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
13128 msgstr ""
13129
13130 #. type: textblock
13131 #: ../fish/guestfish-actions.pod:3278 ../fish/guestfish-actions.pod:3305
13132 #: ../src/guestfs-actions.pod:5085 ../src/guestfs-actions.pod:5123
13133 msgid ""
13134 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
13135 "cluster size."
13136 msgstr ""
13137
13138 #. type: textblock
13139 #: ../fish/guestfish-actions.pod:3281
13140 msgid ""
13141 "I<This function is deprecated.> In new code, use the L</mkfs_opts> call "
13142 "instead."
13143 msgstr ""
13144
13145 #. type: =head2
13146 #: ../fish/guestfish-actions.pod:3288
13147 msgid "mkfs-opts"
13148 msgstr "mkfs-opts"
13149
13150 #. type: verbatim
13151 #: ../fish/guestfish-actions.pod:3290
13152 #, no-wrap
13153 msgid ""
13154 " mkfs-opts fstype device [blocksize:N] [features:..] [inode:N] [sectorsize:N]\n"
13155 "\n"
13156 msgstr ""
13157
13158 #. type: textblock
13159 #: ../fish/guestfish-actions.pod:3292 ../src/guestfs-actions.pod:5110
13160 msgid ""
13161 "This function creates a filesystem on C<device>.  The filesystem type is "
13162 "C<fstype>, for example C<ext3>."
13163 msgstr ""
13164
13165 #. type: =item
13166 #: ../fish/guestfish-actions.pod:3299 ../src/guestfs-actions.pod:5117
13167 msgid "C<blocksize>"
13168 msgstr "C<blocksize>"
13169
13170 #. type: textblock
13171 #: ../fish/guestfish-actions.pod:3301 ../src/guestfs-actions.pod:5119
13172 msgid ""
13173 "The filesystem block size.  Supported block sizes depend on the filesystem "
13174 "type, but typically they are C<1024>, C<2048> or C<4096> for Linux ext2/3 "
13175 "filesystems."
13176 msgstr ""
13177
13178 #. type: textblock
13179 #: ../fish/guestfish-actions.pod:3308 ../src/guestfs-actions.pod:5126
13180 msgid "For UFS block sizes, please see L<mkfs.ufs(8)>."
13181 msgstr ""
13182
13183 #. type: =item
13184 #: ../fish/guestfish-actions.pod:3310 ../src/guestfs-actions.pod:5128
13185 msgid "C<features>"
13186 msgstr "C<features>"
13187
13188 #. type: textblock
13189 #: ../fish/guestfish-actions.pod:3312 ../src/guestfs-actions.pod:5130
13190 msgid "This passes the I<-O> parameter to the external mkfs program."
13191 msgstr ""
13192
13193 #. type: textblock
13194 #: ../fish/guestfish-actions.pod:3314 ../src/guestfs-actions.pod:5132
13195 msgid ""
13196 "For certain filesystem types, this allows extra filesystem features to be "
13197 "selected.  See L<mke2fs(8)> and L<mkfs.ufs(8)> for more details."
13198 msgstr ""
13199
13200 #. type: textblock
13201 #: ../fish/guestfish-actions.pod:3318 ../src/guestfs-actions.pod:5136
13202 msgid ""
13203 "You cannot use this optional parameter with the C<gfs> or C<gfs2> filesystem "
13204 "type."
13205 msgstr ""
13206
13207 #. type: =item
13208 #: ../fish/guestfish-actions.pod:3321 ../src/guestfs-actions.pod:5139
13209 msgid "C<inode>"
13210 msgstr "C<inode>"
13211
13212 #. type: textblock
13213 #: ../fish/guestfish-actions.pod:3323 ../src/guestfs-actions.pod:5141
13214 msgid ""
13215 "This passes the I<-I> parameter to the external L<mke2fs(8)> program which "
13216 "sets the inode size (only for ext2/3/4 filesystems at present)."
13217 msgstr ""
13218
13219 #. type: =item
13220 #: ../fish/guestfish-actions.pod:3326 ../src/guestfs-actions.pod:5144
13221 msgid "C<sectorsize>"
13222 msgstr "C<sectorsize>"
13223
13224 #. type: textblock
13225 #: ../fish/guestfish-actions.pod:3328 ../src/guestfs-actions.pod:5146
13226 msgid ""
13227 "This passes the I<-S> parameter to external L<mkfs.ufs(8)> program, which "
13228 "sets sector size for ufs filesystem."
13229 msgstr ""
13230
13231 #. type: =head2
13232 #: ../fish/guestfish-actions.pod:3335
13233 msgid "mkmountpoint"
13234 msgstr "mkmountpoint"
13235
13236 #. type: verbatim
13237 #: ../fish/guestfish-actions.pod:3337
13238 #, no-wrap
13239 msgid ""
13240 " mkmountpoint exemptpath\n"
13241 "\n"
13242 msgstr ""
13243
13244 #. type: textblock
13245 #: ../fish/guestfish-actions.pod:3339
13246 msgid ""
13247 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
13248 "to create extra mountpoints before mounting the first filesystem."
13249 msgstr ""
13250
13251 #. type: textblock
13252 #: ../fish/guestfish-actions.pod:3343 ../src/guestfs-actions.pod:5189
13253 msgid ""
13254 "These calls are I<only> necessary in some very limited circumstances, mainly "
13255 "the case where you want to mount a mix of unrelated and/or read-only "
13256 "filesystems together."
13257 msgstr ""
13258
13259 #. type: textblock
13260 #: ../fish/guestfish-actions.pod:3347 ../src/guestfs-actions.pod:5193
13261 msgid ""
13262 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
13263 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
13264 "inside that.  You can unpack this as follows in guestfish:"
13265 msgstr ""
13266
13267 #. type: verbatim
13268 #: ../fish/guestfish-actions.pod:3352 ../src/guestfs-actions.pod:5198
13269 #, no-wrap
13270 msgid ""
13271 " add-ro Fedora-11-i686-Live.iso\n"
13272 " run\n"
13273 " mkmountpoint /cd\n"
13274 " mkmountpoint /sqsh\n"
13275 " mkmountpoint /ext3fs\n"
13276 " mount /dev/sda /cd\n"
13277 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
13278 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
13279 "\n"
13280 msgstr ""
13281 " add-ro Fedora-11-i686-Live.iso\n"
13282 " run\n"
13283 " mkmountpoint /cd\n"
13284 " mkmountpoint /sqsh\n"
13285 " mkmountpoint /ext3fs\n"
13286 " mount /dev/sda /cd\n"
13287 " mount-loop /cd/LiveOS/squashfs.img /sqsh\n"
13288 " mount-loop /sqsh/LiveOS/ext3fs.img /ext3fs\n"
13289 "\n"
13290
13291 #. type: textblock
13292 #: ../fish/guestfish-actions.pod:3361 ../src/guestfs-actions.pod:5207
13293 msgid "The inner filesystem is now unpacked under the /ext3fs mountpoint."
13294 msgstr ""
13295
13296 #. type: textblock
13297 #: ../fish/guestfish-actions.pod:3363
13298 msgid ""
13299 "L</mkmountpoint> is not compatible with L</umount-all>.  You may get "
13300 "unexpected errors if you try to mix these calls.  It is safest to manually "
13301 "unmount filesystems and remove mountpoints after use."
13302 msgstr ""
13303
13304 #. type: textblock
13305 #: ../fish/guestfish-actions.pod:3367
13306 msgid ""
13307 "L</umount-all> unmounts filesystems by sorting the paths longest first, so "
13308 "for this to work for manual mountpoints, you must ensure that the innermost "
13309 "mountpoints have the longest pathnames, as in the example code above."
13310 msgstr ""
13311
13312 #. type: textblock
13313 #: ../fish/guestfish-actions.pod:3372 ../src/guestfs-actions.pod:5218
13314 msgid ""
13315 "For more details see L<https://bugzilla.redhat.com/show_bug.cgi?id=599503>"
13316 msgstr ""
13317
13318 #. type: textblock
13319 #: ../fish/guestfish-actions.pod:3374
13320 msgid ""
13321 "Autosync [see L</set-autosync>, this is set by default on handles] can cause "
13322 "L</umount-all> to be called when the handle is closed which can also trigger "
13323 "these issues."
13324 msgstr ""
13325
13326 #. type: =head2
13327 #: ../fish/guestfish-actions.pod:3378
13328 msgid "mknod"
13329 msgstr "mknod"
13330
13331 #. type: verbatim
13332 #: ../fish/guestfish-actions.pod:3380
13333 #, no-wrap
13334 msgid ""
13335 " mknod mode devmajor devminor path\n"
13336 "\n"
13337 msgstr ""
13338
13339 #. type: textblock
13340 #: ../fish/guestfish-actions.pod:3382 ../src/guestfs-actions.pod:5237
13341 msgid ""
13342 "This call creates block or character special devices, or named pipes (FIFOs)."
13343 msgstr ""
13344
13345 #. type: textblock
13346 #: ../fish/guestfish-actions.pod:3385 ../src/guestfs-actions.pod:5240
13347 msgid ""
13348 "The C<mode> parameter should be the mode, using the standard constants.  "
13349 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
13350 "used when creating block and character special devices."
13351 msgstr ""
13352
13353 #. type: textblock
13354 #: ../fish/guestfish-actions.pod:3390
13355 msgid ""
13356 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
13357 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
13358 "regular file).  These constants are available in the standard Linux header "
13359 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
13360 "wrappers around this command which bitwise OR in the appropriate constant "
13361 "for you."
13362 msgstr ""
13363
13364 #. type: =head2
13365 #: ../fish/guestfish-actions.pod:3400
13366 msgid "mknod-b"
13367 msgstr "mknod-b"
13368
13369 #. type: verbatim
13370 #: ../fish/guestfish-actions.pod:3402
13371 #, no-wrap
13372 msgid ""
13373 " mknod-b mode devmajor devminor path\n"
13374 "\n"
13375 msgstr ""
13376
13377 #. type: textblock
13378 #: ../fish/guestfish-actions.pod:3404
13379 msgid ""
13380 "This call creates a block device node called C<path> with mode C<mode> and "
13381 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
13382 "wrapper around L</mknod>."
13383 msgstr ""
13384
13385 #. type: =head2
13386 #: ../fish/guestfish-actions.pod:3410
13387 msgid "mknod-c"
13388 msgstr "mknod-c"
13389
13390 #. type: verbatim
13391 #: ../fish/guestfish-actions.pod:3412
13392 #, no-wrap
13393 msgid ""
13394 " mknod-c mode devmajor devminor path\n"
13395 "\n"
13396 msgstr ""
13397
13398 #. type: textblock
13399 #: ../fish/guestfish-actions.pod:3414
13400 msgid ""
13401 "This call creates a char device node called C<path> with mode C<mode> and "
13402 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
13403 "wrapper around L</mknod>."
13404 msgstr ""
13405
13406 #. type: =head2
13407 #: ../fish/guestfish-actions.pod:3420
13408 msgid "mkswap"
13409 msgstr "mkswap"
13410
13411 #. type: verbatim
13412 #: ../fish/guestfish-actions.pod:3422
13413 #, no-wrap
13414 msgid ""
13415 " mkswap device\n"
13416 "\n"
13417 msgstr ""
13418 " mkswap пристрій\n"
13419 "\n"
13420
13421 #. type: textblock
13422 #: ../fish/guestfish-actions.pod:3424 ../src/guestfs-actions.pod:5303
13423 msgid "Create a swap partition on C<device>."
13424 msgstr ""
13425
13426 #. type: =head2
13427 #: ../fish/guestfish-actions.pod:3426
13428 msgid "mkswap-L"
13429 msgstr "mkswap-L"
13430
13431 #. type: verbatim
13432 #: ../fish/guestfish-actions.pod:3428
13433 #, no-wrap
13434 msgid ""
13435 " mkswap-L label device\n"
13436 "\n"
13437 msgstr ""
13438 " mkswap-L мітка пристрій\n"
13439 "\n"
13440
13441 #. type: textblock
13442 #: ../fish/guestfish-actions.pod:3430 ../src/guestfs-actions.pod:5316
13443 msgid "Create a swap partition on C<device> with label C<label>."
13444 msgstr ""
13445
13446 #. type: textblock
13447 #: ../fish/guestfish-actions.pod:3432 ../src/guestfs-actions.pod:5318
13448 msgid ""
13449 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
13450 "sda>), just to a partition.  This appears to be a limitation of the kernel "
13451 "or swap tools."
13452 msgstr ""
13453
13454 #. type: =head2
13455 #: ../fish/guestfish-actions.pod:3436
13456 msgid "mkswap-U"
13457 msgstr "mkswap-U"
13458
13459 #. type: verbatim
13460 #: ../fish/guestfish-actions.pod:3438
13461 #, no-wrap
13462 msgid ""
13463 " mkswap-U uuid device\n"
13464 "\n"
13465 msgstr ""
13466 " mkswap-U uuid пристрій\n"
13467 "\n"
13468
13469 #. type: textblock
13470 #: ../fish/guestfish-actions.pod:3440 ../src/guestfs-actions.pod:5333
13471 msgid "Create a swap partition on C<device> with UUID C<uuid>."
13472 msgstr ""
13473
13474 #. type: =head2
13475 #: ../fish/guestfish-actions.pod:3442
13476 msgid "mkswap-file"
13477 msgstr "mkswap-file"
13478
13479 #. type: verbatim
13480 #: ../fish/guestfish-actions.pod:3444
13481 #, no-wrap
13482 msgid ""
13483 " mkswap-file path\n"
13484 "\n"
13485 msgstr ""
13486 " mkswap-file шлях\n"
13487 "\n"
13488
13489 #. type: textblock
13490 #: ../fish/guestfish-actions.pod:3446 ../src/guestfs-actions.pod:5345
13491 msgid "Create a swap file."
13492 msgstr "Створити файл резервної пам’яті."
13493
13494 #. type: textblock
13495 #: ../fish/guestfish-actions.pod:3448
13496 msgid ""
13497 "This command just writes a swap file signature to an existing file.  To "
13498 "create the file itself, use something like L</fallocate>."
13499 msgstr ""
13500
13501 #. type: =head2
13502 #: ../fish/guestfish-actions.pod:3451
13503 msgid "modprobe"
13504 msgstr "modprobe"
13505
13506 #. type: verbatim
13507 #: ../fish/guestfish-actions.pod:3453
13508 #, no-wrap
13509 msgid ""
13510 " modprobe modulename\n"
13511 "\n"
13512 msgstr ""
13513 " modprobe назва_модуля\n"
13514 "\n"
13515
13516 #. type: textblock
13517 #: ../fish/guestfish-actions.pod:3455 ../src/guestfs-actions.pod:5360
13518 msgid "This loads a kernel module in the appliance."
13519 msgstr ""
13520
13521 #. type: textblock
13522 #: ../fish/guestfish-actions.pod:3457 ../src/guestfs-actions.pod:5362
13523 msgid ""
13524 "The kernel module must have been whitelisted when libguestfs was built (see "
13525 "C<appliance/kmod.whitelist.in> in the source)."
13526 msgstr ""
13527
13528 #. type: =head2
13529 #: ../fish/guestfish-actions.pod:3460
13530 msgid "mount"
13531 msgstr "mount"
13532
13533 #. type: verbatim
13534 #: ../fish/guestfish-actions.pod:3462
13535 #, no-wrap
13536 msgid ""
13537 " mount device mountpoint\n"
13538 "\n"
13539 msgstr ""
13540 " mount пристрій точка_монтування\n"
13541 "\n"
13542
13543 #. type: textblock
13544 #: ../fish/guestfish-actions.pod:3464 ../src/guestfs-actions.pod:5376
13545 msgid ""
13546 "Mount a guest disk at a position in the filesystem.  Block devices are named "
13547 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
13548 "those block devices contain partitions, they will have the usual names (eg. "
13549 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
13550 msgstr ""
13551
13552 #. type: textblock
13553 #: ../fish/guestfish-actions.pod:3470 ../src/guestfs-actions.pod:5382
13554 msgid ""
13555 "The rules are the same as for L<mount(2)>: A filesystem must first be "
13556 "mounted on C</> before others can be mounted.  Other filesystems can only be "
13557 "mounted on directories which already exist."
13558 msgstr ""
13559
13560 #. type: textblock
13561 #: ../fish/guestfish-actions.pod:3475 ../src/guestfs-actions.pod:5387
13562 msgid ""
13563 "The mounted filesystem is writable, if we have sufficient permissions on the "
13564 "underlying device."
13565 msgstr ""
13566
13567 #. type: textblock
13568 #: ../fish/guestfish-actions.pod:3478
13569 msgid ""
13570 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
13571 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
13572 "problems for users.  If your program might need to work with older versions "
13573 "of libguestfs, use L</mount-options> instead (using an empty string for the "
13574 "first parameter if you don't want any options)."
13575 msgstr ""
13576
13577 #. type: =head2
13578 #: ../fish/guestfish-actions.pod:3485
13579 msgid "mount-9p"
13580 msgstr ""
13581
13582 #. type: verbatim
13583 #: ../fish/guestfish-actions.pod:3487
13584 #, no-wrap
13585 msgid ""
13586 " mount-9p mounttag mountpoint [options:..]\n"
13587 "\n"
13588 msgstr ""
13589
13590 #. type: textblock
13591 #: ../fish/guestfish-actions.pod:3489 ../src/guestfs-actions.pod:5416
13592 msgid ""
13593 "Mount the virtio-9p filesystem with the tag C<mounttag> on the directory "
13594 "C<mountpoint>."
13595 msgstr ""
13596
13597 #. type: textblock
13598 #: ../fish/guestfish-actions.pod:3492 ../src/guestfs-actions.pod:5419
13599 msgid ""
13600 "If required, C<trans=virtio> will be automatically added to the options.  "
13601 "Any other options required can be passed in the optional C<options> "
13602 "parameter."
13603 msgstr ""
13604
13605 #. type: =head2
13606 #: ../fish/guestfish-actions.pod:3498
13607 msgid "mount-loop"
13608 msgstr "mount-loop"
13609
13610 #. type: verbatim
13611 #: ../fish/guestfish-actions.pod:3500
13612 #, no-wrap
13613 msgid ""
13614 " mount-loop file mountpoint\n"
13615 "\n"
13616 msgstr ""
13617
13618 #. type: textblock
13619 #: ../fish/guestfish-actions.pod:3502 ../src/guestfs-actions.pod:5458
13620 msgid ""
13621 "This command lets you mount C<file> (a filesystem image in a file) on a "
13622 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
13623 "mountpoint>."
13624 msgstr ""
13625
13626 #. type: =head2
13627 #: ../fish/guestfish-actions.pod:3506
13628 msgid "mount-options"
13629 msgstr "mount-options"
13630
13631 #. type: verbatim
13632 #: ../fish/guestfish-actions.pod:3508
13633 #, no-wrap
13634 msgid ""
13635 " mount-options options device mountpoint\n"
13636 "\n"
13637 msgstr ""
13638
13639 #. type: textblock
13640 #: ../fish/guestfish-actions.pod:3510
13641 msgid ""
13642 "This is the same as the L</mount> command, but it allows you to set the "
13643 "mount options as for the L<mount(8)> I<-o> flag."
13644 msgstr ""
13645
13646 #. type: textblock
13647 #: ../fish/guestfish-actions.pod:3514 ../src/guestfs-actions.pod:5478
13648 msgid ""
13649 "If the C<options> parameter is an empty string, then no options are passed "
13650 "(all options default to whatever the filesystem uses)."
13651 msgstr ""
13652
13653 #. type: =head2
13654 #: ../fish/guestfish-actions.pod:3518
13655 msgid "mount-ro"
13656 msgstr "mount-ro"
13657
13658 #. type: verbatim
13659 #: ../fish/guestfish-actions.pod:3520
13660 #, no-wrap
13661 msgid ""
13662 " mount-ro device mountpoint\n"
13663 "\n"
13664 msgstr ""
13665 " mount-ro пристрій точка_монтування\n"
13666 "\n"
13667
13668 #. type: textblock
13669 #: ../fish/guestfish-actions.pod:3522
13670 msgid ""
13671 "This is the same as the L</mount> command, but it mounts the filesystem with "
13672 "the read-only (I<-o ro>) flag."
13673 msgstr ""
13674
13675 #. type: =head2
13676 #: ../fish/guestfish-actions.pod:3525
13677 msgid "mount-vfs"
13678 msgstr "mount-vfs"
13679
13680 #. type: verbatim
13681 #: ../fish/guestfish-actions.pod:3527
13682 #, no-wrap
13683 msgid ""
13684 " mount-vfs options vfstype device mountpoint\n"
13685 "\n"
13686 msgstr ""
13687
13688 #. type: textblock
13689 #: ../fish/guestfish-actions.pod:3529
13690 msgid ""
13691 "This is the same as the L</mount> command, but it allows you to set both the "
13692 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
13693 msgstr ""
13694
13695 #. type: =head2
13696 #: ../fish/guestfish-actions.pod:3533
13697 msgid "mountpoints"
13698 msgstr "mountpoints"
13699
13700 #. type: verbatim
13701 #: ../fish/guestfish-actions.pod:3535
13702 #, no-wrap
13703 msgid ""
13704 " mountpoints\n"
13705 "\n"
13706 msgstr ""
13707 " mountpoints\n"
13708 "\n"
13709
13710 #. type: textblock
13711 #: ../fish/guestfish-actions.pod:3537
13712 msgid ""
13713 "This call is similar to L</mounts>.  That call returns a list of devices.  "
13714 "This one returns a hash table (map) of device name to directory where the "
13715 "device is mounted."
13716 msgstr ""
13717
13718 #. type: =head2
13719 #: ../fish/guestfish-actions.pod:3541
13720 msgid "mounts"
13721 msgstr "mounts"
13722
13723 #. type: verbatim
13724 #: ../fish/guestfish-actions.pod:3543
13725 #, no-wrap
13726 msgid ""
13727 " mounts\n"
13728 "\n"
13729 msgstr ""
13730 " mounts\n"
13731 "\n"
13732
13733 #. type: textblock
13734 #: ../fish/guestfish-actions.pod:3545 ../src/guestfs-actions.pod:5539
13735 msgid ""
13736 "This returns the list of currently mounted filesystems.  It returns the list "
13737 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
13738 msgstr ""
13739
13740 #. type: textblock
13741 #: ../fish/guestfish-actions.pod:3548 ../src/guestfs-actions.pod:5542
13742 msgid "Some internal mounts are not shown."
13743 msgstr ""
13744
13745 #. type: textblock
13746 #: ../fish/guestfish-actions.pod:3550
13747 msgid "See also: L</mountpoints>"
13748 msgstr "Див. також L</mountpoints>"
13749
13750 #. type: =head2
13751 #: ../fish/guestfish-actions.pod:3552
13752 msgid "mv"
13753 msgstr "mv"
13754
13755 #. type: verbatim
13756 #: ../fish/guestfish-actions.pod:3554
13757 #, no-wrap
13758 msgid ""
13759 " mv src dest\n"
13760 "\n"
13761 msgstr ""
13762 " mv джерело призначення\n"
13763 "\n"
13764
13765 #. type: textblock
13766 #: ../fish/guestfish-actions.pod:3556 ../src/guestfs-actions.pod:5559
13767 msgid ""
13768 "This moves a file from C<src> to C<dest> where C<dest> is either a "
13769 "destination filename or destination directory."
13770 msgstr ""
13771
13772 #. type: =head2
13773 #: ../fish/guestfish-actions.pod:3559
13774 msgid "ntfs-3g-probe"
13775 msgstr "ntfs-3g-probe"
13776
13777 #. type: verbatim
13778 #: ../fish/guestfish-actions.pod:3561
13779 #, no-wrap
13780 msgid ""
13781 " ntfs-3g-probe true|false device\n"
13782 "\n"
13783 msgstr ""
13784
13785 #. type: textblock
13786 #: ../fish/guestfish-actions.pod:3563 ../src/guestfs-actions.pod:5573
13787 msgid ""
13788 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
13789 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
13790 "write, and some cannot be mounted at all)."
13791 msgstr ""
13792
13793 #. type: textblock
13794 #: ../fish/guestfish-actions.pod:3567 ../src/guestfs-actions.pod:5577
13795 msgid ""
13796 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
13797 "can be mounted read-write.  Set it to false if you want to test if the "
13798 "volume can be mounted read-only."
13799 msgstr ""
13800
13801 #. type: textblock
13802 #: ../fish/guestfish-actions.pod:3571 ../src/guestfs-actions.pod:5581
13803 msgid ""
13804 "The return value is an integer which C<0> if the operation would succeed, or "
13805 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
13806 msgstr ""
13807
13808 #. type: =head2
13809 #: ../fish/guestfish-actions.pod:3575
13810 msgid "ntfsresize"
13811 msgstr "ntfsresize"
13812
13813 #. type: verbatim
13814 #: ../fish/guestfish-actions.pod:3577
13815 #, no-wrap
13816 msgid ""
13817 " ntfsresize device\n"
13818 "\n"
13819 msgstr ""
13820 " ntfsresize пристрій\n"
13821 "\n"
13822
13823 #. type: textblock
13824 #: ../fish/guestfish-actions.pod:3579 ../fish/guestfish-actions.pod:3603
13825 #: ../src/guestfs-actions.pod:5602 ../src/guestfs-actions.pod:5634
13826 msgid ""
13827 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
13828 "size of the underlying device."
13829 msgstr ""
13830
13831 #. type: textblock
13832 #: ../fish/guestfish-actions.pod:3582 ../src/guestfs-actions.pod:5605
13833 msgid ""
13834 "I<Note:> After the resize operation, the filesystem is marked as requiring a "
13835 "consistency check (for safety).  You have to boot into Windows to perform "
13836 "this check and clear this condition.  Furthermore, ntfsresize refuses to "
13837 "resize filesystems which have been marked in this way.  So in effect it is "
13838 "not possible to call ntfsresize multiple times on a single filesystem "
13839 "without booting into Windows between each resize."
13840 msgstr ""
13841
13842 #. type: textblock
13843 #: ../fish/guestfish-actions.pod:3590 ../fish/guestfish-actions.pod:3629
13844 #: ../src/guestfs-actions.pod:5613 ../src/guestfs-actions.pod:5660
13845 msgid "See also L<ntfsresize(8)>."
13846 msgstr "Див. також L<ntfsresize(8)>."
13847
13848 #. type: textblock
13849 #: ../fish/guestfish-actions.pod:3592 ../fish/guestfish-actions.pod:3640
13850 msgid ""
13851 "I<This function is deprecated.> In new code, use the L</ntfsresize_opts> "
13852 "call instead."
13853 msgstr ""
13854
13855 #. type: =head2
13856 #: ../fish/guestfish-actions.pod:3599
13857 msgid "ntfsresize-opts"
13858 msgstr ""
13859
13860 #. type: verbatim
13861 #: ../fish/guestfish-actions.pod:3601
13862 #, no-wrap
13863 msgid ""
13864 " ntfsresize-opts device [size:N] [force:true|false]\n"
13865 "\n"
13866 msgstr ""
13867
13868 #. type: textblock
13869 #: ../fish/guestfish-actions.pod:3612 ../src/guestfs-actions.pod:5643
13870 msgid ""
13871 "The new size (in bytes) of the filesystem.  If omitted, the filesystem is "
13872 "resized to fit the container (eg. partition)."
13873 msgstr ""
13874
13875 #. type: =item
13876 #: ../fish/guestfish-actions.pod:3615 ../src/guestfs-actions.pod:5646
13877 msgid "C<force>"
13878 msgstr "C<force>"
13879
13880 #. type: textblock
13881 #: ../fish/guestfish-actions.pod:3617 ../src/guestfs-actions.pod:5648
13882 msgid ""
13883 "If this option is true, then force the resize of the filesystem even if the "
13884 "filesystem is marked as requiring a consistency check."
13885 msgstr ""
13886
13887 #. type: textblock
13888 #: ../fish/guestfish-actions.pod:3620
13889 msgid ""
13890 "After the resize operation, the filesystem is always marked as requiring a "
13891 "consistency check (for safety).  You have to boot into Windows to perform "
13892 "this check and clear this condition.  If you I<don't> set the C<force> "
13893 "option then it is not possible to call L</ntfsresize-opts> multiple times on "
13894 "a single filesystem without booting into Windows between each resize."
13895 msgstr ""
13896
13897 #. type: =head2
13898 #: ../fish/guestfish-actions.pod:3633
13899 msgid "ntfsresize-size"
13900 msgstr "ntfsresize-size"
13901
13902 #. type: verbatim
13903 #: ../fish/guestfish-actions.pod:3635
13904 #, no-wrap
13905 msgid ""
13906 " ntfsresize-size device size\n"
13907 "\n"
13908 msgstr ""
13909
13910 #. type: textblock
13911 #: ../fish/guestfish-actions.pod:3637
13912 msgid ""
13913 "This command is the same as L</ntfsresize> except that it allows you to "
13914 "specify the new size (in bytes) explicitly."
13915 msgstr ""
13916
13917 #. type: =head2
13918 #: ../fish/guestfish-actions.pod:3647
13919 msgid "part-add"
13920 msgstr "part-add"
13921
13922 #. type: verbatim
13923 #: ../fish/guestfish-actions.pod:3649
13924 #, no-wrap
13925 msgid ""
13926 " part-add device prlogex startsect endsect\n"
13927 "\n"
13928 msgstr ""
13929
13930 #. type: textblock
13931 #: ../fish/guestfish-actions.pod:3651
13932 msgid ""
13933 "This command adds a partition to C<device>.  If there is no partition table "
13934 "on the device, call L</part-init> first."
13935 msgstr ""
13936
13937 #. type: textblock
13938 #: ../fish/guestfish-actions.pod:3654 ../src/guestfs-actions.pod:5721
13939 msgid ""
13940 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
13941 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
13942 "C<logical>) and C<e> (or C<extended>) partition types."
13943 msgstr ""
13944
13945 #. type: textblock
13946 #: ../fish/guestfish-actions.pod:3659 ../src/guestfs-actions.pod:5726
13947 msgid ""
13948 "C<startsect> and C<endsect> are the start and end of the partition in "
13949 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
13950 "from the end of the disk (C<-1> is the last sector)."
13951 msgstr ""
13952
13953 #. type: textblock
13954 #: ../fish/guestfish-actions.pod:3663
13955 msgid ""
13956 "Creating a partition which covers the whole disk is not so easy.  Use L</"
13957 "part-disk> to do that."
13958 msgstr ""
13959
13960 #. type: =head2
13961 #: ../fish/guestfish-actions.pod:3666
13962 msgid "part-del"
13963 msgstr "part-del"
13964
13965 #. type: verbatim
13966 #: ../fish/guestfish-actions.pod:3668
13967 #, no-wrap
13968 msgid ""
13969 " part-del device partnum\n"
13970 "\n"
13971 msgstr ""
13972
13973 #. type: textblock
13974 #: ../fish/guestfish-actions.pod:3670 ../src/guestfs-actions.pod:5744
13975 msgid "This command deletes the partition numbered C<partnum> on C<device>."
13976 msgstr ""
13977
13978 #. type: textblock
13979 #: ../fish/guestfish-actions.pod:3672 ../src/guestfs-actions.pod:5746
13980 msgid ""
13981 "Note that in the case of MBR partitioning, deleting an extended partition "
13982 "also deletes any logical partitions it contains."
13983 msgstr ""
13984
13985 #. type: =head2
13986 #: ../fish/guestfish-actions.pod:3676
13987 msgid "part-disk"
13988 msgstr "part-disk"
13989
13990 #. type: verbatim
13991 #: ../fish/guestfish-actions.pod:3678
13992 #, no-wrap
13993 msgid ""
13994 " part-disk device parttype\n"
13995 "\n"
13996 msgstr ""
13997 " part-disk пристрій тип_розділу\n"
13998 "\n"
13999
14000 #. type: textblock
14001 #: ../fish/guestfish-actions.pod:3680
14002 msgid ""
14003 "This command is simply a combination of L</part-init> followed by L</part-"
14004 "add> to create a single primary partition covering the whole disk."
14005 msgstr ""
14006
14007 #. type: textblock
14008 #: ../fish/guestfish-actions.pod:3684
14009 msgid ""
14010 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
14011 "possible values are described in L</part-init>."
14012 msgstr ""
14013
14014 #. type: =head2
14015 #: ../fish/guestfish-actions.pod:3687
14016 msgid "part-get-bootable"
14017 msgstr "part-get-bootable"
14018
14019 #. type: verbatim
14020 #: ../fish/guestfish-actions.pod:3689
14021 #, no-wrap
14022 msgid ""
14023 " part-get-bootable device partnum\n"
14024 "\n"
14025 msgstr ""
14026
14027 #. type: textblock
14028 #: ../fish/guestfish-actions.pod:3691 ../src/guestfs-actions.pod:5779
14029 msgid ""
14030 "This command returns true if the partition C<partnum> on C<device> has the "
14031 "bootable flag set."
14032 msgstr ""
14033
14034 #. type: textblock
14035 #: ../fish/guestfish-actions.pod:3694
14036 msgid "See also L</part-set-bootable>."
14037 msgstr "Див. також L</part-set-bootable>."
14038
14039 #. type: =head2
14040 #: ../fish/guestfish-actions.pod:3696
14041 msgid "part-get-mbr-id"
14042 msgstr "part-get-mbr-id"
14043
14044 #. type: verbatim
14045 #: ../fish/guestfish-actions.pod:3698
14046 #, no-wrap
14047 msgid ""
14048 " part-get-mbr-id device partnum\n"
14049 "\n"
14050 msgstr ""
14051
14052 #. type: textblock
14053 #: ../fish/guestfish-actions.pod:3700 ../src/guestfs-actions.pod:5795
14054 msgid ""
14055 "Returns the MBR type byte (also known as the ID byte) from the numbered "
14056 "partition C<partnum>."
14057 msgstr ""
14058
14059 #. type: textblock
14060 #: ../fish/guestfish-actions.pod:3703 ../fish/guestfish-actions.pod:3847
14061 msgid ""
14062 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
14063 "undefined results for other partition table types (see L</part-get-"
14064 "parttype>)."
14065 msgstr ""
14066
14067 #. type: =head2
14068 #: ../fish/guestfish-actions.pod:3707
14069 msgid "part-get-parttype"
14070 msgstr "part-get-parttype"
14071
14072 #. type: verbatim
14073 #: ../fish/guestfish-actions.pod:3709
14074 #, no-wrap
14075 msgid ""
14076 " part-get-parttype device\n"
14077 "\n"
14078 msgstr ""
14079 " part-get-parttype пристрій\n"
14080 "\n"
14081
14082 #. type: textblock
14083 #: ../fish/guestfish-actions.pod:3711 ../src/guestfs-actions.pod:5812
14084 msgid ""
14085 "This command examines the partition table on C<device> and returns the "
14086 "partition table type (format) being used."
14087 msgstr ""
14088
14089 #. type: textblock
14090 #: ../fish/guestfish-actions.pod:3714
14091 msgid ""
14092 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
14093 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
14094 "possible, although unusual.  See L</part-init> for a full list."
14095 msgstr ""
14096
14097 #. type: =head2
14098 #: ../fish/guestfish-actions.pod:3719
14099 msgid "part-init"
14100 msgstr "part-init"
14101
14102 #. type: verbatim
14103 #: ../fish/guestfish-actions.pod:3721
14104 #, no-wrap
14105 msgid ""
14106 " part-init device parttype\n"
14107 "\n"
14108 msgstr ""
14109
14110 #. type: textblock
14111 #: ../fish/guestfish-actions.pod:3723 ../src/guestfs-actions.pod:5832
14112 msgid ""
14113 "This creates an empty partition table on C<device> of one of the partition "
14114 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
14115 "(for large disks)."
14116 msgstr ""
14117
14118 #. type: textblock
14119 #: ../fish/guestfish-actions.pod:3727
14120 msgid ""
14121 "Initially there are no partitions.  Following this, you should call L</part-"
14122 "add> for each partition required."
14123 msgstr ""
14124
14125 #. type: textblock
14126 #: ../fish/guestfish-actions.pod:3730 ../src/guestfs-actions.pod:5839
14127 msgid "Possible values for C<parttype> are:"
14128 msgstr ""
14129
14130 #. type: =item
14131 #: ../fish/guestfish-actions.pod:3734 ../src/guestfs-actions.pod:5843
14132 msgid "B<efi>"
14133 msgstr "B<efi>"
14134
14135 #. type: =item
14136 #: ../fish/guestfish-actions.pod:3736 ../src/guestfs-actions.pod:5845
14137 msgid "B<gpt>"
14138 msgstr "B<gpt>"
14139
14140 #. type: textblock
14141 #: ../fish/guestfish-actions.pod:3738 ../src/guestfs-actions.pod:5847
14142 msgid "Intel EFI / GPT partition table."
14143 msgstr ""
14144
14145 #. type: textblock
14146 #: ../fish/guestfish-actions.pod:3740 ../src/guestfs-actions.pod:5849
14147 msgid ""
14148 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
14149 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
14150 "the C<mbr> format."
14151 msgstr ""
14152
14153 #. type: =item
14154 #: ../fish/guestfish-actions.pod:3744 ../src/guestfs-actions.pod:5853
14155 msgid "B<mbr>"
14156 msgstr "B<mbr>"
14157
14158 #. type: =item
14159 #: ../fish/guestfish-actions.pod:3746 ../src/guestfs-actions.pod:5855
14160 msgid "B<msdos>"
14161 msgstr "B<msdos>"
14162
14163 #. type: textblock
14164 #: ../fish/guestfish-actions.pod:3748 ../src/guestfs-actions.pod:5857
14165 msgid ""
14166 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
14167 "Windows.  This partition type will B<only> work for device sizes up to 2 "
14168 "TB.  For large disks we recommend using C<gpt>."
14169 msgstr ""
14170
14171 #. type: textblock
14172 #: ../fish/guestfish-actions.pod:3755 ../src/guestfs-actions.pod:5864
14173 msgid ""
14174 "Other partition table types that may work but are not supported include:"
14175 msgstr ""
14176
14177 #. type: =item
14178 #: ../fish/guestfish-actions.pod:3760 ../src/guestfs-actions.pod:5869
14179 msgid "B<aix>"
14180 msgstr "B<aix>"
14181
14182 #. type: textblock
14183 #: ../fish/guestfish-actions.pod:3762 ../src/guestfs-actions.pod:5871
14184 msgid "AIX disk labels."
14185 msgstr "Мітки дисків AIX."
14186
14187 #. type: =item
14188 #: ../fish/guestfish-actions.pod:3764 ../src/guestfs-actions.pod:5873
14189 msgid "B<amiga>"
14190 msgstr "B<amiga>"
14191
14192 #. type: =item
14193 #: ../fish/guestfish-actions.pod:3766 ../src/guestfs-actions.pod:5875
14194 msgid "B<rdb>"
14195 msgstr "B<rdb>"
14196
14197 #. type: textblock
14198 #: ../fish/guestfish-actions.pod:3768 ../src/guestfs-actions.pod:5877
14199 msgid "Amiga \"Rigid Disk Block\" format."
14200 msgstr "Формат \"Rigid Disk Block\" Amiga."
14201
14202 #. type: =item
14203 #: ../fish/guestfish-actions.pod:3770 ../src/guestfs-actions.pod:5879
14204 msgid "B<bsd>"
14205 msgstr "B<bsd>"
14206
14207 #. type: textblock
14208 #: ../fish/guestfish-actions.pod:3772 ../src/guestfs-actions.pod:5881
14209 msgid "BSD disk labels."
14210 msgstr "Мітки дисків BSD."
14211
14212 #. type: =item
14213 #: ../fish/guestfish-actions.pod:3774 ../src/guestfs-actions.pod:5883
14214 msgid "B<dasd>"
14215 msgstr "B<dasd>"
14216
14217 #. type: textblock
14218 #: ../fish/guestfish-actions.pod:3776 ../src/guestfs-actions.pod:5885
14219 msgid "DASD, used on IBM mainframes."
14220 msgstr "DASD, використовувалися у мейнфреймах IBM."
14221
14222 #. type: =item
14223 #: ../fish/guestfish-actions.pod:3778 ../src/guestfs-actions.pod:5887
14224 msgid "B<dvh>"
14225 msgstr "B<dvh>"
14226
14227 #. type: textblock
14228 #: ../fish/guestfish-actions.pod:3780 ../src/guestfs-actions.pod:5889
14229 msgid "MIPS/SGI volumes."
14230 msgstr "Томи MIPS/SGI."
14231
14232 #. type: =item
14233 #: ../fish/guestfish-actions.pod:3782 ../src/guestfs-actions.pod:5891
14234 msgid "B<mac>"
14235 msgstr "B<mac>"
14236
14237 #. type: textblock
14238 #: ../fish/guestfish-actions.pod:3784 ../src/guestfs-actions.pod:5893
14239 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
14240 msgstr "Старий формат розділів Mac. Сучасні системи Mac використовують C<gpt>."
14241
14242 #. type: =item
14243 #: ../fish/guestfish-actions.pod:3786 ../src/guestfs-actions.pod:5895
14244 msgid "B<pc98>"
14245 msgstr "B<pc98>"
14246
14247 #. type: textblock
14248 #: ../fish/guestfish-actions.pod:3788 ../src/guestfs-actions.pod:5897
14249 msgid "NEC PC-98 format, common in Japan apparently."
14250 msgstr "Формат NEC PC-98, поширений у Японії."
14251
14252 #. type: =item
14253 #: ../fish/guestfish-actions.pod:3790 ../src/guestfs-actions.pod:5899
14254 msgid "B<sun>"
14255 msgstr "B<sun>"
14256
14257 #. type: textblock
14258 #: ../fish/guestfish-actions.pod:3792 ../src/guestfs-actions.pod:5901
14259 msgid "Sun disk labels."
14260 msgstr "Мітки дисків Sun."
14261
14262 #. type: =head2
14263 #: ../fish/guestfish-actions.pod:3796
14264 msgid "part-list"
14265 msgstr "part-list"
14266
14267 #. type: verbatim
14268 #: ../fish/guestfish-actions.pod:3798
14269 #, no-wrap
14270 msgid ""
14271 " part-list device\n"
14272 "\n"
14273 msgstr ""
14274 " part-list device\n"
14275 "\n"
14276
14277 #. type: textblock
14278 #: ../fish/guestfish-actions.pod:3800 ../src/guestfs-actions.pod:5915
14279 msgid ""
14280 "This command parses the partition table on C<device> and returns the list of "
14281 "partitions found."
14282 msgstr ""
14283
14284 #. type: textblock
14285 #: ../fish/guestfish-actions.pod:3803 ../src/guestfs-actions.pod:5918
14286 msgid "The fields in the returned structure are:"
14287 msgstr ""
14288
14289 #. type: =item
14290 #: ../fish/guestfish-actions.pod:3807 ../src/guestfs-actions.pod:5922
14291 msgid "B<part_num>"
14292 msgstr "B<part_num>"
14293
14294 #. type: textblock
14295 #: ../fish/guestfish-actions.pod:3809 ../src/guestfs-actions.pod:5924
14296 msgid "Partition number, counting from 1."
14297 msgstr ""
14298
14299 #. type: =item
14300 #: ../fish/guestfish-actions.pod:3811 ../src/guestfs-actions.pod:5926
14301 msgid "B<part_start>"
14302 msgstr "B<part_start>"
14303
14304 #. type: textblock
14305 #: ../fish/guestfish-actions.pod:3813
14306 msgid ""
14307 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
14308 "the device's sector size, see L</blockdev-getss>."
14309 msgstr ""
14310
14311 #. type: =item
14312 #: ../fish/guestfish-actions.pod:3816 ../src/guestfs-actions.pod:5931
14313 msgid "B<part_end>"
14314 msgstr "B<part_end>"
14315
14316 #. type: textblock
14317 #: ../fish/guestfish-actions.pod:3818 ../src/guestfs-actions.pod:5933
14318 msgid "End of the partition in bytes."
14319 msgstr ""
14320
14321 #. type: =item
14322 #: ../fish/guestfish-actions.pod:3820 ../src/guestfs-actions.pod:5935
14323 msgid "B<part_size>"
14324 msgstr "B<part_size>"
14325
14326 #. type: textblock
14327 #: ../fish/guestfish-actions.pod:3822 ../src/guestfs-actions.pod:5937
14328 msgid "Size of the partition in bytes."
14329 msgstr ""
14330
14331 #. type: =head2
14332 #: ../fish/guestfish-actions.pod:3826
14333 msgid "part-set-bootable"
14334 msgstr "part-set-bootable"
14335
14336 #. type: verbatim
14337 #: ../fish/guestfish-actions.pod:3828
14338 #, no-wrap
14339 msgid ""
14340 " part-set-bootable device partnum true|false\n"
14341 "\n"
14342 msgstr ""
14343
14344 #. type: textblock
14345 #: ../fish/guestfish-actions.pod:3830 ../src/guestfs-actions.pod:5955
14346 msgid ""
14347 "This sets the bootable flag on partition numbered C<partnum> on device "
14348 "C<device>.  Note that partitions are numbered from 1."
14349 msgstr ""
14350
14351 #. type: textblock
14352 #: ../fish/guestfish-actions.pod:3833 ../src/guestfs-actions.pod:5958
14353 msgid ""
14354 "The bootable flag is used by some operating systems (notably Windows) to "
14355 "determine which partition to boot from.  It is by no means universally "
14356 "recognized."
14357 msgstr ""
14358
14359 #. type: =head2
14360 #: ../fish/guestfish-actions.pod:3837
14361 msgid "part-set-mbr-id"
14362 msgstr "part-set-mbr-id"
14363
14364 #. type: verbatim
14365 #: ../fish/guestfish-actions.pod:3839
14366 #, no-wrap
14367 msgid ""
14368 " part-set-mbr-id device partnum idbyte\n"
14369 "\n"
14370 msgstr ""
14371
14372 #. type: textblock
14373 #: ../fish/guestfish-actions.pod:3841 ../src/guestfs-actions.pod:5974
14374 msgid ""
14375 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
14376 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
14377 "documentation are in fact hexadecimal numbers, but usually documented "
14378 "without any leading \"0x\" which might be confusing."
14379 msgstr ""
14380
14381 #. type: =head2
14382 #: ../fish/guestfish-actions.pod:3851
14383 msgid "part-set-name"
14384 msgstr "part-set-name"
14385
14386 #. type: verbatim
14387 #: ../fish/guestfish-actions.pod:3853
14388 #, no-wrap
14389 msgid ""
14390 " part-set-name device partnum name\n"
14391 "\n"
14392 msgstr ""
14393
14394 #. type: textblock
14395 #: ../fish/guestfish-actions.pod:3855 ../src/guestfs-actions.pod:5996
14396 msgid ""
14397 "This sets the partition name on partition numbered C<partnum> on device "
14398 "C<device>.  Note that partitions are numbered from 1."
14399 msgstr ""
14400
14401 #. type: textblock
14402 #: ../fish/guestfish-actions.pod:3858 ../src/guestfs-actions.pod:5999
14403 msgid ""
14404 "The partition name can only be set on certain types of partition table.  "
14405 "This works on C<gpt> but not on C<mbr> partitions."
14406 msgstr ""
14407
14408 #. type: =head2
14409 #: ../fish/guestfish-actions.pod:3861
14410 msgid "part-to-dev"
14411 msgstr "part-to-dev"
14412
14413 #. type: verbatim
14414 #: ../fish/guestfish-actions.pod:3863
14415 #, no-wrap
14416 msgid ""
14417 " part-to-dev partition\n"
14418 "\n"
14419 msgstr ""
14420 " part-to-dev розділ\n"
14421 "\n"
14422
14423 #. type: textblock
14424 #: ../fish/guestfish-actions.pod:3865 ../src/guestfs-actions.pod:6012
14425 msgid ""
14426 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
14427 "partition number, returning the device name (eg. \"/dev/sdb\")."
14428 msgstr ""
14429
14430 #. type: textblock
14431 #: ../fish/guestfish-actions.pod:3869 ../fish/guestfish-actions.pod:3881
14432 msgid ""
14433 "The named partition must exist, for example as a string returned from L</"
14434 "list-partitions>."
14435 msgstr ""
14436
14437 #. type: textblock
14438 #: ../fish/guestfish-actions.pod:3872
14439 msgid "See also L</part-to-partnum>."
14440 msgstr ""
14441
14442 #. type: =head2
14443 #: ../fish/guestfish-actions.pod:3874
14444 msgid "part-to-partnum"
14445 msgstr ""
14446
14447 #. type: verbatim
14448 #: ../fish/guestfish-actions.pod:3876
14449 #, no-wrap
14450 msgid ""
14451 " part-to-partnum partition\n"
14452 "\n"
14453 msgstr ""
14454
14455 #. type: textblock
14456 #: ../fish/guestfish-actions.pod:3878 ../src/guestfs-actions.pod:6032
14457 msgid ""
14458 "This function takes a partition name (eg. \"/dev/sdb1\") and returns the "
14459 "partition number (eg. C<1>)."
14460 msgstr ""
14461
14462 #. type: textblock
14463 #: ../fish/guestfish-actions.pod:3884
14464 msgid "See also L</part-to-dev>."
14465 msgstr ""
14466
14467 #. type: =head2
14468 #: ../fish/guestfish-actions.pod:3886
14469 msgid "ping-daemon"
14470 msgstr "ping-daemon"
14471
14472 #. type: verbatim
14473 #: ../fish/guestfish-actions.pod:3888
14474 #, no-wrap
14475 msgid ""
14476 " ping-daemon\n"
14477 "\n"
14478 msgstr ""
14479 " ping-daemon\n"
14480 "\n"
14481
14482 #. type: textblock
14483 #: ../fish/guestfish-actions.pod:3890 ../src/guestfs-actions.pod:6049
14484 msgid ""
14485 "This is a test probe into the guestfs daemon running inside the qemu "
14486 "subprocess.  Calling this function checks that the daemon responds to the "
14487 "ping message, without affecting the daemon or attached block device(s) in "
14488 "any other way."
14489 msgstr ""
14490
14491 #. type: =head2
14492 #: ../fish/guestfish-actions.pod:3895
14493 msgid "pread"
14494 msgstr "pread"
14495
14496 #. type: verbatim
14497 #: ../fish/guestfish-actions.pod:3897
14498 #, no-wrap
14499 msgid ""
14500 " pread path count offset\n"
14501 "\n"
14502 msgstr ""
14503
14504 #. type: textblock
14505 #: ../fish/guestfish-actions.pod:3899 ../src/guestfs-actions.pod:6067
14506 msgid ""
14507 "This command lets you read part of a file.  It reads C<count> bytes of the "
14508 "file, starting at C<offset>, from file C<path>."
14509 msgstr ""
14510
14511 #. type: textblock
14512 #: ../fish/guestfish-actions.pod:3902 ../fish/guestfish-actions.pod:3917
14513 #: ../src/guestfs-actions.pod:6070 ../src/guestfs-actions.pod:6096
14514 msgid ""
14515 "This may read fewer bytes than requested.  For further details see the "
14516 "L<pread(2)> system call."
14517 msgstr ""
14518
14519 #. type: textblock
14520 #: ../fish/guestfish-actions.pod:3905
14521 msgid "See also L</pwrite>, L</pread-device>."
14522 msgstr "Див. також L</pwrite>, L</pread-device>."
14523
14524 #. type: =head2
14525 #: ../fish/guestfish-actions.pod:3910
14526 msgid "pread-device"
14527 msgstr "pread-device"
14528
14529 #. type: verbatim
14530 #: ../fish/guestfish-actions.pod:3912
14531 #, no-wrap
14532 msgid ""
14533 " pread-device device count offset\n"
14534 "\n"
14535 msgstr ""
14536
14537 #. type: textblock
14538 #: ../fish/guestfish-actions.pod:3914 ../src/guestfs-actions.pod:6093
14539 msgid ""
14540 "This command lets you read part of a file.  It reads C<count> bytes of "
14541 "C<device>, starting at C<offset>."
14542 msgstr ""
14543
14544 #. type: textblock
14545 #: ../fish/guestfish-actions.pod:3920
14546 msgid "See also L</pread>."
14547 msgstr "Див. також L</pread>."
14548
14549 #. type: =head2
14550 #: ../fish/guestfish-actions.pod:3925
14551 msgid "pvcreate"
14552 msgstr "pvcreate"
14553
14554 #. type: verbatim
14555 #: ../fish/guestfish-actions.pod:3927
14556 #, no-wrap
14557 msgid ""
14558 " pvcreate device\n"
14559 "\n"
14560 msgstr ""
14561 " pvcreate пристрій\n"
14562 "\n"
14563
14564 #. type: textblock
14565 #: ../fish/guestfish-actions.pod:3929 ../src/guestfs-actions.pod:6116
14566 msgid ""
14567 "This creates an LVM physical volume on the named C<device>, where C<device> "
14568 "should usually be a partition name such as C</dev/sda1>."
14569 msgstr ""
14570
14571 #. type: =head2
14572 #: ../fish/guestfish-actions.pod:3933
14573 msgid "pvremove"
14574 msgstr "pvremove"
14575
14576 #. type: verbatim
14577 #: ../fish/guestfish-actions.pod:3935
14578 #, no-wrap
14579 msgid ""
14580 " pvremove device\n"
14581 "\n"
14582 msgstr ""
14583 " pvremove пристрій\n"
14584 "\n"
14585
14586 #. type: textblock
14587 #: ../fish/guestfish-actions.pod:3937 ../src/guestfs-actions.pod:6130
14588 msgid ""
14589 "This wipes a physical volume C<device> so that LVM will no longer recognise "
14590 "it."
14591 msgstr ""
14592
14593 #. type: textblock
14594 #: ../fish/guestfish-actions.pod:3940 ../src/guestfs-actions.pod:6133
14595 msgid ""
14596 "The implementation uses the C<pvremove> command which refuses to wipe "
14597 "physical volumes that contain any volume groups, so you have to remove those "
14598 "first."
14599 msgstr ""
14600
14601 #. type: =head2
14602 #: ../fish/guestfish-actions.pod:3944
14603 msgid "pvresize"
14604 msgstr "pvresize"
14605
14606 #. type: verbatim
14607 #: ../fish/guestfish-actions.pod:3946
14608 #, no-wrap
14609 msgid ""
14610 " pvresize device\n"
14611 "\n"
14612 msgstr ""
14613 " pvresize пристрій\n"
14614 "\n"
14615
14616 #. type: textblock
14617 #: ../fish/guestfish-actions.pod:3948 ../src/guestfs-actions.pod:6147
14618 msgid ""
14619 "This resizes (expands or shrinks) an existing LVM physical volume to match "
14620 "the new size of the underlying device."
14621 msgstr ""
14622
14623 #. type: =head2
14624 #: ../fish/guestfish-actions.pod:3951
14625 msgid "pvresize-size"
14626 msgstr "pvresize-size"
14627
14628 #. type: verbatim
14629 #: ../fish/guestfish-actions.pod:3953
14630 #, no-wrap
14631 msgid ""
14632 " pvresize-size device size\n"
14633 "\n"
14634 msgstr ""
14635
14636 #. type: textblock
14637 #: ../fish/guestfish-actions.pod:3955
14638 msgid ""
14639 "This command is the same as L</pvresize> except that it allows you to "
14640 "specify the new size (in bytes) explicitly."
14641 msgstr ""
14642
14643 #. type: =head2
14644 #: ../fish/guestfish-actions.pod:3958
14645 msgid "pvs"
14646 msgstr "pvs"
14647
14648 #. type: verbatim
14649 #: ../fish/guestfish-actions.pod:3960
14650 #, no-wrap
14651 msgid ""
14652 " pvs\n"
14653 "\n"
14654 msgstr ""
14655 " pvs\n"
14656 "\n"
14657
14658 #. type: textblock
14659 #: ../fish/guestfish-actions.pod:3962 ../src/guestfs-actions.pod:6173
14660 msgid ""
14661 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
14662 "(8)> command."
14663 msgstr ""
14664
14665 #. type: textblock
14666 #: ../fish/guestfish-actions.pod:3965 ../src/guestfs-actions.pod:6176
14667 msgid ""
14668 "This returns a list of just the device names that contain PVs (eg. C</dev/"
14669 "sda2>)."
14670 msgstr ""
14671
14672 #. type: textblock
14673 #: ../fish/guestfish-actions.pod:3968
14674 msgid "See also L</pvs-full>."
14675 msgstr "Див. також L</pvs-full>."
14676
14677 #. type: =head2
14678 #: ../fish/guestfish-actions.pod:3970
14679 msgid "pvs-full"
14680 msgstr "pvs-full"
14681
14682 #. type: verbatim
14683 #: ../fish/guestfish-actions.pod:3972
14684 #, no-wrap
14685 msgid ""
14686 " pvs-full\n"
14687 "\n"
14688 msgstr ""
14689 " pvs-full\n"
14690 "\n"
14691
14692 #. type: textblock
14693 #: ../fish/guestfish-actions.pod:3974 ../src/guestfs-actions.pod:6192
14694 msgid ""
14695 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
14696 "(8)> command.  The \"full\" version includes all fields."
14697 msgstr ""
14698
14699 #. type: =head2
14700 #: ../fish/guestfish-actions.pod:3977
14701 msgid "pvuuid"
14702 msgstr "pvuuid"
14703
14704 #. type: verbatim
14705 #: ../fish/guestfish-actions.pod:3979
14706 #, no-wrap
14707 msgid ""
14708 " pvuuid device\n"
14709 "\n"
14710 msgstr ""
14711 " pvuuid пристрій\n"
14712 "\n"
14713
14714 #. type: textblock
14715 #: ../fish/guestfish-actions.pod:3981 ../src/guestfs-actions.pod:6207
14716 msgid "This command returns the UUID of the LVM PV C<device>."
14717 msgstr ""
14718
14719 #. type: =head2
14720 #: ../fish/guestfish-actions.pod:3983
14721 msgid "pwrite"
14722 msgstr "pwrite"
14723
14724 #. type: verbatim
14725 #: ../fish/guestfish-actions.pod:3985
14726 #, no-wrap
14727 msgid ""
14728 " pwrite path content offset\n"
14729 "\n"
14730 msgstr ""
14731
14732 #. type: textblock
14733 #: ../fish/guestfish-actions.pod:3987 ../src/guestfs-actions.pod:6223
14734 msgid ""
14735 "This command writes to part of a file.  It writes the data buffer C<content> "
14736 "to the file C<path> starting at offset C<offset>."
14737 msgstr ""
14738
14739 #. type: textblock
14740 #: ../fish/guestfish-actions.pod:3990 ../src/guestfs-actions.pod:6226
14741 msgid ""
14742 "This command implements the L<pwrite(2)> system call, and like that system "
14743 "call it may not write the full data requested.  The return value is the "
14744 "number of bytes that were actually written to the file.  This could even be "
14745 "0, although short writes are unlikely for regular files in ordinary "
14746 "circumstances."
14747 msgstr ""
14748
14749 #. type: textblock
14750 #: ../fish/guestfish-actions.pod:3996
14751 msgid "See also L</pread>, L</pwrite-device>."
14752 msgstr "Див. також L</pread>, L</pwrite-device>."
14753
14754 #. type: =head2
14755 #: ../fish/guestfish-actions.pod:4001
14756 msgid "pwrite-device"
14757 msgstr "pwrite-device"
14758
14759 #. type: verbatim
14760 #: ../fish/guestfish-actions.pod:4003
14761 #, no-wrap
14762 msgid ""
14763 " pwrite-device device content offset\n"
14764 "\n"
14765 msgstr ""
14766
14767 #. type: textblock
14768 #: ../fish/guestfish-actions.pod:4005 ../src/guestfs-actions.pod:6250
14769 msgid ""
14770 "This command writes to part of a device.  It writes the data buffer "
14771 "C<content> to C<device> starting at offset C<offset>."
14772 msgstr ""
14773
14774 #. type: textblock
14775 #: ../fish/guestfish-actions.pod:4008 ../src/guestfs-actions.pod:6253
14776 msgid ""
14777 "This command implements the L<pwrite(2)> system call, and like that system "
14778 "call it may not write the full data requested (although short writes to disk "
14779 "devices and partitions are probably impossible with standard Linux kernels)."
14780 msgstr ""
14781
14782 #. type: textblock
14783 #: ../fish/guestfish-actions.pod:4013
14784 msgid "See also L</pwrite>."
14785 msgstr "Див. також L</pwrite>."
14786
14787 #. type: =head2
14788 #: ../fish/guestfish-actions.pod:4018
14789 msgid "read-file"
14790 msgstr "read-file"
14791
14792 #. type: verbatim
14793 #: ../fish/guestfish-actions.pod:4020
14794 #, no-wrap
14795 msgid ""
14796 " read-file path\n"
14797 "\n"
14798 msgstr ""
14799 " read-file шлях\n"
14800 "\n"
14801
14802 #. type: textblock
14803 #: ../fish/guestfish-actions.pod:4022 ../src/guestfs-actions.pod:6274
14804 msgid "This calls returns the contents of the file C<path> as a buffer."
14805 msgstr ""
14806
14807 #. type: textblock
14808 #: ../fish/guestfish-actions.pod:4025
14809 msgid ""
14810 "Unlike L</cat>, this function can correctly handle files that contain "
14811 "embedded ASCII NUL characters.  However unlike L</download>, this function "
14812 "is limited in the total size of file that can be handled."
14813 msgstr ""
14814
14815 #. type: =head2
14816 #: ../fish/guestfish-actions.pod:4033
14817 msgid "read-lines"
14818 msgstr "read-lines"
14819
14820 #. type: verbatim
14821 #: ../fish/guestfish-actions.pod:4035
14822 #, no-wrap
14823 msgid ""
14824 " read-lines path\n"
14825 "\n"
14826 msgstr ""
14827 " read-lines шлях\n"
14828 "\n"
14829
14830 #. type: textblock
14831 #: ../fish/guestfish-actions.pod:4039 ../src/guestfs-actions.pod:6299
14832 msgid ""
14833 "The file contents are returned as a list of lines.  Trailing C<LF> and "
14834 "C<CRLF> character sequences are I<not> returned."
14835 msgstr ""
14836
14837 #. type: textblock
14838 #: ../fish/guestfish-actions.pod:4042
14839 msgid ""
14840 "Note that this function cannot correctly handle binary files (specifically, "
14841 "files containing C<\\0> character which is treated as end of line).  For "
14842 "those you need to use the L</read-file> function which has a more complex "
14843 "interface."
14844 msgstr ""
14845
14846 #. type: =head2
14847 #: ../fish/guestfish-actions.pod:4047
14848 msgid "readdir"
14849 msgstr "readdir"
14850
14851 #. type: verbatim
14852 #: ../fish/guestfish-actions.pod:4049
14853 #, no-wrap
14854 msgid ""
14855 " readdir dir\n"
14856 "\n"
14857 msgstr ""
14858 " readdir каталог\n"
14859 "\n"
14860
14861 #. type: textblock
14862 #: ../fish/guestfish-actions.pod:4051 ../src/guestfs-actions.pod:6319
14863 msgid "This returns the list of directory entries in directory C<dir>."
14864 msgstr ""
14865
14866 #. type: textblock
14867 #: ../fish/guestfish-actions.pod:4053 ../src/guestfs-actions.pod:6321
14868 msgid ""
14869 "All entries in the directory are returned, including C<.> and C<..>.  The "
14870 "entries are I<not> sorted, but returned in the same order as the underlying "
14871 "filesystem."
14872 msgstr ""
14873
14874 #. type: textblock
14875 #: ../fish/guestfish-actions.pod:4057 ../src/guestfs-actions.pod:6325
14876 msgid ""
14877 "Also this call returns basic file type information about each file.  The "
14878 "C<ftyp> field will contain one of the following characters:"
14879 msgstr ""
14880
14881 #. type: =item
14882 #: ../fish/guestfish-actions.pod:4062 ../src/guestfs-actions.pod:6330
14883 msgid "'b'"
14884 msgstr "'b'"
14885
14886 #. type: textblock
14887 #: ../fish/guestfish-actions.pod:4064 ../src/guestfs-actions.pod:6332
14888 msgid "Block special"
14889 msgstr "Блоковий особливий"
14890
14891 #. type: =item
14892 #: ../fish/guestfish-actions.pod:4066 ../src/guestfs-actions.pod:6334
14893 msgid "'c'"
14894 msgstr "'c'"
14895
14896 #. type: textblock
14897 #: ../fish/guestfish-actions.pod:4068 ../src/guestfs-actions.pod:6336
14898 msgid "Char special"
14899 msgstr "Символьний особливий"
14900
14901 #. type: =item
14902 #: ../fish/guestfish-actions.pod:4070 ../src/guestfs-actions.pod:6338
14903 msgid "'d'"
14904 msgstr "'d'"
14905
14906 #. type: textblock
14907 #: ../fish/guestfish-actions.pod:4072 ../src/guestfs-actions.pod:6340
14908 msgid "Directory"
14909 msgstr "Каталог"
14910
14911 #. type: =item
14912 #: ../fish/guestfish-actions.pod:4074 ../src/guestfs-actions.pod:6342
14913 msgid "'f'"
14914 msgstr "'f'"
14915
14916 #. type: textblock
14917 #: ../fish/guestfish-actions.pod:4076 ../src/guestfs-actions.pod:6344
14918 msgid "FIFO (named pipe)"
14919 msgstr "FIFO (іменований канал)"
14920
14921 #. type: =item
14922 #: ../fish/guestfish-actions.pod:4078 ../src/guestfs-actions.pod:6346
14923 msgid "'l'"
14924 msgstr "'l'"
14925
14926 #. type: textblock
14927 #: ../fish/guestfish-actions.pod:4080 ../src/guestfs-actions.pod:6348
14928 msgid "Symbolic link"
14929 msgstr "Символічне посилання"
14930
14931 #. type: =item
14932 #: ../fish/guestfish-actions.pod:4082 ../src/guestfs-actions.pod:6350
14933 msgid "'r'"
14934 msgstr "'r'"
14935
14936 #. type: textblock
14937 #: ../fish/guestfish-actions.pod:4084 ../src/guestfs-actions.pod:6352
14938 msgid "Regular file"
14939 msgstr "Звичайний файл"
14940
14941 #. type: =item
14942 #: ../fish/guestfish-actions.pod:4086 ../src/guestfs-actions.pod:6354
14943 msgid "'s'"
14944 msgstr "'s'"
14945
14946 #. type: textblock
14947 #: ../fish/guestfish-actions.pod:4088 ../src/guestfs-actions.pod:6356
14948 msgid "Socket"
14949 msgstr "Сокет"
14950
14951 #. type: =item
14952 #: ../fish/guestfish-actions.pod:4090 ../src/guestfs-actions.pod:6358
14953 msgid "'u'"
14954 msgstr "'u'"
14955
14956 #. type: textblock
14957 #: ../fish/guestfish-actions.pod:4092 ../src/guestfs-actions.pod:6360
14958 msgid "Unknown file type"
14959 msgstr "Невідомий тип файла"
14960
14961 #. type: =item
14962 #: ../fish/guestfish-actions.pod:4094 ../src/guestfs-actions.pod:6362
14963 msgid "'?'"
14964 msgstr ""
14965
14966 #. type: textblock
14967 #: ../fish/guestfish-actions.pod:4096 ../src/guestfs-actions.pod:6364
14968 msgid ""
14969 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
14970 msgstr ""
14971
14972 #. type: textblock
14973 #: ../fish/guestfish-actions.pod:4101
14974 msgid ""
14975 "This function is primarily intended for use by programs.  To get a simple "
14976 "list of names, use L</ls>.  To get a printable directory for human "
14977 "consumption, use L</ll>."
14978 msgstr ""
14979
14980 #. type: =head2
14981 #: ../fish/guestfish-actions.pod:4105
14982 msgid "readlink"
14983 msgstr "readlink"
14984
14985 #. type: verbatim
14986 #: ../fish/guestfish-actions.pod:4107
14987 #, no-wrap
14988 msgid ""
14989 " readlink path\n"
14990 "\n"
14991 msgstr ""
14992 " readlink шлях\n"
14993 "\n"
14994
14995 #. type: textblock
14996 #: ../fish/guestfish-actions.pod:4109 ../src/guestfs-actions.pod:6385
14997 msgid "This command reads the target of a symbolic link."
14998 msgstr ""
14999
15000 #. type: =head2
15001 #: ../fish/guestfish-actions.pod:4111
15002 msgid "readlinklist"
15003 msgstr "readlinklist"
15004
15005 #. type: verbatim
15006 #: ../fish/guestfish-actions.pod:4113
15007 #, no-wrap
15008 msgid ""
15009 " readlinklist path 'names ...'\n"
15010 "\n"
15011 msgstr ""
15012
15013 #. type: textblock
15014 #: ../fish/guestfish-actions.pod:4115 ../src/guestfs-actions.pod:6399
15015 msgid ""
15016 "This call allows you to do a C<readlink> operation on multiple files, where "
15017 "all files are in the directory C<path>.  C<names> is the list of files from "
15018 "this directory."
15019 msgstr ""
15020
15021 #. type: textblock
15022 #: ../fish/guestfish-actions.pod:4119 ../src/guestfs-actions.pod:6403
15023 msgid ""
15024 "On return you get a list of strings, with a one-to-one correspondence to the "
15025 "C<names> list.  Each string is the value of the symbolic link."
15026 msgstr ""
15027
15028 #. type: textblock
15029 #: ../fish/guestfish-actions.pod:4123 ../src/guestfs-actions.pod:6407
15030 msgid ""
15031 "If the C<readlink(2)> operation fails on any name, then the corresponding "
15032 "result string is the empty string C<\"\">.  However the whole operation is "
15033 "completed even if there were C<readlink(2)> errors, and so you can call this "
15034 "function with names where you don't know if they are symbolic links already "
15035 "(albeit slightly less efficient)."
15036 msgstr ""
15037
15038 #. type: textblock
15039 #: ../fish/guestfish-actions.pod:4130 ../src/guestfs-actions.pod:6414
15040 msgid ""
15041 "This call is intended for programs that want to efficiently list a directory "
15042 "contents without making many round-trips.  Very long directory listings "
15043 "might cause the protocol message size to be exceeded, causing this call to "
15044 "fail.  The caller must split up such requests into smaller groups of names."
15045 msgstr ""
15046
15047 #. type: =head2
15048 #: ../fish/guestfish-actions.pod:4137
15049 msgid "realpath"
15050 msgstr "realpath"
15051
15052 #. type: verbatim
15053 #: ../fish/guestfish-actions.pod:4139
15054 #, no-wrap
15055 msgid ""
15056 " realpath path\n"
15057 "\n"
15058 msgstr ""
15059 " realpath шлях\n"
15060 "\n"
15061
15062 #. type: textblock
15063 #: ../fish/guestfish-actions.pod:4141 ../src/guestfs-actions.pod:6433
15064 msgid ""
15065 "Return the canonicalized absolute pathname of C<path>.  The returned path "
15066 "has no C<.>, C<..> or symbolic link path elements."
15067 msgstr ""
15068
15069 #. type: =head2
15070 #: ../fish/guestfish-actions.pod:4144
15071 msgid "removexattr"
15072 msgstr "removexattr"
15073
15074 #. type: verbatim
15075 #: ../fish/guestfish-actions.pod:4146
15076 #, no-wrap
15077 msgid ""
15078 " removexattr xattr path\n"
15079 "\n"
15080 msgstr ""
15081
15082 #. type: textblock
15083 #: ../fish/guestfish-actions.pod:4148 ../src/guestfs-actions.pod:6448
15084 msgid ""
15085 "This call removes the extended attribute named C<xattr> of the file C<path>."
15086 msgstr ""
15087
15088 #. type: textblock
15089 #: ../fish/guestfish-actions.pod:4151
15090 msgid "See also: L</lremovexattr>, L<attr(5)>."
15091 msgstr "Див. також L</lremovexattr>, L<attr(5)>."
15092
15093 #. type: =head2
15094 #: ../fish/guestfish-actions.pod:4153
15095 msgid "resize2fs"
15096 msgstr "resize2fs"
15097
15098 #. type: verbatim
15099 #: ../fish/guestfish-actions.pod:4155
15100 #, no-wrap
15101 msgid ""
15102 " resize2fs device\n"
15103 "\n"
15104 msgstr ""
15105 " resize2fs пристрій\n"
15106 "\n"
15107
15108 #. type: textblock
15109 #: ../fish/guestfish-actions.pod:4157 ../src/guestfs-actions.pod:6463
15110 msgid ""
15111 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
15112 "underlying device."
15113 msgstr ""
15114
15115 #. type: textblock
15116 #: ../fish/guestfish-actions.pod:4160
15117 msgid ""
15118 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
15119 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
15120 "gives an error about this and sometimes not.  In any case, it is always safe "
15121 "to call L</e2fsck-f> before calling this function."
15122 msgstr ""
15123
15124 #. type: =head2
15125 #: ../fish/guestfish-actions.pod:4166
15126 msgid "resize2fs-M"
15127 msgstr "resize2fs-M"
15128
15129 #. type: verbatim
15130 #: ../fish/guestfish-actions.pod:4168
15131 #, no-wrap
15132 msgid ""
15133 " resize2fs-M device\n"
15134 "\n"
15135 msgstr ""
15136 " resize2fs-M пристрій\n"
15137 "\n"
15138
15139 #. type: textblock
15140 #: ../fish/guestfish-actions.pod:4170
15141 msgid ""
15142 "This command is the same as L</resize2fs>, but the filesystem is resized to "
15143 "its minimum size.  This works like the I<-M> option to the C<resize2fs> "
15144 "command."
15145 msgstr ""
15146
15147 #. type: textblock
15148 #: ../fish/guestfish-actions.pod:4174
15149 msgid ""
15150 "To get the resulting size of the filesystem you should call L</tune2fs-l> "
15151 "and read the C<Block size> and C<Block count> values.  These two numbers, "
15152 "multiplied together, give the resulting size of the minimal filesystem in "
15153 "bytes."
15154 msgstr ""
15155
15156 #. type: =head2
15157 #: ../fish/guestfish-actions.pod:4179
15158 msgid "resize2fs-size"
15159 msgstr "resize2fs-size"
15160
15161 #. type: verbatim
15162 #: ../fish/guestfish-actions.pod:4181
15163 #, no-wrap
15164 msgid ""
15165 " resize2fs-size device size\n"
15166 "\n"
15167 msgstr ""
15168
15169 #. type: textblock
15170 #: ../fish/guestfish-actions.pod:4183
15171 msgid ""
15172 "This command is the same as L</resize2fs> except that it allows you to "
15173 "specify the new size (in bytes) explicitly."
15174 msgstr ""
15175
15176 #. type: =head2
15177 #: ../fish/guestfish-actions.pod:4186
15178 msgid "rm"
15179 msgstr "rm"
15180
15181 #. type: verbatim
15182 #: ../fish/guestfish-actions.pod:4188
15183 #, no-wrap
15184 msgid ""
15185 " rm path\n"
15186 "\n"
15187 msgstr ""
15188 " rm шлях\n"
15189 "\n"
15190
15191 #. type: textblock
15192 #: ../fish/guestfish-actions.pod:4190 ../src/guestfs-actions.pod:6515
15193 msgid "Remove the single file C<path>."
15194 msgstr ""
15195
15196 #. type: =head2
15197 #: ../fish/guestfish-actions.pod:4192
15198 msgid "rm-rf"
15199 msgstr "rm-rf"
15200
15201 #. type: verbatim
15202 #: ../fish/guestfish-actions.pod:4194
15203 #, no-wrap
15204 msgid ""
15205 " rm-rf path\n"
15206 "\n"
15207 msgstr ""
15208 " rm-rf шлях\n"
15209 "\n"
15210
15211 #. type: textblock
15212 #: ../fish/guestfish-actions.pod:4196 ../src/guestfs-actions.pod:6527
15213 msgid ""
15214 "Remove the file or directory C<path>, recursively removing the contents if "
15215 "its a directory.  This is like the C<rm -rf> shell command."
15216 msgstr ""
15217
15218 #. type: =head2
15219 #: ../fish/guestfish-actions.pod:4200
15220 msgid "rmdir"
15221 msgstr "rmdir"
15222
15223 #. type: verbatim
15224 #: ../fish/guestfish-actions.pod:4202
15225 #, no-wrap
15226 msgid ""
15227 " rmdir path\n"
15228 "\n"
15229 msgstr ""
15230 " rmdir шлях\n"
15231 "\n"
15232
15233 #. type: textblock
15234 #: ../fish/guestfish-actions.pod:4204 ../src/guestfs-actions.pod:6541
15235 msgid "Remove the single directory C<path>."
15236 msgstr ""
15237
15238 #. type: =head2
15239 #: ../fish/guestfish-actions.pod:4206
15240 msgid "rmmountpoint"
15241 msgstr "rmmountpoint"
15242
15243 #. type: verbatim
15244 #: ../fish/guestfish-actions.pod:4208
15245 #, no-wrap
15246 msgid ""
15247 " rmmountpoint exemptpath\n"
15248 "\n"
15249 msgstr ""
15250
15251 #. type: textblock
15252 #: ../fish/guestfish-actions.pod:4210
15253 msgid ""
15254 "This calls removes a mountpoint that was previously created with L</"
15255 "mkmountpoint>.  See L</mkmountpoint> for full details."
15256 msgstr ""
15257
15258 #. type: =head2
15259 #: ../fish/guestfish-actions.pod:4214
15260 msgid "scrub-device"
15261 msgstr "scrub-device"
15262
15263 #. type: verbatim
15264 #: ../fish/guestfish-actions.pod:4216
15265 #, no-wrap
15266 msgid ""
15267 " scrub-device device\n"
15268 "\n"
15269 msgstr ""
15270 " scrub-device пристрій\n"
15271 "\n"
15272
15273 #. type: textblock
15274 #: ../fish/guestfish-actions.pod:4218 ../src/guestfs-actions.pod:6567
15275 msgid ""
15276 "This command writes patterns over C<device> to make data retrieval more "
15277 "difficult."
15278 msgstr ""
15279
15280 #. type: textblock
15281 #: ../fish/guestfish-actions.pod:4221 ../fish/guestfish-actions.pod:4233
15282 #: ../fish/guestfish-actions.pod:4246 ../src/guestfs-actions.pod:6570
15283 #: ../src/guestfs-actions.pod:6588 ../src/guestfs-actions.pod:6607
15284 msgid ""
15285 "It is an interface to the L<scrub(1)> program.  See that manual page for "
15286 "more details."
15287 msgstr ""
15288
15289 #. type: =head2
15290 #: ../fish/guestfish-actions.pod:4224
15291 msgid "scrub-file"
15292 msgstr "scrub-file"
15293
15294 #. type: verbatim
15295 #: ../fish/guestfish-actions.pod:4226
15296 #, no-wrap
15297 msgid ""
15298 " scrub-file file\n"
15299 "\n"
15300 msgstr ""
15301 " scrub-file файл\n"
15302 "\n"
15303
15304 #. type: textblock
15305 #: ../fish/guestfish-actions.pod:4228 ../src/guestfs-actions.pod:6583
15306 msgid ""
15307 "This command writes patterns over a file to make data retrieval more "
15308 "difficult."
15309 msgstr ""
15310
15311 #. type: textblock
15312 #: ../fish/guestfish-actions.pod:4231 ../src/guestfs-actions.pod:6586
15313 msgid "The file is I<removed> after scrubbing."
15314 msgstr ""
15315
15316 #. type: =head2
15317 #: ../fish/guestfish-actions.pod:4236
15318 msgid "scrub-freespace"
15319 msgstr "scrub-freespace"
15320
15321 #. type: verbatim
15322 #: ../fish/guestfish-actions.pod:4238
15323 #, no-wrap
15324 msgid ""
15325 " scrub-freespace dir\n"
15326 "\n"
15327 msgstr ""
15328 " scrub-freespace каталог\n"
15329 "\n"
15330
15331 #. type: textblock
15332 #: ../fish/guestfish-actions.pod:4240
15333 msgid ""
15334 "This command creates the directory C<dir> and then fills it with files until "
15335 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
15336 "deletes them.  The intention is to scrub any free space on the partition "
15337 "containing C<dir>."
15338 msgstr ""
15339
15340 #. type: =head2
15341 #: ../fish/guestfish-actions.pod:4249
15342 msgid "set-append"
15343 msgstr "set-append"
15344
15345 #. type: =head2
15346 #: ../fish/guestfish-actions.pod:4251
15347 msgid "append"
15348 msgstr ""
15349
15350 #. type: verbatim
15351 #: ../fish/guestfish-actions.pod:4253
15352 #, no-wrap
15353 msgid ""
15354 " set-append append\n"
15355 "\n"
15356 msgstr ""
15357
15358 #. type: textblock
15359 #: ../fish/guestfish-actions.pod:4255 ../src/guestfs-actions.pod:6620
15360 msgid ""
15361 "This function is used to add additional options to the guest kernel command "
15362 "line."
15363 msgstr ""
15364
15365 #. type: textblock
15366 #: ../fish/guestfish-actions.pod:4258 ../src/guestfs-actions.pod:6623
15367 msgid ""
15368 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
15369 "environment variable."
15370 msgstr ""
15371
15372 #. type: textblock
15373 #: ../fish/guestfish-actions.pod:4261 ../src/guestfs-actions.pod:6626
15374 msgid ""
15375 "Setting C<append> to C<NULL> means I<no> additional options are passed "
15376 "(libguestfs always adds a few of its own)."
15377 msgstr ""
15378
15379 #. type: =head2
15380 #: ../fish/guestfish-actions.pod:4264
15381 msgid "set-attach-method"
15382 msgstr "set-attach-method"
15383
15384 #. type: =head2
15385 #: ../fish/guestfish-actions.pod:4266
15386 msgid "attach-method"
15387 msgstr ""
15388
15389 #. type: verbatim
15390 #: ../fish/guestfish-actions.pod:4268
15391 #, no-wrap
15392 msgid ""
15393 " set-attach-method attachmethod\n"
15394 "\n"
15395 msgstr ""
15396
15397 #. type: textblock
15398 #: ../fish/guestfish-actions.pod:4270 ../src/guestfs-actions.pod:6639
15399 msgid ""
15400 "Set the method that libguestfs uses to connect to the back end guestfsd "
15401 "daemon.  Possible methods are:"
15402 msgstr ""
15403
15404 #. type: =item
15405 #: ../fish/guestfish-actions.pod:4275 ../src/guestfs-actions.pod:6644
15406 #: ../src/guestfs.pod:2916
15407 msgid "C<appliance>"
15408 msgstr "C<appliance>"
15409
15410 #. type: textblock
15411 #: ../fish/guestfish-actions.pod:4277 ../src/guestfs-actions.pod:6646
15412 msgid ""
15413 "Launch an appliance and connect to it.  This is the ordinary method and the "
15414 "default."
15415 msgstr ""
15416
15417 #. type: =item
15418 #: ../fish/guestfish-actions.pod:4280 ../src/guestfs-actions.pod:6649
15419 msgid "C<unix:I<path>>"
15420 msgstr "C<unix:I<шлях>>"
15421
15422 #. type: textblock
15423 #: ../fish/guestfish-actions.pod:4282 ../src/guestfs-actions.pod:6651
15424 msgid "Connect to the Unix domain socket I<path>."
15425 msgstr "Встановити з’єднання з сокетом домену Unix I<шлях>."
15426
15427 #. type: textblock
15428 #: ../fish/guestfish-actions.pod:4284 ../src/guestfs-actions.pod:6653
15429 msgid ""
15430 "This method lets you connect to an existing daemon or (using virtio-serial) "
15431 "to a live guest.  For more information, see L<guestfs(3)/ATTACHING TO "
15432 "RUNNING DAEMONS>."
15433 msgstr ""
15434
15435 #. type: =head2
15436 #: ../fish/guestfish-actions.pod:4290
15437 msgid "set-autosync"
15438 msgstr "set-autosync"
15439
15440 #. type: =head2
15441 #: ../fish/guestfish-actions.pod:4292
15442 msgid "autosync"
15443 msgstr "autosync"
15444
15445 #. type: verbatim
15446 #: ../fish/guestfish-actions.pod:4294
15447 #, no-wrap
15448 msgid ""
15449 " set-autosync true|false\n"
15450 "\n"
15451 msgstr ""
15452 " set-autosync true|false\n"
15453 "\n"
15454
15455 #. type: textblock
15456 #: ../fish/guestfish-actions.pod:4296 ../src/guestfs-actions.pod:6669
15457 msgid ""
15458 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
15459 "effort attempt to make filesystems consistent and synchronized when the "
15460 "handle is closed (also if the program exits without closing handles)."
15461 msgstr ""
15462
15463 #. type: textblock
15464 #: ../fish/guestfish-actions.pod:4301 ../src/guestfs-actions.pod:6674
15465 msgid ""
15466 "This is enabled by default (since libguestfs 1.5.24, previously it was "
15467 "disabled by default)."
15468 msgstr ""
15469
15470 #. type: =head2
15471 #: ../fish/guestfish-actions.pod:4304
15472 msgid "set-direct"
15473 msgstr "set-direct"
15474
15475 #. type: =head2
15476 #: ../fish/guestfish-actions.pod:4306
15477 msgid "direct"
15478 msgstr "direct"
15479
15480 #. type: verbatim
15481 #: ../fish/guestfish-actions.pod:4308
15482 #, no-wrap
15483 msgid ""
15484 " set-direct true|false\n"
15485 "\n"
15486 msgstr ""
15487 " set-direct true|false\n"
15488 "\n"
15489
15490 #. type: textblock
15491 #: ../fish/guestfish-actions.pod:4310 ../src/guestfs-actions.pod:6687
15492 msgid ""
15493 "If the direct appliance mode flag is enabled, then stdin and stdout are "
15494 "passed directly through to the appliance once it is launched."
15495 msgstr ""
15496
15497 #. type: textblock
15498 #: ../fish/guestfish-actions.pod:4314
15499 msgid ""
15500 "One consequence of this is that log messages aren't caught by the library "
15501 "and handled by L</set-log-message-callback>, but go straight to stdout."
15502 msgstr ""
15503
15504 #. type: textblock
15505 #: ../fish/guestfish-actions.pod:4318 ../src/guestfs-actions.pod:6695
15506 msgid "You probably don't want to use this unless you know what you are doing."
15507 msgstr ""
15508
15509 #. type: textblock
15510 #: ../fish/guestfish-actions.pod:4321 ../src/guestfs-actions.pod:6698
15511 msgid "The default is disabled."
15512 msgstr ""
15513
15514 #. type: =head2
15515 #: ../fish/guestfish-actions.pod:4323
15516 msgid "set-e2label"
15517 msgstr "set-e2label"
15518
15519 #. type: verbatim
15520 #: ../fish/guestfish-actions.pod:4325
15521 #, no-wrap
15522 msgid ""
15523 " set-e2label device label\n"
15524 "\n"
15525 msgstr ""
15526
15527 #. type: textblock
15528 #: ../fish/guestfish-actions.pod:4327 ../src/guestfs-actions.pod:6711
15529 msgid ""
15530 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
15531 "C<label>.  Filesystem labels are limited to 16 characters."
15532 msgstr ""
15533
15534 #. type: textblock
15535 #: ../fish/guestfish-actions.pod:4331
15536 msgid ""
15537 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
15538 "label on a filesystem."
15539 msgstr ""
15540
15541 #. type: =head2
15542 #: ../fish/guestfish-actions.pod:4334
15543 msgid "set-e2uuid"
15544 msgstr "set-e2uuid"
15545
15546 #. type: verbatim
15547 #: ../fish/guestfish-actions.pod:4336
15548 #, no-wrap
15549 msgid ""
15550 " set-e2uuid device uuid\n"
15551 "\n"
15552 msgstr ""
15553
15554 #. type: textblock
15555 #: ../fish/guestfish-actions.pod:4338 ../src/guestfs-actions.pod:6729
15556 msgid ""
15557 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
15558 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
15559 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
15560 msgstr ""
15561
15562 #. type: textblock
15563 #: ../fish/guestfish-actions.pod:4343
15564 msgid ""
15565 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
15566 "UUID of a filesystem."
15567 msgstr ""
15568
15569 #. type: =head2
15570 #: ../fish/guestfish-actions.pod:4346
15571 msgid "set-memsize"
15572 msgstr "set-memsize"
15573
15574 #. type: =head2
15575 #: ../fish/guestfish-actions.pod:4348
15576 msgid "memsize"
15577 msgstr ""
15578
15579 #. type: verbatim
15580 #: ../fish/guestfish-actions.pod:4350
15581 #, no-wrap
15582 msgid ""
15583 " set-memsize memsize\n"
15584 "\n"
15585 msgstr ""
15586
15587 #. type: textblock
15588 #: ../fish/guestfish-actions.pod:4352
15589 msgid ""
15590 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
15591 "This only has any effect if called before L</launch>."
15592 msgstr ""
15593
15594 #. type: textblock
15595 #: ../fish/guestfish-actions.pod:4356 ../src/guestfs-actions.pod:6751
15596 msgid ""
15597 "You can also change this by setting the environment variable "
15598 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
15599 msgstr ""
15600
15601 #. type: =head2
15602 #: ../fish/guestfish-actions.pod:4363
15603 msgid "set-network"
15604 msgstr "set-network"
15605
15606 #. type: =head2
15607 #: ../fish/guestfish-actions.pod:4365
15608 msgid "network"
15609 msgstr "network"
15610
15611 #. type: verbatim
15612 #: ../fish/guestfish-actions.pod:4367
15613 #, no-wrap
15614 msgid ""
15615 " set-network true|false\n"
15616 "\n"
15617 msgstr ""
15618 " set-network true|false\n"
15619 "\n"
15620
15621 #. type: textblock
15622 #: ../fish/guestfish-actions.pod:4369 ../src/guestfs-actions.pod:6768
15623 msgid ""
15624 "If C<network> is true, then the network is enabled in the libguestfs "
15625 "appliance.  The default is false."
15626 msgstr ""
15627
15628 #. type: textblock
15629 #: ../fish/guestfish-actions.pod:4372 ../src/guestfs-actions.pod:6771
15630 msgid ""
15631 "This affects whether commands are able to access the network (see L<guestfs"
15632 "(3)/RUNNING COMMANDS>)."
15633 msgstr ""
15634
15635 #. type: textblock
15636 #: ../fish/guestfish-actions.pod:4375
15637 msgid ""
15638 "You must call this before calling L</launch>, otherwise it has no effect."
15639 msgstr ""
15640
15641 #. type: =head2
15642 #: ../fish/guestfish-actions.pod:4378
15643 msgid "set-path"
15644 msgstr "set-path"
15645
15646 #. type: verbatim
15647 #: ../fish/guestfish-actions.pod:4382
15648 #, no-wrap
15649 msgid ""
15650 " set-path searchpath\n"
15651 "\n"
15652 msgstr ""
15653
15654 #. type: textblock
15655 #: ../fish/guestfish-actions.pod:4384 ../src/guestfs-actions.pod:6787
15656 msgid "Set the path that libguestfs searches for kernel and initrd.img."
15657 msgstr ""
15658
15659 #. type: textblock
15660 #: ../fish/guestfish-actions.pod:4386 ../src/guestfs-actions.pod:6789
15661 msgid ""
15662 "The default is C<$libdir/guestfs> unless overridden by setting "
15663 "C<LIBGUESTFS_PATH> environment variable."
15664 msgstr ""
15665
15666 #. type: textblock
15667 #: ../fish/guestfish-actions.pod:4389 ../src/guestfs-actions.pod:6792
15668 msgid "Setting C<path> to C<NULL> restores the default path."
15669 msgstr ""
15670
15671 #. type: =head2
15672 #: ../fish/guestfish-actions.pod:4391
15673 msgid "set-pgroup"
15674 msgstr ""
15675
15676 #. type: =head2
15677 #: ../fish/guestfish-actions.pod:4393
15678 msgid "pgroup"
15679 msgstr ""
15680
15681 #. type: verbatim
15682 #: ../fish/guestfish-actions.pod:4395
15683 #, no-wrap
15684 msgid ""
15685 " set-pgroup true|false\n"
15686 "\n"
15687 msgstr ""
15688
15689 #. type: textblock
15690 #: ../fish/guestfish-actions.pod:4397 ../src/guestfs-actions.pod:6804
15691 msgid ""
15692 "If C<pgroup> is true, child processes are placed into their own process "
15693 "group."
15694 msgstr ""
15695
15696 #. type: textblock
15697 #: ../fish/guestfish-actions.pod:4400 ../src/guestfs-actions.pod:6807
15698 msgid ""
15699 "The practical upshot of this is that signals like C<SIGINT> (from users "
15700 "pressing C<^C>) won't be received by the child process."
15701 msgstr ""
15702
15703 #. type: textblock
15704 #: ../fish/guestfish-actions.pod:4403 ../src/guestfs-actions.pod:6810
15705 msgid ""
15706 "The default for this flag is false, because usually you want C<^C> to kill "
15707 "the subprocess."
15708 msgstr ""
15709
15710 #. type: =head2
15711 #: ../fish/guestfish-actions.pod:4406
15712 msgid "set-qemu"
15713 msgstr "set-qemu"
15714
15715 #. type: =head2
15716 #: ../fish/guestfish-actions.pod:4408
15717 msgid "qemu"
15718 msgstr "qemu"
15719
15720 #. type: verbatim
15721 #: ../fish/guestfish-actions.pod:4410
15722 #, no-wrap
15723 msgid ""
15724 " set-qemu qemu\n"
15725 "\n"
15726 msgstr ""
15727 " set-qemu qemu\n"
15728 "\n"
15729
15730 #. type: textblock
15731 #: ../fish/guestfish-actions.pod:4412 ../src/guestfs-actions.pod:6823
15732 msgid "Set the qemu binary that we will use."
15733 msgstr ""
15734
15735 #. type: textblock
15736 #: ../fish/guestfish-actions.pod:4414 ../src/guestfs-actions.pod:6825
15737 msgid ""
15738 "The default is chosen when the library was compiled by the configure script."
15739 msgstr ""
15740
15741 #. type: textblock
15742 #: ../fish/guestfish-actions.pod:4417 ../src/guestfs-actions.pod:6828
15743 msgid ""
15744 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
15745 "variable."
15746 msgstr ""
15747
15748 #. type: textblock
15749 #: ../fish/guestfish-actions.pod:4420 ../src/guestfs-actions.pod:6831
15750 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
15751 msgstr ""
15752
15753 #. type: textblock
15754 #: ../fish/guestfish-actions.pod:4422 ../src/guestfs-actions.pod:6833
15755 msgid ""
15756 "Note that you should call this function as early as possible after creating "
15757 "the handle.  This is because some pre-launch operations depend on testing "
15758 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
15759 "don't retest features, and so you might see inconsistent results.  Using the "
15760 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
15761 "the qemu binary at the same time as the handle is created."
15762 msgstr ""
15763
15764 #. type: =head2
15765 #: ../fish/guestfish-actions.pod:4430
15766 msgid "set-recovery-proc"
15767 msgstr "set-recovery-proc"
15768
15769 #. type: =head2
15770 #: ../fish/guestfish-actions.pod:4432
15771 msgid "recovery-proc"
15772 msgstr "recovery-proc"
15773
15774 #. type: verbatim
15775 #: ../fish/guestfish-actions.pod:4434
15776 #, no-wrap
15777 msgid ""
15778 " set-recovery-proc true|false\n"
15779 "\n"
15780 msgstr ""
15781 " set-recovery-proc true|false\n"
15782 "\n"
15783
15784 #. type: textblock
15785 #: ../fish/guestfish-actions.pod:4436
15786 msgid ""
15787 "If this is called with the parameter C<false> then L</launch> does not "
15788 "create a recovery process.  The purpose of the recovery process is to stop "
15789 "runaway qemu processes in the case where the main program aborts abruptly."
15790 msgstr ""
15791
15792 #. type: textblock
15793 #: ../fish/guestfish-actions.pod:4441
15794 msgid ""
15795 "This only has any effect if called before L</launch>, and the default is "
15796 "true."
15797 msgstr ""
15798
15799 #. type: textblock
15800 #: ../fish/guestfish-actions.pod:4444 ../src/guestfs-actions.pod:6859
15801 msgid ""
15802 "About the only time when you would want to disable this is if the main "
15803 "process will fork itself into the background (\"daemonize\" itself).  In "
15804 "this case the recovery process thinks that the main program has disappeared "
15805 "and so kills qemu, which is not very helpful."
15806 msgstr ""
15807
15808 #. type: =head2
15809 #: ../fish/guestfish-actions.pod:4450
15810 msgid "set-selinux"
15811 msgstr "set-selinux"
15812
15813 #. type: =head2
15814 #: ../fish/guestfish-actions.pod:4452
15815 msgid "selinux"
15816 msgstr "selinux"
15817
15818 #. type: verbatim
15819 #: ../fish/guestfish-actions.pod:4454
15820 #, no-wrap
15821 msgid ""
15822 " set-selinux true|false\n"
15823 "\n"
15824 msgstr ""
15825 " set-selinux true|false\n"
15826 "\n"
15827
15828 #. type: textblock
15829 #: ../fish/guestfish-actions.pod:4456 ../src/guestfs-actions.pod:6875
15830 msgid ""
15831 "This sets the selinux flag that is passed to the appliance at boot time.  "
15832 "The default is C<selinux=0> (disabled)."
15833 msgstr ""
15834
15835 #. type: textblock
15836 #: ../fish/guestfish-actions.pod:4459 ../src/guestfs-actions.pod:6878
15837 msgid ""
15838 "Note that if SELinux is enabled, it is always in Permissive mode "
15839 "(C<enforcing=0>)."
15840 msgstr ""
15841
15842 #. type: =head2
15843 #: ../fish/guestfish-actions.pod:4465
15844 msgid "set-smp"
15845 msgstr ""
15846
15847 #. type: =head2
15848 #: ../fish/guestfish-actions.pod:4467
15849 msgid "smp"
15850 msgstr ""
15851
15852 #. type: verbatim
15853 #: ../fish/guestfish-actions.pod:4469
15854 #, no-wrap
15855 msgid ""
15856 " set-smp smp\n"
15857 "\n"
15858 msgstr ""
15859
15860 #. type: textblock
15861 #: ../fish/guestfish-actions.pod:4471 ../src/guestfs-actions.pod:6894
15862 msgid ""
15863 "Change the number of virtual CPUs assigned to the appliance.  The default is "
15864 "C<1>.  Increasing this may improve performance, though often it has no "
15865 "effect."
15866 msgstr ""
15867
15868 #. type: textblock
15869 #: ../fish/guestfish-actions.pod:4475
15870 msgid "This function must be called before L</launch>."
15871 msgstr ""
15872
15873 #. type: =head2
15874 #: ../fish/guestfish-actions.pod:4477
15875 msgid "set-trace"
15876 msgstr "set-trace"
15877
15878 #. type: =head2
15879 #: ../fish/guestfish-actions.pod:4479
15880 msgid "trace"
15881 msgstr "trace"
15882
15883 #. type: verbatim
15884 #: ../fish/guestfish-actions.pod:4481
15885 #, no-wrap
15886 msgid ""
15887 " set-trace true|false\n"
15888 "\n"
15889 msgstr ""
15890 " set-trace true|false\n"
15891 "\n"
15892
15893 #. type: textblock
15894 #: ../fish/guestfish-actions.pod:4483 ../src/guestfs-actions.pod:6910
15895 msgid ""
15896 "If the command trace flag is set to 1, then libguestfs calls, parameters and "
15897 "return values are traced."
15898 msgstr ""
15899
15900 #. type: textblock
15901 #: ../fish/guestfish-actions.pod:4486 ../src/guestfs-actions.pod:6913
15902 msgid ""
15903 "If you want to trace C API calls into libguestfs (and other libraries) then "
15904 "possibly a better way is to use the external ltrace(1) command."
15905 msgstr ""
15906
15907 #. type: textblock
15908 #: ../fish/guestfish-actions.pod:4490 ../src/guestfs-actions.pod:6917
15909 msgid ""
15910 "Command traces are disabled unless the environment variable "
15911 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
15912 msgstr ""
15913
15914 #. type: textblock
15915 #: ../fish/guestfish-actions.pod:4493
15916 msgid ""
15917 "Trace messages are normally sent to C<stderr>, unless you register a "
15918 "callback to send them somewhere else (see L</set-event-callback>)."
15919 msgstr ""
15920
15921 #. type: =head2
15922 #: ../fish/guestfish-actions.pod:4497
15923 msgid "set-verbose"
15924 msgstr "set-verbose"
15925
15926 #. type: =head2
15927 #: ../fish/guestfish-actions.pod:4499
15928 msgid "verbose"
15929 msgstr "verbose"
15930
15931 #. type: verbatim
15932 #: ../fish/guestfish-actions.pod:4501
15933 #, no-wrap
15934 msgid ""
15935 " set-verbose true|false\n"
15936 "\n"
15937 msgstr ""
15938 " set-verbose true|false\n"
15939 "\n"
15940
15941 #. type: textblock
15942 #: ../fish/guestfish-actions.pod:4503 ../src/guestfs-actions.pod:6934
15943 msgid "If C<verbose> is true, this turns on verbose messages."
15944 msgstr ""
15945
15946 #. type: textblock
15947 #: ../fish/guestfish-actions.pod:4505 ../src/guestfs-actions.pod:6936
15948 msgid ""
15949 "Verbose messages are disabled unless the environment variable "
15950 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
15951 msgstr ""
15952
15953 #. type: textblock
15954 #: ../fish/guestfish-actions.pod:4508
15955 msgid ""
15956 "Verbose messages are normally sent to C<stderr>, unless you register a "
15957 "callback to send them somewhere else (see L</set-event-callback>)."
15958 msgstr ""
15959
15960 #. type: =head2
15961 #: ../fish/guestfish-actions.pod:4512
15962 msgid "setcon"
15963 msgstr "setcon"
15964
15965 #. type: verbatim
15966 #: ../fish/guestfish-actions.pod:4514
15967 #, no-wrap
15968 msgid ""
15969 " setcon context\n"
15970 "\n"
15971 msgstr ""
15972 " setcon контекст\n"
15973 "\n"
15974
15975 #. type: textblock
15976 #: ../fish/guestfish-actions.pod:4516 ../src/guestfs-actions.pod:6953
15977 msgid ""
15978 "This sets the SELinux security context of the daemon to the string "
15979 "C<context>."
15980 msgstr ""
15981
15982 #. type: textblock
15983 #: ../fish/guestfish-actions.pod:4519 ../src/guestfs-actions.pod:6956
15984 msgid "See the documentation about SELINUX in L<guestfs(3)>."
15985 msgstr ""
15986
15987 #. type: =head2
15988 #: ../fish/guestfish-actions.pod:4521
15989 msgid "setxattr"
15990 msgstr "setxattr"
15991
15992 #. type: verbatim
15993 #: ../fish/guestfish-actions.pod:4523
15994 #, no-wrap
15995 msgid ""
15996 " setxattr xattr val vallen path\n"
15997 "\n"
15998 msgstr ""
15999
16000 #. type: textblock
16001 #: ../fish/guestfish-actions.pod:4525 ../src/guestfs-actions.pod:6971
16002 msgid ""
16003 "This call sets the extended attribute named C<xattr> of the file C<path> to "
16004 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
16005 msgstr ""
16006
16007 #. type: textblock
16008 #: ../fish/guestfish-actions.pod:4529
16009 msgid "See also: L</lsetxattr>, L<attr(5)>."
16010 msgstr "Див. також L</lsetxattr>, L<attr(5)>."
16011
16012 #. type: =head2
16013 #: ../fish/guestfish-actions.pod:4531
16014 msgid "sfdisk"
16015 msgstr "sfdisk"
16016
16017 #. type: verbatim
16018 #: ../fish/guestfish-actions.pod:4533
16019 #, no-wrap
16020 msgid ""
16021 " sfdisk device cyls heads sectors 'lines ...'\n"
16022 "\n"
16023 msgstr ""
16024
16025 #. type: textblock
16026 #: ../fish/guestfish-actions.pod:4535 ../src/guestfs-actions.pod:6998
16027 msgid ""
16028 "This is a direct interface to the L<sfdisk(8)> program for creating "
16029 "partitions on block devices."
16030 msgstr ""
16031
16032 #. type: textblock
16033 #: ../fish/guestfish-actions.pod:4538 ../src/guestfs-actions.pod:7001
16034 msgid "C<device> should be a block device, for example C</dev/sda>."
16035 msgstr ""
16036
16037 #. type: textblock
16038 #: ../fish/guestfish-actions.pod:4540 ../src/guestfs-actions.pod:7003
16039 msgid ""
16040 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
16041 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
16042 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
16043 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
16044 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
16045 "the kernel) cannot work out the right geometry and you will need to tell it."
16046 msgstr ""
16047
16048 #. type: textblock
16049 #: ../fish/guestfish-actions.pod:4548 ../src/guestfs-actions.pod:7011
16050 msgid ""
16051 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
16052 "refer to the L<sfdisk(8)> manpage."
16053 msgstr ""
16054
16055 #. type: textblock
16056 #: ../fish/guestfish-actions.pod:4551 ../src/guestfs-actions.pod:7014
16057 msgid ""
16058 "To create a single partition occupying the whole disk, you would pass "
16059 "C<lines> as a single element list, when the single element being the string "
16060 "C<,> (comma)."
16061 msgstr ""
16062
16063 #. type: textblock
16064 #: ../fish/guestfish-actions.pod:4555
16065 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
16066 msgstr "Див. також L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
16067
16068 #. type: textblock
16069 #: ../fish/guestfish-actions.pod:4558 ../fish/guestfish-actions.pod:4578
16070 #: ../fish/guestfish-actions.pod:4597
16071 msgid ""
16072 "I<This function is deprecated.> In new code, use the L</part_add> call "
16073 "instead."
16074 msgstr ""
16075
16076 #. type: =head2
16077 #: ../fish/guestfish-actions.pod:4565
16078 msgid "sfdiskM"
16079 msgstr "sfdiskM"
16080
16081 #. type: verbatim
16082 #: ../fish/guestfish-actions.pod:4567
16083 #, no-wrap
16084 msgid ""
16085 " sfdiskM device 'lines ...'\n"
16086 "\n"
16087 msgstr ""
16088
16089 #. type: textblock
16090 #: ../fish/guestfish-actions.pod:4569
16091 msgid ""
16092 "This is a simplified interface to the L</sfdisk> command, where partition "
16093 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
16094 "you don't need to specify the cyls, heads and sectors parameters which were "
16095 "rarely if ever used anyway."
16096 msgstr ""
16097
16098 #. type: textblock
16099 #: ../fish/guestfish-actions.pod:4575
16100 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
16101 msgstr ""
16102 "Див також L</sfdisk>, сторінку довідки (man) L<sfdisk(8)> та L</part-disk>"
16103
16104 #. type: =head2
16105 #: ../fish/guestfish-actions.pod:4585
16106 msgid "sfdisk-N"
16107 msgstr "sfdisk-N"
16108
16109 #. type: verbatim
16110 #: ../fish/guestfish-actions.pod:4587
16111 #, no-wrap
16112 msgid ""
16113 " sfdisk-N device partnum cyls heads sectors line\n"
16114 "\n"
16115 msgstr ""
16116
16117 #. type: textblock
16118 #: ../fish/guestfish-actions.pod:4589 ../src/guestfs-actions.pod:7070
16119 msgid ""
16120 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
16121 "(note: C<n> counts from 1)."
16122 msgstr ""
16123
16124 #. type: textblock
16125 #: ../fish/guestfish-actions.pod:4592
16126 msgid ""
16127 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
16128 "cyls/heads/sectors parameters."
16129 msgstr ""
16130
16131 #. type: textblock
16132 #: ../fish/guestfish-actions.pod:4595
16133 msgid "See also: L</part-add>"
16134 msgstr "Див. також L</part-add>"
16135
16136 #. type: =head2
16137 #: ../fish/guestfish-actions.pod:4604
16138 msgid "sfdisk-disk-geometry"
16139 msgstr "sfdisk-disk-geometry"
16140
16141 #. type: verbatim
16142 #: ../fish/guestfish-actions.pod:4606
16143 #, no-wrap
16144 msgid ""
16145 " sfdisk-disk-geometry device\n"
16146 "\n"
16147 msgstr ""
16148 " sfdisk-disk-geometry пристрій\n"
16149 "\n"
16150
16151 #. type: textblock
16152 #: ../fish/guestfish-actions.pod:4608
16153 msgid ""
16154 "This displays the disk geometry of C<device> read from the partition table.  "
16155 "Especially in the case where the underlying block device has been resized, "
16156 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
16157 "kernel-geometry>)."
16158 msgstr ""
16159
16160 #. type: textblock
16161 #: ../fish/guestfish-actions.pod:4613 ../fish/guestfish-actions.pod:4622
16162 #: ../src/guestfs-actions.pod:7093 ../src/guestfs-actions.pod:7109
16163 msgid "The result is in human-readable format, and not designed to be parsed."
16164 msgstr ""
16165
16166 #. type: =head2
16167 #: ../fish/guestfish-actions.pod:4616
16168 msgid "sfdisk-kernel-geometry"
16169 msgstr "sfdisk-kernel-geometry"
16170
16171 #. type: verbatim
16172 #: ../fish/guestfish-actions.pod:4618
16173 #, no-wrap
16174 msgid ""
16175 " sfdisk-kernel-geometry device\n"
16176 "\n"
16177 msgstr ""
16178 " sfdisk-kernel-geometry пристрій\n"
16179 "\n"
16180
16181 #. type: textblock
16182 #: ../fish/guestfish-actions.pod:4620 ../src/guestfs-actions.pod:7107
16183 msgid "This displays the kernel's idea of the geometry of C<device>."
16184 msgstr ""
16185
16186 #. type: =head2
16187 #: ../fish/guestfish-actions.pod:4625
16188 msgid "sfdisk-l"
16189 msgstr "sfdisk-l"
16190
16191 #. type: verbatim
16192 #: ../fish/guestfish-actions.pod:4627
16193 #, no-wrap
16194 msgid ""
16195 " sfdisk-l device\n"
16196 "\n"
16197 msgstr ""
16198 " sfdisk-l пристрій\n"
16199 "\n"
16200
16201 #. type: textblock
16202 #: ../fish/guestfish-actions.pod:4629 ../src/guestfs-actions.pod:7130
16203 msgid ""
16204 "This displays the partition table on C<device>, in the human-readable output "
16205 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
16206 msgstr ""
16207
16208 #. type: textblock
16209 #: ../fish/guestfish-actions.pod:4633
16210 msgid "See also: L</part-list>"
16211 msgstr "Див. також L</part-list>"
16212
16213 #. type: textblock
16214 #: ../fish/guestfish-actions.pod:4635
16215 msgid ""
16216 "I<This function is deprecated.> In new code, use the L</part_list> call "
16217 "instead."
16218 msgstr ""
16219
16220 #. type: =head2
16221 #: ../fish/guestfish-actions.pod:4642
16222 msgid "sh"
16223 msgstr "sh"
16224
16225 #. type: verbatim
16226 #: ../fish/guestfish-actions.pod:4644
16227 #, no-wrap
16228 msgid ""
16229 " sh command\n"
16230 "\n"
16231 msgstr ""
16232 " sh команда\n"
16233 "\n"
16234
16235 #. type: textblock
16236 #: ../fish/guestfish-actions.pod:4646 ../src/guestfs-actions.pod:7147
16237 msgid ""
16238 "This call runs a command from the guest filesystem via the guest's C</bin/"
16239 "sh>."
16240 msgstr ""
16241
16242 #. type: textblock
16243 #: ../fish/guestfish-actions.pod:4649
16244 msgid "This is like L</command>, but passes the command to:"
16245 msgstr ""
16246
16247 #. type: verbatim
16248 #: ../fish/guestfish-actions.pod:4651 ../src/guestfs-actions.pod:7152
16249 #, no-wrap
16250 msgid ""
16251 " /bin/sh -c \"command\"\n"
16252 "\n"
16253 msgstr ""
16254
16255 #. type: textblock
16256 #: ../fish/guestfish-actions.pod:4653 ../src/guestfs-actions.pod:7154
16257 msgid ""
16258 "Depending on the guest's shell, this usually results in wildcards being "
16259 "expanded, shell expressions being interpolated and so on."
16260 msgstr ""
16261
16262 #. type: textblock
16263 #: ../fish/guestfish-actions.pod:4657
16264 msgid "All the provisos about L</command> apply to this call."
16265 msgstr ""
16266
16267 #. type: =head2
16268 #: ../fish/guestfish-actions.pod:4659
16269 msgid "sh-lines"
16270 msgstr "sh-lines"
16271
16272 #. type: verbatim
16273 #: ../fish/guestfish-actions.pod:4661
16274 #, no-wrap
16275 msgid ""
16276 " sh-lines command\n"
16277 "\n"
16278 msgstr ""
16279 " sh-lines команда\n"
16280 "\n"
16281
16282 #. type: textblock
16283 #: ../fish/guestfish-actions.pod:4663
16284 msgid "This is the same as L</sh>, but splits the result into a list of lines."
16285 msgstr ""
16286
16287 #. type: textblock
16288 #: ../fish/guestfish-actions.pod:4666
16289 msgid "See also: L</command-lines>"
16290 msgstr "Див. також L</command-lines>"
16291
16292 #. type: =head2
16293 #: ../fish/guestfish-actions.pod:4668
16294 msgid "sleep"
16295 msgstr "sleep"
16296
16297 #. type: verbatim
16298 #: ../fish/guestfish-actions.pod:4670
16299 #, no-wrap
16300 msgid ""
16301 " sleep secs\n"
16302 "\n"
16303 msgstr ""
16304 " sleep час_у_секундах\n"
16305 "\n"
16306
16307 #. type: textblock
16308 #: ../fish/guestfish-actions.pod:4672 ../src/guestfs-actions.pod:7188
16309 msgid "Sleep for C<secs> seconds."
16310 msgstr ""
16311
16312 #. type: =head2
16313 #: ../fish/guestfish-actions.pod:4674
16314 msgid "stat"
16315 msgstr "stat"
16316
16317 #. type: verbatim
16318 #: ../fish/guestfish-actions.pod:4676
16319 #, no-wrap
16320 msgid ""
16321 " stat path\n"
16322 "\n"
16323 msgstr ""
16324 " stat шлях\n"
16325 "\n"
16326
16327 #. type: textblock
16328 #: ../fish/guestfish-actions.pod:4680 ../src/guestfs-actions.pod:7202
16329 msgid "This is the same as the C<stat(2)> system call."
16330 msgstr ""
16331
16332 #. type: =head2
16333 #: ../fish/guestfish-actions.pod:4682
16334 msgid "statvfs"
16335 msgstr "statvfs"
16336
16337 #. type: verbatim
16338 #: ../fish/guestfish-actions.pod:4684
16339 #, no-wrap
16340 msgid ""
16341 " statvfs path\n"
16342 "\n"
16343 msgstr ""
16344 " statvfs шлях\n"
16345 "\n"
16346
16347 #. type: textblock
16348 #: ../fish/guestfish-actions.pod:4686 ../src/guestfs-actions.pod:7216
16349 msgid ""
16350 "Returns file system statistics for any mounted file system.  C<path> should "
16351 "be a file or directory in the mounted file system (typically it is the mount "
16352 "point itself, but it doesn't need to be)."
16353 msgstr ""
16354
16355 #. type: textblock
16356 #: ../fish/guestfish-actions.pod:4690 ../src/guestfs-actions.pod:7220
16357 msgid "This is the same as the C<statvfs(2)> system call."
16358 msgstr ""
16359
16360 #. type: =head2
16361 #: ../fish/guestfish-actions.pod:4692
16362 msgid "strings"
16363 msgstr "strings"
16364
16365 #. type: verbatim
16366 #: ../fish/guestfish-actions.pod:4694
16367 #, no-wrap
16368 msgid ""
16369 " strings path\n"
16370 "\n"
16371 msgstr ""
16372 " strings шлях\n"
16373 "\n"
16374
16375 #. type: textblock
16376 #: ../fish/guestfish-actions.pod:4696 ../src/guestfs-actions.pod:7234
16377 msgid ""
16378 "This runs the L<strings(1)> command on a file and returns the list of "
16379 "printable strings found."
16380 msgstr ""
16381
16382 #. type: =head2
16383 #: ../fish/guestfish-actions.pod:4702
16384 msgid "strings-e"
16385 msgstr "strings-e"
16386
16387 #. type: verbatim
16388 #: ../fish/guestfish-actions.pod:4704
16389 #, no-wrap
16390 msgid ""
16391 " strings-e encoding path\n"
16392 "\n"
16393 msgstr ""
16394 " strings-e кодування шлях\n"
16395 "\n"
16396
16397 #. type: textblock
16398 #: ../fish/guestfish-actions.pod:4706
16399 msgid ""
16400 "This is like the L</strings> command, but allows you to specify the encoding "
16401 "of strings that are looked for in the source file C<path>."
16402 msgstr ""
16403
16404 #. type: textblock
16405 #: ../fish/guestfish-actions.pod:4710 ../src/guestfs-actions.pod:7257
16406 msgid "Allowed encodings are:"
16407 msgstr "Можливими кодуваннями є:"
16408
16409 #. type: =item
16410 #: ../fish/guestfish-actions.pod:4714 ../src/guestfs-actions.pod:7261
16411 msgid "s"
16412 msgstr "s"
16413
16414 #. type: textblock
16415 #: ../fish/guestfish-actions.pod:4716
16416 msgid ""
16417 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
16418 "ISO-8859-X (this is what L</strings> uses)."
16419 msgstr ""
16420
16421 #. type: =item
16422 #: ../fish/guestfish-actions.pod:4719 ../src/guestfs-actions.pod:7266
16423 msgid "S"
16424 msgstr "S"
16425
16426 #. type: textblock
16427 #: ../fish/guestfish-actions.pod:4721 ../src/guestfs-actions.pod:7268
16428 msgid "Single 8-bit-byte characters."
16429 msgstr "Окремі 8-бітові-байтові символи."
16430
16431 #. type: =item
16432 #: ../fish/guestfish-actions.pod:4723 ../src/guestfs-actions.pod:7270
16433 msgid "b"
16434 msgstr "b"
16435
16436 #. type: textblock
16437 #: ../fish/guestfish-actions.pod:4725 ../src/guestfs-actions.pod:7272
16438 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
16439 msgstr ""
16440
16441 #. type: =item
16442 #: ../fish/guestfish-actions.pod:4728 ../src/guestfs-actions.pod:7275
16443 msgid "l (lower case letter L)"
16444 msgstr ""
16445
16446 #. type: textblock
16447 #: ../fish/guestfish-actions.pod:4730 ../src/guestfs-actions.pod:7277
16448 msgid ""
16449 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
16450 "examining binaries in Windows guests."
16451 msgstr ""
16452
16453 #. type: =item
16454 #: ../fish/guestfish-actions.pod:4733 ../src/guestfs-actions.pod:7280
16455 msgid "B"
16456 msgstr "B"
16457
16458 #. type: textblock
16459 #: ../fish/guestfish-actions.pod:4735 ../src/guestfs-actions.pod:7282
16460 msgid "32-bit big endian such as UCS-4BE."
16461 msgstr ""
16462
16463 #. type: =item
16464 #: ../fish/guestfish-actions.pod:4737 ../src/guestfs-actions.pod:7284
16465 msgid "L"
16466 msgstr "L"
16467
16468 #. type: textblock
16469 #: ../fish/guestfish-actions.pod:4739 ../src/guestfs-actions.pod:7286
16470 msgid "32-bit little endian such as UCS-4LE."
16471 msgstr ""
16472
16473 #. type: textblock
16474 #: ../fish/guestfish-actions.pod:4743 ../src/guestfs-actions.pod:7290
16475 msgid "The returned strings are transcoded to UTF-8."
16476 msgstr ""
16477
16478 #. type: =head2
16479 #: ../fish/guestfish-actions.pod:4748
16480 msgid "swapoff-device"
16481 msgstr "swapoff-device"
16482
16483 #. type: verbatim
16484 #: ../fish/guestfish-actions.pod:4750
16485 #, no-wrap
16486 msgid ""
16487 " swapoff-device device\n"
16488 "\n"
16489 msgstr ""
16490 " swapoff-device пристрій\n"
16491 "\n"
16492
16493 #. type: textblock
16494 #: ../fish/guestfish-actions.pod:4752
16495 msgid ""
16496 "This command disables the libguestfs appliance swap device or partition "
16497 "named C<device>.  See L</swapon-device>."
16498 msgstr ""
16499
16500 #. type: =head2
16501 #: ../fish/guestfish-actions.pod:4756
16502 msgid "swapoff-file"
16503 msgstr "swapoff-file"
16504
16505 #. type: verbatim
16506 #: ../fish/guestfish-actions.pod:4758
16507 #, no-wrap
16508 msgid ""
16509 " swapoff-file file\n"
16510 "\n"
16511 msgstr ""
16512 " swapoff-file файл\n"
16513 "\n"
16514
16515 #. type: textblock
16516 #: ../fish/guestfish-actions.pod:4760 ../src/guestfs-actions.pod:7321
16517 msgid "This command disables the libguestfs appliance swap on file."
16518 msgstr ""
16519
16520 #. type: =head2
16521 #: ../fish/guestfish-actions.pod:4762
16522 msgid "swapoff-label"
16523 msgstr "swapoff-label"
16524
16525 #. type: verbatim
16526 #: ../fish/guestfish-actions.pod:4764
16527 #, no-wrap
16528 msgid ""
16529 " swapoff-label label\n"
16530 "\n"
16531 msgstr ""
16532 " swapoff-label мітка\n"
16533 "\n"
16534
16535 #. type: textblock
16536 #: ../fish/guestfish-actions.pod:4766 ../src/guestfs-actions.pod:7333
16537 msgid ""
16538 "This command disables the libguestfs appliance swap on labeled swap "
16539 "partition."
16540 msgstr ""
16541
16542 #. type: =head2
16543 #: ../fish/guestfish-actions.pod:4769
16544 msgid "swapoff-uuid"
16545 msgstr "swapoff-uuid"
16546
16547 #. type: verbatim
16548 #: ../fish/guestfish-actions.pod:4771
16549 #, no-wrap
16550 msgid ""
16551 " swapoff-uuid uuid\n"
16552 "\n"
16553 msgstr ""
16554 " swapoff-uuid uuid\n"
16555 "\n"
16556
16557 #. type: textblock
16558 #: ../fish/guestfish-actions.pod:4773 ../src/guestfs-actions.pod:7346
16559 msgid ""
16560 "This command disables the libguestfs appliance swap partition with the given "
16561 "UUID."
16562 msgstr ""
16563
16564 #. type: =head2
16565 #: ../fish/guestfish-actions.pod:4776
16566 msgid "swapon-device"
16567 msgstr "swapon-device"
16568
16569 #. type: verbatim
16570 #: ../fish/guestfish-actions.pod:4778
16571 #, no-wrap
16572 msgid ""
16573 " swapon-device device\n"
16574 "\n"
16575 msgstr ""
16576 " swapon-device пристрій\n"
16577 "\n"
16578
16579 #. type: textblock
16580 #: ../fish/guestfish-actions.pod:4780
16581 msgid ""
16582 "This command enables the libguestfs appliance to use the swap device or "
16583 "partition named C<device>.  The increased memory is made available for all "
16584 "commands, for example those run using L</command> or L</sh>."
16585 msgstr ""
16586
16587 #. type: textblock
16588 #: ../fish/guestfish-actions.pod:4785 ../src/guestfs-actions.pod:7364
16589 msgid ""
16590 "Note that you should not swap to existing guest swap partitions unless you "
16591 "know what you are doing.  They may contain hibernation information, or other "
16592 "information that the guest doesn't want you to trash.  You also risk leaking "
16593 "information about the host to the guest this way.  Instead, attach a new "
16594 "host device to the guest and swap on that."
16595 msgstr ""
16596
16597 #. type: =head2
16598 #: ../fish/guestfish-actions.pod:4792
16599 msgid "swapon-file"
16600 msgstr "swapon-file"
16601
16602 #. type: verbatim
16603 #: ../fish/guestfish-actions.pod:4794
16604 #, no-wrap
16605 msgid ""
16606 " swapon-file file\n"
16607 "\n"
16608 msgstr ""
16609 " swapon-file файл\n"
16610 "\n"
16611
16612 #. type: textblock
16613 #: ../fish/guestfish-actions.pod:4796
16614 msgid ""
16615 "This command enables swap to a file.  See L</swapon-device> for other notes."
16616 msgstr ""
16617
16618 #. type: =head2
16619 #: ../fish/guestfish-actions.pod:4799
16620 msgid "swapon-label"
16621 msgstr "swapon-label"
16622
16623 #. type: verbatim
16624 #: ../fish/guestfish-actions.pod:4801
16625 #, no-wrap
16626 msgid ""
16627 " swapon-label label\n"
16628 "\n"
16629 msgstr ""
16630 " swapon-label мітка\n"
16631 "\n"
16632
16633 #. type: textblock
16634 #: ../fish/guestfish-actions.pod:4803
16635 msgid ""
16636 "This command enables swap to a labeled swap partition.  See L</swapon-"
16637 "device> for other notes."
16638 msgstr ""
16639
16640 #. type: =head2
16641 #: ../fish/guestfish-actions.pod:4806
16642 msgid "swapon-uuid"
16643 msgstr "swapon-uuid"
16644
16645 #. type: verbatim
16646 #: ../fish/guestfish-actions.pod:4808
16647 #, no-wrap
16648 msgid ""
16649 " swapon-uuid uuid\n"
16650 "\n"
16651 msgstr ""
16652 " swapon-uuid uuid\n"
16653 "\n"
16654
16655 #. type: textblock
16656 #: ../fish/guestfish-actions.pod:4810
16657 msgid ""
16658 "This command enables swap to a swap partition with the given UUID.  See L</"
16659 "swapon-device> for other notes."
16660 msgstr ""
16661
16662 #. type: =head2
16663 #: ../fish/guestfish-actions.pod:4813
16664 msgid "sync"
16665 msgstr "sync"
16666
16667 #. type: verbatim
16668 #: ../fish/guestfish-actions.pod:4815
16669 #, no-wrap
16670 msgid ""
16671 " sync\n"
16672 "\n"
16673 msgstr ""
16674 " sync\n"
16675 "\n"
16676
16677 #. type: textblock
16678 #: ../fish/guestfish-actions.pod:4817 ../src/guestfs-actions.pod:7419
16679 msgid ""
16680 "This syncs the disk, so that any writes are flushed through to the "
16681 "underlying disk image."
16682 msgstr ""
16683
16684 #. type: textblock
16685 #: ../fish/guestfish-actions.pod:4820 ../src/guestfs-actions.pod:7422
16686 msgid ""
16687 "You should always call this if you have modified a disk image, before "
16688 "closing the handle."
16689 msgstr ""
16690
16691 #. type: =head2
16692 #: ../fish/guestfish-actions.pod:4823
16693 msgid "tail"
16694 msgstr "tail"
16695
16696 #. type: verbatim
16697 #: ../fish/guestfish-actions.pod:4825
16698 #, no-wrap
16699 msgid ""
16700 " tail path\n"
16701 "\n"
16702 msgstr ""
16703 " tail шлях\n"
16704 "\n"
16705
16706 #. type: textblock
16707 #: ../fish/guestfish-actions.pod:4827 ../src/guestfs-actions.pod:7435
16708 msgid ""
16709 "This command returns up to the last 10 lines of a file as a list of strings."
16710 msgstr ""
16711
16712 #. type: =head2
16713 #: ../fish/guestfish-actions.pod:4833
16714 msgid "tail-n"
16715 msgstr "tail-n"
16716
16717 #. type: verbatim
16718 #: ../fish/guestfish-actions.pod:4835
16719 #, no-wrap
16720 msgid ""
16721 " tail-n nrlines path\n"
16722 "\n"
16723 msgstr ""
16724
16725 #. type: textblock
16726 #: ../fish/guestfish-actions.pod:4837 ../src/guestfs-actions.pod:7454
16727 msgid ""
16728 "If the parameter C<nrlines> is a positive number, this returns the last "
16729 "C<nrlines> lines of the file C<path>."
16730 msgstr ""
16731
16732 #. type: textblock
16733 #: ../fish/guestfish-actions.pod:4840 ../src/guestfs-actions.pod:7457
16734 msgid ""
16735 "If the parameter C<nrlines> is a negative number, this returns lines from "
16736 "the file C<path>, starting with the C<-nrlines>th line."
16737 msgstr ""
16738
16739 #. type: =head2
16740 #: ../fish/guestfish-actions.pod:4848
16741 msgid "tar-in"
16742 msgstr "tar-in"
16743
16744 #. type: verbatim
16745 #: ../fish/guestfish-actions.pod:4850
16746 #, no-wrap
16747 msgid ""
16748 " tar-in (tarfile|-) directory\n"
16749 "\n"
16750 msgstr ""
16751 " tar-in (файл_tar|-) каталог\n"
16752 "\n"
16753
16754 #. type: textblock
16755 #: ../fish/guestfish-actions.pod:4852 ../src/guestfs-actions.pod:7478
16756 msgid ""
16757 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
16758 "tar file) into C<directory>."
16759 msgstr ""
16760
16761 #. type: textblock
16762 #: ../fish/guestfish-actions.pod:4855
16763 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
16764 msgstr ""
16765
16766 #. type: =head2
16767 #: ../fish/guestfish-actions.pod:4860
16768 msgid "tar-out"
16769 msgstr "tar-out"
16770
16771 #. type: verbatim
16772 #: ../fish/guestfish-actions.pod:4862
16773 #, no-wrap
16774 msgid ""
16775 " tar-out directory (tarfile|-)\n"
16776 "\n"
16777 msgstr ""
16778 " tar-out каталог (файл tar|-)\n"
16779 "\n"
16780
16781 #. type: textblock
16782 #: ../fish/guestfish-actions.pod:4864 ../src/guestfs-actions.pod:7495
16783 msgid ""
16784 "This command packs the contents of C<directory> and downloads it to local "
16785 "file C<tarfile>."
16786 msgstr ""
16787
16788 #. type: textblock
16789 #: ../fish/guestfish-actions.pod:4867
16790 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
16791 msgstr ""
16792
16793 #. type: =head2
16794 #: ../fish/guestfish-actions.pod:4872
16795 msgid "tgz-in"
16796 msgstr "tgz-in"
16797
16798 #. type: verbatim
16799 #: ../fish/guestfish-actions.pod:4874
16800 #, no-wrap
16801 msgid ""
16802 " tgz-in (tarball|-) directory\n"
16803 "\n"
16804 msgstr ""
16805 " tgz-in (архів tar|-) каталог\n"
16806 "\n"
16807
16808 #. type: textblock
16809 #: ../fish/guestfish-actions.pod:4876 ../src/guestfs-actions.pod:7512
16810 msgid ""
16811 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
16812 "tar file) into C<directory>."
16813 msgstr ""
16814
16815 #. type: textblock
16816 #: ../fish/guestfish-actions.pod:4879
16817 msgid "To upload an uncompressed tarball, use L</tar-in>."
16818 msgstr ""
16819
16820 #. type: =head2
16821 #: ../fish/guestfish-actions.pod:4883
16822 msgid "tgz-out"
16823 msgstr "tgz-out"
16824
16825 #. type: verbatim
16826 #: ../fish/guestfish-actions.pod:4885
16827 #, no-wrap
16828 msgid ""
16829 " tgz-out directory (tarball|-)\n"
16830 "\n"
16831 msgstr ""
16832 " tgz-out каталог (архів tar|-)\n"
16833 "\n"
16834
16835 #. type: textblock
16836 #: ../fish/guestfish-actions.pod:4887 ../src/guestfs-actions.pod:7528
16837 msgid ""
16838 "This command packs the contents of C<directory> and downloads it to local "
16839 "file C<tarball>."
16840 msgstr ""
16841
16842 #. type: textblock
16843 #: ../fish/guestfish-actions.pod:4890
16844 msgid "To download an uncompressed tarball, use L</tar-out>."
16845 msgstr ""
16846
16847 #. type: =head2
16848 #: ../fish/guestfish-actions.pod:4894
16849 msgid "touch"
16850 msgstr "touch"
16851
16852 #. type: verbatim
16853 #: ../fish/guestfish-actions.pod:4896
16854 #, no-wrap
16855 msgid ""
16856 " touch path\n"
16857 "\n"
16858 msgstr ""
16859 " touch шлях\n"
16860 "\n"
16861
16862 #. type: textblock
16863 #: ../fish/guestfish-actions.pod:4898 ../src/guestfs-actions.pod:7543
16864 msgid ""
16865 "Touch acts like the L<touch(1)> command.  It can be used to update the "
16866 "timestamps on a file, or, if the file does not exist, to create a new zero-"
16867 "length file."
16868 msgstr ""
16869
16870 #. type: textblock
16871 #: ../fish/guestfish-actions.pod:4902 ../src/guestfs-actions.pod:7547
16872 msgid ""
16873 "This command only works on regular files, and will fail on other file types "
16874 "such as directories, symbolic links, block special etc."
16875 msgstr ""
16876
16877 #. type: =head2
16878 #: ../fish/guestfish-actions.pod:4905
16879 msgid "truncate"
16880 msgstr "truncate"
16881
16882 #. type: verbatim
16883 #: ../fish/guestfish-actions.pod:4907
16884 #, no-wrap
16885 msgid ""
16886 " truncate path\n"
16887 "\n"
16888 msgstr ""
16889 " truncate шлях\n"
16890 "\n"
16891
16892 #. type: textblock
16893 #: ../fish/guestfish-actions.pod:4909 ../src/guestfs-actions.pod:7560
16894 msgid ""
16895 "This command truncates C<path> to a zero-length file.  The file must exist "
16896 "already."
16897 msgstr ""
16898
16899 #. type: =head2
16900 #: ../fish/guestfish-actions.pod:4912
16901 msgid "truncate-size"
16902 msgstr "truncate-size"
16903
16904 #. type: verbatim
16905 #: ../fish/guestfish-actions.pod:4914
16906 #, no-wrap
16907 msgid ""
16908 " truncate-size path size\n"
16909 "\n"
16910 msgstr ""
16911 " truncate-size шлях розмір\n"
16912 "\n"
16913
16914 #. type: textblock
16915 #: ../fish/guestfish-actions.pod:4916 ../src/guestfs-actions.pod:7574
16916 msgid ""
16917 "This command truncates C<path> to size C<size> bytes.  The file must exist "
16918 "already."
16919 msgstr ""
16920
16921 #. type: textblock
16922 #: ../fish/guestfish-actions.pod:4919
16923 msgid ""
16924 "If the current file size is less than C<size> then the file is extended to "
16925 "the required size with zero bytes.  This creates a sparse file (ie. disk "
16926 "blocks are not allocated for the file until you write to it).  To create a "
16927 "non-sparse file of zeroes, use L</fallocate64> instead."
16928 msgstr ""
16929
16930 #. type: =head2
16931 #: ../fish/guestfish-actions.pod:4925
16932 msgid "tune2fs-l"
16933 msgstr "tune2fs-l"
16934
16935 #. type: verbatim
16936 #: ../fish/guestfish-actions.pod:4927
16937 #, no-wrap
16938 msgid ""
16939 " tune2fs-l device\n"
16940 "\n"
16941 msgstr ""
16942 " tune2fs-l пристрій\n"
16943 "\n"
16944
16945 #. type: textblock
16946 #: ../fish/guestfish-actions.pod:4929 ../src/guestfs-actions.pod:7593
16947 msgid ""
16948 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
16949 "C<device>."
16950 msgstr ""
16951
16952 #. type: textblock
16953 #: ../fish/guestfish-actions.pod:4932 ../src/guestfs-actions.pod:7596
16954 msgid ""
16955 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
16956 "for more details.  The list of fields returned isn't clearly defined, and "
16957 "depends on both the version of C<tune2fs> that libguestfs was built against, "
16958 "and the filesystem itself."
16959 msgstr ""
16960
16961 #. type: =head2
16962 #: ../fish/guestfish-actions.pod:4937
16963 msgid "txz-in"
16964 msgstr "txz-in"
16965
16966 #. type: verbatim
16967 #: ../fish/guestfish-actions.pod:4939
16968 #, no-wrap
16969 msgid ""
16970 " txz-in (tarball|-) directory\n"
16971 "\n"
16972 msgstr ""
16973 " txz-in (архів tar|-) каталог\n"
16974 "\n"
16975
16976 #. type: textblock
16977 #: ../fish/guestfish-actions.pod:4941 ../src/guestfs-actions.pod:7616
16978 msgid ""
16979 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
16980 "tar file) into C<directory>."
16981 msgstr ""
16982
16983 #. type: =head2
16984 #: ../fish/guestfish-actions.pod:4946
16985 msgid "txz-out"
16986 msgstr "txz-out"
16987
16988 #. type: verbatim
16989 #: ../fish/guestfish-actions.pod:4948
16990 #, no-wrap
16991 msgid ""
16992 " txz-out directory (tarball|-)\n"
16993 "\n"
16994 msgstr ""
16995 " txz-out каталог (архів tar|-)\n"
16996 "\n"
16997
16998 #. type: textblock
16999 #: ../fish/guestfish-actions.pod:4950 ../src/guestfs-actions.pod:7630
17000 msgid ""
17001 "This command packs the contents of C<directory> and downloads it to local "
17002 "file C<tarball> (as an xz compressed tar archive)."
17003 msgstr ""
17004
17005 #. type: =head2
17006 #: ../fish/guestfish-actions.pod:4955
17007 msgid "umask"
17008 msgstr "umask"
17009
17010 #. type: verbatim
17011 #: ../fish/guestfish-actions.pod:4957
17012 #, no-wrap
17013 msgid ""
17014 " umask mask\n"
17015 "\n"
17016 msgstr ""
17017 " umask маска\n"
17018 "\n"
17019
17020 #. type: textblock
17021 #: ../fish/guestfish-actions.pod:4959 ../src/guestfs-actions.pod:7643
17022 msgid ""
17023 "This function sets the mask used for creating new files and device nodes to "
17024 "C<mask & 0777>."
17025 msgstr ""
17026
17027 #. type: textblock
17028 #: ../fish/guestfish-actions.pod:4962 ../src/guestfs-actions.pod:7646
17029 msgid ""
17030 "Typical umask values would be C<022> which creates new files with "
17031 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
17032 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
17033 msgstr ""
17034
17035 #. type: textblock
17036 #: ../fish/guestfish-actions.pod:4967 ../src/guestfs-actions.pod:7651
17037 msgid ""
17038 "The default umask is C<022>.  This is important because it means that "
17039 "directories and device nodes will be created with C<0644> or C<0755> mode "
17040 "even if you specify C<0777>."
17041 msgstr ""
17042
17043 #. type: textblock
17044 #: ../fish/guestfish-actions.pod:4971
17045 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
17046 msgstr "Див. також L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
17047
17048 #. type: textblock
17049 #: ../fish/guestfish-actions.pod:4974 ../src/guestfs-actions.pod:7658
17050 msgid "This call returns the previous umask."
17051 msgstr ""
17052
17053 #. type: =head2
17054 #: ../fish/guestfish-actions.pod:4976
17055 msgid "umount"
17056 msgstr "umount"
17057
17058 #. type: =head2
17059 #: ../fish/guestfish-actions.pod:4978
17060 msgid "unmount"
17061 msgstr "unmount"
17062
17063 #. type: verbatim
17064 #: ../fish/guestfish-actions.pod:4980
17065 #, no-wrap
17066 msgid ""
17067 " umount pathordevice\n"
17068 "\n"
17069 msgstr ""
17070 " umount шлях_або_пристрій\n"
17071 "\n"
17072
17073 #. type: textblock
17074 #: ../fish/guestfish-actions.pod:4982 ../src/guestfs-actions.pod:7670
17075 msgid ""
17076 "This unmounts the given filesystem.  The filesystem may be specified either "
17077 "by its mountpoint (path) or the device which contains the filesystem."
17078 msgstr ""
17079
17080 #. type: =head2
17081 #: ../fish/guestfish-actions.pod:4986
17082 msgid "umount-all"
17083 msgstr "umount-all"
17084
17085 #. type: =head2
17086 #: ../fish/guestfish-actions.pod:4988
17087 msgid "unmount-all"
17088 msgstr "unmount-all"
17089
17090 #. type: verbatim
17091 #: ../fish/guestfish-actions.pod:4990
17092 #, no-wrap
17093 msgid ""
17094 " umount-all\n"
17095 "\n"
17096 msgstr ""
17097 " umount-all\n"
17098 "\n"
17099
17100 #. type: textblock
17101 #: ../fish/guestfish-actions.pod:4992 ../src/guestfs-actions.pod:7683
17102 msgid "This unmounts all mounted filesystems."
17103 msgstr ""
17104
17105 #. type: textblock
17106 #: ../fish/guestfish-actions.pod:4994 ../src/guestfs-actions.pod:7685
17107 msgid "Some internal mounts are not unmounted by this call."
17108 msgstr ""
17109
17110 #. type: =head2
17111 #: ../fish/guestfish-actions.pod:4996
17112 msgid "upload"
17113 msgstr "upload"
17114
17115 #. type: verbatim
17116 #: ../fish/guestfish-actions.pod:4998
17117 #, no-wrap
17118 msgid ""
17119 " upload (filename|-) remotefilename\n"
17120 "\n"
17121 msgstr ""
17122 " upload (назва_файла|-) назва_віддаленого_файла\n"
17123 "\n"
17124
17125 #. type: textblock
17126 #: ../fish/guestfish-actions.pod:5000 ../fish/guestfish-actions.pod:5013
17127 #: ../src/guestfs-actions.pod:7698 ../src/guestfs-actions.pod:7722
17128 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
17129 msgstr ""
17130
17131 #. type: textblock
17132 #: ../fish/guestfish-actions.pod:5005
17133 msgid "See also L</download>."
17134 msgstr "Див. також L</download>."
17135
17136 #. type: =head2
17137 #: ../fish/guestfish-actions.pod:5009
17138 msgid "upload-offset"
17139 msgstr "upload-offset"
17140
17141 #. type: verbatim
17142 #: ../fish/guestfish-actions.pod:5011
17143 #, no-wrap
17144 msgid ""
17145 " upload-offset (filename|-) remotefilename offset\n"
17146 "\n"
17147 msgstr ""
17148 " upload-offset (назва_файла|-) назва_віддаленого_файла відступ\n"
17149 "\n"
17150
17151 #. type: textblock
17152 #: ../fish/guestfish-actions.pod:5016 ../src/guestfs-actions.pod:7725
17153 msgid ""
17154 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
17155 "The intention is to overwrite parts of existing files or devices, although "
17156 "if a non-existant file is specified then it is created with a \"hole\" "
17157 "before C<offset>.  The size of the data written is implicit in the size of "
17158 "the source C<filename>."
17159 msgstr ""
17160
17161 #. type: textblock
17162 #: ../fish/guestfish-actions.pod:5023
17163 msgid ""
17164 "Note that there is no limit on the amount of data that can be uploaded with "
17165 "this call, unlike with L</pwrite>, and this call always writes the full "
17166 "amount unless an error occurs."
17167 msgstr ""
17168
17169 #. type: textblock
17170 #: ../fish/guestfish-actions.pod:5028
17171 msgid "See also L</upload>, L</pwrite>."
17172 msgstr "Див. також L</upload>, L</pwrite>."
17173
17174 #. type: =head2
17175 #: ../fish/guestfish-actions.pod:5032
17176 msgid "utimens"
17177 msgstr "utimens"
17178
17179 #. type: verbatim
17180 #: ../fish/guestfish-actions.pod:5034
17181 #, no-wrap
17182 msgid ""
17183 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
17184 "\n"
17185 msgstr ""
17186
17187 #. type: textblock
17188 #: ../fish/guestfish-actions.pod:5036 ../src/guestfs-actions.pod:7758
17189 msgid "This command sets the timestamps of a file with nanosecond precision."
17190 msgstr ""
17191
17192 #. type: textblock
17193 #: ../fish/guestfish-actions.pod:5039 ../src/guestfs-actions.pod:7761
17194 msgid ""
17195 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
17196 "from the epoch."
17197 msgstr ""
17198
17199 #. type: textblock
17200 #: ../fish/guestfish-actions.pod:5042 ../src/guestfs-actions.pod:7764
17201 msgid ""
17202 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
17203 "nanoseconds from the epoch."
17204 msgstr ""
17205
17206 #. type: textblock
17207 #: ../fish/guestfish-actions.pod:5045 ../src/guestfs-actions.pod:7767
17208 msgid ""
17209 "If the C<*nsecs> field contains the special value C<-1> then the "
17210 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
17211 "ignored in this case)."
17212 msgstr ""
17213
17214 #. type: textblock
17215 #: ../fish/guestfish-actions.pod:5049 ../src/guestfs-actions.pod:7771
17216 msgid ""
17217 "If the C<*nsecs> field contains the special value C<-2> then the "
17218 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
17219 "in this case)."
17220 msgstr ""
17221
17222 #. type: =head2
17223 #: ../fish/guestfish-actions.pod:5053
17224 msgid "version"
17225 msgstr "version"
17226
17227 #. type: verbatim
17228 #: ../fish/guestfish-actions.pod:5055
17229 #, no-wrap
17230 msgid ""
17231 " version\n"
17232 "\n"
17233 msgstr ""
17234 " version\n"
17235 "\n"
17236
17237 #. type: textblock
17238 #: ../fish/guestfish-actions.pod:5057 ../src/guestfs-actions.pod:7784
17239 msgid ""
17240 "Return the libguestfs version number that the program is linked against."
17241 msgstr ""
17242
17243 #. type: textblock
17244 #: ../fish/guestfish-actions.pod:5060 ../src/guestfs-actions.pod:7787
17245 msgid ""
17246 "Note that because of dynamic linking this is not necessarily the version of "
17247 "libguestfs that you compiled against.  You can compile the program, and then "
17248 "at runtime dynamically link against a completely different C<libguestfs.so> "
17249 "library."
17250 msgstr ""
17251
17252 #. type: textblock
17253 #: ../fish/guestfish-actions.pod:5065 ../src/guestfs-actions.pod:7792
17254 msgid ""
17255 "This call was added in version C<1.0.58>.  In previous versions of "
17256 "libguestfs there was no way to get the version number.  From C code you can "
17257 "use dynamic linker functions to find out if this symbol exists (if it "
17258 "doesn't, then it's an earlier version)."
17259 msgstr ""
17260
17261 #. type: textblock
17262 #: ../fish/guestfish-actions.pod:5071 ../src/guestfs-actions.pod:7798
17263 msgid ""
17264 "The call returns a structure with four elements.  The first three (C<major>, "
17265 "C<minor> and C<release>) are numbers and correspond to the usual version "
17266 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
17267 "but may be used for distro-specific information."
17268 msgstr ""
17269
17270 #. type: textblock
17271 #: ../fish/guestfish-actions.pod:5077 ../src/guestfs-actions.pod:7804
17272 msgid ""
17273 "To construct the original version string: C<$major.$minor.$release$extra>"
17274 msgstr ""
17275
17276 #. type: textblock
17277 #: ../fish/guestfish-actions.pod:5080 ../src/guestfs-actions.pod:7807
17278 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
17279 msgstr "Див також: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
17280
17281 #. type: textblock
17282 #: ../fish/guestfish-actions.pod:5082
17283 msgid ""
17284 "I<Note:> Don't use this call to test for availability of features.  In "
17285 "enterprise distributions we backport features from later versions into "
17286 "earlier versions, making this an unreliable way to test for features.  Use "
17287 "L</available> instead."
17288 msgstr ""
17289
17290 #. type: =head2
17291 #: ../fish/guestfish-actions.pod:5088
17292 msgid "vfs-label"
17293 msgstr "vfs-label"
17294
17295 #. type: verbatim
17296 #: ../fish/guestfish-actions.pod:5090
17297 #, no-wrap
17298 msgid ""
17299 " vfs-label device\n"
17300 "\n"
17301 msgstr ""
17302 " vfs-label пристрій\n"
17303 "\n"
17304
17305 #. type: textblock
17306 #: ../fish/guestfish-actions.pod:5092 ../src/guestfs-actions.pod:7827
17307 msgid "This returns the filesystem label of the filesystem on C<device>."
17308 msgstr ""
17309
17310 #. type: textblock
17311 #: ../fish/guestfish-actions.pod:5095 ../src/guestfs-actions.pod:7830
17312 msgid "If the filesystem is unlabeled, this returns the empty string."
17313 msgstr ""
17314
17315 #. type: textblock
17316 #: ../fish/guestfish-actions.pod:5097
17317 msgid "To find a filesystem from the label, use L</findfs-label>."
17318 msgstr ""
17319
17320 #. type: =head2
17321 #: ../fish/guestfish-actions.pod:5099
17322 msgid "vfs-type"
17323 msgstr "vfs-type"
17324
17325 #. type: verbatim
17326 #: ../fish/guestfish-actions.pod:5101
17327 #, no-wrap
17328 msgid ""
17329 " vfs-type device\n"
17330 "\n"
17331 msgstr ""
17332 " vfs-type пристрій\n"
17333 "\n"
17334
17335 #. type: textblock
17336 #: ../fish/guestfish-actions.pod:5103 ../src/guestfs-actions.pod:7845
17337 msgid ""
17338 "This command gets the filesystem type corresponding to the filesystem on "
17339 "C<device>."
17340 msgstr ""
17341
17342 #. type: textblock
17343 #: ../fish/guestfish-actions.pod:5106 ../src/guestfs-actions.pod:7848
17344 msgid ""
17345 "For most filesystems, the result is the name of the Linux VFS module which "
17346 "would be used to mount this filesystem if you mounted it without specifying "
17347 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
17348 msgstr ""
17349
17350 #. type: =head2
17351 #: ../fish/guestfish-actions.pod:5111
17352 msgid "vfs-uuid"
17353 msgstr "vfs-uuid"
17354
17355 #. type: verbatim
17356 #: ../fish/guestfish-actions.pod:5113
17357 #, no-wrap
17358 msgid ""
17359 " vfs-uuid device\n"
17360 "\n"
17361 msgstr ""
17362 " vfs-uuid пристрій\n"
17363 "\n"
17364
17365 #. type: textblock
17366 #: ../fish/guestfish-actions.pod:5115 ../src/guestfs-actions.pod:7864
17367 msgid "This returns the filesystem UUID of the filesystem on C<device>."
17368 msgstr ""
17369
17370 #. type: textblock
17371 #: ../fish/guestfish-actions.pod:5118 ../src/guestfs-actions.pod:7867
17372 msgid "If the filesystem does not have a UUID, this returns the empty string."
17373 msgstr ""
17374
17375 #. type: textblock
17376 #: ../fish/guestfish-actions.pod:5120
17377 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
17378 msgstr ""
17379
17380 #. type: =head2
17381 #: ../fish/guestfish-actions.pod:5122
17382 msgid "vg-activate"
17383 msgstr "vg-activate"
17384
17385 #. type: verbatim
17386 #: ../fish/guestfish-actions.pod:5124
17387 #, no-wrap
17388 msgid ""
17389 " vg-activate true|false 'volgroups ...'\n"
17390 "\n"
17391 msgstr ""
17392
17393 #. type: textblock
17394 #: ../fish/guestfish-actions.pod:5126 ../src/guestfs-actions.pod:7883
17395 msgid ""
17396 "This command activates or (if C<activate> is false) deactivates all logical "
17397 "volumes in the listed volume groups C<volgroups>."
17398 msgstr ""
17399
17400 #. type: textblock
17401 #: ../fish/guestfish-actions.pod:5129 ../src/guestfs-actions.pod:7886
17402 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
17403 msgstr ""
17404
17405 #. type: textblock
17406 #: ../fish/guestfish-actions.pod:5131 ../src/guestfs-actions.pod:7888
17407 msgid ""
17408 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
17409 "activated or deactivated."
17410 msgstr ""
17411
17412 #. type: =head2
17413 #: ../fish/guestfish-actions.pod:5134
17414 msgid "vg-activate-all"
17415 msgstr "vg-activate-all"
17416
17417 #. type: verbatim
17418 #: ../fish/guestfish-actions.pod:5136
17419 #, no-wrap
17420 msgid ""
17421 " vg-activate-all true|false\n"
17422 "\n"
17423 msgstr ""
17424 " vg-activate-all true|false\n"
17425 "\n"
17426
17427 #. type: textblock
17428 #: ../fish/guestfish-actions.pod:5138 ../src/guestfs-actions.pod:7901
17429 msgid ""
17430 "This command activates or (if C<activate> is false) deactivates all logical "
17431 "volumes in all volume groups."
17432 msgstr ""
17433
17434 #. type: textblock
17435 #: ../fish/guestfish-actions.pod:5141 ../src/guestfs-actions.pod:7904
17436 msgid "This command is the same as running C<vgchange -a y|n>"
17437 msgstr ""
17438
17439 #. type: =head2
17440 #: ../fish/guestfish-actions.pod:5143
17441 msgid "vgcreate"
17442 msgstr "vgcreate"
17443
17444 #. type: verbatim
17445 #: ../fish/guestfish-actions.pod:5145
17446 #, no-wrap
17447 msgid ""
17448 " vgcreate volgroup 'physvols ...'\n"
17449 "\n"
17450 msgstr ""
17451
17452 #. type: textblock
17453 #: ../fish/guestfish-actions.pod:5147 ../src/guestfs-actions.pod:7917
17454 msgid ""
17455 "This creates an LVM volume group called C<volgroup> from the non-empty list "
17456 "of physical volumes C<physvols>."
17457 msgstr ""
17458
17459 #. type: =head2
17460 #: ../fish/guestfish-actions.pod:5150
17461 msgid "vglvuuids"
17462 msgstr "vglvuuids"
17463
17464 #. type: verbatim
17465 #: ../fish/guestfish-actions.pod:5152
17466 #, no-wrap
17467 msgid ""
17468 " vglvuuids vgname\n"
17469 "\n"
17470 msgstr ""
17471
17472 #. type: textblock
17473 #: ../fish/guestfish-actions.pod:5154 ../src/guestfs-actions.pod:7930
17474 msgid ""
17475 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
17476 "volumes created in this volume group."
17477 msgstr ""
17478
17479 #. type: textblock
17480 #: ../fish/guestfish-actions.pod:5157
17481 msgid ""
17482 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
17483 "logical volumes and volume groups."
17484 msgstr ""
17485
17486 #. type: textblock
17487 #: ../fish/guestfish-actions.pod:5160
17488 msgid "See also L</vgpvuuids>."
17489 msgstr "Див. також L</vgpvuuids>."
17490
17491 #. type: =head2
17492 #: ../fish/guestfish-actions.pod:5162
17493 msgid "vgpvuuids"
17494 msgstr "vgpvuuids"
17495
17496 #. type: verbatim
17497 #: ../fish/guestfish-actions.pod:5164
17498 #, no-wrap
17499 msgid ""
17500 " vgpvuuids vgname\n"
17501 "\n"
17502 msgstr ""
17503
17504 #. type: textblock
17505 #: ../fish/guestfish-actions.pod:5166 ../src/guestfs-actions.pod:7950
17506 msgid ""
17507 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
17508 "volumes that this volume group resides on."
17509 msgstr ""
17510
17511 #. type: textblock
17512 #: ../fish/guestfish-actions.pod:5169
17513 msgid ""
17514 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
17515 "physical volumes and volume groups."
17516 msgstr ""
17517
17518 #. type: textblock
17519 #: ../fish/guestfish-actions.pod:5172
17520 msgid "See also L</vglvuuids>."
17521 msgstr "Див. також L</vglvuuids>."
17522
17523 #. type: =head2
17524 #: ../fish/guestfish-actions.pod:5174
17525 msgid "vgremove"
17526 msgstr "vgremove"
17527
17528 #. type: verbatim
17529 #: ../fish/guestfish-actions.pod:5176
17530 #, no-wrap
17531 msgid ""
17532 " vgremove vgname\n"
17533 "\n"
17534 msgstr ""
17535
17536 #. type: textblock
17537 #: ../fish/guestfish-actions.pod:5178 ../src/guestfs-actions.pod:7970
17538 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
17539 msgstr ""
17540
17541 #. type: textblock
17542 #: ../fish/guestfish-actions.pod:5180 ../src/guestfs-actions.pod:7972
17543 msgid ""
17544 "This also forcibly removes all logical volumes in the volume group (if any)."
17545 msgstr ""
17546
17547 #. type: =head2
17548 #: ../fish/guestfish-actions.pod:5183
17549 msgid "vgrename"
17550 msgstr "vgrename"
17551
17552 #. type: verbatim
17553 #: ../fish/guestfish-actions.pod:5185
17554 #, no-wrap
17555 msgid ""
17556 " vgrename volgroup newvolgroup\n"
17557 "\n"
17558 msgstr ""
17559
17560 #. type: textblock
17561 #: ../fish/guestfish-actions.pod:5187 ../src/guestfs-actions.pod:7986
17562 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
17563 msgstr ""
17564
17565 #. type: =head2
17566 #: ../fish/guestfish-actions.pod:5189
17567 msgid "vgs"
17568 msgstr "vgs"
17569
17570 #. type: verbatim
17571 #: ../fish/guestfish-actions.pod:5191
17572 #, no-wrap
17573 msgid ""
17574 " vgs\n"
17575 "\n"
17576 msgstr ""
17577 " vgs\n"
17578 "\n"
17579
17580 #. type: textblock
17581 #: ../fish/guestfish-actions.pod:5193 ../src/guestfs-actions.pod:7997
17582 msgid ""
17583 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
17584 "> command."
17585 msgstr ""
17586
17587 #. type: textblock
17588 #: ../fish/guestfish-actions.pod:5196 ../src/guestfs-actions.pod:8000
17589 msgid ""
17590 "This returns a list of just the volume group names that were detected (eg. "
17591 "C<VolGroup00>)."
17592 msgstr ""
17593
17594 #. type: textblock
17595 #: ../fish/guestfish-actions.pod:5199
17596 msgid "See also L</vgs-full>."
17597 msgstr "Див. також L</vgs-full>."
17598
17599 #. type: =head2
17600 #: ../fish/guestfish-actions.pod:5201
17601 msgid "vgs-full"
17602 msgstr "vgs-full"
17603
17604 #. type: verbatim
17605 #: ../fish/guestfish-actions.pod:5203
17606 #, no-wrap
17607 msgid ""
17608 " vgs-full\n"
17609 "\n"
17610 msgstr ""
17611 " vgs-full\n"
17612 "\n"
17613
17614 #. type: textblock
17615 #: ../fish/guestfish-actions.pod:5205 ../src/guestfs-actions.pod:8016
17616 msgid ""
17617 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
17618 "> command.  The \"full\" version includes all fields."
17619 msgstr ""
17620
17621 #. type: =head2
17622 #: ../fish/guestfish-actions.pod:5208
17623 msgid "vgscan"
17624 msgstr "vgscan"
17625
17626 #. type: verbatim
17627 #: ../fish/guestfish-actions.pod:5210
17628 #, no-wrap
17629 msgid ""
17630 " vgscan\n"
17631 "\n"
17632 msgstr ""
17633 " vgscan\n"
17634 "\n"
17635
17636 #. type: textblock
17637 #: ../fish/guestfish-actions.pod:5212 ../src/guestfs-actions.pod:8030
17638 msgid ""
17639 "This rescans all block devices and rebuilds the list of LVM physical "
17640 "volumes, volume groups and logical volumes."
17641 msgstr ""
17642
17643 #. type: =head2
17644 #: ../fish/guestfish-actions.pod:5215
17645 msgid "vguuid"
17646 msgstr "vguuid"
17647
17648 #. type: verbatim
17649 #: ../fish/guestfish-actions.pod:5217
17650 #, no-wrap
17651 msgid ""
17652 " vguuid vgname\n"
17653 "\n"
17654 msgstr ""
17655
17656 #. type: textblock
17657 #: ../fish/guestfish-actions.pod:5219 ../src/guestfs-actions.pod:8043
17658 msgid "This command returns the UUID of the LVM VG named C<vgname>."
17659 msgstr ""
17660
17661 #. type: =head2
17662 #: ../fish/guestfish-actions.pod:5221
17663 msgid "wc-c"
17664 msgstr "wc-c"
17665
17666 #. type: verbatim
17667 #: ../fish/guestfish-actions.pod:5223
17668 #, no-wrap
17669 msgid ""
17670 " wc-c path\n"
17671 "\n"
17672 msgstr ""
17673 " wc-c шлях\n"
17674 "\n"
17675
17676 #. type: textblock
17677 #: ../fish/guestfish-actions.pod:5225 ../src/guestfs-actions.pod:8083
17678 msgid ""
17679 "This command counts the characters in a file, using the C<wc -c> external "
17680 "command."
17681 msgstr ""
17682
17683 #. type: =head2
17684 #: ../fish/guestfish-actions.pod:5228
17685 msgid "wc-l"
17686 msgstr "wc-l"
17687
17688 #. type: verbatim
17689 #: ../fish/guestfish-actions.pod:5230
17690 #, no-wrap
17691 msgid ""
17692 " wc-l path\n"
17693 "\n"
17694 msgstr ""
17695 " wc-l шлях\n"
17696 "\n"
17697
17698 #. type: textblock
17699 #: ../fish/guestfish-actions.pod:5232 ../src/guestfs-actions.pod:8096
17700 msgid ""
17701 "This command counts the lines in a file, using the C<wc -l> external command."
17702 msgstr ""
17703
17704 #. type: =head2
17705 #: ../fish/guestfish-actions.pod:5235
17706 msgid "wc-w"
17707 msgstr "wc-w"
17708
17709 #. type: verbatim
17710 #: ../fish/guestfish-actions.pod:5237
17711 #, no-wrap
17712 msgid ""
17713 " wc-w path\n"
17714 "\n"
17715 msgstr ""
17716 " wc-w шлях\n"
17717 "\n"
17718
17719 #. type: textblock
17720 #: ../fish/guestfish-actions.pod:5239 ../src/guestfs-actions.pod:8109
17721 msgid ""
17722 "This command counts the words in a file, using the C<wc -w> external command."
17723 msgstr ""
17724
17725 #. type: =head2
17726 #: ../fish/guestfish-actions.pod:5242
17727 msgid "write"
17728 msgstr "write"
17729
17730 #. type: verbatim
17731 #: ../fish/guestfish-actions.pod:5244
17732 #, no-wrap
17733 msgid ""
17734 " write path content\n"
17735 "\n"
17736 msgstr ""
17737 " write шлях дані\n"
17738 "\n"
17739
17740 #. type: textblock
17741 #: ../fish/guestfish-actions.pod:5246 ../src/guestfs-actions.pod:8124
17742 msgid ""
17743 "This call creates a file called C<path>.  The content of the file is the "
17744 "string C<content> (which can contain any 8 bit data)."
17745 msgstr ""
17746
17747 #. type: textblock
17748 #: ../fish/guestfish-actions.pod:5249
17749 msgid "See also L</write-append>."
17750 msgstr "Див. також L</write-append>."
17751
17752 #. type: =head2
17753 #: ../fish/guestfish-actions.pod:5254
17754 msgid "write-append"
17755 msgstr ""
17756
17757 #. type: verbatim
17758 #: ../fish/guestfish-actions.pod:5256
17759 #, no-wrap
17760 msgid ""
17761 " write-append path content\n"
17762 "\n"
17763 msgstr ""
17764
17765 #. type: textblock
17766 #: ../fish/guestfish-actions.pod:5258 ../src/guestfs-actions.pod:8144
17767 msgid ""
17768 "This call appends C<content> to the end of file C<path>.  If C<path> does "
17769 "not exist, then a new file is created."
17770 msgstr ""
17771
17772 #. type: textblock
17773 #: ../fish/guestfish-actions.pod:5261
17774 msgid "See also L</write>."
17775 msgstr "Див. також L</write>."
17776
17777 #. type: =head2
17778 #: ../fish/guestfish-actions.pod:5266
17779 msgid "write-file"
17780 msgstr "write-file"
17781
17782 #. type: verbatim
17783 #: ../fish/guestfish-actions.pod:5268
17784 #, no-wrap
17785 msgid ""
17786 " write-file path content size\n"
17787 "\n"
17788 msgstr ""
17789
17790 #. type: textblock
17791 #: ../fish/guestfish-actions.pod:5270 ../src/guestfs-actions.pod:8171
17792 msgid ""
17793 "This call creates a file called C<path>.  The contents of the file is the "
17794 "string C<content> (which can contain any 8 bit data), with length C<size>."
17795 msgstr ""
17796
17797 #. type: textblock
17798 #: ../fish/guestfish-actions.pod:5274 ../src/guestfs-actions.pod:8175
17799 msgid ""
17800 "As a special case, if C<size> is C<0> then the length is calculated using "
17801 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
17802 msgstr ""
17803
17804 #. type: textblock
17805 #: ../fish/guestfish-actions.pod:5278 ../src/guestfs-actions.pod:8179
17806 msgid ""
17807 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
17808 "I<not> work, even if the length is specified."
17809 msgstr ""
17810
17811 #. type: textblock
17812 #: ../fish/guestfish-actions.pod:5284
17813 msgid ""
17814 "I<This function is deprecated.> In new code, use the L</write> call instead."
17815 msgstr ""
17816
17817 #. type: =head2
17818 #: ../fish/guestfish-actions.pod:5291
17819 msgid "zegrep"
17820 msgstr "zegrep"
17821
17822 #. type: verbatim
17823 #: ../fish/guestfish-actions.pod:5293
17824 #, no-wrap
17825 msgid ""
17826 " zegrep regex path\n"
17827 "\n"
17828 msgstr ""
17829 " zegrep формальний_вираз шлях\n"
17830 "\n"
17831
17832 #. type: textblock
17833 #: ../fish/guestfish-actions.pod:5295 ../src/guestfs-actions.pod:8196
17834 msgid ""
17835 "This calls the external C<zegrep> program and returns the matching lines."
17836 msgstr ""
17837
17838 #. type: =head2
17839 #: ../fish/guestfish-actions.pod:5301
17840 msgid "zegrepi"
17841 msgstr "zegrepi"
17842
17843 #. type: verbatim
17844 #: ../fish/guestfish-actions.pod:5303
17845 #, no-wrap
17846 msgid ""
17847 " zegrepi regex path\n"
17848 "\n"
17849 msgstr ""
17850
17851 #. type: textblock
17852 #: ../fish/guestfish-actions.pod:5305 ../src/guestfs-actions.pod:8215
17853 msgid ""
17854 "This calls the external C<zegrep -i> program and returns the matching lines."
17855 msgstr ""
17856
17857 #. type: =head2
17858 #: ../fish/guestfish-actions.pod:5311
17859 msgid "zero"
17860 msgstr "zero"
17861
17862 #. type: verbatim
17863 #: ../fish/guestfish-actions.pod:5313
17864 #, no-wrap
17865 msgid ""
17866 " zero device\n"
17867 "\n"
17868 msgstr ""
17869 " zero пристрій\n"
17870 "\n"
17871
17872 #. type: textblock
17873 #: ../fish/guestfish-actions.pod:5315 ../src/guestfs-actions.pod:8233
17874 msgid "This command writes zeroes over the first few blocks of C<device>."
17875 msgstr ""
17876
17877 #. type: textblock
17878 #: ../fish/guestfish-actions.pod:5317 ../src/guestfs-actions.pod:8235
17879 msgid ""
17880 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
17881 "securely wipe the device).  It should be sufficient to remove any partition "
17882 "tables, filesystem superblocks and so on."
17883 msgstr ""
17884
17885 #. type: textblock
17886 #: ../fish/guestfish-actions.pod:5321 ../fish/guestfish-actions.pod:5336
17887 #: ../src/guestfs-actions.pod:8239 ../src/guestfs-actions.pod:8265
17888 msgid ""
17889 "If blocks are already zero, then this command avoids writing zeroes.  This "
17890 "prevents the underlying device from becoming non-sparse or growing "
17891 "unnecessarily."
17892 msgstr ""
17893
17894 #. type: textblock
17895 #: ../fish/guestfish-actions.pod:5325
17896 msgid "See also: L</zero-device>, L</scrub-device>, L</is-zero-device>"
17897 msgstr ""
17898
17899 #. type: =head2
17900 #: ../fish/guestfish-actions.pod:5328
17901 msgid "zero-device"
17902 msgstr "zero-device"
17903
17904 #. type: verbatim
17905 #: ../fish/guestfish-actions.pod:5330
17906 #, no-wrap
17907 msgid ""
17908 " zero-device device\n"
17909 "\n"
17910 msgstr ""
17911 " zero-device пристрій\n"
17912 "\n"
17913
17914 #. type: textblock
17915 #: ../fish/guestfish-actions.pod:5332
17916 msgid ""
17917 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
17918 "which just zeroes the first few blocks of a device."
17919 msgstr ""
17920
17921 #. type: =head2
17922 #: ../fish/guestfish-actions.pod:5340
17923 msgid "zerofree"
17924 msgstr "zerofree"
17925
17926 #. type: verbatim
17927 #: ../fish/guestfish-actions.pod:5342
17928 #, no-wrap
17929 msgid ""
17930 " zerofree device\n"
17931 "\n"
17932 msgstr ""
17933 " zerofree пристрій\n"
17934 "\n"
17935
17936 #. type: textblock
17937 #: ../fish/guestfish-actions.pod:5344 ../src/guestfs-actions.pod:8284
17938 msgid ""
17939 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
17940 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
17941 "possible to compress the filesystem more effectively."
17942 msgstr ""
17943
17944 #. type: textblock
17945 #: ../fish/guestfish-actions.pod:5349 ../src/guestfs-actions.pod:8289
17946 msgid "You should B<not> run this program if the filesystem is mounted."
17947 msgstr ""
17948
17949 #. type: textblock
17950 #: ../fish/guestfish-actions.pod:5352 ../src/guestfs-actions.pod:8292
17951 msgid ""
17952 "It is possible that using this program can damage the filesystem or data on "
17953 "the filesystem."
17954 msgstr ""
17955
17956 #. type: =head2
17957 #: ../fish/guestfish-actions.pod:5355
17958 msgid "zfgrep"
17959 msgstr "zfgrep"
17960
17961 #. type: verbatim
17962 #: ../fish/guestfish-actions.pod:5357
17963 #, no-wrap
17964 msgid ""
17965 " zfgrep pattern path\n"
17966 "\n"
17967 msgstr ""
17968 " zfgrep шаблон шлях\n"
17969 "\n"
17970
17971 #. type: textblock
17972 #: ../fish/guestfish-actions.pod:5359 ../src/guestfs-actions.pod:8306
17973 msgid ""
17974 "This calls the external C<zfgrep> program and returns the matching lines."
17975 msgstr ""
17976
17977 #. type: =head2
17978 #: ../fish/guestfish-actions.pod:5365
17979 msgid "zfgrepi"
17980 msgstr "zfgrepi"
17981
17982 #. type: verbatim
17983 #: ../fish/guestfish-actions.pod:5367
17984 #, no-wrap
17985 msgid ""
17986 " zfgrepi pattern path\n"
17987 "\n"
17988 msgstr ""
17989 " zfgrepi шаблон шлях\n"
17990 "\n"
17991
17992 #. type: textblock
17993 #: ../fish/guestfish-actions.pod:5369 ../src/guestfs-actions.pod:8325
17994 msgid ""
17995 "This calls the external C<zfgrep -i> program and returns the matching lines."
17996 msgstr ""
17997
17998 #. type: =head2
17999 #: ../fish/guestfish-actions.pod:5375
18000 msgid "zfile"
18001 msgstr "zfile"
18002
18003 #. type: verbatim
18004 #: ../fish/guestfish-actions.pod:5377
18005 #, no-wrap
18006 msgid ""
18007 " zfile meth path\n"
18008 "\n"
18009 msgstr ""
18010 " zfile метод шлях\n"
18011 "\n"
18012
18013 #. type: textblock
18014 #: ../fish/guestfish-actions.pod:5379 ../src/guestfs-actions.pod:8351
18015 msgid ""
18016 "This command runs C<file> after first decompressing C<path> using C<method>."
18017 msgstr ""
18018
18019 #. type: textblock
18020 #: ../fish/guestfish-actions.pod:5382 ../src/guestfs-actions.pod:8354
18021 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
18022 msgstr ""
18023
18024 #. type: textblock
18025 #: ../fish/guestfish-actions.pod:5384
18026 msgid ""
18027 "Since 1.0.63, use L</file> instead which can now process compressed files."
18028 msgstr ""
18029
18030 #. type: textblock
18031 #: ../fish/guestfish-actions.pod:5387
18032 msgid ""
18033 "I<This function is deprecated.> In new code, use the L</file> call instead."
18034 msgstr ""
18035
18036 #. type: =head2
18037 #: ../fish/guestfish-actions.pod:5394
18038 msgid "zgrep"
18039 msgstr "zgrep"
18040
18041 #. type: verbatim
18042 #: ../fish/guestfish-actions.pod:5396
18043 #, no-wrap
18044 msgid ""
18045 " zgrep regex path\n"
18046 "\n"
18047 msgstr ""
18048 " zgrep формальний_вираз шлях\n"
18049 "\n"
18050
18051 #. type: textblock
18052 #: ../fish/guestfish-actions.pod:5398 ../src/guestfs-actions.pod:8371
18053 msgid ""
18054 "This calls the external C<zgrep> program and returns the matching lines."
18055 msgstr ""
18056
18057 #. type: =head2
18058 #: ../fish/guestfish-actions.pod:5404
18059 msgid "zgrepi"
18060 msgstr "zgrepi"
18061
18062 #. type: verbatim
18063 #: ../fish/guestfish-actions.pod:5406
18064 #, no-wrap
18065 msgid ""
18066 " zgrepi regex path\n"
18067 "\n"
18068 msgstr ""
18069 " zgrepi формальний_вираз шлях\n"
18070 "\n"
18071
18072 #. type: textblock
18073 #: ../fish/guestfish-actions.pod:5408 ../src/guestfs-actions.pod:8390
18074 msgid ""
18075 "This calls the external C<zgrep -i> program and returns the matching lines."
18076 msgstr ""
18077
18078 #. type: =head2
18079 #: ../fish/guestfish-commands.pod:1
18080 msgid "alloc"
18081 msgstr "alloc"
18082
18083 #. type: =head2
18084 #: ../fish/guestfish-commands.pod:3
18085 msgid "allocate"
18086 msgstr ""
18087
18088 #. type: verbatim
18089 #: ../fish/guestfish-commands.pod:5
18090 #, no-wrap
18091 msgid ""
18092 " alloc filename size\n"
18093 "\n"
18094 msgstr ""
18095
18096 #. type: textblock
18097 #: ../fish/guestfish-commands.pod:7
18098 msgid ""
18099 "This creates an empty (zeroed) file of the given size, and then adds so it "
18100 "can be further examined."
18101 msgstr ""
18102
18103 #. type: textblock
18104 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:193
18105 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
18106 msgstr ""
18107
18108 #. type: textblock
18109 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:195
18110 msgid "Size can be specified using standard suffixes, eg. C<1M>."
18111 msgstr ""
18112
18113 #. type: textblock
18114 #: ../fish/guestfish-commands.pod:14
18115 msgid ""
18116 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
18117 "image, see L</PREPARED DISK IMAGES>."
18118 msgstr ""
18119
18120 #. type: =head2
18121 #: ../fish/guestfish-commands.pod:17
18122 msgid "copy-in"
18123 msgstr "copy-in"
18124
18125 #. type: verbatim
18126 #: ../fish/guestfish-commands.pod:19
18127 #, no-wrap
18128 msgid ""
18129 " copy-in local [local ...] /remotedir\n"
18130 "\n"
18131 msgstr ""
18132
18133 #. type: textblock
18134 #: ../fish/guestfish-commands.pod:21
18135 msgid ""
18136 "C<copy-in> copies local files or directories recursively into the disk "
18137 "image, placing them in the directory called C</remotedir> (which must "
18138 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
18139 "other commands as necessary."
18140 msgstr ""
18141
18142 #. type: textblock
18143 #: ../fish/guestfish-commands.pod:26
18144 msgid ""
18145 "Multiple local files and directories can be specified, but the last "
18146 "parameter must always be a remote directory.  Wildcards cannot be used."
18147 msgstr ""
18148
18149 #. type: =head2
18150 #: ../fish/guestfish-commands.pod:30
18151 msgid "copy-out"
18152 msgstr "copy-out"
18153
18154 #. type: verbatim
18155 #: ../fish/guestfish-commands.pod:32
18156 #, no-wrap
18157 msgid ""
18158 " copy-out remote [remote ...] localdir\n"
18159 "\n"
18160 msgstr ""
18161
18162 #. type: textblock
18163 #: ../fish/guestfish-commands.pod:34
18164 msgid ""
18165 "C<copy-out> copies remote files or directories recursively out of the disk "
18166 "image, placing them on the host disk in a local directory called C<localdir> "
18167 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
18168 "download>, L</tar-out> and other commands as necessary."
18169 msgstr ""
18170
18171 #. type: textblock
18172 #: ../fish/guestfish-commands.pod:40
18173 msgid ""
18174 "Multiple remote files and directories can be specified, but the last "
18175 "parameter must always be a local directory.  To download to the current "
18176 "directory, use C<.> as in:"
18177 msgstr ""
18178
18179 #. type: verbatim
18180 #: ../fish/guestfish-commands.pod:44
18181 #, no-wrap
18182 msgid ""
18183 " copy-out /home .\n"
18184 "\n"
18185 msgstr ""
18186 " copy-out /home .\n"
18187 "\n"
18188
18189 #. type: textblock
18190 #: ../fish/guestfish-commands.pod:46
18191 msgid ""
18192 "Wildcards cannot be used in the ordinary command, but you can use them with "
18193 "the help of L</glob> like this:"
18194 msgstr ""
18195
18196 #. type: verbatim
18197 #: ../fish/guestfish-commands.pod:49
18198 #, no-wrap
18199 msgid ""
18200 " glob copy-out /home/* .\n"
18201 "\n"
18202 msgstr ""
18203 " glob copy-out /home/* .\n"
18204 "\n"
18205
18206 #. type: =head2
18207 #: ../fish/guestfish-commands.pod:51
18208 msgid "display"
18209 msgstr ""
18210
18211 #. type: verbatim
18212 #: ../fish/guestfish-commands.pod:53
18213 #, no-wrap
18214 msgid ""
18215 " display filename\n"
18216 "\n"
18217 msgstr ""
18218
18219 #. type: textblock
18220 #: ../fish/guestfish-commands.pod:55
18221 msgid ""
18222 "Use C<display> (a graphical display program) to display an image file.  It "
18223 "downloads the file, and runs C<display> on it."
18224 msgstr ""
18225
18226 #. type: textblock
18227 #: ../fish/guestfish-commands.pod:58
18228 msgid ""
18229 "To use an alternative program, set the C<GUESTFISH_DISPLAY_IMAGE> "
18230 "environment variable.  For example to use the GNOME display program:"
18231 msgstr ""
18232
18233 #. type: verbatim
18234 #: ../fish/guestfish-commands.pod:61
18235 #, no-wrap
18236 msgid ""
18237 " export GUESTFISH_DISPLAY_IMAGE=eog\n"
18238 "\n"
18239 msgstr ""
18240
18241 #. type: textblock
18242 #: ../fish/guestfish-commands.pod:63
18243 msgid "See also L<display(1)>."
18244 msgstr "Див. також L<display(1)>."
18245
18246 #. type: =head2
18247 #: ../fish/guestfish-commands.pod:65
18248 msgid "echo"
18249 msgstr "echo"
18250
18251 #. type: verbatim
18252 #: ../fish/guestfish-commands.pod:67
18253 #, no-wrap
18254 msgid ""
18255 " echo [params ...]\n"
18256 "\n"
18257 msgstr ""
18258 " echo [параметри...]\n"
18259 "\n"
18260
18261 #. type: textblock
18262 #: ../fish/guestfish-commands.pod:69
18263 msgid "This echos the parameters to the terminal."
18264 msgstr ""
18265
18266 #. type: =head2
18267 #: ../fish/guestfish-commands.pod:71
18268 msgid "edit"
18269 msgstr "edit"
18270
18271 #. type: =head2
18272 #: ../fish/guestfish-commands.pod:73
18273 msgid "vi"
18274 msgstr "vi"
18275
18276 #. type: =head2
18277 #: ../fish/guestfish-commands.pod:75
18278 msgid "emacs"
18279 msgstr "emacs"
18280
18281 #. type: verbatim
18282 #: ../fish/guestfish-commands.pod:77
18283 #, no-wrap
18284 msgid ""
18285 " edit filename\n"
18286 "\n"
18287 msgstr ""
18288 " edit назва_файла\n"
18289 "\n"
18290
18291 #. type: textblock
18292 #: ../fish/guestfish-commands.pod:79
18293 msgid ""
18294 "This is used to edit a file.  It downloads the file, edits it locally using "
18295 "your editor, then uploads the result."
18296 msgstr ""
18297
18298 #. type: textblock
18299 #: ../fish/guestfish-commands.pod:82
18300 msgid ""
18301 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
18302 "or C<emacs> you will get those corresponding editors."
18303 msgstr ""
18304
18305 #. type: =head2
18306 #: ../fish/guestfish-commands.pod:86
18307 msgid "glob"
18308 msgstr "glob"
18309
18310 #. type: verbatim
18311 #: ../fish/guestfish-commands.pod:88
18312 #, no-wrap
18313 msgid ""
18314 " glob command args...\n"
18315 "\n"
18316 msgstr ""
18317 " glob команда параметри...\n"
18318 "\n"
18319
18320 #. type: textblock
18321 #: ../fish/guestfish-commands.pod:90
18322 msgid ""
18323 "Expand wildcards in any paths in the args list, and run C<command> "
18324 "repeatedly on each matching path."
18325 msgstr ""
18326
18327 #. type: textblock
18328 #: ../fish/guestfish-commands.pod:93
18329 msgid "See L</WILDCARDS AND GLOBBING>."
18330 msgstr "Див. L</WILDCARDS AND GLOBBING>."
18331
18332 #. type: =head2
18333 #: ../fish/guestfish-commands.pod:95
18334 msgid "hexedit"
18335 msgstr "hexedit"
18336
18337 #. type: verbatim
18338 #: ../fish/guestfish-commands.pod:97
18339 #, no-wrap
18340 msgid ""
18341 " hexedit <filename|device>\n"
18342 " hexedit <filename|device> <max>\n"
18343 " hexedit <filename|device> <start> <max>\n"
18344 "\n"
18345 msgstr ""
18346
18347 #. type: textblock
18348 #: ../fish/guestfish-commands.pod:101
18349 msgid ""
18350 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
18351 "device."
18352 msgstr ""
18353
18354 #. type: textblock
18355 #: ../fish/guestfish-commands.pod:104
18356 msgid ""
18357 "This command works by downloading potentially the whole file or device, "
18358 "editing it locally, then uploading it.  If the file or device is large, you "
18359 "have to specify which part you wish to edit by using C<max> and/or C<start> "
18360 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
18361 "usual modifiers allowed such as C<1M> (1 megabyte)."
18362 msgstr ""
18363
18364 #. type: textblock
18365 #: ../fish/guestfish-commands.pod:111
18366 msgid "For example to edit the first few sectors of a disk you might do:"
18367 msgstr ""
18368
18369 #. type: verbatim
18370 #: ../fish/guestfish-commands.pod:114
18371 #, no-wrap
18372 msgid ""
18373 " hexedit /dev/sda 1M\n"
18374 "\n"
18375 msgstr ""
18376 " hexedit /dev/sda 1M\n"
18377 "\n"
18378
18379 #. type: textblock
18380 #: ../fish/guestfish-commands.pod:116
18381 msgid ""
18382 "which would allow you to edit anywhere within the first megabyte of the disk."
18383 msgstr ""
18384
18385 #. type: textblock
18386 #: ../fish/guestfish-commands.pod:119
18387 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
18388 msgstr ""
18389
18390 #. type: verbatim
18391 #: ../fish/guestfish-commands.pod:121
18392 #, no-wrap
18393 msgid ""
18394 " hexedit /dev/sda1 0x400 0x400\n"
18395 "\n"
18396 msgstr ""
18397 " hexedit /dev/sda1 0x400 0x400\n"
18398 "\n"
18399
18400 #. type: textblock
18401 #: ../fish/guestfish-commands.pod:123
18402 msgid "(assuming the superblock is in the standard location)."
18403 msgstr ""
18404
18405 #. type: textblock
18406 #: ../fish/guestfish-commands.pod:125
18407 msgid ""
18408 "This command requires the external L<hexedit(1)> program.  You can specify "
18409 "another program to use by setting the C<HEXEDITOR> environment variable."
18410 msgstr ""
18411
18412 #. type: textblock
18413 #: ../fish/guestfish-commands.pod:129
18414 msgid "See also L</hexdump>."
18415 msgstr "Див. також L</hexdump>."
18416
18417 #. type: =head2
18418 #: ../fish/guestfish-commands.pod:131
18419 msgid "lcd"
18420 msgstr "lcd"
18421
18422 #. type: verbatim
18423 #: ../fish/guestfish-commands.pod:133
18424 #, no-wrap
18425 msgid ""
18426 " lcd directory\n"
18427 "\n"
18428 msgstr ""
18429
18430 #. type: textblock
18431 #: ../fish/guestfish-commands.pod:135
18432 msgid ""
18433 "Change the local directory, ie. the current directory of guestfish itself."
18434 msgstr ""
18435
18436 #. type: textblock
18437 #: ../fish/guestfish-commands.pod:138
18438 msgid "Note that C<!cd> won't do what you might expect."
18439 msgstr ""
18440
18441 #. type: =head2
18442 #: ../fish/guestfish-commands.pod:140
18443 msgid "man"
18444 msgstr "man"
18445
18446 #. type: =head2
18447 #: ../fish/guestfish-commands.pod:142
18448 msgid "manual"
18449 msgstr "підручник"
18450
18451 #. type: verbatim
18452 #: ../fish/guestfish-commands.pod:144
18453 #, no-wrap
18454 msgid ""
18455 "  man\n"
18456 "\n"
18457 msgstr ""
18458 "  man\n"
18459 "\n"
18460
18461 #. type: textblock
18462 #: ../fish/guestfish-commands.pod:146
18463 msgid "Opens the manual page for guestfish."
18464 msgstr ""
18465
18466 #. type: =head2
18467 #: ../fish/guestfish-commands.pod:148
18468 msgid "more"
18469 msgstr "more"
18470
18471 #. type: =head2
18472 #: ../fish/guestfish-commands.pod:150
18473 msgid "less"
18474 msgstr "less"
18475
18476 #. type: verbatim
18477 #: ../fish/guestfish-commands.pod:152
18478 #, no-wrap
18479 msgid ""
18480 " more filename\n"
18481 "\n"
18482 msgstr ""
18483
18484 #. type: verbatim
18485 #: ../fish/guestfish-commands.pod:154
18486 #, no-wrap
18487 msgid ""
18488 " less filename\n"
18489 "\n"
18490 msgstr ""
18491
18492 #. type: textblock
18493 #: ../fish/guestfish-commands.pod:156
18494 msgid "This is used to view a file."
18495 msgstr ""
18496
18497 #. type: textblock
18498 #: ../fish/guestfish-commands.pod:158
18499 msgid ""
18500 "The default viewer is C<$PAGER>.  However if you use the alternate command "
18501 "C<less> you will get the C<less> command specifically."
18502 msgstr ""
18503
18504 #. type: =head2
18505 #: ../fish/guestfish-commands.pod:161
18506 msgid "reopen"
18507 msgstr "reopen"
18508
18509 #. type: verbatim
18510 #: ../fish/guestfish-commands.pod:163
18511 #, no-wrap
18512 msgid ""
18513 "  reopen\n"
18514 "\n"
18515 msgstr ""
18516
18517 #. type: textblock
18518 #: ../fish/guestfish-commands.pod:165
18519 msgid ""
18520 "Close and reopen the libguestfs handle.  It is not necessary to use this "
18521 "normally, because the handle is closed properly when guestfish exits.  "
18522 "However this is occasionally useful for testing."
18523 msgstr ""
18524
18525 #. type: =head2
18526 #: ../fish/guestfish-commands.pod:169
18527 msgid "setenv"
18528 msgstr ""
18529
18530 #. type: verbatim
18531 #: ../fish/guestfish-commands.pod:171
18532 #, no-wrap
18533 msgid ""
18534 "  setenv VAR value\n"
18535 "\n"
18536 msgstr ""
18537
18538 #. type: textblock
18539 #: ../fish/guestfish-commands.pod:173
18540 msgid "Set the environment variable C<VAR> to the string C<value>."
18541 msgstr ""
18542
18543 #. type: textblock
18544 #: ../fish/guestfish-commands.pod:175
18545 msgid ""
18546 "To print the value of an environment variable use a shell command such as:"
18547 msgstr ""
18548
18549 #. type: verbatim
18550 #: ../fish/guestfish-commands.pod:178
18551 #, no-wrap
18552 msgid ""
18553 " !echo $VAR\n"
18554 "\n"
18555 msgstr ""
18556
18557 #. type: =head2
18558 #: ../fish/guestfish-commands.pod:180
18559 msgid "sparse"
18560 msgstr "sparse"
18561
18562 #. type: verbatim
18563 #: ../fish/guestfish-commands.pod:182
18564 #, no-wrap
18565 msgid ""
18566 " sparse filename size\n"
18567 "\n"
18568 msgstr ""
18569
18570 #. type: textblock
18571 #: ../fish/guestfish-commands.pod:184
18572 msgid ""
18573 "This creates an empty sparse file of the given size, and then adds so it can "
18574 "be further examined."
18575 msgstr ""
18576
18577 #. type: textblock
18578 #: ../fish/guestfish-commands.pod:187
18579 msgid ""
18580 "In all respects it works the same as the L</alloc> command, except that the "
18581 "image file is allocated sparsely, which means that disk blocks are not "
18582 "assigned to the file until they are needed.  Sparse disk files only use "
18583 "space when written to, but they are slower and there is a danger you could "
18584 "run out of real disk space during a write operation."
18585 msgstr ""
18586
18587 #. type: =head2
18588 #: ../fish/guestfish-commands.pod:197
18589 msgid "supported"
18590 msgstr "supported"
18591
18592 #. type: verbatim
18593 #: ../fish/guestfish-commands.pod:199
18594 #, no-wrap
18595 msgid ""
18596 " supported\n"
18597 "\n"
18598 msgstr ""
18599 " supported\n"
18600 "\n"
18601
18602 #. type: textblock
18603 #: ../fish/guestfish-commands.pod:201
18604 msgid ""
18605 "This command returns a list of the optional groups known to the daemon, and "
18606 "indicates which ones are supported by this build of the libguestfs appliance."
18607 msgstr ""
18608
18609 #. type: textblock
18610 #: ../fish/guestfish-commands.pod:205
18611 msgid "See also L<guestfs(3)/AVAILABILITY>."
18612 msgstr "Див. також L<guestfs(3)/AVAILABILITY>."
18613
18614 #. type: =head2
18615 #: ../fish/guestfish-commands.pod:207
18616 msgid "time"
18617 msgstr "time"
18618
18619 #. type: verbatim
18620 #: ../fish/guestfish-commands.pod:209
18621 #, no-wrap
18622 msgid ""
18623 " time command args...\n"
18624 "\n"
18625 msgstr ""
18626
18627 #. type: textblock
18628 #: ../fish/guestfish-commands.pod:211
18629 msgid ""
18630 "Run the command as usual, but print the elapsed time afterwards.  This can "
18631 "be useful for benchmarking operations."
18632 msgstr ""
18633
18634 #. type: =head2
18635 #: ../fish/guestfish-commands.pod:214
18636 msgid "unsetenv"
18637 msgstr ""
18638
18639 #. type: verbatim
18640 #: ../fish/guestfish-commands.pod:216
18641 #, no-wrap
18642 msgid ""
18643 "  unsetenv VAR\n"
18644 "\n"
18645 msgstr ""
18646
18647 #. type: textblock
18648 #: ../fish/guestfish-commands.pod:218
18649 msgid "Remove C<VAR> from the environment."
18650 msgstr ""
18651
18652 #. type: textblock
18653 #: ../fish/guestfish.pod:5
18654 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
18655 msgstr ""
18656
18657 #. type: verbatim
18658 #: ../fish/guestfish.pod:9
18659 #, no-wrap
18660 msgid ""
18661 " guestfish [--options] [commands]\n"
18662 "\n"
18663 msgstr ""
18664
18665 #. type: verbatim
18666 #: ../fish/guestfish.pod:11
18667 #, no-wrap
18668 msgid ""
18669 " guestfish\n"
18670 "\n"
18671 msgstr ""
18672
18673 #. type: verbatim
18674 #: ../fish/guestfish.pod:13
18675 #, no-wrap
18676 msgid ""
18677 " guestfish [--ro|--rw] -a disk.img\n"
18678 "\n"
18679 msgstr ""
18680
18681 #. type: verbatim
18682 #: ../fish/guestfish.pod:15
18683 #, no-wrap
18684 msgid ""
18685 " guestfish [--ro|--rw] -a disk.img -m dev[:mountpoint]\n"
18686 "\n"
18687 msgstr ""
18688
18689 #. type: verbatim
18690 #: ../fish/guestfish.pod:17
18691 #, no-wrap
18692 msgid ""
18693 " guestfish -d libvirt-domain\n"
18694 "\n"
18695 msgstr ""
18696
18697 #. type: verbatim
18698 #: ../fish/guestfish.pod:19
18699 #, no-wrap
18700 msgid ""
18701 " guestfish [--ro|--rw] -a disk.img -i\n"
18702 "\n"
18703 msgstr ""
18704
18705 #. type: verbatim
18706 #: ../fish/guestfish.pod:21
18707 #, no-wrap
18708 msgid ""
18709 " guestfish -d libvirt-domain -i\n"
18710 "\n"
18711 msgstr ""
18712
18713 #. type: textblock
18714 #: ../fish/guestfish.pod:25
18715 msgid ""
18716 "Using guestfish in read/write mode on live virtual machines can be "
18717 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
18718 "option to use guestfish safely if the disk image or virtual machine might be "
18719 "live."
18720 msgstr ""
18721
18722 #. type: textblock
18723 #: ../fish/guestfish.pod:32
18724 msgid ""
18725 "Guestfish is a shell and command-line tool for examining and modifying "
18726 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
18727 "functionality of the guestfs API, see L<guestfs(3)>."
18728 msgstr ""
18729
18730 #. type: textblock
18731 #: ../fish/guestfish.pod:36
18732 msgid ""
18733 "Guestfish gives you structured access to the libguestfs API, from shell "
18734 "scripts or the command line or interactively.  If you want to rescue a "
18735 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
18736 "command."
18737 msgstr ""
18738
18739 #. type: =head2
18740 #: ../fish/guestfish.pod:43
18741 msgid "As an interactive shell"
18742 msgstr ""
18743
18744 #. type: verbatim
18745 #: ../fish/guestfish.pod:45
18746 #, no-wrap
18747 msgid ""
18748 " $ guestfish\n"
18749 " \n"
18750 msgstr ""
18751
18752 #. type: verbatim
18753 #: ../fish/guestfish.pod:47
18754 #, no-wrap
18755 msgid ""
18756 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
18757 " editing virtual machine filesystems.\n"
18758 " \n"
18759 msgstr ""
18760
18761 #. type: verbatim
18762 #: ../fish/guestfish.pod:50
18763 #, no-wrap
18764 msgid ""
18765 " Type: 'help' for a list of commands\n"
18766 "       'man' to read the manual\n"
18767 "       'quit' to quit the shell\n"
18768 " \n"
18769 msgstr ""
18770
18771 #. type: verbatim
18772 #: ../fish/guestfish.pod:54
18773 #, no-wrap
18774 msgid ""
18775 " ><fs> add-ro disk.img\n"
18776 " ><fs> run\n"
18777 " ><fs> list-filesystems\n"
18778 " /dev/sda1: ext4\n"
18779 " /dev/vg_guest/lv_root: ext4\n"
18780 " /dev/vg_guest/lv_swap: swap\n"
18781 " ><fs> mount /dev/vg_guest/lv_root /\n"
18782 " ><fs> cat /etc/fstab\n"
18783 " # /etc/fstab\n"
18784 " # Created by anaconda\n"
18785 " [...]\n"
18786 " ><fs> exit\n"
18787 "\n"
18788 msgstr ""
18789
18790 #. type: =head2
18791 #: ../fish/guestfish.pod:67
18792 msgid "From shell scripts"
18793 msgstr ""
18794
18795 #. type: textblock
18796 #: ../fish/guestfish.pod:69
18797 msgid "Create a new C</etc/motd> file in a guest or disk image:"
18798 msgstr ""
18799
18800 #. type: verbatim
18801 #: ../fish/guestfish.pod:71
18802 #, no-wrap
18803 msgid ""
18804 " guestfish <<_EOF_\n"
18805 " add disk.img\n"
18806 " run\n"
18807 " mount /dev/vg_guest/lv_root /\n"
18808 " write /etc/motd \"Welcome, new users\"\n"
18809 " _EOF_\n"
18810 "\n"
18811 msgstr ""
18812
18813 #. type: textblock
18814 #: ../fish/guestfish.pod:78
18815 msgid "List the LVM logical volumes in a disk image:"
18816 msgstr ""
18817
18818 #. type: verbatim
18819 #: ../fish/guestfish.pod:80
18820 #, no-wrap
18821 msgid ""
18822 " guestfish -a disk.img --ro <<_EOF_\n"
18823 " run\n"
18824 " lvs\n"
18825 " _EOF_\n"
18826 "\n"
18827 msgstr ""
18828
18829 #. type: textblock
18830 #: ../fish/guestfish.pod:85
18831 msgid "List all the filesystems in a disk image:"
18832 msgstr ""
18833
18834 #. type: verbatim
18835 #: ../fish/guestfish.pod:87
18836 #, no-wrap
18837 msgid ""
18838 " guestfish -a disk.img --ro <<_EOF_\n"
18839 " run\n"
18840 " list-filesystems\n"
18841 " _EOF_\n"
18842 "\n"
18843 msgstr ""
18844
18845 #. type: =head2
18846 #: ../fish/guestfish.pod:92
18847 msgid "On one command line"
18848 msgstr ""
18849
18850 #. type: textblock
18851 #: ../fish/guestfish.pod:94 ../fish/virt-copy-in.pod:31
18852 msgid "Update C</etc/resolv.conf> in a guest:"
18853 msgstr ""
18854
18855 #. type: verbatim
18856 #: ../fish/guestfish.pod:96
18857 #, no-wrap
18858 msgid ""
18859 " guestfish \\\n"
18860 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
18861 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
18862 "\n"
18863 msgstr ""
18864
18865 #. type: textblock
18866 #: ../fish/guestfish.pod:100
18867 msgid "Edit C</boot/grub/grub.conf> interactively:"
18868 msgstr ""
18869
18870 #. type: verbatim
18871 #: ../fish/guestfish.pod:102
18872 #, no-wrap
18873 msgid ""
18874 " guestfish --rw --add disk.img \\\n"
18875 "   --mount /dev/vg_guest/lv_root \\\n"
18876 "   --mount /dev/sda1:/boot \\\n"
18877 "   edit /boot/grub/grub.conf\n"
18878 "\n"
18879 msgstr ""
18880
18881 #. type: =head2
18882 #: ../fish/guestfish.pod:107
18883 msgid "Mount disks automatically"
18884 msgstr ""
18885
18886 #. type: textblock
18887 #: ../fish/guestfish.pod:109
18888 msgid ""
18889 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
18890 msgstr ""
18891
18892 #. type: verbatim
18893 #: ../fish/guestfish.pod:112
18894 #, no-wrap
18895 msgid ""
18896 " guestfish --ro -a disk.img -i cat /etc/group\n"
18897 "\n"
18898 msgstr ""
18899
18900 #. type: verbatim
18901 #: ../fish/guestfish.pod:114
18902 #, no-wrap
18903 msgid ""
18904 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
18905 "\n"
18906 msgstr ""
18907
18908 #. type: textblock
18909 #: ../fish/guestfish.pod:116
18910 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
18911 msgstr ""
18912
18913 #. type: verbatim
18914 #: ../fish/guestfish.pod:118
18915 #, no-wrap
18916 msgid ""
18917 " guestfish --rw -a disk.img -i edit /boot/grub/grub.conf\n"
18918 "\n"
18919 msgstr ""
18920
18921 #. type: =head2
18922 #: ../fish/guestfish.pod:120
18923 msgid "As a script interpreter"
18924 msgstr ""
18925
18926 #. type: textblock
18927 #: ../fish/guestfish.pod:122
18928 msgid "Create a 100MB disk containing an ext2-formatted partition:"
18929 msgstr ""
18930
18931 #. type: verbatim
18932 #: ../fish/guestfish.pod:124
18933 #, no-wrap
18934 msgid ""
18935 " #!/usr/bin/guestfish -f\n"
18936 " sparse test1.img 100M\n"
18937 " run\n"
18938 " part-disk /dev/sda mbr\n"
18939 " mkfs ext2 /dev/sda1\n"
18940 "\n"
18941 msgstr ""
18942
18943 #. type: =head2
18944 #: ../fish/guestfish.pod:130
18945 msgid "Start with a prepared disk"
18946 msgstr ""
18947
18948 #. type: textblock
18949 #: ../fish/guestfish.pod:132
18950 msgid ""
18951 "An alternate way to create a 100MB disk called C<test1.img> containing a "
18952 "single ext2-formatted partition:"
18953 msgstr ""
18954
18955 #. type: verbatim
18956 #: ../fish/guestfish.pod:135 ../src/guestfs.pod:2243
18957 #, no-wrap
18958 msgid ""
18959 " guestfish -N fs\n"
18960 "\n"
18961 msgstr ""
18962
18963 #. type: textblock
18964 #: ../fish/guestfish.pod:137
18965 msgid "To list what is available do:"
18966 msgstr ""
18967
18968 #. type: verbatim
18969 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:1042
18970 #, no-wrap
18971 msgid ""
18972 " guestfish -N help | less\n"
18973 "\n"
18974 msgstr ""
18975
18976 #. type: =head2
18977 #: ../fish/guestfish.pod:141
18978 msgid "Remote control"
18979 msgstr "Дистанційне керування"
18980
18981 #. type: verbatim
18982 #: ../fish/guestfish.pod:143
18983 #, no-wrap
18984 msgid ""
18985 " eval \"`guestfish --listen`\"\n"
18986 " guestfish --remote add-ro disk.img\n"
18987 " guestfish --remote run\n"
18988 " guestfish --remote lvs\n"
18989 "\n"
18990 msgstr ""
18991 " eval \"`guestfish --listen`\"\n"
18992 " guestfish --remote add-ro disk.img\n"
18993 " guestfish --remote run\n"
18994 " guestfish --remote lvs\n"
18995 "\n"
18996
18997 #. type: textblock
18998 #: ../fish/guestfish.pod:154
18999 msgid "Displays general help on options."
19000 msgstr ""
19001
19002 #. type: =item
19003 #: ../fish/guestfish.pod:158
19004 msgid "B<--cmd-help>"
19005 msgstr "B<--cmd-help>"
19006
19007 #. type: textblock
19008 #: ../fish/guestfish.pod:160
19009 msgid "Lists all available guestfish commands."
19010 msgstr ""
19011
19012 #. type: =item
19013 #: ../fish/guestfish.pod:162
19014 msgid "B<-h cmd>"
19015 msgstr "B<-h команда>"
19016
19017 #. type: =item
19018 #: ../fish/guestfish.pod:164
19019 msgid "B<--cmd-help cmd>"
19020 msgstr "B<--cmd-help команда>"
19021
19022 #. type: textblock
19023 #: ../fish/guestfish.pod:166
19024 msgid "Displays detailed help on a single command C<cmd>."
19025 msgstr ""
19026
19027 #. type: =item
19028 #: ../fish/guestfish.pod:168 ../fuse/guestmount.pod:96
19029 msgid "B<-a image>"
19030 msgstr "B<-a образ>"
19031
19032 #. type: =item
19033 #: ../fish/guestfish.pod:170 ../fuse/guestmount.pod:98
19034 msgid "B<--add image>"
19035 msgstr "B<--add образ>"
19036
19037 #. type: textblock
19038 #: ../fish/guestfish.pod:172
19039 msgid "Add a block device or virtual machine image to the shell."
19040 msgstr ""
19041
19042 #. type: textblock
19043 #: ../fish/guestfish.pod:177
19044 msgid ""
19045 "Using this flag is mostly equivalent to using the C<add> command, with "
19046 "C<readonly:true> if the I<--ro> flag was given, and with C<format:...> if "
19047 "the I<--format=...> flag was given."
19048 msgstr ""
19049
19050 #. type: textblock
19051 #: ../fish/guestfish.pod:185 ../fuse/guestmount.pod:109
19052 msgid ""
19053 "When used in conjunction with the I<-d> option, this specifies the libvirt "
19054 "URI to use.  The default is to use the default libvirt connection."
19055 msgstr ""
19056
19057 #. type: =item
19058 #: ../fish/guestfish.pod:189
19059 msgid "B<--csh>"
19060 msgstr "B<--csh>"
19061
19062 #. type: textblock
19063 #: ../fish/guestfish.pod:191
19064 msgid ""
19065 "If using the I<--listen> option and a csh-like shell, use this option.  See "
19066 "section L</REMOTE CONTROL AND CSH> below."
19067 msgstr ""
19068
19069 #. type: =item
19070 #: ../fish/guestfish.pod:194 ../fuse/guestmount.pod:113
19071 msgid "B<-d libvirt-domain>"
19072 msgstr "B<-d домен-libvirt>"
19073
19074 #. type: =item
19075 #: ../fish/guestfish.pod:196 ../fuse/guestmount.pod:115
19076 msgid "B<--domain libvirt-domain>"
19077 msgstr "B<--domain домен-libvirt>"
19078
19079 #. type: textblock
19080 #: ../fish/guestfish.pod:198 ../fuse/guestmount.pod:117
19081 msgid ""
19082 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
19083 "used, then any libvirt domain can be used.  However in write mode, only "
19084 "libvirt domains which are shut down can be named here."
19085 msgstr ""
19086
19087 #. type: textblock
19088 #: ../fish/guestfish.pod:202 ../fuse/guestmount.pod:121
19089 msgid "Domain UUIDs can be used instead of names."
19090 msgstr ""
19091
19092 #. type: textblock
19093 #: ../fish/guestfish.pod:204
19094 msgid ""
19095 "Using this flag is mostly equivalent to using the C<add-domain> command, "
19096 "with C<readonly:true> if the I<--ro> flag was given, and with C<format:...> "
19097 "if the I<--format:...> flag was given."
19098 msgstr ""
19099
19100 #. type: =item
19101 #: ../fish/guestfish.pod:208
19102 msgid "B<-D>"
19103 msgstr "B<-D>"
19104
19105 #. type: =item
19106 #: ../fish/guestfish.pod:210
19107 msgid "B<--no-dest-paths>"
19108 msgstr "B<--no-dest-paths>"
19109
19110 #. type: textblock
19111 #: ../fish/guestfish.pod:212
19112 msgid ""
19113 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
19114 "to hit the tab key to complete paths on the guest filesystem, but this "
19115 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
19116 "allow this feature to be disabled."
19117 msgstr ""
19118
19119 #. type: textblock
19120 #: ../fish/guestfish.pod:219 ../fuse/guestmount.pod:137
19121 msgid ""
19122 "When prompting for keys and passphrases, guestfish normally turns echoing "
19123 "off so you cannot see what you are typing.  If you are not worried about "
19124 "Tempest attacks and there is no one else in the room you can specify this "
19125 "flag to see what you are typing."
19126 msgstr ""
19127
19128 #. type: =item
19129 #: ../fish/guestfish.pod:224
19130 msgid "B<-f file>"
19131 msgstr "B<-f файл>"
19132
19133 #. type: =item
19134 #: ../fish/guestfish.pod:226
19135 msgid "B<--file file>"
19136 msgstr "B<--file файл>"
19137
19138 #. type: textblock
19139 #: ../fish/guestfish.pod:228
19140 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
19141 msgstr ""
19142
19143 #. type: verbatim
19144 #: ../fish/guestfish.pod:231
19145 #, no-wrap
19146 msgid ""
19147 " #!/usr/bin/guestfish -f\n"
19148 "\n"
19149 msgstr ""
19150 " #!/usr/bin/guestfish -f\n"
19151 "\n"
19152
19153 #. type: verbatim
19154 #: ../fish/guestfish.pod:244
19155 #, no-wrap
19156 msgid ""
19157 " guestfish --format=raw -a disk.img\n"
19158 "\n"
19159 msgstr ""
19160 " guestfish --format=raw -a disk.img\n"
19161 "\n"
19162
19163 #. type: verbatim
19164 #: ../fish/guestfish.pod:248
19165 #, no-wrap
19166 msgid ""
19167 " guestfish --format=raw -a disk.img --format -a another.img\n"
19168 "\n"
19169 msgstr ""
19170 " guestfish --format=raw -a disk.img --format -a another.img\n"
19171 "\n"
19172
19173 #. type: textblock
19174 #: ../fish/guestfish.pod:253
19175 msgid ""
19176 "If you have untrusted raw-format guest disk images, you should use this "
19177 "option to specify the disk format.  This avoids a possible security problem "
19178 "with malicious guests (CVE-2010-3851).  See also L</add-drive-opts>."
19179 msgstr ""
19180
19181 #. type: =item
19182 #: ../fish/guestfish.pod:260 ../fuse/guestmount.pod:166
19183 msgid "B<--inspector>"
19184 msgstr "B<--inspector>"
19185
19186 #. type: textblock
19187 #: ../fish/guestfish.pod:262 ../fuse/guestmount.pod:168
19188 msgid ""
19189 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
19190 "system and mount filesystems as they would be mounted on the real virtual "
19191 "machine."
19192 msgstr ""
19193
19194 #. type: textblock
19195 #: ../fish/guestfish.pod:266
19196 msgid "Typical usage is either:"
19197 msgstr ""
19198
19199 #. type: verbatim
19200 #: ../fish/guestfish.pod:268
19201 #, no-wrap
19202 msgid ""
19203 " guestfish -d myguest -i\n"
19204 "\n"
19205 msgstr ""
19206 " guestfish -d myguest -i\n"
19207 "\n"
19208
19209 #. type: textblock
19210 #: ../fish/guestfish.pod:270
19211 msgid "(for an inactive libvirt domain called I<myguest>), or:"
19212 msgstr ""
19213
19214 #. type: verbatim
19215 #: ../fish/guestfish.pod:272
19216 #, no-wrap
19217 msgid ""
19218 " guestfish --ro -d myguest -i\n"
19219 "\n"
19220 msgstr ""
19221 " guestfish --ro -d myguest -i\n"
19222 "\n"
19223
19224 #. type: textblock
19225 #: ../fish/guestfish.pod:274
19226 msgid "(for active domains, readonly), or specify the block device directly:"
19227 msgstr ""
19228
19229 #. type: verbatim
19230 #: ../fish/guestfish.pod:276
19231 #, no-wrap
19232 msgid ""
19233 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
19234 "\n"
19235 msgstr ""
19236 " guestfish --rw -a /dev/Guests/MyGuest -i\n"
19237 "\n"
19238
19239 #. type: textblock
19240 #: ../fish/guestfish.pod:278
19241 msgid ""
19242 "Note that the command line syntax changed slightly over older versions of "
19243 "guestfish.  You can still use the old syntax:"
19244 msgstr ""
19245
19246 #. type: verbatim
19247 #: ../fish/guestfish.pod:281
19248 #, no-wrap
19249 msgid ""
19250 " guestfish [--ro] -i disk.img\n"
19251 "\n"
19252 msgstr ""
19253 " guestfish [--ro] -i disk.img\n"
19254 "\n"
19255
19256 #. type: verbatim
19257 #: ../fish/guestfish.pod:283
19258 #, no-wrap
19259 msgid ""
19260 " guestfish [--ro] -i libvirt-domain\n"
19261 "\n"
19262 msgstr ""
19263
19264 #. type: textblock
19265 #: ../fish/guestfish.pod:285
19266 msgid ""
19267 "Using this flag is mostly equivalent to using the C<inspect-os> command and "
19268 "then using other commands to mount the filesystems that were found."
19269 msgstr ""
19270
19271 #. type: =item
19272 #: ../fish/guestfish.pod:294
19273 msgid "B<--listen>"
19274 msgstr "B<--listen>"
19275
19276 #. type: textblock
19277 #: ../fish/guestfish.pod:296
19278 msgid ""
19279 "Fork into the background and listen for remote commands.  See section L</"
19280 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
19281 msgstr ""
19282
19283 #. type: =item
19284 #: ../fish/guestfish.pod:299 ../fuse/guestmount.pod:177
19285 msgid "B<--live>"
19286 msgstr "B<--live>"
19287
19288 #. type: textblock
19289 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:179
19290 msgid ""
19291 "Connect to a live virtual machine.  (Experimental, see L<guestfs(3)/"
19292 "ATTACHING TO RUNNING DAEMONS>)."
19293 msgstr ""
19294
19295 #. type: =item
19296 #: ../fish/guestfish.pod:304 ../fuse/guestmount.pod:182
19297 msgid "B<-m dev[:mountpoint[:options]]>"
19298 msgstr "B<-m пристрій[:точка_монтування[:параметри]]>"
19299
19300 #. type: =item
19301 #: ../fish/guestfish.pod:306 ../fuse/guestmount.pod:184
19302 msgid "B<--mount dev[:mountpoint[:options]]>"
19303 msgstr "B<--mount пристрій[:точка_монтування[:параметри]]>"
19304
19305 #. type: textblock
19306 #: ../fish/guestfish.pod:308
19307 msgid "Mount the named partition or logical volume on the given mountpoint."
19308 msgstr ""
19309
19310 #. type: textblock
19311 #: ../fish/guestfish.pod:310
19312 msgid "If the mountpoint is omitted, it defaults to C</>."
19313 msgstr ""
19314
19315 #. type: textblock
19316 #: ../fish/guestfish.pod:312
19317 msgid "You have to mount something on C</> before most commands will work."
19318 msgstr ""
19319
19320 #. type: textblock
19321 #: ../fish/guestfish.pod:314
19322 msgid ""
19323 "If any I<-m> or I<--mount> options are given, the guest is automatically "
19324 "launched."
19325 msgstr ""
19326
19327 #. type: textblock
19328 #: ../fish/guestfish.pod:317
19329 msgid ""
19330 "If you don't know what filesystems a disk image contains, you can either run "
19331 "guestfish without this option, then list the partitions, filesystems and LVs "
19332 "available (see L</list-partitions>, L</list-filesystems> and L</lvs> "
19333 "commands), or you can use the L<virt-filesystems(1)> program."
19334 msgstr ""
19335
19336 #. type: textblock
19337 #: ../fish/guestfish.pod:323 ../fuse/guestmount.pod:192
19338 msgid ""
19339 "The third (and rarely used) part of the mount parameter is the list of mount "
19340 "options used to mount the underlying filesystem.  If this is not given, then "
19341 "the mount options are either the empty string or C<ro> (the latter if the "
19342 "I<--ro> flag is used).  By specifying the mount options, you override this "
19343 "default choice.  Probably the only time you would use this is to enable ACLs "
19344 "and/or extended attributes if the filesystem can support them:"
19345 msgstr ""
19346
19347 #. type: verbatim
19348 #: ../fish/guestfish.pod:331 ../fuse/guestmount.pod:200
19349 #, no-wrap
19350 msgid ""
19351 " -m /dev/sda1:/:acl,user_xattr\n"
19352 "\n"
19353 msgstr ""
19354
19355 #. type: textblock
19356 #: ../fish/guestfish.pod:333
19357 msgid "Using this flag is equivalent to using the C<mount-options> command."
19358 msgstr ""
19359
19360 #. type: =item
19361 #: ../fish/guestfish.pod:335 ../fuse/guestmount.pod:202
19362 #: ../resize/virt-resize.pod:435
19363 msgid "B<-n>"
19364 msgstr "B<-n>"
19365
19366 #. type: =item
19367 #: ../fish/guestfish.pod:337 ../fuse/guestmount.pod:204
19368 msgid "B<--no-sync>"
19369 msgstr "B<--no-sync>"
19370
19371 #. type: textblock
19372 #: ../fish/guestfish.pod:339
19373 msgid ""
19374 "Disable autosync.  This is enabled by default.  See the discussion of "
19375 "autosync in the L<guestfs(3)> manpage."
19376 msgstr ""
19377
19378 #. type: =item
19379 #: ../fish/guestfish.pod:342
19380 msgid "B<-N type>"
19381 msgstr "B<-N тип>"
19382
19383 #. type: =item
19384 #: ../fish/guestfish.pod:344
19385 msgid "B<--new type>"
19386 msgstr "B<--new тип>"
19387
19388 #. type: =item
19389 #: ../fish/guestfish.pod:346
19390 msgid "B<-N help>"
19391 msgstr "B<-N help>"
19392
19393 #. type: textblock
19394 #: ../fish/guestfish.pod:348
19395 msgid ""
19396 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
19397 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
19398 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
19399 "IMAGES> below."
19400 msgstr ""
19401
19402 #. type: =item
19403 #: ../fish/guestfish.pod:353
19404 msgid "B<--progress-bars>"
19405 msgstr "B<--progress-bars>"
19406
19407 #. type: textblock
19408 #: ../fish/guestfish.pod:355
19409 msgid "Enable progress bars, even when guestfish is used non-interactively."
19410 msgstr ""
19411
19412 #. type: textblock
19413 #: ../fish/guestfish.pod:357
19414 msgid ""
19415 "Progress bars are enabled by default when guestfish is used as an "
19416 "interactive shell."
19417 msgstr ""
19418
19419 #. type: =item
19420 #: ../fish/guestfish.pod:360
19421 msgid "B<--no-progress-bars>"
19422 msgstr "B<--no-progress-bars>"
19423
19424 #. type: textblock
19425 #: ../fish/guestfish.pod:362
19426 msgid "Disable progress bars."
19427 msgstr ""
19428
19429 #. type: =item
19430 #: ../fish/guestfish.pod:364
19431 msgid "B<--remote[=pid]>"
19432 msgstr "B<--remote[=pid]>"
19433
19434 #. type: textblock
19435 #: ../fish/guestfish.pod:366
19436 msgid ""
19437 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
19438 "CONTROL GUESTFISH OVER A SOCKET> below."
19439 msgstr ""
19440
19441 #. type: =item
19442 #: ../fish/guestfish.pod:369 ../fuse/guestmount.pod:248
19443 #: ../rescue/virt-rescue.pod:161
19444 msgid "B<-r>"
19445 msgstr "B<-r>"
19446
19447 #. type: =item
19448 #: ../fish/guestfish.pod:371 ../fuse/guestmount.pod:250
19449 #: ../rescue/virt-rescue.pod:163
19450 msgid "B<--ro>"
19451 msgstr "B<--ro>"
19452
19453 #. type: textblock
19454 #: ../fish/guestfish.pod:373
19455 msgid ""
19456 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
19457 "mounts are done read-only."
19458 msgstr ""
19459
19460 #. type: textblock
19461 #: ../fish/guestfish.pod:376 ../rescue/virt-rescue.pod:167
19462 msgid ""
19463 "The option must always be used if the disk image or virtual machine might be "
19464 "running, and is generally recommended in cases where you don't need write "
19465 "access to the disk."
19466 msgstr ""
19467
19468 #. type: textblock
19469 #: ../fish/guestfish.pod:380
19470 msgid ""
19471 "Note that prepared disk images created with I<-N> are not affected by this "
19472 "option.  Also commands like C<add> are not affected - you have to specify "
19473 "the C<readonly:true> option explicitly if you need it."
19474 msgstr ""
19475
19476 #. type: textblock
19477 #: ../fish/guestfish.pod:384
19478 msgid "See also L</OPENING DISKS FOR READ AND WRITE> below."
19479 msgstr ""
19480
19481 #. type: =item
19482 #: ../fish/guestfish.pod:386 ../fuse/guestmount.pod:262
19483 #: ../rescue/virt-rescue.pod:173
19484 msgid "B<--selinux>"
19485 msgstr "B<--selinux>"
19486
19487 #. type: textblock
19488 #: ../fish/guestfish.pod:388
19489 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
19490 msgstr ""
19491
19492 #. type: textblock
19493 #: ../fish/guestfish.pod:394
19494 msgid ""
19495 "Enable very verbose messages.  This is particularly useful if you find a bug."
19496 msgstr ""
19497
19498 #. type: textblock
19499 #: ../fish/guestfish.pod:401
19500 msgid "Display the guestfish / libguestfs version number and exit."
19501 msgstr ""
19502
19503 #. type: =item
19504 #: ../fish/guestfish.pod:403 ../fuse/guestmount.pod:278
19505 #: ../rescue/virt-rescue.pod:194
19506 msgid "B<-w>"
19507 msgstr "B<-w>"
19508
19509 #. type: =item
19510 #: ../fish/guestfish.pod:405 ../fuse/guestmount.pod:280
19511 #: ../rescue/virt-rescue.pod:196
19512 msgid "B<--rw>"
19513 msgstr "B<--rw>"
19514
19515 #. type: textblock
19516 #: ../fish/guestfish.pod:407 ../fuse/guestmount.pod:282
19517 msgid ""
19518 "This changes the I<-a>, I<-d> and I<-m> options so that disks are added and "
19519 "mounts are done read-write."
19520 msgstr ""
19521
19522 #. type: textblock
19523 #: ../fish/guestfish.pod:410
19524 msgid "See L</OPENING DISKS FOR READ AND WRITE> below."
19525 msgstr ""
19526
19527 #. type: textblock
19528 #: ../fish/guestfish.pod:414
19529 msgid "Echo each command before executing it."
19530 msgstr ""
19531
19532 #. type: =head1
19533 #: ../fish/guestfish.pod:418
19534 msgid "COMMANDS ON COMMAND LINE"
19535 msgstr ""
19536
19537 #. type: textblock
19538 #: ../fish/guestfish.pod:420
19539 msgid ""
19540 "Any additional (non-option) arguments are treated as commands to execute."
19541 msgstr ""
19542
19543 #. type: textblock
19544 #: ../fish/guestfish.pod:423
19545 msgid ""
19546 "Commands to execute should be separated by a colon (C<:>), where the colon "
19547 "is a separate parameter.  Thus:"
19548 msgstr ""
19549
19550 #. type: verbatim
19551 #: ../fish/guestfish.pod:426
19552 #, no-wrap
19553 msgid ""
19554 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
19555 "\n"
19556 msgstr ""
19557
19558 #. type: textblock
19559 #: ../fish/guestfish.pod:428
19560 msgid ""
19561 "If there are no additional arguments, then we enter a shell, either an "
19562 "interactive shell with a prompt (if the input is a terminal) or a non-"
19563 "interactive shell."
19564 msgstr ""
19565
19566 #. type: textblock
19567 #: ../fish/guestfish.pod:432
19568 msgid ""
19569 "In either command line mode or non-interactive shell, the first command that "
19570 "gives an error causes the whole shell to exit.  In interactive mode (with a "
19571 "prompt) if a command fails, you can continue to enter commands."
19572 msgstr ""
19573
19574 #. type: =head1
19575 #: ../fish/guestfish.pod:437
19576 msgid "USING launch (OR run)"
19577 msgstr ""
19578
19579 #. type: textblock
19580 #: ../fish/guestfish.pod:439
19581 msgid ""
19582 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
19583 "then launch it, then mount any disks you need, and finally issue actions/"
19584 "commands.  So the general order of the day is:"
19585 msgstr ""
19586
19587 #. type: textblock
19588 #: ../fish/guestfish.pod:447
19589 msgid "add or -a/--add"
19590 msgstr ""
19591
19592 #. type: textblock
19593 #: ../fish/guestfish.pod:451
19594 msgid "launch (aka run)"
19595 msgstr ""
19596
19597 #. type: textblock
19598 #: ../fish/guestfish.pod:455
19599 msgid "mount or -m/--mount"
19600 msgstr ""
19601
19602 #. type: textblock
19603 #: ../fish/guestfish.pod:459
19604 msgid "any other commands"
19605 msgstr ""
19606
19607 #. type: textblock
19608 #: ../fish/guestfish.pod:463
19609 msgid ""
19610 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
19611 "guest before mounting or performing any other commands."
19612 msgstr ""
19613
19614 #. type: textblock
19615 #: ../fish/guestfish.pod:466
19616 msgid ""
19617 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
19618 "I<--new> options were given then C<run> is done automatically, simply "
19619 "because guestfish can't perform the action you asked for without doing this."
19620 msgstr ""
19621
19622 #. type: =head1
19623 #: ../fish/guestfish.pod:471
19624 msgid "OPENING DISKS FOR READ AND WRITE"
19625 msgstr ""
19626
19627 #. type: textblock
19628 #: ../fish/guestfish.pod:473
19629 msgid ""
19630 "The guestfish, L<guestmount(1)> and L<virt-rescue(1)> options I<--ro> and "
19631 "I<--rw> affect whether the other command line options I<-a>, I<-c>, I<-d>, "
19632 "I<-i> and I<-m> open disk images read-only or for writing."
19633 msgstr ""
19634
19635 #. type: textblock
19636 #: ../fish/guestfish.pod:478
19637 msgid ""
19638 "In libguestfs E<le> 1.10, guestfish, guestmount and virt-rescue defaulted to "
19639 "opening disk images supplied on the command line for write.  To open a disk "
19640 "image read-only you have to do I<-a image --ro>."
19641 msgstr ""
19642
19643 #. type: textblock
19644 #: ../fish/guestfish.pod:482
19645 msgid ""
19646 "This matters: If you accidentally open a live VM disk image writable then "
19647 "you will cause irreversible disk corruption."
19648 msgstr ""
19649
19650 #. type: textblock
19651 #: ../fish/guestfish.pod:485
19652 msgid ""
19653 "In a future libguestfs we intend to change the default the other way.  Disk "
19654 "images will be opened read-only.  You will have to either specify "
19655 "I<guestfish --rw>, I<guestmount --rw>, I<virt-rescue --rw>, or change the "
19656 "configuration file C</etc/libguestfs-tools.conf> in order to get write "
19657 "access for disk images specified by those other command line options."
19658 msgstr ""
19659
19660 #. type: textblock
19661 #: ../fish/guestfish.pod:492
19662 msgid ""
19663 "This version of guestfish, guestmount and virt-rescue has a I<--rw> option "
19664 "which does nothing (it is already the default).  However it is highly "
19665 "recommended that you use this option to indicate that you need write access, "
19666 "and prepare your scripts for the day when this option will be required for "
19667 "write access."
19668 msgstr ""
19669
19670 #. type: textblock
19671 #: ../fish/guestfish.pod:498
19672 msgid ""
19673 "B<Note:> This does I<not> affect commands like L</add> and L</mount>, or any "
19674 "other libguestfs program apart from guestfish and guestmount."
19675 msgstr ""
19676
19677 #. type: =head1
19678 #: ../fish/guestfish.pod:501
19679 msgid "QUOTING"
19680 msgstr ""
19681
19682 #. type: textblock
19683 #: ../fish/guestfish.pod:503
19684 msgid ""
19685 "You can quote ordinary parameters using either single or double quotes.  For "
19686 "example:"
19687 msgstr ""
19688
19689 #. type: verbatim
19690 #: ../fish/guestfish.pod:506
19691 #, no-wrap
19692 msgid ""
19693 " add \"file with a space.img\"\n"
19694 "\n"
19695 msgstr ""
19696
19697 #. type: verbatim
19698 #: ../fish/guestfish.pod:508
19699 #, no-wrap
19700 msgid ""
19701 " rm '/file name'\n"
19702 "\n"
19703 msgstr ""
19704
19705 #. type: verbatim
19706 #: ../fish/guestfish.pod:510
19707 #, no-wrap
19708 msgid ""
19709 " rm '/\"'\n"
19710 "\n"
19711 msgstr ""
19712
19713 #. type: textblock
19714 #: ../fish/guestfish.pod:512
19715 msgid ""
19716 "A few commands require a list of strings to be passed.  For these, use a "
19717 "whitespace-separated list, enclosed in quotes.  Strings containing "
19718 "whitespace to be passed through must be enclosed in single quotes.  A "
19719 "literal single quote must be escaped with a backslash."
19720 msgstr ""
19721
19722 #. type: verbatim
19723 #: ../fish/guestfish.pod:517
19724 #, no-wrap
19725 msgid ""
19726 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
19727 " command \"/bin/echo 'foo      bar'\"\n"
19728 " command \"/bin/echo \\'foo\\'\"\n"
19729 "\n"
19730 msgstr ""
19731
19732 #. type: =head2
19733 #: ../fish/guestfish.pod:521
19734 msgid "ESCAPE SEQUENCES IN DOUBLE QUOTED ARGUMENTS"
19735 msgstr ""
19736
19737 #. type: textblock
19738 #: ../fish/guestfish.pod:523
19739 msgid ""
19740 "In double-quoted arguments (only) use backslash to insert special characters:"
19741 msgstr ""
19742
19743 #. type: =item
19744 #: ../fish/guestfish.pod:528
19745 msgid "C<\\a>"
19746 msgstr "C<\\a>"
19747
19748 #. type: textblock
19749 #: ../fish/guestfish.pod:530
19750 msgid "Alert (bell) character."
19751 msgstr "Символ гудка (дзвінка)."
19752
19753 #. type: =item
19754 #: ../fish/guestfish.pod:532
19755 msgid "C<\\b>"
19756 msgstr "C<\\b>"
19757
19758 #. type: textblock
19759 #: ../fish/guestfish.pod:534
19760 msgid "Backspace character."
19761 msgstr ""
19762
19763 #. type: =item
19764 #: ../fish/guestfish.pod:536
19765 msgid "C<\\f>"
19766 msgstr "C<\\f>"
19767
19768 #. type: textblock
19769 #: ../fish/guestfish.pod:538
19770 msgid "Form feed character."
19771 msgstr ""
19772
19773 #. type: =item
19774 #: ../fish/guestfish.pod:540
19775 msgid "C<\\n>"
19776 msgstr "C<\\n>"
19777
19778 #. type: textblock
19779 #: ../fish/guestfish.pod:542
19780 msgid "Newline character."
19781 msgstr ""
19782
19783 #. type: =item
19784 #: ../fish/guestfish.pod:544
19785 msgid "C<\\r>"
19786 msgstr "C<\\r>"
19787
19788 #. type: textblock
19789 #: ../fish/guestfish.pod:546
19790 msgid "Carriage return character."
19791 msgstr "Символ повернення каретки."
19792
19793 #. type: =item
19794 #: ../fish/guestfish.pod:548
19795 msgid "C<\\t>"
19796 msgstr "C<\\t>"
19797
19798 #. type: textblock
19799 #: ../fish/guestfish.pod:550
19800 msgid "Horizontal tab character."
19801 msgstr "Символ горизонтальної табуляції"
19802
19803 #. type: =item
19804 #: ../fish/guestfish.pod:552
19805 msgid "C<\\v>"
19806 msgstr "C<\\v>"
19807
19808 #. type: textblock
19809 #: ../fish/guestfish.pod:554
19810 msgid "Vertical tab character."
19811 msgstr "Символ вертикальної табуляції."
19812
19813 #. type: =item
19814 #: ../fish/guestfish.pod:556
19815 msgid "C<\\\">"
19816 msgstr "C<\\\">"
19817
19818 #. type: textblock
19819 #: ../fish/guestfish.pod:558
19820 msgid "A literal double quote character."
19821 msgstr ""
19822
19823 #. type: =item
19824 #: ../fish/guestfish.pod:560
19825 msgid "C<\\ooo>"
19826 msgstr "C<\\ooo>"
19827
19828 #. type: textblock
19829 #: ../fish/guestfish.pod:562
19830 msgid ""
19831 "A character with octal value I<ooo>.  There must be precisely 3 octal digits "
19832 "(unlike C)."
19833 msgstr ""
19834
19835 #. type: =item
19836 #: ../fish/guestfish.pod:565
19837 msgid "C<\\xhh>"
19838 msgstr "C<\\xhh>"
19839
19840 #. type: textblock
19841 #: ../fish/guestfish.pod:567
19842 msgid ""
19843 "A character with hex value I<hh>.  There must be precisely 2 hex digits."
19844 msgstr ""
19845
19846 #. type: textblock
19847 #: ../fish/guestfish.pod:570
19848 msgid ""
19849 "In the current implementation C<\\000> and C<\\x00> cannot be used in "
19850 "strings."
19851 msgstr ""
19852
19853 #. type: =item
19854 #: ../fish/guestfish.pod:573
19855 msgid "C<\\\\>"
19856 msgstr "C<\\\\>"
19857
19858 #. type: textblock
19859 #: ../fish/guestfish.pod:575
19860 msgid "A literal backslash character."
19861 msgstr ""
19862
19863 #. type: =head1
19864 #: ../fish/guestfish.pod:579
19865 msgid "OPTIONAL ARGUMENTS"
19866 msgstr ""
19867
19868 #. type: textblock
19869 #: ../fish/guestfish.pod:581
19870 msgid ""
19871 "Some commands take optional arguments.  These arguments appear in this "
19872 "documentation as C<[argname:..]>.  You can use them as in these examples:"
19873 msgstr ""
19874
19875 #. type: verbatim
19876 #: ../fish/guestfish.pod:585
19877 #, no-wrap
19878 msgid ""
19879 " add-drive-opts filename\n"
19880 "\n"
19881 msgstr ""
19882
19883 #. type: verbatim
19884 #: ../fish/guestfish.pod:587
19885 #, no-wrap
19886 msgid ""
19887 " add-drive-opts filename readonly:true\n"
19888 "\n"
19889 msgstr ""
19890
19891 #. type: verbatim
19892 #: ../fish/guestfish.pod:589
19893 #, no-wrap
19894 msgid ""
19895 " add-drive-opts filename format:qcow2 readonly:false\n"
19896 "\n"
19897 msgstr ""
19898
19899 #. type: textblock
19900 #: ../fish/guestfish.pod:591
19901 msgid ""
19902 "Each optional argument can appear at most once.  All optional arguments must "
19903 "appear after the required ones."
19904 msgstr ""
19905
19906 #. type: =head1
19907 #: ../fish/guestfish.pod:594
19908 msgid "NUMBERS"
19909 msgstr "ЧИСЛА"
19910
19911 #. type: textblock
19912 #: ../fish/guestfish.pod:596
19913 msgid ""
19914 "This section applies to all commands which can take integers as parameters."
19915 msgstr ""
19916
19917 #. type: =head2
19918 #: ../fish/guestfish.pod:599
19919 msgid "SIZE SUFFIX"
19920 msgstr ""
19921
19922 #. type: textblock
19923 #: ../fish/guestfish.pod:601
19924 msgid ""
19925 "When the command takes a parameter measured in bytes, you can use one of the "
19926 "following suffixes to specify kilobytes, megabytes and larger sizes:"
19927 msgstr ""
19928
19929 #. type: =item
19930 #: ../fish/guestfish.pod:607
19931 msgid "B<k> or B<K> or B<KiB>"
19932 msgstr "B<k>, B<K> або B<KiB>"
19933
19934 #. type: textblock
19935 #: ../fish/guestfish.pod:609
19936 msgid "The size in kilobytes (multiplied by 1024)."
19937 msgstr "Розмір у кілобайтах (у одному кілобайті 1024 байтів)."
19938
19939 #. type: =item
19940 #: ../fish/guestfish.pod:611
19941 msgid "B<KB>"
19942 msgstr "B<KB>"
19943
19944 #. type: textblock
19945 #: ../fish/guestfish.pod:613
19946 msgid "The size in SI 1000 byte units."
19947 msgstr "Розмір у одиницях СІ: 1000 байтів."
19948
19949 #. type: =item
19950 #: ../fish/guestfish.pod:615
19951 msgid "B<M> or B<MiB>"
19952 msgstr "B<M> або B<MiB>"
19953
19954 #. type: textblock
19955 #: ../fish/guestfish.pod:617
19956 msgid "The size in megabytes (multiplied by 1048576)."
19957 msgstr "Розмір у мегабайтах (у одному мегабайті 1048576 байтів)."
19958
19959 #. type: =item
19960 #: ../fish/guestfish.pod:619
19961 msgid "B<MB>"
19962 msgstr "B<MB>"
19963
19964 #. type: textblock
19965 #: ../fish/guestfish.pod:621
19966 msgid "The size in SI 1000000 byte units."
19967 msgstr "Розмір у одиницях СІ: 1000000 байтів."
19968
19969 #. type: =item
19970 #: ../fish/guestfish.pod:623
19971 msgid "B<G> or B<GiB>"
19972 msgstr "B<G> або B<GiB>"
19973
19974 #. type: textblock
19975 #: ../fish/guestfish.pod:625
19976 msgid "The size in gigabytes (multiplied by 2**30)."
19977 msgstr "Розмір у гігабайтах (з множником 2**30)."
19978
19979 #. type: =item
19980 #: ../fish/guestfish.pod:627
19981 msgid "B<GB>"
19982 msgstr "B<GB>"
19983
19984 #. type: textblock
19985 #: ../fish/guestfish.pod:629
19986 msgid "The size in SI 10**9 byte units."
19987 msgstr "Розмір у одиницях СІ: 10**9 байтів."
19988
19989 #. type: =item
19990 #: ../fish/guestfish.pod:631
19991 msgid "B<T> or B<TiB>"
19992 msgstr "B<T> або B<TiB>"
19993
19994 #. type: textblock
19995 #: ../fish/guestfish.pod:633
19996 msgid "The size in terabytes (multiplied by 2**40)."
19997 msgstr "Розмір у терабайтах (з множником 2**40)."
19998
19999 #. type: =item
20000 #: ../fish/guestfish.pod:635
20001 msgid "B<TB>"
20002 msgstr "B<TB>"
20003
20004 #. type: textblock
20005 #: ../fish/guestfish.pod:637
20006 msgid "The size in SI 10**12 byte units."
20007 msgstr "Розмір у одиницях СІ: 10**12 байтів."
20008
20009 #. type: =item
20010 #: ../fish/guestfish.pod:639
20011 msgid "B<P> or B<PiB>"
20012 msgstr "B<P> або B<PiB>"
20013
20014 #. type: textblock
20015 #: ../fish/guestfish.pod:641
20016 msgid "The size in petabytes (multiplied by 2**50)."
20017 msgstr "Розмір у петабайтах (у одному петабайті 2**50 байтів)."
20018
20019 #. type: =item
20020 #: ../fish/guestfish.pod:643
20021 msgid "B<PB>"
20022 msgstr "B<PB>"
20023
20024 #. type: textblock
20025 #: ../fish/guestfish.pod:645
20026 msgid "The size in SI 10**15 byte units."
20027 msgstr "Розмір у одиницях СІ: 10**15 байтів."
20028
20029 #. type: =item
20030 #: ../fish/guestfish.pod:647
20031 msgid "B<E> or B<EiB>"
20032 msgstr "B<E> або B<EiB>"
20033
20034 #. type: textblock
20035 #: ../fish/guestfish.pod:649
20036 msgid "The size in exabytes (multiplied by 2**60)."
20037 msgstr "Розмір у ексабайтах (у одному ексабайті 2**60 байтів)."
20038
20039 #. type: =item
20040 #: ../fish/guestfish.pod:651
20041 msgid "B<EB>"
20042 msgstr "B<EB>"
20043
20044 #. type: textblock
20045 #: ../fish/guestfish.pod:653
20046 msgid "The size in SI 10**18 byte units."
20047 msgstr "Розмір у одиницях СІ: 10**18 байтів."
20048
20049 #. type: =item
20050 #: ../fish/guestfish.pod:655
20051 msgid "B<Z> or B<ZiB>"
20052 msgstr "B<Z> або B<ZiB>"
20053
20054 #. type: textblock
20055 #: ../fish/guestfish.pod:657
20056 msgid "The size in zettabytes (multiplied by 2**70)."
20057 msgstr "Розмір у зетабайтах (у одному зетабайті 2**70 байтів)."
20058
20059 #. type: =item
20060 #: ../fish/guestfish.pod:659
20061 msgid "B<ZB>"
20062 msgstr "B<ZB>"
20063
20064 #. type: textblock
20065 #: ../fish/guestfish.pod:661
20066 msgid "The size in SI 10**21 byte units."
20067 msgstr "Розмір у одиницях СІ: 10**21 байтів."
20068
20069 #. type: =item
20070 #: ../fish/guestfish.pod:663
20071 msgid "B<Y> or B<YiB>"
20072 msgstr "B<Y> або B<YiB>"
20073
20074 #. type: textblock
20075 #: ../fish/guestfish.pod:665
20076 msgid "The size in yottabytes (multiplied by 2**80)."
20077 msgstr "Розмір у йотабайтах (у одному йотабайті 2**80 байтів)."
20078
20079 #. type: =item
20080 #: ../fish/guestfish.pod:667
20081 msgid "B<YB>"
20082 msgstr "B<YB>"
20083
20084 #. type: textblock
20085 #: ../fish/guestfish.pod:669
20086 msgid "The size in SI 10**24 byte units."
20087 msgstr "Розмір у одиницях СІ: 10**24 байтів."
20088
20089 #. type: verbatim
20090 #: ../fish/guestfish.pod:675
20091 #, no-wrap
20092 msgid ""
20093 " truncate-size /file 1G\n"
20094 "\n"
20095 msgstr ""
20096
20097 #. type: textblock
20098 #: ../fish/guestfish.pod:677
20099 msgid "would truncate the file to 1 gigabyte."
20100 msgstr ""
20101
20102 #. type: textblock
20103 #: ../fish/guestfish.pod:679
20104 msgid ""
20105 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
20106 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
20107 "suffix will probably not do what you expect."
20108 msgstr ""
20109
20110 #. type: =head2
20111 #: ../fish/guestfish.pod:683
20112 msgid "OCTAL AND HEXADECIMAL NUMBERS"
20113 msgstr ""
20114
20115 #. type: textblock
20116 #: ../fish/guestfish.pod:685
20117 msgid ""
20118 "For specifying the radix (base) use the C convention: C<0> to prefix an "
20119 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
20120 msgstr ""
20121
20122 #. type: verbatim
20123 #: ../fish/guestfish.pod:688
20124 #, no-wrap
20125 msgid ""
20126 " 1234      decimal number 1234\n"
20127 " 02322     octal number, equivalent to decimal 1234\n"
20128 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
20129 "\n"
20130 msgstr ""
20131
20132 #. type: textblock
20133 #: ../fish/guestfish.pod:692
20134 msgid ""
20135 "When using the C<chmod> command, you almost always want to specify an octal "
20136 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
20137 "L<chmod(1)> program):"
20138 msgstr ""
20139
20140 #. type: verbatim
20141 #: ../fish/guestfish.pod:696
20142 #, no-wrap
20143 msgid ""
20144 " chmod 0777 /public  # OK\n"
20145 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
20146 "\n"
20147 msgstr ""
20148
20149 #. type: textblock
20150 #: ../fish/guestfish.pod:699
20151 msgid ""
20152 "Commands that return numbers usually print them in decimal, but some "
20153 "commands print numbers in other radices (eg. C<umask> prints the mode in "
20154 "octal, preceeded by C<0>)."
20155 msgstr ""
20156
20157 #. type: =head1
20158 #: ../fish/guestfish.pod:703
20159 msgid "WILDCARDS AND GLOBBING"
20160 msgstr ""
20161
20162 #. type: textblock
20163 #: ../fish/guestfish.pod:705
20164 msgid ""
20165 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
20166 "(globbing) by default.  So for example the following will not do what you "
20167 "expect:"
20168 msgstr ""
20169
20170 #. type: verbatim
20171 #: ../fish/guestfish.pod:709
20172 #, no-wrap
20173 msgid ""
20174 " rm-rf /home/*\n"
20175 "\n"
20176 msgstr ""
20177
20178 #. type: textblock
20179 #: ../fish/guestfish.pod:711
20180 msgid ""
20181 "Assuming you don't have a directory called literally C</home/*> then the "
20182 "above command will return an error."
20183 msgstr ""
20184
20185 #. type: textblock
20186 #: ../fish/guestfish.pod:714
20187 msgid "To perform wildcard expansion, use the C<glob> command."
20188 msgstr ""
20189
20190 #. type: verbatim
20191 #: ../fish/guestfish.pod:716
20192 #, no-wrap
20193 msgid ""
20194 " glob rm-rf /home/*\n"
20195 "\n"
20196 msgstr ""
20197
20198 #. type: textblock
20199 #: ../fish/guestfish.pod:718
20200 msgid ""
20201 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
20202 "many times), equivalent to:"
20203 msgstr ""
20204
20205 #. type: verbatim
20206 #: ../fish/guestfish.pod:721
20207 #, no-wrap
20208 msgid ""
20209 " rm-rf /home/jim\n"
20210 " rm-rf /home/joe\n"
20211 " rm-rf /home/mary\n"
20212 "\n"
20213 msgstr ""
20214
20215 #. type: textblock
20216 #: ../fish/guestfish.pod:725
20217 msgid "C<glob> only works on simple guest paths and not on device names."
20218 msgstr ""
20219
20220 #. type: textblock
20221 #: ../fish/guestfish.pod:727
20222 msgid ""
20223 "If you have several parameters, each containing a wildcard, then glob will "
20224 "perform a Cartesian product."
20225 msgstr ""
20226
20227 #. type: =head1
20228 #: ../fish/guestfish.pod:730
20229 msgid "COMMENTS"
20230 msgstr "КОМЕНТАРІ"
20231
20232 #. type: textblock
20233 #: ../fish/guestfish.pod:732
20234 msgid ""
20235 "Any line which starts with a I<#> character is treated as a comment and "
20236 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
20237 "a command.  For example:"
20238 msgstr ""
20239
20240 #. type: verbatim
20241 #: ../fish/guestfish.pod:736
20242 #, no-wrap
20243 msgid ""
20244 " # this is a comment\n"
20245 "         # this is a comment\n"
20246 " foo # NOT a comment\n"
20247 "\n"
20248 msgstr ""
20249
20250 #. type: textblock
20251 #: ../fish/guestfish.pod:740
20252 msgid "Blank lines are also ignored."
20253 msgstr ""
20254
20255 #. type: =head1
20256 #: ../fish/guestfish.pod:742
20257 msgid "RUNNING COMMANDS LOCALLY"
20258 msgstr ""
20259
20260 #. type: textblock
20261 #: ../fish/guestfish.pod:744
20262 msgid ""
20263 "Any line which starts with a I<!> character is treated as a command sent to "
20264 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
20265 msgstr ""
20266
20267 #. type: verbatim
20268 #: ../fish/guestfish.pod:748
20269 #, no-wrap
20270 msgid ""
20271 " !mkdir local\n"
20272 " tgz-out /remote local/remote-data.tar.gz\n"
20273 "\n"
20274 msgstr ""
20275
20276 #. type: textblock
20277 #: ../fish/guestfish.pod:751
20278 msgid ""
20279 "will create a directory C<local> on the host, and then export the contents "
20280 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
20281 "(See C<tgz-out>)."
20282 msgstr ""
20283
20284 #. type: textblock
20285 #: ../fish/guestfish.pod:755
20286 msgid ""
20287 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
20288 "effect, due to the way that subprocesses work in Unix."
20289 msgstr ""
20290
20291 #. type: =head2
20292 #: ../fish/guestfish.pod:758
20293 msgid "LOCAL COMMANDS WITH INLINE EXECUTION"
20294 msgstr ""
20295
20296 #. type: textblock
20297 #: ../fish/guestfish.pod:760
20298 msgid ""
20299 "If a line starts with I<E<lt>!> then the shell command is executed (as for "
20300 "I<!>), but subsequently any output (stdout) of the shell command is parsed "
20301 "and executed as guestfish commands."
20302 msgstr ""
20303
20304 #. type: textblock
20305 #: ../fish/guestfish.pod:764
20306 msgid ""
20307 "Thus you can use shell script to construct arbitrary guestfish commands "
20308 "which are then parsed by guestfish."
20309 msgstr ""
20310
20311 #. type: textblock
20312 #: ../fish/guestfish.pod:767
20313 msgid ""
20314 "For example it is tedious to create a sequence of files (eg. C</foo.1> "
20315 "through C</foo.100>) using guestfish commands alone.  However this is simple "
20316 "if we use a shell script to create the guestfish commands for us:"
20317 msgstr ""
20318
20319 #. type: verbatim
20320 #: ../fish/guestfish.pod:772
20321 #, no-wrap
20322 msgid ""
20323 " <! for n in `seq 1 100`; do echo write /foo.$n $n; done\n"
20324 "\n"
20325 msgstr ""
20326
20327 #. type: textblock
20328 #: ../fish/guestfish.pod:774
20329 msgid "or with names like C</foo.001>:"
20330 msgstr ""
20331
20332 #. type: verbatim
20333 #: ../fish/guestfish.pod:776
20334 #, no-wrap
20335 msgid ""
20336 " <! for n in `seq 1 100`; do printf \"write /foo.%03d %d\\n\" $n $n; done\n"
20337 "\n"
20338 msgstr ""
20339
20340 #. type: textblock
20341 #: ../fish/guestfish.pod:778
20342 msgid ""
20343 "When using guestfish interactively it can be helpful to just run the shell "
20344 "script first (ie. remove the initial C<E<lt>> character so it is just an "
20345 "ordinary I<!> local command), see what guestfish commands it would run, and "
20346 "when you are happy with those prepend the C<E<lt>> character to run the "
20347 "guestfish commands for real."
20348 msgstr ""
20349
20350 #. type: =head1
20351 #: ../fish/guestfish.pod:784
20352 msgid "PIPES"
20353 msgstr "КАНАЛИ"
20354
20355 #. type: textblock
20356 #: ../fish/guestfish.pod:786
20357 msgid ""
20358 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
20359 "command (a guestfish command) to the second command (any host command).  For "
20360 "example:"
20361 msgstr ""
20362
20363 #. type: verbatim
20364 #: ../fish/guestfish.pod:790
20365 #, no-wrap
20366 msgid ""
20367 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
20368 "\n"
20369 msgstr ""
20370
20371 #. type: textblock
20372 #: ../fish/guestfish.pod:792
20373 msgid ""
20374 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
20375 "program).  The above command would list all accounts in the guest filesystem "
20376 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
20377 msgstr ""
20378
20379 #. type: verbatim
20380 #: ../fish/guestfish.pod:797
20381 #, no-wrap
20382 msgid ""
20383 " hexdump /bin/ls | head\n"
20384 " list-devices | tail -1\n"
20385 " tgz-out / - | tar ztf -\n"
20386 "\n"
20387 msgstr ""
20388
20389 #. type: textblock
20390 #: ../fish/guestfish.pod:801
20391 msgid ""
20392 "The space before the pipe symbol is required, any space after the pipe "
20393 "symbol is optional.  Everything after the pipe symbol is just passed "
20394 "straight to the host shell, so it can contain redirections, globs and "
20395 "anything else that makes sense on the host side."
20396 msgstr ""
20397
20398 #. type: textblock
20399 #: ../fish/guestfish.pod:806
20400 msgid ""
20401 "To use a literal argument which begins with a pipe symbol, you have to quote "
20402 "it, eg:"
20403 msgstr ""
20404
20405 #. type: verbatim
20406 #: ../fish/guestfish.pod:809
20407 #, no-wrap
20408 msgid ""
20409 " echo \"|\"\n"
20410 "\n"
20411 msgstr ""
20412
20413 #. type: =head1
20414 #: ../fish/guestfish.pod:811
20415 msgid "HOME DIRECTORIES"
20416 msgstr ""
20417
20418 #. type: textblock
20419 #: ../fish/guestfish.pod:813
20420 msgid ""
20421 "If a parameter starts with the character C<~> then the tilde may be expanded "
20422 "as a home directory path (either C<~> for the current user's home directory, "
20423 "or C<~user> for another user)."
20424 msgstr ""
20425
20426 #. type: textblock
20427 #: ../fish/guestfish.pod:817
20428 msgid ""
20429 "Note that home directory expansion happens for users known I<on the host>, "
20430 "not in the guest filesystem."
20431 msgstr ""
20432
20433 #. type: textblock
20434 #: ../fish/guestfish.pod:820
20435 msgid ""
20436 "To use a literal argument which begins with a tilde, you have to quote it, "
20437 "eg:"
20438 msgstr ""
20439
20440 #. type: verbatim
20441 #: ../fish/guestfish.pod:823
20442 #, no-wrap
20443 msgid ""
20444 " echo \"~\"\n"
20445 "\n"
20446 msgstr ""
20447
20448 #. type: =head2
20449 #: ../fish/guestfish.pod:825 ../src/guestfs.pod:534
20450 msgid "ENCRYPTED DISKS"
20451 msgstr "ЗАШИФРОВАНІ ДИСКИ"
20452
20453 #. type: textblock
20454 #: ../fish/guestfish.pod:827
20455 msgid ""
20456 "Libguestfs has some support for Linux guests encrypted according to the "
20457 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
20458 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
20459 "LUKS is supported."
20460 msgstr ""
20461
20462 #. type: textblock
20463 #: ../fish/guestfish.pod:832
20464 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
20465 msgstr ""
20466
20467 #. type: verbatim
20468 #: ../fish/guestfish.pod:834
20469 #, no-wrap
20470 msgid ""
20471 " ><fs> vfs-type /dev/sda2\n"
20472 " crypto_LUKS\n"
20473 "\n"
20474 msgstr ""
20475
20476 #. type: textblock
20477 #: ../fish/guestfish.pod:837
20478 msgid ""
20479 "Then open those devices using L</luks-open>.  This creates a device-mapper "
20480 "device called C</dev/mapper/luksdev>."
20481 msgstr ""
20482
20483 #. type: verbatim
20484 #: ../fish/guestfish.pod:840
20485 #, no-wrap
20486 msgid ""
20487 " ><fs> luks-open /dev/sda2 luksdev\n"
20488 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
20489 "\n"
20490 msgstr ""
20491
20492 #. type: textblock
20493 #: ../fish/guestfish.pod:843
20494 msgid ""
20495 "Finally you have to tell LVM to scan for volume groups on the newly created "
20496 "mapper device:"
20497 msgstr ""
20498
20499 #. type: verbatim
20500 #: ../fish/guestfish.pod:846
20501 #, no-wrap
20502 msgid ""
20503 " vgscan\n"
20504 " vg-activate-all true\n"
20505 "\n"
20506 msgstr ""
20507
20508 #. type: textblock
20509 #: ../fish/guestfish.pod:849
20510 msgid "The logical volume(s) can now be mounted in the usual way."
20511 msgstr ""
20512
20513 #. type: textblock
20514 #: ../fish/guestfish.pod:851
20515 msgid ""
20516 "Before closing a LUKS device you must unmount any logical volumes on it and "
20517 "deactivate the volume groups by calling C<vg-activate false VG> on each "
20518 "one.  Then you can close the mapper device:"
20519 msgstr ""
20520
20521 #. type: verbatim
20522 #: ../fish/guestfish.pod:855
20523 #, no-wrap
20524 msgid ""
20525 " vg-activate false /dev/VG\n"
20526 " luks-close /dev/mapper/luksdev\n"
20527 "\n"
20528 msgstr ""
20529
20530 #. type: textblock
20531 #: ../fish/guestfish.pod:860
20532 msgid ""
20533 "If a path is prefixed with C<win:> then you can use Windows-style drive "
20534 "letters and paths (with some limitations).  The following commands are "
20535 "equivalent:"
20536 msgstr ""
20537
20538 #. type: verbatim
20539 #: ../fish/guestfish.pod:864
20540 #, no-wrap
20541 msgid ""
20542 " file /WINDOWS/system32/config/system.LOG\n"
20543 "\n"
20544 msgstr ""
20545
20546 #. type: verbatim
20547 #: ../fish/guestfish.pod:866
20548 #, no-wrap
20549 msgid ""
20550 " file win:\\windows\\system32\\config\\system.log\n"
20551 "\n"
20552 msgstr ""
20553
20554 #. type: verbatim
20555 #: ../fish/guestfish.pod:868
20556 #, no-wrap
20557 msgid ""
20558 " file WIN:C:\\Windows\\SYSTEM32\\CONFIG\\SYSTEM.LOG\n"
20559 "\n"
20560 msgstr ""
20561
20562 #. type: textblock
20563 #: ../fish/guestfish.pod:870
20564 msgid ""
20565 "The parameter is rewritten \"behind the scenes\" by looking up the position "
20566 "where the drive is mounted, prepending that to the path, changing all "
20567 "backslash characters to forward slash, then resolving the result using L</"
20568 "case-sensitive-path>.  For example if the E: drive was mounted on C</e> then "
20569 "the parameter might be rewritten like this:"
20570 msgstr ""
20571
20572 #. type: verbatim
20573 #: ../fish/guestfish.pod:876
20574 #, no-wrap
20575 msgid ""
20576 " win:e:\\foo\\bar => /e/FOO/bar\n"
20577 "\n"
20578 msgstr ""
20579
20580 #. type: textblock
20581 #: ../fish/guestfish.pod:878
20582 msgid "This only works in argument positions that expect a path."
20583 msgstr ""
20584
20585 #. type: =head1
20586 #: ../fish/guestfish.pod:880
20587 msgid "UPLOADING AND DOWNLOADING FILES"
20588 msgstr ""
20589
20590 #. type: textblock
20591 #: ../fish/guestfish.pod:882
20592 msgid ""
20593 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
20594 "others which upload from or download to a local file, you can use the "
20595 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
20596 msgstr ""
20597
20598 #. type: verbatim
20599 #: ../fish/guestfish.pod:886
20600 #, no-wrap
20601 msgid ""
20602 " upload - /foo\n"
20603 "\n"
20604 msgstr ""
20605
20606 #. type: textblock
20607 #: ../fish/guestfish.pod:888
20608 msgid ""
20609 "reads stdin and creates from that a file C</foo> in the disk image, and:"
20610 msgstr ""
20611
20612 #. type: verbatim
20613 #: ../fish/guestfish.pod:891
20614 #, no-wrap
20615 msgid ""
20616 " tar-out /etc - | tar tf -\n"
20617 "\n"
20618 msgstr ""
20619
20620 #. type: textblock
20621 #: ../fish/guestfish.pod:893
20622 msgid ""
20623 "writes the tarball to stdout and then pipes that into the external \"tar\" "
20624 "command (see L</PIPES>)."
20625 msgstr ""
20626
20627 #. type: textblock
20628 #: ../fish/guestfish.pod:896
20629 msgid ""
20630 "When using C<-> to read from stdin, the input is read up to the end of "
20631 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
20632 "some arbitrary end marker:"
20633 msgstr ""
20634
20635 #. type: verbatim
20636 #: ../fish/guestfish.pod:900
20637 #, no-wrap
20638 msgid ""
20639 " upload -<<END /foo\n"
20640 " input line 1\n"
20641 " input line 2\n"
20642 " input line 3\n"
20643 " END\n"
20644 "\n"
20645 msgstr ""
20646
20647 #. type: textblock
20648 #: ../fish/guestfish.pod:906
20649 msgid ""
20650 "Any string of characters can be used instead of C<END>.  The end marker must "
20651 "appear on a line of its own, without any preceeding or following characters "
20652 "(not even spaces)."
20653 msgstr ""
20654
20655 #. type: textblock
20656 #: ../fish/guestfish.pod:910
20657 msgid ""
20658 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
20659 "upload local files (so-called \"FileIn\" parameters in the generator)."
20660 msgstr ""
20661
20662 #. type: =head1
20663 #: ../fish/guestfish.pod:913
20664 msgid "EXIT ON ERROR BEHAVIOUR"
20665 msgstr ""
20666
20667 #. type: textblock
20668 #: ../fish/guestfish.pod:915
20669 msgid ""
20670 "By default, guestfish will ignore any errors when in interactive mode (ie. "
20671 "taking commands from a human over a tty), and will exit on the first error "
20672 "in non-interactive mode (scripts, commands given on the command line)."
20673 msgstr ""
20674
20675 #. type: textblock
20676 #: ../fish/guestfish.pod:920
20677 msgid ""
20678 "If you prefix a command with a I<-> character, then that command will not "
20679 "cause guestfish to exit, even if that (one) command returns an error."
20680 msgstr ""
20681
20682 #. type: =head1
20683 #: ../fish/guestfish.pod:924
20684 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
20685 msgstr ""
20686
20687 #. type: textblock
20688 #: ../fish/guestfish.pod:926
20689 msgid ""
20690 "Guestfish can be remote-controlled over a socket.  This is useful "
20691 "particularly in shell scripts where you want to make several different "
20692 "changes to a filesystem, but you don't want the overhead of starting up a "
20693 "guestfish process each time."
20694 msgstr ""
20695
20696 #. type: textblock
20697 #: ../fish/guestfish.pod:931
20698 msgid "Start a guestfish server process using:"
20699 msgstr ""
20700
20701 #. type: verbatim
20702 #: ../fish/guestfish.pod:933
20703 #, no-wrap
20704 msgid ""
20705 " eval \"`guestfish --listen`\"\n"
20706 "\n"
20707 msgstr ""
20708
20709 #. type: textblock
20710 #: ../fish/guestfish.pod:935
20711 msgid "and then send it commands by doing:"
20712 msgstr ""
20713
20714 #. type: verbatim
20715 #: ../fish/guestfish.pod:937
20716 #, no-wrap
20717 msgid ""
20718 " guestfish --remote cmd [...]\n"
20719 "\n"
20720 msgstr ""
20721
20722 #. type: textblock
20723 #: ../fish/guestfish.pod:939
20724 msgid "To cause the server to exit, send it the exit command:"
20725 msgstr ""
20726
20727 #. type: textblock
20728 #: ../fish/guestfish.pod:943
20729 msgid ""
20730 "Note that the server will normally exit if there is an error in a command.  "
20731 "You can change this in the usual way.  See section L</EXIT ON ERROR "
20732 "BEHAVIOUR>."
20733 msgstr ""
20734
20735 #. type: =head2
20736 #: ../fish/guestfish.pod:947
20737 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
20738 msgstr ""
20739
20740 #. type: textblock
20741 #: ../fish/guestfish.pod:949
20742 msgid ""
20743 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
20744 "is how the I<--remote> option knows where to send the commands.  You can "
20745 "have several guestfish listener processes running using:"
20746 msgstr ""
20747
20748 #. type: verbatim
20749 #: ../fish/guestfish.pod:953
20750 #, no-wrap
20751 msgid ""
20752 " eval \"`guestfish --listen`\"\n"
20753 " pid1=$GUESTFISH_PID\n"
20754 " eval \"`guestfish --listen`\"\n"
20755 " pid2=$GUESTFISH_PID\n"
20756 " ...\n"
20757 " guestfish --remote=$pid1 cmd\n"
20758 " guestfish --remote=$pid2 cmd\n"
20759 "\n"
20760 msgstr ""
20761
20762 #. type: =head2
20763 #: ../fish/guestfish.pod:961
20764 msgid "REMOTE CONTROL AND CSH"
20765 msgstr ""
20766
20767 #. type: textblock
20768 #: ../fish/guestfish.pod:963
20769 msgid ""
20770 "When using csh-like shells (csh, tcsh etc) you have to add the I<--csh> "
20771 "option:"
20772 msgstr ""
20773
20774 #. type: verbatim
20775 #: ../fish/guestfish.pod:966
20776 #, no-wrap
20777 msgid ""
20778 " eval \"`guestfish --listen --csh`\"\n"
20779 "\n"
20780 msgstr ""
20781
20782 #. type: =head2
20783 #: ../fish/guestfish.pod:968
20784 msgid "REMOTE CONTROL DETAILS"
20785 msgstr ""
20786
20787 #. type: textblock
20788 #: ../fish/guestfish.pod:970
20789 msgid ""
20790 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
20791 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
20792 "and C<$PID> is the process ID of the server."
20793 msgstr ""
20794
20795 #. type: textblock
20796 #: ../fish/guestfish.pod:974
20797 msgid "Guestfish client and server versions must match exactly."
20798 msgstr ""
20799
20800 #. type: =head2
20801 #: ../fish/guestfish.pod:976
20802 msgid "USING REMOTE CONTROL ROBUSTLY FROM SHELL SCRIPTS"
20803 msgstr ""
20804
20805 #. type: textblock
20806 #: ../fish/guestfish.pod:978
20807 msgid ""
20808 "From Bash, you can use the following code which creates a guestfish "
20809 "instance, correctly quotes the command line, handles failure to start, and "
20810 "cleans up guestfish when the script exits:"
20811 msgstr ""
20812
20813 #. type: verbatim
20814 #: ../fish/guestfish.pod:982 ../src/guestfs.pod:980
20815 #, no-wrap
20816 msgid ""
20817 " #!/bin/bash -\n"
20818 " \n"
20819 msgstr ""
20820
20821 #. type: verbatim
20822 #: ../fish/guestfish.pod:986
20823 #, no-wrap
20824 msgid ""
20825 " guestfish[0]=\"guestfish\"\n"
20826 " guestfish[1]=\"--listen\"\n"
20827 " guestfish[2]=\"--ro\"\n"
20828 " guestfish[3]=\"-a\"\n"
20829 " guestfish[4]=\"disk.img\"\n"
20830 " \n"
20831 msgstr ""
20832
20833 #. type: verbatim
20834 #: ../fish/guestfish.pod:992
20835 #, no-wrap
20836 msgid ""
20837 " GUESTFISH_PID=\n"
20838 " eval $(\"${guestfish[@]}\")\n"
20839 " if [ -z \"$GUESTFISH_PID\" ]; then\n"
20840 "     echo \"error: guestfish didn't start up, see error messages above\"\n"
20841 "     exit 1\n"
20842 " fi\n"
20843 " \n"
20844 msgstr ""
20845
20846 #. type: verbatim
20847 #: ../fish/guestfish.pod:999
20848 #, no-wrap
20849 msgid ""
20850 " cleanup_guestfish ()\n"
20851 " {\n"
20852 "     guestfish --remote -- exit >/dev/null 2>&1 ||:\n"
20853 " }\n"
20854 " trap cleanup_guestfish EXIT ERR\n"
20855 " \n"
20856 msgstr ""
20857
20858 #. type: verbatim
20859 #: ../fish/guestfish.pod:1005
20860 #, no-wrap
20861 msgid ""
20862 " guestfish --remote -- run\n"
20863 " \n"
20864 msgstr ""
20865
20866 #. type: verbatim
20867 #: ../fish/guestfish.pod:1007
20868 #, no-wrap
20869 msgid ""
20870 " # ...\n"
20871 "\n"
20872 msgstr ""
20873
20874 #. type: =head2
20875 #: ../fish/guestfish.pod:1009
20876 msgid "REMOTE CONTROL RUN COMMAND HANGING"
20877 msgstr ""
20878
20879 #. type: textblock
20880 #: ../fish/guestfish.pod:1011
20881 msgid ""
20882 "Using the C<run> (or C<launch>) command remotely in a command substitution "
20883 "context hangs, ie. don't do (note the backquotes):"
20884 msgstr ""
20885
20886 #. type: verbatim
20887 #: ../fish/guestfish.pod:1014
20888 #, no-wrap
20889 msgid ""
20890 " a=`guestfish --remote run`\n"
20891 "\n"
20892 msgstr ""
20893
20894 #. type: textblock
20895 #: ../fish/guestfish.pod:1016
20896 msgid ""
20897 "Since the C<run> command produces no output on stdout, this is not useful "
20898 "anyway.  For further information see L<https://bugzilla.redhat.com/show_bug."
20899 "cgi?id=592910>."
20900 msgstr ""
20901
20902 #. type: =head1
20903 #: ../fish/guestfish.pod:1020
20904 msgid "PREPARED DISK IMAGES"
20905 msgstr ""
20906
20907 #. type: textblock
20908 #: ../fish/guestfish.pod:1022
20909 msgid ""
20910 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
20911 "preformatted disk images that guestfish can make for you to save typing.  "
20912 "This is particularly useful for testing purposes.  This option is used "
20913 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
20914 "can be mixed with I<-a>)."
20915 msgstr ""
20916
20917 #. type: textblock
20918 #: ../fish/guestfish.pod:1028
20919 msgid ""
20920 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
20921 "the second and so on.  Existing files in the current directory are "
20922 "I<overwritten>."
20923 msgstr ""
20924
20925 #. type: textblock
20926 #: ../fish/guestfish.pod:1032
20927 msgid ""
20928 "The type briefly describes how the disk should be sized, partitioned, how "
20929 "filesystem(s) should be created, and how content should be added.  "
20930 "Optionally the type can be followed by extra parameters, separated by C<:> "
20931 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
20932 "allocated disk, containing a single partition, with the partition formatted "
20933 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
20934 "disk instead."
20935 msgstr ""
20936
20937 #. type: textblock
20938 #: ../fish/guestfish.pod:1040
20939 msgid "To list the available types and any extra parameters they take, run:"
20940 msgstr ""
20941
20942 #. type: textblock
20943 #: ../fish/guestfish.pod:1044
20944 msgid ""
20945 "Note that the prepared filesystem is not mounted.  You would usually have to "
20946 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
20947 msgstr ""
20948
20949 #. type: textblock
20950 #: ../fish/guestfish.pod:1048
20951 msgid ""
20952 "If any I<-N> or I<--new> options are given, the guest is automatically "
20953 "launched."
20954 msgstr ""
20955
20956 #. type: textblock
20957 #: ../fish/guestfish.pod:1053
20958 msgid "Create a 100MB disk with an ext4-formatted partition:"
20959 msgstr ""
20960
20961 #. type: verbatim
20962 #: ../fish/guestfish.pod:1055
20963 #, no-wrap
20964 msgid ""
20965 " guestfish -N fs:ext4\n"
20966 "\n"
20967 msgstr ""
20968
20969 #. type: textblock
20970 #: ../fish/guestfish.pod:1057
20971 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
20972 msgstr ""
20973
20974 #. type: verbatim
20975 #: ../fish/guestfish.pod:1059
20976 #, no-wrap
20977 msgid ""
20978 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
20979 "\n"
20980 msgstr ""
20981
20982 #. type: textblock
20983 #: ../fish/guestfish.pod:1061
20984 msgid "Create a blank 200MB disk:"
20985 msgstr ""
20986
20987 #. type: verbatim
20988 #: ../fish/guestfish.pod:1063
20989 #, no-wrap
20990 msgid ""
20991 " guestfish -N disk:200M\n"
20992 "\n"
20993 msgstr ""
20994
20995 #. type: =head1
20996 #: ../fish/guestfish.pod:1065
20997 msgid "PROGRESS BARS"
20998 msgstr ""
20999
21000 #. type: textblock
21001 #: ../fish/guestfish.pod:1067
21002 msgid ""
21003 "Some (not all) long-running commands send progress notification messages as "
21004 "they are running.  Guestfish turns these messages into progress bars."
21005 msgstr ""
21006
21007 #. type: textblock
21008 #: ../fish/guestfish.pod:1071
21009 msgid ""
21010 "When a command that supports progress bars takes longer than two seconds to "
21011 "run, and if progress bars are enabled, then you will see one appearing below "
21012 "the command:"
21013 msgstr ""
21014
21015 #. type: verbatim
21016 #: ../fish/guestfish.pod:1075
21017 #, no-wrap
21018 msgid ""
21019 " ><fs> copy-size /large-file /another-file 2048M\n"
21020 " / 10% [#####-----------------------------------------] 00:30\n"
21021 "\n"
21022 msgstr ""
21023
21024 #. type: textblock
21025 #: ../fish/guestfish.pod:1078
21026 msgid ""
21027 "The spinner on the left hand side moves round once for every progress "
21028 "notification received from the backend.  This is a (reasonably) golden "
21029 "assurance that the command is \"doing something\" even if the progress bar "
21030 "is not moving, because the command is able to send the progress "
21031 "notifications.  When the bar reaches 100% and the command finishes, the "
21032 "spinner disappears."
21033 msgstr ""
21034
21035 #. type: textblock
21036 #: ../fish/guestfish.pod:1085
21037 msgid ""
21038 "Progress bars are enabled by default when guestfish is used interactively.  "
21039 "You can enable them even for non-interactive modes using I<--progress-bars>, "
21040 "and you can disable them completely using I<--no-progress-bars>."
21041 msgstr ""
21042
21043 #. type: =head1
21044 #: ../fish/guestfish.pod:1090
21045 msgid "GUESTFISH COMMANDS"
21046 msgstr ""
21047
21048 #. type: textblock
21049 #: ../fish/guestfish.pod:1092
21050 msgid ""
21051 "The commands in this section are guestfish convenience commands, in other "
21052 "words, they are not part of the L<guestfs(3)> API."
21053 msgstr ""
21054
21055 #. type: =head2
21056 #: ../fish/guestfish.pod:1095
21057 msgid "help"
21058 msgstr "help"
21059
21060 #. type: verbatim
21061 #: ../fish/guestfish.pod:1097
21062 #, no-wrap
21063 msgid ""
21064 " help\n"
21065 " help cmd\n"
21066 "\n"
21067 msgstr ""
21068 " help\n"
21069 " help команда\n"
21070 "\n"
21071
21072 #. type: textblock
21073 #: ../fish/guestfish.pod:1100
21074 msgid "Without any parameter, this provides general help."
21075 msgstr "Без параметра показує загальну довідкову інформацію."
21076
21077 #. type: textblock
21078 #: ../fish/guestfish.pod:1102
21079 msgid "With a C<cmd> parameter, this displays detailed help for that command."
21080 msgstr ""
21081
21082 #. type: =head2
21083 #: ../fish/guestfish.pod:1104
21084 msgid "quit | exit"
21085 msgstr ""
21086
21087 #. type: textblock
21088 #: ../fish/guestfish.pod:1106
21089 msgid "This exits guestfish.  You can also use C<^D> key."
21090 msgstr ""
21091
21092 #. type: textblock
21093 #: ../fish/guestfish.pod:1108
21094 msgid "@FISH_COMMANDS@"
21095 msgstr ""
21096
21097 #. type: =head1
21098 #: ../fish/guestfish.pod:1110
21099 msgid "COMMANDS"
21100 msgstr "КОМАНДИ"
21101
21102 #. type: textblock
21103 #: ../fish/guestfish.pod:1112 ../src/guestfs.pod:1520
21104 msgid "@ACTIONS@"
21105 msgstr "@ACTIONS@"
21106
21107 #. type: textblock
21108 #: ../fish/guestfish.pod:1116
21109 msgid ""
21110 "guestfish returns 0 if the commands completed without error, or 1 if there "
21111 "was an error."
21112 msgstr ""
21113
21114 #. type: =item
21115 #: ../fish/guestfish.pod:1123
21116 msgid "EDITOR"
21117 msgstr "РЕДАКТОР"
21118
21119 #. type: textblock
21120 #: ../fish/guestfish.pod:1125
21121 msgid ""
21122 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
21123 "C<vi>."
21124 msgstr ""
21125
21126 #. type: =item
21127 #: ../fish/guestfish.pod:1128 ../src/guestfs.pod:3213
21128 msgid "FEBOOTSTRAP_KERNEL"
21129 msgstr ""
21130
21131 #. type: =item
21132 #: ../fish/guestfish.pod:1130 ../src/guestfs.pod:3215
21133 msgid "FEBOOTSTRAP_MODULES"
21134 msgstr ""
21135
21136 #. type: textblock
21137 #: ../fish/guestfish.pod:1132 ../src/guestfs.pod:3217
21138 msgid ""
21139 "These two environment variables allow the kernel that libguestfs uses in the "
21140 "appliance to be selected.  If C<$FEBOOTSTRAP_KERNEL> is not set, then the "
21141 "most recent host kernel is chosen.  For more information about kernel "
21142 "selection, see L<febootstrap-supermin-helper(8)>.  This feature is only "
21143 "available in febootstrap E<ge> 3.8."
21144 msgstr ""
21145
21146 #. type: =item
21147 #: ../fish/guestfish.pod:1138
21148 msgid "GUESTFISH_DISPLAY_IMAGE"
21149 msgstr ""
21150
21151 #. type: textblock
21152 #: ../fish/guestfish.pod:1140
21153 msgid ""
21154 "The C<display> command uses C<$GUESTFISH_DISPLAY_IMAGE> to display images.  "
21155 "If not set, it uses L<display(1)>."
21156 msgstr ""
21157
21158 #. type: =item
21159 #: ../fish/guestfish.pod:1143
21160 msgid "GUESTFISH_PID"
21161 msgstr ""
21162
21163 #. type: textblock
21164 #: ../fish/guestfish.pod:1145
21165 msgid ""
21166 "Used with the I<--remote> option to specify the remote guestfish process to "
21167 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
21168 msgstr ""
21169
21170 #. type: =item
21171 #: ../fish/guestfish.pod:1149
21172 msgid "HEXEDITOR"
21173 msgstr ""
21174
21175 #. type: textblock
21176 #: ../fish/guestfish.pod:1151
21177 msgid ""
21178 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
21179 "not specified, the external L<hexedit(1)> program is used."
21180 msgstr ""
21181
21182 #. type: =item
21183 #: ../fish/guestfish.pod:1155
21184 msgid "HOME"
21185 msgstr "ДОМІВКА"
21186
21187 #. type: textblock
21188 #: ../fish/guestfish.pod:1157
21189 msgid ""
21190 "If compiled with GNU readline support, various files in the home directory "
21191 "can be used.  See L</FILES>."
21192 msgstr ""
21193
21194 #. type: =item
21195 #: ../fish/guestfish.pod:1160 ../src/guestfs.pod:3223
21196 msgid "LIBGUESTFS_APPEND"
21197 msgstr ""
21198
21199 #. type: textblock
21200 #: ../fish/guestfish.pod:1162 ../src/guestfs.pod:3225
21201 msgid "Pass additional options to the guest kernel."
21202 msgstr ""
21203
21204 #. type: =item
21205 #: ../fish/guestfish.pod:1164 ../src/guestfs.pod:3227
21206 msgid "LIBGUESTFS_DEBUG"
21207 msgstr "LIBGUESTFS_DEBUG"
21208
21209 #. type: textblock
21210 #: ../fish/guestfish.pod:1166
21211 msgid ""
21212 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
21213 "effect as using the B<-v> option."
21214 msgstr ""
21215
21216 #. type: =item
21217 #: ../fish/guestfish.pod:1169 ../src/guestfs.pod:3232
21218 msgid "LIBGUESTFS_MEMSIZE"
21219 msgstr "LIBGUESTFS_MEMSIZE"
21220
21221 #. type: textblock
21222 #: ../fish/guestfish.pod:1171 ../src/guestfs.pod:3234
21223 msgid ""
21224 "Set the memory allocated to the qemu process, in megabytes.  For example:"
21225 msgstr ""
21226
21227 #. type: verbatim
21228 #: ../fish/guestfish.pod:1174 ../src/guestfs.pod:3237
21229 #, no-wrap
21230 msgid ""
21231 " LIBGUESTFS_MEMSIZE=700\n"
21232 "\n"
21233 msgstr ""
21234 " LIBGUESTFS_MEMSIZE=700\n"
21235 "\n"
21236
21237 #. type: =item
21238 #: ../fish/guestfish.pod:1176 ../src/guestfs.pod:3239
21239 msgid "LIBGUESTFS_PATH"
21240 msgstr ""
21241
21242 #. type: textblock
21243 #: ../fish/guestfish.pod:1178
21244 msgid ""
21245 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
21246 "the discussion of paths in L<guestfs(3)>."
21247 msgstr ""
21248
21249 #. type: =item
21250 #: ../fish/guestfish.pod:1181 ../src/guestfs.pod:3244
21251 msgid "LIBGUESTFS_QEMU"
21252 msgstr ""
21253
21254 #. type: textblock
21255 #: ../fish/guestfish.pod:1183 ../src/guestfs.pod:3246
21256 msgid ""
21257 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
21258 "which was found at compile time by the configure script is used."
21259 msgstr ""
21260
21261 #. type: =item
21262 #: ../fish/guestfish.pod:1187 ../src/guestfs.pod:3252
21263 msgid "LIBGUESTFS_TRACE"
21264 msgstr ""
21265
21266 #. type: textblock
21267 #: ../fish/guestfish.pod:1189
21268 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
21269 msgstr ""
21270
21271 #. type: =item
21272 #: ../fish/guestfish.pod:1191
21273 msgid "PAGER"
21274 msgstr "РОЗБИТТЯ НА СТОРІНКИ"
21275
21276 #. type: textblock
21277 #: ../fish/guestfish.pod:1193
21278 msgid ""
21279 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
21280 "C<more>."
21281 msgstr ""
21282
21283 #. type: =item
21284 #: ../fish/guestfish.pod:1196 ../sparsify/virt-sparsify.pod:236
21285 #: ../src/guestfs.pod:3257
21286 msgid "TMPDIR"
21287 msgstr ""
21288
21289 #. type: textblock
21290 #: ../fish/guestfish.pod:1198 ../src/guestfs.pod:3259
21291 msgid ""
21292 "Location of temporary directory, defaults to C</tmp> except for the cached "
21293 "supermin appliance which defaults to C</var/tmp>."
21294 msgstr ""
21295
21296 #. type: textblock
21297 #: ../fish/guestfish.pod:1201 ../src/guestfs.pod:3262
21298 msgid ""
21299 "If libguestfs was compiled to use the supermin appliance then the real "
21300 "appliance is cached in this directory, shared between all handles belonging "
21301 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
21302 "use in case C</var/tmp> is not large enough."
21303 msgstr ""
21304
21305 #. type: =head1
21306 #: ../fish/guestfish.pod:1209 ../fuse/guestmount.pod:297
21307 #: ../rescue/virt-rescue.pod:273
21308 msgid "FILES"
21309 msgstr "ФАЙЛИ"
21310
21311 #. type: =item
21312 #: ../fish/guestfish.pod:1213 ../fuse/guestmount.pod:301
21313 #: ../rescue/virt-rescue.pod:277
21314 msgid "$HOME/.libguestfs-tools.rc"
21315 msgstr ""
21316
21317 #. type: =item
21318 #: ../fish/guestfish.pod:1215 ../fuse/guestmount.pod:303
21319 #: ../rescue/virt-rescue.pod:279
21320 msgid "/etc/libguestfs-tools.conf"
21321 msgstr ""
21322
21323 #. type: textblock
21324 #: ../fish/guestfish.pod:1217 ../fuse/guestmount.pod:305
21325 #: ../rescue/virt-rescue.pod:281
21326 msgid ""
21327 "This configuration file controls the default read-only or read-write mode "
21328 "(I<--ro> or I<--rw>)."
21329 msgstr ""
21330
21331 #. type: textblock
21332 #: ../fish/guestfish.pod:1220
21333 msgid "See L</OPENING DISKS FOR READ AND WRITE>."
21334 msgstr "Див. L</OPENING DISKS FOR READ AND WRITE>."
21335
21336 #. type: =item
21337 #: ../fish/guestfish.pod:1222
21338 msgid "$HOME/.guestfish"
21339 msgstr ""
21340
21341 #. type: textblock
21342 #: ../fish/guestfish.pod:1224
21343 msgid ""
21344 "If compiled with GNU readline support, then the command history is saved in "
21345 "this file."
21346 msgstr ""
21347
21348 #. type: =item
21349 #: ../fish/guestfish.pod:1227
21350 msgid "$HOME/.inputrc"
21351 msgstr ""
21352
21353 #. type: =item
21354 #: ../fish/guestfish.pod:1229
21355 msgid "/etc/inputrc"
21356 msgstr ""
21357
21358 #. type: textblock
21359 #: ../fish/guestfish.pod:1231
21360 msgid ""
21361 "If compiled with GNU readline support, then these files can be used to "
21362 "configure readline.  For further information, please see L<readline(3)/"
21363 "INITIALIZATION FILE>."
21364 msgstr ""
21365
21366 #. type: textblock
21367 #: ../fish/guestfish.pod:1235
21368 msgid "To write rules which only apply to guestfish, use:"
21369 msgstr ""
21370
21371 #. type: verbatim
21372 #: ../fish/guestfish.pod:1237
21373 #, no-wrap
21374 msgid ""
21375 " $if guestfish\n"
21376 " ...\n"
21377 " $endif\n"
21378 "\n"
21379 msgstr ""
21380
21381 #. type: textblock
21382 #: ../fish/guestfish.pod:1241
21383 msgid ""
21384 "Variables that you can set in inputrc that change the behaviour of guestfish "
21385 "in useful ways include:"
21386 msgstr ""
21387
21388 #. type: =item
21389 #: ../fish/guestfish.pod:1246
21390 msgid "completion-ignore-case (default: on)"
21391 msgstr ""
21392
21393 #. type: textblock
21394 #: ../fish/guestfish.pod:1248
21395 msgid ""
21396 "By default, guestfish will ignore case when tab-completing paths on the "
21397 "disk.  Use:"
21398 msgstr ""
21399
21400 #. type: verbatim
21401 #: ../fish/guestfish.pod:1251
21402 #, no-wrap
21403 msgid ""
21404 " set completion-ignore-case off\n"
21405 "\n"
21406 msgstr ""
21407
21408 #. type: textblock
21409 #: ../fish/guestfish.pod:1253
21410 msgid "to make guestfish case sensitive."
21411 msgstr ""
21412
21413 #. type: =item
21414 #: ../fish/guestfish.pod:1257
21415 msgid "test1.img"
21416 msgstr ""
21417
21418 #. type: =item
21419 #: ../fish/guestfish.pod:1259
21420 msgid "test2.img (etc)"
21421 msgstr ""
21422
21423 #. type: textblock
21424 #: ../fish/guestfish.pod:1261
21425 msgid ""
21426 "When using the I<-N> or I<--new> option, the prepared disk or filesystem "
21427 "will be created in the file C<test1.img> in the current directory.  The "
21428 "second use of I<-N> will use C<test2.img> and so on.  Any existing file with "
21429 "the same name will be overwritten."
21430 msgstr ""
21431
21432 #. type: textblock
21433 #: ../fish/guestfish.pod:1270
21434 msgid ""
21435 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-alignment-scan(1)>, L<virt-"
21436 "cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit"
21437 "(1)>, L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-filesystems"
21438 "(1)>, L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-"
21439 "rescue(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-sysprep(1)>, "
21440 "L<virt-tar(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)>, "
21441 "L<display(1)>, L<hexedit(1)>, L<febootstrap-supermin-helper(8)>."
21442 msgstr ""
21443
21444 #. type: textblock
21445 #: ../fish/guestfish.pod:1302 ../src/guestfs.pod:3354
21446 #: ../test-tool/libguestfs-test-tool.pod:112
21447 msgid "Copyright (C) 2009-2011 Red Hat Inc.  L<http://libguestfs.org/>"
21448 msgstr ""
21449
21450 #. type: textblock
21451 #: ../fish/virt-copy-in.pod:5
21452 msgid ""
21453 "virt-copy-in - Copy files and directories into a virtual machine disk image."
21454 msgstr ""
21455
21456 #. type: verbatim
21457 #: ../fish/virt-copy-in.pod:9
21458 #, no-wrap
21459 msgid ""
21460 " virt-copy-in -a disk.img file|dir [file|dir ...] /destination\n"
21461 "\n"
21462 msgstr ""
21463
21464 #. type: verbatim
21465 #: ../fish/virt-copy-in.pod:11
21466 #, no-wrap
21467 msgid ""
21468 " virt-copy-in -d domain file|dir [file|dir ...] /destination\n"
21469 "\n"
21470 msgstr ""
21471
21472 #. type: textblock
21473 #: ../fish/virt-copy-in.pod:15
21474 msgid ""
21475 "Using C<virt-copy-in> on live virtual machines can be dangerous, potentially "
21476 "causing disk corruption.  The virtual machine must be shut down before you "
21477 "use this command."
21478 msgstr ""
21479
21480 #. type: textblock
21481 #: ../fish/virt-copy-in.pod:21
21482 msgid ""
21483 "C<virt-copy-in> copies files and directories from the local disk into a "
21484 "virtual machine disk image or named libvirt domain."
21485 msgstr ""
21486
21487 #. type: textblock
21488 #: ../fish/virt-copy-in.pod:24
21489 msgid ""
21490 "You can give one of more filenames and directories on the command line.  "
21491 "Directories are copied in recursively.  The final parameter must be the "
21492 "destination directory in the disk image which must be an absolute path "
21493 "starting with a C</> character."
21494 msgstr ""
21495
21496 #. type: verbatim
21497 #: ../fish/virt-copy-in.pod:33
21498 #, no-wrap
21499 msgid ""
21500 " virt-copy-in -d MyGuest resolv.conf /etc\n"
21501 "\n"
21502 msgstr ""
21503
21504 #. type: textblock
21505 #: ../fish/virt-copy-in.pod:35 ../fish/virt-tar-in.pod:32
21506 msgid "Upload a home directory to a guest:"
21507 msgstr ""
21508
21509 #. type: verbatim
21510 #: ../fish/virt-copy-in.pod:37
21511 #, no-wrap
21512 msgid ""
21513 " virt-copy-in -d MyGuest skel /home\n"
21514 "\n"
21515 msgstr ""
21516
21517 #. type: =head1
21518 #: ../fish/virt-copy-in.pod:39 ../fish/virt-copy-out.pod:28
21519 #: ../fish/virt-tar-in.pod:36 ../fish/virt-tar-out.pod:30
21520 msgid "JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH"
21521 msgstr ""
21522
21523 #. type: textblock
21524 #: ../fish/virt-copy-in.pod:41
21525 msgid ""
21526 "This command is just a simple shell script wrapper around the L<guestfish(1)"
21527 "> C<copy-in> command.  For anything more complex than a trivial copy, you "
21528 "are probably better off using guestfish directly."
21529 msgstr ""
21530
21531 #. type: textblock
21532 #: ../fish/virt-copy-in.pod:47 ../fish/virt-copy-out.pod:36
21533 #: ../fish/virt-tar-in.pod:44 ../fish/virt-tar-out.pod:38
21534 msgid ""
21535 "Since the shell script just passes options straight to guestfish, read "
21536 "L<guestfish(1)> to see the full list of options."
21537 msgstr ""
21538
21539 #. type: textblock
21540 #: ../fish/virt-copy-in.pod:52
21541 msgid ""
21542 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-out(1)>, L<virt-edit(1)>, "
21543 "L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
21544 msgstr ""
21545
21546 #. type: textblock
21547 #: ../fish/virt-copy-in.pod:66 ../fish/virt-copy-out.pod:55
21548 #: ../fish/virt-tar-in.pod:64 ../fish/virt-tar-out.pod:57
21549 msgid "Copyright (C) 2011 Red Hat Inc.  L<http://libguestfs.org/>"
21550 msgstr ""
21551
21552 #. type: textblock
21553 #: ../fish/virt-copy-out.pod:5
21554 msgid ""
21555 "virt-copy-out - Copy files and directories out of a virtual machine disk "
21556 "image."
21557 msgstr ""
21558
21559 #. type: verbatim
21560 #: ../fish/virt-copy-out.pod:9
21561 #, no-wrap
21562 msgid ""
21563 " virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir\n"
21564 "\n"
21565 msgstr ""
21566
21567 #. type: verbatim
21568 #: ../fish/virt-copy-out.pod:11
21569 #, no-wrap
21570 msgid ""
21571 " virt-copy-out -d domain /file|dir [/file|dir ...] localdir\n"
21572 "\n"
21573 msgstr ""
21574
21575 #. type: textblock
21576 #: ../fish/virt-copy-out.pod:15
21577 msgid ""
21578 "C<virt-copy-out> copies files and directories out of a virtual machine disk "
21579 "image or named libvirt domain."
21580 msgstr ""
21581
21582 #. type: textblock
21583 #: ../fish/virt-copy-out.pod:18
21584 msgid ""
21585 "You can give one of more filenames and directories on the command line.  "
21586 "Directories are copied out recursively."
21587 msgstr ""
21588
21589 #. type: textblock
21590 #: ../fish/virt-copy-out.pod:23
21591 msgid "Download the home directories from a virtual machine:"
21592 msgstr ""
21593
21594 #. type: verbatim
21595 #: ../fish/virt-copy-out.pod:25
21596 #, no-wrap
21597 msgid ""
21598 " mkdir homes\n"
21599 " virt-copy-out -d MyGuest /home homes\n"
21600 "\n"
21601 msgstr ""
21602
21603 #. type: textblock
21604 #: ../fish/virt-copy-out.pod:30
21605 msgid ""
21606 "This command is just a simple shell script wrapper around the L<guestfish(1)"
21607 "> C<copy-out> command.  For anything more complex than a trivial copy, you "
21608 "are probably better off using guestfish directly."
21609 msgstr ""
21610
21611 #. type: textblock
21612 #: ../fish/virt-copy-out.pod:41
21613 msgid ""
21614 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-edit(1)>, L<virt-"
21615 "tar-in(1)>, L<virt-tar-out(1)>, L<http://libguestfs.org/>."
21616 msgstr ""
21617
21618 #. type: textblock
21619 #: ../fish/virt-tar-in.pod:5
21620 msgid "virt-tar-in - Unpack a tarball into a virtual machine disk image."
21621 msgstr ""
21622
21623 #. type: verbatim
21624 #: ../fish/virt-tar-in.pod:9
21625 #, no-wrap
21626 msgid ""
21627 " virt-tar-in -a disk.img data.tar /destination\n"
21628 "\n"
21629 msgstr ""
21630
21631 #. type: verbatim
21632 #: ../fish/virt-tar-in.pod:11
21633 #, no-wrap
21634 msgid ""
21635 " virt-tar-in -d domain data.tar /destination\n"
21636 "\n"
21637 msgstr ""
21638
21639 #. type: verbatim
21640 #: ../fish/virt-tar-in.pod:13
21641 #, no-wrap
21642 msgid ""
21643 " zcat data.tar.gz | virt-tar-in -d domain - /destination\n"
21644 "\n"
21645 msgstr ""
21646
21647 #. type: textblock
21648 #: ../fish/virt-tar-in.pod:17
21649 msgid ""
21650 "Using C<virt-tar-in> on live virtual machines can be dangerous, potentially "
21651 "causing disk corruption.  The virtual machine must be shut down before you "
21652 "use this command."
21653 msgstr ""
21654
21655 #. type: textblock
21656 #: ../fish/virt-tar-in.pod:23
21657 msgid ""
21658 "C<virt-tar-in> unpacks an uncompressed tarball into a virtual machine disk "
21659 "image or named libvirt domain."
21660 msgstr ""
21661
21662 #. type: textblock
21663 #: ../fish/virt-tar-in.pod:26
21664 msgid ""
21665 "The first parameter is the tar file.  Use C<-> to read the tar file from "
21666 "standard input.  The second parameter is the absolute target directory to "
21667 "unpack into."
21668 msgstr ""
21669
21670 #. type: verbatim
21671 #: ../fish/virt-tar-in.pod:34
21672 #, no-wrap
21673 msgid ""
21674 " virt-tar-in -d MyGuest homes.tar /home\n"
21675 "\n"
21676 msgstr ""
21677
21678 #. type: textblock
21679 #: ../fish/virt-tar-in.pod:38
21680 msgid ""
21681 "This command is just a simple shell script wrapper around the L<guestfish(1)"
21682 "> C<tar-in> command.  For anything more complex than a trivial copy, you are "
21683 "probably better off using guestfish directly."
21684 msgstr ""
21685
21686 #. type: textblock
21687 #: ../fish/virt-tar-in.pod:49
21688 msgid ""
21689 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
21690 "L<virt-edit(1)>, L<virt-make-fs(1)>, L<virt-tar-out(1)>, L<http://libguestfs."
21691 "org/>."
21692 msgstr ""
21693
21694 #. type: textblock
21695 #: ../fish/virt-tar-out.pod:5
21696 msgid ""
21697 "virt-tar-out - Pack a virtual machine disk image directory into a tarball."
21698 msgstr ""
21699
21700 #. type: verbatim
21701 #: ../fish/virt-tar-out.pod:9
21702 #, no-wrap
21703 msgid ""
21704 " virt-tar-out -a disk.img /dir files.tar\n"
21705 "\n"
21706 msgstr ""
21707
21708 #. type: verbatim
21709 #: ../fish/virt-tar-out.pod:11
21710 #, no-wrap
21711 msgid ""
21712 " virt-tar-out -d domain /dir files.tar\n"
21713 "\n"
21714 msgstr ""
21715
21716 #. type: verbatim
21717 #: ../fish/virt-tar-out.pod:13
21718 #, no-wrap
21719 msgid ""
21720 " virt-tar-out -d domain /dir - | gzip --best > files.tar.gz\n"
21721 "\n"
21722 msgstr ""
21723
21724 #. type: textblock
21725 #: ../fish/virt-tar-out.pod:17
21726 msgid ""
21727 "C<virt-tar-out> packs a virtual machine disk image directory into a tarball."
21728 msgstr ""
21729
21730 #. type: textblock
21731 #: ../fish/virt-tar-out.pod:20
21732 msgid ""
21733 "The first parameter is the absolute path of the virtual machine directory.  "
21734 "The second parameter is the tar file to write.  Use C<-> to write to "
21735 "standard output."
21736 msgstr ""
21737
21738 #. type: textblock
21739 #: ../fish/virt-tar-out.pod:26
21740 msgid "Download the home directories from a guest:"
21741 msgstr ""
21742
21743 #. type: verbatim
21744 #: ../fish/virt-tar-out.pod:28
21745 #, no-wrap
21746 msgid ""
21747 " virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz\n"
21748 "\n"
21749 msgstr ""
21750
21751 #. type: textblock
21752 #: ../fish/virt-tar-out.pod:32
21753 msgid ""
21754 "This command is just a simple shell script wrapper around the L<guestfish(1)"
21755 "> C<tar-out> command.  For anything more complex than a trivial copy, you "
21756 "are probably better off using guestfish directly."
21757 msgstr ""
21758
21759 #. type: textblock
21760 #: ../fish/virt-tar-out.pod:43
21761 msgid ""
21762 "L<guestfish(1)>, L<virt-cat(1)>, L<virt-copy-in(1)>, L<virt-copy-out(1)>, "
21763 "L<virt-edit(1)>, L<virt-tar-in(1)>, L<http://libguestfs.org/>."
21764 msgstr ""
21765
21766 #. type: textblock
21767 #: ../fuse/guestmount.pod:5
21768 msgid ""
21769 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
21770 msgstr ""
21771
21772 #. type: verbatim
21773 #: ../fuse/guestmount.pod:9
21774 #, no-wrap
21775 msgid ""
21776 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
21777 "\n"
21778 msgstr ""
21779
21780 #. type: verbatim
21781 #: ../fuse/guestmount.pod:11
21782 #, no-wrap
21783 msgid ""
21784 " guestmount [--options] -a disk.img -i [--ro] mountpoint\n"
21785 "\n"
21786 msgstr ""
21787
21788 #. type: verbatim
21789 #: ../fuse/guestmount.pod:13
21790 #, no-wrap
21791 msgid ""
21792 " guestmount [--options] -d Guest -i [--ro] mountpoint\n"
21793 "\n"
21794 msgstr ""
21795
21796 #. type: textblock
21797 #: ../fuse/guestmount.pod:17
21798 msgid ""
21799 "You must I<not> use C<guestmount> in read-write mode on live virtual "
21800 "machines.  If you do this, you risk disk corruption in the VM."
21801 msgstr ""
21802
21803 #. type: textblock
21804 #: ../fuse/guestmount.pod:22
21805 msgid ""
21806 "The guestmount program can be used to mount virtual machine filesystems and "
21807 "other disk images on the host.  It uses libguestfs for access to the guest "
21808 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
21809 "a mountable device."
21810 msgstr ""
21811
21812 #. type: textblock
21813 #: ../fuse/guestmount.pod:27
21814 msgid ""
21815 "Along with other options, you have to give at least one device (I<-a> "
21816 "option) or libvirt domain (I<-d> option), and at least one mountpoint (I<-m> "
21817 "option) or use the I<-i> inspection option or the I<--live> option.  How "
21818 "this works is better explained in the L<guestfish(1)> manual page, or by "
21819 "looking at the examples below."
21820 msgstr ""
21821
21822 #. type: textblock
21823 #: ../fuse/guestmount.pod:33
21824 msgid ""
21825 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
21826 "by you, and the filesystem will not be visible to any other users unless you "
21827 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
21828 "the filesystem, use the C<fusermount -u> command."
21829 msgstr ""
21830
21831 #. type: textblock
21832 #: ../fuse/guestmount.pod:41
21833 msgid ""
21834 "For a typical Windows guest which has its main filesystem on the first "
21835 "partition:"
21836 msgstr ""
21837
21838 #. type: verbatim
21839 #: ../fuse/guestmount.pod:44
21840 #, no-wrap
21841 msgid ""
21842 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
21843 "\n"
21844 msgstr ""
21845
21846 #. type: textblock
21847 #: ../fuse/guestmount.pod:46
21848 msgid ""
21849 "For a typical Linux guest which has a /boot filesystem on the first "
21850 "partition, and the root filesystem on a logical volume:"
21851 msgstr ""
21852
21853 #. type: verbatim
21854 #: ../fuse/guestmount.pod:49
21855 #, no-wrap
21856 msgid ""
21857 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
21858 "\n"
21859 msgstr ""
21860
21861 #. type: textblock
21862 #: ../fuse/guestmount.pod:51
21863 msgid "To get libguestfs to detect guest mountpoints for you:"
21864 msgstr ""
21865
21866 #. type: verbatim
21867 #: ../fuse/guestmount.pod:53
21868 #, no-wrap
21869 msgid ""
21870 " guestmount -a guest.img -i --ro /mnt\n"
21871 "\n"
21872 msgstr ""
21873
21874 #. type: textblock
21875 #: ../fuse/guestmount.pod:55
21876 msgid "For a libvirt guest called \"Guest\" you could do:"
21877 msgstr ""
21878
21879 #. type: verbatim
21880 #: ../fuse/guestmount.pod:57
21881 #, no-wrap
21882 msgid ""
21883 " guestmount -d Guest -i --ro /mnt\n"
21884 "\n"
21885 msgstr ""
21886
21887 #. type: textblock
21888 #: ../fuse/guestmount.pod:59
21889 msgid ""
21890 "If you don't know what filesystems are contained in a guest or disk image, "
21891 "use L<virt-filesystems(1)> first:"
21892 msgstr ""
21893
21894 #. type: verbatim
21895 #: ../fuse/guestmount.pod:62
21896 #, no-wrap
21897 msgid ""
21898 " virt-filesystems MyGuest\n"
21899 "\n"
21900 msgstr ""
21901
21902 #. type: textblock
21903 #: ../fuse/guestmount.pod:64
21904 msgid ""
21905 "If you want to trace the libguestfs calls but without excessive debugging "
21906 "information, we recommend:"
21907 msgstr ""
21908
21909 #. type: verbatim
21910 #: ../fuse/guestmount.pod:67
21911 #, no-wrap
21912 msgid ""
21913 " guestmount [...] --trace /mnt\n"
21914 "\n"
21915 msgstr ""
21916
21917 #. type: textblock
21918 #: ../fuse/guestmount.pod:69
21919 msgid "If you want to debug the program, we recommend:"
21920 msgstr ""
21921
21922 #. type: verbatim
21923 #: ../fuse/guestmount.pod:71
21924 #, no-wrap
21925 msgid ""
21926 " guestmount [...] --trace --verbose /mnt\n"
21927 "\n"
21928 msgstr ""
21929
21930 #. type: =head1
21931 #: ../fuse/guestmount.pod:73 ../rescue/virt-rescue.pod:68
21932 #: ../resize/virt-resize.pod:621
21933 msgid "NOTES"
21934 msgstr "ПРИМІТКИ"
21935
21936 #. type: =head2
21937 #: ../fuse/guestmount.pod:75
21938 msgid "Other users cannot see the filesystem by default"
21939 msgstr ""
21940
21941 #. type: textblock
21942 #: ../fuse/guestmount.pod:77
21943 msgid ""
21944 "If you mount a filesystem as one user (eg. root), then other users will not "
21945 "be able to see it by default.  The fix is to add the FUSE C<allow_other> "
21946 "option when mounting:"
21947 msgstr ""
21948
21949 #. type: verbatim
21950 #: ../fuse/guestmount.pod:81
21951 #, no-wrap
21952 msgid ""
21953 " sudo guestmount [...] -o allow_other /mnt\n"
21954 "\n"
21955 msgstr ""
21956
21957 #. type: =head2
21958 #: ../fuse/guestmount.pod:83
21959 msgid "Enabling FUSE"
21960 msgstr ""
21961
21962 #. type: textblock
21963 #: ../fuse/guestmount.pod:85
21964 msgid ""
21965 "On some distros, you may need to add yourself to a special group (eg. "
21966 "C<fuse>) before you can use any FUSE filesystem.  This is necessary on "
21967 "Debian and derivatives."
21968 msgstr ""
21969
21970 #. type: textblock
21971 #: ../fuse/guestmount.pod:89
21972 msgid ""
21973 "On other distros, no special group is required.  It is not necessary on "
21974 "Fedora or Red Hat Enterprise Linux."
21975 msgstr ""
21976
21977 #. type: textblock
21978 #: ../fuse/guestmount.pod:100
21979 msgid "Add a block device or virtual machine image."
21980 msgstr ""
21981
21982 #. type: =item
21983 #: ../fuse/guestmount.pod:123
21984 msgid "B<--dir-cache-timeout N>"
21985 msgstr "B<--dir-cache-timeout N>"
21986
21987 #. type: textblock
21988 #: ../fuse/guestmount.pod:125
21989 msgid ""
21990 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
21991 "seconds.  The readdir cache [actually, there are several semi-independent "
21992 "caches] is populated after a readdir(2) call with the stat and extended "
21993 "attributes of the files in the directory, in anticipation that they will be "
21994 "requested soon after."
21995 msgstr ""
21996
21997 #. type: textblock
21998 #: ../fuse/guestmount.pod:131
21999 msgid ""
22000 "There is also a different attribute cache implemented by FUSE (see the FUSE "
22001 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
22002 "requests, only cache existing ones."
22003 msgstr ""
22004
22005 #. type: textblock
22006 #: ../fuse/guestmount.pod:151
22007 msgid ""
22008 "If you have untrusted raw-format guest disk images, you should use this "
22009 "option to specify the disk format.  This avoids a possible security problem "
22010 "with malicious guests (CVE-2010-3851).  See also L<guestfs(3)/"
22011 "guestfs_add_drive_opts>."
22012 msgstr ""
22013
22014 #. type: =item
22015 #: ../fuse/guestmount.pod:156
22016 msgid "B<--fuse-help>"
22017 msgstr "B<--fuse-help>"
22018
22019 #. type: textblock
22020 #: ../fuse/guestmount.pod:158
22021 msgid "Display help on special FUSE options (see I<-o> below)."
22022 msgstr ""
22023
22024 #. type: textblock
22025 #: ../fuse/guestmount.pod:162
22026 msgid "Display brief help and exit."
22027 msgstr ""
22028
22029 #. type: textblock
22030 #: ../fuse/guestmount.pod:186
22031 msgid ""
22032 "Mount the named partition or logical volume on the given mountpoint B<in the "
22033 "guest> (this has nothing to do with mountpoints in the host)."
22034 msgstr ""
22035
22036 #. type: textblock
22037 #: ../fuse/guestmount.pod:189
22038 msgid ""
22039 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
22040 "something on C</>."
22041 msgstr ""
22042
22043 #. type: textblock
22044 #: ../fuse/guestmount.pod:206
22045 msgid ""
22046 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
22047 "unmounted.  If you specify this option, then we don't attempt to sync the "
22048 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
22049 msgstr ""
22050
22051 #. type: =item
22052 #: ../fuse/guestmount.pod:211
22053 msgid "B<-o option>"
22054 msgstr "B<-o параметр>"
22055
22056 #. type: =item
22057 #: ../fuse/guestmount.pod:213
22058 msgid "B<--option option>"
22059 msgstr "B<--option параметр>"
22060
22061 #. type: textblock
22062 #: ../fuse/guestmount.pod:215
22063 msgid "Pass extra options to FUSE."
22064 msgstr ""
22065
22066 #. type: textblock
22067 #: ../fuse/guestmount.pod:217
22068 msgid ""
22069 "To get a list of all the extra options supported by FUSE, use the command "
22070 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
22071 "of them are a good idea."
22072 msgstr ""
22073
22074 #. type: verbatim
22075 #: ../fuse/guestmount.pod:221
22076 #, no-wrap
22077 msgid ""
22078 " guestmount --fuse-help\n"
22079 "\n"
22080 msgstr ""
22081
22082 #. type: textblock
22083 #: ../fuse/guestmount.pod:223
22084 msgid "Some potentially useful FUSE options:"
22085 msgstr ""
22086
22087 #. type: =item
22088 #: ../fuse/guestmount.pod:227
22089 msgid "B<-o allow_other>"
22090 msgstr ""
22091
22092 #. type: textblock
22093 #: ../fuse/guestmount.pod:229
22094 msgid "Allow other users to see the filesystem."
22095 msgstr ""
22096
22097 #. type: =item
22098 #: ../fuse/guestmount.pod:231
22099 msgid "B<-o attr_timeout=N>"
22100 msgstr "B<-o attr_timeout=N>"
22101
22102 #. type: textblock
22103 #: ../fuse/guestmount.pod:233
22104 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
22105 msgstr ""
22106
22107 #. type: =item
22108 #: ../fuse/guestmount.pod:235
22109 msgid "B<-o kernel_cache>"
22110 msgstr ""
22111
22112 #. type: textblock
22113 #: ../fuse/guestmount.pod:237
22114 msgid ""
22115 "Allow the kernel to cache files (reduces the number of reads that have to go "
22116 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
22117 "afford the extra memory usage."
22118 msgstr ""
22119
22120 #. type: =item
22121 #: ../fuse/guestmount.pod:241
22122 msgid "B<-o uid=N> B<-o gid=N>"
22123 msgstr "B<-o uid=N> B<-o gid=N>"
22124
22125 #. type: textblock
22126 #: ../fuse/guestmount.pod:243
22127 msgid ""
22128 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
22129 "the chosen values."
22130 msgstr ""
22131
22132 #. type: textblock
22133 #: ../fuse/guestmount.pod:252
22134 msgid ""
22135 "Add devices and mount everything read-only.  Also disallow writes and make "
22136 "the disk appear read-only to FUSE."
22137 msgstr ""
22138
22139 #. type: textblock
22140 #: ../fuse/guestmount.pod:255
22141 msgid ""
22142 "This is highly recommended if you are not going to edit the guest disk.  If "
22143 "the guest is running and this option is I<not> supplied, then there is a "
22144 "strong risk of disk corruption in the guest.  We try to prevent this from "
22145 "happening, but it is not always possible."
22146 msgstr ""
22147
22148 #. type: textblock
22149 #: ../fuse/guestmount.pod:260 ../rescue/virt-rescue.pod:171
22150 msgid "See also L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22151 msgstr "Див. також L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22152
22153 #. type: textblock
22154 #: ../fuse/guestmount.pod:264
22155 msgid "Enable SELinux support for the guest."
22156 msgstr ""
22157
22158 #. type: textblock
22159 #: ../fuse/guestmount.pod:270
22160 msgid "Enable verbose messages from underlying libguestfs."
22161 msgstr ""
22162
22163 #. type: textblock
22164 #: ../fuse/guestmount.pod:276
22165 msgid "Display the program version and exit."
22166 msgstr ""
22167
22168 #. type: textblock
22169 #: ../fuse/guestmount.pod:285 ../fuse/guestmount.pod:308
22170 #: ../rescue/virt-rescue.pod:201 ../rescue/virt-rescue.pod:284
22171 msgid "See L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22172 msgstr "Див. L<guestfish(1)/OPENING DISKS FOR READ AND WRITE>."
22173
22174 #. type: =item
22175 #: ../fuse/guestmount.pod:289
22176 msgid "B<--trace>"
22177 msgstr "B<--trace>"
22178
22179 #. type: textblock
22180 #: ../fuse/guestmount.pod:291
22181 msgid "Trace libguestfs calls and entry into each FUSE function."
22182 msgstr ""
22183
22184 #. type: textblock
22185 #: ../fuse/guestmount.pod:293
22186 msgid "This also stops the daemon from forking into the background."
22187 msgstr ""
22188
22189 #. type: textblock
22190 #: ../fuse/guestmount.pod:319
22191 msgid ""
22192 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22193 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
22194 "net/>."
22195 msgstr ""
22196 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22197 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
22198 "net/>."
22199
22200 #. type: textblock
22201 #: ../fuse/guestmount.pod:334
22202 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
22203 msgstr ""
22204
22205 #. type: textblock
22206 #: ../inspector/virt-inspector.pod:5
22207 msgid ""
22208 "virt-inspector - Display operating system version and other information "
22209 "about a virtual machine"
22210 msgstr ""
22211
22212 #. type: verbatim
22213 #: ../inspector/virt-inspector.pod:9
22214 #, no-wrap
22215 msgid ""
22216 " virt-inspector [--options] -d domname\n"
22217 "\n"
22218 msgstr ""
22219
22220 #. type: verbatim
22221 #: ../inspector/virt-inspector.pod:11
22222 #, no-wrap
22223 msgid ""
22224 " virt-inspector [--options] -a disk.img [-a disk.img ...]\n"
22225 "\n"
22226 msgstr ""
22227
22228 #. type: verbatim
22229 #: ../inspector/virt-inspector.pod:15
22230 #, no-wrap
22231 msgid ""
22232 " virt-inspector domname\n"
22233 "\n"
22234 msgstr ""
22235
22236 #. type: verbatim
22237 #: ../inspector/virt-inspector.pod:17 ../inspector/virt-inspector.pod:148
22238 #, no-wrap
22239 msgid ""
22240 " virt-inspector disk.img [disk.img ...]\n"
22241 "\n"
22242 msgstr ""
22243
22244 #. type: textblock
22245 #: ../inspector/virt-inspector.pod:21
22246 msgid ""
22247 "B<virt-inspector> examines a virtual machine or disk image and tries to "
22248 "determine the version of the operating system and other information about "
22249 "the virtual machine."
22250 msgstr ""
22251
22252 #. type: textblock
22253 #: ../inspector/virt-inspector.pod:25
22254 msgid "Virt-inspector produces XML output for feeding into other programs."
22255 msgstr ""
22256
22257 #. type: textblock
22258 #: ../inspector/virt-inspector.pod:27
22259 msgid ""
22260 "In the normal usage, use C<virt-inspector -d domname> where C<domname> is "
22261 "the libvirt domain (see: C<virsh list --all>)."
22262 msgstr ""
22263
22264 #. type: textblock
22265 #: ../inspector/virt-inspector.pod:30
22266 msgid ""
22267 "You can also run virt-inspector directly on disk images from a single "
22268 "virtual machine.  Use C<virt-inspector -a disk.img>.  In rare cases a domain "
22269 "has several block devices, in which case you should list several I<-a> "
22270 "options one after another, with the first corresponding to the guest's C</"
22271 "dev/sda>, the second to the guest's C</dev/sdb> and so on."
22272 msgstr ""
22273
22274 #. type: textblock
22275 #: ../inspector/virt-inspector.pod:37
22276 msgid ""
22277 "You can also run virt-inspector on install disks, live CDs, bootable USB "
22278 "keys and similar."
22279 msgstr ""
22280
22281 #. type: textblock
22282 #: ../inspector/virt-inspector.pod:40
22283 msgid ""
22284 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22285 "inspect several virtual machines, you have to run virt-inspector several "
22286 "times (for example, from a shell script for-loop)."
22287 msgstr ""
22288
22289 #. type: textblock
22290 #: ../inspector/virt-inspector.pod:45
22291 msgid ""
22292 "Because virt-inspector needs direct access to guest images, it won't "
22293 "normally work over remote libvirt connections."
22294 msgstr ""
22295
22296 #. type: textblock
22297 #: ../inspector/virt-inspector.pod:48
22298 msgid ""
22299 "All of the information available from virt-inspector is also available "
22300 "through the core libguestfs inspection API (see L<guestfs(3)/INSPECTION>).  "
22301 "The same information can also be fetched using guestfish or via libguestfs "
22302 "bindings in many programming languages (see L<guestfs(3)/USING LIBGUESTFS "
22303 "WITH OTHER PROGRAMMING LANGUAGES>)."
22304 msgstr ""
22305
22306 #. type: textblock
22307 #: ../inspector/virt-inspector.pod:81
22308 msgid ""
22309 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22310 "you specify guest block devices directly (I<-a>), then libvirt is not used "
22311 "at all."
22312 msgstr ""
22313
22314 #. type: textblock
22315 #: ../inspector/virt-inspector.pod:94
22316 msgid ""
22317 "When prompting for keys and passphrases, virt-inspector normally turns "
22318 "echoing off so you cannot see what you are typing.  If you are not worried "
22319 "about Tempest attacks and there is no one else in the room you can specify "
22320 "this flag to see what you are typing."
22321 msgstr ""
22322
22323 #. type: textblock
22324 #: ../inspector/virt-inspector.pod:103 ../tools/virt-list-filesystems.pl:93
22325 #: ../tools/virt-list-partitions.pl:94 ../tools/virt-tar.pl:143
22326 #: ../tools/virt-win-reg.pl:144
22327 msgid ""
22328 "Specify the format of disk images given on the command line.  If this is "
22329 "omitted then the format is autodetected from the content of the disk image."
22330 msgstr ""
22331
22332 #. type: textblock
22333 #: ../inspector/virt-inspector.pod:107 ../tools/virt-list-filesystems.pl:97
22334 #: ../tools/virt-list-partitions.pl:98 ../tools/virt-tar.pl:147
22335 #: ../tools/virt-win-reg.pl:148
22336 msgid ""
22337 "If disk images are requested from libvirt, then this program asks libvirt "
22338 "for this information.  In this case, the value of the format parameter is "
22339 "ignored."
22340 msgstr ""
22341
22342 #. type: textblock
22343 #: ../inspector/virt-inspector.pod:111 ../resize/virt-resize.pod:391
22344 #: ../resize/virt-resize.pod:483 ../sparsify/virt-sparsify.pod:132
22345 #: ../tools/virt-list-filesystems.pl:101 ../tools/virt-list-partitions.pl:102
22346 #: ../tools/virt-tar.pl:151 ../tools/virt-win-reg.pl:152
22347 msgid ""
22348 "If working with untrusted raw-format guest disk images, you should ensure "
22349 "the format is always specified."
22350 msgstr ""
22351
22352 #. type: =item
22353 #: ../inspector/virt-inspector.pod:135
22354 #, fuzzy
22355 #| msgid "B<--parts>"
22356 msgid "B<--xpath> query"
22357 msgstr "B<--parts>"
22358
22359 #. type: textblock
22360 #: ../inspector/virt-inspector.pod:137
22361 msgid ""
22362 "Perform an XPath query on the XML on stdin, and print the result on stdout.  "
22363 "In this mode virt-inspector simply runs an XPath query; all other inspection "
22364 "functions are disabled.  See L</XPATH QUERIES> below for some examples."
22365 msgstr ""
22366
22367 #. type: textblock
22368 #: ../inspector/virt-inspector.pod:146
22369 msgid "Previous versions of virt-inspector allowed you to write either:"
22370 msgstr ""
22371
22372 #. type: verbatim
22373 #: ../inspector/virt-inspector.pod:152
22374 #, no-wrap
22375 msgid ""
22376 " virt-inspector guestname\n"
22377 "\n"
22378 msgstr ""
22379
22380 #. type: =head1
22381 #: ../inspector/virt-inspector.pod:160
22382 msgid "XML FORMAT"
22383 msgstr ""
22384
22385 #. type: textblock
22386 #: ../inspector/virt-inspector.pod:162
22387 msgid ""
22388 "The virt-inspector XML is described precisely in a RELAX NG schema file "
22389 "C<virt-inspector.rng> which is supplied with libguestfs.  This section is "
22390 "just an overview."
22391 msgstr ""
22392
22393 #. type: textblock
22394 #: ../inspector/virt-inspector.pod:166
22395 msgid ""
22396 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
22397 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
22398 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
22399 "which is vanishingly rare in real world VMs."
22400 msgstr ""
22401
22402 #. type: =head2
22403 #: ../inspector/virt-inspector.pod:171
22404 msgid "E<lt>operatingsystemE<gt>"
22405 msgstr ""
22406
22407 #. type: textblock
22408 #: ../inspector/virt-inspector.pod:173
22409 msgid ""
22410 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
22411 "describe the operating system, its architecture, the descriptive \"product "
22412 "name\" string, the type of OS and so on, as in this example:"
22413 msgstr ""
22414
22415 #. type: verbatim
22416 #: ../inspector/virt-inspector.pod:177
22417 #, no-wrap
22418 msgid ""
22419 " <operatingsystems>\n"
22420 "   <operatingsystem>\n"
22421 "     <root>/dev/sda2</root>\n"
22422 "     <name>windows</name>\n"
22423 "     <arch>i386</arch>\n"
22424 "     <distro>windows</distro>\n"
22425 "     <product_name>Windows 7 Enterprise</product_name>\n"
22426 "     <product_variant>Client</product_variant>\n"
22427 "     <major_version>6</major_version>\n"
22428 "     <minor_version>1</minor_version>\n"
22429 "     <windows_systemroot>/Windows</windows_systemroot>\n"
22430 "     <format>installed</format>\n"
22431 "\n"
22432 msgstr ""
22433
22434 #. type: textblock
22435 #: ../inspector/virt-inspector.pod:190
22436 msgid ""
22437 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
22438 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
22439 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
22440 "architecture.  The other fields are fairly self-explanatory, but because "
22441 "these fields are taken directly from the libguestfs inspection API you can "
22442 "find precise information from L<guestfs(3)/INSPECTION>."
22443 msgstr ""
22444
22445 #. type: textblock
22446 #: ../inspector/virt-inspector.pod:198
22447 msgid ""
22448 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
22449 "of view of libguestfs (block devices may have completely different names "
22450 "inside the VM itself)."
22451 msgstr ""
22452
22453 #. type: =head2
22454 #: ../inspector/virt-inspector.pod:202
22455 msgid "E<lt>mountpointsE<gt>"
22456 msgstr ""
22457
22458 #. type: textblock
22459 #: ../inspector/virt-inspector.pod:204
22460 msgid ""
22461 "Un*x-like guests typically have multiple filesystems which are mounted at "
22462 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
22463 "element which looks like this:"
22464 msgstr ""
22465
22466 #. type: verbatim
22467 #: ../inspector/virt-inspector.pod:208
22468 #, no-wrap
22469 msgid ""
22470 " <operatingsystems>\n"
22471 "   <operatingsystem>\n"
22472 "     ...\n"
22473 "     <mountpoints>\n"
22474 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
22475 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
22476 "     </mountpoints>\n"
22477 "\n"
22478 msgstr ""
22479
22480 #. type: textblock
22481 #: ../inspector/virt-inspector.pod:216
22482 msgid ""
22483 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
22484 "and may have completely different names inside the guest.  Only mountable "
22485 "filesystems appear in this list, not things like swap devices."
22486 msgstr ""
22487
22488 #. type: =head2
22489 #: ../inspector/virt-inspector.pod:221
22490 msgid "E<lt>filesystemsE<gt>"
22491 msgstr ""
22492
22493 #. type: textblock
22494 #: ../inspector/virt-inspector.pod:223
22495 msgid ""
22496 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
22497 "filesystems belonging to the guest, including swap and empty partitions.  "
22498 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
22499 "this OS or shared with this OS and other OSes)."
22500 msgstr ""
22501
22502 #. type: textblock
22503 #: ../inspector/virt-inspector.pod:229
22504 msgid "You might see something like this:"
22505 msgstr ""
22506
22507 #. type: verbatim
22508 #: ../inspector/virt-inspector.pod:231
22509 #, no-wrap
22510 msgid ""
22511 " <operatingsystems>\n"
22512 "   <operatingsystem>\n"
22513 "     ...\n"
22514 "     <filesystems>\n"
22515 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
22516 "         <type>ext4</type>\n"
22517 "         <label>Fedora-13-x86_64</label>\n"
22518 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
22519 "       </filesystem>\n"
22520 "\n"
22521 msgstr ""
22522
22523 #. type: textblock
22524 #: ../inspector/virt-inspector.pod:241
22525 msgid ""
22526 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
22527 "the label, and the UUID."
22528 msgstr ""
22529
22530 #. type: =head2
22531 #: ../inspector/virt-inspector.pod:244
22532 msgid "E<lt>applicationsE<gt>"
22533 msgstr ""
22534
22535 #. type: textblock
22536 #: ../inspector/virt-inspector.pod:246
22537 msgid ""
22538 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
22539 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
22540 "machine."
22541 msgstr ""
22542
22543 #. type: textblock
22544 #: ../inspector/virt-inspector.pod:250
22545 msgid ""
22546 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
22547 "Typical values would be C<rpm> and C<deb>."
22548 msgstr ""
22549
22550 #. type: textblock
22551 #: ../inspector/virt-inspector.pod:253
22552 msgid ""
22553 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
22554 "Typical values include C<yum>, C<up2date> and C<apt>"
22555 msgstr ""
22556
22557 #. type: textblock
22558 #: ../inspector/virt-inspector.pod:256
22559 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
22560 msgstr ""
22561
22562 #. type: verbatim
22563 #: ../inspector/virt-inspector.pod:259
22564 #, no-wrap
22565 msgid ""
22566 " <operatingsystems>\n"
22567 "   <operatingsystem>\n"
22568 "     ...\n"
22569 "     <applications>\n"
22570 "       <application>\n"
22571 "         <name>coreutils</name>\n"
22572 "         <version>8.5</version>\n"
22573 "         <release>1</release>\n"
22574 "       </application>\n"
22575 "\n"
22576 msgstr ""
22577
22578 #. type: textblock
22579 #: ../inspector/virt-inspector.pod:269
22580 msgid ""
22581 "The version and release fields may not be available for some types guests.  "
22582 "Other fields are possible, see L<guestfs(3)/"
22583 "guestfs_inspect_list_applications>."
22584 msgstr ""
22585
22586 #. type: =head2
22587 #: ../inspector/virt-inspector.pod:273
22588 msgid "E<lt>drive_mappingsE<gt>"
22589 msgstr ""
22590
22591 #. type: textblock
22592 #: ../inspector/virt-inspector.pod:275
22593 msgid ""
22594 "For operating systems like Windows which use drive letters, virt-inspector "
22595 "is able to find out how drive letters map to filesystems."
22596 msgstr ""
22597
22598 #. type: verbatim
22599 #: ../inspector/virt-inspector.pod:279
22600 #, no-wrap
22601 msgid ""
22602 " <operatingsystems>\n"
22603 "   <operatingsystem>\n"
22604 "     ...\n"
22605 "     <drive_mappings>\n"
22606 "       <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
22607 "       <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
22608 "     </drive_mappings>\n"
22609 "\n"
22610 msgstr ""
22611
22612 #. type: textblock
22613 #: ../inspector/virt-inspector.pod:287
22614 msgid ""
22615 "In the example above, drive C maps to the filesystem on the second partition "
22616 "on the first disk, and drive E maps to the filesystem on the first partition "
22617 "on the second disk."
22618 msgstr ""
22619
22620 #. type: textblock
22621 #: ../inspector/virt-inspector.pod:291
22622 msgid ""
22623 "Note that this only covers permanent local filesystem mappings, not things "
22624 "like network shares.  Furthermore NTFS volume mount points may not be listed "
22625 "here."
22626 msgstr ""
22627
22628 #. type: =head2
22629 #: ../inspector/virt-inspector.pod:295
22630 msgid "E<lt>iconE<gt>"
22631 msgstr ""
22632
22633 #. type: textblock
22634 #: ../inspector/virt-inspector.pod:297
22635 msgid ""
22636 "Virt-inspector is sometimes able to extract an icon or logo for the guest.  "
22637 "The icon is returned as base64-encoded PNG data.  Note that the icon can be "
22638 "very large and high quality."
22639 msgstr ""
22640
22641 #. type: verbatim
22642 #: ../inspector/virt-inspector.pod:301
22643 #, no-wrap
22644 msgid ""
22645 " <operatingsystems>\n"
22646 "   <operatingsystem>\n"
22647 "     ...\n"
22648 "     <icon>\n"
22649 "       iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
22650 "       [... many lines of base64 data ...]\n"
22651 "     </icon>\n"
22652 "\n"
22653 msgstr ""
22654
22655 #. type: textblock
22656 #: ../inspector/virt-inspector.pod:309
22657 msgid ""
22658 "To display the icon, you have to extract it and convert the base64 data back "
22659 "to a binary file.  Use an XPath query or simply an editor to extract the "
22660 "data, then use the coreutils L<base64(1)> program to do the conversion back "
22661 "to a PNG file:"
22662 msgstr ""
22663
22664 #. type: verbatim
22665 #: ../inspector/virt-inspector.pod:314
22666 #, no-wrap
22667 msgid ""
22668 " base64 -i -d < icon.data > icon.png\n"
22669 "\n"
22670 msgstr ""
22671
22672 #. type: =head2
22673 #: ../inspector/virt-inspector.pod:316
22674 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
22675 msgstr ""
22676
22677 #. type: textblock
22678 #: ../inspector/virt-inspector.pod:318
22679 msgid ""
22680 "Virt-inspector can detect some operating system installers on install disks, "
22681 "live CDs, bootable USB keys and more."
22682 msgstr ""
22683
22684 #. type: textblock
22685 #: ../inspector/virt-inspector.pod:321
22686 msgid ""
22687 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
22688 "fields may be present to indicate a live CD, network installer, or one part "
22689 "of a multipart CD.  For example:"
22690 msgstr ""
22691
22692 #. type: verbatim
22693 #: ../inspector/virt-inspector.pod:325
22694 #, no-wrap
22695 msgid ""
22696 " <operatingsystems>\n"
22697 "   <operatingsystem>\n"
22698 "     <root>/dev/sda</root>\n"
22699 "     <name>linux</name>\n"
22700 "     <arch>i386</arch>\n"
22701 "     <distro>ubuntu</distro>\n"
22702 "     <product_name>Ubuntu 10.10 &quot;Maverick Meerkat&quot;</product_name>\n"
22703 "     <major_version>10</major_version>\n"
22704 "     <minor_version>10</minor_version>\n"
22705 "     <format>installer</format>\n"
22706 "     <live/>\n"
22707 "\n"
22708 msgstr ""
22709
22710 #. type: =head1
22711 #: ../inspector/virt-inspector.pod:337
22712 msgid "XPATH QUERIES"
22713 msgstr ""
22714
22715 #. type: textblock
22716 #: ../inspector/virt-inspector.pod:339
22717 msgid ""
22718 "Virt-inspector includes built in support for running XPath queries.  The "
22719 "reason for including XPath support directly in virt-inspector is simply that "
22720 "there are no good and widely available command line programs that can do "
22721 "XPath queries.  The only good one is L<xmlstarlet(1)> and that is not "
22722 "available on Red Hat Enterprise Linux."
22723 msgstr ""
22724
22725 #. type: textblock
22726 #: ../inspector/virt-inspector.pod:346
22727 msgid ""
22728 "To perform an XPath query, use the I<--xpath> option.  Note that in this "
22729 "mode, virt-inspector simply reads XML from stdin and outputs the query "
22730 "result on stdout.  All other inspection features are disabled in this mode."
22731 msgstr ""
22732
22733 #. type: verbatim
22734 #: ../inspector/virt-inspector.pod:353
22735 #, no-wrap
22736 msgid ""
22737 " $ virt-inspector -d Guest | virt-inspector --xpath '//filesystems'\n"
22738 " <filesystems>\n"
22739 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
22740 "        <type>ext4</type>\n"
22741 " [...]\n"
22742 "\n"
22743 msgstr ""
22744
22745 #. type: verbatim
22746 #: ../inspector/virt-inspector.pod:359
22747 #, no-wrap
22748 msgid ""
22749 " $ virt-inspector -d Guest | \\\n"
22750 "     virt-inspector --xpath \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
22751 " ext4\n"
22752 "\n"
22753 msgstr ""
22754
22755 #. type: verbatim
22756 #: ../inspector/virt-inspector.pod:363
22757 #, no-wrap
22758 msgid ""
22759 " $ virt-inspector -d Guest | \\\n"
22760 "     virt-inspector --xpath 'string(//icon)' | base64 -i -d | display -\n"
22761 " [displays the guest icon, if there is one]\n"
22762 "\n"
22763 msgstr ""
22764
22765 #. type: =head1
22766 #: ../inspector/virt-inspector.pod:374
22767 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
22768 msgstr ""
22769
22770 #. type: textblock
22771 #: ../inspector/virt-inspector.pod:376
22772 msgid ""
22773 "Early versions of libguestfs shipped with a different virt-inspector program "
22774 "written in Perl (the current version is written in C).  The XML output of "
22775 "the Perl virt-inspector was different and it could also output in other "
22776 "formats like text."
22777 msgstr ""
22778
22779 #. type: textblock
22780 #: ../inspector/virt-inspector.pod:381
22781 msgid ""
22782 "The old virt-inspector is no longer supported or shipped with libguestfs."
22783 msgstr ""
22784
22785 #. type: textblock
22786 #: ../inspector/virt-inspector.pod:384
22787 msgid ""
22788 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
22789 "versions of virt-inspector with different names:"
22790 msgstr ""
22791
22792 #. type: verbatim
22793 #: ../inspector/virt-inspector.pod:387
22794 #, no-wrap
22795 msgid ""
22796 " virt-inspector     Old Perl version.\n"
22797 " virt-inspector2    New C version.\n"
22798 "\n"
22799 msgstr ""
22800
22801 #. type: textblock
22802 #: ../inspector/virt-inspector.pod:397
22803 msgid ""
22804 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
22805 ">, L<xmlstarlet(1)>, L<http://libguestfs.org/>."
22806 msgstr ""
22807
22808 #. type: textblock
22809 #: ../inspector/virt-inspector.pod:414
22810 msgid "Matthew Booth L<mbooth@redhat.com>"
22811 msgstr ""
22812
22813 #. type: textblock
22814 #: ../java/examples/guestfs-java.pod:5
22815 msgid "guestfs-java - How to use libguestfs from Java"
22816 msgstr ""
22817
22818 #. type: verbatim
22819 #: ../java/examples/guestfs-java.pod:9
22820 #, no-wrap
22821 msgid ""
22822 " import com.redhat.et.libguestfs.*;\n"
22823 " \n"
22824 msgstr ""
22825
22826 #. type: verbatim
22827 #: ../java/examples/guestfs-java.pod:11
22828 #, no-wrap
22829 msgid ""
22830 " GuestFS g = new GuestFS ();\n"
22831 " g.add_drive_opts (\"disk.img\", null);\n"
22832 " g.launch ();\n"
22833 "\n"
22834 msgstr ""
22835
22836 #. type: textblock
22837 #: ../java/examples/guestfs-java.pod:17
22838 msgid ""
22839 "This manual page documents how to call libguestfs from the Java programming "
22840 "language.  This page just documents the differences from the C API and gives "
22841 "some examples.  If you are not familiar with using libguestfs, you also need "
22842 "to read L<guestfs(3)>."
22843 msgstr ""
22844
22845 #. type: =head2
22846 #: ../java/examples/guestfs-java.pod:22 ../ocaml/examples/guestfs-ocaml.pod:53
22847 msgid "CLOSING THE HANDLE"
22848 msgstr ""
22849
22850 #. type: textblock
22851 #: ../java/examples/guestfs-java.pod:24
22852 msgid ""
22853 "The handle is closed when it is reaped by the garbage collector.  Because "
22854 "libguestfs handles include a lot of state, it is also possible to close (and "
22855 "hence free) them explicitly by calling the C<close> method."
22856 msgstr ""
22857
22858 #. type: =head2
22859 #: ../java/examples/guestfs-java.pod:29 ../ocaml/examples/guestfs-ocaml.pod:60
22860 #: ../python/examples/guestfs-python.pod:21
22861 #: ../ruby/examples/guestfs-ruby.pod:22
22862 msgid "EXCEPTIONS"
22863 msgstr "ВИНЯТКИ"
22864
22865 #. type: textblock
22866 #: ../java/examples/guestfs-java.pod:31
22867 msgid ""
22868 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
22869 "exception.  This has a single parameter which is the error message (a "
22870 "C<String>)."
22871 msgstr ""
22872
22873 #. type: textblock
22874 #: ../java/examples/guestfs-java.pod:35
22875 msgid "Calling any method on a closed handle raises the same exception."
22876 msgstr ""
22877
22878 #. type: textblock
22879 #: ../java/examples/guestfs-java.pod:47
22880 msgid ""
22881 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-ocaml"
22882 "(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
22883 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
22884 msgstr ""
22885
22886 #. type: textblock
22887 #: ../ocaml/examples/guestfs-ocaml.pod:5
22888 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
22889 msgstr ""
22890
22891 #. type: textblock
22892 #: ../ocaml/examples/guestfs-ocaml.pod:9
22893 msgid "Module style:"
22894 msgstr ""
22895
22896 #. type: verbatim
22897 #: ../ocaml/examples/guestfs-ocaml.pod:11
22898 #, no-wrap
22899 msgid ""
22900 " let g = Guestfs.create () in\n"
22901 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
22902 " Guestfs.launch g;\n"
22903 "\n"
22904 msgstr ""
22905
22906 #. type: textblock
22907 #: ../ocaml/examples/guestfs-ocaml.pod:15
22908 msgid "Object-oriented style:"
22909 msgstr ""
22910
22911 #. type: verbatim
22912 #: ../ocaml/examples/guestfs-ocaml.pod:17
22913 #, no-wrap
22914 msgid ""
22915 " let g = new Guestfs.guestfs () in\n"
22916 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
22917 " g#launch ();\n"
22918 "\n"
22919 msgstr ""
22920
22921 #. type: verbatim
22922 #: ../ocaml/examples/guestfs-ocaml.pod:21
22923 #, no-wrap
22924 msgid ""
22925 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
22926 "or:\n"
22927 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
22928 "\n"
22929 msgstr ""
22930
22931 #. type: textblock
22932 #: ../ocaml/examples/guestfs-ocaml.pod:27
22933 msgid ""
22934 "This manual page documents how to call libguestfs from the OCaml programming "
22935 "language.  This page just documents the differences from the C API and gives "
22936 "some examples.  If you are not familiar with using libguestfs, you also need "
22937 "to read L<guestfs(3)>."
22938 msgstr ""
22939
22940 #. type: =head2
22941 #: ../ocaml/examples/guestfs-ocaml.pod:32
22942 msgid "PROGRAMMING STYLES"
22943 msgstr ""
22944
22945 #. type: textblock
22946 #: ../ocaml/examples/guestfs-ocaml.pod:34
22947 msgid ""
22948 "There are two different programming styles supported by the OCaml bindings.  "
22949 "You can use a module style, with each C function mapped to an OCaml function:"
22950 msgstr ""
22951
22952 #. type: verbatim
22953 #: ../ocaml/examples/guestfs-ocaml.pod:38
22954 #, no-wrap
22955 msgid ""
22956 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
22957 "\n"
22958 msgstr ""
22959
22960 #. type: textblock
22961 #: ../ocaml/examples/guestfs-ocaml.pod:40
22962 msgid "becomes:"
22963 msgstr ""
22964
22965 #. type: verbatim
22966 #: ../ocaml/examples/guestfs-ocaml.pod:42
22967 #, no-wrap
22968 msgid ""
22969 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
22970 "\n"
22971 msgstr ""
22972
22973 #. type: textblock
22974 #: ../ocaml/examples/guestfs-ocaml.pod:44
22975 msgid ""
22976 "Alternately you can use an object-oriented style, calling methods on the "
22977 "class C<Guestfs.guestfs>:"
22978 msgstr ""
22979
22980 #. type: verbatim
22981 #: ../ocaml/examples/guestfs-ocaml.pod:47
22982 #, no-wrap
22983 msgid ""
22984 " method set_verbose : bool -> unit\n"
22985 "\n"
22986 msgstr ""
22987
22988 #. type: textblock
22989 #: ../ocaml/examples/guestfs-ocaml.pod:49
22990 msgid ""
22991 "The object-oriented style is usually briefer, and the minor performance "
22992 "penalty isn't noticable in the general overhead of performing libguestfs "
22993 "functions."
22994 msgstr ""
22995
22996 #. type: textblock
22997 #: ../ocaml/examples/guestfs-ocaml.pod:55
22998 msgid ""
22999 "The handle is closed when it is reaped by the garbage collector.  Because "
23000 "libguestfs handles include a lot of state, it is also possible to close (and "
23001 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
23002 "method."
23003 msgstr ""
23004
23005 #. type: textblock
23006 #: ../ocaml/examples/guestfs-ocaml.pod:62
23007 msgid ""
23008 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
23009 "exception.  This has a single parameter which is the error message (a "
23010 "string)."
23011 msgstr ""
23012
23013 #. type: textblock
23014 #: ../ocaml/examples/guestfs-ocaml.pod:66
23015 msgid ""
23016 "Calling any function/method on a closed handle raises C<Guestfs."
23017 "Handle_closed>.  The single parameter is the name of the function that you "
23018 "called."
23019 msgstr ""
23020
23021 #. type: textblock
23022 #: ../ocaml/examples/guestfs-ocaml.pod:80
23023 msgid ""
23024 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
23025 "(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
23026 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
23027 msgstr ""
23028
23029 #. type: textblock
23030 #: ../perl/examples/guestfs-perl.pod:5
23031 msgid "guestfs-perl - How to use libguestfs from Perl"
23032 msgstr ""
23033
23034 #. type: verbatim
23035 #: ../perl/examples/guestfs-perl.pod:9
23036 #, no-wrap
23037 msgid ""
23038 " use Sys::Guestfs;\n"
23039 " \n"
23040 msgstr ""
23041
23042 #. type: verbatim
23043 #: ../perl/examples/guestfs-perl.pod:11
23044 #, no-wrap
23045 msgid ""
23046 " my $h = Sys::Guestfs->new ();\n"
23047 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
23048 " $h->launch ();\n"
23049 " $h->mount_options ('', '/dev/sda1', '/');\n"
23050 " $h->touch ('/hello');\n"
23051 " $h->sync ();\n"
23052 "\n"
23053 msgstr ""
23054
23055 #. type: textblock
23056 #: ../perl/examples/guestfs-perl.pod:20
23057 msgid ""
23058 "This manual page documents how to call libguestfs from the Perl programming "
23059 "language.  This page just documents the differences from the C API and gives "
23060 "some examples.  If you are not familiar with using libguestfs, you also need "
23061 "to read L<guestfs(3)>.  To read the full Perl API, see L<Sys::Guestfs(3)>."
23062 msgstr ""
23063
23064 #. type: =head2
23065 #: ../perl/examples/guestfs-perl.pod:26
23066 msgid "ERRORS"
23067 msgstr "ПОМИЛКИ"
23068
23069 #. type: textblock
23070 #: ../perl/examples/guestfs-perl.pod:28
23071 msgid ""
23072 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
23073 ">)."
23074 msgstr ""
23075
23076 #. type: textblock
23077 #: ../perl/examples/guestfs-perl.pod:41
23078 msgid ""
23079 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang"
23080 "(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, "
23081 "L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
23082 msgstr ""
23083
23084 #. type: textblock
23085 #: ../python/examples/guestfs-python.pod:5
23086 msgid "guestfs-python - How to use libguestfs from Python"
23087 msgstr ""
23088
23089 #. type: verbatim
23090 #: ../python/examples/guestfs-python.pod:9
23091 #, no-wrap
23092 msgid ""
23093 " import guestfs\n"
23094 " g = guestfs.GuestFS ()\n"
23095 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
23096 " g.launch\n"
23097 "\n"
23098 msgstr ""
23099
23100 #. type: textblock
23101 #: ../python/examples/guestfs-python.pod:16
23102 msgid ""
23103 "This manual page documents how to call libguestfs from the Python "
23104 "programming language.  This page just documents the differences from the C "
23105 "API and gives some examples.  If you are not familiar with using libguestfs, "
23106 "you also need to read L<guestfs(3)>."
23107 msgstr ""
23108
23109 #. type: textblock
23110 #: ../python/examples/guestfs-python.pod:23
23111 msgid ""
23112 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
23113 "single string argument which is the error message."
23114 msgstr ""
23115
23116 #. type: =head2
23117 #: ../python/examples/guestfs-python.pod:26
23118 msgid "MORE DOCUMENTATION"
23119 msgstr ""
23120
23121 #. type: textblock
23122 #: ../python/examples/guestfs-python.pod:28
23123 msgid "Type:"
23124 msgstr "Тип:"
23125
23126 #. type: verbatim
23127 #: ../python/examples/guestfs-python.pod:30
23128 #, no-wrap
23129 msgid ""
23130 " $ python\n"
23131 " >>> import guestfs\n"
23132 " >>> help (guestfs)\n"
23133 "\n"
23134 msgstr ""
23135
23136 #. type: textblock
23137 #: ../python/examples/guestfs-python.pod:44
23138 msgid ""
23139 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
23140 "(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, "
23141 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
23142 msgstr ""
23143
23144 #. type: textblock
23145 #: ../rescue/virt-rescue.pod:5
23146 msgid "virt-rescue - Run a rescue shell on a virtual machine"
23147 msgstr ""
23148
23149 #. type: verbatim
23150 #: ../rescue/virt-rescue.pod:9
23151 #, no-wrap
23152 msgid ""
23153 " virt-rescue [--options] -d domname\n"
23154 "\n"
23155 msgstr ""
23156
23157 #. type: verbatim
23158 #: ../rescue/virt-rescue.pod:11
23159 #, no-wrap
23160 msgid ""
23161 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
23162 "\n"
23163 msgstr ""
23164
23165 #. type: verbatim
23166 #: ../rescue/virt-rescue.pod:15
23167 #, no-wrap
23168 msgid ""
23169 " virt-rescue [--options] domname\n"
23170 "\n"
23171 msgstr ""
23172
23173 #. type: verbatim
23174 #: ../rescue/virt-rescue.pod:17
23175 #, no-wrap
23176 msgid ""
23177 " virt-rescue [--options] disk.img [disk.img ...]\n"
23178 "\n"
23179 msgstr ""
23180
23181 #. type: textblock
23182 #: ../rescue/virt-rescue.pod:21
23183 msgid ""
23184 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
23185 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
23186 "you from doing this, but doesn't catch all cases."
23187 msgstr ""
23188
23189 #. type: textblock
23190 #: ../rescue/virt-rescue.pod:25
23191 msgid ""
23192 "However if you use the I<--ro> (read only) option, then you can attach a "
23193 "shell to a live virtual machine.  The results might be strange or "
23194 "inconsistent at times but you won't get disk corruption."
23195 msgstr ""
23196
23197 #. type: textblock
23198 #: ../rescue/virt-rescue.pod:31
23199 msgid ""
23200 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
23201 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
23202 "recovery tools which you can use to examine or rescue a virtual machine or "
23203 "disk image."
23204 msgstr ""
23205
23206 #. type: textblock
23207 #: ../rescue/virt-rescue.pod:36
23208 msgid ""
23209 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
23210 "on disk image(s):"
23211 msgstr ""
23212
23213 #. type: verbatim
23214 #: ../rescue/virt-rescue.pod:39
23215 #, no-wrap
23216 msgid ""
23217 " virt-rescue -d GuestName\n"
23218 "\n"
23219 msgstr ""
23220
23221 #. type: verbatim
23222 #: ../rescue/virt-rescue.pod:41
23223 #, no-wrap
23224 msgid ""
23225 " virt-rescue --ro -a /path/to/disk.img\n"
23226 "\n"
23227 msgstr ""
23228
23229 #. type: verbatim
23230 #: ../rescue/virt-rescue.pod:43
23231 #, no-wrap
23232 msgid ""
23233 " virt-rescue -a /dev/sdc\n"
23234 "\n"
23235 msgstr ""
23236
23237 #. type: textblock
23238 #: ../rescue/virt-rescue.pod:45
23239 msgid "For live VMs you I<must> use the --ro option."
23240 msgstr ""
23241
23242 #. type: textblock
23243 #: ../rescue/virt-rescue.pod:47
23244 msgid ""
23245 "When you run virt-rescue on a virtual machine or disk image, you are placed "
23246 "in an interactive bash shell where you can use many ordinary Linux "
23247 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
23248 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
23249 "is an empty directory called C</sysroot> where you can mount filesystems."
23250 msgstr ""
23251
23252 #. type: textblock
23253 #: ../rescue/virt-rescue.pod:54
23254 msgid ""
23255 "In the example below, we list logical volumes, then choose one to mount "
23256 "under C</sysroot>:"
23257 msgstr ""
23258
23259 #. type: verbatim
23260 #: ../rescue/virt-rescue.pod:57
23261 #, no-wrap
23262 msgid ""
23263 " ><rescue> lvs\n"
23264 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
23265 " lv_root vg_f11x64 -wi-a-   8.83G\n"
23266 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
23267 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
23268 " ><rescue> ls /sysroot\n"
23269 "\n"
23270 msgstr ""
23271
23272 #. type: textblock
23273 #: ../rescue/virt-rescue.pod:64
23274 msgid ""
23275 "If you don't know what filesystems are available on the virtual machine then "
23276 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
23277 msgstr ""
23278
23279 #. type: textblock
23280 #: ../rescue/virt-rescue.pod:70
23281 msgid ""
23282 "Virt-rescue can be used on I<any> disk image file or device, not just a "
23283 "virtual machine.  For example you can use it on a blank file if you want to "
23284 "partition that file (although we would recommend using L<guestfish(1)> "
23285 "instead as it is more suitable for this purpose).  You can even use virt-"
23286 "rescue on things like SD cards."
23287 msgstr ""
23288
23289 #. type: textblock
23290 #: ../rescue/virt-rescue.pod:76
23291 msgid ""
23292 "Virt-rescue does not require root.  You only need to run it as root if you "
23293 "need root to open the disk image."
23294 msgstr ""
23295
23296 #. type: textblock
23297 #: ../rescue/virt-rescue.pod:79
23298 msgid ""
23299 "This tool is just designed for quick interactive hacking on a virtual "
23300 "machine.  For more structured access to a virtual machine disk image, you "
23301 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
23302 "make scripted changes to guests, use L<guestfish(1)>."
23303 msgstr ""
23304
23305 #. type: =item
23306 #: ../rescue/virt-rescue.pod:103
23307 msgid "B<--append kernelopts>"
23308 msgstr "B<--append параметри_ядра>"
23309
23310 #. type: textblock
23311 #: ../rescue/virt-rescue.pod:105
23312 msgid "Pass additional options to the rescue kernel."
23313 msgstr ""
23314
23315 #. type: verbatim
23316 #: ../rescue/virt-rescue.pod:135
23317 #, no-wrap
23318 msgid ""
23319 " virt-rescue --format=raw -a disk.img\n"
23320 "\n"
23321 msgstr ""
23322
23323 #. type: verbatim
23324 #: ../rescue/virt-rescue.pod:139
23325 #, no-wrap
23326 msgid ""
23327 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
23328 "\n"
23329 msgstr ""
23330
23331 #. type: =item
23332 #: ../rescue/virt-rescue.pod:148
23333 msgid "B<-m MB>"
23334 msgstr "B<-m МБ>"
23335
23336 #. type: =item
23337 #: ../rescue/virt-rescue.pod:150
23338 msgid "B<--memsize MB>"
23339 msgstr "B<--memsize МБ>"
23340
23341 #. type: textblock
23342 #: ../rescue/virt-rescue.pod:152
23343 msgid ""
23344 "Change the amount of memory allocated to the rescue system.  The default is "
23345 "set by libguestfs and is small but adequate for running system tools.  The "
23346 "occasional program might need more memory.  The parameter is specified in "
23347 "megabytes."
23348 msgstr ""
23349
23350 #. type: =item
23351 #: ../rescue/virt-rescue.pod:157
23352 msgid "B<--network>"
23353 msgstr "B<--network>"
23354
23355 #. type: textblock
23356 #: ../rescue/virt-rescue.pod:159
23357 msgid "Enable QEMU user networking in the guest.  See L</NETWORK>."
23358 msgstr ""
23359
23360 #. type: textblock
23361 #: ../rescue/virt-rescue.pod:165
23362 msgid "Open the image read-only."
23363 msgstr ""
23364
23365 #. type: textblock
23366 #: ../rescue/virt-rescue.pod:175
23367 msgid ""
23368 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
23369 "SELINUX> before using this option."
23370 msgstr ""
23371
23372 #. type: =item
23373 #: ../rescue/virt-rescue.pod:178
23374 msgid "B<--smp> N"
23375 msgstr ""
23376
23377 #. type: textblock
23378 #: ../rescue/virt-rescue.pod:180
23379 msgid "Enable N E<ge> 2 virtual CPUs in the rescue appliance."
23380 msgstr ""
23381
23382 #. type: textblock
23383 #: ../rescue/virt-rescue.pod:198
23384 msgid ""
23385 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
23386 "are done read-write."
23387 msgstr ""
23388
23389 #. type: textblock
23390 #: ../rescue/virt-rescue.pod:211
23391 msgid "Previous versions of virt-rescue allowed you to write either:"
23392 msgstr ""
23393
23394 #. type: verbatim
23395 #: ../rescue/virt-rescue.pod:213
23396 #, no-wrap
23397 msgid ""
23398 " virt-rescue disk.img [disk.img ...]\n"
23399 "\n"
23400 msgstr ""
23401
23402 #. type: verbatim
23403 #: ../rescue/virt-rescue.pod:217
23404 #, no-wrap
23405 msgid ""
23406 " virt-rescue guestname\n"
23407 "\n"
23408 msgstr ""
23409
23410 #. type: =head1
23411 #: ../rescue/virt-rescue.pod:225
23412 msgid "NETWORK"
23413 msgstr "МЕРЕЖА"
23414
23415 #. type: textblock
23416 #: ../rescue/virt-rescue.pod:227
23417 msgid ""
23418 "Adding the I<--network> option enables QEMU user networking in the rescue "
23419 "appliance.  There are some differences between user networking and ordinary "
23420 "networking:"
23421 msgstr ""
23422
23423 #. type: =item
23424 #: ../rescue/virt-rescue.pod:233
23425 msgid "ping does not work"
23426 msgstr ""
23427
23428 #. type: textblock
23429 #: ../rescue/virt-rescue.pod:235
23430 msgid ""
23431 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
23432 "send the ping packets, and because virt-rescue must be able to run as non-"
23433 "root, QEMU user networking is not able to emulate the L<ping(8)> command.  "
23434 "The ping command will appear to resolve addresses but will not be able to "
23435 "send or receive any packets.  This does not mean that the network is not "
23436 "working."
23437 msgstr ""
23438
23439 #. type: =item
23440 #: ../rescue/virt-rescue.pod:242
23441 msgid "cannot receive connections"
23442 msgstr ""
23443
23444 #. type: textblock
23445 #: ../rescue/virt-rescue.pod:244
23446 msgid "QEMU user networking cannot receive incoming connections."
23447 msgstr ""
23448
23449 #. type: =item
23450 #: ../rescue/virt-rescue.pod:246
23451 msgid "making TCP connections"
23452 msgstr ""
23453
23454 #. type: textblock
23455 #: ../rescue/virt-rescue.pod:248
23456 msgid ""
23457 "The virt-rescue appliance needs to be small and so does not include many "
23458 "network tools.  In particular there is no L<telnet(1)> command.  You can "
23459 "make TCP connections from the shell using the magical C</dev/tcp/"
23460 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
23461 msgstr ""
23462
23463 #. type: verbatim
23464 #: ../rescue/virt-rescue.pod:253
23465 #, no-wrap
23466 msgid ""
23467 " exec 3<>/dev/tcp/redhat.com/80\n"
23468 " echo \"GET /\" >&3\n"
23469 " cat <&3\n"
23470 "\n"
23471 msgstr ""
23472
23473 #. type: textblock
23474 #: ../rescue/virt-rescue.pod:257
23475 msgid "See L<bash(1)> for more details."
23476 msgstr ""
23477
23478 #. type: textblock
23479 #: ../rescue/virt-rescue.pod:263
23480 msgid ""
23481 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
23482 "ENVIRONMENT VARIABLES> for the complete list."
23483 msgstr ""
23484
23485 #. type: textblock
23486 #: ../rescue/virt-rescue.pod:290
23487 msgid ""
23488 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<http://"
23489 "libguestfs.org/>."
23490 msgstr ""
23491
23492 #. type: textblock
23493 #: ../resize/virt-resize.pod:5
23494 msgid "virt-resize - Resize a virtual machine disk"
23495 msgstr ""
23496
23497 #. type: verbatim
23498 #: ../resize/virt-resize.pod:9
23499 #, no-wrap
23500 msgid ""
23501 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
23502 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
23503 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
23504 "\n"
23505 msgstr ""
23506
23507 #. type: textblock
23508 #: ../resize/virt-resize.pod:15
23509 msgid ""
23510 "Virt-resize is a tool which can resize a virtual machine disk, making it "
23511 "larger or smaller overall, and resizing or deleting any partitions contained "
23512 "within."
23513 msgstr ""
23514
23515 #. type: textblock
23516 #: ../resize/virt-resize.pod:19
23517 msgid ""
23518 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
23519 "not> be used on live virtual machines - for consistent results, shut the "
23520 "virtual machine down before resizing it."
23521 msgstr ""
23522
23523 #. type: textblock
23524 #: ../resize/virt-resize.pod:23
23525 msgid ""
23526 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
23527 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
23528 msgstr ""
23529
23530 #. type: =item
23531 #: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:597
23532 #: ../sparsify/virt-sparsify.pod:203 ../src/guestfs.pod:484
23533 #: ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
23534 msgid "1."
23535 msgstr "1."
23536
23537 #. type: textblock
23538 #: ../resize/virt-resize.pod:33
23539 msgid ""
23540 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
23541 "fill the extra 5GB of space."
23542 msgstr ""
23543
23544 #. type: verbatim
23545 #: ../resize/virt-resize.pod:36
23546 #, no-wrap
23547 msgid ""
23548 " virt-filesystems --long -h --all -a olddisk\n"
23549 " \n"
23550 msgstr ""
23551
23552 #. type: verbatim
23553 #: ../resize/virt-resize.pod:38
23554 #, no-wrap
23555 msgid ""
23556 " truncate -r olddisk newdisk\n"
23557 " truncate -s +5G newdisk\n"
23558 " \n"
23559 msgstr ""
23560
23561 #. type: verbatim
23562 #: ../resize/virt-resize.pod:41
23563 #, no-wrap
23564 msgid ""
23565 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
23566 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
23567 "\n"
23568 msgstr ""
23569
23570 #. type: =item
23571 #: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:604
23572 #: ../sparsify/virt-sparsify.pod:210 ../src/guestfs.pod:490
23573 #: ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
23574 msgid "2."
23575 msgstr "2."
23576
23577 #. type: textblock
23578 #: ../resize/virt-resize.pod:46
23579 msgid ""
23580 "As above, but make the /boot partition 200MB bigger, while giving the "
23581 "remaining space to /dev/sda2:"
23582 msgstr ""
23583
23584 #. type: verbatim
23585 #: ../resize/virt-resize.pod:49
23586 #, no-wrap
23587 msgid ""
23588 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
23589 "   olddisk newdisk\n"
23590 "\n"
23591 msgstr ""
23592
23593 #. type: =item
23594 #: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:610
23595 #: ../sparsify/virt-sparsify.pod:216 ../src/guestfs.pod:501
23596 #: ../src/guestfs.pod:1451
23597 msgid "3."
23598 msgstr "3."
23599
23600 #. type: textblock
23601 #: ../resize/virt-resize.pod:54
23602 msgid ""
23603 "As in the first example, but expand a logical volume as the final step.  "
23604 "This is what you would typically use for Linux guests that use LVM:"
23605 msgstr ""
23606
23607 #. type: verbatim
23608 #: ../resize/virt-resize.pod:58
23609 #, no-wrap
23610 msgid ""
23611 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
23612 "   olddisk newdisk\n"
23613 "\n"
23614 msgstr ""
23615
23616 #. type: =item
23617 #: ../resize/virt-resize.pod:61
23618 msgid "4."
23619 msgstr ""
23620
23621 #. type: textblock
23622 #: ../resize/virt-resize.pod:63
23623 msgid ""
23624 "As in the first example, but the output format will be qcow2 instead of a "
23625 "raw disk:"
23626 msgstr ""
23627
23628 #. type: verbatim
23629 #: ../resize/virt-resize.pod:66
23630 #, no-wrap
23631 msgid ""
23632 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
23633 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
23634 "\n"
23635 msgstr ""
23636
23637 #. type: =head1
23638 #: ../resize/virt-resize.pod:71
23639 msgid "DETAILED USAGE"
23640 msgstr "ДОКЛАДНІШЕ ЩОДО ВИКОРИСТАННЯ"
23641
23642 #. type: =head2
23643 #: ../resize/virt-resize.pod:73
23644 msgid "EXPANDING A VIRTUAL MACHINE DISK"
23645 msgstr "РОЗШИРЕННЯ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
23646
23647 #. type: =item
23648 #: ../resize/virt-resize.pod:77
23649 msgid "1. Shut down the virtual machine"
23650 msgstr ""
23651
23652 #. type: =item
23653 #: ../resize/virt-resize.pod:79
23654 msgid "2. Locate input disk image"
23655 msgstr ""
23656
23657 #. type: textblock
23658 #: ../resize/virt-resize.pod:81
23659 msgid ""
23660 "Locate the input disk image (ie. the file or device on the host containing "
23661 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
23662 "dumpxml> like this to find the disk image name:"
23663 msgstr ""
23664
23665 #. type: verbatim
23666 #: ../resize/virt-resize.pod:85
23667 #, no-wrap
23668 msgid ""
23669 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
23670 " Found 1 nodes:\n"
23671 " -- NODE --\n"
23672 " <source dev=\"/dev/vg/lv_guest\" />\n"
23673 "\n"
23674 msgstr ""
23675
23676 #. type: =item
23677 #: ../resize/virt-resize.pod:90
23678 msgid "3. Look at current sizing"
23679 msgstr ""
23680
23681 #. type: textblock
23682 #: ../resize/virt-resize.pod:92
23683 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
23684 msgstr ""
23685
23686 #. type: verbatim
23687 #: ../resize/virt-resize.pod:95
23688 #, no-wrap
23689 msgid ""
23690 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
23691 " Name       Type       Size  Parent\n"
23692 " /dev/sda1  partition  101M  /dev/sda\n"
23693 " /dev/sda2  partition  7.9G  /dev/sda\n"
23694 " /dev/sda   device     8.0G  -\n"
23695 "\n"
23696 msgstr ""
23697
23698 #. type: textblock
23699 #: ../resize/virt-resize.pod:101
23700 msgid ""
23701 "(This example is a virtual machine with an 8 GB disk which we would like to "
23702 "expand up to 10 GB)."
23703 msgstr ""
23704
23705 #. type: =item
23706 #: ../resize/virt-resize.pod:104
23707 msgid "4. Create output disk"
23708 msgstr ""
23709
23710 #. type: textblock
23711 #: ../resize/virt-resize.pod:106
23712 msgid ""
23713 "Virt-resize cannot do in-place disk modifications.  You have to have space "
23714 "to store the resized output disk."
23715 msgstr ""
23716
23717 #. type: textblock
23718 #: ../resize/virt-resize.pod:109
23719 msgid ""
23720 "To store the resized disk image in a file, create a file of a suitable size:"
23721 msgstr ""
23722
23723 #. type: verbatim
23724 #: ../resize/virt-resize.pod:112
23725 #, no-wrap
23726 msgid ""
23727 " # rm -f outdisk\n"
23728 " # truncate -s 10G outdisk\n"
23729 "\n"
23730 msgstr ""
23731
23732 #. type: textblock
23733 #: ../resize/virt-resize.pod:115
23734 msgid "Or use L<lvcreate(1)> to create a logical volume:"
23735 msgstr ""
23736
23737 #. type: verbatim
23738 #: ../resize/virt-resize.pod:117
23739 #, no-wrap
23740 msgid ""
23741 " # lvcreate -L 10G -n lv_name vg_name\n"
23742 "\n"
23743 msgstr ""
23744
23745 #. type: textblock
23746 #: ../resize/virt-resize.pod:119
23747 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
23748 msgstr ""
23749
23750 #. type: verbatim
23751 #: ../resize/virt-resize.pod:121
23752 #, no-wrap
23753 msgid ""
23754 " # virsh pool-list\n"
23755 " # virsh vol-create-as poolname newvol 10G\n"
23756 "\n"
23757 msgstr ""
23758
23759 #. type: =item
23760 #: ../resize/virt-resize.pod:124
23761 msgid "5. Resize"
23762 msgstr "5. Зміна розміру"
23763
23764 #. type: textblock
23765 #: ../resize/virt-resize.pod:126
23766 msgid ""
23767 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
23768 "file) and the output disk.  The output disk is the one created in the "
23769 "previous step."
23770 msgstr ""
23771
23772 #. type: verbatim
23773 #: ../resize/virt-resize.pod:130
23774 #, no-wrap
23775 msgid ""
23776 " # virt-resize indisk outdisk\n"
23777 "\n"
23778 msgstr ""
23779
23780 #. type: textblock
23781 #: ../resize/virt-resize.pod:132
23782 msgid ""
23783 "This command just copies disk image C<indisk> to disk image C<outdisk> "
23784 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
23785 "larger, then an extra, empty partition is created at the end of the disk "
23786 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
23787 "error."
23788 msgstr ""
23789
23790 #. type: textblock
23791 #: ../resize/virt-resize.pod:138
23792 msgid ""
23793 "More realistically you'd want to expand existing partitions in the disk "
23794 "image by passing extra options (for the full list see the L</OPTIONS> "
23795 "section below)."
23796 msgstr ""
23797
23798 #. type: textblock
23799 #: ../resize/virt-resize.pod:142
23800 msgid ""
23801 "L</--expand> is the most useful option.  It expands the named partition "
23802 "within the disk to fill any extra space:"
23803 msgstr ""
23804
23805 #. type: verbatim
23806 #: ../resize/virt-resize.pod:145
23807 #, no-wrap
23808 msgid ""
23809 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
23810 "\n"
23811 msgstr ""
23812
23813 #. type: textblock
23814 #: ../resize/virt-resize.pod:147
23815 msgid ""
23816 "(In this case, an extra partition is I<not> created at the end of the disk, "
23817 "because there will be no unused space)."
23818 msgstr ""
23819
23820 #. type: textblock
23821 #: ../resize/virt-resize.pod:150
23822 msgid ""
23823 "L</--resize> is the other commonly used option.  The following would "
23824 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
23825 "rest of the available space:"
23826 msgstr ""
23827
23828 #. type: verbatim
23829 #: ../resize/virt-resize.pod:154
23830 #, no-wrap
23831 msgid ""
23832 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
23833 "     indisk outdisk\n"
23834 "\n"
23835 msgstr ""
23836
23837 #. type: textblock
23838 #: ../resize/virt-resize.pod:157
23839 msgid ""
23840 "If the expanded partition in the image contains a filesystem or LVM PV, then "
23841 "if virt-resize knows how, it will resize the contents, the equivalent of "
23842 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
23843 "or L<btrfs(8)>.  However virt-resize does not know how to resize some "
23844 "filesystems, so you would have to online resize them after booting the guest."
23845 msgstr ""
23846
23847 #. type: textblock
23848 #: ../resize/virt-resize.pod:164
23849 msgid "Other options are covered below."
23850 msgstr ""
23851
23852 #. type: =item
23853 #: ../resize/virt-resize.pod:166
23854 msgid "6. Test"
23855 msgstr "6. Перевірка"
23856
23857 #. type: textblock
23858 #: ../resize/virt-resize.pod:168
23859 msgid "Thoroughly test the new disk image I<before> discarding the old one."
23860 msgstr ""
23861
23862 #. type: textblock
23863 #: ../resize/virt-resize.pod:170
23864 msgid "If you are using libvirt, edit the XML to point at the new disk:"
23865 msgstr ""
23866
23867 #. type: verbatim
23868 #: ../resize/virt-resize.pod:172
23869 #, no-wrap
23870 msgid ""
23871 " # virsh edit guestname\n"
23872 "\n"
23873 msgstr ""
23874
23875 #. type: textblock
23876 #: ../resize/virt-resize.pod:174
23877 msgid ""
23878 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
23879 "html#elementsDisks>"
23880 msgstr ""
23881
23882 #. type: textblock
23883 #: ../resize/virt-resize.pod:177
23884 msgid "Then start up the domain with the new, resized disk:"
23885 msgstr ""
23886
23887 #. type: verbatim
23888 #: ../resize/virt-resize.pod:179
23889 #, no-wrap
23890 msgid ""
23891 " # virsh start guestname\n"
23892 "\n"
23893 msgstr ""
23894
23895 #. type: textblock
23896 #: ../resize/virt-resize.pod:181
23897 msgid ""
23898 "and check that it still works.  See also the L</NOTES> section below for "
23899 "additional information."
23900 msgstr ""
23901
23902 #. type: =item
23903 #: ../resize/virt-resize.pod:184
23904 msgid "7. Resize LVs etc inside the guest"
23905 msgstr ""
23906
23907 #. type: textblock
23908 #: ../resize/virt-resize.pod:186
23909 msgid "(This can also be done offline using L<guestfish(1)>)"
23910 msgstr ""
23911
23912 #. type: textblock
23913 #: ../resize/virt-resize.pod:188
23914 msgid ""
23915 "Once the guest has booted you should see the new space available, at least "
23916 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
23917 "may need to resize LVs inside PVs, and also resize filesystem types that "
23918 "virt-resize does not know how to expand."
23919 msgstr ""
23920
23921 #. type: =head2
23922 #: ../resize/virt-resize.pod:195
23923 msgid "SHRINKING A VIRTUAL MACHINE DISK"
23924 msgstr ""
23925
23926 #. type: textblock
23927 #: ../resize/virt-resize.pod:197
23928 msgid ""
23929 "Shrinking is somewhat more complex than expanding, and only an overview is "
23930 "given here."
23931 msgstr ""
23932
23933 #. type: textblock
23934 #: ../resize/virt-resize.pod:200
23935 msgid ""
23936 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
23937 "filesystems).  The user has to shrink content before passing the disk image "
23938 "to virt-resize, and virt-resize will check that the content has been shrunk "
23939 "properly."
23940 msgstr ""
23941
23942 #. type: textblock
23943 #: ../resize/virt-resize.pod:205
23944 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
23945 msgstr ""
23946
23947 #. type: textblock
23948 #: ../resize/virt-resize.pod:207
23949 msgid ""
23950 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
23951 "steps 3 and 4 above to allocate a new disk image."
23952 msgstr ""
23953
23954 #. type: textblock
23955 #: ../resize/virt-resize.pod:210
23956 msgid ""
23957 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
23958 msgstr ""
23959
23960 #. type: =head2
23961 #: ../resize/virt-resize.pod:213
23962 msgid "IGNORING OR DELETING PARTITIONS"
23963 msgstr ""
23964
23965 #. type: textblock
23966 #: ../resize/virt-resize.pod:215
23967 msgid ""
23968 "virt-resize also gives a convenient way to ignore or delete partitions when "
23969 "copying from the input disk to the output disk.  Ignoring a partition speeds "
23970 "up the copy where you don't care about the existing contents of a "
23971 "partition.  Deleting a partition removes it completely, but note that it "
23972 "also renumbers any partitions after the one which is deleted, which can "
23973 "leave some guests unbootable."
23974 msgstr ""
23975
23976 #. type: =head2
23977 #: ../resize/virt-resize.pod:222
23978 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
23979 msgstr ""
23980
23981 #. type: textblock
23982 #: ../resize/virt-resize.pod:224
23983 msgid ""
23984 "If the input disk is in qcow2 format, then you may prefer that the output is "
23985 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
23986 "the fly.  The output format is simply determined by the format of the empty "
23987 "output container that you provide.  Thus to create qcow2 output, use:"
23988 msgstr ""
23989
23990 #. type: verbatim
23991 #: ../resize/virt-resize.pod:230
23992 #, no-wrap
23993 msgid ""
23994 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
23995 "\n"
23996 msgstr ""
23997
23998 #. type: textblock
23999 #: ../resize/virt-resize.pod:232
24000 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
24001 msgstr ""
24002
24003 #. type: textblock
24004 #: ../resize/virt-resize.pod:234
24005 msgid "Similarly, to get non-sparse raw output use:"
24006 msgstr ""
24007
24008 #. type: verbatim
24009 #: ../resize/virt-resize.pod:236
24010 #, no-wrap
24011 msgid ""
24012 " fallocate -l size outdisk\n"
24013 "\n"
24014 msgstr ""
24015
24016 #. type: textblock
24017 #: ../resize/virt-resize.pod:238
24018 msgid ""
24019 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
24020 "dev/zero of=outdisk bs=1M count=..>)"
24021 msgstr ""
24022
24023 #. type: =head2
24024 #: ../resize/virt-resize.pod:241
24025 msgid "LOGICAL PARTITIONS"
24026 msgstr ""
24027
24028 #. type: textblock
24029 #: ../resize/virt-resize.pod:243
24030 msgid ""
24031 "Logical partitions (a.k.a. C</dev/sda5+> on disks using DOS partition "
24032 "tables) cannot be resized."
24033 msgstr ""
24034
24035 #. type: textblock
24036 #: ../resize/virt-resize.pod:246
24037 msgid ""
24038 "To understand what is going on, firstly one of the four partitions C</dev/"
24039 "sda1-4> will have MBR partition type C<05> or C<0f>.  This is called the "
24040 "B<extended partition>.  Use L<virt-filesystems(1)> to see the MBR partition "
24041 "type."
24042 msgstr ""
24043
24044 #. type: textblock
24045 #: ../resize/virt-resize.pod:251
24046 msgid "Logical partitions live inside the extended partition."
24047 msgstr ""
24048
24049 #. type: textblock
24050 #: ../resize/virt-resize.pod:253
24051 msgid ""
24052 "The extended partition can be expanded, but not shrunk (unless you force it, "
24053 "which is not advisable).  When the extended partition is copied across, all "
24054 "the logical partitions contained inside are copied over implicitly.  Virt-"
24055 "resize does not look inside the extended partition, so it copies the logical "
24056 "partitions blindly."
24057 msgstr ""
24058
24059 #. type: textblock
24060 #: ../resize/virt-resize.pod:259
24061 msgid ""
24062 "You cannot specify a logical partition (C</dev/sda5+>) at all on the command "
24063 "line.  Doing so will give an error."
24064 msgstr ""
24065
24066 #. type: textblock
24067 #: ../resize/virt-resize.pod:268 ../sparsify/virt-sparsify.pod:105
24068 msgid "Display help."
24069 msgstr ""
24070
24071 #. type: =item
24072 #: ../resize/virt-resize.pod:270
24073 msgid "B<--align-first auto>"
24074 msgstr ""
24075
24076 #. type: =item
24077 #: ../resize/virt-resize.pod:272
24078 msgid "B<--align-first never>"
24079 msgstr ""
24080
24081 #. type: =item
24082 #: ../resize/virt-resize.pod:274
24083 msgid "B<--align-first always>"
24084 msgstr ""
24085
24086 #. type: textblock
24087 #: ../resize/virt-resize.pod:276
24088 msgid ""
24089 "Align the first partition for improved performance (see also the I<--"
24090 "alignment> option)."
24091 msgstr ""
24092
24093 #. type: textblock
24094 #: ../resize/virt-resize.pod:279
24095 msgid ""
24096 "The default is I<--align-first auto> which only aligns the first partition "
24097 "if it is safe to do so.  That is, only when we know how to fix the "
24098 "bootloader automatically, and at the moment that can only be done for "
24099 "Windows guests."
24100 msgstr ""
24101
24102 #. type: textblock
24103 #: ../resize/virt-resize.pod:284
24104 msgid ""
24105 "I<--align-first never> means we never move the first partition.  This is the "
24106 "safest option.  Try this if the guest does not boot after resizing."
24107 msgstr ""
24108
24109 #. type: textblock
24110 #: ../resize/virt-resize.pod:288
24111 msgid ""
24112 "I<--align-first always> means we always align the first partition (if it "
24113 "needs to be aligned).  For some guests this will break the bootloader, "
24114 "making the guest unbootable."
24115 msgstr ""
24116
24117 #. type: =item
24118 #: ../resize/virt-resize.pod:292
24119 msgid "B<--alignment N>"
24120 msgstr ""
24121
24122 #. type: textblock
24123 #: ../resize/virt-resize.pod:294
24124 msgid ""
24125 "Set the alignment of partitions to C<N> sectors.  The default in virt-resize "
24126 "E<lt> 1.13.19 was 64 sectors, and after that is 128 sectors."
24127 msgstr ""
24128
24129 #. type: textblock
24130 #: ../resize/virt-resize.pod:298
24131 msgid ""
24132 "Assuming 512 byte sector size inside the guest, here are some suitable "
24133 "values for this:"
24134 msgstr ""
24135
24136 #. type: =item
24137 #: ../resize/virt-resize.pod:303
24138 msgid "I<--alignment 1> (512 bytes)"
24139 msgstr ""
24140
24141 #. type: textblock
24142 #: ../resize/virt-resize.pod:305
24143 msgid ""
24144 "The partitions would be packed together as closely as possible, but would be "
24145 "completely unaligned.  In some cases this can cause very poor performance.  "
24146 "See L<virt-alignment-scan(1)> for further details."
24147 msgstr ""
24148
24149 #. type: =item
24150 #: ../resize/virt-resize.pod:309
24151 msgid "I<--alignment 8> (4K)"
24152 msgstr ""
24153
24154 #. type: textblock
24155 #: ../resize/virt-resize.pod:311
24156 msgid ""
24157 "This would be the minimum acceptable alignment for reasonable performance on "
24158 "modern hosts."
24159 msgstr ""
24160
24161 #. type: =item
24162 #: ../resize/virt-resize.pod:314
24163 msgid "I<--alignment 128> (64K)"
24164 msgstr ""
24165
24166 #. type: textblock
24167 #: ../resize/virt-resize.pod:316
24168 msgid ""
24169 "This alignment provides good performance when the host is using high end "
24170 "network storage."
24171 msgstr ""
24172
24173 #. type: =item
24174 #: ../resize/virt-resize.pod:319
24175 msgid "I<--alignment 2048> (1M)"
24176 msgstr ""
24177
24178 #. type: textblock
24179 #: ../resize/virt-resize.pod:321
24180 msgid ""
24181 "This is the standard alignment used by all newly installed guests since "
24182 "around 2008."
24183 msgstr ""
24184
24185 #. type: =item
24186 #: ../resize/virt-resize.pod:326
24187 msgid "B<-d>"
24188 msgstr "B<-d>"
24189
24190 #. type: =item
24191 #: ../resize/virt-resize.pod:328 ../tools/virt-make-fs.pl:177
24192 #: ../tools/virt-win-reg.pl:120
24193 msgid "B<--debug>"
24194 msgstr "B<--debug>"
24195
24196 #. type: textblock
24197 #: ../resize/virt-resize.pod:330 ../tools/virt-win-reg.pl:122
24198 msgid "Enable debugging messages."
24199 msgstr ""
24200
24201 #. type: =item
24202 #: ../resize/virt-resize.pod:332
24203 msgid "B<--delete part>"
24204 msgstr "B<--delete розділ>"
24205
24206 #. type: textblock
24207 #: ../resize/virt-resize.pod:334
24208 msgid ""
24209 "Delete the named partition.  It would be more accurate to describe this as "
24210 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
24211 "the original disk image is left intact."
24212 msgstr ""
24213
24214 #. type: textblock
24215 #: ../resize/virt-resize.pod:338
24216 msgid ""
24217 "Note that when you delete a partition, then anything contained in the "
24218 "partition is also deleted.  Furthermore, this causes any partitions that "
24219 "come after to be I<renumbered>, which can easily make your guest unbootable."
24220 msgstr ""
24221
24222 #. type: textblock
24223 #: ../resize/virt-resize.pod:343 ../resize/virt-resize.pod:404
24224 #: ../resize/virt-resize.pod:531 ../sparsify/virt-sparsify.pod:145
24225 msgid "You can give this option multiple times."
24226 msgstr ""
24227
24228 #. type: =item
24229 #: ../resize/virt-resize.pod:345
24230 msgid "B<--expand part>"
24231 msgstr "B<--expand розділ>"
24232
24233 #. type: textblock
24234 #: ../resize/virt-resize.pod:347
24235 msgid ""
24236 "Expand the named partition so it uses up all extra space (space left over "
24237 "after any other resize changes that you request have been done)."
24238 msgstr ""
24239
24240 #. type: textblock
24241 #: ../resize/virt-resize.pod:350
24242 msgid ""
24243 "If virt-resize knows how, it will expand the direct content of the "
24244 "partition.  For example, if the partition is an LVM PV, it will expand the "
24245 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
24246 "content it doesn't know about alone."
24247 msgstr ""
24248
24249 #. type: textblock
24250 #: ../resize/virt-resize.pod:355
24251 msgid "Currently virt-resize can resize:"
24252 msgstr ""
24253
24254 #. type: textblock
24255 #: ../resize/virt-resize.pod:361
24256 msgid "ext2, ext3 and ext4 filesystems."
24257 msgstr ""
24258
24259 #. type: textblock
24260 #: ../resize/virt-resize.pod:365
24261 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
24262 msgstr ""
24263
24264 #. type: textblock
24265 #: ../resize/virt-resize.pod:367
24266 msgid ""
24267 "The filesystem must have been shut down consistently last time it was used.  "
24268 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
24269 "consistency check, so at the first boot after resizing Windows will check "
24270 "the disk."
24271 msgstr ""
24272
24273 #. type: textblock
24274 #: ../resize/virt-resize.pod:374
24275 msgid ""
24276 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
24277 "inside the PV, but see the I<--LV-expand> option.  The user could also "
24278 "resize LVs as desired after boot."
24279 msgstr ""
24280
24281 #. type: textblock
24282 #: ../resize/virt-resize.pod:380
24283 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
24284 msgstr ""
24285
24286 #. type: textblock
24287 #: ../resize/virt-resize.pod:384 ../resize/virt-resize.pod:559
24288 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
24289 msgstr ""
24290
24291 #. type: =item
24292 #: ../resize/virt-resize.pod:386 ../sparsify/virt-sparsify.pod:125
24293 #: ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92
24294 #: ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
24295 msgid "B<--format> raw"
24296 msgstr "B<--format> raw"
24297
24298 #. type: textblock
24299 #: ../resize/virt-resize.pod:388 ../sparsify/virt-sparsify.pod:129
24300 msgid ""
24301 "Specify the format of the input disk image.  If this flag is not given then "
24302 "it is auto-detected from the image itself."
24303 msgstr ""
24304
24305 #. type: textblock
24306 #: ../resize/virt-resize.pod:394
24307 msgid ""
24308 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
24309 "AND NON-SPARSE RAW FORMATS>."
24310 msgstr ""
24311
24312 #. type: =item
24313 #: ../resize/virt-resize.pod:397
24314 msgid "B<--ignore part>"
24315 msgstr "B<--ignore розділ>"
24316
24317 #. type: textblock
24318 #: ../resize/virt-resize.pod:399
24319 msgid ""
24320 "Ignore the named partition.  Effectively this means the partition is "
24321 "allocated on the destination disk, but the content is not copied across from "
24322 "the source disk.  The content of the partition will be blank (all zero "
24323 "bytes)."
24324 msgstr ""
24325
24326 #. type: =item
24327 #: ../resize/virt-resize.pod:406
24328 msgid "B<--LV-expand logvol>"
24329 msgstr "B<--LV-expand логічний_том>"
24330
24331 #. type: textblock
24332 #: ../resize/virt-resize.pod:408
24333 msgid ""
24334 "This takes the logical volume and, as a final step, expands it to fill all "
24335 "the space available in its volume group.  A typical usage, assuming a Linux "
24336 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
24337 "lv_root> would be:"
24338 msgstr ""
24339
24340 #. type: verbatim
24341 #: ../resize/virt-resize.pod:413
24342 #, no-wrap
24343 msgid ""
24344 " virt-resize indisk outdisk \\\n"
24345 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
24346 "\n"
24347 msgstr ""
24348
24349 #. type: textblock
24350 #: ../resize/virt-resize.pod:416
24351 msgid ""
24352 "This would first expand the partition (and PV), and then expand the root "
24353 "device to fill the extra space in the PV."
24354 msgstr ""
24355
24356 #. type: textblock
24357 #: ../resize/virt-resize.pod:419
24358 msgid ""
24359 "The contents of the LV are also resized if virt-resize knows how to do "
24360 "that.  You can stop virt-resize from trying to expand the content by using "
24361 "the option I<--no-expand-content>."
24362 msgstr ""
24363
24364 #. type: textblock
24365 #: ../resize/virt-resize.pod:423
24366 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
24367 msgstr ""
24368
24369 #. type: textblock
24370 #: ../resize/virt-resize.pod:425
24371 msgid ""
24372 "You can give this option multiple times, I<but> it doesn't make sense to do "
24373 "this unless the logical volumes you specify are all in different volume "
24374 "groups."
24375 msgstr ""
24376
24377 #. type: =item
24378 #: ../resize/virt-resize.pod:429 ../sparsify/virt-sparsify.pod:147
24379 msgid "B<--machine-readable>"
24380 msgstr ""
24381
24382 #. type: textblock
24383 #: ../resize/virt-resize.pod:431 ../sparsify/virt-sparsify.pod:149
24384 msgid ""
24385 "This option is used to make the output more machine friendly when being "
24386 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
24387 msgstr ""
24388
24389 #. type: =item
24390 #: ../resize/virt-resize.pod:437
24391 msgid "B<--dryrun>"
24392 msgstr "B<--dryrun>"
24393
24394 #. type: textblock
24395 #: ../resize/virt-resize.pod:439
24396 msgid "Print a summary of what would be done, but don't do anything."
24397 msgstr ""
24398
24399 #. type: =item
24400 #: ../resize/virt-resize.pod:441
24401 msgid "B<--no-copy-boot-loader>"
24402 msgstr "B<--no-copy-boot-loader>"
24403
24404 #. type: textblock
24405 #: ../resize/virt-resize.pod:443
24406 msgid ""
24407 "By default, virt-resize copies over some sectors at the start of the disk "
24408 "(up to the beginning of the first partition).  Commonly these sectors "
24409 "contain the Master Boot Record (MBR) and the boot loader, and are required "
24410 "in order for the guest to boot correctly."
24411 msgstr ""
24412
24413 #. type: textblock
24414 #: ../resize/virt-resize.pod:448
24415 msgid ""
24416 "If you specify this flag, then this initial copy is not done.  You may need "
24417 "to reinstall the boot loader in this case."
24418 msgstr ""
24419
24420 #. type: =item
24421 #: ../resize/virt-resize.pod:451
24422 msgid "B<--no-extra-partition>"
24423 msgstr "B<--no-extra-partition>"
24424
24425 #. type: textblock
24426 #: ../resize/virt-resize.pod:453
24427 msgid ""
24428 "By default, virt-resize creates an extra partition if there is any extra, "
24429 "unused space after all resizing has happened.  Use this option to prevent "
24430 "the extra partition from being created.  If you do this then the extra space "
24431 "will be inaccessible until you run fdisk, parted, or some other partitioning "
24432 "tool in the guest."
24433 msgstr ""
24434
24435 #. type: textblock
24436 #: ../resize/virt-resize.pod:459
24437 msgid ""
24438 "Note that if the surplus space is smaller than 10 MB, no extra partition "
24439 "will be created."
24440 msgstr ""
24441
24442 #. type: =item
24443 #: ../resize/virt-resize.pod:462
24444 msgid "B<--no-expand-content>"
24445 msgstr "B<--no-expand-content>"
24446
24447 #. type: textblock
24448 #: ../resize/virt-resize.pod:464
24449 msgid ""
24450 "By default, virt-resize will try to expand the direct contents of "
24451 "partitions, if it knows how (see I<--expand> option above)."
24452 msgstr ""
24453
24454 #. type: textblock
24455 #: ../resize/virt-resize.pod:467
24456 msgid ""
24457 "If you give the I<--no-expand-content> option then virt-resize will not "
24458 "attempt this."
24459 msgstr ""
24460
24461 #. type: =item
24462 #: ../resize/virt-resize.pod:470
24463 msgid "B<--ntfsresize-force>"
24464 msgstr "B<--ntfsresize-force>"
24465
24466 #. type: textblock
24467 #: ../resize/virt-resize.pod:472
24468 msgid ""
24469 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
24470 "the NTFS disk is marked as needing a consistency check.  You have to use "
24471 "this option if you want to resize a Windows guest multiple times without "
24472 "booting into Windows between each resize."
24473 msgstr ""
24474
24475 #. type: =item
24476 #: ../resize/virt-resize.pod:478
24477 msgid "B<--output-format> raw"
24478 msgstr "B<--output-format> raw"
24479
24480 #. type: textblock
24481 #: ../resize/virt-resize.pod:480
24482 msgid ""
24483 "Specify the format of the output disk image.  If this flag is not given then "
24484 "it is auto-detected from the image itself."
24485 msgstr ""
24486
24487 #. type: textblock
24488 #: ../resize/virt-resize.pod:486
24489 msgid ""
24490 "Note that this option I<does not create> the output format.  This option "
24491 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
24492 "need to create the output disk with the right format.  See L</QCOW2 AND NON-"
24493 "SPARSE RAW FORMATS>."
24494 msgstr ""
24495
24496 #. type: textblock
24497 #: ../resize/virt-resize.pod:495
24498 msgid "Don't print the summary."
24499 msgstr ""
24500
24501 #. type: =item
24502 #: ../resize/virt-resize.pod:497
24503 msgid "B<--resize part=size>"
24504 msgstr "B<--resize розділ=розмір>"
24505
24506 #. type: textblock
24507 #: ../resize/virt-resize.pod:499
24508 msgid ""
24509 "Resize the named partition (expanding or shrinking it) so that it has the "
24510 "given size."
24511 msgstr ""
24512
24513 #. type: textblock
24514 #: ../resize/virt-resize.pod:502
24515 msgid ""
24516 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
24517 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
24518 "size; or as a relative number or percentage.  For example:"
24519 msgstr ""
24520
24521 #. type: verbatim
24522 #: ../resize/virt-resize.pod:508
24523 #, no-wrap
24524 msgid ""
24525 " --resize /dev/sda2=10G\n"
24526 "\n"
24527 msgstr ""
24528
24529 #. type: verbatim
24530 #: ../resize/virt-resize.pod:510
24531 #, no-wrap
24532 msgid ""
24533 " --resize /dev/sda4=90%\n"
24534 "\n"
24535 msgstr ""
24536
24537 #. type: verbatim
24538 #: ../resize/virt-resize.pod:512
24539 #, no-wrap
24540 msgid ""
24541 " --resize /dev/sda2=+1G\n"
24542 "\n"
24543 msgstr ""
24544
24545 #. type: verbatim
24546 #: ../resize/virt-resize.pod:514
24547 #, no-wrap
24548 msgid ""
24549 " --resize /dev/sda2=-200M\n"
24550 "\n"
24551 msgstr ""
24552
24553 #. type: verbatim
24554 #: ../resize/virt-resize.pod:516
24555 #, no-wrap
24556 msgid ""
24557 " --resize /dev/sda1=+128K\n"
24558 "\n"
24559 msgstr ""
24560
24561 #. type: verbatim
24562 #: ../resize/virt-resize.pod:518
24563 #, no-wrap
24564 msgid ""
24565 " --resize /dev/sda1=+10%\n"
24566 "\n"
24567 msgstr ""
24568
24569 #. type: verbatim
24570 #: ../resize/virt-resize.pod:520
24571 #, no-wrap
24572 msgid ""
24573 " --resize /dev/sda1=-10%\n"
24574 "\n"
24575 msgstr ""
24576
24577 #. type: textblock
24578 #: ../resize/virt-resize.pod:522
24579 msgid ""
24580 "You can increase the size of any partition.  Virt-resize will expand the "
24581 "direct content of the partition if it knows how (see I<--expand> below)."
24582 msgstr ""
24583
24584 #. type: textblock
24585 #: ../resize/virt-resize.pod:526
24586 msgid ""
24587 "You can only I<decrease> the size of partitions that contain filesystems or "
24588 "PVs which have already been shrunk.  Virt-resize will check this has been "
24589 "done before proceeding, or else will print an error (see also I<--resize-"
24590 "force>)."
24591 msgstr ""
24592
24593 #. type: =item
24594 #: ../resize/virt-resize.pod:533
24595 msgid "B<--resize-force part=size>"
24596 msgstr "B<--resize-force розділ=розмір>"
24597
24598 #. type: textblock
24599 #: ../resize/virt-resize.pod:535
24600 msgid ""
24601 "This is the same as I<--resize> except that it will let you decrease the "
24602 "size of any partition.  Generally this means you will lose any data which "
24603 "was at the end of the partition you shrink, but you may not care about that "
24604 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
24605 "as a swap partition)."
24606 msgstr ""
24607
24608 #. type: textblock
24609 #: ../resize/virt-resize.pod:541
24610 msgid "See also the I<--ignore> option."
24611 msgstr ""
24612
24613 #. type: =item
24614 #: ../resize/virt-resize.pod:543
24615 msgid "B<--shrink part>"
24616 msgstr "B<--shrink розділ>"
24617
24618 #. type: textblock
24619 #: ../resize/virt-resize.pod:545
24620 msgid ""
24621 "Shrink the named partition until the overall disk image fits in the "
24622 "destination.  The named partition B<must> contain a filesystem or PV which "
24623 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
24624 "online tools).  Virt-resize will check this and give an error if it has not "
24625 "been done."
24626 msgstr ""
24627
24628 #. type: textblock
24629 #: ../resize/virt-resize.pod:551
24630 msgid ""
24631 "The amount by which the overall disk must be shrunk (after carrying out all "
24632 "other operations requested by the user) is called the \"deficit\".  For "
24633 "example, a straight copy (assume no other operations)  from a 5GB disk image "
24634 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
24635 "would give an error unless the user specified a partition to shrink and that "
24636 "partition had more than a gigabyte of free space."
24637 msgstr ""
24638
24639 #. type: =head1
24640 #: ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:177
24641 msgid "MACHINE READABLE OUTPUT"
24642 msgstr ""
24643
24644 #. type: textblock
24645 #: ../resize/virt-resize.pod:571
24646 msgid ""
24647 "The I<--machine-readable> option can be used to make the output more machine "
24648 "friendly, which is useful when calling virt-resize from other programs, GUIs "
24649 "etc."
24650 msgstr ""
24651
24652 #. type: textblock
24653 #: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:183
24654 msgid "There are two ways to use this option."
24655 msgstr ""
24656
24657 #. type: textblock
24658 #: ../resize/virt-resize.pod:577
24659 msgid ""
24660 "Firstly use the option on its own to query the capabilities of the virt-"
24661 "resize binary.  Typical output looks like this:"
24662 msgstr ""
24663
24664 #. type: verbatim
24665 #: ../resize/virt-resize.pod:580
24666 #, no-wrap
24667 msgid ""
24668 " $ virt-resize --machine-readable\n"
24669 " virt-resize\n"
24670 " ntfsresize-force\n"
24671 " 32bitok\n"
24672 " ntfs\n"
24673 " btrfs\n"
24674 "\n"
24675 msgstr ""
24676
24677 #. type: textblock
24678 #: ../resize/virt-resize.pod:587 ../sparsify/virt-sparsify.pod:193
24679 msgid ""
24680 "A list of features is printed, one per line, and the program exits with "
24681 "status 0."
24682 msgstr ""
24683
24684 #. type: textblock
24685 #: ../resize/virt-resize.pod:590 ../sparsify/virt-sparsify.pod:196
24686 msgid ""
24687 "Secondly use the option in conjunction with other options to make the "
24688 "regular program output more machine friendly."
24689 msgstr ""
24690
24691 #. type: textblock
24692 #: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:199
24693 msgid "At the moment this means:"
24694 msgstr ""
24695
24696 #. type: textblock
24697 #: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:205
24698 msgid ""
24699 "Progress bar messages can be parsed from stdout by looking for this regular "
24700 "expression:"
24701 msgstr ""
24702
24703 #. type: verbatim
24704 #: ../resize/virt-resize.pod:602 ../sparsify/virt-sparsify.pod:208
24705 #, no-wrap
24706 msgid ""
24707 " ^[0-9]+/[0-9]+$\n"
24708 "\n"
24709 msgstr ""
24710
24711 #. type: textblock
24712 #: ../resize/virt-resize.pod:606 ../sparsify/virt-sparsify.pod:212
24713 msgid ""
24714 "The calling program should treat messages sent to stdout (except for "
24715 "progress bar messages) as status messages.  They can be logged and/or "
24716 "displayed to the user."
24717 msgstr ""
24718
24719 #. type: textblock
24720 #: ../resize/virt-resize.pod:612
24721 msgid ""
24722 "The calling program should treat messages sent to stderr as error messages.  "
24723 "In addition, virt-resize exits with a non-zero status code if there was a "
24724 "fatal error."
24725 msgstr ""
24726
24727 #. type: textblock
24728 #: ../resize/virt-resize.pod:618
24729 msgid ""
24730 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
24731 "readable> option and will return an error."
24732 msgstr ""
24733
24734 #. type: =head2
24735 #: ../resize/virt-resize.pod:623
24736 msgid "\"Partition 1 does not end on cylinder boundary.\""
24737 msgstr ""
24738
24739 #. type: textblock
24740 #: ../resize/virt-resize.pod:625
24741 msgid ""
24742 "Virt-resize aligns partitions to multiples of 128 sectors (see the I<--"
24743 "alignment> parameter).  Usually this means the partitions will not be "
24744 "aligned to the ancient CHS geometry.  However CHS geometry is meaningless "
24745 "for disks manufactured since the early 1990s, and doubly so for virtual hard "
24746 "drives.  Alignment of partitions to cylinders is not required by any modern "
24747 "operating system."
24748 msgstr ""
24749
24750 #. type: =head2
24751 #: ../resize/virt-resize.pod:632
24752 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
24753 msgstr ""
24754
24755 #. type: textblock
24756 #: ../resize/virt-resize.pod:634
24757 msgid ""
24758 "In Windows Vista and later versions, Microsoft switched to using a separate "
24759 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
24760 "and C</dev/sda2> is the main (C:) drive.  Resizing the first (boot) "
24761 "partition causes the bootloader to fail with C<0xC0000225> error.  Resizing "
24762 "the second partition (ie. C: drive)  should work."
24763 msgstr ""
24764
24765 #. type: textblock
24766 #: ../resize/virt-resize.pod:641
24767 msgid ""
24768 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
24769 "NTFS partitions have been expanded.  This is just a safety check and (unless "
24770 "it find errors) is nothing to worry about."
24771 msgstr ""
24772
24773 #. type: =head2
24774 #: ../resize/virt-resize.pod:645
24775 msgid "GUEST BOOT STUCK AT \"GRUB\""
24776 msgstr ""
24777
24778 #. type: textblock
24779 #: ../resize/virt-resize.pod:647
24780 msgid ""
24781 "If a Linux guest does not boot after resizing, and the boot is stuck after "
24782 "printing C<GRUB> on the console, try reinstalling grub."
24783 msgstr ""
24784
24785 #. type: verbatim
24786 #: ../resize/virt-resize.pod:650
24787 #, no-wrap
24788 msgid ""
24789 " guestfish -i -a newdisk\n"
24790 " ><fs> cat /boot/grub/device.map\n"
24791 " # check the contents of this file are sensible or\n"
24792 " # edit the file if necessary\n"
24793 " ><fs> grub-install / /dev/vda\n"
24794 " ><fs> exit\n"
24795 "\n"
24796 msgstr ""
24797
24798 #. type: textblock
24799 #: ../resize/virt-resize.pod:657
24800 msgid ""
24801 "For more flexible guest reconfiguration, including if you need to specify "
24802 "other parameters to grub-install, use L<virt-rescue(1)>."
24803 msgstr ""
24804
24805 #. type: =head1
24806 #: ../resize/virt-resize.pod:660
24807 msgid "ALTERNATIVE TOOLS"
24808 msgstr ""
24809
24810 #. type: textblock
24811 #: ../resize/virt-resize.pod:662
24812 msgid ""
24813 "There are several proprietary tools for resizing partitions.  We won't "
24814 "mention any here."
24815 msgstr ""
24816
24817 #. type: textblock
24818 #: ../resize/virt-resize.pod:665
24819 msgid ""
24820 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
24821 "operations on disk images.  They can resize and move partitions, but I don't "
24822 "think they can do anything with the contents, and they certainly don't "
24823 "understand LVM."
24824 msgstr ""
24825
24826 #. type: textblock
24827 #: ../resize/virt-resize.pod:670
24828 msgid ""
24829 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
24830 "but at a much lower level.  You will probably end up hand-calculating sector "
24831 "offsets, which is something that virt-resize was designed to avoid.  If you "
24832 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
24833 "I<--debug> flag."
24834 msgstr ""
24835
24836 #. type: textblock
24837 #: ../resize/virt-resize.pod:690
24838 msgid ""
24839 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
24840 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
24841 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
24842 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<virt-sparsify(1)>, "
24843 "L<virt-alignment-scan(1)>, L<http://libguestfs.org/>."
24844 msgstr ""
24845
24846 #. type: textblock
24847 #: ../ruby/examples/guestfs-ruby.pod:5
24848 msgid "guestfs-ruby - How to use libguestfs from Ruby"
24849 msgstr ""
24850
24851 #. type: verbatim
24852 #: ../ruby/examples/guestfs-ruby.pod:9
24853 #, no-wrap
24854 msgid ""
24855 " require 'guestfs'\n"
24856 " g = Guestfs::Guestfs.new()\n"
24857 " g.add_drive_opts(\"disk.img\",\n"
24858 "                  :readonly => 1, :format => \"raw\")\n"
24859 " g.launch()\n"
24860 "\n"
24861 msgstr ""
24862
24863 #. type: textblock
24864 #: ../ruby/examples/guestfs-ruby.pod:17
24865 msgid ""
24866 "This manual page documents how to call libguestfs from the Ruby programming "
24867 "language.  This page just documents the differences from the C API and gives "
24868 "some examples.  If you are not familiar with using libguestfs, you also need "
24869 "to read L<guestfs(3)>."
24870 msgstr ""
24871
24872 #. type: textblock
24873 #: ../ruby/examples/guestfs-ruby.pod:24
24874 msgid ""
24875 "Errors from libguestfs functions are mapped into the C<Error> exception.  "
24876 "This has a single parameter which is the error message (a string)."
24877 msgstr ""
24878
24879 #. type: textblock
24880 #: ../ruby/examples/guestfs-ruby.pod:38
24881 msgid ""
24882 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
24883 "(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, "
24884 "L<guestfs-recipes(1)>, L<http://libguestfs.org/>."
24885 msgstr ""
24886
24887 #. type: textblock
24888 #: ../sparsify/virt-sparsify.pod:5
24889 msgid "virt-sparsify - Make a virtual machine disk sparse"
24890 msgstr ""
24891
24892 #. type: verbatim
24893 #: ../sparsify/virt-sparsify.pod:9
24894 #, no-wrap
24895 msgid ""
24896 " virt-sparsify [--options] indisk outdisk\n"
24897 "\n"
24898 msgstr ""
24899
24900 #. type: textblock
24901 #: ../sparsify/virt-sparsify.pod:13
24902 msgid ""
24903 "Virt-sparsify is a tool which can make a virtual machine disk (or any disk "
24904 "image) sparse a.k.a. thin-provisioned.  This means that free space within "
24905 "the disk image can be converted back to free space on the host."
24906 msgstr ""
24907
24908 #. type: textblock
24909 #: ../sparsify/virt-sparsify.pod:18
24910 msgid ""
24911 "Virt-sparsify can locate and sparsify free space in most filesystems (eg. "
24912 "ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes."
24913 msgstr ""
24914
24915 #. type: textblock
24916 #: ../sparsify/virt-sparsify.pod:21
24917 msgid ""
24918 "Virt-sparsify can also convert between some disk formats, for example "
24919 "converting a raw disk image to a thin-provisioned qcow2 image."
24920 msgstr ""
24921
24922 #. type: textblock
24923 #: ../sparsify/virt-sparsify.pod:24
24924 msgid ""
24925 "Virt-sparsify can operate on any disk image, not just ones from virtual "
24926 "machines.  If a virtual machine has more than one attached disk, you must "
24927 "sparsify each one separately."
24928 msgstr ""
24929
24930 #. type: =head2
24931 #: ../sparsify/virt-sparsify.pod:28
24932 msgid "IMPORTANT LIMITATIONS"
24933 msgstr ""
24934
24935 #. type: textblock
24936 #: ../sparsify/virt-sparsify.pod:34
24937 msgid ""
24938 "Virt-sparsify does not do in-place modifications.  It copies from a source "
24939 "image to a destination image, leaving the source unchanged.  I<Check that "
24940 "the sparsification was successful before deleting the source image>."
24941 msgstr ""
24942
24943 #. type: textblock
24944 #: ../sparsify/virt-sparsify.pod:41
24945 msgid "The virtual machine I<must be shut down> before using this tool."
24946 msgstr ""
24947
24948 #. type: textblock
24949 #: ../sparsify/virt-sparsify.pod:45
24950 msgid ""
24951 "Virt-sparsify may require up to 2x the virtual size of the source disk image "
24952 "(1 temporary copy + 1 destination image).  This is in the worst case and "
24953 "usually much less space is required."
24954 msgstr ""
24955
24956 #. type: textblock
24957 #: ../sparsify/virt-sparsify.pod:51
24958 msgid ""
24959 "Virt-sparsify cannot resize disk images.  To do that, use L<virt-resize(1)>."
24960 msgstr ""
24961
24962 #. type: textblock
24963 #: ../sparsify/virt-sparsify.pod:56
24964 msgid "Virt-sparsify cannot handle encrypted disks."
24965 msgstr ""
24966
24967 #. type: textblock
24968 #: ../sparsify/virt-sparsify.pod:60
24969 msgid ""
24970 "Virt-sparsify cannot yet sparsify the space between partitions.  Note that "
24971 "this space is often used for critical items like bootloaders so it's not "
24972 "really unused."
24973 msgstr ""
24974
24975 #. type: textblock
24976 #: ../sparsify/virt-sparsify.pod:66
24977 msgid ""
24978 "Virt-sparsify does not yet know how to sparsify swapspace.  It is not safe "
24979 "to do this unless we can be sure there is no hibernation data, so at the "
24980 "moment swap partitions are ignored."
24981 msgstr ""
24982
24983 #. type: textblock
24984 #: ../sparsify/virt-sparsify.pod:72
24985 msgid ""
24986 "You may also want to read the manual pages for the associated tools L<virt-"
24987 "filesystems(1)> and L<virt-df(1)> before starting."
24988 msgstr ""
24989
24990 #. type: textblock
24991 #: ../sparsify/virt-sparsify.pod:77
24992 msgid "Typical usage is:"
24993 msgstr ""
24994
24995 #. type: verbatim
24996 #: ../sparsify/virt-sparsify.pod:79
24997 #, no-wrap
24998 msgid ""
24999 " virt-sparsify indisk outdisk\n"
25000 "\n"
25001 msgstr ""
25002
25003 #. type: textblock
25004 #: ../sparsify/virt-sparsify.pod:81
25005 msgid ""
25006 "which copies C<indisk> to C<outdisk>, making the output sparse.  C<outdisk> "
25007 "is created, or overwritten if it already exists.  The format of the input "
25008 "disk is detected (eg. qcow2) and the same format is used for the output disk."
25009 msgstr ""
25010
25011 #. type: textblock
25012 #: ../sparsify/virt-sparsify.pod:86
25013 msgid "To convert between formats, use the I<--convert> option:"
25014 msgstr ""
25015
25016 #. type: verbatim
25017 #: ../sparsify/virt-sparsify.pod:88
25018 #, no-wrap
25019 msgid ""
25020 " virt-sparsify disk.raw --convert qcow2 disk.qcow2\n"
25021 "\n"
25022 msgstr ""
25023
25024 #. type: textblock
25025 #: ../sparsify/virt-sparsify.pod:90
25026 msgid ""
25027 "Virt-sparsify tries to zero and sparsify free space on every filesystem it "
25028 "can find within the source disk image.  You can get it to ignore (don't zero "
25029 "free space on) certain filesystems by doing:"
25030 msgstr ""
25031
25032 #. type: verbatim
25033 #: ../sparsify/virt-sparsify.pod:94
25034 #, no-wrap
25035 msgid ""
25036 " virt-sparsify --ignore /dev/sda1 indisk outdisk\n"
25037 "\n"
25038 msgstr ""
25039
25040 #. type: textblock
25041 #: ../sparsify/virt-sparsify.pod:96
25042 msgid ""
25043 "See L<virt-filesystems(1)> to get a list of filesystems within a disk image."
25044 msgstr ""
25045
25046 #. type: =item
25047 #: ../sparsify/virt-sparsify.pod:107
25048 msgid "B<--convert> raw"
25049 msgstr ""
25050
25051 #. type: =item
25052 #: ../sparsify/virt-sparsify.pod:109
25053 msgid "B<--convert> qcow2"
25054 msgstr ""
25055
25056 #. type: =item
25057 #: ../sparsify/virt-sparsify.pod:111
25058 msgid "B<--convert> [other formats]"
25059 msgstr ""
25060
25061 #. type: textblock
25062 #: ../sparsify/virt-sparsify.pod:113
25063 msgid ""
25064 "Use C<output-format> as the format for the destination image.  If this is "
25065 "not specified, then the input format is used."
25066 msgstr ""
25067
25068 #. type: textblock
25069 #: ../sparsify/virt-sparsify.pod:116
25070 msgid "Supported and known-working output formats are: C<raw>, C<qcow2>."
25071 msgstr ""
25072
25073 #. type: textblock
25074 #: ../sparsify/virt-sparsify.pod:118
25075 msgid ""
25076 "You can also use any format supported by the L<qemu-img(1)> program, eg. "
25077 "C<vdi> or C<vmdk>, but support for other formats is reliant on qemu."
25078 msgstr ""
25079
25080 #. type: textblock
25081 #: ../sparsify/virt-sparsify.pod:122
25082 msgid ""
25083 "Specifying the I<--convert> option is usually a good idea, because then virt-"
25084 "sparsify doesn't need to try to guess the input format."
25085 msgstr ""
25086
25087 #. type: =item
25088 #: ../sparsify/virt-sparsify.pod:127
25089 msgid "B<--format> qcow2"
25090 msgstr ""
25091
25092 #. type: =item
25093 #: ../sparsify/virt-sparsify.pod:135
25094 msgid "B<--ignore> filesystem"
25095 msgstr ""
25096
25097 #. type: =item
25098 #: ../sparsify/virt-sparsify.pod:137
25099 msgid "B<--ignore> volgroup"
25100 msgstr ""
25101
25102 #. type: textblock
25103 #: ../sparsify/virt-sparsify.pod:139
25104 msgid ""
25105 "Ignore the named filesystem.  Free space on the filesystem will not be "
25106 "zeroed, but existing blocks of zeroes will still be sparsified."
25107 msgstr ""
25108
25109 #. type: textblock
25110 #: ../sparsify/virt-sparsify.pod:142
25111 msgid ""
25112 "In the second form, this ignores the named volume group.  Use the volume "
25113 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
25114 msgstr ""
25115
25116 #. type: textblock
25117 #: ../sparsify/virt-sparsify.pod:157
25118 msgid "This disables progress bars and other unnecessary output."
25119 msgstr ""
25120
25121 #. type: textblock
25122 #: ../sparsify/virt-sparsify.pod:179
25123 msgid ""
25124 "The I<--machine-readable> option can be used to make the output more machine "
25125 "friendly, which is useful when calling virt-sparsify from other programs, "
25126 "GUIs etc."
25127 msgstr ""
25128
25129 #. type: textblock
25130 #: ../sparsify/virt-sparsify.pod:185
25131 msgid ""
25132 "Firstly use the option on its own to query the capabilities of the virt-"
25133 "sparsify binary.  Typical output looks like this:"
25134 msgstr ""
25135
25136 #. type: verbatim
25137 #: ../sparsify/virt-sparsify.pod:188
25138 #, no-wrap
25139 msgid ""
25140 " $ virt-sparsify --machine-readable\n"
25141 " virt-sparsify\n"
25142 " ntfs\n"
25143 " btrfs\n"
25144 "\n"
25145 msgstr ""
25146
25147 #. type: textblock
25148 #: ../sparsify/virt-sparsify.pod:218
25149 msgid ""
25150 "The calling program should treat messages sent to stderr as error messages.  "
25151 "In addition, virt-sparsify exits with a non-zero status code if there was a "
25152 "fatal error."
25153 msgstr ""
25154
25155 #. type: textblock
25156 #: ../sparsify/virt-sparsify.pod:224
25157 msgid ""
25158 "All versions of virt-sparsify have supported the I<--machine-readable> "
25159 "option."
25160 msgstr ""
25161
25162 #. type: textblock
25163 #: ../sparsify/virt-sparsify.pod:238
25164 msgid ""
25165 "Location of the temporary directory used for the potentially large temporary "
25166 "overlay file."
25167 msgstr ""
25168
25169 #. type: textblock
25170 #: ../sparsify/virt-sparsify.pod:241
25171 msgid ""
25172 "You should ensure there is enough free space in the worst case for a full "
25173 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
25174 "to another directory that has enough space."
25175 msgstr ""
25176
25177 #. type: textblock
25178 #: ../sparsify/virt-sparsify.pod:245
25179 msgid "This defaults to C</tmp>."
25180 msgstr ""
25181
25182 #. type: textblock
25183 #: ../sparsify/virt-sparsify.pod:249
25184 msgid ""
25185 "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
25186 msgstr ""
25187
25188 #. type: textblock
25189 #: ../sparsify/virt-sparsify.pod:253
25190 msgid ""
25191 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>, "
25192 "L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, L<qemu-img"
25193 "(1)>, L<http://libguestfs.org/>."
25194 msgstr ""
25195
25196 #. type: =head2
25197 #: ../src/guestfs-actions.pod:1
25198 msgid "guestfs_add_cdrom"
25199 msgstr ""
25200
25201 #. type: verbatim
25202 #: ../src/guestfs-actions.pod:3
25203 #, no-wrap
25204 msgid ""
25205 " int\n"
25206 " guestfs_add_cdrom (guestfs_h *g,\n"
25207 "                    const char *filename);\n"
25208 "\n"
25209 msgstr ""
25210
25211 #. type: textblock
25212 #: ../src/guestfs-actions.pod:7 ../src/guestfs-actions.pod:302
25213 #: ../src/guestfs-actions.pod:323
25214 msgid ""
25215 "I<This function is deprecated.> In new code, use the L</"
25216 "guestfs_add_drive_opts> call instead."
25217 msgstr ""
25218
25219 #. type: textblock
25220 #: ../src/guestfs-actions.pod:24
25221 msgid ""
25222 "This call checks for the existence of C<filename>.  This stops you from "
25223 "specifying other types of drive which are supported by qemu such as C<nbd:> "
25224 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
25225 "instead."
25226 msgstr ""
25227
25228 #. type: textblock
25229 #: ../src/guestfs-actions.pod:31
25230 msgid ""
25231 "If you just want to add an ISO file (often you use this as an efficient way "
25232 "to transfer large files into the guest), then you should probably use "
25233 "C<guestfs_add_drive_ro> instead."
25234 msgstr ""
25235
25236 #. type: textblock
25237 #: ../src/guestfs-actions.pod:37 ../src/guestfs-actions.pod:187
25238 #: ../src/guestfs-actions.pod:254 ../src/guestfs-actions.pod:291
25239 #: ../src/guestfs-actions.pod:312 ../src/guestfs-actions.pod:333
25240 #: ../src/guestfs-actions.pod:346 ../src/guestfs-actions.pod:360
25241 #: ../src/guestfs-actions.pod:480 ../src/guestfs-actions.pod:500
25242 #: ../src/guestfs-actions.pod:514 ../src/guestfs-actions.pod:559
25243 #: ../src/guestfs-actions.pod:587 ../src/guestfs-actions.pod:605
25244 #: ../src/guestfs-actions.pod:672 ../src/guestfs-actions.pod:705
25245 #: ../src/guestfs-actions.pod:719 ../src/guestfs-actions.pod:734
25246 #: ../src/guestfs-actions.pod:833 ../src/guestfs-actions.pod:851
25247 #: ../src/guestfs-actions.pod:865 ../src/guestfs-actions.pod:879
25248 #: ../src/guestfs-actions.pod:916 ../src/guestfs-actions.pod:1099
25249 #: ../src/guestfs-actions.pod:1119 ../src/guestfs-actions.pod:1137
25250 #: ../src/guestfs-actions.pod:1227 ../src/guestfs-actions.pod:1286
25251 #: ../src/guestfs-actions.pod:1332 ../src/guestfs-actions.pod:1372
25252 #: ../src/guestfs-actions.pod:1425 ../src/guestfs-actions.pod:1478
25253 #: ../src/guestfs-actions.pod:1536 ../src/guestfs-actions.pod:1590
25254 #: ../src/guestfs-actions.pod:1609 ../src/guestfs-actions.pod:1623
25255 #: ../src/guestfs-actions.pod:1651 ../src/guestfs-actions.pod:1721
25256 #: ../src/guestfs-actions.pod:1752 ../src/guestfs-actions.pod:1777
25257 #: ../src/guestfs-actions.pod:1819 ../src/guestfs-actions.pod:1932
25258 #: ../src/guestfs-actions.pod:1959 ../src/guestfs-actions.pod:2174
25259 #: ../src/guestfs-actions.pod:2196 ../src/guestfs-actions.pod:2283
25260 #: ../src/guestfs-actions.pod:2791 ../src/guestfs-actions.pod:2935
25261 #: ../src/guestfs-actions.pod:2996 ../src/guestfs-actions.pod:3031
25262 #: ../src/guestfs-actions.pod:4088 ../src/guestfs-actions.pod:4103
25263 #: ../src/guestfs-actions.pod:4128 ../src/guestfs-actions.pod:4317
25264 #: ../src/guestfs-actions.pod:4331 ../src/guestfs-actions.pod:4344
25265 #: ../src/guestfs-actions.pod:4358 ../src/guestfs-actions.pod:4373
25266 #: ../src/guestfs-actions.pod:4409 ../src/guestfs-actions.pod:4481
25267 #: ../src/guestfs-actions.pod:4501 ../src/guestfs-actions.pod:4518
25268 #: ../src/guestfs-actions.pod:4538 ../src/guestfs-actions.pod:4558
25269 #: ../src/guestfs-actions.pod:4593 ../src/guestfs-actions.pod:4612
25270 #: ../src/guestfs-actions.pod:4631 ../src/guestfs-actions.pod:4666
25271 #: ../src/guestfs-actions.pod:4678 ../src/guestfs-actions.pod:4711
25272 #: ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:4740
25273 #: ../src/guestfs-actions.pod:4755 ../src/guestfs-actions.pod:4772
25274 #: ../src/guestfs-actions.pod:4865 ../src/guestfs-actions.pod:4885
25275 #: ../src/guestfs-actions.pod:4898 ../src/guestfs-actions.pod:4949
25276 #: ../src/guestfs-actions.pod:4967 ../src/guestfs-actions.pod:4985
25277 #: ../src/guestfs-actions.pod:5001 ../src/guestfs-actions.pod:5015
25278 #: ../src/guestfs-actions.pod:5029 ../src/guestfs-actions.pod:5046
25279 #: ../src/guestfs-actions.pod:5061 ../src/guestfs-actions.pod:5088
25280 #: ../src/guestfs-actions.pod:5151 ../src/guestfs-actions.pod:5224
25281 #: ../src/guestfs-actions.pod:5255 ../src/guestfs-actions.pod:5274
25282 #: ../src/guestfs-actions.pod:5293 ../src/guestfs-actions.pod:5305
25283 #: ../src/guestfs-actions.pod:5322 ../src/guestfs-actions.pod:5335
25284 #: ../src/guestfs-actions.pod:5350 ../src/guestfs-actions.pod:5365
25285 #: ../src/guestfs-actions.pod:5397 ../src/guestfs-actions.pod:5423
25286 #: ../src/guestfs-actions.pod:5462 ../src/guestfs-actions.pod:5482
25287 #: ../src/guestfs-actions.pod:5496 ../src/guestfs-actions.pod:5513
25288 #: ../src/guestfs-actions.pod:5562 ../src/guestfs-actions.pod:5615
25289 #: ../src/guestfs-actions.pod:5662 ../src/guestfs-actions.pod:5705
25290 #: ../src/guestfs-actions.pod:5733 ../src/guestfs-actions.pod:5750
25291 #: ../src/guestfs-actions.pod:5768 ../src/guestfs-actions.pod:5905
25292 #: ../src/guestfs-actions.pod:5962 ../src/guestfs-actions.pod:5984
25293 #: ../src/guestfs-actions.pod:6002 ../src/guestfs-actions.pod:6054
25294 #: ../src/guestfs-actions.pod:6120 ../src/guestfs-actions.pod:6137
25295 #: ../src/guestfs-actions.pod:6150 ../src/guestfs-actions.pod:6164
25296 #: ../src/guestfs-actions.pod:6453 ../src/guestfs-actions.pod:6472
25297 #: ../src/guestfs-actions.pod:6491 ../src/guestfs-actions.pod:6505
25298 #: ../src/guestfs-actions.pod:6517 ../src/guestfs-actions.pod:6531
25299 #: ../src/guestfs-actions.pod:6543 ../src/guestfs-actions.pod:6557
25300 #: ../src/guestfs-actions.pod:6573 ../src/guestfs-actions.pod:6591
25301 #: ../src/guestfs-actions.pod:6610 ../src/guestfs-actions.pod:6629
25302 #: ../src/guestfs-actions.pod:6659 ../src/guestfs-actions.pod:6677
25303 #: ../src/guestfs-actions.pod:6700 ../src/guestfs-actions.pod:6718
25304 #: ../src/guestfs-actions.pod:6737 ../src/guestfs-actions.pod:6758
25305 #: ../src/guestfs-actions.pod:6777 ../src/guestfs-actions.pod:6794
25306 #: ../src/guestfs-actions.pod:6813 ../src/guestfs-actions.pod:6841
25307 #: ../src/guestfs-actions.pod:6865 ../src/guestfs-actions.pod:6884
25308 #: ../src/guestfs-actions.pod:6900 ../src/guestfs-actions.pod:6924
25309 #: ../src/guestfs-actions.pod:6943 ../src/guestfs-actions.pod:6958
25310 #: ../src/guestfs-actions.pod:6977 ../src/guestfs-actions.pod:7021
25311 #: ../src/guestfs-actions.pod:7048 ../src/guestfs-actions.pod:7078
25312 #: ../src/guestfs-actions.pod:7190 ../src/guestfs-actions.pod:7311
25313 #: ../src/guestfs-actions.pod:7323 ../src/guestfs-actions.pod:7336
25314 #: ../src/guestfs-actions.pod:7349 ../src/guestfs-actions.pod:7371
25315 #: ../src/guestfs-actions.pod:7384 ../src/guestfs-actions.pod:7397
25316 #: ../src/guestfs-actions.pod:7410 ../src/guestfs-actions.pod:7425
25317 #: ../src/guestfs-actions.pod:7484 ../src/guestfs-actions.pod:7501
25318 #: ../src/guestfs-actions.pod:7517 ../src/guestfs-actions.pod:7533
25319 #: ../src/guestfs-actions.pod:7550 ../src/guestfs-actions.pod:7563
25320 #: ../src/guestfs-actions.pod:7583 ../src/guestfs-actions.pod:7619
25321 #: ../src/guestfs-actions.pod:7633 ../src/guestfs-actions.pod:7674
25322 #: ../src/guestfs-actions.pod:7687 ../src/guestfs-actions.pod:7705
25323 #: ../src/guestfs-actions.pod:7739 ../src/guestfs-actions.pod:7775
25324 #: ../src/guestfs-actions.pod:7891 ../src/guestfs-actions.pod:7906
25325 #: ../src/guestfs-actions.pod:7920 ../src/guestfs-actions.pod:7975
25326 #: ../src/guestfs-actions.pod:7988 ../src/guestfs-actions.pod:8033
25327 #: ../src/guestfs-actions.pod:8073 ../src/guestfs-actions.pod:8129
25328 #: ../src/guestfs-actions.pod:8149 ../src/guestfs-actions.pod:8182
25329 #: ../src/guestfs-actions.pod:8246 ../src/guestfs-actions.pod:8269
25330 #: ../src/guestfs-actions.pod:8295
25331 msgid "This function returns 0 on success or -1 on error."
25332 msgstr ""
25333
25334 #. type: textblock
25335 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:189
25336 #: ../src/guestfs-actions.pod:1334 ../src/guestfs-actions.pod:2397
25337 #: ../src/guestfs-actions.pod:2495 ../src/guestfs-actions.pod:2620
25338 #: ../src/guestfs-actions.pod:4090 ../src/guestfs-actions.pod:4110
25339 #: ../src/guestfs-actions.pod:5399 ../src/guestfs-actions.pod:6679
25340 #: ../src/guestfs-actions.pod:6796 ../src/guestfs-actions.pod:6945
25341 #: ../src/guestfs-actions.pod:7427 ../src/guestfs-actions.pod:7552
25342 #: ../src/guestfs-actions.pod:8075
25343 msgid "(Added in 0.3)"
25344 msgstr "(Додано у 0.3)"
25345
25346 #. type: =head2
25347 #: ../src/guestfs-actions.pod:41
25348 msgid "guestfs_add_domain"
25349 msgstr ""
25350
25351 #. type: verbatim
25352 #: ../src/guestfs-actions.pod:43
25353 #, no-wrap
25354 msgid ""
25355 " int\n"
25356 " guestfs_add_domain (guestfs_h *g,\n"
25357 "                     const char *dom,\n"
25358 "                     ...);\n"
25359 "\n"
25360 msgstr ""
25361
25362 #. type: textblock
25363 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:198
25364 #: ../src/guestfs-actions.pod:890 ../src/guestfs-actions.pod:1214
25365 #: ../src/guestfs-actions.pod:1266 ../src/guestfs-actions.pod:1344
25366 #: ../src/guestfs-actions.pod:1413 ../src/guestfs-actions.pod:1466
25367 #: ../src/guestfs-actions.pod:1519 ../src/guestfs-actions.pod:3288
25368 #: ../src/guestfs-actions.pod:5100 ../src/guestfs-actions.pod:5409
25369 #: ../src/guestfs-actions.pod:5626
25370 msgid ""
25371 "You may supply a list of optional arguments to this call.  Use zero or more "
25372 "of the following pairs of parameters, and terminate the list with C<-1> on "
25373 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
25374 msgstr ""
25375
25376 #. type: verbatim
25377 #: ../src/guestfs-actions.pod:53
25378 #, no-wrap
25379 msgid ""
25380 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
25381 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
25382 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
25383 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
25384 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
25385 " GUESTFS_ADD_DOMAIN_READONLYDISK, const char *readonlydisk,\n"
25386 "\n"
25387 msgstr ""
25388
25389 #. type: textblock
25390 #: ../src/guestfs-actions.pod:60
25391 msgid ""
25392 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
25393 "It works by connecting to libvirt, requesting the domain and domain XML from "
25394 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
25395 "one."
25396 msgstr ""
25397
25398 #. type: textblock
25399 #: ../src/guestfs-actions.pod:141
25400 msgid ""
25401 "The other optional parameters are passed directly through to "
25402 "C<guestfs_add_drive_opts>."
25403 msgstr ""
25404
25405 #. type: textblock
25406 #: ../src/guestfs-actions.pod:144 ../src/guestfs-actions.pod:403
25407 #: ../src/guestfs-actions.pod:573 ../src/guestfs-actions.pod:751
25408 #: ../src/guestfs-actions.pod:782 ../src/guestfs-actions.pod:800
25409 #: ../src/guestfs-actions.pod:819 ../src/guestfs-actions.pod:1797
25410 #: ../src/guestfs-actions.pod:2153 ../src/guestfs-actions.pod:2356
25411 #: ../src/guestfs-actions.pod:2467 ../src/guestfs-actions.pod:2518
25412 #: ../src/guestfs-actions.pod:2570 ../src/guestfs-actions.pod:2584
25413 #: ../src/guestfs-actions.pod:2607 ../src/guestfs-actions.pod:2922
25414 #: ../src/guestfs-actions.pod:3406 ../src/guestfs-actions.pod:3424
25415 #: ../src/guestfs-actions.pod:5585 ../src/guestfs-actions.pod:5802
25416 #: ../src/guestfs-actions.pod:6040 ../src/guestfs-actions.pod:6234
25417 #: ../src/guestfs-actions.pod:6260 ../src/guestfs-actions.pod:7660
25418 #: ../src/guestfs-actions.pod:8086 ../src/guestfs-actions.pod:8099
25419 #: ../src/guestfs-actions.pod:8112
25420 msgid "On error this function returns -1."
25421 msgstr ""
25422
25423 #. type: textblock
25424 #: ../src/guestfs-actions.pod:146
25425 msgid "(Added in 1.7.4)"
25426 msgstr "(Додано у 1.7.4)"
25427
25428 #. type: =head2
25429 #: ../src/guestfs-actions.pod:148
25430 msgid "guestfs_add_domain_va"
25431 msgstr ""
25432
25433 #. type: verbatim
25434 #: ../src/guestfs-actions.pod:150
25435 #, no-wrap
25436 msgid ""
25437 " int\n"
25438 " guestfs_add_domain_va (guestfs_h *g,\n"
25439 "                        const char *dom,\n"
25440 "                        va_list args);\n"
25441 "\n"
25442 msgstr ""
25443
25444 #. type: textblock
25445 #: ../src/guestfs-actions.pod:155
25446 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
25447 msgstr ""
25448
25449 #. type: textblock
25450 #: ../src/guestfs-actions.pod:157 ../src/guestfs-actions.pod:168
25451 #: ../src/guestfs-actions.pod:267 ../src/guestfs-actions.pod:278
25452 #: ../src/guestfs-actions.pod:929 ../src/guestfs-actions.pod:940
25453 #: ../src/guestfs-actions.pod:1242 ../src/guestfs-actions.pod:1255
25454 #: ../src/guestfs-actions.pod:1301 ../src/guestfs-actions.pod:1314
25455 #: ../src/guestfs-actions.pod:1391 ../src/guestfs-actions.pod:1403
25456 #: ../src/guestfs-actions.pod:1444 ../src/guestfs-actions.pod:1456
25457 #: ../src/guestfs-actions.pod:1497 ../src/guestfs-actions.pod:1509
25458 #: ../src/guestfs-actions.pod:1555 ../src/guestfs-actions.pod:1567
25459 #: ../src/guestfs-actions.pod:3372 ../src/guestfs-actions.pod:3384
25460 #: ../src/guestfs-actions.pod:5165 ../src/guestfs-actions.pod:5177
25461 #: ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5449
25462 #: ../src/guestfs-actions.pod:5675 ../src/guestfs-actions.pod:5686
25463 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
25464 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
25465
25466 #. type: =head2
25467 #: ../src/guestfs-actions.pod:159
25468 msgid "guestfs_add_domain_argv"
25469 msgstr "guestfs_add_domain_argv"
25470
25471 #. type: verbatim
25472 #: ../src/guestfs-actions.pod:161
25473 #, no-wrap
25474 msgid ""
25475 " int\n"
25476 " guestfs_add_domain_argv (guestfs_h *g,\n"
25477 "                          const char *dom,\n"
25478 "                          const struct guestfs_add_domain_argv *optargs);\n"
25479 "\n"
25480 msgstr ""
25481
25482 #. type: textblock
25483 #: ../src/guestfs-actions.pod:166
25484 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
25485 msgstr ""
25486
25487 #. type: =head2
25488 #: ../src/guestfs-actions.pod:170
25489 msgid "guestfs_add_drive"
25490 msgstr ""
25491
25492 #. type: verbatim
25493 #: ../src/guestfs-actions.pod:172
25494 #, no-wrap
25495 msgid ""
25496 " int\n"
25497 " guestfs_add_drive (guestfs_h *g,\n"
25498 "                    const char *filename);\n"
25499 "\n"
25500 msgstr ""
25501
25502 #. type: textblock
25503 #: ../src/guestfs-actions.pod:176
25504 msgid ""
25505 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
25506 "optional parameters, so the disk is added writable, with the format being "
25507 "detected automatically."
25508 msgstr ""
25509
25510 #. type: textblock
25511 #: ../src/guestfs-actions.pod:180
25512 msgid ""
25513 "Automatic detection of the format opens you up to a potential security hole "
25514 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
25515 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
25516 "you should think about replacing calls to this function with calls to "
25517 "C<guestfs_add_drive_opts>, and specifying the format."
25518 msgstr ""
25519
25520 #. type: =head2
25521 #: ../src/guestfs-actions.pod:191
25522 msgid "guestfs_add_drive_opts"
25523 msgstr ""
25524
25525 #. type: verbatim
25526 #: ../src/guestfs-actions.pod:193
25527 #, no-wrap
25528 msgid ""
25529 " int\n"
25530 " guestfs_add_drive_opts (guestfs_h *g,\n"
25531 "                         const char *filename,\n"
25532 "                         ...);\n"
25533 "\n"
25534 msgstr ""
25535
25536 #. type: verbatim
25537 #: ../src/guestfs-actions.pod:203
25538 #, no-wrap
25539 msgid ""
25540 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
25541 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
25542 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
25543 " GUESTFS_ADD_DRIVE_OPTS_NAME, const char *name,\n"
25544 "\n"
25545 msgstr ""
25546
25547 #. type: textblock
25548 #: ../src/guestfs-actions.pod:233
25549 msgid ""
25550 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
25551 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
25552 "Possible formats include C<raw> and C<qcow2>."
25553 msgstr ""
25554
25555 #. type: textblock
25556 #: ../src/guestfs-actions.pod:244
25557 msgid ""
25558 "This rarely-used option lets you emulate the behaviour of the deprecated "
25559 "C<guestfs_add_drive_with_if> call (q.v.)"
25560 msgstr ""
25561
25562 #. type: textblock
25563 #: ../src/guestfs-actions.pod:256
25564 msgid "(Added in 1.5.23)"
25565 msgstr "(Додано у 1.5.23)"
25566
25567 #. type: =head2
25568 #: ../src/guestfs-actions.pod:258
25569 msgid "guestfs_add_drive_opts_va"
25570 msgstr ""
25571
25572 #. type: verbatim
25573 #: ../src/guestfs-actions.pod:260
25574 #, no-wrap
25575 msgid ""
25576 " int\n"
25577 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
25578 "                            const char *filename,\n"
25579 "                            va_list args);\n"
25580 "\n"
25581 msgstr ""
25582
25583 #. type: textblock
25584 #: ../src/guestfs-actions.pod:265
25585 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
25586 msgstr ""
25587
25588 #. type: =head2
25589 #: ../src/guestfs-actions.pod:269
25590 msgid "guestfs_add_drive_opts_argv"
25591 msgstr ""
25592
25593 #. type: verbatim
25594 #: ../src/guestfs-actions.pod:271
25595 #, no-wrap
25596 msgid ""
25597 " int\n"
25598 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
25599 "                              const char *filename,\n"
25600 "                              const struct guestfs_add_drive_opts_argv *optargs);\n"
25601 "\n"
25602 msgstr ""
25603
25604 #. type: textblock
25605 #: ../src/guestfs-actions.pod:276
25606 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
25607 msgstr ""
25608
25609 #. type: =head2
25610 #: ../src/guestfs-actions.pod:280
25611 msgid "guestfs_add_drive_ro"
25612 msgstr ""
25613
25614 #. type: verbatim
25615 #: ../src/guestfs-actions.pod:282
25616 #, no-wrap
25617 msgid ""
25618 " int\n"
25619 " guestfs_add_drive_ro (guestfs_h *g,\n"
25620 "                       const char *filename);\n"
25621 "\n"
25622 msgstr ""
25623
25624 #. type: textblock
25625 #: ../src/guestfs-actions.pod:286
25626 msgid ""
25627 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
25628 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
25629 "disk is added read-only, with the format being detected automatically."
25630 msgstr ""
25631
25632 #. type: textblock
25633 #: ../src/guestfs-actions.pod:293
25634 msgid "(Added in 1.0.38)"
25635 msgstr "(Додано у 1.0.38)"
25636
25637 #. type: =head2
25638 #: ../src/guestfs-actions.pod:295
25639 msgid "guestfs_add_drive_ro_with_if"
25640 msgstr ""
25641
25642 #. type: verbatim
25643 #: ../src/guestfs-actions.pod:297
25644 #, no-wrap
25645 msgid ""
25646 " int\n"
25647 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
25648 "                               const char *filename,\n"
25649 "                               const char *iface);\n"
25650 "\n"
25651 msgstr ""
25652
25653 #. type: textblock
25654 #: ../src/guestfs-actions.pod:309
25655 msgid ""
25656 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
25657 "QEMU interface emulation to use at run time."
25658 msgstr ""
25659
25660 #. type: textblock
25661 #: ../src/guestfs-actions.pod:314 ../src/guestfs-actions.pod:335
25662 #: ../src/guestfs-actions.pod:2881
25663 msgid "(Added in 1.0.84)"
25664 msgstr "(Додано у 1.0.84)"
25665
25666 #. type: =head2
25667 #: ../src/guestfs-actions.pod:316
25668 msgid "guestfs_add_drive_with_if"
25669 msgstr ""
25670
25671 #. type: verbatim
25672 #: ../src/guestfs-actions.pod:318
25673 #, no-wrap
25674 msgid ""
25675 " int\n"
25676 " guestfs_add_drive_with_if (guestfs_h *g,\n"
25677 "                            const char *filename,\n"
25678 "                            const char *iface);\n"
25679 "\n"
25680 msgstr ""
25681
25682 #. type: textblock
25683 #: ../src/guestfs-actions.pod:330
25684 msgid ""
25685 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
25686 "QEMU interface emulation to use at run time."
25687 msgstr ""
25688
25689 #. type: =head2
25690 #: ../src/guestfs-actions.pod:337
25691 msgid "guestfs_aug_clear"
25692 msgstr ""
25693
25694 #. type: verbatim
25695 #: ../src/guestfs-actions.pod:339
25696 #, no-wrap
25697 msgid ""
25698 " int\n"
25699 " guestfs_aug_clear (guestfs_h *g,\n"
25700 "                    const char *augpath);\n"
25701 "\n"
25702 msgstr ""
25703
25704 #. type: textblock
25705 #: ../src/guestfs-actions.pod:348 ../src/guestfs-actions.pod:2609
25706 msgid "(Added in 1.3.4)"
25707 msgstr "(Додано у 1.3.4)"
25708
25709 #. type: =head2
25710 #: ../src/guestfs-actions.pod:350
25711 msgid "guestfs_aug_close"
25712 msgstr ""
25713
25714 #. type: verbatim
25715 #: ../src/guestfs-actions.pod:352
25716 #, no-wrap
25717 msgid ""
25718 " int\n"
25719 " guestfs_aug_close (guestfs_h *g);\n"
25720 "\n"
25721 msgstr ""
25722
25723 #. type: textblock
25724 #: ../src/guestfs-actions.pod:355
25725 msgid ""
25726 "Close the current Augeas handle and free up any resources used by it.  After "
25727 "calling this, you have to call C<guestfs_aug_init> again before you can use "
25728 "any other Augeas functions."
25729 msgstr ""
25730
25731 #. type: textblock
25732 #: ../src/guestfs-actions.pod:362 ../src/guestfs-actions.pod:387
25733 #: ../src/guestfs-actions.pod:405 ../src/guestfs-actions.pod:419
25734 #: ../src/guestfs-actions.pod:482 ../src/guestfs-actions.pod:502
25735 #: ../src/guestfs-actions.pod:516 ../src/guestfs-actions.pod:547
25736 #: ../src/guestfs-actions.pod:561 ../src/guestfs-actions.pod:575
25737 #: ../src/guestfs-actions.pod:589 ../src/guestfs-actions.pod:607
25738 #: ../src/guestfs-actions.pod:6311
25739 msgid "(Added in 0.7)"
25740 msgstr "(Додано у 0.7)"
25741
25742 #. type: =head2
25743 #: ../src/guestfs-actions.pod:364
25744 msgid "guestfs_aug_defnode"
25745 msgstr ""
25746
25747 #. type: verbatim
25748 #: ../src/guestfs-actions.pod:366
25749 #, no-wrap
25750 msgid ""
25751 " struct guestfs_int_bool *\n"
25752 " guestfs_aug_defnode (guestfs_h *g,\n"
25753 "                      const char *name,\n"
25754 "                      const char *expr,\n"
25755 "                      const char *val);\n"
25756 "\n"
25757 msgstr ""
25758
25759 #. type: textblock
25760 #: ../src/guestfs-actions.pod:375
25761 msgid ""
25762 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
25763 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
25764 "containing that single node."
25765 msgstr ""
25766
25767 #. type: textblock
25768 #: ../src/guestfs-actions.pod:383
25769 msgid ""
25770 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
25771 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
25772 msgstr ""
25773
25774 #. type: =head2
25775 #: ../src/guestfs-actions.pod:389
25776 msgid "guestfs_aug_defvar"
25777 msgstr ""
25778
25779 #. type: verbatim
25780 #: ../src/guestfs-actions.pod:391
25781 #, no-wrap
25782 msgid ""
25783 " int\n"
25784 " guestfs_aug_defvar (guestfs_h *g,\n"
25785 "                     const char *name,\n"
25786 "                     const char *expr);\n"
25787 "\n"
25788 msgstr ""
25789
25790 #. type: =head2
25791 #: ../src/guestfs-actions.pod:407
25792 msgid "guestfs_aug_get"
25793 msgstr "guestfs_aug_get"
25794
25795 #. type: verbatim
25796 #: ../src/guestfs-actions.pod:409
25797 #, no-wrap
25798 msgid ""
25799 " char *\n"
25800 " guestfs_aug_get (guestfs_h *g,\n"
25801 "                  const char *augpath);\n"
25802 "\n"
25803 msgstr ""
25804 " char *\n"
25805 " guestfs_aug_get (guestfs_h *g,\n"
25806 "                  const char *augpath);\n"
25807 "\n"
25808
25809 #. type: textblock
25810 #: ../src/guestfs-actions.pod:416 ../src/guestfs-actions.pod:980
25811 #: ../src/guestfs-actions.pod:998 ../src/guestfs-actions.pod:1058
25812 #: ../src/guestfs-actions.pod:1074 ../src/guestfs-actions.pod:1177
25813 #: ../src/guestfs-actions.pod:1666 ../src/guestfs-actions.pod:1683
25814 #: ../src/guestfs-actions.pod:1702 ../src/guestfs-actions.pod:1836
25815 #: ../src/guestfs-actions.pod:2024 ../src/guestfs-actions.pod:2136
25816 #: ../src/guestfs-actions.pod:2299 ../src/guestfs-actions.pod:2316
25817 #: ../src/guestfs-actions.pod:2383 ../src/guestfs-actions.pod:2426
25818 #: ../src/guestfs-actions.pod:2447 ../src/guestfs-actions.pod:2632
25819 #: ../src/guestfs-actions.pod:2846 ../src/guestfs-actions.pod:3050
25820 #: ../src/guestfs-actions.pod:3152 ../src/guestfs-actions.pod:3256
25821 #: ../src/guestfs-actions.pod:3275 ../src/guestfs-actions.pod:3490
25822 #: ../src/guestfs-actions.pod:3518 ../src/guestfs-actions.pod:3539
25823 #: ../src/guestfs-actions.pod:3573 ../src/guestfs-actions.pod:3636
25824 #: ../src/guestfs-actions.pod:3656 ../src/guestfs-actions.pod:3676
25825 #: ../src/guestfs-actions.pod:4303 ../src/guestfs-actions.pod:4650
25826 #: ../src/guestfs-actions.pod:4817 ../src/guestfs-actions.pod:4927
25827 #: ../src/guestfs-actions.pod:5820 ../src/guestfs-actions.pod:6021
25828 #: ../src/guestfs-actions.pod:6209 ../src/guestfs-actions.pod:6387
25829 #: ../src/guestfs-actions.pod:6436 ../src/guestfs-actions.pod:7096
25830 #: ../src/guestfs-actions.pod:7112 ../src/guestfs-actions.pod:7136
25831 #: ../src/guestfs-actions.pod:7160 ../src/guestfs-actions.pod:7834
25832 #: ../src/guestfs-actions.pod:7853 ../src/guestfs-actions.pod:7871
25833 #: ../src/guestfs-actions.pod:8045 ../src/guestfs-actions.pod:8359
25834 msgid ""
25835 "This function returns a string, or NULL on error.  I<The caller must free "
25836 "the returned string after use>."
25837 msgstr ""
25838
25839 #. type: =head2
25840 #: ../src/guestfs-actions.pod:421
25841 msgid "guestfs_aug_init"
25842 msgstr "guestfs_aug_init"
25843
25844 #. type: verbatim
25845 #: ../src/guestfs-actions.pod:423
25846 #, no-wrap
25847 msgid ""
25848 " int\n"
25849 " guestfs_aug_init (guestfs_h *g,\n"
25850 "                   const char *root,\n"
25851 "                   int flags);\n"
25852 "\n"
25853 msgstr ""
25854 " int\n"
25855 " guestfs_aug_init (guestfs_h *g,\n"
25856 "                   const char *root,\n"
25857 "                   int flags);\n"
25858 "\n"
25859
25860 #. type: textblock
25861 #: ../src/guestfs-actions.pod:432
25862 msgid "You must call this before using any other C<guestfs_aug_*> commands."
25863 msgstr ""
25864
25865 #. type: textblock
25866 #: ../src/guestfs-actions.pod:457
25867 msgid ""
25868 "This option is only useful when debugging Augeas lenses.  Use of this option "
25869 "may require additional memory for the libguestfs appliance.  You may need to "
25870 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call "
25871 "C<guestfs_set_memsize>."
25872 msgstr ""
25873
25874 #. type: textblock
25875 #: ../src/guestfs-actions.pod:472
25876 msgid "Do not load the tree in C<guestfs_aug_init>."
25877 msgstr ""
25878
25879 #. type: textblock
25880 #: ../src/guestfs-actions.pod:476
25881 msgid "To close the handle, you can call C<guestfs_aug_close>."
25882 msgstr ""
25883
25884 #. type: =head2
25885 #: ../src/guestfs-actions.pod:484
25886 msgid "guestfs_aug_insert"
25887 msgstr "guestfs_aug_insert"
25888
25889 #. type: verbatim
25890 #: ../src/guestfs-actions.pod:486
25891 #, no-wrap
25892 msgid ""
25893 " int\n"
25894 " guestfs_aug_insert (guestfs_h *g,\n"
25895 "                     const char *augpath,\n"
25896 "                     const char *label,\n"
25897 "                     int before);\n"
25898 "\n"
25899 msgstr ""
25900 " int\n"
25901 " guestfs_aug_insert (guestfs_h *g,\n"
25902 "                     const char *augpath,\n"
25903 "                     const char *label,\n"
25904 "                     int before);\n"
25905 "\n"
25906
25907 #. type: =head2
25908 #: ../src/guestfs-actions.pod:504
25909 msgid "guestfs_aug_load"
25910 msgstr "guestfs_aug_load"
25911
25912 #. type: verbatim
25913 #: ../src/guestfs-actions.pod:506
25914 #, no-wrap
25915 msgid ""
25916 " int\n"
25917 " guestfs_aug_load (guestfs_h *g);\n"
25918 "\n"
25919 msgstr ""
25920 " int\n"
25921 " guestfs_aug_load (guestfs_h *g);\n"
25922 "\n"
25923
25924 #. type: =head2
25925 #: ../src/guestfs-actions.pod:518
25926 msgid "guestfs_aug_ls"
25927 msgstr "guestfs_aug_ls"
25928
25929 #. type: verbatim
25930 #: ../src/guestfs-actions.pod:520
25931 #, no-wrap
25932 msgid ""
25933 " char **\n"
25934 " guestfs_aug_ls (guestfs_h *g,\n"
25935 "                 const char *augpath);\n"
25936 "\n"
25937 msgstr ""
25938 " char **\n"
25939 " guestfs_aug_ls (guestfs_h *g,\n"
25940 "                 const char *augpath);\n"
25941 "\n"
25942
25943 #. type: textblock
25944 #: ../src/guestfs-actions.pod:524
25945 msgid ""
25946 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
25947 "sorting the resulting nodes into alphabetical order."
25948 msgstr ""
25949
25950 #. type: textblock
25951 #: ../src/guestfs-actions.pod:527 ../src/guestfs-actions.pod:543
25952 #: ../src/guestfs-actions.pod:689 ../src/guestfs-actions.pod:1196
25953 #: ../src/guestfs-actions.pod:1851 ../src/guestfs-actions.pod:1870
25954 #: ../src/guestfs-actions.pod:1973 ../src/guestfs-actions.pod:1992
25955 #: ../src/guestfs-actions.pod:2238 ../src/guestfs-actions.pod:2704
25956 #: ../src/guestfs-actions.pod:2720 ../src/guestfs-actions.pod:2739
25957 #: ../src/guestfs-actions.pod:2804 ../src/guestfs-actions.pod:2828
25958 #: ../src/guestfs-actions.pod:2899 ../src/guestfs-actions.pod:2948
25959 #: ../src/guestfs-actions.pod:3217 ../src/guestfs-actions.pod:3592
25960 #: ../src/guestfs-actions.pod:3872 ../src/guestfs-actions.pod:4186
25961 #: ../src/guestfs-actions.pod:4203 ../src/guestfs-actions.pod:4223
25962 #: ../src/guestfs-actions.pod:4285 ../src/guestfs-actions.pod:4390
25963 #: ../src/guestfs-actions.pod:4789 ../src/guestfs-actions.pod:5546
25964 #: ../src/guestfs-actions.pod:6181 ../src/guestfs-actions.pod:6307
25965 #: ../src/guestfs-actions.pod:6421 ../src/guestfs-actions.pod:7176
25966 #: ../src/guestfs-actions.pod:7237 ../src/guestfs-actions.pod:7292
25967 #: ../src/guestfs-actions.pod:7438 ../src/guestfs-actions.pod:7462
25968 #: ../src/guestfs-actions.pod:7938 ../src/guestfs-actions.pod:7958
25969 #: ../src/guestfs-actions.pod:8005 ../src/guestfs-actions.pod:8199
25970 #: ../src/guestfs-actions.pod:8218 ../src/guestfs-actions.pod:8309
25971 #: ../src/guestfs-actions.pod:8328 ../src/guestfs-actions.pod:8374
25972 #: ../src/guestfs-actions.pod:8393
25973 msgid ""
25974 "This function returns a NULL-terminated array of strings (like L<environ(3)"
25975 ">), or NULL if there was an error.  I<The caller must free the strings and "
25976 "the array after use>."
25977 msgstr ""
25978
25979 #. type: textblock
25980 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:1121
25981 #: ../src/guestfs-actions.pod:1139 ../src/guestfs-actions.pod:1908
25982 #: ../src/guestfs-actions.pod:3950 ../src/guestfs-actions.pod:3981
25983 #: ../src/guestfs-actions.pod:4633 ../src/guestfs-actions.pod:4680
25984 #: ../src/guestfs-actions.pod:4867 ../src/guestfs-actions.pod:4900
25985 #: ../src/guestfs-actions.pod:5063 ../src/guestfs-actions.pod:5550
25986 #: ../src/guestfs-actions.pod:6122 ../src/guestfs-actions.pod:6519
25987 #: ../src/guestfs-actions.pod:6533 ../src/guestfs-actions.pod:6545
25988 #: ../src/guestfs-actions.pod:7023 ../src/guestfs-actions.pod:7676
25989 #: ../src/guestfs-actions.pod:7689 ../src/guestfs-actions.pod:7922
25990 #: ../src/guestfs-actions.pod:8187
25991 msgid "(Added in 0.8)"
25992 msgstr "(Додано у 0.8)"
25993
25994 #. type: =head2
25995 #: ../src/guestfs-actions.pod:533
25996 msgid "guestfs_aug_match"
25997 msgstr "guestfs_aug_match"
25998
25999 #. type: verbatim
26000 #: ../src/guestfs-actions.pod:535
26001 #, no-wrap
26002 msgid ""
26003 " char **\n"
26004 " guestfs_aug_match (guestfs_h *g,\n"
26005 "                    const char *augpath);\n"
26006 "\n"
26007 msgstr ""
26008 " char **\n"
26009 " guestfs_aug_match (guestfs_h *g,\n"
26010 "                    const char *augpath);\n"
26011 "\n"
26012
26013 #. type: =head2
26014 #: ../src/guestfs-actions.pod:549
26015 msgid "guestfs_aug_mv"
26016 msgstr "guestfs_aug_mv"
26017
26018 #. type: verbatim
26019 #: ../src/guestfs-actions.pod:551
26020 #, no-wrap
26021 msgid ""
26022 " int\n"
26023 " guestfs_aug_mv (guestfs_h *g,\n"
26024 "                 const char *src,\n"
26025 "                 const char *dest);\n"
26026 "\n"
26027 msgstr ""
26028 " int\n"
26029 " guestfs_aug_mv (guestfs_h *g,\n"
26030 "                 const char *src,\n"
26031 "                 const char *dest);\n"
26032 "\n"
26033
26034 #. type: =head2
26035 #: ../src/guestfs-actions.pod:563
26036 msgid "guestfs_aug_rm"
26037 msgstr "guestfs_aug_rm"
26038
26039 #. type: verbatim
26040 #: ../src/guestfs-actions.pod:565
26041 #, no-wrap
26042 msgid ""
26043 " int\n"
26044 " guestfs_aug_rm (guestfs_h *g,\n"
26045 "                 const char *augpath);\n"
26046 "\n"
26047 msgstr ""
26048 " int\n"
26049 " guestfs_aug_rm (guestfs_h *g,\n"
26050 "                 const char *augpath);\n"
26051 "\n"
26052
26053 #. type: =head2
26054 #: ../src/guestfs-actions.pod:577
26055 msgid "guestfs_aug_save"
26056 msgstr "guestfs_aug_save"
26057
26058 #. type: verbatim
26059 #: ../src/guestfs-actions.pod:579
26060 #, no-wrap
26061 msgid ""
26062 " int\n"
26063 " guestfs_aug_save (guestfs_h *g);\n"
26064 "\n"
26065 msgstr ""
26066 " int\n"
26067 " guestfs_aug_save (guestfs_h *g);\n"
26068 "\n"
26069
26070 #. type: textblock
26071 #: ../src/guestfs-actions.pod:584
26072 msgid ""
26073 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
26074 "are saved."
26075 msgstr ""
26076
26077 #. type: =head2
26078 #: ../src/guestfs-actions.pod:591
26079 msgid "guestfs_aug_set"
26080 msgstr "guestfs_aug_set"
26081
26082 #. type: verbatim
26083 #: ../src/guestfs-actions.pod:593
26084 #, no-wrap
26085 msgid ""
26086 " int\n"
26087 " guestfs_aug_set (guestfs_h *g,\n"
26088 "                  const char *augpath,\n"
26089 "                  const char *val);\n"
26090 "\n"
26091 msgstr ""
26092 " int\n"
26093 " guestfs_aug_set (guestfs_h *g,\n"
26094 "                  const char *augpath,\n"
26095 "                  const char *val);\n"
26096 "\n"
26097
26098 #. type: textblock
26099 #: ../src/guestfs-actions.pod:600
26100 msgid ""
26101 "In the Augeas API, it is possible to clear a node by setting the value to "
26102 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
26103 "this call.  Instead you must use the C<guestfs_aug_clear> call."
26104 msgstr ""
26105
26106 #. type: =head2
26107 #: ../src/guestfs-actions.pod:609
26108 msgid "guestfs_available"
26109 msgstr "guestfs_available"
26110
26111 #. type: verbatim
26112 #: ../src/guestfs-actions.pod:611
26113 #, no-wrap
26114 msgid ""
26115 " int\n"
26116 " guestfs_available (guestfs_h *g,\n"
26117 "                    char *const *groups);\n"
26118 "\n"
26119 msgstr ""
26120 " int\n"
26121 " guestfs_available (guestfs_h *g,\n"
26122 "                    char *const *groups);\n"
26123 "\n"
26124
26125 #. type: textblock
26126 #: ../src/guestfs-actions.pod:619
26127 msgid ""
26128 "The libguestfs groups, and the functions that those groups correspond to, "
26129 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
26130 "runtime by calling C<guestfs_available_all_groups>."
26131 msgstr ""
26132
26133 #. type: textblock
26134 #: ../src/guestfs-actions.pod:643
26135 msgid "You must call C<guestfs_launch> before calling this function."
26136 msgstr ""
26137
26138 #. type: textblock
26139 #: ../src/guestfs-actions.pod:665
26140 msgid ""
26141 "This call was added in version C<1.0.80>.  In previous versions of "
26142 "libguestfs all you could do would be to speculatively execute a command to "
26143 "find out if the daemon implemented it.  See also C<guestfs_version>."
26144 msgstr ""
26145
26146 #. type: textblock
26147 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:1653
26148 msgid "(Added in 1.0.80)"
26149 msgstr "(Додано у 1.0.80)"
26150
26151 #. type: =head2
26152 #: ../src/guestfs-actions.pod:676
26153 msgid "guestfs_available_all_groups"
26154 msgstr "guestfs_available_all_groups"
26155
26156 #. type: verbatim
26157 #: ../src/guestfs-actions.pod:678
26158 #, no-wrap
26159 msgid ""
26160 " char **\n"
26161 " guestfs_available_all_groups (guestfs_h *g);\n"
26162 "\n"
26163 msgstr ""
26164 " char **\n"
26165 " guestfs_available_all_groups (guestfs_h *g);\n"
26166 "\n"
26167
26168 #. type: textblock
26169 #: ../src/guestfs-actions.pod:681
26170 msgid ""
26171 "This command returns a list of all optional groups that this daemon knows "
26172 "about.  Note this returns both supported and unsupported groups.  To find "
26173 "out which ones the daemon can actually support you have to call "
26174 "C<guestfs_available> on each member of the returned list."
26175 msgstr ""
26176
26177 #. type: textblock
26178 #: ../src/guestfs-actions.pod:687
26179 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
26180 msgstr ""
26181
26182 #. type: textblock
26183 #: ../src/guestfs-actions.pod:693
26184 msgid "(Added in 1.3.15)"
26185 msgstr "(Додано у 1.3.15)"
26186
26187 #. type: =head2
26188 #: ../src/guestfs-actions.pod:695
26189 msgid "guestfs_base64_in"
26190 msgstr "guestfs_base64_in"
26191
26192 #. type: verbatim
26193 #: ../src/guestfs-actions.pod:697
26194 #, no-wrap
26195 msgid ""
26196 " int\n"
26197 " guestfs_base64_in (guestfs_h *g,\n"
26198 "                    const char *base64file,\n"
26199 "                    const char *filename);\n"
26200 "\n"
26201 msgstr ""
26202 " int\n"
26203 " guestfs_base64_in (guestfs_h *g,\n"
26204 "                    const char *base64file,\n"
26205 "                    const char *filename);\n"
26206 "\n"
26207
26208 #. type: textblock
26209 #: ../src/guestfs-actions.pod:707 ../src/guestfs-actions.pod:721
26210 msgid "(Added in 1.3.5)"
26211 msgstr "(Додано у 1.3.5)"
26212
26213 #. type: =head2
26214 #: ../src/guestfs-actions.pod:709
26215 msgid "guestfs_base64_out"
26216 msgstr "guestfs_base64_out"
26217
26218 #. type: verbatim
26219 #: ../src/guestfs-actions.pod:711
26220 #, no-wrap
26221 msgid ""
26222 " int\n"
26223 " guestfs_base64_out (guestfs_h *g,\n"
26224 "                     const char *filename,\n"
26225 "                     const char *base64file);\n"
26226 "\n"
26227 msgstr ""
26228 " int\n"
26229 " guestfs_base64_out (guestfs_h *g,\n"
26230 "                     const char *filename,\n"
26231 "                     const char *base64file);\n"
26232 "\n"
26233
26234 #. type: =head2
26235 #: ../src/guestfs-actions.pod:723
26236 msgid "guestfs_blockdev_flushbufs"
26237 msgstr "guestfs_blockdev_flushbufs"
26238
26239 #. type: verbatim
26240 #: ../src/guestfs-actions.pod:725
26241 #, no-wrap
26242 msgid ""
26243 " int\n"
26244 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
26245 "                             const char *device);\n"
26246 "\n"
26247 msgstr ""
26248 " int\n"
26249 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
26250 "                             const char *device);\n"
26251 "\n"
26252
26253 #. type: textblock
26254 #: ../src/guestfs-actions.pod:736 ../src/guestfs-actions.pod:753
26255 #: ../src/guestfs-actions.pod:768 ../src/guestfs-actions.pod:784
26256 #: ../src/guestfs-actions.pod:802 ../src/guestfs-actions.pod:821
26257 #: ../src/guestfs-actions.pod:835 ../src/guestfs-actions.pod:853
26258 #: ../src/guestfs-actions.pod:867 ../src/guestfs-actions.pod:881
26259 msgid "(Added in 0.9.3)"
26260 msgstr "(Додано у 0.9.3)"
26261
26262 #. type: =head2
26263 #: ../src/guestfs-actions.pod:738
26264 msgid "guestfs_blockdev_getbsz"
26265 msgstr "guestfs_blockdev_getbsz"
26266
26267 #. type: verbatim
26268 #: ../src/guestfs-actions.pod:740
26269 #, no-wrap
26270 msgid ""
26271 " int\n"
26272 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
26273 "                          const char *device);\n"
26274 "\n"
26275 msgstr ""
26276 " int\n"
26277 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
26278 "                          const char *device);\n"
26279 "\n"
26280
26281 #. type: =head2
26282 #: ../src/guestfs-actions.pod:755
26283 msgid "guestfs_blockdev_getro"
26284 msgstr "guestfs_blockdev_getro"
26285
26286 #. type: verbatim
26287 #: ../src/guestfs-actions.pod:757
26288 #, no-wrap
26289 msgid ""
26290 " int\n"
26291 " guestfs_blockdev_getro (guestfs_h *g,\n"
26292 "                         const char *device);\n"
26293 "\n"
26294 msgstr ""
26295 " int\n"
26296 " guestfs_blockdev_getro (guestfs_h *g,\n"
26297 "                         const char *device);\n"
26298 "\n"
26299
26300 #. type: textblock
26301 #: ../src/guestfs-actions.pod:766 ../src/guestfs-actions.pod:1891
26302 #: ../src/guestfs-actions.pod:1906 ../src/guestfs-actions.pod:2395
26303 #: ../src/guestfs-actions.pod:2406 ../src/guestfs-actions.pod:2478
26304 #: ../src/guestfs-actions.pod:2504 ../src/guestfs-actions.pod:2544
26305 #: ../src/guestfs-actions.pod:2559 ../src/guestfs-actions.pod:2595
26306 #: ../src/guestfs-actions.pod:2618 ../src/guestfs-actions.pod:3693
26307 #: ../src/guestfs-actions.pod:3709 ../src/guestfs-actions.pod:3727
26308 #: ../src/guestfs-actions.pod:3889 ../src/guestfs-actions.pod:3903
26309 #: ../src/guestfs-actions.pod:3918 ../src/guestfs-actions.pod:3932
26310 #: ../src/guestfs-actions.pod:3948 ../src/guestfs-actions.pod:3963
26311 #: ../src/guestfs-actions.pod:3979 ../src/guestfs-actions.pod:3993
26312 #: ../src/guestfs-actions.pod:4006 ../src/guestfs-actions.pod:4020
26313 #: ../src/guestfs-actions.pod:4035 ../src/guestfs-actions.pod:4050
26314 #: ../src/guestfs-actions.pod:4063 ../src/guestfs-actions.pod:4077
26315 #: ../src/guestfs-actions.pod:5784
26316 msgid "This function returns a C truth value on success or -1 on error."
26317 msgstr ""
26318
26319 #. type: =head2
26320 #: ../src/guestfs-actions.pod:770
26321 msgid "guestfs_blockdev_getsize64"
26322 msgstr "guestfs_blockdev_getsize64"
26323
26324 #. type: verbatim
26325 #: ../src/guestfs-actions.pod:772
26326 #, no-wrap
26327 msgid ""
26328 " int64_t\n"
26329 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
26330 "                             const char *device);\n"
26331 "\n"
26332 msgstr ""
26333 " int64_t\n"
26334 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
26335 "                             const char *device);\n"
26336 "\n"
26337
26338 #. type: textblock
26339 #: ../src/guestfs-actions.pod:778
26340 msgid "See also C<guestfs_blockdev_getsz>."
26341 msgstr ""
26342
26343 #. type: =head2
26344 #: ../src/guestfs-actions.pod:786
26345 msgid "guestfs_blockdev_getss"
26346 msgstr "guestfs_blockdev_getss"
26347
26348 #. type: verbatim
26349 #: ../src/guestfs-actions.pod:788
26350 #, no-wrap
26351 msgid ""
26352 " int\n"
26353 " guestfs_blockdev_getss (guestfs_h *g,\n"
26354 "                         const char *device);\n"
26355 "\n"
26356 msgstr ""
26357 " int\n"
26358 " guestfs_blockdev_getss (guestfs_h *g,\n"
26359 "                         const char *device);\n"
26360 "\n"
26361
26362 #. type: textblock
26363 #: ../src/guestfs-actions.pod:795
26364 msgid ""
26365 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
26366 "that)."
26367 msgstr ""
26368
26369 #. type: =head2
26370 #: ../src/guestfs-actions.pod:804
26371 msgid "guestfs_blockdev_getsz"
26372 msgstr "guestfs_blockdev_getsz"
26373
26374 #. type: verbatim
26375 #: ../src/guestfs-actions.pod:806
26376 #, no-wrap
26377 msgid ""
26378 " int64_t\n"
26379 " guestfs_blockdev_getsz (guestfs_h *g,\n"
26380 "                         const char *device);\n"
26381 "\n"
26382 msgstr ""
26383 " int64_t\n"
26384 " guestfs_blockdev_getsz (guestfs_h *g,\n"
26385 "                         const char *device);\n"
26386 "\n"
26387
26388 #. type: textblock
26389 #: ../src/guestfs-actions.pod:813
26390 msgid ""
26391 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
26392 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
26393 msgstr ""
26394
26395 #. type: =head2
26396 #: ../src/guestfs-actions.pod:823
26397 msgid "guestfs_blockdev_rereadpt"
26398 msgstr "guestfs_blockdev_rereadpt"
26399
26400 #. type: verbatim
26401 #: ../src/guestfs-actions.pod:825
26402 #, no-wrap
26403 msgid ""
26404 " int\n"
26405 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
26406 "                            const char *device);\n"
26407 "\n"
26408 msgstr ""
26409 " int\n"
26410 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
26411 "                            const char *device);\n"
26412 "\n"
26413
26414 #. type: =head2
26415 #: ../src/guestfs-actions.pod:837
26416 msgid "guestfs_blockdev_setbsz"
26417 msgstr "guestfs_blockdev_setbsz"
26418
26419 #. type: verbatim
26420 #: ../src/guestfs-actions.pod:839
26421 #, no-wrap
26422 msgid ""
26423 " int\n"
26424 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
26425 "                          const char *device,\n"
26426 "                          int blocksize);\n"
26427 "\n"
26428 msgstr ""
26429 " int\n"
26430 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
26431 "                          const char *device,\n"
26432 "                          int blocksize);\n"
26433 "\n"
26434
26435 #. type: =head2
26436 #: ../src/guestfs-actions.pod:855
26437 msgid "guestfs_blockdev_setro"
26438 msgstr "guestfs_blockdev_setro"
26439
26440 #. type: verbatim
26441 #: ../src/guestfs-actions.pod:857
26442 #, no-wrap
26443 msgid ""
26444 " int\n"
26445 " guestfs_blockdev_setro (guestfs_h *g,\n"
26446 "                         const char *device);\n"
26447 "\n"
26448 msgstr ""
26449 " int\n"
26450 " guestfs_blockdev_setro (guestfs_h *g,\n"
26451 "                         const char *device);\n"
26452 "\n"
26453
26454 #. type: =head2
26455 #: ../src/guestfs-actions.pod:869
26456 msgid "guestfs_blockdev_setrw"
26457 msgstr "guestfs_blockdev_setrw"
26458
26459 #. type: verbatim
26460 #: ../src/guestfs-actions.pod:871
26461 #, no-wrap
26462 msgid ""
26463 " int\n"
26464 " guestfs_blockdev_setrw (guestfs_h *g,\n"
26465 "                         const char *device);\n"
26466 "\n"
26467 msgstr ""
26468 " int\n"
26469 " guestfs_blockdev_setrw (guestfs_h *g,\n"
26470 "                         const char *device);\n"
26471 "\n"
26472
26473 #. type: =head2
26474 #: ../src/guestfs-actions.pod:883
26475 msgid "guestfs_btrfs_filesystem_resize"
26476 msgstr "guestfs_btrfs_filesystem_resize"
26477
26478 #. type: verbatim
26479 #: ../src/guestfs-actions.pod:885
26480 #, no-wrap
26481 msgid ""
26482 " int\n"
26483 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
26484 "                                  const char *mountpoint,\n"
26485 "                                  ...);\n"
26486 "\n"
26487 msgstr ""
26488 " int\n"
26489 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
26490 "                                  const char *mountpoint,\n"
26491 "                                  ...);\n"
26492 "\n"
26493
26494 #. type: verbatim
26495 #: ../src/guestfs-actions.pod:895
26496 #, no-wrap
26497 msgid ""
26498 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
26499 "\n"
26500 msgstr ""
26501 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
26502 "\n"
26503
26504 #. type: textblock
26505 #: ../src/guestfs-actions.pod:918
26506 msgid "(Added in 1.11.17)"
26507 msgstr "(Додано у 1.11.17)"
26508
26509 #. type: =head2
26510 #: ../src/guestfs-actions.pod:920
26511 msgid "guestfs_btrfs_filesystem_resize_va"
26512 msgstr "guestfs_btrfs_filesystem_resize_va"
26513
26514 #. type: verbatim
26515 #: ../src/guestfs-actions.pod:922
26516 #, no-wrap
26517 msgid ""
26518 " int\n"
26519 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
26520 "                                     const char *mountpoint,\n"
26521 "                                     va_list args);\n"
26522 "\n"
26523 msgstr ""
26524 " int\n"
26525 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
26526 "                                     const char *mountpoint,\n"
26527 "                                     va_list args);\n"
26528 "\n"
26529
26530 #. type: textblock
26531 #: ../src/guestfs-actions.pod:927
26532 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
26533 msgstr ""
26534
26535 #. type: =head2
26536 #: ../src/guestfs-actions.pod:931
26537 msgid "guestfs_btrfs_filesystem_resize_argv"
26538 msgstr "guestfs_btrfs_filesystem_resize_argv"
26539
26540 #. type: verbatim
26541 #: ../src/guestfs-actions.pod:933
26542 #, no-wrap
26543 msgid ""
26544 " int\n"
26545 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
26546 "                                       const char *mountpoint,\n"
26547 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
26548 "\n"
26549 msgstr ""
26550 " int\n"
26551 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
26552 "                                       const char *mountpoint,\n"
26553 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
26554 "\n"
26555
26556 #. type: textblock
26557 #: ../src/guestfs-actions.pod:938
26558 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
26559 msgstr ""
26560
26561 #. type: =head2
26562 #: ../src/guestfs-actions.pod:942
26563 msgid "guestfs_case_sensitive_path"
26564 msgstr ""
26565
26566 #. type: verbatim
26567 #: ../src/guestfs-actions.pod:944
26568 #, no-wrap
26569 msgid ""
26570 " char *\n"
26571 " guestfs_case_sensitive_path (guestfs_h *g,\n"
26572 "                              const char *path);\n"
26573 "\n"
26574 msgstr ""
26575
26576 #. type: textblock
26577 #: ../src/guestfs-actions.pod:970
26578 msgid ""
26579 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
26580 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
26581 "how the directories were originally created under Windows)."
26582 msgstr ""
26583
26584 #. type: textblock
26585 #: ../src/guestfs-actions.pod:978
26586 msgid "See also C<guestfs_realpath>."
26587 msgstr ""
26588
26589 #. type: textblock
26590 #: ../src/guestfs-actions.pod:983 ../src/guestfs-actions.pod:7856
26591 msgid "(Added in 1.0.75)"
26592 msgstr "(Додано у 1.0.75)"
26593
26594 #. type: =head2
26595 #: ../src/guestfs-actions.pod:985
26596 msgid "guestfs_cat"
26597 msgstr ""
26598
26599 #. type: verbatim
26600 #: ../src/guestfs-actions.pod:987
26601 #, no-wrap
26602 msgid ""
26603 " char *\n"
26604 " guestfs_cat (guestfs_h *g,\n"
26605 "              const char *path);\n"
26606 "\n"
26607 msgstr ""
26608
26609 #. type: textblock
26610 #: ../src/guestfs-actions.pod:993
26611 msgid ""
26612 "Note that this function cannot correctly handle binary files (specifically, "
26613 "files containing C<\\0> character which is treated as end of string).  For "
26614 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
26615 "functions which have a more complex interface."
26616 msgstr ""
26617
26618 #. type: textblock
26619 #: ../src/guestfs-actions.pod:1004 ../src/guestfs-actions.pod:4207
26620 #: ../src/guestfs-actions.pod:4289 ../src/guestfs-actions.pod:4306
26621 #: ../src/guestfs-actions.pod:4394 ../src/guestfs-actions.pod:4793
26622 #: ../src/guestfs-actions.pod:4807 ../src/guestfs-actions.pod:6185
26623 #: ../src/guestfs-actions.pod:6199 ../src/guestfs-actions.pod:8009
26624 #: ../src/guestfs-actions.pod:8023
26625 msgid "(Added in 0.4)"
26626 msgstr "(Додано у 0.4)"
26627
26628 #. type: =head2
26629 #: ../src/guestfs-actions.pod:1006
26630 msgid "guestfs_checksum"
26631 msgstr ""
26632
26633 #. type: verbatim
26634 #: ../src/guestfs-actions.pod:1008
26635 #, no-wrap
26636 msgid ""
26637 " char *\n"
26638 " guestfs_checksum (guestfs_h *g,\n"
26639 "                   const char *csumtype,\n"
26640 "                   const char *path);\n"
26641 "\n"
26642 msgstr ""
26643
26644 #. type: textblock
26645 #: ../src/guestfs-actions.pod:1054
26646 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
26647 msgstr ""
26648
26649 #. type: textblock
26650 #: ../src/guestfs-actions.pod:1056
26651 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
26652 msgstr ""
26653
26654 #. type: textblock
26655 #: ../src/guestfs-actions.pod:1061 ../src/guestfs-actions.pod:1728
26656 #: ../src/guestfs-actions.pod:2586 ../src/guestfs-actions.pod:3905
26657 #: ../src/guestfs-actions.pod:3934 ../src/guestfs-actions.pod:3995
26658 #: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:7712
26659 msgid "(Added in 1.0.2)"
26660 msgstr "(Додано у 1.0.2)"
26661
26662 #. type: =head2
26663 #: ../src/guestfs-actions.pod:1063
26664 msgid "guestfs_checksum_device"
26665 msgstr ""
26666
26667 #. type: verbatim
26668 #: ../src/guestfs-actions.pod:1065
26669 #, no-wrap
26670 msgid ""
26671 " char *\n"
26672 " guestfs_checksum_device (guestfs_h *g,\n"
26673 "                          const char *csumtype,\n"
26674 "                          const char *device);\n"
26675 "\n"
26676 msgstr ""
26677
26678 #. type: textblock
26679 #: ../src/guestfs-actions.pod:1070
26680 msgid ""
26681 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
26682 "device named C<device>.  For the types of checksums supported see the "
26683 "C<guestfs_checksum> command."
26684 msgstr ""
26685
26686 #. type: textblock
26687 #: ../src/guestfs-actions.pod:1077 ../src/guestfs-actions.pod:5617
26688 #: ../src/guestfs-actions.pod:5752 ../src/guestfs-actions.pod:5786
26689 #: ../src/guestfs-actions.pod:5804 ../src/guestfs-actions.pod:5986
26690 #: ../src/guestfs-actions.pod:7621 ../src/guestfs-actions.pod:7635
26691 #: ../src/guestfs-actions.pod:8035
26692 msgid "(Added in 1.3.2)"
26693 msgstr "(Додано у 1.3.2)"
26694
26695 #. type: =head2
26696 #: ../src/guestfs-actions.pod:1079
26697 msgid "guestfs_checksums_out"
26698 msgstr ""
26699
26700 #. type: verbatim
26701 #: ../src/guestfs-actions.pod:1081
26702 #, no-wrap
26703 msgid ""
26704 " int\n"
26705 " guestfs_checksums_out (guestfs_h *g,\n"
26706 "                        const char *csumtype,\n"
26707 "                        const char *directory,\n"
26708 "                        const char *sumsfile);\n"
26709 "\n"
26710 msgstr ""
26711
26712 #. type: textblock
26713 #: ../src/guestfs-actions.pod:1101
26714 msgid "(Added in 1.3.7)"
26715 msgstr "(Додано у 1.3.7)"
26716
26717 #. type: =head2
26718 #: ../src/guestfs-actions.pod:1103
26719 msgid "guestfs_chmod"
26720 msgstr ""
26721
26722 #. type: verbatim
26723 #: ../src/guestfs-actions.pod:1105
26724 #, no-wrap
26725 msgid ""
26726 " int\n"
26727 " guestfs_chmod (guestfs_h *g,\n"
26728 "                int mode,\n"
26729 "                const char *path);\n"
26730 "\n"
26731 msgstr ""
26732
26733 #. type: =head2
26734 #: ../src/guestfs-actions.pod:1123
26735 msgid "guestfs_chown"
26736 msgstr ""
26737
26738 #. type: verbatim
26739 #: ../src/guestfs-actions.pod:1125
26740 #, no-wrap
26741 msgid ""
26742 " int\n"
26743 " guestfs_chown (guestfs_h *g,\n"
26744 "                int owner,\n"
26745 "                int group,\n"
26746 "                const char *path);\n"
26747 "\n"
26748 msgstr ""
26749
26750 #. type: =head2
26751 #: ../src/guestfs-actions.pod:1141
26752 msgid "guestfs_command"
26753 msgstr ""
26754
26755 #. type: verbatim
26756 #: ../src/guestfs-actions.pod:1143
26757 #, no-wrap
26758 msgid ""
26759 " char *\n"
26760 " guestfs_command (guestfs_h *g,\n"
26761 "                  char *const *arguments);\n"
26762 "\n"
26763 msgstr ""
26764
26765 #. type: textblock
26766 #: ../src/guestfs-actions.pod:1152
26767 msgid ""
26768 "The single parameter is an argv-style list of arguments.  The first element "
26769 "is the name of the program to run.  Subsequent elements are parameters.  The "
26770 "list must be non-empty (ie. must contain a program name).  Note that the "
26771 "command runs directly, and is I<not> invoked via the shell (see "
26772 "C<guestfs_sh>)."
26773 msgstr ""
26774
26775 #. type: textblock
26776 #: ../src/guestfs-actions.pod:1183 ../src/guestfs-actions.pod:1203
26777 #: ../src/guestfs-actions.pod:2027
26778 msgid "(Added in 0.9.1)"
26779 msgstr "(Додано у 0.9.1)"
26780
26781 #. type: =head2
26782 #: ../src/guestfs-actions.pod:1185
26783 msgid "guestfs_command_lines"
26784 msgstr ""
26785
26786 #. type: verbatim
26787 #: ../src/guestfs-actions.pod:1187
26788 #, no-wrap
26789 msgid ""
26790 " char **\n"
26791 " guestfs_command_lines (guestfs_h *g,\n"
26792 "                        char *const *arguments);\n"
26793 "\n"
26794 msgstr ""
26795
26796 #. type: textblock
26797 #: ../src/guestfs-actions.pod:1191
26798 msgid ""
26799 "This is the same as C<guestfs_command>, but splits the result into a list of "
26800 "lines."
26801 msgstr ""
26802
26803 #. type: textblock
26804 #: ../src/guestfs-actions.pod:1194
26805 msgid "See also: C<guestfs_sh_lines>"
26806 msgstr ""
26807
26808 #. type: =head2
26809 #: ../src/guestfs-actions.pod:1205
26810 msgid "guestfs_compress_device_out"
26811 msgstr ""
26812
26813 #. type: verbatim
26814 #: ../src/guestfs-actions.pod:1207
26815 #, no-wrap
26816 msgid ""
26817 " int\n"
26818 " guestfs_compress_device_out (guestfs_h *g,\n"
26819 "                              const char *ctype,\n"
26820 "                              const char *device,\n"
26821 "                              const char *zdevice,\n"
26822 "                              ...);\n"
26823 "\n"
26824 msgstr ""
26825
26826 #. type: verbatim
26827 #: ../src/guestfs-actions.pod:1219
26828 #, no-wrap
26829 msgid ""
26830 " GUESTFS_COMPRESS_DEVICE_OUT_LEVEL, int level,\n"
26831 "\n"
26832 msgstr ""
26833
26834 #. type: textblock
26835 #: ../src/guestfs-actions.pod:1224
26836 msgid ""
26837 "The C<ctype> and optional C<level> parameters have the same meaning as in "
26838 "C<guestfs_compress_out>."
26839 msgstr ""
26840
26841 #. type: textblock
26842 #: ../src/guestfs-actions.pod:1229 ../src/guestfs-actions.pod:1288
26843 #: ../src/guestfs-actions.pod:2572 ../src/guestfs-actions.pod:6902
26844 msgid "(Added in 1.13.15)"
26845 msgstr ""
26846
26847 #. type: =head2
26848 #: ../src/guestfs-actions.pod:1231
26849 msgid "guestfs_compress_device_out_va"
26850 msgstr ""
26851
26852 #. type: verbatim
26853 #: ../src/guestfs-actions.pod:1233
26854 #, no-wrap
26855 msgid ""
26856 " int\n"
26857 " guestfs_compress_device_out_va (guestfs_h *g,\n"
26858 "                                 const char *ctype,\n"
26859 "                                 const char *device,\n"
26860 "                                 const char *zdevice,\n"
26861 "                                 va_list args);\n"
26862 "\n"
26863 msgstr ""
26864
26865 #. type: textblock
26866 #: ../src/guestfs-actions.pod:1240
26867 msgid "This is the \"va_list variant\" of L</guestfs_compress_device_out>."
26868 msgstr ""
26869
26870 #. type: =head2
26871 #: ../src/guestfs-actions.pod:1244
26872 msgid "guestfs_compress_device_out_argv"
26873 msgstr ""
26874
26875 #. type: verbatim
26876 #: ../src/guestfs-actions.pod:1246
26877 #, no-wrap
26878 msgid ""
26879 " int\n"
26880 " guestfs_compress_device_out_argv (guestfs_h *g,\n"
26881 "                                   const char *ctype,\n"
26882 "                                   const char *device,\n"
26883 "                                   const char *zdevice,\n"
26884 "                                   const struct guestfs_compress_device_out_argv *optargs);\n"
26885 "\n"
26886 msgstr ""
26887
26888 #. type: textblock
26889 #: ../src/guestfs-actions.pod:1253
26890 msgid "This is the \"argv variant\" of L</guestfs_compress_device_out>."
26891 msgstr ""
26892
26893 #. type: =head2
26894 #: ../src/guestfs-actions.pod:1257
26895 msgid "guestfs_compress_out"
26896 msgstr ""
26897
26898 #. type: verbatim
26899 #: ../src/guestfs-actions.pod:1259
26900 #, no-wrap
26901 msgid ""
26902 " int\n"
26903 " guestfs_compress_out (guestfs_h *g,\n"
26904 "                       const char *ctype,\n"
26905 "                       const char *file,\n"
26906 "                       const char *zfile,\n"
26907 "                       ...);\n"
26908 "\n"
26909 msgstr ""
26910
26911 #. type: verbatim
26912 #: ../src/guestfs-actions.pod:1271
26913 #, no-wrap
26914 msgid ""
26915 " GUESTFS_COMPRESS_OUT_LEVEL, int level,\n"
26916 "\n"
26917 msgstr ""
26918
26919 #. type: =head2
26920 #: ../src/guestfs-actions.pod:1290
26921 msgid "guestfs_compress_out_va"
26922 msgstr ""
26923
26924 #. type: verbatim
26925 #: ../src/guestfs-actions.pod:1292
26926 #, no-wrap
26927 msgid ""
26928 " int\n"
26929 " guestfs_compress_out_va (guestfs_h *g,\n"
26930 "                          const char *ctype,\n"
26931 "                          const char *file,\n"
26932 "                          const char *zfile,\n"
26933 "                          va_list args);\n"
26934 "\n"
26935 msgstr ""
26936
26937 #. type: textblock
26938 #: ../src/guestfs-actions.pod:1299
26939 msgid "This is the \"va_list variant\" of L</guestfs_compress_out>."
26940 msgstr ""
26941
26942 #. type: =head2
26943 #: ../src/guestfs-actions.pod:1303
26944 msgid "guestfs_compress_out_argv"
26945 msgstr ""
26946
26947 #. type: verbatim
26948 #: ../src/guestfs-actions.pod:1305
26949 #, no-wrap
26950 msgid ""
26951 " int\n"
26952 " guestfs_compress_out_argv (guestfs_h *g,\n"
26953 "                            const char *ctype,\n"
26954 "                            const char *file,\n"
26955 "                            const char *zfile,\n"
26956 "                            const struct guestfs_compress_out_argv *optargs);\n"
26957 "\n"
26958 msgstr ""
26959
26960 #. type: textblock
26961 #: ../src/guestfs-actions.pod:1312
26962 msgid "This is the \"argv variant\" of L</guestfs_compress_out>."
26963 msgstr ""
26964
26965 #. type: =head2
26966 #: ../src/guestfs-actions.pod:1316
26967 msgid "guestfs_config"
26968 msgstr ""
26969
26970 #. type: verbatim
26971 #: ../src/guestfs-actions.pod:1318
26972 #, no-wrap
26973 msgid ""
26974 " int\n"
26975 " guestfs_config (guestfs_h *g,\n"
26976 "                 const char *qemuparam,\n"
26977 "                 const char *qemuvalue);\n"
26978 "\n"
26979 msgstr ""
26980
26981 #. type: =head2
26982 #: ../src/guestfs-actions.pod:1336
26983 msgid "guestfs_copy_device_to_device"
26984 msgstr ""
26985
26986 #. type: verbatim
26987 #: ../src/guestfs-actions.pod:1338
26988 #, no-wrap
26989 msgid ""
26990 " int\n"
26991 " guestfs_copy_device_to_device (guestfs_h *g,\n"
26992 "                                const char *src,\n"
26993 "                                const char *dest,\n"
26994 "                                ...);\n"
26995 "\n"
26996 msgstr ""
26997
26998 #. type: verbatim
26999 #: ../src/guestfs-actions.pod:1349
27000 #, no-wrap
27001 msgid ""
27002 " GUESTFS_COPY_DEVICE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
27003 " GUESTFS_COPY_DEVICE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
27004 " GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, int64_t size,\n"
27005 "\n"
27006 msgstr ""
27007
27008 #. type: textblock
27009 #: ../src/guestfs-actions.pod:1353
27010 msgid ""
27011 "The four calls C<guestfs_copy_device_to_device>, "
27012 "C<guestfs_copy_device_to_file>, C<guestfs_copy_file_to_device>, and "
27013 "C<guestfs_copy_file_to_file> let you copy from a source (device|file) to a "
27014 "destination (device|file)."
27015 msgstr ""
27016
27017 #. type: textblock
27018 #: ../src/guestfs-actions.pod:1374 ../src/guestfs-actions.pod:1427
27019 #: ../src/guestfs-actions.pod:1480 ../src/guestfs-actions.pod:1538
27020 #: ../src/guestfs-actions.pod:1592 ../src/guestfs-actions.pod:1723
27021 #: ../src/guestfs-actions.pod:1754 ../src/guestfs-actions.pod:1799
27022 #: ../src/guestfs-actions.pod:2176 ../src/guestfs-actions.pod:2198
27023 #: ../src/guestfs-actions.pod:4105 ../src/guestfs-actions.pod:7707
27024 #: ../src/guestfs-actions.pod:7741 ../src/guestfs-actions.pod:8248
27025 #: ../src/guestfs-actions.pod:8271
27026 msgid ""
27027 "This long-running command can generate progress notification messages so "
27028 "that the caller can display a progress bar or indicator.  To receive these "
27029 "messages, the caller must register a progress event callback.  See L<guestfs"
27030 "(3)/GUESTFS_EVENT_PROGRESS>."
27031 msgstr ""
27032
27033 #. type: textblock
27034 #: ../src/guestfs-actions.pod:1379 ../src/guestfs-actions.pod:1432
27035 #: ../src/guestfs-actions.pod:1485 ../src/guestfs-actions.pod:1543
27036 #: ../src/guestfs-actions.pod:6042
27037 #, fuzzy
27038 #| msgid "(Added in 1.3.5)"
27039 msgid "(Added in 1.13.25)"
27040 msgstr "(Додано у 1.3.5)"
27041
27042 #. type: =head2
27043 #: ../src/guestfs-actions.pod:1381
27044 msgid "guestfs_copy_device_to_device_va"
27045 msgstr ""
27046
27047 #. type: verbatim
27048 #: ../src/guestfs-actions.pod:1383
27049 #, no-wrap
27050 msgid ""
27051 " int\n"
27052 " guestfs_copy_device_to_device_va (guestfs_h *g,\n"
27053 "                                   const char *src,\n"
27054 "                                   const char *dest,\n"
27055 "                                   va_list args);\n"
27056 "\n"
27057 msgstr ""
27058
27059 #. type: textblock
27060 #: ../src/guestfs-actions.pod:1389
27061 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_device>."
27062 msgstr ""
27063
27064 #. type: =head2
27065 #: ../src/guestfs-actions.pod:1393
27066 msgid "guestfs_copy_device_to_device_argv"
27067 msgstr ""
27068
27069 #. type: verbatim
27070 #: ../src/guestfs-actions.pod:1395
27071 #, no-wrap
27072 msgid ""
27073 " int\n"
27074 " guestfs_copy_device_to_device_argv (guestfs_h *g,\n"
27075 "                                     const char *src,\n"
27076 "                                     const char *dest,\n"
27077 "                                     const struct guestfs_copy_device_to_device_argv *optargs);\n"
27078 "\n"
27079 msgstr ""
27080
27081 #. type: textblock
27082 #: ../src/guestfs-actions.pod:1401
27083 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_device>."
27084 msgstr ""
27085
27086 #. type: =head2
27087 #: ../src/guestfs-actions.pod:1405
27088 msgid "guestfs_copy_device_to_file"
27089 msgstr ""
27090
27091 #. type: verbatim
27092 #: ../src/guestfs-actions.pod:1407
27093 #, no-wrap
27094 msgid ""
27095 " int\n"
27096 " guestfs_copy_device_to_file (guestfs_h *g,\n"
27097 "                              const char *src,\n"
27098 "                              const char *dest,\n"
27099 "                              ...);\n"
27100 "\n"
27101 msgstr ""
27102
27103 #. type: verbatim
27104 #: ../src/guestfs-actions.pod:1418
27105 #, no-wrap
27106 msgid ""
27107 " GUESTFS_COPY_DEVICE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
27108 " GUESTFS_COPY_DEVICE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
27109 " GUESTFS_COPY_DEVICE_TO_FILE_SIZE, int64_t size,\n"
27110 "\n"
27111 msgstr ""
27112
27113 #. type: textblock
27114 #: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:1475
27115 #: ../src/guestfs-actions.pod:1528
27116 msgid ""
27117 "See C<guestfs_copy_device_to_device> for a general overview of this call."
27118 msgstr ""
27119
27120 #. type: =head2
27121 #: ../src/guestfs-actions.pod:1434
27122 msgid "guestfs_copy_device_to_file_va"
27123 msgstr ""
27124
27125 #. type: verbatim
27126 #: ../src/guestfs-actions.pod:1436
27127 #, no-wrap
27128 msgid ""
27129 " int\n"
27130 " guestfs_copy_device_to_file_va (guestfs_h *g,\n"
27131 "                                 const char *src,\n"
27132 "                                 const char *dest,\n"
27133 "                                 va_list args);\n"
27134 "\n"
27135 msgstr ""
27136
27137 #. type: textblock
27138 #: ../src/guestfs-actions.pod:1442
27139 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_file>."
27140 msgstr ""
27141
27142 #. type: =head2
27143 #: ../src/guestfs-actions.pod:1446
27144 msgid "guestfs_copy_device_to_file_argv"
27145 msgstr ""
27146
27147 #. type: verbatim
27148 #: ../src/guestfs-actions.pod:1448
27149 #, no-wrap
27150 msgid ""
27151 " int\n"
27152 " guestfs_copy_device_to_file_argv (guestfs_h *g,\n"
27153 "                                   const char *src,\n"
27154 "                                   const char *dest,\n"
27155 "                                   const struct guestfs_copy_device_to_file_argv *optargs);\n"
27156 "\n"
27157 msgstr ""
27158
27159 #. type: textblock
27160 #: ../src/guestfs-actions.pod:1454
27161 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_file>."
27162 msgstr ""
27163
27164 #. type: =head2
27165 #: ../src/guestfs-actions.pod:1458
27166 msgid "guestfs_copy_file_to_device"
27167 msgstr ""
27168
27169 #. type: verbatim
27170 #: ../src/guestfs-actions.pod:1460
27171 #, no-wrap
27172 msgid ""
27173 " int\n"
27174 " guestfs_copy_file_to_device (guestfs_h *g,\n"
27175 "                              const char *src,\n"
27176 "                              const char *dest,\n"
27177 "                              ...);\n"
27178 "\n"
27179 msgstr ""
27180
27181 #. type: verbatim
27182 #: ../src/guestfs-actions.pod:1471
27183 #, no-wrap
27184 msgid ""
27185 " GUESTFS_COPY_FILE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
27186 " GUESTFS_COPY_FILE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
27187 " GUESTFS_COPY_FILE_TO_DEVICE_SIZE, int64_t size,\n"
27188 "\n"
27189 msgstr ""
27190
27191 #. type: =head2
27192 #: ../src/guestfs-actions.pod:1487
27193 msgid "guestfs_copy_file_to_device_va"
27194 msgstr ""
27195
27196 #. type: verbatim
27197 #: ../src/guestfs-actions.pod:1489
27198 #, no-wrap
27199 msgid ""
27200 " int\n"
27201 " guestfs_copy_file_to_device_va (guestfs_h *g,\n"
27202 "                                 const char *src,\n"
27203 "                                 const char *dest,\n"
27204 "                                 va_list args);\n"
27205 "\n"
27206 msgstr ""
27207
27208 #. type: textblock
27209 #: ../src/guestfs-actions.pod:1495
27210 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_device>."
27211 msgstr ""
27212
27213 #. type: =head2
27214 #: ../src/guestfs-actions.pod:1499
27215 msgid "guestfs_copy_file_to_device_argv"
27216 msgstr ""
27217
27218 #. type: verbatim
27219 #: ../src/guestfs-actions.pod:1501
27220 #, no-wrap
27221 msgid ""
27222 " int\n"
27223 " guestfs_copy_file_to_device_argv (guestfs_h *g,\n"
27224 "                                   const char *src,\n"
27225 "                                   const char *dest,\n"
27226 "                                   const struct guestfs_copy_file_to_device_argv *optargs);\n"
27227 "\n"
27228 msgstr ""
27229
27230 #. type: textblock
27231 #: ../src/guestfs-actions.pod:1507
27232 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_device>."
27233 msgstr ""
27234
27235 #. type: =head2
27236 #: ../src/guestfs-actions.pod:1511
27237 msgid "guestfs_copy_file_to_file"
27238 msgstr ""
27239
27240 #. type: verbatim
27241 #: ../src/guestfs-actions.pod:1513
27242 #, no-wrap
27243 msgid ""
27244 " int\n"
27245 " guestfs_copy_file_to_file (guestfs_h *g,\n"
27246 "                            const char *src,\n"
27247 "                            const char *dest,\n"
27248 "                            ...);\n"
27249 "\n"
27250 msgstr ""
27251
27252 #. type: verbatim
27253 #: ../src/guestfs-actions.pod:1524
27254 #, no-wrap
27255 msgid ""
27256 " GUESTFS_COPY_FILE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
27257 " GUESTFS_COPY_FILE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
27258 " GUESTFS_COPY_FILE_TO_FILE_SIZE, int64_t size,\n"
27259 "\n"
27260 msgstr ""
27261
27262 #. type: textblock
27263 #: ../src/guestfs-actions.pod:1531
27264 msgid ""
27265 "This is B<not> the function you want for copying files.  This is for copying "
27266 "blocks within existing files.  See C<guestfs_cp>, C<guestfs_cp_a> and "
27267 "C<guestfs_mv> for general file copying and moving functions."
27268 msgstr ""
27269
27270 #. type: =head2
27271 #: ../src/guestfs-actions.pod:1545
27272 msgid "guestfs_copy_file_to_file_va"
27273 msgstr ""
27274
27275 #. type: verbatim
27276 #: ../src/guestfs-actions.pod:1547
27277 #, no-wrap
27278 msgid ""
27279 " int\n"
27280 " guestfs_copy_file_to_file_va (guestfs_h *g,\n"
27281 "                               const char *src,\n"
27282 "                               const char *dest,\n"
27283 "                               va_list args);\n"
27284 "\n"
27285 msgstr ""
27286
27287 #. type: textblock
27288 #: ../src/guestfs-actions.pod:1553
27289 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_file>."
27290 msgstr ""
27291
27292 #. type: =head2
27293 #: ../src/guestfs-actions.pod:1557
27294 msgid "guestfs_copy_file_to_file_argv"
27295 msgstr ""
27296
27297 #. type: verbatim
27298 #: ../src/guestfs-actions.pod:1559
27299 #, no-wrap
27300 msgid ""
27301 " int\n"
27302 " guestfs_copy_file_to_file_argv (guestfs_h *g,\n"
27303 "                                 const char *src,\n"
27304 "                                 const char *dest,\n"
27305 "                                 const struct guestfs_copy_file_to_file_argv *optargs);\n"
27306 "\n"
27307 msgstr ""
27308
27309 #. type: textblock
27310 #: ../src/guestfs-actions.pod:1565
27311 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_file>."
27312 msgstr ""
27313
27314 #. type: =head2
27315 #: ../src/guestfs-actions.pod:1569
27316 msgid "guestfs_copy_size"
27317 msgstr ""
27318
27319 #. type: verbatim
27320 #: ../src/guestfs-actions.pod:1571
27321 #, no-wrap
27322 msgid ""
27323 " int\n"
27324 " guestfs_copy_size (guestfs_h *g,\n"
27325 "                    const char *src,\n"
27326 "                    const char *dest,\n"
27327 "                    int64_t size);\n"
27328 "\n"
27329 msgstr ""
27330
27331 #. type: textblock
27332 #: ../src/guestfs-actions.pod:1577 ../src/guestfs-actions.pod:1634
27333 msgid ""
27334 "I<This function is deprecated.> In new code, use the L</"
27335 "guestfs_copy_device_to_device> call instead."
27336 msgstr ""
27337
27338 #. type: textblock
27339 #: ../src/guestfs-actions.pod:1597 ../src/guestfs-actions.pod:4820
27340 #: ../src/guestfs-actions.pod:6212 ../src/guestfs-actions.pod:7942
27341 #: ../src/guestfs-actions.pod:7962 ../src/guestfs-actions.pod:8048
27342 msgid "(Added in 1.0.87)"
27343 msgstr "(Додано у 1.0.87)"
27344
27345 #. type: =head2
27346 #: ../src/guestfs-actions.pod:1599
27347 msgid "guestfs_cp"
27348 msgstr ""
27349
27350 #. type: verbatim
27351 #: ../src/guestfs-actions.pod:1601
27352 #, no-wrap
27353 msgid ""
27354 " int\n"
27355 " guestfs_cp (guestfs_h *g,\n"
27356 "             const char *src,\n"
27357 "             const char *dest);\n"
27358 "\n"
27359 msgstr ""
27360
27361 #. type: textblock
27362 #: ../src/guestfs-actions.pod:1611 ../src/guestfs-actions.pod:1625
27363 #: ../src/guestfs-actions.pod:1705 ../src/guestfs-actions.pod:1779
27364 #: ../src/guestfs-actions.pod:1893 ../src/guestfs-actions.pod:5564
27365 #: ../src/guestfs-actions.pod:6056
27366 msgid "(Added in 1.0.18)"
27367 msgstr "(Додано у 1.0.18)"
27368
27369 #. type: =head2
27370 #: ../src/guestfs-actions.pod:1613
27371 msgid "guestfs_cp_a"
27372 msgstr ""
27373
27374 #. type: verbatim
27375 #: ../src/guestfs-actions.pod:1615
27376 #, no-wrap
27377 msgid ""
27378 " int\n"
27379 " guestfs_cp_a (guestfs_h *g,\n"
27380 "               const char *src,\n"
27381 "               const char *dest);\n"
27382 "\n"
27383 msgstr ""
27384
27385 #. type: =head2
27386 #: ../src/guestfs-actions.pod:1627
27387 msgid "guestfs_dd"
27388 msgstr ""
27389
27390 #. type: verbatim
27391 #: ../src/guestfs-actions.pod:1629
27392 #, no-wrap
27393 msgid ""
27394 " int\n"
27395 " guestfs_dd (guestfs_h *g,\n"
27396 "             const char *src,\n"
27397 "             const char *dest);\n"
27398 "\n"
27399 msgstr ""
27400
27401 #. type: textblock
27402 #: ../src/guestfs-actions.pod:1646
27403 msgid ""
27404 "If the destination is a device, it must be as large or larger than the "
27405 "source file or device, otherwise the copy will fail.  This command cannot do "
27406 "partial copies (see C<guestfs_copy_device_to_device>)."
27407 msgstr ""
27408
27409 #. type: =head2
27410 #: ../src/guestfs-actions.pod:1655
27411 msgid "guestfs_df"
27412 msgstr ""
27413
27414 #. type: verbatim
27415 #: ../src/guestfs-actions.pod:1657
27416 #, no-wrap
27417 msgid ""
27418 " char *\n"
27419 " guestfs_df (guestfs_h *g);\n"
27420 "\n"
27421 msgstr ""
27422
27423 #. type: textblock
27424 #: ../src/guestfs-actions.pod:1662 ../src/guestfs-actions.pod:1679
27425 msgid ""
27426 "This command is mostly useful for interactive sessions.  It is I<not> "
27427 "intended that you try to parse the output string.  Use C<guestfs_statvfs> "
27428 "from programs."
27429 msgstr ""
27430
27431 #. type: textblock
27432 #: ../src/guestfs-actions.pod:1669 ../src/guestfs-actions.pod:1686
27433 #: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:2811
27434 #: ../src/guestfs-actions.pod:2835 ../src/guestfs-actions.pod:2903
27435 #: ../src/guestfs-actions.pod:4930 ../src/guestfs-actions.pod:5464
27436 #: ../src/guestfs-actions.pod:7445 ../src/guestfs-actions.pod:7469
27437 #: ../src/guestfs-actions.pod:8088 ../src/guestfs-actions.pod:8101
27438 #: ../src/guestfs-actions.pod:8114
27439 msgid "(Added in 1.0.54)"
27440 msgstr "(Додано у 1.0.54)"
27441
27442 #. type: =head2
27443 #: ../src/guestfs-actions.pod:1671
27444 msgid "guestfs_df_h"
27445 msgstr ""
27446
27447 #. type: verbatim
27448 #: ../src/guestfs-actions.pod:1673
27449 #, no-wrap
27450 msgid ""
27451 " char *\n"
27452 " guestfs_df_h (guestfs_h *g);\n"
27453 "\n"
27454 msgstr ""
27455
27456 #. type: =head2
27457 #: ../src/guestfs-actions.pod:1688
27458 msgid "guestfs_dmesg"
27459 msgstr ""
27460
27461 #. type: verbatim
27462 #: ../src/guestfs-actions.pod:1690
27463 #, no-wrap
27464 msgid ""
27465 " char *\n"
27466 " guestfs_dmesg (guestfs_h *g);\n"
27467 "\n"
27468 msgstr ""
27469
27470 #. type: textblock
27471 #: ../src/guestfs-actions.pod:1697
27472 msgid ""
27473 "Another way to get the same information is to enable verbose messages with "
27474 "C<guestfs_set_verbose> or by setting the environment variable "
27475 "C<LIBGUESTFS_DEBUG=1> before running the program."
27476 msgstr ""
27477
27478 #. type: =head2
27479 #: ../src/guestfs-actions.pod:1707
27480 msgid "guestfs_download"
27481 msgstr ""
27482
27483 #. type: verbatim
27484 #: ../src/guestfs-actions.pod:1709
27485 #, no-wrap
27486 msgid ""
27487 " int\n"
27488 " guestfs_download (guestfs_h *g,\n"
27489 "                   const char *remotefilename,\n"
27490 "                   const char *filename);\n"
27491 "\n"
27492 msgstr ""
27493
27494 #. type: textblock
27495 #: ../src/guestfs-actions.pod:1719
27496 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
27497 msgstr ""
27498
27499 #. type: =head2
27500 #: ../src/guestfs-actions.pod:1730
27501 msgid "guestfs_download_offset"
27502 msgstr ""
27503
27504 #. type: verbatim
27505 #: ../src/guestfs-actions.pod:1732
27506 #, no-wrap
27507 msgid ""
27508 " int\n"
27509 " guestfs_download_offset (guestfs_h *g,\n"
27510 "                          const char *remotefilename,\n"
27511 "                          const char *filename,\n"
27512 "                          int64_t offset,\n"
27513 "                          int64_t size);\n"
27514 "\n"
27515 msgstr ""
27516
27517 #. type: textblock
27518 #: ../src/guestfs-actions.pod:1745
27519 msgid ""
27520 "Note that there is no limit on the amount of data that can be downloaded "
27521 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
27522 "full amount unless an error occurs."
27523 msgstr ""
27524
27525 #. type: textblock
27526 #: ../src/guestfs-actions.pod:1750
27527 msgid "See also C<guestfs_download>, C<guestfs_pread>."
27528 msgstr ""
27529
27530 #. type: textblock
27531 #: ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:7746
27532 msgid "(Added in 1.5.17)"
27533 msgstr "(Додано у 1.5.17)"
27534
27535 #. type: =head2
27536 #: ../src/guestfs-actions.pod:1761
27537 msgid "guestfs_drop_caches"
27538 msgstr ""
27539
27540 #. type: verbatim
27541 #: ../src/guestfs-actions.pod:1763
27542 #, no-wrap
27543 msgid ""
27544 " int\n"
27545 " guestfs_drop_caches (guestfs_h *g,\n"
27546 "                      int whattodrop);\n"
27547 "\n"
27548 msgstr ""
27549
27550 #. type: =head2
27551 #: ../src/guestfs-actions.pod:1781
27552 msgid "guestfs_du"
27553 msgstr ""
27554
27555 #. type: verbatim
27556 #: ../src/guestfs-actions.pod:1783
27557 #, no-wrap
27558 msgid ""
27559 " int64_t\n"
27560 " guestfs_du (guestfs_h *g,\n"
27561 "             const char *path);\n"
27562 "\n"
27563 msgstr ""
27564
27565 #. type: =head2
27566 #: ../src/guestfs-actions.pod:1806
27567 msgid "guestfs_e2fsck_f"
27568 msgstr ""
27569
27570 #. type: verbatim
27571 #: ../src/guestfs-actions.pod:1808
27572 #, no-wrap
27573 msgid ""
27574 " int\n"
27575 " guestfs_e2fsck_f (guestfs_h *g,\n"
27576 "                   const char *device);\n"
27577 "\n"
27578 msgstr ""
27579
27580 #. type: textblock
27581 #: ../src/guestfs-actions.pod:1816
27582 msgid ""
27583 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
27584 "Normally you should use C<guestfs_fsck>."
27585 msgstr ""
27586
27587 #. type: textblock
27588 #: ../src/guestfs-actions.pod:1821
27589 msgid "(Added in 1.0.29)"
27590 msgstr "(Додано у 1.0.29)"
27591
27592 #. type: =head2
27593 #: ../src/guestfs-actions.pod:1823
27594 msgid "guestfs_echo_daemon"
27595 msgstr "guestfs_echo_daemon"
27596
27597 #. type: verbatim
27598 #: ../src/guestfs-actions.pod:1825
27599 #, no-wrap
27600 msgid ""
27601 " char *\n"
27602 " guestfs_echo_daemon (guestfs_h *g,\n"
27603 "                      char *const *words);\n"
27604 "\n"
27605 msgstr ""
27606 " char *\n"
27607 " guestfs_echo_daemon (guestfs_h *g,\n"
27608 "                      char *const *words);\n"
27609 "\n"
27610
27611 #. type: textblock
27612 #: ../src/guestfs-actions.pod:1834
27613 msgid "See also C<guestfs_ping_daemon>."
27614 msgstr ""
27615
27616 #. type: textblock
27617 #: ../src/guestfs-actions.pod:1839 ../src/guestfs-actions.pod:2597
27618 #: ../src/guestfs-actions.pod:6926
27619 msgid "(Added in 1.0.69)"
27620 msgstr "(Додано у 1.0.69)"
27621
27622 #. type: =head2
27623 #: ../src/guestfs-actions.pod:1841
27624 msgid "guestfs_egrep"
27625 msgstr "guestfs_egrep"
27626
27627 #. type: verbatim
27628 #: ../src/guestfs-actions.pod:1843
27629 #, no-wrap
27630 msgid ""
27631 " char **\n"
27632 " guestfs_egrep (guestfs_h *g,\n"
27633 "                const char *regex,\n"
27634 "                const char *path);\n"
27635 "\n"
27636 msgstr ""
27637 " char **\n"
27638 " guestfs_egrep (guestfs_h *g,\n"
27639 "                const char *regex,\n"
27640 "                const char *path);\n"
27641 "\n"
27642
27643 #. type: textblock
27644 #: ../src/guestfs-actions.pod:1858 ../src/guestfs-actions.pod:1877
27645 #: ../src/guestfs-actions.pod:1934 ../src/guestfs-actions.pod:1980
27646 #: ../src/guestfs-actions.pod:1999 ../src/guestfs-actions.pod:2727
27647 #: ../src/guestfs-actions.pod:2746 ../src/guestfs-actions.pod:2924
27648 #: ../src/guestfs-actions.pod:2937 ../src/guestfs-actions.pod:2952
27649 #: ../src/guestfs-actions.pod:2998 ../src/guestfs-actions.pod:3020
27650 #: ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:4319
27651 #: ../src/guestfs-actions.pod:4333 ../src/guestfs-actions.pod:4346
27652 #: ../src/guestfs-actions.pod:4360 ../src/guestfs-actions.pod:5352
27653 #: ../src/guestfs-actions.pod:6390 ../src/guestfs-actions.pod:6439
27654 #: ../src/guestfs-actions.pod:7313 ../src/guestfs-actions.pod:7325
27655 #: ../src/guestfs-actions.pod:7338 ../src/guestfs-actions.pod:7351
27656 #: ../src/guestfs-actions.pod:7373 ../src/guestfs-actions.pod:7386
27657 #: ../src/guestfs-actions.pod:7399 ../src/guestfs-actions.pod:7412
27658 #: ../src/guestfs-actions.pod:8206 ../src/guestfs-actions.pod:8225
27659 #: ../src/guestfs-actions.pod:8316 ../src/guestfs-actions.pod:8335
27660 #: ../src/guestfs-actions.pod:8381 ../src/guestfs-actions.pod:8400
27661 msgid "(Added in 1.0.66)"
27662 msgstr "(Додано у 1.0.66)"
27663
27664 #. type: =head2
27665 #: ../src/guestfs-actions.pod:1860
27666 msgid "guestfs_egrepi"
27667 msgstr "guestfs_egrepi"
27668
27669 #. type: verbatim
27670 #: ../src/guestfs-actions.pod:1862
27671 #, no-wrap
27672 msgid ""
27673 " char **\n"
27674 " guestfs_egrepi (guestfs_h *g,\n"
27675 "                 const char *regex,\n"
27676 "                 const char *path);\n"
27677 "\n"
27678 msgstr ""
27679
27680 #. type: =head2
27681 #: ../src/guestfs-actions.pod:1879
27682 msgid "guestfs_equal"
27683 msgstr ""
27684
27685 #. type: verbatim
27686 #: ../src/guestfs-actions.pod:1881
27687 #, no-wrap
27688 msgid ""
27689 " int\n"
27690 " guestfs_equal (guestfs_h *g,\n"
27691 "                const char *file1,\n"
27692 "                const char *file2);\n"
27693 "\n"
27694 msgstr ""
27695
27696 #. type: =head2
27697 #: ../src/guestfs-actions.pod:1895
27698 msgid "guestfs_exists"
27699 msgstr ""
27700
27701 #. type: verbatim
27702 #: ../src/guestfs-actions.pod:1897
27703 #, no-wrap
27704 msgid ""
27705 " int\n"
27706 " guestfs_exists (guestfs_h *g,\n"
27707 "                 const char *path);\n"
27708 "\n"
27709 msgstr ""
27710
27711 #. type: textblock
27712 #: ../src/guestfs-actions.pod:1904
27713 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
27714 msgstr ""
27715
27716 #. type: =head2
27717 #: ../src/guestfs-actions.pod:1910
27718 msgid "guestfs_fallocate"
27719 msgstr ""
27720
27721 #. type: verbatim
27722 #: ../src/guestfs-actions.pod:1912
27723 #, no-wrap
27724 msgid ""
27725 " int\n"
27726 " guestfs_fallocate (guestfs_h *g,\n"
27727 "                    const char *path,\n"
27728 "                    int len);\n"
27729 "\n"
27730 msgstr ""
27731
27732 #. type: textblock
27733 #: ../src/guestfs-actions.pod:1917
27734 msgid ""
27735 "I<This function is deprecated.> In new code, use the L</guestfs_fallocate64> "
27736 "call instead."
27737 msgstr ""
27738
27739 #. type: =head2
27740 #: ../src/guestfs-actions.pod:1936
27741 msgid "guestfs_fallocate64"
27742 msgstr ""
27743
27744 #. type: verbatim
27745 #: ../src/guestfs-actions.pod:1938
27746 #, no-wrap
27747 msgid ""
27748 " int\n"
27749 " guestfs_fallocate64 (guestfs_h *g,\n"
27750 "                      const char *path,\n"
27751 "                      int64_t len);\n"
27752 "\n"
27753 msgstr ""
27754
27755 #. type: textblock
27756 #: ../src/guestfs-actions.pod:1947
27757 msgid ""
27758 "Note that this call allocates disk blocks for the file.  To create a sparse "
27759 "file use C<guestfs_truncate_size> instead."
27760 msgstr ""
27761
27762 #. type: textblock
27763 #: ../src/guestfs-actions.pod:1950
27764 msgid ""
27765 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
27766 "oversight it only allowed 30 bit lengths to be specified, effectively "
27767 "limiting the maximum size of files created through that call to 1GB."
27768 msgstr ""
27769
27770 #. type: textblock
27771 #: ../src/guestfs-actions.pod:1961
27772 msgid "(Added in 1.3.17)"
27773 msgstr "(Додано у 1.3.17)"
27774
27775 #. type: =head2
27776 #: ../src/guestfs-actions.pod:1963
27777 msgid "guestfs_fgrep"
27778 msgstr ""
27779
27780 #. type: verbatim
27781 #: ../src/guestfs-actions.pod:1965
27782 #, no-wrap
27783 msgid ""
27784 " char **\n"
27785 " guestfs_fgrep (guestfs_h *g,\n"
27786 "                const char *pattern,\n"
27787 "                const char *path);\n"
27788 "\n"
27789 msgstr ""
27790
27791 #. type: =head2
27792 #: ../src/guestfs-actions.pod:1982
27793 msgid "guestfs_fgrepi"
27794 msgstr ""
27795
27796 #. type: verbatim
27797 #: ../src/guestfs-actions.pod:1984
27798 #, no-wrap
27799 msgid ""
27800 " char **\n"
27801 " guestfs_fgrepi (guestfs_h *g,\n"
27802 "                 const char *pattern,\n"
27803 "                 const char *path);\n"
27804 "\n"
27805 msgstr ""
27806
27807 #. type: =head2
27808 #: ../src/guestfs-actions.pod:2001
27809 msgid "guestfs_file"
27810 msgstr ""
27811
27812 #. type: verbatim
27813 #: ../src/guestfs-actions.pod:2003
27814 #, no-wrap
27815 msgid ""
27816 " char *\n"
27817 " guestfs_file (guestfs_h *g,\n"
27818 "               const char *path);\n"
27819 "\n"
27820 msgstr ""
27821
27822 #. type: textblock
27823 #: ../src/guestfs-actions.pod:2021
27824 msgid ""
27825 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
27826 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
27827 msgstr ""
27828
27829 #. type: =head2
27830 #: ../src/guestfs-actions.pod:2029
27831 msgid "guestfs_file_architecture"
27832 msgstr ""
27833
27834 #. type: verbatim
27835 #: ../src/guestfs-actions.pod:2031
27836 #, no-wrap
27837 msgid ""
27838 " char *\n"
27839 " guestfs_file_architecture (guestfs_h *g,\n"
27840 "                            const char *filename);\n"
27841 "\n"
27842 msgstr ""
27843
27844 #. type: textblock
27845 #: ../src/guestfs-actions.pod:2139 ../src/guestfs-actions.pod:2302
27846 #: ../src/guestfs-actions.pod:2319 ../src/guestfs-actions.pod:3053
27847 #: ../src/guestfs-actions.pod:3155 ../src/guestfs-actions.pod:3221
27848 #: ../src/guestfs-actions.pod:3408 ../src/guestfs-actions.pod:3426
27849 #: ../src/guestfs-actions.pod:3466 ../src/guestfs-actions.pod:3542
27850 #: ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3876
27851 #: ../src/guestfs-actions.pod:4008
27852 msgid "(Added in 1.5.3)"
27853 msgstr "(Додано у 1.5.3)"
27854
27855 #. type: =head2
27856 #: ../src/guestfs-actions.pod:2141
27857 msgid "guestfs_filesize"
27858 msgstr ""
27859
27860 #. type: verbatim
27861 #: ../src/guestfs-actions.pod:2143
27862 #, no-wrap
27863 msgid ""
27864 " int64_t\n"
27865 " guestfs_filesize (guestfs_h *g,\n"
27866 "                   const char *file);\n"
27867 "\n"
27868 msgstr ""
27869
27870 #. type: textblock
27871 #: ../src/guestfs-actions.pod:2149
27872 msgid ""
27873 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
27874 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
27875 "devices, use C<guestfs_blockdev_getsize64>."
27876 msgstr ""
27877
27878 #. type: textblock
27879 #: ../src/guestfs-actions.pod:2155
27880 msgid "(Added in 1.0.82)"
27881 msgstr "(Додано у 1.0.82)"
27882
27883 #. type: =head2
27884 #: ../src/guestfs-actions.pod:2157
27885 msgid "guestfs_fill"
27886 msgstr ""
27887
27888 #. type: verbatim
27889 #: ../src/guestfs-actions.pod:2159
27890 #, no-wrap
27891 msgid ""
27892 " int\n"
27893 " guestfs_fill (guestfs_h *g,\n"
27894 "               int c,\n"
27895 "               int len,\n"
27896 "               const char *path);\n"
27897 "\n"
27898 msgstr ""
27899
27900 #. type: textblock
27901 #: ../src/guestfs-actions.pod:2169
27902 msgid ""
27903 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
27904 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
27905 "bytes use C<guestfs_fill_pattern>."
27906 msgstr ""
27907
27908 #. type: textblock
27909 #: ../src/guestfs-actions.pod:2181
27910 msgid "(Added in 1.0.79)"
27911 msgstr "(Додано у 1.0.79)"
27912
27913 #. type: =head2
27914 #: ../src/guestfs-actions.pod:2183
27915 msgid "guestfs_fill_pattern"
27916 msgstr ""
27917
27918 #. type: verbatim
27919 #: ../src/guestfs-actions.pod:2185
27920 #, no-wrap
27921 msgid ""
27922 " int\n"
27923 " guestfs_fill_pattern (guestfs_h *g,\n"
27924 "                       const char *pattern,\n"
27925 "                       int len,\n"
27926 "                       const char *path);\n"
27927 "\n"
27928 msgstr ""
27929
27930 #. type: textblock
27931 #: ../src/guestfs-actions.pod:2191
27932 msgid ""
27933 "This function is like C<guestfs_fill> except that it creates a new file of "
27934 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
27935 "pattern is truncated if necessary to ensure the length of the file is "
27936 "exactly C<len> bytes."
27937 msgstr ""
27938
27939 #. type: textblock
27940 #: ../src/guestfs-actions.pod:2203
27941 msgid "(Added in 1.3.12)"
27942 msgstr "(Додано у 1.3.12)"
27943
27944 #. type: =head2
27945 #: ../src/guestfs-actions.pod:2205
27946 msgid "guestfs_find"
27947 msgstr ""
27948
27949 #. type: verbatim
27950 #: ../src/guestfs-actions.pod:2207
27951 #, no-wrap
27952 msgid ""
27953 " char **\n"
27954 " guestfs_find (guestfs_h *g,\n"
27955 "               const char *directory);\n"
27956 "\n"
27957 msgstr ""
27958
27959 #. type: textblock
27960 #: ../src/guestfs-actions.pod:2223
27961 msgid ""
27962 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
27963 msgstr ""
27964
27965 #. type: textblock
27966 #: ../src/guestfs-actions.pod:2236
27967 msgid "See also C<guestfs_find0>."
27968 msgstr ""
27969
27970 #. type: textblock
27971 #: ../src/guestfs-actions.pod:2245 ../src/guestfs-actions.pod:4757
27972 #: ../src/guestfs-actions.pod:6474
27973 msgid "(Added in 1.0.27)"
27974 msgstr "(Додано у 1.0.27)"
27975
27976 #. type: =head2
27977 #: ../src/guestfs-actions.pod:2247
27978 msgid "guestfs_find0"
27979 msgstr ""
27980
27981 #. type: verbatim
27982 #: ../src/guestfs-actions.pod:2249
27983 #, no-wrap
27984 msgid ""
27985 " int\n"
27986 " guestfs_find0 (guestfs_h *g,\n"
27987 "                const char *directory,\n"
27988 "                const char *files);\n"
27989 "\n"
27990 msgstr ""
27991
27992 #. type: textblock
27993 #: ../src/guestfs-actions.pod:2258
27994 msgid ""
27995 "This command works the same way as C<guestfs_find> with the following "
27996 "exceptions:"
27997 msgstr ""
27998
27999 #. type: textblock
28000 #: ../src/guestfs-actions.pod:2285
28001 msgid "(Added in 1.0.74)"
28002 msgstr "(Додано у 1.0.74)"
28003
28004 #. type: =head2
28005 #: ../src/guestfs-actions.pod:2287
28006 msgid "guestfs_findfs_label"
28007 msgstr ""
28008
28009 #. type: verbatim
28010 #: ../src/guestfs-actions.pod:2289
28011 #, no-wrap
28012 msgid ""
28013 " char *\n"
28014 " guestfs_findfs_label (guestfs_h *g,\n"
28015 "                       const char *label);\n"
28016 "\n"
28017 msgstr ""
28018
28019 #. type: textblock
28020 #: ../src/guestfs-actions.pod:2297
28021 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
28022 msgstr ""
28023
28024 #. type: =head2
28025 #: ../src/guestfs-actions.pod:2304
28026 msgid "guestfs_findfs_uuid"
28027 msgstr ""
28028
28029 #. type: verbatim
28030 #: ../src/guestfs-actions.pod:2306
28031 #, no-wrap
28032 msgid ""
28033 " char *\n"
28034 " guestfs_findfs_uuid (guestfs_h *g,\n"
28035 "                      const char *uuid);\n"
28036 "\n"
28037 msgstr ""
28038
28039 #. type: textblock
28040 #: ../src/guestfs-actions.pod:2314
28041 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
28042 msgstr ""
28043
28044 #. type: =head2
28045 #: ../src/guestfs-actions.pod:2321
28046 msgid "guestfs_fsck"
28047 msgstr ""
28048
28049 #. type: verbatim
28050 #: ../src/guestfs-actions.pod:2323
28051 #, no-wrap
28052 msgid ""
28053 " int\n"
28054 " guestfs_fsck (guestfs_h *g,\n"
28055 "               const char *fstype,\n"
28056 "               const char *device);\n"
28057 "\n"
28058 msgstr ""
28059
28060 #. type: textblock
28061 #: ../src/guestfs-actions.pod:2358 ../src/guestfs-actions.pod:8253
28062 msgid "(Added in 1.0.16)"
28063 msgstr "(Додано у 1.0.16)"
28064
28065 #. type: =head2
28066 #: ../src/guestfs-actions.pod:2360
28067 msgid "guestfs_get_append"
28068 msgstr ""
28069
28070 #. type: verbatim
28071 #: ../src/guestfs-actions.pod:2362
28072 #, no-wrap
28073 msgid ""
28074 " const char *\n"
28075 " guestfs_get_append (guestfs_h *g);\n"
28076 "\n"
28077 msgstr ""
28078
28079 #. type: textblock
28080 #: ../src/guestfs-actions.pod:2370
28081 msgid ""
28082 "This function returns a string which may be NULL.  There is no way to return "
28083 "an error from this function.  The string is owned by the guest handle and "
28084 "must I<not> be freed."
28085 msgstr ""
28086
28087 #. type: textblock
28088 #: ../src/guestfs-actions.pod:2374 ../src/guestfs-actions.pod:6152
28089 #: ../src/guestfs-actions.pod:6631 ../src/guestfs-actions.pod:7080
28090 #: ../src/guestfs-actions.pod:7099 ../src/guestfs-actions.pod:7115
28091 #: ../src/guestfs-actions.pod:7139 ../src/guestfs-actions.pod:7893
28092 #: ../src/guestfs-actions.pod:7908 ../src/guestfs-actions.pod:8297
28093 msgid "(Added in 1.0.26)"
28094 msgstr "(Додано у 1.0.26)"
28095
28096 #. type: =head2
28097 #: ../src/guestfs-actions.pod:2376
28098 msgid "guestfs_get_attach_method"
28099 msgstr ""
28100
28101 #. type: verbatim
28102 #: ../src/guestfs-actions.pod:2378
28103 #, no-wrap
28104 msgid ""
28105 " char *\n"
28106 " guestfs_get_attach_method (guestfs_h *g);\n"
28107 "\n"
28108 msgstr ""
28109
28110 #. type: textblock
28111 #: ../src/guestfs-actions.pod:2381
28112 msgid "Return the current attach method.  See C<guestfs_set_attach_method>."
28113 msgstr ""
28114
28115 #. type: textblock
28116 #: ../src/guestfs-actions.pod:2386 ../src/guestfs-actions.pod:6661
28117 msgid "(Added in 1.9.8)"
28118 msgstr "(Додано у 1.9.8)"
28119
28120 #. type: =head2
28121 #: ../src/guestfs-actions.pod:2388
28122 msgid "guestfs_get_autosync"
28123 msgstr ""
28124
28125 #. type: verbatim
28126 #: ../src/guestfs-actions.pod:2390
28127 #, no-wrap
28128 msgid ""
28129 " int\n"
28130 " guestfs_get_autosync (guestfs_h *g);\n"
28131 "\n"
28132 msgstr ""
28133
28134 #. type: =head2
28135 #: ../src/guestfs-actions.pod:2399
28136 msgid "guestfs_get_direct"
28137 msgstr ""
28138
28139 #. type: verbatim
28140 #: ../src/guestfs-actions.pod:2401
28141 #, no-wrap
28142 msgid ""
28143 " int\n"
28144 " guestfs_get_direct (guestfs_h *g);\n"
28145 "\n"
28146 msgstr ""
28147
28148 #. type: textblock
28149 #: ../src/guestfs-actions.pod:2408 ../src/guestfs-actions.pod:6702
28150 msgid "(Added in 1.0.72)"
28151 msgstr "(Додано у 1.0.72)"
28152
28153 #. type: =head2
28154 #: ../src/guestfs-actions.pod:2410
28155 msgid "guestfs_get_e2label"
28156 msgstr ""
28157
28158 #. type: verbatim
28159 #: ../src/guestfs-actions.pod:2412
28160 #, no-wrap
28161 msgid ""
28162 " char *\n"
28163 " guestfs_get_e2label (guestfs_h *g,\n"
28164 "                      const char *device);\n"
28165 "\n"
28166 msgstr ""
28167
28168 #. type: textblock
28169 #: ../src/guestfs-actions.pod:2416
28170 msgid ""
28171 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_label> "
28172 "call instead."
28173 msgstr ""
28174
28175 #. type: textblock
28176 #: ../src/guestfs-actions.pod:2429 ../src/guestfs-actions.pod:2450
28177 #: ../src/guestfs-actions.pod:6720 ../src/guestfs-actions.pod:6739
28178 msgid "(Added in 1.0.15)"
28179 msgstr "(Додано у 1.0.15)"
28180
28181 #. type: =head2
28182 #: ../src/guestfs-actions.pod:2431
28183 msgid "guestfs_get_e2uuid"
28184 msgstr ""
28185
28186 #. type: verbatim
28187 #: ../src/guestfs-actions.pod:2433
28188 #, no-wrap
28189 msgid ""
28190 " char *\n"
28191 " guestfs_get_e2uuid (guestfs_h *g,\n"
28192 "                     const char *device);\n"
28193 "\n"
28194 msgstr ""
28195
28196 #. type: textblock
28197 #: ../src/guestfs-actions.pod:2437
28198 msgid ""
28199 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_uuid> "
28200 "call instead."
28201 msgstr ""
28202
28203 #. type: =head2
28204 #: ../src/guestfs-actions.pod:2452
28205 msgid "guestfs_get_memsize"
28206 msgstr ""
28207
28208 #. type: verbatim
28209 #: ../src/guestfs-actions.pod:2454
28210 #, no-wrap
28211 msgid ""
28212 " int\n"
28213 " guestfs_get_memsize (guestfs_h *g);\n"
28214 "\n"
28215 msgstr ""
28216
28217 #. type: textblock
28218 #: ../src/guestfs-actions.pod:2460
28219 msgid ""
28220 "If C<guestfs_set_memsize> was not called on this handle, and if "
28221 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
28222 "value for memsize."
28223 msgstr ""
28224
28225 #. type: textblock
28226 #: ../src/guestfs-actions.pod:2469 ../src/guestfs-actions.pod:5048
28227 #: ../src/guestfs-actions.pod:5257 ../src/guestfs-actions.pod:5276
28228 #: ../src/guestfs-actions.pod:5295 ../src/guestfs-actions.pod:5307
28229 #: ../src/guestfs-actions.pod:5324 ../src/guestfs-actions.pod:5337
28230 #: ../src/guestfs-actions.pod:6377 ../src/guestfs-actions.pod:6760
28231 #: ../src/guestfs-actions.pod:7050 ../src/guestfs-actions.pod:7662
28232 msgid "(Added in 1.0.55)"
28233 msgstr "(Додано у 1.0.55)"
28234
28235 #. type: =head2
28236 #: ../src/guestfs-actions.pod:2471
28237 msgid "guestfs_get_network"
28238 msgstr ""
28239
28240 #. type: verbatim
28241 #: ../src/guestfs-actions.pod:2473
28242 #, no-wrap
28243 msgid ""
28244 " int\n"
28245 " guestfs_get_network (guestfs_h *g);\n"
28246 "\n"
28247 msgstr ""
28248
28249 #. type: textblock
28250 #: ../src/guestfs-actions.pod:2480 ../src/guestfs-actions.pod:6779
28251 msgid "(Added in 1.5.4)"
28252 msgstr "(Додано у 1.5.4)"
28253
28254 #. type: =head2
28255 #: ../src/guestfs-actions.pod:2482
28256 msgid "guestfs_get_path"
28257 msgstr ""
28258
28259 #. type: verbatim
28260 #: ../src/guestfs-actions.pod:2484
28261 #, no-wrap
28262 msgid ""
28263 " const char *\n"
28264 " guestfs_get_path (guestfs_h *g);\n"
28265 "\n"
28266 msgstr ""
28267
28268 #. type: textblock
28269 #: ../src/guestfs-actions.pod:2492 ../src/guestfs-actions.pod:2532
28270 msgid ""
28271 "This function returns a string, or NULL on error.  The string is owned by "
28272 "the guest handle and must I<not> be freed."
28273 msgstr ""
28274
28275 #. type: =head2
28276 #: ../src/guestfs-actions.pod:2497
28277 msgid "guestfs_get_pgroup"
28278 msgstr ""
28279
28280 #. type: verbatim
28281 #: ../src/guestfs-actions.pod:2499
28282 #, no-wrap
28283 msgid ""
28284 " int\n"
28285 " guestfs_get_pgroup (guestfs_h *g);\n"
28286 "\n"
28287 msgstr ""
28288
28289 #. type: textblock
28290 #: ../src/guestfs-actions.pod:2506 ../src/guestfs-actions.pod:6815
28291 #: ../src/guestfs-actions.pod:8154
28292 msgid "(Added in 1.11.18)"
28293 msgstr "(Додано у 1.11.18)"
28294
28295 #. type: =head2
28296 #: ../src/guestfs-actions.pod:2508
28297 msgid "guestfs_get_pid"
28298 msgstr ""
28299
28300 #. type: verbatim
28301 #: ../src/guestfs-actions.pod:2510
28302 #, no-wrap
28303 msgid ""
28304 " int\n"
28305 " guestfs_get_pid (guestfs_h *g);\n"
28306 "\n"
28307 msgstr ""
28308
28309 #. type: textblock
28310 #: ../src/guestfs-actions.pod:2520
28311 msgid "(Added in 1.0.56)"
28312 msgstr "(Додано у 1.0.56)"
28313
28314 #. type: =head2
28315 #: ../src/guestfs-actions.pod:2522
28316 msgid "guestfs_get_qemu"
28317 msgstr ""
28318
28319 #. type: verbatim
28320 #: ../src/guestfs-actions.pod:2524
28321 #, no-wrap
28322 msgid ""
28323 " const char *\n"
28324 " guestfs_get_qemu (guestfs_h *g);\n"
28325 "\n"
28326 msgstr ""
28327
28328 #. type: textblock
28329 #: ../src/guestfs-actions.pod:2535 ../src/guestfs-actions.pod:6843
28330 msgid "(Added in 1.0.6)"
28331 msgstr "(Додано у 1.0.6)"
28332
28333 #. type: =head2
28334 #: ../src/guestfs-actions.pod:2537
28335 msgid "guestfs_get_recovery_proc"
28336 msgstr ""
28337
28338 #. type: verbatim
28339 #: ../src/guestfs-actions.pod:2539
28340 #, no-wrap
28341 msgid ""
28342 " int\n"
28343 " guestfs_get_recovery_proc (guestfs_h *g);\n"
28344 "\n"
28345 msgstr ""
28346
28347 #. type: textblock
28348 #: ../src/guestfs-actions.pod:2546 ../src/guestfs-actions.pod:4130
28349 #: ../src/guestfs-actions.pod:4461 ../src/guestfs-actions.pod:4855
28350 #: ../src/guestfs-actions.pod:4887 ../src/guestfs-actions.pod:6082
28351 #: ../src/guestfs-actions.pod:6425 ../src/guestfs-actions.pod:6867
28352 #: ../src/guestfs-actions.pod:7565 ../src/guestfs-actions.pod:7585
28353 #: ../src/guestfs-actions.pod:7777
28354 msgid "(Added in 1.0.77)"
28355 msgstr "(Додано у 1.0.77)"
28356
28357 #. type: =head2
28358 #: ../src/guestfs-actions.pod:2548
28359 msgid "guestfs_get_selinux"
28360 msgstr ""
28361
28362 #. type: verbatim
28363 #: ../src/guestfs-actions.pod:2550
28364 #, no-wrap
28365 msgid ""
28366 " int\n"
28367 " guestfs_get_selinux (guestfs_h *g);\n"
28368 "\n"
28369 msgstr ""
28370
28371 #. type: textblock
28372 #: ../src/guestfs-actions.pod:2553
28373 msgid ""
28374 "This returns the current setting of the selinux flag which is passed to the "
28375 "appliance at boot time.  See C<guestfs_set_selinux>."
28376 msgstr ""
28377
28378 #. type: textblock
28379 #: ../src/guestfs-actions.pod:2561 ../src/guestfs-actions.pod:2635
28380 #: ../src/guestfs-actions.pod:6886 ../src/guestfs-actions.pod:6960
28381 msgid "(Added in 1.0.67)"
28382 msgstr "(Додано у 1.0.67)"
28383
28384 #. type: =head2
28385 #: ../src/guestfs-actions.pod:2563
28386 msgid "guestfs_get_smp"
28387 msgstr ""
28388
28389 #. type: verbatim
28390 #: ../src/guestfs-actions.pod:2565
28391 #, no-wrap
28392 msgid ""
28393 " int\n"
28394 " guestfs_get_smp (guestfs_h *g);\n"
28395 "\n"
28396 msgstr ""
28397
28398 #. type: =head2
28399 #: ../src/guestfs-actions.pod:2574
28400 msgid "guestfs_get_state"
28401 msgstr ""
28402
28403 #. type: verbatim
28404 #: ../src/guestfs-actions.pod:2576
28405 #, no-wrap
28406 msgid ""
28407 " int\n"
28408 " guestfs_get_state (guestfs_h *g);\n"
28409 "\n"
28410 msgstr ""
28411
28412 #. type: =head2
28413 #: ../src/guestfs-actions.pod:2588
28414 msgid "guestfs_get_trace"
28415 msgstr ""
28416
28417 #. type: verbatim
28418 #: ../src/guestfs-actions.pod:2590
28419 #, no-wrap
28420 msgid ""
28421 " int\n"
28422 " guestfs_get_trace (guestfs_h *g);\n"
28423 "\n"
28424 msgstr ""
28425
28426 #. type: =head2
28427 #: ../src/guestfs-actions.pod:2599
28428 msgid "guestfs_get_umask"
28429 msgstr ""
28430
28431 #. type: verbatim
28432 #: ../src/guestfs-actions.pod:2601
28433 #, no-wrap
28434 msgid ""
28435 " int\n"
28436 " guestfs_get_umask (guestfs_h *g);\n"
28437 "\n"
28438 msgstr ""
28439
28440 #. type: textblock
28441 #: ../src/guestfs-actions.pod:2604
28442 msgid ""
28443 "Return the current umask.  By default the umask is C<022> unless it has been "
28444 "set by calling C<guestfs_umask>."
28445 msgstr ""
28446
28447 #. type: =head2
28448 #: ../src/guestfs-actions.pod:2611
28449 msgid "guestfs_get_verbose"
28450 msgstr ""
28451
28452 #. type: verbatim
28453 #: ../src/guestfs-actions.pod:2613
28454 #, no-wrap
28455 msgid ""
28456 " int\n"
28457 " guestfs_get_verbose (guestfs_h *g);\n"
28458 "\n"
28459 msgstr ""
28460
28461 #. type: =head2
28462 #: ../src/guestfs-actions.pod:2622
28463 msgid "guestfs_getcon"
28464 msgstr ""
28465
28466 #. type: verbatim
28467 #: ../src/guestfs-actions.pod:2624
28468 #, no-wrap
28469 msgid ""
28470 " char *\n"
28471 " guestfs_getcon (guestfs_h *g);\n"
28472 "\n"
28473 msgstr ""
28474
28475 #. type: textblock
28476 #: ../src/guestfs-actions.pod:2629
28477 msgid ""
28478 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
28479 msgstr ""
28480
28481 #. type: =head2
28482 #: ../src/guestfs-actions.pod:2637
28483 msgid "guestfs_getxattr"
28484 msgstr ""
28485
28486 #. type: verbatim
28487 #: ../src/guestfs-actions.pod:2639
28488 #, no-wrap
28489 msgid ""
28490 " char *\n"
28491 " guestfs_getxattr (guestfs_h *g,\n"
28492 "                   const char *path,\n"
28493 "                   const char *name,\n"
28494 "                   size_t *size_r);\n"
28495 "\n"
28496 msgstr ""
28497
28498 #. type: textblock
28499 #: ../src/guestfs-actions.pod:2645
28500 msgid ""
28501 "Get a single extended attribute from file C<path> named C<name>.  This call "
28502 "follows symlinks.  If you want to lookup an extended attribute for the "
28503 "symlink itself, use C<guestfs_lgetxattr>."
28504 msgstr ""
28505
28506 #. type: textblock
28507 #: ../src/guestfs-actions.pod:2649 ../src/guestfs-actions.pod:4144
28508 msgid ""
28509 "Normally it is better to get all extended attributes from a file in one go "
28510 "by calling C<guestfs_getxattrs>.  However some Linux filesystem "
28511 "implementations are buggy and do not provide a way to list out attributes.  "
28512 "For these filesystems (notably ntfs-3g)  you have to know the names of the "
28513 "extended attributes you want in advance and call this function."
28514 msgstr ""
28515
28516 #. type: textblock
28517 #: ../src/guestfs-actions.pod:2659
28518 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
28519 msgstr ""
28520
28521 #. type: textblock
28522 #: ../src/guestfs-actions.pod:2661 ../src/guestfs-actions.pod:2874
28523 #: ../src/guestfs-actions.pod:3356 ../src/guestfs-actions.pod:4156
28524 #: ../src/guestfs-actions.pod:6075 ../src/guestfs-actions.pod:6101
28525 #: ../src/guestfs-actions.pod:6282
28526 msgid ""
28527 "This function returns a buffer, or NULL on error.  The size of the returned "
28528 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
28529 "after use>."
28530 msgstr ""
28531
28532 #. type: textblock
28533 #: ../src/guestfs-actions.pod:2665 ../src/guestfs-actions.pod:4160
28534 msgid "(Added in 1.7.24)"
28535 msgstr "(Додано у 1.7.24)"
28536
28537 #. type: =head2
28538 #: ../src/guestfs-actions.pod:2667
28539 msgid "guestfs_getxattrs"
28540 msgstr ""
28541
28542 #. type: verbatim
28543 #: ../src/guestfs-actions.pod:2669
28544 #, no-wrap
28545 msgid ""
28546 " struct guestfs_xattr_list *\n"
28547 " guestfs_getxattrs (guestfs_h *g,\n"
28548 "                    const char *path);\n"
28549 "\n"
28550 msgstr ""
28551
28552 #. type: textblock
28553 #: ../src/guestfs-actions.pod:2679
28554 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
28555 msgstr ""
28556
28557 #. type: textblock
28558 #: ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:4172
28559 #: ../src/guestfs-actions.pod:4851
28560 msgid ""
28561 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
28562 "an error.  I<The caller must call C<guestfs_free_xattr_list> after use>."
28563 msgstr ""
28564
28565 #. type: textblock
28566 #: ../src/guestfs-actions.pod:2685 ../src/guestfs-actions.pod:4176
28567 #: ../src/guestfs-actions.pod:4375 ../src/guestfs-actions.pod:4411
28568 #: ../src/guestfs-actions.pod:6455 ../src/guestfs-actions.pod:6979
28569 #: ../src/guestfs-actions.pod:8362
28570 msgid "(Added in 1.0.59)"
28571 msgstr "(Додано у 1.0.59)"
28572
28573 #. type: =head2
28574 #: ../src/guestfs-actions.pod:2687
28575 msgid "guestfs_glob_expand"
28576 msgstr ""
28577
28578 #. type: verbatim
28579 #: ../src/guestfs-actions.pod:2689
28580 #, no-wrap
28581 msgid ""
28582 " char **\n"
28583 " guestfs_glob_expand (guestfs_h *g,\n"
28584 "                      const char *pattern);\n"
28585 "\n"
28586 msgstr ""
28587
28588 #. type: textblock
28589 #: ../src/guestfs-actions.pod:2708 ../src/guestfs-actions.pod:7163
28590 #: ../src/guestfs-actions.pod:7180
28591 msgid "(Added in 1.0.50)"
28592 msgstr "(Додано у 1.0.50)"
28593
28594 #. type: =head2
28595 #: ../src/guestfs-actions.pod:2710
28596 msgid "guestfs_grep"
28597 msgstr ""
28598
28599 #. type: verbatim
28600 #: ../src/guestfs-actions.pod:2712
28601 #, no-wrap
28602 msgid ""
28603 " char **\n"
28604 " guestfs_grep (guestfs_h *g,\n"
28605 "               const char *regex,\n"
28606 "               const char *path);\n"
28607 "\n"
28608 msgstr ""
28609
28610 #. type: =head2
28611 #: ../src/guestfs-actions.pod:2729
28612 msgid "guestfs_grepi"
28613 msgstr ""
28614
28615 #. type: verbatim
28616 #: ../src/guestfs-actions.pod:2731
28617 #, no-wrap
28618 msgid ""
28619 " char **\n"
28620 " guestfs_grepi (guestfs_h *g,\n"
28621 "                const char *regex,\n"
28622 "                const char *path);\n"
28623 "\n"
28624 msgstr ""
28625
28626 #. type: =head2
28627 #: ../src/guestfs-actions.pod:2748
28628 msgid "guestfs_grub_install"
28629 msgstr ""
28630
28631 #. type: verbatim
28632 #: ../src/guestfs-actions.pod:2750
28633 #, no-wrap
28634 msgid ""
28635 " int\n"
28636 " guestfs_grub_install (guestfs_h *g,\n"
28637 "                       const char *root,\n"
28638 "                       const char *device);\n"
28639 "\n"
28640 msgstr ""
28641
28642 #. type: textblock
28643 #: ../src/guestfs-actions.pod:2793
28644 msgid "(Added in 1.0.17)"
28645 msgstr "(Додано у 1.0.17)"
28646
28647 #. type: =head2
28648 #: ../src/guestfs-actions.pod:2795
28649 msgid "guestfs_head"
28650 msgstr ""
28651
28652 #. type: verbatim
28653 #: ../src/guestfs-actions.pod:2797
28654 #, no-wrap
28655 msgid ""
28656 " char **\n"
28657 " guestfs_head (guestfs_h *g,\n"
28658 "               const char *path);\n"
28659 "\n"
28660 msgstr ""
28661
28662 #. type: =head2
28663 #: ../src/guestfs-actions.pod:2813
28664 msgid "guestfs_head_n"
28665 msgstr ""
28666
28667 #. type: verbatim
28668 #: ../src/guestfs-actions.pod:2815
28669 #, no-wrap
28670 msgid ""
28671 " char **\n"
28672 " guestfs_head_n (guestfs_h *g,\n"
28673 "                 int nrlines,\n"
28674 "                 const char *path);\n"
28675 "\n"
28676 msgstr ""
28677
28678 #. type: =head2
28679 #: ../src/guestfs-actions.pod:2837
28680 msgid "guestfs_hexdump"
28681 msgstr ""
28682
28683 #. type: verbatim
28684 #: ../src/guestfs-actions.pod:2839
28685 #, no-wrap
28686 msgid ""
28687 " char *\n"
28688 " guestfs_hexdump (guestfs_h *g,\n"
28689 "                  const char *path);\n"
28690 "\n"
28691 msgstr ""
28692
28693 #. type: textblock
28694 #: ../src/guestfs-actions.pod:2852 ../src/guestfs-actions.pod:7244
28695 #: ../src/guestfs-actions.pod:7299
28696 msgid "(Added in 1.0.22)"
28697 msgstr "(Додано у 1.0.22)"
28698
28699 #. type: =head2
28700 #: ../src/guestfs-actions.pod:2854
28701 msgid "guestfs_initrd_cat"
28702 msgstr ""
28703
28704 #. type: verbatim
28705 #: ../src/guestfs-actions.pod:2856
28706 #, no-wrap
28707 msgid ""
28708 " char *\n"
28709 " guestfs_initrd_cat (guestfs_h *g,\n"
28710 "                     const char *initrdpath,\n"
28711 "                     const char *filename,\n"
28712 "                     size_t *size_r);\n"
28713 "\n"
28714 msgstr ""
28715
28716 #. type: textblock
28717 #: ../src/guestfs-actions.pod:2872
28718 msgid "See also C<guestfs_initrd_list>."
28719 msgstr ""
28720
28721 #. type: =head2
28722 #: ../src/guestfs-actions.pod:2883
28723 msgid "guestfs_initrd_list"
28724 msgstr ""
28725
28726 #. type: verbatim
28727 #: ../src/guestfs-actions.pod:2885
28728 #, no-wrap
28729 msgid ""
28730 " char **\n"
28731 " guestfs_initrd_list (guestfs_h *g,\n"
28732 "                      const char *path);\n"
28733 "\n"
28734 msgstr ""
28735
28736 #. type: =head2
28737 #: ../src/guestfs-actions.pod:2905
28738 msgid "guestfs_inotify_add_watch"
28739 msgstr ""
28740
28741 #. type: verbatim
28742 #: ../src/guestfs-actions.pod:2907
28743 #, no-wrap
28744 msgid ""
28745 " int64_t\n"
28746 " guestfs_inotify_add_watch (guestfs_h *g,\n"
28747 "                            const char *path,\n"
28748 "                            int mask);\n"
28749 "\n"
28750 msgstr ""
28751
28752 #. type: =head2
28753 #: ../src/guestfs-actions.pod:2926
28754 msgid "guestfs_inotify_close"
28755 msgstr ""
28756
28757 #. type: verbatim
28758 #: ../src/guestfs-actions.pod:2928
28759 #, no-wrap
28760 msgid ""
28761 " int\n"
28762 " guestfs_inotify_close (guestfs_h *g);\n"
28763 "\n"
28764 msgstr ""
28765
28766 #. type: =head2
28767 #: ../src/guestfs-actions.pod:2939
28768 msgid "guestfs_inotify_files"
28769 msgstr ""
28770
28771 #. type: verbatim
28772 #: ../src/guestfs-actions.pod:2941
28773 #, no-wrap
28774 msgid ""
28775 " char **\n"
28776 " guestfs_inotify_files (guestfs_h *g);\n"
28777 "\n"
28778 msgstr ""
28779
28780 #. type: textblock
28781 #: ../src/guestfs-actions.pod:2944
28782 msgid ""
28783 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
28784 "returns a list of pathnames of objects that were touched.  The returned "
28785 "pathnames are sorted and deduplicated."
28786 msgstr ""
28787
28788 #. type: =head2
28789 #: ../src/guestfs-actions.pod:2954
28790 msgid "guestfs_inotify_init"
28791 msgstr ""
28792
28793 #. type: verbatim
28794 #: ../src/guestfs-actions.pod:2956
28795 #, no-wrap
28796 msgid ""
28797 " int\n"
28798 " guestfs_inotify_init (guestfs_h *g,\n"
28799 "                       int maxevents);\n"
28800 "\n"
28801 msgstr ""
28802
28803 #. type: textblock
28804 #: ../src/guestfs-actions.pod:2964
28805 msgid ""
28806 "C<maxevents> is the maximum number of events which will be queued up between "
28807 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
28808 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
28809 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
28810 "throws away events, but records the fact that it threw them away by setting "
28811 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
28812 "C<guestfs_inotify_read>)."
28813 msgstr ""
28814
28815 #. type: textblock
28816 #: ../src/guestfs-actions.pod:2974
28817 msgid ""
28818 "Before any events are generated, you have to add some watches to the "
28819 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
28820 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
28821 msgstr ""
28822
28823 #. type: textblock
28824 #: ../src/guestfs-actions.pod:2980
28825 msgid ""
28826 "Queued up events should be read periodically by calling "
28827 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
28828 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
28829 "often enough then you risk the internal queue overflowing."
28830 msgstr ""
28831
28832 #. type: textblock
28833 #: ../src/guestfs-actions.pod:2987
28834 msgid ""
28835 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
28836 "This also removes any watches automatically."
28837 msgstr ""
28838
28839 #. type: =head2
28840 #: ../src/guestfs-actions.pod:3000
28841 msgid "guestfs_inotify_read"
28842 msgstr ""
28843
28844 #. type: verbatim
28845 #: ../src/guestfs-actions.pod:3002
28846 #, no-wrap
28847 msgid ""
28848 " struct guestfs_inotify_event_list *\n"
28849 " guestfs_inotify_read (guestfs_h *g);\n"
28850 "\n"
28851 msgstr ""
28852
28853 #. type: textblock
28854 #: ../src/guestfs-actions.pod:3016
28855 msgid ""
28856 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
28857 "there was an error.  I<The caller must call "
28858 "C<guestfs_free_inotify_event_list> after use>."
28859 msgstr ""
28860
28861 #. type: =head2
28862 #: ../src/guestfs-actions.pod:3022
28863 msgid "guestfs_inotify_rm_watch"
28864 msgstr ""
28865
28866 #. type: verbatim
28867 #: ../src/guestfs-actions.pod:3024
28868 #, no-wrap
28869 msgid ""
28870 " int\n"
28871 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
28872 "                           int wd);\n"
28873 "\n"
28874 msgstr ""
28875
28876 #. type: textblock
28877 #: ../src/guestfs-actions.pod:3028
28878 msgid ""
28879 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
28880 msgstr ""
28881
28882 #. type: =head2
28883 #: ../src/guestfs-actions.pod:3035
28884 msgid "guestfs_inspect_get_arch"
28885 msgstr ""
28886
28887 #. type: verbatim
28888 #: ../src/guestfs-actions.pod:3037
28889 #, no-wrap
28890 msgid ""
28891 " char *\n"
28892 " guestfs_inspect_get_arch (guestfs_h *g,\n"
28893 "                           const char *root);\n"
28894 "\n"
28895 msgstr ""
28896
28897 #. type: textblock
28898 #: ../src/guestfs-actions.pod:3041
28899 msgid ""
28900 "This returns the architecture of the inspected operating system.  The "
28901 "possible return values are listed under C<guestfs_file_architecture>."
28902 msgstr ""
28903
28904 #. type: =head2
28905 #: ../src/guestfs-actions.pod:3055
28906 msgid "guestfs_inspect_get_distro"
28907 msgstr ""
28908
28909 #. type: verbatim
28910 #: ../src/guestfs-actions.pod:3057
28911 #, no-wrap
28912 msgid ""
28913 " char *\n"
28914 " guestfs_inspect_get_distro (guestfs_h *g,\n"
28915 "                             const char *root);\n"
28916 "\n"
28917 msgstr ""
28918
28919 #. type: =head2
28920 #: ../src/guestfs-actions.pod:3157
28921 msgid "guestfs_inspect_get_drive_mappings"
28922 msgstr ""
28923
28924 #. type: verbatim
28925 #: ../src/guestfs-actions.pod:3159
28926 #, no-wrap
28927 msgid ""
28928 " char **\n"
28929 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
28930 "                                     const char *root);\n"
28931 "\n"
28932 msgstr ""
28933
28934 #. type: textblock
28935 #: ../src/guestfs-actions.pod:3188
28936 msgid ""
28937 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
28938 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
28939 msgstr ""
28940
28941 #. type: textblock
28942 #: ../src/guestfs-actions.pod:3192 ../src/guestfs-actions.pod:3460
28943 #: ../src/guestfs-actions.pod:4263 ../src/guestfs-actions.pod:5526
28944 #: ../src/guestfs-actions.pod:7601
28945 msgid ""
28946 "This function returns a NULL-terminated array of strings, or NULL if there "
28947 "was an error.  The array of strings will always have length C<2n+1>, where "
28948 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
28949 "caller must free the strings and the array after use>."
28950 msgstr ""
28951
28952 #. type: textblock
28953 #: ../src/guestfs-actions.pod:3198 ../src/guestfs-actions.pod:3659
28954 msgid "(Added in 1.9.17)"
28955 msgstr "(Додано у 1.9.17)"
28956
28957 #. type: =head2
28958 #: ../src/guestfs-actions.pod:3200
28959 msgid "guestfs_inspect_get_filesystems"
28960 msgstr ""
28961
28962 #. type: verbatim
28963 #: ../src/guestfs-actions.pod:3202
28964 #, no-wrap
28965 msgid ""
28966 " char **\n"
28967 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
28968 "                                  const char *root);\n"
28969 "\n"
28970 msgstr ""
28971
28972 #. type: textblock
28973 #: ../src/guestfs-actions.pod:3214
28974 msgid ""
28975 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
28976 "C<guestfs_inspect_get_mountpoints>."
28977 msgstr ""
28978
28979 #. type: =head2
28980 #: ../src/guestfs-actions.pod:3223
28981 msgid "guestfs_inspect_get_format"
28982 msgstr ""
28983
28984 #. type: verbatim
28985 #: ../src/guestfs-actions.pod:3225
28986 #, no-wrap
28987 msgid ""
28988 " char *\n"
28989 " guestfs_inspect_get_format (guestfs_h *g,\n"
28990 "                             const char *root);\n"
28991 "\n"
28992 msgstr ""
28993
28994 #. type: textblock
28995 #: ../src/guestfs-actions.pod:3259 ../src/guestfs-actions.pod:3695
28996 #: ../src/guestfs-actions.pod:3711 ../src/guestfs-actions.pod:3729
28997 #: ../src/guestfs-actions.pod:6493
28998 msgid "(Added in 1.9.4)"
28999 msgstr "(Додано у 1.9.4)"
29000
29001 #. type: =head2
29002 #: ../src/guestfs-actions.pod:3261
29003 msgid "guestfs_inspect_get_hostname"
29004 msgstr ""
29005
29006 #. type: verbatim
29007 #: ../src/guestfs-actions.pod:3263
29008 #, no-wrap
29009 msgid ""
29010 " char *\n"
29011 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
29012 "                               const char *root);\n"
29013 "\n"
29014 msgstr ""
29015
29016 #. type: textblock
29017 #: ../src/guestfs-actions.pod:3278
29018 msgid "(Added in 1.7.9)"
29019 msgstr "(Додано у 1.7.9)"
29020
29021 #. type: =head2
29022 #: ../src/guestfs-actions.pod:3280
29023 msgid "guestfs_inspect_get_icon"
29024 msgstr ""
29025
29026 #. type: verbatim
29027 #: ../src/guestfs-actions.pod:3282
29028 #, no-wrap
29029 msgid ""
29030 " char *\n"
29031 " guestfs_inspect_get_icon (guestfs_h *g,\n"
29032 "                           const char *root,\n"
29033 "                           size_t *size_r,\n"
29034 "                           ...);\n"
29035 "\n"
29036 msgstr ""
29037
29038 #. type: verbatim
29039 #: ../src/guestfs-actions.pod:3293
29040 #, no-wrap
29041 msgid ""
29042 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
29043 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
29044 "\n"
29045 msgstr ""
29046
29047 #. type: textblock
29048 #: ../src/guestfs-actions.pod:3360 ../src/guestfs-actions.pod:4190
29049 #: ../src/guestfs-actions.pod:5425
29050 msgid "(Added in 1.11.12)"
29051 msgstr "(Додано у 1.11.12)"
29052
29053 #. type: =head2
29054 #: ../src/guestfs-actions.pod:3362
29055 msgid "guestfs_inspect_get_icon_va"
29056 msgstr ""
29057
29058 #. type: verbatim
29059 #: ../src/guestfs-actions.pod:3364
29060 #, no-wrap
29061 msgid ""
29062 " char *\n"
29063 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
29064 "                              const char *root,\n"
29065 "                              size_t *size_r,\n"
29066 "                              va_list args);\n"
29067 "\n"
29068 msgstr ""
29069
29070 #. type: textblock
29071 #: ../src/guestfs-actions.pod:3370
29072 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
29073 msgstr ""
29074
29075 #. type: =head2
29076 #: ../src/guestfs-actions.pod:3374
29077 msgid "guestfs_inspect_get_icon_argv"
29078 msgstr ""
29079
29080 #. type: verbatim
29081 #: ../src/guestfs-actions.pod:3376
29082 #, no-wrap
29083 msgid ""
29084 " char *\n"
29085 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
29086 "                                const char *root,\n"
29087 "                                size_t *size_r,\n"
29088 "                                const struct guestfs_inspect_get_icon_argv *optargs);\n"
29089 "\n"
29090 msgstr ""
29091
29092 #. type: textblock
29093 #: ../src/guestfs-actions.pod:3382
29094 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
29095 msgstr ""
29096
29097 #. type: =head2
29098 #: ../src/guestfs-actions.pod:3386
29099 msgid "guestfs_inspect_get_major_version"
29100 msgstr ""
29101
29102 #. type: verbatim
29103 #: ../src/guestfs-actions.pod:3388
29104 #, no-wrap
29105 msgid ""
29106 " int\n"
29107 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
29108 "                                    const char *root);\n"
29109 "\n"
29110 msgstr ""
29111
29112 #. type: =head2
29113 #: ../src/guestfs-actions.pod:3410
29114 msgid "guestfs_inspect_get_minor_version"
29115 msgstr ""
29116
29117 #. type: verbatim
29118 #: ../src/guestfs-actions.pod:3412
29119 #, no-wrap
29120 msgid ""
29121 " int\n"
29122 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
29123 "                                    const char *root);\n"
29124 "\n"
29125 msgstr ""
29126
29127 #. type: textblock
29128 #: ../src/guestfs-actions.pod:3421
29129 msgid ""
29130 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29131 "C<guestfs_inspect_get_major_version>."
29132 msgstr ""
29133
29134 #. type: =head2
29135 #: ../src/guestfs-actions.pod:3428
29136 msgid "guestfs_inspect_get_mountpoints"
29137 msgstr ""
29138
29139 #. type: verbatim
29140 #: ../src/guestfs-actions.pod:3430
29141 #, no-wrap
29142 msgid ""
29143 " char **\n"
29144 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
29145 "                                  const char *root);\n"
29146 "\n"
29147 msgstr ""
29148
29149 #. type: textblock
29150 #: ../src/guestfs-actions.pod:3451
29151 msgid ""
29152 "For operating systems like Windows which still use drive letters, this call "
29153 "will only return an entry for the first drive \"mounted on\" C</>.  For "
29154 "information about the mapping of drive letters to partitions, see "
29155 "C<guestfs_inspect_get_drive_mappings>."
29156 msgstr ""
29157
29158 #. type: textblock
29159 #: ../src/guestfs-actions.pod:3457
29160 msgid ""
29161 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29162 "C<guestfs_inspect_get_filesystems>."
29163 msgstr ""
29164
29165 #. type: =head2
29166 #: ../src/guestfs-actions.pod:3468
29167 msgid "guestfs_inspect_get_package_format"
29168 msgstr ""
29169
29170 #. type: verbatim
29171 #: ../src/guestfs-actions.pod:3470
29172 #, no-wrap
29173 msgid ""
29174 " char *\n"
29175 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
29176 "                                     const char *root);\n"
29177 "\n"
29178 msgstr ""
29179
29180 #. type: textblock
29181 #: ../src/guestfs-actions.pod:3474
29182 msgid ""
29183 "This function and C<guestfs_inspect_get_package_management> return the "
29184 "package format and package management tool used by the inspected operating "
29185 "system.  For example for Fedora these functions would return C<rpm> (package "
29186 "format) and C<yum> (package management)."
29187 msgstr ""
29188
29189 #. type: textblock
29190 #: ../src/guestfs-actions.pod:3493 ../src/guestfs-actions.pod:3521
29191 msgid "(Added in 1.7.5)"
29192 msgstr "(Додано у 1.7.5)"
29193
29194 #. type: =head2
29195 #: ../src/guestfs-actions.pod:3495
29196 msgid "guestfs_inspect_get_package_management"
29197 msgstr ""
29198
29199 #. type: verbatim
29200 #: ../src/guestfs-actions.pod:3497
29201 #, no-wrap
29202 msgid ""
29203 " char *\n"
29204 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
29205 "                                         const char *root);\n"
29206 "\n"
29207 msgstr ""
29208
29209 #. type: textblock
29210 #: ../src/guestfs-actions.pod:3501
29211 msgid ""
29212 "C<guestfs_inspect_get_package_format> and this function return the package "
29213 "format and package management tool used by the inspected operating system.  "
29214 "For example for Fedora these functions would return C<rpm> (package format) "
29215 "and C<yum> (package management)."
29216 msgstr ""
29217
29218 #. type: =head2
29219 #: ../src/guestfs-actions.pod:3523
29220 msgid "guestfs_inspect_get_product_name"
29221 msgstr ""
29222
29223 #. type: verbatim
29224 #: ../src/guestfs-actions.pod:3525
29225 #, no-wrap
29226 msgid ""
29227 " char *\n"
29228 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
29229 "                                   const char *root);\n"
29230 "\n"
29231 msgstr ""
29232
29233 #. type: =head2
29234 #: ../src/guestfs-actions.pod:3544
29235 msgid "guestfs_inspect_get_product_variant"
29236 msgstr ""
29237
29238 #. type: verbatim
29239 #: ../src/guestfs-actions.pod:3546
29240 #, no-wrap
29241 msgid ""
29242 " char *\n"
29243 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
29244 "                                      const char *root);\n"
29245 "\n"
29246 msgstr ""
29247
29248 #. type: textblock
29249 #: ../src/guestfs-actions.pod:3569
29250 msgid ""
29251 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29252 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
29253 msgstr ""
29254
29255 #. type: textblock
29256 #: ../src/guestfs-actions.pod:3576
29257 msgid "(Added in 1.9.13)"
29258 msgstr "(Додано у 1.9.13)"
29259
29260 #. type: =head2
29261 #: ../src/guestfs-actions.pod:3578
29262 msgid "guestfs_inspect_get_roots"
29263 msgstr ""
29264
29265 #. type: verbatim
29266 #: ../src/guestfs-actions.pod:3580
29267 #, no-wrap
29268 msgid ""
29269 " char **\n"
29270 " guestfs_inspect_get_roots (guestfs_h *g);\n"
29271 "\n"
29272 msgstr ""
29273
29274 #. type: textblock
29275 #: ../src/guestfs-actions.pod:3583
29276 msgid ""
29277 "This function is a convenient way to get the list of root devices, as "
29278 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
29279 "the whole inspection process."
29280 msgstr ""
29281
29282 #. type: textblock
29283 #: ../src/guestfs-actions.pod:3587
29284 msgid ""
29285 "This returns an empty list if either no root devices were found or the "
29286 "caller has not called C<guestfs_inspect_os>."
29287 msgstr ""
29288
29289 #. type: textblock
29290 #: ../src/guestfs-actions.pod:3596
29291 msgid "(Added in 1.7.3)"
29292 msgstr "(Додано у 1.7.3)"
29293
29294 #. type: =head2
29295 #: ../src/guestfs-actions.pod:3598
29296 msgid "guestfs_inspect_get_type"
29297 msgstr ""
29298
29299 #. type: verbatim
29300 #: ../src/guestfs-actions.pod:3600
29301 #, no-wrap
29302 msgid ""
29303 " char *\n"
29304 " guestfs_inspect_get_type (guestfs_h *g,\n"
29305 "                           const char *root);\n"
29306 "\n"
29307 msgstr ""
29308
29309 #. type: =head2
29310 #: ../src/guestfs-actions.pod:3641
29311 msgid "guestfs_inspect_get_windows_current_control_set"
29312 msgstr ""
29313
29314 #. type: verbatim
29315 #: ../src/guestfs-actions.pod:3643
29316 #, no-wrap
29317 msgid ""
29318 " char *\n"
29319 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
29320 "                                                  const char *root);\n"
29321 "\n"
29322 msgstr ""
29323
29324 #. type: =head2
29325 #: ../src/guestfs-actions.pod:3661
29326 msgid "guestfs_inspect_get_windows_systemroot"
29327 msgstr ""
29328
29329 #. type: verbatim
29330 #: ../src/guestfs-actions.pod:3663
29331 #, no-wrap
29332 msgid ""
29333 " char *\n"
29334 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
29335 "                                         const char *root);\n"
29336 "\n"
29337 msgstr ""
29338
29339 #. type: textblock
29340 #: ../src/guestfs-actions.pod:3679
29341 msgid "(Added in 1.5.25)"
29342 msgstr "(Додано у 1.5.25)"
29343
29344 #. type: =head2
29345 #: ../src/guestfs-actions.pod:3681
29346 msgid "guestfs_inspect_is_live"
29347 msgstr ""
29348
29349 #. type: verbatim
29350 #: ../src/guestfs-actions.pod:3683
29351 #, no-wrap
29352 msgid ""
29353 " int\n"
29354 " guestfs_inspect_is_live (guestfs_h *g,\n"
29355 "                          const char *root);\n"
29356 "\n"
29357 msgstr ""
29358
29359 #. type: textblock
29360 #: ../src/guestfs-actions.pod:3687
29361 msgid ""
29362 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29363 "disk), then this returns true if a live image was detected on the disk."
29364 msgstr ""
29365
29366 #. type: =head2
29367 #: ../src/guestfs-actions.pod:3697
29368 msgid "guestfs_inspect_is_multipart"
29369 msgstr ""
29370
29371 #. type: verbatim
29372 #: ../src/guestfs-actions.pod:3699
29373 #, no-wrap
29374 msgid ""
29375 " int\n"
29376 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
29377 "                               const char *root);\n"
29378 "\n"
29379 msgstr ""
29380
29381 #. type: textblock
29382 #: ../src/guestfs-actions.pod:3703
29383 msgid ""
29384 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29385 "disk), then this returns true if the disk is part of a set."
29386 msgstr ""
29387
29388 #. type: =head2
29389 #: ../src/guestfs-actions.pod:3713
29390 msgid "guestfs_inspect_is_netinst"
29391 msgstr ""
29392
29393 #. type: verbatim
29394 #: ../src/guestfs-actions.pod:3715
29395 #, no-wrap
29396 msgid ""
29397 " int\n"
29398 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
29399 "                             const char *root);\n"
29400 "\n"
29401 msgstr ""
29402
29403 #. type: textblock
29404 #: ../src/guestfs-actions.pod:3719
29405 msgid ""
29406 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29407 "disk), then this returns true if the disk is a network installer, ie. not a "
29408 "self-contained install CD but one which is likely to require network access "
29409 "to complete the install."
29410 msgstr ""
29411
29412 #. type: =head2
29413 #: ../src/guestfs-actions.pod:3731
29414 msgid "guestfs_inspect_list_applications"
29415 msgstr ""
29416
29417 #. type: verbatim
29418 #: ../src/guestfs-actions.pod:3733
29419 #, no-wrap
29420 msgid ""
29421 " struct guestfs_application_list *\n"
29422 " guestfs_inspect_list_applications (guestfs_h *g,\n"
29423 "                                    const char *root);\n"
29424 "\n"
29425 msgstr ""
29426
29427 #. type: textblock
29428 #: ../src/guestfs-actions.pod:3739
29429 msgid ""
29430 "I<Note:> This call works differently from other parts of the inspection "
29431 "API.  You have to call C<guestfs_inspect_os>, then "
29432 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
29433 "this.  Listing applications is a significantly more difficult operation "
29434 "which requires access to the full filesystem.  Also note that unlike the "
29435 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
29436 "the libguestfs handle, this call actually reads parts of the mounted "
29437 "filesystems during the call."
29438 msgstr ""
29439
29440 #. type: textblock
29441 #: ../src/guestfs-actions.pod:3829
29442 msgid ""
29443 "This function returns a C<struct guestfs_application_list *>, or NULL if "
29444 "there was an error.  I<The caller must call C<guestfs_free_application_list> "
29445 "after use>."
29446 msgstr ""
29447
29448 #. type: textblock
29449 #: ../src/guestfs-actions.pod:3833
29450 msgid "(Added in 1.7.8)"
29451 msgstr "(Додано у 1.7.8)"
29452
29453 #. type: =head2
29454 #: ../src/guestfs-actions.pod:3835
29455 msgid "guestfs_inspect_os"
29456 msgstr ""
29457
29458 #. type: verbatim
29459 #: ../src/guestfs-actions.pod:3837
29460 #, no-wrap
29461 msgid ""
29462 " char **\n"
29463 " guestfs_inspect_os (guestfs_h *g);\n"
29464 "\n"
29465 msgstr ""
29466
29467 #. type: textblock
29468 #: ../src/guestfs-actions.pod:3853
29469 msgid ""
29470 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
29471 "functions in order to query further information about each operating system, "
29472 "such as the name and version."
29473 msgstr ""
29474
29475 #. type: textblock
29476 #: ../src/guestfs-actions.pod:3858
29477 msgid ""
29478 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
29479 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
29480 "the contents.  This should be called with no disks currently mounted.  The "
29481 "function may also use Augeas, so any existing Augeas handle will be closed."
29482 msgstr ""
29483
29484 #. type: textblock
29485 #: ../src/guestfs-actions.pod:3870 ../src/guestfs-actions.pod:4201
29486 #: ../src/guestfs-actions.pod:4283
29487 msgid "See also C<guestfs_list_filesystems>."
29488 msgstr ""
29489
29490 #. type: =head2
29491 #: ../src/guestfs-actions.pod:3878
29492 msgid "guestfs_is_blockdev"
29493 msgstr ""
29494
29495 #. type: verbatim
29496 #: ../src/guestfs-actions.pod:3880
29497 #, no-wrap
29498 msgid ""
29499 " int\n"
29500 " guestfs_is_blockdev (guestfs_h *g,\n"
29501 "                      const char *path);\n"
29502 "\n"
29503 msgstr ""
29504
29505 #. type: textblock
29506 #: ../src/guestfs-actions.pod:3887 ../src/guestfs-actions.pod:3916
29507 #: ../src/guestfs-actions.pod:3946 ../src/guestfs-actions.pod:3961
29508 #: ../src/guestfs-actions.pod:3977 ../src/guestfs-actions.pod:4033
29509 #: ../src/guestfs-actions.pod:4048
29510 msgid "See also C<guestfs_stat>."
29511 msgstr ""
29512
29513 #. type: textblock
29514 #: ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:3920
29515 #: ../src/guestfs-actions.pod:3965 ../src/guestfs-actions.pod:4037
29516 #: ../src/guestfs-actions.pod:4052
29517 msgid "(Added in 1.5.10)"
29518 msgstr "(Додано у 1.5.10)"
29519
29520 #. type: =head2
29521 #: ../src/guestfs-actions.pod:3893
29522 msgid "guestfs_is_busy"
29523 msgstr ""
29524
29525 #. type: verbatim
29526 #: ../src/guestfs-actions.pod:3895
29527 #, no-wrap
29528 msgid ""
29529 " int\n"
29530 " guestfs_is_busy (guestfs_h *g);\n"
29531 "\n"
29532 msgstr ""
29533
29534 #. type: =head2
29535 #: ../src/guestfs-actions.pod:3907
29536 msgid "guestfs_is_chardev"
29537 msgstr ""
29538
29539 #. type: verbatim
29540 #: ../src/guestfs-actions.pod:3909
29541 #, no-wrap
29542 msgid ""
29543 " int\n"
29544 " guestfs_is_chardev (guestfs_h *g,\n"
29545 "                     const char *path);\n"
29546 "\n"
29547 msgstr ""
29548
29549 #. type: =head2
29550 #: ../src/guestfs-actions.pod:3922
29551 msgid "guestfs_is_config"
29552 msgstr ""
29553
29554 #. type: verbatim
29555 #: ../src/guestfs-actions.pod:3924
29556 #, no-wrap
29557 msgid ""
29558 " int\n"
29559 " guestfs_is_config (guestfs_h *g);\n"
29560 "\n"
29561 msgstr ""
29562
29563 #. type: =head2
29564 #: ../src/guestfs-actions.pod:3936
29565 msgid "guestfs_is_dir"
29566 msgstr ""
29567
29568 #. type: verbatim
29569 #: ../src/guestfs-actions.pod:3938
29570 #, no-wrap
29571 msgid ""
29572 " int\n"
29573 " guestfs_is_dir (guestfs_h *g,\n"
29574 "                 const char *path);\n"
29575 "\n"
29576 msgstr ""
29577
29578 #. type: =head2
29579 #: ../src/guestfs-actions.pod:3952
29580 msgid "guestfs_is_fifo"
29581 msgstr ""
29582
29583 #. type: verbatim
29584 #: ../src/guestfs-actions.pod:3954
29585 #, no-wrap
29586 msgid ""
29587 " int\n"
29588 " guestfs_is_fifo (guestfs_h *g,\n"
29589 "                  const char *path);\n"
29590 "\n"
29591 msgstr ""
29592
29593 #. type: =head2
29594 #: ../src/guestfs-actions.pod:3967
29595 msgid "guestfs_is_file"
29596 msgstr ""
29597
29598 #. type: verbatim
29599 #: ../src/guestfs-actions.pod:3969
29600 #, no-wrap
29601 msgid ""
29602 " int\n"
29603 " guestfs_is_file (guestfs_h *g,\n"
29604 "                  const char *path);\n"
29605 "\n"
29606 msgstr ""
29607
29608 #. type: =head2
29609 #: ../src/guestfs-actions.pod:3983
29610 msgid "guestfs_is_launching"
29611 msgstr ""
29612
29613 #. type: verbatim
29614 #: ../src/guestfs-actions.pod:3985
29615 #, no-wrap
29616 msgid ""
29617 " int\n"
29618 " guestfs_is_launching (guestfs_h *g);\n"
29619 "\n"
29620 msgstr ""
29621
29622 #. type: =head2
29623 #: ../src/guestfs-actions.pod:3997
29624 msgid "guestfs_is_lv"
29625 msgstr ""
29626
29627 #. type: verbatim
29628 #: ../src/guestfs-actions.pod:3999
29629 #, no-wrap
29630 msgid ""
29631 " int\n"
29632 " guestfs_is_lv (guestfs_h *g,\n"
29633 "                const char *device);\n"
29634 "\n"
29635 msgstr ""
29636
29637 #. type: =head2
29638 #: ../src/guestfs-actions.pod:4010
29639 msgid "guestfs_is_ready"
29640 msgstr ""
29641
29642 #. type: verbatim
29643 #: ../src/guestfs-actions.pod:4012
29644 #, no-wrap
29645 msgid ""
29646 " int\n"
29647 " guestfs_is_ready (guestfs_h *g);\n"
29648 "\n"
29649 msgstr ""
29650
29651 #. type: =head2
29652 #: ../src/guestfs-actions.pod:4024
29653 msgid "guestfs_is_socket"
29654 msgstr ""
29655
29656 #. type: verbatim
29657 #: ../src/guestfs-actions.pod:4026
29658 #, no-wrap
29659 msgid ""
29660 " int\n"
29661 " guestfs_is_socket (guestfs_h *g,\n"
29662 "                    const char *path);\n"
29663 "\n"
29664 msgstr ""
29665
29666 #. type: =head2
29667 #: ../src/guestfs-actions.pod:4039
29668 msgid "guestfs_is_symlink"
29669 msgstr ""
29670
29671 #. type: verbatim
29672 #: ../src/guestfs-actions.pod:4041
29673 #, no-wrap
29674 msgid ""
29675 " int\n"
29676 " guestfs_is_symlink (guestfs_h *g,\n"
29677 "                     const char *path);\n"
29678 "\n"
29679 msgstr ""
29680
29681 #. type: =head2
29682 #: ../src/guestfs-actions.pod:4054
29683 msgid "guestfs_is_zero"
29684 msgstr ""
29685
29686 #. type: verbatim
29687 #: ../src/guestfs-actions.pod:4056
29688 #, no-wrap
29689 msgid ""
29690 " int\n"
29691 " guestfs_is_zero (guestfs_h *g,\n"
29692 "                  const char *path);\n"
29693 "\n"
29694 msgstr ""
29695
29696 #. type: textblock
29697 #: ../src/guestfs-actions.pod:4065 ../src/guestfs-actions.pod:4079
29698 msgid "(Added in 1.11.8)"
29699 msgstr "(Додано у 1.11.8)"
29700
29701 #. type: =head2
29702 #: ../src/guestfs-actions.pod:4067
29703 msgid "guestfs_is_zero_device"
29704 msgstr ""
29705
29706 #. type: verbatim
29707 #: ../src/guestfs-actions.pod:4069
29708 #, no-wrap
29709 msgid ""
29710 " int\n"
29711 " guestfs_is_zero_device (guestfs_h *g,\n"
29712 "                         const char *device);\n"
29713 "\n"
29714 msgstr ""
29715
29716 #. type: =head2
29717 #: ../src/guestfs-actions.pod:4081
29718 msgid "guestfs_kill_subprocess"
29719 msgstr ""
29720
29721 #. type: verbatim
29722 #: ../src/guestfs-actions.pod:4083
29723 #, no-wrap
29724 msgid ""
29725 " int\n"
29726 " guestfs_kill_subprocess (guestfs_h *g);\n"
29727 "\n"
29728 msgstr ""
29729
29730 #. type: =head2
29731 #: ../src/guestfs-actions.pod:4092
29732 msgid "guestfs_launch"
29733 msgstr ""
29734
29735 #. type: verbatim
29736 #: ../src/guestfs-actions.pod:4094
29737 #, no-wrap
29738 msgid ""
29739 " int\n"
29740 " guestfs_launch (guestfs_h *g);\n"
29741 "\n"
29742 msgstr ""
29743
29744 #. type: =head2
29745 #: ../src/guestfs-actions.pod:4112
29746 msgid "guestfs_lchown"
29747 msgstr ""
29748
29749 #. type: verbatim
29750 #: ../src/guestfs-actions.pod:4114
29751 #, no-wrap
29752 msgid ""
29753 " int\n"
29754 " guestfs_lchown (guestfs_h *g,\n"
29755 "                 int owner,\n"
29756 "                 int group,\n"
29757 "                 const char *path);\n"
29758 "\n"
29759 msgstr ""
29760
29761 #. type: textblock
29762 #: ../src/guestfs-actions.pod:4120
29763 msgid ""
29764 "Change the file owner to C<owner> and group to C<group>.  This is like "
29765 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
29766 "changed, not the target."
29767 msgstr ""
29768
29769 #. type: =head2
29770 #: ../src/guestfs-actions.pod:4132
29771 msgid "guestfs_lgetxattr"
29772 msgstr ""
29773
29774 #. type: verbatim
29775 #: ../src/guestfs-actions.pod:4134
29776 #, no-wrap
29777 msgid ""
29778 " char *\n"
29779 " guestfs_lgetxattr (guestfs_h *g,\n"
29780 "                    const char *path,\n"
29781 "                    const char *name,\n"
29782 "                    size_t *size_r);\n"
29783 "\n"
29784 msgstr ""
29785
29786 #. type: textblock
29787 #: ../src/guestfs-actions.pod:4154
29788 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
29789 msgstr ""
29790
29791 #. type: =head2
29792 #: ../src/guestfs-actions.pod:4162
29793 msgid "guestfs_lgetxattrs"
29794 msgstr ""
29795
29796 #. type: verbatim
29797 #: ../src/guestfs-actions.pod:4164
29798 #, no-wrap
29799 msgid ""
29800 " struct guestfs_xattr_list *\n"
29801 " guestfs_lgetxattrs (guestfs_h *g,\n"
29802 "                     const char *path);\n"
29803 "\n"
29804 msgstr ""
29805
29806 #. type: textblock
29807 #: ../src/guestfs-actions.pod:4168
29808 msgid ""
29809 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
29810 "then it returns the extended attributes of the link itself."
29811 msgstr ""
29812
29813 #. type: =head2
29814 #: ../src/guestfs-actions.pod:4178
29815 msgid "guestfs_list_9p"
29816 msgstr ""
29817
29818 #. type: verbatim
29819 #: ../src/guestfs-actions.pod:4180
29820 #, no-wrap
29821 msgid ""
29822 " char **\n"
29823 " guestfs_list_9p (guestfs_h *g);\n"
29824 "\n"
29825 msgstr ""
29826
29827 #. type: =head2
29828 #: ../src/guestfs-actions.pod:4192
29829 msgid "guestfs_list_devices"
29830 msgstr ""
29831
29832 #. type: verbatim
29833 #: ../src/guestfs-actions.pod:4194
29834 #, no-wrap
29835 msgid ""
29836 " char **\n"
29837 " guestfs_list_devices (guestfs_h *g);\n"
29838 "\n"
29839 msgstr ""
29840
29841 #. type: =head2
29842 #: ../src/guestfs-actions.pod:4209
29843 msgid "guestfs_list_dm_devices"
29844 msgstr ""
29845
29846 #. type: verbatim
29847 #: ../src/guestfs-actions.pod:4211
29848 #, no-wrap
29849 msgid ""
29850 " char **\n"
29851 " guestfs_list_dm_devices (guestfs_h *g);\n"
29852 "\n"
29853 msgstr ""
29854
29855 #. type: textblock
29856 #: ../src/guestfs-actions.pod:4216
29857 msgid ""
29858 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
29859 "previous call to C<guestfs_luks_open>."
29860 msgstr ""
29861
29862 #. type: textblock
29863 #: ../src/guestfs-actions.pod:4219
29864 msgid ""
29865 "Device mapper devices which correspond to logical volumes are I<not> "
29866 "returned in this list.  Call C<guestfs_lvs> if you want to list logical "
29867 "volumes."
29868 msgstr ""
29869
29870 #. type: textblock
29871 #: ../src/guestfs-actions.pod:4227 ../src/guestfs-actions.pod:5664
29872 msgid "(Added in 1.11.15)"
29873 msgstr "(Додано у 1.11.15)"
29874
29875 #. type: =head2
29876 #: ../src/guestfs-actions.pod:4229
29877 msgid "guestfs_list_filesystems"
29878 msgstr ""
29879
29880 #. type: verbatim
29881 #: ../src/guestfs-actions.pod:4231
29882 #, no-wrap
29883 msgid ""
29884 " char **\n"
29885 " guestfs_list_filesystems (guestfs_h *g);\n"
29886 "\n"
29887 msgstr ""
29888
29889 #. type: textblock
29890 #: ../src/guestfs-actions.pod:4251
29891 msgid ""
29892 "This command runs other libguestfs commands, which might include "
29893 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
29894 "soon after launch and only when nothing is mounted."
29895 msgstr ""
29896
29897 #. type: textblock
29898 #: ../src/guestfs-actions.pod:4255
29899 msgid ""
29900 "Not all of the filesystems returned will be mountable.  In particular, swap "
29901 "partitions are returned in the list.  Also this command does not check that "
29902 "each filesystem found is valid and mountable, and some filesystems might be "
29903 "mountable but require special options.  Filesystems may not all belong to a "
29904 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
29905 msgstr ""
29906
29907 #. type: textblock
29908 #: ../src/guestfs-actions.pod:4269 ../src/guestfs-actions.pod:6024
29909 msgid "(Added in 1.5.15)"
29910 msgstr "(Додано у 1.5.15)"
29911
29912 #. type: =head2
29913 #: ../src/guestfs-actions.pod:4271
29914 msgid "guestfs_list_partitions"
29915 msgstr "guestfs_list_partitions"
29916
29917 #. type: verbatim
29918 #: ../src/guestfs-actions.pod:4273
29919 #, no-wrap
29920 msgid ""
29921 " char **\n"
29922 " guestfs_list_partitions (guestfs_h *g);\n"
29923 "\n"
29924 msgstr ""
29925 " char **\n"
29926 " guestfs_list_partitions (guestfs_h *g);\n"
29927 "\n"
29928
29929 #. type: textblock
29930 #: ../src/guestfs-actions.pod:4280
29931 msgid ""
29932 "This does not return logical volumes.  For that you will need to call "
29933 "C<guestfs_lvs>."
29934 msgstr ""
29935
29936 #. type: =head2
29937 #: ../src/guestfs-actions.pod:4291
29938 msgid "guestfs_ll"
29939 msgstr "guestfs_ll"
29940
29941 #. type: verbatim
29942 #: ../src/guestfs-actions.pod:4293
29943 #, no-wrap
29944 msgid ""
29945 " char *\n"
29946 " guestfs_ll (guestfs_h *g,\n"
29947 "             const char *directory);\n"
29948 "\n"
29949 msgstr ""
29950 " char *\n"
29951 " guestfs_ll (guestfs_h *g,\n"
29952 "             const char *directory);\n"
29953 "\n"
29954
29955 #. type: =head2
29956 #: ../src/guestfs-actions.pod:4308
29957 msgid "guestfs_ln"
29958 msgstr "guestfs_ln"
29959
29960 #. type: verbatim
29961 #: ../src/guestfs-actions.pod:4310
29962 #, no-wrap
29963 msgid ""
29964 " int\n"
29965 " guestfs_ln (guestfs_h *g,\n"
29966 "             const char *target,\n"
29967 "             const char *linkname);\n"
29968 "\n"
29969 msgstr ""
29970 " int\n"
29971 " guestfs_ln (guestfs_h *g,\n"
29972 "             const char *target,\n"
29973 "             const char *linkname);\n"
29974 "\n"
29975
29976 #. type: =head2
29977 #: ../src/guestfs-actions.pod:4321
29978 msgid "guestfs_ln_f"
29979 msgstr "guestfs_ln_f"
29980
29981 #. type: verbatim
29982 #: ../src/guestfs-actions.pod:4323
29983 #, no-wrap
29984 msgid ""
29985 " int\n"
29986 " guestfs_ln_f (guestfs_h *g,\n"
29987 "               const char *target,\n"
29988 "               const char *linkname);\n"
29989 "\n"
29990 msgstr ""
29991 " int\n"
29992 " guestfs_ln_f (guestfs_h *g,\n"
29993 "               const char *target,\n"
29994 "               const char *linkname);\n"
29995 "\n"
29996
29997 #. type: =head2
29998 #: ../src/guestfs-actions.pod:4335
29999 msgid "guestfs_ln_s"
30000 msgstr "guestfs_ln_s"
30001
30002 #. type: verbatim
30003 #: ../src/guestfs-actions.pod:4337
30004 #, no-wrap
30005 msgid ""
30006 " int\n"
30007 " guestfs_ln_s (guestfs_h *g,\n"
30008 "               const char *target,\n"
30009 "               const char *linkname);\n"
30010 "\n"
30011 msgstr ""
30012 " int\n"
30013 " guestfs_ln_s (guestfs_h *g,\n"
30014 "               const char *target,\n"
30015 "               const char *linkname);\n"
30016 "\n"
30017
30018 #. type: =head2
30019 #: ../src/guestfs-actions.pod:4348
30020 msgid "guestfs_ln_sf"
30021 msgstr "guestfs_ln_sf"
30022
30023 #. type: verbatim
30024 #: ../src/guestfs-actions.pod:4350
30025 #, no-wrap
30026 msgid ""
30027 " int\n"
30028 " guestfs_ln_sf (guestfs_h *g,\n"
30029 "                const char *target,\n"
30030 "                const char *linkname);\n"
30031 "\n"
30032 msgstr ""
30033 " int\n"
30034 " guestfs_ln_sf (guestfs_h *g,\n"
30035 "                const char *target,\n"
30036 "                const char *linkname);\n"
30037 "\n"
30038
30039 #. type: =head2
30040 #: ../src/guestfs-actions.pod:4362
30041 msgid "guestfs_lremovexattr"
30042 msgstr "guestfs_lremovexattr"
30043
30044 #. type: verbatim
30045 #: ../src/guestfs-actions.pod:4364
30046 #, no-wrap
30047 msgid ""
30048 " int\n"
30049 " guestfs_lremovexattr (guestfs_h *g,\n"
30050 "                       const char *xattr,\n"
30051 "                       const char *path);\n"
30052 "\n"
30053 msgstr ""
30054 " int\n"
30055 " guestfs_lremovexattr (guestfs_h *g,\n"
30056 "                       const char *xattr,\n"
30057 "                       const char *path);\n"
30058 "\n"
30059
30060 #. type: textblock
30061 #: ../src/guestfs-actions.pod:4369
30062 msgid ""
30063 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
30064 "link, then it removes an extended attribute of the link itself."
30065 msgstr ""
30066
30067 #. type: =head2
30068 #: ../src/guestfs-actions.pod:4377
30069 msgid "guestfs_ls"
30070 msgstr "guestfs_ls"
30071
30072 #. type: verbatim
30073 #: ../src/guestfs-actions.pod:4379
30074 #, no-wrap
30075 msgid ""
30076 " char **\n"
30077 " guestfs_ls (guestfs_h *g,\n"
30078 "             const char *directory);\n"
30079 "\n"
30080 msgstr ""
30081 " char **\n"
30082 " guestfs_ls (guestfs_h *g,\n"
30083 "             const char *directory);\n"
30084 "\n"
30085
30086 #. type: textblock
30087 #: ../src/guestfs-actions.pod:4387
30088 msgid ""
30089 "This command is mostly useful for interactive sessions.  Programs should "
30090 "probably use C<guestfs_readdir> instead."
30091 msgstr ""
30092
30093 #. type: =head2
30094 #: ../src/guestfs-actions.pod:4396
30095 msgid "guestfs_lsetxattr"
30096 msgstr "guestfs_lsetxattr"
30097
30098 #. type: verbatim
30099 #: ../src/guestfs-actions.pod:4398
30100 #, no-wrap
30101 msgid ""
30102 " int\n"
30103 " guestfs_lsetxattr (guestfs_h *g,\n"
30104 "                    const char *xattr,\n"
30105 "                    const char *val,\n"
30106 "                    int vallen,\n"
30107 "                    const char *path);\n"
30108 "\n"
30109 msgstr ""
30110 " int\n"
30111 " guestfs_lsetxattr (guestfs_h *g,\n"
30112 "                    const char *xattr,\n"
30113 "                    const char *val,\n"
30114 "                    int vallen,\n"
30115 "                    const char *path);\n"
30116 "\n"
30117
30118 #. type: textblock
30119 #: ../src/guestfs-actions.pod:4405
30120 msgid ""
30121 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
30122 "then it sets an extended attribute of the link itself."
30123 msgstr ""
30124
30125 #. type: =head2
30126 #: ../src/guestfs-actions.pod:4413
30127 msgid "guestfs_lstat"
30128 msgstr "guestfs_lstat"
30129
30130 #. type: verbatim
30131 #: ../src/guestfs-actions.pod:4415
30132 #, no-wrap
30133 msgid ""
30134 " struct guestfs_stat *\n"
30135 " guestfs_lstat (guestfs_h *g,\n"
30136 "                const char *path);\n"
30137 "\n"
30138 msgstr ""
30139 " struct guestfs_stat *\n"
30140 " guestfs_lstat (guestfs_h *g,\n"
30141 "                const char *path);\n"
30142 "\n"
30143
30144 #. type: textblock
30145 #: ../src/guestfs-actions.pod:4421
30146 msgid ""
30147 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
30148 "link, then the link is stat-ed, not the file it refers to."
30149 msgstr ""
30150
30151 #. type: textblock
30152 #: ../src/guestfs-actions.pod:4427 ../src/guestfs-actions.pod:7204
30153 msgid ""
30154 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
30155 "error.  I<The caller must call C<guestfs_free_stat> after use>."
30156 msgstr ""
30157
30158 #. type: textblock
30159 #: ../src/guestfs-actions.pod:4431 ../src/guestfs-actions.pod:7208
30160 #: ../src/guestfs-actions.pod:7226 ../src/guestfs-actions.pod:7607
30161 msgid "(Added in 0.9.2)"
30162 msgstr "(Додано у 0.9.2)"
30163
30164 #. type: =head2
30165 #: ../src/guestfs-actions.pod:4433
30166 msgid "guestfs_lstatlist"
30167 msgstr "guestfs_lstatlist"
30168
30169 #. type: verbatim
30170 #: ../src/guestfs-actions.pod:4435
30171 #, no-wrap
30172 msgid ""
30173 " struct guestfs_stat_list *\n"
30174 " guestfs_lstatlist (guestfs_h *g,\n"
30175 "                    const char *path,\n"
30176 "                    char *const *names);\n"
30177 "\n"
30178 msgstr ""
30179 " struct guestfs_stat_list *\n"
30180 " guestfs_lstatlist (guestfs_h *g,\n"
30181 "                    const char *path,\n"
30182 "                    char *const *names);\n"
30183 "\n"
30184
30185 #. type: textblock
30186 #: ../src/guestfs-actions.pod:4440
30187 msgid ""
30188 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
30189 "files, where all files are in the directory C<path>.  C<names> is the list "
30190 "of files from this directory."
30191 msgstr ""
30192
30193 #. type: textblock
30194 #: ../src/guestfs-actions.pod:4449
30195 msgid ""
30196 "This call is intended for programs that want to efficiently list a directory "
30197 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
30198 "for a similarly efficient call for getting extended attributes.  Very long "
30199 "directory listings might cause the protocol message size to be exceeded, "
30200 "causing this call to fail.  The caller must split up such requests into "
30201 "smaller groups of names."
30202 msgstr ""
30203
30204 #. type: textblock
30205 #: ../src/guestfs-actions.pod:4457
30206 msgid ""
30207 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
30208 "an error.  I<The caller must call C<guestfs_free_stat_list> after use>."
30209 msgstr ""
30210
30211 #. type: =head2
30212 #: ../src/guestfs-actions.pod:4463
30213 msgid "guestfs_luks_add_key"
30214 msgstr "guestfs_luks_add_key"
30215
30216 #. type: verbatim
30217 #: ../src/guestfs-actions.pod:4465
30218 #, no-wrap
30219 msgid ""
30220 " int\n"
30221 " guestfs_luks_add_key (guestfs_h *g,\n"
30222 "                       const char *device,\n"
30223 "                       const char *key,\n"
30224 "                       const char *newkey,\n"
30225 "                       int keyslot);\n"
30226 "\n"
30227 msgstr ""
30228 " int\n"
30229 " guestfs_luks_add_key (guestfs_h *g,\n"
30230 "                       const char *device,\n"
30231 "                       const char *key,\n"
30232 "                       const char *newkey,\n"
30233 "                       int keyslot);\n"
30234 "\n"
30235
30236 #. type: textblock
30237 #: ../src/guestfs-actions.pod:4477
30238 msgid ""
30239 "Note that if C<keyslot> already contains a key, then this command will "
30240 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
30241 msgstr ""
30242
30243 #. type: textblock
30244 #: ../src/guestfs-actions.pod:4483 ../src/guestfs-actions.pod:4520
30245 #: ../src/guestfs-actions.pod:4540 ../src/guestfs-actions.pod:4560
30246 #: ../src/guestfs-actions.pod:4595 ../src/guestfs-actions.pod:4614
30247 msgid ""
30248 "This function takes a key or passphrase parameter which could contain "
30249 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
30250 "information."
30251 msgstr ""
30252
30253 #. type: textblock
30254 #: ../src/guestfs-actions.pod:4487 ../src/guestfs-actions.pod:4524
30255 #: ../src/guestfs-actions.pod:4544 ../src/guestfs-actions.pod:4564
30256 msgid "(Added in 1.5.2)"
30257 msgstr "(Додано у 1.5.2)"
30258
30259 #. type: =head2
30260 #: ../src/guestfs-actions.pod:4489
30261 msgid "guestfs_luks_close"
30262 msgstr "guestfs_luks_close"
30263
30264 #. type: verbatim
30265 #: ../src/guestfs-actions.pod:4491
30266 #, no-wrap
30267 msgid ""
30268 " int\n"
30269 " guestfs_luks_close (guestfs_h *g,\n"
30270 "                     const char *device);\n"
30271 "\n"
30272 msgstr ""
30273 " int\n"
30274 " guestfs_luks_close (guestfs_h *g,\n"
30275 "                     const char *device);\n"
30276 "\n"
30277
30278 #. type: textblock
30279 #: ../src/guestfs-actions.pod:4495
30280 msgid ""
30281 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
30282 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
30283 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
30284 "underlying block device."
30285 msgstr ""
30286
30287 #. type: textblock
30288 #: ../src/guestfs-actions.pod:4503 ../src/guestfs-actions.pod:4599
30289 #: ../src/guestfs-actions.pod:4618 ../src/guestfs-actions.pod:4668
30290 #: ../src/guestfs-actions.pod:4713
30291 msgid "(Added in 1.5.1)"
30292 msgstr "(Додано у 1.5.1)"
30293
30294 #. type: =head2
30295 #: ../src/guestfs-actions.pod:4505
30296 msgid "guestfs_luks_format"
30297 msgstr "guestfs_luks_format"
30298
30299 #. type: verbatim
30300 #: ../src/guestfs-actions.pod:4507
30301 #, no-wrap
30302 msgid ""
30303 " int\n"
30304 " guestfs_luks_format (guestfs_h *g,\n"
30305 "                      const char *device,\n"
30306 "                      const char *key,\n"
30307 "                      int keyslot);\n"
30308 "\n"
30309 msgstr ""
30310 " int\n"
30311 " guestfs_luks_format (guestfs_h *g,\n"
30312 "                      const char *device,\n"
30313 "                      const char *key,\n"
30314 "                      int keyslot);\n"
30315 "\n"
30316
30317 #. type: =head2
30318 #: ../src/guestfs-actions.pod:4526
30319 msgid "guestfs_luks_format_cipher"
30320 msgstr "guestfs_luks_format_cipher"
30321
30322 #. type: verbatim
30323 #: ../src/guestfs-actions.pod:4528
30324 #, no-wrap
30325 msgid ""
30326 " int\n"
30327 " guestfs_luks_format_cipher (guestfs_h *g,\n"
30328 "                             const char *device,\n"
30329 "                             const char *key,\n"
30330 "                             int keyslot,\n"
30331 "                             const char *cipher);\n"
30332 "\n"
30333 msgstr ""
30334 " int\n"
30335 " guestfs_luks_format_cipher (guestfs_h *g,\n"
30336 "                             const char *device,\n"
30337 "                             const char *key,\n"
30338 "                             int keyslot,\n"
30339 "                             const char *cipher);\n"
30340 "\n"
30341
30342 #. type: textblock
30343 #: ../src/guestfs-actions.pod:4535
30344 msgid ""
30345 "This command is the same as C<guestfs_luks_format> but it also allows you to "
30346 "set the C<cipher> used."
30347 msgstr ""
30348
30349 #. type: =head2
30350 #: ../src/guestfs-actions.pod:4546
30351 msgid "guestfs_luks_kill_slot"
30352 msgstr "guestfs_luks_kill_slot"
30353
30354 #. type: verbatim
30355 #: ../src/guestfs-actions.pod:4548
30356 #, no-wrap
30357 msgid ""
30358 " int\n"
30359 " guestfs_luks_kill_slot (guestfs_h *g,\n"
30360 "                         const char *device,\n"
30361 "                         const char *key,\n"
30362 "                         int keyslot);\n"
30363 "\n"
30364 msgstr ""
30365 " int\n"
30366 " guestfs_luks_kill_slot (guestfs_h *g,\n"
30367 "                         const char *device,\n"
30368 "                         const char *key,\n"
30369 "                         int keyslot);\n"
30370 "\n"
30371
30372 #. type: =head2
30373 #: ../src/guestfs-actions.pod:4566
30374 msgid "guestfs_luks_open"
30375 msgstr "guestfs_luks_open"
30376
30377 #. type: verbatim
30378 #: ../src/guestfs-actions.pod:4568
30379 #, no-wrap
30380 msgid ""
30381 " int\n"
30382 " guestfs_luks_open (guestfs_h *g,\n"
30383 "                    const char *device,\n"
30384 "                    const char *key,\n"
30385 "                    const char *mapname);\n"
30386 "\n"
30387 msgstr ""
30388 " int\n"
30389 " guestfs_luks_open (guestfs_h *g,\n"
30390 "                    const char *device,\n"
30391 "                    const char *key,\n"
30392 "                    const char *mapname);\n"
30393 "\n"
30394
30395 #. type: textblock
30396 #: ../src/guestfs-actions.pod:4586
30397 msgid ""
30398 "If this block device contains LVM volume groups, then calling "
30399 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
30400 "visible."
30401 msgstr ""
30402
30403 #. type: textblock
30404 #: ../src/guestfs-actions.pod:4590
30405 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
30406 msgstr ""
30407
30408 #. type: =head2
30409 #: ../src/guestfs-actions.pod:4601
30410 msgid "guestfs_luks_open_ro"
30411 msgstr "guestfs_luks_open_ro"
30412
30413 #. type: verbatim
30414 #: ../src/guestfs-actions.pod:4603
30415 #, no-wrap
30416 msgid ""
30417 " int\n"
30418 " guestfs_luks_open_ro (guestfs_h *g,\n"
30419 "                       const char *device,\n"
30420 "                       const char *key,\n"
30421 "                       const char *mapname);\n"
30422 "\n"
30423 msgstr ""
30424 " int\n"
30425 " guestfs_luks_open_ro (guestfs_h *g,\n"
30426 "                       const char *device,\n"
30427 "                       const char *key,\n"
30428 "                       const char *mapname);\n"
30429 "\n"
30430
30431 #. type: textblock
30432 #: ../src/guestfs-actions.pod:4609
30433 msgid ""
30434 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
30435 "created."
30436 msgstr ""
30437
30438 #. type: =head2
30439 #: ../src/guestfs-actions.pod:4620
30440 msgid "guestfs_lvcreate"
30441 msgstr "guestfs_lvcreate"
30442
30443 #. type: verbatim
30444 #: ../src/guestfs-actions.pod:4622
30445 #, no-wrap
30446 msgid ""
30447 " int\n"
30448 " guestfs_lvcreate (guestfs_h *g,\n"
30449 "                   const char *logvol,\n"
30450 "                   const char *volgroup,\n"
30451 "                   int mbytes);\n"
30452 "\n"
30453 msgstr ""
30454 " int\n"
30455 " guestfs_lvcreate (guestfs_h *g,\n"
30456 "                   const char *logvol,\n"
30457 "                   const char *volgroup,\n"
30458 "                   int mbytes);\n"
30459 "\n"
30460
30461 #. type: =head2
30462 #: ../src/guestfs-actions.pod:4635
30463 msgid "guestfs_lvm_canonical_lv_name"
30464 msgstr "guestfs_lvm_canonical_lv_name"
30465
30466 #. type: verbatim
30467 #: ../src/guestfs-actions.pod:4637
30468 #, no-wrap
30469 msgid ""
30470 " char *\n"
30471 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
30472 "                                const char *lvname);\n"
30473 "\n"
30474 msgstr ""
30475 " char *\n"
30476 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
30477 "                                const char *lvname);\n"
30478 "\n"
30479
30480 #. type: textblock
30481 #: ../src/guestfs-actions.pod:4648
30482 msgid "See also C<guestfs_is_lv>."
30483 msgstr ""
30484
30485 #. type: textblock
30486 #: ../src/guestfs-actions.pod:4653
30487 msgid "(Added in 1.5.24)"
30488 msgstr "(Додано у 1.5.24)"
30489
30490 #. type: =head2
30491 #: ../src/guestfs-actions.pod:4655
30492 msgid "guestfs_lvm_clear_filter"
30493 msgstr "guestfs_lvm_clear_filter"
30494
30495 #. type: verbatim
30496 #: ../src/guestfs-actions.pod:4657
30497 #, no-wrap
30498 msgid ""
30499 " int\n"
30500 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
30501 "\n"
30502 msgstr ""
30503 " int\n"
30504 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
30505 "\n"
30506
30507 #. type: textblock
30508 #: ../src/guestfs-actions.pod:4660
30509 msgid ""
30510 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
30511 "see every block device."
30512 msgstr ""
30513
30514 #. type: =head2
30515 #: ../src/guestfs-actions.pod:4670
30516 msgid "guestfs_lvm_remove_all"
30517 msgstr "guestfs_lvm_remove_all"
30518
30519 #. type: verbatim
30520 #: ../src/guestfs-actions.pod:4672
30521 #, no-wrap
30522 msgid ""
30523 " int\n"
30524 " guestfs_lvm_remove_all (guestfs_h *g);\n"
30525 "\n"
30526 msgstr ""
30527 " int\n"
30528 " guestfs_lvm_remove_all (guestfs_h *g);\n"
30529 "\n"
30530
30531 #. type: =head2
30532 #: ../src/guestfs-actions.pod:4682
30533 msgid "guestfs_lvm_set_filter"
30534 msgstr "guestfs_lvm_set_filter"
30535
30536 #. type: verbatim
30537 #: ../src/guestfs-actions.pod:4684
30538 #, no-wrap
30539 msgid ""
30540 " int\n"
30541 " guestfs_lvm_set_filter (guestfs_h *g,\n"
30542 "                         char *const *devices);\n"
30543 "\n"
30544 msgstr ""
30545 " int\n"
30546 " guestfs_lvm_set_filter (guestfs_h *g,\n"
30547 "                         char *const *devices);\n"
30548 "\n"
30549
30550 #. type: =head2
30551 #: ../src/guestfs-actions.pod:4715
30552 msgid "guestfs_lvremove"
30553 msgstr "guestfs_lvremove"
30554
30555 #. type: verbatim
30556 #: ../src/guestfs-actions.pod:4717
30557 #, no-wrap
30558 msgid ""
30559 " int\n"
30560 " guestfs_lvremove (guestfs_h *g,\n"
30561 "                   const char *device);\n"
30562 "\n"
30563 msgstr ""
30564 " int\n"
30565 " guestfs_lvremove (guestfs_h *g,\n"
30566 "                   const char *device);\n"
30567 "\n"
30568
30569 #. type: textblock
30570 #: ../src/guestfs-actions.pod:4729 ../src/guestfs-actions.pod:6139
30571 #: ../src/guestfs-actions.pod:7977
30572 msgid "(Added in 1.0.13)"
30573 msgstr "(Додано у 1.0.13)"
30574
30575 #. type: =head2
30576 #: ../src/guestfs-actions.pod:4731
30577 msgid "guestfs_lvrename"
30578 msgstr "guestfs_lvrename"
30579
30580 #. type: verbatim
30581 #: ../src/guestfs-actions.pod:4733
30582 #, no-wrap
30583 msgid ""
30584 " int\n"
30585 " guestfs_lvrename (guestfs_h *g,\n"
30586 "                   const char *logvol,\n"
30587 "                   const char *newlogvol);\n"
30588 "\n"
30589 msgstr ""
30590 " int\n"
30591 " guestfs_lvrename (guestfs_h *g,\n"
30592 "                   const char *logvol,\n"
30593 "                   const char *newlogvol);\n"
30594 "\n"
30595
30596 #. type: textblock
30597 #: ../src/guestfs-actions.pod:4742 ../src/guestfs-actions.pod:7990
30598 msgid "(Added in 1.0.83)"
30599 msgstr "(Додано у 1.0.83)"
30600
30601 #. type: =head2
30602 #: ../src/guestfs-actions.pod:4744
30603 msgid "guestfs_lvresize"
30604 msgstr "guestfs_lvresize"
30605
30606 #. type: verbatim
30607 #: ../src/guestfs-actions.pod:4746
30608 #, no-wrap
30609 msgid ""
30610 " int\n"
30611 " guestfs_lvresize (guestfs_h *g,\n"
30612 "                   const char *device,\n"
30613 "                   int mbytes);\n"
30614 "\n"
30615 msgstr ""
30616 " int\n"
30617 " guestfs_lvresize (guestfs_h *g,\n"
30618 "                   const char *device,\n"
30619 "                   int mbytes);\n"
30620 "\n"
30621
30622 #. type: =head2
30623 #: ../src/guestfs-actions.pod:4759
30624 msgid "guestfs_lvresize_free"
30625 msgstr "guestfs_lvresize_free"
30626
30627 #. type: verbatim
30628 #: ../src/guestfs-actions.pod:4761
30629 #, no-wrap
30630 msgid ""
30631 " int\n"
30632 " guestfs_lvresize_free (guestfs_h *g,\n"
30633 "                        const char *lv,\n"
30634 "                        int percent);\n"
30635 "\n"
30636 msgstr ""
30637 " int\n"
30638 " guestfs_lvresize_free (guestfs_h *g,\n"
30639 "                        const char *lv,\n"
30640 "                        int percent);\n"
30641 "\n"
30642
30643 #. type: textblock
30644 #: ../src/guestfs-actions.pod:4774
30645 msgid "(Added in 1.3.3)"
30646 msgstr "(Додано у 1.3.3)"
30647
30648 #. type: =head2
30649 #: ../src/guestfs-actions.pod:4776
30650 msgid "guestfs_lvs"
30651 msgstr "guestfs_lvs"
30652
30653 #. type: verbatim
30654 #: ../src/guestfs-actions.pod:4778
30655 #, no-wrap
30656 msgid ""
30657 " char **\n"
30658 " guestfs_lvs (guestfs_h *g);\n"
30659 "\n"
30660 msgstr ""
30661 " char **\n"
30662 " guestfs_lvs (guestfs_h *g);\n"
30663 "\n"
30664
30665 #. type: textblock
30666 #: ../src/guestfs-actions.pod:4787
30667 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
30668 msgstr ""
30669
30670 #. type: =head2
30671 #: ../src/guestfs-actions.pod:4795
30672 msgid "guestfs_lvs_full"
30673 msgstr "guestfs_lvs_full"
30674
30675 #. type: verbatim
30676 #: ../src/guestfs-actions.pod:4797
30677 #, no-wrap
30678 msgid ""
30679 " struct guestfs_lvm_lv_list *\n"
30680 " guestfs_lvs_full (guestfs_h *g);\n"
30681 "\n"
30682 msgstr ""
30683 " struct guestfs_lvm_lv_list *\n"
30684 " guestfs_lvs_full (guestfs_h *g);\n"
30685 "\n"
30686
30687 #. type: textblock
30688 #: ../src/guestfs-actions.pod:4803
30689 msgid ""
30690 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
30691 "was an error.  I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
30692 msgstr ""
30693
30694 #. type: =head2
30695 #: ../src/guestfs-actions.pod:4809
30696 msgid "guestfs_lvuuid"
30697 msgstr "guestfs_lvuuid"
30698
30699 #. type: verbatim
30700 #: ../src/guestfs-actions.pod:4811
30701 #, no-wrap
30702 msgid ""
30703 " char *\n"
30704 " guestfs_lvuuid (guestfs_h *g,\n"
30705 "                 const char *device);\n"
30706 "\n"
30707 msgstr ""
30708 " char *\n"
30709 " guestfs_lvuuid (guestfs_h *g,\n"
30710 "                 const char *device);\n"
30711 "\n"
30712
30713 #. type: =head2
30714 #: ../src/guestfs-actions.pod:4822
30715 msgid "guestfs_lxattrlist"
30716 msgstr "guestfs_lxattrlist"
30717
30718 #. type: verbatim
30719 #: ../src/guestfs-actions.pod:4824
30720 #, no-wrap
30721 msgid ""
30722 " struct guestfs_xattr_list *\n"
30723 " guestfs_lxattrlist (guestfs_h *g,\n"
30724 "                     const char *path,\n"
30725 "                     char *const *names);\n"
30726 "\n"
30727 msgstr ""
30728 " struct guestfs_xattr_list *\n"
30729 " guestfs_lxattrlist (guestfs_h *g,\n"
30730 "                     const char *path,\n"
30731 "                     char *const *names);\n"
30732 "\n"
30733
30734 #. type: textblock
30735 #: ../src/guestfs-actions.pod:4843
30736 msgid ""
30737 "This call is intended for programs that want to efficiently list a directory "
30738 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
30739 "a similarly efficient call for getting standard stats.  Very long directory "
30740 "listings might cause the protocol message size to be exceeded, causing this "
30741 "call to fail.  The caller must split up such requests into smaller groups of "
30742 "names."
30743 msgstr ""
30744
30745 #. type: =head2
30746 #: ../src/guestfs-actions.pod:4857
30747 msgid "guestfs_mkdir"
30748 msgstr "guestfs_mkdir"
30749
30750 #. type: verbatim
30751 #: ../src/guestfs-actions.pod:4859
30752 #, no-wrap
30753 msgid ""
30754 " int\n"
30755 " guestfs_mkdir (guestfs_h *g,\n"
30756 "                const char *path);\n"
30757 "\n"
30758 msgstr ""
30759 " int\n"
30760 " guestfs_mkdir (guestfs_h *g,\n"
30761 "                const char *path);\n"
30762 "\n"
30763
30764 #. type: =head2
30765 #: ../src/guestfs-actions.pod:4869
30766 msgid "guestfs_mkdir_mode"
30767 msgstr "guestfs_mkdir_mode"
30768
30769 #. type: verbatim
30770 #: ../src/guestfs-actions.pod:4871
30771 #, no-wrap
30772 msgid ""
30773 " int\n"
30774 " guestfs_mkdir_mode (guestfs_h *g,\n"
30775 "                     const char *path,\n"
30776 "                     int mode);\n"
30777 "\n"
30778 msgstr ""
30779 " int\n"
30780 " guestfs_mkdir_mode (guestfs_h *g,\n"
30781 "                     const char *path,\n"
30782 "                     int mode);\n"
30783 "\n"
30784
30785 #. type: textblock
30786 #: ../src/guestfs-actions.pod:4883
30787 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
30788 msgstr ""
30789
30790 #. type: =head2
30791 #: ../src/guestfs-actions.pod:4889
30792 msgid "guestfs_mkdir_p"
30793 msgstr "guestfs_mkdir_p"
30794
30795 #. type: verbatim
30796 #: ../src/guestfs-actions.pod:4891
30797 #, no-wrap
30798 msgid ""
30799 " int\n"
30800 " guestfs_mkdir_p (guestfs_h *g,\n"
30801 "                  const char *path);\n"
30802 "\n"
30803 msgstr ""
30804 " int\n"
30805 " guestfs_mkdir_p (guestfs_h *g,\n"
30806 "                  const char *path);\n"
30807 "\n"
30808
30809 #. type: =head2
30810 #: ../src/guestfs-actions.pod:4902
30811 msgid "guestfs_mkdtemp"
30812 msgstr "guestfs_mkdtemp"
30813
30814 #. type: verbatim
30815 #: ../src/guestfs-actions.pod:4904
30816 #, no-wrap
30817 msgid ""
30818 " char *\n"
30819 " guestfs_mkdtemp (guestfs_h *g,\n"
30820 "                  const char *template);\n"
30821 "\n"
30822 msgstr ""
30823 " char *\n"
30824 " guestfs_mkdtemp (guestfs_h *g,\n"
30825 "                  const char *template);\n"
30826 "\n"
30827
30828 #. type: =head2
30829 #: ../src/guestfs-actions.pod:4932
30830 msgid "guestfs_mke2fs_J"
30831 msgstr "guestfs_mke2fs_J"
30832
30833 #. type: verbatim
30834 #: ../src/guestfs-actions.pod:4934
30835 #, no-wrap
30836 msgid ""
30837 " int\n"
30838 " guestfs_mke2fs_J (guestfs_h *g,\n"
30839 "                   const char *fstype,\n"
30840 "                   int blocksize,\n"
30841 "                   const char *device,\n"
30842 "                   const char *journal);\n"
30843 "\n"
30844 msgstr ""
30845 " int\n"
30846 " guestfs_mke2fs_J (guestfs_h *g,\n"
30847 "                   const char *fstype,\n"
30848 "                   int blocksize,\n"
30849 "                   const char *device,\n"
30850 "                   const char *journal);\n"
30851 "\n"
30852
30853 #. type: textblock
30854 #: ../src/guestfs-actions.pod:4947
30855 msgid "See also C<guestfs_mke2journal>."
30856 msgstr ""
30857
30858 #. type: textblock
30859 #: ../src/guestfs-actions.pod:4951 ../src/guestfs-actions.pod:4969
30860 #: ../src/guestfs-actions.pod:4987 ../src/guestfs-actions.pod:5003
30861 #: ../src/guestfs-actions.pod:5017 ../src/guestfs-actions.pod:5031
30862 #: ../src/guestfs-actions.pod:5090 ../src/guestfs-actions.pod:5367
30863 msgid "(Added in 1.0.68)"
30864 msgstr "(Додано у 1.0.68)"
30865
30866 #. type: =head2
30867 #: ../src/guestfs-actions.pod:4953
30868 msgid "guestfs_mke2fs_JL"
30869 msgstr "guestfs_mke2fs_JL"
30870
30871 #. type: verbatim
30872 #: ../src/guestfs-actions.pod:4955
30873 #, no-wrap
30874 msgid ""
30875 " int\n"
30876 " guestfs_mke2fs_JL (guestfs_h *g,\n"
30877 "                    const char *fstype,\n"
30878 "                    int blocksize,\n"
30879 "                    const char *device,\n"
30880 "                    const char *label);\n"
30881 "\n"
30882 msgstr ""
30883 " int\n"
30884 " guestfs_mke2fs_JL (guestfs_h *g,\n"
30885 "                    const char *fstype,\n"
30886 "                    int blocksize,\n"
30887 "                    const char *device,\n"
30888 "                    const char *label);\n"
30889 "\n"
30890
30891 #. type: textblock
30892 #: ../src/guestfs-actions.pod:4965
30893 msgid "See also C<guestfs_mke2journal_L>."
30894 msgstr ""
30895
30896 #. type: =head2
30897 #: ../src/guestfs-actions.pod:4971
30898 msgid "guestfs_mke2fs_JU"
30899 msgstr "guestfs_mke2fs_JU"
30900
30901 #. type: verbatim
30902 #: ../src/guestfs-actions.pod:4973
30903 #, no-wrap
30904 msgid ""
30905 " int\n"
30906 " guestfs_mke2fs_JU (guestfs_h *g,\n"
30907 "                    const char *fstype,\n"
30908 "                    int blocksize,\n"
30909 "                    const char *device,\n"
30910 "                    const char *uuid);\n"
30911 "\n"
30912 msgstr ""
30913 " int\n"
30914 " guestfs_mke2fs_JU (guestfs_h *g,\n"
30915 "                    const char *fstype,\n"
30916 "                    int blocksize,\n"
30917 "                    const char *device,\n"
30918 "                    const char *uuid);\n"
30919 "\n"
30920
30921 #. type: textblock
30922 #: ../src/guestfs-actions.pod:4983
30923 msgid "See also C<guestfs_mke2journal_U>."
30924 msgstr ""
30925
30926 #. type: =head2
30927 #: ../src/guestfs-actions.pod:4989
30928 msgid "guestfs_mke2journal"
30929 msgstr "guestfs_mke2journal"
30930
30931 #. type: verbatim
30932 #: ../src/guestfs-actions.pod:4991
30933 #, no-wrap
30934 msgid ""
30935 " int\n"
30936 " guestfs_mke2journal (guestfs_h *g,\n"
30937 "                      int blocksize,\n"
30938 "                      const char *device);\n"
30939 "\n"
30940 msgstr ""
30941 " int\n"
30942 " guestfs_mke2journal (guestfs_h *g,\n"
30943 "                      int blocksize,\n"
30944 "                      const char *device);\n"
30945 "\n"
30946
30947 #. type: =head2
30948 #: ../src/guestfs-actions.pod:5005
30949 msgid "guestfs_mke2journal_L"
30950 msgstr "guestfs_mke2journal_L"
30951
30952 #. type: verbatim
30953 #: ../src/guestfs-actions.pod:5007
30954 #, no-wrap
30955 msgid ""
30956 " int\n"
30957 " guestfs_mke2journal_L (guestfs_h *g,\n"
30958 "                        int blocksize,\n"
30959 "                        const char *label,\n"
30960 "                        const char *device);\n"
30961 "\n"
30962 msgstr ""
30963 " int\n"
30964 " guestfs_mke2journal_L (guestfs_h *g,\n"
30965 "                        int blocksize,\n"
30966 "                        const char *label,\n"
30967 "                        const char *device);\n"
30968 "\n"
30969
30970 #. type: =head2
30971 #: ../src/guestfs-actions.pod:5019
30972 msgid "guestfs_mke2journal_U"
30973 msgstr "guestfs_mke2journal_U"
30974
30975 #. type: verbatim
30976 #: ../src/guestfs-actions.pod:5021
30977 #, no-wrap
30978 msgid ""
30979 " int\n"
30980 " guestfs_mke2journal_U (guestfs_h *g,\n"
30981 "                        int blocksize,\n"
30982 "                        const char *uuid,\n"
30983 "                        const char *device);\n"
30984 "\n"
30985 msgstr ""
30986 " int\n"
30987 " guestfs_mke2journal_U (guestfs_h *g,\n"
30988 "                        int blocksize,\n"
30989 "                        const char *uuid,\n"
30990 "                        const char *device);\n"
30991 "\n"
30992
30993 #. type: =head2
30994 #: ../src/guestfs-actions.pod:5033
30995 msgid "guestfs_mkfifo"
30996 msgstr "guestfs_mkfifo"
30997
30998 #. type: verbatim
30999 #: ../src/guestfs-actions.pod:5035
31000 #, no-wrap
31001 msgid ""
31002 " int\n"
31003 " guestfs_mkfifo (guestfs_h *g,\n"
31004 "                 int mode,\n"
31005 "                 const char *path);\n"
31006 "\n"
31007 msgstr ""
31008 " int\n"
31009 " guestfs_mkfifo (guestfs_h *g,\n"
31010 "                 int mode,\n"
31011 "                 const char *path);\n"
31012 "\n"
31013
31014 #. type: textblock
31015 #: ../src/guestfs-actions.pod:5040
31016 msgid ""
31017 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
31018 "is just a convenient wrapper around C<guestfs_mknod>."
31019 msgstr ""
31020
31021 #. type: =head2
31022 #: ../src/guestfs-actions.pod:5050
31023 msgid "guestfs_mkfs"
31024 msgstr "guestfs_mkfs"
31025
31026 #. type: verbatim
31027 #: ../src/guestfs-actions.pod:5052
31028 #, no-wrap
31029 msgid ""
31030 " int\n"
31031 " guestfs_mkfs (guestfs_h *g,\n"
31032 "               const char *fstype,\n"
31033 "               const char *device);\n"
31034 "\n"
31035 msgstr ""
31036 " int\n"
31037 " guestfs_mkfs (guestfs_h *g,\n"
31038 "               const char *fstype,\n"
31039 "               const char *device);\n"
31040 "\n"
31041
31042 #. type: =head2
31043 #: ../src/guestfs-actions.pod:5065
31044 msgid "guestfs_mkfs_b"
31045 msgstr "guestfs_mkfs_b"
31046
31047 #. type: verbatim
31048 #: ../src/guestfs-actions.pod:5067
31049 #, no-wrap
31050 msgid ""
31051 " int\n"
31052 " guestfs_mkfs_b (guestfs_h *g,\n"
31053 "                 const char *fstype,\n"
31054 "                 int blocksize,\n"
31055 "                 const char *device);\n"
31056 "\n"
31057 msgstr ""
31058 " int\n"
31059 " guestfs_mkfs_b (guestfs_h *g,\n"
31060 "                 const char *fstype,\n"
31061 "                 int blocksize,\n"
31062 "                 const char *device);\n"
31063 "\n"
31064
31065 #. type: textblock
31066 #: ../src/guestfs-actions.pod:5073
31067 msgid ""
31068 "I<This function is deprecated.> In new code, use the L</guestfs_mkfs_opts> "
31069 "call instead."
31070 msgstr ""
31071
31072 #. type: textblock
31073 #: ../src/guestfs-actions.pod:5080
31074 msgid ""
31075 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
31076 "block size of the resulting filesystem.  Supported block sizes depend on the "
31077 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
31078 msgstr ""
31079
31080 #. type: =head2
31081 #: ../src/guestfs-actions.pod:5092
31082 msgid "guestfs_mkfs_opts"
31083 msgstr "guestfs_mkfs_opts"
31084
31085 #. type: verbatim
31086 #: ../src/guestfs-actions.pod:5094
31087 #, no-wrap
31088 msgid ""
31089 " int\n"
31090 " guestfs_mkfs_opts (guestfs_h *g,\n"
31091 "                    const char *fstype,\n"
31092 "                    const char *device,\n"
31093 "                    ...);\n"
31094 "\n"
31095 msgstr ""
31096 " int\n"
31097 " guestfs_mkfs_opts (guestfs_h *g,\n"
31098 "                    const char *fstype,\n"
31099 "                    const char *device,\n"
31100 "                    ...);\n"
31101 "\n"
31102
31103 #. type: verbatim
31104 #: ../src/guestfs-actions.pod:5105
31105 #, no-wrap
31106 msgid ""
31107 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
31108 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
31109 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
31110 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
31111 "\n"
31112 msgstr ""
31113
31114 #. type: textblock
31115 #: ../src/guestfs-actions.pod:5153
31116 msgid "(Added in 1.7.19)"
31117 msgstr "(Додано у 1.7.19)"
31118
31119 #. type: =head2
31120 #: ../src/guestfs-actions.pod:5155
31121 msgid "guestfs_mkfs_opts_va"
31122 msgstr "guestfs_mkfs_opts_va"
31123
31124 #. type: verbatim
31125 #: ../src/guestfs-actions.pod:5157
31126 #, no-wrap
31127 msgid ""
31128 " int\n"
31129 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
31130 "                       const char *fstype,\n"
31131 "                       const char *device,\n"
31132 "                       va_list args);\n"
31133 "\n"
31134 msgstr ""
31135 " int\n"
31136 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
31137 "                       const char *fstype,\n"
31138 "                       const char *device,\n"
31139 "                       va_list args);\n"
31140 "\n"
31141
31142 #. type: textblock
31143 #: ../src/guestfs-actions.pod:5163
31144 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
31145 msgstr ""
31146
31147 #. type: =head2
31148 #: ../src/guestfs-actions.pod:5167
31149 msgid "guestfs_mkfs_opts_argv"
31150 msgstr "guestfs_mkfs_opts_argv"
31151
31152 #. type: verbatim
31153 #: ../src/guestfs-actions.pod:5169
31154 #, no-wrap
31155 msgid ""
31156 " int\n"
31157 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
31158 "                         const char *fstype,\n"
31159 "                         const char *device,\n"
31160 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
31161 "\n"
31162 msgstr ""
31163 " int\n"
31164 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
31165 "                         const char *fstype,\n"
31166 "                         const char *device,\n"
31167 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
31168 "\n"
31169
31170 #. type: textblock
31171 #: ../src/guestfs-actions.pod:5175
31172 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
31173 msgstr ""
31174
31175 #. type: =head2
31176 #: ../src/guestfs-actions.pod:5179
31177 msgid "guestfs_mkmountpoint"
31178 msgstr "guestfs_mkmountpoint"
31179
31180 #. type: verbatim
31181 #: ../src/guestfs-actions.pod:5181
31182 #, no-wrap
31183 msgid ""
31184 " int\n"
31185 " guestfs_mkmountpoint (guestfs_h *g,\n"
31186 "                       const char *exemptpath);\n"
31187 "\n"
31188 msgstr ""
31189 " int\n"
31190 " guestfs_mkmountpoint (guestfs_h *g,\n"
31191 "                       const char *exemptpath);\n"
31192 "\n"
31193
31194 #. type: textblock
31195 #: ../src/guestfs-actions.pod:5185
31196 msgid ""
31197 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
31198 "that can be used to create extra mountpoints before mounting the first "
31199 "filesystem."
31200 msgstr ""
31201
31202 #. type: textblock
31203 #: ../src/guestfs-actions.pod:5209
31204 msgid ""
31205 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
31206 "may get unexpected errors if you try to mix these calls.  It is safest to "
31207 "manually unmount filesystems and remove mountpoints after use."
31208 msgstr ""
31209
31210 #. type: textblock
31211 #: ../src/guestfs-actions.pod:5213
31212 msgid ""
31213 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
31214 "first, so for this to work for manual mountpoints, you must ensure that the "
31215 "innermost mountpoints have the longest pathnames, as in the example code "
31216 "above."
31217 msgstr ""
31218
31219 #. type: textblock
31220 #: ../src/guestfs-actions.pod:5220
31221 msgid ""
31222 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
31223 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
31224 "can also trigger these issues."
31225 msgstr ""
31226
31227 #. type: textblock
31228 #: ../src/guestfs-actions.pod:5226 ../src/guestfs-actions.pod:5532
31229 #: ../src/guestfs-actions.pod:6559
31230 msgid "(Added in 1.0.62)"
31231 msgstr "(Додано у 1.0.62)"
31232
31233 #. type: =head2
31234 #: ../src/guestfs-actions.pod:5228
31235 msgid "guestfs_mknod"
31236 msgstr ""
31237
31238 #. type: verbatim
31239 #: ../src/guestfs-actions.pod:5230
31240 #, no-wrap
31241 msgid ""
31242 " int\n"
31243 " guestfs_mknod (guestfs_h *g,\n"
31244 "                int mode,\n"
31245 "                int devmajor,\n"
31246 "                int devminor,\n"
31247 "                const char *path);\n"
31248 "\n"
31249 msgstr ""
31250
31251 #. type: textblock
31252 #: ../src/guestfs-actions.pod:5245
31253 msgid ""
31254 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
31255 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
31256 "regular file).  These constants are available in the standard Linux header "
31257 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
31258 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
31259 "the appropriate constant for you."
31260 msgstr ""
31261
31262 #. type: =head2
31263 #: ../src/guestfs-actions.pod:5259
31264 msgid "guestfs_mknod_b"
31265 msgstr ""
31266
31267 #. type: verbatim
31268 #: ../src/guestfs-actions.pod:5261
31269 #, no-wrap
31270 msgid ""
31271 " int\n"
31272 " guestfs_mknod_b (guestfs_h *g,\n"
31273 "                  int mode,\n"
31274 "                  int devmajor,\n"
31275 "                  int devminor,\n"
31276 "                  const char *path);\n"
31277 "\n"
31278 msgstr ""
31279
31280 #. type: textblock
31281 #: ../src/guestfs-actions.pod:5268
31282 msgid ""
31283 "This call creates a block device node called C<path> with mode C<mode> and "
31284 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
31285 "wrapper around C<guestfs_mknod>."
31286 msgstr ""
31287
31288 #. type: =head2
31289 #: ../src/guestfs-actions.pod:5278
31290 msgid "guestfs_mknod_c"
31291 msgstr ""
31292
31293 #. type: verbatim
31294 #: ../src/guestfs-actions.pod:5280
31295 #, no-wrap
31296 msgid ""
31297 " int\n"
31298 " guestfs_mknod_c (guestfs_h *g,\n"
31299 "                  int mode,\n"
31300 "                  int devmajor,\n"
31301 "                  int devminor,\n"
31302 "                  const char *path);\n"
31303 "\n"
31304 msgstr ""
31305
31306 #. type: textblock
31307 #: ../src/guestfs-actions.pod:5287
31308 msgid ""
31309 "This call creates a char device node called C<path> with mode C<mode> and "
31310 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
31311 "wrapper around C<guestfs_mknod>."
31312 msgstr ""
31313
31314 #. type: =head2
31315 #: ../src/guestfs-actions.pod:5297
31316 msgid "guestfs_mkswap"
31317 msgstr ""
31318
31319 #. type: verbatim
31320 #: ../src/guestfs-actions.pod:5299
31321 #, no-wrap
31322 msgid ""
31323 " int\n"
31324 " guestfs_mkswap (guestfs_h *g,\n"
31325 "                 const char *device);\n"
31326 "\n"
31327 msgstr ""
31328
31329 #. type: =head2
31330 #: ../src/guestfs-actions.pod:5309
31331 msgid "guestfs_mkswap_L"
31332 msgstr ""
31333
31334 #. type: verbatim
31335 #: ../src/guestfs-actions.pod:5311
31336 #, no-wrap
31337 msgid ""
31338 " int\n"
31339 " guestfs_mkswap_L (guestfs_h *g,\n"
31340 "                   const char *label,\n"
31341 "                   const char *device);\n"
31342 "\n"
31343 msgstr ""
31344
31345 #. type: =head2
31346 #: ../src/guestfs-actions.pod:5326
31347 msgid "guestfs_mkswap_U"
31348 msgstr ""
31349
31350 #. type: verbatim
31351 #: ../src/guestfs-actions.pod:5328
31352 #, no-wrap
31353 msgid ""
31354 " int\n"
31355 " guestfs_mkswap_U (guestfs_h *g,\n"
31356 "                   const char *uuid,\n"
31357 "                   const char *device);\n"
31358 "\n"
31359 msgstr ""
31360
31361 #. type: =head2
31362 #: ../src/guestfs-actions.pod:5339
31363 msgid "guestfs_mkswap_file"
31364 msgstr ""
31365
31366 #. type: verbatim
31367 #: ../src/guestfs-actions.pod:5341
31368 #, no-wrap
31369 msgid ""
31370 " int\n"
31371 " guestfs_mkswap_file (guestfs_h *g,\n"
31372 "                      const char *path);\n"
31373 "\n"
31374 msgstr ""
31375
31376 #. type: textblock
31377 #: ../src/guestfs-actions.pod:5347
31378 msgid ""
31379 "This command just writes a swap file signature to an existing file.  To "
31380 "create the file itself, use something like C<guestfs_fallocate>."
31381 msgstr ""
31382
31383 #. type: =head2
31384 #: ../src/guestfs-actions.pod:5354
31385 msgid "guestfs_modprobe"
31386 msgstr ""
31387
31388 #. type: verbatim
31389 #: ../src/guestfs-actions.pod:5356
31390 #, no-wrap
31391 msgid ""
31392 " int\n"
31393 " guestfs_modprobe (guestfs_h *g,\n"
31394 "                   const char *modulename);\n"
31395 "\n"
31396 msgstr ""
31397
31398 #. type: =head2
31399 #: ../src/guestfs-actions.pod:5369
31400 msgid "guestfs_mount"
31401 msgstr ""
31402
31403 #. type: verbatim
31404 #: ../src/guestfs-actions.pod:5371
31405 #, no-wrap
31406 msgid ""
31407 " int\n"
31408 " guestfs_mount (guestfs_h *g,\n"
31409 "                const char *device,\n"
31410 "                const char *mountpoint);\n"
31411 "\n"
31412 msgstr ""
31413
31414 #. type: textblock
31415 #: ../src/guestfs-actions.pod:5390
31416 msgid ""
31417 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
31418 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
31419 "problems for users.  If your program might need to work with older versions "
31420 "of libguestfs, use C<guestfs_mount_options> instead (using an empty string "
31421 "for the first parameter if you don't want any options)."
31422 msgstr ""
31423
31424 #. type: =head2
31425 #: ../src/guestfs-actions.pod:5401
31426 msgid "guestfs_mount_9p"
31427 msgstr ""
31428
31429 #. type: verbatim
31430 #: ../src/guestfs-actions.pod:5403
31431 #, no-wrap
31432 msgid ""
31433 " int\n"
31434 " guestfs_mount_9p (guestfs_h *g,\n"
31435 "                   const char *mounttag,\n"
31436 "                   const char *mountpoint,\n"
31437 "                   ...);\n"
31438 "\n"
31439 msgstr ""
31440
31441 #. type: verbatim
31442 #: ../src/guestfs-actions.pod:5414
31443 #, no-wrap
31444 msgid ""
31445 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
31446 "\n"
31447 msgstr ""
31448
31449 #. type: =head2
31450 #: ../src/guestfs-actions.pod:5427
31451 msgid "guestfs_mount_9p_va"
31452 msgstr ""
31453
31454 #. type: verbatim
31455 #: ../src/guestfs-actions.pod:5429
31456 #, no-wrap
31457 msgid ""
31458 " int\n"
31459 " guestfs_mount_9p_va (guestfs_h *g,\n"
31460 "                      const char *mounttag,\n"
31461 "                      const char *mountpoint,\n"
31462 "                      va_list args);\n"
31463 "\n"
31464 msgstr ""
31465
31466 #. type: textblock
31467 #: ../src/guestfs-actions.pod:5435
31468 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
31469 msgstr ""
31470
31471 #. type: =head2
31472 #: ../src/guestfs-actions.pod:5439
31473 msgid "guestfs_mount_9p_argv"
31474 msgstr ""
31475
31476 #. type: verbatim
31477 #: ../src/guestfs-actions.pod:5441
31478 #, no-wrap
31479 msgid ""
31480 " int\n"
31481 " guestfs_mount_9p_argv (guestfs_h *g,\n"
31482 "                        const char *mounttag,\n"
31483 "                        const char *mountpoint,\n"
31484 "                        const struct guestfs_mount_9p_argv *optargs);\n"
31485 "\n"
31486 msgstr ""
31487
31488 #. type: textblock
31489 #: ../src/guestfs-actions.pod:5447
31490 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
31491 msgstr ""
31492
31493 #. type: =head2
31494 #: ../src/guestfs-actions.pod:5451
31495 msgid "guestfs_mount_loop"
31496 msgstr ""
31497
31498 #. type: verbatim
31499 #: ../src/guestfs-actions.pod:5453
31500 #, no-wrap
31501 msgid ""
31502 " int\n"
31503 " guestfs_mount_loop (guestfs_h *g,\n"
31504 "                     const char *file,\n"
31505 "                     const char *mountpoint);\n"
31506 "\n"
31507 msgstr ""
31508
31509 #. type: =head2
31510 #: ../src/guestfs-actions.pod:5466
31511 msgid "guestfs_mount_options"
31512 msgstr ""
31513
31514 #. type: verbatim
31515 #: ../src/guestfs-actions.pod:5468
31516 #, no-wrap
31517 msgid ""
31518 " int\n"
31519 " guestfs_mount_options (guestfs_h *g,\n"
31520 "                        const char *options,\n"
31521 "                        const char *device,\n"
31522 "                        const char *mountpoint);\n"
31523 "\n"
31524 msgstr ""
31525
31526 #. type: textblock
31527 #: ../src/guestfs-actions.pod:5474
31528 msgid ""
31529 "This is the same as the C<guestfs_mount> command, but it allows you to set "
31530 "the mount options as for the L<mount(8)> I<-o> flag."
31531 msgstr ""
31532
31533 #. type: textblock
31534 #: ../src/guestfs-actions.pod:5484 ../src/guestfs-actions.pod:5498
31535 #: ../src/guestfs-actions.pod:5515
31536 msgid "(Added in 1.0.10)"
31537 msgstr "(Додано у 1.0.10)"
31538
31539 #. type: =head2
31540 #: ../src/guestfs-actions.pod:5486
31541 msgid "guestfs_mount_ro"
31542 msgstr ""
31543
31544 #. type: verbatim
31545 #: ../src/guestfs-actions.pod:5488
31546 #, no-wrap
31547 msgid ""
31548 " int\n"
31549 " guestfs_mount_ro (guestfs_h *g,\n"
31550 "                   const char *device,\n"
31551 "                   const char *mountpoint);\n"
31552 "\n"
31553 msgstr ""
31554
31555 #. type: textblock
31556 #: ../src/guestfs-actions.pod:5493
31557 msgid ""
31558 "This is the same as the C<guestfs_mount> command, but it mounts the "
31559 "filesystem with the read-only (I<-o ro>) flag."
31560 msgstr ""
31561
31562 #. type: =head2
31563 #: ../src/guestfs-actions.pod:5500
31564 msgid "guestfs_mount_vfs"
31565 msgstr ""
31566
31567 #. type: verbatim
31568 #: ../src/guestfs-actions.pod:5502
31569 #, no-wrap
31570 msgid ""
31571 " int\n"
31572 " guestfs_mount_vfs (guestfs_h *g,\n"
31573 "                    const char *options,\n"
31574 "                    const char *vfstype,\n"
31575 "                    const char *device,\n"
31576 "                    const char *mountpoint);\n"
31577 "\n"
31578 msgstr ""
31579
31580 #. type: textblock
31581 #: ../src/guestfs-actions.pod:5509
31582 msgid ""
31583 "This is the same as the C<guestfs_mount> command, but it allows you to set "
31584 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
31585 "t> flags."
31586 msgstr ""
31587
31588 #. type: =head2
31589 #: ../src/guestfs-actions.pod:5517
31590 msgid "guestfs_mountpoints"
31591 msgstr ""
31592
31593 #. type: verbatim
31594 #: ../src/guestfs-actions.pod:5519
31595 #, no-wrap
31596 msgid ""
31597 " char **\n"
31598 " guestfs_mountpoints (guestfs_h *g);\n"
31599 "\n"
31600 msgstr ""
31601
31602 #. type: textblock
31603 #: ../src/guestfs-actions.pod:5522
31604 msgid ""
31605 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
31606 "devices.  This one returns a hash table (map) of device name to directory "
31607 "where the device is mounted."
31608 msgstr ""
31609
31610 #. type: =head2
31611 #: ../src/guestfs-actions.pod:5534
31612 msgid "guestfs_mounts"
31613 msgstr ""
31614
31615 #. type: verbatim
31616 #: ../src/guestfs-actions.pod:5536
31617 #, no-wrap
31618 msgid ""
31619 " char **\n"
31620 " guestfs_mounts (guestfs_h *g);\n"
31621 "\n"
31622 msgstr ""
31623
31624 #. type: textblock
31625 #: ../src/guestfs-actions.pod:5544
31626 msgid "See also: C<guestfs_mountpoints>"
31627 msgstr ""
31628
31629 #. type: =head2
31630 #: ../src/guestfs-actions.pod:5552
31631 msgid "guestfs_mv"
31632 msgstr ""
31633
31634 #. type: verbatim
31635 #: ../src/guestfs-actions.pod:5554
31636 #, no-wrap
31637 msgid ""
31638 " int\n"
31639 " guestfs_mv (guestfs_h *g,\n"
31640 "             const char *src,\n"
31641 "             const char *dest);\n"
31642 "\n"
31643 msgstr ""
31644
31645 #. type: =head2
31646 #: ../src/guestfs-actions.pod:5566
31647 msgid "guestfs_ntfs_3g_probe"
31648 msgstr ""
31649
31650 #. type: verbatim
31651 #: ../src/guestfs-actions.pod:5568
31652 #, no-wrap
31653 msgid ""
31654 " int\n"
31655 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
31656 "                        int rw,\n"
31657 "                        const char *device);\n"
31658 "\n"
31659 msgstr ""
31660
31661 #. type: textblock
31662 #: ../src/guestfs-actions.pod:5587
31663 msgid "(Added in 1.0.43)"
31664 msgstr "(Додано у 1.0.43)"
31665
31666 #. type: =head2
31667 #: ../src/guestfs-actions.pod:5589
31668 msgid "guestfs_ntfsresize"
31669 msgstr ""
31670
31671 #. type: verbatim
31672 #: ../src/guestfs-actions.pod:5591
31673 #, no-wrap
31674 msgid ""
31675 " int\n"
31676 " guestfs_ntfsresize (guestfs_h *g,\n"
31677 "                     const char *device);\n"
31678 "\n"
31679 msgstr ""
31680
31681 #. type: textblock
31682 #: ../src/guestfs-actions.pod:5595 ../src/guestfs-actions.pod:5695
31683 msgid ""
31684 "I<This function is deprecated.> In new code, use the L</"
31685 "guestfs_ntfsresize_opts> call instead."
31686 msgstr ""
31687
31688 #. type: =head2
31689 #: ../src/guestfs-actions.pod:5619
31690 msgid "guestfs_ntfsresize_opts"
31691 msgstr ""
31692
31693 #. type: verbatim
31694 #: ../src/guestfs-actions.pod:5621
31695 #, no-wrap
31696 msgid ""
31697 " int\n"
31698 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
31699 "                          const char *device,\n"
31700 "                          ...);\n"
31701 "\n"
31702 msgstr ""
31703
31704 #. type: verbatim
31705 #: ../src/guestfs-actions.pod:5631
31706 #, no-wrap
31707 msgid ""
31708 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
31709 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
31710 "\n"
31711 msgstr ""
31712
31713 #. type: textblock
31714 #: ../src/guestfs-actions.pod:5651
31715 msgid ""
31716 "After the resize operation, the filesystem is always marked as requiring a "
31717 "consistency check (for safety).  You have to boot into Windows to perform "
31718 "this check and clear this condition.  If you I<don't> set the C<force> "
31719 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
31720 "times on a single filesystem without booting into Windows between each "
31721 "resize."
31722 msgstr ""
31723
31724 #. type: =head2
31725 #: ../src/guestfs-actions.pod:5666
31726 msgid "guestfs_ntfsresize_opts_va"
31727 msgstr ""
31728
31729 #. type: verbatim
31730 #: ../src/guestfs-actions.pod:5668
31731 #, no-wrap
31732 msgid ""
31733 " int\n"
31734 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
31735 "                             const char *device,\n"
31736 "                             va_list args);\n"
31737 "\n"
31738 msgstr ""
31739
31740 #. type: textblock
31741 #: ../src/guestfs-actions.pod:5673
31742 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
31743 msgstr ""
31744
31745 #. type: =head2
31746 #: ../src/guestfs-actions.pod:5677
31747 msgid "guestfs_ntfsresize_opts_argv"
31748 msgstr ""
31749
31750 #. type: verbatim
31751 #: ../src/guestfs-actions.pod:5679
31752 #, no-wrap
31753 msgid ""
31754 " int\n"
31755 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
31756 "                               const char *device,\n"
31757 "                               const struct guestfs_ntfsresize_opts_argv *optargs);\n"
31758 "\n"
31759 msgstr ""
31760
31761 #. type: textblock
31762 #: ../src/guestfs-actions.pod:5684
31763 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
31764 msgstr ""
31765
31766 #. type: =head2
31767 #: ../src/guestfs-actions.pod:5688
31768 msgid "guestfs_ntfsresize_size"
31769 msgstr ""
31770
31771 #. type: verbatim
31772 #: ../src/guestfs-actions.pod:5690
31773 #, no-wrap
31774 msgid ""
31775 " int\n"
31776 " guestfs_ntfsresize_size (guestfs_h *g,\n"
31777 "                          const char *device,\n"
31778 "                          int64_t size);\n"
31779 "\n"
31780 msgstr ""
31781
31782 #. type: textblock
31783 #: ../src/guestfs-actions.pod:5702
31784 msgid ""
31785 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
31786 "to specify the new size (in bytes) explicitly."
31787 msgstr ""
31788
31789 #. type: textblock
31790 #: ../src/guestfs-actions.pod:5707 ../src/guestfs-actions.pod:6166
31791 #: ../src/guestfs-actions.pod:6239 ../src/guestfs-actions.pod:6507
31792 #: ../src/guestfs-actions.pod:8134
31793 msgid "(Added in 1.3.14)"
31794 msgstr "(Додано у 1.3.14)"
31795
31796 #. type: =head2
31797 #: ../src/guestfs-actions.pod:5709
31798 msgid "guestfs_part_add"
31799 msgstr ""
31800
31801 #. type: verbatim
31802 #: ../src/guestfs-actions.pod:5711
31803 #, no-wrap
31804 msgid ""
31805 " int\n"
31806 " guestfs_part_add (guestfs_h *g,\n"
31807 "                   const char *device,\n"
31808 "                   const char *prlogex,\n"
31809 "                   int64_t startsect,\n"
31810 "                   int64_t endsect);\n"
31811 "\n"
31812 msgstr ""
31813
31814 #. type: textblock
31815 #: ../src/guestfs-actions.pod:5718
31816 msgid ""
31817 "This command adds a partition to C<device>.  If there is no partition table "
31818 "on the device, call C<guestfs_part_init> first."
31819 msgstr ""
31820
31821 #. type: textblock
31822 #: ../src/guestfs-actions.pod:5730
31823 msgid ""
31824 "Creating a partition which covers the whole disk is not so easy.  Use "
31825 "C<guestfs_part_disk> to do that."
31826 msgstr ""
31827
31828 #. type: textblock
31829 #: ../src/guestfs-actions.pod:5735 ../src/guestfs-actions.pod:5770
31830 #: ../src/guestfs-actions.pod:5823 ../src/guestfs-actions.pod:5907
31831 #: ../src/guestfs-actions.pod:5945 ../src/guestfs-actions.pod:5964
31832 #: ../src/guestfs-actions.pod:6004
31833 msgid "(Added in 1.0.78)"
31834 msgstr "(Додано у 1.0.78)"
31835
31836 #. type: =head2
31837 #: ../src/guestfs-actions.pod:5737
31838 msgid "guestfs_part_del"
31839 msgstr ""
31840
31841 #. type: verbatim
31842 #: ../src/guestfs-actions.pod:5739
31843 #, no-wrap
31844 msgid ""
31845 " int\n"
31846 " guestfs_part_del (guestfs_h *g,\n"
31847 "                   const char *device,\n"
31848 "                   int partnum);\n"
31849 "\n"
31850 msgstr ""
31851
31852 #. type: =head2
31853 #: ../src/guestfs-actions.pod:5754
31854 msgid "guestfs_part_disk"
31855 msgstr ""
31856
31857 #. type: verbatim
31858 #: ../src/guestfs-actions.pod:5756
31859 #, no-wrap
31860 msgid ""
31861 " int\n"
31862 " guestfs_part_disk (guestfs_h *g,\n"
31863 "                    const char *device,\n"
31864 "                    const char *parttype);\n"
31865 "\n"
31866 msgstr ""
31867
31868 #. type: textblock
31869 #: ../src/guestfs-actions.pod:5761
31870 msgid ""
31871 "This command is simply a combination of C<guestfs_part_init> followed by "
31872 "C<guestfs_part_add> to create a single primary partition covering the whole "
31873 "disk."
31874 msgstr ""
31875
31876 #. type: textblock
31877 #: ../src/guestfs-actions.pod:5765
31878 msgid ""
31879 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
31880 "possible values are described in C<guestfs_part_init>."
31881 msgstr ""
31882
31883 #. type: =head2
31884 #: ../src/guestfs-actions.pod:5772
31885 msgid "guestfs_part_get_bootable"
31886 msgstr ""
31887
31888 #. type: verbatim
31889 #: ../src/guestfs-actions.pod:5774
31890 #, no-wrap
31891 msgid ""
31892 " int\n"
31893 " guestfs_part_get_bootable (guestfs_h *g,\n"
31894 "                            const char *device,\n"
31895 "                            int partnum);\n"
31896 "\n"
31897 msgstr ""
31898
31899 #. type: textblock
31900 #: ../src/guestfs-actions.pod:5782
31901 msgid "See also C<guestfs_part_set_bootable>."
31902 msgstr ""
31903
31904 #. type: =head2
31905 #: ../src/guestfs-actions.pod:5788
31906 msgid "guestfs_part_get_mbr_id"
31907 msgstr ""
31908
31909 #. type: verbatim
31910 #: ../src/guestfs-actions.pod:5790
31911 #, no-wrap
31912 msgid ""
31913 " int\n"
31914 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
31915 "                          const char *device,\n"
31916 "                          int partnum);\n"
31917 "\n"
31918 msgstr ""
31919
31920 #. type: textblock
31921 #: ../src/guestfs-actions.pod:5798 ../src/guestfs-actions.pod:5980
31922 msgid ""
31923 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
31924 "undefined results for other partition table types (see "
31925 "C<guestfs_part_get_parttype>)."
31926 msgstr ""
31927
31928 #. type: =head2
31929 #: ../src/guestfs-actions.pod:5806
31930 msgid "guestfs_part_get_parttype"
31931 msgstr ""
31932
31933 #. type: verbatim
31934 #: ../src/guestfs-actions.pod:5808
31935 #, no-wrap
31936 msgid ""
31937 " char *\n"
31938 " guestfs_part_get_parttype (guestfs_h *g,\n"
31939 "                            const char *device);\n"
31940 "\n"
31941 msgstr ""
31942
31943 #. type: textblock
31944 #: ../src/guestfs-actions.pod:5815
31945 msgid ""
31946 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
31947 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
31948 "possible, although unusual.  See C<guestfs_part_init> for a full list."
31949 msgstr ""
31950
31951 #. type: =head2
31952 #: ../src/guestfs-actions.pod:5825
31953 msgid "guestfs_part_init"
31954 msgstr ""
31955
31956 #. type: verbatim
31957 #: ../src/guestfs-actions.pod:5827
31958 #, no-wrap
31959 msgid ""
31960 " int\n"
31961 " guestfs_part_init (guestfs_h *g,\n"
31962 "                    const char *device,\n"
31963 "                    const char *parttype);\n"
31964 "\n"
31965 msgstr ""
31966
31967 #. type: textblock
31968 #: ../src/guestfs-actions.pod:5836
31969 msgid ""
31970 "Initially there are no partitions.  Following this, you should call "
31971 "C<guestfs_part_add> for each partition required."
31972 msgstr ""
31973
31974 #. type: =head2
31975 #: ../src/guestfs-actions.pod:5909
31976 msgid "guestfs_part_list"
31977 msgstr "guestfs_part_list"
31978
31979 #. type: verbatim
31980 #: ../src/guestfs-actions.pod:5911
31981 #, no-wrap
31982 msgid ""
31983 " struct guestfs_partition_list *\n"
31984 " guestfs_part_list (guestfs_h *g,\n"
31985 "                    const char *device);\n"
31986 "\n"
31987 msgstr ""
31988 " struct guestfs_partition_list *\n"
31989 " guestfs_part_list (guestfs_h *g,\n"
31990 "                    const char *device);\n"
31991 "\n"
31992
31993 #. type: textblock
31994 #: ../src/guestfs-actions.pod:5928
31995 msgid ""
31996 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
31997 "the device's sector size, see C<guestfs_blockdev_getss>."
31998 msgstr ""
31999
32000 #. type: textblock
32001 #: ../src/guestfs-actions.pod:5941
32002 msgid ""
32003 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
32004 "was an error.  I<The caller must call C<guestfs_free_partition_list> after "
32005 "use>."
32006 msgstr ""
32007
32008 #. type: =head2
32009 #: ../src/guestfs-actions.pod:5947
32010 msgid "guestfs_part_set_bootable"
32011 msgstr ""
32012
32013 #. type: verbatim
32014 #: ../src/guestfs-actions.pod:5949
32015 #, no-wrap
32016 msgid ""
32017 " int\n"
32018 " guestfs_part_set_bootable (guestfs_h *g,\n"
32019 "                            const char *device,\n"
32020 "                            int partnum,\n"
32021 "                            int bootable);\n"
32022 "\n"
32023 msgstr ""
32024
32025 #. type: =head2
32026 #: ../src/guestfs-actions.pod:5966
32027 msgid "guestfs_part_set_mbr_id"
32028 msgstr ""
32029
32030 #. type: verbatim
32031 #: ../src/guestfs-actions.pod:5968
32032 #, no-wrap
32033 msgid ""
32034 " int\n"
32035 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
32036 "                          const char *device,\n"
32037 "                          int partnum,\n"
32038 "                          int idbyte);\n"
32039 "\n"
32040 msgstr ""
32041
32042 #. type: =head2
32043 #: ../src/guestfs-actions.pod:5988
32044 msgid "guestfs_part_set_name"
32045 msgstr ""
32046
32047 #. type: verbatim
32048 #: ../src/guestfs-actions.pod:5990
32049 #, no-wrap
32050 msgid ""
32051 " int\n"
32052 " guestfs_part_set_name (guestfs_h *g,\n"
32053 "                        const char *device,\n"
32054 "                        int partnum,\n"
32055 "                        const char *name);\n"
32056 "\n"
32057 msgstr ""
32058
32059 #. type: =head2
32060 #: ../src/guestfs-actions.pod:6006
32061 msgid "guestfs_part_to_dev"
32062 msgstr ""
32063
32064 #. type: verbatim
32065 #: ../src/guestfs-actions.pod:6008
32066 #, no-wrap
32067 msgid ""
32068 " char *\n"
32069 " guestfs_part_to_dev (guestfs_h *g,\n"
32070 "                      const char *partition);\n"
32071 "\n"
32072 msgstr ""
32073
32074 #. type: textblock
32075 #: ../src/guestfs-actions.pod:6016 ../src/guestfs-actions.pod:6035
32076 msgid ""
32077 "The named partition must exist, for example as a string returned from "
32078 "C<guestfs_list_partitions>."
32079 msgstr ""
32080
32081 #. type: textblock
32082 #: ../src/guestfs-actions.pod:6019
32083 msgid "See also C<guestfs_part_to_partnum>."
32084 msgstr ""
32085
32086 #. type: =head2
32087 #: ../src/guestfs-actions.pod:6026
32088 msgid "guestfs_part_to_partnum"
32089 msgstr ""
32090
32091 #. type: verbatim
32092 #: ../src/guestfs-actions.pod:6028
32093 #, no-wrap
32094 msgid ""
32095 " int\n"
32096 " guestfs_part_to_partnum (guestfs_h *g,\n"
32097 "                          const char *partition);\n"
32098 "\n"
32099 msgstr ""
32100
32101 #. type: textblock
32102 #: ../src/guestfs-actions.pod:6038
32103 msgid "See also C<guestfs_part_to_dev>."
32104 msgstr ""
32105
32106 #. type: =head2
32107 #: ../src/guestfs-actions.pod:6044
32108 msgid "guestfs_ping_daemon"
32109 msgstr ""
32110
32111 #. type: verbatim
32112 #: ../src/guestfs-actions.pod:6046
32113 #, no-wrap
32114 msgid ""
32115 " int\n"
32116 " guestfs_ping_daemon (guestfs_h *g);\n"
32117 "\n"
32118 msgstr ""
32119
32120 #. type: =head2
32121 #: ../src/guestfs-actions.pod:6058
32122 msgid "guestfs_pread"
32123 msgstr ""
32124
32125 #. type: verbatim
32126 #: ../src/guestfs-actions.pod:6060
32127 #, no-wrap
32128 msgid ""
32129 " char *\n"
32130 " guestfs_pread (guestfs_h *g,\n"
32131 "                const char *path,\n"
32132 "                int count,\n"
32133 "                int64_t offset,\n"
32134 "                size_t *size_r);\n"
32135 "\n"
32136 msgstr ""
32137
32138 #. type: textblock
32139 #: ../src/guestfs-actions.pod:6073
32140 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
32141 msgstr ""
32142
32143 #. type: =head2
32144 #: ../src/guestfs-actions.pod:6084
32145 msgid "guestfs_pread_device"
32146 msgstr ""
32147
32148 #. type: verbatim
32149 #: ../src/guestfs-actions.pod:6086
32150 #, no-wrap
32151 msgid ""
32152 " char *\n"
32153 " guestfs_pread_device (guestfs_h *g,\n"
32154 "                       const char *device,\n"
32155 "                       int count,\n"
32156 "                       int64_t offset,\n"
32157 "                       size_t *size_r);\n"
32158 "\n"
32159 msgstr ""
32160
32161 #. type: textblock
32162 #: ../src/guestfs-actions.pod:6099
32163 msgid "See also C<guestfs_pread>."
32164 msgstr ""
32165
32166 #. type: textblock
32167 #: ../src/guestfs-actions.pod:6108
32168 msgid "(Added in 1.5.21)"
32169 msgstr "(Додано у 1.5.21)"
32170
32171 #. type: =head2
32172 #: ../src/guestfs-actions.pod:6110
32173 msgid "guestfs_pvcreate"
32174 msgstr ""
32175
32176 #. type: verbatim
32177 #: ../src/guestfs-actions.pod:6112
32178 #, no-wrap
32179 msgid ""
32180 " int\n"
32181 " guestfs_pvcreate (guestfs_h *g,\n"
32182 "                   const char *device);\n"
32183 "\n"
32184 msgstr ""
32185
32186 #. type: =head2
32187 #: ../src/guestfs-actions.pod:6124
32188 msgid "guestfs_pvremove"
32189 msgstr ""
32190
32191 #. type: verbatim
32192 #: ../src/guestfs-actions.pod:6126
32193 #, no-wrap
32194 msgid ""
32195 " int\n"
32196 " guestfs_pvremove (guestfs_h *g,\n"
32197 "                   const char *device);\n"
32198 "\n"
32199 msgstr ""
32200
32201 #. type: =head2
32202 #: ../src/guestfs-actions.pod:6141
32203 msgid "guestfs_pvresize"
32204 msgstr ""
32205
32206 #. type: verbatim
32207 #: ../src/guestfs-actions.pod:6143
32208 #, no-wrap
32209 msgid ""
32210 " int\n"
32211 " guestfs_pvresize (guestfs_h *g,\n"
32212 "                   const char *device);\n"
32213 "\n"
32214 msgstr ""
32215
32216 #. type: =head2
32217 #: ../src/guestfs-actions.pod:6154
32218 msgid "guestfs_pvresize_size"
32219 msgstr ""
32220
32221 #. type: verbatim
32222 #: ../src/guestfs-actions.pod:6156
32223 #, no-wrap
32224 msgid ""
32225 " int\n"
32226 " guestfs_pvresize_size (guestfs_h *g,\n"
32227 "                        const char *device,\n"
32228 "                        int64_t size);\n"
32229 "\n"
32230 msgstr ""
32231
32232 #. type: textblock
32233 #: ../src/guestfs-actions.pod:6161
32234 msgid ""
32235 "This command is the same as C<guestfs_pvresize> except that it allows you to "
32236 "specify the new size (in bytes) explicitly."
32237 msgstr ""
32238
32239 #. type: =head2
32240 #: ../src/guestfs-actions.pod:6168
32241 msgid "guestfs_pvs"
32242 msgstr ""
32243
32244 #. type: verbatim
32245 #: ../src/guestfs-actions.pod:6170
32246 #, no-wrap
32247 msgid ""
32248 " char **\n"
32249 " guestfs_pvs (guestfs_h *g);\n"
32250 "\n"
32251 msgstr ""
32252
32253 #. type: textblock
32254 #: ../src/guestfs-actions.pod:6179
32255 msgid "See also C<guestfs_pvs_full>."
32256 msgstr ""
32257
32258 #. type: =head2
32259 #: ../src/guestfs-actions.pod:6187
32260 msgid "guestfs_pvs_full"
32261 msgstr ""
32262
32263 #. type: verbatim
32264 #: ../src/guestfs-actions.pod:6189
32265 #, no-wrap
32266 msgid ""
32267 " struct guestfs_lvm_pv_list *\n"
32268 " guestfs_pvs_full (guestfs_h *g);\n"
32269 "\n"
32270 msgstr ""
32271
32272 #. type: textblock
32273 #: ../src/guestfs-actions.pod:6195
32274 msgid ""
32275 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
32276 "was an error.  I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
32277 msgstr ""
32278
32279 #. type: =head2
32280 #: ../src/guestfs-actions.pod:6201
32281 msgid "guestfs_pvuuid"
32282 msgstr ""
32283
32284 #. type: verbatim
32285 #: ../src/guestfs-actions.pod:6203
32286 #, no-wrap
32287 msgid ""
32288 " char *\n"
32289 " guestfs_pvuuid (guestfs_h *g,\n"
32290 "                 const char *device);\n"
32291 "\n"
32292 msgstr ""
32293
32294 #. type: =head2
32295 #: ../src/guestfs-actions.pod:6214
32296 msgid "guestfs_pwrite"
32297 msgstr ""
32298
32299 #. type: verbatim
32300 #: ../src/guestfs-actions.pod:6216
32301 #, no-wrap
32302 msgid ""
32303 " int\n"
32304 " guestfs_pwrite (guestfs_h *g,\n"
32305 "                 const char *path,\n"
32306 "                 const char *content,\n"
32307 "                 size_t content_size,\n"
32308 "                 int64_t offset);\n"
32309 "\n"
32310 msgstr ""
32311
32312 #. type: textblock
32313 #: ../src/guestfs-actions.pod:6232
32314 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
32315 msgstr ""
32316
32317 #. type: =head2
32318 #: ../src/guestfs-actions.pod:6241
32319 msgid "guestfs_pwrite_device"
32320 msgstr ""
32321
32322 #. type: verbatim
32323 #: ../src/guestfs-actions.pod:6243
32324 #, no-wrap
32325 msgid ""
32326 " int\n"
32327 " guestfs_pwrite_device (guestfs_h *g,\n"
32328 "                        const char *device,\n"
32329 "                        const char *content,\n"
32330 "                        size_t content_size,\n"
32331 "                        int64_t offset);\n"
32332 "\n"
32333 msgstr ""
32334
32335 #. type: textblock
32336 #: ../src/guestfs-actions.pod:6258
32337 msgid "See also C<guestfs_pwrite>."
32338 msgstr ""
32339
32340 #. type: textblock
32341 #: ../src/guestfs-actions.pod:6265
32342 msgid "(Added in 1.5.20)"
32343 msgstr "(Додано у 1.5.20)"
32344
32345 #. type: =head2
32346 #: ../src/guestfs-actions.pod:6267
32347 msgid "guestfs_read_file"
32348 msgstr ""
32349
32350 #. type: verbatim
32351 #: ../src/guestfs-actions.pod:6269
32352 #, no-wrap
32353 msgid ""
32354 " char *\n"
32355 " guestfs_read_file (guestfs_h *g,\n"
32356 "                    const char *path,\n"
32357 "                    size_t *size_r);\n"
32358 "\n"
32359 msgstr ""
32360
32361 #. type: textblock
32362 #: ../src/guestfs-actions.pod:6277
32363 msgid ""
32364 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
32365 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
32366 "function is limited in the total size of file that can be handled."
32367 msgstr ""
32368
32369 #. type: textblock
32370 #: ../src/guestfs-actions.pod:6289
32371 msgid "(Added in 1.0.63)"
32372 msgstr "(Додано у 1.0.63)"
32373
32374 #. type: =head2
32375 #: ../src/guestfs-actions.pod:6291
32376 msgid "guestfs_read_lines"
32377 msgstr ""
32378
32379 #. type: verbatim
32380 #: ../src/guestfs-actions.pod:6293
32381 #, no-wrap
32382 msgid ""
32383 " char **\n"
32384 " guestfs_read_lines (guestfs_h *g,\n"
32385 "                     const char *path);\n"
32386 "\n"
32387 msgstr ""
32388
32389 #. type: textblock
32390 #: ../src/guestfs-actions.pod:6302
32391 msgid ""
32392 "Note that this function cannot correctly handle binary files (specifically, "
32393 "files containing C<\\0> character which is treated as end of line).  For "
32394 "those you need to use the C<guestfs_read_file> function which has a more "
32395 "complex interface."
32396 msgstr ""
32397
32398 #. type: =head2
32399 #: ../src/guestfs-actions.pod:6313
32400 msgid "guestfs_readdir"
32401 msgstr ""
32402
32403 #. type: verbatim
32404 #: ../src/guestfs-actions.pod:6315
32405 #, no-wrap
32406 msgid ""
32407 " struct guestfs_dirent_list *\n"
32408 " guestfs_readdir (guestfs_h *g,\n"
32409 "                  const char *dir);\n"
32410 "\n"
32411 msgstr ""
32412
32413 #. type: textblock
32414 #: ../src/guestfs-actions.pod:6369
32415 msgid ""
32416 "This function is primarily intended for use by programs.  To get a simple "
32417 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
32418 "consumption, use C<guestfs_ll>."
32419 msgstr ""
32420
32421 #. type: textblock
32422 #: ../src/guestfs-actions.pod:6373
32423 msgid ""
32424 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
32425 "was an error.  I<The caller must call C<guestfs_free_dirent_list> after use>."
32426 msgstr ""
32427
32428 #. type: =head2
32429 #: ../src/guestfs-actions.pod:6379
32430 msgid "guestfs_readlink"
32431 msgstr ""
32432
32433 #. type: verbatim
32434 #: ../src/guestfs-actions.pod:6381
32435 #, no-wrap
32436 msgid ""
32437 " char *\n"
32438 " guestfs_readlink (guestfs_h *g,\n"
32439 "                   const char *path);\n"
32440 "\n"
32441 msgstr ""
32442
32443 #. type: =head2
32444 #: ../src/guestfs-actions.pod:6392
32445 msgid "guestfs_readlinklist"
32446 msgstr ""
32447
32448 #. type: verbatim
32449 #: ../src/guestfs-actions.pod:6394
32450 #, no-wrap
32451 msgid ""
32452 " char **\n"
32453 " guestfs_readlinklist (guestfs_h *g,\n"
32454 "                       const char *path,\n"
32455 "                       char *const *names);\n"
32456 "\n"
32457 msgstr ""
32458
32459 #. type: =head2
32460 #: ../src/guestfs-actions.pod:6427
32461 msgid "guestfs_realpath"
32462 msgstr ""
32463
32464 #. type: verbatim
32465 #: ../src/guestfs-actions.pod:6429
32466 #, no-wrap
32467 msgid ""
32468 " char *\n"
32469 " guestfs_realpath (guestfs_h *g,\n"
32470 "                   const char *path);\n"
32471 "\n"
32472 msgstr ""
32473
32474 #. type: =head2
32475 #: ../src/guestfs-actions.pod:6441
32476 msgid "guestfs_removexattr"
32477 msgstr ""
32478
32479 #. type: verbatim
32480 #: ../src/guestfs-actions.pod:6443
32481 #, no-wrap
32482 msgid ""
32483 " int\n"
32484 " guestfs_removexattr (guestfs_h *g,\n"
32485 "                      const char *xattr,\n"
32486 "                      const char *path);\n"
32487 "\n"
32488 msgstr ""
32489
32490 #. type: textblock
32491 #: ../src/guestfs-actions.pod:6451
32492 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
32493 msgstr ""
32494
32495 #. type: =head2
32496 #: ../src/guestfs-actions.pod:6457
32497 msgid "guestfs_resize2fs"
32498 msgstr ""
32499
32500 #. type: verbatim
32501 #: ../src/guestfs-actions.pod:6459
32502 #, no-wrap
32503 msgid ""
32504 " int\n"
32505 " guestfs_resize2fs (guestfs_h *g,\n"
32506 "                    const char *device);\n"
32507 "\n"
32508 msgstr ""
32509
32510 #. type: textblock
32511 #: ../src/guestfs-actions.pod:6466
32512 msgid ""
32513 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
32514 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
32515 "sometimes gives an error about this and sometimes not.  In any case, it is "
32516 "always safe to call C<guestfs_e2fsck_f> before calling this function."
32517 msgstr ""
32518
32519 #. type: =head2
32520 #: ../src/guestfs-actions.pod:6476
32521 msgid "guestfs_resize2fs_M"
32522 msgstr ""
32523
32524 #. type: verbatim
32525 #: ../src/guestfs-actions.pod:6478
32526 #, no-wrap
32527 msgid ""
32528 " int\n"
32529 " guestfs_resize2fs_M (guestfs_h *g,\n"
32530 "                      const char *device);\n"
32531 "\n"
32532 msgstr ""
32533
32534 #. type: textblock
32535 #: ../src/guestfs-actions.pod:6482
32536 msgid ""
32537 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
32538 "resized to its minimum size.  This works like the I<-M> option to the "
32539 "C<resize2fs> command."
32540 msgstr ""
32541
32542 #. type: textblock
32543 #: ../src/guestfs-actions.pod:6486
32544 msgid ""
32545 "To get the resulting size of the filesystem you should call "
32546 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values.  "
32547 "These two numbers, multiplied together, give the resulting size of the "
32548 "minimal filesystem in bytes."
32549 msgstr ""
32550
32551 #. type: =head2
32552 #: ../src/guestfs-actions.pod:6495
32553 msgid "guestfs_resize2fs_size"
32554 msgstr ""
32555
32556 #. type: verbatim
32557 #: ../src/guestfs-actions.pod:6497
32558 #, no-wrap
32559 msgid ""
32560 " int\n"
32561 " guestfs_resize2fs_size (guestfs_h *g,\n"
32562 "                         const char *device,\n"
32563 "                         int64_t size);\n"
32564 "\n"
32565 msgstr ""
32566
32567 #. type: textblock
32568 #: ../src/guestfs-actions.pod:6502
32569 msgid ""
32570 "This command is the same as C<guestfs_resize2fs> except that it allows you "
32571 "to specify the new size (in bytes) explicitly."
32572 msgstr ""
32573
32574 #. type: =head2
32575 #: ../src/guestfs-actions.pod:6509
32576 msgid "guestfs_rm"
32577 msgstr ""
32578
32579 #. type: verbatim
32580 #: ../src/guestfs-actions.pod:6511
32581 #, no-wrap
32582 msgid ""
32583 " int\n"
32584 " guestfs_rm (guestfs_h *g,\n"
32585 "             const char *path);\n"
32586 "\n"
32587 msgstr ""
32588
32589 #. type: =head2
32590 #: ../src/guestfs-actions.pod:6521
32591 msgid "guestfs_rm_rf"
32592 msgstr ""
32593
32594 #. type: verbatim
32595 #: ../src/guestfs-actions.pod:6523
32596 #, no-wrap
32597 msgid ""
32598 " int\n"
32599 " guestfs_rm_rf (guestfs_h *g,\n"
32600 "                const char *path);\n"
32601 "\n"
32602 msgstr ""
32603
32604 #. type: =head2
32605 #: ../src/guestfs-actions.pod:6535
32606 msgid "guestfs_rmdir"
32607 msgstr ""
32608
32609 #. type: verbatim
32610 #: ../src/guestfs-actions.pod:6537
32611 #, no-wrap
32612 msgid ""
32613 " int\n"
32614 " guestfs_rmdir (guestfs_h *g,\n"
32615 "                const char *path);\n"
32616 "\n"
32617 msgstr ""
32618
32619 #. type: =head2
32620 #: ../src/guestfs-actions.pod:6547
32621 msgid "guestfs_rmmountpoint"
32622 msgstr ""
32623
32624 #. type: verbatim
32625 #: ../src/guestfs-actions.pod:6549
32626 #, no-wrap
32627 msgid ""
32628 " int\n"
32629 " guestfs_rmmountpoint (guestfs_h *g,\n"
32630 "                       const char *exemptpath);\n"
32631 "\n"
32632 msgstr ""
32633
32634 #. type: textblock
32635 #: ../src/guestfs-actions.pod:6553
32636 msgid ""
32637 "This calls removes a mountpoint that was previously created with "
32638 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
32639 msgstr ""
32640
32641 #. type: =head2
32642 #: ../src/guestfs-actions.pod:6561
32643 msgid "guestfs_scrub_device"
32644 msgstr ""
32645
32646 #. type: verbatim
32647 #: ../src/guestfs-actions.pod:6563
32648 #, no-wrap
32649 msgid ""
32650 " int\n"
32651 " guestfs_scrub_device (guestfs_h *g,\n"
32652 "                       const char *device);\n"
32653 "\n"
32654 msgstr ""
32655
32656 #. type: textblock
32657 #: ../src/guestfs-actions.pod:6575 ../src/guestfs-actions.pod:6593
32658 #: ../src/guestfs-actions.pod:6612
32659 msgid "(Added in 1.0.52)"
32660 msgstr "(Додано у 1.0.52)"
32661
32662 #. type: =head2
32663 #: ../src/guestfs-actions.pod:6577
32664 msgid "guestfs_scrub_file"
32665 msgstr ""
32666
32667 #. type: verbatim
32668 #: ../src/guestfs-actions.pod:6579
32669 #, no-wrap
32670 msgid ""
32671 " int\n"
32672 " guestfs_scrub_file (guestfs_h *g,\n"
32673 "                     const char *file);\n"
32674 "\n"
32675 msgstr ""
32676
32677 #. type: =head2
32678 #: ../src/guestfs-actions.pod:6595
32679 msgid "guestfs_scrub_freespace"
32680 msgstr ""
32681
32682 #. type: verbatim
32683 #: ../src/guestfs-actions.pod:6597
32684 #, no-wrap
32685 msgid ""
32686 " int\n"
32687 " guestfs_scrub_freespace (guestfs_h *g,\n"
32688 "                          const char *dir);\n"
32689 "\n"
32690 msgstr ""
32691
32692 #. type: textblock
32693 #: ../src/guestfs-actions.pod:6601
32694 msgid ""
32695 "This command creates the directory C<dir> and then fills it with files until "
32696 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
32697 "and deletes them.  The intention is to scrub any free space on the partition "
32698 "containing C<dir>."
32699 msgstr ""
32700
32701 #. type: =head2
32702 #: ../src/guestfs-actions.pod:6614
32703 msgid "guestfs_set_append"
32704 msgstr ""
32705
32706 #. type: verbatim
32707 #: ../src/guestfs-actions.pod:6616
32708 #, no-wrap
32709 msgid ""
32710 " int\n"
32711 " guestfs_set_append (guestfs_h *g,\n"
32712 "                     const char *append);\n"
32713 "\n"
32714 msgstr ""
32715
32716 #. type: =head2
32717 #: ../src/guestfs-actions.pod:6633
32718 msgid "guestfs_set_attach_method"
32719 msgstr ""
32720
32721 #. type: verbatim
32722 #: ../src/guestfs-actions.pod:6635
32723 #, no-wrap
32724 msgid ""
32725 " int\n"
32726 " guestfs_set_attach_method (guestfs_h *g,\n"
32727 "                            const char *attachmethod);\n"
32728 "\n"
32729 msgstr ""
32730
32731 #. type: =head2
32732 #: ../src/guestfs-actions.pod:6663
32733 msgid "guestfs_set_autosync"
32734 msgstr ""
32735
32736 #. type: verbatim
32737 #: ../src/guestfs-actions.pod:6665
32738 #, no-wrap
32739 msgid ""
32740 " int\n"
32741 " guestfs_set_autosync (guestfs_h *g,\n"
32742 "                       int autosync);\n"
32743 "\n"
32744 msgstr ""
32745
32746 #. type: =head2
32747 #: ../src/guestfs-actions.pod:6681
32748 msgid "guestfs_set_direct"
32749 msgstr ""
32750
32751 #. type: verbatim
32752 #: ../src/guestfs-actions.pod:6683
32753 #, no-wrap
32754 msgid ""
32755 " int\n"
32756 " guestfs_set_direct (guestfs_h *g,\n"
32757 "                     int direct);\n"
32758 "\n"
32759 msgstr ""
32760
32761 #. type: textblock
32762 #: ../src/guestfs-actions.pod:6691
32763 msgid ""
32764 "One consequence of this is that log messages aren't caught by the library "
32765 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
32766 "stdout."
32767 msgstr ""
32768
32769 #. type: =head2
32770 #: ../src/guestfs-actions.pod:6704
32771 msgid "guestfs_set_e2label"
32772 msgstr ""
32773
32774 #. type: verbatim
32775 #: ../src/guestfs-actions.pod:6706
32776 #, no-wrap
32777 msgid ""
32778 " int\n"
32779 " guestfs_set_e2label (guestfs_h *g,\n"
32780 "                      const char *device,\n"
32781 "                      const char *label);\n"
32782 "\n"
32783 msgstr ""
32784
32785 #. type: textblock
32786 #: ../src/guestfs-actions.pod:6715
32787 msgid ""
32788 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
32789 "the existing label on a filesystem."
32790 msgstr ""
32791
32792 #. type: =head2
32793 #: ../src/guestfs-actions.pod:6722
32794 msgid "guestfs_set_e2uuid"
32795 msgstr ""
32796
32797 #. type: verbatim
32798 #: ../src/guestfs-actions.pod:6724
32799 #, no-wrap
32800 msgid ""
32801 " int\n"
32802 " guestfs_set_e2uuid (guestfs_h *g,\n"
32803 "                     const char *device,\n"
32804 "                     const char *uuid);\n"
32805 "\n"
32806 msgstr ""
32807
32808 #. type: textblock
32809 #: ../src/guestfs-actions.pod:6734
32810 msgid ""
32811 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
32812 "the existing UUID of a filesystem."
32813 msgstr ""
32814
32815 #. type: =head2
32816 #: ../src/guestfs-actions.pod:6741
32817 msgid "guestfs_set_memsize"
32818 msgstr ""
32819
32820 #. type: verbatim
32821 #: ../src/guestfs-actions.pod:6743
32822 #, no-wrap
32823 msgid ""
32824 " int\n"
32825 " guestfs_set_memsize (guestfs_h *g,\n"
32826 "                      int memsize);\n"
32827 "\n"
32828 msgstr ""
32829
32830 #. type: textblock
32831 #: ../src/guestfs-actions.pod:6747
32832 msgid ""
32833 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
32834 "This only has any effect if called before C<guestfs_launch>."
32835 msgstr ""
32836
32837 #. type: =head2
32838 #: ../src/guestfs-actions.pod:6762
32839 msgid "guestfs_set_network"
32840 msgstr ""
32841
32842 #. type: verbatim
32843 #: ../src/guestfs-actions.pod:6764
32844 #, no-wrap
32845 msgid ""
32846 " int\n"
32847 " guestfs_set_network (guestfs_h *g,\n"
32848 "                      int network);\n"
32849 "\n"
32850 msgstr ""
32851
32852 #. type: textblock
32853 #: ../src/guestfs-actions.pod:6774
32854 msgid ""
32855 "You must call this before calling C<guestfs_launch>, otherwise it has no "
32856 "effect."
32857 msgstr ""
32858
32859 #. type: =head2
32860 #: ../src/guestfs-actions.pod:6781
32861 msgid "guestfs_set_path"
32862 msgstr ""
32863
32864 #. type: verbatim
32865 #: ../src/guestfs-actions.pod:6783
32866 #, no-wrap
32867 msgid ""
32868 " int\n"
32869 " guestfs_set_path (guestfs_h *g,\n"
32870 "                   const char *searchpath);\n"
32871 "\n"
32872 msgstr ""
32873
32874 #. type: =head2
32875 #: ../src/guestfs-actions.pod:6798
32876 msgid "guestfs_set_pgroup"
32877 msgstr ""
32878
32879 #. type: verbatim
32880 #: ../src/guestfs-actions.pod:6800
32881 #, no-wrap
32882 msgid ""
32883 " int\n"
32884 " guestfs_set_pgroup (guestfs_h *g,\n"
32885 "                     int pgroup);\n"
32886 "\n"
32887 msgstr ""
32888
32889 #. type: =head2
32890 #: ../src/guestfs-actions.pod:6817
32891 msgid "guestfs_set_qemu"
32892 msgstr ""
32893
32894 #. type: verbatim
32895 #: ../src/guestfs-actions.pod:6819
32896 #, no-wrap
32897 msgid ""
32898 " int\n"
32899 " guestfs_set_qemu (guestfs_h *g,\n"
32900 "                   const char *qemu);\n"
32901 "\n"
32902 msgstr ""
32903
32904 #. type: =head2
32905 #: ../src/guestfs-actions.pod:6845
32906 msgid "guestfs_set_recovery_proc"
32907 msgstr ""
32908
32909 #. type: verbatim
32910 #: ../src/guestfs-actions.pod:6847
32911 #, no-wrap
32912 msgid ""
32913 " int\n"
32914 " guestfs_set_recovery_proc (guestfs_h *g,\n"
32915 "                            int recoveryproc);\n"
32916 "\n"
32917 msgstr ""
32918
32919 #. type: textblock
32920 #: ../src/guestfs-actions.pod:6851
32921 msgid ""
32922 "If this is called with the parameter C<false> then C<guestfs_launch> does "
32923 "not create a recovery process.  The purpose of the recovery process is to "
32924 "stop runaway qemu processes in the case where the main program aborts "
32925 "abruptly."
32926 msgstr ""
32927
32928 #. type: textblock
32929 #: ../src/guestfs-actions.pod:6856
32930 msgid ""
32931 "This only has any effect if called before C<guestfs_launch>, and the default "
32932 "is true."
32933 msgstr ""
32934
32935 #. type: =head2
32936 #: ../src/guestfs-actions.pod:6869
32937 msgid "guestfs_set_selinux"
32938 msgstr ""
32939
32940 #. type: verbatim
32941 #: ../src/guestfs-actions.pod:6871
32942 #, no-wrap
32943 msgid ""
32944 " int\n"
32945 " guestfs_set_selinux (guestfs_h *g,\n"
32946 "                      int selinux);\n"
32947 "\n"
32948 msgstr ""
32949
32950 #. type: =head2
32951 #: ../src/guestfs-actions.pod:6888
32952 msgid "guestfs_set_smp"
32953 msgstr ""
32954
32955 #. type: verbatim
32956 #: ../src/guestfs-actions.pod:6890
32957 #, no-wrap
32958 msgid ""
32959 " int\n"
32960 " guestfs_set_smp (guestfs_h *g,\n"
32961 "                  int smp);\n"
32962 "\n"
32963 msgstr ""
32964
32965 #. type: textblock
32966 #: ../src/guestfs-actions.pod:6898
32967 msgid "This function must be called before C<guestfs_launch>."
32968 msgstr ""
32969
32970 #. type: =head2
32971 #: ../src/guestfs-actions.pod:6904
32972 msgid "guestfs_set_trace"
32973 msgstr ""
32974
32975 #. type: verbatim
32976 #: ../src/guestfs-actions.pod:6906
32977 #, no-wrap
32978 msgid ""
32979 " int\n"
32980 " guestfs_set_trace (guestfs_h *g,\n"
32981 "                    int trace);\n"
32982 "\n"
32983 msgstr ""
32984
32985 #. type: textblock
32986 #: ../src/guestfs-actions.pod:6920
32987 msgid ""
32988 "Trace messages are normally sent to C<stderr>, unless you register a "
32989 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
32990 msgstr ""
32991
32992 #. type: =head2
32993 #: ../src/guestfs-actions.pod:6928
32994 msgid "guestfs_set_verbose"
32995 msgstr ""
32996
32997 #. type: verbatim
32998 #: ../src/guestfs-actions.pod:6930
32999 #, no-wrap
33000 msgid ""
33001 " int\n"
33002 " guestfs_set_verbose (guestfs_h *g,\n"
33003 "                      int verbose);\n"
33004 "\n"
33005 msgstr ""
33006
33007 #. type: textblock
33008 #: ../src/guestfs-actions.pod:6939
33009 msgid ""
33010 "Verbose messages are normally sent to C<stderr>, unless you register a "
33011 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
33012 msgstr ""
33013
33014 #. type: =head2
33015 #: ../src/guestfs-actions.pod:6947
33016 msgid "guestfs_setcon"
33017 msgstr ""
33018
33019 #. type: verbatim
33020 #: ../src/guestfs-actions.pod:6949
33021 #, no-wrap
33022 msgid ""
33023 " int\n"
33024 " guestfs_setcon (guestfs_h *g,\n"
33025 "                 const char *context);\n"
33026 "\n"
33027 msgstr ""
33028
33029 #. type: =head2
33030 #: ../src/guestfs-actions.pod:6962
33031 msgid "guestfs_setxattr"
33032 msgstr ""
33033
33034 #. type: verbatim
33035 #: ../src/guestfs-actions.pod:6964
33036 #, no-wrap
33037 msgid ""
33038 " int\n"
33039 " guestfs_setxattr (guestfs_h *g,\n"
33040 "                   const char *xattr,\n"
33041 "                   const char *val,\n"
33042 "                   int vallen,\n"
33043 "                   const char *path);\n"
33044 "\n"
33045 msgstr ""
33046
33047 #. type: textblock
33048 #: ../src/guestfs-actions.pod:6975
33049 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
33050 msgstr ""
33051
33052 #. type: =head2
33053 #: ../src/guestfs-actions.pod:6981
33054 msgid "guestfs_sfdisk"
33055 msgstr ""
33056
33057 #. type: verbatim
33058 #: ../src/guestfs-actions.pod:6983
33059 #, no-wrap
33060 msgid ""
33061 " int\n"
33062 " guestfs_sfdisk (guestfs_h *g,\n"
33063 "                 const char *device,\n"
33064 "                 int cyls,\n"
33065 "                 int heads,\n"
33066 "                 int sectors,\n"
33067 "                 char *const *lines);\n"
33068 "\n"
33069 msgstr ""
33070
33071 #. type: textblock
33072 #: ../src/guestfs-actions.pod:6991 ../src/guestfs-actions.pod:7032
33073 #: ../src/guestfs-actions.pod:7063
33074 msgid ""
33075 "I<This function is deprecated.> In new code, use the L</guestfs_part_add> "
33076 "call instead."
33077 msgstr ""
33078
33079 #. type: textblock
33080 #: ../src/guestfs-actions.pod:7018
33081 msgid ""
33082 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
33083 msgstr ""
33084
33085 #. type: =head2
33086 #: ../src/guestfs-actions.pod:7025
33087 msgid "guestfs_sfdiskM"
33088 msgstr ""
33089
33090 #. type: verbatim
33091 #: ../src/guestfs-actions.pod:7027
33092 #, no-wrap
33093 msgid ""
33094 " int\n"
33095 " guestfs_sfdiskM (guestfs_h *g,\n"
33096 "                  const char *device,\n"
33097 "                  char *const *lines);\n"
33098 "\n"
33099 msgstr ""
33100
33101 #. type: textblock
33102 #: ../src/guestfs-actions.pod:7039
33103 msgid ""
33104 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
33105 "partition sizes are specified in megabytes only (rounded to the nearest "
33106 "cylinder) and you don't need to specify the cyls, heads and sectors "
33107 "parameters which were rarely if ever used anyway."
33108 msgstr ""
33109
33110 #. type: textblock
33111 #: ../src/guestfs-actions.pod:7045
33112 msgid ""
33113 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
33114 "C<guestfs_part_disk>"
33115 msgstr ""
33116
33117 #. type: =head2
33118 #: ../src/guestfs-actions.pod:7052
33119 msgid "guestfs_sfdisk_N"
33120 msgstr ""
33121
33122 #. type: verbatim
33123 #: ../src/guestfs-actions.pod:7054
33124 #, no-wrap
33125 msgid ""
33126 " int\n"
33127 " guestfs_sfdisk_N (guestfs_h *g,\n"
33128 "                   const char *device,\n"
33129 "                   int partnum,\n"
33130 "                   int cyls,\n"
33131 "                   int heads,\n"
33132 "                   int sectors,\n"
33133 "                   const char *line);\n"
33134 "\n"
33135 msgstr ""
33136
33137 #. type: textblock
33138 #: ../src/guestfs-actions.pod:7073
33139 msgid ""
33140 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
33141 "for the cyls/heads/sectors parameters."
33142 msgstr ""
33143
33144 #. type: textblock
33145 #: ../src/guestfs-actions.pod:7076
33146 msgid "See also: C<guestfs_part_add>"
33147 msgstr ""
33148
33149 #. type: =head2
33150 #: ../src/guestfs-actions.pod:7082
33151 msgid "guestfs_sfdisk_disk_geometry"
33152 msgstr ""
33153
33154 #. type: verbatim
33155 #: ../src/guestfs-actions.pod:7084
33156 #, no-wrap
33157 msgid ""
33158 " char *\n"
33159 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
33160 "                               const char *device);\n"
33161 "\n"
33162 msgstr ""
33163
33164 #. type: textblock
33165 #: ../src/guestfs-actions.pod:7088
33166 msgid ""
33167 "This displays the disk geometry of C<device> read from the partition table.  "
33168 "Especially in the case where the underlying block device has been resized, "
33169 "this can be different from the kernel's idea of the geometry (see "
33170 "C<guestfs_sfdisk_kernel_geometry>)."
33171 msgstr ""
33172
33173 #. type: =head2
33174 #: ../src/guestfs-actions.pod:7101
33175 msgid "guestfs_sfdisk_kernel_geometry"
33176 msgstr ""
33177
33178 #. type: verbatim
33179 #: ../src/guestfs-actions.pod:7103
33180 #, no-wrap
33181 msgid ""
33182 " char *\n"
33183 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
33184 "                                 const char *device);\n"
33185 "\n"
33186 msgstr ""
33187
33188 #. type: =head2
33189 #: ../src/guestfs-actions.pod:7117
33190 msgid "guestfs_sfdisk_l"
33191 msgstr ""
33192
33193 #. type: verbatim
33194 #: ../src/guestfs-actions.pod:7119
33195 #, no-wrap
33196 msgid ""
33197 " char *\n"
33198 " guestfs_sfdisk_l (guestfs_h *g,\n"
33199 "                   const char *device);\n"
33200 "\n"
33201 msgstr ""
33202
33203 #. type: textblock
33204 #: ../src/guestfs-actions.pod:7123
33205 msgid ""
33206 "I<This function is deprecated.> In new code, use the L</guestfs_part_list> "
33207 "call instead."
33208 msgstr ""
33209
33210 #. type: textblock
33211 #: ../src/guestfs-actions.pod:7134
33212 msgid "See also: C<guestfs_part_list>"
33213 msgstr ""
33214
33215 #. type: =head2
33216 #: ../src/guestfs-actions.pod:7141
33217 msgid "guestfs_sh"
33218 msgstr ""
33219
33220 #. type: verbatim
33221 #: ../src/guestfs-actions.pod:7143
33222 #, no-wrap
33223 msgid ""
33224 " char *\n"
33225 " guestfs_sh (guestfs_h *g,\n"
33226 "             const char *command);\n"
33227 "\n"
33228 msgstr ""
33229
33230 #. type: textblock
33231 #: ../src/guestfs-actions.pod:7150
33232 msgid "This is like C<guestfs_command>, but passes the command to:"
33233 msgstr ""
33234
33235 #. type: textblock
33236 #: ../src/guestfs-actions.pod:7158
33237 msgid "All the provisos about C<guestfs_command> apply to this call."
33238 msgstr ""
33239
33240 #. type: =head2
33241 #: ../src/guestfs-actions.pod:7165
33242 msgid "guestfs_sh_lines"
33243 msgstr ""
33244
33245 #. type: verbatim
33246 #: ../src/guestfs-actions.pod:7167
33247 #, no-wrap
33248 msgid ""
33249 " char **\n"
33250 " guestfs_sh_lines (guestfs_h *g,\n"
33251 "                   const char *command);\n"
33252 "\n"
33253 msgstr ""
33254
33255 #. type: textblock
33256 #: ../src/guestfs-actions.pod:7171
33257 msgid ""
33258 "This is the same as C<guestfs_sh>, but splits the result into a list of "
33259 "lines."
33260 msgstr ""
33261
33262 #. type: textblock
33263 #: ../src/guestfs-actions.pod:7174
33264 msgid "See also: C<guestfs_command_lines>"
33265 msgstr ""
33266
33267 #. type: =head2
33268 #: ../src/guestfs-actions.pod:7182
33269 msgid "guestfs_sleep"
33270 msgstr ""
33271
33272 #. type: verbatim
33273 #: ../src/guestfs-actions.pod:7184
33274 #, no-wrap
33275 msgid ""
33276 " int\n"
33277 " guestfs_sleep (guestfs_h *g,\n"
33278 "                int secs);\n"
33279 "\n"
33280 msgstr ""
33281
33282 #. type: textblock
33283 #: ../src/guestfs-actions.pod:7192
33284 msgid "(Added in 1.0.41)"
33285 msgstr "(Додано у 1.0.41)"
33286
33287 #. type: =head2
33288 #: ../src/guestfs-actions.pod:7194 ../src/guestfs-structs.pod:109
33289 msgid "guestfs_stat"
33290 msgstr ""
33291
33292 #. type: verbatim
33293 #: ../src/guestfs-actions.pod:7196
33294 #, no-wrap
33295 msgid ""
33296 " struct guestfs_stat *\n"
33297 " guestfs_stat (guestfs_h *g,\n"
33298 "               const char *path);\n"
33299 "\n"
33300 msgstr ""
33301
33302 #. type: =head2
33303 #: ../src/guestfs-actions.pod:7210 ../src/guestfs-structs.pod:135
33304 msgid "guestfs_statvfs"
33305 msgstr ""
33306
33307 #. type: verbatim
33308 #: ../src/guestfs-actions.pod:7212
33309 #, no-wrap
33310 msgid ""
33311 " struct guestfs_statvfs *\n"
33312 " guestfs_statvfs (guestfs_h *g,\n"
33313 "                  const char *path);\n"
33314 "\n"
33315 msgstr ""
33316
33317 #. type: textblock
33318 #: ../src/guestfs-actions.pod:7222
33319 msgid ""
33320 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
33321 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
33322 msgstr ""
33323
33324 #. type: =head2
33325 #: ../src/guestfs-actions.pod:7228
33326 msgid "guestfs_strings"
33327 msgstr ""
33328
33329 #. type: verbatim
33330 #: ../src/guestfs-actions.pod:7230
33331 #, no-wrap
33332 msgid ""
33333 " char **\n"
33334 " guestfs_strings (guestfs_h *g,\n"
33335 "                  const char *path);\n"
33336 "\n"
33337 msgstr ""
33338
33339 #. type: =head2
33340 #: ../src/guestfs-actions.pod:7246
33341 msgid "guestfs_strings_e"
33342 msgstr ""
33343
33344 #. type: verbatim
33345 #: ../src/guestfs-actions.pod:7248
33346 #, no-wrap
33347 msgid ""
33348 " char **\n"
33349 " guestfs_strings_e (guestfs_h *g,\n"
33350 "                    const char *encoding,\n"
33351 "                    const char *path);\n"
33352 "\n"
33353 msgstr ""
33354
33355 #. type: textblock
33356 #: ../src/guestfs-actions.pod:7253
33357 msgid ""
33358 "This is like the C<guestfs_strings> command, but allows you to specify the "
33359 "encoding of strings that are looked for in the source file C<path>."
33360 msgstr ""
33361
33362 #. type: textblock
33363 #: ../src/guestfs-actions.pod:7263
33364 msgid ""
33365 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
33366 "ISO-8859-X (this is what C<guestfs_strings> uses)."
33367 msgstr ""
33368
33369 #. type: =head2
33370 #: ../src/guestfs-actions.pod:7301
33371 msgid "guestfs_swapoff_device"
33372 msgstr ""
33373
33374 #. type: verbatim
33375 #: ../src/guestfs-actions.pod:7303
33376 #, no-wrap
33377 msgid ""
33378 " int\n"
33379 " guestfs_swapoff_device (guestfs_h *g,\n"
33380 "                         const char *device);\n"
33381 "\n"
33382 msgstr ""
33383
33384 #. type: textblock
33385 #: ../src/guestfs-actions.pod:7307
33386 msgid ""
33387 "This command disables the libguestfs appliance swap device or partition "
33388 "named C<device>.  See C<guestfs_swapon_device>."
33389 msgstr ""
33390
33391 #. type: =head2
33392 #: ../src/guestfs-actions.pod:7315
33393 msgid "guestfs_swapoff_file"
33394 msgstr ""
33395
33396 #. type: verbatim
33397 #: ../src/guestfs-actions.pod:7317
33398 #, no-wrap
33399 msgid ""
33400 " int\n"
33401 " guestfs_swapoff_file (guestfs_h *g,\n"
33402 "                       const char *file);\n"
33403 "\n"
33404 msgstr ""
33405
33406 #. type: =head2
33407 #: ../src/guestfs-actions.pod:7327
33408 msgid "guestfs_swapoff_label"
33409 msgstr ""
33410
33411 #. type: verbatim
33412 #: ../src/guestfs-actions.pod:7329
33413 #, no-wrap
33414 msgid ""
33415 " int\n"
33416 " guestfs_swapoff_label (guestfs_h *g,\n"
33417 "                        const char *label);\n"
33418 "\n"
33419 msgstr ""
33420
33421 #. type: =head2
33422 #: ../src/guestfs-actions.pod:7340
33423 msgid "guestfs_swapoff_uuid"
33424 msgstr ""
33425
33426 #. type: verbatim
33427 #: ../src/guestfs-actions.pod:7342
33428 #, no-wrap
33429 msgid ""
33430 " int\n"
33431 " guestfs_swapoff_uuid (guestfs_h *g,\n"
33432 "                       const char *uuid);\n"
33433 "\n"
33434 msgstr ""
33435
33436 #. type: =head2
33437 #: ../src/guestfs-actions.pod:7353
33438 msgid "guestfs_swapon_device"
33439 msgstr ""
33440
33441 #. type: verbatim
33442 #: ../src/guestfs-actions.pod:7355
33443 #, no-wrap
33444 msgid ""
33445 " int\n"
33446 " guestfs_swapon_device (guestfs_h *g,\n"
33447 "                        const char *device);\n"
33448 "\n"
33449 msgstr ""
33450
33451 #. type: textblock
33452 #: ../src/guestfs-actions.pod:7359
33453 msgid ""
33454 "This command enables the libguestfs appliance to use the swap device or "
33455 "partition named C<device>.  The increased memory is made available for all "
33456 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
33457 msgstr ""
33458
33459 #. type: =head2
33460 #: ../src/guestfs-actions.pod:7375
33461 msgid "guestfs_swapon_file"
33462 msgstr ""
33463
33464 #. type: verbatim
33465 #: ../src/guestfs-actions.pod:7377
33466 #, no-wrap
33467 msgid ""
33468 " int\n"
33469 " guestfs_swapon_file (guestfs_h *g,\n"
33470 "                      const char *file);\n"
33471 "\n"
33472 msgstr ""
33473
33474 #. type: textblock
33475 #: ../src/guestfs-actions.pod:7381
33476 msgid ""
33477 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
33478 "notes."
33479 msgstr ""
33480
33481 #. type: =head2
33482 #: ../src/guestfs-actions.pod:7388
33483 msgid "guestfs_swapon_label"
33484 msgstr ""
33485
33486 #. type: verbatim
33487 #: ../src/guestfs-actions.pod:7390
33488 #, no-wrap
33489 msgid ""
33490 " int\n"
33491 " guestfs_swapon_label (guestfs_h *g,\n"
33492 "                       const char *label);\n"
33493 "\n"
33494 msgstr ""
33495
33496 #. type: textblock
33497 #: ../src/guestfs-actions.pod:7394
33498 msgid ""
33499 "This command enables swap to a labeled swap partition.  See "
33500 "C<guestfs_swapon_device> for other notes."
33501 msgstr ""
33502
33503 #. type: =head2
33504 #: ../src/guestfs-actions.pod:7401
33505 msgid "guestfs_swapon_uuid"
33506 msgstr ""
33507
33508 #. type: verbatim
33509 #: ../src/guestfs-actions.pod:7403
33510 #, no-wrap
33511 msgid ""
33512 " int\n"
33513 " guestfs_swapon_uuid (guestfs_h *g,\n"
33514 "                      const char *uuid);\n"
33515 "\n"
33516 msgstr ""
33517
33518 #. type: textblock
33519 #: ../src/guestfs-actions.pod:7407
33520 msgid ""
33521 "This command enables swap to a swap partition with the given UUID.  See "
33522 "C<guestfs_swapon_device> for other notes."
33523 msgstr ""
33524
33525 #. type: =head2
33526 #: ../src/guestfs-actions.pod:7414
33527 msgid "guestfs_sync"
33528 msgstr ""
33529
33530 #. type: verbatim
33531 #: ../src/guestfs-actions.pod:7416
33532 #, no-wrap
33533 msgid ""
33534 " int\n"
33535 " guestfs_sync (guestfs_h *g);\n"
33536 "\n"
33537 msgstr ""
33538
33539 #. type: =head2
33540 #: ../src/guestfs-actions.pod:7429
33541 msgid "guestfs_tail"
33542 msgstr ""
33543
33544 #. type: verbatim
33545 #: ../src/guestfs-actions.pod:7431
33546 #, no-wrap
33547 msgid ""
33548 " char **\n"
33549 " guestfs_tail (guestfs_h *g,\n"
33550 "               const char *path);\n"
33551 "\n"
33552 msgstr ""
33553
33554 #. type: =head2
33555 #: ../src/guestfs-actions.pod:7447
33556 msgid "guestfs_tail_n"
33557 msgstr ""
33558
33559 #. type: verbatim
33560 #: ../src/guestfs-actions.pod:7449
33561 #, no-wrap
33562 msgid ""
33563 " char **\n"
33564 " guestfs_tail_n (guestfs_h *g,\n"
33565 "                 int nrlines,\n"
33566 "                 const char *path);\n"
33567 "\n"
33568 msgstr ""
33569
33570 #. type: =head2
33571 #: ../src/guestfs-actions.pod:7471
33572 msgid "guestfs_tar_in"
33573 msgstr ""
33574
33575 #. type: verbatim
33576 #: ../src/guestfs-actions.pod:7473
33577 #, no-wrap
33578 msgid ""
33579 " int\n"
33580 " guestfs_tar_in (guestfs_h *g,\n"
33581 "                 const char *tarfile,\n"
33582 "                 const char *directory);\n"
33583 "\n"
33584 msgstr ""
33585
33586 #. type: textblock
33587 #: ../src/guestfs-actions.pod:7481
33588 msgid ""
33589 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
33590 msgstr ""
33591
33592 #. type: textblock
33593 #: ../src/guestfs-actions.pod:7486 ../src/guestfs-actions.pod:7503
33594 #: ../src/guestfs-actions.pod:7519 ../src/guestfs-actions.pod:7535
33595 msgid "(Added in 1.0.3)"
33596 msgstr "(Додано у 1.0.3)"
33597
33598 #. type: =head2
33599 #: ../src/guestfs-actions.pod:7488
33600 msgid "guestfs_tar_out"
33601 msgstr ""
33602
33603 #. type: verbatim
33604 #: ../src/guestfs-actions.pod:7490
33605 #, no-wrap
33606 msgid ""
33607 " int\n"
33608 " guestfs_tar_out (guestfs_h *g,\n"
33609 "                  const char *directory,\n"
33610 "                  const char *tarfile);\n"
33611 "\n"
33612 msgstr ""
33613
33614 #. type: textblock
33615 #: ../src/guestfs-actions.pod:7498
33616 msgid ""
33617 "To download a compressed tarball, use C<guestfs_tgz_out> or "
33618 "C<guestfs_txz_out>."
33619 msgstr ""
33620
33621 #. type: =head2
33622 #: ../src/guestfs-actions.pod:7505
33623 msgid "guestfs_tgz_in"
33624 msgstr ""
33625
33626 #. type: verbatim
33627 #: ../src/guestfs-actions.pod:7507
33628 #, no-wrap
33629 msgid ""
33630 " int\n"
33631 " guestfs_tgz_in (guestfs_h *g,\n"
33632 "                 const char *tarball,\n"
33633 "                 const char *directory);\n"
33634 "\n"
33635 msgstr ""
33636
33637 #. type: textblock
33638 #: ../src/guestfs-actions.pod:7515
33639 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
33640 msgstr ""
33641
33642 #. type: =head2
33643 #: ../src/guestfs-actions.pod:7521
33644 msgid "guestfs_tgz_out"
33645 msgstr ""
33646
33647 #. type: verbatim
33648 #: ../src/guestfs-actions.pod:7523
33649 #, no-wrap
33650 msgid ""
33651 " int\n"
33652 " guestfs_tgz_out (guestfs_h *g,\n"
33653 "                  const char *directory,\n"
33654 "                  const char *tarball);\n"
33655 "\n"
33656 msgstr ""
33657
33658 #. type: textblock
33659 #: ../src/guestfs-actions.pod:7531
33660 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
33661 msgstr ""
33662
33663 #. type: =head2
33664 #: ../src/guestfs-actions.pod:7537
33665 msgid "guestfs_touch"
33666 msgstr ""
33667
33668 #. type: verbatim
33669 #: ../src/guestfs-actions.pod:7539
33670 #, no-wrap
33671 msgid ""
33672 " int\n"
33673 " guestfs_touch (guestfs_h *g,\n"
33674 "                const char *path);\n"
33675 "\n"
33676 msgstr ""
33677
33678 #. type: =head2
33679 #: ../src/guestfs-actions.pod:7554
33680 msgid "guestfs_truncate"
33681 msgstr ""
33682
33683 #. type: verbatim
33684 #: ../src/guestfs-actions.pod:7556
33685 #, no-wrap
33686 msgid ""
33687 " int\n"
33688 " guestfs_truncate (guestfs_h *g,\n"
33689 "                   const char *path);\n"
33690 "\n"
33691 msgstr ""
33692
33693 #. type: =head2
33694 #: ../src/guestfs-actions.pod:7567
33695 msgid "guestfs_truncate_size"
33696 msgstr ""
33697
33698 #. type: verbatim
33699 #: ../src/guestfs-actions.pod:7569
33700 #, no-wrap
33701 msgid ""
33702 " int\n"
33703 " guestfs_truncate_size (guestfs_h *g,\n"
33704 "                        const char *path,\n"
33705 "                        int64_t size);\n"
33706 "\n"
33707 msgstr ""
33708
33709 #. type: textblock
33710 #: ../src/guestfs-actions.pod:7577
33711 msgid ""
33712 "If the current file size is less than C<size> then the file is extended to "
33713 "the required size with zero bytes.  This creates a sparse file (ie. disk "
33714 "blocks are not allocated for the file until you write to it).  To create a "
33715 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
33716 msgstr ""
33717
33718 #. type: =head2
33719 #: ../src/guestfs-actions.pod:7587
33720 msgid "guestfs_tune2fs_l"
33721 msgstr ""
33722
33723 #. type: verbatim
33724 #: ../src/guestfs-actions.pod:7589
33725 #, no-wrap
33726 msgid ""
33727 " char **\n"
33728 " guestfs_tune2fs_l (guestfs_h *g,\n"
33729 "                    const char *device);\n"
33730 "\n"
33731 msgstr ""
33732
33733 #. type: =head2
33734 #: ../src/guestfs-actions.pod:7609
33735 msgid "guestfs_txz_in"
33736 msgstr ""
33737
33738 #. type: verbatim
33739 #: ../src/guestfs-actions.pod:7611
33740 #, no-wrap
33741 msgid ""
33742 " int\n"
33743 " guestfs_txz_in (guestfs_h *g,\n"
33744 "                 const char *tarball,\n"
33745 "                 const char *directory);\n"
33746 "\n"
33747 msgstr ""
33748
33749 #. type: =head2
33750 #: ../src/guestfs-actions.pod:7623
33751 msgid "guestfs_txz_out"
33752 msgstr ""
33753
33754 #. type: verbatim
33755 #: ../src/guestfs-actions.pod:7625
33756 #, no-wrap
33757 msgid ""
33758 " int\n"
33759 " guestfs_txz_out (guestfs_h *g,\n"
33760 "                  const char *directory,\n"
33761 "                  const char *tarball);\n"
33762 "\n"
33763 msgstr ""
33764
33765 #. type: =head2
33766 #: ../src/guestfs-actions.pod:7637
33767 msgid "guestfs_umask"
33768 msgstr ""
33769
33770 #. type: verbatim
33771 #: ../src/guestfs-actions.pod:7639
33772 #, no-wrap
33773 msgid ""
33774 " int\n"
33775 " guestfs_umask (guestfs_h *g,\n"
33776 "                int mask);\n"
33777 "\n"
33778 msgstr ""
33779
33780 #. type: textblock
33781 #: ../src/guestfs-actions.pod:7655
33782 msgid ""
33783 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
33784 "C<guestfs_mkdir>."
33785 msgstr ""
33786
33787 #. type: =head2
33788 #: ../src/guestfs-actions.pod:7664
33789 msgid "guestfs_umount"
33790 msgstr ""
33791
33792 #. type: verbatim
33793 #: ../src/guestfs-actions.pod:7666
33794 #, no-wrap
33795 msgid ""
33796 " int\n"
33797 " guestfs_umount (guestfs_h *g,\n"
33798 "                 const char *pathordevice);\n"
33799 "\n"
33800 msgstr ""
33801
33802 #. type: =head2
33803 #: ../src/guestfs-actions.pod:7678
33804 msgid "guestfs_umount_all"
33805 msgstr ""
33806
33807 #. type: verbatim
33808 #: ../src/guestfs-actions.pod:7680
33809 #, no-wrap
33810 msgid ""
33811 " int\n"
33812 " guestfs_umount_all (guestfs_h *g);\n"
33813 "\n"
33814 msgstr ""
33815
33816 #. type: =head2
33817 #: ../src/guestfs-actions.pod:7691
33818 msgid "guestfs_upload"
33819 msgstr ""
33820
33821 #. type: verbatim
33822 #: ../src/guestfs-actions.pod:7693
33823 #, no-wrap
33824 msgid ""
33825 " int\n"
33826 " guestfs_upload (guestfs_h *g,\n"
33827 "                 const char *filename,\n"
33828 "                 const char *remotefilename);\n"
33829 "\n"
33830 msgstr ""
33831
33832 #. type: textblock
33833 #: ../src/guestfs-actions.pod:7703
33834 msgid "See also C<guestfs_download>."
33835 msgstr ""
33836
33837 #. type: =head2
33838 #: ../src/guestfs-actions.pod:7714
33839 msgid "guestfs_upload_offset"
33840 msgstr ""
33841
33842 #. type: verbatim
33843 #: ../src/guestfs-actions.pod:7716
33844 #, no-wrap
33845 msgid ""
33846 " int\n"
33847 " guestfs_upload_offset (guestfs_h *g,\n"
33848 "                        const char *filename,\n"
33849 "                        const char *remotefilename,\n"
33850 "                        int64_t offset);\n"
33851 "\n"
33852 msgstr ""
33853
33854 #. type: textblock
33855 #: ../src/guestfs-actions.pod:7732
33856 msgid ""
33857 "Note that there is no limit on the amount of data that can be uploaded with "
33858 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
33859 "full amount unless an error occurs."
33860 msgstr ""
33861
33862 #. type: textblock
33863 #: ../src/guestfs-actions.pod:7737
33864 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
33865 msgstr ""
33866
33867 #. type: =head2
33868 #: ../src/guestfs-actions.pod:7748
33869 msgid "guestfs_utimens"
33870 msgstr ""
33871
33872 #. type: verbatim
33873 #: ../src/guestfs-actions.pod:7750
33874 #, no-wrap
33875 msgid ""
33876 " int\n"
33877 " guestfs_utimens (guestfs_h *g,\n"
33878 "                  const char *path,\n"
33879 "                  int64_t atsecs,\n"
33880 "                  int64_t atnsecs,\n"
33881 "                  int64_t mtsecs,\n"
33882 "                  int64_t mtnsecs);\n"
33883 "\n"
33884 msgstr ""
33885
33886 #. type: =head2
33887 #: ../src/guestfs-actions.pod:7779 ../src/guestfs-structs.pod:175
33888 msgid "guestfs_version"
33889 msgstr ""
33890
33891 #. type: verbatim
33892 #: ../src/guestfs-actions.pod:7781
33893 #, no-wrap
33894 msgid ""
33895 " struct guestfs_version *\n"
33896 " guestfs_version (guestfs_h *g);\n"
33897 "\n"
33898 msgstr ""
33899
33900 #. type: textblock
33901 #: ../src/guestfs-actions.pod:7809
33902 msgid ""
33903 "I<Note:> Don't use this call to test for availability of features.  In "
33904 "enterprise distributions we backport features from later versions into "
33905 "earlier versions, making this an unreliable way to test for features.  Use "
33906 "C<guestfs_available> instead."
33907 msgstr ""
33908
33909 #. type: textblock
33910 #: ../src/guestfs-actions.pod:7815
33911 msgid ""
33912 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
33913 "error.  I<The caller must call C<guestfs_free_version> after use>."
33914 msgstr ""
33915
33916 #. type: textblock
33917 #: ../src/guestfs-actions.pod:7819
33918 msgid "(Added in 1.0.58)"
33919 msgstr "(Додано у 1.0.58)"
33920
33921 #. type: =head2
33922 #: ../src/guestfs-actions.pod:7821
33923 msgid "guestfs_vfs_label"
33924 msgstr ""
33925
33926 #. type: verbatim
33927 #: ../src/guestfs-actions.pod:7823
33928 #, no-wrap
33929 msgid ""
33930 " char *\n"
33931 " guestfs_vfs_label (guestfs_h *g,\n"
33932 "                    const char *device);\n"
33933 "\n"
33934 msgstr ""
33935
33936 #. type: textblock
33937 #: ../src/guestfs-actions.pod:7832
33938 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
33939 msgstr ""
33940
33941 #. type: textblock
33942 #: ../src/guestfs-actions.pod:7837 ../src/guestfs-actions.pod:7874
33943 msgid "(Added in 1.3.18)"
33944 msgstr "(Додано у 1.3.18)"
33945
33946 #. type: =head2
33947 #: ../src/guestfs-actions.pod:7839
33948 msgid "guestfs_vfs_type"
33949 msgstr ""
33950
33951 #. type: verbatim
33952 #: ../src/guestfs-actions.pod:7841
33953 #, no-wrap
33954 msgid ""
33955 " char *\n"
33956 " guestfs_vfs_type (guestfs_h *g,\n"
33957 "                   const char *device);\n"
33958 "\n"
33959 msgstr ""
33960
33961 #. type: =head2
33962 #: ../src/guestfs-actions.pod:7858
33963 msgid "guestfs_vfs_uuid"
33964 msgstr ""
33965
33966 #. type: verbatim
33967 #: ../src/guestfs-actions.pod:7860
33968 #, no-wrap
33969 msgid ""
33970 " char *\n"
33971 " guestfs_vfs_uuid (guestfs_h *g,\n"
33972 "                   const char *device);\n"
33973 "\n"
33974 msgstr ""
33975
33976 #. type: textblock
33977 #: ../src/guestfs-actions.pod:7869
33978 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
33979 msgstr ""
33980
33981 #. type: =head2
33982 #: ../src/guestfs-actions.pod:7876
33983 msgid "guestfs_vg_activate"
33984 msgstr ""
33985
33986 #. type: verbatim
33987 #: ../src/guestfs-actions.pod:7878
33988 #, no-wrap
33989 msgid ""
33990 " int\n"
33991 " guestfs_vg_activate (guestfs_h *g,\n"
33992 "                      int activate,\n"
33993 "                      char *const *volgroups);\n"
33994 "\n"
33995 msgstr ""
33996
33997 #. type: =head2
33998 #: ../src/guestfs-actions.pod:7895
33999 msgid "guestfs_vg_activate_all"
34000 msgstr ""
34001
34002 #. type: verbatim
34003 #: ../src/guestfs-actions.pod:7897
34004 #, no-wrap
34005 msgid ""
34006 " int\n"
34007 " guestfs_vg_activate_all (guestfs_h *g,\n"
34008 "                          int activate);\n"
34009 "\n"
34010 msgstr ""
34011
34012 #. type: =head2
34013 #: ../src/guestfs-actions.pod:7910
34014 msgid "guestfs_vgcreate"
34015 msgstr ""
34016
34017 #. type: verbatim
34018 #: ../src/guestfs-actions.pod:7912
34019 #, no-wrap
34020 msgid ""
34021 " int\n"
34022 " guestfs_vgcreate (guestfs_h *g,\n"
34023 "                   const char *volgroup,\n"
34024 "                   char *const *physvols);\n"
34025 "\n"
34026 msgstr ""
34027
34028 #. type: =head2
34029 #: ../src/guestfs-actions.pod:7924
34030 msgid "guestfs_vglvuuids"
34031 msgstr ""
34032
34033 #. type: verbatim
34034 #: ../src/guestfs-actions.pod:7926
34035 #, no-wrap
34036 msgid ""
34037 " char **\n"
34038 " guestfs_vglvuuids (guestfs_h *g,\n"
34039 "                    const char *vgname);\n"
34040 "\n"
34041 msgstr ""
34042
34043 #. type: textblock
34044 #: ../src/guestfs-actions.pod:7933
34045 msgid ""
34046 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
34047 "associate logical volumes and volume groups."
34048 msgstr ""
34049
34050 #. type: textblock
34051 #: ../src/guestfs-actions.pod:7936
34052 msgid "See also C<guestfs_vgpvuuids>."
34053 msgstr ""
34054
34055 #. type: =head2
34056 #: ../src/guestfs-actions.pod:7944
34057 msgid "guestfs_vgpvuuids"
34058 msgstr ""
34059
34060 #. type: verbatim
34061 #: ../src/guestfs-actions.pod:7946
34062 #, no-wrap
34063 msgid ""
34064 " char **\n"
34065 " guestfs_vgpvuuids (guestfs_h *g,\n"
34066 "                    const char *vgname);\n"
34067 "\n"
34068 msgstr ""
34069
34070 #. type: textblock
34071 #: ../src/guestfs-actions.pod:7953
34072 msgid ""
34073 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
34074 "associate physical volumes and volume groups."
34075 msgstr ""
34076
34077 #. type: textblock
34078 #: ../src/guestfs-actions.pod:7956
34079 msgid "See also C<guestfs_vglvuuids>."
34080 msgstr ""
34081
34082 #. type: =head2
34083 #: ../src/guestfs-actions.pod:7964
34084 msgid "guestfs_vgremove"
34085 msgstr ""
34086
34087 #. type: verbatim
34088 #: ../src/guestfs-actions.pod:7966
34089 #, no-wrap
34090 msgid ""
34091 " int\n"
34092 " guestfs_vgremove (guestfs_h *g,\n"
34093 "                   const char *vgname);\n"
34094 "\n"
34095 msgstr ""
34096
34097 #. type: =head2
34098 #: ../src/guestfs-actions.pod:7979
34099 msgid "guestfs_vgrename"
34100 msgstr ""
34101
34102 #. type: verbatim
34103 #: ../src/guestfs-actions.pod:7981
34104 #, no-wrap
34105 msgid ""
34106 " int\n"
34107 " guestfs_vgrename (guestfs_h *g,\n"
34108 "                   const char *volgroup,\n"
34109 "                   const char *newvolgroup);\n"
34110 "\n"
34111 msgstr ""
34112
34113 #. type: =head2
34114 #: ../src/guestfs-actions.pod:7992
34115 msgid "guestfs_vgs"
34116 msgstr ""
34117
34118 #. type: verbatim
34119 #: ../src/guestfs-actions.pod:7994
34120 #, no-wrap
34121 msgid ""
34122 " char **\n"
34123 " guestfs_vgs (guestfs_h *g);\n"
34124 "\n"
34125 msgstr ""
34126
34127 #. type: textblock
34128 #: ../src/guestfs-actions.pod:8003
34129 msgid "See also C<guestfs_vgs_full>."
34130 msgstr ""
34131
34132 #. type: =head2
34133 #: ../src/guestfs-actions.pod:8011
34134 msgid "guestfs_vgs_full"
34135 msgstr ""
34136
34137 #. type: verbatim
34138 #: ../src/guestfs-actions.pod:8013
34139 #, no-wrap
34140 msgid ""
34141 " struct guestfs_lvm_vg_list *\n"
34142 " guestfs_vgs_full (guestfs_h *g);\n"
34143 "\n"
34144 msgstr ""
34145
34146 #. type: textblock
34147 #: ../src/guestfs-actions.pod:8019
34148 msgid ""
34149 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
34150 "was an error.  I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
34151 msgstr ""
34152
34153 #. type: =head2
34154 #: ../src/guestfs-actions.pod:8025
34155 msgid "guestfs_vgscan"
34156 msgstr ""
34157
34158 #. type: verbatim
34159 #: ../src/guestfs-actions.pod:8027
34160 #, no-wrap
34161 msgid ""
34162 " int\n"
34163 " guestfs_vgscan (guestfs_h *g);\n"
34164 "\n"
34165 msgstr ""
34166
34167 #. type: =head2
34168 #: ../src/guestfs-actions.pod:8037
34169 msgid "guestfs_vguuid"
34170 msgstr ""
34171
34172 #. type: verbatim
34173 #: ../src/guestfs-actions.pod:8039
34174 #, no-wrap
34175 msgid ""
34176 " char *\n"
34177 " guestfs_vguuid (guestfs_h *g,\n"
34178 "                 const char *vgname);\n"
34179 "\n"
34180 msgstr ""
34181
34182 #. type: =head2
34183 #: ../src/guestfs-actions.pod:8050
34184 msgid "guestfs_wait_ready"
34185 msgstr ""
34186
34187 #. type: verbatim
34188 #: ../src/guestfs-actions.pod:8052
34189 #, no-wrap
34190 msgid ""
34191 " int\n"
34192 " guestfs_wait_ready (guestfs_h *g);\n"
34193 "\n"
34194 msgstr ""
34195
34196 #. type: textblock
34197 #: ../src/guestfs-actions.pod:8055
34198 msgid ""
34199 "I<This function is deprecated.> In new code, use the L</guestfs_launch> call "
34200 "instead."
34201 msgstr ""
34202
34203 #. type: textblock
34204 #: ../src/guestfs-actions.pod:8062
34205 msgid "This function is a no op."
34206 msgstr ""
34207
34208 #. type: textblock
34209 #: ../src/guestfs-actions.pod:8064
34210 msgid ""
34211 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
34212 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
34213 "is no longer necessary because C<guestfs_launch> now does the waiting."
34214 msgstr ""
34215
34216 #. type: textblock
34217 #: ../src/guestfs-actions.pod:8069
34218 msgid ""
34219 "If you see any calls to this function in code then you can just remove them, "
34220 "unless you want to retain compatibility with older versions of the API."
34221 msgstr ""
34222
34223 #. type: =head2
34224 #: ../src/guestfs-actions.pod:8077
34225 msgid "guestfs_wc_c"
34226 msgstr ""
34227
34228 #. type: verbatim
34229 #: ../src/guestfs-actions.pod:8079
34230 #, no-wrap
34231 msgid ""
34232 " int\n"
34233 " guestfs_wc_c (guestfs_h *g,\n"
34234 "               const char *path);\n"
34235 "\n"
34236 msgstr ""
34237
34238 #. type: =head2
34239 #: ../src/guestfs-actions.pod:8090
34240 msgid "guestfs_wc_l"
34241 msgstr ""
34242
34243 #. type: verbatim
34244 #: ../src/guestfs-actions.pod:8092
34245 #, no-wrap
34246 msgid ""
34247 " int\n"
34248 " guestfs_wc_l (guestfs_h *g,\n"
34249 "               const char *path);\n"
34250 "\n"
34251 msgstr ""
34252
34253 #. type: =head2
34254 #: ../src/guestfs-actions.pod:8103
34255 msgid "guestfs_wc_w"
34256 msgstr ""
34257
34258 #. type: verbatim
34259 #: ../src/guestfs-actions.pod:8105
34260 #, no-wrap
34261 msgid ""
34262 " int\n"
34263 " guestfs_wc_w (guestfs_h *g,\n"
34264 "               const char *path);\n"
34265 "\n"
34266 msgstr ""
34267
34268 #. type: =head2
34269 #: ../src/guestfs-actions.pod:8116
34270 msgid "guestfs_write"
34271 msgstr ""
34272
34273 #. type: verbatim
34274 #: ../src/guestfs-actions.pod:8118
34275 #, no-wrap
34276 msgid ""
34277 " int\n"
34278 " guestfs_write (guestfs_h *g,\n"
34279 "                const char *path,\n"
34280 "                const char *content,\n"
34281 "                size_t content_size);\n"
34282 "\n"
34283 msgstr ""
34284
34285 #. type: textblock
34286 #: ../src/guestfs-actions.pod:8127
34287 msgid "See also C<guestfs_write_append>."
34288 msgstr ""
34289
34290 #. type: =head2
34291 #: ../src/guestfs-actions.pod:8136
34292 msgid "guestfs_write_append"
34293 msgstr ""
34294
34295 #. type: verbatim
34296 #: ../src/guestfs-actions.pod:8138
34297 #, no-wrap
34298 msgid ""
34299 " int\n"
34300 " guestfs_write_append (guestfs_h *g,\n"
34301 "                       const char *path,\n"
34302 "                       const char *content,\n"
34303 "                       size_t content_size);\n"
34304 "\n"
34305 msgstr ""
34306
34307 #. type: textblock
34308 #: ../src/guestfs-actions.pod:8147
34309 msgid "See also C<guestfs_write>."
34310 msgstr ""
34311
34312 #. type: =head2
34313 #: ../src/guestfs-actions.pod:8156
34314 msgid "guestfs_write_file"
34315 msgstr "guestfs_write_file"
34316
34317 #. type: verbatim
34318 #: ../src/guestfs-actions.pod:8158
34319 #, no-wrap
34320 msgid ""
34321 " int\n"
34322 " guestfs_write_file (guestfs_h *g,\n"
34323 "                     const char *path,\n"
34324 "                     const char *content,\n"
34325 "                     int size);\n"
34326 "\n"
34327 msgstr ""
34328 " int\n"
34329 " guestfs_write_file (guestfs_h *g,\n"
34330 "                     const char *path,\n"
34331 "                     const char *content,\n"
34332 "                     int size);\n"
34333 "\n"
34334
34335 #. type: textblock
34336 #: ../src/guestfs-actions.pod:8164
34337 msgid ""
34338 "I<This function is deprecated.> In new code, use the L</guestfs_write> call "
34339 "instead."
34340 msgstr ""
34341
34342 #. type: =head2
34343 #: ../src/guestfs-actions.pod:8189
34344 msgid "guestfs_zegrep"
34345 msgstr "guestfs_zegrep"
34346
34347 #. type: verbatim
34348 #: ../src/guestfs-actions.pod:8191
34349 #, no-wrap
34350 msgid ""
34351 " char **\n"
34352 " guestfs_zegrep (guestfs_h *g,\n"
34353 "                 const char *regex,\n"
34354 "                 const char *path);\n"
34355 "\n"
34356 msgstr ""
34357 " char **\n"
34358 " guestfs_zegrep (guestfs_h *g,\n"
34359 "                 const char *regex,\n"
34360 "                 const char *path);\n"
34361 "\n"
34362
34363 #. type: =head2
34364 #: ../src/guestfs-actions.pod:8208
34365 msgid "guestfs_zegrepi"
34366 msgstr "guestfs_zegrepi"
34367
34368 #. type: verbatim
34369 #: ../src/guestfs-actions.pod:8210
34370 #, no-wrap
34371 msgid ""
34372 " char **\n"
34373 " guestfs_zegrepi (guestfs_h *g,\n"
34374 "                  const char *regex,\n"
34375 "                  const char *path);\n"
34376 "\n"
34377 msgstr ""
34378 " char **\n"
34379 " guestfs_zegrepi (guestfs_h *g,\n"
34380 "                  const char *regex,\n"
34381 "                  const char *path);\n"
34382 "\n"
34383
34384 #. type: =head2
34385 #: ../src/guestfs-actions.pod:8227
34386 msgid "guestfs_zero"
34387 msgstr "guestfs_zero"
34388
34389 #. type: verbatim
34390 #: ../src/guestfs-actions.pod:8229
34391 #, no-wrap
34392 msgid ""
34393 " int\n"
34394 " guestfs_zero (guestfs_h *g,\n"
34395 "               const char *device);\n"
34396 "\n"
34397 msgstr ""
34398 " int\n"
34399 " guestfs_zero (guestfs_h *g,\n"
34400 "               const char *device);\n"
34401 "\n"
34402
34403 #. type: textblock
34404 #: ../src/guestfs-actions.pod:8243
34405 msgid ""
34406 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
34407 "C<guestfs_is_zero_device>"
34408 msgstr ""
34409
34410 #. type: =head2
34411 #: ../src/guestfs-actions.pod:8255
34412 msgid "guestfs_zero_device"
34413 msgstr "guestfs_zero_device"
34414
34415 #. type: verbatim
34416 #: ../src/guestfs-actions.pod:8257
34417 #, no-wrap
34418 msgid ""
34419 " int\n"
34420 " guestfs_zero_device (guestfs_h *g,\n"
34421 "                      const char *device);\n"
34422 "\n"
34423 msgstr ""
34424 " int\n"
34425 " guestfs_zero_device (guestfs_h *g,\n"
34426 "                      const char *device);\n"
34427 "\n"
34428
34429 #. type: textblock
34430 #: ../src/guestfs-actions.pod:8261
34431 msgid ""
34432 "This command writes zeroes over the entire C<device>.  Compare with "
34433 "C<guestfs_zero> which just zeroes the first few blocks of a device."
34434 msgstr ""
34435
34436 #. type: textblock
34437 #: ../src/guestfs-actions.pod:8276
34438 msgid "(Added in 1.3.1)"
34439 msgstr "(Додано у 1.3.1)"
34440
34441 #. type: =head2
34442 #: ../src/guestfs-actions.pod:8278
34443 msgid "guestfs_zerofree"
34444 msgstr "guestfs_zerofree"
34445
34446 #. type: verbatim
34447 #: ../src/guestfs-actions.pod:8280
34448 #, no-wrap
34449 msgid ""
34450 " int\n"
34451 " guestfs_zerofree (guestfs_h *g,\n"
34452 "                   const char *device);\n"
34453 "\n"
34454 msgstr ""
34455 " int\n"
34456 " guestfs_zerofree (guestfs_h *g,\n"
34457 "                   const char *device);\n"
34458 "\n"
34459
34460 #. type: =head2
34461 #: ../src/guestfs-actions.pod:8299
34462 msgid "guestfs_zfgrep"
34463 msgstr "guestfs_zfgrep"
34464
34465 #. type: verbatim
34466 #: ../src/guestfs-actions.pod:8301
34467 #, no-wrap
34468 msgid ""
34469 " char **\n"
34470 " guestfs_zfgrep (guestfs_h *g,\n"
34471 "                 const char *pattern,\n"
34472 "                 const char *path);\n"
34473 "\n"
34474 msgstr ""
34475 " char **\n"
34476 " guestfs_zfgrep (guestfs_h *g,\n"
34477 "                 const char *pattern,\n"
34478 "                 const char *path);\n"
34479 "\n"
34480
34481 #. type: =head2
34482 #: ../src/guestfs-actions.pod:8318
34483 msgid "guestfs_zfgrepi"
34484 msgstr "guestfs_zfgrepi"
34485
34486 #. type: verbatim
34487 #: ../src/guestfs-actions.pod:8320
34488 #, no-wrap
34489 msgid ""
34490 " char **\n"
34491 " guestfs_zfgrepi (guestfs_h *g,\n"
34492 "                  const char *pattern,\n"
34493 "                  const char *path);\n"
34494 "\n"
34495 msgstr ""
34496 " char **\n"
34497 " guestfs_zfgrepi (guestfs_h *g,\n"
34498 "                  const char *pattern,\n"
34499 "                  const char *path);\n"
34500 "\n"
34501
34502 #. type: =head2
34503 #: ../src/guestfs-actions.pod:8337
34504 msgid "guestfs_zfile"
34505 msgstr "guestfs_zfile"
34506
34507 #. type: verbatim
34508 #: ../src/guestfs-actions.pod:8339
34509 #, no-wrap
34510 msgid ""
34511 " char *\n"
34512 " guestfs_zfile (guestfs_h *g,\n"
34513 "                const char *meth,\n"
34514 "                const char *path);\n"
34515 "\n"
34516 msgstr ""
34517 " char *\n"
34518 " guestfs_zfile (guestfs_h *g,\n"
34519 "                const char *meth,\n"
34520 "                const char *path);\n"
34521 "\n"
34522
34523 #. type: textblock
34524 #: ../src/guestfs-actions.pod:8344
34525 msgid ""
34526 "I<This function is deprecated.> In new code, use the L</guestfs_file> call "
34527 "instead."
34528 msgstr ""
34529
34530 #. type: textblock
34531 #: ../src/guestfs-actions.pod:8356
34532 msgid ""
34533 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
34534 "files."
34535 msgstr ""
34536
34537 #. type: =head2
34538 #: ../src/guestfs-actions.pod:8364
34539 msgid "guestfs_zgrep"
34540 msgstr "guestfs_zgrep"
34541
34542 #. type: verbatim
34543 #: ../src/guestfs-actions.pod:8366
34544 #, no-wrap
34545 msgid ""
34546 " char **\n"
34547 " guestfs_zgrep (guestfs_h *g,\n"
34548 "                const char *regex,\n"
34549 "                const char *path);\n"
34550 "\n"
34551 msgstr ""
34552 " char **\n"
34553 " guestfs_zgrep (guestfs_h *g,\n"
34554 "                const char *regex,\n"
34555 "                const char *path);\n"
34556 "\n"
34557
34558 #. type: =head2
34559 #: ../src/guestfs-actions.pod:8383
34560 msgid "guestfs_zgrepi"
34561 msgstr "guestfs_zgrepi"
34562
34563 #. type: verbatim
34564 #: ../src/guestfs-actions.pod:8385
34565 #, no-wrap
34566 msgid ""
34567 " char **\n"
34568 " guestfs_zgrepi (guestfs_h *g,\n"
34569 "                 const char *regex,\n"
34570 "                 const char *path);\n"
34571 "\n"
34572 msgstr ""
34573 " char **\n"
34574 " guestfs_zgrepi (guestfs_h *g,\n"
34575 "                 const char *regex,\n"
34576 "                 const char *path);\n"
34577 "\n"
34578
34579 #. type: =item
34580 #: ../src/guestfs-availability.pod:3
34581 msgid "B<augeas>"
34582 msgstr "B<augeas>"
34583
34584 #. type: textblock
34585 #: ../src/guestfs-availability.pod:5
34586 msgid ""
34587 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
34588 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
34589 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
34590 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
34591 "L</guestfs_aug_save> L</guestfs_aug_set>"
34592 msgstr ""
34593
34594 #. type: =item
34595 #: ../src/guestfs-availability.pod:21
34596 msgid "B<btrfs>"
34597 msgstr "B<btrfs>"
34598
34599 #. type: textblock
34600 #: ../src/guestfs-availability.pod:23
34601 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
34602 msgstr ""
34603
34604 #. type: =item
34605 #: ../src/guestfs-availability.pod:26
34606 msgid "B<grub>"
34607 msgstr ""
34608
34609 #. type: textblock
34610 #: ../src/guestfs-availability.pod:28
34611 msgid "The following functions: L</guestfs_grub_install>"
34612 msgstr ""
34613
34614 #. type: =item
34615 #: ../src/guestfs-availability.pod:31
34616 msgid "B<inotify>"
34617 msgstr "B<inotify>"
34618
34619 #. type: textblock
34620 #: ../src/guestfs-availability.pod:33
34621 msgid ""
34622 "The following functions: L</guestfs_inotify_add_watch> L</"
34623 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
34624 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
34625 msgstr ""
34626
34627 #. type: =item
34628 #: ../src/guestfs-availability.pod:41
34629 msgid "B<linuxfsuuid>"
34630 msgstr "B<linuxfsuuid>"
34631
34632 #. type: textblock
34633 #: ../src/guestfs-availability.pod:43
34634 msgid ""
34635 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
34636 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
34637 msgstr ""
34638
34639 #. type: =item
34640 #: ../src/guestfs-availability.pod:50
34641 msgid "B<linuxmodules>"
34642 msgstr "B<linuxmodules>"
34643
34644 #. type: textblock
34645 #: ../src/guestfs-availability.pod:52
34646 msgid "The following functions: L</guestfs_modprobe>"
34647 msgstr ""
34648
34649 #. type: =item
34650 #: ../src/guestfs-availability.pod:55
34651 msgid "B<linuxxattrs>"
34652 msgstr "B<linuxxattrs>"
34653
34654 #. type: textblock
34655 #: ../src/guestfs-availability.pod:57
34656 msgid ""
34657 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
34658 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
34659 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
34660 "guestfs_setxattr>"
34661 msgstr ""
34662
34663 #. type: =item
34664 #: ../src/guestfs-availability.pod:68
34665 msgid "B<luks>"
34666 msgstr "B<luks>"
34667
34668 #. type: textblock
34669 #: ../src/guestfs-availability.pod:70
34670 msgid ""
34671 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
34672 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
34673 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
34674 msgstr ""
34675
34676 #. type: =item
34677 #: ../src/guestfs-availability.pod:79
34678 msgid "B<lvm2>"
34679 msgstr "B<lvm2>"
34680
34681 #. type: textblock
34682 #: ../src/guestfs-availability.pod:81
34683 msgid ""
34684 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
34685 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
34686 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
34687 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
34688 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
34689 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
34690 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
34691 msgstr ""
34692
34693 #. type: =item
34694 #: ../src/guestfs-availability.pod:104
34695 msgid "B<mknod>"
34696 msgstr "B<mknod>"
34697
34698 #. type: textblock
34699 #: ../src/guestfs-availability.pod:106
34700 msgid ""
34701 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
34702 "guestfs_mknod_b> L</guestfs_mknod_c>"
34703 msgstr ""
34704
34705 #. type: =item
34706 #: ../src/guestfs-availability.pod:112
34707 msgid "B<ntfs3g>"
34708 msgstr "B<ntfs3g>"
34709
34710 #. type: textblock
34711 #: ../src/guestfs-availability.pod:114
34712 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
34713 msgstr ""
34714
34715 #. type: =item
34716 #: ../src/guestfs-availability.pod:117
34717 msgid "B<ntfsprogs>"
34718 msgstr "B<ntfsprogs>"
34719
34720 #. type: textblock
34721 #: ../src/guestfs-availability.pod:119
34722 msgid ""
34723 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
34724 "L</guestfs_ntfsresize_size>"
34725 msgstr ""
34726
34727 #. type: =item
34728 #: ../src/guestfs-availability.pod:124
34729 msgid "B<realpath>"
34730 msgstr "B<realpath>"
34731
34732 #. type: textblock
34733 #: ../src/guestfs-availability.pod:126
34734 msgid "The following functions: L</guestfs_realpath>"
34735 msgstr ""
34736
34737 #. type: =item
34738 #: ../src/guestfs-availability.pod:129
34739 msgid "B<scrub>"
34740 msgstr "B<scrub>"
34741
34742 #. type: textblock
34743 #: ../src/guestfs-availability.pod:131
34744 msgid ""
34745 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
34746 "guestfs_scrub_freespace>"
34747 msgstr ""
34748
34749 #. type: =item
34750 #: ../src/guestfs-availability.pod:136
34751 msgid "B<selinux>"
34752 msgstr "B<selinux>"
34753
34754 #. type: textblock
34755 #: ../src/guestfs-availability.pod:138
34756 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
34757 msgstr ""
34758
34759 #. type: =item
34760 #: ../src/guestfs-availability.pod:142
34761 msgid "B<xz>"
34762 msgstr "B<xz>"
34763
34764 #. type: textblock
34765 #: ../src/guestfs-availability.pod:144
34766 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
34767 msgstr ""
34768
34769 #. type: =item
34770 #: ../src/guestfs-availability.pod:148
34771 msgid "B<zerofree>"
34772 msgstr "B<zerofree>"
34773
34774 #. type: textblock
34775 #: ../src/guestfs-availability.pod:150
34776 msgid "The following functions: L</guestfs_zerofree>"
34777 msgstr ""
34778
34779 #. type: =head2
34780 #: ../src/guestfs-structs.pod:1
34781 msgid "guestfs_int_bool"
34782 msgstr ""
34783
34784 #. type: verbatim
34785 #: ../src/guestfs-structs.pod:3
34786 #, no-wrap
34787 msgid ""
34788 " struct guestfs_int_bool {\n"
34789 "   int32_t i;\n"
34790 "   int32_t b;\n"
34791 " };\n"
34792 " \n"
34793 msgstr ""
34794
34795 #. type: verbatim
34796 #: ../src/guestfs-structs.pod:8
34797 #, no-wrap
34798 msgid ""
34799 " struct guestfs_int_bool_list {\n"
34800 "   uint32_t len; /* Number of elements in list. */\n"
34801 "   struct guestfs_int_bool *val; /* Elements. */\n"
34802 " };\n"
34803 " \n"
34804 msgstr ""
34805
34806 #. type: verbatim
34807 #: ../src/guestfs-structs.pod:13
34808 #, no-wrap
34809 msgid ""
34810 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
34811 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
34812 "\n"
34813 msgstr ""
34814
34815 #. type: =head2
34816 #: ../src/guestfs-structs.pod:16
34817 msgid "guestfs_lvm_pv"
34818 msgstr ""
34819
34820 #. type: verbatim
34821 #: ../src/guestfs-structs.pod:18
34822 #, no-wrap
34823 msgid ""
34824 " struct guestfs_lvm_pv {\n"
34825 "   char *pv_name;\n"
34826 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34827 "   char pv_uuid[32];\n"
34828 "   char *pv_fmt;\n"
34829 "   uint64_t pv_size;\n"
34830 "   uint64_t dev_size;\n"
34831 "   uint64_t pv_free;\n"
34832 "   uint64_t pv_used;\n"
34833 "   char *pv_attr;\n"
34834 "   int64_t pv_pe_count;\n"
34835 "   int64_t pv_pe_alloc_count;\n"
34836 "   char *pv_tags;\n"
34837 "   uint64_t pe_start;\n"
34838 "   int64_t pv_mda_count;\n"
34839 "   uint64_t pv_mda_free;\n"
34840 " };\n"
34841 " \n"
34842 msgstr ""
34843
34844 #. type: verbatim
34845 #: ../src/guestfs-structs.pod:36
34846 #, no-wrap
34847 msgid ""
34848 " struct guestfs_lvm_pv_list {\n"
34849 "   uint32_t len; /* Number of elements in list. */\n"
34850 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
34851 " };\n"
34852 " \n"
34853 msgstr ""
34854
34855 #. type: verbatim
34856 #: ../src/guestfs-structs.pod:41
34857 #, no-wrap
34858 msgid ""
34859 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
34860 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
34861 "\n"
34862 msgstr ""
34863
34864 #. type: =head2
34865 #: ../src/guestfs-structs.pod:44
34866 msgid "guestfs_lvm_vg"
34867 msgstr ""
34868
34869 #. type: verbatim
34870 #: ../src/guestfs-structs.pod:46
34871 #, no-wrap
34872 msgid ""
34873 " struct guestfs_lvm_vg {\n"
34874 "   char *vg_name;\n"
34875 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34876 "   char vg_uuid[32];\n"
34877 "   char *vg_fmt;\n"
34878 "   char *vg_attr;\n"
34879 "   uint64_t vg_size;\n"
34880 "   uint64_t vg_free;\n"
34881 "   char *vg_sysid;\n"
34882 "   uint64_t vg_extent_size;\n"
34883 "   int64_t vg_extent_count;\n"
34884 "   int64_t vg_free_count;\n"
34885 "   int64_t max_lv;\n"
34886 "   int64_t max_pv;\n"
34887 "   int64_t pv_count;\n"
34888 "   int64_t lv_count;\n"
34889 "   int64_t snap_count;\n"
34890 "   int64_t vg_seqno;\n"
34891 "   char *vg_tags;\n"
34892 "   int64_t vg_mda_count;\n"
34893 "   uint64_t vg_mda_free;\n"
34894 " };\n"
34895 " \n"
34896 msgstr ""
34897
34898 #. type: verbatim
34899 #: ../src/guestfs-structs.pod:69
34900 #, no-wrap
34901 msgid ""
34902 " struct guestfs_lvm_vg_list {\n"
34903 "   uint32_t len; /* Number of elements in list. */\n"
34904 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
34905 " };\n"
34906 " \n"
34907 msgstr ""
34908
34909 #. type: verbatim
34910 #: ../src/guestfs-structs.pod:74
34911 #, no-wrap
34912 msgid ""
34913 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
34914 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
34915 "\n"
34916 msgstr ""
34917
34918 #. type: =head2
34919 #: ../src/guestfs-structs.pod:77
34920 msgid "guestfs_lvm_lv"
34921 msgstr ""
34922
34923 #. type: verbatim
34924 #: ../src/guestfs-structs.pod:79
34925 #, no-wrap
34926 msgid ""
34927 " struct guestfs_lvm_lv {\n"
34928 "   char *lv_name;\n"
34929 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34930 "   char lv_uuid[32];\n"
34931 "   char *lv_attr;\n"
34932 "   int64_t lv_major;\n"
34933 "   int64_t lv_minor;\n"
34934 "   int64_t lv_kernel_major;\n"
34935 "   int64_t lv_kernel_minor;\n"
34936 "   uint64_t lv_size;\n"
34937 "   int64_t seg_count;\n"
34938 "   char *origin;\n"
34939 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
34940 "   float snap_percent;\n"
34941 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
34942 "   float copy_percent;\n"
34943 "   char *move_pv;\n"
34944 "   char *lv_tags;\n"
34945 "   char *mirror_log;\n"
34946 "   char *modules;\n"
34947 " };\n"
34948 " \n"
34949 msgstr ""
34950
34951 #. type: verbatim
34952 #: ../src/guestfs-structs.pod:101
34953 #, no-wrap
34954 msgid ""
34955 " struct guestfs_lvm_lv_list {\n"
34956 "   uint32_t len; /* Number of elements in list. */\n"
34957 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
34958 " };\n"
34959 " \n"
34960 msgstr ""
34961
34962 #. type: verbatim
34963 #: ../src/guestfs-structs.pod:106
34964 #, no-wrap
34965 msgid ""
34966 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
34967 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
34968 "\n"
34969 msgstr ""
34970
34971 #. type: verbatim
34972 #: ../src/guestfs-structs.pod:111
34973 #, no-wrap
34974 msgid ""
34975 " struct guestfs_stat {\n"
34976 "   int64_t dev;\n"
34977 "   int64_t ino;\n"
34978 "   int64_t mode;\n"
34979 "   int64_t nlink;\n"
34980 "   int64_t uid;\n"
34981 "   int64_t gid;\n"
34982 "   int64_t rdev;\n"
34983 "   int64_t size;\n"
34984 "   int64_t blksize;\n"
34985 "   int64_t blocks;\n"
34986 "   int64_t atime;\n"
34987 "   int64_t mtime;\n"
34988 "   int64_t ctime;\n"
34989 " };\n"
34990 " \n"
34991 msgstr ""
34992
34993 #. type: verbatim
34994 #: ../src/guestfs-structs.pod:127
34995 #, no-wrap
34996 msgid ""
34997 " struct guestfs_stat_list {\n"
34998 "   uint32_t len; /* Number of elements in list. */\n"
34999 "   struct guestfs_stat *val; /* Elements. */\n"
35000 " };\n"
35001 " \n"
35002 msgstr ""
35003
35004 #. type: verbatim
35005 #: ../src/guestfs-structs.pod:132
35006 #, no-wrap
35007 msgid ""
35008 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
35009 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
35010 "\n"
35011 msgstr ""
35012
35013 #. type: verbatim
35014 #: ../src/guestfs-structs.pod:137
35015 #, no-wrap
35016 msgid ""
35017 " struct guestfs_statvfs {\n"
35018 "   int64_t bsize;\n"
35019 "   int64_t frsize;\n"
35020 "   int64_t blocks;\n"
35021 "   int64_t bfree;\n"
35022 "   int64_t bavail;\n"
35023 "   int64_t files;\n"
35024 "   int64_t ffree;\n"
35025 "   int64_t favail;\n"
35026 "   int64_t fsid;\n"
35027 "   int64_t flag;\n"
35028 "   int64_t namemax;\n"
35029 " };\n"
35030 " \n"
35031 msgstr ""
35032
35033 #. type: verbatim
35034 #: ../src/guestfs-structs.pod:151
35035 #, no-wrap
35036 msgid ""
35037 " struct guestfs_statvfs_list {\n"
35038 "   uint32_t len; /* Number of elements in list. */\n"
35039 "   struct guestfs_statvfs *val; /* Elements. */\n"
35040 " };\n"
35041 " \n"
35042 msgstr ""
35043
35044 #. type: verbatim
35045 #: ../src/guestfs-structs.pod:156
35046 #, no-wrap
35047 msgid ""
35048 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
35049 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
35050 "\n"
35051 msgstr ""
35052
35053 #. type: =head2
35054 #: ../src/guestfs-structs.pod:159
35055 msgid "guestfs_dirent"
35056 msgstr ""
35057
35058 #. type: verbatim
35059 #: ../src/guestfs-structs.pod:161
35060 #, no-wrap
35061 msgid ""
35062 " struct guestfs_dirent {\n"
35063 "   int64_t ino;\n"
35064 "   char ftyp;\n"
35065 "   char *name;\n"
35066 " };\n"
35067 " \n"
35068 msgstr ""
35069
35070 #. type: verbatim
35071 #: ../src/guestfs-structs.pod:167
35072 #, no-wrap
35073 msgid ""
35074 " struct guestfs_dirent_list {\n"
35075 "   uint32_t len; /* Number of elements in list. */\n"
35076 "   struct guestfs_dirent *val; /* Elements. */\n"
35077 " };\n"
35078 " \n"
35079 msgstr ""
35080
35081 #. type: verbatim
35082 #: ../src/guestfs-structs.pod:172
35083 #, no-wrap
35084 msgid ""
35085 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
35086 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
35087 "\n"
35088 msgstr ""
35089
35090 #. type: verbatim
35091 #: ../src/guestfs-structs.pod:177
35092 #, no-wrap
35093 msgid ""
35094 " struct guestfs_version {\n"
35095 "   int64_t major;\n"
35096 "   int64_t minor;\n"
35097 "   int64_t release;\n"
35098 "   char *extra;\n"
35099 " };\n"
35100 " \n"
35101 msgstr ""
35102
35103 #. type: verbatim
35104 #: ../src/guestfs-structs.pod:184
35105 #, no-wrap
35106 msgid ""
35107 " struct guestfs_version_list {\n"
35108 "   uint32_t len; /* Number of elements in list. */\n"
35109 "   struct guestfs_version *val; /* Elements. */\n"
35110 " };\n"
35111 " \n"
35112 msgstr ""
35113
35114 #. type: verbatim
35115 #: ../src/guestfs-structs.pod:189
35116 #, no-wrap
35117 msgid ""
35118 " void guestfs_free_version (struct guestfs_free_version *);\n"
35119 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
35120 "\n"
35121 msgstr ""
35122
35123 #. type: =head2
35124 #: ../src/guestfs-structs.pod:192
35125 msgid "guestfs_xattr"
35126 msgstr ""
35127
35128 #. type: verbatim
35129 #: ../src/guestfs-structs.pod:194
35130 #, no-wrap
35131 msgid ""
35132 " struct guestfs_xattr {\n"
35133 "   char *attrname;\n"
35134 "   /* The next two fields describe a byte array. */\n"
35135 "   uint32_t attrval_len;\n"
35136 "   char *attrval;\n"
35137 " };\n"
35138 " \n"
35139 msgstr ""
35140
35141 #. type: verbatim
35142 #: ../src/guestfs-structs.pod:201
35143 #, no-wrap
35144 msgid ""
35145 " struct guestfs_xattr_list {\n"
35146 "   uint32_t len; /* Number of elements in list. */\n"
35147 "   struct guestfs_xattr *val; /* Elements. */\n"
35148 " };\n"
35149 " \n"
35150 msgstr ""
35151
35152 #. type: verbatim
35153 #: ../src/guestfs-structs.pod:206
35154 #, no-wrap
35155 msgid ""
35156 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
35157 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
35158 "\n"
35159 msgstr ""
35160
35161 #. type: =head2
35162 #: ../src/guestfs-structs.pod:209
35163 msgid "guestfs_inotify_event"
35164 msgstr ""
35165
35166 #. type: verbatim
35167 #: ../src/guestfs-structs.pod:211
35168 #, no-wrap
35169 msgid ""
35170 " struct guestfs_inotify_event {\n"
35171 "   int64_t in_wd;\n"
35172 "   uint32_t in_mask;\n"
35173 "   uint32_t in_cookie;\n"
35174 "   char *in_name;\n"
35175 " };\n"
35176 " \n"
35177 msgstr ""
35178
35179 #. type: verbatim
35180 #: ../src/guestfs-structs.pod:218
35181 #, no-wrap
35182 msgid ""
35183 " struct guestfs_inotify_event_list {\n"
35184 "   uint32_t len; /* Number of elements in list. */\n"
35185 "   struct guestfs_inotify_event *val; /* Elements. */\n"
35186 " };\n"
35187 " \n"
35188 msgstr ""
35189
35190 #. type: verbatim
35191 #: ../src/guestfs-structs.pod:223
35192 #, no-wrap
35193 msgid ""
35194 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
35195 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
35196 "\n"
35197 msgstr ""
35198
35199 #. type: =head2
35200 #: ../src/guestfs-structs.pod:226
35201 msgid "guestfs_partition"
35202 msgstr ""
35203
35204 #. type: verbatim
35205 #: ../src/guestfs-structs.pod:228
35206 #, no-wrap
35207 msgid ""
35208 " struct guestfs_partition {\n"
35209 "   int32_t part_num;\n"
35210 "   uint64_t part_start;\n"
35211 "   uint64_t part_end;\n"
35212 "   uint64_t part_size;\n"
35213 " };\n"
35214 " \n"
35215 msgstr ""
35216
35217 #. type: verbatim
35218 #: ../src/guestfs-structs.pod:235
35219 #, no-wrap
35220 msgid ""
35221 " struct guestfs_partition_list {\n"
35222 "   uint32_t len; /* Number of elements in list. */\n"
35223 "   struct guestfs_partition *val; /* Elements. */\n"
35224 " };\n"
35225 " \n"
35226 msgstr ""
35227
35228 #. type: verbatim
35229 #: ../src/guestfs-structs.pod:240
35230 #, no-wrap
35231 msgid ""
35232 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
35233 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
35234 "\n"
35235 msgstr ""
35236
35237 #. type: =head2
35238 #: ../src/guestfs-structs.pod:243
35239 msgid "guestfs_application"
35240 msgstr ""
35241
35242 #. type: verbatim
35243 #: ../src/guestfs-structs.pod:245
35244 #, no-wrap
35245 msgid ""
35246 " struct guestfs_application {\n"
35247 "   char *app_name;\n"
35248 "   char *app_display_name;\n"
35249 "   int32_t app_epoch;\n"
35250 "   char *app_version;\n"
35251 "   char *app_release;\n"
35252 "   char *app_install_path;\n"
35253 "   char *app_trans_path;\n"
35254 "   char *app_publisher;\n"
35255 "   char *app_url;\n"
35256 "   char *app_source_package;\n"
35257 "   char *app_summary;\n"
35258 "   char *app_description;\n"
35259 " };\n"
35260 " \n"
35261 msgstr ""
35262
35263 #. type: verbatim
35264 #: ../src/guestfs-structs.pod:260
35265 #, no-wrap
35266 msgid ""
35267 " struct guestfs_application_list {\n"
35268 "   uint32_t len; /* Number of elements in list. */\n"
35269 "   struct guestfs_application *val; /* Elements. */\n"
35270 " };\n"
35271 " \n"
35272 msgstr ""
35273
35274 #. type: verbatim
35275 #: ../src/guestfs-structs.pod:265
35276 #, no-wrap
35277 msgid ""
35278 " void guestfs_free_application (struct guestfs_free_application *);\n"
35279 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
35280 "\n"
35281 msgstr ""
35282
35283 #. type: textblock
35284 #: ../src/guestfs.pod:5
35285 msgid "guestfs - Library for accessing and modifying virtual machine images"
35286 msgstr ""
35287 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
35288 "машин"
35289
35290 #. type: verbatim
35291 #: ../src/guestfs.pod:11
35292 #, no-wrap
35293 msgid ""
35294 " guestfs_h *g = guestfs_create ();\n"
35295 " guestfs_add_drive (g, \"guest.img\");\n"
35296 " guestfs_launch (g);\n"
35297 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35298 " guestfs_touch (g, \"/hello\");\n"
35299 " guestfs_umount (g, \"/\");\n"
35300 " guestfs_close (g);\n"
35301 "\n"
35302 msgstr ""
35303 " guestfs_h *g = guestfs_create ();\n"
35304 " guestfs_add_drive (g, \"guest.img\");\n"
35305 " guestfs_launch (g);\n"
35306 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35307 " guestfs_touch (g, \"/hello\");\n"
35308 " guestfs_umount (g, \"/\");\n"
35309 " guestfs_close (g);\n"
35310 "\n"
35311
35312 #. type: textblock
35313 #: ../src/guestfs.pod:25
35314 msgid ""
35315 "Libguestfs is a library for accessing and modifying guest disk images.  "
35316 "Amongst the things this is good for: making batch configuration changes to "
35317 "guests, getting disk used/free statistics (see also: virt-df), migrating "
35318 "between virtualization systems (see also: virt-p2v), performing partial "
35319 "backups, performing partial guest clones, cloning guests and changing "
35320 "registry/UUID/hostname info, and much else besides."
35321 msgstr ""
35322
35323 #. type: textblock
35324 #: ../src/guestfs.pod:33
35325 msgid ""
35326 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
35327 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
35328 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
35329 "qcow2, vmdk."
35330 msgstr ""
35331
35332 #. type: textblock
35333 #: ../src/guestfs.pod:38
35334 msgid ""
35335 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
35336 "what filesystem is in each LV, etc.).  It can also run commands in the "
35337 "context of the guest.  Also you can access filesystems over FUSE."
35338 msgstr ""
35339
35340 #. type: textblock
35341 #: ../src/guestfs.pod:43
35342 msgid ""
35343 "Libguestfs is a library that can be linked with C and C++ management "
35344 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
35345 "PHP, Erlang, Haskell or C#).  You can also use it from shell scripts or the "
35346 "command line."
35347 msgstr ""
35348
35349 #. type: textblock
35350 #: ../src/guestfs.pod:48
35351 msgid ""
35352 "You don't need to be root to use libguestfs, although obviously you do need "
35353 "enough permissions to access the disk images."
35354 msgstr ""
35355
35356 #. type: textblock
35357 #: ../src/guestfs.pod:51
35358 msgid ""
35359 "Libguestfs is a large API because it can do many things.  For a gentle "
35360 "introduction, please read the L</API OVERVIEW> section next."
35361 msgstr ""
35362
35363 #. type: textblock
35364 #: ../src/guestfs.pod:54
35365 msgid ""
35366 "There are also some example programs in the L<guestfs-examples(3)> manual "
35367 "page."
35368 msgstr ""
35369
35370 #. type: =head1
35371 #: ../src/guestfs.pod:57
35372 msgid "API OVERVIEW"
35373 msgstr "ОГЛЯД API"
35374
35375 #. type: textblock
35376 #: ../src/guestfs.pod:59
35377 msgid ""
35378 "This section provides a gentler overview of the libguestfs API.  We also try "
35379 "to group API calls together, where that may not be obvious from reading "
35380 "about the individual calls in the main section of this manual."
35381 msgstr ""
35382
35383 #. type: =head2
35384 #: ../src/guestfs.pod:64
35385 msgid "HANDLES"
35386 msgstr "ОБРОБНИКИ"
35387
35388 #. type: textblock
35389 #: ../src/guestfs.pod:66
35390 msgid ""
35391 "Before you can use libguestfs calls, you have to create a handle.  Then you "
35392 "must add at least one disk image to the handle, followed by launching the "
35393 "handle, then performing whatever operations you want, and finally closing "
35394 "the handle.  By convention we use the single letter C<g> for the name of the "
35395 "handle variable, although of course you can use any name you want."
35396 msgstr ""
35397
35398 #. type: textblock
35399 #: ../src/guestfs.pod:73
35400 msgid "The general structure of all libguestfs-using programs looks like this:"
35401 msgstr ""
35402
35403 #. type: verbatim
35404 #: ../src/guestfs.pod:76
35405 #, no-wrap
35406 msgid ""
35407 " guestfs_h *g = guestfs_create ();\n"
35408 " \n"
35409 msgstr ""
35410 " guestfs_h *g = guestfs_create ();\n"
35411 " \n"
35412
35413 #. type: verbatim
35414 #: ../src/guestfs.pod:78
35415 #, no-wrap
35416 msgid ""
35417 " /* Call guestfs_add_drive additional times if there are\n"
35418 "  * multiple disk images.\n"
35419 "  */\n"
35420 " guestfs_add_drive (g, \"guest.img\");\n"
35421 " \n"
35422 msgstr ""
35423
35424 #. type: verbatim
35425 #: ../src/guestfs.pod:83
35426 #, no-wrap
35427 msgid ""
35428 " /* Most manipulation calls won't work until you've launched\n"
35429 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
35430 "  * and _before_ other commands.\n"
35431 "  */\n"
35432 " guestfs_launch (g);\n"
35433 " \n"
35434 msgstr ""
35435
35436 #. type: verbatim
35437 #: ../src/guestfs.pod:89
35438 #, no-wrap
35439 msgid ""
35440 " /* Now you can examine what partitions, LVs etc are available.\n"
35441 "  */\n"
35442 " char **partitions = guestfs_list_partitions (g);\n"
35443 " char **logvols = guestfs_lvs (g);\n"
35444 " \n"
35445 msgstr ""
35446 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
35447 "  */\n"
35448 " char **partitions = guestfs_list_partitions (g);\n"
35449 " char **logvols = guestfs_lvs (g);\n"
35450 " \n"
35451
35452 #. type: verbatim
35453 #: ../src/guestfs.pod:94
35454 #, no-wrap
35455 msgid ""
35456 " /* To access a filesystem in the image, you must mount it.\n"
35457 "  */\n"
35458 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35459 " \n"
35460 msgstr ""
35461 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
35462 "  */\n"
35463 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35464 " \n"
35465
35466 #. type: verbatim
35467 #: ../src/guestfs.pod:98
35468 #, no-wrap
35469 msgid ""
35470 " /* Now you can perform filesystem actions on the guest\n"
35471 "  * disk image.\n"
35472 "  */\n"
35473 " guestfs_touch (g, \"/hello\");\n"
35474 " \n"
35475 msgstr ""
35476 " /* Тепер ви можете виконувати дії з файловою системою на\n"
35477 "  * образі диска операційної системи.\n"
35478 "  */\n"
35479 " guestfs_touch (g, \"/hello\");\n"
35480 " \n"
35481
35482 #. type: verbatim
35483 #: ../src/guestfs.pod:103
35484 #, no-wrap
35485 msgid ""
35486 " /* This is only needed for libguestfs < 1.5.24.  Since then\n"
35487 "  * it is done automatically when you close the handle.  See\n"
35488 "  * discussion of autosync in this page.\n"
35489 "  */\n"
35490 " guestfs_sync (g);\n"
35491 " \n"
35492 msgstr ""
35493
35494 #. type: verbatim
35495 #: ../src/guestfs.pod:109
35496 #, no-wrap
35497 msgid ""
35498 " /* Close the handle 'g'. */\n"
35499 " guestfs_close (g);\n"
35500 "\n"
35501 msgstr ""
35502 " /* Закрити дескриптор 'g'. */\n"
35503 " guestfs_close (g);\n"
35504 "\n"
35505
35506 #. type: textblock
35507 #: ../src/guestfs.pod:112
35508 msgid ""
35509 "The code above doesn't include any error checking.  In real code you should "
35510 "check return values carefully for errors.  In general all functions that "
35511 "return integers return C<-1> on error, and all functions that return "
35512 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
35513 "how to handle errors, and consult the documentation for each function call "
35514 "below to see precisely how they return error indications.  See L<guestfs-"
35515 "examples(3)> for fully worked examples."
35516 msgstr ""
35517
35518 #. type: =head2
35519 #: ../src/guestfs.pod:121
35520 msgid "DISK IMAGES"
35521 msgstr "ОБРАЗИ ДИСКІВ"
35522
35523 #. type: textblock
35524 #: ../src/guestfs.pod:123
35525 msgid ""
35526 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
35527 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
35528 "actual block device, or simply an empty file of zeroes that you have created "
35529 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
35530 "of these."
35531 msgstr ""
35532
35533 #. type: textblock
35534 #: ../src/guestfs.pod:129
35535 msgid ""
35536 "The call you should use in modern code for adding drives is L</"
35537 "guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
35538 "specifying that the format is raw, do:"
35539 msgstr ""
35540
35541 #. type: verbatim
35542 #: ../src/guestfs.pod:133
35543 #, no-wrap
35544 msgid ""
35545 " guestfs_add_drive_opts (g, filename,\n"
35546 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35547 "                         -1);\n"
35548 "\n"
35549 msgstr ""
35550 " guestfs_add_drive_opts (g, filename,\n"
35551 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35552 "                         -1);\n"
35553 "\n"
35554
35555 #. type: textblock
35556 #: ../src/guestfs.pod:137
35557 msgid "You can add a disk read-only using:"
35558 msgstr "Ви можете додати диск у режимі лише читання:"
35559
35560 #. type: verbatim
35561 #: ../src/guestfs.pod:139
35562 #, no-wrap
35563 msgid ""
35564 " guestfs_add_drive_opts (g, filename,\n"
35565 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35566 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35567 "                         -1);\n"
35568 "\n"
35569 msgstr ""
35570 " guestfs_add_drive_opts (g, filename,\n"
35571 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35572 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35573 "                         -1);\n"
35574 "\n"
35575
35576 #. type: textblock
35577 #: ../src/guestfs.pod:144
35578 msgid ""
35579 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
35580 "libguestfs won't modify the file."
35581 msgstr ""
35582
35583 #. type: textblock
35584 #: ../src/guestfs.pod:147
35585 msgid ""
35586 "Be extremely cautious if the disk image is in use, eg. if it is being used "
35587 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
35588 "corruption, but adding it read-only is safe."
35589 msgstr ""
35590
35591 #. type: textblock
35592 #: ../src/guestfs.pod:151
35593 msgid ""
35594 "You must add at least one disk image, and you may add multiple disk images.  "
35595 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
35596 "first one you added), C</dev/sdb> (for the second one you added), etc."
35597 msgstr ""
35598
35599 #. type: textblock
35600 #: ../src/guestfs.pod:156
35601 msgid ""
35602 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
35603 "can call L</guestfs_list_devices> to get a list of the device names, in the "
35604 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
35605 msgstr ""
35606
35607 #. type: =head2
35608 #: ../src/guestfs.pod:161
35609 msgid "MOUNTING"
35610 msgstr "МОНТУВАННЯ"
35611
35612 #. type: textblock
35613 #: ../src/guestfs.pod:163
35614 msgid ""
35615 "Before you can read or write files, create directories and so on in a disk "
35616 "image that contains filesystems, you have to mount those filesystems using "
35617 "L</guestfs_mount_options> or L</guestfs_mount_ro>.  If you already know that "
35618 "a disk image contains (for example) one partition with a filesystem on that "
35619 "partition, then you can mount it directly:"
35620 msgstr ""
35621
35622 #. type: verbatim
35623 #: ../src/guestfs.pod:170
35624 #, no-wrap
35625 msgid ""
35626 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
35627 "\n"
35628 msgstr ""
35629 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
35630 "\n"
35631
35632 #. type: textblock
35633 #: ../src/guestfs.pod:172
35634 msgid ""
35635 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
35636 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
35637 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>).  Note "
35638 "that these are libguestfs virtual devices, and are nothing to do with host "
35639 "devices."
35640 msgstr ""
35641
35642 #. type: textblock
35643 #: ../src/guestfs.pod:178
35644 msgid ""
35645 "If you are given a disk image and you don't know what it contains then you "
35646 "have to find out.  Libguestfs can do that too: use L</"
35647 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
35648 "LVs, and either try mounting each to see what is mountable, or else examine "
35649 "them with L</guestfs_vfs_type> or L</guestfs_file>.  To list just "
35650 "filesystems, use L</guestfs_list_filesystems>."
35651 msgstr ""
35652
35653 #. type: textblock
35654 #: ../src/guestfs.pod:186
35655 msgid ""
35656 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
35657 "L</INSPECTION> below).  But you might find it easier to look at higher level "
35658 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
35659 msgstr ""
35660
35661 #. type: textblock
35662 #: ../src/guestfs.pod:191
35663 msgid ""
35664 "To mount a filesystem read-only, use L</guestfs_mount_ro>.  There are "
35665 "several other variations of the C<guestfs_mount_*> call."
35666 msgstr ""
35667
35668 #. type: =head2
35669 #: ../src/guestfs.pod:194
35670 msgid "FILESYSTEM ACCESS AND MODIFICATION"
35671 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
35672
35673 #. type: textblock
35674 #: ../src/guestfs.pod:196
35675 msgid ""
35676 "The majority of the libguestfs API consists of fairly low-level calls for "
35677 "accessing and modifying the files, directories, symlinks etc on mounted "
35678 "filesystems.  There are over a hundred such calls which you can find listed "
35679 "in detail below in this man page, and we don't even pretend to cover them "
35680 "all in this overview."
35681 msgstr ""
35682
35683 #. type: textblock
35684 #: ../src/guestfs.pod:202
35685 msgid ""
35686 "Specify filenames as full paths, starting with C<\"/\"> and including the "
35687 "mount point."
35688 msgstr ""
35689 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
35690 "точкою монтування."
35691
35692 #. type: textblock
35693 #: ../src/guestfs.pod:205
35694 msgid ""
35695 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
35696 "the file called C<\"etc/passwd\"> then you could do:"
35697 msgstr ""
35698 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
35699 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
35700 "таким кодом:"
35701
35702 #. type: verbatim
35703 #: ../src/guestfs.pod:208
35704 #, no-wrap
35705 msgid ""
35706 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
35707 "\n"
35708 msgstr ""
35709 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
35710 "\n"
35711
35712 #. type: textblock
35713 #: ../src/guestfs.pod:210
35714 msgid ""
35715 "This would return C<data> as a newly allocated buffer containing the full "
35716 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
35717 "or C<NULL> if there was an error."
35718 msgstr ""
35719
35720 #. type: textblock
35721 #: ../src/guestfs.pod:214
35722 msgid ""
35723 "As another example, to create a top-level directory on that filesystem "
35724 "called C<\"var\"> you would do:"
35725 msgstr ""
35726
35727 #. type: verbatim
35728 #: ../src/guestfs.pod:217
35729 #, no-wrap
35730 msgid ""
35731 " guestfs_mkdir (g, \"/var\");\n"
35732 "\n"
35733 msgstr ""
35734 " guestfs_mkdir (g, \"/var\");\n"
35735 "\n"
35736
35737 #. type: textblock
35738 #: ../src/guestfs.pod:219
35739 msgid "To create a symlink you could do:"
35740 msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
35741
35742 #. type: verbatim
35743 #: ../src/guestfs.pod:221
35744 #, no-wrap
35745 msgid ""
35746 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
35747 "               \"/etc/rc3.d/S30portmap\");\n"
35748 "\n"
35749 msgstr ""
35750 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
35751 "               \"/etc/rc3.d/S30portmap\");\n"
35752 "\n"
35753
35754 #. type: textblock
35755 #: ../src/guestfs.pod:224
35756 msgid ""
35757 "Libguestfs will reject attempts to use relative paths and there is no "
35758 "concept of a current working directory."
35759 msgstr ""
35760
35761 #. type: textblock
35762 #: ../src/guestfs.pod:227
35763 msgid ""
35764 "Libguestfs can return errors in many situations: for example if the "
35765 "filesystem isn't writable, or if a file or directory that you requested "
35766 "doesn't exist.  If you are using the C API (documented here)  you have to "
35767 "check for those error conditions after each call.  (Other language bindings "
35768 "turn these errors into exceptions)."
35769 msgstr ""
35770
35771 #. type: textblock
35772 #: ../src/guestfs.pod:233
35773 msgid ""
35774 "File writes are affected by the per-handle umask, set by calling L</"
35775 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
35776 msgstr ""
35777
35778 #. type: =head2
35779 #: ../src/guestfs.pod:236
35780 msgid "PARTITIONING"
35781 msgstr "ПОДІЛ НА РОЗДІЛИ"
35782
35783 #. type: textblock
35784 #: ../src/guestfs.pod:238
35785 msgid ""
35786 "Libguestfs contains API calls to read, create and modify partition tables on "
35787 "disk images."
35788 msgstr ""
35789
35790 #. type: textblock
35791 #: ../src/guestfs.pod:241
35792 msgid ""
35793 "In the common case where you want to create a single partition covering the "
35794 "whole disk, you should use the L</guestfs_part_disk> call:"
35795 msgstr ""
35796
35797 #. type: verbatim
35798 #: ../src/guestfs.pod:245
35799 #, no-wrap
35800 msgid ""
35801 " const char *parttype = \"mbr\";\n"
35802 " if (disk_is_larger_than_2TB)\n"
35803 "   parttype = \"gpt\";\n"
35804 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
35805 "\n"
35806 msgstr ""
35807 " const char *parttype = \"mbr\";\n"
35808 " if (disk_is_larger_than_2TB)\n"
35809 "   parttype = \"gpt\";\n"
35810 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
35811 "\n"
35812
35813 #. type: textblock
35814 #: ../src/guestfs.pod:250
35815 msgid ""
35816 "Obviously this effectively wipes anything that was on that disk image before."
35817 msgstr ""
35818
35819 #. type: =head2
35820 #: ../src/guestfs.pod:253
35821 msgid "LVM2"
35822 msgstr "LVM2"
35823
35824 #. type: textblock
35825 #: ../src/guestfs.pod:255
35826 msgid ""
35827 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
35828 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
35829 "you familiarize yourself with the concepts of physical volumes, volume "
35830 "groups and logical volumes."
35831 msgstr ""
35832
35833 #. type: textblock
35834 #: ../src/guestfs.pod:260
35835 msgid ""
35836 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
35837 "tldp.org/HOWTO/LVM-HOWTO/>."
35838 msgstr ""
35839
35840 #. type: =head2
35841 #: ../src/guestfs.pod:263
35842 msgid "DOWNLOADING"
35843 msgstr "ОТРИМАННЯ ДАНИХ"
35844
35845 #. type: textblock
35846 #: ../src/guestfs.pod:265
35847 msgid ""
35848 "Use L</guestfs_cat> to download small, text only files.  This call is "
35849 "limited to files which are less than 2 MB and which cannot contain any ASCII "
35850 "NUL (C<\\0>) characters.  However the API is very simple to use."
35851 msgstr ""
35852
35853 #. type: textblock
35854 #: ../src/guestfs.pod:269
35855 msgid ""
35856 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
35857 "bit data, since it returns a (pointer, size) pair.  However it is still "
35858 "limited to \"small\" files, less than 2 MB."
35859 msgstr ""
35860
35861 #. type: textblock
35862 #: ../src/guestfs.pod:273
35863 msgid ""
35864 "L</guestfs_download> can be used to download any file, with no limits on "
35865 "content or size (even files larger than 4 GB)."
35866 msgstr ""
35867
35868 #. type: textblock
35869 #: ../src/guestfs.pod:276
35870 msgid ""
35871 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
35872 msgstr ""
35873
35874 #. type: =head2
35875 #: ../src/guestfs.pod:279
35876 msgid "UPLOADING"
35877 msgstr "ВИВАНТАЖЕННЯ"
35878
35879 #. type: textblock
35880 #: ../src/guestfs.pod:281
35881 msgid ""
35882 "It's often the case that you want to write a file or files to the disk image."
35883 msgstr ""
35884
35885 #. type: textblock
35886 #: ../src/guestfs.pod:284
35887 msgid ""
35888 "To write a small file with fixed content, use L</guestfs_write>.  To create "
35889 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
35890 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
35891 "of other functions for creating test files, for example L</guestfs_fill> and "
35892 "L</guestfs_fill_pattern>."
35893 msgstr ""
35894
35895 #. type: textblock
35896 #: ../src/guestfs.pod:290
35897 msgid ""
35898 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
35899 "file content or size (even files larger than 4 GB)."
35900 msgstr ""
35901
35902 #. type: textblock
35903 #: ../src/guestfs.pod:293
35904 msgid ""
35905 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
35906 msgstr ""
35907
35908 #. type: textblock
35909 #: ../src/guestfs.pod:295
35910 msgid ""
35911 "However the fastest way to upload I<large numbers of arbitrary files> is to "
35912 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
35913 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
35914 "in a predictable way (eg. adding it last after all other drives) then you "
35915 "can get the device name from L</guestfs_list_devices> and mount it directly "
35916 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
35917 "portable between kernel versions, and they don't support labels or UUIDs.  "
35918 "If you want to pre-build an image or you need to mount it using a label or "
35919 "UUID, use an ISO image instead."
35920 msgstr ""
35921
35922 #. type: =head2
35923 #: ../src/guestfs.pod:306
35924 msgid "COPYING"
35925 msgstr "КОПІЮВАННЯ"
35926
35927 #. type: textblock
35928 #: ../src/guestfs.pod:308
35929 msgid ""
35930 "There are various different commands for copying between files and devices "
35931 "and in and out of the guest filesystem.  These are summarised in the table "
35932 "below."
35933 msgstr ""
35934
35935 #. type: =item
35936 #: ../src/guestfs.pod:314
35937 msgid "B<file> to B<file>"
35938 msgstr "B<файл> у B<файл>"
35939
35940 #. type: textblock
35941 #: ../src/guestfs.pod:316
35942 msgid ""
35943 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
35944 "directories recursively."
35945 msgstr ""
35946
35947 #. type: textblock
35948 #: ../src/guestfs.pod:319
35949 msgid ""
35950 "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>."
35951 msgstr ""
35952
35953 #. type: =item
35954 #: ../src/guestfs.pod:322
35955 msgid "B<file> to B<device>"
35956 msgstr ""
35957
35958 #. type: =item
35959 #: ../src/guestfs.pod:324
35960 msgid "B<device> to B<file>"
35961 msgstr ""
35962
35963 #. type: =item
35964 #: ../src/guestfs.pod:326
35965 msgid "B<device> to B<device>"
35966 msgstr ""
35967
35968 #. type: textblock
35969 #: ../src/guestfs.pod:328
35970 msgid ""
35971 "Use L</guestfs_copy_file_to_device>, L</guestfs_copy_device_to_file>, or L</"
35972 "guestfs_copy_device_to_device>."
35973 msgstr ""
35974
35975 #. type: textblock
35976 #: ../src/guestfs.pod:331
35977 msgid "Example: duplicate the contents of an LV:"
35978 msgstr ""
35979
35980 #. type: verbatim
35981 #: ../src/guestfs.pod:333
35982 #, no-wrap
35983 msgid ""
35984 " guestfs_copy_device_to_device (g,\n"
35985 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
35986 "         /* -1 marks the end of the list of optional parameters */\n"
35987 "         -1);\n"
35988 "\n"
35989 msgstr ""
35990
35991 #. type: textblock
35992 #: ../src/guestfs.pod:338
35993 msgid ""
35994 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
35995 "(C</dev/VG/Original>).  To copy less than the whole source device, use the "
35996 "optional C<size> parameter:"
35997 msgstr ""
35998
35999 #. type: verbatim
36000 #: ../src/guestfs.pod:342
36001 #, no-wrap
36002 msgid ""
36003 " guestfs_copy_device_to_device (g,\n"
36004 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
36005 "         GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, 10000,\n"
36006 "         -1);\n"
36007 "\n"
36008 msgstr ""
36009
36010 #. type: =item
36011 #: ../src/guestfs.pod:347
36012 msgid "B<file on the host> to B<file or device>"
36013 msgstr ""
36014
36015 #. type: textblock
36016 #: ../src/guestfs.pod:349
36017 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
36018 msgstr ""
36019
36020 #. type: =item
36021 #: ../src/guestfs.pod:351
36022 msgid "B<file or device> to B<file on the host>"
36023 msgstr ""
36024
36025 #. type: textblock
36026 #: ../src/guestfs.pod:353
36027 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
36028 msgstr ""
36029
36030 #. type: =head2
36031 #: ../src/guestfs.pod:357
36032 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
36033 msgstr ""
36034
36035 #. type: textblock
36036 #: ../src/guestfs.pod:359
36037 msgid ""
36038 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
36039 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
36040 "appears you can only upload and download to files.  However many Un*x-like "
36041 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
36042 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
36043 "and arbitrary file descriptor N."
36044 msgstr ""
36045
36046 #. type: textblock
36047 #: ../src/guestfs.pod:367
36048 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
36049 msgstr ""
36050
36051 #. type: verbatim
36052 #: ../src/guestfs.pod:370
36053 #, no-wrap
36054 msgid ""
36055 " guestfs_download (g, filename, \"/dev/stdout\");\n"
36056 "\n"
36057 msgstr ""
36058 " guestfs_download (g, filename, \"/dev/stdout\");\n"
36059 "\n"
36060
36061 #. type: textblock
36062 #: ../src/guestfs.pod:372
36063 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
36064 msgstr ""
36065
36066 #. type: verbatim
36067 #: ../src/guestfs.pod:374
36068 #, no-wrap
36069 msgid ""
36070 " char devfd[64];\n"
36071 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
36072 " guestfs_tar_out (g, \"/\", devfd);\n"
36073 "\n"
36074 msgstr ""
36075 " char devfd[64];\n"
36076 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
36077 " guestfs_tar_out (g, \"/\", devfd);\n"
36078 "\n"
36079
36080 #. type: =head2
36081 #: ../src/guestfs.pod:378
36082 msgid "LISTING FILES"
36083 msgstr "СПИСКИ ФАЙЛІВ"
36084
36085 #. type: textblock
36086 #: ../src/guestfs.pod:380
36087 msgid ""
36088 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
36089 "L<guestfish(1)>-equivalent command C<ll>)."
36090 msgstr ""
36091
36092 #. type: textblock
36093 #: ../src/guestfs.pod:383
36094 msgid ""
36095 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
36096 "programs, as a flat list of strings."
36097 msgstr ""
36098
36099 #. type: textblock
36100 #: ../src/guestfs.pod:386
36101 msgid ""
36102 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
36103 "directory, plus additional information about each one.  It is more "
36104 "equivalent to using the L<readdir(3)> call on a local filesystem."
36105 msgstr ""
36106
36107 #. type: textblock
36108 #: ../src/guestfs.pod:390
36109 msgid ""
36110 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
36111 msgstr ""
36112
36113 #. type: =head2
36114 #: ../src/guestfs.pod:393
36115 msgid "RUNNING COMMANDS"
36116 msgstr "ВИКОНАННЯ КОМАНД"
36117
36118 #. type: textblock
36119 #: ../src/guestfs.pod:395
36120 msgid ""
36121 "Although libguestfs is primarily an API for manipulating files inside guest "
36122 "images, we also provide some limited facilities for running commands inside "
36123 "guests."
36124 msgstr ""
36125
36126 #. type: textblock
36127 #: ../src/guestfs.pod:399
36128 msgid "There are many limitations to this:"
36129 msgstr ""
36130
36131 #. type: textblock
36132 #: ../src/guestfs.pod:405
36133 msgid ""
36134 "The kernel version that the command runs under will be different from what "
36135 "it expects."
36136 msgstr ""
36137
36138 #. type: textblock
36139 #: ../src/guestfs.pod:410
36140 msgid ""
36141 "If the command needs to communicate with daemons, then most likely they "
36142 "won't be running."
36143 msgstr ""
36144
36145 #. type: textblock
36146 #: ../src/guestfs.pod:415
36147 msgid "The command will be running in limited memory."
36148 msgstr ""
36149
36150 #. type: textblock
36151 #: ../src/guestfs.pod:419
36152 msgid ""
36153 "The network may not be available unless you enable it (see L</"
36154 "guestfs_set_network>)."
36155 msgstr ""
36156
36157 #. type: textblock
36158 #: ../src/guestfs.pod:424
36159 msgid "Only supports Linux guests (not Windows, BSD, etc)."
36160 msgstr ""
36161
36162 #. type: textblock
36163 #: ../src/guestfs.pod:428
36164 msgid ""
36165 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
36166 msgstr ""
36167
36168 #. type: textblock
36169 #: ../src/guestfs.pod:433
36170 msgid ""
36171 "For SELinux guests, you may need to enable SELinux and load policy first.  "
36172 "See L</SELINUX> in this manpage."
36173 msgstr ""
36174
36175 #. type: textblock
36176 #: ../src/guestfs.pod:438
36177 msgid ""
36178 "I<Security:> It is not safe to run commands from untrusted, possibly "
36179 "malicious guests.  These commands may attempt to exploit your program by "
36180 "sending unexpected output.  They could also try to exploit the Linux kernel "
36181 "or qemu provided by the libguestfs appliance.  They could use the network "
36182 "provided by the libguestfs appliance to bypass ordinary network partitions "
36183 "and firewalls.  They could use the elevated privileges or different SELinux "
36184 "context of your program to their advantage."
36185 msgstr ""
36186
36187 #. type: textblock
36188 #: ../src/guestfs.pod:447
36189 msgid ""
36190 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
36191 "(a script which runs when the guest next boots normally), and to have this "
36192 "script run the commands you want in the normal context of the running guest, "
36193 "network security and so on.  For information about other security issues, "
36194 "see L</SECURITY>."
36195 msgstr ""
36196
36197 #. type: textblock
36198 #: ../src/guestfs.pod:455
36199 msgid ""
36200 "The two main API calls to run commands are L</guestfs_command> and L</"
36201 "guestfs_sh> (there are also variations)."
36202 msgstr ""
36203
36204 #. type: textblock
36205 #: ../src/guestfs.pod:458
36206 msgid ""
36207 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
36208 "shell globs, redirections, etc will work."
36209 msgstr ""
36210
36211 #. type: =head2
36212 #: ../src/guestfs.pod:461
36213 msgid "CONFIGURATION FILES"
36214 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
36215
36216 #. type: textblock
36217 #: ../src/guestfs.pod:463
36218 msgid ""
36219 "To read and write configuration files in Linux guest filesystems, we "
36220 "strongly recommend using Augeas.  For example, Augeas understands how to "
36221 "read and write, say, a Linux shadow password file or X.org configuration "
36222 "file, and so avoids you having to write that code."
36223 msgstr ""
36224
36225 #. type: textblock
36226 #: ../src/guestfs.pod:468
36227 msgid ""
36228 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
36229 "document Augeas itself here because there is excellent documentation on the "
36230 "L<http://augeas.net/> website."
36231 msgstr ""
36232
36233 #. type: textblock
36234 #: ../src/guestfs.pod:472
36235 msgid ""
36236 "If you don't want to use Augeas (you fool!) then try calling L</"
36237 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
36238 "over."
36239 msgstr ""
36240
36241 #. type: =head2
36242 #: ../src/guestfs.pod:476
36243 msgid "SELINUX"
36244 msgstr "SELINUX"
36245
36246 #. type: textblock
36247 #: ../src/guestfs.pod:478
36248 msgid ""
36249 "We support SELinux guests.  To ensure that labeling happens correctly in "
36250 "SELinux guests, you need to enable SELinux and load the guest's policy:"
36251 msgstr ""
36252
36253 #. type: textblock
36254 #: ../src/guestfs.pod:486
36255 msgid "Before launching, do:"
36256 msgstr ""
36257
36258 #. type: verbatim
36259 #: ../src/guestfs.pod:488
36260 #, no-wrap
36261 msgid ""
36262 " guestfs_set_selinux (g, 1);\n"
36263 "\n"
36264 msgstr ""
36265 " guestfs_set_selinux (g, 1);\n"
36266 "\n"
36267
36268 #. type: textblock
36269 #: ../src/guestfs.pod:492
36270 msgid ""
36271 "After mounting the guest's filesystem(s), load the policy.  This is best "
36272 "done by running the L<load_policy(8)> command in the guest itself:"
36273 msgstr ""
36274
36275 #. type: verbatim
36276 #: ../src/guestfs.pod:496
36277 #, no-wrap
36278 msgid ""
36279 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
36280 "\n"
36281 msgstr ""
36282 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
36283 "\n"
36284
36285 #. type: textblock
36286 #: ../src/guestfs.pod:498
36287 msgid ""
36288 "(Older versions of C<load_policy> require you to specify the name of the "
36289 "policy file)."
36290 msgstr ""
36291
36292 #. type: textblock
36293 #: ../src/guestfs.pod:503
36294 msgid ""
36295 "Optionally, set the security context for the API.  The correct security "
36296 "context to use can only be known by inspecting the guest.  As an example:"
36297 msgstr ""
36298
36299 #. type: verbatim
36300 #: ../src/guestfs.pod:507
36301 #, no-wrap
36302 msgid ""
36303 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
36304 "\n"
36305 msgstr ""
36306 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
36307 "\n"
36308
36309 #. type: textblock
36310 #: ../src/guestfs.pod:511
36311 msgid "This will work for running commands and editing existing files."
36312 msgstr ""
36313
36314 #. type: textblock
36315 #: ../src/guestfs.pod:513
36316 msgid ""
36317 "When new files are created, you may need to label them explicitly, for "
36318 "example by running the external command C<restorecon pathname>."
36319 msgstr ""
36320
36321 #. type: =head2
36322 #: ../src/guestfs.pod:517
36323 msgid "UMASK"
36324 msgstr "UMASK"
36325
36326 #. type: textblock
36327 #: ../src/guestfs.pod:519
36328 msgid ""
36329 "Certain calls are affected by the current file mode creation mask (the "
36330 "\"umask\").  In particular ones which create files or directories, such as "
36331 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
36332 "either the default mode that the file is created with or modifies the mode "
36333 "that you supply."
36334 msgstr ""
36335
36336 #. type: textblock
36337 #: ../src/guestfs.pod:525
36338 msgid ""
36339 "The default umask is C<022>, so files are created with modes such as C<0644> "
36340 "and directories with C<0755>."
36341 msgstr ""
36342
36343 #. type: textblock
36344 #: ../src/guestfs.pod:528
36345 msgid ""
36346 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
36347 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
36348 "guestfs_chmod> after creating each file or directory."
36349 msgstr ""
36350
36351 #. type: textblock
36352 #: ../src/guestfs.pod:532
36353 msgid "For more information about umask, see L<umask(2)>."
36354 msgstr ""
36355
36356 #. type: textblock
36357 #: ../src/guestfs.pod:536
36358 msgid ""
36359 "Libguestfs allows you to access Linux guests which have been encrypted using "
36360 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
36361 "standard.  This includes nearly all whole disk encryption systems used by "
36362 "modern Linux guests."
36363 msgstr ""
36364
36365 #. type: textblock
36366 #: ../src/guestfs.pod:542
36367 msgid ""
36368 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
36369 "returns the string C<crypto_LUKS>)."
36370 msgstr ""
36371
36372 #. type: textblock
36373 #: ../src/guestfs.pod:545
36374 msgid ""
36375 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
36376 "will require the passphrase!"
36377 msgstr ""
36378
36379 #. type: textblock
36380 #: ../src/guestfs.pod:548
36381 msgid ""
36382 "Opening a LUKS device creates a new device mapper device called C</dev/"
36383 "mapper/mapname> (where C<mapname> is the string you supply to L</"
36384 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
36385 "from and encrypted to the underlying block device respectively."
36386 msgstr ""
36387
36388 #. type: textblock
36389 #: ../src/guestfs.pod:554
36390 msgid ""
36391 "LVM volume groups on the device can be made visible by calling L</"
36392 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
36393 "(s) can now be mounted in the usual way."
36394 msgstr ""
36395
36396 #. type: textblock
36397 #: ../src/guestfs.pod:558
36398 msgid ""
36399 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
36400 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
36401 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
36402 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
36403 "underlying encrypted block device)."
36404 msgstr ""
36405
36406 #. type: =head2
36407 #: ../src/guestfs.pod:565
36408 msgid "INSPECTION"
36409 msgstr "ПЕРЕВІРКА"
36410
36411 #. type: textblock
36412 #: ../src/guestfs.pod:567
36413 msgid ""
36414 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
36415 "contains operating systems, an install CD or a live CD.  (These APIs used to "
36416 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
36417 "version 1.5.3 the most frequently used part of this library has been "
36418 "rewritten in C and moved into the core code)."
36419 msgstr ""
36420
36421 #. type: textblock
36422 #: ../src/guestfs.pod:574
36423 msgid ""
36424 "Add all disks belonging to the unknown virtual machine and call L</"
36425 "guestfs_launch> in the usual way."
36426 msgstr ""
36427
36428 #. type: textblock
36429 #: ../src/guestfs.pod:577
36430 msgid ""
36431 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
36432 "and certain heuristics, and returns a list of operating systems that were "
36433 "found.  An empty list means none were found.  A single element is the root "
36434 "filesystem of the operating system.  For dual- or multi-boot guests, "
36435 "multiple roots can be returned, each one corresponding to a separate "
36436 "operating system.  (Multi-boot virtual machines are extremely rare in the "
36437 "world of virtualization, but since this scenario can happen, we have built "
36438 "libguestfs to deal with it.)"
36439 msgstr ""
36440
36441 #. type: textblock
36442 #: ../src/guestfs.pod:586
36443 msgid ""
36444 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
36445 "to get additional details about that operating system.  For example, call L</"
36446 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
36447 "Windows and Linux-based operating systems respectively."
36448 msgstr ""
36449
36450 #. type: textblock
36451 #: ../src/guestfs.pod:592
36452 msgid ""
36453 "Un*x-like and Linux-based operating systems usually consist of several "
36454 "filesystems which are mounted at boot time (for example, a separate boot "
36455 "partition mounted on C</boot>).  The inspection rules are able to detect how "
36456 "filesystems correspond to mount points.  Call "
36457 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
36458 "hash table like this example:"
36459 msgstr ""
36460
36461 #. type: verbatim
36462 #: ../src/guestfs.pod:599
36463 #, no-wrap
36464 msgid ""
36465 " /boot => /dev/sda1\n"
36466 " /     => /dev/vg_guest/lv_root\n"
36467 " /usr  => /dev/vg_guest/lv_usr\n"
36468 "\n"
36469 msgstr ""
36470 " /boot => /dev/sda1\n"
36471 " /     => /dev/vg_guest/lv_root\n"
36472 " /usr  => /dev/vg_guest/lv_usr\n"
36473 "\n"
36474
36475 #. type: textblock
36476 #: ../src/guestfs.pod:603
36477 msgid ""
36478 "The caller can then make calls to L</guestfs_mount_options> to mount the "
36479 "filesystems as suggested."
36480 msgstr ""
36481
36482 #. type: textblock
36483 #: ../src/guestfs.pod:606
36484 msgid ""
36485 "Be careful to mount filesystems in the right order (eg. C</> before C</"
36486 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
36487 msgstr ""
36488
36489 #. type: textblock
36490 #: ../src/guestfs.pod:610
36491 msgid ""
36492 "Inspection currently only works for some common operating systems.  "
36493 "Contributors are welcome to send patches for other operating systems that we "
36494 "currently cannot detect."
36495 msgstr ""
36496
36497 #. type: textblock
36498 #: ../src/guestfs.pod:614
36499 msgid ""
36500 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
36501 "for more details.  The L</guestfs_inspect_os> function just ignores any "
36502 "encrypted devices."
36503 msgstr ""
36504
36505 #. type: textblock
36506 #: ../src/guestfs.pod:618
36507 msgid ""
36508 "A note on the implementation: The call L</guestfs_inspect_os> performs "
36509 "inspection and caches the results in the guest handle.  Subsequent calls to "
36510 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
36511 "read the disks.  If you change the content of the guest disks, you can redo "
36512 "inspection by calling L</guestfs_inspect_os> again.  (L</"
36513 "guestfs_inspect_list_applications> works a little differently from the other "
36514 "calls and does read the disks.  See documentation for that function for "
36515 "details)."
36516 msgstr ""
36517
36518 #. type: =head3
36519 #: ../src/guestfs.pod:627
36520 msgid "INSPECTING INSTALL DISKS"
36521 msgstr ""
36522
36523 #. type: textblock
36524 #: ../src/guestfs.pod:629
36525 msgid ""
36526 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
36527 "CDs and more."
36528 msgstr ""
36529
36530 #. type: textblock
36531 #: ../src/guestfs.pod:632
36532 msgid ""
36533 "Call L</guestfs_inspect_get_format> to return the format of the operating "
36534 "system, which currently can be C<installed> (a regular operating system) or "
36535 "C<installer> (some sort of install disk)."
36536 msgstr ""
36537
36538 #. type: textblock
36539 #: ../src/guestfs.pod:636
36540 msgid ""
36541 "Further information is available about the operating system that can be "
36542 "installed using the regular inspection APIs like L</"
36543 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
36544 msgstr ""
36545
36546 #. type: textblock
36547 #: ../src/guestfs.pod:641
36548 msgid ""
36549 "Some additional information specific to installer disks is also available "
36550 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
36551 "guestfs_inspect_is_multipart> calls."
36552 msgstr ""
36553
36554 #. type: =head2
36555 #: ../src/guestfs.pod:646
36556 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
36557 msgstr ""
36558
36559 #. type: textblock
36560 #: ../src/guestfs.pod:648
36561 msgid ""
36562 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
36563 "ntfs-3g.org/> driver."
36564 msgstr ""
36565
36566 #. type: =head3
36567 #: ../src/guestfs.pod:651
36568 msgid "DRIVE LETTERS AND PATHS"
36569 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
36570
36571 #. type: textblock
36572 #: ../src/guestfs.pod:653
36573 msgid ""
36574 "DOS and Windows still use drive letters, and the filesystems are always "
36575 "treated as case insensitive by Windows itself, and therefore you might find "
36576 "a Windows configuration file referring to a path like C<c:\\windows"
36577 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
36578 "might be referred to as C</WINDOWS/System32>."
36579 msgstr ""
36580
36581 #. type: textblock
36582 #: ../src/guestfs.pod:659
36583 msgid ""
36584 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
36585 "L</guestfs_inspect_get_drive_mappings>)"
36586 msgstr ""
36587
36588 #. type: textblock
36589 #: ../src/guestfs.pod:662
36590 msgid ""
36591 "Dealing with separator characters (backslash vs forward slash) is outside "
36592 "the scope of libguestfs, but usually a simple character replacement will "
36593 "work."
36594 msgstr ""
36595
36596 #. type: textblock
36597 #: ../src/guestfs.pod:666
36598 msgid ""
36599 "To resolve the case insensitivity of paths, call L</"
36600 "guestfs_case_sensitive_path>."
36601 msgstr ""
36602
36603 #. type: =head3
36604 #: ../src/guestfs.pod:669
36605 msgid "ACCESSING THE WINDOWS REGISTRY"
36606 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
36607
36608 #. type: textblock
36609 #: ../src/guestfs.pod:671
36610 msgid ""
36611 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
36612 "files, through the library C<hivex> which is part of the libguestfs project "
36613 "although ships as a separate tarball.  You have to locate and download the "
36614 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
36615 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
36616 "reg(1)> for more help on this issue."
36617 msgstr ""
36618
36619 #. type: =head3
36620 #: ../src/guestfs.pod:679
36621 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
36622 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
36623
36624 #. type: textblock
36625 #: ../src/guestfs.pod:681
36626 msgid ""
36627 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
36628 "provide something which looks like a Linux symlink.  The way it tries to do "
36629 "the rewriting is described here:"
36630 msgstr ""
36631
36632 #. type: textblock
36633 #: ../src/guestfs.pod:685
36634 msgid ""
36635 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
36636 "symbolic-links/>"
36637 msgstr ""
36638 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
36639 "symbolic-links/>"
36640
36641 #. type: textblock
36642 #: ../src/guestfs.pod:687
36643 msgid ""
36644 "The essential problem is that ntfs-3g simply does not have enough "
36645 "information to do a correct job.  NTFS links can contain drive letters and "
36646 "references to external device GUIDs that ntfs-3g has no way of resolving.  "
36647 "It is almost certainly the case that libguestfs callers should ignore what "
36648 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
36649 msgstr ""
36650
36651 #. type: textblock
36652 #: ../src/guestfs.pod:694
36653 msgid ""
36654 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
36655 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
36656 "attribute, and read the raw reparse data from that (you can find the format "
36657 "documented in various places around the web)."
36658 msgstr ""
36659
36660 #. type: =head3
36661 #: ../src/guestfs.pod:699
36662 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
36663 msgstr ""
36664
36665 #. type: textblock
36666 #: ../src/guestfs.pod:701
36667 msgid ""
36668 "There are other useful extended attributes that can be read from ntfs-3g "
36669 "filesystems (using L</guestfs_getxattr>).  See:"
36670 msgstr ""
36671
36672 #. type: textblock
36673 #: ../src/guestfs.pod:704
36674 msgid ""
36675 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
36676 msgstr ""
36677 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
36678
36679 #. type: =head2
36680 #: ../src/guestfs.pod:706
36681 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
36682 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
36683
36684 #. type: textblock
36685 #: ../src/guestfs.pod:708
36686 msgid ""
36687 "Although we don't want to discourage you from using the C API, we will "
36688 "mention here that the same API is also available in other languages."
36689 msgstr ""
36690
36691 #. type: textblock
36692 #: ../src/guestfs.pod:711
36693 msgid ""
36694 "The API is broadly identical in all supported languages.  This means that "
36695 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
36696 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
36697 "OCaml.  In other words, a straightforward, predictable isomorphism between "
36698 "each language."
36699 msgstr ""
36700
36701 #. type: textblock
36702 #: ../src/guestfs.pod:717
36703 msgid ""
36704 "Error messages are automatically transformed into exceptions if the language "
36705 "supports it."
36706 msgstr ""
36707
36708 #. type: textblock
36709 #: ../src/guestfs.pod:720
36710 msgid ""
36711 "We don't try to \"object orientify\" parts of the API in OO languages, "
36712 "although contributors are welcome to write higher level APIs above what we "
36713 "provide in their favourite languages if they wish."
36714 msgstr ""
36715
36716 #. type: =item
36717 #: ../src/guestfs.pod:726
36718 msgid "B<C++>"
36719 msgstr "B<C++>"
36720
36721 #. type: textblock
36722 #: ../src/guestfs.pod:728
36723 msgid ""
36724 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
36725 "identical to the C API.  C++ classes and exceptions are not used."
36726 msgstr ""
36727
36728 #. type: =item
36729 #: ../src/guestfs.pod:732
36730 msgid "B<C#>"
36731 msgstr "B<C#>"
36732
36733 #. type: textblock
36734 #: ../src/guestfs.pod:734
36735 msgid ""
36736 "The C# bindings are highly experimental.  Please read the warnings at the "
36737 "top of C<csharp/Libguestfs.cs>."
36738 msgstr ""
36739
36740 #. type: =item
36741 #: ../src/guestfs.pod:737
36742 msgid "B<Erlang>"
36743 msgstr ""
36744
36745 #. type: textblock
36746 #: ../src/guestfs.pod:739
36747 msgid "See L<guestfs-erlang(3)>."
36748 msgstr ""
36749
36750 #. type: =item
36751 #: ../src/guestfs.pod:741
36752 msgid "B<Haskell>"
36753 msgstr "B<Haskell>"
36754
36755 #. type: textblock
36756 #: ../src/guestfs.pod:743
36757 msgid ""
36758 "This is the only language binding that is working but incomplete.  Only "
36759 "calls which return simple integers have been bound in Haskell, and we are "
36760 "looking for help to complete this binding."
36761 msgstr ""
36762
36763 #. type: =item
36764 #: ../src/guestfs.pod:747
36765 msgid "B<Java>"
36766 msgstr "B<Java>"
36767
36768 #. type: textblock
36769 #: ../src/guestfs.pod:749
36770 msgid ""
36771 "Full documentation is contained in the Javadoc which is distributed with "
36772 "libguestfs.  For examples, see L<guestfs-java(3)>."
36773 msgstr ""
36774
36775 #. type: =item
36776 #: ../src/guestfs.pod:752
36777 msgid "B<OCaml>"
36778 msgstr "B<OCaml>"
36779
36780 #. type: textblock
36781 #: ../src/guestfs.pod:754
36782 msgid "See L<guestfs-ocaml(3)>."
36783 msgstr "Див. L<guestfs-ocaml(3)>."
36784
36785 #. type: =item
36786 #: ../src/guestfs.pod:756
36787 msgid "B<Perl>"
36788 msgstr "B<Perl>"
36789
36790 #. type: textblock
36791 #: ../src/guestfs.pod:758
36792 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
36793 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
36794
36795 #. type: =item
36796 #: ../src/guestfs.pod:760
36797 msgid "B<PHP>"
36798 msgstr "B<PHP>"
36799
36800 #. type: textblock
36801 #: ../src/guestfs.pod:762
36802 msgid ""
36803 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
36804 "the php-libguestfs package for your distribution."
36805 msgstr ""
36806
36807 #. type: textblock
36808 #: ../src/guestfs.pod:765
36809 msgid "The PHP binding only works correctly on 64 bit machines."
36810 msgstr ""
36811
36812 #. type: =item
36813 #: ../src/guestfs.pod:767
36814 msgid "B<Python>"
36815 msgstr "B<Python>"
36816
36817 #. type: textblock
36818 #: ../src/guestfs.pod:769
36819 msgid "See L<guestfs-python(3)>."
36820 msgstr "Див. L<guestfs-python(3)>."
36821
36822 #. type: =item
36823 #: ../src/guestfs.pod:771
36824 msgid "B<Ruby>"
36825 msgstr "B<Ruby>"
36826
36827 #. type: textblock
36828 #: ../src/guestfs.pod:773
36829 msgid "See L<guestfs-ruby(3)>."
36830 msgstr "Див. L<guestfs-ruby(3)>."
36831
36832 #. type: =item
36833 #: ../src/guestfs.pod:775
36834 msgid "B<shell scripts>"
36835 msgstr "B<скрипти оболонки>"
36836
36837 #. type: textblock
36838 #: ../src/guestfs.pod:777
36839 msgid "See L<guestfish(1)>."
36840 msgstr "Див. L<guestfish(1)>."
36841
36842 #. type: =head2
36843 #: ../src/guestfs.pod:781
36844 msgid "LIBGUESTFS GOTCHAS"
36845 msgstr ""
36846
36847 #. type: textblock
36848 #: ../src/guestfs.pod:783
36849 msgid ""
36850 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
36851 "system [...] that works in the way it is documented but is counterintuitive "
36852 "and almost invites mistakes.\""
36853 msgstr ""
36854
36855 #. type: textblock
36856 #: ../src/guestfs.pod:787
36857 msgid ""
36858 "Since we developed libguestfs and the associated tools, there are several "
36859 "things we would have designed differently, but are now stuck with for "
36860 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
36861 "release, you can expect these to change.  Beware of them."
36862 msgstr ""
36863
36864 #. type: =item
36865 #: ../src/guestfs.pod:795
36866 msgid "Autosync / forgetting to sync."
36867 msgstr ""
36868
36869 #. type: textblock
36870 #: ../src/guestfs.pod:797
36871 msgid ""
36872 "I<Update:> Autosync is enabled by default for all API users starting from "
36873 "libguestfs 1.5.24.  This section only applies to older versions."
36874 msgstr ""
36875
36876 #. type: textblock
36877 #: ../src/guestfs.pod:800
36878 msgid ""
36879 "When modifying a filesystem from C or another language, you B<must> unmount "
36880 "all filesystems and call L</guestfs_sync> explicitly before you close the "
36881 "libguestfs handle.  You can also call:"
36882 msgstr ""
36883
36884 #. type: verbatim
36885 #: ../src/guestfs.pod:804
36886 #, no-wrap
36887 msgid ""
36888 " guestfs_set_autosync (g, 1);\n"
36889 "\n"
36890 msgstr ""
36891 " guestfs_set_autosync (g, 1);\n"
36892 "\n"
36893
36894 #. type: textblock
36895 #: ../src/guestfs.pod:806
36896 msgid ""
36897 "to have the unmount/sync done automatically for you when the handle 'g' is "
36898 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
36899 msgstr ""
36900
36901 #. type: textblock
36902 #: ../src/guestfs.pod:810
36903 msgid ""
36904 "If you forget to do this, then it is entirely possible that your changes "
36905 "won't be written out, or will be partially written, or (very rarely) that "
36906 "you'll get disk corruption."
36907 msgstr ""
36908
36909 #. type: textblock
36910 #: ../src/guestfs.pod:814
36911 msgid ""
36912 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
36913 "guestfish scripts that forget to sync will work just fine, which can make "
36914 "this very puzzling if you are trying to debug a problem."
36915 msgstr ""
36916
36917 #. type: =item
36918 #: ../src/guestfs.pod:818
36919 msgid "Mount option C<-o sync> should not be the default."
36920 msgstr ""
36921
36922 #. type: textblock
36923 #: ../src/guestfs.pod:820
36924 msgid ""
36925 "I<Update:> L</guestfs_mount> no longer adds any options starting from "
36926 "libguestfs 1.13.16.  This section only applies to older versions."
36927 msgstr ""
36928
36929 #. type: textblock
36930 #: ../src/guestfs.pod:823
36931 msgid ""
36932 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
36933 "However C<-o sync> does not add any reliability benefit, but does have a "
36934 "very large performance impact."
36935 msgstr ""
36936
36937 #. type: textblock
36938 #: ../src/guestfs.pod:827
36939 msgid ""
36940 "The work around is to use L</guestfs_mount_options> and set the mount "
36941 "options that you actually want to use."
36942 msgstr ""
36943
36944 #. type: =item
36945 #: ../src/guestfs.pod:830
36946 msgid "Read-only should be the default."
36947 msgstr ""
36948
36949 #. type: textblock
36950 #: ../src/guestfs.pod:832
36951 msgid ""
36952 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
36953 "specify I<--rw> if you want to make changes to the image."
36954 msgstr ""
36955
36956 #. type: textblock
36957 #: ../src/guestfs.pod:835
36958 msgid "This would reduce the potential to corrupt live VM images."
36959 msgstr ""
36960
36961 #. type: textblock
36962 #: ../src/guestfs.pod:837
36963 msgid ""
36964 "Note that many filesystems change the disk when you just mount and unmount, "
36965 "even if you didn't perform any writes.  You need to use L</"
36966 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
36967 msgstr ""
36968
36969 #. type: =item
36970 #: ../src/guestfs.pod:841
36971 msgid "guestfish command line is hard to use."
36972 msgstr ""
36973
36974 #. type: textblock
36975 #: ../src/guestfs.pod:843
36976 msgid ""
36977 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
36978 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
36979 "exist, so it fails.  In earlier versions of guestfish the error message was "
36980 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
36981 "we should have used C<guestfish -c command> to run commands."
36982 msgstr ""
36983
36984 #. type: =item
36985 #: ../src/guestfs.pod:850
36986 msgid "guestfish megabyte modifiers don't work right on all commands"
36987 msgstr ""
36988
36989 #. type: textblock
36990 #: ../src/guestfs.pod:852
36991 msgid ""
36992 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
36993 "other modifiers).  What guestfish actually does is to multiply the number "
36994 "part by the modifier part and pass the result to the C API.  However this "
36995 "doesn't work for a few APIs which aren't expecting bytes, but are already "
36996 "expecting some other unit (eg. megabytes)."
36997 msgstr ""
36998
36999 #. type: textblock
37000 #: ../src/guestfs.pod:859
37001 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
37002 msgstr ""
37003
37004 #. type: verbatim
37005 #: ../src/guestfs.pod:861
37006 #, no-wrap
37007 msgid ""
37008 " lvcreate LV VG 100M\n"
37009 "\n"
37010 msgstr ""
37011 " lvcreate LV VG 100M\n"
37012 "\n"
37013
37014 #. type: textblock
37015 #: ../src/guestfs.pod:863
37016 msgid ""
37017 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
37018 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
37019 "megabytes * megabytes) logical volume.  The error message you get from this "
37020 "is also a little obscure."
37021 msgstr ""
37022
37023 #. type: textblock
37024 #: ../src/guestfs.pod:868
37025 msgid ""
37026 "This could be fixed in the generator by specially marking parameters and "
37027 "return values which take bytes or other units."
37028 msgstr ""
37029
37030 #. type: =item
37031 #: ../src/guestfs.pod:871
37032 msgid "Ambiguity between devices and paths"
37033 msgstr ""
37034
37035 #. type: textblock
37036 #: ../src/guestfs.pod:873
37037 msgid ""
37038 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
37039 "sdb2>) and a similar pathname.  A file might just happen to be called "
37040 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
37041 msgstr ""
37042
37043 #. type: textblock
37044 #: ../src/guestfs.pod:878
37045 msgid ""
37046 "In the current API we usually resolve this ambiguity by having two separate "
37047 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
37048 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
37049 "detecting if the path supplied begins with C</dev/>."
37050 msgstr ""
37051
37052 #. type: textblock
37053 #: ../src/guestfs.pod:884
37054 msgid ""
37055 "To avoid both the ambiguity and the need to duplicate some calls, we could "
37056 "make paths/devices into structured names.  One way to do this would be to "
37057 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
37058 "aspect of grub.  Another way would be to use a structured type, equivalent "
37059 "to this OCaml type:"
37060 msgstr ""
37061
37062 #. type: verbatim
37063 #: ../src/guestfs.pod:890
37064 #, no-wrap
37065 msgid ""
37066 " type path = Path of string | Device of int | Partition of int * int\n"
37067 "\n"
37068 msgstr ""
37069
37070 #. type: textblock
37071 #: ../src/guestfs.pod:892
37072 msgid "which would allow you to pass arguments like:"
37073 msgstr ""
37074
37075 #. type: verbatim
37076 #: ../src/guestfs.pod:894
37077 #, no-wrap
37078 msgid ""
37079 " Path \"/foo/bar\"\n"
37080 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
37081 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
37082 " Path \"/dev/sdb2\"    (* not a device *)\n"
37083 "\n"
37084 msgstr ""
37085
37086 #. type: textblock
37087 #: ../src/guestfs.pod:899
37088 msgid ""
37089 "As you can see there are still problems to resolve even with this "
37090 "representation.  Also consider how it might work in guestfish."
37091 msgstr ""
37092
37093 #. type: =head2
37094 #: ../src/guestfs.pod:904
37095 msgid "KEYS AND PASSPHRASES"
37096 msgstr "КЛЮЧІ І ПАРОЛІ"
37097
37098 #. type: textblock
37099 #: ../src/guestfs.pod:906
37100 msgid ""
37101 "Certain libguestfs calls take a parameter that contains sensitive key "
37102 "material, passed in as a C string."
37103 msgstr ""
37104
37105 #. type: textblock
37106 #: ../src/guestfs.pod:909
37107 msgid ""
37108 "In the future we would hope to change the libguestfs implementation so that "
37109 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
37110 "swap.  However this is I<not> done at the moment, because of the complexity "
37111 "of such an implementation."
37112 msgstr ""
37113
37114 #. type: textblock
37115 #: ../src/guestfs.pod:914
37116 msgid ""
37117 "Therefore you should be aware that any key parameter you pass to libguestfs "
37118 "might end up being written out to the swap partition.  If this is a concern, "
37119 "scrub the swap partition or don't use libguestfs on encrypted devices."
37120 msgstr ""
37121
37122 #. type: =head2
37123 #: ../src/guestfs.pod:919
37124 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
37125 msgstr ""
37126
37127 #. type: textblock
37128 #: ../src/guestfs.pod:921
37129 msgid ""
37130 "All high-level libguestfs actions are synchronous.  If you want to use "
37131 "libguestfs asynchronously then you must create a thread."
37132 msgstr ""
37133
37134 #. type: textblock
37135 #: ../src/guestfs.pod:924
37136 msgid ""
37137 "Only use the handle from a single thread.  Either use the handle exclusively "
37138 "from one thread, or provide your own mutex so that two threads cannot issue "
37139 "calls on the same handle at the same time."
37140 msgstr ""
37141
37142 #. type: textblock
37143 #: ../src/guestfs.pod:928
37144 msgid ""
37145 "See the graphical program guestfs-browser for one possible architecture for "
37146 "multithreaded programs using libvirt and libguestfs."
37147 msgstr ""
37148
37149 #. type: =head2
37150 #: ../src/guestfs.pod:931
37151 msgid "PATH"
37152 msgstr "ШЛЯХ"
37153
37154 #. type: textblock
37155 #: ../src/guestfs.pod:933
37156 msgid ""
37157 "Libguestfs needs a supermin appliance, which it finds by looking along an "
37158 "internal path."
37159 msgstr ""
37160
37161 #. type: textblock
37162 #: ../src/guestfs.pod:936
37163 msgid ""
37164 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
37165 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
37166 msgstr ""
37167
37168 #. type: textblock
37169 #: ../src/guestfs.pod:939
37170 msgid ""
37171 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
37172 "to change the directories that libguestfs will search in.  The value is a "
37173 "colon-separated list of paths.  The current directory is I<not> searched "
37174 "unless the path contains an empty element or C<.>.  For example "
37175 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
37176 "then C</usr/lib/guestfs>."
37177 msgstr ""
37178
37179 #. type: =head2
37180 #: ../src/guestfs.pod:946
37181 msgid "QEMU WRAPPERS"
37182 msgstr ""
37183
37184 #. type: textblock
37185 #: ../src/guestfs.pod:948
37186 msgid ""
37187 "If you want to compile your own qemu, run qemu from a non-standard location, "
37188 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
37189 "around qemu."
37190 msgstr ""
37191
37192 #. type: textblock
37193 #: ../src/guestfs.pod:952
37194 msgid ""
37195 "There is one important rule to remember: you I<must C<exec qemu>> as the "
37196 "last command in the shell script (so that qemu replaces the shell and "
37197 "becomes the direct child of the libguestfs-using program).  If you don't do "
37198 "this, then the qemu process won't be cleaned up correctly."
37199 msgstr ""
37200
37201 #. type: textblock
37202 #: ../src/guestfs.pod:957
37203 msgid ""
37204 "Here is an example of a wrapper, where I have built my own copy of qemu from "
37205 "source:"
37206 msgstr ""
37207
37208 #. type: verbatim
37209 #: ../src/guestfs.pod:960
37210 #, no-wrap
37211 msgid ""
37212 " #!/bin/sh -\n"
37213 " qemudir=/home/rjones/d/qemu\n"
37214 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
37215 "\n"
37216 msgstr ""
37217 " #!/bin/sh -\n"
37218 " qemudir=/home/rjones/d/qemu\n"
37219 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
37220 "\n"
37221
37222 #. type: textblock
37223 #: ../src/guestfs.pod:964
37224 msgid ""
37225 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
37226 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
37227 "example:"
37228 msgstr ""
37229
37230 #. type: verbatim
37231 #: ../src/guestfs.pod:968
37232 #, no-wrap
37233 msgid ""
37234 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
37235 "\n"
37236 msgstr ""
37237 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
37238 "\n"
37239
37240 #. type: textblock
37241 #: ../src/guestfs.pod:970
37242 msgid ""
37243 "Note that libguestfs also calls qemu with the -help and -version options in "
37244 "order to determine features."
37245 msgstr ""
37246
37247 #. type: textblock
37248 #: ../src/guestfs.pod:973
37249 msgid ""
37250 "Wrappers can also be used to edit the options passed to qemu.  In the "
37251 "following example, the C<-machine ...> option (C<-machine> and the following "
37252 "argument) are removed from the command line and replaced with C<-machine pc,"
37253 "accel=tcg>.  The while loop iterates over the options until it finds the "
37254 "right one to remove, putting the remaining options into the C<args> array."
37255 msgstr ""
37256
37257 #. type: verbatim
37258 #: ../src/guestfs.pod:982
37259 #, no-wrap
37260 msgid ""
37261 " i=0\n"
37262 " while [ $# -gt 0 ]; do\n"
37263 "     case \"$1\" in\n"
37264 "     -machine)\n"
37265 "         shift 2;;\n"
37266 "     *)\n"
37267 "         args[i]=\"$1\"\n"
37268 "         (( i++ ))\n"
37269 "         shift ;;\n"
37270 "     esac\n"
37271 " done\n"
37272 " \n"
37273 msgstr ""
37274
37275 #. type: verbatim
37276 #: ../src/guestfs.pod:994
37277 #, no-wrap
37278 msgid ""
37279 " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n"
37280 "\n"
37281 msgstr ""
37282
37283 #. type: =head2
37284 #: ../src/guestfs.pod:996
37285 msgid "ATTACHING TO RUNNING DAEMONS"
37286 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
37287
37288 #. type: textblock
37289 #: ../src/guestfs.pod:998
37290 msgid ""
37291 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
37292 "babies.  Use with caution."
37293 msgstr ""
37294
37295 #. type: textblock
37296 #: ../src/guestfs.pod:1001
37297 msgid ""
37298 "I<Note (2):> This section explains how to attach to a running daemon from a "
37299 "low level perspective.  For most users, simply using virt tools such as "
37300 "L<guestfish(1)> with the I<--live> option will \"just work\"."
37301 msgstr ""
37302
37303 #. type: =head3
37304 #: ../src/guestfs.pod:1005
37305 msgid "Using guestfs_set_attach_method"
37306 msgstr "За допомогою guestfs_set_attach_method"
37307
37308 #. type: textblock
37309 #: ../src/guestfs.pod:1007
37310 msgid ""
37311 "By calling L</guestfs_set_attach_method> you can change how the library "
37312 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
37313 "ARCHITECTURE> for some background)."
37314 msgstr ""
37315
37316 #. type: textblock
37317 #: ../src/guestfs.pod:1011
37318 msgid ""
37319 "The normal attach method is C<appliance>, where a small appliance is created "
37320 "containing the daemon, and then the library connects to this."
37321 msgstr ""
37322
37323 #. type: textblock
37324 #: ../src/guestfs.pod:1014
37325 msgid ""
37326 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
37327 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
37328 "daemon over the Unix domain socket."
37329 msgstr ""
37330
37331 #. type: textblock
37332 #: ../src/guestfs.pod:1018
37333 msgid ""
37334 "The normal use for this is to connect to a running virtual machine that "
37335 "contains a C<guestfsd> daemon, and send commands so you can read and write "
37336 "files inside the live virtual machine."
37337 msgstr ""
37338
37339 #. type: =head3
37340 #: ../src/guestfs.pod:1022
37341 msgid "Using guestfs_add_domain with live flag"
37342 msgstr "За допомогою guestfs_add_domain з прапорцем live"
37343
37344 #. type: textblock
37345 #: ../src/guestfs.pod:1024
37346 msgid ""
37347 "L</guestfs_add_domain> provides some help for getting the correct attach "
37348 "method.  If you pass the C<live> option to this function, then (if the "
37349 "virtual machine is running) it will examine the libvirt XML looking for a "
37350 "virtio-serial channel to connect to:"
37351 msgstr ""
37352
37353 #. type: verbatim
37354 #: ../src/guestfs.pod:1030
37355 #, no-wrap
37356 msgid ""
37357 " <domain>\n"
37358 "   ...\n"
37359 "   <devices>\n"
37360 "     ...\n"
37361 "     <channel type='unix'>\n"
37362 "       <source mode='bind' path='/path/to/socket'/>\n"
37363 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
37364 "     </channel>\n"
37365 "     ...\n"
37366 "   </devices>\n"
37367 " </domain>\n"
37368 "\n"
37369 msgstr ""
37370 " <domain>\n"
37371 "   ...\n"
37372 "   <devices>\n"
37373 "     ...\n"
37374 "     <channel type='unix'>\n"
37375 "       <source mode='bind' path='/path/to/socket'/>\n"
37376 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
37377 "     </channel>\n"
37378 "     ...\n"
37379 "   </devices>\n"
37380 " </domain>\n"
37381 "\n"
37382
37383 #. type: textblock
37384 #: ../src/guestfs.pod:1042
37385 msgid ""
37386 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
37387 "method to C<unix:/path/to/socket>."
37388 msgstr ""
37389
37390 #. type: textblock
37391 #: ../src/guestfs.pod:1045
37392 msgid ""
37393 "Some of the libguestfs tools (including guestfish) support a I<--live> "
37394 "option which is passed through to L</guestfs_add_domain> thus allowing you "
37395 "to attach to and modify live virtual machines."
37396 msgstr ""
37397
37398 #. type: textblock
37399 #: ../src/guestfs.pod:1049
37400 msgid ""
37401 "The virtual machine needs to have been set up beforehand so that it has the "
37402 "virtio-serial channel and so that guestfsd is running inside it."
37403 msgstr ""
37404
37405 #. type: =head2
37406 #: ../src/guestfs.pod:1053
37407 msgid "ABI GUARANTEE"
37408 msgstr "ГАРАНТІЯ ЩОДО ABI"
37409
37410 #. type: textblock
37411 #: ../src/guestfs.pod:1055
37412 msgid ""
37413 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
37414 "actions as outlined in this section.  Although we will deprecate some "
37415 "actions, for example if they get replaced by newer calls, we will keep the "
37416 "old actions forever.  This allows you the developer to program in confidence "
37417 "against the libguestfs API."
37418 msgstr ""
37419
37420 #. type: =head2
37421 #: ../src/guestfs.pod:1061
37422 msgid "BLOCK DEVICE NAMING"
37423 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
37424
37425 #. type: textblock
37426 #: ../src/guestfs.pod:1063
37427 msgid ""
37428 "In the kernel there is now quite a profusion of schemata for naming block "
37429 "devices (in this context, by I<block device> I mean a physical or virtual "
37430 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
37431 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
37432 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
37433 "for the old IDE driver (particularly for SATA devices) those devices also "
37434 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
37435 "paravirtualized drivers.  This has created several different naming systems, "
37436 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
37437 msgstr ""
37438
37439 #. type: textblock
37440 #: ../src/guestfs.pod:1075
37441 msgid ""
37442 "As discussed above, libguestfs uses a qemu appliance running an embedded "
37443 "Linux kernel to access block devices.  We can run a variety of appliances "
37444 "based on a variety of Linux kernels."
37445 msgstr ""
37446
37447 #. type: textblock
37448 #: ../src/guestfs.pod:1079
37449 msgid ""
37450 "This causes a problem for libguestfs because many API calls use device or "
37451 "partition names.  Working scripts and the recipe (example) scripts that we "
37452 "make available over the internet could fail if the naming scheme changes."
37453 msgstr ""
37454
37455 #. type: textblock
37456 #: ../src/guestfs.pod:1084
37457 msgid ""
37458 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
37459 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
37460 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
37461 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
37462 msgstr ""
37463
37464 #. type: textblock
37465 #: ../src/guestfs.pod:1090
37466 msgid ""
37467 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
37468 "L</guestfs_list_partitions> and similar calls return the true names of the "
37469 "devices and partitions as known to the appliance."
37470 msgstr ""
37471
37472 #. type: =head3
37473 #: ../src/guestfs.pod:1095
37474 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
37475 msgstr ""
37476
37477 #. type: textblock
37478 #: ../src/guestfs.pod:1097
37479 msgid ""
37480 "Usually this translation is transparent.  However in some (very rare)  cases "
37481 "you may need to know the exact algorithm.  Such cases include where you use "
37482 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
37483 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
37484 msgstr ""
37485
37486 #. type: textblock
37487 #: ../src/guestfs.pod:1103
37488 msgid ""
37489 "The algorithm is applied only to I<parameters> which are known to be either "
37490 "device or partition names.  Return values from functions such as L</"
37491 "guestfs_list_devices> are never changed."
37492 msgstr ""
37493
37494 #. type: textblock
37495 #: ../src/guestfs.pod:1111
37496 msgid "Is the string a parameter which is a device or partition name?"
37497 msgstr ""
37498
37499 #. type: textblock
37500 #: ../src/guestfs.pod:1115
37501 msgid "Does the string begin with C</dev/sd>?"
37502 msgstr "Чи починається рядок з C</dev/sd>?"
37503
37504 #. type: textblock
37505 #: ../src/guestfs.pod:1119
37506 msgid ""
37507 "Does the named device exist? If so, we use that device.  However if I<not> "
37508 "then we continue with this algorithm."
37509 msgstr ""
37510
37511 #. type: textblock
37512 #: ../src/guestfs.pod:1124
37513 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
37514 msgstr ""
37515
37516 #. type: textblock
37517 #: ../src/guestfs.pod:1126
37518 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
37519 msgstr ""
37520
37521 #. type: textblock
37522 #: ../src/guestfs.pod:1128
37523 msgid "If that named device exists, use it.  If not, continue."
37524 msgstr ""
37525
37526 #. type: textblock
37527 #: ../src/guestfs.pod:1132
37528 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
37529 msgstr ""
37530
37531 #. type: textblock
37532 #: ../src/guestfs.pod:1134
37533 msgid "If that named device exists, use it.  If not, return an error."
37534 msgstr ""
37535
37536 #. type: =head3
37537 #: ../src/guestfs.pod:1138
37538 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
37539 msgstr ""
37540
37541 #. type: textblock
37542 #: ../src/guestfs.pod:1140
37543 msgid ""
37544 "Although the standard naming scheme and automatic translation is useful for "
37545 "simple programs and guestfish scripts, for larger programs it is best not to "
37546 "rely on this mechanism."
37547 msgstr ""
37548
37549 #. type: textblock
37550 #: ../src/guestfs.pod:1144
37551 msgid ""
37552 "Where possible for maximum future portability programs using libguestfs "
37553 "should use these future-proof techniques:"
37554 msgstr ""
37555
37556 #. type: textblock
37557 #: ../src/guestfs.pod:1151
37558 msgid ""
37559 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
37560 "device names, and then use those names directly."
37561 msgstr ""
37562
37563 #. type: textblock
37564 #: ../src/guestfs.pod:1154
37565 msgid ""
37566 "Since those device names exist by definition, they will never be translated."
37567 msgstr ""
37568
37569 #. type: textblock
37570 #: ../src/guestfs.pod:1159
37571 msgid ""
37572 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
37573 "filesystem labels."
37574 msgstr ""
37575
37576 #. type: textblock
37577 #: ../src/guestfs.pod:1166
37578 msgid ""
37579 "This section discusses security implications of using libguestfs, "
37580 "particularly with untrusted or malicious guests or disk images."
37581 msgstr ""
37582
37583 #. type: =head2
37584 #: ../src/guestfs.pod:1169
37585 msgid "GENERAL SECURITY CONSIDERATIONS"
37586 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
37587
37588 #. type: textblock
37589 #: ../src/guestfs.pod:1171
37590 msgid ""
37591 "Be careful with any files or data that you download from a guest (by "
37592 "\"download\" we mean not just the L</guestfs_download> command but any "
37593 "command that reads files, filenames, directories or anything else from a "
37594 "disk image).  An attacker could manipulate the data to fool your program "
37595 "into doing the wrong thing.  Consider cases such as:"
37596 msgstr ""
37597
37598 #. type: textblock
37599 #: ../src/guestfs.pod:1181
37600 msgid "the data (file etc) not being present"
37601 msgstr ""
37602
37603 #. type: textblock
37604 #: ../src/guestfs.pod:1185
37605 msgid "being present but empty"
37606 msgstr ""
37607
37608 #. type: textblock
37609 #: ../src/guestfs.pod:1189
37610 msgid "being much larger than normal"
37611 msgstr ""
37612
37613 #. type: textblock
37614 #: ../src/guestfs.pod:1193
37615 msgid "containing arbitrary 8 bit data"
37616 msgstr ""
37617
37618 #. type: textblock
37619 #: ../src/guestfs.pod:1197
37620 msgid "being in an unexpected character encoding"
37621 msgstr ""
37622
37623 #. type: textblock
37624 #: ../src/guestfs.pod:1201
37625 msgid "containing homoglyphs."
37626 msgstr ""
37627
37628 #. type: =head2
37629 #: ../src/guestfs.pod:1205
37630 msgid "SECURITY OF MOUNTING FILESYSTEMS"
37631 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
37632
37633 #. type: textblock
37634 #: ../src/guestfs.pod:1207
37635 msgid ""
37636 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
37637 "(VFS) module can sometimes be escalated into exploits by deliberately "
37638 "creating a malicious, malformed filesystem.  These exploits are very severe "
37639 "for two reasons.  Firstly there are very many filesystem drivers in the "
37640 "kernel, and many of them are infrequently used and not much developer "
37641 "attention has been paid to the code.  Linux userspace helps potential "
37642 "crackers by detecting the filesystem type and automatically choosing the "
37643 "right VFS driver, even if that filesystem type is obscure or unexpected for "
37644 "the administrator.  Secondly, a kernel-level exploit is like a local root "
37645 "exploit (worse in some ways), giving immediate and total access to the "
37646 "system right down to the hardware level."
37647 msgstr ""
37648
37649 #. type: textblock
37650 #: ../src/guestfs.pod:1220
37651 msgid ""
37652 "That explains why you should never mount a filesystem from an untrusted "
37653 "guest on your host kernel.  How about libguestfs? We run a Linux kernel "
37654 "inside a qemu virtual machine, usually running as a non-root user.  The "
37655 "attacker would need to write a filesystem which first exploited the kernel, "
37656 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
37657 "the libguestfs protocol, and finally to be as serious as the host kernel "
37658 "exploit it would need to escalate its privileges to root.  This multi-step "
37659 "escalation, performed by a static piece of data, is thought to be extremely "
37660 "hard to do, although we never say 'never' about security issues."
37661 msgstr ""
37662
37663 #. type: textblock
37664 #: ../src/guestfs.pod:1231
37665 msgid ""
37666 "In any case callers can reduce the attack surface by forcing the filesystem "
37667 "type when mounting (use L</guestfs_mount_vfs>)."
37668 msgstr ""
37669
37670 #. type: =head2
37671 #: ../src/guestfs.pod:1234
37672 msgid "PROTOCOL SECURITY"
37673 msgstr "ЗАХИСТ ПРОТОКОЛУ"
37674
37675 #. type: textblock
37676 #: ../src/guestfs.pod:1236
37677 msgid ""
37678 "The protocol is designed to be secure, being based on RFC 4506 (XDR)  with a "
37679 "defined upper message size.  However a program that uses libguestfs must "
37680 "also take care - for example you can write a program that downloads a binary "
37681 "from a disk image and executes it locally, and no amount of protocol "
37682 "security will save you from the consequences."
37683 msgstr ""
37684
37685 #. type: =head2
37686 #: ../src/guestfs.pod:1242
37687 msgid "INSPECTION SECURITY"
37688 msgstr ""
37689
37690 #. type: textblock
37691 #: ../src/guestfs.pod:1244
37692 msgid ""
37693 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
37694 "directly from the guest, and these could contain any 8 bit data.  Callers "
37695 "should be careful to escape these before printing them to a structured file "
37696 "(for example, use HTML escaping if creating a web page)."
37697 msgstr ""
37698
37699 #. type: textblock
37700 #: ../src/guestfs.pod:1250
37701 msgid ""
37702 "Guest configuration may be altered in unusual ways by the administrator of "
37703 "the virtual machine, and may not reflect reality (particularly for untrusted "
37704 "or actively malicious guests).  For example we parse the hostname from "
37705 "configuration files like C</etc/sysconfig/network> that we find in the "
37706 "guest, but the guest administrator can easily manipulate these files to "
37707 "provide the wrong hostname."
37708 msgstr ""
37709
37710 #. type: textblock
37711 #: ../src/guestfs.pod:1258
37712 msgid ""
37713 "The inspection API parses guest configuration using two external libraries: "
37714 "Augeas (Linux configuration) and hivex (Windows Registry).  Both are "
37715 "designed to be robust in the face of malicious data, although denial of "
37716 "service attacks are still possible, for example with oversized configuration "
37717 "files."
37718 msgstr ""
37719
37720 #. type: =head2
37721 #: ../src/guestfs.pod:1264
37722 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
37723 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
37724
37725 #. type: textblock
37726 #: ../src/guestfs.pod:1266
37727 msgid ""
37728 "Be very cautious about running commands from the guest.  By running a "
37729 "command in the guest, you are giving CPU time to a binary that you do not "
37730 "control, under the same user account as the library, albeit wrapped in qemu "
37731 "virtualization.  More information and alternatives can be found in the "
37732 "section L</RUNNING COMMANDS>."
37733 msgstr ""
37734
37735 #. type: =head2
37736 #: ../src/guestfs.pod:1272
37737 msgid "CVE-2010-3851"
37738 msgstr "CVE-2010-3851"
37739
37740 #. type: textblock
37741 #: ../src/guestfs.pod:1274
37742 msgid "https://bugzilla.redhat.com/642934"
37743 msgstr "https://bugzilla.redhat.com/642934"
37744
37745 #. type: textblock
37746 #: ../src/guestfs.pod:1276
37747 msgid ""
37748 "This security bug concerns the automatic disk format detection that qemu "
37749 "does on disk images."
37750 msgstr ""
37751
37752 #. type: textblock
37753 #: ../src/guestfs.pod:1279
37754 msgid ""
37755 "A raw disk image is just the raw bytes, there is no header.  Other disk "
37756 "images like qcow2 contain a special header.  Qemu deals with this by looking "
37757 "for one of the known headers, and if none is found then assuming the disk "
37758 "image must be raw."
37759 msgstr ""
37760
37761 #. type: textblock
37762 #: ../src/guestfs.pod:1284
37763 msgid ""
37764 "This allows a guest which has been given a raw disk image to write some "
37765 "other header.  At next boot (or when the disk image is accessed by "
37766 "libguestfs) qemu would do autodetection and think the disk image format was, "
37767 "say, qcow2 based on the header written by the guest."
37768 msgstr ""
37769
37770 #. type: textblock
37771 #: ../src/guestfs.pod:1289
37772 msgid ""
37773 "This in itself would not be a problem, but qcow2 offers many features, one "
37774 "of which is to allow a disk image to refer to another image (called the "
37775 "\"backing disk\").  It does this by placing the path to the backing disk "
37776 "into the qcow2 header.  This path is not validated and could point to any "
37777 "host file (eg. \"/etc/passwd\").  The backing disk is then exposed through "
37778 "\"holes\" in the qcow2 disk image, which of course is completely under the "
37779 "control of the attacker."
37780 msgstr ""
37781
37782 #. type: textblock
37783 #: ../src/guestfs.pod:1297
37784 msgid ""
37785 "In libguestfs this is rather hard to exploit except under two circumstances:"
37786 msgstr ""
37787
37788 #. type: textblock
37789 #: ../src/guestfs.pod:1304
37790 msgid "You have enabled the network or have opened the disk in write mode."
37791 msgstr ""
37792
37793 #. type: textblock
37794 #: ../src/guestfs.pod:1308
37795 msgid ""
37796 "You are also running untrusted code from the guest (see L</RUNNING "
37797 "COMMANDS>)."
37798 msgstr ""
37799
37800 #. type: textblock
37801 #: ../src/guestfs.pod:1313
37802 msgid ""
37803 "The way to avoid this is to specify the expected disk format when adding "
37804 "disks (the optional C<format> option to L</guestfs_add_drive_opts>).  You "
37805 "should always do this if the disk is raw format, and it's a good idea for "
37806 "other cases too."
37807 msgstr ""
37808
37809 #. type: textblock
37810 #: ../src/guestfs.pod:1318
37811 msgid ""
37812 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
37813 "format is fetched from libvirt and passed through."
37814 msgstr ""
37815
37816 #. type: textblock
37817 #: ../src/guestfs.pod:1321
37818 msgid ""
37819 "For libguestfs tools, use the I<--format> command line parameter as "
37820 "appropriate."
37821 msgstr ""
37822
37823 #. type: =head1
37824 #: ../src/guestfs.pod:1324
37825 msgid "CONNECTION MANAGEMENT"
37826 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
37827
37828 #. type: =head2
37829 #: ../src/guestfs.pod:1326
37830 msgid "guestfs_h *"
37831 msgstr "guestfs_h *"
37832
37833 #. type: textblock
37834 #: ../src/guestfs.pod:1328
37835 msgid ""
37836 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
37837 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
37838 "handle and release all resources used."
37839 msgstr ""
37840
37841 #. type: textblock
37842 #: ../src/guestfs.pod:1332
37843 msgid ""
37844 "For information on using multiple handles and threads, see the section L</"
37845 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
37846 msgstr ""
37847
37848 #. type: =head2
37849 #: ../src/guestfs.pod:1335
37850 msgid "guestfs_create"
37851 msgstr "guestfs_create"
37852
37853 #. type: verbatim
37854 #: ../src/guestfs.pod:1337
37855 #, no-wrap
37856 msgid ""
37857 " guestfs_h *guestfs_create (void);\n"
37858 "\n"
37859 msgstr ""
37860 " guestfs_h *guestfs_create (void);\n"
37861 "\n"
37862
37863 #. type: textblock
37864 #: ../src/guestfs.pod:1339
37865 msgid "Create a connection handle."
37866 msgstr "Створити дескриптор з’єднання."
37867
37868 #. type: textblock
37869 #: ../src/guestfs.pod:1341
37870 msgid ""
37871 "On success this returns a non-NULL pointer to a handle.  On error it returns "
37872 "NULL."
37873 msgstr ""
37874
37875 #. type: textblock
37876 #: ../src/guestfs.pod:1344
37877 msgid ""
37878 "You have to \"configure\" the handle after creating it.  This includes "
37879 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
37880 "handle at least once."
37881 msgstr ""
37882
37883 #. type: textblock
37884 #: ../src/guestfs.pod:1348
37885 msgid "After configuring the handle, you have to call L</guestfs_launch>."
37886 msgstr ""
37887
37888 #. type: textblock
37889 #: ../src/guestfs.pod:1350
37890 msgid ""
37891 "You may also want to configure error handling for the handle.  See the L</"
37892 "ERROR HANDLING> section below."
37893 msgstr ""
37894
37895 #. type: =head2
37896 #: ../src/guestfs.pod:1353
37897 msgid "guestfs_close"
37898 msgstr "guestfs_close"
37899
37900 #. type: verbatim
37901 #: ../src/guestfs.pod:1355
37902 #, no-wrap
37903 msgid ""
37904 " void guestfs_close (guestfs_h *g);\n"
37905 "\n"
37906 msgstr ""
37907 " void guestfs_close (guestfs_h *g);\n"
37908 "\n"
37909
37910 #. type: textblock
37911 #: ../src/guestfs.pod:1357
37912 msgid "This closes the connection handle and frees up all resources used."
37913 msgstr ""
37914
37915 #. type: textblock
37916 #: ../src/guestfs.pod:1359
37917 msgid ""
37918 "If autosync was set on the handle and the handle was launched, then this "
37919 "implicitly calls various functions to unmount filesystems and sync the "
37920 "disk.  See L</guestfs_set_autosync> for more details."
37921 msgstr ""
37922
37923 #. type: textblock
37924 #: ../src/guestfs.pod:1363
37925 msgid "If a close callback was set on the handle, then it is called."
37926 msgstr ""
37927
37928 #. type: =head1
37929 #: ../src/guestfs.pod:1365
37930 msgid "ERROR HANDLING"
37931 msgstr "ОБРОБКА ПОМИЛОК"
37932
37933 #. type: textblock
37934 #: ../src/guestfs.pod:1367
37935 msgid ""
37936 "API functions can return errors.  For example, almost all functions that "
37937 "return C<int> will return C<-1> to indicate an error."
37938 msgstr ""
37939
37940 #. type: textblock
37941 #: ../src/guestfs.pod:1370
37942 msgid ""
37943 "Additional information is available for errors: an error message string and "
37944 "optionally an error number (errno) if the thing that failed was a system "
37945 "call."
37946 msgstr ""
37947
37948 #. type: textblock
37949 #: ../src/guestfs.pod:1374
37950 msgid ""
37951 "You can get at the additional information about the last error on the handle "
37952 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
37953 "up an error handler with L</guestfs_set_error_handler>."
37954 msgstr ""
37955
37956 #. type: textblock
37957 #: ../src/guestfs.pod:1379
37958 msgid ""
37959 "When the handle is created, a default error handler is installed which "
37960 "prints the error message string to C<stderr>.  For small short-running "
37961 "command line programs it is sufficient to do:"
37962 msgstr ""
37963
37964 #. type: verbatim
37965 #: ../src/guestfs.pod:1383
37966 #, no-wrap
37967 msgid ""
37968 " if (guestfs_launch (g) == -1)\n"
37969 "   exit (EXIT_FAILURE);\n"
37970 "\n"
37971 msgstr ""
37972 " if (guestfs_launch (g) == -1)\n"
37973 "   exit (EXIT_FAILURE);\n"
37974 "\n"
37975
37976 #. type: textblock
37977 #: ../src/guestfs.pod:1386
37978 msgid ""
37979 "since the default error handler will ensure that an error message has been "
37980 "printed to C<stderr> before the program exits."
37981 msgstr ""
37982
37983 #. type: textblock
37984 #: ../src/guestfs.pod:1389
37985 msgid ""
37986 "For other programs the caller will almost certainly want to install an "
37987 "alternate error handler or do error handling in-line like this:"
37988 msgstr ""
37989
37990 #. type: verbatim
37991 #: ../src/guestfs.pod:1392
37992 #, no-wrap
37993 msgid ""
37994 " /* This disables the default behaviour of printing errors\n"
37995 "    on stderr. */\n"
37996 " guestfs_set_error_handler (g, NULL, NULL);\n"
37997 " \n"
37998 msgstr ""
37999
38000 #. type: verbatim
38001 #: ../src/guestfs.pod:1396
38002 #, no-wrap
38003 msgid ""
38004 " if (guestfs_launch (g) == -1) {\n"
38005 "   /* Examine the error message and print it etc. */\n"
38006 "   char *msg = guestfs_last_error (g);\n"
38007 "   int errnum = guestfs_last_errno (g);\n"
38008 "   fprintf (stderr, \"%s\", msg);\n"
38009 "   if (errnum != 0)\n"
38010 "     fprintf (stderr, \": %s\", strerror (errnum));\n"
38011 "   fprintf (stderr, \"\\n\");\n"
38012 "   /* ... */\n"
38013 " }\n"
38014 "\n"
38015 msgstr ""
38016
38017 #. type: textblock
38018 #: ../src/guestfs.pod:1407
38019 msgid ""
38020 "Out of memory errors are handled differently.  The default action is to call "
38021 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
38022 "guestfs_set_out_of_memory_handler>."
38023 msgstr ""
38024
38025 #. type: textblock
38026 #: ../src/guestfs.pod:1411
38027 msgid ""
38028 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
38029 "because there is no handle if this happens there is no way to get additional "
38030 "error information.  However L</guestfs_create> is supposed to be a "
38031 "lightweight operation which can only fail because of insufficient memory (it "
38032 "returns NULL in this case)."
38033 msgstr ""
38034
38035 #. type: =head2
38036 #: ../src/guestfs.pod:1417
38037 msgid "guestfs_last_error"
38038 msgstr "guestfs_last_error"
38039
38040 #. type: verbatim
38041 #: ../src/guestfs.pod:1419
38042 #, no-wrap
38043 msgid ""
38044 " const char *guestfs_last_error (guestfs_h *g);\n"
38045 "\n"
38046 msgstr ""
38047 " const char *guestfs_last_error (guestfs_h *g);\n"
38048 "\n"
38049
38050 #. type: textblock
38051 #: ../src/guestfs.pod:1421
38052 msgid ""
38053 "This returns the last error message that happened on C<g>.  If there has not "
38054 "been an error since the handle was created, then this returns C<NULL>."
38055 msgstr ""
38056
38057 #. type: textblock
38058 #: ../src/guestfs.pod:1425
38059 msgid ""
38060 "The lifetime of the returned string is until the next error occurs, or L</"
38061 "guestfs_close> is called."
38062 msgstr ""
38063
38064 #. type: =head2
38065 #: ../src/guestfs.pod:1428
38066 msgid "guestfs_last_errno"
38067 msgstr "guestfs_last_errno"
38068
38069 #. type: verbatim
38070 #: ../src/guestfs.pod:1430
38071 #, no-wrap
38072 msgid ""
38073 " int guestfs_last_errno (guestfs_h *g);\n"
38074 "\n"
38075 msgstr ""
38076 " int guestfs_last_errno (guestfs_h *g);\n"
38077 "\n"
38078
38079 #. type: textblock
38080 #: ../src/guestfs.pod:1432
38081 msgid "This returns the last error number (errno) that happened on C<g>."
38082 msgstr ""
38083
38084 #. type: textblock
38085 #: ../src/guestfs.pod:1434
38086 msgid "If successful, an errno integer not equal to zero is returned."
38087 msgstr ""
38088
38089 #. type: textblock
38090 #: ../src/guestfs.pod:1436
38091 msgid ""
38092 "If no error, this returns 0.  This call can return 0 in three situations:"
38093 msgstr ""
38094
38095 #. type: textblock
38096 #: ../src/guestfs.pod:1443
38097 msgid "There has not been any error on the handle."
38098 msgstr ""
38099
38100 #. type: textblock
38101 #: ../src/guestfs.pod:1447
38102 msgid ""
38103 "There has been an error but the errno was meaningless.  This corresponds to "
38104 "the case where the error did not come from a failed system call, but for "
38105 "some other reason."
38106 msgstr ""
38107
38108 #. type: textblock
38109 #: ../src/guestfs.pod:1453
38110 msgid ""
38111 "There was an error from a failed system call, but for some reason the errno "
38112 "was not captured and returned.  This usually indicates a bug in libguestfs."
38113 msgstr ""
38114
38115 #. type: textblock
38116 #: ../src/guestfs.pod:1459
38117 msgid ""
38118 "Libguestfs tries to convert the errno from inside the applicance into a "
38119 "corresponding errno for the caller (not entirely trivial: the appliance "
38120 "might be running a completely different operating system from the library "
38121 "and error numbers are not standardized across Un*xen).  If this could not be "
38122 "done, then the error is translated to C<EINVAL>.  In practice this should "
38123 "only happen in very rare circumstances."
38124 msgstr ""
38125
38126 #. type: =head2
38127 #: ../src/guestfs.pod:1467
38128 msgid "guestfs_set_error_handler"
38129 msgstr "guestfs_set_error_handler"
38130
38131 #. type: verbatim
38132 #: ../src/guestfs.pod:1469
38133 #, no-wrap
38134 msgid ""
38135 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
38136 "                                           void *opaque,\n"
38137 "                                           const char *msg);\n"
38138 " void guestfs_set_error_handler (guestfs_h *g,\n"
38139 "                                 guestfs_error_handler_cb cb,\n"
38140 "                                 void *opaque);\n"
38141 "\n"
38142 msgstr ""
38143 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
38144 "                                           void *opaque,\n"
38145 "                                           const char *msg);\n"
38146 " void guestfs_set_error_handler (guestfs_h *g,\n"
38147 "                                 guestfs_error_handler_cb cb,\n"
38148 "                                 void *opaque);\n"
38149 "\n"
38150
38151 #. type: textblock
38152 #: ../src/guestfs.pod:1476
38153 msgid ""
38154 "The callback C<cb> will be called if there is an error.  The parameters "
38155 "passed to the callback are an opaque data pointer and the error message "
38156 "string."
38157 msgstr ""
38158
38159 #. type: textblock
38160 #: ../src/guestfs.pod:1480
38161 msgid ""
38162 "C<errno> is not passed to the callback.  To get that the callback must call "
38163 "L</guestfs_last_errno>."
38164 msgstr ""
38165
38166 #. type: textblock
38167 #: ../src/guestfs.pod:1483
38168 msgid ""
38169 "Note that the message string C<msg> is freed as soon as the callback "
38170 "function returns, so if you want to stash it somewhere you must make your "
38171 "own copy."
38172 msgstr ""
38173
38174 #. type: textblock
38175 #: ../src/guestfs.pod:1487
38176 msgid "The default handler prints messages on C<stderr>."
38177 msgstr ""
38178
38179 #. type: textblock
38180 #: ../src/guestfs.pod:1489
38181 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
38182 msgstr ""
38183
38184 #. type: =head2
38185 #: ../src/guestfs.pod:1491
38186 msgid "guestfs_get_error_handler"
38187 msgstr "guestfs_get_error_handler"
38188
38189 #. type: verbatim
38190 #: ../src/guestfs.pod:1493
38191 #, no-wrap
38192 msgid ""
38193 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
38194 "                                                     void **opaque_rtn);\n"
38195 "\n"
38196 msgstr ""
38197 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
38198 "                                                     void **opaque_rtn);\n"
38199 "\n"
38200
38201 #. type: textblock
38202 #: ../src/guestfs.pod:1496
38203 msgid "Returns the current error handler callback."
38204 msgstr ""
38205
38206 #. type: =head2
38207 #: ../src/guestfs.pod:1498
38208 msgid "guestfs_set_out_of_memory_handler"
38209 msgstr "guestfs_set_out_of_memory_handler"
38210
38211 #. type: verbatim
38212 #: ../src/guestfs.pod:1500
38213 #, no-wrap
38214 msgid ""
38215 " typedef void (*guestfs_abort_cb) (void);\n"
38216 " void guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
38217 "                                         guestfs_abort_cb);\n"
38218 "\n"
38219 msgstr ""
38220
38221 #. type: textblock
38222 #: ../src/guestfs.pod:1504
38223 msgid ""
38224 "The callback C<cb> will be called if there is an out of memory situation.  "
38225 "I<Note this callback must not return>."
38226 msgstr ""
38227
38228 #. type: textblock
38229 #: ../src/guestfs.pod:1507
38230 msgid "The default is to call L<abort(3)>."
38231 msgstr ""
38232
38233 #. type: textblock
38234 #: ../src/guestfs.pod:1509
38235 msgid ""
38236 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
38237 msgstr ""
38238
38239 #. type: =head2
38240 #: ../src/guestfs.pod:1512
38241 msgid "guestfs_get_out_of_memory_handler"
38242 msgstr "guestfs_get_out_of_memory_handler"
38243
38244 #. type: verbatim
38245 #: ../src/guestfs.pod:1514
38246 #, no-wrap
38247 msgid ""
38248 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
38249 "\n"
38250 msgstr ""
38251 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
38252 "\n"
38253
38254 #. type: textblock
38255 #: ../src/guestfs.pod:1516
38256 msgid "This returns the current out of memory handler."
38257 msgstr ""
38258
38259 #. type: =head1
38260 #: ../src/guestfs.pod:1518
38261 msgid "API CALLS"
38262 msgstr "ВИКЛИКИ API"
38263
38264 #. type: =head1
38265 #: ../src/guestfs.pod:1522
38266 msgid "STRUCTURES"
38267 msgstr "СТРУКТУРИ"
38268
38269 #. type: textblock
38270 #: ../src/guestfs.pod:1524
38271 msgid "@STRUCTS@"
38272 msgstr "@STRUCTS@"
38273
38274 #. type: =head1
38275 #: ../src/guestfs.pod:1526
38276 msgid "AVAILABILITY"
38277 msgstr "ДОСТУПНІСТЬ"
38278
38279 #. type: =head2
38280 #: ../src/guestfs.pod:1528
38281 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
38282 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
38283
38284 #. type: textblock
38285 #: ../src/guestfs.pod:1530
38286 msgid ""
38287 "Using L</guestfs_available> you can test availability of the following "
38288 "groups of functions.  This test queries the appliance to see if the "
38289 "appliance you are currently using supports the functionality."
38290 msgstr ""
38291
38292 #. type: textblock
38293 #: ../src/guestfs.pod:1535
38294 msgid "@AVAILABILITY@"
38295 msgstr "@AVAILABILITY@"
38296
38297 #. type: =head2
38298 #: ../src/guestfs.pod:1537
38299 msgid "GUESTFISH supported COMMAND"
38300 msgstr ""
38301
38302 #. type: textblock
38303 #: ../src/guestfs.pod:1539
38304 msgid ""
38305 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
38306 "prints out the available groups and whether they are supported by this build "
38307 "of libguestfs.  Note however that you have to do C<run> first."
38308 msgstr ""
38309
38310 #. type: =head2
38311 #: ../src/guestfs.pod:1544
38312 msgid "SINGLE CALLS AT COMPILE TIME"
38313 msgstr ""
38314
38315 #. type: textblock
38316 #: ../src/guestfs.pod:1546
38317 msgid ""
38318 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
38319 "function, such as:"
38320 msgstr ""
38321
38322 #. type: verbatim
38323 #: ../src/guestfs.pod:1549
38324 #, no-wrap
38325 msgid ""
38326 " #define LIBGUESTFS_HAVE_DD 1\n"
38327 "\n"
38328 msgstr ""
38329 " #define LIBGUESTFS_HAVE_DD 1\n"
38330 "\n"
38331
38332 #. type: textblock
38333 #: ../src/guestfs.pod:1551
38334 msgid "if L</guestfs_dd> is available."
38335 msgstr ""
38336
38337 #. type: textblock
38338 #: ../src/guestfs.pod:1553
38339 msgid ""
38340 "Before version 1.5.8, if you needed to test whether a single libguestfs "
38341 "function is available at compile time, we recommended using build tools such "
38342 "as autoconf or cmake.  For example in autotools you could use:"
38343 msgstr ""
38344
38345 #. type: verbatim
38346 #: ../src/guestfs.pod:1558
38347 #, no-wrap
38348 msgid ""
38349 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
38350 " AC_CHECK_FUNCS([guestfs_dd])\n"
38351 "\n"
38352 msgstr ""
38353 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
38354 " AC_CHECK_FUNCS([guestfs_dd])\n"
38355 "\n"
38356
38357 #. type: textblock
38358 #: ../src/guestfs.pod:1561
38359 msgid ""
38360 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
38361 "in your program."
38362 msgstr ""
38363
38364 #. type: =head2
38365 #: ../src/guestfs.pod:1564
38366 msgid "SINGLE CALLS AT RUN TIME"
38367 msgstr ""
38368
38369 #. type: textblock
38370 #: ../src/guestfs.pod:1566
38371 msgid ""
38372 "Testing at compile time doesn't guarantee that a function really exists in "
38373 "the library.  The reason is that you might be dynamically linked against a "
38374 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
38375 "This situation unfortunately results in a segmentation fault, which is a "
38376 "shortcoming of the C dynamic linking system itself."
38377 msgstr ""
38378
38379 #. type: textblock
38380 #: ../src/guestfs.pod:1573
38381 msgid ""
38382 "You can use L<dlopen(3)> to test if a function is available at run time, as "
38383 "in this example program (note that you still need the compile time check as "
38384 "well):"
38385 msgstr ""
38386
38387 #. type: verbatim
38388 #: ../src/guestfs.pod:1577
38389 #, no-wrap
38390 msgid ""
38391 " #include <stdio.h>\n"
38392 " #include <stdlib.h>\n"
38393 " #include <unistd.h>\n"
38394 " #include <dlfcn.h>\n"
38395 " #include <guestfs.h>\n"
38396 " \n"
38397 msgstr ""
38398 " #include <stdio.h>\n"
38399 " #include <stdlib.h>\n"
38400 " #include <unistd.h>\n"
38401 " #include <dlfcn.h>\n"
38402 " #include <guestfs.h>\n"
38403 " \n"
38404
38405 #. type: verbatim
38406 #: ../src/guestfs.pod:1583
38407 #, no-wrap
38408 msgid ""
38409 " main ()\n"
38410 " {\n"
38411 " #ifdef LIBGUESTFS_HAVE_DD\n"
38412 "   void *dl;\n"
38413 "   int has_function;\n"
38414 " \n"
38415 msgstr ""
38416 " main ()\n"
38417 " {\n"
38418 " #ifdef LIBGUESTFS_HAVE_DD\n"
38419 "   void *dl;\n"
38420 "   int has_function;\n"
38421 " \n"
38422
38423 #. type: verbatim
38424 #: ../src/guestfs.pod:1589
38425 #, no-wrap
38426 msgid ""
38427 "   /* Test if the function guestfs_dd is really available. */\n"
38428 "   dl = dlopen (NULL, RTLD_LAZY);\n"
38429 "   if (!dl) {\n"
38430 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
38431 "     exit (EXIT_FAILURE);\n"
38432 "   }\n"
38433 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
38434 "   dlclose (dl);\n"
38435 " \n"
38436 msgstr ""
38437
38438 #. type: verbatim
38439 #: ../src/guestfs.pod:1598
38440 #, no-wrap
38441 msgid ""
38442 "   if (!has_function)\n"
38443 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
38444 "   else {\n"
38445 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
38446 "     /* Now it's safe to call\n"
38447 "     guestfs_dd (g, \"foo\", \"bar\");\n"
38448 "     */\n"
38449 "   }\n"
38450 " #else\n"
38451 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
38452 " #endif\n"
38453 "  }\n"
38454 "\n"
38455 msgstr ""
38456
38457 #. type: textblock
38458 #: ../src/guestfs.pod:1611
38459 msgid ""
38460 "You may think the above is an awful lot of hassle, and it is.  There are "
38461 "other ways outside of the C linking system to ensure that this kind of "
38462 "incompatibility never arises, such as using package versioning:"
38463 msgstr ""
38464
38465 #. type: verbatim
38466 #: ../src/guestfs.pod:1616
38467 #, no-wrap
38468 msgid ""
38469 " Requires: libguestfs >= 1.0.80\n"
38470 "\n"
38471 msgstr ""
38472
38473 #. type: =head1
38474 #: ../src/guestfs.pod:1618
38475 msgid "CALLS WITH OPTIONAL ARGUMENTS"
38476 msgstr ""
38477
38478 #. type: textblock
38479 #: ../src/guestfs.pod:1620
38480 msgid ""
38481 "A recent feature of the API is the introduction of calls which take optional "
38482 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
38483 "takes variable arguments (ie. C<...>), as in this example:"
38484 msgstr ""
38485
38486 #. type: verbatim
38487 #: ../src/guestfs.pod:1625
38488 #, no-wrap
38489 msgid ""
38490 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
38491 "\n"
38492 msgstr ""
38493 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
38494 "\n"
38495
38496 #. type: textblock
38497 #: ../src/guestfs.pod:1627
38498 msgid ""
38499 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
38500 "call with no optional arguments specified:"
38501 msgstr ""
38502
38503 #. type: verbatim
38504 #: ../src/guestfs.pod:1630
38505 #, no-wrap
38506 msgid ""
38507 " guestfs_add_drive_opts (g, filename, -1);\n"
38508 "\n"
38509 msgstr ""
38510 " guestfs_add_drive_opts (g, filename, -1);\n"
38511 "\n"
38512
38513 #. type: textblock
38514 #: ../src/guestfs.pod:1632
38515 msgid "With a single optional argument:"
38516 msgstr ""
38517
38518 #. type: verbatim
38519 #: ../src/guestfs.pod:1634
38520 #, no-wrap
38521 msgid ""
38522 " guestfs_add_drive_opts (g, filename,\n"
38523 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38524 "                         -1);\n"
38525 "\n"
38526 msgstr ""
38527 " guestfs_add_drive_opts (g, filename,\n"
38528 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38529 "                         -1);\n"
38530 "\n"
38531
38532 #. type: textblock
38533 #: ../src/guestfs.pod:1638
38534 msgid "With two:"
38535 msgstr ""
38536
38537 #. type: verbatim
38538 #: ../src/guestfs.pod:1640
38539 #, no-wrap
38540 msgid ""
38541 " guestfs_add_drive_opts (g, filename,\n"
38542 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38543 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
38544 "                         -1);\n"
38545 "\n"
38546 msgstr ""
38547 " guestfs_add_drive_opts (g, filename,\n"
38548 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38549 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
38550 "                         -1);\n"
38551 "\n"
38552
38553 #. type: textblock
38554 #: ../src/guestfs.pod:1645
38555 msgid ""
38556 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
38557 "happen!"
38558 msgstr ""
38559
38560 #. type: =head2
38561 #: ../src/guestfs.pod:1648
38562 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
38563 msgstr ""
38564
38565 #. type: textblock
38566 #: ../src/guestfs.pod:1650
38567 msgid ""
38568 "The second variant has the same name with the suffix C<_va>, which works the "
38569 "same way but takes a C<va_list>.  See the C manual for details.  For the "
38570 "example function, this is declared:"
38571 msgstr ""
38572
38573 #. type: verbatim
38574 #: ../src/guestfs.pod:1654
38575 #, no-wrap
38576 msgid ""
38577 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
38578 "                                va_list args);\n"
38579 "\n"
38580 msgstr ""
38581 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
38582 "                                va_list args);\n"
38583 "\n"
38584
38585 #. type: =head2
38586 #: ../src/guestfs.pod:1657
38587 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
38588 msgstr ""
38589
38590 #. type: textblock
38591 #: ../src/guestfs.pod:1659
38592 msgid ""
38593 "The third variant is useful where you need to construct these calls.  You "
38594 "pass in a structure where you fill in the optional fields.  The structure "
38595 "has a bitmask as the first element which you must set to indicate which "
38596 "fields you have filled in.  For our example function the structure and call "
38597 "are declared:"
38598 msgstr ""
38599
38600 #. type: verbatim
38601 #: ../src/guestfs.pod:1665
38602 #, no-wrap
38603 msgid ""
38604 " struct guestfs_add_drive_opts_argv {\n"
38605 "   uint64_t bitmask;\n"
38606 "   int readonly;\n"
38607 "   const char *format;\n"
38608 "   /* ... */\n"
38609 " };\n"
38610 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
38611 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
38612 "\n"
38613 msgstr ""
38614 " struct guestfs_add_drive_opts_argv {\n"
38615 "   uint64_t bitmask;\n"
38616 "   int readonly;\n"
38617 "   const char *format;\n"
38618 "   /* ... */\n"
38619 " };\n"
38620 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
38621 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
38622 "\n"
38623
38624 #. type: textblock
38625 #: ../src/guestfs.pod:1674
38626 msgid "You could call it like this:"
38627 msgstr ""
38628
38629 #. type: verbatim
38630 #: ../src/guestfs.pod:1676
38631 #, no-wrap
38632 msgid ""
38633 " struct guestfs_add_drive_opts_argv optargs = {\n"
38634 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
38635 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
38636 "   .readonly = 1,\n"
38637 "   .format = \"qcow2\"\n"
38638 " };\n"
38639 " \n"
38640 msgstr ""
38641 " struct guestfs_add_drive_opts_argv optargs = {\n"
38642 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
38643 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
38644 "   .readonly = 1,\n"
38645 "   .format = \"qcow2\"\n"
38646 " };\n"
38647 " \n"
38648
38649 #. type: verbatim
38650 #: ../src/guestfs.pod:1683
38651 #, no-wrap
38652 msgid ""
38653 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
38654 "\n"
38655 msgstr ""
38656 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
38657 "\n"
38658
38659 #. type: textblock
38660 #: ../src/guestfs.pod:1691
38661 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
38662 msgstr ""
38663
38664 #. type: textblock
38665 #: ../src/guestfs.pod:1696
38666 msgid "You do not need to fill in all fields of the structure."
38667 msgstr ""
38668
38669 #. type: textblock
38670 #: ../src/guestfs.pod:1700
38671 msgid ""
38672 "There must be a one-to-one correspondence between fields of the structure "
38673 "that are filled in, and bits set in the bitmask."
38674 msgstr ""
38675
38676 #. type: =head2
38677 #: ../src/guestfs.pod:1705
38678 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
38679 msgstr ""
38680
38681 #. type: textblock
38682 #: ../src/guestfs.pod:1707
38683 msgid ""
38684 "In other languages, optional arguments are expressed in the way that is "
38685 "natural for that language.  We refer you to the language-specific "
38686 "documentation for more details on that."
38687 msgstr ""
38688
38689 #. type: textblock
38690 #: ../src/guestfs.pod:1711
38691 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
38692 msgstr ""
38693
38694 #. type: =head2
38695 #: ../src/guestfs.pod:1713
38696 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
38697 msgstr ""
38698
38699 #. type: textblock
38700 #: ../src/guestfs.pod:1715
38701 msgid ""
38702 "B<Note:> This section documents the generic event mechanism introduced in "
38703 "libguestfs 1.10, which you should use in new code if possible.  The old "
38704 "functions C<guestfs_set_log_message_callback>, "
38705 "C<guestfs_set_subprocess_quit_callback>, "
38706 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
38707 "C<guestfs_set_progress_callback> are no longer documented in this manual "
38708 "page.  Because of the ABI guarantee, the old functions continue to work."
38709 msgstr ""
38710
38711 #. type: textblock
38712 #: ../src/guestfs.pod:1724
38713 msgid ""
38714 "Handles generate events when certain things happen, such as log messages "
38715 "being generated, progress messages during long-running operations, or the "
38716 "handle being closed.  The API calls described below let you register a "
38717 "callback to be called when events happen.  You can register multiple "
38718 "callbacks (for the same, different or overlapping sets of events), and "
38719 "individually remove callbacks.  If callbacks are not removed, then they "
38720 "remain in force until the handle is closed."
38721 msgstr ""
38722
38723 #. type: textblock
38724 #: ../src/guestfs.pod:1732
38725 msgid ""
38726 "In the current implementation, events are only generated synchronously: that "
38727 "means that events (and hence callbacks) can only happen while you are in the "
38728 "middle of making another libguestfs call.  The callback is called in the "
38729 "same thread."
38730 msgstr ""
38731
38732 #. type: textblock
38733 #: ../src/guestfs.pod:1737
38734 msgid ""
38735 "Events may contain a payload, usually nothing (void), an array of 64 bit "
38736 "unsigned integers, or a message buffer.  Payloads are discussed later on."
38737 msgstr ""
38738
38739 #. type: =head3
38740 #: ../src/guestfs.pod:1741
38741 msgid "CLASSES OF EVENTS"
38742 msgstr ""
38743
38744 #. type: =item
38745 #: ../src/guestfs.pod:1745
38746 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
38747 msgstr ""
38748
38749 #. type: textblock
38750 #: ../src/guestfs.pod:1748
38751 msgid ""
38752 "The callback function will be called while the handle is being closed "
38753 "(synchronously from L</guestfs_close>)."
38754 msgstr ""
38755
38756 #. type: textblock
38757 #: ../src/guestfs.pod:1751
38758 msgid ""
38759 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
38760 "handles that are open when the program exits.  This means that this callback "
38761 "might be called indirectly from L<exit(3)>, which can cause unexpected "
38762 "problems in higher-level languages (eg. if your HLL interpreter has already "
38763 "been cleaned up by the time this is called, and if your callback then jumps "
38764 "into some HLL function)."
38765 msgstr ""
38766
38767 #. type: textblock
38768 #: ../src/guestfs.pod:1758
38769 msgid ""
38770 "If no callback is registered: the handle is closed without any callback "
38771 "being invoked."
38772 msgstr ""
38773
38774 #. type: =item
38775 #: ../src/guestfs.pod:1761
38776 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
38777 msgstr ""
38778
38779 #. type: textblock
38780 #: ../src/guestfs.pod:1764
38781 msgid ""
38782 "The callback function will be called when the child process quits, either "
38783 "asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
38784 "corresponds to a transition from any state to the CONFIG state)."
38785 msgstr ""
38786
38787 #. type: textblock
38788 #: ../src/guestfs.pod:1768 ../src/guestfs.pod:1777 ../src/guestfs.pod:1894
38789 msgid "If no callback is registered: the event is ignored."
38790 msgstr ""
38791
38792 #. type: =item
38793 #: ../src/guestfs.pod:1770
38794 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
38795 msgstr ""
38796
38797 #. type: textblock
38798 #: ../src/guestfs.pod:1773
38799 msgid ""
38800 "The callback function will be called when the child process becomes ready "
38801 "first time after it has been launched.  (This corresponds to a transition "
38802 "from LAUNCHING to the READY state)."
38803 msgstr ""
38804
38805 #. type: =item
38806 #: ../src/guestfs.pod:1779
38807 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
38808 msgstr ""
38809
38810 #. type: textblock
38811 #: ../src/guestfs.pod:1782
38812 msgid ""
38813 "Some long-running operations can generate progress messages.  If this "
38814 "callback is registered, then it will be called each time a progress message "
38815 "is generated (usually two seconds after the operation started, and three "
38816 "times per second thereafter until it completes, although the frequency may "
38817 "change in future versions)."
38818 msgstr ""
38819
38820 #. type: textblock
38821 #: ../src/guestfs.pod:1788
38822 msgid ""
38823 "The callback receives in the payload four unsigned 64 bit numbers which are "
38824 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
38825 msgstr ""
38826
38827 #. type: textblock
38828 #: ../src/guestfs.pod:1791
38829 msgid ""
38830 "The units of C<total> are not defined, although for some operations C<total> "
38831 "may relate in some way to the amount of data to be transferred (eg. in bytes "
38832 "or megabytes), and C<position> may be the portion which has been transferred."
38833 msgstr ""
38834
38835 #. type: textblock
38836 #: ../src/guestfs.pod:1796
38837 msgid "The only defined and stable parts of the API are:"
38838 msgstr ""
38839
38840 #. type: textblock
38841 #: ../src/guestfs.pod:1802
38842 msgid ""
38843 "The callback can display to the user some type of progress bar or indicator "
38844 "which shows the ratio of C<position>:C<total>."
38845 msgstr ""
38846
38847 #. type: textblock
38848 #: ../src/guestfs.pod:1807
38849 msgid "0 E<lt>= C<position> E<lt>= C<total>"
38850 msgstr ""
38851
38852 #. type: textblock
38853 #: ../src/guestfs.pod:1811
38854 msgid ""
38855 "If any progress notification is sent during a call, then a final progress "
38856 "notification is always sent when C<position> = C<total> (I<unless> the call "
38857 "fails with an error)."
38858 msgstr ""
38859
38860 #. type: textblock
38861 #: ../src/guestfs.pod:1815
38862 msgid ""
38863 "This is to simplify caller code, so callers can easily set the progress "
38864 "indicator to \"100%\" at the end of the operation, without requiring special "
38865 "code to detect this case."
38866 msgstr ""
38867
38868 #. type: textblock
38869 #: ../src/guestfs.pod:1821
38870 msgid ""
38871 "For some calls we are unable to estimate the progress of the call, but we "
38872 "can still generate progress messages to indicate activity.  This is known as "
38873 "\"pulse mode\", and is directly supported by certain progress bar "
38874 "implementations (eg. GtkProgressBar)."
38875 msgstr ""
38876
38877 #. type: textblock
38878 #: ../src/guestfs.pod:1826
38879 msgid ""
38880 "For these calls, zero or more progress messages are generated with "
38881 "C<position = 0> and C<total = 1>, followed by a final message with "
38882 "C<position = total = 1>."
38883 msgstr ""
38884
38885 #. type: textblock
38886 #: ../src/guestfs.pod:1830
38887 msgid ""
38888 "As noted above, if the call fails with an error then the final message may "
38889 "not be generated."
38890 msgstr ""
38891
38892 #. type: textblock
38893 #: ../src/guestfs.pod:1835
38894 msgid ""
38895 "The callback also receives the procedure number (C<proc_nr>) and serial "
38896 "number (C<serial>) of the call.  These are only useful for debugging "
38897 "protocol issues, and the callback can normally ignore them.  The callback "
38898 "may want to print these numbers in error messages or debugging messages."
38899 msgstr ""
38900
38901 #. type: textblock
38902 #: ../src/guestfs.pod:1841
38903 msgid "If no callback is registered: progress messages are discarded."
38904 msgstr ""
38905
38906 #. type: =item
38907 #: ../src/guestfs.pod:1843
38908 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
38909 msgstr ""
38910
38911 #. type: textblock
38912 #: ../src/guestfs.pod:1846
38913 msgid ""
38914 "The callback function is called whenever a log message is generated by qemu, "
38915 "the appliance kernel, guestfsd (daemon), or utility programs."
38916 msgstr ""
38917
38918 #. type: textblock
38919 #: ../src/guestfs.pod:1849
38920 msgid ""
38921 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
38922 "guestfs_launch>) then additional debug messages are generated."
38923 msgstr ""
38924
38925 #. type: textblock
38926 #: ../src/guestfs.pod:1852 ../src/guestfs.pod:1866
38927 msgid ""
38928 "If no callback is registered: the messages are discarded unless the verbose "
38929 "flag is set in which case they are sent to stderr.  You can override the "
38930 "printing of verbose messages to stderr by setting up a callback."
38931 msgstr ""
38932
38933 #. type: =item
38934 #: ../src/guestfs.pod:1857
38935 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
38936 msgstr ""
38937
38938 #. type: textblock
38939 #: ../src/guestfs.pod:1860
38940 msgid ""
38941 "The callback function is called whenever a log message is generated by the "
38942 "library part of libguestfs."
38943 msgstr ""
38944
38945 #. type: textblock
38946 #: ../src/guestfs.pod:1863
38947 msgid ""
38948 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
38949 "messages are generated."
38950 msgstr ""
38951
38952 #. type: =item
38953 #: ../src/guestfs.pod:1871
38954 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
38955 msgstr ""
38956
38957 #. type: textblock
38958 #: ../src/guestfs.pod:1874
38959 msgid ""
38960 "The callback function is called whenever a trace message is generated.  This "
38961 "only applies if the trace flag (L</guestfs_set_trace>) is set."
38962 msgstr ""
38963
38964 #. type: textblock
38965 #: ../src/guestfs.pod:1877
38966 msgid ""
38967 "If no callback is registered: the messages are sent to stderr.  You can "
38968 "override the printing of trace messages to stderr by setting up a callback."
38969 msgstr ""
38970
38971 #. type: =item
38972 #: ../src/guestfs.pod:1881
38973 msgid "GUESTFS_EVENT_ENTER (payload type: function name)"
38974 msgstr ""
38975
38976 #. type: textblock
38977 #: ../src/guestfs.pod:1884
38978 msgid ""
38979 "The callback function is called whenever a libguestfs function is entered."
38980 msgstr ""
38981
38982 #. type: textblock
38983 #: ../src/guestfs.pod:1887
38984 msgid ""
38985 "The payload is a string which contains the name of the function that we are "
38986 "entering (not including C<guestfs_> prefix)."
38987 msgstr ""
38988
38989 #. type: textblock
38990 #: ../src/guestfs.pod:1890
38991 msgid ""
38992 "Note that libguestfs functions can call themselves, so you may see many "
38993 "events from a single call.  A few libguestfs functions do not generate this "
38994 "event."
38995 msgstr ""
38996
38997 #. type: =head3
38998 #: ../src/guestfs.pod:1898
38999 msgid "guestfs_set_event_callback"
39000 msgstr ""
39001
39002 #. type: verbatim
39003 #: ../src/guestfs.pod:1900
39004 #, no-wrap
39005 msgid ""
39006 " int guestfs_set_event_callback (guestfs_h *g,\n"
39007 "                                 guestfs_event_callback cb,\n"
39008 "                                 uint64_t event_bitmask,\n"
39009 "                                 int flags,\n"
39010 "                                 void *opaque);\n"
39011 "\n"
39012 msgstr ""
39013
39014 #. type: textblock
39015 #: ../src/guestfs.pod:1906
39016 msgid ""
39017 "This function registers a callback (C<cb>) for all event classes in the "
39018 "C<event_bitmask>."
39019 msgstr ""
39020
39021 #. type: textblock
39022 #: ../src/guestfs.pod:1909
39023 msgid ""
39024 "For example, to register for all log message events, you could call this "
39025 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>.  "
39026 "To register a single callback for all possible classes of events, use "
39027 "C<GUESTFS_EVENT_ALL>."
39028 msgstr ""
39029
39030 #. type: textblock
39031 #: ../src/guestfs.pod:1915
39032 msgid "C<flags> should always be passed as 0."
39033 msgstr ""
39034
39035 #. type: textblock
39036 #: ../src/guestfs.pod:1917
39037 msgid ""
39038 "C<opaque> is an opaque pointer which is passed to the callback.  You can use "
39039 "it for any purpose."
39040 msgstr ""
39041
39042 #. type: textblock
39043 #: ../src/guestfs.pod:1920
39044 msgid ""
39045 "The return value is the event handle (an integer) which you can use to "
39046 "delete the callback (see below)."
39047 msgstr ""
39048
39049 #. type: textblock
39050 #: ../src/guestfs.pod:1923
39051 msgid ""
39052 "If there is an error, this function returns C<-1>, and sets the error in the "
39053 "handle in the usual way (see L</guestfs_last_error> etc.)"
39054 msgstr ""
39055
39056 #. type: textblock
39057 #: ../src/guestfs.pod:1926
39058 msgid ""
39059 "Callbacks remain in effect until they are deleted, or until the handle is "
39060 "closed."
39061 msgstr ""
39062
39063 #. type: textblock
39064 #: ../src/guestfs.pod:1929
39065 msgid ""
39066 "In the case where multiple callbacks are registered for a particular event "
39067 "class, all of the callbacks are called.  The order in which multiple "
39068 "callbacks are called is not defined."
39069 msgstr ""
39070
39071 #. type: =head3
39072 #: ../src/guestfs.pod:1933
39073 msgid "guestfs_delete_event_callback"
39074 msgstr ""
39075
39076 #. type: verbatim
39077 #: ../src/guestfs.pod:1935
39078 #, no-wrap
39079 msgid ""
39080 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
39081 "\n"
39082 msgstr ""
39083
39084 #. type: textblock
39085 #: ../src/guestfs.pod:1937
39086 msgid ""
39087 "Delete a callback that was previously registered.  C<event_handle> should be "
39088 "the integer that was returned by a previous call to "
39089 "C<guestfs_set_event_callback> on the same handle."
39090 msgstr ""
39091
39092 #. type: =head3
39093 #: ../src/guestfs.pod:1941
39094 msgid "guestfs_event_callback"
39095 msgstr ""
39096
39097 #. type: verbatim
39098 #: ../src/guestfs.pod:1943
39099 #, no-wrap
39100 msgid ""
39101 " typedef void (*guestfs_event_callback) (\n"
39102 "                  guestfs_h *g,\n"
39103 "                  void *opaque,\n"
39104 "                  uint64_t event,\n"
39105 "                  int event_handle,\n"
39106 "                  int flags,\n"
39107 "                  const char *buf, size_t buf_len,\n"
39108 "                  const uint64_t *array, size_t array_len);\n"
39109 "\n"
39110 msgstr ""
39111
39112 #. type: textblock
39113 #: ../src/guestfs.pod:1952
39114 msgid ""
39115 "This is the type of the event callback function that you have to provide."
39116 msgstr ""
39117
39118 #. type: textblock
39119 #: ../src/guestfs.pod:1955
39120 msgid ""
39121 "The basic parameters are: the handle (C<g>), the opaque user pointer "
39122 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
39123 "handle, and C<flags> which in the current API you should ignore."
39124 msgstr ""
39125
39126 #. type: textblock
39127 #: ../src/guestfs.pod:1959
39128 msgid ""
39129 "The remaining parameters contain the event payload (if any).  Each event may "
39130 "contain a payload, which usually relates to the event class, but for future "
39131 "proofing your code should be written to handle any payload for any event "
39132 "class."
39133 msgstr ""
39134
39135 #. type: textblock
39136 #: ../src/guestfs.pod:1964
39137 msgid ""
39138 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
39139 "there is no message buffer).  Note that this message buffer can contain "
39140 "arbitrary 8 bit data, including NUL bytes."
39141 msgstr ""
39142
39143 #. type: textblock
39144 #: ../src/guestfs.pod:1968
39145 msgid ""
39146 "C<array> and C<array_len> is an array of 64 bit unsigned integers.  At the "
39147 "moment this is only used for progress messages."
39148 msgstr ""
39149
39150 #. type: =head3
39151 #: ../src/guestfs.pod:1971
39152 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
39153 msgstr ""
39154
39155 #. type: textblock
39156 #: ../src/guestfs.pod:1973
39157 msgid ""
39158 "One motivation for the generic event API was to allow GUI programs to "
39159 "capture debug and other messages.  In libguestfs E<le> 1.8 these were sent "
39160 "unconditionally to C<stderr>."
39161 msgstr ""
39162
39163 #. type: textblock
39164 #: ../src/guestfs.pod:1977
39165 msgid ""
39166 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
39167 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>.  (Note that error "
39168 "messages are not events; you must capture error messages separately)."
39169 msgstr ""
39170
39171 #. type: textblock
39172 #: ../src/guestfs.pod:1982
39173 msgid ""
39174 "Programs have to set up a callback to capture the classes of events of "
39175 "interest:"
39176 msgstr ""
39177
39178 #. type: verbatim
39179 #: ../src/guestfs.pod:1985
39180 #, no-wrap
39181 msgid ""
39182 " int eh =\n"
39183 "   guestfs_set_event_callback\n"
39184 "     (g, message_callback,\n"
39185 "      GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
39186 "      GUESTFS_EVENT_TRACE,\n"
39187 "      0, NULL) == -1)\n"
39188 " if (eh == -1) {\n"
39189 "   // handle error in the usual way\n"
39190 " }\n"
39191 "\n"
39192 msgstr ""
39193
39194 #. type: textblock
39195 #: ../src/guestfs.pod:1995
39196 msgid ""
39197 "The callback can then direct messages to the appropriate place.  In this "
39198 "example, messages are directed to syslog:"
39199 msgstr ""
39200
39201 #. type: verbatim
39202 #: ../src/guestfs.pod:1998
39203 #, no-wrap
39204 msgid ""
39205 " static void\n"
39206 " message_callback (\n"
39207 "         guestfs_h *g,\n"
39208 "         void *opaque,\n"
39209 "         uint64_t event,\n"
39210 "         int event_handle,\n"
39211 "         int flags,\n"
39212 "         const char *buf, size_t buf_len,\n"
39213 "         const uint64_t *array, size_t array_len)\n"
39214 " {\n"
39215 "   const int priority = LOG_USER|LOG_INFO;\n"
39216 "   if (buf_len > 0)\n"
39217 "     syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
39218 " }\n"
39219 "\n"
39220 msgstr ""
39221
39222 #. type: =head1
39223 #: ../src/guestfs.pod:2013
39224 msgid "CANCELLING LONG TRANSFERS"
39225 msgstr ""
39226
39227 #. type: textblock
39228 #: ../src/guestfs.pod:2015
39229 msgid ""
39230 "Some operations can be cancelled by the caller while they are in progress.  "
39231 "Currently only operations that involve uploading or downloading data can be "
39232 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
39233 "parameters in the generator)."
39234 msgstr ""
39235
39236 #. type: =head2
39237 #: ../src/guestfs.pod:2020
39238 msgid "guestfs_user_cancel"
39239 msgstr ""
39240
39241 #. type: verbatim
39242 #: ../src/guestfs.pod:2022
39243 #, no-wrap
39244 msgid ""
39245 " void guestfs_user_cancel (guestfs_h *g);\n"
39246 "\n"
39247 msgstr ""
39248
39249 #. type: textblock
39250 #: ../src/guestfs.pod:2024
39251 msgid ""
39252 "C<guestfs_user_cancel> cancels the current upload or download operation."
39253 msgstr ""
39254
39255 #. type: textblock
39256 #: ../src/guestfs.pod:2027
39257 msgid ""
39258 "Unlike most other libguestfs calls, this function is signal safe and thread "
39259 "safe.  You can call it from a signal handler or from another thread, without "
39260 "needing to do any locking."
39261 msgstr ""
39262
39263 #. type: textblock
39264 #: ../src/guestfs.pod:2031
39265 msgid ""
39266 "The transfer that was in progress (if there is one) will stop shortly "
39267 "afterwards, and will return an error.  The errno (see L</"
39268 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
39269 "out if the operation was cancelled or failed because of another error."
39270 msgstr ""
39271
39272 #. type: textblock
39273 #: ../src/guestfs.pod:2037
39274 msgid ""
39275 "No cleanup is performed: for example, if a file was being uploaded then "
39276 "after cancellation there may be a partially uploaded file.  It is the "
39277 "caller's responsibility to clean up if necessary."
39278 msgstr ""
39279
39280 #. type: textblock
39281 #: ../src/guestfs.pod:2041
39282 msgid "There are two common places that you might call C<guestfs_user_cancel>."
39283 msgstr ""
39284
39285 #. type: textblock
39286 #: ../src/guestfs.pod:2043
39287 msgid ""
39288 "In an interactive text-based program, you might call it from a C<SIGINT> "
39289 "signal handler so that pressing C<^C> cancels the current operation.  (You "
39290 "also need to call L</guestfs_set_pgroup> so that child processes don't "
39291 "receive the C<^C> signal)."
39292 msgstr ""
39293
39294 #. type: textblock
39295 #: ../src/guestfs.pod:2048
39296 msgid ""
39297 "In a graphical program, when the main thread is displaying a progress bar "
39298 "with a cancel button, wire up the cancel button to call this function."
39299 msgstr ""
39300
39301 #. type: =head1
39302 #: ../src/guestfs.pod:2052
39303 msgid "PRIVATE DATA AREA"
39304 msgstr ""
39305
39306 #. type: textblock
39307 #: ../src/guestfs.pod:2054
39308 msgid ""
39309 "You can attach named pieces of private data to the libguestfs handle, fetch "
39310 "them by name, and walk over them, for the lifetime of the handle.  This is "
39311 "called the private data area and is only available from the C API."
39312 msgstr ""
39313
39314 #. type: textblock
39315 #: ../src/guestfs.pod:2059
39316 msgid "To attach a named piece of data, use the following call:"
39317 msgstr ""
39318
39319 #. type: verbatim
39320 #: ../src/guestfs.pod:2061
39321 #, no-wrap
39322 msgid ""
39323 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
39324 "\n"
39325 msgstr ""
39326 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
39327 "\n"
39328
39329 #. type: textblock
39330 #: ../src/guestfs.pod:2063
39331 msgid ""
39332 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
39333 "pointer (which can be C<NULL>).  Any previous item with the same key is "
39334 "overwritten."
39335 msgstr ""
39336
39337 #. type: textblock
39338 #: ../src/guestfs.pod:2067
39339 msgid ""
39340 "You can use any C<key> you want, but your key should I<not> start with an "
39341 "underscore character.  Keys beginning with an underscore character are "
39342 "reserved for internal libguestfs purposes (eg. for implementing language "
39343 "bindings).  It is recommended that you prefix the key with some unique "
39344 "string to avoid collisions with other users."
39345 msgstr ""
39346
39347 #. type: textblock
39348 #: ../src/guestfs.pod:2073
39349 msgid "To retrieve the pointer, use:"
39350 msgstr ""
39351
39352 #. type: verbatim
39353 #: ../src/guestfs.pod:2075
39354 #, no-wrap
39355 msgid ""
39356 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
39357 "\n"
39358 msgstr ""
39359 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
39360 "\n"
39361
39362 #. type: textblock
39363 #: ../src/guestfs.pod:2077
39364 msgid ""
39365 "This function returns C<NULL> if either no data is found associated with "
39366 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
39367 "C<NULL>."
39368 msgstr ""
39369
39370 #. type: textblock
39371 #: ../src/guestfs.pod:2081
39372 msgid ""
39373 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
39374 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
39375 "all.  In particular, libguestfs does I<not> try to free the data when the "
39376 "handle is closed.  If the data must be freed, then the caller must either "
39377 "free it before calling L</guestfs_close> or must set up a close callback to "
39378 "do it (see L</GUESTFS_EVENT_CLOSE>)."
39379 msgstr ""
39380
39381 #. type: textblock
39382 #: ../src/guestfs.pod:2088
39383 msgid "To walk over all entries, use these two functions:"
39384 msgstr ""
39385
39386 #. type: verbatim
39387 #: ../src/guestfs.pod:2090
39388 #, no-wrap
39389 msgid ""
39390 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
39391 "\n"
39392 msgstr ""
39393
39394 #. type: verbatim
39395 #: ../src/guestfs.pod:2092
39396 #, no-wrap
39397 msgid ""
39398 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
39399 "\n"
39400 msgstr ""
39401
39402 #. type: textblock
39403 #: ../src/guestfs.pod:2094
39404 msgid ""
39405 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
39406 "not have any particular meaning -- keys are not returned in any defined "
39407 "order).  A pointer to the key is returned in C<*key_rtn> and the "
39408 "corresponding data pointer is returned from the function.  C<NULL> is "
39409 "returned if there are no keys stored in the handle."
39410 msgstr ""
39411
39412 #. type: textblock
39413 #: ../src/guestfs.pod:2100
39414 msgid ""
39415 "C<guestfs_next_private> returns the next key, pointer pair.  The return "
39416 "value of this function is also C<NULL> is there are no further entries to "
39417 "return."
39418 msgstr ""
39419
39420 #. type: textblock
39421 #: ../src/guestfs.pod:2104
39422 msgid "Notes about walking over entries:"
39423 msgstr ""
39424
39425 #. type: textblock
39426 #: ../src/guestfs.pod:2110
39427 msgid ""
39428 "You must not call C<guestfs_set_private> while walking over the entries."
39429 msgstr ""
39430
39431 #. type: textblock
39432 #: ../src/guestfs.pod:2115
39433 msgid ""
39434 "The handle maintains an internal iterator which is reset when you call "
39435 "C<guestfs_first_private>.  This internal iterator is invalidated when you "
39436 "call C<guestfs_set_private>."
39437 msgstr ""
39438
39439 #. type: textblock
39440 #: ../src/guestfs.pod:2121
39441 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
39442 msgstr ""
39443
39444 #. type: verbatim
39445 #: ../src/guestfs.pod:2123
39446 #, no-wrap
39447 msgid ""
39448 " guestfs_set_private (g, key, NULL);\n"
39449 "\n"
39450 msgstr ""
39451
39452 #. type: textblock
39453 #: ../src/guestfs.pod:2125
39454 msgid "then that C<key> is not returned when walking."
39455 msgstr ""
39456
39457 #. type: textblock
39458 #: ../src/guestfs.pod:2129
39459 msgid ""
39460 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
39461 "C<guestfs_next_private> or C<guestfs_set_private>."
39462 msgstr ""
39463
39464 #. type: textblock
39465 #: ../src/guestfs.pod:2135
39466 msgid ""
39467 "The following example code shows how to print all keys and data pointers "
39468 "that are associated with the handle C<g>:"
39469 msgstr ""
39470
39471 #. type: verbatim
39472 #: ../src/guestfs.pod:2138
39473 #, no-wrap
39474 msgid ""
39475 " const char *key;\n"
39476 " void *data = guestfs_first_private (g, &key);\n"
39477 " while (data != NULL)\n"
39478 "   {\n"
39479 "     printf (\"key = %s, data = %p\\n\", key, data);\n"
39480 "     data = guestfs_next_private (g, &key);\n"
39481 "   }\n"
39482 "\n"
39483 msgstr ""
39484
39485 #. type: textblock
39486 #: ../src/guestfs.pod:2146
39487 msgid ""
39488 "More commonly you are only interested in keys that begin with an application-"
39489 "specific prefix C<foo_>.  Modify the loop like so:"
39490 msgstr ""
39491
39492 #. type: verbatim
39493 #: ../src/guestfs.pod:2149
39494 #, no-wrap
39495 msgid ""
39496 " const char *key;\n"
39497 " void *data = guestfs_first_private (g, &key);\n"
39498 " while (data != NULL)\n"
39499 "   {\n"
39500 "     if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
39501 "       printf (\"key = %s, data = %p\\n\", key, data);\n"
39502 "     data = guestfs_next_private (g, &key);\n"
39503 "   }\n"
39504 "\n"
39505 msgstr ""
39506
39507 #. type: textblock
39508 #: ../src/guestfs.pod:2158
39509 msgid ""
39510 "If you need to modify keys while walking, then you have to jump back to the "
39511 "beginning of the loop.  For example, to delete all keys prefixed with "
39512 "C<foo_>:"
39513 msgstr ""
39514
39515 #. type: verbatim
39516 #: ../src/guestfs.pod:2162
39517 #, no-wrap
39518 msgid ""
39519 "  const char *key;\n"
39520 "  void *data;\n"
39521 " again:\n"
39522 "  data = guestfs_first_private (g, &key);\n"
39523 "  while (data != NULL)\n"
39524 "    {\n"
39525 "      if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
39526 "        {\n"
39527 "          guestfs_set_private (g, key, NULL);\n"
39528 "          /* note that 'key' pointer is now invalid, and so is\n"
39529 "             the internal iterator */\n"
39530 "          goto again;\n"
39531 "        }\n"
39532 "      data = guestfs_next_private (g, &key);\n"
39533 "    }\n"
39534 "\n"
39535 msgstr ""
39536
39537 #. type: textblock
39538 #: ../src/guestfs.pod:2178
39539 msgid ""
39540 "Note that the above loop is guaranteed to terminate because the keys are "
39541 "being deleted, but other manipulations of keys within the loop might not "
39542 "terminate unless you also maintain an indication of which keys have been "
39543 "visited."
39544 msgstr ""
39545
39546 #. type: =head1
39547 #: ../src/guestfs.pod:2183
39548 msgid "SYSTEMTAP"
39549 msgstr ""
39550
39551 #. type: textblock
39552 #: ../src/guestfs.pod:2185
39553 msgid ""
39554 "The libguestfs C library can be probed using systemtap or DTrace.  This is "
39555 "true of any library, not just libguestfs.  However libguestfs also contains "
39556 "static markers to help in probing internal operations."
39557 msgstr ""
39558
39559 #. type: textblock
39560 #: ../src/guestfs.pod:2189
39561 msgid "You can list all the static markers by doing:"
39562 msgstr ""
39563
39564 #. type: verbatim
39565 #: ../src/guestfs.pod:2191
39566 #, no-wrap
39567 msgid ""
39568 " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n"
39569 "              .provider(\"guestfs\").mark(\"*\")'\n"
39570 "\n"
39571 msgstr ""
39572
39573 #. type: textblock
39574 #: ../src/guestfs.pod:2194
39575 msgid ""
39576 "B<Note:> These static markers are I<not> part of the stable API and may "
39577 "change in future versions."
39578 msgstr ""
39579
39580 #. type: =head2
39581 #: ../src/guestfs.pod:2197
39582 msgid "SYSTEMTAP SCRIPT EXAMPLE"
39583 msgstr ""
39584
39585 #. type: textblock
39586 #: ../src/guestfs.pod:2199
39587 msgid ""
39588 "This script contains examples of displaying both the static markers and some "
39589 "ordinary C entry points:"
39590 msgstr ""
39591
39592 #. type: verbatim
39593 #: ../src/guestfs.pod:2202
39594 #, no-wrap
39595 msgid ""
39596 " global last;\n"
39597 " \n"
39598 msgstr ""
39599
39600 #. type: verbatim
39601 #: ../src/guestfs.pod:2204
39602 #, no-wrap
39603 msgid ""
39604 " function display_time () {\n"
39605 "       now = gettimeofday_us ();\n"
39606 "       delta = 0;\n"
39607 "       if (last > 0)\n"
39608 "             delta = now - last;\n"
39609 "       last = now;\n"
39610 " \n"
39611 msgstr ""
39612
39613 #. type: verbatim
39614 #: ../src/guestfs.pod:2211
39615 #, no-wrap
39616 msgid ""
39617 "       printf (\"%d (+%d):\", now, delta);\n"
39618 " }\n"
39619 " \n"
39620 msgstr ""
39621
39622 #. type: verbatim
39623 #: ../src/guestfs.pod:2214
39624 #, no-wrap
39625 msgid ""
39626 " probe begin {\n"
39627 "       last = 0;\n"
39628 "       printf (\"ready\\n\");\n"
39629 " }\n"
39630 " \n"
39631 msgstr ""
39632
39633 #. type: verbatim
39634 #: ../src/guestfs.pod:2219
39635 #, no-wrap
39636 msgid ""
39637 " /* Display all calls to static markers. */\n"
39638 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
39639 "           .provider(\"guestfs\").mark(\"*\") ? {\n"
39640 "       display_time();\n"
39641 "       printf (\"\\t%s %s\\n\", $$name, $$parms);\n"
39642 " }\n"
39643 " \n"
39644 msgstr ""
39645
39646 #. type: verbatim
39647 #: ../src/guestfs.pod:2226
39648 #, no-wrap
39649 msgid ""
39650 " /* Display all calls to guestfs_mkfs* functions. */\n"
39651 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
39652 "           .function(\"guestfs_mkfs*\") ? {\n"
39653 "       display_time();\n"
39654 "       printf (\"\\t%s %s\\n\", probefunc(), $$parms);\n"
39655 " }\n"
39656 "\n"
39657 msgstr ""
39658
39659 #. type: textblock
39660 #: ../src/guestfs.pod:2233
39661 msgid ""
39662 "The script above can be saved to C<test.stap> and run using the L<stap(1)> "
39663 "program.  Note that you either have to be root, or you have to add yourself "
39664 "to several special stap groups.  Consult the systemtap documentation for "
39665 "more information."
39666 msgstr ""
39667
39668 #. type: verbatim
39669 #: ../src/guestfs.pod:2238
39670 #, no-wrap
39671 msgid ""
39672 " # stap /tmp/test.stap\n"
39673 " ready\n"
39674 "\n"
39675 msgstr ""
39676
39677 #. type: textblock
39678 #: ../src/guestfs.pod:2241
39679 msgid "In another terminal, run a guestfish command such as this:"
39680 msgstr ""
39681
39682 #. type: textblock
39683 #: ../src/guestfs.pod:2245
39684 msgid "In the first terminal, stap trace output similar to this is shown:"
39685 msgstr ""
39686
39687 #. type: verbatim
39688 #: ../src/guestfs.pod:2247
39689 #, no-wrap
39690 msgid ""
39691 " 1318248056692655 (+0):\tlaunch_start\n"
39692 " 1318248056692850 (+195):       launch_build_appliance_start\n"
39693 " 1318248056818285 (+125435):    launch_build_appliance_end\n"
39694 " 1318248056838059 (+19774):     launch_run_qemu\n"
39695 " 1318248061071167 (+4233108):   launch_end\n"
39696 " 1318248061280324 (+209157):    guestfs_mkfs g=0x1024ab0 fstype=0x46116f device=0x1024e60\n"
39697 "\n"
39698 msgstr ""
39699
39700 #. type: =end
39701 #: ../src/guestfs.pod:2254 ../src/guestfs.pod:2259
39702 msgid "html"
39703 msgstr "html"
39704
39705 #. type: textblock
39706 #: ../src/guestfs.pod:2256
39707 msgid ""
39708 "<!-- old anchor for the next section --> <a name="
39709 "\"state_machine_and_low_level_event_api\"/>"
39710 msgstr ""
39711 "<!-- old anchor for the next section --> <a name="
39712 "\"state_machine_and_low_level_event_api\"/>"
39713
39714 #. type: =head1
39715 #: ../src/guestfs.pod:2261
39716 msgid "ARCHITECTURE"
39717 msgstr "АРХІТЕКТУРА"
39718
39719 #. type: textblock
39720 #: ../src/guestfs.pod:2263
39721 msgid ""
39722 "Internally, libguestfs is implemented by running an appliance (a special "
39723 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
39724 "process of the main program."
39725 msgstr ""
39726
39727 #. type: verbatim
39728 #: ../src/guestfs.pod:2267
39729 #, no-wrap
39730 msgid ""
39731 "  ___________________\n"
39732 " /                   \\\n"
39733 " | main program      |\n"
39734 " |                   |\n"
39735 " |                   |           child process / appliance\n"
39736 " |                   |           __________________________\n"
39737 " |                   |          / qemu                     \\\n"
39738 " +-------------------+   RPC    |      +-----------------+ |\n"
39739 " | libguestfs     <--------------------> guestfsd        | |\n"
39740 " |                   |          |      +-----------------+ |\n"
39741 " \\___________________/          |      | Linux kernel    | |\n"
39742 "                                |      +--^--------------+ |\n"
39743 "                                \\_________|________________/\n"
39744 "                                          |\n"
39745 "                                   _______v______\n"
39746 "                                  /              \\\n"
39747 "                                  | Device or    |\n"
39748 "                                  | disk image   |\n"
39749 "                                  \\______________/\n"
39750 "\n"
39751 msgstr ""
39752
39753 #. type: textblock
39754 #: ../src/guestfs.pod:2287
39755 msgid ""
39756 "The library, linked to the main program, creates the child process and hence "
39757 "the appliance in the L</guestfs_launch> function."
39758 msgstr ""
39759
39760 #. type: textblock
39761 #: ../src/guestfs.pod:2290
39762 msgid ""
39763 "Inside the appliance is a Linux kernel and a complete stack of userspace "
39764 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
39765 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
39766 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
39767 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
39768 "attached to the qemu process which translates device access by the "
39769 "appliance's Linux kernel into accesses to the image."
39770 msgstr ""
39771
39772 #. type: textblock
39773 #: ../src/guestfs.pod:2299
39774 msgid ""
39775 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
39776 "Although the disk image you are attached to might also be used by some "
39777 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
39778 "care if both libguestfs's qemu process and your virtual machine are trying "
39779 "to update the disk image at the same time, since these usually results in "
39780 "massive disk corruption)."
39781 msgstr ""
39782
39783 #. type: =head1
39784 #: ../src/guestfs.pod:2306
39785 msgid "STATE MACHINE"
39786 msgstr "СКІНЧЕННИЙ АВТОМАТ"
39787
39788 #. type: textblock
39789 #: ../src/guestfs.pod:2308
39790 msgid "libguestfs uses a state machine to model the child process:"
39791 msgstr ""
39792
39793 #. type: verbatim
39794 #: ../src/guestfs.pod:2310
39795 #, no-wrap
39796 msgid ""
39797 "                         |\n"
39798 "                    guestfs_create\n"
39799 "                         |\n"
39800 "                         |\n"
39801 "                     ____V_____\n"
39802 "                    /          \\\n"
39803 "                    |  CONFIG  |\n"
39804 "                    \\__________/\n"
39805 "                     ^ ^   ^  \\\n"
39806 "                    /  |    \\  \\ guestfs_launch\n"
39807 "                   /   |    _\\__V______\n"
39808 "                  /    |   /           \\\n"
39809 "                 /     |   | LAUNCHING |\n"
39810 "                /      |   \\___________/\n"
39811 "               /       |       /\n"
39812 "              /        |  guestfs_launch\n"
39813 "             /         |     /\n"
39814 "    ______  /        __|____V\n"
39815 "   /      \\ ------> /        \\\n"
39816 "   | BUSY |         | READY  |\n"
39817 "   \\______/ <------ \\________/\n"
39818 "\n"
39819 msgstr ""
39820
39821 #. type: textblock
39822 #: ../src/guestfs.pod:2332
39823 msgid ""
39824 "The normal transitions are (1) CONFIG (when the handle is created, but there "
39825 "is no child process), (2) LAUNCHING (when the child process is booting up), "
39826 "(3) alternating between READY and BUSY as commands are issued to, and "
39827 "carried out by, the child process."
39828 msgstr ""
39829
39830 #. type: textblock
39831 #: ../src/guestfs.pod:2337
39832 msgid ""
39833 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
39834 "asynchronously at any time (eg. due to some internal error), and that causes "
39835 "the state to transition back to CONFIG."
39836 msgstr ""
39837
39838 #. type: textblock
39839 #: ../src/guestfs.pod:2341
39840 msgid ""
39841 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
39842 "issued when in the CONFIG state."
39843 msgstr ""
39844
39845 #. type: textblock
39846 #: ../src/guestfs.pod:2344
39847 msgid ""
39848 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
39849 "L</guestfs_launch> blocks until the child process is READY to accept "
39850 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
39851 "moves the state from CONFIG to LAUNCHING while it is running."
39852 msgstr ""
39853
39854 #. type: textblock
39855 #: ../src/guestfs.pod:2350
39856 msgid ""
39857 "API actions such as L</guestfs_mount> can only be issued when in the READY "
39858 "state.  These API calls block waiting for the command to be carried out (ie. "
39859 "the state to transition to BUSY and then back to READY).  There are no non-"
39860 "blocking versions, and no way to issue more than one command per handle at "
39861 "the same time."
39862 msgstr ""
39863
39864 #. type: textblock
39865 #: ../src/guestfs.pod:2356
39866 msgid ""
39867 "Finally, the child process sends asynchronous messages back to the main "
39868 "program, such as kernel log messages.  You can register a callback to "
39869 "receive these messages."
39870 msgstr ""
39871
39872 #. type: =head1
39873 #: ../src/guestfs.pod:2360
39874 msgid "INTERNALS"
39875 msgstr ""
39876
39877 #. type: =head2
39878 #: ../src/guestfs.pod:2362
39879 msgid "APPLIANCE BOOT PROCESS"
39880 msgstr ""
39881
39882 #. type: textblock
39883 #: ../src/guestfs.pod:2364
39884 msgid ""
39885 "This process has evolved and continues to evolve.  The description here "
39886 "corresponds only to the current version of libguestfs and is provided for "
39887 "information only."
39888 msgstr ""
39889
39890 #. type: textblock
39891 #: ../src/guestfs.pod:2368
39892 msgid ""
39893 "In order to follow the stages involved below, enable libguestfs debugging "
39894 "(set the environment variable C<LIBGUESTFS_DEBUG=1>)."
39895 msgstr ""
39896
39897 #. type: =item
39898 #: ../src/guestfs.pod:2373
39899 msgid "Create the appliance"
39900 msgstr ""
39901
39902 #. type: textblock
39903 #: ../src/guestfs.pod:2375
39904 msgid ""
39905 "C<febootstrap-supermin-helper> is invoked to create the kernel, a small "
39906 "initrd and the appliance."
39907 msgstr ""
39908
39909 #. type: textblock
39910 #: ../src/guestfs.pod:2378
39911 msgid ""
39912 "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another "
39913 "directory if C<TMPDIR> is set)."
39914 msgstr ""
39915
39916 #. type: textblock
39917 #: ../src/guestfs.pod:2381
39918 msgid ""
39919 "For a complete description of how the appliance is created and cached, read "
39920 "the L<febootstrap(8)> and L<febootstrap-supermin-helper(8)> man pages."
39921 msgstr ""
39922
39923 #. type: =item
39924 #: ../src/guestfs.pod:2385
39925 msgid "Start qemu and boot the kernel"
39926 msgstr ""
39927
39928 #. type: textblock
39929 #: ../src/guestfs.pod:2387
39930 msgid "qemu is invoked to boot the kernel."
39931 msgstr ""
39932
39933 #. type: =item
39934 #: ../src/guestfs.pod:2389
39935 msgid "Run the initrd"
39936 msgstr ""
39937
39938 #. type: textblock
39939 #: ../src/guestfs.pod:2391
39940 msgid ""
39941 "C<febootstrap-supermin-helper> builds a small initrd.  The initrd is not the "
39942 "appliance.  The purpose of the initrd is to load enough kernel modules in "
39943 "order that the appliance itself can be mounted and started."
39944 msgstr ""
39945
39946 #. type: textblock
39947 #: ../src/guestfs.pod:2395
39948 msgid ""
39949 "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/"
39950 "initrd>."
39951 msgstr ""
39952
39953 #. type: textblock
39954 #: ../src/guestfs.pod:2398
39955 msgid ""
39956 "When the initrd has started you will see messages showing that kernel "
39957 "modules are being loaded, similar to this:"
39958 msgstr ""
39959
39960 #. type: verbatim
39961 #: ../src/guestfs.pod:2401
39962 #, no-wrap
39963 msgid ""
39964 " febootstrap: ext2 mini initrd starting up\n"
39965 " febootstrap: mounting /sys\n"
39966 " febootstrap: internal insmod libcrc32c.ko\n"
39967 " febootstrap: internal insmod crc32c-intel.ko\n"
39968 "\n"
39969 msgstr ""
39970
39971 #. type: =item
39972 #: ../src/guestfs.pod:2406
39973 msgid "Find and mount the appliance device"
39974 msgstr ""
39975
39976 #. type: textblock
39977 #: ../src/guestfs.pod:2408
39978 msgid ""
39979 "The appliance is a sparse file containing an ext2 filesystem which contains "
39980 "a familiar (although reduced in size) Linux operating system.  It would "
39981 "normally be called C</var/tmp/.guestfs-E<lt>UIDE<gt>/root>."
39982 msgstr ""
39983
39984 #. type: textblock
39985 #: ../src/guestfs.pod:2412
39986 msgid ""
39987 "The regular disks being inspected by libguestfs are the first devices "
39988 "exposed by qemu (eg. as C</dev/vda>)."
39989 msgstr ""
39990
39991 #. type: textblock
39992 #: ../src/guestfs.pod:2415
39993 msgid ""
39994 "The last disk added to qemu is the appliance itself (eg. C</dev/vdb> if "
39995 "there was only one regular disk)."
39996 msgstr ""
39997
39998 #. type: textblock
39999 #: ../src/guestfs.pod:2418
40000 msgid ""
40001 "Thus the final job of the initrd is to locate the appliance disk, mount it, "
40002 "and switch root into the appliance, and run C</init> from the appliance."
40003 msgstr ""
40004
40005 #. type: textblock
40006 #: ../src/guestfs.pod:2422
40007 msgid "If this works successfully you will see messages such as:"
40008 msgstr ""
40009
40010 #. type: verbatim
40011 #: ../src/guestfs.pod:2424
40012 #, no-wrap
40013 msgid ""
40014 " febootstrap: picked /sys/block/vdb/dev as root device\n"
40015 " febootstrap: creating /dev/root as block special 252:16\n"
40016 " febootstrap: mounting new root on /root\n"
40017 " febootstrap: chroot\n"
40018 " Starting /init script ...\n"
40019 "\n"
40020 msgstr ""
40021
40022 #. type: textblock
40023 #: ../src/guestfs.pod:2430
40024 msgid ""
40025 "Note that C<Starting /init script ...> indicates that the appliance's init "
40026 "script is now running."
40027 msgstr ""
40028
40029 #. type: =item
40030 #: ../src/guestfs.pod:2433
40031 msgid "Initialize the appliance"
40032 msgstr ""
40033
40034 #. type: textblock
40035 #: ../src/guestfs.pod:2435
40036 msgid ""
40037 "The appliance itself now initializes itself.  This involves starting certain "
40038 "processes like C<udev>, possibly printing some debug information, and "
40039 "finally running the daemon (C<guestfsd>)."
40040 msgstr ""
40041
40042 #. type: =item
40043 #: ../src/guestfs.pod:2439
40044 msgid "The daemon"
40045 msgstr ""
40046
40047 #. type: textblock
40048 #: ../src/guestfs.pod:2441
40049 msgid ""
40050 "Finally the daemon (C<guestfsd>) runs inside the appliance.  If it runs you "
40051 "should see:"
40052 msgstr ""
40053
40054 #. type: verbatim
40055 #: ../src/guestfs.pod:2444
40056 #, no-wrap
40057 msgid ""
40058 " verbose daemon enabled\n"
40059 "\n"
40060 msgstr ""
40061
40062 #. type: textblock
40063 #: ../src/guestfs.pod:2446
40064 msgid ""
40065 "The daemon expects to see a named virtio-serial port exposed by qemu and "
40066 "connected on the other end to the library."
40067 msgstr ""
40068
40069 #. type: textblock
40070 #: ../src/guestfs.pod:2449
40071 msgid ""
40072 "The daemon connects to this port (and hence to the library) and sends a four "
40073 "byte message C<GUESTFS_LAUNCH_FLAG>, which initiates the communication "
40074 "protocol (see below)."
40075 msgstr ""
40076
40077 #. type: =head2
40078 #: ../src/guestfs.pod:2455
40079 msgid "COMMUNICATION PROTOCOL"
40080 msgstr ""
40081
40082 #. type: textblock
40083 #: ../src/guestfs.pod:2457
40084 msgid ""
40085 "Don't rely on using this protocol directly.  This section documents how it "
40086 "currently works, but it may change at any time."
40087 msgstr ""
40088
40089 #. type: textblock
40090 #: ../src/guestfs.pod:2460
40091 msgid ""
40092 "The protocol used to talk between the library and the daemon running inside "
40093 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
40094 "1014, RFC 1832, RFC 4506)."
40095 msgstr ""
40096
40097 #. type: textblock
40098 #: ../src/guestfs.pod:2464
40099 msgid ""
40100 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
40101 "this file is automatically generated)."
40102 msgstr ""
40103
40104 #. type: textblock
40105 #: ../src/guestfs.pod:2467
40106 msgid ""
40107 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
40108 "and C<FileOut> parameters, which are handled with very simple request/reply "
40109 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
40110 "parameters, which use the same request and reply messages, but they may also "
40111 "be followed by files sent using a chunked encoding."
40112 msgstr ""
40113
40114 #. type: =head3
40115 #: ../src/guestfs.pod:2474
40116 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
40117 msgstr ""
40118
40119 #. type: textblock
40120 #: ../src/guestfs.pod:2476
40121 msgid "For ordinary functions, the request message is:"
40122 msgstr ""
40123
40124 #. type: verbatim
40125 #: ../src/guestfs.pod:2478
40126 #, no-wrap
40127 msgid ""
40128 " total length (header + arguments,\n"
40129 "      but not including the length word itself)\n"
40130 " struct guestfs_message_header (encoded as XDR)\n"
40131 " struct guestfs_<foo>_args (encoded as XDR)\n"
40132 "\n"
40133 msgstr ""
40134
40135 #. type: textblock
40136 #: ../src/guestfs.pod:2483
40137 msgid ""
40138 "The total length field allows the daemon to allocate a fixed size buffer "
40139 "into which it slurps the rest of the message.  As a result, the total length "
40140 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
40141 "effective size of any request is limited to somewhere under this size."
40142 msgstr ""
40143
40144 #. type: textblock
40145 #: ../src/guestfs.pod:2489
40146 msgid ""
40147 "Note also that many functions don't take any arguments, in which case the "
40148 "C<guestfs_I<foo>_args> is completely omitted."
40149 msgstr ""
40150
40151 #. type: textblock
40152 #: ../src/guestfs.pod:2492
40153 msgid ""
40154 "The header contains the procedure number (C<guestfs_proc>) which is how the "
40155 "receiver knows what type of args structure to expect, or none at all."
40156 msgstr ""
40157
40158 #. type: textblock
40159 #: ../src/guestfs.pod:2496
40160 msgid ""
40161 "For functions that take optional arguments, the optional arguments are "
40162 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
40163 "arguments.  A bitmask in the header indicates which optional arguments are "
40164 "meaningful.  The bitmask is also checked to see if it contains bits set "
40165 "which the daemon does not know about (eg. if more optional arguments were "
40166 "added in a later version of the library), and this causes the call to be "
40167 "rejected."
40168 msgstr ""
40169
40170 #. type: textblock
40171 #: ../src/guestfs.pod:2504
40172 msgid "The reply message for ordinary functions is:"
40173 msgstr ""
40174
40175 #. type: verbatim
40176 #: ../src/guestfs.pod:2506
40177 #, no-wrap
40178 msgid ""
40179 " total length (header + ret,\n"
40180 "      but not including the length word itself)\n"
40181 " struct guestfs_message_header (encoded as XDR)\n"
40182 " struct guestfs_<foo>_ret (encoded as XDR)\n"
40183 "\n"
40184 msgstr ""
40185
40186 #. type: textblock
40187 #: ../src/guestfs.pod:2511
40188 msgid ""
40189 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
40190 "functions that return no formal return values."
40191 msgstr ""
40192
40193 #. type: textblock
40194 #: ../src/guestfs.pod:2514
40195 msgid ""
40196 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
40197 msgstr ""
40198
40199 #. type: textblock
40200 #: ../src/guestfs.pod:2517
40201 msgid ""
40202 "In the case of an error, a flag is set in the header, and the reply message "
40203 "is slightly changed:"
40204 msgstr ""
40205
40206 #. type: verbatim
40207 #: ../src/guestfs.pod:2520
40208 #, no-wrap
40209 msgid ""
40210 " total length (header + error,\n"
40211 "      but not including the length word itself)\n"
40212 " struct guestfs_message_header (encoded as XDR)\n"
40213 " struct guestfs_message_error (encoded as XDR)\n"
40214 "\n"
40215 msgstr ""
40216
40217 #. type: textblock
40218 #: ../src/guestfs.pod:2525
40219 msgid ""
40220 "The C<guestfs_message_error> structure contains the error message as a "
40221 "string."
40222 msgstr ""
40223
40224 #. type: =head3
40225 #: ../src/guestfs.pod:2528
40226 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
40227 msgstr ""
40228
40229 #. type: textblock
40230 #: ../src/guestfs.pod:2530
40231 msgid ""
40232 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
40233 "The normal request message is sent (see above).  However this is followed by "
40234 "a sequence of file chunks."
40235 msgstr ""
40236
40237 #. type: verbatim
40238 #: ../src/guestfs.pod:2534
40239 #, no-wrap
40240 msgid ""
40241 " total length (header + arguments,\n"
40242 "      but not including the length word itself,\n"
40243 "      and not including the chunks)\n"
40244 " struct guestfs_message_header (encoded as XDR)\n"
40245 " struct guestfs_<foo>_args (encoded as XDR)\n"
40246 " sequence of chunks for FileIn param #0\n"
40247 " sequence of chunks for FileIn param #1 etc.\n"
40248 "\n"
40249 msgstr ""
40250
40251 #. type: textblock
40252 #: ../src/guestfs.pod:2542
40253 msgid "The \"sequence of chunks\" is:"
40254 msgstr ""
40255
40256 #. type: verbatim
40257 #: ../src/guestfs.pod:2544
40258 #, no-wrap
40259 msgid ""
40260 " length of chunk (not including length word itself)\n"
40261 " struct guestfs_chunk (encoded as XDR)\n"
40262 " length of chunk\n"
40263 " struct guestfs_chunk (encoded as XDR)\n"
40264 "   ...\n"
40265 " length of chunk\n"
40266 " struct guestfs_chunk (with data.data_len == 0)\n"
40267 "\n"
40268 msgstr ""
40269
40270 #. type: textblock
40271 #: ../src/guestfs.pod:2552
40272 msgid ""
40273 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
40274 "is set in the final chunk to indicate either successful completion or early "
40275 "cancellation."
40276 msgstr ""
40277
40278 #. type: textblock
40279 #: ../src/guestfs.pod:2556
40280 msgid ""
40281 "At time of writing there are no functions that have more than one FileIn "
40282 "parameter.  However this is (theoretically) supported, by sending the "
40283 "sequence of chunks for each FileIn parameter one after another (from left to "
40284 "right)."
40285 msgstr ""
40286
40287 #. type: textblock
40288 #: ../src/guestfs.pod:2561
40289 msgid ""
40290 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
40291 "transfer.  The library does this by sending a chunk with a special flag set "
40292 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
40293 "RPC, does I<not> send any reply, and goes back to reading the next request."
40294 msgstr ""
40295
40296 #. type: textblock
40297 #: ../src/guestfs.pod:2567
40298 msgid ""
40299 "The daemon may also cancel.  It does this by writing a special word "
40300 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
40301 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
40302 "cancel chunk).  The special word is chosen so that even if cancellation "
40303 "happens right at the end of the transfer (after the library has finished "
40304 "writing and has started listening for the reply), the \"spurious\" cancel "
40305 "flag will not be confused with the reply message."
40306 msgstr ""
40307
40308 #. type: textblock
40309 #: ../src/guestfs.pod:2576
40310 msgid ""
40311 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
40312 "limit), and also files where the size is not known in advance (eg. from "
40313 "pipes or sockets).  However the chunks are rather small "
40314 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
40315 "to keep much in memory."
40316 msgstr ""
40317
40318 #. type: =head3
40319 #: ../src/guestfs.pod:2582
40320 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
40321 msgstr ""
40322
40323 #. type: textblock
40324 #: ../src/guestfs.pod:2584
40325 msgid ""
40326 "The protocol for FileOut parameters is exactly the same as for FileIn "
40327 "parameters, but with the roles of daemon and library reversed."
40328 msgstr ""
40329
40330 #. type: verbatim
40331 #: ../src/guestfs.pod:2587
40332 #, no-wrap
40333 msgid ""
40334 " total length (header + ret,\n"
40335 "      but not including the length word itself,\n"
40336 "      and not including the chunks)\n"
40337 " struct guestfs_message_header (encoded as XDR)\n"
40338 " struct guestfs_<foo>_ret (encoded as XDR)\n"
40339 " sequence of chunks for FileOut param #0\n"
40340 " sequence of chunks for FileOut param #1 etc.\n"
40341 "\n"
40342 msgstr ""
40343
40344 #. type: =head3
40345 #: ../src/guestfs.pod:2595
40346 msgid "INITIAL MESSAGE"
40347 msgstr ""
40348
40349 #. type: textblock
40350 #: ../src/guestfs.pod:2597
40351 msgid ""
40352 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
40353 "which indicates that the guest and daemon is alive.  This is what L</"
40354 "guestfs_launch> waits for."
40355 msgstr ""
40356
40357 #. type: =head3
40358 #: ../src/guestfs.pod:2601
40359 msgid "PROGRESS NOTIFICATION MESSAGES"
40360 msgstr ""
40361
40362 #. type: textblock
40363 #: ../src/guestfs.pod:2603
40364 msgid ""
40365 "The daemon may send progress notification messages at any time.  These are "
40366 "distinguished by the normal length word being replaced by "
40367 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
40368 msgstr ""
40369
40370 #. type: textblock
40371 #: ../src/guestfs.pod:2607
40372 msgid ""
40373 "The library turns them into progress callbacks (see L</"
40374 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
40375 "if not."
40376 msgstr ""
40377
40378 #. type: textblock
40379 #: ../src/guestfs.pod:2611
40380 msgid ""
40381 "The daemon self-limits the frequency of progress messages it sends (see "
40382 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
40383 "messages."
40384 msgstr ""
40385
40386 #. type: =head1
40387 #: ../src/guestfs.pod:2615
40388 msgid "LIBGUESTFS VERSION NUMBERS"
40389 msgstr ""
40390
40391 #. type: textblock
40392 #: ../src/guestfs.pod:2617
40393 msgid ""
40394 "Since April 2010, libguestfs has started to make separate development and "
40395 "stable releases, along with corresponding branches in our git repository.  "
40396 "These separate releases can be identified by version number:"
40397 msgstr ""
40398
40399 #. type: verbatim
40400 #: ../src/guestfs.pod:2622
40401 #, no-wrap
40402 msgid ""
40403 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
40404 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
40405 "       |\n"
40406 "       v\n"
40407 " 1  .  3  .  5\n"
40408 " ^           ^\n"
40409 " |           |\n"
40410 " |           `-------- sub-version\n"
40411 " |\n"
40412 " `------ always '1' because we don't change the ABI\n"
40413 "\n"
40414 msgstr ""
40415
40416 #. type: textblock
40417 #: ../src/guestfs.pod:2633
40418 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
40419 msgstr ""
40420
40421 #. type: textblock
40422 #: ../src/guestfs.pod:2635
40423 msgid ""
40424 "As time passes we cherry pick fixes from the development branch and backport "
40425 "those into the stable branch, the effect being that the stable branch should "
40426 "get more stable and less buggy over time.  So the stable releases are ideal "
40427 "for people who don't need new features but would just like the software to "
40428 "work."
40429 msgstr ""
40430
40431 #. type: textblock
40432 #: ../src/guestfs.pod:2641
40433 msgid "Our criteria for backporting changes are:"
40434 msgstr ""
40435
40436 #. type: textblock
40437 #: ../src/guestfs.pod:2647
40438 msgid ""
40439 "Documentation changes which don't affect any code are backported unless the "
40440 "documentation refers to a future feature which is not in stable."
40441 msgstr ""
40442
40443 #. type: textblock
40444 #: ../src/guestfs.pod:2653
40445 msgid ""
40446 "Bug fixes which are not controversial, fix obvious problems, and have been "
40447 "well tested are backported."
40448 msgstr ""
40449
40450 #. type: textblock
40451 #: ../src/guestfs.pod:2658
40452 msgid ""
40453 "Simple rearrangements of code which shouldn't affect how it works get "
40454 "backported.  This is so that the code in the two branches doesn't get too "
40455 "far out of step, allowing us to backport future fixes more easily."
40456 msgstr ""
40457
40458 #. type: textblock
40459 #: ../src/guestfs.pod:2664
40460 msgid ""
40461 "We I<don't> backport new features, new APIs, new tools etc, except in one "
40462 "exceptional case: the new feature is required in order to implement an "
40463 "important bug fix."
40464 msgstr ""
40465
40466 #. type: textblock
40467 #: ../src/guestfs.pod:2670
40468 msgid ""
40469 "A new stable branch starts when we think the new features in development are "
40470 "substantial and compelling enough over the current stable branch to warrant "
40471 "it.  When that happens we create new stable and development versions 1.N.0 "
40472 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
40473 "stable at this point, but by backporting fixes from development, that branch "
40474 "will stabilize over time."
40475 msgstr ""
40476
40477 #. type: =head1
40478 #: ../src/guestfs.pod:2678
40479 msgid "EXTENDING LIBGUESTFS"
40480 msgstr ""
40481
40482 #. type: =head2
40483 #: ../src/guestfs.pod:2680
40484 msgid "ADDING A NEW API ACTION"
40485 msgstr ""
40486
40487 #. type: textblock
40488 #: ../src/guestfs.pod:2682
40489 msgid ""
40490 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
40491 "documentation) are generated, and this makes it easy to extend the "
40492 "libguestfs API."
40493 msgstr ""
40494
40495 #. type: textblock
40496 #: ../src/guestfs.pod:2686
40497 msgid "To add a new API action there are two changes:"
40498 msgstr ""
40499
40500 #. type: textblock
40501 #: ../src/guestfs.pod:2692
40502 msgid ""
40503 "You need to add a description of the call (name, parameters, return type, "
40504 "tests, documentation) to C<generator/generator_actions.ml>."
40505 msgstr ""
40506
40507 #. type: textblock
40508 #: ../src/guestfs.pod:2695
40509 msgid ""
40510 "There are two sorts of API action, depending on whether the call goes "
40511 "through to the daemon in the appliance, or is serviced entirely by the "
40512 "library (see L</ARCHITECTURE> above).  L</guestfs_sync> is an example of the "
40513 "former, since the sync is done in the appliance.  L</guestfs_set_trace> is "
40514 "an example of the latter, since a trace flag is maintained in the handle and "
40515 "all tracing is done on the library side."
40516 msgstr ""
40517
40518 #. type: textblock
40519 #: ../src/guestfs.pod:2703
40520 msgid ""
40521 "Most new actions are of the first type, and get added to the "
40522 "C<daemon_functions> list.  Each function has a unique procedure number used "
40523 "in the RPC protocol which is assigned to that action when we publish "
40524 "libguestfs and cannot be reused.  Take the latest procedure number and "
40525 "increment it."
40526 msgstr ""
40527
40528 #. type: textblock
40529 #: ../src/guestfs.pod:2709
40530 msgid ""
40531 "For library-only actions of the second type, add to the "
40532 "C<non_daemon_functions> list.  Since these functions are serviced by the "
40533 "library and do not travel over the RPC mechanism to the daemon, these "
40534 "functions do not need a procedure number, and so the procedure number is set "
40535 "to C<-1>."
40536 msgstr ""
40537
40538 #. type: textblock
40539 #: ../src/guestfs.pod:2717
40540 msgid "Implement the action (in C):"
40541 msgstr ""
40542
40543 #. type: textblock
40544 #: ../src/guestfs.pod:2719
40545 msgid ""
40546 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
40547 "C<daemon/> directory."
40548 msgstr ""
40549
40550 #. type: textblock
40551 #: ../src/guestfs.pod:2722
40552 msgid ""
40553 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
40554 "(note: double underscore) in the C<src/> directory."
40555 msgstr ""
40556
40557 #. type: textblock
40558 #: ../src/guestfs.pod:2725
40559 msgid "In either case, use another function as an example of what to do."
40560 msgstr ""
40561
40562 #. type: textblock
40563 #: ../src/guestfs.pod:2729
40564 msgid "After making these changes, use C<make> to compile."
40565 msgstr ""
40566
40567 #. type: textblock
40568 #: ../src/guestfs.pod:2731
40569 msgid ""
40570 "Note that you don't need to implement the RPC, language bindings, manual "
40571 "pages or anything else.  It's all automatically generated from the OCaml "
40572 "description."
40573 msgstr ""
40574
40575 #. type: =head2
40576 #: ../src/guestfs.pod:2735
40577 msgid "ADDING TESTS FOR AN API ACTION"
40578 msgstr ""
40579
40580 #. type: textblock
40581 #: ../src/guestfs.pod:2737
40582 msgid ""
40583 "You can supply zero or as many tests as you want per API call.  The tests "
40584 "can either be added as part of the API description (C<generator/"
40585 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
40586 "into C<regressions/>.  Note that adding a script to C<regressions/> is "
40587 "slower, so if possible use the first method."
40588 msgstr ""
40589
40590 #. type: textblock
40591 #: ../src/guestfs.pod:2743
40592 msgid ""
40593 "The following describes the test environment used when you add an API test "
40594 "in C<generator_actions.ml>."
40595 msgstr ""
40596
40597 #. type: textblock
40598 #: ../src/guestfs.pod:2746
40599 msgid "The test environment has 4 block devices:"
40600 msgstr ""
40601
40602 #. type: =item
40603 #: ../src/guestfs.pod:2750
40604 msgid "C</dev/sda> 500MB"
40605 msgstr "C</dev/sda> 500 МБ"
40606
40607 #. type: textblock
40608 #: ../src/guestfs.pod:2752
40609 msgid "General block device for testing."
40610 msgstr ""
40611
40612 #. type: =item
40613 #: ../src/guestfs.pod:2754
40614 msgid "C</dev/sdb> 50MB"
40615 msgstr "C</dev/sdb> 50 МБ"
40616
40617 #. type: textblock
40618 #: ../src/guestfs.pod:2756
40619 msgid ""
40620 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
40621 "operations."
40622 msgstr ""
40623
40624 #. type: =item
40625 #: ../src/guestfs.pod:2759
40626 msgid "C</dev/sdc> 10MB"
40627 msgstr "C</dev/sdc> 10 МБ"
40628
40629 #. type: textblock
40630 #: ../src/guestfs.pod:2761
40631 msgid "Used in a few tests where two block devices are needed."
40632 msgstr ""
40633
40634 #. type: =item
40635 #: ../src/guestfs.pod:2763
40636 msgid "C</dev/sdd>"
40637 msgstr "C</dev/sdd>"
40638
40639 #. type: textblock
40640 #: ../src/guestfs.pod:2765
40641 msgid "ISO with fixed content (see C<images/test.iso>)."
40642 msgstr ""
40643
40644 #. type: textblock
40645 #: ../src/guestfs.pod:2769
40646 msgid ""
40647 "To be able to run the tests in a reasonable amount of time, the libguestfs "
40648 "appliance and block devices are reused between tests.  So don't try testing "
40649 "L</guestfs_kill_subprocess> :-x"
40650 msgstr ""
40651
40652 #. type: textblock
40653 #: ../src/guestfs.pod:2773
40654 msgid ""
40655 "Each test starts with an initial scenario, selected using one of the "
40656 "C<Init*> expressions, described in C<generator/generator_types.ml>.  These "
40657 "initialize the disks mentioned above in a particular way as documented in "
40658 "C<generator_types.ml>.  You should not assume anything about the previous "
40659 "contents of other disks that are not initialized."
40660 msgstr ""
40661
40662 #. type: textblock
40663 #: ../src/guestfs.pod:2779
40664 msgid ""
40665 "You can add a prerequisite clause to any individual test.  This is a run-"
40666 "time check, which, if it fails, causes the test to be skipped.  Useful if "
40667 "testing a command which might not work on all variations of libguestfs "
40668 "builds.  A test that has prerequisite of C<Always> means to run "
40669 "unconditionally."
40670 msgstr ""
40671
40672 #. type: textblock
40673 #: ../src/guestfs.pod:2785
40674 msgid ""
40675 "In addition, packagers can skip individual tests by setting environment "
40676 "variables before running C<make check>."
40677 msgstr ""
40678
40679 #. type: verbatim
40680 #: ../src/guestfs.pod:2788
40681 #, no-wrap
40682 msgid ""
40683 " SKIP_TEST_<CMD>_<NUM>=1\n"
40684 "\n"
40685 msgstr ""
40686
40687 #. type: textblock
40688 #: ../src/guestfs.pod:2790
40689 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
40690 msgstr ""
40691
40692 #. type: textblock
40693 #: ../src/guestfs.pod:2792
40694 msgid "or:"
40695 msgstr "або:"
40696
40697 #. type: verbatim
40698 #: ../src/guestfs.pod:2794
40699 #, no-wrap
40700 msgid ""
40701 " SKIP_TEST_<CMD>=1\n"
40702 "\n"
40703 msgstr ""
40704
40705 #. type: textblock
40706 #: ../src/guestfs.pod:2796
40707 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
40708 msgstr ""
40709
40710 #. type: textblock
40711 #: ../src/guestfs.pod:2798
40712 msgid "Packagers can run only certain tests by setting for example:"
40713 msgstr ""
40714
40715 #. type: verbatim
40716 #: ../src/guestfs.pod:2800
40717 #, no-wrap
40718 msgid ""
40719 " TEST_ONLY=\"vfs_type zerofree\"\n"
40720 "\n"
40721 msgstr ""
40722
40723 #. type: textblock
40724 #: ../src/guestfs.pod:2802
40725 msgid ""
40726 "See C<capitests/tests.c> for more details of how these environment variables "
40727 "work."
40728 msgstr ""
40729
40730 #. type: =head2
40731 #: ../src/guestfs.pod:2805
40732 msgid "DEBUGGING NEW API ACTIONS"
40733 msgstr ""
40734
40735 #. type: textblock
40736 #: ../src/guestfs.pod:2807
40737 msgid "Test new actions work before submitting them."
40738 msgstr ""
40739
40740 #. type: textblock
40741 #: ../src/guestfs.pod:2809
40742 msgid "You can use guestfish to try out new commands."
40743 msgstr ""
40744
40745 #. type: textblock
40746 #: ../src/guestfs.pod:2811
40747 msgid ""
40748 "Debugging the daemon is a problem because it runs inside a minimal "
40749 "environment.  However you can fprintf messages in the daemon to stderr, and "
40750 "they will show up if you use C<guestfish -v>."
40751 msgstr ""
40752
40753 #. type: =head2
40754 #: ../src/guestfs.pod:2815
40755 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
40756 msgstr ""
40757
40758 #. type: textblock
40759 #: ../src/guestfs.pod:2817
40760 msgid ""
40761 "Our C source code generally adheres to some basic code-formatting "
40762 "conventions.  The existing code base is not totally consistent on this "
40763 "front, but we do prefer that contributed code be formatted similarly.  In "
40764 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
40765 "indentation level, and other than that, follow the K&R style."
40766 msgstr ""
40767
40768 #. type: textblock
40769 #: ../src/guestfs.pod:2823
40770 msgid ""
40771 "If you use Emacs, add the following to one of one of your start-up files (e."
40772 "g., ~/.emacs), to help ensure that you get indentation right:"
40773 msgstr ""
40774
40775 #. type: verbatim
40776 #: ../src/guestfs.pod:2826
40777 #, no-wrap
40778 msgid ""
40779 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
40780 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
40781 " (add-hook 'find-file-hook\n"
40782 "     '(lambda () (if (and buffer-file-name\n"
40783 "                          (string-match \"/libguestfs\\\\>\"\n"
40784 "                              (buffer-file-name))\n"
40785 "                          (not (string-equal mode-name \"Change Log\"))\n"
40786 "                          (not (string-equal mode-name \"Makefile\")))\n"
40787 "                     (setq indent-tabs-mode nil))))\n"
40788 " \n"
40789 msgstr ""
40790
40791 #. type: verbatim
40792 #: ../src/guestfs.pod:2836
40793 #, no-wrap
40794 msgid ""
40795 " ;;; When editing C sources in libguestfs, use this style.\n"
40796 " (defun libguestfs-c-mode ()\n"
40797 "   \"C mode with adjusted defaults for use with libguestfs.\"\n"
40798 "   (interactive)\n"
40799 "   (c-set-style \"K&R\")\n"
40800 "   (setq c-indent-level 2)\n"
40801 "   (setq c-basic-offset 2))\n"
40802 " (add-hook 'c-mode-hook\n"
40803 "           '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
40804 "                               (buffer-file-name))\n"
40805 "                           (libguestfs-c-mode))))\n"
40806 "\n"
40807 msgstr ""
40808
40809 #. type: textblock
40810 #: ../src/guestfs.pod:2848
40811 msgid "Enable warnings when compiling (and fix any problems this finds):"
40812 msgstr ""
40813
40814 #. type: verbatim
40815 #: ../src/guestfs.pod:2851
40816 #, no-wrap
40817 msgid ""
40818 " ./configure --enable-gcc-warnings\n"
40819 "\n"
40820 msgstr ""
40821 " ./configure --enable-gcc-warnings\n"
40822 "\n"
40823
40824 #. type: textblock
40825 #: ../src/guestfs.pod:2853
40826 msgid "Useful targets are:"
40827 msgstr ""
40828
40829 #. type: verbatim
40830 #: ../src/guestfs.pod:2855
40831 #, no-wrap
40832 msgid ""
40833 " make syntax-check  # checks the syntax of the C code\n"
40834 " make check         # runs the test suite\n"
40835 "\n"
40836 msgstr ""
40837
40838 #. type: =head2
40839 #: ../src/guestfs.pod:2858
40840 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
40841 msgstr ""
40842
40843 #. type: textblock
40844 #: ../src/guestfs.pod:2860
40845 msgid ""
40846 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
40847 "which are used to do shell quoting."
40848 msgstr ""
40849
40850 #. type: =item
40851 #: ../src/guestfs.pod:2865
40852 msgid "%Q"
40853 msgstr "%Q"
40854
40855 #. type: textblock
40856 #: ../src/guestfs.pod:2867
40857 msgid ""
40858 "Simple shell quoted string.  Any spaces or other shell characters are "
40859 "escaped for you."
40860 msgstr ""
40861
40862 #. type: =item
40863 #: ../src/guestfs.pod:2870
40864 msgid "%R"
40865 msgstr "%R"
40866
40867 #. type: textblock
40868 #: ../src/guestfs.pod:2872
40869 msgid ""
40870 "Same as C<%Q> except the string is treated as a path which is prefixed by "
40871 "the sysroot."
40872 msgstr ""
40873
40874 #. type: verbatim
40875 #: ../src/guestfs.pod:2879
40876 #, no-wrap
40877 msgid ""
40878 " asprintf (&cmd, \"cat %R\", path);\n"
40879 "\n"
40880 msgstr ""
40881 " asprintf (&cmd, \"cat %R\", path);\n"
40882 "\n"
40883
40884 #. type: textblock
40885 #: ../src/guestfs.pod:2881
40886 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
40887 msgstr ""
40888
40889 #. type: textblock
40890 #: ../src/guestfs.pod:2883
40891 msgid ""
40892 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
40893 "{,r,v,rv}()> functions.  These parameters do NOT need to be quoted because "
40894 "they are not passed via the shell (instead, straight to exec).  You probably "
40895 "want to use the C<sysroot_path()> function however."
40896 msgstr ""
40897
40898 #. type: =head2
40899 #: ../src/guestfs.pod:2889
40900 msgid "SUBMITTING YOUR NEW API ACTIONS"
40901 msgstr ""
40902
40903 #. type: textblock
40904 #: ../src/guestfs.pod:2891
40905 msgid ""
40906 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
40907 "libguestfs> and CC to L<rjones@redhat.com>."
40908 msgstr ""
40909
40910 #. type: =head2
40911 #: ../src/guestfs.pod:2895
40912 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
40913 msgstr ""
40914
40915 #. type: textblock
40916 #: ../src/guestfs.pod:2897
40917 msgid "We support i18n (gettext anyhow) in the library."
40918 msgstr ""
40919
40920 #. type: textblock
40921 #: ../src/guestfs.pod:2899
40922 msgid ""
40923 "However many messages come from the daemon, and we don't translate those at "
40924 "the moment.  One reason is that the appliance generally has all locale files "
40925 "removed from it, because they take up a lot of space.  So we'd have to readd "
40926 "some of those, as well as copying our PO files into the appliance."
40927 msgstr ""
40928
40929 #. type: textblock
40930 #: ../src/guestfs.pod:2905
40931 msgid ""
40932 "Debugging messages are never translated, since they are intended for the "
40933 "programmers."
40934 msgstr ""
40935
40936 #. type: =head2
40937 #: ../src/guestfs.pod:2908
40938 msgid "SOURCE CODE SUBDIRECTORIES"
40939 msgstr ""
40940
40941 #. type: =item
40942 #: ../src/guestfs.pod:2912
40943 msgid "C<align>"
40944 msgstr ""
40945
40946 #. type: textblock
40947 #: ../src/guestfs.pod:2914
40948 msgid "L<virt-alignment-scan(1)> command and documentation."
40949 msgstr ""
40950
40951 #. type: textblock
40952 #: ../src/guestfs.pod:2918
40953 msgid "The libguestfs appliance, build scripts and so on."
40954 msgstr ""
40955
40956 #. type: =item
40957 #: ../src/guestfs.pod:2920
40958 msgid "C<capitests>"
40959 msgstr "C<capitests>"
40960
40961 #. type: textblock
40962 #: ../src/guestfs.pod:2922
40963 msgid "Automated tests of the C API."
40964 msgstr ""
40965
40966 #. type: =item
40967 #: ../src/guestfs.pod:2924
40968 msgid "C<cat>"
40969 msgstr "C<cat>"
40970
40971 #. type: textblock
40972 #: ../src/guestfs.pod:2926
40973 msgid ""
40974 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
40975 "documentation."
40976 msgstr ""
40977
40978 #. type: =item
40979 #: ../src/guestfs.pod:2929
40980 msgid "C<caution>"
40981 msgstr "C<caution>"
40982
40983 #. type: textblock
40984 #: ../src/guestfs.pod:2931
40985 msgid ""
40986 "Safety and liveness tests of components that libguestfs depends upon (not of "
40987 "libguestfs itself).  Mainly this is for qemu and the kernel."
40988 msgstr ""
40989
40990 #. type: =item
40991 #: ../src/guestfs.pod:2934
40992 msgid "C<clone>"
40993 msgstr ""
40994
40995 #. type: textblock
40996 #: ../src/guestfs.pod:2936
40997 msgid ""
40998 "Tools for cloning virtual machines.  Currently contains L<virt-sysprep(1)> "
40999 "command and documentation."
41000 msgstr ""
41001
41002 #. type: =item
41003 #: ../src/guestfs.pod:2939
41004 msgid "C<contrib>"
41005 msgstr "C<contrib>"
41006
41007 #. type: textblock
41008 #: ../src/guestfs.pod:2941
41009 msgid "Outside contributions, experimental parts."
41010 msgstr ""
41011
41012 #. type: =item
41013 #: ../src/guestfs.pod:2943
41014 msgid "C<daemon>"
41015 msgstr "C<daemon>"
41016
41017 #. type: textblock
41018 #: ../src/guestfs.pod:2945
41019 msgid ""
41020 "The daemon that runs inside the libguestfs appliance and carries out actions."
41021 msgstr ""
41022
41023 #. type: =item
41024 #: ../src/guestfs.pod:2948
41025 msgid "C<df>"
41026 msgstr "C<df>"
41027
41028 #. type: textblock
41029 #: ../src/guestfs.pod:2950
41030 msgid "L<virt-df(1)> command and documentation."
41031 msgstr ""
41032
41033 #. type: =item
41034 #: ../src/guestfs.pod:2952
41035 msgid "C<edit>"
41036 msgstr "C<edit>"
41037
41038 #. type: textblock
41039 #: ../src/guestfs.pod:2954
41040 msgid "L<virt-edit(1)> command and documentation."
41041 msgstr ""
41042
41043 #. type: =item
41044 #: ../src/guestfs.pod:2956
41045 msgid "C<examples>"
41046 msgstr "C<examples>"
41047
41048 #. type: textblock
41049 #: ../src/guestfs.pod:2958
41050 msgid "C API example code."
41051 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
41052
41053 #. type: =item
41054 #: ../src/guestfs.pod:2960
41055 msgid "C<fish>"
41056 msgstr "C<fish>"
41057
41058 #. type: textblock
41059 #: ../src/guestfs.pod:2962
41060 msgid ""
41061 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
41062 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
41063 "L<virt-tar-out(1)>."
41064 msgstr ""
41065
41066 #. type: =item
41067 #: ../src/guestfs.pod:2966
41068 msgid "C<fuse>"
41069 msgstr "C<fuse>"
41070
41071 #. type: textblock
41072 #: ../src/guestfs.pod:2968
41073 msgid ""
41074 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
41075 msgstr ""
41076
41077 #. type: =item
41078 #: ../src/guestfs.pod:2970
41079 msgid "C<generator>"
41080 msgstr "C<generator>"
41081
41082 #. type: textblock
41083 #: ../src/guestfs.pod:2972
41084 msgid ""
41085 "The crucially important generator, used to automatically generate large "
41086 "amounts of boilerplate C code for things like RPC and bindings."
41087 msgstr ""
41088
41089 #. type: =item
41090 #: ../src/guestfs.pod:2975
41091 msgid "C<images>"
41092 msgstr "C<images>"
41093
41094 #. type: textblock
41095 #: ../src/guestfs.pod:2977
41096 msgid "Files used by the test suite."
41097 msgstr ""
41098
41099 #. type: textblock
41100 #: ../src/guestfs.pod:2979
41101 msgid "Some \"phony\" guest images which we test against."
41102 msgstr ""
41103
41104 #. type: =item
41105 #: ../src/guestfs.pod:2981
41106 msgid "C<inspector>"
41107 msgstr "C<inspector>"
41108
41109 #. type: textblock
41110 #: ../src/guestfs.pod:2983
41111 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
41112 msgstr ""
41113
41114 #. type: =item
41115 #: ../src/guestfs.pod:2985
41116 msgid "C<logo>"
41117 msgstr "C<logo>"
41118
41119 #. type: textblock
41120 #: ../src/guestfs.pod:2987
41121 msgid "Logo used on the website.  The fish is called Arthur by the way."
41122 msgstr ""
41123
41124 #. type: =item
41125 #: ../src/guestfs.pod:2989
41126 msgid "C<m4>"
41127 msgstr "C<m4>"
41128
41129 #. type: textblock
41130 #: ../src/guestfs.pod:2991
41131 msgid "M4 macros used by autoconf."
41132 msgstr ""
41133
41134 #. type: =item
41135 #: ../src/guestfs.pod:2993
41136 msgid "C<po>"
41137 msgstr "C<po>"
41138
41139 #. type: textblock
41140 #: ../src/guestfs.pod:2995
41141 msgid "Translations of simple gettext strings."
41142 msgstr "Переклади простих рядків gettext."
41143
41144 #. type: =item
41145 #: ../src/guestfs.pod:2997
41146 msgid "C<po-docs>"
41147 msgstr "C<po-docs>"
41148
41149 #. type: textblock
41150 #: ../src/guestfs.pod:2999
41151 msgid ""
41152 "The build infrastructure and PO files for translations of manpages and POD "
41153 "files.  Eventually this will be combined with the C<po> directory, but that "
41154 "is rather complicated."
41155 msgstr ""
41156
41157 #. type: =item
41158 #: ../src/guestfs.pod:3003
41159 msgid "C<regressions>"
41160 msgstr "C<regressions>"
41161
41162 #. type: textblock
41163 #: ../src/guestfs.pod:3005
41164 msgid "Regression tests."
41165 msgstr "Тести на регресії."
41166
41167 #. type: =item
41168 #: ../src/guestfs.pod:3007
41169 msgid "C<rescue>"
41170 msgstr "C<rescue>"
41171
41172 #. type: textblock
41173 #: ../src/guestfs.pod:3009
41174 msgid "L<virt-rescue(1)> command and documentation."
41175 msgstr ""
41176
41177 #. type: =item
41178 #: ../src/guestfs.pod:3011
41179 msgid "C<resize>"
41180 msgstr ""
41181
41182 #. type: textblock
41183 #: ../src/guestfs.pod:3013
41184 msgid "L<virt-resize(1)> command and documentation."
41185 msgstr ""
41186
41187 #. type: =item
41188 #: ../src/guestfs.pod:3015
41189 msgid "C<sparsify>"
41190 msgstr ""
41191
41192 #. type: textblock
41193 #: ../src/guestfs.pod:3017
41194 msgid "L<virt-sparsify(1)> command and documentation."
41195 msgstr ""
41196
41197 #. type: =item
41198 #: ../src/guestfs.pod:3019
41199 msgid "C<src>"
41200 msgstr "C<src>"
41201
41202 #. type: textblock
41203 #: ../src/guestfs.pod:3021
41204 msgid "Source code to the C library."
41205 msgstr ""
41206
41207 #. type: =item
41208 #: ../src/guestfs.pod:3023
41209 msgid "C<tools>"
41210 msgstr "C<tools>"
41211
41212 #. type: textblock
41213 #: ../src/guestfs.pod:3025
41214 msgid ""
41215 "Command line tools written in Perl (L<virt-win-reg(1)> and many others)."
41216 msgstr ""
41217
41218 #. type: =item
41219 #: ../src/guestfs.pod:3027
41220 msgid "C<test-tool>"
41221 msgstr "C<test-tool>"
41222
41223 #. type: textblock
41224 #: ../src/guestfs.pod:3029
41225 msgid ""
41226 "Test tool for end users to test if their qemu/kernel combination will work "
41227 "with libguestfs."
41228 msgstr ""
41229
41230 #. type: =item
41231 #: ../src/guestfs.pod:3032
41232 msgid "C<csharp>"
41233 msgstr "C<csharp>"
41234
41235 #. type: =item
41236 #: ../src/guestfs.pod:3034
41237 msgid "C<erlang>"
41238 msgstr ""
41239
41240 #. type: =item
41241 #: ../src/guestfs.pod:3036
41242 msgid "C<haskell>"
41243 msgstr "C<haskell>"
41244
41245 #. type: =item
41246 #: ../src/guestfs.pod:3038
41247 msgid "C<java>"
41248 msgstr "C<java>"
41249
41250 #. type: =item
41251 #: ../src/guestfs.pod:3040
41252 msgid "C<ocaml>"
41253 msgstr "C<ocaml>"
41254
41255 #. type: =item
41256 #: ../src/guestfs.pod:3042
41257 msgid "C<php>"
41258 msgstr "C<php>"
41259
41260 #. type: =item
41261 #: ../src/guestfs.pod:3044
41262 msgid "C<perl>"
41263 msgstr "C<perl>"
41264
41265 #. type: =item
41266 #: ../src/guestfs.pod:3046
41267 msgid "C<python>"
41268 msgstr "C<python>"
41269
41270 #. type: =item
41271 #: ../src/guestfs.pod:3048
41272 msgid "C<ruby>"
41273 msgstr "C<ruby>"
41274
41275 #. type: textblock
41276 #: ../src/guestfs.pod:3050
41277 msgid "Language bindings."
41278 msgstr "Прив’язки до мов програмування."
41279
41280 #. type: =head2
41281 #: ../src/guestfs.pod:3054
41282 msgid "MAKING A STABLE RELEASE"
41283 msgstr ""
41284
41285 #. type: textblock
41286 #: ../src/guestfs.pod:3056
41287 msgid ""
41288 "When we make a stable release, there are several steps documented here.  See "
41289 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
41290 "branch policy."
41291 msgstr ""
41292
41293 #. type: textblock
41294 #: ../src/guestfs.pod:3064
41295 msgid ""
41296 "Check C<make && make check> works on at least Fedora, Debian and Ubuntu."
41297 msgstr ""
41298
41299 #. type: textblock
41300 #: ../src/guestfs.pod:3069
41301 msgid "Finalize RELEASE-NOTES."
41302 msgstr ""
41303
41304 #. type: textblock
41305 #: ../src/guestfs.pod:3073
41306 msgid "Update ROADMAP."
41307 msgstr ""
41308
41309 #. type: textblock
41310 #: ../src/guestfs.pod:3077
41311 msgid "Run C<src/api-support/update-from-tarballs.sh>."
41312 msgstr ""
41313
41314 #. type: textblock
41315 #: ../src/guestfs.pod:3081
41316 msgid "Push and pull from Transifex."
41317 msgstr ""
41318
41319 #. type: textblock
41320 #: ../src/guestfs.pod:3083
41321 msgid "Run:"
41322 msgstr ""
41323
41324 #. type: verbatim
41325 #: ../src/guestfs.pod:3085
41326 #, no-wrap
41327 msgid ""
41328 " tx push -s\n"
41329 "\n"
41330 msgstr ""
41331
41332 #. type: textblock
41333 #: ../src/guestfs.pod:3087
41334 msgid "to push the latest POT files to Transifex.  Then run:"
41335 msgstr ""
41336
41337 #. type: verbatim
41338 #: ../src/guestfs.pod:3089
41339 #, no-wrap
41340 msgid ""
41341 " ./tx-pull.sh\n"
41342 "\n"
41343 msgstr ""
41344
41345 #. type: textblock
41346 #: ../src/guestfs.pod:3091
41347 msgid "which is a wrapper to pull the latest translated C<*.po> files."
41348 msgstr ""
41349
41350 #. type: textblock
41351 #: ../src/guestfs.pod:3095
41352 msgid ""
41353 "Create new stable and development directories under L<http://libguestfs.org/"
41354 "download>."
41355 msgstr ""
41356
41357 #. type: textblock
41358 #: ../src/guestfs.pod:3100
41359 msgid "Create the branch in git:"
41360 msgstr ""
41361
41362 #. type: verbatim
41363 #: ../src/guestfs.pod:3102
41364 #, no-wrap
41365 msgid ""
41366 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
41367 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
41368 " git branch stable-1.XX\n"
41369 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
41370 "\n"
41371 msgstr ""
41372
41373 #. type: =head1
41374 #: ../src/guestfs.pod:3109
41375 msgid "LIMITS"
41376 msgstr "ОБМЕЖЕННЯ"
41377
41378 #. type: =head2
41379 #: ../src/guestfs.pod:3111
41380 msgid "PROTOCOL LIMITS"
41381 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
41382
41383 #. type: textblock
41384 #: ../src/guestfs.pod:3113
41385 msgid ""
41386 "Internally libguestfs uses a message-based protocol to pass API calls and "
41387 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
41388 "plenty more detail about this).  The maximum message size used by the "
41389 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
41390 "aware of this limit.  The API calls which may be affected are individually "
41391 "documented, with a link back to this section of the documentation."
41392 msgstr ""
41393
41394 #. type: textblock
41395 #: ../src/guestfs.pod:3121
41396 msgid ""
41397 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
41398 "a simple string.  Because this string is at some point internally encoded as "
41399 "a message, the maximum size that it can return is slightly under 4 MB.  If "
41400 "the requested file is larger than this then you will get an error."
41401 msgstr ""
41402
41403 #. type: textblock
41404 #: ../src/guestfs.pod:3127
41405 msgid ""
41406 "In order to transfer large files into and out of the guest filesystem, you "
41407 "need to use particular calls that support this.  The sections L</UPLOADING> "
41408 "and L</DOWNLOADING> document how to do this."
41409 msgstr ""
41410
41411 #. type: textblock
41412 #: ../src/guestfs.pod:3131
41413 msgid ""
41414 "You might also consider mounting the disk image using our FUSE filesystem "
41415 "support (L<guestmount(1)>)."
41416 msgstr ""
41417
41418 #. type: =head2
41419 #: ../src/guestfs.pod:3134
41420 msgid "MAXIMUM NUMBER OF DISKS"
41421 msgstr ""
41422
41423 #. type: textblock
41424 #: ../src/guestfs.pod:3136
41425 msgid "When using virtio disks (the default) the current limit is B<25> disks."
41426 msgstr ""
41427
41428 #. type: textblock
41429 #: ../src/guestfs.pod:3139
41430 msgid ""
41431 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
41432 "slots.  However febootstrap only understands disks with names C</dev/vda> "
41433 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
41434 "purposes."
41435 msgstr ""
41436
41437 #. type: textblock
41438 #: ../src/guestfs.pod:3144
41439 msgid ""
41440 "We are working to substantially raise this limit in future versions but it "
41441 "requires complex changes to qemu."
41442 msgstr ""
41443
41444 #. type: textblock
41445 #: ../src/guestfs.pod:3147
41446 msgid ""
41447 "In future versions of libguestfs it should also be possible to \"hot plug\" "
41448 "disks (add and remove disks after calling L</guestfs_launch>).  This also "
41449 "requires changes to qemu."
41450 msgstr ""
41451
41452 #. type: =head2
41453 #: ../src/guestfs.pod:3151
41454 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
41455 msgstr ""
41456
41457 #. type: textblock
41458 #: ../src/guestfs.pod:3153
41459 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
41460 msgstr ""
41461
41462 #. type: textblock
41463 #: ../src/guestfs.pod:3155
41464 msgid ""
41465 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
41466 "vda>, and C</dev/vda1> through C</dev/vda15>)."
41467 msgstr ""
41468
41469 #. type: textblock
41470 #: ../src/guestfs.pod:3158
41471 msgid ""
41472 "If you attach a disk with more than 15 partitions, the extra partitions are "
41473 "ignored by libguestfs."
41474 msgstr ""
41475
41476 #. type: =head2
41477 #: ../src/guestfs.pod:3161
41478 msgid "MAXIMUM SIZE OF A DISK"
41479 msgstr ""
41480
41481 #. type: textblock
41482 #: ../src/guestfs.pod:3163
41483 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
41484 msgstr ""
41485
41486 #. type: textblock
41487 #: ../src/guestfs.pod:3165
41488 msgid ""
41489 "We have tested block devices up to 1 exabyte (2**60 or "
41490 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
41491 "filesystem."
41492 msgstr ""
41493
41494 #. type: textblock
41495 #: ../src/guestfs.pod:3169
41496 msgid ""
41497 "Although libguestfs probably does not impose any limit, the underlying host "
41498 "storage will.  If you store disk images on a host ext4 filesystem, then the "
41499 "maximum size will be limited by the maximum ext4 file size (currently 16 "
41500 "TB).  If you store disk images as host logical volumes then you are limited "
41501 "by the maximum size of an LV."
41502 msgstr ""
41503
41504 #. type: textblock
41505 #: ../src/guestfs.pod:3175
41506 msgid ""
41507 "For the hugest disk image files, we recommend using XFS on the host for "
41508 "storage."
41509 msgstr ""
41510
41511 #. type: =head2
41512 #: ../src/guestfs.pod:3178
41513 msgid "MAXIMUM SIZE OF A PARTITION"
41514 msgstr ""
41515
41516 #. type: textblock
41517 #: ../src/guestfs.pod:3180
41518 msgid ""
41519 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
41520 "numbers.  Assuming a 512 byte sector size, this means that MBR cannot "
41521 "address a partition located beyond 2 TB on the disk."
41522 msgstr ""
41523
41524 #. type: textblock
41525 #: ../src/guestfs.pod:3184
41526 msgid ""
41527 "It is recommended that you use GPT partitions on disks which are larger than "
41528 "this size.  GPT uses 64 bit sector numbers and so can address partitions "
41529 "which are theoretically larger than the largest disk we could support."
41530 msgstr ""
41531
41532 #. type: =head2
41533 #: ../src/guestfs.pod:3189
41534 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
41535 msgstr ""
41536
41537 #. type: textblock
41538 #: ../src/guestfs.pod:3191
41539 msgid ""
41540 "This depends on the filesystem type.  libguestfs itself does not impose any "
41541 "known limit.  Consult Wikipedia or the filesystem documentation to find out "
41542 "what these limits are."
41543 msgstr ""
41544
41545 #. type: =head2
41546 #: ../src/guestfs.pod:3195
41547 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
41548 msgstr ""
41549
41550 #. type: textblock
41551 #: ../src/guestfs.pod:3197
41552 msgid ""
41553 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
41554 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
41555 "uploads and downloads."
41556 msgstr ""
41557
41558 #. type: =head2
41559 #: ../src/guestfs.pod:3201
41560 msgid "INSPECTION LIMITS"
41561 msgstr ""
41562
41563 #. type: textblock
41564 #: ../src/guestfs.pod:3203
41565 msgid ""
41566 "The inspection code has several arbitrary limits on things like the size of "
41567 "Windows Registry hive it will read, and the length of product name.  These "
41568 "are intended to stop a malicious guest from consuming arbitrary amounts of "
41569 "memory and disk space on the host, and should not be reached in practice.  "
41570 "See the source code for more information."
41571 msgstr ""
41572
41573 #. type: textblock
41574 #: ../src/guestfs.pod:3229
41575 msgid ""
41576 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
41577 "effect as calling C<guestfs_set_verbose (g, 1)>."
41578 msgstr ""
41579
41580 #. type: textblock
41581 #: ../src/guestfs.pod:3241
41582 msgid ""
41583 "Set the path that libguestfs uses to search for a supermin appliance.  See "
41584 "the discussion of paths in section L</PATH> above."
41585 msgstr ""
41586
41587 #. type: textblock
41588 #: ../src/guestfs.pod:3250
41589 msgid "See also L</QEMU WRAPPERS> above."
41590 msgstr ""
41591
41592 #. type: textblock
41593 #: ../src/guestfs.pod:3254
41594 msgid ""
41595 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
41596 "effect as calling C<guestfs_set_trace (g, 1)>."
41597 msgstr ""
41598
41599 #. type: textblock
41600 #: ../src/guestfs.pod:3272
41601 msgid ""
41602 "L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-"
41603 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, "
41604 "L<guestfish(1)>, L<guestmount(1)>, L<virt-alignment-scan(1)>, L<virt-cat(1)"
41605 ">, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, "
41606 "L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
41607 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue"
41608 "(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-sysprep(1)>, L<virt-tar"
41609 "(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
41610 "L<febootstrap(1)>, L<febootstrap-supermin-helper(8)>, L<hivex(3)>, L<stap(1)"
41611 ">, L<http://libguestfs.org/>."
41612 msgstr ""
41613
41614 #. type: textblock
41615 #: ../src/guestfs.pod:3308
41616 msgid ""
41617 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
41618 "(8)>, L<disktype(1)>."
41619 msgstr ""
41620
41621 #. type: =head1
41622 #: ../src/guestfs.pod:3315 ../tools/virt-make-fs.pl:571
41623 #: ../tools/virt-win-reg.pl:772
41624 msgid "BUGS"
41625 msgstr "ВАДИ"
41626
41627 #. type: textblock
41628 #: ../src/guestfs.pod:3317
41629 msgid "To get a list of bugs against libguestfs use this link:"
41630 msgstr ""
41631 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
41632 "посиланням:"
41633
41634 #. type: textblock
41635 #: ../src/guestfs.pod:3319
41636 msgid ""
41637 "L<https://bugzilla.redhat.com/buglist.cgi?"
41638 "component=libguestfs&product=Virtualization+Tools>"
41639 msgstr ""
41640 "L<https://bugzilla.redhat.com/buglist.cgi?"
41641 "component=libguestfs&product=Virtualization+Tools>"
41642
41643 #. type: textblock
41644 #: ../src/guestfs.pod:3321
41645 msgid "To report a new bug against libguestfs use this link:"
41646 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
41647
41648 #. type: textblock
41649 #: ../src/guestfs.pod:3323
41650 msgid ""
41651 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
41652 "component=libguestfs&product=Virtualization+Tools>"
41653 msgstr ""
41654 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
41655 "component=libguestfs&product=Virtualization+Tools>"
41656
41657 #. type: textblock
41658 #: ../src/guestfs.pod:3325
41659 msgid "When reporting a bug, please check:"
41660 msgstr ""
41661
41662 #. type: textblock
41663 #: ../src/guestfs.pod:3331
41664 msgid "That the bug hasn't been reported already."
41665 msgstr ""
41666
41667 #. type: textblock
41668 #: ../src/guestfs.pod:3335
41669 msgid "That you are testing a recent version."
41670 msgstr ""
41671
41672 #. type: textblock
41673 #: ../src/guestfs.pod:3339
41674 msgid "Describe the bug accurately, and give a way to reproduce it."
41675 msgstr ""
41676
41677 #. type: textblock
41678 #: ../src/guestfs.pod:3343
41679 msgid ""
41680 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
41681 "bug report."
41682 msgstr ""
41683
41684 #. type: textblock
41685 #: ../test-tool/libguestfs-test-tool.pod:5
41686 msgid "libguestfs-test-tool - Diagnostics for libguestfs"
41687 msgstr ""
41688
41689 #. type: verbatim
41690 #: ../test-tool/libguestfs-test-tool.pod:9
41691 #, no-wrap
41692 msgid ""
41693 " libguestfs-test-tool [--options]\n"
41694 "\n"
41695 msgstr ""
41696
41697 #. type: textblock
41698 #: ../test-tool/libguestfs-test-tool.pod:13
41699 msgid ""
41700 "libguestfs-test-tool is a test program shipped with libguestfs to allow you "
41701 "to check basic libguestfs functionality is working.  This is needed because "
41702 "libguestfs occasionally breaks for reasons beyond our control: usually "
41703 "because of changes in the underlying qemu or kernel packages, or the host "
41704 "environment."
41705 msgstr ""
41706
41707 #. type: textblock
41708 #: ../test-tool/libguestfs-test-tool.pod:19
41709 msgid "If you suspect a problem in libguestfs, then just run:"
41710 msgstr ""
41711
41712 #. type: verbatim
41713 #: ../test-tool/libguestfs-test-tool.pod:21
41714 #, no-wrap
41715 msgid ""
41716 " libguestfs-test-tool\n"
41717 "\n"
41718 msgstr ""
41719
41720 #. type: textblock
41721 #: ../test-tool/libguestfs-test-tool.pod:23
41722 msgid "It will print lots of diagnostic messages."
41723 msgstr ""
41724
41725 #. type: textblock
41726 #: ../test-tool/libguestfs-test-tool.pod:25
41727 msgid "If it runs to completion successfully, you will see this near the end:"
41728 msgstr ""
41729
41730 #. type: verbatim
41731 #: ../test-tool/libguestfs-test-tool.pod:27
41732 #, no-wrap
41733 msgid ""
41734 " ===== TEST FINISHED OK =====\n"
41735 "\n"
41736 msgstr ""
41737
41738 #. type: textblock
41739 #: ../test-tool/libguestfs-test-tool.pod:29
41740 msgid "and the test tool will exit with code 0."
41741 msgstr ""
41742
41743 #. type: textblock
41744 #: ../test-tool/libguestfs-test-tool.pod:31
41745 msgid ""
41746 "If it fails (and/or exits with non-zero error code), please paste the "
41747 "I<complete, unedited> output of the test tool into a bug report.  More "
41748 "information about reporting bugs can be found on the L<http://libguestfs.org/"
41749 "> website."
41750 msgstr ""
41751
41752 #. type: textblock
41753 #: ../test-tool/libguestfs-test-tool.pod:42
41754 msgid "Display short usage information and exit."
41755 msgstr ""
41756
41757 #. type: =item
41758 #: ../test-tool/libguestfs-test-tool.pod:44
41759 msgid "B<--qemu qemu_binary>"
41760 msgstr ""
41761
41762 #. type: textblock
41763 #: ../test-tool/libguestfs-test-tool.pod:46
41764 msgid ""
41765 "If you have downloaded another qemu binary, point this option at the full "
41766 "path of the binary to try it."
41767 msgstr ""
41768
41769 #. type: =item
41770 #: ../test-tool/libguestfs-test-tool.pod:49
41771 msgid "B<--qemudir qemu_source_dir>"
41772 msgstr ""
41773
41774 #. type: textblock
41775 #: ../test-tool/libguestfs-test-tool.pod:51
41776 msgid ""
41777 "If you have compiled qemu from source, point this option at the source "
41778 "directory to try it."
41779 msgstr ""
41780
41781 #. type: =item
41782 #: ../test-tool/libguestfs-test-tool.pod:54
41783 msgid "B<-t N>"
41784 msgstr ""
41785
41786 #. type: =item
41787 #: ../test-tool/libguestfs-test-tool.pod:56
41788 msgid "B<--timeout N>"
41789 msgstr ""
41790
41791 #. type: textblock
41792 #: ../test-tool/libguestfs-test-tool.pod:58
41793 msgid ""
41794 "Set the launch timeout to C<N> seconds.  The default is 600 seconds (10 "
41795 "minutes) which does not usually need to be adjusted."
41796 msgstr ""
41797
41798 #. type: =head1
41799 #: ../test-tool/libguestfs-test-tool.pod:63
41800 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
41801 msgstr ""
41802
41803 #. type: textblock
41804 #: ../test-tool/libguestfs-test-tool.pod:65
41805 msgid ""
41806 "If you have compiled another version of qemu from source and would like to "
41807 "try that, then you can use the I<--qemudir> option to point to the qemu "
41808 "source directory."
41809 msgstr ""
41810
41811 #. type: textblock
41812 #: ../test-tool/libguestfs-test-tool.pod:69
41813 msgid ""
41814 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
41815 "option to point to the binary."
41816 msgstr ""
41817
41818 #. type: textblock
41819 #: ../test-tool/libguestfs-test-tool.pod:72
41820 msgid ""
41821 "Note when using these options, you can ignore the business of qemu wrapper "
41822 "scripts (L<guestfs(3)/QEMU WRAPPERS>), since libguestfs-test-tool writes a "
41823 "wrapper script for you if one is needed."
41824 msgstr ""
41825
41826 #. type: =head1
41827 #: ../test-tool/libguestfs-test-tool.pod:76
41828 msgid "TRYING OUT A DIFFERENT KERNEL"
41829 msgstr ""
41830
41831 #. type: textblock
41832 #: ../test-tool/libguestfs-test-tool.pod:78
41833 msgid ""
41834 "If you are using febootstrap E<ge> 3.8 then you can select which kernel "
41835 "libguestfs tries.  You do this by setting the environment variables "
41836 "C<FEBOOTSTRAP_KERNEL> and/or C<FEBOOTSTRAP_MODULES>."
41837 msgstr ""
41838
41839 #. type: textblock
41840 #: ../test-tool/libguestfs-test-tool.pod:82
41841 msgid ""
41842 "Refer to L<febootstrap-supermin-helper(8)/ENVIRONMENT VARIABLES> for further "
41843 "information."
41844 msgstr ""
41845
41846 #. type: =head1
41847 #: ../test-tool/libguestfs-test-tool.pod:85
41848 msgid "SELF-DIAGNOSIS"
41849 msgstr ""
41850
41851 #. type: textblock
41852 #: ../test-tool/libguestfs-test-tool.pod:87
41853 msgid ""
41854 "Refer to L<guestfs(3)/APPLIANCE BOOT PROCESS> to understand the messages "
41855 "produced by libguestfs-test-tool and/or possible errors."
41856 msgstr ""
41857
41858 #. type: textblock
41859 #: ../test-tool/libguestfs-test-tool.pod:92
41860 msgid ""
41861 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
41862 "I<1> if there was an error."
41863 msgstr ""
41864
41865 #. type: textblock
41866 #: ../test-tool/libguestfs-test-tool.pod:97
41867 msgid ""
41868 "For the full list of environment variables which may affect libguestfs, "
41869 "please see the L<guestfs(3)> manual page."
41870 msgstr ""
41871
41872 #. type: textblock
41873 #: ../test-tool/libguestfs-test-tool.pod:102
41874 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
41875 msgstr ""
41876
41877 #. type: textblock
41878 #: ../tools/virt-list-filesystems.pl:32
41879 msgid ""
41880 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
41881 msgstr ""
41882
41883 #. type: verbatim
41884 #: ../tools/virt-list-filesystems.pl:36
41885 #, no-wrap
41886 msgid ""
41887 " virt-list-filesystems [--options] domname\n"
41888 "\n"
41889 msgstr ""
41890
41891 #. type: verbatim
41892 #: ../tools/virt-list-filesystems.pl:38
41893 #, no-wrap
41894 msgid ""
41895 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
41896 "\n"
41897 msgstr ""
41898
41899 #. type: textblock
41900 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
41901 msgid ""
41902 "This tool is obsolete.  Use L<virt-filesystems(1)> as a more flexible "
41903 "replacement."
41904 msgstr ""
41905
41906 #. type: textblock
41907 #: ../tools/virt-list-filesystems.pl:45
41908 msgid ""
41909 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
41910 "are contained in a virtual machine or disk image."
41911 msgstr ""
41912
41913 #. type: textblock
41914 #: ../tools/virt-list-filesystems.pl:49
41915 msgid ""
41916 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
41917 "functionality.  For more complex cases you should look at the L<guestfish(1)"
41918 "> tool."
41919 msgstr ""
41920
41921 #. type: textblock
41922 #: ../tools/virt-list-filesystems.pl:112
41923 msgid ""
41924 "With this option, C<virt-list-filesystems> displays the type of each "
41925 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
41926 msgstr ""
41927
41928 #. type: =item
41929 #: ../tools/virt-list-filesystems.pl:119
41930 msgid "B<-a>"
41931 msgstr "B<-a>"
41932
41933 #. type: textblock
41934 #: ../tools/virt-list-filesystems.pl:123
41935 msgid ""
41936 "Normally we only show mountable filesystems.  If this option is given then "
41937 "swap devices are shown too."
41938 msgstr ""
41939
41940 #. type: textblock
41941 #: ../tools/virt-list-filesystems.pl:197
41942 msgid ""
41943 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
41944 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
41945 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
41946 msgstr ""
41947 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
41948 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
41949 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
41950
41951 #. type: textblock
41952 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
41953 msgid "Copyright (C) 2009 Red Hat Inc."
41954 msgstr "© Red Hat Inc., 2009"
41955
41956 #. type: textblock
41957 #: ../tools/virt-list-partitions.pl:32
41958 msgid ""
41959 "virt-list-partitions - List partitions in a virtual machine or disk image"
41960 msgstr ""
41961
41962 #. type: verbatim
41963 #: ../tools/virt-list-partitions.pl:36
41964 #, no-wrap
41965 msgid ""
41966 " virt-list-partitions [--options] domname\n"
41967 "\n"
41968 msgstr ""
41969 " virt-list-partitions [--параметри] назва_домену\n"
41970 "\n"
41971
41972 #. type: verbatim
41973 #: ../tools/virt-list-partitions.pl:38
41974 #, no-wrap
41975 msgid ""
41976 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
41977 "\n"
41978 msgstr ""
41979 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
41980 "\n"
41981
41982 #. type: textblock
41983 #: ../tools/virt-list-partitions.pl:45
41984 msgid ""
41985 "C<virt-list-partitions> is a command line tool to list the partitions that "
41986 "are contained in a virtual machine or disk image.  It is mainly useful as a "
41987 "first step to using L<virt-resize(1)>."
41988 msgstr ""
41989
41990 #. type: textblock
41991 #: ../tools/virt-list-partitions.pl:50
41992 msgid ""
41993 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
41994 "functionality.  For more complex cases you should look at the L<guestfish(1)"
41995 "> tool."
41996 msgstr ""
41997
41998 #. type: textblock
41999 #: ../tools/virt-list-partitions.pl:113
42000 msgid "Show sizes in human-readable form (eg. \"1G\")."
42001 msgstr ""
42002
42003 #. type: textblock
42004 #: ../tools/virt-list-partitions.pl:123
42005 msgid ""
42006 "With this option, C<virt-list-partitions> displays the type and size of each "
42007 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
42008 msgstr ""
42009
42010 #. type: =item
42011 #: ../tools/virt-list-partitions.pl:130
42012 msgid "B<-t>"
42013 msgstr "B<-t>"
42014
42015 #. type: =item
42016 #: ../tools/virt-list-partitions.pl:132
42017 msgid "B<--total>"
42018 msgstr "B<--total>"
42019
42020 #. type: textblock
42021 #: ../tools/virt-list-partitions.pl:134
42022 msgid ""
42023 "Display the total size of each block device (as a separate row or rows)."
42024 msgstr ""
42025
42026 #. type: textblock
42027 #: ../tools/virt-list-partitions.pl:267
42028 msgid ""
42029 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
42030 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
42031 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
42032 msgstr ""
42033 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
42034 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
42035 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
42036
42037 #. type: textblock
42038 #: ../tools/virt-list-partitions.pl:283
42039 msgid "Copyright (C) 2009-2010 Red Hat Inc."
42040 msgstr "© Red Hat Inc., 2009–2010"
42041
42042 #. type: textblock
42043 #: ../tools/virt-make-fs.pl:37
42044 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
42045 msgstr ""
42046
42047 #. type: verbatim
42048 #: ../tools/virt-make-fs.pl:41
42049 #, no-wrap
42050 msgid ""
42051 " virt-make-fs [--options] input.tar output.img\n"
42052 "\n"
42053 msgstr ""
42054
42055 #. type: verbatim
42056 #: ../tools/virt-make-fs.pl:43
42057 #, no-wrap
42058 msgid ""
42059 " virt-make-fs [--options] input.tar.gz output.img\n"
42060 "\n"
42061 msgstr ""
42062
42063 #. type: verbatim
42064 #: ../tools/virt-make-fs.pl:45
42065 #, no-wrap
42066 msgid ""
42067 " virt-make-fs [--options] directory output.img\n"
42068 "\n"
42069 msgstr ""
42070
42071 #. type: textblock
42072 #: ../tools/virt-make-fs.pl:49
42073 msgid ""
42074 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
42075 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
42076 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
42077 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
42078 "you want to attach these filesystems to existing virtual machines (eg. to "
42079 "import large amounts of read-only data to a VM)."
42080 msgstr ""
42081
42082 #. type: textblock
42083 #: ../tools/virt-make-fs.pl:57
42084 msgid "Basic usage is:"
42085 msgstr ""
42086
42087 #. type: verbatim
42088 #: ../tools/virt-make-fs.pl:59
42089 #, no-wrap
42090 msgid ""
42091 " virt-make-fs input output.img\n"
42092 "\n"
42093 msgstr ""
42094
42095 #. type: textblock
42096 #: ../tools/virt-make-fs.pl:61
42097 msgid ""
42098 "where C<input> is either a directory containing files that you want to add, "
42099 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
42100 "C<output.img> is a disk image.  The input type is detected automatically.  "
42101 "The output disk image defaults to a raw ext2 sparse image unless you specify "
42102 "extra flags (see L</OPTIONS> below)."
42103 msgstr ""
42104
42105 #. type: =head2
42106 #: ../tools/virt-make-fs.pl:67
42107 msgid "FILESYSTEM TYPE"
42108 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
42109
42110 #. type: textblock
42111 #: ../tools/virt-make-fs.pl:69
42112 msgid ""
42113 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
42114 "libguestfs supports can be used (but I<not> read-only formats like "
42115 "ISO9660).  Here are some of the more common choices:"
42116 msgstr ""
42117
42118 #. type: =item
42119 #: ../tools/virt-make-fs.pl:75
42120 msgid "I<ext3>"
42121 msgstr "I<ext3>"
42122
42123 #. type: textblock
42124 #: ../tools/virt-make-fs.pl:77
42125 msgid ""
42126 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
42127 "you are not going to use the filesystem in a way that requires the journal, "
42128 "then this is just wasted overhead."
42129 msgstr ""
42130
42131 #. type: =item
42132 #: ../tools/virt-make-fs.pl:81
42133 msgid "I<ntfs> or I<vfat>"
42134 msgstr "I<ntfs> або I<vfat>"
42135
42136 #. type: textblock
42137 #: ../tools/virt-make-fs.pl:83
42138 msgid "Useful if exporting data to a Windows guest."
42139 msgstr ""
42140
42141 #. type: textblock
42142 #: ../tools/virt-make-fs.pl:85
42143 msgid ""
42144 "I<Note for vfat>: The tar archive or local directory must only contain files "
42145 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
42146 "program running within libguestfs is unable to change the ownership of non-"
42147 "root files, since vfat itself does not support this."
42148 msgstr ""
42149
42150 #. type: =item
42151 #: ../tools/virt-make-fs.pl:90
42152 msgid "I<minix>"
42153 msgstr "I<minix>"
42154
42155 #. type: textblock
42156 #: ../tools/virt-make-fs.pl:92
42157 msgid ""
42158 "Lower overhead than C<ext2>, but certain limitations on filename length and "
42159 "total filesystem size."
42160 msgstr ""
42161
42162 #. type: =head3
42163 #: ../tools/virt-make-fs.pl:97 ../tools/virt-make-fs.pl:116
42164 #: ../tools/virt-make-fs.pl:149
42165 msgid "EXAMPLE"
42166 msgstr "ПРИКЛАД"
42167
42168 #. type: verbatim
42169 #: ../tools/virt-make-fs.pl:99
42170 #, no-wrap
42171 msgid ""
42172 " virt-make-fs --type=minix input minixfs.img\n"
42173 "\n"
42174 msgstr ""
42175
42176 #. type: =head2
42177 #: ../tools/virt-make-fs.pl:101
42178 msgid "TO PARTITION OR NOT TO PARTITION"
42179 msgstr ""
42180
42181 #. type: textblock
42182 #: ../tools/virt-make-fs.pl:103
42183 msgid "Optionally virt-make-fs can add a partition table to the output disk."
42184 msgstr ""
42185
42186 #. type: textblock
42187 #: ../tools/virt-make-fs.pl:105
42188 msgid ""
42189 "Adding a partition can make the disk image more compatible with certain "
42190 "virtualized operating systems which don't expect to see a filesystem "
42191 "directly located on a block device (Linux doesn't care and will happily "
42192 "handle both types)."
42193 msgstr ""
42194
42195 #. type: textblock
42196 #: ../tools/virt-make-fs.pl:110
42197 msgid ""
42198 "On the other hand, if you have a partition table then the output image is no "
42199 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
42200 "directly on a partitioned disk image.  (However libguestfs tools such as "
42201 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
42202 msgstr ""
42203
42204 #. type: textblock
42205 #: ../tools/virt-make-fs.pl:118
42206 msgid "Add an MBR partition:"
42207 msgstr ""
42208
42209 #. type: verbatim
42210 #: ../tools/virt-make-fs.pl:120
42211 #, no-wrap
42212 msgid ""
42213 " virt-make-fs --partition -- input disk.img\n"
42214 "\n"
42215 msgstr ""
42216
42217 #. type: textblock
42218 #: ../tools/virt-make-fs.pl:122
42219 msgid ""
42220 "If the output disk image could be terabyte-sized or larger, it's better to "
42221 "use an EFI/GPT-compatible partition table:"
42222 msgstr ""
42223
42224 #. type: verbatim
42225 #: ../tools/virt-make-fs.pl:125
42226 #, no-wrap
42227 msgid ""
42228 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
42229 "\n"
42230 msgstr ""
42231
42232 #. type: =head2
42233 #: ../tools/virt-make-fs.pl:127
42234 msgid "EXTRA SPACE"
42235 msgstr ""
42236
42237 #. type: textblock
42238 #: ../tools/virt-make-fs.pl:129
42239 msgid ""
42240 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
42241 "the files that it contains, but might have extra space.  Depending on how "
42242 "you are going to use the output, you might think this extra space is wasted "
42243 "and want to minimize it, or you might want to leave space so that more files "
42244 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
42245 "but you can use the I<--size> flag to leave space in the filesystem if you "
42246 "want it."
42247 msgstr ""
42248
42249 #. type: textblock
42250 #: ../tools/virt-make-fs.pl:137
42251 msgid ""
42252 "An alternative way to leave extra space but not make the output image any "
42253 "bigger is to use an alternative disk image format (instead of the default "
42254 "\"raw\" format).  Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
42255 "image format (check your hypervisor supports this before using it).  This "
42256 "allows you to choose a large I<--size> but the extra space won't actually be "
42257 "allocated in the image until you try to store something in it."
42258 msgstr ""
42259
42260 #. type: textblock
42261 #: ../tools/virt-make-fs.pl:145
42262 msgid ""
42263 "Don't forget that you can also use local commands including L<resize2fs(8)> "
42264 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
42265 "to build another image from scratch."
42266 msgstr ""
42267
42268 #. type: verbatim
42269 #: ../tools/virt-make-fs.pl:151
42270 #, no-wrap
42271 msgid ""
42272 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
42273 "\n"
42274 msgstr ""
42275 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
42276 "\n"
42277
42278 #. type: textblock
42279 #: ../tools/virt-make-fs.pl:179
42280 msgid "Enable debugging information."
42281 msgstr "Увімкнути виведення діагностичних даних."
42282
42283 #. type: =item
42284 #: ../tools/virt-make-fs.pl:185
42285 msgid "B<--size=E<lt>NE<gt>>"
42286 msgstr "B<--size=E<lt>NE<gt>>"
42287
42288 #. type: =item
42289 #: ../tools/virt-make-fs.pl:187
42290 msgid "B<--size=+E<lt>NE<gt>>"
42291 msgstr "B<--size=+E<lt>NE<gt>>"
42292
42293 #. type: =item
42294 #: ../tools/virt-make-fs.pl:189
42295 msgid "B<-s E<lt>NE<gt>>"
42296 msgstr "B<-s E<lt>NE<gt>>"
42297
42298 #. type: =item
42299 #: ../tools/virt-make-fs.pl:191
42300 msgid "B<-s +E<lt>NE<gt>>"
42301 msgstr "B<-s +E<lt>NE<gt>>"
42302
42303 #. type: textblock
42304 #: ../tools/virt-make-fs.pl:193
42305 msgid ""
42306 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
42307 msgstr ""
42308
42309 #. type: textblock
42310 #: ../tools/virt-make-fs.pl:196
42311 msgid ""
42312 "If this option is I<not> given, then the output image will be just large "
42313 "enough to contain all the files, with not much wasted space."
42314 msgstr ""
42315
42316 #. type: textblock
42317 #: ../tools/virt-make-fs.pl:199
42318 msgid ""
42319 "To choose a fixed size output disk, specify an absolute number followed by b/"
42320 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
42321 "Petabytes or Exabytes.  This must be large enough to contain all the input "
42322 "files, else you will get an error."
42323 msgstr ""
42324
42325 #. type: textblock
42326 #: ../tools/virt-make-fs.pl:204
42327 msgid ""
42328 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
42329 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
42330 "Petabytes or Exabytes.  For example: I<--size=+200M> means enough space for "
42331 "the input files, and (approximately) an extra 200 MB free space."
42332 msgstr ""
42333
42334 #. type: textblock
42335 #: ../tools/virt-make-fs.pl:210
42336 msgid ""
42337 "Note that virt-make-fs estimates free space, and therefore will not produce "
42338 "filesystems containing precisely the free space requested.  (It is much more "
42339 "expensive and time-consuming to produce a filesystem which has precisely the "
42340 "desired free space)."
42341 msgstr ""
42342
42343 #. type: =item
42344 #: ../tools/virt-make-fs.pl:219
42345 msgid "B<--format=E<lt>fmtE<gt>>"
42346 msgstr ""
42347
42348 #. type: =item
42349 #: ../tools/virt-make-fs.pl:221
42350 msgid "B<-F E<lt>fmtE<gt>>"
42351 msgstr ""
42352
42353 #. type: textblock
42354 #: ../tools/virt-make-fs.pl:223
42355 msgid "Choose the output disk image format."
42356 msgstr ""
42357
42358 #. type: textblock
42359 #: ../tools/virt-make-fs.pl:225
42360 msgid "The default is C<raw> (raw sparse disk image)."
42361 msgstr ""
42362
42363 #. type: textblock
42364 #: ../tools/virt-make-fs.pl:227
42365 msgid ""
42366 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
42367 "that would really make sense here is C<qcow2>."
42368 msgstr ""
42369
42370 #. type: =item
42371 #: ../tools/virt-make-fs.pl:234
42372 msgid "B<--type=E<lt>fsE<gt>>"
42373 msgstr ""
42374
42375 #. type: =item
42376 #: ../tools/virt-make-fs.pl:236
42377 msgid "B<-t E<lt>fsE<gt>>"
42378 msgstr ""
42379
42380 #. type: textblock
42381 #: ../tools/virt-make-fs.pl:238
42382 msgid "Choose the output filesystem type."
42383 msgstr ""
42384
42385 #. type: textblock
42386 #: ../tools/virt-make-fs.pl:240
42387 msgid "The default is C<ext2>."
42388 msgstr "Типовим значенням є C<ext2>."
42389
42390 #. type: textblock
42391 #: ../tools/virt-make-fs.pl:242
42392 msgid ""
42393 "Any filesystem which is supported read-write by libguestfs can be used here."
42394 msgstr ""
42395
42396 #. type: =item
42397 #: ../tools/virt-make-fs.pl:249
42398 msgid "B<--partition>"
42399 msgstr "B<--partition>"
42400
42401 #. type: =item
42402 #: ../tools/virt-make-fs.pl:251
42403 msgid "B<--partition=E<lt>parttypeE<gt>>"
42404 msgstr ""
42405
42406 #. type: textblock
42407 #: ../tools/virt-make-fs.pl:253
42408 msgid ""
42409 "If specified, this flag adds an MBR partition table to the output disk image."
42410 msgstr ""
42411
42412 #. type: textblock
42413 #: ../tools/virt-make-fs.pl:256
42414 msgid ""
42415 "You can change the partition table type, eg. I<--partition=gpt> for large "
42416 "disks."
42417 msgstr ""
42418
42419 #. type: textblock
42420 #: ../tools/virt-make-fs.pl:259
42421 msgid ""
42422 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
42423 "might consider the next parameter to be the partition type.  For example:"
42424 msgstr ""
42425
42426 #. type: verbatim
42427 #: ../tools/virt-make-fs.pl:263
42428 #, no-wrap
42429 msgid ""
42430 " virt-make-fs --partition input.tar output.img\n"
42431 "\n"
42432 msgstr ""
42433
42434 #. type: textblock
42435 #: ../tools/virt-make-fs.pl:265
42436 msgid ""
42437 "would cause virt-make-fs to think you wanted to use a partition type of "
42438 "C<input.tar> which is completely wrong.  To avoid this, use I<--> (a double "
42439 "dash) between options and the input and output arguments:"
42440 msgstr ""
42441
42442 #. type: verbatim
42443 #: ../tools/virt-make-fs.pl:269
42444 #, no-wrap
42445 msgid ""
42446 " virt-make-fs --partition -- input.tar output.img\n"
42447 "\n"
42448 msgstr ""
42449
42450 #. type: textblock
42451 #: ../tools/virt-make-fs.pl:271
42452 msgid "For MBR, virt-make-fs sets the partition type byte automatically."
42453 msgstr ""
42454
42455 #. type: textblock
42456 #: ../tools/virt-make-fs.pl:559
42457 msgid ""
42458 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
42459 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
42460 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
42461 msgstr ""
42462 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
42463 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
42464 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
42465
42466 #. type: textblock
42467 #: ../tools/virt-make-fs.pl:573 ../tools/virt-win-reg.pl:774
42468 msgid ""
42469 "When reporting bugs, please enable debugging and capture the I<complete> "
42470 "output:"
42471 msgstr ""
42472
42473 #. type: verbatim
42474 #: ../tools/virt-make-fs.pl:576
42475 #, no-wrap
42476 msgid ""
42477 " export LIBGUESTFS_DEBUG=1\n"
42478 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
42479 "\n"
42480 msgstr ""
42481 " export LIBGUESTFS_DEBUG=1\n"
42482 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
42483 "\n"
42484
42485 #. type: textblock
42486 #: ../tools/virt-make-fs.pl:579
42487 msgid ""
42488 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
42489 "redhat.com/>"
42490 msgstr ""
42491
42492 #. type: textblock
42493 #: ../tools/virt-tar.pl:33
42494 msgid "virt-tar - Extract or upload files to a virtual machine"
42495 msgstr ""
42496
42497 #. type: verbatim
42498 #: ../tools/virt-tar.pl:37
42499 #, no-wrap
42500 msgid ""
42501 " virt-tar [--options] -x domname directory tarball\n"
42502 "\n"
42503 msgstr ""
42504
42505 #. type: verbatim
42506 #: ../tools/virt-tar.pl:39
42507 #, no-wrap
42508 msgid ""
42509 " virt-tar [--options] -u domname tarball directory\n"
42510 "\n"
42511 msgstr ""
42512
42513 #. type: verbatim
42514 #: ../tools/virt-tar.pl:41
42515 #, no-wrap
42516 msgid ""
42517 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
42518 "\n"
42519 msgstr ""
42520
42521 #. type: verbatim
42522 #: ../tools/virt-tar.pl:43
42523 #, no-wrap
42524 msgid ""
42525 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
42526 "\n"
42527 msgstr ""
42528
42529 #. type: =head2
42530 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
42531 msgid "NOTE"
42532 msgstr "ПРИМІТКА"
42533
42534 #. type: textblock
42535 #: ../tools/virt-tar.pl:47
42536 msgid ""
42537 "This tool is obsolete.  Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
42538 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
42539 msgstr ""
42540
42541 #. type: textblock
42542 #: ../tools/virt-tar.pl:52
42543 msgid "Download C</home> from the VM into a local tarball:"
42544 msgstr ""
42545
42546 #. type: verbatim
42547 #: ../tools/virt-tar.pl:54
42548 #, no-wrap
42549 msgid ""
42550 " virt-tar -x domname /home home.tar\n"
42551 "\n"
42552 msgstr ""
42553
42554 #. type: verbatim
42555 #: ../tools/virt-tar.pl:56
42556 #, no-wrap
42557 msgid ""
42558 " virt-tar -zx domname /home home.tar.gz\n"
42559 "\n"
42560 msgstr ""
42561
42562 #. type: textblock
42563 #: ../tools/virt-tar.pl:58
42564 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
42565 msgstr ""
42566
42567 #. type: verbatim
42568 #: ../tools/virt-tar.pl:60
42569 #, no-wrap
42570 msgid ""
42571 " virt-tar -u domname uploadstuff.tar /tmp\n"
42572 "\n"
42573 msgstr ""
42574
42575 #. type: verbatim
42576 #: ../tools/virt-tar.pl:62
42577 #, no-wrap
42578 msgid ""
42579 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
42580 "\n"
42581 msgstr ""
42582
42583 #. type: textblock
42584 #: ../tools/virt-tar.pl:66
42585 msgid ""
42586 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
42587 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
42588 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
42589 msgstr ""
42590
42591 #. type: textblock
42592 #: ../tools/virt-tar.pl:71
42593 msgid ""
42594 "You can use I<-x> (extract) on live virtual machines, but you might get "
42595 "inconsistent results or errors if there is filesystem activity inside the "
42596 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
42597 "work, but the only way to guarantee consistent results is if the virtual "
42598 "machine is shut down."
42599 msgstr ""
42600
42601 #. type: textblock
42602 #: ../tools/virt-tar.pl:79
42603 msgid ""
42604 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
42605 "parts of a guest filesystem.  There are many possibilities: making backups, "
42606 "uploading data files, snooping on guest activity, fixing or customizing "
42607 "guests, etc."
42608 msgstr ""
42609
42610 #. type: textblock
42611 #: ../tools/virt-tar.pl:84
42612 msgid ""
42613 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
42614 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
42615 "should look at the L<guestfish(1)> tool."
42616 msgstr ""
42617
42618 #. type: textblock
42619 #: ../tools/virt-tar.pl:88
42620 msgid ""
42621 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
42622 "its contents (recursively) from the virtual machine into a local tarball.  "
42623 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
42624 "virtual machine.  You cannot use these two options together."
42625 msgstr ""
42626
42627 #. type: textblock
42628 #: ../tools/virt-tar.pl:94
42629 msgid ""
42630 "In addition, you may need to use the I<-z> (gZip) option to enable "
42631 "compression.  When uploading, you have to specify I<-z> if the upload file "
42632 "is compressed because virt-tar won't detect this on its own."
42633 msgstr ""
42634
42635 #. type: textblock
42636 #: ../tools/virt-tar.pl:98
42637 msgid ""
42638 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
42639 "example it cannot do PKZip files or bzip2 compression.  If you want that "
42640 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
42641 "the L<libguestfs(3)> API)."
42642 msgstr ""
42643
42644 #. type: =item
42645 #: ../tools/virt-tar.pl:160
42646 msgid "B<--extract>"
42647 msgstr "B<--extract>"
42648
42649 #. type: =item
42650 #: ../tools/virt-tar.pl:162
42651 msgid "B<--download>"
42652 msgstr "B<--download>"
42653
42654 #. type: =item
42655 #: ../tools/virt-tar.pl:164
42656 msgid "B<-u>"
42657 msgstr "B<-u>"
42658
42659 #. type: =item
42660 #: ../tools/virt-tar.pl:166
42661 msgid "B<--upload>"
42662 msgstr "B<--upload>"
42663
42664 #. type: textblock
42665 #: ../tools/virt-tar.pl:168
42666 msgid ""
42667 "Use I<-x> to extract (download) a directory from a virtual machine to a "
42668 "local tarball."
42669 msgstr ""
42670
42671 #. type: textblock
42672 #: ../tools/virt-tar.pl:171
42673 msgid ""
42674 "Use I<-u> to upload and unpack from a local tarball into a virtual machine.  "
42675 "Please read the L</WARNING> section above before using this option."
42676 msgstr ""
42677
42678 #. type: textblock
42679 #: ../tools/virt-tar.pl:175
42680 msgid "You must specify exactly one of these options."
42681 msgstr ""
42682
42683 #. type: =item
42684 #: ../tools/virt-tar.pl:181
42685 msgid "B<-z>"
42686 msgstr "B<-z>"
42687
42688 #. type: =item
42689 #: ../tools/virt-tar.pl:183
42690 msgid "B<--gzip>"
42691 msgstr "B<--gzip>"
42692
42693 #. type: textblock
42694 #: ../tools/virt-tar.pl:185
42695 msgid "Specify that the input or output tarball is gzip-compressed."
42696 msgstr ""
42697
42698 #. type: textblock
42699 #: ../tools/virt-tar.pl:298
42700 msgid ""
42701 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
42702 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
42703 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
42704 "org/>."
42705 msgstr ""
42706 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
42707 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
42708 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
42709 "org/>."
42710
42711 #. type: textblock
42712 #: ../tools/virt-win-reg.pl:37
42713 msgid ""
42714 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
42715 msgstr ""
42716
42717 #. type: verbatim
42718 #: ../tools/virt-win-reg.pl:41
42719 #, no-wrap
42720 msgid ""
42721 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
42722 "\n"
42723 msgstr ""
42724
42725 #. type: verbatim
42726 #: ../tools/virt-win-reg.pl:43
42727 #, no-wrap
42728 msgid ""
42729 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
42730 "\n"
42731 msgstr ""
42732
42733 #. type: verbatim
42734 #: ../tools/virt-win-reg.pl:45
42735 #, no-wrap
42736 msgid ""
42737 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
42738 "\n"
42739 msgstr ""
42740
42741 #. type: verbatim
42742 #: ../tools/virt-win-reg.pl:47
42743 #, no-wrap
42744 msgid ""
42745 " virt-win-reg --merge domname [input.reg ...]\n"
42746 "\n"
42747 msgstr ""
42748
42749 #. type: verbatim
42750 #: ../tools/virt-win-reg.pl:49
42751 #, no-wrap
42752 msgid ""
42753 " virt-win-reg [--options] disk.img ... # instead of domname\n"
42754 "\n"
42755 msgstr ""
42756
42757 #. type: textblock
42758 #: ../tools/virt-win-reg.pl:53
42759 msgid ""
42760 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
42761 "virtual machines.  If you do this, you I<will> get irreversible disk "
42762 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
42763 "but doesn't catch all cases."
42764 msgstr ""
42765
42766 #. type: textblock
42767 #: ../tools/virt-win-reg.pl:58
42768 msgid ""
42769 "Modifying the Windows Registry is an inherently risky operation.  The format "
42770 "is deliberately obscure and undocumented, and Registry changes can leave the "
42771 "system unbootable.  Therefore when using the I<--merge> option, make sure "
42772 "you have a reliable backup first."
42773 msgstr ""
42774
42775 #. type: textblock
42776 #: ../tools/virt-win-reg.pl:65
42777 msgid ""
42778 "This program can export and merge Windows Registry entries from a Windows "
42779 "guest."
42780 msgstr ""
42781
42782 #. type: textblock
42783 #: ../tools/virt-win-reg.pl:68
42784 msgid ""
42785 "The first parameter is the libvirt guest name or the raw disk image of a "
42786 "Windows guest."
42787 msgstr ""
42788
42789 #. type: textblock
42790 #: ../tools/virt-win-reg.pl:71
42791 msgid ""
42792 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
42793 "exported (recursively).  For example:"
42794 msgstr ""
42795
42796 #. type: verbatim
42797 #: ../tools/virt-win-reg.pl:74
42798 #, no-wrap
42799 msgid ""
42800 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
42801 "\n"
42802 msgstr ""
42803 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
42804 "\n"
42805
42806 #. type: textblock
42807 #: ../tools/virt-win-reg.pl:76
42808 msgid ""
42809 "You can also display single values from within registry keys, for example:"
42810 msgstr ""
42811
42812 #. type: verbatim
42813 #: ../tools/virt-win-reg.pl:79
42814 #, no-wrap
42815 msgid ""
42816 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
42817 " $ virt-win-reg Windows7 $cvkey ProductName\n"
42818 " Windows 7 Enterprise\n"
42819 "\n"
42820 msgstr ""
42821 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
42822 " $ virt-win-reg Windows7 $cvkey ProductName\n"
42823 " Windows 7 Enterprise\n"
42824 "\n"
42825
42826 #. type: textblock
42827 #: ../tools/virt-win-reg.pl:83
42828 msgid ""
42829 "With I<--merge>, you can merge a textual regedit file into the Windows "
42830 "Registry:"
42831 msgstr ""
42832
42833 #. type: verbatim
42834 #: ../tools/virt-win-reg.pl:86
42835 #, no-wrap
42836 msgid ""
42837 " $ virt-win-reg --merge Windows7 changes.reg\n"
42838 "\n"
42839 msgstr ""
42840 " $ virt-win-reg --merge Windows7 changes.reg\n"
42841 "\n"
42842
42843 #. type: textblock
42844 #: ../tools/virt-win-reg.pl:90
42845 msgid ""
42846 "This program is only meant for simple access to the registry.  If you want "
42847 "to do complicated things with the registry, we suggest you download the "
42848 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
42849 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
42850 "L<hivexregedit(1)>."
42851 msgstr ""
42852
42853 #. type: =item
42854 #: ../tools/virt-win-reg.pl:159
42855 msgid "B<--merge>"
42856 msgstr "B<--merge>"
42857
42858 #. type: textblock
42859 #: ../tools/virt-win-reg.pl:161
42860 msgid ""
42861 "In merge mode, this merges a textual regedit file into the Windows Registry "
42862 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
42863 "displays or exports Registry entries instead."
42864 msgstr ""
42865
42866 #. type: textblock
42867 #: ../tools/virt-win-reg.pl:165
42868 msgid ""
42869 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
42870 "result in disk corruption.  However exporting (without this flag)  is always "
42871 "safe."
42872 msgstr ""
42873
42874 #. type: =item
42875 #: ../tools/virt-win-reg.pl:173
42876 msgid "B<--encoding> UTF-16LE|ASCII"
42877 msgstr "B<--encoding> UTF-16LE|ASCII"
42878
42879 #. type: textblock
42880 #: ../tools/virt-win-reg.pl:175
42881 msgid ""
42882 "When merging (only), you may need to specify the encoding for strings to be "
42883 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
42884 "(3)/ENCODING STRINGS>."
42885 msgstr ""
42886
42887 #. type: textblock
42888 #: ../tools/virt-win-reg.pl:179
42889 msgid ""
42890 "The default is to use UTF-16LE, which should work with recent versions of "
42891 "Windows."
42892 msgstr ""
42893
42894 #. type: =item
42895 #: ../tools/virt-win-reg.pl:186
42896 msgid "B<--unsafe-printable-strings>"
42897 msgstr "B<--unsafe-printable-strings>"
42898
42899 #. type: textblock
42900 #: ../tools/virt-win-reg.pl:188
42901 msgid ""
42902 "When exporting (only), assume strings are UTF-16LE and print them as strings "
42903 "instead of hex sequences.  Remove the final zero codepoint from strings if "
42904 "present."
42905 msgstr ""
42906
42907 #. type: textblock
42908 #: ../tools/virt-win-reg.pl:192
42909 msgid ""
42910 "This is unsafe and does not preserve the fidelity of strings in the original "
42911 "Registry for various reasons:"
42912 msgstr ""
42913
42914 #. type: textblock
42915 #: ../tools/virt-win-reg.pl:199
42916 msgid ""
42917 "Assumes the original encoding is UTF-16LE.  ASCII strings and strings in "
42918 "other encodings will be corrupted by this transformation."
42919 msgstr ""
42920
42921 #. type: textblock
42922 #: ../tools/virt-win-reg.pl:204
42923 msgid ""
42924 "Assumes that everything which has type 1 or 2 is really a string and that "
42925 "everything else is not a string, but the type field in real Registries is "
42926 "not reliable."
42927 msgstr ""
42928
42929 #. type: textblock
42930 #: ../tools/virt-win-reg.pl:210
42931 msgid ""
42932 "Loses information about whether a zero codepoint followed the string in the "
42933 "Registry or not."
42934 msgstr ""
42935
42936 #. type: textblock
42937 #: ../tools/virt-win-reg.pl:215
42938 msgid ""
42939 "This all happens because the Registry itself contains no information about "
42940 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
42941 msgstr ""
42942
42943 #. type: textblock
42944 #: ../tools/virt-win-reg.pl:219
42945 msgid ""
42946 "You should only use this option for quick hacking and debugging of the "
42947 "Registry contents, and I<never> use it if the output is going to be passed "
42948 "into another program or stored in another Registry."
42949 msgstr ""
42950
42951 #. type: =head1
42952 #: ../tools/virt-win-reg.pl:556
42953 msgid "SUPPORTED SYSTEMS"
42954 msgstr "ПІДТРИМУВАНІ СИСТЕМИ"
42955
42956 #. type: textblock
42957 #: ../tools/virt-win-reg.pl:558
42958 msgid ""
42959 "The program currently supports Windows NT-derived guests starting with "
42960 "Windows XP through to at least Windows 7."
42961 msgstr ""
42962
42963 #. type: textblock
42964 #: ../tools/virt-win-reg.pl:561
42965 msgid "The following Registry keys are supported:"
42966 msgstr ""
42967
42968 #. type: =item
42969 #: ../tools/virt-win-reg.pl:565
42970 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
42971 msgstr "C<HKEY_LOCAL_MACHINE\\SAM>"
42972
42973 #. type: =item
42974 #: ../tools/virt-win-reg.pl:567
42975 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
42976 msgstr "C<HKEY_LOCAL_MACHINE\\SECURITY>"
42977
42978 #. type: =item
42979 #: ../tools/virt-win-reg.pl:569
42980 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
42981 msgstr "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
42982
42983 #. type: =item
42984 #: ../tools/virt-win-reg.pl:571
42985 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
42986 msgstr "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
42987
42988 #. type: =item
42989 #: ../tools/virt-win-reg.pl:573
42990 msgid "C<HKEY_USERS\\.DEFAULT>"
42991 msgstr "C<HKEY_USERS\\.DEFAULT>"
42992
42993 #. type: =item
42994 #: ../tools/virt-win-reg.pl:575
42995 msgid "C<HKEY_USERS\\I<SID>>"
42996 msgstr "C<HKEY_USERS\\I<SID>>"
42997
42998 #. type: textblock
42999 #: ../tools/virt-win-reg.pl:577
43000 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
43001 msgstr ""
43002
43003 #. type: =item
43004 #: ../tools/virt-win-reg.pl:579
43005 msgid "C<HKEY_USERS\\I<username>>"
43006 msgstr "C<HKEY_USERS\\I<користувач>>"
43007
43008 #. type: textblock
43009 #: ../tools/virt-win-reg.pl:581
43010 msgid ""
43011 "where I<username> is a local user name (this is a libguestfs extension)."
43012 msgstr ""
43013
43014 #. type: textblock
43015 #: ../tools/virt-win-reg.pl:585
43016 msgid ""
43017 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
43018 "C<HKEY_USERS>."
43019 msgstr ""
43020
43021 #. type: textblock
43022 #: ../tools/virt-win-reg.pl:588
43023 msgid ""
43024 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
43025 "supported (there is no \"current user\")."
43026 msgstr ""
43027
43028 #. type: =head1
43029 #: ../tools/virt-win-reg.pl:591
43030 msgid "ENCODING"
43031 msgstr "КОДУВАННЯ"
43032
43033 #. type: textblock
43034 #: ../tools/virt-win-reg.pl:593
43035 msgid ""
43036 "C<virt-win-reg> expects that regedit files have already been reencoded in "
43037 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
43038 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
43039 "Windows-style line endings, you may need to reencode the whole file before "
43040 "or after processing."
43041 msgstr ""
43042
43043 #. type: textblock
43044 #: ../tools/virt-win-reg.pl:599
43045 msgid ""
43046 "To reencode a file from Windows format to Linux (before processing it with "
43047 "the I<--merge> option), you would do something like this:"
43048 msgstr ""
43049
43050 #. type: verbatim
43051 #: ../tools/virt-win-reg.pl:602
43052 #, no-wrap
43053 msgid ""
43054 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
43055 "\n"
43056 msgstr ""
43057 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
43058 "\n"
43059
43060 #. type: textblock
43061 #: ../tools/virt-win-reg.pl:604
43062 msgid ""
43063 "To go in the opposite direction, after exporting and before sending the file "
43064 "to a Windows user, do something like this:"
43065 msgstr ""
43066
43067 #. type: verbatim
43068 #: ../tools/virt-win-reg.pl:607
43069 #, no-wrap
43070 msgid ""
43071 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
43072 "\n"
43073 msgstr ""
43074 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
43075 "\n"
43076
43077 #. type: textblock
43078 #: ../tools/virt-win-reg.pl:609
43079 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
43080 msgstr ""
43081
43082 #. type: textblock
43083 #: ../tools/virt-win-reg.pl:611
43084 msgid ""
43085 "If you are unsure about the current encoding, use the L<file(1)> command.  "
43086 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
43087 "style (CRLF) line endings, like this:"
43088 msgstr ""
43089
43090 #. type: verbatim
43091 #: ../tools/virt-win-reg.pl:615
43092 #, no-wrap
43093 msgid ""
43094 " $ file software.reg\n"
43095 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
43096 " with CRLF line terminators\n"
43097 "\n"
43098 msgstr ""
43099
43100 #. type: textblock
43101 #: ../tools/virt-win-reg.pl:619
43102 msgid "This file would need conversion before you could I<--merge> it."
43103 msgstr ""
43104
43105 #. type: =head1
43106 #: ../tools/virt-win-reg.pl:621
43107 msgid "CurrentControlSet etc."
43108 msgstr ""
43109
43110 #. type: textblock
43111 #: ../tools/virt-win-reg.pl:623
43112 msgid ""
43113 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
43114 "Registry at the level of the hive file, and therefore you cannot modify "
43115 "these."
43116 msgstr ""
43117
43118 #. type: textblock
43119 #: ../tools/virt-win-reg.pl:627
43120 msgid ""
43121 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
43122 "circumstances it might refer to another control set.  The way to find out is "
43123 "to look at the C<HKLM\\SYSTEM\\Select> key:"
43124 msgstr ""
43125
43126 #. type: verbatim
43127 #: ../tools/virt-win-reg.pl:631
43128 #, no-wrap
43129 msgid ""
43130 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
43131 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
43132 " \"Current\"=dword:00000001\n"
43133 " \"Default\"=dword:00000001\n"
43134 " \"Failed\"=dword:00000000\n"
43135 " \"LastKnownGood\"=dword:00000002\n"
43136 "\n"
43137 msgstr ""
43138 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
43139 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
43140 " \"Current\"=dword:00000001\n"
43141 " \"Default\"=dword:00000001\n"
43142 " \"Failed\"=dword:00000000\n"
43143 " \"LastKnownGood\"=dword:00000002\n"
43144 "\n"
43145
43146 #. type: textblock
43147 #: ../tools/virt-win-reg.pl:638
43148 msgid "\"Current\" is the one which Windows will choose when it boots."
43149 msgstr ""
43150
43151 #. type: textblock
43152 #: ../tools/virt-win-reg.pl:640
43153 msgid ""
43154 "Similarly, other C<Current...> keys in the path may need to be replaced."
43155 msgstr ""
43156
43157 #. type: =head1
43158 #: ../tools/virt-win-reg.pl:643
43159 msgid "DELETING REGISTRY KEYS AND VALUES"
43160 msgstr ""
43161
43162 #. type: textblock
43163 #: ../tools/virt-win-reg.pl:645
43164 msgid "To delete a whole registry key, use the syntax:"
43165 msgstr ""
43166
43167 #. type: verbatim
43168 #: ../tools/virt-win-reg.pl:647
43169 #, no-wrap
43170 msgid ""
43171 " [-HKEY_LOCAL_MACHINE\\Foo]\n"
43172 "\n"
43173 msgstr ""
43174
43175 #. type: textblock
43176 #: ../tools/virt-win-reg.pl:649
43177 msgid "To delete a single value within a key, use the syntax:"
43178 msgstr ""
43179
43180 #. type: verbatim
43181 #: ../tools/virt-win-reg.pl:651
43182 #, no-wrap
43183 msgid ""
43184 " [HKEY_LOCAL_MACHINE\\Foo]\n"
43185 " \"Value\"=-\n"
43186 "\n"
43187 msgstr ""
43188
43189 #. type: =head1
43190 #: ../tools/virt-win-reg.pl:654
43191 msgid "WINDOWS TIPS"
43192 msgstr ""
43193
43194 #. type: textblock
43195 #: ../tools/virt-win-reg.pl:656
43196 msgid ""
43197 "Note that some of these tips modify the guest disk image.  The guest I<must> "
43198 "be shut off, else you will get disk corruption."
43199 msgstr ""
43200
43201 #. type: =head2
43202 #: ../tools/virt-win-reg.pl:659
43203 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
43204 msgstr ""
43205
43206 #. type: textblock
43207 #: ../tools/virt-win-reg.pl:661
43208 msgid ""
43209 "Prepare a DOS batch script, VBScript or executable.  Upload this using "
43210 "L<guestfish(1)>.  For this example the script is called C<test.bat> and it "
43211 "is uploaded into C<C:\\>:"
43212 msgstr ""
43213
43214 #. type: verbatim
43215 #: ../tools/virt-win-reg.pl:665
43216 #, no-wrap
43217 msgid ""
43218 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
43219 "\n"
43220 msgstr ""
43221 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
43222 "\n"
43223
43224 #. type: textblock
43225 #: ../tools/virt-win-reg.pl:667
43226 msgid "Prepare a regedit file containing the registry change:"
43227 msgstr ""
43228
43229 #. type: verbatim
43230 #: ../tools/virt-win-reg.pl:669
43231 #, no-wrap
43232 msgid ""
43233 " cat > test.reg <<'EOF'\n"
43234 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
43235 " \"Test\"=\"c:\\\\test.bat\"\n"
43236 " EOF\n"
43237 "\n"
43238 msgstr ""
43239 " cat > test.reg <<'EOF'\n"
43240 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
43241 " \"Test\"=\"c:\\\\test.bat\"\n"
43242 " EOF\n"
43243 "\n"
43244
43245 #. type: textblock
43246 #: ../tools/virt-win-reg.pl:674
43247 msgid ""
43248 "In this example we use the key C<RunOnce> which means that the script will "
43249 "run precisely once when the first user logs in.  If you want it to run every "
43250 "time a user logs in, replace C<RunOnce> with C<Run>."
43251 msgstr ""
43252
43253 #. type: textblock
43254 #: ../tools/virt-win-reg.pl:678
43255 msgid "Now update the registry:"
43256 msgstr "Оновіть регістр:"
43257
43258 #. type: verbatim
43259 #: ../tools/virt-win-reg.pl:680
43260 #, no-wrap
43261 msgid ""
43262 " virt-win-reg --merge WindowsGuest test.reg\n"
43263 "\n"
43264 msgstr ""
43265
43266 #. type: =head2
43267 #: ../tools/virt-win-reg.pl:682
43268 msgid "INSTALLING A SERVICE"
43269 msgstr ""
43270
43271 #. type: textblock
43272 #: ../tools/virt-win-reg.pl:684
43273 msgid ""
43274 "This section assumes you are familiar with Windows services, and you either "
43275 "have a program which handles the Windows Service Control Protocol directly "
43276 "or you want to run any program using a service wrapper like SrvAny or the "
43277 "free RHSrvAny."
43278 msgstr ""
43279
43280 #. type: textblock
43281 #: ../tools/virt-win-reg.pl:689
43282 msgid ""
43283 "First upload the program and optionally the service wrapper.  In this case "
43284 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
43285 msgstr ""
43286
43287 #. type: verbatim
43288 #: ../tools/virt-win-reg.pl:693
43289 #, no-wrap
43290 msgid ""
43291 " guestfish -i -d WindowsGuest <<EOF\n"
43292 "   upload rhsrvany.exe /rhsrvany.exe\n"
43293 "   upload test.exe /test.exe\n"
43294 " EOF\n"
43295 "\n"
43296 msgstr ""
43297 " guestfish -i -d WindowsGuest <<EOF\n"
43298 "   upload rhsrvany.exe /rhsrvany.exe\n"
43299 "   upload test.exe /test.exe\n"
43300 " EOF\n"
43301 "\n"
43302
43303 #. type: textblock
43304 #: ../tools/virt-win-reg.pl:698
43305 msgid ""
43306 "Prepare a regedit file containing the registry changes.  In this example, "
43307 "the first registry change is needed for the service itself or the service "
43308 "wrapper (if used).  The second registry change is only needed because I am "
43309 "using the RHSrvAny service wrapper."
43310 msgstr ""
43311
43312 #. type: verbatim
43313 #: ../tools/virt-win-reg.pl:703
43314 #, no-wrap
43315 msgid ""
43316 " cat > service.reg <<'EOF'\n"
43317 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
43318 " \"Type\"=dword:00000010\n"
43319 " \"Start\"=dword:00000002\n"
43320 " \"ErrorControl\"=dword:00000001\n"
43321 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
43322 " \"DisplayName\"=\"RHSrvAny\"\n"
43323 " \"ObjectName\"=\"NetworkService\"\n"
43324 " \n"
43325 msgstr ""
43326 " cat > service.reg <<'EOF'\n"
43327 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
43328 " \"Type\"=dword:00000010\n"
43329 " \"Start\"=dword:00000002\n"
43330 " \"ErrorControl\"=dword:00000001\n"
43331 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
43332 " \"DisplayName\"=\"RHSrvAny\"\n"
43333 " \"ObjectName\"=\"NetworkService\"\n"
43334 " \n"
43335
43336 #. type: verbatim
43337 #: ../tools/virt-win-reg.pl:712
43338 #, no-wrap
43339 msgid ""
43340 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
43341 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
43342 " \"PWD\"=\"c:\\\\Temp\"\n"
43343 " EOF\n"
43344 "\n"
43345 msgstr ""
43346 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
43347 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
43348 " \"PWD\"=\"c:\\\\Temp\"\n"
43349 " EOF\n"
43350 "\n"
43351
43352 #. type: textblock
43353 #: ../tools/virt-win-reg.pl:723
43354 msgid ""
43355 "For use of C<ControlSet001> see the section above in this manual page.  You "
43356 "may need to adjust this according to the control set that is in use by the "
43357 "guest."
43358 msgstr ""
43359
43360 #. type: textblock
43361 #: ../tools/virt-win-reg.pl:729
43362 msgid ""
43363 "C<\"ObjectName\"> controls the privileges that the service will have.  An "
43364 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
43365 "privileged account."
43366 msgstr ""
43367
43368 #. type: textblock
43369 #: ../tools/virt-win-reg.pl:735
43370 msgid ""
43371 "For the meaning of the magic numbers, see this Microsoft KB article: "
43372 "L<http://support.microsoft.com/kb/103000>."
43373 msgstr ""
43374
43375 #. type: textblock
43376 #: ../tools/virt-win-reg.pl:740
43377 msgid "Update the registry:"
43378 msgstr "Оновіть регістр:"
43379
43380 #. type: verbatim
43381 #: ../tools/virt-win-reg.pl:742
43382 #, no-wrap
43383 msgid ""
43384 " virt-win-reg --merge WindowsGuest service.reg\n"
43385 "\n"
43386 msgstr ""
43387
43388 #. type: textblock
43389 #: ../tools/virt-win-reg.pl:746
43390 msgid ""
43391 "Be careful when passing parameters containing C<\\> (backslash) in the "
43392 "shell.  Usually you will have to use 'single quotes' or double backslashes "
43393 "(but not both) to protect them from the shell."
43394 msgstr ""
43395
43396 #. type: textblock
43397 #: ../tools/virt-win-reg.pl:750
43398 msgid "Paths and value names are case-insensitive."
43399 msgstr ""
43400
43401 #. type: textblock
43402 #: ../tools/virt-win-reg.pl:759
43403 msgid ""
43404 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
43405 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
43406 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43407 msgstr ""
43408 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
43409 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
43410 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43411
43412 #. type: verbatim
43413 #: ../tools/virt-win-reg.pl:777
43414 #, no-wrap
43415 msgid ""
43416 " export LIBGUESTFS_DEBUG=1\n"
43417 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
43418 "\n"
43419 msgstr ""
43420
43421 #. type: textblock
43422 #: ../tools/virt-win-reg.pl:780
43423 msgid ""
43424 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
43425 "redhat.com/>"
43426 msgstr ""