fish: Use size_t instead of int when counting strings.
[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-10-27 16:05+0200\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:336
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:352
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:354
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:375
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:393
940 #: ../inspector/virt-inspector.pod:397 ../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:380 ../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:395
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:403 ../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:407
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:412
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:417
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., 675 Mass "
1168 "Ave, Cambridge, MA 02139, USA."
1169 msgstr ""
1170 "Ви маєте отримати копію GNU General Public License разом з цією програмою; "
1171 "якщо це не так, повідомте про факт за адресою Free Software Foundation, "
1172 "Inc., 675 Mass Ave, Cambridge, MA 02139, 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:137 ../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:143 ../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:147 ../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:151 ../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:377
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:405
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:389 ../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:..] [iface:..] [live:..] [allowuuid:..] [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:..] [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"
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"
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"
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:..] [destoffset:..] [size:..]\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:..] [destoffset:..] [size:..]\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:..] [destoffset:..] [size:..]\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:..] [destoffset:..] [size:..]\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:..] [highquality:..]\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:..] [features:..] [inode:..] [sectorsize:..]\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:..] [force:..]\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:141
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: textblock
22353 #: ../inspector/virt-inspector.pod:139
22354 msgid "Previous versions of virt-inspector allowed you to write either:"
22355 msgstr ""
22356
22357 #. type: verbatim
22358 #: ../inspector/virt-inspector.pod:145
22359 #, no-wrap
22360 msgid ""
22361 " virt-inspector guestname\n"
22362 "\n"
22363 msgstr ""
22364
22365 #. type: =head1
22366 #: ../inspector/virt-inspector.pod:153
22367 msgid "XML FORMAT"
22368 msgstr ""
22369
22370 #. type: textblock
22371 #: ../inspector/virt-inspector.pod:155
22372 msgid ""
22373 "The virt-inspector XML is described precisely in a RELAX NG schema file "
22374 "C<virt-inspector.rng> which is supplied with libguestfs.  This section is "
22375 "just an overview."
22376 msgstr ""
22377
22378 #. type: textblock
22379 #: ../inspector/virt-inspector.pod:159
22380 msgid ""
22381 "The top-level element is E<lt>operatingsystemsE<gt>, and it contains one or "
22382 "more E<lt>operatingsystemE<gt> elements.  You would only see more than one "
22383 "E<lt>operatingsystemE<gt> element if the virtual machine is multi-boot, "
22384 "which is vanishingly rare in real world VMs."
22385 msgstr ""
22386
22387 #. type: =head2
22388 #: ../inspector/virt-inspector.pod:164
22389 msgid "E<lt>operatingsystemE<gt>"
22390 msgstr ""
22391
22392 #. type: textblock
22393 #: ../inspector/virt-inspector.pod:166
22394 msgid ""
22395 "In the E<lt>operatingsystemE<gt> tag are various optional fields that "
22396 "describe the operating system, its architecture, the descriptive \"product "
22397 "name\" string, the type of OS and so on, as in this example:"
22398 msgstr ""
22399
22400 #. type: verbatim
22401 #: ../inspector/virt-inspector.pod:170
22402 #, no-wrap
22403 msgid ""
22404 " <operatingsystems>\n"
22405 "   <operatingsystem>\n"
22406 "     <root>/dev/sda2</root>\n"
22407 "     <name>windows</name>\n"
22408 "     <arch>i386</arch>\n"
22409 "     <distro>windows</distro>\n"
22410 "     <product_name>Windows 7 Enterprise</product_name>\n"
22411 "     <product_variant>Client</product_variant>\n"
22412 "     <major_version>6</major_version>\n"
22413 "     <minor_version>1</minor_version>\n"
22414 "     <windows_systemroot>/Windows</windows_systemroot>\n"
22415 "     <format>installed</format>\n"
22416 "\n"
22417 msgstr ""
22418
22419 #. type: textblock
22420 #: ../inspector/virt-inspector.pod:183
22421 msgid ""
22422 "In brief, E<lt>nameE<gt> is the class of operating system (something like "
22423 "C<linux> or C<windows>), E<lt>distroE<gt> is the distribution (eg. C<fedora> "
22424 "but many other distros are recognized) and E<lt>archE<gt> is the guest "
22425 "architecture.  The other fields are fairly self-explanatory, but because "
22426 "these fields are taken directly from the libguestfs inspection API you can "
22427 "find precise information from L<guestfs(3)/INSPECTION>."
22428 msgstr ""
22429
22430 #. type: textblock
22431 #: ../inspector/virt-inspector.pod:191
22432 msgid ""
22433 "The E<lt>rootE<gt> element is the root filesystem device, but from the point "
22434 "of view of libguestfs (block devices may have completely different names "
22435 "inside the VM itself)."
22436 msgstr ""
22437
22438 #. type: =head2
22439 #: ../inspector/virt-inspector.pod:195
22440 msgid "E<lt>mountpointsE<gt>"
22441 msgstr ""
22442
22443 #. type: textblock
22444 #: ../inspector/virt-inspector.pod:197
22445 msgid ""
22446 "Un*x-like guests typically have multiple filesystems which are mounted at "
22447 "various mountpoints, and these are described in the E<lt>mountpointsE<gt> "
22448 "element which looks like this:"
22449 msgstr ""
22450
22451 #. type: verbatim
22452 #: ../inspector/virt-inspector.pod:201
22453 #, no-wrap
22454 msgid ""
22455 " <operatingsystems>\n"
22456 "   <operatingsystem>\n"
22457 "     ...\n"
22458 "     <mountpoints>\n"
22459 "       <mountpoint dev=\"/dev/vg_f13x64/lv_root\">/</mountpoint>\n"
22460 "       <mountpoint dev=\"/dev/sda1\">/boot</mountpoint>\n"
22461 "     </mountpoints>\n"
22462 "\n"
22463 msgstr ""
22464
22465 #. type: textblock
22466 #: ../inspector/virt-inspector.pod:209
22467 msgid ""
22468 "As with E<lt>rootE<gt>, devices are from the point of view of libguestfs, "
22469 "and may have completely different names inside the guest.  Only mountable "
22470 "filesystems appear in this list, not things like swap devices."
22471 msgstr ""
22472
22473 #. type: =head2
22474 #: ../inspector/virt-inspector.pod:214
22475 msgid "E<lt>filesystemsE<gt>"
22476 msgstr ""
22477
22478 #. type: textblock
22479 #: ../inspector/virt-inspector.pod:216
22480 msgid ""
22481 "E<lt>filesystemsE<gt> is like E<lt>mountpointsE<gt> but covers I<all> "
22482 "filesystems belonging to the guest, including swap and empty partitions.  "
22483 "(In the rare case of a multi-boot guest, it covers filesystems belonging to "
22484 "this OS or shared with this OS and other OSes)."
22485 msgstr ""
22486
22487 #. type: textblock
22488 #: ../inspector/virt-inspector.pod:222
22489 msgid "You might see something like this:"
22490 msgstr ""
22491
22492 #. type: verbatim
22493 #: ../inspector/virt-inspector.pod:224
22494 #, no-wrap
22495 msgid ""
22496 " <operatingsystems>\n"
22497 "   <operatingsystem>\n"
22498 "     ...\n"
22499 "     <filesystems>\n"
22500 "       <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
22501 "         <type>ext4</type>\n"
22502 "         <label>Fedora-13-x86_64</label>\n"
22503 "         <uuid>e6a4db1e-15c2-477b-ac2a-699181c396aa</uuid>\n"
22504 "       </filesystem>\n"
22505 "\n"
22506 msgstr ""
22507
22508 #. type: textblock
22509 #: ../inspector/virt-inspector.pod:234
22510 msgid ""
22511 "The optional elements within E<lt>filesystemE<gt> are the filesystem type, "
22512 "the label, and the UUID."
22513 msgstr ""
22514
22515 #. type: =head2
22516 #: ../inspector/virt-inspector.pod:237
22517 msgid "E<lt>applicationsE<gt>"
22518 msgstr ""
22519
22520 #. type: textblock
22521 #: ../inspector/virt-inspector.pod:239
22522 msgid ""
22523 "The related elements E<lt>package_formatE<gt>, E<lt>package_managementE<gt> "
22524 "and E<lt>applicationsE<gt> describe applications installed in the virtual "
22525 "machine."
22526 msgstr ""
22527
22528 #. type: textblock
22529 #: ../inspector/virt-inspector.pod:243
22530 msgid ""
22531 "E<lt>package_formatE<gt>, if present, describes the packaging system used.  "
22532 "Typical values would be C<rpm> and C<deb>."
22533 msgstr ""
22534
22535 #. type: textblock
22536 #: ../inspector/virt-inspector.pod:246
22537 msgid ""
22538 "E<lt>package_managementE<gt>, if present, describes the package manager.  "
22539 "Typical values include C<yum>, C<up2date> and C<apt>"
22540 msgstr ""
22541
22542 #. type: textblock
22543 #: ../inspector/virt-inspector.pod:249
22544 msgid "E<lt>applicationsE<gt> lists the packages or applications installed."
22545 msgstr ""
22546
22547 #. type: verbatim
22548 #: ../inspector/virt-inspector.pod:252
22549 #, no-wrap
22550 msgid ""
22551 " <operatingsystems>\n"
22552 "   <operatingsystem>\n"
22553 "     ...\n"
22554 "     <applications>\n"
22555 "       <application>\n"
22556 "         <name>coreutils</name>\n"
22557 "         <version>8.5</version>\n"
22558 "         <release>1</release>\n"
22559 "       </application>\n"
22560 "\n"
22561 msgstr ""
22562
22563 #. type: textblock
22564 #: ../inspector/virt-inspector.pod:262
22565 msgid ""
22566 "The version and release fields may not be available for some types guests.  "
22567 "Other fields are possible, see L<guestfs(3)/"
22568 "guestfs_inspect_list_applications>."
22569 msgstr ""
22570
22571 #. type: =head2
22572 #: ../inspector/virt-inspector.pod:266
22573 msgid "E<lt>drive_mappingsE<gt>"
22574 msgstr ""
22575
22576 #. type: textblock
22577 #: ../inspector/virt-inspector.pod:268
22578 msgid ""
22579 "For operating systems like Windows which use drive letters, virt-inspector "
22580 "is able to find out how drive letters map to filesystems."
22581 msgstr ""
22582
22583 #. type: verbatim
22584 #: ../inspector/virt-inspector.pod:272
22585 #, no-wrap
22586 msgid ""
22587 " <operatingsystems>\n"
22588 "   <operatingsystem>\n"
22589 "     ...\n"
22590 "     <drive_mappings>\n"
22591 "       <drive_mapping name=\"C\">/dev/sda2</drive_mapping>\n"
22592 "       <drive_mapping name=\"E\">/dev/sdb1</drive_mapping>\n"
22593 "     </drive_mappings>\n"
22594 "\n"
22595 msgstr ""
22596
22597 #. type: textblock
22598 #: ../inspector/virt-inspector.pod:280
22599 msgid ""
22600 "In the example above, drive C maps to the filesystem on the second partition "
22601 "on the first disk, and drive E maps to the filesystem on the first partition "
22602 "on the second disk."
22603 msgstr ""
22604
22605 #. type: textblock
22606 #: ../inspector/virt-inspector.pod:284
22607 msgid ""
22608 "Note that this only covers permanent local filesystem mappings, not things "
22609 "like network shares.  Furthermore NTFS volume mount points may not be listed "
22610 "here."
22611 msgstr ""
22612
22613 #. type: =head2
22614 #: ../inspector/virt-inspector.pod:288
22615 msgid "E<lt>iconE<gt>"
22616 msgstr ""
22617
22618 #. type: textblock
22619 #: ../inspector/virt-inspector.pod:290
22620 msgid ""
22621 "Virt-inspector is sometimes able to extract an icon or logo for the guest.  "
22622 "The icon is returned as base64-encoded PNG data.  Note that the icon can be "
22623 "very large and high quality."
22624 msgstr ""
22625
22626 #. type: verbatim
22627 #: ../inspector/virt-inspector.pod:294
22628 #, no-wrap
22629 msgid ""
22630 " <operatingsystems>\n"
22631 "   <operatingsystem>\n"
22632 "     ...\n"
22633 "     <icon>\n"
22634 "       iVBORw0KGgoAAAANSUhEUgAAAGAAAABg[.......]\n"
22635 "       [... many lines of base64 data ...]\n"
22636 "     </icon>\n"
22637 "\n"
22638 msgstr ""
22639
22640 #. type: textblock
22641 #: ../inspector/virt-inspector.pod:302
22642 msgid ""
22643 "To display the icon, you have to extract it and convert the base64 data back "
22644 "to a binary file.  Use an XPath query or simply an editor to extract the "
22645 "data, then use the coreutils L<base64(1)> program to do the conversion back "
22646 "to a PNG file:"
22647 msgstr ""
22648
22649 #. type: verbatim
22650 #: ../inspector/virt-inspector.pod:307
22651 #, no-wrap
22652 msgid ""
22653 " base64 -i -d < icon.data > icon.png\n"
22654 "\n"
22655 msgstr ""
22656
22657 #. type: =head2
22658 #: ../inspector/virt-inspector.pod:309
22659 msgid "INSPECTING INSTALL DISKS, LIVE CDs"
22660 msgstr ""
22661
22662 #. type: textblock
22663 #: ../inspector/virt-inspector.pod:311
22664 msgid ""
22665 "Virt-inspector can detect some operating system installers on install disks, "
22666 "live CDs, bootable USB keys and more."
22667 msgstr ""
22668
22669 #. type: textblock
22670 #: ../inspector/virt-inspector.pod:314
22671 msgid ""
22672 "In this case the E<lt>formatE<gt> tag will contain C<installer> and other "
22673 "fields may be present to indicate a live CD, network installer, or one part "
22674 "of a multipart CD.  For example:"
22675 msgstr ""
22676
22677 #. type: verbatim
22678 #: ../inspector/virt-inspector.pod:318
22679 #, no-wrap
22680 msgid ""
22681 " <operatingsystems>\n"
22682 "   <operatingsystem>\n"
22683 "     <root>/dev/sda</root>\n"
22684 "     <name>linux</name>\n"
22685 "     <arch>i386</arch>\n"
22686 "     <distro>ubuntu</distro>\n"
22687 "     <product_name>Ubuntu 10.10 &quot;Maverick Meerkat&quot;</product_name>\n"
22688 "     <major_version>10</major_version>\n"
22689 "     <minor_version>10</minor_version>\n"
22690 "     <format>installer</format>\n"
22691 "     <live/>\n"
22692 "\n"
22693 msgstr ""
22694
22695 #. type: =head1
22696 #: ../inspector/virt-inspector.pod:330
22697 msgid "USING XPATH"
22698 msgstr ""
22699
22700 #. type: textblock
22701 #: ../inspector/virt-inspector.pod:332
22702 msgid ""
22703 "You can use the XPath query language to select parts of the XML.  We "
22704 "recommend using C<xmlstarlet> to perform XPath queries from the command line."
22705 msgstr ""
22706
22707 #. type: verbatim
22708 #: ../inspector/virt-inspector.pod:338
22709 #, no-wrap
22710 msgid ""
22711 " $ virt-inspector -d Guest | xmlstarlet sel -t -c '//filesystems'\n"
22712 " <filesystems>\n"
22713 "      <filesystem dev=\"/dev/vg_f13x64/lv_root\">\n"
22714 "        <type>ext4</type>\n"
22715 " [...]\n"
22716 "\n"
22717 msgstr ""
22718
22719 #. type: verbatim
22720 #: ../inspector/virt-inspector.pod:344
22721 #, no-wrap
22722 msgid ""
22723 " $ virt-inspector -d Guest | \\\n"
22724 "     xmlstarlet sel -t -c \"string(//filesystem[@dev='/dev/sda1']/type)\"\n"
22725 " ext4\n"
22726 "\n"
22727 msgstr ""
22728
22729 #. type: verbatim
22730 #: ../inspector/virt-inspector.pod:348
22731 #, no-wrap
22732 msgid ""
22733 " $ virt-inspector -d Guest | \\\n"
22734 "    xmlstarlet sel -t -v '//icon' | base64 -i -d | display -\n"
22735 " [displays the guest icon, if there is one]\n"
22736 "\n"
22737 msgstr ""
22738
22739 #. type: =head1
22740 #: ../inspector/virt-inspector.pod:359
22741 msgid "OLD VERSIONS OF VIRT-INSPECTOR"
22742 msgstr ""
22743
22744 #. type: textblock
22745 #: ../inspector/virt-inspector.pod:361
22746 msgid ""
22747 "Early versions of libguestfs shipped with a different virt-inspector program "
22748 "written in Perl (the current version is written in C).  The XML output of "
22749 "the Perl virt-inspector was different and it could also output in other "
22750 "formats like text."
22751 msgstr ""
22752
22753 #. type: textblock
22754 #: ../inspector/virt-inspector.pod:366
22755 msgid ""
22756 "The old virt-inspector is no longer supported or shipped with libguestfs."
22757 msgstr ""
22758
22759 #. type: textblock
22760 #: ../inspector/virt-inspector.pod:369
22761 msgid ""
22762 "To confuse matters further, in Red Hat Enterprise Linux 6 we ship two "
22763 "versions of virt-inspector with different names:"
22764 msgstr ""
22765
22766 #. type: verbatim
22767 #: ../inspector/virt-inspector.pod:372
22768 #, no-wrap
22769 msgid ""
22770 " virt-inspector     Old Perl version.\n"
22771 " virt-inspector2    New C version.\n"
22772 "\n"
22773 msgstr ""
22774
22775 #. type: textblock
22776 #: ../inspector/virt-inspector.pod:382
22777 msgid ""
22778 "L<guestfs(3)>, L<guestfish(1)>, L<http://www.w3.org/TR/xpath/>, L<base64(1)"
22779 ">, L<xmlstarlet(1)>, L<http://libguestfs.org/>."
22780 msgstr ""
22781
22782 #. type: textblock
22783 #: ../inspector/virt-inspector.pod:399
22784 msgid "Matthew Booth L<mbooth@redhat.com>"
22785 msgstr ""
22786
22787 #. type: textblock
22788 #: ../java/examples/guestfs-java.pod:5
22789 msgid "guestfs-java - How to use libguestfs from Java"
22790 msgstr ""
22791
22792 #. type: verbatim
22793 #: ../java/examples/guestfs-java.pod:9
22794 #, no-wrap
22795 msgid ""
22796 " import com.redhat.et.libguestfs.*;\n"
22797 " \n"
22798 msgstr ""
22799
22800 #. type: verbatim
22801 #: ../java/examples/guestfs-java.pod:11
22802 #, no-wrap
22803 msgid ""
22804 " GuestFS g = new GuestFS ();\n"
22805 " g.add_drive_opts (\"disk.img\", null);\n"
22806 " g.launch ();\n"
22807 "\n"
22808 msgstr ""
22809
22810 #. type: textblock
22811 #: ../java/examples/guestfs-java.pod:17
22812 msgid ""
22813 "This manual page documents how to call libguestfs from the Java programming "
22814 "language.  This page just documents the differences from the C API and gives "
22815 "some examples.  If you are not familiar with using libguestfs, you also need "
22816 "to read L<guestfs(3)>."
22817 msgstr ""
22818
22819 #. type: =head2
22820 #: ../java/examples/guestfs-java.pod:22 ../ocaml/examples/guestfs-ocaml.pod:53
22821 msgid "CLOSING THE HANDLE"
22822 msgstr ""
22823
22824 #. type: textblock
22825 #: ../java/examples/guestfs-java.pod:24
22826 msgid ""
22827 "The handle is closed when it is reaped by the garbage collector.  Because "
22828 "libguestfs handles include a lot of state, it is also possible to close (and "
22829 "hence free) them explicitly by calling the C<close> method."
22830 msgstr ""
22831
22832 #. type: =head2
22833 #: ../java/examples/guestfs-java.pod:29 ../ocaml/examples/guestfs-ocaml.pod:60
22834 #: ../python/examples/guestfs-python.pod:21
22835 #: ../ruby/examples/guestfs-ruby.pod:22
22836 msgid "EXCEPTIONS"
22837 msgstr "ВИНЯТКИ"
22838
22839 #. type: textblock
22840 #: ../java/examples/guestfs-java.pod:31
22841 msgid ""
22842 "Errors from libguestfs functions are mapped into the C<LibGuestFSException> "
22843 "exception.  This has a single parameter which is the error message (a "
22844 "C<String>)."
22845 msgstr ""
22846
22847 #. type: textblock
22848 #: ../java/examples/guestfs-java.pod:35
22849 msgid "Calling any method on a closed handle raises the same exception."
22850 msgstr ""
22851
22852 #. type: textblock
22853 #: ../java/examples/guestfs-java.pod:47
22854 msgid ""
22855 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-ocaml"
22856 "(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
22857 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
22858 msgstr ""
22859
22860 #. type: textblock
22861 #: ../ocaml/examples/guestfs-ocaml.pod:5
22862 msgid "guestfs-ocaml - How to use libguestfs from OCaml"
22863 msgstr ""
22864
22865 #. type: textblock
22866 #: ../ocaml/examples/guestfs-ocaml.pod:9
22867 msgid "Module style:"
22868 msgstr ""
22869
22870 #. type: verbatim
22871 #: ../ocaml/examples/guestfs-ocaml.pod:11
22872 #, no-wrap
22873 msgid ""
22874 " let g = Guestfs.create () in\n"
22875 " Guestfs.add_drive_opts g ~format:\"raw\" ~readonly:true \"disk.img\";\n"
22876 " Guestfs.launch g;\n"
22877 "\n"
22878 msgstr ""
22879
22880 #. type: textblock
22881 #: ../ocaml/examples/guestfs-ocaml.pod:15
22882 msgid "Object-oriented style:"
22883 msgstr ""
22884
22885 #. type: verbatim
22886 #: ../ocaml/examples/guestfs-ocaml.pod:17
22887 #, no-wrap
22888 msgid ""
22889 " let g = new Guestfs.guestfs () in\n"
22890 " g#add_drive_opts ~format:\"raw\" ~readonly:true \"disk.img\";\n"
22891 " g#launch ();\n"
22892 "\n"
22893 msgstr ""
22894
22895 #. type: verbatim
22896 #: ../ocaml/examples/guestfs-ocaml.pod:21
22897 #, no-wrap
22898 msgid ""
22899 " ocamlfind opt prog.ml -package guestfs -linkpkg -o prog\n"
22900 "or:\n"
22901 " ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog\n"
22902 "\n"
22903 msgstr ""
22904
22905 #. type: textblock
22906 #: ../ocaml/examples/guestfs-ocaml.pod:27
22907 msgid ""
22908 "This manual page documents how to call libguestfs from the OCaml programming "
22909 "language.  This page just documents the differences from the C API and gives "
22910 "some examples.  If you are not familiar with using libguestfs, you also need "
22911 "to read L<guestfs(3)>."
22912 msgstr ""
22913
22914 #. type: =head2
22915 #: ../ocaml/examples/guestfs-ocaml.pod:32
22916 msgid "PROGRAMMING STYLES"
22917 msgstr ""
22918
22919 #. type: textblock
22920 #: ../ocaml/examples/guestfs-ocaml.pod:34
22921 msgid ""
22922 "There are two different programming styles supported by the OCaml bindings.  "
22923 "You can use a module style, with each C function mapped to an OCaml function:"
22924 msgstr ""
22925
22926 #. type: verbatim
22927 #: ../ocaml/examples/guestfs-ocaml.pod:38
22928 #, no-wrap
22929 msgid ""
22930 " int guestfs_set_verbose (guestfs_h *g, int flag);\n"
22931 "\n"
22932 msgstr ""
22933
22934 #. type: textblock
22935 #: ../ocaml/examples/guestfs-ocaml.pod:40
22936 msgid "becomes:"
22937 msgstr ""
22938
22939 #. type: verbatim
22940 #: ../ocaml/examples/guestfs-ocaml.pod:42
22941 #, no-wrap
22942 msgid ""
22943 " val Guestfs.set_verbose : Guestfs.t -> bool -> unit\n"
22944 "\n"
22945 msgstr ""
22946
22947 #. type: textblock
22948 #: ../ocaml/examples/guestfs-ocaml.pod:44
22949 msgid ""
22950 "Alternately you can use an object-oriented style, calling methods on the "
22951 "class C<Guestfs.guestfs>:"
22952 msgstr ""
22953
22954 #. type: verbatim
22955 #: ../ocaml/examples/guestfs-ocaml.pod:47
22956 #, no-wrap
22957 msgid ""
22958 " method set_verbose : bool -> unit\n"
22959 "\n"
22960 msgstr ""
22961
22962 #. type: textblock
22963 #: ../ocaml/examples/guestfs-ocaml.pod:49
22964 msgid ""
22965 "The object-oriented style is usually briefer, and the minor performance "
22966 "penalty isn't noticable in the general overhead of performing libguestfs "
22967 "functions."
22968 msgstr ""
22969
22970 #. type: textblock
22971 #: ../ocaml/examples/guestfs-ocaml.pod:55
22972 msgid ""
22973 "The handle is closed when it is reaped by the garbage collector.  Because "
22974 "libguestfs handles include a lot of state, it is also possible to close (and "
22975 "hence free) them explicitly by calling C<Guestfs.close> or the C<#close> "
22976 "method."
22977 msgstr ""
22978
22979 #. type: textblock
22980 #: ../ocaml/examples/guestfs-ocaml.pod:62
22981 msgid ""
22982 "Errors from libguestfs functions are mapped into the C<Guestfs.Error> "
22983 "exception.  This has a single parameter which is the error message (a "
22984 "string)."
22985 msgstr ""
22986
22987 #. type: textblock
22988 #: ../ocaml/examples/guestfs-ocaml.pod:66
22989 msgid ""
22990 "Calling any function/method on a closed handle raises C<Guestfs."
22991 "Handle_closed>.  The single parameter is the name of the function that you "
22992 "called."
22993 msgstr ""
22994
22995 #. type: textblock
22996 #: ../ocaml/examples/guestfs-ocaml.pod:80
22997 msgid ""
22998 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
22999 "(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-recipes(1)>, "
23000 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>, L<http://caml.inria.fr/>."
23001 msgstr ""
23002
23003 #. type: textblock
23004 #: ../perl/examples/guestfs-perl.pod:5
23005 msgid "guestfs-perl - How to use libguestfs from Perl"
23006 msgstr ""
23007
23008 #. type: verbatim
23009 #: ../perl/examples/guestfs-perl.pod:9
23010 #, no-wrap
23011 msgid ""
23012 " use Sys::Guestfs;\n"
23013 " \n"
23014 msgstr ""
23015
23016 #. type: verbatim
23017 #: ../perl/examples/guestfs-perl.pod:11
23018 #, no-wrap
23019 msgid ""
23020 " my $h = Sys::Guestfs->new ();\n"
23021 " $h->add_drive_opts ('guest.img', format => 'raw');\n"
23022 " $h->launch ();\n"
23023 " $h->mount_options ('', '/dev/sda1', '/');\n"
23024 " $h->touch ('/hello');\n"
23025 " $h->sync ();\n"
23026 "\n"
23027 msgstr ""
23028
23029 #. type: textblock
23030 #: ../perl/examples/guestfs-perl.pod:20
23031 msgid ""
23032 "This manual page documents how to call libguestfs from the Perl programming "
23033 "language.  This page just documents the differences from the C API and gives "
23034 "some examples.  If you are not familiar with using libguestfs, you also need "
23035 "to read L<guestfs(3)>.  To read the full Perl API, see L<Sys::Guestfs(3)>."
23036 msgstr ""
23037
23038 #. type: =head2
23039 #: ../perl/examples/guestfs-perl.pod:26
23040 msgid "ERRORS"
23041 msgstr "ПОМИЛКИ"
23042
23043 #. type: textblock
23044 #: ../perl/examples/guestfs-perl.pod:28
23045 msgid ""
23046 "Errors from libguestfs functions turn into calls to C<croak> (see L<Carp(3)"
23047 ">)."
23048 msgstr ""
23049
23050 #. type: textblock
23051 #: ../perl/examples/guestfs-perl.pod:41
23052 msgid ""
23053 "L<Sys::Guestfs(3)>, L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang"
23054 "(3)>, L<guestfs-java(3)>, L<guestfs-ocaml(3)>, L<guestfs-python(3)>, "
23055 "L<guestfs-recipes(1)>, L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
23056 msgstr ""
23057
23058 #. type: textblock
23059 #: ../python/examples/guestfs-python.pod:5
23060 msgid "guestfs-python - How to use libguestfs from Python"
23061 msgstr ""
23062
23063 #. type: verbatim
23064 #: ../python/examples/guestfs-python.pod:9
23065 #, no-wrap
23066 msgid ""
23067 " import guestfs\n"
23068 " g = guestfs.GuestFS ()\n"
23069 " g.add_drive_opts (\"disk.img\", format=\"raw\", readonly=1)\n"
23070 " g.launch\n"
23071 "\n"
23072 msgstr ""
23073
23074 #. type: textblock
23075 #: ../python/examples/guestfs-python.pod:16
23076 msgid ""
23077 "This manual page documents how to call libguestfs from the Python "
23078 "programming language.  This page just documents the differences from the C "
23079 "API and gives some examples.  If you are not familiar with using libguestfs, "
23080 "you also need to read L<guestfs(3)>."
23081 msgstr ""
23082
23083 #. type: textblock
23084 #: ../python/examples/guestfs-python.pod:23
23085 msgid ""
23086 "Errors from libguestfs functions are mapped into C<RuntimeException> with a "
23087 "single string argument which is the error message."
23088 msgstr ""
23089
23090 #. type: =head2
23091 #: ../python/examples/guestfs-python.pod:26
23092 msgid "MORE DOCUMENTATION"
23093 msgstr ""
23094
23095 #. type: textblock
23096 #: ../python/examples/guestfs-python.pod:28
23097 msgid "Type:"
23098 msgstr "Тип:"
23099
23100 #. type: verbatim
23101 #: ../python/examples/guestfs-python.pod:30
23102 #, no-wrap
23103 msgid ""
23104 " $ python\n"
23105 " >>> import guestfs\n"
23106 " >>> help (guestfs)\n"
23107 "\n"
23108 msgstr ""
23109
23110 #. type: textblock
23111 #: ../python/examples/guestfs-python.pod:44
23112 msgid ""
23113 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
23114 "(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-recipes(1)>, "
23115 "L<guestfs-ruby(3)>, L<http://libguestfs.org/>."
23116 msgstr ""
23117
23118 #. type: textblock
23119 #: ../rescue/virt-rescue.pod:5
23120 msgid "virt-rescue - Run a rescue shell on a virtual machine"
23121 msgstr ""
23122
23123 #. type: verbatim
23124 #: ../rescue/virt-rescue.pod:9
23125 #, no-wrap
23126 msgid ""
23127 " virt-rescue [--options] -d domname\n"
23128 "\n"
23129 msgstr ""
23130
23131 #. type: verbatim
23132 #: ../rescue/virt-rescue.pod:11
23133 #, no-wrap
23134 msgid ""
23135 " virt-rescue [--options] -a disk.img [-a disk.img ...]\n"
23136 "\n"
23137 msgstr ""
23138
23139 #. type: verbatim
23140 #: ../rescue/virt-rescue.pod:15
23141 #, no-wrap
23142 msgid ""
23143 " virt-rescue [--options] domname\n"
23144 "\n"
23145 msgstr ""
23146
23147 #. type: verbatim
23148 #: ../rescue/virt-rescue.pod:17
23149 #, no-wrap
23150 msgid ""
23151 " virt-rescue [--options] disk.img [disk.img ...]\n"
23152 "\n"
23153 msgstr ""
23154
23155 #. type: textblock
23156 #: ../rescue/virt-rescue.pod:21
23157 msgid ""
23158 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
23159 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
23160 "you from doing this, but doesn't catch all cases."
23161 msgstr ""
23162
23163 #. type: textblock
23164 #: ../rescue/virt-rescue.pod:25
23165 msgid ""
23166 "However if you use the I<--ro> (read only) option, then you can attach a "
23167 "shell to a live virtual machine.  The results might be strange or "
23168 "inconsistent at times but you won't get disk corruption."
23169 msgstr ""
23170
23171 #. type: textblock
23172 #: ../rescue/virt-rescue.pod:31
23173 msgid ""
23174 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
23175 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
23176 "recovery tools which you can use to examine or rescue a virtual machine or "
23177 "disk image."
23178 msgstr ""
23179
23180 #. type: textblock
23181 #: ../rescue/virt-rescue.pod:36
23182 msgid ""
23183 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
23184 "on disk image(s):"
23185 msgstr ""
23186
23187 #. type: verbatim
23188 #: ../rescue/virt-rescue.pod:39
23189 #, no-wrap
23190 msgid ""
23191 " virt-rescue -d GuestName\n"
23192 "\n"
23193 msgstr ""
23194
23195 #. type: verbatim
23196 #: ../rescue/virt-rescue.pod:41
23197 #, no-wrap
23198 msgid ""
23199 " virt-rescue --ro -a /path/to/disk.img\n"
23200 "\n"
23201 msgstr ""
23202
23203 #. type: verbatim
23204 #: ../rescue/virt-rescue.pod:43
23205 #, no-wrap
23206 msgid ""
23207 " virt-rescue -a /dev/sdc\n"
23208 "\n"
23209 msgstr ""
23210
23211 #. type: textblock
23212 #: ../rescue/virt-rescue.pod:45
23213 msgid "For live VMs you I<must> use the --ro option."
23214 msgstr ""
23215
23216 #. type: textblock
23217 #: ../rescue/virt-rescue.pod:47
23218 msgid ""
23219 "When you run virt-rescue on a virtual machine or disk image, you are placed "
23220 "in an interactive bash shell where you can use many ordinary Linux "
23221 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
23222 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
23223 "is an empty directory called C</sysroot> where you can mount filesystems."
23224 msgstr ""
23225
23226 #. type: textblock
23227 #: ../rescue/virt-rescue.pod:54
23228 msgid ""
23229 "In the example below, we list logical volumes, then choose one to mount "
23230 "under C</sysroot>:"
23231 msgstr ""
23232
23233 #. type: verbatim
23234 #: ../rescue/virt-rescue.pod:57
23235 #, no-wrap
23236 msgid ""
23237 " ><rescue> lvs\n"
23238 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
23239 " lv_root vg_f11x64 -wi-a-   8.83G\n"
23240 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
23241 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
23242 " ><rescue> ls /sysroot\n"
23243 "\n"
23244 msgstr ""
23245
23246 #. type: textblock
23247 #: ../rescue/virt-rescue.pod:64
23248 msgid ""
23249 "If you don't know what filesystems are available on the virtual machine then "
23250 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
23251 msgstr ""
23252
23253 #. type: textblock
23254 #: ../rescue/virt-rescue.pod:70
23255 msgid ""
23256 "Virt-rescue can be used on I<any> disk image file or device, not just a "
23257 "virtual machine.  For example you can use it on a blank file if you want to "
23258 "partition that file (although we would recommend using L<guestfish(1)> "
23259 "instead as it is more suitable for this purpose).  You can even use virt-"
23260 "rescue on things like SD cards."
23261 msgstr ""
23262
23263 #. type: textblock
23264 #: ../rescue/virt-rescue.pod:76
23265 msgid ""
23266 "Virt-rescue does not require root.  You only need to run it as root if you "
23267 "need root to open the disk image."
23268 msgstr ""
23269
23270 #. type: textblock
23271 #: ../rescue/virt-rescue.pod:79
23272 msgid ""
23273 "This tool is just designed for quick interactive hacking on a virtual "
23274 "machine.  For more structured access to a virtual machine disk image, you "
23275 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
23276 "make scripted changes to guests, use L<guestfish(1)>."
23277 msgstr ""
23278
23279 #. type: =item
23280 #: ../rescue/virt-rescue.pod:103
23281 msgid "B<--append kernelopts>"
23282 msgstr "B<--append параметри_ядра>"
23283
23284 #. type: textblock
23285 #: ../rescue/virt-rescue.pod:105
23286 msgid "Pass additional options to the rescue kernel."
23287 msgstr ""
23288
23289 #. type: verbatim
23290 #: ../rescue/virt-rescue.pod:135
23291 #, no-wrap
23292 msgid ""
23293 " virt-rescue --format=raw -a disk.img\n"
23294 "\n"
23295 msgstr ""
23296
23297 #. type: verbatim
23298 #: ../rescue/virt-rescue.pod:139
23299 #, no-wrap
23300 msgid ""
23301 " virt-rescue --format=raw -a disk.img --format -a another.img\n"
23302 "\n"
23303 msgstr ""
23304
23305 #. type: =item
23306 #: ../rescue/virt-rescue.pod:148
23307 msgid "B<-m MB>"
23308 msgstr "B<-m МБ>"
23309
23310 #. type: =item
23311 #: ../rescue/virt-rescue.pod:150
23312 msgid "B<--memsize MB>"
23313 msgstr "B<--memsize МБ>"
23314
23315 #. type: textblock
23316 #: ../rescue/virt-rescue.pod:152
23317 msgid ""
23318 "Change the amount of memory allocated to the rescue system.  The default is "
23319 "set by libguestfs and is small but adequate for running system tools.  The "
23320 "occasional program might need more memory.  The parameter is specified in "
23321 "megabytes."
23322 msgstr ""
23323
23324 #. type: =item
23325 #: ../rescue/virt-rescue.pod:157
23326 msgid "B<--network>"
23327 msgstr "B<--network>"
23328
23329 #. type: textblock
23330 #: ../rescue/virt-rescue.pod:159
23331 msgid "Enable QEMU user networking in the guest.  See L</NETWORK>."
23332 msgstr ""
23333
23334 #. type: textblock
23335 #: ../rescue/virt-rescue.pod:165
23336 msgid "Open the image read-only."
23337 msgstr ""
23338
23339 #. type: textblock
23340 #: ../rescue/virt-rescue.pod:175
23341 msgid ""
23342 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
23343 "SELINUX> before using this option."
23344 msgstr ""
23345
23346 #. type: =item
23347 #: ../rescue/virt-rescue.pod:178
23348 msgid "B<--smp> N"
23349 msgstr ""
23350
23351 #. type: textblock
23352 #: ../rescue/virt-rescue.pod:180
23353 msgid "Enable N E<ge> 2 virtual CPUs in the rescue appliance."
23354 msgstr ""
23355
23356 #. type: textblock
23357 #: ../rescue/virt-rescue.pod:198
23358 msgid ""
23359 "This changes the I<-a> and I<-d> options so that disks are added and mounts "
23360 "are done read-write."
23361 msgstr ""
23362
23363 #. type: textblock
23364 #: ../rescue/virt-rescue.pod:211
23365 msgid "Previous versions of virt-rescue allowed you to write either:"
23366 msgstr ""
23367
23368 #. type: verbatim
23369 #: ../rescue/virt-rescue.pod:213
23370 #, no-wrap
23371 msgid ""
23372 " virt-rescue disk.img [disk.img ...]\n"
23373 "\n"
23374 msgstr ""
23375
23376 #. type: verbatim
23377 #: ../rescue/virt-rescue.pod:217
23378 #, no-wrap
23379 msgid ""
23380 " virt-rescue guestname\n"
23381 "\n"
23382 msgstr ""
23383
23384 #. type: =head1
23385 #: ../rescue/virt-rescue.pod:225
23386 msgid "NETWORK"
23387 msgstr "МЕРЕЖА"
23388
23389 #. type: textblock
23390 #: ../rescue/virt-rescue.pod:227
23391 msgid ""
23392 "Adding the I<--network> option enables QEMU user networking in the rescue "
23393 "appliance.  There are some differences between user networking and ordinary "
23394 "networking:"
23395 msgstr ""
23396
23397 #. type: =item
23398 #: ../rescue/virt-rescue.pod:233
23399 msgid "ping does not work"
23400 msgstr ""
23401
23402 #. type: textblock
23403 #: ../rescue/virt-rescue.pod:235
23404 msgid ""
23405 "Because the ICMP ECHO_REQUEST protocol generally requires root in order to "
23406 "send the ping packets, and because virt-rescue must be able to run as non-"
23407 "root, QEMU user networking is not able to emulate the L<ping(8)> command.  "
23408 "The ping command will appear to resolve addresses but will not be able to "
23409 "send or receive any packets.  This does not mean that the network is not "
23410 "working."
23411 msgstr ""
23412
23413 #. type: =item
23414 #: ../rescue/virt-rescue.pod:242
23415 msgid "cannot receive connections"
23416 msgstr ""
23417
23418 #. type: textblock
23419 #: ../rescue/virt-rescue.pod:244
23420 msgid "QEMU user networking cannot receive incoming connections."
23421 msgstr ""
23422
23423 #. type: =item
23424 #: ../rescue/virt-rescue.pod:246
23425 msgid "making TCP connections"
23426 msgstr ""
23427
23428 #. type: textblock
23429 #: ../rescue/virt-rescue.pod:248
23430 msgid ""
23431 "The virt-rescue appliance needs to be small and so does not include many "
23432 "network tools.  In particular there is no L<telnet(1)> command.  You can "
23433 "make TCP connections from the shell using the magical C</dev/tcp/"
23434 "E<lt>hostnameE<gt>/E<lt>portE<gt>> syntax:"
23435 msgstr ""
23436
23437 #. type: verbatim
23438 #: ../rescue/virt-rescue.pod:253
23439 #, no-wrap
23440 msgid ""
23441 " exec 3<>/dev/tcp/redhat.com/80\n"
23442 " echo \"GET /\" >&3\n"
23443 " cat <&3\n"
23444 "\n"
23445 msgstr ""
23446
23447 #. type: textblock
23448 #: ../rescue/virt-rescue.pod:257
23449 msgid "See L<bash(1)> for more details."
23450 msgstr ""
23451
23452 #. type: textblock
23453 #: ../rescue/virt-rescue.pod:263
23454 msgid ""
23455 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
23456 "ENVIRONMENT VARIABLES> for the complete list."
23457 msgstr ""
23458
23459 #. type: textblock
23460 #: ../rescue/virt-rescue.pod:290
23461 msgid ""
23462 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<http://"
23463 "libguestfs.org/>."
23464 msgstr ""
23465
23466 #. type: textblock
23467 #: ../resize/virt-resize.pod:5
23468 msgid "virt-resize - Resize a virtual machine disk"
23469 msgstr ""
23470
23471 #. type: verbatim
23472 #: ../resize/virt-resize.pod:9
23473 #, no-wrap
23474 msgid ""
23475 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
23476 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
23477 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
23478 "\n"
23479 msgstr ""
23480
23481 #. type: textblock
23482 #: ../resize/virt-resize.pod:15
23483 msgid ""
23484 "Virt-resize is a tool which can resize a virtual machine disk, making it "
23485 "larger or smaller overall, and resizing or deleting any partitions contained "
23486 "within."
23487 msgstr ""
23488
23489 #. type: textblock
23490 #: ../resize/virt-resize.pod:19
23491 msgid ""
23492 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
23493 "not> be used on live virtual machines - for consistent results, shut the "
23494 "virtual machine down before resizing it."
23495 msgstr ""
23496
23497 #. type: textblock
23498 #: ../resize/virt-resize.pod:23
23499 msgid ""
23500 "If you are not familiar with the associated tools: L<virt-filesystems(1)> "
23501 "and L<virt-df(1)>, we recommend you go and read those manual pages first."
23502 msgstr ""
23503
23504 #. type: =item
23505 #: ../resize/virt-resize.pod:31 ../resize/virt-resize.pod:597
23506 #: ../sparsify/virt-sparsify.pod:203 ../src/guestfs.pod:484
23507 #: ../src/guestfs.pod:1302 ../src/guestfs.pod:1441 ../src/guestfs.pod:2690
23508 msgid "1."
23509 msgstr "1."
23510
23511 #. type: textblock
23512 #: ../resize/virt-resize.pod:33
23513 msgid ""
23514 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
23515 "fill the extra 5GB of space."
23516 msgstr ""
23517
23518 #. type: verbatim
23519 #: ../resize/virt-resize.pod:36
23520 #, no-wrap
23521 msgid ""
23522 " virt-filesystems --long -h --all -a olddisk\n"
23523 " \n"
23524 msgstr ""
23525
23526 #. type: verbatim
23527 #: ../resize/virt-resize.pod:38
23528 #, no-wrap
23529 msgid ""
23530 " truncate -r olddisk newdisk\n"
23531 " truncate -s +5G newdisk\n"
23532 " \n"
23533 msgstr ""
23534
23535 #. type: verbatim
23536 #: ../resize/virt-resize.pod:41
23537 #, no-wrap
23538 msgid ""
23539 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
23540 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
23541 "\n"
23542 msgstr ""
23543
23544 #. type: =item
23545 #: ../resize/virt-resize.pod:44 ../resize/virt-resize.pod:604
23546 #: ../sparsify/virt-sparsify.pod:210 ../src/guestfs.pod:490
23547 #: ../src/guestfs.pod:1306 ../src/guestfs.pod:1445 ../src/guestfs.pod:2715
23548 msgid "2."
23549 msgstr "2."
23550
23551 #. type: textblock
23552 #: ../resize/virt-resize.pod:46
23553 msgid ""
23554 "As above, but make the /boot partition 200MB bigger, while giving the "
23555 "remaining space to /dev/sda2:"
23556 msgstr ""
23557
23558 #. type: verbatim
23559 #: ../resize/virt-resize.pod:49
23560 #, no-wrap
23561 msgid ""
23562 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
23563 "   olddisk newdisk\n"
23564 "\n"
23565 msgstr ""
23566
23567 #. type: =item
23568 #: ../resize/virt-resize.pod:52 ../resize/virt-resize.pod:610
23569 #: ../sparsify/virt-sparsify.pod:216 ../src/guestfs.pod:501
23570 #: ../src/guestfs.pod:1451
23571 msgid "3."
23572 msgstr "3."
23573
23574 #. type: textblock
23575 #: ../resize/virt-resize.pod:54
23576 msgid ""
23577 "As in the first example, but expand a logical volume as the final step.  "
23578 "This is what you would typically use for Linux guests that use LVM:"
23579 msgstr ""
23580
23581 #. type: verbatim
23582 #: ../resize/virt-resize.pod:58
23583 #, no-wrap
23584 msgid ""
23585 " virt-resize --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root \\\n"
23586 "   olddisk newdisk\n"
23587 "\n"
23588 msgstr ""
23589
23590 #. type: =item
23591 #: ../resize/virt-resize.pod:61
23592 msgid "4."
23593 msgstr ""
23594
23595 #. type: textblock
23596 #: ../resize/virt-resize.pod:63
23597 msgid ""
23598 "As in the first example, but the output format will be qcow2 instead of a "
23599 "raw disk:"
23600 msgstr ""
23601
23602 #. type: verbatim
23603 #: ../resize/virt-resize.pod:66
23604 #, no-wrap
23605 msgid ""
23606 " qemu-img create -f qcow2 newdisk.qcow2 15G\n"
23607 " virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
23608 "\n"
23609 msgstr ""
23610
23611 #. type: =head1
23612 #: ../resize/virt-resize.pod:71
23613 msgid "DETAILED USAGE"
23614 msgstr "ДОКЛАДНІШЕ ЩОДО ВИКОРИСТАННЯ"
23615
23616 #. type: =head2
23617 #: ../resize/virt-resize.pod:73
23618 msgid "EXPANDING A VIRTUAL MACHINE DISK"
23619 msgstr "РОЗШИРЕННЯ ДИСКА ВІРТУАЛЬНОЇ МАШИНИ"
23620
23621 #. type: =item
23622 #: ../resize/virt-resize.pod:77
23623 msgid "1. Shut down the virtual machine"
23624 msgstr ""
23625
23626 #. type: =item
23627 #: ../resize/virt-resize.pod:79
23628 msgid "2. Locate input disk image"
23629 msgstr ""
23630
23631 #. type: textblock
23632 #: ../resize/virt-resize.pod:81
23633 msgid ""
23634 "Locate the input disk image (ie. the file or device on the host containing "
23635 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
23636 "dumpxml> like this to find the disk image name:"
23637 msgstr ""
23638
23639 #. type: verbatim
23640 #: ../resize/virt-resize.pod:85
23641 #, no-wrap
23642 msgid ""
23643 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
23644 " Found 1 nodes:\n"
23645 " -- NODE --\n"
23646 " <source dev=\"/dev/vg/lv_guest\" />\n"
23647 "\n"
23648 msgstr ""
23649
23650 #. type: =item
23651 #: ../resize/virt-resize.pod:90
23652 msgid "3. Look at current sizing"
23653 msgstr ""
23654
23655 #. type: textblock
23656 #: ../resize/virt-resize.pod:92
23657 msgid "Use L<virt-filesystems(1)> to display the current partitions and sizes:"
23658 msgstr ""
23659
23660 #. type: verbatim
23661 #: ../resize/virt-resize.pod:95
23662 #, no-wrap
23663 msgid ""
23664 " # virt-filesystems --long --parts --blkdevs -h -a /dev/vg/lv_guest\n"
23665 " Name       Type       Size  Parent\n"
23666 " /dev/sda1  partition  101M  /dev/sda\n"
23667 " /dev/sda2  partition  7.9G  /dev/sda\n"
23668 " /dev/sda   device     8.0G  -\n"
23669 "\n"
23670 msgstr ""
23671
23672 #. type: textblock
23673 #: ../resize/virt-resize.pod:101
23674 msgid ""
23675 "(This example is a virtual machine with an 8 GB disk which we would like to "
23676 "expand up to 10 GB)."
23677 msgstr ""
23678
23679 #. type: =item
23680 #: ../resize/virt-resize.pod:104
23681 msgid "4. Create output disk"
23682 msgstr ""
23683
23684 #. type: textblock
23685 #: ../resize/virt-resize.pod:106
23686 msgid ""
23687 "Virt-resize cannot do in-place disk modifications.  You have to have space "
23688 "to store the resized output disk."
23689 msgstr ""
23690
23691 #. type: textblock
23692 #: ../resize/virt-resize.pod:109
23693 msgid ""
23694 "To store the resized disk image in a file, create a file of a suitable size:"
23695 msgstr ""
23696
23697 #. type: verbatim
23698 #: ../resize/virt-resize.pod:112
23699 #, no-wrap
23700 msgid ""
23701 " # rm -f outdisk\n"
23702 " # truncate -s 10G outdisk\n"
23703 "\n"
23704 msgstr ""
23705
23706 #. type: textblock
23707 #: ../resize/virt-resize.pod:115
23708 msgid "Or use L<lvcreate(1)> to create a logical volume:"
23709 msgstr ""
23710
23711 #. type: verbatim
23712 #: ../resize/virt-resize.pod:117
23713 #, no-wrap
23714 msgid ""
23715 " # lvcreate -L 10G -n lv_name vg_name\n"
23716 "\n"
23717 msgstr ""
23718
23719 #. type: textblock
23720 #: ../resize/virt-resize.pod:119
23721 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
23722 msgstr ""
23723
23724 #. type: verbatim
23725 #: ../resize/virt-resize.pod:121
23726 #, no-wrap
23727 msgid ""
23728 " # virsh pool-list\n"
23729 " # virsh vol-create-as poolname newvol 10G\n"
23730 "\n"
23731 msgstr ""
23732
23733 #. type: =item
23734 #: ../resize/virt-resize.pod:124
23735 msgid "5. Resize"
23736 msgstr "5. Зміна розміру"
23737
23738 #. type: textblock
23739 #: ../resize/virt-resize.pod:126
23740 msgid ""
23741 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
23742 "file) and the output disk.  The output disk is the one created in the "
23743 "previous step."
23744 msgstr ""
23745
23746 #. type: verbatim
23747 #: ../resize/virt-resize.pod:130
23748 #, no-wrap
23749 msgid ""
23750 " # virt-resize indisk outdisk\n"
23751 "\n"
23752 msgstr ""
23753
23754 #. type: textblock
23755 #: ../resize/virt-resize.pod:132
23756 msgid ""
23757 "This command just copies disk image C<indisk> to disk image C<outdisk> "
23758 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
23759 "larger, then an extra, empty partition is created at the end of the disk "
23760 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
23761 "error."
23762 msgstr ""
23763
23764 #. type: textblock
23765 #: ../resize/virt-resize.pod:138
23766 msgid ""
23767 "More realistically you'd want to expand existing partitions in the disk "
23768 "image by passing extra options (for the full list see the L</OPTIONS> "
23769 "section below)."
23770 msgstr ""
23771
23772 #. type: textblock
23773 #: ../resize/virt-resize.pod:142
23774 msgid ""
23775 "L</--expand> is the most useful option.  It expands the named partition "
23776 "within the disk to fill any extra space:"
23777 msgstr ""
23778
23779 #. type: verbatim
23780 #: ../resize/virt-resize.pod:145
23781 #, no-wrap
23782 msgid ""
23783 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
23784 "\n"
23785 msgstr ""
23786
23787 #. type: textblock
23788 #: ../resize/virt-resize.pod:147
23789 msgid ""
23790 "(In this case, an extra partition is I<not> created at the end of the disk, "
23791 "because there will be no unused space)."
23792 msgstr ""
23793
23794 #. type: textblock
23795 #: ../resize/virt-resize.pod:150
23796 msgid ""
23797 "L</--resize> is the other commonly used option.  The following would "
23798 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
23799 "rest of the available space:"
23800 msgstr ""
23801
23802 #. type: verbatim
23803 #: ../resize/virt-resize.pod:154
23804 #, no-wrap
23805 msgid ""
23806 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
23807 "     indisk outdisk\n"
23808 "\n"
23809 msgstr ""
23810
23811 #. type: textblock
23812 #: ../resize/virt-resize.pod:157
23813 msgid ""
23814 "If the expanded partition in the image contains a filesystem or LVM PV, then "
23815 "if virt-resize knows how, it will resize the contents, the equivalent of "
23816 "calling a command such as L<pvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)> "
23817 "or L<btrfs(8)>.  However virt-resize does not know how to resize some "
23818 "filesystems, so you would have to online resize them after booting the guest."
23819 msgstr ""
23820
23821 #. type: textblock
23822 #: ../resize/virt-resize.pod:164
23823 msgid "Other options are covered below."
23824 msgstr ""
23825
23826 #. type: =item
23827 #: ../resize/virt-resize.pod:166
23828 msgid "6. Test"
23829 msgstr "6. Перевірка"
23830
23831 #. type: textblock
23832 #: ../resize/virt-resize.pod:168
23833 msgid "Thoroughly test the new disk image I<before> discarding the old one."
23834 msgstr ""
23835
23836 #. type: textblock
23837 #: ../resize/virt-resize.pod:170
23838 msgid "If you are using libvirt, edit the XML to point at the new disk:"
23839 msgstr ""
23840
23841 #. type: verbatim
23842 #: ../resize/virt-resize.pod:172
23843 #, no-wrap
23844 msgid ""
23845 " # virsh edit guestname\n"
23846 "\n"
23847 msgstr ""
23848
23849 #. type: textblock
23850 #: ../resize/virt-resize.pod:174
23851 msgid ""
23852 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
23853 "html#elementsDisks>"
23854 msgstr ""
23855
23856 #. type: textblock
23857 #: ../resize/virt-resize.pod:177
23858 msgid "Then start up the domain with the new, resized disk:"
23859 msgstr ""
23860
23861 #. type: verbatim
23862 #: ../resize/virt-resize.pod:179
23863 #, no-wrap
23864 msgid ""
23865 " # virsh start guestname\n"
23866 "\n"
23867 msgstr ""
23868
23869 #. type: textblock
23870 #: ../resize/virt-resize.pod:181
23871 msgid ""
23872 "and check that it still works.  See also the L</NOTES> section below for "
23873 "additional information."
23874 msgstr ""
23875
23876 #. type: =item
23877 #: ../resize/virt-resize.pod:184
23878 msgid "7. Resize LVs etc inside the guest"
23879 msgstr ""
23880
23881 #. type: textblock
23882 #: ../resize/virt-resize.pod:186
23883 msgid "(This can also be done offline using L<guestfish(1)>)"
23884 msgstr ""
23885
23886 #. type: textblock
23887 #: ../resize/virt-resize.pod:188
23888 msgid ""
23889 "Once the guest has booted you should see the new space available, at least "
23890 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
23891 "may need to resize LVs inside PVs, and also resize filesystem types that "
23892 "virt-resize does not know how to expand."
23893 msgstr ""
23894
23895 #. type: =head2
23896 #: ../resize/virt-resize.pod:195
23897 msgid "SHRINKING A VIRTUAL MACHINE DISK"
23898 msgstr ""
23899
23900 #. type: textblock
23901 #: ../resize/virt-resize.pod:197
23902 msgid ""
23903 "Shrinking is somewhat more complex than expanding, and only an overview is "
23904 "given here."
23905 msgstr ""
23906
23907 #. type: textblock
23908 #: ../resize/virt-resize.pod:200
23909 msgid ""
23910 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
23911 "filesystems).  The user has to shrink content before passing the disk image "
23912 "to virt-resize, and virt-resize will check that the content has been shrunk "
23913 "properly."
23914 msgstr ""
23915
23916 #. type: textblock
23917 #: ../resize/virt-resize.pod:205
23918 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
23919 msgstr ""
23920
23921 #. type: textblock
23922 #: ../resize/virt-resize.pod:207
23923 msgid ""
23924 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
23925 "steps 3 and 4 above to allocate a new disk image."
23926 msgstr ""
23927
23928 #. type: textblock
23929 #: ../resize/virt-resize.pod:210
23930 msgid ""
23931 "Then run virt-resize with any of the I<--shrink> and/or I<--resize> options."
23932 msgstr ""
23933
23934 #. type: =head2
23935 #: ../resize/virt-resize.pod:213
23936 msgid "IGNORING OR DELETING PARTITIONS"
23937 msgstr ""
23938
23939 #. type: textblock
23940 #: ../resize/virt-resize.pod:215
23941 msgid ""
23942 "virt-resize also gives a convenient way to ignore or delete partitions when "
23943 "copying from the input disk to the output disk.  Ignoring a partition speeds "
23944 "up the copy where you don't care about the existing contents of a "
23945 "partition.  Deleting a partition removes it completely, but note that it "
23946 "also renumbers any partitions after the one which is deleted, which can "
23947 "leave some guests unbootable."
23948 msgstr ""
23949
23950 #. type: =head2
23951 #: ../resize/virt-resize.pod:222
23952 msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
23953 msgstr ""
23954
23955 #. type: textblock
23956 #: ../resize/virt-resize.pod:224
23957 msgid ""
23958 "If the input disk is in qcow2 format, then you may prefer that the output is "
23959 "in qcow2 format as well.  Alternately, virt-resize can convert the format on "
23960 "the fly.  The output format is simply determined by the format of the empty "
23961 "output container that you provide.  Thus to create qcow2 output, use:"
23962 msgstr ""
23963
23964 #. type: verbatim
23965 #: ../resize/virt-resize.pod:230
23966 #, no-wrap
23967 msgid ""
23968 " qemu-img create [-c] -f qcow2 outdisk [size]\n"
23969 "\n"
23970 msgstr ""
23971
23972 #. type: textblock
23973 #: ../resize/virt-resize.pod:232
23974 msgid "instead of the truncate command (use I<-c> for a compressed disk)."
23975 msgstr ""
23976
23977 #. type: textblock
23978 #: ../resize/virt-resize.pod:234
23979 msgid "Similarly, to get non-sparse raw output use:"
23980 msgstr ""
23981
23982 #. type: verbatim
23983 #: ../resize/virt-resize.pod:236
23984 #, no-wrap
23985 msgid ""
23986 " fallocate -l size outdisk\n"
23987 "\n"
23988 msgstr ""
23989
23990 #. type: textblock
23991 #: ../resize/virt-resize.pod:238
23992 msgid ""
23993 "(on older systems that don't have the L<fallocate(1)> command use C<dd if=/"
23994 "dev/zero of=outdisk bs=1M count=..>)"
23995 msgstr ""
23996
23997 #. type: =head2
23998 #: ../resize/virt-resize.pod:241
23999 msgid "LOGICAL PARTITIONS"
24000 msgstr ""
24001
24002 #. type: textblock
24003 #: ../resize/virt-resize.pod:243
24004 msgid ""
24005 "Logical partitions (a.k.a. C</dev/sda5+> on disks using DOS partition "
24006 "tables) cannot be resized."
24007 msgstr ""
24008
24009 #. type: textblock
24010 #: ../resize/virt-resize.pod:246
24011 msgid ""
24012 "To understand what is going on, firstly one of the four partitions C</dev/"
24013 "sda1-4> will have MBR partition type C<05> or C<0f>.  This is called the "
24014 "B<extended partition>.  Use L<virt-filesystems(1)> to see the MBR partition "
24015 "type."
24016 msgstr ""
24017
24018 #. type: textblock
24019 #: ../resize/virt-resize.pod:251
24020 msgid "Logical partitions live inside the extended partition."
24021 msgstr ""
24022
24023 #. type: textblock
24024 #: ../resize/virt-resize.pod:253
24025 msgid ""
24026 "The extended partition can be expanded, but not shrunk (unless you force it, "
24027 "which is not advisable).  When the extended partition is copied across, all "
24028 "the logical partitions contained inside are copied over implicitly.  Virt-"
24029 "resize does not look inside the extended partition, so it copies the logical "
24030 "partitions blindly."
24031 msgstr ""
24032
24033 #. type: textblock
24034 #: ../resize/virt-resize.pod:259
24035 msgid ""
24036 "You cannot specify a logical partition (C</dev/sda5+>) at all on the command "
24037 "line.  Doing so will give an error."
24038 msgstr ""
24039
24040 #. type: textblock
24041 #: ../resize/virt-resize.pod:268 ../sparsify/virt-sparsify.pod:105
24042 msgid "Display help."
24043 msgstr ""
24044
24045 #. type: =item
24046 #: ../resize/virt-resize.pod:270
24047 msgid "B<--align-first auto>"
24048 msgstr ""
24049
24050 #. type: =item
24051 #: ../resize/virt-resize.pod:272
24052 msgid "B<--align-first never>"
24053 msgstr ""
24054
24055 #. type: =item
24056 #: ../resize/virt-resize.pod:274
24057 msgid "B<--align-first always>"
24058 msgstr ""
24059
24060 #. type: textblock
24061 #: ../resize/virt-resize.pod:276
24062 msgid ""
24063 "Align the first partition for improved performance (see also the I<--"
24064 "alignment> option)."
24065 msgstr ""
24066
24067 #. type: textblock
24068 #: ../resize/virt-resize.pod:279
24069 msgid ""
24070 "The default is I<--align-first auto> which only aligns the first partition "
24071 "if it is safe to do so.  That is, only when we know how to fix the "
24072 "bootloader automatically, and at the moment that can only be done for "
24073 "Windows guests."
24074 msgstr ""
24075
24076 #. type: textblock
24077 #: ../resize/virt-resize.pod:284
24078 msgid ""
24079 "I<--align-first never> means we never move the first partition.  This is the "
24080 "safest option.  Try this if the guest does not boot after resizing."
24081 msgstr ""
24082
24083 #. type: textblock
24084 #: ../resize/virt-resize.pod:288
24085 msgid ""
24086 "I<--align-first always> means we always align the first partition (if it "
24087 "needs to be aligned).  For some guests this will break the bootloader, "
24088 "making the guest unbootable."
24089 msgstr ""
24090
24091 #. type: =item
24092 #: ../resize/virt-resize.pod:292
24093 msgid "B<--alignment N>"
24094 msgstr ""
24095
24096 #. type: textblock
24097 #: ../resize/virt-resize.pod:294
24098 msgid ""
24099 "Set the alignment of partitions to C<N> sectors.  The default in virt-resize "
24100 "E<lt> 1.13.19 was 64 sectors, and after that is 128 sectors."
24101 msgstr ""
24102
24103 #. type: textblock
24104 #: ../resize/virt-resize.pod:298
24105 msgid ""
24106 "Assuming 512 byte sector size inside the guest, here are some suitable "
24107 "values for this:"
24108 msgstr ""
24109
24110 #. type: =item
24111 #: ../resize/virt-resize.pod:303
24112 msgid "I<--alignment 1> (512 bytes)"
24113 msgstr ""
24114
24115 #. type: textblock
24116 #: ../resize/virt-resize.pod:305
24117 msgid ""
24118 "The partitions would be packed together as closely as possible, but would be "
24119 "completely unaligned.  In some cases this can cause very poor performance.  "
24120 "See L<virt-alignment-scan(1)> for further details."
24121 msgstr ""
24122
24123 #. type: =item
24124 #: ../resize/virt-resize.pod:309
24125 msgid "I<--alignment 8> (4K)"
24126 msgstr ""
24127
24128 #. type: textblock
24129 #: ../resize/virt-resize.pod:311
24130 msgid ""
24131 "This would be the minimum acceptable alignment for reasonable performance on "
24132 "modern hosts."
24133 msgstr ""
24134
24135 #. type: =item
24136 #: ../resize/virt-resize.pod:314
24137 msgid "I<--alignment 128> (64K)"
24138 msgstr ""
24139
24140 #. type: textblock
24141 #: ../resize/virt-resize.pod:316
24142 msgid ""
24143 "This alignment provides good performance when the host is using high end "
24144 "network storage."
24145 msgstr ""
24146
24147 #. type: =item
24148 #: ../resize/virt-resize.pod:319
24149 msgid "I<--alignment 2048> (1M)"
24150 msgstr ""
24151
24152 #. type: textblock
24153 #: ../resize/virt-resize.pod:321
24154 msgid ""
24155 "This is the standard alignment used by all newly installed guests since "
24156 "around 2008."
24157 msgstr ""
24158
24159 #. type: =item
24160 #: ../resize/virt-resize.pod:326
24161 msgid "B<-d>"
24162 msgstr "B<-d>"
24163
24164 #. type: =item
24165 #: ../resize/virt-resize.pod:328 ../tools/virt-make-fs.pl:177
24166 #: ../tools/virt-win-reg.pl:120
24167 msgid "B<--debug>"
24168 msgstr "B<--debug>"
24169
24170 #. type: textblock
24171 #: ../resize/virt-resize.pod:330 ../tools/virt-win-reg.pl:122
24172 msgid "Enable debugging messages."
24173 msgstr ""
24174
24175 #. type: =item
24176 #: ../resize/virt-resize.pod:332
24177 msgid "B<--delete part>"
24178 msgstr "B<--delete розділ>"
24179
24180 #. type: textblock
24181 #: ../resize/virt-resize.pod:334
24182 msgid ""
24183 "Delete the named partition.  It would be more accurate to describe this as "
24184 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
24185 "the original disk image is left intact."
24186 msgstr ""
24187
24188 #. type: textblock
24189 #: ../resize/virt-resize.pod:338
24190 msgid ""
24191 "Note that when you delete a partition, then anything contained in the "
24192 "partition is also deleted.  Furthermore, this causes any partitions that "
24193 "come after to be I<renumbered>, which can easily make your guest unbootable."
24194 msgstr ""
24195
24196 #. type: textblock
24197 #: ../resize/virt-resize.pod:343 ../resize/virt-resize.pod:404
24198 #: ../resize/virt-resize.pod:531 ../sparsify/virt-sparsify.pod:145
24199 msgid "You can give this option multiple times."
24200 msgstr ""
24201
24202 #. type: =item
24203 #: ../resize/virt-resize.pod:345
24204 msgid "B<--expand part>"
24205 msgstr "B<--expand розділ>"
24206
24207 #. type: textblock
24208 #: ../resize/virt-resize.pod:347
24209 msgid ""
24210 "Expand the named partition so it uses up all extra space (space left over "
24211 "after any other resize changes that you request have been done)."
24212 msgstr ""
24213
24214 #. type: textblock
24215 #: ../resize/virt-resize.pod:350
24216 msgid ""
24217 "If virt-resize knows how, it will expand the direct content of the "
24218 "partition.  For example, if the partition is an LVM PV, it will expand the "
24219 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
24220 "content it doesn't know about alone."
24221 msgstr ""
24222
24223 #. type: textblock
24224 #: ../resize/virt-resize.pod:355
24225 msgid "Currently virt-resize can resize:"
24226 msgstr ""
24227
24228 #. type: textblock
24229 #: ../resize/virt-resize.pod:361
24230 msgid "ext2, ext3 and ext4 filesystems."
24231 msgstr ""
24232
24233 #. type: textblock
24234 #: ../resize/virt-resize.pod:365
24235 msgid "NTFS filesystems, if libguestfs was compiled with support for NTFS."
24236 msgstr ""
24237
24238 #. type: textblock
24239 #: ../resize/virt-resize.pod:367
24240 msgid ""
24241 "The filesystem must have been shut down consistently last time it was used.  "
24242 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
24243 "consistency check, so at the first boot after resizing Windows will check "
24244 "the disk."
24245 msgstr ""
24246
24247 #. type: textblock
24248 #: ../resize/virt-resize.pod:374
24249 msgid ""
24250 "LVM PVs (physical volumes).  virt-resize does not usually resize anything "
24251 "inside the PV, but see the I<--LV-expand> option.  The user could also "
24252 "resize LVs as desired after boot."
24253 msgstr ""
24254
24255 #. type: textblock
24256 #: ../resize/virt-resize.pod:380
24257 msgid "Btrfs filesystems, if libguestfs was compiled with support for btrfs."
24258 msgstr ""
24259
24260 #. type: textblock
24261 #: ../resize/virt-resize.pod:384 ../resize/virt-resize.pod:559
24262 msgid "Note that you cannot use I<--expand> and I<--shrink> together."
24263 msgstr ""
24264
24265 #. type: =item
24266 #: ../resize/virt-resize.pod:386 ../sparsify/virt-sparsify.pod:125
24267 #: ../tools/virt-list-filesystems.pl:91 ../tools/virt-list-partitions.pl:92
24268 #: ../tools/virt-tar.pl:141 ../tools/virt-win-reg.pl:142
24269 msgid "B<--format> raw"
24270 msgstr "B<--format> raw"
24271
24272 #. type: textblock
24273 #: ../resize/virt-resize.pod:388 ../sparsify/virt-sparsify.pod:129
24274 msgid ""
24275 "Specify the format of the input disk image.  If this flag is not given then "
24276 "it is auto-detected from the image itself."
24277 msgstr ""
24278
24279 #. type: textblock
24280 #: ../resize/virt-resize.pod:394
24281 msgid ""
24282 "Note that this option I<does not> affect the output format.  See L</QCOW2 "
24283 "AND NON-SPARSE RAW FORMATS>."
24284 msgstr ""
24285
24286 #. type: =item
24287 #: ../resize/virt-resize.pod:397
24288 msgid "B<--ignore part>"
24289 msgstr "B<--ignore розділ>"
24290
24291 #. type: textblock
24292 #: ../resize/virt-resize.pod:399
24293 msgid ""
24294 "Ignore the named partition.  Effectively this means the partition is "
24295 "allocated on the destination disk, but the content is not copied across from "
24296 "the source disk.  The content of the partition will be blank (all zero "
24297 "bytes)."
24298 msgstr ""
24299
24300 #. type: =item
24301 #: ../resize/virt-resize.pod:406
24302 msgid "B<--LV-expand logvol>"
24303 msgstr "B<--LV-expand логічний_том>"
24304
24305 #. type: textblock
24306 #: ../resize/virt-resize.pod:408
24307 msgid ""
24308 "This takes the logical volume and, as a final step, expands it to fill all "
24309 "the space available in its volume group.  A typical usage, assuming a Linux "
24310 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
24311 "lv_root> would be:"
24312 msgstr ""
24313
24314 #. type: verbatim
24315 #: ../resize/virt-resize.pod:413
24316 #, no-wrap
24317 msgid ""
24318 " virt-resize indisk outdisk \\\n"
24319 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
24320 "\n"
24321 msgstr ""
24322
24323 #. type: textblock
24324 #: ../resize/virt-resize.pod:416
24325 msgid ""
24326 "This would first expand the partition (and PV), and then expand the root "
24327 "device to fill the extra space in the PV."
24328 msgstr ""
24329
24330 #. type: textblock
24331 #: ../resize/virt-resize.pod:419
24332 msgid ""
24333 "The contents of the LV are also resized if virt-resize knows how to do "
24334 "that.  You can stop virt-resize from trying to expand the content by using "
24335 "the option I<--no-expand-content>."
24336 msgstr ""
24337
24338 #. type: textblock
24339 #: ../resize/virt-resize.pod:423
24340 msgid "Use L<virt-filesystems(1)> to list the filesystems in the guest."
24341 msgstr ""
24342
24343 #. type: textblock
24344 #: ../resize/virt-resize.pod:425
24345 msgid ""
24346 "You can give this option multiple times, I<but> it doesn't make sense to do "
24347 "this unless the logical volumes you specify are all in different volume "
24348 "groups."
24349 msgstr ""
24350
24351 #. type: =item
24352 #: ../resize/virt-resize.pod:429 ../sparsify/virt-sparsify.pod:147
24353 msgid "B<--machine-readable>"
24354 msgstr ""
24355
24356 #. type: textblock
24357 #: ../resize/virt-resize.pod:431 ../sparsify/virt-sparsify.pod:149
24358 msgid ""
24359 "This option is used to make the output more machine friendly when being "
24360 "parsed by other programs.  See L</MACHINE READABLE OUTPUT> below."
24361 msgstr ""
24362
24363 #. type: =item
24364 #: ../resize/virt-resize.pod:437
24365 msgid "B<--dryrun>"
24366 msgstr "B<--dryrun>"
24367
24368 #. type: textblock
24369 #: ../resize/virt-resize.pod:439
24370 msgid "Print a summary of what would be done, but don't do anything."
24371 msgstr ""
24372
24373 #. type: =item
24374 #: ../resize/virt-resize.pod:441
24375 msgid "B<--no-copy-boot-loader>"
24376 msgstr "B<--no-copy-boot-loader>"
24377
24378 #. type: textblock
24379 #: ../resize/virt-resize.pod:443
24380 msgid ""
24381 "By default, virt-resize copies over some sectors at the start of the disk "
24382 "(up to the beginning of the first partition).  Commonly these sectors "
24383 "contain the Master Boot Record (MBR) and the boot loader, and are required "
24384 "in order for the guest to boot correctly."
24385 msgstr ""
24386
24387 #. type: textblock
24388 #: ../resize/virt-resize.pod:448
24389 msgid ""
24390 "If you specify this flag, then this initial copy is not done.  You may need "
24391 "to reinstall the boot loader in this case."
24392 msgstr ""
24393
24394 #. type: =item
24395 #: ../resize/virt-resize.pod:451
24396 msgid "B<--no-extra-partition>"
24397 msgstr "B<--no-extra-partition>"
24398
24399 #. type: textblock
24400 #: ../resize/virt-resize.pod:453
24401 msgid ""
24402 "By default, virt-resize creates an extra partition if there is any extra, "
24403 "unused space after all resizing has happened.  Use this option to prevent "
24404 "the extra partition from being created.  If you do this then the extra space "
24405 "will be inaccessible until you run fdisk, parted, or some other partitioning "
24406 "tool in the guest."
24407 msgstr ""
24408
24409 #. type: textblock
24410 #: ../resize/virt-resize.pod:459
24411 msgid ""
24412 "Note that if the surplus space is smaller than 10 MB, no extra partition "
24413 "will be created."
24414 msgstr ""
24415
24416 #. type: =item
24417 #: ../resize/virt-resize.pod:462
24418 msgid "B<--no-expand-content>"
24419 msgstr "B<--no-expand-content>"
24420
24421 #. type: textblock
24422 #: ../resize/virt-resize.pod:464
24423 msgid ""
24424 "By default, virt-resize will try to expand the direct contents of "
24425 "partitions, if it knows how (see I<--expand> option above)."
24426 msgstr ""
24427
24428 #. type: textblock
24429 #: ../resize/virt-resize.pod:467
24430 msgid ""
24431 "If you give the I<--no-expand-content> option then virt-resize will not "
24432 "attempt this."
24433 msgstr ""
24434
24435 #. type: =item
24436 #: ../resize/virt-resize.pod:470
24437 msgid "B<--ntfsresize-force>"
24438 msgstr "B<--ntfsresize-force>"
24439
24440 #. type: textblock
24441 #: ../resize/virt-resize.pod:472
24442 msgid ""
24443 "Pass the I<--force> option to L<ntfsresize(8)>, allowing resizing even if "
24444 "the NTFS disk is marked as needing a consistency check.  You have to use "
24445 "this option if you want to resize a Windows guest multiple times without "
24446 "booting into Windows between each resize."
24447 msgstr ""
24448
24449 #. type: =item
24450 #: ../resize/virt-resize.pod:478
24451 msgid "B<--output-format> raw"
24452 msgstr "B<--output-format> raw"
24453
24454 #. type: textblock
24455 #: ../resize/virt-resize.pod:480
24456 msgid ""
24457 "Specify the format of the output disk image.  If this flag is not given then "
24458 "it is auto-detected from the image itself."
24459 msgstr ""
24460
24461 #. type: textblock
24462 #: ../resize/virt-resize.pod:486
24463 msgid ""
24464 "Note that this option I<does not create> the output format.  This option "
24465 "just tells libguestfs what it is so it doesn't try to guess it.  You still "
24466 "need to create the output disk with the right format.  See L</QCOW2 AND NON-"
24467 "SPARSE RAW FORMATS>."
24468 msgstr ""
24469
24470 #. type: textblock
24471 #: ../resize/virt-resize.pod:495
24472 msgid "Don't print the summary."
24473 msgstr ""
24474
24475 #. type: =item
24476 #: ../resize/virt-resize.pod:497
24477 msgid "B<--resize part=size>"
24478 msgstr "B<--resize розділ=розмір>"
24479
24480 #. type: textblock
24481 #: ../resize/virt-resize.pod:499
24482 msgid ""
24483 "Resize the named partition (expanding or shrinking it) so that it has the "
24484 "given size."
24485 msgstr ""
24486
24487 #. type: textblock
24488 #: ../resize/virt-resize.pod:502
24489 msgid ""
24490 "C<size> can be expressed as an absolute number followed by b/K/M/G to mean "
24491 "bytes, Kilobytes, Megabytes, or Gigabytes; or as a percentage of the current "
24492 "size; or as a relative number or percentage.  For example:"
24493 msgstr ""
24494
24495 #. type: verbatim
24496 #: ../resize/virt-resize.pod:508
24497 #, no-wrap
24498 msgid ""
24499 " --resize /dev/sda2=10G\n"
24500 "\n"
24501 msgstr ""
24502
24503 #. type: verbatim
24504 #: ../resize/virt-resize.pod:510
24505 #, no-wrap
24506 msgid ""
24507 " --resize /dev/sda4=90%\n"
24508 "\n"
24509 msgstr ""
24510
24511 #. type: verbatim
24512 #: ../resize/virt-resize.pod:512
24513 #, no-wrap
24514 msgid ""
24515 " --resize /dev/sda2=+1G\n"
24516 "\n"
24517 msgstr ""
24518
24519 #. type: verbatim
24520 #: ../resize/virt-resize.pod:514
24521 #, no-wrap
24522 msgid ""
24523 " --resize /dev/sda2=-200M\n"
24524 "\n"
24525 msgstr ""
24526
24527 #. type: verbatim
24528 #: ../resize/virt-resize.pod:516
24529 #, no-wrap
24530 msgid ""
24531 " --resize /dev/sda1=+128K\n"
24532 "\n"
24533 msgstr ""
24534
24535 #. type: verbatim
24536 #: ../resize/virt-resize.pod:518
24537 #, no-wrap
24538 msgid ""
24539 " --resize /dev/sda1=+10%\n"
24540 "\n"
24541 msgstr ""
24542
24543 #. type: verbatim
24544 #: ../resize/virt-resize.pod:520
24545 #, no-wrap
24546 msgid ""
24547 " --resize /dev/sda1=-10%\n"
24548 "\n"
24549 msgstr ""
24550
24551 #. type: textblock
24552 #: ../resize/virt-resize.pod:522
24553 msgid ""
24554 "You can increase the size of any partition.  Virt-resize will expand the "
24555 "direct content of the partition if it knows how (see I<--expand> below)."
24556 msgstr ""
24557
24558 #. type: textblock
24559 #: ../resize/virt-resize.pod:526
24560 msgid ""
24561 "You can only I<decrease> the size of partitions that contain filesystems or "
24562 "PVs which have already been shrunk.  Virt-resize will check this has been "
24563 "done before proceeding, or else will print an error (see also I<--resize-"
24564 "force>)."
24565 msgstr ""
24566
24567 #. type: =item
24568 #: ../resize/virt-resize.pod:533
24569 msgid "B<--resize-force part=size>"
24570 msgstr "B<--resize-force розділ=розмір>"
24571
24572 #. type: textblock
24573 #: ../resize/virt-resize.pod:535
24574 msgid ""
24575 "This is the same as I<--resize> except that it will let you decrease the "
24576 "size of any partition.  Generally this means you will lose any data which "
24577 "was at the end of the partition you shrink, but you may not care about that "
24578 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
24579 "as a swap partition)."
24580 msgstr ""
24581
24582 #. type: textblock
24583 #: ../resize/virt-resize.pod:541
24584 msgid "See also the I<--ignore> option."
24585 msgstr ""
24586
24587 #. type: =item
24588 #: ../resize/virt-resize.pod:543
24589 msgid "B<--shrink part>"
24590 msgstr "B<--shrink розділ>"
24591
24592 #. type: textblock
24593 #: ../resize/virt-resize.pod:545
24594 msgid ""
24595 "Shrink the named partition until the overall disk image fits in the "
24596 "destination.  The named partition B<must> contain a filesystem or PV which "
24597 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
24598 "online tools).  Virt-resize will check this and give an error if it has not "
24599 "been done."
24600 msgstr ""
24601
24602 #. type: textblock
24603 #: ../resize/virt-resize.pod:551
24604 msgid ""
24605 "The amount by which the overall disk must be shrunk (after carrying out all "
24606 "other operations requested by the user) is called the \"deficit\".  For "
24607 "example, a straight copy (assume no other operations)  from a 5GB disk image "
24608 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
24609 "would give an error unless the user specified a partition to shrink and that "
24610 "partition had more than a gigabyte of free space."
24611 msgstr ""
24612
24613 #. type: =head1
24614 #: ../resize/virt-resize.pod:569 ../sparsify/virt-sparsify.pod:177
24615 msgid "MACHINE READABLE OUTPUT"
24616 msgstr ""
24617
24618 #. type: textblock
24619 #: ../resize/virt-resize.pod:571
24620 msgid ""
24621 "The I<--machine-readable> option can be used to make the output more machine "
24622 "friendly, which is useful when calling virt-resize from other programs, GUIs "
24623 "etc."
24624 msgstr ""
24625
24626 #. type: textblock
24627 #: ../resize/virt-resize.pod:575 ../sparsify/virt-sparsify.pod:183
24628 msgid "There are two ways to use this option."
24629 msgstr ""
24630
24631 #. type: textblock
24632 #: ../resize/virt-resize.pod:577
24633 msgid ""
24634 "Firstly use the option on its own to query the capabilities of the virt-"
24635 "resize binary.  Typical output looks like this:"
24636 msgstr ""
24637
24638 #. type: verbatim
24639 #: ../resize/virt-resize.pod:580
24640 #, no-wrap
24641 msgid ""
24642 " $ virt-resize --machine-readable\n"
24643 " virt-resize\n"
24644 " ntfsresize-force\n"
24645 " 32bitok\n"
24646 " ntfs\n"
24647 " btrfs\n"
24648 "\n"
24649 msgstr ""
24650
24651 #. type: textblock
24652 #: ../resize/virt-resize.pod:587 ../sparsify/virt-sparsify.pod:193
24653 msgid ""
24654 "A list of features is printed, one per line, and the program exits with "
24655 "status 0."
24656 msgstr ""
24657
24658 #. type: textblock
24659 #: ../resize/virt-resize.pod:590 ../sparsify/virt-sparsify.pod:196
24660 msgid ""
24661 "Secondly use the option in conjunction with other options to make the "
24662 "regular program output more machine friendly."
24663 msgstr ""
24664
24665 #. type: textblock
24666 #: ../resize/virt-resize.pod:593 ../sparsify/virt-sparsify.pod:199
24667 msgid "At the moment this means:"
24668 msgstr ""
24669
24670 #. type: textblock
24671 #: ../resize/virt-resize.pod:599 ../sparsify/virt-sparsify.pod:205
24672 msgid ""
24673 "Progress bar messages can be parsed from stdout by looking for this regular "
24674 "expression:"
24675 msgstr ""
24676
24677 #. type: verbatim
24678 #: ../resize/virt-resize.pod:602 ../sparsify/virt-sparsify.pod:208
24679 #, no-wrap
24680 msgid ""
24681 " ^[0-9]+/[0-9]+$\n"
24682 "\n"
24683 msgstr ""
24684
24685 #. type: textblock
24686 #: ../resize/virt-resize.pod:606 ../sparsify/virt-sparsify.pod:212
24687 msgid ""
24688 "The calling program should treat messages sent to stdout (except for "
24689 "progress bar messages) as status messages.  They can be logged and/or "
24690 "displayed to the user."
24691 msgstr ""
24692
24693 #. type: textblock
24694 #: ../resize/virt-resize.pod:612
24695 msgid ""
24696 "The calling program should treat messages sent to stderr as error messages.  "
24697 "In addition, virt-resize exits with a non-zero status code if there was a "
24698 "fatal error."
24699 msgstr ""
24700
24701 #. type: textblock
24702 #: ../resize/virt-resize.pod:618
24703 msgid ""
24704 "Versions of the program prior to 1.13.9 did not support the I<--machine-"
24705 "readable> option and will return an error."
24706 msgstr ""
24707
24708 #. type: =head2
24709 #: ../resize/virt-resize.pod:623
24710 msgid "\"Partition 1 does not end on cylinder boundary.\""
24711 msgstr ""
24712
24713 #. type: textblock
24714 #: ../resize/virt-resize.pod:625
24715 msgid ""
24716 "Virt-resize aligns partitions to multiples of 128 sectors (see the I<--"
24717 "alignment> parameter).  Usually this means the partitions will not be "
24718 "aligned to the ancient CHS geometry.  However CHS geometry is meaningless "
24719 "for disks manufactured since the early 1990s, and doubly so for virtual hard "
24720 "drives.  Alignment of partitions to cylinders is not required by any modern "
24721 "operating system."
24722 msgstr ""
24723
24724 #. type: =head2
24725 #: ../resize/virt-resize.pod:632
24726 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
24727 msgstr ""
24728
24729 #. type: textblock
24730 #: ../resize/virt-resize.pod:634
24731 msgid ""
24732 "In Windows Vista and later versions, Microsoft switched to using a separate "
24733 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
24734 "and C</dev/sda2> is the main (C:) drive.  Resizing the first (boot) "
24735 "partition causes the bootloader to fail with C<0xC0000225> error.  Resizing "
24736 "the second partition (ie. C: drive)  should work."
24737 msgstr ""
24738
24739 #. type: textblock
24740 #: ../resize/virt-resize.pod:641
24741 msgid ""
24742 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
24743 "NTFS partitions have been expanded.  This is just a safety check and (unless "
24744 "it find errors) is nothing to worry about."
24745 msgstr ""
24746
24747 #. type: =head2
24748 #: ../resize/virt-resize.pod:645
24749 msgid "GUEST BOOT STUCK AT \"GRUB\""
24750 msgstr ""
24751
24752 #. type: textblock
24753 #: ../resize/virt-resize.pod:647
24754 msgid ""
24755 "If a Linux guest does not boot after resizing, and the boot is stuck after "
24756 "printing C<GRUB> on the console, try reinstalling grub."
24757 msgstr ""
24758
24759 #. type: verbatim
24760 #: ../resize/virt-resize.pod:650
24761 #, no-wrap
24762 msgid ""
24763 " guestfish -i -a newdisk\n"
24764 " ><fs> cat /boot/grub/device.map\n"
24765 " # check the contents of this file are sensible or\n"
24766 " # edit the file if necessary\n"
24767 " ><fs> grub-install / /dev/vda\n"
24768 " ><fs> exit\n"
24769 "\n"
24770 msgstr ""
24771
24772 #. type: textblock
24773 #: ../resize/virt-resize.pod:657
24774 msgid ""
24775 "For more flexible guest reconfiguration, including if you need to specify "
24776 "other parameters to grub-install, use L<virt-rescue(1)>."
24777 msgstr ""
24778
24779 #. type: =head1
24780 #: ../resize/virt-resize.pod:660
24781 msgid "ALTERNATIVE TOOLS"
24782 msgstr ""
24783
24784 #. type: textblock
24785 #: ../resize/virt-resize.pod:662
24786 msgid ""
24787 "There are several proprietary tools for resizing partitions.  We won't "
24788 "mention any here."
24789 msgstr ""
24790
24791 #. type: textblock
24792 #: ../resize/virt-resize.pod:665
24793 msgid ""
24794 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
24795 "operations on disk images.  They can resize and move partitions, but I don't "
24796 "think they can do anything with the contents, and they certainly don't "
24797 "understand LVM."
24798 msgstr ""
24799
24800 #. type: textblock
24801 #: ../resize/virt-resize.pod:670
24802 msgid ""
24803 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
24804 "but at a much lower level.  You will probably end up hand-calculating sector "
24805 "offsets, which is something that virt-resize was designed to avoid.  If you "
24806 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
24807 "I<--debug> flag."
24808 msgstr ""
24809
24810 #. type: textblock
24811 #: ../resize/virt-resize.pod:690
24812 msgid ""
24813 "L<virt-filesystems(1)>, L<virt-df(1)>, L<guestfs(3)>, L<guestfish(1)>, L<lvm"
24814 "(8)>, L<pvresize(8)>, L<lvresize(8)>, L<resize2fs(8)>, L<ntfsresize(8)>, "
24815 "L<btrfs(8)>, L<virsh(1)>, L<parted(8)>, L<truncate(1)>, L<fallocate(1)>, "
24816 "L<grub(8)>, L<grub-install(8)>, L<virt-rescue(1)>, L<virt-sparsify(1)>, "
24817 "L<virt-alignment-scan(1)>, L<http://libguestfs.org/>."
24818 msgstr ""
24819
24820 #. type: textblock
24821 #: ../ruby/examples/guestfs-ruby.pod:5
24822 msgid "guestfs-ruby - How to use libguestfs from Ruby"
24823 msgstr ""
24824
24825 #. type: verbatim
24826 #: ../ruby/examples/guestfs-ruby.pod:9
24827 #, no-wrap
24828 msgid ""
24829 " require 'guestfs'\n"
24830 " g = Guestfs::Guestfs.new()\n"
24831 " g.add_drive_opts(\"disk.img\",\n"
24832 "                  :readonly => 1, :format => \"raw\")\n"
24833 " g.launch()\n"
24834 "\n"
24835 msgstr ""
24836
24837 #. type: textblock
24838 #: ../ruby/examples/guestfs-ruby.pod:17
24839 msgid ""
24840 "This manual page documents how to call libguestfs from the Ruby programming "
24841 "language.  This page just documents the differences from the C API and gives "
24842 "some examples.  If you are not familiar with using libguestfs, you also need "
24843 "to read L<guestfs(3)>."
24844 msgstr ""
24845
24846 #. type: textblock
24847 #: ../ruby/examples/guestfs-ruby.pod:24
24848 msgid ""
24849 "Errors from libguestfs functions are mapped into the C<Error> exception.  "
24850 "This has a single parameter which is the error message (a string)."
24851 msgstr ""
24852
24853 #. type: textblock
24854 #: ../ruby/examples/guestfs-ruby.pod:38
24855 msgid ""
24856 "L<guestfs(3)>, L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java"
24857 "(3)>, L<guestfs-ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, "
24858 "L<guestfs-recipes(1)>, L<http://libguestfs.org/>."
24859 msgstr ""
24860
24861 #. type: textblock
24862 #: ../sparsify/virt-sparsify.pod:5
24863 msgid "virt-sparsify - Make a virtual machine disk sparse"
24864 msgstr ""
24865
24866 #. type: verbatim
24867 #: ../sparsify/virt-sparsify.pod:9
24868 #, no-wrap
24869 msgid ""
24870 " virt-sparsify [--options] indisk outdisk\n"
24871 "\n"
24872 msgstr ""
24873
24874 #. type: textblock
24875 #: ../sparsify/virt-sparsify.pod:13
24876 msgid ""
24877 "Virt-sparsify is a tool which can make a virtual machine disk (or any disk "
24878 "image) sparse a.k.a. thin-provisioned.  This means that free space within "
24879 "the disk image can be converted back to free space on the host."
24880 msgstr ""
24881
24882 #. type: textblock
24883 #: ../sparsify/virt-sparsify.pod:18
24884 msgid ""
24885 "Virt-sparsify can locate and sparsify free space in most filesystems (eg. "
24886 "ext2/3/4, btrfs, NTFS, etc.), and also in LVM physical volumes."
24887 msgstr ""
24888
24889 #. type: textblock
24890 #: ../sparsify/virt-sparsify.pod:21
24891 msgid ""
24892 "Virt-sparsify can also convert between some disk formats, for example "
24893 "converting a raw disk image to a thin-provisioned qcow2 image."
24894 msgstr ""
24895
24896 #. type: textblock
24897 #: ../sparsify/virt-sparsify.pod:24
24898 msgid ""
24899 "Virt-sparsify can operate on any disk image, not just ones from virtual "
24900 "machines.  If a virtual machine has more than one attached disk, you must "
24901 "sparsify each one separately."
24902 msgstr ""
24903
24904 #. type: =head2
24905 #: ../sparsify/virt-sparsify.pod:28
24906 msgid "IMPORTANT LIMITATIONS"
24907 msgstr ""
24908
24909 #. type: textblock
24910 #: ../sparsify/virt-sparsify.pod:34
24911 msgid ""
24912 "Virt-sparsify does not do in-place modifications.  It copies from a source "
24913 "image to a destination image, leaving the source unchanged.  I<Check that "
24914 "the sparsification was successful before deleting the source image>."
24915 msgstr ""
24916
24917 #. type: textblock
24918 #: ../sparsify/virt-sparsify.pod:41
24919 msgid "The virtual machine I<must be shut down> before using this tool."
24920 msgstr ""
24921
24922 #. type: textblock
24923 #: ../sparsify/virt-sparsify.pod:45
24924 msgid ""
24925 "Virt-sparsify may require up to 2x the virtual size of the source disk image "
24926 "(1 temporary copy + 1 destination image).  This is in the worst case and "
24927 "usually much less space is required."
24928 msgstr ""
24929
24930 #. type: textblock
24931 #: ../sparsify/virt-sparsify.pod:51
24932 msgid ""
24933 "Virt-sparsify cannot resize disk images.  To do that, use L<virt-resize(1)>."
24934 msgstr ""
24935
24936 #. type: textblock
24937 #: ../sparsify/virt-sparsify.pod:56
24938 msgid "Virt-sparsify cannot handle encrypted disks."
24939 msgstr ""
24940
24941 #. type: textblock
24942 #: ../sparsify/virt-sparsify.pod:60
24943 msgid ""
24944 "Virt-sparsify cannot yet sparsify the space between partitions.  Note that "
24945 "this space is often used for critical items like bootloaders so it's not "
24946 "really unused."
24947 msgstr ""
24948
24949 #. type: textblock
24950 #: ../sparsify/virt-sparsify.pod:66
24951 msgid ""
24952 "Virt-sparsify does not yet know how to sparsify swapspace.  It is not safe "
24953 "to do this unless we can be sure there is no hibernation data, so at the "
24954 "moment swap partitions are ignored."
24955 msgstr ""
24956
24957 #. type: textblock
24958 #: ../sparsify/virt-sparsify.pod:72
24959 msgid ""
24960 "You may also want to read the manual pages for the associated tools L<virt-"
24961 "filesystems(1)> and L<virt-df(1)> before starting."
24962 msgstr ""
24963
24964 #. type: textblock
24965 #: ../sparsify/virt-sparsify.pod:77
24966 msgid "Typical usage is:"
24967 msgstr ""
24968
24969 #. type: verbatim
24970 #: ../sparsify/virt-sparsify.pod:79
24971 #, no-wrap
24972 msgid ""
24973 " virt-sparsify indisk outdisk\n"
24974 "\n"
24975 msgstr ""
24976
24977 #. type: textblock
24978 #: ../sparsify/virt-sparsify.pod:81
24979 msgid ""
24980 "which copies C<indisk> to C<outdisk>, making the output sparse.  C<outdisk> "
24981 "is created, or overwritten if it already exists.  The format of the input "
24982 "disk is detected (eg. qcow2) and the same format is used for the output disk."
24983 msgstr ""
24984
24985 #. type: textblock
24986 #: ../sparsify/virt-sparsify.pod:86
24987 msgid "To convert between formats, use the I<--convert> option:"
24988 msgstr ""
24989
24990 #. type: verbatim
24991 #: ../sparsify/virt-sparsify.pod:88
24992 #, no-wrap
24993 msgid ""
24994 " virt-sparsify disk.raw --convert qcow2 disk.qcow2\n"
24995 "\n"
24996 msgstr ""
24997
24998 #. type: textblock
24999 #: ../sparsify/virt-sparsify.pod:90
25000 msgid ""
25001 "Virt-sparsify tries to zero and sparsify free space on every filesystem it "
25002 "can find within the source disk image.  You can get it to ignore (don't zero "
25003 "free space on) certain filesystems by doing:"
25004 msgstr ""
25005
25006 #. type: verbatim
25007 #: ../sparsify/virt-sparsify.pod:94
25008 #, no-wrap
25009 msgid ""
25010 " virt-sparsify --ignore /dev/sda1 indisk outdisk\n"
25011 "\n"
25012 msgstr ""
25013
25014 #. type: textblock
25015 #: ../sparsify/virt-sparsify.pod:96
25016 msgid ""
25017 "See L<virt-filesystems(1)> to get a list of filesystems within a disk image."
25018 msgstr ""
25019
25020 #. type: =item
25021 #: ../sparsify/virt-sparsify.pod:107
25022 msgid "B<--convert> raw"
25023 msgstr ""
25024
25025 #. type: =item
25026 #: ../sparsify/virt-sparsify.pod:109
25027 msgid "B<--convert> qcow2"
25028 msgstr ""
25029
25030 #. type: =item
25031 #: ../sparsify/virt-sparsify.pod:111
25032 msgid "B<--convert> [other formats]"
25033 msgstr ""
25034
25035 #. type: textblock
25036 #: ../sparsify/virt-sparsify.pod:113
25037 msgid ""
25038 "Use C<output-format> as the format for the destination image.  If this is "
25039 "not specified, then the input format is used."
25040 msgstr ""
25041
25042 #. type: textblock
25043 #: ../sparsify/virt-sparsify.pod:116
25044 msgid "Supported and known-working output formats are: C<raw>, C<qcow2>."
25045 msgstr ""
25046
25047 #. type: textblock
25048 #: ../sparsify/virt-sparsify.pod:118
25049 msgid ""
25050 "You can also use any format supported by the L<qemu-img(1)> program, eg. "
25051 "C<vdi> or C<vmdk>, but support for other formats is reliant on qemu."
25052 msgstr ""
25053
25054 #. type: textblock
25055 #: ../sparsify/virt-sparsify.pod:122
25056 msgid ""
25057 "Specifying the I<--convert> option is usually a good idea, because then virt-"
25058 "sparsify doesn't need to try to guess the input format."
25059 msgstr ""
25060
25061 #. type: =item
25062 #: ../sparsify/virt-sparsify.pod:127
25063 msgid "B<--format> qcow2"
25064 msgstr ""
25065
25066 #. type: =item
25067 #: ../sparsify/virt-sparsify.pod:135
25068 msgid "B<--ignore> filesystem"
25069 msgstr ""
25070
25071 #. type: =item
25072 #: ../sparsify/virt-sparsify.pod:137
25073 msgid "B<--ignore> volgroup"
25074 msgstr ""
25075
25076 #. type: textblock
25077 #: ../sparsify/virt-sparsify.pod:139
25078 msgid ""
25079 "Ignore the named filesystem.  Free space on the filesystem will not be "
25080 "zeroed, but existing blocks of zeroes will still be sparsified."
25081 msgstr ""
25082
25083 #. type: textblock
25084 #: ../sparsify/virt-sparsify.pod:142
25085 msgid ""
25086 "In the second form, this ignores the named volume group.  Use the volume "
25087 "group name without the C</dev/> prefix, eg. I<--ignore vg_foo>"
25088 msgstr ""
25089
25090 #. type: textblock
25091 #: ../sparsify/virt-sparsify.pod:157
25092 msgid "This disables progress bars and other unnecessary output."
25093 msgstr ""
25094
25095 #. type: textblock
25096 #: ../sparsify/virt-sparsify.pod:179
25097 msgid ""
25098 "The I<--machine-readable> option can be used to make the output more machine "
25099 "friendly, which is useful when calling virt-sparsify from other programs, "
25100 "GUIs etc."
25101 msgstr ""
25102
25103 #. type: textblock
25104 #: ../sparsify/virt-sparsify.pod:185
25105 msgid ""
25106 "Firstly use the option on its own to query the capabilities of the virt-"
25107 "sparsify binary.  Typical output looks like this:"
25108 msgstr ""
25109
25110 #. type: verbatim
25111 #: ../sparsify/virt-sparsify.pod:188
25112 #, no-wrap
25113 msgid ""
25114 " $ virt-sparsify --machine-readable\n"
25115 " virt-sparsify\n"
25116 " ntfs\n"
25117 " btrfs\n"
25118 "\n"
25119 msgstr ""
25120
25121 #. type: textblock
25122 #: ../sparsify/virt-sparsify.pod:218
25123 msgid ""
25124 "The calling program should treat messages sent to stderr as error messages.  "
25125 "In addition, virt-sparsify exits with a non-zero status code if there was a "
25126 "fatal error."
25127 msgstr ""
25128
25129 #. type: textblock
25130 #: ../sparsify/virt-sparsify.pod:224
25131 msgid ""
25132 "All versions of virt-sparsify have supported the I<--machine-readable> "
25133 "option."
25134 msgstr ""
25135
25136 #. type: textblock
25137 #: ../sparsify/virt-sparsify.pod:238
25138 msgid ""
25139 "Location of the temporary directory used for the potentially large temporary "
25140 "overlay file."
25141 msgstr ""
25142
25143 #. type: textblock
25144 #: ../sparsify/virt-sparsify.pod:241
25145 msgid ""
25146 "You should ensure there is enough free space in the worst case for a full "
25147 "copy of the source disk (I<virtual> size), or else set C<$TMPDIR> to point "
25148 "to another directory that has enough space."
25149 msgstr ""
25150
25151 #. type: textblock
25152 #: ../sparsify/virt-sparsify.pod:245
25153 msgid "This defaults to C</tmp>."
25154 msgstr ""
25155
25156 #. type: textblock
25157 #: ../sparsify/virt-sparsify.pod:249
25158 msgid ""
25159 "For other environment variables, see L<guestfs(3)/ENVIRONMENT VARIABLES>."
25160 msgstr ""
25161
25162 #. type: textblock
25163 #: ../sparsify/virt-sparsify.pod:253
25164 msgid ""
25165 "L<virt-filesystems(1)>, L<virt-df(1)>, L<virt-resize(1)>, L<virt-rescue(1)>, "
25166 "L<guestfs(3)>, L<guestfish(1)>, L<truncate(1)>, L<fallocate(1)>, L<qemu-img"
25167 "(1)>, L<http://libguestfs.org/>."
25168 msgstr ""
25169
25170 #. type: =head2
25171 #: ../src/guestfs-actions.pod:1
25172 msgid "guestfs_add_cdrom"
25173 msgstr ""
25174
25175 #. type: verbatim
25176 #: ../src/guestfs-actions.pod:3
25177 #, no-wrap
25178 msgid ""
25179 " int\n"
25180 " guestfs_add_cdrom (guestfs_h *g,\n"
25181 "                    const char *filename);\n"
25182 "\n"
25183 msgstr ""
25184
25185 #. type: textblock
25186 #: ../src/guestfs-actions.pod:7 ../src/guestfs-actions.pod:302
25187 #: ../src/guestfs-actions.pod:323
25188 msgid ""
25189 "I<This function is deprecated.> In new code, use the L</"
25190 "guestfs_add_drive_opts> call instead."
25191 msgstr ""
25192
25193 #. type: textblock
25194 #: ../src/guestfs-actions.pod:24
25195 msgid ""
25196 "This call checks for the existence of C<filename>.  This stops you from "
25197 "specifying other types of drive which are supported by qemu such as C<nbd:> "
25198 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
25199 "instead."
25200 msgstr ""
25201
25202 #. type: textblock
25203 #: ../src/guestfs-actions.pod:31
25204 msgid ""
25205 "If you just want to add an ISO file (often you use this as an efficient way "
25206 "to transfer large files into the guest), then you should probably use "
25207 "C<guestfs_add_drive_ro> instead."
25208 msgstr ""
25209
25210 #. type: textblock
25211 #: ../src/guestfs-actions.pod:37 ../src/guestfs-actions.pod:187
25212 #: ../src/guestfs-actions.pod:254 ../src/guestfs-actions.pod:291
25213 #: ../src/guestfs-actions.pod:312 ../src/guestfs-actions.pod:333
25214 #: ../src/guestfs-actions.pod:346 ../src/guestfs-actions.pod:360
25215 #: ../src/guestfs-actions.pod:480 ../src/guestfs-actions.pod:500
25216 #: ../src/guestfs-actions.pod:514 ../src/guestfs-actions.pod:559
25217 #: ../src/guestfs-actions.pod:587 ../src/guestfs-actions.pod:605
25218 #: ../src/guestfs-actions.pod:672 ../src/guestfs-actions.pod:705
25219 #: ../src/guestfs-actions.pod:719 ../src/guestfs-actions.pod:734
25220 #: ../src/guestfs-actions.pod:833 ../src/guestfs-actions.pod:851
25221 #: ../src/guestfs-actions.pod:865 ../src/guestfs-actions.pod:879
25222 #: ../src/guestfs-actions.pod:916 ../src/guestfs-actions.pod:1099
25223 #: ../src/guestfs-actions.pod:1119 ../src/guestfs-actions.pod:1137
25224 #: ../src/guestfs-actions.pod:1227 ../src/guestfs-actions.pod:1286
25225 #: ../src/guestfs-actions.pod:1332 ../src/guestfs-actions.pod:1372
25226 #: ../src/guestfs-actions.pod:1425 ../src/guestfs-actions.pod:1478
25227 #: ../src/guestfs-actions.pod:1536 ../src/guestfs-actions.pod:1590
25228 #: ../src/guestfs-actions.pod:1609 ../src/guestfs-actions.pod:1623
25229 #: ../src/guestfs-actions.pod:1651 ../src/guestfs-actions.pod:1721
25230 #: ../src/guestfs-actions.pod:1752 ../src/guestfs-actions.pod:1777
25231 #: ../src/guestfs-actions.pod:1819 ../src/guestfs-actions.pod:1932
25232 #: ../src/guestfs-actions.pod:1959 ../src/guestfs-actions.pod:2174
25233 #: ../src/guestfs-actions.pod:2196 ../src/guestfs-actions.pod:2283
25234 #: ../src/guestfs-actions.pod:2791 ../src/guestfs-actions.pod:2935
25235 #: ../src/guestfs-actions.pod:2996 ../src/guestfs-actions.pod:3031
25236 #: ../src/guestfs-actions.pod:4088 ../src/guestfs-actions.pod:4103
25237 #: ../src/guestfs-actions.pod:4128 ../src/guestfs-actions.pod:4317
25238 #: ../src/guestfs-actions.pod:4331 ../src/guestfs-actions.pod:4344
25239 #: ../src/guestfs-actions.pod:4358 ../src/guestfs-actions.pod:4373
25240 #: ../src/guestfs-actions.pod:4409 ../src/guestfs-actions.pod:4481
25241 #: ../src/guestfs-actions.pod:4501 ../src/guestfs-actions.pod:4518
25242 #: ../src/guestfs-actions.pod:4538 ../src/guestfs-actions.pod:4558
25243 #: ../src/guestfs-actions.pod:4593 ../src/guestfs-actions.pod:4612
25244 #: ../src/guestfs-actions.pod:4631 ../src/guestfs-actions.pod:4666
25245 #: ../src/guestfs-actions.pod:4678 ../src/guestfs-actions.pod:4711
25246 #: ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:4740
25247 #: ../src/guestfs-actions.pod:4755 ../src/guestfs-actions.pod:4772
25248 #: ../src/guestfs-actions.pod:4865 ../src/guestfs-actions.pod:4885
25249 #: ../src/guestfs-actions.pod:4898 ../src/guestfs-actions.pod:4949
25250 #: ../src/guestfs-actions.pod:4967 ../src/guestfs-actions.pod:4985
25251 #: ../src/guestfs-actions.pod:5001 ../src/guestfs-actions.pod:5015
25252 #: ../src/guestfs-actions.pod:5029 ../src/guestfs-actions.pod:5046
25253 #: ../src/guestfs-actions.pod:5061 ../src/guestfs-actions.pod:5088
25254 #: ../src/guestfs-actions.pod:5151 ../src/guestfs-actions.pod:5224
25255 #: ../src/guestfs-actions.pod:5255 ../src/guestfs-actions.pod:5274
25256 #: ../src/guestfs-actions.pod:5293 ../src/guestfs-actions.pod:5305
25257 #: ../src/guestfs-actions.pod:5322 ../src/guestfs-actions.pod:5335
25258 #: ../src/guestfs-actions.pod:5350 ../src/guestfs-actions.pod:5365
25259 #: ../src/guestfs-actions.pod:5397 ../src/guestfs-actions.pod:5423
25260 #: ../src/guestfs-actions.pod:5462 ../src/guestfs-actions.pod:5482
25261 #: ../src/guestfs-actions.pod:5496 ../src/guestfs-actions.pod:5513
25262 #: ../src/guestfs-actions.pod:5562 ../src/guestfs-actions.pod:5615
25263 #: ../src/guestfs-actions.pod:5662 ../src/guestfs-actions.pod:5705
25264 #: ../src/guestfs-actions.pod:5733 ../src/guestfs-actions.pod:5750
25265 #: ../src/guestfs-actions.pod:5768 ../src/guestfs-actions.pod:5905
25266 #: ../src/guestfs-actions.pod:5962 ../src/guestfs-actions.pod:5984
25267 #: ../src/guestfs-actions.pod:6002 ../src/guestfs-actions.pod:6054
25268 #: ../src/guestfs-actions.pod:6120 ../src/guestfs-actions.pod:6137
25269 #: ../src/guestfs-actions.pod:6150 ../src/guestfs-actions.pod:6164
25270 #: ../src/guestfs-actions.pod:6453 ../src/guestfs-actions.pod:6472
25271 #: ../src/guestfs-actions.pod:6491 ../src/guestfs-actions.pod:6505
25272 #: ../src/guestfs-actions.pod:6517 ../src/guestfs-actions.pod:6531
25273 #: ../src/guestfs-actions.pod:6543 ../src/guestfs-actions.pod:6557
25274 #: ../src/guestfs-actions.pod:6573 ../src/guestfs-actions.pod:6591
25275 #: ../src/guestfs-actions.pod:6610 ../src/guestfs-actions.pod:6629
25276 #: ../src/guestfs-actions.pod:6659 ../src/guestfs-actions.pod:6677
25277 #: ../src/guestfs-actions.pod:6700 ../src/guestfs-actions.pod:6718
25278 #: ../src/guestfs-actions.pod:6737 ../src/guestfs-actions.pod:6758
25279 #: ../src/guestfs-actions.pod:6777 ../src/guestfs-actions.pod:6794
25280 #: ../src/guestfs-actions.pod:6813 ../src/guestfs-actions.pod:6841
25281 #: ../src/guestfs-actions.pod:6865 ../src/guestfs-actions.pod:6884
25282 #: ../src/guestfs-actions.pod:6900 ../src/guestfs-actions.pod:6924
25283 #: ../src/guestfs-actions.pod:6943 ../src/guestfs-actions.pod:6958
25284 #: ../src/guestfs-actions.pod:6977 ../src/guestfs-actions.pod:7021
25285 #: ../src/guestfs-actions.pod:7048 ../src/guestfs-actions.pod:7078
25286 #: ../src/guestfs-actions.pod:7190 ../src/guestfs-actions.pod:7311
25287 #: ../src/guestfs-actions.pod:7323 ../src/guestfs-actions.pod:7336
25288 #: ../src/guestfs-actions.pod:7349 ../src/guestfs-actions.pod:7371
25289 #: ../src/guestfs-actions.pod:7384 ../src/guestfs-actions.pod:7397
25290 #: ../src/guestfs-actions.pod:7410 ../src/guestfs-actions.pod:7425
25291 #: ../src/guestfs-actions.pod:7484 ../src/guestfs-actions.pod:7501
25292 #: ../src/guestfs-actions.pod:7517 ../src/guestfs-actions.pod:7533
25293 #: ../src/guestfs-actions.pod:7550 ../src/guestfs-actions.pod:7563
25294 #: ../src/guestfs-actions.pod:7583 ../src/guestfs-actions.pod:7619
25295 #: ../src/guestfs-actions.pod:7633 ../src/guestfs-actions.pod:7674
25296 #: ../src/guestfs-actions.pod:7687 ../src/guestfs-actions.pod:7705
25297 #: ../src/guestfs-actions.pod:7739 ../src/guestfs-actions.pod:7775
25298 #: ../src/guestfs-actions.pod:7891 ../src/guestfs-actions.pod:7906
25299 #: ../src/guestfs-actions.pod:7920 ../src/guestfs-actions.pod:7975
25300 #: ../src/guestfs-actions.pod:7988 ../src/guestfs-actions.pod:8033
25301 #: ../src/guestfs-actions.pod:8073 ../src/guestfs-actions.pod:8129
25302 #: ../src/guestfs-actions.pod:8149 ../src/guestfs-actions.pod:8182
25303 #: ../src/guestfs-actions.pod:8246 ../src/guestfs-actions.pod:8269
25304 #: ../src/guestfs-actions.pod:8295
25305 msgid "This function returns 0 on success or -1 on error."
25306 msgstr ""
25307
25308 #. type: textblock
25309 #: ../src/guestfs-actions.pod:39 ../src/guestfs-actions.pod:189
25310 #: ../src/guestfs-actions.pod:1334 ../src/guestfs-actions.pod:2397
25311 #: ../src/guestfs-actions.pod:2495 ../src/guestfs-actions.pod:2620
25312 #: ../src/guestfs-actions.pod:4090 ../src/guestfs-actions.pod:4110
25313 #: ../src/guestfs-actions.pod:5399 ../src/guestfs-actions.pod:6679
25314 #: ../src/guestfs-actions.pod:6796 ../src/guestfs-actions.pod:6945
25315 #: ../src/guestfs-actions.pod:7427 ../src/guestfs-actions.pod:7552
25316 #: ../src/guestfs-actions.pod:8075
25317 msgid "(Added in 0.3)"
25318 msgstr "(Додано у 0.3)"
25319
25320 #. type: =head2
25321 #: ../src/guestfs-actions.pod:41
25322 msgid "guestfs_add_domain"
25323 msgstr ""
25324
25325 #. type: verbatim
25326 #: ../src/guestfs-actions.pod:43
25327 #, no-wrap
25328 msgid ""
25329 " int\n"
25330 " guestfs_add_domain (guestfs_h *g,\n"
25331 "                     const char *dom,\n"
25332 "                     ...);\n"
25333 "\n"
25334 msgstr ""
25335
25336 #. type: textblock
25337 #: ../src/guestfs-actions.pod:48 ../src/guestfs-actions.pod:198
25338 #: ../src/guestfs-actions.pod:890 ../src/guestfs-actions.pod:1214
25339 #: ../src/guestfs-actions.pod:1266 ../src/guestfs-actions.pod:1344
25340 #: ../src/guestfs-actions.pod:1413 ../src/guestfs-actions.pod:1466
25341 #: ../src/guestfs-actions.pod:1519 ../src/guestfs-actions.pod:3288
25342 #: ../src/guestfs-actions.pod:5100 ../src/guestfs-actions.pod:5409
25343 #: ../src/guestfs-actions.pod:5626
25344 msgid ""
25345 "You may supply a list of optional arguments to this call.  Use zero or more "
25346 "of the following pairs of parameters, and terminate the list with C<-1> on "
25347 "its own.  See L</CALLS WITH OPTIONAL ARGUMENTS>."
25348 msgstr ""
25349
25350 #. type: verbatim
25351 #: ../src/guestfs-actions.pod:53
25352 #, no-wrap
25353 msgid ""
25354 " GUESTFS_ADD_DOMAIN_LIBVIRTURI, const char *libvirturi,\n"
25355 " GUESTFS_ADD_DOMAIN_READONLY, int readonly,\n"
25356 " GUESTFS_ADD_DOMAIN_IFACE, const char *iface,\n"
25357 " GUESTFS_ADD_DOMAIN_LIVE, int live,\n"
25358 " GUESTFS_ADD_DOMAIN_ALLOWUUID, int allowuuid,\n"
25359 " GUESTFS_ADD_DOMAIN_READONLYDISK, const char *readonlydisk,\n"
25360 "\n"
25361 msgstr ""
25362
25363 #. type: textblock
25364 #: ../src/guestfs-actions.pod:60
25365 msgid ""
25366 "This function adds the disk(s) attached to the named libvirt domain C<dom>.  "
25367 "It works by connecting to libvirt, requesting the domain and domain XML from "
25368 "libvirt, parsing it for disks, and calling C<guestfs_add_drive_opts> on each "
25369 "one."
25370 msgstr ""
25371
25372 #. type: textblock
25373 #: ../src/guestfs-actions.pod:141
25374 msgid ""
25375 "The other optional parameters are passed directly through to "
25376 "C<guestfs_add_drive_opts>."
25377 msgstr ""
25378
25379 #. type: textblock
25380 #: ../src/guestfs-actions.pod:144 ../src/guestfs-actions.pod:403
25381 #: ../src/guestfs-actions.pod:573 ../src/guestfs-actions.pod:751
25382 #: ../src/guestfs-actions.pod:782 ../src/guestfs-actions.pod:800
25383 #: ../src/guestfs-actions.pod:819 ../src/guestfs-actions.pod:1797
25384 #: ../src/guestfs-actions.pod:2153 ../src/guestfs-actions.pod:2356
25385 #: ../src/guestfs-actions.pod:2467 ../src/guestfs-actions.pod:2518
25386 #: ../src/guestfs-actions.pod:2570 ../src/guestfs-actions.pod:2584
25387 #: ../src/guestfs-actions.pod:2607 ../src/guestfs-actions.pod:2922
25388 #: ../src/guestfs-actions.pod:3406 ../src/guestfs-actions.pod:3424
25389 #: ../src/guestfs-actions.pod:5585 ../src/guestfs-actions.pod:5802
25390 #: ../src/guestfs-actions.pod:6040 ../src/guestfs-actions.pod:6234
25391 #: ../src/guestfs-actions.pod:6260 ../src/guestfs-actions.pod:7660
25392 #: ../src/guestfs-actions.pod:8086 ../src/guestfs-actions.pod:8099
25393 #: ../src/guestfs-actions.pod:8112
25394 msgid "On error this function returns -1."
25395 msgstr ""
25396
25397 #. type: textblock
25398 #: ../src/guestfs-actions.pod:146
25399 msgid "(Added in 1.7.4)"
25400 msgstr "(Додано у 1.7.4)"
25401
25402 #. type: =head2
25403 #: ../src/guestfs-actions.pod:148
25404 msgid "guestfs_add_domain_va"
25405 msgstr ""
25406
25407 #. type: verbatim
25408 #: ../src/guestfs-actions.pod:150
25409 #, no-wrap
25410 msgid ""
25411 " int\n"
25412 " guestfs_add_domain_va (guestfs_h *g,\n"
25413 "                        const char *dom,\n"
25414 "                        va_list args);\n"
25415 "\n"
25416 msgstr ""
25417
25418 #. type: textblock
25419 #: ../src/guestfs-actions.pod:155
25420 msgid "This is the \"va_list variant\" of L</guestfs_add_domain>."
25421 msgstr ""
25422
25423 #. type: textblock
25424 #: ../src/guestfs-actions.pod:157 ../src/guestfs-actions.pod:168
25425 #: ../src/guestfs-actions.pod:267 ../src/guestfs-actions.pod:278
25426 #: ../src/guestfs-actions.pod:929 ../src/guestfs-actions.pod:940
25427 #: ../src/guestfs-actions.pod:1242 ../src/guestfs-actions.pod:1255
25428 #: ../src/guestfs-actions.pod:1301 ../src/guestfs-actions.pod:1314
25429 #: ../src/guestfs-actions.pod:1391 ../src/guestfs-actions.pod:1403
25430 #: ../src/guestfs-actions.pod:1444 ../src/guestfs-actions.pod:1456
25431 #: ../src/guestfs-actions.pod:1497 ../src/guestfs-actions.pod:1509
25432 #: ../src/guestfs-actions.pod:1555 ../src/guestfs-actions.pod:1567
25433 #: ../src/guestfs-actions.pod:3372 ../src/guestfs-actions.pod:3384
25434 #: ../src/guestfs-actions.pod:5165 ../src/guestfs-actions.pod:5177
25435 #: ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5449
25436 #: ../src/guestfs-actions.pod:5675 ../src/guestfs-actions.pod:5686
25437 msgid "See L</CALLS WITH OPTIONAL ARGUMENTS>."
25438 msgstr "Див. L</CALLS WITH OPTIONAL ARGUMENTS>."
25439
25440 #. type: =head2
25441 #: ../src/guestfs-actions.pod:159
25442 msgid "guestfs_add_domain_argv"
25443 msgstr "guestfs_add_domain_argv"
25444
25445 #. type: verbatim
25446 #: ../src/guestfs-actions.pod:161
25447 #, no-wrap
25448 msgid ""
25449 " int\n"
25450 " guestfs_add_domain_argv (guestfs_h *g,\n"
25451 "                          const char *dom,\n"
25452 "                          const struct guestfs_add_domain_argv *optargs);\n"
25453 "\n"
25454 msgstr ""
25455
25456 #. type: textblock
25457 #: ../src/guestfs-actions.pod:166
25458 msgid "This is the \"argv variant\" of L</guestfs_add_domain>."
25459 msgstr ""
25460
25461 #. type: =head2
25462 #: ../src/guestfs-actions.pod:170
25463 msgid "guestfs_add_drive"
25464 msgstr ""
25465
25466 #. type: verbatim
25467 #: ../src/guestfs-actions.pod:172
25468 #, no-wrap
25469 msgid ""
25470 " int\n"
25471 " guestfs_add_drive (guestfs_h *g,\n"
25472 "                    const char *filename);\n"
25473 "\n"
25474 msgstr ""
25475
25476 #. type: textblock
25477 #: ../src/guestfs-actions.pod:176
25478 msgid ""
25479 "This function is the equivalent of calling C<guestfs_add_drive_opts> with no "
25480 "optional parameters, so the disk is added writable, with the format being "
25481 "detected automatically."
25482 msgstr ""
25483
25484 #. type: textblock
25485 #: ../src/guestfs-actions.pod:180
25486 msgid ""
25487 "Automatic detection of the format opens you up to a potential security hole "
25488 "when dealing with untrusted raw-format images.  See CVE-2010-3851 and "
25489 "RHBZ#642934.  Specifying the format closes this security hole.  Therefore "
25490 "you should think about replacing calls to this function with calls to "
25491 "C<guestfs_add_drive_opts>, and specifying the format."
25492 msgstr ""
25493
25494 #. type: =head2
25495 #: ../src/guestfs-actions.pod:191
25496 msgid "guestfs_add_drive_opts"
25497 msgstr ""
25498
25499 #. type: verbatim
25500 #: ../src/guestfs-actions.pod:193
25501 #, no-wrap
25502 msgid ""
25503 " int\n"
25504 " guestfs_add_drive_opts (guestfs_h *g,\n"
25505 "                         const char *filename,\n"
25506 "                         ...);\n"
25507 "\n"
25508 msgstr ""
25509
25510 #. type: verbatim
25511 #: ../src/guestfs-actions.pod:203
25512 #, no-wrap
25513 msgid ""
25514 " GUESTFS_ADD_DRIVE_OPTS_READONLY, int readonly,\n"
25515 " GUESTFS_ADD_DRIVE_OPTS_FORMAT, const char *format,\n"
25516 " GUESTFS_ADD_DRIVE_OPTS_IFACE, const char *iface,\n"
25517 " GUESTFS_ADD_DRIVE_OPTS_NAME, const char *name,\n"
25518 "\n"
25519 msgstr ""
25520
25521 #. type: textblock
25522 #: ../src/guestfs-actions.pod:233
25523 msgid ""
25524 "This forces the image format.  If you omit this (or use C<guestfs_add_drive> "
25525 "or C<guestfs_add_drive_ro>) then the format is automatically detected.  "
25526 "Possible formats include C<raw> and C<qcow2>."
25527 msgstr ""
25528
25529 #. type: textblock
25530 #: ../src/guestfs-actions.pod:244
25531 msgid ""
25532 "This rarely-used option lets you emulate the behaviour of the deprecated "
25533 "C<guestfs_add_drive_with_if> call (q.v.)"
25534 msgstr ""
25535
25536 #. type: textblock
25537 #: ../src/guestfs-actions.pod:256
25538 msgid "(Added in 1.5.23)"
25539 msgstr "(Додано у 1.5.23)"
25540
25541 #. type: =head2
25542 #: ../src/guestfs-actions.pod:258
25543 msgid "guestfs_add_drive_opts_va"
25544 msgstr ""
25545
25546 #. type: verbatim
25547 #: ../src/guestfs-actions.pod:260
25548 #, no-wrap
25549 msgid ""
25550 " int\n"
25551 " guestfs_add_drive_opts_va (guestfs_h *g,\n"
25552 "                            const char *filename,\n"
25553 "                            va_list args);\n"
25554 "\n"
25555 msgstr ""
25556
25557 #. type: textblock
25558 #: ../src/guestfs-actions.pod:265
25559 msgid "This is the \"va_list variant\" of L</guestfs_add_drive_opts>."
25560 msgstr ""
25561
25562 #. type: =head2
25563 #: ../src/guestfs-actions.pod:269
25564 msgid "guestfs_add_drive_opts_argv"
25565 msgstr ""
25566
25567 #. type: verbatim
25568 #: ../src/guestfs-actions.pod:271
25569 #, no-wrap
25570 msgid ""
25571 " int\n"
25572 " guestfs_add_drive_opts_argv (guestfs_h *g,\n"
25573 "                              const char *filename,\n"
25574 "                              const struct guestfs_add_drive_opts_argv *optargs);\n"
25575 "\n"
25576 msgstr ""
25577
25578 #. type: textblock
25579 #: ../src/guestfs-actions.pod:276
25580 msgid "This is the \"argv variant\" of L</guestfs_add_drive_opts>."
25581 msgstr ""
25582
25583 #. type: =head2
25584 #: ../src/guestfs-actions.pod:280
25585 msgid "guestfs_add_drive_ro"
25586 msgstr ""
25587
25588 #. type: verbatim
25589 #: ../src/guestfs-actions.pod:282
25590 #, no-wrap
25591 msgid ""
25592 " int\n"
25593 " guestfs_add_drive_ro (guestfs_h *g,\n"
25594 "                       const char *filename);\n"
25595 "\n"
25596 msgstr ""
25597
25598 #. type: textblock
25599 #: ../src/guestfs-actions.pod:286
25600 msgid ""
25601 "This function is the equivalent of calling C<guestfs_add_drive_opts> with "
25602 "the optional parameter C<GUESTFS_ADD_DRIVE_OPTS_READONLY> set to 1, so the "
25603 "disk is added read-only, with the format being detected automatically."
25604 msgstr ""
25605
25606 #. type: textblock
25607 #: ../src/guestfs-actions.pod:293
25608 msgid "(Added in 1.0.38)"
25609 msgstr "(Додано у 1.0.38)"
25610
25611 #. type: =head2
25612 #: ../src/guestfs-actions.pod:295
25613 msgid "guestfs_add_drive_ro_with_if"
25614 msgstr ""
25615
25616 #. type: verbatim
25617 #: ../src/guestfs-actions.pod:297
25618 #, no-wrap
25619 msgid ""
25620 " int\n"
25621 " guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
25622 "                               const char *filename,\n"
25623 "                               const char *iface);\n"
25624 "\n"
25625 msgstr ""
25626
25627 #. type: textblock
25628 #: ../src/guestfs-actions.pod:309
25629 msgid ""
25630 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
25631 "QEMU interface emulation to use at run time."
25632 msgstr ""
25633
25634 #. type: textblock
25635 #: ../src/guestfs-actions.pod:314 ../src/guestfs-actions.pod:335
25636 #: ../src/guestfs-actions.pod:2881
25637 msgid "(Added in 1.0.84)"
25638 msgstr "(Додано у 1.0.84)"
25639
25640 #. type: =head2
25641 #: ../src/guestfs-actions.pod:316
25642 msgid "guestfs_add_drive_with_if"
25643 msgstr ""
25644
25645 #. type: verbatim
25646 #: ../src/guestfs-actions.pod:318
25647 #, no-wrap
25648 msgid ""
25649 " int\n"
25650 " guestfs_add_drive_with_if (guestfs_h *g,\n"
25651 "                            const char *filename,\n"
25652 "                            const char *iface);\n"
25653 "\n"
25654 msgstr ""
25655
25656 #. type: textblock
25657 #: ../src/guestfs-actions.pod:330
25658 msgid ""
25659 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
25660 "QEMU interface emulation to use at run time."
25661 msgstr ""
25662
25663 #. type: =head2
25664 #: ../src/guestfs-actions.pod:337
25665 msgid "guestfs_aug_clear"
25666 msgstr ""
25667
25668 #. type: verbatim
25669 #: ../src/guestfs-actions.pod:339
25670 #, no-wrap
25671 msgid ""
25672 " int\n"
25673 " guestfs_aug_clear (guestfs_h *g,\n"
25674 "                    const char *augpath);\n"
25675 "\n"
25676 msgstr ""
25677
25678 #. type: textblock
25679 #: ../src/guestfs-actions.pod:348 ../src/guestfs-actions.pod:2609
25680 msgid "(Added in 1.3.4)"
25681 msgstr "(Додано у 1.3.4)"
25682
25683 #. type: =head2
25684 #: ../src/guestfs-actions.pod:350
25685 msgid "guestfs_aug_close"
25686 msgstr ""
25687
25688 #. type: verbatim
25689 #: ../src/guestfs-actions.pod:352
25690 #, no-wrap
25691 msgid ""
25692 " int\n"
25693 " guestfs_aug_close (guestfs_h *g);\n"
25694 "\n"
25695 msgstr ""
25696
25697 #. type: textblock
25698 #: ../src/guestfs-actions.pod:355
25699 msgid ""
25700 "Close the current Augeas handle and free up any resources used by it.  After "
25701 "calling this, you have to call C<guestfs_aug_init> again before you can use "
25702 "any other Augeas functions."
25703 msgstr ""
25704
25705 #. type: textblock
25706 #: ../src/guestfs-actions.pod:362 ../src/guestfs-actions.pod:387
25707 #: ../src/guestfs-actions.pod:405 ../src/guestfs-actions.pod:419
25708 #: ../src/guestfs-actions.pod:482 ../src/guestfs-actions.pod:502
25709 #: ../src/guestfs-actions.pod:516 ../src/guestfs-actions.pod:547
25710 #: ../src/guestfs-actions.pod:561 ../src/guestfs-actions.pod:575
25711 #: ../src/guestfs-actions.pod:589 ../src/guestfs-actions.pod:607
25712 #: ../src/guestfs-actions.pod:6311
25713 msgid "(Added in 0.7)"
25714 msgstr "(Додано у 0.7)"
25715
25716 #. type: =head2
25717 #: ../src/guestfs-actions.pod:364
25718 msgid "guestfs_aug_defnode"
25719 msgstr ""
25720
25721 #. type: verbatim
25722 #: ../src/guestfs-actions.pod:366
25723 #, no-wrap
25724 msgid ""
25725 " struct guestfs_int_bool *\n"
25726 " guestfs_aug_defnode (guestfs_h *g,\n"
25727 "                      const char *name,\n"
25728 "                      const char *expr,\n"
25729 "                      const char *val);\n"
25730 "\n"
25731 msgstr ""
25732
25733 #. type: textblock
25734 #: ../src/guestfs-actions.pod:375
25735 msgid ""
25736 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
25737 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
25738 "containing that single node."
25739 msgstr ""
25740
25741 #. type: textblock
25742 #: ../src/guestfs-actions.pod:383
25743 msgid ""
25744 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
25745 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
25746 msgstr ""
25747
25748 #. type: =head2
25749 #: ../src/guestfs-actions.pod:389
25750 msgid "guestfs_aug_defvar"
25751 msgstr ""
25752
25753 #. type: verbatim
25754 #: ../src/guestfs-actions.pod:391
25755 #, no-wrap
25756 msgid ""
25757 " int\n"
25758 " guestfs_aug_defvar (guestfs_h *g,\n"
25759 "                     const char *name,\n"
25760 "                     const char *expr);\n"
25761 "\n"
25762 msgstr ""
25763
25764 #. type: =head2
25765 #: ../src/guestfs-actions.pod:407
25766 msgid "guestfs_aug_get"
25767 msgstr "guestfs_aug_get"
25768
25769 #. type: verbatim
25770 #: ../src/guestfs-actions.pod:409
25771 #, no-wrap
25772 msgid ""
25773 " char *\n"
25774 " guestfs_aug_get (guestfs_h *g,\n"
25775 "                  const char *augpath);\n"
25776 "\n"
25777 msgstr ""
25778 " char *\n"
25779 " guestfs_aug_get (guestfs_h *g,\n"
25780 "                  const char *augpath);\n"
25781 "\n"
25782
25783 #. type: textblock
25784 #: ../src/guestfs-actions.pod:416 ../src/guestfs-actions.pod:980
25785 #: ../src/guestfs-actions.pod:998 ../src/guestfs-actions.pod:1058
25786 #: ../src/guestfs-actions.pod:1074 ../src/guestfs-actions.pod:1177
25787 #: ../src/guestfs-actions.pod:1666 ../src/guestfs-actions.pod:1683
25788 #: ../src/guestfs-actions.pod:1702 ../src/guestfs-actions.pod:1836
25789 #: ../src/guestfs-actions.pod:2024 ../src/guestfs-actions.pod:2136
25790 #: ../src/guestfs-actions.pod:2299 ../src/guestfs-actions.pod:2316
25791 #: ../src/guestfs-actions.pod:2383 ../src/guestfs-actions.pod:2426
25792 #: ../src/guestfs-actions.pod:2447 ../src/guestfs-actions.pod:2632
25793 #: ../src/guestfs-actions.pod:2846 ../src/guestfs-actions.pod:3050
25794 #: ../src/guestfs-actions.pod:3152 ../src/guestfs-actions.pod:3256
25795 #: ../src/guestfs-actions.pod:3275 ../src/guestfs-actions.pod:3490
25796 #: ../src/guestfs-actions.pod:3518 ../src/guestfs-actions.pod:3539
25797 #: ../src/guestfs-actions.pod:3573 ../src/guestfs-actions.pod:3636
25798 #: ../src/guestfs-actions.pod:3656 ../src/guestfs-actions.pod:3676
25799 #: ../src/guestfs-actions.pod:4303 ../src/guestfs-actions.pod:4650
25800 #: ../src/guestfs-actions.pod:4817 ../src/guestfs-actions.pod:4927
25801 #: ../src/guestfs-actions.pod:5820 ../src/guestfs-actions.pod:6021
25802 #: ../src/guestfs-actions.pod:6209 ../src/guestfs-actions.pod:6387
25803 #: ../src/guestfs-actions.pod:6436 ../src/guestfs-actions.pod:7096
25804 #: ../src/guestfs-actions.pod:7112 ../src/guestfs-actions.pod:7136
25805 #: ../src/guestfs-actions.pod:7160 ../src/guestfs-actions.pod:7834
25806 #: ../src/guestfs-actions.pod:7853 ../src/guestfs-actions.pod:7871
25807 #: ../src/guestfs-actions.pod:8045 ../src/guestfs-actions.pod:8359
25808 msgid ""
25809 "This function returns a string, or NULL on error.  I<The caller must free "
25810 "the returned string after use>."
25811 msgstr ""
25812
25813 #. type: =head2
25814 #: ../src/guestfs-actions.pod:421
25815 msgid "guestfs_aug_init"
25816 msgstr "guestfs_aug_init"
25817
25818 #. type: verbatim
25819 #: ../src/guestfs-actions.pod:423
25820 #, no-wrap
25821 msgid ""
25822 " int\n"
25823 " guestfs_aug_init (guestfs_h *g,\n"
25824 "                   const char *root,\n"
25825 "                   int flags);\n"
25826 "\n"
25827 msgstr ""
25828 " int\n"
25829 " guestfs_aug_init (guestfs_h *g,\n"
25830 "                   const char *root,\n"
25831 "                   int flags);\n"
25832 "\n"
25833
25834 #. type: textblock
25835 #: ../src/guestfs-actions.pod:432
25836 msgid "You must call this before using any other C<guestfs_aug_*> commands."
25837 msgstr ""
25838
25839 #. type: textblock
25840 #: ../src/guestfs-actions.pod:457
25841 msgid ""
25842 "This option is only useful when debugging Augeas lenses.  Use of this option "
25843 "may require additional memory for the libguestfs appliance.  You may need to "
25844 "set the C<LIBGUESTFS_MEMSIZE> environment variable or call "
25845 "C<guestfs_set_memsize>."
25846 msgstr ""
25847
25848 #. type: textblock
25849 #: ../src/guestfs-actions.pod:472
25850 msgid "Do not load the tree in C<guestfs_aug_init>."
25851 msgstr ""
25852
25853 #. type: textblock
25854 #: ../src/guestfs-actions.pod:476
25855 msgid "To close the handle, you can call C<guestfs_aug_close>."
25856 msgstr ""
25857
25858 #. type: =head2
25859 #: ../src/guestfs-actions.pod:484
25860 msgid "guestfs_aug_insert"
25861 msgstr "guestfs_aug_insert"
25862
25863 #. type: verbatim
25864 #: ../src/guestfs-actions.pod:486
25865 #, no-wrap
25866 msgid ""
25867 " int\n"
25868 " guestfs_aug_insert (guestfs_h *g,\n"
25869 "                     const char *augpath,\n"
25870 "                     const char *label,\n"
25871 "                     int before);\n"
25872 "\n"
25873 msgstr ""
25874 " int\n"
25875 " guestfs_aug_insert (guestfs_h *g,\n"
25876 "                     const char *augpath,\n"
25877 "                     const char *label,\n"
25878 "                     int before);\n"
25879 "\n"
25880
25881 #. type: =head2
25882 #: ../src/guestfs-actions.pod:504
25883 msgid "guestfs_aug_load"
25884 msgstr "guestfs_aug_load"
25885
25886 #. type: verbatim
25887 #: ../src/guestfs-actions.pod:506
25888 #, no-wrap
25889 msgid ""
25890 " int\n"
25891 " guestfs_aug_load (guestfs_h *g);\n"
25892 "\n"
25893 msgstr ""
25894 " int\n"
25895 " guestfs_aug_load (guestfs_h *g);\n"
25896 "\n"
25897
25898 #. type: =head2
25899 #: ../src/guestfs-actions.pod:518
25900 msgid "guestfs_aug_ls"
25901 msgstr "guestfs_aug_ls"
25902
25903 #. type: verbatim
25904 #: ../src/guestfs-actions.pod:520
25905 #, no-wrap
25906 msgid ""
25907 " char **\n"
25908 " guestfs_aug_ls (guestfs_h *g,\n"
25909 "                 const char *augpath);\n"
25910 "\n"
25911 msgstr ""
25912 " char **\n"
25913 " guestfs_aug_ls (guestfs_h *g,\n"
25914 "                 const char *augpath);\n"
25915 "\n"
25916
25917 #. type: textblock
25918 #: ../src/guestfs-actions.pod:524
25919 msgid ""
25920 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
25921 "sorting the resulting nodes into alphabetical order."
25922 msgstr ""
25923
25924 #. type: textblock
25925 #: ../src/guestfs-actions.pod:527 ../src/guestfs-actions.pod:543
25926 #: ../src/guestfs-actions.pod:689 ../src/guestfs-actions.pod:1196
25927 #: ../src/guestfs-actions.pod:1851 ../src/guestfs-actions.pod:1870
25928 #: ../src/guestfs-actions.pod:1973 ../src/guestfs-actions.pod:1992
25929 #: ../src/guestfs-actions.pod:2238 ../src/guestfs-actions.pod:2704
25930 #: ../src/guestfs-actions.pod:2720 ../src/guestfs-actions.pod:2739
25931 #: ../src/guestfs-actions.pod:2804 ../src/guestfs-actions.pod:2828
25932 #: ../src/guestfs-actions.pod:2899 ../src/guestfs-actions.pod:2948
25933 #: ../src/guestfs-actions.pod:3217 ../src/guestfs-actions.pod:3592
25934 #: ../src/guestfs-actions.pod:3872 ../src/guestfs-actions.pod:4186
25935 #: ../src/guestfs-actions.pod:4203 ../src/guestfs-actions.pod:4223
25936 #: ../src/guestfs-actions.pod:4285 ../src/guestfs-actions.pod:4390
25937 #: ../src/guestfs-actions.pod:4789 ../src/guestfs-actions.pod:5546
25938 #: ../src/guestfs-actions.pod:6181 ../src/guestfs-actions.pod:6307
25939 #: ../src/guestfs-actions.pod:6421 ../src/guestfs-actions.pod:7176
25940 #: ../src/guestfs-actions.pod:7237 ../src/guestfs-actions.pod:7292
25941 #: ../src/guestfs-actions.pod:7438 ../src/guestfs-actions.pod:7462
25942 #: ../src/guestfs-actions.pod:7938 ../src/guestfs-actions.pod:7958
25943 #: ../src/guestfs-actions.pod:8005 ../src/guestfs-actions.pod:8199
25944 #: ../src/guestfs-actions.pod:8218 ../src/guestfs-actions.pod:8309
25945 #: ../src/guestfs-actions.pod:8328 ../src/guestfs-actions.pod:8374
25946 #: ../src/guestfs-actions.pod:8393
25947 msgid ""
25948 "This function returns a NULL-terminated array of strings (like L<environ(3)"
25949 ">), or NULL if there was an error.  I<The caller must free the strings and "
25950 "the array after use>."
25951 msgstr ""
25952
25953 #. type: textblock
25954 #: ../src/guestfs-actions.pod:531 ../src/guestfs-actions.pod:1121
25955 #: ../src/guestfs-actions.pod:1139 ../src/guestfs-actions.pod:1908
25956 #: ../src/guestfs-actions.pod:3950 ../src/guestfs-actions.pod:3981
25957 #: ../src/guestfs-actions.pod:4633 ../src/guestfs-actions.pod:4680
25958 #: ../src/guestfs-actions.pod:4867 ../src/guestfs-actions.pod:4900
25959 #: ../src/guestfs-actions.pod:5063 ../src/guestfs-actions.pod:5550
25960 #: ../src/guestfs-actions.pod:6122 ../src/guestfs-actions.pod:6519
25961 #: ../src/guestfs-actions.pod:6533 ../src/guestfs-actions.pod:6545
25962 #: ../src/guestfs-actions.pod:7023 ../src/guestfs-actions.pod:7676
25963 #: ../src/guestfs-actions.pod:7689 ../src/guestfs-actions.pod:7922
25964 #: ../src/guestfs-actions.pod:8187
25965 msgid "(Added in 0.8)"
25966 msgstr "(Додано у 0.8)"
25967
25968 #. type: =head2
25969 #: ../src/guestfs-actions.pod:533
25970 msgid "guestfs_aug_match"
25971 msgstr "guestfs_aug_match"
25972
25973 #. type: verbatim
25974 #: ../src/guestfs-actions.pod:535
25975 #, no-wrap
25976 msgid ""
25977 " char **\n"
25978 " guestfs_aug_match (guestfs_h *g,\n"
25979 "                    const char *augpath);\n"
25980 "\n"
25981 msgstr ""
25982 " char **\n"
25983 " guestfs_aug_match (guestfs_h *g,\n"
25984 "                    const char *augpath);\n"
25985 "\n"
25986
25987 #. type: =head2
25988 #: ../src/guestfs-actions.pod:549
25989 msgid "guestfs_aug_mv"
25990 msgstr "guestfs_aug_mv"
25991
25992 #. type: verbatim
25993 #: ../src/guestfs-actions.pod:551
25994 #, no-wrap
25995 msgid ""
25996 " int\n"
25997 " guestfs_aug_mv (guestfs_h *g,\n"
25998 "                 const char *src,\n"
25999 "                 const char *dest);\n"
26000 "\n"
26001 msgstr ""
26002 " int\n"
26003 " guestfs_aug_mv (guestfs_h *g,\n"
26004 "                 const char *src,\n"
26005 "                 const char *dest);\n"
26006 "\n"
26007
26008 #. type: =head2
26009 #: ../src/guestfs-actions.pod:563
26010 msgid "guestfs_aug_rm"
26011 msgstr "guestfs_aug_rm"
26012
26013 #. type: verbatim
26014 #: ../src/guestfs-actions.pod:565
26015 #, no-wrap
26016 msgid ""
26017 " int\n"
26018 " guestfs_aug_rm (guestfs_h *g,\n"
26019 "                 const char *augpath);\n"
26020 "\n"
26021 msgstr ""
26022 " int\n"
26023 " guestfs_aug_rm (guestfs_h *g,\n"
26024 "                 const char *augpath);\n"
26025 "\n"
26026
26027 #. type: =head2
26028 #: ../src/guestfs-actions.pod:577
26029 msgid "guestfs_aug_save"
26030 msgstr "guestfs_aug_save"
26031
26032 #. type: verbatim
26033 #: ../src/guestfs-actions.pod:579
26034 #, no-wrap
26035 msgid ""
26036 " int\n"
26037 " guestfs_aug_save (guestfs_h *g);\n"
26038 "\n"
26039 msgstr ""
26040 " int\n"
26041 " guestfs_aug_save (guestfs_h *g);\n"
26042 "\n"
26043
26044 #. type: textblock
26045 #: ../src/guestfs-actions.pod:584
26046 msgid ""
26047 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
26048 "are saved."
26049 msgstr ""
26050
26051 #. type: =head2
26052 #: ../src/guestfs-actions.pod:591
26053 msgid "guestfs_aug_set"
26054 msgstr "guestfs_aug_set"
26055
26056 #. type: verbatim
26057 #: ../src/guestfs-actions.pod:593
26058 #, no-wrap
26059 msgid ""
26060 " int\n"
26061 " guestfs_aug_set (guestfs_h *g,\n"
26062 "                  const char *augpath,\n"
26063 "                  const char *val);\n"
26064 "\n"
26065 msgstr ""
26066 " int\n"
26067 " guestfs_aug_set (guestfs_h *g,\n"
26068 "                  const char *augpath,\n"
26069 "                  const char *val);\n"
26070 "\n"
26071
26072 #. type: textblock
26073 #: ../src/guestfs-actions.pod:600
26074 msgid ""
26075 "In the Augeas API, it is possible to clear a node by setting the value to "
26076 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
26077 "this call.  Instead you must use the C<guestfs_aug_clear> call."
26078 msgstr ""
26079
26080 #. type: =head2
26081 #: ../src/guestfs-actions.pod:609
26082 msgid "guestfs_available"
26083 msgstr "guestfs_available"
26084
26085 #. type: verbatim
26086 #: ../src/guestfs-actions.pod:611
26087 #, no-wrap
26088 msgid ""
26089 " int\n"
26090 " guestfs_available (guestfs_h *g,\n"
26091 "                    char *const *groups);\n"
26092 "\n"
26093 msgstr ""
26094 " int\n"
26095 " guestfs_available (guestfs_h *g,\n"
26096 "                    char *const *groups);\n"
26097 "\n"
26098
26099 #. type: textblock
26100 #: ../src/guestfs-actions.pod:619
26101 msgid ""
26102 "The libguestfs groups, and the functions that those groups correspond to, "
26103 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
26104 "runtime by calling C<guestfs_available_all_groups>."
26105 msgstr ""
26106
26107 #. type: textblock
26108 #: ../src/guestfs-actions.pod:643
26109 msgid "You must call C<guestfs_launch> before calling this function."
26110 msgstr ""
26111
26112 #. type: textblock
26113 #: ../src/guestfs-actions.pod:665
26114 msgid ""
26115 "This call was added in version C<1.0.80>.  In previous versions of "
26116 "libguestfs all you could do would be to speculatively execute a command to "
26117 "find out if the daemon implemented it.  See also C<guestfs_version>."
26118 msgstr ""
26119
26120 #. type: textblock
26121 #: ../src/guestfs-actions.pod:674 ../src/guestfs-actions.pod:1653
26122 msgid "(Added in 1.0.80)"
26123 msgstr "(Додано у 1.0.80)"
26124
26125 #. type: =head2
26126 #: ../src/guestfs-actions.pod:676
26127 msgid "guestfs_available_all_groups"
26128 msgstr "guestfs_available_all_groups"
26129
26130 #. type: verbatim
26131 #: ../src/guestfs-actions.pod:678
26132 #, no-wrap
26133 msgid ""
26134 " char **\n"
26135 " guestfs_available_all_groups (guestfs_h *g);\n"
26136 "\n"
26137 msgstr ""
26138 " char **\n"
26139 " guestfs_available_all_groups (guestfs_h *g);\n"
26140 "\n"
26141
26142 #. type: textblock
26143 #: ../src/guestfs-actions.pod:681
26144 msgid ""
26145 "This command returns a list of all optional groups that this daemon knows "
26146 "about.  Note this returns both supported and unsupported groups.  To find "
26147 "out which ones the daemon can actually support you have to call "
26148 "C<guestfs_available> on each member of the returned list."
26149 msgstr ""
26150
26151 #. type: textblock
26152 #: ../src/guestfs-actions.pod:687
26153 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
26154 msgstr ""
26155
26156 #. type: textblock
26157 #: ../src/guestfs-actions.pod:693
26158 msgid "(Added in 1.3.15)"
26159 msgstr "(Додано у 1.3.15)"
26160
26161 #. type: =head2
26162 #: ../src/guestfs-actions.pod:695
26163 msgid "guestfs_base64_in"
26164 msgstr "guestfs_base64_in"
26165
26166 #. type: verbatim
26167 #: ../src/guestfs-actions.pod:697
26168 #, no-wrap
26169 msgid ""
26170 " int\n"
26171 " guestfs_base64_in (guestfs_h *g,\n"
26172 "                    const char *base64file,\n"
26173 "                    const char *filename);\n"
26174 "\n"
26175 msgstr ""
26176 " int\n"
26177 " guestfs_base64_in (guestfs_h *g,\n"
26178 "                    const char *base64file,\n"
26179 "                    const char *filename);\n"
26180 "\n"
26181
26182 #. type: textblock
26183 #: ../src/guestfs-actions.pod:707 ../src/guestfs-actions.pod:721
26184 msgid "(Added in 1.3.5)"
26185 msgstr "(Додано у 1.3.5)"
26186
26187 #. type: =head2
26188 #: ../src/guestfs-actions.pod:709
26189 msgid "guestfs_base64_out"
26190 msgstr "guestfs_base64_out"
26191
26192 #. type: verbatim
26193 #: ../src/guestfs-actions.pod:711
26194 #, no-wrap
26195 msgid ""
26196 " int\n"
26197 " guestfs_base64_out (guestfs_h *g,\n"
26198 "                     const char *filename,\n"
26199 "                     const char *base64file);\n"
26200 "\n"
26201 msgstr ""
26202 " int\n"
26203 " guestfs_base64_out (guestfs_h *g,\n"
26204 "                     const char *filename,\n"
26205 "                     const char *base64file);\n"
26206 "\n"
26207
26208 #. type: =head2
26209 #: ../src/guestfs-actions.pod:723
26210 msgid "guestfs_blockdev_flushbufs"
26211 msgstr "guestfs_blockdev_flushbufs"
26212
26213 #. type: verbatim
26214 #: ../src/guestfs-actions.pod:725
26215 #, no-wrap
26216 msgid ""
26217 " int\n"
26218 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
26219 "                             const char *device);\n"
26220 "\n"
26221 msgstr ""
26222 " int\n"
26223 " guestfs_blockdev_flushbufs (guestfs_h *g,\n"
26224 "                             const char *device);\n"
26225 "\n"
26226
26227 #. type: textblock
26228 #: ../src/guestfs-actions.pod:736 ../src/guestfs-actions.pod:753
26229 #: ../src/guestfs-actions.pod:768 ../src/guestfs-actions.pod:784
26230 #: ../src/guestfs-actions.pod:802 ../src/guestfs-actions.pod:821
26231 #: ../src/guestfs-actions.pod:835 ../src/guestfs-actions.pod:853
26232 #: ../src/guestfs-actions.pod:867 ../src/guestfs-actions.pod:881
26233 msgid "(Added in 0.9.3)"
26234 msgstr "(Додано у 0.9.3)"
26235
26236 #. type: =head2
26237 #: ../src/guestfs-actions.pod:738
26238 msgid "guestfs_blockdev_getbsz"
26239 msgstr "guestfs_blockdev_getbsz"
26240
26241 #. type: verbatim
26242 #: ../src/guestfs-actions.pod:740
26243 #, no-wrap
26244 msgid ""
26245 " int\n"
26246 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
26247 "                          const char *device);\n"
26248 "\n"
26249 msgstr ""
26250 " int\n"
26251 " guestfs_blockdev_getbsz (guestfs_h *g,\n"
26252 "                          const char *device);\n"
26253 "\n"
26254
26255 #. type: =head2
26256 #: ../src/guestfs-actions.pod:755
26257 msgid "guestfs_blockdev_getro"
26258 msgstr "guestfs_blockdev_getro"
26259
26260 #. type: verbatim
26261 #: ../src/guestfs-actions.pod:757
26262 #, no-wrap
26263 msgid ""
26264 " int\n"
26265 " guestfs_blockdev_getro (guestfs_h *g,\n"
26266 "                         const char *device);\n"
26267 "\n"
26268 msgstr ""
26269 " int\n"
26270 " guestfs_blockdev_getro (guestfs_h *g,\n"
26271 "                         const char *device);\n"
26272 "\n"
26273
26274 #. type: textblock
26275 #: ../src/guestfs-actions.pod:766 ../src/guestfs-actions.pod:1891
26276 #: ../src/guestfs-actions.pod:1906 ../src/guestfs-actions.pod:2395
26277 #: ../src/guestfs-actions.pod:2406 ../src/guestfs-actions.pod:2478
26278 #: ../src/guestfs-actions.pod:2504 ../src/guestfs-actions.pod:2544
26279 #: ../src/guestfs-actions.pod:2559 ../src/guestfs-actions.pod:2595
26280 #: ../src/guestfs-actions.pod:2618 ../src/guestfs-actions.pod:3693
26281 #: ../src/guestfs-actions.pod:3709 ../src/guestfs-actions.pod:3727
26282 #: ../src/guestfs-actions.pod:3889 ../src/guestfs-actions.pod:3903
26283 #: ../src/guestfs-actions.pod:3918 ../src/guestfs-actions.pod:3932
26284 #: ../src/guestfs-actions.pod:3948 ../src/guestfs-actions.pod:3963
26285 #: ../src/guestfs-actions.pod:3979 ../src/guestfs-actions.pod:3993
26286 #: ../src/guestfs-actions.pod:4006 ../src/guestfs-actions.pod:4020
26287 #: ../src/guestfs-actions.pod:4035 ../src/guestfs-actions.pod:4050
26288 #: ../src/guestfs-actions.pod:4063 ../src/guestfs-actions.pod:4077
26289 #: ../src/guestfs-actions.pod:5784
26290 msgid "This function returns a C truth value on success or -1 on error."
26291 msgstr ""
26292
26293 #. type: =head2
26294 #: ../src/guestfs-actions.pod:770
26295 msgid "guestfs_blockdev_getsize64"
26296 msgstr "guestfs_blockdev_getsize64"
26297
26298 #. type: verbatim
26299 #: ../src/guestfs-actions.pod:772
26300 #, no-wrap
26301 msgid ""
26302 " int64_t\n"
26303 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
26304 "                             const char *device);\n"
26305 "\n"
26306 msgstr ""
26307 " int64_t\n"
26308 " guestfs_blockdev_getsize64 (guestfs_h *g,\n"
26309 "                             const char *device);\n"
26310 "\n"
26311
26312 #. type: textblock
26313 #: ../src/guestfs-actions.pod:778
26314 msgid "See also C<guestfs_blockdev_getsz>."
26315 msgstr ""
26316
26317 #. type: =head2
26318 #: ../src/guestfs-actions.pod:786
26319 msgid "guestfs_blockdev_getss"
26320 msgstr "guestfs_blockdev_getss"
26321
26322 #. type: verbatim
26323 #: ../src/guestfs-actions.pod:788
26324 #, no-wrap
26325 msgid ""
26326 " int\n"
26327 " guestfs_blockdev_getss (guestfs_h *g,\n"
26328 "                         const char *device);\n"
26329 "\n"
26330 msgstr ""
26331 " int\n"
26332 " guestfs_blockdev_getss (guestfs_h *g,\n"
26333 "                         const char *device);\n"
26334 "\n"
26335
26336 #. type: textblock
26337 #: ../src/guestfs-actions.pod:795
26338 msgid ""
26339 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
26340 "that)."
26341 msgstr ""
26342
26343 #. type: =head2
26344 #: ../src/guestfs-actions.pod:804
26345 msgid "guestfs_blockdev_getsz"
26346 msgstr "guestfs_blockdev_getsz"
26347
26348 #. type: verbatim
26349 #: ../src/guestfs-actions.pod:806
26350 #, no-wrap
26351 msgid ""
26352 " int64_t\n"
26353 " guestfs_blockdev_getsz (guestfs_h *g,\n"
26354 "                         const char *device);\n"
26355 "\n"
26356 msgstr ""
26357 " int64_t\n"
26358 " guestfs_blockdev_getsz (guestfs_h *g,\n"
26359 "                         const char *device);\n"
26360 "\n"
26361
26362 #. type: textblock
26363 #: ../src/guestfs-actions.pod:813
26364 msgid ""
26365 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
26366 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
26367 msgstr ""
26368
26369 #. type: =head2
26370 #: ../src/guestfs-actions.pod:823
26371 msgid "guestfs_blockdev_rereadpt"
26372 msgstr "guestfs_blockdev_rereadpt"
26373
26374 #. type: verbatim
26375 #: ../src/guestfs-actions.pod:825
26376 #, no-wrap
26377 msgid ""
26378 " int\n"
26379 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
26380 "                            const char *device);\n"
26381 "\n"
26382 msgstr ""
26383 " int\n"
26384 " guestfs_blockdev_rereadpt (guestfs_h *g,\n"
26385 "                            const char *device);\n"
26386 "\n"
26387
26388 #. type: =head2
26389 #: ../src/guestfs-actions.pod:837
26390 msgid "guestfs_blockdev_setbsz"
26391 msgstr "guestfs_blockdev_setbsz"
26392
26393 #. type: verbatim
26394 #: ../src/guestfs-actions.pod:839
26395 #, no-wrap
26396 msgid ""
26397 " int\n"
26398 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
26399 "                          const char *device,\n"
26400 "                          int blocksize);\n"
26401 "\n"
26402 msgstr ""
26403 " int\n"
26404 " guestfs_blockdev_setbsz (guestfs_h *g,\n"
26405 "                          const char *device,\n"
26406 "                          int blocksize);\n"
26407 "\n"
26408
26409 #. type: =head2
26410 #: ../src/guestfs-actions.pod:855
26411 msgid "guestfs_blockdev_setro"
26412 msgstr "guestfs_blockdev_setro"
26413
26414 #. type: verbatim
26415 #: ../src/guestfs-actions.pod:857
26416 #, no-wrap
26417 msgid ""
26418 " int\n"
26419 " guestfs_blockdev_setro (guestfs_h *g,\n"
26420 "                         const char *device);\n"
26421 "\n"
26422 msgstr ""
26423 " int\n"
26424 " guestfs_blockdev_setro (guestfs_h *g,\n"
26425 "                         const char *device);\n"
26426 "\n"
26427
26428 #. type: =head2
26429 #: ../src/guestfs-actions.pod:869
26430 msgid "guestfs_blockdev_setrw"
26431 msgstr "guestfs_blockdev_setrw"
26432
26433 #. type: verbatim
26434 #: ../src/guestfs-actions.pod:871
26435 #, no-wrap
26436 msgid ""
26437 " int\n"
26438 " guestfs_blockdev_setrw (guestfs_h *g,\n"
26439 "                         const char *device);\n"
26440 "\n"
26441 msgstr ""
26442 " int\n"
26443 " guestfs_blockdev_setrw (guestfs_h *g,\n"
26444 "                         const char *device);\n"
26445 "\n"
26446
26447 #. type: =head2
26448 #: ../src/guestfs-actions.pod:883
26449 msgid "guestfs_btrfs_filesystem_resize"
26450 msgstr "guestfs_btrfs_filesystem_resize"
26451
26452 #. type: verbatim
26453 #: ../src/guestfs-actions.pod:885
26454 #, no-wrap
26455 msgid ""
26456 " int\n"
26457 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
26458 "                                  const char *mountpoint,\n"
26459 "                                  ...);\n"
26460 "\n"
26461 msgstr ""
26462 " int\n"
26463 " guestfs_btrfs_filesystem_resize (guestfs_h *g,\n"
26464 "                                  const char *mountpoint,\n"
26465 "                                  ...);\n"
26466 "\n"
26467
26468 #. type: verbatim
26469 #: ../src/guestfs-actions.pod:895
26470 #, no-wrap
26471 msgid ""
26472 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
26473 "\n"
26474 msgstr ""
26475 " GUESTFS_BTRFS_FILESYSTEM_RESIZE_SIZE, int64_t size,\n"
26476 "\n"
26477
26478 #. type: textblock
26479 #: ../src/guestfs-actions.pod:918
26480 msgid "(Added in 1.11.17)"
26481 msgstr "(Додано у 1.11.17)"
26482
26483 #. type: =head2
26484 #: ../src/guestfs-actions.pod:920
26485 msgid "guestfs_btrfs_filesystem_resize_va"
26486 msgstr "guestfs_btrfs_filesystem_resize_va"
26487
26488 #. type: verbatim
26489 #: ../src/guestfs-actions.pod:922
26490 #, no-wrap
26491 msgid ""
26492 " int\n"
26493 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
26494 "                                     const char *mountpoint,\n"
26495 "                                     va_list args);\n"
26496 "\n"
26497 msgstr ""
26498 " int\n"
26499 " guestfs_btrfs_filesystem_resize_va (guestfs_h *g,\n"
26500 "                                     const char *mountpoint,\n"
26501 "                                     va_list args);\n"
26502 "\n"
26503
26504 #. type: textblock
26505 #: ../src/guestfs-actions.pod:927
26506 msgid "This is the \"va_list variant\" of L</guestfs_btrfs_filesystem_resize>."
26507 msgstr ""
26508
26509 #. type: =head2
26510 #: ../src/guestfs-actions.pod:931
26511 msgid "guestfs_btrfs_filesystem_resize_argv"
26512 msgstr "guestfs_btrfs_filesystem_resize_argv"
26513
26514 #. type: verbatim
26515 #: ../src/guestfs-actions.pod:933
26516 #, no-wrap
26517 msgid ""
26518 " int\n"
26519 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
26520 "                                       const char *mountpoint,\n"
26521 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
26522 "\n"
26523 msgstr ""
26524 " int\n"
26525 " guestfs_btrfs_filesystem_resize_argv (guestfs_h *g,\n"
26526 "                                       const char *mountpoint,\n"
26527 "                                       const struct guestfs_btrfs_filesystem_resize_argv *optargs);\n"
26528 "\n"
26529
26530 #. type: textblock
26531 #: ../src/guestfs-actions.pod:938
26532 msgid "This is the \"argv variant\" of L</guestfs_btrfs_filesystem_resize>."
26533 msgstr ""
26534
26535 #. type: =head2
26536 #: ../src/guestfs-actions.pod:942
26537 msgid "guestfs_case_sensitive_path"
26538 msgstr ""
26539
26540 #. type: verbatim
26541 #: ../src/guestfs-actions.pod:944
26542 #, no-wrap
26543 msgid ""
26544 " char *\n"
26545 " guestfs_case_sensitive_path (guestfs_h *g,\n"
26546 "                              const char *path);\n"
26547 "\n"
26548 msgstr ""
26549
26550 #. type: textblock
26551 #: ../src/guestfs-actions.pod:970
26552 msgid ""
26553 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
26554 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
26555 "how the directories were originally created under Windows)."
26556 msgstr ""
26557
26558 #. type: textblock
26559 #: ../src/guestfs-actions.pod:978
26560 msgid "See also C<guestfs_realpath>."
26561 msgstr ""
26562
26563 #. type: textblock
26564 #: ../src/guestfs-actions.pod:983 ../src/guestfs-actions.pod:7856
26565 msgid "(Added in 1.0.75)"
26566 msgstr "(Додано у 1.0.75)"
26567
26568 #. type: =head2
26569 #: ../src/guestfs-actions.pod:985
26570 msgid "guestfs_cat"
26571 msgstr ""
26572
26573 #. type: verbatim
26574 #: ../src/guestfs-actions.pod:987
26575 #, no-wrap
26576 msgid ""
26577 " char *\n"
26578 " guestfs_cat (guestfs_h *g,\n"
26579 "              const char *path);\n"
26580 "\n"
26581 msgstr ""
26582
26583 #. type: textblock
26584 #: ../src/guestfs-actions.pod:993
26585 msgid ""
26586 "Note that this function cannot correctly handle binary files (specifically, "
26587 "files containing C<\\0> character which is treated as end of string).  For "
26588 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
26589 "functions which have a more complex interface."
26590 msgstr ""
26591
26592 #. type: textblock
26593 #: ../src/guestfs-actions.pod:1004 ../src/guestfs-actions.pod:4207
26594 #: ../src/guestfs-actions.pod:4289 ../src/guestfs-actions.pod:4306
26595 #: ../src/guestfs-actions.pod:4394 ../src/guestfs-actions.pod:4793
26596 #: ../src/guestfs-actions.pod:4807 ../src/guestfs-actions.pod:6185
26597 #: ../src/guestfs-actions.pod:6199 ../src/guestfs-actions.pod:8009
26598 #: ../src/guestfs-actions.pod:8023
26599 msgid "(Added in 0.4)"
26600 msgstr "(Додано у 0.4)"
26601
26602 #. type: =head2
26603 #: ../src/guestfs-actions.pod:1006
26604 msgid "guestfs_checksum"
26605 msgstr ""
26606
26607 #. type: verbatim
26608 #: ../src/guestfs-actions.pod:1008
26609 #, no-wrap
26610 msgid ""
26611 " char *\n"
26612 " guestfs_checksum (guestfs_h *g,\n"
26613 "                   const char *csumtype,\n"
26614 "                   const char *path);\n"
26615 "\n"
26616 msgstr ""
26617
26618 #. type: textblock
26619 #: ../src/guestfs-actions.pod:1054
26620 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
26621 msgstr ""
26622
26623 #. type: textblock
26624 #: ../src/guestfs-actions.pod:1056
26625 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
26626 msgstr ""
26627
26628 #. type: textblock
26629 #: ../src/guestfs-actions.pod:1061 ../src/guestfs-actions.pod:1728
26630 #: ../src/guestfs-actions.pod:2586 ../src/guestfs-actions.pod:3905
26631 #: ../src/guestfs-actions.pod:3934 ../src/guestfs-actions.pod:3995
26632 #: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:7712
26633 msgid "(Added in 1.0.2)"
26634 msgstr "(Додано у 1.0.2)"
26635
26636 #. type: =head2
26637 #: ../src/guestfs-actions.pod:1063
26638 msgid "guestfs_checksum_device"
26639 msgstr ""
26640
26641 #. type: verbatim
26642 #: ../src/guestfs-actions.pod:1065
26643 #, no-wrap
26644 msgid ""
26645 " char *\n"
26646 " guestfs_checksum_device (guestfs_h *g,\n"
26647 "                          const char *csumtype,\n"
26648 "                          const char *device);\n"
26649 "\n"
26650 msgstr ""
26651
26652 #. type: textblock
26653 #: ../src/guestfs-actions.pod:1070
26654 msgid ""
26655 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
26656 "device named C<device>.  For the types of checksums supported see the "
26657 "C<guestfs_checksum> command."
26658 msgstr ""
26659
26660 #. type: textblock
26661 #: ../src/guestfs-actions.pod:1077 ../src/guestfs-actions.pod:5617
26662 #: ../src/guestfs-actions.pod:5752 ../src/guestfs-actions.pod:5786
26663 #: ../src/guestfs-actions.pod:5804 ../src/guestfs-actions.pod:5986
26664 #: ../src/guestfs-actions.pod:7621 ../src/guestfs-actions.pod:7635
26665 #: ../src/guestfs-actions.pod:8035
26666 msgid "(Added in 1.3.2)"
26667 msgstr "(Додано у 1.3.2)"
26668
26669 #. type: =head2
26670 #: ../src/guestfs-actions.pod:1079
26671 msgid "guestfs_checksums_out"
26672 msgstr ""
26673
26674 #. type: verbatim
26675 #: ../src/guestfs-actions.pod:1081
26676 #, no-wrap
26677 msgid ""
26678 " int\n"
26679 " guestfs_checksums_out (guestfs_h *g,\n"
26680 "                        const char *csumtype,\n"
26681 "                        const char *directory,\n"
26682 "                        const char *sumsfile);\n"
26683 "\n"
26684 msgstr ""
26685
26686 #. type: textblock
26687 #: ../src/guestfs-actions.pod:1101
26688 msgid "(Added in 1.3.7)"
26689 msgstr "(Додано у 1.3.7)"
26690
26691 #. type: =head2
26692 #: ../src/guestfs-actions.pod:1103
26693 msgid "guestfs_chmod"
26694 msgstr ""
26695
26696 #. type: verbatim
26697 #: ../src/guestfs-actions.pod:1105
26698 #, no-wrap
26699 msgid ""
26700 " int\n"
26701 " guestfs_chmod (guestfs_h *g,\n"
26702 "                int mode,\n"
26703 "                const char *path);\n"
26704 "\n"
26705 msgstr ""
26706
26707 #. type: =head2
26708 #: ../src/guestfs-actions.pod:1123
26709 msgid "guestfs_chown"
26710 msgstr ""
26711
26712 #. type: verbatim
26713 #: ../src/guestfs-actions.pod:1125
26714 #, no-wrap
26715 msgid ""
26716 " int\n"
26717 " guestfs_chown (guestfs_h *g,\n"
26718 "                int owner,\n"
26719 "                int group,\n"
26720 "                const char *path);\n"
26721 "\n"
26722 msgstr ""
26723
26724 #. type: =head2
26725 #: ../src/guestfs-actions.pod:1141
26726 msgid "guestfs_command"
26727 msgstr ""
26728
26729 #. type: verbatim
26730 #: ../src/guestfs-actions.pod:1143
26731 #, no-wrap
26732 msgid ""
26733 " char *\n"
26734 " guestfs_command (guestfs_h *g,\n"
26735 "                  char *const *arguments);\n"
26736 "\n"
26737 msgstr ""
26738
26739 #. type: textblock
26740 #: ../src/guestfs-actions.pod:1152
26741 msgid ""
26742 "The single parameter is an argv-style list of arguments.  The first element "
26743 "is the name of the program to run.  Subsequent elements are parameters.  The "
26744 "list must be non-empty (ie. must contain a program name).  Note that the "
26745 "command runs directly, and is I<not> invoked via the shell (see "
26746 "C<guestfs_sh>)."
26747 msgstr ""
26748
26749 #. type: textblock
26750 #: ../src/guestfs-actions.pod:1183 ../src/guestfs-actions.pod:1203
26751 #: ../src/guestfs-actions.pod:2027
26752 msgid "(Added in 0.9.1)"
26753 msgstr "(Додано у 0.9.1)"
26754
26755 #. type: =head2
26756 #: ../src/guestfs-actions.pod:1185
26757 msgid "guestfs_command_lines"
26758 msgstr ""
26759
26760 #. type: verbatim
26761 #: ../src/guestfs-actions.pod:1187
26762 #, no-wrap
26763 msgid ""
26764 " char **\n"
26765 " guestfs_command_lines (guestfs_h *g,\n"
26766 "                        char *const *arguments);\n"
26767 "\n"
26768 msgstr ""
26769
26770 #. type: textblock
26771 #: ../src/guestfs-actions.pod:1191
26772 msgid ""
26773 "This is the same as C<guestfs_command>, but splits the result into a list of "
26774 "lines."
26775 msgstr ""
26776
26777 #. type: textblock
26778 #: ../src/guestfs-actions.pod:1194
26779 msgid "See also: C<guestfs_sh_lines>"
26780 msgstr ""
26781
26782 #. type: =head2
26783 #: ../src/guestfs-actions.pod:1205
26784 msgid "guestfs_compress_device_out"
26785 msgstr ""
26786
26787 #. type: verbatim
26788 #: ../src/guestfs-actions.pod:1207
26789 #, no-wrap
26790 msgid ""
26791 " int\n"
26792 " guestfs_compress_device_out (guestfs_h *g,\n"
26793 "                              const char *ctype,\n"
26794 "                              const char *device,\n"
26795 "                              const char *zdevice,\n"
26796 "                              ...);\n"
26797 "\n"
26798 msgstr ""
26799
26800 #. type: verbatim
26801 #: ../src/guestfs-actions.pod:1219
26802 #, no-wrap
26803 msgid ""
26804 " GUESTFS_COMPRESS_DEVICE_OUT_LEVEL, int level,\n"
26805 "\n"
26806 msgstr ""
26807
26808 #. type: textblock
26809 #: ../src/guestfs-actions.pod:1224
26810 msgid ""
26811 "The C<ctype> and optional C<level> parameters have the same meaning as in "
26812 "C<guestfs_compress_out>."
26813 msgstr ""
26814
26815 #. type: textblock
26816 #: ../src/guestfs-actions.pod:1229 ../src/guestfs-actions.pod:1288
26817 #: ../src/guestfs-actions.pod:2572 ../src/guestfs-actions.pod:6902
26818 msgid "(Added in 1.13.15)"
26819 msgstr ""
26820
26821 #. type: =head2
26822 #: ../src/guestfs-actions.pod:1231
26823 msgid "guestfs_compress_device_out_va"
26824 msgstr ""
26825
26826 #. type: verbatim
26827 #: ../src/guestfs-actions.pod:1233
26828 #, no-wrap
26829 msgid ""
26830 " int\n"
26831 " guestfs_compress_device_out_va (guestfs_h *g,\n"
26832 "                                 const char *ctype,\n"
26833 "                                 const char *device,\n"
26834 "                                 const char *zdevice,\n"
26835 "                                 va_list args);\n"
26836 "\n"
26837 msgstr ""
26838
26839 #. type: textblock
26840 #: ../src/guestfs-actions.pod:1240
26841 msgid "This is the \"va_list variant\" of L</guestfs_compress_device_out>."
26842 msgstr ""
26843
26844 #. type: =head2
26845 #: ../src/guestfs-actions.pod:1244
26846 msgid "guestfs_compress_device_out_argv"
26847 msgstr ""
26848
26849 #. type: verbatim
26850 #: ../src/guestfs-actions.pod:1246
26851 #, no-wrap
26852 msgid ""
26853 " int\n"
26854 " guestfs_compress_device_out_argv (guestfs_h *g,\n"
26855 "                                   const char *ctype,\n"
26856 "                                   const char *device,\n"
26857 "                                   const char *zdevice,\n"
26858 "                                   const struct guestfs_compress_device_out_argv *optargs);\n"
26859 "\n"
26860 msgstr ""
26861
26862 #. type: textblock
26863 #: ../src/guestfs-actions.pod:1253
26864 msgid "This is the \"argv variant\" of L</guestfs_compress_device_out>."
26865 msgstr ""
26866
26867 #. type: =head2
26868 #: ../src/guestfs-actions.pod:1257
26869 msgid "guestfs_compress_out"
26870 msgstr ""
26871
26872 #. type: verbatim
26873 #: ../src/guestfs-actions.pod:1259
26874 #, no-wrap
26875 msgid ""
26876 " int\n"
26877 " guestfs_compress_out (guestfs_h *g,\n"
26878 "                       const char *ctype,\n"
26879 "                       const char *file,\n"
26880 "                       const char *zfile,\n"
26881 "                       ...);\n"
26882 "\n"
26883 msgstr ""
26884
26885 #. type: verbatim
26886 #: ../src/guestfs-actions.pod:1271
26887 #, no-wrap
26888 msgid ""
26889 " GUESTFS_COMPRESS_OUT_LEVEL, int level,\n"
26890 "\n"
26891 msgstr ""
26892
26893 #. type: =head2
26894 #: ../src/guestfs-actions.pod:1290
26895 msgid "guestfs_compress_out_va"
26896 msgstr ""
26897
26898 #. type: verbatim
26899 #: ../src/guestfs-actions.pod:1292
26900 #, no-wrap
26901 msgid ""
26902 " int\n"
26903 " guestfs_compress_out_va (guestfs_h *g,\n"
26904 "                          const char *ctype,\n"
26905 "                          const char *file,\n"
26906 "                          const char *zfile,\n"
26907 "                          va_list args);\n"
26908 "\n"
26909 msgstr ""
26910
26911 #. type: textblock
26912 #: ../src/guestfs-actions.pod:1299
26913 msgid "This is the \"va_list variant\" of L</guestfs_compress_out>."
26914 msgstr ""
26915
26916 #. type: =head2
26917 #: ../src/guestfs-actions.pod:1303
26918 msgid "guestfs_compress_out_argv"
26919 msgstr ""
26920
26921 #. type: verbatim
26922 #: ../src/guestfs-actions.pod:1305
26923 #, no-wrap
26924 msgid ""
26925 " int\n"
26926 " guestfs_compress_out_argv (guestfs_h *g,\n"
26927 "                            const char *ctype,\n"
26928 "                            const char *file,\n"
26929 "                            const char *zfile,\n"
26930 "                            const struct guestfs_compress_out_argv *optargs);\n"
26931 "\n"
26932 msgstr ""
26933
26934 #. type: textblock
26935 #: ../src/guestfs-actions.pod:1312
26936 msgid "This is the \"argv variant\" of L</guestfs_compress_out>."
26937 msgstr ""
26938
26939 #. type: =head2
26940 #: ../src/guestfs-actions.pod:1316
26941 msgid "guestfs_config"
26942 msgstr ""
26943
26944 #. type: verbatim
26945 #: ../src/guestfs-actions.pod:1318
26946 #, no-wrap
26947 msgid ""
26948 " int\n"
26949 " guestfs_config (guestfs_h *g,\n"
26950 "                 const char *qemuparam,\n"
26951 "                 const char *qemuvalue);\n"
26952 "\n"
26953 msgstr ""
26954
26955 #. type: =head2
26956 #: ../src/guestfs-actions.pod:1336
26957 msgid "guestfs_copy_device_to_device"
26958 msgstr ""
26959
26960 #. type: verbatim
26961 #: ../src/guestfs-actions.pod:1338
26962 #, no-wrap
26963 msgid ""
26964 " int\n"
26965 " guestfs_copy_device_to_device (guestfs_h *g,\n"
26966 "                                const char *src,\n"
26967 "                                const char *dest,\n"
26968 "                                ...);\n"
26969 "\n"
26970 msgstr ""
26971
26972 #. type: verbatim
26973 #: ../src/guestfs-actions.pod:1349
26974 #, no-wrap
26975 msgid ""
26976 " GUESTFS_COPY_DEVICE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
26977 " GUESTFS_COPY_DEVICE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
26978 " GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, int64_t size,\n"
26979 "\n"
26980 msgstr ""
26981
26982 #. type: textblock
26983 #: ../src/guestfs-actions.pod:1353
26984 msgid ""
26985 "The four calls C<guestfs_copy_device_to_device>, "
26986 "C<guestfs_copy_device_to_file>, C<guestfs_copy_file_to_device>, and "
26987 "C<guestfs_copy_file_to_file> let you copy from a source (device|file) to a "
26988 "destination (device|file)."
26989 msgstr ""
26990
26991 #. type: textblock
26992 #: ../src/guestfs-actions.pod:1374 ../src/guestfs-actions.pod:1427
26993 #: ../src/guestfs-actions.pod:1480 ../src/guestfs-actions.pod:1538
26994 #: ../src/guestfs-actions.pod:1592 ../src/guestfs-actions.pod:1723
26995 #: ../src/guestfs-actions.pod:1754 ../src/guestfs-actions.pod:1799
26996 #: ../src/guestfs-actions.pod:2176 ../src/guestfs-actions.pod:2198
26997 #: ../src/guestfs-actions.pod:4105 ../src/guestfs-actions.pod:7707
26998 #: ../src/guestfs-actions.pod:7741 ../src/guestfs-actions.pod:8248
26999 #: ../src/guestfs-actions.pod:8271
27000 msgid ""
27001 "This long-running command can generate progress notification messages so "
27002 "that the caller can display a progress bar or indicator.  To receive these "
27003 "messages, the caller must register a progress event callback.  See L<guestfs"
27004 "(3)/GUESTFS_EVENT_PROGRESS>."
27005 msgstr ""
27006
27007 #. type: textblock
27008 #: ../src/guestfs-actions.pod:1379 ../src/guestfs-actions.pod:1432
27009 #: ../src/guestfs-actions.pod:1485 ../src/guestfs-actions.pod:1543
27010 #: ../src/guestfs-actions.pod:6042
27011 #, fuzzy
27012 #| msgid "(Added in 1.3.5)"
27013 msgid "(Added in 1.13.25)"
27014 msgstr "(Додано у 1.3.5)"
27015
27016 #. type: =head2
27017 #: ../src/guestfs-actions.pod:1381
27018 msgid "guestfs_copy_device_to_device_va"
27019 msgstr ""
27020
27021 #. type: verbatim
27022 #: ../src/guestfs-actions.pod:1383
27023 #, no-wrap
27024 msgid ""
27025 " int\n"
27026 " guestfs_copy_device_to_device_va (guestfs_h *g,\n"
27027 "                                   const char *src,\n"
27028 "                                   const char *dest,\n"
27029 "                                   va_list args);\n"
27030 "\n"
27031 msgstr ""
27032
27033 #. type: textblock
27034 #: ../src/guestfs-actions.pod:1389
27035 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_device>."
27036 msgstr ""
27037
27038 #. type: =head2
27039 #: ../src/guestfs-actions.pod:1393
27040 msgid "guestfs_copy_device_to_device_argv"
27041 msgstr ""
27042
27043 #. type: verbatim
27044 #: ../src/guestfs-actions.pod:1395
27045 #, no-wrap
27046 msgid ""
27047 " int\n"
27048 " guestfs_copy_device_to_device_argv (guestfs_h *g,\n"
27049 "                                     const char *src,\n"
27050 "                                     const char *dest,\n"
27051 "                                     const struct guestfs_copy_device_to_device_argv *optargs);\n"
27052 "\n"
27053 msgstr ""
27054
27055 #. type: textblock
27056 #: ../src/guestfs-actions.pod:1401
27057 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_device>."
27058 msgstr ""
27059
27060 #. type: =head2
27061 #: ../src/guestfs-actions.pod:1405
27062 msgid "guestfs_copy_device_to_file"
27063 msgstr ""
27064
27065 #. type: verbatim
27066 #: ../src/guestfs-actions.pod:1407
27067 #, no-wrap
27068 msgid ""
27069 " int\n"
27070 " guestfs_copy_device_to_file (guestfs_h *g,\n"
27071 "                              const char *src,\n"
27072 "                              const char *dest,\n"
27073 "                              ...);\n"
27074 "\n"
27075 msgstr ""
27076
27077 #. type: verbatim
27078 #: ../src/guestfs-actions.pod:1418
27079 #, no-wrap
27080 msgid ""
27081 " GUESTFS_COPY_DEVICE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
27082 " GUESTFS_COPY_DEVICE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
27083 " GUESTFS_COPY_DEVICE_TO_FILE_SIZE, int64_t size,\n"
27084 "\n"
27085 msgstr ""
27086
27087 #. type: textblock
27088 #: ../src/guestfs-actions.pod:1422 ../src/guestfs-actions.pod:1475
27089 #: ../src/guestfs-actions.pod:1528
27090 msgid ""
27091 "See C<guestfs_copy_device_to_device> for a general overview of this call."
27092 msgstr ""
27093
27094 #. type: =head2
27095 #: ../src/guestfs-actions.pod:1434
27096 msgid "guestfs_copy_device_to_file_va"
27097 msgstr ""
27098
27099 #. type: verbatim
27100 #: ../src/guestfs-actions.pod:1436
27101 #, no-wrap
27102 msgid ""
27103 " int\n"
27104 " guestfs_copy_device_to_file_va (guestfs_h *g,\n"
27105 "                                 const char *src,\n"
27106 "                                 const char *dest,\n"
27107 "                                 va_list args);\n"
27108 "\n"
27109 msgstr ""
27110
27111 #. type: textblock
27112 #: ../src/guestfs-actions.pod:1442
27113 msgid "This is the \"va_list variant\" of L</guestfs_copy_device_to_file>."
27114 msgstr ""
27115
27116 #. type: =head2
27117 #: ../src/guestfs-actions.pod:1446
27118 msgid "guestfs_copy_device_to_file_argv"
27119 msgstr ""
27120
27121 #. type: verbatim
27122 #: ../src/guestfs-actions.pod:1448
27123 #, no-wrap
27124 msgid ""
27125 " int\n"
27126 " guestfs_copy_device_to_file_argv (guestfs_h *g,\n"
27127 "                                   const char *src,\n"
27128 "                                   const char *dest,\n"
27129 "                                   const struct guestfs_copy_device_to_file_argv *optargs);\n"
27130 "\n"
27131 msgstr ""
27132
27133 #. type: textblock
27134 #: ../src/guestfs-actions.pod:1454
27135 msgid "This is the \"argv variant\" of L</guestfs_copy_device_to_file>."
27136 msgstr ""
27137
27138 #. type: =head2
27139 #: ../src/guestfs-actions.pod:1458
27140 msgid "guestfs_copy_file_to_device"
27141 msgstr ""
27142
27143 #. type: verbatim
27144 #: ../src/guestfs-actions.pod:1460
27145 #, no-wrap
27146 msgid ""
27147 " int\n"
27148 " guestfs_copy_file_to_device (guestfs_h *g,\n"
27149 "                              const char *src,\n"
27150 "                              const char *dest,\n"
27151 "                              ...);\n"
27152 "\n"
27153 msgstr ""
27154
27155 #. type: verbatim
27156 #: ../src/guestfs-actions.pod:1471
27157 #, no-wrap
27158 msgid ""
27159 " GUESTFS_COPY_FILE_TO_DEVICE_SRCOFFSET, int64_t srcoffset,\n"
27160 " GUESTFS_COPY_FILE_TO_DEVICE_DESTOFFSET, int64_t destoffset,\n"
27161 " GUESTFS_COPY_FILE_TO_DEVICE_SIZE, int64_t size,\n"
27162 "\n"
27163 msgstr ""
27164
27165 #. type: =head2
27166 #: ../src/guestfs-actions.pod:1487
27167 msgid "guestfs_copy_file_to_device_va"
27168 msgstr ""
27169
27170 #. type: verbatim
27171 #: ../src/guestfs-actions.pod:1489
27172 #, no-wrap
27173 msgid ""
27174 " int\n"
27175 " guestfs_copy_file_to_device_va (guestfs_h *g,\n"
27176 "                                 const char *src,\n"
27177 "                                 const char *dest,\n"
27178 "                                 va_list args);\n"
27179 "\n"
27180 msgstr ""
27181
27182 #. type: textblock
27183 #: ../src/guestfs-actions.pod:1495
27184 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_device>."
27185 msgstr ""
27186
27187 #. type: =head2
27188 #: ../src/guestfs-actions.pod:1499
27189 msgid "guestfs_copy_file_to_device_argv"
27190 msgstr ""
27191
27192 #. type: verbatim
27193 #: ../src/guestfs-actions.pod:1501
27194 #, no-wrap
27195 msgid ""
27196 " int\n"
27197 " guestfs_copy_file_to_device_argv (guestfs_h *g,\n"
27198 "                                   const char *src,\n"
27199 "                                   const char *dest,\n"
27200 "                                   const struct guestfs_copy_file_to_device_argv *optargs);\n"
27201 "\n"
27202 msgstr ""
27203
27204 #. type: textblock
27205 #: ../src/guestfs-actions.pod:1507
27206 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_device>."
27207 msgstr ""
27208
27209 #. type: =head2
27210 #: ../src/guestfs-actions.pod:1511
27211 msgid "guestfs_copy_file_to_file"
27212 msgstr ""
27213
27214 #. type: verbatim
27215 #: ../src/guestfs-actions.pod:1513
27216 #, no-wrap
27217 msgid ""
27218 " int\n"
27219 " guestfs_copy_file_to_file (guestfs_h *g,\n"
27220 "                            const char *src,\n"
27221 "                            const char *dest,\n"
27222 "                            ...);\n"
27223 "\n"
27224 msgstr ""
27225
27226 #. type: verbatim
27227 #: ../src/guestfs-actions.pod:1524
27228 #, no-wrap
27229 msgid ""
27230 " GUESTFS_COPY_FILE_TO_FILE_SRCOFFSET, int64_t srcoffset,\n"
27231 " GUESTFS_COPY_FILE_TO_FILE_DESTOFFSET, int64_t destoffset,\n"
27232 " GUESTFS_COPY_FILE_TO_FILE_SIZE, int64_t size,\n"
27233 "\n"
27234 msgstr ""
27235
27236 #. type: textblock
27237 #: ../src/guestfs-actions.pod:1531
27238 msgid ""
27239 "This is B<not> the function you want for copying files.  This is for copying "
27240 "blocks within existing files.  See C<guestfs_cp>, C<guestfs_cp_a> and "
27241 "C<guestfs_mv> for general file copying and moving functions."
27242 msgstr ""
27243
27244 #. type: =head2
27245 #: ../src/guestfs-actions.pod:1545
27246 msgid "guestfs_copy_file_to_file_va"
27247 msgstr ""
27248
27249 #. type: verbatim
27250 #: ../src/guestfs-actions.pod:1547
27251 #, no-wrap
27252 msgid ""
27253 " int\n"
27254 " guestfs_copy_file_to_file_va (guestfs_h *g,\n"
27255 "                               const char *src,\n"
27256 "                               const char *dest,\n"
27257 "                               va_list args);\n"
27258 "\n"
27259 msgstr ""
27260
27261 #. type: textblock
27262 #: ../src/guestfs-actions.pod:1553
27263 msgid "This is the \"va_list variant\" of L</guestfs_copy_file_to_file>."
27264 msgstr ""
27265
27266 #. type: =head2
27267 #: ../src/guestfs-actions.pod:1557
27268 msgid "guestfs_copy_file_to_file_argv"
27269 msgstr ""
27270
27271 #. type: verbatim
27272 #: ../src/guestfs-actions.pod:1559
27273 #, no-wrap
27274 msgid ""
27275 " int\n"
27276 " guestfs_copy_file_to_file_argv (guestfs_h *g,\n"
27277 "                                 const char *src,\n"
27278 "                                 const char *dest,\n"
27279 "                                 const struct guestfs_copy_file_to_file_argv *optargs);\n"
27280 "\n"
27281 msgstr ""
27282
27283 #. type: textblock
27284 #: ../src/guestfs-actions.pod:1565
27285 msgid "This is the \"argv variant\" of L</guestfs_copy_file_to_file>."
27286 msgstr ""
27287
27288 #. type: =head2
27289 #: ../src/guestfs-actions.pod:1569
27290 msgid "guestfs_copy_size"
27291 msgstr ""
27292
27293 #. type: verbatim
27294 #: ../src/guestfs-actions.pod:1571
27295 #, no-wrap
27296 msgid ""
27297 " int\n"
27298 " guestfs_copy_size (guestfs_h *g,\n"
27299 "                    const char *src,\n"
27300 "                    const char *dest,\n"
27301 "                    int64_t size);\n"
27302 "\n"
27303 msgstr ""
27304
27305 #. type: textblock
27306 #: ../src/guestfs-actions.pod:1577 ../src/guestfs-actions.pod:1634
27307 msgid ""
27308 "I<This function is deprecated.> In new code, use the L</"
27309 "guestfs_copy_device_to_device> call instead."
27310 msgstr ""
27311
27312 #. type: textblock
27313 #: ../src/guestfs-actions.pod:1597 ../src/guestfs-actions.pod:4820
27314 #: ../src/guestfs-actions.pod:6212 ../src/guestfs-actions.pod:7942
27315 #: ../src/guestfs-actions.pod:7962 ../src/guestfs-actions.pod:8048
27316 msgid "(Added in 1.0.87)"
27317 msgstr "(Додано у 1.0.87)"
27318
27319 #. type: =head2
27320 #: ../src/guestfs-actions.pod:1599
27321 msgid "guestfs_cp"
27322 msgstr ""
27323
27324 #. type: verbatim
27325 #: ../src/guestfs-actions.pod:1601
27326 #, no-wrap
27327 msgid ""
27328 " int\n"
27329 " guestfs_cp (guestfs_h *g,\n"
27330 "             const char *src,\n"
27331 "             const char *dest);\n"
27332 "\n"
27333 msgstr ""
27334
27335 #. type: textblock
27336 #: ../src/guestfs-actions.pod:1611 ../src/guestfs-actions.pod:1625
27337 #: ../src/guestfs-actions.pod:1705 ../src/guestfs-actions.pod:1779
27338 #: ../src/guestfs-actions.pod:1893 ../src/guestfs-actions.pod:5564
27339 #: ../src/guestfs-actions.pod:6056
27340 msgid "(Added in 1.0.18)"
27341 msgstr "(Додано у 1.0.18)"
27342
27343 #. type: =head2
27344 #: ../src/guestfs-actions.pod:1613
27345 msgid "guestfs_cp_a"
27346 msgstr ""
27347
27348 #. type: verbatim
27349 #: ../src/guestfs-actions.pod:1615
27350 #, no-wrap
27351 msgid ""
27352 " int\n"
27353 " guestfs_cp_a (guestfs_h *g,\n"
27354 "               const char *src,\n"
27355 "               const char *dest);\n"
27356 "\n"
27357 msgstr ""
27358
27359 #. type: =head2
27360 #: ../src/guestfs-actions.pod:1627
27361 msgid "guestfs_dd"
27362 msgstr ""
27363
27364 #. type: verbatim
27365 #: ../src/guestfs-actions.pod:1629
27366 #, no-wrap
27367 msgid ""
27368 " int\n"
27369 " guestfs_dd (guestfs_h *g,\n"
27370 "             const char *src,\n"
27371 "             const char *dest);\n"
27372 "\n"
27373 msgstr ""
27374
27375 #. type: textblock
27376 #: ../src/guestfs-actions.pod:1646
27377 msgid ""
27378 "If the destination is a device, it must be as large or larger than the "
27379 "source file or device, otherwise the copy will fail.  This command cannot do "
27380 "partial copies (see C<guestfs_copy_device_to_device>)."
27381 msgstr ""
27382
27383 #. type: =head2
27384 #: ../src/guestfs-actions.pod:1655
27385 msgid "guestfs_df"
27386 msgstr ""
27387
27388 #. type: verbatim
27389 #: ../src/guestfs-actions.pod:1657
27390 #, no-wrap
27391 msgid ""
27392 " char *\n"
27393 " guestfs_df (guestfs_h *g);\n"
27394 "\n"
27395 msgstr ""
27396
27397 #. type: textblock
27398 #: ../src/guestfs-actions.pod:1662 ../src/guestfs-actions.pod:1679
27399 msgid ""
27400 "This command is mostly useful for interactive sessions.  It is I<not> "
27401 "intended that you try to parse the output string.  Use C<guestfs_statvfs> "
27402 "from programs."
27403 msgstr ""
27404
27405 #. type: textblock
27406 #: ../src/guestfs-actions.pod:1669 ../src/guestfs-actions.pod:1686
27407 #: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:2811
27408 #: ../src/guestfs-actions.pod:2835 ../src/guestfs-actions.pod:2903
27409 #: ../src/guestfs-actions.pod:4930 ../src/guestfs-actions.pod:5464
27410 #: ../src/guestfs-actions.pod:7445 ../src/guestfs-actions.pod:7469
27411 #: ../src/guestfs-actions.pod:8088 ../src/guestfs-actions.pod:8101
27412 #: ../src/guestfs-actions.pod:8114
27413 msgid "(Added in 1.0.54)"
27414 msgstr "(Додано у 1.0.54)"
27415
27416 #. type: =head2
27417 #: ../src/guestfs-actions.pod:1671
27418 msgid "guestfs_df_h"
27419 msgstr ""
27420
27421 #. type: verbatim
27422 #: ../src/guestfs-actions.pod:1673
27423 #, no-wrap
27424 msgid ""
27425 " char *\n"
27426 " guestfs_df_h (guestfs_h *g);\n"
27427 "\n"
27428 msgstr ""
27429
27430 #. type: =head2
27431 #: ../src/guestfs-actions.pod:1688
27432 msgid "guestfs_dmesg"
27433 msgstr ""
27434
27435 #. type: verbatim
27436 #: ../src/guestfs-actions.pod:1690
27437 #, no-wrap
27438 msgid ""
27439 " char *\n"
27440 " guestfs_dmesg (guestfs_h *g);\n"
27441 "\n"
27442 msgstr ""
27443
27444 #. type: textblock
27445 #: ../src/guestfs-actions.pod:1697
27446 msgid ""
27447 "Another way to get the same information is to enable verbose messages with "
27448 "C<guestfs_set_verbose> or by setting the environment variable "
27449 "C<LIBGUESTFS_DEBUG=1> before running the program."
27450 msgstr ""
27451
27452 #. type: =head2
27453 #: ../src/guestfs-actions.pod:1707
27454 msgid "guestfs_download"
27455 msgstr ""
27456
27457 #. type: verbatim
27458 #: ../src/guestfs-actions.pod:1709
27459 #, no-wrap
27460 msgid ""
27461 " int\n"
27462 " guestfs_download (guestfs_h *g,\n"
27463 "                   const char *remotefilename,\n"
27464 "                   const char *filename);\n"
27465 "\n"
27466 msgstr ""
27467
27468 #. type: textblock
27469 #: ../src/guestfs-actions.pod:1719
27470 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
27471 msgstr ""
27472
27473 #. type: =head2
27474 #: ../src/guestfs-actions.pod:1730
27475 msgid "guestfs_download_offset"
27476 msgstr ""
27477
27478 #. type: verbatim
27479 #: ../src/guestfs-actions.pod:1732
27480 #, no-wrap
27481 msgid ""
27482 " int\n"
27483 " guestfs_download_offset (guestfs_h *g,\n"
27484 "                          const char *remotefilename,\n"
27485 "                          const char *filename,\n"
27486 "                          int64_t offset,\n"
27487 "                          int64_t size);\n"
27488 "\n"
27489 msgstr ""
27490
27491 #. type: textblock
27492 #: ../src/guestfs-actions.pod:1745
27493 msgid ""
27494 "Note that there is no limit on the amount of data that can be downloaded "
27495 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
27496 "full amount unless an error occurs."
27497 msgstr ""
27498
27499 #. type: textblock
27500 #: ../src/guestfs-actions.pod:1750
27501 msgid "See also C<guestfs_download>, C<guestfs_pread>."
27502 msgstr ""
27503
27504 #. type: textblock
27505 #: ../src/guestfs-actions.pod:1759 ../src/guestfs-actions.pod:7746
27506 msgid "(Added in 1.5.17)"
27507 msgstr "(Додано у 1.5.17)"
27508
27509 #. type: =head2
27510 #: ../src/guestfs-actions.pod:1761
27511 msgid "guestfs_drop_caches"
27512 msgstr ""
27513
27514 #. type: verbatim
27515 #: ../src/guestfs-actions.pod:1763
27516 #, no-wrap
27517 msgid ""
27518 " int\n"
27519 " guestfs_drop_caches (guestfs_h *g,\n"
27520 "                      int whattodrop);\n"
27521 "\n"
27522 msgstr ""
27523
27524 #. type: =head2
27525 #: ../src/guestfs-actions.pod:1781
27526 msgid "guestfs_du"
27527 msgstr ""
27528
27529 #. type: verbatim
27530 #: ../src/guestfs-actions.pod:1783
27531 #, no-wrap
27532 msgid ""
27533 " int64_t\n"
27534 " guestfs_du (guestfs_h *g,\n"
27535 "             const char *path);\n"
27536 "\n"
27537 msgstr ""
27538
27539 #. type: =head2
27540 #: ../src/guestfs-actions.pod:1806
27541 msgid "guestfs_e2fsck_f"
27542 msgstr ""
27543
27544 #. type: verbatim
27545 #: ../src/guestfs-actions.pod:1808
27546 #, no-wrap
27547 msgid ""
27548 " int\n"
27549 " guestfs_e2fsck_f (guestfs_h *g,\n"
27550 "                   const char *device);\n"
27551 "\n"
27552 msgstr ""
27553
27554 #. type: textblock
27555 #: ../src/guestfs-actions.pod:1816
27556 msgid ""
27557 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
27558 "Normally you should use C<guestfs_fsck>."
27559 msgstr ""
27560
27561 #. type: textblock
27562 #: ../src/guestfs-actions.pod:1821
27563 msgid "(Added in 1.0.29)"
27564 msgstr "(Додано у 1.0.29)"
27565
27566 #. type: =head2
27567 #: ../src/guestfs-actions.pod:1823
27568 msgid "guestfs_echo_daemon"
27569 msgstr "guestfs_echo_daemon"
27570
27571 #. type: verbatim
27572 #: ../src/guestfs-actions.pod:1825
27573 #, no-wrap
27574 msgid ""
27575 " char *\n"
27576 " guestfs_echo_daemon (guestfs_h *g,\n"
27577 "                      char *const *words);\n"
27578 "\n"
27579 msgstr ""
27580 " char *\n"
27581 " guestfs_echo_daemon (guestfs_h *g,\n"
27582 "                      char *const *words);\n"
27583 "\n"
27584
27585 #. type: textblock
27586 #: ../src/guestfs-actions.pod:1834
27587 msgid "See also C<guestfs_ping_daemon>."
27588 msgstr ""
27589
27590 #. type: textblock
27591 #: ../src/guestfs-actions.pod:1839 ../src/guestfs-actions.pod:2597
27592 #: ../src/guestfs-actions.pod:6926
27593 msgid "(Added in 1.0.69)"
27594 msgstr "(Додано у 1.0.69)"
27595
27596 #. type: =head2
27597 #: ../src/guestfs-actions.pod:1841
27598 msgid "guestfs_egrep"
27599 msgstr "guestfs_egrep"
27600
27601 #. type: verbatim
27602 #: ../src/guestfs-actions.pod:1843
27603 #, no-wrap
27604 msgid ""
27605 " char **\n"
27606 " guestfs_egrep (guestfs_h *g,\n"
27607 "                const char *regex,\n"
27608 "                const char *path);\n"
27609 "\n"
27610 msgstr ""
27611 " char **\n"
27612 " guestfs_egrep (guestfs_h *g,\n"
27613 "                const char *regex,\n"
27614 "                const char *path);\n"
27615 "\n"
27616
27617 #. type: textblock
27618 #: ../src/guestfs-actions.pod:1858 ../src/guestfs-actions.pod:1877
27619 #: ../src/guestfs-actions.pod:1934 ../src/guestfs-actions.pod:1980
27620 #: ../src/guestfs-actions.pod:1999 ../src/guestfs-actions.pod:2727
27621 #: ../src/guestfs-actions.pod:2746 ../src/guestfs-actions.pod:2924
27622 #: ../src/guestfs-actions.pod:2937 ../src/guestfs-actions.pod:2952
27623 #: ../src/guestfs-actions.pod:2998 ../src/guestfs-actions.pod:3020
27624 #: ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:4319
27625 #: ../src/guestfs-actions.pod:4333 ../src/guestfs-actions.pod:4346
27626 #: ../src/guestfs-actions.pod:4360 ../src/guestfs-actions.pod:5352
27627 #: ../src/guestfs-actions.pod:6390 ../src/guestfs-actions.pod:6439
27628 #: ../src/guestfs-actions.pod:7313 ../src/guestfs-actions.pod:7325
27629 #: ../src/guestfs-actions.pod:7338 ../src/guestfs-actions.pod:7351
27630 #: ../src/guestfs-actions.pod:7373 ../src/guestfs-actions.pod:7386
27631 #: ../src/guestfs-actions.pod:7399 ../src/guestfs-actions.pod:7412
27632 #: ../src/guestfs-actions.pod:8206 ../src/guestfs-actions.pod:8225
27633 #: ../src/guestfs-actions.pod:8316 ../src/guestfs-actions.pod:8335
27634 #: ../src/guestfs-actions.pod:8381 ../src/guestfs-actions.pod:8400
27635 msgid "(Added in 1.0.66)"
27636 msgstr "(Додано у 1.0.66)"
27637
27638 #. type: =head2
27639 #: ../src/guestfs-actions.pod:1860
27640 msgid "guestfs_egrepi"
27641 msgstr "guestfs_egrepi"
27642
27643 #. type: verbatim
27644 #: ../src/guestfs-actions.pod:1862
27645 #, no-wrap
27646 msgid ""
27647 " char **\n"
27648 " guestfs_egrepi (guestfs_h *g,\n"
27649 "                 const char *regex,\n"
27650 "                 const char *path);\n"
27651 "\n"
27652 msgstr ""
27653
27654 #. type: =head2
27655 #: ../src/guestfs-actions.pod:1879
27656 msgid "guestfs_equal"
27657 msgstr ""
27658
27659 #. type: verbatim
27660 #: ../src/guestfs-actions.pod:1881
27661 #, no-wrap
27662 msgid ""
27663 " int\n"
27664 " guestfs_equal (guestfs_h *g,\n"
27665 "                const char *file1,\n"
27666 "                const char *file2);\n"
27667 "\n"
27668 msgstr ""
27669
27670 #. type: =head2
27671 #: ../src/guestfs-actions.pod:1895
27672 msgid "guestfs_exists"
27673 msgstr ""
27674
27675 #. type: verbatim
27676 #: ../src/guestfs-actions.pod:1897
27677 #, no-wrap
27678 msgid ""
27679 " int\n"
27680 " guestfs_exists (guestfs_h *g,\n"
27681 "                 const char *path);\n"
27682 "\n"
27683 msgstr ""
27684
27685 #. type: textblock
27686 #: ../src/guestfs-actions.pod:1904
27687 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
27688 msgstr ""
27689
27690 #. type: =head2
27691 #: ../src/guestfs-actions.pod:1910
27692 msgid "guestfs_fallocate"
27693 msgstr ""
27694
27695 #. type: verbatim
27696 #: ../src/guestfs-actions.pod:1912
27697 #, no-wrap
27698 msgid ""
27699 " int\n"
27700 " guestfs_fallocate (guestfs_h *g,\n"
27701 "                    const char *path,\n"
27702 "                    int len);\n"
27703 "\n"
27704 msgstr ""
27705
27706 #. type: textblock
27707 #: ../src/guestfs-actions.pod:1917
27708 msgid ""
27709 "I<This function is deprecated.> In new code, use the L</guestfs_fallocate64> "
27710 "call instead."
27711 msgstr ""
27712
27713 #. type: =head2
27714 #: ../src/guestfs-actions.pod:1936
27715 msgid "guestfs_fallocate64"
27716 msgstr ""
27717
27718 #. type: verbatim
27719 #: ../src/guestfs-actions.pod:1938
27720 #, no-wrap
27721 msgid ""
27722 " int\n"
27723 " guestfs_fallocate64 (guestfs_h *g,\n"
27724 "                      const char *path,\n"
27725 "                      int64_t len);\n"
27726 "\n"
27727 msgstr ""
27728
27729 #. type: textblock
27730 #: ../src/guestfs-actions.pod:1947
27731 msgid ""
27732 "Note that this call allocates disk blocks for the file.  To create a sparse "
27733 "file use C<guestfs_truncate_size> instead."
27734 msgstr ""
27735
27736 #. type: textblock
27737 #: ../src/guestfs-actions.pod:1950
27738 msgid ""
27739 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
27740 "oversight it only allowed 30 bit lengths to be specified, effectively "
27741 "limiting the maximum size of files created through that call to 1GB."
27742 msgstr ""
27743
27744 #. type: textblock
27745 #: ../src/guestfs-actions.pod:1961
27746 msgid "(Added in 1.3.17)"
27747 msgstr "(Додано у 1.3.17)"
27748
27749 #. type: =head2
27750 #: ../src/guestfs-actions.pod:1963
27751 msgid "guestfs_fgrep"
27752 msgstr ""
27753
27754 #. type: verbatim
27755 #: ../src/guestfs-actions.pod:1965
27756 #, no-wrap
27757 msgid ""
27758 " char **\n"
27759 " guestfs_fgrep (guestfs_h *g,\n"
27760 "                const char *pattern,\n"
27761 "                const char *path);\n"
27762 "\n"
27763 msgstr ""
27764
27765 #. type: =head2
27766 #: ../src/guestfs-actions.pod:1982
27767 msgid "guestfs_fgrepi"
27768 msgstr ""
27769
27770 #. type: verbatim
27771 #: ../src/guestfs-actions.pod:1984
27772 #, no-wrap
27773 msgid ""
27774 " char **\n"
27775 " guestfs_fgrepi (guestfs_h *g,\n"
27776 "                 const char *pattern,\n"
27777 "                 const char *path);\n"
27778 "\n"
27779 msgstr ""
27780
27781 #. type: =head2
27782 #: ../src/guestfs-actions.pod:2001
27783 msgid "guestfs_file"
27784 msgstr ""
27785
27786 #. type: verbatim
27787 #: ../src/guestfs-actions.pod:2003
27788 #, no-wrap
27789 msgid ""
27790 " char *\n"
27791 " guestfs_file (guestfs_h *g,\n"
27792 "               const char *path);\n"
27793 "\n"
27794 msgstr ""
27795
27796 #. type: textblock
27797 #: ../src/guestfs-actions.pod:2021
27798 msgid ""
27799 "See also: L<file(1)>, C<guestfs_vfs_type>, C<guestfs_lstat>, "
27800 "C<guestfs_is_file>, C<guestfs_is_blockdev> (etc), C<guestfs_is_zero>."
27801 msgstr ""
27802
27803 #. type: =head2
27804 #: ../src/guestfs-actions.pod:2029
27805 msgid "guestfs_file_architecture"
27806 msgstr ""
27807
27808 #. type: verbatim
27809 #: ../src/guestfs-actions.pod:2031
27810 #, no-wrap
27811 msgid ""
27812 " char *\n"
27813 " guestfs_file_architecture (guestfs_h *g,\n"
27814 "                            const char *filename);\n"
27815 "\n"
27816 msgstr ""
27817
27818 #. type: textblock
27819 #: ../src/guestfs-actions.pod:2139 ../src/guestfs-actions.pod:2302
27820 #: ../src/guestfs-actions.pod:2319 ../src/guestfs-actions.pod:3053
27821 #: ../src/guestfs-actions.pod:3155 ../src/guestfs-actions.pod:3221
27822 #: ../src/guestfs-actions.pod:3408 ../src/guestfs-actions.pod:3426
27823 #: ../src/guestfs-actions.pod:3466 ../src/guestfs-actions.pod:3542
27824 #: ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3876
27825 #: ../src/guestfs-actions.pod:4008
27826 msgid "(Added in 1.5.3)"
27827 msgstr "(Додано у 1.5.3)"
27828
27829 #. type: =head2
27830 #: ../src/guestfs-actions.pod:2141
27831 msgid "guestfs_filesize"
27832 msgstr ""
27833
27834 #. type: verbatim
27835 #: ../src/guestfs-actions.pod:2143
27836 #, no-wrap
27837 msgid ""
27838 " int64_t\n"
27839 " guestfs_filesize (guestfs_h *g,\n"
27840 "                   const char *file);\n"
27841 "\n"
27842 msgstr ""
27843
27844 #. type: textblock
27845 #: ../src/guestfs-actions.pod:2149
27846 msgid ""
27847 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
27848 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
27849 "devices, use C<guestfs_blockdev_getsize64>."
27850 msgstr ""
27851
27852 #. type: textblock
27853 #: ../src/guestfs-actions.pod:2155
27854 msgid "(Added in 1.0.82)"
27855 msgstr "(Додано у 1.0.82)"
27856
27857 #. type: =head2
27858 #: ../src/guestfs-actions.pod:2157
27859 msgid "guestfs_fill"
27860 msgstr ""
27861
27862 #. type: verbatim
27863 #: ../src/guestfs-actions.pod:2159
27864 #, no-wrap
27865 msgid ""
27866 " int\n"
27867 " guestfs_fill (guestfs_h *g,\n"
27868 "               int c,\n"
27869 "               int len,\n"
27870 "               const char *path);\n"
27871 "\n"
27872 msgstr ""
27873
27874 #. type: textblock
27875 #: ../src/guestfs-actions.pod:2169
27876 msgid ""
27877 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
27878 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
27879 "bytes use C<guestfs_fill_pattern>."
27880 msgstr ""
27881
27882 #. type: textblock
27883 #: ../src/guestfs-actions.pod:2181
27884 msgid "(Added in 1.0.79)"
27885 msgstr "(Додано у 1.0.79)"
27886
27887 #. type: =head2
27888 #: ../src/guestfs-actions.pod:2183
27889 msgid "guestfs_fill_pattern"
27890 msgstr ""
27891
27892 #. type: verbatim
27893 #: ../src/guestfs-actions.pod:2185
27894 #, no-wrap
27895 msgid ""
27896 " int\n"
27897 " guestfs_fill_pattern (guestfs_h *g,\n"
27898 "                       const char *pattern,\n"
27899 "                       int len,\n"
27900 "                       const char *path);\n"
27901 "\n"
27902 msgstr ""
27903
27904 #. type: textblock
27905 #: ../src/guestfs-actions.pod:2191
27906 msgid ""
27907 "This function is like C<guestfs_fill> except that it creates a new file of "
27908 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
27909 "pattern is truncated if necessary to ensure the length of the file is "
27910 "exactly C<len> bytes."
27911 msgstr ""
27912
27913 #. type: textblock
27914 #: ../src/guestfs-actions.pod:2203
27915 msgid "(Added in 1.3.12)"
27916 msgstr "(Додано у 1.3.12)"
27917
27918 #. type: =head2
27919 #: ../src/guestfs-actions.pod:2205
27920 msgid "guestfs_find"
27921 msgstr ""
27922
27923 #. type: verbatim
27924 #: ../src/guestfs-actions.pod:2207
27925 #, no-wrap
27926 msgid ""
27927 " char **\n"
27928 " guestfs_find (guestfs_h *g,\n"
27929 "               const char *directory);\n"
27930 "\n"
27931 msgstr ""
27932
27933 #. type: textblock
27934 #: ../src/guestfs-actions.pod:2223
27935 msgid ""
27936 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
27937 msgstr ""
27938
27939 #. type: textblock
27940 #: ../src/guestfs-actions.pod:2236
27941 msgid "See also C<guestfs_find0>."
27942 msgstr ""
27943
27944 #. type: textblock
27945 #: ../src/guestfs-actions.pod:2245 ../src/guestfs-actions.pod:4757
27946 #: ../src/guestfs-actions.pod:6474
27947 msgid "(Added in 1.0.27)"
27948 msgstr "(Додано у 1.0.27)"
27949
27950 #. type: =head2
27951 #: ../src/guestfs-actions.pod:2247
27952 msgid "guestfs_find0"
27953 msgstr ""
27954
27955 #. type: verbatim
27956 #: ../src/guestfs-actions.pod:2249
27957 #, no-wrap
27958 msgid ""
27959 " int\n"
27960 " guestfs_find0 (guestfs_h *g,\n"
27961 "                const char *directory,\n"
27962 "                const char *files);\n"
27963 "\n"
27964 msgstr ""
27965
27966 #. type: textblock
27967 #: ../src/guestfs-actions.pod:2258
27968 msgid ""
27969 "This command works the same way as C<guestfs_find> with the following "
27970 "exceptions:"
27971 msgstr ""
27972
27973 #. type: textblock
27974 #: ../src/guestfs-actions.pod:2285
27975 msgid "(Added in 1.0.74)"
27976 msgstr "(Додано у 1.0.74)"
27977
27978 #. type: =head2
27979 #: ../src/guestfs-actions.pod:2287
27980 msgid "guestfs_findfs_label"
27981 msgstr ""
27982
27983 #. type: verbatim
27984 #: ../src/guestfs-actions.pod:2289
27985 #, no-wrap
27986 msgid ""
27987 " char *\n"
27988 " guestfs_findfs_label (guestfs_h *g,\n"
27989 "                       const char *label);\n"
27990 "\n"
27991 msgstr ""
27992
27993 #. type: textblock
27994 #: ../src/guestfs-actions.pod:2297
27995 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
27996 msgstr ""
27997
27998 #. type: =head2
27999 #: ../src/guestfs-actions.pod:2304
28000 msgid "guestfs_findfs_uuid"
28001 msgstr ""
28002
28003 #. type: verbatim
28004 #: ../src/guestfs-actions.pod:2306
28005 #, no-wrap
28006 msgid ""
28007 " char *\n"
28008 " guestfs_findfs_uuid (guestfs_h *g,\n"
28009 "                      const char *uuid);\n"
28010 "\n"
28011 msgstr ""
28012
28013 #. type: textblock
28014 #: ../src/guestfs-actions.pod:2314
28015 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
28016 msgstr ""
28017
28018 #. type: =head2
28019 #: ../src/guestfs-actions.pod:2321
28020 msgid "guestfs_fsck"
28021 msgstr ""
28022
28023 #. type: verbatim
28024 #: ../src/guestfs-actions.pod:2323
28025 #, no-wrap
28026 msgid ""
28027 " int\n"
28028 " guestfs_fsck (guestfs_h *g,\n"
28029 "               const char *fstype,\n"
28030 "               const char *device);\n"
28031 "\n"
28032 msgstr ""
28033
28034 #. type: textblock
28035 #: ../src/guestfs-actions.pod:2358 ../src/guestfs-actions.pod:8253
28036 msgid "(Added in 1.0.16)"
28037 msgstr "(Додано у 1.0.16)"
28038
28039 #. type: =head2
28040 #: ../src/guestfs-actions.pod:2360
28041 msgid "guestfs_get_append"
28042 msgstr ""
28043
28044 #. type: verbatim
28045 #: ../src/guestfs-actions.pod:2362
28046 #, no-wrap
28047 msgid ""
28048 " const char *\n"
28049 " guestfs_get_append (guestfs_h *g);\n"
28050 "\n"
28051 msgstr ""
28052
28053 #. type: textblock
28054 #: ../src/guestfs-actions.pod:2370
28055 msgid ""
28056 "This function returns a string which may be NULL.  There is no way to return "
28057 "an error from this function.  The string is owned by the guest handle and "
28058 "must I<not> be freed."
28059 msgstr ""
28060
28061 #. type: textblock
28062 #: ../src/guestfs-actions.pod:2374 ../src/guestfs-actions.pod:6152
28063 #: ../src/guestfs-actions.pod:6631 ../src/guestfs-actions.pod:7080
28064 #: ../src/guestfs-actions.pod:7099 ../src/guestfs-actions.pod:7115
28065 #: ../src/guestfs-actions.pod:7139 ../src/guestfs-actions.pod:7893
28066 #: ../src/guestfs-actions.pod:7908 ../src/guestfs-actions.pod:8297
28067 msgid "(Added in 1.0.26)"
28068 msgstr "(Додано у 1.0.26)"
28069
28070 #. type: =head2
28071 #: ../src/guestfs-actions.pod:2376
28072 msgid "guestfs_get_attach_method"
28073 msgstr ""
28074
28075 #. type: verbatim
28076 #: ../src/guestfs-actions.pod:2378
28077 #, no-wrap
28078 msgid ""
28079 " char *\n"
28080 " guestfs_get_attach_method (guestfs_h *g);\n"
28081 "\n"
28082 msgstr ""
28083
28084 #. type: textblock
28085 #: ../src/guestfs-actions.pod:2381
28086 msgid "Return the current attach method.  See C<guestfs_set_attach_method>."
28087 msgstr ""
28088
28089 #. type: textblock
28090 #: ../src/guestfs-actions.pod:2386 ../src/guestfs-actions.pod:6661
28091 msgid "(Added in 1.9.8)"
28092 msgstr "(Додано у 1.9.8)"
28093
28094 #. type: =head2
28095 #: ../src/guestfs-actions.pod:2388
28096 msgid "guestfs_get_autosync"
28097 msgstr ""
28098
28099 #. type: verbatim
28100 #: ../src/guestfs-actions.pod:2390
28101 #, no-wrap
28102 msgid ""
28103 " int\n"
28104 " guestfs_get_autosync (guestfs_h *g);\n"
28105 "\n"
28106 msgstr ""
28107
28108 #. type: =head2
28109 #: ../src/guestfs-actions.pod:2399
28110 msgid "guestfs_get_direct"
28111 msgstr ""
28112
28113 #. type: verbatim
28114 #: ../src/guestfs-actions.pod:2401
28115 #, no-wrap
28116 msgid ""
28117 " int\n"
28118 " guestfs_get_direct (guestfs_h *g);\n"
28119 "\n"
28120 msgstr ""
28121
28122 #. type: textblock
28123 #: ../src/guestfs-actions.pod:2408 ../src/guestfs-actions.pod:6702
28124 msgid "(Added in 1.0.72)"
28125 msgstr "(Додано у 1.0.72)"
28126
28127 #. type: =head2
28128 #: ../src/guestfs-actions.pod:2410
28129 msgid "guestfs_get_e2label"
28130 msgstr ""
28131
28132 #. type: verbatim
28133 #: ../src/guestfs-actions.pod:2412
28134 #, no-wrap
28135 msgid ""
28136 " char *\n"
28137 " guestfs_get_e2label (guestfs_h *g,\n"
28138 "                      const char *device);\n"
28139 "\n"
28140 msgstr ""
28141
28142 #. type: textblock
28143 #: ../src/guestfs-actions.pod:2416
28144 msgid ""
28145 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_label> "
28146 "call instead."
28147 msgstr ""
28148
28149 #. type: textblock
28150 #: ../src/guestfs-actions.pod:2429 ../src/guestfs-actions.pod:2450
28151 #: ../src/guestfs-actions.pod:6720 ../src/guestfs-actions.pod:6739
28152 msgid "(Added in 1.0.15)"
28153 msgstr "(Додано у 1.0.15)"
28154
28155 #. type: =head2
28156 #: ../src/guestfs-actions.pod:2431
28157 msgid "guestfs_get_e2uuid"
28158 msgstr ""
28159
28160 #. type: verbatim
28161 #: ../src/guestfs-actions.pod:2433
28162 #, no-wrap
28163 msgid ""
28164 " char *\n"
28165 " guestfs_get_e2uuid (guestfs_h *g,\n"
28166 "                     const char *device);\n"
28167 "\n"
28168 msgstr ""
28169
28170 #. type: textblock
28171 #: ../src/guestfs-actions.pod:2437
28172 msgid ""
28173 "I<This function is deprecated.> In new code, use the L</guestfs_vfs_uuid> "
28174 "call instead."
28175 msgstr ""
28176
28177 #. type: =head2
28178 #: ../src/guestfs-actions.pod:2452
28179 msgid "guestfs_get_memsize"
28180 msgstr ""
28181
28182 #. type: verbatim
28183 #: ../src/guestfs-actions.pod:2454
28184 #, no-wrap
28185 msgid ""
28186 " int\n"
28187 " guestfs_get_memsize (guestfs_h *g);\n"
28188 "\n"
28189 msgstr ""
28190
28191 #. type: textblock
28192 #: ../src/guestfs-actions.pod:2460
28193 msgid ""
28194 "If C<guestfs_set_memsize> was not called on this handle, and if "
28195 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
28196 "value for memsize."
28197 msgstr ""
28198
28199 #. type: textblock
28200 #: ../src/guestfs-actions.pod:2469 ../src/guestfs-actions.pod:5048
28201 #: ../src/guestfs-actions.pod:5257 ../src/guestfs-actions.pod:5276
28202 #: ../src/guestfs-actions.pod:5295 ../src/guestfs-actions.pod:5307
28203 #: ../src/guestfs-actions.pod:5324 ../src/guestfs-actions.pod:5337
28204 #: ../src/guestfs-actions.pod:6377 ../src/guestfs-actions.pod:6760
28205 #: ../src/guestfs-actions.pod:7050 ../src/guestfs-actions.pod:7662
28206 msgid "(Added in 1.0.55)"
28207 msgstr "(Додано у 1.0.55)"
28208
28209 #. type: =head2
28210 #: ../src/guestfs-actions.pod:2471
28211 msgid "guestfs_get_network"
28212 msgstr ""
28213
28214 #. type: verbatim
28215 #: ../src/guestfs-actions.pod:2473
28216 #, no-wrap
28217 msgid ""
28218 " int\n"
28219 " guestfs_get_network (guestfs_h *g);\n"
28220 "\n"
28221 msgstr ""
28222
28223 #. type: textblock
28224 #: ../src/guestfs-actions.pod:2480 ../src/guestfs-actions.pod:6779
28225 msgid "(Added in 1.5.4)"
28226 msgstr "(Додано у 1.5.4)"
28227
28228 #. type: =head2
28229 #: ../src/guestfs-actions.pod:2482
28230 msgid "guestfs_get_path"
28231 msgstr ""
28232
28233 #. type: verbatim
28234 #: ../src/guestfs-actions.pod:2484
28235 #, no-wrap
28236 msgid ""
28237 " const char *\n"
28238 " guestfs_get_path (guestfs_h *g);\n"
28239 "\n"
28240 msgstr ""
28241
28242 #. type: textblock
28243 #: ../src/guestfs-actions.pod:2492 ../src/guestfs-actions.pod:2532
28244 msgid ""
28245 "This function returns a string, or NULL on error.  The string is owned by "
28246 "the guest handle and must I<not> be freed."
28247 msgstr ""
28248
28249 #. type: =head2
28250 #: ../src/guestfs-actions.pod:2497
28251 msgid "guestfs_get_pgroup"
28252 msgstr ""
28253
28254 #. type: verbatim
28255 #: ../src/guestfs-actions.pod:2499
28256 #, no-wrap
28257 msgid ""
28258 " int\n"
28259 " guestfs_get_pgroup (guestfs_h *g);\n"
28260 "\n"
28261 msgstr ""
28262
28263 #. type: textblock
28264 #: ../src/guestfs-actions.pod:2506 ../src/guestfs-actions.pod:6815
28265 #: ../src/guestfs-actions.pod:8154
28266 msgid "(Added in 1.11.18)"
28267 msgstr "(Додано у 1.11.18)"
28268
28269 #. type: =head2
28270 #: ../src/guestfs-actions.pod:2508
28271 msgid "guestfs_get_pid"
28272 msgstr ""
28273
28274 #. type: verbatim
28275 #: ../src/guestfs-actions.pod:2510
28276 #, no-wrap
28277 msgid ""
28278 " int\n"
28279 " guestfs_get_pid (guestfs_h *g);\n"
28280 "\n"
28281 msgstr ""
28282
28283 #. type: textblock
28284 #: ../src/guestfs-actions.pod:2520
28285 msgid "(Added in 1.0.56)"
28286 msgstr "(Додано у 1.0.56)"
28287
28288 #. type: =head2
28289 #: ../src/guestfs-actions.pod:2522
28290 msgid "guestfs_get_qemu"
28291 msgstr ""
28292
28293 #. type: verbatim
28294 #: ../src/guestfs-actions.pod:2524
28295 #, no-wrap
28296 msgid ""
28297 " const char *\n"
28298 " guestfs_get_qemu (guestfs_h *g);\n"
28299 "\n"
28300 msgstr ""
28301
28302 #. type: textblock
28303 #: ../src/guestfs-actions.pod:2535 ../src/guestfs-actions.pod:6843
28304 msgid "(Added in 1.0.6)"
28305 msgstr "(Додано у 1.0.6)"
28306
28307 #. type: =head2
28308 #: ../src/guestfs-actions.pod:2537
28309 msgid "guestfs_get_recovery_proc"
28310 msgstr ""
28311
28312 #. type: verbatim
28313 #: ../src/guestfs-actions.pod:2539
28314 #, no-wrap
28315 msgid ""
28316 " int\n"
28317 " guestfs_get_recovery_proc (guestfs_h *g);\n"
28318 "\n"
28319 msgstr ""
28320
28321 #. type: textblock
28322 #: ../src/guestfs-actions.pod:2546 ../src/guestfs-actions.pod:4130
28323 #: ../src/guestfs-actions.pod:4461 ../src/guestfs-actions.pod:4855
28324 #: ../src/guestfs-actions.pod:4887 ../src/guestfs-actions.pod:6082
28325 #: ../src/guestfs-actions.pod:6425 ../src/guestfs-actions.pod:6867
28326 #: ../src/guestfs-actions.pod:7565 ../src/guestfs-actions.pod:7585
28327 #: ../src/guestfs-actions.pod:7777
28328 msgid "(Added in 1.0.77)"
28329 msgstr "(Додано у 1.0.77)"
28330
28331 #. type: =head2
28332 #: ../src/guestfs-actions.pod:2548
28333 msgid "guestfs_get_selinux"
28334 msgstr ""
28335
28336 #. type: verbatim
28337 #: ../src/guestfs-actions.pod:2550
28338 #, no-wrap
28339 msgid ""
28340 " int\n"
28341 " guestfs_get_selinux (guestfs_h *g);\n"
28342 "\n"
28343 msgstr ""
28344
28345 #. type: textblock
28346 #: ../src/guestfs-actions.pod:2553
28347 msgid ""
28348 "This returns the current setting of the selinux flag which is passed to the "
28349 "appliance at boot time.  See C<guestfs_set_selinux>."
28350 msgstr ""
28351
28352 #. type: textblock
28353 #: ../src/guestfs-actions.pod:2561 ../src/guestfs-actions.pod:2635
28354 #: ../src/guestfs-actions.pod:6886 ../src/guestfs-actions.pod:6960
28355 msgid "(Added in 1.0.67)"
28356 msgstr "(Додано у 1.0.67)"
28357
28358 #. type: =head2
28359 #: ../src/guestfs-actions.pod:2563
28360 msgid "guestfs_get_smp"
28361 msgstr ""
28362
28363 #. type: verbatim
28364 #: ../src/guestfs-actions.pod:2565
28365 #, no-wrap
28366 msgid ""
28367 " int\n"
28368 " guestfs_get_smp (guestfs_h *g);\n"
28369 "\n"
28370 msgstr ""
28371
28372 #. type: =head2
28373 #: ../src/guestfs-actions.pod:2574
28374 msgid "guestfs_get_state"
28375 msgstr ""
28376
28377 #. type: verbatim
28378 #: ../src/guestfs-actions.pod:2576
28379 #, no-wrap
28380 msgid ""
28381 " int\n"
28382 " guestfs_get_state (guestfs_h *g);\n"
28383 "\n"
28384 msgstr ""
28385
28386 #. type: =head2
28387 #: ../src/guestfs-actions.pod:2588
28388 msgid "guestfs_get_trace"
28389 msgstr ""
28390
28391 #. type: verbatim
28392 #: ../src/guestfs-actions.pod:2590
28393 #, no-wrap
28394 msgid ""
28395 " int\n"
28396 " guestfs_get_trace (guestfs_h *g);\n"
28397 "\n"
28398 msgstr ""
28399
28400 #. type: =head2
28401 #: ../src/guestfs-actions.pod:2599
28402 msgid "guestfs_get_umask"
28403 msgstr ""
28404
28405 #. type: verbatim
28406 #: ../src/guestfs-actions.pod:2601
28407 #, no-wrap
28408 msgid ""
28409 " int\n"
28410 " guestfs_get_umask (guestfs_h *g);\n"
28411 "\n"
28412 msgstr ""
28413
28414 #. type: textblock
28415 #: ../src/guestfs-actions.pod:2604
28416 msgid ""
28417 "Return the current umask.  By default the umask is C<022> unless it has been "
28418 "set by calling C<guestfs_umask>."
28419 msgstr ""
28420
28421 #. type: =head2
28422 #: ../src/guestfs-actions.pod:2611
28423 msgid "guestfs_get_verbose"
28424 msgstr ""
28425
28426 #. type: verbatim
28427 #: ../src/guestfs-actions.pod:2613
28428 #, no-wrap
28429 msgid ""
28430 " int\n"
28431 " guestfs_get_verbose (guestfs_h *g);\n"
28432 "\n"
28433 msgstr ""
28434
28435 #. type: =head2
28436 #: ../src/guestfs-actions.pod:2622
28437 msgid "guestfs_getcon"
28438 msgstr ""
28439
28440 #. type: verbatim
28441 #: ../src/guestfs-actions.pod:2624
28442 #, no-wrap
28443 msgid ""
28444 " char *\n"
28445 " guestfs_getcon (guestfs_h *g);\n"
28446 "\n"
28447 msgstr ""
28448
28449 #. type: textblock
28450 #: ../src/guestfs-actions.pod:2629
28451 msgid ""
28452 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
28453 msgstr ""
28454
28455 #. type: =head2
28456 #: ../src/guestfs-actions.pod:2637
28457 msgid "guestfs_getxattr"
28458 msgstr ""
28459
28460 #. type: verbatim
28461 #: ../src/guestfs-actions.pod:2639
28462 #, no-wrap
28463 msgid ""
28464 " char *\n"
28465 " guestfs_getxattr (guestfs_h *g,\n"
28466 "                   const char *path,\n"
28467 "                   const char *name,\n"
28468 "                   size_t *size_r);\n"
28469 "\n"
28470 msgstr ""
28471
28472 #. type: textblock
28473 #: ../src/guestfs-actions.pod:2645
28474 msgid ""
28475 "Get a single extended attribute from file C<path> named C<name>.  This call "
28476 "follows symlinks.  If you want to lookup an extended attribute for the "
28477 "symlink itself, use C<guestfs_lgetxattr>."
28478 msgstr ""
28479
28480 #. type: textblock
28481 #: ../src/guestfs-actions.pod:2649 ../src/guestfs-actions.pod:4144
28482 msgid ""
28483 "Normally it is better to get all extended attributes from a file in one go "
28484 "by calling C<guestfs_getxattrs>.  However some Linux filesystem "
28485 "implementations are buggy and do not provide a way to list out attributes.  "
28486 "For these filesystems (notably ntfs-3g)  you have to know the names of the "
28487 "extended attributes you want in advance and call this function."
28488 msgstr ""
28489
28490 #. type: textblock
28491 #: ../src/guestfs-actions.pod:2659
28492 msgid "See also: C<guestfs_getxattrs>, C<guestfs_lgetxattr>, L<attr(5)>."
28493 msgstr ""
28494
28495 #. type: textblock
28496 #: ../src/guestfs-actions.pod:2661 ../src/guestfs-actions.pod:2874
28497 #: ../src/guestfs-actions.pod:3356 ../src/guestfs-actions.pod:4156
28498 #: ../src/guestfs-actions.pod:6075 ../src/guestfs-actions.pod:6101
28499 #: ../src/guestfs-actions.pod:6282
28500 msgid ""
28501 "This function returns a buffer, or NULL on error.  The size of the returned "
28502 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
28503 "after use>."
28504 msgstr ""
28505
28506 #. type: textblock
28507 #: ../src/guestfs-actions.pod:2665 ../src/guestfs-actions.pod:4160
28508 msgid "(Added in 1.7.24)"
28509 msgstr "(Додано у 1.7.24)"
28510
28511 #. type: =head2
28512 #: ../src/guestfs-actions.pod:2667
28513 msgid "guestfs_getxattrs"
28514 msgstr ""
28515
28516 #. type: verbatim
28517 #: ../src/guestfs-actions.pod:2669
28518 #, no-wrap
28519 msgid ""
28520 " struct guestfs_xattr_list *\n"
28521 " guestfs_getxattrs (guestfs_h *g,\n"
28522 "                    const char *path);\n"
28523 "\n"
28524 msgstr ""
28525
28526 #. type: textblock
28527 #: ../src/guestfs-actions.pod:2679
28528 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
28529 msgstr ""
28530
28531 #. type: textblock
28532 #: ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:4172
28533 #: ../src/guestfs-actions.pod:4851
28534 msgid ""
28535 "This function returns a C<struct guestfs_xattr_list *>, or NULL if there was "
28536 "an error.  I<The caller must call C<guestfs_free_xattr_list> after use>."
28537 msgstr ""
28538
28539 #. type: textblock
28540 #: ../src/guestfs-actions.pod:2685 ../src/guestfs-actions.pod:4176
28541 #: ../src/guestfs-actions.pod:4375 ../src/guestfs-actions.pod:4411
28542 #: ../src/guestfs-actions.pod:6455 ../src/guestfs-actions.pod:6979
28543 #: ../src/guestfs-actions.pod:8362
28544 msgid "(Added in 1.0.59)"
28545 msgstr "(Додано у 1.0.59)"
28546
28547 #. type: =head2
28548 #: ../src/guestfs-actions.pod:2687
28549 msgid "guestfs_glob_expand"
28550 msgstr ""
28551
28552 #. type: verbatim
28553 #: ../src/guestfs-actions.pod:2689
28554 #, no-wrap
28555 msgid ""
28556 " char **\n"
28557 " guestfs_glob_expand (guestfs_h *g,\n"
28558 "                      const char *pattern);\n"
28559 "\n"
28560 msgstr ""
28561
28562 #. type: textblock
28563 #: ../src/guestfs-actions.pod:2708 ../src/guestfs-actions.pod:7163
28564 #: ../src/guestfs-actions.pod:7180
28565 msgid "(Added in 1.0.50)"
28566 msgstr "(Додано у 1.0.50)"
28567
28568 #. type: =head2
28569 #: ../src/guestfs-actions.pod:2710
28570 msgid "guestfs_grep"
28571 msgstr ""
28572
28573 #. type: verbatim
28574 #: ../src/guestfs-actions.pod:2712
28575 #, no-wrap
28576 msgid ""
28577 " char **\n"
28578 " guestfs_grep (guestfs_h *g,\n"
28579 "               const char *regex,\n"
28580 "               const char *path);\n"
28581 "\n"
28582 msgstr ""
28583
28584 #. type: =head2
28585 #: ../src/guestfs-actions.pod:2729
28586 msgid "guestfs_grepi"
28587 msgstr ""
28588
28589 #. type: verbatim
28590 #: ../src/guestfs-actions.pod:2731
28591 #, no-wrap
28592 msgid ""
28593 " char **\n"
28594 " guestfs_grepi (guestfs_h *g,\n"
28595 "                const char *regex,\n"
28596 "                const char *path);\n"
28597 "\n"
28598 msgstr ""
28599
28600 #. type: =head2
28601 #: ../src/guestfs-actions.pod:2748
28602 msgid "guestfs_grub_install"
28603 msgstr ""
28604
28605 #. type: verbatim
28606 #: ../src/guestfs-actions.pod:2750
28607 #, no-wrap
28608 msgid ""
28609 " int\n"
28610 " guestfs_grub_install (guestfs_h *g,\n"
28611 "                       const char *root,\n"
28612 "                       const char *device);\n"
28613 "\n"
28614 msgstr ""
28615
28616 #. type: textblock
28617 #: ../src/guestfs-actions.pod:2793
28618 msgid "(Added in 1.0.17)"
28619 msgstr "(Додано у 1.0.17)"
28620
28621 #. type: =head2
28622 #: ../src/guestfs-actions.pod:2795
28623 msgid "guestfs_head"
28624 msgstr ""
28625
28626 #. type: verbatim
28627 #: ../src/guestfs-actions.pod:2797
28628 #, no-wrap
28629 msgid ""
28630 " char **\n"
28631 " guestfs_head (guestfs_h *g,\n"
28632 "               const char *path);\n"
28633 "\n"
28634 msgstr ""
28635
28636 #. type: =head2
28637 #: ../src/guestfs-actions.pod:2813
28638 msgid "guestfs_head_n"
28639 msgstr ""
28640
28641 #. type: verbatim
28642 #: ../src/guestfs-actions.pod:2815
28643 #, no-wrap
28644 msgid ""
28645 " char **\n"
28646 " guestfs_head_n (guestfs_h *g,\n"
28647 "                 int nrlines,\n"
28648 "                 const char *path);\n"
28649 "\n"
28650 msgstr ""
28651
28652 #. type: =head2
28653 #: ../src/guestfs-actions.pod:2837
28654 msgid "guestfs_hexdump"
28655 msgstr ""
28656
28657 #. type: verbatim
28658 #: ../src/guestfs-actions.pod:2839
28659 #, no-wrap
28660 msgid ""
28661 " char *\n"
28662 " guestfs_hexdump (guestfs_h *g,\n"
28663 "                  const char *path);\n"
28664 "\n"
28665 msgstr ""
28666
28667 #. type: textblock
28668 #: ../src/guestfs-actions.pod:2852 ../src/guestfs-actions.pod:7244
28669 #: ../src/guestfs-actions.pod:7299
28670 msgid "(Added in 1.0.22)"
28671 msgstr "(Додано у 1.0.22)"
28672
28673 #. type: =head2
28674 #: ../src/guestfs-actions.pod:2854
28675 msgid "guestfs_initrd_cat"
28676 msgstr ""
28677
28678 #. type: verbatim
28679 #: ../src/guestfs-actions.pod:2856
28680 #, no-wrap
28681 msgid ""
28682 " char *\n"
28683 " guestfs_initrd_cat (guestfs_h *g,\n"
28684 "                     const char *initrdpath,\n"
28685 "                     const char *filename,\n"
28686 "                     size_t *size_r);\n"
28687 "\n"
28688 msgstr ""
28689
28690 #. type: textblock
28691 #: ../src/guestfs-actions.pod:2872
28692 msgid "See also C<guestfs_initrd_list>."
28693 msgstr ""
28694
28695 #. type: =head2
28696 #: ../src/guestfs-actions.pod:2883
28697 msgid "guestfs_initrd_list"
28698 msgstr ""
28699
28700 #. type: verbatim
28701 #: ../src/guestfs-actions.pod:2885
28702 #, no-wrap
28703 msgid ""
28704 " char **\n"
28705 " guestfs_initrd_list (guestfs_h *g,\n"
28706 "                      const char *path);\n"
28707 "\n"
28708 msgstr ""
28709
28710 #. type: =head2
28711 #: ../src/guestfs-actions.pod:2905
28712 msgid "guestfs_inotify_add_watch"
28713 msgstr ""
28714
28715 #. type: verbatim
28716 #: ../src/guestfs-actions.pod:2907
28717 #, no-wrap
28718 msgid ""
28719 " int64_t\n"
28720 " guestfs_inotify_add_watch (guestfs_h *g,\n"
28721 "                            const char *path,\n"
28722 "                            int mask);\n"
28723 "\n"
28724 msgstr ""
28725
28726 #. type: =head2
28727 #: ../src/guestfs-actions.pod:2926
28728 msgid "guestfs_inotify_close"
28729 msgstr ""
28730
28731 #. type: verbatim
28732 #: ../src/guestfs-actions.pod:2928
28733 #, no-wrap
28734 msgid ""
28735 " int\n"
28736 " guestfs_inotify_close (guestfs_h *g);\n"
28737 "\n"
28738 msgstr ""
28739
28740 #. type: =head2
28741 #: ../src/guestfs-actions.pod:2939
28742 msgid "guestfs_inotify_files"
28743 msgstr ""
28744
28745 #. type: verbatim
28746 #: ../src/guestfs-actions.pod:2941
28747 #, no-wrap
28748 msgid ""
28749 " char **\n"
28750 " guestfs_inotify_files (guestfs_h *g);\n"
28751 "\n"
28752 msgstr ""
28753
28754 #. type: textblock
28755 #: ../src/guestfs-actions.pod:2944
28756 msgid ""
28757 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
28758 "returns a list of pathnames of objects that were touched.  The returned "
28759 "pathnames are sorted and deduplicated."
28760 msgstr ""
28761
28762 #. type: =head2
28763 #: ../src/guestfs-actions.pod:2954
28764 msgid "guestfs_inotify_init"
28765 msgstr ""
28766
28767 #. type: verbatim
28768 #: ../src/guestfs-actions.pod:2956
28769 #, no-wrap
28770 msgid ""
28771 " int\n"
28772 " guestfs_inotify_init (guestfs_h *g,\n"
28773 "                       int maxevents);\n"
28774 "\n"
28775 msgstr ""
28776
28777 #. type: textblock
28778 #: ../src/guestfs-actions.pod:2964
28779 msgid ""
28780 "C<maxevents> is the maximum number of events which will be queued up between "
28781 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
28782 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
28783 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
28784 "throws away events, but records the fact that it threw them away by setting "
28785 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
28786 "C<guestfs_inotify_read>)."
28787 msgstr ""
28788
28789 #. type: textblock
28790 #: ../src/guestfs-actions.pod:2974
28791 msgid ""
28792 "Before any events are generated, you have to add some watches to the "
28793 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
28794 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
28795 msgstr ""
28796
28797 #. type: textblock
28798 #: ../src/guestfs-actions.pod:2980
28799 msgid ""
28800 "Queued up events should be read periodically by calling "
28801 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
28802 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
28803 "often enough then you risk the internal queue overflowing."
28804 msgstr ""
28805
28806 #. type: textblock
28807 #: ../src/guestfs-actions.pod:2987
28808 msgid ""
28809 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
28810 "This also removes any watches automatically."
28811 msgstr ""
28812
28813 #. type: =head2
28814 #: ../src/guestfs-actions.pod:3000
28815 msgid "guestfs_inotify_read"
28816 msgstr ""
28817
28818 #. type: verbatim
28819 #: ../src/guestfs-actions.pod:3002
28820 #, no-wrap
28821 msgid ""
28822 " struct guestfs_inotify_event_list *\n"
28823 " guestfs_inotify_read (guestfs_h *g);\n"
28824 "\n"
28825 msgstr ""
28826
28827 #. type: textblock
28828 #: ../src/guestfs-actions.pod:3016
28829 msgid ""
28830 "This function returns a C<struct guestfs_inotify_event_list *>, or NULL if "
28831 "there was an error.  I<The caller must call "
28832 "C<guestfs_free_inotify_event_list> after use>."
28833 msgstr ""
28834
28835 #. type: =head2
28836 #: ../src/guestfs-actions.pod:3022
28837 msgid "guestfs_inotify_rm_watch"
28838 msgstr ""
28839
28840 #. type: verbatim
28841 #: ../src/guestfs-actions.pod:3024
28842 #, no-wrap
28843 msgid ""
28844 " int\n"
28845 " guestfs_inotify_rm_watch (guestfs_h *g,\n"
28846 "                           int wd);\n"
28847 "\n"
28848 msgstr ""
28849
28850 #. type: textblock
28851 #: ../src/guestfs-actions.pod:3028
28852 msgid ""
28853 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
28854 msgstr ""
28855
28856 #. type: =head2
28857 #: ../src/guestfs-actions.pod:3035
28858 msgid "guestfs_inspect_get_arch"
28859 msgstr ""
28860
28861 #. type: verbatim
28862 #: ../src/guestfs-actions.pod:3037
28863 #, no-wrap
28864 msgid ""
28865 " char *\n"
28866 " guestfs_inspect_get_arch (guestfs_h *g,\n"
28867 "                           const char *root);\n"
28868 "\n"
28869 msgstr ""
28870
28871 #. type: textblock
28872 #: ../src/guestfs-actions.pod:3041
28873 msgid ""
28874 "This returns the architecture of the inspected operating system.  The "
28875 "possible return values are listed under C<guestfs_file_architecture>."
28876 msgstr ""
28877
28878 #. type: =head2
28879 #: ../src/guestfs-actions.pod:3055
28880 msgid "guestfs_inspect_get_distro"
28881 msgstr ""
28882
28883 #. type: verbatim
28884 #: ../src/guestfs-actions.pod:3057
28885 #, no-wrap
28886 msgid ""
28887 " char *\n"
28888 " guestfs_inspect_get_distro (guestfs_h *g,\n"
28889 "                             const char *root);\n"
28890 "\n"
28891 msgstr ""
28892
28893 #. type: =head2
28894 #: ../src/guestfs-actions.pod:3157
28895 msgid "guestfs_inspect_get_drive_mappings"
28896 msgstr ""
28897
28898 #. type: verbatim
28899 #: ../src/guestfs-actions.pod:3159
28900 #, no-wrap
28901 msgid ""
28902 " char **\n"
28903 " guestfs_inspect_get_drive_mappings (guestfs_h *g,\n"
28904 "                                     const char *root);\n"
28905 "\n"
28906 msgstr ""
28907
28908 #. type: textblock
28909 #: ../src/guestfs-actions.pod:3188
28910 msgid ""
28911 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
28912 "C<guestfs_inspect_get_mountpoints>, C<guestfs_inspect_get_filesystems>."
28913 msgstr ""
28914
28915 #. type: textblock
28916 #: ../src/guestfs-actions.pod:3192 ../src/guestfs-actions.pod:3460
28917 #: ../src/guestfs-actions.pod:4263 ../src/guestfs-actions.pod:5526
28918 #: ../src/guestfs-actions.pod:7601
28919 msgid ""
28920 "This function returns a NULL-terminated array of strings, or NULL if there "
28921 "was an error.  The array of strings will always have length C<2n+1>, where "
28922 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
28923 "caller must free the strings and the array after use>."
28924 msgstr ""
28925
28926 #. type: textblock
28927 #: ../src/guestfs-actions.pod:3198 ../src/guestfs-actions.pod:3659
28928 msgid "(Added in 1.9.17)"
28929 msgstr "(Додано у 1.9.17)"
28930
28931 #. type: =head2
28932 #: ../src/guestfs-actions.pod:3200
28933 msgid "guestfs_inspect_get_filesystems"
28934 msgstr ""
28935
28936 #. type: verbatim
28937 #: ../src/guestfs-actions.pod:3202
28938 #, no-wrap
28939 msgid ""
28940 " char **\n"
28941 " guestfs_inspect_get_filesystems (guestfs_h *g,\n"
28942 "                                  const char *root);\n"
28943 "\n"
28944 msgstr ""
28945
28946 #. type: textblock
28947 #: ../src/guestfs-actions.pod:3214
28948 msgid ""
28949 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
28950 "C<guestfs_inspect_get_mountpoints>."
28951 msgstr ""
28952
28953 #. type: =head2
28954 #: ../src/guestfs-actions.pod:3223
28955 msgid "guestfs_inspect_get_format"
28956 msgstr ""
28957
28958 #. type: verbatim
28959 #: ../src/guestfs-actions.pod:3225
28960 #, no-wrap
28961 msgid ""
28962 " char *\n"
28963 " guestfs_inspect_get_format (guestfs_h *g,\n"
28964 "                             const char *root);\n"
28965 "\n"
28966 msgstr ""
28967
28968 #. type: textblock
28969 #: ../src/guestfs-actions.pod:3259 ../src/guestfs-actions.pod:3695
28970 #: ../src/guestfs-actions.pod:3711 ../src/guestfs-actions.pod:3729
28971 #: ../src/guestfs-actions.pod:6493
28972 msgid "(Added in 1.9.4)"
28973 msgstr "(Додано у 1.9.4)"
28974
28975 #. type: =head2
28976 #: ../src/guestfs-actions.pod:3261
28977 msgid "guestfs_inspect_get_hostname"
28978 msgstr ""
28979
28980 #. type: verbatim
28981 #: ../src/guestfs-actions.pod:3263
28982 #, no-wrap
28983 msgid ""
28984 " char *\n"
28985 " guestfs_inspect_get_hostname (guestfs_h *g,\n"
28986 "                               const char *root);\n"
28987 "\n"
28988 msgstr ""
28989
28990 #. type: textblock
28991 #: ../src/guestfs-actions.pod:3278
28992 msgid "(Added in 1.7.9)"
28993 msgstr "(Додано у 1.7.9)"
28994
28995 #. type: =head2
28996 #: ../src/guestfs-actions.pod:3280
28997 msgid "guestfs_inspect_get_icon"
28998 msgstr ""
28999
29000 #. type: verbatim
29001 #: ../src/guestfs-actions.pod:3282
29002 #, no-wrap
29003 msgid ""
29004 " char *\n"
29005 " guestfs_inspect_get_icon (guestfs_h *g,\n"
29006 "                           const char *root,\n"
29007 "                           size_t *size_r,\n"
29008 "                           ...);\n"
29009 "\n"
29010 msgstr ""
29011
29012 #. type: verbatim
29013 #: ../src/guestfs-actions.pod:3293
29014 #, no-wrap
29015 msgid ""
29016 " GUESTFS_INSPECT_GET_ICON_FAVICON, int favicon,\n"
29017 " GUESTFS_INSPECT_GET_ICON_HIGHQUALITY, int highquality,\n"
29018 "\n"
29019 msgstr ""
29020
29021 #. type: textblock
29022 #: ../src/guestfs-actions.pod:3360 ../src/guestfs-actions.pod:4190
29023 #: ../src/guestfs-actions.pod:5425
29024 msgid "(Added in 1.11.12)"
29025 msgstr "(Додано у 1.11.12)"
29026
29027 #. type: =head2
29028 #: ../src/guestfs-actions.pod:3362
29029 msgid "guestfs_inspect_get_icon_va"
29030 msgstr ""
29031
29032 #. type: verbatim
29033 #: ../src/guestfs-actions.pod:3364
29034 #, no-wrap
29035 msgid ""
29036 " char *\n"
29037 " guestfs_inspect_get_icon_va (guestfs_h *g,\n"
29038 "                              const char *root,\n"
29039 "                              size_t *size_r,\n"
29040 "                              va_list args);\n"
29041 "\n"
29042 msgstr ""
29043
29044 #. type: textblock
29045 #: ../src/guestfs-actions.pod:3370
29046 msgid "This is the \"va_list variant\" of L</guestfs_inspect_get_icon>."
29047 msgstr ""
29048
29049 #. type: =head2
29050 #: ../src/guestfs-actions.pod:3374
29051 msgid "guestfs_inspect_get_icon_argv"
29052 msgstr ""
29053
29054 #. type: verbatim
29055 #: ../src/guestfs-actions.pod:3376
29056 #, no-wrap
29057 msgid ""
29058 " char *\n"
29059 " guestfs_inspect_get_icon_argv (guestfs_h *g,\n"
29060 "                                const char *root,\n"
29061 "                                size_t *size_r,\n"
29062 "                                const struct guestfs_inspect_get_icon_argv *optargs);\n"
29063 "\n"
29064 msgstr ""
29065
29066 #. type: textblock
29067 #: ../src/guestfs-actions.pod:3382
29068 msgid "This is the \"argv variant\" of L</guestfs_inspect_get_icon>."
29069 msgstr ""
29070
29071 #. type: =head2
29072 #: ../src/guestfs-actions.pod:3386
29073 msgid "guestfs_inspect_get_major_version"
29074 msgstr ""
29075
29076 #. type: verbatim
29077 #: ../src/guestfs-actions.pod:3388
29078 #, no-wrap
29079 msgid ""
29080 " int\n"
29081 " guestfs_inspect_get_major_version (guestfs_h *g,\n"
29082 "                                    const char *root);\n"
29083 "\n"
29084 msgstr ""
29085
29086 #. type: =head2
29087 #: ../src/guestfs-actions.pod:3410
29088 msgid "guestfs_inspect_get_minor_version"
29089 msgstr ""
29090
29091 #. type: verbatim
29092 #: ../src/guestfs-actions.pod:3412
29093 #, no-wrap
29094 msgid ""
29095 " int\n"
29096 " guestfs_inspect_get_minor_version (guestfs_h *g,\n"
29097 "                                    const char *root);\n"
29098 "\n"
29099 msgstr ""
29100
29101 #. type: textblock
29102 #: ../src/guestfs-actions.pod:3421
29103 msgid ""
29104 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29105 "C<guestfs_inspect_get_major_version>."
29106 msgstr ""
29107
29108 #. type: =head2
29109 #: ../src/guestfs-actions.pod:3428
29110 msgid "guestfs_inspect_get_mountpoints"
29111 msgstr ""
29112
29113 #. type: verbatim
29114 #: ../src/guestfs-actions.pod:3430
29115 #, no-wrap
29116 msgid ""
29117 " char **\n"
29118 " guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
29119 "                                  const char *root);\n"
29120 "\n"
29121 msgstr ""
29122
29123 #. type: textblock
29124 #: ../src/guestfs-actions.pod:3451
29125 msgid ""
29126 "For operating systems like Windows which still use drive letters, this call "
29127 "will only return an entry for the first drive \"mounted on\" C</>.  For "
29128 "information about the mapping of drive letters to partitions, see "
29129 "C<guestfs_inspect_get_drive_mappings>."
29130 msgstr ""
29131
29132 #. type: textblock
29133 #: ../src/guestfs-actions.pod:3457
29134 msgid ""
29135 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29136 "C<guestfs_inspect_get_filesystems>."
29137 msgstr ""
29138
29139 #. type: =head2
29140 #: ../src/guestfs-actions.pod:3468
29141 msgid "guestfs_inspect_get_package_format"
29142 msgstr ""
29143
29144 #. type: verbatim
29145 #: ../src/guestfs-actions.pod:3470
29146 #, no-wrap
29147 msgid ""
29148 " char *\n"
29149 " guestfs_inspect_get_package_format (guestfs_h *g,\n"
29150 "                                     const char *root);\n"
29151 "\n"
29152 msgstr ""
29153
29154 #. type: textblock
29155 #: ../src/guestfs-actions.pod:3474
29156 msgid ""
29157 "This function and C<guestfs_inspect_get_package_management> return the "
29158 "package format and package management tool used by the inspected operating "
29159 "system.  For example for Fedora these functions would return C<rpm> (package "
29160 "format) and C<yum> (package management)."
29161 msgstr ""
29162
29163 #. type: textblock
29164 #: ../src/guestfs-actions.pod:3493 ../src/guestfs-actions.pod:3521
29165 msgid "(Added in 1.7.5)"
29166 msgstr "(Додано у 1.7.5)"
29167
29168 #. type: =head2
29169 #: ../src/guestfs-actions.pod:3495
29170 msgid "guestfs_inspect_get_package_management"
29171 msgstr ""
29172
29173 #. type: verbatim
29174 #: ../src/guestfs-actions.pod:3497
29175 #, no-wrap
29176 msgid ""
29177 " char *\n"
29178 " guestfs_inspect_get_package_management (guestfs_h *g,\n"
29179 "                                         const char *root);\n"
29180 "\n"
29181 msgstr ""
29182
29183 #. type: textblock
29184 #: ../src/guestfs-actions.pod:3501
29185 msgid ""
29186 "C<guestfs_inspect_get_package_format> and this function return the package "
29187 "format and package management tool used by the inspected operating system.  "
29188 "For example for Fedora these functions would return C<rpm> (package format) "
29189 "and C<yum> (package management)."
29190 msgstr ""
29191
29192 #. type: =head2
29193 #: ../src/guestfs-actions.pod:3523
29194 msgid "guestfs_inspect_get_product_name"
29195 msgstr ""
29196
29197 #. type: verbatim
29198 #: ../src/guestfs-actions.pod:3525
29199 #, no-wrap
29200 msgid ""
29201 " char *\n"
29202 " guestfs_inspect_get_product_name (guestfs_h *g,\n"
29203 "                                   const char *root);\n"
29204 "\n"
29205 msgstr ""
29206
29207 #. type: =head2
29208 #: ../src/guestfs-actions.pod:3544
29209 msgid "guestfs_inspect_get_product_variant"
29210 msgstr ""
29211
29212 #. type: verbatim
29213 #: ../src/guestfs-actions.pod:3546
29214 #, no-wrap
29215 msgid ""
29216 " char *\n"
29217 " guestfs_inspect_get_product_variant (guestfs_h *g,\n"
29218 "                                      const char *root);\n"
29219 "\n"
29220 msgstr ""
29221
29222 #. type: textblock
29223 #: ../src/guestfs-actions.pod:3569
29224 msgid ""
29225 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
29226 "C<guestfs_inspect_get_product_name>, C<guestfs_inspect_get_major_version>."
29227 msgstr ""
29228
29229 #. type: textblock
29230 #: ../src/guestfs-actions.pod:3576
29231 msgid "(Added in 1.9.13)"
29232 msgstr "(Додано у 1.9.13)"
29233
29234 #. type: =head2
29235 #: ../src/guestfs-actions.pod:3578
29236 msgid "guestfs_inspect_get_roots"
29237 msgstr ""
29238
29239 #. type: verbatim
29240 #: ../src/guestfs-actions.pod:3580
29241 #, no-wrap
29242 msgid ""
29243 " char **\n"
29244 " guestfs_inspect_get_roots (guestfs_h *g);\n"
29245 "\n"
29246 msgstr ""
29247
29248 #. type: textblock
29249 #: ../src/guestfs-actions.pod:3583
29250 msgid ""
29251 "This function is a convenient way to get the list of root devices, as "
29252 "returned from a previous call to C<guestfs_inspect_os>, but without redoing "
29253 "the whole inspection process."
29254 msgstr ""
29255
29256 #. type: textblock
29257 #: ../src/guestfs-actions.pod:3587
29258 msgid ""
29259 "This returns an empty list if either no root devices were found or the "
29260 "caller has not called C<guestfs_inspect_os>."
29261 msgstr ""
29262
29263 #. type: textblock
29264 #: ../src/guestfs-actions.pod:3596
29265 msgid "(Added in 1.7.3)"
29266 msgstr "(Додано у 1.7.3)"
29267
29268 #. type: =head2
29269 #: ../src/guestfs-actions.pod:3598
29270 msgid "guestfs_inspect_get_type"
29271 msgstr ""
29272
29273 #. type: verbatim
29274 #: ../src/guestfs-actions.pod:3600
29275 #, no-wrap
29276 msgid ""
29277 " char *\n"
29278 " guestfs_inspect_get_type (guestfs_h *g,\n"
29279 "                           const char *root);\n"
29280 "\n"
29281 msgstr ""
29282
29283 #. type: =head2
29284 #: ../src/guestfs-actions.pod:3641
29285 msgid "guestfs_inspect_get_windows_current_control_set"
29286 msgstr ""
29287
29288 #. type: verbatim
29289 #: ../src/guestfs-actions.pod:3643
29290 #, no-wrap
29291 msgid ""
29292 " char *\n"
29293 " guestfs_inspect_get_windows_current_control_set (guestfs_h *g,\n"
29294 "                                                  const char *root);\n"
29295 "\n"
29296 msgstr ""
29297
29298 #. type: =head2
29299 #: ../src/guestfs-actions.pod:3661
29300 msgid "guestfs_inspect_get_windows_systemroot"
29301 msgstr ""
29302
29303 #. type: verbatim
29304 #: ../src/guestfs-actions.pod:3663
29305 #, no-wrap
29306 msgid ""
29307 " char *\n"
29308 " guestfs_inspect_get_windows_systemroot (guestfs_h *g,\n"
29309 "                                         const char *root);\n"
29310 "\n"
29311 msgstr ""
29312
29313 #. type: textblock
29314 #: ../src/guestfs-actions.pod:3679
29315 msgid "(Added in 1.5.25)"
29316 msgstr "(Додано у 1.5.25)"
29317
29318 #. type: =head2
29319 #: ../src/guestfs-actions.pod:3681
29320 msgid "guestfs_inspect_is_live"
29321 msgstr ""
29322
29323 #. type: verbatim
29324 #: ../src/guestfs-actions.pod:3683
29325 #, no-wrap
29326 msgid ""
29327 " int\n"
29328 " guestfs_inspect_is_live (guestfs_h *g,\n"
29329 "                          const char *root);\n"
29330 "\n"
29331 msgstr ""
29332
29333 #. type: textblock
29334 #: ../src/guestfs-actions.pod:3687
29335 msgid ""
29336 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29337 "disk), then this returns true if a live image was detected on the disk."
29338 msgstr ""
29339
29340 #. type: =head2
29341 #: ../src/guestfs-actions.pod:3697
29342 msgid "guestfs_inspect_is_multipart"
29343 msgstr ""
29344
29345 #. type: verbatim
29346 #: ../src/guestfs-actions.pod:3699
29347 #, no-wrap
29348 msgid ""
29349 " int\n"
29350 " guestfs_inspect_is_multipart (guestfs_h *g,\n"
29351 "                               const char *root);\n"
29352 "\n"
29353 msgstr ""
29354
29355 #. type: textblock
29356 #: ../src/guestfs-actions.pod:3703
29357 msgid ""
29358 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29359 "disk), then this returns true if the disk is part of a set."
29360 msgstr ""
29361
29362 #. type: =head2
29363 #: ../src/guestfs-actions.pod:3713
29364 msgid "guestfs_inspect_is_netinst"
29365 msgstr ""
29366
29367 #. type: verbatim
29368 #: ../src/guestfs-actions.pod:3715
29369 #, no-wrap
29370 msgid ""
29371 " int\n"
29372 " guestfs_inspect_is_netinst (guestfs_h *g,\n"
29373 "                             const char *root);\n"
29374 "\n"
29375 msgstr ""
29376
29377 #. type: textblock
29378 #: ../src/guestfs-actions.pod:3719
29379 msgid ""
29380 "If C<guestfs_inspect_get_format> returns C<installer> (this is an install "
29381 "disk), then this returns true if the disk is a network installer, ie. not a "
29382 "self-contained install CD but one which is likely to require network access "
29383 "to complete the install."
29384 msgstr ""
29385
29386 #. type: =head2
29387 #: ../src/guestfs-actions.pod:3731
29388 msgid "guestfs_inspect_list_applications"
29389 msgstr ""
29390
29391 #. type: verbatim
29392 #: ../src/guestfs-actions.pod:3733
29393 #, no-wrap
29394 msgid ""
29395 " struct guestfs_application_list *\n"
29396 " guestfs_inspect_list_applications (guestfs_h *g,\n"
29397 "                                    const char *root);\n"
29398 "\n"
29399 msgstr ""
29400
29401 #. type: textblock
29402 #: ../src/guestfs-actions.pod:3739
29403 msgid ""
29404 "I<Note:> This call works differently from other parts of the inspection "
29405 "API.  You have to call C<guestfs_inspect_os>, then "
29406 "C<guestfs_inspect_get_mountpoints>, then mount up the disks, before calling "
29407 "this.  Listing applications is a significantly more difficult operation "
29408 "which requires access to the full filesystem.  Also note that unlike the "
29409 "other C<guestfs_inspect_get_*> calls which are just returning data cached in "
29410 "the libguestfs handle, this call actually reads parts of the mounted "
29411 "filesystems during the call."
29412 msgstr ""
29413
29414 #. type: textblock
29415 #: ../src/guestfs-actions.pod:3829
29416 msgid ""
29417 "This function returns a C<struct guestfs_application_list *>, or NULL if "
29418 "there was an error.  I<The caller must call C<guestfs_free_application_list> "
29419 "after use>."
29420 msgstr ""
29421
29422 #. type: textblock
29423 #: ../src/guestfs-actions.pod:3833
29424 msgid "(Added in 1.7.8)"
29425 msgstr "(Додано у 1.7.8)"
29426
29427 #. type: =head2
29428 #: ../src/guestfs-actions.pod:3835
29429 msgid "guestfs_inspect_os"
29430 msgstr ""
29431
29432 #. type: verbatim
29433 #: ../src/guestfs-actions.pod:3837
29434 #, no-wrap
29435 msgid ""
29436 " char **\n"
29437 " guestfs_inspect_os (guestfs_h *g);\n"
29438 "\n"
29439 msgstr ""
29440
29441 #. type: textblock
29442 #: ../src/guestfs-actions.pod:3853
29443 msgid ""
29444 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
29445 "functions in order to query further information about each operating system, "
29446 "such as the name and version."
29447 msgstr ""
29448
29449 #. type: textblock
29450 #: ../src/guestfs-actions.pod:3858
29451 msgid ""
29452 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
29453 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
29454 "the contents.  This should be called with no disks currently mounted.  The "
29455 "function may also use Augeas, so any existing Augeas handle will be closed."
29456 msgstr ""
29457
29458 #. type: textblock
29459 #: ../src/guestfs-actions.pod:3870 ../src/guestfs-actions.pod:4201
29460 #: ../src/guestfs-actions.pod:4283
29461 msgid "See also C<guestfs_list_filesystems>."
29462 msgstr ""
29463
29464 #. type: =head2
29465 #: ../src/guestfs-actions.pod:3878
29466 msgid "guestfs_is_blockdev"
29467 msgstr ""
29468
29469 #. type: verbatim
29470 #: ../src/guestfs-actions.pod:3880
29471 #, no-wrap
29472 msgid ""
29473 " int\n"
29474 " guestfs_is_blockdev (guestfs_h *g,\n"
29475 "                      const char *path);\n"
29476 "\n"
29477 msgstr ""
29478
29479 #. type: textblock
29480 #: ../src/guestfs-actions.pod:3887 ../src/guestfs-actions.pod:3916
29481 #: ../src/guestfs-actions.pod:3946 ../src/guestfs-actions.pod:3961
29482 #: ../src/guestfs-actions.pod:3977 ../src/guestfs-actions.pod:4033
29483 #: ../src/guestfs-actions.pod:4048
29484 msgid "See also C<guestfs_stat>."
29485 msgstr ""
29486
29487 #. type: textblock
29488 #: ../src/guestfs-actions.pod:3891 ../src/guestfs-actions.pod:3920
29489 #: ../src/guestfs-actions.pod:3965 ../src/guestfs-actions.pod:4037
29490 #: ../src/guestfs-actions.pod:4052
29491 msgid "(Added in 1.5.10)"
29492 msgstr "(Додано у 1.5.10)"
29493
29494 #. type: =head2
29495 #: ../src/guestfs-actions.pod:3893
29496 msgid "guestfs_is_busy"
29497 msgstr ""
29498
29499 #. type: verbatim
29500 #: ../src/guestfs-actions.pod:3895
29501 #, no-wrap
29502 msgid ""
29503 " int\n"
29504 " guestfs_is_busy (guestfs_h *g);\n"
29505 "\n"
29506 msgstr ""
29507
29508 #. type: =head2
29509 #: ../src/guestfs-actions.pod:3907
29510 msgid "guestfs_is_chardev"
29511 msgstr ""
29512
29513 #. type: verbatim
29514 #: ../src/guestfs-actions.pod:3909
29515 #, no-wrap
29516 msgid ""
29517 " int\n"
29518 " guestfs_is_chardev (guestfs_h *g,\n"
29519 "                     const char *path);\n"
29520 "\n"
29521 msgstr ""
29522
29523 #. type: =head2
29524 #: ../src/guestfs-actions.pod:3922
29525 msgid "guestfs_is_config"
29526 msgstr ""
29527
29528 #. type: verbatim
29529 #: ../src/guestfs-actions.pod:3924
29530 #, no-wrap
29531 msgid ""
29532 " int\n"
29533 " guestfs_is_config (guestfs_h *g);\n"
29534 "\n"
29535 msgstr ""
29536
29537 #. type: =head2
29538 #: ../src/guestfs-actions.pod:3936
29539 msgid "guestfs_is_dir"
29540 msgstr ""
29541
29542 #. type: verbatim
29543 #: ../src/guestfs-actions.pod:3938
29544 #, no-wrap
29545 msgid ""
29546 " int\n"
29547 " guestfs_is_dir (guestfs_h *g,\n"
29548 "                 const char *path);\n"
29549 "\n"
29550 msgstr ""
29551
29552 #. type: =head2
29553 #: ../src/guestfs-actions.pod:3952
29554 msgid "guestfs_is_fifo"
29555 msgstr ""
29556
29557 #. type: verbatim
29558 #: ../src/guestfs-actions.pod:3954
29559 #, no-wrap
29560 msgid ""
29561 " int\n"
29562 " guestfs_is_fifo (guestfs_h *g,\n"
29563 "                  const char *path);\n"
29564 "\n"
29565 msgstr ""
29566
29567 #. type: =head2
29568 #: ../src/guestfs-actions.pod:3967
29569 msgid "guestfs_is_file"
29570 msgstr ""
29571
29572 #. type: verbatim
29573 #: ../src/guestfs-actions.pod:3969
29574 #, no-wrap
29575 msgid ""
29576 " int\n"
29577 " guestfs_is_file (guestfs_h *g,\n"
29578 "                  const char *path);\n"
29579 "\n"
29580 msgstr ""
29581
29582 #. type: =head2
29583 #: ../src/guestfs-actions.pod:3983
29584 msgid "guestfs_is_launching"
29585 msgstr ""
29586
29587 #. type: verbatim
29588 #: ../src/guestfs-actions.pod:3985
29589 #, no-wrap
29590 msgid ""
29591 " int\n"
29592 " guestfs_is_launching (guestfs_h *g);\n"
29593 "\n"
29594 msgstr ""
29595
29596 #. type: =head2
29597 #: ../src/guestfs-actions.pod:3997
29598 msgid "guestfs_is_lv"
29599 msgstr ""
29600
29601 #. type: verbatim
29602 #: ../src/guestfs-actions.pod:3999
29603 #, no-wrap
29604 msgid ""
29605 " int\n"
29606 " guestfs_is_lv (guestfs_h *g,\n"
29607 "                const char *device);\n"
29608 "\n"
29609 msgstr ""
29610
29611 #. type: =head2
29612 #: ../src/guestfs-actions.pod:4010
29613 msgid "guestfs_is_ready"
29614 msgstr ""
29615
29616 #. type: verbatim
29617 #: ../src/guestfs-actions.pod:4012
29618 #, no-wrap
29619 msgid ""
29620 " int\n"
29621 " guestfs_is_ready (guestfs_h *g);\n"
29622 "\n"
29623 msgstr ""
29624
29625 #. type: =head2
29626 #: ../src/guestfs-actions.pod:4024
29627 msgid "guestfs_is_socket"
29628 msgstr ""
29629
29630 #. type: verbatim
29631 #: ../src/guestfs-actions.pod:4026
29632 #, no-wrap
29633 msgid ""
29634 " int\n"
29635 " guestfs_is_socket (guestfs_h *g,\n"
29636 "                    const char *path);\n"
29637 "\n"
29638 msgstr ""
29639
29640 #. type: =head2
29641 #: ../src/guestfs-actions.pod:4039
29642 msgid "guestfs_is_symlink"
29643 msgstr ""
29644
29645 #. type: verbatim
29646 #: ../src/guestfs-actions.pod:4041
29647 #, no-wrap
29648 msgid ""
29649 " int\n"
29650 " guestfs_is_symlink (guestfs_h *g,\n"
29651 "                     const char *path);\n"
29652 "\n"
29653 msgstr ""
29654
29655 #. type: =head2
29656 #: ../src/guestfs-actions.pod:4054
29657 msgid "guestfs_is_zero"
29658 msgstr ""
29659
29660 #. type: verbatim
29661 #: ../src/guestfs-actions.pod:4056
29662 #, no-wrap
29663 msgid ""
29664 " int\n"
29665 " guestfs_is_zero (guestfs_h *g,\n"
29666 "                  const char *path);\n"
29667 "\n"
29668 msgstr ""
29669
29670 #. type: textblock
29671 #: ../src/guestfs-actions.pod:4065 ../src/guestfs-actions.pod:4079
29672 msgid "(Added in 1.11.8)"
29673 msgstr "(Додано у 1.11.8)"
29674
29675 #. type: =head2
29676 #: ../src/guestfs-actions.pod:4067
29677 msgid "guestfs_is_zero_device"
29678 msgstr ""
29679
29680 #. type: verbatim
29681 #: ../src/guestfs-actions.pod:4069
29682 #, no-wrap
29683 msgid ""
29684 " int\n"
29685 " guestfs_is_zero_device (guestfs_h *g,\n"
29686 "                         const char *device);\n"
29687 "\n"
29688 msgstr ""
29689
29690 #. type: =head2
29691 #: ../src/guestfs-actions.pod:4081
29692 msgid "guestfs_kill_subprocess"
29693 msgstr ""
29694
29695 #. type: verbatim
29696 #: ../src/guestfs-actions.pod:4083
29697 #, no-wrap
29698 msgid ""
29699 " int\n"
29700 " guestfs_kill_subprocess (guestfs_h *g);\n"
29701 "\n"
29702 msgstr ""
29703
29704 #. type: =head2
29705 #: ../src/guestfs-actions.pod:4092
29706 msgid "guestfs_launch"
29707 msgstr ""
29708
29709 #. type: verbatim
29710 #: ../src/guestfs-actions.pod:4094
29711 #, no-wrap
29712 msgid ""
29713 " int\n"
29714 " guestfs_launch (guestfs_h *g);\n"
29715 "\n"
29716 msgstr ""
29717
29718 #. type: =head2
29719 #: ../src/guestfs-actions.pod:4112
29720 msgid "guestfs_lchown"
29721 msgstr ""
29722
29723 #. type: verbatim
29724 #: ../src/guestfs-actions.pod:4114
29725 #, no-wrap
29726 msgid ""
29727 " int\n"
29728 " guestfs_lchown (guestfs_h *g,\n"
29729 "                 int owner,\n"
29730 "                 int group,\n"
29731 "                 const char *path);\n"
29732 "\n"
29733 msgstr ""
29734
29735 #. type: textblock
29736 #: ../src/guestfs-actions.pod:4120
29737 msgid ""
29738 "Change the file owner to C<owner> and group to C<group>.  This is like "
29739 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
29740 "changed, not the target."
29741 msgstr ""
29742
29743 #. type: =head2
29744 #: ../src/guestfs-actions.pod:4132
29745 msgid "guestfs_lgetxattr"
29746 msgstr ""
29747
29748 #. type: verbatim
29749 #: ../src/guestfs-actions.pod:4134
29750 #, no-wrap
29751 msgid ""
29752 " char *\n"
29753 " guestfs_lgetxattr (guestfs_h *g,\n"
29754 "                    const char *path,\n"
29755 "                    const char *name,\n"
29756 "                    size_t *size_r);\n"
29757 "\n"
29758 msgstr ""
29759
29760 #. type: textblock
29761 #: ../src/guestfs-actions.pod:4154
29762 msgid "See also: C<guestfs_lgetxattrs>, C<guestfs_getxattr>, L<attr(5)>."
29763 msgstr ""
29764
29765 #. type: =head2
29766 #: ../src/guestfs-actions.pod:4162
29767 msgid "guestfs_lgetxattrs"
29768 msgstr ""
29769
29770 #. type: verbatim
29771 #: ../src/guestfs-actions.pod:4164
29772 #, no-wrap
29773 msgid ""
29774 " struct guestfs_xattr_list *\n"
29775 " guestfs_lgetxattrs (guestfs_h *g,\n"
29776 "                     const char *path);\n"
29777 "\n"
29778 msgstr ""
29779
29780 #. type: textblock
29781 #: ../src/guestfs-actions.pod:4168
29782 msgid ""
29783 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
29784 "then it returns the extended attributes of the link itself."
29785 msgstr ""
29786
29787 #. type: =head2
29788 #: ../src/guestfs-actions.pod:4178
29789 msgid "guestfs_list_9p"
29790 msgstr ""
29791
29792 #. type: verbatim
29793 #: ../src/guestfs-actions.pod:4180
29794 #, no-wrap
29795 msgid ""
29796 " char **\n"
29797 " guestfs_list_9p (guestfs_h *g);\n"
29798 "\n"
29799 msgstr ""
29800
29801 #. type: =head2
29802 #: ../src/guestfs-actions.pod:4192
29803 msgid "guestfs_list_devices"
29804 msgstr ""
29805
29806 #. type: verbatim
29807 #: ../src/guestfs-actions.pod:4194
29808 #, no-wrap
29809 msgid ""
29810 " char **\n"
29811 " guestfs_list_devices (guestfs_h *g);\n"
29812 "\n"
29813 msgstr ""
29814
29815 #. type: =head2
29816 #: ../src/guestfs-actions.pod:4209
29817 msgid "guestfs_list_dm_devices"
29818 msgstr ""
29819
29820 #. type: verbatim
29821 #: ../src/guestfs-actions.pod:4211
29822 #, no-wrap
29823 msgid ""
29824 " char **\n"
29825 " guestfs_list_dm_devices (guestfs_h *g);\n"
29826 "\n"
29827 msgstr ""
29828
29829 #. type: textblock
29830 #: ../src/guestfs-actions.pod:4216
29831 msgid ""
29832 "The returned list contains C</dev/mapper/*> devices, eg. ones created by a "
29833 "previous call to C<guestfs_luks_open>."
29834 msgstr ""
29835
29836 #. type: textblock
29837 #: ../src/guestfs-actions.pod:4219
29838 msgid ""
29839 "Device mapper devices which correspond to logical volumes are I<not> "
29840 "returned in this list.  Call C<guestfs_lvs> if you want to list logical "
29841 "volumes."
29842 msgstr ""
29843
29844 #. type: textblock
29845 #: ../src/guestfs-actions.pod:4227 ../src/guestfs-actions.pod:5664
29846 msgid "(Added in 1.11.15)"
29847 msgstr "(Додано у 1.11.15)"
29848
29849 #. type: =head2
29850 #: ../src/guestfs-actions.pod:4229
29851 msgid "guestfs_list_filesystems"
29852 msgstr ""
29853
29854 #. type: verbatim
29855 #: ../src/guestfs-actions.pod:4231
29856 #, no-wrap
29857 msgid ""
29858 " char **\n"
29859 " guestfs_list_filesystems (guestfs_h *g);\n"
29860 "\n"
29861 msgstr ""
29862
29863 #. type: textblock
29864 #: ../src/guestfs-actions.pod:4251
29865 msgid ""
29866 "This command runs other libguestfs commands, which might include "
29867 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
29868 "soon after launch and only when nothing is mounted."
29869 msgstr ""
29870
29871 #. type: textblock
29872 #: ../src/guestfs-actions.pod:4255
29873 msgid ""
29874 "Not all of the filesystems returned will be mountable.  In particular, swap "
29875 "partitions are returned in the list.  Also this command does not check that "
29876 "each filesystem found is valid and mountable, and some filesystems might be "
29877 "mountable but require special options.  Filesystems may not all belong to a "
29878 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
29879 msgstr ""
29880
29881 #. type: textblock
29882 #: ../src/guestfs-actions.pod:4269 ../src/guestfs-actions.pod:6024
29883 msgid "(Added in 1.5.15)"
29884 msgstr "(Додано у 1.5.15)"
29885
29886 #. type: =head2
29887 #: ../src/guestfs-actions.pod:4271
29888 msgid "guestfs_list_partitions"
29889 msgstr "guestfs_list_partitions"
29890
29891 #. type: verbatim
29892 #: ../src/guestfs-actions.pod:4273
29893 #, no-wrap
29894 msgid ""
29895 " char **\n"
29896 " guestfs_list_partitions (guestfs_h *g);\n"
29897 "\n"
29898 msgstr ""
29899 " char **\n"
29900 " guestfs_list_partitions (guestfs_h *g);\n"
29901 "\n"
29902
29903 #. type: textblock
29904 #: ../src/guestfs-actions.pod:4280
29905 msgid ""
29906 "This does not return logical volumes.  For that you will need to call "
29907 "C<guestfs_lvs>."
29908 msgstr ""
29909
29910 #. type: =head2
29911 #: ../src/guestfs-actions.pod:4291
29912 msgid "guestfs_ll"
29913 msgstr "guestfs_ll"
29914
29915 #. type: verbatim
29916 #: ../src/guestfs-actions.pod:4293
29917 #, no-wrap
29918 msgid ""
29919 " char *\n"
29920 " guestfs_ll (guestfs_h *g,\n"
29921 "             const char *directory);\n"
29922 "\n"
29923 msgstr ""
29924 " char *\n"
29925 " guestfs_ll (guestfs_h *g,\n"
29926 "             const char *directory);\n"
29927 "\n"
29928
29929 #. type: =head2
29930 #: ../src/guestfs-actions.pod:4308
29931 msgid "guestfs_ln"
29932 msgstr "guestfs_ln"
29933
29934 #. type: verbatim
29935 #: ../src/guestfs-actions.pod:4310
29936 #, no-wrap
29937 msgid ""
29938 " int\n"
29939 " guestfs_ln (guestfs_h *g,\n"
29940 "             const char *target,\n"
29941 "             const char *linkname);\n"
29942 "\n"
29943 msgstr ""
29944 " int\n"
29945 " guestfs_ln (guestfs_h *g,\n"
29946 "             const char *target,\n"
29947 "             const char *linkname);\n"
29948 "\n"
29949
29950 #. type: =head2
29951 #: ../src/guestfs-actions.pod:4321
29952 msgid "guestfs_ln_f"
29953 msgstr "guestfs_ln_f"
29954
29955 #. type: verbatim
29956 #: ../src/guestfs-actions.pod:4323
29957 #, no-wrap
29958 msgid ""
29959 " int\n"
29960 " guestfs_ln_f (guestfs_h *g,\n"
29961 "               const char *target,\n"
29962 "               const char *linkname);\n"
29963 "\n"
29964 msgstr ""
29965 " int\n"
29966 " guestfs_ln_f (guestfs_h *g,\n"
29967 "               const char *target,\n"
29968 "               const char *linkname);\n"
29969 "\n"
29970
29971 #. type: =head2
29972 #: ../src/guestfs-actions.pod:4335
29973 msgid "guestfs_ln_s"
29974 msgstr "guestfs_ln_s"
29975
29976 #. type: verbatim
29977 #: ../src/guestfs-actions.pod:4337
29978 #, no-wrap
29979 msgid ""
29980 " int\n"
29981 " guestfs_ln_s (guestfs_h *g,\n"
29982 "               const char *target,\n"
29983 "               const char *linkname);\n"
29984 "\n"
29985 msgstr ""
29986 " int\n"
29987 " guestfs_ln_s (guestfs_h *g,\n"
29988 "               const char *target,\n"
29989 "               const char *linkname);\n"
29990 "\n"
29991
29992 #. type: =head2
29993 #: ../src/guestfs-actions.pod:4348
29994 msgid "guestfs_ln_sf"
29995 msgstr "guestfs_ln_sf"
29996
29997 #. type: verbatim
29998 #: ../src/guestfs-actions.pod:4350
29999 #, no-wrap
30000 msgid ""
30001 " int\n"
30002 " guestfs_ln_sf (guestfs_h *g,\n"
30003 "                const char *target,\n"
30004 "                const char *linkname);\n"
30005 "\n"
30006 msgstr ""
30007 " int\n"
30008 " guestfs_ln_sf (guestfs_h *g,\n"
30009 "                const char *target,\n"
30010 "                const char *linkname);\n"
30011 "\n"
30012
30013 #. type: =head2
30014 #: ../src/guestfs-actions.pod:4362
30015 msgid "guestfs_lremovexattr"
30016 msgstr "guestfs_lremovexattr"
30017
30018 #. type: verbatim
30019 #: ../src/guestfs-actions.pod:4364
30020 #, no-wrap
30021 msgid ""
30022 " int\n"
30023 " guestfs_lremovexattr (guestfs_h *g,\n"
30024 "                       const char *xattr,\n"
30025 "                       const char *path);\n"
30026 "\n"
30027 msgstr ""
30028 " int\n"
30029 " guestfs_lremovexattr (guestfs_h *g,\n"
30030 "                       const char *xattr,\n"
30031 "                       const char *path);\n"
30032 "\n"
30033
30034 #. type: textblock
30035 #: ../src/guestfs-actions.pod:4369
30036 msgid ""
30037 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
30038 "link, then it removes an extended attribute of the link itself."
30039 msgstr ""
30040
30041 #. type: =head2
30042 #: ../src/guestfs-actions.pod:4377
30043 msgid "guestfs_ls"
30044 msgstr "guestfs_ls"
30045
30046 #. type: verbatim
30047 #: ../src/guestfs-actions.pod:4379
30048 #, no-wrap
30049 msgid ""
30050 " char **\n"
30051 " guestfs_ls (guestfs_h *g,\n"
30052 "             const char *directory);\n"
30053 "\n"
30054 msgstr ""
30055 " char **\n"
30056 " guestfs_ls (guestfs_h *g,\n"
30057 "             const char *directory);\n"
30058 "\n"
30059
30060 #. type: textblock
30061 #: ../src/guestfs-actions.pod:4387
30062 msgid ""
30063 "This command is mostly useful for interactive sessions.  Programs should "
30064 "probably use C<guestfs_readdir> instead."
30065 msgstr ""
30066
30067 #. type: =head2
30068 #: ../src/guestfs-actions.pod:4396
30069 msgid "guestfs_lsetxattr"
30070 msgstr "guestfs_lsetxattr"
30071
30072 #. type: verbatim
30073 #: ../src/guestfs-actions.pod:4398
30074 #, no-wrap
30075 msgid ""
30076 " int\n"
30077 " guestfs_lsetxattr (guestfs_h *g,\n"
30078 "                    const char *xattr,\n"
30079 "                    const char *val,\n"
30080 "                    int vallen,\n"
30081 "                    const char *path);\n"
30082 "\n"
30083 msgstr ""
30084 " int\n"
30085 " guestfs_lsetxattr (guestfs_h *g,\n"
30086 "                    const char *xattr,\n"
30087 "                    const char *val,\n"
30088 "                    int vallen,\n"
30089 "                    const char *path);\n"
30090 "\n"
30091
30092 #. type: textblock
30093 #: ../src/guestfs-actions.pod:4405
30094 msgid ""
30095 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
30096 "then it sets an extended attribute of the link itself."
30097 msgstr ""
30098
30099 #. type: =head2
30100 #: ../src/guestfs-actions.pod:4413
30101 msgid "guestfs_lstat"
30102 msgstr "guestfs_lstat"
30103
30104 #. type: verbatim
30105 #: ../src/guestfs-actions.pod:4415
30106 #, no-wrap
30107 msgid ""
30108 " struct guestfs_stat *\n"
30109 " guestfs_lstat (guestfs_h *g,\n"
30110 "                const char *path);\n"
30111 "\n"
30112 msgstr ""
30113 " struct guestfs_stat *\n"
30114 " guestfs_lstat (guestfs_h *g,\n"
30115 "                const char *path);\n"
30116 "\n"
30117
30118 #. type: textblock
30119 #: ../src/guestfs-actions.pod:4421
30120 msgid ""
30121 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
30122 "link, then the link is stat-ed, not the file it refers to."
30123 msgstr ""
30124
30125 #. type: textblock
30126 #: ../src/guestfs-actions.pod:4427 ../src/guestfs-actions.pod:7204
30127 msgid ""
30128 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
30129 "error.  I<The caller must call C<guestfs_free_stat> after use>."
30130 msgstr ""
30131
30132 #. type: textblock
30133 #: ../src/guestfs-actions.pod:4431 ../src/guestfs-actions.pod:7208
30134 #: ../src/guestfs-actions.pod:7226 ../src/guestfs-actions.pod:7607
30135 msgid "(Added in 0.9.2)"
30136 msgstr "(Додано у 0.9.2)"
30137
30138 #. type: =head2
30139 #: ../src/guestfs-actions.pod:4433
30140 msgid "guestfs_lstatlist"
30141 msgstr "guestfs_lstatlist"
30142
30143 #. type: verbatim
30144 #: ../src/guestfs-actions.pod:4435
30145 #, no-wrap
30146 msgid ""
30147 " struct guestfs_stat_list *\n"
30148 " guestfs_lstatlist (guestfs_h *g,\n"
30149 "                    const char *path,\n"
30150 "                    char *const *names);\n"
30151 "\n"
30152 msgstr ""
30153 " struct guestfs_stat_list *\n"
30154 " guestfs_lstatlist (guestfs_h *g,\n"
30155 "                    const char *path,\n"
30156 "                    char *const *names);\n"
30157 "\n"
30158
30159 #. type: textblock
30160 #: ../src/guestfs-actions.pod:4440
30161 msgid ""
30162 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
30163 "files, where all files are in the directory C<path>.  C<names> is the list "
30164 "of files from this directory."
30165 msgstr ""
30166
30167 #. type: textblock
30168 #: ../src/guestfs-actions.pod:4449
30169 msgid ""
30170 "This call is intended for programs that want to efficiently list a directory "
30171 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
30172 "for a similarly efficient call for getting extended attributes.  Very long "
30173 "directory listings might cause the protocol message size to be exceeded, "
30174 "causing this call to fail.  The caller must split up such requests into "
30175 "smaller groups of names."
30176 msgstr ""
30177
30178 #. type: textblock
30179 #: ../src/guestfs-actions.pod:4457
30180 msgid ""
30181 "This function returns a C<struct guestfs_stat_list *>, or NULL if there was "
30182 "an error.  I<The caller must call C<guestfs_free_stat_list> after use>."
30183 msgstr ""
30184
30185 #. type: =head2
30186 #: ../src/guestfs-actions.pod:4463
30187 msgid "guestfs_luks_add_key"
30188 msgstr "guestfs_luks_add_key"
30189
30190 #. type: verbatim
30191 #: ../src/guestfs-actions.pod:4465
30192 #, no-wrap
30193 msgid ""
30194 " int\n"
30195 " guestfs_luks_add_key (guestfs_h *g,\n"
30196 "                       const char *device,\n"
30197 "                       const char *key,\n"
30198 "                       const char *newkey,\n"
30199 "                       int keyslot);\n"
30200 "\n"
30201 msgstr ""
30202 " int\n"
30203 " guestfs_luks_add_key (guestfs_h *g,\n"
30204 "                       const char *device,\n"
30205 "                       const char *key,\n"
30206 "                       const char *newkey,\n"
30207 "                       int keyslot);\n"
30208 "\n"
30209
30210 #. type: textblock
30211 #: ../src/guestfs-actions.pod:4477
30212 msgid ""
30213 "Note that if C<keyslot> already contains a key, then this command will "
30214 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
30215 msgstr ""
30216
30217 #. type: textblock
30218 #: ../src/guestfs-actions.pod:4483 ../src/guestfs-actions.pod:4520
30219 #: ../src/guestfs-actions.pod:4540 ../src/guestfs-actions.pod:4560
30220 #: ../src/guestfs-actions.pod:4595 ../src/guestfs-actions.pod:4614
30221 msgid ""
30222 "This function takes a key or passphrase parameter which could contain "
30223 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
30224 "information."
30225 msgstr ""
30226
30227 #. type: textblock
30228 #: ../src/guestfs-actions.pod:4487 ../src/guestfs-actions.pod:4524
30229 #: ../src/guestfs-actions.pod:4544 ../src/guestfs-actions.pod:4564
30230 msgid "(Added in 1.5.2)"
30231 msgstr "(Додано у 1.5.2)"
30232
30233 #. type: =head2
30234 #: ../src/guestfs-actions.pod:4489
30235 msgid "guestfs_luks_close"
30236 msgstr "guestfs_luks_close"
30237
30238 #. type: verbatim
30239 #: ../src/guestfs-actions.pod:4491
30240 #, no-wrap
30241 msgid ""
30242 " int\n"
30243 " guestfs_luks_close (guestfs_h *g,\n"
30244 "                     const char *device);\n"
30245 "\n"
30246 msgstr ""
30247 " int\n"
30248 " guestfs_luks_close (guestfs_h *g,\n"
30249 "                     const char *device);\n"
30250 "\n"
30251
30252 #. type: textblock
30253 #: ../src/guestfs-actions.pod:4495
30254 msgid ""
30255 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
30256 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
30257 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
30258 "underlying block device."
30259 msgstr ""
30260
30261 #. type: textblock
30262 #: ../src/guestfs-actions.pod:4503 ../src/guestfs-actions.pod:4599
30263 #: ../src/guestfs-actions.pod:4618 ../src/guestfs-actions.pod:4668
30264 #: ../src/guestfs-actions.pod:4713
30265 msgid "(Added in 1.5.1)"
30266 msgstr "(Додано у 1.5.1)"
30267
30268 #. type: =head2
30269 #: ../src/guestfs-actions.pod:4505
30270 msgid "guestfs_luks_format"
30271 msgstr "guestfs_luks_format"
30272
30273 #. type: verbatim
30274 #: ../src/guestfs-actions.pod:4507
30275 #, no-wrap
30276 msgid ""
30277 " int\n"
30278 " guestfs_luks_format (guestfs_h *g,\n"
30279 "                      const char *device,\n"
30280 "                      const char *key,\n"
30281 "                      int keyslot);\n"
30282 "\n"
30283 msgstr ""
30284 " int\n"
30285 " guestfs_luks_format (guestfs_h *g,\n"
30286 "                      const char *device,\n"
30287 "                      const char *key,\n"
30288 "                      int keyslot);\n"
30289 "\n"
30290
30291 #. type: =head2
30292 #: ../src/guestfs-actions.pod:4526
30293 msgid "guestfs_luks_format_cipher"
30294 msgstr "guestfs_luks_format_cipher"
30295
30296 #. type: verbatim
30297 #: ../src/guestfs-actions.pod:4528
30298 #, no-wrap
30299 msgid ""
30300 " int\n"
30301 " guestfs_luks_format_cipher (guestfs_h *g,\n"
30302 "                             const char *device,\n"
30303 "                             const char *key,\n"
30304 "                             int keyslot,\n"
30305 "                             const char *cipher);\n"
30306 "\n"
30307 msgstr ""
30308 " int\n"
30309 " guestfs_luks_format_cipher (guestfs_h *g,\n"
30310 "                             const char *device,\n"
30311 "                             const char *key,\n"
30312 "                             int keyslot,\n"
30313 "                             const char *cipher);\n"
30314 "\n"
30315
30316 #. type: textblock
30317 #: ../src/guestfs-actions.pod:4535
30318 msgid ""
30319 "This command is the same as C<guestfs_luks_format> but it also allows you to "
30320 "set the C<cipher> used."
30321 msgstr ""
30322
30323 #. type: =head2
30324 #: ../src/guestfs-actions.pod:4546
30325 msgid "guestfs_luks_kill_slot"
30326 msgstr "guestfs_luks_kill_slot"
30327
30328 #. type: verbatim
30329 #: ../src/guestfs-actions.pod:4548
30330 #, no-wrap
30331 msgid ""
30332 " int\n"
30333 " guestfs_luks_kill_slot (guestfs_h *g,\n"
30334 "                         const char *device,\n"
30335 "                         const char *key,\n"
30336 "                         int keyslot);\n"
30337 "\n"
30338 msgstr ""
30339 " int\n"
30340 " guestfs_luks_kill_slot (guestfs_h *g,\n"
30341 "                         const char *device,\n"
30342 "                         const char *key,\n"
30343 "                         int keyslot);\n"
30344 "\n"
30345
30346 #. type: =head2
30347 #: ../src/guestfs-actions.pod:4566
30348 msgid "guestfs_luks_open"
30349 msgstr "guestfs_luks_open"
30350
30351 #. type: verbatim
30352 #: ../src/guestfs-actions.pod:4568
30353 #, no-wrap
30354 msgid ""
30355 " int\n"
30356 " guestfs_luks_open (guestfs_h *g,\n"
30357 "                    const char *device,\n"
30358 "                    const char *key,\n"
30359 "                    const char *mapname);\n"
30360 "\n"
30361 msgstr ""
30362 " int\n"
30363 " guestfs_luks_open (guestfs_h *g,\n"
30364 "                    const char *device,\n"
30365 "                    const char *key,\n"
30366 "                    const char *mapname);\n"
30367 "\n"
30368
30369 #. type: textblock
30370 #: ../src/guestfs-actions.pod:4586
30371 msgid ""
30372 "If this block device contains LVM volume groups, then calling "
30373 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
30374 "visible."
30375 msgstr ""
30376
30377 #. type: textblock
30378 #: ../src/guestfs-actions.pod:4590
30379 msgid "Use C<guestfs_list_dm_devices> to list all device mapper devices."
30380 msgstr ""
30381
30382 #. type: =head2
30383 #: ../src/guestfs-actions.pod:4601
30384 msgid "guestfs_luks_open_ro"
30385 msgstr "guestfs_luks_open_ro"
30386
30387 #. type: verbatim
30388 #: ../src/guestfs-actions.pod:4603
30389 #, no-wrap
30390 msgid ""
30391 " int\n"
30392 " guestfs_luks_open_ro (guestfs_h *g,\n"
30393 "                       const char *device,\n"
30394 "                       const char *key,\n"
30395 "                       const char *mapname);\n"
30396 "\n"
30397 msgstr ""
30398 " int\n"
30399 " guestfs_luks_open_ro (guestfs_h *g,\n"
30400 "                       const char *device,\n"
30401 "                       const char *key,\n"
30402 "                       const char *mapname);\n"
30403 "\n"
30404
30405 #. type: textblock
30406 #: ../src/guestfs-actions.pod:4609
30407 msgid ""
30408 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
30409 "created."
30410 msgstr ""
30411
30412 #. type: =head2
30413 #: ../src/guestfs-actions.pod:4620
30414 msgid "guestfs_lvcreate"
30415 msgstr "guestfs_lvcreate"
30416
30417 #. type: verbatim
30418 #: ../src/guestfs-actions.pod:4622
30419 #, no-wrap
30420 msgid ""
30421 " int\n"
30422 " guestfs_lvcreate (guestfs_h *g,\n"
30423 "                   const char *logvol,\n"
30424 "                   const char *volgroup,\n"
30425 "                   int mbytes);\n"
30426 "\n"
30427 msgstr ""
30428 " int\n"
30429 " guestfs_lvcreate (guestfs_h *g,\n"
30430 "                   const char *logvol,\n"
30431 "                   const char *volgroup,\n"
30432 "                   int mbytes);\n"
30433 "\n"
30434
30435 #. type: =head2
30436 #: ../src/guestfs-actions.pod:4635
30437 msgid "guestfs_lvm_canonical_lv_name"
30438 msgstr "guestfs_lvm_canonical_lv_name"
30439
30440 #. type: verbatim
30441 #: ../src/guestfs-actions.pod:4637
30442 #, no-wrap
30443 msgid ""
30444 " char *\n"
30445 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
30446 "                                const char *lvname);\n"
30447 "\n"
30448 msgstr ""
30449 " char *\n"
30450 " guestfs_lvm_canonical_lv_name (guestfs_h *g,\n"
30451 "                                const char *lvname);\n"
30452 "\n"
30453
30454 #. type: textblock
30455 #: ../src/guestfs-actions.pod:4648
30456 msgid "See also C<guestfs_is_lv>."
30457 msgstr ""
30458
30459 #. type: textblock
30460 #: ../src/guestfs-actions.pod:4653
30461 msgid "(Added in 1.5.24)"
30462 msgstr "(Додано у 1.5.24)"
30463
30464 #. type: =head2
30465 #: ../src/guestfs-actions.pod:4655
30466 msgid "guestfs_lvm_clear_filter"
30467 msgstr "guestfs_lvm_clear_filter"
30468
30469 #. type: verbatim
30470 #: ../src/guestfs-actions.pod:4657
30471 #, no-wrap
30472 msgid ""
30473 " int\n"
30474 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
30475 "\n"
30476 msgstr ""
30477 " int\n"
30478 " guestfs_lvm_clear_filter (guestfs_h *g);\n"
30479 "\n"
30480
30481 #. type: textblock
30482 #: ../src/guestfs-actions.pod:4660
30483 msgid ""
30484 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
30485 "see every block device."
30486 msgstr ""
30487
30488 #. type: =head2
30489 #: ../src/guestfs-actions.pod:4670
30490 msgid "guestfs_lvm_remove_all"
30491 msgstr "guestfs_lvm_remove_all"
30492
30493 #. type: verbatim
30494 #: ../src/guestfs-actions.pod:4672
30495 #, no-wrap
30496 msgid ""
30497 " int\n"
30498 " guestfs_lvm_remove_all (guestfs_h *g);\n"
30499 "\n"
30500 msgstr ""
30501 " int\n"
30502 " guestfs_lvm_remove_all (guestfs_h *g);\n"
30503 "\n"
30504
30505 #. type: =head2
30506 #: ../src/guestfs-actions.pod:4682
30507 msgid "guestfs_lvm_set_filter"
30508 msgstr "guestfs_lvm_set_filter"
30509
30510 #. type: verbatim
30511 #: ../src/guestfs-actions.pod:4684
30512 #, no-wrap
30513 msgid ""
30514 " int\n"
30515 " guestfs_lvm_set_filter (guestfs_h *g,\n"
30516 "                         char *const *devices);\n"
30517 "\n"
30518 msgstr ""
30519 " int\n"
30520 " guestfs_lvm_set_filter (guestfs_h *g,\n"
30521 "                         char *const *devices);\n"
30522 "\n"
30523
30524 #. type: =head2
30525 #: ../src/guestfs-actions.pod:4715
30526 msgid "guestfs_lvremove"
30527 msgstr "guestfs_lvremove"
30528
30529 #. type: verbatim
30530 #: ../src/guestfs-actions.pod:4717
30531 #, no-wrap
30532 msgid ""
30533 " int\n"
30534 " guestfs_lvremove (guestfs_h *g,\n"
30535 "                   const char *device);\n"
30536 "\n"
30537 msgstr ""
30538 " int\n"
30539 " guestfs_lvremove (guestfs_h *g,\n"
30540 "                   const char *device);\n"
30541 "\n"
30542
30543 #. type: textblock
30544 #: ../src/guestfs-actions.pod:4729 ../src/guestfs-actions.pod:6139
30545 #: ../src/guestfs-actions.pod:7977
30546 msgid "(Added in 1.0.13)"
30547 msgstr "(Додано у 1.0.13)"
30548
30549 #. type: =head2
30550 #: ../src/guestfs-actions.pod:4731
30551 msgid "guestfs_lvrename"
30552 msgstr "guestfs_lvrename"
30553
30554 #. type: verbatim
30555 #: ../src/guestfs-actions.pod:4733
30556 #, no-wrap
30557 msgid ""
30558 " int\n"
30559 " guestfs_lvrename (guestfs_h *g,\n"
30560 "                   const char *logvol,\n"
30561 "                   const char *newlogvol);\n"
30562 "\n"
30563 msgstr ""
30564 " int\n"
30565 " guestfs_lvrename (guestfs_h *g,\n"
30566 "                   const char *logvol,\n"
30567 "                   const char *newlogvol);\n"
30568 "\n"
30569
30570 #. type: textblock
30571 #: ../src/guestfs-actions.pod:4742 ../src/guestfs-actions.pod:7990
30572 msgid "(Added in 1.0.83)"
30573 msgstr "(Додано у 1.0.83)"
30574
30575 #. type: =head2
30576 #: ../src/guestfs-actions.pod:4744
30577 msgid "guestfs_lvresize"
30578 msgstr "guestfs_lvresize"
30579
30580 #. type: verbatim
30581 #: ../src/guestfs-actions.pod:4746
30582 #, no-wrap
30583 msgid ""
30584 " int\n"
30585 " guestfs_lvresize (guestfs_h *g,\n"
30586 "                   const char *device,\n"
30587 "                   int mbytes);\n"
30588 "\n"
30589 msgstr ""
30590 " int\n"
30591 " guestfs_lvresize (guestfs_h *g,\n"
30592 "                   const char *device,\n"
30593 "                   int mbytes);\n"
30594 "\n"
30595
30596 #. type: =head2
30597 #: ../src/guestfs-actions.pod:4759
30598 msgid "guestfs_lvresize_free"
30599 msgstr "guestfs_lvresize_free"
30600
30601 #. type: verbatim
30602 #: ../src/guestfs-actions.pod:4761
30603 #, no-wrap
30604 msgid ""
30605 " int\n"
30606 " guestfs_lvresize_free (guestfs_h *g,\n"
30607 "                        const char *lv,\n"
30608 "                        int percent);\n"
30609 "\n"
30610 msgstr ""
30611 " int\n"
30612 " guestfs_lvresize_free (guestfs_h *g,\n"
30613 "                        const char *lv,\n"
30614 "                        int percent);\n"
30615 "\n"
30616
30617 #. type: textblock
30618 #: ../src/guestfs-actions.pod:4774
30619 msgid "(Added in 1.3.3)"
30620 msgstr "(Додано у 1.3.3)"
30621
30622 #. type: =head2
30623 #: ../src/guestfs-actions.pod:4776
30624 msgid "guestfs_lvs"
30625 msgstr "guestfs_lvs"
30626
30627 #. type: verbatim
30628 #: ../src/guestfs-actions.pod:4778
30629 #, no-wrap
30630 msgid ""
30631 " char **\n"
30632 " guestfs_lvs (guestfs_h *g);\n"
30633 "\n"
30634 msgstr ""
30635 " char **\n"
30636 " guestfs_lvs (guestfs_h *g);\n"
30637 "\n"
30638
30639 #. type: textblock
30640 #: ../src/guestfs-actions.pod:4787
30641 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
30642 msgstr ""
30643
30644 #. type: =head2
30645 #: ../src/guestfs-actions.pod:4795
30646 msgid "guestfs_lvs_full"
30647 msgstr "guestfs_lvs_full"
30648
30649 #. type: verbatim
30650 #: ../src/guestfs-actions.pod:4797
30651 #, no-wrap
30652 msgid ""
30653 " struct guestfs_lvm_lv_list *\n"
30654 " guestfs_lvs_full (guestfs_h *g);\n"
30655 "\n"
30656 msgstr ""
30657 " struct guestfs_lvm_lv_list *\n"
30658 " guestfs_lvs_full (guestfs_h *g);\n"
30659 "\n"
30660
30661 #. type: textblock
30662 #: ../src/guestfs-actions.pod:4803
30663 msgid ""
30664 "This function returns a C<struct guestfs_lvm_lv_list *>, or NULL if there "
30665 "was an error.  I<The caller must call C<guestfs_free_lvm_lv_list> after use>."
30666 msgstr ""
30667
30668 #. type: =head2
30669 #: ../src/guestfs-actions.pod:4809
30670 msgid "guestfs_lvuuid"
30671 msgstr "guestfs_lvuuid"
30672
30673 #. type: verbatim
30674 #: ../src/guestfs-actions.pod:4811
30675 #, no-wrap
30676 msgid ""
30677 " char *\n"
30678 " guestfs_lvuuid (guestfs_h *g,\n"
30679 "                 const char *device);\n"
30680 "\n"
30681 msgstr ""
30682 " char *\n"
30683 " guestfs_lvuuid (guestfs_h *g,\n"
30684 "                 const char *device);\n"
30685 "\n"
30686
30687 #. type: =head2
30688 #: ../src/guestfs-actions.pod:4822
30689 msgid "guestfs_lxattrlist"
30690 msgstr "guestfs_lxattrlist"
30691
30692 #. type: verbatim
30693 #: ../src/guestfs-actions.pod:4824
30694 #, no-wrap
30695 msgid ""
30696 " struct guestfs_xattr_list *\n"
30697 " guestfs_lxattrlist (guestfs_h *g,\n"
30698 "                     const char *path,\n"
30699 "                     char *const *names);\n"
30700 "\n"
30701 msgstr ""
30702 " struct guestfs_xattr_list *\n"
30703 " guestfs_lxattrlist (guestfs_h *g,\n"
30704 "                     const char *path,\n"
30705 "                     char *const *names);\n"
30706 "\n"
30707
30708 #. type: textblock
30709 #: ../src/guestfs-actions.pod:4843
30710 msgid ""
30711 "This call is intended for programs that want to efficiently list a directory "
30712 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
30713 "a similarly efficient call for getting standard stats.  Very long directory "
30714 "listings might cause the protocol message size to be exceeded, causing this "
30715 "call to fail.  The caller must split up such requests into smaller groups of "
30716 "names."
30717 msgstr ""
30718
30719 #. type: =head2
30720 #: ../src/guestfs-actions.pod:4857
30721 msgid "guestfs_mkdir"
30722 msgstr "guestfs_mkdir"
30723
30724 #. type: verbatim
30725 #: ../src/guestfs-actions.pod:4859
30726 #, no-wrap
30727 msgid ""
30728 " int\n"
30729 " guestfs_mkdir (guestfs_h *g,\n"
30730 "                const char *path);\n"
30731 "\n"
30732 msgstr ""
30733 " int\n"
30734 " guestfs_mkdir (guestfs_h *g,\n"
30735 "                const char *path);\n"
30736 "\n"
30737
30738 #. type: =head2
30739 #: ../src/guestfs-actions.pod:4869
30740 msgid "guestfs_mkdir_mode"
30741 msgstr "guestfs_mkdir_mode"
30742
30743 #. type: verbatim
30744 #: ../src/guestfs-actions.pod:4871
30745 #, no-wrap
30746 msgid ""
30747 " int\n"
30748 " guestfs_mkdir_mode (guestfs_h *g,\n"
30749 "                     const char *path,\n"
30750 "                     int mode);\n"
30751 "\n"
30752 msgstr ""
30753 " int\n"
30754 " guestfs_mkdir_mode (guestfs_h *g,\n"
30755 "                     const char *path,\n"
30756 "                     int mode);\n"
30757 "\n"
30758
30759 #. type: textblock
30760 #: ../src/guestfs-actions.pod:4883
30761 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
30762 msgstr ""
30763
30764 #. type: =head2
30765 #: ../src/guestfs-actions.pod:4889
30766 msgid "guestfs_mkdir_p"
30767 msgstr "guestfs_mkdir_p"
30768
30769 #. type: verbatim
30770 #: ../src/guestfs-actions.pod:4891
30771 #, no-wrap
30772 msgid ""
30773 " int\n"
30774 " guestfs_mkdir_p (guestfs_h *g,\n"
30775 "                  const char *path);\n"
30776 "\n"
30777 msgstr ""
30778 " int\n"
30779 " guestfs_mkdir_p (guestfs_h *g,\n"
30780 "                  const char *path);\n"
30781 "\n"
30782
30783 #. type: =head2
30784 #: ../src/guestfs-actions.pod:4902
30785 msgid "guestfs_mkdtemp"
30786 msgstr "guestfs_mkdtemp"
30787
30788 #. type: verbatim
30789 #: ../src/guestfs-actions.pod:4904
30790 #, no-wrap
30791 msgid ""
30792 " char *\n"
30793 " guestfs_mkdtemp (guestfs_h *g,\n"
30794 "                  const char *template);\n"
30795 "\n"
30796 msgstr ""
30797 " char *\n"
30798 " guestfs_mkdtemp (guestfs_h *g,\n"
30799 "                  const char *template);\n"
30800 "\n"
30801
30802 #. type: =head2
30803 #: ../src/guestfs-actions.pod:4932
30804 msgid "guestfs_mke2fs_J"
30805 msgstr "guestfs_mke2fs_J"
30806
30807 #. type: verbatim
30808 #: ../src/guestfs-actions.pod:4934
30809 #, no-wrap
30810 msgid ""
30811 " int\n"
30812 " guestfs_mke2fs_J (guestfs_h *g,\n"
30813 "                   const char *fstype,\n"
30814 "                   int blocksize,\n"
30815 "                   const char *device,\n"
30816 "                   const char *journal);\n"
30817 "\n"
30818 msgstr ""
30819 " int\n"
30820 " guestfs_mke2fs_J (guestfs_h *g,\n"
30821 "                   const char *fstype,\n"
30822 "                   int blocksize,\n"
30823 "                   const char *device,\n"
30824 "                   const char *journal);\n"
30825 "\n"
30826
30827 #. type: textblock
30828 #: ../src/guestfs-actions.pod:4947
30829 msgid "See also C<guestfs_mke2journal>."
30830 msgstr ""
30831
30832 #. type: textblock
30833 #: ../src/guestfs-actions.pod:4951 ../src/guestfs-actions.pod:4969
30834 #: ../src/guestfs-actions.pod:4987 ../src/guestfs-actions.pod:5003
30835 #: ../src/guestfs-actions.pod:5017 ../src/guestfs-actions.pod:5031
30836 #: ../src/guestfs-actions.pod:5090 ../src/guestfs-actions.pod:5367
30837 msgid "(Added in 1.0.68)"
30838 msgstr "(Додано у 1.0.68)"
30839
30840 #. type: =head2
30841 #: ../src/guestfs-actions.pod:4953
30842 msgid "guestfs_mke2fs_JL"
30843 msgstr "guestfs_mke2fs_JL"
30844
30845 #. type: verbatim
30846 #: ../src/guestfs-actions.pod:4955
30847 #, no-wrap
30848 msgid ""
30849 " int\n"
30850 " guestfs_mke2fs_JL (guestfs_h *g,\n"
30851 "                    const char *fstype,\n"
30852 "                    int blocksize,\n"
30853 "                    const char *device,\n"
30854 "                    const char *label);\n"
30855 "\n"
30856 msgstr ""
30857 " int\n"
30858 " guestfs_mke2fs_JL (guestfs_h *g,\n"
30859 "                    const char *fstype,\n"
30860 "                    int blocksize,\n"
30861 "                    const char *device,\n"
30862 "                    const char *label);\n"
30863 "\n"
30864
30865 #. type: textblock
30866 #: ../src/guestfs-actions.pod:4965
30867 msgid "See also C<guestfs_mke2journal_L>."
30868 msgstr ""
30869
30870 #. type: =head2
30871 #: ../src/guestfs-actions.pod:4971
30872 msgid "guestfs_mke2fs_JU"
30873 msgstr "guestfs_mke2fs_JU"
30874
30875 #. type: verbatim
30876 #: ../src/guestfs-actions.pod:4973
30877 #, no-wrap
30878 msgid ""
30879 " int\n"
30880 " guestfs_mke2fs_JU (guestfs_h *g,\n"
30881 "                    const char *fstype,\n"
30882 "                    int blocksize,\n"
30883 "                    const char *device,\n"
30884 "                    const char *uuid);\n"
30885 "\n"
30886 msgstr ""
30887 " int\n"
30888 " guestfs_mke2fs_JU (guestfs_h *g,\n"
30889 "                    const char *fstype,\n"
30890 "                    int blocksize,\n"
30891 "                    const char *device,\n"
30892 "                    const char *uuid);\n"
30893 "\n"
30894
30895 #. type: textblock
30896 #: ../src/guestfs-actions.pod:4983
30897 msgid "See also C<guestfs_mke2journal_U>."
30898 msgstr ""
30899
30900 #. type: =head2
30901 #: ../src/guestfs-actions.pod:4989
30902 msgid "guestfs_mke2journal"
30903 msgstr "guestfs_mke2journal"
30904
30905 #. type: verbatim
30906 #: ../src/guestfs-actions.pod:4991
30907 #, no-wrap
30908 msgid ""
30909 " int\n"
30910 " guestfs_mke2journal (guestfs_h *g,\n"
30911 "                      int blocksize,\n"
30912 "                      const char *device);\n"
30913 "\n"
30914 msgstr ""
30915 " int\n"
30916 " guestfs_mke2journal (guestfs_h *g,\n"
30917 "                      int blocksize,\n"
30918 "                      const char *device);\n"
30919 "\n"
30920
30921 #. type: =head2
30922 #: ../src/guestfs-actions.pod:5005
30923 msgid "guestfs_mke2journal_L"
30924 msgstr "guestfs_mke2journal_L"
30925
30926 #. type: verbatim
30927 #: ../src/guestfs-actions.pod:5007
30928 #, no-wrap
30929 msgid ""
30930 " int\n"
30931 " guestfs_mke2journal_L (guestfs_h *g,\n"
30932 "                        int blocksize,\n"
30933 "                        const char *label,\n"
30934 "                        const char *device);\n"
30935 "\n"
30936 msgstr ""
30937 " int\n"
30938 " guestfs_mke2journal_L (guestfs_h *g,\n"
30939 "                        int blocksize,\n"
30940 "                        const char *label,\n"
30941 "                        const char *device);\n"
30942 "\n"
30943
30944 #. type: =head2
30945 #: ../src/guestfs-actions.pod:5019
30946 msgid "guestfs_mke2journal_U"
30947 msgstr "guestfs_mke2journal_U"
30948
30949 #. type: verbatim
30950 #: ../src/guestfs-actions.pod:5021
30951 #, no-wrap
30952 msgid ""
30953 " int\n"
30954 " guestfs_mke2journal_U (guestfs_h *g,\n"
30955 "                        int blocksize,\n"
30956 "                        const char *uuid,\n"
30957 "                        const char *device);\n"
30958 "\n"
30959 msgstr ""
30960 " int\n"
30961 " guestfs_mke2journal_U (guestfs_h *g,\n"
30962 "                        int blocksize,\n"
30963 "                        const char *uuid,\n"
30964 "                        const char *device);\n"
30965 "\n"
30966
30967 #. type: =head2
30968 #: ../src/guestfs-actions.pod:5033
30969 msgid "guestfs_mkfifo"
30970 msgstr "guestfs_mkfifo"
30971
30972 #. type: verbatim
30973 #: ../src/guestfs-actions.pod:5035
30974 #, no-wrap
30975 msgid ""
30976 " int\n"
30977 " guestfs_mkfifo (guestfs_h *g,\n"
30978 "                 int mode,\n"
30979 "                 const char *path);\n"
30980 "\n"
30981 msgstr ""
30982 " int\n"
30983 " guestfs_mkfifo (guestfs_h *g,\n"
30984 "                 int mode,\n"
30985 "                 const char *path);\n"
30986 "\n"
30987
30988 #. type: textblock
30989 #: ../src/guestfs-actions.pod:5040
30990 msgid ""
30991 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
30992 "is just a convenient wrapper around C<guestfs_mknod>."
30993 msgstr ""
30994
30995 #. type: =head2
30996 #: ../src/guestfs-actions.pod:5050
30997 msgid "guestfs_mkfs"
30998 msgstr "guestfs_mkfs"
30999
31000 #. type: verbatim
31001 #: ../src/guestfs-actions.pod:5052
31002 #, no-wrap
31003 msgid ""
31004 " int\n"
31005 " guestfs_mkfs (guestfs_h *g,\n"
31006 "               const char *fstype,\n"
31007 "               const char *device);\n"
31008 "\n"
31009 msgstr ""
31010 " int\n"
31011 " guestfs_mkfs (guestfs_h *g,\n"
31012 "               const char *fstype,\n"
31013 "               const char *device);\n"
31014 "\n"
31015
31016 #. type: =head2
31017 #: ../src/guestfs-actions.pod:5065
31018 msgid "guestfs_mkfs_b"
31019 msgstr "guestfs_mkfs_b"
31020
31021 #. type: verbatim
31022 #: ../src/guestfs-actions.pod:5067
31023 #, no-wrap
31024 msgid ""
31025 " int\n"
31026 " guestfs_mkfs_b (guestfs_h *g,\n"
31027 "                 const char *fstype,\n"
31028 "                 int blocksize,\n"
31029 "                 const char *device);\n"
31030 "\n"
31031 msgstr ""
31032 " int\n"
31033 " guestfs_mkfs_b (guestfs_h *g,\n"
31034 "                 const char *fstype,\n"
31035 "                 int blocksize,\n"
31036 "                 const char *device);\n"
31037 "\n"
31038
31039 #. type: textblock
31040 #: ../src/guestfs-actions.pod:5073
31041 msgid ""
31042 "I<This function is deprecated.> In new code, use the L</guestfs_mkfs_opts> "
31043 "call instead."
31044 msgstr ""
31045
31046 #. type: textblock
31047 #: ../src/guestfs-actions.pod:5080
31048 msgid ""
31049 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
31050 "block size of the resulting filesystem.  Supported block sizes depend on the "
31051 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
31052 msgstr ""
31053
31054 #. type: =head2
31055 #: ../src/guestfs-actions.pod:5092
31056 msgid "guestfs_mkfs_opts"
31057 msgstr "guestfs_mkfs_opts"
31058
31059 #. type: verbatim
31060 #: ../src/guestfs-actions.pod:5094
31061 #, no-wrap
31062 msgid ""
31063 " int\n"
31064 " guestfs_mkfs_opts (guestfs_h *g,\n"
31065 "                    const char *fstype,\n"
31066 "                    const char *device,\n"
31067 "                    ...);\n"
31068 "\n"
31069 msgstr ""
31070 " int\n"
31071 " guestfs_mkfs_opts (guestfs_h *g,\n"
31072 "                    const char *fstype,\n"
31073 "                    const char *device,\n"
31074 "                    ...);\n"
31075 "\n"
31076
31077 #. type: verbatim
31078 #: ../src/guestfs-actions.pod:5105
31079 #, no-wrap
31080 msgid ""
31081 " GUESTFS_MKFS_OPTS_BLOCKSIZE, int blocksize,\n"
31082 " GUESTFS_MKFS_OPTS_FEATURES, const char *features,\n"
31083 " GUESTFS_MKFS_OPTS_INODE, int inode,\n"
31084 " GUESTFS_MKFS_OPTS_SECTORSIZE, int sectorsize,\n"
31085 "\n"
31086 msgstr ""
31087
31088 #. type: textblock
31089 #: ../src/guestfs-actions.pod:5153
31090 msgid "(Added in 1.7.19)"
31091 msgstr "(Додано у 1.7.19)"
31092
31093 #. type: =head2
31094 #: ../src/guestfs-actions.pod:5155
31095 msgid "guestfs_mkfs_opts_va"
31096 msgstr "guestfs_mkfs_opts_va"
31097
31098 #. type: verbatim
31099 #: ../src/guestfs-actions.pod:5157
31100 #, no-wrap
31101 msgid ""
31102 " int\n"
31103 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
31104 "                       const char *fstype,\n"
31105 "                       const char *device,\n"
31106 "                       va_list args);\n"
31107 "\n"
31108 msgstr ""
31109 " int\n"
31110 " guestfs_mkfs_opts_va (guestfs_h *g,\n"
31111 "                       const char *fstype,\n"
31112 "                       const char *device,\n"
31113 "                       va_list args);\n"
31114 "\n"
31115
31116 #. type: textblock
31117 #: ../src/guestfs-actions.pod:5163
31118 msgid "This is the \"va_list variant\" of L</guestfs_mkfs_opts>."
31119 msgstr ""
31120
31121 #. type: =head2
31122 #: ../src/guestfs-actions.pod:5167
31123 msgid "guestfs_mkfs_opts_argv"
31124 msgstr "guestfs_mkfs_opts_argv"
31125
31126 #. type: verbatim
31127 #: ../src/guestfs-actions.pod:5169
31128 #, no-wrap
31129 msgid ""
31130 " int\n"
31131 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
31132 "                         const char *fstype,\n"
31133 "                         const char *device,\n"
31134 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
31135 "\n"
31136 msgstr ""
31137 " int\n"
31138 " guestfs_mkfs_opts_argv (guestfs_h *g,\n"
31139 "                         const char *fstype,\n"
31140 "                         const char *device,\n"
31141 "                         const struct guestfs_mkfs_opts_argv *optargs);\n"
31142 "\n"
31143
31144 #. type: textblock
31145 #: ../src/guestfs-actions.pod:5175
31146 msgid "This is the \"argv variant\" of L</guestfs_mkfs_opts>."
31147 msgstr ""
31148
31149 #. type: =head2
31150 #: ../src/guestfs-actions.pod:5179
31151 msgid "guestfs_mkmountpoint"
31152 msgstr "guestfs_mkmountpoint"
31153
31154 #. type: verbatim
31155 #: ../src/guestfs-actions.pod:5181
31156 #, no-wrap
31157 msgid ""
31158 " int\n"
31159 " guestfs_mkmountpoint (guestfs_h *g,\n"
31160 "                       const char *exemptpath);\n"
31161 "\n"
31162 msgstr ""
31163 " int\n"
31164 " guestfs_mkmountpoint (guestfs_h *g,\n"
31165 "                       const char *exemptpath);\n"
31166 "\n"
31167
31168 #. type: textblock
31169 #: ../src/guestfs-actions.pod:5185
31170 msgid ""
31171 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
31172 "that can be used to create extra mountpoints before mounting the first "
31173 "filesystem."
31174 msgstr ""
31175
31176 #. type: textblock
31177 #: ../src/guestfs-actions.pod:5209
31178 msgid ""
31179 "C<guestfs_mkmountpoint> is not compatible with C<guestfs_umount_all>.  You "
31180 "may get unexpected errors if you try to mix these calls.  It is safest to "
31181 "manually unmount filesystems and remove mountpoints after use."
31182 msgstr ""
31183
31184 #. type: textblock
31185 #: ../src/guestfs-actions.pod:5213
31186 msgid ""
31187 "C<guestfs_umount_all> unmounts filesystems by sorting the paths longest "
31188 "first, so for this to work for manual mountpoints, you must ensure that the "
31189 "innermost mountpoints have the longest pathnames, as in the example code "
31190 "above."
31191 msgstr ""
31192
31193 #. type: textblock
31194 #: ../src/guestfs-actions.pod:5220
31195 msgid ""
31196 "Autosync [see C<guestfs_set_autosync>, this is set by default on handles] "
31197 "can cause C<guestfs_umount_all> to be called when the handle is closed which "
31198 "can also trigger these issues."
31199 msgstr ""
31200
31201 #. type: textblock
31202 #: ../src/guestfs-actions.pod:5226 ../src/guestfs-actions.pod:5532
31203 #: ../src/guestfs-actions.pod:6559
31204 msgid "(Added in 1.0.62)"
31205 msgstr "(Додано у 1.0.62)"
31206
31207 #. type: =head2
31208 #: ../src/guestfs-actions.pod:5228
31209 msgid "guestfs_mknod"
31210 msgstr ""
31211
31212 #. type: verbatim
31213 #: ../src/guestfs-actions.pod:5230
31214 #, no-wrap
31215 msgid ""
31216 " int\n"
31217 " guestfs_mknod (guestfs_h *g,\n"
31218 "                int mode,\n"
31219 "                int devmajor,\n"
31220 "                int devminor,\n"
31221 "                const char *path);\n"
31222 "\n"
31223 msgstr ""
31224
31225 #. type: textblock
31226 #: ../src/guestfs-actions.pod:5245
31227 msgid ""
31228 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
31229 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
31230 "regular file).  These constants are available in the standard Linux header "
31231 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
31232 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
31233 "the appropriate constant for you."
31234 msgstr ""
31235
31236 #. type: =head2
31237 #: ../src/guestfs-actions.pod:5259
31238 msgid "guestfs_mknod_b"
31239 msgstr ""
31240
31241 #. type: verbatim
31242 #: ../src/guestfs-actions.pod:5261
31243 #, no-wrap
31244 msgid ""
31245 " int\n"
31246 " guestfs_mknod_b (guestfs_h *g,\n"
31247 "                  int mode,\n"
31248 "                  int devmajor,\n"
31249 "                  int devminor,\n"
31250 "                  const char *path);\n"
31251 "\n"
31252 msgstr ""
31253
31254 #. type: textblock
31255 #: ../src/guestfs-actions.pod:5268
31256 msgid ""
31257 "This call creates a block device node called C<path> with mode C<mode> and "
31258 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
31259 "wrapper around C<guestfs_mknod>."
31260 msgstr ""
31261
31262 #. type: =head2
31263 #: ../src/guestfs-actions.pod:5278
31264 msgid "guestfs_mknod_c"
31265 msgstr ""
31266
31267 #. type: verbatim
31268 #: ../src/guestfs-actions.pod:5280
31269 #, no-wrap
31270 msgid ""
31271 " int\n"
31272 " guestfs_mknod_c (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:5287
31282 msgid ""
31283 "This call creates a char 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:5297
31290 msgid "guestfs_mkswap"
31291 msgstr ""
31292
31293 #. type: verbatim
31294 #: ../src/guestfs-actions.pod:5299
31295 #, no-wrap
31296 msgid ""
31297 " int\n"
31298 " guestfs_mkswap (guestfs_h *g,\n"
31299 "                 const char *device);\n"
31300 "\n"
31301 msgstr ""
31302
31303 #. type: =head2
31304 #: ../src/guestfs-actions.pod:5309
31305 msgid "guestfs_mkswap_L"
31306 msgstr ""
31307
31308 #. type: verbatim
31309 #: ../src/guestfs-actions.pod:5311
31310 #, no-wrap
31311 msgid ""
31312 " int\n"
31313 " guestfs_mkswap_L (guestfs_h *g,\n"
31314 "                   const char *label,\n"
31315 "                   const char *device);\n"
31316 "\n"
31317 msgstr ""
31318
31319 #. type: =head2
31320 #: ../src/guestfs-actions.pod:5326
31321 msgid "guestfs_mkswap_U"
31322 msgstr ""
31323
31324 #. type: verbatim
31325 #: ../src/guestfs-actions.pod:5328
31326 #, no-wrap
31327 msgid ""
31328 " int\n"
31329 " guestfs_mkswap_U (guestfs_h *g,\n"
31330 "                   const char *uuid,\n"
31331 "                   const char *device);\n"
31332 "\n"
31333 msgstr ""
31334
31335 #. type: =head2
31336 #: ../src/guestfs-actions.pod:5339
31337 msgid "guestfs_mkswap_file"
31338 msgstr ""
31339
31340 #. type: verbatim
31341 #: ../src/guestfs-actions.pod:5341
31342 #, no-wrap
31343 msgid ""
31344 " int\n"
31345 " guestfs_mkswap_file (guestfs_h *g,\n"
31346 "                      const char *path);\n"
31347 "\n"
31348 msgstr ""
31349
31350 #. type: textblock
31351 #: ../src/guestfs-actions.pod:5347
31352 msgid ""
31353 "This command just writes a swap file signature to an existing file.  To "
31354 "create the file itself, use something like C<guestfs_fallocate>."
31355 msgstr ""
31356
31357 #. type: =head2
31358 #: ../src/guestfs-actions.pod:5354
31359 msgid "guestfs_modprobe"
31360 msgstr ""
31361
31362 #. type: verbatim
31363 #: ../src/guestfs-actions.pod:5356
31364 #, no-wrap
31365 msgid ""
31366 " int\n"
31367 " guestfs_modprobe (guestfs_h *g,\n"
31368 "                   const char *modulename);\n"
31369 "\n"
31370 msgstr ""
31371
31372 #. type: =head2
31373 #: ../src/guestfs-actions.pod:5369
31374 msgid "guestfs_mount"
31375 msgstr ""
31376
31377 #. type: verbatim
31378 #: ../src/guestfs-actions.pod:5371
31379 #, no-wrap
31380 msgid ""
31381 " int\n"
31382 " guestfs_mount (guestfs_h *g,\n"
31383 "                const char *device,\n"
31384 "                const char *mountpoint);\n"
31385 "\n"
31386 msgstr ""
31387
31388 #. type: textblock
31389 #: ../src/guestfs-actions.pod:5390
31390 msgid ""
31391 "Before libguestfs 1.13.16, this call implicitly added the options C<sync> "
31392 "and C<noatime>.  The C<sync> option greatly slowed writes and caused many "
31393 "problems for users.  If your program might need to work with older versions "
31394 "of libguestfs, use C<guestfs_mount_options> instead (using an empty string "
31395 "for the first parameter if you don't want any options)."
31396 msgstr ""
31397
31398 #. type: =head2
31399 #: ../src/guestfs-actions.pod:5401
31400 msgid "guestfs_mount_9p"
31401 msgstr ""
31402
31403 #. type: verbatim
31404 #: ../src/guestfs-actions.pod:5403
31405 #, no-wrap
31406 msgid ""
31407 " int\n"
31408 " guestfs_mount_9p (guestfs_h *g,\n"
31409 "                   const char *mounttag,\n"
31410 "                   const char *mountpoint,\n"
31411 "                   ...);\n"
31412 "\n"
31413 msgstr ""
31414
31415 #. type: verbatim
31416 #: ../src/guestfs-actions.pod:5414
31417 #, no-wrap
31418 msgid ""
31419 " GUESTFS_MOUNT_9P_OPTIONS, const char *options,\n"
31420 "\n"
31421 msgstr ""
31422
31423 #. type: =head2
31424 #: ../src/guestfs-actions.pod:5427
31425 msgid "guestfs_mount_9p_va"
31426 msgstr ""
31427
31428 #. type: verbatim
31429 #: ../src/guestfs-actions.pod:5429
31430 #, no-wrap
31431 msgid ""
31432 " int\n"
31433 " guestfs_mount_9p_va (guestfs_h *g,\n"
31434 "                      const char *mounttag,\n"
31435 "                      const char *mountpoint,\n"
31436 "                      va_list args);\n"
31437 "\n"
31438 msgstr ""
31439
31440 #. type: textblock
31441 #: ../src/guestfs-actions.pod:5435
31442 msgid "This is the \"va_list variant\" of L</guestfs_mount_9p>."
31443 msgstr ""
31444
31445 #. type: =head2
31446 #: ../src/guestfs-actions.pod:5439
31447 msgid "guestfs_mount_9p_argv"
31448 msgstr ""
31449
31450 #. type: verbatim
31451 #: ../src/guestfs-actions.pod:5441
31452 #, no-wrap
31453 msgid ""
31454 " int\n"
31455 " guestfs_mount_9p_argv (guestfs_h *g,\n"
31456 "                        const char *mounttag,\n"
31457 "                        const char *mountpoint,\n"
31458 "                        const struct guestfs_mount_9p_argv *optargs);\n"
31459 "\n"
31460 msgstr ""
31461
31462 #. type: textblock
31463 #: ../src/guestfs-actions.pod:5447
31464 msgid "This is the \"argv variant\" of L</guestfs_mount_9p>."
31465 msgstr ""
31466
31467 #. type: =head2
31468 #: ../src/guestfs-actions.pod:5451
31469 msgid "guestfs_mount_loop"
31470 msgstr ""
31471
31472 #. type: verbatim
31473 #: ../src/guestfs-actions.pod:5453
31474 #, no-wrap
31475 msgid ""
31476 " int\n"
31477 " guestfs_mount_loop (guestfs_h *g,\n"
31478 "                     const char *file,\n"
31479 "                     const char *mountpoint);\n"
31480 "\n"
31481 msgstr ""
31482
31483 #. type: =head2
31484 #: ../src/guestfs-actions.pod:5466
31485 msgid "guestfs_mount_options"
31486 msgstr ""
31487
31488 #. type: verbatim
31489 #: ../src/guestfs-actions.pod:5468
31490 #, no-wrap
31491 msgid ""
31492 " int\n"
31493 " guestfs_mount_options (guestfs_h *g,\n"
31494 "                        const char *options,\n"
31495 "                        const char *device,\n"
31496 "                        const char *mountpoint);\n"
31497 "\n"
31498 msgstr ""
31499
31500 #. type: textblock
31501 #: ../src/guestfs-actions.pod:5474
31502 msgid ""
31503 "This is the same as the C<guestfs_mount> command, but it allows you to set "
31504 "the mount options as for the L<mount(8)> I<-o> flag."
31505 msgstr ""
31506
31507 #. type: textblock
31508 #: ../src/guestfs-actions.pod:5484 ../src/guestfs-actions.pod:5498
31509 #: ../src/guestfs-actions.pod:5515
31510 msgid "(Added in 1.0.10)"
31511 msgstr "(Додано у 1.0.10)"
31512
31513 #. type: =head2
31514 #: ../src/guestfs-actions.pod:5486
31515 msgid "guestfs_mount_ro"
31516 msgstr ""
31517
31518 #. type: verbatim
31519 #: ../src/guestfs-actions.pod:5488
31520 #, no-wrap
31521 msgid ""
31522 " int\n"
31523 " guestfs_mount_ro (guestfs_h *g,\n"
31524 "                   const char *device,\n"
31525 "                   const char *mountpoint);\n"
31526 "\n"
31527 msgstr ""
31528
31529 #. type: textblock
31530 #: ../src/guestfs-actions.pod:5493
31531 msgid ""
31532 "This is the same as the C<guestfs_mount> command, but it mounts the "
31533 "filesystem with the read-only (I<-o ro>) flag."
31534 msgstr ""
31535
31536 #. type: =head2
31537 #: ../src/guestfs-actions.pod:5500
31538 msgid "guestfs_mount_vfs"
31539 msgstr ""
31540
31541 #. type: verbatim
31542 #: ../src/guestfs-actions.pod:5502
31543 #, no-wrap
31544 msgid ""
31545 " int\n"
31546 " guestfs_mount_vfs (guestfs_h *g,\n"
31547 "                    const char *options,\n"
31548 "                    const char *vfstype,\n"
31549 "                    const char *device,\n"
31550 "                    const char *mountpoint);\n"
31551 "\n"
31552 msgstr ""
31553
31554 #. type: textblock
31555 #: ../src/guestfs-actions.pod:5509
31556 msgid ""
31557 "This is the same as the C<guestfs_mount> command, but it allows you to set "
31558 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
31559 "t> flags."
31560 msgstr ""
31561
31562 #. type: =head2
31563 #: ../src/guestfs-actions.pod:5517
31564 msgid "guestfs_mountpoints"
31565 msgstr ""
31566
31567 #. type: verbatim
31568 #: ../src/guestfs-actions.pod:5519
31569 #, no-wrap
31570 msgid ""
31571 " char **\n"
31572 " guestfs_mountpoints (guestfs_h *g);\n"
31573 "\n"
31574 msgstr ""
31575
31576 #. type: textblock
31577 #: ../src/guestfs-actions.pod:5522
31578 msgid ""
31579 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
31580 "devices.  This one returns a hash table (map) of device name to directory "
31581 "where the device is mounted."
31582 msgstr ""
31583
31584 #. type: =head2
31585 #: ../src/guestfs-actions.pod:5534
31586 msgid "guestfs_mounts"
31587 msgstr ""
31588
31589 #. type: verbatim
31590 #: ../src/guestfs-actions.pod:5536
31591 #, no-wrap
31592 msgid ""
31593 " char **\n"
31594 " guestfs_mounts (guestfs_h *g);\n"
31595 "\n"
31596 msgstr ""
31597
31598 #. type: textblock
31599 #: ../src/guestfs-actions.pod:5544
31600 msgid "See also: C<guestfs_mountpoints>"
31601 msgstr ""
31602
31603 #. type: =head2
31604 #: ../src/guestfs-actions.pod:5552
31605 msgid "guestfs_mv"
31606 msgstr ""
31607
31608 #. type: verbatim
31609 #: ../src/guestfs-actions.pod:5554
31610 #, no-wrap
31611 msgid ""
31612 " int\n"
31613 " guestfs_mv (guestfs_h *g,\n"
31614 "             const char *src,\n"
31615 "             const char *dest);\n"
31616 "\n"
31617 msgstr ""
31618
31619 #. type: =head2
31620 #: ../src/guestfs-actions.pod:5566
31621 msgid "guestfs_ntfs_3g_probe"
31622 msgstr ""
31623
31624 #. type: verbatim
31625 #: ../src/guestfs-actions.pod:5568
31626 #, no-wrap
31627 msgid ""
31628 " int\n"
31629 " guestfs_ntfs_3g_probe (guestfs_h *g,\n"
31630 "                        int rw,\n"
31631 "                        const char *device);\n"
31632 "\n"
31633 msgstr ""
31634
31635 #. type: textblock
31636 #: ../src/guestfs-actions.pod:5587
31637 msgid "(Added in 1.0.43)"
31638 msgstr "(Додано у 1.0.43)"
31639
31640 #. type: =head2
31641 #: ../src/guestfs-actions.pod:5589
31642 msgid "guestfs_ntfsresize"
31643 msgstr ""
31644
31645 #. type: verbatim
31646 #: ../src/guestfs-actions.pod:5591
31647 #, no-wrap
31648 msgid ""
31649 " int\n"
31650 " guestfs_ntfsresize (guestfs_h *g,\n"
31651 "                     const char *device);\n"
31652 "\n"
31653 msgstr ""
31654
31655 #. type: textblock
31656 #: ../src/guestfs-actions.pod:5595 ../src/guestfs-actions.pod:5695
31657 msgid ""
31658 "I<This function is deprecated.> In new code, use the L</"
31659 "guestfs_ntfsresize_opts> call instead."
31660 msgstr ""
31661
31662 #. type: =head2
31663 #: ../src/guestfs-actions.pod:5619
31664 msgid "guestfs_ntfsresize_opts"
31665 msgstr ""
31666
31667 #. type: verbatim
31668 #: ../src/guestfs-actions.pod:5621
31669 #, no-wrap
31670 msgid ""
31671 " int\n"
31672 " guestfs_ntfsresize_opts (guestfs_h *g,\n"
31673 "                          const char *device,\n"
31674 "                          ...);\n"
31675 "\n"
31676 msgstr ""
31677
31678 #. type: verbatim
31679 #: ../src/guestfs-actions.pod:5631
31680 #, no-wrap
31681 msgid ""
31682 " GUESTFS_NTFSRESIZE_OPTS_SIZE, int64_t size,\n"
31683 " GUESTFS_NTFSRESIZE_OPTS_FORCE, int force,\n"
31684 "\n"
31685 msgstr ""
31686
31687 #. type: textblock
31688 #: ../src/guestfs-actions.pod:5651
31689 msgid ""
31690 "After the resize operation, the filesystem is always marked as requiring a "
31691 "consistency check (for safety).  You have to boot into Windows to perform "
31692 "this check and clear this condition.  If you I<don't> set the C<force> "
31693 "option then it is not possible to call C<guestfs_ntfsresize_opts> multiple "
31694 "times on a single filesystem without booting into Windows between each "
31695 "resize."
31696 msgstr ""
31697
31698 #. type: =head2
31699 #: ../src/guestfs-actions.pod:5666
31700 msgid "guestfs_ntfsresize_opts_va"
31701 msgstr ""
31702
31703 #. type: verbatim
31704 #: ../src/guestfs-actions.pod:5668
31705 #, no-wrap
31706 msgid ""
31707 " int\n"
31708 " guestfs_ntfsresize_opts_va (guestfs_h *g,\n"
31709 "                             const char *device,\n"
31710 "                             va_list args);\n"
31711 "\n"
31712 msgstr ""
31713
31714 #. type: textblock
31715 #: ../src/guestfs-actions.pod:5673
31716 msgid "This is the \"va_list variant\" of L</guestfs_ntfsresize_opts>."
31717 msgstr ""
31718
31719 #. type: =head2
31720 #: ../src/guestfs-actions.pod:5677
31721 msgid "guestfs_ntfsresize_opts_argv"
31722 msgstr ""
31723
31724 #. type: verbatim
31725 #: ../src/guestfs-actions.pod:5679
31726 #, no-wrap
31727 msgid ""
31728 " int\n"
31729 " guestfs_ntfsresize_opts_argv (guestfs_h *g,\n"
31730 "                               const char *device,\n"
31731 "                               const struct guestfs_ntfsresize_opts_argv *optargs);\n"
31732 "\n"
31733 msgstr ""
31734
31735 #. type: textblock
31736 #: ../src/guestfs-actions.pod:5684
31737 msgid "This is the \"argv variant\" of L</guestfs_ntfsresize_opts>."
31738 msgstr ""
31739
31740 #. type: =head2
31741 #: ../src/guestfs-actions.pod:5688
31742 msgid "guestfs_ntfsresize_size"
31743 msgstr ""
31744
31745 #. type: verbatim
31746 #: ../src/guestfs-actions.pod:5690
31747 #, no-wrap
31748 msgid ""
31749 " int\n"
31750 " guestfs_ntfsresize_size (guestfs_h *g,\n"
31751 "                          const char *device,\n"
31752 "                          int64_t size);\n"
31753 "\n"
31754 msgstr ""
31755
31756 #. type: textblock
31757 #: ../src/guestfs-actions.pod:5702
31758 msgid ""
31759 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
31760 "to specify the new size (in bytes) explicitly."
31761 msgstr ""
31762
31763 #. type: textblock
31764 #: ../src/guestfs-actions.pod:5707 ../src/guestfs-actions.pod:6166
31765 #: ../src/guestfs-actions.pod:6239 ../src/guestfs-actions.pod:6507
31766 #: ../src/guestfs-actions.pod:8134
31767 msgid "(Added in 1.3.14)"
31768 msgstr "(Додано у 1.3.14)"
31769
31770 #. type: =head2
31771 #: ../src/guestfs-actions.pod:5709
31772 msgid "guestfs_part_add"
31773 msgstr ""
31774
31775 #. type: verbatim
31776 #: ../src/guestfs-actions.pod:5711
31777 #, no-wrap
31778 msgid ""
31779 " int\n"
31780 " guestfs_part_add (guestfs_h *g,\n"
31781 "                   const char *device,\n"
31782 "                   const char *prlogex,\n"
31783 "                   int64_t startsect,\n"
31784 "                   int64_t endsect);\n"
31785 "\n"
31786 msgstr ""
31787
31788 #. type: textblock
31789 #: ../src/guestfs-actions.pod:5718
31790 msgid ""
31791 "This command adds a partition to C<device>.  If there is no partition table "
31792 "on the device, call C<guestfs_part_init> first."
31793 msgstr ""
31794
31795 #. type: textblock
31796 #: ../src/guestfs-actions.pod:5730
31797 msgid ""
31798 "Creating a partition which covers the whole disk is not so easy.  Use "
31799 "C<guestfs_part_disk> to do that."
31800 msgstr ""
31801
31802 #. type: textblock
31803 #: ../src/guestfs-actions.pod:5735 ../src/guestfs-actions.pod:5770
31804 #: ../src/guestfs-actions.pod:5823 ../src/guestfs-actions.pod:5907
31805 #: ../src/guestfs-actions.pod:5945 ../src/guestfs-actions.pod:5964
31806 #: ../src/guestfs-actions.pod:6004
31807 msgid "(Added in 1.0.78)"
31808 msgstr "(Додано у 1.0.78)"
31809
31810 #. type: =head2
31811 #: ../src/guestfs-actions.pod:5737
31812 msgid "guestfs_part_del"
31813 msgstr ""
31814
31815 #. type: verbatim
31816 #: ../src/guestfs-actions.pod:5739
31817 #, no-wrap
31818 msgid ""
31819 " int\n"
31820 " guestfs_part_del (guestfs_h *g,\n"
31821 "                   const char *device,\n"
31822 "                   int partnum);\n"
31823 "\n"
31824 msgstr ""
31825
31826 #. type: =head2
31827 #: ../src/guestfs-actions.pod:5754
31828 msgid "guestfs_part_disk"
31829 msgstr ""
31830
31831 #. type: verbatim
31832 #: ../src/guestfs-actions.pod:5756
31833 #, no-wrap
31834 msgid ""
31835 " int\n"
31836 " guestfs_part_disk (guestfs_h *g,\n"
31837 "                    const char *device,\n"
31838 "                    const char *parttype);\n"
31839 "\n"
31840 msgstr ""
31841
31842 #. type: textblock
31843 #: ../src/guestfs-actions.pod:5761
31844 msgid ""
31845 "This command is simply a combination of C<guestfs_part_init> followed by "
31846 "C<guestfs_part_add> to create a single primary partition covering the whole "
31847 "disk."
31848 msgstr ""
31849
31850 #. type: textblock
31851 #: ../src/guestfs-actions.pod:5765
31852 msgid ""
31853 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
31854 "possible values are described in C<guestfs_part_init>."
31855 msgstr ""
31856
31857 #. type: =head2
31858 #: ../src/guestfs-actions.pod:5772
31859 msgid "guestfs_part_get_bootable"
31860 msgstr ""
31861
31862 #. type: verbatim
31863 #: ../src/guestfs-actions.pod:5774
31864 #, no-wrap
31865 msgid ""
31866 " int\n"
31867 " guestfs_part_get_bootable (guestfs_h *g,\n"
31868 "                            const char *device,\n"
31869 "                            int partnum);\n"
31870 "\n"
31871 msgstr ""
31872
31873 #. type: textblock
31874 #: ../src/guestfs-actions.pod:5782
31875 msgid "See also C<guestfs_part_set_bootable>."
31876 msgstr ""
31877
31878 #. type: =head2
31879 #: ../src/guestfs-actions.pod:5788
31880 msgid "guestfs_part_get_mbr_id"
31881 msgstr ""
31882
31883 #. type: verbatim
31884 #: ../src/guestfs-actions.pod:5790
31885 #, no-wrap
31886 msgid ""
31887 " int\n"
31888 " guestfs_part_get_mbr_id (guestfs_h *g,\n"
31889 "                          const char *device,\n"
31890 "                          int partnum);\n"
31891 "\n"
31892 msgstr ""
31893
31894 #. type: textblock
31895 #: ../src/guestfs-actions.pod:5798 ../src/guestfs-actions.pod:5980
31896 msgid ""
31897 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
31898 "undefined results for other partition table types (see "
31899 "C<guestfs_part_get_parttype>)."
31900 msgstr ""
31901
31902 #. type: =head2
31903 #: ../src/guestfs-actions.pod:5806
31904 msgid "guestfs_part_get_parttype"
31905 msgstr ""
31906
31907 #. type: verbatim
31908 #: ../src/guestfs-actions.pod:5808
31909 #, no-wrap
31910 msgid ""
31911 " char *\n"
31912 " guestfs_part_get_parttype (guestfs_h *g,\n"
31913 "                            const char *device);\n"
31914 "\n"
31915 msgstr ""
31916
31917 #. type: textblock
31918 #: ../src/guestfs-actions.pod:5815
31919 msgid ""
31920 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
31921 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
31922 "possible, although unusual.  See C<guestfs_part_init> for a full list."
31923 msgstr ""
31924
31925 #. type: =head2
31926 #: ../src/guestfs-actions.pod:5825
31927 msgid "guestfs_part_init"
31928 msgstr ""
31929
31930 #. type: verbatim
31931 #: ../src/guestfs-actions.pod:5827
31932 #, no-wrap
31933 msgid ""
31934 " int\n"
31935 " guestfs_part_init (guestfs_h *g,\n"
31936 "                    const char *device,\n"
31937 "                    const char *parttype);\n"
31938 "\n"
31939 msgstr ""
31940
31941 #. type: textblock
31942 #: ../src/guestfs-actions.pod:5836
31943 msgid ""
31944 "Initially there are no partitions.  Following this, you should call "
31945 "C<guestfs_part_add> for each partition required."
31946 msgstr ""
31947
31948 #. type: =head2
31949 #: ../src/guestfs-actions.pod:5909
31950 msgid "guestfs_part_list"
31951 msgstr "guestfs_part_list"
31952
31953 #. type: verbatim
31954 #: ../src/guestfs-actions.pod:5911
31955 #, no-wrap
31956 msgid ""
31957 " struct guestfs_partition_list *\n"
31958 " guestfs_part_list (guestfs_h *g,\n"
31959 "                    const char *device);\n"
31960 "\n"
31961 msgstr ""
31962 " struct guestfs_partition_list *\n"
31963 " guestfs_part_list (guestfs_h *g,\n"
31964 "                    const char *device);\n"
31965 "\n"
31966
31967 #. type: textblock
31968 #: ../src/guestfs-actions.pod:5928
31969 msgid ""
31970 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
31971 "the device's sector size, see C<guestfs_blockdev_getss>."
31972 msgstr ""
31973
31974 #. type: textblock
31975 #: ../src/guestfs-actions.pod:5941
31976 msgid ""
31977 "This function returns a C<struct guestfs_partition_list *>, or NULL if there "
31978 "was an error.  I<The caller must call C<guestfs_free_partition_list> after "
31979 "use>."
31980 msgstr ""
31981
31982 #. type: =head2
31983 #: ../src/guestfs-actions.pod:5947
31984 msgid "guestfs_part_set_bootable"
31985 msgstr ""
31986
31987 #. type: verbatim
31988 #: ../src/guestfs-actions.pod:5949
31989 #, no-wrap
31990 msgid ""
31991 " int\n"
31992 " guestfs_part_set_bootable (guestfs_h *g,\n"
31993 "                            const char *device,\n"
31994 "                            int partnum,\n"
31995 "                            int bootable);\n"
31996 "\n"
31997 msgstr ""
31998
31999 #. type: =head2
32000 #: ../src/guestfs-actions.pod:5966
32001 msgid "guestfs_part_set_mbr_id"
32002 msgstr ""
32003
32004 #. type: verbatim
32005 #: ../src/guestfs-actions.pod:5968
32006 #, no-wrap
32007 msgid ""
32008 " int\n"
32009 " guestfs_part_set_mbr_id (guestfs_h *g,\n"
32010 "                          const char *device,\n"
32011 "                          int partnum,\n"
32012 "                          int idbyte);\n"
32013 "\n"
32014 msgstr ""
32015
32016 #. type: =head2
32017 #: ../src/guestfs-actions.pod:5988
32018 msgid "guestfs_part_set_name"
32019 msgstr ""
32020
32021 #. type: verbatim
32022 #: ../src/guestfs-actions.pod:5990
32023 #, no-wrap
32024 msgid ""
32025 " int\n"
32026 " guestfs_part_set_name (guestfs_h *g,\n"
32027 "                        const char *device,\n"
32028 "                        int partnum,\n"
32029 "                        const char *name);\n"
32030 "\n"
32031 msgstr ""
32032
32033 #. type: =head2
32034 #: ../src/guestfs-actions.pod:6006
32035 msgid "guestfs_part_to_dev"
32036 msgstr ""
32037
32038 #. type: verbatim
32039 #: ../src/guestfs-actions.pod:6008
32040 #, no-wrap
32041 msgid ""
32042 " char *\n"
32043 " guestfs_part_to_dev (guestfs_h *g,\n"
32044 "                      const char *partition);\n"
32045 "\n"
32046 msgstr ""
32047
32048 #. type: textblock
32049 #: ../src/guestfs-actions.pod:6016 ../src/guestfs-actions.pod:6035
32050 msgid ""
32051 "The named partition must exist, for example as a string returned from "
32052 "C<guestfs_list_partitions>."
32053 msgstr ""
32054
32055 #. type: textblock
32056 #: ../src/guestfs-actions.pod:6019
32057 msgid "See also C<guestfs_part_to_partnum>."
32058 msgstr ""
32059
32060 #. type: =head2
32061 #: ../src/guestfs-actions.pod:6026
32062 msgid "guestfs_part_to_partnum"
32063 msgstr ""
32064
32065 #. type: verbatim
32066 #: ../src/guestfs-actions.pod:6028
32067 #, no-wrap
32068 msgid ""
32069 " int\n"
32070 " guestfs_part_to_partnum (guestfs_h *g,\n"
32071 "                          const char *partition);\n"
32072 "\n"
32073 msgstr ""
32074
32075 #. type: textblock
32076 #: ../src/guestfs-actions.pod:6038
32077 msgid "See also C<guestfs_part_to_dev>."
32078 msgstr ""
32079
32080 #. type: =head2
32081 #: ../src/guestfs-actions.pod:6044
32082 msgid "guestfs_ping_daemon"
32083 msgstr ""
32084
32085 #. type: verbatim
32086 #: ../src/guestfs-actions.pod:6046
32087 #, no-wrap
32088 msgid ""
32089 " int\n"
32090 " guestfs_ping_daemon (guestfs_h *g);\n"
32091 "\n"
32092 msgstr ""
32093
32094 #. type: =head2
32095 #: ../src/guestfs-actions.pod:6058
32096 msgid "guestfs_pread"
32097 msgstr ""
32098
32099 #. type: verbatim
32100 #: ../src/guestfs-actions.pod:6060
32101 #, no-wrap
32102 msgid ""
32103 " char *\n"
32104 " guestfs_pread (guestfs_h *g,\n"
32105 "                const char *path,\n"
32106 "                int count,\n"
32107 "                int64_t offset,\n"
32108 "                size_t *size_r);\n"
32109 "\n"
32110 msgstr ""
32111
32112 #. type: textblock
32113 #: ../src/guestfs-actions.pod:6073
32114 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
32115 msgstr ""
32116
32117 #. type: =head2
32118 #: ../src/guestfs-actions.pod:6084
32119 msgid "guestfs_pread_device"
32120 msgstr ""
32121
32122 #. type: verbatim
32123 #: ../src/guestfs-actions.pod:6086
32124 #, no-wrap
32125 msgid ""
32126 " char *\n"
32127 " guestfs_pread_device (guestfs_h *g,\n"
32128 "                       const char *device,\n"
32129 "                       int count,\n"
32130 "                       int64_t offset,\n"
32131 "                       size_t *size_r);\n"
32132 "\n"
32133 msgstr ""
32134
32135 #. type: textblock
32136 #: ../src/guestfs-actions.pod:6099
32137 msgid "See also C<guestfs_pread>."
32138 msgstr ""
32139
32140 #. type: textblock
32141 #: ../src/guestfs-actions.pod:6108
32142 msgid "(Added in 1.5.21)"
32143 msgstr "(Додано у 1.5.21)"
32144
32145 #. type: =head2
32146 #: ../src/guestfs-actions.pod:6110
32147 msgid "guestfs_pvcreate"
32148 msgstr ""
32149
32150 #. type: verbatim
32151 #: ../src/guestfs-actions.pod:6112
32152 #, no-wrap
32153 msgid ""
32154 " int\n"
32155 " guestfs_pvcreate (guestfs_h *g,\n"
32156 "                   const char *device);\n"
32157 "\n"
32158 msgstr ""
32159
32160 #. type: =head2
32161 #: ../src/guestfs-actions.pod:6124
32162 msgid "guestfs_pvremove"
32163 msgstr ""
32164
32165 #. type: verbatim
32166 #: ../src/guestfs-actions.pod:6126
32167 #, no-wrap
32168 msgid ""
32169 " int\n"
32170 " guestfs_pvremove (guestfs_h *g,\n"
32171 "                   const char *device);\n"
32172 "\n"
32173 msgstr ""
32174
32175 #. type: =head2
32176 #: ../src/guestfs-actions.pod:6141
32177 msgid "guestfs_pvresize"
32178 msgstr ""
32179
32180 #. type: verbatim
32181 #: ../src/guestfs-actions.pod:6143
32182 #, no-wrap
32183 msgid ""
32184 " int\n"
32185 " guestfs_pvresize (guestfs_h *g,\n"
32186 "                   const char *device);\n"
32187 "\n"
32188 msgstr ""
32189
32190 #. type: =head2
32191 #: ../src/guestfs-actions.pod:6154
32192 msgid "guestfs_pvresize_size"
32193 msgstr ""
32194
32195 #. type: verbatim
32196 #: ../src/guestfs-actions.pod:6156
32197 #, no-wrap
32198 msgid ""
32199 " int\n"
32200 " guestfs_pvresize_size (guestfs_h *g,\n"
32201 "                        const char *device,\n"
32202 "                        int64_t size);\n"
32203 "\n"
32204 msgstr ""
32205
32206 #. type: textblock
32207 #: ../src/guestfs-actions.pod:6161
32208 msgid ""
32209 "This command is the same as C<guestfs_pvresize> except that it allows you to "
32210 "specify the new size (in bytes) explicitly."
32211 msgstr ""
32212
32213 #. type: =head2
32214 #: ../src/guestfs-actions.pod:6168
32215 msgid "guestfs_pvs"
32216 msgstr ""
32217
32218 #. type: verbatim
32219 #: ../src/guestfs-actions.pod:6170
32220 #, no-wrap
32221 msgid ""
32222 " char **\n"
32223 " guestfs_pvs (guestfs_h *g);\n"
32224 "\n"
32225 msgstr ""
32226
32227 #. type: textblock
32228 #: ../src/guestfs-actions.pod:6179
32229 msgid "See also C<guestfs_pvs_full>."
32230 msgstr ""
32231
32232 #. type: =head2
32233 #: ../src/guestfs-actions.pod:6187
32234 msgid "guestfs_pvs_full"
32235 msgstr ""
32236
32237 #. type: verbatim
32238 #: ../src/guestfs-actions.pod:6189
32239 #, no-wrap
32240 msgid ""
32241 " struct guestfs_lvm_pv_list *\n"
32242 " guestfs_pvs_full (guestfs_h *g);\n"
32243 "\n"
32244 msgstr ""
32245
32246 #. type: textblock
32247 #: ../src/guestfs-actions.pod:6195
32248 msgid ""
32249 "This function returns a C<struct guestfs_lvm_pv_list *>, or NULL if there "
32250 "was an error.  I<The caller must call C<guestfs_free_lvm_pv_list> after use>."
32251 msgstr ""
32252
32253 #. type: =head2
32254 #: ../src/guestfs-actions.pod:6201
32255 msgid "guestfs_pvuuid"
32256 msgstr ""
32257
32258 #. type: verbatim
32259 #: ../src/guestfs-actions.pod:6203
32260 #, no-wrap
32261 msgid ""
32262 " char *\n"
32263 " guestfs_pvuuid (guestfs_h *g,\n"
32264 "                 const char *device);\n"
32265 "\n"
32266 msgstr ""
32267
32268 #. type: =head2
32269 #: ../src/guestfs-actions.pod:6214
32270 msgid "guestfs_pwrite"
32271 msgstr ""
32272
32273 #. type: verbatim
32274 #: ../src/guestfs-actions.pod:6216
32275 #, no-wrap
32276 msgid ""
32277 " int\n"
32278 " guestfs_pwrite (guestfs_h *g,\n"
32279 "                 const char *path,\n"
32280 "                 const char *content,\n"
32281 "                 size_t content_size,\n"
32282 "                 int64_t offset);\n"
32283 "\n"
32284 msgstr ""
32285
32286 #. type: textblock
32287 #: ../src/guestfs-actions.pod:6232
32288 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
32289 msgstr ""
32290
32291 #. type: =head2
32292 #: ../src/guestfs-actions.pod:6241
32293 msgid "guestfs_pwrite_device"
32294 msgstr ""
32295
32296 #. type: verbatim
32297 #: ../src/guestfs-actions.pod:6243
32298 #, no-wrap
32299 msgid ""
32300 " int\n"
32301 " guestfs_pwrite_device (guestfs_h *g,\n"
32302 "                        const char *device,\n"
32303 "                        const char *content,\n"
32304 "                        size_t content_size,\n"
32305 "                        int64_t offset);\n"
32306 "\n"
32307 msgstr ""
32308
32309 #. type: textblock
32310 #: ../src/guestfs-actions.pod:6258
32311 msgid "See also C<guestfs_pwrite>."
32312 msgstr ""
32313
32314 #. type: textblock
32315 #: ../src/guestfs-actions.pod:6265
32316 msgid "(Added in 1.5.20)"
32317 msgstr "(Додано у 1.5.20)"
32318
32319 #. type: =head2
32320 #: ../src/guestfs-actions.pod:6267
32321 msgid "guestfs_read_file"
32322 msgstr ""
32323
32324 #. type: verbatim
32325 #: ../src/guestfs-actions.pod:6269
32326 #, no-wrap
32327 msgid ""
32328 " char *\n"
32329 " guestfs_read_file (guestfs_h *g,\n"
32330 "                    const char *path,\n"
32331 "                    size_t *size_r);\n"
32332 "\n"
32333 msgstr ""
32334
32335 #. type: textblock
32336 #: ../src/guestfs-actions.pod:6277
32337 msgid ""
32338 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
32339 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
32340 "function is limited in the total size of file that can be handled."
32341 msgstr ""
32342
32343 #. type: textblock
32344 #: ../src/guestfs-actions.pod:6289
32345 msgid "(Added in 1.0.63)"
32346 msgstr "(Додано у 1.0.63)"
32347
32348 #. type: =head2
32349 #: ../src/guestfs-actions.pod:6291
32350 msgid "guestfs_read_lines"
32351 msgstr ""
32352
32353 #. type: verbatim
32354 #: ../src/guestfs-actions.pod:6293
32355 #, no-wrap
32356 msgid ""
32357 " char **\n"
32358 " guestfs_read_lines (guestfs_h *g,\n"
32359 "                     const char *path);\n"
32360 "\n"
32361 msgstr ""
32362
32363 #. type: textblock
32364 #: ../src/guestfs-actions.pod:6302
32365 msgid ""
32366 "Note that this function cannot correctly handle binary files (specifically, "
32367 "files containing C<\\0> character which is treated as end of line).  For "
32368 "those you need to use the C<guestfs_read_file> function which has a more "
32369 "complex interface."
32370 msgstr ""
32371
32372 #. type: =head2
32373 #: ../src/guestfs-actions.pod:6313
32374 msgid "guestfs_readdir"
32375 msgstr ""
32376
32377 #. type: verbatim
32378 #: ../src/guestfs-actions.pod:6315
32379 #, no-wrap
32380 msgid ""
32381 " struct guestfs_dirent_list *\n"
32382 " guestfs_readdir (guestfs_h *g,\n"
32383 "                  const char *dir);\n"
32384 "\n"
32385 msgstr ""
32386
32387 #. type: textblock
32388 #: ../src/guestfs-actions.pod:6369
32389 msgid ""
32390 "This function is primarily intended for use by programs.  To get a simple "
32391 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
32392 "consumption, use C<guestfs_ll>."
32393 msgstr ""
32394
32395 #. type: textblock
32396 #: ../src/guestfs-actions.pod:6373
32397 msgid ""
32398 "This function returns a C<struct guestfs_dirent_list *>, or NULL if there "
32399 "was an error.  I<The caller must call C<guestfs_free_dirent_list> after use>."
32400 msgstr ""
32401
32402 #. type: =head2
32403 #: ../src/guestfs-actions.pod:6379
32404 msgid "guestfs_readlink"
32405 msgstr ""
32406
32407 #. type: verbatim
32408 #: ../src/guestfs-actions.pod:6381
32409 #, no-wrap
32410 msgid ""
32411 " char *\n"
32412 " guestfs_readlink (guestfs_h *g,\n"
32413 "                   const char *path);\n"
32414 "\n"
32415 msgstr ""
32416
32417 #. type: =head2
32418 #: ../src/guestfs-actions.pod:6392
32419 msgid "guestfs_readlinklist"
32420 msgstr ""
32421
32422 #. type: verbatim
32423 #: ../src/guestfs-actions.pod:6394
32424 #, no-wrap
32425 msgid ""
32426 " char **\n"
32427 " guestfs_readlinklist (guestfs_h *g,\n"
32428 "                       const char *path,\n"
32429 "                       char *const *names);\n"
32430 "\n"
32431 msgstr ""
32432
32433 #. type: =head2
32434 #: ../src/guestfs-actions.pod:6427
32435 msgid "guestfs_realpath"
32436 msgstr ""
32437
32438 #. type: verbatim
32439 #: ../src/guestfs-actions.pod:6429
32440 #, no-wrap
32441 msgid ""
32442 " char *\n"
32443 " guestfs_realpath (guestfs_h *g,\n"
32444 "                   const char *path);\n"
32445 "\n"
32446 msgstr ""
32447
32448 #. type: =head2
32449 #: ../src/guestfs-actions.pod:6441
32450 msgid "guestfs_removexattr"
32451 msgstr ""
32452
32453 #. type: verbatim
32454 #: ../src/guestfs-actions.pod:6443
32455 #, no-wrap
32456 msgid ""
32457 " int\n"
32458 " guestfs_removexattr (guestfs_h *g,\n"
32459 "                      const char *xattr,\n"
32460 "                      const char *path);\n"
32461 "\n"
32462 msgstr ""
32463
32464 #. type: textblock
32465 #: ../src/guestfs-actions.pod:6451
32466 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
32467 msgstr ""
32468
32469 #. type: =head2
32470 #: ../src/guestfs-actions.pod:6457
32471 msgid "guestfs_resize2fs"
32472 msgstr ""
32473
32474 #. type: verbatim
32475 #: ../src/guestfs-actions.pod:6459
32476 #, no-wrap
32477 msgid ""
32478 " int\n"
32479 " guestfs_resize2fs (guestfs_h *g,\n"
32480 "                    const char *device);\n"
32481 "\n"
32482 msgstr ""
32483
32484 #. type: textblock
32485 #: ../src/guestfs-actions.pod:6466
32486 msgid ""
32487 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
32488 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
32489 "sometimes gives an error about this and sometimes not.  In any case, it is "
32490 "always safe to call C<guestfs_e2fsck_f> before calling this function."
32491 msgstr ""
32492
32493 #. type: =head2
32494 #: ../src/guestfs-actions.pod:6476
32495 msgid "guestfs_resize2fs_M"
32496 msgstr ""
32497
32498 #. type: verbatim
32499 #: ../src/guestfs-actions.pod:6478
32500 #, no-wrap
32501 msgid ""
32502 " int\n"
32503 " guestfs_resize2fs_M (guestfs_h *g,\n"
32504 "                      const char *device);\n"
32505 "\n"
32506 msgstr ""
32507
32508 #. type: textblock
32509 #: ../src/guestfs-actions.pod:6482
32510 msgid ""
32511 "This command is the same as C<guestfs_resize2fs>, but the filesystem is "
32512 "resized to its minimum size.  This works like the I<-M> option to the "
32513 "C<resize2fs> command."
32514 msgstr ""
32515
32516 #. type: textblock
32517 #: ../src/guestfs-actions.pod:6486
32518 msgid ""
32519 "To get the resulting size of the filesystem you should call "
32520 "C<guestfs_tune2fs_l> and read the C<Block size> and C<Block count> values.  "
32521 "These two numbers, multiplied together, give the resulting size of the "
32522 "minimal filesystem in bytes."
32523 msgstr ""
32524
32525 #. type: =head2
32526 #: ../src/guestfs-actions.pod:6495
32527 msgid "guestfs_resize2fs_size"
32528 msgstr ""
32529
32530 #. type: verbatim
32531 #: ../src/guestfs-actions.pod:6497
32532 #, no-wrap
32533 msgid ""
32534 " int\n"
32535 " guestfs_resize2fs_size (guestfs_h *g,\n"
32536 "                         const char *device,\n"
32537 "                         int64_t size);\n"
32538 "\n"
32539 msgstr ""
32540
32541 #. type: textblock
32542 #: ../src/guestfs-actions.pod:6502
32543 msgid ""
32544 "This command is the same as C<guestfs_resize2fs> except that it allows you "
32545 "to specify the new size (in bytes) explicitly."
32546 msgstr ""
32547
32548 #. type: =head2
32549 #: ../src/guestfs-actions.pod:6509
32550 msgid "guestfs_rm"
32551 msgstr ""
32552
32553 #. type: verbatim
32554 #: ../src/guestfs-actions.pod:6511
32555 #, no-wrap
32556 msgid ""
32557 " int\n"
32558 " guestfs_rm (guestfs_h *g,\n"
32559 "             const char *path);\n"
32560 "\n"
32561 msgstr ""
32562
32563 #. type: =head2
32564 #: ../src/guestfs-actions.pod:6521
32565 msgid "guestfs_rm_rf"
32566 msgstr ""
32567
32568 #. type: verbatim
32569 #: ../src/guestfs-actions.pod:6523
32570 #, no-wrap
32571 msgid ""
32572 " int\n"
32573 " guestfs_rm_rf (guestfs_h *g,\n"
32574 "                const char *path);\n"
32575 "\n"
32576 msgstr ""
32577
32578 #. type: =head2
32579 #: ../src/guestfs-actions.pod:6535
32580 msgid "guestfs_rmdir"
32581 msgstr ""
32582
32583 #. type: verbatim
32584 #: ../src/guestfs-actions.pod:6537
32585 #, no-wrap
32586 msgid ""
32587 " int\n"
32588 " guestfs_rmdir (guestfs_h *g,\n"
32589 "                const char *path);\n"
32590 "\n"
32591 msgstr ""
32592
32593 #. type: =head2
32594 #: ../src/guestfs-actions.pod:6547
32595 msgid "guestfs_rmmountpoint"
32596 msgstr ""
32597
32598 #. type: verbatim
32599 #: ../src/guestfs-actions.pod:6549
32600 #, no-wrap
32601 msgid ""
32602 " int\n"
32603 " guestfs_rmmountpoint (guestfs_h *g,\n"
32604 "                       const char *exemptpath);\n"
32605 "\n"
32606 msgstr ""
32607
32608 #. type: textblock
32609 #: ../src/guestfs-actions.pod:6553
32610 msgid ""
32611 "This calls removes a mountpoint that was previously created with "
32612 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
32613 msgstr ""
32614
32615 #. type: =head2
32616 #: ../src/guestfs-actions.pod:6561
32617 msgid "guestfs_scrub_device"
32618 msgstr ""
32619
32620 #. type: verbatim
32621 #: ../src/guestfs-actions.pod:6563
32622 #, no-wrap
32623 msgid ""
32624 " int\n"
32625 " guestfs_scrub_device (guestfs_h *g,\n"
32626 "                       const char *device);\n"
32627 "\n"
32628 msgstr ""
32629
32630 #. type: textblock
32631 #: ../src/guestfs-actions.pod:6575 ../src/guestfs-actions.pod:6593
32632 #: ../src/guestfs-actions.pod:6612
32633 msgid "(Added in 1.0.52)"
32634 msgstr "(Додано у 1.0.52)"
32635
32636 #. type: =head2
32637 #: ../src/guestfs-actions.pod:6577
32638 msgid "guestfs_scrub_file"
32639 msgstr ""
32640
32641 #. type: verbatim
32642 #: ../src/guestfs-actions.pod:6579
32643 #, no-wrap
32644 msgid ""
32645 " int\n"
32646 " guestfs_scrub_file (guestfs_h *g,\n"
32647 "                     const char *file);\n"
32648 "\n"
32649 msgstr ""
32650
32651 #. type: =head2
32652 #: ../src/guestfs-actions.pod:6595
32653 msgid "guestfs_scrub_freespace"
32654 msgstr ""
32655
32656 #. type: verbatim
32657 #: ../src/guestfs-actions.pod:6597
32658 #, no-wrap
32659 msgid ""
32660 " int\n"
32661 " guestfs_scrub_freespace (guestfs_h *g,\n"
32662 "                          const char *dir);\n"
32663 "\n"
32664 msgstr ""
32665
32666 #. type: textblock
32667 #: ../src/guestfs-actions.pod:6601
32668 msgid ""
32669 "This command creates the directory C<dir> and then fills it with files until "
32670 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
32671 "and deletes them.  The intention is to scrub any free space on the partition "
32672 "containing C<dir>."
32673 msgstr ""
32674
32675 #. type: =head2
32676 #: ../src/guestfs-actions.pod:6614
32677 msgid "guestfs_set_append"
32678 msgstr ""
32679
32680 #. type: verbatim
32681 #: ../src/guestfs-actions.pod:6616
32682 #, no-wrap
32683 msgid ""
32684 " int\n"
32685 " guestfs_set_append (guestfs_h *g,\n"
32686 "                     const char *append);\n"
32687 "\n"
32688 msgstr ""
32689
32690 #. type: =head2
32691 #: ../src/guestfs-actions.pod:6633
32692 msgid "guestfs_set_attach_method"
32693 msgstr ""
32694
32695 #. type: verbatim
32696 #: ../src/guestfs-actions.pod:6635
32697 #, no-wrap
32698 msgid ""
32699 " int\n"
32700 " guestfs_set_attach_method (guestfs_h *g,\n"
32701 "                            const char *attachmethod);\n"
32702 "\n"
32703 msgstr ""
32704
32705 #. type: =head2
32706 #: ../src/guestfs-actions.pod:6663
32707 msgid "guestfs_set_autosync"
32708 msgstr ""
32709
32710 #. type: verbatim
32711 #: ../src/guestfs-actions.pod:6665
32712 #, no-wrap
32713 msgid ""
32714 " int\n"
32715 " guestfs_set_autosync (guestfs_h *g,\n"
32716 "                       int autosync);\n"
32717 "\n"
32718 msgstr ""
32719
32720 #. type: =head2
32721 #: ../src/guestfs-actions.pod:6681
32722 msgid "guestfs_set_direct"
32723 msgstr ""
32724
32725 #. type: verbatim
32726 #: ../src/guestfs-actions.pod:6683
32727 #, no-wrap
32728 msgid ""
32729 " int\n"
32730 " guestfs_set_direct (guestfs_h *g,\n"
32731 "                     int direct);\n"
32732 "\n"
32733 msgstr ""
32734
32735 #. type: textblock
32736 #: ../src/guestfs-actions.pod:6691
32737 msgid ""
32738 "One consequence of this is that log messages aren't caught by the library "
32739 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
32740 "stdout."
32741 msgstr ""
32742
32743 #. type: =head2
32744 #: ../src/guestfs-actions.pod:6704
32745 msgid "guestfs_set_e2label"
32746 msgstr ""
32747
32748 #. type: verbatim
32749 #: ../src/guestfs-actions.pod:6706
32750 #, no-wrap
32751 msgid ""
32752 " int\n"
32753 " guestfs_set_e2label (guestfs_h *g,\n"
32754 "                      const char *device,\n"
32755 "                      const char *label);\n"
32756 "\n"
32757 msgstr ""
32758
32759 #. type: textblock
32760 #: ../src/guestfs-actions.pod:6715
32761 msgid ""
32762 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
32763 "the existing label on a filesystem."
32764 msgstr ""
32765
32766 #. type: =head2
32767 #: ../src/guestfs-actions.pod:6722
32768 msgid "guestfs_set_e2uuid"
32769 msgstr ""
32770
32771 #. type: verbatim
32772 #: ../src/guestfs-actions.pod:6724
32773 #, no-wrap
32774 msgid ""
32775 " int\n"
32776 " guestfs_set_e2uuid (guestfs_h *g,\n"
32777 "                     const char *device,\n"
32778 "                     const char *uuid);\n"
32779 "\n"
32780 msgstr ""
32781
32782 #. type: textblock
32783 #: ../src/guestfs-actions.pod:6734
32784 msgid ""
32785 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
32786 "the existing UUID of a filesystem."
32787 msgstr ""
32788
32789 #. type: =head2
32790 #: ../src/guestfs-actions.pod:6741
32791 msgid "guestfs_set_memsize"
32792 msgstr ""
32793
32794 #. type: verbatim
32795 #: ../src/guestfs-actions.pod:6743
32796 #, no-wrap
32797 msgid ""
32798 " int\n"
32799 " guestfs_set_memsize (guestfs_h *g,\n"
32800 "                      int memsize);\n"
32801 "\n"
32802 msgstr ""
32803
32804 #. type: textblock
32805 #: ../src/guestfs-actions.pod:6747
32806 msgid ""
32807 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
32808 "This only has any effect if called before C<guestfs_launch>."
32809 msgstr ""
32810
32811 #. type: =head2
32812 #: ../src/guestfs-actions.pod:6762
32813 msgid "guestfs_set_network"
32814 msgstr ""
32815
32816 #. type: verbatim
32817 #: ../src/guestfs-actions.pod:6764
32818 #, no-wrap
32819 msgid ""
32820 " int\n"
32821 " guestfs_set_network (guestfs_h *g,\n"
32822 "                      int network);\n"
32823 "\n"
32824 msgstr ""
32825
32826 #. type: textblock
32827 #: ../src/guestfs-actions.pod:6774
32828 msgid ""
32829 "You must call this before calling C<guestfs_launch>, otherwise it has no "
32830 "effect."
32831 msgstr ""
32832
32833 #. type: =head2
32834 #: ../src/guestfs-actions.pod:6781
32835 msgid "guestfs_set_path"
32836 msgstr ""
32837
32838 #. type: verbatim
32839 #: ../src/guestfs-actions.pod:6783
32840 #, no-wrap
32841 msgid ""
32842 " int\n"
32843 " guestfs_set_path (guestfs_h *g,\n"
32844 "                   const char *searchpath);\n"
32845 "\n"
32846 msgstr ""
32847
32848 #. type: =head2
32849 #: ../src/guestfs-actions.pod:6798
32850 msgid "guestfs_set_pgroup"
32851 msgstr ""
32852
32853 #. type: verbatim
32854 #: ../src/guestfs-actions.pod:6800
32855 #, no-wrap
32856 msgid ""
32857 " int\n"
32858 " guestfs_set_pgroup (guestfs_h *g,\n"
32859 "                     int pgroup);\n"
32860 "\n"
32861 msgstr ""
32862
32863 #. type: =head2
32864 #: ../src/guestfs-actions.pod:6817
32865 msgid "guestfs_set_qemu"
32866 msgstr ""
32867
32868 #. type: verbatim
32869 #: ../src/guestfs-actions.pod:6819
32870 #, no-wrap
32871 msgid ""
32872 " int\n"
32873 " guestfs_set_qemu (guestfs_h *g,\n"
32874 "                   const char *qemu);\n"
32875 "\n"
32876 msgstr ""
32877
32878 #. type: =head2
32879 #: ../src/guestfs-actions.pod:6845
32880 msgid "guestfs_set_recovery_proc"
32881 msgstr ""
32882
32883 #. type: verbatim
32884 #: ../src/guestfs-actions.pod:6847
32885 #, no-wrap
32886 msgid ""
32887 " int\n"
32888 " guestfs_set_recovery_proc (guestfs_h *g,\n"
32889 "                            int recoveryproc);\n"
32890 "\n"
32891 msgstr ""
32892
32893 #. type: textblock
32894 #: ../src/guestfs-actions.pod:6851
32895 msgid ""
32896 "If this is called with the parameter C<false> then C<guestfs_launch> does "
32897 "not create a recovery process.  The purpose of the recovery process is to "
32898 "stop runaway qemu processes in the case where the main program aborts "
32899 "abruptly."
32900 msgstr ""
32901
32902 #. type: textblock
32903 #: ../src/guestfs-actions.pod:6856
32904 msgid ""
32905 "This only has any effect if called before C<guestfs_launch>, and the default "
32906 "is true."
32907 msgstr ""
32908
32909 #. type: =head2
32910 #: ../src/guestfs-actions.pod:6869
32911 msgid "guestfs_set_selinux"
32912 msgstr ""
32913
32914 #. type: verbatim
32915 #: ../src/guestfs-actions.pod:6871
32916 #, no-wrap
32917 msgid ""
32918 " int\n"
32919 " guestfs_set_selinux (guestfs_h *g,\n"
32920 "                      int selinux);\n"
32921 "\n"
32922 msgstr ""
32923
32924 #. type: =head2
32925 #: ../src/guestfs-actions.pod:6888
32926 msgid "guestfs_set_smp"
32927 msgstr ""
32928
32929 #. type: verbatim
32930 #: ../src/guestfs-actions.pod:6890
32931 #, no-wrap
32932 msgid ""
32933 " int\n"
32934 " guestfs_set_smp (guestfs_h *g,\n"
32935 "                  int smp);\n"
32936 "\n"
32937 msgstr ""
32938
32939 #. type: textblock
32940 #: ../src/guestfs-actions.pod:6898
32941 msgid "This function must be called before C<guestfs_launch>."
32942 msgstr ""
32943
32944 #. type: =head2
32945 #: ../src/guestfs-actions.pod:6904
32946 msgid "guestfs_set_trace"
32947 msgstr ""
32948
32949 #. type: verbatim
32950 #: ../src/guestfs-actions.pod:6906
32951 #, no-wrap
32952 msgid ""
32953 " int\n"
32954 " guestfs_set_trace (guestfs_h *g,\n"
32955 "                    int trace);\n"
32956 "\n"
32957 msgstr ""
32958
32959 #. type: textblock
32960 #: ../src/guestfs-actions.pod:6920
32961 msgid ""
32962 "Trace messages are normally sent to C<stderr>, unless you register a "
32963 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
32964 msgstr ""
32965
32966 #. type: =head2
32967 #: ../src/guestfs-actions.pod:6928
32968 msgid "guestfs_set_verbose"
32969 msgstr ""
32970
32971 #. type: verbatim
32972 #: ../src/guestfs-actions.pod:6930
32973 #, no-wrap
32974 msgid ""
32975 " int\n"
32976 " guestfs_set_verbose (guestfs_h *g,\n"
32977 "                      int verbose);\n"
32978 "\n"
32979 msgstr ""
32980
32981 #. type: textblock
32982 #: ../src/guestfs-actions.pod:6939
32983 msgid ""
32984 "Verbose messages are normally sent to C<stderr>, unless you register a "
32985 "callback to send them somewhere else (see C<guestfs_set_event_callback>)."
32986 msgstr ""
32987
32988 #. type: =head2
32989 #: ../src/guestfs-actions.pod:6947
32990 msgid "guestfs_setcon"
32991 msgstr ""
32992
32993 #. type: verbatim
32994 #: ../src/guestfs-actions.pod:6949
32995 #, no-wrap
32996 msgid ""
32997 " int\n"
32998 " guestfs_setcon (guestfs_h *g,\n"
32999 "                 const char *context);\n"
33000 "\n"
33001 msgstr ""
33002
33003 #. type: =head2
33004 #: ../src/guestfs-actions.pod:6962
33005 msgid "guestfs_setxattr"
33006 msgstr ""
33007
33008 #. type: verbatim
33009 #: ../src/guestfs-actions.pod:6964
33010 #, no-wrap
33011 msgid ""
33012 " int\n"
33013 " guestfs_setxattr (guestfs_h *g,\n"
33014 "                   const char *xattr,\n"
33015 "                   const char *val,\n"
33016 "                   int vallen,\n"
33017 "                   const char *path);\n"
33018 "\n"
33019 msgstr ""
33020
33021 #. type: textblock
33022 #: ../src/guestfs-actions.pod:6975
33023 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
33024 msgstr ""
33025
33026 #. type: =head2
33027 #: ../src/guestfs-actions.pod:6981
33028 msgid "guestfs_sfdisk"
33029 msgstr ""
33030
33031 #. type: verbatim
33032 #: ../src/guestfs-actions.pod:6983
33033 #, no-wrap
33034 msgid ""
33035 " int\n"
33036 " guestfs_sfdisk (guestfs_h *g,\n"
33037 "                 const char *device,\n"
33038 "                 int cyls,\n"
33039 "                 int heads,\n"
33040 "                 int sectors,\n"
33041 "                 char *const *lines);\n"
33042 "\n"
33043 msgstr ""
33044
33045 #. type: textblock
33046 #: ../src/guestfs-actions.pod:6991 ../src/guestfs-actions.pod:7032
33047 #: ../src/guestfs-actions.pod:7063
33048 msgid ""
33049 "I<This function is deprecated.> In new code, use the L</guestfs_part_add> "
33050 "call instead."
33051 msgstr ""
33052
33053 #. type: textblock
33054 #: ../src/guestfs-actions.pod:7018
33055 msgid ""
33056 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
33057 msgstr ""
33058
33059 #. type: =head2
33060 #: ../src/guestfs-actions.pod:7025
33061 msgid "guestfs_sfdiskM"
33062 msgstr ""
33063
33064 #. type: verbatim
33065 #: ../src/guestfs-actions.pod:7027
33066 #, no-wrap
33067 msgid ""
33068 " int\n"
33069 " guestfs_sfdiskM (guestfs_h *g,\n"
33070 "                  const char *device,\n"
33071 "                  char *const *lines);\n"
33072 "\n"
33073 msgstr ""
33074
33075 #. type: textblock
33076 #: ../src/guestfs-actions.pod:7039
33077 msgid ""
33078 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
33079 "partition sizes are specified in megabytes only (rounded to the nearest "
33080 "cylinder) and you don't need to specify the cyls, heads and sectors "
33081 "parameters which were rarely if ever used anyway."
33082 msgstr ""
33083
33084 #. type: textblock
33085 #: ../src/guestfs-actions.pod:7045
33086 msgid ""
33087 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
33088 "C<guestfs_part_disk>"
33089 msgstr ""
33090
33091 #. type: =head2
33092 #: ../src/guestfs-actions.pod:7052
33093 msgid "guestfs_sfdisk_N"
33094 msgstr ""
33095
33096 #. type: verbatim
33097 #: ../src/guestfs-actions.pod:7054
33098 #, no-wrap
33099 msgid ""
33100 " int\n"
33101 " guestfs_sfdisk_N (guestfs_h *g,\n"
33102 "                   const char *device,\n"
33103 "                   int partnum,\n"
33104 "                   int cyls,\n"
33105 "                   int heads,\n"
33106 "                   int sectors,\n"
33107 "                   const char *line);\n"
33108 "\n"
33109 msgstr ""
33110
33111 #. type: textblock
33112 #: ../src/guestfs-actions.pod:7073
33113 msgid ""
33114 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
33115 "for the cyls/heads/sectors parameters."
33116 msgstr ""
33117
33118 #. type: textblock
33119 #: ../src/guestfs-actions.pod:7076
33120 msgid "See also: C<guestfs_part_add>"
33121 msgstr ""
33122
33123 #. type: =head2
33124 #: ../src/guestfs-actions.pod:7082
33125 msgid "guestfs_sfdisk_disk_geometry"
33126 msgstr ""
33127
33128 #. type: verbatim
33129 #: ../src/guestfs-actions.pod:7084
33130 #, no-wrap
33131 msgid ""
33132 " char *\n"
33133 " guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
33134 "                               const char *device);\n"
33135 "\n"
33136 msgstr ""
33137
33138 #. type: textblock
33139 #: ../src/guestfs-actions.pod:7088
33140 msgid ""
33141 "This displays the disk geometry of C<device> read from the partition table.  "
33142 "Especially in the case where the underlying block device has been resized, "
33143 "this can be different from the kernel's idea of the geometry (see "
33144 "C<guestfs_sfdisk_kernel_geometry>)."
33145 msgstr ""
33146
33147 #. type: =head2
33148 #: ../src/guestfs-actions.pod:7101
33149 msgid "guestfs_sfdisk_kernel_geometry"
33150 msgstr ""
33151
33152 #. type: verbatim
33153 #: ../src/guestfs-actions.pod:7103
33154 #, no-wrap
33155 msgid ""
33156 " char *\n"
33157 " guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
33158 "                                 const char *device);\n"
33159 "\n"
33160 msgstr ""
33161
33162 #. type: =head2
33163 #: ../src/guestfs-actions.pod:7117
33164 msgid "guestfs_sfdisk_l"
33165 msgstr ""
33166
33167 #. type: verbatim
33168 #: ../src/guestfs-actions.pod:7119
33169 #, no-wrap
33170 msgid ""
33171 " char *\n"
33172 " guestfs_sfdisk_l (guestfs_h *g,\n"
33173 "                   const char *device);\n"
33174 "\n"
33175 msgstr ""
33176
33177 #. type: textblock
33178 #: ../src/guestfs-actions.pod:7123
33179 msgid ""
33180 "I<This function is deprecated.> In new code, use the L</guestfs_part_list> "
33181 "call instead."
33182 msgstr ""
33183
33184 #. type: textblock
33185 #: ../src/guestfs-actions.pod:7134
33186 msgid "See also: C<guestfs_part_list>"
33187 msgstr ""
33188
33189 #. type: =head2
33190 #: ../src/guestfs-actions.pod:7141
33191 msgid "guestfs_sh"
33192 msgstr ""
33193
33194 #. type: verbatim
33195 #: ../src/guestfs-actions.pod:7143
33196 #, no-wrap
33197 msgid ""
33198 " char *\n"
33199 " guestfs_sh (guestfs_h *g,\n"
33200 "             const char *command);\n"
33201 "\n"
33202 msgstr ""
33203
33204 #. type: textblock
33205 #: ../src/guestfs-actions.pod:7150
33206 msgid "This is like C<guestfs_command>, but passes the command to:"
33207 msgstr ""
33208
33209 #. type: textblock
33210 #: ../src/guestfs-actions.pod:7158
33211 msgid "All the provisos about C<guestfs_command> apply to this call."
33212 msgstr ""
33213
33214 #. type: =head2
33215 #: ../src/guestfs-actions.pod:7165
33216 msgid "guestfs_sh_lines"
33217 msgstr ""
33218
33219 #. type: verbatim
33220 #: ../src/guestfs-actions.pod:7167
33221 #, no-wrap
33222 msgid ""
33223 " char **\n"
33224 " guestfs_sh_lines (guestfs_h *g,\n"
33225 "                   const char *command);\n"
33226 "\n"
33227 msgstr ""
33228
33229 #. type: textblock
33230 #: ../src/guestfs-actions.pod:7171
33231 msgid ""
33232 "This is the same as C<guestfs_sh>, but splits the result into a list of "
33233 "lines."
33234 msgstr ""
33235
33236 #. type: textblock
33237 #: ../src/guestfs-actions.pod:7174
33238 msgid "See also: C<guestfs_command_lines>"
33239 msgstr ""
33240
33241 #. type: =head2
33242 #: ../src/guestfs-actions.pod:7182
33243 msgid "guestfs_sleep"
33244 msgstr ""
33245
33246 #. type: verbatim
33247 #: ../src/guestfs-actions.pod:7184
33248 #, no-wrap
33249 msgid ""
33250 " int\n"
33251 " guestfs_sleep (guestfs_h *g,\n"
33252 "                int secs);\n"
33253 "\n"
33254 msgstr ""
33255
33256 #. type: textblock
33257 #: ../src/guestfs-actions.pod:7192
33258 msgid "(Added in 1.0.41)"
33259 msgstr "(Додано у 1.0.41)"
33260
33261 #. type: =head2
33262 #: ../src/guestfs-actions.pod:7194 ../src/guestfs-structs.pod:109
33263 msgid "guestfs_stat"
33264 msgstr ""
33265
33266 #. type: verbatim
33267 #: ../src/guestfs-actions.pod:7196
33268 #, no-wrap
33269 msgid ""
33270 " struct guestfs_stat *\n"
33271 " guestfs_stat (guestfs_h *g,\n"
33272 "               const char *path);\n"
33273 "\n"
33274 msgstr ""
33275
33276 #. type: =head2
33277 #: ../src/guestfs-actions.pod:7210 ../src/guestfs-structs.pod:135
33278 msgid "guestfs_statvfs"
33279 msgstr ""
33280
33281 #. type: verbatim
33282 #: ../src/guestfs-actions.pod:7212
33283 #, no-wrap
33284 msgid ""
33285 " struct guestfs_statvfs *\n"
33286 " guestfs_statvfs (guestfs_h *g,\n"
33287 "                  const char *path);\n"
33288 "\n"
33289 msgstr ""
33290
33291 #. type: textblock
33292 #: ../src/guestfs-actions.pod:7222
33293 msgid ""
33294 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
33295 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
33296 msgstr ""
33297
33298 #. type: =head2
33299 #: ../src/guestfs-actions.pod:7228
33300 msgid "guestfs_strings"
33301 msgstr ""
33302
33303 #. type: verbatim
33304 #: ../src/guestfs-actions.pod:7230
33305 #, no-wrap
33306 msgid ""
33307 " char **\n"
33308 " guestfs_strings (guestfs_h *g,\n"
33309 "                  const char *path);\n"
33310 "\n"
33311 msgstr ""
33312
33313 #. type: =head2
33314 #: ../src/guestfs-actions.pod:7246
33315 msgid "guestfs_strings_e"
33316 msgstr ""
33317
33318 #. type: verbatim
33319 #: ../src/guestfs-actions.pod:7248
33320 #, no-wrap
33321 msgid ""
33322 " char **\n"
33323 " guestfs_strings_e (guestfs_h *g,\n"
33324 "                    const char *encoding,\n"
33325 "                    const char *path);\n"
33326 "\n"
33327 msgstr ""
33328
33329 #. type: textblock
33330 #: ../src/guestfs-actions.pod:7253
33331 msgid ""
33332 "This is like the C<guestfs_strings> command, but allows you to specify the "
33333 "encoding of strings that are looked for in the source file C<path>."
33334 msgstr ""
33335
33336 #. type: textblock
33337 #: ../src/guestfs-actions.pod:7263
33338 msgid ""
33339 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
33340 "ISO-8859-X (this is what C<guestfs_strings> uses)."
33341 msgstr ""
33342
33343 #. type: =head2
33344 #: ../src/guestfs-actions.pod:7301
33345 msgid "guestfs_swapoff_device"
33346 msgstr ""
33347
33348 #. type: verbatim
33349 #: ../src/guestfs-actions.pod:7303
33350 #, no-wrap
33351 msgid ""
33352 " int\n"
33353 " guestfs_swapoff_device (guestfs_h *g,\n"
33354 "                         const char *device);\n"
33355 "\n"
33356 msgstr ""
33357
33358 #. type: textblock
33359 #: ../src/guestfs-actions.pod:7307
33360 msgid ""
33361 "This command disables the libguestfs appliance swap device or partition "
33362 "named C<device>.  See C<guestfs_swapon_device>."
33363 msgstr ""
33364
33365 #. type: =head2
33366 #: ../src/guestfs-actions.pod:7315
33367 msgid "guestfs_swapoff_file"
33368 msgstr ""
33369
33370 #. type: verbatim
33371 #: ../src/guestfs-actions.pod:7317
33372 #, no-wrap
33373 msgid ""
33374 " int\n"
33375 " guestfs_swapoff_file (guestfs_h *g,\n"
33376 "                       const char *file);\n"
33377 "\n"
33378 msgstr ""
33379
33380 #. type: =head2
33381 #: ../src/guestfs-actions.pod:7327
33382 msgid "guestfs_swapoff_label"
33383 msgstr ""
33384
33385 #. type: verbatim
33386 #: ../src/guestfs-actions.pod:7329
33387 #, no-wrap
33388 msgid ""
33389 " int\n"
33390 " guestfs_swapoff_label (guestfs_h *g,\n"
33391 "                        const char *label);\n"
33392 "\n"
33393 msgstr ""
33394
33395 #. type: =head2
33396 #: ../src/guestfs-actions.pod:7340
33397 msgid "guestfs_swapoff_uuid"
33398 msgstr ""
33399
33400 #. type: verbatim
33401 #: ../src/guestfs-actions.pod:7342
33402 #, no-wrap
33403 msgid ""
33404 " int\n"
33405 " guestfs_swapoff_uuid (guestfs_h *g,\n"
33406 "                       const char *uuid);\n"
33407 "\n"
33408 msgstr ""
33409
33410 #. type: =head2
33411 #: ../src/guestfs-actions.pod:7353
33412 msgid "guestfs_swapon_device"
33413 msgstr ""
33414
33415 #. type: verbatim
33416 #: ../src/guestfs-actions.pod:7355
33417 #, no-wrap
33418 msgid ""
33419 " int\n"
33420 " guestfs_swapon_device (guestfs_h *g,\n"
33421 "                        const char *device);\n"
33422 "\n"
33423 msgstr ""
33424
33425 #. type: textblock
33426 #: ../src/guestfs-actions.pod:7359
33427 msgid ""
33428 "This command enables the libguestfs appliance to use the swap device or "
33429 "partition named C<device>.  The increased memory is made available for all "
33430 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
33431 msgstr ""
33432
33433 #. type: =head2
33434 #: ../src/guestfs-actions.pod:7375
33435 msgid "guestfs_swapon_file"
33436 msgstr ""
33437
33438 #. type: verbatim
33439 #: ../src/guestfs-actions.pod:7377
33440 #, no-wrap
33441 msgid ""
33442 " int\n"
33443 " guestfs_swapon_file (guestfs_h *g,\n"
33444 "                      const char *file);\n"
33445 "\n"
33446 msgstr ""
33447
33448 #. type: textblock
33449 #: ../src/guestfs-actions.pod:7381
33450 msgid ""
33451 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
33452 "notes."
33453 msgstr ""
33454
33455 #. type: =head2
33456 #: ../src/guestfs-actions.pod:7388
33457 msgid "guestfs_swapon_label"
33458 msgstr ""
33459
33460 #. type: verbatim
33461 #: ../src/guestfs-actions.pod:7390
33462 #, no-wrap
33463 msgid ""
33464 " int\n"
33465 " guestfs_swapon_label (guestfs_h *g,\n"
33466 "                       const char *label);\n"
33467 "\n"
33468 msgstr ""
33469
33470 #. type: textblock
33471 #: ../src/guestfs-actions.pod:7394
33472 msgid ""
33473 "This command enables swap to a labeled swap partition.  See "
33474 "C<guestfs_swapon_device> for other notes."
33475 msgstr ""
33476
33477 #. type: =head2
33478 #: ../src/guestfs-actions.pod:7401
33479 msgid "guestfs_swapon_uuid"
33480 msgstr ""
33481
33482 #. type: verbatim
33483 #: ../src/guestfs-actions.pod:7403
33484 #, no-wrap
33485 msgid ""
33486 " int\n"
33487 " guestfs_swapon_uuid (guestfs_h *g,\n"
33488 "                      const char *uuid);\n"
33489 "\n"
33490 msgstr ""
33491
33492 #. type: textblock
33493 #: ../src/guestfs-actions.pod:7407
33494 msgid ""
33495 "This command enables swap to a swap partition with the given UUID.  See "
33496 "C<guestfs_swapon_device> for other notes."
33497 msgstr ""
33498
33499 #. type: =head2
33500 #: ../src/guestfs-actions.pod:7414
33501 msgid "guestfs_sync"
33502 msgstr ""
33503
33504 #. type: verbatim
33505 #: ../src/guestfs-actions.pod:7416
33506 #, no-wrap
33507 msgid ""
33508 " int\n"
33509 " guestfs_sync (guestfs_h *g);\n"
33510 "\n"
33511 msgstr ""
33512
33513 #. type: =head2
33514 #: ../src/guestfs-actions.pod:7429
33515 msgid "guestfs_tail"
33516 msgstr ""
33517
33518 #. type: verbatim
33519 #: ../src/guestfs-actions.pod:7431
33520 #, no-wrap
33521 msgid ""
33522 " char **\n"
33523 " guestfs_tail (guestfs_h *g,\n"
33524 "               const char *path);\n"
33525 "\n"
33526 msgstr ""
33527
33528 #. type: =head2
33529 #: ../src/guestfs-actions.pod:7447
33530 msgid "guestfs_tail_n"
33531 msgstr ""
33532
33533 #. type: verbatim
33534 #: ../src/guestfs-actions.pod:7449
33535 #, no-wrap
33536 msgid ""
33537 " char **\n"
33538 " guestfs_tail_n (guestfs_h *g,\n"
33539 "                 int nrlines,\n"
33540 "                 const char *path);\n"
33541 "\n"
33542 msgstr ""
33543
33544 #. type: =head2
33545 #: ../src/guestfs-actions.pod:7471
33546 msgid "guestfs_tar_in"
33547 msgstr ""
33548
33549 #. type: verbatim
33550 #: ../src/guestfs-actions.pod:7473
33551 #, no-wrap
33552 msgid ""
33553 " int\n"
33554 " guestfs_tar_in (guestfs_h *g,\n"
33555 "                 const char *tarfile,\n"
33556 "                 const char *directory);\n"
33557 "\n"
33558 msgstr ""
33559
33560 #. type: textblock
33561 #: ../src/guestfs-actions.pod:7481
33562 msgid ""
33563 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
33564 msgstr ""
33565
33566 #. type: textblock
33567 #: ../src/guestfs-actions.pod:7486 ../src/guestfs-actions.pod:7503
33568 #: ../src/guestfs-actions.pod:7519 ../src/guestfs-actions.pod:7535
33569 msgid "(Added in 1.0.3)"
33570 msgstr "(Додано у 1.0.3)"
33571
33572 #. type: =head2
33573 #: ../src/guestfs-actions.pod:7488
33574 msgid "guestfs_tar_out"
33575 msgstr ""
33576
33577 #. type: verbatim
33578 #: ../src/guestfs-actions.pod:7490
33579 #, no-wrap
33580 msgid ""
33581 " int\n"
33582 " guestfs_tar_out (guestfs_h *g,\n"
33583 "                  const char *directory,\n"
33584 "                  const char *tarfile);\n"
33585 "\n"
33586 msgstr ""
33587
33588 #. type: textblock
33589 #: ../src/guestfs-actions.pod:7498
33590 msgid ""
33591 "To download a compressed tarball, use C<guestfs_tgz_out> or "
33592 "C<guestfs_txz_out>."
33593 msgstr ""
33594
33595 #. type: =head2
33596 #: ../src/guestfs-actions.pod:7505
33597 msgid "guestfs_tgz_in"
33598 msgstr ""
33599
33600 #. type: verbatim
33601 #: ../src/guestfs-actions.pod:7507
33602 #, no-wrap
33603 msgid ""
33604 " int\n"
33605 " guestfs_tgz_in (guestfs_h *g,\n"
33606 "                 const char *tarball,\n"
33607 "                 const char *directory);\n"
33608 "\n"
33609 msgstr ""
33610
33611 #. type: textblock
33612 #: ../src/guestfs-actions.pod:7515
33613 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
33614 msgstr ""
33615
33616 #. type: =head2
33617 #: ../src/guestfs-actions.pod:7521
33618 msgid "guestfs_tgz_out"
33619 msgstr ""
33620
33621 #. type: verbatim
33622 #: ../src/guestfs-actions.pod:7523
33623 #, no-wrap
33624 msgid ""
33625 " int\n"
33626 " guestfs_tgz_out (guestfs_h *g,\n"
33627 "                  const char *directory,\n"
33628 "                  const char *tarball);\n"
33629 "\n"
33630 msgstr ""
33631
33632 #. type: textblock
33633 #: ../src/guestfs-actions.pod:7531
33634 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
33635 msgstr ""
33636
33637 #. type: =head2
33638 #: ../src/guestfs-actions.pod:7537
33639 msgid "guestfs_touch"
33640 msgstr ""
33641
33642 #. type: verbatim
33643 #: ../src/guestfs-actions.pod:7539
33644 #, no-wrap
33645 msgid ""
33646 " int\n"
33647 " guestfs_touch (guestfs_h *g,\n"
33648 "                const char *path);\n"
33649 "\n"
33650 msgstr ""
33651
33652 #. type: =head2
33653 #: ../src/guestfs-actions.pod:7554
33654 msgid "guestfs_truncate"
33655 msgstr ""
33656
33657 #. type: verbatim
33658 #: ../src/guestfs-actions.pod:7556
33659 #, no-wrap
33660 msgid ""
33661 " int\n"
33662 " guestfs_truncate (guestfs_h *g,\n"
33663 "                   const char *path);\n"
33664 "\n"
33665 msgstr ""
33666
33667 #. type: =head2
33668 #: ../src/guestfs-actions.pod:7567
33669 msgid "guestfs_truncate_size"
33670 msgstr ""
33671
33672 #. type: verbatim
33673 #: ../src/guestfs-actions.pod:7569
33674 #, no-wrap
33675 msgid ""
33676 " int\n"
33677 " guestfs_truncate_size (guestfs_h *g,\n"
33678 "                        const char *path,\n"
33679 "                        int64_t size);\n"
33680 "\n"
33681 msgstr ""
33682
33683 #. type: textblock
33684 #: ../src/guestfs-actions.pod:7577
33685 msgid ""
33686 "If the current file size is less than C<size> then the file is extended to "
33687 "the required size with zero bytes.  This creates a sparse file (ie. disk "
33688 "blocks are not allocated for the file until you write to it).  To create a "
33689 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
33690 msgstr ""
33691
33692 #. type: =head2
33693 #: ../src/guestfs-actions.pod:7587
33694 msgid "guestfs_tune2fs_l"
33695 msgstr ""
33696
33697 #. type: verbatim
33698 #: ../src/guestfs-actions.pod:7589
33699 #, no-wrap
33700 msgid ""
33701 " char **\n"
33702 " guestfs_tune2fs_l (guestfs_h *g,\n"
33703 "                    const char *device);\n"
33704 "\n"
33705 msgstr ""
33706
33707 #. type: =head2
33708 #: ../src/guestfs-actions.pod:7609
33709 msgid "guestfs_txz_in"
33710 msgstr ""
33711
33712 #. type: verbatim
33713 #: ../src/guestfs-actions.pod:7611
33714 #, no-wrap
33715 msgid ""
33716 " int\n"
33717 " guestfs_txz_in (guestfs_h *g,\n"
33718 "                 const char *tarball,\n"
33719 "                 const char *directory);\n"
33720 "\n"
33721 msgstr ""
33722
33723 #. type: =head2
33724 #: ../src/guestfs-actions.pod:7623
33725 msgid "guestfs_txz_out"
33726 msgstr ""
33727
33728 #. type: verbatim
33729 #: ../src/guestfs-actions.pod:7625
33730 #, no-wrap
33731 msgid ""
33732 " int\n"
33733 " guestfs_txz_out (guestfs_h *g,\n"
33734 "                  const char *directory,\n"
33735 "                  const char *tarball);\n"
33736 "\n"
33737 msgstr ""
33738
33739 #. type: =head2
33740 #: ../src/guestfs-actions.pod:7637
33741 msgid "guestfs_umask"
33742 msgstr ""
33743
33744 #. type: verbatim
33745 #: ../src/guestfs-actions.pod:7639
33746 #, no-wrap
33747 msgid ""
33748 " int\n"
33749 " guestfs_umask (guestfs_h *g,\n"
33750 "                int mask);\n"
33751 "\n"
33752 msgstr ""
33753
33754 #. type: textblock
33755 #: ../src/guestfs-actions.pod:7655
33756 msgid ""
33757 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
33758 "C<guestfs_mkdir>."
33759 msgstr ""
33760
33761 #. type: =head2
33762 #: ../src/guestfs-actions.pod:7664
33763 msgid "guestfs_umount"
33764 msgstr ""
33765
33766 #. type: verbatim
33767 #: ../src/guestfs-actions.pod:7666
33768 #, no-wrap
33769 msgid ""
33770 " int\n"
33771 " guestfs_umount (guestfs_h *g,\n"
33772 "                 const char *pathordevice);\n"
33773 "\n"
33774 msgstr ""
33775
33776 #. type: =head2
33777 #: ../src/guestfs-actions.pod:7678
33778 msgid "guestfs_umount_all"
33779 msgstr ""
33780
33781 #. type: verbatim
33782 #: ../src/guestfs-actions.pod:7680
33783 #, no-wrap
33784 msgid ""
33785 " int\n"
33786 " guestfs_umount_all (guestfs_h *g);\n"
33787 "\n"
33788 msgstr ""
33789
33790 #. type: =head2
33791 #: ../src/guestfs-actions.pod:7691
33792 msgid "guestfs_upload"
33793 msgstr ""
33794
33795 #. type: verbatim
33796 #: ../src/guestfs-actions.pod:7693
33797 #, no-wrap
33798 msgid ""
33799 " int\n"
33800 " guestfs_upload (guestfs_h *g,\n"
33801 "                 const char *filename,\n"
33802 "                 const char *remotefilename);\n"
33803 "\n"
33804 msgstr ""
33805
33806 #. type: textblock
33807 #: ../src/guestfs-actions.pod:7703
33808 msgid "See also C<guestfs_download>."
33809 msgstr ""
33810
33811 #. type: =head2
33812 #: ../src/guestfs-actions.pod:7714
33813 msgid "guestfs_upload_offset"
33814 msgstr ""
33815
33816 #. type: verbatim
33817 #: ../src/guestfs-actions.pod:7716
33818 #, no-wrap
33819 msgid ""
33820 " int\n"
33821 " guestfs_upload_offset (guestfs_h *g,\n"
33822 "                        const char *filename,\n"
33823 "                        const char *remotefilename,\n"
33824 "                        int64_t offset);\n"
33825 "\n"
33826 msgstr ""
33827
33828 #. type: textblock
33829 #: ../src/guestfs-actions.pod:7732
33830 msgid ""
33831 "Note that there is no limit on the amount of data that can be uploaded with "
33832 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
33833 "full amount unless an error occurs."
33834 msgstr ""
33835
33836 #. type: textblock
33837 #: ../src/guestfs-actions.pod:7737
33838 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
33839 msgstr ""
33840
33841 #. type: =head2
33842 #: ../src/guestfs-actions.pod:7748
33843 msgid "guestfs_utimens"
33844 msgstr ""
33845
33846 #. type: verbatim
33847 #: ../src/guestfs-actions.pod:7750
33848 #, no-wrap
33849 msgid ""
33850 " int\n"
33851 " guestfs_utimens (guestfs_h *g,\n"
33852 "                  const char *path,\n"
33853 "                  int64_t atsecs,\n"
33854 "                  int64_t atnsecs,\n"
33855 "                  int64_t mtsecs,\n"
33856 "                  int64_t mtnsecs);\n"
33857 "\n"
33858 msgstr ""
33859
33860 #. type: =head2
33861 #: ../src/guestfs-actions.pod:7779 ../src/guestfs-structs.pod:175
33862 msgid "guestfs_version"
33863 msgstr ""
33864
33865 #. type: verbatim
33866 #: ../src/guestfs-actions.pod:7781
33867 #, no-wrap
33868 msgid ""
33869 " struct guestfs_version *\n"
33870 " guestfs_version (guestfs_h *g);\n"
33871 "\n"
33872 msgstr ""
33873
33874 #. type: textblock
33875 #: ../src/guestfs-actions.pod:7809
33876 msgid ""
33877 "I<Note:> Don't use this call to test for availability of features.  In "
33878 "enterprise distributions we backport features from later versions into "
33879 "earlier versions, making this an unreliable way to test for features.  Use "
33880 "C<guestfs_available> instead."
33881 msgstr ""
33882
33883 #. type: textblock
33884 #: ../src/guestfs-actions.pod:7815
33885 msgid ""
33886 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
33887 "error.  I<The caller must call C<guestfs_free_version> after use>."
33888 msgstr ""
33889
33890 #. type: textblock
33891 #: ../src/guestfs-actions.pod:7819
33892 msgid "(Added in 1.0.58)"
33893 msgstr "(Додано у 1.0.58)"
33894
33895 #. type: =head2
33896 #: ../src/guestfs-actions.pod:7821
33897 msgid "guestfs_vfs_label"
33898 msgstr ""
33899
33900 #. type: verbatim
33901 #: ../src/guestfs-actions.pod:7823
33902 #, no-wrap
33903 msgid ""
33904 " char *\n"
33905 " guestfs_vfs_label (guestfs_h *g,\n"
33906 "                    const char *device);\n"
33907 "\n"
33908 msgstr ""
33909
33910 #. type: textblock
33911 #: ../src/guestfs-actions.pod:7832
33912 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
33913 msgstr ""
33914
33915 #. type: textblock
33916 #: ../src/guestfs-actions.pod:7837 ../src/guestfs-actions.pod:7874
33917 msgid "(Added in 1.3.18)"
33918 msgstr "(Додано у 1.3.18)"
33919
33920 #. type: =head2
33921 #: ../src/guestfs-actions.pod:7839
33922 msgid "guestfs_vfs_type"
33923 msgstr ""
33924
33925 #. type: verbatim
33926 #: ../src/guestfs-actions.pod:7841
33927 #, no-wrap
33928 msgid ""
33929 " char *\n"
33930 " guestfs_vfs_type (guestfs_h *g,\n"
33931 "                   const char *device);\n"
33932 "\n"
33933 msgstr ""
33934
33935 #. type: =head2
33936 #: ../src/guestfs-actions.pod:7858
33937 msgid "guestfs_vfs_uuid"
33938 msgstr ""
33939
33940 #. type: verbatim
33941 #: ../src/guestfs-actions.pod:7860
33942 #, no-wrap
33943 msgid ""
33944 " char *\n"
33945 " guestfs_vfs_uuid (guestfs_h *g,\n"
33946 "                   const char *device);\n"
33947 "\n"
33948 msgstr ""
33949
33950 #. type: textblock
33951 #: ../src/guestfs-actions.pod:7869
33952 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
33953 msgstr ""
33954
33955 #. type: =head2
33956 #: ../src/guestfs-actions.pod:7876
33957 msgid "guestfs_vg_activate"
33958 msgstr ""
33959
33960 #. type: verbatim
33961 #: ../src/guestfs-actions.pod:7878
33962 #, no-wrap
33963 msgid ""
33964 " int\n"
33965 " guestfs_vg_activate (guestfs_h *g,\n"
33966 "                      int activate,\n"
33967 "                      char *const *volgroups);\n"
33968 "\n"
33969 msgstr ""
33970
33971 #. type: =head2
33972 #: ../src/guestfs-actions.pod:7895
33973 msgid "guestfs_vg_activate_all"
33974 msgstr ""
33975
33976 #. type: verbatim
33977 #: ../src/guestfs-actions.pod:7897
33978 #, no-wrap
33979 msgid ""
33980 " int\n"
33981 " guestfs_vg_activate_all (guestfs_h *g,\n"
33982 "                          int activate);\n"
33983 "\n"
33984 msgstr ""
33985
33986 #. type: =head2
33987 #: ../src/guestfs-actions.pod:7910
33988 msgid "guestfs_vgcreate"
33989 msgstr ""
33990
33991 #. type: verbatim
33992 #: ../src/guestfs-actions.pod:7912
33993 #, no-wrap
33994 msgid ""
33995 " int\n"
33996 " guestfs_vgcreate (guestfs_h *g,\n"
33997 "                   const char *volgroup,\n"
33998 "                   char *const *physvols);\n"
33999 "\n"
34000 msgstr ""
34001
34002 #. type: =head2
34003 #: ../src/guestfs-actions.pod:7924
34004 msgid "guestfs_vglvuuids"
34005 msgstr ""
34006
34007 #. type: verbatim
34008 #: ../src/guestfs-actions.pod:7926
34009 #, no-wrap
34010 msgid ""
34011 " char **\n"
34012 " guestfs_vglvuuids (guestfs_h *g,\n"
34013 "                    const char *vgname);\n"
34014 "\n"
34015 msgstr ""
34016
34017 #. type: textblock
34018 #: ../src/guestfs-actions.pod:7933
34019 msgid ""
34020 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
34021 "associate logical volumes and volume groups."
34022 msgstr ""
34023
34024 #. type: textblock
34025 #: ../src/guestfs-actions.pod:7936
34026 msgid "See also C<guestfs_vgpvuuids>."
34027 msgstr ""
34028
34029 #. type: =head2
34030 #: ../src/guestfs-actions.pod:7944
34031 msgid "guestfs_vgpvuuids"
34032 msgstr ""
34033
34034 #. type: verbatim
34035 #: ../src/guestfs-actions.pod:7946
34036 #, no-wrap
34037 msgid ""
34038 " char **\n"
34039 " guestfs_vgpvuuids (guestfs_h *g,\n"
34040 "                    const char *vgname);\n"
34041 "\n"
34042 msgstr ""
34043
34044 #. type: textblock
34045 #: ../src/guestfs-actions.pod:7953
34046 msgid ""
34047 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
34048 "associate physical volumes and volume groups."
34049 msgstr ""
34050
34051 #. type: textblock
34052 #: ../src/guestfs-actions.pod:7956
34053 msgid "See also C<guestfs_vglvuuids>."
34054 msgstr ""
34055
34056 #. type: =head2
34057 #: ../src/guestfs-actions.pod:7964
34058 msgid "guestfs_vgremove"
34059 msgstr ""
34060
34061 #. type: verbatim
34062 #: ../src/guestfs-actions.pod:7966
34063 #, no-wrap
34064 msgid ""
34065 " int\n"
34066 " guestfs_vgremove (guestfs_h *g,\n"
34067 "                   const char *vgname);\n"
34068 "\n"
34069 msgstr ""
34070
34071 #. type: =head2
34072 #: ../src/guestfs-actions.pod:7979
34073 msgid "guestfs_vgrename"
34074 msgstr ""
34075
34076 #. type: verbatim
34077 #: ../src/guestfs-actions.pod:7981
34078 #, no-wrap
34079 msgid ""
34080 " int\n"
34081 " guestfs_vgrename (guestfs_h *g,\n"
34082 "                   const char *volgroup,\n"
34083 "                   const char *newvolgroup);\n"
34084 "\n"
34085 msgstr ""
34086
34087 #. type: =head2
34088 #: ../src/guestfs-actions.pod:7992
34089 msgid "guestfs_vgs"
34090 msgstr ""
34091
34092 #. type: verbatim
34093 #: ../src/guestfs-actions.pod:7994
34094 #, no-wrap
34095 msgid ""
34096 " char **\n"
34097 " guestfs_vgs (guestfs_h *g);\n"
34098 "\n"
34099 msgstr ""
34100
34101 #. type: textblock
34102 #: ../src/guestfs-actions.pod:8003
34103 msgid "See also C<guestfs_vgs_full>."
34104 msgstr ""
34105
34106 #. type: =head2
34107 #: ../src/guestfs-actions.pod:8011
34108 msgid "guestfs_vgs_full"
34109 msgstr ""
34110
34111 #. type: verbatim
34112 #: ../src/guestfs-actions.pod:8013
34113 #, no-wrap
34114 msgid ""
34115 " struct guestfs_lvm_vg_list *\n"
34116 " guestfs_vgs_full (guestfs_h *g);\n"
34117 "\n"
34118 msgstr ""
34119
34120 #. type: textblock
34121 #: ../src/guestfs-actions.pod:8019
34122 msgid ""
34123 "This function returns a C<struct guestfs_lvm_vg_list *>, or NULL if there "
34124 "was an error.  I<The caller must call C<guestfs_free_lvm_vg_list> after use>."
34125 msgstr ""
34126
34127 #. type: =head2
34128 #: ../src/guestfs-actions.pod:8025
34129 msgid "guestfs_vgscan"
34130 msgstr ""
34131
34132 #. type: verbatim
34133 #: ../src/guestfs-actions.pod:8027
34134 #, no-wrap
34135 msgid ""
34136 " int\n"
34137 " guestfs_vgscan (guestfs_h *g);\n"
34138 "\n"
34139 msgstr ""
34140
34141 #. type: =head2
34142 #: ../src/guestfs-actions.pod:8037
34143 msgid "guestfs_vguuid"
34144 msgstr ""
34145
34146 #. type: verbatim
34147 #: ../src/guestfs-actions.pod:8039
34148 #, no-wrap
34149 msgid ""
34150 " char *\n"
34151 " guestfs_vguuid (guestfs_h *g,\n"
34152 "                 const char *vgname);\n"
34153 "\n"
34154 msgstr ""
34155
34156 #. type: =head2
34157 #: ../src/guestfs-actions.pod:8050
34158 msgid "guestfs_wait_ready"
34159 msgstr ""
34160
34161 #. type: verbatim
34162 #: ../src/guestfs-actions.pod:8052
34163 #, no-wrap
34164 msgid ""
34165 " int\n"
34166 " guestfs_wait_ready (guestfs_h *g);\n"
34167 "\n"
34168 msgstr ""
34169
34170 #. type: textblock
34171 #: ../src/guestfs-actions.pod:8055
34172 msgid ""
34173 "I<This function is deprecated.> In new code, use the L</guestfs_launch> call "
34174 "instead."
34175 msgstr ""
34176
34177 #. type: textblock
34178 #: ../src/guestfs-actions.pod:8062
34179 msgid "This function is a no op."
34180 msgstr ""
34181
34182 #. type: textblock
34183 #: ../src/guestfs-actions.pod:8064
34184 msgid ""
34185 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
34186 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
34187 "is no longer necessary because C<guestfs_launch> now does the waiting."
34188 msgstr ""
34189
34190 #. type: textblock
34191 #: ../src/guestfs-actions.pod:8069
34192 msgid ""
34193 "If you see any calls to this function in code then you can just remove them, "
34194 "unless you want to retain compatibility with older versions of the API."
34195 msgstr ""
34196
34197 #. type: =head2
34198 #: ../src/guestfs-actions.pod:8077
34199 msgid "guestfs_wc_c"
34200 msgstr ""
34201
34202 #. type: verbatim
34203 #: ../src/guestfs-actions.pod:8079
34204 #, no-wrap
34205 msgid ""
34206 " int\n"
34207 " guestfs_wc_c (guestfs_h *g,\n"
34208 "               const char *path);\n"
34209 "\n"
34210 msgstr ""
34211
34212 #. type: =head2
34213 #: ../src/guestfs-actions.pod:8090
34214 msgid "guestfs_wc_l"
34215 msgstr ""
34216
34217 #. type: verbatim
34218 #: ../src/guestfs-actions.pod:8092
34219 #, no-wrap
34220 msgid ""
34221 " int\n"
34222 " guestfs_wc_l (guestfs_h *g,\n"
34223 "               const char *path);\n"
34224 "\n"
34225 msgstr ""
34226
34227 #. type: =head2
34228 #: ../src/guestfs-actions.pod:8103
34229 msgid "guestfs_wc_w"
34230 msgstr ""
34231
34232 #. type: verbatim
34233 #: ../src/guestfs-actions.pod:8105
34234 #, no-wrap
34235 msgid ""
34236 " int\n"
34237 " guestfs_wc_w (guestfs_h *g,\n"
34238 "               const char *path);\n"
34239 "\n"
34240 msgstr ""
34241
34242 #. type: =head2
34243 #: ../src/guestfs-actions.pod:8116
34244 msgid "guestfs_write"
34245 msgstr ""
34246
34247 #. type: verbatim
34248 #: ../src/guestfs-actions.pod:8118
34249 #, no-wrap
34250 msgid ""
34251 " int\n"
34252 " guestfs_write (guestfs_h *g,\n"
34253 "                const char *path,\n"
34254 "                const char *content,\n"
34255 "                size_t content_size);\n"
34256 "\n"
34257 msgstr ""
34258
34259 #. type: textblock
34260 #: ../src/guestfs-actions.pod:8127
34261 msgid "See also C<guestfs_write_append>."
34262 msgstr ""
34263
34264 #. type: =head2
34265 #: ../src/guestfs-actions.pod:8136
34266 msgid "guestfs_write_append"
34267 msgstr ""
34268
34269 #. type: verbatim
34270 #: ../src/guestfs-actions.pod:8138
34271 #, no-wrap
34272 msgid ""
34273 " int\n"
34274 " guestfs_write_append (guestfs_h *g,\n"
34275 "                       const char *path,\n"
34276 "                       const char *content,\n"
34277 "                       size_t content_size);\n"
34278 "\n"
34279 msgstr ""
34280
34281 #. type: textblock
34282 #: ../src/guestfs-actions.pod:8147
34283 msgid "See also C<guestfs_write>."
34284 msgstr ""
34285
34286 #. type: =head2
34287 #: ../src/guestfs-actions.pod:8156
34288 msgid "guestfs_write_file"
34289 msgstr "guestfs_write_file"
34290
34291 #. type: verbatim
34292 #: ../src/guestfs-actions.pod:8158
34293 #, no-wrap
34294 msgid ""
34295 " int\n"
34296 " guestfs_write_file (guestfs_h *g,\n"
34297 "                     const char *path,\n"
34298 "                     const char *content,\n"
34299 "                     int size);\n"
34300 "\n"
34301 msgstr ""
34302 " int\n"
34303 " guestfs_write_file (guestfs_h *g,\n"
34304 "                     const char *path,\n"
34305 "                     const char *content,\n"
34306 "                     int size);\n"
34307 "\n"
34308
34309 #. type: textblock
34310 #: ../src/guestfs-actions.pod:8164
34311 msgid ""
34312 "I<This function is deprecated.> In new code, use the L</guestfs_write> call "
34313 "instead."
34314 msgstr ""
34315
34316 #. type: =head2
34317 #: ../src/guestfs-actions.pod:8189
34318 msgid "guestfs_zegrep"
34319 msgstr "guestfs_zegrep"
34320
34321 #. type: verbatim
34322 #: ../src/guestfs-actions.pod:8191
34323 #, no-wrap
34324 msgid ""
34325 " char **\n"
34326 " guestfs_zegrep (guestfs_h *g,\n"
34327 "                 const char *regex,\n"
34328 "                 const char *path);\n"
34329 "\n"
34330 msgstr ""
34331 " char **\n"
34332 " guestfs_zegrep (guestfs_h *g,\n"
34333 "                 const char *regex,\n"
34334 "                 const char *path);\n"
34335 "\n"
34336
34337 #. type: =head2
34338 #: ../src/guestfs-actions.pod:8208
34339 msgid "guestfs_zegrepi"
34340 msgstr "guestfs_zegrepi"
34341
34342 #. type: verbatim
34343 #: ../src/guestfs-actions.pod:8210
34344 #, no-wrap
34345 msgid ""
34346 " char **\n"
34347 " guestfs_zegrepi (guestfs_h *g,\n"
34348 "                  const char *regex,\n"
34349 "                  const char *path);\n"
34350 "\n"
34351 msgstr ""
34352 " char **\n"
34353 " guestfs_zegrepi (guestfs_h *g,\n"
34354 "                  const char *regex,\n"
34355 "                  const char *path);\n"
34356 "\n"
34357
34358 #. type: =head2
34359 #: ../src/guestfs-actions.pod:8227
34360 msgid "guestfs_zero"
34361 msgstr "guestfs_zero"
34362
34363 #. type: verbatim
34364 #: ../src/guestfs-actions.pod:8229
34365 #, no-wrap
34366 msgid ""
34367 " int\n"
34368 " guestfs_zero (guestfs_h *g,\n"
34369 "               const char *device);\n"
34370 "\n"
34371 msgstr ""
34372 " int\n"
34373 " guestfs_zero (guestfs_h *g,\n"
34374 "               const char *device);\n"
34375 "\n"
34376
34377 #. type: textblock
34378 #: ../src/guestfs-actions.pod:8243
34379 msgid ""
34380 "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>, "
34381 "C<guestfs_is_zero_device>"
34382 msgstr ""
34383
34384 #. type: =head2
34385 #: ../src/guestfs-actions.pod:8255
34386 msgid "guestfs_zero_device"
34387 msgstr "guestfs_zero_device"
34388
34389 #. type: verbatim
34390 #: ../src/guestfs-actions.pod:8257
34391 #, no-wrap
34392 msgid ""
34393 " int\n"
34394 " guestfs_zero_device (guestfs_h *g,\n"
34395 "                      const char *device);\n"
34396 "\n"
34397 msgstr ""
34398 " int\n"
34399 " guestfs_zero_device (guestfs_h *g,\n"
34400 "                      const char *device);\n"
34401 "\n"
34402
34403 #. type: textblock
34404 #: ../src/guestfs-actions.pod:8261
34405 msgid ""
34406 "This command writes zeroes over the entire C<device>.  Compare with "
34407 "C<guestfs_zero> which just zeroes the first few blocks of a device."
34408 msgstr ""
34409
34410 #. type: textblock
34411 #: ../src/guestfs-actions.pod:8276
34412 msgid "(Added in 1.3.1)"
34413 msgstr "(Додано у 1.3.1)"
34414
34415 #. type: =head2
34416 #: ../src/guestfs-actions.pod:8278
34417 msgid "guestfs_zerofree"
34418 msgstr "guestfs_zerofree"
34419
34420 #. type: verbatim
34421 #: ../src/guestfs-actions.pod:8280
34422 #, no-wrap
34423 msgid ""
34424 " int\n"
34425 " guestfs_zerofree (guestfs_h *g,\n"
34426 "                   const char *device);\n"
34427 "\n"
34428 msgstr ""
34429 " int\n"
34430 " guestfs_zerofree (guestfs_h *g,\n"
34431 "                   const char *device);\n"
34432 "\n"
34433
34434 #. type: =head2
34435 #: ../src/guestfs-actions.pod:8299
34436 msgid "guestfs_zfgrep"
34437 msgstr "guestfs_zfgrep"
34438
34439 #. type: verbatim
34440 #: ../src/guestfs-actions.pod:8301
34441 #, no-wrap
34442 msgid ""
34443 " char **\n"
34444 " guestfs_zfgrep (guestfs_h *g,\n"
34445 "                 const char *pattern,\n"
34446 "                 const char *path);\n"
34447 "\n"
34448 msgstr ""
34449 " char **\n"
34450 " guestfs_zfgrep (guestfs_h *g,\n"
34451 "                 const char *pattern,\n"
34452 "                 const char *path);\n"
34453 "\n"
34454
34455 #. type: =head2
34456 #: ../src/guestfs-actions.pod:8318
34457 msgid "guestfs_zfgrepi"
34458 msgstr "guestfs_zfgrepi"
34459
34460 #. type: verbatim
34461 #: ../src/guestfs-actions.pod:8320
34462 #, no-wrap
34463 msgid ""
34464 " char **\n"
34465 " guestfs_zfgrepi (guestfs_h *g,\n"
34466 "                  const char *pattern,\n"
34467 "                  const char *path);\n"
34468 "\n"
34469 msgstr ""
34470 " char **\n"
34471 " guestfs_zfgrepi (guestfs_h *g,\n"
34472 "                  const char *pattern,\n"
34473 "                  const char *path);\n"
34474 "\n"
34475
34476 #. type: =head2
34477 #: ../src/guestfs-actions.pod:8337
34478 msgid "guestfs_zfile"
34479 msgstr "guestfs_zfile"
34480
34481 #. type: verbatim
34482 #: ../src/guestfs-actions.pod:8339
34483 #, no-wrap
34484 msgid ""
34485 " char *\n"
34486 " guestfs_zfile (guestfs_h *g,\n"
34487 "                const char *meth,\n"
34488 "                const char *path);\n"
34489 "\n"
34490 msgstr ""
34491 " char *\n"
34492 " guestfs_zfile (guestfs_h *g,\n"
34493 "                const char *meth,\n"
34494 "                const char *path);\n"
34495 "\n"
34496
34497 #. type: textblock
34498 #: ../src/guestfs-actions.pod:8344
34499 msgid ""
34500 "I<This function is deprecated.> In new code, use the L</guestfs_file> call "
34501 "instead."
34502 msgstr ""
34503
34504 #. type: textblock
34505 #: ../src/guestfs-actions.pod:8356
34506 msgid ""
34507 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
34508 "files."
34509 msgstr ""
34510
34511 #. type: =head2
34512 #: ../src/guestfs-actions.pod:8364
34513 msgid "guestfs_zgrep"
34514 msgstr "guestfs_zgrep"
34515
34516 #. type: verbatim
34517 #: ../src/guestfs-actions.pod:8366
34518 #, no-wrap
34519 msgid ""
34520 " char **\n"
34521 " guestfs_zgrep (guestfs_h *g,\n"
34522 "                const char *regex,\n"
34523 "                const char *path);\n"
34524 "\n"
34525 msgstr ""
34526 " char **\n"
34527 " guestfs_zgrep (guestfs_h *g,\n"
34528 "                const char *regex,\n"
34529 "                const char *path);\n"
34530 "\n"
34531
34532 #. type: =head2
34533 #: ../src/guestfs-actions.pod:8383
34534 msgid "guestfs_zgrepi"
34535 msgstr "guestfs_zgrepi"
34536
34537 #. type: verbatim
34538 #: ../src/guestfs-actions.pod:8385
34539 #, no-wrap
34540 msgid ""
34541 " char **\n"
34542 " guestfs_zgrepi (guestfs_h *g,\n"
34543 "                 const char *regex,\n"
34544 "                 const char *path);\n"
34545 "\n"
34546 msgstr ""
34547 " char **\n"
34548 " guestfs_zgrepi (guestfs_h *g,\n"
34549 "                 const char *regex,\n"
34550 "                 const char *path);\n"
34551 "\n"
34552
34553 #. type: =item
34554 #: ../src/guestfs-availability.pod:3
34555 msgid "B<augeas>"
34556 msgstr "B<augeas>"
34557
34558 #. type: textblock
34559 #: ../src/guestfs-availability.pod:5
34560 msgid ""
34561 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
34562 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
34563 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
34564 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
34565 "L</guestfs_aug_save> L</guestfs_aug_set>"
34566 msgstr ""
34567
34568 #. type: =item
34569 #: ../src/guestfs-availability.pod:21
34570 msgid "B<btrfs>"
34571 msgstr "B<btrfs>"
34572
34573 #. type: textblock
34574 #: ../src/guestfs-availability.pod:23
34575 msgid "The following functions: L</guestfs_btrfs_filesystem_resize>"
34576 msgstr ""
34577
34578 #. type: =item
34579 #: ../src/guestfs-availability.pod:26
34580 msgid "B<grub>"
34581 msgstr ""
34582
34583 #. type: textblock
34584 #: ../src/guestfs-availability.pod:28
34585 msgid "The following functions: L</guestfs_grub_install>"
34586 msgstr ""
34587
34588 #. type: =item
34589 #: ../src/guestfs-availability.pod:31
34590 msgid "B<inotify>"
34591 msgstr "B<inotify>"
34592
34593 #. type: textblock
34594 #: ../src/guestfs-availability.pod:33
34595 msgid ""
34596 "The following functions: L</guestfs_inotify_add_watch> L</"
34597 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
34598 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
34599 msgstr ""
34600
34601 #. type: =item
34602 #: ../src/guestfs-availability.pod:41
34603 msgid "B<linuxfsuuid>"
34604 msgstr "B<linuxfsuuid>"
34605
34606 #. type: textblock
34607 #: ../src/guestfs-availability.pod:43
34608 msgid ""
34609 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
34610 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
34611 msgstr ""
34612
34613 #. type: =item
34614 #: ../src/guestfs-availability.pod:50
34615 msgid "B<linuxmodules>"
34616 msgstr "B<linuxmodules>"
34617
34618 #. type: textblock
34619 #: ../src/guestfs-availability.pod:52
34620 msgid "The following functions: L</guestfs_modprobe>"
34621 msgstr ""
34622
34623 #. type: =item
34624 #: ../src/guestfs-availability.pod:55
34625 msgid "B<linuxxattrs>"
34626 msgstr "B<linuxxattrs>"
34627
34628 #. type: textblock
34629 #: ../src/guestfs-availability.pod:57
34630 msgid ""
34631 "The following functions: L</guestfs_getxattr> L</guestfs_getxattrs> L</"
34632 "guestfs_lgetxattr> L</guestfs_lgetxattrs> L</guestfs_lremovexattr> L</"
34633 "guestfs_lsetxattr> L</guestfs_lxattrlist> L</guestfs_removexattr> L</"
34634 "guestfs_setxattr>"
34635 msgstr ""
34636
34637 #. type: =item
34638 #: ../src/guestfs-availability.pod:68
34639 msgid "B<luks>"
34640 msgstr "B<luks>"
34641
34642 #. type: textblock
34643 #: ../src/guestfs-availability.pod:70
34644 msgid ""
34645 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
34646 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
34647 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
34648 msgstr ""
34649
34650 #. type: =item
34651 #: ../src/guestfs-availability.pod:79
34652 msgid "B<lvm2>"
34653 msgstr "B<lvm2>"
34654
34655 #. type: textblock
34656 #: ../src/guestfs-availability.pod:81
34657 msgid ""
34658 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
34659 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
34660 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
34661 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
34662 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
34663 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
34664 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
34665 msgstr ""
34666
34667 #. type: =item
34668 #: ../src/guestfs-availability.pod:104
34669 msgid "B<mknod>"
34670 msgstr "B<mknod>"
34671
34672 #. type: textblock
34673 #: ../src/guestfs-availability.pod:106
34674 msgid ""
34675 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
34676 "guestfs_mknod_b> L</guestfs_mknod_c>"
34677 msgstr ""
34678
34679 #. type: =item
34680 #: ../src/guestfs-availability.pod:112
34681 msgid "B<ntfs3g>"
34682 msgstr "B<ntfs3g>"
34683
34684 #. type: textblock
34685 #: ../src/guestfs-availability.pod:114
34686 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
34687 msgstr ""
34688
34689 #. type: =item
34690 #: ../src/guestfs-availability.pod:117
34691 msgid "B<ntfsprogs>"
34692 msgstr "B<ntfsprogs>"
34693
34694 #. type: textblock
34695 #: ../src/guestfs-availability.pod:119
34696 msgid ""
34697 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_opts> "
34698 "L</guestfs_ntfsresize_size>"
34699 msgstr ""
34700
34701 #. type: =item
34702 #: ../src/guestfs-availability.pod:124
34703 msgid "B<realpath>"
34704 msgstr "B<realpath>"
34705
34706 #. type: textblock
34707 #: ../src/guestfs-availability.pod:126
34708 msgid "The following functions: L</guestfs_realpath>"
34709 msgstr ""
34710
34711 #. type: =item
34712 #: ../src/guestfs-availability.pod:129
34713 msgid "B<scrub>"
34714 msgstr "B<scrub>"
34715
34716 #. type: textblock
34717 #: ../src/guestfs-availability.pod:131
34718 msgid ""
34719 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
34720 "guestfs_scrub_freespace>"
34721 msgstr ""
34722
34723 #. type: =item
34724 #: ../src/guestfs-availability.pod:136
34725 msgid "B<selinux>"
34726 msgstr "B<selinux>"
34727
34728 #. type: textblock
34729 #: ../src/guestfs-availability.pod:138
34730 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
34731 msgstr ""
34732
34733 #. type: =item
34734 #: ../src/guestfs-availability.pod:142
34735 msgid "B<xz>"
34736 msgstr "B<xz>"
34737
34738 #. type: textblock
34739 #: ../src/guestfs-availability.pod:144
34740 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
34741 msgstr ""
34742
34743 #. type: =item
34744 #: ../src/guestfs-availability.pod:148
34745 msgid "B<zerofree>"
34746 msgstr "B<zerofree>"
34747
34748 #. type: textblock
34749 #: ../src/guestfs-availability.pod:150
34750 msgid "The following functions: L</guestfs_zerofree>"
34751 msgstr ""
34752
34753 #. type: =head2
34754 #: ../src/guestfs-structs.pod:1
34755 msgid "guestfs_int_bool"
34756 msgstr ""
34757
34758 #. type: verbatim
34759 #: ../src/guestfs-structs.pod:3
34760 #, no-wrap
34761 msgid ""
34762 " struct guestfs_int_bool {\n"
34763 "   int32_t i;\n"
34764 "   int32_t b;\n"
34765 " };\n"
34766 " \n"
34767 msgstr ""
34768
34769 #. type: verbatim
34770 #: ../src/guestfs-structs.pod:8
34771 #, no-wrap
34772 msgid ""
34773 " struct guestfs_int_bool_list {\n"
34774 "   uint32_t len; /* Number of elements in list. */\n"
34775 "   struct guestfs_int_bool *val; /* Elements. */\n"
34776 " };\n"
34777 " \n"
34778 msgstr ""
34779
34780 #. type: verbatim
34781 #: ../src/guestfs-structs.pod:13
34782 #, no-wrap
34783 msgid ""
34784 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
34785 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
34786 "\n"
34787 msgstr ""
34788
34789 #. type: =head2
34790 #: ../src/guestfs-structs.pod:16
34791 msgid "guestfs_lvm_pv"
34792 msgstr ""
34793
34794 #. type: verbatim
34795 #: ../src/guestfs-structs.pod:18
34796 #, no-wrap
34797 msgid ""
34798 " struct guestfs_lvm_pv {\n"
34799 "   char *pv_name;\n"
34800 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34801 "   char pv_uuid[32];\n"
34802 "   char *pv_fmt;\n"
34803 "   uint64_t pv_size;\n"
34804 "   uint64_t dev_size;\n"
34805 "   uint64_t pv_free;\n"
34806 "   uint64_t pv_used;\n"
34807 "   char *pv_attr;\n"
34808 "   int64_t pv_pe_count;\n"
34809 "   int64_t pv_pe_alloc_count;\n"
34810 "   char *pv_tags;\n"
34811 "   uint64_t pe_start;\n"
34812 "   int64_t pv_mda_count;\n"
34813 "   uint64_t pv_mda_free;\n"
34814 " };\n"
34815 " \n"
34816 msgstr ""
34817
34818 #. type: verbatim
34819 #: ../src/guestfs-structs.pod:36
34820 #, no-wrap
34821 msgid ""
34822 " struct guestfs_lvm_pv_list {\n"
34823 "   uint32_t len; /* Number of elements in list. */\n"
34824 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
34825 " };\n"
34826 " \n"
34827 msgstr ""
34828
34829 #. type: verbatim
34830 #: ../src/guestfs-structs.pod:41
34831 #, no-wrap
34832 msgid ""
34833 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
34834 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
34835 "\n"
34836 msgstr ""
34837
34838 #. type: =head2
34839 #: ../src/guestfs-structs.pod:44
34840 msgid "guestfs_lvm_vg"
34841 msgstr ""
34842
34843 #. type: verbatim
34844 #: ../src/guestfs-structs.pod:46
34845 #, no-wrap
34846 msgid ""
34847 " struct guestfs_lvm_vg {\n"
34848 "   char *vg_name;\n"
34849 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34850 "   char vg_uuid[32];\n"
34851 "   char *vg_fmt;\n"
34852 "   char *vg_attr;\n"
34853 "   uint64_t vg_size;\n"
34854 "   uint64_t vg_free;\n"
34855 "   char *vg_sysid;\n"
34856 "   uint64_t vg_extent_size;\n"
34857 "   int64_t vg_extent_count;\n"
34858 "   int64_t vg_free_count;\n"
34859 "   int64_t max_lv;\n"
34860 "   int64_t max_pv;\n"
34861 "   int64_t pv_count;\n"
34862 "   int64_t lv_count;\n"
34863 "   int64_t snap_count;\n"
34864 "   int64_t vg_seqno;\n"
34865 "   char *vg_tags;\n"
34866 "   int64_t vg_mda_count;\n"
34867 "   uint64_t vg_mda_free;\n"
34868 " };\n"
34869 " \n"
34870 msgstr ""
34871
34872 #. type: verbatim
34873 #: ../src/guestfs-structs.pod:69
34874 #, no-wrap
34875 msgid ""
34876 " struct guestfs_lvm_vg_list {\n"
34877 "   uint32_t len; /* Number of elements in list. */\n"
34878 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
34879 " };\n"
34880 " \n"
34881 msgstr ""
34882
34883 #. type: verbatim
34884 #: ../src/guestfs-structs.pod:74
34885 #, no-wrap
34886 msgid ""
34887 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
34888 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
34889 "\n"
34890 msgstr ""
34891
34892 #. type: =head2
34893 #: ../src/guestfs-structs.pod:77
34894 msgid "guestfs_lvm_lv"
34895 msgstr ""
34896
34897 #. type: verbatim
34898 #: ../src/guestfs-structs.pod:79
34899 #, no-wrap
34900 msgid ""
34901 " struct guestfs_lvm_lv {\n"
34902 "   char *lv_name;\n"
34903 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
34904 "   char lv_uuid[32];\n"
34905 "   char *lv_attr;\n"
34906 "   int64_t lv_major;\n"
34907 "   int64_t lv_minor;\n"
34908 "   int64_t lv_kernel_major;\n"
34909 "   int64_t lv_kernel_minor;\n"
34910 "   uint64_t lv_size;\n"
34911 "   int64_t seg_count;\n"
34912 "   char *origin;\n"
34913 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
34914 "   float snap_percent;\n"
34915 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
34916 "   float copy_percent;\n"
34917 "   char *move_pv;\n"
34918 "   char *lv_tags;\n"
34919 "   char *mirror_log;\n"
34920 "   char *modules;\n"
34921 " };\n"
34922 " \n"
34923 msgstr ""
34924
34925 #. type: verbatim
34926 #: ../src/guestfs-structs.pod:101
34927 #, no-wrap
34928 msgid ""
34929 " struct guestfs_lvm_lv_list {\n"
34930 "   uint32_t len; /* Number of elements in list. */\n"
34931 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
34932 " };\n"
34933 " \n"
34934 msgstr ""
34935
34936 #. type: verbatim
34937 #: ../src/guestfs-structs.pod:106
34938 #, no-wrap
34939 msgid ""
34940 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
34941 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
34942 "\n"
34943 msgstr ""
34944
34945 #. type: verbatim
34946 #: ../src/guestfs-structs.pod:111
34947 #, no-wrap
34948 msgid ""
34949 " struct guestfs_stat {\n"
34950 "   int64_t dev;\n"
34951 "   int64_t ino;\n"
34952 "   int64_t mode;\n"
34953 "   int64_t nlink;\n"
34954 "   int64_t uid;\n"
34955 "   int64_t gid;\n"
34956 "   int64_t rdev;\n"
34957 "   int64_t size;\n"
34958 "   int64_t blksize;\n"
34959 "   int64_t blocks;\n"
34960 "   int64_t atime;\n"
34961 "   int64_t mtime;\n"
34962 "   int64_t ctime;\n"
34963 " };\n"
34964 " \n"
34965 msgstr ""
34966
34967 #. type: verbatim
34968 #: ../src/guestfs-structs.pod:127
34969 #, no-wrap
34970 msgid ""
34971 " struct guestfs_stat_list {\n"
34972 "   uint32_t len; /* Number of elements in list. */\n"
34973 "   struct guestfs_stat *val; /* Elements. */\n"
34974 " };\n"
34975 " \n"
34976 msgstr ""
34977
34978 #. type: verbatim
34979 #: ../src/guestfs-structs.pod:132
34980 #, no-wrap
34981 msgid ""
34982 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
34983 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
34984 "\n"
34985 msgstr ""
34986
34987 #. type: verbatim
34988 #: ../src/guestfs-structs.pod:137
34989 #, no-wrap
34990 msgid ""
34991 " struct guestfs_statvfs {\n"
34992 "   int64_t bsize;\n"
34993 "   int64_t frsize;\n"
34994 "   int64_t blocks;\n"
34995 "   int64_t bfree;\n"
34996 "   int64_t bavail;\n"
34997 "   int64_t files;\n"
34998 "   int64_t ffree;\n"
34999 "   int64_t favail;\n"
35000 "   int64_t fsid;\n"
35001 "   int64_t flag;\n"
35002 "   int64_t namemax;\n"
35003 " };\n"
35004 " \n"
35005 msgstr ""
35006
35007 #. type: verbatim
35008 #: ../src/guestfs-structs.pod:151
35009 #, no-wrap
35010 msgid ""
35011 " struct guestfs_statvfs_list {\n"
35012 "   uint32_t len; /* Number of elements in list. */\n"
35013 "   struct guestfs_statvfs *val; /* Elements. */\n"
35014 " };\n"
35015 " \n"
35016 msgstr ""
35017
35018 #. type: verbatim
35019 #: ../src/guestfs-structs.pod:156
35020 #, no-wrap
35021 msgid ""
35022 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
35023 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
35024 "\n"
35025 msgstr ""
35026
35027 #. type: =head2
35028 #: ../src/guestfs-structs.pod:159
35029 msgid "guestfs_dirent"
35030 msgstr ""
35031
35032 #. type: verbatim
35033 #: ../src/guestfs-structs.pod:161
35034 #, no-wrap
35035 msgid ""
35036 " struct guestfs_dirent {\n"
35037 "   int64_t ino;\n"
35038 "   char ftyp;\n"
35039 "   char *name;\n"
35040 " };\n"
35041 " \n"
35042 msgstr ""
35043
35044 #. type: verbatim
35045 #: ../src/guestfs-structs.pod:167
35046 #, no-wrap
35047 msgid ""
35048 " struct guestfs_dirent_list {\n"
35049 "   uint32_t len; /* Number of elements in list. */\n"
35050 "   struct guestfs_dirent *val; /* Elements. */\n"
35051 " };\n"
35052 " \n"
35053 msgstr ""
35054
35055 #. type: verbatim
35056 #: ../src/guestfs-structs.pod:172
35057 #, no-wrap
35058 msgid ""
35059 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
35060 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
35061 "\n"
35062 msgstr ""
35063
35064 #. type: verbatim
35065 #: ../src/guestfs-structs.pod:177
35066 #, no-wrap
35067 msgid ""
35068 " struct guestfs_version {\n"
35069 "   int64_t major;\n"
35070 "   int64_t minor;\n"
35071 "   int64_t release;\n"
35072 "   char *extra;\n"
35073 " };\n"
35074 " \n"
35075 msgstr ""
35076
35077 #. type: verbatim
35078 #: ../src/guestfs-structs.pod:184
35079 #, no-wrap
35080 msgid ""
35081 " struct guestfs_version_list {\n"
35082 "   uint32_t len; /* Number of elements in list. */\n"
35083 "   struct guestfs_version *val; /* Elements. */\n"
35084 " };\n"
35085 " \n"
35086 msgstr ""
35087
35088 #. type: verbatim
35089 #: ../src/guestfs-structs.pod:189
35090 #, no-wrap
35091 msgid ""
35092 " void guestfs_free_version (struct guestfs_free_version *);\n"
35093 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
35094 "\n"
35095 msgstr ""
35096
35097 #. type: =head2
35098 #: ../src/guestfs-structs.pod:192
35099 msgid "guestfs_xattr"
35100 msgstr ""
35101
35102 #. type: verbatim
35103 #: ../src/guestfs-structs.pod:194
35104 #, no-wrap
35105 msgid ""
35106 " struct guestfs_xattr {\n"
35107 "   char *attrname;\n"
35108 "   /* The next two fields describe a byte array. */\n"
35109 "   uint32_t attrval_len;\n"
35110 "   char *attrval;\n"
35111 " };\n"
35112 " \n"
35113 msgstr ""
35114
35115 #. type: verbatim
35116 #: ../src/guestfs-structs.pod:201
35117 #, no-wrap
35118 msgid ""
35119 " struct guestfs_xattr_list {\n"
35120 "   uint32_t len; /* Number of elements in list. */\n"
35121 "   struct guestfs_xattr *val; /* Elements. */\n"
35122 " };\n"
35123 " \n"
35124 msgstr ""
35125
35126 #. type: verbatim
35127 #: ../src/guestfs-structs.pod:206
35128 #, no-wrap
35129 msgid ""
35130 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
35131 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
35132 "\n"
35133 msgstr ""
35134
35135 #. type: =head2
35136 #: ../src/guestfs-structs.pod:209
35137 msgid "guestfs_inotify_event"
35138 msgstr ""
35139
35140 #. type: verbatim
35141 #: ../src/guestfs-structs.pod:211
35142 #, no-wrap
35143 msgid ""
35144 " struct guestfs_inotify_event {\n"
35145 "   int64_t in_wd;\n"
35146 "   uint32_t in_mask;\n"
35147 "   uint32_t in_cookie;\n"
35148 "   char *in_name;\n"
35149 " };\n"
35150 " \n"
35151 msgstr ""
35152
35153 #. type: verbatim
35154 #: ../src/guestfs-structs.pod:218
35155 #, no-wrap
35156 msgid ""
35157 " struct guestfs_inotify_event_list {\n"
35158 "   uint32_t len; /* Number of elements in list. */\n"
35159 "   struct guestfs_inotify_event *val; /* Elements. */\n"
35160 " };\n"
35161 " \n"
35162 msgstr ""
35163
35164 #. type: verbatim
35165 #: ../src/guestfs-structs.pod:223
35166 #, no-wrap
35167 msgid ""
35168 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
35169 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
35170 "\n"
35171 msgstr ""
35172
35173 #. type: =head2
35174 #: ../src/guestfs-structs.pod:226
35175 msgid "guestfs_partition"
35176 msgstr ""
35177
35178 #. type: verbatim
35179 #: ../src/guestfs-structs.pod:228
35180 #, no-wrap
35181 msgid ""
35182 " struct guestfs_partition {\n"
35183 "   int32_t part_num;\n"
35184 "   uint64_t part_start;\n"
35185 "   uint64_t part_end;\n"
35186 "   uint64_t part_size;\n"
35187 " };\n"
35188 " \n"
35189 msgstr ""
35190
35191 #. type: verbatim
35192 #: ../src/guestfs-structs.pod:235
35193 #, no-wrap
35194 msgid ""
35195 " struct guestfs_partition_list {\n"
35196 "   uint32_t len; /* Number of elements in list. */\n"
35197 "   struct guestfs_partition *val; /* Elements. */\n"
35198 " };\n"
35199 " \n"
35200 msgstr ""
35201
35202 #. type: verbatim
35203 #: ../src/guestfs-structs.pod:240
35204 #, no-wrap
35205 msgid ""
35206 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
35207 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
35208 "\n"
35209 msgstr ""
35210
35211 #. type: =head2
35212 #: ../src/guestfs-structs.pod:243
35213 msgid "guestfs_application"
35214 msgstr ""
35215
35216 #. type: verbatim
35217 #: ../src/guestfs-structs.pod:245
35218 #, no-wrap
35219 msgid ""
35220 " struct guestfs_application {\n"
35221 "   char *app_name;\n"
35222 "   char *app_display_name;\n"
35223 "   int32_t app_epoch;\n"
35224 "   char *app_version;\n"
35225 "   char *app_release;\n"
35226 "   char *app_install_path;\n"
35227 "   char *app_trans_path;\n"
35228 "   char *app_publisher;\n"
35229 "   char *app_url;\n"
35230 "   char *app_source_package;\n"
35231 "   char *app_summary;\n"
35232 "   char *app_description;\n"
35233 " };\n"
35234 " \n"
35235 msgstr ""
35236
35237 #. type: verbatim
35238 #: ../src/guestfs-structs.pod:260
35239 #, no-wrap
35240 msgid ""
35241 " struct guestfs_application_list {\n"
35242 "   uint32_t len; /* Number of elements in list. */\n"
35243 "   struct guestfs_application *val; /* Elements. */\n"
35244 " };\n"
35245 " \n"
35246 msgstr ""
35247
35248 #. type: verbatim
35249 #: ../src/guestfs-structs.pod:265
35250 #, no-wrap
35251 msgid ""
35252 " void guestfs_free_application (struct guestfs_free_application *);\n"
35253 " void guestfs_free_application_list (struct guestfs_free_application_list *);\n"
35254 "\n"
35255 msgstr ""
35256
35257 #. type: textblock
35258 #: ../src/guestfs.pod:5
35259 msgid "guestfs - Library for accessing and modifying virtual machine images"
35260 msgstr ""
35261 "guestfs — бібліотека для доступу та внесення змін до образів віртуальних "
35262 "машин"
35263
35264 #. type: verbatim
35265 #: ../src/guestfs.pod:11
35266 #, no-wrap
35267 msgid ""
35268 " guestfs_h *g = guestfs_create ();\n"
35269 " guestfs_add_drive (g, \"guest.img\");\n"
35270 " guestfs_launch (g);\n"
35271 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35272 " guestfs_touch (g, \"/hello\");\n"
35273 " guestfs_umount (g, \"/\");\n"
35274 " guestfs_close (g);\n"
35275 "\n"
35276 msgstr ""
35277 " guestfs_h *g = guestfs_create ();\n"
35278 " guestfs_add_drive (g, \"guest.img\");\n"
35279 " guestfs_launch (g);\n"
35280 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35281 " guestfs_touch (g, \"/hello\");\n"
35282 " guestfs_umount (g, \"/\");\n"
35283 " guestfs_close (g);\n"
35284 "\n"
35285
35286 #. type: textblock
35287 #: ../src/guestfs.pod:25
35288 msgid ""
35289 "Libguestfs is a library for accessing and modifying guest disk images.  "
35290 "Amongst the things this is good for: making batch configuration changes to "
35291 "guests, getting disk used/free statistics (see also: virt-df), migrating "
35292 "between virtualization systems (see also: virt-p2v), performing partial "
35293 "backups, performing partial guest clones, cloning guests and changing "
35294 "registry/UUID/hostname info, and much else besides."
35295 msgstr ""
35296
35297 #. type: textblock
35298 #: ../src/guestfs.pod:33
35299 msgid ""
35300 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
35301 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
35302 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
35303 "qcow2, vmdk."
35304 msgstr ""
35305
35306 #. type: textblock
35307 #: ../src/guestfs.pod:38
35308 msgid ""
35309 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
35310 "what filesystem is in each LV, etc.).  It can also run commands in the "
35311 "context of the guest.  Also you can access filesystems over FUSE."
35312 msgstr ""
35313
35314 #. type: textblock
35315 #: ../src/guestfs.pod:43
35316 msgid ""
35317 "Libguestfs is a library that can be linked with C and C++ management "
35318 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
35319 "PHP, Erlang, Haskell or C#).  You can also use it from shell scripts or the "
35320 "command line."
35321 msgstr ""
35322
35323 #. type: textblock
35324 #: ../src/guestfs.pod:48
35325 msgid ""
35326 "You don't need to be root to use libguestfs, although obviously you do need "
35327 "enough permissions to access the disk images."
35328 msgstr ""
35329
35330 #. type: textblock
35331 #: ../src/guestfs.pod:51
35332 msgid ""
35333 "Libguestfs is a large API because it can do many things.  For a gentle "
35334 "introduction, please read the L</API OVERVIEW> section next."
35335 msgstr ""
35336
35337 #. type: textblock
35338 #: ../src/guestfs.pod:54
35339 msgid ""
35340 "There are also some example programs in the L<guestfs-examples(3)> manual "
35341 "page."
35342 msgstr ""
35343
35344 #. type: =head1
35345 #: ../src/guestfs.pod:57
35346 msgid "API OVERVIEW"
35347 msgstr "ОГЛЯД API"
35348
35349 #. type: textblock
35350 #: ../src/guestfs.pod:59
35351 msgid ""
35352 "This section provides a gentler overview of the libguestfs API.  We also try "
35353 "to group API calls together, where that may not be obvious from reading "
35354 "about the individual calls in the main section of this manual."
35355 msgstr ""
35356
35357 #. type: =head2
35358 #: ../src/guestfs.pod:64
35359 msgid "HANDLES"
35360 msgstr "ОБРОБНИКИ"
35361
35362 #. type: textblock
35363 #: ../src/guestfs.pod:66
35364 msgid ""
35365 "Before you can use libguestfs calls, you have to create a handle.  Then you "
35366 "must add at least one disk image to the handle, followed by launching the "
35367 "handle, then performing whatever operations you want, and finally closing "
35368 "the handle.  By convention we use the single letter C<g> for the name of the "
35369 "handle variable, although of course you can use any name you want."
35370 msgstr ""
35371
35372 #. type: textblock
35373 #: ../src/guestfs.pod:73
35374 msgid "The general structure of all libguestfs-using programs looks like this:"
35375 msgstr ""
35376
35377 #. type: verbatim
35378 #: ../src/guestfs.pod:76
35379 #, no-wrap
35380 msgid ""
35381 " guestfs_h *g = guestfs_create ();\n"
35382 " \n"
35383 msgstr ""
35384 " guestfs_h *g = guestfs_create ();\n"
35385 " \n"
35386
35387 #. type: verbatim
35388 #: ../src/guestfs.pod:78
35389 #, no-wrap
35390 msgid ""
35391 " /* Call guestfs_add_drive additional times if there are\n"
35392 "  * multiple disk images.\n"
35393 "  */\n"
35394 " guestfs_add_drive (g, \"guest.img\");\n"
35395 " \n"
35396 msgstr ""
35397
35398 #. type: verbatim
35399 #: ../src/guestfs.pod:83
35400 #, no-wrap
35401 msgid ""
35402 " /* Most manipulation calls won't work until you've launched\n"
35403 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
35404 "  * and _before_ other commands.\n"
35405 "  */\n"
35406 " guestfs_launch (g);\n"
35407 " \n"
35408 msgstr ""
35409
35410 #. type: verbatim
35411 #: ../src/guestfs.pod:89
35412 #, no-wrap
35413 msgid ""
35414 " /* Now you can examine what partitions, LVs etc are available.\n"
35415 "  */\n"
35416 " char **partitions = guestfs_list_partitions (g);\n"
35417 " char **logvols = guestfs_lvs (g);\n"
35418 " \n"
35419 msgstr ""
35420 " /* Тепер можна перевірити, які розділи, логічні томи тощо доступні.\n"
35421 "  */\n"
35422 " char **partitions = guestfs_list_partitions (g);\n"
35423 " char **logvols = guestfs_lvs (g);\n"
35424 " \n"
35425
35426 #. type: verbatim
35427 #: ../src/guestfs.pod:94
35428 #, no-wrap
35429 msgid ""
35430 " /* To access a filesystem in the image, you must mount it.\n"
35431 "  */\n"
35432 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35433 " \n"
35434 msgstr ""
35435 " /* Щоб отримати доступ до файлової системи на образі, вам слід його змонтувати.\n"
35436 "  */\n"
35437 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
35438 " \n"
35439
35440 #. type: verbatim
35441 #: ../src/guestfs.pod:98
35442 #, no-wrap
35443 msgid ""
35444 " /* Now you can perform filesystem actions on the guest\n"
35445 "  * disk image.\n"
35446 "  */\n"
35447 " guestfs_touch (g, \"/hello\");\n"
35448 " \n"
35449 msgstr ""
35450 " /* Тепер ви можете виконувати дії з файловою системою на\n"
35451 "  * образі диска операційної системи.\n"
35452 "  */\n"
35453 " guestfs_touch (g, \"/hello\");\n"
35454 " \n"
35455
35456 #. type: verbatim
35457 #: ../src/guestfs.pod:103
35458 #, no-wrap
35459 msgid ""
35460 " /* This is only needed for libguestfs < 1.5.24.  Since then\n"
35461 "  * it is done automatically when you close the handle.  See\n"
35462 "  * discussion of autosync in this page.\n"
35463 "  */\n"
35464 " guestfs_sync (g);\n"
35465 " \n"
35466 msgstr ""
35467
35468 #. type: verbatim
35469 #: ../src/guestfs.pod:109
35470 #, no-wrap
35471 msgid ""
35472 " /* Close the handle 'g'. */\n"
35473 " guestfs_close (g);\n"
35474 "\n"
35475 msgstr ""
35476 " /* Закрити дескриптор 'g'. */\n"
35477 " guestfs_close (g);\n"
35478 "\n"
35479
35480 #. type: textblock
35481 #: ../src/guestfs.pod:112
35482 msgid ""
35483 "The code above doesn't include any error checking.  In real code you should "
35484 "check return values carefully for errors.  In general all functions that "
35485 "return integers return C<-1> on error, and all functions that return "
35486 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
35487 "how to handle errors, and consult the documentation for each function call "
35488 "below to see precisely how they return error indications.  See L<guestfs-"
35489 "examples(3)> for fully worked examples."
35490 msgstr ""
35491
35492 #. type: =head2
35493 #: ../src/guestfs.pod:121
35494 msgid "DISK IMAGES"
35495 msgstr "ОБРАЗИ ДИСКІВ"
35496
35497 #. type: textblock
35498 #: ../src/guestfs.pod:123
35499 msgid ""
35500 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
35501 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
35502 "actual block device, or simply an empty file of zeroes that you have created "
35503 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
35504 "of these."
35505 msgstr ""
35506
35507 #. type: textblock
35508 #: ../src/guestfs.pod:129
35509 msgid ""
35510 "The call you should use in modern code for adding drives is L</"
35511 "guestfs_add_drive_opts>.  To add a disk image, allowing writes, and "
35512 "specifying that the format is raw, do:"
35513 msgstr ""
35514
35515 #. type: verbatim
35516 #: ../src/guestfs.pod:133
35517 #, no-wrap
35518 msgid ""
35519 " guestfs_add_drive_opts (g, filename,\n"
35520 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35521 "                         -1);\n"
35522 "\n"
35523 msgstr ""
35524 " guestfs_add_drive_opts (g, filename,\n"
35525 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35526 "                         -1);\n"
35527 "\n"
35528
35529 #. type: textblock
35530 #: ../src/guestfs.pod:137
35531 msgid "You can add a disk read-only using:"
35532 msgstr "Ви можете додати диск у режимі лише читання:"
35533
35534 #. type: verbatim
35535 #: ../src/guestfs.pod:139
35536 #, no-wrap
35537 msgid ""
35538 " guestfs_add_drive_opts (g, filename,\n"
35539 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35540 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35541 "                         -1);\n"
35542 "\n"
35543 msgstr ""
35544 " guestfs_add_drive_opts (g, filename,\n"
35545 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"raw\",\n"
35546 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
35547 "                         -1);\n"
35548 "\n"
35549
35550 #. type: textblock
35551 #: ../src/guestfs.pod:144
35552 msgid ""
35553 "or by calling the older function L</guestfs_add_drive_ro>.  In either case "
35554 "libguestfs won't modify the file."
35555 msgstr ""
35556
35557 #. type: textblock
35558 #: ../src/guestfs.pod:147
35559 msgid ""
35560 "Be extremely cautious if the disk image is in use, eg. if it is being used "
35561 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
35562 "corruption, but adding it read-only is safe."
35563 msgstr ""
35564
35565 #. type: textblock
35566 #: ../src/guestfs.pod:151
35567 msgid ""
35568 "You must add at least one disk image, and you may add multiple disk images.  "
35569 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
35570 "first one you added), C</dev/sdb> (for the second one you added), etc."
35571 msgstr ""
35572
35573 #. type: textblock
35574 #: ../src/guestfs.pod:156
35575 msgid ""
35576 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
35577 "can call L</guestfs_list_devices> to get a list of the device names, in the "
35578 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
35579 msgstr ""
35580
35581 #. type: =head2
35582 #: ../src/guestfs.pod:161
35583 msgid "MOUNTING"
35584 msgstr "МОНТУВАННЯ"
35585
35586 #. type: textblock
35587 #: ../src/guestfs.pod:163
35588 msgid ""
35589 "Before you can read or write files, create directories and so on in a disk "
35590 "image that contains filesystems, you have to mount those filesystems using "
35591 "L</guestfs_mount_options> or L</guestfs_mount_ro>.  If you already know that "
35592 "a disk image contains (for example) one partition with a filesystem on that "
35593 "partition, then you can mount it directly:"
35594 msgstr ""
35595
35596 #. type: verbatim
35597 #: ../src/guestfs.pod:170
35598 #, no-wrap
35599 msgid ""
35600 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
35601 "\n"
35602 msgstr ""
35603 " guestfs_mount_options (g, \"\", \"/dev/sda1\", \"/\");\n"
35604 "\n"
35605
35606 #. type: textblock
35607 #: ../src/guestfs.pod:172
35608 msgid ""
35609 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
35610 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
35611 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>).  Note "
35612 "that these are libguestfs virtual devices, and are nothing to do with host "
35613 "devices."
35614 msgstr ""
35615
35616 #. type: textblock
35617 #: ../src/guestfs.pod:178
35618 msgid ""
35619 "If you are given a disk image and you don't know what it contains then you "
35620 "have to find out.  Libguestfs can do that too: use L</"
35621 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
35622 "LVs, and either try mounting each to see what is mountable, or else examine "
35623 "them with L</guestfs_vfs_type> or L</guestfs_file>.  To list just "
35624 "filesystems, use L</guestfs_list_filesystems>."
35625 msgstr ""
35626
35627 #. type: textblock
35628 #: ../src/guestfs.pod:186
35629 msgid ""
35630 "Libguestfs also has a set of APIs for inspection of unknown disk images (see "
35631 "L</INSPECTION> below).  But you might find it easier to look at higher level "
35632 "programs built on top of libguestfs, in particular L<virt-inspector(1)>."
35633 msgstr ""
35634
35635 #. type: textblock
35636 #: ../src/guestfs.pod:191
35637 msgid ""
35638 "To mount a filesystem read-only, use L</guestfs_mount_ro>.  There are "
35639 "several other variations of the C<guestfs_mount_*> call."
35640 msgstr ""
35641
35642 #. type: =head2
35643 #: ../src/guestfs.pod:194
35644 msgid "FILESYSTEM ACCESS AND MODIFICATION"
35645 msgstr "ДОСТУП ТА ВНЕСЕННЯ ЗМІН ДО ФАЙЛОВИХ СИСТЕМ"
35646
35647 #. type: textblock
35648 #: ../src/guestfs.pod:196
35649 msgid ""
35650 "The majority of the libguestfs API consists of fairly low-level calls for "
35651 "accessing and modifying the files, directories, symlinks etc on mounted "
35652 "filesystems.  There are over a hundred such calls which you can find listed "
35653 "in detail below in this man page, and we don't even pretend to cover them "
35654 "all in this overview."
35655 msgstr ""
35656
35657 #. type: textblock
35658 #: ../src/guestfs.pod:202
35659 msgid ""
35660 "Specify filenames as full paths, starting with C<\"/\"> and including the "
35661 "mount point."
35662 msgstr ""
35663 "Вказуйте адреси і назви файлів повністю, починаючи з C<\"/\">, разом з "
35664 "точкою монтування."
35665
35666 #. type: textblock
35667 #: ../src/guestfs.pod:205
35668 msgid ""
35669 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
35670 "the file called C<\"etc/passwd\"> then you could do:"
35671 msgstr ""
35672 "Наприклад, якщо вами змонтовано файлову систему до C<\"/\">, і ви бажаєте "
35673 "виконати читання файла з назвою C<\"etc/passwd\">, ви можете скористатися "
35674 "таким кодом:"
35675
35676 #. type: verbatim
35677 #: ../src/guestfs.pod:208
35678 #, no-wrap
35679 msgid ""
35680 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
35681 "\n"
35682 msgstr ""
35683 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
35684 "\n"
35685
35686 #. type: textblock
35687 #: ../src/guestfs.pod:210
35688 msgid ""
35689 "This would return C<data> as a newly allocated buffer containing the full "
35690 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
35691 "or C<NULL> if there was an error."
35692 msgstr ""
35693
35694 #. type: textblock
35695 #: ../src/guestfs.pod:214
35696 msgid ""
35697 "As another example, to create a top-level directory on that filesystem "
35698 "called C<\"var\"> you would do:"
35699 msgstr ""
35700
35701 #. type: verbatim
35702 #: ../src/guestfs.pod:217
35703 #, no-wrap
35704 msgid ""
35705 " guestfs_mkdir (g, \"/var\");\n"
35706 "\n"
35707 msgstr ""
35708 " guestfs_mkdir (g, \"/var\");\n"
35709 "\n"
35710
35711 #. type: textblock
35712 #: ../src/guestfs.pod:219
35713 msgid "To create a symlink you could do:"
35714 msgstr "Щоб створити символічне посилання, ви можете скористатися таким кодом:"
35715
35716 #. type: verbatim
35717 #: ../src/guestfs.pod:221
35718 #, no-wrap
35719 msgid ""
35720 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
35721 "               \"/etc/rc3.d/S30portmap\");\n"
35722 "\n"
35723 msgstr ""
35724 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
35725 "               \"/etc/rc3.d/S30portmap\");\n"
35726 "\n"
35727
35728 #. type: textblock
35729 #: ../src/guestfs.pod:224
35730 msgid ""
35731 "Libguestfs will reject attempts to use relative paths and there is no "
35732 "concept of a current working directory."
35733 msgstr ""
35734
35735 #. type: textblock
35736 #: ../src/guestfs.pod:227
35737 msgid ""
35738 "Libguestfs can return errors in many situations: for example if the "
35739 "filesystem isn't writable, or if a file or directory that you requested "
35740 "doesn't exist.  If you are using the C API (documented here)  you have to "
35741 "check for those error conditions after each call.  (Other language bindings "
35742 "turn these errors into exceptions)."
35743 msgstr ""
35744
35745 #. type: textblock
35746 #: ../src/guestfs.pod:233
35747 msgid ""
35748 "File writes are affected by the per-handle umask, set by calling L</"
35749 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
35750 msgstr ""
35751
35752 #. type: =head2
35753 #: ../src/guestfs.pod:236
35754 msgid "PARTITIONING"
35755 msgstr "ПОДІЛ НА РОЗДІЛИ"
35756
35757 #. type: textblock
35758 #: ../src/guestfs.pod:238
35759 msgid ""
35760 "Libguestfs contains API calls to read, create and modify partition tables on "
35761 "disk images."
35762 msgstr ""
35763
35764 #. type: textblock
35765 #: ../src/guestfs.pod:241
35766 msgid ""
35767 "In the common case where you want to create a single partition covering the "
35768 "whole disk, you should use the L</guestfs_part_disk> call:"
35769 msgstr ""
35770
35771 #. type: verbatim
35772 #: ../src/guestfs.pod:245
35773 #, no-wrap
35774 msgid ""
35775 " const char *parttype = \"mbr\";\n"
35776 " if (disk_is_larger_than_2TB)\n"
35777 "   parttype = \"gpt\";\n"
35778 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
35779 "\n"
35780 msgstr ""
35781 " const char *parttype = \"mbr\";\n"
35782 " if (disk_is_larger_than_2TB)\n"
35783 "   parttype = \"gpt\";\n"
35784 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
35785 "\n"
35786
35787 #. type: textblock
35788 #: ../src/guestfs.pod:250
35789 msgid ""
35790 "Obviously this effectively wipes anything that was on that disk image before."
35791 msgstr ""
35792
35793 #. type: =head2
35794 #: ../src/guestfs.pod:253
35795 msgid "LVM2"
35796 msgstr "LVM2"
35797
35798 #. type: textblock
35799 #: ../src/guestfs.pod:255
35800 msgid ""
35801 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
35802 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
35803 "you familiarize yourself with the concepts of physical volumes, volume "
35804 "groups and logical volumes."
35805 msgstr ""
35806
35807 #. type: textblock
35808 #: ../src/guestfs.pod:260
35809 msgid ""
35810 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
35811 "tldp.org/HOWTO/LVM-HOWTO/>."
35812 msgstr ""
35813
35814 #. type: =head2
35815 #: ../src/guestfs.pod:263
35816 msgid "DOWNLOADING"
35817 msgstr "ОТРИМАННЯ ДАНИХ"
35818
35819 #. type: textblock
35820 #: ../src/guestfs.pod:265
35821 msgid ""
35822 "Use L</guestfs_cat> to download small, text only files.  This call is "
35823 "limited to files which are less than 2 MB and which cannot contain any ASCII "
35824 "NUL (C<\\0>) characters.  However the API is very simple to use."
35825 msgstr ""
35826
35827 #. type: textblock
35828 #: ../src/guestfs.pod:269
35829 msgid ""
35830 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
35831 "bit data, since it returns a (pointer, size) pair.  However it is still "
35832 "limited to \"small\" files, less than 2 MB."
35833 msgstr ""
35834
35835 #. type: textblock
35836 #: ../src/guestfs.pod:273
35837 msgid ""
35838 "L</guestfs_download> can be used to download any file, with no limits on "
35839 "content or size (even files larger than 4 GB)."
35840 msgstr ""
35841
35842 #. type: textblock
35843 #: ../src/guestfs.pod:276
35844 msgid ""
35845 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
35846 msgstr ""
35847
35848 #. type: =head2
35849 #: ../src/guestfs.pod:279
35850 msgid "UPLOADING"
35851 msgstr "ВИВАНТАЖЕННЯ"
35852
35853 #. type: textblock
35854 #: ../src/guestfs.pod:281
35855 msgid ""
35856 "It's often the case that you want to write a file or files to the disk image."
35857 msgstr ""
35858
35859 #. type: textblock
35860 #: ../src/guestfs.pod:284
35861 msgid ""
35862 "To write a small file with fixed content, use L</guestfs_write>.  To create "
35863 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
35864 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
35865 "of other functions for creating test files, for example L</guestfs_fill> and "
35866 "L</guestfs_fill_pattern>."
35867 msgstr ""
35868
35869 #. type: textblock
35870 #: ../src/guestfs.pod:290
35871 msgid ""
35872 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
35873 "file content or size (even files larger than 4 GB)."
35874 msgstr ""
35875
35876 #. type: textblock
35877 #: ../src/guestfs.pod:293
35878 msgid ""
35879 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
35880 msgstr ""
35881
35882 #. type: textblock
35883 #: ../src/guestfs.pod:295
35884 msgid ""
35885 "However the fastest way to upload I<large numbers of arbitrary files> is to "
35886 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
35887 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
35888 "in a predictable way (eg. adding it last after all other drives) then you "
35889 "can get the device name from L</guestfs_list_devices> and mount it directly "
35890 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
35891 "portable between kernel versions, and they don't support labels or UUIDs.  "
35892 "If you want to pre-build an image or you need to mount it using a label or "
35893 "UUID, use an ISO image instead."
35894 msgstr ""
35895
35896 #. type: =head2
35897 #: ../src/guestfs.pod:306
35898 msgid "COPYING"
35899 msgstr "КОПІЮВАННЯ"
35900
35901 #. type: textblock
35902 #: ../src/guestfs.pod:308
35903 msgid ""
35904 "There are various different commands for copying between files and devices "
35905 "and in and out of the guest filesystem.  These are summarised in the table "
35906 "below."
35907 msgstr ""
35908
35909 #. type: =item
35910 #: ../src/guestfs.pod:314
35911 msgid "B<file> to B<file>"
35912 msgstr "B<файл> у B<файл>"
35913
35914 #. type: textblock
35915 #: ../src/guestfs.pod:316
35916 msgid ""
35917 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
35918 "directories recursively."
35919 msgstr ""
35920
35921 #. type: textblock
35922 #: ../src/guestfs.pod:319
35923 msgid ""
35924 "To copy part of a file (offset and size) use L</guestfs_copy_file_to_file>."
35925 msgstr ""
35926
35927 #. type: =item
35928 #: ../src/guestfs.pod:322
35929 msgid "B<file> to B<device>"
35930 msgstr ""
35931
35932 #. type: =item
35933 #: ../src/guestfs.pod:324
35934 msgid "B<device> to B<file>"
35935 msgstr ""
35936
35937 #. type: =item
35938 #: ../src/guestfs.pod:326
35939 msgid "B<device> to B<device>"
35940 msgstr ""
35941
35942 #. type: textblock
35943 #: ../src/guestfs.pod:328
35944 msgid ""
35945 "Use L</guestfs_copy_file_to_device>, L</guestfs_copy_device_to_file>, or L</"
35946 "guestfs_copy_device_to_device>."
35947 msgstr ""
35948
35949 #. type: textblock
35950 #: ../src/guestfs.pod:331
35951 msgid "Example: duplicate the contents of an LV:"
35952 msgstr ""
35953
35954 #. type: verbatim
35955 #: ../src/guestfs.pod:333
35956 #, no-wrap
35957 msgid ""
35958 " guestfs_copy_device_to_device (g,\n"
35959 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
35960 "         /* -1 marks the end of the list of optional parameters */\n"
35961 "         -1);\n"
35962 "\n"
35963 msgstr ""
35964
35965 #. type: textblock
35966 #: ../src/guestfs.pod:338
35967 msgid ""
35968 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
35969 "(C</dev/VG/Original>).  To copy less than the whole source device, use the "
35970 "optional C<size> parameter:"
35971 msgstr ""
35972
35973 #. type: verbatim
35974 #: ../src/guestfs.pod:342
35975 #, no-wrap
35976 msgid ""
35977 " guestfs_copy_device_to_device (g,\n"
35978 "         \"/dev/VG/Original\", \"/dev/VG/Copy\",\n"
35979 "         GUESTFS_COPY_DEVICE_TO_DEVICE_SIZE, 10000,\n"
35980 "         -1);\n"
35981 "\n"
35982 msgstr ""
35983
35984 #. type: =item
35985 #: ../src/guestfs.pod:347
35986 msgid "B<file on the host> to B<file or device>"
35987 msgstr ""
35988
35989 #. type: textblock
35990 #: ../src/guestfs.pod:349
35991 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
35992 msgstr ""
35993
35994 #. type: =item
35995 #: ../src/guestfs.pod:351
35996 msgid "B<file or device> to B<file on the host>"
35997 msgstr ""
35998
35999 #. type: textblock
36000 #: ../src/guestfs.pod:353
36001 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
36002 msgstr ""
36003
36004 #. type: =head2
36005 #: ../src/guestfs.pod:357
36006 msgid "UPLOADING AND DOWNLOADING TO PIPES AND FILE DESCRIPTORS"
36007 msgstr ""
36008
36009 #. type: textblock
36010 #: ../src/guestfs.pod:359
36011 msgid ""
36012 "Calls like L</guestfs_upload>, L</guestfs_download>, L</guestfs_tar_in>, L</"
36013 "guestfs_tar_out> etc appear to only take filenames as arguments, so it "
36014 "appears you can only upload and download to files.  However many Un*x-like "
36015 "hosts let you use the special device files C</dev/stdin>, C</dev/stdout>, C</"
36016 "dev/stderr> and C</dev/fd/N> to read and write from stdin, stdout, stderr, "
36017 "and arbitrary file descriptor N."
36018 msgstr ""
36019
36020 #. type: textblock
36021 #: ../src/guestfs.pod:367
36022 msgid "For example, L<virt-cat(1)> writes its output to stdout by doing:"
36023 msgstr ""
36024
36025 #. type: verbatim
36026 #: ../src/guestfs.pod:370
36027 #, no-wrap
36028 msgid ""
36029 " guestfs_download (g, filename, \"/dev/stdout\");\n"
36030 "\n"
36031 msgstr ""
36032 " guestfs_download (g, filename, \"/dev/stdout\");\n"
36033 "\n"
36034
36035 #. type: textblock
36036 #: ../src/guestfs.pod:372
36037 msgid "and you can write tar output to a file descriptor C<fd> by doing:"
36038 msgstr ""
36039
36040 #. type: verbatim
36041 #: ../src/guestfs.pod:374
36042 #, no-wrap
36043 msgid ""
36044 " char devfd[64];\n"
36045 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
36046 " guestfs_tar_out (g, \"/\", devfd);\n"
36047 "\n"
36048 msgstr ""
36049 " char devfd[64];\n"
36050 " snprintf (devfd, sizeof devfd, \"/dev/fd/%d\", fd);\n"
36051 " guestfs_tar_out (g, \"/\", devfd);\n"
36052 "\n"
36053
36054 #. type: =head2
36055 #: ../src/guestfs.pod:378
36056 msgid "LISTING FILES"
36057 msgstr "СПИСКИ ФАЙЛІВ"
36058
36059 #. type: textblock
36060 #: ../src/guestfs.pod:380
36061 msgid ""
36062 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
36063 "L<guestfish(1)>-equivalent command C<ll>)."
36064 msgstr ""
36065
36066 #. type: textblock
36067 #: ../src/guestfs.pod:383
36068 msgid ""
36069 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
36070 "programs, as a flat list of strings."
36071 msgstr ""
36072
36073 #. type: textblock
36074 #: ../src/guestfs.pod:386
36075 msgid ""
36076 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
36077 "directory, plus additional information about each one.  It is more "
36078 "equivalent to using the L<readdir(3)> call on a local filesystem."
36079 msgstr ""
36080
36081 #. type: textblock
36082 #: ../src/guestfs.pod:390
36083 msgid ""
36084 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
36085 msgstr ""
36086
36087 #. type: =head2
36088 #: ../src/guestfs.pod:393
36089 msgid "RUNNING COMMANDS"
36090 msgstr "ВИКОНАННЯ КОМАНД"
36091
36092 #. type: textblock
36093 #: ../src/guestfs.pod:395
36094 msgid ""
36095 "Although libguestfs is primarily an API for manipulating files inside guest "
36096 "images, we also provide some limited facilities for running commands inside "
36097 "guests."
36098 msgstr ""
36099
36100 #. type: textblock
36101 #: ../src/guestfs.pod:399
36102 msgid "There are many limitations to this:"
36103 msgstr ""
36104
36105 #. type: textblock
36106 #: ../src/guestfs.pod:405
36107 msgid ""
36108 "The kernel version that the command runs under will be different from what "
36109 "it expects."
36110 msgstr ""
36111
36112 #. type: textblock
36113 #: ../src/guestfs.pod:410
36114 msgid ""
36115 "If the command needs to communicate with daemons, then most likely they "
36116 "won't be running."
36117 msgstr ""
36118
36119 #. type: textblock
36120 #: ../src/guestfs.pod:415
36121 msgid "The command will be running in limited memory."
36122 msgstr ""
36123
36124 #. type: textblock
36125 #: ../src/guestfs.pod:419
36126 msgid ""
36127 "The network may not be available unless you enable it (see L</"
36128 "guestfs_set_network>)."
36129 msgstr ""
36130
36131 #. type: textblock
36132 #: ../src/guestfs.pod:424
36133 msgid "Only supports Linux guests (not Windows, BSD, etc)."
36134 msgstr ""
36135
36136 #. type: textblock
36137 #: ../src/guestfs.pod:428
36138 msgid ""
36139 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
36140 msgstr ""
36141
36142 #. type: textblock
36143 #: ../src/guestfs.pod:433
36144 msgid ""
36145 "For SELinux guests, you may need to enable SELinux and load policy first.  "
36146 "See L</SELINUX> in this manpage."
36147 msgstr ""
36148
36149 #. type: textblock
36150 #: ../src/guestfs.pod:438
36151 msgid ""
36152 "I<Security:> It is not safe to run commands from untrusted, possibly "
36153 "malicious guests.  These commands may attempt to exploit your program by "
36154 "sending unexpected output.  They could also try to exploit the Linux kernel "
36155 "or qemu provided by the libguestfs appliance.  They could use the network "
36156 "provided by the libguestfs appliance to bypass ordinary network partitions "
36157 "and firewalls.  They could use the elevated privileges or different SELinux "
36158 "context of your program to their advantage."
36159 msgstr ""
36160
36161 #. type: textblock
36162 #: ../src/guestfs.pod:447
36163 msgid ""
36164 "A secure alternative is to use libguestfs to install a \"firstboot\" script "
36165 "(a script which runs when the guest next boots normally), and to have this "
36166 "script run the commands you want in the normal context of the running guest, "
36167 "network security and so on.  For information about other security issues, "
36168 "see L</SECURITY>."
36169 msgstr ""
36170
36171 #. type: textblock
36172 #: ../src/guestfs.pod:455
36173 msgid ""
36174 "The two main API calls to run commands are L</guestfs_command> and L</"
36175 "guestfs_sh> (there are also variations)."
36176 msgstr ""
36177
36178 #. type: textblock
36179 #: ../src/guestfs.pod:458
36180 msgid ""
36181 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
36182 "shell globs, redirections, etc will work."
36183 msgstr ""
36184
36185 #. type: =head2
36186 #: ../src/guestfs.pod:461
36187 msgid "CONFIGURATION FILES"
36188 msgstr "ФАЙЛИ НАЛАШТУВАННЯ"
36189
36190 #. type: textblock
36191 #: ../src/guestfs.pod:463
36192 msgid ""
36193 "To read and write configuration files in Linux guest filesystems, we "
36194 "strongly recommend using Augeas.  For example, Augeas understands how to "
36195 "read and write, say, a Linux shadow password file or X.org configuration "
36196 "file, and so avoids you having to write that code."
36197 msgstr ""
36198
36199 #. type: textblock
36200 #: ../src/guestfs.pod:468
36201 msgid ""
36202 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
36203 "document Augeas itself here because there is excellent documentation on the "
36204 "L<http://augeas.net/> website."
36205 msgstr ""
36206
36207 #. type: textblock
36208 #: ../src/guestfs.pod:472
36209 msgid ""
36210 "If you don't want to use Augeas (you fool!) then try calling L</"
36211 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
36212 "over."
36213 msgstr ""
36214
36215 #. type: =head2
36216 #: ../src/guestfs.pod:476
36217 msgid "SELINUX"
36218 msgstr "SELINUX"
36219
36220 #. type: textblock
36221 #: ../src/guestfs.pod:478
36222 msgid ""
36223 "We support SELinux guests.  To ensure that labeling happens correctly in "
36224 "SELinux guests, you need to enable SELinux and load the guest's policy:"
36225 msgstr ""
36226
36227 #. type: textblock
36228 #: ../src/guestfs.pod:486
36229 msgid "Before launching, do:"
36230 msgstr ""
36231
36232 #. type: verbatim
36233 #: ../src/guestfs.pod:488
36234 #, no-wrap
36235 msgid ""
36236 " guestfs_set_selinux (g, 1);\n"
36237 "\n"
36238 msgstr ""
36239 " guestfs_set_selinux (g, 1);\n"
36240 "\n"
36241
36242 #. type: textblock
36243 #: ../src/guestfs.pod:492
36244 msgid ""
36245 "After mounting the guest's filesystem(s), load the policy.  This is best "
36246 "done by running the L<load_policy(8)> command in the guest itself:"
36247 msgstr ""
36248
36249 #. type: verbatim
36250 #: ../src/guestfs.pod:496
36251 #, no-wrap
36252 msgid ""
36253 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
36254 "\n"
36255 msgstr ""
36256 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
36257 "\n"
36258
36259 #. type: textblock
36260 #: ../src/guestfs.pod:498
36261 msgid ""
36262 "(Older versions of C<load_policy> require you to specify the name of the "
36263 "policy file)."
36264 msgstr ""
36265
36266 #. type: textblock
36267 #: ../src/guestfs.pod:503
36268 msgid ""
36269 "Optionally, set the security context for the API.  The correct security "
36270 "context to use can only be known by inspecting the guest.  As an example:"
36271 msgstr ""
36272
36273 #. type: verbatim
36274 #: ../src/guestfs.pod:507
36275 #, no-wrap
36276 msgid ""
36277 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
36278 "\n"
36279 msgstr ""
36280 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
36281 "\n"
36282
36283 #. type: textblock
36284 #: ../src/guestfs.pod:511
36285 msgid "This will work for running commands and editing existing files."
36286 msgstr ""
36287
36288 #. type: textblock
36289 #: ../src/guestfs.pod:513
36290 msgid ""
36291 "When new files are created, you may need to label them explicitly, for "
36292 "example by running the external command C<restorecon pathname>."
36293 msgstr ""
36294
36295 #. type: =head2
36296 #: ../src/guestfs.pod:517
36297 msgid "UMASK"
36298 msgstr "UMASK"
36299
36300 #. type: textblock
36301 #: ../src/guestfs.pod:519
36302 msgid ""
36303 "Certain calls are affected by the current file mode creation mask (the "
36304 "\"umask\").  In particular ones which create files or directories, such as "
36305 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
36306 "either the default mode that the file is created with or modifies the mode "
36307 "that you supply."
36308 msgstr ""
36309
36310 #. type: textblock
36311 #: ../src/guestfs.pod:525
36312 msgid ""
36313 "The default umask is C<022>, so files are created with modes such as C<0644> "
36314 "and directories with C<0755>."
36315 msgstr ""
36316
36317 #. type: textblock
36318 #: ../src/guestfs.pod:528
36319 msgid ""
36320 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
36321 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
36322 "guestfs_chmod> after creating each file or directory."
36323 msgstr ""
36324
36325 #. type: textblock
36326 #: ../src/guestfs.pod:532
36327 msgid "For more information about umask, see L<umask(2)>."
36328 msgstr ""
36329
36330 #. type: textblock
36331 #: ../src/guestfs.pod:536
36332 msgid ""
36333 "Libguestfs allows you to access Linux guests which have been encrypted using "
36334 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
36335 "standard.  This includes nearly all whole disk encryption systems used by "
36336 "modern Linux guests."
36337 msgstr ""
36338
36339 #. type: textblock
36340 #: ../src/guestfs.pod:542
36341 msgid ""
36342 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
36343 "returns the string C<crypto_LUKS>)."
36344 msgstr ""
36345
36346 #. type: textblock
36347 #: ../src/guestfs.pod:545
36348 msgid ""
36349 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
36350 "will require the passphrase!"
36351 msgstr ""
36352
36353 #. type: textblock
36354 #: ../src/guestfs.pod:548
36355 msgid ""
36356 "Opening a LUKS device creates a new device mapper device called C</dev/"
36357 "mapper/mapname> (where C<mapname> is the string you supply to L</"
36358 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
36359 "from and encrypted to the underlying block device respectively."
36360 msgstr ""
36361
36362 #. type: textblock
36363 #: ../src/guestfs.pod:554
36364 msgid ""
36365 "LVM volume groups on the device can be made visible by calling L</"
36366 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
36367 "(s) can now be mounted in the usual way."
36368 msgstr ""
36369
36370 #. type: textblock
36371 #: ../src/guestfs.pod:558
36372 msgid ""
36373 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
36374 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
36375 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
36376 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
36377 "underlying encrypted block device)."
36378 msgstr ""
36379
36380 #. type: =head2
36381 #: ../src/guestfs.pod:565
36382 msgid "INSPECTION"
36383 msgstr "ПЕРЕВІРКА"
36384
36385 #. type: textblock
36386 #: ../src/guestfs.pod:567
36387 msgid ""
36388 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
36389 "contains operating systems, an install CD or a live CD.  (These APIs used to "
36390 "be in a separate Perl-only library called L<Sys::Guestfs::Lib(3)> but since "
36391 "version 1.5.3 the most frequently used part of this library has been "
36392 "rewritten in C and moved into the core code)."
36393 msgstr ""
36394
36395 #. type: textblock
36396 #: ../src/guestfs.pod:574
36397 msgid ""
36398 "Add all disks belonging to the unknown virtual machine and call L</"
36399 "guestfs_launch> in the usual way."
36400 msgstr ""
36401
36402 #. type: textblock
36403 #: ../src/guestfs.pod:577
36404 msgid ""
36405 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
36406 "and certain heuristics, and returns a list of operating systems that were "
36407 "found.  An empty list means none were found.  A single element is the root "
36408 "filesystem of the operating system.  For dual- or multi-boot guests, "
36409 "multiple roots can be returned, each one corresponding to a separate "
36410 "operating system.  (Multi-boot virtual machines are extremely rare in the "
36411 "world of virtualization, but since this scenario can happen, we have built "
36412 "libguestfs to deal with it.)"
36413 msgstr ""
36414
36415 #. type: textblock
36416 #: ../src/guestfs.pod:586
36417 msgid ""
36418 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
36419 "to get additional details about that operating system.  For example, call L</"
36420 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
36421 "Windows and Linux-based operating systems respectively."
36422 msgstr ""
36423
36424 #. type: textblock
36425 #: ../src/guestfs.pod:592
36426 msgid ""
36427 "Un*x-like and Linux-based operating systems usually consist of several "
36428 "filesystems which are mounted at boot time (for example, a separate boot "
36429 "partition mounted on C</boot>).  The inspection rules are able to detect how "
36430 "filesystems correspond to mount points.  Call "
36431 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
36432 "hash table like this example:"
36433 msgstr ""
36434
36435 #. type: verbatim
36436 #: ../src/guestfs.pod:599
36437 #, no-wrap
36438 msgid ""
36439 " /boot => /dev/sda1\n"
36440 " /     => /dev/vg_guest/lv_root\n"
36441 " /usr  => /dev/vg_guest/lv_usr\n"
36442 "\n"
36443 msgstr ""
36444 " /boot => /dev/sda1\n"
36445 " /     => /dev/vg_guest/lv_root\n"
36446 " /usr  => /dev/vg_guest/lv_usr\n"
36447 "\n"
36448
36449 #. type: textblock
36450 #: ../src/guestfs.pod:603
36451 msgid ""
36452 "The caller can then make calls to L</guestfs_mount_options> to mount the "
36453 "filesystems as suggested."
36454 msgstr ""
36455
36456 #. type: textblock
36457 #: ../src/guestfs.pod:606
36458 msgid ""
36459 "Be careful to mount filesystems in the right order (eg. C</> before C</"
36460 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
36461 msgstr ""
36462
36463 #. type: textblock
36464 #: ../src/guestfs.pod:610
36465 msgid ""
36466 "Inspection currently only works for some common operating systems.  "
36467 "Contributors are welcome to send patches for other operating systems that we "
36468 "currently cannot detect."
36469 msgstr ""
36470
36471 #. type: textblock
36472 #: ../src/guestfs.pod:614
36473 msgid ""
36474 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
36475 "for more details.  The L</guestfs_inspect_os> function just ignores any "
36476 "encrypted devices."
36477 msgstr ""
36478
36479 #. type: textblock
36480 #: ../src/guestfs.pod:618
36481 msgid ""
36482 "A note on the implementation: The call L</guestfs_inspect_os> performs "
36483 "inspection and caches the results in the guest handle.  Subsequent calls to "
36484 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
36485 "read the disks.  If you change the content of the guest disks, you can redo "
36486 "inspection by calling L</guestfs_inspect_os> again.  (L</"
36487 "guestfs_inspect_list_applications> works a little differently from the other "
36488 "calls and does read the disks.  See documentation for that function for "
36489 "details)."
36490 msgstr ""
36491
36492 #. type: =head3
36493 #: ../src/guestfs.pod:627
36494 msgid "INSPECTING INSTALL DISKS"
36495 msgstr ""
36496
36497 #. type: textblock
36498 #: ../src/guestfs.pod:629
36499 msgid ""
36500 "Libguestfs (since 1.9.4) can detect some install disks, install CDs, live "
36501 "CDs and more."
36502 msgstr ""
36503
36504 #. type: textblock
36505 #: ../src/guestfs.pod:632
36506 msgid ""
36507 "Call L</guestfs_inspect_get_format> to return the format of the operating "
36508 "system, which currently can be C<installed> (a regular operating system) or "
36509 "C<installer> (some sort of install disk)."
36510 msgstr ""
36511
36512 #. type: textblock
36513 #: ../src/guestfs.pod:636
36514 msgid ""
36515 "Further information is available about the operating system that can be "
36516 "installed using the regular inspection APIs like L</"
36517 "guestfs_inspect_get_product_name>, L</guestfs_inspect_get_major_version> etc."
36518 msgstr ""
36519
36520 #. type: textblock
36521 #: ../src/guestfs.pod:641
36522 msgid ""
36523 "Some additional information specific to installer disks is also available "
36524 "from the L</guestfs_inspect_is_live>, L</guestfs_inspect_is_netinst> and L</"
36525 "guestfs_inspect_is_multipart> calls."
36526 msgstr ""
36527
36528 #. type: =head2
36529 #: ../src/guestfs.pod:646
36530 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
36531 msgstr ""
36532
36533 #. type: textblock
36534 #: ../src/guestfs.pod:648
36535 msgid ""
36536 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
36537 "ntfs-3g.org/> driver."
36538 msgstr ""
36539
36540 #. type: =head3
36541 #: ../src/guestfs.pod:651
36542 msgid "DRIVE LETTERS AND PATHS"
36543 msgstr "ЛІТЕРИ ДИСКІВ ТА ШЛЯХИ"
36544
36545 #. type: textblock
36546 #: ../src/guestfs.pod:653
36547 msgid ""
36548 "DOS and Windows still use drive letters, and the filesystems are always "
36549 "treated as case insensitive by Windows itself, and therefore you might find "
36550 "a Windows configuration file referring to a path like C<c:\\windows"
36551 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
36552 "might be referred to as C</WINDOWS/System32>."
36553 msgstr ""
36554
36555 #. type: textblock
36556 #: ../src/guestfs.pod:659
36557 msgid ""
36558 "Drive letter mappings can be found using inspection (see L</INSPECTION> and "
36559 "L</guestfs_inspect_get_drive_mappings>)"
36560 msgstr ""
36561
36562 #. type: textblock
36563 #: ../src/guestfs.pod:662
36564 msgid ""
36565 "Dealing with separator characters (backslash vs forward slash) is outside "
36566 "the scope of libguestfs, but usually a simple character replacement will "
36567 "work."
36568 msgstr ""
36569
36570 #. type: textblock
36571 #: ../src/guestfs.pod:666
36572 msgid ""
36573 "To resolve the case insensitivity of paths, call L</"
36574 "guestfs_case_sensitive_path>."
36575 msgstr ""
36576
36577 #. type: =head3
36578 #: ../src/guestfs.pod:669
36579 msgid "ACCESSING THE WINDOWS REGISTRY"
36580 msgstr "ДОСТУП ДО РЕГІСТРУ WINDOWS"
36581
36582 #. type: textblock
36583 #: ../src/guestfs.pod:671
36584 msgid ""
36585 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
36586 "files, through the library C<hivex> which is part of the libguestfs project "
36587 "although ships as a separate tarball.  You have to locate and download the "
36588 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
36589 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
36590 "reg(1)> for more help on this issue."
36591 msgstr ""
36592
36593 #. type: =head3
36594 #: ../src/guestfs.pod:679
36595 msgid "SYMLINKS ON NTFS-3G FILESYSTEMS"
36596 msgstr "СИМВОЛІЧНІ ПОСИЛАННЯ У ФАЙЛОВИХ СИСТЕМАХ NTFS-3G"
36597
36598 #. type: textblock
36599 #: ../src/guestfs.pod:681
36600 msgid ""
36601 "Ntfs-3g tries to rewrite \"Junction Points\" and NTFS \"symbolic links\" to "
36602 "provide something which looks like a Linux symlink.  The way it tries to do "
36603 "the rewriting is described here:"
36604 msgstr ""
36605
36606 #. type: textblock
36607 #: ../src/guestfs.pod:685
36608 msgid ""
36609 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
36610 "symbolic-links/>"
36611 msgstr ""
36612 "L<http://www.tuxera.com/community/ntfs-3g-advanced/junction-points-and-"
36613 "symbolic-links/>"
36614
36615 #. type: textblock
36616 #: ../src/guestfs.pod:687
36617 msgid ""
36618 "The essential problem is that ntfs-3g simply does not have enough "
36619 "information to do a correct job.  NTFS links can contain drive letters and "
36620 "references to external device GUIDs that ntfs-3g has no way of resolving.  "
36621 "It is almost certainly the case that libguestfs callers should ignore what "
36622 "ntfs-3g does (ie. don't use L</guestfs_readlink> on NTFS volumes)."
36623 msgstr ""
36624
36625 #. type: textblock
36626 #: ../src/guestfs.pod:694
36627 msgid ""
36628 "Instead if you encounter a symbolic link on an ntfs-3g filesystem, use L</"
36629 "guestfs_lgetxattr> to read the C<system.ntfs_reparse_data> extended "
36630 "attribute, and read the raw reparse data from that (you can find the format "
36631 "documented in various places around the web)."
36632 msgstr ""
36633
36634 #. type: =head3
36635 #: ../src/guestfs.pod:699
36636 msgid "EXTENDED ATTRIBUTES ON NTFS-3G FILESYSTEMS"
36637 msgstr ""
36638
36639 #. type: textblock
36640 #: ../src/guestfs.pod:701
36641 msgid ""
36642 "There are other useful extended attributes that can be read from ntfs-3g "
36643 "filesystems (using L</guestfs_getxattr>).  See:"
36644 msgstr ""
36645
36646 #. type: textblock
36647 #: ../src/guestfs.pod:704
36648 msgid ""
36649 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
36650 msgstr ""
36651 "L<http://www.tuxera.com/community/ntfs-3g-advanced/extended-attributes/>"
36652
36653 #. type: =head2
36654 #: ../src/guestfs.pod:706
36655 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
36656 msgstr "ВИКОРИСТАННЯ LIBGUESTFS ЗА ДОПОМОГОЮ ІНШИХ МОВ ПРОГРАМУВАННЯ"
36657
36658 #. type: textblock
36659 #: ../src/guestfs.pod:708
36660 msgid ""
36661 "Although we don't want to discourage you from using the C API, we will "
36662 "mention here that the same API is also available in other languages."
36663 msgstr ""
36664
36665 #. type: textblock
36666 #: ../src/guestfs.pod:711
36667 msgid ""
36668 "The API is broadly identical in all supported languages.  This means that "
36669 "the C call C<guestfs_add_drive_ro(g,file)> is C<$g-E<gt>add_drive_ro($file)> "
36670 "in Perl, C<g.add_drive_ro(file)> in Python, and C<g#add_drive_ro file> in "
36671 "OCaml.  In other words, a straightforward, predictable isomorphism between "
36672 "each language."
36673 msgstr ""
36674
36675 #. type: textblock
36676 #: ../src/guestfs.pod:717
36677 msgid ""
36678 "Error messages are automatically transformed into exceptions if the language "
36679 "supports it."
36680 msgstr ""
36681
36682 #. type: textblock
36683 #: ../src/guestfs.pod:720
36684 msgid ""
36685 "We don't try to \"object orientify\" parts of the API in OO languages, "
36686 "although contributors are welcome to write higher level APIs above what we "
36687 "provide in their favourite languages if they wish."
36688 msgstr ""
36689
36690 #. type: =item
36691 #: ../src/guestfs.pod:726
36692 msgid "B<C++>"
36693 msgstr "B<C++>"
36694
36695 #. type: textblock
36696 #: ../src/guestfs.pod:728
36697 msgid ""
36698 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
36699 "identical to the C API.  C++ classes and exceptions are not used."
36700 msgstr ""
36701
36702 #. type: =item
36703 #: ../src/guestfs.pod:732
36704 msgid "B<C#>"
36705 msgstr "B<C#>"
36706
36707 #. type: textblock
36708 #: ../src/guestfs.pod:734
36709 msgid ""
36710 "The C# bindings are highly experimental.  Please read the warnings at the "
36711 "top of C<csharp/Libguestfs.cs>."
36712 msgstr ""
36713
36714 #. type: =item
36715 #: ../src/guestfs.pod:737
36716 msgid "B<Erlang>"
36717 msgstr ""
36718
36719 #. type: textblock
36720 #: ../src/guestfs.pod:739
36721 msgid "See L<guestfs-erlang(3)>."
36722 msgstr ""
36723
36724 #. type: =item
36725 #: ../src/guestfs.pod:741
36726 msgid "B<Haskell>"
36727 msgstr "B<Haskell>"
36728
36729 #. type: textblock
36730 #: ../src/guestfs.pod:743
36731 msgid ""
36732 "This is the only language binding that is working but incomplete.  Only "
36733 "calls which return simple integers have been bound in Haskell, and we are "
36734 "looking for help to complete this binding."
36735 msgstr ""
36736
36737 #. type: =item
36738 #: ../src/guestfs.pod:747
36739 msgid "B<Java>"
36740 msgstr "B<Java>"
36741
36742 #. type: textblock
36743 #: ../src/guestfs.pod:749
36744 msgid ""
36745 "Full documentation is contained in the Javadoc which is distributed with "
36746 "libguestfs.  For examples, see L<guestfs-java(3)>."
36747 msgstr ""
36748
36749 #. type: =item
36750 #: ../src/guestfs.pod:752
36751 msgid "B<OCaml>"
36752 msgstr "B<OCaml>"
36753
36754 #. type: textblock
36755 #: ../src/guestfs.pod:754
36756 msgid "See L<guestfs-ocaml(3)>."
36757 msgstr "Див. L<guestfs-ocaml(3)>."
36758
36759 #. type: =item
36760 #: ../src/guestfs.pod:756
36761 msgid "B<Perl>"
36762 msgstr "B<Perl>"
36763
36764 #. type: textblock
36765 #: ../src/guestfs.pod:758
36766 msgid "See L<guestfs-perl(3)> and L<Sys::Guestfs(3)>."
36767 msgstr "Див. L<guestfs-perl(3)> та L<Sys::Guestfs(3)>."
36768
36769 #. type: =item
36770 #: ../src/guestfs.pod:760
36771 msgid "B<PHP>"
36772 msgstr "B<PHP>"
36773
36774 #. type: textblock
36775 #: ../src/guestfs.pod:762
36776 msgid ""
36777 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
36778 "the php-libguestfs package for your distribution."
36779 msgstr ""
36780
36781 #. type: textblock
36782 #: ../src/guestfs.pod:765
36783 msgid "The PHP binding only works correctly on 64 bit machines."
36784 msgstr ""
36785
36786 #. type: =item
36787 #: ../src/guestfs.pod:767
36788 msgid "B<Python>"
36789 msgstr "B<Python>"
36790
36791 #. type: textblock
36792 #: ../src/guestfs.pod:769
36793 msgid "See L<guestfs-python(3)>."
36794 msgstr "Див. L<guestfs-python(3)>."
36795
36796 #. type: =item
36797 #: ../src/guestfs.pod:771
36798 msgid "B<Ruby>"
36799 msgstr "B<Ruby>"
36800
36801 #. type: textblock
36802 #: ../src/guestfs.pod:773
36803 msgid "See L<guestfs-ruby(3)>."
36804 msgstr "Див. L<guestfs-ruby(3)>."
36805
36806 #. type: =item
36807 #: ../src/guestfs.pod:775
36808 msgid "B<shell scripts>"
36809 msgstr "B<скрипти оболонки>"
36810
36811 #. type: textblock
36812 #: ../src/guestfs.pod:777
36813 msgid "See L<guestfish(1)>."
36814 msgstr "Див. L<guestfish(1)>."
36815
36816 #. type: =head2
36817 #: ../src/guestfs.pod:781
36818 msgid "LIBGUESTFS GOTCHAS"
36819 msgstr ""
36820
36821 #. type: textblock
36822 #: ../src/guestfs.pod:783
36823 msgid ""
36824 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
36825 "system [...] that works in the way it is documented but is counterintuitive "
36826 "and almost invites mistakes.\""
36827 msgstr ""
36828
36829 #. type: textblock
36830 #: ../src/guestfs.pod:787
36831 msgid ""
36832 "Since we developed libguestfs and the associated tools, there are several "
36833 "things we would have designed differently, but are now stuck with for "
36834 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
36835 "release, you can expect these to change.  Beware of them."
36836 msgstr ""
36837
36838 #. type: =item
36839 #: ../src/guestfs.pod:795
36840 msgid "Autosync / forgetting to sync."
36841 msgstr ""
36842
36843 #. type: textblock
36844 #: ../src/guestfs.pod:797
36845 msgid ""
36846 "I<Update:> Autosync is enabled by default for all API users starting from "
36847 "libguestfs 1.5.24.  This section only applies to older versions."
36848 msgstr ""
36849
36850 #. type: textblock
36851 #: ../src/guestfs.pod:800
36852 msgid ""
36853 "When modifying a filesystem from C or another language, you B<must> unmount "
36854 "all filesystems and call L</guestfs_sync> explicitly before you close the "
36855 "libguestfs handle.  You can also call:"
36856 msgstr ""
36857
36858 #. type: verbatim
36859 #: ../src/guestfs.pod:804
36860 #, no-wrap
36861 msgid ""
36862 " guestfs_set_autosync (g, 1);\n"
36863 "\n"
36864 msgstr ""
36865 " guestfs_set_autosync (g, 1);\n"
36866 "\n"
36867
36868 #. type: textblock
36869 #: ../src/guestfs.pod:806
36870 msgid ""
36871 "to have the unmount/sync done automatically for you when the handle 'g' is "
36872 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
36873 msgstr ""
36874
36875 #. type: textblock
36876 #: ../src/guestfs.pod:810
36877 msgid ""
36878 "If you forget to do this, then it is entirely possible that your changes "
36879 "won't be written out, or will be partially written, or (very rarely) that "
36880 "you'll get disk corruption."
36881 msgstr ""
36882
36883 #. type: textblock
36884 #: ../src/guestfs.pod:814
36885 msgid ""
36886 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
36887 "guestfish scripts that forget to sync will work just fine, which can make "
36888 "this very puzzling if you are trying to debug a problem."
36889 msgstr ""
36890
36891 #. type: =item
36892 #: ../src/guestfs.pod:818
36893 msgid "Mount option C<-o sync> should not be the default."
36894 msgstr ""
36895
36896 #. type: textblock
36897 #: ../src/guestfs.pod:820
36898 msgid ""
36899 "I<Update:> L</guestfs_mount> no longer adds any options starting from "
36900 "libguestfs 1.13.16.  This section only applies to older versions."
36901 msgstr ""
36902
36903 #. type: textblock
36904 #: ../src/guestfs.pod:823
36905 msgid ""
36906 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
36907 "However C<-o sync> does not add any reliability benefit, but does have a "
36908 "very large performance impact."
36909 msgstr ""
36910
36911 #. type: textblock
36912 #: ../src/guestfs.pod:827
36913 msgid ""
36914 "The work around is to use L</guestfs_mount_options> and set the mount "
36915 "options that you actually want to use."
36916 msgstr ""
36917
36918 #. type: =item
36919 #: ../src/guestfs.pod:830
36920 msgid "Read-only should be the default."
36921 msgstr ""
36922
36923 #. type: textblock
36924 #: ../src/guestfs.pod:832
36925 msgid ""
36926 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
36927 "specify I<--rw> if you want to make changes to the image."
36928 msgstr ""
36929
36930 #. type: textblock
36931 #: ../src/guestfs.pod:835
36932 msgid "This would reduce the potential to corrupt live VM images."
36933 msgstr ""
36934
36935 #. type: textblock
36936 #: ../src/guestfs.pod:837
36937 msgid ""
36938 "Note that many filesystems change the disk when you just mount and unmount, "
36939 "even if you didn't perform any writes.  You need to use L</"
36940 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
36941 msgstr ""
36942
36943 #. type: =item
36944 #: ../src/guestfs.pod:841
36945 msgid "guestfish command line is hard to use."
36946 msgstr ""
36947
36948 #. type: textblock
36949 #: ../src/guestfs.pod:843
36950 msgid ""
36951 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
36952 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
36953 "exist, so it fails.  In earlier versions of guestfish the error message was "
36954 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
36955 "we should have used C<guestfish -c command> to run commands."
36956 msgstr ""
36957
36958 #. type: =item
36959 #: ../src/guestfs.pod:850
36960 msgid "guestfish megabyte modifiers don't work right on all commands"
36961 msgstr ""
36962
36963 #. type: textblock
36964 #: ../src/guestfs.pod:852
36965 msgid ""
36966 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
36967 "other modifiers).  What guestfish actually does is to multiply the number "
36968 "part by the modifier part and pass the result to the C API.  However this "
36969 "doesn't work for a few APIs which aren't expecting bytes, but are already "
36970 "expecting some other unit (eg. megabytes)."
36971 msgstr ""
36972
36973 #. type: textblock
36974 #: ../src/guestfs.pod:859
36975 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
36976 msgstr ""
36977
36978 #. type: verbatim
36979 #: ../src/guestfs.pod:861
36980 #, no-wrap
36981 msgid ""
36982 " lvcreate LV VG 100M\n"
36983 "\n"
36984 msgstr ""
36985 " lvcreate LV VG 100M\n"
36986 "\n"
36987
36988 #. type: textblock
36989 #: ../src/guestfs.pod:863
36990 msgid ""
36991 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
36992 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
36993 "megabytes * megabytes) logical volume.  The error message you get from this "
36994 "is also a little obscure."
36995 msgstr ""
36996
36997 #. type: textblock
36998 #: ../src/guestfs.pod:868
36999 msgid ""
37000 "This could be fixed in the generator by specially marking parameters and "
37001 "return values which take bytes or other units."
37002 msgstr ""
37003
37004 #. type: =item
37005 #: ../src/guestfs.pod:871
37006 msgid "Ambiguity between devices and paths"
37007 msgstr ""
37008
37009 #. type: textblock
37010 #: ../src/guestfs.pod:873
37011 msgid ""
37012 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
37013 "sdb2>) and a similar pathname.  A file might just happen to be called "
37014 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
37015 msgstr ""
37016
37017 #. type: textblock
37018 #: ../src/guestfs.pod:878
37019 msgid ""
37020 "In the current API we usually resolve this ambiguity by having two separate "
37021 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
37022 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
37023 "detecting if the path supplied begins with C</dev/>."
37024 msgstr ""
37025
37026 #. type: textblock
37027 #: ../src/guestfs.pod:884
37028 msgid ""
37029 "To avoid both the ambiguity and the need to duplicate some calls, we could "
37030 "make paths/devices into structured names.  One way to do this would be to "
37031 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
37032 "aspect of grub.  Another way would be to use a structured type, equivalent "
37033 "to this OCaml type:"
37034 msgstr ""
37035
37036 #. type: verbatim
37037 #: ../src/guestfs.pod:890
37038 #, no-wrap
37039 msgid ""
37040 " type path = Path of string | Device of int | Partition of int * int\n"
37041 "\n"
37042 msgstr ""
37043
37044 #. type: textblock
37045 #: ../src/guestfs.pod:892
37046 msgid "which would allow you to pass arguments like:"
37047 msgstr ""
37048
37049 #. type: verbatim
37050 #: ../src/guestfs.pod:894
37051 #, no-wrap
37052 msgid ""
37053 " Path \"/foo/bar\"\n"
37054 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
37055 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
37056 " Path \"/dev/sdb2\"    (* not a device *)\n"
37057 "\n"
37058 msgstr ""
37059
37060 #. type: textblock
37061 #: ../src/guestfs.pod:899
37062 msgid ""
37063 "As you can see there are still problems to resolve even with this "
37064 "representation.  Also consider how it might work in guestfish."
37065 msgstr ""
37066
37067 #. type: =head2
37068 #: ../src/guestfs.pod:904
37069 msgid "KEYS AND PASSPHRASES"
37070 msgstr "КЛЮЧІ І ПАРОЛІ"
37071
37072 #. type: textblock
37073 #: ../src/guestfs.pod:906
37074 msgid ""
37075 "Certain libguestfs calls take a parameter that contains sensitive key "
37076 "material, passed in as a C string."
37077 msgstr ""
37078
37079 #. type: textblock
37080 #: ../src/guestfs.pod:909
37081 msgid ""
37082 "In the future we would hope to change the libguestfs implementation so that "
37083 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
37084 "swap.  However this is I<not> done at the moment, because of the complexity "
37085 "of such an implementation."
37086 msgstr ""
37087
37088 #. type: textblock
37089 #: ../src/guestfs.pod:914
37090 msgid ""
37091 "Therefore you should be aware that any key parameter you pass to libguestfs "
37092 "might end up being written out to the swap partition.  If this is a concern, "
37093 "scrub the swap partition or don't use libguestfs on encrypted devices."
37094 msgstr ""
37095
37096 #. type: =head2
37097 #: ../src/guestfs.pod:919
37098 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
37099 msgstr ""
37100
37101 #. type: textblock
37102 #: ../src/guestfs.pod:921
37103 msgid ""
37104 "All high-level libguestfs actions are synchronous.  If you want to use "
37105 "libguestfs asynchronously then you must create a thread."
37106 msgstr ""
37107
37108 #. type: textblock
37109 #: ../src/guestfs.pod:924
37110 msgid ""
37111 "Only use the handle from a single thread.  Either use the handle exclusively "
37112 "from one thread, or provide your own mutex so that two threads cannot issue "
37113 "calls on the same handle at the same time."
37114 msgstr ""
37115
37116 #. type: textblock
37117 #: ../src/guestfs.pod:928
37118 msgid ""
37119 "See the graphical program guestfs-browser for one possible architecture for "
37120 "multithreaded programs using libvirt and libguestfs."
37121 msgstr ""
37122
37123 #. type: =head2
37124 #: ../src/guestfs.pod:931
37125 msgid "PATH"
37126 msgstr "ШЛЯХ"
37127
37128 #. type: textblock
37129 #: ../src/guestfs.pod:933
37130 msgid ""
37131 "Libguestfs needs a supermin appliance, which it finds by looking along an "
37132 "internal path."
37133 msgstr ""
37134
37135 #. type: textblock
37136 #: ../src/guestfs.pod:936
37137 msgid ""
37138 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
37139 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
37140 msgstr ""
37141
37142 #. type: textblock
37143 #: ../src/guestfs.pod:939
37144 msgid ""
37145 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
37146 "to change the directories that libguestfs will search in.  The value is a "
37147 "colon-separated list of paths.  The current directory is I<not> searched "
37148 "unless the path contains an empty element or C<.>.  For example "
37149 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
37150 "then C</usr/lib/guestfs>."
37151 msgstr ""
37152
37153 #. type: =head2
37154 #: ../src/guestfs.pod:946
37155 msgid "QEMU WRAPPERS"
37156 msgstr ""
37157
37158 #. type: textblock
37159 #: ../src/guestfs.pod:948
37160 msgid ""
37161 "If you want to compile your own qemu, run qemu from a non-standard location, "
37162 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
37163 "around qemu."
37164 msgstr ""
37165
37166 #. type: textblock
37167 #: ../src/guestfs.pod:952
37168 msgid ""
37169 "There is one important rule to remember: you I<must C<exec qemu>> as the "
37170 "last command in the shell script (so that qemu replaces the shell and "
37171 "becomes the direct child of the libguestfs-using program).  If you don't do "
37172 "this, then the qemu process won't be cleaned up correctly."
37173 msgstr ""
37174
37175 #. type: textblock
37176 #: ../src/guestfs.pod:957
37177 msgid ""
37178 "Here is an example of a wrapper, where I have built my own copy of qemu from "
37179 "source:"
37180 msgstr ""
37181
37182 #. type: verbatim
37183 #: ../src/guestfs.pod:960
37184 #, no-wrap
37185 msgid ""
37186 " #!/bin/sh -\n"
37187 " qemudir=/home/rjones/d/qemu\n"
37188 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
37189 "\n"
37190 msgstr ""
37191 " #!/bin/sh -\n"
37192 " qemudir=/home/rjones/d/qemu\n"
37193 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
37194 "\n"
37195
37196 #. type: textblock
37197 #: ../src/guestfs.pod:964
37198 msgid ""
37199 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
37200 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
37201 "example:"
37202 msgstr ""
37203
37204 #. type: verbatim
37205 #: ../src/guestfs.pod:968
37206 #, no-wrap
37207 msgid ""
37208 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
37209 "\n"
37210 msgstr ""
37211 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
37212 "\n"
37213
37214 #. type: textblock
37215 #: ../src/guestfs.pod:970
37216 msgid ""
37217 "Note that libguestfs also calls qemu with the -help and -version options in "
37218 "order to determine features."
37219 msgstr ""
37220
37221 #. type: textblock
37222 #: ../src/guestfs.pod:973
37223 msgid ""
37224 "Wrappers can also be used to edit the options passed to qemu.  In the "
37225 "following example, the C<-machine ...> option (C<-machine> and the following "
37226 "argument) are removed from the command line and replaced with C<-machine pc,"
37227 "accel=tcg>.  The while loop iterates over the options until it finds the "
37228 "right one to remove, putting the remaining options into the C<args> array."
37229 msgstr ""
37230
37231 #. type: verbatim
37232 #: ../src/guestfs.pod:982
37233 #, no-wrap
37234 msgid ""
37235 " i=0\n"
37236 " while [ $# -gt 0 ]; do\n"
37237 "     case \"$1\" in\n"
37238 "     -machine)\n"
37239 "         shift 2;;\n"
37240 "     *)\n"
37241 "         args[i]=\"$1\"\n"
37242 "         (( i++ ))\n"
37243 "         shift ;;\n"
37244 "     esac\n"
37245 " done\n"
37246 " \n"
37247 msgstr ""
37248
37249 #. type: verbatim
37250 #: ../src/guestfs.pod:994
37251 #, no-wrap
37252 msgid ""
37253 " exec qemu-kvm -machine pc,accel=tcg \"${args[@]}\"\n"
37254 "\n"
37255 msgstr ""
37256
37257 #. type: =head2
37258 #: ../src/guestfs.pod:996
37259 msgid "ATTACHING TO RUNNING DAEMONS"
37260 msgstr "ДОЛУЧЕННЯ ДО ЗАПУЩЕНИХ ФОНОВИХ СЛУЖБ"
37261
37262 #. type: textblock
37263 #: ../src/guestfs.pod:998
37264 msgid ""
37265 "I<Note (1):> This is B<highly experimental> and has a tendency to eat "
37266 "babies.  Use with caution."
37267 msgstr ""
37268
37269 #. type: textblock
37270 #: ../src/guestfs.pod:1001
37271 msgid ""
37272 "I<Note (2):> This section explains how to attach to a running daemon from a "
37273 "low level perspective.  For most users, simply using virt tools such as "
37274 "L<guestfish(1)> with the I<--live> option will \"just work\"."
37275 msgstr ""
37276
37277 #. type: =head3
37278 #: ../src/guestfs.pod:1005
37279 msgid "Using guestfs_set_attach_method"
37280 msgstr "За допомогою guestfs_set_attach_method"
37281
37282 #. type: textblock
37283 #: ../src/guestfs.pod:1007
37284 msgid ""
37285 "By calling L</guestfs_set_attach_method> you can change how the library "
37286 "connects to the C<guestfsd> daemon in L</guestfs_launch> (read L</"
37287 "ARCHITECTURE> for some background)."
37288 msgstr ""
37289
37290 #. type: textblock
37291 #: ../src/guestfs.pod:1011
37292 msgid ""
37293 "The normal attach method is C<appliance>, where a small appliance is created "
37294 "containing the daemon, and then the library connects to this."
37295 msgstr ""
37296
37297 #. type: textblock
37298 #: ../src/guestfs.pod:1014
37299 msgid ""
37300 "Setting attach method to C<unix:I<path>> (where I<path> is the path of a "
37301 "Unix domain socket) causes L</guestfs_launch> to connect to an existing "
37302 "daemon over the Unix domain socket."
37303 msgstr ""
37304
37305 #. type: textblock
37306 #: ../src/guestfs.pod:1018
37307 msgid ""
37308 "The normal use for this is to connect to a running virtual machine that "
37309 "contains a C<guestfsd> daemon, and send commands so you can read and write "
37310 "files inside the live virtual machine."
37311 msgstr ""
37312
37313 #. type: =head3
37314 #: ../src/guestfs.pod:1022
37315 msgid "Using guestfs_add_domain with live flag"
37316 msgstr "За допомогою guestfs_add_domain з прапорцем live"
37317
37318 #. type: textblock
37319 #: ../src/guestfs.pod:1024
37320 msgid ""
37321 "L</guestfs_add_domain> provides some help for getting the correct attach "
37322 "method.  If you pass the C<live> option to this function, then (if the "
37323 "virtual machine is running) it will examine the libvirt XML looking for a "
37324 "virtio-serial channel to connect to:"
37325 msgstr ""
37326
37327 #. type: verbatim
37328 #: ../src/guestfs.pod:1030
37329 #, no-wrap
37330 msgid ""
37331 " <domain>\n"
37332 "   ...\n"
37333 "   <devices>\n"
37334 "     ...\n"
37335 "     <channel type='unix'>\n"
37336 "       <source mode='bind' path='/path/to/socket'/>\n"
37337 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
37338 "     </channel>\n"
37339 "     ...\n"
37340 "   </devices>\n"
37341 " </domain>\n"
37342 "\n"
37343 msgstr ""
37344 " <domain>\n"
37345 "   ...\n"
37346 "   <devices>\n"
37347 "     ...\n"
37348 "     <channel type='unix'>\n"
37349 "       <source mode='bind' path='/path/to/socket'/>\n"
37350 "       <target type='virtio' name='org.libguestfs.channel.0'/>\n"
37351 "     </channel>\n"
37352 "     ...\n"
37353 "   </devices>\n"
37354 " </domain>\n"
37355 "\n"
37356
37357 #. type: textblock
37358 #: ../src/guestfs.pod:1042
37359 msgid ""
37360 "L</guestfs_add_domain> extracts C</path/to/socket> and sets the attach "
37361 "method to C<unix:/path/to/socket>."
37362 msgstr ""
37363
37364 #. type: textblock
37365 #: ../src/guestfs.pod:1045
37366 msgid ""
37367 "Some of the libguestfs tools (including guestfish) support a I<--live> "
37368 "option which is passed through to L</guestfs_add_domain> thus allowing you "
37369 "to attach to and modify live virtual machines."
37370 msgstr ""
37371
37372 #. type: textblock
37373 #: ../src/guestfs.pod:1049
37374 msgid ""
37375 "The virtual machine needs to have been set up beforehand so that it has the "
37376 "virtio-serial channel and so that guestfsd is running inside it."
37377 msgstr ""
37378
37379 #. type: =head2
37380 #: ../src/guestfs.pod:1053
37381 msgid "ABI GUARANTEE"
37382 msgstr "ГАРАНТІЯ ЩОДО ABI"
37383
37384 #. type: textblock
37385 #: ../src/guestfs.pod:1055
37386 msgid ""
37387 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
37388 "actions as outlined in this section.  Although we will deprecate some "
37389 "actions, for example if they get replaced by newer calls, we will keep the "
37390 "old actions forever.  This allows you the developer to program in confidence "
37391 "against the libguestfs API."
37392 msgstr ""
37393
37394 #. type: =head2
37395 #: ../src/guestfs.pod:1061
37396 msgid "BLOCK DEVICE NAMING"
37397 msgstr "ІМЕНУВАННЯ БЛОКОВИХ ПРИСТРОЇВ"
37398
37399 #. type: textblock
37400 #: ../src/guestfs.pod:1063
37401 msgid ""
37402 "In the kernel there is now quite a profusion of schemata for naming block "
37403 "devices (in this context, by I<block device> I mean a physical or virtual "
37404 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
37405 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
37406 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
37407 "for the old IDE driver (particularly for SATA devices) those devices also "
37408 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
37409 "paravirtualized drivers.  This has created several different naming systems, "
37410 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
37411 msgstr ""
37412
37413 #. type: textblock
37414 #: ../src/guestfs.pod:1075
37415 msgid ""
37416 "As discussed above, libguestfs uses a qemu appliance running an embedded "
37417 "Linux kernel to access block devices.  We can run a variety of appliances "
37418 "based on a variety of Linux kernels."
37419 msgstr ""
37420
37421 #. type: textblock
37422 #: ../src/guestfs.pod:1079
37423 msgid ""
37424 "This causes a problem for libguestfs because many API calls use device or "
37425 "partition names.  Working scripts and the recipe (example) scripts that we "
37426 "make available over the internet could fail if the naming scheme changes."
37427 msgstr ""
37428
37429 #. type: textblock
37430 #: ../src/guestfs.pod:1084
37431 msgid ""
37432 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
37433 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
37434 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
37435 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
37436 msgstr ""
37437
37438 #. type: textblock
37439 #: ../src/guestfs.pod:1090
37440 msgid ""
37441 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
37442 "L</guestfs_list_partitions> and similar calls return the true names of the "
37443 "devices and partitions as known to the appliance."
37444 msgstr ""
37445
37446 #. type: =head3
37447 #: ../src/guestfs.pod:1095
37448 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
37449 msgstr ""
37450
37451 #. type: textblock
37452 #: ../src/guestfs.pod:1097
37453 msgid ""
37454 "Usually this translation is transparent.  However in some (very rare)  cases "
37455 "you may need to know the exact algorithm.  Such cases include where you use "
37456 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
37457 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
37458 msgstr ""
37459
37460 #. type: textblock
37461 #: ../src/guestfs.pod:1103
37462 msgid ""
37463 "The algorithm is applied only to I<parameters> which are known to be either "
37464 "device or partition names.  Return values from functions such as L</"
37465 "guestfs_list_devices> are never changed."
37466 msgstr ""
37467
37468 #. type: textblock
37469 #: ../src/guestfs.pod:1111
37470 msgid "Is the string a parameter which is a device or partition name?"
37471 msgstr ""
37472
37473 #. type: textblock
37474 #: ../src/guestfs.pod:1115
37475 msgid "Does the string begin with C</dev/sd>?"
37476 msgstr "Чи починається рядок з C</dev/sd>?"
37477
37478 #. type: textblock
37479 #: ../src/guestfs.pod:1119
37480 msgid ""
37481 "Does the named device exist? If so, we use that device.  However if I<not> "
37482 "then we continue with this algorithm."
37483 msgstr ""
37484
37485 #. type: textblock
37486 #: ../src/guestfs.pod:1124
37487 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
37488 msgstr ""
37489
37490 #. type: textblock
37491 #: ../src/guestfs.pod:1126
37492 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
37493 msgstr ""
37494
37495 #. type: textblock
37496 #: ../src/guestfs.pod:1128
37497 msgid "If that named device exists, use it.  If not, continue."
37498 msgstr ""
37499
37500 #. type: textblock
37501 #: ../src/guestfs.pod:1132
37502 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
37503 msgstr ""
37504
37505 #. type: textblock
37506 #: ../src/guestfs.pod:1134
37507 msgid "If that named device exists, use it.  If not, return an error."
37508 msgstr ""
37509
37510 #. type: =head3
37511 #: ../src/guestfs.pod:1138
37512 msgid "PORTABILITY CONCERNS WITH BLOCK DEVICE NAMING"
37513 msgstr ""
37514
37515 #. type: textblock
37516 #: ../src/guestfs.pod:1140
37517 msgid ""
37518 "Although the standard naming scheme and automatic translation is useful for "
37519 "simple programs and guestfish scripts, for larger programs it is best not to "
37520 "rely on this mechanism."
37521 msgstr ""
37522
37523 #. type: textblock
37524 #: ../src/guestfs.pod:1144
37525 msgid ""
37526 "Where possible for maximum future portability programs using libguestfs "
37527 "should use these future-proof techniques:"
37528 msgstr ""
37529
37530 #. type: textblock
37531 #: ../src/guestfs.pod:1151
37532 msgid ""
37533 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
37534 "device names, and then use those names directly."
37535 msgstr ""
37536
37537 #. type: textblock
37538 #: ../src/guestfs.pod:1154
37539 msgid ""
37540 "Since those device names exist by definition, they will never be translated."
37541 msgstr ""
37542
37543 #. type: textblock
37544 #: ../src/guestfs.pod:1159
37545 msgid ""
37546 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
37547 "filesystem labels."
37548 msgstr ""
37549
37550 #. type: textblock
37551 #: ../src/guestfs.pod:1166
37552 msgid ""
37553 "This section discusses security implications of using libguestfs, "
37554 "particularly with untrusted or malicious guests or disk images."
37555 msgstr ""
37556
37557 #. type: =head2
37558 #: ../src/guestfs.pod:1169
37559 msgid "GENERAL SECURITY CONSIDERATIONS"
37560 msgstr "ЗАГАЛЬНІ ЗАУВАЖЕННЯ ЩОДО ЗАХИСТУ"
37561
37562 #. type: textblock
37563 #: ../src/guestfs.pod:1171
37564 msgid ""
37565 "Be careful with any files or data that you download from a guest (by "
37566 "\"download\" we mean not just the L</guestfs_download> command but any "
37567 "command that reads files, filenames, directories or anything else from a "
37568 "disk image).  An attacker could manipulate the data to fool your program "
37569 "into doing the wrong thing.  Consider cases such as:"
37570 msgstr ""
37571
37572 #. type: textblock
37573 #: ../src/guestfs.pod:1181
37574 msgid "the data (file etc) not being present"
37575 msgstr ""
37576
37577 #. type: textblock
37578 #: ../src/guestfs.pod:1185
37579 msgid "being present but empty"
37580 msgstr ""
37581
37582 #. type: textblock
37583 #: ../src/guestfs.pod:1189
37584 msgid "being much larger than normal"
37585 msgstr ""
37586
37587 #. type: textblock
37588 #: ../src/guestfs.pod:1193
37589 msgid "containing arbitrary 8 bit data"
37590 msgstr ""
37591
37592 #. type: textblock
37593 #: ../src/guestfs.pod:1197
37594 msgid "being in an unexpected character encoding"
37595 msgstr ""
37596
37597 #. type: textblock
37598 #: ../src/guestfs.pod:1201
37599 msgid "containing homoglyphs."
37600 msgstr ""
37601
37602 #. type: =head2
37603 #: ../src/guestfs.pod:1205
37604 msgid "SECURITY OF MOUNTING FILESYSTEMS"
37605 msgstr "ЗАХИСТ ФАЙЛОВИХ СИСТЕМ МОНТУВАННЯ"
37606
37607 #. type: textblock
37608 #: ../src/guestfs.pod:1207
37609 msgid ""
37610 "When you mount a filesystem under Linux, mistakes in the kernel filesystem "
37611 "(VFS) module can sometimes be escalated into exploits by deliberately "
37612 "creating a malicious, malformed filesystem.  These exploits are very severe "
37613 "for two reasons.  Firstly there are very many filesystem drivers in the "
37614 "kernel, and many of them are infrequently used and not much developer "
37615 "attention has been paid to the code.  Linux userspace helps potential "
37616 "crackers by detecting the filesystem type and automatically choosing the "
37617 "right VFS driver, even if that filesystem type is obscure or unexpected for "
37618 "the administrator.  Secondly, a kernel-level exploit is like a local root "
37619 "exploit (worse in some ways), giving immediate and total access to the "
37620 "system right down to the hardware level."
37621 msgstr ""
37622
37623 #. type: textblock
37624 #: ../src/guestfs.pod:1220
37625 msgid ""
37626 "That explains why you should never mount a filesystem from an untrusted "
37627 "guest on your host kernel.  How about libguestfs? We run a Linux kernel "
37628 "inside a qemu virtual machine, usually running as a non-root user.  The "
37629 "attacker would need to write a filesystem which first exploited the kernel, "
37630 "and then exploited either qemu virtualization (eg. a faulty qemu driver) or "
37631 "the libguestfs protocol, and finally to be as serious as the host kernel "
37632 "exploit it would need to escalate its privileges to root.  This multi-step "
37633 "escalation, performed by a static piece of data, is thought to be extremely "
37634 "hard to do, although we never say 'never' about security issues."
37635 msgstr ""
37636
37637 #. type: textblock
37638 #: ../src/guestfs.pod:1231
37639 msgid ""
37640 "In any case callers can reduce the attack surface by forcing the filesystem "
37641 "type when mounting (use L</guestfs_mount_vfs>)."
37642 msgstr ""
37643
37644 #. type: =head2
37645 #: ../src/guestfs.pod:1234
37646 msgid "PROTOCOL SECURITY"
37647 msgstr "ЗАХИСТ ПРОТОКОЛУ"
37648
37649 #. type: textblock
37650 #: ../src/guestfs.pod:1236
37651 msgid ""
37652 "The protocol is designed to be secure, being based on RFC 4506 (XDR)  with a "
37653 "defined upper message size.  However a program that uses libguestfs must "
37654 "also take care - for example you can write a program that downloads a binary "
37655 "from a disk image and executes it locally, and no amount of protocol "
37656 "security will save you from the consequences."
37657 msgstr ""
37658
37659 #. type: =head2
37660 #: ../src/guestfs.pod:1242
37661 msgid "INSPECTION SECURITY"
37662 msgstr ""
37663
37664 #. type: textblock
37665 #: ../src/guestfs.pod:1244
37666 msgid ""
37667 "Parts of the inspection API (see L</INSPECTION>) return untrusted strings "
37668 "directly from the guest, and these could contain any 8 bit data.  Callers "
37669 "should be careful to escape these before printing them to a structured file "
37670 "(for example, use HTML escaping if creating a web page)."
37671 msgstr ""
37672
37673 #. type: textblock
37674 #: ../src/guestfs.pod:1250
37675 msgid ""
37676 "Guest configuration may be altered in unusual ways by the administrator of "
37677 "the virtual machine, and may not reflect reality (particularly for untrusted "
37678 "or actively malicious guests).  For example we parse the hostname from "
37679 "configuration files like C</etc/sysconfig/network> that we find in the "
37680 "guest, but the guest administrator can easily manipulate these files to "
37681 "provide the wrong hostname."
37682 msgstr ""
37683
37684 #. type: textblock
37685 #: ../src/guestfs.pod:1258
37686 msgid ""
37687 "The inspection API parses guest configuration using two external libraries: "
37688 "Augeas (Linux configuration) and hivex (Windows Registry).  Both are "
37689 "designed to be robust in the face of malicious data, although denial of "
37690 "service attacks are still possible, for example with oversized configuration "
37691 "files."
37692 msgstr ""
37693
37694 #. type: =head2
37695 #: ../src/guestfs.pod:1264
37696 msgid "RUNNING UNTRUSTED GUEST COMMANDS"
37697 msgstr "ЗАПУСК НЕЗАХИЩЕНИХ КОМАНД ГОСТЬОВОЇ СИСТЕМИ"
37698
37699 #. type: textblock
37700 #: ../src/guestfs.pod:1266
37701 msgid ""
37702 "Be very cautious about running commands from the guest.  By running a "
37703 "command in the guest, you are giving CPU time to a binary that you do not "
37704 "control, under the same user account as the library, albeit wrapped in qemu "
37705 "virtualization.  More information and alternatives can be found in the "
37706 "section L</RUNNING COMMANDS>."
37707 msgstr ""
37708
37709 #. type: =head2
37710 #: ../src/guestfs.pod:1272
37711 msgid "CVE-2010-3851"
37712 msgstr "CVE-2010-3851"
37713
37714 #. type: textblock
37715 #: ../src/guestfs.pod:1274
37716 msgid "https://bugzilla.redhat.com/642934"
37717 msgstr "https://bugzilla.redhat.com/642934"
37718
37719 #. type: textblock
37720 #: ../src/guestfs.pod:1276
37721 msgid ""
37722 "This security bug concerns the automatic disk format detection that qemu "
37723 "does on disk images."
37724 msgstr ""
37725
37726 #. type: textblock
37727 #: ../src/guestfs.pod:1279
37728 msgid ""
37729 "A raw disk image is just the raw bytes, there is no header.  Other disk "
37730 "images like qcow2 contain a special header.  Qemu deals with this by looking "
37731 "for one of the known headers, and if none is found then assuming the disk "
37732 "image must be raw."
37733 msgstr ""
37734
37735 #. type: textblock
37736 #: ../src/guestfs.pod:1284
37737 msgid ""
37738 "This allows a guest which has been given a raw disk image to write some "
37739 "other header.  At next boot (or when the disk image is accessed by "
37740 "libguestfs) qemu would do autodetection and think the disk image format was, "
37741 "say, qcow2 based on the header written by the guest."
37742 msgstr ""
37743
37744 #. type: textblock
37745 #: ../src/guestfs.pod:1289
37746 msgid ""
37747 "This in itself would not be a problem, but qcow2 offers many features, one "
37748 "of which is to allow a disk image to refer to another image (called the "
37749 "\"backing disk\").  It does this by placing the path to the backing disk "
37750 "into the qcow2 header.  This path is not validated and could point to any "
37751 "host file (eg. \"/etc/passwd\").  The backing disk is then exposed through "
37752 "\"holes\" in the qcow2 disk image, which of course is completely under the "
37753 "control of the attacker."
37754 msgstr ""
37755
37756 #. type: textblock
37757 #: ../src/guestfs.pod:1297
37758 msgid ""
37759 "In libguestfs this is rather hard to exploit except under two circumstances:"
37760 msgstr ""
37761
37762 #. type: textblock
37763 #: ../src/guestfs.pod:1304
37764 msgid "You have enabled the network or have opened the disk in write mode."
37765 msgstr ""
37766
37767 #. type: textblock
37768 #: ../src/guestfs.pod:1308
37769 msgid ""
37770 "You are also running untrusted code from the guest (see L</RUNNING "
37771 "COMMANDS>)."
37772 msgstr ""
37773
37774 #. type: textblock
37775 #: ../src/guestfs.pod:1313
37776 msgid ""
37777 "The way to avoid this is to specify the expected disk format when adding "
37778 "disks (the optional C<format> option to L</guestfs_add_drive_opts>).  You "
37779 "should always do this if the disk is raw format, and it's a good idea for "
37780 "other cases too."
37781 msgstr ""
37782
37783 #. type: textblock
37784 #: ../src/guestfs.pod:1318
37785 msgid ""
37786 "For disks added from libvirt using calls like L</guestfs_add_domain>, the "
37787 "format is fetched from libvirt and passed through."
37788 msgstr ""
37789
37790 #. type: textblock
37791 #: ../src/guestfs.pod:1321
37792 msgid ""
37793 "For libguestfs tools, use the I<--format> command line parameter as "
37794 "appropriate."
37795 msgstr ""
37796
37797 #. type: =head1
37798 #: ../src/guestfs.pod:1324
37799 msgid "CONNECTION MANAGEMENT"
37800 msgstr "КЕРУВАННЯ З’ЄДНАННЯМ"
37801
37802 #. type: =head2
37803 #: ../src/guestfs.pod:1326
37804 msgid "guestfs_h *"
37805 msgstr "guestfs_h *"
37806
37807 #. type: textblock
37808 #: ../src/guestfs.pod:1328
37809 msgid ""
37810 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
37811 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
37812 "handle and release all resources used."
37813 msgstr ""
37814
37815 #. type: textblock
37816 #: ../src/guestfs.pod:1332
37817 msgid ""
37818 "For information on using multiple handles and threads, see the section L</"
37819 "MULTIPLE HANDLES AND MULTIPLE THREADS> above."
37820 msgstr ""
37821
37822 #. type: =head2
37823 #: ../src/guestfs.pod:1335
37824 msgid "guestfs_create"
37825 msgstr "guestfs_create"
37826
37827 #. type: verbatim
37828 #: ../src/guestfs.pod:1337
37829 #, no-wrap
37830 msgid ""
37831 " guestfs_h *guestfs_create (void);\n"
37832 "\n"
37833 msgstr ""
37834 " guestfs_h *guestfs_create (void);\n"
37835 "\n"
37836
37837 #. type: textblock
37838 #: ../src/guestfs.pod:1339
37839 msgid "Create a connection handle."
37840 msgstr "Створити дескриптор з’єднання."
37841
37842 #. type: textblock
37843 #: ../src/guestfs.pod:1341
37844 msgid ""
37845 "On success this returns a non-NULL pointer to a handle.  On error it returns "
37846 "NULL."
37847 msgstr ""
37848
37849 #. type: textblock
37850 #: ../src/guestfs.pod:1344
37851 msgid ""
37852 "You have to \"configure\" the handle after creating it.  This includes "
37853 "calling L</guestfs_add_drive_opts> (or one of the equivalent calls) on the "
37854 "handle at least once."
37855 msgstr ""
37856
37857 #. type: textblock
37858 #: ../src/guestfs.pod:1348
37859 msgid "After configuring the handle, you have to call L</guestfs_launch>."
37860 msgstr ""
37861
37862 #. type: textblock
37863 #: ../src/guestfs.pod:1350
37864 msgid ""
37865 "You may also want to configure error handling for the handle.  See the L</"
37866 "ERROR HANDLING> section below."
37867 msgstr ""
37868
37869 #. type: =head2
37870 #: ../src/guestfs.pod:1353
37871 msgid "guestfs_close"
37872 msgstr "guestfs_close"
37873
37874 #. type: verbatim
37875 #: ../src/guestfs.pod:1355
37876 #, no-wrap
37877 msgid ""
37878 " void guestfs_close (guestfs_h *g);\n"
37879 "\n"
37880 msgstr ""
37881 " void guestfs_close (guestfs_h *g);\n"
37882 "\n"
37883
37884 #. type: textblock
37885 #: ../src/guestfs.pod:1357
37886 msgid "This closes the connection handle and frees up all resources used."
37887 msgstr ""
37888
37889 #. type: textblock
37890 #: ../src/guestfs.pod:1359
37891 msgid ""
37892 "If autosync was set on the handle and the handle was launched, then this "
37893 "implicitly calls various functions to unmount filesystems and sync the "
37894 "disk.  See L</guestfs_set_autosync> for more details."
37895 msgstr ""
37896
37897 #. type: textblock
37898 #: ../src/guestfs.pod:1363
37899 msgid "If a close callback was set on the handle, then it is called."
37900 msgstr ""
37901
37902 #. type: =head1
37903 #: ../src/guestfs.pod:1365
37904 msgid "ERROR HANDLING"
37905 msgstr "ОБРОБКА ПОМИЛОК"
37906
37907 #. type: textblock
37908 #: ../src/guestfs.pod:1367
37909 msgid ""
37910 "API functions can return errors.  For example, almost all functions that "
37911 "return C<int> will return C<-1> to indicate an error."
37912 msgstr ""
37913
37914 #. type: textblock
37915 #: ../src/guestfs.pod:1370
37916 msgid ""
37917 "Additional information is available for errors: an error message string and "
37918 "optionally an error number (errno) if the thing that failed was a system "
37919 "call."
37920 msgstr ""
37921
37922 #. type: textblock
37923 #: ../src/guestfs.pod:1374
37924 msgid ""
37925 "You can get at the additional information about the last error on the handle "
37926 "by calling L</guestfs_last_error>, L</guestfs_last_errno>, and/or by setting "
37927 "up an error handler with L</guestfs_set_error_handler>."
37928 msgstr ""
37929
37930 #. type: textblock
37931 #: ../src/guestfs.pod:1379
37932 msgid ""
37933 "When the handle is created, a default error handler is installed which "
37934 "prints the error message string to C<stderr>.  For small short-running "
37935 "command line programs it is sufficient to do:"
37936 msgstr ""
37937
37938 #. type: verbatim
37939 #: ../src/guestfs.pod:1383
37940 #, no-wrap
37941 msgid ""
37942 " if (guestfs_launch (g) == -1)\n"
37943 "   exit (EXIT_FAILURE);\n"
37944 "\n"
37945 msgstr ""
37946 " if (guestfs_launch (g) == -1)\n"
37947 "   exit (EXIT_FAILURE);\n"
37948 "\n"
37949
37950 #. type: textblock
37951 #: ../src/guestfs.pod:1386
37952 msgid ""
37953 "since the default error handler will ensure that an error message has been "
37954 "printed to C<stderr> before the program exits."
37955 msgstr ""
37956
37957 #. type: textblock
37958 #: ../src/guestfs.pod:1389
37959 msgid ""
37960 "For other programs the caller will almost certainly want to install an "
37961 "alternate error handler or do error handling in-line like this:"
37962 msgstr ""
37963
37964 #. type: verbatim
37965 #: ../src/guestfs.pod:1392
37966 #, no-wrap
37967 msgid ""
37968 " /* This disables the default behaviour of printing errors\n"
37969 "    on stderr. */\n"
37970 " guestfs_set_error_handler (g, NULL, NULL);\n"
37971 " \n"
37972 msgstr ""
37973
37974 #. type: verbatim
37975 #: ../src/guestfs.pod:1396
37976 #, no-wrap
37977 msgid ""
37978 " if (guestfs_launch (g) == -1) {\n"
37979 "   /* Examine the error message and print it etc. */\n"
37980 "   char *msg = guestfs_last_error (g);\n"
37981 "   int errnum = guestfs_last_errno (g);\n"
37982 "   fprintf (stderr, \"%s\", msg);\n"
37983 "   if (errnum != 0)\n"
37984 "     fprintf (stderr, \": %s\", strerror (errnum));\n"
37985 "   fprintf (stderr, \"\\n\");\n"
37986 "   /* ... */\n"
37987 " }\n"
37988 "\n"
37989 msgstr ""
37990
37991 #. type: textblock
37992 #: ../src/guestfs.pod:1407
37993 msgid ""
37994 "Out of memory errors are handled differently.  The default action is to call "
37995 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
37996 "guestfs_set_out_of_memory_handler>."
37997 msgstr ""
37998
37999 #. type: textblock
38000 #: ../src/guestfs.pod:1411
38001 msgid ""
38002 "L</guestfs_create> returns C<NULL> if the handle cannot be created, and "
38003 "because there is no handle if this happens there is no way to get additional "
38004 "error information.  However L</guestfs_create> is supposed to be a "
38005 "lightweight operation which can only fail because of insufficient memory (it "
38006 "returns NULL in this case)."
38007 msgstr ""
38008
38009 #. type: =head2
38010 #: ../src/guestfs.pod:1417
38011 msgid "guestfs_last_error"
38012 msgstr "guestfs_last_error"
38013
38014 #. type: verbatim
38015 #: ../src/guestfs.pod:1419
38016 #, no-wrap
38017 msgid ""
38018 " const char *guestfs_last_error (guestfs_h *g);\n"
38019 "\n"
38020 msgstr ""
38021 " const char *guestfs_last_error (guestfs_h *g);\n"
38022 "\n"
38023
38024 #. type: textblock
38025 #: ../src/guestfs.pod:1421
38026 msgid ""
38027 "This returns the last error message that happened on C<g>.  If there has not "
38028 "been an error since the handle was created, then this returns C<NULL>."
38029 msgstr ""
38030
38031 #. type: textblock
38032 #: ../src/guestfs.pod:1425
38033 msgid ""
38034 "The lifetime of the returned string is until the next error occurs, or L</"
38035 "guestfs_close> is called."
38036 msgstr ""
38037
38038 #. type: =head2
38039 #: ../src/guestfs.pod:1428
38040 msgid "guestfs_last_errno"
38041 msgstr "guestfs_last_errno"
38042
38043 #. type: verbatim
38044 #: ../src/guestfs.pod:1430
38045 #, no-wrap
38046 msgid ""
38047 " int guestfs_last_errno (guestfs_h *g);\n"
38048 "\n"
38049 msgstr ""
38050 " int guestfs_last_errno (guestfs_h *g);\n"
38051 "\n"
38052
38053 #. type: textblock
38054 #: ../src/guestfs.pod:1432
38055 msgid "This returns the last error number (errno) that happened on C<g>."
38056 msgstr ""
38057
38058 #. type: textblock
38059 #: ../src/guestfs.pod:1434
38060 msgid "If successful, an errno integer not equal to zero is returned."
38061 msgstr ""
38062
38063 #. type: textblock
38064 #: ../src/guestfs.pod:1436
38065 msgid ""
38066 "If no error, this returns 0.  This call can return 0 in three situations:"
38067 msgstr ""
38068
38069 #. type: textblock
38070 #: ../src/guestfs.pod:1443
38071 msgid "There has not been any error on the handle."
38072 msgstr ""
38073
38074 #. type: textblock
38075 #: ../src/guestfs.pod:1447
38076 msgid ""
38077 "There has been an error but the errno was meaningless.  This corresponds to "
38078 "the case where the error did not come from a failed system call, but for "
38079 "some other reason."
38080 msgstr ""
38081
38082 #. type: textblock
38083 #: ../src/guestfs.pod:1453
38084 msgid ""
38085 "There was an error from a failed system call, but for some reason the errno "
38086 "was not captured and returned.  This usually indicates a bug in libguestfs."
38087 msgstr ""
38088
38089 #. type: textblock
38090 #: ../src/guestfs.pod:1459
38091 msgid ""
38092 "Libguestfs tries to convert the errno from inside the applicance into a "
38093 "corresponding errno for the caller (not entirely trivial: the appliance "
38094 "might be running a completely different operating system from the library "
38095 "and error numbers are not standardized across Un*xen).  If this could not be "
38096 "done, then the error is translated to C<EINVAL>.  In practice this should "
38097 "only happen in very rare circumstances."
38098 msgstr ""
38099
38100 #. type: =head2
38101 #: ../src/guestfs.pod:1467
38102 msgid "guestfs_set_error_handler"
38103 msgstr "guestfs_set_error_handler"
38104
38105 #. type: verbatim
38106 #: ../src/guestfs.pod:1469
38107 #, no-wrap
38108 msgid ""
38109 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
38110 "                                           void *opaque,\n"
38111 "                                           const char *msg);\n"
38112 " void guestfs_set_error_handler (guestfs_h *g,\n"
38113 "                                 guestfs_error_handler_cb cb,\n"
38114 "                                 void *opaque);\n"
38115 "\n"
38116 msgstr ""
38117 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
38118 "                                           void *opaque,\n"
38119 "                                           const char *msg);\n"
38120 " void guestfs_set_error_handler (guestfs_h *g,\n"
38121 "                                 guestfs_error_handler_cb cb,\n"
38122 "                                 void *opaque);\n"
38123 "\n"
38124
38125 #. type: textblock
38126 #: ../src/guestfs.pod:1476
38127 msgid ""
38128 "The callback C<cb> will be called if there is an error.  The parameters "
38129 "passed to the callback are an opaque data pointer and the error message "
38130 "string."
38131 msgstr ""
38132
38133 #. type: textblock
38134 #: ../src/guestfs.pod:1480
38135 msgid ""
38136 "C<errno> is not passed to the callback.  To get that the callback must call "
38137 "L</guestfs_last_errno>."
38138 msgstr ""
38139
38140 #. type: textblock
38141 #: ../src/guestfs.pod:1483
38142 msgid ""
38143 "Note that the message string C<msg> is freed as soon as the callback "
38144 "function returns, so if you want to stash it somewhere you must make your "
38145 "own copy."
38146 msgstr ""
38147
38148 #. type: textblock
38149 #: ../src/guestfs.pod:1487
38150 msgid "The default handler prints messages on C<stderr>."
38151 msgstr ""
38152
38153 #. type: textblock
38154 #: ../src/guestfs.pod:1489
38155 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
38156 msgstr ""
38157
38158 #. type: =head2
38159 #: ../src/guestfs.pod:1491
38160 msgid "guestfs_get_error_handler"
38161 msgstr "guestfs_get_error_handler"
38162
38163 #. type: verbatim
38164 #: ../src/guestfs.pod:1493
38165 #, no-wrap
38166 msgid ""
38167 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
38168 "                                                     void **opaque_rtn);\n"
38169 "\n"
38170 msgstr ""
38171 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
38172 "                                                     void **opaque_rtn);\n"
38173 "\n"
38174
38175 #. type: textblock
38176 #: ../src/guestfs.pod:1496
38177 msgid "Returns the current error handler callback."
38178 msgstr ""
38179
38180 #. type: =head2
38181 #: ../src/guestfs.pod:1498
38182 msgid "guestfs_set_out_of_memory_handler"
38183 msgstr "guestfs_set_out_of_memory_handler"
38184
38185 #. type: verbatim
38186 #: ../src/guestfs.pod:1500
38187 #, no-wrap
38188 msgid ""
38189 " typedef void (*guestfs_abort_cb) (void);\n"
38190 " void guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
38191 "                                         guestfs_abort_cb);\n"
38192 "\n"
38193 msgstr ""
38194
38195 #. type: textblock
38196 #: ../src/guestfs.pod:1504
38197 msgid ""
38198 "The callback C<cb> will be called if there is an out of memory situation.  "
38199 "I<Note this callback must not return>."
38200 msgstr ""
38201
38202 #. type: textblock
38203 #: ../src/guestfs.pod:1507
38204 msgid "The default is to call L<abort(3)>."
38205 msgstr ""
38206
38207 #. type: textblock
38208 #: ../src/guestfs.pod:1509
38209 msgid ""
38210 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
38211 msgstr ""
38212
38213 #. type: =head2
38214 #: ../src/guestfs.pod:1512
38215 msgid "guestfs_get_out_of_memory_handler"
38216 msgstr "guestfs_get_out_of_memory_handler"
38217
38218 #. type: verbatim
38219 #: ../src/guestfs.pod:1514
38220 #, no-wrap
38221 msgid ""
38222 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
38223 "\n"
38224 msgstr ""
38225 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
38226 "\n"
38227
38228 #. type: textblock
38229 #: ../src/guestfs.pod:1516
38230 msgid "This returns the current out of memory handler."
38231 msgstr ""
38232
38233 #. type: =head1
38234 #: ../src/guestfs.pod:1518
38235 msgid "API CALLS"
38236 msgstr "ВИКЛИКИ API"
38237
38238 #. type: =head1
38239 #: ../src/guestfs.pod:1522
38240 msgid "STRUCTURES"
38241 msgstr "СТРУКТУРИ"
38242
38243 #. type: textblock
38244 #: ../src/guestfs.pod:1524
38245 msgid "@STRUCTS@"
38246 msgstr "@STRUCTS@"
38247
38248 #. type: =head1
38249 #: ../src/guestfs.pod:1526
38250 msgid "AVAILABILITY"
38251 msgstr "ДОСТУПНІСТЬ"
38252
38253 #. type: =head2
38254 #: ../src/guestfs.pod:1528
38255 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
38256 msgstr "ГРУПИ ФУНКЦІОНАЛЬНИХ МОЖЛИВОСТЕЙ У ОБРАЗІ ОСНОВНОЇ СИСТЕМИ"
38257
38258 #. type: textblock
38259 #: ../src/guestfs.pod:1530
38260 msgid ""
38261 "Using L</guestfs_available> you can test availability of the following "
38262 "groups of functions.  This test queries the appliance to see if the "
38263 "appliance you are currently using supports the functionality."
38264 msgstr ""
38265
38266 #. type: textblock
38267 #: ../src/guestfs.pod:1535
38268 msgid "@AVAILABILITY@"
38269 msgstr "@AVAILABILITY@"
38270
38271 #. type: =head2
38272 #: ../src/guestfs.pod:1537
38273 msgid "GUESTFISH supported COMMAND"
38274 msgstr ""
38275
38276 #. type: textblock
38277 #: ../src/guestfs.pod:1539
38278 msgid ""
38279 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
38280 "prints out the available groups and whether they are supported by this build "
38281 "of libguestfs.  Note however that you have to do C<run> first."
38282 msgstr ""
38283
38284 #. type: =head2
38285 #: ../src/guestfs.pod:1544
38286 msgid "SINGLE CALLS AT COMPILE TIME"
38287 msgstr ""
38288
38289 #. type: textblock
38290 #: ../src/guestfs.pod:1546
38291 msgid ""
38292 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
38293 "function, such as:"
38294 msgstr ""
38295
38296 #. type: verbatim
38297 #: ../src/guestfs.pod:1549
38298 #, no-wrap
38299 msgid ""
38300 " #define LIBGUESTFS_HAVE_DD 1\n"
38301 "\n"
38302 msgstr ""
38303 " #define LIBGUESTFS_HAVE_DD 1\n"
38304 "\n"
38305
38306 #. type: textblock
38307 #: ../src/guestfs.pod:1551
38308 msgid "if L</guestfs_dd> is available."
38309 msgstr ""
38310
38311 #. type: textblock
38312 #: ../src/guestfs.pod:1553
38313 msgid ""
38314 "Before version 1.5.8, if you needed to test whether a single libguestfs "
38315 "function is available at compile time, we recommended using build tools such "
38316 "as autoconf or cmake.  For example in autotools you could use:"
38317 msgstr ""
38318
38319 #. type: verbatim
38320 #: ../src/guestfs.pod:1558
38321 #, no-wrap
38322 msgid ""
38323 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
38324 " AC_CHECK_FUNCS([guestfs_dd])\n"
38325 "\n"
38326 msgstr ""
38327 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
38328 " AC_CHECK_FUNCS([guestfs_dd])\n"
38329 "\n"
38330
38331 #. type: textblock
38332 #: ../src/guestfs.pod:1561
38333 msgid ""
38334 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
38335 "in your program."
38336 msgstr ""
38337
38338 #. type: =head2
38339 #: ../src/guestfs.pod:1564
38340 msgid "SINGLE CALLS AT RUN TIME"
38341 msgstr ""
38342
38343 #. type: textblock
38344 #: ../src/guestfs.pod:1566
38345 msgid ""
38346 "Testing at compile time doesn't guarantee that a function really exists in "
38347 "the library.  The reason is that you might be dynamically linked against a "
38348 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
38349 "This situation unfortunately results in a segmentation fault, which is a "
38350 "shortcoming of the C dynamic linking system itself."
38351 msgstr ""
38352
38353 #. type: textblock
38354 #: ../src/guestfs.pod:1573
38355 msgid ""
38356 "You can use L<dlopen(3)> to test if a function is available at run time, as "
38357 "in this example program (note that you still need the compile time check as "
38358 "well):"
38359 msgstr ""
38360
38361 #. type: verbatim
38362 #: ../src/guestfs.pod:1577
38363 #, no-wrap
38364 msgid ""
38365 " #include <stdio.h>\n"
38366 " #include <stdlib.h>\n"
38367 " #include <unistd.h>\n"
38368 " #include <dlfcn.h>\n"
38369 " #include <guestfs.h>\n"
38370 " \n"
38371 msgstr ""
38372 " #include <stdio.h>\n"
38373 " #include <stdlib.h>\n"
38374 " #include <unistd.h>\n"
38375 " #include <dlfcn.h>\n"
38376 " #include <guestfs.h>\n"
38377 " \n"
38378
38379 #. type: verbatim
38380 #: ../src/guestfs.pod:1583
38381 #, no-wrap
38382 msgid ""
38383 " main ()\n"
38384 " {\n"
38385 " #ifdef LIBGUESTFS_HAVE_DD\n"
38386 "   void *dl;\n"
38387 "   int has_function;\n"
38388 " \n"
38389 msgstr ""
38390 " main ()\n"
38391 " {\n"
38392 " #ifdef LIBGUESTFS_HAVE_DD\n"
38393 "   void *dl;\n"
38394 "   int has_function;\n"
38395 " \n"
38396
38397 #. type: verbatim
38398 #: ../src/guestfs.pod:1589
38399 #, no-wrap
38400 msgid ""
38401 "   /* Test if the function guestfs_dd is really available. */\n"
38402 "   dl = dlopen (NULL, RTLD_LAZY);\n"
38403 "   if (!dl) {\n"
38404 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
38405 "     exit (EXIT_FAILURE);\n"
38406 "   }\n"
38407 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
38408 "   dlclose (dl);\n"
38409 " \n"
38410 msgstr ""
38411
38412 #. type: verbatim
38413 #: ../src/guestfs.pod:1598
38414 #, no-wrap
38415 msgid ""
38416 "   if (!has_function)\n"
38417 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
38418 "   else {\n"
38419 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
38420 "     /* Now it's safe to call\n"
38421 "     guestfs_dd (g, \"foo\", \"bar\");\n"
38422 "     */\n"
38423 "   }\n"
38424 " #else\n"
38425 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
38426 " #endif\n"
38427 "  }\n"
38428 "\n"
38429 msgstr ""
38430
38431 #. type: textblock
38432 #: ../src/guestfs.pod:1611
38433 msgid ""
38434 "You may think the above is an awful lot of hassle, and it is.  There are "
38435 "other ways outside of the C linking system to ensure that this kind of "
38436 "incompatibility never arises, such as using package versioning:"
38437 msgstr ""
38438
38439 #. type: verbatim
38440 #: ../src/guestfs.pod:1616
38441 #, no-wrap
38442 msgid ""
38443 " Requires: libguestfs >= 1.0.80\n"
38444 "\n"
38445 msgstr ""
38446
38447 #. type: =head1
38448 #: ../src/guestfs.pod:1618
38449 msgid "CALLS WITH OPTIONAL ARGUMENTS"
38450 msgstr ""
38451
38452 #. type: textblock
38453 #: ../src/guestfs.pod:1620
38454 msgid ""
38455 "A recent feature of the API is the introduction of calls which take optional "
38456 "arguments.  In C these are declared 3 ways.  The main way is as a call which "
38457 "takes variable arguments (ie. C<...>), as in this example:"
38458 msgstr ""
38459
38460 #. type: verbatim
38461 #: ../src/guestfs.pod:1625
38462 #, no-wrap
38463 msgid ""
38464 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
38465 "\n"
38466 msgstr ""
38467 " int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);\n"
38468 "\n"
38469
38470 #. type: textblock
38471 #: ../src/guestfs.pod:1627
38472 msgid ""
38473 "Call this with a list of optional arguments, terminated by C<-1>.  So to "
38474 "call with no optional arguments specified:"
38475 msgstr ""
38476
38477 #. type: verbatim
38478 #: ../src/guestfs.pod:1630
38479 #, no-wrap
38480 msgid ""
38481 " guestfs_add_drive_opts (g, filename, -1);\n"
38482 "\n"
38483 msgstr ""
38484 " guestfs_add_drive_opts (g, filename, -1);\n"
38485 "\n"
38486
38487 #. type: textblock
38488 #: ../src/guestfs.pod:1632
38489 msgid "With a single optional argument:"
38490 msgstr ""
38491
38492 #. type: verbatim
38493 #: ../src/guestfs.pod:1634
38494 #, no-wrap
38495 msgid ""
38496 " guestfs_add_drive_opts (g, filename,\n"
38497 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38498 "                         -1);\n"
38499 "\n"
38500 msgstr ""
38501 " guestfs_add_drive_opts (g, filename,\n"
38502 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38503 "                         -1);\n"
38504 "\n"
38505
38506 #. type: textblock
38507 #: ../src/guestfs.pod:1638
38508 msgid "With two:"
38509 msgstr ""
38510
38511 #. type: verbatim
38512 #: ../src/guestfs.pod:1640
38513 #, no-wrap
38514 msgid ""
38515 " guestfs_add_drive_opts (g, filename,\n"
38516 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38517 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
38518 "                         -1);\n"
38519 "\n"
38520 msgstr ""
38521 " guestfs_add_drive_opts (g, filename,\n"
38522 "                         GUESTFS_ADD_DRIVE_OPTS_FORMAT, \"qcow2\",\n"
38523 "                         GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,\n"
38524 "                         -1);\n"
38525 "\n"
38526
38527 #. type: textblock
38528 #: ../src/guestfs.pod:1645
38529 msgid ""
38530 "and so forth.  Don't forget the terminating C<-1> otherwise Bad Things will "
38531 "happen!"
38532 msgstr ""
38533
38534 #. type: =head2
38535 #: ../src/guestfs.pod:1648
38536 msgid "USING va_list FOR OPTIONAL ARGUMENTS"
38537 msgstr ""
38538
38539 #. type: textblock
38540 #: ../src/guestfs.pod:1650
38541 msgid ""
38542 "The second variant has the same name with the suffix C<_va>, which works the "
38543 "same way but takes a C<va_list>.  See the C manual for details.  For the "
38544 "example function, this is declared:"
38545 msgstr ""
38546
38547 #. type: verbatim
38548 #: ../src/guestfs.pod:1654
38549 #, no-wrap
38550 msgid ""
38551 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
38552 "                                va_list args);\n"
38553 "\n"
38554 msgstr ""
38555 " int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,\n"
38556 "                                va_list args);\n"
38557 "\n"
38558
38559 #. type: =head2
38560 #: ../src/guestfs.pod:1657
38561 msgid "CONSTRUCTING OPTIONAL ARGUMENTS"
38562 msgstr ""
38563
38564 #. type: textblock
38565 #: ../src/guestfs.pod:1659
38566 msgid ""
38567 "The third variant is useful where you need to construct these calls.  You "
38568 "pass in a structure where you fill in the optional fields.  The structure "
38569 "has a bitmask as the first element which you must set to indicate which "
38570 "fields you have filled in.  For our example function the structure and call "
38571 "are declared:"
38572 msgstr ""
38573
38574 #. type: verbatim
38575 #: ../src/guestfs.pod:1665
38576 #, no-wrap
38577 msgid ""
38578 " struct guestfs_add_drive_opts_argv {\n"
38579 "   uint64_t bitmask;\n"
38580 "   int readonly;\n"
38581 "   const char *format;\n"
38582 "   /* ... */\n"
38583 " };\n"
38584 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
38585 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
38586 "\n"
38587 msgstr ""
38588 " struct guestfs_add_drive_opts_argv {\n"
38589 "   uint64_t bitmask;\n"
38590 "   int readonly;\n"
38591 "   const char *format;\n"
38592 "   /* ... */\n"
38593 " };\n"
38594 " int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,\n"
38595 "              const struct guestfs_add_drive_opts_argv *optargs);\n"
38596 "\n"
38597
38598 #. type: textblock
38599 #: ../src/guestfs.pod:1674
38600 msgid "You could call it like this:"
38601 msgstr ""
38602
38603 #. type: verbatim
38604 #: ../src/guestfs.pod:1676
38605 #, no-wrap
38606 msgid ""
38607 " struct guestfs_add_drive_opts_argv optargs = {\n"
38608 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
38609 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
38610 "   .readonly = 1,\n"
38611 "   .format = \"qcow2\"\n"
38612 " };\n"
38613 " \n"
38614 msgstr ""
38615 " struct guestfs_add_drive_opts_argv optargs = {\n"
38616 "   .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |\n"
38617 "              GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,\n"
38618 "   .readonly = 1,\n"
38619 "   .format = \"qcow2\"\n"
38620 " };\n"
38621 " \n"
38622
38623 #. type: verbatim
38624 #: ../src/guestfs.pod:1683
38625 #, no-wrap
38626 msgid ""
38627 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
38628 "\n"
38629 msgstr ""
38630 " guestfs_add_drive_opts_argv (g, filename, &optargs);\n"
38631 "\n"
38632
38633 #. type: textblock
38634 #: ../src/guestfs.pod:1691
38635 msgid "The C<_BITMASK> suffix on each option name when specifying the bitmask."
38636 msgstr ""
38637
38638 #. type: textblock
38639 #: ../src/guestfs.pod:1696
38640 msgid "You do not need to fill in all fields of the structure."
38641 msgstr ""
38642
38643 #. type: textblock
38644 #: ../src/guestfs.pod:1700
38645 msgid ""
38646 "There must be a one-to-one correspondence between fields of the structure "
38647 "that are filled in, and bits set in the bitmask."
38648 msgstr ""
38649
38650 #. type: =head2
38651 #: ../src/guestfs.pod:1705
38652 msgid "OPTIONAL ARGUMENTS IN OTHER LANGUAGES"
38653 msgstr ""
38654
38655 #. type: textblock
38656 #: ../src/guestfs.pod:1707
38657 msgid ""
38658 "In other languages, optional arguments are expressed in the way that is "
38659 "natural for that language.  We refer you to the language-specific "
38660 "documentation for more details on that."
38661 msgstr ""
38662
38663 #. type: textblock
38664 #: ../src/guestfs.pod:1711
38665 msgid "For guestfish, see L<guestfish(1)/OPTIONAL ARGUMENTS>."
38666 msgstr ""
38667
38668 #. type: =head2
38669 #: ../src/guestfs.pod:1713
38670 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
38671 msgstr ""
38672
38673 #. type: textblock
38674 #: ../src/guestfs.pod:1715
38675 msgid ""
38676 "B<Note:> This section documents the generic event mechanism introduced in "
38677 "libguestfs 1.10, which you should use in new code if possible.  The old "
38678 "functions C<guestfs_set_log_message_callback>, "
38679 "C<guestfs_set_subprocess_quit_callback>, "
38680 "C<guestfs_set_launch_done_callback>, C<guestfs_set_close_callback> and "
38681 "C<guestfs_set_progress_callback> are no longer documented in this manual "
38682 "page.  Because of the ABI guarantee, the old functions continue to work."
38683 msgstr ""
38684
38685 #. type: textblock
38686 #: ../src/guestfs.pod:1724
38687 msgid ""
38688 "Handles generate events when certain things happen, such as log messages "
38689 "being generated, progress messages during long-running operations, or the "
38690 "handle being closed.  The API calls described below let you register a "
38691 "callback to be called when events happen.  You can register multiple "
38692 "callbacks (for the same, different or overlapping sets of events), and "
38693 "individually remove callbacks.  If callbacks are not removed, then they "
38694 "remain in force until the handle is closed."
38695 msgstr ""
38696
38697 #. type: textblock
38698 #: ../src/guestfs.pod:1732
38699 msgid ""
38700 "In the current implementation, events are only generated synchronously: that "
38701 "means that events (and hence callbacks) can only happen while you are in the "
38702 "middle of making another libguestfs call.  The callback is called in the "
38703 "same thread."
38704 msgstr ""
38705
38706 #. type: textblock
38707 #: ../src/guestfs.pod:1737
38708 msgid ""
38709 "Events may contain a payload, usually nothing (void), an array of 64 bit "
38710 "unsigned integers, or a message buffer.  Payloads are discussed later on."
38711 msgstr ""
38712
38713 #. type: =head3
38714 #: ../src/guestfs.pod:1741
38715 msgid "CLASSES OF EVENTS"
38716 msgstr ""
38717
38718 #. type: =item
38719 #: ../src/guestfs.pod:1745
38720 msgid "GUESTFS_EVENT_CLOSE (payload type: void)"
38721 msgstr ""
38722
38723 #. type: textblock
38724 #: ../src/guestfs.pod:1748
38725 msgid ""
38726 "The callback function will be called while the handle is being closed "
38727 "(synchronously from L</guestfs_close>)."
38728 msgstr ""
38729
38730 #. type: textblock
38731 #: ../src/guestfs.pod:1751
38732 msgid ""
38733 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
38734 "handles that are open when the program exits.  This means that this callback "
38735 "might be called indirectly from L<exit(3)>, which can cause unexpected "
38736 "problems in higher-level languages (eg. if your HLL interpreter has already "
38737 "been cleaned up by the time this is called, and if your callback then jumps "
38738 "into some HLL function)."
38739 msgstr ""
38740
38741 #. type: textblock
38742 #: ../src/guestfs.pod:1758
38743 msgid ""
38744 "If no callback is registered: the handle is closed without any callback "
38745 "being invoked."
38746 msgstr ""
38747
38748 #. type: =item
38749 #: ../src/guestfs.pod:1761
38750 msgid "GUESTFS_EVENT_SUBPROCESS_QUIT (payload type: void)"
38751 msgstr ""
38752
38753 #. type: textblock
38754 #: ../src/guestfs.pod:1764
38755 msgid ""
38756 "The callback function will be called when the child process quits, either "
38757 "asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
38758 "corresponds to a transition from any state to the CONFIG state)."
38759 msgstr ""
38760
38761 #. type: textblock
38762 #: ../src/guestfs.pod:1768 ../src/guestfs.pod:1777 ../src/guestfs.pod:1894
38763 msgid "If no callback is registered: the event is ignored."
38764 msgstr ""
38765
38766 #. type: =item
38767 #: ../src/guestfs.pod:1770
38768 msgid "GUESTFS_EVENT_LAUNCH_DONE (payload type: void)"
38769 msgstr ""
38770
38771 #. type: textblock
38772 #: ../src/guestfs.pod:1773
38773 msgid ""
38774 "The callback function will be called when the child process becomes ready "
38775 "first time after it has been launched.  (This corresponds to a transition "
38776 "from LAUNCHING to the READY state)."
38777 msgstr ""
38778
38779 #. type: =item
38780 #: ../src/guestfs.pod:1779
38781 msgid "GUESTFS_EVENT_PROGRESS (payload type: array of 4 x uint64_t)"
38782 msgstr ""
38783
38784 #. type: textblock
38785 #: ../src/guestfs.pod:1782
38786 msgid ""
38787 "Some long-running operations can generate progress messages.  If this "
38788 "callback is registered, then it will be called each time a progress message "
38789 "is generated (usually two seconds after the operation started, and three "
38790 "times per second thereafter until it completes, although the frequency may "
38791 "change in future versions)."
38792 msgstr ""
38793
38794 #. type: textblock
38795 #: ../src/guestfs.pod:1788
38796 msgid ""
38797 "The callback receives in the payload four unsigned 64 bit numbers which are "
38798 "(in order): C<proc_nr>, C<serial>, C<position>, C<total>."
38799 msgstr ""
38800
38801 #. type: textblock
38802 #: ../src/guestfs.pod:1791
38803 msgid ""
38804 "The units of C<total> are not defined, although for some operations C<total> "
38805 "may relate in some way to the amount of data to be transferred (eg. in bytes "
38806 "or megabytes), and C<position> may be the portion which has been transferred."
38807 msgstr ""
38808
38809 #. type: textblock
38810 #: ../src/guestfs.pod:1796
38811 msgid "The only defined and stable parts of the API are:"
38812 msgstr ""
38813
38814 #. type: textblock
38815 #: ../src/guestfs.pod:1802
38816 msgid ""
38817 "The callback can display to the user some type of progress bar or indicator "
38818 "which shows the ratio of C<position>:C<total>."
38819 msgstr ""
38820
38821 #. type: textblock
38822 #: ../src/guestfs.pod:1807
38823 msgid "0 E<lt>= C<position> E<lt>= C<total>"
38824 msgstr ""
38825
38826 #. type: textblock
38827 #: ../src/guestfs.pod:1811
38828 msgid ""
38829 "If any progress notification is sent during a call, then a final progress "
38830 "notification is always sent when C<position> = C<total> (I<unless> the call "
38831 "fails with an error)."
38832 msgstr ""
38833
38834 #. type: textblock
38835 #: ../src/guestfs.pod:1815
38836 msgid ""
38837 "This is to simplify caller code, so callers can easily set the progress "
38838 "indicator to \"100%\" at the end of the operation, without requiring special "
38839 "code to detect this case."
38840 msgstr ""
38841
38842 #. type: textblock
38843 #: ../src/guestfs.pod:1821
38844 msgid ""
38845 "For some calls we are unable to estimate the progress of the call, but we "
38846 "can still generate progress messages to indicate activity.  This is known as "
38847 "\"pulse mode\", and is directly supported by certain progress bar "
38848 "implementations (eg. GtkProgressBar)."
38849 msgstr ""
38850
38851 #. type: textblock
38852 #: ../src/guestfs.pod:1826
38853 msgid ""
38854 "For these calls, zero or more progress messages are generated with "
38855 "C<position = 0> and C<total = 1>, followed by a final message with "
38856 "C<position = total = 1>."
38857 msgstr ""
38858
38859 #. type: textblock
38860 #: ../src/guestfs.pod:1830
38861 msgid ""
38862 "As noted above, if the call fails with an error then the final message may "
38863 "not be generated."
38864 msgstr ""
38865
38866 #. type: textblock
38867 #: ../src/guestfs.pod:1835
38868 msgid ""
38869 "The callback also receives the procedure number (C<proc_nr>) and serial "
38870 "number (C<serial>) of the call.  These are only useful for debugging "
38871 "protocol issues, and the callback can normally ignore them.  The callback "
38872 "may want to print these numbers in error messages or debugging messages."
38873 msgstr ""
38874
38875 #. type: textblock
38876 #: ../src/guestfs.pod:1841
38877 msgid "If no callback is registered: progress messages are discarded."
38878 msgstr ""
38879
38880 #. type: =item
38881 #: ../src/guestfs.pod:1843
38882 msgid "GUESTFS_EVENT_APPLIANCE (payload type: message buffer)"
38883 msgstr ""
38884
38885 #. type: textblock
38886 #: ../src/guestfs.pod:1846
38887 msgid ""
38888 "The callback function is called whenever a log message is generated by qemu, "
38889 "the appliance kernel, guestfsd (daemon), or utility programs."
38890 msgstr ""
38891
38892 #. type: textblock
38893 #: ../src/guestfs.pod:1849
38894 msgid ""
38895 "If the verbose flag (L</guestfs_set_verbose>) is set before launch (L</"
38896 "guestfs_launch>) then additional debug messages are generated."
38897 msgstr ""
38898
38899 #. type: textblock
38900 #: ../src/guestfs.pod:1852 ../src/guestfs.pod:1866
38901 msgid ""
38902 "If no callback is registered: the messages are discarded unless the verbose "
38903 "flag is set in which case they are sent to stderr.  You can override the "
38904 "printing of verbose messages to stderr by setting up a callback."
38905 msgstr ""
38906
38907 #. type: =item
38908 #: ../src/guestfs.pod:1857
38909 msgid "GUESTFS_EVENT_LIBRARY (payload type: message buffer)"
38910 msgstr ""
38911
38912 #. type: textblock
38913 #: ../src/guestfs.pod:1860
38914 msgid ""
38915 "The callback function is called whenever a log message is generated by the "
38916 "library part of libguestfs."
38917 msgstr ""
38918
38919 #. type: textblock
38920 #: ../src/guestfs.pod:1863
38921 msgid ""
38922 "If the verbose flag (L</guestfs_set_verbose>) is set then additional debug "
38923 "messages are generated."
38924 msgstr ""
38925
38926 #. type: =item
38927 #: ../src/guestfs.pod:1871
38928 msgid "GUESTFS_EVENT_TRACE (payload type: message buffer)"
38929 msgstr ""
38930
38931 #. type: textblock
38932 #: ../src/guestfs.pod:1874
38933 msgid ""
38934 "The callback function is called whenever a trace message is generated.  This "
38935 "only applies if the trace flag (L</guestfs_set_trace>) is set."
38936 msgstr ""
38937
38938 #. type: textblock
38939 #: ../src/guestfs.pod:1877
38940 msgid ""
38941 "If no callback is registered: the messages are sent to stderr.  You can "
38942 "override the printing of trace messages to stderr by setting up a callback."
38943 msgstr ""
38944
38945 #. type: =item
38946 #: ../src/guestfs.pod:1881
38947 msgid "GUESTFS_EVENT_ENTER (payload type: function name)"
38948 msgstr ""
38949
38950 #. type: textblock
38951 #: ../src/guestfs.pod:1884
38952 msgid ""
38953 "The callback function is called whenever a libguestfs function is entered."
38954 msgstr ""
38955
38956 #. type: textblock
38957 #: ../src/guestfs.pod:1887
38958 msgid ""
38959 "The payload is a string which contains the name of the function that we are "
38960 "entering (not including C<guestfs_> prefix)."
38961 msgstr ""
38962
38963 #. type: textblock
38964 #: ../src/guestfs.pod:1890
38965 msgid ""
38966 "Note that libguestfs functions can call themselves, so you may see many "
38967 "events from a single call.  A few libguestfs functions do not generate this "
38968 "event."
38969 msgstr ""
38970
38971 #. type: =head3
38972 #: ../src/guestfs.pod:1898
38973 msgid "guestfs_set_event_callback"
38974 msgstr ""
38975
38976 #. type: verbatim
38977 #: ../src/guestfs.pod:1900
38978 #, no-wrap
38979 msgid ""
38980 " int guestfs_set_event_callback (guestfs_h *g,\n"
38981 "                                 guestfs_event_callback cb,\n"
38982 "                                 uint64_t event_bitmask,\n"
38983 "                                 int flags,\n"
38984 "                                 void *opaque);\n"
38985 "\n"
38986 msgstr ""
38987
38988 #. type: textblock
38989 #: ../src/guestfs.pod:1906
38990 msgid ""
38991 "This function registers a callback (C<cb>) for all event classes in the "
38992 "C<event_bitmask>."
38993 msgstr ""
38994
38995 #. type: textblock
38996 #: ../src/guestfs.pod:1909
38997 msgid ""
38998 "For example, to register for all log message events, you could call this "
38999 "function with the bitmask C<GUESTFS_EVENT_APPLIANCE|GUESTFS_EVENT_LIBRARY>.  "
39000 "To register a single callback for all possible classes of events, use "
39001 "C<GUESTFS_EVENT_ALL>."
39002 msgstr ""
39003
39004 #. type: textblock
39005 #: ../src/guestfs.pod:1915
39006 msgid "C<flags> should always be passed as 0."
39007 msgstr ""
39008
39009 #. type: textblock
39010 #: ../src/guestfs.pod:1917
39011 msgid ""
39012 "C<opaque> is an opaque pointer which is passed to the callback.  You can use "
39013 "it for any purpose."
39014 msgstr ""
39015
39016 #. type: textblock
39017 #: ../src/guestfs.pod:1920
39018 msgid ""
39019 "The return value is the event handle (an integer) which you can use to "
39020 "delete the callback (see below)."
39021 msgstr ""
39022
39023 #. type: textblock
39024 #: ../src/guestfs.pod:1923
39025 msgid ""
39026 "If there is an error, this function returns C<-1>, and sets the error in the "
39027 "handle in the usual way (see L</guestfs_last_error> etc.)"
39028 msgstr ""
39029
39030 #. type: textblock
39031 #: ../src/guestfs.pod:1926
39032 msgid ""
39033 "Callbacks remain in effect until they are deleted, or until the handle is "
39034 "closed."
39035 msgstr ""
39036
39037 #. type: textblock
39038 #: ../src/guestfs.pod:1929
39039 msgid ""
39040 "In the case where multiple callbacks are registered for a particular event "
39041 "class, all of the callbacks are called.  The order in which multiple "
39042 "callbacks are called is not defined."
39043 msgstr ""
39044
39045 #. type: =head3
39046 #: ../src/guestfs.pod:1933
39047 msgid "guestfs_delete_event_callback"
39048 msgstr ""
39049
39050 #. type: verbatim
39051 #: ../src/guestfs.pod:1935
39052 #, no-wrap
39053 msgid ""
39054 " void guestfs_delete_event_callback (guestfs_h *g, int event_handle);\n"
39055 "\n"
39056 msgstr ""
39057
39058 #. type: textblock
39059 #: ../src/guestfs.pod:1937
39060 msgid ""
39061 "Delete a callback that was previously registered.  C<event_handle> should be "
39062 "the integer that was returned by a previous call to "
39063 "C<guestfs_set_event_callback> on the same handle."
39064 msgstr ""
39065
39066 #. type: =head3
39067 #: ../src/guestfs.pod:1941
39068 msgid "guestfs_event_callback"
39069 msgstr ""
39070
39071 #. type: verbatim
39072 #: ../src/guestfs.pod:1943
39073 #, no-wrap
39074 msgid ""
39075 " typedef void (*guestfs_event_callback) (\n"
39076 "                  guestfs_h *g,\n"
39077 "                  void *opaque,\n"
39078 "                  uint64_t event,\n"
39079 "                  int event_handle,\n"
39080 "                  int flags,\n"
39081 "                  const char *buf, size_t buf_len,\n"
39082 "                  const uint64_t *array, size_t array_len);\n"
39083 "\n"
39084 msgstr ""
39085
39086 #. type: textblock
39087 #: ../src/guestfs.pod:1952
39088 msgid ""
39089 "This is the type of the event callback function that you have to provide."
39090 msgstr ""
39091
39092 #. type: textblock
39093 #: ../src/guestfs.pod:1955
39094 msgid ""
39095 "The basic parameters are: the handle (C<g>), the opaque user pointer "
39096 "(C<opaque>), the event class (eg. C<GUESTFS_EVENT_PROGRESS>), the event "
39097 "handle, and C<flags> which in the current API you should ignore."
39098 msgstr ""
39099
39100 #. type: textblock
39101 #: ../src/guestfs.pod:1959
39102 msgid ""
39103 "The remaining parameters contain the event payload (if any).  Each event may "
39104 "contain a payload, which usually relates to the event class, but for future "
39105 "proofing your code should be written to handle any payload for any event "
39106 "class."
39107 msgstr ""
39108
39109 #. type: textblock
39110 #: ../src/guestfs.pod:1964
39111 msgid ""
39112 "C<buf> and C<buf_len> contain a message buffer (if C<buf_len == 0>, then "
39113 "there is no message buffer).  Note that this message buffer can contain "
39114 "arbitrary 8 bit data, including NUL bytes."
39115 msgstr ""
39116
39117 #. type: textblock
39118 #: ../src/guestfs.pod:1968
39119 msgid ""
39120 "C<array> and C<array_len> is an array of 64 bit unsigned integers.  At the "
39121 "moment this is only used for progress messages."
39122 msgstr ""
39123
39124 #. type: =head3
39125 #: ../src/guestfs.pod:1971
39126 msgid "EXAMPLE: CAPTURING LOG MESSAGES"
39127 msgstr ""
39128
39129 #. type: textblock
39130 #: ../src/guestfs.pod:1973
39131 msgid ""
39132 "One motivation for the generic event API was to allow GUI programs to "
39133 "capture debug and other messages.  In libguestfs E<le> 1.8 these were sent "
39134 "unconditionally to C<stderr>."
39135 msgstr ""
39136
39137 #. type: textblock
39138 #: ../src/guestfs.pod:1977
39139 msgid ""
39140 "Events associated with log messages are: C<GUESTFS_EVENT_LIBRARY>, "
39141 "C<GUESTFS_EVENT_APPLIANCE> and C<GUESTFS_EVENT_TRACE>.  (Note that error "
39142 "messages are not events; you must capture error messages separately)."
39143 msgstr ""
39144
39145 #. type: textblock
39146 #: ../src/guestfs.pod:1982
39147 msgid ""
39148 "Programs have to set up a callback to capture the classes of events of "
39149 "interest:"
39150 msgstr ""
39151
39152 #. type: verbatim
39153 #: ../src/guestfs.pod:1985
39154 #, no-wrap
39155 msgid ""
39156 " int eh =\n"
39157 "   guestfs_set_event_callback\n"
39158 "     (g, message_callback,\n"
39159 "      GUESTFS_EVENT_LIBRARY|GUESTFS_EVENT_APPLIANCE|\n"
39160 "      GUESTFS_EVENT_TRACE,\n"
39161 "      0, NULL) == -1)\n"
39162 " if (eh == -1) {\n"
39163 "   // handle error in the usual way\n"
39164 " }\n"
39165 "\n"
39166 msgstr ""
39167
39168 #. type: textblock
39169 #: ../src/guestfs.pod:1995
39170 msgid ""
39171 "The callback can then direct messages to the appropriate place.  In this "
39172 "example, messages are directed to syslog:"
39173 msgstr ""
39174
39175 #. type: verbatim
39176 #: ../src/guestfs.pod:1998
39177 #, no-wrap
39178 msgid ""
39179 " static void\n"
39180 " message_callback (\n"
39181 "         guestfs_h *g,\n"
39182 "         void *opaque,\n"
39183 "         uint64_t event,\n"
39184 "         int event_handle,\n"
39185 "         int flags,\n"
39186 "         const char *buf, size_t buf_len,\n"
39187 "         const uint64_t *array, size_t array_len)\n"
39188 " {\n"
39189 "   const int priority = LOG_USER|LOG_INFO;\n"
39190 "   if (buf_len > 0)\n"
39191 "     syslog (priority, \"event 0x%lx: %s\", event, buf);\n"
39192 " }\n"
39193 "\n"
39194 msgstr ""
39195
39196 #. type: =head1
39197 #: ../src/guestfs.pod:2013
39198 msgid "CANCELLING LONG TRANSFERS"
39199 msgstr ""
39200
39201 #. type: textblock
39202 #: ../src/guestfs.pod:2015
39203 msgid ""
39204 "Some operations can be cancelled by the caller while they are in progress.  "
39205 "Currently only operations that involve uploading or downloading data can be "
39206 "cancelled (technically: operations that have C<FileIn> or C<FileOut> "
39207 "parameters in the generator)."
39208 msgstr ""
39209
39210 #. type: =head2
39211 #: ../src/guestfs.pod:2020
39212 msgid "guestfs_user_cancel"
39213 msgstr ""
39214
39215 #. type: verbatim
39216 #: ../src/guestfs.pod:2022
39217 #, no-wrap
39218 msgid ""
39219 " void guestfs_user_cancel (guestfs_h *g);\n"
39220 "\n"
39221 msgstr ""
39222
39223 #. type: textblock
39224 #: ../src/guestfs.pod:2024
39225 msgid ""
39226 "C<guestfs_user_cancel> cancels the current upload or download operation."
39227 msgstr ""
39228
39229 #. type: textblock
39230 #: ../src/guestfs.pod:2027
39231 msgid ""
39232 "Unlike most other libguestfs calls, this function is signal safe and thread "
39233 "safe.  You can call it from a signal handler or from another thread, without "
39234 "needing to do any locking."
39235 msgstr ""
39236
39237 #. type: textblock
39238 #: ../src/guestfs.pod:2031
39239 msgid ""
39240 "The transfer that was in progress (if there is one) will stop shortly "
39241 "afterwards, and will return an error.  The errno (see L</"
39242 "guestfs_last_errno>) is set to C<EINTR>, so you can test for this to find "
39243 "out if the operation was cancelled or failed because of another error."
39244 msgstr ""
39245
39246 #. type: textblock
39247 #: ../src/guestfs.pod:2037
39248 msgid ""
39249 "No cleanup is performed: for example, if a file was being uploaded then "
39250 "after cancellation there may be a partially uploaded file.  It is the "
39251 "caller's responsibility to clean up if necessary."
39252 msgstr ""
39253
39254 #. type: textblock
39255 #: ../src/guestfs.pod:2041
39256 msgid "There are two common places that you might call C<guestfs_user_cancel>."
39257 msgstr ""
39258
39259 #. type: textblock
39260 #: ../src/guestfs.pod:2043
39261 msgid ""
39262 "In an interactive text-based program, you might call it from a C<SIGINT> "
39263 "signal handler so that pressing C<^C> cancels the current operation.  (You "
39264 "also need to call L</guestfs_set_pgroup> so that child processes don't "
39265 "receive the C<^C> signal)."
39266 msgstr ""
39267
39268 #. type: textblock
39269 #: ../src/guestfs.pod:2048
39270 msgid ""
39271 "In a graphical program, when the main thread is displaying a progress bar "
39272 "with a cancel button, wire up the cancel button to call this function."
39273 msgstr ""
39274
39275 #. type: =head1
39276 #: ../src/guestfs.pod:2052
39277 msgid "PRIVATE DATA AREA"
39278 msgstr ""
39279
39280 #. type: textblock
39281 #: ../src/guestfs.pod:2054
39282 msgid ""
39283 "You can attach named pieces of private data to the libguestfs handle, fetch "
39284 "them by name, and walk over them, for the lifetime of the handle.  This is "
39285 "called the private data area and is only available from the C API."
39286 msgstr ""
39287
39288 #. type: textblock
39289 #: ../src/guestfs.pod:2059
39290 msgid "To attach a named piece of data, use the following call:"
39291 msgstr ""
39292
39293 #. type: verbatim
39294 #: ../src/guestfs.pod:2061
39295 #, no-wrap
39296 msgid ""
39297 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
39298 "\n"
39299 msgstr ""
39300 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
39301 "\n"
39302
39303 #. type: textblock
39304 #: ../src/guestfs.pod:2063
39305 msgid ""
39306 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
39307 "pointer (which can be C<NULL>).  Any previous item with the same key is "
39308 "overwritten."
39309 msgstr ""
39310
39311 #. type: textblock
39312 #: ../src/guestfs.pod:2067
39313 msgid ""
39314 "You can use any C<key> you want, but your key should I<not> start with an "
39315 "underscore character.  Keys beginning with an underscore character are "
39316 "reserved for internal libguestfs purposes (eg. for implementing language "
39317 "bindings).  It is recommended that you prefix the key with some unique "
39318 "string to avoid collisions with other users."
39319 msgstr ""
39320
39321 #. type: textblock
39322 #: ../src/guestfs.pod:2073
39323 msgid "To retrieve the pointer, use:"
39324 msgstr ""
39325
39326 #. type: verbatim
39327 #: ../src/guestfs.pod:2075
39328 #, no-wrap
39329 msgid ""
39330 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
39331 "\n"
39332 msgstr ""
39333 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
39334 "\n"
39335
39336 #. type: textblock
39337 #: ../src/guestfs.pod:2077
39338 msgid ""
39339 "This function returns C<NULL> if either no data is found associated with "
39340 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
39341 "C<NULL>."
39342 msgstr ""
39343
39344 #. type: textblock
39345 #: ../src/guestfs.pod:2081
39346 msgid ""
39347 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
39348 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
39349 "all.  In particular, libguestfs does I<not> try to free the data when the "
39350 "handle is closed.  If the data must be freed, then the caller must either "
39351 "free it before calling L</guestfs_close> or must set up a close callback to "
39352 "do it (see L</GUESTFS_EVENT_CLOSE>)."
39353 msgstr ""
39354
39355 #. type: textblock
39356 #: ../src/guestfs.pod:2088
39357 msgid "To walk over all entries, use these two functions:"
39358 msgstr ""
39359
39360 #. type: verbatim
39361 #: ../src/guestfs.pod:2090
39362 #, no-wrap
39363 msgid ""
39364 " void *guestfs_first_private (guestfs_h *g, const char **key_rtn);\n"
39365 "\n"
39366 msgstr ""
39367
39368 #. type: verbatim
39369 #: ../src/guestfs.pod:2092
39370 #, no-wrap
39371 msgid ""
39372 " void *guestfs_next_private (guestfs_h *g, const char **key_rtn);\n"
39373 "\n"
39374 msgstr ""
39375
39376 #. type: textblock
39377 #: ../src/guestfs.pod:2094
39378 msgid ""
39379 "C<guestfs_first_private> returns the first key, pointer pair (\"first\" does "
39380 "not have any particular meaning -- keys are not returned in any defined "
39381 "order).  A pointer to the key is returned in C<*key_rtn> and the "
39382 "corresponding data pointer is returned from the function.  C<NULL> is "
39383 "returned if there are no keys stored in the handle."
39384 msgstr ""
39385
39386 #. type: textblock
39387 #: ../src/guestfs.pod:2100
39388 msgid ""
39389 "C<guestfs_next_private> returns the next key, pointer pair.  The return "
39390 "value of this function is also C<NULL> is there are no further entries to "
39391 "return."
39392 msgstr ""
39393
39394 #. type: textblock
39395 #: ../src/guestfs.pod:2104
39396 msgid "Notes about walking over entries:"
39397 msgstr ""
39398
39399 #. type: textblock
39400 #: ../src/guestfs.pod:2110
39401 msgid ""
39402 "You must not call C<guestfs_set_private> while walking over the entries."
39403 msgstr ""
39404
39405 #. type: textblock
39406 #: ../src/guestfs.pod:2115
39407 msgid ""
39408 "The handle maintains an internal iterator which is reset when you call "
39409 "C<guestfs_first_private>.  This internal iterator is invalidated when you "
39410 "call C<guestfs_set_private>."
39411 msgstr ""
39412
39413 #. type: textblock
39414 #: ../src/guestfs.pod:2121
39415 msgid "If you have set the data pointer associated with a key to C<NULL>, ie:"
39416 msgstr ""
39417
39418 #. type: verbatim
39419 #: ../src/guestfs.pod:2123
39420 #, no-wrap
39421 msgid ""
39422 " guestfs_set_private (g, key, NULL);\n"
39423 "\n"
39424 msgstr ""
39425
39426 #. type: textblock
39427 #: ../src/guestfs.pod:2125
39428 msgid "then that C<key> is not returned when walking."
39429 msgstr ""
39430
39431 #. type: textblock
39432 #: ../src/guestfs.pod:2129
39433 msgid ""
39434 "C<*key_rtn> is only valid until the next call to C<guestfs_first_private>, "
39435 "C<guestfs_next_private> or C<guestfs_set_private>."
39436 msgstr ""
39437
39438 #. type: textblock
39439 #: ../src/guestfs.pod:2135
39440 msgid ""
39441 "The following example code shows how to print all keys and data pointers "
39442 "that are associated with the handle C<g>:"
39443 msgstr ""
39444
39445 #. type: verbatim
39446 #: ../src/guestfs.pod:2138
39447 #, no-wrap
39448 msgid ""
39449 " const char *key;\n"
39450 " void *data = guestfs_first_private (g, &key);\n"
39451 " while (data != NULL)\n"
39452 "   {\n"
39453 "     printf (\"key = %s, data = %p\\n\", key, data);\n"
39454 "     data = guestfs_next_private (g, &key);\n"
39455 "   }\n"
39456 "\n"
39457 msgstr ""
39458
39459 #. type: textblock
39460 #: ../src/guestfs.pod:2146
39461 msgid ""
39462 "More commonly you are only interested in keys that begin with an application-"
39463 "specific prefix C<foo_>.  Modify the loop like so:"
39464 msgstr ""
39465
39466 #. type: verbatim
39467 #: ../src/guestfs.pod:2149
39468 #, no-wrap
39469 msgid ""
39470 " const char *key;\n"
39471 " void *data = guestfs_first_private (g, &key);\n"
39472 " while (data != NULL)\n"
39473 "   {\n"
39474 "     if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
39475 "       printf (\"key = %s, data = %p\\n\", key, data);\n"
39476 "     data = guestfs_next_private (g, &key);\n"
39477 "   }\n"
39478 "\n"
39479 msgstr ""
39480
39481 #. type: textblock
39482 #: ../src/guestfs.pod:2158
39483 msgid ""
39484 "If you need to modify keys while walking, then you have to jump back to the "
39485 "beginning of the loop.  For example, to delete all keys prefixed with "
39486 "C<foo_>:"
39487 msgstr ""
39488
39489 #. type: verbatim
39490 #: ../src/guestfs.pod:2162
39491 #, no-wrap
39492 msgid ""
39493 "  const char *key;\n"
39494 "  void *data;\n"
39495 " again:\n"
39496 "  data = guestfs_first_private (g, &key);\n"
39497 "  while (data != NULL)\n"
39498 "    {\n"
39499 "      if (strncmp (key, \"foo_\", strlen (\"foo_\")) == 0)\n"
39500 "        {\n"
39501 "          guestfs_set_private (g, key, NULL);\n"
39502 "          /* note that 'key' pointer is now invalid, and so is\n"
39503 "             the internal iterator */\n"
39504 "          goto again;\n"
39505 "        }\n"
39506 "      data = guestfs_next_private (g, &key);\n"
39507 "    }\n"
39508 "\n"
39509 msgstr ""
39510
39511 #. type: textblock
39512 #: ../src/guestfs.pod:2178
39513 msgid ""
39514 "Note that the above loop is guaranteed to terminate because the keys are "
39515 "being deleted, but other manipulations of keys within the loop might not "
39516 "terminate unless you also maintain an indication of which keys have been "
39517 "visited."
39518 msgstr ""
39519
39520 #. type: =head1
39521 #: ../src/guestfs.pod:2183
39522 msgid "SYSTEMTAP"
39523 msgstr ""
39524
39525 #. type: textblock
39526 #: ../src/guestfs.pod:2185
39527 msgid ""
39528 "The libguestfs C library can be probed using systemtap or DTrace.  This is "
39529 "true of any library, not just libguestfs.  However libguestfs also contains "
39530 "static markers to help in probing internal operations."
39531 msgstr ""
39532
39533 #. type: textblock
39534 #: ../src/guestfs.pod:2189
39535 msgid "You can list all the static markers by doing:"
39536 msgstr ""
39537
39538 #. type: verbatim
39539 #: ../src/guestfs.pod:2191
39540 #, no-wrap
39541 msgid ""
39542 " stap -l 'process(\"/usr/lib*/libguestfs.so.0\")\n"
39543 "              .provider(\"guestfs\").mark(\"*\")'\n"
39544 "\n"
39545 msgstr ""
39546
39547 #. type: textblock
39548 #: ../src/guestfs.pod:2194
39549 msgid ""
39550 "B<Note:> These static markers are I<not> part of the stable API and may "
39551 "change in future versions."
39552 msgstr ""
39553
39554 #. type: =head2
39555 #: ../src/guestfs.pod:2197
39556 msgid "SYSTEMTAP SCRIPT EXAMPLE"
39557 msgstr ""
39558
39559 #. type: textblock
39560 #: ../src/guestfs.pod:2199
39561 msgid ""
39562 "This script contains examples of displaying both the static markers and some "
39563 "ordinary C entry points:"
39564 msgstr ""
39565
39566 #. type: verbatim
39567 #: ../src/guestfs.pod:2202
39568 #, no-wrap
39569 msgid ""
39570 " global last;\n"
39571 " \n"
39572 msgstr ""
39573
39574 #. type: verbatim
39575 #: ../src/guestfs.pod:2204
39576 #, no-wrap
39577 msgid ""
39578 " function display_time () {\n"
39579 "       now = gettimeofday_us ();\n"
39580 "       delta = 0;\n"
39581 "       if (last > 0)\n"
39582 "             delta = now - last;\n"
39583 "       last = now;\n"
39584 " \n"
39585 msgstr ""
39586
39587 #. type: verbatim
39588 #: ../src/guestfs.pod:2211
39589 #, no-wrap
39590 msgid ""
39591 "       printf (\"%d (+%d):\", now, delta);\n"
39592 " }\n"
39593 " \n"
39594 msgstr ""
39595
39596 #. type: verbatim
39597 #: ../src/guestfs.pod:2214
39598 #, no-wrap
39599 msgid ""
39600 " probe begin {\n"
39601 "       last = 0;\n"
39602 "       printf (\"ready\\n\");\n"
39603 " }\n"
39604 " \n"
39605 msgstr ""
39606
39607 #. type: verbatim
39608 #: ../src/guestfs.pod:2219
39609 #, no-wrap
39610 msgid ""
39611 " /* Display all calls to static markers. */\n"
39612 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
39613 "           .provider(\"guestfs\").mark(\"*\") ? {\n"
39614 "       display_time();\n"
39615 "       printf (\"\\t%s %s\\n\", $$name, $$parms);\n"
39616 " }\n"
39617 " \n"
39618 msgstr ""
39619
39620 #. type: verbatim
39621 #: ../src/guestfs.pod:2226
39622 #, no-wrap
39623 msgid ""
39624 " /* Display all calls to guestfs_mkfs* functions. */\n"
39625 " probe process(\"/usr/lib*/libguestfs.so.0\")\n"
39626 "           .function(\"guestfs_mkfs*\") ? {\n"
39627 "       display_time();\n"
39628 "       printf (\"\\t%s %s\\n\", probefunc(), $$parms);\n"
39629 " }\n"
39630 "\n"
39631 msgstr ""
39632
39633 #. type: textblock
39634 #: ../src/guestfs.pod:2233
39635 msgid ""
39636 "The script above can be saved to C<test.stap> and run using the L<stap(1)> "
39637 "program.  Note that you either have to be root, or you have to add yourself "
39638 "to several special stap groups.  Consult the systemtap documentation for "
39639 "more information."
39640 msgstr ""
39641
39642 #. type: verbatim
39643 #: ../src/guestfs.pod:2238
39644 #, no-wrap
39645 msgid ""
39646 " # stap /tmp/test.stap\n"
39647 " ready\n"
39648 "\n"
39649 msgstr ""
39650
39651 #. type: textblock
39652 #: ../src/guestfs.pod:2241
39653 msgid "In another terminal, run a guestfish command such as this:"
39654 msgstr ""
39655
39656 #. type: textblock
39657 #: ../src/guestfs.pod:2245
39658 msgid "In the first terminal, stap trace output similar to this is shown:"
39659 msgstr ""
39660
39661 #. type: verbatim
39662 #: ../src/guestfs.pod:2247
39663 #, no-wrap
39664 msgid ""
39665 " 1318248056692655 (+0):\tlaunch_start\n"
39666 " 1318248056692850 (+195):       launch_build_appliance_start\n"
39667 " 1318248056818285 (+125435):    launch_build_appliance_end\n"
39668 " 1318248056838059 (+19774):     launch_run_qemu\n"
39669 " 1318248061071167 (+4233108):   launch_end\n"
39670 " 1318248061280324 (+209157):    guestfs_mkfs g=0x1024ab0 fstype=0x46116f device=0x1024e60\n"
39671 "\n"
39672 msgstr ""
39673
39674 #. type: =end
39675 #: ../src/guestfs.pod:2254 ../src/guestfs.pod:2259
39676 msgid "html"
39677 msgstr "html"
39678
39679 #. type: textblock
39680 #: ../src/guestfs.pod:2256
39681 msgid ""
39682 "<!-- old anchor for the next section --> <a name="
39683 "\"state_machine_and_low_level_event_api\"/>"
39684 msgstr ""
39685 "<!-- old anchor for the next section --> <a name="
39686 "\"state_machine_and_low_level_event_api\"/>"
39687
39688 #. type: =head1
39689 #: ../src/guestfs.pod:2261
39690 msgid "ARCHITECTURE"
39691 msgstr "АРХІТЕКТУРА"
39692
39693 #. type: textblock
39694 #: ../src/guestfs.pod:2263
39695 msgid ""
39696 "Internally, libguestfs is implemented by running an appliance (a special "
39697 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
39698 "process of the main program."
39699 msgstr ""
39700
39701 #. type: verbatim
39702 #: ../src/guestfs.pod:2267
39703 #, no-wrap
39704 msgid ""
39705 "  ___________________\n"
39706 " /                   \\\n"
39707 " | main program      |\n"
39708 " |                   |\n"
39709 " |                   |           child process / appliance\n"
39710 " |                   |           __________________________\n"
39711 " |                   |          / qemu                     \\\n"
39712 " +-------------------+   RPC    |      +-----------------+ |\n"
39713 " | libguestfs     <--------------------> guestfsd        | |\n"
39714 " |                   |          |      +-----------------+ |\n"
39715 " \\___________________/          |      | Linux kernel    | |\n"
39716 "                                |      +--^--------------+ |\n"
39717 "                                \\_________|________________/\n"
39718 "                                          |\n"
39719 "                                   _______v______\n"
39720 "                                  /              \\\n"
39721 "                                  | Device or    |\n"
39722 "                                  | disk image   |\n"
39723 "                                  \\______________/\n"
39724 "\n"
39725 msgstr ""
39726
39727 #. type: textblock
39728 #: ../src/guestfs.pod:2287
39729 msgid ""
39730 "The library, linked to the main program, creates the child process and hence "
39731 "the appliance in the L</guestfs_launch> function."
39732 msgstr ""
39733
39734 #. type: textblock
39735 #: ../src/guestfs.pod:2290
39736 msgid ""
39737 "Inside the appliance is a Linux kernel and a complete stack of userspace "
39738 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
39739 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
39740 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
39741 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
39742 "attached to the qemu process which translates device access by the "
39743 "appliance's Linux kernel into accesses to the image."
39744 msgstr ""
39745
39746 #. type: textblock
39747 #: ../src/guestfs.pod:2299
39748 msgid ""
39749 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
39750 "Although the disk image you are attached to might also be used by some "
39751 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
39752 "care if both libguestfs's qemu process and your virtual machine are trying "
39753 "to update the disk image at the same time, since these usually results in "
39754 "massive disk corruption)."
39755 msgstr ""
39756
39757 #. type: =head1
39758 #: ../src/guestfs.pod:2306
39759 msgid "STATE MACHINE"
39760 msgstr "СКІНЧЕННИЙ АВТОМАТ"
39761
39762 #. type: textblock
39763 #: ../src/guestfs.pod:2308
39764 msgid "libguestfs uses a state machine to model the child process:"
39765 msgstr ""
39766
39767 #. type: verbatim
39768 #: ../src/guestfs.pod:2310
39769 #, no-wrap
39770 msgid ""
39771 "                         |\n"
39772 "                    guestfs_create\n"
39773 "                         |\n"
39774 "                         |\n"
39775 "                     ____V_____\n"
39776 "                    /          \\\n"
39777 "                    |  CONFIG  |\n"
39778 "                    \\__________/\n"
39779 "                     ^ ^   ^  \\\n"
39780 "                    /  |    \\  \\ guestfs_launch\n"
39781 "                   /   |    _\\__V______\n"
39782 "                  /    |   /           \\\n"
39783 "                 /     |   | LAUNCHING |\n"
39784 "                /      |   \\___________/\n"
39785 "               /       |       /\n"
39786 "              /        |  guestfs_launch\n"
39787 "             /         |     /\n"
39788 "    ______  /        __|____V\n"
39789 "   /      \\ ------> /        \\\n"
39790 "   | BUSY |         | READY  |\n"
39791 "   \\______/ <------ \\________/\n"
39792 "\n"
39793 msgstr ""
39794
39795 #. type: textblock
39796 #: ../src/guestfs.pod:2332
39797 msgid ""
39798 "The normal transitions are (1) CONFIG (when the handle is created, but there "
39799 "is no child process), (2) LAUNCHING (when the child process is booting up), "
39800 "(3) alternating between READY and BUSY as commands are issued to, and "
39801 "carried out by, the child process."
39802 msgstr ""
39803
39804 #. type: textblock
39805 #: ../src/guestfs.pod:2337
39806 msgid ""
39807 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
39808 "asynchronously at any time (eg. due to some internal error), and that causes "
39809 "the state to transition back to CONFIG."
39810 msgstr ""
39811
39812 #. type: textblock
39813 #: ../src/guestfs.pod:2341
39814 msgid ""
39815 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
39816 "issued when in the CONFIG state."
39817 msgstr ""
39818
39819 #. type: textblock
39820 #: ../src/guestfs.pod:2344
39821 msgid ""
39822 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
39823 "L</guestfs_launch> blocks until the child process is READY to accept "
39824 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
39825 "moves the state from CONFIG to LAUNCHING while it is running."
39826 msgstr ""
39827
39828 #. type: textblock
39829 #: ../src/guestfs.pod:2350
39830 msgid ""
39831 "API actions such as L</guestfs_mount> can only be issued when in the READY "
39832 "state.  These API calls block waiting for the command to be carried out (ie. "
39833 "the state to transition to BUSY and then back to READY).  There are no non-"
39834 "blocking versions, and no way to issue more than one command per handle at "
39835 "the same time."
39836 msgstr ""
39837
39838 #. type: textblock
39839 #: ../src/guestfs.pod:2356
39840 msgid ""
39841 "Finally, the child process sends asynchronous messages back to the main "
39842 "program, such as kernel log messages.  You can register a callback to "
39843 "receive these messages."
39844 msgstr ""
39845
39846 #. type: =head1
39847 #: ../src/guestfs.pod:2360
39848 msgid "INTERNALS"
39849 msgstr ""
39850
39851 #. type: =head2
39852 #: ../src/guestfs.pod:2362
39853 msgid "APPLIANCE BOOT PROCESS"
39854 msgstr ""
39855
39856 #. type: textblock
39857 #: ../src/guestfs.pod:2364
39858 msgid ""
39859 "This process has evolved and continues to evolve.  The description here "
39860 "corresponds only to the current version of libguestfs and is provided for "
39861 "information only."
39862 msgstr ""
39863
39864 #. type: textblock
39865 #: ../src/guestfs.pod:2368
39866 msgid ""
39867 "In order to follow the stages involved below, enable libguestfs debugging "
39868 "(set the environment variable C<LIBGUESTFS_DEBUG=1>)."
39869 msgstr ""
39870
39871 #. type: =item
39872 #: ../src/guestfs.pod:2373
39873 msgid "Create the appliance"
39874 msgstr ""
39875
39876 #. type: textblock
39877 #: ../src/guestfs.pod:2375
39878 msgid ""
39879 "C<febootstrap-supermin-helper> is invoked to create the kernel, a small "
39880 "initrd and the appliance."
39881 msgstr ""
39882
39883 #. type: textblock
39884 #: ../src/guestfs.pod:2378
39885 msgid ""
39886 "The appliance is cached in C</var/tmp/.guestfs-E<lt>UIDE<gt>> (or in another "
39887 "directory if C<TMPDIR> is set)."
39888 msgstr ""
39889
39890 #. type: textblock
39891 #: ../src/guestfs.pod:2381
39892 msgid ""
39893 "For a complete description of how the appliance is created and cached, read "
39894 "the L<febootstrap(8)> and L<febootstrap-supermin-helper(8)> man pages."
39895 msgstr ""
39896
39897 #. type: =item
39898 #: ../src/guestfs.pod:2385
39899 msgid "Start qemu and boot the kernel"
39900 msgstr ""
39901
39902 #. type: textblock
39903 #: ../src/guestfs.pod:2387
39904 msgid "qemu is invoked to boot the kernel."
39905 msgstr ""
39906
39907 #. type: =item
39908 #: ../src/guestfs.pod:2389
39909 msgid "Run the initrd"
39910 msgstr ""
39911
39912 #. type: textblock
39913 #: ../src/guestfs.pod:2391
39914 msgid ""
39915 "C<febootstrap-supermin-helper> builds a small initrd.  The initrd is not the "
39916 "appliance.  The purpose of the initrd is to load enough kernel modules in "
39917 "order that the appliance itself can be mounted and started."
39918 msgstr ""
39919
39920 #. type: textblock
39921 #: ../src/guestfs.pod:2395
39922 msgid ""
39923 "The initrd is a cpio archive called C</var/tmp/.guestfs-E<lt>UIDE<gt>/"
39924 "initrd>."
39925 msgstr ""
39926
39927 #. type: textblock
39928 #: ../src/guestfs.pod:2398
39929 msgid ""
39930 "When the initrd has started you will see messages showing that kernel "
39931 "modules are being loaded, similar to this:"
39932 msgstr ""
39933
39934 #. type: verbatim
39935 #: ../src/guestfs.pod:2401
39936 #, no-wrap
39937 msgid ""
39938 " febootstrap: ext2 mini initrd starting up\n"
39939 " febootstrap: mounting /sys\n"
39940 " febootstrap: internal insmod libcrc32c.ko\n"
39941 " febootstrap: internal insmod crc32c-intel.ko\n"
39942 "\n"
39943 msgstr ""
39944
39945 #. type: =item
39946 #: ../src/guestfs.pod:2406
39947 msgid "Find and mount the appliance device"
39948 msgstr ""
39949
39950 #. type: textblock
39951 #: ../src/guestfs.pod:2408
39952 msgid ""
39953 "The appliance is a sparse file containing an ext2 filesystem which contains "
39954 "a familiar (although reduced in size) Linux operating system.  It would "
39955 "normally be called C</var/tmp/.guestfs-E<lt>UIDE<gt>/root>."
39956 msgstr ""
39957
39958 #. type: textblock
39959 #: ../src/guestfs.pod:2412
39960 msgid ""
39961 "The regular disks being inspected by libguestfs are the first devices "
39962 "exposed by qemu (eg. as C</dev/vda>)."
39963 msgstr ""
39964
39965 #. type: textblock
39966 #: ../src/guestfs.pod:2415
39967 msgid ""
39968 "The last disk added to qemu is the appliance itself (eg. C</dev/vdb> if "
39969 "there was only one regular disk)."
39970 msgstr ""
39971
39972 #. type: textblock
39973 #: ../src/guestfs.pod:2418
39974 msgid ""
39975 "Thus the final job of the initrd is to locate the appliance disk, mount it, "
39976 "and switch root into the appliance, and run C</init> from the appliance."
39977 msgstr ""
39978
39979 #. type: textblock
39980 #: ../src/guestfs.pod:2422
39981 msgid "If this works successfully you will see messages such as:"
39982 msgstr ""
39983
39984 #. type: verbatim
39985 #: ../src/guestfs.pod:2424
39986 #, no-wrap
39987 msgid ""
39988 " febootstrap: picked /sys/block/vdb/dev as root device\n"
39989 " febootstrap: creating /dev/root as block special 252:16\n"
39990 " febootstrap: mounting new root on /root\n"
39991 " febootstrap: chroot\n"
39992 " Starting /init script ...\n"
39993 "\n"
39994 msgstr ""
39995
39996 #. type: textblock
39997 #: ../src/guestfs.pod:2430
39998 msgid ""
39999 "Note that C<Starting /init script ...> indicates that the appliance's init "
40000 "script is now running."
40001 msgstr ""
40002
40003 #. type: =item
40004 #: ../src/guestfs.pod:2433
40005 msgid "Initialize the appliance"
40006 msgstr ""
40007
40008 #. type: textblock
40009 #: ../src/guestfs.pod:2435
40010 msgid ""
40011 "The appliance itself now initializes itself.  This involves starting certain "
40012 "processes like C<udev>, possibly printing some debug information, and "
40013 "finally running the daemon (C<guestfsd>)."
40014 msgstr ""
40015
40016 #. type: =item
40017 #: ../src/guestfs.pod:2439
40018 msgid "The daemon"
40019 msgstr ""
40020
40021 #. type: textblock
40022 #: ../src/guestfs.pod:2441
40023 msgid ""
40024 "Finally the daemon (C<guestfsd>) runs inside the appliance.  If it runs you "
40025 "should see:"
40026 msgstr ""
40027
40028 #. type: verbatim
40029 #: ../src/guestfs.pod:2444
40030 #, no-wrap
40031 msgid ""
40032 " verbose daemon enabled\n"
40033 "\n"
40034 msgstr ""
40035
40036 #. type: textblock
40037 #: ../src/guestfs.pod:2446
40038 msgid ""
40039 "The daemon expects to see a named virtio-serial port exposed by qemu and "
40040 "connected on the other end to the library."
40041 msgstr ""
40042
40043 #. type: textblock
40044 #: ../src/guestfs.pod:2449
40045 msgid ""
40046 "The daemon connects to this port (and hence to the library) and sends a four "
40047 "byte message C<GUESTFS_LAUNCH_FLAG>, which initiates the communication "
40048 "protocol (see below)."
40049 msgstr ""
40050
40051 #. type: =head2
40052 #: ../src/guestfs.pod:2455
40053 msgid "COMMUNICATION PROTOCOL"
40054 msgstr ""
40055
40056 #. type: textblock
40057 #: ../src/guestfs.pod:2457
40058 msgid ""
40059 "Don't rely on using this protocol directly.  This section documents how it "
40060 "currently works, but it may change at any time."
40061 msgstr ""
40062
40063 #. type: textblock
40064 #: ../src/guestfs.pod:2460
40065 msgid ""
40066 "The protocol used to talk between the library and the daemon running inside "
40067 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
40068 "1014, RFC 1832, RFC 4506)."
40069 msgstr ""
40070
40071 #. type: textblock
40072 #: ../src/guestfs.pod:2464
40073 msgid ""
40074 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
40075 "this file is automatically generated)."
40076 msgstr ""
40077
40078 #. type: textblock
40079 #: ../src/guestfs.pod:2467
40080 msgid ""
40081 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
40082 "and C<FileOut> parameters, which are handled with very simple request/reply "
40083 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
40084 "parameters, which use the same request and reply messages, but they may also "
40085 "be followed by files sent using a chunked encoding."
40086 msgstr ""
40087
40088 #. type: =head3
40089 #: ../src/guestfs.pod:2474
40090 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
40091 msgstr ""
40092
40093 #. type: textblock
40094 #: ../src/guestfs.pod:2476
40095 msgid "For ordinary functions, the request message is:"
40096 msgstr ""
40097
40098 #. type: verbatim
40099 #: ../src/guestfs.pod:2478
40100 #, no-wrap
40101 msgid ""
40102 " total length (header + arguments,\n"
40103 "      but not including the length word itself)\n"
40104 " struct guestfs_message_header (encoded as XDR)\n"
40105 " struct guestfs_<foo>_args (encoded as XDR)\n"
40106 "\n"
40107 msgstr ""
40108
40109 #. type: textblock
40110 #: ../src/guestfs.pod:2483
40111 msgid ""
40112 "The total length field allows the daemon to allocate a fixed size buffer "
40113 "into which it slurps the rest of the message.  As a result, the total length "
40114 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
40115 "effective size of any request is limited to somewhere under this size."
40116 msgstr ""
40117
40118 #. type: textblock
40119 #: ../src/guestfs.pod:2489
40120 msgid ""
40121 "Note also that many functions don't take any arguments, in which case the "
40122 "C<guestfs_I<foo>_args> is completely omitted."
40123 msgstr ""
40124
40125 #. type: textblock
40126 #: ../src/guestfs.pod:2492
40127 msgid ""
40128 "The header contains the procedure number (C<guestfs_proc>) which is how the "
40129 "receiver knows what type of args structure to expect, or none at all."
40130 msgstr ""
40131
40132 #. type: textblock
40133 #: ../src/guestfs.pod:2496
40134 msgid ""
40135 "For functions that take optional arguments, the optional arguments are "
40136 "encoded in the C<guestfs_I<foo>_args> structure in the same way as ordinary "
40137 "arguments.  A bitmask in the header indicates which optional arguments are "
40138 "meaningful.  The bitmask is also checked to see if it contains bits set "
40139 "which the daemon does not know about (eg. if more optional arguments were "
40140 "added in a later version of the library), and this causes the call to be "
40141 "rejected."
40142 msgstr ""
40143
40144 #. type: textblock
40145 #: ../src/guestfs.pod:2504
40146 msgid "The reply message for ordinary functions is:"
40147 msgstr ""
40148
40149 #. type: verbatim
40150 #: ../src/guestfs.pod:2506
40151 #, no-wrap
40152 msgid ""
40153 " total length (header + ret,\n"
40154 "      but not including the length word itself)\n"
40155 " struct guestfs_message_header (encoded as XDR)\n"
40156 " struct guestfs_<foo>_ret (encoded as XDR)\n"
40157 "\n"
40158 msgstr ""
40159
40160 #. type: textblock
40161 #: ../src/guestfs.pod:2511
40162 msgid ""
40163 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
40164 "functions that return no formal return values."
40165 msgstr ""
40166
40167 #. type: textblock
40168 #: ../src/guestfs.pod:2514
40169 msgid ""
40170 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
40171 msgstr ""
40172
40173 #. type: textblock
40174 #: ../src/guestfs.pod:2517
40175 msgid ""
40176 "In the case of an error, a flag is set in the header, and the reply message "
40177 "is slightly changed:"
40178 msgstr ""
40179
40180 #. type: verbatim
40181 #: ../src/guestfs.pod:2520
40182 #, no-wrap
40183 msgid ""
40184 " total length (header + error,\n"
40185 "      but not including the length word itself)\n"
40186 " struct guestfs_message_header (encoded as XDR)\n"
40187 " struct guestfs_message_error (encoded as XDR)\n"
40188 "\n"
40189 msgstr ""
40190
40191 #. type: textblock
40192 #: ../src/guestfs.pod:2525
40193 msgid ""
40194 "The C<guestfs_message_error> structure contains the error message as a "
40195 "string."
40196 msgstr ""
40197
40198 #. type: =head3
40199 #: ../src/guestfs.pod:2528
40200 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
40201 msgstr ""
40202
40203 #. type: textblock
40204 #: ../src/guestfs.pod:2530
40205 msgid ""
40206 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
40207 "The normal request message is sent (see above).  However this is followed by "
40208 "a sequence of file chunks."
40209 msgstr ""
40210
40211 #. type: verbatim
40212 #: ../src/guestfs.pod:2534
40213 #, no-wrap
40214 msgid ""
40215 " total length (header + arguments,\n"
40216 "      but not including the length word itself,\n"
40217 "      and not including the chunks)\n"
40218 " struct guestfs_message_header (encoded as XDR)\n"
40219 " struct guestfs_<foo>_args (encoded as XDR)\n"
40220 " sequence of chunks for FileIn param #0\n"
40221 " sequence of chunks for FileIn param #1 etc.\n"
40222 "\n"
40223 msgstr ""
40224
40225 #. type: textblock
40226 #: ../src/guestfs.pod:2542
40227 msgid "The \"sequence of chunks\" is:"
40228 msgstr ""
40229
40230 #. type: verbatim
40231 #: ../src/guestfs.pod:2544
40232 #, no-wrap
40233 msgid ""
40234 " length of chunk (not including length word itself)\n"
40235 " struct guestfs_chunk (encoded as XDR)\n"
40236 " length of chunk\n"
40237 " struct guestfs_chunk (encoded as XDR)\n"
40238 "   ...\n"
40239 " length of chunk\n"
40240 " struct guestfs_chunk (with data.data_len == 0)\n"
40241 "\n"
40242 msgstr ""
40243
40244 #. type: textblock
40245 #: ../src/guestfs.pod:2552
40246 msgid ""
40247 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
40248 "is set in the final chunk to indicate either successful completion or early "
40249 "cancellation."
40250 msgstr ""
40251
40252 #. type: textblock
40253 #: ../src/guestfs.pod:2556
40254 msgid ""
40255 "At time of writing there are no functions that have more than one FileIn "
40256 "parameter.  However this is (theoretically) supported, by sending the "
40257 "sequence of chunks for each FileIn parameter one after another (from left to "
40258 "right)."
40259 msgstr ""
40260
40261 #. type: textblock
40262 #: ../src/guestfs.pod:2561
40263 msgid ""
40264 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
40265 "transfer.  The library does this by sending a chunk with a special flag set "
40266 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
40267 "RPC, does I<not> send any reply, and goes back to reading the next request."
40268 msgstr ""
40269
40270 #. type: textblock
40271 #: ../src/guestfs.pod:2567
40272 msgid ""
40273 "The daemon may also cancel.  It does this by writing a special word "
40274 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
40275 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
40276 "cancel chunk).  The special word is chosen so that even if cancellation "
40277 "happens right at the end of the transfer (after the library has finished "
40278 "writing and has started listening for the reply), the \"spurious\" cancel "
40279 "flag will not be confused with the reply message."
40280 msgstr ""
40281
40282 #. type: textblock
40283 #: ../src/guestfs.pod:2576
40284 msgid ""
40285 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
40286 "limit), and also files where the size is not known in advance (eg. from "
40287 "pipes or sockets).  However the chunks are rather small "
40288 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
40289 "to keep much in memory."
40290 msgstr ""
40291
40292 #. type: =head3
40293 #: ../src/guestfs.pod:2582
40294 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
40295 msgstr ""
40296
40297 #. type: textblock
40298 #: ../src/guestfs.pod:2584
40299 msgid ""
40300 "The protocol for FileOut parameters is exactly the same as for FileIn "
40301 "parameters, but with the roles of daemon and library reversed."
40302 msgstr ""
40303
40304 #. type: verbatim
40305 #: ../src/guestfs.pod:2587
40306 #, no-wrap
40307 msgid ""
40308 " total length (header + ret,\n"
40309 "      but not including the length word itself,\n"
40310 "      and not including the chunks)\n"
40311 " struct guestfs_message_header (encoded as XDR)\n"
40312 " struct guestfs_<foo>_ret (encoded as XDR)\n"
40313 " sequence of chunks for FileOut param #0\n"
40314 " sequence of chunks for FileOut param #1 etc.\n"
40315 "\n"
40316 msgstr ""
40317
40318 #. type: =head3
40319 #: ../src/guestfs.pod:2595
40320 msgid "INITIAL MESSAGE"
40321 msgstr ""
40322
40323 #. type: textblock
40324 #: ../src/guestfs.pod:2597
40325 msgid ""
40326 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
40327 "which indicates that the guest and daemon is alive.  This is what L</"
40328 "guestfs_launch> waits for."
40329 msgstr ""
40330
40331 #. type: =head3
40332 #: ../src/guestfs.pod:2601
40333 msgid "PROGRESS NOTIFICATION MESSAGES"
40334 msgstr ""
40335
40336 #. type: textblock
40337 #: ../src/guestfs.pod:2603
40338 msgid ""
40339 "The daemon may send progress notification messages at any time.  These are "
40340 "distinguished by the normal length word being replaced by "
40341 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
40342 msgstr ""
40343
40344 #. type: textblock
40345 #: ../src/guestfs.pod:2607
40346 msgid ""
40347 "The library turns them into progress callbacks (see L</"
40348 "GUESTFS_EVENT_PROGRESS>) if there is a callback registered, or discards them "
40349 "if not."
40350 msgstr ""
40351
40352 #. type: textblock
40353 #: ../src/guestfs.pod:2611
40354 msgid ""
40355 "The daemon self-limits the frequency of progress messages it sends (see "
40356 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
40357 "messages."
40358 msgstr ""
40359
40360 #. type: =head1
40361 #: ../src/guestfs.pod:2615
40362 msgid "LIBGUESTFS VERSION NUMBERS"
40363 msgstr ""
40364
40365 #. type: textblock
40366 #: ../src/guestfs.pod:2617
40367 msgid ""
40368 "Since April 2010, libguestfs has started to make separate development and "
40369 "stable releases, along with corresponding branches in our git repository.  "
40370 "These separate releases can be identified by version number:"
40371 msgstr ""
40372
40373 #. type: verbatim
40374 #: ../src/guestfs.pod:2622
40375 #, no-wrap
40376 msgid ""
40377 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
40378 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
40379 "       |\n"
40380 "       v\n"
40381 " 1  .  3  .  5\n"
40382 " ^           ^\n"
40383 " |           |\n"
40384 " |           `-------- sub-version\n"
40385 " |\n"
40386 " `------ always '1' because we don't change the ABI\n"
40387 "\n"
40388 msgstr ""
40389
40390 #. type: textblock
40391 #: ../src/guestfs.pod:2633
40392 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
40393 msgstr ""
40394
40395 #. type: textblock
40396 #: ../src/guestfs.pod:2635
40397 msgid ""
40398 "As time passes we cherry pick fixes from the development branch and backport "
40399 "those into the stable branch, the effect being that the stable branch should "
40400 "get more stable and less buggy over time.  So the stable releases are ideal "
40401 "for people who don't need new features but would just like the software to "
40402 "work."
40403 msgstr ""
40404
40405 #. type: textblock
40406 #: ../src/guestfs.pod:2641
40407 msgid "Our criteria for backporting changes are:"
40408 msgstr ""
40409
40410 #. type: textblock
40411 #: ../src/guestfs.pod:2647
40412 msgid ""
40413 "Documentation changes which don't affect any code are backported unless the "
40414 "documentation refers to a future feature which is not in stable."
40415 msgstr ""
40416
40417 #. type: textblock
40418 #: ../src/guestfs.pod:2653
40419 msgid ""
40420 "Bug fixes which are not controversial, fix obvious problems, and have been "
40421 "well tested are backported."
40422 msgstr ""
40423
40424 #. type: textblock
40425 #: ../src/guestfs.pod:2658
40426 msgid ""
40427 "Simple rearrangements of code which shouldn't affect how it works get "
40428 "backported.  This is so that the code in the two branches doesn't get too "
40429 "far out of step, allowing us to backport future fixes more easily."
40430 msgstr ""
40431
40432 #. type: textblock
40433 #: ../src/guestfs.pod:2664
40434 msgid ""
40435 "We I<don't> backport new features, new APIs, new tools etc, except in one "
40436 "exceptional case: the new feature is required in order to implement an "
40437 "important bug fix."
40438 msgstr ""
40439
40440 #. type: textblock
40441 #: ../src/guestfs.pod:2670
40442 msgid ""
40443 "A new stable branch starts when we think the new features in development are "
40444 "substantial and compelling enough over the current stable branch to warrant "
40445 "it.  When that happens we create new stable and development versions 1.N.0 "
40446 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
40447 "stable at this point, but by backporting fixes from development, that branch "
40448 "will stabilize over time."
40449 msgstr ""
40450
40451 #. type: =head1
40452 #: ../src/guestfs.pod:2678
40453 msgid "EXTENDING LIBGUESTFS"
40454 msgstr ""
40455
40456 #. type: =head2
40457 #: ../src/guestfs.pod:2680
40458 msgid "ADDING A NEW API ACTION"
40459 msgstr ""
40460
40461 #. type: textblock
40462 #: ../src/guestfs.pod:2682
40463 msgid ""
40464 "Large amounts of boilerplate code in libguestfs (RPC, bindings, "
40465 "documentation) are generated, and this makes it easy to extend the "
40466 "libguestfs API."
40467 msgstr ""
40468
40469 #. type: textblock
40470 #: ../src/guestfs.pod:2686
40471 msgid "To add a new API action there are two changes:"
40472 msgstr ""
40473
40474 #. type: textblock
40475 #: ../src/guestfs.pod:2692
40476 msgid ""
40477 "You need to add a description of the call (name, parameters, return type, "
40478 "tests, documentation) to C<generator/generator_actions.ml>."
40479 msgstr ""
40480
40481 #. type: textblock
40482 #: ../src/guestfs.pod:2695
40483 msgid ""
40484 "There are two sorts of API action, depending on whether the call goes "
40485 "through to the daemon in the appliance, or is serviced entirely by the "
40486 "library (see L</ARCHITECTURE> above).  L</guestfs_sync> is an example of the "
40487 "former, since the sync is done in the appliance.  L</guestfs_set_trace> is "
40488 "an example of the latter, since a trace flag is maintained in the handle and "
40489 "all tracing is done on the library side."
40490 msgstr ""
40491
40492 #. type: textblock
40493 #: ../src/guestfs.pod:2703
40494 msgid ""
40495 "Most new actions are of the first type, and get added to the "
40496 "C<daemon_functions> list.  Each function has a unique procedure number used "
40497 "in the RPC protocol which is assigned to that action when we publish "
40498 "libguestfs and cannot be reused.  Take the latest procedure number and "
40499 "increment it."
40500 msgstr ""
40501
40502 #. type: textblock
40503 #: ../src/guestfs.pod:2709
40504 msgid ""
40505 "For library-only actions of the second type, add to the "
40506 "C<non_daemon_functions> list.  Since these functions are serviced by the "
40507 "library and do not travel over the RPC mechanism to the daemon, these "
40508 "functions do not need a procedure number, and so the procedure number is set "
40509 "to C<-1>."
40510 msgstr ""
40511
40512 #. type: textblock
40513 #: ../src/guestfs.pod:2717
40514 msgid "Implement the action (in C):"
40515 msgstr ""
40516
40517 #. type: textblock
40518 #: ../src/guestfs.pod:2719
40519 msgid ""
40520 "For daemon actions, implement the function C<do_E<lt>nameE<gt>> in the "
40521 "C<daemon/> directory."
40522 msgstr ""
40523
40524 #. type: textblock
40525 #: ../src/guestfs.pod:2722
40526 msgid ""
40527 "For library actions, implement the function C<guestfs__E<lt>nameE<gt>> "
40528 "(note: double underscore) in the C<src/> directory."
40529 msgstr ""
40530
40531 #. type: textblock
40532 #: ../src/guestfs.pod:2725
40533 msgid "In either case, use another function as an example of what to do."
40534 msgstr ""
40535
40536 #. type: textblock
40537 #: ../src/guestfs.pod:2729
40538 msgid "After making these changes, use C<make> to compile."
40539 msgstr ""
40540
40541 #. type: textblock
40542 #: ../src/guestfs.pod:2731
40543 msgid ""
40544 "Note that you don't need to implement the RPC, language bindings, manual "
40545 "pages or anything else.  It's all automatically generated from the OCaml "
40546 "description."
40547 msgstr ""
40548
40549 #. type: =head2
40550 #: ../src/guestfs.pod:2735
40551 msgid "ADDING TESTS FOR AN API ACTION"
40552 msgstr ""
40553
40554 #. type: textblock
40555 #: ../src/guestfs.pod:2737
40556 msgid ""
40557 "You can supply zero or as many tests as you want per API call.  The tests "
40558 "can either be added as part of the API description (C<generator/"
40559 "generator_actions.ml>), or in some rarer cases you may want to drop a script "
40560 "into C<regressions/>.  Note that adding a script to C<regressions/> is "
40561 "slower, so if possible use the first method."
40562 msgstr ""
40563
40564 #. type: textblock
40565 #: ../src/guestfs.pod:2743
40566 msgid ""
40567 "The following describes the test environment used when you add an API test "
40568 "in C<generator_actions.ml>."
40569 msgstr ""
40570
40571 #. type: textblock
40572 #: ../src/guestfs.pod:2746
40573 msgid "The test environment has 4 block devices:"
40574 msgstr ""
40575
40576 #. type: =item
40577 #: ../src/guestfs.pod:2750
40578 msgid "C</dev/sda> 500MB"
40579 msgstr "C</dev/sda> 500 МБ"
40580
40581 #. type: textblock
40582 #: ../src/guestfs.pod:2752
40583 msgid "General block device for testing."
40584 msgstr ""
40585
40586 #. type: =item
40587 #: ../src/guestfs.pod:2754
40588 msgid "C</dev/sdb> 50MB"
40589 msgstr "C</dev/sdb> 50 МБ"
40590
40591 #. type: textblock
40592 #: ../src/guestfs.pod:2756
40593 msgid ""
40594 "C</dev/sdb1> is an ext2 filesystem used for testing filesystem write "
40595 "operations."
40596 msgstr ""
40597
40598 #. type: =item
40599 #: ../src/guestfs.pod:2759
40600 msgid "C</dev/sdc> 10MB"
40601 msgstr "C</dev/sdc> 10 МБ"
40602
40603 #. type: textblock
40604 #: ../src/guestfs.pod:2761
40605 msgid "Used in a few tests where two block devices are needed."
40606 msgstr ""
40607
40608 #. type: =item
40609 #: ../src/guestfs.pod:2763
40610 msgid "C</dev/sdd>"
40611 msgstr "C</dev/sdd>"
40612
40613 #. type: textblock
40614 #: ../src/guestfs.pod:2765
40615 msgid "ISO with fixed content (see C<images/test.iso>)."
40616 msgstr ""
40617
40618 #. type: textblock
40619 #: ../src/guestfs.pod:2769
40620 msgid ""
40621 "To be able to run the tests in a reasonable amount of time, the libguestfs "
40622 "appliance and block devices are reused between tests.  So don't try testing "
40623 "L</guestfs_kill_subprocess> :-x"
40624 msgstr ""
40625
40626 #. type: textblock
40627 #: ../src/guestfs.pod:2773
40628 msgid ""
40629 "Each test starts with an initial scenario, selected using one of the "
40630 "C<Init*> expressions, described in C<generator/generator_types.ml>.  These "
40631 "initialize the disks mentioned above in a particular way as documented in "
40632 "C<generator_types.ml>.  You should not assume anything about the previous "
40633 "contents of other disks that are not initialized."
40634 msgstr ""
40635
40636 #. type: textblock
40637 #: ../src/guestfs.pod:2779
40638 msgid ""
40639 "You can add a prerequisite clause to any individual test.  This is a run-"
40640 "time check, which, if it fails, causes the test to be skipped.  Useful if "
40641 "testing a command which might not work on all variations of libguestfs "
40642 "builds.  A test that has prerequisite of C<Always> means to run "
40643 "unconditionally."
40644 msgstr ""
40645
40646 #. type: textblock
40647 #: ../src/guestfs.pod:2785
40648 msgid ""
40649 "In addition, packagers can skip individual tests by setting environment "
40650 "variables before running C<make check>."
40651 msgstr ""
40652
40653 #. type: verbatim
40654 #: ../src/guestfs.pod:2788
40655 #, no-wrap
40656 msgid ""
40657 " SKIP_TEST_<CMD>_<NUM>=1\n"
40658 "\n"
40659 msgstr ""
40660
40661 #. type: textblock
40662 #: ../src/guestfs.pod:2790
40663 msgid "eg: C<SKIP_TEST_COMMAND_3=1> skips test #3 of L</guestfs_command>."
40664 msgstr ""
40665
40666 #. type: textblock
40667 #: ../src/guestfs.pod:2792
40668 msgid "or:"
40669 msgstr "або:"
40670
40671 #. type: verbatim
40672 #: ../src/guestfs.pod:2794
40673 #, no-wrap
40674 msgid ""
40675 " SKIP_TEST_<CMD>=1\n"
40676 "\n"
40677 msgstr ""
40678
40679 #. type: textblock
40680 #: ../src/guestfs.pod:2796
40681 msgid "eg: C<SKIP_TEST_ZEROFREE=1> skips all L</guestfs_zerofree> tests."
40682 msgstr ""
40683
40684 #. type: textblock
40685 #: ../src/guestfs.pod:2798
40686 msgid "Packagers can run only certain tests by setting for example:"
40687 msgstr ""
40688
40689 #. type: verbatim
40690 #: ../src/guestfs.pod:2800
40691 #, no-wrap
40692 msgid ""
40693 " TEST_ONLY=\"vfs_type zerofree\"\n"
40694 "\n"
40695 msgstr ""
40696
40697 #. type: textblock
40698 #: ../src/guestfs.pod:2802
40699 msgid ""
40700 "See C<capitests/tests.c> for more details of how these environment variables "
40701 "work."
40702 msgstr ""
40703
40704 #. type: =head2
40705 #: ../src/guestfs.pod:2805
40706 msgid "DEBUGGING NEW API ACTIONS"
40707 msgstr ""
40708
40709 #. type: textblock
40710 #: ../src/guestfs.pod:2807
40711 msgid "Test new actions work before submitting them."
40712 msgstr ""
40713
40714 #. type: textblock
40715 #: ../src/guestfs.pod:2809
40716 msgid "You can use guestfish to try out new commands."
40717 msgstr ""
40718
40719 #. type: textblock
40720 #: ../src/guestfs.pod:2811
40721 msgid ""
40722 "Debugging the daemon is a problem because it runs inside a minimal "
40723 "environment.  However you can fprintf messages in the daemon to stderr, and "
40724 "they will show up if you use C<guestfish -v>."
40725 msgstr ""
40726
40727 #. type: =head2
40728 #: ../src/guestfs.pod:2815
40729 msgid "FORMATTING CODE AND OTHER CONVENTIONS"
40730 msgstr ""
40731
40732 #. type: textblock
40733 #: ../src/guestfs.pod:2817
40734 msgid ""
40735 "Our C source code generally adheres to some basic code-formatting "
40736 "conventions.  The existing code base is not totally consistent on this "
40737 "front, but we do prefer that contributed code be formatted similarly.  In "
40738 "short, use spaces-not-TABs for indentation, use 2 spaces for each "
40739 "indentation level, and other than that, follow the K&R style."
40740 msgstr ""
40741
40742 #. type: textblock
40743 #: ../src/guestfs.pod:2823
40744 msgid ""
40745 "If you use Emacs, add the following to one of one of your start-up files (e."
40746 "g., ~/.emacs), to help ensure that you get indentation right:"
40747 msgstr ""
40748
40749 #. type: verbatim
40750 #: ../src/guestfs.pod:2826
40751 #, no-wrap
40752 msgid ""
40753 " ;;; In libguestfs, indent with spaces everywhere (not TABs).\n"
40754 " ;;; Exceptions: Makefile and ChangeLog modes.\n"
40755 " (add-hook 'find-file-hook\n"
40756 "     '(lambda () (if (and buffer-file-name\n"
40757 "                          (string-match \"/libguestfs\\\\>\"\n"
40758 "                              (buffer-file-name))\n"
40759 "                          (not (string-equal mode-name \"Change Log\"))\n"
40760 "                          (not (string-equal mode-name \"Makefile\")))\n"
40761 "                     (setq indent-tabs-mode nil))))\n"
40762 " \n"
40763 msgstr ""
40764
40765 #. type: verbatim
40766 #: ../src/guestfs.pod:2836
40767 #, no-wrap
40768 msgid ""
40769 " ;;; When editing C sources in libguestfs, use this style.\n"
40770 " (defun libguestfs-c-mode ()\n"
40771 "   \"C mode with adjusted defaults for use with libguestfs.\"\n"
40772 "   (interactive)\n"
40773 "   (c-set-style \"K&R\")\n"
40774 "   (setq c-indent-level 2)\n"
40775 "   (setq c-basic-offset 2))\n"
40776 " (add-hook 'c-mode-hook\n"
40777 "           '(lambda () (if (string-match \"/libguestfs\\\\>\"\n"
40778 "                               (buffer-file-name))\n"
40779 "                           (libguestfs-c-mode))))\n"
40780 "\n"
40781 msgstr ""
40782
40783 #. type: textblock
40784 #: ../src/guestfs.pod:2848
40785 msgid "Enable warnings when compiling (and fix any problems this finds):"
40786 msgstr ""
40787
40788 #. type: verbatim
40789 #: ../src/guestfs.pod:2851
40790 #, no-wrap
40791 msgid ""
40792 " ./configure --enable-gcc-warnings\n"
40793 "\n"
40794 msgstr ""
40795 " ./configure --enable-gcc-warnings\n"
40796 "\n"
40797
40798 #. type: textblock
40799 #: ../src/guestfs.pod:2853
40800 msgid "Useful targets are:"
40801 msgstr ""
40802
40803 #. type: verbatim
40804 #: ../src/guestfs.pod:2855
40805 #, no-wrap
40806 msgid ""
40807 " make syntax-check  # checks the syntax of the C code\n"
40808 " make check         # runs the test suite\n"
40809 "\n"
40810 msgstr ""
40811
40812 #. type: =head2
40813 #: ../src/guestfs.pod:2858
40814 msgid "DAEMON CUSTOM PRINTF FORMATTERS"
40815 msgstr ""
40816
40817 #. type: textblock
40818 #: ../src/guestfs.pod:2860
40819 msgid ""
40820 "In the daemon code we have created custom printf formatters C<%Q> and C<%R>, "
40821 "which are used to do shell quoting."
40822 msgstr ""
40823
40824 #. type: =item
40825 #: ../src/guestfs.pod:2865
40826 msgid "%Q"
40827 msgstr "%Q"
40828
40829 #. type: textblock
40830 #: ../src/guestfs.pod:2867
40831 msgid ""
40832 "Simple shell quoted string.  Any spaces or other shell characters are "
40833 "escaped for you."
40834 msgstr ""
40835
40836 #. type: =item
40837 #: ../src/guestfs.pod:2870
40838 msgid "%R"
40839 msgstr "%R"
40840
40841 #. type: textblock
40842 #: ../src/guestfs.pod:2872
40843 msgid ""
40844 "Same as C<%Q> except the string is treated as a path which is prefixed by "
40845 "the sysroot."
40846 msgstr ""
40847
40848 #. type: verbatim
40849 #: ../src/guestfs.pod:2879
40850 #, no-wrap
40851 msgid ""
40852 " asprintf (&cmd, \"cat %R\", path);\n"
40853 "\n"
40854 msgstr ""
40855 " asprintf (&cmd, \"cat %R\", path);\n"
40856 "\n"
40857
40858 #. type: textblock
40859 #: ../src/guestfs.pod:2881
40860 msgid "would produce C<cat /sysroot/some\\ path\\ with\\ spaces>"
40861 msgstr ""
40862
40863 #. type: textblock
40864 #: ../src/guestfs.pod:2883
40865 msgid ""
40866 "I<Note:> Do I<not> use these when you are passing parameters to the C<command"
40867 "{,r,v,rv}()> functions.  These parameters do NOT need to be quoted because "
40868 "they are not passed via the shell (instead, straight to exec).  You probably "
40869 "want to use the C<sysroot_path()> function however."
40870 msgstr ""
40871
40872 #. type: =head2
40873 #: ../src/guestfs.pod:2889
40874 msgid "SUBMITTING YOUR NEW API ACTIONS"
40875 msgstr ""
40876
40877 #. type: textblock
40878 #: ../src/guestfs.pod:2891
40879 msgid ""
40880 "Submit patches to the mailing list: L<http://www.redhat.com/mailman/listinfo/"
40881 "libguestfs> and CC to L<rjones@redhat.com>."
40882 msgstr ""
40883
40884 #. type: =head2
40885 #: ../src/guestfs.pod:2895
40886 msgid "INTERNATIONALIZATION (I18N) SUPPORT"
40887 msgstr ""
40888
40889 #. type: textblock
40890 #: ../src/guestfs.pod:2897
40891 msgid "We support i18n (gettext anyhow) in the library."
40892 msgstr ""
40893
40894 #. type: textblock
40895 #: ../src/guestfs.pod:2899
40896 msgid ""
40897 "However many messages come from the daemon, and we don't translate those at "
40898 "the moment.  One reason is that the appliance generally has all locale files "
40899 "removed from it, because they take up a lot of space.  So we'd have to readd "
40900 "some of those, as well as copying our PO files into the appliance."
40901 msgstr ""
40902
40903 #. type: textblock
40904 #: ../src/guestfs.pod:2905
40905 msgid ""
40906 "Debugging messages are never translated, since they are intended for the "
40907 "programmers."
40908 msgstr ""
40909
40910 #. type: =head2
40911 #: ../src/guestfs.pod:2908
40912 msgid "SOURCE CODE SUBDIRECTORIES"
40913 msgstr ""
40914
40915 #. type: =item
40916 #: ../src/guestfs.pod:2912
40917 msgid "C<align>"
40918 msgstr ""
40919
40920 #. type: textblock
40921 #: ../src/guestfs.pod:2914
40922 msgid "L<virt-alignment-scan(1)> command and documentation."
40923 msgstr ""
40924
40925 #. type: textblock
40926 #: ../src/guestfs.pod:2918
40927 msgid "The libguestfs appliance, build scripts and so on."
40928 msgstr ""
40929
40930 #. type: =item
40931 #: ../src/guestfs.pod:2920
40932 msgid "C<capitests>"
40933 msgstr "C<capitests>"
40934
40935 #. type: textblock
40936 #: ../src/guestfs.pod:2922
40937 msgid "Automated tests of the C API."
40938 msgstr ""
40939
40940 #. type: =item
40941 #: ../src/guestfs.pod:2924
40942 msgid "C<cat>"
40943 msgstr "C<cat>"
40944
40945 #. type: textblock
40946 #: ../src/guestfs.pod:2926
40947 msgid ""
40948 "The L<virt-cat(1)>, L<virt-filesystems(1)> and L<virt-ls(1)> commands and "
40949 "documentation."
40950 msgstr ""
40951
40952 #. type: =item
40953 #: ../src/guestfs.pod:2929
40954 msgid "C<caution>"
40955 msgstr "C<caution>"
40956
40957 #. type: textblock
40958 #: ../src/guestfs.pod:2931
40959 msgid ""
40960 "Safety and liveness tests of components that libguestfs depends upon (not of "
40961 "libguestfs itself).  Mainly this is for qemu and the kernel."
40962 msgstr ""
40963
40964 #. type: =item
40965 #: ../src/guestfs.pod:2934
40966 msgid "C<clone>"
40967 msgstr ""
40968
40969 #. type: textblock
40970 #: ../src/guestfs.pod:2936
40971 msgid ""
40972 "Tools for cloning virtual machines.  Currently contains L<virt-sysprep(1)> "
40973 "command and documentation."
40974 msgstr ""
40975
40976 #. type: =item
40977 #: ../src/guestfs.pod:2939
40978 msgid "C<contrib>"
40979 msgstr "C<contrib>"
40980
40981 #. type: textblock
40982 #: ../src/guestfs.pod:2941
40983 msgid "Outside contributions, experimental parts."
40984 msgstr ""
40985
40986 #. type: =item
40987 #: ../src/guestfs.pod:2943
40988 msgid "C<daemon>"
40989 msgstr "C<daemon>"
40990
40991 #. type: textblock
40992 #: ../src/guestfs.pod:2945
40993 msgid ""
40994 "The daemon that runs inside the libguestfs appliance and carries out actions."
40995 msgstr ""
40996
40997 #. type: =item
40998 #: ../src/guestfs.pod:2948
40999 msgid "C<df>"
41000 msgstr "C<df>"
41001
41002 #. type: textblock
41003 #: ../src/guestfs.pod:2950
41004 msgid "L<virt-df(1)> command and documentation."
41005 msgstr ""
41006
41007 #. type: =item
41008 #: ../src/guestfs.pod:2952
41009 msgid "C<edit>"
41010 msgstr "C<edit>"
41011
41012 #. type: textblock
41013 #: ../src/guestfs.pod:2954
41014 msgid "L<virt-edit(1)> command and documentation."
41015 msgstr ""
41016
41017 #. type: =item
41018 #: ../src/guestfs.pod:2956
41019 msgid "C<examples>"
41020 msgstr "C<examples>"
41021
41022 #. type: textblock
41023 #: ../src/guestfs.pod:2958
41024 msgid "C API example code."
41025 msgstr "Код прикладів використання програмного інтерфейсу мовою C."
41026
41027 #. type: =item
41028 #: ../src/guestfs.pod:2960
41029 msgid "C<fish>"
41030 msgstr "C<fish>"
41031
41032 #. type: textblock
41033 #: ../src/guestfs.pod:2962
41034 msgid ""
41035 "L<guestfish(1)>, the command-line shell, and various shell scripts built on "
41036 "top such as L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, "
41037 "L<virt-tar-out(1)>."
41038 msgstr ""
41039
41040 #. type: =item
41041 #: ../src/guestfs.pod:2966
41042 msgid "C<fuse>"
41043 msgstr "C<fuse>"
41044
41045 #. type: textblock
41046 #: ../src/guestfs.pod:2968
41047 msgid ""
41048 "L<guestmount(1)>, FUSE (userspace filesystem) built on top of libguestfs."
41049 msgstr ""
41050
41051 #. type: =item
41052 #: ../src/guestfs.pod:2970
41053 msgid "C<generator>"
41054 msgstr "C<generator>"
41055
41056 #. type: textblock
41057 #: ../src/guestfs.pod:2972
41058 msgid ""
41059 "The crucially important generator, used to automatically generate large "
41060 "amounts of boilerplate C code for things like RPC and bindings."
41061 msgstr ""
41062
41063 #. type: =item
41064 #: ../src/guestfs.pod:2975
41065 msgid "C<images>"
41066 msgstr "C<images>"
41067
41068 #. type: textblock
41069 #: ../src/guestfs.pod:2977
41070 msgid "Files used by the test suite."
41071 msgstr ""
41072
41073 #. type: textblock
41074 #: ../src/guestfs.pod:2979
41075 msgid "Some \"phony\" guest images which we test against."
41076 msgstr ""
41077
41078 #. type: =item
41079 #: ../src/guestfs.pod:2981
41080 msgid "C<inspector>"
41081 msgstr "C<inspector>"
41082
41083 #. type: textblock
41084 #: ../src/guestfs.pod:2983
41085 msgid "L<virt-inspector(1)>, the virtual machine image inspector."
41086 msgstr ""
41087
41088 #. type: =item
41089 #: ../src/guestfs.pod:2985
41090 msgid "C<logo>"
41091 msgstr "C<logo>"
41092
41093 #. type: textblock
41094 #: ../src/guestfs.pod:2987
41095 msgid "Logo used on the website.  The fish is called Arthur by the way."
41096 msgstr ""
41097
41098 #. type: =item
41099 #: ../src/guestfs.pod:2989
41100 msgid "C<m4>"
41101 msgstr "C<m4>"
41102
41103 #. type: textblock
41104 #: ../src/guestfs.pod:2991
41105 msgid "M4 macros used by autoconf."
41106 msgstr ""
41107
41108 #. type: =item
41109 #: ../src/guestfs.pod:2993
41110 msgid "C<po>"
41111 msgstr "C<po>"
41112
41113 #. type: textblock
41114 #: ../src/guestfs.pod:2995
41115 msgid "Translations of simple gettext strings."
41116 msgstr "Переклади простих рядків gettext."
41117
41118 #. type: =item
41119 #: ../src/guestfs.pod:2997
41120 msgid "C<po-docs>"
41121 msgstr "C<po-docs>"
41122
41123 #. type: textblock
41124 #: ../src/guestfs.pod:2999
41125 msgid ""
41126 "The build infrastructure and PO files for translations of manpages and POD "
41127 "files.  Eventually this will be combined with the C<po> directory, but that "
41128 "is rather complicated."
41129 msgstr ""
41130
41131 #. type: =item
41132 #: ../src/guestfs.pod:3003
41133 msgid "C<regressions>"
41134 msgstr "C<regressions>"
41135
41136 #. type: textblock
41137 #: ../src/guestfs.pod:3005
41138 msgid "Regression tests."
41139 msgstr "Тести на регресії."
41140
41141 #. type: =item
41142 #: ../src/guestfs.pod:3007
41143 msgid "C<rescue>"
41144 msgstr "C<rescue>"
41145
41146 #. type: textblock
41147 #: ../src/guestfs.pod:3009
41148 msgid "L<virt-rescue(1)> command and documentation."
41149 msgstr ""
41150
41151 #. type: =item
41152 #: ../src/guestfs.pod:3011
41153 msgid "C<resize>"
41154 msgstr ""
41155
41156 #. type: textblock
41157 #: ../src/guestfs.pod:3013
41158 msgid "L<virt-resize(1)> command and documentation."
41159 msgstr ""
41160
41161 #. type: =item
41162 #: ../src/guestfs.pod:3015
41163 msgid "C<sparsify>"
41164 msgstr ""
41165
41166 #. type: textblock
41167 #: ../src/guestfs.pod:3017
41168 msgid "L<virt-sparsify(1)> command and documentation."
41169 msgstr ""
41170
41171 #. type: =item
41172 #: ../src/guestfs.pod:3019
41173 msgid "C<src>"
41174 msgstr "C<src>"
41175
41176 #. type: textblock
41177 #: ../src/guestfs.pod:3021
41178 msgid "Source code to the C library."
41179 msgstr ""
41180
41181 #. type: =item
41182 #: ../src/guestfs.pod:3023
41183 msgid "C<tools>"
41184 msgstr "C<tools>"
41185
41186 #. type: textblock
41187 #: ../src/guestfs.pod:3025
41188 msgid ""
41189 "Command line tools written in Perl (L<virt-win-reg(1)> and many others)."
41190 msgstr ""
41191
41192 #. type: =item
41193 #: ../src/guestfs.pod:3027
41194 msgid "C<test-tool>"
41195 msgstr "C<test-tool>"
41196
41197 #. type: textblock
41198 #: ../src/guestfs.pod:3029
41199 msgid ""
41200 "Test tool for end users to test if their qemu/kernel combination will work "
41201 "with libguestfs."
41202 msgstr ""
41203
41204 #. type: =item
41205 #: ../src/guestfs.pod:3032
41206 msgid "C<csharp>"
41207 msgstr "C<csharp>"
41208
41209 #. type: =item
41210 #: ../src/guestfs.pod:3034
41211 msgid "C<erlang>"
41212 msgstr ""
41213
41214 #. type: =item
41215 #: ../src/guestfs.pod:3036
41216 msgid "C<haskell>"
41217 msgstr "C<haskell>"
41218
41219 #. type: =item
41220 #: ../src/guestfs.pod:3038
41221 msgid "C<java>"
41222 msgstr "C<java>"
41223
41224 #. type: =item
41225 #: ../src/guestfs.pod:3040
41226 msgid "C<ocaml>"
41227 msgstr "C<ocaml>"
41228
41229 #. type: =item
41230 #: ../src/guestfs.pod:3042
41231 msgid "C<php>"
41232 msgstr "C<php>"
41233
41234 #. type: =item
41235 #: ../src/guestfs.pod:3044
41236 msgid "C<perl>"
41237 msgstr "C<perl>"
41238
41239 #. type: =item
41240 #: ../src/guestfs.pod:3046
41241 msgid "C<python>"
41242 msgstr "C<python>"
41243
41244 #. type: =item
41245 #: ../src/guestfs.pod:3048
41246 msgid "C<ruby>"
41247 msgstr "C<ruby>"
41248
41249 #. type: textblock
41250 #: ../src/guestfs.pod:3050
41251 msgid "Language bindings."
41252 msgstr "Прив’язки до мов програмування."
41253
41254 #. type: =head2
41255 #: ../src/guestfs.pod:3054
41256 msgid "MAKING A STABLE RELEASE"
41257 msgstr ""
41258
41259 #. type: textblock
41260 #: ../src/guestfs.pod:3056
41261 msgid ""
41262 "When we make a stable release, there are several steps documented here.  See "
41263 "L</LIBGUESTFS VERSION NUMBERS> for general information about the stable "
41264 "branch policy."
41265 msgstr ""
41266
41267 #. type: textblock
41268 #: ../src/guestfs.pod:3064
41269 msgid ""
41270 "Check C<make && make check> works on at least Fedora, Debian and Ubuntu."
41271 msgstr ""
41272
41273 #. type: textblock
41274 #: ../src/guestfs.pod:3069
41275 msgid "Finalize RELEASE-NOTES."
41276 msgstr ""
41277
41278 #. type: textblock
41279 #: ../src/guestfs.pod:3073
41280 msgid "Update ROADMAP."
41281 msgstr ""
41282
41283 #. type: textblock
41284 #: ../src/guestfs.pod:3077
41285 msgid "Run C<src/api-support/update-from-tarballs.sh>."
41286 msgstr ""
41287
41288 #. type: textblock
41289 #: ../src/guestfs.pod:3081
41290 msgid "Push and pull from Transifex."
41291 msgstr ""
41292
41293 #. type: textblock
41294 #: ../src/guestfs.pod:3083
41295 msgid "Run:"
41296 msgstr ""
41297
41298 #. type: verbatim
41299 #: ../src/guestfs.pod:3085
41300 #, no-wrap
41301 msgid ""
41302 " tx push -s\n"
41303 "\n"
41304 msgstr ""
41305
41306 #. type: textblock
41307 #: ../src/guestfs.pod:3087
41308 msgid "to push the latest POT files to Transifex.  Then run:"
41309 msgstr ""
41310
41311 #. type: verbatim
41312 #: ../src/guestfs.pod:3089
41313 #, no-wrap
41314 msgid ""
41315 " ./tx-pull.sh\n"
41316 "\n"
41317 msgstr ""
41318
41319 #. type: textblock
41320 #: ../src/guestfs.pod:3091
41321 msgid "which is a wrapper to pull the latest translated C<*.po> files."
41322 msgstr ""
41323
41324 #. type: textblock
41325 #: ../src/guestfs.pod:3095
41326 msgid ""
41327 "Create new stable and development directories under L<http://libguestfs.org/"
41328 "download>."
41329 msgstr ""
41330
41331 #. type: textblock
41332 #: ../src/guestfs.pod:3100
41333 msgid "Create the branch in git:"
41334 msgstr ""
41335
41336 #. type: verbatim
41337 #: ../src/guestfs.pod:3102
41338 #, no-wrap
41339 msgid ""
41340 " git tag -a 1.XX.0 -m \"Version 1.XX.0 (stable)\"\n"
41341 " git tag -a 1.YY.0 -m \"Version 1.YY.0 (development)\"\n"
41342 " git branch stable-1.XX\n"
41343 " git push origin tag 1.XX.0 1.YY.0 stable-1.XX\n"
41344 "\n"
41345 msgstr ""
41346
41347 #. type: =head1
41348 #: ../src/guestfs.pod:3109
41349 msgid "LIMITS"
41350 msgstr "ОБМЕЖЕННЯ"
41351
41352 #. type: =head2
41353 #: ../src/guestfs.pod:3111
41354 msgid "PROTOCOL LIMITS"
41355 msgstr "ОБМЕЖЕННЯ ПРОТОКОЛУ"
41356
41357 #. type: textblock
41358 #: ../src/guestfs.pod:3113
41359 msgid ""
41360 "Internally libguestfs uses a message-based protocol to pass API calls and "
41361 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
41362 "plenty more detail about this).  The maximum message size used by the "
41363 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
41364 "aware of this limit.  The API calls which may be affected are individually "
41365 "documented, with a link back to this section of the documentation."
41366 msgstr ""
41367
41368 #. type: textblock
41369 #: ../src/guestfs.pod:3121
41370 msgid ""
41371 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
41372 "a simple string.  Because this string is at some point internally encoded as "
41373 "a message, the maximum size that it can return is slightly under 4 MB.  If "
41374 "the requested file is larger than this then you will get an error."
41375 msgstr ""
41376
41377 #. type: textblock
41378 #: ../src/guestfs.pod:3127
41379 msgid ""
41380 "In order to transfer large files into and out of the guest filesystem, you "
41381 "need to use particular calls that support this.  The sections L</UPLOADING> "
41382 "and L</DOWNLOADING> document how to do this."
41383 msgstr ""
41384
41385 #. type: textblock
41386 #: ../src/guestfs.pod:3131
41387 msgid ""
41388 "You might also consider mounting the disk image using our FUSE filesystem "
41389 "support (L<guestmount(1)>)."
41390 msgstr ""
41391
41392 #. type: =head2
41393 #: ../src/guestfs.pod:3134
41394 msgid "MAXIMUM NUMBER OF DISKS"
41395 msgstr ""
41396
41397 #. type: textblock
41398 #: ../src/guestfs.pod:3136
41399 msgid "When using virtio disks (the default) the current limit is B<25> disks."
41400 msgstr ""
41401
41402 #. type: textblock
41403 #: ../src/guestfs.pod:3139
41404 msgid ""
41405 "Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited to 31 "
41406 "slots.  However febootstrap only understands disks with names C</dev/vda> "
41407 "through C</dev/vdz> (26 letters) and it reserves one disk for its own "
41408 "purposes."
41409 msgstr ""
41410
41411 #. type: textblock
41412 #: ../src/guestfs.pod:3144
41413 msgid ""
41414 "We are working to substantially raise this limit in future versions but it "
41415 "requires complex changes to qemu."
41416 msgstr ""
41417
41418 #. type: textblock
41419 #: ../src/guestfs.pod:3147
41420 msgid ""
41421 "In future versions of libguestfs it should also be possible to \"hot plug\" "
41422 "disks (add and remove disks after calling L</guestfs_launch>).  This also "
41423 "requires changes to qemu."
41424 msgstr ""
41425
41426 #. type: =head2
41427 #: ../src/guestfs.pod:3151
41428 msgid "MAXIMUM NUMBER OF PARTITIONS PER DISK"
41429 msgstr ""
41430
41431 #. type: textblock
41432 #: ../src/guestfs.pod:3153
41433 msgid "Virtio limits the maximum number of partitions per disk to B<15>."
41434 msgstr ""
41435
41436 #. type: textblock
41437 #: ../src/guestfs.pod:3155
41438 msgid ""
41439 "This is because it reserves 4 bits for the minor device number (thus C</dev/"
41440 "vda>, and C</dev/vda1> through C</dev/vda15>)."
41441 msgstr ""
41442
41443 #. type: textblock
41444 #: ../src/guestfs.pod:3158
41445 msgid ""
41446 "If you attach a disk with more than 15 partitions, the extra partitions are "
41447 "ignored by libguestfs."
41448 msgstr ""
41449
41450 #. type: =head2
41451 #: ../src/guestfs.pod:3161
41452 msgid "MAXIMUM SIZE OF A DISK"
41453 msgstr ""
41454
41455 #. type: textblock
41456 #: ../src/guestfs.pod:3163
41457 msgid "Probably the limit is between 2**63-1 and 2**64-1 bytes."
41458 msgstr ""
41459
41460 #. type: textblock
41461 #: ../src/guestfs.pod:3165
41462 msgid ""
41463 "We have tested block devices up to 1 exabyte (2**60 or "
41464 "1,152,921,504,606,846,976 bytes) using sparse files backed by an XFS host "
41465 "filesystem."
41466 msgstr ""
41467
41468 #. type: textblock
41469 #: ../src/guestfs.pod:3169
41470 msgid ""
41471 "Although libguestfs probably does not impose any limit, the underlying host "
41472 "storage will.  If you store disk images on a host ext4 filesystem, then the "
41473 "maximum size will be limited by the maximum ext4 file size (currently 16 "
41474 "TB).  If you store disk images as host logical volumes then you are limited "
41475 "by the maximum size of an LV."
41476 msgstr ""
41477
41478 #. type: textblock
41479 #: ../src/guestfs.pod:3175
41480 msgid ""
41481 "For the hugest disk image files, we recommend using XFS on the host for "
41482 "storage."
41483 msgstr ""
41484
41485 #. type: =head2
41486 #: ../src/guestfs.pod:3178
41487 msgid "MAXIMUM SIZE OF A PARTITION"
41488 msgstr ""
41489
41490 #. type: textblock
41491 #: ../src/guestfs.pod:3180
41492 msgid ""
41493 "The MBR (ie. classic MS-DOS) partitioning scheme uses 32 bit sector "
41494 "numbers.  Assuming a 512 byte sector size, this means that MBR cannot "
41495 "address a partition located beyond 2 TB on the disk."
41496 msgstr ""
41497
41498 #. type: textblock
41499 #: ../src/guestfs.pod:3184
41500 msgid ""
41501 "It is recommended that you use GPT partitions on disks which are larger than "
41502 "this size.  GPT uses 64 bit sector numbers and so can address partitions "
41503 "which are theoretically larger than the largest disk we could support."
41504 msgstr ""
41505
41506 #. type: =head2
41507 #: ../src/guestfs.pod:3189
41508 msgid "MAXIMUM SIZE OF A FILESYSTEM, FILES, DIRECTORIES"
41509 msgstr ""
41510
41511 #. type: textblock
41512 #: ../src/guestfs.pod:3191
41513 msgid ""
41514 "This depends on the filesystem type.  libguestfs itself does not impose any "
41515 "known limit.  Consult Wikipedia or the filesystem documentation to find out "
41516 "what these limits are."
41517 msgstr ""
41518
41519 #. type: =head2
41520 #: ../src/guestfs.pod:3195
41521 msgid "MAXIMUM UPLOAD AND DOWNLOAD"
41522 msgstr ""
41523
41524 #. type: textblock
41525 #: ../src/guestfs.pod:3197
41526 msgid ""
41527 "The API functions L</guestfs_upload>, L</guestfs_download>, L</"
41528 "guestfs_tar_in>, L</guestfs_tar_out> and the like allow unlimited sized "
41529 "uploads and downloads."
41530 msgstr ""
41531
41532 #. type: =head2
41533 #: ../src/guestfs.pod:3201
41534 msgid "INSPECTION LIMITS"
41535 msgstr ""
41536
41537 #. type: textblock
41538 #: ../src/guestfs.pod:3203
41539 msgid ""
41540 "The inspection code has several arbitrary limits on things like the size of "
41541 "Windows Registry hive it will read, and the length of product name.  These "
41542 "are intended to stop a malicious guest from consuming arbitrary amounts of "
41543 "memory and disk space on the host, and should not be reached in practice.  "
41544 "See the source code for more information."
41545 msgstr ""
41546
41547 #. type: textblock
41548 #: ../src/guestfs.pod:3229
41549 msgid ""
41550 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
41551 "effect as calling C<guestfs_set_verbose (g, 1)>."
41552 msgstr ""
41553
41554 #. type: textblock
41555 #: ../src/guestfs.pod:3241
41556 msgid ""
41557 "Set the path that libguestfs uses to search for a supermin appliance.  See "
41558 "the discussion of paths in section L</PATH> above."
41559 msgstr ""
41560
41561 #. type: textblock
41562 #: ../src/guestfs.pod:3250
41563 msgid "See also L</QEMU WRAPPERS> above."
41564 msgstr ""
41565
41566 #. type: textblock
41567 #: ../src/guestfs.pod:3254
41568 msgid ""
41569 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
41570 "effect as calling C<guestfs_set_trace (g, 1)>."
41571 msgstr ""
41572
41573 #. type: textblock
41574 #: ../src/guestfs.pod:3272
41575 msgid ""
41576 "L<guestfs-examples(3)>, L<guestfs-erlang(3)>, L<guestfs-java(3)>, L<guestfs-"
41577 "ocaml(3)>, L<guestfs-perl(3)>, L<guestfs-python(3)>, L<guestfs-ruby(3)>, "
41578 "L<guestfish(1)>, L<guestmount(1)>, L<virt-alignment-scan(1)>, L<virt-cat(1)"
41579 ">, L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-df(1)>, L<virt-edit(1)>, "
41580 "L<virt-filesystems(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
41581 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue"
41582 "(1)>, L<virt-resize(1)>, L<virt-sparsify(1)>, L<virt-sysprep(1)>, L<virt-tar"
41583 "(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
41584 "L<febootstrap(1)>, L<febootstrap-supermin-helper(8)>, L<hivex(3)>, L<stap(1)"
41585 ">, L<http://libguestfs.org/>."
41586 msgstr ""
41587
41588 #. type: textblock
41589 #: ../src/guestfs.pod:3308
41590 msgid ""
41591 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
41592 "(8)>, L<disktype(1)>."
41593 msgstr ""
41594
41595 #. type: =head1
41596 #: ../src/guestfs.pod:3315 ../tools/virt-make-fs.pl:571
41597 #: ../tools/virt-win-reg.pl:772
41598 msgid "BUGS"
41599 msgstr "ВАДИ"
41600
41601 #. type: textblock
41602 #: ../src/guestfs.pod:3317
41603 msgid "To get a list of bugs against libguestfs use this link:"
41604 msgstr ""
41605 "Щоб переглянути список відомих вад у libguestfs, скористайтеся таким "
41606 "посиланням:"
41607
41608 #. type: textblock
41609 #: ../src/guestfs.pod:3319
41610 msgid ""
41611 "L<https://bugzilla.redhat.com/buglist.cgi?"
41612 "component=libguestfs&product=Virtualization+Tools>"
41613 msgstr ""
41614 "L<https://bugzilla.redhat.com/buglist.cgi?"
41615 "component=libguestfs&product=Virtualization+Tools>"
41616
41617 #. type: textblock
41618 #: ../src/guestfs.pod:3321
41619 msgid "To report a new bug against libguestfs use this link:"
41620 msgstr "Для звітування щодо вад у libguestfs скористайтеся цим посиланням:"
41621
41622 #. type: textblock
41623 #: ../src/guestfs.pod:3323
41624 msgid ""
41625 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
41626 "component=libguestfs&product=Virtualization+Tools>"
41627 msgstr ""
41628 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
41629 "component=libguestfs&product=Virtualization+Tools>"
41630
41631 #. type: textblock
41632 #: ../src/guestfs.pod:3325
41633 msgid "When reporting a bug, please check:"
41634 msgstr ""
41635
41636 #. type: textblock
41637 #: ../src/guestfs.pod:3331
41638 msgid "That the bug hasn't been reported already."
41639 msgstr ""
41640
41641 #. type: textblock
41642 #: ../src/guestfs.pod:3335
41643 msgid "That you are testing a recent version."
41644 msgstr ""
41645
41646 #. type: textblock
41647 #: ../src/guestfs.pod:3339
41648 msgid "Describe the bug accurately, and give a way to reproduce it."
41649 msgstr ""
41650
41651 #. type: textblock
41652 #: ../src/guestfs.pod:3343
41653 msgid ""
41654 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
41655 "bug report."
41656 msgstr ""
41657
41658 #. type: textblock
41659 #: ../test-tool/libguestfs-test-tool.pod:5
41660 msgid "libguestfs-test-tool - Diagnostics for libguestfs"
41661 msgstr ""
41662
41663 #. type: verbatim
41664 #: ../test-tool/libguestfs-test-tool.pod:9
41665 #, no-wrap
41666 msgid ""
41667 " libguestfs-test-tool [--options]\n"
41668 "\n"
41669 msgstr ""
41670
41671 #. type: textblock
41672 #: ../test-tool/libguestfs-test-tool.pod:13
41673 msgid ""
41674 "libguestfs-test-tool is a test program shipped with libguestfs to allow you "
41675 "to check basic libguestfs functionality is working.  This is needed because "
41676 "libguestfs occasionally breaks for reasons beyond our control: usually "
41677 "because of changes in the underlying qemu or kernel packages, or the host "
41678 "environment."
41679 msgstr ""
41680
41681 #. type: textblock
41682 #: ../test-tool/libguestfs-test-tool.pod:19
41683 msgid "If you suspect a problem in libguestfs, then just run:"
41684 msgstr ""
41685
41686 #. type: verbatim
41687 #: ../test-tool/libguestfs-test-tool.pod:21
41688 #, no-wrap
41689 msgid ""
41690 " libguestfs-test-tool\n"
41691 "\n"
41692 msgstr ""
41693
41694 #. type: textblock
41695 #: ../test-tool/libguestfs-test-tool.pod:23
41696 msgid "It will print lots of diagnostic messages."
41697 msgstr ""
41698
41699 #. type: textblock
41700 #: ../test-tool/libguestfs-test-tool.pod:25
41701 msgid "If it runs to completion successfully, you will see this near the end:"
41702 msgstr ""
41703
41704 #. type: verbatim
41705 #: ../test-tool/libguestfs-test-tool.pod:27
41706 #, no-wrap
41707 msgid ""
41708 " ===== TEST FINISHED OK =====\n"
41709 "\n"
41710 msgstr ""
41711
41712 #. type: textblock
41713 #: ../test-tool/libguestfs-test-tool.pod:29
41714 msgid "and the test tool will exit with code 0."
41715 msgstr ""
41716
41717 #. type: textblock
41718 #: ../test-tool/libguestfs-test-tool.pod:31
41719 msgid ""
41720 "If it fails (and/or exits with non-zero error code), please paste the "
41721 "I<complete, unedited> output of the test tool into a bug report.  More "
41722 "information about reporting bugs can be found on the L<http://libguestfs.org/"
41723 "> website."
41724 msgstr ""
41725
41726 #. type: textblock
41727 #: ../test-tool/libguestfs-test-tool.pod:42
41728 msgid "Display short usage information and exit."
41729 msgstr ""
41730
41731 #. type: =item
41732 #: ../test-tool/libguestfs-test-tool.pod:44
41733 msgid "B<--qemu qemu_binary>"
41734 msgstr ""
41735
41736 #. type: textblock
41737 #: ../test-tool/libguestfs-test-tool.pod:46
41738 msgid ""
41739 "If you have downloaded another qemu binary, point this option at the full "
41740 "path of the binary to try it."
41741 msgstr ""
41742
41743 #. type: =item
41744 #: ../test-tool/libguestfs-test-tool.pod:49
41745 msgid "B<--qemudir qemu_source_dir>"
41746 msgstr ""
41747
41748 #. type: textblock
41749 #: ../test-tool/libguestfs-test-tool.pod:51
41750 msgid ""
41751 "If you have compiled qemu from source, point this option at the source "
41752 "directory to try it."
41753 msgstr ""
41754
41755 #. type: =item
41756 #: ../test-tool/libguestfs-test-tool.pod:54
41757 msgid "B<-t N>"
41758 msgstr ""
41759
41760 #. type: =item
41761 #: ../test-tool/libguestfs-test-tool.pod:56
41762 msgid "B<--timeout N>"
41763 msgstr ""
41764
41765 #. type: textblock
41766 #: ../test-tool/libguestfs-test-tool.pod:58
41767 msgid ""
41768 "Set the launch timeout to C<N> seconds.  The default is 600 seconds (10 "
41769 "minutes) which does not usually need to be adjusted."
41770 msgstr ""
41771
41772 #. type: =head1
41773 #: ../test-tool/libguestfs-test-tool.pod:63
41774 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
41775 msgstr ""
41776
41777 #. type: textblock
41778 #: ../test-tool/libguestfs-test-tool.pod:65
41779 msgid ""
41780 "If you have compiled another version of qemu from source and would like to "
41781 "try that, then you can use the I<--qemudir> option to point to the qemu "
41782 "source directory."
41783 msgstr ""
41784
41785 #. type: textblock
41786 #: ../test-tool/libguestfs-test-tool.pod:69
41787 msgid ""
41788 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
41789 "option to point to the binary."
41790 msgstr ""
41791
41792 #. type: textblock
41793 #: ../test-tool/libguestfs-test-tool.pod:72
41794 msgid ""
41795 "Note when using these options, you can ignore the business of qemu wrapper "
41796 "scripts (L<guestfs(3)/QEMU WRAPPERS>), since libguestfs-test-tool writes a "
41797 "wrapper script for you if one is needed."
41798 msgstr ""
41799
41800 #. type: =head1
41801 #: ../test-tool/libguestfs-test-tool.pod:76
41802 msgid "TRYING OUT A DIFFERENT KERNEL"
41803 msgstr ""
41804
41805 #. type: textblock
41806 #: ../test-tool/libguestfs-test-tool.pod:78
41807 msgid ""
41808 "If you are using febootstrap E<ge> 3.8 then you can select which kernel "
41809 "libguestfs tries.  You do this by setting the environment variables "
41810 "C<FEBOOTSTRAP_KERNEL> and/or C<FEBOOTSTRAP_MODULES>."
41811 msgstr ""
41812
41813 #. type: textblock
41814 #: ../test-tool/libguestfs-test-tool.pod:82
41815 msgid ""
41816 "Refer to L<febootstrap-supermin-helper(8)/ENVIRONMENT VARIABLES> for further "
41817 "information."
41818 msgstr ""
41819
41820 #. type: =head1
41821 #: ../test-tool/libguestfs-test-tool.pod:85
41822 msgid "SELF-DIAGNOSIS"
41823 msgstr ""
41824
41825 #. type: textblock
41826 #: ../test-tool/libguestfs-test-tool.pod:87
41827 msgid ""
41828 "Refer to L<guestfs(3)/APPLIANCE BOOT PROCESS> to understand the messages "
41829 "produced by libguestfs-test-tool and/or possible errors."
41830 msgstr ""
41831
41832 #. type: textblock
41833 #: ../test-tool/libguestfs-test-tool.pod:92
41834 msgid ""
41835 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
41836 "I<1> if there was an error."
41837 msgstr ""
41838
41839 #. type: textblock
41840 #: ../test-tool/libguestfs-test-tool.pod:97
41841 msgid ""
41842 "For the full list of environment variables which may affect libguestfs, "
41843 "please see the L<guestfs(3)> manual page."
41844 msgstr ""
41845
41846 #. type: textblock
41847 #: ../test-tool/libguestfs-test-tool.pod:102
41848 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
41849 msgstr ""
41850
41851 #. type: textblock
41852 #: ../tools/virt-list-filesystems.pl:32
41853 msgid ""
41854 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
41855 msgstr ""
41856
41857 #. type: verbatim
41858 #: ../tools/virt-list-filesystems.pl:36
41859 #, no-wrap
41860 msgid ""
41861 " virt-list-filesystems [--options] domname\n"
41862 "\n"
41863 msgstr ""
41864
41865 #. type: verbatim
41866 #: ../tools/virt-list-filesystems.pl:38
41867 #, no-wrap
41868 msgid ""
41869 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
41870 "\n"
41871 msgstr ""
41872
41873 #. type: textblock
41874 #: ../tools/virt-list-filesystems.pl:42 ../tools/virt-list-partitions.pl:42
41875 msgid ""
41876 "This tool is obsolete.  Use L<virt-filesystems(1)> as a more flexible "
41877 "replacement."
41878 msgstr ""
41879
41880 #. type: textblock
41881 #: ../tools/virt-list-filesystems.pl:45
41882 msgid ""
41883 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
41884 "are contained in a virtual machine or disk image."
41885 msgstr ""
41886
41887 #. type: textblock
41888 #: ../tools/virt-list-filesystems.pl:49
41889 msgid ""
41890 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
41891 "functionality.  For more complex cases you should look at the L<guestfish(1)"
41892 "> tool."
41893 msgstr ""
41894
41895 #. type: textblock
41896 #: ../tools/virt-list-filesystems.pl:112
41897 msgid ""
41898 "With this option, C<virt-list-filesystems> displays the type of each "
41899 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
41900 msgstr ""
41901
41902 #. type: =item
41903 #: ../tools/virt-list-filesystems.pl:119
41904 msgid "B<-a>"
41905 msgstr "B<-a>"
41906
41907 #. type: textblock
41908 #: ../tools/virt-list-filesystems.pl:123
41909 msgid ""
41910 "Normally we only show mountable filesystems.  If this option is given then "
41911 "swap devices are shown too."
41912 msgstr ""
41913
41914 #. type: textblock
41915 #: ../tools/virt-list-filesystems.pl:197
41916 msgid ""
41917 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
41918 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
41919 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
41920 msgstr ""
41921 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-"
41922 "filesystems(1)>, L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::"
41923 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
41924
41925 #. type: textblock
41926 #: ../tools/virt-list-filesystems.pl:214 ../tools/virt-tar.pl:317
41927 msgid "Copyright (C) 2009 Red Hat Inc."
41928 msgstr "© Red Hat Inc., 2009"
41929
41930 #. type: textblock
41931 #: ../tools/virt-list-partitions.pl:32
41932 msgid ""
41933 "virt-list-partitions - List partitions in a virtual machine or disk image"
41934 msgstr ""
41935
41936 #. type: verbatim
41937 #: ../tools/virt-list-partitions.pl:36
41938 #, no-wrap
41939 msgid ""
41940 " virt-list-partitions [--options] domname\n"
41941 "\n"
41942 msgstr ""
41943 " virt-list-partitions [--параметри] назва_домену\n"
41944 "\n"
41945
41946 #. type: verbatim
41947 #: ../tools/virt-list-partitions.pl:38
41948 #, no-wrap
41949 msgid ""
41950 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
41951 "\n"
41952 msgstr ""
41953 " virt-list-partitions [--параметри] диск.img [диск.img ...]\n"
41954 "\n"
41955
41956 #. type: textblock
41957 #: ../tools/virt-list-partitions.pl:45
41958 msgid ""
41959 "C<virt-list-partitions> is a command line tool to list the partitions that "
41960 "are contained in a virtual machine or disk image.  It is mainly useful as a "
41961 "first step to using L<virt-resize(1)>."
41962 msgstr ""
41963
41964 #. type: textblock
41965 #: ../tools/virt-list-partitions.pl:50
41966 msgid ""
41967 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
41968 "functionality.  For more complex cases you should look at the L<guestfish(1)"
41969 "> tool."
41970 msgstr ""
41971
41972 #. type: textblock
41973 #: ../tools/virt-list-partitions.pl:113
41974 msgid "Show sizes in human-readable form (eg. \"1G\")."
41975 msgstr ""
41976
41977 #. type: textblock
41978 #: ../tools/virt-list-partitions.pl:123
41979 msgid ""
41980 "With this option, C<virt-list-partitions> displays the type and size of each "
41981 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
41982 msgstr ""
41983
41984 #. type: =item
41985 #: ../tools/virt-list-partitions.pl:130
41986 msgid "B<-t>"
41987 msgstr "B<-t>"
41988
41989 #. type: =item
41990 #: ../tools/virt-list-partitions.pl:132
41991 msgid "B<--total>"
41992 msgstr "B<--total>"
41993
41994 #. type: textblock
41995 #: ../tools/virt-list-partitions.pl:134
41996 msgid ""
41997 "Display the total size of each block device (as a separate row or rows)."
41998 msgstr ""
41999
42000 #. type: textblock
42001 #: ../tools/virt-list-partitions.pl:267
42002 msgid ""
42003 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
42004 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
42005 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
42006 msgstr ""
42007 "L<guestfs(3)>, L<guestfish(1)>, L<virt-filesystems(1)>, L<virt-list-"
42008 "filesystems(1)>, L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib"
42009 "(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
42010
42011 #. type: textblock
42012 #: ../tools/virt-list-partitions.pl:283
42013 msgid "Copyright (C) 2009-2010 Red Hat Inc."
42014 msgstr "© Red Hat Inc., 2009–2010"
42015
42016 #. type: textblock
42017 #: ../tools/virt-make-fs.pl:37
42018 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
42019 msgstr ""
42020
42021 #. type: verbatim
42022 #: ../tools/virt-make-fs.pl:41
42023 #, no-wrap
42024 msgid ""
42025 " virt-make-fs [--options] input.tar output.img\n"
42026 "\n"
42027 msgstr ""
42028
42029 #. type: verbatim
42030 #: ../tools/virt-make-fs.pl:43
42031 #, no-wrap
42032 msgid ""
42033 " virt-make-fs [--options] input.tar.gz output.img\n"
42034 "\n"
42035 msgstr ""
42036
42037 #. type: verbatim
42038 #: ../tools/virt-make-fs.pl:45
42039 #, no-wrap
42040 msgid ""
42041 " virt-make-fs [--options] directory output.img\n"
42042 "\n"
42043 msgstr ""
42044
42045 #. type: textblock
42046 #: ../tools/virt-make-fs.pl:49
42047 msgid ""
42048 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
42049 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
42050 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
42051 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
42052 "you want to attach these filesystems to existing virtual machines (eg. to "
42053 "import large amounts of read-only data to a VM)."
42054 msgstr ""
42055
42056 #. type: textblock
42057 #: ../tools/virt-make-fs.pl:57
42058 msgid "Basic usage is:"
42059 msgstr ""
42060
42061 #. type: verbatim
42062 #: ../tools/virt-make-fs.pl:59
42063 #, no-wrap
42064 msgid ""
42065 " virt-make-fs input output.img\n"
42066 "\n"
42067 msgstr ""
42068
42069 #. type: textblock
42070 #: ../tools/virt-make-fs.pl:61
42071 msgid ""
42072 "where C<input> is either a directory containing files that you want to add, "
42073 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
42074 "C<output.img> is a disk image.  The input type is detected automatically.  "
42075 "The output disk image defaults to a raw ext2 sparse image unless you specify "
42076 "extra flags (see L</OPTIONS> below)."
42077 msgstr ""
42078
42079 #. type: =head2
42080 #: ../tools/virt-make-fs.pl:67
42081 msgid "FILESYSTEM TYPE"
42082 msgstr "ТИП ФАЙЛОВОЇ СИСТЕМИ"
42083
42084 #. type: textblock
42085 #: ../tools/virt-make-fs.pl:69
42086 msgid ""
42087 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
42088 "libguestfs supports can be used (but I<not> read-only formats like "
42089 "ISO9660).  Here are some of the more common choices:"
42090 msgstr ""
42091
42092 #. type: =item
42093 #: ../tools/virt-make-fs.pl:75
42094 msgid "I<ext3>"
42095 msgstr "I<ext3>"
42096
42097 #. type: textblock
42098 #: ../tools/virt-make-fs.pl:77
42099 msgid ""
42100 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
42101 "you are not going to use the filesystem in a way that requires the journal, "
42102 "then this is just wasted overhead."
42103 msgstr ""
42104
42105 #. type: =item
42106 #: ../tools/virt-make-fs.pl:81
42107 msgid "I<ntfs> or I<vfat>"
42108 msgstr "I<ntfs> або I<vfat>"
42109
42110 #. type: textblock
42111 #: ../tools/virt-make-fs.pl:83
42112 msgid "Useful if exporting data to a Windows guest."
42113 msgstr ""
42114
42115 #. type: textblock
42116 #: ../tools/virt-make-fs.pl:85
42117 msgid ""
42118 "I<Note for vfat>: The tar archive or local directory must only contain files "
42119 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
42120 "program running within libguestfs is unable to change the ownership of non-"
42121 "root files, since vfat itself does not support this."
42122 msgstr ""
42123
42124 #. type: =item
42125 #: ../tools/virt-make-fs.pl:90
42126 msgid "I<minix>"
42127 msgstr "I<minix>"
42128
42129 #. type: textblock
42130 #: ../tools/virt-make-fs.pl:92
42131 msgid ""
42132 "Lower overhead than C<ext2>, but certain limitations on filename length and "
42133 "total filesystem size."
42134 msgstr ""
42135
42136 #. type: =head3
42137 #: ../tools/virt-make-fs.pl:97 ../tools/virt-make-fs.pl:116
42138 #: ../tools/virt-make-fs.pl:149
42139 msgid "EXAMPLE"
42140 msgstr "ПРИКЛАД"
42141
42142 #. type: verbatim
42143 #: ../tools/virt-make-fs.pl:99
42144 #, no-wrap
42145 msgid ""
42146 " virt-make-fs --type=minix input minixfs.img\n"
42147 "\n"
42148 msgstr ""
42149
42150 #. type: =head2
42151 #: ../tools/virt-make-fs.pl:101
42152 msgid "TO PARTITION OR NOT TO PARTITION"
42153 msgstr ""
42154
42155 #. type: textblock
42156 #: ../tools/virt-make-fs.pl:103
42157 msgid "Optionally virt-make-fs can add a partition table to the output disk."
42158 msgstr ""
42159
42160 #. type: textblock
42161 #: ../tools/virt-make-fs.pl:105
42162 msgid ""
42163 "Adding a partition can make the disk image more compatible with certain "
42164 "virtualized operating systems which don't expect to see a filesystem "
42165 "directly located on a block device (Linux doesn't care and will happily "
42166 "handle both types)."
42167 msgstr ""
42168
42169 #. type: textblock
42170 #: ../tools/virt-make-fs.pl:110
42171 msgid ""
42172 "On the other hand, if you have a partition table then the output image is no "
42173 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
42174 "directly on a partitioned disk image.  (However libguestfs tools such as "
42175 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
42176 msgstr ""
42177
42178 #. type: textblock
42179 #: ../tools/virt-make-fs.pl:118
42180 msgid "Add an MBR partition:"
42181 msgstr ""
42182
42183 #. type: verbatim
42184 #: ../tools/virt-make-fs.pl:120
42185 #, no-wrap
42186 msgid ""
42187 " virt-make-fs --partition -- input disk.img\n"
42188 "\n"
42189 msgstr ""
42190
42191 #. type: textblock
42192 #: ../tools/virt-make-fs.pl:122
42193 msgid ""
42194 "If the output disk image could be terabyte-sized or larger, it's better to "
42195 "use an EFI/GPT-compatible partition table:"
42196 msgstr ""
42197
42198 #. type: verbatim
42199 #: ../tools/virt-make-fs.pl:125
42200 #, no-wrap
42201 msgid ""
42202 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
42203 "\n"
42204 msgstr ""
42205
42206 #. type: =head2
42207 #: ../tools/virt-make-fs.pl:127
42208 msgid "EXTRA SPACE"
42209 msgstr ""
42210
42211 #. type: textblock
42212 #: ../tools/virt-make-fs.pl:129
42213 msgid ""
42214 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
42215 "the files that it contains, but might have extra space.  Depending on how "
42216 "you are going to use the output, you might think this extra space is wasted "
42217 "and want to minimize it, or you might want to leave space so that more files "
42218 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
42219 "but you can use the I<--size> flag to leave space in the filesystem if you "
42220 "want it."
42221 msgstr ""
42222
42223 #. type: textblock
42224 #: ../tools/virt-make-fs.pl:137
42225 msgid ""
42226 "An alternative way to leave extra space but not make the output image any "
42227 "bigger is to use an alternative disk image format (instead of the default "
42228 "\"raw\" format).  Using I<--format=qcow2> will use the native QEmu/KVM qcow2 "
42229 "image format (check your hypervisor supports this before using it).  This "
42230 "allows you to choose a large I<--size> but the extra space won't actually be "
42231 "allocated in the image until you try to store something in it."
42232 msgstr ""
42233
42234 #. type: textblock
42235 #: ../tools/virt-make-fs.pl:145
42236 msgid ""
42237 "Don't forget that you can also use local commands including L<resize2fs(8)> "
42238 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-fs "
42239 "to build another image from scratch."
42240 msgstr ""
42241
42242 #. type: verbatim
42243 #: ../tools/virt-make-fs.pl:151
42244 #, no-wrap
42245 msgid ""
42246 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
42247 "\n"
42248 msgstr ""
42249 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
42250 "\n"
42251
42252 #. type: textblock
42253 #: ../tools/virt-make-fs.pl:179
42254 msgid "Enable debugging information."
42255 msgstr "Увімкнути виведення діагностичних даних."
42256
42257 #. type: =item
42258 #: ../tools/virt-make-fs.pl:185
42259 msgid "B<--size=E<lt>NE<gt>>"
42260 msgstr "B<--size=E<lt>NE<gt>>"
42261
42262 #. type: =item
42263 #: ../tools/virt-make-fs.pl:187
42264 msgid "B<--size=+E<lt>NE<gt>>"
42265 msgstr "B<--size=+E<lt>NE<gt>>"
42266
42267 #. type: =item
42268 #: ../tools/virt-make-fs.pl:189
42269 msgid "B<-s E<lt>NE<gt>>"
42270 msgstr "B<-s E<lt>NE<gt>>"
42271
42272 #. type: =item
42273 #: ../tools/virt-make-fs.pl:191
42274 msgid "B<-s +E<lt>NE<gt>>"
42275 msgstr "B<-s +E<lt>NE<gt>>"
42276
42277 #. type: textblock
42278 #: ../tools/virt-make-fs.pl:193
42279 msgid ""
42280 "Use the I<--size> (or I<-s>) option to choose the size of the output image."
42281 msgstr ""
42282
42283 #. type: textblock
42284 #: ../tools/virt-make-fs.pl:196
42285 msgid ""
42286 "If this option is I<not> given, then the output image will be just large "
42287 "enough to contain all the files, with not much wasted space."
42288 msgstr ""
42289
42290 #. type: textblock
42291 #: ../tools/virt-make-fs.pl:199
42292 msgid ""
42293 "To choose a fixed size output disk, specify an absolute number followed by b/"
42294 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
42295 "Petabytes or Exabytes.  This must be large enough to contain all the input "
42296 "files, else you will get an error."
42297 msgstr ""
42298
42299 #. type: textblock
42300 #: ../tools/virt-make-fs.pl:204
42301 msgid ""
42302 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
42303 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
42304 "Petabytes or Exabytes.  For example: I<--size=+200M> means enough space for "
42305 "the input files, and (approximately) an extra 200 MB free space."
42306 msgstr ""
42307
42308 #. type: textblock
42309 #: ../tools/virt-make-fs.pl:210
42310 msgid ""
42311 "Note that virt-make-fs estimates free space, and therefore will not produce "
42312 "filesystems containing precisely the free space requested.  (It is much more "
42313 "expensive and time-consuming to produce a filesystem which has precisely the "
42314 "desired free space)."
42315 msgstr ""
42316
42317 #. type: =item
42318 #: ../tools/virt-make-fs.pl:219
42319 msgid "B<--format=E<lt>fmtE<gt>>"
42320 msgstr ""
42321
42322 #. type: =item
42323 #: ../tools/virt-make-fs.pl:221
42324 msgid "B<-F E<lt>fmtE<gt>>"
42325 msgstr ""
42326
42327 #. type: textblock
42328 #: ../tools/virt-make-fs.pl:223
42329 msgid "Choose the output disk image format."
42330 msgstr ""
42331
42332 #. type: textblock
42333 #: ../tools/virt-make-fs.pl:225
42334 msgid "The default is C<raw> (raw sparse disk image)."
42335 msgstr ""
42336
42337 #. type: textblock
42338 #: ../tools/virt-make-fs.pl:227
42339 msgid ""
42340 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
42341 "that would really make sense here is C<qcow2>."
42342 msgstr ""
42343
42344 #. type: =item
42345 #: ../tools/virt-make-fs.pl:234
42346 msgid "B<--type=E<lt>fsE<gt>>"
42347 msgstr ""
42348
42349 #. type: =item
42350 #: ../tools/virt-make-fs.pl:236
42351 msgid "B<-t E<lt>fsE<gt>>"
42352 msgstr ""
42353
42354 #. type: textblock
42355 #: ../tools/virt-make-fs.pl:238
42356 msgid "Choose the output filesystem type."
42357 msgstr ""
42358
42359 #. type: textblock
42360 #: ../tools/virt-make-fs.pl:240
42361 msgid "The default is C<ext2>."
42362 msgstr "Типовим значенням є C<ext2>."
42363
42364 #. type: textblock
42365 #: ../tools/virt-make-fs.pl:242
42366 msgid ""
42367 "Any filesystem which is supported read-write by libguestfs can be used here."
42368 msgstr ""
42369
42370 #. type: =item
42371 #: ../tools/virt-make-fs.pl:249
42372 msgid "B<--partition>"
42373 msgstr "B<--partition>"
42374
42375 #. type: =item
42376 #: ../tools/virt-make-fs.pl:251
42377 msgid "B<--partition=E<lt>parttypeE<gt>>"
42378 msgstr ""
42379
42380 #. type: textblock
42381 #: ../tools/virt-make-fs.pl:253
42382 msgid ""
42383 "If specified, this flag adds an MBR partition table to the output disk image."
42384 msgstr ""
42385
42386 #. type: textblock
42387 #: ../tools/virt-make-fs.pl:256
42388 msgid ""
42389 "You can change the partition table type, eg. I<--partition=gpt> for large "
42390 "disks."
42391 msgstr ""
42392
42393 #. type: textblock
42394 #: ../tools/virt-make-fs.pl:259
42395 msgid ""
42396 "Note that if you just use a lonesome I<--partition>, the Perl option parser "
42397 "might consider the next parameter to be the partition type.  For example:"
42398 msgstr ""
42399
42400 #. type: verbatim
42401 #: ../tools/virt-make-fs.pl:263
42402 #, no-wrap
42403 msgid ""
42404 " virt-make-fs --partition input.tar output.img\n"
42405 "\n"
42406 msgstr ""
42407
42408 #. type: textblock
42409 #: ../tools/virt-make-fs.pl:265
42410 msgid ""
42411 "would cause virt-make-fs to think you wanted to use a partition type of "
42412 "C<input.tar> which is completely wrong.  To avoid this, use I<--> (a double "
42413 "dash) between options and the input and output arguments:"
42414 msgstr ""
42415
42416 #. type: verbatim
42417 #: ../tools/virt-make-fs.pl:269
42418 #, no-wrap
42419 msgid ""
42420 " virt-make-fs --partition -- input.tar output.img\n"
42421 "\n"
42422 msgstr ""
42423
42424 #. type: textblock
42425 #: ../tools/virt-make-fs.pl:271
42426 msgid "For MBR, virt-make-fs sets the partition type byte automatically."
42427 msgstr ""
42428
42429 #. type: textblock
42430 #: ../tools/virt-make-fs.pl:559
42431 msgid ""
42432 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
42433 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
42434 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
42435 msgstr ""
42436 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar-in(1)>, L<mkisofs(1)>, "
42437 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
42438 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
42439
42440 #. type: textblock
42441 #: ../tools/virt-make-fs.pl:573 ../tools/virt-win-reg.pl:774
42442 msgid ""
42443 "When reporting bugs, please enable debugging and capture the I<complete> "
42444 "output:"
42445 msgstr ""
42446
42447 #. type: verbatim
42448 #: ../tools/virt-make-fs.pl:576
42449 #, no-wrap
42450 msgid ""
42451 " export LIBGUESTFS_DEBUG=1\n"
42452 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
42453 "\n"
42454 msgstr ""
42455 " export LIBGUESTFS_DEBUG=1\n"
42456 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
42457 "\n"
42458
42459 #. type: textblock
42460 #: ../tools/virt-make-fs.pl:579
42461 msgid ""
42462 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
42463 "redhat.com/>"
42464 msgstr ""
42465
42466 #. type: textblock
42467 #: ../tools/virt-tar.pl:33
42468 msgid "virt-tar - Extract or upload files to a virtual machine"
42469 msgstr ""
42470
42471 #. type: verbatim
42472 #: ../tools/virt-tar.pl:37
42473 #, no-wrap
42474 msgid ""
42475 " virt-tar [--options] -x domname directory tarball\n"
42476 "\n"
42477 msgstr ""
42478
42479 #. type: verbatim
42480 #: ../tools/virt-tar.pl:39
42481 #, no-wrap
42482 msgid ""
42483 " virt-tar [--options] -u domname tarball directory\n"
42484 "\n"
42485 msgstr ""
42486
42487 #. type: verbatim
42488 #: ../tools/virt-tar.pl:41
42489 #, no-wrap
42490 msgid ""
42491 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
42492 "\n"
42493 msgstr ""
42494
42495 #. type: verbatim
42496 #: ../tools/virt-tar.pl:43
42497 #, no-wrap
42498 msgid ""
42499 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
42500 "\n"
42501 msgstr ""
42502
42503 #. type: =head2
42504 #: ../tools/virt-tar.pl:45 ../tools/virt-win-reg.pl:88
42505 msgid "NOTE"
42506 msgstr "ПРИМІТКА"
42507
42508 #. type: textblock
42509 #: ../tools/virt-tar.pl:47
42510 msgid ""
42511 "This tool is obsolete.  Use L<virt-copy-in(1)>, L<virt-copy-out(1)>, L<virt-"
42512 "tar-in(1)>, L<virt-tar-out(1)> as replacements."
42513 msgstr ""
42514
42515 #. type: textblock
42516 #: ../tools/virt-tar.pl:52
42517 msgid "Download C</home> from the VM into a local tarball:"
42518 msgstr ""
42519
42520 #. type: verbatim
42521 #: ../tools/virt-tar.pl:54
42522 #, no-wrap
42523 msgid ""
42524 " virt-tar -x domname /home home.tar\n"
42525 "\n"
42526 msgstr ""
42527
42528 #. type: verbatim
42529 #: ../tools/virt-tar.pl:56
42530 #, no-wrap
42531 msgid ""
42532 " virt-tar -zx domname /home home.tar.gz\n"
42533 "\n"
42534 msgstr ""
42535
42536 #. type: textblock
42537 #: ../tools/virt-tar.pl:58
42538 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
42539 msgstr ""
42540
42541 #. type: verbatim
42542 #: ../tools/virt-tar.pl:60
42543 #, no-wrap
42544 msgid ""
42545 " virt-tar -u domname uploadstuff.tar /tmp\n"
42546 "\n"
42547 msgstr ""
42548
42549 #. type: verbatim
42550 #: ../tools/virt-tar.pl:62
42551 #, no-wrap
42552 msgid ""
42553 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
42554 "\n"
42555 msgstr ""
42556
42557 #. type: textblock
42558 #: ../tools/virt-tar.pl:66
42559 msgid ""
42560 "You must I<not> use C<virt-tar> with the I<-u> option (upload) on live "
42561 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
42562 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
42563 msgstr ""
42564
42565 #. type: textblock
42566 #: ../tools/virt-tar.pl:71
42567 msgid ""
42568 "You can use I<-x> (extract) on live virtual machines, but you might get "
42569 "inconsistent results or errors if there is filesystem activity inside the "
42570 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
42571 "work, but the only way to guarantee consistent results is if the virtual "
42572 "machine is shut down."
42573 msgstr ""
42574
42575 #. type: textblock
42576 #: ../tools/virt-tar.pl:79
42577 msgid ""
42578 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
42579 "parts of a guest filesystem.  There are many possibilities: making backups, "
42580 "uploading data files, snooping on guest activity, fixing or customizing "
42581 "guests, etc."
42582 msgstr ""
42583
42584 #. type: textblock
42585 #: ../tools/virt-tar.pl:84
42586 msgid ""
42587 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
42588 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
42589 "should look at the L<guestfish(1)> tool."
42590 msgstr ""
42591
42592 #. type: textblock
42593 #: ../tools/virt-tar.pl:88
42594 msgid ""
42595 "There are two modes of operation: I<-x> (eXtract) downloads a directory and "
42596 "its contents (recursively) from the virtual machine into a local tarball.  "
42597 "I<-u> uploads from a local tarball, unpacking it into a directory inside the "
42598 "virtual machine.  You cannot use these two options together."
42599 msgstr ""
42600
42601 #. type: textblock
42602 #: ../tools/virt-tar.pl:94
42603 msgid ""
42604 "In addition, you may need to use the I<-z> (gZip) option to enable "
42605 "compression.  When uploading, you have to specify I<-z> if the upload file "
42606 "is compressed because virt-tar won't detect this on its own."
42607 msgstr ""
42608
42609 #. type: textblock
42610 #: ../tools/virt-tar.pl:98
42611 msgid ""
42612 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
42613 "example it cannot do PKZip files or bzip2 compression.  If you want that "
42614 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
42615 "the L<libguestfs(3)> API)."
42616 msgstr ""
42617
42618 #. type: =item
42619 #: ../tools/virt-tar.pl:160
42620 msgid "B<--extract>"
42621 msgstr "B<--extract>"
42622
42623 #. type: =item
42624 #: ../tools/virt-tar.pl:162
42625 msgid "B<--download>"
42626 msgstr "B<--download>"
42627
42628 #. type: =item
42629 #: ../tools/virt-tar.pl:164
42630 msgid "B<-u>"
42631 msgstr "B<-u>"
42632
42633 #. type: =item
42634 #: ../tools/virt-tar.pl:166
42635 msgid "B<--upload>"
42636 msgstr "B<--upload>"
42637
42638 #. type: textblock
42639 #: ../tools/virt-tar.pl:168
42640 msgid ""
42641 "Use I<-x> to extract (download) a directory from a virtual machine to a "
42642 "local tarball."
42643 msgstr ""
42644
42645 #. type: textblock
42646 #: ../tools/virt-tar.pl:171
42647 msgid ""
42648 "Use I<-u> to upload and unpack from a local tarball into a virtual machine.  "
42649 "Please read the L</WARNING> section above before using this option."
42650 msgstr ""
42651
42652 #. type: textblock
42653 #: ../tools/virt-tar.pl:175
42654 msgid "You must specify exactly one of these options."
42655 msgstr ""
42656
42657 #. type: =item
42658 #: ../tools/virt-tar.pl:181
42659 msgid "B<-z>"
42660 msgstr "B<-z>"
42661
42662 #. type: =item
42663 #: ../tools/virt-tar.pl:183
42664 msgid "B<--gzip>"
42665 msgstr "B<--gzip>"
42666
42667 #. type: textblock
42668 #: ../tools/virt-tar.pl:185
42669 msgid "Specify that the input or output tarball is gzip-compressed."
42670 msgstr ""
42671
42672 #. type: textblock
42673 #: ../tools/virt-tar.pl:298
42674 msgid ""
42675 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
42676 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
42677 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
42678 "org/>."
42679 msgstr ""
42680 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<virt-copy-"
42681 "in(1)>, L<virt-copy-out(1)>, L<virt-tar-in(1)>, L<virt-tar-out(1)>, L<Sys::"
42682 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
42683 "org/>."
42684
42685 #. type: textblock
42686 #: ../tools/virt-win-reg.pl:37
42687 msgid ""
42688 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
42689 msgstr ""
42690
42691 #. type: verbatim
42692 #: ../tools/virt-win-reg.pl:41
42693 #, no-wrap
42694 msgid ""
42695 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
42696 "\n"
42697 msgstr ""
42698
42699 #. type: verbatim
42700 #: ../tools/virt-win-reg.pl:43
42701 #, no-wrap
42702 msgid ""
42703 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
42704 "\n"
42705 msgstr ""
42706
42707 #. type: verbatim
42708 #: ../tools/virt-win-reg.pl:45
42709 #, no-wrap
42710 msgid ""
42711 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
42712 "\n"
42713 msgstr ""
42714
42715 #. type: verbatim
42716 #: ../tools/virt-win-reg.pl:47
42717 #, no-wrap
42718 msgid ""
42719 " virt-win-reg --merge domname [input.reg ...]\n"
42720 "\n"
42721 msgstr ""
42722
42723 #. type: verbatim
42724 #: ../tools/virt-win-reg.pl:49
42725 #, no-wrap
42726 msgid ""
42727 " virt-win-reg [--options] disk.img ... # instead of domname\n"
42728 "\n"
42729 msgstr ""
42730
42731 #. type: textblock
42732 #: ../tools/virt-win-reg.pl:53
42733 msgid ""
42734 "You must I<not> use C<virt-win-reg> with the I<--merge> option on live "
42735 "virtual machines.  If you do this, you I<will> get irreversible disk "
42736 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
42737 "but doesn't catch all cases."
42738 msgstr ""
42739
42740 #. type: textblock
42741 #: ../tools/virt-win-reg.pl:58
42742 msgid ""
42743 "Modifying the Windows Registry is an inherently risky operation.  The format "
42744 "is deliberately obscure and undocumented, and Registry changes can leave the "
42745 "system unbootable.  Therefore when using the I<--merge> option, make sure "
42746 "you have a reliable backup first."
42747 msgstr ""
42748
42749 #. type: textblock
42750 #: ../tools/virt-win-reg.pl:65
42751 msgid ""
42752 "This program can export and merge Windows Registry entries from a Windows "
42753 "guest."
42754 msgstr ""
42755
42756 #. type: textblock
42757 #: ../tools/virt-win-reg.pl:68
42758 msgid ""
42759 "The first parameter is the libvirt guest name or the raw disk image of a "
42760 "Windows guest."
42761 msgstr ""
42762
42763 #. type: textblock
42764 #: ../tools/virt-win-reg.pl:71
42765 msgid ""
42766 "If I<--merge> is I<not> specified, then the chosen registry key is displayed/"
42767 "exported (recursively).  For example:"
42768 msgstr ""
42769
42770 #. type: verbatim
42771 #: ../tools/virt-win-reg.pl:74
42772 #, no-wrap
42773 msgid ""
42774 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
42775 "\n"
42776 msgstr ""
42777 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
42778 "\n"
42779
42780 #. type: textblock
42781 #: ../tools/virt-win-reg.pl:76
42782 msgid ""
42783 "You can also display single values from within registry keys, for example:"
42784 msgstr ""
42785
42786 #. type: verbatim
42787 #: ../tools/virt-win-reg.pl:79
42788 #, no-wrap
42789 msgid ""
42790 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
42791 " $ virt-win-reg Windows7 $cvkey ProductName\n"
42792 " Windows 7 Enterprise\n"
42793 "\n"
42794 msgstr ""
42795 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
42796 " $ virt-win-reg Windows7 $cvkey ProductName\n"
42797 " Windows 7 Enterprise\n"
42798 "\n"
42799
42800 #. type: textblock
42801 #: ../tools/virt-win-reg.pl:83
42802 msgid ""
42803 "With I<--merge>, you can merge a textual regedit file into the Windows "
42804 "Registry:"
42805 msgstr ""
42806
42807 #. type: verbatim
42808 #: ../tools/virt-win-reg.pl:86
42809 #, no-wrap
42810 msgid ""
42811 " $ virt-win-reg --merge Windows7 changes.reg\n"
42812 "\n"
42813 msgstr ""
42814 " $ virt-win-reg --merge Windows7 changes.reg\n"
42815 "\n"
42816
42817 #. type: textblock
42818 #: ../tools/virt-win-reg.pl:90
42819 msgid ""
42820 "This program is only meant for simple access to the registry.  If you want "
42821 "to do complicated things with the registry, we suggest you download the "
42822 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
42823 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
42824 "L<hivexregedit(1)>."
42825 msgstr ""
42826
42827 #. type: =item
42828 #: ../tools/virt-win-reg.pl:159
42829 msgid "B<--merge>"
42830 msgstr "B<--merge>"
42831
42832 #. type: textblock
42833 #: ../tools/virt-win-reg.pl:161
42834 msgid ""
42835 "In merge mode, this merges a textual regedit file into the Windows Registry "
42836 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
42837 "displays or exports Registry entries instead."
42838 msgstr ""
42839
42840 #. type: textblock
42841 #: ../tools/virt-win-reg.pl:165
42842 msgid ""
42843 "Note that I<--merge> is I<unsafe> to use on live virtual machines, and will "
42844 "result in disk corruption.  However exporting (without this flag)  is always "
42845 "safe."
42846 msgstr ""
42847
42848 #. type: =item
42849 #: ../tools/virt-win-reg.pl:173
42850 msgid "B<--encoding> UTF-16LE|ASCII"
42851 msgstr "B<--encoding> UTF-16LE|ASCII"
42852
42853 #. type: textblock
42854 #: ../tools/virt-win-reg.pl:175
42855 msgid ""
42856 "When merging (only), you may need to specify the encoding for strings to be "
42857 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
42858 "(3)/ENCODING STRINGS>."
42859 msgstr ""
42860
42861 #. type: textblock
42862 #: ../tools/virt-win-reg.pl:179
42863 msgid ""
42864 "The default is to use UTF-16LE, which should work with recent versions of "
42865 "Windows."
42866 msgstr ""
42867
42868 #. type: =item
42869 #: ../tools/virt-win-reg.pl:186
42870 msgid "B<--unsafe-printable-strings>"
42871 msgstr "B<--unsafe-printable-strings>"
42872
42873 #. type: textblock
42874 #: ../tools/virt-win-reg.pl:188
42875 msgid ""
42876 "When exporting (only), assume strings are UTF-16LE and print them as strings "
42877 "instead of hex sequences.  Remove the final zero codepoint from strings if "
42878 "present."
42879 msgstr ""
42880
42881 #. type: textblock
42882 #: ../tools/virt-win-reg.pl:192
42883 msgid ""
42884 "This is unsafe and does not preserve the fidelity of strings in the original "
42885 "Registry for various reasons:"
42886 msgstr ""
42887
42888 #. type: textblock
42889 #: ../tools/virt-win-reg.pl:199
42890 msgid ""
42891 "Assumes the original encoding is UTF-16LE.  ASCII strings and strings in "
42892 "other encodings will be corrupted by this transformation."
42893 msgstr ""
42894
42895 #. type: textblock
42896 #: ../tools/virt-win-reg.pl:204
42897 msgid ""
42898 "Assumes that everything which has type 1 or 2 is really a string and that "
42899 "everything else is not a string, but the type field in real Registries is "
42900 "not reliable."
42901 msgstr ""
42902
42903 #. type: textblock
42904 #: ../tools/virt-win-reg.pl:210
42905 msgid ""
42906 "Loses information about whether a zero codepoint followed the string in the "
42907 "Registry or not."
42908 msgstr ""
42909
42910 #. type: textblock
42911 #: ../tools/virt-win-reg.pl:215
42912 msgid ""
42913 "This all happens because the Registry itself contains no information about "
42914 "how strings are encoded (see L<Win::Hivex::Regedit(3)/ENCODING STRINGS>)."
42915 msgstr ""
42916
42917 #. type: textblock
42918 #: ../tools/virt-win-reg.pl:219
42919 msgid ""
42920 "You should only use this option for quick hacking and debugging of the "
42921 "Registry contents, and I<never> use it if the output is going to be passed "
42922 "into another program or stored in another Registry."
42923 msgstr ""
42924
42925 #. type: =head1
42926 #: ../tools/virt-win-reg.pl:556
42927 msgid "SUPPORTED SYSTEMS"
42928 msgstr "ПІДТРИМУВАНІ СИСТЕМИ"
42929
42930 #. type: textblock
42931 #: ../tools/virt-win-reg.pl:558
42932 msgid ""
42933 "The program currently supports Windows NT-derived guests starting with "
42934 "Windows XP through to at least Windows 7."
42935 msgstr ""
42936
42937 #. type: textblock
42938 #: ../tools/virt-win-reg.pl:561
42939 msgid "The following Registry keys are supported:"
42940 msgstr ""
42941
42942 #. type: =item
42943 #: ../tools/virt-win-reg.pl:565
42944 msgid "C<HKEY_LOCAL_MACHINE\\SAM>"
42945 msgstr "C<HKEY_LOCAL_MACHINE\\SAM>"
42946
42947 #. type: =item
42948 #: ../tools/virt-win-reg.pl:567
42949 msgid "C<HKEY_LOCAL_MACHINE\\SECURITY>"
42950 msgstr "C<HKEY_LOCAL_MACHINE\\SECURITY>"
42951
42952 #. type: =item
42953 #: ../tools/virt-win-reg.pl:569
42954 msgid "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
42955 msgstr "C<HKEY_LOCAL_MACHINE\\SOFTWARE>"
42956
42957 #. type: =item
42958 #: ../tools/virt-win-reg.pl:571
42959 msgid "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
42960 msgstr "C<HKEY_LOCAL_MACHINE\\SYSTEM>"
42961
42962 #. type: =item
42963 #: ../tools/virt-win-reg.pl:573
42964 msgid "C<HKEY_USERS\\.DEFAULT>"
42965 msgstr "C<HKEY_USERS\\.DEFAULT>"
42966
42967 #. type: =item
42968 #: ../tools/virt-win-reg.pl:575
42969 msgid "C<HKEY_USERS\\I<SID>>"
42970 msgstr "C<HKEY_USERS\\I<SID>>"
42971
42972 #. type: textblock
42973 #: ../tools/virt-win-reg.pl:577
42974 msgid "where I<SID> is a Windows User SID (eg. C<S-1-5-18>)."
42975 msgstr ""
42976
42977 #. type: =item
42978 #: ../tools/virt-win-reg.pl:579
42979 msgid "C<HKEY_USERS\\I<username>>"
42980 msgstr "C<HKEY_USERS\\I<користувач>>"
42981
42982 #. type: textblock
42983 #: ../tools/virt-win-reg.pl:581
42984 msgid ""
42985 "where I<username> is a local user name (this is a libguestfs extension)."
42986 msgstr ""
42987
42988 #. type: textblock
42989 #: ../tools/virt-win-reg.pl:585
42990 msgid ""
42991 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
42992 "C<HKEY_USERS>."
42993 msgstr ""
42994
42995 #. type: textblock
42996 #: ../tools/virt-win-reg.pl:588
42997 msgid ""
42998 "The literal keys C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are not "
42999 "supported (there is no \"current user\")."
43000 msgstr ""
43001
43002 #. type: =head1
43003 #: ../tools/virt-win-reg.pl:591
43004 msgid "ENCODING"
43005 msgstr "КОДУВАННЯ"
43006
43007 #. type: textblock
43008 #: ../tools/virt-win-reg.pl:593
43009 msgid ""
43010 "C<virt-win-reg> expects that regedit files have already been reencoded in "
43011 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
43012 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
43013 "Windows-style line endings, you may need to reencode the whole file before "
43014 "or after processing."
43015 msgstr ""
43016
43017 #. type: textblock
43018 #: ../tools/virt-win-reg.pl:599
43019 msgid ""
43020 "To reencode a file from Windows format to Linux (before processing it with "
43021 "the I<--merge> option), you would do something like this:"
43022 msgstr ""
43023
43024 #. type: verbatim
43025 #: ../tools/virt-win-reg.pl:602
43026 #, no-wrap
43027 msgid ""
43028 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
43029 "\n"
43030 msgstr ""
43031 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
43032 "\n"
43033
43034 #. type: textblock
43035 #: ../tools/virt-win-reg.pl:604
43036 msgid ""
43037 "To go in the opposite direction, after exporting and before sending the file "
43038 "to a Windows user, do something like this:"
43039 msgstr ""
43040
43041 #. type: verbatim
43042 #: ../tools/virt-win-reg.pl:607
43043 #, no-wrap
43044 msgid ""
43045 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
43046 "\n"
43047 msgstr ""
43048 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
43049 "\n"
43050
43051 #. type: textblock
43052 #: ../tools/virt-win-reg.pl:609
43053 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
43054 msgstr ""
43055
43056 #. type: textblock
43057 #: ../tools/virt-win-reg.pl:611
43058 msgid ""
43059 "If you are unsure about the current encoding, use the L<file(1)> command.  "
43060 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
43061 "style (CRLF) line endings, like this:"
43062 msgstr ""
43063
43064 #. type: verbatim
43065 #: ../tools/virt-win-reg.pl:615
43066 #, no-wrap
43067 msgid ""
43068 " $ file software.reg\n"
43069 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
43070 " with CRLF line terminators\n"
43071 "\n"
43072 msgstr ""
43073
43074 #. type: textblock
43075 #: ../tools/virt-win-reg.pl:619
43076 msgid "This file would need conversion before you could I<--merge> it."
43077 msgstr ""
43078
43079 #. type: =head1
43080 #: ../tools/virt-win-reg.pl:621
43081 msgid "CurrentControlSet etc."
43082 msgstr ""
43083
43084 #. type: textblock
43085 #: ../tools/virt-win-reg.pl:623
43086 msgid ""
43087 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
43088 "Registry at the level of the hive file, and therefore you cannot modify "
43089 "these."
43090 msgstr ""
43091
43092 #. type: textblock
43093 #: ../tools/virt-win-reg.pl:627
43094 msgid ""
43095 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
43096 "circumstances it might refer to another control set.  The way to find out is "
43097 "to look at the C<HKLM\\SYSTEM\\Select> key:"
43098 msgstr ""
43099
43100 #. type: verbatim
43101 #: ../tools/virt-win-reg.pl:631
43102 #, no-wrap
43103 msgid ""
43104 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
43105 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
43106 " \"Current\"=dword:00000001\n"
43107 " \"Default\"=dword:00000001\n"
43108 " \"Failed\"=dword:00000000\n"
43109 " \"LastKnownGood\"=dword:00000002\n"
43110 "\n"
43111 msgstr ""
43112 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
43113 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
43114 " \"Current\"=dword:00000001\n"
43115 " \"Default\"=dword:00000001\n"
43116 " \"Failed\"=dword:00000000\n"
43117 " \"LastKnownGood\"=dword:00000002\n"
43118 "\n"
43119
43120 #. type: textblock
43121 #: ../tools/virt-win-reg.pl:638
43122 msgid "\"Current\" is the one which Windows will choose when it boots."
43123 msgstr ""
43124
43125 #. type: textblock
43126 #: ../tools/virt-win-reg.pl:640
43127 msgid ""
43128 "Similarly, other C<Current...> keys in the path may need to be replaced."
43129 msgstr ""
43130
43131 #. type: =head1
43132 #: ../tools/virt-win-reg.pl:643
43133 msgid "DELETING REGISTRY KEYS AND VALUES"
43134 msgstr ""
43135
43136 #. type: textblock
43137 #: ../tools/virt-win-reg.pl:645
43138 msgid "To delete a whole registry key, use the syntax:"
43139 msgstr ""
43140
43141 #. type: verbatim
43142 #: ../tools/virt-win-reg.pl:647
43143 #, no-wrap
43144 msgid ""
43145 " [-HKEY_LOCAL_MACHINE\\Foo]\n"
43146 "\n"
43147 msgstr ""
43148
43149 #. type: textblock
43150 #: ../tools/virt-win-reg.pl:649
43151 msgid "To delete a single value within a key, use the syntax:"
43152 msgstr ""
43153
43154 #. type: verbatim
43155 #: ../tools/virt-win-reg.pl:651
43156 #, no-wrap
43157 msgid ""
43158 " [HKEY_LOCAL_MACHINE\\Foo]\n"
43159 " \"Value\"=-\n"
43160 "\n"
43161 msgstr ""
43162
43163 #. type: =head1
43164 #: ../tools/virt-win-reg.pl:654
43165 msgid "WINDOWS TIPS"
43166 msgstr ""
43167
43168 #. type: textblock
43169 #: ../tools/virt-win-reg.pl:656
43170 msgid ""
43171 "Note that some of these tips modify the guest disk image.  The guest I<must> "
43172 "be shut off, else you will get disk corruption."
43173 msgstr ""
43174
43175 #. type: =head2
43176 #: ../tools/virt-win-reg.pl:659
43177 msgid "RUNNING A BATCH SCRIPT WHEN A USER LOGS IN"
43178 msgstr ""
43179
43180 #. type: textblock
43181 #: ../tools/virt-win-reg.pl:661
43182 msgid ""
43183 "Prepare a DOS batch script, VBScript or executable.  Upload this using "
43184 "L<guestfish(1)>.  For this example the script is called C<test.bat> and it "
43185 "is uploaded into C<C:\\>:"
43186 msgstr ""
43187
43188 #. type: verbatim
43189 #: ../tools/virt-win-reg.pl:665
43190 #, no-wrap
43191 msgid ""
43192 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
43193 "\n"
43194 msgstr ""
43195 " guestfish -i -d WindowsGuest upload test.bat /test.bat\n"
43196 "\n"
43197
43198 #. type: textblock
43199 #: ../tools/virt-win-reg.pl:667
43200 msgid "Prepare a regedit file containing the registry change:"
43201 msgstr ""
43202
43203 #. type: verbatim
43204 #: ../tools/virt-win-reg.pl:669
43205 #, no-wrap
43206 msgid ""
43207 " cat > test.reg <<'EOF'\n"
43208 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
43209 " \"Test\"=\"c:\\\\test.bat\"\n"
43210 " EOF\n"
43211 "\n"
43212 msgstr ""
43213 " cat > test.reg <<'EOF'\n"
43214 " [HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce]\n"
43215 " \"Test\"=\"c:\\\\test.bat\"\n"
43216 " EOF\n"
43217 "\n"
43218
43219 #. type: textblock
43220 #: ../tools/virt-win-reg.pl:674
43221 msgid ""
43222 "In this example we use the key C<RunOnce> which means that the script will "
43223 "run precisely once when the first user logs in.  If you want it to run every "
43224 "time a user logs in, replace C<RunOnce> with C<Run>."
43225 msgstr ""
43226
43227 #. type: textblock
43228 #: ../tools/virt-win-reg.pl:678
43229 msgid "Now update the registry:"
43230 msgstr "Оновіть регістр:"
43231
43232 #. type: verbatim
43233 #: ../tools/virt-win-reg.pl:680
43234 #, no-wrap
43235 msgid ""
43236 " virt-win-reg --merge WindowsGuest test.reg\n"
43237 "\n"
43238 msgstr ""
43239
43240 #. type: =head2
43241 #: ../tools/virt-win-reg.pl:682
43242 msgid "INSTALLING A SERVICE"
43243 msgstr ""
43244
43245 #. type: textblock
43246 #: ../tools/virt-win-reg.pl:684
43247 msgid ""
43248 "This section assumes you are familiar with Windows services, and you either "
43249 "have a program which handles the Windows Service Control Protocol directly "
43250 "or you want to run any program using a service wrapper like SrvAny or the "
43251 "free RHSrvAny."
43252 msgstr ""
43253
43254 #. type: textblock
43255 #: ../tools/virt-win-reg.pl:689
43256 msgid ""
43257 "First upload the program and optionally the service wrapper.  In this case "
43258 "the test program is called C<test.exe> and we are using the RHSrvAny wrapper:"
43259 msgstr ""
43260
43261 #. type: verbatim
43262 #: ../tools/virt-win-reg.pl:693
43263 #, no-wrap
43264 msgid ""
43265 " guestfish -i -d WindowsGuest <<EOF\n"
43266 "   upload rhsrvany.exe /rhsrvany.exe\n"
43267 "   upload test.exe /test.exe\n"
43268 " EOF\n"
43269 "\n"
43270 msgstr ""
43271 " guestfish -i -d WindowsGuest <<EOF\n"
43272 "   upload rhsrvany.exe /rhsrvany.exe\n"
43273 "   upload test.exe /test.exe\n"
43274 " EOF\n"
43275 "\n"
43276
43277 #. type: textblock
43278 #: ../tools/virt-win-reg.pl:698
43279 msgid ""
43280 "Prepare a regedit file containing the registry changes.  In this example, "
43281 "the first registry change is needed for the service itself or the service "
43282 "wrapper (if used).  The second registry change is only needed because I am "
43283 "using the RHSrvAny service wrapper."
43284 msgstr ""
43285
43286 #. type: verbatim
43287 #: ../tools/virt-win-reg.pl:703
43288 #, no-wrap
43289 msgid ""
43290 " cat > service.reg <<'EOF'\n"
43291 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
43292 " \"Type\"=dword:00000010\n"
43293 " \"Start\"=dword:00000002\n"
43294 " \"ErrorControl\"=dword:00000001\n"
43295 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
43296 " \"DisplayName\"=\"RHSrvAny\"\n"
43297 " \"ObjectName\"=\"NetworkService\"\n"
43298 " \n"
43299 msgstr ""
43300 " cat > service.reg <<'EOF'\n"
43301 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny]\n"
43302 " \"Type\"=dword:00000010\n"
43303 " \"Start\"=dword:00000002\n"
43304 " \"ErrorControl\"=dword:00000001\n"
43305 " \"ImagePath\"=\"c:\\\\rhsrvany.exe\"\n"
43306 " \"DisplayName\"=\"RHSrvAny\"\n"
43307 " \"ObjectName\"=\"NetworkService\"\n"
43308 " \n"
43309
43310 #. type: verbatim
43311 #: ../tools/virt-win-reg.pl:712
43312 #, no-wrap
43313 msgid ""
43314 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
43315 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
43316 " \"PWD\"=\"c:\\\\Temp\"\n"
43317 " EOF\n"
43318 "\n"
43319 msgstr ""
43320 " [HKLM\\SYSTEM\\ControlSet001\\services\\RHSrvAny\\Parameters]\n"
43321 " \"CommandLine\"=\"c:\\\\test.exe\"\n"
43322 " \"PWD\"=\"c:\\\\Temp\"\n"
43323 " EOF\n"
43324 "\n"
43325
43326 #. type: textblock
43327 #: ../tools/virt-win-reg.pl:723
43328 msgid ""
43329 "For use of C<ControlSet001> see the section above in this manual page.  You "
43330 "may need to adjust this according to the control set that is in use by the "
43331 "guest."
43332 msgstr ""
43333
43334 #. type: textblock
43335 #: ../tools/virt-win-reg.pl:729
43336 msgid ""
43337 "C<\"ObjectName\"> controls the privileges that the service will have.  An "
43338 "alternative is C<\"ObjectName\"=\"LocalSystem\"> which would be the most "
43339 "privileged account."
43340 msgstr ""
43341
43342 #. type: textblock
43343 #: ../tools/virt-win-reg.pl:735
43344 msgid ""
43345 "For the meaning of the magic numbers, see this Microsoft KB article: "
43346 "L<http://support.microsoft.com/kb/103000>."
43347 msgstr ""
43348
43349 #. type: textblock
43350 #: ../tools/virt-win-reg.pl:740
43351 msgid "Update the registry:"
43352 msgstr "Оновіть регістр:"
43353
43354 #. type: verbatim
43355 #: ../tools/virt-win-reg.pl:742
43356 #, no-wrap
43357 msgid ""
43358 " virt-win-reg --merge WindowsGuest service.reg\n"
43359 "\n"
43360 msgstr ""
43361
43362 #. type: textblock
43363 #: ../tools/virt-win-reg.pl:746
43364 msgid ""
43365 "Be careful when passing parameters containing C<\\> (backslash) in the "
43366 "shell.  Usually you will have to use 'single quotes' or double backslashes "
43367 "(but not both) to protect them from the shell."
43368 msgstr ""
43369
43370 #. type: textblock
43371 #: ../tools/virt-win-reg.pl:750
43372 msgid "Paths and value names are case-insensitive."
43373 msgstr ""
43374
43375 #. type: textblock
43376 #: ../tools/virt-win-reg.pl:759
43377 msgid ""
43378 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
43379 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
43380 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43381 msgstr ""
43382 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
43383 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
43384 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
43385
43386 #. type: verbatim
43387 #: ../tools/virt-win-reg.pl:777
43388 #, no-wrap
43389 msgid ""
43390 " export LIBGUESTFS_DEBUG=1\n"
43391 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
43392 "\n"
43393 msgstr ""
43394
43395 #. type: textblock
43396 #: ../tools/virt-win-reg.pl:780
43397 msgid ""
43398 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
43399 "redhat.com/>"
43400 msgstr ""